wsv3cdn.audioeye.com Open in urlscan Pro
2606:4700::6812:1c9b  Public Scan

URL: https://wsv3cdn.audioeye.com/static-scripts/v2/465f646de/compliance.bundle.js
Submission Tags: falconsandbox
Submission: On November 23 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

"use strict";(self.AudioEyeWebpackJsonp=self.AudioEyeWebpackJsonp||[]).push([[878],{3825:function(e,t,n){function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,{Z:function(){return Ye},m:function(){return Ve}});const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,a=(s=Object.create(null),e=>{const t=o.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:l}=Array,d=c("undefined"),f=u("ArrayBuffer"),p=c("string"),m=c("function"),h=c("number"),y=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==a(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=u("Date"),g=u("File"),E=u("Blob"),_=u("FileList"),v=u("URLSearchParams");function R(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),l(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function S(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,O=e=>!d(e)&&e!==A,T=(j="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>j&&e instanceof j);var j;const k=u("HTMLFormElement"),C=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),x=u("RegExp"),N=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};R(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},L="abcdefghijklmnopqrstuvwxyz",P="0123456789",B={DIGIT:P,ALPHA:L,ALPHA_DIGIT:L+L.toUpperCase()+P},F=u("AsyncFunction");var D={isArray:l,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=a(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer),t},isString:p,isNumber:h,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:w,isUndefined:d,isDate:b,isFile:g,isBlob:E,isRegExp:x,isFunction:m,isStream:e=>y(e)&&m(e.pipe),isURLSearchParams:v,isTypedArray:T,isFileList:_,forEach:R,merge:function e(){const{caseless:t}=O(this)&&this||{},n={},r=(r,o)=>{const i=t&&S(n,o)||o;w(n[i])&&w(r)?n[i]=e(n[i],r):w(r)?n[i]=e({},r):l(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&R(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:o}={})=>(R(t,((t,o)=>{n&&m(t)?e[o]=r(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,a,s;const u={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],r&&!r(s,e,t)||u[s]||(t[s]=e[s],u[s]=!0);e=!1!==n&&i(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!h(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:k,hasOwnProperty:C,hasOwnProp:C,reduceDescriptors:N,freezeMethods:e=>{N(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return l(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:S,global:A,isContextDefined:O,ALPHABET:B,generateString:(e=16,t=B.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=l(e)?[]:{};return R(e,((e,t)=>{const i=n(e,r+1);!d(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:F,isThenable:e=>e&&(y(e)||m(e))&&m(e.then)&&m(e.catch)};function U(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}D.inherits(U,Error,{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:D.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Q=U.prototype,M={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{M[e]={value:e}})),Object.defineProperties(U,M),Object.defineProperty(Q,"isAxiosError",{value:!0}),U.from=(e,t,n,r,o,i)=>{const a=Object.create(Q);return D.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),U.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var I=U;function Z(e){return D.isPlainObject(e)||D.isArray(e)}function q(e){return D.endsWith(e,"[]")?e.slice(0,-2):e}function z(e,t,n){return e?e.concat(t).map((function(e,t){return e=q(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const $=D.toFlatObject(D,{},null,(function(e){return/^is[A-Z]/.test(e)}));var H=function(e,t,n){if(!D.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!D.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&D.isSpecCompliantForm(t);if(!D.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(D.isDate(e))return e.toISOString();if(!s&&D.isBlob(e))throw new I("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(e)||D.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(D.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(D.isArray(e)&&function(e){return D.isArray(e)&&!e.some(Z)}(e)||(D.isFileList(e)||D.endsWith(n,"[]"))&&(s=D.toArray(e)))return n=q(n),s.forEach((function(e,r){!D.isUndefined(e)&&null!==e&&t.append(!0===a?z([n],r,i):null===a?n:n+"[]",u(e))})),!1;return!!Z(e)||(t.append(z(o,n,i),u(e)),!1)}const l=[],d=Object.assign($,{defaultVisitor:c,convertValue:u,isVisitable:Z});if(!D.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!D.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),D.forEach(n,(function(n,i){!0===(!(D.isUndefined(n)||null===n)&&o.call(t,n,D.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),l.pop()}}(e),t};function J(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function W(e,t){this._pairs=[],e&&H(e,this,t)}const K=W.prototype;K.append=function(e,t){this._pairs.push([e,t])},K.toString=function(e){const t=e?function(t){return e.call(this,t,J)}:J;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var V=W;function G(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function X(e,t,n){if(!t)return e;const r=n&&n.encode||G,o=n&&n.serialize;let i;if(i=o?o(t,n):D.isURLSearchParams(t)?t.toString():new V(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var Y=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){D.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ee={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},te={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:V,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},ne=function(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&D.isArray(r)?r.length:i,s?(D.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&D.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&D.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(D.isFormData(e)&&D.isFunction(e.entries)){const n={};return D.forEachEntry(e,((e,r)=>{t(function(e){return D.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const re={transitional:ee,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=D.isObject(e);if(o&&D.isHTMLForm(e)&&(e=new FormData(e)),D.isFormData(e))return r&&r?JSON.stringify(ne(e)):e;if(D.isArrayBuffer(e)||D.isBuffer(e)||D.isStream(e)||D.isFile(e)||D.isBlob(e))return e;if(D.isArrayBufferView(e))return e.buffer;if(D.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return H(e,new te.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return te.isNode&&D.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=D.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return H(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(D.isString(e))try{return(0,JSON.parse)(e),D.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||re.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&D.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw I.from(e,I.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:te.classes.FormData,Blob:te.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],(e=>{re.headers[e]={}}));var oe=re;const ie=D.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ae=Symbol("internals");function se(e){return e&&String(e).trim().toLowerCase()}function ue(e){return!1===e||null==e?e:D.isArray(e)?e.map(ue):String(e)}function ce(e,t,n,r,o){return D.isFunction(r)?r.call(this,t,n):(o&&(t=n),D.isString(t)?D.isString(r)?-1!==t.indexOf(r):D.isRegExp(r)?r.test(t):void 0:void 0)}class le{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=se(t);if(!o)throw new Error("header name must be a non-empty string");const i=D.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ue(e))}const i=(e,t)=>D.forEach(e,((e,n)=>o(e,n,t)));return D.isPlainObject(e)||e instanceof this.constructor?i(e,t):D.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ie[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=se(e)){const n=D.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(D.isFunction(t))return t.call(this,e,n);if(D.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=se(e)){const n=D.findKey(this,e);return!(!n||void 0===this[n]||t&&!ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=se(e)){const o=D.findKey(n,e);!o||t&&!ce(0,n[o],o,t)||(delete n[o],r=!0)}}return D.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!ce(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return D.forEach(this,((r,o)=>{const i=D.findKey(n,o);if(i)return t[i]=ue(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=ue(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return D.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&D.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ae]=this[ae]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=se(e);t[r]||(function(e,t){const n=D.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return D.isArray(e)?e.forEach(r):r(e),this}}le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),D.reduceDescriptors(le.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),D.freezeMethods(le);var de=le;function fe(e,t){const n=this||oe,r=t||n,o=de.from(r.headers);let i=r.data;return D.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function pe(e){return!(!e||!e.__CANCEL__)}function me(e,t,n){I.call(this,null==e?"canceled":e,I.ERR_CANCELED,t,n),this.name="CanceledError"}D.inherits(me,I,{__CANCEL__:!0});var he=me,ye=te.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),D.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),D.isString(r)&&a.push("path="+r),D.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function we(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var be=te.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=D.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function ge(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];o||(o=u),n[i]=s,r[i]=u;let l=a,d=0;for(;l!==i;)d+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const f=c&&u-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,u=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const Ee={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=de.from(e.headers).normalize(),i=e.responseType;let a,s;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}D.isFormData(r)&&(te.isStandardBrowserEnv||te.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?D.isString(s=o.getContentType())&&o.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const l=we(e.baseURL,e.url);function d(){if(!c)return;const r=de.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new I("Request failed with status code "+n.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),u()}),(function(e){n(e),u()}),{data:i&&"text"!==i&&"json"!==i?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),X(l,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new I("Request aborted",I.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new I("Network Error",I.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ee;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new I(t,r.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,e,c)),c=null},te.isStandardBrowserEnv){const t=be(l)&&e.xsrfCookieName&&ye.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&D.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),D.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&"json"!==i&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",ge(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",ge(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new he(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l);f&&-1===te.protocols.indexOf(f)?n(new I("Unsupported protocol "+f+":",I.ERR_BAD_REQUEST,e)):c.send(r||null)}))}};D.forEach(Ee,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const _e=e=>`- ${e}`,ve=e=>D.isFunction(e)||null===e||!1===e;var Re=e=>{e=D.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!ve(n)&&(r=Ee[(t=String(n)).toLowerCase()],void 0===r))throw new I(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(_e).join("\n"):" "+_e(e[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Se(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new he(null,e)}function Ae(e){return Se(e),e.headers=de.from(e.headers),e.data=fe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Re(e.adapter||oe.adapter)(e).then((function(t){return Se(e),t.data=fe.call(e,e.transformResponse,t),t.headers=de.from(t.headers),t}),(function(t){return pe(t)||(Se(e),t&&t.response&&(t.response.data=fe.call(e,e.transformResponse,t.response),t.response.headers=de.from(t.response.headers))),Promise.reject(t)}))}const Oe=e=>e instanceof de?e.toJSON():e;function Te(e,t){t=t||{};const n={};function r(e,t,n){return D.isPlainObject(e)&&D.isPlainObject(t)?D.merge.call({caseless:n},e,t):D.isPlainObject(t)?D.merge({},t):D.isArray(t)?t.slice():t}function o(e,t,n){return D.isUndefined(t)?D.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!D.isUndefined(t))return r(void 0,t)}function a(e,t){return D.isUndefined(t)?D.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(Oe(e),Oe(t),!0)};return D.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=u[r]||o,a=i(e[r],t[r],r);D.isUndefined(a)&&i!==s||(n[r]=a)})),n}const je={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{je[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ke={};je.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new I(r(o," has been removed"+(t?" in "+t:"")),I.ERR_DEPRECATED);return t&&!ke[o]&&(ke[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Ce={assertOptions:function(e,t,n){if("object"!=typeof e)throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new I("option "+i+" must be "+n,I.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new I("Unknown option "+i,I.ERR_BAD_OPTION)}},validators:je};const xe=Ce.validators;class Ne{constructor(e){this.defaults=e,this.interceptors={request:new Y,response:new Y}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Te(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ce.assertOptions(n,{silentJSONParsing:xe.transitional(xe.boolean),forcedJSONParsing:xe.transitional(xe.boolean),clarifyTimeoutError:xe.transitional(xe.boolean)},!1),null!=r&&(D.isFunction(r)?t.paramsSerializer={serialize:r}:Ce.assertOptions(r,{encode:xe.function,serialize:xe.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&D.merge(o.common,o[t.method]);o&&D.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=de.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,d=0;if(!s){const e=[Ae.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);d<l;)c=c.then(e[d++],e[d++]);return c}l=a.length;let f=t;for(d=0;d<l;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Ae.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,l=u.length;d<l;)c=c.then(u[d++],u[d++]);return c}getUri(e){return X(we((e=Te(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}D.forEach(["delete","get","head","options"],(function(e){Ne.prototype[e]=function(t,n){return this.request(Te(n||{},{method:e,url:t,data:(n||{}).data}))}})),D.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Te(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ne.prototype[e]=t(),Ne.prototype[e+"Form"]=t(!0)}));var Le=Ne;class Pe{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new he(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Pe((function(t){e=t})),cancel:e}}}var Be=Pe;const Fe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fe).forEach((([e,t])=>{Fe[t]=e}));var De=Fe;const Ue=function e(t){const n=new Le(t),o=r(Le.prototype.request,n);return D.extend(o,Le.prototype,n,{allOwnKeys:!0}),D.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(Te(t,n))},o}(oe);Ue.Axios=Le,Ue.CanceledError=he,Ue.CancelToken=Be,Ue.isCancel=pe,Ue.VERSION="1.6.0",Ue.toFormData=H,Ue.AxiosError=I,Ue.Cancel=Ue.CanceledError,Ue.all=function(e){return Promise.all(e)},Ue.spread=function(e){return function(t){return e.apply(null,t)}},Ue.isAxiosError=function(e){return D.isObject(e)&&!0===e.isAxiosError},Ue.mergeConfig=Te,Ue.AxiosHeaders=de,Ue.formToJSON=e=>ne(D.isHTMLForm(e)?new FormData(e):e),Ue.getAdapter=Re,Ue.HttpStatusCode=De,Ue.default=Ue;var Qe=Ue,Me=n(4918),Ie=n(4421),Ze=n(9816);let qe,ze;const $e=()=>(void 0===qe&&(qe=Qe.get(`${AudioEye.client_url}/scripts/service.php`).then((function(e){AudioEye.serviceConfig=e.data.value})).catch((function(e){AudioEye.serviceConfig={error:e}}))),qe),He=(e,t,n)=>{Ke.markers.push({id:Ge(e),m:t,t:n})};let Je=[],We=[],Ke={correlationId:`${Date.now()}-${Math.round(1e11*Math.random())}`,remTable:[],markers:[]};const Ve=function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,s=o.noLeading,u=void 0!==s&&s,c=o.debounceMode,l=void 0===c?void 0:c,d=!1,f=0;function p(){r&&clearTimeout(r)}function m(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var s=this,c=Date.now()-f;function m(){f=Date.now(),t.apply(s,o)}function h(){r=void 0}d||(u||!l||r||m(),p(),void 0===l&&c>e?u?(f=Date.now(),a||(r=setTimeout(l?h:m,e))):m():!0!==a&&(r=setTimeout(l?h:m,void 0===l?e-c:e)))}return m.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),d=!n},m}(3e3,(()=>{try{if(void 0===qe)return;qe.then((()=>{if(void 0===ze){let e;AudioEye&&AudioEye.serviceConfig&&(e=AudioEye.serviceConfig.markerSampleRate),ze=void 0!==e&&parseFloat(e)>Math.random()}if(!1===ze)return Ke.markers=[],void(Ke.remTable=[]);0!==Ke.markers.length&&(Ze.Z.logStat("AudioEye","markerReport","manualRemediation",JSON.stringify(Ke)),Ke.markers=[],Ke.remTable=[])})).catch((()=>{}))}catch(e){}})),Ge=e=>(Ke.remTable.includes(e)||Ke.remTable.push(e),Ke.remTable.indexOf(e));function Xe(e){window.ae_jQuery.fn.extend({hasClasses:function(e){for(var t in e)if(window.ae_jQuery(this).hasClass(e[t]))return!0;return!1}}),this.pres={role:"presentation"},this.rmv={role:"presentation","aria-hidden":"true",tabindex:"-1"},this.btn={role:"button",tabindex:"0","data-ae-blurbtype":"button"},this.img={role:"img"},this.acd={"aria-expanded":"false",role:"button",tabindex:"0"},this.dlg={role:"dialog"},this.expt={"aria-expanded":"true"},this.expf={"aria-expanded":"false"},this.ele=e}Xe.prototype.logit=new Me.Z("rem-api"),Xe.prototype.markRemediation=function(e){$e(),Je.includes(e)||(He(this.remediationId,e,"m"),Je.push(e))},Xe.prototype.markFix=function(e){$e(),We.includes(e)||(He(this.remediationId,e,"f"),We.push(e))},Xe.prototype.addBodyClass=function(){var e="ae-"+window.ae_jQuery("h1:first").text().toLowerCase().replace(/ /g,"-");this.ele.outerFind(document.body).addClass(e)},Xe.prototype.manageSelector=function(e){switch(typeof e){case"string":return this.ele.outerFind(e);case"object":if(Array.isArray(e)&&e.every((function(e){return"string"==typeof e})))return this.ele.outerFind(e.join(","));if(e.jquery)return e}console.log("aeApi-Error: Please check your selector.")},Xe.prototype.modals={enableTabLoop:function(e){"string"!=typeof e&&this.logit.error("enableTabLoop must be passed a jQuery selector string"),AudioEye.modals.enableTabLoop(e)},disableTabLoop:function(){AudioEye.modals.disableTabLoop()}},Xe.prototype.setAttr=function(e,t){return this.manageSelector(e).attr(t)},Xe.prototype.setAlt=function(e,t){return this.manageSelector(e).attr("alt",t)},Xe.prototype.convertToBtn=function(e){return this.manageSelector(e).attr(this.btn)},Xe.prototype.convertToImg=function(e){return this.manageSelector(e).attr(this.img)},Xe.prototype.setHeadingLevel=function(e,t){return this.manageSelector(e).attr({role:"heading","aria-level":t})},Xe.prototype.setTitle=function(e,t){return this.manageSelector(e).attr({title:t})},Xe.prototype.hideFromAT=function(e){var t=this.manageSelector(e);return t.is("svg")?t.attr(this.rmv).attr({disabled:"true",clickable:"false"}):t.attr(this.rmv)},Xe.prototype.setDialog=function(e){return this.manageSelector(e).attr(this.dlg)},Xe.prototype.setPresentation=function(e){return this.manageSelector(e).attr(this.pres)},Xe.prototype.addComplianceIndent=function(e,t,n,r){var o="";return"label"===n&&(o=' for="'+window.ae_jQuery(this).attr("id")+'"'),this.manageSelector(e).each((function(){window.ae_jQuery(this)[t]("<"+n+' style="display: none;" class="ae-compliance-indent ae-reader-visible"'+o+"> "+r+" </"+n+">")}))},Xe.prototype.addComplianceIndentHidden=function(e,t,n,r){var o="";return"label"===n&&(o=' for="'+window.ae_jQuery(this).attr("id")+'"'),this.manageSelector(e).each((function(){window.ae_jQuery(this)[t]("<"+n+' style="display: none;" class="ae-compliance-indent"'+o+"> "+r+" </"+n+">")}))},Xe.prototype.convertToAccordion=function(e,t,n){var r=this,o=this.manageSelector(e);o.each((function(){window.ae_jQuery(this).attr(r.acd),void 0!==n?(window.ae_jQuery(this).next(n).is(":visible")||window.ae_jQuery(this).parents().next(n).is(":visible")||window.ae_jQuery(this).find(n).is(":visible"))&&Ie.ZP.set(window.ae_jQuery(this),"active"):window.ae_jQuery(this).hasClass(t)&&Ie.ZP.set(window.ae_jQuery(this),"active"),Ie.ZP.is(window.ae_jQuery(this),"active")&&window.ae_jQuery(this).attr(r.expt),window.ae_jQuery(this).on("click",(function(){setTimeout((function(){o.attr(r.expf),Ie.ZP.unset(o,"active"),void 0!==n?o.each((function(){window.ae_jQuery(this).next(n).is(":visible")||window.ae_jQuery(this).parents().next(n).is(":visible")?(Ie.ZP.set(window.ae_jQuery(this),"active"),window.ae_jQuery(this).attr(r.expt)):window.ae_jQuery(this).find(n).is(":visible")&&Ie.ZP.set(window.ae_jQuery(this),"active")})):o.each((function(){window.ae_jQuery(this).hasClass(t)&&Ie.ZP.set(window.ae_jQuery(this),"active"),Ie.ZP.is(window.ae_jQuery(this),"active")&&window.ae_jQuery(this).attr(r.expt)}))}),600)}))}))},Xe.prototype.addKeyboardClick=function(e){return this.manageSelector(e).on("keypress",(function(e){var t=e.which;if(13==t||32==t)return this.click(),!1}))},Xe.prototype.stopProp=function(e){return this.manageSelector(e).on("keypress",(function(e){13==e.which&&e.stopPropagation()}))},Xe.prototype.remScope=function(e){if(!e||void 0===this._rscope)return e?(Xe.prototype._rscope=e,void this.logit.debug("remScope set successful")):this._rscope;this.logit.info("remScope(customObj) has already been set. Resetting is not allowed. Call remScope() with no parameters to access your custom scope.")};var Ye=Xe},2195:function(e,t,n){n.d(t,{Z:function(){return b}});var r=n(4918),o=n(3825),i=new r.Z("manual-remediations"),a=function(e,t){if(e||(e=window.ae_jQuery("html")),"function"==typeof t){var n=new o.Z(e);n.remediationId=t.id;try{t(e,n)}catch(e){var r="Caught an error in remediation "+(t.title?'with title "'+t.title+'"':"(untitled)")+" -> "+e.message;i&&i.error(r,e)}}else i.error("runOne failed: Remediation is not a function",t)},s=n(4699),u=n(9816),c=new r.Z("remediation-timer");const l=function(e){return window.performance&&"function"==typeof performance.now?!1===e?(c.debug("Rems will not be timed. Time reporting is set to OFF"),void this.noop()):(this._performance=window.performance,this._startTime=0,this._startTimeEpoch=0,this._remTimes=[],this._sequenceStartTime=0,void(this._workTime=0)):(c.debug("Rems will not be timed. Performance.now unsupported"),void this.noop())};l.prototype.startSequence=function(){this._remTimes=[],this._sequenceStartTime=this._performance.now()},l.prototype.endSequence=function(){var e=this._performance.now(),t=Math.round(e-this._sequenceStartTime);if((t<0||t>5e4)&&(c.error("elapsedTime was negative or too high: "+t),t=5e4),!u.Z.inIframe()){var n=this._remTimes.ae_reduce((function(e,t){return e+t}),0);c.debug("endSequence: ",{elapsed:t,workTime:n})}},l.prototype.startOne=function(){this._startTime=this._performance.now(),this._startTimeEpoch=Date.now()},l.prototype.endOne=function(){var e=this._performance.now();this._remTimes.push(e-this._startTime)},l.prototype.noop=function(){var e=this;Object.getOwnPropertyNames(l.prototype).forEach((function(t){e[t]=function(){}}))};var d=l,f=n(3204),p=n(6564),m=n(3216),h=new r.Z("remediation-planner"),y=new MutationObserver((function(){})),w={_defaultCostsByRemType:{smart:1,manual:13,auto:5},_effectedElementsByRemID:{},makePlan:function(e,t,n){this._effectedElementsByRemID={},t||(t=window.ae_jQuery(document.documentElement));var r=new d(n);(0,p.sB)("beforeRemediationSchedule",{});var i=[];return i.push(new s.i((function(){(0,p.sB)("beforeRemediations",{beforeRemediations:AudioEye._scanBeforeRemediations})}),1)),i=i.concat(w._planManualRems(t,r,e["manual-remediations"])),null!==AudioEye.CFD.featureObjects.smartRems.object&&(i=(i=i.concat(w._planSmartRems(t,r,e["smart-remediations"],e["skip-remediations"]))).concat(w._planAutoRems(t,r,e["auto-remediations"],e["skip-remediations"]))),i.push(new s.i((function(){(0,p.sB)("afterRemediations",{beforeRemediations:AudioEye._scanBeforeRemediations}),(0,o.m)()}),1)),h.debug("Found "+i.length+" remediations to run"),(0,p.sB)("afterRemediationSchedule",{}),w._addInstrumentBookends(i,r)},_addInstrumentBookends:function(e,t){var n=new s.i((function(){t.startSequence()}),1),r=new s.i((function(){t.endSequence()}),1);return[n].concat(e,[r])},_planManualRems:function(e,t,n){return!1===n?(h.debug("Manual Remediations NOT applied -> OFF in product config"),[]):w._getRawManualRems().length?w._getRawManualRems().map((function(n){return new s.i(w._makeManualRemExecutable(e,n,t),w._defaultCostsByRemType.manual)})):(h.debug("Manual Remediations NOT applied -> None found"),[])},_planSmartRems:function(e,t,n,r){return w._getRawSmartRems().length?!1===n?(h.debug("Smart Remediations NOT applied -> OFF in product config"),[]):w._getRawSmartRems().map((function(n){return new s.i(w._makeSmartRemExecutable(e,n,r,t),w._defaultCostsByRemType.smart)})):(h.debug("Smart Remediations NOT applied -> None found"),[])},_planAutoRems:function(e,t,n,r){if(!1===n)return h.debug("Auto Remediations NOT applied -> OFF in product config"),[];let o=w._getRawAutoRems();return o.length?o.map((function(n){return new s.i(w._makeAutoRemExecutable(e,n,r,t),w._defaultCostsByRemType.auto)})):(h.debug("Auto Remediations NOT applied -> None found"),[])},_getRawAutoRems:function(){if(!window.AudioEye||!window.AudioEye.autoSmartRemediations||!Array.isArray(window.AudioEye.autoSmartRemediations)||m.Ni)return[];var e=window.AudioEye.autoSmartRemediations;try{const t=sessionStorage.getItem("aeSkipRems");(t?t.split(","):[]).forEach((function(t){var n=[];e.forEach((function(e){e.type!==t&&n.push(e)})),e=n}))}catch(e){h.debug("error getting aeSkipRems: "+JSON.stringify(e))}return e},_getRawManualRems:function(){return window.AudioEye&&window.AudioEye.manualRemediations&&Array.isArray(window.AudioEye.manualRemediations)?window.AudioEye.manualRemediations:[]},_getRawSmartRems:function(){return window.AudioEye&&window.AudioEye.smartRemediations&&Array.isArray(window.AudioEye.smartRemediations)?window.AudioEye.smartRemediations:[]},_makeAutoRemExecutable:function(e,t,n,r){var o=this;return function(){const i=(0,p.sB)("beforeAutoRem",{rawAutoRem:t,elementSet:e});f.Z.observeSingleRem(),y.observe(document.body,{subtree:!0,childList:!0,characterData:!0,attributes:!0}),r.startOne(),i&&AudioEye.CFD.featureObjects.smartRems.object.runOne(e,t,n),r.endOne();var a=y.takeRecords();y.disconnect(),o._logMutation(t.id,a,r,"auto"),f.Z.finishObserveSingleRem(t.smart_remediation_number,AudioEye.CFD.featureObjects.smartRems.object[t.type],t.type),(0,p.sB)("afterAutoRem",{rawAutoRem:t,elementSet:e})}},_makeSmartRemExecutable:function(e,t,n,r){var o=this;return function(){const i=(0,p.sB)("beforeSmartRem",{rawSmartRem:t,elementSet:e});f.Z.observeSingleRem(),y.observe(document.body,{subtree:!0,childList:!0,characterData:!0,attributes:!0}),r.startOne(),i&&AudioEye.CFD.featureObjects.smartRems.object.runOne(e,t,n),r.endOne();var a=y.takeRecords();y.disconnect(),o._logMutation(t.id,a,r,"smart",`[Smart] ${t.title??t.type}`),f.Z.finishObserveSingleRem(t.smart_remediation_number,AudioEye.CFD.featureObjects.smartRems.object[t.type],t.type),(0,p.sB)("afterSmartRem",{rawSmartRem:t,elementSet:e})}},_makeManualRemExecutable:function(e,t,n){var r=this;return function(){const o=(0,p.sB)("beforeManualRem",{rawManualRem:t,elementSet:e});f.Z.observeSingleRem(),y.observe(document.body,{subtree:!0,childList:!0,characterData:!0,attributes:!0}),n.startOne(),o&&a(e,t),n.endOne();var i=y.takeRecords();y.disconnect(),r._logMutation(t.id,i,n,"manual",`[Legacy] '${t.title}'`),f.Z.finishObserveSingleRem(t.title,t,"Custom"),(0,p.sB)("afterManualRem",{rawManualRem:t,elementSet:e})}},_logMutation:function(e,t,n,r,o){t.length>0&&null!=window.AudioEye.logFixCompleted&&window.AudioEye.logFixCompleted({fixName:o,mutations:t,shouldLogElement:window.AudioEye.shouldRteLog});var i=null;if(e&&t&&n&&["auto","manual","smart"].includes(r)){for(var a=[],s=0;s<t.length;s++)-1===a.indexOf(t[s].target)&&a.push(t[s].target);void 0!==n&&void 0!==n._remTimes&&n._remTimes.hasOwnProperty("length")&&(i=n._remTimes[n._remTimes.length-1]),this._effectedElementsByRemID[e]?(this._effectedElementsByRemID[e].effectCount+=a.length,this._effectedElementsByRemID[e].timing=i):this._effectedElementsByRemID[e]={effectCount:a.length,timing:i,remType:r,startTimeEpoch:n._startTimeEpoch}}}},b=w},3141:function(e,t,n){n.r(t),n.d(t,{default:function(){return g}});var r=n(9816),o=n(2602),i=n(3825),a=n(4918),s=n(4421),u=new a.Z("tab-trigger-outline"),c={_tabPresses:0,listen:function(){document.addEventListener("keydown",c.countTab,{useCapture:!0})},countTab:function(e){return 9===e.which&&(++c._tabPresses,!(c._tabPresses<2)&&(c.enableOutline(),void document.removeEventListener("keydown",c.countTab)))},enableOutline:function(){s.ZP.set(window.ae_jQuery(document.body),"focus-outline"),u.debug("tab outline added")}},l=c,d=n(807),f=n(2195),p=n(4699),m=n(8752),h=n(7909);const y=AudioEye.productConfig,w=new a.Z("compliance");let b=0;var g=function(e){const t=this;this._options=window.ae_jQuery.extend({},e);const n=this._options,a={main_content:"ae-main-content"};function u(e){const t=o.Z.queryByRole("filter","main",e);return t.length?t:o.Z.queryByRole("find","main",e).eq(0)}function c(e,t){const n=u(e);if(0===n.length)return!1;let o=n.attr("id");o||(o=a.main_content,n.attr("id",o));const i=window.ae_jQuery("#ae-skip-to-anchor").eq(0);if(!(i.length>0))return[window.ae_jQuery("<a></a>").attr({class:"ae-offscreen ae-skipto-main",style:"display: none;",href:`#${o}`,id:"ae-skip-to-anchor"}).text(t).prependTo(e).clickEnterOrSpace("compliance",(function(e,t){e.preventDefault(),r.Z.logStat("User","Skip To Main",t),AudioEye.focusElement(this.hash)})),n];i.attr("href",`#${o}`).text(t)}function g(){r.Z.setModuleActive("site-menu",!0)}function E(e,t,n){let i;return!!t&&(i=Array.isArray(t)?t:[t],i.map((t=>{let i,a;if("object"==typeof t){if(!t.selector)return!1;i=t.selector,a=r.Z.localize(t.label)}else i=t;const s=o.Z.roleFactory(n),u=_({parent:e,selector:i,role:n,isSingleton:s&&s.singleton});return u instanceof window.ae_jQuery&&a&&u.attr("aria-label",r.Z.localize(t.label)),u})))}function _(e){if(!e.parent||!e.selector||!e.role)return!1;let t=e.parent.outerFind(e.selector).filter(":visible");if(!t.length)return!1;if(e.isSingleton){if(o.Z.queryByRole("find",e.role,window.ae_jQuery(document)).length)return!1;t=t.eq(0)}return t.attr("role",e.role)}function v(e,t){if("function"!=typeof e)return w.error("Remediation is not a function",e),!1;const n=new i.Z(t);try{AudioEye._builderExtensionAvailable&&!AudioEye._builderExtensionVersion?window.dispatchEvent(new CustomEvent("watch-for-changes",{detail:{observing:!0}})):AudioEye._builderExtensionAvailable&&AudioEye._builderExtensionVersion&&window.dispatchEvent(new CustomEvent("watch-for-changes",{detail:{observing:"restart"}})),e(t,n),AudioEye._builderExtensionAvailable&&window.dispatchEvent(new CustomEvent("ae-remediation-end",{detail:{name:e.title,fN:e,type:"Custom"}}))}catch(t){const n=`Caught an error in remediation ${e.title?`with title "${e.title}"`:"(untitled)"} -> ${t.message}`;w&&w.error(n,t)}}window.AudioEye&&(window.AudioEye.testRem=function(e,t){const n=t||window.ae_jQuery("html");n.jquery?v(e,n):w.error("parentElement must be a jquery set")},window.AudioEye.remApi=new i.Z(window.ae_jQuery("html"))),window.addEventListener("LauncherLangChange",(()=>{(0,h.refreshLanguage)()})),this.applyAriaTags=function(e){const t=e||window.ae_jQuery("html");E(t,n["aria-landmarks"].banner,"banner"),E(t,n["aria-landmarks"].search,"search"),E(t,n["aria-landmarks"].complementary,"complementary"),E(t,n["aria-landmarks"].contentinfo,"contentinfo"),E(t,n["aria-landmarks"].content,"main"),Object.keys(n["aria-live"]).forEach((e=>{n["aria-live"][e]&&("alert"===e?window.ae_jQuery(n["aria-live"].alert).attr("role","alert"):window.ae_jQuery(n["aria-live"][e]).attr("aria-live",e))}))},window.addEventListener("LauncherLangChange",(()=>{this.applySkipToMain()})),this.applySkipToMain=function(e){return!r.Z.inIframe()&&(!1!==t._options["skipto_main-content-link"]&&void c(e||window.ae_jQuery(document.body),m.ZP.t("skipto_main-link-text",{ns:"skipToMain"})||"Skip to Main Content"))},this.addSiteMenuLinkAttribute=function(e){e.forEach((e=>{if(e.selector&&!0===e.link){const t=e.selector;window.ae_jQuery(t).attr("data-ae-site-menu-link","true")}}))},this.applySitemenuLink=function(e){if(!r.Z.isModuleAvailable("site-menu"))return w.info("Site Menu is turned off. Cannot add Accessible Site Menu Link"),!1;if(!e)return w.info("selectors required in applySitemenuLink()"),!1;t.addSiteMenuLinkAttribute(e);const n=window.ae_jQuery("[data-ae-site-menu-link='true']");if(!n.length)return w.info("No elements with attribute data-ae-site-menu-link found"),!1;let o;return n.each((function(){const t=window.ae_jQuery(this);for(let n=0;n<e.length;n++)if(t.is(e[n].selector)){o=e[n].label.en;break}if(t.find(".ae-accessible-menu-button").length)return!1;const n=function(e){const t=window.ae_jQuery("<button></button>");return t.attr({type:"button",id:`ae-sitemenu-button-${b}`,class:"ae-offscreen ae-accessible-menu-button",tabindex:"0",style:"display: none",[h.CUSTOM_LABEL_DATA_ATTR]:e}),t.text((0,h.createAccessibleMenuButtonText)(e)),b++,t}(o);t.prepend(n),n.register("focusin",(()=>{r.Z.logStat("User","AE Keyboard Accessible Menu Focused","focus")})),n.register("click.compliance",(e=>{e.preventDefault(),r.Z.logStat("User","AE Keyboard Accessible Menu Engaged","click"),g()}))})),n},this.removeCarouselLink=function(e){let n=window.ae_jQuery();e.detail.nodes.length&&(n=window.ae_jQuery(e.detail.nodes).filter((function(){return!window.ae_jQuery(this).hasClass("ae-accessible-carousel-link")}))),n.length&&t.applyCarouselLinks(y.carousels)},this.applyCarouselLinks=function(e){window.ae_jQuery("#ae_app").off("RemovedNodes.carousellink").on("RemovedNodes.carousellink",(e=>{t.removeCarouselLink(e)}));let n=window.ae_jQuery("a.ae-accessible-carousel-link");if(!e)return w.info("No carousel config. Cannot apply carousel links"),!1;const r=t.findLinkCarousels(e).each((function(e){const r=t.makeCarouselLink(window.ae_jQuery(this),e);if(r.length){const e=d.Z.getCarouselLink(window.ae_jQuery(this));e.length?n=n.not(e):window.ae_jQuery(this).before(r)}}));return n.remove(),r},this.findLinkCarousels=function(e){let t=window.ae_jQuery();return(e?[].concat(e):[]).forEach((e=>{const n=window.ae_jQuery(e.carousel);e.link&&(t=t.add(n))})),t},this.makeCarouselLink=function(e,n){const r=window.ae_jQuery(`<a>${m.ZP.t("accessible-carousel-link-text",{ns:"carousel"})}</a>`).attr({role:"button",id:`ae-carousel-button-${n}`,class:"ae-offscreen ae-accessible-carousel-link","aria-label":m.ZP.t("accessible-carousel-link-label",{ns:"carousel"}),href:"#"});s.ZP.set(r,"exclude"),r.data("carousel_original",e);const o=e.position();return r.css({top:`${o.top}px`,left:`${o.left}px`,display:"none"}),r.clickOrEnter("carousels",t.loadAccessibleCarousel),e.data("ae_accessible_carousel_link",r),r},this.applyTabTriggersOutline=function(){if(!n["tab-triggers-outline"])return[];l.listen(),w.debug("Tab triggers outline activated")},this.atDisableContainer=function(e,t){e.attr("aria-hidden",!0),e.find(":focusable").addBack(":focusable").each((function(){const e=window.ae_jQuery(this).attr("tabindex");e&&window.ae_jQuery(this).data("ae_preserved_tabindex",e),window.ae_jQuery(this).attr("tabindex",-1)}));let n=e.prev(".ae-compliance-indent");return 0===n.length&&(n=this.addCompIndent(e,t),n.addClass("disable-container-message")),[e,n]},this.atRestoreContainer=function(e){e.removeAttr("aria-hidden"),e.find('[tabindex="-1"]').addBack('[tabindex="-1"]').each((function(){const e=window.ae_jQuery(this).data("ae_preserved_tabindex");if(e)return window.ae_jQuery(this).attr("tabindex",e),!0;window.ae_jQuery(this).removeAttr("tabindex")}))},this.addCompIndent=function(e,t){const n=window.ae_jQuery(`<span style="display: none" class="ae-compliance-indent">${t}</span>`);return e.before(n),n},this.loadAccessibleCarousel=function(e){e.preventDefault();const o=window.ae_jQuery(e.target);window.ae_jQuery(".ae-accessible-carousel-link-clicked").removeClass("ae-accessible-carousel-link-clicked"),o.addClass("ae-accessible-carousel-link-clicked");const i=o.data("carousel_original");if(!i.length)return void w.info("Cannot open carousel - no reference");t.atRestoreContainer(i);const a=d.Z.build(i,{loopTabs:!0});window.ae_jQuery(a).addClass("ae-active");const s=r.Z.localize(n["disabled-carousel-message"]);t.atDisableContainer(i,s)[1].addClass("ae-disabled-carousel-message")},this.planRemediations=function(e,o,i,a){return r.Z.dispatchNativeEvent("WILL_PLAN_REMS"),f.Z.makePlan({"manual-remediations":n["manual-remediations"],"auto-remediations":n["auto-remediations"],"skip-remediations":n["skip-remediations"]},e,o).concat([new p.i((()=>{t.applyAriaTags()}),1),new p.i((()=>{t.applySkipToMain()}),1),new p.i((()=>{t.applySitemenuLink(r.Z.get_menu_conf(i))}),1),new p.i((()=>{t.applyCarouselLinks(a)}),1),new p.i((()=>{t.applyTabTriggersOutline()}),1)])},this.planAllTasks=function(e,t){return this.planRemediations(void 0,!0,e,t)},n.testmode&&(window.testScope.compliance={find_role_main:u,apply_landmark_role:_,set_role_and_label:E,apply_skip_to_main:c,exec_single_rem:v,ids:a,RemAPI:i.Z,tabTriggerOutline:l,open_accessible_menu:g})}}}]);