!function(){"use strict";function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){var r,n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Map"===(r="Object"===r&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length)return n&&(t=n),r=0,{s:e=function(){},n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}function n(t,e,r){(e=function(t){t=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);r=r.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"==typeof t?t:t+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}function o(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var i=UserWayWidgetApp.getLib("remediation_util");function s(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document,r=e.querySelector(t);if(r)return r;var n,o=l(e.querySelectorAll("*"));try{for(o.s();!(n=o.n()).done;){var i=n.value;if(i.shadowRoot){var a=s(t,i.shadowRoot);if(a)return a}}}catch(t){o.e(t)}finally{o.f()}return null}var f=Object.freeze({__proto__:null,deepQuerySelector:s,waitForDeepElement:function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};i.waitUntil(function(){return s(t,null==r?void 0:r.ancestor)},e,r,3<arguments.length?arguments[3]:void 0)},debounce:function(o){var i,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2e3;return function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];clearTimeout(i),i=setTimeout(function(){o.apply(t,r)},a)}},setTicketHandler:function(t,e){var r="data-uw-csr-ticket",n=t.getAttribute(r);(n=n?n.split(/\s+/).filter(Boolean):[]).includes(e)||n.push(e),t.setAttribute(r,n.join(" "))},getFocusStyle:function(){var t,e;return(null==(e=UserWayWidgetApp)||null==(t=e.getLib)||null==(t=t.call(e,"REMEDIATION_FOCUS_STYLE"))||null==(e=t.getFocusStyle)?void 0:e.call(t))||{}},remediateTooltip:function(t,e){var r=void 0===(r=(n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).association)?"aria-describedby":r,n=void 0===(n=n.role)?"button":n,o=(e.setAttribute("aria-hidden",!0),e.setAttribute("role","tooltip"),e.id=e.id||i.generateRandomId(),t.setAttribute(r,e.id),t.setAttribute("role",n),"SPAN"!==t.tagName);o&&t.setAttribute("aria-expanded","false"),t.addEventListener("mouseenter",function(){o&&t.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden",!1)}),t.addEventListener("mouseleave",function(){o&&t.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden",!0)})}});function t(e,r,t,n){if(!(e&&r&&t&&n))throw console.error("siteId:",e,"ticketIds:",r,"urls:",t,"logic:",n),new Error("missing parameter");var o=UserWayWidgetApp.getLib("remediation_util");if(1===Object.keys(o).length&&void 0!==o.name)throw new Error("UserWay remediation library is empty");function i(t){o.log(e,r,t)}function a(){try{n(c(c(c({},o),f),{},{log:i}))}catch(t){i(t.message||"something went wrong")}}"*"===t?a():t&&o.execOnPage(t,a)}t("2765705","ARD-2350","*",function(t){var e=t.loopThroughElements,r=t.isWidgetFeatureEnabled;e('[class^="ButtonLink__Label"]',function(t){t.forEach(function(t){var e,r=t.nextElementSibling;r&&(e=window.getComputedStyle(r),"DIV"===r.tagName&&r.className.includes("ButtonLink__Background")&&function(t,e){t=t.getBoundingClientRect(),e=e.getBoundingClientRect();return t.top>=e.top&&t.right<=e.right&&t.bottom<=e.bottom&&t.left>=e.left}(t,r)&&((r=e.getPropertyValue("background-color")||e.getPropertyValue("background"))&&(t.style.backgroundColor=r)))}),r("smartContrast")&&(window.UserWay.disableSmartContrast(),window.UserWay.enableSmartContrast())},{useForEach:!1})}),t("2765705","WIDGET-3973","*",function(t){(0,t.loopThroughElements)('[class*="ProductOverview__ArrowWrapper"] > button[class*="PlayArrowButton__Button"]',function(e){e.addEventListener("click",function(){setTimeout(function(){var t;e.disabled?(t=e.nextElementSibling||e.previousElementSibling)&&t.focus():e.focus()},500)})})})}();