Commit 29b5b8652d3c3ce0d5d65a1e3a1c27d7de22731b
- Diff rendering mode:
- inline
- side by side
.htaccess
(414 / 403)
  | |||
1 | # Apache configuration file | ||
2 | # httpd.apache.org/docs/2.2/mod/quickreference.html | ||
1 | # Apache Server Configs v1.1.0 | MIT License | ||
2 | # https://github.com/h5bp/server-configs-apache | ||
3 | 3 | ||
4 | # Note .htaccess files are an overhead, this logic should be in your Apache | ||
5 | # config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html | ||
4 | # (!) Using `.htaccess` files slows down Apache, therefore, if you have access | ||
5 | # to the main server config file (usually called `httpd.conf`), you should add | ||
6 | # this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html. | ||
6 | 7 | ||
7 | # Techniques in here adapted from all over, including: | ||
8 | # Kroc Camen: camendesign.com/.htaccess | ||
9 | # perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ | ||
10 | # Sample .htaccess file of CMS MODx: modxcms.com | ||
8 | # ############################################################################## | ||
9 | # # CROSS-ORIGIN RESOURCE SHARING (CORS) # | ||
10 | # ############################################################################## | ||
11 | 11 | ||
12 | # ------------------------------------------------------------------------------ | ||
13 | # | Cross-domain AJAX requests | | ||
14 | # ------------------------------------------------------------------------------ | ||
12 | 15 | ||
13 | # ---------------------------------------------------------------------- | ||
14 | # Better website experience for IE users | ||
15 | # ---------------------------------------------------------------------- | ||
16 | # Enable cross-origin AJAX requests. | ||
17 | # http://code.google.com/p/html5security/wiki/CrossOriginRequestSecurity | ||
18 | # http://enable-cors.org/ | ||
16 | 19 | ||
17 | # Force the latest IE version, in various cases when it may fall back to IE7 mode | ||
18 | # github.com/rails/rails/commit/123eb25#commitcomment-118920 | ||
19 | # Use ChromeFrame if it's installed for a better experience for the poor IE folk | ||
20 | |||
21 | <IfModule mod_headers.c> | ||
22 | Header set X-UA-Compatible "IE=Edge,chrome=1" | ||
23 | # mod_headers can't match by content-type, but we don't want to send this header on *everything*... | ||
24 | <FilesMatch "\.(js|css|gif|png|jpe?g|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" > | ||
25 | Header unset X-UA-Compatible | ||
26 | </FilesMatch> | ||
27 | </IfModule> | ||
28 | |||
29 | |||
30 | # ---------------------------------------------------------------------- | ||
31 | # Cross-domain AJAX requests | ||
32 | # ---------------------------------------------------------------------- | ||
33 | |||
34 | # Serve cross-domain Ajax requests, disabled by default. | ||
35 | # enable-cors.org | ||
36 | # code.google.com/p/html5security/wiki/CrossOriginRequestSecurity | ||
37 | |||
38 | # <IfModule mod_headers.c> | ||
20 | # <IfModule mod_headers.c> | ||
39 | 21 | # Header set Access-Control-Allow-Origin "*" | |
40 | # </IfModule> | ||
22 | # </IfModule> | ||
41 | 23 | ||
24 | # ------------------------------------------------------------------------------ | ||
25 | # | CORS-enabled images | | ||
26 | # ------------------------------------------------------------------------------ | ||
42 | 27 | ||
43 | # ---------------------------------------------------------------------- | ||
44 | # CORS-enabled images (@crossorigin) | ||
45 | # ---------------------------------------------------------------------- | ||
28 | # Send the CORS header for images when browsers request it. | ||
29 | # https://developer.mozilla.org/en/CORS_Enabled_Image | ||
30 | # http://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html | ||
31 | # http://hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/ | ||
46 | 32 | ||
47 | # Send CORS headers if browsers request them; enabled by default for images. | ||
48 | # developer.mozilla.org/en/CORS_Enabled_Image | ||
49 | # blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html | ||
50 | # hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/ | ||
51 | # wiki.mozilla.org/Security/Reviews/crossoriginAttribute | ||
52 | |||
53 | 33 | <IfModule mod_setenvif.c> | |
54 | <IfModule mod_headers.c> | ||
55 | # mod_headers, y u no match by Content-Type?! | ||
56 | <FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$"> | ||
57 | SetEnvIf Origin ":" IS_CORS | ||
58 | Header set Access-Control-Allow-Origin "*" env=IS_CORS | ||
59 | </FilesMatch> | ||
60 | </IfModule> | ||
34 | <IfModule mod_headers.c> | ||
35 | <FilesMatch "\.(gif|ico|jpe?g|png|svgz?|webp)$"> | ||
36 | SetEnvIf Origin ":" IS_CORS | ||
37 | Header set Access-Control-Allow-Origin "*" env=IS_CORS | ||
38 | </FilesMatch> | ||
39 | </IfModule> | ||
61 | 40 | </IfModule> | |
62 | 41 | ||
42 | # ------------------------------------------------------------------------------ | ||
43 | # | Web fonts access | | ||
44 | # ------------------------------------------------------------------------------ | ||
63 | 45 | ||
64 | # ---------------------------------------------------------------------- | ||
65 | # Webfont access | ||
66 | # ---------------------------------------------------------------------- | ||
46 | # Allow access from all domains for web fonts | ||
67 | 47 | ||
68 | # Allow access from all domains for webfonts. | ||
69 | # Alternatively you could only whitelist your | ||
70 | # subdomains like "subdomain.example.com". | ||
71 | |||
72 | 48 | <IfModule mod_headers.c> | |
73 | <FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$"> | ||
74 | Header set Access-Control-Allow-Origin "*" | ||
75 | </FilesMatch> | ||
49 | <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$"> | ||
50 | Header set Access-Control-Allow-Origin "*" | ||
51 | </FilesMatch> | ||
76 | 52 | </IfModule> | |
77 | 53 | ||
78 | 54 | ||
79 | # ---------------------------------------------------------------------- | ||
80 | # Proper MIME type for all files | ||
81 | # ---------------------------------------------------------------------- | ||
55 | # ############################################################################## | ||
56 | # # ERRORS # | ||
57 | # ############################################################################## | ||
82 | 58 | ||
83 | # JavaScript | ||
84 | # Normalize to standard type (it's sniffed in IE anyways) | ||
85 | # tools.ietf.org/html/rfc4329#section-7.2 | ||
86 | AddType application/javascript js jsonp | ||
87 | AddType application/json json | ||
59 | # ------------------------------------------------------------------------------ | ||
60 | # | 404 error prevention for non-existing redirected folders | | ||
61 | # ------------------------------------------------------------------------------ | ||
88 | 62 | ||
89 | # Audio | ||
90 | AddType audio/ogg oga ogg | ||
91 | AddType audio/mp4 m4a f4a f4b | ||
63 | # Prevent Apache from returning a 404 error for a rewrite if a directory | ||
64 | # with the same name does not exist. | ||
65 | # http://httpd.apache.org/docs/current/content-negotiation.html#multiviews | ||
66 | # http://www.webmasterworld.com/apache/3808792.htm | ||
92 | 67 | ||
93 | # Video | ||
94 | AddType video/ogg ogv | ||
95 | AddType video/mp4 mp4 m4v f4v f4p | ||
96 | AddType video/webm webm | ||
97 | AddType video/x-flv flv | ||
68 | Options -MultiViews | ||
98 | 69 | ||
99 | # SVG | ||
100 | # Required for svg webfonts on iPad | ||
101 | # twitter.com/FontSquirrel/status/14855840545 | ||
102 | AddType image/svg+xml svg svgz | ||
103 | AddEncoding gzip svgz | ||
70 | # ------------------------------------------------------------------------------ | ||
71 | # | Custom error messages / pages | | ||
72 | # ------------------------------------------------------------------------------ | ||
104 | 73 | ||
105 | # Webfonts | ||
106 | AddType application/vnd.ms-fontobject eot | ||
107 | AddType application/x-font-ttf ttf ttc | ||
108 | AddType font/opentype otf | ||
109 | AddType application/x-font-woff woff | ||
74 | # You can customize what Apache returns to the client in case of an error (see | ||
75 | # http://httpd.apache.org/docs/current/mod/core.html#errordocument), e.g.: | ||
110 | 76 | ||
111 | # Assorted types | ||
112 | AddType image/x-icon ico | ||
113 | AddType image/webp webp | ||
114 | AddType text/cache-manifest appcache manifest | ||
115 | AddType text/x-component htc | ||
116 | AddType application/xml rss atom xml rdf | ||
117 | AddType application/x-chrome-extension crx | ||
118 | AddType application/x-opera-extension oex | ||
119 | AddType application/x-xpinstall xpi | ||
120 | AddType application/octet-stream safariextz | ||
121 | AddType application/x-web-app-manifest+json webapp | ||
122 | AddType text/x-vcard vcf | ||
123 | AddType application/x-shockwave-flash swf | ||
124 | AddType text/vtt vtt | ||
77 | ErrorDocument 404 /404.html | ||
125 | 78 | ||
126 | 79 | ||
127 | # ---------------------------------------------------------------------- | ||
128 | # Allow concatenation from within specific js and css files | ||
129 | # ---------------------------------------------------------------------- | ||
80 | # ############################################################################## | ||
81 | # # INTERNET EXPLORER # | ||
82 | # ############################################################################## | ||
130 | 83 | ||
131 | # e.g. Inside of script.combined.js you could have | ||
132 | # <!--#include file="libs/jquery-1.5.0.min.js" --> | ||
133 | # <!--#include file="plugins/jquery.idletimer.js" --> | ||
134 | # and they would be included into this single file. | ||
84 | # ------------------------------------------------------------------------------ | ||
85 | # | Better website experience | | ||
86 | # ------------------------------------------------------------------------------ | ||
135 | 87 | ||
136 | # This is not in use in the boilerplate as it stands. You may | ||
137 | # choose to use this technique if you do not have a build process. | ||
88 | # Force IE to render pages in the highest available mode in the various | ||
89 | # cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf. | ||
138 | 90 | ||
139 | #<FilesMatch "\.combined\.js$"> | ||
140 | # Options +Includes | ||
141 | # AddOutputFilterByType INCLUDES application/javascript application/json | ||
142 | # SetOutputFilter INCLUDES | ||
143 | #</FilesMatch> | ||
91 | <IfModule mod_headers.c> | ||
92 | Header set X-UA-Compatible "IE=edge" | ||
93 | # `mod_headers` can't match based on the content-type, however, we only | ||
94 | # want to send this header for HTML pages and not for the other resources | ||
95 | <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> | ||
96 | Header unset X-UA-Compatible | ||
97 | </FilesMatch> | ||
98 | </IfModule> | ||
144 | 99 | ||
145 | #<FilesMatch "\.combined\.css$"> | ||
146 | # Options +Includes | ||
147 | # AddOutputFilterByType INCLUDES text/css | ||
148 | # SetOutputFilter INCLUDES | ||
149 | #</FilesMatch> | ||
100 | # ------------------------------------------------------------------------------ | ||
101 | # | Cookie setting from iframes | | ||
102 | # ------------------------------------------------------------------------------ | ||
150 | 103 | ||
104 | # Allow cookies to be set from iframes in IE. | ||
151 | 105 | ||
152 | # ---------------------------------------------------------------------- | ||
153 | # Gzip compression | ||
154 | # ---------------------------------------------------------------------- | ||
106 | # <IfModule mod_headers.c> | ||
107 | # Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"" | ||
108 | # </IfModule> | ||
155 | 109 | ||
156 | <IfModule mod_deflate.c> | ||
110 | # ------------------------------------------------------------------------------ | ||
111 | # | Screen flicker | | ||
112 | # ------------------------------------------------------------------------------ | ||
157 | 113 | ||
158 | # Force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/ | ||
159 | <IfModule mod_setenvif.c> | ||
160 | <IfModule mod_headers.c> | ||
161 | SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding | ||
162 | RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding | ||
163 | </IfModule> | ||
164 | </IfModule> | ||
114 | # Stop screen flicker in IE on CSS rollovers (this only works in | ||
115 | # combination with the `ExpiresByType` directives for images from below). | ||
165 | 116 | ||
166 | # Compress all output labeled with one of the following MIME-types | ||
167 | <IfModule mod_filter.c> | ||
168 | AddOutputFilterByType DEFLATE application/atom+xml \ | ||
169 | application/javascript \ | ||
170 | application/json \ | ||
171 | application/rss+xml \ | ||
172 | application/vnd.ms-fontobject \ | ||
173 | application/x-font-ttf \ | ||
174 | application/xhtml+xml \ | ||
175 | application/xml \ | ||
176 | font/opentype \ | ||
177 | image/svg+xml \ | ||
178 | image/x-icon \ | ||
179 | text/css \ | ||
180 | text/html \ | ||
181 | text/plain \ | ||
182 | text/x-component \ | ||
183 | text/xml | ||
184 | </IfModule> | ||
117 | # BrowserMatch "MSIE" brokenvary=1 | ||
118 | # BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1 | ||
119 | # BrowserMatch "Opera" !brokenvary | ||
120 | # SetEnvIf brokenvary 1 force-no-vary | ||
185 | 121 | ||
186 | </IfModule> | ||
187 | 122 | ||
123 | # ############################################################################## | ||
124 | # # MIME TYPES AND ENCODING # | ||
125 | # ############################################################################## | ||
188 | 126 | ||
189 | # ---------------------------------------------------------------------- | ||
190 | # Expires headers (for better cache control) | ||
191 | # ---------------------------------------------------------------------- | ||
127 | # ------------------------------------------------------------------------------ | ||
128 | # | Proper MIME types for all files | | ||
129 | # ------------------------------------------------------------------------------ | ||
192 | 130 | ||
193 | # These are pretty far-future expires headers. | ||
194 | # They assume you control versioning with filename-based cache busting | ||
195 | # Additionally, consider that outdated proxies may miscache | ||
196 | # www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/ | ||
131 | <IfModule mod_mime.c> | ||
197 | 132 | ||
198 | # If you don't use filenames to version, lower the CSS and JS to something like | ||
199 | # "access plus 1 week". | ||
133 | # Audio | ||
134 | AddType audio/mp4 m4a f4a f4b | ||
135 | AddType audio/ogg oga ogg | ||
200 | 136 | ||
201 | <IfModule mod_expires.c> | ||
202 | ExpiresActive on | ||
137 | # JavaScript | ||
138 | # Normalize to standard type (it's sniffed in IE anyways): | ||
139 | # http://tools.ietf.org/html/rfc4329#section-7.2 | ||
140 | AddType application/javascript js | ||
141 | AddType application/json json | ||
203 | 142 | ||
204 | # Perhaps better to whitelist expires rules? Perhaps. | ||
205 | ExpiresDefault "access plus 1 month" | ||
143 | # Video | ||
144 | AddType video/mp4 mp4 m4v f4v f4p | ||
145 | AddType video/ogg ogv | ||
146 | AddType video/webm webm | ||
147 | AddType video/x-flv flv | ||
206 | 148 | ||
207 | # cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5) | ||
208 | ExpiresByType text/cache-manifest "access plus 0 seconds" | ||
149 | # Web fonts | ||
150 | AddType application/font-woff woff | ||
151 | AddType application/vnd.ms-fontobject eot | ||
209 | 152 | ||
210 | # Your document html | ||
211 | ExpiresByType text/html "access plus 0 seconds" | ||
153 | # Browsers usually ignore the font MIME types and sniff the content, | ||
154 | # however, Chrome shows a warning if other MIME types are used for the | ||
155 | # following fonts. | ||
156 | AddType application/x-font-ttf ttc ttf | ||
157 | AddType font/opentype otf | ||
212 | 158 | ||
213 | # Data | ||
214 | ExpiresByType text/xml "access plus 0 seconds" | ||
215 | ExpiresByType application/xml "access plus 0 seconds" | ||
216 | ExpiresByType application/json "access plus 0 seconds" | ||
159 | # Make SVGZ fonts work on iPad: | ||
160 | # https://twitter.com/FontSquirrel/status/14855840545 | ||
161 | AddType image/svg+xml svg svgz | ||
162 | AddEncoding gzip svgz | ||
217 | 163 | ||
218 | # Feed | ||
219 | ExpiresByType application/rss+xml "access plus 1 hour" | ||
220 | ExpiresByType application/atom+xml "access plus 1 hour" | ||
164 | # Other | ||
165 | AddType application/octet-stream safariextz | ||
166 | AddType application/x-chrome-extension crx | ||
167 | AddType application/x-opera-extension oex | ||
168 | AddType application/x-shockwave-flash swf | ||
169 | AddType application/x-web-app-manifest+json webapp | ||
170 | AddType application/x-xpinstall xpi | ||
171 | AddType application/xml atom rdf rss xml | ||
172 | AddType image/webp webp | ||
173 | AddType image/x-icon ico | ||
174 | AddType text/cache-manifest appcache manifest | ||
175 | AddType text/vtt vtt | ||
176 | AddType text/x-component htc | ||
177 | AddType text/x-vcard vcf | ||
221 | 178 | ||
222 | # Favicon (cannot be renamed) | ||
223 | ExpiresByType image/x-icon "access plus 1 week" | ||
179 | </IfModule> | ||
224 | 180 | ||
225 | # Media: images, video, audio | ||
226 | ExpiresByType image/gif "access plus 1 month" | ||
227 | ExpiresByType image/png "access plus 1 month" | ||
228 | ExpiresByType image/jpeg "access plus 1 month" | ||
229 | ExpiresByType video/ogg "access plus 1 month" | ||
230 | ExpiresByType audio/ogg "access plus 1 month" | ||
231 | ExpiresByType video/mp4 "access plus 1 month" | ||
232 | ExpiresByType video/webm "access plus 1 month" | ||
181 | # ------------------------------------------------------------------------------ | ||
182 | # | UTF-8 encoding | | ||
183 | # ------------------------------------------------------------------------------ | ||
233 | 184 | ||
234 | # HTC files (css3pie) | ||
235 | ExpiresByType text/x-component "access plus 1 month" | ||
185 | # Use UTF-8 encoding for anything served as `text/html` or `text/plain`. | ||
186 | AddDefaultCharset utf-8 | ||
236 | 187 | ||
237 | # Webfonts | ||
238 | ExpiresByType application/x-font-ttf "access plus 1 month" | ||
239 | ExpiresByType font/opentype "access plus 1 month" | ||
240 | ExpiresByType application/x-font-woff "access plus 1 month" | ||
241 | ExpiresByType image/svg+xml "access plus 1 month" | ||
242 | ExpiresByType application/vnd.ms-fontobject "access plus 1 month" | ||
243 | |||
244 | # CSS and JavaScript | ||
245 | ExpiresByType text/css "access plus 1 year" | ||
246 | ExpiresByType application/javascript "access plus 1 year" | ||
247 | |||
188 | # Force UTF-8 for certain file formats. | ||
189 | <IfModule mod_mime.c> | ||
190 | AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml | ||
248 | 191 | </IfModule> | |
249 | 192 | ||
250 | 193 | ||
251 | # ---------------------------------------------------------------------- | ||
252 | # Prevent mobile network providers from modifying your site | ||
253 | # ---------------------------------------------------------------------- | ||
194 | # ############################################################################## | ||
195 | # # URL REWRITES # | ||
196 | # ############################################################################## | ||
254 | 197 | ||
255 | # The following header prevents modification of your code over 3G on some | ||
256 | # European providers. | ||
257 | # This is the official 'bypass' suggested by O2 in the UK. | ||
198 | # ------------------------------------------------------------------------------ | ||
199 | # | Rewrite engine | | ||
200 | # ------------------------------------------------------------------------------ | ||
258 | 201 | ||
259 | # <IfModule mod_headers.c> | ||
260 | # Header set Cache-Control "no-transform" | ||
261 | # </IfModule> | ||
202 | # Turning on the rewrite engine and enabling the `FollowSymLinks` option is | ||
203 | # necessary for the following directives to work. | ||
262 | 204 | ||
205 | # If your web host doesn't allow the `FollowSymlinks` option, you may need to | ||
206 | # comment it out and use `Options +SymLinksIfOwnerMatch` but, be aware of the | ||
207 | # performance impact: http://httpd.apache.org/docs/current/misc/perf-tuning.html#symlinks | ||
263 | 208 | ||
264 | # ---------------------------------------------------------------------- | ||
265 | # ETag removal | ||
266 | # ---------------------------------------------------------------------- | ||
209 | # Also, some cloud hosting services require `RewriteBase` to be set: | ||
210 | # http://www.rackspace.com/knowledge_center/frequently-asked-question/why-is-mod-rewrite-not-working-on-my-site | ||
267 | 211 | ||
268 | # FileETag None is not enough for every server. | ||
269 | <IfModule mod_headers.c> | ||
270 | Header unset ETag | ||
212 | <IfModule mod_rewrite.c> | ||
213 | Options +FollowSymlinks | ||
214 | # Options +SymLinksIfOwnerMatch | ||
215 | RewriteEngine On | ||
216 | # RewriteBase / | ||
271 | 217 | </IfModule> | |
272 | 218 | ||
273 | # Since we're sending far-future expires, we don't need ETags for | ||
274 | # static content. | ||
275 | # developer.yahoo.com/performance/rules.html#etags | ||
276 | FileETag None | ||
219 | # ------------------------------------------------------------------------------ | ||
220 | # | Suppressing / Forcing the "www." at the beginning of URLs | | ||
221 | # ------------------------------------------------------------------------------ | ||
277 | 222 | ||
223 | # The same content should never be available under two different URLs especially | ||
224 | # not with and without "www." at the beginning. This can cause SEO problems | ||
225 | # (duplicate content), therefore, you should choose one of the alternatives and | ||
226 | # redirect the other one. | ||
278 | 227 | ||
279 | # ---------------------------------------------------------------------- | ||
280 | # Stop screen flicker in IE on CSS rollovers | ||
281 | # ---------------------------------------------------------------------- | ||
228 | # By default option 1 (no "www.") is activated: | ||
229 | # http://no-www.org/faq.php?q=class_b | ||
282 | 230 | ||
283 | # The following directives stop screen flicker in IE on CSS rollovers - in | ||
284 | # combination with the "ExpiresByType" rules for images (see above). | ||
231 | # If you'd prefer to use option 2, just comment out all the lines from option 1 | ||
232 | # and uncomment the ones from option 2. | ||
285 | 233 | ||
286 | # BrowserMatch "MSIE" brokenvary=1 | ||
287 | # BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1 | ||
288 | # BrowserMatch "Opera" !brokenvary | ||
289 | # SetEnvIf brokenvary 1 force-no-vary | ||
234 | # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME! | ||
290 | 235 | ||
236 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
291 | 237 | ||
292 | # ---------------------------------------------------------------------- | ||
293 | # Set Keep-Alive Header | ||
294 | # ---------------------------------------------------------------------- | ||
238 | # Option 1: rewrite www.example.com → example.com | ||
295 | 239 | ||
296 | # Keep-Alive allows the server to send multiple requests through one | ||
297 | # TCP-connection. Be aware of possible disadvantages of this setting. Turn on | ||
298 | # if you serve a lot of static content. | ||
240 | <IfModule mod_rewrite.c> | ||
241 | RewriteCond %{HTTPS} !=on | ||
242 | RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | ||
243 | RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] | ||
244 | </IfModule> | ||
299 | 245 | ||
300 | # <IfModule mod_headers.c> | ||
301 | # Header set Connection Keep-Alive | ||
246 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
247 | |||
248 | # Option 2: rewrite example.com → www.example.com | ||
249 | |||
250 | # Be aware that the following might not be a good idea if you use "real" | ||
251 | # subdomains for certain parts of your website. | ||
252 | |||
253 | # <IfModule mod_rewrite.c> | ||
254 | # RewriteCond %{HTTPS} !=on | ||
255 | # RewriteCond %{HTTP_HOST} !^www\..+$ [NC] | ||
256 | # RewriteCond %{HTTP_HOST} !=localhost [NC] | ||
257 | # RewriteCond %{HTTP_HOST} !=127.0.0.1 | ||
258 | # RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | ||
302 | 259 | # </IfModule> | |
303 | 260 | ||
304 | 261 | ||
305 | # ---------------------------------------------------------------------- | ||
306 | # Cookie setting from iframes | ||
307 | # ---------------------------------------------------------------------- | ||
262 | # ############################################################################## | ||
263 | # # SECURITY # | ||
264 | # ############################################################################## | ||
308 | 265 | ||
309 | # Allow cookies to be set from iframes (for IE only) | ||
310 | # If needed, specify a path or regex in the Location directive. | ||
266 | # ------------------------------------------------------------------------------ | ||
267 | # | Content Security Policy (CSP) | | ||
268 | # ------------------------------------------------------------------------------ | ||
311 | 269 | ||
270 | # You can mitigate the risk of cross-site scripting and other content-injection | ||
271 | # attacks by setting a Content Security Policy which whitelists trusted sources | ||
272 | # of content for your site. | ||
273 | |||
274 | # The example header below allows ONLY scripts that are loaded from the current | ||
275 | # site's origin (no inline scripts, no CDN, etc). This almost certainly won't | ||
276 | # work as-is for your site! | ||
277 | |||
278 | # To get all the details you'll need to craft a reasonable policy for your site, | ||
279 | # read: http://html5rocks.com/en/tutorials/security/content-security-policy (or | ||
280 | # see the specification: http://w3.org/TR/CSP). | ||
281 | |||
312 | 282 | # <IfModule mod_headers.c> | |
313 | # Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"" | ||
283 | # Header set Content-Security-Policy "script-src 'self'; object-src 'self'" | ||
284 | # <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> | ||
285 | # Header unset Content-Security-Policy | ||
286 | # </FilesMatch> | ||
314 | 287 | # </IfModule> | |
315 | 288 | ||
289 | # ------------------------------------------------------------------------------ | ||
290 | # | File access | | ||
291 | # ------------------------------------------------------------------------------ | ||
316 | 292 | ||
317 | # ---------------------------------------------------------------------- | ||
318 | # Start rewrite engine | ||
319 | # ---------------------------------------------------------------------- | ||
293 | # Block access to directories without a default document. | ||
294 | # Usually you should leave this uncommented because you shouldn't allow anyone | ||
295 | # to surf through every directory on your server (which may includes rather | ||
296 | # private places like the CMS's directories). | ||
320 | 297 | ||
321 | # Turning on the rewrite engine is necessary for the following rules and | ||
322 | # features. FollowSymLinks must be enabled for this to work. | ||
298 | <IfModule mod_autoindex.c> | ||
299 | Options -Indexes | ||
300 | </IfModule> | ||
323 | 301 | ||
324 | # Some cloud hosting services require RewriteBase to be set: goo.gl/HOcPN | ||
325 | # If using the h5bp in a subdirectory, use `RewriteBase /foo` instead where | ||
326 | # 'foo' is your directory. | ||
302 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
327 | 303 | ||
328 | # If your web host doesn't allow the FollowSymlinks option, you may need to | ||
329 | # comment it out and use `Options +SymLinksOfOwnerMatch`, but be aware of the | ||
330 | # performance impact: http://goo.gl/Mluzd | ||
304 | # Block access to hidden files and directories. | ||
305 | # This includes directories used by version control systems such as Git and SVN. | ||
331 | 306 | ||
332 | 307 | <IfModule mod_rewrite.c> | |
333 | Options +FollowSymlinks | ||
334 | # Options +SymLinksIfOwnerMatch | ||
335 | RewriteEngine On | ||
336 | # RewriteBase / | ||
308 | RewriteCond %{SCRIPT_FILENAME} -d [OR] | ||
309 | RewriteCond %{SCRIPT_FILENAME} -f | ||
310 | RewriteRule "(^|/)\." - [F] | ||
337 | 311 | </IfModule> | |
338 | 312 | ||
313 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
339 | 314 | ||
340 | # ---------------------------------------------------------------------- | ||
341 | # Suppress or force the "www." at the beginning of URLs | ||
342 | # ---------------------------------------------------------------------- | ||
315 | # Block access to backup and source files. | ||
316 | # These files may be left by some text editors and can pose a great security | ||
317 | # danger when anyone has access to them. | ||
343 | 318 | ||
344 | # The same content should never be available under two different URLs - | ||
345 | # especially not with and without "www." at the beginning, since this can cause | ||
346 | # SEO problems (duplicate content). That's why you should choose one of the | ||
347 | # alternatives and redirect the other one. | ||
319 | <FilesMatch "(^#.*#|\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|sw[op])|~)$"> | ||
320 | Order allow,deny | ||
321 | Deny from all | ||
322 | Satisfy All | ||
323 | </FilesMatch> | ||
348 | 324 | ||
349 | # By default option 1 (no "www.") is activated. | ||
350 | # no-www.org/faq.php?q=class_b | ||
325 | # ------------------------------------------------------------------------------ | ||
326 | # | Secure Sockets Layer (SSL) | | ||
327 | # ------------------------------------------------------------------------------ | ||
351 | 328 | ||
352 | # If you'd prefer to use option 2, just comment out all option 1 lines | ||
353 | # and uncomment option 2. | ||
329 | # Rewrite secure requests properly to prevent SSL certificate warnings, e.g.: | ||
330 | # prevent `https://www.example.com` when your certificate only allows | ||
331 | # `https://secure.example.com`. | ||
354 | 332 | ||
355 | # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME! | ||
333 | # <IfModule mod_rewrite.c> | ||
334 | # RewriteCond %{SERVER_PORT} !^443 | ||
335 | # RewriteRule ^ https://example-domain-please-change-me.com%{REQUEST_URI} [R=301,L] | ||
336 | # </IfModule> | ||
356 | 337 | ||
357 | # ---------------------------------------------------------------------- | ||
338 | # ------------------------------------------------------------------------------ | ||
339 | # | HTTP Strict Transport Security (HSTS) | | ||
340 | # ------------------------------------------------------------------------------ | ||
358 | 341 | ||
359 | # Option 1: | ||
360 | # Rewrite "www.example.com -> example.com". | ||
342 | # Force client-side SSL redirection. | ||
361 | 343 | ||
362 | <IfModule mod_rewrite.c> | ||
363 | RewriteCond %{HTTPS} !=on | ||
364 | RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | ||
365 | RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] | ||
366 | </IfModule> | ||
344 | # If a user types "example.com" in his browser, the above rule will redirect | ||
345 | # him to the secure version of the site. That still leaves a window of oppor- | ||
346 | # tunity (the initial HTTP connection) for an attacker to downgrade or redirect | ||
347 | # the request. The following header ensures that browser will ONLY connect to | ||
348 | # your server via HTTPS, regardless of what the users type in the address bar. | ||
349 | # http://tools.ietf.org/html/draft-ietf-websec-strict-transport-sec-14#section-6.1 | ||
350 | # http://www.html5rocks.com/en/tutorials/security/transport-layer-security/ | ||
367 | 351 | ||
368 | # ---------------------------------------------------------------------- | ||
352 | # (!) Remove the `includeSubDomains` optional directive if the subdomains are | ||
353 | # not using HTTPS. | ||
369 | 354 | ||
370 | # Option 2: | ||
371 | # Rewrite "example.com -> www.example.com". | ||
372 | # Be aware that the following rule might not be a good idea if you use "real" | ||
373 | # subdomains for certain parts of your website. | ||
374 | |||
375 | # <IfModule mod_rewrite.c> | ||
376 | # RewriteCond %{HTTPS} !=on | ||
377 | # RewriteCond %{HTTP_HOST} !^www\..+$ [NC] | ||
378 | # RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | ||
355 | # <IfModule mod_headers.c> | ||
356 | # Header set Strict-Transport-Security "max-age=16070400; includeSubDomains" | ||
379 | 357 | # </IfModule> | |
380 | 358 | ||
359 | # ------------------------------------------------------------------------------ | ||
360 | # | Server software information | | ||
361 | # ------------------------------------------------------------------------------ | ||
381 | 362 | ||
382 | # ---------------------------------------------------------------------- | ||
383 | # Built-in filename-based cache busting | ||
384 | # ---------------------------------------------------------------------- | ||
363 | # Avoid displaying the exact Apache version number, the description of the | ||
364 | # generic OS-type and the information about Apache's compiled-in modules. | ||
385 | 365 | ||
386 | # If you're not using the build script to manage your filename version revving, | ||
387 | # you might want to consider enabling this, which will route requests for | ||
388 | # /css/style.20110203.css to /css/style.css | ||
366 | # ADD THIS DIRECTIVE IN THE `httpd.conf` AS IT WILL NOT WORK IN THE `.htaccess`! | ||
389 | 367 | ||
390 | # To understand why this is important and a better idea than all.css?v1231, | ||
391 | # read: github.com/h5bp/html5-boilerplate/wiki/cachebusting | ||
368 | # ServerTokens Prod | ||
392 | 369 | ||
393 | # <IfModule mod_rewrite.c> | ||
394 | # RewriteCond %{REQUEST_FILENAME} !-f | ||
395 | # RewriteCond %{REQUEST_FILENAME} !-d | ||
396 | # RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L] | ||
397 | # </IfModule> | ||
398 | 370 | ||
371 | # ############################################################################## | ||
372 | # # WEB PERFORMANCE # | ||
373 | # ############################################################################## | ||
399 | 374 | ||
400 | # ---------------------------------------------------------------------- | ||
401 | # Prevent SSL cert warnings | ||
402 | # ---------------------------------------------------------------------- | ||
375 | # ------------------------------------------------------------------------------ | ||
376 | # | Compression | | ||
377 | # ------------------------------------------------------------------------------ | ||
403 | 378 | ||
404 | # Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent | ||
405 | # https://www.example.com when your cert only allows https://secure.example.com | ||
379 | <IfModule mod_deflate.c> | ||
406 | 380 | ||
407 | # <IfModule mod_rewrite.c> | ||
408 | # RewriteCond %{SERVER_PORT} !^443 | ||
409 | # RewriteRule ^ https://example-domain-please-change-me.com%{REQUEST_URI} [R=301,L] | ||
410 | # </IfModule> | ||
381 | # Force compression for mangled headers. | ||
382 | # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping | ||
383 | <IfModule mod_setenvif.c> | ||
384 | <IfModule mod_headers.c> | ||
385 | SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding | ||
386 | RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding | ||
387 | </IfModule> | ||
388 | </IfModule> | ||
411 | 389 | ||
390 | # Compress all output labeled with one of the following MIME-types | ||
391 | # (for Apache versions below 2.3.7, you don't need to enable `mod_filter` | ||
392 | # and can remove the `<IfModule mod_filter.c>` and `</IfModule>` lines | ||
393 | # as `AddOutputFilterByType` is still in the core directives). | ||
394 | <IfModule mod_filter.c> | ||
395 | AddOutputFilterByType DEFLATE application/atom+xml \ | ||
396 | application/javascript \ | ||
397 | application/json \ | ||
398 | application/rss+xml \ | ||
399 | application/vnd.ms-fontobject \ | ||
400 | application/x-font-ttf \ | ||
401 | application/x-web-app-manifest+json \ | ||
402 | application/xhtml+xml \ | ||
403 | application/xml \ | ||
404 | font/opentype \ | ||
405 | image/svg+xml \ | ||
406 | image/x-icon \ | ||
407 | text/css \ | ||
408 | text/html \ | ||
409 | text/plain \ | ||
410 | text/x-component \ | ||
411 | text/xml | ||
412 | </IfModule> | ||
412 | 413 | ||
413 | # ---------------------------------------------------------------------- | ||
414 | # Prevent 404 errors for non-existing redirected folders | ||
415 | # ---------------------------------------------------------------------- | ||
414 | </IfModule> | ||
416 | 415 | ||
417 | # without -MultiViews, Apache will give a 404 for a rewrite if a folder of the | ||
418 | # same name does not exist. | ||
419 | # webmasterworld.com/apache/3808792.htm | ||
416 | # ------------------------------------------------------------------------------ | ||
417 | # | Content transformations | | ||
418 | # ------------------------------------------------------------------------------ | ||
420 | 419 | ||
421 | Options -MultiViews | ||
420 | # Prevent some of the mobile network providers from modifying the content of | ||
421 | # your site: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.5. | ||
422 | 422 | ||
423 | # <IfModule mod_headers.c> | ||
424 | # Header set Cache-Control "no-transform" | ||
425 | # </IfModule> | ||
423 | 426 | ||
424 | # ---------------------------------------------------------------------- | ||
425 | # Custom 404 page | ||
426 | # ---------------------------------------------------------------------- | ||
427 | # ------------------------------------------------------------------------------ | ||
428 | # | ETag removal | | ||
429 | # ------------------------------------------------------------------------------ | ||
427 | 430 | ||
428 | # You can add custom pages to handle 500 or 403 pretty easily, if you like. | ||
429 | # If you are hosting your site in subdirectory, adjust this accordingly | ||
430 | # e.g. ErrorDocument 404 /subdir/404.html | ||
431 | ErrorDocument 404 /404.html | ||
431 | # Since we're sending far-future expires headers (see below), ETags can | ||
432 | # be removed: http://developer.yahoo.com/performance/rules.html#etags. | ||
432 | 433 | ||
434 | # `FileETag None` is not enough for every server. | ||
435 | <IfModule mod_headers.c> | ||
436 | Header unset ETag | ||
437 | </IfModule> | ||
433 | 438 | ||
434 | # ---------------------------------------------------------------------- | ||
435 | # UTF-8 encoding | ||
436 | # ---------------------------------------------------------------------- | ||
439 | FileETag None | ||
437 | 440 | ||
438 | # Use UTF-8 encoding for anything served text/plain or text/html | ||
439 | AddDefaultCharset utf-8 | ||
441 | # ------------------------------------------------------------------------------ | ||
442 | # | Expires headers (for better cache control) | | ||
443 | # ------------------------------------------------------------------------------ | ||
440 | 444 | ||
441 | # Force UTF-8 for a number of file formats | ||
442 | AddCharset utf-8 .atom .css .js .json .rss .vtt .xml | ||
445 | # The following expires headers are set pretty far in the future. If you don't | ||
446 | # control versioning with filename-based cache busting, consider lowering the | ||
447 | # cache time for resources like CSS and JS to something like 1 week. | ||
443 | 448 | ||
449 | <IfModule mod_expires.c> | ||
444 | 450 | ||
445 | # ---------------------------------------------------------------------- | ||
446 | # A little more security | ||
447 | # ---------------------------------------------------------------------- | ||
451 | ExpiresActive on | ||
452 | ExpiresDefault "access plus 1 month" | ||
448 | 453 | ||
449 | # To avoid displaying the exact version number of Apache being used, add the | ||
450 | # following to httpd.conf (it will not work in .htaccess): | ||
451 | # ServerTokens Prod | ||
454 | # CSS | ||
455 | ExpiresByType text/css "access plus 1 year" | ||
452 | 456 | ||
453 | # "-Indexes" will have Apache block users from browsing folders without a | ||
454 | # default document Usually you should leave this activated, because you | ||
455 | # shouldn't allow everybody to surf through every folder on your server (which | ||
456 | # includes rather private places like CMS system folders). | ||
457 | <IfModule mod_autoindex.c> | ||
458 | Options -Indexes | ||
459 | </IfModule> | ||
457 | # Data interchange | ||
458 | ExpiresByType application/json "access plus 0 seconds" | ||
459 | ExpiresByType application/xml "access plus 0 seconds" | ||
460 | ExpiresByType text/xml "access plus 0 seconds" | ||
460 | 461 | ||
461 | # Block access to "hidden" directories or files whose names begin with a | ||
462 | # period. This includes directories used by version control systems such as | ||
463 | # Subversion or Git. | ||
464 | <IfModule mod_rewrite.c> | ||
465 | RewriteCond %{SCRIPT_FILENAME} -d [OR] | ||
466 | RewriteCond %{SCRIPT_FILENAME} -f | ||
467 | RewriteRule "(^|/)\." - [F] | ||
468 | </IfModule> | ||
462 | # Favicon (cannot be renamed!) | ||
463 | ExpiresByType image/x-icon "access plus 1 week" | ||
469 | 464 | ||
470 | # Block access to backup and source files. These files may be left by some | ||
471 | # text/html editors and pose a great security danger, when anyone can access | ||
472 | # them. | ||
473 | <FilesMatch "(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$"> | ||
474 | Order allow,deny | ||
475 | Deny from all | ||
476 | Satisfy All | ||
477 | </FilesMatch> | ||
465 | # HTML components (HTCs) | ||
466 | ExpiresByType text/x-component "access plus 1 month" | ||
478 | 467 | ||
479 | # If your server is not already configured as such, the following directive | ||
480 | # should be uncommented in order to set PHP's register_globals option to OFF. | ||
481 | # This closes a major security hole that is abused by most XSS (cross-site | ||
482 | # scripting) attacks. For more information: http://php.net/register_globals | ||
483 | # | ||
484 | # IF REGISTER_GLOBALS DIRECTIVE CAUSES 500 INTERNAL SERVER ERRORS: | ||
485 | # | ||
486 | # Your server does not allow PHP directives to be set via .htaccess. In that | ||
487 | # case you must make this change in your php.ini file instead. If you are | ||
488 | # using a commercial web host, contact the administrators for assistance in | ||
489 | # doing this. Not all servers allow local php.ini files, and they should | ||
490 | # include all PHP configurations (not just this one), or you will effectively | ||
491 | # reset everything to PHP defaults. Consult www.php.net for more detailed | ||
492 | # information about setting PHP directives. | ||
468 | # HTML | ||
469 | ExpiresByType text/html "access plus 0 seconds" | ||
493 | 470 | ||
494 | # php_flag register_globals Off | ||
471 | # JavaScript | ||
472 | ExpiresByType application/javascript "access plus 1 year" | ||
495 | 473 | ||
496 | # Rename session cookie to something else, than PHPSESSID | ||
497 | # php_value session.name sid | ||
474 | # Manifest files | ||
475 | ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" | ||
476 | ExpiresByType text/cache-manifest "access plus 0 seconds" | ||
498 | 477 | ||
499 | # Disable magic quotes (This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.) | ||
500 | # php_flag magic_quotes_gpc Off | ||
478 | # Media | ||
479 | ExpiresByType audio/ogg "access plus 1 month" | ||
480 | ExpiresByType image/gif "access plus 1 month" | ||
481 | ExpiresByType image/jpeg "access plus 1 month" | ||
482 | ExpiresByType image/png "access plus 1 month" | ||
483 | ExpiresByType video/mp4 "access plus 1 month" | ||
484 | ExpiresByType video/ogg "access plus 1 month" | ||
485 | ExpiresByType video/webm "access plus 1 month" | ||
501 | 486 | ||
502 | # Do not show you are using PHP | ||
503 | # Note: Move this line to php.ini since it won't work in .htaccess | ||
504 | # php_flag expose_php Off | ||
487 | # Web feeds | ||
488 | ExpiresByType application/atom+xml "access plus 1 hour" | ||
489 | ExpiresByType application/rss+xml "access plus 1 hour" | ||
505 | 490 | ||
506 | # Level of log detail - log all errors | ||
507 | # php_value error_reporting -1 | ||
491 | # Web fonts | ||
492 | ExpiresByType application/font-woff "access plus 1 month" | ||
493 | ExpiresByType application/vnd.ms-fontobject "access plus 1 month" | ||
494 | ExpiresByType application/x-font-ttf "access plus 1 month" | ||
495 | ExpiresByType font/opentype "access plus 1 month" | ||
496 | ExpiresByType image/svg+xml "access plus 1 month" | ||
508 | 497 | ||
509 | # Write errors to log file | ||
510 | # php_flag log_errors On | ||
498 | </IfModule> | ||
511 | 499 | ||
512 | # Do not display errors in browser (production - Off, development - On) | ||
513 | # php_flag display_errors Off | ||
500 | # ------------------------------------------------------------------------------ | ||
501 | # | Filename-based cache busting | | ||
502 | # ------------------------------------------------------------------------------ | ||
514 | 503 | ||
515 | # Do not display startup errors (production - Off, development - On) | ||
516 | # php_flag display_startup_errors Off | ||
504 | # If you're not using a build process to manage your filename version revving, | ||
505 | # you might want to consider enabling the following directives to route all | ||
506 | # requests such as `/css/style.12345.css` to `/css/style.css`. | ||
517 | 507 | ||
518 | # Format errors in plain text | ||
519 | # Note: Leave this setting 'On' for xdebug's var_dump() output | ||
520 | # php_flag html_errors Off | ||
508 | # To understand why this is important and a better idea than `*.css?v231`, read: | ||
509 | # http://stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring | ||
521 | 510 | ||
522 | # Show multiple occurrence of error | ||
523 | # php_flag ignore_repeated_errors Off | ||
511 | # <IfModule mod_rewrite.c> | ||
512 | # RewriteCond %{REQUEST_FILENAME} !-f | ||
513 | # RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L] | ||
514 | # </IfModule> | ||
524 | 515 | ||
525 | # Show same errors from different sources | ||
526 | # php_flag ignore_repeated_source Off | ||
516 | # ------------------------------------------------------------------------------ | ||
517 | # | File concatenation | | ||
518 | # ------------------------------------------------------------------------------ | ||
527 | 519 | ||
528 | # Size limit for error messages | ||
529 | # php_value log_errors_max_len 1024 | ||
520 | # Allow concatenation from within specific CSS and JS files, e.g.: | ||
521 | # Inside of `script.combined.js` you could have | ||
522 | # <!--#include file="libs/jquery.js" --> | ||
523 | # <!--#include file="plugins/jquery.idletimer.js" --> | ||
524 | # and they would be included into this single file. | ||
530 | 525 | ||
531 | # Don't precede error with string (doesn't accept empty string, use whitespace if you need) | ||
532 | # php_value error_prepend_string " " | ||
526 | # <IfModule mod_include.c> | ||
527 | # <FilesMatch "\.combined\.js$"> | ||
528 | # Options +Includes | ||
529 | # AddOutputFilterByType INCLUDES application/javascript application/json | ||
530 | # SetOutputFilter INCLUDES | ||
531 | # </FilesMatch> | ||
532 | # <FilesMatch "\.combined\.css$"> | ||
533 | # Options +Includes | ||
534 | # AddOutputFilterByType INCLUDES text/css | ||
535 | # SetOutputFilter INCLUDES | ||
536 | # </FilesMatch> | ||
537 | # </IfModule> | ||
533 | 538 | ||
534 | # Don't prepend to error (doesn't accept empty string, use whitespace if you need) | ||
535 | # php_value error_append_string " " | ||
539 | # ------------------------------------------------------------------------------ | ||
540 | # | Persistent connections | | ||
541 | # ------------------------------------------------------------------------------ | ||
536 | 542 | ||
537 | # Increase cookie security | ||
538 | <IfModule php5_module> | ||
539 | php_value session.cookie_httponly true | ||
540 | </IfModule> | ||
543 | # Allow multiple requests to be sent over the same TCP connection: | ||
544 | # http://httpd.apache.org/docs/current/en/mod/core.html#keepalive. | ||
545 | |||
546 | # Enable if you serve a lot of static content but, be aware of the | ||
547 | # possible disadvantages! | ||
548 | |||
549 | # <IfModule mod_headers.c> | ||
550 | # Header set Connection Keep-Alive | ||
551 | # </IfModule> |
mouchak/static/css/bootstrap.css
(0 / 5893)
  | |||
1 | /*! | ||
2 | * Bootstrap v2.2.1 | ||
3 | * | ||
4 | * Copyright 2012 Twitter, Inc | ||
5 | * Licensed under the Apache License v2.0 | ||
6 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
7 | * | ||
8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. | ||
9 | */ | ||
10 | |||
11 | article, | ||
12 | aside, | ||
13 | details, | ||
14 | figcaption, | ||
15 | figure, | ||
16 | footer, | ||
17 | header, | ||
18 | hgroup, | ||
19 | nav, | ||
20 | section { | ||
21 | display: block; | ||
22 | } | ||
23 | |||
24 | audio, | ||
25 | canvas, | ||
26 | video { | ||
27 | display: inline-block; | ||
28 | *display: inline; | ||
29 | *zoom: 1; | ||
30 | } | ||
31 | |||
32 | audio:not([controls]) { | ||
33 | display: none; | ||
34 | } | ||
35 | |||
36 | html { | ||
37 | font-size: 100%; | ||
38 | -webkit-text-size-adjust: 100%; | ||
39 | -ms-text-size-adjust: 100%; | ||
40 | } | ||
41 | |||
42 | a:focus { | ||
43 | outline: thin dotted #333; | ||
44 | outline: 5px auto -webkit-focus-ring-color; | ||
45 | outline-offset: -2px; | ||
46 | } | ||
47 | |||
48 | a:hover, | ||
49 | a:active { | ||
50 | outline: 0; | ||
51 | } | ||
52 | |||
53 | sub, | ||
54 | sup { | ||
55 | position: relative; | ||
56 | font-size: 75%; | ||
57 | line-height: 0; | ||
58 | vertical-align: baseline; | ||
59 | } | ||
60 | |||
61 | sup { | ||
62 | top: -0.5em; | ||
63 | } | ||
64 | |||
65 | sub { | ||
66 | bottom: -0.25em; | ||
67 | } | ||
68 | |||
69 | img { | ||
70 | width: auto\9; | ||
71 | height: auto; | ||
72 | max-width: 100%; | ||
73 | vertical-align: middle; | ||
74 | border: 0; | ||
75 | -ms-interpolation-mode: bicubic; | ||
76 | } | ||
77 | |||
78 | #map_canvas img, | ||
79 | .google-maps img { | ||
80 | max-width: none; | ||
81 | } | ||
82 | |||
83 | button, | ||
84 | input, | ||
85 | select, | ||
86 | textarea { | ||
87 | margin: 0; | ||
88 | font-size: 100%; | ||
89 | vertical-align: middle; | ||
90 | } | ||
91 | |||
92 | button, | ||
93 | input { | ||
94 | *overflow: visible; | ||
95 | line-height: normal; | ||
96 | } | ||
97 | |||
98 | button::-moz-focus-inner, | ||
99 | input::-moz-focus-inner { | ||
100 | padding: 0; | ||
101 | border: 0; | ||
102 | } | ||
103 | |||
104 | button, | ||
105 | html input[type="button"], | ||
106 | input[type="reset"], | ||
107 | input[type="submit"] { | ||
108 | cursor: pointer; | ||
109 | -webkit-appearance: button; | ||
110 | } | ||
111 | |||
112 | input[type="search"] { | ||
113 | -webkit-box-sizing: content-box; | ||
114 | -moz-box-sizing: content-box; | ||
115 | box-sizing: content-box; | ||
116 | -webkit-appearance: textfield; | ||
117 | } | ||
118 | |||
119 | input[type="search"]::-webkit-search-decoration, | ||
120 | input[type="search"]::-webkit-search-cancel-button { | ||
121 | -webkit-appearance: none; | ||
122 | } | ||
123 | |||
124 | textarea { | ||
125 | overflow: auto; | ||
126 | vertical-align: top; | ||
127 | } | ||
128 | |||
129 | .clearfix { | ||
130 | *zoom: 1; | ||
131 | } | ||
132 | |||
133 | .clearfix:before, | ||
134 | .clearfix:after { | ||
135 | display: table; | ||
136 | line-height: 0; | ||
137 | content: ""; | ||
138 | } | ||
139 | |||
140 | .clearfix:after { | ||
141 | clear: both; | ||
142 | } | ||
143 | |||
144 | .hide-text { | ||
145 | font: 0/0 a; | ||
146 | color: transparent; | ||
147 | text-shadow: none; | ||
148 | background-color: transparent; | ||
149 | border: 0; | ||
150 | } | ||
151 | |||
152 | .input-block-level { | ||
153 | display: block; | ||
154 | width: 100%; | ||
155 | min-height: 30px; | ||
156 | -webkit-box-sizing: border-box; | ||
157 | -moz-box-sizing: border-box; | ||
158 | box-sizing: border-box; | ||
159 | } | ||
160 | |||
161 | body { | ||
162 | margin: 0; | ||
163 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
164 | font-size: 14px; | ||
165 | line-height: 20px; | ||
166 | color: #333333; | ||
167 | background-color: #ffffff; | ||
168 | } | ||
169 | |||
170 | a { | ||
171 | color: #0088cc; | ||
172 | text-decoration: none; | ||
173 | } | ||
174 | |||
175 | a:hover { | ||
176 | color: #005580; | ||
177 | text-decoration: underline; | ||
178 | } | ||
179 | |||
180 | .img-rounded { | ||
181 | -webkit-border-radius: 6px; | ||
182 | -moz-border-radius: 6px; | ||
183 | border-radius: 6px; | ||
184 | } | ||
185 | |||
186 | .img-polaroid { | ||
187 | padding: 4px; | ||
188 | background-color: #fff; | ||
189 | border: 1px solid #ccc; | ||
190 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
191 | -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | ||
192 | -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | ||
193 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | ||
194 | } | ||
195 | |||
196 | .img-circle { | ||
197 | -webkit-border-radius: 500px; | ||
198 | -moz-border-radius: 500px; | ||
199 | border-radius: 500px; | ||
200 | } | ||
201 | |||
202 | .row { | ||
203 | margin-left: -20px; | ||
204 | *zoom: 1; | ||
205 | } | ||
206 | |||
207 | .row:before, | ||
208 | .row:after { | ||
209 | display: table; | ||
210 | line-height: 0; | ||
211 | content: ""; | ||
212 | } | ||
213 | |||
214 | .row:after { | ||
215 | clear: both; | ||
216 | } | ||
217 | |||
218 | [class*="span"] { | ||
219 | float: left; | ||
220 | min-height: 1px; | ||
221 | margin-left: 20px; | ||
222 | } | ||
223 | |||
224 | .container, | ||
225 | .navbar-static-top .container, | ||
226 | .navbar-fixed-top .container, | ||
227 | .navbar-fixed-bottom .container { | ||
228 | width: 940px; | ||
229 | } | ||
230 | |||
231 | .span12 { | ||
232 | width: 940px; | ||
233 | } | ||
234 | |||
235 | .span11 { | ||
236 | width: 860px; | ||
237 | } | ||
238 | |||
239 | .span10 { | ||
240 | width: 780px; | ||
241 | } | ||
242 | |||
243 | .span9 { | ||
244 | width: 700px; | ||
245 | } | ||
246 | |||
247 | .span8 { | ||
248 | width: 620px; | ||
249 | } | ||
250 | |||
251 | .span7 { | ||
252 | width: 540px; | ||
253 | } | ||
254 | |||
255 | .span6 { | ||
256 | width: 460px; | ||
257 | } | ||
258 | |||
259 | .span5 { | ||
260 | width: 380px; | ||
261 | } | ||
262 | |||
263 | .span4 { | ||
264 | width: 300px; | ||
265 | } | ||
266 | |||
267 | .span3 { | ||
268 | width: 220px; | ||
269 | } | ||
270 | |||
271 | .span2 { | ||
272 | width: 140px; | ||
273 | } | ||
274 | |||
275 | .span1 { | ||
276 | width: 60px; | ||
277 | } | ||
278 | |||
279 | .offset12 { | ||
280 | margin-left: 980px; | ||
281 | } | ||
282 | |||
283 | .offset11 { | ||
284 | margin-left: 900px; | ||
285 | } | ||
286 | |||
287 | .offset10 { | ||
288 | margin-left: 820px; | ||
289 | } | ||
290 | |||
291 | .offset9 { | ||
292 | margin-left: 740px; | ||
293 | } | ||
294 | |||
295 | .offset8 { | ||
296 | margin-left: 660px; | ||
297 | } | ||
298 | |||
299 | .offset7 { | ||
300 | margin-left: 580px; | ||
301 | } | ||
302 | |||
303 | .offset6 { | ||
304 | margin-left: 500px; | ||
305 | } | ||
306 | |||
307 | .offset5 { | ||
308 | margin-left: 420px; | ||
309 | } | ||
310 | |||
311 | .offset4 { | ||
312 | margin-left: 340px; | ||
313 | } | ||
314 | |||
315 | .offset3 { | ||
316 | margin-left: 260px; | ||
317 | } | ||
318 | |||
319 | .offset2 { | ||
320 | margin-left: 180px; | ||
321 | } | ||
322 | |||
323 | .offset1 { | ||
324 | margin-left: 100px; | ||
325 | } | ||
326 | |||
327 | .row-fluid { | ||
328 | width: 100%; | ||
329 | *zoom: 1; | ||
330 | } | ||
331 | |||
332 | .row-fluid:before, | ||
333 | .row-fluid:after { | ||
334 | display: table; | ||
335 | line-height: 0; | ||
336 | content: ""; | ||
337 | } | ||
338 | |||
339 | .row-fluid:after { | ||
340 | clear: both; | ||
341 | } | ||
342 | |||
343 | .row-fluid [class*="span"] { | ||
344 | display: block; | ||
345 | float: left; | ||
346 | width: 100%; | ||
347 | min-height: 30px; | ||
348 | margin-left: 2.127659574468085%; | ||
349 | *margin-left: 2.074468085106383%; | ||
350 | -webkit-box-sizing: border-box; | ||
351 | -moz-box-sizing: border-box; | ||
352 | box-sizing: border-box; | ||
353 | } | ||
354 | |||
355 | .row-fluid [class*="span"]:first-child { | ||
356 | margin-left: 0; | ||
357 | } | ||
358 | |||
359 | .row-fluid .controls-row [class*="span"] + [class*="span"] { | ||
360 | margin-left: 2.127659574468085%; | ||
361 | } | ||
362 | |||
363 | .row-fluid .span12 { | ||
364 | width: 100%; | ||
365 | *width: 99.94680851063829%; | ||
366 | } | ||
367 | |||
368 | .row-fluid .span11 { | ||
369 | width: 91.48936170212765%; | ||
370 | *width: 91.43617021276594%; | ||
371 | } | ||
372 | |||
373 | .row-fluid .span10 { | ||
374 | width: 82.97872340425532%; | ||
375 | *width: 82.92553191489361%; | ||
376 | } | ||
377 | |||
378 | .row-fluid .span9 { | ||
379 | width: 74.46808510638297%; | ||
380 | *width: 74.41489361702126%; | ||
381 | } | ||
382 | |||
383 | .row-fluid .span8 { | ||
384 | width: 65.95744680851064%; | ||
385 | *width: 65.90425531914893%; | ||
386 | } | ||
387 | |||
388 | .row-fluid .span7 { | ||
389 | width: 57.44680851063829%; | ||
390 | *width: 57.39361702127659%; | ||
391 | } | ||
392 | |||
393 | .row-fluid .span6 { | ||
394 | width: 48.93617021276595%; | ||
395 | *width: 48.88297872340425%; | ||
396 | } | ||
397 | |||
398 | .row-fluid .span5 { | ||
399 | width: 40.42553191489362%; | ||
400 | *width: 40.37234042553192%; | ||
401 | } | ||
402 | |||
403 | .row-fluid .span4 { | ||
404 | width: 31.914893617021278%; | ||
405 | *width: 31.861702127659576%; | ||
406 | } | ||
407 | |||
408 | .row-fluid .span3 { | ||
409 | width: 23.404255319148934%; | ||
410 | *width: 23.351063829787233%; | ||
411 | } | ||
412 | |||
413 | .row-fluid .span2 { | ||
414 | width: 14.893617021276595%; | ||
415 | *width: 14.840425531914894%; | ||
416 | } | ||
417 | |||
418 | .row-fluid .span1 { | ||
419 | width: 6.382978723404255%; | ||
420 | *width: 6.329787234042553%; | ||
421 | } | ||
422 | |||
423 | .row-fluid .offset12 { | ||
424 | margin-left: 104.25531914893617%; | ||
425 | *margin-left: 104.14893617021275%; | ||
426 | } | ||
427 | |||
428 | .row-fluid .offset12:first-child { | ||
429 | margin-left: 102.12765957446808%; | ||
430 | *margin-left: 102.02127659574467%; | ||
431 | } | ||
432 | |||
433 | .row-fluid .offset11 { | ||
434 | margin-left: 95.74468085106382%; | ||
435 | *margin-left: 95.6382978723404%; | ||
436 | } | ||
437 | |||
438 | .row-fluid .offset11:first-child { | ||
439 | margin-left: 93.61702127659574%; | ||
440 | *margin-left: 93.51063829787232%; | ||
441 | } | ||
442 | |||
443 | .row-fluid .offset10 { | ||
444 | margin-left: 87.23404255319149%; | ||
445 | *margin-left: 87.12765957446807%; | ||
446 | } | ||
447 | |||
448 | .row-fluid .offset10:first-child { | ||
449 | margin-left: 85.1063829787234%; | ||
450 | *margin-left: 84.99999999999999%; | ||
451 | } | ||
452 | |||
453 | .row-fluid .offset9 { | ||
454 | margin-left: 78.72340425531914%; | ||
455 | *margin-left: 78.61702127659572%; | ||
456 | } | ||
457 | |||
458 | .row-fluid .offset9:first-child { | ||
459 | margin-left: 76.59574468085106%; | ||
460 | *margin-left: 76.48936170212764%; | ||
461 | } | ||
462 | |||
463 | .row-fluid .offset8 { | ||
464 | margin-left: 70.2127659574468%; | ||
465 | *margin-left: 70.10638297872339%; | ||
466 | } | ||
467 | |||
468 | .row-fluid .offset8:first-child { | ||
469 | margin-left: 68.08510638297872%; | ||
470 | *margin-left: 67.9787234042553%; | ||
471 | } | ||
472 | |||
473 | .row-fluid .offset7 { | ||
474 | margin-left: 61.70212765957446%; | ||
475 | *margin-left: 61.59574468085106%; | ||
476 | } | ||
477 | |||
478 | .row-fluid .offset7:first-child { | ||
479 | margin-left: 59.574468085106375%; | ||
480 | *margin-left: 59.46808510638297%; | ||
481 | } | ||
482 | |||
483 | .row-fluid .offset6 { | ||
484 | margin-left: 53.191489361702125%; | ||
485 | *margin-left: 53.085106382978715%; | ||
486 | } | ||
487 | |||
488 | .row-fluid .offset6:first-child { | ||
489 | margin-left: 51.063829787234035%; | ||
490 | *margin-left: 50.95744680851063%; | ||
491 | } | ||
492 | |||
493 | .row-fluid .offset5 { | ||
494 | margin-left: 44.68085106382979%; | ||
495 | *margin-left: 44.57446808510638%; | ||
496 | } | ||
497 | |||
498 | .row-fluid .offset5:first-child { | ||
499 | margin-left: 42.5531914893617%; | ||
500 | *margin-left: 42.4468085106383%; | ||
501 | } | ||
502 | |||
503 | .row-fluid .offset4 { | ||
504 | margin-left: 36.170212765957444%; | ||
505 | *margin-left: 36.06382978723405%; | ||
506 | } | ||
507 | |||
508 | .row-fluid .offset4:first-child { | ||
509 | margin-left: 34.04255319148936%; | ||
510 | *margin-left: 33.93617021276596%; | ||
511 | } | ||
512 | |||
513 | .row-fluid .offset3 { | ||
514 | margin-left: 27.659574468085104%; | ||
515 | *margin-left: 27.5531914893617%; | ||
516 | } | ||
517 | |||
518 | .row-fluid .offset3:first-child { | ||
519 | margin-left: 25.53191489361702%; | ||
520 | *margin-left: 25.425531914893618%; | ||
521 | } | ||
522 | |||
523 | .row-fluid .offset2 { | ||
524 | margin-left: 19.148936170212764%; | ||
525 | *margin-left: 19.04255319148936%; | ||
526 | } | ||
527 | |||
528 | .row-fluid .offset2:first-child { | ||
529 | margin-left: 17.02127659574468%; | ||
530 | *margin-left: 16.914893617021278%; | ||
531 | } | ||
532 | |||
533 | .row-fluid .offset1 { | ||
534 | margin-left: 10.638297872340425%; | ||
535 | *margin-left: 10.53191489361702%; | ||
536 | } | ||
537 | |||
538 | .row-fluid .offset1:first-child { | ||
539 | margin-left: 8.51063829787234%; | ||
540 | *margin-left: 8.404255319148938%; | ||
541 | } | ||
542 | |||
543 | [class*="span"].hide, | ||
544 | .row-fluid [class*="span"].hide { | ||
545 | display: none; | ||
546 | } | ||
547 | |||
548 | [class*="span"].pull-right, | ||
549 | .row-fluid [class*="span"].pull-right { | ||
550 | float: right; | ||
551 | } | ||
552 | |||
553 | .container { | ||
554 | margin-right: auto; | ||
555 | margin-left: auto; | ||
556 | *zoom: 1; | ||
557 | } | ||
558 | |||
559 | .container:before, | ||
560 | .container:after { | ||
561 | display: table; | ||
562 | line-height: 0; | ||
563 | content: ""; | ||
564 | } | ||
565 | |||
566 | .container:after { | ||
567 | clear: both; | ||
568 | } | ||
569 | |||
570 | .container-fluid { | ||
571 | padding-right: 20px; | ||
572 | padding-left: 20px; | ||
573 | *zoom: 1; | ||
574 | } | ||
575 | |||
576 | .container-fluid:before, | ||
577 | .container-fluid:after { | ||
578 | display: table; | ||
579 | line-height: 0; | ||
580 | content: ""; | ||
581 | } | ||
582 | |||
583 | .container-fluid:after { | ||
584 | clear: both; | ||
585 | } | ||
586 | |||
587 | p { | ||
588 | margin: 0 0 10px; | ||
589 | } | ||
590 | |||
591 | .lead { | ||
592 | margin-bottom: 20px; | ||
593 | font-size: 21px; | ||
594 | font-weight: 200; | ||
595 | line-height: 30px; | ||
596 | } | ||
597 | |||
598 | small { | ||
599 | font-size: 85%; | ||
600 | } | ||
601 | |||
602 | strong { | ||
603 | font-weight: bold; | ||
604 | } | ||
605 | |||
606 | em { | ||
607 | font-style: italic; | ||
608 | } | ||
609 | |||
610 | cite { | ||
611 | font-style: normal; | ||
612 | } | ||
613 | |||
614 | .muted { | ||
615 | color: #999999; | ||
616 | } | ||
617 | |||
618 | .text-warning { | ||
619 | color: #c09853; | ||
620 | } | ||
621 | |||
622 | a.text-warning:hover { | ||
623 | color: #a47e3c; | ||
624 | } | ||
625 | |||
626 | .text-error { | ||
627 | color: #b94a48; | ||
628 | } | ||
629 | |||
630 | a.text-error:hover { | ||
631 | color: #953b39; | ||
632 | } | ||
633 | |||
634 | .text-info { | ||
635 | color: #3a87ad; | ||
636 | } | ||
637 | |||
638 | a.text-info:hover { | ||
639 | color: #2d6987; | ||
640 | } | ||
641 | |||
642 | .text-success { | ||
643 | color: #468847; | ||
644 | } | ||
645 | |||
646 | a.text-success:hover { | ||
647 | color: #356635; | ||
648 | } | ||
649 | |||
650 | h1, | ||
651 | h2, | ||
652 | h3, | ||
653 | h4, | ||
654 | h5, | ||
655 | h6 { | ||
656 | margin: 10px 0; | ||
657 | font-family: inherit; | ||
658 | font-weight: bold; | ||
659 | line-height: 20px; | ||
660 | color: inherit; | ||
661 | text-rendering: optimizelegibility; | ||
662 | } | ||
663 | |||
664 | h1 small, | ||
665 | h2 small, | ||
666 | h3 small, | ||
667 | h4 small, | ||
668 | h5 small, | ||
669 | h6 small { | ||
670 | font-weight: normal; | ||
671 | line-height: 1; | ||
672 | color: #999999; | ||
673 | } | ||
674 | |||
675 | h1, | ||
676 | h2, | ||
677 | h3 { | ||
678 | line-height: 40px; | ||
679 | } | ||
680 | |||
681 | h1 { | ||
682 | font-size: 38.5px; | ||
683 | } | ||
684 | |||
685 | h2 { | ||
686 | font-size: 31.5px; | ||
687 | } | ||
688 | |||
689 | h3 { | ||
690 | font-size: 24.5px; | ||
691 | } | ||
692 | |||
693 | h4 { | ||
694 | font-size: 17.5px; | ||
695 | } | ||
696 | |||
697 | h5 { | ||
698 | font-size: 14px; | ||
699 | } | ||
700 | |||
701 | h6 { | ||
702 | font-size: 11.9px; | ||
703 | } | ||
704 | |||
705 | h1 small { | ||
706 | font-size: 24.5px; | ||
707 | } | ||
708 | |||
709 | h2 small { | ||
710 | font-size: 17.5px; | ||
711 | } | ||
712 | |||
713 | h3 small { | ||
714 | font-size: 14px; | ||
715 | } | ||
716 | |||
717 | h4 small { | ||
718 | font-size: 14px; | ||
719 | } | ||
720 | |||
721 | .page-header { | ||
722 | padding-bottom: 9px; | ||
723 | margin: 20px 0 30px; | ||
724 | border-bottom: 1px solid #eeeeee; | ||
725 | } | ||
726 | |||
727 | ul, | ||
728 | ol { | ||
729 | padding: 0; | ||
730 | margin: 0 0 10px 25px; | ||
731 | } | ||
732 | |||
733 | ul ul, | ||
734 | ul ol, | ||
735 | ol ol, | ||
736 | ol ul { | ||
737 | margin-bottom: 0; | ||
738 | } | ||
739 | |||
740 | li { | ||
741 | line-height: 20px; | ||
742 | } | ||
743 | |||
744 | ul.unstyled, | ||
745 | ol.unstyled { | ||
746 | margin-left: 0; | ||
747 | list-style: none; | ||
748 | } | ||
749 | |||
750 | dl { | ||
751 | margin-bottom: 20px; | ||
752 | } | ||
753 | |||
754 | dt, | ||
755 | dd { | ||
756 | line-height: 20px; | ||
757 | } | ||
758 | |||
759 | dt { | ||
760 | font-weight: bold; | ||
761 | } | ||
762 | |||
763 | dd { | ||
764 | margin-left: 10px; | ||
765 | } | ||
766 | |||
767 | .dl-horizontal { | ||
768 | *zoom: 1; | ||
769 | } | ||
770 | |||
771 | .dl-horizontal:before, | ||
772 | .dl-horizontal:after { | ||
773 | display: table; | ||
774 | line-height: 0; | ||
775 | content: ""; | ||
776 | } | ||
777 | |||
778 | .dl-horizontal:after { | ||
779 | clear: both; | ||
780 | } | ||
781 | |||
782 | .dl-horizontal dt { | ||
783 | float: left; | ||
784 | width: 160px; | ||
785 | overflow: hidden; | ||
786 | clear: left; | ||
787 | text-align: right; | ||
788 | text-overflow: ellipsis; | ||
789 | white-space: nowrap; | ||
790 | } | ||
791 | |||
792 | .dl-horizontal dd { | ||
793 | margin-left: 180px; | ||
794 | } | ||
795 | |||
796 | hr { | ||
797 | margin: 20px 0; | ||
798 | border: 0; | ||
799 | border-top: 1px solid #eeeeee; | ||
800 | border-bottom: 1px solid #ffffff; | ||
801 | } | ||
802 | |||
803 | abbr[title], | ||
804 | abbr[data-original-title] { | ||
805 | cursor: help; | ||
806 | border-bottom: 1px dotted #999999; | ||
807 | } | ||
808 | |||
809 | abbr.initialism { | ||
810 | font-size: 90%; | ||
811 | text-transform: uppercase; | ||
812 | } | ||
813 | |||
814 | blockquote { | ||
815 | padding: 0 0 0 15px; | ||
816 | margin: 0 0 20px; | ||
817 | border-left: 5px solid #eeeeee; | ||
818 | } | ||
819 | |||
820 | blockquote p { | ||
821 | margin-bottom: 0; | ||
822 | font-size: 16px; | ||
823 | font-weight: 300; | ||
824 | line-height: 25px; | ||
825 | } | ||
826 | |||
827 | blockquote small { | ||
828 | display: block; | ||
829 | line-height: 20px; | ||
830 | color: #999999; | ||
831 | } | ||
832 | |||
833 | blockquote small:before { | ||
834 | content: '\2014 \00A0'; | ||
835 | } | ||
836 | |||
837 | blockquote.pull-right { | ||
838 | float: right; | ||
839 | padding-right: 15px; | ||
840 | padding-left: 0; | ||
841 | border-right: 5px solid #eeeeee; | ||
842 | border-left: 0; | ||
843 | } | ||
844 | |||
845 | blockquote.pull-right p, | ||
846 | blockquote.pull-right small { | ||
847 | text-align: right; | ||
848 | } | ||
849 | |||
850 | blockquote.pull-right small:before { | ||
851 | content: ''; | ||
852 | } | ||
853 | |||
854 | blockquote.pull-right small:after { | ||
855 | content: '\00A0 \2014'; | ||
856 | } | ||
857 | |||
858 | q:before, | ||
859 | q:after, | ||
860 | blockquote:before, | ||
861 | blockquote:after { | ||
862 | content: ""; | ||
863 | } | ||
864 | |||
865 | address { | ||
866 | display: block; | ||
867 | margin-bottom: 20px; | ||
868 | font-style: normal; | ||
869 | line-height: 20px; | ||
870 | } | ||
871 | |||
872 | code, | ||
873 | pre { | ||
874 | padding: 0 3px 2px; | ||
875 | font-family: Monaco, Menlo, Consolas, "Courier New", monospace; | ||
876 | font-size: 12px; | ||
877 | color: #333333; | ||
878 | -webkit-border-radius: 3px; | ||
879 | -moz-border-radius: 3px; | ||
880 | border-radius: 3px; | ||
881 | } | ||
882 | |||
883 | code { | ||
884 | padding: 2px 4px; | ||
885 | color: #d14; | ||
886 | background-color: #f7f7f9; | ||
887 | border: 1px solid #e1e1e8; | ||
888 | } | ||
889 | |||
890 | pre { | ||
891 | display: block; | ||
892 | padding: 9.5px; | ||
893 | margin: 0 0 10px; | ||
894 | font-size: 13px; | ||
895 | line-height: 20px; | ||
896 | word-break: break-all; | ||
897 | word-wrap: break-word; | ||
898 | white-space: pre; | ||
899 | white-space: pre-wrap; | ||
900 | background-color: #f5f5f5; | ||
901 | border: 1px solid #ccc; | ||
902 | border: 1px solid rgba(0, 0, 0, 0.15); | ||
903 | -webkit-border-radius: 4px; | ||
904 | -moz-border-radius: 4px; | ||
905 | border-radius: 4px; | ||
906 | } | ||
907 | |||
908 | pre.prettyprint { | ||
909 | margin-bottom: 20px; | ||
910 | } | ||
911 | |||
912 | pre code { | ||
913 | padding: 0; | ||
914 | color: inherit; | ||
915 | background-color: transparent; | ||
916 | border: 0; | ||
917 | } | ||
918 | |||
919 | .pre-scrollable { | ||
920 | max-height: 340px; | ||
921 | overflow-y: scroll; | ||
922 | } | ||
923 | |||
924 | form { | ||
925 | margin: 0 0 20px; | ||
926 | } | ||
927 | |||
928 | fieldset { | ||
929 | padding: 0; | ||
930 | margin: 0; | ||
931 | border: 0; | ||
932 | } | ||
933 | |||
934 | legend { | ||
935 | display: block; | ||
936 | width: 100%; | ||
937 | padding: 0; | ||
938 | margin-bottom: 20px; | ||
939 | font-size: 21px; | ||
940 | line-height: 40px; | ||
941 | color: #333333; | ||
942 | border: 0; | ||
943 | border-bottom: 1px solid #e5e5e5; | ||
944 | } | ||
945 | |||
946 | legend small { | ||
947 | font-size: 15px; | ||
948 | color: #999999; | ||
949 | } | ||
950 | |||
951 | label, | ||
952 | input, | ||
953 | button, | ||
954 | select, | ||
955 | textarea { | ||
956 | font-size: 14px; | ||
957 | font-weight: normal; | ||
958 | line-height: 20px; | ||
959 | } | ||
960 | |||
961 | input, | ||
962 | button, | ||
963 | select, | ||
964 | textarea { | ||
965 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
966 | } | ||
967 | |||
968 | label { | ||
969 | display: block; | ||
970 | margin-bottom: 5px; | ||
971 | } | ||
972 | |||
973 | select, | ||
974 | textarea, | ||
975 | input[type="text"], | ||
976 | input[type="password"], | ||
977 | input[type="datetime"], | ||
978 | input[type="datetime-local"], | ||
979 | input[type="date"], | ||
980 | input[type="month"], | ||
981 | input[type="time"], | ||
982 | input[type="week"], | ||
983 | input[type="number"], | ||
984 | input[type="email"], | ||
985 | input[type="url"], | ||
986 | input[type="search"], | ||
987 | input[type="tel"], | ||
988 | input[type="color"], | ||
989 | .uneditable-input { | ||
990 | display: inline-block; | ||
991 | height: 20px; | ||
992 | padding: 4px 6px; | ||
993 | margin-bottom: 10px; | ||
994 | font-size: 14px; | ||
995 | line-height: 20px; | ||
996 | color: #555555; | ||
997 | vertical-align: middle; | ||
998 | -webkit-border-radius: 4px; | ||
999 | -moz-border-radius: 4px; | ||
1000 | border-radius: 4px; | ||
1001 | } | ||
1002 | |||
1003 | input, | ||
1004 | textarea, | ||
1005 | .uneditable-input { | ||
1006 | width: 206px; | ||
1007 | } | ||
1008 | |||
1009 | textarea { | ||
1010 | height: auto; | ||
1011 | } | ||
1012 | |||
1013 | textarea, | ||
1014 | input[type="text"], | ||
1015 | input[type="password"], | ||
1016 | input[type="datetime"], | ||
1017 | input[type="datetime-local"], | ||
1018 | input[type="date"], | ||
1019 | input[type="month"], | ||
1020 | input[type="time"], | ||
1021 | input[type="week"], | ||
1022 | input[type="number"], | ||
1023 | input[type="email"], | ||
1024 | input[type="url"], | ||
1025 | input[type="search"], | ||
1026 | input[type="tel"], | ||
1027 | input[type="color"], | ||
1028 | .uneditable-input { | ||
1029 | background-color: #ffffff; | ||
1030 | border: 1px solid #cccccc; | ||
1031 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1032 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1033 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1034 | -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
1035 | -moz-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
1036 | -o-transition: border linear 0.2s, box-shadow linear 0.2s; | ||
1037 | transition: border linear 0.2s, box-shadow linear 0.2s; | ||
1038 | } | ||
1039 | |||
1040 | textarea:focus, | ||
1041 | input[type="text"]:focus, | ||
1042 | input[type="password"]:focus, | ||
1043 | input[type="datetime"]:focus, | ||
1044 | input[type="datetime-local"]:focus, | ||
1045 | input[type="date"]:focus, | ||
1046 | input[type="month"]:focus, | ||
1047 | input[type="time"]:focus, | ||
1048 | input[type="week"]:focus, | ||
1049 | input[type="number"]:focus, | ||
1050 | input[type="email"]:focus, | ||
1051 | input[type="url"]:focus, | ||
1052 | input[type="search"]:focus, | ||
1053 | input[type="tel"]:focus, | ||
1054 | input[type="color"]:focus, | ||
1055 | .uneditable-input:focus { | ||
1056 | border-color: rgba(82, 168, 236, 0.8); | ||
1057 | outline: 0; | ||
1058 | outline: thin dotted \9; | ||
1059 | /* IE6-9 */ | ||
1060 | |||
1061 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); | ||
1062 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); | ||
1063 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); | ||
1064 | } | ||
1065 | |||
1066 | input[type="radio"], | ||
1067 | input[type="checkbox"] { | ||
1068 | margin: 4px 0 0; | ||
1069 | margin-top: 1px \9; | ||
1070 | *margin-top: 0; | ||
1071 | line-height: normal; | ||
1072 | cursor: pointer; | ||
1073 | } | ||
1074 | |||
1075 | input[type="file"], | ||
1076 | input[type="image"], | ||
1077 | input[type="submit"], | ||
1078 | input[type="reset"], | ||
1079 | input[type="button"], | ||
1080 | input[type="radio"], | ||
1081 | input[type="checkbox"] { | ||
1082 | width: auto; | ||
1083 | } | ||
1084 | |||
1085 | select, | ||
1086 | input[type="file"] { | ||
1087 | height: 30px; | ||
1088 | /* In IE7, the height of the select element cannot be changed by height, only font-size */ | ||
1089 | |||
1090 | *margin-top: 4px; | ||
1091 | /* For IE7, add top margin to align select with labels */ | ||
1092 | |||
1093 | line-height: 30px; | ||
1094 | } | ||
1095 | |||
1096 | select { | ||
1097 | width: 220px; | ||
1098 | background-color: #ffffff; | ||
1099 | border: 1px solid #cccccc; | ||
1100 | } | ||
1101 | |||
1102 | select[multiple], | ||
1103 | select[size] { | ||
1104 | height: auto; | ||
1105 | } | ||
1106 | |||
1107 | select:focus, | ||
1108 | input[type="file"]:focus, | ||
1109 | input[type="radio"]:focus, | ||
1110 | input[type="checkbox"]:focus { | ||
1111 | outline: thin dotted #333; | ||
1112 | outline: 5px auto -webkit-focus-ring-color; | ||
1113 | outline-offset: -2px; | ||
1114 | } | ||
1115 | |||
1116 | .uneditable-input, | ||
1117 | .uneditable-textarea { | ||
1118 | color: #999999; | ||
1119 | cursor: not-allowed; | ||
1120 | background-color: #fcfcfc; | ||
1121 | border-color: #cccccc; | ||
1122 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); | ||
1123 | -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); | ||
1124 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); | ||
1125 | } | ||
1126 | |||
1127 | .uneditable-input { | ||
1128 | overflow: hidden; | ||
1129 | white-space: nowrap; | ||
1130 | } | ||
1131 | |||
1132 | .uneditable-textarea { | ||
1133 | width: auto; | ||
1134 | height: auto; | ||
1135 | } | ||
1136 | |||
1137 | input:-moz-placeholder, | ||
1138 | textarea:-moz-placeholder { | ||
1139 | color: #999999; | ||
1140 | } | ||
1141 | |||
1142 | input:-ms-input-placeholder, | ||
1143 | textarea:-ms-input-placeholder { | ||
1144 | color: #999999; | ||
1145 | } | ||
1146 | |||
1147 | input::-webkit-input-placeholder, | ||
1148 | textarea::-webkit-input-placeholder { | ||
1149 | color: #999999; | ||
1150 | } | ||
1151 | |||
1152 | .radio, | ||
1153 | .checkbox { | ||
1154 | min-height: 20px; | ||
1155 | padding-left: 20px; | ||
1156 | } | ||
1157 | |||
1158 | .radio input[type="radio"], | ||
1159 | .checkbox input[type="checkbox"] { | ||
1160 | float: left; | ||
1161 | margin-left: -20px; | ||
1162 | } | ||
1163 | |||
1164 | .controls > .radio:first-child, | ||
1165 | .controls > .checkbox:first-child { | ||
1166 | padding-top: 5px; | ||
1167 | } | ||
1168 | |||
1169 | .radio.inline, | ||
1170 | .checkbox.inline { | ||
1171 | display: inline-block; | ||
1172 | padding-top: 5px; | ||
1173 | margin-bottom: 0; | ||
1174 | vertical-align: middle; | ||
1175 | } | ||
1176 | |||
1177 | .radio.inline + .radio.inline, | ||
1178 | .checkbox.inline + .checkbox.inline { | ||
1179 | margin-left: 10px; | ||
1180 | } | ||
1181 | |||
1182 | .input-mini { | ||
1183 | width: 60px; | ||
1184 | } | ||
1185 | |||
1186 | .input-small { | ||
1187 | width: 90px; | ||
1188 | } | ||
1189 | |||
1190 | .input-medium { | ||
1191 | width: 150px; | ||
1192 | } | ||
1193 | |||
1194 | .input-large { | ||
1195 | width: 210px; | ||
1196 | } | ||
1197 | |||
1198 | .input-xlarge { | ||
1199 | width: 270px; | ||
1200 | } | ||
1201 | |||
1202 | .input-xxlarge { | ||
1203 | width: 530px; | ||
1204 | } | ||
1205 | |||
1206 | input[class*="span"], | ||
1207 | select[class*="span"], | ||
1208 | textarea[class*="span"], | ||
1209 | .uneditable-input[class*="span"], | ||
1210 | .row-fluid input[class*="span"], | ||
1211 | .row-fluid select[class*="span"], | ||
1212 | .row-fluid textarea[class*="span"], | ||
1213 | .row-fluid .uneditable-input[class*="span"] { | ||
1214 | float: none; | ||
1215 | margin-left: 0; | ||
1216 | } | ||
1217 | |||
1218 | .input-append input[class*="span"], | ||
1219 | .input-append .uneditable-input[class*="span"], | ||
1220 | .input-prepend input[class*="span"], | ||
1221 | .input-prepend .uneditable-input[class*="span"], | ||
1222 | .row-fluid input[class*="span"], | ||
1223 | .row-fluid select[class*="span"], | ||
1224 | .row-fluid textarea[class*="span"], | ||
1225 | .row-fluid .uneditable-input[class*="span"], | ||
1226 | .row-fluid .input-prepend [class*="span"], | ||
1227 | .row-fluid .input-append [class*="span"] { | ||
1228 | display: inline-block; | ||
1229 | } | ||
1230 | |||
1231 | input, | ||
1232 | textarea, | ||
1233 | .uneditable-input { | ||
1234 | margin-left: 0; | ||
1235 | } | ||
1236 | |||
1237 | .controls-row [class*="span"] + [class*="span"] { | ||
1238 | margin-left: 20px; | ||
1239 | } | ||
1240 | |||
1241 | input.span12, | ||
1242 | textarea.span12, | ||
1243 | .uneditable-input.span12 { | ||
1244 | width: 926px; | ||
1245 | } | ||
1246 | |||
1247 | input.span11, | ||
1248 | textarea.span11, | ||
1249 | .uneditable-input.span11 { | ||
1250 | width: 846px; | ||
1251 | } | ||
1252 | |||
1253 | input.span10, | ||
1254 | textarea.span10, | ||
1255 | .uneditable-input.span10 { | ||
1256 | width: 766px; | ||
1257 | } | ||
1258 | |||
1259 | input.span9, | ||
1260 | textarea.span9, | ||
1261 | .uneditable-input.span9 { | ||
1262 | width: 686px; | ||
1263 | } | ||
1264 | |||
1265 | input.span8, | ||
1266 | textarea.span8, | ||
1267 | .uneditable-input.span8 { | ||
1268 | width: 606px; | ||
1269 | } | ||
1270 | |||
1271 | input.span7, | ||
1272 | textarea.span7, | ||
1273 | .uneditable-input.span7 { | ||
1274 | width: 526px; | ||
1275 | } | ||
1276 | |||
1277 | input.span6, | ||
1278 | textarea.span6, | ||
1279 | .uneditable-input.span6 { | ||
1280 | width: 446px; | ||
1281 | } | ||
1282 | |||
1283 | input.span5, | ||
1284 | textarea.span5, | ||
1285 | .uneditable-input.span5 { | ||
1286 | width: 366px; | ||
1287 | } | ||
1288 | |||
1289 | input.span4, | ||
1290 | textarea.span4, | ||
1291 | .uneditable-input.span4 { | ||
1292 | width: 286px; | ||
1293 | } | ||
1294 | |||
1295 | input.span3, | ||
1296 | textarea.span3, | ||
1297 | .uneditable-input.span3 { | ||
1298 | width: 206px; | ||
1299 | } | ||
1300 | |||
1301 | input.span2, | ||
1302 | textarea.span2, | ||
1303 | .uneditable-input.span2 { | ||
1304 | width: 126px; | ||
1305 | } | ||
1306 | |||
1307 | input.span1, | ||
1308 | textarea.span1, | ||
1309 | .uneditable-input.span1 { | ||
1310 | width: 46px; | ||
1311 | } | ||
1312 | |||
1313 | .controls-row { | ||
1314 | *zoom: 1; | ||
1315 | } | ||
1316 | |||
1317 | .controls-row:before, | ||
1318 | .controls-row:after { | ||
1319 | display: table; | ||
1320 | line-height: 0; | ||
1321 | content: ""; | ||
1322 | } | ||
1323 | |||
1324 | .controls-row:after { | ||
1325 | clear: both; | ||
1326 | } | ||
1327 | |||
1328 | .controls-row [class*="span"], | ||
1329 | .row-fluid .controls-row [class*="span"] { | ||
1330 | float: left; | ||
1331 | } | ||
1332 | |||
1333 | .controls-row .checkbox[class*="span"], | ||
1334 | .controls-row .radio[class*="span"] { | ||
1335 | padding-top: 5px; | ||
1336 | } | ||
1337 | |||
1338 | input[disabled], | ||
1339 | select[disabled], | ||
1340 | textarea[disabled], | ||
1341 | input[readonly], | ||
1342 | select[readonly], | ||
1343 | textarea[readonly] { | ||
1344 | cursor: not-allowed; | ||
1345 | background-color: #eeeeee; | ||
1346 | } | ||
1347 | |||
1348 | input[type="radio"][disabled], | ||
1349 | input[type="checkbox"][disabled], | ||
1350 | input[type="radio"][readonly], | ||
1351 | input[type="checkbox"][readonly] { | ||
1352 | background-color: transparent; | ||
1353 | } | ||
1354 | |||
1355 | .control-group.warning > label, | ||
1356 | .control-group.warning .help-block, | ||
1357 | .control-group.warning .help-inline { | ||
1358 | color: #c09853; | ||
1359 | } | ||
1360 | |||
1361 | .control-group.warning .checkbox, | ||
1362 | .control-group.warning .radio, | ||
1363 | .control-group.warning input, | ||
1364 | .control-group.warning select, | ||
1365 | .control-group.warning textarea { | ||
1366 | color: #c09853; | ||
1367 | } | ||
1368 | |||
1369 | .control-group.warning input, | ||
1370 | .control-group.warning select, | ||
1371 | .control-group.warning textarea { | ||
1372 | border-color: #c09853; | ||
1373 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1374 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1375 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1376 | } | ||
1377 | |||
1378 | .control-group.warning input:focus, | ||
1379 | .control-group.warning select:focus, | ||
1380 | .control-group.warning textarea:focus { | ||
1381 | border-color: #a47e3c; | ||
1382 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; | ||
1383 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; | ||
1384 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; | ||
1385 | } | ||
1386 | |||
1387 | .control-group.warning .input-prepend .add-on, | ||
1388 | .control-group.warning .input-append .add-on { | ||
1389 | color: #c09853; | ||
1390 | background-color: #fcf8e3; | ||
1391 | border-color: #c09853; | ||
1392 | } | ||
1393 | |||
1394 | .control-group.error > label, | ||
1395 | .control-group.error .help-block, | ||
1396 | .control-group.error .help-inline { | ||
1397 | color: #b94a48; | ||
1398 | } | ||
1399 | |||
1400 | .control-group.error .checkbox, | ||
1401 | .control-group.error .radio, | ||
1402 | .control-group.error input, | ||
1403 | .control-group.error select, | ||
1404 | .control-group.error textarea { | ||
1405 | color: #b94a48; | ||
1406 | } | ||
1407 | |||
1408 | .control-group.error input, | ||
1409 | .control-group.error select, | ||
1410 | .control-group.error textarea { | ||
1411 | border-color: #b94a48; | ||
1412 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1413 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1414 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1415 | } | ||
1416 | |||
1417 | .control-group.error input:focus, | ||
1418 | .control-group.error select:focus, | ||
1419 | .control-group.error textarea:focus { | ||
1420 | border-color: #953b39; | ||
1421 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; | ||
1422 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; | ||
1423 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; | ||
1424 | } | ||
1425 | |||
1426 | .control-group.error .input-prepend .add-on, | ||
1427 | .control-group.error .input-append .add-on { | ||
1428 | color: #b94a48; | ||
1429 | background-color: #f2dede; | ||
1430 | border-color: #b94a48; | ||
1431 | } | ||
1432 | |||
1433 | .control-group.success > label, | ||
1434 | .control-group.success .help-block, | ||
1435 | .control-group.success .help-inline { | ||
1436 | color: #468847; | ||
1437 | } | ||
1438 | |||
1439 | .control-group.success .checkbox, | ||
1440 | .control-group.success .radio, | ||
1441 | .control-group.success input, | ||
1442 | .control-group.success select, | ||
1443 | .control-group.success textarea { | ||
1444 | color: #468847; | ||
1445 | } | ||
1446 | |||
1447 | .control-group.success input, | ||
1448 | .control-group.success select, | ||
1449 | .control-group.success textarea { | ||
1450 | border-color: #468847; | ||
1451 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1452 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1453 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1454 | } | ||
1455 | |||
1456 | .control-group.success input:focus, | ||
1457 | .control-group.success select:focus, | ||
1458 | .control-group.success textarea:focus { | ||
1459 | border-color: #356635; | ||
1460 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; | ||
1461 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; | ||
1462 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; | ||
1463 | } | ||
1464 | |||
1465 | .control-group.success .input-prepend .add-on, | ||
1466 | .control-group.success .input-append .add-on { | ||
1467 | color: #468847; | ||
1468 | background-color: #dff0d8; | ||
1469 | border-color: #468847; | ||
1470 | } | ||
1471 | |||
1472 | .control-group.info > label, | ||
1473 | .control-group.info .help-block, | ||
1474 | .control-group.info .help-inline { | ||
1475 | color: #3a87ad; | ||
1476 | } | ||
1477 | |||
1478 | .control-group.info .checkbox, | ||
1479 | .control-group.info .radio, | ||
1480 | .control-group.info input, | ||
1481 | .control-group.info select, | ||
1482 | .control-group.info textarea { | ||
1483 | color: #3a87ad; | ||
1484 | } | ||
1485 | |||
1486 | .control-group.info input, | ||
1487 | .control-group.info select, | ||
1488 | .control-group.info textarea { | ||
1489 | border-color: #3a87ad; | ||
1490 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1491 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1492 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
1493 | } | ||
1494 | |||
1495 | .control-group.info input:focus, | ||
1496 | .control-group.info select:focus, | ||
1497 | .control-group.info textarea:focus { | ||
1498 | border-color: #2d6987; | ||
1499 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; | ||
1500 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; | ||
1501 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; | ||
1502 | } | ||
1503 | |||
1504 | .control-group.info .input-prepend .add-on, | ||
1505 | .control-group.info .input-append .add-on { | ||
1506 | color: #3a87ad; | ||
1507 | background-color: #d9edf7; | ||
1508 | border-color: #3a87ad; | ||
1509 | } | ||
1510 | |||
1511 | input:focus:required:invalid, | ||
1512 | textarea:focus:required:invalid, | ||
1513 | select:focus:required:invalid { | ||
1514 | color: #b94a48; | ||
1515 | border-color: #ee5f5b; | ||
1516 | } | ||
1517 | |||
1518 | input:focus:required:invalid:focus, | ||
1519 | textarea:focus:required:invalid:focus, | ||
1520 | select:focus:required:invalid:focus { | ||
1521 | border-color: #e9322d; | ||
1522 | -webkit-box-shadow: 0 0 6px #f8b9b7; | ||
1523 | -moz-box-shadow: 0 0 6px #f8b9b7; | ||
1524 | box-shadow: 0 0 6px #f8b9b7; | ||
1525 | } | ||
1526 | |||
1527 | .form-actions { | ||
1528 | padding: 19px 20px 20px; | ||
1529 | margin-top: 20px; | ||
1530 | margin-bottom: 20px; | ||
1531 | background-color: #f5f5f5; | ||
1532 | border-top: 1px solid #e5e5e5; | ||
1533 | *zoom: 1; | ||
1534 | } | ||
1535 | |||
1536 | .form-actions:before, | ||
1537 | .form-actions:after { | ||
1538 | display: table; | ||
1539 | line-height: 0; | ||
1540 | content: ""; | ||
1541 | } | ||
1542 | |||
1543 | .form-actions:after { | ||
1544 | clear: both; | ||
1545 | } | ||
1546 | |||
1547 | .help-block, | ||
1548 | .help-inline { | ||
1549 | color: #595959; | ||
1550 | } | ||
1551 | |||
1552 | .help-block { | ||
1553 | display: block; | ||
1554 | margin-bottom: 10px; | ||
1555 | } | ||
1556 | |||
1557 | .help-inline { | ||
1558 | display: inline-block; | ||
1559 | *display: inline; | ||
1560 | padding-left: 5px; | ||
1561 | vertical-align: middle; | ||
1562 | *zoom: 1; | ||
1563 | } | ||
1564 | |||
1565 | .input-append, | ||
1566 | .input-prepend { | ||
1567 | margin-bottom: 5px; | ||
1568 | font-size: 0; | ||
1569 | white-space: nowrap; | ||
1570 | } | ||
1571 | |||
1572 | .input-append input, | ||
1573 | .input-prepend input, | ||
1574 | .input-append select, | ||
1575 | .input-prepend select, | ||
1576 | .input-append .uneditable-input, | ||
1577 | .input-prepend .uneditable-input, | ||
1578 | .input-append .dropdown-menu, | ||
1579 | .input-prepend .dropdown-menu { | ||
1580 | font-size: 14px; | ||
1581 | } | ||
1582 | |||
1583 | .input-append input, | ||
1584 | .input-prepend input, | ||
1585 | .input-append select, | ||
1586 | .input-prepend select, | ||
1587 | .input-append .uneditable-input, | ||
1588 | .input-prepend .uneditable-input { | ||
1589 | position: relative; | ||
1590 | margin-bottom: 0; | ||
1591 | *margin-left: 0; | ||
1592 | vertical-align: top; | ||
1593 | -webkit-border-radius: 0 4px 4px 0; | ||
1594 | -moz-border-radius: 0 4px 4px 0; | ||
1595 | border-radius: 0 4px 4px 0; | ||
1596 | } | ||
1597 | |||
1598 | .input-append input:focus, | ||
1599 | .input-prepend input:focus, | ||
1600 | .input-append select:focus, | ||
1601 | .input-prepend select:focus, | ||
1602 | .input-append .uneditable-input:focus, | ||
1603 | .input-prepend .uneditable-input:focus { | ||
1604 | z-index: 2; | ||
1605 | } | ||
1606 | |||
1607 | .input-append .add-on, | ||
1608 | .input-prepend .add-on { | ||
1609 | display: inline-block; | ||
1610 | width: auto; | ||
1611 | height: 20px; | ||
1612 | min-width: 16px; | ||
1613 | padding: 4px 5px; | ||
1614 | font-size: 14px; | ||
1615 | font-weight: normal; | ||
1616 | line-height: 20px; | ||
1617 | text-align: center; | ||
1618 | text-shadow: 0 1px 0 #ffffff; | ||
1619 | background-color: #eeeeee; | ||
1620 | border: 1px solid #ccc; | ||
1621 | } | ||
1622 | |||
1623 | .input-append .add-on, | ||
1624 | .input-prepend .add-on, | ||
1625 | .input-append .btn, | ||
1626 | .input-prepend .btn { | ||
1627 | vertical-align: top; | ||
1628 | -webkit-border-radius: 0; | ||
1629 | -moz-border-radius: 0; | ||
1630 | border-radius: 0; | ||
1631 | } | ||
1632 | |||
1633 | .input-append .active, | ||
1634 | .input-prepend .active { | ||
1635 | background-color: #a9dba9; | ||
1636 | border-color: #46a546; | ||
1637 | } | ||
1638 | |||
1639 | .input-prepend .add-on, | ||
1640 | .input-prepend .btn { | ||
1641 | margin-right: -1px; | ||
1642 | } | ||
1643 | |||
1644 | .input-prepend .add-on:first-child, | ||
1645 | .input-prepend .btn:first-child { | ||
1646 | -webkit-border-radius: 4px 0 0 4px; | ||
1647 | -moz-border-radius: 4px 0 0 4px; | ||
1648 | border-radius: 4px 0 0 4px; | ||
1649 | } | ||
1650 | |||
1651 | .input-append input, | ||
1652 | .input-append select, | ||
1653 | .input-append .uneditable-input { | ||
1654 | -webkit-border-radius: 4px 0 0 4px; | ||
1655 | -moz-border-radius: 4px 0 0 4px; | ||
1656 | border-radius: 4px 0 0 4px; | ||
1657 | } | ||
1658 | |||
1659 | .input-append input + .btn-group .btn, | ||
1660 | .input-append select + .btn-group .btn, | ||
1661 | .input-append .uneditable-input + .btn-group .btn { | ||
1662 | -webkit-border-radius: 0 4px 4px 0; | ||
1663 | -moz-border-radius: 0 4px 4px 0; | ||
1664 | border-radius: 0 4px 4px 0; | ||
1665 | } | ||
1666 | |||
1667 | .input-append .add-on, | ||
1668 | .input-append .btn, | ||
1669 | .input-append .btn-group { | ||
1670 | margin-left: -1px; | ||
1671 | } | ||
1672 | |||
1673 | .input-append .add-on:last-child, | ||
1674 | .input-append .btn:last-child { | ||
1675 | -webkit-border-radius: 0 4px 4px 0; | ||
1676 | -moz-border-radius: 0 4px 4px 0; | ||
1677 | border-radius: 0 4px 4px 0; | ||
1678 | } | ||
1679 | |||
1680 | .input-prepend.input-append input, | ||
1681 | .input-prepend.input-append select, | ||
1682 | .input-prepend.input-append .uneditable-input { | ||
1683 | -webkit-border-radius: 0; | ||
1684 | -moz-border-radius: 0; | ||
1685 | border-radius: 0; | ||
1686 | } | ||
1687 | |||
1688 | .input-prepend.input-append input + .btn-group .btn, | ||
1689 | .input-prepend.input-append select + .btn-group .btn, | ||
1690 | .input-prepend.input-append .uneditable-input + .btn-group .btn { | ||
1691 | -webkit-border-radius: 0 4px 4px 0; | ||
1692 | -moz-border-radius: 0 4px 4px 0; | ||
1693 | border-radius: 0 4px 4px 0; | ||
1694 | } | ||
1695 | |||
1696 | .input-prepend.input-append .add-on:first-child, | ||
1697 | .input-prepend.input-append .btn:first-child { | ||
1698 | margin-right: -1px; | ||
1699 | -webkit-border-radius: 4px 0 0 4px; | ||
1700 | -moz-border-radius: 4px 0 0 4px; | ||
1701 | border-radius: 4px 0 0 4px; | ||
1702 | } | ||
1703 | |||
1704 | .input-prepend.input-append .add-on:last-child, | ||
1705 | .input-prepend.input-append .btn:last-child { | ||
1706 | margin-left: -1px; | ||
1707 | -webkit-border-radius: 0 4px 4px 0; | ||
1708 | -moz-border-radius: 0 4px 4px 0; | ||
1709 | border-radius: 0 4px 4px 0; | ||
1710 | } | ||
1711 | |||
1712 | .input-prepend.input-append .btn-group:first-child { | ||
1713 | margin-left: 0; | ||
1714 | } | ||
1715 | |||
1716 | input.search-query { | ||
1717 | padding-right: 14px; | ||
1718 | padding-right: 4px \9; | ||
1719 | padding-left: 14px; | ||
1720 | padding-left: 4px \9; | ||
1721 | /* IE7-8 doesn't have border-radius, so don't indent the padding */ | ||
1722 | |||
1723 | margin-bottom: 0; | ||
1724 | -webkit-border-radius: 15px; | ||
1725 | -moz-border-radius: 15px; | ||
1726 | border-radius: 15px; | ||
1727 | } | ||
1728 | |||
1729 | /* Allow for input prepend/append in search forms */ | ||
1730 | |||
1731 | .form-search .input-append .search-query, | ||
1732 | .form-search .input-prepend .search-query { | ||
1733 | -webkit-border-radius: 0; | ||
1734 | -moz-border-radius: 0; | ||
1735 | border-radius: 0; | ||
1736 | } | ||
1737 | |||
1738 | .form-search .input-append .search-query { | ||
1739 | -webkit-border-radius: 14px 0 0 14px; | ||
1740 | -moz-border-radius: 14px 0 0 14px; | ||
1741 | border-radius: 14px 0 0 14px; | ||
1742 | } | ||
1743 | |||
1744 | .form-search .input-append .btn { | ||
1745 | -webkit-border-radius: 0 14px 14px 0; | ||
1746 | -moz-border-radius: 0 14px 14px 0; | ||
1747 | border-radius: 0 14px 14px 0; | ||
1748 | } | ||
1749 | |||
1750 | .form-search .input-prepend .search-query { | ||
1751 | -webkit-border-radius: 0 14px 14px 0; | ||
1752 | -moz-border-radius: 0 14px 14px 0; | ||
1753 | border-radius: 0 14px 14px 0; | ||
1754 | } | ||
1755 | |||
1756 | .form-search .input-prepend .btn { | ||
1757 | -webkit-border-radius: 14px 0 0 14px; | ||
1758 | -moz-border-radius: 14px 0 0 14px; | ||
1759 | border-radius: 14px 0 0 14px; | ||
1760 | } | ||
1761 | |||
1762 | .form-search input, | ||
1763 | .form-inline input, | ||
1764 | .form-horizontal input, | ||
1765 | .form-search textarea, | ||
1766 | .form-inline textarea, | ||
1767 | .form-horizontal textarea, | ||
1768 | .form-search select, | ||
1769 | .form-inline select, | ||
1770 | .form-horizontal select, | ||
1771 | .form-search .help-inline, | ||
1772 | .form-inline .help-inline, | ||
1773 | .form-horizontal .help-inline, | ||
1774 | .form-search .uneditable-input, | ||
1775 | .form-inline .uneditable-input, | ||
1776 | .form-horizontal .uneditable-input, | ||
1777 | .form-search .input-prepend, | ||
1778 | .form-inline .input-prepend, | ||
1779 | .form-horizontal .input-prepend, | ||
1780 | .form-search .input-append, | ||
1781 | .form-inline .input-append, | ||
1782 | .form-horizontal .input-append { | ||
1783 | display: inline-block; | ||
1784 | *display: inline; | ||
1785 | margin-bottom: 0; | ||
1786 | vertical-align: middle; | ||
1787 | *zoom: 1; | ||
1788 | } | ||
1789 | |||
1790 | .form-search .hide, | ||
1791 | .form-inline .hide, | ||
1792 | .form-horizontal .hide { | ||
1793 | display: none; | ||
1794 | } | ||
1795 | |||
1796 | .form-search label, | ||
1797 | .form-inline label, | ||
1798 | .form-search .btn-group, | ||
1799 | .form-inline .btn-group { | ||
1800 | display: inline-block; | ||
1801 | } | ||
1802 | |||
1803 | .form-search .input-append, | ||
1804 | .form-inline .input-append, | ||
1805 | .form-search .input-prepend, | ||
1806 | .form-inline .input-prepend { | ||
1807 | margin-bottom: 0; | ||
1808 | } | ||
1809 | |||
1810 | .form-search .radio, | ||
1811 | .form-search .checkbox, | ||
1812 | .form-inline .radio, | ||
1813 | .form-inline .checkbox { | ||
1814 | padding-left: 0; | ||
1815 | margin-bottom: 0; | ||
1816 | vertical-align: middle; | ||
1817 | } | ||
1818 | |||
1819 | .form-search .radio input[type="radio"], | ||
1820 | .form-search .checkbox input[type="checkbox"], | ||
1821 | .form-inline .radio input[type="radio"], | ||
1822 | .form-inline .checkbox input[type="checkbox"] { | ||
1823 | float: left; | ||
1824 | margin-right: 3px; | ||
1825 | margin-left: 0; | ||
1826 | } | ||
1827 | |||
1828 | .control-group { | ||
1829 | margin-bottom: 10px; | ||
1830 | } | ||
1831 | |||
1832 | legend + .control-group { | ||
1833 | margin-top: 20px; | ||
1834 | -webkit-margin-top-collapse: separate; | ||
1835 | } | ||
1836 | |||
1837 | .form-horizontal .control-group { | ||
1838 | margin-bottom: 20px; | ||
1839 | *zoom: 1; | ||
1840 | } | ||
1841 | |||
1842 | .form-horizontal .control-group:before, | ||
1843 | .form-horizontal .control-group:after { | ||
1844 | display: table; | ||
1845 | line-height: 0; | ||
1846 | content: ""; | ||
1847 | } | ||
1848 | |||
1849 | .form-horizontal .control-group:after { | ||
1850 | clear: both; | ||
1851 | } | ||
1852 | |||
1853 | .form-horizontal .control-label { | ||
1854 | float: left; | ||
1855 | width: 160px; | ||
1856 | padding-top: 5px; | ||
1857 | text-align: right; | ||
1858 | } | ||
1859 | |||
1860 | .form-horizontal .controls { | ||
1861 | *display: inline-block; | ||
1862 | *padding-left: 20px; | ||
1863 | margin-left: 180px; | ||
1864 | *margin-left: 0; | ||
1865 | } | ||
1866 | |||
1867 | .form-horizontal .controls:first-child { | ||
1868 | *padding-left: 180px; | ||
1869 | } | ||
1870 | |||
1871 | .form-horizontal .help-block { | ||
1872 | margin-bottom: 0; | ||
1873 | } | ||
1874 | |||
1875 | .form-horizontal input + .help-block, | ||
1876 | .form-horizontal select + .help-block, | ||
1877 | .form-horizontal textarea + .help-block { | ||
1878 | margin-top: 10px; | ||
1879 | } | ||
1880 | |||
1881 | .form-horizontal .form-actions { | ||
1882 | padding-left: 180px; | ||
1883 | } | ||
1884 | |||
1885 | table { | ||
1886 | max-width: 100%; | ||
1887 | background-color: transparent; | ||
1888 | border-collapse: collapse; | ||
1889 | border-spacing: 0; | ||
1890 | } | ||
1891 | |||
1892 | .table { | ||
1893 | width: 100%; | ||
1894 | margin-bottom: 20px; | ||
1895 | } | ||
1896 | |||
1897 | .table th, | ||
1898 | .table td { | ||
1899 | padding: 8px; | ||
1900 | line-height: 20px; | ||
1901 | text-align: left; | ||
1902 | vertical-align: top; | ||
1903 | border-top: 1px solid #dddddd; | ||
1904 | } | ||
1905 | |||
1906 | .table th { | ||
1907 | font-weight: bold; | ||
1908 | } | ||
1909 | |||
1910 | .table thead th { | ||
1911 | vertical-align: bottom; | ||
1912 | } | ||
1913 | |||
1914 | .table caption + thead tr:first-child th, | ||
1915 | .table caption + thead tr:first-child td, | ||
1916 | .table colgroup + thead tr:first-child th, | ||
1917 | .table colgroup + thead tr:first-child td, | ||
1918 | .table thead:first-child tr:first-child th, | ||
1919 | .table thead:first-child tr:first-child td { | ||
1920 | border-top: 0; | ||
1921 | } | ||
1922 | |||
1923 | .table tbody + tbody { | ||
1924 | border-top: 2px solid #dddddd; | ||
1925 | } | ||
1926 | |||
1927 | .table-condensed th, | ||
1928 | .table-condensed td { | ||
1929 | padding: 4px 5px; | ||
1930 | } | ||
1931 | |||
1932 | .table-bordered { | ||
1933 | border: 1px solid #dddddd; | ||
1934 | border-collapse: separate; | ||
1935 | *border-collapse: collapse; | ||
1936 | border-left: 0; | ||
1937 | -webkit-border-radius: 4px; | ||
1938 | -moz-border-radius: 4px; | ||
1939 | border-radius: 4px; | ||
1940 | } | ||
1941 | |||
1942 | .table-bordered th, | ||
1943 | .table-bordered td { | ||
1944 | border-left: 1px solid #dddddd; | ||
1945 | } | ||
1946 | |||
1947 | .table-bordered caption + thead tr:first-child th, | ||
1948 | .table-bordered caption + tbody tr:first-child th, | ||
1949 | .table-bordered caption + tbody tr:first-child td, | ||
1950 | .table-bordered colgroup + thead tr:first-child th, | ||
1951 | .table-bordered colgroup + tbody tr:first-child th, | ||
1952 | .table-bordered colgroup + tbody tr:first-child td, | ||
1953 | .table-bordered thead:first-child tr:first-child th, | ||
1954 | .table-bordered tbody:first-child tr:first-child th, | ||
1955 | .table-bordered tbody:first-child tr:first-child td { | ||
1956 | border-top: 0; | ||
1957 | } | ||
1958 | |||
1959 | .table-bordered thead:first-child tr:first-child th:first-child, | ||
1960 | .table-bordered tbody:first-child tr:first-child td:first-child { | ||
1961 | -webkit-border-top-left-radius: 4px; | ||
1962 | border-top-left-radius: 4px; | ||
1963 | -moz-border-radius-topleft: 4px; | ||
1964 | } | ||
1965 | |||
1966 | .table-bordered thead:first-child tr:first-child th:last-child, | ||
1967 | .table-bordered tbody:first-child tr:first-child td:last-child { | ||
1968 | -webkit-border-top-right-radius: 4px; | ||
1969 | border-top-right-radius: 4px; | ||
1970 | -moz-border-radius-topright: 4px; | ||
1971 | } | ||
1972 | |||
1973 | .table-bordered thead:last-child tr:last-child th:first-child, | ||
1974 | .table-bordered tbody:last-child tr:last-child td:first-child, | ||
1975 | .table-bordered tfoot:last-child tr:last-child td:first-child { | ||
1976 | -webkit-border-radius: 0 0 0 4px; | ||
1977 | -moz-border-radius: 0 0 0 4px; | ||
1978 | border-radius: 0 0 0 4px; | ||
1979 | -webkit-border-bottom-left-radius: 4px; | ||
1980 | border-bottom-left-radius: 4px; | ||
1981 | -moz-border-radius-bottomleft: 4px; | ||
1982 | } | ||
1983 | |||
1984 | .table-bordered thead:last-child tr:last-child th:last-child, | ||
1985 | .table-bordered tbody:last-child tr:last-child td:last-child, | ||
1986 | .table-bordered tfoot:last-child tr:last-child td:last-child { | ||
1987 | -webkit-border-bottom-right-radius: 4px; | ||
1988 | border-bottom-right-radius: 4px; | ||
1989 | -moz-border-radius-bottomright: 4px; | ||
1990 | } | ||
1991 | |||
1992 | .table-bordered caption + thead tr:first-child th:first-child, | ||
1993 | .table-bordered caption + tbody tr:first-child td:first-child, | ||
1994 | .table-bordered colgroup + thead tr:first-child th:first-child, | ||
1995 | .table-bordered colgroup + tbody tr:first-child td:first-child { | ||
1996 | -webkit-border-top-left-radius: 4px; | ||
1997 | border-top-left-radius: 4px; | ||
1998 | -moz-border-radius-topleft: 4px; | ||
1999 | } | ||
2000 | |||
2001 | .table-bordered caption + thead tr:first-child th:last-child, | ||
2002 | .table-bordered caption + tbody tr:first-child td:last-child, | ||
2003 | .table-bordered colgroup + thead tr:first-child th:last-child, | ||
2004 | .table-bordered colgroup + tbody tr:first-child td:last-child { | ||
2005 | -webkit-border-top-right-radius: 4px; | ||
2006 | border-top-right-radius: 4px; | ||
2007 | -moz-border-radius-topright: 4px; | ||
2008 | } | ||
2009 | |||
2010 | .table-striped tbody tr:nth-child(odd) td, | ||
2011 | .table-striped tbody tr:nth-child(odd) th { | ||
2012 | background-color: #f9f9f9; | ||
2013 | } | ||
2014 | |||
2015 | .table-hover tbody tr:hover td, | ||
2016 | .table-hover tbody tr:hover th { | ||
2017 | background-color: #f5f5f5; | ||
2018 | } | ||
2019 | |||
2020 | table td[class*="span"], | ||
2021 | table th[class*="span"], | ||
2022 | .row-fluid table td[class*="span"], | ||
2023 | .row-fluid table th[class*="span"] { | ||
2024 | display: table-cell; | ||
2025 | float: none; | ||
2026 | margin-left: 0; | ||
2027 | } | ||
2028 | |||
2029 | .table td.span1, | ||
2030 | .table th.span1 { | ||
2031 | float: none; | ||
2032 | width: 44px; | ||
2033 | margin-left: 0; | ||
2034 | } | ||
2035 | |||
2036 | .table td.span2, | ||
2037 | .table th.span2 { | ||
2038 | float: none; | ||
2039 | width: 124px; | ||
2040 | margin-left: 0; | ||
2041 | } | ||
2042 | |||
2043 | .table td.span3, | ||
2044 | .table th.span3 { | ||
2045 | float: none; | ||
2046 | width: 204px; | ||
2047 | margin-left: 0; | ||
2048 | } | ||
2049 | |||
2050 | .table td.span4, | ||
2051 | .table th.span4 { | ||
2052 | float: none; | ||
2053 | width: 284px; | ||
2054 | margin-left: 0; | ||
2055 | } | ||
2056 | |||
2057 | .table td.span5, | ||
2058 | .table th.span5 { | ||
2059 | float: none; | ||
2060 | width: 364px; | ||
2061 | margin-left: 0; | ||
2062 | } | ||
2063 | |||
2064 | .table td.span6, | ||
2065 | .table th.span6 { | ||
2066 | float: none; | ||
2067 | width: 444px; | ||
2068 | margin-left: 0; | ||
2069 | } | ||
2070 | |||
2071 | .table td.span7, | ||
2072 | .table th.span7 { | ||
2073 | float: none; | ||
2074 | width: 524px; | ||
2075 | margin-left: 0; | ||
2076 | } | ||
2077 | |||
2078 | .table td.span8, | ||
2079 | .table th.span8 { | ||
2080 | float: none; | ||
2081 | width: 604px; | ||
2082 | margin-left: 0; | ||
2083 | } | ||
2084 | |||
2085 | .table td.span9, | ||
2086 | .table th.span9 { | ||
2087 | float: none; | ||
2088 | width: 684px; | ||
2089 | margin-left: 0; | ||
2090 | } | ||
2091 | |||
2092 | .table td.span10, | ||
2093 | .table th.span10 { | ||
2094 | float: none; | ||
2095 | width: 764px; | ||
2096 | margin-left: 0; | ||
2097 | } | ||
2098 | |||
2099 | .table td.span11, | ||
2100 | .table th.span11 { | ||
2101 | float: none; | ||
2102 | width: 844px; | ||
2103 | margin-left: 0; | ||
2104 | } | ||
2105 | |||
2106 | .table td.span12, | ||
2107 | .table th.span12 { | ||
2108 | float: none; | ||
2109 | width: 924px; | ||
2110 | margin-left: 0; | ||
2111 | } | ||
2112 | |||
2113 | .table tbody tr.success td { | ||
2114 | background-color: #dff0d8; | ||
2115 | } | ||
2116 | |||
2117 | .table tbody tr.error td { | ||
2118 | background-color: #f2dede; | ||
2119 | } | ||
2120 | |||
2121 | .table tbody tr.warning td { | ||
2122 | background-color: #fcf8e3; | ||
2123 | } | ||
2124 | |||
2125 | .table tbody tr.info td { | ||
2126 | background-color: #d9edf7; | ||
2127 | } | ||
2128 | |||
2129 | .table-hover tbody tr.success:hover td { | ||
2130 | background-color: #d0e9c6; | ||
2131 | } | ||
2132 | |||
2133 | .table-hover tbody tr.error:hover td { | ||
2134 | background-color: #ebcccc; | ||
2135 | } | ||
2136 | |||
2137 | .table-hover tbody tr.warning:hover td { | ||
2138 | background-color: #faf2cc; | ||
2139 | } | ||
2140 | |||
2141 | .table-hover tbody tr.info:hover td { | ||
2142 | background-color: #c4e3f3; | ||
2143 | } | ||
2144 | |||
2145 | [class^="icon-"], | ||
2146 | [class*=" icon-"] { | ||
2147 | display: inline-block; | ||
2148 | width: 14px; | ||
2149 | height: 14px; | ||
2150 | margin-top: 1px; | ||
2151 | *margin-right: .3em; | ||
2152 | line-height: 14px; | ||
2153 | vertical-align: text-top; | ||
2154 | background-image: url("../img/glyphicons-halflings.png"); | ||
2155 | background-position: 14px 14px; | ||
2156 | background-repeat: no-repeat; | ||
2157 | } | ||
2158 | |||
2159 | /* White icons with optional class, or on hover/active states of certain elements */ | ||
2160 | |||
2161 | .icon-white, | ||
2162 | .nav-pills > .active > a > [class^="icon-"], | ||
2163 | .nav-pills > .active > a > [class*=" icon-"], | ||
2164 | .nav-list > .active > a > [class^="icon-"], | ||
2165 | .nav-list > .active > a > [class*=" icon-"], | ||
2166 | .navbar-inverse .nav > .active > a > [class^="icon-"], | ||
2167 | .navbar-inverse .nav > .active > a > [class*=" icon-"], | ||
2168 | .dropdown-menu > li > a:hover > [class^="icon-"], | ||
2169 | .dropdown-menu > li > a:hover > [class*=" icon-"], | ||
2170 | .dropdown-menu > .active > a > [class^="icon-"], | ||
2171 | .dropdown-menu > .active > a > [class*=" icon-"], | ||
2172 | .dropdown-submenu:hover > a > [class^="icon-"], | ||
2173 | .dropdown-submenu:hover > a > [class*=" icon-"] { | ||
2174 | background-image: url("../img/glyphicons-halflings-white.png"); | ||
2175 | } | ||
2176 | |||
2177 | .icon-glass { | ||
2178 | background-position: 0 0; | ||
2179 | } | ||
2180 | |||
2181 | .icon-music { | ||
2182 | background-position: -24px 0; | ||
2183 | } | ||
2184 | |||
2185 | .icon-search { | ||
2186 | background-position: -48px 0; | ||
2187 | } | ||
2188 | |||
2189 | .icon-envelope { | ||
2190 | background-position: -72px 0; | ||
2191 | } | ||
2192 | |||
2193 | .icon-heart { | ||
2194 | background-position: -96px 0; | ||
2195 | } | ||
2196 | |||
2197 | .icon-star { | ||
2198 | background-position: -120px 0; | ||
2199 | } | ||
2200 | |||
2201 | .icon-star-empty { | ||
2202 | background-position: -144px 0; | ||
2203 | } | ||
2204 | |||
2205 | .icon-user { | ||
2206 | background-position: -168px 0; | ||
2207 | } | ||
2208 | |||
2209 | .icon-film { | ||
2210 | background-position: -192px 0; | ||
2211 | } | ||
2212 | |||
2213 | .icon-th-large { | ||
2214 | background-position: -216px 0; | ||
2215 | } | ||
2216 | |||
2217 | .icon-th { | ||
2218 | background-position: -240px 0; | ||
2219 | } | ||
2220 | |||
2221 | .icon-th-list { | ||
2222 | background-position: -264px 0; | ||
2223 | } | ||
2224 | |||
2225 | .icon-ok { | ||
2226 | background-position: -288px 0; | ||
2227 | } | ||
2228 | |||
2229 | .icon-remove { | ||
2230 | background-position: -312px 0; | ||
2231 | } | ||
2232 | |||
2233 | .icon-zoom-in { | ||
2234 | background-position: -336px 0; | ||
2235 | } | ||
2236 | |||
2237 | .icon-zoom-out { | ||
2238 | background-position: -360px 0; | ||
2239 | } | ||
2240 | |||
2241 | .icon-off { | ||
2242 | background-position: -384px 0; | ||
2243 | } | ||
2244 | |||
2245 | .icon-signal { | ||
2246 | background-position: -408px 0; | ||
2247 | } | ||
2248 | |||
2249 | .icon-cog { | ||
2250 | background-position: -432px 0; | ||
2251 | } | ||
2252 | |||
2253 | .icon-trash { | ||
2254 | background-position: -456px 0; | ||
2255 | } | ||
2256 | |||
2257 | .icon-home { | ||
2258 | background-position: 0 -24px; | ||
2259 | } | ||
2260 | |||
2261 | .icon-file { | ||
2262 | background-position: -24px -24px; | ||
2263 | } | ||
2264 | |||
2265 | .icon-time { | ||
2266 | background-position: -48px -24px; | ||
2267 | } | ||
2268 | |||
2269 | .icon-road { | ||
2270 | background-position: -72px -24px; | ||
2271 | } | ||
2272 | |||
2273 | .icon-download-alt { | ||
2274 | background-position: -96px -24px; | ||
2275 | } | ||
2276 | |||
2277 | .icon-download { | ||
2278 | background-position: -120px -24px; | ||
2279 | } | ||
2280 | |||
2281 | .icon-upload { | ||
2282 | background-position: -144px -24px; | ||
2283 | } | ||
2284 | |||
2285 | .icon-inbox { | ||
2286 | background-position: -168px -24px; | ||
2287 | } | ||
2288 | |||
2289 | .icon-play-circle { | ||
2290 | background-position: -192px -24px; | ||
2291 | } | ||
2292 | |||
2293 | .icon-repeat { | ||
2294 | background-position: -216px -24px; | ||
2295 | } | ||
2296 | |||
2297 | .icon-refresh { | ||
2298 | background-position: -240px -24px; | ||
2299 | } | ||
2300 | |||
2301 | .icon-list-alt { | ||
2302 | background-position: -264px -24px; | ||
2303 | } | ||
2304 | |||
2305 | .icon-lock { | ||
2306 | background-position: -287px -24px; | ||
2307 | } | ||
2308 | |||
2309 | .icon-flag { | ||
2310 | background-position: -312px -24px; | ||
2311 | } | ||
2312 | |||
2313 | .icon-headphones { | ||
2314 | background-position: -336px -24px; | ||
2315 | } | ||
2316 | |||
2317 | .icon-volume-off { | ||
2318 | background-position: -360px -24px; | ||
2319 | } | ||
2320 | |||
2321 | .icon-volume-down { | ||
2322 | background-position: -384px -24px; | ||
2323 | } | ||
2324 | |||
2325 | .icon-volume-up { | ||
2326 | background-position: -408px -24px; | ||
2327 | } | ||
2328 | |||
2329 | .icon-qrcode { | ||
2330 | background-position: -432px -24px; | ||
2331 | } | ||
2332 | |||
2333 | .icon-barcode { | ||
2334 | background-position: -456px -24px; | ||
2335 | } | ||
2336 | |||
2337 | .icon-tag { | ||
2338 | background-position: 0 -48px; | ||
2339 | } | ||
2340 | |||
2341 | .icon-tags { | ||
2342 | background-position: -25px -48px; | ||
2343 | } | ||
2344 | |||
2345 | .icon-book { | ||
2346 | background-position: -48px -48px; | ||
2347 | } | ||
2348 | |||
2349 | .icon-bookmark { | ||
2350 | background-position: -72px -48px; | ||
2351 | } | ||
2352 | |||
2353 | .icon-print { | ||
2354 | background-position: -96px -48px; | ||
2355 | } | ||
2356 | |||
2357 | .icon-camera { | ||
2358 | background-position: -120px -48px; | ||
2359 | } | ||
2360 | |||
2361 | .icon-font { | ||
2362 | background-position: -144px -48px; | ||
2363 | } | ||
2364 | |||
2365 | .icon-bold { | ||
2366 | background-position: -167px -48px; | ||
2367 | } | ||
2368 | |||
2369 | .icon-italic { | ||
2370 | background-position: -192px -48px; | ||
2371 | } | ||
2372 | |||
2373 | .icon-text-height { | ||
2374 | background-position: -216px -48px; | ||
2375 | } | ||
2376 | |||
2377 | .icon-text-width { | ||
2378 | background-position: -240px -48px; | ||
2379 | } | ||
2380 | |||
2381 | .icon-align-left { | ||
2382 | background-position: -264px -48px; | ||
2383 | } | ||
2384 | |||
2385 | .icon-align-center { | ||
2386 | background-position: -288px -48px; | ||
2387 | } | ||
2388 | |||
2389 | .icon-align-right { | ||
2390 | background-position: -312px -48px; | ||
2391 | } | ||
2392 | |||
2393 | .icon-align-justify { | ||
2394 | background-position: -336px -48px; | ||
2395 | } | ||
2396 | |||
2397 | .icon-list { | ||
2398 | background-position: -360px -48px; | ||
2399 | } | ||
2400 | |||
2401 | .icon-indent-left { | ||
2402 | background-position: -384px -48px; | ||
2403 | } | ||
2404 | |||
2405 | .icon-indent-right { | ||
2406 | background-position: -408px -48px; | ||
2407 | } | ||
2408 | |||
2409 | .icon-facetime-video { | ||
2410 | background-position: -432px -48px; | ||
2411 | } | ||
2412 | |||
2413 | .icon-picture { | ||
2414 | background-position: -456px -48px; | ||
2415 | } | ||
2416 | |||
2417 | .icon-pencil { | ||
2418 | background-position: 0 -72px; | ||
2419 | } | ||
2420 | |||
2421 | .icon-map-marker { | ||
2422 | background-position: -24px -72px; | ||
2423 | } | ||
2424 | |||
2425 | .icon-adjust { | ||
2426 | background-position: -48px -72px; | ||
2427 | } | ||
2428 | |||
2429 | .icon-tint { | ||
2430 | background-position: -72px -72px; | ||
2431 | } | ||
2432 | |||
2433 | .icon-edit { | ||
2434 | background-position: -96px -72px; | ||
2435 | } | ||
2436 | |||
2437 | .icon-share { | ||
2438 | background-position: -120px -72px; | ||
2439 | } | ||
2440 | |||
2441 | .icon-check { | ||
2442 | background-position: -144px -72px; | ||
2443 | } | ||
2444 | |||
2445 | .icon-move { | ||
2446 | background-position: -168px -72px; | ||
2447 | } | ||
2448 | |||
2449 | .icon-step-backward { | ||
2450 | background-position: -192px -72px; | ||
2451 | } | ||
2452 | |||
2453 | .icon-fast-backward { | ||
2454 | background-position: -216px -72px; | ||
2455 | } | ||
2456 | |||
2457 | .icon-backward { | ||
2458 | background-position: -240px -72px; | ||
2459 | } | ||
2460 | |||
2461 | .icon-play { | ||
2462 | background-position: -264px -72px; | ||
2463 | } | ||
2464 | |||
2465 | .icon-pause { | ||
2466 | background-position: -288px -72px; | ||
2467 | } | ||
2468 | |||
2469 | .icon-stop { | ||
2470 | background-position: -312px -72px; | ||
2471 | } | ||
2472 | |||
2473 | .icon-forward { | ||
2474 | background-position: -336px -72px; | ||
2475 | } | ||
2476 | |||
2477 | .icon-fast-forward { | ||
2478 | background-position: -360px -72px; | ||
2479 | } | ||
2480 | |||
2481 | .icon-step-forward { | ||
2482 | background-position: -384px -72px; | ||
2483 | } | ||
2484 | |||
2485 | .icon-eject { | ||
2486 | background-position: -408px -72px; | ||
2487 | } | ||
2488 | |||
2489 | .icon-chevron-left { | ||
2490 | background-position: -432px -72px; | ||
2491 | } | ||
2492 | |||
2493 | .icon-chevron-right { | ||
2494 | background-position: -456px -72px; | ||
2495 | } | ||
2496 | |||
2497 | .icon-plus-sign { | ||
2498 | background-position: 0 -96px; | ||
2499 | } | ||
2500 | |||
2501 | .icon-minus-sign { | ||
2502 | background-position: -24px -96px; | ||
2503 | } | ||
2504 | |||
2505 | .icon-remove-sign { | ||
2506 | background-position: -48px -96px; | ||
2507 | } | ||
2508 | |||
2509 | .icon-ok-sign { | ||
2510 | background-position: -72px -96px; | ||
2511 | } | ||
2512 | |||
2513 | .icon-question-sign { | ||
2514 | background-position: -96px -96px; | ||
2515 | } | ||
2516 | |||
2517 | .icon-info-sign { | ||
2518 | background-position: -120px -96px; | ||
2519 | } | ||
2520 | |||
2521 | .icon-screenshot { | ||
2522 | background-position: -144px -96px; | ||
2523 | } | ||
2524 | |||
2525 | .icon-remove-circle { | ||
2526 | background-position: -168px -96px; | ||
2527 | } | ||
2528 | |||
2529 | .icon-ok-circle { | ||
2530 | background-position: -192px -96px; | ||
2531 | } | ||
2532 | |||
2533 | .icon-ban-circle { | ||
2534 | background-position: -216px -96px; | ||
2535 | } | ||
2536 | |||
2537 | .icon-arrow-left { | ||
2538 | background-position: -240px -96px; | ||
2539 | } | ||
2540 | |||
2541 | .icon-arrow-right { | ||
2542 | background-position: -264px -96px; | ||
2543 | } | ||
2544 | |||
2545 | .icon-arrow-up { | ||
2546 | background-position: -289px -96px; | ||
2547 | } | ||
2548 | |||
2549 | .icon-arrow-down { | ||
2550 | background-position: -312px -96px; | ||
2551 | } | ||
2552 | |||
2553 | .icon-share-alt { | ||
2554 | background-position: -336px -96px; | ||
2555 | } | ||
2556 | |||
2557 | .icon-resize-full { | ||
2558 | background-position: -360px -96px; | ||
2559 | } | ||
2560 | |||
2561 | .icon-resize-small { | ||
2562 | background-position: -384px -96px; | ||
2563 | } | ||
2564 | |||
2565 | .icon-plus { | ||
2566 | background-position: -408px -96px; | ||
2567 | } | ||
2568 | |||
2569 | .icon-minus { | ||
2570 | background-position: -433px -96px; | ||
2571 | } | ||
2572 | |||
2573 | .icon-asterisk { | ||
2574 | background-position: -456px -96px; | ||
2575 | } | ||
2576 | |||
2577 | .icon-exclamation-sign { | ||
2578 | background-position: 0 -120px; | ||
2579 | } | ||
2580 | |||
2581 | .icon-gift { | ||
2582 | background-position: -24px -120px; | ||
2583 | } | ||
2584 | |||
2585 | .icon-leaf { | ||
2586 | background-position: -48px -120px; | ||
2587 | } | ||
2588 | |||
2589 | .icon-fire { | ||
2590 | background-position: -72px -120px; | ||
2591 | } | ||
2592 | |||
2593 | .icon-eye-open { | ||
2594 | background-position: -96px -120px; | ||
2595 | } | ||
2596 | |||
2597 | .icon-eye-close { | ||
2598 | background-position: -120px -120px; | ||
2599 | } | ||
2600 | |||
2601 | .icon-warning-sign { | ||
2602 | background-position: -144px -120px; | ||
2603 | } | ||
2604 | |||
2605 | .icon-plane { | ||
2606 | background-position: -168px -120px; | ||
2607 | } | ||
2608 | |||
2609 | .icon-calendar { | ||
2610 | background-position: -192px -120px; | ||
2611 | } | ||
2612 | |||
2613 | .icon-random { | ||
2614 | width: 16px; | ||
2615 | background-position: -216px -120px; | ||
2616 | } | ||
2617 | |||
2618 | .icon-comment { | ||
2619 | background-position: -240px -120px; | ||
2620 | } | ||
2621 | |||
2622 | .icon-magnet { | ||
2623 | background-position: -264px -120px; | ||
2624 | } | ||
2625 | |||
2626 | .icon-chevron-up { | ||
2627 | background-position: -288px -120px; | ||
2628 | } | ||
2629 | |||
2630 | .icon-chevron-down { | ||
2631 | background-position: -313px -119px; | ||
2632 | } | ||
2633 | |||
2634 | .icon-retweet { | ||
2635 | background-position: -336px -120px; | ||
2636 | } | ||
2637 | |||
2638 | .icon-shopping-cart { | ||
2639 | background-position: -360px -120px; | ||
2640 | } | ||
2641 | |||
2642 | .icon-folder-close { | ||
2643 | background-position: -384px -120px; | ||
2644 | } | ||
2645 | |||
2646 | .icon-folder-open { | ||
2647 | width: 16px; | ||
2648 | background-position: -408px -120px; | ||
2649 | } | ||
2650 | |||
2651 | .icon-resize-vertical { | ||
2652 | background-position: -432px -119px; | ||
2653 | } | ||
2654 | |||
2655 | .icon-resize-horizontal { | ||
2656 | background-position: -456px -118px; | ||
2657 | } | ||
2658 | |||
2659 | .icon-hdd { | ||
2660 | background-position: 0 -144px; | ||
2661 | } | ||
2662 | |||
2663 | .icon-bullhorn { | ||
2664 | background-position: -24px -144px; | ||
2665 | } | ||
2666 | |||
2667 | .icon-bell { | ||
2668 | background-position: -48px -144px; | ||
2669 | } | ||
2670 | |||
2671 | .icon-certificate { | ||
2672 | background-position: -72px -144px; | ||
2673 | } | ||
2674 | |||
2675 | .icon-thumbs-up { | ||
2676 | background-position: -96px -144px; | ||
2677 | } | ||
2678 | |||
2679 | .icon-thumbs-down { | ||
2680 | background-position: -120px -144px; | ||
2681 | } | ||
2682 | |||
2683 | .icon-hand-right { | ||
2684 | background-position: -144px -144px; | ||
2685 | } | ||
2686 | |||
2687 | .icon-hand-left { | ||
2688 | background-position: -168px -144px; | ||
2689 | } | ||
2690 | |||
2691 | .icon-hand-up { | ||
2692 | background-position: -192px -144px; | ||
2693 | } | ||
2694 | |||
2695 | .icon-hand-down { | ||
2696 | background-position: -216px -144px; | ||
2697 | } | ||
2698 | |||
2699 | .icon-circle-arrow-right { | ||
2700 | background-position: -240px -144px; | ||
2701 | } | ||
2702 | |||
2703 | .icon-circle-arrow-left { | ||
2704 | background-position: -264px -144px; | ||
2705 | } | ||
2706 | |||
2707 | .icon-circle-arrow-up { | ||
2708 | background-position: -288px -144px; | ||
2709 | } | ||
2710 | |||
2711 | .icon-circle-arrow-down { | ||
2712 | background-position: -312px -144px; | ||
2713 | } | ||
2714 | |||
2715 | .icon-globe { | ||
2716 | background-position: -336px -144px; | ||
2717 | } | ||
2718 | |||
2719 | .icon-wrench { | ||
2720 | background-position: -360px -144px; | ||
2721 | } | ||
2722 | |||
2723 | .icon-tasks { | ||
2724 | background-position: -384px -144px; | ||
2725 | } | ||
2726 | |||
2727 | .icon-filter { | ||
2728 | background-position: -408px -144px; | ||
2729 | } | ||
2730 | |||
2731 | .icon-briefcase { | ||
2732 | background-position: -432px -144px; | ||
2733 | } | ||
2734 | |||
2735 | .icon-fullscreen { | ||
2736 | background-position: -456px -144px; | ||
2737 | } | ||
2738 | |||
2739 | .dropup, | ||
2740 | .dropdown { | ||
2741 | position: relative; | ||
2742 | } | ||
2743 | |||
2744 | .dropdown-toggle { | ||
2745 | *margin-bottom: -3px; | ||
2746 | } | ||
2747 | |||
2748 | .dropdown-toggle:active, | ||
2749 | .open .dropdown-toggle { | ||
2750 | outline: 0; | ||
2751 | } | ||
2752 | |||
2753 | .caret { | ||
2754 | display: inline-block; | ||
2755 | width: 0; | ||
2756 | height: 0; | ||
2757 | vertical-align: top; | ||
2758 | border-top: 4px solid #000000; | ||
2759 | border-right: 4px solid transparent; | ||
2760 | border-left: 4px solid transparent; | ||
2761 | content: ""; | ||
2762 | } | ||
2763 | |||
2764 | .dropdown .caret { | ||
2765 | margin-top: 8px; | ||
2766 | margin-left: 2px; | ||
2767 | } | ||
2768 | |||
2769 | .dropdown-menu { | ||
2770 | position: absolute; | ||
2771 | top: 100%; | ||
2772 | left: 0; | ||
2773 | z-index: 1000; | ||
2774 | display: none; | ||
2775 | float: left; | ||
2776 | min-width: 160px; | ||
2777 | padding: 5px 0; | ||
2778 | margin: 2px 0 0; | ||
2779 | list-style: none; | ||
2780 | background-color: #ffffff; | ||
2781 | border: 1px solid #ccc; | ||
2782 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
2783 | *border-right-width: 2px; | ||
2784 | *border-bottom-width: 2px; | ||
2785 | -webkit-border-radius: 6px; | ||
2786 | -moz-border-radius: 6px; | ||
2787 | border-radius: 6px; | ||
2788 | -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
2789 | -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
2790 | box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
2791 | -webkit-background-clip: padding-box; | ||
2792 | -moz-background-clip: padding; | ||
2793 | background-clip: padding-box; | ||
2794 | } | ||
2795 | |||
2796 | .dropdown-menu.pull-right { | ||
2797 | right: 0; | ||
2798 | left: auto; | ||
2799 | } | ||
2800 | |||
2801 | .dropdown-menu .divider { | ||
2802 | *width: 100%; | ||
2803 | height: 1px; | ||
2804 | margin: 9px 1px; | ||
2805 | *margin: -5px 0 5px; | ||
2806 | overflow: hidden; | ||
2807 | background-color: #e5e5e5; | ||
2808 | border-bottom: 1px solid #ffffff; | ||
2809 | } | ||
2810 | |||
2811 | .dropdown-menu li > a { | ||
2812 | display: block; | ||
2813 | padding: 3px 20px; | ||
2814 | clear: both; | ||
2815 | font-weight: normal; | ||
2816 | line-height: 20px; | ||
2817 | color: #333333; | ||
2818 | white-space: nowrap; | ||
2819 | } | ||
2820 | |||
2821 | .dropdown-menu li > a:hover, | ||
2822 | .dropdown-menu li > a:focus, | ||
2823 | .dropdown-submenu:hover > a { | ||
2824 | color: #ffffff; | ||
2825 | text-decoration: none; | ||
2826 | background-color: #0081c2; | ||
2827 | background-image: -moz-linear-gradient(top, #0088cc, #0077b3); | ||
2828 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); | ||
2829 | background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); | ||
2830 | background-image: -o-linear-gradient(top, #0088cc, #0077b3); | ||
2831 | background-image: linear-gradient(to bottom, #0088cc, #0077b3); | ||
2832 | background-repeat: repeat-x; | ||
2833 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); | ||
2834 | } | ||
2835 | |||
2836 | .dropdown-menu .active > a, | ||
2837 | .dropdown-menu .active > a:hover { | ||
2838 | color: #333333; | ||
2839 | text-decoration: none; | ||
2840 | background-color: #0081c2; | ||
2841 | background-image: -moz-linear-gradient(top, #0088cc, #0077b3); | ||
2842 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); | ||
2843 | background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); | ||
2844 | background-image: -o-linear-gradient(top, #0088cc, #0077b3); | ||
2845 | background-image: linear-gradient(to bottom, #0088cc, #0077b3); | ||
2846 | background-repeat: repeat-x; | ||
2847 | outline: 0; | ||
2848 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); | ||
2849 | } | ||
2850 | |||
2851 | .dropdown-menu .disabled > a, | ||
2852 | .dropdown-menu .disabled > a:hover { | ||
2853 | color: #999999; | ||
2854 | } | ||
2855 | |||
2856 | .dropdown-menu .disabled > a:hover { | ||
2857 | text-decoration: none; | ||
2858 | cursor: default; | ||
2859 | background-color: transparent; | ||
2860 | background-image: none; | ||
2861 | } | ||
2862 | |||
2863 | .open { | ||
2864 | *z-index: 1000; | ||
2865 | } | ||
2866 | |||
2867 | .open > .dropdown-menu { | ||
2868 | display: block; | ||
2869 | } | ||
2870 | |||
2871 | .pull-right > .dropdown-menu { | ||
2872 | right: 0; | ||
2873 | left: auto; | ||
2874 | } | ||
2875 | |||
2876 | .dropup .caret, | ||
2877 | .navbar-fixed-bottom .dropdown .caret { | ||
2878 | border-top: 0; | ||
2879 | border-bottom: 4px solid #000000; | ||
2880 | content: ""; | ||
2881 | } | ||
2882 | |||
2883 | .dropup .dropdown-menu, | ||
2884 | .navbar-fixed-bottom .dropdown .dropdown-menu { | ||
2885 | top: auto; | ||
2886 | bottom: 100%; | ||
2887 | margin-bottom: 1px; | ||
2888 | } | ||
2889 | |||
2890 | .dropdown-submenu { | ||
2891 | position: relative; | ||
2892 | } | ||
2893 | |||
2894 | .dropdown-submenu > .dropdown-menu { | ||
2895 | top: 0; | ||
2896 | left: 100%; | ||
2897 | margin-top: -6px; | ||
2898 | margin-left: -1px; | ||
2899 | -webkit-border-radius: 0 6px 6px 6px; | ||
2900 | -moz-border-radius: 0 6px 6px 6px; | ||
2901 | border-radius: 0 6px 6px 6px; | ||
2902 | } | ||
2903 | |||
2904 | .dropdown-submenu:hover > .dropdown-menu { | ||
2905 | display: block; | ||
2906 | } | ||
2907 | |||
2908 | .dropup .dropdown-submenu > .dropdown-menu { | ||
2909 | top: auto; | ||
2910 | bottom: 0; | ||
2911 | margin-top: 0; | ||
2912 | margin-bottom: -2px; | ||
2913 | -webkit-border-radius: 5px 5px 5px 0; | ||
2914 | -moz-border-radius: 5px 5px 5px 0; | ||
2915 | border-radius: 5px 5px 5px 0; | ||
2916 | } | ||
2917 | |||
2918 | .dropdown-submenu > a:after { | ||
2919 | display: block; | ||
2920 | float: right; | ||
2921 | width: 0; | ||
2922 | height: 0; | ||
2923 | margin-top: 5px; | ||
2924 | margin-right: -10px; | ||
2925 | border-color: transparent; | ||
2926 | border-left-color: #cccccc; | ||
2927 | border-style: solid; | ||
2928 | border-width: 5px 0 5px 5px; | ||
2929 | content: " "; | ||
2930 | } | ||
2931 | |||
2932 | .dropdown-submenu:hover > a:after { | ||
2933 | border-left-color: #ffffff; | ||
2934 | } | ||
2935 | |||
2936 | .dropdown-submenu.pull-left { | ||
2937 | float: none; | ||
2938 | } | ||
2939 | |||
2940 | .dropdown-submenu.pull-left > .dropdown-menu { | ||
2941 | left: -100%; | ||
2942 | margin-left: 10px; | ||
2943 | -webkit-border-radius: 6px 0 6px 6px; | ||
2944 | -moz-border-radius: 6px 0 6px 6px; | ||
2945 | border-radius: 6px 0 6px 6px; | ||
2946 | } | ||
2947 | |||
2948 | .dropdown .dropdown-menu .nav-header { | ||
2949 | padding-right: 20px; | ||
2950 | padding-left: 20px; | ||
2951 | } | ||
2952 | |||
2953 | .typeahead { | ||
2954 | margin-top: 2px; | ||
2955 | -webkit-border-radius: 4px; | ||
2956 | -moz-border-radius: 4px; | ||
2957 | border-radius: 4px; | ||
2958 | } | ||
2959 | |||
2960 | .well { | ||
2961 | min-height: 20px; | ||
2962 | padding: 19px; | ||
2963 | margin-bottom: 20px; | ||
2964 | background-color: #f5f5f5; | ||
2965 | border: 1px solid #e3e3e3; | ||
2966 | -webkit-border-radius: 4px; | ||
2967 | -moz-border-radius: 4px; | ||
2968 | border-radius: 4px; | ||
2969 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); | ||
2970 | -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); | ||
2971 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); | ||
2972 | } | ||
2973 | |||
2974 | .well blockquote { | ||
2975 | border-color: #ddd; | ||
2976 | border-color: rgba(0, 0, 0, 0.15); | ||
2977 | } | ||
2978 | |||
2979 | .well-large { | ||
2980 | padding: 24px; | ||
2981 | -webkit-border-radius: 6px; | ||
2982 | -moz-border-radius: 6px; | ||
2983 | border-radius: 6px; | ||
2984 | } | ||
2985 | |||
2986 | .well-small { | ||
2987 | padding: 9px; | ||
2988 | -webkit-border-radius: 3px; | ||
2989 | -moz-border-radius: 3px; | ||
2990 | border-radius: 3px; | ||
2991 | } | ||
2992 | |||
2993 | .fade { | ||
2994 | opacity: 0; | ||
2995 | -webkit-transition: opacity 0.15s linear; | ||
2996 | -moz-transition: opacity 0.15s linear; | ||
2997 | -o-transition: opacity 0.15s linear; | ||
2998 | transition: opacity 0.15s linear; | ||
2999 | } | ||
3000 | |||
3001 | .fade.in { | ||
3002 | opacity: 1; | ||
3003 | } | ||
3004 | |||
3005 | .collapse { | ||
3006 | position: relative; | ||
3007 | height: 0; | ||
3008 | overflow: hidden; | ||
3009 | -webkit-transition: height 0.35s ease; | ||
3010 | -moz-transition: height 0.35s ease; | ||
3011 | -o-transition: height 0.35s ease; | ||
3012 | transition: height 0.35s ease; | ||
3013 | } | ||
3014 | |||
3015 | .collapse.in { | ||
3016 | height: auto; | ||
3017 | } | ||
3018 | |||
3019 | .close { | ||
3020 | float: right; | ||
3021 | font-size: 20px; | ||
3022 | font-weight: bold; | ||
3023 | line-height: 20px; | ||
3024 | color: #000000; | ||
3025 | text-shadow: 0 1px 0 #ffffff; | ||
3026 | opacity: 0.2; | ||
3027 | filter: alpha(opacity=20); | ||
3028 | } | ||
3029 | |||
3030 | .close:hover { | ||
3031 | color: #000000; | ||
3032 | text-decoration: none; | ||
3033 | cursor: pointer; | ||
3034 | opacity: 0.4; | ||
3035 | filter: alpha(opacity=40); | ||
3036 | } | ||
3037 | |||
3038 | button.close { | ||
3039 | padding: 0; | ||
3040 | cursor: pointer; | ||
3041 | background: transparent; | ||
3042 | border: 0; | ||
3043 | -webkit-appearance: none; | ||
3044 | } | ||
3045 | |||
3046 | .btn { | ||
3047 | display: inline-block; | ||
3048 | *display: inline; | ||
3049 | padding: 4px 12px; | ||
3050 | margin-bottom: 0; | ||
3051 | *margin-left: .3em; | ||
3052 | font-size: 14px; | ||
3053 | line-height: 20px; | ||
3054 | *line-height: 20px; | ||
3055 | color: #333333; | ||
3056 | text-align: center; | ||
3057 | text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); | ||
3058 | vertical-align: middle; | ||
3059 | cursor: pointer; | ||
3060 | background-color: #f5f5f5; | ||
3061 | *background-color: #e6e6e6; | ||
3062 | background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); | ||
3063 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); | ||
3064 | background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); | ||
3065 | background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); | ||
3066 | background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); | ||
3067 | background-repeat: repeat-x; | ||
3068 | border: 1px solid #bbbbbb; | ||
3069 | *border: 0; | ||
3070 | border-color: #e6e6e6 #e6e6e6 #bfbfbf; | ||
3071 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3072 | border-bottom-color: #a2a2a2; | ||
3073 | -webkit-border-radius: 4px; | ||
3074 | -moz-border-radius: 4px; | ||
3075 | border-radius: 4px; | ||
3076 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); | ||
3077 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3078 | *zoom: 1; | ||
3079 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3080 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3081 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3082 | } | ||
3083 | |||
3084 | .btn:hover, | ||
3085 | .btn:active, | ||
3086 | .btn.active, | ||
3087 | .btn.disabled, | ||
3088 | .btn[disabled] { | ||
3089 | color: #333333; | ||
3090 | background-color: #e6e6e6; | ||
3091 | *background-color: #d9d9d9; | ||
3092 | } | ||
3093 | |||
3094 | .btn:active, | ||
3095 | .btn.active { | ||
3096 | background-color: #cccccc \9; | ||
3097 | } | ||
3098 | |||
3099 | .btn:first-child { | ||
3100 | *margin-left: 0; | ||
3101 | } | ||
3102 | |||
3103 | .btn:hover { | ||
3104 | color: #333333; | ||
3105 | text-decoration: none; | ||
3106 | background-color: #e6e6e6; | ||
3107 | *background-color: #d9d9d9; | ||
3108 | /* Buttons in IE7 don't get borders, so darken on hover */ | ||
3109 | |||
3110 | background-position: 0 -15px; | ||
3111 | -webkit-transition: background-position 0.1s linear; | ||
3112 | -moz-transition: background-position 0.1s linear; | ||
3113 | -o-transition: background-position 0.1s linear; | ||
3114 | transition: background-position 0.1s linear; | ||
3115 | } | ||
3116 | |||
3117 | .btn:focus { | ||
3118 | outline: thin dotted #333; | ||
3119 | outline: 5px auto -webkit-focus-ring-color; | ||
3120 | outline-offset: -2px; | ||
3121 | } | ||
3122 | |||
3123 | .btn.active, | ||
3124 | .btn:active { | ||
3125 | background-color: #e6e6e6; | ||
3126 | background-color: #d9d9d9 \9; | ||
3127 | background-image: none; | ||
3128 | outline: 0; | ||
3129 | -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3130 | -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3131 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3132 | } | ||
3133 | |||
3134 | .btn.disabled, | ||
3135 | .btn[disabled] { | ||
3136 | cursor: default; | ||
3137 | background-color: #e6e6e6; | ||
3138 | background-image: none; | ||
3139 | opacity: 0.65; | ||
3140 | filter: alpha(opacity=65); | ||
3141 | -webkit-box-shadow: none; | ||
3142 | -moz-box-shadow: none; | ||
3143 | box-shadow: none; | ||
3144 | } | ||
3145 | |||
3146 | .btn-large { | ||
3147 | padding: 11px 19px; | ||
3148 | font-size: 17.5px; | ||
3149 | -webkit-border-radius: 6px; | ||
3150 | -moz-border-radius: 6px; | ||
3151 | border-radius: 6px; | ||
3152 | } | ||
3153 | |||
3154 | .btn-large [class^="icon-"], | ||
3155 | .btn-large [class*=" icon-"] { | ||
3156 | margin-top: 2px; | ||
3157 | } | ||
3158 | |||
3159 | .btn-small { | ||
3160 | padding: 2px 10px; | ||
3161 | font-size: 11.9px; | ||
3162 | -webkit-border-radius: 3px; | ||
3163 | -moz-border-radius: 3px; | ||
3164 | border-radius: 3px; | ||
3165 | } | ||
3166 | |||
3167 | .btn-small [class^="icon-"], | ||
3168 | .btn-small [class*=" icon-"] { | ||
3169 | margin-top: 0; | ||
3170 | } | ||
3171 | |||
3172 | .btn-mini { | ||
3173 | padding: 1px 6px; | ||
3174 | font-size: 10.5px; | ||
3175 | -webkit-border-radius: 3px; | ||
3176 | -moz-border-radius: 3px; | ||
3177 | border-radius: 3px; | ||
3178 | } | ||
3179 | |||
3180 | .btn-block { | ||
3181 | display: block; | ||
3182 | width: 100%; | ||
3183 | padding-right: 0; | ||
3184 | padding-left: 0; | ||
3185 | -webkit-box-sizing: border-box; | ||
3186 | -moz-box-sizing: border-box; | ||
3187 | box-sizing: border-box; | ||
3188 | } | ||
3189 | |||
3190 | .btn-block + .btn-block { | ||
3191 | margin-top: 5px; | ||
3192 | } | ||
3193 | |||
3194 | input[type="submit"].btn-block, | ||
3195 | input[type="reset"].btn-block, | ||
3196 | input[type="button"].btn-block { | ||
3197 | width: 100%; | ||
3198 | } | ||
3199 | |||
3200 | .btn-primary.active, | ||
3201 | .btn-warning.active, | ||
3202 | .btn-danger.active, | ||
3203 | .btn-success.active, | ||
3204 | .btn-info.active, | ||
3205 | .btn-inverse.active { | ||
3206 | color: rgba(255, 255, 255, 0.75); | ||
3207 | } | ||
3208 | |||
3209 | .btn { | ||
3210 | border-color: #c5c5c5; | ||
3211 | border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25); | ||
3212 | } | ||
3213 | |||
3214 | .btn-primary { | ||
3215 | color: #ffffff; | ||
3216 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
3217 | background-color: #006dcc; | ||
3218 | *background-color: #0044cc; | ||
3219 | background-image: -moz-linear-gradient(top, #0088cc, #0044cc); | ||
3220 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); | ||
3221 | background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); | ||
3222 | background-image: -o-linear-gradient(top, #0088cc, #0044cc); | ||
3223 | background-image: linear-gradient(to bottom, #0088cc, #0044cc); | ||
3224 | background-repeat: repeat-x; | ||
3225 | border-color: #0044cc #0044cc #002a80; | ||
3226 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3227 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0); | ||
3228 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3229 | } | ||
3230 | |||
3231 | .btn-primary:hover, | ||
3232 | .btn-primary:active, | ||
3233 | .btn-primary.active, | ||
3234 | .btn-primary.disabled, | ||
3235 | .btn-primary[disabled] { | ||
3236 | color: #ffffff; | ||
3237 | background-color: #0044cc; | ||
3238 | *background-color: #003bb3; | ||
3239 | } | ||
3240 | |||
3241 | .btn-primary:active, | ||
3242 | .btn-primary.active { | ||
3243 | background-color: #003399 \9; | ||
3244 | } | ||
3245 | |||
3246 | .btn-warning { | ||
3247 | color: #ffffff; | ||
3248 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
3249 | background-color: #faa732; | ||
3250 | *background-color: #f89406; | ||
3251 | background-image: -moz-linear-gradient(top, #fbb450, #f89406); | ||
3252 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); | ||
3253 | background-image: -webkit-linear-gradient(top, #fbb450, #f89406); | ||
3254 | background-image: -o-linear-gradient(top, #fbb450, #f89406); | ||
3255 | background-image: linear-gradient(to bottom, #fbb450, #f89406); | ||
3256 | background-repeat: repeat-x; | ||
3257 | border-color: #f89406 #f89406 #ad6704; | ||
3258 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3259 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); | ||
3260 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3261 | } | ||
3262 | |||
3263 | .btn-warning:hover, | ||
3264 | .btn-warning:active, | ||
3265 | .btn-warning.active, | ||
3266 | .btn-warning.disabled, | ||
3267 | .btn-warning[disabled] { | ||
3268 | color: #ffffff; | ||
3269 | background-color: #f89406; | ||
3270 | *background-color: #df8505; | ||
3271 | } | ||
3272 | |||
3273 | .btn-warning:active, | ||
3274 | .btn-warning.active { | ||
3275 | background-color: #c67605 \9; | ||
3276 | } | ||
3277 | |||
3278 | .btn-danger { | ||
3279 | color: #ffffff; | ||
3280 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
3281 | background-color: #da4f49; | ||
3282 | *background-color: #bd362f; | ||
3283 | background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); | ||
3284 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); | ||
3285 | background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); | ||
3286 | background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); | ||
3287 | background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); | ||
3288 | background-repeat: repeat-x; | ||
3289 | border-color: #bd362f #bd362f #802420; | ||
3290 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3291 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); | ||
3292 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3293 | } | ||
3294 | |||
3295 | .btn-danger:hover, | ||
3296 | .btn-danger:active, | ||
3297 | .btn-danger.active, | ||
3298 | .btn-danger.disabled, | ||
3299 | .btn-danger[disabled] { | ||
3300 | color: #ffffff; | ||
3301 | background-color: #bd362f; | ||
3302 | *background-color: #a9302a; | ||
3303 | } | ||
3304 | |||
3305 | .btn-danger:active, | ||
3306 | .btn-danger.active { | ||
3307 | background-color: #942a25 \9; | ||
3308 | } | ||
3309 | |||
3310 | .btn-success { | ||
3311 | color: #ffffff; | ||
3312 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
3313 | background-color: #5bb75b; | ||
3314 | *background-color: #51a351; | ||
3315 | background-image: -moz-linear-gradient(top, #62c462, #51a351); | ||
3316 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); | ||
3317 | background-image: -webkit-linear-gradient(top, #62c462, #51a351); | ||
3318 | background-image: -o-linear-gradient(top, #62c462, #51a351); | ||
3319 | background-image: linear-gradient(to bottom, #62c462, #51a351); | ||
3320 | background-repeat: repeat-x; | ||
3321 | border-color: #51a351 #51a351 #387038; | ||
3322 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3323 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); | ||
3324 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3325 | } | ||
3326 | |||
3327 | .btn-success:hover, | ||
3328 | .btn-success:active, | ||
3329 | .btn-success.active, | ||
3330 | .btn-success.disabled, | ||
3331 | .btn-success[disabled] { | ||
3332 | color: #ffffff; | ||
3333 | background-color: #51a351; | ||
3334 | *background-color: #499249; | ||
3335 | } | ||
3336 | |||
3337 | .btn-success:active, | ||
3338 | .btn-success.active { | ||
3339 | background-color: #408140 \9; | ||
3340 | } | ||
3341 | |||
3342 | .btn-info { | ||
3343 | color: #ffffff; | ||
3344 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
3345 | background-color: #49afcd; | ||
3346 | *background-color: #2f96b4; | ||
3347 | background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); | ||
3348 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); | ||
3349 | background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); | ||
3350 | background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); | ||
3351 | background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); | ||
3352 | background-repeat: repeat-x; | ||
3353 | border-color: #2f96b4 #2f96b4 #1f6377; | ||
3354 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3355 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); | ||
3356 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3357 | } | ||
3358 | |||
3359 | .btn-info:hover, | ||
3360 | .btn-info:active, | ||
3361 | .btn-info.active, | ||
3362 | .btn-info.disabled, | ||
3363 | .btn-info[disabled] { | ||
3364 | color: #ffffff; | ||
3365 | background-color: #2f96b4; | ||
3366 | *background-color: #2a85a0; | ||
3367 | } | ||
3368 | |||
3369 | .btn-info:active, | ||
3370 | .btn-info.active { | ||
3371 | background-color: #24748c \9; | ||
3372 | } | ||
3373 | |||
3374 | .btn-inverse { | ||
3375 | color: #ffffff; | ||
3376 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
3377 | background-color: #363636; | ||
3378 | *background-color: #222222; | ||
3379 | background-image: -moz-linear-gradient(top, #444444, #222222); | ||
3380 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222)); | ||
3381 | background-image: -webkit-linear-gradient(top, #444444, #222222); | ||
3382 | background-image: -o-linear-gradient(top, #444444, #222222); | ||
3383 | background-image: linear-gradient(to bottom, #444444, #222222); | ||
3384 | background-repeat: repeat-x; | ||
3385 | border-color: #222222 #222222 #000000; | ||
3386 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
3387 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0); | ||
3388 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
3389 | } | ||
3390 | |||
3391 | .btn-inverse:hover, | ||
3392 | .btn-inverse:active, | ||
3393 | .btn-inverse.active, | ||
3394 | .btn-inverse.disabled, | ||
3395 | .btn-inverse[disabled] { | ||
3396 | color: #ffffff; | ||
3397 | background-color: #222222; | ||
3398 | *background-color: #151515; | ||
3399 | } | ||
3400 | |||
3401 | .btn-inverse:active, | ||
3402 | .btn-inverse.active { | ||
3403 | background-color: #080808 \9; | ||
3404 | } | ||
3405 | |||
3406 | button.btn, | ||
3407 | input[type="submit"].btn { | ||
3408 | *padding-top: 3px; | ||
3409 | *padding-bottom: 3px; | ||
3410 | } | ||
3411 | |||
3412 | button.btn::-moz-focus-inner, | ||
3413 | input[type="submit"].btn::-moz-focus-inner { | ||
3414 | padding: 0; | ||
3415 | border: 0; | ||
3416 | } | ||
3417 | |||
3418 | button.btn.btn-large, | ||
3419 | input[type="submit"].btn.btn-large { | ||
3420 | *padding-top: 7px; | ||
3421 | *padding-bottom: 7px; | ||
3422 | } | ||
3423 | |||
3424 | button.btn.btn-small, | ||
3425 | input[type="submit"].btn.btn-small { | ||
3426 | *padding-top: 3px; | ||
3427 | *padding-bottom: 3px; | ||
3428 | } | ||
3429 | |||
3430 | button.btn.btn-mini, | ||
3431 | input[type="submit"].btn.btn-mini { | ||
3432 | *padding-top: 1px; | ||
3433 | *padding-bottom: 1px; | ||
3434 | } | ||
3435 | |||
3436 | .btn-link, | ||
3437 | .btn-link:active, | ||
3438 | .btn-link[disabled] { | ||
3439 | background-color: transparent; | ||
3440 | background-image: none; | ||
3441 | -webkit-box-shadow: none; | ||
3442 | -moz-box-shadow: none; | ||
3443 | box-shadow: none; | ||
3444 | } | ||
3445 | |||
3446 | .btn-link { | ||
3447 | color: #0088cc; | ||
3448 | cursor: pointer; | ||
3449 | border-color: transparent; | ||
3450 | -webkit-border-radius: 0; | ||
3451 | -moz-border-radius: 0; | ||
3452 | border-radius: 0; | ||
3453 | } | ||
3454 | |||
3455 | .btn-link:hover { | ||
3456 | color: #005580; | ||
3457 | text-decoration: underline; | ||
3458 | background-color: transparent; | ||
3459 | } | ||
3460 | |||
3461 | .btn-link[disabled]:hover { | ||
3462 | color: #333333; | ||
3463 | text-decoration: none; | ||
3464 | } | ||
3465 | |||
3466 | .btn-group { | ||
3467 | position: relative; | ||
3468 | display: inline-block; | ||
3469 | *display: inline; | ||
3470 | *margin-left: .3em; | ||
3471 | font-size: 0; | ||
3472 | white-space: nowrap; | ||
3473 | vertical-align: middle; | ||
3474 | *zoom: 1; | ||
3475 | } | ||
3476 | |||
3477 | .btn-group:first-child { | ||
3478 | *margin-left: 0; | ||
3479 | } | ||
3480 | |||
3481 | .btn-group + .btn-group { | ||
3482 | margin-left: 5px; | ||
3483 | } | ||
3484 | |||
3485 | .btn-toolbar { | ||
3486 | margin-top: 10px; | ||
3487 | margin-bottom: 10px; | ||
3488 | font-size: 0; | ||
3489 | } | ||
3490 | |||
3491 | .btn-toolbar .btn + .btn, | ||
3492 | .btn-toolbar .btn-group + .btn, | ||
3493 | .btn-toolbar .btn + .btn-group { | ||
3494 | margin-left: 5px; | ||
3495 | } | ||
3496 | |||
3497 | .btn-group > .btn { | ||
3498 | position: relative; | ||
3499 | -webkit-border-radius: 0; | ||
3500 | -moz-border-radius: 0; | ||
3501 | border-radius: 0; | ||
3502 | } | ||
3503 | |||
3504 | .btn-group > .btn + .btn { | ||
3505 | margin-left: -1px; | ||
3506 | } | ||
3507 | |||
3508 | .btn-group > .btn, | ||
3509 | .btn-group > .dropdown-menu { | ||
3510 | font-size: 14px; | ||
3511 | } | ||
3512 | |||
3513 | .btn-group > .btn-mini { | ||
3514 | font-size: 11px; | ||
3515 | } | ||
3516 | |||
3517 | .btn-group > .btn-small { | ||
3518 | font-size: 12px; | ||
3519 | } | ||
3520 | |||
3521 | .btn-group > .btn-large { | ||
3522 | font-size: 16px; | ||
3523 | } | ||
3524 | |||
3525 | .btn-group > .btn:first-child { | ||
3526 | margin-left: 0; | ||
3527 | -webkit-border-bottom-left-radius: 4px; | ||
3528 | border-bottom-left-radius: 4px; | ||
3529 | -webkit-border-top-left-radius: 4px; | ||
3530 | border-top-left-radius: 4px; | ||
3531 | -moz-border-radius-bottomleft: 4px; | ||
3532 | -moz-border-radius-topleft: 4px; | ||
3533 | } | ||
3534 | |||
3535 | .btn-group > .btn:last-child, | ||
3536 | .btn-group > .dropdown-toggle { | ||
3537 | -webkit-border-top-right-radius: 4px; | ||
3538 | border-top-right-radius: 4px; | ||
3539 | -webkit-border-bottom-right-radius: 4px; | ||
3540 | border-bottom-right-radius: 4px; | ||
3541 | -moz-border-radius-topright: 4px; | ||
3542 | -moz-border-radius-bottomright: 4px; | ||
3543 | } | ||
3544 | |||
3545 | .btn-group > .btn.large:first-child { | ||
3546 | margin-left: 0; | ||
3547 | -webkit-border-bottom-left-radius: 6px; | ||
3548 | border-bottom-left-radius: 6px; | ||
3549 | -webkit-border-top-left-radius: 6px; | ||
3550 | border-top-left-radius: 6px; | ||
3551 | -moz-border-radius-bottomleft: 6px; | ||
3552 | -moz-border-radius-topleft: 6px; | ||
3553 | } | ||
3554 | |||
3555 | .btn-group > .btn.large:last-child, | ||
3556 | .btn-group > .large.dropdown-toggle { | ||
3557 | -webkit-border-top-right-radius: 6px; | ||
3558 | border-top-right-radius: 6px; | ||
3559 | -webkit-border-bottom-right-radius: 6px; | ||
3560 | border-bottom-right-radius: 6px; | ||
3561 | -moz-border-radius-topright: 6px; | ||
3562 | -moz-border-radius-bottomright: 6px; | ||
3563 | } | ||
3564 | |||
3565 | .btn-group > .btn:hover, | ||
3566 | .btn-group > .btn:focus, | ||
3567 | .btn-group > .btn:active, | ||
3568 | .btn-group > .btn.active { | ||
3569 | z-index: 2; | ||
3570 | } | ||
3571 | |||
3572 | .btn-group .dropdown-toggle:active, | ||
3573 | .btn-group.open .dropdown-toggle { | ||
3574 | outline: 0; | ||
3575 | } | ||
3576 | |||
3577 | .btn-group > .btn + .dropdown-toggle { | ||
3578 | *padding-top: 5px; | ||
3579 | padding-right: 8px; | ||
3580 | *padding-bottom: 5px; | ||
3581 | padding-left: 8px; | ||
3582 | -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3583 | -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3584 | box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3585 | } | ||
3586 | |||
3587 | .btn-group > .btn-mini + .dropdown-toggle { | ||
3588 | *padding-top: 2px; | ||
3589 | padding-right: 5px; | ||
3590 | *padding-bottom: 2px; | ||
3591 | padding-left: 5px; | ||
3592 | } | ||
3593 | |||
3594 | .btn-group > .btn-small + .dropdown-toggle { | ||
3595 | *padding-top: 5px; | ||
3596 | *padding-bottom: 4px; | ||
3597 | } | ||
3598 | |||
3599 | .btn-group > .btn-large + .dropdown-toggle { | ||
3600 | *padding-top: 7px; | ||
3601 | padding-right: 12px; | ||
3602 | *padding-bottom: 7px; | ||
3603 | padding-left: 12px; | ||
3604 | } | ||
3605 | |||
3606 | .btn-group.open .dropdown-toggle { | ||
3607 | background-image: none; | ||
3608 | -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3609 | -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3610 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); | ||
3611 | } | ||
3612 | |||
3613 | .btn-group.open .btn.dropdown-toggle { | ||
3614 | background-color: #e6e6e6; | ||
3615 | } | ||
3616 | |||
3617 | .btn-group.open .btn-primary.dropdown-toggle { | ||
3618 | background-color: #0044cc; | ||
3619 | } | ||
3620 | |||
3621 | .btn-group.open .btn-warning.dropdown-toggle { | ||
3622 | background-color: #f89406; | ||
3623 | } | ||
3624 | |||
3625 | .btn-group.open .btn-danger.dropdown-toggle { | ||
3626 | background-color: #bd362f; | ||
3627 | } | ||
3628 | |||
3629 | .btn-group.open .btn-success.dropdown-toggle { | ||
3630 | background-color: #51a351; | ||
3631 | } | ||
3632 | |||
3633 | .btn-group.open .btn-info.dropdown-toggle { | ||
3634 | background-color: #2f96b4; | ||
3635 | } | ||
3636 | |||
3637 | .btn-group.open .btn-inverse.dropdown-toggle { | ||
3638 | background-color: #222222; | ||
3639 | } | ||
3640 | |||
3641 | .btn .caret { | ||
3642 | margin-top: 8px; | ||
3643 | margin-left: 0; | ||
3644 | } | ||
3645 | |||
3646 | .btn-mini .caret, | ||
3647 | .btn-small .caret, | ||
3648 | .btn-large .caret { | ||
3649 | margin-top: 6px; | ||
3650 | } | ||
3651 | |||
3652 | .btn-large .caret { | ||
3653 | border-top-width: 5px; | ||
3654 | border-right-width: 5px; | ||
3655 | border-left-width: 5px; | ||
3656 | } | ||
3657 | |||
3658 | .dropup .btn-large .caret { | ||
3659 | border-bottom-width: 5px; | ||
3660 | } | ||
3661 | |||
3662 | .btn-primary .caret, | ||
3663 | .btn-warning .caret, | ||
3664 | .btn-danger .caret, | ||
3665 | .btn-info .caret, | ||
3666 | .btn-success .caret, | ||
3667 | .btn-inverse .caret { | ||
3668 | border-top-color: #ffffff; | ||
3669 | border-bottom-color: #ffffff; | ||
3670 | } | ||
3671 | |||
3672 | .btn-group-vertical { | ||
3673 | display: inline-block; | ||
3674 | *display: inline; | ||
3675 | /* IE7 inline-block hack */ | ||
3676 | |||
3677 | *zoom: 1; | ||
3678 | } | ||
3679 | |||
3680 | .btn-group-vertical .btn { | ||
3681 | display: block; | ||
3682 | float: none; | ||
3683 | width: 100%; | ||
3684 | -webkit-border-radius: 0; | ||
3685 | -moz-border-radius: 0; | ||
3686 | border-radius: 0; | ||
3687 | } | ||
3688 | |||
3689 | .btn-group-vertical .btn + .btn { | ||
3690 | margin-top: -1px; | ||
3691 | margin-left: 0; | ||
3692 | } | ||
3693 | |||
3694 | .btn-group-vertical .btn:first-child { | ||
3695 | -webkit-border-radius: 4px 4px 0 0; | ||
3696 | -moz-border-radius: 4px 4px 0 0; | ||
3697 | border-radius: 4px 4px 0 0; | ||
3698 | } | ||
3699 | |||
3700 | .btn-group-vertical .btn:last-child { | ||
3701 | -webkit-border-radius: 0 0 4px 4px; | ||
3702 | -moz-border-radius: 0 0 4px 4px; | ||
3703 | border-radius: 0 0 4px 4px; | ||
3704 | } | ||
3705 | |||
3706 | .btn-group-vertical .btn-large:first-child { | ||
3707 | -webkit-border-radius: 6px 6px 0 0; | ||
3708 | -moz-border-radius: 6px 6px 0 0; | ||
3709 | border-radius: 6px 6px 0 0; | ||
3710 | } | ||
3711 | |||
3712 | .btn-group-vertical .btn-large:last-child { | ||
3713 | -webkit-border-radius: 0 0 6px 6px; | ||
3714 | -moz-border-radius: 0 0 6px 6px; | ||
3715 | border-radius: 0 0 6px 6px; | ||
3716 | } | ||
3717 | |||
3718 | .alert { | ||
3719 | padding: 8px 35px 8px 14px; | ||
3720 | margin-bottom: 20px; | ||
3721 | color: #c09853; | ||
3722 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | ||
3723 | background-color: #fcf8e3; | ||
3724 | border: 1px solid #fbeed5; | ||
3725 | -webkit-border-radius: 4px; | ||
3726 | -moz-border-radius: 4px; | ||
3727 | border-radius: 4px; | ||
3728 | } | ||
3729 | |||
3730 | .alert h4 { | ||
3731 | margin: 0; | ||
3732 | } | ||
3733 | |||
3734 | .alert .close { | ||
3735 | position: relative; | ||
3736 | top: -2px; | ||
3737 | right: -21px; | ||
3738 | line-height: 20px; | ||
3739 | } | ||
3740 | |||
3741 | .alert-success { | ||
3742 | color: #468847; | ||
3743 | background-color: #dff0d8; | ||
3744 | border-color: #d6e9c6; | ||
3745 | } | ||
3746 | |||
3747 | .alert-danger, | ||
3748 | .alert-error { | ||
3749 | color: #b94a48; | ||
3750 | background-color: #f2dede; | ||
3751 | border-color: #eed3d7; | ||
3752 | } | ||
3753 | |||
3754 | .alert-info { | ||
3755 | color: #3a87ad; | ||
3756 | background-color: #d9edf7; | ||
3757 | border-color: #bce8f1; | ||
3758 | } | ||
3759 | |||
3760 | .alert-block { | ||
3761 | padding-top: 14px; | ||
3762 | padding-bottom: 14px; | ||
3763 | } | ||
3764 | |||
3765 | .alert-block > p, | ||
3766 | .alert-block > ul { | ||
3767 | margin-bottom: 0; | ||
3768 | } | ||
3769 | |||
3770 | .alert-block p + p { | ||
3771 | margin-top: 5px; | ||
3772 | } | ||
3773 | |||
3774 | .nav { | ||
3775 | margin-bottom: 20px; | ||
3776 | margin-left: 0; | ||
3777 | list-style: none; | ||
3778 | } | ||
3779 | |||
3780 | .nav > li > a { | ||
3781 | display: block; | ||
3782 | } | ||
3783 | |||
3784 | .nav > li > a:hover { | ||
3785 | text-decoration: none; | ||
3786 | background-color: #eeeeee; | ||
3787 | } | ||
3788 | |||
3789 | .nav > .pull-right { | ||
3790 | float: right; | ||
3791 | } | ||
3792 | |||
3793 | .nav-header { | ||
3794 | display: block; | ||
3795 | padding: 3px 15px; | ||
3796 | font-size: 11px; | ||
3797 | font-weight: bold; | ||
3798 | line-height: 20px; | ||
3799 | color: #999999; | ||
3800 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | ||
3801 | text-transform: uppercase; | ||
3802 | } | ||
3803 | |||
3804 | .nav li + .nav-header { | ||
3805 | margin-top: 9px; | ||
3806 | } | ||
3807 | |||
3808 | .nav-list { | ||
3809 | padding-right: 15px; | ||
3810 | padding-left: 15px; | ||
3811 | margin-bottom: 0; | ||
3812 | } | ||
3813 | |||
3814 | .nav-list > li > a, | ||
3815 | .nav-list .nav-header { | ||
3816 | margin-right: -15px; | ||
3817 | margin-left: -15px; | ||
3818 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | ||
3819 | } | ||
3820 | |||
3821 | .nav-list > li > a { | ||
3822 | padding: 3px 15px; | ||
3823 | } | ||
3824 | |||
3825 | .nav-list > .active > a, | ||
3826 | .nav-list > .active > a:hover { | ||
3827 | color: #ffffff; | ||
3828 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
3829 | background-color: #0088cc; | ||
3830 | } | ||
3831 | |||
3832 | .nav-list [class^="icon-"], | ||
3833 | .nav-list [class*=" icon-"] { | ||
3834 | margin-right: 2px; | ||
3835 | } | ||
3836 | |||
3837 | .nav-list .divider { | ||
3838 | *width: 100%; | ||
3839 | height: 1px; | ||
3840 | margin: 9px 1px; | ||
3841 | *margin: -5px 0 5px; | ||
3842 | overflow: hidden; | ||
3843 | background-color: #e5e5e5; | ||
3844 | border-bottom: 1px solid #ffffff; | ||
3845 | } | ||
3846 | |||
3847 | .nav-tabs, | ||
3848 | .nav-pills { | ||
3849 | *zoom: 1; | ||
3850 | } | ||
3851 | |||
3852 | .nav-tabs:before, | ||
3853 | .nav-pills:before, | ||
3854 | .nav-tabs:after, | ||
3855 | .nav-pills:after { | ||
3856 | display: table; | ||
3857 | line-height: 0; | ||
3858 | content: ""; | ||
3859 | } | ||
3860 | |||
3861 | .nav-tabs:after, | ||
3862 | .nav-pills:after { | ||
3863 | clear: both; | ||
3864 | } | ||
3865 | |||
3866 | .nav-tabs > li, | ||
3867 | .nav-pills > li { | ||
3868 | float: left; | ||
3869 | } | ||
3870 | |||
3871 | .nav-tabs > li > a, | ||
3872 | .nav-pills > li > a { | ||
3873 | padding-right: 12px; | ||
3874 | padding-left: 12px; | ||
3875 | margin-right: 2px; | ||
3876 | line-height: 14px; | ||
3877 | } | ||
3878 | |||
3879 | .nav-tabs { | ||
3880 | border-bottom: 1px solid #ddd; | ||
3881 | } | ||
3882 | |||
3883 | .nav-tabs > li { | ||
3884 | margin-bottom: -1px; | ||
3885 | } | ||
3886 | |||
3887 | .nav-tabs > li > a { | ||
3888 | padding-top: 8px; | ||
3889 | padding-bottom: 8px; | ||
3890 | line-height: 20px; | ||
3891 | border: 1px solid transparent; | ||
3892 | -webkit-border-radius: 4px 4px 0 0; | ||
3893 | -moz-border-radius: 4px 4px 0 0; | ||
3894 | border-radius: 4px 4px 0 0; | ||
3895 | } | ||
3896 | |||
3897 | .nav-tabs > li > a:hover { | ||
3898 | border-color: #eeeeee #eeeeee #dddddd; | ||
3899 | } | ||
3900 | |||
3901 | .nav-tabs > .active > a, | ||
3902 | .nav-tabs > .active > a:hover { | ||
3903 | color: #555555; | ||
3904 | cursor: default; | ||
3905 | background-color: #ffffff; | ||
3906 | border: 1px solid #ddd; | ||
3907 | border-bottom-color: transparent; | ||
3908 | } | ||
3909 | |||
3910 | .nav-pills > li > a { | ||
3911 | padding-top: 8px; | ||
3912 | padding-bottom: 8px; | ||
3913 | margin-top: 2px; | ||
3914 | margin-bottom: 2px; | ||
3915 | -webkit-border-radius: 5px; | ||
3916 | -moz-border-radius: 5px; | ||
3917 | border-radius: 5px; | ||
3918 | } | ||
3919 | |||
3920 | .nav-pills > .active > a, | ||
3921 | .nav-pills > .active > a:hover { | ||
3922 | color: #ffffff; | ||
3923 | background-color: #0088cc; | ||
3924 | } | ||
3925 | |||
3926 | .nav-stacked > li { | ||
3927 | float: none; | ||
3928 | } | ||
3929 | |||
3930 | .nav-stacked > li > a { | ||
3931 | margin-right: 0; | ||
3932 | } | ||
3933 | |||
3934 | .nav-tabs.nav-stacked { | ||
3935 | border-bottom: 0; | ||
3936 | } | ||
3937 | |||
3938 | .nav-tabs.nav-stacked > li > a { | ||
3939 | border: 1px solid #ddd; | ||
3940 | -webkit-border-radius: 0; | ||
3941 | -moz-border-radius: 0; | ||
3942 | border-radius: 0; | ||
3943 | } | ||
3944 | |||
3945 | .nav-tabs.nav-stacked > li:first-child > a { | ||
3946 | -webkit-border-top-right-radius: 4px; | ||
3947 | border-top-right-radius: 4px; | ||
3948 | -webkit-border-top-left-radius: 4px; | ||
3949 | border-top-left-radius: 4px; | ||
3950 | -moz-border-radius-topright: 4px; | ||
3951 | -moz-border-radius-topleft: 4px; | ||
3952 | } | ||
3953 | |||
3954 | .nav-tabs.nav-stacked > li:last-child > a { | ||
3955 | -webkit-border-bottom-right-radius: 4px; | ||
3956 | border-bottom-right-radius: 4px; | ||
3957 | -webkit-border-bottom-left-radius: 4px; | ||
3958 | border-bottom-left-radius: 4px; | ||
3959 | -moz-border-radius-bottomright: 4px; | ||
3960 | -moz-border-radius-bottomleft: 4px; | ||
3961 | } | ||
3962 | |||
3963 | .nav-tabs.nav-stacked > li > a:hover { | ||
3964 | z-index: 2; | ||
3965 | border-color: #ddd; | ||
3966 | } | ||
3967 | |||
3968 | .nav-pills.nav-stacked > li > a { | ||
3969 | margin-bottom: 3px; | ||
3970 | } | ||
3971 | |||
3972 | .nav-pills.nav-stacked > li:last-child > a { | ||
3973 | margin-bottom: 1px; | ||
3974 | } | ||
3975 | |||
3976 | .nav-tabs .dropdown-menu { | ||
3977 | -webkit-border-radius: 0 0 6px 6px; | ||
3978 | -moz-border-radius: 0 0 6px 6px; | ||
3979 | border-radius: 0 0 6px 6px; | ||
3980 | } | ||
3981 | |||
3982 | .nav-pills .dropdown-menu { | ||
3983 | -webkit-border-radius: 6px; | ||
3984 | -moz-border-radius: 6px; | ||
3985 | border-radius: 6px; | ||
3986 | } | ||
3987 | |||
3988 | .nav .dropdown-toggle .caret { | ||
3989 | margin-top: 6px; | ||
3990 | border-top-color: #0088cc; | ||
3991 | border-bottom-color: #0088cc; | ||
3992 | } | ||
3993 | |||
3994 | .nav .dropdown-toggle:hover .caret { | ||
3995 | border-top-color: #005580; | ||
3996 | border-bottom-color: #005580; | ||
3997 | } | ||
3998 | |||
3999 | /* move down carets for tabs */ | ||
4000 | |||
4001 | .nav-tabs .dropdown-toggle .caret { | ||
4002 | margin-top: 8px; | ||
4003 | } | ||
4004 | |||
4005 | .nav .active .dropdown-toggle .caret { | ||
4006 | border-top-color: #fff; | ||
4007 | border-bottom-color: #fff; | ||
4008 | } | ||
4009 | |||
4010 | .nav-tabs .active .dropdown-toggle .caret { | ||
4011 | border-top-color: #555555; | ||
4012 | border-bottom-color: #555555; | ||
4013 | } | ||
4014 | |||
4015 | .nav > .dropdown.active > a:hover { | ||
4016 | cursor: pointer; | ||
4017 | } | ||
4018 | |||
4019 | .nav-tabs .open .dropdown-toggle, | ||
4020 | .nav-pills .open .dropdown-toggle, | ||
4021 | .nav > li.dropdown.open.active > a:hover { | ||
4022 | color: #ffffff; | ||
4023 | background-color: #999999; | ||
4024 | border-color: #999999; | ||
4025 | } | ||
4026 | |||
4027 | .nav li.dropdown.open .caret, | ||
4028 | .nav li.dropdown.open.active .caret, | ||
4029 | .nav li.dropdown.open a:hover .caret { | ||
4030 | border-top-color: #ffffff; | ||
4031 | border-bottom-color: #ffffff; | ||
4032 | opacity: 1; | ||
4033 | filter: alpha(opacity=100); | ||
4034 | } | ||
4035 | |||
4036 | .tabs-stacked .open > a:hover { | ||
4037 | border-color: #999999; | ||
4038 | } | ||
4039 | |||
4040 | .tabbable { | ||
4041 | *zoom: 1; | ||
4042 | } | ||
4043 | |||
4044 | .tabbable:before, | ||
4045 | .tabbable:after { | ||
4046 | display: table; | ||
4047 | line-height: 0; | ||
4048 | content: ""; | ||
4049 | } | ||
4050 | |||
4051 | .tabbable:after { | ||
4052 | clear: both; | ||
4053 | } | ||
4054 | |||
4055 | .tab-content { | ||
4056 | overflow: auto; | ||
4057 | } | ||
4058 | |||
4059 | .tabs-below > .nav-tabs, | ||
4060 | .tabs-right > .nav-tabs, | ||
4061 | .tabs-left > .nav-tabs { | ||
4062 | border-bottom: 0; | ||
4063 | } | ||
4064 | |||
4065 | .tab-content > .tab-pane, | ||
4066 | .pill-content > .pill-pane { | ||
4067 | display: none; | ||
4068 | } | ||
4069 | |||
4070 | .tab-content > .active, | ||
4071 | .pill-content > .active { | ||
4072 | display: block; | ||
4073 | } | ||
4074 | |||
4075 | .tabs-below > .nav-tabs { | ||
4076 | border-top: 1px solid #ddd; | ||
4077 | } | ||
4078 | |||
4079 | .tabs-below > .nav-tabs > li { | ||
4080 | margin-top: -1px; | ||
4081 | margin-bottom: 0; | ||
4082 | } | ||
4083 | |||
4084 | .tabs-below > .nav-tabs > li > a { | ||
4085 | -webkit-border-radius: 0 0 4px 4px; | ||
4086 | -moz-border-radius: 0 0 4px 4px; | ||
4087 | border-radius: 0 0 4px 4px; | ||
4088 | } | ||
4089 | |||
4090 | .tabs-below > .nav-tabs > li > a:hover { | ||
4091 | border-top-color: #ddd; | ||
4092 | border-bottom-color: transparent; | ||
4093 | } | ||
4094 | |||
4095 | .tabs-below > .nav-tabs > .active > a, | ||
4096 | .tabs-below > .nav-tabs > .active > a:hover { | ||
4097 | border-color: transparent #ddd #ddd #ddd; | ||
4098 | } | ||
4099 | |||
4100 | .tabs-left > .nav-tabs > li, | ||
4101 | .tabs-right > .nav-tabs > li { | ||
4102 | float: none; | ||
4103 | } | ||
4104 | |||
4105 | .tabs-left > .nav-tabs > li > a, | ||
4106 | .tabs-right > .nav-tabs > li > a { | ||
4107 | min-width: 74px; | ||
4108 | margin-right: 0; | ||
4109 | margin-bottom: 3px; | ||
4110 | } | ||
4111 | |||
4112 | .tabs-left > .nav-tabs { | ||
4113 | float: left; | ||
4114 | margin-right: 19px; | ||
4115 | border-right: 1px solid #ddd; | ||
4116 | } | ||
4117 | |||
4118 | .tabs-left > .nav-tabs > li > a { | ||
4119 | margin-right: -1px; | ||
4120 | -webkit-border-radius: 4px 0 0 4px; | ||
4121 | -moz-border-radius: 4px 0 0 4px; | ||
4122 | border-radius: 4px 0 0 4px; | ||
4123 | } | ||
4124 | |||
4125 | .tabs-left > .nav-tabs > li > a:hover { | ||
4126 | border-color: #eeeeee #dddddd #eeeeee #eeeeee; | ||
4127 | } | ||
4128 | |||
4129 | .tabs-left > .nav-tabs .active > a, | ||
4130 | .tabs-left > .nav-tabs .active > a:hover { | ||
4131 | border-color: #ddd transparent #ddd #ddd; | ||
4132 | *border-right-color: #ffffff; | ||
4133 | } | ||
4134 | |||
4135 | .tabs-right > .nav-tabs { | ||
4136 | float: right; | ||
4137 | margin-left: 19px; | ||
4138 | border-left: 1px solid #ddd; | ||
4139 | } | ||
4140 | |||
4141 | .tabs-right > .nav-tabs > li > a { | ||
4142 | margin-left: -1px; | ||
4143 | -webkit-border-radius: 0 4px 4px 0; | ||
4144 | -moz-border-radius: 0 4px 4px 0; | ||
4145 | border-radius: 0 4px 4px 0; | ||
4146 | } | ||
4147 | |||
4148 | .tabs-right > .nav-tabs > li > a:hover { | ||
4149 | border-color: #eeeeee #eeeeee #eeeeee #dddddd; | ||
4150 | } | ||
4151 | |||
4152 | .tabs-right > .nav-tabs .active > a, | ||
4153 | .tabs-right > .nav-tabs .active > a:hover { | ||
4154 | border-color: #ddd #ddd #ddd transparent; | ||
4155 | *border-left-color: #ffffff; | ||
4156 | } | ||
4157 | |||
4158 | .nav > .disabled > a { | ||
4159 | color: #999999; | ||
4160 | } | ||
4161 | |||
4162 | .nav > .disabled > a:hover { | ||
4163 | text-decoration: none; | ||
4164 | cursor: default; | ||
4165 | background-color: transparent; | ||
4166 | } | ||
4167 | |||
4168 | .navbar { | ||
4169 | *position: relative; | ||
4170 | *z-index: 2; | ||
4171 | margin-bottom: 20px; | ||
4172 | overflow: visible; | ||
4173 | color: #777777; | ||
4174 | } | ||
4175 | |||
4176 | .navbar-inner { | ||
4177 | min-height: 40px; | ||
4178 | padding-right: 20px; | ||
4179 | padding-left: 20px; | ||
4180 | background-color: #fafafa; | ||
4181 | background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); | ||
4182 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); | ||
4183 | background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); | ||
4184 | background-image: -o-linear-gradient(top, #ffffff, #f2f2f2); | ||
4185 | background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); | ||
4186 | background-repeat: repeat-x; | ||
4187 | border: 1px solid #d4d4d4; | ||
4188 | -webkit-border-radius: 4px; | ||
4189 | -moz-border-radius: 4px; | ||
4190 | border-radius: 4px; | ||
4191 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0); | ||
4192 | *zoom: 1; | ||
4193 | -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); | ||
4194 | -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); | ||
4195 | box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); | ||
4196 | } | ||
4197 | |||
4198 | .navbar-inner:before, | ||
4199 | .navbar-inner:after { | ||
4200 | display: table; | ||
4201 | line-height: 0; | ||
4202 | content: ""; | ||
4203 | } | ||
4204 | |||
4205 | .navbar-inner:after { | ||
4206 | clear: both; | ||
4207 | } | ||
4208 | |||
4209 | .navbar .container { | ||
4210 | width: auto; | ||
4211 | } | ||
4212 | |||
4213 | .nav-collapse.collapse { | ||
4214 | height: auto; | ||
4215 | overflow: visible; | ||
4216 | } | ||
4217 | |||
4218 | .navbar .brand { | ||
4219 | display: block; | ||
4220 | float: left; | ||
4221 | padding: 10px 20px 10px; | ||
4222 | margin-left: -20px; | ||
4223 | font-size: 20px; | ||
4224 | font-weight: 200; | ||
4225 | color: #777777; | ||
4226 | text-shadow: 0 1px 0 #ffffff; | ||
4227 | } | ||
4228 | |||
4229 | .navbar .brand:hover { | ||
4230 | text-decoration: none; | ||
4231 | } | ||
4232 | |||
4233 | .navbar-text { | ||
4234 | margin-bottom: 0; | ||
4235 | line-height: 40px; | ||
4236 | } | ||
4237 | |||
4238 | .navbar-link { | ||
4239 | color: #777777; | ||
4240 | } | ||
4241 | |||
4242 | .navbar-link:hover { | ||
4243 | color: #333333; | ||
4244 | } | ||
4245 | |||
4246 | .navbar .divider-vertical { | ||
4247 | height: 40px; | ||
4248 | margin: 0 9px; | ||
4249 | border-right: 1px solid #ffffff; | ||
4250 | border-left: 1px solid #f2f2f2; | ||
4251 | } | ||
4252 | |||
4253 | .navbar .btn, | ||
4254 | .navbar .btn-group { | ||
4255 | margin-top: 5px; | ||
4256 | } | ||
4257 | |||
4258 | .navbar .btn-group .btn, | ||
4259 | .navbar .input-prepend .btn, | ||
4260 | .navbar .input-append .btn { | ||
4261 | margin-top: 0; | ||
4262 | } | ||
4263 | |||
4264 | .navbar-form { | ||
4265 | margin-bottom: 0; | ||
4266 | *zoom: 1; | ||
4267 | } | ||
4268 | |||
4269 | .navbar-form:before, | ||
4270 | .navbar-form:after { | ||
4271 | display: table; | ||
4272 | line-height: 0; | ||
4273 | content: ""; | ||
4274 | } | ||
4275 | |||
4276 | .navbar-form:after { | ||
4277 | clear: both; | ||
4278 | } | ||
4279 | |||
4280 | .navbar-form input, | ||
4281 | .navbar-form select, | ||
4282 | .navbar-form .radio, | ||
4283 | .navbar-form .checkbox { | ||
4284 | margin-top: 5px; | ||
4285 | } | ||
4286 | |||
4287 | .navbar-form input, | ||
4288 | .navbar-form select, | ||
4289 | .navbar-form .btn { | ||
4290 | display: inline-block; | ||
4291 | margin-bottom: 0; | ||
4292 | } | ||
4293 | |||
4294 | .navbar-form input[type="image"], | ||
4295 | .navbar-form input[type="checkbox"], | ||
4296 | .navbar-form input[type="radio"] { | ||
4297 | margin-top: 3px; | ||
4298 | } | ||
4299 | |||
4300 | .navbar-form .input-append, | ||
4301 | .navbar-form .input-prepend { | ||
4302 | margin-top: 6px; | ||
4303 | white-space: nowrap; | ||
4304 | } | ||
4305 | |||
4306 | .navbar-form .input-append input, | ||
4307 | .navbar-form .input-prepend input { | ||
4308 | margin-top: 0; | ||
4309 | } | ||
4310 | |||
4311 | .navbar-search { | ||
4312 | position: relative; | ||
4313 | float: left; | ||
4314 | margin-top: 5px; | ||
4315 | margin-bottom: 0; | ||
4316 | } | ||
4317 | |||
4318 | .navbar-search .search-query { | ||
4319 | padding: 4px 14px; | ||
4320 | margin-bottom: 0; | ||
4321 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
4322 | font-size: 13px; | ||
4323 | font-weight: normal; | ||
4324 | line-height: 1; | ||
4325 | -webkit-border-radius: 15px; | ||
4326 | -moz-border-radius: 15px; | ||
4327 | border-radius: 15px; | ||
4328 | } | ||
4329 | |||
4330 | .navbar-static-top { | ||
4331 | position: static; | ||
4332 | margin-bottom: 0; | ||
4333 | } | ||
4334 | |||
4335 | .navbar-static-top .navbar-inner { | ||
4336 | -webkit-border-radius: 0; | ||
4337 | -moz-border-radius: 0; | ||
4338 | border-radius: 0; | ||
4339 | } | ||
4340 | |||
4341 | .navbar-fixed-top, | ||
4342 | .navbar-fixed-bottom { | ||
4343 | position: fixed; | ||
4344 | right: 0; | ||
4345 | left: 0; | ||
4346 | z-index: 1030; | ||
4347 | margin-bottom: 0; | ||
4348 | } | ||
4349 | |||
4350 | .navbar-fixed-top .navbar-inner, | ||
4351 | .navbar-static-top .navbar-inner { | ||
4352 | border-width: 0 0 1px; | ||
4353 | } | ||
4354 | |||
4355 | .navbar-fixed-bottom .navbar-inner { | ||
4356 | border-width: 1px 0 0; | ||
4357 | } | ||
4358 | |||
4359 | .navbar-fixed-top .navbar-inner, | ||
4360 | .navbar-fixed-bottom .navbar-inner { | ||
4361 | padding-right: 0; | ||
4362 | padding-left: 0; | ||
4363 | -webkit-border-radius: 0; | ||
4364 | -moz-border-radius: 0; | ||
4365 | border-radius: 0; | ||
4366 | } | ||
4367 | |||
4368 | .navbar-static-top .container, | ||
4369 | .navbar-fixed-top .container, | ||
4370 | .navbar-fixed-bottom .container { | ||
4371 | width: 940px; | ||
4372 | } | ||
4373 | |||
4374 | .navbar-fixed-top { | ||
4375 | top: 0; | ||
4376 | } | ||
4377 | |||
4378 | .navbar-fixed-top .navbar-inner, | ||
4379 | .navbar-static-top .navbar-inner { | ||
4380 | -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); | ||
4381 | -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); | ||
4382 | box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); | ||
4383 | } | ||
4384 | |||
4385 | .navbar-fixed-bottom { | ||
4386 | bottom: 0; | ||
4387 | } | ||
4388 | |||
4389 | .navbar-fixed-bottom .navbar-inner { | ||
4390 | -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); | ||
4391 | -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); | ||
4392 | box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); | ||
4393 | } | ||
4394 | |||
4395 | .navbar .nav { | ||
4396 | position: relative; | ||
4397 | left: 0; | ||
4398 | display: block; | ||
4399 | float: left; | ||
4400 | margin: 0 10px 0 0; | ||
4401 | } | ||
4402 | |||
4403 | .navbar .nav.pull-right { | ||
4404 | float: right; | ||
4405 | margin-right: 0; | ||
4406 | } | ||
4407 | |||
4408 | .navbar .nav > li { | ||
4409 | float: left; | ||
4410 | } | ||
4411 | |||
4412 | .navbar .nav > li > a { | ||
4413 | float: none; | ||
4414 | padding: 10px 15px 10px; | ||
4415 | color: #777777; | ||
4416 | text-decoration: none; | ||
4417 | text-shadow: 0 1px 0 #ffffff; | ||
4418 | } | ||
4419 | |||
4420 | .navbar .nav .dropdown-toggle .caret { | ||
4421 | margin-top: 8px; | ||
4422 | } | ||
4423 | |||
4424 | .navbar .nav > li > a:focus, | ||
4425 | .navbar .nav > li > a:hover { | ||
4426 | color: #333333; | ||
4427 | text-decoration: none; | ||
4428 | background-color: transparent; | ||
4429 | } | ||
4430 | |||
4431 | .navbar .nav > .active > a, | ||
4432 | .navbar .nav > .active > a:hover, | ||
4433 | .navbar .nav > .active > a:focus { | ||
4434 | color: #555555; | ||
4435 | text-decoration: none; | ||
4436 | background-color: #e5e5e5; | ||
4437 | -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); | ||
4438 | -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); | ||
4439 | box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); | ||
4440 | } | ||
4441 | |||
4442 | .navbar .btn-navbar { | ||
4443 | display: none; | ||
4444 | float: right; | ||
4445 | padding: 7px 10px; | ||
4446 | margin-right: 5px; | ||
4447 | margin-left: 5px; | ||
4448 | color: #ffffff; | ||
4449 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
4450 | background-color: #ededed; | ||
4451 | *background-color: #e5e5e5; | ||
4452 | background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5); | ||
4453 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5)); | ||
4454 | background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5); | ||
4455 | background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5); | ||
4456 | background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5); | ||
4457 | background-repeat: repeat-x; | ||
4458 | border-color: #e5e5e5 #e5e5e5 #bfbfbf; | ||
4459 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
4460 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0); | ||
4461 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
4462 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); | ||
4463 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); | ||
4464 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); | ||
4465 | } | ||
4466 | |||
4467 | .navbar .btn-navbar:hover, | ||
4468 | .navbar .btn-navbar:active, | ||
4469 | .navbar .btn-navbar.active, | ||
4470 | .navbar .btn-navbar.disabled, | ||
4471 | .navbar .btn-navbar[disabled] { | ||
4472 | color: #ffffff; | ||
4473 | background-color: #e5e5e5; | ||
4474 | *background-color: #d9d9d9; | ||
4475 | } | ||
4476 | |||
4477 | .navbar .btn-navbar:active, | ||
4478 | .navbar .btn-navbar.active { | ||
4479 | background-color: #cccccc \9; | ||
4480 | } | ||
4481 | |||
4482 | .navbar .btn-navbar .icon-bar { | ||
4483 | display: block; | ||
4484 | width: 18px; | ||
4485 | height: 2px; | ||
4486 | background-color: #f5f5f5; | ||
4487 | -webkit-border-radius: 1px; | ||
4488 | -moz-border-radius: 1px; | ||
4489 | border-radius: 1px; | ||
4490 | -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); | ||
4491 | -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); | ||
4492 | box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); | ||
4493 | } | ||
4494 | |||
4495 | .btn-navbar .icon-bar + .icon-bar { | ||
4496 | margin-top: 3px; | ||
4497 | } | ||
4498 | |||
4499 | .navbar .nav > li > .dropdown-menu:before { | ||
4500 | position: absolute; | ||
4501 | top: -7px; | ||
4502 | left: 9px; | ||
4503 | display: inline-block; | ||
4504 | border-right: 7px solid transparent; | ||
4505 | border-bottom: 7px solid #ccc; | ||
4506 | border-left: 7px solid transparent; | ||
4507 | border-bottom-color: rgba(0, 0, 0, 0.2); | ||
4508 | content: ''; | ||
4509 | } | ||
4510 | |||
4511 | .navbar .nav > li > .dropdown-menu:after { | ||
4512 | position: absolute; | ||
4513 | top: -6px; | ||
4514 | left: 10px; | ||
4515 | display: inline-block; | ||
4516 | border-right: 6px solid transparent; | ||
4517 | border-bottom: 6px solid #ffffff; | ||
4518 | border-left: 6px solid transparent; | ||
4519 | content: ''; | ||
4520 | } | ||
4521 | |||
4522 | .navbar-fixed-bottom .nav > li > .dropdown-menu:before { | ||
4523 | top: auto; | ||
4524 | bottom: -7px; | ||
4525 | border-top: 7px solid #ccc; | ||
4526 | border-bottom: 0; | ||
4527 | border-top-color: rgba(0, 0, 0, 0.2); | ||
4528 | } | ||
4529 | |||
4530 | .navbar-fixed-bottom .nav > li > .dropdown-menu:after { | ||
4531 | top: auto; | ||
4532 | bottom: -6px; | ||
4533 | border-top: 6px solid #ffffff; | ||
4534 | border-bottom: 0; | ||
4535 | } | ||
4536 | |||
4537 | .navbar .nav li.dropdown.open > .dropdown-toggle, | ||
4538 | .navbar .nav li.dropdown.active > .dropdown-toggle, | ||
4539 | .navbar .nav li.dropdown.open.active > .dropdown-toggle { | ||
4540 | color: #555555; | ||
4541 | background-color: #e5e5e5; | ||
4542 | } | ||
4543 | |||
4544 | .navbar .nav li.dropdown > .dropdown-toggle .caret { | ||
4545 | border-top-color: #777777; | ||
4546 | border-bottom-color: #777777; | ||
4547 | } | ||
4548 | |||
4549 | .navbar .nav li.dropdown.open > .dropdown-toggle .caret, | ||
4550 | .navbar .nav li.dropdown.active > .dropdown-toggle .caret, | ||
4551 | .navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { | ||
4552 | border-top-color: #555555; | ||
4553 | border-bottom-color: #555555; | ||
4554 | } | ||
4555 | |||
4556 | .navbar .pull-right > li > .dropdown-menu, | ||
4557 | .navbar .nav > li > .dropdown-menu.pull-right { | ||
4558 | right: 0; | ||
4559 | left: auto; | ||
4560 | } | ||
4561 | |||
4562 | .navbar .pull-right > li > .dropdown-menu:before, | ||
4563 | .navbar .nav > li > .dropdown-menu.pull-right:before { | ||
4564 | right: 12px; | ||
4565 | left: auto; | ||
4566 | } | ||
4567 | |||
4568 | .navbar .pull-right > li > .dropdown-menu:after, | ||
4569 | .navbar .nav > li > .dropdown-menu.pull-right:after { | ||
4570 | right: 13px; | ||
4571 | left: auto; | ||
4572 | } | ||
4573 | |||
4574 | .navbar .pull-right > li > .dropdown-menu .dropdown-menu, | ||
4575 | .navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { | ||
4576 | right: 100%; | ||
4577 | left: auto; | ||
4578 | margin-right: -1px; | ||
4579 | margin-left: 0; | ||
4580 | -webkit-border-radius: 6px 0 6px 6px; | ||
4581 | -moz-border-radius: 6px 0 6px 6px; | ||
4582 | border-radius: 6px 0 6px 6px; | ||
4583 | } | ||
4584 | |||
4585 | .navbar-inverse { | ||
4586 | color: #999999; | ||
4587 | } | ||
4588 | |||
4589 | .navbar-inverse .navbar-inner { | ||
4590 | background-color: #1b1b1b; | ||
4591 | background-image: -moz-linear-gradient(top, #222222, #111111); | ||
4592 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); | ||
4593 | background-image: -webkit-linear-gradient(top, #222222, #111111); | ||
4594 | background-image: -o-linear-gradient(top, #222222, #111111); | ||
4595 | background-image: linear-gradient(to bottom, #222222, #111111); | ||
4596 | background-repeat: repeat-x; | ||
4597 | border-color: #252525; | ||
4598 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); | ||
4599 | } | ||
4600 | |||
4601 | .navbar-inverse .brand, | ||
4602 | .navbar-inverse .nav > li > a { | ||
4603 | color: #999999; | ||
4604 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
4605 | } | ||
4606 | |||
4607 | .navbar-inverse .brand:hover, | ||
4608 | .navbar-inverse .nav > li > a:hover { | ||
4609 | color: #ffffff; | ||
4610 | } | ||
4611 | |||
4612 | .navbar-inverse .nav > li > a:focus, | ||
4613 | .navbar-inverse .nav > li > a:hover { | ||
4614 | color: #ffffff; | ||
4615 | background-color: transparent; | ||
4616 | } | ||
4617 | |||
4618 | .navbar-inverse .nav .active > a, | ||
4619 | .navbar-inverse .nav .active > a:hover, | ||
4620 | .navbar-inverse .nav .active > a:focus { | ||
4621 | color: #ffffff; | ||
4622 | background-color: #111111; | ||
4623 | } | ||
4624 | |||
4625 | .navbar-inverse .navbar-link { | ||
4626 | color: #999999; | ||
4627 | } | ||
4628 | |||
4629 | .navbar-inverse .navbar-link:hover { | ||
4630 | color: #ffffff; | ||
4631 | } | ||
4632 | |||
4633 | .navbar-inverse .divider-vertical { | ||
4634 | border-right-color: #222222; | ||
4635 | border-left-color: #111111; | ||
4636 | } | ||
4637 | |||
4638 | .navbar-inverse .nav li.dropdown.open > .dropdown-toggle, | ||
4639 | .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, | ||
4640 | .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { | ||
4641 | color: #ffffff; | ||
4642 | background-color: #111111; | ||
4643 | } | ||
4644 | |||
4645 | .navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { | ||
4646 | border-top-color: #999999; | ||
4647 | border-bottom-color: #999999; | ||
4648 | } | ||
4649 | |||
4650 | .navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, | ||
4651 | .navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, | ||
4652 | .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { | ||
4653 | border-top-color: #ffffff; | ||
4654 | border-bottom-color: #ffffff; | ||
4655 | } | ||
4656 | |||
4657 | .navbar-inverse .navbar-search .search-query { | ||
4658 | color: #ffffff; | ||
4659 | background-color: #515151; | ||
4660 | border-color: #111111; | ||
4661 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); | ||
4662 | -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); | ||
4663 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); | ||
4664 | -webkit-transition: none; | ||
4665 | -moz-transition: none; | ||
4666 | -o-transition: none; | ||
4667 | transition: none; | ||
4668 | } | ||
4669 | |||
4670 | .navbar-inverse .navbar-search .search-query:-moz-placeholder { | ||
4671 | color: #cccccc; | ||
4672 | } | ||
4673 | |||
4674 | .navbar-inverse .navbar-search .search-query:-ms-input-placeholder { | ||
4675 | color: #cccccc; | ||
4676 | } | ||
4677 | |||
4678 | .navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { | ||
4679 | color: #cccccc; | ||
4680 | } | ||
4681 | |||
4682 | .navbar-inverse .navbar-search .search-query:focus, | ||
4683 | .navbar-inverse .navbar-search .search-query.focused { | ||
4684 | padding: 5px 15px; | ||
4685 | color: #333333; | ||
4686 | text-shadow: 0 1px 0 #ffffff; | ||
4687 | background-color: #ffffff; | ||
4688 | border: 0; | ||
4689 | outline: 0; | ||
4690 | -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); | ||
4691 | -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); | ||
4692 | box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); | ||
4693 | } | ||
4694 | |||
4695 | .navbar-inverse .btn-navbar { | ||
4696 | color: #ffffff; | ||
4697 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
4698 | background-color: #0e0e0e; | ||
4699 | *background-color: #040404; | ||
4700 | background-image: -moz-linear-gradient(top, #151515, #040404); | ||
4701 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404)); | ||
4702 | background-image: -webkit-linear-gradient(top, #151515, #040404); | ||
4703 | background-image: -o-linear-gradient(top, #151515, #040404); | ||
4704 | background-image: linear-gradient(to bottom, #151515, #040404); | ||
4705 | background-repeat: repeat-x; | ||
4706 | border-color: #040404 #040404 #000000; | ||
4707 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | ||
4708 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0); | ||
4709 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
4710 | } | ||
4711 | |||
4712 | .navbar-inverse .btn-navbar:hover, | ||
4713 | .navbar-inverse .btn-navbar:active, | ||
4714 | .navbar-inverse .btn-navbar.active, | ||
4715 | .navbar-inverse .btn-navbar.disabled, | ||
4716 | .navbar-inverse .btn-navbar[disabled] { | ||
4717 | color: #ffffff; | ||
4718 | background-color: #040404; | ||
4719 | *background-color: #000000; | ||
4720 | } | ||
4721 | |||
4722 | .navbar-inverse .btn-navbar:active, | ||
4723 | .navbar-inverse .btn-navbar.active { | ||
4724 | background-color: #000000 \9; | ||
4725 | } | ||
4726 | |||
4727 | .breadcrumb { | ||
4728 | padding: 8px 15px; | ||
4729 | margin: 0 0 20px; | ||
4730 | list-style: none; | ||
4731 | background-color: #f5f5f5; | ||
4732 | -webkit-border-radius: 4px; | ||
4733 | -moz-border-radius: 4px; | ||
4734 | border-radius: 4px; | ||
4735 | } | ||
4736 | |||
4737 | .breadcrumb li { | ||
4738 | display: inline-block; | ||
4739 | *display: inline; | ||
4740 | text-shadow: 0 1px 0 #ffffff; | ||
4741 | *zoom: 1; | ||
4742 | } | ||
4743 | |||
4744 | .breadcrumb .divider { | ||
4745 | padding: 0 5px; | ||
4746 | color: #ccc; | ||
4747 | } | ||
4748 | |||
4749 | .breadcrumb .active { | ||
4750 | color: #999999; | ||
4751 | } | ||
4752 | |||
4753 | .pagination { | ||
4754 | margin: 20px 0; | ||
4755 | } | ||
4756 | |||
4757 | .pagination ul { | ||
4758 | display: inline-block; | ||
4759 | *display: inline; | ||
4760 | margin-bottom: 0; | ||
4761 | margin-left: 0; | ||
4762 | -webkit-border-radius: 4px; | ||
4763 | -moz-border-radius: 4px; | ||
4764 | border-radius: 4px; | ||
4765 | *zoom: 1; | ||
4766 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | ||
4767 | -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | ||
4768 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | ||
4769 | } | ||
4770 | |||
4771 | .pagination ul > li { | ||
4772 | display: inline; | ||
4773 | } | ||
4774 | |||
4775 | .pagination ul > li > a, | ||
4776 | .pagination ul > li > span { | ||
4777 | float: left; | ||
4778 | padding: 4px 12px; | ||
4779 | line-height: 20px; | ||
4780 | text-decoration: none; | ||
4781 | background-color: #ffffff; | ||
4782 | border: 1px solid #dddddd; | ||
4783 | border-left-width: 0; | ||
4784 | } | ||
4785 | |||
4786 | .pagination ul > li > a:hover, | ||
4787 | .pagination ul > .active > a, | ||
4788 | .pagination ul > .active > span { | ||
4789 | background-color: #f5f5f5; | ||
4790 | } | ||
4791 | |||
4792 | .pagination ul > .active > a, | ||
4793 | .pagination ul > .active > span { | ||
4794 | color: #999999; | ||
4795 | cursor: default; | ||
4796 | } | ||
4797 | |||
4798 | .pagination ul > .disabled > span, | ||
4799 | .pagination ul > .disabled > a, | ||
4800 | .pagination ul > .disabled > a:hover { | ||
4801 | color: #999999; | ||
4802 | cursor: default; | ||
4803 | background-color: transparent; | ||
4804 | } | ||
4805 | |||
4806 | .pagination ul > li:first-child > a, | ||
4807 | .pagination ul > li:first-child > span { | ||
4808 | border-left-width: 1px; | ||
4809 | -webkit-border-bottom-left-radius: 4px; | ||
4810 | border-bottom-left-radius: 4px; | ||
4811 | -webkit-border-top-left-radius: 4px; | ||
4812 | border-top-left-radius: 4px; | ||
4813 | -moz-border-radius-bottomleft: 4px; | ||
4814 | -moz-border-radius-topleft: 4px; | ||
4815 | } | ||
4816 | |||
4817 | .pagination ul > li:last-child > a, | ||
4818 | .pagination ul > li:last-child > span { | ||
4819 | -webkit-border-top-right-radius: 4px; | ||
4820 | border-top-right-radius: 4px; | ||
4821 | -webkit-border-bottom-right-radius: 4px; | ||
4822 | border-bottom-right-radius: 4px; | ||
4823 | -moz-border-radius-topright: 4px; | ||
4824 | -moz-border-radius-bottomright: 4px; | ||
4825 | } | ||
4826 | |||
4827 | .pagination-centered { | ||
4828 | text-align: center; | ||
4829 | } | ||
4830 | |||
4831 | .pagination-right { | ||
4832 | text-align: right; | ||
4833 | } | ||
4834 | |||
4835 | .pagination-large ul > li > a, | ||
4836 | .pagination-large ul > li > span { | ||
4837 | padding: 11px 19px; | ||
4838 | font-size: 17.5px; | ||
4839 | } | ||
4840 | |||
4841 | .pagination-large ul > li:first-child > a, | ||
4842 | .pagination-large ul > li:first-child > span { | ||
4843 | -webkit-border-bottom-left-radius: 6px; | ||
4844 | border-bottom-left-radius: 6px; | ||
4845 | -webkit-border-top-left-radius: 6px; | ||
4846 | border-top-left-radius: 6px; | ||
4847 | -moz-border-radius-bottomleft: 6px; | ||
4848 | -moz-border-radius-topleft: 6px; | ||
4849 | } | ||
4850 | |||
4851 | .pagination-large ul > li:last-child > a, | ||
4852 | .pagination-large ul > li:last-child > span { | ||
4853 | -webkit-border-top-right-radius: 6px; | ||
4854 | border-top-right-radius: 6px; | ||
4855 | -webkit-border-bottom-right-radius: 6px; | ||
4856 | border-bottom-right-radius: 6px; | ||
4857 | -moz-border-radius-topright: 6px; | ||
4858 | -moz-border-radius-bottomright: 6px; | ||
4859 | } | ||
4860 | |||
4861 | .pagination-mini ul > li:first-child > a, | ||
4862 | .pagination-small ul > li:first-child > a, | ||
4863 | .pagination-mini ul > li:first-child > span, | ||
4864 | .pagination-small ul > li:first-child > span { | ||
4865 | -webkit-border-bottom-left-radius: 3px; | ||
4866 | border-bottom-left-radius: 3px; | ||
4867 | -webkit-border-top-left-radius: 3px; | ||
4868 | border-top-left-radius: 3px; | ||
4869 | -moz-border-radius-bottomleft: 3px; | ||
4870 | -moz-border-radius-topleft: 3px; | ||
4871 | } | ||
4872 | |||
4873 | .pagination-mini ul > li:last-child > a, | ||
4874 | .pagination-small ul > li:last-child > a, | ||
4875 | .pagination-mini ul > li:last-child > span, | ||
4876 | .pagination-small ul > li:last-child > span { | ||
4877 | -webkit-border-top-right-radius: 3px; | ||
4878 | border-top-right-radius: 3px; | ||
4879 | -webkit-border-bottom-right-radius: 3px; | ||
4880 | border-bottom-right-radius: 3px; | ||
4881 | -moz-border-radius-topright: 3px; | ||
4882 | -moz-border-radius-bottomright: 3px; | ||
4883 | } | ||
4884 | |||
4885 | .pagination-small ul > li > a, | ||
4886 | .pagination-small ul > li > span { | ||
4887 | padding: 2px 10px; | ||
4888 | font-size: 11.9px; | ||
4889 | } | ||
4890 | |||
4891 | .pagination-mini ul > li > a, | ||
4892 | .pagination-mini ul > li > span { | ||
4893 | padding: 1px 6px; | ||
4894 | font-size: 10.5px; | ||
4895 | } | ||
4896 | |||
4897 | .pager { | ||
4898 | margin: 20px 0; | ||
4899 | text-align: center; | ||
4900 | list-style: none; | ||
4901 | *zoom: 1; | ||
4902 | } | ||
4903 | |||
4904 | .pager:before, | ||
4905 | .pager:after { | ||
4906 | display: table; | ||
4907 | line-height: 0; | ||
4908 | content: ""; | ||
4909 | } | ||
4910 | |||
4911 | .pager:after { | ||
4912 | clear: both; | ||
4913 | } | ||
4914 | |||
4915 | .pager li { | ||
4916 | display: inline; | ||
4917 | } | ||
4918 | |||
4919 | .pager li > a, | ||
4920 | .pager li > span { | ||
4921 | display: inline-block; | ||
4922 | padding: 5px 14px; | ||
4923 | background-color: #fff; | ||
4924 | border: 1px solid #ddd; | ||
4925 | -webkit-border-radius: 15px; | ||
4926 | -moz-border-radius: 15px; | ||
4927 | border-radius: 15px; | ||
4928 | } | ||
4929 | |||
4930 | .pager li > a:hover { | ||
4931 | text-decoration: none; | ||
4932 | background-color: #f5f5f5; | ||
4933 | } | ||
4934 | |||
4935 | .pager .next > a, | ||
4936 | .pager .next > span { | ||
4937 | float: right; | ||
4938 | } | ||
4939 | |||
4940 | .pager .previous > a, | ||
4941 | .pager .previous > span { | ||
4942 | float: left; | ||
4943 | } | ||
4944 | |||
4945 | .pager .disabled > a, | ||
4946 | .pager .disabled > a:hover, | ||
4947 | .pager .disabled > span { | ||
4948 | color: #999999; | ||
4949 | cursor: default; | ||
4950 | background-color: #fff; | ||
4951 | } | ||
4952 | |||
4953 | .modal-backdrop { | ||
4954 | position: fixed; | ||
4955 | top: 0; | ||
4956 | right: 0; | ||
4957 | bottom: 0; | ||
4958 | left: 0; | ||
4959 | z-index: 1040; | ||
4960 | background-color: #000000; | ||
4961 | } | ||
4962 | |||
4963 | .modal-backdrop.fade { | ||
4964 | opacity: 0; | ||
4965 | } | ||
4966 | |||
4967 | .modal-backdrop, | ||
4968 | .modal-backdrop.fade.in { | ||
4969 | opacity: 0.8; | ||
4970 | filter: alpha(opacity=80); | ||
4971 | } | ||
4972 | |||
4973 | .modal { | ||
4974 | position: fixed; | ||
4975 | top: 50%; | ||
4976 | left: 50%; | ||
4977 | z-index: 1050; | ||
4978 | width: 560px; | ||
4979 | margin: -250px 0 0 -280px; | ||
4980 | background-color: #ffffff; | ||
4981 | border: 1px solid #999; | ||
4982 | border: 1px solid rgba(0, 0, 0, 0.3); | ||
4983 | *border: 1px solid #999; | ||
4984 | -webkit-border-radius: 6px; | ||
4985 | -moz-border-radius: 6px; | ||
4986 | border-radius: 6px; | ||
4987 | outline: none; | ||
4988 | -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); | ||
4989 | -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); | ||
4990 | box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); | ||
4991 | -webkit-background-clip: padding-box; | ||
4992 | -moz-background-clip: padding-box; | ||
4993 | background-clip: padding-box; | ||
4994 | } | ||
4995 | |||
4996 | .modal.fade { | ||
4997 | top: -25%; | ||
4998 | -webkit-transition: opacity 0.3s linear, top 0.3s ease-out; | ||
4999 | -moz-transition: opacity 0.3s linear, top 0.3s ease-out; | ||
5000 | -o-transition: opacity 0.3s linear, top 0.3s ease-out; | ||
5001 | transition: opacity 0.3s linear, top 0.3s ease-out; | ||
5002 | } | ||
5003 | |||
5004 | .modal.fade.in { | ||
5005 | top: 50%; | ||
5006 | } | ||
5007 | |||
5008 | .modal-header { | ||
5009 | padding: 9px 15px; | ||
5010 | border-bottom: 1px solid #eee; | ||
5011 | } | ||
5012 | |||
5013 | .modal-header .close { | ||
5014 | margin-top: 2px; | ||
5015 | } | ||
5016 | |||
5017 | .modal-header h3 { | ||
5018 | margin: 0; | ||
5019 | line-height: 30px; | ||
5020 | } | ||
5021 | |||
5022 | .modal-body { | ||
5023 | max-height: 400px; | ||
5024 | padding: 15px; | ||
5025 | overflow-y: auto; | ||
5026 | } | ||
5027 | |||
5028 | .modal-form { | ||
5029 | margin-bottom: 0; | ||
5030 | } | ||
5031 | |||
5032 | .modal-footer { | ||
5033 | padding: 14px 15px 15px; | ||
5034 | margin-bottom: 0; | ||
5035 | text-align: right; | ||
5036 | background-color: #f5f5f5; | ||
5037 | border-top: 1px solid #ddd; | ||
5038 | -webkit-border-radius: 0 0 6px 6px; | ||
5039 | -moz-border-radius: 0 0 6px 6px; | ||
5040 | border-radius: 0 0 6px 6px; | ||
5041 | *zoom: 1; | ||
5042 | -webkit-box-shadow: inset 0 1px 0 #ffffff; | ||
5043 | -moz-box-shadow: inset 0 1px 0 #ffffff; | ||
5044 | box-shadow: inset 0 1px 0 #ffffff; | ||
5045 | } | ||
5046 | |||
5047 | .modal-footer:before, | ||
5048 | .modal-footer:after { | ||
5049 | display: table; | ||
5050 | line-height: 0; | ||
5051 | content: ""; | ||
5052 | } | ||
5053 | |||
5054 | .modal-footer:after { | ||
5055 | clear: both; | ||
5056 | } | ||
5057 | |||
5058 | .modal-footer .btn + .btn { | ||
5059 | margin-bottom: 0; | ||
5060 | margin-left: 5px; | ||
5061 | } | ||
5062 | |||
5063 | .modal-footer .btn-group .btn + .btn { | ||
5064 | margin-left: -1px; | ||
5065 | } | ||
5066 | |||
5067 | .modal-footer .btn-block + .btn-block { | ||
5068 | margin-left: 0; | ||
5069 | } | ||
5070 | |||
5071 | .tooltip { | ||
5072 | position: absolute; | ||
5073 | z-index: 1030; | ||
5074 | display: block; | ||
5075 | padding: 5px; | ||
5076 | font-size: 11px; | ||
5077 | opacity: 0; | ||
5078 | filter: alpha(opacity=0); | ||
5079 | visibility: visible; | ||
5080 | } | ||
5081 | |||
5082 | .tooltip.in { | ||
5083 | opacity: 0.8; | ||
5084 | filter: alpha(opacity=80); | ||
5085 | } | ||
5086 | |||
5087 | .tooltip.top { | ||
5088 | margin-top: -3px; | ||
5089 | } | ||
5090 | |||
5091 | .tooltip.right { | ||
5092 | margin-left: 3px; | ||
5093 | } | ||
5094 | |||
5095 | .tooltip.bottom { | ||
5096 | margin-top: 3px; | ||
5097 | } | ||
5098 | |||
5099 | .tooltip.left { | ||
5100 | margin-left: -3px; | ||
5101 | } | ||
5102 | |||
5103 | .tooltip-inner { | ||
5104 | max-width: 200px; | ||
5105 | padding: 3px 8px; | ||
5106 | color: #ffffff; | ||
5107 | text-align: center; | ||
5108 | text-decoration: none; | ||
5109 | background-color: #000000; | ||
5110 | -webkit-border-radius: 4px; | ||
5111 | -moz-border-radius: 4px; | ||
5112 | border-radius: 4px; | ||
5113 | } | ||
5114 | |||
5115 | .tooltip-arrow { | ||
5116 | position: absolute; | ||
5117 | width: 0; | ||
5118 | height: 0; | ||
5119 | border-color: transparent; | ||
5120 | border-style: solid; | ||
5121 | } | ||
5122 | |||
5123 | .tooltip.top .tooltip-arrow { | ||
5124 | bottom: 0; | ||
5125 | left: 50%; | ||
5126 | margin-left: -5px; | ||
5127 | border-top-color: #000000; | ||
5128 | border-width: 5px 5px 0; | ||
5129 | } | ||
5130 | |||
5131 | .tooltip.right .tooltip-arrow { | ||
5132 | top: 50%; | ||
5133 | left: 0; | ||
5134 | margin-top: -5px; | ||
5135 | border-right-color: #000000; | ||
5136 | border-width: 5px 5px 5px 0; | ||
5137 | } | ||
5138 | |||
5139 | .tooltip.left .tooltip-arrow { | ||
5140 | top: 50%; | ||
5141 | right: 0; | ||
5142 | margin-top: -5px; | ||
5143 | border-left-color: #000000; | ||
5144 | border-width: 5px 0 5px 5px; | ||
5145 | } | ||
5146 | |||
5147 | .tooltip.bottom .tooltip-arrow { | ||
5148 | top: 0; | ||
5149 | left: 50%; | ||
5150 | margin-left: -5px; | ||
5151 | border-bottom-color: #000000; | ||
5152 | border-width: 0 5px 5px; | ||
5153 | } | ||
5154 | |||
5155 | .popover { | ||
5156 | position: absolute; | ||
5157 | top: 0; | ||
5158 | left: 0; | ||
5159 | z-index: 1010; | ||
5160 | display: none; | ||
5161 | width: 236px; | ||
5162 | padding: 1px; | ||
5163 | background-color: #ffffff; | ||
5164 | border: 1px solid #ccc; | ||
5165 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
5166 | -webkit-border-radius: 6px; | ||
5167 | -moz-border-radius: 6px; | ||
5168 | border-radius: 6px; | ||
5169 | -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
5170 | -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
5171 | box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | ||
5172 | -webkit-background-clip: padding-box; | ||
5173 | -moz-background-clip: padding; | ||
5174 | background-clip: padding-box; | ||
5175 | } | ||
5176 | |||
5177 | .popover.top { | ||
5178 | margin-top: -10px; | ||
5179 | } | ||
5180 | |||
5181 | .popover.right { | ||
5182 | margin-left: 10px; | ||
5183 | } | ||
5184 | |||
5185 | .popover.bottom { | ||
5186 | margin-top: 10px; | ||
5187 | } | ||
5188 | |||
5189 | .popover.left { | ||
5190 | margin-left: -10px; | ||
5191 | } | ||
5192 | |||
5193 | .popover-title { | ||
5194 | padding: 8px 14px; | ||
5195 | margin: 0; | ||
5196 | font-size: 14px; | ||
5197 | font-weight: normal; | ||
5198 | line-height: 18px; | ||
5199 | background-color: #f7f7f7; | ||
5200 | border-bottom: 1px solid #ebebeb; | ||
5201 | -webkit-border-radius: 5px 5px 0 0; | ||
5202 | -moz-border-radius: 5px 5px 0 0; | ||
5203 | border-radius: 5px 5px 0 0; | ||
5204 | } | ||
5205 | |||
5206 | .popover-content { | ||
5207 | padding: 9px 14px; | ||
5208 | } | ||
5209 | |||
5210 | .popover-content p, | ||
5211 | .popover-content ul, | ||
5212 | .popover-content ol { | ||
5213 | margin-bottom: 0; | ||
5214 | } | ||
5215 | |||
5216 | .popover .arrow, | ||
5217 | .popover .arrow:after { | ||
5218 | position: absolute; | ||
5219 | display: inline-block; | ||
5220 | width: 0; | ||
5221 | height: 0; | ||
5222 | border-color: transparent; | ||
5223 | border-style: solid; | ||
5224 | } | ||
5225 | |||
5226 | .popover .arrow:after { | ||
5227 | z-index: -1; | ||
5228 | content: ""; | ||
5229 | } | ||
5230 | |||
5231 | .popover.top .arrow { | ||
5232 | bottom: -10px; | ||
5233 | left: 50%; | ||
5234 | margin-left: -10px; | ||
5235 | border-top-color: #ffffff; | ||
5236 | border-width: 10px 10px 0; | ||
5237 | } | ||
5238 | |||
5239 | .popover.top .arrow:after { | ||
5240 | bottom: -1px; | ||
5241 | left: -11px; | ||
5242 | border-top-color: rgba(0, 0, 0, 0.25); | ||
5243 | border-width: 11px 11px 0; | ||
5244 | } | ||
5245 | |||
5246 | .popover.right .arrow { | ||
5247 | top: 50%; | ||
5248 | left: -10px; | ||
5249 | margin-top: -10px; | ||
5250 | border-right-color: #ffffff; | ||
5251 | border-width: 10px 10px 10px 0; | ||
5252 | } | ||
5253 | |||
5254 | .popover.right .arrow:after { | ||
5255 | bottom: -11px; | ||
5256 | left: -1px; | ||
5257 | border-right-color: rgba(0, 0, 0, 0.25); | ||
5258 | border-width: 11px 11px 11px 0; | ||
5259 | } | ||
5260 | |||
5261 | .popover.bottom .arrow { | ||
5262 | top: -10px; | ||
5263 | left: 50%; | ||
5264 | margin-left: -10px; | ||
5265 | border-bottom-color: #ffffff; | ||
5266 | border-width: 0 10px 10px; | ||
5267 | } | ||
5268 | |||
5269 | .popover.bottom .arrow:after { | ||
5270 | top: -1px; | ||
5271 | left: -11px; | ||
5272 | border-bottom-color: rgba(0, 0, 0, 0.25); | ||
5273 | border-width: 0 11px 11px; | ||
5274 | } | ||
5275 | |||
5276 | .popover.left .arrow { | ||
5277 | top: 50%; | ||
5278 | right: -10px; | ||
5279 | margin-top: -10px; | ||
5280 | border-left-color: #ffffff; | ||
5281 | border-width: 10px 0 10px 10px; | ||
5282 | } | ||
5283 | |||
5284 | .popover.left .arrow:after { | ||
5285 | right: -1px; | ||
5286 | bottom: -11px; | ||
5287 | border-left-color: rgba(0, 0, 0, 0.25); | ||
5288 | border-width: 11px 0 11px 11px; | ||
5289 | } | ||
5290 | |||
5291 | .thumbnails { | ||
5292 | margin-left: -20px; | ||
5293 | list-style: none; | ||
5294 | *zoom: 1; | ||
5295 | } | ||
5296 | |||
5297 | .thumbnails:before, | ||
5298 | .thumbnails:after { | ||
5299 | display: table; | ||
5300 | line-height: 0; | ||
5301 | content: ""; | ||
5302 | } | ||
5303 | |||
5304 | .thumbnails:after { | ||
5305 | clear: both; | ||
5306 | } | ||
5307 | |||
5308 | .row-fluid .thumbnails { | ||
5309 | margin-left: 0; | ||
5310 | } | ||
5311 | |||
5312 | .thumbnails > li { | ||
5313 | float: left; | ||
5314 | margin-bottom: 20px; | ||
5315 | margin-left: 20px; | ||
5316 | } | ||
5317 | |||
5318 | .thumbnail { | ||
5319 | display: block; | ||
5320 | padding: 4px; | ||
5321 | line-height: 20px; | ||
5322 | border: 1px solid #ddd; | ||
5323 | -webkit-border-radius: 4px; | ||
5324 | -moz-border-radius: 4px; | ||
5325 | border-radius: 4px; | ||
5326 | -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); | ||
5327 | -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); | ||
5328 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); | ||
5329 | -webkit-transition: all 0.2s ease-in-out; | ||
5330 | -moz-transition: all 0.2s ease-in-out; | ||
5331 | -o-transition: all 0.2s ease-in-out; | ||
5332 | transition: all 0.2s ease-in-out; | ||
5333 | } | ||
5334 | |||
5335 | a.thumbnail:hover { | ||
5336 | border-color: #0088cc; | ||
5337 | -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); | ||
5338 | -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); | ||
5339 | box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); | ||
5340 | } | ||
5341 | |||
5342 | .thumbnail > img { | ||
5343 | display: block; | ||
5344 | max-width: 100%; | ||
5345 | margin-right: auto; | ||
5346 | margin-left: auto; | ||
5347 | } | ||
5348 | |||
5349 | .thumbnail .caption { | ||
5350 | padding: 9px; | ||
5351 | color: #555555; | ||
5352 | } | ||
5353 | |||
5354 | .media, | ||
5355 | .media-body { | ||
5356 | overflow: hidden; | ||
5357 | *overflow: visible; | ||
5358 | zoom: 1; | ||
5359 | } | ||
5360 | |||
5361 | .media, | ||
5362 | .media .media { | ||
5363 | margin-top: 15px; | ||
5364 | } | ||
5365 | |||
5366 | .media:first-child { | ||
5367 | margin-top: 0; | ||
5368 | } | ||
5369 | |||
5370 | .media-object { | ||
5371 | display: block; | ||
5372 | } | ||
5373 | |||
5374 | .media-heading { | ||
5375 | margin: 0 0 5px; | ||
5376 | } | ||
5377 | |||
5378 | .media .pull-left { | ||
5379 | margin-right: 10px; | ||
5380 | } | ||
5381 | |||
5382 | .media .pull-right { | ||
5383 | margin-left: 10px; | ||
5384 | } | ||
5385 | |||
5386 | .media-list { | ||
5387 | margin-left: 0; | ||
5388 | list-style: none; | ||
5389 | } | ||
5390 | |||
5391 | .label, | ||
5392 | .badge { | ||
5393 | display: inline-block; | ||
5394 | padding: 2px 4px; | ||
5395 | font-size: 11.844px; | ||
5396 | font-weight: bold; | ||
5397 | line-height: 14px; | ||
5398 | color: #ffffff; | ||
5399 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
5400 | white-space: nowrap; | ||
5401 | vertical-align: baseline; | ||
5402 | background-color: #999999; | ||
5403 | } | ||
5404 | |||
5405 | .label { | ||
5406 | -webkit-border-radius: 3px; | ||
5407 | -moz-border-radius: 3px; | ||
5408 | border-radius: 3px; | ||
5409 | } | ||
5410 | |||
5411 | .badge { | ||
5412 | padding-right: 9px; | ||
5413 | padding-left: 9px; | ||
5414 | -webkit-border-radius: 9px; | ||
5415 | -moz-border-radius: 9px; | ||
5416 | border-radius: 9px; | ||
5417 | } | ||
5418 | |||
5419 | a.label:hover, | ||
5420 | a.badge:hover { | ||
5421 | color: #ffffff; | ||
5422 | text-decoration: none; | ||
5423 | cursor: pointer; | ||
5424 | } | ||
5425 | |||
5426 | .label-important, | ||
5427 | .badge-important { | ||
5428 | background-color: #b94a48; | ||
5429 | } | ||
5430 | |||
5431 | .label-important[href], | ||
5432 | .badge-important[href] { | ||
5433 | background-color: #953b39; | ||
5434 | } | ||
5435 | |||
5436 | .label-warning, | ||
5437 | .badge-warning { | ||
5438 | background-color: #f89406; | ||
5439 | } | ||
5440 | |||
5441 | .label-warning[href], | ||
5442 | .badge-warning[href] { | ||
5443 | background-color: #c67605; | ||
5444 | } | ||
5445 | |||
5446 | .label-success, | ||
5447 | .badge-success { | ||
5448 | background-color: #468847; | ||
5449 | } | ||
5450 | |||
5451 | .label-success[href], | ||
5452 | .badge-success[href] { | ||
5453 | background-color: #356635; | ||
5454 | } | ||
5455 | |||
5456 | .label-info, | ||
5457 | .badge-info { | ||
5458 | background-color: #3a87ad; | ||
5459 | } | ||
5460 | |||
5461 | .label-info[href], | ||
5462 | .badge-info[href] { | ||
5463 | background-color: #2d6987; | ||
5464 | } | ||
5465 | |||
5466 | .label-inverse, | ||
5467 | .badge-inverse { | ||
5468 | background-color: #333333; | ||
5469 | } | ||
5470 | |||
5471 | .label-inverse[href], | ||
5472 | .badge-inverse[href] { | ||
5473 | background-color: #1a1a1a; | ||
5474 | } | ||
5475 | |||
5476 | .btn .label, | ||
5477 | .btn .badge { | ||
5478 | position: relative; | ||
5479 | top: -1px; | ||
5480 | } | ||
5481 | |||
5482 | .btn-mini .label, | ||
5483 | .btn-mini .badge { | ||
5484 | top: 0; | ||
5485 | } | ||
5486 | |||
5487 | @-webkit-keyframes progress-bar-stripes { | ||
5488 | from { | ||
5489 | background-position: 40px 0; | ||
5490 | } | ||
5491 | to { | ||
5492 | background-position: 0 0; | ||
5493 | } | ||
5494 | } | ||
5495 | |||
5496 | @-moz-keyframes progress-bar-stripes { | ||
5497 | from { | ||
5498 | background-position: 40px 0; | ||
5499 | } | ||
5500 | to { | ||
5501 | background-position: 0 0; | ||
5502 | } | ||
5503 | } | ||
5504 | |||
5505 | @-ms-keyframes progress-bar-stripes { | ||
5506 | from { | ||
5507 | background-position: 40px 0; | ||
5508 | } | ||
5509 | to { | ||
5510 | background-position: 0 0; | ||
5511 | } | ||
5512 | } | ||
5513 | |||
5514 | @-o-keyframes progress-bar-stripes { | ||
5515 | from { | ||
5516 | background-position: 0 0; | ||
5517 | } | ||
5518 | to { | ||
5519 | background-position: 40px 0; | ||
5520 | } | ||
5521 | } | ||
5522 | |||
5523 | @keyframes progress-bar-stripes { | ||
5524 | from { | ||
5525 | background-position: 40px 0; | ||
5526 | } | ||
5527 | to { | ||
5528 | background-position: 0 0; | ||
5529 | } | ||
5530 | } | ||
5531 | |||
5532 | .progress { | ||
5533 | height: 20px; | ||
5534 | margin-bottom: 20px; | ||
5535 | overflow: hidden; | ||
5536 | background-color: #f7f7f7; | ||
5537 | background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); | ||
5538 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); | ||
5539 | background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); | ||
5540 | background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); | ||
5541 | background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); | ||
5542 | background-repeat: repeat-x; | ||
5543 | -webkit-border-radius: 4px; | ||
5544 | -moz-border-radius: 4px; | ||
5545 | border-radius: 4px; | ||
5546 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); | ||
5547 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
5548 | -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
5549 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
5550 | } | ||
5551 | |||
5552 | .progress .bar { | ||
5553 | float: left; | ||
5554 | width: 0; | ||
5555 | height: 100%; | ||
5556 | font-size: 12px; | ||
5557 | color: #ffffff; | ||
5558 | text-align: center; | ||
5559 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); | ||
5560 | background-color: #0e90d2; | ||
5561 | background-image: -moz-linear-gradient(top, #149bdf, #0480be); | ||
5562 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); | ||
5563 | background-image: -webkit-linear-gradient(top, #149bdf, #0480be); | ||
5564 | background-image: -o-linear-gradient(top, #149bdf, #0480be); | ||
5565 | background-image: linear-gradient(to bottom, #149bdf, #0480be); | ||
5566 | background-repeat: repeat-x; | ||
5567 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); | ||
5568 | -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
5569 | -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
5570 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
5571 | -webkit-box-sizing: border-box; | ||
5572 | -moz-box-sizing: border-box; | ||
5573 | box-sizing: border-box; | ||
5574 | -webkit-transition: width 0.6s ease; | ||
5575 | -moz-transition: width 0.6s ease; | ||
5576 | -o-transition: width 0.6s ease; | ||
5577 | transition: width 0.6s ease; | ||
5578 | } | ||
5579 | |||
5580 | .progress .bar + .bar { | ||
5581 | -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
5582 | -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
5583 | box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); | ||
5584 | } | ||
5585 | |||
5586 | .progress-striped .bar { | ||
5587 | background-color: #149bdf; | ||
5588 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
5589 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5590 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5591 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5592 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5593 | -webkit-background-size: 40px 40px; | ||
5594 | -moz-background-size: 40px 40px; | ||
5595 | -o-background-size: 40px 40px; | ||
5596 | background-size: 40px 40px; | ||
5597 | } | ||
5598 | |||
5599 | .progress.active .bar { | ||
5600 | -webkit-animation: progress-bar-stripes 2s linear infinite; | ||
5601 | -moz-animation: progress-bar-stripes 2s linear infinite; | ||
5602 | -ms-animation: progress-bar-stripes 2s linear infinite; | ||
5603 | -o-animation: progress-bar-stripes 2s linear infinite; | ||
5604 | animation: progress-bar-stripes 2s linear infinite; | ||
5605 | } | ||
5606 | |||
5607 | .progress-danger .bar, | ||
5608 | .progress .bar-danger { | ||
5609 | background-color: #dd514c; | ||
5610 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); | ||
5611 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); | ||
5612 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); | ||
5613 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); | ||
5614 | background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); | ||
5615 | background-repeat: repeat-x; | ||
5616 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); | ||
5617 | } | ||
5618 | |||
5619 | .progress-danger.progress-striped .bar, | ||
5620 | .progress-striped .bar-danger { | ||
5621 | background-color: #ee5f5b; | ||
5622 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
5623 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5624 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5625 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5626 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5627 | } | ||
5628 | |||
5629 | .progress-success .bar, | ||
5630 | .progress .bar-success { | ||
5631 | background-color: #5eb95e; | ||
5632 | background-image: -moz-linear-gradient(top, #62c462, #57a957); | ||
5633 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); | ||
5634 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); | ||
5635 | background-image: -o-linear-gradient(top, #62c462, #57a957); | ||
5636 | background-image: linear-gradient(to bottom, #62c462, #57a957); | ||
5637 | background-repeat: repeat-x; | ||
5638 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); | ||
5639 | } | ||
5640 | |||
5641 | .progress-success.progress-striped .bar, | ||
5642 | .progress-striped .bar-success { | ||
5643 | background-color: #62c462; | ||
5644 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
5645 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5646 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5647 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5648 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5649 | } | ||
5650 | |||
5651 | .progress-info .bar, | ||
5652 | .progress .bar-info { | ||
5653 | background-color: #4bb1cf; | ||
5654 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); | ||
5655 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); | ||
5656 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); | ||
5657 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); | ||
5658 | background-image: linear-gradient(to bottom, #5bc0de, #339bb9); | ||
5659 | background-repeat: repeat-x; | ||
5660 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); | ||
5661 | } | ||
5662 | |||
5663 | .progress-info.progress-striped .bar, | ||
5664 | .progress-striped .bar-info { | ||
5665 | background-color: #5bc0de; | ||
5666 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
5667 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5668 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5669 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5670 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5671 | } | ||
5672 | |||
5673 | .progress-warning .bar, | ||
5674 | .progress .bar-warning { | ||
5675 | background-color: #faa732; | ||
5676 | background-image: -moz-linear-gradient(top, #fbb450, #f89406); | ||
5677 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); | ||
5678 | background-image: -webkit-linear-gradient(top, #fbb450, #f89406); | ||
5679 | background-image: -o-linear-gradient(top, #fbb450, #f89406); | ||
5680 | background-image: linear-gradient(to bottom, #fbb450, #f89406); | ||
5681 | background-repeat: repeat-x; | ||
5682 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); | ||
5683 | } | ||
5684 | |||
5685 | .progress-warning.progress-striped .bar, | ||
5686 | .progress-striped .bar-warning { | ||
5687 | background-color: #fbb450; | ||
5688 | background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); | ||
5689 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5690 | background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5691 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5692 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
5693 | } | ||
5694 | |||
5695 | .accordion { | ||
5696 | margin-bottom: 20px; | ||
5697 | } | ||
5698 | |||
5699 | .accordion-group { | ||
5700 | margin-bottom: 2px; | ||
5701 | border: 1px solid #e5e5e5; | ||
5702 | -webkit-border-radius: 4px; | ||
5703 | -moz-border-radius: 4px; | ||
5704 | border-radius: 4px; | ||
5705 | } | ||
5706 | |||
5707 | .accordion-heading { | ||
5708 | border-bottom: 0; | ||
5709 | } | ||
5710 | |||
5711 | .accordion-heading .accordion-toggle { | ||
5712 | display: block; | ||
5713 | padding: 8px 15px; | ||
5714 | } | ||
5715 | |||
5716 | .accordion-toggle { | ||
5717 | cursor: pointer; | ||
5718 | } | ||
5719 | |||
5720 | .accordion-inner { | ||
5721 | padding: 9px 15px; | ||
5722 | border-top: 1px solid #e5e5e5; | ||
5723 | } | ||
5724 | |||
5725 | .carousel { | ||
5726 | position: relative; | ||
5727 | margin-bottom: 20px; | ||
5728 | line-height: 1; | ||
5729 | } | ||
5730 | |||
5731 | .carousel-inner { | ||
5732 | position: relative; | ||
5733 | width: 100%; | ||
5734 | overflow: hidden; | ||
5735 | } | ||
5736 | |||
5737 | .carousel .item { | ||
5738 | position: relative; | ||
5739 | display: none; | ||
5740 | -webkit-transition: 0.6s ease-in-out left; | ||
5741 | -moz-transition: 0.6s ease-in-out left; | ||
5742 | -o-transition: 0.6s ease-in-out left; | ||
5743 | transition: 0.6s ease-in-out left; | ||
5744 | } | ||
5745 | |||
5746 | .carousel .item > img { | ||
5747 | display: block; | ||
5748 | line-height: 1; | ||
5749 | } | ||
5750 | |||
5751 | .carousel .active, | ||
5752 | .carousel .next, | ||
5753 | .carousel .prev { | ||
5754 | display: block; | ||
5755 | } | ||
5756 | |||
5757 | .carousel .active { | ||
5758 | left: 0; | ||
5759 | } | ||
5760 | |||
5761 | .carousel .next, | ||
5762 | .carousel .prev { | ||
5763 | position: absolute; | ||
5764 | top: 0; | ||
5765 | width: 100%; | ||
5766 | } | ||
5767 | |||
5768 | .carousel .next { | ||
5769 | left: 100%; | ||
5770 | } | ||
5771 | |||
5772 | .carousel .prev { | ||
5773 | left: -100%; | ||
5774 | } | ||
5775 | |||
5776 | .carousel .next.left, | ||
5777 | .carousel .prev.right { | ||
5778 | left: 0; | ||
5779 | } | ||
5780 | |||
5781 | .carousel .active.left { | ||
5782 | left: -100%; | ||
5783 | } | ||
5784 | |||
5785 | .carousel .active.right { | ||
5786 | left: 100%; | ||
5787 | } | ||
5788 | |||
5789 | .carousel-control { | ||
5790 | position: absolute; | ||
5791 | top: 40%; | ||
5792 | left: 15px; | ||
5793 | width: 40px; | ||
5794 | height: 40px; | ||
5795 | margin-top: -20px; | ||
5796 | font-size: 60px; | ||
5797 | font-weight: 100; | ||
5798 | line-height: 30px; | ||
5799 | color: #ffffff; | ||
5800 | text-align: center; | ||
5801 | background: #222222; | ||
5802 | border: 3px solid #ffffff; | ||
5803 | -webkit-border-radius: 23px; | ||
5804 | -moz-border-radius: 23px; | ||
5805 | border-radius: 23px; | ||
5806 | opacity: 0.5; | ||
5807 | filter: alpha(opacity=50); | ||
5808 | } | ||
5809 | |||
5810 | .carousel-control.right { | ||
5811 | right: 15px; | ||
5812 | left: auto; | ||
5813 | } | ||
5814 | |||
5815 | .carousel-control:hover { | ||
5816 | color: #ffffff; | ||
5817 | text-decoration: none; | ||
5818 | opacity: 0.9; | ||
5819 | filter: alpha(opacity=90); | ||
5820 | } | ||
5821 | |||
5822 | .carousel-caption { | ||
5823 | position: absolute; | ||
5824 | right: 0; | ||
5825 | bottom: 0; | ||
5826 | left: 0; | ||
5827 | padding: 15px; | ||
5828 | background: #333333; | ||
5829 | background: rgba(0, 0, 0, 0.75); | ||
5830 | } | ||
5831 | |||
5832 | .carousel-caption h4, | ||
5833 | .carousel-caption p { | ||
5834 | line-height: 20px; | ||
5835 | color: #ffffff; | ||
5836 | } | ||
5837 | |||
5838 | .carousel-caption h4 { | ||
5839 | margin: 0 0 5px; | ||
5840 | } | ||
5841 | |||
5842 | .carousel-caption p { | ||
5843 | margin-bottom: 0; | ||
5844 | } | ||
5845 | |||
5846 | .hero-unit { | ||
5847 | padding: 60px; | ||
5848 | margin-bottom: 30px; | ||
5849 | font-size: 18px; | ||
5850 | font-weight: 200; | ||
5851 | line-height: 30px; | ||
5852 | color: inherit; | ||
5853 | background-color: #eeeeee; | ||
5854 | -webkit-border-radius: 6px; | ||
5855 | -moz-border-radius: 6px; | ||
5856 | border-radius: 6px; | ||
5857 | } | ||
5858 | |||
5859 | .hero-unit h1 { | ||
5860 | margin-bottom: 0; | ||
5861 | font-size: 60px; | ||
5862 | line-height: 1; | ||
5863 | letter-spacing: -1px; | ||
5864 | color: inherit; | ||
5865 | } | ||
5866 | |||
5867 | .hero-unit li { | ||
5868 | line-height: 30px; | ||
5869 | } | ||
5870 | |||
5871 | .pull-right { | ||
5872 | float: right; | ||
5873 | } | ||
5874 | |||
5875 | .pull-left { | ||
5876 | float: left; | ||
5877 | } | ||
5878 | |||
5879 | .hide { | ||
5880 | display: none; | ||
5881 | } | ||
5882 | |||
5883 | .show { | ||
5884 | display: block; | ||
5885 | } | ||
5886 | |||
5887 | .invisible { | ||
5888 | visibility: hidden; | ||
5889 | } | ||
5890 | |||
5891 | .affix { | ||
5892 | position: fixed; | ||
5893 | } |
  | |||
1 | /*! | ||
2 | * Bootstrap v3.0.0 | ||
3 | * | ||
4 | * Copyright 2013 Twitter, Inc | ||
5 | * Licensed under the Apache License v2.0 | ||
6 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
7 | * | ||
8 | * Designed and built with all the love in the world by @mdo and @fat. | ||
9 | *//*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16.099999999999998px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-warning{color:#c09853}.text-danger{color:#b94a48}.text-success{color:#468847}.text-info{color:#3a87ad}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h4,h5,h6{margin-top:10px;margin-bottom:10px}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}h1 small,.h1 small{font-size:24px}h2 small,.h2 small{font-size:18px}h3 small,.h3 small,h4 small,.h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small{display:block;line-height:1.428571429;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11{float:left}.col-xs-1{width:8.333333333333332%}.col-xs-2{width:16.666666666666664%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333333333%}.col-xs-5{width:41.66666666666667%}.col-xs-6{width:50%}.col-xs-7{width:58.333333333333336%}.col-xs-8{width:66.66666666666666%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333333334%}.col-xs-11{width:91.66666666666666%}.col-xs-12{width:100%}@media(min-width:768px){.container{max-width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11{float:left}.col-sm-1{width:8.333333333333332%}.col-sm-2{width:16.666666666666664%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333333333%}.col-sm-5{width:41.66666666666667%}.col-sm-6{width:50%}.col-sm-7{width:58.333333333333336%}.col-sm-8{width:66.66666666666666%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333333334%}.col-sm-11{width:91.66666666666666%}.col-sm-12{width:100%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-11{left:91.66666666666666%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-11{margin-left:91.66666666666666%}}@media(min-width:992px){.container{max-width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11{float:left}.col-md-1{width:8.333333333333332%}.col-md-2{width:16.666666666666664%}.col-md-3{width:25%}.col-md-4{width:33.33333333333333%}.col-md-5{width:41.66666666666667%}.col-md-6{width:50%}.col-md-7{width:58.333333333333336%}.col-md-8{width:66.66666666666666%}.col-md-9{width:75%}.col-md-10{width:83.33333333333334%}.col-md-11{width:91.66666666666666%}.col-md-12{width:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.333333333333332%}.col-md-push-2{left:16.666666666666664%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333333333%}.col-md-push-5{left:41.66666666666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.333333333333336%}.col-md-push-8{left:66.66666666666666%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333333334%}.col-md-push-11{left:91.66666666666666%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-11{right:91.66666666666666%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-11{margin-left:91.66666666666666%}}@media(min-width:1200px){.container{max-width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11{float:left}.col-lg-1{width:8.333333333333332%}.col-lg-2{width:16.666666666666664%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333333333%}.col-lg-5{width:41.66666666666667%}.col-lg-6{width:50%}.col-lg-7{width:58.333333333333336%}.col-lg-8{width:66.66666666666666%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333333334%}.col-lg-11{width:91.66666666666666%}.col-lg-12{width:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-11{left:91.66666666666666%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-11{margin-left:91.66666666666666%}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table caption+thead tr:first-child th,.table colgroup+thead tr:first-child th,.table thead:first-child tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed thead>tr>th,.table-condensed tbody>tr>th,.table-condensed tfoot>tr>th,.table-condensed thead>tr>td,.table-condensed tbody>tr>td,.table-condensed tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8;border-color:#d6e9c6}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td{background-color:#d0e9c6;border-color:#c9e2b3}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede;border-color:#eed3d7}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td{background-color:#ebcccc;border-color:#e6c1c7}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3;border-color:#fbeed5}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td{background-color:#faf2cc;border-color:#f8e5be}@media(max-width:768px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0;background-color:#fff}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>thead>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>thead>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:45px;line-height:45px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label{color:#c09853}.has-warning .form-control{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.has-error .help-block,.has-error .control-label{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.has-success .help-block,.has-success .control-label{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;background-color:#dff0d8;border-color:#468847}.form-control-static{padding-top:7px;margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-print:before{content:"\e045"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-briefcase:before{content:"\1f4bc"}.glyphicon-calendar:before{content:"\1f4c5"}.glyphicon-pushpin:before{content:"\1f4cc"}.glyphicon-paperclip:before{content:"\1f4ce"}.glyphicon-camera:before{content:"\1f4f7"}.glyphicon-lock:before{content:"\1f512"}.glyphicon-bell:before{content:"\1f514"}.glyphicon-bookmark:before{content:"\1f516"}.glyphicon-fire:before{content:"\1f525"}.glyphicon-wrench:before{content:"\1f527"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000;border-right:4px solid transparent;border-bottom:0 dotted;border-left:4px solid transparent;content:""}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#fff;text-decoration:none;background-color:#428bca}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-default .caret{border-top-color:#333}.btn-primary .caret,.btn-success .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#333}.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret,.dropup .btn-danger .caret,.dropup .btn-info .caret{border-bottom-color:#fff}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:5px 10px;padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified .btn{display:table-cell;float:none;width:1%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group.col{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}}.nav-tabs.nav-justified>li>a{margin-right:0;border-bottom:1px solid #ddd}.nav-tabs.nav-justified>.active>a{border-bottom-color:#fff}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:5px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-bottom:1px solid #ddd}.nav-tabs-justified>.active>a{border-bottom-color:#fff}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after{clear:both}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after{clear:both}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.nav .caret{border-top-color:#428bca;border-bottom-color:#428bca}.nav a:hover .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;z-index:1000;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-15px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-15px}.navbar-collapse .navbar-text:last-child{margin-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;border-width:0 0 1px}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;z-index:1030}.navbar-fixed-bottom{bottom:0;margin-bottom:0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{float:left;margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{margin-right:15px;margin-left:15px}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e6e6e6}.navbar-default .navbar-nav>.dropdown>a:hover .caret,.navbar-default .navbar-nav>.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:hover .caret,.navbar-default .navbar-nav>.open>a:focus .caret{border-top-color:#555;border-bottom-color:#555}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#777;border-bottom-color:#777}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-nav>.dropdown>a .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.btn .badge{position:relative;top:-1px}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1{font-size:63px}}.thumbnail{display:inline-block;display:block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img{display:block;height:auto;max-width:100%}a.thumbnail:hover,a.thumbnail:focus{border-color:#428bca}.thumbnail>img{margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{color:#c09853;background-color:#fcf8e3;border-color:#fbeed5}.alert-warning hr{border-top-color:#f8e5be}.alert-warning .alert-link{color:#a47e3c}.alert-danger{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger hr{border-top-color:#e6c1c7}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table{margin-bottom:0}.panel>.panel-body+.table{border-top:1px solid #ddd}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#fbeed5}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#fbeed5}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#fbeed5}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#fbeed5}.panel-danger{border-color:#eed3d7}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#eed3d7}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#eed3d7}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}body.modal-open,.modal-open .navbar-fixed-top,.modal-open .navbar-fixed-bottom{margin-right:15px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{z-index:1050;width:auto;padding:10px;margin-right:auto;margin-left:auto}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{right:auto;left:50%;width:600px;padding-top:30px;padding-bottom:30px}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0.0001)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.0001)),to(rgba(0,0,0,0.5)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;left:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.affix{position:fixed}@-ms-viewport{width:device-width}@media screen and (max-width:400px){@-ms-viewport{width:320px}}.hidden{display:none!important;visibility:hidden!important}.visible-xs{display:none!important}tr.visible-xs{display:none!important}th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm{display:none!important}tr.visible-sm{display:none!important}th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md{display:none!important}tr.visible-md{display:none!important}th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg{display:none!important}tr.visible-lg{display:none!important}th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs{display:none!important}tr.hidden-xs{display:none!important}th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm{display:none!important}tr.hidden-xs.hidden-sm{display:none!important}th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md{display:none!important}tr.hidden-xs.hidden-md{display:none!important}th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg{display:none!important}tr.hidden-xs.hidden-lg{display:none!important}th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs{display:none!important}tr.hidden-sm.hidden-xs{display:none!important}th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}tr.hidden-sm{display:none!important}th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md{display:none!important}tr.hidden-sm.hidden-md{display:none!important}th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg{display:none!important}tr.hidden-sm.hidden-lg{display:none!important}th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs{display:none!important}tr.hidden-md.hidden-xs{display:none!important}th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm{display:none!important}tr.hidden-md.hidden-sm{display:none!important}th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}tr.hidden-md{display:none!important}th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg{display:none!important}tr.hidden-md.hidden-lg{display:none!important}th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs{display:none!important}tr.hidden-lg.hidden-xs{display:none!important}th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm{display:none!important}tr.hidden-lg.hidden-sm{display:none!important}th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md{display:none!important}tr.hidden-lg.hidden-md{display:none!important}th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg{display:none!important}tr.hidden-lg{display:none!important}th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print{display:none!important}tr.visible-print{display:none!important}th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print{display:none!important}tr.hidden-print{display:none!important}th.hidden-print,td.hidden-print{display:none!important}} |
mouchak/static/css/main.css
(19 / 13)
  | |||
1 | /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ | ||
2 | |||
1 | 3 | /* | |
2 | * HTML5 Boilerplate | ||
3 | * | ||
4 | 4 | * What follows is the result of much research on cross-browser styling. | |
5 | 5 | * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, | |
6 | 6 | * Kroc Camen, and the H5BP dev community and team. | |
… | … | ||
18 | 18 | color: #222; | |
19 | 19 | } | |
20 | 20 | ||
21 | body { | ||
21 | html { | ||
22 | 22 | font-size: 1em; | |
23 | 23 | line-height: 1.4; | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | /* | |
27 | 27 | * Remove text-shadow in selection highlight: h5bp.com/i | |
28 | * These selection declarations have to be separate. | ||
28 | * These selection rule sets have to be separate. | ||
29 | 29 | * Customize the background color to match your design. | |
30 | 30 | */ | |
31 | 31 | ||
… | … | ||
53 | 53 | } | |
54 | 54 | ||
55 | 55 | /* | |
56 | * Remove the gap between images and the bottom of their containers: h5bp.com/i/440 | ||
56 | * Remove the gap between images, videos, audio and canvas and the bottom of | ||
57 | * their containers: h5bp.com/i/440 | ||
57 | 58 | */ | |
58 | 59 | ||
59 | img { | ||
60 | audio, | ||
61 | canvas, | ||
62 | img, | ||
63 | video { | ||
60 | 64 | vertical-align: middle; | |
61 | 65 | } | |
62 | 66 | ||
… | … | ||
83 | 83 | } | |
84 | 84 | ||
85 | 85 | /* ========================================================================== | |
86 | Chrome Frame prompt | ||
86 | Browse Happy prompt | ||
87 | 87 | ========================================================================== */ | |
88 | 88 | ||
89 | .chromeframe { | ||
89 | .browsehappy { | ||
90 | 90 | margin: 0.2em 0; | |
91 | 91 | background: #ccc; | |
92 | 92 | color: #000; | |
… | … | ||
118 | 118 | content: ""; | |
119 | 119 | display: block; | |
120 | 120 | width: 0; | |
121 | height: 100%; | ||
121 | height: 150%; | ||
122 | 122 | } | |
123 | 123 | ||
124 | 124 | /* | |
… | … | ||
201 | 201 | ||
202 | 202 | /* ========================================================================== | |
203 | 203 | EXAMPLE Media Queries for Responsive Design. | |
204 | Theses examples override the primary ('mobile first') styles. | ||
204 | These examples override the primary ('mobile first') styles. | ||
205 | 205 | Modify as content requires. | |
206 | 206 | ========================================================================== */ | |
207 | 207 | ||
… | … | ||
209 | 209 | /* Style adjustments for viewports that meet the condition */ | |
210 | 210 | } | |
211 | 211 | ||
212 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5), | ||
213 | only screen and (min-resolution: 144dpi) { | ||
212 | @media print, | ||
213 | (-o-min-device-pixel-ratio: 5/4), | ||
214 | (-webkit-min-device-pixel-ratio: 1.25), | ||
215 | (min-resolution: 120dpi) { | ||
214 | 216 | /* Style adjustments for high resolution devices */ | |
215 | 217 | } | |
216 | 218 | ||
… | … | ||
225 | 225 | * { | |
226 | 226 | background: transparent !important; | |
227 | 227 | color: #000 !important; /* Black prints faster: h5bp.com/s */ | |
228 | box-shadow:none !important; | ||
228 | box-shadow: none !important; | ||
229 | 229 | text-shadow: none !important; | |
230 | 230 | } | |
231 | 231 |
mouchak/static/css/normalize.css
(118 / 95)
  | |||
1 | /*! normalize.css v1.0.1 | MIT License | git.io/normalize */ | ||
1 | /*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | ||
2 | 2 | ||
3 | 3 | /* ========================================================================== | |
4 | 4 | HTML5 display definitions | |
5 | 5 | ========================================================================== */ | |
6 | 6 | ||
7 | /* | ||
8 | * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. | ||
7 | /** | ||
8 | * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. | ||
9 | 9 | */ | |
10 | 10 | ||
11 | 11 | article, | |
… | … | ||
16 | 16 | footer, | |
17 | 17 | header, | |
18 | 18 | hgroup, | |
19 | main, | ||
19 | 20 | nav, | |
20 | 21 | section, | |
21 | 22 | summary { | |
22 | 23 | display: block; | |
23 | 24 | } | |
24 | 25 | ||
25 | /* | ||
26 | * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. | ||
26 | /** | ||
27 | * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. | ||
27 | 28 | */ | |
28 | 29 | ||
29 | 30 | audio, | |
… | … | ||
35 | 35 | *zoom: 1; | |
36 | 36 | } | |
37 | 37 | ||
38 | /* | ||
39 | * Prevents modern browsers from displaying `audio` without controls. | ||
38 | /** | ||
39 | * Prevent modern browsers from displaying `audio` without controls. | ||
40 | 40 | * Remove excess height in iOS 5 devices. | |
41 | 41 | */ | |
42 | 42 | ||
… | … | ||
45 | 45 | height: 0; | |
46 | 46 | } | |
47 | 47 | ||
48 | /* | ||
49 | * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3, | ||
50 | * and Safari 4. | ||
48 | /** | ||
49 | * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. | ||
51 | 50 | * Known issue: no IE 6 support. | |
52 | 51 | */ | |
53 | 52 | ||
… | … | ||
58 | 58 | Base | |
59 | 59 | ========================================================================== */ | |
60 | 60 | ||
61 | /* | ||
62 | * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using | ||
61 | /** | ||
62 | * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using | ||
63 | 63 | * `em` units. | |
64 | * 2. Prevents iOS text size adjust after orientation change, without disabling | ||
64 | * 2. Prevent iOS text size adjust after orientation change, without disabling | ||
65 | 65 | * user zoom. | |
66 | 66 | */ | |
67 | 67 | ||
68 | 68 | html { | |
69 | 69 | font-size: 100%; /* 1 */ | |
70 | -webkit-text-size-adjust: 100%; /* 2 */ | ||
71 | 70 | -ms-text-size-adjust: 100%; /* 2 */ | |
71 | -webkit-text-size-adjust: 100%; /* 2 */ | ||
72 | 72 | } | |
73 | 73 | ||
74 | /* | ||
75 | * Addresses `font-family` inconsistency between `textarea` and other form | ||
74 | /** | ||
75 | * Address `font-family` inconsistency between `textarea` and other form | ||
76 | 76 | * elements. | |
77 | 77 | */ | |
78 | 78 | ||
… | … | ||
84 | 84 | font-family: sans-serif; | |
85 | 85 | } | |
86 | 86 | ||
87 | /* | ||
88 | * Addresses margins handled incorrectly in IE 6/7. | ||
87 | /** | ||
88 | * Address margins handled incorrectly in IE 6/7. | ||
89 | 89 | */ | |
90 | 90 | ||
91 | 91 | body { | |
… | … | ||
96 | 96 | Links | |
97 | 97 | ========================================================================== */ | |
98 | 98 | ||
99 | /* | ||
100 | * Addresses `outline` inconsistency between Chrome and other browsers. | ||
99 | /** | ||
100 | * Address `outline` inconsistency between Chrome and other browsers. | ||
101 | 101 | */ | |
102 | 102 | ||
103 | 103 | a:focus { | |
104 | 104 | outline: thin dotted; | |
105 | 105 | } | |
106 | 106 | ||
107 | /* | ||
108 | * Improves readability when focused and also mouse hovered in all browsers. | ||
107 | /** | ||
108 | * Improve readability when focused and also mouse hovered in all browsers. | ||
109 | 109 | */ | |
110 | 110 | ||
111 | 111 | a:active, | |
… | … | ||
117 | 117 | Typography | |
118 | 118 | ========================================================================== */ | |
119 | 119 | ||
120 | /* | ||
121 | * Addresses font sizes and margins set differently in IE 6/7. | ||
122 | * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, | ||
120 | /** | ||
121 | * Address font sizes and margins set differently in IE 6/7. | ||
122 | * Address font sizes within `section` and `article` in Firefox 4+, Safari 5, | ||
123 | 123 | * and Chrome. | |
124 | 124 | */ | |
125 | 125 | ||
… | … | ||
149 | 149 | } | |
150 | 150 | ||
151 | 151 | h6 { | |
152 | font-size: 0.75em; | ||
152 | font-size: 0.67em; | ||
153 | 153 | margin: 2.33em 0; | |
154 | 154 | } | |
155 | 155 | ||
156 | /* | ||
157 | * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. | ||
156 | /** | ||
157 | * Address styling not present in IE 7/8/9, Safari 5, and Chrome. | ||
158 | 158 | */ | |
159 | 159 | ||
160 | 160 | abbr[title] { | |
161 | 161 | border-bottom: 1px dotted; | |
162 | 162 | } | |
163 | 163 | ||
164 | /* | ||
165 | * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. | ||
164 | /** | ||
165 | * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. | ||
166 | 166 | */ | |
167 | 167 | ||
168 | 168 | b, | |
… | … | ||
174 | 174 | margin: 1em 40px; | |
175 | 175 | } | |
176 | 176 | ||
177 | /* | ||
178 | * Addresses styling not present in Safari 5 and Chrome. | ||
177 | /** | ||
178 | * Address styling not present in Safari 5 and Chrome. | ||
179 | 179 | */ | |
180 | 180 | ||
181 | 181 | dfn { | |
182 | 182 | font-style: italic; | |
183 | 183 | } | |
184 | 184 | ||
185 | /* | ||
186 | * Addresses styling not present in IE 6/7/8/9. | ||
185 | /** | ||
186 | * Address differences between Firefox and other browsers. | ||
187 | * Known issue: no IE 6/7 normalization. | ||
187 | 188 | */ | |
188 | 189 | ||
190 | hr { | ||
191 | -moz-box-sizing: content-box; | ||
192 | box-sizing: content-box; | ||
193 | height: 0; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * Address styling not present in IE 6/7/8/9. | ||
198 | */ | ||
199 | |||
189 | 200 | mark { | |
190 | 201 | background: #ff0; | |
191 | 202 | color: #000; | |
192 | 203 | } | |
193 | 204 | ||
194 | /* | ||
195 | * Addresses margins set differently in IE 6/7. | ||
205 | /** | ||
206 | * Address margins set differently in IE 6/7. | ||
196 | 207 | */ | |
197 | 208 | ||
198 | 209 | p, | |
… | … | ||
211 | 211 | margin: 1em 0; | |
212 | 212 | } | |
213 | 213 | ||
214 | /* | ||
215 | * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. | ||
214 | /** | ||
215 | * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. | ||
216 | 216 | */ | |
217 | 217 | ||
218 | 218 | code, | |
… | … | ||
224 | 224 | font-size: 1em; | |
225 | 225 | } | |
226 | 226 | ||
227 | /* | ||
228 | * Improves readability of pre-formatted text in all browsers. | ||
227 | /** | ||
228 | * Improve readability of pre-formatted text in all browsers. | ||
229 | 229 | */ | |
230 | 230 | ||
231 | 231 | pre { | |
… | … | ||
234 | 234 | word-wrap: break-word; | |
235 | 235 | } | |
236 | 236 | ||
237 | /* | ||
238 | * Addresses CSS quotes not supported in IE 6/7. | ||
237 | /** | ||
238 | * Address CSS quotes not supported in IE 6/7. | ||
239 | 239 | */ | |
240 | 240 | ||
241 | 241 | q { | |
242 | 242 | quotes: none; | |
243 | 243 | } | |
244 | 244 | ||
245 | /* | ||
246 | * Addresses `quotes` property not supported in Safari 4. | ||
245 | /** | ||
246 | * Address `quotes` property not supported in Safari 4. | ||
247 | 247 | */ | |
248 | 248 | ||
249 | 249 | q:before, | |
… | … | ||
252 | 252 | content: none; | |
253 | 253 | } | |
254 | 254 | ||
255 | /* | ||
256 | * Addresses inconsistent and variable font size in all browsers. | ||
255 | /** | ||
256 | * Address inconsistent and variable font size in all browsers. | ||
257 | 257 | */ | |
258 | 258 | ||
259 | 259 | small { | |
260 | 260 | font-size: 80%; | |
261 | 261 | } | |
262 | 262 | ||
263 | /* | ||
264 | * Prevents `sub` and `sup` affecting `line-height` in all browsers. | ||
263 | /** | ||
264 | * Prevent `sub` and `sup` affecting `line-height` in all browsers. | ||
265 | 265 | */ | |
266 | 266 | ||
267 | 267 | sub, | |
… | … | ||
284 | 284 | Lists | |
285 | 285 | ========================================================================== */ | |
286 | 286 | ||
287 | /* | ||
288 | * Addresses margins set differently in IE 6/7. | ||
287 | /** | ||
288 | * Address margins set differently in IE 6/7. | ||
289 | 289 | */ | |
290 | 290 | ||
291 | 291 | dl, | |
… | … | ||
299 | 299 | margin: 0 0 0 40px; | |
300 | 300 | } | |
301 | 301 | ||
302 | /* | ||
303 | * Addresses paddings set differently in IE 6/7. | ||
302 | /** | ||
303 | * Address paddings set differently in IE 6/7. | ||
304 | 304 | */ | |
305 | 305 | ||
306 | 306 | menu, | |
… | … | ||
309 | 309 | padding: 0 0 0 40px; | |
310 | 310 | } | |
311 | 311 | ||
312 | /* | ||
313 | * Corrects list images handled incorrectly in IE 7. | ||
312 | /** | ||
313 | * Correct list images handled incorrectly in IE 7. | ||
314 | 314 | */ | |
315 | 315 | ||
316 | 316 | nav ul, | |
… | … | ||
323 | 323 | Embedded content | |
324 | 324 | ========================================================================== */ | |
325 | 325 | ||
326 | /* | ||
327 | * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3. | ||
328 | * 2. Improves image quality when scaled in IE 7. | ||
326 | /** | ||
327 | * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. | ||
328 | * 2. Improve image quality when scaled in IE 7. | ||
329 | 329 | */ | |
330 | 330 | ||
331 | 331 | img { | |
… | … | ||
333 | 333 | -ms-interpolation-mode: bicubic; /* 2 */ | |
334 | 334 | } | |
335 | 335 | ||
336 | /* | ||
337 | * Corrects overflow displayed oddly in IE 9. | ||
336 | /** | ||
337 | * Correct overflow displayed oddly in IE 9. | ||
338 | 338 | */ | |
339 | 339 | ||
340 | 340 | svg:not(:root) { | |
… | … | ||
345 | 345 | Figures | |
346 | 346 | ========================================================================== */ | |
347 | 347 | ||
348 | /* | ||
349 | * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. | ||
348 | /** | ||
349 | * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. | ||
350 | 350 | */ | |
351 | 351 | ||
352 | 352 | figure { | |
… | … | ||
357 | 357 | Forms | |
358 | 358 | ========================================================================== */ | |
359 | 359 | ||
360 | /* | ||
361 | * Corrects margin displayed oddly in IE 6/7. | ||
360 | /** | ||
361 | * Correct margin displayed oddly in IE 6/7. | ||
362 | 362 | */ | |
363 | 363 | ||
364 | 364 | form { | |
365 | 365 | margin: 0; | |
366 | 366 | } | |
367 | 367 | ||
368 | /* | ||
368 | /** | ||
369 | 369 | * Define consistent border, margin, and padding. | |
370 | 370 | */ | |
371 | 371 | ||
… | … | ||
375 | 375 | padding: 0.35em 0.625em 0.75em; | |
376 | 376 | } | |
377 | 377 | ||
378 | /* | ||
379 | * 1. Corrects color not being inherited in IE 6/7/8/9. | ||
380 | * 2. Corrects text not wrapping in Firefox 3. | ||
381 | * 3. Corrects alignment displayed oddly in IE 6/7. | ||
378 | /** | ||
379 | * 1. Correct color not being inherited in IE 6/7/8/9. | ||
380 | * 2. Correct text not wrapping in Firefox 3. | ||
381 | * 3. Correct alignment displayed oddly in IE 6/7. | ||
382 | 382 | */ | |
383 | 383 | ||
384 | 384 | legend { | |
… | … | ||
388 | 388 | *margin-left: -7px; /* 3 */ | |
389 | 389 | } | |
390 | 390 | ||
391 | /* | ||
392 | * 1. Corrects font size not being inherited in all browsers. | ||
393 | * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, | ||
391 | /** | ||
392 | * 1. Correct font size not being inherited in all browsers. | ||
393 | * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, | ||
394 | 394 | * and Chrome. | |
395 | * 3. Improves appearance and consistency in all browsers. | ||
395 | * 3. Improve appearance and consistency in all browsers. | ||
396 | 396 | */ | |
397 | 397 | ||
398 | 398 | button, | |
… | … | ||
405 | 405 | *vertical-align: middle; /* 3 */ | |
406 | 406 | } | |
407 | 407 | ||
408 | /* | ||
409 | * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in | ||
408 | /** | ||
409 | * Address Firefox 3+ setting `line-height` on `input` using `!important` in | ||
410 | 410 | * the UA stylesheet. | |
411 | 411 | */ | |
412 | 412 | ||
… | … | ||
415 | 415 | line-height: normal; | |
416 | 416 | } | |
417 | 417 | ||
418 | /* | ||
418 | /** | ||
419 | * Address inconsistent `text-transform` inheritance for `button` and `select`. | ||
420 | * All other form control elements do not inherit `text-transform` values. | ||
421 | * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. | ||
422 | * Correct `select` style inheritance in Firefox 4+ and Opera. | ||
423 | */ | ||
424 | |||
425 | button, | ||
426 | select { | ||
427 | text-transform: none; | ||
428 | } | ||
429 | |||
430 | /** | ||
419 | 431 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` | |
420 | 432 | * and `video` controls. | |
421 | * 2. Corrects inability to style clickable `input` types in iOS. | ||
422 | * 3. Improves usability and consistency of cursor style between image-type | ||
433 | * 2. Correct inability to style clickable `input` types in iOS. | ||
434 | * 3. Improve usability and consistency of cursor style between image-type | ||
423 | 435 | * `input` and others. | |
424 | * 4. Removes inner spacing in IE 7 without affecting normal text inputs. | ||
436 | * 4. Remove inner spacing in IE 7 without affecting normal text inputs. | ||
425 | 437 | * Known issue: inner spacing remains in IE 6. | |
426 | 438 | */ | |
427 | 439 | ||
… | … | ||
446 | 446 | *overflow: visible; /* 4 */ | |
447 | 447 | } | |
448 | 448 | ||
449 | /* | ||
449 | /** | ||
450 | 450 | * Re-set default cursor for disabled elements. | |
451 | 451 | */ | |
452 | 452 | ||
453 | 453 | button[disabled], | |
454 | input[disabled] { | ||
454 | html input[disabled] { | ||
455 | 455 | cursor: default; | |
456 | 456 | } | |
457 | 457 | ||
458 | /* | ||
459 | * 1. Addresses box sizing set to content-box in IE 8/9. | ||
460 | * 2. Removes excess padding in IE 8/9. | ||
461 | * 3. Removes excess padding in IE 7. | ||
458 | /** | ||
459 | * 1. Address box sizing set to content-box in IE 8/9. | ||
460 | * 2. Remove excess padding in IE 8/9. | ||
461 | * 3. Remove excess padding in IE 7. | ||
462 | 462 | * Known issue: excess padding remains in IE 6. | |
463 | 463 | */ | |
464 | 464 | ||
… | … | ||
470 | 470 | *width: 13px; /* 3 */ | |
471 | 471 | } | |
472 | 472 | ||
473 | /* | ||
474 | * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. | ||
475 | * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome | ||
473 | /** | ||
474 | * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. | ||
475 | * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome | ||
476 | 476 | * (include `-moz` to future-proof). | |
477 | 477 | */ | |
478 | 478 | ||
… | … | ||
483 | 483 | box-sizing: content-box; | |
484 | 484 | } | |
485 | 485 | ||
486 | /* | ||
487 | * Removes inner padding and search cancel button in Safari 5 and Chrome | ||
486 | /** | ||
487 | * Remove inner padding and search cancel button in Safari 5 and Chrome | ||
488 | 488 | * on OS X. | |
489 | 489 | */ | |
490 | 490 | ||
… | … | ||
493 | 493 | -webkit-appearance: none; | |
494 | 494 | } | |
495 | 495 | ||
496 | /* | ||
497 | * Removes inner padding and border in Firefox 3+. | ||
496 | /** | ||
497 | * Remove inner padding and border in Firefox 3+. | ||
498 | 498 | */ | |
499 | 499 | ||
500 | 500 | button::-moz-focus-inner, | |
… | … | ||
503 | 503 | padding: 0; | |
504 | 504 | } | |
505 | 505 | ||
506 | /* | ||
507 | * 1. Removes default vertical scrollbar in IE 6/7/8/9. | ||
508 | * 2. Improves readability and alignment in all browsers. | ||
506 | /** | ||
507 | * 1. Remove default vertical scrollbar in IE 6/7/8/9. | ||
508 | * 2. Improve readability and alignment in all browsers. | ||
509 | 509 | */ | |
510 | 510 | ||
511 | 511 | textarea { | |
… | … | ||
517 | 517 | Tables | |
518 | 518 | ========================================================================== */ | |
519 | 519 | ||
520 | /* | ||
520 | /** | ||
521 | 521 | * Remove most spacing between table cells. | |
522 | 522 | */ | |
523 | 523 |
Binary files differ
  | |||
1 | <?xml version="1.0" standalone="no"?> | ||
2 | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > | ||
3 | <svg xmlns="http://www.w3.org/2000/svg"> | ||
4 | <metadata></metadata> | ||
5 | <defs> | ||
6 | <font id="glyphicons_halflingsregular" horiz-adv-x="1200" > | ||
7 | <font-face units-per-em="1200" ascent="960" descent="-240" /> | ||
8 | <missing-glyph horiz-adv-x="500" /> | ||
9 | <glyph /> | ||
10 | <glyph /> | ||
11 | <glyph unicode=" " /> | ||
12 | <glyph unicode="*" d="M1100 500h-259l183 -183l-141 -141l-183 183v-259h-200v259l-183 -183l-141 141l183 183h-259v200h259l-183 183l141 141l183 -183v259h200v-259l183 183l141 -141l-183 -183h259v-200z" /> | ||
13 | <glyph unicode="+" d="M1100 400h-400v-400h-300v400h-400v300h400v400h300v-400h400v-300z" /> | ||
14 | <glyph unicode=" " /> | ||
15 | <glyph unicode=" " horiz-adv-x="652" /> | ||
16 | <glyph unicode=" " horiz-adv-x="1304" /> | ||
17 | <glyph unicode=" " horiz-adv-x="652" /> | ||
18 | <glyph unicode=" " horiz-adv-x="1304" /> | ||
19 | <glyph unicode=" " horiz-adv-x="434" /> | ||
20 | <glyph unicode=" " horiz-adv-x="326" /> | ||
21 | <glyph unicode=" " horiz-adv-x="217" /> | ||
22 | <glyph unicode=" " horiz-adv-x="217" /> | ||
23 | <glyph unicode=" " horiz-adv-x="163" /> | ||
24 | <glyph unicode=" " horiz-adv-x="260" /> | ||
25 | <glyph unicode=" " horiz-adv-x="72" /> | ||
26 | <glyph unicode=" " horiz-adv-x="260" /> | ||
27 | <glyph unicode=" " horiz-adv-x="326" /> | ||
28 | <glyph unicode="€" d="M800 500h-300q9 -74 33 -132t52.5 -91t62 -54.5t59 -29t46.5 -7.5q29 0 66 13t75 37t63.5 67.5t25.5 96.5h174q-31 -172 -128 -278q-107 -117 -274 -117q-205 0 -324 158q-36 46 -69 131.5t-45 205.5h-217l100 100h113q0 47 5 100h-218l100 100h135q37 167 112 257 q117 141 297 141q242 0 354 -189q60 -103 66 -209h-181q0 55 -25.5 99t-63.5 68t-75 36.5t-67 12.5q-24 0 -52.5 -10t-62.5 -32t-65.5 -67t-50.5 -107h379l-100 -100h-300q-6 -46 -6 -100h406z" /> | ||
29 | <glyph unicode="−" d="M1100 700h-900v-300h900v300z" /> | ||
30 | <glyph unicode="☁" d="M178 300h750q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57z" /> | ||
31 | <glyph unicode="✉" d="M1200 1100h-1200l600 -603zM300 600l-300 -300v600zM1200 900v-600l-300 300zM800 500l400 -400h-1200l400 400l200 -200z" /> | ||
32 | <glyph unicode="✏" d="M1101 889l99 92q13 13 13 32.5t-13 33.5l-153 153q-15 13 -33 13t-33 -13l-94 -97zM401 189l614 614l-214 214l-614 -614zM-13 -13l333 112l-223 223z" /> | ||
33 | <glyph unicode="" horiz-adv-x="500" d="M0 0z" /> | ||
34 | <glyph unicode="" d="M700 100h300v-100h-800v100h300v550l-500 550h1200l-500 -550v-550z" /> | ||
35 | <glyph unicode="" d="M1000 934v-521q-64 16 -138 -7q-79 -26 -122.5 -83t-25.5 -111q17 -55 85.5 -75.5t147.5 4.5q70 23 111.5 63.5t41.5 95.5v881q0 10 -7 15.5t-17 2.5l-752 -193q-10 -3 -17 -12.5t-7 -19.5v-689q-64 17 -138 -7q-79 -25 -122.5 -82t-25.5 -112t86 -75.5t147 5.5 q65 21 109 69t44 90v606z" /> | ||
36 | <glyph unicode="" d="M913 432l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -142 -78 -261zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233z" /> | ||
37 | <glyph unicode="" d="M649 949q48 69 109.5 105t121.5 38t118.5 -20.5t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-149.5 152.5t-126.5 127.5t-94 124.5t-33.5 117.5q0 64 28 123t73 100.5t104.5 64t119 20.5 t120 -38.5t104.5 -104.5z" /> | ||
38 | <glyph unicode="" d="M791 522l145 -449l-384 275l-382 -275l146 447l-388 280h479l146 400h2l146 -400h472zM168 71l2 1z" /> | ||
39 | <glyph unicode="" d="M791 522l145 -449l-384 275l-382 -275l146 447l-388 280h479l146 400h2l146 -400h472zM747 331l-74 229l193 140h-235l-77 211l-78 -211h-239l196 -142l-73 -226l192 140zM168 71l2 1z" /> | ||
40 | <glyph unicode="" d="M1200 143v-143h-1200v143l400 257v100q-37 0 -68.5 74.5t-31.5 125.5v200q0 124 88 212t212 88t212 -88t88 -212v-200q0 -51 -31.5 -125.5t-68.5 -74.5v-100z" /> | ||
41 | <glyph unicode="" d="M1200 1100v-1100h-1200v1100h1200zM200 1000h-100v-100h100v100zM900 1000h-600v-400h600v400zM1100 1000h-100v-100h100v100zM200 800h-100v-100h100v100zM1100 800h-100v-100h100v100zM200 600h-100v-100h100v100zM1100 600h-100v-100h100v100zM900 500h-600v-400h600 v400zM200 400h-100v-100h100v100zM1100 400h-100v-100h100v100zM200 200h-100v-100h100v100zM1100 200h-100v-100h100v100z" /> | ||
42 | <glyph unicode="" d="M500 1050v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5zM1100 1050v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400 q21 0 35.5 -14.5t14.5 -35.5zM500 450v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5zM1100 450v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v400 q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5z" /> | ||
43 | <glyph unicode="" d="M300 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200 q21 0 35.5 -14.5t14.5 -35.5zM1100 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM300 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1100 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM300 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM700 250v-200 q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1100 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5 t14.5 -35.5z" /> | ||
44 | <glyph unicode="" d="M300 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1200 1050v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h700 q21 0 35.5 -14.5t14.5 -35.5zM300 450v200q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-200q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM1200 650v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5v200 q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5zM300 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5zM1200 250v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700 q-21 0 -35.5 14.5t-14.5 35.5v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5z" /> | ||
45 | <glyph unicode="" d="M448 34l818 820l-212 212l-607 -607l-206 207l-212 -212z" /> | ||
46 | <glyph unicode="" d="M882 106l-282 282l-282 -282l-212 212l282 282l-282 282l212 212l282 -282l282 282l212 -212l-282 -282l282 -282z" /> | ||
47 | <glyph unicode="" d="M913 432l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -142 -78 -261zM507 363q137 0 233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5t-234 -97t-97 -233 t97 -233t234 -97zM600 800h100v-200h-100v-100h-200v100h-100v200h100v100h200v-100z" /> | ||
48 | <glyph unicode="" d="M913 432l300 -299q7 -7 7 -18t-7 -18l-109 -109q-8 -8 -18 -8t-18 8l-300 299q-120 -77 -261 -77q-200 0 -342 142t-142 342t142 342t342 142t342 -142t142 -342q0 -141 -78 -262zM176 694q0 -136 97 -233t234 -97t233.5 97t96.5 233t-96.5 233t-233.5 97t-234 -97 t-97 -233zM300 801v-200h400v200h-400z" /> | ||
49 | <glyph unicode="" d="M700 750v400q0 21 -14.5 35.5t-35.5 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-400q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5zM800 975v166q167 -62 272 -210t105 -331q0 -118 -45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123 t-123 184t-45.5 224.5q0 183 105 331t272 210v-166q-103 -55 -165 -155t-62 -220q0 -177 125 -302t302 -125t302 125t125 302q0 120 -62 220t-165 155z" /> | ||
50 | <glyph unicode="" d="M1200 1h-200v1200h200v-1200zM900 1h-200v800h200v-800zM600 1h-200v500h200v-500zM300 301h-200v-300h200v300z" /> | ||
51 | <glyph unicode="" d="M488 183l38 -151q40 -5 74 -5q27 0 74 5l38 151l6 2q46 13 93 39l5 3l134 -81q56 44 104 105l-80 134l3 5q24 44 39 93l1 6l152 38q5 40 5 74q0 28 -5 73l-152 38l-1 6q-16 51 -39 93l-3 5l80 134q-44 58 -104 105l-134 -81l-5 3q-45 25 -93 39l-6 1l-38 152q-40 5 -74 5 q-27 0 -74 -5l-38 -152l-5 -1q-50 -14 -94 -39l-5 -3l-133 81q-59 -47 -105 -105l80 -134l-3 -5q-25 -47 -38 -93l-2 -6l-151 -38q-6 -48 -6 -73q0 -33 6 -74l151 -38l2 -6q14 -49 38 -93l3 -5l-80 -134q45 -59 105 -105l133 81l5 -3q45 -26 94 -39zM600 815q89 0 152 -63 t63 -151q0 -89 -63 -152t-152 -63t-152 63t-63 152q0 88 63 151t152 63z" /> | ||
52 | <glyph unicode="" d="M900 1100h275q10 0 17.5 -7.5t7.5 -17.5v-50q0 -11 -7 -18t-18 -7h-1050q-11 0 -18 7t-7 18v50q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5v-100zM800 1100v100h-300v-100h300zM200 900h900v-800q0 -41 -29.5 -71 t-70.5 -30h-700q-41 0 -70.5 30t-29.5 71v800zM300 100h100v700h-100v-700zM500 100h100v700h-100v-700zM700 100h100v700h-100v-700zM900 100h100v700h-100v-700z" /> | ||
53 | <glyph unicode="" d="M1301 601h-200v-600h-300v400h-300v-400h-300v600h-200l656 644z" /> | ||
54 | <glyph unicode="" d="M600 700h400v-675q0 -11 -7 -18t-18 -7h-850q-11 0 -18 7t-7 18v1150q0 11 7 18t18 7h475v-500zM1000 800h-300v300z" /> | ||
55 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM600 600h200 v-100h-300v400h100v-300z" /> | ||
56 | <glyph unicode="" d="M721 400h-242l-40 -400h-539l431 1200h209l-21 -300h162l-20 300h208l431 -1200h-538zM712 500l-27 300h-170l-27 -300h224z" /> | ||
57 | <glyph unicode="" d="M1100 400v-400h-1100v400h490l-290 300h200v500h300v-500h200l-290 -300h490zM988 300h-175v-100h175v100z" /> | ||
58 | <glyph unicode="" d="M600 1199q122 0 233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233t47.5 233t127.5 191t191 127.5t233 47.5zM600 1012q-170 0 -291 -121t-121 -291t121 -291t291 -121t291 121 t121 291t-121 291t-291 121zM700 600h150l-250 -300l-250 300h150v300h200v-300z" /> | ||
59 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM850 600h-150 v-300h-200v300h-150l250 300z" /> | ||
60 | <glyph unicode="" d="M0 500l200 700h800q199 -700 200 -700v-475q0 -11 -7 -18t-18 -7h-1150q-11 0 -18 7t-7 18v475zM903 1000h-606l-97 -500h200l50 -200h300l50 200h200z" /> | ||
61 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5zM797 598 l-297 -201v401z" /> | ||
62 | <glyph unicode="" d="M1177 600h-150q0 -177 -125 -302t-302 -125t-302 125t-125 302t125 302t302 125q136 0 246 -81l-146 -146h400v400l-145 -145q-157 122 -355 122q-118 0 -224.5 -45.5t-184 -123t-123 -184t-45.5 -224.5t45.5 -224.5t123 -184t184 -123t224.5 -45.5t224.5 45.5t184 123 t123 184t45.5 224.5z" /> | ||
63 | <glyph unicode="" d="M700 800l147 147q-112 80 -247 80q-177 0 -302 -125t-125 -302h-150q0 118 45.5 224.5t123 184t184 123t224.5 45.5q198 0 355 -122l145 145v-400h-400zM500 400l-147 -147q112 -80 247 -80q177 0 302 125t125 302h150q0 -118 -45.5 -224.5t-123 -184t-184 -123 t-224.5 -45.5q-198 0 -355 122l-145 -145v400h400z" /> | ||
64 | <glyph unicode="" d="M100 1200v-1200h1100v1200h-1100zM1100 100h-900v900h900v-900zM400 800h-100v100h100v-100zM1000 800h-500v100h500v-100zM400 600h-100v100h100v-100zM1000 600h-500v100h500v-100zM400 400h-100v100h100v-100zM1000 400h-500v100h500v-100zM400 200h-100v100h100v-100 zM1000 300h-500v-100h500v100z" /> | ||
65 | <glyph unicode="" d="M200 0h-100v1100h100v-1100zM1100 600v500q-40 -81 -101.5 -115.5t-127.5 -29.5t-138 25t-139.5 40t-125.5 25t-103 -29.5t-65 -115.5v-500q60 60 127.5 84t127.5 17.5t122 -23t119 -30t110 -11t103 42t91 120.5z" /> | ||
66 | <glyph unicode="" d="M1200 275v300q0 116 -49.5 227t-131 192.5t-192.5 131t-227 49.5t-227 -49.5t-192.5 -131t-131 -192.5t-49.5 -227v-300q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 127 70.5 231.5t184.5 161.5t245 57t245 -57t184.5 -161.5t70.5 -231.5v-300q0 -11 7 -18t18 -7h50 q11 0 18 7t7 18zM400 480v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14zM1000 480v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14z" /> | ||
67 | <glyph unicode="" d="M0 800v-400h300l300 -200v800l-300 -200h-300zM971 600l141 -141l-71 -71l-141 141l-141 -141l-71 71l141 141l-141 141l71 71l141 -141l141 141l71 -71z" /> | ||
68 | <glyph unicode="" d="M0 800v-400h300l300 -200v800l-300 -200h-300zM700 857l69 53q111 -135 111 -310q0 -169 -106 -302l-67 54q86 110 86 248q0 146 -93 257z" /> | ||
69 | <glyph unicode="" d="M974 186l6 8q142 178 142 405q0 230 -144 408l-6 8l-83 -64l7 -8q123 -151 123 -344q0 -189 -119 -339l-7 -8zM300 801l300 200v-800l-300 200h-300v400h300zM702 858l69 53q111 -135 111 -310q0 -170 -106 -303l-67 55q86 110 86 248q0 145 -93 257z" /> | ||
70 | <glyph unicode="" d="M100 700h400v100h100v100h-100v300h-500v-600h100v100zM1200 700v500h-600v-200h100v-300h200v-300h300v200h-200v100h200zM100 1100h300v-300h-300v300zM800 800v300h300v-300h-300zM200 900h100v100h-100v-100zM900 1000h100v-100h-100v100zM300 600h-100v-100h-200 v-500h500v500h-200v100zM900 200v-100h-200v100h-100v100h100v200h-200v100h300v-300h200v-100h-100zM400 400v-300h-300v300h300zM300 200h-100v100h100v-100zM1100 300h100v-100h-100v100zM600 100h100v-100h-100v100zM1200 100v-100h-300v100h300z" /> | ||
71 | <glyph unicode="" d="M100 1200h-100v-1000h100v1000zM300 200h-100v1000h100v-1000zM700 200h-200v1000h200v-1000zM900 200h-100v1000h100v-1000zM1200 1200v-1000h-200v1000h200zM400 100v-100h-300v100h300zM500 91h100v-91h-100v91zM700 91h100v-91h-100v91zM1100 91v-91h-200v91h200z " /> | ||
72 | <glyph unicode="" d="M1200 500l-500 -500l-699 700v475q0 10 7.5 17.5t17.5 7.5h474zM320 882q29 29 29 71t-29 71q-30 30 -71.5 30t-71.5 -30q-29 -29 -29 -71t29 -71q30 -30 71.5 -30t71.5 30z" /> | ||
73 | <glyph unicode="" d="M1201 500l-500 -500l-699 700v475q0 11 7 18t18 7h474zM1501 500l-500 -500l-50 50l450 450l-700 700h100zM320 882q30 29 30 71t-30 71q-29 30 -71 30t-71 -30q-30 -29 -30 -71t30 -71q29 -30 71 -30t71 30z" /> | ||
74 | <glyph unicode="" d="M1200 1200v-1000l-100 -100v1000h-750l-100 -100h750v-1000h-900v1025l175 175h925z" /> | ||
75 | <glyph unicode="" d="M947 829l-94 346q-2 11 -10 18t-18 7h-450q-10 0 -18 -7t-10 -18l-94 -346l40 -124h592zM1200 800v-700h-200v200h-800v-200h-200v700h200l100 -200h600l100 200h200zM881 176l38 -152q2 -10 -3.5 -17t-15.5 -7h-600q-10 0 -15.5 7t-3.5 17l38 152q2 10 11.5 17t19.5 7 h500q10 0 19.5 -7t11.5 -17z" /> | ||
76 | <glyph unicode="" d="M1200 0v66q-34 1 -74 43q-18 19 -33 42t-21 37l-6 13l-385 998h-93l-399 -1006q-24 -48 -52 -75q-12 -12 -33 -25t-36 -20l-15 -7v-66h365v66q-41 0 -72 11t-49 38t1 71l92 234h391l82 -222q16 -45 -5.5 -88.5t-74.5 -43.5v-66h417zM416 521l178 457l46 -140l116 -317 h-340z" /> | ||
77 | <glyph unicode="" d="M100 1199h471q120 0 213 -88t93 -228q0 -55 -11.5 -101.5t-28 -74t-33.5 -47.5t-28 -28l-12 -7q8 -3 21.5 -9t48 -31.5t60.5 -58t47.5 -91.5t21.5 -129q0 -84 -59 -156.5t-142 -111t-162 -38.5h-500v89q41 7 70.5 32.5t29.5 65.5v827q0 28 -1 39.5t-5.5 26t-15.5 21 t-29 14t-49 14.5v70zM400 1079v-379h139q76 0 130 61.5t54 138.5q0 82 -84 130.5t-239 48.5zM400 200h161q89 0 153 48.5t64 132.5q0 90 -62.5 154.5t-156.5 64.5h-159v-400z" /> | ||
78 | <glyph unicode="" d="M877 1200l2 -57q-33 -8 -62 -25.5t-46 -37t-29.5 -38t-17.5 -30.5l-5 -12l-128 -825q-10 -52 14 -82t95 -36v-57h-500v57q77 7 134.5 40.5t65.5 80.5l173 849q10 56 -10 74t-91 37q-6 1 -10.5 2.5t-9.5 2.5v57h425z" /> | ||
79 | <glyph unicode="" d="M1150 1200h150v-300h-50q0 29 -8 48.5t-18.5 30t-33.5 15t-39.5 5.5t-50.5 1h-200v-850l100 -50v-100h-400v100l100 50v850h-200q-34 0 -50.5 -1t-40 -5.5t-33.5 -15t-18.5 -30t-8.5 -48.5h-49v300h150h700zM100 1000v-800h75l-125 -167l-125 167h75v800h-75l125 167 l125 -167h-75z" /> | ||
80 | <glyph unicode="" d="M950 1201h150v-300h-50q0 29 -8 48.5t-18 30t-33.5 15t-40 5.5t-50.5 1h-200v-650l100 -50v-100h-400v100l100 50v650h-200q-34 0 -50.5 -1t-39.5 -5.5t-33.5 -15t-18.5 -30t-8 -48.5h-50v300h150h700zM200 101h800v75l167 -125l-167 -125v75h-800v-75l-167 125l167 125 v-75z" /> | ||
81 | <glyph unicode="" d="M700 950v100q0 21 -14.5 35.5t-35.5 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h600q21 0 35.5 15t14.5 35zM1100 650v100q0 21 -14.5 35.5t-35.5 14.5h-1000q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h1000 q21 0 35.5 15t14.5 35zM900 350v100q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35zM1200 50v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35 t35.5 -15h1100q21 0 35.5 15t14.5 35z" /> | ||
82 | <glyph unicode="" d="M1000 950v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35zM1200 650v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h1100 q21 0 35.5 15t14.5 35zM1000 350v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35zM1200 50v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35 t35.5 -15h1100q21 0 35.5 15t14.5 35z" /> | ||
83 | <glyph unicode="" d="M500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-600q-21 0 -35.5 15t-14.5 35zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1000q-21 0 -35.5 15 t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" /> | ||
84 | <glyph unicode="" d="M0 950v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15 t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" /> | ||
85 | <glyph unicode="" d="M0 950v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 950v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 650v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800 q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35zM0 50v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM300 50v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35z" /> | ||
86 | <glyph unicode="" d="M400 1100h-100v-1100h100v1100zM700 950v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35zM1100 650v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15 h500q20 0 35 15t15 35zM100 425v75h-201v100h201v75l166 -125zM900 350v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35zM1200 50v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5 v-100q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35z" /> | ||
87 | <glyph unicode="" d="M201 950v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35zM801 1100h100v-1100h-100v1100zM601 650v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15 h500q20 0 35 15t15 35zM1101 425v75h200v100h-200v75l-167 -125zM401 350v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35zM701 50v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5 v-100q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35z" /> | ||
88 | <glyph unicode="" d="M900 925v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53v650q0 31 22 53t53 22h750q31 0 53 -22t22 -53zM1200 300l-300 300l300 300v-600z" /> | ||
89 | <glyph unicode="" d="M1200 1056v-1012q0 -18 -12.5 -31t-31.5 -13h-1112q-18 0 -31 13t-13 31v1012q0 18 13 31t31 13h1112q19 0 31.5 -13t12.5 -31zM1100 1000h-1000v-737l247 182l298 -131l-74 156l293 318l236 -288v500zM476 750q0 -56 -39 -95t-95 -39t-95 39t-39 95t39 95t95 39t95 -39 t39 -95z" /> | ||
90 | <glyph unicode="" d="M600 1213q123 0 227 -63t164.5 -169.5t60.5 -229.5t-73 -272q-73 -114 -166.5 -237t-150.5 -189l-57 -66q-10 9 -27 26t-66.5 70.5t-96 109t-104 135.5t-100.5 155q-63 139 -63 262q0 124 60.5 231.5t165 172t226.5 64.5zM599 514q107 0 182.5 75.5t75.5 182.5t-75.5 182 t-182.5 75t-182 -75.5t-75 -181.5q0 -107 75.5 -182.5t181.5 -75.5z" /> | ||
91 | <glyph unicode="" d="M600 1199q122 0 233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233t47.5 233t127.5 191t191 127.5t233 47.5zM600 173v854q-176 0 -301.5 -125t-125.5 -302t125.5 -302t301.5 -125z " /> | ||
92 | <glyph unicode="" d="M554 1295q21 -71 57.5 -142.5t76 -130.5t83 -118.5t82 -117t70 -116t50 -125.5t18.5 -136q0 -89 -39 -165.5t-102 -126.5t-140 -79.5t-156 -33.5q-114 6 -211.5 53t-161.5 138.5t-64 210.5q0 94 34 186t88.5 172.5t112 159t115 177t87.5 194.5zM455 296q-7 6 -18 17 t-34 48t-33 77q-15 73 -14 143.5t10 122.5l9 51q-92 -110 -119.5 -185t-12.5 -156q14 -82 59.5 -136t136.5 -80z" /> | ||
93 | <glyph unicode="" d="M1108 902l113 113l-21 85l-92 28l-113 -113zM1100 625v-225q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5q366 -6 397 -14l-186 -186h-311q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v125zM436 341l161 50l412 412l-114 113l-405 -405z" /> | ||
94 | <glyph unicode="" d="M1100 453v-53q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5h261l2 -80q-133 -32 -218 -120h-145q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5z M813 431l360 324l-359 318v-216q-7 0 -19 -1t-48 -8t-69.5 -18.5t-76.5 -37t-76.5 -59t-62 -88t-39.5 -121.5q30 38 81.5 64t103 35.5t99 14t77.5 3.5l29 -1v-209z" /> | ||
95 | <glyph unicode="" d="M1100 569v-169q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5h300q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69z M625 348l566 567l-136 137l-430 -431l-147 147l-136 -136z" /> | ||
96 | <glyph unicode="" d="M900 303v198h-200v-200h195l-295 -300l-300 300h200v200h-200v-198l-300 300l300 296v-198h200v200h-200l300 300l295 -300h-195v-200h200v198l300 -296z" /> | ||
97 | <glyph unicode="" d="M900 0l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-1100z" /> | ||
98 | <glyph unicode="" d="M1200 0l-500 488v-488l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-487l500 487v-1100z" /> | ||
99 | <glyph unicode="" d="M1200 0l-500 488v-488l-564 550l564 550v-487l500 487v-1100z" /> | ||
100 | <glyph unicode="" d="M1100 550l-900 550v-1100z" /> | ||
101 | <glyph unicode="" d="M500 150v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM900 150v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -21 14.5 -35.5t35.5 -14.5h200 q21 0 35.5 14.5t14.5 35.5z" /> | ||
102 | <glyph unicode="" d="M1100 150v800q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-800q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35z" /> | ||
103 | <glyph unicode="" d="M500 0v488l-500 -488v1100l500 -487v487l564 -550z" /> | ||
104 | <glyph unicode="" d="M1050 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v488l-500 -488v1100l500 -487v487l500 -487v437q0 21 14.5 35.5t35.5 14.5z" /> | ||
105 | <glyph unicode="" d="M850 1100h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v1100l500 -487v437q0 21 14.5 35.5t35.5 14.5z" /> | ||
106 | <glyph unicode="" d="M650 1064l-550 -564h1100zM1200 350v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5z" /> | ||
107 | <glyph unicode="" d="M777 7l240 240l-353 353l353 353l-240 240l-592 -594z" /> | ||
108 | <glyph unicode="" d="M513 -46l-241 240l353 353l-353 353l241 240l572 -571l21 -22l-1 -1v-1z" /> | ||
109 | <glyph unicode="" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 900v-200h-200v-200h200v-200h200v200h200v200h-200v200h-200z" /> | ||
110 | <glyph unicode="" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM300 700v-200h600v200h-600z" /> | ||
111 | <glyph unicode="" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM247 741l141 -141l-142 -141l213 -213l141 142l141 -142l213 213l-142 141l142 141l-213 212l-141 -141 l-141 142z" /> | ||
112 | <glyph unicode="" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM546 623l-102 102l-174 -174l276 -277l411 411l-175 174z" /> | ||
113 | <glyph unicode="" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 500h200q5 3 14 8t31.5 25.5t39.5 45.5t31 69t14 94q0 51 -17.5 89t-42 58t-58.5 32t-58.5 15t-51.5 3 q-105 0 -172 -56t-67 -183h144q4 0 11.5 -1t11 -1t6.5 3t3 9t1 11t3.5 8.5t3.5 6t5.5 4t6.5 2.5t9 1.5t9 0.5h11.5h12.5q19 0 30 -10t11 -26q0 -22 -4 -28t-27 -22q-5 -1 -12.5 -3t-27 -13.5t-34 -27t-26.5 -46t-11 -68.5zM500 400v-100h200v100h-200z" /> | ||
114 | <glyph unicode="" d="M600 1197q162 0 299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5t80 299.5t217.5 217.5t299.5 80zM500 900v-100h200v100h-200zM400 700v-100h100v-200h-100v-100h400v100h-100v300h-300z" /> | ||
115 | <glyph unicode="" d="M1200 700v-200h-203q-25 -102 -116.5 -186t-180.5 -117v-197h-200v197q-140 27 -208 102.5t-98 200.5h-194v200h194q15 60 36 104.5t55.5 86t88 69t126.5 40.5v200h200v-200q54 -20 113 -60t112.5 -105.5t71.5 -134.5h203zM700 500v-206q149 48 201 206h-201v200h200 q-25 74 -76 127.5t-124 76.5v-204h-200v203q-75 -24 -130 -77.5t-79 -125.5h209v-200h-210q24 -73 79.5 -127.5t130.5 -78.5v206h200z" /> | ||
116 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM844 735 l-135 -135l135 -135l-109 -109l-135 135l-135 -135l-109 109l135 135l-135 135l109 109l135 -135l135 135z" /> | ||
117 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM896 654 l-346 -345l-228 228l141 141l87 -87l204 205z" /> | ||
118 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM248 385l568 567q-100 62 -216 62q-171 0 -292.5 -121.5t-121.5 -292.5q0 -115 62 -215zM955 809l-564 -564q97 -59 209 -59q171 0 292.5 121.5 t121.5 292.5q0 112 -59 209z" /> | ||
119 | <glyph unicode="" d="M1200 400h-600v-301l-600 448l600 453v-300h600v-300z" /> | ||
120 | <glyph unicode="" d="M600 400h-600v300h600v300l600 -453l-600 -448v301z" /> | ||
121 | <glyph unicode="" d="M1098 600h-298v-600h-300v600h-296l450 600z" /> | ||
122 | <glyph unicode="" d="M998 600l-449 -600l-445 600h296v600h300v-600h298z" /> | ||
123 | <glyph unicode="" d="M600 199v301q-95 -2 -183 -20t-170 -52t-147 -92.5t-100 -135.5q6 132 41 238.5t103.5 193t184 138t271.5 59.5v271l600 -453z" /> | ||
124 | <glyph unicode="" d="M1200 1200h-400l129 -129l-294 -294l142 -142l294 294l129 -129v400zM565 423l-294 -294l129 -129h-400v400l129 -129l294 294z" /> | ||
125 | <glyph unicode="" d="M871 730l129 -130h-400v400l129 -129l295 295l142 -141zM200 600h400v-400l-129 130l-295 -295l-142 141l295 295z" /> | ||
126 | <glyph unicode="" d="M600 1177q118 0 224.5 -45.5t184 -123t123 -184t45.5 -224.5t-45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5t45.5 224.5t123 184t184 123t224.5 45.5zM686 549l58 302q4 20 -8 34.5t-33 14.5h-207q-20 0 -32 -14.5t-8 -34.5 l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5t21.5 34.5zM700 400h-200v-100h200v100z" /> | ||
127 | <glyph unicode="" d="M1200 900h-111v6t-1 15t-3 18l-34 172q-11 39 -41.5 63t-69.5 24q-32 0 -61 -17l-239 -144q-22 -13 -40 -35q-19 24 -40 36l-238 144q-33 18 -62 18q-39 0 -69.5 -23t-40.5 -61l-35 -177q-2 -8 -3 -18t-1 -15v-6h-111v-100h100v-200h400v300h200v-300h400v200h100v100z M731 900l202 197q5 -12 12 -32.5t23 -64t25 -72t7 -28.5h-269zM481 900h-281q-3 0 14 48t35 96l18 47zM100 0h400v400h-400v-400zM700 400h400v-400h-400v400z" /> | ||
128 | <glyph unicode="" d="M0 121l216 193q-9 53 -13 83t-5.5 94t9 113t38.5 114t74 124q47 60 99.5 102.5t103 68t127.5 48t145.5 37.5t184.5 43.5t220 58.5q0 -189 -22 -343t-59 -258t-89 -181.5t-108.5 -120t-122 -68t-125.5 -30t-121.5 -1.5t-107.5 12.5t-87.5 17t-56.5 7.5l-99 -55l-201 -202 v143zM692 611q70 38 118.5 69.5t102 79t99 111.5t86.5 148q22 50 24 60t-6 19q-7 5 -17 5t-26.5 -14.5t-33.5 -39.5q-35 -51 -113.5 -108.5t-139.5 -89.5l-61 -32q-369 -197 -458 -401q-48 -111 -28.5 -117.5t86.5 76.5q55 66 367 234z" /> | ||
129 | <glyph unicode="" d="M1261 600l-26 -40q-6 -10 -20 -30t-49 -63.5t-74.5 -85.5t-97 -90t-116.5 -83.5t-132.5 -59t-145.5 -23.5t-145.5 23.5t-132.5 59t-116.5 83.5t-97 90t-74.5 85.5t-49 63.5t-20 30l-26 40l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5 t145.5 -23.5t132.5 -59t116.5 -83.5t97 -90t74.5 -85.5t49 -63.5t20 -30zM600 240q64 0 123.5 20t100.5 45.5t85.5 71.5t66.5 75.5t58 81.5t47 66q-1 1 -28.5 37.5t-42 55t-43.5 53t-57.5 63.5t-58.5 54q49 -74 49 -163q0 -124 -88 -212t-212 -88t-212 88t-88 212 q0 85 46 158q-102 -87 -226 -258q7 -10 40.5 -58t56 -78.5t68 -77.5t87.5 -75t103 -49.5t125 -21.5zM484 762l-107 -106q49 -124 154 -191l105 105q-37 24 -75 72t-57 84z" /> | ||
130 | <glyph unicode="" d="M906 1200l-314 -1200h-148l37 143q-82 21 -165 71.5t-140 102t-109.5 112t-72 88.5t-29.5 43l-26 40l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5q61 0 121 -17l37 142h148zM1261 600l-26 -40q-7 -12 -25.5 -38t-63.5 -79.5t-95.5 -102.5 t-124 -100t-146.5 -79l38 145q22 15 44.5 34t46 44t40.5 44t41 50.5t33.5 43.5t33 44t24.5 34q-97 127 -140 175l39 146q67 -54 131.5 -125.5t87.5 -103.5t36 -52zM513 264l37 141q-107 18 -178.5 101.5t-71.5 193.5q0 85 46 158q-102 -87 -226 -258q210 -282 393 -336z M484 762l-107 -106q49 -124 154 -191l47 47l23 87q-30 28 -59 69t-44 68z" /> | ||
131 | <glyph unicode="" d="M-47 0h1294q37 0 50.5 35.5t-7.5 67.5l-642 1056q-20 33 -48 36t-48 -29l-642 -1066q-21 -32 -7.5 -66t50.5 -34zM700 200v100h-200v-100h-345l445 723l445 -723h-345zM700 700h-200v-100l100 -300l100 300v100z" /> | ||
132 | <glyph unicode="" d="M800 711l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -91 100 -113v-64q0 -21 -13 -29t-32 1l-94 78h-222l-94 -78q-19 -9 -32 -1t-13 29v64q0 22 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5v41q0 20 11 44.5t26 38.5 l363 325v339q0 62 44 106t106 44t106 -44t44 -106v-339z" /> | ||
133 | <glyph unicode="" d="M941 800l-600 -600h-341v200h259l600 600h241v198l300 -295l-300 -300v197h-159zM381 678l141 142l-181 180h-341v-200h259zM1100 598l300 -295l-300 -300v197h-241l-181 181l141 142l122 -123h159v198z" /> | ||
134 | <glyph unicode="" d="M100 1100h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5z" /> | ||
135 | <glyph unicode="" d="M400 900h-300v300h300v-300zM1100 900h-300v300h300v-300zM1100 800v-200q0 -42 -3 -83t-15 -104t-31.5 -116t-58 -109.5t-89 -96.5t-129 -65.5t-174.5 -25.5t-174.5 25.5t-129 65.5t-89 96.5t-58 109.5t-31.5 116t-15 104t-3 83v200h300v-250q0 -113 6 -145 q17 -92 102 -117q39 -11 92 -11q37 0 66.5 5.5t50 15.5t36 24t24 31.5t14 37.5t7 42t2.5 45t0 47v25v250h300z" /> | ||
136 | <glyph unicode="" d="M902 184l226 227l-578 579l-580 -579l227 -227l352 353z" /> | ||
137 | <glyph unicode="" d="M650 218l578 579l-226 227l-353 -353l-352 353l-227 -227z" /> | ||
138 | <glyph unicode="" d="M1198 400v600h-796l215 -200h381v-400h-198l299 -283l299 283h-200zM-198 700l299 283l300 -283h-203v-400h385l215 -200h-800v600h-196z" /> | ||
139 | <glyph unicode="" d="M1050 1200h94q20 0 35 -14.5t15 -35.5t-15 -35.5t-35 -14.5h-54l-201 -961q-2 -4 -6 -10.5t-19 -17.5t-33 -11h-31v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-300v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-50q-21 0 -35.5 15t-14.5 35 q0 21 14.5 35.5t35.5 14.5h535l48 200h-633q-32 0 -54.5 21t-27.5 43l-100 475q-5 24 10 42q14 19 39 19h896l38 162q5 17 18.5 27.5t30.5 10.5z" /> | ||
140 | <glyph unicode="" d="M1200 1000v-100h-1200v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500zM0 800h1200v-800h-1200v800z" /> | ||
141 | <glyph unicode="" d="M201 800l-200 -400v600h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-200h-1000zM1501 700l-300 -700h-1200l300 700h1200z" /> | ||
142 | <glyph unicode="" d="M302 300h198v600h-198l298 300l298 -300h-198v-600h198l-298 -300z" /> | ||
143 | <glyph unicode="" d="M900 303v197h-600v-197l-300 297l300 298v-198h600v198l300 -298z" /> | ||
144 | <glyph unicode="" d="M31 400l172 739q5 22 23 41.5t38 19.5h672q19 0 37.5 -22.5t23.5 -45.5l172 -732h-1138zM100 300h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM900 200h-100v-100h100v100z M1100 200h-100v-100h100v100z" /> | ||
145 | <glyph unicode="" d="M1100 200v850q0 21 14.5 35.5t35.5 14.5q20 0 35 -14.5t15 -35.5v-850q0 -20 -15 -35t-35 -15q-21 0 -35.5 15t-14.5 35zM325 800l675 250v-850l-675 200h-38l47 -276q2 -12 -3 -17.5t-11 -6t-21 -0.5h-8h-83q-20 0 -34.5 14t-18.5 35q-56 337 -56 351v250v5 q0 13 0.5 18.5t2.5 13t8 10.5t15 3h200zM-101 600v50q0 24 25 49t50 38l25 13v-250l-11 5.5t-24 14t-30 21.5t-24 27.5t-11 31.5z" /> | ||
146 | <glyph unicode="" d="M445 1180l-45 -233l-224 78l78 -225l-233 -44l179 -156l-179 -155l233 -45l-78 -224l224 78l45 -233l155 179l155 -179l45 233l224 -78l-78 224l234 45l-180 155l180 156l-234 44l78 225l-224 -78l-45 233l-155 -180z" /> | ||
147 | <glyph unicode="" d="M700 1200h-50q-27 0 -51 -20t-38 -48l-96 -198l-145 -196q-20 -26 -20 -63v-400q0 -75 100 -75h61q123 -100 139 -100h250q46 0 83 57l238 344q29 31 29 74v100q0 44 -30.5 84.5t-69.5 40.5h-328q28 118 28 125v150q0 44 -30.5 84.5t-69.5 40.5zM700 925l-50 -225h450 v-125l-250 -375h-214l-136 100h-100v375l150 212l100 213h50v-175zM0 800v-600h200v600h-200z" /> | ||
148 | <glyph unicode="" d="M700 0h-50q-27 0 -51 20t-38 48l-96 198l-145 196q-20 26 -20 63v400q0 75 100 75h61q123 100 139 100h250q46 0 83 -57l238 -344q29 -31 29 -74v-100q0 -44 -30.5 -84.5t-69.5 -40.5h-328q28 -118 28 -125v-150q0 -44 -30.5 -84.5t-69.5 -40.5zM200 400h-200v600h200 v-600zM700 275l-50 225h450v125l-250 375h-214l-136 -100h-100v-375l150 -212l100 -213h50v175z" /> | ||
149 | <glyph unicode="" d="M364 873l362 230q14 6 25 6q17 0 29 -12l109 -112q14 -14 14 -34q0 -18 -11 -32l-85 -121h302q85 0 138.5 -38t53.5 -110t-54.5 -111t-138.5 -39h-107l-130 -339q-7 -22 -20.5 -41.5t-28.5 -19.5h-341q-7 0 -90 81t-83 94v525q0 17 14 35.5t28 28.5zM408 792v-503 l100 -89h293l131 339q6 21 19.5 41t28.5 20h203q16 0 25 15t9 36q0 20 -9 34.5t-25 14.5h-457h-6.5h-7.5t-6.5 0.5t-6 1t-5 1.5t-5.5 2.5t-4 4t-4 5.5q-5 12 -5 20q0 14 10 27l147 183l-86 83zM208 200h-200v600h200v-600z" /> | ||
150 | <glyph unicode="" d="M475 1104l365 -230q7 -4 16.5 -10.5t26 -26t16.5 -36.5v-526q0 -13 -85.5 -93.5t-93.5 -80.5h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-84 0 -139 39t-55 111t54 110t139 37h302l-85 121q-11 16 -11 32q0 21 14 34l109 113q13 12 29 12q11 0 25 -6zM370 946 l145 -184q10 -11 10 -26q0 -11 -5 -20q-1 -3 -3.5 -5.5l-4 -4t-5 -2.5t-5.5 -1.5t-6.5 -1t-6.5 -0.5h-7.5h-6.5h-476v-100h222q15 0 28.5 -20.5t19.5 -40.5l131 -339h293l106 89v502l-342 237zM1199 201h-200v600h200v-600z" /> | ||
151 | <glyph unicode="" d="M1100 473v342q0 15 -20 28.5t-41 19.5l-339 131v106q0 84 -39 139t-111 55t-110 -53.5t-38 -138.5v-302l-121 84q-15 12 -33.5 11.5t-32.5 -13.5l-112 -110q-22 -22 -6 -53l230 -363q4 -6 10.5 -15.5t26 -25t36.5 -15.5h525q13 0 94 83t81 90zM911 400h-503l-236 339 l83 86l183 -146q22 -18 47 -5q3 1 5.5 3.5l4 4t2.5 5t1.5 5.5t1 6.5t0.5 6v7.5v7v456q0 22 25 31t50 -0.5t25 -30.5v-202q0 -16 20 -29.5t41 -19.5l339 -130v-294zM1000 200v-200h-600v200h600z" /> | ||
152 | <glyph unicode="" d="M305 1104v200h600v-200h-600zM605 310l339 131q20 6 40.5 19.5t20.5 28.5v342q0 7 -81 90t-94 83h-525q-17 0 -35.5 -14t-28.5 -28l-10 -15l-230 -362q-15 -31 7 -53l112 -110q13 -13 32 -13.5t34 10.5l121 85l-1 -302q0 -84 38.5 -138t110.5 -54t111 55t39 139v106z M905 804v-294l-340 -130q-20 -6 -40 -20t-20 -29v-202q0 -22 -25 -31t-50 0t-25 31v456v14.5t-1.5 11.5t-5 12t-9.5 7q-24 13 -46 -5l-184 -146l-83 86l237 339h503z" /> | ||
153 | <glyph unicode="" d="M603 1195q162 0 299.5 -80t217.5 -218t80 -300t-80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM598 701h-298v-201h300l-2 -194l402 294l-402 298v-197z" /> | ||
154 | <glyph unicode="" d="M597 1195q122 0 232.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-218 -217.5t-300 -80t-299.5 80t-217.5 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t231.5 47.5zM200 600l400 -294v194h302v201h-300v197z" /> | ||
155 | <glyph unicode="" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM300 600h200v-300h200v300h200l-300 400z" /> | ||
156 | <glyph unicode="" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM500 900v-300h-200l300 -400l300 400h-200v300h-200z" /> | ||
157 | <glyph unicode="" d="M603 1195q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5zM627 1101q-15 -12 -36.5 -21t-34.5 -12t-44 -8t-39 -6 q-15 -3 -45.5 0.5t-45.5 -2.5q-21 -7 -52 -26.5t-34 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -90.5t-29.5 -79.5q-8 -33 5.5 -92.5t7.5 -87.5q0 -9 17 -44t16 -60q12 0 23 -5.5t23 -15t20 -13.5q24 -12 108 -42q22 -8 53 -31.5t59.5 -38.5t57.5 -11q8 -18 -15 -55 t-20 -57q42 -71 87 -80q0 -6 -3 -15.5t-3.5 -14.5t4.5 -17q102 -2 221 112q30 29 47 47t34.5 49t20.5 62q-14 9 -37 9.5t-36 7.5q-14 7 -49 15t-52 19q-9 0 -39.5 -0.5t-46.5 -1.5t-39 -6.5t-39 -16.5q-50 -35 -66 -12q-4 2 -3.5 25.5t0.5 25.5q-6 13 -26.5 17t-24.5 7 q2 22 -2 41t-16.5 28t-38.5 -20q-23 -25 -42 4q-19 28 -8 58q6 16 22 22q6 -1 26 -1.5t33.5 -4t19.5 -13.5q12 -19 32 -37.5t34 -27.5l14 -8q0 3 9.5 39.5t5.5 57.5q-4 23 14.5 44.5t22.5 31.5q5 14 10 35t8.5 31t15.5 22.5t34 21.5q-6 18 10 37q8 0 23.5 -1.5t24.5 -1.5 t20.5 4.5t20.5 15.5q-10 23 -30.5 42.5t-38 30t-49 26.5t-43.5 23q11 41 1 44q31 -13 58.5 -14.5t39.5 3.5l11 4q6 36 -17 53.5t-64 28.5t-56 23q-19 -3 -37 0zM613 994q0 -18 8 -42.5t16.5 -44t9.5 -23.5q-9 2 -31 5t-36 5t-32 8t-30 14q3 12 16 30t16 25q10 -10 18.5 -10 t14 6t14.5 14.5t16 12.5z" /> | ||
158 | <glyph unicode="" horiz-adv-x="1220" d="M100 1196h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 1096h-200v-100h200v100zM100 796h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 696h-500v-100h500v100zM100 396h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5v100q0 41 29.5 70.5t70.5 29.5zM1100 296h-300v-100h300v100z " /> | ||
159 | <glyph unicode="" d="M1100 1200v-100h-1000v100h1000zM150 1000h900l-350 -500v-300l-200 -200v500z" /> | ||
160 | <glyph unicode="" d="M329 729l142 142l-200 200l129 129h-400v-400l129 129zM1200 1200v-400l-129 129l-200 -200l-142 142l200 200l-129 129h400zM271 129l129 -129h-400v400l129 -129l200 200l142 -142zM1071 271l129 129v-400h-400l129 129l-200 200l142 142z" /> | ||
161 | <glyph unicode="" d="M596 1192q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM596 1010q-171 0 -292.5 -121.5t-121.5 -292.5q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5zM455 905 q22 0 38 -16t16 -39t-16 -39t-38 -16q-23 0 -39 16.5t-16 38.5t16 38.5t39 16.5zM708 821l1 1q-9 14 -9 28q0 22 16 38.5t39 16.5q22 0 38 -16t16 -39t-16 -39t-38 -16q-14 0 -29 10l-55 -145q17 -22 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5t-61.5 25.5t-25.5 61.5 q0 32 20.5 56.5t51.5 29.5zM855 709q23 0 38.5 -15.5t15.5 -38.5t-16 -39t-38 -16q-23 0 -39 16t-16 39q0 22 16 38t39 16zM345 709q23 0 39 -16t16 -38q0 -23 -16 -39t-39 -16q-22 0 -38 16t-16 39t15.5 38.5t38.5 15.5z" /> | ||
162 | <glyph unicode="" d="M649 54l-16 22q-90 125 -293 323q-71 70 -104.5 105.5t-77 89.5t-61 99t-17.5 91q0 131 98.5 229.5t230.5 98.5q143 0 241 -129q103 129 246 129q129 0 226 -98.5t97 -229.5q0 -46 -17.5 -91t-61 -99t-77 -89.5t-104.5 -105.5q-203 -198 -293 -323zM844 524l12 12 q64 62 97.5 97t64.5 79t31 72q0 71 -48 119t-105 48q-74 0 -132 -82l-118 -171l-114 174q-51 79 -123 79q-60 0 -109.5 -49t-49.5 -118q0 -27 30.5 -70t61.5 -75.5t95 -94.5l22 -22q93 -90 190 -201q82 92 195 203z" /> | ||
163 | <glyph unicode="" d="M476 406l19 -17l105 105l-212 212l389 389l247 -247l-95 -96l18 -18q46 -46 77 -99l29 29q35 35 62.5 88t27.5 96q0 93 -66 159l-141 141q-66 66 -159 66q-95 0 -159 -66l-283 -283q-66 -64 -66 -159q0 -93 66 -159zM123 193l141 -141q66 -66 159 -66q95 0 159 66 l283 283q66 66 66 159t-66 159l-141 141q-12 12 -19 17l-105 -105l212 -212l-389 -389l-247 248l95 95l-18 18q-46 45 -75 101l-55 -55q-66 -66 -66 -159q0 -94 66 -160z" /> | ||
164 | <glyph unicode="" d="M200 100v953q0 21 30 46t81 48t129 38t163 15t162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5zM900 1000h-600v-700h600v700zM600 46q43 0 73.5 30.5t30.5 73.5t-30.5 73.5t-73.5 30.5t-73.5 -30.5t-30.5 -73.5 t30.5 -73.5t73.5 -30.5z" /> | ||
165 | <glyph unicode="" d="M700 1029v-307l64 -14q34 -7 64 -16.5t70 -31.5t67.5 -52t47.5 -80.5t20 -112.5q0 -139 -89 -224t-244 -96v-77h-100v78q-152 17 -237 104q-40 40 -52.5 93.5t-15.5 139.5h139q5 -77 48.5 -126.5t117.5 -64.5v335l-27 7q-46 14 -79 26.5t-72 36t-62.5 52t-40 72.5 t-16.5 99q0 92 44 159.5t109 101t144 40.5v78h100v-79q38 -4 72.5 -13.5t75.5 -31.5t71 -53.5t51.5 -84t24.5 -118.5h-159q-8 72 -35 109.5t-101 50.5zM600 755v274q-61 -8 -97.5 -37.5t-36.5 -102.5q0 -29 8 -51t16.5 -34t29.5 -22.5t31 -13.5t38 -10q7 -2 11 -3zM700 548 v-311q170 18 170 151q0 64 -44 99.5t-126 60.5z" /> | ||
166 | <glyph unicode="" d="M866 300l50 -147q-41 -25 -80.5 -36.5t-59 -13t-61.5 -1.5q-23 0 -128 33t-155 29q-39 -4 -82 -17t-66 -25l-24 -11l-55 145l16.5 11t15.5 10t13.5 9.5t14.5 12t14.5 14t17.5 18.5q48 55 54 126.5t-30 142.5h-221v100h166q-24 49 -44 104q-10 26 -14.5 55.5t-3 72.5 t25 90t68.5 87q97 88 263 88q129 0 230 -89t101 -208h-153q0 52 -34 89.5t-74 51.5t-76 14q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -11 2.5 -24.5t5.5 -24t9.5 -26.5t10.5 -25t14 -27.5t14 -25.5t15.5 -27t13.5 -24h242v-100h-197q8 -50 -2.5 -115t-31.5 -94 q-41 -59 -99 -113q35 11 84 18t70 7q32 1 102 -16t104 -17q76 0 136 30z" /> | ||
167 | <glyph unicode="" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1200l298 -300h-198v-900h-200v900h-198z" /> | ||
168 | <glyph unicode="" d="M400 300h198l-298 -300l-298 300h198v900h200v-900zM1000 1200v-500h-100v100h-100v-100h-100v500h300zM901 1100h-100v-200h100v200zM700 500h300v-200h-99v-100h-100v100h99v100h-200v100zM800 100h200v-100h-300v200h100v-100z" /> | ||
169 | <glyph unicode="" d="M400 300h198l-298 -300l-298 300h198v900h200v-900zM1000 1200v-200h-99v-100h-100v100h99v100h-200v100h300zM800 800h200v-100h-300v200h100v-100zM700 500h300v-500h-100v100h-100v-100h-100v500zM801 200h100v200h-100v-200z" /> | ||
170 | <glyph unicode="" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1100h-100v100h200v-500h-100v400zM1100 500v-500h-100v100h-200v400h300zM1001 400h-100v-200h100v200z" /> | ||
171 | <glyph unicode="" d="M300 0l298 300h-198v900h-200v-900h-198zM1100 1200v-500h-100v100h-200v400h300zM1001 1100h-100v-200h100v200zM900 400h-100v100h200v-500h-100v400z" /> | ||
172 | <glyph unicode="" d="M300 0l298 300h-198v900h-200v-900h-198zM900 1000h-200v200h200v-200zM1000 700h-300v200h300v-200zM1100 400h-400v200h400v-200zM1200 100h-500v200h500v-200z" /> | ||
173 | <glyph unicode="" d="M300 0l298 300h-198v900h-200v-900h-198zM1200 1000h-500v200h500v-200zM1100 700h-400v200h400v-200zM1000 400h-300v200h300v-200zM900 100h-200v200h200v-200z" /> | ||
174 | <glyph unicode="" d="M400 1100h300q162 0 281 -118.5t119 -281.5v-300q0 -165 -118.5 -282.5t-281.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5v300q0 165 117.5 282.5t282.5 117.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5 t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5z" /> | ||
175 | <glyph unicode="" d="M700 0h-300q-163 0 -281.5 117.5t-118.5 282.5v300q0 163 119 281.5t281 118.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5zM800 900h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5 t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5zM400 800v-500l333 250z" /> | ||
176 | <glyph unicode="" d="M0 400v300q0 163 117.5 281.5t282.5 118.5h300q163 0 281.5 -119t118.5 -281v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM900 300v500q0 41 -29.5 70.5t-70.5 29.5h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5zM800 700h-500l250 -333z" /> | ||
177 | <glyph unicode="" d="M1100 700v-300q0 -162 -118.5 -281t-281.5 -119h-300q-165 0 -282.5 118.5t-117.5 281.5v300q0 165 117.5 282.5t282.5 117.5h300q165 0 282.5 -117.5t117.5 -282.5zM900 300v500q0 41 -29.5 70.5t-70.5 29.5h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5 t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5zM550 733l-250 -333h500z" /> | ||
178 | <glyph unicode="" d="M500 1100h400q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-400v200h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-500v200zM700 550l-400 -350v200h-300v300h300v200z" /> | ||
179 | <glyph unicode="" d="M403 2l9 -1q13 0 26 16l538 630q15 19 6 36q-8 18 -32 16h-300q1 4 78 219.5t79 227.5q2 17 -6 27l-8 8h-9q-16 0 -25 -15q-4 -5 -98.5 -111.5t-228 -257t-209.5 -238.5q-17 -19 -7 -40q10 -19 32 -19h302q-155 -438 -160 -458q-5 -21 4 -32z" /> | ||
180 | <glyph unicode="" d="M800 200h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h500v185q-14 4 -114 7.5t-193 5.5l-93 2q-165 0 -282.5 -117.5t-117.5 -282.5v-300q0 -165 117.5 -282.5t282.5 -117.5h300q47 0 100 15v185zM900 200v200h-300v300h300v200l400 -350z" /> | ||
181 | <glyph unicode="" d="M1200 700l-149 149l-342 -353l-213 213l353 342l-149 149h500v-500zM1022 571l-122 -123v-148q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h156l118 122l-74 78h-100q-165 0 -282.5 -117.5t-117.5 -282.5v-300 q0 -165 117.5 -282.5t282.5 -117.5h300q163 0 281.5 117.5t118.5 282.5v98z" /> | ||
182 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM600 794 q80 0 137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137t57 137t137 57z" /> | ||
183 | <glyph unicode="" d="M700 800v400h-300v-400h-300l445 -500l450 500h-295zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" /> | ||
184 | <glyph unicode="" d="M400 700v-300h300v300h295l-445 500l-450 -500h300zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" /> | ||
185 | <glyph unicode="" d="M405 400l596 596l-154 155l-442 -442l-150 151l-155 -155zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" /> | ||
186 | <glyph unicode="" d="M409 1103l-97 97l-212 -212l97 -98zM650 861l-149 149l-212 -212l149 -149l-238 -248h700v699zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" /> | ||
187 | <glyph unicode="" d="M539 950l-149 -149l212 -212l149 148l248 -237v700h-699zM297 709l-97 -97l212 -212l98 97zM25 300h1048q11 0 19 -7.5t8 -17.5v-275h-1100v275q0 11 7 18t18 7zM1000 200h-100v-50h100v50z" /> | ||
188 | <glyph unicode="" d="M1200 1199v-1079l-475 272l-310 -393v416h-392zM1166 1148l-672 -712v-226z" /> | ||
189 | <glyph unicode="" d="M1100 1000v-850q0 -21 -15 -35.5t-35 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100zM700 1200h-100v-200h100v200z" /> | ||
190 | <glyph unicode="" d="M578 500h-378v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-218l-276 -275l-120 120zM700 1200h-100v-200h100v200zM1300 538l-475 -476l-244 244l123 123l120 -120l353 352z" /> | ||
191 | <glyph unicode="" d="M529 500h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-269l-103 -103l-170 170zM700 1200h-100v-200h100v200zM1167 6l-170 170l-170 -170l-127 127l170 170l-170 170l127 127l170 -170l170 170l127 -128 l-170 -169l170 -170z" /> | ||
192 | <glyph unicode="" d="M700 500h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-300h-400v-200zM700 1000h-100v200h100v-200zM1000 600h-200v-300h-200l300 -300l300 300h-200v300z" /> | ||
193 | <glyph unicode="" d="M602 500h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-402l-200 200zM700 1000h-100v200h100v-200zM1000 300h200l-300 300l-300 -300h200v-300h200v300z" /> | ||
194 | <glyph unicode="" d="M1200 900v150q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-150h1200zM0 800v-550q0 -21 14.5 -35.5t35.5 -14.5h1100q21 0 35.5 14.5t14.5 35.5v550h-1200zM100 500h400v-200h-400v200z" /> | ||
195 | <glyph unicode="" d="M500 1000h400v198l300 -298l-300 -298v198h-400v200zM100 800v200h100v-200h-100zM400 800h-100v200h100v-200zM700 300h-400v-198l-300 298l300 298v-198h400v-200zM800 500h100v-200h-100v200zM1000 500v-200h100v200h-100z" /> | ||
196 | <glyph unicode="" d="M1200 50v1106q0 31 -18 40.5t-44 -7.5l-276 -117q-25 -16 -43.5 -50.5t-18.5 -65.5v-359q0 -29 10.5 -55.5t25 -43t29 -28.5t25.5 -18l10 -5v-397q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5zM550 1200l50 -100v-400l-100 -203v-447q0 -21 -14.5 -35.5 t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447l-100 203v400l50 100l50 -100v-300h100v300l50 100l50 -100v-300h100v300z" /> | ||
197 | <glyph unicode="" d="M1100 106v888q0 22 25 34.5t50 13.5l25 2v56h-400v-56q75 0 87.5 -6t12.5 -44v-394h-500v394q0 38 12.5 44t87.5 6v56h-400v-56q4 0 11 -0.5t24 -3t30 -7t24 -15t11 -24.5v-888q0 -22 -25 -34.5t-50 -13.5l-25 -2v-56h400v56q-75 0 -87.5 6t-12.5 44v394h500v-394 q0 -38 -12.5 -44t-87.5 -6v-56h400v56q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5z" /> | ||
198 | <glyph unicode="" d="M675 1000l-100 100h-375l-100 -100h400l200 -200v-98l295 98h105v200h-425zM500 300v500q0 41 -29.5 70.5t-70.5 29.5h-300q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h300q41 0 70.5 29.5t29.5 70.5zM100 800h300v-200h-300v200zM700 565l400 133 v-163l-400 -133v163zM100 500h300v-200h-300v200zM805 300l295 98v-298h-425l-100 -100h-375l-100 100h400l200 200h105z" /> | ||
199 | <glyph unicode="" d="M179 1169l-162 -162q-1 -11 -0.5 -32.5t16 -90t46.5 -140t104 -177.5t175 -208q103 -103 207.5 -176t180 -103.5t137 -47t92.5 -16.5l31 1l163 162q16 17 13 40.5t-22 37.5l-192 136q-19 14 -45 12t-42 -19l-119 -118q-143 103 -267 227q-126 126 -227 268l118 118 q17 17 20 41.5t-11 44.5l-139 194q-14 19 -36.5 22t-40.5 -14z" /> | ||
200 | <glyph unicode="" d="M1200 712v200q-6 8 -19 20.5t-63 45t-112 57t-171 45t-235 20.5q-92 0 -175 -10.5t-141.5 -27t-108.5 -36.5t-81.5 -40t-53.5 -36.5t-31 -27.5l-9 -10v-200q0 -21 14.5 -33.5t34.5 -8.5l202 33q20 4 34.5 21t14.5 38v146q141 24 300 24t300 -24v-146q0 -21 14.5 -38 t34.5 -21l202 -33q20 -4 34.5 8.5t14.5 33.5zM800 650l365 -303q14 -14 24.5 -39.5t10.5 -45.5v-212q0 -21 -15 -35.5t-35 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5v212q0 20 10.5 45.5t24.5 39.5l365 303v50q0 4 1 10.5t12 22.5t30 28.5t60 23t97 10.5t97 -10t60 -23.5 t30 -27.5t12 -24l1 -10v-50z" /> | ||
201 | <glyph unicode="" d="M175 200h950l-125 150v250l100 100v400h-100v-200h-100v200h-200v-200h-100v200h-200v-200h-100v200h-100v-400l100 -100v-250zM1200 100v-100h-1100v100h1100z" /> | ||
202 | <glyph unicode="" d="M600 1100h100q41 0 70.5 -29.5t29.5 -70.5v-1000h-300v1000q0 41 29.5 70.5t70.5 29.5zM1000 800h100q41 0 70.5 -29.5t29.5 -70.5v-700h-300v700q0 41 29.5 70.5t70.5 29.5zM400 0v400q0 41 -29.5 70.5t-70.5 29.5h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-400h300z" /> | ||
203 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-300h200v-100h-200v-100h300v300h-200v100h200v100h-300zM800 800h-200v-500h200v100h100v300h-100 v100zM800 700v-300h-100v300h100z" /> | ||
204 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM400 600h-100v200h-100v-500h100v200h100v-200h100v500h-100v-200zM800 800h-200v-500h200v100h100v300h-100 v100zM800 700v-300h-100v300h100z" /> | ||
205 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-500h300v100h-200v300h200v100h-300zM600 800v-500h300v100h-200v300h200v100h-300z" /> | ||
206 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM500 700l-300 -150l300 -150v300zM600 400l300 150l-300 150v-300z" /> | ||
207 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM900 800v-500h-700v500h700zM300 400h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130v-300zM800 700h-130 q-38 0 -66.5 -43t-28.5 -108t27 -107t68 -42h130v300z" /> | ||
208 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM200 800v-300h200v-100h-200v-100h300v300h-200v100h200v100h-300zM800 300h100v500h-200v-100h100v-400z M601 300h100v100h-100v-100z" /> | ||
209 | <glyph unicode="" d="M1200 800v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212zM1000 900h-900v-700h900v700zM300 700v100h-100v-500h300v400h-200zM800 300h100v500h-200v-100h100v-400zM401 400h-100v200h100v-200z M601 300h100v100h-100v-100z" /> | ||
210 | <glyph unicode="" d="M200 1100h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212v500q0 124 88 212t212 88zM1000 900h-900v-700h900v700zM400 700h-200v100h300v-300h-99v-100h-100v100h99v200zM800 700h-100v100h200v-500h-100v400zM201 400h100v-100 h-100v100zM701 300h-100v100h100v-100z" /> | ||
211 | <glyph unicode="" d="M600 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM600 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM800 700h-300 v-200h300v-100h-300l-100 100v200l100 100h300v-100z" /> | ||
212 | <glyph unicode="" d="M596 1196q162 0 299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299t80 299t217 217t299 80zM596 1014q-171 0 -292.5 -121.5t-121.5 -292.5t121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5zM800 700v-100 h-100v100h-200v-100h200v-100h-200v-100h-100v400h300zM800 400h-100v100h100v-100z" /> | ||
213 | <glyph unicode="" d="M800 300h128q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57h222v300h400v-300zM700 200h200l-300 -300 l-300 300h200v300h200v-300z" /> | ||
214 | <glyph unicode="" d="M600 714l403 -403q94 26 154.5 104t60.5 178q0 121 -85 207.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5q0 -80 56.5 -137t135.5 -57h8zM700 -100h-200v300h-200l300 300 l300 -300h-200v-300z" /> | ||
215 | <glyph unicode="" d="M700 200h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170l-270 -300h400v-155l-75 -45h350l-75 45v155z" /> | ||
216 | <glyph unicode="" d="M700 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -12t1 -11q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5 q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350z" /> | ||
217 | <glyph unicode="💼" d="M800 1000h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5h200q41 0 70.5 -29.5t29.5 -70.5v-100zM500 1000h200v100h-200v-100zM1200 400v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5v200h1200z" /> | ||
218 | <glyph unicode="📅" d="M1100 900v150q0 21 -14.5 35.5t-35.5 14.5h-150v100h-100v-100h-500v100h-100v-100h-150q-21 0 -35.5 -14.5t-14.5 -35.5v-150h1100zM0 800v-750q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v750h-1100zM100 600h100v-100h-100v100zM300 600h100v-100h-100v100z M500 600h100v-100h-100v100zM700 600h100v-100h-100v100zM900 600h100v-100h-100v100zM100 400h100v-100h-100v100zM300 400h100v-100h-100v100zM500 400h100v-100h-100v100zM700 400h100v-100h-100v100zM900 400h100v-100h-100v100zM100 200h100v-100h-100v100zM300 200 h100v-100h-100v100zM500 200h100v-100h-100v100zM700 200h100v-100h-100v100zM900 200h100v-100h-100v100z" /> | ||
219 | <glyph unicode="📌" d="M902 1185l283 -282q15 -15 15 -36t-15 -35q-14 -15 -35 -15t-35 15l-36 35l-279 -267v-300l-212 210l-208 -207l-380 -303l303 380l207 208l-210 212h300l267 279l-35 36q-15 14 -15 35t15 35q14 15 35 15t35 -15z" /> | ||
220 | <glyph unicode="📎" d="M518 119l69 -60l517 511q67 67 95 157t11 183q-16 87 -67 154t-130 103q-69 33 -152 33q-107 0 -197 -55q-40 -24 -111 -95l-512 -512q-68 -68 -81 -163t35 -173q35 -57 94 -89t129 -32q63 0 119 28q33 16 65 40.5t52.5 45.5t59.5 64q40 44 57 61l394 394q35 35 47 84 t-3 96q-27 87 -117 104q-20 2 -29 2q-46 0 -79.5 -17t-67.5 -51l-388 -396l-7 -7l69 -67l377 373q20 22 39 38q23 23 50 23q38 0 53 -36q16 -39 -20 -75l-547 -547q-52 -52 -125 -52q-55 0 -100 33t-54 96q-5 35 2.5 66t31.5 63t42 50t56 54q24 21 44 41l348 348 q52 52 82.5 79.5t84 54t107.5 26.5q25 0 48 -4q95 -17 154 -94.5t51 -175.5q-7 -101 -98 -192l-252 -249l-253 -256z" /> | ||
221 | <glyph unicode="📷" d="M1200 200v600q0 41 -29.5 70.5t-70.5 29.5h-150q-4 8 -11.5 21.5t-33 48t-53 61t-69 48t-83.5 21.5h-200q-41 0 -82 -20.5t-70 -50t-52 -59t-34 -50.5l-12 -20h-150q-41 0 -70.5 -29.5t-29.5 -70.5v-600q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5z M1000 700h-100v100h100v-100zM844 500q0 -100 -72 -172t-172 -72t-172 72t-72 172t72 172t172 72t172 -72t72 -172zM706 500q0 44 -31 75t-75 31t-75 -31t-31 -75t31 -75t75 -31t75 31t31 75z" /> | ||
222 | <glyph unicode="🔒" d="M900 800h100q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-900q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h100v200q0 82 59 141t141 59h300q82 0 141 -59t59 -141v-200zM400 800h300v150q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-150z" /> | ||
223 | <glyph unicode="🔔" d="M1062 400h17q20 0 33.5 -14.5t13.5 -35.5q0 -20 -13 -40t-31 -27q-22 -9 -63 -23t-167.5 -37t-251.5 -23t-245.5 20.5t-178.5 41.5l-58 20q-18 7 -31 27.5t-13 40.5q0 21 13.5 35.5t33.5 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3 32t29 13h94 q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327zM600 104q-54 0 -103 6q12 -49 40 -79.5t63 -30.5t63 30.5t39 79.5q-48 -6 -102 -6z" /> | ||
224 | <glyph unicode="🔖" d="M200 0l450 444l450 -443v1150q0 20 -14.5 35t-35.5 15h-800q-21 0 -35.5 -15t-14.5 -35v-1151z" /> | ||
225 | <glyph unicode="🔥" d="M400 755q2 -12 8 -41.5t8 -43t6 -39.5t3.5 -39.5t-1 -33.5t-6 -31.5t-13.5 -24t-21 -20.5t-31 -12q-38 -10 -67 13t-40.5 61.5t-15 81.5t10.5 75q-52 -46 -83.5 -101t-39 -107t-7.5 -85t5 -63q9 -56 44 -119.5t105 -108.5q31 -21 64 -16t62 23.5t57 49.5t48 61.5t35 60.5 q32 66 39 184.5t-13 157.5q79 -80 122 -164t26 -184q-5 -33 -20.5 -69.5t-37.5 -80.5q-10 -19 -14.5 -29t-12 -26t-9 -23.5t-3 -19t2.5 -15.5t11 -9.5t19.5 -5t30.5 2.5t42 8q57 20 91 34t87.5 44.5t87 64t65.5 88.5t47 122q38 172 -44.5 341.5t-246.5 278.5q22 -44 43 -129 q39 -159 -32 -154q-15 2 -33 9q-79 33 -120.5 100t-44 175.5t48.5 257.5q-13 -8 -34 -23.5t-72.5 -66.5t-88.5 -105.5t-60 -138t-8 -166.5z" /> | ||
226 | <glyph unicode="🔧" d="M948 778l251 126q13 -175 -151 -267q-123 -70 -253 -23l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5t15 37.5l600 599q-33 101 6 201.5t135 154.5q164 92 306 -9l-259 -138z" /> | ||
227 | </font> | ||
228 | </defs></svg> |
Binary files differ
Binary files differ
mouchak/static/js/editor.js
(4 / 4)
  | |||
12 | 12 | 'click #menu-config': 'showMenu', | |
13 | 13 | }, | |
14 | 14 | initialize: function() { | |
15 | _.bindAll(this); | ||
15 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
16 | 16 | _.bind(this.render, this); | |
17 | 17 | this.template = _.template($('#page-list-template').html()); | |
18 | 18 | this.listTemplate = _.template($('#page-list-item-template').html()); | |
… | … | ||
106 | 106 | 'click .content .remove': 'removeContent' | |
107 | 107 | }, | |
108 | 108 | initialize: function() { | |
109 | _.bindAll(this); | ||
109 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
110 | 110 | _.bind(this.render, this); | |
111 | 111 | this.editing = false; | |
112 | 112 | this.edit_idx = -1; | |
… | … | ||
269 | 269 | 'change .contentview select': 'typeChanged' | |
270 | 270 | }, | |
271 | 271 | initialize: function() { | |
272 | _.bindAll(this); | ||
272 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
273 | 273 | _.bind(this.render, this); | |
274 | 274 | ||
275 | 275 | $('#pages').hide(); | |
… | … | ||
359 | 359 | 'click #updateMenu': 'saveMenu' | |
360 | 360 | }, | |
361 | 361 | initialize: function() { | |
362 | _.bindAll(this); | ||
362 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
363 | 363 | this.template = _.template($('#menu-config-template').html()); | |
364 | 364 | }, | |
365 | 365 | render: function() { |
mouchak/static/js/lib/backbone-1.0.0.js
(0 / 1571)
  | |||
1 | // Backbone.js 1.0.0 | ||
2 | |||
3 | // (c) 2010-2013 Jeremy Ashkenas, DocumentCloud Inc. | ||
4 | // Backbone may be freely distributed under the MIT license. | ||
5 | // For all details and documentation: | ||
6 | // http://backbonejs.org | ||
7 | |||
8 | (function(){ | ||
9 | |||
10 | // Initial Setup | ||
11 | // ------------- | ||
12 | |||
13 | // Save a reference to the global object (`window` in the browser, `exports` | ||
14 | // on the server). | ||
15 | var root = this; | ||
16 | |||
17 | // Save the previous value of the `Backbone` variable, so that it can be | ||
18 | // restored later on, if `noConflict` is used. | ||
19 | var previousBackbone = root.Backbone; | ||
20 | |||
21 | // Create local references to array methods we'll want to use later. | ||
22 | var array = []; | ||
23 | var push = array.push; | ||
24 | var slice = array.slice; | ||
25 | var splice = array.splice; | ||
26 | |||
27 | // The top-level namespace. All public Backbone classes and modules will | ||
28 | // be attached to this. Exported for both the browser and the server. | ||
29 | var Backbone; | ||
30 | if (typeof exports !== 'undefined') { | ||
31 | Backbone = exports; | ||
32 | } else { | ||
33 | Backbone = root.Backbone = {}; | ||
34 | } | ||
35 | |||
36 | // Current version of the library. Keep in sync with `package.json`. | ||
37 | Backbone.VERSION = '1.0.0'; | ||
38 | |||
39 | // Require Underscore, if we're on the server, and it's not already present. | ||
40 | var _ = root._; | ||
41 | if (!_ && (typeof require !== 'undefined')) _ = require('underscore'); | ||
42 | |||
43 | // For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns | ||
44 | // the `$` variable. | ||
45 | Backbone.$ = root.jQuery || root.Zepto || root.ender || root.$; | ||
46 | |||
47 | // Runs Backbone.js in *noConflict* mode, returning the `Backbone` variable | ||
48 | // to its previous owner. Returns a reference to this Backbone object. | ||
49 | Backbone.noConflict = function() { | ||
50 | root.Backbone = previousBackbone; | ||
51 | return this; | ||
52 | }; | ||
53 | |||
54 | // Turn on `emulateHTTP` to support legacy HTTP servers. Setting this option | ||
55 | // will fake `"PUT"` and `"DELETE"` requests via the `_method` parameter and | ||
56 | // set a `X-Http-Method-Override` header. | ||
57 | Backbone.emulateHTTP = false; | ||
58 | |||
59 | // Turn on `emulateJSON` to support legacy servers that can't deal with direct | ||
60 | // `application/json` requests ... will encode the body as | ||
61 | // `application/x-www-form-urlencoded` instead and will send the model in a | ||
62 | // form param named `model`. | ||
63 | Backbone.emulateJSON = false; | ||
64 | |||
65 | // Backbone.Events | ||
66 | // --------------- | ||
67 | |||
68 | // A module that can be mixed in to *any object* in order to provide it with | ||
69 | // custom events. You may bind with `on` or remove with `off` callback | ||
70 | // functions to an event; `trigger`-ing an event fires all callbacks in | ||
71 | // succession. | ||
72 | // | ||
73 | // var object = {}; | ||
74 | // _.extend(object, Backbone.Events); | ||
75 | // object.on('expand', function(){ alert('expanded'); }); | ||
76 | // object.trigger('expand'); | ||
77 | // | ||
78 | var Events = Backbone.Events = { | ||
79 | |||
80 | // Bind an event to a `callback` function. Passing `"all"` will bind | ||
81 | // the callback to all events fired. | ||
82 | on: function(name, callback, context) { | ||
83 | if (!eventsApi(this, 'on', name, [callback, context]) || !callback) return this; | ||
84 | this._events || (this._events = {}); | ||
85 | var events = this._events[name] || (this._events[name] = []); | ||
86 | events.push({callback: callback, context: context, ctx: context || this}); | ||
87 | return this; | ||
88 | }, | ||
89 | |||
90 | // Bind an event to only be triggered a single time. After the first time | ||
91 | // the callback is invoked, it will be removed. | ||
92 | once: function(name, callback, context) { | ||
93 | if (!eventsApi(this, 'once', name, [callback, context]) || !callback) return this; | ||
94 | var self = this; | ||
95 | var once = _.once(function() { | ||
96 | self.off(name, once); | ||
97 | callback.apply(this, arguments); | ||
98 | }); | ||
99 | once._callback = callback; | ||
100 | return this.on(name, once, context); | ||
101 | }, | ||
102 | |||
103 | // Remove one or many callbacks. If `context` is null, removes all | ||
104 | // callbacks with that function. If `callback` is null, removes all | ||
105 | // callbacks for the event. If `name` is null, removes all bound | ||
106 | // callbacks for all events. | ||
107 | off: function(name, callback, context) { | ||
108 | var retain, ev, events, names, i, l, j, k; | ||
109 | if (!this._events || !eventsApi(this, 'off', name, [callback, context])) return this; | ||
110 | if (!name && !callback && !context) { | ||
111 | this._events = {}; | ||
112 | return this; | ||
113 | } | ||
114 | |||
115 | names = name ? [name] : _.keys(this._events); | ||
116 | for (i = 0, l = names.length; i < l; i++) { | ||
117 | name = names[i]; | ||
118 | if (events = this._events[name]) { | ||
119 | this._events[name] = retain = []; | ||
120 | if (callback || context) { | ||
121 | for (j = 0, k = events.length; j < k; j++) { | ||
122 | ev = events[j]; | ||
123 | if ((callback && callback !== ev.callback && callback !== ev.callback._callback) || | ||
124 | (context && context !== ev.context)) { | ||
125 | retain.push(ev); | ||
126 | } | ||
127 | } | ||
128 | } | ||
129 | if (!retain.length) delete this._events[name]; | ||
130 | } | ||
131 | } | ||
132 | |||
133 | return this; | ||
134 | }, | ||
135 | |||
136 | // Trigger one or many events, firing all bound callbacks. Callbacks are | ||
137 | // passed the same arguments as `trigger` is, apart from the event name | ||
138 | // (unless you're listening on `"all"`, which will cause your callback to | ||
139 | // receive the true name of the event as the first argument). | ||
140 | trigger: function(name) { | ||
141 | if (!this._events) return this; | ||
142 | var args = slice.call(arguments, 1); | ||
143 | if (!eventsApi(this, 'trigger', name, args)) return this; | ||
144 | var events = this._events[name]; | ||
145 | var allEvents = this._events.all; | ||
146 | if (events) triggerEvents(events, args); | ||
147 | if (allEvents) triggerEvents(allEvents, arguments); | ||
148 | return this; | ||
149 | }, | ||
150 | |||
151 | // Tell this object to stop listening to either specific events ... or | ||
152 | // to every object it's currently listening to. | ||
153 | stopListening: function(obj, name, callback) { | ||
154 | var listeners = this._listeners; | ||
155 | if (!listeners) return this; | ||
156 | var deleteListener = !name && !callback; | ||
157 | if (typeof name === 'object') callback = this; | ||
158 | if (obj) (listeners = {})[obj._listenerId] = obj; | ||
159 | for (var id in listeners) { | ||
160 | listeners[id].off(name, callback, this); | ||
161 | if (deleteListener) delete this._listeners[id]; | ||
162 | } | ||
163 | return this; | ||
164 | } | ||
165 | |||
166 | }; | ||
167 | |||
168 | // Regular expression used to split event strings. | ||
169 | var eventSplitter = /\s+/; | ||
170 | |||
171 | // Implement fancy features of the Events API such as multiple event | ||
172 | // names `"change blur"` and jQuery-style event maps `{change: action}` | ||
173 | // in terms of the existing API. | ||
174 | var eventsApi = function(obj, action, name, rest) { | ||
175 | if (!name) return true; | ||
176 | |||
177 | // Handle event maps. | ||
178 | if (typeof name === 'object') { | ||
179 | for (var key in name) { | ||
180 | obj[action].apply(obj, [key, name[key]].concat(rest)); | ||
181 | } | ||
182 | return false; | ||
183 | } | ||
184 | |||
185 | // Handle space separated event names. | ||
186 | if (eventSplitter.test(name)) { | ||
187 | var names = name.split(eventSplitter); | ||
188 | for (var i = 0, l = names.length; i < l; i++) { | ||
189 | obj[action].apply(obj, [names[i]].concat(rest)); | ||
190 | } | ||
191 | return false; | ||
192 | } | ||
193 | |||
194 | return true; | ||
195 | }; | ||
196 | |||
197 | // A difficult-to-believe, but optimized internal dispatch function for | ||
198 | // triggering events. Tries to keep the usual cases speedy (most internal | ||
199 | // Backbone events have 3 arguments). | ||
200 | var triggerEvents = function(events, args) { | ||
201 | var ev, i = -1, l = events.length, a1 = args[0], a2 = args[1], a3 = args[2]; | ||
202 | switch (args.length) { | ||
203 | case 0: while (++i < l) (ev = events[i]).callback.call(ev.ctx); return; | ||
204 | case 1: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1); return; | ||
205 | case 2: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1, a2); return; | ||
206 | case 3: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1, a2, a3); return; | ||
207 | default: while (++i < l) (ev = events[i]).callback.apply(ev.ctx, args); | ||
208 | } | ||
209 | }; | ||
210 | |||
211 | var listenMethods = {listenTo: 'on', listenToOnce: 'once'}; | ||
212 | |||
213 | // Inversion-of-control versions of `on` and `once`. Tell *this* object to | ||
214 | // listen to an event in another object ... keeping track of what it's | ||
215 | // listening to. | ||
216 | _.each(listenMethods, function(implementation, method) { | ||
217 | Events[method] = function(obj, name, callback) { | ||
218 | var listeners = this._listeners || (this._listeners = {}); | ||
219 | var id = obj._listenerId || (obj._listenerId = _.uniqueId('l')); | ||
220 | listeners[id] = obj; | ||
221 | if (typeof name === 'object') callback = this; | ||
222 | obj[implementation](name, callback, this); | ||
223 | return this; | ||
224 | }; | ||
225 | }); | ||
226 | |||
227 | // Aliases for backwards compatibility. | ||
228 | Events.bind = Events.on; | ||
229 | Events.unbind = Events.off; | ||
230 | |||
231 | // Allow the `Backbone` object to serve as a global event bus, for folks who | ||
232 | // want global "pubsub" in a convenient place. | ||
233 | _.extend(Backbone, Events); | ||
234 | |||
235 | // Backbone.Model | ||
236 | // -------------- | ||
237 | |||
238 | // Backbone **Models** are the basic data object in the framework -- | ||
239 | // frequently representing a row in a table in a database on your server. | ||
240 | // A discrete chunk of data and a bunch of useful, related methods for | ||
241 | // performing computations and transformations on that data. | ||
242 | |||
243 | // Create a new model with the specified attributes. A client id (`cid`) | ||
244 | // is automatically generated and assigned for you. | ||
245 | var Model = Backbone.Model = function(attributes, options) { | ||
246 | var defaults; | ||
247 | var attrs = attributes || {}; | ||
248 | options || (options = {}); | ||
249 | this.cid = _.uniqueId('c'); | ||
250 | this.attributes = {}; | ||
251 | _.extend(this, _.pick(options, modelOptions)); | ||
252 | if (options.parse) attrs = this.parse(attrs, options) || {}; | ||
253 | if (defaults = _.result(this, 'defaults')) { | ||
254 | attrs = _.defaults({}, attrs, defaults); | ||
255 | } | ||
256 | this.set(attrs, options); | ||
257 | this.changed = {}; | ||
258 | this.initialize.apply(this, arguments); | ||
259 | }; | ||
260 | |||
261 | // A list of options to be attached directly to the model, if provided. | ||
262 | var modelOptions = ['url', 'urlRoot', 'collection']; | ||
263 | |||
264 | // Attach all inheritable methods to the Model prototype. | ||
265 | _.extend(Model.prototype, Events, { | ||
266 | |||
267 | // A hash of attributes whose current and previous value differ. | ||
268 | changed: null, | ||
269 | |||
270 | // The value returned during the last failed validation. | ||
271 | validationError: null, | ||
272 | |||
273 | // The default name for the JSON `id` attribute is `"id"`. MongoDB and | ||
274 | // CouchDB users may want to set this to `"_id"`. | ||
275 | idAttribute: 'id', | ||
276 | |||
277 | // Initialize is an empty function by default. Override it with your own | ||
278 | // initialization logic. | ||
279 | initialize: function(){}, | ||
280 | |||
281 | // Return a copy of the model's `attributes` object. | ||
282 | toJSON: function(options) { | ||
283 | return _.clone(this.attributes); | ||
284 | }, | ||
285 | |||
286 | // Proxy `Backbone.sync` by default -- but override this if you need | ||
287 | // custom syncing semantics for *this* particular model. | ||
288 | sync: function() { | ||
289 | return Backbone.sync.apply(this, arguments); | ||
290 | }, | ||
291 | |||
292 | // Get the value of an attribute. | ||
293 | get: function(attr) { | ||
294 | return this.attributes[attr]; | ||
295 | }, | ||
296 | |||
297 | // Get the HTML-escaped value of an attribute. | ||
298 | escape: function(attr) { | ||
299 | return _.escape(this.get(attr)); | ||
300 | }, | ||
301 | |||
302 | // Returns `true` if the attribute contains a value that is not null | ||
303 | // or undefined. | ||
304 | has: function(attr) { | ||
305 | return this.get(attr) != null; | ||
306 | }, | ||
307 | |||
308 | // Set a hash of model attributes on the object, firing `"change"`. This is | ||
309 | // the core primitive operation of a model, updating the data and notifying | ||
310 | // anyone who needs to know about the change in state. The heart of the beast. | ||
311 | set: function(key, val, options) { | ||
312 | var attr, attrs, unset, changes, silent, changing, prev, current; | ||
313 | if (key == null) return this; | ||
314 | |||
315 | // Handle both `"key", value` and `{key: value}` -style arguments. | ||
316 | if (typeof key === 'object') { | ||
317 | attrs = key; | ||
318 | options = val; | ||
319 | } else { | ||
320 | (attrs = {})[key] = val; | ||
321 | } | ||
322 | |||
323 | options || (options = {}); | ||
324 | |||
325 | // Run validation. | ||
326 | if (!this._validate(attrs, options)) return false; | ||
327 | |||
328 | // Extract attributes and options. | ||
329 | unset = options.unset; | ||
330 | silent = options.silent; | ||
331 | changes = []; | ||
332 | changing = this._changing; | ||
333 | this._changing = true; | ||
334 | |||
335 | if (!changing) { | ||
336 | this._previousAttributes = _.clone(this.attributes); | ||
337 | this.changed = {}; | ||
338 | } | ||
339 | current = this.attributes, prev = this._previousAttributes; | ||
340 | |||
341 | // Check for changes of `id`. | ||
342 | if (this.idAttribute in attrs) this.id = attrs[this.idAttribute]; | ||
343 | |||
344 | // For each `set` attribute, update or delete the current value. | ||
345 | for (attr in attrs) { | ||
346 | val = attrs[attr]; | ||
347 | if (!_.isEqual(current[attr], val)) changes.push(attr); | ||
348 | if (!_.isEqual(prev[attr], val)) { | ||
349 | this.changed[attr] = val; | ||
350 | } else { | ||
351 | delete this.changed[attr]; | ||
352 | } | ||
353 | unset ? delete current[attr] : current[attr] = val; | ||
354 | } | ||
355 | |||
356 | // Trigger all relevant attribute changes. | ||
357 | if (!silent) { | ||
358 | if (changes.length) this._pending = true; | ||
359 | for (var i = 0, l = changes.length; i < l; i++) { | ||
360 | this.trigger('change:' + changes[i], this, current[changes[i]], options); | ||
361 | } | ||
362 | } | ||
363 | |||
364 | // You might be wondering why there's a `while` loop here. Changes can | ||
365 | // be recursively nested within `"change"` events. | ||
366 | if (changing) return this; | ||
367 | if (!silent) { | ||
368 | while (this._pending) { | ||
369 | this._pending = false; | ||
370 | this.trigger('change', this, options); | ||
371 | } | ||
372 | } | ||
373 | this._pending = false; | ||
374 | this._changing = false; | ||
375 | return this; | ||
376 | }, | ||
377 | |||
378 | // Remove an attribute from the model, firing `"change"`. `unset` is a noop | ||
379 | // if the attribute doesn't exist. | ||
380 | unset: function(attr, options) { | ||
381 | return this.set(attr, void 0, _.extend({}, options, {unset: true})); | ||
382 | }, | ||
383 | |||
384 | // Clear all attributes on the model, firing `"change"`. | ||
385 | clear: function(options) { | ||
386 | var attrs = {}; | ||
387 | for (var key in this.attributes) attrs[key] = void 0; | ||
388 | return this.set(attrs, _.extend({}, options, {unset: true})); | ||
389 | }, | ||
390 | |||
391 | // Determine if the model has changed since the last `"change"` event. | ||
392 | // If you specify an attribute name, determine if that attribute has changed. | ||
393 | hasChanged: function(attr) { | ||
394 | if (attr == null) return !_.isEmpty(this.changed); | ||
395 | return _.has(this.changed, attr); | ||
396 | }, | ||
397 | |||
398 | // Return an object containing all the attributes that have changed, or | ||
399 | // false if there are no changed attributes. Useful for determining what | ||
400 | // parts of a view need to be updated and/or what attributes need to be | ||
401 | // persisted to the server. Unset attributes will be set to undefined. | ||
402 | // You can also pass an attributes object to diff against the model, | ||
403 | // determining if there *would be* a change. | ||
404 | changedAttributes: function(diff) { | ||
405 | if (!diff) return this.hasChanged() ? _.clone(this.changed) : false; | ||
406 | var val, changed = false; | ||
407 | var old = this._changing ? this._previousAttributes : this.attributes; | ||
408 | for (var attr in diff) { | ||
409 | if (_.isEqual(old[attr], (val = diff[attr]))) continue; | ||
410 | (changed || (changed = {}))[attr] = val; | ||
411 | } | ||
412 | return changed; | ||
413 | }, | ||
414 | |||
415 | // Get the previous value of an attribute, recorded at the time the last | ||
416 | // `"change"` event was fired. | ||
417 | previous: function(attr) { | ||
418 | if (attr == null || !this._previousAttributes) return null; | ||
419 | return this._previousAttributes[attr]; | ||
420 | }, | ||
421 | |||
422 | // Get all of the attributes of the model at the time of the previous | ||
423 | // `"change"` event. | ||
424 | previousAttributes: function() { | ||
425 | return _.clone(this._previousAttributes); | ||
426 | }, | ||
427 | |||
428 | // Fetch the model from the server. If the server's representation of the | ||
429 | // model differs from its current attributes, they will be overridden, | ||
430 | // triggering a `"change"` event. | ||
431 | fetch: function(options) { | ||
432 | options = options ? _.clone(options) : {}; | ||
433 | if (options.parse === void 0) options.parse = true; | ||
434 | var model = this; | ||
435 | var success = options.success; | ||
436 | options.success = function(resp) { | ||
437 | if (!model.set(model.parse(resp, options), options)) return false; | ||
438 | if (success) success(model, resp, options); | ||
439 | model.trigger('sync', model, resp, options); | ||
440 | }; | ||
441 | wrapError(this, options); | ||
442 | return this.sync('read', this, options); | ||
443 | }, | ||
444 | |||
445 | // Set a hash of model attributes, and sync the model to the server. | ||
446 | // If the server returns an attributes hash that differs, the model's | ||
447 | // state will be `set` again. | ||
448 | save: function(key, val, options) { | ||
449 | var attrs, method, xhr, attributes = this.attributes; | ||
450 | |||
451 | // Handle both `"key", value` and `{key: value}` -style arguments. | ||
452 | if (key == null || typeof key === 'object') { | ||
453 | attrs = key; | ||
454 | options = val; | ||
455 | } else { | ||
456 | (attrs = {})[key] = val; | ||
457 | } | ||
458 | |||
459 | // If we're not waiting and attributes exist, save acts as `set(attr).save(null, opts)`. | ||
460 | if (attrs && (!options || !options.wait) && !this.set(attrs, options)) return false; | ||
461 | |||
462 | options = _.extend({validate: true}, options); | ||
463 | |||
464 | // Do not persist invalid models. | ||
465 | if (!this._validate(attrs, options)) return false; | ||
466 | |||
467 | // Set temporary attributes if `{wait: true}`. | ||
468 | if (attrs && options.wait) { | ||
469 | this.attributes = _.extend({}, attributes, attrs); | ||
470 | } | ||
471 | |||
472 | // After a successful server-side save, the client is (optionally) | ||
473 | // updated with the server-side state. | ||
474 | if (options.parse === void 0) options.parse = true; | ||
475 | var model = this; | ||
476 | var success = options.success; | ||
477 | options.success = function(resp) { | ||
478 | // Ensure attributes are restored during synchronous saves. | ||
479 | model.attributes = attributes; | ||
480 | var serverAttrs = model.parse(resp, options); | ||
481 | if (options.wait) serverAttrs = _.extend(attrs || {}, serverAttrs); | ||
482 | if (_.isObject(serverAttrs) && !model.set(serverAttrs, options)) { | ||
483 | return false; | ||
484 | } | ||
485 | if (success) success(model, resp, options); | ||
486 | model.trigger('sync', model, resp, options); | ||
487 | }; | ||
488 | wrapError(this, options); | ||
489 | |||
490 | method = this.isNew() ? 'create' : (options.patch ? 'patch' : 'update'); | ||
491 | if (method === 'patch') options.attrs = attrs; | ||
492 | xhr = this.sync(method, this, options); | ||
493 | |||
494 | // Restore attributes. | ||
495 | if (attrs && options.wait) this.attributes = attributes; | ||
496 | |||
497 | return xhr; | ||
498 | }, | ||
499 | |||
500 | // Destroy this model on the server if it was already persisted. | ||
501 | // Optimistically removes the model from its collection, if it has one. | ||
502 | // If `wait: true` is passed, waits for the server to respond before removal. | ||
503 | destroy: function(options) { | ||
504 | options = options ? _.clone(options) : {}; | ||
505 | var model = this; | ||
506 | var success = options.success; | ||
507 | |||
508 | var destroy = function() { | ||
509 | model.trigger('destroy', model, model.collection, options); | ||
510 | }; | ||
511 | |||
512 | options.success = function(resp) { | ||
513 | if (options.wait || model.isNew()) destroy(); | ||
514 | if (success) success(model, resp, options); | ||
515 | if (!model.isNew()) model.trigger('sync', model, resp, options); | ||
516 | }; | ||
517 | |||
518 | if (this.isNew()) { | ||
519 | options.success(); | ||
520 | return false; | ||
521 | } | ||
522 | wrapError(this, options); | ||
523 | |||
524 | var xhr = this.sync('delete', this, options); | ||
525 | if (!options.wait) destroy(); | ||
526 | return xhr; | ||
527 | }, | ||
528 | |||
529 | // Default URL for the model's representation on the server -- if you're | ||
530 | // using Backbone's restful methods, override this to change the endpoint | ||
531 | // that will be called. | ||
532 | url: function() { | ||
533 | var base = _.result(this, 'urlRoot') || _.result(this.collection, 'url') || urlError(); | ||
534 | if (this.isNew()) return base; | ||
535 | return base + (base.charAt(base.length - 1) === '/' ? '' : '/') + encodeURIComponent(this.id); | ||
536 | }, | ||
537 | |||
538 | // **parse** converts a response into the hash of attributes to be `set` on | ||
539 | // the model. The default implementation is just to pass the response along. | ||
540 | parse: function(resp, options) { | ||
541 | return resp; | ||
542 | }, | ||
543 | |||
544 | // Create a new model with identical attributes to this one. | ||
545 | clone: function() { | ||
546 | return new this.constructor(this.attributes); | ||
547 | }, | ||
548 | |||
549 | // A model is new if it has never been saved to the server, and lacks an id. | ||
550 | isNew: function() { | ||
551 | return this.id == null; | ||
552 | }, | ||
553 | |||
554 | // Check if the model is currently in a valid state. | ||
555 | isValid: function(options) { | ||
556 | return this._validate({}, _.extend(options || {}, { validate: true })); | ||
557 | }, | ||
558 | |||
559 | // Run validation against the next complete set of model attributes, | ||
560 | // returning `true` if all is well. Otherwise, fire an `"invalid"` event. | ||
561 | _validate: function(attrs, options) { | ||
562 | if (!options.validate || !this.validate) return true; | ||
563 | attrs = _.extend({}, this.attributes, attrs); | ||
564 | var error = this.validationError = this.validate(attrs, options) || null; | ||
565 | if (!error) return true; | ||
566 | this.trigger('invalid', this, error, _.extend(options || {}, {validationError: error})); | ||
567 | return false; | ||
568 | } | ||
569 | |||
570 | }); | ||
571 | |||
572 | // Underscore methods that we want to implement on the Model. | ||
573 | var modelMethods = ['keys', 'values', 'pairs', 'invert', 'pick', 'omit']; | ||
574 | |||
575 | // Mix in each Underscore method as a proxy to `Model#attributes`. | ||
576 | _.each(modelMethods, function(method) { | ||
577 | Model.prototype[method] = function() { | ||
578 | var args = slice.call(arguments); | ||
579 | args.unshift(this.attributes); | ||
580 | return _[method].apply(_, args); | ||
581 | }; | ||
582 | }); | ||
583 | |||
584 | // Backbone.Collection | ||
585 | // ------------------- | ||
586 | |||
587 | // If models tend to represent a single row of data, a Backbone Collection is | ||
588 | // more analagous to a table full of data ... or a small slice or page of that | ||
589 | // table, or a collection of rows that belong together for a particular reason | ||
590 | // -- all of the messages in this particular folder, all of the documents | ||
591 | // belonging to this particular author, and so on. Collections maintain | ||
592 | // indexes of their models, both in order, and for lookup by `id`. | ||
593 | |||
594 | // Create a new **Collection**, perhaps to contain a specific type of `model`. | ||
595 | // If a `comparator` is specified, the Collection will maintain | ||
596 | // its models in sort order, as they're added and removed. | ||
597 | var Collection = Backbone.Collection = function(models, options) { | ||
598 | options || (options = {}); | ||
599 | if (options.url) this.url = options.url; | ||
600 | if (options.model) this.model = options.model; | ||
601 | if (options.comparator !== void 0) this.comparator = options.comparator; | ||
602 | this._reset(); | ||
603 | this.initialize.apply(this, arguments); | ||
604 | if (models) this.reset(models, _.extend({silent: true}, options)); | ||
605 | }; | ||
606 | |||
607 | // Default options for `Collection#set`. | ||
608 | var setOptions = {add: true, remove: true, merge: true}; | ||
609 | var addOptions = {add: true, merge: false, remove: false}; | ||
610 | |||
611 | // Define the Collection's inheritable methods. | ||
612 | _.extend(Collection.prototype, Events, { | ||
613 | |||
614 | // The default model for a collection is just a **Backbone.Model**. | ||
615 | // This should be overridden in most cases. | ||
616 | model: Model, | ||
617 | |||
618 | // Initialize is an empty function by default. Override it with your own | ||
619 | // initialization logic. | ||
620 | initialize: function(){}, | ||
621 | |||
622 | // The JSON representation of a Collection is an array of the | ||
623 | // models' attributes. | ||
624 | toJSON: function(options) { | ||
625 | return this.map(function(model){ return model.toJSON(options); }); | ||
626 | }, | ||
627 | |||
628 | // Proxy `Backbone.sync` by default. | ||
629 | sync: function() { | ||
630 | return Backbone.sync.apply(this, arguments); | ||
631 | }, | ||
632 | |||
633 | // Add a model, or list of models to the set. | ||
634 | add: function(models, options) { | ||
635 | return this.set(models, _.defaults(options || {}, addOptions)); | ||
636 | }, | ||
637 | |||
638 | // Remove a model, or a list of models from the set. | ||
639 | remove: function(models, options) { | ||
640 | models = _.isArray(models) ? models.slice() : [models]; | ||
641 | options || (options = {}); | ||
642 | var i, l, index, model; | ||
643 | for (i = 0, l = models.length; i < l; i++) { | ||
644 | model = this.get(models[i]); | ||
645 | if (!model) continue; | ||
646 | delete this._byId[model.id]; | ||
647 | delete this._byId[model.cid]; | ||
648 | index = this.indexOf(model); | ||
649 | this.models.splice(index, 1); | ||
650 | this.length--; | ||
651 | if (!options.silent) { | ||
652 | options.index = index; | ||
653 | model.trigger('remove', model, this, options); | ||
654 | } | ||
655 | this._removeReference(model); | ||
656 | } | ||
657 | return this; | ||
658 | }, | ||
659 | |||
660 | // Update a collection by `set`-ing a new list of models, adding new ones, | ||
661 | // removing models that are no longer present, and merging models that | ||
662 | // already exist in the collection, as necessary. Similar to **Model#set**, | ||
663 | // the core operation for updating the data contained by the collection. | ||
664 | set: function(models, options) { | ||
665 | options = _.defaults(options || {}, setOptions); | ||
666 | if (options.parse) models = this.parse(models, options); | ||
667 | if (!_.isArray(models)) models = models ? [models] : []; | ||
668 | var i, l, model, attrs, existing, sort; | ||
669 | var at = options.at; | ||
670 | var sortable = this.comparator && (at == null) && options.sort !== false; | ||
671 | var sortAttr = _.isString(this.comparator) ? this.comparator : null; | ||
672 | var toAdd = [], toRemove = [], modelMap = {}; | ||
673 | |||
674 | // Turn bare objects into model references, and prevent invalid models | ||
675 | // from being added. | ||
676 | for (i = 0, l = models.length; i < l; i++) { | ||
677 | if (!(model = this._prepareModel(models[i], options))) continue; | ||
678 | |||
679 | // If a duplicate is found, prevent it from being added and | ||
680 | // optionally merge it into the existing model. | ||
681 | if (existing = this.get(model)) { | ||
682 | if (options.remove) modelMap[existing.cid] = true; | ||
683 | if (options.merge) { | ||
684 | existing.set(model.attributes, options); | ||
685 | if (sortable && !sort && existing.hasChanged(sortAttr)) sort = true; | ||
686 | } | ||
687 | |||
688 | // This is a new model, push it to the `toAdd` list. | ||
689 | } else if (options.add) { | ||
690 | toAdd.push(model); | ||
691 | |||
692 | // Listen to added models' events, and index models for lookup by | ||
693 | // `id` and by `cid`. | ||
694 | model.on('all', this._onModelEvent, this); | ||
695 | this._byId[model.cid] = model; | ||
696 | if (model.id != null) this._byId[model.id] = model; | ||
697 | } | ||
698 | } | ||
699 | |||
700 | // Remove nonexistent models if appropriate. | ||
701 | if (options.remove) { | ||
702 | for (i = 0, l = this.length; i < l; ++i) { | ||
703 | if (!modelMap[(model = this.models[i]).cid]) toRemove.push(model); | ||
704 | } | ||
705 | if (toRemove.length) this.remove(toRemove, options); | ||
706 | } | ||
707 | |||
708 | // See if sorting is needed, update `length` and splice in new models. | ||
709 | if (toAdd.length) { | ||
710 | if (sortable) sort = true; | ||
711 | this.length += toAdd.length; | ||
712 | if (at != null) { | ||
713 | splice.apply(this.models, [at, 0].concat(toAdd)); | ||
714 | } else { | ||
715 | push.apply(this.models, toAdd); | ||
716 | } | ||
717 | } | ||
718 | |||
719 | // Silently sort the collection if appropriate. | ||
720 | if (sort) this.sort({silent: true}); | ||
721 | |||
722 | if (options.silent) return this; | ||
723 | |||
724 | // Trigger `add` events. | ||
725 | for (i = 0, l = toAdd.length; i < l; i++) { | ||
726 | (model = toAdd[i]).trigger('add', model, this, options); | ||
727 | } | ||
728 | |||
729 | // Trigger `sort` if the collection was sorted. | ||
730 | if (sort) this.trigger('sort', this, options); | ||
731 | return this; | ||
732 | }, | ||
733 | |||
734 | // When you have more items than you want to add or remove individually, | ||
735 | // you can reset the entire set with a new list of models, without firing | ||
736 | // any granular `add` or `remove` events. Fires `reset` when finished. | ||
737 | // Useful for bulk operations and optimizations. | ||
738 | reset: function(models, options) { | ||
739 | options || (options = {}); | ||
740 | for (var i = 0, l = this.models.length; i < l; i++) { | ||
741 | this._removeReference(this.models[i]); | ||
742 | } | ||
743 | options.previousModels = this.models; | ||
744 | this._reset(); | ||
745 | this.add(models, _.extend({silent: true}, options)); | ||
746 | if (!options.silent) this.trigger('reset', this, options); | ||
747 | return this; | ||
748 | }, | ||
749 | |||
750 | // Add a model to the end of the collection. | ||
751 | push: function(model, options) { | ||
752 | model = this._prepareModel(model, options); | ||
753 | this.add(model, _.extend({at: this.length}, options)); | ||
754 | return model; | ||
755 | }, | ||
756 | |||
757 | // Remove a model from the end of the collection. | ||
758 | pop: function(options) { | ||
759 | var model = this.at(this.length - 1); | ||
760 | this.remove(model, options); | ||
761 | return model; | ||
762 | }, | ||
763 | |||
764 | // Add a model to the beginning of the collection. | ||
765 | unshift: function(model, options) { | ||
766 | model = this._prepareModel(model, options); | ||
767 | this.add(model, _.extend({at: 0}, options)); | ||
768 | return model; | ||
769 | }, | ||
770 | |||
771 | // Remove a model from the beginning of the collection. | ||
772 | shift: function(options) { | ||
773 | var model = this.at(0); | ||
774 | this.remove(model, options); | ||
775 | return model; | ||
776 | }, | ||
777 | |||
778 | // Slice out a sub-array of models from the collection. | ||
779 | slice: function(begin, end) { | ||
780 | return this.models.slice(begin, end); | ||
781 | }, | ||
782 | |||
783 | // Get a model from the set by id. | ||
784 | get: function(obj) { | ||
785 | if (obj == null) return void 0; | ||
786 | return this._byId[obj.id != null ? obj.id : obj.cid || obj]; | ||
787 | }, | ||
788 | |||
789 | // Get the model at the given index. | ||
790 | at: function(index) { | ||
791 | return this.models[index]; | ||
792 | }, | ||
793 | |||
794 | // Return models with matching attributes. Useful for simple cases of | ||
795 | // `filter`. | ||
796 | where: function(attrs, first) { | ||
797 | if (_.isEmpty(attrs)) return first ? void 0 : []; | ||
798 | return this[first ? 'find' : 'filter'](function(model) { | ||
799 | for (var key in attrs) { | ||
800 | if (attrs[key] !== model.get(key)) return false; | ||
801 | } | ||
802 | return true; | ||
803 | }); | ||
804 | }, | ||
805 | |||
806 | // Return the first model with matching attributes. Useful for simple cases | ||
807 | // of `find`. | ||
808 | findWhere: function(attrs) { | ||
809 | return this.where(attrs, true); | ||
810 | }, | ||
811 | |||
812 | // Force the collection to re-sort itself. You don't need to call this under | ||
813 | // normal circumstances, as the set will maintain sort order as each item | ||
814 | // is added. | ||
815 | sort: function(options) { | ||
816 | if (!this.comparator) throw new Error('Cannot sort a set without a comparator'); | ||
817 | options || (options = {}); | ||
818 | |||
819 | // Run sort based on type of `comparator`. | ||
820 | if (_.isString(this.comparator) || this.comparator.length === 1) { | ||
821 | this.models = this.sortBy(this.comparator, this); | ||
822 | } else { | ||
823 | this.models.sort(_.bind(this.comparator, this)); | ||
824 | } | ||
825 | |||
826 | if (!options.silent) this.trigger('sort', this, options); | ||
827 | return this; | ||
828 | }, | ||
829 | |||
830 | // Figure out the smallest index at which a model should be inserted so as | ||
831 | // to maintain order. | ||
832 | sortedIndex: function(model, value, context) { | ||
833 | value || (value = this.comparator); | ||
834 | var iterator = _.isFunction(value) ? value : function(model) { | ||
835 | return model.get(value); | ||
836 | }; | ||
837 | return _.sortedIndex(this.models, model, iterator, context); | ||
838 | }, | ||
839 | |||
840 | // Pluck an attribute from each model in the collection. | ||
841 | pluck: function(attr) { | ||
842 | return _.invoke(this.models, 'get', attr); | ||
843 | }, | ||
844 | |||
845 | // Fetch the default set of models for this collection, resetting the | ||
846 | // collection when they arrive. If `reset: true` is passed, the response | ||
847 | // data will be passed through the `reset` method instead of `set`. | ||
848 | fetch: function(options) { | ||
849 | options = options ? _.clone(options) : {}; | ||
850 | if (options.parse === void 0) options.parse = true; | ||
851 | var success = options.success; | ||
852 | var collection = this; | ||
853 | options.success = function(resp) { | ||
854 | var method = options.reset ? 'reset' : 'set'; | ||
855 | collection[method](resp, options); | ||
856 | if (success) success(collection, resp, options); | ||
857 | collection.trigger('sync', collection, resp, options); | ||
858 | }; | ||
859 | wrapError(this, options); | ||
860 | return this.sync('read', this, options); | ||
861 | }, | ||
862 | |||
863 | // Create a new instance of a model in this collection. Add the model to the | ||
864 | // collection immediately, unless `wait: true` is passed, in which case we | ||
865 | // wait for the server to agree. | ||
866 | create: function(model, options) { | ||
867 | options = options ? _.clone(options) : {}; | ||
868 | if (!(model = this._prepareModel(model, options))) return false; | ||
869 | if (!options.wait) this.add(model, options); | ||
870 | var collection = this; | ||
871 | var success = options.success; | ||
872 | options.success = function(resp) { | ||
873 | if (options.wait) collection.add(model, options); | ||
874 | if (success) success(model, resp, options); | ||
875 | }; | ||
876 | model.save(null, options); | ||
877 | return model; | ||
878 | }, | ||
879 | |||
880 | // **parse** converts a response into a list of models to be added to the | ||
881 | // collection. The default implementation is just to pass it through. | ||
882 | parse: function(resp, options) { | ||
883 | return resp; | ||
884 | }, | ||
885 | |||
886 | // Create a new collection with an identical list of models as this one. | ||
887 | clone: function() { | ||
888 | return new this.constructor(this.models); | ||
889 | }, | ||
890 | |||
891 | // Private method to reset all internal state. Called when the collection | ||
892 | // is first initialized or reset. | ||
893 | _reset: function() { | ||
894 | this.length = 0; | ||
895 | this.models = []; | ||
896 | this._byId = {}; | ||
897 | }, | ||
898 | |||
899 | // Prepare a hash of attributes (or other model) to be added to this | ||
900 | // collection. | ||
901 | _prepareModel: function(attrs, options) { | ||
902 | if (attrs instanceof Model) { | ||
903 | if (!attrs.collection) attrs.collection = this; | ||
904 | return attrs; | ||
905 | } | ||
906 | options || (options = {}); | ||
907 | options.collection = this; | ||
908 | var model = new this.model(attrs, options); | ||
909 | if (!model._validate(attrs, options)) { | ||
910 | this.trigger('invalid', this, attrs, options); | ||
911 | return false; | ||
912 | } | ||
913 | return model; | ||
914 | }, | ||
915 | |||
916 | // Internal method to sever a model's ties to a collection. | ||
917 | _removeReference: function(model) { | ||
918 | if (this === model.collection) delete model.collection; | ||
919 | model.off('all', this._onModelEvent, this); | ||
920 | }, | ||
921 | |||
922 | // Internal method called every time a model in the set fires an event. | ||
923 | // Sets need to update their indexes when models change ids. All other | ||
924 | // events simply proxy through. "add" and "remove" events that originate | ||
925 | // in other collections are ignored. | ||
926 | _onModelEvent: function(event, model, collection, options) { | ||
927 | if ((event === 'add' || event === 'remove') && collection !== this) return; | ||
928 | if (event === 'destroy') this.remove(model, options); | ||
929 | if (model && event === 'change:' + model.idAttribute) { | ||
930 | delete this._byId[model.previous(model.idAttribute)]; | ||
931 | if (model.id != null) this._byId[model.id] = model; | ||
932 | } | ||
933 | this.trigger.apply(this, arguments); | ||
934 | } | ||
935 | |||
936 | }); | ||
937 | |||
938 | // Underscore methods that we want to implement on the Collection. | ||
939 | // 90% of the core usefulness of Backbone Collections is actually implemented | ||
940 | // right here: | ||
941 | var methods = ['forEach', 'each', 'map', 'collect', 'reduce', 'foldl', | ||
942 | 'inject', 'reduceRight', 'foldr', 'find', 'detect', 'filter', 'select', | ||
943 | 'reject', 'every', 'all', 'some', 'any', 'include', 'contains', 'invoke', | ||
944 | 'max', 'min', 'toArray', 'size', 'first', 'head', 'take', 'initial', 'rest', | ||
945 | 'tail', 'drop', 'last', 'without', 'indexOf', 'shuffle', 'lastIndexOf', | ||
946 | 'isEmpty', 'chain']; | ||
947 | |||
948 | // Mix in each Underscore method as a proxy to `Collection#models`. | ||
949 | _.each(methods, function(method) { | ||
950 | Collection.prototype[method] = function() { | ||
951 | var args = slice.call(arguments); | ||
952 | args.unshift(this.models); | ||
953 | return _[method].apply(_, args); | ||
954 | }; | ||
955 | }); | ||
956 | |||
957 | // Underscore methods that take a property name as an argument. | ||
958 | var attributeMethods = ['groupBy', 'countBy', 'sortBy']; | ||
959 | |||
960 | // Use attributes instead of properties. | ||
961 | _.each(attributeMethods, function(method) { | ||
962 | Collection.prototype[method] = function(value, context) { | ||
963 | var iterator = _.isFunction(value) ? value : function(model) { | ||
964 | return model.get(value); | ||
965 | }; | ||
966 | return _[method](this.models, iterator, context); | ||
967 | }; | ||
968 | }); | ||
969 | |||
970 | // Backbone.View | ||
971 | // ------------- | ||
972 | |||
973 | // Backbone Views are almost more convention than they are actual code. A View | ||
974 | // is simply a JavaScript object that represents a logical chunk of UI in the | ||
975 | // DOM. This might be a single item, an entire list, a sidebar or panel, or | ||
976 | // even the surrounding frame which wraps your whole app. Defining a chunk of | ||
977 | // UI as a **View** allows you to define your DOM events declaratively, without | ||
978 | // having to worry about render order ... and makes it easy for the view to | ||
979 | // react to specific changes in the state of your models. | ||
980 | |||
981 | // Creating a Backbone.View creates its initial element outside of the DOM, | ||
982 | // if an existing element is not provided... | ||
983 | var View = Backbone.View = function(options) { | ||
984 | this.cid = _.uniqueId('view'); | ||
985 | this._configure(options || {}); | ||
986 | this._ensureElement(); | ||
987 | this.initialize.apply(this, arguments); | ||
988 | this.delegateEvents(); | ||
989 | }; | ||
990 | |||
991 | // Cached regex to split keys for `delegate`. | ||
992 | var delegateEventSplitter = /^(\S+)\s*(.*)$/; | ||
993 | |||
994 | // List of view options to be merged as properties. | ||
995 | var viewOptions = ['model', 'collection', 'el', 'id', 'attributes', 'className', 'tagName', 'events']; | ||
996 | |||
997 | // Set up all inheritable **Backbone.View** properties and methods. | ||
998 | _.extend(View.prototype, Events, { | ||
999 | |||
1000 | // The default `tagName` of a View's element is `"div"`. | ||
1001 | tagName: 'div', | ||
1002 | |||
1003 | // jQuery delegate for element lookup, scoped to DOM elements within the | ||
1004 | // current view. This should be prefered to global lookups where possible. | ||
1005 | $: function(selector) { | ||
1006 | return this.$el.find(selector); | ||
1007 | }, | ||
1008 | |||
1009 | // Initialize is an empty function by default. Override it with your own | ||
1010 | // initialization logic. | ||
1011 | initialize: function(){}, | ||
1012 | |||
1013 | // **render** is the core function that your view should override, in order | ||
1014 | // to populate its element (`this.el`), with the appropriate HTML. The | ||
1015 | // convention is for **render** to always return `this`. | ||
1016 | render: function() { | ||
1017 | return this; | ||
1018 | }, | ||
1019 | |||
1020 | // Remove this view by taking the element out of the DOM, and removing any | ||
1021 | // applicable Backbone.Events listeners. | ||
1022 | remove: function() { | ||
1023 | this.$el.remove(); | ||
1024 | this.stopListening(); | ||
1025 | return this; | ||
1026 | }, | ||
1027 | |||
1028 | // Change the view's element (`this.el` property), including event | ||
1029 | // re-delegation. | ||
1030 | setElement: function(element, delegate) { | ||
1031 | if (this.$el) this.undelegateEvents(); | ||
1032 | this.$el = element instanceof Backbone.$ ? element : Backbone.$(element); | ||
1033 | this.el = this.$el[0]; | ||
1034 | if (delegate !== false) this.delegateEvents(); | ||
1035 | return this; | ||
1036 | }, | ||
1037 | |||
1038 | // Set callbacks, where `this.events` is a hash of | ||
1039 | // | ||
1040 | // *{"event selector": "callback"}* | ||
1041 | // | ||
1042 | // { | ||
1043 | // 'mousedown .title': 'edit', | ||
1044 | // 'click .button': 'save' | ||
1045 | // 'click .open': function(e) { ... } | ||
1046 | // } | ||
1047 | // | ||
1048 | // pairs. Callbacks will be bound to the view, with `this` set properly. | ||
1049 | // Uses event delegation for efficiency. | ||
1050 | // Omitting the selector binds the event to `this.el`. | ||
1051 | // This only works for delegate-able events: not `focus`, `blur`, and | ||
1052 | // not `change`, `submit`, and `reset` in Internet Explorer. | ||
1053 | delegateEvents: function(events) { | ||
1054 | if (!(events || (events = _.result(this, 'events')))) return this; | ||
1055 | this.undelegateEvents(); | ||
1056 | for (var key in events) { | ||
1057 | var method = events[key]; | ||
1058 | if (!_.isFunction(method)) method = this[events[key]]; | ||
1059 | if (!method) continue; | ||
1060 | |||
1061 | var match = key.match(delegateEventSplitter); | ||
1062 | var eventName = match[1], selector = match[2]; | ||
1063 | method = _.bind(method, this); | ||
1064 | eventName += '.delegateEvents' + this.cid; | ||
1065 | if (selector === '') { | ||
1066 | this.$el.on(eventName, method); | ||
1067 | } else { | ||
1068 | this.$el.on(eventName, selector, method); | ||
1069 | } | ||
1070 | } | ||
1071 | return this; | ||
1072 | }, | ||
1073 | |||
1074 | // Clears all callbacks previously bound to the view with `delegateEvents`. | ||
1075 | // You usually don't need to use this, but may wish to if you have multiple | ||
1076 | // Backbone views attached to the same DOM element. | ||
1077 | undelegateEvents: function() { | ||
1078 | this.$el.off('.delegateEvents' + this.cid); | ||
1079 | return this; | ||
1080 | }, | ||
1081 | |||
1082 | // Performs the initial configuration of a View with a set of options. | ||
1083 | // Keys with special meaning *(e.g. model, collection, id, className)* are | ||
1084 | // attached directly to the view. See `viewOptions` for an exhaustive | ||
1085 | // list. | ||
1086 | _configure: function(options) { | ||
1087 | if (this.options) options = _.extend({}, _.result(this, 'options'), options); | ||
1088 | _.extend(this, _.pick(options, viewOptions)); | ||
1089 | this.options = options; | ||
1090 | }, | ||
1091 | |||
1092 | // Ensure that the View has a DOM element to render into. | ||
1093 | // If `this.el` is a string, pass it through `$()`, take the first | ||
1094 | // matching element, and re-assign it to `el`. Otherwise, create | ||
1095 | // an element from the `id`, `className` and `tagName` properties. | ||
1096 | _ensureElement: function() { | ||
1097 | if (!this.el) { | ||
1098 | var attrs = _.extend({}, _.result(this, 'attributes')); | ||
1099 | if (this.id) attrs.id = _.result(this, 'id'); | ||
1100 | if (this.className) attrs['class'] = _.result(this, 'className'); | ||
1101 | var $el = Backbone.$('<' + _.result(this, 'tagName') + '>').attr(attrs); | ||
1102 | this.setElement($el, false); | ||
1103 | } else { | ||
1104 | this.setElement(_.result(this, 'el'), false); | ||
1105 | } | ||
1106 | } | ||
1107 | |||
1108 | }); | ||
1109 | |||
1110 | // Backbone.sync | ||
1111 | // ------------- | ||
1112 | |||
1113 | // Override this function to change the manner in which Backbone persists | ||
1114 | // models to the server. You will be passed the type of request, and the | ||
1115 | // model in question. By default, makes a RESTful Ajax request | ||
1116 | // to the model's `url()`. Some possible customizations could be: | ||
1117 | // | ||
1118 | // * Use `setTimeout` to batch rapid-fire updates into a single request. | ||
1119 | // * Send up the models as XML instead of JSON. | ||
1120 | // * Persist models via WebSockets instead of Ajax. | ||
1121 | // | ||
1122 | // Turn on `Backbone.emulateHTTP` in order to send `PUT` and `DELETE` requests | ||
1123 | // as `POST`, with a `_method` parameter containing the true HTTP method, | ||
1124 | // as well as all requests with the body as `application/x-www-form-urlencoded` | ||
1125 | // instead of `application/json` with the model in a param named `model`. | ||
1126 | // Useful when interfacing with server-side languages like **PHP** that make | ||
1127 | // it difficult to read the body of `PUT` requests. | ||
1128 | Backbone.sync = function(method, model, options) { | ||
1129 | var type = methodMap[method]; | ||
1130 | |||
1131 | // Default options, unless specified. | ||
1132 | _.defaults(options || (options = {}), { | ||
1133 | emulateHTTP: Backbone.emulateHTTP, | ||
1134 | emulateJSON: Backbone.emulateJSON | ||
1135 | }); | ||
1136 | |||
1137 | // Default JSON-request options. | ||
1138 | var params = {type: type, dataType: 'json'}; | ||
1139 | |||
1140 | // Ensure that we have a URL. | ||
1141 | if (!options.url) { | ||
1142 | params.url = _.result(model, 'url') || urlError(); | ||
1143 | } | ||
1144 | |||
1145 | // Ensure that we have the appropriate request data. | ||
1146 | if (options.data == null && model && (method === 'create' || method === 'update' || method === 'patch')) { | ||
1147 | params.contentType = 'application/json'; | ||
1148 | params.data = JSON.stringify(options.attrs || model.toJSON(options)); | ||
1149 | } | ||
1150 | |||
1151 | // For older servers, emulate JSON by encoding the request into an HTML-form. | ||
1152 | if (options.emulateJSON) { | ||
1153 | params.contentType = 'application/x-www-form-urlencoded'; | ||
1154 | params.data = params.data ? {model: params.data} : {}; | ||
1155 | } | ||
1156 | |||
1157 | // For older servers, emulate HTTP by mimicking the HTTP method with `_method` | ||
1158 | // And an `X-HTTP-Method-Override` header. | ||
1159 | if (options.emulateHTTP && (type === 'PUT' || type === 'DELETE' || type === 'PATCH')) { | ||
1160 | params.type = 'POST'; | ||
1161 | if (options.emulateJSON) params.data._method = type; | ||
1162 | var beforeSend = options.beforeSend; | ||
1163 | options.beforeSend = function(xhr) { | ||
1164 | xhr.setRequestHeader('X-HTTP-Method-Override', type); | ||
1165 | if (beforeSend) return beforeSend.apply(this, arguments); | ||
1166 | }; | ||
1167 | } | ||
1168 | |||
1169 | // Don't process data on a non-GET request. | ||
1170 | if (params.type !== 'GET' && !options.emulateJSON) { | ||
1171 | params.processData = false; | ||
1172 | } | ||
1173 | |||
1174 | // If we're sending a `PATCH` request, and we're in an old Internet Explorer | ||
1175 | // that still has ActiveX enabled by default, override jQuery to use that | ||
1176 | // for XHR instead. Remove this line when jQuery supports `PATCH` on IE8. | ||
1177 | if (params.type === 'PATCH' && window.ActiveXObject && | ||
1178 | !(window.external && window.external.msActiveXFilteringEnabled)) { | ||
1179 | params.xhr = function() { | ||
1180 | return new ActiveXObject("Microsoft.XMLHTTP"); | ||
1181 | }; | ||
1182 | } | ||
1183 | |||
1184 | // Make the request, allowing the user to override any Ajax options. | ||
1185 | var xhr = options.xhr = Backbone.ajax(_.extend(params, options)); | ||
1186 | model.trigger('request', model, xhr, options); | ||
1187 | return xhr; | ||
1188 | }; | ||
1189 | |||
1190 | // Map from CRUD to HTTP for our default `Backbone.sync` implementation. | ||
1191 | var methodMap = { | ||
1192 | 'create': 'POST', | ||
1193 | 'update': 'PUT', | ||
1194 | 'patch': 'PATCH', | ||
1195 | 'delete': 'DELETE', | ||
1196 | 'read': 'GET' | ||
1197 | }; | ||
1198 | |||
1199 | // Set the default implementation of `Backbone.ajax` to proxy through to `$`. | ||
1200 | // Override this if you'd like to use a different library. | ||
1201 | Backbone.ajax = function() { | ||
1202 | return Backbone.$.ajax.apply(Backbone.$, arguments); | ||
1203 | }; | ||
1204 | |||
1205 | // Backbone.Router | ||
1206 | // --------------- | ||
1207 | |||
1208 | // Routers map faux-URLs to actions, and fire events when routes are | ||
1209 | // matched. Creating a new one sets its `routes` hash, if not set statically. | ||
1210 | var Router = Backbone.Router = function(options) { | ||
1211 | options || (options = {}); | ||
1212 | if (options.routes) this.routes = options.routes; | ||
1213 | this._bindRoutes(); | ||
1214 | this.initialize.apply(this, arguments); | ||
1215 | }; | ||
1216 | |||
1217 | // Cached regular expressions for matching named param parts and splatted | ||
1218 | // parts of route strings. | ||
1219 | var optionalParam = /\((.*?)\)/g; | ||
1220 | var namedParam = /(\(\?)?:\w+/g; | ||
1221 | var splatParam = /\*\w+/g; | ||
1222 | var escapeRegExp = /[\-{}\[\]+?.,\\\^$|#\s]/g; | ||
1223 | |||
1224 | // Set up all inheritable **Backbone.Router** properties and methods. | ||
1225 | _.extend(Router.prototype, Events, { | ||
1226 | |||
1227 | // Initialize is an empty function by default. Override it with your own | ||
1228 | // initialization logic. | ||
1229 | initialize: function(){}, | ||
1230 | |||
1231 | // Manually bind a single named route to a callback. For example: | ||
1232 | // | ||
1233 | // this.route('search/:query/p:num', 'search', function(query, num) { | ||
1234 | // ... | ||
1235 | // }); | ||
1236 | // | ||
1237 | route: function(route, name, callback) { | ||
1238 | if (!_.isRegExp(route)) route = this._routeToRegExp(route); | ||
1239 | if (_.isFunction(name)) { | ||
1240 | callback = name; | ||
1241 | name = ''; | ||
1242 | } | ||
1243 | if (!callback) callback = this[name]; | ||
1244 | var router = this; | ||
1245 | Backbone.history.route(route, function(fragment) { | ||
1246 | var args = router._extractParameters(route, fragment); | ||
1247 | callback && callback.apply(router, args); | ||
1248 | router.trigger.apply(router, ['route:' + name].concat(args)); | ||
1249 | router.trigger('route', name, args); | ||
1250 | Backbone.history.trigger('route', router, name, args); | ||
1251 | }); | ||
1252 | return this; | ||
1253 | }, | ||
1254 | |||
1255 | // Simple proxy to `Backbone.history` to save a fragment into the history. | ||
1256 | navigate: function(fragment, options) { | ||
1257 | Backbone.history.navigate(fragment, options); | ||
1258 | return this; | ||
1259 | }, | ||
1260 | |||
1261 | // Bind all defined routes to `Backbone.history`. We have to reverse the | ||
1262 | // order of the routes here to support behavior where the most general | ||
1263 | // routes can be defined at the bottom of the route map. | ||
1264 | _bindRoutes: function() { | ||
1265 | if (!this.routes) return; | ||
1266 | this.routes = _.result(this, 'routes'); | ||
1267 | var route, routes = _.keys(this.routes); | ||
1268 | while ((route = routes.pop()) != null) { | ||
1269 | this.route(route, this.routes[route]); | ||
1270 | } | ||
1271 | }, | ||
1272 | |||
1273 | // Convert a route string into a regular expression, suitable for matching | ||
1274 | // against the current location hash. | ||
1275 | _routeToRegExp: function(route) { | ||
1276 | route = route.replace(escapeRegExp, '\\$&') | ||
1277 | .replace(optionalParam, '(?:$1)?') | ||
1278 | .replace(namedParam, function(match, optional){ | ||
1279 | return optional ? match : '([^\/]+)'; | ||
1280 | }) | ||
1281 | .replace(splatParam, '(.*?)'); | ||
1282 | return new RegExp('^' + route + '$'); | ||
1283 | }, | ||
1284 | |||
1285 | // Given a route, and a URL fragment that it matches, return the array of | ||
1286 | // extracted decoded parameters. Empty or unmatched parameters will be | ||
1287 | // treated as `null` to normalize cross-browser behavior. | ||
1288 | _extractParameters: function(route, fragment) { | ||
1289 | var params = route.exec(fragment).slice(1); | ||
1290 | return _.map(params, function(param) { | ||
1291 | return param ? decodeURIComponent(param) : null; | ||
1292 | }); | ||
1293 | } | ||
1294 | |||
1295 | }); | ||
1296 | |||
1297 | // Backbone.History | ||
1298 | // ---------------- | ||
1299 | |||
1300 | // Handles cross-browser history management, based on either | ||
1301 | // [pushState](http://diveintohtml5.info/history.html) and real URLs, or | ||
1302 | // [onhashchange](https://developer.mozilla.org/en-US/docs/DOM/window.onhashchange) | ||
1303 | // and URL fragments. If the browser supports neither (old IE, natch), | ||
1304 | // falls back to polling. | ||
1305 | var History = Backbone.History = function() { | ||
1306 | this.handlers = []; | ||
1307 | _.bindAll(this, 'checkUrl'); | ||
1308 | |||
1309 | // Ensure that `History` can be used outside of the browser. | ||
1310 | if (typeof window !== 'undefined') { | ||
1311 | this.location = window.location; | ||
1312 | this.history = window.history; | ||
1313 | } | ||
1314 | }; | ||
1315 | |||
1316 | // Cached regex for stripping a leading hash/slash and trailing space. | ||
1317 | var routeStripper = /^[#\/]|\s+$/g; | ||
1318 | |||
1319 | // Cached regex for stripping leading and trailing slashes. | ||
1320 | var rootStripper = /^\/+|\/+$/g; | ||
1321 | |||
1322 | // Cached regex for detecting MSIE. | ||
1323 | var isExplorer = /msie [\w.]+/; | ||
1324 | |||
1325 | // Cached regex for removing a trailing slash. | ||
1326 | var trailingSlash = /\/$/; | ||
1327 | |||
1328 | // Has the history handling already been started? | ||
1329 | History.started = false; | ||
1330 | |||
1331 | // Set up all inheritable **Backbone.History** properties and methods. | ||
1332 | _.extend(History.prototype, Events, { | ||
1333 | |||
1334 | // The default interval to poll for hash changes, if necessary, is | ||
1335 | // twenty times a second. | ||
1336 | interval: 50, | ||
1337 | |||
1338 | // Gets the true hash value. Cannot use location.hash directly due to bug | ||
1339 | // in Firefox where location.hash will always be decoded. | ||
1340 | getHash: function(window) { | ||
1341 | var match = (window || this).location.href.match(/#(.*)$/); | ||
1342 | return match ? match[1] : ''; | ||
1343 | }, | ||
1344 | |||
1345 | // Get the cross-browser normalized URL fragment, either from the URL, | ||
1346 | // the hash, or the override. | ||
1347 | getFragment: function(fragment, forcePushState) { | ||
1348 | if (fragment == null) { | ||
1349 | if (this._hasPushState || !this._wantsHashChange || forcePushState) { | ||
1350 | fragment = this.location.pathname; | ||
1351 | var root = this.root.replace(trailingSlash, ''); | ||
1352 | if (!fragment.indexOf(root)) fragment = fragment.substr(root.length); | ||
1353 | } else { | ||
1354 | fragment = this.getHash(); | ||
1355 | } | ||
1356 | } | ||
1357 | return fragment.replace(routeStripper, ''); | ||
1358 | }, | ||
1359 | |||
1360 | // Start the hash change handling, returning `true` if the current URL matches | ||
1361 | // an existing route, and `false` otherwise. | ||
1362 | start: function(options) { | ||
1363 | if (History.started) throw new Error("Backbone.history has already been started"); | ||
1364 | History.started = true; | ||
1365 | |||
1366 | // Figure out the initial configuration. Do we need an iframe? | ||
1367 | // Is pushState desired ... is it available? | ||
1368 | this.options = _.extend({}, {root: '/'}, this.options, options); | ||
1369 | this.root = this.options.root; | ||
1370 | this._wantsHashChange = this.options.hashChange !== false; | ||
1371 | this._wantsPushState = !!this.options.pushState; | ||
1372 | this._hasPushState = !!(this.options.pushState && this.history && this.history.pushState); | ||
1373 | var fragment = this.getFragment(); | ||
1374 | var docMode = document.documentMode; | ||
1375 | var oldIE = (isExplorer.exec(navigator.userAgent.toLowerCase()) && (!docMode || docMode <= 7)); | ||
1376 | |||
1377 | // Normalize root to always include a leading and trailing slash. | ||
1378 | this.root = ('/' + this.root + '/').replace(rootStripper, '/'); | ||
1379 | |||
1380 | if (oldIE && this._wantsHashChange) { | ||
1381 | this.iframe = Backbone.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow; | ||
1382 | this.navigate(fragment); | ||
1383 | } | ||
1384 | |||
1385 | // Depending on whether we're using pushState or hashes, and whether | ||
1386 | // 'onhashchange' is supported, determine how we check the URL state. | ||
1387 | if (this._hasPushState) { | ||
1388 | Backbone.$(window).on('popstate', this.checkUrl); | ||
1389 | } else if (this._wantsHashChange && ('onhashchange' in window) && !oldIE) { | ||
1390 | Backbone.$(window).on('hashchange', this.checkUrl); | ||
1391 | } else if (this._wantsHashChange) { | ||
1392 | this._checkUrlInterval = setInterval(this.checkUrl, this.interval); | ||
1393 | } | ||
1394 | |||
1395 | // Determine if we need to change the base url, for a pushState link | ||
1396 | // opened by a non-pushState browser. | ||
1397 | this.fragment = fragment; | ||
1398 | var loc = this.location; | ||
1399 | var atRoot = loc.pathname.replace(/[^\/]$/, '$&/') === this.root; | ||
1400 | |||
1401 | // If we've started off with a route from a `pushState`-enabled browser, | ||
1402 | // but we're currently in a browser that doesn't support it... | ||
1403 | if (this._wantsHashChange && this._wantsPushState && !this._hasPushState && !atRoot) { | ||
1404 | this.fragment = this.getFragment(null, true); | ||
1405 | this.location.replace(this.root + this.location.search + '#' + this.fragment); | ||
1406 | // Return immediately as browser will do redirect to new url | ||
1407 | return true; | ||
1408 | |||
1409 | // Or if we've started out with a hash-based route, but we're currently | ||
1410 | // in a browser where it could be `pushState`-based instead... | ||
1411 | } else if (this._wantsPushState && this._hasPushState && atRoot && loc.hash) { | ||
1412 | this.fragment = this.getHash().replace(routeStripper, ''); | ||
1413 | this.history.replaceState({}, document.title, this.root + this.fragment + loc.search); | ||
1414 | } | ||
1415 | |||
1416 | if (!this.options.silent) return this.loadUrl(); | ||
1417 | }, | ||
1418 | |||
1419 | // Disable Backbone.history, perhaps temporarily. Not useful in a real app, | ||
1420 | // but possibly useful for unit testing Routers. | ||
1421 | stop: function() { | ||
1422 | Backbone.$(window).off('popstate', this.checkUrl).off('hashchange', this.checkUrl); | ||
1423 | clearInterval(this._checkUrlInterval); | ||
1424 | History.started = false; | ||
1425 | }, | ||
1426 | |||
1427 | // Add a route to be tested when the fragment changes. Routes added later | ||
1428 | // may override previous routes. | ||
1429 | route: function(route, callback) { | ||
1430 | this.handlers.unshift({route: route, callback: callback}); | ||
1431 | }, | ||
1432 | |||
1433 | // Checks the current URL to see if it has changed, and if it has, | ||
1434 | // calls `loadUrl`, normalizing across the hidden iframe. | ||
1435 | checkUrl: function(e) { | ||
1436 | var current = this.getFragment(); | ||
1437 | if (current === this.fragment && this.iframe) { | ||
1438 | current = this.getFragment(this.getHash(this.iframe)); | ||
1439 | } | ||
1440 | if (current === this.fragment) return false; | ||
1441 | if (this.iframe) this.navigate(current); | ||
1442 | this.loadUrl() || this.loadUrl(this.getHash()); | ||
1443 | }, | ||
1444 | |||
1445 | // Attempt to load the current URL fragment. If a route succeeds with a | ||
1446 | // match, returns `true`. If no defined routes matches the fragment, | ||
1447 | // returns `false`. | ||
1448 | loadUrl: function(fragmentOverride) { | ||
1449 | var fragment = this.fragment = this.getFragment(fragmentOverride); | ||
1450 | var matched = _.any(this.handlers, function(handler) { | ||
1451 | if (handler.route.test(fragment)) { | ||
1452 | handler.callback(fragment); | ||
1453 | return true; | ||
1454 | } | ||
1455 | }); | ||
1456 | return matched; | ||
1457 | }, | ||
1458 | |||
1459 | // Save a fragment into the hash history, or replace the URL state if the | ||
1460 | // 'replace' option is passed. You are responsible for properly URL-encoding | ||
1461 | // the fragment in advance. | ||
1462 | // | ||
1463 | // The options object can contain `trigger: true` if you wish to have the | ||
1464 | // route callback be fired (not usually desirable), or `replace: true`, if | ||
1465 | // you wish to modify the current URL without adding an entry to the history. | ||
1466 | navigate: function(fragment, options) { | ||
1467 | if (!History.started) return false; | ||
1468 | if (!options || options === true) options = {trigger: options}; | ||
1469 | fragment = this.getFragment(fragment || ''); | ||
1470 | if (this.fragment === fragment) return; | ||
1471 | this.fragment = fragment; | ||
1472 | var url = this.root + fragment; | ||
1473 | |||
1474 | // If pushState is available, we use it to set the fragment as a real URL. | ||
1475 | if (this._hasPushState) { | ||
1476 | this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url); | ||
1477 | |||
1478 | // If hash changes haven't been explicitly disabled, update the hash | ||
1479 | // fragment to store history. | ||
1480 | } else if (this._wantsHashChange) { | ||
1481 | this._updateHash(this.location, fragment, options.replace); | ||
1482 | if (this.iframe && (fragment !== this.getFragment(this.getHash(this.iframe)))) { | ||
1483 | // Opening and closing the iframe tricks IE7 and earlier to push a | ||
1484 | // history entry on hash-tag change. When replace is true, we don't | ||
1485 | // want this. | ||
1486 | if(!options.replace) this.iframe.document.open().close(); | ||
1487 | this._updateHash(this.iframe.location, fragment, options.replace); | ||
1488 | } | ||
1489 | |||
1490 | // If you've told us that you explicitly don't want fallback hashchange- | ||
1491 | // based history, then `navigate` becomes a page refresh. | ||
1492 | } else { | ||
1493 | return this.location.assign(url); | ||
1494 | } | ||
1495 | if (options.trigger) this.loadUrl(fragment); | ||
1496 | }, | ||
1497 | |||
1498 | // Update the hash location, either replacing the current entry, or adding | ||
1499 | // a new one to the browser history. | ||
1500 | _updateHash: function(location, fragment, replace) { | ||
1501 | if (replace) { | ||
1502 | var href = location.href.replace(/(javascript:|#).*$/, ''); | ||
1503 | location.replace(href + '#' + fragment); | ||
1504 | } else { | ||
1505 | // Some browsers require that `hash` contains a leading #. | ||
1506 | location.hash = '#' + fragment; | ||
1507 | } | ||
1508 | } | ||
1509 | |||
1510 | }); | ||
1511 | |||
1512 | // Create the default Backbone.history. | ||
1513 | Backbone.history = new History; | ||
1514 | |||
1515 | // Helpers | ||
1516 | // ------- | ||
1517 | |||
1518 | // Helper function to correctly set up the prototype chain, for subclasses. | ||
1519 | // Similar to `goog.inherits`, but uses a hash of prototype properties and | ||
1520 | // class properties to be extended. | ||
1521 | var extend = function(protoProps, staticProps) { | ||
1522 | var parent = this; | ||
1523 | var child; | ||
1524 | |||
1525 | // The constructor function for the new subclass is either defined by you | ||
1526 | // (the "constructor" property in your `extend` definition), or defaulted | ||
1527 | // by us to simply call the parent's constructor. | ||
1528 | if (protoProps && _.has(protoProps, 'constructor')) { | ||
1529 | child = protoProps.constructor; | ||
1530 | } else { | ||
1531 | child = function(){ return parent.apply(this, arguments); }; | ||
1532 | } | ||
1533 | |||
1534 | // Add static properties to the constructor function, if supplied. | ||
1535 | _.extend(child, parent, staticProps); | ||
1536 | |||
1537 | // Set the prototype chain to inherit from `parent`, without calling | ||
1538 | // `parent`'s constructor function. | ||
1539 | var Surrogate = function(){ this.constructor = child; }; | ||
1540 | Surrogate.prototype = parent.prototype; | ||
1541 | child.prototype = new Surrogate; | ||
1542 | |||
1543 | // Add prototype properties (instance properties) to the subclass, | ||
1544 | // if supplied. | ||
1545 | if (protoProps) _.extend(child.prototype, protoProps); | ||
1546 | |||
1547 | // Set a convenience property in case the parent's prototype is needed | ||
1548 | // later. | ||
1549 | child.__super__ = parent.prototype; | ||
1550 | |||
1551 | return child; | ||
1552 | }; | ||
1553 | |||
1554 | // Set up inheritance for the model, collection, router, view and history. | ||
1555 | Model.extend = Collection.extend = Router.extend = View.extend = History.extend = extend; | ||
1556 | |||
1557 | // Throw an error when a URL is needed, and none is supplied. | ||
1558 | var urlError = function() { | ||
1559 | throw new Error('A "url" property or function must be specified'); | ||
1560 | }; | ||
1561 | |||
1562 | // Wrap an optional error callback with a fallback error event. | ||
1563 | var wrapError = function (model, options) { | ||
1564 | var error = options.error; | ||
1565 | options.error = function(resp) { | ||
1566 | if (error) error(model, resp, options); | ||
1567 | model.trigger('error', model, resp, options); | ||
1568 | }; | ||
1569 | }; | ||
1570 | |||
1571 | }).call(this); |
  | |||
1 | (function(){var t=this;var e=t.Backbone;var i=[];var r=i.push;var s=i.slice;var n=i.splice;var a;if(typeof exports!=="undefined"){a=exports}else{a=t.Backbone={}}a.VERSION="1.0.0";var h=t._;if(!h&&typeof require!=="undefined")h=require("underscore");a.$=t.jQuery||t.Zepto||t.ender||t.$;a.noConflict=function(){t.Backbone=e;return this};a.emulateHTTP=false;a.emulateJSON=false;var o=a.Events={on:function(t,e,i){if(!l(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,i){if(!l(this,"once",t,[e,i])||!e)return this;var r=this;var s=h.once(function(){r.off(t,s);e.apply(this,arguments)});s._callback=e;return this.on(t,s,i)},off:function(t,e,i){var r,s,n,a,o,u,c,f;if(!this._events||!l(this,"off",t,[e,i]))return this;if(!t&&!e&&!i){this._events={};return this}a=t?[t]:h.keys(this._events);for(o=0,u=a.length;o<u;o++){t=a[o];if(n=this._events[t]){this._events[t]=r=[];if(e||i){for(c=0,f=n.length;c<f;c++){s=n[c];if(e&&e!==s.callback&&e!==s.callback._callback||i&&i!==s.context){r.push(s)}}}if(!r.length)delete this._events[t]}}return this},trigger:function(t){if(!this._events)return this;var e=s.call(arguments,1);if(!l(this,"trigger",t,e))return this;var i=this._events[t];var r=this._events.all;if(i)c(i,e);if(r)c(r,arguments);return this},stopListening:function(t,e,i){var r=this._listeners;if(!r)return this;var s=!e&&!i;if(typeof e==="object")i=this;if(t)(r={})[t._listenerId]=t;for(var n in r){r[n].off(e,i,this);if(s)delete this._listeners[n]}return this}};var u=/\s+/;var l=function(t,e,i,r){if(!i)return true;if(typeof i==="object"){for(var s in i){t[e].apply(t,[s,i[s]].concat(r))}return false}if(u.test(i)){var n=i.split(u);for(var a=0,h=n.length;a<h;a++){t[e].apply(t,[n[a]].concat(r))}return false}return true};var c=function(t,e){var i,r=-1,s=t.length,n=e[0],a=e[1],h=e[2];switch(e.length){case 0:while(++r<s)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<s)(i=t[r]).callback.call(i.ctx,n);return;case 2:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a);return;case 3:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a,h);return;default:while(++r<s)(i=t[r]).callback.apply(i.ctx,e)}};var f={listenTo:"on",listenToOnce:"once"};h.each(f,function(t,e){o[e]=function(e,i,r){var s=this._listeners||(this._listeners={});var n=e._listenerId||(e._listenerId=h.uniqueId("l"));s[n]=e;if(typeof i==="object")r=this;e[t](i,r,this);return this}});o.bind=o.on;o.unbind=o.off;h.extend(a,o);var d=a.Model=function(t,e){var i;var r=t||{};e||(e={});this.cid=h.uniqueId("c");this.attributes={};h.extend(this,h.pick(e,p));if(e.parse)r=this.parse(r,e)||{};if(i=h.result(this,"defaults")){r=h.defaults({},r,i)}this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};var p=["url","urlRoot","collection"];h.extend(d.prototype,o,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return h.clone(this.attributes)},sync:function(){return a.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return h.escape(this.get(t))},has:function(t){return this.get(t)!=null},set:function(t,e,i){var r,s,n,a,o,u,l,c;if(t==null)return this;if(typeof t==="object"){s=t;i=e}else{(s={})[t]=e}i||(i={});if(!this._validate(s,i))return false;n=i.unset;o=i.silent;a=[];u=this._changing;this._changing=true;if(!u){this._previousAttributes=h.clone(this.attributes);this.changed={}}c=this.attributes,l=this._previousAttributes;if(this.idAttribute in s)this.id=s[this.idAttribute];for(r in s){e=s[r];if(!h.isEqual(c[r],e))a.push(r);if(!h.isEqual(l[r],e)){this.changed[r]=e}else{delete this.changed[r]}n?delete c[r]:c[r]=e}if(!o){if(a.length)this._pending=true;for(var f=0,d=a.length;f<d;f++){this.trigger("change:"+a[f],this,c[a[f]],i)}}if(u)return this;if(!o){while(this._pending){this._pending=false;this.trigger("change",this,i)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,h.extend({},e,{unset:true}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,h.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!h.isEmpty(this.changed);return h.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?h.clone(this.changed):false;var e,i=false;var r=this._changing?this._previousAttributes:this.attributes;for(var s in t){if(h.isEqual(r[s],e=t[s]))continue;(i||(i={}))[s]=e}return i},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return h.clone(this._previousAttributes)},fetch:function(t){t=t?h.clone(t):{};if(t.parse===void 0)t.parse=true;var e=this;var i=t.success;t.success=function(r){if(!e.set(e.parse(r,t),t))return false;if(i)i(e,r,t);e.trigger("sync",e,r,t)};R(this,t);return this.sync("read",this,t)},save:function(t,e,i){var r,s,n,a=this.attributes;if(t==null||typeof t==="object"){r=t;i=e}else{(r={})[t]=e}if(r&&(!i||!i.wait)&&!this.set(r,i))return false;i=h.extend({validate:true},i);if(!this._validate(r,i))return false;if(r&&i.wait){this.attributes=h.extend({},a,r)}if(i.parse===void 0)i.parse=true;var o=this;var u=i.success;i.success=function(t){o.attributes=a;var e=o.parse(t,i);if(i.wait)e=h.extend(r||{},e);if(h.isObject(e)&&!o.set(e,i)){return false}if(u)u(o,t,i);o.trigger("sync",o,t,i)};R(this,i);s=this.isNew()?"create":i.patch?"patch":"update";if(s==="patch")i.attrs=r;n=this.sync(s,this,i);if(r&&i.wait)this.attributes=a;return n},destroy:function(t){t=t?h.clone(t):{};var e=this;var i=t.success;var r=function(){e.trigger("destroy",e,e.collection,t)};t.success=function(s){if(t.wait||e.isNew())r();if(i)i(e,s,t);if(!e.isNew())e.trigger("sync",e,s,t)};if(this.isNew()){t.success();return false}R(this,t);var s=this.sync("delete",this,t);if(!t.wait)r();return s},url:function(){var t=h.result(this,"urlRoot")||h.result(this.collection,"url")||U();if(this.isNew())return t;return t+(t.charAt(t.length-1)==="/"?"":"/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return this.id==null},isValid:function(t){return this._validate({},h.extend(t||{},{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=h.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;if(!i)return true;this.trigger("invalid",this,i,h.extend(e||{},{validationError:i}));return false}});var v=["keys","values","pairs","invert","pick","omit"];h.each(v,function(t){d.prototype[t]=function(){var e=s.call(arguments);e.unshift(this.attributes);return h[t].apply(h,e)}});var g=a.Collection=function(t,e){e||(e={});if(e.url)this.url=e.url;if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,h.extend({silent:true},e))};var m={add:true,remove:true,merge:true};var y={add:true,merge:false,remove:false};h.extend(g.prototype,o,{model:d,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return a.sync.apply(this,arguments)},add:function(t,e){return this.set(t,h.defaults(e||{},y))},remove:function(t,e){t=h.isArray(t)?t.slice():[t];e||(e={});var i,r,s,n;for(i=0,r=t.length;i<r;i++){n=this.get(t[i]);if(!n)continue;delete this._byId[n.id];delete this._byId[n.cid];s=this.indexOf(n);this.models.splice(s,1);this.length--;if(!e.silent){e.index=s;n.trigger("remove",n,this,e)}this._removeReference(n)}return this},set:function(t,e){e=h.defaults(e||{},m);if(e.parse)t=this.parse(t,e);if(!h.isArray(t))t=t?[t]:[];var i,s,a,o,u,l;var c=e.at;var f=this.comparator&&c==null&&e.sort!==false;var d=h.isString(this.comparator)?this.comparator:null;var p=[],v=[],g={};for(i=0,s=t.length;i<s;i++){if(!(a=this._prepareModel(t[i],e)))continue;if(u=this.get(a)){if(e.remove)g[u.cid]=true;if(e.merge){u.set(a.attributes,e);if(f&&!l&&u.hasChanged(d))l=true}}else if(e.add){p.push(a);a.on("all",this._onModelEvent,this);this._byId[a.cid]=a;if(a.id!=null)this._byId[a.id]=a}}if(e.remove){for(i=0,s=this.length;i<s;++i){if(!g[(a=this.models[i]).cid])v.push(a)}if(v.length)this.remove(v,e)}if(p.length){if(f)l=true;this.length+=p.length;if(c!=null){n.apply(this.models,[c,0].concat(p))}else{r.apply(this.models,p)}}if(l)this.sort({silent:true});if(e.silent)return this;for(i=0,s=p.length;i<s;i++){(a=p[i]).trigger("add",a,this,e)}if(l)this.trigger("sort",this,e);return this},reset:function(t,e){e||(e={});for(var i=0,r=this.models.length;i<r;i++){this._removeReference(this.models[i])}e.previousModels=this.models;this._reset();this.add(t,h.extend({silent:true},e));if(!e.silent)this.trigger("reset",this,e);return this},push:function(t,e){t=this._prepareModel(t,e);this.add(t,h.extend({at:this.length},e));return t},pop:function(t){var e=this.at(this.length-1);this.remove(e,t);return e},unshift:function(t,e){t=this._prepareModel(t,e);this.add(t,h.extend({at:0},e));return t},shift:function(t){var e=this.at(0);this.remove(e,t);return e},slice:function(t,e){return this.models.slice(t,e)},get:function(t){if(t==null)return void 0;return this._byId[t.id!=null?t.id:t.cid||t]},at:function(t){return this.models[t]},where:function(t,e){if(h.isEmpty(t))return e?void 0:[];return this[e?"find":"filter"](function(e){for(var i in t){if(t[i]!==e.get(i))return false}return true})},findWhere:function(t){return this.where(t,true)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");t||(t={});if(h.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(h.bind(this.comparator,this))}if(!t.silent)this.trigger("sort",this,t);return this},sortedIndex:function(t,e,i){e||(e=this.comparator);var r=h.isFunction(e)?e:function(t){return t.get(e)};return h.sortedIndex(this.models,t,r,i)},pluck:function(t){return h.invoke(this.models,"get",t)},fetch:function(t){t=t?h.clone(t):{};if(t.parse===void 0)t.parse=true;var e=t.success;var i=this;t.success=function(r){var s=t.reset?"reset":"set";i[s](r,t);if(e)e(i,r,t);i.trigger("sync",i,r,t)};R(this,t);return this.sync("read",this,t)},create:function(t,e){e=e?h.clone(e):{};if(!(t=this._prepareModel(t,e)))return false;if(!e.wait)this.add(t,e);var i=this;var r=e.success;e.success=function(s){if(e.wait)i.add(t,e);if(r)r(t,s,e)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(t instanceof d){if(!t.collection)t.collection=this;return t}e||(e={});e.collection=this;var i=new this.model(t,e);if(!i._validate(t,e)){this.trigger("invalid",this,t,e);return false}return i},_removeReference:function(t){if(this===t.collection)delete t.collection;t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if((t==="add"||t==="remove")&&i!==this)return;if(t==="destroy")this.remove(e,r);if(e&&t==="change:"+e.idAttribute){delete this._byId[e.previous(e.idAttribute)];if(e.id!=null)this._byId[e.id]=e}this.trigger.apply(this,arguments)}});var _=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain"];h.each(_,function(t){g.prototype[t]=function(){var e=s.call(arguments);e.unshift(this.models);return h[t].apply(h,e)}});var w=["groupBy","countBy","sortBy"];h.each(w,function(t){g.prototype[t]=function(e,i){var r=h.isFunction(e)?e:function(t){return t.get(e)};return h[t](this.models,r,i)}});var b=a.View=function(t){this.cid=h.uniqueId("view");this._configure(t||{});this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var x=/^(\S+)\s*(.*)$/;var E=["model","collection","el","id","attributes","className","tagName","events"];h.extend(b.prototype,o,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(t,e){if(this.$el)this.undelegateEvents();this.$el=t instanceof a.$?t:a.$(t);this.el=this.$el[0];if(e!==false)this.delegateEvents();return this},delegateEvents:function(t){if(!(t||(t=h.result(this,"events"))))return this;this.undelegateEvents();for(var e in t){var i=t[e];if(!h.isFunction(i))i=this[t[e]];if(!i)continue;var r=e.match(x);var s=r[1],n=r[2];i=h.bind(i,this);s+=".delegateEvents"+this.cid;if(n===""){this.$el.on(s,i)}else{this.$el.on(s,n,i)}}return this},undelegateEvents:function(){this.$el.off(".delegateEvents"+this.cid);return this},_configure:function(t){if(this.options)t=h.extend({},h.result(this,"options"),t);h.extend(this,h.pick(t,E));this.options=t},_ensureElement:function(){if(!this.el){var t=h.extend({},h.result(this,"attributes"));if(this.id)t.id=h.result(this,"id");if(this.className)t["class"]=h.result(this,"className");var e=a.$("<"+h.result(this,"tagName")+">").attr(t);this.setElement(e,false)}else{this.setElement(h.result(this,"el"),false)}}});a.sync=function(t,e,i){var r=k[t];h.defaults(i||(i={}),{emulateHTTP:a.emulateHTTP,emulateJSON:a.emulateJSON});var s={type:r,dataType:"json"};if(!i.url){s.url=h.result(e,"url")||U()}if(i.data==null&&e&&(t==="create"||t==="update"||t==="patch")){s.contentType="application/json";s.data=JSON.stringify(i.attrs||e.toJSON(i))}if(i.emulateJSON){s.contentType="application/x-www-form-urlencoded";s.data=s.data?{model:s.data}:{}}if(i.emulateHTTP&&(r==="PUT"||r==="DELETE"||r==="PATCH")){s.type="POST";if(i.emulateJSON)s.data._method=r;var n=i.beforeSend;i.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",r);if(n)return n.apply(this,arguments)}}if(s.type!=="GET"&&!i.emulateJSON){s.processData=false}if(s.type==="PATCH"&&window.ActiveXObject&&!(window.external&&window.external.msActiveXFilteringEnabled)){s.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var o=i.xhr=a.ajax(h.extend(s,i));e.trigger("request",e,o,i);return o};var k={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};a.ajax=function(){return a.$.ajax.apply(a.$,arguments)};var S=a.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var $=/\((.*?)\)/g;var T=/(\(\?)?:\w+/g;var H=/\*\w+/g;var A=/[\-{}\[\]+?.,\\\^$|#\s]/g;h.extend(S.prototype,o,{initialize:function(){},route:function(t,e,i){if(!h.isRegExp(t))t=this._routeToRegExp(t);if(h.isFunction(e)){i=e;e=""}if(!i)i=this[e];var r=this;a.history.route(t,function(s){var n=r._extractParameters(t,s);i&&i.apply(r,n);r.trigger.apply(r,["route:"+e].concat(n));r.trigger("route",e,n);a.history.trigger("route",r,e,n)});return this},navigate:function(t,e){a.history.navigate(t,e);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=h.result(this,"routes");var t,e=h.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(A,"\\$&").replace($,"(?:$1)?").replace(T,function(t,e){return e?t:"([^/]+)"}).replace(H,"(.*?)");return new RegExp("^"+t+"$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return h.map(i,function(t){return t?decodeURIComponent(t):null})}});var I=a.History=function(){this.handlers=[];h.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var N=/^[#\/]|\s+$/g;var P=/^\/+|\/+$/g;var O=/msie [\w.]+/;var C=/\/$/;I.started=false;h.extend(I.prototype,o,{interval:50,getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=this.location.pathname;var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.substr(i.length)}else{t=this.getHash()}}return t.replace(N,"")},start:function(t){if(I.started)throw new Error("Backbone.history has already been started");I.started=true;this.options=h.extend({},{root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var e=this.getFragment();var i=document.documentMode;var r=O.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(P,"/");if(r&&this._wantsHashChange){this.iframe=a.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow;this.navigate(e)}if(this._hasPushState){a.$(window).on("popstate",this.checkUrl)}else if(this._wantsHashChange&&"onhashchange"in window&&!r){a.$(window).on("hashchange",this.checkUrl)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}this.fragment=e;var s=this.location;var n=s.pathname.replace(/[^\/]$/,"$&/")===this.root;if(this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!n){this.fragment=this.getFragment(null,true);this.location.replace(this.root+this.location.search+"#"+this.fragment);return true}else if(this._wantsPushState&&this._hasPushState&&n&&s.hash){this.fragment=this.getHash().replace(N,"");this.history.replaceState({},document.title,this.root+this.fragment+s.search)}if(!this.options.silent)return this.loadUrl()},stop:function(){a.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl);clearInterval(this._checkUrlInterval);I.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getFragment(this.getHash(this.iframe))}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()||this.loadUrl(this.getHash())},loadUrl:function(t){var e=this.fragment=this.getFragment(t);var i=h.any(this.handlers,function(t){if(t.route.test(e)){t.callback(e);return true}});return i},navigate:function(t,e){if(!I.started)return false;if(!e||e===true)e={trigger:e};t=this.getFragment(t||"");if(this.fragment===t)return;this.fragment=t;var i=this.root+t;if(this._hasPushState){this.history[e.replace?"replaceState":"pushState"]({},document.title,i)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getFragment(this.getHash(this.iframe))){if(!e.replace)this.iframe.document.open().close();this._updateHash(this.iframe.location,t,e.replace)}}else{return this.location.assign(i)}if(e.trigger)this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else{t.hash="#"+e}}});a.history=new I;var j=function(t,e){var i=this;var r;if(t&&h.has(t,"constructor")){r=t.constructor}else{r=function(){return i.apply(this,arguments)}}h.extend(r,i,e);var s=function(){this.constructor=r};s.prototype=i.prototype;r.prototype=new s;if(t)h.extend(r.prototype,t);r.__super__=i.prototype;return r};d.extend=g.extend=S.extend=b.extend=I.extend=j;var U=function(){throw new Error('A "url" property or function must be specified')};var R=function(t,e){var i=e.error;e.error=function(r){if(i)i(t,r,e);t.trigger("error",t,r,e)}}}).call(this); | ||
2 | /* | ||
3 | //@ sourceMappingURL=backbone-min.map | ||
4 | */ |
mouchak/static/js/lib/bootstrap.js
(0 / 2025)
  | |||
1 | /* =================================================== | ||
2 | * bootstrap-transition.js v2.2.1 | ||
3 | * http://twitter.github.com/bootstrap/javascript.html#transitions | ||
4 | * =================================================== | ||
5 | * Copyright 2012 Twitter, Inc. | ||
6 | * | ||
7 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
8 | * you may not use this file except in compliance with the License. | ||
9 | * You may obtain a copy of the License at | ||
10 | * | ||
11 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | * | ||
13 | * Unless required by applicable law or agreed to in writing, software | ||
14 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
16 | * See the License for the specific language governing permissions and | ||
17 | * limitations under the License. | ||
18 | * ========================================================== */ | ||
19 | |||
20 | |||
21 | !function ($) { | ||
22 | |||
23 | "use strict"; // jshint ;_; | ||
24 | |||
25 | |||
26 | /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) | ||
27 | * ======================================================= */ | ||
28 | |||
29 | $(function () { | ||
30 | |||
31 | $.support.transition = (function () { | ||
32 | |||
33 | var transitionEnd = (function () { | ||
34 | |||
35 | var el = document.createElement('bootstrap') | ||
36 | , transEndEventNames = { | ||
37 | 'WebkitTransition' : 'webkitTransitionEnd' | ||
38 | , 'MozTransition' : 'transitionend' | ||
39 | , 'OTransition' : 'oTransitionEnd otransitionend' | ||
40 | , 'transition' : 'transitionend' | ||
41 | } | ||
42 | , name | ||
43 | |||
44 | for (name in transEndEventNames){ | ||
45 | if (el.style[name] !== undefined) { | ||
46 | return transEndEventNames[name] | ||
47 | } | ||
48 | } | ||
49 | |||
50 | }()) | ||
51 | |||
52 | return transitionEnd && { | ||
53 | end: transitionEnd | ||
54 | } | ||
55 | |||
56 | })() | ||
57 | |||
58 | }) | ||
59 | |||
60 | }(window.jQuery);/* ========================================================== | ||
61 | * bootstrap-alert.js v2.2.1 | ||
62 | * http://twitter.github.com/bootstrap/javascript.html#alerts | ||
63 | * ========================================================== | ||
64 | * Copyright 2012 Twitter, Inc. | ||
65 | * | ||
66 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
67 | * you may not use this file except in compliance with the License. | ||
68 | * You may obtain a copy of the License at | ||
69 | * | ||
70 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
71 | * | ||
72 | * Unless required by applicable law or agreed to in writing, software | ||
73 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
74 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
75 | * See the License for the specific language governing permissions and | ||
76 | * limitations under the License. | ||
77 | * ========================================================== */ | ||
78 | |||
79 | |||
80 | !function ($) { | ||
81 | |||
82 | "use strict"; // jshint ;_; | ||
83 | |||
84 | |||
85 | /* ALERT CLASS DEFINITION | ||
86 | * ====================== */ | ||
87 | |||
88 | var dismiss = '[data-dismiss="alert"]' | ||
89 | , Alert = function (el) { | ||
90 | $(el).on('click', dismiss, this.close) | ||
91 | } | ||
92 | |||
93 | Alert.prototype.close = function (e) { | ||
94 | var $this = $(this) | ||
95 | , selector = $this.attr('data-target') | ||
96 | , $parent | ||
97 | |||
98 | if (!selector) { | ||
99 | selector = $this.attr('href') | ||
100 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 | ||
101 | } | ||
102 | |||
103 | $parent = $(selector) | ||
104 | |||
105 | e && e.preventDefault() | ||
106 | |||
107 | $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent()) | ||
108 | |||
109 | $parent.trigger(e = $.Event('close')) | ||
110 | |||
111 | if (e.isDefaultPrevented()) return | ||
112 | |||
113 | $parent.removeClass('in') | ||
114 | |||
115 | function removeElement() { | ||
116 | $parent | ||
117 | .trigger('closed') | ||
118 | .remove() | ||
119 | } | ||
120 | |||
121 | $.support.transition && $parent.hasClass('fade') ? | ||
122 | $parent.on($.support.transition.end, removeElement) : | ||
123 | removeElement() | ||
124 | } | ||
125 | |||
126 | |||
127 | /* ALERT PLUGIN DEFINITION | ||
128 | * ======================= */ | ||
129 | |||
130 | $.fn.alert = function (option) { | ||
131 | return this.each(function () { | ||
132 | var $this = $(this) | ||
133 | , data = $this.data('alert') | ||
134 | if (!data) $this.data('alert', (data = new Alert(this))) | ||
135 | if (typeof option == 'string') data[option].call($this) | ||
136 | }) | ||
137 | } | ||
138 | |||
139 | $.fn.alert.Constructor = Alert | ||
140 | |||
141 | |||
142 | /* ALERT DATA-API | ||
143 | * ============== */ | ||
144 | |||
145 | $(document).on('click.alert.data-api', dismiss, Alert.prototype.close) | ||
146 | |||
147 | }(window.jQuery);/* ============================================================ | ||
148 | * bootstrap-button.js v2.2.1 | ||
149 | * http://twitter.github.com/bootstrap/javascript.html#buttons | ||
150 | * ============================================================ | ||
151 | * Copyright 2012 Twitter, Inc. | ||
152 | * | ||
153 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
154 | * you may not use this file except in compliance with the License. | ||
155 | * You may obtain a copy of the License at | ||
156 | * | ||
157 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
158 | * | ||
159 | * Unless required by applicable law or agreed to in writing, software | ||
160 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
161 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
162 | * See the License for the specific language governing permissions and | ||
163 | * limitations under the License. | ||
164 | * ============================================================ */ | ||
165 | |||
166 | |||
167 | !function ($) { | ||
168 | |||
169 | "use strict"; // jshint ;_; | ||
170 | |||
171 | |||
172 | /* BUTTON PUBLIC CLASS DEFINITION | ||
173 | * ============================== */ | ||
174 | |||
175 | var Button = function (element, options) { | ||
176 | this.$element = $(element) | ||
177 | this.options = $.extend({}, $.fn.button.defaults, options) | ||
178 | } | ||
179 | |||
180 | Button.prototype.setState = function (state) { | ||
181 | var d = 'disabled' | ||
182 | , $el = this.$element | ||
183 | , data = $el.data() | ||
184 | , val = $el.is('input') ? 'val' : 'html' | ||
185 | |||
186 | state = state + 'Text' | ||
187 | data.resetText || $el.data('resetText', $el[val]()) | ||
188 | |||
189 | $el[val](data[state] || this.options[state]) | ||
190 | |||
191 | // push to event loop to allow forms to submit | ||
192 | setTimeout(function () { | ||
193 | state == 'loadingText' ? | ||
194 | $el.addClass(d).attr(d, d) : | ||
195 | $el.removeClass(d).removeAttr(d) | ||
196 | }, 0) | ||
197 | } | ||
198 | |||
199 | Button.prototype.toggle = function () { | ||
200 | var $parent = this.$element.closest('[data-toggle="buttons-radio"]') | ||
201 | |||
202 | $parent && $parent | ||
203 | .find('.active') | ||
204 | .removeClass('active') | ||
205 | |||
206 | this.$element.toggleClass('active') | ||
207 | } | ||
208 | |||
209 | |||
210 | /* BUTTON PLUGIN DEFINITION | ||
211 | * ======================== */ | ||
212 | |||
213 | $.fn.button = function (option) { | ||
214 | return this.each(function () { | ||
215 | var $this = $(this) | ||
216 | , data = $this.data('button') | ||
217 | , options = typeof option == 'object' && option | ||
218 | if (!data) $this.data('button', (data = new Button(this, options))) | ||
219 | if (option == 'toggle') data.toggle() | ||
220 | else if (option) data.setState(option) | ||
221 | }) | ||
222 | } | ||
223 | |||
224 | $.fn.button.defaults = { | ||
225 | loadingText: 'loading...' | ||
226 | } | ||
227 | |||
228 | $.fn.button.Constructor = Button | ||
229 | |||
230 | |||
231 | /* BUTTON DATA-API | ||
232 | * =============== */ | ||
233 | |||
234 | $(document).on('click.button.data-api', '[data-toggle^=button]', function (e) { | ||
235 | var $btn = $(e.target) | ||
236 | if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') | ||
237 | $btn.button('toggle') | ||
238 | }) | ||
239 | |||
240 | }(window.jQuery);/* ========================================================== | ||
241 | * bootstrap-carousel.js v2.2.1 | ||
242 | * http://twitter.github.com/bootstrap/javascript.html#carousel | ||
243 | * ========================================================== | ||
244 | * Copyright 2012 Twitter, Inc. | ||
245 | * | ||
246 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
247 | * you may not use this file except in compliance with the License. | ||
248 | * You may obtain a copy of the License at | ||
249 | * | ||
250 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
251 | * | ||
252 | * Unless required by applicable law or agreed to in writing, software | ||
253 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
254 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
255 | * See the License for the specific language governing permissions and | ||
256 | * limitations under the License. | ||
257 | * ========================================================== */ | ||
258 | |||
259 | |||
260 | !function ($) { | ||
261 | |||
262 | "use strict"; // jshint ;_; | ||
263 | |||
264 | |||
265 | /* CAROUSEL CLASS DEFINITION | ||
266 | * ========================= */ | ||
267 | |||
268 | var Carousel = function (element, options) { | ||
269 | this.$element = $(element) | ||
270 | this.options = options | ||
271 | this.options.slide && this.slide(this.options.slide) | ||
272 | this.options.pause == 'hover' && this.$element | ||
273 | .on('mouseenter', $.proxy(this.pause, this)) | ||
274 | .on('mouseleave', $.proxy(this.cycle, this)) | ||
275 | } | ||
276 | |||
277 | Carousel.prototype = { | ||
278 | |||
279 | cycle: function (e) { | ||
280 | if (!e) this.paused = false | ||
281 | this.options.interval | ||
282 | && !this.paused | ||
283 | && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) | ||
284 | return this | ||
285 | } | ||
286 | |||
287 | , to: function (pos) { | ||
288 | var $active = this.$element.find('.item.active') | ||
289 | , children = $active.parent().children() | ||
290 | , activePos = children.index($active) | ||
291 | , that = this | ||
292 | |||
293 | if (pos > (children.length - 1) || pos < 0) return | ||
294 | |||
295 | if (this.sliding) { | ||
296 | return this.$element.one('slid', function () { | ||
297 | that.to(pos) | ||
298 | }) | ||
299 | } | ||
300 | |||
301 | if (activePos == pos) { | ||
302 | return this.pause().cycle() | ||
303 | } | ||
304 | |||
305 | return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos])) | ||
306 | } | ||
307 | |||
308 | , pause: function (e) { | ||
309 | if (!e) this.paused = true | ||
310 | if (this.$element.find('.next, .prev').length && $.support.transition.end) { | ||
311 | this.$element.trigger($.support.transition.end) | ||
312 | this.cycle() | ||
313 | } | ||
314 | clearInterval(this.interval) | ||
315 | this.interval = null | ||
316 | return this | ||
317 | } | ||
318 | |||
319 | , next: function () { | ||
320 | if (this.sliding) return | ||
321 | return this.slide('next') | ||
322 | } | ||
323 | |||
324 | , prev: function () { | ||
325 | if (this.sliding) return | ||
326 | return this.slide('prev') | ||
327 | } | ||
328 | |||
329 | , slide: function (type, next) { | ||
330 | var $active = this.$element.find('.item.active') | ||
331 | , $next = next || $active[type]() | ||
332 | , isCycling = this.interval | ||
333 | , direction = type == 'next' ? 'left' : 'right' | ||
334 | , fallback = type == 'next' ? 'first' : 'last' | ||
335 | , that = this | ||
336 | , e | ||
337 | |||
338 | this.sliding = true | ||
339 | |||
340 | isCycling && this.pause() | ||
341 | |||
342 | $next = $next.length ? $next : this.$element.find('.item')[fallback]() | ||
343 | |||
344 | e = $.Event('slide', { | ||
345 | relatedTarget: $next[0] | ||
346 | }) | ||
347 | |||
348 | if ($next.hasClass('active')) return | ||
349 | |||
350 | if ($.support.transition && this.$element.hasClass('slide')) { | ||
351 | this.$element.trigger(e) | ||
352 | if (e.isDefaultPrevented()) return | ||
353 | $next.addClass(type) | ||
354 | $next[0].offsetWidth // force reflow | ||
355 | $active.addClass(direction) | ||
356 | $next.addClass(direction) | ||
357 | this.$element.one($.support.transition.end, function () { | ||
358 | $next.removeClass([type, direction].join(' ')).addClass('active') | ||
359 | $active.removeClass(['active', direction].join(' ')) | ||
360 | that.sliding = false | ||
361 | setTimeout(function () { that.$element.trigger('slid') }, 0) | ||
362 | }) | ||
363 | } else { | ||
364 | this.$element.trigger(e) | ||
365 | if (e.isDefaultPrevented()) return | ||
366 | $active.removeClass('active') | ||
367 | $next.addClass('active') | ||
368 | this.sliding = false | ||
369 | this.$element.trigger('slid') | ||
370 | } | ||
371 | |||
372 | isCycling && this.cycle() | ||
373 | |||
374 | return this | ||
375 | } | ||
376 | |||
377 | } | ||
378 | |||
379 | |||
380 | /* CAROUSEL PLUGIN DEFINITION | ||
381 | * ========================== */ | ||
382 | |||
383 | $.fn.carousel = function (option) { | ||
384 | return this.each(function () { | ||
385 | var $this = $(this) | ||
386 | , data = $this.data('carousel') | ||
387 | , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option) | ||
388 | , action = typeof option == 'string' ? option : options.slide | ||
389 | if (!data) $this.data('carousel', (data = new Carousel(this, options))) | ||
390 | if (typeof option == 'number') data.to(option) | ||
391 | else if (action) data[action]() | ||
392 | else if (options.interval) data.cycle() | ||
393 | }) | ||
394 | } | ||
395 | |||
396 | $.fn.carousel.defaults = { | ||
397 | interval: 5000 | ||
398 | , pause: 'hover' | ||
399 | } | ||
400 | |||
401 | $.fn.carousel.Constructor = Carousel | ||
402 | |||
403 | |||
404 | /* CAROUSEL DATA-API | ||
405 | * ================= */ | ||
406 | |||
407 | $(document).on('click.carousel.data-api', '[data-slide]', function (e) { | ||
408 | var $this = $(this), href | ||
409 | , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 | ||
410 | , options = $.extend({}, $target.data(), $this.data()) | ||
411 | $target.carousel(options) | ||
412 | e.preventDefault() | ||
413 | }) | ||
414 | |||
415 | }(window.jQuery);/* ============================================================= | ||
416 | * bootstrap-collapse.js v2.2.1 | ||
417 | * http://twitter.github.com/bootstrap/javascript.html#collapse | ||
418 | * ============================================================= | ||
419 | * Copyright 2012 Twitter, Inc. | ||
420 | * | ||
421 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
422 | * you may not use this file except in compliance with the License. | ||
423 | * You may obtain a copy of the License at | ||
424 | * | ||
425 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
426 | * | ||
427 | * Unless required by applicable law or agreed to in writing, software | ||
428 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
429 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
430 | * See the License for the specific language governing permissions and | ||
431 | * limitations under the License. | ||
432 | * ============================================================ */ | ||
433 | |||
434 | |||
435 | !function ($) { | ||
436 | |||
437 | "use strict"; // jshint ;_; | ||
438 | |||
439 | |||
440 | /* COLLAPSE PUBLIC CLASS DEFINITION | ||
441 | * ================================ */ | ||
442 | |||
443 | var Collapse = function (element, options) { | ||
444 | this.$element = $(element) | ||
445 | this.options = $.extend({}, $.fn.collapse.defaults, options) | ||
446 | |||
447 | if (this.options.parent) { | ||
448 | this.$parent = $(this.options.parent) | ||
449 | } | ||
450 | |||
451 | this.options.toggle && this.toggle() | ||
452 | } | ||
453 | |||
454 | Collapse.prototype = { | ||
455 | |||
456 | constructor: Collapse | ||
457 | |||
458 | , dimension: function () { | ||
459 | var hasWidth = this.$element.hasClass('width') | ||
460 | return hasWidth ? 'width' : 'height' | ||
461 | } | ||
462 | |||
463 | , show: function () { | ||
464 | var dimension | ||
465 | , scroll | ||
466 | , actives | ||
467 | , hasData | ||
468 | |||
469 | if (this.transitioning) return | ||
470 | |||
471 | dimension = this.dimension() | ||
472 | scroll = $.camelCase(['scroll', dimension].join('-')) | ||
473 | actives = this.$parent && this.$parent.find('> .accordion-group > .in') | ||
474 | |||
475 | if (actives && actives.length) { | ||
476 | hasData = actives.data('collapse') | ||
477 | if (hasData && hasData.transitioning) return | ||
478 | actives.collapse('hide') | ||
479 | hasData || actives.data('collapse', null) | ||
480 | } | ||
481 | |||
482 | this.$element[dimension](0) | ||
483 | this.transition('addClass', $.Event('show'), 'shown') | ||
484 | $.support.transition && this.$element[dimension](this.$element[0][scroll]) | ||
485 | } | ||
486 | |||
487 | , hide: function () { | ||
488 | var dimension | ||
489 | if (this.transitioning) return | ||
490 | dimension = this.dimension() | ||
491 | this.reset(this.$element[dimension]()) | ||
492 | this.transition('removeClass', $.Event('hide'), 'hidden') | ||
493 | this.$element[dimension](0) | ||
494 | } | ||
495 | |||
496 | , reset: function (size) { | ||
497 | var dimension = this.dimension() | ||
498 | |||
499 | this.$element | ||
500 | .removeClass('collapse') | ||
501 | [dimension](size || 'auto') | ||
502 | [0].offsetWidth | ||
503 | |||
504 | this.$element[size !== null ? 'addClass' : 'removeClass']('collapse') | ||
505 | |||
506 | return this | ||
507 | } | ||
508 | |||
509 | , transition: function (method, startEvent, completeEvent) { | ||
510 | var that = this | ||
511 | , complete = function () { | ||
512 | if (startEvent.type == 'show') that.reset() | ||
513 | that.transitioning = 0 | ||
514 | that.$element.trigger(completeEvent) | ||
515 | } | ||
516 | |||
517 | this.$element.trigger(startEvent) | ||
518 | |||
519 | if (startEvent.isDefaultPrevented()) return | ||
520 | |||
521 | this.transitioning = 1 | ||
522 | |||
523 | this.$element[method]('in') | ||
524 | |||
525 | $.support.transition && this.$element.hasClass('collapse') ? | ||
526 | this.$element.one($.support.transition.end, complete) : | ||
527 | complete() | ||
528 | } | ||
529 | |||
530 | , toggle: function () { | ||
531 | this[this.$element.hasClass('in') ? 'hide' : 'show']() | ||
532 | } | ||
533 | |||
534 | } | ||
535 | |||
536 | |||
537 | /* COLLAPSIBLE PLUGIN DEFINITION | ||
538 | * ============================== */ | ||
539 | |||
540 | $.fn.collapse = function (option) { | ||
541 | return this.each(function () { | ||
542 | var $this = $(this) | ||
543 | , data = $this.data('collapse') | ||
544 | , options = typeof option == 'object' && option | ||
545 | if (!data) $this.data('collapse', (data = new Collapse(this, options))) | ||
546 | if (typeof option == 'string') data[option]() | ||
547 | }) | ||
548 | } | ||
549 | |||
550 | $.fn.collapse.defaults = { | ||
551 | toggle: true | ||
552 | } | ||
553 | |||
554 | $.fn.collapse.Constructor = Collapse | ||
555 | |||
556 | |||
557 | /* COLLAPSIBLE DATA-API | ||
558 | * ==================== */ | ||
559 | |||
560 | $(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) { | ||
561 | var $this = $(this), href | ||
562 | , target = $this.attr('data-target') | ||
563 | || e.preventDefault() | ||
564 | || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 | ||
565 | , option = $(target).data('collapse') ? 'toggle' : $this.data() | ||
566 | $this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed') | ||
567 | $(target).collapse(option) | ||
568 | }) | ||
569 | |||
570 | }(window.jQuery);/* ============================================================ | ||
571 | * bootstrap-dropdown.js v2.2.1 | ||
572 | * http://twitter.github.com/bootstrap/javascript.html#dropdowns | ||
573 | * ============================================================ | ||
574 | * Copyright 2012 Twitter, Inc. | ||
575 | * | ||
576 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
577 | * you may not use this file except in compliance with the License. | ||
578 | * You may obtain a copy of the License at | ||
579 | * | ||
580 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
581 | * | ||
582 | * Unless required by applicable law or agreed to in writing, software | ||
583 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
584 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
585 | * See the License for the specific language governing permissions and | ||
586 | * limitations under the License. | ||
587 | * ============================================================ */ | ||
588 | |||
589 | |||
590 | !function ($) { | ||
591 | |||
592 | "use strict"; // jshint ;_; | ||
593 | |||
594 | |||
595 | /* DROPDOWN CLASS DEFINITION | ||
596 | * ========================= */ | ||
597 | |||
598 | var toggle = '[data-toggle=dropdown]' | ||
599 | , Dropdown = function (element) { | ||
600 | var $el = $(element).on('click.dropdown.data-api', this.toggle) | ||
601 | $('html').on('click.dropdown.data-api', function () { | ||
602 | $el.parent().removeClass('open') | ||
603 | }) | ||
604 | } | ||
605 | |||
606 | Dropdown.prototype = { | ||
607 | |||
608 | constructor: Dropdown | ||
609 | |||
610 | , toggle: function (e) { | ||
611 | var $this = $(this) | ||
612 | , $parent | ||
613 | , isActive | ||
614 | |||
615 | if ($this.is('.disabled, :disabled')) return | ||
616 | |||
617 | $parent = getParent($this) | ||
618 | |||
619 | isActive = $parent.hasClass('open') | ||
620 | |||
621 | clearMenus() | ||
622 | |||
623 | if (!isActive) { | ||
624 | $parent.toggleClass('open') | ||
625 | $this.focus() | ||
626 | } | ||
627 | |||
628 | return false | ||
629 | } | ||
630 | |||
631 | , keydown: function (e) { | ||
632 | var $this | ||
633 | , $items | ||
634 | , $active | ||
635 | , $parent | ||
636 | , isActive | ||
637 | , index | ||
638 | |||
639 | if (!/(38|40|27)/.test(e.keyCode)) return | ||
640 | |||
641 | $this = $(this) | ||
642 | |||
643 | e.preventDefault() | ||
644 | e.stopPropagation() | ||
645 | |||
646 | if ($this.is('.disabled, :disabled')) return | ||
647 | |||
648 | $parent = getParent($this) | ||
649 | |||
650 | isActive = $parent.hasClass('open') | ||
651 | |||
652 | if (!isActive || (isActive && e.keyCode == 27)) return $this.click() | ||
653 | |||
654 | $items = $('[role=menu] li:not(.divider) a', $parent) | ||
655 | |||
656 | if (!$items.length) return | ||
657 | |||
658 | index = $items.index($items.filter(':focus')) | ||
659 | |||
660 | if (e.keyCode == 38 && index > 0) index-- // up | ||
661 | if (e.keyCode == 40 && index < $items.length - 1) index++ // down | ||
662 | if (!~index) index = 0 | ||
663 | |||
664 | $items | ||
665 | .eq(index) | ||
666 | .focus() | ||
667 | } | ||
668 | |||
669 | } | ||
670 | |||
671 | function clearMenus() { | ||
672 | $(toggle).each(function () { | ||
673 | getParent($(this)).removeClass('open') | ||
674 | }) | ||
675 | } | ||
676 | |||
677 | function getParent($this) { | ||
678 | var selector = $this.attr('data-target') | ||
679 | , $parent | ||
680 | |||
681 | if (!selector) { | ||
682 | selector = $this.attr('href') | ||
683 | selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 | ||
684 | } | ||
685 | |||
686 | $parent = $(selector) | ||
687 | $parent.length || ($parent = $this.parent()) | ||
688 | |||
689 | return $parent | ||
690 | } | ||
691 | |||
692 | |||
693 | /* DROPDOWN PLUGIN DEFINITION | ||
694 | * ========================== */ | ||
695 | |||
696 | $.fn.dropdown = function (option) { | ||
697 | return this.each(function () { | ||
698 | var $this = $(this) | ||
699 | , data = $this.data('dropdown') | ||
700 | if (!data) $this.data('dropdown', (data = new Dropdown(this))) | ||
701 | if (typeof option == 'string') data[option].call($this) | ||
702 | }) | ||
703 | } | ||
704 | |||
705 | $.fn.dropdown.Constructor = Dropdown | ||
706 | |||
707 | |||
708 | /* APPLY TO STANDARD DROPDOWN ELEMENTS | ||
709 | * =================================== */ | ||
710 | |||
711 | $(document) | ||
712 | .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) | ||
713 | .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) | ||
714 | .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle) | ||
715 | .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) | ||
716 | |||
717 | }(window.jQuery);/* ========================================================= | ||
718 | * bootstrap-modal.js v2.2.1 | ||
719 | * http://twitter.github.com/bootstrap/javascript.html#modals | ||
720 | * ========================================================= | ||
721 | * Copyright 2012 Twitter, Inc. | ||
722 | * | ||
723 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
724 | * you may not use this file except in compliance with the License. | ||
725 | * You may obtain a copy of the License at | ||
726 | * | ||
727 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
728 | * | ||
729 | * Unless required by applicable law or agreed to in writing, software | ||
730 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
731 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
732 | * See the License for the specific language governing permissions and | ||
733 | * limitations under the License. | ||
734 | * ========================================================= */ | ||
735 | |||
736 | |||
737 | !function ($) { | ||
738 | |||
739 | "use strict"; // jshint ;_; | ||
740 | |||
741 | |||
742 | /* MODAL CLASS DEFINITION | ||
743 | * ====================== */ | ||
744 | |||
745 | var Modal = function (element, options) { | ||
746 | this.options = options | ||
747 | this.$element = $(element) | ||
748 | .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)) | ||
749 | this.options.remote && this.$element.find('.modal-body').load(this.options.remote) | ||
750 | } | ||
751 | |||
752 | Modal.prototype = { | ||
753 | |||
754 | constructor: Modal | ||
755 | |||
756 | , toggle: function () { | ||
757 | return this[!this.isShown ? 'show' : 'hide']() | ||
758 | } | ||
759 | |||
760 | , show: function () { | ||
761 | var that = this | ||
762 | , e = $.Event('show') | ||
763 | |||
764 | this.$element.trigger(e) | ||
765 | |||
766 | if (this.isShown || e.isDefaultPrevented()) return | ||
767 | |||
768 | this.isShown = true | ||
769 | |||
770 | this.escape() | ||
771 | |||
772 | this.backdrop(function () { | ||
773 | var transition = $.support.transition && that.$element.hasClass('fade') | ||
774 | |||
775 | if (!that.$element.parent().length) { | ||
776 | that.$element.appendTo(document.body) //don't move modals dom position | ||
777 | } | ||
778 | |||
779 | that.$element | ||
780 | .show() | ||
781 | |||
782 | if (transition) { | ||
783 | that.$element[0].offsetWidth // force reflow | ||
784 | } | ||
785 | |||
786 | that.$element | ||
787 | .addClass('in') | ||
788 | .attr('aria-hidden', false) | ||
789 | |||
790 | that.enforceFocus() | ||
791 | |||
792 | transition ? | ||
793 | that.$element.one($.support.transition.end, function () { that.$element.focus().trigger('shown') }) : | ||
794 | that.$element.focus().trigger('shown') | ||
795 | |||
796 | }) | ||
797 | } | ||
798 | |||
799 | , hide: function (e) { | ||
800 | e && e.preventDefault() | ||
801 | |||
802 | var that = this | ||
803 | |||
804 | e = $.Event('hide') | ||
805 | |||
806 | this.$element.trigger(e) | ||
807 | |||
808 | if (!this.isShown || e.isDefaultPrevented()) return | ||
809 | |||
810 | this.isShown = false | ||
811 | |||
812 | this.escape() | ||
813 | |||
814 | $(document).off('focusin.modal') | ||
815 | |||
816 | this.$element | ||
817 | .removeClass('in') | ||
818 | .attr('aria-hidden', true) | ||
819 | |||
820 | $.support.transition && this.$element.hasClass('fade') ? | ||
821 | this.hideWithTransition() : | ||
822 | this.hideModal() | ||
823 | } | ||
824 | |||
825 | , enforceFocus: function () { | ||
826 | var that = this | ||
827 | $(document).on('focusin.modal', function (e) { | ||
828 | if (that.$element[0] !== e.target && !that.$element.has(e.target).length) { | ||
829 | that.$element.focus() | ||
830 | } | ||
831 | }) | ||
832 | } | ||
833 | |||
834 | , escape: function () { | ||
835 | var that = this | ||
836 | if (this.isShown && this.options.keyboard) { | ||
837 | this.$element.on('keyup.dismiss.modal', function ( e ) { | ||
838 | e.which == 27 && that.hide() | ||
839 | }) | ||
840 | } else if (!this.isShown) { | ||
841 | this.$element.off('keyup.dismiss.modal') | ||
842 | } | ||
843 | } | ||
844 | |||
845 | , hideWithTransition: function () { | ||
846 | var that = this | ||
847 | , timeout = setTimeout(function () { | ||
848 | that.$element.off($.support.transition.end) | ||
849 | that.hideModal() | ||
850 | }, 500) | ||
851 | |||
852 | this.$element.one($.support.transition.end, function () { | ||
853 | clearTimeout(timeout) | ||
854 | that.hideModal() | ||
855 | }) | ||
856 | } | ||
857 | |||
858 | , hideModal: function (that) { | ||
859 | this.$element | ||
860 | .hide() | ||
861 | .trigger('hidden') | ||
862 | |||
863 | this.backdrop() | ||
864 | } | ||
865 | |||
866 | , removeBackdrop: function () { | ||
867 | this.$backdrop.remove() | ||
868 | this.$backdrop = null | ||
869 | } | ||
870 | |||
871 | , backdrop: function (callback) { | ||
872 | var that = this | ||
873 | , animate = this.$element.hasClass('fade') ? 'fade' : '' | ||
874 | |||
875 | if (this.isShown && this.options.backdrop) { | ||
876 | var doAnimate = $.support.transition && animate | ||
877 | |||
878 | this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />') | ||
879 | .appendTo(document.body) | ||
880 | |||
881 | this.$backdrop.click( | ||
882 | this.options.backdrop == 'static' ? | ||
883 | $.proxy(this.$element[0].focus, this.$element[0]) | ||
884 | : $.proxy(this.hide, this) | ||
885 | ) | ||
886 | |||
887 | if (doAnimate) this.$backdrop[0].offsetWidth // force reflow | ||
888 | |||
889 | this.$backdrop.addClass('in') | ||
890 | |||
891 | doAnimate ? | ||
892 | this.$backdrop.one($.support.transition.end, callback) : | ||
893 | callback() | ||
894 | |||
895 | } else if (!this.isShown && this.$backdrop) { | ||
896 | this.$backdrop.removeClass('in') | ||
897 | |||
898 | $.support.transition && this.$element.hasClass('fade')? | ||
899 | this.$backdrop.one($.support.transition.end, $.proxy(this.removeBackdrop, this)) : | ||
900 | this.removeBackdrop() | ||
901 | |||
902 | } else if (callback) { | ||
903 | callback() | ||
904 | } | ||
905 | } | ||
906 | } | ||
907 | |||
908 | |||
909 | /* MODAL PLUGIN DEFINITION | ||
910 | * ======================= */ | ||
911 | |||
912 | $.fn.modal = function (option) { | ||
913 | return this.each(function () { | ||
914 | var $this = $(this) | ||
915 | , data = $this.data('modal') | ||
916 | , options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option) | ||
917 | if (!data) $this.data('modal', (data = new Modal(this, options))) | ||
918 | if (typeof option == 'string') data[option]() | ||
919 | else if (options.show) data.show() | ||
920 | }) | ||
921 | } | ||
922 | |||
923 | $.fn.modal.defaults = { | ||
924 | backdrop: true | ||
925 | , keyboard: true | ||
926 | , show: true | ||
927 | } | ||
928 | |||
929 | $.fn.modal.Constructor = Modal | ||
930 | |||
931 | |||
932 | /* MODAL DATA-API | ||
933 | * ============== */ | ||
934 | |||
935 | $(document).on('click.modal.data-api', '[data-toggle="modal"]', function (e) { | ||
936 | var $this = $(this) | ||
937 | , href = $this.attr('href') | ||
938 | , $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7 | ||
939 | , option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data()) | ||
940 | |||
941 | e.preventDefault() | ||
942 | |||
943 | $target | ||
944 | .modal(option) | ||
945 | .one('hide', function () { | ||
946 | $this.focus() | ||
947 | }) | ||
948 | }) | ||
949 | |||
950 | }(window.jQuery); | ||
951 | /* =========================================================== | ||
952 | * bootstrap-tooltip.js v2.2.1 | ||
953 | * http://twitter.github.com/bootstrap/javascript.html#tooltips | ||
954 | * Inspired by the original jQuery.tipsy by Jason Frame | ||
955 | * =========================================================== | ||
956 | * Copyright 2012 Twitter, Inc. | ||
957 | * | ||
958 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
959 | * you may not use this file except in compliance with the License. | ||
960 | * You may obtain a copy of the License at | ||
961 | * | ||
962 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
963 | * | ||
964 | * Unless required by applicable law or agreed to in writing, software | ||
965 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
966 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
967 | * See the License for the specific language governing permissions and | ||
968 | * limitations under the License. | ||
969 | * ========================================================== */ | ||
970 | |||
971 | |||
972 | !function ($) { | ||
973 | |||
974 | "use strict"; // jshint ;_; | ||
975 | |||
976 | |||
977 | /* TOOLTIP PUBLIC CLASS DEFINITION | ||
978 | * =============================== */ | ||
979 | |||
980 | var Tooltip = function (element, options) { | ||
981 | this.init('tooltip', element, options) | ||
982 | } | ||
983 | |||
984 | Tooltip.prototype = { | ||
985 | |||
986 | constructor: Tooltip | ||
987 | |||
988 | , init: function (type, element, options) { | ||
989 | var eventIn | ||
990 | , eventOut | ||
991 | |||
992 | this.type = type | ||
993 | this.$element = $(element) | ||
994 | this.options = this.getOptions(options) | ||
995 | this.enabled = true | ||
996 | |||
997 | if (this.options.trigger == 'click') { | ||
998 | this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this)) | ||
999 | } else if (this.options.trigger != 'manual') { | ||
1000 | eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus' | ||
1001 | eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur' | ||
1002 | this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) | ||
1003 | this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) | ||
1004 | } | ||
1005 | |||
1006 | this.options.selector ? | ||
1007 | (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) : | ||
1008 | this.fixTitle() | ||
1009 | } | ||
1010 | |||
1011 | , getOptions: function (options) { | ||
1012 | options = $.extend({}, $.fn[this.type].defaults, options, this.$element.data()) | ||
1013 | |||
1014 | if (options.delay && typeof options.delay == 'number') { | ||
1015 | options.delay = { | ||
1016 | show: options.delay | ||
1017 | , hide: options.delay | ||
1018 | } | ||
1019 | } | ||
1020 | |||
1021 | return options | ||
1022 | } | ||
1023 | |||
1024 | , enter: function (e) { | ||
1025 | var self = $(e.currentTarget)[this.type](this._options).data(this.type) | ||
1026 | |||
1027 | if (!self.options.delay || !self.options.delay.show) return self.show() | ||
1028 | |||
1029 | clearTimeout(this.timeout) | ||
1030 | self.hoverState = 'in' | ||
1031 | this.timeout = setTimeout(function() { | ||
1032 | if (self.hoverState == 'in') self.show() | ||
1033 | }, self.options.delay.show) | ||
1034 | } | ||
1035 | |||
1036 | , leave: function (e) { | ||
1037 | var self = $(e.currentTarget)[this.type](this._options).data(this.type) | ||
1038 | |||
1039 | if (this.timeout) clearTimeout(this.timeout) | ||
1040 | if (!self.options.delay || !self.options.delay.hide) return self.hide() | ||
1041 | |||
1042 | self.hoverState = 'out' | ||
1043 | this.timeout = setTimeout(function() { | ||
1044 | if (self.hoverState == 'out') self.hide() | ||
1045 | }, self.options.delay.hide) | ||
1046 | } | ||
1047 | |||
1048 | , show: function () { | ||
1049 | var $tip | ||
1050 | , inside | ||
1051 | , pos | ||
1052 | , actualWidth | ||
1053 | , actualHeight | ||
1054 | , placement | ||
1055 | , tp | ||
1056 | |||
1057 | if (this.hasContent() && this.enabled) { | ||
1058 | $tip = this.tip() | ||
1059 | this.setContent() | ||
1060 | |||
1061 | if (this.options.animation) { | ||
1062 | $tip.addClass('fade') | ||
1063 | } | ||
1064 | |||
1065 | placement = typeof this.options.placement == 'function' ? | ||
1066 | this.options.placement.call(this, $tip[0], this.$element[0]) : | ||
1067 | this.options.placement | ||
1068 | |||
1069 | inside = /in/.test(placement) | ||
1070 | |||
1071 | $tip | ||
1072 | .detach() | ||
1073 | .css({ top: 0, left: 0, display: 'block' }) | ||
1074 | .insertAfter(this.$element) | ||
1075 | |||
1076 | pos = this.getPosition(inside) | ||
1077 | |||
1078 | actualWidth = $tip[0].offsetWidth | ||
1079 | actualHeight = $tip[0].offsetHeight | ||
1080 | |||
1081 | switch (inside ? placement.split(' ')[1] : placement) { | ||
1082 | case 'bottom': | ||
1083 | tp = {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2} | ||
1084 | break | ||
1085 | case 'top': | ||
1086 | tp = {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2} | ||
1087 | break | ||
1088 | case 'left': | ||
1089 | tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth} | ||
1090 | break | ||
1091 | case 'right': | ||
1092 | tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width} | ||
1093 | break | ||
1094 | } | ||
1095 | |||
1096 | $tip | ||
1097 | .offset(tp) | ||
1098 | .addClass(placement) | ||
1099 | .addClass('in') | ||
1100 | } | ||
1101 | } | ||
1102 | |||
1103 | , setContent: function () { | ||
1104 | var $tip = this.tip() | ||
1105 | , title = this.getTitle() | ||
1106 | |||
1107 | $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) | ||
1108 | $tip.removeClass('fade in top bottom left right') | ||
1109 | } | ||
1110 | |||
1111 | , hide: function () { | ||
1112 | var that = this | ||
1113 | , $tip = this.tip() | ||
1114 | |||
1115 | $tip.removeClass('in') | ||
1116 | |||
1117 | function removeWithAnimation() { | ||
1118 | var timeout = setTimeout(function () { | ||
1119 | $tip.off($.support.transition.end).detach() | ||
1120 | }, 500) | ||
1121 | |||
1122 | $tip.one($.support.transition.end, function () { | ||
1123 | clearTimeout(timeout) | ||
1124 | $tip.detach() | ||
1125 | }) | ||
1126 | } | ||
1127 | |||
1128 | $.support.transition && this.$tip.hasClass('fade') ? | ||
1129 | removeWithAnimation() : | ||
1130 | $tip.detach() | ||
1131 | |||
1132 | return this | ||
1133 | } | ||
1134 | |||
1135 | , fixTitle: function () { | ||
1136 | var $e = this.$element | ||
1137 | if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { | ||
1138 | $e.attr('data-original-title', $e.attr('title') || '').removeAttr('title') | ||
1139 | } | ||
1140 | } | ||
1141 | |||
1142 | , hasContent: function () { | ||
1143 | return this.getTitle() | ||
1144 | } | ||
1145 | |||
1146 | , getPosition: function (inside) { | ||
1147 | return $.extend({}, (inside ? {top: 0, left: 0} : this.$element.offset()), { | ||
1148 | width: this.$element[0].offsetWidth | ||
1149 | , height: this.$element[0].offsetHeight | ||
1150 | }) | ||
1151 | } | ||
1152 | |||
1153 | , getTitle: function () { | ||
1154 | var title | ||
1155 | , $e = this.$element | ||
1156 | , o = this.options | ||
1157 | |||
1158 | title = $e.attr('data-original-title') | ||
1159 | || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) | ||
1160 | |||
1161 | return title | ||
1162 | } | ||
1163 | |||
1164 | , tip: function () { | ||
1165 | return this.$tip = this.$tip || $(this.options.template) | ||
1166 | } | ||
1167 | |||
1168 | , validate: function () { | ||
1169 | if (!this.$element[0].parentNode) { | ||
1170 | this.hide() | ||
1171 | this.$element = null | ||
1172 | this.options = null | ||
1173 | } | ||
1174 | } | ||
1175 | |||
1176 | , enable: function () { | ||
1177 | this.enabled = true | ||
1178 | } | ||
1179 | |||
1180 | , disable: function () { | ||
1181 | this.enabled = false | ||
1182 | } | ||
1183 | |||
1184 | , toggleEnabled: function () { | ||
1185 | this.enabled = !this.enabled | ||
1186 | } | ||
1187 | |||
1188 | , toggle: function (e) { | ||
1189 | var self = $(e.currentTarget)[this.type](this._options).data(this.type) | ||
1190 | self[self.tip().hasClass('in') ? 'hide' : 'show']() | ||
1191 | } | ||
1192 | |||
1193 | , destroy: function () { | ||
1194 | this.hide().$element.off('.' + this.type).removeData(this.type) | ||
1195 | } | ||
1196 | |||
1197 | } | ||
1198 | |||
1199 | |||
1200 | /* TOOLTIP PLUGIN DEFINITION | ||
1201 | * ========================= */ | ||
1202 | |||
1203 | $.fn.tooltip = function ( option ) { | ||
1204 | return this.each(function () { | ||
1205 | var $this = $(this) | ||
1206 | , data = $this.data('tooltip') | ||
1207 | , options = typeof option == 'object' && option | ||
1208 | if (!data) $this.data('tooltip', (data = new Tooltip(this, options))) | ||
1209 | if (typeof option == 'string') data[option]() | ||
1210 | }) | ||
1211 | } | ||
1212 | |||
1213 | $.fn.tooltip.Constructor = Tooltip | ||
1214 | |||
1215 | $.fn.tooltip.defaults = { | ||
1216 | animation: true | ||
1217 | , placement: 'top' | ||
1218 | , selector: false | ||
1219 | , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' | ||
1220 | , trigger: 'hover' | ||
1221 | , title: '' | ||
1222 | , delay: 0 | ||
1223 | , html: false | ||
1224 | } | ||
1225 | |||
1226 | }(window.jQuery);/* =========================================================== | ||
1227 | * bootstrap-popover.js v2.2.1 | ||
1228 | * http://twitter.github.com/bootstrap/javascript.html#popovers | ||
1229 | * =========================================================== | ||
1230 | * Copyright 2012 Twitter, Inc. | ||
1231 | * | ||
1232 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
1233 | * you may not use this file except in compliance with the License. | ||
1234 | * You may obtain a copy of the License at | ||
1235 | * | ||
1236 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
1237 | * | ||
1238 | * Unless required by applicable law or agreed to in writing, software | ||
1239 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
1240 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
1241 | * See the License for the specific language governing permissions and | ||
1242 | * limitations under the License. | ||
1243 | * =========================================================== */ | ||
1244 | |||
1245 | |||
1246 | !function ($) { | ||
1247 | |||
1248 | "use strict"; // jshint ;_; | ||
1249 | |||
1250 | |||
1251 | /* POPOVER PUBLIC CLASS DEFINITION | ||
1252 | * =============================== */ | ||
1253 | |||
1254 | var Popover = function (element, options) { | ||
1255 | this.init('popover', element, options) | ||
1256 | } | ||
1257 | |||
1258 | |||
1259 | /* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js | ||
1260 | ========================================== */ | ||
1261 | |||
1262 | Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, { | ||
1263 | |||
1264 | constructor: Popover | ||
1265 | |||
1266 | , setContent: function () { | ||
1267 | var $tip = this.tip() | ||
1268 | , title = this.getTitle() | ||
1269 | , content = this.getContent() | ||
1270 | |||
1271 | $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) | ||
1272 | $tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content) | ||
1273 | |||
1274 | $tip.removeClass('fade top bottom left right in') | ||
1275 | } | ||
1276 | |||
1277 | , hasContent: function () { | ||
1278 | return this.getTitle() || this.getContent() | ||
1279 | } | ||
1280 | |||
1281 | , getContent: function () { | ||
1282 | var content | ||
1283 | , $e = this.$element | ||
1284 | , o = this.options | ||
1285 | |||
1286 | content = $e.attr('data-content') | ||
1287 | || (typeof o.content == 'function' ? o.content.call($e[0]) : o.content) | ||
1288 | |||
1289 | return content | ||
1290 | } | ||
1291 | |||
1292 | , tip: function () { | ||
1293 | if (!this.$tip) { | ||
1294 | this.$tip = $(this.options.template) | ||
1295 | } | ||
1296 | return this.$tip | ||
1297 | } | ||
1298 | |||
1299 | , destroy: function () { | ||
1300 | this.hide().$element.off('.' + this.type).removeData(this.type) | ||
1301 | } | ||
1302 | |||
1303 | }) | ||
1304 | |||
1305 | |||
1306 | /* POPOVER PLUGIN DEFINITION | ||
1307 | * ======================= */ | ||
1308 | |||
1309 | $.fn.popover = function (option) { | ||
1310 | return this.each(function () { | ||
1311 | var $this = $(this) | ||
1312 | , data = $this.data('popover') | ||
1313 | , options = typeof option == 'object' && option | ||
1314 | if (!data) $this.data('popover', (data = new Popover(this, options))) | ||
1315 | if (typeof option == 'string') data[option]() | ||
1316 | }) | ||
1317 | } | ||
1318 | |||
1319 | $.fn.popover.Constructor = Popover | ||
1320 | |||
1321 | $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, { | ||
1322 | placement: 'right' | ||
1323 | , trigger: 'click' | ||
1324 | , content: '' | ||
1325 | , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>' | ||
1326 | }) | ||
1327 | |||
1328 | }(window.jQuery);/* ============================================================= | ||
1329 | * bootstrap-scrollspy.js v2.2.1 | ||
1330 | * http://twitter.github.com/bootstrap/javascript.html#scrollspy | ||
1331 | * ============================================================= | ||
1332 | * Copyright 2012 Twitter, Inc. | ||
1333 | * | ||
1334 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
1335 | * you may not use this file except in compliance with the License. | ||
1336 | * You may obtain a copy of the License at | ||
1337 | * | ||
1338 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
1339 | * | ||
1340 | * Unless required by applicable law or agreed to in writing, software | ||
1341 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
1342 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
1343 | * See the License for the specific language governing permissions and | ||
1344 | * limitations under the License. | ||
1345 | * ============================================================== */ | ||
1346 | |||
1347 | |||
1348 | !function ($) { | ||
1349 | |||
1350 | "use strict"; // jshint ;_; | ||
1351 | |||
1352 | |||
1353 | /* SCROLLSPY CLASS DEFINITION | ||
1354 | * ========================== */ | ||
1355 | |||
1356 | function ScrollSpy(element, options) { | ||
1357 | var process = $.proxy(this.process, this) | ||
1358 | , $element = $(element).is('body') ? $(window) : $(element) | ||
1359 | , href | ||
1360 | this.options = $.extend({}, $.fn.scrollspy.defaults, options) | ||
1361 | this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process) | ||
1362 | this.selector = (this.options.target | ||
1363 | || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 | ||
1364 | || '') + ' .nav li > a' | ||
1365 | this.$body = $('body') | ||
1366 | this.refresh() | ||
1367 | this.process() | ||
1368 | } | ||
1369 | |||
1370 | ScrollSpy.prototype = { | ||
1371 | |||
1372 | constructor: ScrollSpy | ||
1373 | |||
1374 | , refresh: function () { | ||
1375 | var self = this | ||
1376 | , $targets | ||
1377 | |||
1378 | this.offsets = $([]) | ||
1379 | this.targets = $([]) | ||
1380 | |||
1381 | $targets = this.$body | ||
1382 | .find(this.selector) | ||
1383 | .map(function () { | ||
1384 | var $el = $(this) | ||
1385 | , href = $el.data('target') || $el.attr('href') | ||
1386 | , $href = /^#\w/.test(href) && $(href) | ||
1387 | return ( $href | ||
1388 | && $href.length | ||
1389 | && [[ $href.position().top, href ]] ) || null | ||
1390 | }) | ||
1391 | .sort(function (a, b) { return a[0] - b[0] }) | ||
1392 | .each(function () { | ||
1393 | self.offsets.push(this[0]) | ||
1394 | self.targets.push(this[1]) | ||
1395 | }) | ||
1396 | } | ||
1397 | |||
1398 | , process: function () { | ||
1399 | var scrollTop = this.$scrollElement.scrollTop() + this.options.offset | ||
1400 | , scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight | ||
1401 | , maxScroll = scrollHeight - this.$scrollElement.height() | ||
1402 | , offsets = this.offsets | ||
1403 | , targets = this.targets | ||
1404 | , activeTarget = this.activeTarget | ||
1405 | , i | ||
1406 | |||
1407 | if (scrollTop >= maxScroll) { | ||
1408 | return activeTarget != (i = targets.last()[0]) | ||
1409 | && this.activate ( i ) | ||
1410 | } | ||
1411 | |||
1412 | for (i = offsets.length; i--;) { | ||
1413 | activeTarget != targets[i] | ||
1414 | && scrollTop >= offsets[i] | ||
1415 | && (!offsets[i + 1] || scrollTop <= offsets[i + 1]) | ||
1416 | && this.activate( targets[i] ) | ||
1417 | } | ||
1418 | } | ||
1419 | |||
1420 | , activate: function (target) { | ||
1421 | var active | ||
1422 | , selector | ||
1423 | |||
1424 | this.activeTarget = target | ||
1425 | |||
1426 | $(this.selector) | ||
1427 | .parent('.active') | ||
1428 | .removeClass('active') | ||
1429 | |||
1430 | selector = this.selector | ||
1431 | + '[data-target="' + target + '"],' | ||
1432 | + this.selector + '[href="' + target + '"]' | ||
1433 | |||
1434 | active = $(selector) | ||
1435 | .parent('li') | ||
1436 | .addClass('active') | ||
1437 | |||
1438 | if (active.parent('.dropdown-menu').length) { | ||
1439 | active = active.closest('li.dropdown').addClass('active') | ||
1440 | } | ||
1441 | |||
1442 | active.trigger('activate') | ||
1443 | } | ||
1444 | |||
1445 | } | ||
1446 | |||
1447 | |||
1448 | /* SCROLLSPY PLUGIN DEFINITION | ||
1449 | * =========================== */ | ||
1450 | |||
1451 | $.fn.scrollspy = function (option) { | ||
1452 | return this.each(function () { | ||
1453 | var $this = $(this) | ||
1454 | , data = $this.data('scrollspy') | ||
1455 | , options = typeof option == 'object' && option | ||
1456 | if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options))) | ||
1457 | if (typeof option == 'string') data[option]() | ||
1458 | }) | ||
1459 | } | ||
1460 | |||
1461 | $.fn.scrollspy.Constructor = ScrollSpy | ||
1462 | |||
1463 | $.fn.scrollspy.defaults = { | ||
1464 | offset: 10 | ||
1465 | } | ||
1466 | |||
1467 | |||
1468 | /* SCROLLSPY DATA-API | ||
1469 | * ================== */ | ||
1470 | |||
1471 | $(window).on('load', function () { | ||
1472 | $('[data-spy="scroll"]').each(function () { | ||
1473 | var $spy = $(this) | ||
1474 | $spy.scrollspy($spy.data()) | ||
1475 | }) | ||
1476 | }) | ||
1477 | |||
1478 | }(window.jQuery);/* ======================================================== | ||
1479 | * bootstrap-tab.js v2.2.1 | ||
1480 | * http://twitter.github.com/bootstrap/javascript.html#tabs | ||
1481 | * ======================================================== | ||
1482 | * Copyright 2012 Twitter, Inc. | ||
1483 | * | ||
1484 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
1485 | * you may not use this file except in compliance with the License. | ||
1486 | * You may obtain a copy of the License at | ||
1487 | * | ||
1488 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
1489 | * | ||
1490 | * Unless required by applicable law or agreed to in writing, software | ||
1491 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
1492 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
1493 | * See the License for the specific language governing permissions and | ||
1494 | * limitations under the License. | ||
1495 | * ======================================================== */ | ||
1496 | |||
1497 | |||
1498 | !function ($) { | ||
1499 | |||
1500 | "use strict"; // jshint ;_; | ||
1501 | |||
1502 | |||
1503 | /* TAB CLASS DEFINITION | ||
1504 | * ==================== */ | ||
1505 | |||
1506 | var Tab = function (element) { | ||
1507 | this.element = $(element) | ||
1508 | } | ||
1509 | |||
1510 | Tab.prototype = { | ||
1511 | |||
1512 | constructor: Tab | ||
1513 | |||
1514 | , show: function () { | ||
1515 | var $this = this.element | ||
1516 | , $ul = $this.closest('ul:not(.dropdown-menu)') | ||
1517 | , selector = $this.attr('data-target') | ||
1518 | , previous | ||
1519 | , $target | ||
1520 | , e | ||
1521 | |||
1522 | if (!selector) { | ||
1523 | selector = $this.attr('href') | ||
1524 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 | ||
1525 | } | ||
1526 | |||
1527 | if ( $this.parent('li').hasClass('active') ) return | ||
1528 | |||
1529 | previous = $ul.find('.active:last a')[0] | ||
1530 | |||
1531 | e = $.Event('show', { | ||
1532 | relatedTarget: previous | ||
1533 | }) | ||
1534 | |||
1535 | $this.trigger(e) | ||
1536 | |||
1537 | if (e.isDefaultPrevented()) return | ||
1538 | |||
1539 | $target = $(selector) | ||
1540 | |||
1541 | this.activate($this.parent('li'), $ul) | ||
1542 | this.activate($target, $target.parent(), function () { | ||
1543 | $this.trigger({ | ||
1544 | type: 'shown' | ||
1545 | , relatedTarget: previous | ||
1546 | }) | ||
1547 | }) | ||
1548 | } | ||
1549 | |||
1550 | , activate: function ( element, container, callback) { | ||
1551 | var $active = container.find('> .active') | ||
1552 | , transition = callback | ||
1553 | && $.support.transition | ||
1554 | && $active.hasClass('fade') | ||
1555 | |||
1556 | function next() { | ||
1557 | $active | ||
1558 | .removeClass('active') | ||
1559 | .find('> .dropdown-menu > .active') | ||
1560 | .removeClass('active') | ||
1561 | |||
1562 | element.addClass('active') | ||
1563 | |||
1564 | if (transition) { | ||
1565 | element[0].offsetWidth // reflow for transition | ||
1566 | element.addClass('in') | ||
1567 | } else { | ||
1568 | element.removeClass('fade') | ||
1569 | } | ||
1570 | |||
1571 | if ( element.parent('.dropdown-menu') ) { | ||
1572 | element.closest('li.dropdown').addClass('active') | ||
1573 | } | ||
1574 | |||
1575 | callback && callback() | ||
1576 | } | ||
1577 | |||
1578 | transition ? | ||
1579 | $active.one($.support.transition.end, next) : | ||
1580 | next() | ||
1581 | |||
1582 | $active.removeClass('in') | ||
1583 | } | ||
1584 | } | ||
1585 | |||
1586 | |||
1587 | /* TAB PLUGIN DEFINITION | ||
1588 | * ===================== */ | ||
1589 | |||
1590 | $.fn.tab = function ( option ) { | ||
1591 | return this.each(function () { | ||
1592 | var $this = $(this) | ||
1593 | , data = $this.data('tab') | ||
1594 | if (!data) $this.data('tab', (data = new Tab(this))) | ||
1595 | if (typeof option == 'string') data[option]() | ||
1596 | }) | ||
1597 | } | ||
1598 | |||
1599 | $.fn.tab.Constructor = Tab | ||
1600 | |||
1601 | |||
1602 | /* TAB DATA-API | ||
1603 | * ============ */ | ||
1604 | |||
1605 | $(document).on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { | ||
1606 | e.preventDefault() | ||
1607 | $(this).tab('show') | ||
1608 | }) | ||
1609 | |||
1610 | }(window.jQuery);/* ============================================================= | ||
1611 | * bootstrap-typeahead.js v2.2.1 | ||
1612 | * http://twitter.github.com/bootstrap/javascript.html#typeahead | ||
1613 | * ============================================================= | ||
1614 | * Copyright 2012 Twitter, Inc. | ||
1615 | * | ||
1616 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
1617 | * you may not use this file except in compliance with the License. | ||
1618 | * You may obtain a copy of the License at | ||
1619 | * | ||
1620 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
1621 | * | ||
1622 | * Unless required by applicable law or agreed to in writing, software | ||
1623 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
1624 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
1625 | * See the License for the specific language governing permissions and | ||
1626 | * limitations under the License. | ||
1627 | * ============================================================ */ | ||
1628 | |||
1629 | |||
1630 | !function($){ | ||
1631 | |||
1632 | "use strict"; // jshint ;_; | ||
1633 | |||
1634 | |||
1635 | /* TYPEAHEAD PUBLIC CLASS DEFINITION | ||
1636 | * ================================= */ | ||
1637 | |||
1638 | var Typeahead = function (element, options) { | ||
1639 | this.$element = $(element) | ||
1640 | this.options = $.extend({}, $.fn.typeahead.defaults, options) | ||
1641 | this.matcher = this.options.matcher || this.matcher | ||
1642 | this.sorter = this.options.sorter || this.sorter | ||
1643 | this.highlighter = this.options.highlighter || this.highlighter | ||
1644 | this.updater = this.options.updater || this.updater | ||
1645 | this.$menu = $(this.options.menu).appendTo('body') | ||
1646 | this.source = this.options.source | ||
1647 | this.shown = false | ||
1648 | this.listen() | ||
1649 | } | ||
1650 | |||
1651 | Typeahead.prototype = { | ||
1652 | |||
1653 | constructor: Typeahead | ||
1654 | |||
1655 | , select: function () { | ||
1656 | var val = this.$menu.find('.active').attr('data-value') | ||
1657 | this.$element | ||
1658 | .val(this.updater(val)) | ||
1659 | .change() | ||
1660 | return this.hide() | ||
1661 | } | ||
1662 | |||
1663 | , updater: function (item) { | ||
1664 | return item | ||
1665 | } | ||
1666 | |||
1667 | , show: function () { | ||
1668 | var pos = $.extend({}, this.$element.offset(), { | ||
1669 | height: this.$element[0].offsetHeight | ||
1670 | }) | ||
1671 | |||
1672 | this.$menu.css({ | ||
1673 | top: pos.top + pos.height | ||
1674 | , left: pos.left | ||
1675 | }) | ||
1676 | |||
1677 | this.$menu.show() | ||
1678 | this.shown = true | ||
1679 | return this | ||
1680 | } | ||
1681 | |||
1682 | , hide: function () { | ||
1683 | this.$menu.hide() | ||
1684 | this.shown = false | ||
1685 | return this | ||
1686 | } | ||
1687 | |||
1688 | , lookup: function (event) { | ||
1689 | var items | ||
1690 | |||
1691 | this.query = this.$element.val() | ||
1692 | |||
1693 | if (!this.query || this.query.length < this.options.minLength) { | ||
1694 | return this.shown ? this.hide() : this | ||
1695 | } | ||
1696 | |||
1697 | items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source | ||
1698 | |||
1699 | return items ? this.process(items) : this | ||
1700 | } | ||
1701 | |||
1702 | , process: function (items) { | ||
1703 | var that = this | ||
1704 | |||
1705 | items = $.grep(items, function (item) { | ||
1706 | return that.matcher(item) | ||
1707 | }) | ||
1708 | |||
1709 | items = this.sorter(items) | ||
1710 | |||
1711 | if (!items.length) { | ||
1712 | return this.shown ? this.hide() : this | ||
1713 | } | ||
1714 | |||
1715 | return this.render(items.slice(0, this.options.items)).show() | ||
1716 | } | ||
1717 | |||
1718 | , matcher: function (item) { | ||
1719 | return ~item.toLowerCase().indexOf(this.query.toLowerCase()) | ||
1720 | } | ||
1721 | |||
1722 | , sorter: function (items) { | ||
1723 | var beginswith = [] | ||
1724 | , caseSensitive = [] | ||
1725 | , caseInsensitive = [] | ||
1726 | , item | ||
1727 | |||
1728 | while (item = items.shift()) { | ||
1729 | if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item) | ||
1730 | else if (~item.indexOf(this.query)) caseSensitive.push(item) | ||
1731 | else caseInsensitive.push(item) | ||
1732 | } | ||
1733 | |||
1734 | return beginswith.concat(caseSensitive, caseInsensitive) | ||
1735 | } | ||
1736 | |||
1737 | , highlighter: function (item) { | ||
1738 | var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&') | ||
1739 | return item.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) { | ||
1740 | return '<strong>' + match + '</strong>' | ||
1741 | }) | ||
1742 | } | ||
1743 | |||
1744 | , render: function (items) { | ||
1745 | var that = this | ||
1746 | |||
1747 | items = $(items).map(function (i, item) { | ||
1748 | i = $(that.options.item).attr('data-value', item) | ||
1749 | i.find('a').html(that.highlighter(item)) | ||
1750 | return i[0] | ||
1751 | }) | ||
1752 | |||
1753 | items.first().addClass('active') | ||
1754 | this.$menu.html(items) | ||
1755 | return this | ||
1756 | } | ||
1757 | |||
1758 | , next: function (event) { | ||
1759 | var active = this.$menu.find('.active').removeClass('active') | ||
1760 | , next = active.next() | ||
1761 | |||
1762 | if (!next.length) { | ||
1763 | next = $(this.$menu.find('li')[0]) | ||
1764 | } | ||
1765 | |||
1766 | next.addClass('active') | ||
1767 | } | ||
1768 | |||
1769 | , prev: function (event) { | ||
1770 | var active = this.$menu.find('.active').removeClass('active') | ||
1771 | , prev = active.prev() | ||
1772 | |||
1773 | if (!prev.length) { | ||
1774 | prev = this.$menu.find('li').last() | ||
1775 | } | ||
1776 | |||
1777 | prev.addClass('active') | ||
1778 | } | ||
1779 | |||
1780 | , listen: function () { | ||
1781 | this.$element | ||
1782 | .on('blur', $.proxy(this.blur, this)) | ||
1783 | .on('keypress', $.proxy(this.keypress, this)) | ||
1784 | .on('keyup', $.proxy(this.keyup, this)) | ||
1785 | |||
1786 | if (this.eventSupported('keydown')) { | ||
1787 | this.$element.on('keydown', $.proxy(this.keydown, this)) | ||
1788 | } | ||
1789 | |||
1790 | this.$menu | ||
1791 | .on('click', $.proxy(this.click, this)) | ||
1792 | .on('mouseenter', 'li', $.proxy(this.mouseenter, this)) | ||
1793 | } | ||
1794 | |||
1795 | , eventSupported: function(eventName) { | ||
1796 | var isSupported = eventName in this.$element | ||
1797 | if (!isSupported) { | ||
1798 | this.$element.setAttribute(eventName, 'return;') | ||
1799 | isSupported = typeof this.$element[eventName] === 'function' | ||
1800 | } | ||
1801 | return isSupported | ||
1802 | } | ||
1803 | |||
1804 | , move: function (e) { | ||
1805 | if (!this.shown) return | ||
1806 | |||
1807 | switch(e.keyCode) { | ||
1808 | case 9: // tab | ||
1809 | case 13: // enter | ||
1810 | case 27: // escape | ||
1811 | e.preventDefault() | ||
1812 | break | ||
1813 | |||
1814 | case 38: // up arrow | ||
1815 | e.preventDefault() | ||
1816 | this.prev() | ||
1817 | break | ||
1818 | |||
1819 | case 40: // down arrow | ||
1820 | e.preventDefault() | ||
1821 | this.next() | ||
1822 | break | ||
1823 | } | ||
1824 | |||
1825 | e.stopPropagation() | ||
1826 | } | ||
1827 | |||
1828 | , keydown: function (e) { | ||
1829 | this.suppressKeyPressRepeat = !~$.inArray(e.keyCode, [40,38,9,13,27]) | ||
1830 | this.move(e) | ||
1831 | } | ||
1832 | |||
1833 | , keypress: function (e) { | ||
1834 | if (this.suppressKeyPressRepeat) return | ||
1835 | this.move(e) | ||
1836 | } | ||
1837 | |||
1838 | , keyup: function (e) { | ||
1839 | switch(e.keyCode) { | ||
1840 | case 40: // down arrow | ||
1841 | case 38: // up arrow | ||
1842 | case 16: // shift | ||
1843 | case 17: // ctrl | ||
1844 | case 18: // alt | ||
1845 | break | ||
1846 | |||
1847 | case 9: // tab | ||
1848 | case 13: // enter | ||
1849 | if (!this.shown) return | ||
1850 | this.select() | ||
1851 | break | ||
1852 | |||
1853 | case 27: // escape | ||
1854 | if (!this.shown) return | ||
1855 | this.hide() | ||
1856 | break | ||
1857 | |||
1858 | default: | ||
1859 | this.lookup() | ||
1860 | } | ||
1861 | |||
1862 | e.stopPropagation() | ||
1863 | e.preventDefault() | ||
1864 | } | ||
1865 | |||
1866 | , blur: function (e) { | ||
1867 | var that = this | ||
1868 | setTimeout(function () { that.hide() }, 150) | ||
1869 | } | ||
1870 | |||
1871 | , click: function (e) { | ||
1872 | e.stopPropagation() | ||
1873 | e.preventDefault() | ||
1874 | this.select() | ||
1875 | } | ||
1876 | |||
1877 | , mouseenter: function (e) { | ||
1878 | this.$menu.find('.active').removeClass('active') | ||
1879 | $(e.currentTarget).addClass('active') | ||
1880 | } | ||
1881 | |||
1882 | } | ||
1883 | |||
1884 | |||
1885 | /* TYPEAHEAD PLUGIN DEFINITION | ||
1886 | * =========================== */ | ||
1887 | |||
1888 | $.fn.typeahead = function (option) { | ||
1889 | return this.each(function () { | ||
1890 | var $this = $(this) | ||
1891 | , data = $this.data('typeahead') | ||
1892 | , options = typeof option == 'object' && option | ||
1893 | if (!data) $this.data('typeahead', (data = new Typeahead(this, options))) | ||
1894 | if (typeof option == 'string') data[option]() | ||
1895 | }) | ||
1896 | } | ||
1897 | |||
1898 | $.fn.typeahead.defaults = { | ||
1899 | source: [] | ||
1900 | , items: 8 | ||
1901 | , menu: '<ul class="typeahead dropdown-menu"></ul>' | ||
1902 | , item: '<li><a href="#"></a></li>' | ||
1903 | , minLength: 1 | ||
1904 | } | ||
1905 | |||
1906 | $.fn.typeahead.Constructor = Typeahead | ||
1907 | |||
1908 | |||
1909 | /* TYPEAHEAD DATA-API | ||
1910 | * ================== */ | ||
1911 | |||
1912 | $(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) { | ||
1913 | var $this = $(this) | ||
1914 | if ($this.data('typeahead')) return | ||
1915 | e.preventDefault() | ||
1916 | $this.typeahead($this.data()) | ||
1917 | }) | ||
1918 | |||
1919 | }(window.jQuery); | ||
1920 | /* ========================================================== | ||
1921 | * bootstrap-affix.js v2.2.1 | ||
1922 | * http://twitter.github.com/bootstrap/javascript.html#affix | ||
1923 | * ========================================================== | ||
1924 | * Copyright 2012 Twitter, Inc. | ||
1925 | * | ||
1926 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
1927 | * you may not use this file except in compliance with the License. | ||
1928 | * You may obtain a copy of the License at | ||
1929 | * | ||
1930 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
1931 | * | ||
1932 | * Unless required by applicable law or agreed to in writing, software | ||
1933 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
1934 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
1935 | * See the License for the specific language governing permissions and | ||
1936 | * limitations under the License. | ||
1937 | * ========================================================== */ | ||
1938 | |||
1939 | |||
1940 | !function ($) { | ||
1941 | |||
1942 | "use strict"; // jshint ;_; | ||
1943 | |||
1944 | |||
1945 | /* AFFIX CLASS DEFINITION | ||
1946 | * ====================== */ | ||
1947 | |||
1948 | var Affix = function (element, options) { | ||
1949 | this.options = $.extend({}, $.fn.affix.defaults, options) | ||
1950 | this.$window = $(window) | ||
1951 | .on('scroll.affix.data-api', $.proxy(this.checkPosition, this)) | ||
1952 | .on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this)) | ||
1953 | this.$element = $(element) | ||
1954 | this.checkPosition() | ||
1955 | } | ||
1956 | |||
1957 | Affix.prototype.checkPosition = function () { | ||
1958 | if (!this.$element.is(':visible')) return | ||
1959 | |||
1960 | var scrollHeight = $(document).height() | ||
1961 | , scrollTop = this.$window.scrollTop() | ||
1962 | , position = this.$element.offset() | ||
1963 | , offset = this.options.offset | ||
1964 | , offsetBottom = offset.bottom | ||
1965 | , offsetTop = offset.top | ||
1966 | , reset = 'affix affix-top affix-bottom' | ||
1967 | , affix | ||
1968 | |||
1969 | if (typeof offset != 'object') offsetBottom = offsetTop = offset | ||
1970 | if (typeof offsetTop == 'function') offsetTop = offset.top() | ||
1971 | if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() | ||
1972 | |||
1973 | affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? | ||
1974 | false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? | ||
1975 | 'bottom' : offsetTop != null && scrollTop <= offsetTop ? | ||
1976 | 'top' : false | ||
1977 | |||
1978 | if (this.affixed === affix) return | ||
1979 | |||
1980 | this.affixed = affix | ||
1981 | this.unpin = affix == 'bottom' ? position.top - scrollTop : null | ||
1982 | |||
1983 | this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : '')) | ||
1984 | } | ||
1985 | |||
1986 | |||
1987 | /* AFFIX PLUGIN DEFINITION | ||
1988 | * ======================= */ | ||
1989 | |||
1990 | $.fn.affix = function (option) { | ||
1991 | return this.each(function () { | ||
1992 | var $this = $(this) | ||
1993 | , data = $this.data('affix') | ||
1994 | , options = typeof option == 'object' && option | ||
1995 | if (!data) $this.data('affix', (data = new Affix(this, options))) | ||
1996 | if (typeof option == 'string') data[option]() | ||
1997 | }) | ||
1998 | } | ||
1999 | |||
2000 | $.fn.affix.Constructor = Affix | ||
2001 | |||
2002 | $.fn.affix.defaults = { | ||
2003 | offset: 0 | ||
2004 | } | ||
2005 | |||
2006 | |||
2007 | /* AFFIX DATA-API | ||
2008 | * ============== */ | ||
2009 | |||
2010 | $(window).on('load', function () { | ||
2011 | $('[data-spy="affix"]').each(function () { | ||
2012 | var $spy = $(this) | ||
2013 | , data = $spy.data() | ||
2014 | |||
2015 | data.offset = data.offset || {} | ||
2016 | |||
2017 | data.offsetBottom && (data.offset.bottom = data.offsetBottom) | ||
2018 | data.offsetTop && (data.offset.top = data.offsetTop) | ||
2019 | |||
2020 | $spy.affix(data) | ||
2021 | }) | ||
2022 | }) | ||
2023 | |||
2024 | |||
2025 | }(window.jQuery); |
  | |||
1 | /** | ||
2 | * bootstrap.js v3.0.0 by @fat and @mdo | ||
3 | * Copyright 2013 Twitter Inc. | ||
4 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
5 | */ | ||
6 | if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("dropdown");d||c.data("dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(window.jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(window.jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery); |
  | |||
1 | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license | ||
2 | //@ sourceMappingURL=jquery-1.10.2.min.map | ||
3 | */ | ||
4 | (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?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)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,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(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===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]||at.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]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.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"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t | ||
5 | }({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); | ||
6 | u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window); |
  | |||
1 | /*! jQuery v@1.8.0 jquery.com | jquery.org/license */ | ||
2 | (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)p.event.add(b,c,h[c][d])}g.data&&(g.data=p.extend({},g.data))}function bE(a,b){var c;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?(b.parentNode&&(b.outerHTML=a.outerHTML),p.support.html5Clone&&a.innerHTML&&!p.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):c==="input"&&bv.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text),b.removeAttribute(p.expando)}function bF(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bG(a){bv.test(a.type)&&(a.defaultChecked=a.checked)}function bX(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=bV.length;while(e--){b=bV[e]+c;if(b in a)return b}return d}function bY(a,b){return a=b||a,p.css(a,"display")==="none"||!p.contains(a.ownerDocument,a)}function bZ(a,b){var c,d,e=[],f=0,g=a.length;for(;f<g;f++){c=a[f];if(!c.style)continue;e[f]=p._data(c,"olddisplay"),b?(!e[f]&&c.style.display==="none"&&(c.style.display=""),c.style.display===""&&bY(c)&&(e[f]=p._data(c,"olddisplay",cb(c.nodeName)))):(d=bH(c,"display"),!e[f]&&d!=="none"&&p._data(c,"olddisplay",d))}for(f=0;f<g;f++){c=a[f];if(!c.style)continue;if(!b||c.style.display==="none"||c.style.display==="")c.style.display=b?e[f]||"":"none"}return a}function b$(a,b,c){var d=bO.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function b_(a,b,c,d){var e=c===(d?"border":"content")?4:b==="width"?1:0,f=0;for(;e<4;e+=2)c==="margin"&&(f+=p.css(a,c+bU[e],!0)),d?(c==="content"&&(f-=parseFloat(bH(a,"padding"+bU[e]))||0),c!=="margin"&&(f-=parseFloat(bH(a,"border"+bU[e]+"Width"))||0)):(f+=parseFloat(bH(a,"padding"+bU[e]))||0,c!=="padding"&&(f+=parseFloat(bH(a,"border"+bU[e]+"Width"))||0));return f}function ca(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=!0,f=p.support.boxSizing&&p.css(a,"boxSizing")==="border-box";if(d<=0){d=bH(a,b);if(d<0||d==null)d=a.style[b];if(bP.test(d))return d;e=f&&(p.support.boxSizingReliable||d===a.style[b]),d=parseFloat(d)||0}return d+b_(a,b,c||(f?"border":"content"),e)+"px"}function cb(a){if(bR[a])return bR[a];var b=p("<"+a+">").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write("<!doctype html><html><body>"),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bR[a]=c,c}function ch(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||cd.test(a)?d(a,e):ch(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ch(a+"["+e+"]",b[e],c,d);else d(a,b)}function cy(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h<i;h++)d=g[h],f=/^\+/.test(d),f&&(d=d.substr(1)||"*"),e=a[d]=a[d]||[],e[f?"unshift":"push"](c)}}function cz(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h,i=a[f],j=0,k=i?i.length:0,l=a===cu;for(;j<k&&(l||!h);j++)h=i[j](c,d,e),typeof h=="string"&&(!l||g[h]?h=b:(c.dataTypes.unshift(h),h=cz(a,c,d,e,h,g)));return(l||!h)&&!g["*"]&&(h=cz(a,c,d,e,"*",g)),h}function cA(a,c){var d,e,f=p.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((f[d]?a:e||(e={}))[d]=c[d]);e&&p.extend(!0,a,e)}function cB(a,c,d){var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;for(f in k)f in d&&(c[k[f]]=d[f]);while(j[0]==="*")j.shift(),e===b&&(e=a.mimeType||c.getResponseHeader("content-type"));if(e)for(f in i)if(i[f]&&i[f].test(e)){j.unshift(f);break}if(j[0]in d)g=j[0];else{for(f in d){if(!j[0]||a.converters[f+" "+j[0]]){g=f;break}h||(h=f)}g=g||h}if(g)return g!==j[0]&&j.unshift(g),d[g]}function cC(a,b){var c,d,e,f,g=a.dataTypes.slice(),h=g[0],i={},j=0;a.dataFilter&&(b=a.dataFilter(b,a.dataType));if(g[1])for(c in a.converters)i[c.toLowerCase()]=a.converters[c];for(;e=g[++j];)if(e!=="*"){if(h!=="*"&&h!==e){c=i[h+" "+e]||i["* "+e];if(!c)for(d in i){f=d.split(" ");if(f[1]===e){c=i[h+" "+f[0]]||i["* "+f[0]];if(c){c===!0?c=i[d]:i[d]!==!0&&(e=f[0],g.splice(j--,0,e));break}}}if(c!==!0)if(c&&a["throws"])b=c(b);else try{b=c(b)}catch(k){return{state:"parsererror",error:c?k:"No conversion from "+h+" to "+e}}}h=e}return{state:"success",data:b}}function cK(){try{return new a.XMLHttpRequest}catch(b){}}function cL(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function cT(){return setTimeout(function(){cM=b},0),cM=p.now()}function cU(a,b){p.each(b,function(b,c){var d=(cS[b]||[]).concat(cS["*"]),e=0,f=d.length;for(;e<f;e++)if(d[e].call(a,b,c))return})}function cV(a,b,c){var d,e=0,f=0,g=cR.length,h=p.Deferred().always(function(){delete i.elem}),i=function(){var b=cM||cT(),c=Math.max(0,j.startTime+j.duration-b),d=1-(c/j.duration||0),e=0,f=j.tweens.length;for(;e<f;e++)j.tweens[e].run(d);return h.notifyWith(a,[j,d,c]),d<1&&f?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:p.extend({},b),opts:p.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:cM||cT(),duration:c.duration,tweens:[],createTween:function(b,c,d){var e=p.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(e),e},stop:function(b){var c=0,d=b?j.tweens.length:0;for(;c<d;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;cW(k,j.opts.specialEasing);for(;e<g;e++){d=cR[e].call(j,a,k,j.opts);if(d)return d}return cU(j,k),p.isFunction(j.opts.start)&&j.opts.start.call(a,j),p.fx.timer(p.extend(i,{anim:j,queue:j.opts.queue,elem:a})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function cW(a,b){var c,d,e,f,g;for(c in a){d=p.camelCase(c),e=b[d],f=a[c],p.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=p.cssHooks[d];if(g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}}function cX(a,b,c){var d,e,f,g,h,i,j,k,l=this,m=a.style,n={},o=[],q=a.nodeType&&bY(a);c.queue||(j=p._queueHooks(a,"fx"),j.unqueued==null&&(j.unqueued=0,k=j.empty.fire,j.empty.fire=function(){j.unqueued||k()}),j.unqueued++,l.always(function(){l.always(function(){j.unqueued--,p.queue(a,"fx").length||j.empty.fire()})})),a.nodeType===1&&("height"in b||"width"in b)&&(c.overflow=[m.overflow,m.overflowX,m.overflowY],p.css(a,"display")==="inline"&&p.css(a,"float")==="none"&&(!p.support.inlineBlockNeedsLayout||cb(a.nodeName)==="inline"?m.display="inline-block":m.zoom=1)),c.overflow&&(m.overflow="hidden",p.support.shrinkWrapBlocks||l.done(function(){m.overflow=c.overflow[0],m.overflowX=c.overflow[1],m.overflowY=c.overflow[2]}));for(d in b){f=b[d];if(cO.exec(f)){delete b[d];if(f===(q?"hide":"show"))continue;o.push(d)}}g=o.length;if(g){h=p._data(a,"fxshow")||p._data(a,"fxshow",{}),q?p(a).show():l.done(function(){p(a).hide()}),l.done(function(){var b;p.removeData(a,"fxshow",!0);for(b in n)p.style(a,b,n[b])});for(d=0;d<g;d++)e=o[d],i=l.createTween(e,q?h[e]:0),n[e]=h[e]||p.style(a,e),e in h||(h[e]=i.start,q&&(i.end=i.start,i.start=e==="width"||e==="height"?1:0))}}function cY(a,b,c,d,e){return new cY.prototype.init(a,b,c,d,e)}function cZ(a,b){var c,d={height:a},e=0;for(;e<4;e+=2-b)c=bU[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function c_(a){return p.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var c,d,e=a.document,f=a.location,g=a.navigator,h=a.jQuery,i=a.$,j=Array.prototype.push,k=Array.prototype.slice,l=Array.prototype.indexOf,m=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=String.prototype.trim,p=function(a,b){return new p.fn.init(a,b,c)},q=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,r=/\S/,s=/\s+/,t=r.test("Â ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i<j;i++)if((a=arguments[i])!=null)for(c in a){d=h[c],e=a[c];if(h===e)continue;k&&e&&(p.isPlainObject(e)||(f=p.isArray(e)))?(f?(f=!1,g=d&&p.isArray(d)?d:[]):g=d&&p.isPlainObject(d)?d:{},h[c]=p.extend(k,g,e)):e!==b&&(h[c]=e)}return h},p.extend({noConflict:function(b){return a.$===p&&(a.$=i),b&&a.jQuery===p&&(a.jQuery=h),p},isReady:!1,readyWait:1,holdReady:function(a){a?p.readyWait++:p.ready(!0)},ready:function(a){if(a===!0?--p.readyWait:p.isReady)return;if(!e.body)return setTimeout(p.ready,1);p.isReady=!0;if(a!==!0&&--p.readyWait>0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f<g;)if(c.apply(a[f++],d)===!1)break}else if(h){for(e in a)if(c.call(a[e],e,a[e])===!1)break}else for(;f<g;)if(c.call(a[f],f,a[f++])===!1)break;return a},trim:o?function(a){return a==null?"":o.call(a)}:function(a){return a==null?"":a.toString().replace(t,"")},makeArray:function(a,b){var c,d=b||[];return a!=null&&(c=p.type(a),a.length==null||c==="string"||c==="function"||c==="regexp"||p.isWindow(a)?j.call(d,a):p.merge(d,a)),d},inArray:function(a,b,c){var d;if(b){if(l)return l.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=c.length,e=a.length,f=0;if(typeof d=="number")for(;f<d;f++)a[e++]=c[f];else while(c[f]!==b)a[e++]=c[f++];return a.length=e,a},grep:function(a,b,c){var d,e=[],f=0,g=a.length;c=!!c;for(;f<g;f++)d=!!b(a[f],f),c!==d&&e.push(a[f]);return e},map:function(a,c,d){var e,f,g=[],h=0,i=a.length,j=a instanceof p||i!==b&&typeof i=="number"&&(i>0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h<i;h++)e=c(a[h],h,d),e!=null&&(g[g.length]=e);else for(f in a)e=c(a[f],f,d),e!=null&&(g[g.length]=e);return g.concat.apply([],g)},guid:1,proxy:function(a,c){var d,e,f;return typeof c=="string"&&(d=a[c],c=a,a=d),p.isFunction(a)?(e=k.call(arguments,2),f=function(){return a.apply(c,e.concat(k.call(arguments)))},f.guid=a.guid=a.guid||f.guid||p.guid++,f):b},access:function(a,c,d,e,f,g,h){var i,j=d==null,k=0,l=a.length;if(d&&typeof d=="object"){for(k in d)p.access(a,c,k,d[k],1,g,e);f=1}else if(e!==b){i=h===b&&p.isFunction(e),j&&(i?(i=c,c=function(a,b,c){return i.call(p(a),c)}):(c.call(a,e),c=null));if(c)for(;k<l;k++)c(a[k],d,i?e.call(a[k],k,c(a[k],d)):e,h);f=1}return f?a:j?c.call(a):l?c(a[0],d):g},now:function(){return(new Date).getTime()}}),p.ready.promise=function(b){if(!d){d=p.Deferred();if(e.readyState==="complete"||e.readyState!=="loading"&&e.addEventListener)setTimeout(p.ready,1);else if(e.addEventListener)e.addEventListener("DOMContentLoaded",D,!1),a.addEventListener("load",p.ready,!1);else{e.attachEvent("onreadystatechange",D),a.attachEvent("onload",p.ready);var c=!1;try{c=a.frameElement==null&&e.documentElement}catch(f){}c&&c.doScroll&&function g(){if(!p.isReady){try{c.doScroll("left")}catch(a){return setTimeout(g,50)}p.ready()}}()}}return d.promise(b)},p.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){E["[object "+b+"]"]=b.toLowerCase()}),c=p(e);var F={};p.Callbacks=function(a){a=typeof a=="string"?F[a]||G(a):p.extend({},a);var c,d,e,f,g,h,i=[],j=!a.once&&[],k=function(b){c=a.memory&&b,d=!0,h=f||0,f=0,g=i.length,e=!0;for(;i&&h<g;h++)if(i[h].apply(b[0],b[1])===!1&&a.stopOnFalse){c=!1;break}e=!1,i&&(j?j.length&&k(j.shift()):c?i=[]:l.disable())},l={add:function(){if(i){var b=i.length;(function d(b){p.each(b,function(b,c){p.isFunction(c)&&(!a.unique||!l.has(c))?i.push(c):c&&c.length&&d(c)})})(arguments),e?g=i.length:c&&(f=b,k(c))}return this},remove:function(){return i&&p.each(arguments,function(a,b){var c;while((c=p.inArray(b,i,c))>-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return typeof a=="object"?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b<d;b++)c[b]&&p.isFunction(c[b].promise)?c[b].promise().done(g(b,j,c)).fail(f.reject).progress(g(b,i,h)):--e}return e||f.resolveWith(j,c),f.promise()}}),p.support=function(){var b,c,d,f,g,h,i,j,k,l,m,n=e.createElement("div");n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length||!d)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div></div>",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/^(?:\{.*\}|\[.*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e<f;e++)delete d[b[e]];if(!(c?K:p.isEmptyObject)(d))return}}if(!c){delete h[i].data;if(!K(h[i]))return}g?p.cleanData([a],!0):p.support.deleteExpando||h!=h.window?delete h[i]:h[i]=null},_data:function(a,b,c){return p.data(a,b,c,!0)},acceptData:function(a){var b=a.nodeName&&p.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),p.fn.extend({data:function(a,c){var d,e,f,g,h,i=this[0],j=0,k=null;if(a===b){if(this.length){k=p.data(i);if(i.nodeType===1&&!p._data(i,"parsedAttrs")){f=i.attributes;for(h=f.length;j<h;j++)g=f[j].name,g.indexOf("data-")===0&&(g=p.camelCase(g.substring(5)),J(i,g,k[g]));p._data(i,"parsedAttrs",!0)}}return k}return typeof a=="object"?this.each(function(){p.data(this,a)}):(d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!",p.access(this,function(c){if(c===b)return k=this.triggerHandler("getData"+e,[d[0]]),k===b&&i&&(k=p.data(i,a),k=J(i,a,k)),k===b&&d[1]?this.data(d[0]):k;d[1]=c,this.each(function(){var b=p(this);b.triggerHandler("setData"+e,d),p.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.shift(),e=p._queueHooks(a,b),f=function(){p.dequeue(a,b)};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),delete e.stop,d.call(a,f,e)),!c.length&&e&&e.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length<d?p.queue(this[0],a):c===b?this:this.each(function(){var b=p.queue(this,a,c);p._queueHooks(this,a),a==="fx"&&b[0]!=="inprogress"&&p.dequeue(this,a)})},dequeue:function(a){return this.each(function(){p.dequeue(this,a)})},delay:function(a,b){return a=p.fx?p.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){var d,e=1,f=p.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};typeof a!="string"&&(c=a,a=b),a=a||"fx";while(h--)(d=p._data(g[h],a+"queueHooks"))&&d.empty&&(e++,d.empty.add(i));return i(),f.promise(c)}});var L,M,N,O=/[\t\r\n]/g,P=/\r/g,Q=/^(?:button|input)$/i,R=/^(?:button|input|object|select|textarea)$/i,S=/^a(?:rea|)$/i,T=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,U=p.support.getSetAttribute;p.fn.extend({attr:function(a,b){return p.access(this,p.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{f=" "+e.className+" ";for(g=0,h=b.length;g<h;g++)~f.indexOf(" "+b[g]+" ")||(f+=b[g]+" ");e.className=p.trim(f)}}}return this},removeClass:function(a){var c,d,e,f,g,h,i;if(p.isFunction(a))return this.each(function(b){p(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(s);for(h=0,i=this.length;h<i;h++){e=this[h];if(e.nodeType===1&&e.className){d=(" "+e.className+" ").replace(O," ");for(f=0,g=c.length;f<g;f++)while(d.indexOf(" "+c[f]+" ")>-1)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(O," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c<d;c++){e=h[c];if(e.selected&&(p.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!p.nodeName(e.parentNode,"optgroup"))){b=p(e).val();if(i)return b;g.push(b)}}return i&&!g.length&&h.length?p(h[f]).val():g},set:function(a,b){var c=p.makeArray(b);return p(a).find("option").each(function(){this.selected=p.inArray(p(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,""+d),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g<d.length;g++)e=d[g],e&&(c=p.propFix[e]||e,f=T.test(e),f||p.attr(a,e,""),a.removeAttribute(U?e:c),f&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(Q.test(a.nodeName)&&a.parentNode)p.error("type property can't be changed");else if(!p.support.radioValue&&b==="radio"&&p.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return L&&p.nodeName(a,"button")?L.get(a,b):b in a?a.value:null},set:function(a,b,c){if(L&&p.nodeName(a,"button"))return L.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,f,g,h=a.nodeType;if(!a||h===3||h===8||h===2)return;return g=h!==1||!p.isXMLDoc(a),g&&(c=p.propFix[c]||c,f=p.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):R.test(a.nodeName)||S.test(a.nodeName)&&a.href?0:b}}}}),M={get:function(a,c){var d,e=p.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;return b===!1?p.removeAttr(a,c):(d=p.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c}},U||(N={name:!0,id:!0,coords:!0},L=p.valHooks.button={get:function(a,c){var d;return d=a.getAttributeNode(c),d&&(N[c]?d.value!=="":d.specified)?d.value:b},set:function(a,b,c){var d=a.getAttributeNode(c);return d||(d=e.createAttribute(c),a.setAttributeNode(d)),d.value=b+""}},p.each(["width","height"],function(a,b){p.attrHooks[b]=p.extend(p.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})}),p.attrHooks.contenteditable={get:L.get,set:function(a,b,c){b===""&&(b="false"),L.set(a,b,c)}}),p.support.hrefNormalized||p.each(["href","src","width","height"],function(a,c){p.attrHooks[c]=p.extend(p.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),p.support.style||(p.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),p.support.optSelected||(p.propHooks.selected=p.extend(p.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),p.support.enctype||(p.propFix.enctype="encoding"),p.support.checkOn||p.each(["radio","checkbox"],function(){p.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),p.each(["radio","checkbox"],function(){p.valHooks[this]=p.extend(p.valHooks[this],{set:function(a,b){if(p.isArray(b))return a.checked=p.inArray(p(a).val(),b)>=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j<c.length;j++){k=W.exec(c[j])||[],l=k[1],m=(k[2]||"").split(".").sort(),r=p.event.special[l]||{},l=(f?r.delegateType:r.bindType)||l,r=p.event.special[l]||{},n=p.extend({type:l,origType:k[1],data:e,handler:d,guid:d.guid,selector:f,namespace:m.join(".")},o),q=i[l];if(!q){q=i[l]=[],q.delegateCount=0;if(!r.setup||r.setup.call(a,e,m,h)===!1)a.addEventListener?a.addEventListener(l,h,!1):a.attachEvent&&a.attachEvent("on"+l,h)}r.add&&(r.add.call(a,n),n.handler.guid||(n.handler.guid=d.guid)),f?q.splice(q.delegateCount++,0,n):q.push(n),p.event.global[l]=!0}a=null},global:{},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,q,r=p.hasData(a)&&p._data(a);if(!r||!(m=r.events))return;b=p.trim(_(b||"")).split(" ");for(f=0;f<b.length;f++){g=W.exec(b[f])||[],h=i=g[1],j=g[2];if(!h){for(h in m)p.event.remove(a,h+b[f],c,d,!0);continue}n=p.event.special[h]||{},h=(d?n.delegateType:n.bindType)||h,o=m[h]||[],k=o.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(l=0;l<o.length;l++)q=o[l],(e||i===q.origType)&&(!c||c.guid===q.guid)&&(!j||j.test(q.namespace))&&(!d||d===q.selector||d==="**"&&q.selector)&&(o.splice(l--,1),q.selector&&o.delegateCount--,n.remove&&n.remove.call(a,q));o.length===0&&k!==o.length&&((!n.teardown||n.teardown.call(a,j,r.handle)===!1)&&p.removeEvent(a,h,r.handle),delete m[h])}p.isEmptyObject(m)&&(delete r.handle,p.removeData(a,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,f,g){if(!f||f.nodeType!==3&&f.nodeType!==8){var h,i,j,k,l,m,n,o,q,r,s=c.type||c,t=[];if($.test(s+p.event.triggered))return;s.indexOf("!")>=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j<q.length&&!c.isPropagationStopped();j++)k=q[j][0],c.type=q[j][1],o=(p._data(k,"events")||{})[c.type]&&p._data(k,"handle"),o&&o.apply(k,d),o=m&&k[m],o&&p.acceptData(k)&&o.apply(k,d)===!1&&c.preventDefault();return c.type=s,!g&&!c.isDefaultPrevented()&&(!n._default||n._default.apply(f.ownerDocument,d)===!1)&&(s!=="click"||!p.nodeName(f,"a"))&&p.acceptData(f)&&m&&f[s]&&(s!=="focus"&&s!=="blur"||c.target.offsetWidth!==0)&&!p.isWindow(f)&&(l=f[m],l&&(f[m]=null),p.event.triggered=s,f[s](),p.event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p.event.fix(c||a.event);var d,e,f,g,h,i,j,k,l,m,n,o=(p._data(this,"events")||{})[c.type]||[],q=o.delegateCount,r=[].slice.call(arguments),s=!c.exclusive&&!c.namespace,t=p.event.special[c.type]||{},u=[];r[0]=c,c.delegateTarget=this;if(t.preDispatch&&t.preDispatch.call(this,c)===!1)return;if(q&&(!c.button||c.type!=="click")){g=p(this),g.context=this;for(f=c.target;f!=this;f=f.parentNode||this)if(f.disabled!==!0||c.type!=="click"){i={},k=[],g[0]=f;for(d=0;d<q;d++)l=o[d],m=l.selector,i[m]===b&&(i[m]=g.is(m)),i[m]&&k.push(l);k.length&&u.push({elem:f,matches:k})}}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d<u.length&&!c.isPropagationStopped();d++){j=u[d],c.currentTarget=j.elem;for(e=0;e<j.matches.length&&!c.isImmediatePropagationStopped();e++){l=j.matches[e];if(s||!c.namespace&&!l.namespace||c.namespace_re&&c.namespace_re.test(l.namespace))c.data=l.data,c.handleObj=l,h=((p.event.special[l.origType]||{}).handle||l.handler).apply(j.elem,r),h!==b&&(c.result=h,h===!1&&(c.preventDefault(),c.stopPropagation()))}}return t.postDispatch&&t.postDispatch.call(this,c),c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,c){var d,f,g,h=c.button,i=c.fromElement;return a.pageX==null&&c.clientX!=null&&(d=a.target.ownerDocument||e,f=d.documentElement,g=d.body,a.pageX=c.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=c.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?c.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0),a}},fix:function(a){if(a[p.expando])return a;var b,c,d=a,f=p.event.fixHooks[a.type]||{},g=f.props?this.props.concat(f.props):this.props;a=p.Event(d);for(b=g.length;b;)c=g[--b],a[c]=d[c];return a.target||(a.target=d.srcElement||e),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,f.filter?f.filter(a,d):a},special:{ready:{setup:p.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){p.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=p.extend(new p.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?p.event.trigger(e,null,b):p.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},p.event.handle=p.event.dispatch,p.removeEvent=e.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]=="undefined"&&(a[d]=null),a.detachEvent(d,c))},p.Event=function(a,b){if(this instanceof p.Event)a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?bb:ba):this.type=a,b&&p.extend(this,b),this.timeStamp=a&&a.timeStamp||p.now(),this[p.expando]=!0;else return new p.Event(a,b)},p.Event.prototype={preventDefault:function(){this.isDefaultPrevented=bb;var a=this.originalEvent;if(!a)return;a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=bb;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bb,this.stopPropagation()},isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba},p.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){p.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj,g=f.selector;if(!e||e!==d&&!p.contains(d,e))a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b;return c}}}),p.support.submitBubbles||(p.event.special.submit={setup:function(){if(p.nodeName(this,"form"))return!1;p.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=p.nodeName(c,"input")||p.nodeName(c,"button")?c.form:b;d&&!p._data(d,"_submit_attached")&&(p.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),p._data(d,"_submit_attached",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&p.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(p.nodeName(this,"form"))return!1;p.event.remove(this,"._submit")}}),p.support.changeBubbles||(p.event.special.change={setup:function(){if(V.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")p.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),p.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),p.event.simulate("change",this,a,!0)});return!1}p.event.add(this,"beforeactivate._change",function(a){var b=a.target;V.test(b.nodeName)&&!p._data(b,"_change_attached")&&(p.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&p.event.simulate("change",this.parentNode,a,!0)}),p._data(b,"_change_attached",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.remove(this,"._change"),V.test(this.nodeName)}}),p.support.focusinBubbles||p.each({focus:"focusin",blur:"focusout"},function(a,b){var c=0,d=function(a){p.event.simulate(b,a.target,p.event.fix(a),!0)};p.event.special[b]={setup:function(){c++===0&&e.addEventListener(a,d,!0)},teardown:function(){--c===0&&e.removeEventListener(a,d,!0)}}}),p.fn.extend({on:function(a,c,d,e,f){var g,h;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(h in a)this.on(h,c,d,a[h],f);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=ba;else if(!e)return this;return f===1&&(g=e,e=function(a){return p().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=p.guid++)),this.each(function(){p.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){var e,f;if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,p(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if(typeof a=="object"){for(f in a)this.off(f,c,a[f]);return this}if(c===!1||typeof c=="function")d=c,c=b;return d===!1&&(d=ba),this.each(function(){p.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){return p(this.context).on(a,this.selector,b,c),this},die:function(a,b){return p(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a||"**",c)},trigger:function(a,b){return this.each(function(){p.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return p.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||p.guid++,d=0,e=function(c){var e=(p._data(this,"lastToggle"+a.guid)||0)%d;return p._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){p.fn[b]=function(a,c){return c==null&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bd(a,b,c,d){var e=0,f=b.length;for(;e<f;e++)Z(a,b[e],c,d)}function be(a,b,c,d,e,f){var g,h=$.setFilters[b.toLowerCase()];return h||Z.error(b),(a||!(g=e))&&bd(a||"*",d,g=[],e),g.length>0?h(g,c,f):[]}function bf(a,c,d,e,f){var g,h,i,j,k,l,m,n,p=0,q=f.length,s=L.POS,t=new RegExp("^"+s.source+"(?!"+r+")","i"),u=function(){var a=1,c=arguments.length-2;for(;a<c;a++)arguments[a]===b&&(g[a]=b)};for(;p<q;p++){s.exec(""),a=f[p],j=[],i=0,k=e;while(g=s.exec(a)){n=s.lastIndex=g.index+g[0].length;if(n>i){m=a.slice(i,g.index),i=n,l=[c],B.test(m)&&(k&&(l=k),k=e);if(h=H.test(m))m=m.slice(0,-5).replace(B,"$&*");g.length>1&&g[0].replace(t,u),k=be(m,g[1],g[2],l,k,h)}}k?(j=j.concat(k),(m=a.slice(i))&&m!==")"?B.test(m)?bd(m,j,d,e):Z(m,c,d,e?e.concat(k):k):o.apply(d,j)):Z(a,c,d,e)}return q===1?d:Z.uniqueSort(d)}function bg(a,b,c){var d,e,f,g=[],i=0,j=D.exec(a),k=!j.pop()&&!j.pop(),l=k&&a.match(C)||[""],m=$.preFilter,n=$.filter,o=!c&&b!==h;for(;(e=l[i])!=null&&k;i++){g.push(d=[]),o&&(e=" "+e);while(e){k=!1;if(j=B.exec(e))e=e.slice(j[0].length),k=d.push({part:j.pop().replace(A," "),captures:j});for(f in n)(j=L[f].exec(e))&&(!m[f]||(j=m[f](j,b,c)))&&(e=e.slice(j.shift().length),k=d.push({part:f,captures:j}));if(!k)break}}return k||Z.error(a),g}function bh(a,b,e){var f=b.dir,g=m++;return a||(a=function(a){return a===e}),b.first?function(b,c){while(b=b[f])if(b.nodeType===1)return a(b,c)&&b}:function(b,e){var h,i=g+"."+d,j=i+"."+c;while(b=b[f])if(b.nodeType===1){if((h=b[q])===j)return b.sizset;if(typeof h=="string"&&h.indexOf(i)===0){if(b.sizset)return b}else{b[q]=j;if(a(b,e))return b.sizset=!0,b;b.sizset=!1}}}}function bi(a,b){return a?function(c,d){var e=b(c,d);return e&&a(e===!0?c:e,d)}:b}function bj(a,b,c){var d,e,f=0;for(;d=a[f];f++)$.relative[d.part]?e=bh(e,$.relative[d.part],b):(d.captures.push(b,c),e=bi(e,$.filter[d.part].apply(null,d.captures)));return e}function bk(a){return function(b,c){var d,e=0;for(;d=a[e];e++)if(d(b,c))return!0;return!1}}var c,d,e,f,g,h=a.document,i=h.documentElement,j="undefined",k=!1,l=!0,m=0,n=[].slice,o=[].push,q=("sizcache"+Math.random()).replace(".",""),r="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",t=s.replace("w","w#"),u="([*^$|!~]?=)",v="\\["+r+"*("+s+")"+r+"*(?:"+u+r+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+t+")|)|)"+r+"*\\]",w=":("+s+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",x=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",y=r+"*([\\x20\\t\\r\\n\\f>+~])"+r+"*",z="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+v+"|"+w.replace(2,7)+"|[^\\\\(),])+",A=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),B=new RegExp("^"+y),C=new RegExp(z+"?(?="+r+"*,|$)","g"),D=new RegExp("^(?:(?!,)(?:(?:^|,)"+r+"*"+z+")*?|"+r+"*(.*?))(\\)|$)"),E=new RegExp(z.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+y,"g"),F=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,G=/[\x20\t\r\n\f]*[+~]/,H=/:not\($/,I=/h\d/i,J=/input|select|textarea|button/i,K=/\\(?!\\)/g,L={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),NAME:new RegExp("^\\[name=['\"]?("+s+")['\"]?\\]"),TAG:new RegExp("^("+s.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+v),PSEUDO:new RegExp("^"+w),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),POS:new RegExp(x,"ig"),needsContext:new RegExp("^"+r+"*[>+~]|"+x,"i")},M={},N=[],O={},P=[],Q=function(a){return a.sizzleFilter=!0,a},R=function(a){return function(b){return b.nodeName.toLowerCase()==="input"&&b.type===a}},S=function(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}},T=function(a){var b=!1,c=h.createElement("div");try{b=a(c)}catch(d){}return c=null,b},U=T(function(a){a.innerHTML="<select></select>";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),V=T(function(a){a.id=q+0,a.innerHTML="<a name='"+q+"'></a><div name='"+q+"'></div>",i.insertBefore(a,i.firstChild);var b=h.getElementsByName&&h.getElementsByName(q).length===2+h.getElementsByName(q+0).length;return g=!h.getElementById(q),i.removeChild(a),b}),W=T(function(a){return a.appendChild(h.createComment("")),a.getElementsByTagName("*").length===0}),X=T(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==j&&a.firstChild.getAttribute("href")==="#"}),Y=T(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!a.getElementsByClassName||a.getElementsByClassName("e").length===0?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length!==1)}),Z=function(a,b,c,d){c=c||[],b=b||h;var e,f,g,i,j=b.nodeType;if(j!==1&&j!==9)return[];if(!a||typeof a!="string")return c;g=ba(b);if(!g&&!d)if(e=F.exec(a))if(i=e[1]){if(j===9){f=b.getElementById(i);if(!f||!f.parentNode)return c;if(f.id===i)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(i))&&bb(b,f)&&f.id===i)return c.push(f),c}else{if(e[2])return o.apply(c,n.call(b.getElementsByTagName(a),0)),c;if((i=e[3])&&Y&&b.getElementsByClassName)return o.apply(c,n.call(b.getElementsByClassName(i),0)),c}return bm(a,b,c,d,g)},$=Z.selectors={cacheLength:50,match:L,order:["ID","TAG"],attrHandle:{},createPseudo:Q,find:{ID:g?function(a,b,c){if(typeof b.getElementById!==j&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==j&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==j&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:W?function(a,b){if(typeof b.getElementsByTagName!==j)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(K,""),a[3]=(a[4]||a[5]||"").replace(K,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||Z.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&Z.error(a[0]),a},PSEUDO:function(a){var b,c=a[4];return L.CHILD.test(a[0])?null:(c&&(b=D.exec(c))&&b.pop()&&(a[0]=a[0].slice(0,b[0].length-c.length-1),c=b[0].slice(0,-1)),a.splice(2,3,c||a[3]),a)}},filter:{ID:g?function(a){return a=a.replace(K,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(K,""),function(b){var c=typeof b.getAttributeNode!==j&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(K,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=M[a];return b||(b=M[a]=new RegExp("(^|"+r+")"+a+"("+r+"|$)"),N.push(a),N.length>$.cacheLength&&delete M[N.shift()]),function(a){return b.test(a.className||typeof a.getAttribute!==j&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return b?function(d){var e=Z.attr(d,a),f=e+"";if(e==null)return b==="!=";switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&f.indexOf(c)===0;case"*=":return c&&f.indexOf(c)>-1;case"$=":return c&&f.substr(f.length-c.length)===c;case"~=":return(" "+f+" ").indexOf(c)>-1;case"|=":return f===c||f.substr(0,c.length+1)===c+"-"}}:function(b){return Z.attr(b,a)!=null}},CHILD:function(a,b,c,d){if(a==="nth"){var e=m++;return function(a){var b,f,g=0,h=a;if(c===1&&d===0)return!0;b=a.parentNode;if(b&&(b[q]!==e||!a.sizset)){for(h=b.firstChild;h;h=h.nextSibling)if(h.nodeType===1){h.sizset=++g;if(h===a)break}b[q]=e}return f=a.sizset-d,c===0?f===0:f%c===0&&f/c>=0}}return function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b,c,d){var e=$.pseudos[a]||$.pseudos[a.toLowerCase()];return e||Z.error("unsupported pseudo: "+a),e.sizzleFilter?e(b,c,d):e}},pseudos:{not:Q(function(a,b,c){var d=bl(a.replace(A,"$1"),b,c);return function(a){return!d(a)}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!$.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},contains:Q(function(a){return function(b){return(b.textContent||b.innerText||bc(b)).indexOf(a)>-1}}),has:Q(function(a){return function(b){return Z(a,b).length>0}}),header:function(a){return I.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:R("radio"),checkbox:R("checkbox"),file:R("file"),password:R("password"),image:R("image"),submit:S("submit"),reset:S("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return J.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b,c){return c?a.slice(1):[a[0]]},last:function(a,b,c){var d=a.pop();return c?a:[d]},even:function(a,b,c){var d=[],e=c?1:0,f=a.length;for(;e<f;e=e+2)d.push(a[e]);return d},odd:function(a,b,c){var d=[],e=c?0:1,f=a.length;for(;e<f;e=e+2)d.push(a[e]);return d},lt:function(a,b,c){return c?a.slice(+b):a.slice(0,+b)},gt:function(a,b,c){return c?a.slice(0,+b+1):a.slice(+b+1)},eq:function(a,b,c){var d=a.splice(+b,1);return c?a:d}}};$.setFilters.nth=$.setFilters.eq,$.filters=$.pseudos,X||($.attrHandle={href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}}),V&&($.order.push("NAME"),$.find.NAME=function(a,b){if(typeof b.getElementsByName!==j)return b.getElementsByName(a)}),Y&&($.order.splice(1,0,"CLASS"),$.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!==j&&!c)return b.getElementsByClassName(a)});try{n.call(i.childNodes,0)[0].nodeType}catch(_){n=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}var ba=Z.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},bb=Z.contains=i.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:i.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc=Z.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=bc(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=bc(b);return c};Z.attr=function(a,b){var c,d=ba(a);return d||(b=b.toLowerCase()),$.attrHandle[b]?$.attrHandle[b](a):U||d?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},Z.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},[0,0].sort(function(){return l=0}),i.compareDocumentPosition?e=function(a,b){return a===b?(k=!0,0):(!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition:a.compareDocumentPosition(b)&4)?-1:1}:(e=function(a,b){if(a===b)return k=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],g=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return f(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)g.unshift(j),j=j.parentNode;c=e.length,d=g.length;for(var l=0;l<c&&l<d;l++)if(e[l]!==g[l])return f(e[l],g[l]);return l===c?f(a,g[l],-1):f(e[l],b,1)},f=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),Z.uniqueSort=function(a){var b,c=1;if(e){k=l,a.sort(e);if(k)for(;b=a[c];c++)b===a[c-1]&&a.splice(c--,1)}return a};var bl=Z.compile=function(a,b,c){var d,e,f,g=O[a];if(g&&g.context===b)return g;e=bg(a,b,c);for(f=0;d=e[f];f++)e[f]=bj(d,b,c);return g=O[a]=bk(e),g.context=b,g.runs=g.dirruns=0,P.push(a),P.length>$.cacheLength&&delete O[P.shift()],g};Z.matches=function(a,b){return Z(a,null,null,b)},Z.matchesSelector=function(a,b){return Z(b,null,null,[a]).length>0};var bm=function(a,b,e,f,g){a=a.replace(A,"$1");var h,i,j,k,l,m,p,q,r,s=a.match(C),t=a.match(E),u=b.nodeType;if(L.POS.test(a))return bf(a,b,e,f,s);if(f)h=n.call(f,0);else if(s&&s.length===1){if(t.length>1&&u===9&&!g&&(s=L.ID.exec(t[0]))){b=$.find.ID(s[1],b,g)[0];if(!b)return e;a=a.slice(t.shift().length)}q=(s=G.exec(t[0]))&&!s.index&&b.parentNode||b,r=t.pop(),m=r.split(":not")[0];for(j=0,k=$.order.length;j<k;j++){p=$.order[j];if(s=L[p].exec(m)){h=$.find[p]((s[1]||"").replace(K,""),q,g);if(h==null)continue;m===r&&(a=a.slice(0,a.length-r.length)+m.replace(L[p],""),a||o.apply(e,n.call(h,0)));break}}}if(a){i=bl(a,b,g),d=i.dirruns++,h==null&&(h=$.find.TAG("*",G.test(a)&&b.parentNode||b));for(j=0;l=h[j];j++)c=i.runs++,i(l,b)&&e.push(l)}return e};h.querySelectorAll&&function(){var a,b=bm,c=/'|\\/g,d=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,e=[],f=[":active"],g=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.oMatchesSelector||i.msMatchesSelector;T(function(a){a.innerHTML="<select><option selected></option></select>",a.querySelectorAll("[selected]").length||e.push("\\["+r+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="<p test=''></p>",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+r+"*(?:\"\"|'')"),a.innerHTML="<input type='hidden'>",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bm=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a)))if(d.nodeType===9)try{return o.apply(f,n.call(d.querySelectorAll(a),0)),f}catch(i){}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var j=d.getAttribute("id"),k=j||q,l=G.test(a)&&d.parentNode||d;j?k=k.replace(c,"\\$&"):d.setAttribute("id",k);try{return o.apply(f,n.call(l.querySelectorAll(a.replace(C,"[id='"+k+"'] $&")),0)),f}catch(i){}finally{j||d.removeAttribute("id")}}return b(a,d,f,g,h)},g&&(T(function(b){a=g.call(b,"div");try{g.call(b,"[test!='']:sizzle"),f.push($.match.PSEUDO)}catch(c){}}),f=new RegExp(f.join("|")),Z.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!ba(b)&&!f.test(c)&&(!e||!e.test(c)))try{var h=g.call(b,c);if(h||a||b.document&&b.document.nodeType!==11)return h}catch(i){}return Z(c,null,null,[b]).length>0})}(),Z.attr=p.attr,p.find=Z,p.expr=Z.selectors,p.expr[":"]=p.expr.pseudos,p.unique=Z.uniqueSort,p.text=Z.getText,p.isXMLDoc=Z.isXML,p.contains=Z.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b<c;b++)if(p.contains(h[b],this))return!0});g=this.pushStack("","find",a);for(b=0,c=this.length;b<c;b++){d=g.length,p.find(a,this[b],g);if(b>0)for(e=d;e<g.length;e++)for(f=0;f<d;f++)if(g[f]===g[e]){g.splice(e--,1);break}}return g},has:function(a){var b,c=p(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(p.contains(this,c[b]))return!0})},not:function(a){return this.pushStack(bj(this,a,!1),"not",a)},filter:function(a){return this.pushStack(bj(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?bf.test(a)?p(a,this.context).index(this[0])>=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d<e;d++){c=this[d];while(c&&c.ownerDocument&&c!==b&&c.nodeType!==11){if(g?g.index(c)>-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/<tbody/i,br=/<|&#?\w+;/,bs=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,bu=new RegExp("<(?:"+bl+")[\\s/>]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,bz={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X<div>","</div>"]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){return bh(this[0])?this.length?this.pushStack(p(p.isFunction(a)?a():a),"replaceWith",a):this:p.isFunction(a)?this.each(function(b){var c=p(this),d=c.html();c.replaceWith(a.call(this,b,d))}):(typeof a!="string"&&(a=p(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;p(this).remove(),b?p(b).before(a):p(c).append(a)}))},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){a=[].concat.apply([],a);var e,f,g,h,i=0,j=a[0],k=[],l=this.length;if(!p.support.checkClone&&l>1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i<l;i++)d.call(c&&p.nodeName(this[i],"table")?bC(this[i],"tbody"):this[i],i===h?g:p.clone(g,!0,!0))}g=f=null,k.length&&p.each(k,function(a,b){b.src?p.ajax?p.ajax({url:b.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):p.error("no ajax"):p.globalEval((b.text||b.textContent||b.innerHTML||"").replace(by,"")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),p.buildFragment=function(a,c,d){var f,g,h,i=a[0];return c=c||e,c=(c[0]||c).ownerDocument||c[0]||c,typeof c.createDocumentFragment=="undefined"&&(c=e),a.length===1&&typeof i=="string"&&i.length<512&&c===e&&i.charAt(0)==="<"&&!bt.test(i)&&(p.support.checkClone||!bw.test(i))&&(p.support.html5Clone||!bu.test(i))&&(g=!0,f=p.fragments[i],h=f!==b),f||(f=c.createDocumentFragment(),p.clean(a,c,f,d),g&&(p.fragments[i]=h&&f)),{fragment:f,cacheable:g}},p.fragments={},p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){p.fn[a]=function(c){var d,e=0,f=[],g=p(c),h=g.length,i=this.length===1&&this[0].parentNode;if((i==null||i&&i.nodeType===11&&i.childNodes.length===1)&&h===1)return g[b](this[0]),this;for(;e<h;e++)d=(e>0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=0,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(g=b===e&&bA;(h=a[s])!=null;s++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{g=g||bk(b),l=l||g.appendChild(b.createElement("div")),h=h.replace(bo,"<$1></$2>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]==="<table>"&&!m?l.childNodes:[];for(f=n.length-1;f>=0;--f)p.nodeName(n[f],"tbody")&&!n[f].childNodes.length&&n[f].parentNode.removeChild(n[f])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l=g.lastChild}h.nodeType?t.push(h):t=p.merge(t,h)}l&&(g.removeChild(l),h=l=g=null);if(!p.support.appendChecked)for(s=0;(h=t[s])!=null;s++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(s=0;(h=t[s])!=null;s++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[s+1,0].concat(r)),s+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^margin/,bO=new RegExp("^("+q+")(.*)$","i"),bP=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bQ=new RegExp("^([-+])=("+q+")","i"),bR={},bS={position:"absolute",visibility:"hidden",display:"block"},bT={letterSpacing:0,fontWeight:400,lineHeight:1},bU=["Top","Right","Bottom","Left"],bV=["Webkit","O","Moz","ms"],bW=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return bZ(this,!0)},hide:function(){return bZ(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bW.apply(this,arguments):this.each(function(){(c?a:bY(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bX(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bQ.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bX(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bT&&(f=bT[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(a,b){var c,d,e,f,g=getComputedStyle(a,null),h=a.style;return g&&(c=g[b],c===""&&!p.contains(a.ownerDocument.documentElement,a)&&(c=p.style(a,b)),bP.test(c)&&bN.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=c,c=g.width,h.width=d,h.minWidth=e,h.maxWidth=f)),c}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bP.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0||bH(a,"display")!=="none"?ca(a,b,d):p.swap(a,bS,function(){return ca(a,b,d)})},set:function(a,c,d){return b$(a,c,d?b_(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bP.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bU[d]+b]=e[d]||e[d-2]||e[0];return f}},bN.test(a)||(p.cssHooks[a+b].set=b$)});var cc=/%20/g,cd=/\[\]$/,ce=/\r?\n/g,cf=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,cg=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||cg.test(this.nodeName)||cf.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(ce,"\r\n")}}):{name:b.name,value:c.replace(ce,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ch(d,a[d],c,f);return e.join("&").replace(cc,"+")};var ci,cj,ck=/#.*$/,cl=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cm=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,cn=/^(?:GET|HEAD)$/,co=/^\/\//,cp=/\?/,cq=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,cr=/([?&])_=[^&]*/,cs=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ct=p.fn.load,cu={},cv={},cw=["*/"]+["*"];try{ci=f.href}catch(cx){ci=e.createElement("a"),ci.href="",ci=ci.href}cj=cs.exec(ci.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&ct)return ct.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("<div>").append(a.replace(cq,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cA(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cA(a,b),a},ajaxSettings:{url:ci,isLocal:cm.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cw},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cy(cu),ajaxTransport:cy(cv),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cB(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cC(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=""+(c||y),k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cl.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(ck,"").replace(co,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=cs.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]==cj[1]&&i[2]==cj[2]&&(i[3]||(i[1]==="http:"?80:443))==(cj[3]||(cj[1]==="http:"?80:443)))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cz(cu,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!cn.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cp.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cr,"$1_="+z);l.url=A+(A===l.url?(cp.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cw+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cz(cv,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cD=[],cE=/\?/,cF=/(=)\?(?=&|$)|\?\?/,cG=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cD.pop()||p.expando+"_"+cG++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cF.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cF.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cF,"$1"+f):m?c.data=i.replace(cF,"$1"+f):k&&(c.url+=(cE.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cD.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cH,cI=a.ActiveXObject?function(){for(var a in cH)cH[a](0,1)}:!1,cJ=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cK()||cL()}:cK,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cI&&delete cH[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cJ,cI&&(cH||(cH={},p(a).unload(cI)),cH[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cM,cN,cO=/^(?:toggle|show|hide)$/,cP=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cQ=/queueHooks$/,cR=[cX],cS={"*":[function(a,b){var c,d,e,f=this.createTween(a,b),g=cP.exec(b),h=f.cur(),i=+h||0,j=1;if(g){c=+g[2],d=g[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&i){i=p.css(f.elem,a,!0)||c||1;do e=j=j||".5",i=i/j,p.style(f.elem,a,i+d),j=f.cur()/h;while(j!==1&&j!==e)}f.unit=d,f.start=i,f.end=g[1]?i+(g[1]+1)*c:c}return f}]};p.Animation=p.extend(cV,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d<e;d++)c=a[d],cS[c]=cS[c]||[],cS[c].unshift(b)},prefilter:function(a,b){b?cR.unshift(a):cR.push(a)}}),p.Tween=cY,cY.prototype={constructor:cY,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(p.cssNumber[c]?"":"px")},cur:function(){var a=cY.propHooks[this.prop];return a&&a.get?a.get(this):cY.propHooks._default.get(this)},run:function(a){var b,c=cY.propHooks[this.prop];return this.pos=b=p.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration),this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):cY.propHooks._default.set(this),this}},cY.prototype.init.prototype=cY.prototype,cY.propHooks={_default:{get:function(a){var b;return a.elem[a.prop]==null||!!a.elem.style&&a.elem.style[a.prop]!=null?(b=p.css(a.elem,a.prop,!1,""),!b||b==="auto"?0:b):a.elem[a.prop]},set:function(a){p.fx.step[a.prop]?p.fx.step[a.prop](a):a.elem.style&&(a.elem.style[p.cssProps[a.prop]]!=null||p.cssHooks[a.prop])?p.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},cY.propHooks.scrollTop=cY.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},p.each(["toggle","show","hide"],function(a,b){var c=p.fn[b];p.fn[b]=function(d,e,f){return d==null||typeof d=="boolean"||!a&&p.isFunction(d)&&p.isFunction(e)?c.apply(this,arguments):this.animate(cZ(b,!0),d,e,f)}}),p.fn.extend({fadeTo:function(a,b,c,d){return this.filter(bY).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=p.isEmptyObject(a),f=p.speed(b,c,d),g=function(){var b=cV(this,p.extend({},a),f);e&&b.stop(!0)};return e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,c=a!=null&&a+"queueHooks",f=p.timers,g=p._data(this);if(c)g[c]&&g[c].stop&&e(g[c]);else for(c in g)g[c]&&g[c].stop&&cQ.test(c)&&e(g[c]);for(c=f.length;c--;)f[c].elem===this&&(a==null||f[c].queue===a)&&(f[c].anim.stop(d),b=!1,f.splice(c,1));(b||!d)&&p.dequeue(this,a)})}}),p.each({slideDown:cZ("show"),slideUp:cZ("hide"),slideToggle:cZ("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){p.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),p.speed=function(a,b,c){var d=a&&typeof a=="object"?p.extend({},a):{complete:c||!c&&b||p.isFunction(a)&&a,duration:a,easing:c&&b||b&&!p.isFunction(b)&&b};d.duration=p.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in p.fx.speeds?p.fx.speeds[d.duration]:p.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";return d.old=d.complete,d.complete=function(){p.isFunction(d.old)&&d.old.call(this),d.queue&&p.dequeue(this,d.queue)},d},p.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},p.timers=[],p.fx=cY.prototype.init,p.fx.tick=function(){var a,b=p.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||p.fx.stop()},p.fx.timer=function(a){a()&&p.timers.push(a)&&!cN&&(cN=setInterval(p.fx.tick,p.fx.interval))},p.fx.interval=13,p.fx.stop=function(){clearInterval(cN),cN=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fx.step={},p.expr&&p.expr.filters&&(p.expr.filters.animated=function(a){return p.grep(p.timers,function(b){return a===b.elem}).length});var c$=/^(?:body|html)$/i;p.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){p.offset.setOffset(this,a,b)});var c,d,e,f,g,h,i,j,k,l,m=this[0],n=m&&m.ownerDocument;if(!n)return;return(e=n.body)===m?p.offset.bodyOffset(m):(d=n.documentElement,p.contains(d,m)?(c=m.getBoundingClientRect(),f=c_(n),g=d.clientTop||e.clientTop||0,h=d.clientLeft||e.clientLeft||0,i=f.pageYOffset||d.scrollTop,j=f.pageXOffset||d.scrollLeft,k=c.top+i-g,l=c.left+j-h,{top:k,left:l}):{top:0,left:0})},p.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return p.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(p.css(a,"marginTop"))||0,c+=parseFloat(p.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var d=p.css(a,"position");d==="static"&&(a.style.position="relative");var e=p(a),f=e.offset(),g=p.css(a,"top"),h=p.css(a,"left"),i=(d==="absolute"||d==="fixed")&&p.inArray("auto",[g,h])>-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c$.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c$.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=c_(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); |
  | |||
1 | /* Modernizr 2.6.1 (Custom Build) | MIT & BSD | ||
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load | ||
3 | */ | ||
4 | ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.1",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),k.id=h,(l?k:m).innerHTML+=f,m.appendChild(k),l||(m.style.background="",g.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(['#modernizr:after{content:"',l,'";visibility:hidden}'].join(""),function(b){a=b.offsetHeight>=1}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return o.call(a)=="[object Function]"}function e(a){return typeof a=="string"}function f(){}function g(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function h(){var a=p.shift();q=1,a?a.t?m(function(){(a.t=="c"?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){a!="img"&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l={},o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};y[c]===1&&(r=1,y[c]=[],l=b.createElement(a)),a=="object"?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),a!="img"&&(r||y[c]===2?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i(b=="c"?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&o.call(a.opera)=="[object Opera]",l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return o.call(a)=="[object Array]"},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,i){var j=b(a),l=j.autoCallback;j.url.split(".").pop().split("?").shift(),j.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]||h),j.instead?j.instead(a,e,f,g,i):(y[j.url]?j.noexec=!0:y[j.url]=1,f.load(j.url,j.forceCSS||!j.forceJS&&"css"==j.url.split(".").pop().split("?").shift()?"c":c,j.noexec,j.attrs,j.timeout),(d(e)||d(l))&&f.load(function(){k(),e&&e(j.origUrl,i,g),l&&l(j.origUrl,i,g),y[j.url]=2})))}function i(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var j,l,m=this.yepnope.loader;if(e(a))g(a,0,m,0);else if(w(a))for(j=0;j<a.length;j++)l=a[j],e(l)?g(l,0,m,0):w(l)?B(l):Object(l)===l&&i(l,m);else Object(a)===a&&i(a,m)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}; |
  | |||
1 | /* Modernizr 2.6.2 (Custom Build) | MIT & BSD | ||
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load | ||
3 | */ | ||
4 | ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}; |
  | |||
1 | // Underscore.js 1.5.2 | ||
2 | // http://underscorejs.org | ||
3 | // (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
4 | // Underscore may be freely distributed under the MIT license. | ||
5 | (function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,g=e.filter,d=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,w=Object.keys,_=i.bind,j=function(n){return n instanceof j?n:this instanceof j?(this._wrapped=n,void 0):new j(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=j),exports._=j):n._=j,j.VERSION="1.5.2";var A=j.each=j.forEach=function(n,t,e){if(null!=n)if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a=j.keys(n),u=0,i=a.length;i>u;u++)if(t.call(e,n[a[u]],a[u],n)===r)return};j.map=j.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e.push(t.call(r,n,u,i))}),e)};var E="Reduce of empty array with no initial value";j.reduce=j.foldl=j.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=j.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(E);return r},j.reduceRight=j.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=j.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=j.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(E);return r},j.find=j.detect=function(n,t,r){var e;return O(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},j.filter=j.select=function(n,t,r){var e=[];return null==n?e:g&&n.filter===g?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&e.push(n)}),e)},j.reject=function(n,t,r){return j.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},j.every=j.all=function(n,t,e){t||(t=j.identity);var u=!0;return null==n?u:d&&n.every===d?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var O=j.some=j.any=function(n,t,e){t||(t=j.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,e):(A(n,function(n,i,a){return u||(u=t.call(e,n,i,a))?r:void 0}),!!u)};j.contains=j.include=function(n,t){return null==n?!1:y&&n.indexOf===y?n.indexOf(t)!=-1:O(n,function(n){return n===t})},j.invoke=function(n,t){var r=o.call(arguments,2),e=j.isFunction(t);return j.map(n,function(n){return(e?t:n[t]).apply(n,r)})},j.pluck=function(n,t){return j.map(n,function(n){return n[t]})},j.where=function(n,t,r){return j.isEmpty(t)?r?void 0:[]:j[r?"find":"filter"](n,function(n){for(var r in t)if(t[r]!==n[r])return!1;return!0})},j.findWhere=function(n,t){return j.where(n,t,!0)},j.max=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.max.apply(Math,n);if(!t&&j.isEmpty(n))return-1/0;var e={computed:-1/0,value:-1/0};return A(n,function(n,u,i){var a=t?t.call(r,n,u,i):n;a>e.computed&&(e={value:n,computed:a})}),e.value},j.min=function(n,t,r){if(!t&&j.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.min.apply(Math,n);if(!t&&j.isEmpty(n))return 1/0;var e={computed:1/0,value:1/0};return A(n,function(n,u,i){var a=t?t.call(r,n,u,i):n;a<e.computed&&(e={value:n,computed:a})}),e.value},j.shuffle=function(n){var t,r=0,e=[];return A(n,function(n){t=j.random(r++),e[r-1]=e[t],e[t]=n}),e},j.sample=function(n,t,r){return arguments.length<2||r?n[j.random(n.length-1)]:j.shuffle(n).slice(0,Math.max(0,t))};var k=function(n){return j.isFunction(n)?n:function(t){return t[n]}};j.sortBy=function(n,t,r){var e=k(t);return j.pluck(j.map(n,function(n,t,u){return{value:n,index:t,criteria:e.call(r,n,t,u)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={},i=null==r?j.identity:k(r);return A(t,function(r,a){var o=i.call(e,r,a,t);n(u,o,r)}),u}};j.groupBy=F(function(n,t,r){(j.has(n,t)?n[t]:n[t]=[]).push(r)}),j.indexBy=F(function(n,t,r){n[t]=r}),j.countBy=F(function(n,t){j.has(n,t)?n[t]++:n[t]=1}),j.sortedIndex=function(n,t,r,e){r=null==r?j.identity:k(r);for(var u=r.call(e,t),i=0,a=n.length;a>i;){var o=i+a>>>1;r.call(e,n[o])<u?i=o+1:a=o}return i},j.toArray=function(n){return n?j.isArray(n)?o.call(n):n.length===+n.length?j.map(n,j.identity):j.values(n):[]},j.size=function(n){return null==n?0:n.length===+n.length?n.length:j.keys(n).length},j.first=j.head=j.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:o.call(n,0,t)},j.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},j.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},j.rest=j.tail=j.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},j.compact=function(n){return j.filter(n,j.identity)};var M=function(n,t,r){return t&&j.every(n,j.isArray)?c.apply(r,n):(A(n,function(n){j.isArray(n)||j.isArguments(n)?t?a.apply(r,n):M(n,t,r):r.push(n)}),r)};j.flatten=function(n,t){return M(n,t,[])},j.without=function(n){return j.difference(n,o.call(arguments,1))},j.uniq=j.unique=function(n,t,r,e){j.isFunction(t)&&(e=r,r=t,t=!1);var u=r?j.map(n,r,e):n,i=[],a=[];return A(u,function(r,e){(t?e&&a[a.length-1]===r:j.contains(a,r))||(a.push(r),i.push(n[e]))}),i},j.union=function(){return j.uniq(j.flatten(arguments,!0))},j.intersection=function(n){var t=o.call(arguments,1);return j.filter(j.uniq(n),function(n){return j.every(t,function(t){return j.indexOf(t,n)>=0})})},j.difference=function(n){var t=c.apply(e,o.call(arguments,1));return j.filter(n,function(n){return!j.contains(t,n)})},j.zip=function(){for(var n=j.max(j.pluck(arguments,"length").concat(0)),t=new Array(n),r=0;n>r;r++)t[r]=j.pluck(arguments,""+r);return t},j.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},j.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return e=j.sortedIndex(n,t),n[e]===t?e:-1;e=0>r?Math.max(0,u+r):r}if(y&&n.indexOf===y)return n.indexOf(t,r);for(;u>e;e++)if(n[e]===t)return e;return-1},j.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(b&&n.lastIndexOf===b)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},j.range=function(n,t,r){arguments.length<=1&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=new Array(e);e>u;)i[u++]=n,n+=r;return i};var R=function(){};j.bind=function(n,t){var r,e;if(_&&n.bind===_)return _.apply(n,o.call(arguments,1));if(!j.isFunction(n))throw new TypeError;return r=o.call(arguments,2),e=function(){if(!(this instanceof e))return n.apply(t,r.concat(o.call(arguments)));R.prototype=n.prototype;var u=new R;R.prototype=null;var i=n.apply(u,r.concat(o.call(arguments)));return Object(i)===i?i:u}},j.partial=function(n){var t=o.call(arguments,1);return function(){return n.apply(this,t.concat(o.call(arguments)))}},j.bindAll=function(n){var t=o.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return A(t,function(t){n[t]=j.bind(n[t],n)}),n},j.memoize=function(n,t){var r={};return t||(t=j.identity),function(){var e=t.apply(this,arguments);return j.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},j.delay=function(n,t){var r=o.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},j.defer=function(n){return j.delay.apply(j,[n,1].concat(o.call(arguments,1)))},j.throttle=function(n,t,r){var e,u,i,a=null,o=0;r||(r={});var c=function(){o=r.leading===!1?0:new Date,a=null,i=n.apply(e,u)};return function(){var l=new Date;o||r.leading!==!1||(o=l);var f=t-(l-o);return e=this,u=arguments,0>=f?(clearTimeout(a),a=null,o=l,i=n.apply(e,u)):a||r.trailing===!1||(a=setTimeout(c,f)),i}},j.debounce=function(n,t,r){var e,u,i,a,o;return function(){i=this,u=arguments,a=new Date;var c=function(){var l=new Date-a;t>l?e=setTimeout(c,t-l):(e=null,r||(o=n.apply(i,u)))},l=r&&!e;return e||(e=setTimeout(c,t)),l&&(o=n.apply(i,u)),o}},j.once=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},j.wrap=function(n,t){return function(){var r=[n];return a.apply(r,arguments),t.apply(this,r)}},j.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},j.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},j.keys=w||function(n){if(n!==Object(n))throw new TypeError("Invalid object");var t=[];for(var r in n)j.has(n,r)&&t.push(r);return t},j.values=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},j.pairs=function(n){for(var t=j.keys(n),r=t.length,e=new Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},j.invert=function(n){for(var t={},r=j.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},j.functions=j.methods=function(n){var t=[];for(var r in n)j.isFunction(n[r])&&t.push(r);return t.sort()},j.extend=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]=t[r]}),n},j.pick=function(n){var t={},r=c.apply(e,o.call(arguments,1));return A(r,function(r){r in n&&(t[r]=n[r])}),t},j.omit=function(n){var t={},r=c.apply(e,o.call(arguments,1));for(var u in n)j.contains(r,u)||(t[u]=n[u]);return t},j.defaults=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]===void 0&&(n[r]=t[r])}),n},j.clone=function(n){return j.isObject(n)?j.isArray(n)?n.slice():j.extend({},n):n},j.tap=function(n,t){return t(n),n};var S=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof j&&(n=n._wrapped),t instanceof j&&(t=t._wrapped);var u=l.call(n);if(u!=l.call(t))return!1;switch(u){case"[object String]":return n==String(t);case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;var a=n.constructor,o=t.constructor;if(a!==o&&!(j.isFunction(a)&&a instanceof a&&j.isFunction(o)&&o instanceof o))return!1;r.push(n),e.push(t);var c=0,f=!0;if("[object Array]"==u){if(c=n.length,f=c==t.length)for(;c--&&(f=S(n[c],t[c],r,e)););}else{for(var s in n)if(j.has(n,s)&&(c++,!(f=j.has(t,s)&&S(n[s],t[s],r,e))))break;if(f){for(s in t)if(j.has(t,s)&&!c--)break;f=!c}}return r.pop(),e.pop(),f};j.isEqual=function(n,t){return S(n,t,[],[])},j.isEmpty=function(n){if(null==n)return!0;if(j.isArray(n)||j.isString(n))return 0===n.length;for(var t in n)if(j.has(n,t))return!1;return!0},j.isElement=function(n){return!(!n||1!==n.nodeType)},j.isArray=x||function(n){return"[object Array]"==l.call(n)},j.isObject=function(n){return n===Object(n)},A(["Arguments","Function","String","Number","Date","RegExp"],function(n){j["is"+n]=function(t){return l.call(t)=="[object "+n+"]"}}),j.isArguments(arguments)||(j.isArguments=function(n){return!(!n||!j.has(n,"callee"))}),"function"!=typeof/./&&(j.isFunction=function(n){return"function"==typeof n}),j.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},j.isNaN=function(n){return j.isNumber(n)&&n!=+n},j.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"==l.call(n)},j.isNull=function(n){return null===n},j.isUndefined=function(n){return n===void 0},j.has=function(n,t){return f.call(n,t)},j.noConflict=function(){return n._=t,this},j.identity=function(n){return n},j.times=function(n,t,r){for(var e=Array(Math.max(0,n)),u=0;n>u;u++)e[u]=t.call(r,u);return e},j.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};var I={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};I.unescape=j.invert(I.escape);var T={escape:new RegExp("["+j.keys(I.escape).join("")+"]","g"),unescape:new RegExp("("+j.keys(I.unescape).join("|")+")","g")};j.each(["escape","unescape"],function(n){j[n]=function(t){return null==t?"":(""+t).replace(T[n],function(t){return I[n][t]})}}),j.result=function(n,t){if(null==n)return void 0;var r=n[t];return j.isFunction(r)?r.call(n):r},j.mixin=function(n){A(j.functions(n),function(t){var r=j[t]=n[t];j.prototype[t]=function(){var n=[this._wrapped];return a.apply(n,arguments),z.call(this,r.apply(j,n))}})};var N=0;j.uniqueId=function(n){var t=++N+"";return n?n+t:t},j.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\t|\u2028|\u2029/g;j.template=function(n,t,r){var e;r=j.defaults({},r,j.templateSettings);var u=new RegExp([(r.escape||q).source,(r.interpolate||q).source,(r.evaluate||q).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,function(t,r,e,u,o){return a+=n.slice(i,o).replace(D,function(n){return"\\"+B[n]}),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=o+t.length,t}),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=new Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,j);var c=function(n){return e.call(this,n,j)};return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},j.chain=function(n){return j(n).chain()};var z=function(n){return this._chain?j(n).chain():n};j.mixin(j),A(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=e[n];j.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],z.call(this,r)}}),A(["concat","join","slice"],function(n){var t=e[n];j.prototype[n]=function(){return z.call(this,t.apply(this._wrapped,arguments))}}),j.extend(j.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}).call(this); | ||
6 | //# sourceMappingURL=underscore-min.map |
mouchak/static/js/mouchak.js
(7 / 3)
  | |||
10 | 10 | events: { | |
11 | 11 | }, | |
12 | 12 | initialize: function() { | |
13 | _.bindAll(this); | ||
13 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
14 | 14 | }, | |
15 | 15 | render: function() { | |
16 | 16 | var menu = new M.types.model.menu(M.site_content.menu); | |
… | … | ||
31 | 31 | 'navclicked': 'navClicked' | |
32 | 32 | }, | |
33 | 33 | initialize: function() { | |
34 | _.bindAll(this); | ||
34 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
35 | 35 | this.template = _.template($('#nav-bar-template').html()); | |
36 | 36 | this.bind('navclicked', this.navClicked); | |
37 | 37 | }, | |
… | … | ||
40 | 40 | console.log(this.model.toJSON()); | |
41 | 41 | if(this.model.get('customMenu') === false) { | |
42 | 42 | console.log('generating default menu..'); | |
43 | this.$el.append(this.template({})); | ||
43 | var startpage = M.site_content.menu.menuOrder[0]; | ||
44 | this.$el.append(this.template({ | ||
45 | brand: document.title,//brand name, | ||
46 | brand_href: '#/' + startpage //link to the brand page | ||
47 | })); | ||
44 | 48 | this.$ul = $('.nav'); | |
45 | 49 | this.populate(); | |
46 | 50 | } |
mouchak/static/js/views.js
(6 / 6)
  | |||
5 | 5 | tagName: 'div', | |
6 | 6 | className: '', | |
7 | 7 | initialize: function() { | |
8 | _.bindAll(this); | ||
8 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
9 | 9 | _.bind(this.render, this); | |
10 | 10 | }, | |
11 | 11 | render: function(el) { | |
… | … | ||
22 | 22 | tagName: 'table', | |
23 | 23 | className: 'table', | |
24 | 24 | initialize: function() { | |
25 | _.bindAll(this); | ||
25 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
26 | 26 | _.bind(this.render, this); | |
27 | 27 | }, | |
28 | 28 | render: function(el) { | |
… | … | ||
56 | 56 | className: '', | |
57 | 57 | ||
58 | 58 | initialize: function() { | |
59 | _.bindAll(this); | ||
59 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
60 | 60 | _.bind(this.render, this); | |
61 | 61 | }, | |
62 | 62 | render: function(el) { | |
… | … | ||
68 | 68 | ||
69 | 69 | var VideoView = Backbone.View.extend({ | |
70 | 70 | initialize: function() { | |
71 | _.bindAll(this); | ||
71 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
72 | 72 | _.bind(this.render, this); | |
73 | 73 | // assuming cross-domain urls will have http in the src, | |
74 | 74 | // so also assuming they are embedded flash urls, | |
… | … | ||
92 | 92 | var RSSView = Backbone.View.extend({ | |
93 | 93 | el: '#feeds', | |
94 | 94 | initialize: function() { | |
95 | _.bindAll(this); | ||
95 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
96 | 96 | _.bind(this.render, this); | |
97 | 97 | }, | |
98 | 98 | render: function() { | |
… | … | ||
114 | 114 | tagName: 'div', | |
115 | 115 | className: 'pageview', | |
116 | 116 | initialize: function() { | |
117 | _.bindAll(this); | ||
117 | _.bindAll.apply(_, [this].concat(_.functions(this))); | ||
118 | 118 | _.bind(this.render, this); | |
119 | 119 | this.render(); | |
120 | 120 | $(this.el).hide(); |
mouchak/templates/index.html
(23 / 13)
  | |||
5 | 5 | <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
6 | 6 | <head> | |
7 | 7 | <meta charset="utf-8"> | |
8 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
8 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
9 | 9 | <title> {{title}} </title> | |
10 | 10 | <meta name="description" content=""> | |
11 | <meta name="viewport" content="width=device-width"> | ||
11 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
12 | 12 | ||
13 | 13 | <!-- Place favicon.ico in the root directory --> | |
14 | 14 | ||
15 | 15 | <link rel="stylesheet" href="{{url_for('static', filename='css/normalize.css')}}"> | |
16 | <link rel="stylesheet" href="{{url_for('static', filename='css/bootstrap.css')}}"> | ||
16 | <link rel="stylesheet" href="{{url_for('static', filename='css/bootstrap.min.css')}}" media="screen"> | ||
17 | 17 | <link rel="stylesheet" href="{{url_for('static', filename='css/mouchak.css')}}"> | |
18 | 18 | <link rel="stylesheet" href="{{url_for('static', filename='css/main.css')}}"> | |
19 | <script src="{{url_for('static', filename='js/lib/modernizr-2.6.1.min.js')}}"></script> | ||
19 | <script src="{{url_for('static', filename='js/lib/modernizr-2.6.2.min.js')}}"></script> | ||
20 | 20 | </head> | |
21 | 21 | <body> | |
22 | 22 | <!--[if lt IE 7]> | |
… | … | ||
41 | 41 | M.init(); | |
42 | 42 | }; | |
43 | 43 | </script> | |
44 | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | ||
45 | <script>window.jQuery || document.write('<script src="{{url_for('static', filename='js/lib/jquery-1.8.0.min.js')}}"><\/script>')</script> | ||
46 | <script src="{{url_for('static', filename='js/lib/underscore.js')}}"></script> | ||
47 | <script src="{{url_for('static', filename='js/lib/backbone-1.0.0.js')}}"></script> | ||
48 | <script src="{{url_for('static', filename='js/lib/bootstrap.js')}}"></script> | ||
44 | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | ||
45 | <script>window.jQuery || document.write('<script src="{{url_for('static', filename='js/lib/jquery-1.10.2.min.js')}}"><\/script>')</script> | ||
46 | <script src="{{url_for('static', filename='js/lib/underscore-1.5.2.min.js')}}"></script> | ||
47 | <script src="{{url_for('static', filename='js/lib/backbone-1.0.0.min.js')}}"></script> | ||
48 | <script src="{{url_for('static', filename='js/lib/bootstrap.min.js')}}"></script> | ||
49 | 49 | <script src="{{url_for('static', filename='js/plugins.js')}}"></script> | |
50 | 50 | <script src="{{url_for('static', filename='js/mouchak.js')}}"></script> | |
51 | 51 | <script src="{{url_for('static', filename='js/models.js')}}"></script> | |
… | … | ||
70 | 70 | one can add more | |
71 | 71 | --> | |
72 | 72 | <script type="text/template" id="nav-bar-template" class="nav-type"> | |
73 | <div class="navbar"> | ||
74 | <div class="navbar-inner"> | ||
75 | <!--a class="brand" href="#">Title</a--> | ||
76 | <ul class="nav"></ul> | ||
73 | <div class="navbar navbar-default" role="navigation"> | ||
74 | <!-- Brand and toggle get grouped for better mobile display --> | ||
75 | <div class="navbar-header"> | ||
76 | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> | ||
77 | <span class="sr-only">Toggle navigation</span> | ||
78 | <span class="icon-bar"></span> | ||
79 | <span class="icon-bar"></span> | ||
80 | <span class="icon-bar"></span> | ||
81 | </button> | ||
82 | <a class="navbar-brand" href="<%= brand_href %>"><%= brand %></a> | ||
83 | </div> | ||
84 | <!-- Collect the nav links, forms, and other content for toggling --> | ||
85 | <div class="collapse navbar-collapse navbar-ex1-collapse"> | ||
86 | <ul class="nav navbar-nav"></ul> | ||
77 | 87 | </div> | |
78 | 88 | </div> | |
79 | 89 | </script> |