rID").addEventListener("input",eyeAble_fontsizeChange);eyeAble_fontsizeStyleUpdate();eyeAble_shadowRoot.getElementById("lineheightSmaller").addEventListener("click",
eyeAble_decreaseLnHeight);eyeAble_shadowRoot.getElementById("lineheightLarger").addEventListener("click",eyeAble_increaseLnHeight);eyeAble_shadowRoot.getElementById("lineheightRangerID").addEventListener("input",eyeAble_lnHeightChange);eyeAble_lnHeightStyleUpdate();eyeAble_shadowRoot.getElementById("zoomSmaller").addEventListener("click",eyeAble_decreaseZoomSpacing);eyeAble_shadowRoot.getElementById("zoomLarger").addEventListener("click",eyeAble_increaseZoomSpacing);eyeAble_shadowRoot.querySelector("#zoomRangerID").addEventListener("mousedown",
function(d){d.preventDefault()});eyeAble_zoomStyleUpdate();eyeAble_shadowRoot.getElementById("letterSmaller").addEventListener("click",eyeAble_decreaseLetterSpacing);eyeAble_shadowRoot.getElementById("letterLarger").addEventListener("click",eyeAble_increaseLetterSpacing);eyeAble_shadowRoot.getElementById("letterSpacingRangerID").addEventListener("input",eyeAble_letterSpacingChange);b=parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step"));eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value=
b*eyeAbleVariables.Letter_Spacing;eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText="+"+(10*eyeAbleVariables.Letter_Spacing).toFixed(0)+"%";eyeAble_shadowRoot.getElementById("wordSmaller").addEventListener("click",eyeAble_decreaseWordSpacing);eyeAble_shadowRoot.getElementById("wordLarger").addEventListener("click",eyeAble_increaseWordSpacing);eyeAble_shadowRoot.getElementById("wordSpacingRangerID").addEventListener("input",eyeAble_wordSpacingChange);b=parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step"));
eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value=b*eyeAbleVariables.Word_Spacing;eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText="+"+(10*eyeAbleVariables.Word_Spacing).toFixed(0)+"%";b=eyeAble_shadowRoot.querySelectorAll(".eyeAble_alignImg");for(c=0;c<b.length;c++)b[c].addEventListener("click",eyeAble_alignmentChange);eyeAble_alignStyleUpdate();b=["noAlignID","leftAlignID","centerAlignID","rightAlignID","justifyAlignID"];for(c=0;c<b.length;c++)eyeAble_shadowRoot.getElementById(b[c]).parentNode.addEventListener("mouseenter",
eyeAble_createTooltip)}
function eyeAble_toggleExtendedFontPage(){eyeAble_closeAllOtherPages("eyeAble_ExtendedFontPageID");if(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID"))if("block"===getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")).display)eyeAble_closeExtendedFontPage();else{if(eyeAble_session_parameters.isMobile){eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("right",eyeAbleVariables.mobileRightPosition,"important");var a=eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().height;
var b=eyeAbleVariables.mobileBottomPosition.includes("%")?parseInt(eyeAbleVariables.mobileBottomPosition):100*parseInt(eyeAbleVariables.mobileBottomPosition)/window.innerHeight;eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("top","max(0%, calc("+(100-b).toFixed(0)+"% - "+a.toFixed(0)+"px))","important");eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("height","fit-content")}eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("display",
"block");eyeAble_showClickableElements("eyeAble_ExtendedFontPageID");eyeAble_shadowRoot.getElementById("closeExtendedFontID").focus();eyeAble_removeTooltip()}else eyeAble_createExtendedFontPage(),eyeAble_showClickableElements("eyeAble_ExtendedFontPageID"),eyeAble_shadowRoot.getElementById("closeExtendedFontID").focus(),eyeAble_removeTooltip()}
function eyeAble_closeExtendedFontPage(){eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")&&(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("display","none"),eyeAble_keyPressed?eyeAble_shadowRoot.getElementById("extendedFontID").focus():eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(),eyeAble_hideClickableElements("eyeAble_ExtendedFontPageID"))}var eyeAble_zoomStepsize=.1;
function eyeAble_increaseZoomSpacing(){var a=parseFloat(eyeAble_shadowRoot.getElementById("zoomRangerID").getAttribute("step"));eyeAbleVariables.Zoom_Lvl<=20/a&&(eyeAble_setVar("Zoom_Lvl",eyeAbleVariables.Zoom_Lvl+eyeAble_zoomStepsize),eyeAble_setWebsiteZoom(),eyeAble_zoomStyleUpdate())}function eyeAble_decreaseZoomSpacing(){1<=eyeAbleVariables.Zoom_Lvl&&(eyeAble_setVar("Zoom_Lvl",eyeAbleVariables.Zoom_Lvl-eyeAble_zoomStepsize),eyeAble_setWebsiteZoom(),eyeAble_zoomStyleUpdate())}
function eyeAble_zoomStyleUpdate(){var a=parseFloat(eyeAble_shadowRoot.getElementById("zoomRangerID").getAttribute("step"));eyeAble_shadowRoot.getElementById("zoomRangerID").value=a*(eyeAbleVariables.Zoom_Lvl-1)/eyeAble_zoomStepsize;eyeAble_shadowRoot.getElementById("zoomTxt").innerText=(100*eyeAbleVariables.Zoom_Lvl).toFixed(0)+"%"}
function eyeAble_zoomSpacingChange(){function a(){var b=parseFloat(eyeAble_shadowRoot.getElementById("zoomRangerID").getAttribute("step")),c=eyeAble_shadowRoot.getElementById("zoomRangerID").value;eyeAble_setVar("Zoom_Lvl",1+Math.floor(c/b)*eyeAble_zoomStepsize);eyeAble_setWebsiteZoom();eyeAble_shadowRoot.getElementById("zoomTxt").innerText=(100*eyeAbleVariables.Zoom_Lvl).toFixed(0)+"%";eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").removeEventListener("mouseup",a)}eyeAble_zoomStyleUpdate();
eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").addEventListener("mouseup",a)}function eyeAble_increaseFontsize(){10>=eyeAbleVariables.Fontsize+1&&(eyeAble_setVar("Fontsize",eyeAbleVariables.Fontsize+1),eyeAble_runFontsizeObserver(),eyeAble_fontsizeStyleUpdate())}function eyeAble_decreaseFontsize(){0<=eyeAbleVariables.Fontsize-1&&(eyeAble_setVar("Fontsize",eyeAbleVariables.Fontsize-1),eyeAble_runFontsizeObserver(),eyeAble_fontsizeStyleUpdate())}
function eyeAble_fontsizeStyleUpdate(){if(eyeAble_shadowRoot.getElementById("fontsizeRangerID")){var a=parseFloat(eyeAble_shadowRoot.getElementById("fontsizeRangerID").getAttribute("step"));eyeAble_shadowRoot.getElementById("fontsizeRangerID").value=a*eyeAbleVariables.Fontsize;eyeAble_shadowRoot.getElementById("fontsizeTxt").innerText="+"+(10*eyeAbleVariables.Fontsize).toFixed(0)+"%"}}
function eyeAble_fontsizeChange(){var a=parseFloat(eyeAble_shadowRoot.getElementById("fontsizeRangerID").getAttribute("step")),b=eyeAble_shadowRoot.getElementById("fontsizeRangerID").value;eyeAble_setVar("Fontsize",Math.floor(b/a));eyeAble_runFontsizeObserver();eyeAble_fontsizeStyleUpdate()}var eyeAble_forceLineheight=!1;
function eyeAble_increaseLnHeight(){10>=eyeAbleVariables.Line_height+1&&(eyeAble_forceLineheight=!0,eyeAble_setVar("Line_height",eyeAbleVariables.Line_height+1),eyeAble_runFontsizeObserver(),eyeAble_lnHeightStyleUpdate())}function eyeAble_decreaseLnHeight(){0<=eyeAbleVariables.Line_height-1&&(eyeAble_forceLineheight=!0,eyeAble_setVar("Line_height",eyeAbleVariables.Line_height-1),eyeAble_runFontsizeObserver(),eyeAble_lnHeightStyleUpdate())}
function eyeAble_lnHeightStyleUpdate(){var a=parseFloat(eyeAble_shadowRoot.getElementById("lineheightRangerID").getAttribute("step"));eyeAble_shadowRoot.getElementById("lineheightRangerID").value=a*eyeAbleVariables.Line_height;eyeAble_shadowRoot.getElementById("lineheightTxt").innerText="+"+(10*eyeAbleVariables.Line_height).toFixed(0)+"%"}
function eyeAble_lnHeightChange(){var a=parseFloat(eyeAble_shadowRoot.getElementById("lineheightRangerID").getAttribute("step")),b=eyeAble_shadowRoot.getElementById("lineheightRangerID").value;eyeAble_setVar("Line_height",Math.floor(b/a));eyeAble_forceLineheight=!0;eyeAble_runFontsizeObserver();eyeAble_lnHeightStyleUpdate()}
function eyeAble_increaseLetterSpacing(){var a=parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step"));10>=eyeAbleVariables.Letter_Spacing+1&&(eyeAble_setVar("Letter_Spacing",eyeAbleVariables.Letter_Spacing+1),eyeAble_setFontSpacingAndAlignments(),eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value=a*eyeAbleVariables.Letter_Spacing,eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText="+"+(10*eyeAbleVariables.Letter_Spacing).toFixed(0)+"%")}
function eyeAble_decreaseLetterSpacing(){if(0<=eyeAbleVariables.Letter_Spacing-1){eyeAble_setVar("Letter_Spacing",eyeAbleVariables.Letter_Spacing-1);eyeAble_setFontSpacingAndAlignments();var a=parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step"));eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value=a*eyeAbleVariables.Letter_Spacing;eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText="+"+(10*eyeAbleVariables.Letter_Spacing).toFixed(0)+"%"}}
function eyeAble_letterSpacingChange(){var a=parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step")),b=eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value;eyeAble_setVar("Letter_Spacing",Math.floor(b/a));eyeAble_setFontSpacingAndAlignments();eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText="+"+(10*eyeAbleVariables.Letter_Spacing).toFixed(0)+"%"}
function eyeAble_increaseWordSpacing(){var a=parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step"));10>=eyeAbleVariables.Word_Spacing+1&&(eyeAble_setVar("Word_Spacing",eyeAbleVariables.Word_Spacing+1),eyeAble_setFontSpacingAndAlignments(),eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value=a*eyeAbleVariables.Word_Spacing,eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText="+"+(10*eyeAbleVariables.Word_Spacing).toFixed(0)+"%")}
function eyeAble_decreaseWordSpacing(){if(0<=eyeAbleVariables.Word_Spacing-1){eyeAble_setVar("Word_Spacing",eyeAbleVariables.Word_Spacing-1);eyeAble_setFontSpacingAndAlignments();var a=parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step"));eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value=a*eyeAbleVariables.Word_Spacing;eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText="+"+(10*eyeAbleVariables.Word_Spacing).toFixed(0)+"%"}}
function eyeAble_wordSpacingChange(){var a=parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step")),b=eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value;eyeAble_setVar("Word_Spacing",Math.floor(b/a));eyeAble_setFontSpacingAndAlignments();eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText="+"+(10*eyeAbleVariables.Word_Spacing).toFixed(0)+"%"}
function eyeAble_alignmentChange(a){var b=eyeAble_shadowRoot.querySelector(".eyeAble_alignActive");b&&b.classList.remove("eyeAble_alignActive");a=a.target;a.classList.contains("eyeAble_alignImg")||(a=a.parentNode);switch(a.children[0].id){case "noAlignID":eyeAble_setVar("Alignment","0");break;case "leftAlignID":eyeAble_setVar("Alignment","left");break;case "centerAlignID":eyeAble_setVar("Alignment","center");break;case "rightAlignID":eyeAble_setVar("Alignment","right");break;case "justifyAlignID":eyeAble_setVar("Alignment",
"justify")}eyeAble_setFontSpacingAndAlignments();a.classList.add("eyeAble_alignActive")}
function eyeAble_alignStyleUpdate(){var a=eyeAble_shadowRoot.querySelector(".eyeAble_alignActive");a&&a.classList.remove("eyeAble_alignActive");switch(eyeAbleVariables.Alignment){case "0":eyeAble_shadowRoot.getElementById("noAlignID").parentNode.classList.add("eyeAble_alignActive");break;case "left":eyeAble_shadowRoot.getElementById("leftAlignID").parentNode.classList.add("eyeAble_alignActive");break;case "center":eyeAble_shadowRoot.getElementById("centerAlignID").parentNode.classList.add("eyeAble_alignActive");break;
case "right":eyeAble_shadowRoot.getElementById("rightAlignID").parentNode.classList.add("eyeAble_alignActive");break;case "justify":eyeAble_shadowRoot.getElementById("justifyAlignID").parentNode.classList.add("eyeAble_alignActive")}};function eyeAble_initFontPicker(){if(!0===eyeAble_session_parameters.isExtension){var a=function(){var e=document.createElement("style");e.setAttribute("nonce",eyeAble_nonce);e.appendChild(document.createTextNode(""));document.head.appendChild(e);return e.sheet}();eyeAble_addCSSRule(a,"@font-face","font-family: 'Open Sans - Regular'; src : url("+eyeAble_imagePaths.mainFontPath+") format('woff2'), url("+eyeAble_imagePaths.mainFontWOFFPath+") format('woff'), url("+eyeAble_imagePaths.mainFontTTFPath+
") format('truetype'); font-weight: 400; font-style: normal")}var b="icon fas fab far fa glyphicon material-icons ab-icon mkdf-icon-font-elegant".split(" ");a=["STYLE","SCRIPT","META","I"];for(var c="*",d=0;d<b.length;d++)c+=":not(."+b[d]+")";for(b=0;b<a.length;b++)c+=":not("+a[b].toLowerCase()+")";eyeAble_SettingsRule=function(){var e=document.createElement("style");e.setAttribute("nonce",eyeAble_nonce);e.id="eyeAble_settCSS";e.appendChild(document.createTextNode("eyeAbleCSS { }"));document.head.appendChild(e);
return e.sheet}();eyeAble_addCSSRule(eyeAble_SettingsRule,c,"");eyeAble_SettingsCSSrule=eyeAble_SettingsRule.rules[0];a=eyeAble_getVar("eyeAble_Font_Family");"0"!==a&&(a.includes("Dyslexic")?(eyeAble_OpenDyslexiaLoaded||(eyeAble_loadFont("OpenDyslexic",eyeAble_fileHomePath+"font"),eyeAble_OpenDyslexiaLoaded=!0),eyeAble_setFontFamily("'OpenDyslexic - Regular'"),document.addEventListener("eyeable:init_completed",function(){var e=eyeAble_cssCustomSheet.cssRules||eyeAble_cssCustomSheet.rules;eyeAble_defaultFontFamily=
e[0].style.getPropertyValue("--font-family");e[0].style.setProperty("--font-family","'OpenDyslexic - Regular'")})):eyeAble_setFontFamily(eyeAble_defaultCssVars["--font-family"]))}
function eyeAble_loadFont(a,b){var c=document.createElement("style");c.nonce=eyeAble_nonce;c.innerHTML="\n        @font-face {\n            font-family: '"+a+" - Regular';\n            src: url(\""+b+"/OpenDyslexic-Regular.woff2\") format('woff2'),\n                 url(\""+b+"/OpenDyslexic-Regular.woff\") format('woff'),\n                 url(\""+b+"/OpenDyslexic-Regular.otf\") format('opentype'),\n                 url(\""+b+"/OpenDyslexic-Regular.eot\") format('embedded-opentype');\n            font-weight: 400;\n            font-style: normal;\n        }\n        @font-face {\n            font-family: '"+
a+" - Bold';\n            src: url(\""+b+"/OpenDyslexic-Bold.woff2\") format('woff2'),\n                 url(\""+b+"/OpenDyslexic-Bold.woff\") format('woff'),\n                 url(\""+b+"/OpenDyslexic-Bold.otf\") format('opentype'),\n                 url(\""+b+"/OpenDyslexic-Bold.eot\") format('embedded-opentype');\n            font-weight: 700;\n            font-style: normal;\n        }\n        @font-face {\n            font-family: '"+a+" - Italic';\n            src: url(\""+b+"/OpenDyslexic-Italic.woff2\") format('woff2'),\n                 url(\""+
b+"/OpenDyslexic-Italic.woff\") format('woff'),\n                 url(\""+b+"/OpenDyslexic-Italic.otf\") format('opentype'),\n                 url(\""+b+"/OpenDyslexic-Italic.eot\") format('embedded-opentype');\n            font-weight: 400;\n            font-style: italic;\n        }\n        @font-face {\n            font-family: '"+a+" - BoldItalic';\n            src: url(\""+b+"/OpenDyslexic-Bold-Italic.woff2\") format('woff2'),\n                 url(\""+b+"/OpenDyslexic-Bold-Italic.woff\") format('woff'),\n                 url(\""+
b+"/OpenDyslexic-Bold-Italic.otf\") format('opentype'),\n                 url(\""+b+"/OpenDyslexic-Bold-Italic.eot\") format('embedded-opentype');\n            font-weight: 700;\n            font-style: italic;\n        }\n    ";document.head.appendChild(c)}var eyeAble_OpenDyslexiaLoaded=!1;
function eyeAble_toggleOpenDyslexia(){eyeAble_OpenDyslexiaLoaded||(eyeAble_loadFont("OpenDyslexic",eyeAble_fileHomePath+"font"),eyeAble_OpenDyslexiaLoaded=!0);var a=eyeAble_getVar("eyeAble_Font_Family");a.includes("Dyslexic")?eyeAble_resetFontFamily():("0"!==a&&eyeAble_resetFontFamily(),eyeAble_setFontFamily("'OpenDyslexic - Regular'"))}
function eyeAble_toggleFontFamily(){var a=eyeAble_getVar("eyeAble_Font_Family");"0"===a||a.includes("Dyslexic")?(a.includes("Dyslexic")&&eyeAble_resetFontFamily(),eyeAble_setFontFamily(eyeAble_defaultCssVars["--font-family"]),eyeAble_showFeedbackNotification(eyeAble_getMessage("fontOn"),"ALT + X")):(eyeAble_resetFontFamily(),eyeAble_showFeedbackNotification(eyeAble_getMessage("fontOff"),"ALT + X"))}
function eyeAble_fontPickerChange(){if(!eyeAble_fontFamilyEnabled)return!1;var a=eyeAble_shadowRoot.getElementById("eyeAble_font-picker").selectedIndex,b=eyeAble_shadowRoot.getElementById("eyeAble_font-picker").options;"Standard"===b[a].text?eyeAble_resetFontFamily():eyeAble_setFontFamily(b[a].text)}var eyeAble_defaultFontFamily;
function eyeAble_setFontFamily(a){if(!eyeAble_fontFamilyEnabled)return!1;eyeAble_SettingsCSSrule.style.setProperty("font-family",a,"important");eyeAble_setVar("eyeAble_Font_Family",a,1);eyeAble_shadowRoot.getElementById("dyslexiaID")&&a.includes("OpenDyslexic")?(a=eyeAble_cssCustomSheet.cssRules||eyeAble_cssCustomSheet.rules,eyeAble_defaultFontFamily=a[0].style.getPropertyValue("--font-family"),a[0].style.setProperty("--font-family","'OpenDyslexic - Regular'"),eyeAble_shadowRoot.getElementById("dyslexiaID").classList.add("eyeAbleActive"),
eyeAble_shadowRoot.getElementById("dyslexiaID").setAttribute("aria-pressed","true")):eyeAble_shadowRoot.getElementById("fontID")&&(eyeAble_shadowRoot.getElementById("fontID").classList.add("eyeAbleActive"),eyeAble_shadowRoot.getElementById("dyslexiaID").setAttribute("aria-pressed","true"));eyeAble_dispatchEvent("Font_Enabled")}
function eyeAble_resetFontFamily(){eyeAble_SettingsCSSrule.style.removeProperty("font-family");eyeAble_shadowRoot.getElementById("fontID")&&eyeAble_shadowRoot.getElementById("fontID").classList.contains("eyeAbleActive")&&(eyeAble_shadowRoot.getElementById("fontID").classList.remove("eyeAbleActive"),eyeAble_shadowRoot.getElementById("fontID").setAttribute("aria-pressed","false"));eyeAble_shadowRoot.getElementById("dyslexiaID")&&eyeAble_shadowRoot.getElementById("dyslexiaID").classList.contains("eyeAbleActive")&&
(eyeAble_shadowRoot.getElementById("dyslexiaID").classList.remove("eyeAbleActive"),eyeAble_shadowRoot.getElementById("dyslexiaID").setAttribute("aria-pressed","false"));eyeAble_defaultFontFamily&&((eyeAble_cssCustomSheet.cssRules||eyeAble_cssCustomSheet.rules)[0].style.setProperty("--font-family",eyeAble_defaultFontFamily),eyeAble_defaultFontFamily=null);"0"!==eyeAbleVariables.eyeAble_Font_Family&&eyeAble_dispatchEvent("Font_Disabled");eyeAble_setVar("eyeAble_Font_Family","0",1);eyeAble_setActiveCheckVis()}
var eyeAble_SettingsCSSrule,eyeAble_SettingsRule;function eyeAble_addCSSRule(a,b,c,d){try{"insertRule"in a?a.insertRule(b+"{"+c+"}",d):"addRule"in a&&a.addRule(b,c,d)}catch(e){}}"undefined"===typeof window.addCSSRule&&(window.addCSSRule=function(a,b,c,d){"insertRule"in a?a.insertRule(b+"{"+c+"}",d):"addRule"in a&&a.addRule(b,c,d)});function eyeAble_initFontSize(){var a=!0,b=parseInt(eyeAble_getVar("iAble_Font_Offset")),c=!1;if(0!==b)eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText=eyeAble_getVar("iAble_Font_Offset"),eyeAble_openZoomBox(),eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.add("eyeAbleActive"),eyeAble_setVar("Zoom_Lvl",eyeAble_calculateZoomLvl(b)),eyeAble_intersectionObserver?eyeAble_runFontsizeObserver():b>=parseInt(eyeAble_settings.layoutCorrectThreshold)?eyeAble_change_font_size_recursive(document.body,
parseInt(eyeAble_settings.layoutCorrectThreshold)-1):eyeAble_change_font_size_recursive(document.body,b),fastdomEA.mutate(function(){adaptFontSizeVars(b)}),a=!1,c=!0,eyeAble_setWebsiteZoom();else if(0<eyeAbleVariables.Fontsize||0<eyeAbleVariables.Line_height)eyeAble_intersectionObserver?eyeAble_runFontsizeObserver():eyeAble_change_font_size_recursive(document.body,0),a=!1,c=!0;(0<eyeAbleVariables.Letter_Spacing||0<eyeAbleVariables.Word_Spacing||"0"!==eyeAbleVariables.Alignment)&&eyeAble_setFontSpacingAndAlignments(a);
c&&(eyeAble_dispatchEvent("Adaptive_Zoom_Change"),eyeAble_customFontsizeCSS&&(eyeAble_customFontsizeCSS.disabled=!1))}
function eyeAble_resetFontSize(){if(!eyeAble_fontSizeEnabled)return!1;eyeAble_intersectionObserver&&eyeAble_fontsizeObserver&&(eyeAble_fontSizeObserverOffset=0,eyeAble_fontsizeObserver.disconnect());eyeAble_reset_font_size_recursive(document.body);"0"!==eyeAbleVariables.iAble_Font_Offset&&eyeAble_dispatchEvent("Adaptive_Zoom_Disabled");eyeAble_setVar("iAble_Font_Offset","0",1);eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText=eyeAble_getVar("iAble_Font_Offset");eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.contains("eyeAbleActive")&&
eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.remove("eyeAbleActive");eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").style.removeProperty("color");eyeAble_resetWebsiteZoom();eyeAble_resetExtendedFontAndAlignments();eyeAble_closeZoomBox();eyeAble_setActiveCheckVis();eyeAble_removeTooltip();resetFontSiteVars();eyeAble_customFontsizeCSS&&(eyeAble_customFontsizeCSS.disabled=!0)}function eyeAble_resetFontSizeIcon(){eyeAble_resetFontSize();eyeAble_openZoomBox()}
function eyeAble_reset_font_size_recursive(a){if(!(["SCRIPT","IMG","VIDEO","STYLE"].includes(a.tagName)||a.classList&&a.classList.contains("eyeAbleSkip"))){if(a.shadowRoot)for(var b=a.shadowRoot.children,c=0;c<b.length;c++)eyeAble_reset_font_size_recursive(b[c]);if("IFRAME"===a.tagName)try{var d=[(a.contentDocument||a.contentWindow.document).body]}catch(h){return!1}else d=a.children;if(0!==d.length)for(b=0;b<d.length;b++)eyeAble_reset_font_size_recursive(d[b]);a.style&&a.style.whiteSpace&&fastdomEA.mutate(function(){a.style.removeProperty("white-space")});
var e=a.getAttribute("data-OriginalFontSize");e&&fastdomEA.mutate(function(){a.style.setProperty("font-size",e+"px")});var f=a.getAttribute("data-OriginalLineHeight");f&&a.style.lineHeight&&fastdomEA.mutate(function(){a.style.setProperty("line-height",f+"px")})}}var eyeAble_fontsizeObserver;
function eyeAble_change_font_size_intersection_recursive(a){if(a&&!("SCRIPT IMG VIDEO STYLE LINK META SVG".split(" ").includes(a.tagName)||a.classList&&(a.classList.contains("eyeAbleSkip")||a.classList.contains("eyeAbleSkipFontSize")||a.classList.contains("MathJax")))){if("IFRAME"===a.tagName)try{var b=[(a.contentDocument||a.contentWindow.document).body]}catch(e){return!1}else b=a.children;if(a.shadowRoot)for(var c=a.shadowRoot.children,d=0;d<c.length;d++)eyeAble_change_font_size_intersection_recursive(c[d]);
if(b&&0!==b.length)for(c=0;c<b.length;c++)eyeAble_change_font_size_intersection_recursive(b[c]);eyeAble_fontsizeObserver.observe(a)}}
function eyeAble_change_font_size_intersection(a,b){fastdomEA.measure(function(){if(a.style&&a!==document.body&&eyeAble_checkForText(a)){var c=a.getAttribute("data-w");if(c)c=parseFloat(c);else{var d=a.getBoundingClientRect();a.setAttribute("data-w",d.width.toFixed(1));c=d.width}requestAnimationFrame(function(){fastdomEA.measure(function(){a.getBoundingClientRect().width>1.5*parseFloat(c)&&fastdomEA.mutate(function(){a.style.setProperty("white-space","normal")})})});(d=a.getAttribute("data-OriginalFontSize"))?
d=parseFloat(d):(d=parseFloat(getComputedStyle(a).getPropertyValue("font-size")),a.setAttribute("data-OriginalFontSize",d));var e=eyeAble_fontScaler(d,eyeAbleVariables.Fontsize);fastdomEA.mutate(function(){a.style.setProperty("font-size",e.toString()+"px","important")});requestAnimationFrame(function(){fastdomEA.measure(function(){var f=a.getAttribute("data-OriginalLineHeight"),h=a.getBoundingClientRect().height;f?fastdomEA.mutate(function(){var g=parseFloat(f);eyeAble_checkAndApplyLineHeight(a,g,
h,b,e)}):eyeAble_adjustLineHeight(a,b,e,h)})})}})}
function eyeAble_change_font_size_recursive(a,b){if(a&&!("SCRIPT IMG VIDEO STYLE LINK META SVG".split(" ").includes(a.tagName)||a.classList&&(a.classList.contains("eyeAbleSkip")||a.classList.contains("eyeAbleSkipFontSize")||a.classList.contains("MathJax")))){try{if(eyeAble_pluginConfig.blacklistFontsize&&"function"===typeof a.matches&&a.matches(eyeAble_pluginConfig.blacklistFontsize))return}catch(e){console.log(e)}if(a.shadowRoot)for(var c=a.shadowRoot.children,d=0;d<c.length;d++)eyeAble_change_font_size_recursive(c[d],
b);if((c=a.children)&&0!==c.length)for(d=0;d<c.length;d++)eyeAble_change_font_size_recursive(c[d],b);eyeAble_change_font_size_intersection(a,b)}}function eyeAble_fontScaler(a,b){if(0<b)for(var c=0;c<b;c++)a+=.1*a;else for(c=0;c<-b;c++)a/=1.1;return a}
function eyeAble_checkAndApplyLineHeight(a,b,c,d,e){if(0===d||eyeAble_forceLineheight){var f=eyeAble_fontScaler(b,eyeAbleVariables.Line_height);0<f&&fastdomEA.mutate(function(){a.style.setProperty("line-height",f.toString()+"px","important")});return!0}d=1===parseFloat(a.getAttribute("eA-txt"))?a.tagName.includes("H")?1.8*b:2.02*b:2.7*b;if(c>d){var h=eyeAble_fontScaler(b,eyeAbleVariables.Line_height);0<h&&(h<1.5*e?h=1.5*e:h>2*e&&(h=2*e),fastdomEA.mutate(function(){a.style.setProperty("line-height",
h.toString()+"px","important")}));return!0}return!1}
function eyeAble_adjustLineHeight(a,b,c,d){var e=getComputedStyle(a).lineHeight,f=parseFloat(e);if(e===f+""){var h=a.style.lineHeight;a.style.lineHeight=e+"em";e=getComputedStyle(a).lineHeight;f=parseFloat(e);h?a.style.lineHeight=h:delete a.style.lineHeight}-1!==e.indexOf("pt")?(f*=4,f/=3):-1!==e.indexOf("mm")?(f*=96,f/=25.4):-1!==e.indexOf("cm")?(f*=96,f/=2.54):-1!==e.indexOf("in")?f*=96:-1!==e.indexOf("pc")&&(f*=16);f=Math.round(f);if("normal"===e){e=a.nodeName;var g=document.createElement(e);g.innerHTML=
"&nbsp;";"TEXTAREA"===e.toUpperCase()&&g.setAttribute("rows","1");g.style.fontSize=c.toString()+"px";g.style.padding="0px";g.style.border="0px";var l=document.body;fastdomEA.mutate(function(){eyeAble_observerNodeList.disconnect();l.appendChild(g);eyeAble_observerNodeList.observe(document.body,eyeAble_configNodeList);fastdomEA.measure(function(){f=g.offsetHeight;a.setAttribute("data-OriginalLineHeight",f);fastdomEA.mutate(function(){eyeAble_checkAndApplyLineHeight(a,f,d,b,c);l.removeChild(g)})})})}else a.setAttribute("data-OriginalLineHeight",
f),eyeAble_checkAndApplyLineHeight(a,f,d,b,c)}
function eyeAble_checkForText(a){var b=a.getAttribute("eA-txt");if(!b||eyeAble_pluginLocalConfig.disableTextDetectCache){for(var c=b=0;c<a.childNodes.length;c++)a.childNodes[c]&&a.childNodes[c].nodeValue&&a.childNodes[c].nodeType!==Node.COMMENT_NODE&&/\S/.test(a.childNodes[c].nodeValue)?b+=1:a.childNodes[c].className&&"eamark"===a.childNodes[c].tagName.toLowerCase()&&(b+=1);("SELECT"===a.tagName||"INPUT"===a.tagName||"TEXTAREA"===a.tagName||"I"===a.tagName||"P"===a.tagName||a.tagName.includes("H")&&
!a.tagName.toLowerCase().includes("header")||a.tagName.includes("OPTION"))&&0===b&&(b=1);if(0<b||eyeAble_pluginLocalConfig.forceTextElement&&a.matches(eyeAble_pluginLocalConfig.forceTextElement))return a.setAttribute("eA-txt",b.toString()),fastdomEA.mutate(function(){a.classList.add("eyeAtext");a.parentNode&&a.parentNode.classList&&a.parentNode.classList.add("eyeAtP")}),!0;a.setAttribute("eA-txt",0)}else if("0"!==b)return!0;return!1}
function eyeAble_increase_font_size(){if(!eyeAble_fontSizeEnabled)return!1;var a=parseInt(eyeAble_getVar("iAble_Font_Offset"));a+=eyeAble_settings.fontSizeIncrease;if((eyeAble_session_parameters.isMobile||!eyeAble_session_parameters.isExtension&&0<navigator.userAgent.indexOf("Firefox"))&&a>=parseInt(eyeAble_settings.layoutCorrectThreshold))return!1;if(0!==a){if(!eyeAble_activeFeatures.FontSizeLimit||a<=eyeAble_activeFeatures.FontSizeLimit)fastdomEA.mutate(function(){eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.add("eyeAbleActive")}),
a<parseInt(eyeAble_settings.maximumFontSizeIncrease)&&(eyeAble_setVar("iAble_Font_Offset",a.toString()),eyeAble_calculateSizeAndHeight(a),fastdomEA.mutate(function(){adaptFontSizeVars(a)}),fastdomEA.mutate(function(){eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText=eyeAble_getVar("iAble_Font_Offset")}),a>=parseInt(eyeAble_settings.layoutCorrectThreshold)?eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")&&fastdomEA.mutate(function(){eyeAble_shadowRoot.getElementById("eyeAble_columID").style.overflowY=
"auto"}):eyeAble_intersectionObserver?eyeAble_runFontsizeObserver():eyeAble_change_font_size_recursive(document.body,a),eyeAble_setVar("Zoom_Lvl",eyeAble_calculateZoomLvl(a)),eyeAble_setWebsiteZoom()),eyeAble_showFeedbackNotification(eyeAble_getMessage("sizePlus"),"ALT + Plus")}else eyeAble_resetFontSize(),eyeAble_openZoomBox();eyeAble_removeTooltip();eyeAble_customFontsizeCSS&&(eyeAble_customFontsizeCSS.disabled=!1);"0"!==eyeAbleVariables.iAble_Font_Offset&&eyeAble_dispatchEvent("Adaptive_Zoom_Change")}
function adaptFontSizeVars(a){var b=eyeAble_cssCustomSheet.cssRules||eyeAble_cssCustomSheet.rules;1===a?(b[0].style.setProperty("--font-size-buttons","18px"),b[0].style.setProperty("--font-size-smallerText","17px"),b[0].style.setProperty("--font-size-readable","15px"),b[0].style.setProperty("--font-size-colorSelect","13px")):2===a?(b[0].style.setProperty("--font-size-buttons","19px"),b[0].style.setProperty("--font-size-smallerText","18px"),b[0].style.setProperty("--font-size-readable","16px"),b[0].style.setProperty("--font-size-colorSelect",
"13px")):3<=a?(b[0].style.setProperty("--font-size-buttons","20px"),b[0].style.setProperty("--font-size-smallerText","19px"),b[0].style.setProperty("--font-size-readable","17px"),b[0].style.setProperty("--font-size-colorSelect","13px")):0>a&&(b[0].style.setProperty("--font-size-buttons","16px"),b[0].style.setProperty("--font-size-smallerText","15px"),b[0].style.setProperty("--font-size-readable","13px"),b[0].style.setProperty("--font-size-colorSelect","12px"))}
function resetFontSiteVars(){var a=eyeAble_cssCustomSheet.cssRules||eyeAble_cssCustomSheet.rules;a[0].style.setProperty("--font-size-buttons",eyeAble_defaultCssVars["--font-size-buttons"]);a[0].style.setProperty("--font-size-smallerText",eyeAble_defaultCssVars["--font-size-smallerText"]);a[0].style.setProperty("--font-size-readable",eyeAble_defaultCssVars["--font-size-readable"]);a[0].style.setProperty("--font-size-colorSelect",eyeAble_defaultCssVars["--font-size-colorSelect"])}
var eyeAble_fontSizeObserverOffset=0;
function eyeAble_runFontsizeObserver(){var a=parseInt(eyeAble_getVar("iAble_Font_Offset"));eyeAble_fontSizeObserverOffset=a>=parseInt(eyeAble_settings.layoutCorrectThreshold)?parseInt(eyeAble_settings.layoutCorrectThreshold)-1:a;eyeAble_fontsizeObserver=new IntersectionObserver(function(b,c){b.forEach(function(d){d.isIntersecting&&(eyeAble_change_font_size_intersection(d.target,eyeAble_fontSizeObserverOffset),c.unobserve(d.target))})},{rootMargin:eyeAble_intersectionRootMargin});eyeAble_change_font_size_intersection_recursive(document.body)}
function eyeAble_decrease_font_size(){if(!eyeAble_fontSizeEnabled)return!1;var a=parseInt(eyeAble_getVar("iAble_Font_Offset"));a-=eyeAble_settings.fontSizeIncrease;a>parseInt(eyeAble_settings.minimumFontSizeIncrease)&&(eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.add("eyeAbleActive"),eyeAble_calculateSizeAndHeight(a),0===a?(eyeAble_resetFontSize(),eyeAble_openZoomBox()):(eyeAble_setVar("Zoom_Lvl",eyeAble_calculateZoomLvl(a)),fastdomEA.mutate(function(){adaptFontSizeVars(a)}),a>=eyeAble_settings.layoutCorrectThreshold-
1?eyeAble_setVar("iAble_Font_Offset",a.toString(),1):(eyeAble_setVar("iAble_Font_Offset",a.toString(),1),eyeAble_intersectionObserver?eyeAble_runFontsizeObserver():eyeAble_change_font_size_recursive(document.body,a)),eyeAble_setWebsiteZoom()),0>a&&(eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").style.color="aqua"),eyeAble_setVar("iAble_Font_Offset",a.toString(),1),eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText=eyeAble_getVar("iAble_Font_Offset"));eyeAble_showFeedbackNotification(eyeAble_getMessage("sizeMinus"),
"ALT + Minus");eyeAble_removeTooltip();"0"!==eyeAbleVariables.iAble_Font_Offset&&eyeAble_dispatchEvent("Adaptive_Zoom_Change")}
function eyeAble_resetExtendedFontAndAlignments(){eyeAble_spacingAndAlignSheet&&(eyeAble_spacingAndAlignSheet.disabled=!0);eyeAble_setVar("Fontsize",0);eyeAble_setVar("Line_height",0);eyeAble_setVar("Letter_Spacing",0);eyeAble_setVar("Word_Spacing",0);eyeAble_setVar("Alignment","0");if(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")){eyeAble_lnHeightStyleUpdate();eyeAble_fontsizeStyleUpdate();eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText="+0%";eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value=
0;eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText="+0%";eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value=0;var a=eyeAble_shadowRoot.querySelector(".eyeAble_alignActive");a&&a.classList.remove("eyeAble_alignActive");eyeAble_shadowRoot.getElementById("noAlignID").parentNode.classList.add("eyeAble_alignActive")}}var eyeAble_spacingAndAlignSheet;
function eyeAble_setFontSpacingAndAlignments(a){(void 0===a?0:a)||document.querySelector(".eyeAtext")||"0"!==eyeAble_getVar("iAble_Font_Offset")||(eyeAble_intersectionObserver?eyeAble_runFontsizeObserver():eyeAble_change_font_size_recursive(document.body,0));eyeAble_spacingAndAlignSheet||(eyeAble_spacingAndAlignSheet=function(){var b=document.createElement("style");b.setAttribute("nonce",eyeAble_nonce);b.id="eyeAble_spacingCSS";b.appendChild(document.createTextNode("eyeAbleCSS { }"));document.head.appendChild(b);
return b.sheet}(),eyeAble_addCSSRule(eyeAble_spacingAndAlignSheet,".eyeAtext,.eyeAtP:not(body)","letter-spacing: normal;"));fastdomEA.mutate(function(){var b=eyeAble_spacingAndAlignSheet.cssRules||eyeAble_spacingAndAlignSheet.rules;0<eyeAbleVariables.Word_Spacing?b[0].style.setProperty("word-spacing",(.16*eyeAbleVariables.Word_Spacing).toFixed(2)+"em","important"):b[0].style.removeProperty("word-spacing");0<eyeAbleVariables.Letter_Spacing?b[0].style.setProperty("letter-spacing",(.06*eyeAbleVariables.Letter_Spacing).toFixed(2)+
"em","important"):b[0].style.removeProperty("letter-spacing");"0"!==eyeAbleVariables.Alignment?b[0].style.setProperty("text-align",eyeAbleVariables.Alignment,"important"):b[0].style.removeProperty("text-align");eyeAble_spacingAndAlignSheet.disabled=!1})}function eyeAble_clickZoomBox(){eyeAble_shadowRoot.getElementById("eyeAble_zoomBox1").classList.contains("eyeAble_collapsed")?eyeAble_openZoomBox():eyeAble_closeZoomBox()}
function eyeAble_openZoomBox(){if(!eyeAble_fontSizeEnabled)return!1;eyeAble_shadowRoot.getElementById("eyeAble_zoomBox1").classList.remove("eyeAble_collapsed");eyeAble_shadowRoot.getElementById("eyeA-zoomBoxArrowDown").style.transform="rotate(180deg)";eyeAble_shadowRoot.getElementById("zoomBoxOpener").setAttribute("aria-expanded","true");eyeAble_addZoomboxTabIndices()}
function eyeAble_closeZoomBox(){if(!eyeAble_fontSizeEnabled)return!1;eyeAble_shadowRoot.getElementById("eyeAble_zoomBox1").classList.add("eyeAble_collapsed");eyeAble_shadowRoot.getElementById("eyeA-zoomBoxArrowDown").style.transform="none";eyeAble_shadowRoot.getElementById("zoomBoxOpener").setAttribute("aria-expanded","false");eyeAble_deleteZoomboxTabIndices()}var eyeAble_zoomStyle;
function eyeAble_resetWebsiteZoom(){if(!eyeAble_fontSizeEnabled)return!1;eyeAble_setVar("Zoom_Lvl",1);eyeAble_shadowRoot.getElementById("zoomRangerID")&&(eyeAble_shadowRoot.getElementById("zoomRangerID").value=0,eyeAble_shadowRoot.getElementById("zoomTxt").innerText="100%");eyeAble_session_parameters.isPlugin?eyeAble_zoomStyle&&0<eyeAble_zoomStyle.rules.length&&fastdomEA.mutate(function(){eyeAble_zoomStyle.deleteRule(0);setTimeout(function(){window.dispatchEvent(new Event("resize"))},100)}):chrome.runtime.sendMessage({greeting:"eyeAble_setZoom",
zoomFactor:1},function(a){})}function eyeAble_calculateZoomLvl(a){var b=1;0<a&&(b=a<eyeAble_settings.layoutCorrectThreshold?1+a/100:1+(a-eyeAble_settings.layoutCorrectThreshold+2)/20);return b}
function eyeAble_calculateSizeAndHeight(a){a>=eyeAble_settings.layoutCorrectThreshold?a=eyeAble_settings.layoutCorrectThreshold-1:a<parseInt(eyeAble_settings.minimumFontSizeIncrease)+1&&(a=parseInt(eyeAble_settings.minimumFontSizeIncrease)+1);eyeAble_setVar("Fontsize",a);eyeAble_setVar("Line_height",a);eyeAble_forceLineheight=!1;eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")&&(eyeAble_fontsizeStyleUpdate(),eyeAble_lnHeightStyleUpdate())}
function eyeAble_setWebsiteZoom(){if(!eyeAble_fontSizeEnabled||eyeAble_pluginLocalConfig&&!0===eyeAble_pluginLocalConfig.disableZoom||eyeAble_session_parameters.isMobile)return!1;eyeAble_shadowRoot.getElementById("zoomRangerID")&&eyeAble_zoomStyleUpdate();eyeAble_updateNotifcationBannerPosition();eyeAble_session_parameters.isExtension&&!eyeAble_session_parameters.isPlugin?fastdomEA.mutate(function(){chrome.runtime.sendMessage({greeting:"eyeAble_setZoom",zoomFactor:eyeAbleVariables.Zoom_Lvl},function(a){})}):
(eyeAble_zoomStyle||(eyeAble_zoomStyle=function(){var a=document.createElement("style");a.setAttribute("nonce",eyeAble_nonce);a.id="eyeAble_zoomCSS";a.appendChild(document.createTextNode("eyeAbleCSS { }"));document.head.appendChild(a);return a.sheet}()),fastdomEA.mutate(function(){0!==eyeAble_zoomStyle.rules.length&&eyeAble_zoomStyle.deleteRule(0)}),0<navigator.userAgent.indexOf("Firefox")||fastdomEA.mutate(function(){eyeAble_addCSSRule(eyeAble_zoomStyle,"body","zoom : "+eyeAbleVariables.Zoom_Lvl.toFixed(2)+
";");setTimeout(function(){window.dispatchEvent(new Event("resize"))},100)}));fastdomEA.measure(function(){var a=eyeAble_shadowRoot.getElementById("eyeAble_columID");a.scrollHeight>window.innerHeight*parseInt(getComputedStyle(a).maxHeight)/100&&a.classList.contains("animeEyeAbleExtended")&&fastdomEA.mutate(function(){eyeAble_shadowRoot.getElementById("eyeAble_columID").style.overflowY="auto"})})}function eyeAble_deleteZoomboxTabIndices(){eyeAble_hideClickableElements("eyeAble_zoomBox1")}
function eyeAble_addZoomboxTabIndices(){eyeAble_showClickableElements("eyeAble_zoomBox1")};function eyeAble_initMagnifier(){eyeAble_session_parameters.isExtension&&!eyeAble_session_parameters.isPlugin&&(eyeAble_shadowRoot.querySelector("#eyeA-magnifierID").addEventListener("click",eyeAble_takeScreenshot),eyeAble_shadowRoot.querySelector("#eyeA-magnifierID").style.setProperty("display","inline-block","important"))}var eyeAble_takingScreenshot=!1;
function eyeAble_takeScreenshot(){if(!eyeAble_magnifierEnabled)return!1;eyeAble_session_parameters.isPlugin||eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID")||(eyeAble_removeTooltip(),-1!==eyeAble_retractionTimeoutID&&(clearTimeout(eyeAble_retractionTimeoutID),eyeAble_retractionTimeoutID=-1),setTimeout(function(){chrome.runtime.sendMessage({greeting:"eyeAble_Screenshot"},function(a){eyeAble_takingScreenshot=!0;var b=document.createElement("IMG");b.classList.add("eyeAble_img-magnifier_background");
b.setAttribute("src",a.imgSrc);b.setAttribute("id","screenID");b.setAttribute("width",window.innerWidth.toString()+"px");b.setAttribute("height",window.innerHeight.toString()+"px");b.style.setProperty("min-width",window.innerWidth.toString()+"px");b.style.setProperty("min-height",window.innerHeight.toString()+"px");b.style.setProperty("max-width",window.innerWidth.toString()+"px");b.style.setProperty("max-height",window.innerHeight.toString()+"px");eyeAble_showScreenshot(b)})},10))}
function eyeAble_showScreenshot(a){var b=document.createElement("DIV");b.classList.add("eyeAble_img-magnifier_glass");b.setAttribute("id","eyeAble_magnifierContainerID");eyeAble_shadowRoot.appendChild(b);b.appendChild(a);eyeAble_magnify("eyeAble_magnifierContainerID","screenID",2);eyeAble_takingScreenshot=!1}
function eyeAble_magnify(a,b,c){function d(l){if("undefined"!==typeof l&&l.key)switch(l.key.toLowerCase()){case "m":f();break;case "escape":f()}}function e(l){fastdomEA.measure(function(){l&&l.preventDefault();var n=l.pageX-125,q=l.pageY-125,m=125-l.pageX+window.pageXOffset,r=125-l.pageY+window.pageYOffset;fastdomEA.mutate(function(){g.style.left=n+"px";g.style.top=q+"px";h.style.left=m.toString()+"px";h.style.top=r.toString()+"px"})})}function f(l){eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID")&&
eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID").remove();eyeAble_shadowRoot.getElementById("eyeAble_columID").matches(":hover")||eyeAble_retractIconbar();document.body.removeEventListener("mousemove",e);window.removeEventListener("wheel",f);window.removeEventListener("keydown",d);"click"===l.type&&"function"===typeof document.elementFromPoint(l.x,l.y).click&&(document.elementFromPoint(l.x,l.y).click(),eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")&&
eyeAble_shadowRoot.elementFromPoint(l.x,l.y).click())}var h=eyeAble_shadowRoot.getElementById(b),g=eyeAble_shadowRoot.getElementById(a);g.style.transform="scale("+c.toString()+")";g.addEventListener("click",f);window.addEventListener("wheel",f);document.body.addEventListener("mousemove",e);window.addEventListener("keydown",d);eyeAble_shadowRoot.getElementById("eyeA-magnifierID").matches(":hover")?(a=eyeAble_shadowRoot.getElementById("eyeA-magnifierID").getBoundingClientRect(),g.style.left=(window.pageXOffset+
a.left-62.5).toString()+"px",g.style.top=(window.pageYOffset+a.top-62.5).toString()+"px"):(g.style.left=(window.pageXOffset+parseInt(h.width)/2-125).toString()+"px",g.style.top=(window.pageYOffset+parseInt(h.height)/2-125).toString()+"px")};var eyeAble_cssCustomSheet,eyeAble_hcDetected=!1;
function eyeAble_initCSS(){var a=!0;eyeAble_hcDetected=function(){var f=document.createElement("div");f.style.color="rgb(31, 41, 59)";document.body.appendChild(f);var h=document.defaultView?document.defaultView.getComputedStyle(f,null).color:f.currentStyle.color;h=h.replace(/ /g,"");document.body.removeChild(f);125>eyeAble_getBrightness(eyeAble_convertColor(h))&&(a=!1);return"rgb(31,41,59)"!==h?!0:!1}();if("undefined"!==typeof eyeAble_CSSText){var b=document.createElement("style");b.setAttribute("nonce",
eyeAble_nonce);b.setAttribute("id","eyeAble_inlineCSSID");b.innerHTML=eyeAble_CSSText;eyeAble_shadowRoot.appendChild(b);eyeAble_ccsLoaded=!0}else eyeAble_shadowRoot.getElementById("eyeABle_mainCSSID").setAttribute("href",eyeAble_imagePaths.cssPath);if(eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.customCssRules){var c=function(){var f=document.createElement("style");f.setAttribute("nonce",eyeAble_nonce);f.appendChild(document.createTextNode(""));eyeAble_shadowRoot.appendChild(f);return f.sheet}();
b=$jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.customCssRules));for(var d=b.next();!d.done;d=b.next()){var e=$jscomp.makeIterator(d.value);d=e.next().value;e=e.next().value;eyeAble_addCSSRule(c,d,e)}}eyeAble_hcDetected&&(c||(c=function(){var f=document.createElement("style");f.setAttribute("nonce",eyeAble_nonce);f.appendChild(document.createTextNode(""));eyeAble_shadowRoot.appendChild(f);return f.sheet}()),eyeAble_addCSSRule(c,".eyeAble_tgswitch,.eyeAble_setting-toggole-button","filter: invert(1);"),
a?(eyeAble_addCSSRule(c,".eyeAble_alignImg > img","filter: invert(1);"),eyeAble_addCSSRule(c,'[eaarialangid="ariaAlignNone"] > img, [eaarialangid="ariaCursorToogle"] > img',"filter: none !important;")):(eyeAble_addCSSRule(c,".eyeAble_smallIconHeader:hover, .eyeAble_smallIconHeader:focus","filter: invert(1) !important;"),eyeAble_addCSSRule(c,'.eyeAble_settings-block-icon,.eyeAble-arrowDown,.eyeAble_smallIconHeader,.eyeAble-sr-controls-icon > img,.eyeAble_sr-cmncontrols-icon > img,[eaaltlangid="altSettingsSrOpen"],[eaaltlangid="altCloseWindow"], input',
"filter: invert(1);")));try{eyeAble_fixSafariOverscrollBehavior()}catch(f){}}
function eyeAble_fixSafariOverscrollBehavior(){var a=navigator.userAgent.toLowerCase();if(a.includes("safari")&&!a.includes("chrome")&&!a.includes("chromium")){a=document.documentElement;var b=window.getComputedStyle(a),c=b.getPropertyValue("overscroll-behavior");b=b.getPropertyValue("overscroll-behavior-y");if("none"===c||"none"===b)a.style.setProperty("overscroll-behavior","auto","important"),console.log("Eye-Able Assist: Safari and overscroll-behavior detected. Applying fix by setting overscroll-behavior to auto !important on html-element. Necessary or the page wont be scrollable anymore")}}
var eyeAble_defaultCssVars={"--main-toolbar-background":"linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(20,20,20,1) 100%)","--fixed-header-background":"linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(38, 38, 38, 1) 100%)","--main-text-color":"white","--fixedHeader-text-color":"white","--inactive-hover-shadow":"0px 0px 4px 2px white","--inactive-hover-background":"linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(43,43,43,1) 100%)","--active-hover-shadow":"#ff606d","--active-text-color":"black","--active-background":"linear-gradient(180deg,rgba(255,255,255,1) 0,rgba(255,255,255,0.8) 100%)",
"--border-color":"#606060","--boxes-background":"linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(38, 38, 38, 1) 100%)","--font-family":"'Open Sans - Regular', Open Sans, sans-serif","--font-weight-text":"400","--font-size-buttons":"17px","--font-size-smallerText":"16px","--font-size-readable":"14px","--font-size-colorSelect":"12px","--font-font-transform":"translate(0px, 0px)","--icon-glow":"drop-shadow(0px 0 2px silver)","--toolbar-z-index":"2147483645"};
function eyeAble_loadColorVarsCSS(){var a=document.createElement("style");a.setAttribute("nonce",eyeAble_nonce);a.id="customCSSvariables";eyeAble_shadowRoot.appendChild(a);eyeAble_cssCustomSheet=a.sheet;a="";for(var b=$jscomp.makeIterator(Object.entries(eyeAble_defaultCssVars)),c=b.next();!c.done;c=b.next()){var d=$jscomp.makeIterator(c.value);c=d.next().value;d=d.next().value;a+=c+":"+d+";"}eyeAble_addCSSRule(eyeAble_cssCustomSheet,":host",a);eyeAble_pluginLocalConfig&&!1===eyeAble_pluginLocalConfig.activeImageInversion&&
eyeAble_addCSSRule(eyeAble_cssCustomSheet,".eyeAbleActive>.eyeAbleInvert, .eyeAbleActive>div>.eyeAbleInvert","filter : none;")}function eyeAble_resetColorVarsToDefault(){for(var a=eyeAble_cssCustomSheet.cssRules||eyeAble_cssCustomSheet.rules,b=$jscomp.makeIterator(Object.entries(eyeAble_defaultCssVars)),c=b.next();!c.done;c=b.next()){var d=$jscomp.makeIterator(c.value);c=d.next().value;d=d.next().value;a[0].style.setProperty(c,d)}};var eyeAble_pluginLocalConfig={},eyeAble_customContrastCSS,eyeAble_customDarkmodeCSS,eyeAble_customFontsizeCSS;
function eyeAble_applyExternalCustomization(){try{if("undefined"!==typeof eyeAble_pluginConfig&&eyeAble_pluginConfig){try{"function"===typeof eyeAble_updateConfig&&eyeAble_updateConfig()}catch(M){console.error("Custom Eye-Able Config Function failed. Please check the code of eyeAble_updateConfig() or contact the support at support@eye-able.com",M)}eyeAble_pluginLocalConfig=eyeAble_pluginConfig;eyeAble_pluginConfig.simulatePlugin&&(eyeAble_session_parameters.isPlugin=!0);eyeAble_pluginLocalConfig.customBackgroundColor&&
(eyeAble_pluginLocalConfig.newColor||(eyeAble_pluginLocalConfig.newColor={}),eyeAble_pluginLocalConfig.newColor["--boxes-background"]=eyeAble_pluginLocalConfig.customBackgroundColor,eyeAble_pluginLocalConfig.newColor["--fixed-header-background"]=eyeAble_pluginLocalConfig.customBackgroundColor,eyeAble_pluginLocalConfig.newColor["--main-toolbar-background"]=eyeAble_pluginLocalConfig.customBackgroundColor,eyeAble_pluginLocalConfig.customCssRules||(eyeAble_pluginLocalConfig.customCssRules={}),eyeAble_pluginLocalConfig.customCssRules[".eyeAble_tooltip:after"]=
"background : "+eyeAble_pluginLocalConfig.customBackgroundColor);if(1===eyeAble_pluginLocalConfig.mainIconAlt||"1"===eyeAble_pluginLocalConfig.mainIconAlt)eyeAble_imagePaths.mainIconPath=eyeAble_fileHomePath+"images/eye-able_whitelabel-icon.svg";else if(2===eyeAble_pluginLocalConfig.mainIconAlt||"2"===eyeAble_pluginLocalConfig.mainIconAlt)eyeAble_imagePaths.mainIconPath=eyeAble_fileHomePath+"images/eye-able_whitelabel-icon_2.svg";eyeAble_pluginConfig.customFeatures&&(eyeAble_session_parameters.isMobile?
eyeAble_pluginConfig.customMobileFeatures?eyeAble_activeFeatures=eyeAble_pluginConfig.customMobileFeatures:console.log("No Custom Mobile Design available."):eyeAble_pluginConfig.customDesktopFeatures?eyeAble_activeFeatures=eyeAble_pluginConfig.customDesktopFeatures:console.log("No Custom Desktop Design available."));eyeAble_pluginConfig.onlyOneContrast&&(eyeAble_setVar("iAble_Text_Color",eyeAble_pluginConfig.onlyOneContrast.color,1),eyeAble_setVar("iAble_Background_Color",eyeAble_pluginConfig.onlyOneContrast.background,
1));eyeAble_pluginConfig.forceInlineColor&&(eyeAble_forceInlineColor=eyeAble_pluginConfig.forceInlineColor);!1===eyeAble_pluginConfig.enableLinkHighlighting&&(eyeAble_enableLinkHighlighting=!1);if(eyeAble_pluginConfig.alternativeFilePaths)for(var a=$jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.alternativeFilePaths)),b=a.next();!b.done;b=a.next()){var c=$jscomp.makeIterator(b.value),d=c.next().value,e=c.next().value;d&&e&&(eyeAble_imagePaths[d]=eyeAble_fileHomePath+e)}if(eyeAble_pluginConfig.newColor)for(var f=
$jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.newColor)),h=f.next();!h.done;h=f.next()){var g=$jscomp.makeIterator(h.value),l=g.next().value,n=g.next().value;l in eyeAble_defaultCssVars&&(eyeAble_defaultCssVars[l]=n)}eyeAble_pluginConfig.customOneClickSettings&&!eyeAbleVariables.OneClickSaved&&eyeAble_setVar("OneClickSettingsDeviations",eyeAble_pluginConfig.customOneClickSettings);eyeAble_pluginConfig.websiteLock&&!window.location.hostname.includes(eyeAble_pluginConfig.websiteLock)&&(eyeAbleRunPlugin=
!1,console.log("Website is not in the configured domain range."));eyeAble_pluginConfig.sidePosition&&!eyeAble_session_parameters.isMobile&&null===localStorage.getItem("eyeAbleVariables")&&("left"===eyeAble_pluginConfig.sidePosition||"right"===eyeAble_pluginConfig.sidePosition?eyeAble_setVar("sidePosition",eyeAble_pluginConfig.sidePosition):console.log("Wrong format for custom Side Position"));eyeAble_pluginConfig.mobileSidePosition&&eyeAble_session_parameters.isMobile&&("left"===eyeAble_pluginConfig.mobileSidePosition||
"right"===eyeAble_pluginConfig.mobileSidePosition?(eyeAble_setVar("sidePosition",eyeAble_pluginConfig.mobileSidePosition),"left"===eyeAble_pluginConfig.mobileSidePosition&&(eyeAble_pluginLocalConfig.precisePosition=!0)):console.log("Wrong format for custom Side Position"));eyeAble_pluginConfig.topPosition&&null===localStorage.getItem("eyeAbleVariables")&&(eyeAble_pluginConfig.topPosition.includes("%")||eyeAble_pluginConfig.topPosition.includes("px")?eyeAble_setVar("topPosition",eyeAble_pluginConfig.topPosition):
console.log("Wrong format for custom Top Position"));eyeAble_pluginConfig.mobileBottomPosition&&(eyeAble_pluginConfig.mobileBottomPosition.includes("%")||eyeAble_pluginConfig.mobileBottomPosition.includes("px")?eyeAble_setVar("mobileBottomPosition",eyeAble_pluginConfig.mobileBottomPosition):console.log("Wrong format for custom mobileBottomPosition"));if(eyeAble_pluginConfig.rightPosition){var q=parseFloat(eyeAble_pluginConfig.rightPosition);0<=q&&500>=q?eyeAble_setVar("rightPosition",eyeAble_pluginConfig.rightPosition):
console.log("Wrong format for custom Right Position")}if(eyeAble_pluginConfig.mobileRightPosition){var m=parseFloat(eyeAble_pluginConfig.mobileRightPosition);0<=m&&500>=m?eyeAble_setVar("mobileRightPosition",eyeAble_pluginConfig.mobileRightPosition):console.log("Wrong format for custom mobileRightPosition ")}if(eyeAble_pluginConfig.contrastGraduationIntensity||0===eyeAble_pluginConfig.contrastGraduationIntensity){var r=parseInt(eyeAble_pluginConfig.contrastGraduationIntensity);100>=r&&0<=r?eyeAble_contrastGraduationIntensity=
r:console.log("Wrong format for custom Color Graduation!")}if(eyeAble_pluginConfig.fontsizeThreshold){var v=parseInt(eyeAble_pluginConfig.fontsizeThreshold);v&&0<v&&(eyeAble_settings.layoutCorrectThreshold=v+1)}if(eyeAble_pluginConfig.maxMagnification){var A=parseInt(eyeAble_pluginConfig.maxMagnification);A&&0<A&&(eyeAble_settings.maximumFontSizeIncrease=A+1)}if(eyeAble_pluginConfig.maxMobileMagnification&&eyeAble_session_parameters.isMobile){var D=parseInt(eyeAble_pluginConfig.maxMobileMagnification);
D&&0<D&&(eyeAble_settings.maximumFontSizeIncrease=D+1)}eyeAble_pluginConfig.userLang&&1<eyeAble_pluginConfig.userLang.length&&(eyeAble_userLang=eyeAble_pluginConfig.userLang);!1===eyeAble_pluginConfig.setWhiteImgBackground?eyeAble_setWhiteImgBackground=!1:!0===eyeAble_pluginConfig.setWhiteImgBackground&&(eyeAble_setWhiteImgBackground=!0);eyeAble_pluginLocalConfig&&(eyeAble_pluginLocalConfig.customSrBlacklistCSS&&(eyeAble_SrBlacklistClass=eyeAble_pluginLocalConfig.customSrBlacklistCSS),eyeAble_pluginLocalConfig.customSrStartCSS&&
(eyeAble_SrStartElementClass=eyeAble_pluginLocalConfig.customSrStartCSS),eyeAble_pluginLocalConfig.customSrTextCSS&&(eyeAble_SrTextBlockClass=eyeAble_pluginLocalConfig.customSrTextCSS));eyeAble_pluginConfig.sRStartElement&&document.body.querySelector(eyeAble_pluginConfig.sRStartElement).classList.add(eyeAble_SrStartElementClass);eyeAble_pluginConfig.sRTextBlock&&document.body.querySelector(eyeAble_pluginConfig.sRTextBlock).classList.add(eyeAble_SrTextBlockClass);eyeAble_pluginConfig.customContrastCSS&&
(eyeAble_customContrastCSS=document.createElement("style"),eyeAble_customContrastCSS.setAttribute("nonce",eyeAble_nonce),eyeAble_customContrastCSS.innerHTML=eyeAble_pluginConfig.customContrastCSS,document.head.appendChild(eyeAble_customContrastCSS),eyeAble_customContrastCSS.disabled=!0);eyeAble_pluginConfig.customDarkmodeCSS&&(eyeAble_customDarkmodeCSS=document.createElement("style"),eyeAble_customDarkmodeCSS.setAttribute("nonce",eyeAble_nonce),eyeAble_customDarkmodeCSS.innerHTML=eyeAble_pluginConfig.customDarkmodeCSS,
document.head.appendChild(eyeAble_customDarkmodeCSS),eyeAble_customDarkmodeCSS.disabled=!0);eyeAble_pluginConfig.customFontsizeCSS&&(eyeAble_customFontsizeCSS=document.createElement("style"),eyeAble_customFontsizeCSS.setAttribute("nonce",eyeAble_nonce),eyeAble_customFontsizeCSS.innerHTML=eyeAble_pluginConfig.customFontsizeCSS,document.head.appendChild(eyeAble_customFontsizeCSS),eyeAble_customFontsizeCSS.disabled=!0);var H;eyeAble_pluginConfig.blacklistScreenReader&&(H=eyeAble_pluginConfig.blacklistScreenReader.split(","));
if(H&&0<H.length)for(a=0;a<H.length;a++)if(0<H[a].length){var J=document.querySelectorAll(H[a].trim());if(J)for(b=0;b<J.length;b++)J[b].classList.add(eyeAble_SrBlacklistClass)}eyeAble_pluginConfig.useAzureVoices&&eyeAble_pluginConfig.azureRegion&&eyeAble_pluginConfig.azureApiKey&&(window.enableAzureTTS=!0,window.eyeAble_forceExternalTTS=!0,sdkApiKey=eyeAble_pluginConfig.azureApiKey,sdkRegion=eyeAble_pluginConfig.azureRegion);"undefined"!==typeof eyeAble_pluginConfig&&eyeAble_pluginConfig.externalLogoUrl&&
(eyeAble_imagePaths.mainIconPath=eyeAble_pluginConfig.externalLogoUrl);"undefined"!==typeof eyeAble_pluginConfig&&eyeAble_pluginConfig.externalToolbarLogoUrl&&(eyeAble_imagePaths.mainIconFullPath=eyeAble_pluginConfig.externalToolbarLogoUrl);eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.readSpeaker&&(eyeAble_imagePaths.navTTSPath=eyeAble_fileHomePath+"images/custom/Eye-Able-Main-ReadSpeaker_small.png");eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.hideIcon&&(eyeAble_hideMainIcon=!0);
eA_top&&eyeAble_setVar("topPosition",eA_top);eA_side&&eyeAble_setVar("sidePosition",eA_side);eA_bottom&&eyeAble_setVar("mobileBottomPosition",eA_bottom)}else eyeAble_imagePaths.mainIconPath=eyeAble_fileHomePath+"images/eye-able_whitelabel-icon_2.svg"}catch(M){}}
function eyeAble_checkFunctionButtons(){try{if("undefined"!==typeof EyeAbleAPI&&null!==EyeAbleAPI){var a=document.querySelectorAll(".eyeAbleToggleFontsize");if(a&&0<a.length)for(var b={$jscomp$loop$prop$i$365:0};b.$jscomp$loop$prop$i$365<a.length;b={$jscomp$loop$prop$i$365:b.$jscomp$loop$prop$i$365,$jscomp$loop$prop$fontsizeToggle$367:b.$jscomp$loop$prop$fontsizeToggle$367},b.$jscomp$loop$prop$i$365++)b.$jscomp$loop$prop$fontsizeToggle$367=function(g){return function(){0===eyeAbleVariables.Fontsize?
(EyeAbleAPI.setZoomLevel(3),a[g.$jscomp$loop$prop$i$365].setAttribute("aria-pressed","true")):(EyeAbleAPI.setZoomLevel(0),a[g.$jscomp$loop$prop$i$365].setAttribute("aria-pressed","false"))}}(b),a[b.$jscomp$loop$prop$i$365].setAttribute("aria-pressed","false"),a[b.$jscomp$loop$prop$i$365].addEventListener("click",function(g){return function(){g.$jscomp$loop$prop$fontsizeToggle$367()}}(b)),a[b.$jscomp$loop$prop$i$365].addEventListener("keydown",function(g){return function(l){"Enter"===l.key&&g.$jscomp$loop$prop$fontsizeToggle$367()}}(b));
var c=document.querySelectorAll(".eyeAbleToggleContrast");if(c&&0<c.length)for(b={$jscomp$loop$prop$i$93$369:0};b.$jscomp$loop$prop$i$93$369<c.length;b={$jscomp$loop$prop$i$93$369:b.$jscomp$loop$prop$i$93$369,$jscomp$loop$prop$contrastToggle$371:b.$jscomp$loop$prop$contrastToggle$371},b.$jscomp$loop$prop$i$93$369++)b.$jscomp$loop$prop$contrastToggle$371=function(g){return function(){EyeAbleAPI.toggleContrast();"Contrast"===EyeAbleAPI.getColorMode()?c[g.$jscomp$loop$prop$i$93$369].setAttribute("aria-pressed",
"true"):c[g.$jscomp$loop$prop$i$93$369].setAttribute("aria-pressed","false")}}(b),c[b.$jscomp$loop$prop$i$93$369].setAttribute("aria-pressed","false"),c[b.$jscomp$loop$prop$i$93$369].addEventListener("click",function(g){return function(){g.$jscomp$loop$prop$contrastToggle$371()}}(b)),c[b.$jscomp$loop$prop$i$93$369].addEventListener("keydown",function(g){return function(l){"Enter"===l.key&&g.$jscomp$loop$prop$contrastToggle$371()}}(b));var d=document.querySelectorAll(".eyeAbleReadAloud");if(d&&0<d.length)for(b=
{$jscomp$loop$prop$i$94$373:0};b.$jscomp$loop$prop$i$94$373<d.length;b={$jscomp$loop$prop$i$94$373:b.$jscomp$loop$prop$i$94$373,$jscomp$loop$prop$readAloudToggle$375:b.$jscomp$loop$prop$readAloudToggle$375},b.$jscomp$loop$prop$i$94$373++)b.$jscomp$loop$prop$readAloudToggle$375=function(g){return function(){EyeAbleAPI.toggleScreenreader();EyeAbleAPI.getScreenreaderState()?d[g.$jscomp$loop$prop$i$94$373].setAttribute("aria-pressed","true"):d[g.$jscomp$loop$prop$i$94$373].setAttribute("aria-pressed",
"false")}}(b),d[b.$jscomp$loop$prop$i$94$373].setAttribute("aria-pressed","false"),d[b.$jscomp$loop$prop$i$94$373].addEventListener("click",function(g){return function(){g.$jscomp$loop$prop$readAloudToggle$375()}}(b)),d[b.$jscomp$loop$prop$i$94$373].addEventListener("keydown",function(g){return function(l){"Enter"===l.key&&g.$jscomp$loop$prop$readAloudToggle$375()}}(b));var e=document.querySelectorAll(".eyeAbleBluefilter");if(e&&0<e.length)for(b={$jscomp$loop$prop$i$95$377:0};b.$jscomp$loop$prop$i$95$377<
e.length;b={$jscomp$loop$prop$i$95$377:b.$jscomp$loop$prop$i$95$377,$jscomp$loop$prop$bluefilterToggle$379:b.$jscomp$loop$prop$bluefilterToggle$379},b.$jscomp$loop$prop$i$95$377++)b.$jscomp$loop$prop$bluefilterToggle$379=function(g){return function(){EyeAbleAPI.toggleBluefilter();EyeAbleAPI.getBluefilterState()?e[g.$jscomp$loop$prop$i$95$377].setAttribute("aria-pressed","true"):e[g.$jscomp$loop$prop$i$95$377].setAttribute("aria-pressed","false")}}(b),e[b.$jscomp$loop$prop$i$95$377].setAttribute("aria-pressed",
"false"),e[b.$jscomp$loop$prop$i$95$377].addEventListener("click",function(g){return function(){g.$jscomp$loop$prop$bluefilterToggle$379()}}(b)),e[b.$jscomp$loop$prop$i$95$377].addEventListener("keydown",function(g){return function(l){"Enter"===l.key&&g.$jscomp$loop$prop$bluefilterToggle$379()}}(b));var f=document.querySelectorAll(".eyeAbleNightmode");if(f&&0<f.length)for(b={$jscomp$loop$prop$i$96$381:0};b.$jscomp$loop$prop$i$96$381<f.length;b={$jscomp$loop$prop$i$96$381:b.$jscomp$loop$prop$i$96$381,
$jscomp$loop$prop$nightmodeToggle$383:b.$jscomp$loop$prop$nightmodeToggle$383},b.$jscomp$loop$prop$i$96$381++)b.$jscomp$loop$prop$nightmodeToggle$383=function(g){return function(){EyeAbleAPI.toggleDarkmode();EyeAbleAPI.getDarkmodeState()?f[g.$jscomp$loop$prop$i$96$381].setAttribute("aria-pressed","true"):f[g.$jscomp$loop$prop$i$96$381].setAttribute("aria-pressed","false")}}(b),f[b.$jscomp$loop$prop$i$96$381].setAttribute("aria-pressed","false"),f[b.$jscomp$loop$prop$i$96$381].addEventListener("click",
function(g){return function(){g.$jscomp$loop$prop$nightmodeToggle$383()}}(b)),f[b.$jscomp$loop$prop$i$96$381].addEventListener("keydown",function(g){return function(l){"Enter"===l.key&&g.$jscomp$loop$prop$nightmodeToggle$383()}}(b));var h=document.querySelectorAll(".eyeAbleProtanomaly");if(h&&0<h.length)for(b={$jscomp$loop$prop$i$97$385:0};b.$jscomp$loop$prop$i$97$385<h.length;b={$jscomp$loop$prop$i$97$385:b.$jscomp$loop$prop$i$97$385,$jscomp$loop$prop$protanomalyToggle$387:b.$jscomp$loop$prop$protanomalyToggle$387},
b.$jscomp$loop$prop$i$97$385++)b.$jscomp$loop$prop$protanomalyToggle$387=function(g){return function(){EyeAbleAPI.getColorCorrectionState()?(eyeAble_resetColorCorrection(),h[g.$jscomp$loop$prop$i$97$385].setAttribute("aria-pressed","true")):(EyeAbleAPI.setColorCorrection("Protanomalie"),h[g.$jscomp$loop$prop$i$97$385].setAttribute("aria-pressed","false"))}}(b),h[b.$jscomp$loop$prop$i$97$385].setAttribute("aria-pressed","false"),h[b.$jscomp$loop$prop$i$97$385].addEventListener("click",function(g){return function(){g.$jscomp$loop$prop$protanomalyToggle$387()}}(b)),
h[b.$jscomp$loop$prop$i$97$385].addEventListener("keydown",function(g){return function(l){"Enter"===l.key&&g.$jscomp$loop$prop$protanomalyToggle$387()}}(b))}}catch(g){console.log("Error detecting custom elements",g)}};var eyeAble_activeFeaturesBase={id:"Free",OneClick:!0,FontSize:!0,FontSizeLimit:3,Magnifier:!1,Contrast:!0,Bluefilter:!0,Nightmode:!0,Reader:!1,TabNav:!1,Sitemap:!1,ColorCorrection:!1,FontFamily:!1,BluefilterAuto:!1,BigCursor:!1,HideImages:!1,BlockAnimations:!1,MuteAudio:!1,MoreFunctions:!1,SettingsTopIcon:!0,InfoTopIcon:!0},eyeAble_activeFeaturesBaseMobile={id:"Free",OneClick:!0,FontSize:!0,FontSizeLimit:3,Magnifier:!1,Contrast:!0,Bluefilter:!0,Nightmode:!0,Reader:!1,TabNav:!1,Sitemap:!1,ColorCorrection:!1,
FontFamily:!1,BluefilterAuto:!1,BigCursor:!1,HideImages:!1,BlockAnimations:!1,MuteAudio:!1,MoreFunctions:!1,SettingsTopIcon:!0,InfoTopIcon:!0},eyeAble_activeFeaturesMobile={id:"Mobile",OneClick:!0,FontSize:!0,FontSizeLimit:100,Magnifier:!1,Contrast:!0,Bluefilter:!0,Nightmode:!0,Reader:!0,TabNav:!1,Sitemap:!0,ColorCorrection:!0,FontFamily:!0,BluefilterAuto:!0,BigCursor:!1,HideImages:!0,BlockAnimations:!0,MuteAudio:!0,MoreFunctions:!0,SettingsTopIcon:!0,InfoTopIcon:!0},eyeAble_activeFeaturesPro={id:"Pro",
OneClick:!0,FontSize:!0,FontSizeLimit:100,Magnifier:!0,Contrast:!0,Bluefilter:!0,Nightmode:!0,Reader:!0,TabNav:!0,Sitemap:!0,ColorCorrection:!0,FontFamily:!0,BluefilterAuto:!0,BigCursor:!0,HideImages:!0,BlockAnimations:!0,MuteAudio:!0,MoreFunctions:!0,SettingsTopIcon:!0,InfoTopIcon:!0},eyeAble_activeFeaturesLight={id:"Light",OneClick:!0,FontSize:!0,FontSizeLimit:100,Magnifier:!0,Contrast:!0,Bluefilter:!0,Nightmode:!0,Reader:!1,TabNav:!1,Sitemap:!1,ColorCorrection:!0,FontFamily:!1,BluefilterAuto:!1,
BigCursor:!1,HideImages:!0,BlockAnimations:!1,MuteAudio:!1,MoreFunctions:!1,SettingsTopIcon:!0,InfoTopIcon:!0},eyeAble_activeFeatures=eyeAble_activeFeaturesPro,eyeAble_oneClickEnabled=!0,eyeAble_fontSizeEnabled=!0,eyeAble_contrastEnabled=!0,eyeAble_bluefilterEnabled=!0,eyeAble_nightmodeEnabled=!0,eyeAble_readerEnabled=!0,eyeAble_tabNavEnabled=!0,eyeAble_colorCorrEnabled=!0,eyeAble_fontFamilyEnabled=!0,eyeAble_bluefilterAutoEnabled=!0,eyeAble_bigCursorEnabled=!0,eyeAble_blockAnimationsEnabled=!0,eyeAble_hideImagesAutoEnabled=
!0,eyeAble_muteAudioAutoEnabled=!0,eyeAble_magnifierEnabled=!0,eyeAble_sitemapEnabled=!0,eyeAble_moreFunctionsButtonEnabled=!0,eyeAble_settingsTopIconEnabled=!0,eyeAble_infoTopIconEnabled=!0;
function eyeAble_isSafari(){var a=window.navigator.userAgent,b=!!a.match(/iPad/i)||!!a.match(/iPhone/i),c=!!a.match(/WebKit/i);a=b&&c&&!a.match(/CriOS/i);return/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!==typeof safari&&window.safari.pushNotification).toString()||a?!0:!1}
function eyeAble_reduceFeatures(){var a="eyeAble_hideFunction";"Free"===eyeAble_activeFeatures.id&&!0===eyeAble_session_parameters.isExtension&&(a="eyeAble_dimFunction");eyeAble_isSafari()&&(eyeAble_activeFeatures.ColorCorrection=!1);if(eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.forceLocalVoiceOnly){for(var b=speechSynthesis.getVoices(),c=!1,d=0;d<b.length;d++)!0===b[d].localService&&(c=!0);c||(eyeAble_activeFeatures.Reader=!1)}!0===eyeAble_nightmodeBlacklisted&&(eyeAble_activeFeatures.Nightmode=
!1);b=$jscomp.makeIterator(Object.entries(eyeAble_activeFeatures));for(c=b.next();!c.done;c=b.next())if(d=$jscomp.makeIterator(c.value),c=d.next().value,d=d.next().value,"boolean"===typeof d&&!1===d)switch(c){case "OneClick":eyeAble_oneClickEnabled=!1;eyeAble_shadowRoot.querySel