diff --git a/build/tota11y.js b/build/tota11y.js index 306ca858..e024b163 100644 --- a/build/tota11y.js +++ b/build/tota11y.js @@ -9,7 +9,7 @@ * Released under the MIT license * http://github.com/Khan/tota11y/blob/master/LICENSE.txt * - * Date: 2017-07-03 + * Date: 2019-03-09 * */ /******/ (function(modules) { // webpackBootstrap @@ -11366,7 +11366,7 @@ \********************************************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../../../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"1":function(depth0,helpers,partials,data) { return "
\n (?)\n
\n"; @@ -11403,44 +11403,46 @@ 'use strict'; - var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }; - exports.__esModule = true; - var _import = __webpack_require__(/*! ./handlebars/base */ 17); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } } - var base = _interopRequireWildcard(_import); + var _handlebarsBase = __webpack_require__(/*! ./handlebars/base */ 17); + + var base = _interopRequireWildcard(_handlebarsBase); // Each of these augment the Handlebars object. No need to setup here. // (This is done to easily share code between commonjs and browse envs) - var _SafeString = __webpack_require__(/*! ./handlebars/safe-string */ 20); + var _handlebarsSafeString = __webpack_require__(/*! ./handlebars/safe-string */ 20); - var _SafeString2 = _interopRequireWildcard(_SafeString); + var _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString); - var _Exception = __webpack_require__(/*! ./handlebars/exception */ 19); + var _handlebarsException = __webpack_require__(/*! ./handlebars/exception */ 19); - var _Exception2 = _interopRequireWildcard(_Exception); + var _handlebarsException2 = _interopRequireDefault(_handlebarsException); - var _import2 = __webpack_require__(/*! ./handlebars/utils */ 18); + var _handlebarsUtils = __webpack_require__(/*! ./handlebars/utils */ 18); - var Utils = _interopRequireWildcard(_import2); + var Utils = _interopRequireWildcard(_handlebarsUtils); - var _import3 = __webpack_require__(/*! ./handlebars/runtime */ 21); + var _handlebarsRuntime = __webpack_require__(/*! ./handlebars/runtime */ 21); - var runtime = _interopRequireWildcard(_import3); + var runtime = _interopRequireWildcard(_handlebarsRuntime); - var _noConflict = __webpack_require__(/*! ./handlebars/no-conflict */ 22); + var _handlebarsNoConflict = __webpack_require__(/*! ./handlebars/no-conflict */ 22); - var _noConflict2 = _interopRequireWildcard(_noConflict); + var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict); // For compatibility and usage outside of module systems, make the Handlebars object a namespace function create() { var hb = new base.HandlebarsEnvironment(); Utils.extend(hb, base); - hb.SafeString = _SafeString2['default']; - hb.Exception = _Exception2['default']; + hb.SafeString = _handlebarsSafeString2['default']; + hb.Exception = _handlebarsException2['default']; hb.Utils = Utils; hb.escapeExpression = Utils.escapeExpression; @@ -11455,13 +11457,14 @@ var inst = create(); inst.create = create; - _noConflict2['default'](inst); + _handlebarsNoConflict2['default'](inst); inst['default'] = inst; exports['default'] = inst; module.exports = exports['default']; + /***/ }), /* 17 */ /*!**************************************************!*\ @@ -11471,19 +11474,21 @@ 'use strict'; - var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }; - exports.__esModule = true; exports.HandlebarsEnvironment = HandlebarsEnvironment; exports.createFrame = createFrame; - var _import = __webpack_require__(/*! ./utils */ 18); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } } - var Utils = _interopRequireWildcard(_import); + var _utils = __webpack_require__(/*! ./utils */ 18); - var _Exception = __webpack_require__(/*! ./exception */ 19); + var Utils = _interopRequireWildcard(_utils); - var _Exception2 = _interopRequireWildcard(_Exception); + var _exception = __webpack_require__(/*! ./exception */ 19); + + var _exception2 = _interopRequireDefault(_exception); var VERSION = '3.0.1'; exports.VERSION = VERSION; @@ -11521,7 +11526,7 @@ registerHelper: function registerHelper(name, fn) { if (toString.call(name) === objectType) { if (fn) { - throw new _Exception2['default']('Arg not supported with multiple helpers'); + throw new _exception2['default']('Arg not supported with multiple helpers'); } Utils.extend(this.helpers, name); } else { @@ -11537,7 +11542,7 @@ Utils.extend(this.partials, name); } else { if (typeof partial === 'undefined') { - throw new _Exception2['default']('Attempting to register a partial as undefined'); + throw new _exception2['default']('Attempting to register a partial as undefined'); } this.partials[name] = partial; } @@ -11548,13 +11553,13 @@ }; function registerDefaultHelpers(instance) { - instance.registerHelper('helperMissing', function () { + instance.registerHelper('helperMissing', function () /* [args, ]options */{ if (arguments.length === 1) { // A missing field in a {{foo}} constuct. return undefined; } else { // Someone is actually trying to call something, blow up. - throw new _Exception2['default']('Missing helper: "' + arguments[arguments.length - 1].name + '"'); + throw new _exception2['default']('Missing helper: "' + arguments[arguments.length - 1].name + '"'); } }); @@ -11589,7 +11594,7 @@ instance.registerHelper('each', function (context, options) { if (!options) { - throw new _Exception2['default']('Must pass iterator to #each'); + throw new _exception2['default']('Must pass iterator to #each'); } var fn = options.fn, @@ -11741,7 +11746,6 @@ return frame; } - /* [args, ]options */ /***/ }), /* 18 */ @@ -11754,8 +11758,6 @@ exports.__esModule = true; exports.extend = extend; - - // Older IE versions do not directly support indexOf so we must implement our own, sadly. exports.indexOf = indexOf; exports.escapeExpression = escapeExpression; exports.isEmpty = isEmpty; @@ -11766,8 +11768,10 @@ '<': '<', '>': '>', '"': '"', - '\'': ''', + "'": ''', '`': '`' + // The "equals-sign" is intentionally excluded from this list + // due to semantic-versioning issues (see #1489) }; var badChars = /[&<>"'`]/g, @@ -11812,7 +11816,10 @@ /* istanbul ignore next */ var isArray = Array.isArray || function (value) { return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false; - };exports.isArray = isArray; + }; + + exports.isArray = isArray; + // Older IE versions do not directly support indexOf so we must implement our own, sadly. function indexOf(array, value) { for (var i = 0, len = array.length; i < len; i++) { @@ -11865,6 +11872,7 @@ return (contextPath ? contextPath + '.' : '') + id; } + /***/ }), /* 19 */ /*!*******************************************************!*\ @@ -11896,13 +11904,28 @@ this[errorProps[idx]] = tmp[errorProps[idx]]; } + /* istanbul ignore else */ if (Error.captureStackTrace) { Error.captureStackTrace(this, Exception); } - if (loc) { - this.lineNumber = line; - this.column = column; + try { + if (loc) { + this.lineNumber = line; + + // Work around issue under safari where we can't directly set the column value + /* istanbul ignore next */ + if (Object.defineProperty) { + Object.defineProperty(this, 'column', { + value: column, + enumerable: true + }); + } else { + this.column = column; + } + } + } catch (nop) { + /* Ignore if the browser is very particular */ } } @@ -11911,6 +11934,7 @@ exports['default'] = Exception; module.exports = exports['default']; + /***/ }), /* 20 */ /*!*********************************************************!*\ @@ -11918,10 +11942,10 @@ \*********************************************************/ /***/ (function(module, exports) { + // Build out our basic SafeString type 'use strict'; exports.__esModule = true; - // Build out our basic SafeString type function SafeString(string) { this.string = string; } @@ -11933,6 +11957,7 @@ exports['default'] = SafeString; module.exports = exports['default']; + /***/ }), /* 21 */ /*!*****************************************************!*\ @@ -11942,41 +11967,40 @@ 'use strict'; - var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }; - exports.__esModule = true; exports.checkRevision = checkRevision; - - // TODO: Remove this line and break up compilePartial - exports.template = template; exports.wrapProgram = wrapProgram; exports.resolvePartial = resolvePartial; exports.invokePartial = invokePartial; exports.noop = noop; - var _import = __webpack_require__(/*! ./utils */ 18); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } } + + var _utils = __webpack_require__(/*! ./utils */ 18); - var Utils = _interopRequireWildcard(_import); + var Utils = _interopRequireWildcard(_utils); - var _Exception = __webpack_require__(/*! ./exception */ 19); + var _exception = __webpack_require__(/*! ./exception */ 19); - var _Exception2 = _interopRequireWildcard(_Exception); + var _exception2 = _interopRequireDefault(_exception); - var _COMPILER_REVISION$REVISION_CHANGES$createFrame = __webpack_require__(/*! ./base */ 17); + var _base = __webpack_require__(/*! ./base */ 17); function checkRevision(compilerInfo) { var compilerRevision = compilerInfo && compilerInfo[0] || 1, - currentRevision = _COMPILER_REVISION$REVISION_CHANGES$createFrame.COMPILER_REVISION; + currentRevision = _base.COMPILER_REVISION; if (compilerRevision !== currentRevision) { if (compilerRevision < currentRevision) { - var runtimeVersions = _COMPILER_REVISION$REVISION_CHANGES$createFrame.REVISION_CHANGES[currentRevision], - compilerVersions = _COMPILER_REVISION$REVISION_CHANGES$createFrame.REVISION_CHANGES[compilerRevision]; - throw new _Exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').'); + var runtimeVersions = _base.REVISION_CHANGES[currentRevision], + compilerVersions = _base.REVISION_CHANGES[compilerRevision]; + throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').'); } else { // Use the embedded version info since the runtime doesn't know about this revision yet - throw new _Exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').'); + throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').'); } } } @@ -11984,10 +12008,10 @@ function template(templateSpec, env) { /* istanbul ignore next */ if (!env) { - throw new _Exception2['default']('No environment passed to template'); + throw new _exception2['default']('No environment passed to template'); } if (!templateSpec || !templateSpec.main) { - throw new _Exception2['default']('Unknown template object: ' + typeof templateSpec); + throw new _exception2['default']('Unknown template object: ' + typeof templateSpec); } // Note: Using env.VM references rather than local var references throughout this section to allow @@ -12020,7 +12044,7 @@ } return result; } else { - throw new _Exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode'); + throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode'); } } @@ -12028,7 +12052,7 @@ var container = { strict: function strict(obj, name) { if (!(name in obj)) { - throw new _Exception2['default']('"' + name + '" not defined in ' + obj); + throw new _exception2['default']('"' + name + '" not defined in ' + obj); } return obj[name]; }, @@ -12084,7 +12108,7 @@ }; function ret(context) { - var options = arguments[1] === undefined ? {} : arguments[1]; + var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; var data = options.data; @@ -12117,10 +12141,10 @@ ret._child = function (i, data, blockParams, depths) { if (templateSpec.useBlockParams && !blockParams) { - throw new _Exception2['default']('must pass block params'); + throw new _exception2['default']('must pass block params'); } if (templateSpec.useDepths && !depths) { - throw new _Exception2['default']('must pass parent depths'); + throw new _exception2['default']('must pass parent depths'); } return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths); @@ -12130,7 +12154,7 @@ function wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) { function prog(context) { - var options = arguments[1] === undefined ? {} : arguments[1]; + var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; return fn.call(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), depths && [context].concat(depths)); } @@ -12155,7 +12179,7 @@ options.partial = true; if (partial === undefined) { - throw new _Exception2['default']('The partial ' + options.name + ' could not be found'); + throw new _exception2['default']('The partial ' + options.name + ' could not be found'); } else if (partial instanceof Function) { return partial(context, options); } @@ -12167,12 +12191,13 @@ function initData(context, data) { if (!data || !('root' in data)) { - data = data ? _COMPILER_REVISION$REVISION_CHANGES$createFrame.createFrame(data) : {}; + data = data ? _base.createFrame(data) : {}; data.root = context; } return data; } + /***/ }), /* 22 */ /*!*********************************************************!*\ @@ -12180,10 +12205,10 @@ \*********************************************************/ /***/ (function(module, exports) { - /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + /* WEBPACK VAR INJECTION */(function(global) {/*global window */ + 'use strict'; exports.__esModule = true; - /*global window */ exports['default'] = function (Handlebars) { /* istanbul ignore next */ @@ -12198,6 +12223,7 @@ }; module.exports = exports['default']; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), @@ -12243,7 +12269,7 @@ \****************************************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../../../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var stack1, helper; @@ -12287,7 +12313,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: #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: 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 -webkit-box-flex: 1 !important;\n flex-grow: 1 !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 transform-origin: 3px 8px !important;\n transition: -webkit-transform ease-in-out 50ms !important;\n transition: transform ease-in-out 50ms !important;\n transition: transform ease-in-out 50ms, -webkit-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 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: 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 flex-grow: 1 !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 transform: rotateZ(90deg) !important;\n transform-origin: 3px 8px !important;\n transition: transform ease-in-out 50ms !important;\n}\n.tota11y-info-error-trigger.tota11y-collapsed .tota11y-info-error-chevron {\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 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 */ @@ -12323,7 +12349,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: #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 align-items: center !important;\n cursor: pointer !important;\n display: -webkit-box !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", ""]); + 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 align-items: center !important;\n cursor: pointer !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 */ @@ -12647,7 +12673,7 @@ \*************************************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression; @@ -12670,7 +12696,7 @@ \*******************************************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression; @@ -12923,7 +12949,7 @@ \**************************************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression; @@ -13070,7 +13096,7 @@ \**************************************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"1":function(depth0,helpers,partials,data) { return "

