/*! For license information please see startup.bundle.0592222.js.LICENSE.txt */ !function(){var e,t,n,i,o={9669:function(e,t,n){e.exports=n(1609)},5448:function(e,t,n){"use strict";var i=n(4867),o=n(6026),r=n(4372),a=n(5327),s=n(4097),l=n(4109),c=n(7985),u=n(5061);e.exports=function(e){return new Promise((function(t,n){var d=e.data,f=e.headers,m=e.responseType;i.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(h+":"+g)}var y=s(e.baseURL,e.url);function v(){if(p){var i="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,r={data:m&&"text"!==m&&"json"!==m?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:i,config:e,request:p};o(t,n,r),p=null}}if(p.open(e.method.toUpperCase(),a(y,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=v:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(v)},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var b=(e.withCredentials||c(y))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;b&&(f[e.xsrfHeaderName]=b)}"setRequestHeader"in p&&i.forEach(f,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),m&&"json"!==m&&(p.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},1609:function(e,t,n){"use strict";var i=n(4867),o=n(1849),r=n(321),a=n(7185);function s(e){var t=new r(e),n=o(r.prototype.request,t);return i.extend(n,r.prototype,t),i.extend(n,t),n}var l=s(n(5655));l.Axios=r,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(5263),l.CancelToken=n(4972),l.isCancel=n(6502),l.all=function(e){return Promise.all(e)},l.spread=n(8713),l.isAxiosError=n(6268),e.exports=l,e.exports.default=l},5263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:function(e,t,n){"use strict";var i=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new i(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,n){"use strict";var i=n(4867),o=n(5327),r=n(782),a=n(3572),s=n(7185),l=n(4875),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new r,response:new r}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,r=[];if(this.interceptors.response.forEach((function(e){r.push(e.fulfilled,e.rejected)})),!i){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(r),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var d=e;n.length;){var f=n.shift(),m=n.shift();try{d=f(d)}catch(e){m(e);break}}try{o=a(d)}catch(e){return Promise.reject(e)}for(;r.length;)o=o.then(r.shift(),r.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(s(i||{},{method:e,url:t,data:n}))}})),e.exports=u},782:function(e,t,n){"use strict";var i=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:function(e,t,n){"use strict";var i=n(1793),o=n(7303);e.exports=function(e,t){return e&&!i(t)?o(e,t):t}},5061:function(e,t,n){"use strict";var i=n(481);e.exports=function(e,t,n,o,r){var a=new Error(e);return i(a,t,n,o,r)}},3572:function(e,t,n){"use strict";var i=n(4867),o=n(8527),r=n(6502),a=n(5655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:function(e){"use strict";e.exports=function(e,t,n,i,o){return e.config=t,n&&(e.code=n),e.request=i,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:function(e,t,n){"use strict";var i=n(4867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],r=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function c(o){i.isUndefined(t[o])?i.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(e[o],t[o])}i.forEach(o,(function(e){i.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),i.forEach(r,c),i.forEach(a,(function(o){i.isUndefined(t[o])?i.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(void 0,t[o])})),i.forEach(s,(function(i){i in t?n[i]=l(e[i],t[i]):i in e&&(n[i]=l(void 0,e[i]))}));var u=o.concat(r).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return i.forEach(d,c),n}},6026:function(e,t,n){"use strict";var i=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:function(e,t,n){"use strict";var i=n(4867),o=n(5655);e.exports=function(e,t,n){var r=this||o;return i.forEach(n,(function(n){e=n.call(r,e,t)})),e}},5655:function(e,t,n){"use strict";var i=n(4867),o=n(6016),r=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(5448)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw r(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){c.headers[e]=i.merge(a)})),e.exports=c},1849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:function(e,t,n){"use strict";var i=n(8593),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var r={},a=i.version.split(".");function s(e,t){for(var n=t?t.split("."):a,i=e.split("."),o=0;o<3;o++){if(n[o]>i[o])return!0;if(n[o]0;){var r=i[o],a=t[r];if(a){var s=e[r],l=void 0===s||a(s,r,e);if(!0!==l)throw new TypeError("option "+r+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+r)}},validators:o}},4867:function(e,t,n){"use strict";var i=n(1849),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n1&&void 0!==arguments[1]?arguments[1]:document.documentElement.lang;return new Promise((function(o,r){if(t=i.Z.normalizeISO(t),e.hasResourceBundle(t,"home"))return e.changeLanguage(t),void o("Language already loaded");var a=window.AudioEye.toolbarLanguageBundles;n(3755)("./".concat(t,".bundle.js")).then((function(n){Object.keys(a[t]).forEach((function(n){e.addResourceBundle(t,n,a[t][n][t].translation,!1,!1)})),e.changeLanguage(t),o("Language loaded")})).catch((function(e){e.message.includes("Cannot find module")?(s.debug("".concat(t," is an unsupport language")),r(e)):r(e)}))}))},i.Z.lazyLoadLanguage=function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0;return function(r){return t=Array.isArray(t)?t:[t],r=r||document.documentElement.lang||["en"],r=Array.isArray(r)?r:[r],o&&-1==r.indexOf("en")&&r.push("en"),new Promise((function(o,a){var s=[];t.forEach((function(t){r.forEach((function(o){s.push(new Promise((function(r,a){o=i.Z.normalizeISO(o),n(4635)("./".concat(t,"/").concat(o,".js")).then((function(n){e.addResourceBundle(o,t,n.default[o].translation,!1,!1),r(!0)})).catch((function(e){r(e)}))})))}))})),Promise.all(s).then((function(t){e.changeLanguage(r[0]),o(t)}))}))}(r)},i.Z.normalizeISO=function(e){var t=e.toLowerCase().split("-")[0];return a().includes(t)?t:e},t.Z=i.Z},7418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var a,s,l=o(e),c=1;c0&&void 0!==arguments[0]?arguments[0]:{};u=l(l({},u),e)}(e.options.react),function(e){c=e}(e)}}},2408:function(e,t,n){"use strict";var i=n(7418),o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,p=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nS.length&&S.push(e)}function L(e,t,n,i){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var s=!1;if(null===e)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case r:case a:s=!0}}if(s)return n(i,e,""===t?"."+P(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l{e.classList.add(this.classNameFor(t))}))}unset(e,t){i(e).forEach((e=>{e.classList.remove(this.classNameFor(t))}))}selector(e){return`.${this.classNameFor(e)}`}is(e,t){return i(e).every((e=>e.classList.contains(this.classNameFor(t))))}}class r{constructor(){this.attrValue=""}attrFor(e){return"data-audioeye-"+e}set(e,t){i(e).forEach((e=>e.setAttribute(this.attrFor(t),"")))}unset(e,t){i(e).forEach((e=>e.removeAttribute(this.attrFor(t))))}selector(e){return`[${this.attrFor(e)}='']`}is(e,t){return i(e).every((e=>e.hasAttribute(this.attrFor(t))))}}t.ZP=new class{constructor(){this.backingInstance=new r}init(e=n.Two){this.backingInstance=e==n.One?new o:new r}set(e,t){this.backingInstance.set(e,t)}unset(e,t){this.backingInstance.unset(e,t)}selector(e){return this.backingInstance.selector(e)}is(e,t){return this.backingInstance.is(e,t)}}},3509:function(e,t,n){"use strict";n.d(t,{rb:function(){return l}});const i=new URL(window.location).searchParams.get("__ae_debug_scan");let o,r,a="off";if(null!=window.__audioEyeContext&&null!=window.__audioEyeContext.gates&&!0===window.__audioEyeContext.gates.tango_released?a="released":null!=window.__audioEyeContext&&null!=window.__audioEyeContext.gates&&!0===window.__audioEyeContext.gates.tango_prerelease&&(a="prerelease"),null!=window.__audioEyeContext&&null!=window.__audioEyeContext.scannerChoice)o=window.__audioEyeContext.scannerChoice;else if("both"===i||"tango_engine"===i||"live_scanner"===i)o=i;else if("1"===i||!0===AudioEye.productConfig.compliance.service){const e=null!=AudioEye.productConfig["live-monitoring"]&&null!=AudioEye.productConfig["live-monitoring"].limit?parseFloat(AudioEye.productConfig["live-monitoring"].limit):1,t="1"===i?1:e,n=Math.random();AudioEye.samplingRate=t,o=function(e,t,n){switch(e){case"released":return t>n?"tango_engine":"none";case"prerelease":return t>.5?2*t-1>n?"both":t>n?"live_scanner":"tango_engine":t>n?"live_scanner":2*t>n?"tango_engine":"none";default:return t>n?"live_scanner":"none"}}(a,t,n),r=function(e,t){return e>.5?2*e-1>t?"both":e>t?"release":"shadow":e>t?"release":2*e>t?"shadow":void 0}(t,n)}const s={smartRems:()=>!0===AudioEye.productConfig.compliance.service&&(!0===AudioEye.productConfig.compliance["auto-remediations"]||!0===AudioEye.productConfig.compliance["smart-remediations"]),tangoEngine:()=>null!=window.__audioEyeContext&&("tango_engine"===o||"both"===o),liveScanner:()=>"none"!==o};function l(e){return"both"===o||o===e}t.ZP=e=>!(!s[e]||"function"!=typeof s[e])&&s[e]()},9082:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=["link","read more","learn more","more","details","more details","click here","link here","click","here","click for details","continue","continue reading","button"],o={name:{type:"text",fields:["name","full name"]},"honorific-prefix":{type:"text",fields:["prefix","title","honorific","honorific-prefix"]},"given-name":{type:"text",fields:["first name","given name"]},"additional-name":{type:"text",fields:["additional name","middle name","middle initial"]},"family-name":{type:"text",fields:["last name","family name"]},"honorific-suffix":{type:"text",fields:["suffix"]},nickname:{type:"text",fields:["screen name","nick name"]},"organization-title":{type:"text",fields:["position","company title","organization title"]},username:{type:"text",fields:["user name"]},"new-password":{type:"password",fields:["new password"]},"current-password":{type:"password",fields:["password","current password","old password"]},organization:{type:"text",fields:["company","organization"]},"street-address":{type:"textarea",fields:["address","billing address","shipping address","street address","billing street address","shipping street address"]},"address-line1":{type:"text",fields:["address line 1","billing address line 1","shipping address line 1"]},"address-line2":{type:"text",fields:["address line 2","billing address line 2","shipping address line 2"]},"address-line3":{type:"text",fields:["address line 3","billing address line 3","shipping address line 3"]},"address-level4":{type:"text",fields:["address level 4","billing address level 4","shipping address level 4"]},"address-level3":{type:"text",fields:["address level 3","billing address level 3","shipping address level 3"]},"address-level2":{type:"text",fields:["address level 2","billing address level 2","shipping address level 2","city","billing city","shipping city","locality","billing locality","shipping locality"]},"address-level1":{type:"text",fields:["address level 1","billing address level 1","shipping address level 1","state","billing state","shipping state","area","billing area","shipping area","providence","billing providence","shipping providence","region","billing region","shipping region"]},country:{type:"text",fields:["country","billing country","shipping country","country code","billing country code","shipping country code"]},"country-name":{type:"text",fields:["country","billing country","shipping country","country name","billing country name","shipping country name"]},"postal-code":{type:"text",fields:["zip","billing zip","shipping zip","zip code","billing zip code","shipping zip code","postal code","billing postal code","shipping postal code"]},"cc-name":{type:"text",fields:["cc name","credit card name"]},"cc-given-name":{type:"text",fields:["cc given name","cc first name","credit card given name","credit card first name"]},"cc-additional-name":{type:"text",fields:["cc additional name","cc middle name","credit card additional name","credit card middle name"]},"cc-family-name":{type:"text",fields:["cc family name","cc last name","credit card family name","credit card last name"]},"cc-number":{type:"text",fields:["cc number","credit card number","credit card"]},"cc-exp":{type:"month",fields:["cc exp","exp","credit card expiration","expiration"]},"cc-exp-month":{type:"number",fields:["cc exp month","exp month","credit card expiration month","credit card exp month","expiration month"]},"cc-exp-year":{type:"number",fields:["cc exp year","exp year","credit card expiration year","credit card exp year","expiration year"]},"cc-csc":{type:"text",fields:["cc csc","csc","credit card security code","credit security code"]},"cc-type":{type:"text",fields:["cc type","credit card type"]},"transaction-currency":{type:"text",fields:["transaction currency","currency"]},"transaction-amount":{type:"number",fields:["transaction amount","amount"]},language:{type:"text",fields:["language","preferred language"]},bday:{type:"date",fields:["bday","dob","birth day","birth date","date of birth"]},"bday-day":{type:"number",fields:["bday day","dob day","birthdate day","day of birthdate","day of birth"]},"bday-month":{type:"number",fields:["bday month","dob month","birthday month","month of birthday","month of birth"]},"bday-year":{type:"number",fields:["bday year","dob year","birth day year","year of birthday","year of birth"]},sex:{type:"text",fields:["sex","gender","gender identity"]},url:{type:"url",fields:["url","web url","website url"]},photo:{type:"url",fields:["photo","pic","picture","profile","profile pic","profile picture","avatar","avatar pic","avatar picture"]},tel:{type:"tel",locational:!0,fields:["tel","telephone number","phone number","home phone","work phone","office phone","cell number","mobile number","mobile","cell","fax number","fax"]},"tel-country-code":{type:"text",locational:!0,fields:["tel country code","telephone country code","phone country code","home country code","work country code","office country code","cell country code","mobile country code","fax country code"]},"tel-national":{type:"text",locational:!0,fields:["tel national","telephone national number","phone national number","home phone national","work phone national","office phone national","cell national number","mobile national number","mobile national","cell national","fax national number","fax national"]},"tel-area-code":{type:"text",fields:["tel area code","telephone area code","phone area code","home phone area code","work phone area code","office phone area code","cell area code","mobile area code","fax area code"]},"tel-local":{type:"text",locational:!0,fields:["tel local","telephone local number","phone local number","home phone local","work phone local","office phone local","cell local number","mobile local number","mobile local","cell local","fax local number","fax local"]},"tel-local-prefix":{type:"text",locational:!0,fields:["tel local prefix","telephone local prefix","phone local prefix","home local prefix","home phone local prefix","work local prefix","work phone local prefix","office local prefix","office phone local prefix","cell local prefix","mobile local prefix","mobile phone local prefix","cell phone local prefix","fax local prefix"]},"tel-local-suffix":{type:"text",locational:!0,fields:["tel local suffix","telephone local suffix","phone local suffix","home local suffix","home phone local suffix","work local suffix","work phone local suffix","office local suffix","office phone local suffix","cell local suffix","mobile local suffix","mobile phone local suffix","cell phone local suffix","fax local suffix"]},"tel-extension":{type:"text",locational:!0,fields:["tel extension","telephone extension number","phone extension number","home phone extension","work phone extension","office phone extension","cell extension number","mobile extension number","mobile extension","cell extension","fax extension number","fax extension"]},email:{type:"email",locational:!0,fields:["email","email address","work email","home email","work email address","home email address"]},impp:{type:"url",locational:!0,fields:["instant message url","instant message protocol","instant messanger url","instant messenger protocol","instant messaging","instant messaging url"]}},r=[".csv",".doc",".docx",".keynote",".numbers",".pages",".pdf",".pps",".ppsx",".ppt",".pptx",".rtf",".txt",".xls",".xlsx"];const a={GLOBAL_ATTRIBUTES:{"aria-atomic":["true","false"],"aria-busy":["true","false"],"aria-controls":"*","aria-current":["page","step","location","date","time","true","false"],"aria-describedby":"*","aria-details":"*","aria-disabled":["true","false"],"aria-errormessage":"*","aria-expanded":["true","false"],"aria-flowto":"*","aria-grabbed":["true","false"],"aria-haspopup":["dialog","grid","listbox","menu","tree","true","false"],"aria-hidden":["true","false"],"aria-invalid":["grammar","spelling","true","false"],"aria-keyshortcuts":"*","aria-label":"*","aria-labelledby":"*","aria-live":["assertive","polite","off"],"aria-owns":"*","aria-relevant":["additions","additions removals","additions text","removals","removals additions","removals text","text","text additions","text removals","all"],"aria-roledescription":"*"},ROLE_ATTRIBUTES:{"aria-activedescendant":"*","aria-autocomplete":["inline","list","both","none"],"aria-checked":["mixed","true","false"],"aria-colcount":"#","aria-colindex":"#","aria-colspan":"#","aria-level":"#","aria-modal":["true","false"],"aria-multiline":["true","false"],"aria-multiselectable":["true","false"],"aria-orientation":["horizontal","vertical"],"aria-placeholder":"*","aria-posinset":"#","aria-pressed":["mixed","true","false"],"aria-readonly":["true","false"],"aria-required":["true","false"],"aria-rowcount":"#","aria-rowindex":"#","aria-rowspan":"#","aria-selected":["true","false"],"aria-setsize":"#","aria-sort":["ascending","descending","none","other"],"aria-valuemax":"#","aria-valuemin":"#","aria-valuenow":"#","aria-valuetext":"*"},ROLES:{alert:{allowed:"section"},alertdialog:{allowed:"section",attributes:["aria-modal"]},application:{allowed:"article, audio, embed, iframe, object, section, svg, video",attributes:["aria-activedescendant"]},article:{elements:"article",attributes:["aria-posinset","aria-setsize"]},banner:{elements:"header",allowed:"section"},button:{elements:'button, input[type="button"]',allowed:"a[href]",attributes:["aria-pressed"]},cell:{elements:"td",attributes:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan"],required_parent:["row"]},checkbox:{elements:'input[type="checkbox"]',allowed:"button",attributes:["aria-checked","aria-readonly"]},columnheader:{elements:'th:not([scope]), th[scope="col"]',attributes:["aria-colindex","aria-colspan","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],required_parent:["row"]},combobox:{allowed:'input[type="text"]',attributes:["aria-activedescendant","aria-autocomplete","aria-orientation","aria-readonly","aria-required"],required_children:[{condition:'[aria-expanded="true"]',role:["listbox","tree","grid","dialog"]}]},complementary:{elements:"aside",allowed:"section"},contentinfo:{elements:"footer"},definition:{elements:"dfn, dd"},dialog:{attributes:["aria-modal"]},directory:{},document:{},feed:{required_children:["article"]},figure:{},form:{elements:"form"},grid:{elements:"table",attributes:["aria-activedescendant","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount"],required_children:["row","rowgroup"]},gridcell:{elements:"td",attributes:["aria-colindex","aria-colspan","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],required_parent:["row"]},group:{attributes:["aria-activedescendant"],required_children:[{condition:'[role="list"] [role="group"]',required:["listitem"]},{condition:'[role="menu"] [role="group"], [role="menubar"] [role="group"]',required:["menuitem","menuitemradio"]},{condition:'[role="tree"] [role="group"]',required:["treeitem"]}]},heading:{elements:"h1, h2, h3, h4, h5, h6",attributes:["aria-level"],required:["aria-level"]},img:{},link:{elements:"a[href], map area[href]"},list:{elements:"ol, ul",required_children:["listitem","group"]},listbox:{elements:"select",attributes:["aria-activedescendant","aria-multiselectable","aria-orientation","aria-readonly","aria-required"],required_children:["option"]},listitem:{elements:"li",attributes:["aria-level","aria-posinset","aria-setsize"],required_parent:["list","group"]},log:{},main:{elements:"main"},marquee:{},math:{},menu:{attributes:["aria-activedescendant","aria-orientation"],required_children:["menuitem","group","menuitemcheckbox","menuitemradio"]},menubar:{attributes:["aria-activedescendant","aria-orientation"],required_children:["menuitem","group","menuitemcheckbox","menuitemradio"]},menuitem:{attributes:["aria-posinset","aria-setsize"],required_parent:["group","menu","menubar"]},menuitemcheckbox:{attributes:["aria-checked","aria-posinset","aria-setsize"],required_parent:["menu","menubar"]},menuitemradio:{attributes:["aria-checked","aria-posinset","aria-setsize"],required_parent:["group","menu","menubar"]},navigation:{elements:"nav"},note:{},option:{elements:"option",attributes:["aria-checked","aria-posinset","aria-selected","aria-setsize"],required_parent:["listbox"]},progressbar:{attributes:["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"]},radio:{elements:'input[type="radio"]',attributes:["aria-checked","aria-posinset","aria-setsize"]},radiogroup:{attributes:["aria-activedescendant","aria-orientation","aria-readonly","aria-required"],required_children:["radio"]},region:{elements:"section"},row:{elements:"tr",attributes:["aria-activedescendant","aria-colindex","aria-level","aria-rowindex","aria-selected"],required_children:["cell","gridcell","columnheader","rowheader"],required_parent:["grid","rowgroup","table","treegrid"]},rowgroup:{required_children:["row"],required_parent:["grid","table","treegrid"]},rowheader:{elements:'th[scope="row"]',attributes:["aria-colindex","aria-colspan","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],required_parent:["row"]},scrollbar:{attributes:["aria-orientation","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],required:["aria-controls"]},search:{attributes:[]},searchbox:{elements:'input[type="search"]',attributes:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"]},separator:{elements:"hr",attributes:["aria-orientation","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"]},slider:{attributes:["aria-orientation","aria-readonly","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"]},spinbutton:{attributes:["aria-activedescendant","aria-readonly","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"]},status:{},switch:{attributes:["aria-checked","aria-readonly"]},tab:{attributes:["aria-posinset","aria-selected","aria-setsize"],required_parent:["tablist"]},table:{attributes:["aria-colcount","aria-rowcount"],required_children:["row","rowgroup"]},tablist:{attributes:["aria-activedescendant","aria-level","aria-multiselectable","aria-orientation"],required_children:["tab"]},tabpanel:{},term:{elements:"dt"},textbox:{elements:'input:not([type]), input[type="text"], input[type="email"], input[type="tel"], textarea',attributes:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"]},timer:{},toolbar:{attributes:["aria-activedescendant","aria-orientation"]},tooltip:{},tree:{attributes:["aria-activedescendant","aria-multiselectable","aria-orientation","aria-required"],required_children:["group","treeitem"]},treegrid:{attributes:["aria-activedescendant","aria-colcount","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],required_children:["row","rowgroup"]},treeitem:{attributes:["aria-checked","aria-level","aria-posinset","aria-selected","aria-setsize"],required_parent:["group","tree"]}}};var s=function(e,t){var n={},s=t;return n.classifications={FAILED_HIGH_RISK:"Error",FAILED_LOW_RISK:"Risk",VERIFY_HIGH_PRIORITY:"Needs Review",VERIFY_LOW_PRIORITY:"Unverified"},n.constants={placeholders:{title:{starts_with:["untitled"],is:["title","untitled","content","contents","new page","new","nbsp","frame","frame title","iframe","iframe title"]},alt:{starts_with:["graphic of","bullet","image of"],ends_with:["image","graphic"],is:["alt","nbsp","untitled","new","spacer","image","img","photo","photograph","graph","graphic","drawing","painting","logo","artwork","bullet","button","arrow","more","chart","table","diagram"]},legend:["legend","nbsp","untitled","fields","fieldset"],label:["label","nbsp","untitled","input","select","dropdown"]},bad_link_text:i,bad_button_text:["button","click","click here"],content_elements:"h1, h2, h3, h4, h5, h6, footer, header, nav, div, p, span, aside, abbr, article, details, summary, figcaption, section",tabbable:"*[tabindex], a[href], area[href], input:not([type=hidden], [type=Hidden]), select, textarea, button",emoticons:[":)",":o)",":-)",":^)",";)","=)","B^)","8^)","=]",":]","xD",":-D",":D","=D",":-(",":(","=(",":/",":P"],audio_extensions:[".mp3",".m4a",".ogg",".wav"],media_extensions:[".mkv",".mov",".mpg",".ram",".wmv",".svx",".iff",".aif",".mp3",".m4a",".ogg",".pcm",".sam",".smp",".snd",".vce",".vox",".wav"],document_extensions:r,spacer_image_names:["spacer","space","blank","nbsp"],image_extensions:[".jpg",".jpeg",".gif",".tiff",".svg",".png"],mouseKeyAssociations:{onmousedown:"onkeydown",onmouseup:"onkeyup",onmousemove:"avoid using",onmouseover:"onfocus",onmouseout:"onblur",onmouseenter:"onfocus",onmouseleave:"onblur",onclick:"onkeypress",ondblclick:"avoid using"},required:["required","req"],requiredSelectors:[".required",".req","[required]","[aria-required=true]","[aria-label*='required']","[aria-label*='Required']","[aria-label*='REQUIRED']"],ignored_input_types:["hidden","submit","reset","button","image"],aria_global_attributes:a.GLOBAL_ATTRIBUTES,aria_role_attributes:a.ROLE_ATTRIBUTES,do_not_test_selector:"base, body, caption, head, head *, html, link, meta, noscript, script, style, svg *, title",aria_roles:a.ROLES,autocomplete_field_names:o,autocomplete_tokens:["billing","shipping","home","work","mobile","fax","pager"],conventional_links:[["home","home page","main page"],["contact","contact us","contact form","comment"],["site map"],["help","support"],["about","about us"],["terms","terms and conditions","terms of use","terms of service","tos","tac","tc"],["services","products","tools"],["language","languages","language options"],["sign in","log in"],["sign out","log out"],["sign up","sign up form","join","register","registration","registration form"]],langRegex:new RegExp(/^[a-zA-Z]{2}(-[a-zA-Z]+)?$/g),optgroup_name_excludes:["state","country","nation","language","province","region","city","locality","year","make","car_make","price","interest","interest_rate"],optgroup_option_excludes:[["Georgia","Wisconsin"],["GA","WI"],["France","Germany"],["Dutch","French","Spanish"],["Toyota","Ford","Audi"]]},n.common={escapeSelectorText:function(e){return e&&e.replace?e.replace(/[!"#$%&'()*+,.\/:;<=>?@\[\]|\\^`{}~]/g,"\\$&"):"''"},escapeRegExp:function(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")},getScannedContainer:function(){var e=n.html.find("body").addBack("body");return 0===e.length&&(e=n.html.eq(0)),e},getElements:function(t,i){"string"!=typeof t&&(i=t,t="*");var o=(i=i||n.html).find(t);return i.find("iframe").each((function(){if(e(this).attr("src")&&!e(this).prop("src").match(/about:\s*blank/i)){var i=e("").attr("href",this.src);if(window.location.host===i.prop("host"))try{var r=n.common.getElements(t,e(this).contents());o=o.add(r)}catch(t){e.noop()}}})),o},getContentElements:function(t,i,o){void 0===o&&!0===i&&(i=void 0,o=!0),"string"!=typeof t&&(i=t,t=void 0),t||(t=n.constants.content_elements);var r=(i=e(i||n.html)).find(t).filter((function(){return 0===e(this).parentsUntil(i,t).length}));return r=r.not(n.constants.do_not_test_selector),i.find("iframe").each((function(){if(e(this).attr("src")&&!e(this).prop("src").match(/about:\s*blank/i)){var i=e("").attr("href",this.src);if(window.location.host===i.prop("host"))try{var a=n.common.getContentElements(t,e(this).contents(),o).filter((function(){return 0===e(this).parent().closest(t).length}));r=r.add(a)}catch(t){e.noop()}}})),r.filter((function(){return(o||!1===n.common.isAriaHidden(this))&&!1===e(this).is("[role=presentation], [role=none]")}))},getContentElementsNative:function(e,t,i){void 0===i&&!0===t&&(t=void 0,i=!0),"string"!=typeof e&&(t=e,e=void 0),e||(e=n.constants.content_elements);var o=t=t||document.querySelector("html");void 0===t.length&&(o=[t]);var r=[];o.forEach((function(t){t.querySelectorAll(e).forEach((function(n){for(var i=!1,o=n.parentElement;o&&o!=t&&!i;)o.matches(e)&&(i=!0),o=o.parentElement;i||r.push(n)}))}));var a=[];r.forEach((function(e){e.matches(n.constants.do_not_test_selector)||a.push(e)}));var s=[];o.forEach((function(e){var t=e.getElementsByTagName("iframe");t.length&&(s=s.concat(Array.from(t)))}));for(var l=0;l").attr("href",this.src);if(window.location.host===i.prop("host"))try{var l,c=e(this).contents();l=s.elements?c[o].call(c,s.elements+", [role='"+t+"']").not("[role!='"+t+"']").addBack(":not([role])").filter((function(){return!0===r||!n.common.isAriaHidden(this)})):c[o].call(c,"[role='"+t+"']").filter((function(){return!0===r||!n.common.isAriaHidden(this)})),a=a.add(l)}catch(t){e.noop()}}})),"banner"!==t&&"contentinfo"!==t||(a=a.filter((function(){if(!0===e(this).is("header, footer")&&!1===e(this).is("[role]")){var t=e(this);return["article","complementary","main","navigation","region"].every((function(e){return 0===t.closest(n.constants.aria_roles[e].elements+", [role='"+e+"']").not("[role!='"+e+"']").addBack(":not([role])").length}))}return!0}))),a):e()},dereferenceAria:function(t,i){var o=e(t).attr(i||"aria-labelledby");return!!o&&o.split(" ").map((function(e){var t="";if(e=e.trim()){e=n.common.escapeSelectorText(e);var i=n.common.getElements("*[id='"+e+"']");i.length&&(t=n.common.getElementText(i))}return t})).ae_reduce((function(e,t){return t.trim()&&("."!==e.slice(-1)&&(e+="."),e+=" "+t),e}))},getElementWithWord:function(t,i){var o;i=i||n.html;try{o=(o=e(i).find(':contains("'+t+'")').addBack()).filter((function(){return 0===e(this).find(o).length}))}catch(t){o=e()}return 0===o.length&&(o=e(i)),o[0]},getElementText:function(t,n){var i="",o=function t(o){var r="",a=o.nodeType,s=o.nodeName;if(e(o).is(n))return"";if("SCRIPT"===s||"STYLE"===s)return"";if(a===Node.ELEMENT_NODE||a===Node.DOCUMENT_NODE||a===Node.DOCUMENT_FRAGMENT_NODE){if(e(o).is("noscript"))return i+=e(o).text(),"";if(e(o).is("img, input[type=image], map area"))return e(o).attr("alt")||"";if(e(o).is("input[type=button]"))return e(o).attr("value")||"";for(var l,c=o.firstChild;c;)r+=t(c),(l=c.nextSibling)&&c.nodeType!==Node.CDATA_SECTION_NODE&&l.nodeType!==Node.CDATA_SECTION_NODE&&c.nodeType!==Node.TEXT_NODE&&l.nodeType!==Node.TEXT_NODE&&(r+=" "),c=l;return r}return a===Node.TEXT_NODE||a===Node.CDATA_SECTION_NODE?o.nodeValue:""}(t).trim();return i&&-1!==i.indexOf(o)?o+" (noscript: "+i+")":o},getElementLabel:function(t){var i=e();0===i.length&&(i=e(t).closest("label"));const o=t.getAttribute("id");if(0===i.length&&o){var r=n.common.escapeSelectorText(o);i=n.common.getContentElements("label[for='"+r+"']")}return!!i.length&&i},getElementAccessibleName:function(t){if(e(t).attr("aria-labelledby"))return n.common.dereferenceAria(t,"aria-labelledby");if(e(t).attr("aria-label"))return e(t).attr("aria-label").trim();var i=n.common.getElementLabel(t);if(i&&i.length){var o=i.get(0);return n.common.getElementText(o)}return!!i&&n.common.getElementText(i)},isPlaceholderText:function(e,t){if(""===(t=t.toLowerCase().replace(/\s\s*/g," ").trim()))return!0;var i=n.constants.placeholders[e]||[];return i.starts_with&&i.starts_with.some((function(e){return new RegExp("^"+e).test(t)})),i.ends_with&&i.ends_with.some((function(e){return new RegExp(e.ends_with+"$").test(t)})),i.is&&(i=i.is),-1!==i.indexOf(t)},isBadLinkText:function(e){return""===(e=e.toLowerCase().replace(/\s\s*/g," ").replace(/[.,;:!?+='"]+$/,"").trim())||n.constants.bad_link_text.some((function(t){return e===t||e===t+"..."}))},isRedundant:function(e,t,n){return!(!e||!t||-1===t.indexOf(e))||!(!t||!n||-1===t.indexOf(n)&&-1===n.indexOf(t))},isAudioLink:function(e){return n.constants.audio_extensions.some((function(t){return e.substr(-4)===t}))},isMediaLink:function(e){return n.constants.media_extensions.some((function(t){return e.substr(-4)===t}))},isSpacerImage:function(e){var t=e.split(".");return-1!==n.constants.spacer_image_names.indexOf(t[0])},isAriaHidden:function(t){return e(t).closest("[aria-hidden=true], [aria-visible=false]").length>0},isAriaHiddenNative:function(e){for(var t=!1;e&&!t;)e.matches("[aria-hidden=true], [aria-visible=false]")&&(t=!0),e=e.parentElement;return t},getColorContrast:function(e,t){function n(e){if(e){if((e=(e=e.slice(1)).filter((function(e){return void 0!==e}))).length>3){var t=parseFloat(e[3]);e=e.slice(0,3).map((function(e){return e=parseInt(e),Math.floor(e*t)+Math.floor(192*(1-t))}))}var n=e.map((function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}));return.2126*n[0]+.7152*n[1]+.0722*n[2]}return!1}var i=/rgba?\((\d+),\s?(\d+),\s?(\d+)(?:,\s?((?:\d*\.)?\d+))?\)/,o=e.match(i),r=t.match(i),a=n(o),s=n(r);return(Math.max(a,s)+.05)/(Math.min(a,s)+.05)},getParents:function(e,t){var n=[];t=!!t&&t.toUpperCase().trim().split(",");for(var i=e&&e.parentElement;i;i=i.parentElement)(!t||t.indexOf(i.nodeName)>-1)&&n.push(i);return n}},n.testFailed=function(e,t,i,o,r){if(e.jquery&&(e=e[0]),!n.excludes||!(n.excludes.is(e)||n.excludes.find(e).length>0)){var a={element:e,passed:!1,result_code:t,classification:i,accuracy:o,first_detected:n.scanName,details:r||null};return n.test_result.push(a),a}},n.testPassed=function(e,t,i,o,r){if(e.jquery&&(e=e[0]),!n.excludes||!(n.excludes.is(e)||n.excludes.find(e).length>0)){var a={element:e,passed:!0,result_code:t,classification:i,accuracy:o||0,details:r||null};return n.test_result.push(a),a}},n.tests={imgTextAlt:function(t){t.common.getContentElements("img:not(a img)").each((function(){var n={source:this.src||!1,src_attr:e(this).attr("src"),srcset:e(this).attr("srcset")||"",width:e(this).width(),height:e(this).height(),usemap:e(this).attr("usemap")||""};if(!n.usemap.length||!e("map[name='"+t.common.escapeSelectorText(n.usemap.replace("#",""))+"'] area[href]").length){if(n.source&&(n.file_name=n.source.split("/").pop()),void 0!==e(this).attr("aria-label")&&(n.label=e(this).attr("aria-label")),void 0!==e(this).attr("alt")&&(n.alt=e(this).attr("alt")),n.naturalWidth=this.naturalWidth||n.width,n.naturalHeight=this.naturalHeight||n.height,1===n.width||1===n.height||1===n.naturalWidth||1===n.naturalHeight||n.file_name&&t.common.isSpacerImage(n.file_name))return t.testFailed(this,"imgTextAltMakeDecorative",t.classifications.FAILED_LOW_RISK,50,n);if(void 0===n.label&&void 0===n.alt)return t.testFailed(this,"imgTextAltNotFound",t.classifications.FAILED_HIGH_RISK,100,n);if(n.title=e(this).attr("title"),n.outside_text=e(this).parent().text(),t.common.isRedundant(n.title,n.outside_text,n.alt))return t.testFailed(this,"imgTextAltRedundant",t.classifications.FAILED_LOW_RISK,75,n);var i=n.label||n.alt||"";return""===i?t.testPassed(this,"imgTextAltFoundDecorative",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.common.isPlaceholderText("alt",i)?t.testFailed(this,"imgTextAltPlaceholder",t.classifications.FAILED_HIGH_RISK,100,n):!n.source||i!==n.source&&i!==n.file_name?i.length>100?t.testFailed(this,"imgTextAltTooLong",t.classifications.FAILED_LOW_RISK,50,n):t.testPassed(this,"imgTextAltFound",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testFailed(this,"imgTextAltFileName",t.classifications.FAILED_HIGH_RISK,100,n)}}))},imgAdjacent:function(t){t.common.getContentElements("img, input[type=image]").each((function(){var n=e(this).attr("alt")||"",i=e(this).nextAll("img, input[type=image]").slice(0,2);if(i.length>0){var o={alt:n.trim(),next_alts:i.map((function(){return(e(this).attr("alt")||"").trim()})).get()};return""!==o.alt&&o.next_alts.length>0&&-1!==o.next_alts.indexOf(o.alt)?t.testFailed(this,"imgAdjacentDuplicateAlt",t.classifications.FAILED_LOW_RISK,100):t.testPassed(this,"imgAdjacentUniqueAlt",t.classifications.VERIFY_LOW_PRIORITY,90)}}))},inputImageTextAlt:function(t){t.common.getContentElements("input[type=image]").each((function(){var n={source:this.src||!1,src_attr:e(this).attr("src")};if(void 0!==e(this).attr("aria-label")&&(n.label=e(this).attr("aria-label")),void 0!==e(this).attr("alt")&&(n.alt=e(this).attr("alt")),void 0===n.label&&void 0===n.alt)return t.testFailed(this,"inputImageTextAltNotFound",t.classifications.FAILED_HIGH_RISK,100,n);var i=n.label||n.alt||"";return""===i?t.testFailed(this,"inputImageTextAltBlank",t.classifications.FAILED_HIGH_RISK,100,n):t.common.isPlaceholderText("alt",i)?t.testFailed(this,"inputImageTextAltPlaceholder",t.classifications.FAILED_HIGH_RISK,100,n):!n.source||i!==n.source&&i!==n.source.split("/").pop()?t.testPassed(this,"inputImageTextAltFound",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testFailed(this,"inputImageTextAltFileName",t.classifications.FAILED_HIGH_RISK,100,n)}))},mapAreaTextAlt:function(t){t.common.getContentElements("map area[href]").each((function(){var n=e(this).closest("map").attr("name");if(n){var i=t.common.getElements("img[usemap='#"+t.common.escapeSelectorText(n)+"']");if(0!==i.length){var o={shape:e(this).attr("shape"),coords:e(this).attr("coords"),img_source:i[0].src||!1,img_src_attr:i.attr("src"),img_alt:i.attr("alt")},r=e(this).attr("alt");return void 0===r?t.testFailed(this,"mapAreaTextAltNotFound",t.classifications.FAILED_HIGH_RISK,100,o):(o.alt=r.trim(),""===o.alt?t.testFailed(this,"mapAreaTextAltBlank",t.classifications.FAILED_HIGH_RISK,100,o):t.common.isPlaceholderText("alt",o.alt)?t.testFailed(this,"mapAreaTextAltPlaceholder",t.classifications.FAILED_HIGH_RISK,100,o):t.testPassed(this,"mapAreaTextAltFound",t.classifications.VERIFY_LOW_PRIORITY,75,o))}}}))},appletEquivalent:function(t){t.common.getContentElements("applet").each((function(){var n={inner_text:e(this).text()||"",compliance:e(this).find(".ae-compliance-indent").text().trim()},i=e(this).attr("alt");return void 0!==i&&(n.alt=i.trim()),n.alt||n.inner_text?t.testPassed(this,"appletEquivalentFound",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testPassed(this,"appletEquivalentNotFound",t.classifications.VERIFY_HIGH_PRIORITY,75,n)}))},embedEquivalent:function(t){t.common.getContentElements("embed").each((function(){var n={},i=e(this.ownerDocument).find("noembed");return i.length&&(n.no_embed=i.text().trim()),n.no_embed?t.testPassed(this,"embedEquivalentFound",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testPassed(this,"embedEquivalentNotFound",t.classifications.VERIFY_HIGH_PRIORITY,75,n)}))},objectEquivalent:function(t){t.common.getContentElements("object").each((function(){var n={inner_text:t.common.getElementText(this),compliance:e(this).find(".ae-compliance-indent").text().trim()};return""===n.inner_text?t.testPassed(this,"objectEquivalentNotFound",t.classifications.VERIFY_HIGH_PRIORITY,75,n):t.testPassed(this,"objectEquivalentFound",t.classifications.VERIFY_LOW_PRIORITY,75,n)}))},svgEquivalent:function(t){t.common.getContentElements("svg").each((function(){var n={title:e(this).find("title").text(),inner_text:"",compliance:e(this).find(".ae-compliance-indent").text().trim(),label:t.common.getElementAccessibleName(this)},i=e(this).find("text");return i.length>0&&(n.inner_text=i.map((function(){return t.common.getElementText(this)})).get().join(" ")),""!==n.title.trim()||""!==n.inner_text.trim()||n.label?t.testPassed(this,"svgEquivalentFound",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testFailed(this,"svgEquivalentNotFound",t.classifications.FAILED_LOW_RISK,75,n)}))},mediaTranscript:function(e){e.common.getAriaRoleElements("link").each((function(){this.href&&e.common.isMediaLink(this.href)&&e.testPassed(this,"mediaTranscriptReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))},videoCaption:function(t){t.common.getContentElements("a[href], iframe[src]").each((function(){var n=e(this).attr("href")||e(this).attr("src")||"";(n.match(/(youtu\.be)|(youtube(-nocookie)?\.com)/)||n.match(/vimeo\.com/))&&t.testPassed(this,"videoCaptionReview",t.classifications.VERIFY_HIGH_PRIORITY,0)})),t.common.getContentElements("video").each((function(){e(this).find("track[kind=captions], track[src$=vtt]").length>0?t.testPassed(this,"videoCaptionFound",t.classifications.VERIFY_LOW_PRIORITY,75):t.testPassed(this,"videoCaptionNotFound",t.classifications.VERIFY_HIGH_PRIORITY,0)}))},videoTextAlternative:function(t){t.common.getContentElements("a[href], iframe[src]").each((function(){var n=e(this).attr("href")||e(this).attr("src")||"";(n.match(/(youtu\.be)|(youtube(-nocookie)?\.com)/)||n.match(/vimeo\.com/))&&t.testPassed(this,"videoTextAlternativeReview",t.classifications.VERIFY_HIGH_PRIORITY,0)})),t.common.getContentElements("video").each((function(){t.testPassed(this,"videoTextAlternativeReview",t.classifications.VERIFY_HIGH_PRIORITY,0)}))},htmlSemantics:function(e){e.common.getContentElements("p, div").each((function(){if(""!==e.common.getElementText(this)){var t=!1,n={};if(n.aria_role=this.getAttribute("role"),n.inner_text=this.innerText.replace(/\s\s+/g," ").trim(),n.char_length=n.inner_text.length,"heading"!==n.aria_role&&n.char_length>0&&n.char_length<140){n.children=this.children.length;var i=["STRONG","EM","I","B","U","FONT"];n.styled_text="";for(var o=0;o-1&&(n.styled_text+=this.children[o].innerText);1===n.children&&n.inner_text===n.styled_text&&(t=!0,n.issue_type="Contents of element are wrapped in a bold/italic font tag"),n.font_size=parseFloat(getComputedStyle(this).fontSize),n.font_weight=getComputedStyle(this).fontWeight;for(var r=this,a=["DIV","P","ASIDE","ARTICLE","DETAILS","SUMMARY","SECTION"];r&&!((r=r.nextElementSibling)&&a.indexOf(r.nodeName)>-1););r&&(n.next_font_size=parseFloat(getComputedStyle(r).fontSize),n.next_font_weight=parseFloat(getComputedStyle(r).fontWeight),(n.font_size>n.next_font_size||n.font_weight!==n.next_font_weight)&&(t=!0,n.issue_type="Larger font size/weight of element compared to next"))}return t?e.testFailed(this,"htmlSemanticsUseHeader",e.classifications.FAILED_LOW_RISK,50,n):(n.char_length>1e3&&(n.inner_text=n.inner_text.substr(0,1e3)+"..."),e.testPassed(this,"htmlSemanticsFound",e.classifications.VERIFY_LOW_PRIORITY,75,n))}})),e.common.getAriaRoleElements("heading").each((function(){return""===e.common.getElementText(this)?e.testFailed(this,"htmlSemanticsEmptyHeader",e.classifications.FAILED_HIGH_RISK,100):e.testPassed(this,"htmlSemanticsFound",e.classifications.VERIFY_LOW_PRIORITY,75)})),e.common.getContentElements("blockquote").each((function(){return this.getAttribute("cite")?e.testPassed(this,"htmlSemanticsFound",e.classifications.VERIFY_LOW_PRIORITY,75):e.testFailed(this,"htmlSemanticsBadBlockquote",e.classifications.FAILED_LOW_RISK,75)})),e.common.getContentElements("ul, ol").each((function(){var t={};return t.parent_lists=e.common.getParents(this,"ul, ol").length,t.child_lists=this.querySelectorAll("ul").length+this.querySelectorAll("ol").length,t.list_items=this.querySelectorAll("li").length,0===t.parent_lists&&0===t.child_lists&&t.list_items<=1?e.testFailed(this,"htmlSemanticsBadUL",e.classifications.FAILED_LOW_RISK,50,t):e.testPassed(this,"htmlSemanticsFound",e.classifications.VERIFY_LOW_PRIORITY,75,t)})),e.common.getContentElements("dl").each((function(){var t={};return this.querySelectorAll("dt").forEach((function(e){e.nextElementSibling&&"DT"==e.nextElementSibling.nodeName&&(t.issue_type="Consecutive DT tags")})),t.issue_type||this.querySelectorAll("dt").forEach((function(e){e.nextElementSibling&&"DD"==e.nextElementSibling.nodeName||(t.issue_type="DT with no DD after it")})),t.issue_type||this.querySelectorAll("dd").forEach((function(e){for(var n=0;null!=e;)if((e=e.previousElementSibling)&&"DT"==e.nodeName){n++;break}if(0===n)return t.issue_type="DD with no DT before it",!1})),t.issue_type?e.testFailed(this,"htmlSemanticsImproperDL",e.classifications.FAILED_HIGH_RISK,100,t):e.testPassed(this,"htmlSemanticsFound",e.classifications.VERIFY_LOW_PRIORITY,75)})),e.common.getContentElements("dd, dt").each((function(){0===e.common.getParents(this,"dl").length&&e.testFailed(this,"htmlSemanticsNoDLWrapper",e.classifications.FAILED_HIGH_RISK,100)})),e.common.getElements("noscript").each((function(){return e.testPassed(this,"htmlSemanticsNoscript",e.classifications.VERIFY_HIGH_PRIORITY,0,{noscript_text:this.innerText})}))},tableSemantics:function(t){t.common.getAriaRoleElements("grid").each((function(){var n={},i=e(this),o=t.common.getAriaRoleElements("row",i),r=t.common.getAriaRoleElements("gridcell",i);if(n.row_count=o.length,n.cell_count=r.length,n.table_caption=i.find("caption").not("[role=presentation], [role=none]").text().trim(),n.table_summary=i.attr("summary")||"",n.table_caption)n.table_caption===n.table_summary.trim()&&t.testFailed(this,"tableSemanticsCaptionEqualsSummary",t.classifications.FAILED_HIGH_RISK,100);else{var a,s=i.find("th, td").first(),l=i.prev("h1, h2, h3, h4, h5, h6"),c=i.prev("p");parseInt(s.attr("colspan"),10)?(a=s,n.possible_caption="first cell"):c.length>0&&(c.text().trim().length<100&&(c.find("b, i, u, strong, em, center").length||"center"===c.css("text-align")||"bold"===c.css("font-weight")||"italics"===c.css("font-style"))||c.text().trim().length<50)?(a=c,n.possible_caption="previous paragraph"):l.length>0&&l.text().trim().length<100&&(a=l,n.possible_caption="previous heading"),a&&t.testFailed(a,"tableSemanticsNoCaption",t.classifications.FAILED_LOW_RISK,50,n)}var u=t.common.getAriaRoleElements("grid",i);if(u.length){var d=t.common.getAriaRoleElements("row",u),f=t.common.getAriaRoleElements("gridcell",u);return n.nested_row_count=d.length,n.nested_cell_count=f.length,n.row_count-n.nested_row_count>2&&n.cell_count-n.nested_cell_count>8&&(n.auto_observation="fix_at_source"),t.testFailed(this,"tableSemanticsNested",t.classifications.FAILED_LOW_RISK,90,n)}var m,p,h=!1,g=!0,y=!0,v=[];return t.common.getContentElements("[headers]",i).each((function(){var n=e(this),o=n.attr("headers").split(/\s+/);!1===n.is("td")&&"gridcell"!==n.attr("role")&&"cell"!==n.attr("role")&&t.testFailed(n,"tableSemanticsInvalidHeadersReference",t.classifications.FAILED_HIGH_RISK,100,{issue_type:"Invalid element role with a 'headers' attribute",expected_role:"gridcell, cell",found_role:n.attr("role")||n.prop("nodeName")}),o.every((function(o){var r=t.common.escapeSelectorText(o),a=t.common.getContentElements("*[id='"+r+"']",i);if(0===a.length)return t.testFailed(n,"tableSemanticsInvalidHeadersReference",t.classifications.FAILED_HIGH_RISK,100,{issue_type:"Invalid ID in the 'headers' attribute",id:o}),!1;a.each((function(){var i=e(this);if(!1===i.is("th")&&"rowheader"!==i.attr("role")&&"columnheader"!==i.attr("role"))return t.testFailed(n,"tableSemanticsInvalidHeadersReference",t.classifications.FAILED_HIGH_RISK,100,{issue_type:"Invalid element role referenced as table header",expected_role:"rowheader, columnheader",found_role:i.attr("role")||i.prop("nodeName")}),!1}))}))})),n.spans=[],t.common.getAriaRoleElements("row",i).each((function(){var i=this,o=t.common.getAriaRoleElements("columnheader",i),r=t.common.getAriaRoleElements("rowheader",i),a=t.common.getAriaRoleElements("gridcell",i),s=a.filter((function(){return""===e(this).text().trim()}));if(o.add(r).filter((function(){return""===e(this).text().trim()})).each((function(){t.testFailed(this,"tableSemanticsEmptyTH",t.classifications.FAILED_HIGH_RISK,100)})),o.length>0&&0===a.not(s).length?(h=!0,o.each((function(){var t=e(this).index(),n=v[t]||{};n.headers=n.headers||[],n.headers.push(this),v[t]=n}))):a.not(s).add(r).each((function(){var t=e(this).index(),n=v[t]||{};n.cells=n.cells||[],n.cells.push(this)})),g){0===r.length&&1===o.not("[role], [scope]").length&&0===o.index()&&(r=o);var l=r.index();-1===(m=m||l)||m!==l?g=!1:0===a.not(s).length&&t.testFailed(r[0],"tableSemanticsLoneHeader",t.classifications.FAILED_LOW_RISK,75,{scope:"row"})}if(y){var c=a.map((function(){return{colspan:parseInt(e(this).attr("colspan"),10)||1,rowspan:parseInt(e(this).attr("rowspan"),10)||1}})).get();p&&(y=p.every((function(e,t){return c[t]&&c[t].colspan&&c[t].colspan>=e.colspan}))),y=y&&c.every((function(e,t){return 0===t||c[t-1].rowspan>=e.rowspan})),p=c,n.spans.push(c)}})),h||g?(v.forEach((function(e){e.headers&&e.headers.length>0&&(!e.cells||0===e.cells.length)&&t.testFailed(e.headers[0],"tableSemanticsLoneHeader",t.classifications.FAILED_LOW_RISK,75,{scope:"column",auto_observation:"fix_at_source"})})),y?t.testPassed(this,"tableSemanticsFoundData",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testFailed(this,"tableSemanticsIrregularGrid",t.classifications.FAILED_LOW_RISK,90,n)):t.testFailed(this,"tableSemanticsNoTH",t.classifications.FAILED_LOW_RISK,90,n)})),t.html.find("table").filter("[role=presentation], [role=none]").each((function(){return e(this).find("caption").length>0?t.testFailed(this,"tableSemanticsLayoutCaption",t.classifications.FAILED_LOW_RISK,90,{auto_observation:"fix_at_source"}):e(this).attr("summary")?t.testFailed(this,"tableSemanticsLayoutSummary",t.classifications.FAILED_LOW_RISK,90,{auto_observation:"fix_at_source"}):void 0}))},htmlDocumentStructure:function(t){t.common.getContentElements().each((function(){if(-1!==e(this).html().indexOf("   "))return t.testFailed(this,"htmlDocumentStructureWhitespace",t.classifications.FAILED_LOW_RISK,75,{auto_observation:"fix_at_source",auto_observation_record:!1});var n=e(this).text().match(/\b[a-z](?:\s+[a-z]){3,}\b/i);return n&&-1==="abcdefghijklmnopqrstuvwxyz".indexOf(n[0].toLowerCase().replace(/\s/g,""))?t.testFailed(this,"htmlDocumentStructureLetterspace",t.classifications.FAILED_LOW_RISK,75,{auto_observation:"fix_at_source",auto_observation_record:!1}):t.testPassed(this,"htmlDocumentStructureLogical",t.classifications.VERIFY_LOW_PRIORITY,90)}))},scriptKeyboardEvents:function(t){var n=Object.keys(t.constants.mouseKeyAssociations),i=n.map((function(e){return"["+e+"]"})).join(", ");t.common.getContentElements(i).each((function(){var i=e(this),o=[],r=!0,a=!1;return n.forEach((function(e){if(i.is("["+e+"]")){if("onclick"===e&&i.is("a[href], :button, :image, :submit, :reset, :radio, :checkbox"))return a=!0,o.push({event:e+'="'+i.attr(e).replace(/'|"/g,""")+'"',expected:e,found:e}),!0;var n=t.constants.mouseKeyAssociations[e],s="avoid using"!==n&&i.is("["+n+"]");o.push({event:e+'="'+i.attr(e).replace(/'|"/g,""")+'"',expected:n,found:s}),s||(r=!1)}})),!1===r?(o.auto_observation="fix_at_source",t.testFailed(this,"scriptKeyboardEventsMouseOnly",t.classifications.FAILED_LOW_RISK,50,o)):a?t.testPassed(this,"scriptKeyboardEventsOnClick",t.classifications.VERIFY_LOW_PRIORITY,90,o):t.testPassed(this,"scriptKeyboardEventsFound",t.classifications.VERIFY_LOW_PRIORITY,90,o)}))},scriptKeyboardTrap:function(e){e.common.getContentElements("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptKeyboardTrapReview",e.classifications.VERIFY_HIGH_PRIORITY,0);var t=Object.keys(e.constants.mouseKeyAssociations).filter((function(t){return"avoid using"!==e.constants.mouseKeyAssociations[t]})).map((function(t){return"["+e.constants.mouseKeyAssociations[t]+"]"})).join(", ");e.common.getContentElements(t).each((function(){e.testPassed(this,"scriptKeyboardTrapReview",e.classifications.VERIFY_HIGH_PRIORITY,0)})),e.common.getContentElements("applet, object, embed").each((function(){e.testPassed(this,"scriptKeyboardTrapReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))},scriptExtendTimeLimit:function(e){e.common.getContentElements("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptExtendTimeLimitReview",e.classifications.VERIFY_HIGH_PRIORITY,0),e.common.getContentElements("applet, object, embed").each((function(){e.testPassed(this,"scriptExtendTimeLimitReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))},scriptPauseUpdates:function(e){e.common.getContentElements("marquee").each((function(){e.testFailed(this,"scriptPauseUpdatesMarquee",e.classifications.FAILED_HIGH_RISK,100,{auto_observation:"fix_at_source"})})),e.common.getContentElements("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptPauseUpdatesReview",e.classifications.VERIFY_HIGH_PRIORITY,0),e.common.getContentElements("applet, object, embed").each((function(){e.testPassed(this,"scriptPauseUpdatesReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))},mediaFlashing:function(e){e.html.find("script").length&&e.testPassed(e.common.getScannedContainer(),"mediaFlashingFoundScript",e.classifications.VERIFY_HIGH_PRIORITY,0),e.common.getContentElements("blink").each((function(){e.testFailed(this,"mediaFlashingFoundBlink",e.classifications.FAILED_HIGH_RISK,100,{auto_observation:"fix_at_source"})})),e.common.getContentElements('img[src$=".gif"]').each((function(){e.testPassed(this,"mediaFlashingFoundGIF",e.classifications.VERIFY_HIGH_PRIORITY,0)})),e.common.getContentElements("applet").each((function(){e.testPassed(this,"mediaFlashingFoundApplet",e.classifications.VERIFY_HIGH_PRIORITY,0)})),e.common.getContentElements("object").each((function(){e.testPassed(this,"mediaFlashingFoundObject",e.classifications.VERIFY_HIGH_PRIORITY,0)})),e.common.getContentElements("embed").not("object embed").each((function(){e.testPassed(this,"mediaFlashingFoundEmbed",e.classifications.VERIFY_HIGH_PRIORITY,0)}))},htmlSkipToMain:function(t){if(t.html.is("html")){var n={},i=t.common.getContentElements("a[href^='#']").not("a[href='#']").filter((function(){var e=t.common.getElementAccessibleName(this)||t.common.getElementText(this,".ae-new-window");return null!==e.match(/\bskip\b/i)||null!==e.match(/\bmain\b/i)}));if(0!==i.length){var o=i.prop("hash");if(o&&(n.anchor_target=o.substr(1).trim()),!n.anchor_target)return t.testPassed(i,"htmlSkipToMainReview",t.classifications.VERIFY_HIGH_PRIORITY,0);var r=t.common.escapeSelectorText(n.anchor_target),a=t.common.getContentElements("a[name='"+r+"']"),l=t.common.getContentElements("*[id='"+r+"']");return 0===a.length&&0===l.length?t.testFailed(i,"htmlSkipToMainInvalid",t.classifications.FAILED_LOW_RISK,75,n):t.testPassed(t.common.getScannedContainer(),"htmlSkipToMainFound",t.classifications.VERIFY_LOW_PRIORITY,90,n)}var c,u=e("main, .main, #main, #content, #main_content, *[role=main]");if(u.length>0&&(u.each((function(){var i=e(this).attr("id")||e(this).prev("a[name]").attr("name");if(i&&(c=t.common.getContentElements("a[href='#"+t.common.escapeSelectorText(i)+"']")).length)return n.main_anchor=i,!1})),c&&c.length))return t.testFailed(c,"htmlSkipToMainUnclear",t.classifications.FAILED_LOW_RISK,75,n);if(e("nav,ol,ul,dl,[role=navigation],iframe,#content,#main,.breadcrumb,#breadcrumb,#menu,.menu,.page,.page-wrapper,#page,#page_wrapper").length>0){var d=!1;return s.compliance&&(d=s.compliance["skipto_main-content-link"]),t.counter>0&&d?t.testPassed(t.common.getScannedContainer(),"htmlSkipToMainFound",t.classifications.VERIFY_LOW_PRIORITY,90,{fixedBy:"Product Config: Compliance Skip To Main Content Link"}):t.testFailed(t.common.getScannedContainer(),"htmlSkipToMainNotFound",t.classifications.FAILED_LOW_RISK,75)}}},htmlTitle:function(e){if(e.html.is("html")){var t=e.html.find("head title");if(0===t.length)return e.testFailed(e.common.getScannedContainer(),"htmlTitleNotFound",e.classifications.FAILED_HIGH_RISK,100,{auto_observation:"fix_at_source"});var n={};return n.title=t.text(),e.common.isPlaceholderText("title",n.title)?(n.auto_observation="fix_at_source",e.testFailed(e.common.getScannedContainer(),"htmlTitlePlaceholder",e.classifications.FAILED_HIGH_RISK,75,n)):e.testPassed(e.common.getScannedContainer(),"htmlTitleFound",e.classifications.VERIFY_LOW_PRIORITY,90,n)}},frameTitle:function(t){var n=[];t.common.getContentElements("frame, iframe").each((function(){var i={source:this.src||!1,src_attr:e(this).attr("src")},o=e(this).attr("title");return o?(i.title=o.trim(),t.common.isPlaceholderText("title",i.title)?t.testFailed(this,"frameTitlePlaceholder",t.classifications.FAILED_HIGH_RISK,75,i):-1!==n.indexOf(i.title)?t.testFailed(this,"frameTitleDuplicate",t.classifications.FAILED_LOW_RISK,75,i):(n.push(i.title),t.testPassed(this,"frameTitleFound",t.classifications.VERIFY_LOW_PRIORITY,75,i))):t.testFailed(this,"frameTitleNotFound",t.classifications.FAILED_HIGH_RISK,100,i)}))},linkTextContent:function(t){t.common.getAriaRoleElements("link").not(":has(img), map area[href], [name]").each((function(){var n={title:e(this).attr("title")||"",inner_text:t.common.getElementAccessibleName(this)||t.common.getElementText(this,".ae-new-window"),compliance:e(this).find(".ae-compliance-indent").text().trim()};return n.inner_text?t.common.isBadLinkText(n.inner_text)?t.testFailed(this,"linkTextContentNotDescriptive",t.classifications.FAILED_HIGH_RISK,75,n):t.common.isRedundant(n.title,n.inner_text)?t.testFailed(this,"linkTextContentRedundant",t.classifications.FAILED_LOW_RISK,75,n):n.inner_text.match(/^link\b/i)||n.inner_text.match(/\blink\W?$/i)?(n.auto_observation="fix_at_source",t.testFailed(this,"linkTextContentATRedundancy",t.classifications.FAILED_HIGH_RISK,100,n)):t.testPassed(this,"linkTextContentFound",t.classifications.VERIFY_LOW_PRIORITY,75,n):t.testFailed(this,"linkTextContentNotFound",t.classifications.FAILED_HIGH_RISK,100,n)}))},linkImgTextAlt:function(t){t.common.getAriaRoleElements("link").not("area").has("img").each((function(){var n=e(this),i=n.find("img"),o={title:n.attr("title")||"",source:i.prop("src"),src_attr:i.attr("src"),srcset:i.attr("srcset")||"",alt:i.attr("alt"),extra_text:t.common.getElementText(n,"img, .ae-new-window")};return void 0===o.alt?t.testFailed(this,"linkImgTextAltNotFound",t.classifications.FAILED_HIGH_RISK,100,o):o.extra_text+o.alt===""?t.testFailed(this,"linkImgTextAltBlank",t.classifications.FAILED_HIGH_RISK,100,o):""!==o.alt&&t.common.isPlaceholderText("alt",o.alt)||t.common.isBadLinkText(o.alt+o.extra_text)?t.testFailed(this,"linkImgTextAltPlaceholder",t.classifications.FAILED_HIGH_RISK,75,o):void 0===o.src_attr||!o.source||o.alt!==o.source&&o.alt!==o.source.split("/").pop()?t.common.isRedundant(o.title,o.extra_text,o.alt)?t.testFailed(this,"linkImgTextAltRedundant",t.classifications.FAILED_LOW_RISK,75,o):o.alt.match(/^link\b/i)||o.alt.match(/\blink\W?$/i)?(o.auto_observation="fix_at_source",t.testFailed(this,"linkImgTextAltATRedundancy",t.classifications.FAILED_HIGH_RISK,100,o)):t.testPassed(this,"linkImgTextAltFound",t.classifications.VERIFY_LOW_PRIORITY,75,o):t.testFailed(this,"linkImgTextAltFileName",t.classifications.FAILED_LOW_RISK,75,o)})),t.common.getContentElements("map area[href]").each((function(){var n=e(this).closest("map").attr("name");if(n){var i=t.common.getElements("img[usemap='#"+t.common.escapeSelectorText(n)+"']");if(0!==i.length){var o={source:i.prop("src"),src_attr:i.attr("src"),srcset:i.attr("srcset")||"",alt:i.attr("alt"),extra_text:t.common.getElementText(e(this),"img, .ae-new-window")};return void 0===o.alt?t.testFailed(i,"linkImgTextAltNotFound",t.classifications.FAILED_HIGH_RISK,100,o):o.extra_text+o.alt===""?t.testFailed(i,"linkImgTextAltBlank",t.classifications.FAILED_HIGH_RISK,100,o):""!==o.alt&&t.common.isPlaceholderText("alt",o.alt)||t.common.isBadLinkText(o.alt+o.extra_text)?t.testFailed(i,"linkImgTextAltPlaceholder",t.classifications.FAILED_HIGH_RISK,75,o):void 0===o.src_attr||!o.source||o.alt!==o.source&&o.alt!==o.source.split("/").pop()?t.common.isRedundant(o.extra_text,o.alt)?t.testFailed(i,"linkImgTextAltRedundant",t.classifications.FAILED_LOW_RISK,75,o):o.alt.match(/^link\b/i)||o.alt.match(/\blink\W?$/i)?(o.auto_observation="fix_at_source",t.testFailed(i,"linkImgTextAltATRedundancy",t.classifications.FAILED_HIGH_RISK,100,o)):t.testPassed(i,"linkImgTextAltFound",t.classifications.VERIFY_LOW_PRIORITY,75,o):t.testFailed(i,"linkImgTextAltFileName",t.classifications.FAILED_LOW_RISK,75,o)}}}))},linkDownloadableDocument:function(t){t.common.getAriaRoleElements("link").each((function(){var n,i,o={href:e(this).attr("href"),title:e(this).attr("title")||"",inner_text:t.common.getElementAccessibleName(this)||t.common.getElementText(this,".ae-new-window"),describedby:t.common.dereferenceAria(this,"aria-describedby")||"",compliance:e(this).find(".ae-compliance-indent").text().trim()};if(o.href){var r=(n=o.href,(i=n.split("/").pop())&&/\./.test(i)?".".concat(i.split(".").pop()):"");if(-1!==t.constants.document_extensions.indexOf(r))return o.expected=function(e){switch(e){case".pdf":return"PDF";case".doc":case".docx":return"Word";case".xls":case".xlsx":return"Excel";case".ppt":case".pps":case".pptx":case".ppsx":return"PowerPoint";default:return"Document"}}(r),o.inner_text.match(/open|download|file/i)&&o.inner_text.match(new RegExp(o.expected,"i"))||o.title.match(/open|download|file/i)&&o.title.match(new RegExp(o.expected,"i"))||o.describedby.match(/open|download|file/i)&&o.describedby.match(new RegExp(o.expected,"i"))?t.testPassed(this,"linkDownloadableDocumentFound",t.classifications.VERIFY_LOW_PRIORITY,75,o):t.testFailed(this,"linkDownloadableDocumentNoWarning",t.classifications.FAILED_LOW_RISK,75,o)}}))},formContextChange:function(t){t.common.getContentElements("form").each((function(){if(e(this).find("input:submit, button:submit, input:image").length>0)return t.testPassed(this,"formContextChangeSubmitButton",t.classifications.VERIFY_LOW_PRIORITY,75);e(this).find("select, input").filter("[onchange], [oninput]").each((function(){return t.testPassed(this,"formContextChangeReview",t.classifications.VERIFY_HIGH_PRIORITY,0)}))}))},formFieldGroup:function(t){var n={},i={};t.common.getContentElements("input").filter(":radio, :checkbox").each((function(){var t=e(this).attr("name");t&&(n[t]=n[t]||[],n[t].push(this),i[t]=i[t]||e(this).attr("type")||"checkbox")})),Object.keys(n).forEach((function(o){var r=e(n[o]),a={group_name:o,group_size:r.length,group_type:i[o]};if(a.group_size>1){var s="formFieldGroup"+(a.group_type.substr(0,1).toUpperCase()+a.group_type.substr(1).toLowerCase())+"Group";return a.has_fieldset=r.parents("fieldset").length>0,a.describedby=[],r.each((function(){var e=t.common.dereferenceAria(this,"aria-describedby");return e?(-1===a.describedby.indexOf(e)&&a.describedby.push(e),!0):(a.describedby=!1,!1)})),a.has_fieldset||a.describedby?t.testPassed(r,s+"Found",t.classifications.VERIFY_LOW_PRIORITY,90,a):t.testFailed(r,s+"NotFound",t.classifications.FAILED_LOW_RISK,50,a)}}))},formFieldLabel:function(t){t.common.getContentElements("input, select, textarea").each((function(){var n=e(this).attr("type");if(n&&(n=n.toLowerCase()),-1===t.constants.ignored_input_types.indexOf(n)){var i=t.common.getElementAccessibleName(this);if(!1===i){var o=e(this).attr("title");if(o)return t.testFailed(this,"formFieldLabelOnlyTitle",t.classifications.FAILED_LOW_RISK,75,{field_title:o});if(e(this).attr("aria-describedby"))return t.testFailed(this,"formFieldLabelAriaDescribedBy",t.classifications.FAILED_HIGH_RISK,100,{describedby:t.common.dereferenceAria(this,"aria-describedby")});var r=e(this).attr("placeholder");return r?t.testFailed(this,"formFieldLabelOnlyPlaceholderAttribute",t.classifications.FAILED_LOW_RISK,100,{field_placeholder:r}):t.testFailed(this,"formFieldLabelNotFound",t.classifications.FAILED_HIGH_RISK,100)}if(""===i)return t.testFailed(this,"formFieldLabelEmpty",t.classifications.FAILED_HIGH_RISK,75);var a={label_text:i};if(t.common.isPlaceholderText("label",i))return t.testFailed(this,"formFieldLabelPlaceholder",t.classifications.FAILED_HIGH_RISK,75,a);var s=e(this).parents("label"),l=e(this).attr("id");if(s.length>0){var c=s.attr("for");if(c&&l&&c.trim().toLowerCase()!==l.trim().toLowerCase()){var u={label_for:c,input_id:l};return c=t.common.escapeSelectorText(c),t.common.getElements("*[id='"+c+"']").filter("input, select, textarea").length>0?(u.auto_observation="fix_at_source",u.observation_notes="If there is a distinct need for this arrangement of label, then it can be justified within our verification system. Note that other vendors' scanning software may still mark this arrangement as a risk, but that justification can provide additional context. Otherwise, consider fixing the label reference."):(u.auto_observation="verified",u.observation_notes="Since the label element's 'for' attribute does not point to another input, there should not be any ambiguity about which element this label is for. Note that other vendors' scanning systems may still identify this as a risk, so consider removing this reference"),t.testFailed(this,"formFieldLabelSuspicious",t.classifications.FAILED_LOW_RISK,50,u)}}l&&""!==l.trim()&&(l=t.common.escapeSelectorText(l),s=s.add(t.common.getContentElements("label[for='"+l+"']")));var d=e(this).attr("aria-labelledby");return d&&""!==d.trim()&&(d=t.common.escapeSelectorText(d),s=s.add(t.common.getElements("*[id='"+d+"']"))),s.length>1?t.testFailed(this,"formFieldLabelMultiple",t.classifications.FAILED_HIGH_RISK,100,{auto_observation:"fix_at_source"}):t.testPassed(this,"formFieldLabelFound",t.classifications.VERIFY_LOW_PRIORITY,75,a)}})),t.common.getElements("label").each((function(){var n=e(this).attr("for")||"",i={},o=e(this).attr("role");return o&&(i.role=o,i.auto_observation="verified"),""===n.trim()?0===e(this).find("input, textarea, select").length?(i.role&&(i.observation_notes="The LABEL element has a ROLE of "+i.role+", and so an Assistive Technology will not read it as a form label. Note that other vendors' scanning software may not consider the ROLE when marking the orphaned label as a risk, so consider using a different element instead."),t.testFailed(this,"formFieldLabelOrphan",t.classifications.FAILED_LOW_RISK,75,i)):void 0:(i.label_for=n,0===t.common.getContentElements("*[id='"+t.common.escapeSelectorText(n)+"']").length?(i.role&&(i.observation_notes="The LABEL element has a ROLE of "+i.role+", and so the invalid FOR attribute should not impact how an Assistive Technology reads it. Note that other vendors' scanning software may not consider the ROLE when marking the invalid FOR as a risk, so consider fixing the reference if possible or removing it."),t.testFailed(this,"formFieldLabelOrphan",t.classifications.FAILED_LOW_RISK,75,i)):void 0)}))},htmlLandmarks:function(t){if(t.html.is("html")){var n=[],i={},o=t.common.getAriaRoleElements("banner");o.length>1?t.testFailed(o[1],"htmlLandmarksMultipleBanners",t.classifications.FAILED_HIGH_RISK,100):i.banner=o,o.each((function(){n.push(this)}));var r=t.common.getAriaRoleElements("contentinfo");r.length>1?t.testFailed(r[1],"htmlLandmarksMultipleContentinfo",t.classifications.FAILED_HIGH_RISK,100):i.contentinfo=r,r.each((function(){n.push(this)}));var a=t.common.getAriaRoleElements("main");a.length>1?t.testFailed(a[1],"htmlLandmarksMultipleMains",t.classifications.FAILED_HIGH_RISK,100):a.length>0&&(i.main=a),a.each((function(){n.push(this)}));var s=t.common.getAriaRoleElements("navigation"),l=[];s.each((function(){var e=t.common.getElementAccessibleName(this)||"unlabeled";if(-1!==l.indexOf(e))return t.testFailed(this,"htmlLandmarksMultipleNavs",t.classifications.FAILED_LOW_RISK,75,{label:e});l.push(e),n.push(this),t.testPassed(this,"htmlLandmarksFound",t.classifications.VERIFY_LOW_PRIORITY,75,{role:"navigation",label:e})}));var c=t.common.getAriaRoleElements("complementary");i.asides=[];var u=[];if(c.each((function(){var e=t.common.getElementAccessibleName(this)||"unlabeled";if(-1!==u.indexOf(e))return t.testFailed(this,"htmlLandmarksMultipleComplementary",t.classifications.FAILED_LOW_RISK,75,{label:e});i.asides.push(this),u.push(e),n.push(this)})),0===n.length)return t.testFailed(t.common.getScannedContainer(),"htmlLandmarksNotFound",t.classifications.FAILED_LOW_RISK,75,{auto_observation:"fix_at_source"});t.common.getContentElements("form, article, section[aria-label], section[aria-labelledby], section[title]").each((function(){n.push(this),e(this).is("form[role='search']")&&t.testPassed(this,"htmlLandmarksFound",t.classifications.VERIFY_LOW_PRIORITY,75,{role:"search",label:t.common.getElementAccessibleName(this)})})),Object.keys(i).forEach((function(o){e(i[o]).each((function(){var i={role:o,label:t.common.getElementAccessibleName(this)};return e(n).find(this).length>0?(i.auto_observation="fix_at_source",t.testFailed(this,"htmlLandmarksNested",t.classifications.FAILED_HIGH_RISK,100,i)):t.testPassed(this,"htmlLandmarksFound",t.classifications.VERIFY_LOW_PRIORITY,75,i)}))}))}},linkSamePageNotButton:function(e){e.common.getContentElementsNative("a").forEach((function(t){let n={};if(n.label=t.innerText.trim(),"button"===t.getAttribute("role"))return e.testPassed(t,"linkSamePageOrButtonIsValidSamePageLink",e.classifications.VERIFY_LOW_PRIORITY,75,n);{const i=t.getAttribute("href");if(null===i||""===i)return e.testFailed(t,"linkSamePageOrButtonShouldBeButton",e.classifications.FAILED_LOW_RISK,75,n);const o=/^#([^\/]|$)/;return 0===i.search(o)?e.testPassed(t,"linkSamePageOrButtonIsValidSamePageLink",e.classifications.VERIFY_LOW_PRIORITY,75,n):i.startsWith("javascript:")?e.testFailed(t,"linkSamePageOrButtonShouldBeButton",e.classifications.FAILED_LOW_RISK,75,n):e.testPassed(t,"linkSamePageOrButtonIsValidLink",e.classifications.VERIFY_LOW_PRIORITY,75,n)}}))},linkSamePageAnchor:function(e){e.common.getAriaRoleElements("link").filter("[href^='#']").not("[href='#']").each((function(){var t={},n=this.hash;if(void 0!==n&&(t.anchor_target=n.substr(1).trim()),t.anchor_target){var i=e.common.escapeSelectorText(t.anchor_target),o=e.common.getContentElements("a[name='"+i+"']"),r=e.common.getContentElements("*[id='"+i+"']");return 0===o.length&&0===r.length?e.testFailed(this,"linkSamePageAnchorInvalid",e.classifications.FAILED_LOW_RISK,75,t):e.testPassed(this,"linkSamePageAnchorFound",e.classifications.VERIFY_LOW_PRIORITY,75,t)}}))},buttonTextContent:function(t){t.common.getAriaRoleElements("button").each((function(){var n=t.common.getElementAccessibleName(this)||t.common.getElementText(this,".ae-new-window");if(!n)return t.testFailed(this,"buttonTextContentNotFound",t.classifications.FAILED_HIGH_RISK,100);var i={button_text:n};return-1!==t.constants.bad_button_text.indexOf(n)?t.testFailed(this,"buttonTextContentNotDescriptive",t.classifications.FAILED_HIGH_RISK,100,i):(i.title=e(this).attr("title"),t.common.isRedundant(i.title,i.button_text)?(i.auto_observation="fix_at_source",t.testFailed(this,"buttonTextContentRedundant",t.classifications.FAILED_LOW_RISK,75,i)):i.button_text.match(/^button\b/i)||i.button_text.match(/\bbutton\W?$/i)?(i.auto_observation="fix_at_source",t.testFailed(this,"buttonTextContentATRedundancy",t.classifications.FAILED_HIGH_RISK,100,i)):t.testPassed(this,"buttonTextContentFound",t.classifications.VERIFY_LOW_PRIORITY,75,i))}))},buttonAccessKey:function(t){var n=[],i={};t.common.getContentElements("[accesskey]").each((function(){var o=e(this).attr("accesskey");return 1!==o.length?(o.split(/\s+/).forEach((function(e){1===e.length&&-1===n.indexOf(e)&&n.push(e),i[e]&&(i[e]=null)})),t.testFailed(this,"buttonAccessKeyInvalid",t.classifications.FAILED_LOW_RISK,75,{accesskey:o})):-1!==n.indexOf(o)?(i[o]&&(i[o]=null),t.testFailed(this,"buttonAccessKeyDuplicate",t.classifications.FAILED_HIGH_RISK,100,{accesskey:o})):(i[o]=this,void n.push(o))})),Object.keys(i).forEach((function(e){i[e]&&t.testPassed(i[e],"buttonAccessKeyUnique",t.classifications.VERIFY_LOW_PRIORITY,75,{accesskey:e})}))}},n.test_groups={wcagSingleA:Object.keys(n.tests)},n}},5940:function(e,t){"use strict";t.Z=[{testGroup:"section508",testName:"mediaLiveCaptions",test:function(e){e.common.getAriaRoleElements("link").each((function(){this.href&&e.common.isMediaLink(this.href)&&e.testPassed(this,"mediaLiveCaptionsReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"section508",testName:"videoDescriptionTrack",test:function(e){e.common.getContentElements("a[href], iframe[src]").each((function(){var t=window.ae_jQuery(this).attr("href")||window.ae_jQuery(this).attr("src")||"";(t.match(/(youtu\.be)|(youtube(-nocookie)?\.com)/)||t.match(/vimeo\.com/))&&e.testPassed(this,"videoDescriptionTrackReview",e.classifications.VERIFY_HIGH_PRIORITY,0)})),e.common.getContentElements("video").each((function(){e.testPassed(this,"videoDescriptionTrackReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"section508",testName:"formFieldRequiredIndicator",test:function(e){var t=e.constants.requiredSelectors.join(", ");e.common.getContentElements("input, select, textarea").filter(t).each((function(){var t={},n=e.common.getElementLabel(this);if(n?t.label=n.text().toLowerCase().trim():window.ae_jQuery(this).attr("aria-labelledby")&&(t.label=e.common.dereferenceAria(this,"aria-labelledby")),t.label)return-1!==t.label.indexOf("*")?window.ae_jQuery(this).closest("form").contents().each((function(){var e=window.ae_jQuery(this).text();if(e.match(/\*|asterisk|star/i)&&e.match(/required/i))return t.marker_found="*",!1})):e.constants.required.some((function(e){if(-1!==t.label.indexOf(e))return t.marker_found=e,!0})),t.marker_found?e.testPassed(this,"formFieldRequiredIndicatorFound",e.classifications.VERIFY_LOW_PRIORITY,90,t):(t.auto_observation="fix_at_source",e.testFailed(this,"formFieldRequiredIndicatorNotFound",e.classifications.FAILED_LOW_RISK,50,t))}))}},{testGroup:"section508",testName:"fieldRequiredSelector",test:function(e){e.common.getContentElements("input, select, textarea").not("[required], [aria-required=true]").each((function(){var t={};if(t.label=e.common.getElementAccessibleName(this),t.label)return e.constants.required.some((function(n){if(new RegExp("\\b"+e.common.escapeRegExp(n)+"\\b","i").test(t.label))return t.marker_found=n,!0})),t.marker_found?e.testFailed(this,"fieldRequiredSelectorNeeded",e.classifications.FAILED_LOW_RISK,75,t):e.testPassed(this,"fieldRequiredSelectorNotNeeded",e.classifications.VERIFY_LOW_PRIORITY,75,t)}))}},{testGroup:"section508",testName:"fieldsetLegend",test:function(e){e.common.getContentElements("fieldset:has(legend)").each((function(){if(!window.ae_jQuery(this).find("legend").is("[role=presentation], [role=none], [aria-hidden=true]")){var t={legend_text:window.ae_jQuery(this).find("legend").eq(0).text().trim()};return""===t.legend_text?e.testFailed(this,"fieldsetLegendEmpty",e.classifications.FAILED_HIGH_RISK,100):e.common.isPlaceholderText("legend",t.legend_text)?e.testFailed(this,"fieldsetLegendPlaceholder",e.classifications.FAILED_HIGH_RISK,75,t):e.testPassed(this,"fieldsetLegendFound",e.classifications.VERIFY_LOW_PRIORITY,75,t)}}))}},{testGroup:"section508",testName:"selectOptgroup",test:function(e){e.common.getContentElements("select").each((function(){var t=window.ae_jQuery(this);if(!t.is("[role=presentation], [role=none], [aria-hidden=true]")){if(t.find("optgroup").length>0)return e.testPassed(this,"selectOptgroupFound",e.classifications.VERIFY_LOW_PRIORITY,75);var n=t.find("option"),i={option_count:n.length,select_name:t.attr("name")||"",select_id:t.attr("id")||""};if(i.option_count>40){var o=e.constants.optgroup_name_excludes.some((function(e){return-1!==i.select_id.toLowerCase().indexOf(e)||-1!==i.select_name.toLowerCase().indexOf(e)}));if(!o){var r=[];n.each((function(){var e=window.ae_jQuery(this).attr("value");e&&r.push(e.trim().toLowerCase());var t=window.ae_jQuery(this).text().trim().toLowerCase();t&&r.push(t)}));var a=/^\$?[\d.,]+%?$/;i.is_number_list=r.every((function(e){return a.test(e)})),o=i.is_number_list||e.constants.optgroup_option_excludes.some((function(e){if(e.every((function(e){return-1!==r.indexOf(e.toLowerCase())})))return i.options_matched=e.join(", "),!0}))}if(!o)return e.testFailed(this,"selectOptgroupNotFound",e.classifications.FAILED_LOW_RISK,75,i)}}}))}},{testGroup:"section508",testName:"formErrorPrevention",test:function(e){e.common.getContentElements("form").each((function(){return e.testPassed(this,"formErrorPreventionReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}}]},3580:function(e,t){"use strict";t.Z=[{testGroup:"wcag21DoubleA",testName:"formFieldMetadata",test:function(e){e.common.getContentElements("input, textarea, select").each((function(){var t;t=(t=window.ae_jQuery(this).is("input")?window.ae_jQuery(this).attr("type")||"text":this.nodeName).toLowerCase();var n=window.ae_jQuery(this).attr("autocomplete");n=n?n.split(" "):[];var i={};if(i.type=t,i.autocomplete=n,-1!==n.indexOf("off")||-1!==n.indexOf("on"))return"hidden"===t?e.testFailed(this,"formFieldMetadataBadAnchor",e.classifications.FAILED_HIGH_RISK,100,i):n.length>1?e.testFailed(this,"formFieldMetadataBadExpectation",e.classifications.FAILED_HIGH_RISK,100,i):e.testPassed(this,"formFieldMetadataReviewExpectation",e.classifications.VERIFY_HIGH_PRIORITY,0,i);if(n.length){var o=n.shift();if("section-"===o.substr(0,8)&&(i.section=o,o=n.shift()),"shipping"!==o&&"billing"!==o||(i.address_type=o,o=n.shift()),-1!==["home","work","mobile","fax","pager"].indexOf(o)&&(i.locational_data=o,o=n.shift()),i.field_name=o,n.length&&(i.unordered_tokens=n.join(" ")),i.unordered_tokens)return e.testFailed(this,"formFieldMetadataInvalidTokenOrder",e.classifications.FAILED_HIGH_RISK,100,i);var r=e.constants.autocomplete_field_names[i.field_name];if(!r)return e.testFailed(this,"formFieldMetadataInvalidFieldName",e.classifications.FAILED_HIGH_RISK,100,i);if(i.locational_data&&!r.locational)return e.testFailed(this,"formFieldMetadataInvalidTokenValue",e.classifications.FAILED_HIGH_RISK,100,i);var a=!1;return r.type!==t&&(i.expected_control=r.type,i.field_type=t,"textarea"===r.type&&"hidden"!==t&&"select"!==t&&(a=!0),-1===["text","search","hidden","select","textarea"].indexOf(t)&&(a=!0)),a?e.testFailed(this,"formFieldMetadataInvalidFieldType",e.classifications.FAILED_HIGH_RISK,100,i):e.testPassed(this,"formFieldMetadataValidAutocomplete",e.classifications.VERIFY_LOW_PRIORITY,75,i)}if("hidden"!==t){i.field_name=window.ae_jQuery(this).attr("name");var s=Object.keys(e.constants.autocomplete_field_names).some((function(t){var n=e.constants.autocomplete_field_names[t],o=[];if(n.fields.forEach((function(e){e.match(/\s/)?(o.push(e.replace(/\s/g,"")),o.push(e.replace(/\s/g,"-")),o.push(e.replace(/\s/g,"_"))):o.push(e)})),-1!==o.indexOf(i.field_name)){i.suggested_autocomplete="";var r=i.field_name.match(/shipping|billing/i);r&&(i.suggested_autocomplete+=r[0]+" ");var a=i.field_name.match(/home|work|mobile|fax|pager/i);return a?i.suggested_autocomplete+=a[0]+" ":-1!==i.field_name.indexOf("cell")?i.suggested_autocomplete+="mobile ":-1!==i.field_name.indexOf("office")&&(i.suggested_autocomplete+="work "),i.suggested_autocomplete+=t,!0}}));return s?e.testFailed(this,"formFieldMetadataNotFound",e.classifications.FAILED_LOW_RISK,75,i):e.testPassed(this,"formFieldMetadataReview",e.classifications.VERIFY_HIGH_PRIORITY,0,i)}}))}},{testGroup:"wcag21DoubleA",testName:"htmlContentZoom",test:function(e){var t=e.html.attr("style"),n=window.ae_jQuery(),i=e.html.outerHeight(),o=e.html.outerWidth();[2,3,4].forEach((function(t){e.html[0].style.width=Math.floor(100/t)+"%",e.html[0].style.transform="scale("+t+")",e.html[0].style.transformOrigin="0 0";var r=[],a=!1;window.ae_jQuery(e.common.getContentElementsNative(e.constants.tabbable)).not(n).each((function(){var i=this.getBoundingClientRect(),o={north:i.top,south:i.top+i.height,west:i.left,east:i.left+i.width};if(r.length&&(a=r.some((function(e){return o.weste.west&&o.northe.north}))),a)return n=n.add(this),e.testFailed(this,"htmlContentZoomCollision",e.classifications.FAILED_HIGH_RISK,100,{scale:t,auto_observation:"fix_at_source"}),!1;r.push(o)})),window.ae_jQuery(e.common.getContentElementsNative()).not(n).each((function(){var r=this.getBoundingClientRect(),a=this.offsetHeight*t,s=this.offsetWidth*t;r.top+a>i&&r.left+s>o&&(n=n.add(this),e.testFailed(this,"htmlContentZoomTwoAxisScroll",e.classifications.FAILED_LOW_RISK,75,{scale:t,auto_observation:"fix_at_source"}))}))})),e.html.attr("style",t||""),e.common.getContentElements().not(n).each((function(){e.testPassed(this,"htmlContentZoomReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcag21DoubleA",testName:"cssComponentContrast",test:function(e){e.common.getContentElements("a, input, select, button, [role='button'], [tabindex]").not("[tabindex='-1']").each((function(){var t={text_color:getComputedStyle(this).color,font_size:parseInt(getComputedStyle(this).fontSize,10),font_weight:getComputedStyle(this).fontWeight,border_color:getComputedStyle(this).borderColor,border_width:parseInt(getComputedStyle(this).borderWidth,10)||0};"rgba(0, 0, 0, 0)"!==getComputedStyle(this).backgroundColor&&"transparent"!==getComputedStyle(this).backgroundColor&&(t.background_color=getComputedStyle(this).backgroundColor);for(var n=this.parentNode;n.length>0;){if("rgba(0, 0, 0, 0)"!==getComputedStyle(n).backgroundColor&&"transparent"!==getComputedStyle(n).backgroundColor){t.surrounding_color=getComputedStyle(n).backgroundColor;break}if("HTML"===n.nodeName)break;n=n.parentNode}if(n.length>0){t.surrounding_element=n.nodeName.toLowerCase();var i=n.getAttribute("id"),o=n.getAttribute("class");if(i||o)i&&(t.surrounding_element+="#"+i),o&&(t.surrounding_element+="."+o.replace(/\s+/g,"."));else{var r=n.closest("[id]:not([id='']), [class]:not([class=''])");r&&(i=r.getAttribute("id"),o=r.getAttribute("class"),i?t.surrounding_element=r.nodeName.toLowerCase()+"#"+i+" "+t.surrounding_element:o&&(t.surrounding_element=r.nodeName.toLowerCase()+"."+o.replace(/\s+/g,".")+" "+t.surrounding_element))}}if((t.background_color||t.surrounding_color)&&(t.text_contrast=e.common.getColorContrast(t.text_color,t.background_color||t.surrounding_color),t.font_size>=22||t.font_size>=18&&"bold"===t.font_weight?t.min_text_contrast=3:t.min_text_contrast=4.5,t.text_contrast0){var a=0;if(t.background_color&&(t.border_background_contrast=e.common.getColorContrast(t.border_color,t.background_color),a=Math.max(a,t.border_background_contrast)),t.surrounding_color&&(t.border_surrounding_contrast=e.common.getColorContrast(t.border_color,t.surrounding_color),a=Math.max(a,t.border_surrounding_contrast)),t.border_width>=3?t.min_border_contrast=3:t.min_border_contrast=4.5,a=3?t.min_surrounding_contrast=3:t.min_surrounding_contrast=4.5,t.background_surrounding_contrasts.west&&is.north)return o=window.ae_jQuery(this),!1})),o)return e.testFailed(o,"htmlHoverVisibilityOverlap",e.classifications.FAILED_LOW_RISK,75);r||i.each((function(){e.testPassed(this,"htmlHoverVisibilityReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}}))}},{testGroup:"wcag21DoubleA",testName:"scriptAnimation",test:function(e){e.common.getContentElements("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptAnimationReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}},{testGroup:"wcag21DoubleA",testName:"scriptInputMechanisms",test:function(e){e.common.getContentElements("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptInputMechanismsReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}},{testGroup:"wcag21DoubleA",testName:"scriptDeviceOrientationLock",test:function(e){var t=!1,n=!1,i=e.html.prop("ownerDocument").styleSheets;[].slice.call(i).forEach((function(e){e.media&&(e.media.mediaText.match(/orientation:\s*landscape/)&&(t=!0),e.media.mediaText.match(/orientation:\s*portrait/)&&(n=!0));try{[].slice.call(e.rules).forEach((function(e){e instanceof CSSMediaRule&&e.conditionText&&(e.conditionText.match(/orientation:\s*landscape/)&&(t=!0),e.conditionText.match(/orientation:\s*portrait/)&&(n=!0))}))}catch(e){window.ae_jQuery.noop()}})),t&&!n||!t&&n?e.testFailed(e.common.getScannedContainer(),"scriptDeviceOrientationLockMediaQueries",e.classifications.FAILED_LOW_RISK,75,{auto_observation:"fix_at_source"}):e.common.getContentElements("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptDeviceOrientationLockReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}}]},4888:function(e,t){"use strict";t.Z=[{testGroup:"wcag21SingleA",testName:"scriptCharacterKey",test:function(e){e.html.find("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptCharacterKeyReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}},{testGroup:"wcag21SingleA",testName:"scriptPointerGesture",test:function(e){e.html.find("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptPointerGestureReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}},{testGroup:"wcag21SingleA",testName:"htmlAccessibleName",test:function(e){e.common.getContentElements("[aria-label]").each((function(){var t={label:window.ae_jQuery(this).attr("aria-label"),element_text:e.common.getElementText(this)};if(t.element_text){if(-1===t.element_text.indexOf(t.label))return e.testFailed(this,"htmlAccessibleNameMismatch",e.classifications.FAILED_LOW_RISK,90,t);e.testPassed(this,"htmlAccessibleNameMatches",e.classifications.VERIFY_LOW_PRIORITY,90)}}))}},{testGroup:"wcag21SingleA",testName:"scriptDeviceSensor",test:function(e){e.html.find("script").length&&e.testPassed(e.common.getScannedContainer(),"scriptDeviceSensorReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}}]},6904:function(e,t){"use strict";t.Z=[{testGroup:"wcagDoubleA",testName:"htmlColorCues",test:function(e){e.common.getAriaRoleElements("link").each((function(){var t=window.ae_jQuery(this),n=t.parent();t.css("text-decoration")===n.css("text-decoration")&&t.css("font-size")===n.css("font-size")&&t.css("font-face")===n.css("font-face")&&t.css("font-weight")===n.css("font-weight")&&e.testFailed(t,"htmlColorCuesLinkNoDecoration",e.classifications.FAILED_LOW_RISK,75,{auto_observation:"fix_at_source",auto_observation_record:!1})})),e.testPassed(e.common.getScannedContainer(),"htmlColorCuesReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}},{testGroup:"wcagDoubleA",testName:"interactiveElementKeyboardActivation",test:function(e){const t='button, a, select, textarea, input[type="checkbox"], input[type="radio"], input[type="button"]';document.querySelectorAll(`${t}, [role="button"], [role="link"], [role="checkbox"]`).forEach((function(n){return n.matches(t)?e.testPassed(n,"interactiveElementKeyboardActivationFound",e.classifications.VERIFY_LOW_PRIORITY,100):n.hasAttribute("onkeypress")?e.testPassed(n,"interactiveElementAtypicalKeyboardActivationFound",e.classifications.VERIFY_LOW_PRIORITY,90,{message:"key event found"}):e.testFailed(n,"interactiveElementAtypicalKeyboardActivationNotFound",e.classifications.VERIFY_HIGH_PRIORITY,90,{message:"key event not found"})}))}},{testGroup:"wcagDoubleA",testName:"cssContrast",test:function(e){var t={};e.common.getContentElements().find(e.constants.content_elements+", span, a, li, td, th, label").addBack().each((function(){if(0!==window.ae_jQuery(this).contents().filter((function(){return 3===this.nodeType&&""!==window.ae_jQuery(this).text().trim()})).length){for(var e,n,i=getComputedStyle(this).color,o=window.ae_jQuery(this);o.length;){var r=getComputedStyle(o[0]).backgroundImage;if(r.match(/url\(/)||r.match(/gradient\(/)){e=r;break}var a=getComputedStyle(o[0]).backgroundColor;if("rgba(0, 0, 0, 0)"!==a&&"transparent"!==a){e=a;break}if("absolute"!==getComputedStyle(o[0]).position&&"fixed"!==getComputedStyle(o[0]).position){if(o.is("html")){var s=o.prop("ownerDocument").defaultView.frameElement;if(!s)break;o=window.ae_jQuery(s)}o=window.ae_jQuery(o[0].parentNode)}else{var l,c,u={offset:o.offset(),height:o.height(),width:o.width()},d=window.ae_jQuery(o.prop("ownerDocument").body);do{l&&(d=l),(l=d.children().filter((function(){if(window.ae_jQuery(this).is(o)||window.ae_jQuery(this).is(":hidden"))return!1;var e=window.ae_jQuery(this).offset(),t=window.ae_jQuery(this).width(),n=window.ae_jQuery(this).height();return e.top<=u.offset.top&&(e.top+n>=u.offset.top+u.height||e.top+n>=u.offset.top+u.height/2||e.top+n/2>=u.offset.top+u.height)&&e.left<=u.offset.left&&e.left+t>=u.offset.left+u.width}))).length>1&&(c=null,l.each((function(){var e=parseInt(getComputedStyle(this).zIndex,10)||0;(!c||c.zIndex0);o=d}}if(e=e||"rgb(255, 255, 255)",o.length>0&&!1===o.is(this)){n=o.prop("nodeName").toLowerCase();var f=o.attr("id"),m=o.attr("class");if(f||m)f&&(n+="#"+f),m&&(n+="."+m.replace(/\s+/g,"."));else{var p=o.closest("[id]:not([id='']), [class]:not([class=''])");p&&(f=p.attr("id"),m=p.attr("class"),f?n=p.prop("nodeName").toLowerCase()+"#"+f+" "+n:m&&(n=p.prop("nodeName").toLowerCase()+"."+m.replace(/\s+/g,".")+" "+n))}}var h=e+"_"+i;n&&(h+="_"+n.replace(/\W+/g,"_")),t[h]||(t[h]={element:this,background:e,foreground:i},n&&(t[h].background_inherit=n))}})),Object.keys(t).forEach((function(n){var i=t[n];if(i.background.match(/url\(/))return e.testPassed(i.element,"cssContrastBackgroundImage",e.classifications.VERIFY_HIGH_PRIORITY,0,{foreground_color:i.foreground,background_image:i.background});var o,r=parseInt(getComputedStyle(i.element).fontSize.replace("px",""),10);o=r>=22||r>=18&&"bold"===getComputedStyle(i.element).fontWeight?3:4.5;var a,s={foreground_color:i.foreground,background_color:i.background,minumum_contrast:o};if(i.background_inherit&&(s.background_inherit=i.background_inherit),s.background_color.match(/gradient\(/)){var l=i.background.match(/rgba?\(\d+,\s?\d+,\s?\d+(?:,\s?(?:\d*\.)?\d+)?\)/g);if(!l||0===l.length)return;s.detected_gradient_contrasts=l.map((function(t){return{gradient_component_color:t,gradient_component_contrast:e.common.getColorContrast(i.foreground,t)}})),a=s.detected_gradient_contrasts.every((function(e){return e.gradient_component_contrast>=o}))}else s.detected_contrast=e.common.getColorContrast(i.foreground,i.background),a=s.detected_contrast>=o;if(!a){s.auto_observation="fix_at_source",s.auto_observation_record=!1;var c=window.ae_jQuery(i.element).text().replace(/\s/g,"");if(window.ae_jQuery(i.element).find(e.constants.content_elements+", a, li, td, th, label").each((function(){""!==window.ae_jQuery(this).text().trim()&&(window.ae_jQuery(this).is(":hidden")||getComputedStyle(this).color!==i.foreground||parseInt(getComputedStyle(this).textIndent.replace("px",""),10)<-100)&&(c=c.replace(window.ae_jQuery(this).text().replace(/\s/g,""),""))})),""===c)return;return e.testFailed(i.element,"cssContrastTooLow",e.classifications.FAILED_LOW_RISK,90,s)}return e.testPassed(i.element,"cssContrastSufficient",e.classifications.VERIFY_LOW_PRIORITY,90,s)}))}},{testGroup:"wcagDoubleA",testName:"linkAdjacent",test:function(e){e.common.getAriaRoleElements("link").each((function(){var t=e.common.getAriaRoleElements("link",this,"next");if(t.length>0){var n={href:window.ae_jQuery(this).attr("href")||!1,next_href:t.attr("href")||!1};return n.href&&"#"!==n.href&&"javascript:"!==n.href.substr(0,11)&&n.href===n.next_href?e.testFailed(this,"linkAdjacentSameHREF",e.classifications.FAILED_LOW_RISK,100):e.testPassed(this,"linkAdjacentMakesSenseInContext",e.classifications.VERIFY_LOW_PRIORITY,90)}}))}},{testGroup:"wcagDoubleA",testName:"linkHref",test:function(e){e.common.getContentElements("a").each((function(){return void 0!==window.ae_jQuery(this).attr("href")||window.ae_jQuery(this).attr("name")||window.ae_jQuery(this).attr("id")||window.ae_jQuery(this).attr("tabindex")||window.ae_jQuery(this).attr("role")?e.testPassed(this,"linkHrefExists",e.classifications.VERIFY_LOW_PRIORITY,90):e.testFailed(this,"linkHrefNone",e.classifications.FAILED_LOW_RISK,90)}))}},{testGroup:"wcagDoubleA",testName:"htmlDocumentLang",test:function(e){if(e.html.is("html")){var t=e.html.attr("lang");if(!t)return e.testFailed(e.html,"htmlDocumentLangNotFound",e.classifications.FAILED_HIGH_RISK,100);var n={html_lang:t};if(!n.html_lang.match(e.constants.langRegex))return n.auto_observation="fix_at_source",e.testFailed(e.html,"htmlDocumentLangNotStandard",e.classifications.FAILED_HIGH_RISK,75,n);var i=e.html.attr("xml:lang");return i&&(n.xml_lang=i,n.html_lang!==n.xml_lang)?(n.auto_observation="fix_at_source",e.testFailed(e.html,"htmlDocumentLangXMLDoesNotMatch",e.classifications.FAILED_HIGH_RISK,100,n)):e.testPassed(e.html,"htmlDocumentLangFound",e.classifications.VERIFY_LOW_PRIORITY,75,n)}}},{testGroup:"wcagDoubleA",testName:"htmlElementLang",test:function(e){e.common.getContentElements("[lang]").not("html").each((function(){return window.ae_jQuery(this).attr("lang").match(e.constants.langRegex)?e.testPassed(this,"htmlElementLangFound",e.classifications.VERIFY_LOW_PRIORITY,75):e.testFailed(this,"htmlElementLangNotStandard",e.classifications.FAILED_HIGH_RISK,75)}))}},{testGroup:"wcagDoubleA",testName:"htmlDoctype",test:function(e){if(e.html.is("html")){var t=e.html.prop("ownerDocument").doctype;if(null===t)return e.testFailed(e.html,"htmlDoctypeNotFound",e.classifications.FAILED_HIGH_RISK,100);var n={document_type:"<!DOCTYPE html"};t.publicId&&(n.document_type+=' PUBLIC "'+t.publicId+'"'),t.systemId&&(n.document_type+=' "'+t.publicId+'"'),n.document_type+=">",e.testPassed(e.html,"htmlDoctypeFound",e.classifications.VERIFY_LOW_PRIORITY,90,n)}}},{testGroup:"wcagDoubleA",testName:"htmlElementId",test:function(e){var t={};e.common.getContentElements("*[id]").each((function(){var e=window.ae_jQuery(this).attr("id").trim();e&&(t[e]||(t[e]=[]),t[e].push(this))})),Object.keys(t).forEach((function(n){var i={id:n,matches:t[n].length};if(t[n].length>1){var o=e.common.escapeSelectorText(n),r=window.ae_jQuery(t[n]),a=window.ae_jQuery("[aria-labelledby], [aria-describedby]").filter((function(){return-1!==(window.ae_jQuery(this).attr("aria-labelledby")||window.ae_jQuery(this).attr("aria-describedby")).indexOf(n)})).add("a[href^='#"+o+"']").add("label[for='"+o+"']");r.is("input, select, textarea")||a.length>0?e.testFailed(r.eq(1),"htmlElementIdDuplicate",e.classifications.FAILED_LOW_RISK,75,i):e.testPassed(r.eq(1),"htmlElementIdCheck",e.classifications.VERIFY_HIGH_PRIORITY,25,i)}else e.testPassed(window.ae_jQuery(t[n]),"htmlElementIdUnique",e.classifications.VERIFY_LOW_PRIORITY,90,i)}))}},{testGroup:"wcagDoubleA",testName:"htmlAriaRoles",test:function(e){Object.keys(e.constants.aria_global_attributes).forEach((function(t){var n=e.constants.aria_global_attributes[t];e.common.getElements("["+t+"]").each((function(){var i=window.ae_jQuery(this).attr(t)||"";i=i.toLowerCase(),"*"!==n&&("#"===n?isNaN(i)&&e.testFailed(this,"htmlAriaRolesInvalidValue",e.classifications.FAILED_HIGH_RISK,100,{expected_values:"number",found_value:i}):-1===n.indexOf(i)&&e.testFailed(this,"htmlAriaRolesInvalidValue",e.classifications.FAILED_HIGH_RISK,100,{expected_values:n.join(", "),found_value:i}))}))})),Object.keys(e.constants.aria_role_attributes).forEach((function(t){var n=e.constants.aria_role_attributes[t];e.common.getElements("["+t+"]").each((function(){var i,o=window.ae_jQuery(this),r=o.attr("role");if(r){if(!e.constants.aria_roles[r])return;i=e.constants.aria_roles[r].attributes}else Object.keys(e.constants.aria_roles).some((function(t){var n=e.constants.aria_roles[t].elements;if(n&&o.is(n))return i=e.constants.aria_roles[t].attributes,!0}));if(!i||-1===i.indexOf(t)){if(window.ae_jQuery(this).is("input")&&"aria-required"===t)return;return i=(i||[]).concat(Object.keys(e.constants.aria_global_attributes)),e.testFailed(this,"htmlAriaRolesAttributeNotAppropriate",e.classifications.FAILED_HIGH_RISK,100,{expected_attrs:i.join(", "),found_attr:t})}var a=window.ae_jQuery(this).attr(t)||"";a=a.toLowerCase(),"*"!==n&&("#"===n?isNaN(a)&&e.testFailed(this,"htmlAriaRolesInvalidValue",e.classifications.FAILED_HIGH_RISK,100,{expected_values:"number",found_value:a}):-1===n.indexOf(a)&&e.testFailed(this,"htmlAriaRolesInvalidValue",e.classifications.FAILED_HIGH_RISK,100,{expected_values:n.join(", "),found_value:a}))}))})),e.common.getElements("[aria-labelledby]").each((function(){var t=window.ae_jQuery(this);t.attr("aria-labelledby").split(" ").forEach((function(n){if(!n.trim())return e.testFailed(t,"htmlAriaRolesInvalidLabelledBy",e.classifications.FAILED_LOW_RISK,100,{id:"null"});var i=e.common.escapeSelectorText(n.trim());0===e.common.getElements("*[id='"+i+"']").length&&e.testFailed(t,"htmlAriaRolesInvalidLabelledBy",e.classifications.FAILED_LOW_RISK,100,{id:i})}))})),e.common.getElements("[aria-describedby]").each((function(){var t=window.ae_jQuery(this);t.attr("aria-describedby").split(" ").forEach((function(n){if(!n.trim())return e.testFailed(t,"htmlAriaRolesInvalidDescribedBy",e.classifications.FAILED_LOW_RISK,100,{id:"null"});var i=e.common.escapeSelectorText(n.trim());0===e.common.getElements("*[id='"+i+"']").length&&e.testFailed(t,"htmlAriaRolesInvalidDescribedBy",e.classifications.FAILED_LOW_RISK,100,{id:i})}))})),e.common.getElements("[role]").each((function(){var t=window.ae_jQuery(this),n=t.attr("role");if(n){n=n.toLowerCase();var i=e.constants.aria_roles[n];if("none"!==n&&"presentation"!==n){if(!i)return e.testFailed(this,"htmlAriaRolesInvalidRole",e.classifications.FAILED_HIGH_RISK,100,{role:n});if(i.required){var o=[];if(i.required.forEach((function(e){t.attr(e)||o.push(e)})),o.length)return e.testFailed(this,"htmlAriaRolesRoleMissingAttribute",e.classifications.FAILED_HIGH_RISK,100,{required_roles:o.join(", ")})}if(i.required_children){var r=[];if(i.required_children.forEach((function(e){"string"==typeof e?r.push(e):e.condition&&e.required&&t.is(e.condition)&&(r=r.concat(e.required))})),r.length){var a=window.ae_jQuery();if(r.forEach((function(i){a=a.add(e.common.getAriaRoleElements(i,t,!0).not((function(){return!1===window.ae_jQuery(this).closest("[role='"+n+"']").is(t)})))})),t.attr("aria-owns")&&t.attr("aria-owns").split(/\s+/).forEach((function(t){if(t.trim()){var n=e.common.escapeSelectorText(t.trim());a=a.add(e.common.getElements("*[id='"+n+"']").filter((function(){return-1!==r.indexOf(window.ae_jQuery(this).attr("role"))})))}})),0===a.length)return e.testFailed(this,"htmlAriaRolesRoleMissingChild",e.classifications.FAILED_HIGH_RISK,100,{required_children:r.join(", ")})}}if(i.required_parent){var s=[];if(i.required_parent.forEach((function(e){"string"==typeof e?s.push(e):e.condition&&e.required&&t.is(e.condition)&&(s=s.concat(e.required))})),s.length){var l=window.ae_jQuery();if(s.forEach((function(n){l=l.add(e.common.getAriaRoleElements(n,t,"parents",!0))})),t.attr("id")&&(l=l.add(e.common.getElements("[aria-owns]").filter((function(){var e=window.ae_jQuery(this).attr("aria-owns").split(" ");return-1!==s.indexOf(window.ae_jQuery(this).attr("role"))&&-1!==e.indexOf(t.attr("id"))})))),0===l.length)return e.testFailed(this,"htmlAriaRolesRoleMissingParent",e.classifications.FAILED_HIGH_RISK,100,{required_parent:s.join(", ")})}}return"combobox"===n?e.testPassed(this,"htmlAriaRolesComboBoxReview",e.classifications.VERIFY_HIGH_PRIORITY,0):"listbox"===n?e.testPassed(this,"htmlAriaRolesListBoxReview",e.classifications.VERIFY_HIGH_PRIORITY,0):"checkbox"===n?e.testPassed(this,"htmlAriaRolesCheckBoxReview",e.classifications.VERIFY_HIGH_PRIORITY,0):"radio"===n?e.testPassed(this,"htmlAriaRolesRadioReview",e.classifications.VERIFY_HIGH_PRIORITY,0):e.testPassed(this,"htmlAriaRolesFound",e.classifications.VERIFY_LOW_PRIORITY,0)}}})),e.common.getElements("*").each((function(){var t,n,i=[];for(t=0;t0?(t.auto_observation="verified",t.observation_notes="Since the underlined content is an actionable element, its text decoration is considered to be appropriate. Note that other vendors' scanning software may still mark this as a risk, but that can be considered to be a false-positive."):(t.auto_observation="fix_at_source",t.observation_notes="If there is a distinct presentational need for the underlined content, it can be justified via our verification system. Since other vendors' scanning software may mark this as a risk, that justification could provide additional context. Otherwise, consider using an alternate text decoration or style."),e.testFailed(this,"htmlSensoryTextAlternativeUnderline",e.classifications.FAILED_LOW_RISK,50,t)})),e.common.getContentElements().not(t).each((function(){e.testPassed(this,"htmlSensoryTextAlternativeReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"audioControls",test:function(e){e.common.getContentElements("audio").each((function(){e.testPassed(this,"audioControlsReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"htmlTextResize",test:function(e){e.common.getContentElements().each((function(){var t=!1;if(window.ae_jQuery(this).find(e.constants.content_elements+", span, a, li, td, th, label").addBack().each((function(){var n={font_size:window.ae_jQuery(this).css("font-size")};if(parseInt(n.font_size,10)<14)return t=!0,n.auto_observation="fix_at_source",n.auto_observation_record=!1,e.testFailed(this,"htmlTextResizeSmallFont",e.classifications.FAILED_LOW_RISK,75,n)})),!t)return e.testPassed(this,"htmlTextResizeReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"htmlStyledText",test:function(e){e.common.getContentElements().each((function(){return e.testPassed(this,"htmlStyledTextReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"htmlFocusSequence",test:function(e){var t=0,n=window.ae_jQuery();e.common.getContentElements(e.constants.tabbable,!0).each((function(){var i=parseInt(window.ae_jQuery(this).attr("tabindex")||"null");if(e.common.isAriaHidden(this)){if(-1===i)return e.testPassed(this,"htmlFocusSequenceInOrder",e.classifications.VERIFY_LOW_PRIORITY,90,{"aria-hidden":"true"});var o=window.ae_jQuery(this).closest("[aria-hidden='true'], [aria-visible='false']");if(-1===n.index(o)&&!1==o.parents().addBack().filter((function(){return"none"===window.ae_jQuery(this).css("display")})).length>0&&"false"!==o.attr("aria-expanded"))return n=n.add(o),e.testFailed(o,"htmlFocusSequenceAriaHiddenTabbable",e.classifications.FAILED_LOW_RISK,90)}if(!isNaN(i))return i>0?t>i?e.testFailed(this,"htmlFocusSequenceOutOfOrder",e.classifications.FAILED_LOW_RISK,75,{tabindex:i,previous_tabindex:t}):(t=i,e.testFailed(this,"htmlFocusSequencePositiveValue",e.classifications.FAILED_LOW_RISK,50,{tabindex:i})):e.testPassed(this,"htmlFocusSequenceInOrder",e.classifications.VERIFY_LOW_PRIORITY,90,{tabindex:i})}))}},{testGroup:"wcagDoubleA",testName:"htmlSitemap",test:function(e){e.common.getContentElements("a").filter(":contains(sitemap), :contains(site map), [href$='sitemap.html'], [href$='sitemap.xml']").eq(0).each((function(){return e.testPassed(this,"htmlSitemapFound",e.classifications.VERIFY_LOW_PRIORITY,75)}))}},{testGroup:"wcagDoubleA",testName:"headingSequence",test:function(e){var t;e.common.getAriaRoleElements("heading").each((function(n){var i,o={level:i=window.ae_jQuery(this).attr("aria-level")?parseInt(window.ae_jQuery(this).attr("aria-level")):parseInt(this.nodeName.substr(1)),previous_level:t};n>0&&(t+11?e.testFailed(n.get(0),"headingLevelOneCountMultiple",e.classifications.FAILED_LOW_RISK,75):e.testPassed(n.get(0),"headingLevelOneCountSingle",e.classifications.VERIFY_LOW_PRIORITY,90)}},{testGroup:"wcagDoubleA",testName:"htmlFocusVisible",test:function(e){var t=e.common.getContentElements("*[tabindex], a[href], area[href], input, select, textarea, button");t.length&&e.testPassed(t.get(0),"htmlFocusVisibleReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}},{testGroup:"wcagDoubleA",testName:"htmlFocusContext",test:function(e){e.common.getContentElements("select, input").filter("[onfocus]").each((function(){return e.testPassed(this,"htmlFocusContextReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"htmlComponentConsistency",test:function(e){e.common.getContentElements().each((function(){return e.testPassed(e.common.getScannedContainer(),"htmlComponentConsistencyReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"formFieldErrors",test:function(e){e.common.getContentElements("form").each((function(){return e.testPassed(this,"formFieldErrorsReview",e.classifications.VERIFY_HIGH_PRIORITY,0)}))}},{testGroup:"wcagDoubleA",testName:"htmlContentReflow",test:function(e){e.html.find("meta").filter("[name='viewport']").each((function(){var t=window.ae_jQuery(this).attr("content");if(/user-scalable=no/.test(t))return e.testFailed(this,"htmlContentReflowRestrictsZoom",e.classifications.FAILED_HIGH_RISK,100,{content:"user-scalable=no",auto_observation:"fix_at_source"});var n=/maximum-scale=(\d+(?:\.\d+)?)/.exec(t);return n&&(n=parseFloat(n[1]))<2?e.testFailed(this,"htmlContentReflowRestrictsZoom",e.classifications.FAILED_HIGH_RISK,100,{content:"maximum-scale="+n,expected:"maximum-scale=2",auto_observation:"fix_at_source"}):e.testPassed(this,"htmlContentReflowAdequateZoom",e.classifications.VERIFY_LOW_PRIORITY,75)}))}}]},2602:function(e,t){"use strict";var n=AudioEye.productConfig,i={"aria-expanded":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-expanded");return e?s(e):void 0}},"aria-orientation":{configurable:!0,get:function(){return l(this.elem.getAttribute("aria-orientation"),["horizontal","vertical"])||void 0}},"aria-required":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-required");return e?s(e):this.elem.required}},"aria-readonly":{configurable:!0,get:function(){return s(this.elem.getAttribute("aria-readonly"))}},"aria-activedescendant":{configurable:!0,get:function(){return this.elem.getAttribute("aria-activedescendant")}},"aria-autocomplete":{configurable:!0,get:function(){return l(this.elem.getAttribute("aria-autocomplete"),["inline","list","both"])||"none"}},"aria-multiline":{configurable:!0,get:function(){return s(this.elem.getAttribute("aria-multiline"))}},"aria-placeholder":{configurable:!0,get:function(){return this.elem.getAttribute("aria-placeholder")}},"aria-selected":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-selected");return e?s(e):this.elem.selected}},"aria-checked":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-checked");if(e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;case"mixed":return"mixed";default:return}}},"aria-posinset":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-posinset");return parseInt(e)||void 0}},"aria-setsize":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-setsize");return parseInt(e)||void 0}},"aria-pressed":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-pressed");if(e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;case"mixed":return"mixed";default:return}}},"aria-level":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-level");return parseInt(e)||void 0}}},o={};function r(e){var t=0;return e.tag&&t++,e.attributes?(e.attributes.forEach((function(e){t+=e.length})),t):t}function a(e){var t=e.nodeName;if(!t)return!1;t=t.toLowerCase();var n,i=(n=t,Object.keys(o).ae_reduce((function(e,t){var i=o[t].implicit_html;return i?(i.forEach((function(i){i.tag===n&&e.push({tag:i.tag,attributes:i.attributes,role:o[t].role})})),e):e}),[]));if(!i.length)return null;i.sort((function(e,t){return r(t)-r(e)}));for(var a=0,s=i.length;a-1?t.split(" "):[t];var n=[];return t.forEach((function(e){1===window.ae_jQuery("#"+e).length&&n.push(e)})),n}(e)),t||(p=null),function(e){if(3===e.nodeType)return!1;if(!function(e){return 0!=(e=window.ae_jQuery(e)).parentsUntil(window.ae_jQuery(document.body).add("html")).addBack().filter((function(){var e=window.ae_jQuery(this).css("visibility"),t=window.ae_jQuery(this).css("display");return"hidden"===e||"none"===t})).length}(e))return!1;var t=e.id,n=!!t&&window.ae_jQuery('[aria-labelledby="'+t+'"]').length>0,i=!!t&&window.ae_jQuery('[for="'+t+'"]').length>0;return!n&&!i}(e))return null;var o=v(e);return 0!=o&&(null===p?p=o:p+=" "+o),!t&&i.length?(i.forEach((function(e){var t=h(document.getElementById(e),!0);null!=t&&(null===p?p=t:p+=" "+t)})),b(e,p)):e.getAttribute&&e.getAttribute("aria-label")&&e.getAttribute("aria-label").trim()?t&&y(e)?b(e,n=g(e)):(n=e.getAttribute("aria-label"),b(e,n)):function(e){return(!e.getAttribute||"presentation"!==e.getAttribute("role")&&"none"!==e.getAttribute("role"))&&(!("IMG"!==e.tagName||!e.getAttribute||!e.getAttribute("alt"))||(!("IMG"!==e.tagName||!e.getAttribute||!e.getAttribute("alt"))||(!(!e.getAttribute||"IFRAME"!==e.tagName||!e.getAttribute("title"))||!(!e.id||!document.querySelectorAll('[for="'+e.id+'"]').length))))}(e)?function(e){if(e.getAttribute&&"IMG"===e.tagName&&e.getAttribute("alt"))return e.getAttribute("alt");if(e.getAttribute&&"IMG"===e.tagName&&e.getAttribute("title"))return e.getAttribute("title");if(e.getAttribute&&"IFRAME"===e.tagName&&e.getAttribute("title"))return e.getAttribute("title");var t=e.id;return t&&document.querySelector('[for="'+t+'"]').length?document.querySelector('[for="'+t+'"]').textContent:void 0}(e):function(e){var t=y(e);if(!t)return!1;var n=(e=window.ae_jQuery(e)).parents("label").length>0,i=e.attr("id"),o=window.ae_jQuery('[labelledby="'+i+'"]').length>0,r=e.prop("tagName");if(t&&(n||o)){if("TEXTAREA"===r)return!0;if("INPUT"===r&&"text"===e.attr("type"))return!0;if("BUTTON"===r)return!0;if("SELECT"===r)return!0;if("INPUT"===r&&"range"===e.attr("type"))return!0}return!1}(e)?g(e):function(e){if(function(e){var t={"a:href":"link",area:"link",button:"button",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",li:"listitem","input:radio":"radio","input:submit":"button","input:image":"button","input:reset":"button","input:button":"button",option:"option"};if(3===e.nodeType)return!0;var n=["button","checkbox","columnheader","directory","gridcell","heading","link","listitem","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowgroup","rowheader","section","sectionhead","tab","tooltip","treeitem"];if(window.ae_jQuery(e).attr("role")){var i=window.ae_jQuery(e).attr("role");return n.indexOf(i.toLowerCase())>-1}var o=null;return e.tagName&&"INPUT"===e.tagName?o="input:"+window.ae_jQuery(e).attr("type"):e.tagName&&"A"===e.tagName?o="a"+(e.getAttribute("href")?":href":""):e.tagName&&(o=e.tagName.toLowerCase()),!!(o&&t[o]&&n.indexOf(t[o].toLowerCase())>-1)}(e))return!0;var t=(e=window.ae_jQuery(e)).attr("id");return window.ae_jQuery('[labelledby="'+t+'"]').length>0||"LABEL"===e.prop("tagName")||!!e.parents("label").length}(e)?function(e){if(3===e.nodeType)return e.textContent;var t="";v((e=window.ae_jQuery(e))[0])&&(t=v(e[0]));for(var n=e[0].childNodes,i=0;i0,n=e.attr("id"),i=window.ae_jQuery('[labelledby="'+n+'"]').length>0,o="",r=e.prop("tagName");if(t||i)if("TEXTAREA"===r)o=e.val();else if("INPUT"===r&&"text"===e.attr("type"))o=e.val();else if("BUTTON"===r)o=h(e[0],!0);else if("SELECT"===r){var a=e.find("option:selected")[0];o=a?h(a,!0):null}else"INPUT"===r&&"range"===e.attr("type")&&(o=e.attr("aria-valuetext")?e.attr("aria-valuetext"):e.attr("aria-valuenow")?e.attr("aria-valuenow"):e.val());return o}function y(e){return 3!==e.nodeType&&["input","textbox","textarea","button","combobox","option","range","spinbutton","slider"].indexOf(e.tagName.toLowerCase())>-1}function v(e){if(!e.isConnected)return!1;if(3===e.nodeType)return!1;var t=!1;try{t="none"!=(t=window.getComputedStyle(e,":before").getPropertyValue("content"))&&"string"==typeof t&&t.substring(1,t.length-1)+" "}catch(t){console.log("ERROR: "+t+" , in cssBefore on element: ",e)}return t}function b(e,t){var n=function(e){if(!e.isConnected)return!1;if(3===e.nodeType)return!1;var t=!1;try{t="none"!=(t=window.getComputedStyle(e,":after").getPropertyValue("content"))&&"string"==typeof t&&t.substring(1,t.length-1)}catch(t){console.log("ERROR: "+t+" , in cssAfter on element: ",e)}return t}(e);return n?t+" "+n:t}var w={getRole:function(e){var t,n,i;return!!e&&(e.jquery&&(e=e[0]),(i=(t=e.getAttribute("role")||a(e))&&(n=c(t))?Object.create(n):Object.create(o.roletype)).elem=e,i.role)},containsAccessibleText:function(e){if(e.find("img[alt]").addBack("img[alt]").length)return!0;if(e.find("[aria-label]").addBack("[aria-label]").filter((function(){return window.ae_jQuery(this).attr("aria-label").length>0})).length)return!0;var t=this.elementWithValidAttr(e,"aria-describedby"),n=this.elementWithValidAttr(e,"aria-labelledby");return!(!t&&!n&&!e.safeText().length)},elementWithValidAttr:function(e,t){return e.find("["+t+"]").addBack("["+t+"]").filter((function(){return window.ae_jQuery("#"+window.ae_jQuery(this).attr(t)).text().length>0})).length>0},queryByRole:function(e,t,n){var i=window.ae_jQuery();if(!t||!n)return!1;if(n=window.ae_jQuery(n),t=t.toLowerCase(),!window.ae_jQuery.isFunction(n[e]))throw new Error('element does not have jquery method "'+e+'"');if(-1!==["has"].indexOf(e))throw new Error('Method "'+e+'" not allowed.');return i=i.add(n[e](m(t))),d(t).forEach((function(o){var r=n[e](o.tag).filter((function(){return f(window.ae_jQuery(this),o,t)}));r.length&&(i=i.add(r))})),i},roleFactory:function(e){return!!o[e]&&Object.create(o[e])},getAccessibleName:function(e){return p=null,p=(p=(p=h(e,!1))?p.replace(/\s\s+/g," "):p)?p.trim():p}};!function(){for(var e in o){var t=Object.getPrototypeOf(o[e]);t.role&&(o[t.role].hasOwnProperty("subroles")||(o[t.role].subroles=[]),o[t.role].subroles.push(e))}}(),n&&n.testmode&&window.testScope&&(window.testScope.ARIA={implicit_role:a,get_implicit_html_by_role:d,has_required_attributes:u,matches_html_and_role:f,get_explicit_role_selector:m,Roles:o}),t.Z=w},3204:function(e,t){"use strict";var n={init:function(){n.builderIsInstalled()||this._noop()},builderIsInstalled:function(){return!(!window.AudioEye||!AudioEye._builderExtensionAvailable)},remsFirstTimeStart:function(){window.dispatchEvent(new CustomEvent("RemediationsStart"))},observeSingleRem:function(){window.dispatchEvent(new CustomEvent("watch-for-changes",{detail:{observing:!0}}))},finishObserveSingleRem:function(e,t,n){window.dispatchEvent(new CustomEvent("ae-remediation-end",{detail:{name:e,fN:t,type:n}}))},sendLifecycleEvent:function(e){window.dispatchEvent(new CustomEvent("AudioEyeLifeCycleEvent",{detail:{lifecycleevent:!0,lifecyclemessage:e.message,eventTime:e.eventTime||(new Date).getTime()}}))},_noop:function(){Object.getOwnPropertyNames(n).forEach((function(e){n[e]=function(){}}))}};t.Z=n},807:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(4918),o=n(2399),r=n(7668),a=n(2602),s=n(4421),l=AudioEye.productConfig,c=new i.Z("carousels"),u={classes:{all_slides:"ae-carousel-slide",inactive_slide:"ae-carousel-inactive-slide",original:"carousel-original",popup:"ae-carousel-popup",inner_container:"ae-carousel-popup-inner",modal_active:"carousel-modal-active",list:"ae-carousel-list"},globalSettings:{_defaults:{"width-reference":"window","width-ratio":1,"margin-width":0,"set-inner-width":!0},getters:null,get:function(e){if(this.getters&&window.ae_jQuery.isFunction(this.getters[e])){var t=this.getters[e]();if(void 0!==t)return t}return this._defaults[e]}},isMarkedCarousel:function(e){return s.ZP.is(window.ae_jQuery(e),u.classes.original)},getConfig:function(e){if(!1===Array.isArray(l.carousels))return l.carousels;var t=e.attr("data-ae-carousel-index");return l.carousels[t]||(c.info("No carousel config found for index: "+t),!1)},isModalOpen:function(){return window.ae_jQuery(s.ZP.selector(this.classes.modal_active)).length>0},activeModal:function(){return window.ae_jQuery("."+this.classes.popup)},isMatch:function(e,t){var n=t.data("carouselOriginal");return!(!n||!n.is(e))},getAccessibleCarouselLink:function(e){return e&&e.length?window.ae_jQuery(e).data("ae_accessible_carousel_link"):(c.error("Cannot get the popup associated to carousel"),!1)},getPopup:function(e){return e&&e.length?window.ae_jQuery(e).data("ae_carousel_popup"):(c.error("Cannot get the popup associated with the carousel"),!1)},destroy:function(e){if(!e||!e.length)return c.error("Cannot destroy carousel - no element passed"),!1;var t=this.getPopup(e),n=this.getAccessibleCarouselLink(e);t&&t.remove(),n&&n.remove(),window.ae_jQuery(document.body).find("#ae-modal-overlay").remove()},build:function(e,t){const n=window.AudioEye.i18n;if(o.Z.dispatchEvent("BeforeCarouselBuild"),t=window.ae_jQuery.extend({loopTabs:!1},t),!(e=window.ae_jQuery(e)).length)return c.error("Cannot build carousel - no element passed"),!1;o.Z.isModuleActive("reader")||s.ZP.set(window.ae_jQuery(document.body),this.classes.modal_active);var i=u.getConfig(e);if(e.next().hasClass(this.classes.popup))return u.redraw(e.next()),e.next();var r=u.buildSlides(e,i.slides,i["click-proxy"]);if(!r)return!1;var a=u.buildPopup(r).insertAfter(e);e.data("ae_carousel_popup",a),u.associateOrig(a,e),window.ae_jQuery("#ae_app").register("BeforeModuleActivate.carousel",u.handleModuleActivateEvents),window.ae_jQuery("#ae_app").register("AfterModuleDeactivate.carousel",u.handleModuleDeactivateEvents),t.loopTabs&&a.register("keydown.carousels",o.Z.loopTabs);var l=u.buildIteratorControls("prev",n.t("prev_slide",{ns:"carousel"})),d=u.buildIteratorControls("next",n.t("next_slide",{ns:"carousel"})),f=u.buildTopInfo();a.children().wrapAll('