(self.AudioEyeWebpackJsonp=self.AudioEyeWebpackJsonp||[]).push([[7338],{850:function(e){e.exports='\n'},2602:function(e,t){"use strict";var a=AudioEye.productConfig,i={"aria-expanded":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-expanded");return e?u(e):void 0}},"aria-orientation":{configurable:!0,get:function(){return s(this.elem.getAttribute("aria-orientation"),["horizontal","vertical"])||void 0}},"aria-required":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-required");return e?u(e):this.elem.required}},"aria-readonly":{configurable:!0,get:function(){return u(this.elem.getAttribute("aria-readonly"))}},"aria-activedescendant":{configurable:!0,get:function(){return this.elem.getAttribute("aria-activedescendant")}},"aria-autocomplete":{configurable:!0,get:function(){return s(this.elem.getAttribute("aria-autocomplete"),["inline","list","both"])||"none"}},"aria-multiline":{configurable:!0,get:function(){return u(this.elem.getAttribute("aria-multiline"))}},"aria-placeholder":{configurable:!0,get:function(){return this.elem.getAttribute("aria-placeholder")}},"aria-selected":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-selected");return e?u(e):this.elem.selected}},"aria-checked":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-checked");if(e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;case"mixed":return"mixed";default:return}}},"aria-posinset":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-posinset");return parseInt(e)||void 0}},"aria-setsize":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-setsize");return parseInt(e)||void 0}},"aria-pressed":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-pressed");if(e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;case"mixed":return"mixed";default:return}}},"aria-level":{configurable:!0,get:function(){var e=this.elem.getAttribute("aria-level");return parseInt(e)||void 0}}},n={};function r(e){var t=0;return e.tag&&t++,e.attributes?(e.attributes.forEach((function(e){t+=e.length})),t):t}function o(e){var t=e.nodeName;if(!t)return!1;t=t.toLowerCase();var a,i=(a=t,Object.keys(n).ae_reduce((function(e,t){var i=n[t].implicit_html;return i?(i.forEach((function(i){i.tag===a&&e.push({tag:i.tag,attributes:i.attributes,role:n[t].role})})),e):e}),[]));if(!i.length)return null;i.sort((function(e,t){return r(t)-r(e)}));for(var o=0,u=i.length;o-1?t.split(" "):[t];var a=[];return t.forEach((function(e){1===window.ae_jQuery("#"+e).length&&a.push(e)})),a}(e)),t||(g=null),function(e){if(3===e.nodeType)return!1;if(!function(e){return 0!=(e=window.ae_jQuery(e)).parentsUntil(window.ae_jQuery(document.body).add("html")).addBack().filter((function(){var e=window.ae_jQuery(this).css("visibility"),t=window.ae_jQuery(this).css("display");return"hidden"===e||"none"===t})).length}(e))return!1;var t=e.id,a=!!t&&window.ae_jQuery('[aria-labelledby="'+t+'"]').length>0,i=!!t&&window.ae_jQuery('[for="'+t+'"]').length>0;return!a&&!i}(e))return null;var n=b(e);return 0!=n&&(null===g?g=n:g+=" "+n),!t&&i.length?(i.forEach((function(e){var t=f(document.getElementById(e),!0);null!=t&&(null===g?g=t:g+=" "+t)})),_(e,g)):e.getAttribute&&e.getAttribute("aria-label")&&e.getAttribute("aria-label").trim()?t&&w(e)?_(e,a=p(e)):(a=e.getAttribute("aria-label"),_(e,a)):function(e){return(!e.getAttribute||"presentation"!==e.getAttribute("role")&&"none"!==e.getAttribute("role"))&&(!("IMG"!==e.tagName||!e.getAttribute||!e.getAttribute("alt"))||(!("IMG"!==e.tagName||!e.getAttribute||!e.getAttribute("alt"))||(!(!e.getAttribute||"IFRAME"!==e.tagName||!e.getAttribute("title"))||!(!e.id||!document.querySelectorAll('[for="'+e.id+'"]').length))))}(e)?function(e){if(e.getAttribute&&"IMG"===e.tagName&&e.getAttribute("alt"))return e.getAttribute("alt");if(e.getAttribute&&"IMG"===e.tagName&&e.getAttribute("title"))return e.getAttribute("title");if(e.getAttribute&&"IFRAME"===e.tagName&&e.getAttribute("title"))return e.getAttribute("title");var t=e.id;return t&&document.querySelector('[for="'+t+'"]').length?document.querySelector('[for="'+t+'"]').textContent:void 0}(e):function(e){var t=w(e);if(!t)return!1;var a=(e=window.ae_jQuery(e)).parents("label").length>0,i=e.attr("id"),n=window.ae_jQuery('[labelledby="'+i+'"]').length>0,r=e.prop("tagName");if(t&&(a||n)){if("TEXTAREA"===r)return!0;if("INPUT"===r&&"text"===e.attr("type"))return!0;if("BUTTON"===r)return!0;if("SELECT"===r)return!0;if("INPUT"===r&&"range"===e.attr("type"))return!0}return!1}(e)?p(e):function(e){if(function(e){var t={"a:href":"link",area:"link",button:"button",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",li:"listitem","input:radio":"radio","input:submit":"button","input:image":"button","input:reset":"button","input:button":"button",option:"option"};if(3===e.nodeType)return!0;var a=["button","checkbox","columnheader","directory","gridcell","heading","link","listitem","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowgroup","rowheader","section","sectionhead","tab","tooltip","treeitem"];if(window.ae_jQuery(e).attr("role")){var i=window.ae_jQuery(e).attr("role");return a.indexOf(i.toLowerCase())>-1}var n=null;return e.tagName&&"INPUT"===e.tagName?n="input:"+window.ae_jQuery(e).attr("type"):e.tagName&&"A"===e.tagName?n="a"+(e.getAttribute("href")?":href":""):e.tagName&&(n=e.tagName.toLowerCase()),!!(n&&t[n]&&a.indexOf(t[n].toLowerCase())>-1)}(e))return!0;var t=(e=window.ae_jQuery(e)).attr("id");return window.ae_jQuery('[labelledby="'+t+'"]').length>0||"LABEL"===e.prop("tagName")||!!e.parents("label").length}(e)?function(e){if(3===e.nodeType)return e.textContent;var t="";b((e=window.ae_jQuery(e))[0])&&(t=b(e[0]));for(var a=e[0].childNodes,i=0;i0,a=e.attr("id"),i=window.ae_jQuery('[labelledby="'+a+'"]').length>0,n="",r=e.prop("tagName");if(t||i)if("TEXTAREA"===r)n=e.val();else if("INPUT"===r&&"text"===e.attr("type"))n=e.val();else if("BUTTON"===r)n=f(e[0],!0);else if("SELECT"===r){var o=e.find("option:selected")[0];n=o?f(o,!0):null}else"INPUT"===r&&"range"===e.attr("type")&&(n=e.attr("aria-valuetext")?e.attr("aria-valuetext"):e.attr("aria-valuenow")?e.attr("aria-valuenow"):e.val());return n}function w(e){return 3!==e.nodeType&&["input","textbox","textarea","button","combobox","option","range","spinbutton","slider"].indexOf(e.tagName.toLowerCase())>-1}function b(e){if(!e.isConnected)return!1;if(3===e.nodeType)return!1;var t=!1;try{t="none"!=(t=window.getComputedStyle(e,":before").getPropertyValue("content"))&&"string"==typeof t&&t.substring(1,t.length-1)+" "}catch(t){console.log("ERROR: "+t+" , in cssBefore on element: ",e)}return t}function _(e,t){var a=function(e){if(!e.isConnected)return!1;if(3===e.nodeType)return!1;var t=!1;try{t="none"!=(t=window.getComputedStyle(e,":after").getPropertyValue("content"))&&"string"==typeof t&&t.substring(1,t.length-1)}catch(t){console.log("ERROR: "+t+" , in cssAfter on element: ",e)}return t}(e);return a?t+" "+a:t}var v={getRole:function(e){var t,a,i;return!!e&&(e.jquery&&(e=e[0]),(i=(t=e.getAttribute("role")||o(e))&&(a=l(t))?Object.create(a):Object.create(n.roletype)).elem=e,i.role)},containsAccessibleText:function(e){if(e.find("img[alt]").addBack("img[alt]").length)return!0;if(e.find("[aria-label]").addBack("[aria-label]").filter((function(){return window.ae_jQuery(this).attr("aria-label").length>0})).length)return!0;var t=this.elementWithValidAttr(e,"aria-describedby"),a=this.elementWithValidAttr(e,"aria-labelledby");return!(!t&&!a&&!e.safeText().length)},elementWithValidAttr:function(e,t){return e.find("["+t+"]").addBack("["+t+"]").filter((function(){return window.ae_jQuery("#"+window.ae_jQuery(this).attr(t)).text().length>0})).length>0},queryByRole:function(e,t,a){var i=window.ae_jQuery();if(!t||!a)return!1;if(a=window.ae_jQuery(a),t=t.toLowerCase(),!window.ae_jQuery.isFunction(a[e]))throw new Error('element does not have jquery method "'+e+'"');if(-1!==["has"].indexOf(e))throw new Error('Method "'+e+'" not allowed.');return i=i.add(a[e](h(t))),d(t).forEach((function(n){var r=a[e](n.tag).filter((function(){return m(window.ae_jQuery(this),n,t)}));r.length&&(i=i.add(r))})),i},roleFactory:function(e){return!!n[e]&&Object.create(n[e])},getAccessibleName:function(e){return g=null,g=(g=(g=f(e,!1))?g.replace(/\s\s+/g," "):g)?g.trim():g}};!function(){for(var e in n){var t=Object.getPrototypeOf(n[e]);t.role&&(n[t.role].hasOwnProperty("subroles")||(n[t.role].subroles=[]),n[t.role].subroles.push(e))}}(),a&&a.testmode&&window.testScope&&(window.testScope.ARIA={implicit_role:o,get_implicit_html_by_role:d,has_required_attributes:c,matches_html_and_role:m,get_explicit_role_selector:h,Roles:n}),t.Z=v},9402:function(e,t,a){"use strict";var i=a(2399),n=a(4918),r=a(3739),o=window==window.top?"parent":"iframe",u=new n.Z("module-core@"+o),s={inIframe:i.Z.inIframe(),isPanel:!1,open:function(){return!this.active&&(this.active=!0,this.isInterfaceAllowed()&&this.initUIContent(),-1!==["reader","player","voice"].indexOf(this.moduleName)&&window.ae_jQuery("#ae_app").off("DeviceChange."+this.moduleName).on("DeviceChange."+this.moduleName,(function(e){i.Z.setTooltipEvents(e.detail.device,window.ae_jQuery('#ae_module_controlbar [class*="aetipsytip"]'))})),this.observeLangChange(),!0)},close:function(){if(!this.active)return!1;this.active=!1,window.ae_jQuery.unregister(this.moduleName),this.removeInterface()},okToCloseModule:function(){return!0},observeLangChange:function(){var e=this;window.ae_jQuery("#ae_app").register("LangChange."+this.moduleName,(function(t){var a=t.detail.newLang;e.refreshLanguage(a)}))},initUIContent:function(){if(!1===this._options.needsInterface)return!1;if(!this._options||!this._options.languages)return u.error("Error: Cannot add interface. "+this.moduleName+" has no defined languages."),!1;this.isPanel&&(u.debug(this.moduleName+" is defined as a panel module: Closing all other panels"),i.Z.closeAllPanels([this.moduleName]));const e=i.Z.normalizeISO(AudioEye.lang);-1===this._options.languages.indexOf(e)&&this._options.languages.push(e),this.addInterface(),this.refreshLanguage(e)},isInterfaceAllowed:function(){return!!r.Z.isPreviewMode()||!this.inIframe||"pdf"===AudioEye.mode},addInterface:window.ae_jQuery.noop,refreshLanguage:function(e){var t=window.ae_jQuery.Deferred(),a=t.promise();if(!this._options||!this._options.languages)return u.debug("Detected language change but module has no languages"),!1;if(this.inIframe)return!1;const n=i.Z.normalizeISO(e);return-1!==this._options.languages.indexOf(n)?(this.addInterface(),t.resolve(),t.promise()):a},getComponent:function(e){return this._options&&this._options.components?this._options.components[e][AudioEye.lang]:(u.info("cannot get component: module has no options or components"),!1)},getHook:function(e){return i.Z.getHook(this.moduleName,e)},walkthrough:{open:function(){if(!this.canShow())return u.debug("walkthrough.open not allowed in this environment"),!1;this.show()},canShow:function(){return!i.Z.inIframe()}}};t.Z=s},7668:function(e,t){"use strict";var a={all_shortcuts:{default:{}},add:function(e,t,a,i){var n={type:"keydown",propagate:!1,disable_in_input:!1,ignore_modifiers:!1,target:document,keycode:!1},r=this;"string"!=typeof t&&(i=a,a=t,t="default"),i?Object.keys(n,(function(e){void 0===i[e]&&(i[e]=n[e])})):i=n;var o=i.target;"string"==typeof i.target&&(o=document.getElementById(i.target)),e=e.toLowerCase();var u=function(t){if("string"==typeof t)return a(window.event);if(t=t||window.event,!r.disabledCommands.isDisabled(e)){if(i.disable_in_input){var n;if(t.relayedTargetTagName?n={tagName:t.relayedTargetTagName}:t.target?n=t.target:t.srcElement&&(n=t.srcElement),t.srcElement.shadowRoot)if(t.explicitOriginalTarget)n=t.explicitOriginalTarget;else if(t.path&&Array.isArray(t.path))n=t.path[0];else if("function"==typeof t.composedPath){const e=t.composedPath();e&&Array.isArray(e)&&(n=e[0])}if(3===n.nodeType&&(n=n.parentNode),"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"true"===n.contentEditable)return}var o,u=t.keyCode||t.which;switch(u){case 91:case 92:break;case 109:case 173:case 189:o="-";break;case 107:case 187:o="=";break;case 188:o=",";break;case 190:o=".";break;case 191:o="/";break;case 219:o="[";break;case 221:o="]";break;default:o=String.fromCharCode(u).toLowerCase()}var s={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+","[":"{","]":"}",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"},l={esc:27,escape:27,tab:9,space:32,return:13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,break:19,insert:45,home:36,delete:46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},c={shift:{wanted:!1,pressed:!!t.shiftKey},ctrl:{wanted:!1,pressed:!!t.ctrlKey},alt:{wanted:!1,pressed:!!t.altKey},meta:{wanted:!1,pressed:!!t.metaKey}},d=0,m=e.split("+");if(m.forEach((function(e){"ctrl"===e||"control"===e?(d+=1,c.ctrl.wanted=!0):"shift"===e?(d+=1,c.shift.wanted=!0):"alt"===e?(d+=1,c.alt.wanted=!0):"meta"===e?(d+=1,c.meta.wanted=!0):e.length>1?l[e]===u&&(d+=1):i.keycode?i.keycode===u&&(d+=1):(o===e||s[o]&&t.shiftKey&&(o=s[o])===e)&&(d+=1)})),d===m.length&&(i.ignore_modifiers||c.ctrl.pressed===c.ctrl.wanted&&c.shift.pressed===c.shift.wanted&&c.alt.pressed===c.alt.wanted&&c.meta.pressed===c.meta.wanted)&&(!1===a(t)||("function"==typeof i.propagate?!i.propagate(t):!i.propagate)))return t.cancelBubble=!0,t.returnValue=!1,t.stopPropagation&&(t.stopPropagation(),t.preventDefault()),!1}};this.all_shortcuts[t]||(this.all_shortcuts[t]={}),this.all_shortcuts[t][e]||(this.all_shortcuts[t][e]=[]),this.all_shortcuts[t][e].push({callback:u,target:o,event:i.type}),o.addEventListener?o.addEventListener(i.type,u,!0):o.attachEvent?o.attachEvent("on"+i.type,u):o["on"+i.type]=u},trigger:function(e,t){if(e=e.toLowerCase(),t)this.all_shortcuts[t][e].forEach((function(t){t&&t.callback(e)}));else{var a=this;Object.keys(this.all_shortcuts).forEach((function(t){a.trigger(e,t)}))}},remove:function(e,t){if(e=e.toLowerCase(),t&&this.all_shortcuts[t]){if(!Array.isArray(this.all_shortcuts[t][e]))return;this.all_shortcuts[t][e].forEach((function(e){if(e){var t=e.event,a=e.target,i=e.callback;a.detachEvent?a.detachEvent("on"+t,i):a.removeEventListener?a.removeEventListener(t,i,!0):a["on"+t]=!1}})),delete this.all_shortcuts[t][e]}else{var a=this;Object.keys(this.all_shortcuts).forEach((function(t){a.remove(e,t)}))}},removeAll:function(e){var t=this;if(e){if(!this.all_shortcuts[e])return!1;Object.keys(this.all_shortcuts[e]).forEach((function(a){t.remove(a,e)}))}else Object.keys(this.all_shortcuts).forEach((function(e){t.removeAll(e)}))},disabledCommands:{_commands:{},add:function(e){this._commands[e]=!0},remove:function(e){delete this._commands[e]},isDisabled:function(e){return this._commands[e]}}};t.Z=a},8855:function(e,t,a){"use strict";a.r(t);var i=a(7668),n=a(2399),r=a(850),o=a.n(r),u=a(9402),s=a(2602),l=a(4918),c=a(4421);t.default=function e(t){const a=this;let r,d;const m={mobile:1,tablet:2,desktop:3,large:5},h={pageIndex:0,totalPages:0,totalMenus:0,itemsPerPage:0,pageWidth:null,currentPosition:0};let g={},f={},p={};const w=new l.Z("site-menu");function b(){i.Z.removeAll("site-menu"),i.Z.add("right","site-menu",(e=>{a.moveRight(e),n.Z.logStat("User","AE Site Menu","right arrow")}),{type:"keydown",target:document}),i.Z.add("left","site-menu",(e=>{a.moveLeft(e),n.Z.logStat("User","AE Site Menu","left arrow")}),{type:"keydown",target:document}),i.Z.add("up","site-menu",(e=>{a.moveUp(e),n.Z.logStat("User","AE Site Menu","up arrow")}),{type:"keydown",target:document}),i.Z.add("down","site-menu",(e=>{a.moveDown(e),n.Z.logStat("User","AE Site Menu","down arrow")}),{type:"keydown",target:document}),i.Z.add("tab","site-menu",(e=>{e.preventDefault(),C("next"),n.Z.logStat("User","AE Site Menu","tab")}),{type:"keydown",target:document}),i.Z.add("shift+tab","site-menu",(e=>{e.preventDefault(),C("prev"),n.Z.logStat("User","AE Site Menu","shift+tab")}),{type:"keydown",target:document}),i.Z.add("x","site-menu",(e=>{e.preventDefault(),n.Z.setModuleActive("site-menu",!1),n.Z.logStat("User","Close AE Site Menu","x")}),{type:"keydown",target:document}),i.Z.add("esc","site-menu",(e=>{e.preventDefault(),n.Z.setModuleActive("site-menu",!1),n.Z.logStat("User","Close AE Site Menu","x")}),{type:"keydown",target:document})}function _(){const e=window.ae_jQuery("#ae_site-menu .ae-menu-section").not("#ae_menu_container_template");return e.remove(),e.length}function v(e){return s.Z.queryByRole("find","link",e).add(e.find("a"))}function y(e){const t=e.wrapAll(window.ae_jQuery("