!function(e){function t(e){return"[object Array]"===Object.prototype.toString.call(e)}function i(){for(var e=0;e<E.length;e++)E[e][0](E[e][1]);E=[],w=!1}function n(e,t){E.push([e,t]),w||(w=!0,x(i,0))}function a(e,t){function i(e){s(t,e)}function n(e){l(t,e)}try{e(i,n)}catch(e){n(e)}}function o(e){var t=e.owner,i=t.state_,n=t.data_,a=e[i],o=e.then;if("function"==typeof a){i=b;try{n=a(n)}catch(e){l(o,e)}}r(o,n)||(i===b&&s(o,n),i===_&&l(o,n))}function r(e,t){var i;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"==typeof t)){var n=t.then;if("function"==typeof n)return n.call(t,function(n){i||(i=!0,t!==n?s(e,n):u(e,n))},function(t){i||(i=!0,l(e,t))}),!0}}catch(t){return i||l(e,t),!0}return!1}function s(e,t){e!==t&&r(e,t)||u(e,t)}function u(e,t){e.state_===m&&(e.state_=h,e.data_=t,n(c,e))}function l(e,t){e.state_===m&&(e.state_=h,e.data_=t,n(p,e))}function d(e){var t=e.then_;e.then_=void 0;for(var i=0;i<t.length;i++)o(t[i])}function c(e){e.state_=b,d(e)}function p(e){e.state_=_,d(e)}function f(e){if("function"!=typeof e)throw new TypeError("Promise constructor takes a function argument");if(this instanceof f==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.then_=[],a(e,this)}var y=e.Promise,g=y&&"resolve"in y&&"reject"in y&&"all"in y&&function(){var e;return new y(function(t){e=t}),"function"==typeof e}();"undefined"!=typeof exports&&exports?(exports.Promise=g?y:f,exports.Polyfill=f):"function"==typeof define&&define.amd?define("uw_widget_components/promisePolyfil",function(){return g?y:f}):g||(e.Promise=f);var w,m="pending",h="sealed",b="fulfilled",_="rejected",v=function(){},x="undefined"!=typeof setImmediate?setImmediate:setTimeout,E=[];f.prototype={constructor:f,state_:m,then_:null,data_:void 0,then:function(e,t){var i={owner:this,then:new this.constructor(v),fulfilled:e,rejected:t};return this.state_===b||this.state_===_?n(o,i):this.then_.push(i),i.then},catch:function(e){return this.then(null,e)}},f.all=function(e){var i=this;if(!t(e))throw new TypeError("You must pass an array to Promise.all().");return new i(function(t,i){for(var n,a=[],o=0,r=0;r<e.length;r++)n=e[r],n&&"function"==typeof n.then?n.then(function(e){return o++,function(i){a[e]=i,--o||t(a)}}(r),i):a[r]=n;o||t(a)})},f.resolve=function(e){var t=this;return e&&"object"==typeof e&&e.constructor===t?e:new t(function(t){t(e)})},f.reject=function(e){return new this(function(t,i){i(e)})}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this),function(){Math.imul||(Math.imul=function(e,t){var i=e>>>16&65535,n=65535&e,a=t>>>16&65535,o=65535&t;return n*o+(i*o+n*a<<16>>>0)|0}),Array.prototype.find=Array.prototype.find||function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("callback must be a function");for(var t=Object(this),i=t.length>>>0,n=arguments[1],a=0;a<i;a++){var o=t[a];if(e.call(n,o,a,t))return o}}}(),function(){function e(e,t){if(null==window[i].ContextHolder.lib[e])window[i].ContextHolder.lib[e]=null!=t?t:{name:e};else if(null!=t)return;return window[i].ContextHolder.lib[e]}function t(t){return null!=window[i].ContextHolder.lib[t]?window[i].ContextHolder.lib[t]:e(t,null)}var i="UserWayWidgetApp";if("object"!=typeof window[i]||!window[i].initialized){var n=!!window[i]&&window[i].lazyLoaded;window[i]={addLib:e,getLib:t,ContextHolder:{lib:{}},initialized:!0,lazyLoaded:n}}}();var __read=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,a,o=i.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)r.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return r},__spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},__values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(){}function t(e,t){void 0===t&&(t=0),e=""+(e||"");for(var i=3735928559^t,n=1103547991^t,a=0,o=void 0;a<e.length;a++)o=e.charCodeAt(a),i=Math.imul(i^o,2654435761),n=Math.imul(n^o,1597334677);return i=Math.imul(i^i>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),4294967296*(2097151&(n=Math.imul(n^n>>>16,2246822507)^Math.imul(i^i>>>13,3266489909)))+(i>>>0)}function n(e){var i={s:"src",h:"href"},n=e.innerText?t(e.innerText):"";return Object.keys(i).reduce(function(n,a){var o=i[a],r=e.getAttribute?e.getAttribute(o):"";return e.hasAttribute&&e.hasAttribute(o)&&""!==r?n+";"+a+":"+t(r):n},"|"+n)}function a(e){C(function(e){if(this.head){var t=this.createElement("style");t.innerHTML=e;try{this.head.appendChild(t)}catch(e){}}},arguments)}function o(e,t){var i=document.createElement("div");i.innerHTML=e,i.classList.add("uw-page-structure-modal"),i.setAttribute("data-uw-feature-ignore","true"),i.id="uwPageStructureModal",t.isMobile&&i.firstChild&&i.firstChild.classList.add("uw-ps-mobile");var n=document.querySelector(".uw-s10-reading-guide");n&&n.parentElement&&n.parentElement.insertBefore(i,n)}function r(e,t,i,n){n?e.settings[t].value[n]=i:"object"==typeof e.settings[t]?e.settings[t].value=i:e.settings[t]=i,e.supportsLocalStorage?window.localStorage.setItem(t,i):c(t)}function s(e,t,i){if(void 0===i&&(i=!0),e.supportsLocalStorage){var n=window.localStorage.getItem(t);return void 0!==n&&"undefined"!==n&&null!==n&&(i?JSON.parse(n):n)}var n=d(t);return void 0!==n&&"undefined"!==n&&null!==n&&(i?JSON.parse(n):n)}function u(){return"uw"+(~~(1e8*Math.random())).toString(16)}function l(){try{return"localStorage"in window&&null!==window.localStorage&&-1!==window.localStorage.setItem.toString().indexOf("[native code]")}catch(e){return!1}}function d(e){var t=null;try{t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"))}catch(e){}return t?decodeURIComponent(t[1]):void 0}function c(e,t,i){i=i||{};var n=i.expires;if("number"==typeof n&&n){var a=new Date;a.setTime(a.getTime()+1e3*n),n=i.expires=a}n&&n.toUTCString&&(i.expires=n.toUTCString()),t=encodeURIComponent(t);var o=e+"="+t;for(var r in i)if(i.hasOwnProperty(r)){o+="; "+r;var s=i[r];!0!==s&&(o+="="+s)}document.cookie=o}function p(e,t){for(var i=0;i<t.length;i++)for(var n=0;n<e.length;n++)if(t[i].match(new RegExp("^"+e[n]+"$")))return!0;return!1}function f(e,t,i){return 1-(.299*e+.587*t+.114*i)/255<.5}function y(){return-1!=(navigator.userAgent.indexOf("Opera")||navigator.userAgent.indexOf("OPR"))?"opera":-1!=navigator.userAgent.indexOf("Edge")?"edge":-1!=navigator.userAgent.indexOf("Chrome")?"chrome":-1!=navigator.userAgent.indexOf("Safari")?"safari":-1!=navigator.userAgent.indexOf("Firefox")?"firefox":-1!=navigator.userAgent.indexOf("MSIE")||document.documentMode?"ie":"unknown"}function g(){var e=navigator.userAgent||navigator.vendor,t=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,i=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i;return t.test(e)||i.test(e.substring(0,4))||"ontouchstart"in document.documentElement}function w(){return"file://"===window.location.origin?window.location.href.match(/([^\/]+?)\.(?:[a-z0-9]+?)$/i)[1]:document.location.href}function m(e,t){void 0===t&&(t=[]);var i=t.length?t:["userway"];e.isUserWay=!0,P.next(e),i.forEach(function(t){var i=window.frames[t];if(!i||"function"!=typeof i.postMessage)try{i=document.querySelector("iframe[name="+t+"]"),i=i?i.contentWindow:null}catch(e){}i&&i.postMessage(e,"*")})}function h(e){return-1===["#text","#comment"].indexOf(e.nodeName)}function b(e){return"none"===window.getComputedStyle(e).display}function _(e){if(!h(e))return!1;var t=e.getAttribute("aria-hidden"),i=e.getAttribute("hidden");return b(e)||"true"===t||i||""===i}function v(e){if(void 0!==e.checked)return e.checked;var t=e.getAttribute("aria-checked")||"";return t?t="true"===t.toLowerCase():null}function x(e){var t=e.getAttribute("required"),i=e.getAttribute("aria-required")||"";return null!=t||"true"===i.toLowerCase()}function E(e,t,i){if(Array.isArray(t)&&0!==t.length)try{i.push(e(t[0])),E(e,t.slice(1),i)}catch(n){return E(e,t.slice(1),i)}return i}function L(e){if(e.hasAttribute(M))return!0;for(var t=e.parentElement,i=!1;t&&"BODY"!==t.tagName.toUpperCase();){if(t.hasAttribute(M)){i=!0;break}t=t.parentElement}return i}function A(e){return[].slice.call(e.getElementsByTagName("iframe"))}function S(){var e=[],t=function(i){var n,a;try{for(var o=__values(i),r=o.next();!r.done;r=o.next()){var s=r.value;e.push(s);var u=[];try{u=A(s.contentWindow.document)}catch(e){}u.length&&t(u)}}catch(e){n={error:e}}finally{try{r&&!r.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}};t(A(document));var i=e.filter(function(e){return-1===["userway_iframe_aria_editor","uwif"].indexOf(e.className)&&e.hasAttribute("src")&&!L(e)});return E(function(e){return e.contentWindow.document},i,[])}function T(e,t){return new Promise(function(i,n){C(function(){if(this.getElementById(e))return!1;var a=this.head,o=this.createElement("link");o.type="text/css",o.rel="stylesheet",o.id=e,o.href=t,o.onload=function(){return i()},o.onerror=function(e){return n(e)},a.appendChild(o)})})}function k(e,t,i){var n=void 0,a=document.body||document.head;n=document.createElement("script"),n.onload=function(){t&&t()},n.src=e,i&&i.charset&&(n.charset=i.charset),i&&i.id&&(n.id=i.id),a.appendChild(n)}function W(e,t){var i=0,n=e;do{i+=n&&null!=n.offsetTop?n.offsetTop:0,n=n.parentNode}while(n);var a=Math.max(0,i-t);window.scrollTo(0,[a])}function O(e,t,i){e.scrollIntoView({block:"center",behavior:"auto"}),t&&i>0&&setTimeout(function(){var n=e.getBoundingClientRect();(n.top<0||n.top>=(window.innerHeight||document.documentElement.clientHeight))&&O(e,t,i-1)},t)}function C(e,t){var i=S();[document].concat(i).forEach(function(i){e.apply(i,t)})}function U(e){function t(e,t){window.URL=window.URL||window.webkitURL;var i=document.createElement("a"),n=new Blob([e]),a=window.URL.createObjectURL(n);i.href=a,i.download=t,i.click(),window.URL.revokeObjectURL(a)}var i=e.substring(e.lastIndexOf("/")+1);!function(e,t,i){var n=new XMLHttpRequest;n.open("get",e,!0),i.responseType&&(n.responseType=i.responseType),n.onreadystatechange=function(){4===n.readyState&&200===n.status&&t(n)},n.send()}(e,function(e){t(e.response,i)},{responseType:"blob"})}var N="https://cdn.userway.org/",I=window.UserWayWidgetApp.addLib("util"),M="data-uw-iframe-ignore",P=window.UserWayWidgetApp.getLib("message-stream");I.firedEvents={},I.LIFE_CYCLE_EVENT={INIT:"userway:init_completed",RENDER:"userway:render_completed",REMEDIATION:"userway:remediation_completed",FEATURE_ENABLED_BASE:"userway:feature_enabled_",FEATURE_DISABLED_BASE:"userway:feature_disabled_",REMEDIATION_IMAGE_ALT_FINISHED:"userway:remediation_image_alt_finished",REMEDIATION_CSR_LOADED:"userway:remediation_csr_loaded"},I.PROCESSING_EVENT={REMEDIATION_FORCE_RERUN:"userway:remediation_force_rerun"},I.DELAYS={SHORT:100,MEDIUM:500,LONG:1e3};var R=["STYLE","SCRIPT","NOSCRIPT","TEMPLATE"];I.supportsPassive=!1;try{var D=Object.defineProperty({},"passive",{get:function(){I.supportsPassive=!0}});window.addEventListener("testPassive",null,D),window.removeEventListener("testPassive",null,D)}catch(e){}I.init=e,I.isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),I.iOSMobile=/(iphone|ipod|ipad).* os /.test(navigator.userAgent.toLowerCase()),I.isChromeExtensionEnv=function(){return"object"==typeof chrome&&"object"==typeof chrome.extension},I.request=function(e){return new Promise(function(t,i){"string"!=typeof e.url&&i({});var n=new XMLHttpRequest,a="string"==typeof e.method&&-1!==["GET","HEAD","POST","PUT","DELETE","CONNECT","OPTIONS","TRACE","PATCH"].indexOf(e.method.toUpperCase())?e.method.toUpperCase():"GET";e.body&&"GET"===a&&Object.keys(e.body).forEach(function(t,i){e.url=0===i?e.url+"?"+t+"="+e.body[t]:e.url+"&"+t+"="+e.body[t]}),n.open(a,e.url),"object"==typeof e.header&&Object.keys(e.header).forEach(function(t){n.setRequestHeader(t,e.header[t])}),n.onload=function(){200===n.status?t(n):i(n)},n.onerror=function(){i(n)},n.onabort=function(){i(n)},n.send(e.body?JSON.stringify(e.body):null)})},I.customTrim=function(e){return e?e=e.trim().replace(/(\n|\r\n)/g,"").replace(/\s+/g," "):""},I.customTextContent=function(e,t){void 0===t&&(t=3);var i=function(e,t){if(t<1)return"";var n=e.childElementCount,a="";return n||(a+=e.textContent),!a&&e.length&&(a+=e.nodeValue),n&&e.childNodes.length&&(a+=__spreadArray([],__read(e.childNodes),!1).map(function(e){return i(e,t-1)}).join(" ")),a};return i(e,t)},I.execJs=function(e){if("string"==typeof e)return new Promise(function(t,i){var n=document.createElement("script");(document.body||document.head).appendChild(n),n.onload=function(){t(n)},n.onerror=function(){i(n)},n.src=e})},I.xpath=function e(t,i){if(void 0===i&&(i=!1),t===document.documentElement)return"/HTML";if(t===document.body)return"/HTML/BODY";if(t===document.head)return"/HTML/HEAD";for(var a=0,o=t.parentNode?t.parentNode.childNodes:[],r=t,s=0;r&&r.tagName;)r=r.parentNode,s++;for(var u=0;u<o.length;u++){var l=o[u];if(l===t)return e(t.parentNode,!0)+"/"+t.tagName+"["+(a+1)+"]"+(i?"":n(t));1===l.nodeType&&l.tagName===t.tagName&&a++,l.nodeType===Node.TEXT_NODE&&t.nodeType===Node.TEXT_NODE&&a++}},I.visible=function(e){if(null!==e.offsetParent)return!0;var t=window.getComputedStyle(e);return"fixed"===t.position&&"none"!==t.display},I.getByXpath=function(e){return document.evaluate(e,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue},I.hashString=t,I.addStyleString=a,I.addStylesheet=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Promise(function(t,i){C(function(e){var n=document.createElement("link");document.head.appendChild(n),n.onload=function(){t(n)},n.onerror=function(){i(n)},n.href=e,n.type="text/css",n.rel="stylesheet"},e)})},I.addPageStructureModal=o,I.setProperty=r,I.removeProperty=function(e,t){delete e.settings[t],e.supportsLocalStorage&&window.localStorage.removeItem(t)},I.getProperty=s,I.generateRandomId=u,I.supportsLocalStorage=l,I.getCookie=d,I.setCookie=c,I.someInArray=p,I.colourIsLight=f,I.detectBrowser=y,I.isMobile=g,I.isLightHouse=function(){return navigator.userAgent.match(/lighthouse/i)},I.getHref=w,I.postMessage=m,I.postMessageWithNotification=function(e,t,i){var n=function(e){var o=e.data||{};o.isUserWay&&o.action===t&&(a(),i(o),window.removeEventListener("message",n))},a=function(t,i){void 0===i&&(i=10);var a=!1,o=1,r=function(s){return void 0===s&&(s=1e3),setTimeout(function(){if(t(),o+=1,!a){if(!(o<i))throw window.removeEventListener("message",n),new Error("Post Messages limit reached! \nCalled: "+JSON.stringify(e));r(s)}},s)};t();var s=r();return{stop:function(){a=!0,window.clearTimeout(s)}}}(function(){return m(e)}).stop;window.addEventListener("message",n)},I.assertPostMessageOriginAllowed=function(e){return!!e&&0===N.indexOf(e)},I.registerPostMessageListener=function(e){window.addEventListener("message",function(t){var i=t.origin.replace("localhost","127.0.0.1");I.assertPostMessageOriginAllowed(i)&&e(t)})},I.isElementNode=h,I.isHideFromReaders=_,I.isChecked=v,I.isRequiredElement=x,I.mergeObjects=function(e){return e.reduce(function(e,t){return Object.keys(t).forEach(function(i){e[i]=t[i]}),e},{})},I.instantiateTreeWalker=function(e,t){function i(){return NodeFilter.FILTER_ACCEPT}var n;if(null==t&&(t=document),/Trident\/|MSIE/.test(navigator.userAgent)){var a=i;a.acceptNode=i,n=t.createTreeWalker(e,NodeFilter.SHOW_TEXT,a,!1)}else n=t.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);return n},I.getIframes=S,I.hasTextContent=function(e){var t=I.customTrim(e.textContent);if(t&&t.length){var i=e.parentNode;if(i&&-1===R.indexOf(i.nodeName.toUpperCase()))return!0}return!1},I.addUwStylesheetMetropolisFont=function(e){return T("uw-stylesheet-metro",I.isChromeExtensionEnv()?chrome.extension.getURL("metropolis.css"):e.cdn+"widgetapp/bundles/metropolis/metropolis.css")},I.addUwStylesheetUDFFont=function(e){return T("uw-stylesheet-udf",e.cdn+"widgetapp/bundles/udf/udf.css")},I.loadDeferredJs=function(e,t,i,n){function a(){o=!0,t()}var o=!1;try{"function"==typeof define&&define.amd?(window.curl&&(e+="?"),k(e,a,n)):k(e,a,n)}catch(e){i(e)}setTimeout(function(){o||i("Timeout to load script after 3 sec.")},3e3)},I.scrollToElementWithOffset=function(e,t){void 0===t&&(t=200),e.classList.contains("screen-reader-text")||W(e,t)},I.scrollToElementWithOffset=function(e,t,i){void 0===t&&(t=null),void 0===i&&(i=10),e.classList.contains("screen-reader-text")||O(e,t,i)},I.findLabelForControlElement=function(e){function t(e){return e?"LABEL"===e.tagName?e:t(e.parentNode):null}var i=t(e.parentNode);if(i)return I.composeElementTextRepresentation(i,"");if(e.getAttribute("aria-label"))return e.getAttribute("aria-label");if(e.getAttribute("aria-labelledby"))return I.getLabelledByElements(e.getAttribute("aria-labelledby"));if(e.id){var n=function(e){for(var t=document.querySelectorAll("LABEL"),i=0;i<t.length;i++)if(t[i].htmlFor===e)return t[i];return null}(e.id);if(n)return I.composeElementTextRepresentation(n,"")}return e.getAttribute("title")?e.getAttribute("title"):I.composeElementTextRepresentation(e,"")||""},I.getLabelledByElements=function(e){for(var t=e.split(" "),i="",n=0;n<t.length;n++){var a=document.getElementById(t[n]);a&&(i=" "+I.composeElementTextRepresentation(a,i))}return i},I.composeElementTextRepresentation=function(e,t){function i(e){for(var n=0;n<e.length;n++){var a=e[n];if(a.nodeType!==Node.COMMENT_NODE)if(a.nodeType===Node.TEXT_NODE)t+=" "+a.textContent.trim().replace(/(\n|\r\n)/g,"");else if(a.nodeType===Node.ELEMENT_NODE){if("NOSCRIPT"===a.tagName||"SCRIPT"===a.tagName)continue;if(I.isHideFromReaders(a))continue;var o=a.getAttribute("aria-hidden"),r=a.getAttribute("alt"),s=a.getAttribute("aria-label");if(!o||"false"===o){if(s){t+=" "+s;continue}r&&(t+=r+" "),"IMG"!==a.tagName&&i(a.childNodes)}}}}return void 0===t&&(t=""),i(e.childNodes),t.replace(/\s+/g," ").trim()},I.foundFocusable=function(e){return e&&e.querySelectorAll?[].slice.call(e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).sort(function(e,t){var i=+e.getAttribute("tabindex")||0,n=+t.getAttribute("tabindex")||0;return i?i-n:n}):[]},I.containsIframes=function(e){return"IFRAME"===e.tagName||!(!e.children||!e.children.length)&&[].slice.call(e.children).filter(function(e){return arguments.callee(e)}).length>0},I.getParents=function(e){return"BODY"===e.nodeName?[e]:arguments.callee(e.parentElement).concat(e)},I.isFirstAboveSecond=function(e,t,n){if(null==n&&(n=0),e[n]===t[n])return null!=e[i]&&arguments.callee(e,t,n+1);var a=e[n]?indow.getComputedStyle(e[n]).zIndex:"auto",o=t[n]?window.getComputedStyle(t[n]).zIndex:"auto";return a===o?arguments.callee(e,t,n+1):("auto"===a?-.5:+a)>("auto"===o?-.5:+o)};I.getUserWayIconElementTitle=function(e){return(0,window.UserWayWidgetApp.getLib("localization_manager").translate)(e.language,"widget.html_title")||"Accessibility Menu"},I.getModalCompanyLogoSource=function(e){var t=e.cdn+"widgetapp/images/logo-grey.svg",i=function(e){return"https://userway.org?utm_source="+e+"&utm_medium=page_structure&utm_campaign=widget"}(e.tunings.site_name);return e.services&&e.services.CUSTOM_BRANDING&&e.services.CUSTOM_BRANDING.custom_logo_image_path?(t=e.services.CUSTOM_BRANDING.custom_logo_image_path,i=e.services.CUSTOM_BRANDING.custom_logo_image_link):e.services&&e.services.WHITE_LABEL&&e.services.WHITE_LABEL.hide_logo&&(t="",i=""),{src:t,url:i}},I.hexToRgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var i=t[0];3===t[0].length&&(i=i.split("").map(function(e){return e+e}).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},I.fireForceRemediationRerunEvent=function(){I.fireUserWayLifeCycleEvent(I.PROCESSING_EVENT.REMEDIATION_FORCE_RERUN)},I.fireUserWayRemediationCompletedEvent=function(e){I.fireUserWayLifeCycleEvent(I.LIFE_CYCLE_EVENT.REMEDIATION,e)},I.fireUserWayLifeCycleEvent=function(e,t){void 0===t&&(t=null),I.firedEvents[e]=t;var i={userWayInstance:window.UserWay};t&&(i=I.mergeObjects([i,t]));try{var n,a=I.detectBrowser();"ie"===a?(n=document.createEvent("CustomEvent"),n.initCustomEvent(e,!0,!0,i)):n=new CustomEvent(e,{detail:i}),document.dispatchEvent(n)}catch(e){}},I.isElementVisible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},I.isInView=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=document.body.getBoundingClientRect().bottom&&t.right<=document.body.getBoundingClientRect().right},I.isPartOfElementInViewport=function(e){for(var t=e.offsetTop,i=e.offsetLeft,n=e.offsetWidth,a=e.offsetHeight;e.offsetParent;)e=e.offsetParent,t+=e.offsetTop,i+=e.offsetLeft;return t<window.pageYOffset+window.innerHeight&&i<window.pageXOffset+window.innerWidth&&t+a>window.pageYOffset&&i+n>window.pageXOffset},I.containsInnerText=function(e){return!!e.innerText},I.validateElementAccessibility=function(e){return I.isElementVisible(e)&&I.containsInnerText(e)},I.addScreenRearedElement=function(e,t,i){void 0===i&&(i="");var n=document.createElement("span");n.textContent=t,n.setAttribute("style","color: #ffffff;background: #000000;clip: rect(1px, 1px, 1px, 1px);clip-path: inset(50%);height: 1px;width: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;"),n.setAttribute("class",i),n.setAttribute("data-uw-rm-ignore",""),e.appendChild(n)},I.getViewport=function(){return{vw:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),vh:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},I.getDiffPercentage=function(e,t){return Math.abs(e-t)/((e+t)/2)*100},I.filterTransparentPositionedElements=function(e){var t=window.getComputedStyle(e),i=["absolute","fixed"].indexOf(t.getPropertyValue("position"))>-1,n=t.getPropertyValue("background-color"),a=/(^(rgb\())|(^(:?rgba).*(:?255\))$)/.test(n)||"1"!==t.getPropertyValue("opacity"),o="A"===e.tagName,r=i&&!a&&!o;if(r)if("fixed"===t.getPropertyValue("position"))e.setAttribute("data-uw-feature-ignore","true");else{var s=I.getViewport(),u=s.vw,l=s.vh,d=e.offsetWidth,c=e.offsetHeight,p=I.getDiffPercentage(u,d),f=I.getDiffPercentage(l,c);if(p>25&&f>25&&!e.classList.contains("addons-item")){var y=[].slice.call(e.getElementsByTagName("*"));y.forEach(function(e){e.setAttribute("data-uw-feature-ignore","true")})}else r=!1}return!r},I.getHtmlElement=function(){var e=this.getElementsByTagName("html");return e&&e.length&&e[0]?e[0]:null},I.filterIgnoredElems=function(e){return!e.hasAttribute("data-uw-feature-ignore")},Math.imul||(Math.imul=function(e,t){t|=0;var i=(4194303&e)*t;return 4290772992&e&&(i+=(4290772992&e)*t|0),0|i}),I.execForDocumentAndIframes=C,I.downloadFile=U,I.hasParentWithAttribute=function(e,t){var i,n,a=document.querySelectorAll("["+t+"]");try{for(var o=__values(a),r=o.next();!r.done;r=o.next()){var s=r.value;if(s===e||s.contains(e))return!0}}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return!1},I.focusHostDocument=function(){if(I.isSafari){var e=document.createElement("input");e.type="text",e.style.opacity="0",e.style.height="0px",e.style.width="0px",e.style.padding="0px",e.style.border="none",e.style.outline="none",e.style.pointerEvents="none",document.body.appendChild(e),e.focus({preventScroll:!0}),e.remove()}},I.debounce=function(e,t){function i(){clearTimeout(a)}function n(){i(),a=setTimeout(function(){e()},t)}var a=null;return n.cancel=i,n},I.formatLangCode=function(e){return e&&e.replace(/(^\w+)([-|_|,])(\w+$)/,function(e,t,i,n){return t.toLowerCase()+i+n.toUpperCase()})}}();var LS_KEY="uw-icon-locales",CDN_BASE="https://cdn.userway.org/",LOCALES="widgetapp/2022-09-26/locales/",VERSION="2022-09-26-10-20-19";!function(){function e(e){var t=i();return t&&t[e]?Promise.resolve():new Promise(function(t,i){a.request({method:"GET",url:CDN_BASE+LOCALES+e+".json"}).then(function(i){i&&i.response&&(n(e,JSON.parse(i.response)),t(""))},function(e){console.warn("Can't load localization resources."),i(e)})})}function t(e,t){if(!e)return"";var n=i();if(n&&n[e]){return t.split(".").reduce(function(e,t){return e&&e[t]},n[e])}return""}function i(){var e=window.localStorage.getItem(LS_KEY);if(!e)return null;var t=JSON.parse(e);return t.version!==VERSION?(window.localStorage.removeItem(LS_KEY),null):t}function n(e,t){var n=i()||{version:VERSION};n[e]=t,window.localStorage.setItem(LS_KEY,JSON.stringify(n))}var a=UserWayWidgetApp.getLib("util"),o=UserWayWidgetApp.addLib("localization_manager");Object.assign(o,{initializeLocale:e,translate:t})}();var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){var e=[],t={next:function(t){var i,n;try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){(0,o.value)(t)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}},subscribe:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},unsubscribe:function(t){e=e.filter(function(e){return e!==t})},unsubscribeAll:function(){e=[]}};window.messageStream=t;var i=UserWayWidgetApp.addLib("message-stream");Object.assign(i,t)}();var __read=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,a,o=i.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)r.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return r},__spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};!function(){function e(e,t){var i="/"===e[0]?e.slice(1):e,n=i.split("/");return n.map(function(e,i){var a=e.toLowerCase(),o=__read(a.match(/(\S+)\[(\S+)?\]/)||[,a],3),r=o[1],s=o[2],u=n.length-1===i,l={idx:i,tag:r};return s&&(l.position=+s),u&&t&&(l.params=t),l})}function t(e,t,i){return void 0===i&&(i=!1),e.reduce(function(e,n){var a=i&&n.position?":nth-of-type("+n.position+")":"";return e+=n.tag+a+(n.idx>=t?">":" ")},"").slice(0,-1)}function i(e,i){void 0===i&&(i=4);var a,o=e.length-d-i,r=e[e.length-1],s=r.params;if(o<0){a=t(e,0,!0);var u=n(a,s,r);return u||(a=t(e,0),n(a,s,r))}var l;!function(e){e[e.Strict=0]="Strict",e[e.Medium=1]="Medium",e[e.Loose=2]="Loose"}(l||(l={}));for(var c=[l.Strict,l.Medium,l.Loose],p=0;p<c.length;p++){var f=function(u){var c;for(o=e.length-d-i;o>=0;o--){a=u===l.Loose?t((c=e.slice(0,2)).concat.apply(c,__spreadArray([],__read(e.slice(-o-i)),!1)),e.length-i):t(e,e.length-i-o-1,u===l.Strict);var p=n(a,s,r);if(p)return p}}(c[p]);if(f)return f}return null}function n(e,t,i){var n=o(e);if(1===n.length){if(null==i.params)return n[0];if(a(n[0],t))return n[0]}if(n.length>1){if(null==i.params)return null;var r=n.filter(function(e){return a(e,t)});if(1===r.length)return r[0]}return null}function a(e,t){if(null==t)return!0;var i=e.innerText?u.hashString(e.innerText).toString():"";if(t.innerText.toString()!==i)return!1;var n=e.hasAttribute("href")?u.hashString(e.getAttribute("href")).toString():"";if(t.href&&t.href!==n)return!1;var a=e.hasAttribute("src")?u.hashString(e.getAttribute("src")).toString():"";return!t.src||t.src===a}function o(e){return Array.prototype.slice.call(document.querySelectorAll(e))}function r(t){var n=__read(t.split(c),2),a=n[0],o=n[1],r={innerText:""};if(o){var s=__read(o.split(";")),u=s[0],d=s.slice(1);r.innerText=u,d.forEach(function(e){var t=__read(e.split(":"),2),i=t[0],n=t[1];r[l[i]]=n})}return i(e(a,r))}var s=window.UserWayWidgetApp.addLib("xpath_search"),u=window.UserWayWidgetApp.getLib("util"),l={i:"innerText",s:"src",h:"href"},d=2,c="|";s.recursiveXpathSearch=r}(),function(){function e(){}function t(e,t){for(var i=e.length;i--;)if(e[i].listener===t)return i;return-1}function i(e){var t,i,n=this._getEvents();if(e instanceof RegExp){t={};for(i in n)n.hasOwnProperty(i)&&e.test(i)&&(t[i]=n[i])}else t=n[e]||(n[e]=[]);return t}function n(e){var t,i=this.getListeners(e);return i instanceof Array&&(t={},t[e]=i),t||i}function a(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&a(e.listener)}function o(e,i){if(!a(i))throw new TypeError("listener must be a function");var n,o=this.getListenersAsObject(e),r="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===t(o[n],i)&&o[n].push(r?i:{listener:i,once:!1});return this}function r(e,i){var n,a,o=this.getListenersAsObject(e);for(a in o)o.hasOwnProperty(a)&&-1!==(n=t(o[a],i))&&o[a].splice(n,1);return this}function s(e,t){var i,n,a,o,r=this.getListenersAsObject(e);for(o in r)if(r.hasOwnProperty(o))for(i=r[o].slice(0),a=0;a<i.length;a++)n=i[a],!0===n.once&&this.removeListener(e,n.listener),n.listener.apply(this,t||[]);return this}function u(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)}function l(){return this._events||(this._events={})}var d=e.prototype;d.getListeners=i,d.getListenersAsObject=n,d.addListener=o,d.on=o,d.removeListener=r,d.off=r,d.emitEvent=s,d.emit=u,d._getEvents=l;window.UserWayWidgetApp.addLib("event_emitter",new e)}(),function(){function e(){var e,o,r,s=window[t].ContextHolder.config,u=null!==(o=Number(null===(e=null===s||void 0===s?void 0:s.tunings)||void 0===e?void 0:e.tech_do_throttle_ms))&&void 0!==o?o:250,l=[],d=[],c=function(){
r||(r=setTimeout(function(){n.emitEvent(i.DOM_OBSERVER_DOM_CHANGED_EVENT,[window[t].ContextHolder.config,l,d]),l=[],d=[],clearTimeout(r),r=null},u))},p=function(e,t){for(var i=0;i<e.length;i++){var n=e[i];if("childList"===n.type){var a=[].slice.call(n.addedNodes).filter(function(e){return-1===["SCRIPT","STYLE"].indexOf(e.tagName)&&"function"==typeof e.hasAttribute&&!e.hasAttribute("data-uw-rm-ignore")}),o=[].slice.call(n.removedNodes).filter(function(e){return-1===["SCRIPT","STYLE"].indexOf(e.tagName)&&"function"==typeof e.hasAttribute&&!e.hasAttribute("data-uw-rm-ignore")});if(l=l.concat(a),d=d.concat(o),!d.length&&!l.length)continue;c()}}};a=new MutationObserver(p),document.body&&a.observe(document.body,{subtree:!0,childList:!0})}var t="UserWayWidgetApp",i=window[t].addLib("dom_observer"),n=window[t].getLib("event_emitter");i.DOM_OBSERVER_DOM_CHANGED_EVENT="UW_EVT1";var a;i.initializeDomChangesObserver=function(){window[t].ContextHolder.config.isLH||e()}}(),function(){function e(e,t,i){(t.length||i.length)&&(r=!0)}function t(e){var t=a.getIframes(),i=t.filter(function(e){return!!e.body&&e.body.nodeType===Node.ELEMENT_NODE}).map(function(e){return a.instantiateTreeWalker(e.body,e)}),n=new Set,o=new Set,r=a.instantiateTreeWalker(e);return i.splice(0,0,r),i.forEach(function(e){for(var t=e.nextNode();t;){if(a.hasTextContent(t)){var i=t.parentNode;i&&n.add(i),o.add(t)}t=e.nextNode()}}),a.execForDocumentAndIframes(function(){var e=this.querySelectorAll("input, select, textarea");[].forEach.call(e,function(e){var t=(e.getAttribute("type")||"").toLowerCase(),i=e.tagName.toLowerCase();(d.includes(t)||l.includes(i))&&n.add(e)})}),{textNodes:Array.from(o),elementsWithText:Array.from(n)}}var i=UserWayWidgetApp.getLib("event_emitter"),n=UserWayWidgetApp.getLib("dom_observer"),a=UserWayWidgetApp.getLib("util"),o=n.DOM_OBSERVER_DOM_CHANGED_EVENT,r=!0,s={textNodes:[],elementsWithText:[]},u=UserWayWidgetApp.addLib("helpers.elements_with_text");u.init=function(){i.on(o,e)},u.getElementsWithText=function(e){if(!r)return s.elementsWithText;var i=t(e),n=i.textNodes,a=i.elementsWithText;return r=!1,s={textNodes:n,elementsWithText:a},a},u.getTextNodes=function(e){if(!r)return s.textNodes;var i=t(e),n=i.textNodes,a=i.elementsWithText;return r=!1,s={textNodes:n,elementsWithText:a},n};var l=["textarea","select"],d=["text","password","submit","reset","button","date","datetime-local","email","file","month","number","search","tel","time","url","week"]}(),function(){var e=UserWayWidgetApp.getLib("helpers.elements_with_text"),t=UserWayWidgetApp.addLib("helpers");t.initialized=!1,t.init=function(){t.initialized||(e.init(),t.ElementsWithText={getElementsWithText:e.getElementsWithText,getTextNodes:e.getTextNodes},t.initialized=!0)}}(),function(){function e(){var e=["account","position","size","language","color","type","statement_text","statement_url","mobile","trigger","ai_custom_focus_style_enabled","tts-voice"];if("undefined"==typeof _userway_config||!_userway_config){var t=null;if(window._userway_config={},t=document.querySelector("#"+a),t&&t.hasAttribute("data-account")&&(window._userway_config.account=t.getAttribute("data-account")),!t||!window._userway_config.account){for(var i=document.querySelectorAll("script"),n=0;n<i.length;n++){if("break"===function(e){if(["cdn.shopify.com","userway.dev","userway.org","usrwy.com","accessibilityserver.org","localhost","gia.edu"].filter(function(t){return!!i[e].src&&-1!==i[e].src.indexOf(t)&&-1!==i[e].src.indexOf("/widget.js")}).length>0)return t=i[e],"break"}(n))break}if(t){for(var o=t.attributes,n=o.length;n--;){var r=o[n],s=0===r.name.indexOf("data")?r.name.replace(/(^data-)/i,""):r.name;s&&e.indexOf(s)>-1&&("type"!==s||["1","2","3","4"].indexOf(r.value)>-1)&&(window._userway_config[s]=r.value)}if(!window._userway_config.account)for(var u=t.src,l=u.split("?").pop().split("&"),d=0;d<l.length;d++){var c=l[d].split("=");"account"===c[0]&&c[1]&&(window._userway_config.account=c[1]),"platfAppInstalledSiteId"===c[0]&&c[1]&&(window._userway_config.platfAppInstalledSiteId=c[1]),"shop"===c[0]&&c[1]&&(window._userway_config.platform="SHOPIFY")}}}}}var t="UserWayWidgetApp",i=window[t].addLib("context_setter"),n=window[t].getLib("util"),a="a11yWidgetSrc";i.initializeConfig=function(){function i(){var e={};return[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,23,24,101,102,103,104,105,106,107,108].forEach(function(t){e["userway-s"+t]={value:0,disabled:!1}}),e}function a(){var e={_userway_config:_userway_config,browser:n.detectBrowser(),isMobile:n.isMobile(),isLH:n.isLightHouse(),supportsLocalStorage:n.supportsLocalStorage(),href:n.getHref(),account:_userway_config.account||_userway_config.code,origin:window.location.origin,iconType:"1",language:"en-US",languageHardcoded:null,reader:{enabled:!0,language:null,voice_locale:null},async:!1,settings:i(),tunings:{},partner:null,cdn:"https://cdn.userway.org/"};return window[t].ContextHolder.config=e,e}return new Promise(function(t,i){e(),"undefined"!=typeof _userway_config&&_userway_config?t(a()):setTimeout(function(){e(),t(a())},2e3)})}}(),function(){function e(e){var t=a.find(function(t){return t.element===e});return t||(t=new r(e),a.push(t)),t}function t(t,i,n){try{var a=e(t);a.applyStyles(n,i),a.element.setAttribute("data-"+i+"-styled",!0)}catch(e){}}function i(t,i,n){try{var a=e(t);a.resetStyles(n,i),a.element.removeAttribute("data-"+i+"-styled")}catch(e){}}var n=window.UserWayWidgetApp.addLib("inlineStyling");n.featureStyles={highlinks:{inlineStyles:{"text-decoration":"underline",color:"#ffff00","background-color":"#000000"},inlineImgStyles:{"box-sizing":"border-box",border:"1px solid #ffff00"},svgStyle:{"background-color":"#000000",fill:"#ffff00"}},contrast:{dark:{key:"userway-s3-2",forATag:{"background-color":"#000000","border-color":"#ffffff",color:"#fcff3c",svg:{"background-color":"#000000",fill:"#fcff3c"}},normal:{"background-color":"#000000","border-color":"#ffffff",color:"#50d0a0"},svgImg:{"background-color":"#000000",fill:"#ffffff"}},light:{key:"userway-s3-3",forATag:{"background-color":"#ffffff","border-color":"#000000",color:"#0000D3",svg:{"background-color":"#ffffff",fill:"#0000D3"}},normal:{"background-color":"#ffffff","border-color":"#000000",color:"#000000"},svgImg:{"background-color":"#ffffff",fill:"#000000"}}}};var a=[],o={"userway-s6":["userway-s3-2","userway-s3-3","uw-sr","data-uw-rm-color-contrast"],"userway-s3-2":["userway-s6","uw-sr","data-uw-rm-color-contrast"],"userway-s3-3":["userway-s6","uw-sr","data-uw-rm-color-contrast"],"uw-sr":["userway-s3-2","userway-s3-3","userway-s6","data-uw-rm-color-contrast"],"data-uw-rm-color-contrast":["userway-s6","userway-s3-2","userway-s3-3","uw-sr"]},r=function(){function e(e){this.element=e,this.initialStylesText=e.style.cssText,this.initialStyles=this.parseStylesToObject(e),this.listOfApplyiedStylesKeys=[],this.appliedStyles={},this.appliedStylesByFeature={},this.transition=window.getComputedStyle(this.element).getPropertyValue("transition")}return e.prototype.parseStylesToObject=function(e){var t=e.style.cssText.split(";"),i={};return t.splice(t.length-1,1),t.forEach(function(e){var t=e.substring(0,e.indexOf(":")).trim(),n=e.substring(e.indexOf(":")+1);n=n?n.trim():null,i[t]=n}),i},e.prototype.addStyleToAppliedListKeys=function(e){this.listOfApplyiedStylesKeys.unshift(e)},e.prototype.removeStyleFromAppliedListKeys=function(e){var t=this.listOfApplyiedStylesKeys.indexOf(e);-1!==t&&this.listOfApplyiedStylesKeys.splice(t,1)},e.prototype.removeStyleFromAppliedStylesByFeature=function(e){delete this.appliedStylesByFeature[e]},e.prototype.resetStylesToInitial=function(){this.element.style.cssText=this.initialStylesText},e.prototype.applyStyles=function(e,t){var i=this;this.appliedStylesByFeature[t]=e,e&&(Object.keys(e).forEach(function(n){i.appliedStyles[n]={featureThatApply:t,value:e[n],oldValue:i.initialStyles[n]},i.element.style.setProperty(n,e[n],"important"),i.element.style.setProperty("transition",i.transition)}),-1===this.listOfApplyiedStylesKeys.indexOf(t)&&this.addStyleToAppliedListKeys(t))},e.prototype.resetStyles=function(e,t){var i=this;Object.keys(e).forEach(function(e){if(i.appliedStyles[e]&&i.appliedStyles[e].featureThatApply===t){i.element.style.setProperty("transition","all 0s ease 0s"),i.element.style.setProperty(e,void 0===i.appliedStyles[e].oldValue?"":i.appliedStyles[e].oldValue),delete i.appliedStyles[e];if("background-color"===e||"background"===e){var n=i.initialStyles.background&&"background"||i.initialStyles["background-color"]&&"background-color";if(!n)return;var a=i.initialStyles[n].split("!");a.length>=2?i.element.style.setProperty(n,a[0].trim(),"important"):i.element.style.setProperty(n,i.initialStyles[n])}}}),this.removeStyleFromAppliedListKeys(t),this.removeStyleFromAppliedStylesByFeature(t),o[t]&&this.listOfApplyiedStylesKeys.length&&o[t].forEach(function(e){var t=i.listOfApplyiedStylesKeys.find(function(t){return t===e});if(t){var n=i.getStylesForFeature(t);if(n&&i.applyStyles(n,t),"/wps/portal/PrepaidCardSelfCare"===window.location.pathname){var a={"background-image":"none"};i.applyStyles(a,"uw-rakbank-fix")}}})},e.prototype.getStylesForFeature=function(e){var t;switch(e){case"userway-s3-2":case"userway-s3-3":var i="userway-s3-2"===e?"dark":"light";t="A"===this.element.tagName?n.featureStyles.contrast[i].forATag:n.featureStyles.contrast[i].normal;break;case"userway-s6":t="IMG"===this.element.tagName?n.featureStyles.highlinks.inlineImgStyles:n.featureStyles.highlinks.inlineStyles;break;default:t=this.appliedStylesByFeature[e]}return t},e}();n.applyInlineStyles=t,n.resetInlineStyles=i}(),function(){function e(){a=!0;var o=[],r=[];n.emitEvent(i.IS_MOUSE_USER_EVENT,[window[t].ContextHolder.config,o,r]),document.removeEventListener("mousemove",e)}var t="UserWayWidgetApp",i=window[t].addLib("user_input_type"),n=window[t].getLib("event_emitter"),a=!1;i.IS_MOUSE_USER_EVENT="IS_MOUSE_USER",document.addEventListener("mousemove",e)}(),function(){function e(){p.lazyLoad().then(function(){p.showPageStructureLinks()}),c(L.PAGE_STRUCTURE)}function t(){p.openWidget(),c(L.OPEN_WIDGET)}function i(e){T||(c(L.OPEN_LINKS),T=!0),"uw-enable-visibility"===e.target.id&&d(),setTimeout(function(){if(S)return n()},1)}function n(){var e=document.querySelector("body");e.hasAttribute("tabindex")||(e.setAttribute("tabindex","-1"),setTimeout(function(){e.removeAttribute("tabindex")},0)),e.focus({preventScroll:!0})}function a(){var e=r()||document.querySelector(h);e.getAttribute("tabindex")||e.setAttribute("tabindex","-1"),c(L.SKIP_TO_MAIN_CONTENT),setTimeout(function(){e.focus(),_.scrollToElementWithOffset(e,70)},300)}function o(e){for(var t=e,i=null;t&&"BODY"!==t.tagName&&(!(i=t.nextElementSibling)||!_.validateElementAccessibility(i));)t=t.parentElement;return i}function r(){for(var e,t=0;t<=b.length-1;t++){var i=document.querySelector(b[t]);if(i&&(('[role="main"]'!==b[t]||"BODY"!==i.tagName)&&_.isElementVisible(i))){e='[role="navigation"]'===b[t]||"nav"===b[t]?o(i):i;break}}return e||s()}function s(){return x.ElementsWithText.getElementsWithText(document).find(function(e){if((-1!==e.classList.value.search(/main/)||-1!==e.classList.value.search(/title/)||-1!==e.classList.value.search(/header/))&&_.validateElementAccessibility(e)&&e.hasAttribute("data-uw-rm-ignore"))return e})}function u(){return p.getAvailableBunchOfFeatures().every(function(e){return p.config.settings["userway-"+e].value})}function l(){if(u()){if(p.isSoundEffectsEnabled())try{var e=new Audio(p.config.cdn+"widgetapp/sounds/reset.mp3");e.play()}catch(e){}_.postMessage({action:"updateVisuallyImpairedState",config:!1})}else{if(p.isSoundEffectsEnabled())try{var e=new Audio(p.config.cdn+"widgetapp/sounds/viEnabled.mp3");e.play()}catch(e){}_.postMessage({action:"updateVisuallyImpairedState",config:!0}),setTimeout(function(){document.querySelector(".uai").focus();var e=document.querySelectorAll(".uw-sl__item")[1];e.focus(),e.blur()},10)}c(L.VISUALLY_IMPAIRED)}function d(){var e=document.querySelector("#uw-enable-visibility .uw-sl__item__title[data-uw-rm-ignore]"),t=document.querySelector("#uw-enable-visibility.uw-sl__item"),i=g;t&&e&&i.altTitle&&(e.innerHTML=u()?i.altTitle:i.title,e.ariaLabel=u()?i.altTitle:i.ariaLabel,t.ariaLabel=u()?i.altTitle:i.ariaLabel)}function c(e){var t={account:p.config.account,feat:"s22",siteId:p.config.services.siteId,state:e,pageUrl:p.config.href};_.request({method:"POST",url:E+"/v1/stats/enabled-feature",body:t,header:{"Content-Type":"application/json"}}).then(function(e){},function(e){console.warn("Statistics error")})}var p,f,y,g,w=UserWayWidgetApp.addLib("skip_links"),m="#uw_skip_to_main_content_anchor",h="#userwayAccessibilityIcon",b=["main","h1","nav",'[role="navigation"]','[role="main"]',"h2","h3","h4","h5","h6"],_=UserWayWidgetApp.getLib("util"),v=UserWayWidgetApp.getLib("localization_manager"),x=UserWayWidgetApp.getLib("helpers"),E="https://api.userway.org/api",L={OPEN_LINKS:1,SKIP_TO_MAIN_CONTENT:2,VISUALLY_IMPAIRED:3,OPEN_WIDGET:4,PAGE_STRUCTURE:5},A={skipToMain:"uw-skip-to-main",visibility:"uw-enable-visibility",openWidget:"uw-open-accessibility",openNavMenu:"uw-open-nav-menu"},S=!1,T=!1;w.insert=function(){p=UserWayWidgetApp.addLib("main"),y=p.config.services&&p.config.services.paidAi;var o=UserWayWidgetApp.getLib("remediationConfig")?UserWayWidgetApp.getLib("remediationConfig").complex:null;if(!o||!o.skipLinks||o.skipLinks.enabled){o&&o.skipLinks&&o.skipLinks.anchorSelector&&(m=o.skipLinks.anchorSelector),b.unshift(m);var r=p.config,s=v.translate,d={skip:s(r.language,"skip_links.skip")||"Skip to main content",enable_visually_impaired:s(r.language,"skip_links.enable_visually_impaired")||"Enable accessibility for visually impaired",disable_visually_impaired:s(r.language,"skip_links.disable_visually_impaired")||"Disable accessibility for visually impaired",open_accessibility_menu:s(r.language,"skip_links.open_accessibility_menu")||"Open the accessibility menu",open_accessibility_nav:s(r.language,"skip_links.open_accessibility_nav")||"Open the Accessible Navigation Menu"},c=[{id:A.skipToMain,language:r.language,title:d.skip,ariaLabel:d.skip,img:'<svg focusable="false" width="26" height="24" xmlns="http://www.w3.org/2000/svg"><g stroke="#000" stroke-width="1.5" fill="none" fill-rule="evenodd"><rect class="no-fill"  fill="none" x=".75" y=".75" width="24.5" height="22.5" rx="3"/><path class="no-fill"  fill="none" d="M1 7h24M9.5 7v17"/></g></svg>',handler:a},{id:A.visibility,language:r.language,title:d.enable_visually_impaired,ariaLabel:d.enable_visually_impaired,altTitle:d.disable_visually_impaired,img:'<svg focusable="false" width="28" height="26" xmlns="http://www.w3.org/2000/svg"><g class="no-fill"  fill="none" fill-rule="evenodd"><path d="M13.808 6.019C8.625 6.019 4.01 9.197 1 14.148c3.01 4.951 7.625 8.129 12.808 8.129s9.797-3.178 12.807-8.129c-3.01-4.951-7.624-8.13-12.807-8.13" stroke="#000" class="no-fill" stroke-width="1.5" fill="none"/><path d="M13.813 11.124c1.704 0 3.086 1.368 3.086 3.055 0 1.688-1.382 3.055-3.086 3.055s-3.086-1.367-3.086-3.055c0-1.687 1.382-3.055 3.086-3.055m0-3.055c-3.408 0-6.172 2.735-6.172 6.11 0 3.375 2.764 6.11 6.172 6.11s6.172-2.735 6.172-6.11c0-3.375-2.764-6.11-6.172-6.11" class="fill-white"  fill="#FFF" fill-rule="nonzero"/><path d="M17.913 14.18c0 2.244-1.839 4.064-4.105 4.064-2.268 0-4.106-1.82-4.106-4.065s1.838-4.064 4.106-4.064c2.266 0 4.105 1.82 4.105 4.064" stroke="#000" stroke-width="1.5" class="no-fill"  fill="none"/><path class="no-fill"  stroke="#FFF" stroke-width="3" stroke-linecap="round" d="M2.872 22.306L22.03 3.339" fill="none"/><path stroke="#000" stroke-width="1.5" stroke-linecap="round" d="M4.24 23.661L23.398 4.694" class="no-fill"  fill="none"/></g></svg>',handler:l,focusHandler:function(){p.preloadIframe()}},{id:A.openWidget,language:r.language,title:d.open_accessibility_menu,ariaLabel:d.open_accessibility_menu,img:'<svg focusable="false" width="23" height="28" xmlns="http://www.w3.org/2000/svg"><path  d="M.018 8.639c.105-.595.65-.991 1.223-.877a53.94 53.94 0 0020.517 0c.625-.125 1.228.366 1.242 1.06.01.544-.402 1.003-.915 1.102-2.289.44-4.589.727-6.893.877-.948.063-1.647.948-1.54 1.932l.202 1.84c.314 2.87.958 5.69 1.919 8.399l1.26 3.553c.202.568-.076 1.197-.62 1.407a.994.994 0 01-.364.068c-.4 0-.768-.245-.944-.638l-.007.007-.325-.724a110.53 110.53 0 01-2.83-6.926.462.462 0 00-.878 0 105.146 105.146 0 01-2.832 6.917l-.308.68.005-.021a1.05 1.05 0 01-.98.705.994.994 0 01-.364-.068c-.544-.21-.821-.839-.62-1.407l1.26-3.553a37.235 37.235 0 001.92-8.403l.2-1.824c.107-.986-.59-1.881-1.54-1.943A55.94 55.94 0 01.86 9.914c-.57-.11-.947-.68-.841-1.275zM11.5 0c1.934 0 3.502 1.634 3.502 3.651 0 2.016-1.568 3.65-3.502 3.65-1.934 0-3.502-1.634-3.502-3.65C7.998 1.634 9.566 0 11.5 0z" fill="#000" fill-rule="evenodd"/></svg>',handler:t},{id:A.openNavMenu,language:r.language,title:d.open_accessibility_nav,ariaLabel:d.open_accessibility_nav,img:'<svg width="26px" height="26px" viewBox="0 0 26 26">\n    <g class="no-fill"  fill="none" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g class="no-fill" fill="none">\n            <rect fill="none" id="Rectangle" x="0" y="0" width="26" height="26"></rect>\n            <g class="no-fill" fill="none" transform="translate(2.166667, 1.444444)" fill="#000000" fill-rule="nonzero">\n                <path fill="#000" d="M10.8716111,0.076245 L0.399388889,5.31235611 C-0.132925,5.57850944 -0.132925,6.33812833 0.399388889,6.60433944 L10.8716111,11.8404506 C11.0749383,11.9421106 11.3142611,11.9421106 11.5175883,11.8404506 L21.9898106,6.60433944 C22.5221244,6.33818611 22.5221244,5.57856722 21.9898106,5.31235611 L11.5175883,0.076245 C11.3142611,-0.025415 11.0749383,-0.025415 10.8716111,0.076245 Z M11.1945961,1.52971722 L20.0519294,5.95838389 L11.1945961,10.3870506 L2.33726278,5.95838389 L11.1945961,1.52971722 Z" ></path>\n                <path fill="#000" d="M1.0452,15.7848889 C0.688436667,15.6065072 0.254583333,15.7511142 0.0762666667,16.1078739 C-0.10205,16.4646336 0.0424919444,16.8984906 0.399251667,17.0768072 L10.8714739,22.3129183 C11.0748011,22.4145783 11.3141239,22.4145783 11.5174511,22.3129183 L21.9896733,17.0768072 C22.3464367,16.8984256 22.49104,16.4646083 22.3126583,16.1078739 C22.1342767,15.7511106 21.7004594,15.6065072 21.343725,15.7848889 L11.1943361,20.8595111 L1.04494722,15.7848889 L1.0452,15.7848889 Z"></path>\n                <path fill="#000" d="M11.1944444,15.6231111 L1.04505556,10.5484889 C0.688292222,10.3701072 0.254438889,10.5147142 0.0761222222,10.8714739 C-0.102194444,11.2282336 0.0423475,11.6620906 0.399107222,11.8404072 L10.8713294,17.0765183 C11.0746567,17.1781783 11.3139794,17.1781783 11.5173067,17.0765183 L21.9895289,11.8404072 C22.3462922,11.6620256 22.4908956,11.2282083 22.3125139,10.8714739 C22.1341322,10.5147106 21.700315,10.3701072 21.3435806,10.5484889 L11.1941917,15.6231111 L11.1944444,15.6231111 Z"></path>\n            </g>\n        </g>\n    </g>\n</svg>',handler:e}].filter(function(e){return e});g=c[1],(!y||p.config.services.MODIFY_MENU&&-1===p.config.services.MODIFY_MENU.features_pattern.split("|").indexOf("s11"))&&(c=c.filter(function(e){return e.id!==A.openNavMenu})),f=document.createElement("div"),f.className="uw-sl",f.setAttribute("role","region"),f.setAttribute("aria-label","Quick accessibility menu"),c.forEach(function(e,t){var i=document.createElement("button");i.className="uw-sl__item",i.setAttribute("data-uw-rm-ignore","true"),i.setAttribute("aria-label",e.ariaLabel),i.setAttribute("lang",e.language),i.id=e.id;var a=document.createElement("span");a.className="uw-sl__item__left";var o=document.createElement("span");o.className="uw-sl__item__img",o.innerHTML=e.img,a.appendChild(o);var r=document.createElement("span");r.setAttribute("data-uw-ignore-s17",""),r.className="uw-sl__item__title",r.setAttribute("data-uw-rm-ignore",""),r.innerHTML=u()&&e.altTitle?e.altTitle:e.title,i.setAttribute("aria-label",u()&&e.ariaLabel?e.ariaLabel.replace("Enable","Disable"):e.ariaLabel),a.appendChild(r),i.appendChild(a);var s=document.createElement("span");s.className="uw-sl__e-icon",s.innerHTML='<svg width="26" height="27" xmlns="http://www.w3.org/2000/svg"><g class="no-fill" fill="none" fill-rule="evenodd"><path d="M4.498 24.3v-.872H1.5v-1.37h2.716v-.872H1.5v-1.27h3v-.872H.542V24.3h3.955zm1.909 0v-3.695L9.183 24.3h.95v-5.256h-.95v3.695l-2.776-3.695H5.45V24.3h.957zm7.21 0v-4.383h1.682v-.873h-4.314v.873h1.683V24.3h.948zm6.421 0v-.872H17.04v-1.37h2.716v-.872H17.04v-1.27h3v-.872h-3.956V24.3h3.955zm1.84 0v-1.767h1.017l1.24 1.767h1.086l-1.316-1.867c.757-.237 1.27-.849 1.27-1.644 0-1.025-.842-1.745-1.966-1.745H20.92V24.3h.957zm1.224-2.647h-1.224v-1.729h1.224c.65 0 1.101.33 1.101.865 0 .535-.451.864-1.101.864z" fill="#000" fill-rule="nonzero"/><path  class="no-fill" fill="none" d="M18.9 1v6.3a2.7 2.7 0 01-2.7 2.7H5.4h0" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path fill="none" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M8.1 12.7L5.4 10l2.7-2.7"/></g></svg>',i.appendChild(s),i.addEventListener("click",function(t){e.handler(),e.altTitle&&(r.innerHTML=u()?e.altTitle:e.title),i.setAttribute("aria-label",u()&&e.ariaLabel?e.ariaLabel.replace("Enable","Disable"):e.ariaLabel)}),i.addEventListener("keydown",function(e){"Escape"!==e.code&&27!==e.keyCode&&27!==e.which||(i.blur(),n())}),e.focusHandler&&i.addEventListener("focus",e.focusHandler),f.appendChild(i)}),document.body.insertBefore(f,document.body.firstChild),f.addEventListener("focus",i,!0),document.addEventListener("click",function(){S=!0,setTimeout(function(){S=!1},300)})}}}(),function(){var e=UserWayWidgetApp.addLib("scan_manager"),t=UserWayWidgetApp.getLib("util"),i="https://cdn.userway.org/";e.run=function(){var e=UserWayWidgetApp.ContextHolder.config;e.isLH||setTimeout(function(){if(!(e.services&&81434===e.services.userId||location.href&&(location.href.indexOf("?")>-1||location.href.indexOf("&")>-1))){var n=e.remediation?"WIDGET_ON":"WIDGET_OFF";if("fetch"in window){fetch("https://api.userway.org/api/a11y-data/v0/page/"+encodeURIComponent(location.href)+"/"+(t.isMobile()?"MOBILE":"DESKTOP")+"/"+n+"/status").then(function(e){try{e.json().then(function(e){e.payload&&"CONTRIB_MISSING"===e.payload.status&&t.execJs(i+"widgetapp/2022-09-26/scan/scan_1664187619569.js")})}catch(e){}})}}},5e3)},e.accessibilityScore=function(){var e=UserWayWidgetApp.getLib("accessibility_score");if(e&&"function"==typeof e.getAccessibilityScore)e.getAccessibilityScore();else{t.execJs(i+"widgetapp/2022-09-26/scan/scan_score_1664187619569.js")}}}(),function(){function e(e,i){if(i.length){if(i[0]&&i[0].id&&"string"==typeof i[0].id&&i[0].id.indexOf("powered_by_pixle")>-1)return;t()}}function t(){try{var e=[];a.forEach(function(t){switch(t.type){case"QUERY_SELECTOR":t.data.forEach(function(t){document.querySelector(t.s)&&e.push(t.id)})}}),e.length&&n(e)}catch(e){}}function i(){try{setTimeout(function(){a.forEach(function(e){switch(e.type){case"FUNCTION":e.data.forEach(function(e){var t=Function(e.s)();if(t&&t.length){var i={method:"POST",url:l+"/v1/helper/ss/hashed",header:{"Content-Type":"application/json"},body:{names:t,site:location.host}};u.request(i)}})}})},5e3)}catch(e){}}function n(e){var t={host:location.host,pathname:location.pathname};e.forEach(function(e){u.request({method:"POST",url:l+"/remediation/common-patterns/collector/"+e,header:{"Content-Type":"application/json"},body:t})})}var a,o=UserWayWidgetApp.addLib("cpr_usage_detector"),r=UserWayWidgetApp.getLib("event_emitter"),s=UserWayWidgetApp.getLib("dom_observer"),u=UserWayWidgetApp.getLib("util"),l="https://api.userway.org/api";o.run=function(){var n,o;(a=null===(o=null===(n=UserWayWidgetApp.ContextHolder)||void 0===n?void 0:n.config)||void 0===o?void 0:o.cpr)&&(i(),t(),r.on(s.DOM_OBSERVER_DOM_CHANGED_EVENT,e))}}(),function(){function e(e,t,i,n){d.push({ttsVoiceName:t,ttsLangIsoCode:e,ttsLocaleIsoCode:n,fallback:i,toLocaleStr:function(){return e+n?"-"+n:""}})}function t(e){if(e)return!!a(e,!1);var t=document.getElementsByTagName("html")[0];return!!a((null===t||void 0===t?void 0:t.getAttribute("lang"))||(null===t||void 0===t?void 0:t.getAttribute("xml:lang")))}function i(){var e=document.getElementsByTagName("html")[0],t=(null===e||void 0===e?void 0:e.getAttribute("lang"))||(null===e||void 0===e?void 0:e.getAttribute("xml:lang")),i=a(t);i&&l.execForDocumentAndIframes(function(){var e=this.getElementsByTagName("html")[0];!((null===e||void 0===e?void 0:e.getAttribute("lang"))||(null===e||void 0===e?void 0:e.getAttribute("xml:lang")))&&(null===e||void 0===e||e.setAttribute("lang",i.toLocaleStr()))})}function n(e){var t,i=Array.from(e.ownerDocument.querySelectorAll("*[lang]")),n=r("en");try{if(1===i.length&&"HTML"===i[0].tagName){return a(null===(t=i[0])||void 0===t?void 0:t.getAttribute("lang"),!1)||n}for(var o=e,s=null;o&&!(s=a(o&&"function"==typeof o.getAttribute?o.getAttribute("lang"):null,!1))&&"HTML"!==o.tagName;)o=o.parentElement;return s||n}catch(e){return console.warn(e),n}}function a(e,t){if(void 0===t&&(t=!0),!e)return null;var i=l.formatLangCode(e);i.includes("zh-")&&(i="zh-Hant");var n=i.slice(0,2),r=i.slice(2),s=o(n,r);if(!s&&t){var u=document.querySelector("html");return a((null===u||void 0===u?void 0:u.getAttribute("lang"))||(null===u||void 0===u?void 0:u.getAttribute("xml:lang"))||null,!1)}return s}function o(e,t){var i=d.find(function(i){return i.ttsLangIsoCode===e&&i.ttsLocaleIsoCode===t});return(null!==i&&void 0!==i?i:r(e))||null}function r(e){return d.find(function(t){return t.ttsLangIsoCode===e&&t.fallback})}var s="UserWayWidgetApp",u=window[s].addLib("tts-language-resolver"),l=window[s].getLib("util"),d=[];u.getLocaleForText=a,u.getLocaleForElement=n,u.isAvailableWithPreferedLanguage=t,u.enrichDomWithPreferableLanguage=i,e("en","UK English Female",!1,""),e("en","UK English Female",!1,""),e("en","US English Female",!0,"US"),e("en","Australian Female",!1,"AU"),e("ru","Russian Female",!0,""),e("ar","Arabic Female",!0,""),e("cs","Czech Female",!0,""),e("el","Greek Female",!0,""),e("es","Spanish Female",!0,""),e("fr","French Female",!0,""),e("hi","Hindi Female",!0,""),e("it","Italian Female",!0,""),e("ja","Japanese Female",!0,""),e("ko","Korean Female",!0,""),e("nl","Dutch Female",!0,""),e("pl","Polish Female",!0,""),e("pt","Portuguese Female",!0,""),e("pt","Brazilian Portuguese Female",!1,"BR"),e("ro","Romanian Female",!0,""),e("sv","Swedish Female",!0,""),e("tr","Turkish Female",!0,""),e("uk","Ukrainian Female",!0,""),e("ua","Ukrainian Female",!0,""),e("zh","Chinese Female",!0,""),e("zh","Chinese (Hong Kong) Male",!0,"Hant"),e("in","Indonesian Female",!0,""),e("id","Indonesian Female",!0,""),e("no","Norwegian Female",!0,""),e("nb","Norwegian Female",!0,"NO"),e("sk","Slovak Female",!0,""),e("ta","Tamil Male",!0,""),e("th","Thai Female",!0,""),e("sq","Albanian Male",!0,""),e("ca","Catalan Male",!0,""),e("hr","Croatian Male",!0,""),e("da","Danish Female",!0,""),e("fi","Finnish Female",!0,""),e("hu","Hungarian Female",!0,""),e("is","Icelandic Male",!0,""),e("lv","Latvian Male",!0,""),e("mk","Macedonian Male",!0,""),e("sr","Serbian Male",!0,""),e("vi","Vietnamese Male",!0,""),e("de","Deutsch Female",!0,""),e("mg","Montenegrin Male",!0,""),e("az","Turkish Female",!0,""),e("fo","Faroese custom",!0,"")}(),function(){function e(e){var t=void 0===e?{selectedLanguage:""}:e,i=t.selectedLanguage;return n.isAvailableWithPreferedLanguage(i)}var t="UserWayWidgetApp",i=window[t].addLib("tts-reader-status"),n=window[t].getLib("tts-language-resolver");i.isAvailable=e}();var supportedLanguages=["en-US","az","ar","bn","bg","zh","zh-Hant","hr","cs","nl","en-AU","en","et","fi","fo","fr","ka","de","el","he","hi","hu","it","in","ja","ko","lt","mgo","no","fa","pl","pt-BR","pt","pa","ro","ru","sk","sl","sr","es","es-MX","sv","tr","uk","cy","vi"],mapToSupportedLanguages={id:"in",ua:"uk",nb:"no",en:"en-US"},supportedLocales=["en-US","en-AU","pt-BR","es-MX","zh-Hant"],DEFAULT_FALLBACK_LANGUAGE="en-US",supports=function(e){return supportedLanguages.includes(e)},formatLangCode=function(e){return e.replace(/(^\w+)([-|_|,])(\w+$)/,function(e,t,i,n){return t.toLowerCase()+i+n.toUpperCase()})};!function(){var e=UserWayWidgetApp.getLib("util"),t=function(){try{var t=UserWayWidgetApp.ContextHolder.config.supportsLocalStorage,i=e.getProperty({supportsLocalStorage:t},"userway-selectedLang",!1);return supports(i)?i:null}catch(e){return console.warn("Unable to resolve persisted in the local storage language",e),null}},i=function(){try{var e=UserWayWidgetApp.ContextHolder.config._userway_config;if(void 0!==e&&e.hasOwnProperty("language")&&e.language){var t=e.language;return supports(t)?t:null}}catch(e){console.warn("Unable to resolve language set as hardcoded config in the UserWay embed script",e)}return null},n=function(){try{var e=document.getElementsByTagName("html")[0],t=e.getAttribute("lang")||e.getAttribute("xml:lang");if(!t)return null;if(t.includes("zh-"))return"zh-Hant";var i=formatLangCode(t);return supportedLocales.includes(i)||(i=i.slice(0,2)),mapToSupportedLanguages[i]&&(i=mapToSupportedLanguages[i]),supports(i)?i:null}catch(e){return console.warn("Unable to parse page html lang attribute",e),null}},a=function(e){return void 0===e&&(e={ownerLangSelection:""}),t()||i()||e.ownerLangSelection||n()||DEFAULT_FALLBACK_LANGUAGE},o=function(e){void 0===e&&(e={ownerLangSelection:""});var a=t();return!!a&&a===(i()||e.ownerLangSelection||n()||DEFAULT_FALLBACK_LANGUAGE)},r=UserWayWidgetApp.addLib("widget_language_resolver");Object.assign(r,{resolve:a,resolveUserLangSelection:t,resolveOwnerLangHardcoded:i,resolvePageLangAttribute:n,userLandSelectionIsDefaultLangSelected:o})}();var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},__assign.apply(this,arguments)};!function(){var e,t,i=UserWayWidgetApp.addLib("USER_TRACKING"),n=UserWayWidgetApp.getLib("util");!function(e){e.KeyboardUser="KeyboardUser"}(t||(t={}));var a={isTab:function(e){return 9===e.keyCode||"Tab"===e.key||"Tab"===e.code},isArrowLeft:function(e){return 37===e.keyCode||"ArrowLeft"===e.key||"ArrowLeft"===e.code},isArrowRight:function(e){return 39===e.keyCode||"ArrowRight"===e.key||"ArrowRight"===e.code}},o=(e={},e[t.KeyboardUser]=function(e){var t=0;return __assign(__assign({},e),{addMatch:function(){return t+=1},matches:t,isFullyMatched:function(){return t>=e.successMatches}})}({flag:"b1",successMatches:2,test:function(e){return[a.isTab,a.isArrowLeft,a.isArrowRight].some(function(t){return t(e)})}}),e);i.start=function(){s()||document.addEventListener("keydown",r)},i.stop=function(){document.removeEventListener("keydown",r)};var r=function(e){var n=o[t.KeyboardUser];n.test(e)&&(n.addMatch(),n.isFullyMatched()&&(i.stop(),l(n.flag).then(u).catch(i.start)))},s=function(){try{var e=localStorage.getItem("recognizedUserBehavior");return!!JSON.parse(e)}catch(e){return!1}},u=function(){localStorage.setItem("recognizedUserBehavior",JSON.stringify(!0))},l=function(e){var t=UserWayWidgetApp.ContextHolder.config,i=t.account,a=t.services.siteId,o=t.href;return n.request({method:"POST",url:"https://api.userway.org/api/v1/stats/enabled-feature",header:{"Content-Type":"application/json"},body:{account:i,siteId:a,feat:e,pageUrl:o}})}}();var __rest=this&&this.__rest||function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(i[n[a]]=e[n[a]]);return i},__read=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,a,o=i.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)r.push(n.value)}catch(e){a={error:e}}finally{
try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return r},__spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};!function(){function e(){Qe.initializeConfig().then(function(e){Ve=e,qe.config=Ve,a()?u():(fe(),n())})}function t(){return!(!Ve||!Ve.tunings)&&(!0===Ve.tunings.widget_hidden_for_site||!0===Ve.tunings.widget_hidden_for_mobile&&$e.isMobile())}function i(){if(t())return void Y();u(),l(),d(),r(),c(),we(),F(Ve.remediation),H(Ve.services.LIVE_TRANSLATIONS,!!Ve.remediation),$e.addStyleString(wt),me(mt),Y(),Ve.tunings&&Ve.tunings.hasOwnProperty("widget_headless")&&!0===Ve.tunings.widget_headless&&UserWay.iconVisibilityOff(),se(),k();var e=$e.getProperty(Ve,ht),i=!$e.isMobile()&&Ve.tunings.widget_position_nudge,n=$e.isMobile()&&Ve.tunings.widget_position_nudge_mobile;if((i||n)&&!e)var a=setInterval(function(){document.querySelector(".uai")&&(clearInterval(a),re())},50);_(),ve(),ye(!0),$e.isMobile()||tt.insert(),N(),q(),X(),G(),Ee(),"rakbank"===Ve.partner&&"/wps/portal/PrepaidCardSelfCare"===window.location.pathname&&document.querySelector("#keyboard").setAttribute("data-uw-ignore-translate",!0),et.initializeDomChangesObserver(),st.init(),it.run(),at.run(),nt.start()}function n(){window._userway||(window._userway=!0,pe(),D(function(){if($e.isMobile()&&Ve.tunings&&("false"===Ve.tunings.mobile||!1===Ve.tunings.mobile))console.warn("UserWay Accessibility widget is disabled on mobile devices via tunings setting");else var e=setInterval(function(){document.body&&(clearInterval(e),i())},500)}))}function a(){return!!$e.getCookie("hidewidget")}function o(){return Ve&&Ve.tunings&&Ve.tunings.hasOwnProperty("widget_sounds")&&Ve.tunings.widget_sounds}function r(){window.addEventListener("keydown",s,!0)}function s(e){"Tab"!==e.key&&9!==e.keyCode||UserWayWidgetApp.ContextHolder.config.services.paidAi&&UserWayWidgetApp.ContextHolder.remediationModulePromise.then(function(){window.removeEventListener("keydown",s,!0),window.postMessage({isUserWay:!0,action:"remediation",type:"app-key-nav-enabled"},"*")})}function u(){window.addEventListener("keydown",y,!0)}function l(){var e=Ve.services.paidAi||!Ve.services.hasOwnProperty("paidAi"),t=Ve.services.hasOwnProperty("MODIFY_MENU")&&Ve.services.MODIFY_MENU.is_enabled,i=!t||-1!==Ve.services.MODIFY_MENU.features_pattern.split("|").indexOf("s9");e&&i&&ot.isAvailable()&&window.addEventListener("keydown",w,!0)}function d(){window.addEventListener("keydown",g,!0)}function c(){var e=Ve.services.paidAi||!Ve.services.hasOwnProperty("paidAi"),t=Ve.services.hasOwnProperty("MODIFY_MENU")&&Ve.services.MODIFY_MENU.is_enabled,i=!t||Ve.services.MODIFY_MENU.features_pattern.split("|").includes("s24"),n=["userway","localhost","127.0.0.1"],a=n.some(function(e){return window.location.hostname.includes(e)}),o=!!window.chrome,r=Boolean(navigator.userAgent.match(/safari/i));(o||r)&&a&&e&&i&&window.addEventListener("keydown",m,!0)}function p(){var e=document.querySelector(".uai");["top","bottom","left","right"].forEach(function(t){e.style.setProperty([t],null,"important")})}function f(){if(!Et){Et=!0;var e=function(e){var t=e.data||{};if(t.isUserWay)if("appConfigLoaded"===t.action)Tt||(T("hide"),Tt=!0),!Ge&&Ke&&(ee(),T("hide")),Ge=!1;else if("mailToSupport"===t.action)window.open("mailto:support@userway.org","_blank");else if("setDesignVersion"===t.action)localStorage.setItem(vt,t.value),document.location.reload();else if("download_pdf"===t.action)$e.downloadFile(t.url);else if("AiPageReload"===t.action)document.location.reload();else if("openExternalLink"===t.action)window.open(t.url,"_blank");else if("getConfig"===t.action)b();else if("isWidgetOpened"===t.action)Ke?$e.postMessage({action:"toggled",state:"show"}):$e.postMessage({action:"toggled",state:"hide"});else if("close"===t.action)te(),window.focus();else if("on_demand_reader"===t.action)!t.contentToRead||!Ve.services.paidAi&&Ve.services.hasOwnProperty("paidAi")||Ae.readTextContent({language:t.menuLanguage,contentToRead:t.contentToRead,isAlert:t.isAlert,readingSpeedRate:t.readingSpeedRate});else if("on_demand_reader_stop"===t.action)Ae.stopReading();else if("setProperties"===t.action){for(var i in t.settings)t.settings.hasOwnProperty(i)&&void 0!==Ve.settings[i]&&"userway_hidden"!==i&&(Ve.settings[i].value=t.settings[i].value);var n=["s101","s102","s103","s104","s105","s106","s107","s108"],a=Ve.services.hasOwnProperty("MODIFY_MENU")&&Ve.services.MODIFY_MENU.is_enabled;a&&t.pattern&&(Ve.services.MODIFY_MENU.features_pattern=t.pattern.filter(function(e){return-1===n.indexOf(e)}).join("|")),ce(),ye()}else if("pageStructureDialog"===t.action){var o=t.settings.tab||"headers";"links"===o?Ne.showPageStructureLinks():"landmarks"===o?Ne.showPageStructureLandmarks():Ne.showPageStructureHeaders()}else if("setWidgetColor"===t.action)Ve.tunings.widget_color=t.color,Ve.tunings.widget_color_gradient=t.gradient,_(),N();else if("setIconType"===t.action)Ve.tunings.widget_icon_type=t.iconType,_();else if("setSoundEffects"===t.action)Ve.tunings.widget_sounds=t.value;else if("isVisibleOnMobile"===t.action)Ve.tunings.widget_hidden_for_mobile=t.value;else if("setIconSize"===t.action)Ve.tunings.widget_icon_size=t.iconSize,_();else if("setWidgetLanguage"===t.action)R(t.langCode),setTimeout(function(){x(),v()});else if("loadLiveTranslationComponent"===t.action)H({is_enabled:!0},!1);else if("websiteTranslationCompleted"===t.action||"websiteTranslationReverted"===t.action)setTimeout(function(){x(),k()});else if("setWidgetPosition"===t.action)t.byUser||(t.isMobile?$e.removeProperty(Ve,bt):$e.removeProperty(Ve,ht)),t.byMoveHideSection||(Ve.tunings.widget_position=t.position),se(t.byUser?t.position:null,!!t.isMobile&&t.isMobile,t.byMoveHideSection),!$e.isMobile()&&t.widget_position_nudge||$e.isMobile()&&t.widget_position_nudge_mobile?re(t):p(),_();else if("setTimeHideWidget"===t.action)le(t.value);else if("takeScreenShot"===t.action)ne();else if("location_request"===t.action)$e.postMessage({action:"location_response",location:{hash:location.hash,host:location.host,hostname:location.hostname,href:location.href,origin:location.origin,pathname:location.pathname,port:location.port,protocol:location.protocol}});else if("setReaderGuidePosition"===t.action){var r=t.value;if(Te){var s="ie"===Ve.browser?window.pageYOffset||document.documentElement.scrollTop:window.scrollY;r.yPos=r.yPos+s,Te.setRulerElPosition(r)}}else if("custom_trigger_update"===t.action){Ve.tunings.widget_custom_trigger=t.data.selector,Ve.tunings.widget_custom_trigger_enabled=t.data.enabled;var u=[].slice.call(document.querySelectorAll('[data-uw-trigger="true"]'));u.forEach(function(e){e.removeEventListener("click",z),e.removeEventListener("keypress",B),e.removeAttribute("data-uw-trigger")});var l=xe();l&&l.length?(window.UserWay.iconVisibilityOff(),j()):window.UserWay.iconVisibilityOn()}else"on_demand_reader_preload"===t.action?Ae.preload():"closeVoiceNavigation"===t.action&&(de("s24",0),$e.postMessage({action:"closeVoiceNavigation"}))};$e.registerPostMessageListener(e)}}function y(e){85!==e.keyCode&&85!==e.which||!e.ctrlKey||(e.preventDefault(),a()?($e.setCookie("hidewidget","",null),window.location.reload()):Q())}function g(e){"Space"!==e.keyCode&&32!==e.which||!e.ctrlKey||UserWay.resetAll()}function w(e){if(("Period"===e.code||"."===e.key)&&e.ctrlKey&&Ve.reader.enabled){var t=window.localStorage.getItem("readerSpeed")?window.localStorage.getItem("readerSpeed"):1;t=parseInt(t,10),h(t),Ve.settings["userway-s9"].value?UserWay.readPageDisable():UserWay.readPageEnable(t),$e.postMessage({action:"toggleReader"})}}function m(e){var t,i;if(("Comma"===e.code||","===e.key)&&e.ctrlKey){var n=1===(null===(i=null===(t=null===Ve||void 0===Ve?void 0:Ve.settings)||void 0===t?void 0:t["userway-s24"])||void 0===i?void 0:i.value);be().then(function(){de("s24",n?0:1),$e.postMessage({action:n?"closeVoiceNavigation":"openVoiceNavigation"})})}}function h(e){var t=setInterval(function(){if(window.responsiveVoiceLocales){var i=window.responsiveVoiceLocales[Ve.language].widget.responsive_voice,n=Ve.settings["userway-s9"].value?Le()?i.enabled_wl:i.enabled:Le()?i.disabledScreenReader_wl:i.disabledScreenReader;Ae.readTextContent({language:Ve.language,contentToRead:n,isAlert:!1,readingSpeedRate:e}),clearInterval(t)}},50)}function b(){$e.postMessage({action:"sendConfig",config:Ve})}function _(){var e=""+O(),t=W();L(e,t),E(e,t),v()}function v(){if(UserWayWidgetApp.lazyLoaded){var e=document.querySelector(".usr");if(!document.querySelector("img.check_on")){var t=document.createElement("IMG");t.classList.add("check_on"),t.setAttribute("data-uw-rm-ignore",""),t.width=18,t.height=20,t.alt="Accessibility menu is on",e.parentNode.insertBefore(t,e.nextSibling),S(t,"check_on.svg")}}}function x(){var e=function(){var e=He.getFlagByLangCode(i),t=He.getNameByLangCode(i),n=document.querySelector(".usr"),a=document.createElement("div");a.classList.add("fflag","ff-round","fflag-"+e.toUpperCase()),a.setAttribute("data-uw-rm-ignore",""),a.setAttribute("title","Auto Translation enabled: "+t),n.parentNode.insertBefore(a,n.nextSibling)},t=UserWayWidgetApp.getLib("LIVE_TRANSLATIONS");if(t&&t.getCurrentLanguage){var i=t.getCurrentLanguage(),n=document.querySelector("div.fflag");n&&n.parentNode.removeChild(n),i&&Promise.all([function(){return He?Promise.resolve(!0):$e.execJs(dt+"frontend/javascripts/languages.js?v=1664187619569").then(function(){return He=UserWayWidgetApp.getLib("LANGUAGES"),!0}).catch(function(){return!1})}(),function(){return kt?Promise.resolve(!0):$e.addStylesheet(dt+"frontend/stylesheets/flags.css?v=1664187619569").then(function(){return kt=!0}).catch(function(){return!1})}()]).then(function(t){var i=__read(t,2),n=i[0],a=i[1];return n&&a&&e()})}}function E(e,t){var i=document.querySelector(".ups");if(i){i.innerHTML='<img width="43" height="43" data-uw-rm-ignore="" class="'+(t.isLight?"si_b":"si_w")+'" aria-hidden="true" alt="Spinner: '+(t.isLight?"Black":"White")+' decorative" src="" />';var n=document.querySelector("img.si_w");A(t,document.querySelector("img.si_b"),n,"spin")}}function L(e,t){var i=document.querySelector("div.uwy"),n=""+(_userway_config.type||Ve.tunings.widget_icon_type||lt.UW_WIDGET_ICON_TYPE),a=""+C(),o=-1!==["4","5","6","7"].indexOf(e),r=document.querySelector(".uiiw");if("4"!==n)i.classList.contains("uac")&&i.classList.remove("uac"),r.innerHTML='<img width="43" height="43" data-uw-rm-ignore="" class="'+(t.isLight?"ui_b":"ui_w")+'" aria-hidden="true" alt="Accessibility Widget" src="" />';else{$e.addUwStylesheetMetropolisFont(Ve),i.classList.add("uac");var s=Ze.translate,u=s(Ve.language,"widget.text_icon_small"),l=s(Ve.language,"widget.text_icon_large"),d="large"!==a||$e.isMobile()?u:l;r.innerHTML='<div class="accessibility-btn"><span style="font-family: Metropolis, sans-serif!important;" class="accessibility-btn__text">'+d+"</span></div>"}var c=document.querySelector("img.ui_w"),p=document.querySelector("img.ui_b");switch(n){case"1":A(t,p,c,"body"),p&&p.setAttribute("alt","Accessibility Widget"),c&&c.setAttribute("alt","Accessibility Widget");break;case"2":o?A(t,p,c,"wheel_right"):A(t,p,c,"wheel_left"),p&&p.setAttribute("alt","Open the Accessibility Menu"),c&&c.setAttribute("alt","Open the Accessibility Menu");break;case"3":A(t,p,c,"eye"),p&&p.setAttribute("alt","Open the accessibility menu"),c&&c.setAttribute("alt","Open the accessibility menu");break;case"4":break;default:A(t,p,c,"body"),p&&p.setAttribute("alt","Accessibility Widget"),c&&c.setAttribute("alt","Accessibility Widget")}"large"!==a||$e.isMobile()?i.classList.remove("utb"):i.classList.add("utb")}function A(e,t,i,n){e&&e.isLight?S(t,n+"_bl.svg"):S(i,n+"_wh.svg")}function S(e,t){e.setAttribute("src",Ve.cdn+"widgetapp/images/"+t)}function T(e){e=void 0===e?"toggle":e;var t=document.querySelector(".uai");"show"===e?t.classList.add("loading"):"hide"===e?t.classList.remove("loading"):"toggle"===e&&t.classList.toggle("loading")}function k(){var e=document.querySelector(".uai"),t=document.querySelector(".uwif"),i=Ve.services&&(Ve.services.CUSTOM_BRANDING||Ve.services.WHITE_LABEL);e.setAttribute("aria-label",$e.getUserWayIconElementTitle(Ve)),t.setAttribute("title",i?$e.getUserWayIconElementTitle(Ve):"UserWay "+$e.getUserWayIconElementTitle(Ve))}function W(){var e={color:lt.UW_WIDGET_COLOR,gradient:null,isLight:!1},t=Ve.color||Ve.tunings.widget_color;if(t){var i=$e.hexToRgb(t.replace("#",""));e.isLight=$e.colourIsLight(i[0],i[1],i[2]),e.color=t}(Ve.color||Ve.tunings.widget_color_gradient&&Ve.tunings.widget_color_gradient===lt.UW_WIDGET_COLOR_GRADIENT)&&(Ve.tunings.widget_color_gradient=null);var n=Ve.color_gradient||Ve.tunings.widget_color_gradient;return n&&(e.gradient=n),e}function O(){var e=$e.getProperty(Ve,ht);if(e)return Ve.userSpecificPosition=e,e;var t=Ve.tunings.widget_position;return $e.isMobile()&&Ve.tunings.widget_position_mobile&&(t=Ve.tunings.widget_position_mobile),_userway_config.position||Ve.position||t||lt.UW_BUTTON_POSITION}function C(){return _userway_config.size||Ve.size||Ve.tunings.widget_icon_size||lt.UW_WIDGET_ICON_SIZE}function U(){var e=W();if(e){var t=document.querySelector(".uw-popup-header"),i=document.querySelector(".uw-popup-header-text"),n=t.querySelector(".uw-popup-header-close-path"),a=e.gradient||e.color,o=e.isLight?"#000000":"#ffffff";t&&(t.setAttribute("style","background: "+a+"!important; color:"+o+"!important"),i.setAttribute("style","color:"+o+"!important")),n&&n.setAttribute("style","stroke: "+o+"!important")}}function N(){var e=document.querySelector(".uai"),t=W(),i=t.gradient||t.color;if(i){if(e){var n=i;if("ie"===$e.detectBrowser()){var a=""+(_userway_config.type||Ve.tunings.widget_icon_type||lt.UW_WIDGET_ICON_TYPE);4!==a&&"4"!==a||(n+=";min-width:auto!important;max-width:none!important;min-height:auto!important;max-height:none;!important")}e.style.setProperty("background",n,"important"),t.isLight?(e.classList.add("uli"),e.classList.remove("userway_dark")):(e.classList.remove("uli"),e.classList.add("userway_dark"))}var o=document.querySelector(".userway_hide_on");o&&o.style.setProperty("background",t.color,"important");var r=document.querySelector(".userway_hide_off");r&&r.style.setProperty("background",t.color,"important");var s=document.querySelector(".uhi span");s&&s.style.setProperty("background",t.color,"important")}else e.classList.add("userway_dark");$e.postMessage({action:"setWidgetColour",payload:t||null})}function I(){var e="fo"===Ve.language&&"faroe"!==Ve.partner;!ot.isAvailable()||e?P():M()}function M(){Ve.reader.enabled=!0,$e.postMessage({action:"screen_reader_available"})}function P(){Ae.disable(),Ve.reader.enabled=!1,$e.postMessage({action:"screen_reader_not_available"})}function R(e,t){void 0===t&&(t=!1),e&&(t||$e.setProperty(Ve,_t,e),Ve.tunings.widget_language=e,Ve.language=e,Ge=!0,ze.updateDictionaryConfigs(),t&&Z(e),"fo"===Ve.language&&"faroe"!==Ve.partner&&P(),Ze.initializeLocale(e).finally(function(){var e=document.querySelector("div.uwy"),t={"en-US":"Our site is built for you; use it in a way that works best for you",ar:"تم تصميم موقعنا من أجلك. استخدمه بطريقة تناسبك بشكل أفضل"};e.setAttribute("title","revamp.rakbank.ae"===location.hostname?t[Ve.language]:$e.getUserWayIconElementTitle(Ve))}))}function D(e){var t,i=null;_userway_config&&_userway_config.platform?i=_userway_config.platform:window._userway_config&&window._userway_config.platform&&(i=window._userway_config.platform);var n="file://"===window.location.origin?window.location.href.match(/([^\/]+?)\.(?:[a-z0-9]+?)$/i)[1]:window.location.origin,a=document.referrer;if(!n||"null"===n){n="https://inspect.userway.org";try{a=window.top.location.href}catch(e){}}var o={settings:Ve.settings,origin:n,referrer:a,base:Ve.base,pageUrl:window.location.href};i&&(o.platform=i),(null===(t=null===Ve||void 0===Ve?void 0:Ve._userway_config)||void 0===t?void 0:t.platfAppInstalledSiteId)&&(o.platfAppInstalledSiteId=Ve._userway_config.platfAppInstalledSiteId),Ve&&(Ve.account||Ve.code)||(console.warn("Widget initialization error: no account/code provided. Default code will be used"),Ve.account="qLb3sVM6fr",Ve.defaultAccountUsed=!0);var r=new XMLHttpRequest;r.open("post",gt+"/tunings/"+(Ve.account||Ve.code)),r.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),r.onload=function(){try{if(503===r.status)throw new Error("Error 503");if(502===r.status)throw new Error("Error 502");if(200!==r.status)throw new Error("Not 200 status");var t=JSON.parse(r.response);if(200!==t.code)return void console.error("Initialization error: "+t.code+" - "+t.message);Ve.cpr=t.data.cpr,Ve.tunings=t.data.tunings,Ve.services=t.data.services,Ve.cpr=t.data.cpr,Ve.partner=t.data.services&&t.data.services.partner?t.data.services.partner:null,Ve.widgetPageLang=rt.resolvePageLangAttribute(),Ve.languageHardcoded=rt.resolveOwnerLangHardcoded();var i=t.data.tunings.widget_language&&"null"!==t.data.tunings.widget_language?t.data.tunings.widget_language:null;Ve.language=rt.resolve({ownerLangSelection:i}),rt.userLandSelectionIsDefaultLangSelected({ownerLangSelection:i})&&($e.removeProperty(Ve,_t),$e.removeProperty(Ve,"userway-selectedSiteLang")),Ze.initializeLocale(Ve.language).finally(function(){var e=!!Ve.widgetPageLang&&ot.isAvailable({selectedLanguage:Ve.widgetPageLang});Ve.reader={enabled:e},Ve.remediation=t.data.remediation,Wt.forEach(function(e){var t=Ve.tunings[e];Ve.tunings[e]=t?JSON.parse(t):null}),UserWayWidgetApp.ContextHolder.config=Ve})}catch(e){console.error(e)}e&&e()},r.onerror=function(t){console.error(t),e&&e()},r.onabort=function(t){console.error(t),e&&e()},r.send(JSON.stringify(o))}function F(e){e||$e.fireUserWayRemediationCompletedEvent({enabled:!1});var t=Ve.services&&Ve.services.paidAi,i=e?ct:t?pt:null;i&&(UserWayWidgetApp.ContextHolder.remediationModulePromise=$e.execJs(dt+i),UserWayWidgetApp.addLib("remediationConfig",e),UserWayWidgetApp.ContextHolder.remediationResources=null,e&&e.consolidated&&$e.request({method:"GET",url:e.consolidated}).then(function(e){e&&e.response&&(UserWayWidgetApp.ContextHolder.remediationResources=JSON.parse(e.response))},function(e){console.warn("Can't load remediation resources.")}))}function H(e,t){e&&e.is_enabled&&$e.execJs(dt+"widgetapp/2022-09-26/translations/live_translations_1664187619569.js").then(function(){var e=UserWayWidgetApp.getLib("LIVE_TRANSLATIONS"),i=function(){return e.awaitForResources()};return new Promise(function(e){t?document.addEventListener($e.LIFE_CYCLE_EVENT.REMEDIATION,function(){return i().then(e)},{once:!0}):i().then(e)})}).then(function(e){e&&(x(),I())})}function z(){window.UserWay.widgetToggle()}function B(e){window.UserWay.widgetToggle(),"Enter"===e.key&&(e.preventDefault(),window.UserWay.widgetToggle())}function j(){var e=xe();e.length&&e.forEach(function(e){e.hasAttribute("data-uw-trigger")||(e.addEventListener("click",z),e.addEventListener("keypress",B),e.setAttribute("data-uw-trigger",!0))})}function q(){j(),V();var e=document.querySelector("body"),t=document.querySelector(".uai"),i=document.querySelector(".uwy");e&&e.addEventListener("touchstart",function(e){for(var t=!1,n=e.target;n;){if(n.classList&&n.classList.contains("uai")){t=!0;break}n=n.parentNode}t||i.classList.remove("uo")},!!$e.supportsPassive&&{passive:!0});var n=!1;Ve.isMobile&&t.addEventListener("touchstart",function(e){n||(e.stopPropagation(),e.preventDefault(),n=!0,setTimeout(function(){n=!1},400),e.target&&"function"==typeof e.target.closest&&e.target.closest(".uwaw-dictionary-tooltip")||($(),setTimeout(function(){i.classList.add("uo")},50)))},{passive:!1}),!Ve.isMobile&&t.addEventListener("click",function(e){n||e.target&&"function"==typeof e.target.closest&&e.target.closest(".uwaw-dictionary-tooltip")||$()}),t.addEventListener("keydown",function(e){32!==e.keyCode&&13!==e.keyCode||$()}),t.addEventListener("keyup",function(e){27===e.keyCode&&te()}),t.addEventListener("focus",function(){_e()}),t.addEventListener("mouseover",function(){Ve.isMobile||(clearTimeout(Nt),Nt=setTimeout(function(){i.classList.add("uo")},100),_e())}),t.addEventListener("mouseout",function(){Ve.isMobile||(clearTimeout(Nt),Nt=setTimeout(function(){i.classList.remove("uo")},100))})}function V(){new MutationObserver(function(e){return e.forEach(function(e){"lang"===e.attributeName&&I()})}).observe(document.querySelector("html"),{attributes:!0})}function G(){$e.fireUserWayLifeCycleEvent($e.LIFE_CYCLE_EVENT.RENDER)}function Y(){try{var e=!!UserWayWidgetApp.ContextHolder&&!!UserWayWidgetApp.ContextHolder.config&&!!UserWayWidgetApp.ContextHolder.config.remediation;$e.fireUserWayLifeCycleEvent($e.LIFE_CYCLE_EVENT.INIT,{remediationEnabled:e}),e||$e.fireUserWayRemediationCompletedEvent({enabled:!1})}catch(e){}}function K(e,t,i){void 0===i&&(i=null);var n=i?{state:i}:null;$e.fireUserWayLifeCycleEvent(e+t,n)}function X(){try{var e=window.location.hash.substr(1);if(e&&e.toLowerCase()===ut||_userway_config.forceOpen)return location.hash=ut,Q();if(new RegExp("[?&]"+ut,"i").test(window.location.search))return Q()}catch(e){}}function J(e){try{var t=document.querySelector("div.uai");if(!t)return console.warn("Icon not found");e?"visible"===e?t.classList.remove("hidden"):t.classList.add("hidden"):t.classList.contains("hidden")?t.classList.remove("hidden"):t.classList.add("hidden")}catch(e){}}function $(){Ke?te():Q()}function Z(e){var t=document.querySelector(".uwif");if(!Ge||t.src){var i=function(e,t){var i=t,n=e;i[n];return __rest(i,["symbol"==typeof n?n:n+""])},n=function(e,t){var n=t;return"object"==typeof t&&null!==t&&(n=e.reduce(function(e,t){return i(t,e)},t)),encodeURIComponent(JSON.stringify(n))},a="rand="+ +new Date,o=["services","tunings","language","account","widgetPageLang"],r=["accessibility_url","accessibility_link_enabled","accessibility_link_text","CUSTOM_BRANDING"],s=o.map(function(e){var t=UserWayWidgetApp.ContextHolder.config[e];return t?e+"="+n(r,t):null}).filter(Boolean),u=__spreadArray([a],__read(s),!1).join("&");t.setAttribute("src",yt+e+"/index"+Ct()+".html?"+u)}Ge=!1}function Q(){if(window.location.origin&&"null"!==window.location.origin){f(),I();try{if(o()){var e=new Audio(Ve.cdn+"widgetapp/sounds/widgetOpened.mp3");xt=new Audio(Ve.cdn+"widgetapp/sounds/widgetClosed.mp3"),e.play()}}catch(e){}var t=document.querySelector(".uwif");t.hasAttribute("src")&&Tt||T("show"),Promise.resolve().then(function(){return t.hasAttribute("src")?ee():be().then(function(){Ye=rt.resolveUserLangSelection(),Ye&&Ve.language!==Ye&&(Ve.language=Ye),Z(Ve.language)})}).then(function(){try{$e.postMessageWithNotification({action:"toggled",state:"show"},"widgetOpened",function(){Ke=!0,ee()})}catch(e){console.error(e)}Ie&&Ie.hideActiveTooltip&&Ie.hideActiveTooltip()})}}function ee(){var e=document.querySelector(".uwy");e.classList.add("uon"),e.classList.remove("hidden")}function te(){if(o())try{xt.play()}catch(e){}var e=UserWayWidgetApp.getLib("remediation_utils");"object"==typeof e&&"function"==typeof e.highlightElements&&e.highlightElements(),document.querySelector(".uwy").classList.remove("uon");try{$e.postMessageWithNotification({action:"toggled",state:"hide"},"widgetClosed",function(){Ke=!1,Se.onWidgetClosed(),window.focus()})}catch(e){console.error(e)}}function ie(){var e=window,t="inner";return"innerWidth"in window||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}}function ne(){var e="uwPageScreenshot";document.getElementById(e)?ae():$e.loadDeferredJs(ft,function(){ae()},function(e){},{id:e})}function ae(){function e(){t.classList.add("uon"),T("hide")}var t=document.querySelector(".uwy"),i=document.querySelector("#fb-root");if(t){t.classList.remove("uon"),i&&i.setAttribute("style","display:none"),T("show");var n=(html2canvas(document.body,{allowTaint:!1,useCORS:!1,width:300,height:300}).then(function(e){var t=document.createElement("canvas"),n=t.getContext("2d"),a=ie();n.canvas.width=a.width,n.canvas.height=a.height,n.drawImage(e,0,0,a.width,a.height,0,0,a.width,a.height);var o=t.toDataURL("image/png");i&&i.removeAttribute("style"),$e.postMessage({action:"sendScreenShotPreview",imageSrc:o})}).catch(function(){!!n&&clearTimeout(n),$e.postMessage({action:"sendScreenShotPreview",imageSrc:""})}).finally(function(){e()}),setTimeout(function(){e()},5e3))}}function oe(e,t){var i=new RegExp("\\b"+t+".*?\\b","g");return e.className=e.className.replace(i,""),e}function re(e){void 0===e&&(e=Ve.tunings);var t=$e.isMobile(),i=document.querySelector(".uai"),n=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.moveX:e.widget_position_nudge.moveX,a=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.moveY:e.widget_position_nudge.moveY,o=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.xOrientation:e.widget_position_nudge.xOrientation,r=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.yOrientation:e.widget_position_nudge.yOrientation,s=t?!e.position_mobile&&e.widget_position_mobile?parseInt(e.widget_position_mobile,10):parseInt(e.position,10):!e.position&&e.widget_position?parseInt(e.widget_position,10):parseInt(e.position,10);if(p(),n)if(-1!==[1,2,3].indexOf(s))"right"===o&&(n=-n),i.style.setProperty("left","calc(100vw - "+(Ot.leftRightSide.right+n)+"px)","important");else if(-1!==[4,8].indexOf(s)){var u="left"===o?" - ":" + ";i.style.setProperty("left","calc("+Ot.middle.left+"%"+u+n+"px)","important")}else-1!==[5,6,7].indexOf(s)&&("left"===o&&(n=-n),i.style.setProperty("left",Ot.leftRightSide.left+n+"px","important"));if(a)if(-1!==[3,4,5].indexOf(s))"top"===r&&(a=-a),i.style.setProperty("bottom",Ot.leftRightSide.bottom+a+"px","important");else if(-1!==[2,6].indexOf(s)){var u="bottom"===r?" - ":" + ";i.style.setProperty("top","calc("+Ot.middle.top+"%"+u+a+"px)","important")}else-1!==[1,7,8].indexOf(s)&&("bottom"===r&&(a=-a),i.style.setProperty("top",Ot.leftRightSide.top+a+"px","important"))}function se(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e||O();e&&(Ve.settings[t?bt:ht]={},$e.setProperty(Ve,t?bt:ht,i?n:null));var a=document.querySelector(".uwy"),o=document.querySelector(".uwif");(oe(o,"userway_p"),o.classList.add("userway_p"+n),a&&(oe(a,"userway_p"),a.classList.add("userway_p"+n),setTimeout(function(){a.style.setProperty("visibility","","")},250)),$e.getProperty(Ve,"userway_hidden"))&&document.querySelector(".uwy").classList.add("userway_hidden")}function ue(){var e=["s2","s4","s6","s7","s12","s13","s14","s23"];return Ve.services.hasOwnProperty("MODIFY_MENU")&&Ve.services.MODIFY_MENU.is_enabled?e.filter(function(e){return-1!==Ve.services.MODIFY_MENU.features_pattern.split("|").indexOf(e)}):e}function le(e){Ve.settings.hideWidget={};var t=e.timestamp>0?{"max-age":e.timestamp/1e3}:null;$e.setCookie("hidewidget",e.timestamp,t),te(),J("hidden"),ue().forEach(function(e){de(e,0)});for(var i in Ve.settings)Ve.settings[i].hasOwnProperty("value")&&(Ve.settings[i].value=0);$e.postMessage({action:"updateVisuallyImpairedState",config:!1}),ce()}function de(e,t){var i="userway-"+e;if(void 0!==t)if("s2"===e)Ve.settings[i].value=t,0===t&&(Ve.settings["userway-s10"].value=t,Ve.settings["userway-s16"].value=t);else if("s3"===e||"s14"===e||"s17"===e||"s23"===e)-1!==[!1,1,2,3].indexOf(t)?Ve.settings[i].value=t:Ve.settings[i].value=0;else if("s4"===e||"s19"===e)-1!==[!1,1,2,3,4].indexOf(t)?Ve.settings[i].value=t:Ve.settings[i].value=0;else if("s21"===e||"s18"===e)-1!==[!1,1].indexOf(t)?Ve.settings[i].value=t:Ve.settings[i].value=0;else if("s8"===e)for(var n in Ve.settings)Ve.settings[n].value=0;else Ve.settings[i].value=t;ce(),ye()}function ce(){for(var e in Ve.settings)"userway_hidden"===e||e===_t?$e.setProperty(Ve,e,Ve.settings[e]):$e.setProperty(Ve,e,Ve.settings[e].value);UserWayWidgetApp.ContextHolder.config=Ve}function pe(){for(var e in Ve.settings)Ve.settings.hasOwnProperty(e)&&(Ve.settings[e].value=$e.getProperty(Ve,e))}function fe(){if("undefined"!=typeof _userway_config)for(var e in _userway_config)_userway_config.hasOwnProperty(e)&&(Ve[e]=_userway_config[e])}function ye(e){if(void 0===e&&(e=!1),window.UserWayWidgetApp&&window.UserWayWidgetApp.lazyLoaded){if(JSON.stringify(Ve.settings)!==JSON.stringify(Xe)){if(Je={},Object.keys(Xe).length)for(var t in Ve.settings)Ve.settings.hasOwnProperty(t)&&Xe.hasOwnProperty(t)&&Ve.settings[t].value!==Xe[t].value&&(Je[t]=JSON.parse(JSON.stringify(Ve.settings[t])));else Je=Ve.settings;for(var t in Je)!function(t){if(Ve.settings.hasOwnProperty(t)){var i=Ve.services&&Ve.services.paidAi;if(Ve.settings[t]&&Ve.settings[t].value&&(i||-1===Ut.indexOf(t))){var n=$e.LIFE_CYCLE_EVENT.FEATURE_ENABLED_BASE,a=null;if("userway-s2"===t)Te.enableBigCursor(),a="s2";else if("userway-s3"===t)We.turnOffColorFeature(),We.turnOnColorFeature(t,Ve),a="s3";else if("userway-s4"===t)ke.enable(),a="s4";else if("userway-s6"===t)"rakbank"===Ve.partner&&"/wps/portal/PrepaidCardSelfCare"===window.location.pathname?Oe.enable({rakBankExtraStyles:!0}):Oe.enable(),a="s6";else if("userway-s7"===t)Ue.disable(),Ce.enable(),a="s7";else if("userway-s9"===t)Se.enable(),Ae.enable(),a="s9",window.localStorage.setItem("readerSpeed",Ve.settings[t].value);else if("userway-s10"===t)Te.enableReadingGuide(),a="s10";else if("userway-s11"===t){var o=e?2e3:0;setTimeout(function(){Ne.showPageStructureHeaders(),a="s11"},o)}else"userway-s12"===t?(Ie.enable(),a="s12"):"userway-s13"===t?(Me.enable(),a="s13"):"userway-s14"===t?(Pe.enable(),a="s14"):"userway-s15"===t?(Ue.enable(),a="s15"):"userway-s16"===t?(Te.enableReadingMask(),a="s16"):"userway-s17"===t?(Re.disable(),Re.enable(),a="s17"):"userway-s18"===t?(We.enableSmartContrast(),a="s18"):"userway-s19"===t?(De.disable(),De.enable(),a="s19"):"userway-s23"===t?(Fe.disable(),Fe.enable(),a="s23"):"userway-s21"===t?(ze.enable(),f(),a="21"):"userway-s24"===t?(Ae.preload(),Be.enable(),te(),f(),a="s24"):"userway-s101"===t?a="s101":"userway-s102"===t?a="s102":"userway-s103"===t?a="s103":"userway-s104"===t?a="s104":"userway-s105"===t?a="s105":"userway-s106"===t?a="s106":"userway-s107"===t?a="s107":"userway-s108"===t&&(a="s108");a&&K(n,a,Ve.settings[t].value)}else if(!e){var n=$e.LIFE_CYCLE_EVENT.FEATURE_DISABLED_BASE,r=null;if("userway-s2"===t)Te.disableBigCursor(),r="s2";else if("userway-s3"===t)We.turnOffColorFeature(),r="s3";else if("userway-s4"===t)ke.disable(),r="s4";else if("userway-s5"===t)console.warn("s5 key: shouldn't happen anymore");else if("userway-s6"===t)"rakbank"===Ve.partner&&"/wps/portal/PrepaidCardSelfCare"===window.location.pathname?Oe.disable({rakBankExtraStyles:!0}):Oe.disable(),r="s6";else if("userway-s7"===t)Ce.disable(),r="s7";else if("userway-s9"===t)Ae.disable(),Se.disable(),r="s9";else if("userway-s10"===t)Te.disableReadingGuide(),r="s10";else if("userway-s12"===t)Ie.disable(),r="s12";else if("userway-s13"===t)Me.disable(),r="s13";else if("userway-s14"===t)Pe.disable(),r="s14";else if("userway-s15"===t)Ue.disable(),r="s15";else if("userway-s16"===t)Te.disableReadingMask(),r="s16";else if("userway-s17"===t)Re.disable(),r="s17";else if("userway-s18"===t)We.disableSmartContrast(),r="s18";else if("userway-s19"===t)De.disable(),r="s19";else if("userway-s23"===t)Fe.disable(),r="s23";else if("userway-s21"===t){ze.disable(),r="s21",document.querySelector(".uwaw-dictionary-tooltip").classList.remove("uwaw-dictionary-tooltip_active");var s=document.querySelector(".uwaw-dictionary-tooltip__i");s&&s.remove()}else"userway-s24"===t?(Be.disable(),r="s24"):"userway-s101"===t?r="s101":"userway-s102"===t?r="s102":"userway-s103"===t?r="s103":"userway-s104"===t?r="s104":"userway-s105"===t?r="s105":"userway-s106"===t?r="s106":"userway-s107"===t?r="s107":"userway-s108"===t&&(r="s108");r&&K(n,r)}}}(t);Xe=JSON.parse(JSON.stringify(Ve.settings))}ge(),qe.showPageStructureLinks=Ne.showPageStructureLinks}}function ge(){var e=document.querySelector(".uwy");Object.keys(Ve.settings).some(function(e){var t
;return(null===(t=Ve.settings[e])||void 0===t?void 0:t.value)&&"userway-positionWidget"!==e})?e.classList.add("uen"):e.classList.remove("uen")}function we(){window.UserWay=new function(){function e(e,t){if(void 0===t){var i="userway-"+e,n=qe.getFeaturesSettings(),a=n[i].value;"s4"===e||"s19"===e?a?a<4?a+=1:a=0:a=1:"s9"===e?n[i].disabled?a=0:a<3?a+=1:a=!a:"s17"===e||"s23"===e||"s3"===e||"s14"===e?a?a<3?a+=1:a=0:a=1:a="s21"===e||"s101"===e||"s102"===e||"s103"===e||"s104"===e||"s105"===e||"s106"===e||"s107"===e||"s108"===e?a?0:1:!a,t=a}be().then(function(i){qe.setFeature(e,t);var n={action:"feature_use",name:e};t&&(n.value=t),$e.postMessage(n)})}var t=this;return t.getVersion=function(){return"1.0.0"},t.getAccessibilityScore=function(){it.accessibilityScore()},t.useNewDesign=function(){window.sessionStorage.setItem(vt,"true"),location.reload()},t.useOldDesign=function(){window.sessionStorage.setItem(vt,"false"),location.reload()},t.widgetToggle=function(){qe.toggleWidget()},t.widgetOpen=function(){qe.openWidget()},t.widgetClose=function(){qe.closeWidget()},t.enableVoiceNavigation=function(e){f(),Ae.preload(),Be.enable(e)},t.disableVoiceNavigation=function(){Be.disable()},t.keyboardNavToggle=function(){},t.keyboardNavEnable=function(){},t.keyboardNavDisable=function(){},t.bigCursorToggle=function(){e("s2")},t.bigCursorEnable=function(){e("s2",1)},t.bigCursorDisable=function(){e("s2",0)},t.contrastToggle=function(){e("s3")},t.contrastEnable=function(t){-1!==[1,2,3].indexOf(t)?e("s3",t):e("s3")},t.contrastDisable=function(){e("s3",0)},t.bigTextToggle=function(){e("s4")},t.bigTextEnable=function(t){-1!==[1,2,3,4].indexOf(t)?e("s4",t):e("s4")},t.bigTextDisable=function(){e("s4",0)},t.highlightToggle=function(){e("s6")},t.highlightEnable=function(){e("s6",1)},t.highlightDisable=function(){e("s6",0)},t.legibleFontsToggle=function(){e("s7")},t.legibleFontsEnable=function(){e("s7",1)},t.legibleFontsDisable=function(){e("s7",0)},t.textSpacingToggle=function(){e("s14")},t.textSpacingEnable=function(t){e("s14",t)},t.textSpacingDisable=function(){e("s14",0)},t.lineHeightToggle=function(){e("s17")},t.lineHeightEnable=function(t){e("s17",t)},t.lineHeightDisable=function(){e("s17",0)},t.inlineDictionaryToggle=function(){e("s21")},t.inlineDictionaryEnable=function(t){e("s21",t)},t.inlineDictionaryDisable=function(){e("s21",0)},t.textAlignToggle=function(){e("s19")},t.textAlignEnable=function(t){e("s19",t)},t.textAlignDisable=function(){e("s19",0)},t.saturationToggle=function(){e("s23")},t.saturationEnable=function(t){e("s23",t)},t.saturationDisable=function(){e("s23",0)},t.resetAll=function(){e("s8")},t.readPageToggle=function(){e("s9")},t.readPageEnable=function(t){void 0===t&&(t=1),e("s9",t)},t.readPageDisable=function(){e("s9",0)},t.readingGuideToggle=function(){e("s10")},t.readingGuideEnable=function(){e("s10",!0)},t.readingGuideDisable=function(){e("s10",!1)},t.readingMaskToggle=function(){e("s16")},t.readingMaskEnable=function(){e("s16",!0)},t.readingMaskDisable=function(){e("s16",!1)},t.dyslexiaFontToggle=function(){e("s15")},t.dyslexiaFontEnable=function(){e("s15",!0)},t.dyslexiaFontDisable=function(){e("s15",!1)},t.iconVisibilityToggle=function(){qe.manageIconVisibility()},t.iconVisibilityOn=function(){qe.manageIconVisibility("visible")},t.iconVisibilityOff=function(){qe.manageIconVisibility("hidden")},t.preloadWidget=function(){_e()},t.pageStructureHeaders=function(){Ne.showPageStructureHeaders()},t.pageStructureLandmarks=function(){Ne.showPageStructureLandmarks()},t.pageStructureLinks=function(){Ne.showPageStructureLinks()},t.pageStructureDisable=function(){Ne.closePageStructureDialog()},t.tooltipsToggle=function(){e("s12")},t.tooltipsEnable=function(){e("s12",1)},t.tooltipsDisable=function(){e("s12",0)},t.stopAnimationToggle=function(){e("s13")},t.stopAnimationEnable=function(){e("s13",1)},t.stopAnimationDisable=function(){e("s13",0)},t.changeWidgetLanguage=function(e){be().then(function(){R(e,!0)})},t.enableSmartContrast=function(){e("s18",1)},t.disableSmartContrast=function(){e("s18",0)},t.toggleInitialPagePreload=function(){var e=window.localStorage.getItem(je),t=!JSON.parse(e);window.localStorage.setItem(je,t.toString()),console.log("Initial page widget preload is "+(t?"enabled":"disabled")+"!")},t}}function me(e){var t=document.createElement("div");t.classList.add("uw-s12-tooltip"),t.setAttribute("aria-hidden","true"),he(t);var i=document.createElement("div"),n=document.createElement("div"),a=document.createElement("div"),o=document.createElement("div"),r=document.createElement("div");i.classList.add("uw-s10-reading-guide"),n.classList.add("uw-s10-left-ruler-guide"),a.classList.add("uw-s10-right-ruler-guide"),o.classList.add("uw-s10-bottom-ruler-guide"),r.classList.add("uw-s10-reading-guide__arrow"),i.appendChild(r),he(i),he(n),he(a),he(o);var s=document.createElement("div");s.innerHTML=e,s.classList.add("uwy"),s.setAttribute("data-uw-feature-ignore","true"),Ve.isMobile&&s.classList.add("umb"),s.style.setProperty("background-color","transparent","important"),s.style.setProperty("overflow","initial","important"),s.style.setProperty("visibility","hidden",""),he(s),s.setAttribute("title",$e.getUserWayIconElementTitle(Ve));var u=Ve.services&&(Ve.services.CUSTOM_BRANDING||Ve.services.WHITE_LABEL),l=document.querySelectorAll(".uwif");if(l&&l.length){var d=l[0];d.setAttribute("title",u?$e.getUserWayIconElementTitle(Ve):"UserWay "+$e.getUserWayIconElementTitle(Ve)),d.style.setProperty("width","100vw","important"),d.style.setProperty("max-width","100vw","important"),d.style.setProperty("visibility","visible","important"),d.style.setProperty("opacity","1","important"),d.style.setProperty("color-scheme","light","important");var c=/Android/i.test(navigator.userAgent);"-v2"===Ct()?c&&(d.style.setProperty("height","100%","important"),d.style.setProperty("max-height","100%","important")):(d.style.setProperty("height","100vh","important"),d.style.setProperty("max-height","100vh","important"))}var p=xe();p&&p.length&&window.UserWay.iconVisibilityOff()}function he(e){var t=document.body;t.insertBefore(e,t.children[0])}function be(){return At?Lt:($e.addUwStylesheetUDFFont(Ve),UserWayWidgetApp.lazyLoaded?UserWayWidgetApp.lazyLoaded&&(Lt=Promise.resolve()):(At=!0,Lt=new Promise(function(e,t){$e.execJs(dt+"widgetapp/2022-09-26/widget_app_lazy_1664187619569.js").then(function(t){ve(),UserWayWidgetApp.lazyLoaded=!0,v(),At=!1,e()},function(e){console.error("Widgetapp lazyload error:",e),At=!1,t()})})),Lt)}function _e(){St||(f(),be().then(function(){Ye=rt.resolveUserLangSelection(),Ye&&Ve.language!==Ye&&(Ve.language=Ye),Z(Ve.language)}),St=!0)}function ve(){Se=UserWayWidgetApp.getLib("keyboard_navigation"),Te=UserWayWidgetApp.getLib("cursor"),ke=UserWayWidgetApp.getLib("bigger_text"),We=UserWayWidgetApp.getLib("uw_color_manipulation_service"),Oe=UserWayWidgetApp.getLib("highlinks"),Ce=UserWayWidgetApp.getLib("legible_text"),Ue=UserWayWidgetApp.getLib("dyslexia_font"),Ae=UserWayWidgetApp.getLib("screen-reader-t"),Ne=UserWayWidgetApp.getLib("page_structure"),Ie=UserWayWidgetApp.getLib("tooltips"),Me=UserWayWidgetApp.getLib("stop_animations"),Pe=UserWayWidgetApp.getLib("spacing_text"),Re=UserWayWidgetApp.getLib("line_height"),De=UserWayWidgetApp.getLib("text_align"),Fe=UserWayWidgetApp.getLib("saturation"),ze=UserWayWidgetApp.getLib("inlineDictionary"),Be=UserWayWidgetApp.getLib("voice-navigation")}function xe(){if(!Ve||!Object.keys(Ve.tunings).length)return null;var e=Ve._userway_config&&Ve._userway_config.trigger,t=Ve.tunings&&Ve.tunings.widget_custom_trigger,i=Ve.tunings&&Ve.tunings.widget_custom_trigger_enabled,n=e||(i&&t?t:null),a=[];if(n){"."!==n[0]&&(n="#"+n);try{a=[].slice.call(document.querySelectorAll(n))}catch(e){console.error(e)}}return a}function Ee(){var e=window.localStorage.getItem("should-preload-widget");JSON.parse(e)&&_e()}function Le(){var e,t,i;return(null===(e=Ve.services.WHITE_LABEL)||void 0===e?void 0:e.hide_logo)||(null===(t=Ve.services.CUSTOM_BRANDING)||void 0===t?void 0:t.custom_logo_image_link)||(null===(i=Ve.services.CUSTOM_BRANDING)||void 0===i?void 0:i.custom_logo_image_path)}var Ae,Se,Te,ke,We,Oe,Ce,Ue,Ne,Ie,Me,Pe,Re,De,Fe,He,ze,Be,je="should-preload-widget",qe=UserWayWidgetApp.addLib("main"),Ve={},Ge=!1,Ye=null,Ke=!1,Xe={},Je={},$e=UserWayWidgetApp.getLib("util"),Ze=UserWayWidgetApp.getLib("localization_manager"),Qe=UserWayWidgetApp.getLib("context_setter"),et=UserWayWidgetApp.getLib("dom_observer"),tt=UserWayWidgetApp.getLib("skip_links"),it=UserWayWidgetApp.getLib("scan_manager"),nt=UserWayWidgetApp.getLib("USER_TRACKING"),at=UserWayWidgetApp.getLib("cpr_usage_detector"),ot=UserWayWidgetApp.getLib("tts-reader-status"),rt=UserWayWidgetApp.getLib("widget_language_resolver"),st=UserWayWidgetApp.getLib("helpers"),ut="uaw",lt={UW_BUTTON_POSITION:"1",UW_WIDGET_COLOR:"#003d68",UW_WIDGET_COLOR_GRADIENT:"off",UW_WIDGET_ICON_TYPE:"1",UW_WIDGET_ICON_SIZE:"small"
},dt="https://cdn.userway.org/",ct="widgetapp/2022-09-26/remediation/remediation_1664187619569.js",pt="widgetapp/2022-09-26/contrast-remediation/remediation_1664187619569.js",ft=dt+"widgetapp/bundles/html2canvas-02.js",yt=dt+"widget/2022-09-26-10-20-19/",gt="https://api.userway.org/api",wt='.uw-s10-reading-guide{display:none;box-sizing:border-box;background:#000;width:40vw!important;min-width:200px!important;position:absolute!important;height:12px!important;border:solid 3px #fff300;border-radius:5px;top:20px;z-index:2147483647;transform:translateX(-50%)}.uw-s10-reading-guide__arrow{bottom:100%;left:50%;transform:translateX(-50%);width:20px;height:0;position:absolute}.uw-s10-reading-guide__arrow:after,.uw-s10-reading-guide__arrow:before{content:"";bottom:100%;left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none}.uw-s10-reading-guide__arrow:after{border-bottom-color:#000;border-width:14px;margin-left:-14px}.uw-s10-reading-guide__arrow:before{border-bottom-color:#fff300;border-width:17px;margin-left:-17px}.uw-s10-left-ruler-guide,.uw-s10-right-ruler-guide{width:16px;height:9px;background:0 0;display:none;position:absolute!important;z-index:2147483647;transform:translateY(-50%)}.uw-s10-bottom-ruler-guide{width:36px;height:16px;background:0 0;display:none;position:absolute!important;z-index:2147483647;transform:translateX(-50%)}.usc{clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;position:absolute!important;z-index:-1;opacity:0}.userway-s3-1{filter:invert(100%);-webkit-filter:invert(100%)}.userway-s3-1-white-bg{background:#fff!important}.userway-s3-1 iframe[name=userway]{filter:invert(1)!important}.userway-s3-1-ff{filter:invert(100%);-webkit-filter:invert(100%)}.userway-s3-3.userway-s6 [role=link],.userway-s3-3.userway-s6 [role=link] *,.userway-s3-3.userway-s6 a,.userway-s3-3.userway-s6 a *{color:#0000d3!important;background-color:#fff!important}.userway-s3-4-black{background-color:#888!important;color:#fff!important}.userway-s3-3.userway-s6 [role=link]:hover,.userway-s3-3.userway-s6 a:hover,.userway-s3-4-light{background-color:#fff!important;color:#000!important}.userway-s3-4{filter:grayscale(100%)!important;-webkit-filter:grayscale(100%)!important}.uiiw img,.ups img{max-width:100%!important}body .rvNotification{visibility:hidden!important}body .uwy{z-index:2147483647;position:fixed!important;transform:none!important}body .uwy .uai{text-align:initial!important;top:10px}body .uwy .uai .userway_dictionary_popup_container.hidden,body .uwy .uai.hidden,body .uwy.hidden{display:none}body .uwy.userway_p1 .uai{top:13px;right:auto;bottom:auto;left:calc(100vw - 21px);transform:translate(-100%)}body .uwy.userway_p2 .uai,body .uwy.userway_p3 .uai{top:50%;transform:translate(-100%,-50%);left:calc(100vw - 21px);right:auto}body .uwy.userway_p3 .uai{top:auto;bottom:13px;transform:translate(-100%)}body .uwy.userway_p4 .uai{top:auto;left:calc(50% - 22px);bottom:16px;right:auto}body .uwy.userway_p4.userway_hidden{bottom:-30px;top:auto;right:auto}body .uwy.userway_p4.userway_hidden.uo{bottom:13px}body .uwy.userway_p4.userway_hidden .uai{transform:translate(-50%,100%)}body .uwy.userway_p5 .uai{top:auto;bottom:13px;left:13px;right:auto}body .uwy.userway_p6 .uai{top:50%;transform:translateY(-50%);left:13px;right:auto;bottom:auto}body .uwy.userway_p7 .uai,body .uwy.userway_p8 .uai{top:13px;left:13px;right:auto;bottom:auto}body .uwy.userway_p8 .uai{left:50%;transform:translate(-50%)}body .uwy.userway_p8.userway_hidden .uai{transform:translate(-50%,-100%)}body .uwy.userway_p8.userway_hidden.uo{top:10px}body .uwy.userway_p4 .uai,body .uwy.userway_p8 .uai{left:50vw;transform:translateX(-50%)}body .uwy.uon .uai{background:#007dd5!important}body .uwy .uai .ups.white .si_w,body .uwy.uon .uwif,body .uwy.userway_ft_on .uit{display:block}body .uwy .uai .ups.white .si_b,body .uwy .userway_ft_iframe_wrapper,body .uwy.uon.umb .uai,body .uwy.uon.usb .uai{display:none}body .uwy.uen .uai .check_on{opacity:1;visibility:visible;top:-4px;right:-4px}body .uwy .uit,body .uwy .uwif{position:fixed;top:0;left:0;bottom:0;right:0;width:100%!important;max-width:100%!important;height:100%!important;visibility:visible!important;opacity:0!important;background:0 0!important;border:none;margin:0;padding:0;overflow:hidden;z-index:inherit;display:none}body .uwy .uai{position:fixed!important;cursor:pointer;background:#003d68!important;border-radius:50%!important;padding:3px;display:inline-block;width:40px;height:40px;min-width:40px;min-height:40px;max-width:40px;max-height:40px;box-sizing:content-box!important}body .uwy .uai:active,body .uwy .uai:focus,body .uwy .uai:hover{background:#007dd5}body .uwy .uai img{display:block!important}body .uwy .uai .ups,body .uwy .uai .usr{position:absolute;background-color:transparent!important}body .uwy .uai .ups{height:45px;width:45px;overflow:hidden;background-position:-48px -48px;background-size:140px;animation:standard .75s infinite linear;transform-origin:50% 50% 0!important;display:none;top:0;left:0}body .uwy .uai .ups .si_w{display:block}body .uwy .uai .ups .si_b{display:none}body .uwy .uai .ups .si_b,body .uwy .uai .ups .si_w{height:45px;width:45px;position:absolute;top:0;left:0}body .uwy .uai .usr{z-index:-1!important;top:-10px;right:-10px;bottom:-10px;left:-10px;display:inline-block}body .uwy .uai.uli .ui_w,body .uwy .uai.uli .ups .si_w{display:none}body .uwy .uai .ui_w,body .uwy .uai.uli .ui_b,body .uwy .uai.uli .ups .si_b,body .uwy .uai.userway_dark .ups .si_w{display:block}.uwy .uai img,body .uwy .uai.loading .ups{display:block!important}body .uwy .uai .ui_b,body .uwy .uai.loading .ui_b,body .uwy .uai.loading .ui_w,body .uwy .uai.userway_dark .ups .si_b{display:none}.uwy .uai img:not(.check_on),body .uwy .uai img:not(.check_on){height:40px;width:40px;display:block;padding:0!important;margin:0!important;background:0 0!important;border:none!important;opacity:1!important;visibility:visible!important}body .uwy .uai .check_on{position:absolute;top:-7px;right:-4px;width:18px;height:20px;transition:.1s;opacity:0;visibility:hidden;background:0 0!important;border:none!important;padding:0!important;margin:0!important}body .uwy.utb .uai{padding:4px;width:57px;height:57px;min-width:57px;min-height:57px;max-width:57px;max-height:57px}body .uwy.utb .uai .ups{height:57px;width:57px;top:4px;left:4px}.uwy.utb .uai img:not(.check_on),body .uwy.utb .uai img:not(.check_on){width:57px;height:57px;padding:0!important;margin:0!important;background:0 0!important;border:none!important;opacity:1!important;visibility:visible!important}body .uwy.utb .uai .check_on{top:-2px;right:-2px;width:21px;height:21px}body .uwy.utb.userway_p1,body .uwy.utb.userway_p2,body .uwy.utb.userway_p3{right:30px}body .uwy.utb.userway_p3,body .uwy.utb.userway_p4,body .uwy.utb.userway_p5{bottom:30px}body .uwy.utb.userway_p4.userway_hidden{top:auto}body .uwy.utb.userway_p4.userway_hidden.uo{bottom:30px;margin:0!important}.uwy.uac.userway_p4.userway_hidden.uo .uai,.uwy.uac.userway_p8.userway_hidden.uo .uai,.uwy.utb.userway_p4.userway_hidden.uo .uai,.uwy.utb.userway_p8.userway_hidden.uo .uai,body .uwy.uac.userway_p4.userway_hidden.uo .uai,body .uwy.uac.userway_p8.userway_hidden.uo .uai,body .uwy.utb.userway_p4.userway_hidden.uo .uai,body .uwy.utb.userway_p8.userway_hidden.uo .uai{transform:translate(-50%,0%)}body .uwy.utb.userway_p4.userway_hidden .uai{transform:translate(-50%,100%)}body .uwy.utb.userway_p8.userway_hidden{top:13px}body .uwy.utb.userway_p8.userway_hidden.uo{top:13px;margin:0}body .uwy.utb.userway_p8.userway_hidden .uai{transform:translate(-50%,-100%)}body .uwy.utb.userway_p6,body .uwy.utb.userway_p7{left:11px}body .uwy.utb .ups{top:10px;left:11px}body .uwy.uac{border-radius:0!important}body .uwy.uac .uai{border-radius:5px!important;width:auto;height:auto;max-height:initial;max-width:initial;min-height:initial;min-width:initial}body .uwy.uac.userway_p1,body .uwy.uac.userway_p2,body .uwy.uac.userway_p3{right:50px}body .uwy.uac.userway_p1.userway_hidden .uai,body .uwy.uac.userway_p2.userway_hidden .uai,body .uwy.uac.userway_p3.userway_hidden .uai{transform:translateX(95%)}body .uwy.uac.userway_p5,body .uwy.uac.userway_p6,body .uwy.uac.userway_p7{left:50px}body .uwy.uac.userway_p5.userway_hidden .uai,body .uwy.uac.userway_p6.userway_hidden .uai,body .uwy.uac.userway_p7.userway_hidden .uai{transform:translateX(-95%)}body .uwy.uac.userway_p1 .uai,body .uwy.uac.userway_p7 .uai,body .uwy.uac.userway_p8 .uai{top:35px}body .uwy.uac.userway_p3 .uai,body .uwy.uac.userway_p4 .uai,body .uwy.uac.userway_p5 .uai{bottom:35px}body .uwy.uac.userway_p4 .uai,body .uwy.uac.userway_p8 .uai{left:50vw;transform:translateX(-50%);margin:0 auto;right:auto}body .uwy.uac.userway_p8.userway_hidden .uai{transform:translate(-50%,-130%)}body .uwy.uac.userway_p4.userway_hidden .uai{transform:translate(-50%,130%)}body .uwy.uac .loading{overflow:hidden}body .uwy.uac .loading:after{content:"";width:50%;height:4px;position:absolute;top:0;left:0;background-color:#fff;transform:translateX(-220%);animation:.9s linear infinite block_loading}body .uwy.uac .loading .ups{display:none!important}body .uwy.uac .loading.uli:after{background-color:#000}body .uwy.uac .uhi{top:44px}body .uwy.userway_p1.userway_hidden .uai,body .uwy.userway_p2.userway_hidden .uai,body .uwy.userway_p3.userway_hidden .uai{transform:translate(100%,-50%)}body .uwy.userway_p5.userway_hidden .uai,body .uwy.userway_p6.userway_hidden .uai,body .uwy.userway_p7.userway_hidden .uai{transform:translate(-100%,-50%)}body .uwy.uac.utb.userway_hidden.userway_p4{bottom:35px}body .uwy .uai{font-size:initial!important;transition:transform .4s!important}body .uwy:not(.uh) .uai:hover{transform:scale(1.1)!important}body .uwy:not(.uh).userway_p1 .uai:hover,body .uwy:not(.uh).userway_p3 .uai:hover{transform:translate(-100%) scale(1.1)!important}body .uwy:not(.uh).userway_p2 .uai:hover{transform:translate(-100%,-50%) scale(1.1)!important}body .uwy:not(.uh).userway_p4 .uai:hover,body .uwy:not(.uh).userway_p8 .uai:hover{transform:translateX(-50%) scale(1.1)!important}body .uwy:not(.uh).userway_p6 .uai:hover{transform:translateY(-50%) scale(1.1)!important}body .uwy .fflag{border-radius:50%;width:19px;height:19px;border:1px solid #fff;position:absolute;left:-2px;top:-2px}body .uwy.uen img .check_on{opacity:1!important;visibility:visible!important}@media only screen and (max-device-width:1024px){body .uwy .uit,body .uwy .uwif{display:none!important;opacity:1!important;visibility:visible!important}body .uwy.uon,body .uwy.uon .uit,body .uwy.uon .uwif{display:block!important}body .uwy .ufiw{display:none!important;opacity:1!important;visibility:visible!important}}.uwaw-dictionary-tooltip{transform:translate(-100%,-6px);margin-left:38px;width:300px;cursor:default;opacity:0;visibility:hidden;position:absolute;transition:transform .15s ease,opacity .15s ease,visibility .15s ease}.uwaw-dictionary-tooltip_active{opacity:1;visibility:visible;transform:translate(-100%,0)}.utb .uwaw-dictionary-tooltip{margin-left:50px}.uwaw-dictionary-tooltip__i{padding-top:20px}.uwaw-dictionary-tooltip__ii{background:#0a0910;border-radius:14px 0 14px 14px;position:relative;padding:16px 19px}.uwaw-dictionary-tooltip__ico{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.16);margin-right:9px;-ms-flex-pack:center;justify-content:center}.uwaw-dictionary-tooltip__ico .no-fill{fill:none!important}.uwaw-dictionary-tooltip__close,.uwaw-dictionary-tooltip__ico,.uwaw-dictionary-tooltip__title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.uwaw-dictionary-tooltip__title{color:#fff;font-size:14px;line-height:20px;letter-spacing:-.11px;font-weight:600;font-family:Metropolis,sans-serif;padding-bottom:9px}.uwaw-dictionary-tooltip__close{position:absolute;right:17px;top:22px;width:28px;height:28px;border-radius:50%;background:#fff;border:none;-ms-flex-pack:center;justify-content:center;transition:opacity .3s ease;cursor:pointer;padding:0}.uwaw-dictionary-tooltip__close:hover{opacity:.7}.uwaw-dictionary-tooltip__description{font-family:Metropolis,sans-serif;color:#afabc2;font-size:14px;line-height:20px;padding-right:20px}.uwaw-dictionary-tooltip__description strong{color:#fff}.uwaw-dictionary-tooltip__tail{position:absolute;right:0;top:-15px}.uwaw-dictionary-tooltip__tail path{fill:#0a0910}.userway_p3 .uwaw-dictionary-tooltip,.userway_p4 .uwaw-dictionary-tooltip,.userway_p5 .uwaw-dictionary-tooltip{bottom:100%}.userway_p3 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__i,.userway_p4 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__i,.userway_p5 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__i{padding-bottom:16px}.userway_p3 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__ii,.userway_p4 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__ii{border-radius:14px 14px 0 14px}.userway_p3 .uwaw-dictionary-tooltip__tail,.userway_p4 .uwaw-dictionary-tooltip__tail,.userway_p5 .uwaw-dictionary-tooltip__tail{transform:rotate(180deg) scaleX(-1);top:auto;bottom:-13px}.userway_p5 .uwaw-dictionary-tooltip,.userway_p6 .uwaw-dictionary-tooltip,.userway_p7 .uwaw-dictionary-tooltip{margin-left:9px;left:0;transform:translateX(0)}.userway_p5 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__ii{border-radius:14px 14px 14px 0}.userway_p5 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__tail{transform:scaleX(1) rotate(180deg);left:0}.userway_p6 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__ii,.userway_p7 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__ii{border-radius:0 14px 14px 14px}.userway_p6 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__tail,.userway_p7 .uwaw-dictionary-tooltip .uwaw-dictionary-tooltip__tail{transform:scaleX(-1);right:auto;left:0}.uwy{z-index:2147483647;position:fixed!important;transform:none!important}.uwy .uai{text-align:initial!important;top:10px}.uwy .uai .userway_dictionary_popup_container.hidden,.uwy .uai.hidden,.uwy.hidden{display:none}.uwy.userway_p1 .uai{top:13px;right:auto;bottom:auto;left:calc(100vw - 21px);transform:translate(-100%)}.uwy.userway_p2 .uai,.uwy.userway_p3 .uai{top:50%;transform:translate(-100%,-50%);left:calc(100vw - 21px);right:auto}.uwy.userway_p3 .uai{top:auto;bottom:13px;transform:translate(-100%)}.uwy.userway_p4 .uai{top:auto;left:calc(50% - 22px);bottom:16px;right:auto}.uwy.userway_p4.userway_hidden{bottom:-30px;top:auto;right:auto}.uwy.userway_p4.userway_hidden.uo{bottom:13px}.uwy.userway_p4.userway_hidden .uai{transform:translate(-50%,100%)}.uwy.userway_p5 .uai{top:auto;bottom:13px;left:13px;right:auto}.uwy.userway_p6 .uai{top:50%;transform:translateY(-50%);left:13px;right:auto;bottom:auto}.uwy.userway_p7 .uai,.uwy.userway_p8 .uai{top:13px;left:13px;right:auto;bottom:auto}.uwy.userway_p8 .uai{left:50%;transform:translate(-50%)}.uwy.userway_p8.userway_hidden .uai{transform:translate(-50%,-100%)}.uwy.userway_p8.userway_hidden.uo{top:10px}.uwy.userway_p4 .uai,.uwy.userway_p8 .uai{left:50vw;transform:translateX(-50%)}.uwy.uon .uai{background:#007dd5!important}.uwy .uai .ups.white .si_w,.uwy.uon .uwif,.uwy.userway_ft_on .uit{display:block}.uwy .uai .ups.white .si_b,.uwy .userway_ft_iframe_wrapper,.uwy.uon.umb .uai,.uwy.uon.usb .uai{display:none}.uwy.uen .uai .check_on{opacity:1;visibility:visible;top:-4px;right:-4px}.uwy .uit,.uwy .uwif{position:fixed;top:0;left:0;bottom:0;right:0;width:100%!important;max-width:100%!important;height:100%!important;visibility:visible!important;opacity:0!important;background:0 0!important;border:none;margin:0;padding:0;overflow:hidden;z-index:inherit;display:none}.uwy .uai{position:fixed!important;cursor:pointer;background:#003d68!important;border-radius:50%!important;padding:3px;display:inline-block;width:40px;height:40px;min-width:40px;min-height:40px;max-width:40px;max-height:40px;box-sizing:content-box!important}.uwy .uai:active,.uwy .uai:focus,.uwy .uai:hover{background:#007dd5}.uwy .uai .ups,.uwy .uai .usr{position:absolute;background-color:transparent!important}.uwy .uai .ups{height:45px;width:45px;overflow:hidden;background-position:-48px -48px;background-size:140px;animation:standard .75s infinite linear;transform-origin:50% 50% 0!important;display:none;top:0;left:0}.uwy .uai .ups .si_w{display:block}.uwy .uai .ups .si_b{display:none}.uwy .uai .ups .si_b,.uwy .uai .ups .si_w,.uwy.uac .loading:after{height:45px;width:45px;position:absolute;top:0;left:0}.uwy .uai .usr{z-index:-1!important;top:-10px;right:-10px;bottom:-10px;left:-10px;display:inline-block}.uwy .uai.uli .ui_w,.uwy .uai.uli .ups .si_w{display:none}.uwy .uai .ui_w,.uwy .uai.uli .ui_b,.uwy .uai.uli .ups .si_b,.uwy .uai.userway_dark .ups .si_w{display:block}.uwy .uai.loading .ups{display:block!important}.uwy .uai .ui_b,.uwy .uai.loading .ui_b,.uwy .uai.loading .ui_w,.uwy .uai.userway_dark .ups .si_b{display:none}.uwy .uai .check_on{position:absolute;top:-7px;right:-4px;width:18px;height:20px;transition:.1s;opacity:0;visibility:hidden;background:0 0!important;border:none!important;padding:0!important;margin:0!important}.uwy.utb .uai{padding:4px;width:57px;height:57px;min-width:57px;min-height:57px;max-width:57px;max-height:57px}.uwy.utb .uai .ups{height:57px;width:57px;top:4px;left:4px}.uwy.utb .uai .check_on{top:-2px;right:-2px;width:21px;height:21px}.uwy.utb.userway_p1,.uwy.utb.userway_p2,.uwy.utb.userway_p3{right:30px}.uwy.utb.userway_p3,.uwy.utb.userway_p4,.uwy.utb.userway_p5{bottom:30px}.uwy.utb.userway_p4.userway_hidden{top:auto}.uwy.utb.userway_p4.userway_hidden.uo{bottom:30px;margin:0!important}.uwy.utb.userway_p4.userway_hidden .uai{transform:translate(-50%,100%)}.uwy.utb.userway_p8.userway_hidden{top:13px}.uwy.utb.userway_p8.userway_hidden.uo{top:13px;margin:0}.uwy.utb.userway_p8.userway_hidden .uai{transform:translate(-50%,-100%)}.uwy.utb.userway_p6,.uwy.utb.userway_p7{left:11px}.uwy.utb .ups{top:10px;left:11px}.uwy.uac{border-radius:0!important}.uwy.uac .uai{border-radius:5px!important;width:auto;height:auto;max-height:initial;max-width:initial;min-height:initial;min-width:initial}.uwy.uac.userway_p1,.uwy.uac.userway_p2,.uwy.uac.userway_p3{right:50px}.uwy.uac.userway_p1.userway_hidden .uai,.uwy.uac.userway_p2.userway_hidden .uai,.uwy.uac.userway_p3.userway_hidden .uai{transform:translateX(95%)}.uwy.uac.userway_p5,.uwy.uac.userway_p6,.uwy.uac.userway_p7{left:50px}.uwy.uac.userway_p5.userway_hidden .uai,.uwy.uac.userway_p6.userway_hidden .uai,.uwy.uac.userway_p7.userway_hidden .uai{transform:translateX(-95%)}.uwy.uac.userway_p1 .uai,.uwy.uac.userway_p7 .uai,.uwy.uac.userway_p8 .uai{top:35px}.uwy.uac.userway_p3 .uai,.uwy.uac.userway_p4 .uai,.uwy.uac.userway_p5 .uai{bottom:35px}.uwy.uac.userway_p4 .uai,.uwy.uac.userway_p8 .uai{left:50vw;transform:translateX(-50%);margin:0 auto;right:auto}.uwy.uac.userway_p8.userway_hidden .uai{transform:translate(-50%,-130%)}.uwy.uac.userway_p4.userway_hidden .uai{transform:translate(-50%,130%)}.uwy.uac .loading{overflow:hidden}.uwy.uac .loading:after{content:"";width:50%;height:4px;background-color:#fff;transform:translateX(-220%);animation:.9s linear infinite block_loading}.uwy.uac .loading .ups{display:none!important}.uwy.uac .loading.uli:after{background-color:#000}.uwy.uac .uhi{top:44px}.uwy.userway_p1.userway_hidden .uai,.uwy.userway_p2.userway_hidden .uai,.uwy.userway_p3.userway_hidden .uai{transform:translate(100%,-50%)}.uwy.userway_p5.userway_hidden .uai,.uwy.userway_p6.userway_hidden .uai,.uwy.userway_p7.userway_hidden .uai{transform:translate(-100%,-50%)}.uwy.uac.utb.userway_hidden.userway_p4{bottom:35px}.uwy .uai{font-size:initial!important;transition:transform .4s!important}.uwy:not(.uh) .uai:hover{transform:scale(1.1)!important}.uwy:not(.uh).userway_p1 .uai:hover,.uwy:not(.uh).userway_p3 .uai:hover{transform:translate(-100%) scale(1.1)!important}.uwy:not(.uh).userway_p2 .uai:hover{transform:translate(-100%,-50%) scale(1.1)!important}.uwy:not(.uh).userway_p4 .uai:hover,.uwy:not(.uh).userway_p8 .uai:hover{transform:translateX(-50%) scale(1.1)!important}.uwy:not(.uh).userway_p6 .uai:hover{transform:translateY(-50%) scale(1.1)!important}.uwy .fflag{border-radius:50%;width:19px;height:19px;border:1px solid #fff;position:absolute;left:-2px;top:-2px}.uwy.uen img .check_on{opacity:1!important;visibility:visible!important}@media only screen and (max-device-width:1024px){.uwy .uit,.uwy .uwif{display:none!important;opacity:1!important;visibility:visible!important}.uwy.uon,.uwy.uon .uit,.uwy.uon .uwif{display:block!important}.uwy .ufiw{display:none!important;opacity:1!important;visibility:visible!important}}.uw-sl{transition:background .1s ease;background:0 0;z-index:2147483638;position:fixed}.uw-sl:focus-within{width:100%;background:rgba(0,0,0,.25);z-index:2147483638;position:fixed;left:0;right:0;top:0;bottom:0}.uw-sl__item{box-sizing:border-box;left:38px;top:-70px;position:fixed!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-align:center!important;align-items:center!important;-ms-flex-pack:justify!important;justify-content:space-between!important;background:#fff!important;border-radius:8px!important;border:2px solid #0038ff!important;max-width:315px;padding:0 15px 0 0!important;text-align:left!important;width:100%!important;height:63px!important;box-shadow:0 0 0 4px rgba(0,56,255,.22)!important;opacity:0;transition:top .2s,opacity .2s}.uw-sl__item:focus{top:40px;opacity:1;outline:1px solid rgba(255,255,255,0);background:#fff!important}.uw-sl__item:hover{background:#fff!important;background:#fff}.uw-sl__item__img{width:57px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.uw-sl__item__img svg{width:auto!important;height:auto!important}.uw-sl .uw-sl__e-icon path,.uw-sl__item__img path{fill:#000!important}.uw-sl .uw-sl__e-icon .no-fill,.uw-sl__item__img .no-fill{fill:none!important}.uw-sl .uw-sl__e-icon,.uw-sl__item__left,.uw-sl__item__title{display:-ms-flexbox!important;display:flex!important;-ms-flex-align:center!important;align-items:center!important}.uw-sl__item__title{font-size:14px;line-height:16px;font-weight:500!important;letter-spacing:-.06px;width:calc(100% - 53px);font-family:"Metropolis",Aria,Helvetica,sans-serif!important;color:#000;-ms-flex-pack:justify!important;justify-content:space-between!important}.uw-sl .uw-sl__e-icon,.uw-sl__item__left{-ms-flex-pack:start!important;justify-content:flex-start!important}.uw-sl .uw-sl__e-icon{-ms-flex-pack:center!important;justify-content:center!important;width:26px;height:27px}.accessibility-btn{border:2px solid #fff;padding:10px 22px;box-sizing:border-box;text-align:center}.accessibility-btn__text{display:block;font-size:15px;line-height:normal!important;color:#fff;font-weight:500;letter-spacing:.2px}.big-uw-icon .accessibility-btn__text,.utb .accessibility-btn__text{font-size:16px;letter-spacing:.4px;line-height:normal!important}.light .accessibility-btn__text,.uli .accessibility-btn__text{color:#000}.light .accessibility-btn,.uli .accessibility-btn{border-color:#000}',mt='<div class="uai" id="userwayAccessibilityIcon" aria-label="Open accessibility menu" role="button" tabindex="0"><span class="uiiw"></span><div class="ups"></div><span class="usr"></span><div class="uwaw-dictionary-tooltip"></div></div><iframe class="uwif" name="userway" title="UserWay Accessibility Menu"></iframe>',ht="userway-positionWidget",bt="userway-positionWidgetMobile",_t="userway-selectedLang",vt="newDesign",xt=null,Et=!1,Lt=null,At=!1,St=!1,Tt=!1,kt=!1,Wt=["widget_position_nudge","widget_position_nudge_mobile"],Ot={leftRightSide:{top:13,right:13,bottom:16,left:13},middle:{left:50,top:50}},Ct=function(){var e="";try{window.sessionStorage.getItem(vt)?e=JSON.parse(window.sessionStorage.getItem(vt)):Ve.tunings&&Ve.tunings.widget_ui_version&&(e="v2"===Ve.tunings.widget_ui_version)}catch(e){console.error('Incorrect value for the "newDesign" key in the SessionStorage')}return e?"-v2":""},Ut="-v2"===Ct()?["s9","s11","s18","s21","s24","s101","s102","s103","s104","s105","s106","s107","s108"]:["s9","s11","s18"];qe.init=e,qe.isSoundEffectsEnabled=o,qe.setPageStructureModalColor=U;var Nt;qe.manageIconVisibility=J,qe.toggleWidget=$,qe.openWidget=Q,qe.closeWidget=te,qe.getAvailableBunchOfFeatures=ue,qe.setFeature=de,qe.getFeaturesSettings=function(){if(Ve.services.paidAi||!Ve.services.hasOwnProperty("paidAi"))return Ve.settings;var e={};return Object.keys(Ve.settings).forEach(function(t){Ve.settings.hasOwnProperty(t)&&-1===Ut.indexOf(t)&&(e[t]=Ve.settings[t])}),e},qe.lazyLoad=be,qe.preloadIframe=_e,e()}();