\n The placeholder attribute is not guaranteed to be read by\n assistive technologies. It is better to include a proper label.\n

\n"; @@ -13367,7 +13393,7 @@ $(document).on("mousemove.wand", function (e) { var element = document.elementFromPoint(e.clientX, e.clientY); - var textAlternative = axs.properties.findTextAlternatives(element, {}); + var textAlternative = axs.properties.findTextAlternatives(element, {}, true); $(".tota11y-outlined").removeClass("tota11y-outlined"); $(element).addClass("tota11y-outlined"); @@ -13440,7 +13466,7 @@ \***********************************/ /***/ (function(module, exports, __webpack_require__) { - var Handlebars = __webpack_require__(/*! ./~/handlebars/runtime.js */ 15); + var Handlebars = __webpack_require__(/*! ../~/handlebars/runtime.js */ 15); function __default(obj) { return obj && (obj.__esModule ? obj["default"] : obj); } module.exports = (Handlebars["default"] || Handlebars).template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return "\n\n \n\n"; @@ -13453,7 +13479,7 @@ \**********************************************************************************/ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(/*! !./~/script-loader/addScript.js */ 49)(__webpack_require__(/*! !./~/script-loader/~/raw-loader!./~/accessibility-developer-tools/dist/js/axs_testing.js */ 50)+"\n\n// SCRIPT-LOADER FOOTER\n//# sourceURL=script:///Users/lucas/workspace/tota11y/node_modules/accessibility-developer-tools/dist/js/axs_testing.js") + __webpack_require__(/*! !./~/script-loader/addScript.js */ 49)(__webpack_require__(/*! !./~/raw-loader!./~/accessibility-developer-tools/dist/js/axs_testing.js */ 50)+"\n\n// SCRIPT-LOADER FOOTER\n//# sourceURL=script:///mnt/c/Users/allenericr/Development/tota11y/node_modules/accessibility-developer-tools/dist/js/axs_testing.js") /***/ }), /* 49 */ @@ -13475,9 +13501,9 @@ /***/ }), /* 50 */ -/*!***********************************************************************************************!*\ - !*** ./~/script-loader/~/raw-loader!./~/accessibility-developer-tools/dist/js/axs_testing.js ***! - \***********************************************************************************************/ +/*!*******************************************************************************!*\ + !*** ./~/raw-loader!./~/accessibility-developer-tools/dist/js/axs_testing.js ***! + \*******************************************************************************/ /***/ (function(module, exports) { module.exports = "/*\n * Copyright 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * Generated from http://github.com/GoogleChrome/accessibility-developer-tools/tree/7d778f7da58af341a47b3a6f6457c2842b24d4d8\n *\n * See project README for build steps.\n */\n\n// AUTO-GENERATED CONTENT BELOW: DO NOT EDIT! See above for details.\n\nvar fn = (function() {\n var COMPILED = !0, goog = goog || {};\ngoog.global = this;\ngoog.isDef = function(a) {\n return void 0 !== a;\n};\ngoog.exportPath_ = function(a, b, c) {\n a = a.split(\".\");\n c = c || goog.global;\n a[0] in c || !c.execScript || c.execScript(\"var \" + a[0]);\n for (var d;a.length && (d = a.shift());) {\n !a.length && goog.isDef(b) ? c[d] = b : c = c[d] ? c[d] : c[d] = {};\n }\n};\ngoog.define = function(a, b) {\n var c = b;\n COMPILED || (goog.global.CLOSURE_UNCOMPILED_DEFINES && Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES, a) ? c = goog.global.CLOSURE_UNCOMPILED_DEFINES[a] : goog.global.CLOSURE_DEFINES && Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES, a) && (c = goog.global.CLOSURE_DEFINES[a]));\n goog.exportPath_(a, c);\n};\ngoog.DEBUG = !0;\ngoog.LOCALE = \"en\";\ngoog.TRUSTED_SITE = !0;\ngoog.STRICT_MODE_COMPATIBLE = !1;\ngoog.DISALLOW_TEST_ONLY_CODE = COMPILED && !goog.DEBUG;\ngoog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING = !1;\ngoog.provide = function(a) {\n if (goog.isInModuleLoader_()) {\n throw Error(\"goog.provide can not be used within a goog.module.\");\n }\n if (!COMPILED && goog.isProvided_(a)) {\n throw Error('Namespace \"' + a + '\" already declared.');\n }\n goog.constructNamespace_(a);\n};\ngoog.constructNamespace_ = function(a, b) {\n if (!COMPILED) {\n delete goog.implicitNamespaces_[a];\n for (var c = a;(c = c.substring(0, c.lastIndexOf(\".\"))) && !goog.getObjectByName(c);) {\n goog.implicitNamespaces_[c] = !0;\n }\n }\n goog.exportPath_(a, b);\n};\ngoog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/;\ngoog.module = function(a) {\n if (!goog.isString(a) || !a || -1 == a.search(goog.VALID_MODULE_RE_)) {\n throw Error(\"Invalid module identifier\");\n }\n if (!goog.isInModuleLoader_()) {\n throw Error(\"Module \" + a + \" has been loaded incorrectly.\");\n }\n if (goog.moduleLoaderState_.moduleName) {\n throw Error(\"goog.module may only be called once per module.\");\n }\n goog.moduleLoaderState_.moduleName = a;\n if (!COMPILED) {\n if (goog.isProvided_(a)) {\n throw Error('Namespace \"' + a + '\" already declared.');\n }\n delete goog.implicitNamespaces_[a];\n }\n};\ngoog.module.get = function(a) {\n return goog.module.getInternal_(a);\n};\ngoog.module.getInternal_ = function(a) {\n if (!COMPILED) {\n return goog.isProvided_(a) ? a in goog.loadedModules_ ? goog.loadedModules_[a] : goog.getObjectByName(a) : null;\n }\n};\ngoog.moduleLoaderState_ = null;\ngoog.isInModuleLoader_ = function() {\n return null != goog.moduleLoaderState_;\n};\ngoog.module.declareLegacyNamespace = function() {\n if (!COMPILED && !goog.isInModuleLoader_()) {\n throw Error(\"goog.module.declareLegacyNamespace must be called from within a goog.module\");\n }\n if (!COMPILED && !goog.moduleLoaderState_.moduleName) {\n throw Error(\"goog.module must be called prior to goog.module.declareLegacyNamespace.\");\n }\n goog.moduleLoaderState_.declareLegacyNamespace = !0;\n};\ngoog.setTestOnly = function(a) {\n if (goog.DISALLOW_TEST_ONLY_CODE) {\n throw a = a || \"\", Error(\"Importing test-only code into non-debug environment\" + (a ? \": \" + a : \".\"));\n }\n};\ngoog.forwardDeclare = function(a) {\n};\nCOMPILED || (goog.isProvided_ = function(a) {\n return a in goog.loadedModules_ || !goog.implicitNamespaces_[a] && goog.isDefAndNotNull(goog.getObjectByName(a));\n}, goog.implicitNamespaces_ = {\"goog.module\":!0});\ngoog.getObjectByName = function(a, b) {\n for (var c = a.split(\".\"), d = b || goog.global, e;e = c.shift();) {\n if (goog.isDefAndNotNull(d[e])) {\n d = d[e];\n } else {\n return null;\n }\n }\n return d;\n};\ngoog.globalize = function(a, b) {\n var c = b || goog.global, d;\n for (d in a) {\n c[d] = a[d];\n }\n};\ngoog.addDependency = function(a, b, c, d) {\n if (goog.DEPENDENCIES_ENABLED) {\n var e;\n a = a.replace(/\\\\/g, \"/\");\n var f = goog.dependencies_;\n d && \"boolean\" !== typeof d || (d = d ? {module:\"goog\"} : {});\n for (var g = 0;e = b[g];g++) {\n f.nameToPath[e] = a, f.loadFlags[a] = d;\n }\n for (d = 0;b = c[d];d++) {\n a in f.requires || (f.requires[a] = {}), f.requires[a][b] = !0;\n }\n }\n};\ngoog.ENABLE_DEBUG_LOADER = !0;\ngoog.logToConsole_ = function(a) {\n goog.global.console && goog.global.console.error(a);\n};\ngoog.require = function(a) {\n if (!COMPILED) {\n goog.ENABLE_DEBUG_LOADER && goog.IS_OLD_IE_ && goog.maybeProcessDeferredDep_(a);\n if (goog.isProvided_(a)) {\n return goog.isInModuleLoader_() ? goog.module.getInternal_(a) : null;\n }\n if (goog.ENABLE_DEBUG_LOADER) {\n var b = goog.getPathFromDeps_(a);\n if (b) {\n return goog.writeScripts_(b), null;\n }\n }\n a = \"goog.require could not find: \" + a;\n goog.logToConsole_(a);\n throw Error(a);\n }\n};\ngoog.basePath = \"\";\ngoog.nullFunction = function() {\n};\ngoog.abstractMethod = function() {\n throw Error(\"unimplemented abstract method\");\n};\ngoog.addSingletonGetter = function(a) {\n a.getInstance = function() {\n if (a.instance_) {\n return a.instance_;\n }\n goog.DEBUG && (goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = a);\n return a.instance_ = new a;\n };\n};\ngoog.instantiatedSingletons_ = [];\ngoog.LOAD_MODULE_USING_EVAL = !0;\ngoog.SEAL_MODULE_EXPORTS = goog.DEBUG;\ngoog.loadedModules_ = {};\ngoog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER;\ngoog.ALWAYS_TRANSPILE = !1;\ngoog.NEVER_TRANSPILE = !1;\ngoog.DEPENDENCIES_ENABLED && (goog.dependencies_ = {loadFlags:{}, nameToPath:{}, requires:{}, visited:{}, written:{}, deferred:{}}, goog.inHtmlDocument_ = function() {\n var a = goog.global.document;\n return null != a && \"write\" in a;\n}, goog.findBasePath_ = function() {\n if (goog.isDef(goog.global.CLOSURE_BASE_PATH)) {\n goog.basePath = goog.global.CLOSURE_BASE_PATH;\n } else {\n if (goog.inHtmlDocument_()) {\n for (var a = goog.global.document.getElementsByTagName(\"SCRIPT\"), b = a.length - 1;0 <= b;--b) {\n var c = a[b].src, d = c.lastIndexOf(\"?\"), d = -1 == d ? c.length : d;\n if (\"base.js\" == c.substr(d - 7, 7)) {\n goog.basePath = c.substr(0, d - 7);\n break;\n }\n }\n }\n }\n}, goog.importScript_ = function(a, b) {\n (goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_)(a, b) && (goog.dependencies_.written[a] = !0);\n}, goog.IS_OLD_IE_ = !(goog.global.atob || !goog.global.document || !goog.global.document.all), goog.importProcessedScript_ = function(a, b, c) {\n goog.importScript_(\"\", 'goog.retrieveAndExec_(\"' + a + '\", ' + b + \", \" + c + \");\");\n}, goog.queuedModules_ = [], goog.wrapModule_ = function(a, b) {\n return goog.LOAD_MODULE_USING_EVAL && goog.isDef(goog.global.JSON) ? \"goog.loadModule(\" + goog.global.JSON.stringify(b + \"\\n//# sourceURL=\" + a + \"\\n\") + \");\" : 'goog.loadModule(function(exports) {\"use strict\";' + b + \"\\n;return exports});\\n//# sourceURL=\" + a + \"\\n\";\n}, goog.loadQueuedModules_ = function() {\n var a = goog.queuedModules_.length;\n if (0 < a) {\n var b = goog.queuedModules_;\n goog.queuedModules_ = [];\n for (var c = 0;c < a;c++) {\n goog.maybeProcessDeferredPath_(b[c]);\n }\n }\n}, goog.maybeProcessDeferredDep_ = function(a) {\n goog.isDeferredModule_(a) && goog.allDepsAreAvailable_(a) && (a = goog.getPathFromDeps_(a), goog.maybeProcessDeferredPath_(goog.basePath + a));\n}, goog.isDeferredModule_ = function(a) {\n var b = (a = goog.getPathFromDeps_(a)) && goog.dependencies_.loadFlags[a] || {};\n return a && (\"goog\" == b.module || goog.needsTranspile_(b.lang)) ? goog.basePath + a in goog.dependencies_.deferred : !1;\n}, goog.allDepsAreAvailable_ = function(a) {\n if ((a = goog.getPathFromDeps_(a)) && a in goog.dependencies_.requires) {\n for (var b in goog.dependencies_.requires[a]) {\n if (!goog.isProvided_(b) && !goog.isDeferredModule_(b)) {\n return !1;\n }\n }\n }\n return !0;\n}, goog.maybeProcessDeferredPath_ = function(a) {\n if (a in goog.dependencies_.deferred) {\n var b = goog.dependencies_.deferred[a];\n delete goog.dependencies_.deferred[a];\n goog.globalEval(b);\n }\n}, goog.loadModuleFromUrl = function(a) {\n goog.retrieveAndExec_(a, !0, !1);\n}, goog.loadModule = function(a) {\n var b = goog.moduleLoaderState_;\n try {\n goog.moduleLoaderState_ = {moduleName:void 0, declareLegacyNamespace:!1};\n var c;\n if (goog.isFunction(a)) {\n c = a.call(goog.global, {});\n } else {\n if (goog.isString(a)) {\n c = goog.loadModuleFromSource_.call(goog.global, a);\n } else {\n throw Error(\"Invalid module definition\");\n }\n }\n var d = goog.moduleLoaderState_.moduleName;\n if (!goog.isString(d) || !d) {\n throw Error('Invalid module name \"' + d + '\"');\n }\n goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(d, c) : goog.SEAL_MODULE_EXPORTS && Object.seal && Object.seal(c);\n goog.loadedModules_[d] = c;\n } finally {\n goog.moduleLoaderState_ = b;\n }\n}, goog.loadModuleFromSource_ = function(a) {\n eval(a);\n return {};\n}, goog.writeScriptSrcNode_ = function(a) {\n goog.global.document.write('