From ac5b62c007faf05381e7f98d510d20084d681784 Mon Sep 17 00:00:00 2001 From: Jordan Scales Date: Sun, 27 Sep 2015 16:37:51 -0400 Subject: [PATCH] tota11y v0.1.2 build --- build/tota11y.js | 85 ++++++++++++++++++++++++++++++++++++++++---- build/tota11y.min.js | 6 ++-- package.json | 2 +- 3 files changed, 82 insertions(+), 11 deletions(-) diff --git a/build/tota11y.js b/build/tota11y.js index 994fd0e8..e9bb565b 100644 --- a/build/tota11y.js +++ b/build/tota11y.js @@ -1,5 +1,5 @@ /*! - * tota11y v0.1.1 + * tota11y v0.1.2 * http://khan.github.io/tota11y * * Includes Accessibility Developer Tools @@ -9546,7 +9546,7 @@ /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ./../~/css-loader/lib/css-base.js */ 7)(); - exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n/**\n * Base styles for tota11y to make sure things look consistent under\n * reasonable circumstances.\n */\n.tota11y,\n.tota11y * {\n border: none !important;\n box-sizing: border-box !important;\n color: #f2f2f2 !important;\n font-family: Arial !important;\n font-size: 14px !important;\n font-style: normal !important;\n font-weight: 400 !important;\n line-height: 1.35 !important;\n margin: 0 !important;\n padding: 0 !important;\n text-align: left !important;\n text-shadow: none !important;\n}\n.tota11y * {\n height: auto !important;\n width: auto !important;\n}\n.tota11y strong {\n font-weight: bold !important;\n}\n.tota11y pre,\n.tota11y code {\n background-color: #dddddd !important;\n border: none !important;\n border-radius: 0 !important;\n color: inherit !important;\n font-family: monospace !important;\n font-size: inherit !important;\n line-height: inherit !important;\n}\n.tota11y pre {\n padding: 5px 10px !important;\n margin: 0 0 10px !important;\n overflow-x: scroll !important;\n}\n.tota11y code {\n border-radius: 2px !important;\n display: inline !important;\n padding: 1px !important;\n}\n.tota11y i,\n.tota11y em {\n font-style: italic !important;\n}\n.tota11y p {\n margin: 0 0 10px !important;\n}\n.tota11y a,\n.tota11y a:hover,\n.tota11y a:focus {\n background-color: inherit !important;\n color: inherit !important;\n text-decoration: none !important;\n}\n.tota11y-toolbar {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n position: fixed !important;\n top: auto !important;\n right: auto !important;\n bottom: 0 !important;\n left: 10px !important;\n border-top-left-radius: 5px !important;\n border-top-right-radius: 5px !important;\n overflow: hidden !important;\n z-index: 9998 !important;\n}\n.tota11y-toolbar-toggle {\n background-color: #333333 !important;\n display: block !important;\n padding: 7px !important;\n width: 100% !important;\n}\n.tota11y-toolbar-logo {\n height: 25px !important;\n margin: 0 auto !important;\n text-align: center !important;\n width: 35px !important;\n}\n.tota11y-toolbar-logo svg {\n height: 25px !important;\n}\n.tota11y-toolbar-body {\n display: none !important;\n}\n.tota11y-toolbar.tota11y-expanded .tota11y-toolbar-body {\n display: block !important;\n}\n.tota11y-sr-only {\n border: 0 !important;\n clip: rect(0, 0, 0, 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n}\n", ""]); + exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n/**\n * Base styles for tota11y to make sure things look consistent under\n * reasonable circumstances.\n */\n.tota11y,\n.tota11y * {\n border: none !important;\n box-sizing: border-box !important;\n color: #f2f2f2 !important;\n font-family: Arial !important;\n font-size: 14px !important;\n font-style: normal !important;\n font-weight: 400 !important;\n line-height: 1.35 !important;\n margin: 0 !important;\n padding: 0 !important;\n text-align: left !important;\n text-shadow: none !important;\n}\n.tota11y * {\n height: auto !important;\n width: auto !important;\n}\n.tota11y strong {\n font-weight: bold !important;\n}\n.tota11y pre,\n.tota11y code {\n background-color: #ddd !important;\n border: none !important;\n border-radius: 0 !important;\n color: inherit !important;\n font-family: monospace !important;\n font-size: inherit !important;\n line-height: inherit !important;\n}\n.tota11y pre {\n padding: 5px 10px !important;\n margin: 0 0 10px !important;\n overflow-x: scroll !important;\n}\n.tota11y code {\n border-radius: 2px !important;\n display: inline !important;\n padding: 1px !important;\n}\n.tota11y i,\n.tota11y em {\n font-style: italic !important;\n}\n.tota11y p {\n margin: 0 0 10px !important;\n}\n.tota11y a,\n.tota11y a:hover,\n.tota11y a:focus {\n background-color: inherit !important;\n color: inherit !important;\n text-decoration: none !important;\n}\n.tota11y-toolbar {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n position: fixed !important;\n top: auto !important;\n right: auto !important;\n bottom: 0 !important;\n left: 10px !important;\n border-top-left-radius: 5px !important;\n border-top-right-radius: 5px !important;\n overflow: hidden !important;\n z-index: 9998 !important;\n}\n.tota11y-toolbar-toggle {\n background-color: #333 !important;\n display: block !important;\n padding: 7px !important;\n width: 100% !important;\n}\n.tota11y-toolbar-logo {\n height: 25px !important;\n margin: 0 auto !important;\n text-align: center !important;\n width: 35px !important;\n}\n.tota11y-toolbar-logo svg {\n height: 25px !important;\n}\n.tota11y-toolbar-body {\n display: none !important;\n}\n.tota11y-toolbar.tota11y-expanded .tota11y-toolbar-body {\n display: block !important;\n}\n.tota11y-sr-only {\n border: 0 !important;\n clip: rect(0, 0, 0, 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important;\n}\n", ""]); /***/ }, /* 7 */ @@ -11625,7 +11625,7 @@ /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ./../../../~/css-loader/lib/css-base.js */ 7)(); - exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-label {\n background-color: #ffe800 !important;\n border: 1px solid rgba(0, 0, 0, 0.1) !important;\n cursor: default !important;\n padding: 3px !important;\n position: absolute !important;\n z-index: 9997 !important;\n}\n.tota11y-label-error {\n background-color: #ffaeae !important;\n}\n.tota11y-label-error-icon {\n display: block !important;\n float: left !important;\n margin-right: 3px !important;\n width: 12px !important;\n}\n.tota11y-label-success {\n background-color: #b9eda9 !important;\n}\n.tota11y-label-warning {\n background-color: #ffe800 !important;\n}\n.tota11y-label,\n.tota11y-label-text,\n.tota11y-label-detail,\n.tota11y-label-link,\n.tota11y-label-help {\n color: #333333 !important;\n font-size: 12px !important;\n}\n.tota11y-label-text {\n float: left !important;\n}\n.tota11y-label-detail {\n clear: both !important;\n display: none !important;\n max-width: 300px !important;\n}\n.tota11y-label:hover .tota11y-label-detail {\n display: block !important;\n}\n.tota11y-label-help {\n float: left !important;\n margin-left: 5px !important;\n}\n.tota11y-label-link:hover,\n.tota11y-label-link:focus {\n opacity: 0.6 !important;\n text-decoration: underline !important;\n}\n.tota11y-highlight {\n background-color: rgba(120, 130, 200, 0.4) !important;\n pointer-events: none !important;\n position: absolute !important;\n z-index: 9999 !important;\n}\n", ""]); + exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-label {\n background-color: #ffe800 !important;\n border: 1px solid rgba(0, 0, 0, 0.1) !important;\n cursor: default !important;\n padding: 3px !important;\n position: absolute !important;\n z-index: 9997 !important;\n}\n.tota11y-label-error {\n background-color: #ffaeae !important;\n}\n.tota11y-label-error-icon {\n display: block !important;\n float: left !important;\n margin-right: 3px !important;\n width: 12px !important;\n}\n.tota11y-label-success {\n background-color: #b9eda9 !important;\n}\n.tota11y-label-warning {\n background-color: #ffe800 !important;\n}\n.tota11y-label,\n.tota11y-label-text,\n.tota11y-label-detail,\n.tota11y-label-link,\n.tota11y-label-help {\n color: #333 !important;\n font-size: 12px !important;\n}\n.tota11y-label-text {\n float: left !important;\n}\n.tota11y-label-detail {\n clear: both !important;\n display: none !important;\n max-width: 300px !important;\n}\n.tota11y-label:hover .tota11y-label-detail {\n display: block !important;\n}\n.tota11y-label-help {\n float: left !important;\n margin-left: 5px !important;\n}\n.tota11y-label-link:hover,\n.tota11y-label-link:focus {\n opacity: 0.6 !important;\n text-decoration: underline !important;\n}\n.tota11y-highlight {\n background-color: rgba(120, 130, 200, 0.4) !important;\n pointer-events: none !important;\n position: absolute !important;\n z-index: 9999 !important;\n}\n", ""]); /***/ }, /* 25 */ @@ -11677,7 +11677,7 @@ /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ./../../../~/css-loader/lib/css-base.js */ 7)(); - exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-info {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n border-radius: 5px !important;\n position: fixed !important;\n z-index: 9998 !important;\n}\n.tota11y-info-controls {\n float: right !important;\n}\n.tota11y-info-annotation-toggle {\n float: left !important;\n margin-right: 10px !important;\n}\n.tota11y-info-hidden {\n display: none !important;\n}\n.tota11y-info-dismiss-trigger {\n font-size: 25px !important;\n line-height: 25px !important;\n position: relative !important;\n top: -2px !important;\n}\n.tota11y-info-title,\n.tota11y-info-body {\n padding: 10px 10px 0 !important;\n}\n.tota11y-info-title:hover {\n cursor: move !important;\n}\n.tota11y-info-tabs {\n display: -webkit-box !important;\n display: -webkit-flex !important;\n display: -ms-flexbox !important;\n display: flex !important;\n margin: 0 !important;\n padding: 0 0 10px !important;\n}\n.tota11y-info-tab {\n height: 30px !important;\n list-style: none !important;\n position: relative !important;\n text-align: center !important;\n width: 100% !important;\n}\n.tota11y-info-tab-anchor {\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n text-align: center !important;\n}\n.tota11y-info-tab-anchor-text {\n line-height: 30px !important;\n}\n.tota11y-info-tab:hover {\n background-color: #555555 !important;\n}\n.tota11y-info-tab.active,\n.tota11y-info-tab.active:hover {\n background-color: #f2f2f2 !important;\n}\n.tota11y-info-tab.active .tota11y-info-tab-anchor-text {\n color: #333333 !important;\n}\n.tota11y-info-sections {\n position: relative !important;\n height: 270px !important;\n width: 400px !important;\n}\n.tota11y-info-section {\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n background-color: #f2f2f2 !important;\n display: none !important;\n overflow-y: scroll !important;\n padding: 10px !important;\n}\n.tota11y-info-section,\n.tota11y-info-section * {\n color: #333333 !important;\n}\n.tota11y-info-section.active {\n display: block !important;\n}\n.tota11y-info-errors {\n margin: 0 !important;\n padding: 0 !important;\n}\n.tota11y-info-error {\n list-style: none !important;\n margin-bottom: 10px !important;\n}\n.tota11y-info-error-trigger {\n display: block !important;\n}\n.tota11y-info-error-trigger.trigger-highlight {\n background-color: rgba(120, 130, 200, 0.4) !important;\n}\n.tota11y-info-error-chevron {\n display: inline-block !important;\n font-size: 20px !important;\n height: 14px !important;\n line-height: 14px !important;\n margin-right: 3px !important;\n -webkit-transform: rotateZ(90deg) !important;\n transform: rotateZ(90deg) !important;\n -webkit-transform-origin: 3px 8px !important;\n -ms-transform-origin: 3px 8px !important;\n transform-origin: 3px 8px !important;\n -webkit-transition: -webkit-transform ease-in-out 50ms !important;\n transition: transform ease-in-out 50ms !important;\n}\n.tota11y-info-error-trigger.tota11y-collapsed .tota11y-info-error-chevron {\n -webkit-transform: rotateZ(0deg) !important;\n transform: rotateZ(0deg) !important;\n}\n.tota11y-info-error-title {\n font-weight: bold !important;\n}\n.tota11y-info-error-scroll {\n float: right !important;\n margin-top: 3px !important;\n padding-left: 5px !important;\n}\n.tota11y-info-error-scroll-glyph {\n border-color: #333333 !important;\n}\n.tota11y-info-error-scroll:hover .tota11y-info-error-scroll-glyph {\n border-color: #999999 !important;\n}\n.tota11y-info-error-scroll-lens {\n border: 1px solid !important;\n border-radius: 50% !important;\n height: 8px !important;\n width: 8px !important;\n}\n.tota11y-info-error-scroll-handle {\n border-left: 1px solid !important;\n height: 7px !important;\n -webkit-transform: translateX(-2px) translateY(-2px) rotate(45deg) !important;\n -ms-transform: translateX(-2px) translateY(-2px) rotate(45deg) !important;\n transform: translateX(-2px) translateY(-2px) rotate(45deg) !important;\n width: 1px !important;\n}\n.tota11y-info-error-description {\n font-size: 13px !important;\n padding: 10px 0 0 !important;\n -webkit-user-select: text !important;\n -moz-user-select: text !important;\n -ms-user-select: text !important;\n user-select: text !important;\n}\n.tota11y-info-error-description-code-container {\n margin-top: 10px !important;\n}\n.tota11y-info-error-description-code-container code {\n display: block !important;\n margin-top: 10px !important;\n padding: 5px 10px !important;\n word-wrap: break-word !important;\n}\n.tota11y-info-error-description.tota11y-collapsed {\n display: none !important;\n}\n.tota11y-info-error-count {\n background-color: red !important;\n border-radius: 20px !important;\n color: white !important;\n display: inline !important;\n margin-left: 5px !important;\n padding: 1px 8px !important;\n}\n", ""]); + exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-info {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n border-radius: 5px !important;\n position: fixed !important;\n z-index: 9998 !important;\n}\n.tota11y-info-controls {\n float: right !important;\n}\n.tota11y-info-annotation-toggle {\n float: left !important;\n margin-right: 10px !important;\n}\n.tota11y-info-hidden {\n display: none !important;\n}\n.tota11y-info-dismiss-trigger {\n font-size: 25px !important;\n line-height: 25px !important;\n position: relative !important;\n top: -2px !important;\n}\n.tota11y-info-title,\n.tota11y-info-body {\n padding: 10px 10px 0 !important;\n}\n.tota11y-info-title:hover {\n cursor: move !important;\n}\n.tota11y-info-tabs {\n display: -webkit-box !important;\n display: -webkit-flex !important;\n display: -ms-flexbox !important;\n display: flex !important;\n margin: 0 !important;\n padding: 0 0 10px !important;\n}\n.tota11y-info-tab {\n height: 30px !important;\n list-style: none !important;\n position: relative !important;\n text-align: center !important;\n width: 100% !important;\n}\n.tota11y-info-tab-anchor {\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n text-align: center !important;\n}\n.tota11y-info-tab-anchor-text {\n line-height: 30px !important;\n}\n.tota11y-info-tab:hover {\n background-color: #555 !important;\n}\n.tota11y-info-tab.active,\n.tota11y-info-tab.active:hover {\n background-color: #f2f2f2 !important;\n}\n.tota11y-info-tab.active .tota11y-info-tab-anchor-text {\n color: #333 !important;\n}\n.tota11y-info-sections {\n position: relative !important;\n height: 270px !important;\n width: 400px !important;\n}\n.tota11y-info-section {\n position: absolute !important;\n top: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n background-color: #f2f2f2 !important;\n display: none !important;\n overflow-y: scroll !important;\n padding: 10px !important;\n}\n.tota11y-info-section,\n.tota11y-info-section * {\n color: #333 !important;\n}\n.tota11y-info-section.active {\n display: block !important;\n}\n.tota11y-info-errors {\n margin: 0 !important;\n padding: 0 !important;\n}\n.tota11y-info-error {\n list-style: none !important;\n margin-bottom: 10px !important;\n}\n.tota11y-info-error-trigger {\n display: block !important;\n}\n.tota11y-info-error-trigger.trigger-highlight {\n background-color: rgba(120, 130, 200, 0.4) !important;\n}\n.tota11y-info-error-chevron {\n display: inline-block !important;\n font-size: 20px !important;\n height: 14px !important;\n line-height: 14px !important;\n margin-right: 3px !important;\n -webkit-transform: rotateZ(90deg) !important;\n transform: rotateZ(90deg) !important;\n -webkit-transform-origin: 3px 8px !important;\n -ms-transform-origin: 3px 8px !important;\n transform-origin: 3px 8px !important;\n -webkit-transition: -webkit-transform ease-in-out 50ms !important;\n transition: transform ease-in-out 50ms !important;\n}\n.tota11y-info-error-trigger.tota11y-collapsed .tota11y-info-error-chevron {\n -webkit-transform: rotateZ(0deg) !important;\n transform: rotateZ(0deg) !important;\n}\n.tota11y-info-error-title {\n font-weight: bold !important;\n}\n.tota11y-info-error-scroll {\n float: right !important;\n margin-top: 3px !important;\n padding-left: 5px !important;\n}\n.tota11y-info-error-scroll-glyph {\n border-color: #333 !important;\n}\n.tota11y-info-error-scroll:hover .tota11y-info-error-scroll-glyph {\n border-color: #999 !important;\n}\n.tota11y-info-error-scroll-lens {\n border: 1px solid !important;\n border-radius: 50% !important;\n height: 8px !important;\n width: 8px !important;\n}\n.tota11y-info-error-scroll-handle {\n border-left: 1px solid !important;\n height: 7px !important;\n -webkit-transform: translateX(-2px) translateY(-2px) rotate(45deg) !important;\n -ms-transform: translateX(-2px) translateY(-2px) rotate(45deg) !important;\n transform: translateX(-2px) translateY(-2px) rotate(45deg) !important;\n width: 1px !important;\n}\n.tota11y-info-error-description {\n font-size: 13px !important;\n padding: 10px 0 0 !important;\n -webkit-user-select: text !important;\n -moz-user-select: text !important;\n -ms-user-select: text !important;\n user-select: text !important;\n}\n.tota11y-info-error-description-code-container {\n margin-top: 10px !important;\n}\n.tota11y-info-error-description-code-container code {\n display: block !important;\n margin-top: 10px !important;\n padding: 5px 10px !important;\n word-wrap: break-word !important;\n}\n.tota11y-info-error-description.tota11y-collapsed {\n display: none !important;\n}\n.tota11y-info-error-count {\n background-color: red !important;\n border-radius: 20px !important;\n color: white !important;\n display: inline !important;\n margin-left: 5px !important;\n padding: 1px 8px !important;\n}\n", ""]); /***/ }, /* 28 */ @@ -11713,7 +11713,7 @@ /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ./../~/css-loader/lib/css-base.js */ 7)(); - exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-plugin {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n border-bottom: 1px solid #555555 !important;\n list-style: none !important;\n}\n.tota11y-plugin-switch {\n -webkit-box-align: center !important;\n -webkit-align-items: center !important;\n -ms-flex-align: center !important;\n align-items: center !important;\n cursor: pointer !important;\n display: -webkit-box !important;\n display: -webkit-flex !important;\n display: -ms-flexbox !important;\n display: flex !important;\n padding: 12px 12px 12px 0 !important;\n margin: 0 !important;\n}\n.tota11y-plugin-indicator {\n margin: 0 15px !important;\n}\n.tota11y-plugin-indicator {\n border-radius: 16px !important;\n border: 1px solid #999999 !important;\n color: transparent !important;\n font-size: 13px !important;\n height: 16px !important;\n line-height: 16px !important;\n padding: 0 0 0 1px !important;\n width: 16px !important;\n}\n.tota11y-plugin-checkbox:focus + .tota11y-plugin-indicator {\n border-color: #639b24 !important;\n background-color: #49721a !important;\n color: #49721a !important;\n}\n.tota11y-plugin-checkbox:checked + .tota11y-plugin-indicator {\n background-color: #639b24 !important;\n border-color: #639b24 !important;\n color: white !important;\n}\n.tota11y-plugin-title {\n font-weight: bold !important;\n}\n.tota11y-plugin-description {\n font-size: 11px !important;\n font-style: italic !important;\n width: 200px !important;\n margin-right: 3px !important;\n}\n.tota11y-plugins-separator {\n font-size: 12px !important;\n margin: 7px 15px 0 !important;\n text-transform: uppercase !important;\n}\n", ""]); + exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-plugin {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n border-bottom: 1px solid #555 !important;\n list-style: none !important;\n}\n.tota11y-plugin-switch {\n -webkit-box-align: center !important;\n -webkit-align-items: center !important;\n -ms-flex-align: center !important;\n align-items: center !important;\n cursor: pointer !important;\n display: -webkit-box !important;\n display: -webkit-flex !important;\n display: -ms-flexbox !important;\n display: flex !important;\n padding: 12px 12px 12px 0 !important;\n margin: 0 !important;\n}\n.tota11y-plugin-indicator {\n margin: 0 15px !important;\n}\n.tota11y-plugin-indicator {\n border-radius: 16px !important;\n border: 1px solid #999 !important;\n color: transparent !important;\n font-size: 13px !important;\n height: 16px !important;\n line-height: 16px !important;\n padding: 0 0 0 1px !important;\n width: 16px !important;\n}\n.tota11y-plugin-checkbox:focus + .tota11y-plugin-indicator {\n border-color: #639b24 !important;\n background-color: #49721a !important;\n color: #49721a !important;\n}\n.tota11y-plugin-checkbox:checked + .tota11y-plugin-indicator {\n background-color: #639b24 !important;\n border-color: #639b24 !important;\n color: white !important;\n}\n.tota11y-plugin-title {\n font-weight: bold !important;\n}\n.tota11y-plugin-description {\n font-size: 11px !important;\n font-style: italic !important;\n width: 200px !important;\n margin-right: 3px !important;\n}\n.tota11y-plugins-separator {\n font-size: 12px !important;\n margin: 7px 15px 0 !important;\n text-transform: uppercase !important;\n}\n", ""]); /***/ }, /* 30 */ @@ -11754,11 +11754,82 @@ return config; } + // Patch collectMatchingElements to match + // https://github.com/GoogleChrome/accessibility-developer-tools/blob/0062f77258eb4eb8508dad3c92fd2df63c2381fc/src/js/AuditRule.js + // + // TODO: Remove once https://github.com/GoogleChrome/accessibility-developer-tools/commit/df400939addf6dbc5f2a9e1d52a6219f356f82d8 + // makes its way to npm + function patchCollectMatchingElements() { + /** + * Recursively collect elements which match |matcher| into |collection|, + * starting at |node|. + * @param {Node} node + * @param {function(Element): boolean} matcher + * @param {Array.} collection + * @param {ShadowRoot=} opt_shadowRoot The nearest ShadowRoot ancestor, if any. + */ + $.axs.AuditRule.collectMatchingElements = function (node, matcher, collection, opt_shadowRoot) { + if (node.nodeType == Node.ELEMENT_NODE) var element = /** @type {Element} */node; + + if (element && matcher.call(null, element)) collection.push(element); + + // Descend into node: + // If it has a ShadowRoot, ignore all child elements - these will be picked + // up by the or elements. Descend straight into the + // ShadowRoot. + if (element) { + // NOTE: grunt qunit DOES NOT support Shadow DOM, so if changing this + // code, be sure to run the tests in the browser before committing. + var shadowRoot = element.shadowRoot || element.webkitShadowRoot; + if (shadowRoot) { + axs.AuditRule.collectMatchingElements(shadowRoot, matcher, collection, shadowRoot); + return; + } + } + + // If it is a element, descend into distributed elements - descend + // into distributed elements - these are elements from outside the shadow + // root which are rendered inside the shadow DOM. + if (element && element.localName == 'content') { + var content = /** @type {HTMLContentElement} */element; + var distributedNodes = content.getDistributedNodes(); + for (var i = 0; i < distributedNodes.length; i++) { + axs.AuditRule.collectMatchingElements(distributedNodes[i], matcher, collection, opt_shadowRoot); + } + return; + } + + // If it is a element, descend into the olderShadowRoot of the + // current ShadowRoot. + if (element && element.localName == 'shadow') { + var shadow = /** @type {HTMLShadowElement} */element; + if (!opt_shadowRoot) { + console.warn('ShadowRoot not provided for', element); + } else { + var distributedNodes = shadow.getDistributedNodes(); + for (var i = 0; i < distributedNodes.length; i++) { + axs.AuditRule.collectMatchingElements(distributedNodes[i], matcher, collection, opt_shadowRoot); + } + } + } + + // If it is neither the parent of a ShadowRoot, a element, nor + // a element recurse normally. + var child = node.firstChild; + while (child != null) { + axs.AuditRule.collectMatchingElements(child, matcher, collection, opt_shadowRoot); + child = child.nextSibling; + } + }; + } + // Audits for a single rule (by name) and returns the results for only that // rule function audit(ruleName) { var whitelist = createWhitelist(ruleName); + patchCollectMatchingElements(); + return $.axs.Audit.run(whitelist).filter(function (result) { return result.rule.name === ruleName; })[0]; @@ -12287,7 +12358,7 @@ /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ./../../~/css-loader/lib/css-base.js */ 7)(); - exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-heading-outline {\n color: #333333 !important;\n}\n.tota11y-heading-outline-entry {\n margin-bottom: 8px !important;\n}\n.tota11y-heading-outline-entry.heading-level-1 {\n margin-left: 0 !important;\n}\n.tota11y-heading-outline-entry.heading-level-2 {\n margin-left: 20px !important;\n}\n.tota11y-heading-outline-entry.heading-level-3 {\n margin-left: 40px !important;\n}\n.tota11y-heading-outline-entry.heading-level-4 {\n margin-left: 60px !important;\n}\n.tota11y-heading-outline-entry.heading-level-5 {\n margin-left: 80px !important;\n}\n.tota11y-heading-outline-entry.heading-level-6 {\n margin-left: 100px !important;\n}\n.tota11y-heading-outline-level {\n position: relative !important;\n top: -2px !important;\n right: auto !important;\n bottom: auto !important;\n left: auto !important;\n margin-right: 5px !important;\n padding: 2px 3px !important;\n pointer-events: none !important;\n}\n", ""]); + exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-heading-outline {\n color: #333 !important;\n}\n.tota11y-heading-outline-entry {\n margin-bottom: 8px !important;\n}\n.tota11y-heading-outline-entry.heading-level-1 {\n margin-left: 0 !important;\n}\n.tota11y-heading-outline-entry.heading-level-2 {\n margin-left: 20px !important;\n}\n.tota11y-heading-outline-entry.heading-level-3 {\n margin-left: 40px !important;\n}\n.tota11y-heading-outline-entry.heading-level-4 {\n margin-left: 60px !important;\n}\n.tota11y-heading-outline-entry.heading-level-5 {\n margin-left: 80px !important;\n}\n.tota11y-heading-outline-entry.heading-level-6 {\n margin-left: 100px !important;\n}\n.tota11y-heading-outline-level {\n position: relative !important;\n top: -2px !important;\n right: auto !important;\n bottom: auto !important;\n left: auto !important;\n margin-right: 5px !important;\n padding: 2px 3px !important;\n pointer-events: none !important;\n}\n", ""]); /***/ }, /* 40 */ @@ -12741,7 +12812,7 @@ /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(/*! ./../../~/css-loader/lib/css-base.js */ 7)(); - exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-outlined {\n outline: 2px solid #7882c8 !important;\n}\n.tota11y-nothingness {\n color: #888 !important;\n}\n", ""]); + exports.push([module.id, ".tota11y-dark-color-scheme {\n background-color: #333 !important;\n color: #f2f2f2 !important;\n}\n.tota11y-no-select {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.tota11y-outlined {\n outline: 2px solid #7882c8 !important;\n}\n.tota11y-nothingness {\n color: #888 !important;\n}\n", ""]); /***/ }, /* 47 */ diff --git a/build/tota11y.min.js b/build/tota11y.min.js index 919c08e5..4106ff44 100644 --- a/build/tota11y.min.js +++ b/build/tota11y.min.js @@ -1,5 +1,5 @@ /*! - * tota11y v0.1.1 + * tota11y v0.1.2 * http://khan.github.io/tota11y * * Includes Accessibility Developer Tools @@ -37,7 +37,7 @@ */ function(e){function t(e,t,n,r){var a,o,i,s,l,u,p,f,h,g;if((t?t.ownerDocument||t:F)!==I&&O(t),t=t||I,n=n||[],s=t.nodeType,"string"!=typeof e||!e||1!==s&&9!==s&&11!==s)return n;if(!r&&P){if(11!==s&&(a=ve.exec(e)))if(i=a[1]){if(9===s){if(o=t.getElementById(i),!o||!o.parentNode)return n;if(o.id===i)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(i))&&H(t,o)&&o.id===i)return n.push(o),n}else{if(a[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((i=a[3])&&w.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&(!D||!D.test(e))){if(f=p=q,h=t,g=1!==s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=_(e),(p=t.getAttribute("id"))?f=p.replace(xe,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+d(u[l]);h=ye.test(e)&&c(t.parentNode)||t,g=u.join(",")}if(g)try{return Z.apply(n,h.querySelectorAll(g)),n}catch(m){}finally{p||t.removeAttribute("id")}}}return R(e.replace(le,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>A.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[q]=!0,e}function a(e){var t=I.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)A.attrHandle[n[r]]=t}function i(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||$)-(~e.sourceIndex||$);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var a,o=e([],n.length,t),i=o.length;i--;)n[a=o[i]]&&(n[a]=!(r[a]=n[a]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function p(){}function d(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,a=n&&"parentNode"===r,o=U++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o)}:function(t,n,i){var s,l,u=[B,o];if(i){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,i))return!0}else for(;t=t[r];)if(1===t.nodeType||a){if(l=t[q]||(t[q]={}),(s=l[r])&&s[0]===B&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,i))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var a=0,o=n.length;o>a;a++)t(e,n[a],r);return r}function m(e,t,n,r,a){for(var o,i=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,a))&&(i.push(o),u&&t.push(s));return i}function b(e,t,n,a,o,i){return a&&!a[q]&&(a=b(a)),o&&!o[q]&&(o=b(o,i)),r(function(r,i,s,l){var u,c,p,d=[],f=[],h=i.length,b=r||g(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?b:m(b,d,e,s,l),y=n?o||(r?e:h||a)?[]:i:v;if(n&&n(v,y,s,l),a)for(u=m(y,f),a(u,[],s,l),c=u.length;c--;)(p=u[c])&&(y[f[c]]=!(v[f[c]]=p));if(r){if(o||e){if(o){for(u=[],c=y.length;c--;)(p=y[c])&&u.push(v[c]=p);o(null,y=[],u,l)}for(c=y.length;c--;)(p=y[c])&&(u=o?ee(r,p):d[c])>-1&&(r[u]=!(i[u]=p))}}else y=m(y===i?y.splice(h,y.length):y),o?o(null,i,y,l):Z.apply(i,y)})}function v(e){for(var t,n,r,a=e.length,o=A.relative[e[0].type],i=o||A.relative[" "],s=o?1:0,l=f(function(e){return e===t},i,!0),u=f(function(e){return ee(t,e)>-1},i,!0),c=[function(e,n,r){var a=!o&&(r||n!==k)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,a}];a>s;s++)if(n=A.relative[e[s].type])c=[f(h(c),n)];else{if(n=A.filter[e[s].type].apply(null,e[s].matches),n[q]){for(r=++s;a>r&&!A.relative[e[r].type];r++);return b(s>1&&h(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(le,"$1"),n,r>s&&v(e.slice(s,r)),a>r&&v(e=e.slice(r)),a>r&&d(e))}c.push(n)}return h(c)}function y(e,n){var a=n.length>0,o=e.length>0,i=function(r,i,s,l,u){var c,p,d,f=0,h="0",g=r&&[],b=[],v=k,y=r||o&&A.find.TAG("*",u),x=B+=null==v?1:Math.random()||.1,w=y.length;for(u&&(k=i!==I&&i);h!==w&&null!=(c=y[h]);h++){if(o&&c){for(p=0;d=e[p++];)if(d(c,i,s)){l.push(c);break}u&&(B=x)}a&&((c=!d&&c)&&f--,r&&g.push(c))}if(f+=h,a&&h!==f){for(p=0;d=n[p++];)d(g,b,i,s);if(r){if(f>0)for(;h--;)g[h]||b[h]||(b[h]=K.call(l));b=m(b)}Z.apply(l,b),u&&!r&&b.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(B=x,k=v),g};return a?r(i):i}var x,w,A,E,C,_,T,R,k,S,N,O,I,L,P,D,M,j,H,q="sizzle"+1*new Date,F=e.document,B=0,U=0,W=n(),V=n(),G=n(),Y=function(e,t){return e===t&&(N=!0),0},$=1<<31,z={}.hasOwnProperty,X=[],K=X.pop,J=X.push,Z=X.push,Q=X.slice,ee=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ae=re.replace("w","w#"),oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ae+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),le=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),pe=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ie),fe=new RegExp("^"+ae+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},ge=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,be=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,xe=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Ae=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ee=function(){O()};try{Z.apply(X=Q.call(F.childNodes),F.childNodes),X[F.childNodes.length].nodeType}catch(Ce){Z={apply:X.length?function(e,t){J.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},O=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:F;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,L=r.documentElement,n=r.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",Ee,!1):n.attachEvent&&n.attachEvent("onunload",Ee)),P=!C(r),w.attributes=a(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=a(function(e){return e.appendChild(r.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=be.test(r.getElementsByClassName),w.getById=a(function(e){return L.appendChild(e).id=q,!r.getElementsByName||!r.getElementsByName(q).length}),w.getById?(A.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},A.filter.ID=function(e){var t=e.replace(we,Ae);return function(e){return e.getAttribute("id")===t}}):(delete A.find.ID,A.filter.ID=function(e){var t=e.replace(we,Ae);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),A.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[a++];)1===n.nodeType&&r.push(n);return r}return o},A.find.CLASS=w.getElementsByClassName&&function(e,t){return P?t.getElementsByClassName(e):void 0},M=[],D=[],(w.qsa=be.test(r.querySelectorAll))&&(a(function(e){L.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||D.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+q+"-]").length||D.push("~="),e.querySelectorAll(":checked").length||D.push(":checked"),e.querySelectorAll("a#"+q+"+*").length||D.push(".#.+[+~]")}),a(function(e){var t=r.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&D.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),D.push(",.*:")})),(w.matchesSelector=be.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&a(function(e){w.disconnectedMatch=j.call(e,"div"),j.call(e,"[s!='']:x"),M.push("!=",ie)}),D=D.length&&new RegExp(D.join("|")),M=M.length&&new RegExp(M.join("|")),t=be.test(L.compareDocumentPosition),H=t||be.test(L.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===r||e.ownerDocument===F&&H(F,e)?-1:t===r||t.ownerDocument===F&&H(F,t)?1:S?ee(S,e)-ee(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,a=0,o=e.parentNode,s=t.parentNode,l=[e],u=[t];if(!o||!s)return e===r?-1:t===r?1:o?-1:s?1:S?ee(S,e)-ee(S,t):0;if(o===s)return i(e,t);for(n=e;n=n.parentNode;)l.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;l[a]===u[a];)a++;return a?i(l[a],u[a]):l[a]===F?-1:u[a]===F?1:0},r):I},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==I&&O(e),n=n.replace(pe,"='$1']"),w.matchesSelector&&P&&(!M||!M.test(n))&&(!D||!D.test(n)))try{var r=j.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(a){}return t(n,I,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==I&&O(e),H(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==I&&O(e);var n=A.attrHandle[t.toLowerCase()],r=n&&z.call(A.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==r?r:w.attributes||!P?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,a=0;if(N=!w.detectDuplicates,S=!w.sortStable&&e.slice(0),e.sort(Y),N){for(;t=e[a++];)t===e[a]&&(r=n.push(a));for(;r--;)e.splice(n[r],1)}return S=null,e},E=t.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=E(t);return n},A=t.selectors={cacheLength:50,createPseudo:r,match:he,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(we,Ae),e[3]=(e[3]||e[4]||e[5]||"").replace(we,Ae),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=_(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(we,Ae).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(a){var o=t.attr(a,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(se," ")+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,a){var o="nth"!==e.slice(0,3),i="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,d,f,h,g=o!==i?"nextSibling":"previousSibling",m=t.parentNode,b=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===b:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[i?m.firstChild:m.lastChild],i&&v){for(c=m[q]||(m[q]={}),u=c[e]||[],f=u[0]===B&&u[1],d=u[0]===B&&u[2],p=f&&m.childNodes[f];p=++f&&p&&p[g]||(d=f=0)||h.pop();)if(1===p.nodeType&&++d&&p===t){c[e]=[B,f,d];break}}else if(v&&(u=(t[q]||(t[q]={}))[e])&&u[0]===B)d=u[1];else for(;(p=++f&&p&&p[g]||(d=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==b:1!==p.nodeType)||!++d||(v&&((p[q]||(p[q]={}))[e]=[B,d]),p!==t)););return d-=a,d===r||d%r===0&&d/r>=0}}},PSEUDO:function(e,n){var a,o=A.pseudos[e]||A.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[q]?o(n):o.length>1?(a=[e,e,"",n],A.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,a=o(e,n),i=a.length;i--;)r=ee(e,a[i]),e[r]=!(t[r]=a[i])}):function(e){return o(e,0,a)}):o}},pseudos:{not:r(function(e){var t=[],n=[],a=T(e.replace(le,"$1"));return a[q]?r(function(e,t,n,r){for(var o,i=a(e,null,r,[]),s=e.length;s--;)(o=i[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,a(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(we,Ae),function(t){return(t.textContent||t.innerText||E(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(we,Ae).toLowerCase(),function(t){var n;do if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!A.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return ge.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[0>n?n+t:n]}),even:u(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=0>n?n+t:n;++r2&&"ID"===(i=o[0]).type&&w.getById&&9===t.nodeType&&P&&A.relative[o[1].type]){if(t=(A.find.ID(i.matches[0].replace(we,Ae),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(a=he.needsContext.test(e)?0:o.length;a--&&(i=o[a],!A.relative[s=i.type]);)if((l=A.find[s])&&(r=l(i.matches[0].replace(we,Ae),ye.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(a,1),e=r.length&&d(o),!e)return Z.apply(n,r),n;break}}return(u||T(e,p))(r,t,!P,n,ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=q.split("").sort(Y).join("")===q,w.detectDuplicates=!!N,O(),w.sortDetached=a(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),a(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&a(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),a(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);re.find=le,re.expr=le.selectors,re.expr[":"]=re.expr.pseudos,re.unique=le.uniqueSort,re.text=le.getText,re.isXMLDoc=le.isXML,re.contains=le.contains;var ue=re.expr.match.needsContext,ce=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pe=/^.[^:#\[\.,]*$/;re.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?re.find.matchesSelector(r,e)?[r]:[]:re.find.matches(e,re.grep(t,function(e){return 1===e.nodeType}))},re.fn.extend({find:function(e){var t,n=this.length,r=[],a=this;if("string"!=typeof e)return this.pushStack(re(e).filter(function(){for(t=0;n>t;t++)if(re.contains(a[t],this))return!0}));for(t=0;n>t;t++)re.find(e,a[t],r);return r=this.pushStack(n>1?re.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ue.test(e)?re(e):e||[],!1).length}});var de,fe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,he=re.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:fe.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||de).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof re?t[0]:t,re.merge(this,re.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:te,!0)),ce.test(n[1])&&re.isPlainObject(t))for(n in t)re.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return r=te.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=te,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):re.isFunction(e)?"undefined"!=typeof de.ready?de.ready(e):e(re):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),re.makeArray(e,this))};he.prototype=re.fn,de=re(te);var ge=/^(?:parents|prev(?:Until|All))/,me={children:!0,contents:!0,next:!0,prev:!0};re.extend({dir:function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&re(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),re.fn.extend({has:function(e){var t=re(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(re.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,a=this.length,o=[],i=ue.test(e)||"string"!=typeof e?re(e,t||this.context):0;a>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(i?i.index(n)>-1:1===n.nodeType&&re.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?re.unique(o):o)},index:function(e){return e?"string"==typeof e?K.call(re(e),this[0]):K.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(re.unique(re.merge(this.get(),re(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),re.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return re.dir(e,"parentNode")},parentsUntil:function(e,t,n){return re.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return re.dir(e,"nextSibling")},prevAll:function(e){return re.dir(e,"previousSibling")},nextUntil:function(e,t,n){return re.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return re.dir(e,"previousSibling",n)},siblings:function(e){return re.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return re.sibling(e.firstChild)},contents:function(e){return e.contentDocument||re.merge([],e.childNodes)}},function(e,t){re.fn[e]=function(n,r){var a=re.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=re.filter(r,a)),this.length>1&&(me[e]||re.unique(a),ge.test(e)&&a.reverse()),this.pushStack(a)}});var be=/\S+/g,ve={};re.Callbacks=function(e){e="string"==typeof e?ve[e]||u(e):re.extend({},e);var t,n,r,a,o,i,s=[],l=!e.once&&[],c=function(u){for(t=e.memory&&u,n=!0,i=a||0,a=0,o=s.length,r=!0;s&&o>i;i++)if(s[i].apply(u[0],u[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,s&&(l?l.length&&c(l.shift()):t?s=[]:p.disable())},p={add:function(){if(s){var n=s.length;!function i(t){re.each(t,function(t,n){var r=re.type(n);"function"===r?e.unique&&p.has(n)||s.push(n):n&&n.length&&"string"!==r&&i(n)})}(arguments),r?o=s.length:t&&(a=n,c(t))}return this},remove:function(){return s&&re.each(arguments,function(e,t){for(var n;(n=re.inArray(t,s,n))>-1;)s.splice(n,1),r&&(o>=n&&o--,i>=n&&i--)}),this},has:function(e){return e?re.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],o=0,this},disable:function(){return s=l=t=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,t||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!s||n&&!l||(t=t||[],t=[e,t.slice?t.slice():t],r?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!n}};return p},re.extend({Deferred:function(e){var t=[["resolve","done",re.Callbacks("once memory"),"resolved"],["reject","fail",re.Callbacks("once memory"),"rejected"],["notify","progress",re.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var e=arguments;return re.Deferred(function(n){re.each(t,function(t,o){var i=re.isFunction(e[t])&&e[t];a[o[1]](function(){var e=i&&i.apply(this,arguments);e&&re.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,i?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?re.extend(e,r):r}},a={};return r.pipe=r.then,re.each(t,function(e,o){var i=o[2],s=o[3];r[o[1]]=i.add,s&&i.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),a[o[0]]=function(){return a[o[0]+"With"](this===a?r:this,arguments),this},a[o[0]+"With"]=i.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t,n,r,a=0,o=$.call(arguments),i=o.length,s=1!==i||e&&re.isFunction(e.promise)?i:0,l=1===s?e:re.Deferred(),u=function(e,n,r){return function(a){n[e]=this,r[e]=arguments.length>1?$.call(arguments):a,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(i>1)for(t=new Array(i),n=new Array(i),r=new Array(i);i>a;a++)o[a]&&re.isFunction(o[a].promise)?o[a].promise().done(u(a,r,o)).fail(l.reject).progress(u(a,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}});var ye;re.fn.ready=function(e){return re.ready.promise().done(e),this},re.extend({isReady:!1,readyWait:1,holdReady:function(e){e?re.readyWait++:re.ready(!0)},ready:function(e){(e===!0?--re.readyWait:re.isReady)||(re.isReady=!0,e!==!0&&--re.readyWait>0||(ye.resolveWith(te,[re]),re.fn.triggerHandler&&(re(te).triggerHandler("ready"),re(te).off("ready"))))}}),re.ready.promise=function(e){return ye||(ye=re.Deferred(),"complete"===te.readyState?setTimeout(re.ready):(te.addEventListener("DOMContentLoaded",c,!1),n.addEventListener("load",c,!1))),ye.promise(e)},re.ready.promise();var xe=re.access=function(e,t,n,r,a,o,i){var s=0,l=e.length,u=null==n;if("object"===re.type(n)){a=!0;for(s in n)re.access(e,t,s,n[s],!0,o,i)}else if(void 0!==r&&(a=!0,re.isFunction(r)||(i=!0),u&&(i?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(re(e),n)})),t))for(;l>s;s++)t(e[s],n,i?r:r.call(e[s],s,t(e[s],n)));return a?e:u?t.call(e):l?t(e[0],n):o};re.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},p.uid=1,p.accepts=re.acceptData,p.prototype={key:function(e){if(!p.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=p.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,re.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,a=this.key(e),o=this.cache[a];if("string"==typeof t)o[t]=n;else if(re.isEmptyObject(o))re.extend(this.cache[a],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,re.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,a,o=this.key(e),i=this.cache[o];if(void 0===t)this.cache[o]={};else{re.isArray(t)?r=t.concat(t.map(re.camelCase)):(a=re.camelCase(t),t in i?r=[t,a]:(r=a,r=r in i?[r]:r.match(be)||[])),n=r.length;for(;n--;)delete i[r[n]]}},hasData:function(e){return!re.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var we=new p,Ae=new p,Ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ce=/([A-Z])/g;re.extend({hasData:function(e){return Ae.hasData(e)||we.hasData(e)},data:function(e,t,n){return Ae.access(e,t,n)},removeData:function(e,t){Ae.remove(e,t)},_data:function(e,t,n){return we.access(e,t,n)},_removeData:function(e,t){we.remove(e,t)}}),re.fn.extend({data:function(e,t){var n,r,a,o=this[0],i=o&&o.attributes;if(void 0===e){if(this.length&&(a=Ae.get(o),1===o.nodeType&&!we.get(o,"hasDataAttrs"))){for(n=i.length;n--;)i[n]&&(r=i[n].name,0===r.indexOf("data-")&&(r=re.camelCase(r.slice(5)),d(o,r,a[r])));we.set(o,"hasDataAttrs",!0)}return a}return"object"==typeof e?this.each(function(){Ae.set(this,e)}):xe(this,function(t){var n,r=re.camelCase(e);if(o&&void 0===t){if(n=Ae.get(o,e),void 0!==n)return n;if(n=Ae.get(o,r),void 0!==n)return n;if(n=d(o,r,void 0),void 0!==n)return n}else this.each(function(){var n=Ae.get(this,r);Ae.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&Ae.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ae.remove(this,e)})}}),re.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=we.get(e,t),n&&(!r||re.isArray(n)?r=we.access(e,t,re.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=re.queue(e,t),r=n.length,a=n.shift(),o=re._queueHooks(e,t),i=function(){re.dequeue(e,t)};"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete o.stop,a.call(e,i,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return we.get(e,n)||we.access(e,n,{empty:re.Callbacks("once memory").add(function(){we.remove(e,[t+"queue",n])})})}}),re.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.lengthx",ee.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Se="undefined";ee.focusinBubbles="onfocusin"in n;var Ne=/^key/,Oe=/^(?:mouse|pointer|contextmenu)|click/,Ie=/^(?:focusinfocus|focusoutblur)$/,Le=/^([^.]*)(?:\.(.+)|)$/;re.event={global:{},add:function(e,t,n,r,a){var o,i,s,l,u,c,p,d,f,h,g,m=we.get(e);if(m)for(n.handler&&(o=n,n=o.handler,a=o.selector),n.guid||(n.guid=re.guid++),(l=m.events)||(l=m.events={}),(i=m.handle)||(i=m.handle=function(t){return typeof re!==Se&&re.event.triggered!==t.type?re.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(be)||[""],u=t.length;u--;)s=Le.exec(t[u])||[],f=g=s[1],h=(s[2]||"").split(".").sort(),f&&(p=re.event.special[f]||{},f=(a?p.delegateType:p.bindType)||f,p=re.event.special[f]||{},c=re.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&re.expr.match.needsContext.test(a),namespace:h.join(".")},o),(d=l[f])||(d=l[f]=[],d.delegateCount=0,p.setup&&p.setup.call(e,r,h,i)!==!1||e.addEventListener&&e.addEventListener(f,i,!1)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),a?d.splice(d.delegateCount++,0,c):d.push(c),re.event.global[f]=!0)},remove:function(e,t,n,r,a){var o,i,s,l,u,c,p,d,f,h,g,m=we.hasData(e)&&we.get(e);if(m&&(l=m.events)){for(t=(t||"").match(be)||[""],u=t.length;u--;)if(s=Le.exec(t[u])||[],f=g=s[1],h=(s[2]||"").split(".").sort(),f){for(p=re.event.special[f]||{},f=(r?p.delegateType:p.bindType)||f,d=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=o=d.length;o--;)c=d[o],!a&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c));i&&!d.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||re.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)re.event.remove(e,f+t[u],n,r,!0);re.isEmptyObject(l)&&(delete m.handle,we.remove(e,"events"))}},trigger:function(e,t,r,a){var o,i,s,l,u,c,p,d=[r||te],f=Q.call(e,"type")?e.type:e,h=Q.call(e,"namespace")?e.namespace.split("."):[];if(i=s=r=r||te,3!==r.nodeType&&8!==r.nodeType&&!Ie.test(f+re.event.triggered)&&(f.indexOf(".")>=0&&(h=f.split("."),f=h.shift(),h.sort()),u=f.indexOf(":")<0&&"on"+f,e=e[re.expando]?e:new re.Event(f,"object"==typeof e&&e), e.isTrigger=a?2:3,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:re.makeArray(t,[e]),p=re.event.special[f]||{},a||!p.trigger||p.trigger.apply(r,t)!==!1)){if(!a&&!p.noBubble&&!re.isWindow(r)){for(l=p.delegateType||f,Ie.test(l+f)||(i=i.parentNode);i;i=i.parentNode)d.push(i),s=i;s===(r.ownerDocument||te)&&d.push(s.defaultView||s.parentWindow||n)}for(o=0;(i=d[o++])&&!e.isPropagationStopped();)e.type=o>1?l:p.bindType||f,c=(we.get(i,"events")||{})[e.type]&&we.get(i,"handle"),c&&c.apply(i,t),c=u&&i[u],c&&c.apply&&re.acceptData(i)&&(e.result=c.apply(i,t),e.result===!1&&e.preventDefault());return e.type=f,a||e.isDefaultPrevented()||p._default&&p._default.apply(d.pop(),t)!==!1||!re.acceptData(r)||u&&re.isFunction(r[f])&&!re.isWindow(r)&&(s=r[u],s&&(r[u]=null),re.event.triggered=f,r[f](),re.event.triggered=void 0,s&&(r[u]=s)),e.result}},dispatch:function(e){e=re.event.fix(e);var t,n,r,a,o,i=[],s=$.call(arguments),l=(we.get(this,"events")||{})[e.type]||[],u=re.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(i=re.event.handlers.call(this,e,l),t=0;(a=i[t++])&&!e.isPropagationStopped();)for(e.currentTarget=a.elem,n=0;(o=a.handlers[n++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((re.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,a,o,i=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||"click"!==e.type){for(r=[],n=0;s>n;n++)o=t[n],a=o.selector+" ",void 0===r[a]&&(r[a]=o.needsContext?re(a,this).index(l)>=0:re.find(a,this,null,[l]).length),r[a]&&r.push(o);r.length&&i.push({elem:l,handlers:r})}return s]*)\/>/gi,De=/<([\w:]+)/,Me=/<|&#?\w+;/,je=/<(?:script|style|link)/i,He=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^$|\/(?:java|ecma)script/i,Fe=/^true\/(.*)/,Be=/^\s*\s*$/g,Ue={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Ue.optgroup=Ue.option,Ue.tbody=Ue.tfoot=Ue.colgroup=Ue.caption=Ue.thead,Ue.th=Ue.td,re.extend({clone:function(e,t,n){var r,a,o,i,s=e.cloneNode(!0),l=re.contains(e.ownerDocument,e);if(!(ee.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||re.isXMLDoc(e)))for(i=w(s),o=w(e),r=0,a=o.length;a>r;r++)A(o[r],i[r]);if(t)if(n)for(o=o||w(e),i=i||w(s),r=0,a=o.length;a>r;r++)x(o[r],i[r]);else x(e,s);return i=w(s,"script"),i.length>0&&y(i,!l&&w(e,"script")),s},buildFragment:function(e,t,n,r){for(var a,o,i,s,l,u,c=t.createDocumentFragment(),p=[],d=0,f=e.length;f>d;d++)if(a=e[d],a||0===a)if("object"===re.type(a))re.merge(p,a.nodeType?[a]:a);else if(Me.test(a)){for(o=o||c.appendChild(t.createElement("div")),i=(De.exec(a)||["",""])[1].toLowerCase(),s=Ue[i]||Ue._default,o.innerHTML=s[1]+a.replace(Pe,"<$1>")+s[2],u=s[0];u--;)o=o.lastChild;re.merge(p,o.childNodes),o=c.firstChild,o.textContent=""}else p.push(t.createTextNode(a));for(c.textContent="",d=0;a=p[d++];)if((!r||-1===re.inArray(a,r))&&(l=re.contains(a.ownerDocument,a),o=w(c.appendChild(a),"script"),l&&y(o),n))for(u=0;a=o[u++];)qe.test(a.type||"")&&n.push(a);return c},cleanData:function(e){for(var t,n,r,a,o=re.event.special,i=0;void 0!==(n=e[i]);i++){if(re.acceptData(n)&&(a=n[we.expando],a&&(t=we.cache[a]))){if(t.events)for(r in t.events)o[r]?re.event.remove(n,r):re.removeEvent(n,r,t.handle);we.cache[a]&&delete we.cache[a]}delete Ae.cache[n[Ae.expando]]}}}),re.fn.extend({text:function(e){return xe(this,function(e){return void 0===e?re.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=m(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=m(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,r=e?re.filter(e,this):this,a=0;null!=(n=r[a]);a++)t||1!==n.nodeType||re.cleanData(w(n)),n.parentNode&&(t&&re.contains(n.ownerDocument,n)&&y(w(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(re.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return re.clone(this,e,t)})},html:function(e){return xe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!Ue[(De.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Pe,"<$1>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(re.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(a){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,re.cleanData(w(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=z.apply([],e);var n,r,a,o,i,s,l=0,u=this.length,c=this,p=u-1,d=e[0],f=re.isFunction(d);if(f||u>1&&"string"==typeof d&&!ee.checkClone&&He.test(d))return this.each(function(n){var r=c.eq(n);f&&(e[0]=d.call(this,n,r.html())),r.domManip(e,t)});if(u&&(n=re.buildFragment(e,this[0].ownerDocument,!1,this),r=n.firstChild,1===n.childNodes.length&&(n=r),r)){for(a=re.map(w(n,"script"),b),o=a.length;u>l;l++)i=n,l!==p&&(i=re.clone(i,!0,!0),o&&re.merge(a,w(i,"script"))),t.call(this[l],i,l);if(o)for(s=a[a.length-1].ownerDocument,re.map(a,v),l=0;o>l;l++)i=a[l],qe.test(i.type||"")&&!we.access(i,"globalEval")&&re.contains(s,i)&&(i.src?re._evalUrl&&re._evalUrl(i.src):re.globalEval(i.textContent.replace(Be,"")))}return this}}),re.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){re.fn[e]=function(e){for(var n,r=[],a=re(e),o=a.length-1,i=0;o>=i;i++)n=i===o?this:this.clone(!0),re(a[i])[t](n),X.apply(r,n.get());return this.pushStack(r)}});var We,Ve={},Ge=/^margin/,Ye=new RegExp("^("+_e+")(?!px)[a-z%]+$","i"),$e=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):n.getComputedStyle(e,null)};!function(){function e(){i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",i.innerHTML="",a.appendChild(o);var e=n.getComputedStyle(i,null);t="1%"!==e.top,r="4px"===e.width,a.removeChild(o)}var t,r,a=te.documentElement,o=te.createElement("div"),i=te.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",ee.clearCloneStyle="content-box"===i.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(i),n.getComputedStyle&&re.extend(ee,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==r&&e(),r},reliableMarginRight:function(){var e,t=i.appendChild(te.createElement("div"));return t.style.cssText=i.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",i.style.width="1px",a.appendChild(o),e=!parseFloat(n.getComputedStyle(t,null).marginRight),a.removeChild(o),i.removeChild(t),e}}))}(),re.swap=function(e,t,n,r){var a,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];a=n.apply(e,r||[]);for(o in t)e.style[o]=i[o];return a};var ze=/^(none|table(?!-c[ea]).+)/,Xe=new RegExp("^("+_e+")(.*)$","i"),Ke=new RegExp("^([+-])=("+_e+")","i"),Je={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"},Qe=["Webkit","O","Moz","ms"];re.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=_(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o,i,s=re.camelCase(t),l=e.style;return t=re.cssProps[s]||(re.cssProps[s]=R(l,s)),i=re.cssHooks[t]||re.cssHooks[s],void 0===n?i&&"get"in i&&void 0!==(a=i.get(e,!1,r))?a:l[t]:(o=typeof n,"string"===o&&(a=Ke.exec(n))&&(n=(a[1]+1)*a[2]+parseFloat(re.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||re.cssNumber[s]||(n+="px"),ee.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,r))||(l[t]=n)),void 0)}},css:function(e,t,n,r){var a,o,i,s=re.camelCase(t);return t=re.cssProps[s]||(re.cssProps[s]=R(e.style,s)),i=re.cssHooks[t]||re.cssHooks[s],i&&"get"in i&&(a=i.get(e,!0,n)),void 0===a&&(a=_(e,t,r)),"normal"===a&&t in Ze&&(a=Ze[t]),""===n||n?(o=parseFloat(a),n===!0||re.isNumeric(o)?o||0:a):a}}),re.each(["height","width"],function(e,t){re.cssHooks[t]={get:function(e,n,r){return n?ze.test(re.css(e,"display"))&&0===e.offsetWidth?re.swap(e,Je,function(){return N(e,t,r)}):N(e,t,r):void 0},set:function(e,n,r){var a=r&&$e(e);return k(e,n,r?S(e,t,r,"border-box"===re.css(e,"boxSizing",!1,a),a):0)}}}),re.cssHooks.marginRight=T(ee.reliableMarginRight,function(e,t){return t?re.swap(e,{display:"inline-block"},_,[e,"marginRight"]):void 0}),re.each({margin:"",padding:"",border:"Width"},function(e,t){re.cssHooks[e+t]={expand:function(n){for(var r=0,a={},o="string"==typeof n?n.split(" "):[n];4>r;r++)a[e+Te[r]+t]=o[r]||o[r-2]||o[0];return a}},Ge.test(e)||(re.cssHooks[e+t].set=k)}),re.fn.extend({css:function(e,t){return xe(this,function(e,t,n){var r,a,o={},i=0;if(re.isArray(t)){for(r=$e(e),a=t.length;a>i;i++)o[t[i]]=re.css(e,t[i],!1,r);return o}return void 0!==n?re.style(e,t,n):re.css(e,t)},e,t,arguments.length>1)},show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Re(this)?re(this).show():re(this).hide()})}}),re.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,a,o){this.elem=e,this.prop=n,this.easing=a||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(re.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=re.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=re.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){re.fx.step[e.prop]?re.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[re.cssProps[e.prop]]||re.cssHooks[e.prop])?re.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},re.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},re.fx=I.prototype.init,re.fx.step={};var et,tt,nt=/^(?:toggle|show|hide)$/,rt=new RegExp("^(?:([+-])=|)("+_e+")([a-z%]*)$","i"),at=/queueHooks$/,ot=[M],it={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),a=rt.exec(t),o=a&&a[3]||(re.cssNumber[e]?"":"px"),i=(re.cssNumber[e]||"px"!==o&&+r)&&rt.exec(re.css(n.elem,e)),s=1,l=20;if(i&&i[3]!==o){o=o||i[3],a=a||[],i=+r||1;do s=s||".5",i/=s,re.style(n.elem,e,i+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return a&&(i=n.start=+i||+r||0,n.unit=o,n.end=a[1]?i+(a[1]+1)*a[2]:+a[2]),n}]};re.Animation=re.extend(H,{tweener:function(e,t){re.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,a=e.length;a>r;r++)n=e[r],it[n]=it[n]||[],it[n].unshift(t)},prefilter:function(e,t){t?ot.unshift(e):ot.push(e)}}),re.speed=function(e,t,n){var r=e&&"object"==typeof e?re.extend({},e):{complete:n||!n&&t||re.isFunction(e)&&e,duration:e,easing:n&&t||t&&!re.isFunction(t)&&t};return r.duration=re.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in re.fx.speeds?re.fx.speeds[r.duration]:re.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){re.isFunction(r.old)&&r.old.call(this),r.queue&&re.dequeue(this,r.queue)},r},re.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var a=re.isEmptyObject(e),o=re.speed(t,n,r),i=function(){var t=H(this,re.extend({},e),o);(a||we.get(this,"finish"))&&t.stop(!0)};return i.finish=i,a||o.queue===!1?this.each(i):this.queue(o.queue,i)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,a=null!=e&&e+"queueHooks",o=re.timers,i=we.get(this);if(a)i[a]&&i[a].stop&&r(i[a]);else for(a in i)i[a]&&i[a].stop&&at.test(a)&&r(i[a]);for(a=o.length;a--;)o[a].elem!==this||null!=e&&o[a].queue!==e||(o[a].anim.stop(n),t=!1,o.splice(a,1));(t||!n)&&re.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=we.get(this),r=n[e+"queue"],a=n[e+"queueHooks"],o=re.timers,i=r?r.length:0;for(n.finish=!0,re.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;i>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),re.each(["toggle","show","hide"],function(e,t){var n=re.fn[t];re.fn[t]=function(e,r,a){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,r,a)}}),re.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){re.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),re.timers=[],re.fx.tick=function(){var e,t=0,n=re.timers;for(et=re.now();t1)},removeAttr:function(e){return this.each(function(){re.removeAttr(this,e)})}}),re.extend({attr:function(e,t,n){var r,a,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Se?re.prop(e,t,n):(1===o&&re.isXMLDoc(e)||(t=t.toLowerCase(),r=re.attrHooks[t]||(re.expr.match.bool.test(t)?lt:st)),void 0===n?r&&"get"in r&&null!==(a=r.get(e,t))?a:(a=re.find.attr(e,t),null==a?void 0:a):null!==n?r&&"set"in r&&void 0!==(a=r.set(e,n,t))?a:(e.setAttribute(t,n+""),n):void re.removeAttr(e,t))},removeAttr:function(e,t){var n,r,a=0,o=t&&t.match(be);if(o&&1===e.nodeType)for(;n=o[a++];)r=re.propFix[n]||n,re.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!ee.radioValue&&"radio"===t&&re.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),lt={set:function(e,t,n){return t===!1?re.removeAttr(e,n):e.setAttribute(n,n),n}},re.each(re.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ut[t]||re.find.attr;ut[t]=function(e,t,r){var a,o;return r||(o=ut[t],ut[t]=a,a=null!=n(e,t,r)?t.toLowerCase():null,ut[t]=o),a}});var ct=/^(?:input|select|textarea|button)$/i;re.fn.extend({prop:function(e,t){return xe(this,re.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[re.propFix[e]||e]})}}),re.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,a,o,i=e.nodeType;if(e&&3!==i&&8!==i&&2!==i)return o=1!==i||!re.isXMLDoc(e),o&&(t=re.propFix[t]||t,a=re.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||ct.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),ee.optSelected||(re.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),re.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){re.propFix[this.toLowerCase()]=this});var pt=/[\t\r\n\f]/g;re.fn.extend({addClass:function(e){var t,n,r,a,o,i,s="string"==typeof e&&e,l=0,u=this.length;if(re.isFunction(e))return this.each(function(t){re(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(be)||[];u>l;l++)if(n=this[l],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(pt," "):" ")){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i=re.trim(r),n.className!==i&&(n.className=i)}return this},removeClass:function(e){var t,n,r,a,o,i,s=0===arguments.length||"string"==typeof e&&e,l=0,u=this.length;if(re.isFunction(e))return this.each(function(t){re(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(be)||[];u>l;l++)if(n=this[l],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(pt," "):"")){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>=0;)r=r.replace(" "+a+" "," ");i=e?re.trim(r):"",n.className!==i&&(n.className=i)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):re.isFunction(e)?this.each(function(n){re(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,a=re(this),o=e.match(be)||[];t=o[r++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else(n===Se||"boolean"===n)&&(this.className&&we.set(this,"__className__",this.className),this.className=this.className||e===!1?"":we.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(pt," ").indexOf(t)>=0)return!0;return!1}});var dt=/\r/g;re.fn.extend({val:function(e){var t,n,r,a=this[0];{if(arguments.length)return r=re.isFunction(e),this.each(function(n){var a;1===this.nodeType&&(a=r?e.call(this,n,re(this).val()):e,null==a?a="":"number"==typeof a?a+="":re.isArray(a)&&(a=re.map(a,function(e){return null==e?"":e+""})),t=re.valHooks[this.type]||re.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))});if(a)return t=re.valHooks[a.type]||re.valHooks[a.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:(n=a.value,"string"==typeof n?n.replace(dt,""):null==n?"":n)}}}),re.extend({valHooks:{option:{get:function(e){var t=re.find.attr(e,"value");return null!=t?t:re.trim(re.text(e))}},select:{get:function(e){for(var t,n,r=e.options,a=e.selectedIndex,o="select-one"===e.type||0>a,i=o?null:[],s=o?a+1:r.length,l=0>a?s:o?a:0;s>l;l++)if(n=r[l],(n.selected||l===a)&&(ee.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!re.nodeName(n.parentNode,"optgroup"))){if(t=re(n).val(),o)return t;i.push(t)}return i},set:function(e,t){for(var n,r,a=e.options,o=re.makeArray(t),i=a.length;i--;)r=a[i],(r.selected=re.inArray(r.value,o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),re.each(["radio","checkbox"],function(){re.valHooks[this]={set:function(e,t){return re.isArray(t)?e.checked=re.inArray(re(e).val(),t)>=0:void 0}},ee.checkOn||(re.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),re.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){re.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),re.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var ft=re.now(),ht=/\?/;re.parseJSON=function(e){return JSON.parse(e+"")},re.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&re.error("Invalid XML: "+e),t};var gt=/#.*$/,mt=/([?&])_=[^&]*/,bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yt=/^(?:GET|HEAD)$/,xt=/^\/\//,wt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,At={},Et={},Ct="*/".concat("*"),_t=n.location.href,Tt=wt.exec(_t.toLowerCase())||[];re.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t,type:"GET",isLocal:vt.test(Tt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ct,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":re.parseJSON,"text xml":re.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?B(B(e,re.ajaxSettings),t):B(re.ajaxSettings,e)},ajaxPrefilter:q(At),ajaxTransport:q(Et),ajax:function(e,t){function n(e,t,n,i){var l,c,b,v,x,A=t;2!==y&&(y=2,s&&clearTimeout(s),r=void 0,o=i||"",w.readyState=e>0?4:0,l=e>=200&&300>e||304===e,n&&(v=U(p,w,n)),v=W(p,v,w,l),l?(p.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(re.lastModified[a]=x),x=w.getResponseHeader("etag"),x&&(re.etag[a]=x)),204===e||"HEAD"===p.type?A="nocontent":304===e?A="notmodified":(A=v.state,c=v.data,b=v.error,l=!b)):(b=A,(e||!A)&&(A="error",0>e&&(e=0))),w.status=e,w.statusText=(t||A)+"",l?h.resolveWith(d,[c,A,w]):h.rejectWith(d,[w,A,b]),w.statusCode(m),m=void 0,u&&f.trigger(l?"ajaxSuccess":"ajaxError",[w,p,l?c:b]),g.fireWith(d,[w,A]),u&&(f.trigger("ajaxComplete",[w,p]),--re.active||re.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,a,o,i,s,l,u,c,p=re.ajaxSetup({},t),d=p.context||p,f=p.context&&(d.nodeType||d.jquery)?re(d):re.event,h=re.Deferred(),g=re.Callbacks("once memory"),m=p.statusCode||{},b={},v={},y=0,x="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!i)for(i={};t=bt.exec(o);)i[t[1].toLowerCase()]=t[2];t=i[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return y||(e=v[n]=v[n]||e,b[e]=t),this},overrideMimeType:function(e){return y||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>y)for(t in e)m[t]=[m[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||x;return r&&r.abort(t),n(0,t),this}};if(h.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,p.url=((e||p.url||_t)+"").replace(gt,"").replace(xt,Tt[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=re.trim(p.dataType||"*").toLowerCase().match(be)||[""],null==p.crossDomain&&(l=wt.exec(p.url.toLowerCase()),p.crossDomain=!(!l||l[1]===Tt[1]&&l[2]===Tt[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(Tt[3]||("http:"===Tt[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=re.param(p.data,p.traditional)),F(At,p,t,w),2===y)return w;u=re.event&&p.global,u&&0===re.active++&&re.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!yt.test(p.type),a=p.url,p.hasContent||(p.data&&(a=p.url+=(ht.test(a)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=mt.test(a)?a.replace(mt,"$1_="+ft++):a+(ht.test(a)?"&":"?")+"_="+ft++)),p.ifModified&&(re.lastModified[a]&&w.setRequestHeader("If-Modified-Since",re.lastModified[a]),re.etag[a]&&w.setRequestHeader("If-None-Match",re.etag[a])),(p.data&&p.hasContent&&p.contentType!==!1||t.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ct+"; q=0.01":""):p.accepts["*"]);for(c in p.headers)w.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(p.beforeSend.call(d,w,p)===!1||2===y))return w.abort();x="abort";for(c in{success:1,error:1,complete:1})w[c](p[c]);if(r=F(Et,p,t,w)){w.readyState=1,u&&f.trigger("ajaxSend",[w,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){w.abort("timeout")},p.timeout));try{y=1,r.send(b,n)}catch(A){if(!(2>y))throw A;n(-1,A)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return re.get(e,t,n,"json")},getScript:function(e,t){return re.get(e,void 0,t,"script")}}),re.each(["get","post"],function(e,t){re[t]=function(e,n,r,a){return re.isFunction(n)&&(a=a||r,r=n,n=void 0),re.ajax({url:e,type:t,dataType:a,data:n,success:r})}}),re._evalUrl=function(e){return re.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},re.fn.extend({wrapAll:function(e){var t;return re.isFunction(e)?this.each(function(t){re(this).wrapAll(e.call(this,t))}):(this[0]&&(t=re(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return re.isFunction(e)?this.each(function(t){re(this).wrapInner(e.call(this,t))}):this.each(function(){var t=re(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=re.isFunction(e);return this.each(function(n){re(this).wrapAll(t?e.call(this,n):e); -})},unwrap:function(){return this.parent().each(function(){re.nodeName(this,"body")||re(this).replaceWith(this.childNodes)}).end()}}),re.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},re.expr.filters.visible=function(e){return!re.expr.filters.hidden(e)};var Rt=/%20/g,kt=/\[\]$/,St=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;re.param=function(e,t){var n,r=[],a=function(e,t){t=re.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=re.ajaxSettings&&re.ajaxSettings.traditional),re.isArray(e)||e.jquery&&!re.isPlainObject(e))re.each(e,function(){a(this.name,this.value)});else for(n in e)V(n,e[n],t,a);return r.join("&").replace(Rt,"+")},re.fn.extend({serialize:function(){return re.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=re.prop(this,"elements");return e?re.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!re(this).is(":disabled")&&Ot.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!ke.test(e))}).map(function(e,t){var n=re(this).val();return null==n?null:re.isArray(n)?re.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),re.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var It=0,Lt={},Pt={0:200,1223:204},Dt=re.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in Lt)Lt[e]()}),ee.cors=!!Dt&&"withCredentials"in Dt,ee.ajax=Dt=!!Dt,re.ajaxTransport(function(e){var t;return ee.cors||Dt&&!e.crossDomain?{send:function(n,r){var a,o=e.xhr(),i=++It;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(a in n)o.setRequestHeader(a,n[a]);t=function(e){return function(){t&&(delete Lt[i],t=o.onload=o.onerror=null,"abort"===e?o.abort():"error"===e?r(o.status,o.statusText):r(Pt[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=t(),o.onerror=t("error"),t=Lt[i]=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}:void 0}),re.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return re.globalEval(e),e}}}),re.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),re.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,a){t=re("