/* OneCloud Reimagine v0.382.0 MWF (Moray) v2.8.1 Copyright (c) Microsoft Corporation. All rights reserved. Copyright 2011-2020 The Bootstrap Authors and Twitter, Inc. */ (function(P,H){"object"===typeof exports&&"undefined"!==typeof module?H(exports):"function"===typeof define&&define.amd?define(["exports"],H):(P="undefined"!==typeof globalThis?globalThis:P||self,H(P.ocrReimagine={}))})(this,function(P){function H(){function b(y,x,z){return Object.defineProperty(y,x,{value:z,enumerable:!0,configurable:!0,writable:!0}),y[x]}function c(y,x,z,U){x=Object.create((x&&x.prototype instanceof d?x:d).prototype);U=new r(U||[]);return E(x,"_invoke",{value:k(y,z,U)}),x}function a(y, x,z){try{return{type:"normal",arg:y.call(x,z)}}catch(U){return{type:"throw",arg:U}}}function d(){}function e(){}function f(){}function g(y){["next","throw","return"].forEach(function(x){b(y,x,function(z){return this._invoke(x,z)})})}function h(y,x){function z(F,za,la,Ob){F=a(y[F],y,za);if("throw"!==F.type){var nc=F.arg;return(F=nc.value)&&"object"==typeof F&&C.call(F,"__await")?x.resolve(F.__await).then(function(Eb){z("next",Eb,la,Ob)},function(Eb){z("throw",Eb,la,Ob)}):x.resolve(F).then(function(Eb){nc.value= Eb;la(nc)},function(Eb){return z("throw",Eb,la,Ob)})}Ob(F.arg)}var U;E(this,"_invoke",{value:function(F,za){function la(){return new x(function(Ob,nc){z(F,za,Ob,nc)})}return U=U?U.then(la,la):la()}})}function k(y,x,z){var U="suspendedStart";return function(F,za){if("executing"===U)throw Error("Generator is already running");if("completed"===U){if("throw"===F)throw za;return u()}z.method=F;for(z.arg=za;;){if(F=z.delegate)if(F=l(F,z)){if(F===Aa)continue;return F}if("next"===z.method)z.sent=z._sent= z.arg;else if("throw"===z.method){if("suspendedStart"===U)throw U="completed",z.arg;z.dispatchException(z.arg)}else"return"===z.method&&z.abrupt("return",z.arg);U="executing";F=a(y,x,z);if("normal"===F.type){if(U=z.done?"completed":"suspendedYield",F.arg===Aa)continue;return{value:F.arg,done:z.done}}"throw"===F.type&&(U="completed",z.method="throw",z.arg=F.arg)}}}function l(y,x){var z=x.method,U=y.iterator[z];if(void 0===U)return x.delegate=null,"throw"===z&&y.iterator.return&&(x.method="return", x.arg=void 0,l(y,x),"throw"===x.method)||"return"!==z&&(x.method="throw",x.arg=new TypeError("The iterator does not provide a '"+z+"' method")),Aa;z=a(U,y.iterator,x.arg);return"throw"===z.type?(x.method="throw",x.arg=z.arg,x.delegate=null,Aa):(z=z.arg)?z.done?(x[y.resultName]=z.value,x.next=y.nextLoc,"return"!==x.method&&(x.method="next",x.arg=void 0),x.delegate=null,Aa):z:(x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,Aa)}function m(y){var x={tryLoc:y[0]}; 1 in y&&(x.catchLoc=y[1]);2 in y&&(x.finallyLoc=y[2],x.afterLoc=y[3]);this.tryEntries.push(x)}function n(y){var x=y.completion||{};x.type="normal";delete x.arg;y.completion=x}function r(y){this.tryEntries=[{tryLoc:"root"}];y.forEach(m,this);this.reset(!0)}function t(y){if(y){var x=y[Ba];if(x)return x.call(y);if("function"==typeof y.next)return y;if(!isNaN(y.length)){var z=-1;x=function F(){for(;++zb.length)c=b.length;for(var a=0,d=Array(c);a=b.length?{done:!0}:{done:!1,value:b[d++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }function v(b){return"__private_"+ut++ +"_"+b}function q(b,c){if(!Object.prototype.hasOwnProperty.call(b,c))throw new TypeError("attempted to use private field on non-instance");return b}function sa(b,c,a){function d(){function n(){m=Date.now();c.apply(A,u)}function r(){k=void 0}for(var t=arguments.length,u=Array(t),B=0;Bb?g?(m=Date.now(),f||(k=setTimeout(h?r:n,b))):n():!0!==f&&(k=setTimeout(h?r: n,void 0===h?b-t:b)))}a=a||{};var e=a.noTrailing,f=void 0===e?!1:e;e=a.noLeading;var g=void 0===e?!1:e;a=a.debounceMode;var h=void 0===a?void 0:a,k,l=!1,m=0;d.cancel=function(n){n=(n||{}).upcomingOnly;n=void 0===n?!1:n;k&&clearTimeout(k);l=!n};return d}function ab(b,c,a){a=(a||{}).atBegin;return sa(b,c,{debounceMode:!1!==(void 0===a?!1:a)})}function ve(b,c){void 0===c&&(c=oc.END);switch(b){case "top":case "bottom":return b;case "left":case "start":return oc.START;case "right":case "end":return oc.END; default:return c}}function Am(b,c){void 0===c&&(c=oc.ALIGNMENT);switch(b){case "center":case "start":case "end":return b;default:return c}}function Bm(){var b=this.boundingRect.window.width-(this.boundingRect.el.x+this.boundingRect.el.width)+this.boundingRect.menu.width;return b>this.boundingRect.window.width?b-this.boundingRect.window.width:0}function Cm(){var b=this.boundingRect.el.x+this.boundingRect.menu.width;return b>this.boundingRect.window.width?-(b-this.boundingRect.window.width):0}function Dm(b){b.preventDefault(); this.toggle()}function vt(b){if(b.keyCode===p.keyCodes.SPACE||b.keyCode===p.keyCodes.ENTER)b.preventDefault(),Dm.bind(this)(b);this.shown&&(b.keyCode===p.keyCodes.ESC&&(b.stopPropagation(),this.hide()),this.arrowableItems&&b.keyCode===p.keyCodes.ARROW_DOWN&&(b.preventDefault(),this.arrowableItems[0].focus()))}function wt(b){b.keyCode===p.keyCodes.ESC&&this.hide();!this.arrowableItems||b.keyCode!==p.keyCodes.ARROW_DOWN&&b.keyCode!==p.keyCodes.ARROW_UP||(b.preventDefault(),b.keyCode===p.keyCodes.ARROW_DOWN&& document.activeElement!==this.arrowableItems[this.arrowableItems.length-1]?this.arrowableItems[this.arrowableItems.indexOf(document.activeElement)+1].focus():b.keyCode===p.keyCodes.ARROW_UP&&document.activeElement!==this.arrowableItems[0]?this.arrowableItems[this.arrowableItems.indexOf(document.activeElement)-1].focus():this.hide())}function xt(b){!this.shown||this.menu.contains(b.target)||this.el.contains(b.target)||this.hide({setFocus:!1})}function yt(b){this.shown&&!this.menu.contains(b.target)&& this.hide()}function zt(b){for(var c=0;cd.intersectionRatio&& f}else b.isStuck=d.isIntersecting;"undefined"!==typeof e&&e!==b.isStuck&&(q(b,xe)[xe](),b.isStuck?(b[vb.ON_STUCK]=new CustomEvent(vb.ON_STUCK,{bubbles:!0}),b.el.dispatchEvent(b[vb.ON_STUCK])):(b[vb.ON_UNSTUCK]=new CustomEvent(vb.ON_UNSTUCK,{bubbles:!0}),b.el.dispatchEvent(b[vb.ON_UNSTUCK])))}},{root:a,rootMargin:"-1px "+c+"px -1px "+c+"px",threshold:[1]});this.observer.observe(this.el)}function It(b){void 0===b&&(b=!1);var c=null,a=null;this.el.style.setProperty("margin-top",a);b||(c=this.stuckHeight+ "px",b=getComputedStyle(this.el).marginTop,a=this.heightDif+parseInt(b,10)+"px");this.el.style.setProperty("height",c);a&&this.el.style.setProperty("margin-top",a)}function Jt(){this.el.style.setProperty("--vw",document.documentElement.clientWidth+"px")}function Kt(){if(this.enableObserver){var b=this.direction===$c.BOTTOM&&this.el.getBoundingClientRect().bottom===window.innerHeight,c=this.direction===$c.TOP&&0===this.el.getBoundingClientRect().top;if(b||c)this.isStuck=!0}}function Lt(){q(this,ye)[ye](); if(window.innerHeight!==this.observedWindowDimensions.height)q(this,Zc)[Zc]()}function Mt(b){var c=document.querySelector("html");this.currentHeight=this.el.getBoundingClientRect().height;b&&(c.style.scrollPaddingTop=0,c.style.scrollPaddingBottom=0);this.direction===$c.TOP?c.style.scrollPaddingTop=this.currentHeight+this.extraScrollPaddingPx+"px":this.direction===$c.BOTTOM&&(c.style.scrollPaddingBottom=this.currentHeight+this.extraScrollPaddingPx+"px")}function Nt(){return this.stuckHeight>window.innerHeight/ 3}function Ot(b){this.enableObserver=b;var c=null;b||(c="initial",this.isStuck=!1);this.el.style.setProperty("position",c);q(this,Di)[Di]();q(this,xe)[xe]()}function Hm(b,c,a){void 0===c&&(c=[]);void 0===a&&(a=[]);return c.filter(function(d){return 0===d.toLowerCase().indexOf(b.toLowerCase())&&0>a.indexOf(d)})}function Pt(b,c){var a=b.key,d=b.altKey,e=b.ctrlKey;b=b.metaKey;var f=[Im,Ei,Jm,Fi];switch(!0){case !c&&f.includes(a):return ma.Open;case a===Qt:return ma.First;case a===Rt:return ma.Last;case a=== St:case a===Tt:case 1===a.length&&a!==Fi&&!d&&!e&&!b:return ma.Type;default:if(c)switch(!0){case a===Ei&&d:return ma.CloseSelect;case a===Im&&!d:return ma.Next;case a===Ei:return ma.Previous;case a===Ut:return ma.PageUp;case a===Vt:return ma.PageDown;case a===Wt:return ma.Close;case a===Jm:case a===Fi:return ma.CloseSelect}}}function Xt(b,c,a){void 0===a&&(a=0);a=[].concat(b.slice(a),b.slice(0,a));var d=Hm(c,a)[0];return d?b.indexOf(d):function(e){return e.every(function(f){return f===e[0]})}(c.split(""))? (c=Hm(c[0],a),b.indexOf(c[0])):-1}function Yt(b,c,a){switch(a){case ma.First:return 0;case ma.Last:return c;case ma.Previous:return Math.max(0,b-1);case ma.Next:return Math.min(c,b+1);case ma.PageUp:return Math.max(0,b-10);case ma.PageDown:return Math.min(c,b+10);default:return b}}function Km(b){b=b.getBoundingClientRect();return 0<=b.top&&0<=b.left&&b.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&b.right<=(window.innerWidth||document.documentElement.clientWidth)}function Zt(b){return b&& b.clientHeighte+d;bdocument.body.clientWidth;c=xa[this.desktopVp.toUpperCase()]>window.innerWidth;return this.alignment===Ce.VERTICAL?c:b}function tu(){var b,c="in-page-nav-"+p.getUid(); if(this.stickyEl){var a;this.labelOption=document.createElement("li");this.labelOption.setAttribute("id",c);this.labelOption.classList.add(bb.COMBOBOX.ITEM);this.labelOption.textContent=null==(a=this.navLabel)?void 0:a.textContent;this.comboboxDivider=document.createElement("li");this.comboboxDivider.classList.add(bb.COMBOBOX.DIVIDER)}this.comboboxLabel=document.createElement("label");this.comboboxLabel.setAttribute("id",c);this.comboboxLabel.textContent=null==(b=this.navLabel)?void 0:b.textContent; this.comboboxToggle=document.createElement("div");this.comboboxToggle.setAttribute("aria-controls",this.navEl.id);this.comboboxToggle.setAttribute("aria-expanded","false");this.comboboxToggle.setAttribute("aria-haspopup","listbox");this.comboboxToggle.setAttribute("aria-labelledby",c);this.comboboxToggle.setAttribute("role","combobox");this.comboboxToggle.setAttribute("tabindex","0");this.comboboxToggle.classList.add(bb.COMBOBOX.TOGGLE,"btn","btn-faint-secondary")}function uu(b){b=b.detail;"click"!== b.event&&"keydown"!==b.event||this.combobox.optionEls[this.combobox.activeIndex].querySelector("a").click()}function vu(){var b=this;this.combobox||(this.el.style.display=null,this.el.style.whiteSpace=null,this.navEl.setAttribute("role","listbox"),this.navEl.classList.add(bb.COMBOBOX.MENU),this.navEl.setAttribute("aria-labelledby",this.comboboxLabel.id),this.navLabel.classList.add(bb.DISPLAY_NONE),this.stickyEl&&(this.navEl.insertBefore(this.labelOption,this.navItems[0]),this.navEl.insertBefore(this.comboboxDivider, this.navItems[0])),this.navContainer.insertBefore(this.comboboxLabel,this.navEl),this.navContainer.insertBefore(this.comboboxToggle,this.navEl),this.comboboxEvents.push({el:this.navContainer,type:"onChange",handler:function(c){return q(b,Si)[Si](c)}}),this.navItems.forEach(function(c){c.setAttribute("role","option");c.classList.add(bb.COMBOBOX.ITEM)}),this.el.classList.remove(bb.VERTICAL,bb.HORIZONTAL),this.navContainer.classList.add(bb.COMBOBOX.EL),this.combobox=new wu({el:this.navContainer,manageFocusOnClick:!1}), p.addEvents(this.comboboxEvents))}function xu(){if(this.combobox){var b,c;this.combobox.remove();this.combobox=null;this.el.style.display="inline-flex";this.navEl.removeAttribute("role");this.navEl.classList.remove(bb.COMBOBOX.MENU);this.navEl.removeAttribute("aria-labelledby");this.navLabel.classList.remove(bb.DISPLAY_NONE);this.comboboxLabel.remove();this.comboboxToggle.remove();null==(b=this.labelOption)?void 0:b.remove();null==(c=this.comboboxDivider)?void 0:c.remove();this.navItems.forEach(function(a){a.removeAttribute("role"); a.removeAttribute("aria-selected");a.classList.remove(bb.COMBOBOX.ITEM)});this.navContainer.classList.remove(bb.COMBOBOX.EL);q(this,ze)[ze]();p.removeEvents(this.comboboxEvents);this.comboboxEvents=[]}}function yu(){if(q(this,Ti)[Ti]())q(this,Ui)[Ui]();else q(this,dd)[dd]()}function zu(){var b=this;q(this,qc)[qc].clear();q(this,wb)[wb].clear();var c=[];this.target&&(c=[].concat(Array.from(this.el.querySelectorAll(Qd.JUMP_LINKS)),Array.from(this.target.querySelectorAll(Qd.TARGET_LINKS))));c.forEach(function(a){if(a.hash&& !a.hasAttribute("disabled")){var d=b.el.querySelector(a.hash);d&&d instanceof Element&&"visible"===getComputedStyle(d).getPropertyValue("visibility")&&(q(b,qc)[qc].set(a.hash,a),q(b,wb)[wb].set(a.hash,d),b.events.push({el:a,type:Fb.CLICK,handler:q(b,Vi)[Vi].bind(b)}))}});q(this,Wi)[Wi](c);if(0=a||(null==(b=q(this,rc)[rc])?void 0:b.alignment)===Ce.HORIZONTAL?q(this, yb)[yb].getStuckHeight():0}return 0}function Mu(b){if(q(this,wb)[wb].get(b.currentTarget.hash)){b.preventDefault();q(this,Fe)[Fe]();b.currentTarget.hash!==window.location.hash&&window.history.pushState({},"",b.currentTarget.hash);var c=q(this,Ea)[Ea],a=q(this,ia)[ia].indexOf(b.currentTarget.hash),d=q(this,Fa)[Fa][a]-q(this,Qb)[Qb],e=this.smoothScroll&&!p.prefersReducedMotion()?"smooth":"auto";q(this,wb)[wb].get(b.currentTarget.hash).focus({preventScroll:!0});setTimeout(function(){c.scrollTo({top:d, behavior:e})},100)}}function Nu(b){if(b.key===Ou&&document.querySelector(Qd.SCROLLSPY_CONTAINER).contains(document.activeElement)){b=q(this,ia)[ia].join(",");var c=document.activeElement.closest(b);if(c)q(this,xb)[xb]("#"+c.id);else if(c=q(this,ia)[ia].map(function(a){return a+" ~ *"}).join(","),c=document.activeElement.closest(c),(c=null==c?void 0:c.previousElementSibling)&&c.matches(b))q(this,xb)[xb]("#"+c.id)}}function Pu(){q(this,Fe)[Fe]();var b=q(this,ej)[ej]()+q(this,Qb)[Qb]+this.offset,c=q(this, De)[De](),a=q(this,Qb)[Qb]+this.offset+c-q(this,fj)[fj]();if(q(this,ed)[ed]!==c)q(this,Ge)[Ge]();if(b>=a){if(b=q(this,ia)[ia][q(this,ia)[ia].length-1],q(this,Wa)[Wa]!==b)q(this,xb)[xb](b)}else if(q(this,Wa)[Wa]&&b=q(this,Fa)[Fa][c]&&(void 0===q(this,Fa)[Fa][c+1]||bb-c&&(a.style.maxHeight=b- c-16+"px")}}function gj(b){var c=this;void 0===b&&(b=!0);setTimeout(function(){var a=c.pillBarDropdown.querySelector(Ga.ACTIVE_PILL_BAR_ITEM_LABEL);Xf(c.el.querySelector(Ga.LIST_ITEM_PARAGRAPH)).nodeValue=a.innerHTML;c.hide({setFocus:b})},0)}function av(){var b,c=this.pillBarDropdown.querySelector(Ga.ACTIVE_PILL_BAR_ITEM_LABEL);null==c?void 0:null==(b=c.parentElement)?void 0:b.focus()}function bv(){if(Nm)return Yf.exports;Nm=1;(function(b){(function(c,a){b.exports?b.exports=a():c.EvEmitter=a()})("undefined"!= typeof window?window:Zf,function(){function c(){}var a=c.prototype;a.on=function(d,e){if(!d||!e)return this;var f=this._events=this._events||{};d=f[d]=f[d]||[];d.includes(e)||d.push(e);return this};a.once=function(d,e){if(!d||!e)return this;this.on(d,e);var f=this._onceEvents=this._onceEvents||{};(f[d]=f[d]||{})[e]=!0;return this};a.off=function(d,e){d=this._events&&this._events[d];if(!d||!d.length)return this;e=d.indexOf(e);-1!=e&&d.splice(e,1);return this};a.emitEvent=function(d,e){var f=this._events&& this._events[d];if(!f||!f.length)return this;f=f.slice(0);e=e||[];var g=this._onceEvents&&this._onceEvents[d];f=M(f);for(var h;!(h=f()).done;)h=h.value,g&&g[h]&&(this.off(d,h),delete g[h]),h.apply(this,e);return this};a.allOff=function(){delete this._events;delete this._onceEvents;return this};return c})})(Yf);return Yf.exports}function cv(b){this.pointerEvent&&Om[b.pointerType.toUpperCase()]?this.touchStartX=b.clientX:this.pointerEvent||(this.touchStartX=b.touches[0].clientX)}function dv(b){this.touchDeltaX= b.touches&&1b&&this.positiveCallback())}function fv(b){return(b&&b.parentNode?[].slice.call(b.parentNode.querySelectorAll(ta.ITEM)):[]).indexOf(b)}function gv(){var b=this.el.querySelector(ta.ACTIVE_ITEM);return fv.bind(this)(b)} function hj(){var b=this.currentSlideIndex+1;return b>this.slides.length-1?0:b}function ij(){var b=this.currentSlideIndex-1;return 0>b?this.slides.length-1:b}function hv(b){return Math.min(Math.max(b,0),this.slides.length-1)}function iv(){var b=this.el.getAttribute(ta.DATA_STATUS);return b?document.getElementById(b):null}function jv(){return"false"!==this.el.getAttribute(ta.DATA_LOOP)}function Pm(){return 0===this.currentSlideIndex}function Qm(){return this.currentSlideIndex===this.slides.length- 1}function kv(){return Qm.bind(this)()?this.loopSlides:!0}function lv(){return Pm.bind(this)()?this.loopSlides:!0}function mv(){this.goToPrevSlide()}function nv(){p.addEvents(this.nextBtnEvents);this.goToNextSlide()}function ov(){this.backToControlsBtn&&(this.prevBtn.disabled?this.nextBtn.disabled?(this.el.setAttribute("tabindex",-1),this.el.focus()):this.nextBtn.focus():this.prevBtn.focus())}function pv(b){b.preventDefault()}function jj(b,c){var a=this,d=this.slides[this.currentSlideIndex],e=this.slides[c]; if(b===$f.NEXT){var f=S.LEFT;var g=S.NEXT}else f=S.RIGHT,g=S.PREV;e&&e.classList.contains(S.ACTIVE)?this.isSliding=!1:d&&e&&(this.isSliding=!0,Rm.bind(this)(c),this.el.classList.contains(S.SNEAK_PEAK)&&Sm.bind(this)(),this.el.classList.contains(S.SLIDE)?(this.el.classList.contains(S.VARIABLE_HEIGHT)&&this.el.classList.add(S.MARGIN_X_0,S.PADDING_X_0),e.classList.add(g,S.SLIDE_IN),p.reflow(e),d.classList.add(f),e.classList.add(f),b=p.getTransitionDurationFromElement(d),setTimeout(function(){e.classList.remove(f, g,S.SLIDE_IN);e.classList.add(S.ACTIVE);d.classList.remove(S.ACTIVE,g,f);a.el.classList.contains(S.VARIABLE_HEIGHT)&&a.el.classList.remove(S.MARGIN_X_0,S.PADDING_X_0);a.isSliding=!1},b)):(d.classList.remove(S.ACTIVE),e.classList.add(S.ACTIVE),this.isSliding=!1),Tm.bind(this)(c),this.didSlide=!0,this.currentSlideIndex=c,this.el.classList.contains(S.SNEAK_PEAK)&&Um.bind(this)(),Vm.bind(this)(),this.statusContainer&&Wm.bind(this)(c))}function Rm(b){this.indicators&&([].slice.call(this.indicators.querySelectorAll(ta.ACTIVE)).forEach(function(c){c.classList.remove(S.ACTIVE)}), (b=this.indicators.children[b])&&b.classList.add(S.ACTIVE))}function Sm(){var b=hj.bind(this)(),c=ij.bind(this)();this.slides[c].classList.remove(S.PREV);this.slides[b].classList.remove(S.NEXT)}function Um(){var b=hj.bind(this)(),c=ij.bind(this)();this.slides[b].classList.add(S.NEXT);this.slides[c].classList.add(S.PREV)}function Tm(b){for(var c=0;cc.length)f.start=b+1,f.end=b+1,f.total=this.slides.length;if(a&&e===d){a:{b="h1 h2 h3 h4 h5 h6".split(" ");var g;for(c=0;cc&&(c= a.clientHeight);a.classList.remove(S.GET_HEIGHT)});b.forEach(function(a){a.style.height=c+"px"})}function Xm(){[].slice.call(this.slides).forEach(function(b){b.style.height=""})}function Ym(){var b=this;Xm.bind(this)();kj(this.el,function(){rv.bind(b)()})}function sv(b){(b.keycode||b.which)===p.keyCodes.TAB&&this.didSlide&&(tv.bind(this)(this.currentSlideIndex),this.didSlide=!1,b.preventDefault());lj.call(this)}function tv(b){this.slides[b].focus()}function lj(){this.didSlide=!1;p.removeEvents(this.nextBtnEvents)} function uv(){var b=this.el.querySelector(ta.CAROUSEL_INNER),c=this.el.querySelector(ta.ACTIVE_ITEM),a=c.querySelector(ta.ROW),d=[].slice.call(this.el.querySelectorAll(ta.SLIDE_ITEM));c=c.querySelectorAll(ta.SLIDE_ITEM);var e=Math.round(a.clientWidth/c[0].clientWidth);a=Math.ceil(d.length/e)-this.slides.length;Xm.bind(this)();this.prevBtn.style.display="";this.nextBtn.style.display="";this.statusContainer&&(this.statusContainer.style.display="",this.statusContainer.nextElementSibling.style.display= "");if(0a)for(c=0;c>a;c--)b.lastChild.remove();var g=this.el.querySelectorAll(ta.ROW),h;b=function(k){var l=d.length%e;h=0this.slides.length-1&&(this.currentSlideIndex= this.slides.length-1);1===this.slides.length&&(this.prevBtn.style.display="none",this.nextBtn.style.display="none",this.statusContainer&&(this.statusContainer.style.display="none",this.statusContainer.nextElementSibling.style.display="none"));Ym.bind(this)()}function ag(){this.el.classList.contains(S.PRODUCT_CARD)&&uv.bind(this)();this.el.classList.contains(S.VARIABLE_HEIGHT)&&Ym.bind(this)();Tm.bind(this)(this.currentSlideIndex);qv.bind(this)(this.currentSlideIndex);Rm.bind(this)(this.currentSlideIndex); this.el.classList.contains(S.SNEAK_PEAK)&&Um.bind(this)();Vm.bind(this)();this.statusContainer&&(Wm.bind(this)(this.currentSlideIndex),this.statusContainer.parentNode.classList.remove("d-none"))}function Zm(){var b=[{el:this.prevBtn,type:"click",handler:this.prevOnClick},{el:this.nextBtn,type:"click",handler:this.nextOnClick}];this.itemImg&&this.itemImg.forEach(function(c){b.push({el:c,type:"dragstart",handler:pv})});(this.el.classList.contains(S.PRODUCT_CARD)||this.el.classList.contains(S.VARIABLE_HEIGHT))&& b.push({el:window,type:"resize",handler:ab(300,ag.bind(this)),options:{passive:!0}});this.backToControlsBtn&&b.push({el:this.backToControlsBtn,type:"click",handler:this.backToControlsBtnOnClick});return b}function vv(b){if(b.target.classList.contains("pill-bar__item")){var c=p.getKeyCode(b);var a=b.target;a=[].slice.call(this.filterButtons).indexOf(a);switch(c){case p.keyCodes.SPACE:case p.keyCodes.ENTER:b.preventDefault();if(this.keyCodeEnterEvent){var d,e;this.keyCodeEnterEvent(null==(d=b.target)? void 0:null==(e=d.dataset)?void 0:e.filterName)}else this.onFilterSelectionClick(b);break;case p.keyCodes.HOME:b.preventDefault();this.filterButtons[0].focus();break;case p.keyCodes.END:b.preventDefault();this.filterButtons[this.filterButtons.length-1].focus();break;case p.keyCodes.ARROW_LEFT:b.preventDefault();this.isRTL?$m.call(this,a):an.call(this,a);break;case p.keyCodes.ARROW_RIGHT:b.preventDefault(),this.isRTL?an.call(this,a):$m.call(this,a)}}}function an(b){var c=this.filterButtons[this.filterButtons.length- 1],a=this.filterButtons[b-1];return 0===b?c.focus():a.focus()}function $m(b){var c=this.filterButtons[0],a=this.filterButtons[b+1];return b===this.filterButtons.length-1?c.focus():a.focus()}function bg(b,c){c.forEach(function(a){b.querySelectorAll('[data-filter-values*\x3d"'+a+'"]').forEach(function(d){d.classList.remove("hide")})})}function wv(b,c,a){c.forEach(function(d){b.querySelectorAll('[data-filter-values*\x3d"'+d+'"]').forEach(function(e){e.classList.add("hide")})});a.forEach(function(d){d.removeAttribute(gb.ARIA_SELECTED); d.classList.remove(cc.SELECTED)})}function cg(b,c){b=b.getBoundingClientRect();c=c.getBoundingClientRect();return Math.ceil(b.left)>=Math.ceil(c.left)&&Math.floor(b.right)<=Math.ceil(c.right)}function bn(){var b=this.el,c=this.scrollElement.scrollLeft,a=this.isRTL?this.arrowNext:this.arrowPrev,d=this.isRTL?this.arrowPrev:this.arrowNext,e=this.isRTL?this.arrowNextBG:this.arrowPrevBG,f=this.isRTL?this.arrowPrevBG:this.arrowNextBG,g=b.querySelector(Q.IMAGE_TAB);g&&kj(b,function(){var l=g.offsetHeight- (g.querySelector(Q.IMAGE_TAB_LABEL).offsetHeight-1||0);a.style.height=l+"px";d.style.height=l+"px"});var h=cg(this.tabListItems[0],b);b=cg(this.tabListItems[this.tabListItems.length-1],b);c=h||!this.isRTL&&0===c;if(c){h=this.isSliderTypeOffsetArrows?{disabled:!0,display:"block"}:{disabled:!0,display:"none"};var k={disabled:!1,display:"block"}}else b?(h={disabled:!1,display:"block"},k=this.isSliderTypeOffsetArrows?{disabled:!0,display:"block"}:{disabled:!0,display:"none"}):(h={disabled:!1,display:"block"}, k={disabled:!1,display:"block"});this.alwaysShowSliderButtonControls||this.isSliderTypeOffsetArrows?(h.disabled?a.setAttribute("disabled","true"):a.removeAttribute("disabled"),k.disabled?d.setAttribute("disabled","true"):d.removeAttribute("disabled")):(a.style.display=h.display,d.style.display=k.display);this.isSliderTypeOffsetArrows&&(c?(e.style.opacity="0",f.style.opacity="1",a.style.opacity="0.2",d.style.opacity="1"):b?(e.style.opacity="1",f.style.opacity="0",a.style.opacity="1",d.style.opacity= "0.2"):(e.style.opacity="1",f.style.opacity="1",a.style.opacity="1",d.style.opacity="1"),e=fd.call(this,this.tabListItems[this.tabListItems.length-1],"right"),!this.isRTL&&b&&a.getBoundingClientRect().left<=e&&(this.arrowNextBG.style.opacity="1"),this.isRTL&&b&&(f=this.arrowPrev.getBoundingClientRect().width+this.arrowNext.getBoundingClientRect().width,this.el.querySelector(Q.SLIDER_OVERFLOW).getBoundingClientRect().right-f<=e&&(this.arrowPrevBG.style.opacity="1")),this.scrollElement.style.paddingInlineEnd= "block"===this.arrows.style.display?"120px":"0")}function cn(b){b.preventDefault();this.isArrowClicked=!0;dn.call(this);b.target.matches(Q.ARROW_NEXT)||b.target.matches(Q.SLIDER_ARROW_NEXT)?this.arrowDirection=this.isRTL?sc.LEFT:sc.RIGHT:this.arrowDirection=this.isRTL?sc.RIGHT:sc.LEFT;var c=this.el.getBoundingClientRect();if(this.arrowDirection===sc.RIGHT)for(b=this.tabListItems.length;b--&&(b!==this.tabListItems.length-1||!cg(this.tabListItems[b],this.el));)if(fd.call(this,this.tabListItems[b],"right")>= fd.call(this,this.el,"right")){var a=this.tabListItems[b];this.tabSlideTarget.el=a;this.tabSlideTarget.index=b}else break;else if(b=this.tabSlideTarget.index,c=c.width,a=this.tabListItems[b],-1===b)a=void 0;else for(;b--&&0<=c;){var d=this.tabListItems[b].getBoundingClientRect();if(0===b&&cg(this.tabListItems[b],this.el))break;c-=d.width;a=this.tabListItems[b];this.tabSlideTarget.el=a;this.tabSlideTarget.index=b;if(this.tabListItems[b-1]&&0>c-this.tabListItems[b-1].getBoundingClientRect().width)break}if(a){c= a;a=parseInt(getComputedStyle(this.arrowPrev).paddingLeft,10)||parseInt(getComputedStyle(this.arrowNext).paddingLeft,10);b=Math.floor(this.scrollElement.scrollLeft);c=Math.floor(fd.call(this,c,"left"));d=Math.floor(fd.call(this,this.scrollElement,"left"));var e=this.alwaysShowSliderButtonControls||this.isSliderTypeOffsetArrows?8:0;a=this.isRTL?this.arrowDirection===sc.LEFT?b+c+d+a+e:b-c-d+a+e:b+c-d-a-e;this.isTabTypeProductSelector&&a<=this.tabsWindowWidthMargin&&(a=this.isRTL?a+this.tabsWindowWidthMargin: a-this.tabsWindowWidthMargin);try{this.scrollElement.scrollTo({left:a,behavior:p.prefersReducedMotion()?"auto":"smooth"})}catch(f){this.scrollElement.scrollLeft=a}}}function xv(){var b=this.el.offsetWidth-2*parseInt(getComputedStyle(this.el).paddingLeft,10)+6,c=getComputedStyle(this.arrows).display;dn.call(this);if(b>=this.tabListWidth){if("block"===c||this.tabWindow.style.width)this.arrows.style.display="none",this.tabWindow.style.width="";if(this.tabContentCentered){var a;null==(a=this.tabGroup)? void 0:a.classList.add(fa.JUSTIFY_CENTER)}this.isCarouselMediaPlaylistVideo&&(this.tabWindow.classList.add(fa.JUSTIFY_CENTER),this.arrows.classList.add("d-none"),this.tabWindow.style.marginTop="50px")}else{this.tabWindow.style.width=this.tabListWidth+"px";if(this.tabContentCentered){var d;null==(d=this.tabGroup)?void 0:d.classList.remove(fa.JUSTIFY_CENTER)}this.isCarouselMediaPlaylistVideo&&(this.tabWindow.classList.remove(fa.JUSTIFY_CENTER),this.tabWindow.style.marginTop="0",this.arrows.classList.remove("d-none")); this.tabListItems=this.tabListItems||this.el.querySelectorAll(Q.ROLE_OPTION);this.lastTabBounds=this.tabListItems[this.tabListItems.length-1].getBoundingClientRect();b=fd.call(this,this.tabListItems[this.tabListItems.length-1],"right");a=fd.call(this,this.el,"right");d=0;this.isTabTypeProductSelector&&(d=getComputedStyle(this.el.querySelector(Q.SLIDER_WINDOW)),d=parseInt(d.paddingRight,10)+parseInt(d.marginRight,10));"none"===c&&a-d-this.arrowOffsetWidth<=b-this.arrowOffsetWidth&&(this.arrows.style.display= "block");bn.call(this)}}function yv(b){b=b.target;if(b.matches(Q.ROLE_OPTION)||b.matches(this.listItemSelector)){var c=window.scrollY;this.isCarouselMediaPlaylistVideo&&!this.isTabKeyPressed||b.scrollIntoView(this.scrollIntoViewOptions);c!==window.scrollY&&window.scrollTo({top:c});this.tabSlideTarget.el=b;this.tabSlideTarget.index=[].slice.call(this.tabListItems).indexOf(b)}}function zv(b){p.getKeyCode(b)===p.keyCodes.TAB&&(this.isTabKeyPressed=!0)}function Av(b){if(p.getKeyCode(b)===p.keyCodes.TAB|| 16===p.getKeyCode(b))this.isTabKeyPressed=!1}function Bv(){bn.call(this);if(this.arrowDirection&&(document.activeElement===this.arrowNext||document.activeElement===this.arrowPrev)){var b=this.isRTL?this.arrowNext:this.arrowPrev,c=this.isRTL?this.arrowPrev:this.arrowNext;this.arrowDirection===sc.LEFT?"block"===b.style.display?b.focus():c.focus():this.arrowDirection===sc.RIGHT&&("block"===c.style.display?c.focus():b.focus())}if(this.isArrowClicked)this.isArrowClicked=!1;else for(b=this.isRTL?this.tabSlideTarget.index: 0;bdocument.documentElement.clientHeight;!this.isBodyOverflowing&&b&&(this.el.style.paddingLeft=this.scrollbarWidth+"px");this.isBodyOverflowing&&!b&&(this.el.style.paddingRight=this.scrollbarWidth+"px")}function Lv(){this.el.style.paddingLeft= "";this.el.style.paddingRight=""}function Ov(){var b=document.body.getBoundingClientRect();this.isBodyOverflowing=b.left+b.right=c.length)e.classList.add(ba.HIDDEN),f.classList.add(ba.HIDDEN);else{if(1===a)rn.call(this,{firstActive:!0});else if(a===c.length)rn.call(this,{lastActive:!0});else if(d.classList.contains(ba.HIDDEN))sn(b)?Rv.call(this):Sv.call(this);else return;d.classList.remove(ba.HIDDEN)}}function rn(b){var c=b.firstActive,a=b.lastActive,d=this.numberedItems;b=this.firstHorizontal;var e=this.secondHorizontal;d.forEach(function(g){var h=dg(g); c&&4c&&f.classList.add(ba.HIDDEN)}),1!==e&&(a.querySelector(ha.ITEM_NUMBER(e)).classList.remove(ba.HIDDEN),2c&&(b[1]="0"+c);return isNaN(c)||isNaN(a)||23this.pageMaxItems&&(b.style.display="block")):b.style.display="block";q(this,md)[md]&&(this.filteredData=this.initialData.card.filter(function(g){var h=g.parents.filter(function(k){return"subCategory"===k.type}).map(function(k){return k.id});return"or"===c.subCategoryCondition?q(c,Tb)[Tb].some(function(k){return-1!==h.indexOf(k)}):q(c,Tb)[Tb].every(function(k){return-1!==h.indexOf(k)})}), q(this,hb)[hb]=this.filteredData,e=9,f=this.dynamicContentPostTextOpt2);this.dynamicContent.update({data:this.filteredData,pageMaxItems:0===e?this.pageMaxItems:e,mappingObj:{pageType:this.pageType,onLoad:this.showAllCards?!1:d},isPaginationEnabled:!0,showPostText:f,showCountTotal:this.showCountTotal,isFilteredState:this.isFilteredState()});this.filteredData=[];q(this,md)[md]?this.dynamicContent.renderWithDataSubset({iterableData:!1}):d&&(this.showAllCards?this.dynamicContent.renderWithDataSubset({iterableData:!1}): this.dynamicContent.renderWithDataSubset())}}function mw(){var b=this;if(!q(this,ld)[ld]&&q(this,X)[X]){q(this,nd)[nd]=[];if(q(this,X)[X].filterSelections){var c=q(this,X)[X].additiveFilterSelections;q(this,nd)[nd]=c.filter(function(e,f){return c.indexOf(e)===f})}q(this,Oe)[Oe]=0c.top&&!a.classList.contains(Gn.EFFECT_ON))&&a.classList.add(Gn.EFFECT_ON)}})} function rw(b){var c=this;void 0===b&&(b=.4);b={root:null,rootMargin:"0px",threshold:b};q(this,vc)[vc]=new IntersectionObserver(q(this,pj)[pj],b);this.scrollEffectEl.forEach(function(a){q(c,vc)[vc].observe(a)})}function sw(){q(this,vc)[vc]&&q(this,vc)[vc].disconnect();q(this,wc)[wc]=q(this,Pe)[Pe]();q(this,Qe)[Qe](q(this,wc)[wc])}function tw(){return window.innerWidththis.refreshBefore)a=1E3*(b-this.refreshBefore);else throw Error("Error refreshing Direct Line Token."); setTimeout(function(){return q(c,od)[od]()},a)}function Uw(){return"en-US"}function Vw(){return yj.apply(this,arguments)}function yj(){yj=ja(H().mark(function c(){return H().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,uc.loadScript("https://www.microsoft.com/msonecloudapi/assets/json-pollock.bundle.min.js","body");case 3:if(window.JsonPollock){a.next=6;break}console.error("JsonPollock not found.");return a.abrupt("return");case 6:window.JsonPollock.init({maxAllowedElements:200, onAfterElementRendered:this.onAfterElementRenderedHandler});a.next=12;break;case 9:a.prev=9,a.t0=a["catch"](0),console.error("Error loading JsonPollock:",a.t0);case 12:case "end":return a.stop()}},c,this,[[0,9]])}));return yj.apply(this,arguments)}function Ww(){try{var b=this.getAIChatDrawerCookieObject(),c=b?b[Z.chatDrawerState]:null;if(window.matchMedia("(max-width: "+(xa.MD-.2)+"px)").matches&&"OPEN"===c){var a;this.updateAIChatDrawerCookie((a={},a[Z.chatDrawerState]="CLOSED",a));c="CLOSED"}if(b&& b[Z.token]){var d=this.getAIChatDrawerCookieObject()[Z.tokenCreated];if(Date.now()/1E3-de+1)return a[e+1].replace(".html","")}catch(g){console.error("Failed to get source site:",g)}return"azure"}function Yw(b,c){b=new URL(b);b.pathname=c;(mg||sj)&&this.corsBypassQueryStringObj&&b.searchParams.append(this.corsBypassQueryStringObj.key,this.corsBypassQueryStringObj.value);return b.href}function Zw(){try{return JSON.parse(atob(this.lpJWT.split(".")[1])).sub}catch(b){return console.error("Error decoding JWT:", b),null}}function $w(b){var c=this;b.classList.remove(Ln.SHOW);if(b.classList.contains(Ln.FADE)){var a=p.getTransitionDurationFromElement(b);b.addEventListener(p.TRANSITION_END,function(d){return Mn.call(c,b,d)},{once:!0});p.emulateTransitionEnd(b,a)}else Mn.call(this,b)}function Mn(b){this[zb.CLOSED]=new CustomEvent(zb.CLOSED);b.dispatchEvent(this[zb.CLOSED]);b.remove()}function ax(b){var c=this;b.classList.remove(Nn.SHOW);if(b.classList.contains(Nn.FADE)){var a=p.getTransitionDurationFromElement(b); b.addEventListener(p.TRANSITION_END,function(d){return On.call(c,b,d)},{once:!0});p.emulateTransitionEnd(b,a)}else On.call(this,b)}function On(b){this[Ab.CLOSED]=new CustomEvent(Ab.CLOSED);b.dispatchEvent(this[Ab.CLOSED]);b.remove()}function Pn(b,c){void 0===c&&(c=bx.DIRECTION);switch(b){case "top":case "bottom":return b;default:return c}}function cx(){this.el.classList.toggle(sb.STUCK,this.isStuck);dx.bind(this)();pd.bind(this)()}function dx(){if(null!==this.contentDivTarget){var b=this.stickyElementHeight+ this.contentDivTargetSpacing;0!==this.rootMarginOffset&&(b-=this.rootMarginOffset);this.isStuck?this.contentDivTarget.style.setProperty(this.styleProp,b+"px","important"):this.contentDivTarget.style.setProperty(this.styleProp,"")}}function pd(b){var c=document.querySelector("html");this.stickyElementHeight=this.el.getBoundingClientRect().height;b&&(c.style.scrollPaddingTop="0",c.style.scrollPaddingBottom="0");this.direction===Xe.TOP?c.style.scrollPaddingTop=this.isStuck?this.stickyElementHeight+this.extraScrollPaddingPx+ "px":this.stickyElementHeight+this.rootMarginOffset+this.extraScrollPaddingPx+"px":this.direction===Xe.BOTTOM&&(c.style.scrollPaddingBottom=this.isStuck?this.stickyElementHeight+this.extraScrollPaddingPx+"px":this.stickyElementHeight+this.rootMarginOffset+this.extraScrollPaddingPx+"px")}function ex(){this.enableObserver&&(this.isStuck=this.doesSentinelExceedBoundary(),this.el.classList.toggle(sb.STUCK,this.isStuck),pd.bind(this)())}function zj(){switch(this.observerBehavior){case xc.OFF:this.setObserverStatus(!1); break;case xc.ALWAYS:this.setObserverStatus(!0);break;default:.33<(this.hiddenElementsHeight+this.visibleElementsHeight-2)/window.innerHeight?this.setObserverStatus(!1):this.setObserverStatus(!0)}}function Qn(b){if(!1===this.enableObserverInitial)return xc.OFF;var c=function(a){return Object.values(xc).includes(a)};return b&&c(b)?b:c(this.el.dataset.observerBehavior)?this.el.dataset.observerBehavior:xc.SIZE_AWARE}function fx(){var b=document.createElement(this.fixedStickyInTable?"tr":"div"),c=this.el.children; this.fixedStickyInTable&&Array.from(c).forEach(function(a){a=document.createElement("TH"===a.tagName?"th":"td");a.ariaHidden=!0;a.style.display="none";b.append(a)});b.classList.add(sb.SENTINEL);b.setAttribute(Rn.ARIA_HIDDEN,!0);this.sentinel=b;this.el.insertAdjacentElement("beforebegin",this.sentinel)}function gx(){var b=this,c=0,a=this.el.querySelectorAll(ng.SHOW_STUCK);a&&a instanceof NodeList&&a.forEach(function(d,e,f){c+=window.mwf.Util.getElementOuterHeight(d,{cssSelectors:["margin","padding"]}); e===f.length-1&&b.el.classList.remove(sb.GET_HEIGHT)});return c}function Sn(){this.el.classList.add(sb.GET_HEIGHT);var b=this.fixedStickyInTable?this.el.offsetHeight:gx.call(this),c=this.fixedStickyInTable?0:this.el.offsetHeight;this.el.classList.remove(sb.GET_HEIGHT);return{hidden:b,visible:c}}function Tn(){this.direction===Xe.BOTTOM?(this.el.style.top=null,this.el.style.bottom="0",this.contentDivTargetSpacing=(this.contentDivTarget=this.el.previousElementSibling)?parseInt(getComputedStyle(this.contentDivTarget).paddingBottom, 10)+parseInt(getComputedStyle(this.contentDivTarget).marginBottom,10):0,this.styleProp="margin-bottom",this.el.classList.add(sb.STICKY_BOTTOM),this.el.classList.remove(sb.STICKY_TOP)):(this.el.style.bottom=null,this.el.style.top="0",this.contentDivTargetSpacing=(this.contentDivTarget=this.el.nextElementSibling)?parseInt(getComputedStyle(this.contentDivTarget).paddingTop,10)+parseInt(getComputedStyle(this.contentDivTarget).marginTop,10):0,this.styleProp="margin-top",this.el.classList.add(sb.STICKY_TOP), this.el.classList.remove(sb.STICKY_BOTTOM))}function Un(){var b=this;this.observer&&this.observer.disconnect();var c={rootMargin:"-"+this.rootMarginOffset+"px 0px 0px 0px"},a=cx.bind(this);this.observer=new IntersectionObserver(function(d){if(b.enableObserver){var e=b.isStuck;b.isStuck=b.doesSentinelExceedBoundary()&&!d[0].isIntersecting;void 0!==e&&e!==b.isStuck&&(b.isStuck?(b[Za.ON_STUCK]=new CustomEvent(Za.ON_STUCK,{bubbles:!0}),b.el.dispatchEvent(b[Za.ON_STUCK])):(b[Za.ON_UNSTUCK]=new CustomEvent(Za.ON_UNSTUCK, {bubbles:!0}),b.el.dispatchEvent(b[Za.ON_UNSTUCK])));a()}},c);this.sentinel&&this.observer.observe(this.sentinel)}function Vn(b,c){b=b.querySelectorAll(ka.COLUMN_SKU);var a=c.querySelectorAll(ka.TABLE_CELL_CONTENT);b.forEach(function(d,e){if(e=a[e]){e.parentNode.removeAttribute(Qa.ARIA_HIDDEN);var f=document.createElement("div");f.className=qa.STICKY_SKU_CLASSES;hx.forEach(function(g){d.querySelectorAll(g.selector).forEach(function(h){h=h.cloneNode(!0);if(g.createNewContainer){var k=document.createElement("div"); k.className=g.containerClass;h.getAttribute(Qa.ID)&&h.removeAttribute(Qa.ID);k.append(h);f.append(k)}else f.append(h)})});e.append(f)}});window.postMessage(Ib.ELEMENT_CLONED)}function ix(b){b.querySelectorAll(ka.TABLE_CELL).forEach(function(c){c.ariaHidden=!0})}function jx(b){var c=[],a=[],d=b.querySelectorAll(ka.HEAD_CELL),e=b.querySelectorAll(ka.HEAD_CELL_CONTENT);0===d.length?e.forEach(function(f,g){0!==g&&f.parentNode&&a.push(f.parentNode)}):a.push.apply(a,d);a.forEach(function(f){c.push([f])}); b.querySelectorAll(ka.TABLE_ROW).forEach(function(f){f.querySelectorAll(ka.TABLE_CELL).forEach(function(g,h){c[h]&&c[h].push(g)})});return c}function Wn(b){var c=0;c=b.findIndex(function(a){return"contents"!==a.style.display&&"none"!==a.style.display});b=b[c];return{offsetLeft:b.offsetLeft,offsetWidth:b.offsetWidth}}function kx(){var b,c,a=document.querySelector(G.DATA_MOUNT),d=Aj.getInstances().find(function(e){return e.el===a});return d?d:null==(b=window.m365)?void 0:null==(c=b.AIChatDrawer)?void 0: c.getInstances().find(function(e){return e.el===a})}function lx(){var b=this.cancelLink,c=this.closeButton,a=this.el;this.openChatButton.setAttribute("aria-controls",this.aiChatDrawer.el.id);b.setAttribute("aria-controls",a.id);c.setAttribute("aria-controls",a.id)}function mx(){var b=this.blockFeatureTitle,c=this.openChatButtonTextElement,a=this.cancelLinkTextElement,d=this.closeButton,e=this.closeButtonAriaLabel;this.isOptionTwo||(this.headerTitle.textContent=this.headerTitleText,b.textContent=this.blockFeatureTitleText, c&&(c.textContent=this.openChatButtonText),a&&(a.textContent=this.cancelLinkText),d.setAttribute("aria-label",e))}function Xn(b,c){if(b){var a=this.selectorSlider,d=a.setAttribute;var e={};e[Da.VALUETEXT]=this.selectorSlider.dataset[Da.VALUETEXT]||null;e[Da.MINTEXT]=this.selectorSlider.dataset[Da.MINTEXT]||null;e[Da.MAXTEXT]=this.selectorSlider.dataset[Da.MAXTEXT]||null;e=this.selectorSlider.value===this.selectorSlider.min&&e[Da.MINTEXT]?p.interpolateString(e[Da.MINTEXT],{value:b}):this.selectorSlider.value=== this.selectorSlider.max&&e[Da.MAXTEXT]?p.interpolateString(e[Da.MAXTEXT],{value:b}):e[Da.VALUETEXT]?p.interpolateString(e[Da.VALUETEXT],{value:b}):b;d.call(a,"aria-valuetext",e);this[ib.ON_SELECTOR_SLIDER_CHANGE]=new CustomEvent(ib.ON_SELECTOR_SLIDER_CHANGE,{bubbles:!0,detail:{value:b,index:c}});this.selectorSlider.dispatchEvent(this[ib.ON_SELECTOR_SLIDER_CHANGE])}}function nx(){for(var b=(this.selectorSlider.max-this.selectorSlider.min)/this.selectorSlider.step,c=this.el.querySelectorAll("."+Da.INDICATOR), a=0;ac&&(c=c-d.getBoundingClientRect().top-e,window.scrollTo(0,c));if(this.backToTabs&&this.backToTabs instanceof HTMLAnchorElement){var f;null==(f=this.backToTabs.focusControls)?void 0:f.remove();this.backToTabs.href="#"+b.id+"-tab";this.backToTabs.focusControls=new p.FocusControls({el:this.backToTabs})}}p.reflow(b);b.classList.contains(Vb.FADE)&&b.classList.add(Vb.SHOW);a&&a()}function qx(b){switch(p.getKeyCode(b)){case p.keyCodes.SPACE:case p.keyCodes.ENTER:b.preventDefault(); this.show(b);break;case p.keyCodes.HOME:b.preventDefault();this.listNodeList[0].focus();break;case p.keyCodes.END:b.preventDefault();this.listNodeList[this.listNodeList.length-1].focus();break;case p.keyCodes.ARROW_LEFT:b.preventDefault();this.isRTL?bo.call(this):co.call(this);break;case p.keyCodes.ARROW_RIGHT:b.preventDefault(),this.isRTL?co.call(this):bo.call(this)}}function co(){var b=this.listNodeList[this.listNodeList.length-1],c=this.listNodeList[this.tabIndex-1];return 0===this.tabIndex?b.focus(): c.focus()}function bo(){var b=this.listNodeList[0],c=this.listNodeList[this.tabIndex+1];return this.tabIndex===this.listNodeList.length-1?b.focus():c.focus()}function eo(){var b,c=null==(b=this.el.querySelector(Ua.TAB_LABEL))?void 0:b.textContent;this.sharedLabelEl&&c&&og(this.sharedLabelEl,c)}function fo(){var b,c,a,d=null==(b=this.listGroup)?void 0:null==(c=b.querySelector(Ua.ACTIVE))?void 0:null==(a=c.querySelector(Ua.TAB_LABEL))?void 0:a.textContent;this.sharedLabelEl&&d&&og(this.sharedLabelEl, d)}function go(){var b=this,c=window.location.hash;if(c)if(c==="#"+this.tabPanel.id)this.show(),this.tabContent.addEventListener(p.TRANSITION_END,function(){b.el.scrollIntoView(!0);b.el.focus()},{once:!0});else{var a=this.tabPanel.querySelector('[id\x3d"'+c.slice(1)+'"]');a&&(this.show(),this.tabContent.addEventListener(p.TRANSITION_END,function(){a.scrollIntoView(!0);a.focus()},{once:!0}))}else this.tabIndex===this.defaultTabIndex&&this.show()}function rx(b){if(b=b.querySelectorAll(pg.UMP_VIDEO)){b= M(b);for(var c;!(c=b()).done;)c.value.pause()}}function Bj(){var b=this;this.inCustomViewport()?kj(this.el,function(){var c,a;b.collapses.forEach(function(d,e){var f=d.el.style.display,g=d.feature.classList.contains(qd.DISPLAY.NONE);d.el.style.display=qd.DISPLAY.BLOCK;g&&d.feature.classList.remove(qd.DISPLAY.NONE);var h=d.feature.offsetHeight;if(!c||ha;d++)b[d].matches(Fj.ACTIVES)&&a++;2>a&&c.preventDefault()}}function Cx(b){if(window.innerWidththis.stickyElement.sentinel.offsetTop-this.offsetMarginTop)this.stickyElement.setObserverStatus(!0),this.el.style.opacity=1;else{var c=So?0:175;this.el.style.opacity= 0;setTimeout(function(){b.el.classList.remove(lb.STUCK);b.stickyElement.enableObserver=!1},c);So=!1}}function Sx(){this.offsetMarginTop!==.7*window.mwf.Util.getDocumentHeight()&&(this.offsetMarginTop=.7*window.mwf.Util.getDocumentHeight(),this.stickyElement.remove(),this.stickyElement=new wg({el:this.el,direction:vd.BOTTOM}))}var Zf="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},xg=function(b){return b&& b.Math==Math&&b},D=xg("object"==typeof globalThis&&globalThis)||xg("object"==typeof window&&window)||xg("object"==typeof self&&self)||xg("object"==typeof Zf&&Zf)||function(){return this}()||Function("return this")(),K=function(b){try{return!!b()}catch(c){return!0}},R=!K(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Yd=!K(function(){var b=function(){}.bind();return"function"!=typeof b||b.hasOwnProperty("prototype")}),yg=Function.prototype.call,W=Yd?yg.bind(yg):function(){return yg.apply(yg, arguments)},To={}.propertyIsEnumerable,Uo=Object.getOwnPropertyDescriptor;var Oj=Uo&&!To.call({1:2},1)?function(b){b=Uo(this,b);return!!b&&b.enumerable}:To;var Db=function(b,c){return{enumerable:!(b&1),configurable:!(b&2),writable:!(b&4),value:c}},Vo=Function.prototype,Pj=Vo.call,Tx=Yd&&Vo.bind.bind(Pj,Pj),w=Yd?Tx:function(b){return function(){return Pj.apply(b,arguments)}},Ux=w({}.toString),Vx=w("".slice),tb=function(b){return Vx(Ux(b),8,-1)},Qj=Object,Wx=w("".split),zg=K(function(){return!Qj("z").propertyIsEnumerable(0)})? function(b){return"String"==tb(b)?Wx(b,""):Qj(b)}:Qj,zc=function(b){return null===b||void 0===b},Xx=TypeError,Wb=function(b){if(zc(b))throw Xx("Can't call method on "+b);return b},fc=function(b){return zg(Wb(b))},Ag="object"==typeof document&&document.all,Wo="undefined"==typeof Ag&&void 0!==Ag,T=Wo?function(b){return"function"==typeof b||b===Ag}:function(b){return"function"==typeof b},da=Wo?function(b){return"object"==typeof b?null!==b:T(b)||b===Ag}:function(b){return"object"==typeof b?null!==b:T(b)}, ya=function(b,c){if(2>arguments.length){var a=D[b];a=T(a)?a:void 0}else a=D[b]&&D[b][c];return a},wd=w({}.isPrototypeOf),Xb="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Xo=D.process,Yo=D.Deno,Zo=Xo&&Xo.versions||Yo&&Yo.version,$o=Zo&&Zo.v8;if($o){var Ac=$o.split(".");var Rj=0Ac[0]?1:+(Ac[0]+Ac[1])}!Rj&&Xb&&(Ac=Xb.match(/Edge\/(\d+)/),(!Ac||74<=Ac[1])&&(Ac=Xb.match(/Chrome\/(\d+)/))&&(Rj=+Ac[1]));var Bc=Rj,Sj=!!Object.getOwnPropertySymbols&&!K(function(){var b=Symbol(); return!String(b)||!(Object(b)instanceof Symbol)||!Symbol.sham&&Bc&&41>Bc}),ap=Sj&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Yx=Object,Zd=ap?function(b){return"symbol"==typeof b}:function(b){var c=ya("Symbol");return T(c)&&wd(c.prototype,Yx(b))},Zx=String,$d=function(b){try{return Zx(b)}catch(c){return"Object"}},$x=TypeError,Yb=function(b){if(T(b))return b;throw $x($d(b)+" is not a function");},ae=function(b,c){b=b[c];return zc(b)?void 0:Yb(b)},ay=TypeError,bp={},by=Object.defineProperty,Tj=function(b, c){try{by(D,b,{value:c,configurable:!0,writable:!0})}catch(a){D[b]=c}return c},Qc=D["__core-js_shared__"]||Tj("__core-js_shared__",{});(bp=function(b,c){return Qc[b]||(Qc[b]=void 0!==c?c:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"\u00a9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Uj=bp,cy=Object,Zb=function(b){return cy(Wb(b))},dy=w({}.hasOwnProperty),V=Object.hasOwn|| function(b,c){return dy(Zb(b),c)},ey=0,fy=Math.random(),gy=w((1).toString),Vj=function(b){return"Symbol("+(void 0===b?"":b)+")_"+gy(++ey+fy,36)},be=D.Symbol,Wj=Uj("wks"),hy=ap?be["for"]||be:be&&be.withoutSetter||Vj,ra=function(b){V(Wj,b)||(Wj[b]=Sj&&V(be,b)?be[b]:hy("Symbol."+b));return Wj[b]},iy=TypeError,jy=ra("toPrimitive"),Xj=function(b,c){if(!da(b)||Zd(b))return b;var a=ae(b,jy);if(a){void 0===c&&(c="default");b=W(a,b,c);if(!da(b)||Zd(b))return b;throw iy("Can't convert object to primitive value"); }void 0===c&&(c="number");var d,e;if(!("string"===c&&T(d=b.toString)&&!da(e=W(d,b))||T(d=b.valueOf)&&!da(e=W(d,b))||"string"!==c&&T(d=b.toString)&&!da(e=W(d,b))))throw ay("Can't convert object to primitive value");return e},Bg=function(b){b=Xj(b,"string");return Zd(b)?b:b+""},Yj=D.document,ky=da(Yj)&&da(Yj.createElement),cf=function(b){return ky?Yj.createElement(b):{}},cp=!R&&!K(function(){return 7!=Object.defineProperty(cf("div"),"a",{get:function(){return 7}}).a}),dp=Object.getOwnPropertyDescriptor; var df=R?dp:function(b,c){b=fc(b);c=Bg(c);if(cp)try{return dp(b,c)}catch(a){}if(V(b,c))return Db(!W(Oj,b,c),b[c])};var cb={},ep=R&&K(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),ly=String,my=TypeError,pa=function(b){if(da(b))return b;throw my(ly(b)+" is not an object");},ny=TypeError,Zj=Object.defineProperty,oy=Object.getOwnPropertyDescriptor;cb.f=R?ep?function(b,c,a){pa(b);c=Bg(c);pa(a);if("function"===typeof b&&"prototype"===c&&"value"in a&&"writable"in a&&!a.writable){var d=oy(b,c);d&&d.writable&&(b[c]=a.value,a={configurable:"configurable"in a?a.configurable:d.configurable,enumerable:"enumerable"in a?a.enumerable:d.enumerable,writable:!1})}return Zj(b,c,a)}:Zj:function(b,c,a){pa(b);c=Bg(c);pa(a);if(cp)try{return Zj(b,c,a)}catch(d){}if("get"in a||"set"in a)throw ny("Accessors not supported");"value"in a&&(b[c]=a.value);return b};var Jb=R?function(b,c,a){return cb.f(b,c,Db(1,a))}:function(b,c,a){b[c]=a;return b},fp={},gp=Function.prototype, py=R&&Object.getOwnPropertyDescriptor,ak=V(gp,"name"),bk=ak&&"something"===function(){}.name,hp=ak&&(!R||R&&py(gp,"name").configurable),qy=w(Function.toString);T(Qc.inspectSource)||(Qc.inspectSource=function(b){return qy(b)});var ck=Qc.inspectSource,ip=D.WeakMap,jp=T(ip)&&/native code/.test(String(ip)),kp=Uj("keys"),dk=function(b){return kp[b]||(kp[b]=Vj(b))},Cg={},ek=D.TypeError,ry=D.WeakMap;if(jp||Qc.state){var gc=Qc.state||(Qc.state=new ry);gc.get=gc.get;gc.has=gc.has;gc.set=gc.set;var fk=function(b, c){if(gc.has(b))throw ek("Object already initialized");c.facade=b;gc.set(b,c);return c};var Dg=function(b){return gc.get(b)||{}};var gk=function(b){return gc.has(b)}}else{var ce=dk("state");Cg[ce]=!0;fk=function(b,c){if(V(b,ce))throw ek("Object already initialized");c.facade=b;Jb(b,ce,c);return c};Dg=function(b){return V(b,ce)?b[ce]:{}};gk=function(b){return V(b,ce)}}var Ja={set:fk,get:Dg,has:gk,enforce:function(b){return gk(b)?Dg(b):fk(b,{})},getterFor:function(b){return function(c){var a;if(!da(c)|| (a=Dg(c)).type!==b)throw ek("Incompatible receiver, "+b+" required");return a}}},sy=Ja.enforce,ty=Ja.get,lp=String,Eg=Object.defineProperty,uy=w("".slice),vy=w("".replace),wy=w([].join),xy=R&&!K(function(){return 8!==Eg(function(){},"length",{value:8}).length}),yy=String(String).split("String"),zy=fp=function(b,c,a){"Symbol("===uy(lp(c),0,7)&&(c="["+vy(lp(c),/^Symbol\(([^)]*)\)/,"$1")+"]");a&&a.getter&&(c="get "+c);a&&a.setter&&(c="set "+c);if(!V(b,"name")||hp&&b.name!==c)R?Eg(b,"name",{value:c,configurable:!0}): b.name=c;xy&&a&&V(a,"arity")&&b.length!==a.arity&&Eg(b,"length",{value:a.arity});try{a&&V(a,"constructor")&&a.constructor?R&&Eg(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch(d){}a=sy(b);V(a,"source")||(a.source=wy(yy,"string"==typeof c?c:""));return b};Function.prototype.toString=zy(function(){return T(this)&&ty(this).source||ck(this)},"toString");var hk=fp,wa=function(b,c,a,d){d||(d={});var e=d.enumerable,f=void 0!==d.name?d.name:c;T(a)&&hk(a,f,d);if(d.global)e?b[c]=a:Tj(c, a);else{try{d.unsafe?b[c]&&(e=!0):delete b[c]}catch(g){}e?b[c]=a:cb.f(b,c,{value:a,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return b},de={},Ay=Math.ceil,By=Math.floor,Cy=Math.trunc||function(b){b=+b;return(0b?Dy(b+c,0):Ey(b,c)},Fy=Math.min,ef=function(b){return 0d;){if(a=c[d++],a!=a)return!0}else for(;e>d;d++)if((b||d in c)&&c[d]===a)return b||d||0;return!b&&-1}},Gy=mp(!0),np=mp(!1),op=w([].push),pp=function(b,c){b=fc(b);var a=0,d=[],e;for(e in b)!V(Cg,e)&&V(b,e)&&op(d,e);for(;c.length>a;)V(b,e=c[a++])&&(~np(d,e)||op(d,e));return d},Fg="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Hy=Fg.concat("length","prototype");de.f=Object.getOwnPropertyNames|| function(b){return pp(b,Hy)};var Gg=Object.getOwnPropertySymbols;var Iy=w([].concat),Jy=ya("Reflect","ownKeys")||function(b){var c=de.f(pa(b));return Gg?Iy(c,Gg(b)):c},ik=function(b,c,a){for(var d=Jy(c),e=cb.f,f=0;fu;u++)if(h||u in t)if(n=t[u],B=l(n,u,r),b)if(c)k[u]=B;else if(B)switch(b){case 3:return!0;case 5:return n;case 6:return u;case 2:vp(k,n)}else switch(b){case 4:return!1;case 7:vp(k,n)}return f?-1:d||e?e:k}},Yy=Rc(0),Zy=Rc(1), $y=Rc(2),az=Rc(3),bz=Rc(4),wp=Rc(5),xp=Rc(6);Rc(7);var zd=function(b,c){var a=[][b];return!!a&&K(function(){a.call(null,c||function(){return 1},1)})},hf=zd("forEach")?[].forEach:function(b){return Yy(this,b,1>>0||(iz(Gp,b)?16:10))}:jf;I({global:!0,forced:parseInt!=Hp},{parseInt:Hp});var jz=ra("species"),kf=function(b){return 51<=Bc||!K(function(){var c=[];(c.constructor={})[jz]=function(){return{foo:1}};return 1!==c[b](Boolean).foo})},kz=kf("filter");I({target:"Array",proto:!0,forced:!kz},{filter:function(b){return $y(this,b,1f||f>d)return NaN}return parseInt(c,b)}return+c},qk=Cc("Number",!fe(" 0o1")||!fe("0b1")||fe("+0x1")),uz=function(b){return wd(pk,b)&&K(function(){oz(b)})},Ng=function(b){if(1>arguments.length)var c=0;else c=Xj(b,"number"),c="bigint"==typeof c?c:tz(c),c=fe(c);return uz(this)?Lg(Object(c),this,Ng):c};Ng.prototype=pk;qk&&(pk.constructor=Ng);I({global:!0,constructor:!0,wrap:!0,forced:qk},{Number:Ng});var vz=function(b,c){for(var a=R?pz(c):"MAX_VALUE MIN_VALUE NaN NEGATIVE_INFINITY POSITIVE_INFINITY EPSILON MAX_SAFE_INTEGER MIN_SAFE_INTEGER isFinite isInteger isNaN isSafeInteger parseFloat parseInt fromString range".split(" "), d=0,e;a.length>d;d++)V(c,e=a[d])&&!V(b,e)&&qz(b,e,df(c,e))};qk&&vz(D.Number,fe);var wz=TypeError,xz=Object.getOwnPropertyDescriptor,Ip=R&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(b){return b instanceof TypeError}}()?function(b,c){if(Dc(b)&&!xz(b,"length").writable)throw wz("Cannot set read only .length");return b.length=c}:function(b,c){return b.length=c},yz=TypeError,Og=function(b){if(9007199254740991e;)for(var f=zg(arguments[e++]),g=Gg?zz(Bd(f),Gg(f)):Bd(f),h=g.length,k=0,l;h>k;)if(l=g[k++],!R||W(Oj,f,l))a[l]=f[l];return a}:ge;I({target:"Object",stat:!0,arity:2,forced:Object.assign!== lf},{assign:lf});var Lp=function(){var b=pa(this),c="";b.hasIndices&&(c+="d");b.global&&(c+="g");b.ignoreCase&&(c+="i");b.multiline&&(c+="m");b.dotAll&&(c+="s");b.unicode&&(c+="u");b.unicodeSets&&(c+="v");b.sticky&&(c+="y");return c},sk=D.RegExp,Mp=K(function(){var b=sk("a","y");b.lastIndex=2;return null!=b.exec("abcd")});Mp||K(function(){return!sk("a","y").sticky});var Np=Mp||K(function(){var b=sk("^r","gy");b.lastIndex=2;return null!=b.exec("str")}),Op={};Op.f=R&&!ep?Object.defineProperties:function(b, c){pa(b);var a=fc(c);c=Bd(c);for(var d=c.length,e=0,f;d>e;)cb.f(b,f=c[e++],a[f]);return b};var tk=ya("document","documentElement"),Pp=dk("IE_PROTO"),uk=function(){},Qp=function(b){b.write("\x3cscript\x3e\x3c/script\x3e");b.close();return b.parentWindow.Object},Pg,Qg=function(){try{Pg=new ActiveXObject("htmlfile")}catch(c){}if("undefined"!=typeof document)if(document.domain&&Pg)var b=Qp(Pg);else b=cf("iframe"),b.style.display="none",tk.appendChild(b),b.src="javascript:",b=b.contentWindow.document, b.open(),b.write("\x3cscript\x3edocument.F\x3dObject\x3c/script\x3e"),b.close(),b=b.F;else b=Qp(Pg);Qg=b;for(b=Fg.length;b--;)delete Qg.prototype[Fg[b]];return Qg()};Cg[Pp]=!0;var Tc=Object.create||function(b,c){if(null!==b){uk.prototype=pa(b);var a=new uk;uk.prototype=null;a[Pp]=b}else a=Qg();return void 0===c?a:Op.f(a,c)},Az=D.RegExp,Bz=K(function(){var b=Az(".","s");return!(b.dotAll&&b.exec("\n")&&"s"===b.flags)}),Cz=D.RegExp,Dz=K(function(){var b=Cz("(?\x3ca\x3eb)","g");return"b"!==b.exec("b").groups.a|| "bc"!=="b".replace(b,"$\x3ca\x3ec")}),Ez=Ja.get,Fz=Uj("native-string-replace",String.prototype.replace),Rg=RegExp.prototype.exec,vk=Rg,Gz=w("".charAt),Hz=w("".indexOf),Iz=w("".replace),wk=w("".slice),xk=function(){var b=/a/,c=/b*/g;W(Rg,b,"a");W(Rg,c,"a");return 0!==b.lastIndex||0!==c.lastIndex}(),yk=void 0!==/()??/.exec("")[1];if(xk||yk||Np||Bz||Dz)vk=function(b){var c=Ez(this);b=L(b);var a=c.raw,d;if(a){a.lastIndex=this.lastIndex;var e=W(vk,a,b);this.lastIndex=a.lastIndex;return e}c=c.groups;a= Np&&this.sticky;var f=W(Lp,this),g=this.source,h=0,k=b;a&&(f=Iz(f,"y",""),-1===Hz(f,"g")&&(f+="g"),k=wk(b,this.lastIndex),0=xa.XS&&b=xa.SM)return"sm";if(b=xa.MD)return"md";if(b=xa.LG)return"lg";if(b>=xa.XL)return"xl"},isBiDirectional:function(b){b||(b=document.querySelector("html"));return"rtl"===b.getAttribute("dir")},prefersReducedMotion:function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}},ut=0,Dd=function(b,c){return void 0=== b?2>arguments.length?"":c:L(b)},Tg=Error.prototype.toString,Ug=K(function(){if(R){var b=Tc(Object.defineProperty({},"name",{get:function(){return this===b}}));if("true"!==Tg.call(b))return!0}return"2: 1"!==Tg.call({message:1,name:2})||"Error"!==Tg.call({})})?function(){var b=pa(this),c=Dd(b.name,"Error");b=Dd(b.message);return c?b?c+": "+b:c:b}:Tg,Rp=Error.prototype;Rp.toString!==Ug&&wa(Rp,"toString",Ug);var Ak=Date.prototype,Oz=w(Ak.toString),Pz=w(Ak.getTime);"Invalid Date"!=String(new Date(NaN))&& wa(Ak,"toString",function(){var b=Pz(this);return b===b?Oz(this):"Invalid Date"});var Sp=RegExp.prototype,Tp=RegExp.prototype.toString,Qz=K(function(){return"/a/b"!=Tp.call({source:"a",flags:"b"})}),Rz=bk&&"toString"!=Tp.name;(Qz||Rz)&&wa(RegExp.prototype,"toString",function(){var b=pa(this),c=L(b.source),a=b.flags;b=void 0!==a||"flags"in Sp||V(b,"flags")||!wd(Sp,b)?a:W(Lp,b);b=L(b);return"/"+c+"/"+b},{unsafe:!0});I({target:"Array",stat:!0},{isArray:Dc});var Bk={initializeComponent:function(b,c){document.querySelectorAll(b).forEach(function(a){return c(a)})}, addEvents:function(b){b=M(b);for(var c;!(c=b()).done;)c=c.value,"undefined"===typeof c.options&&(c.options={}),"function"===typeof c.el.addEventListener?c.el.addEventListener(c.type,c.handler,c.options):"[object MediaQueryList]"===c.el.toString()&&"function"===typeof c.el.addListener&&c.el.addListener(c.handler)},removeEvents:function(b){b=M(b);for(var c;!(c=b()).done;)c=c.value,"function"===typeof c.el.removeEventListener?c.el.removeEventListener(c.type,c.handler):"[object MediaQueryList]"===c.el.toString()&& "function"===typeof c.el.removeListener&&c.el.removeListener(c.handler)},tearDownComponentList:function(b){if(Array.isArray(b))for(var c;0arguments.length?Vg(b):c;if(Yb(a))return pa(W(a,b));throw Wz($d(b)+" is not iterable");},Wp=Array,Ed=function(b){var c=Zb(b),a=Hg(this),d=arguments.length,e=1d;d++){var l=f?e(c[d],d):c[d];Cd(a,d,l)}}else for(c=mf(c,g),g=c.next,a=a?new this:[];!(h=W(g,c)).done;d++){if(f)a:{l=c;var m=e;h=[h.value, d];try{k=m(pa(h)[0],h[1]);break a}catch(n){Ck(l,"throw",n)}k=void 0}else k=h.value;l=k;Cd(a,d,l)}a.length=d;return a},Xp=ra("iterator"),Yp=!1;try{var Xz=0,Zp={next:function(){return{done:!!Xz++}},"return":function(){Yp=!0}};Zp[Xp]=function(){return this};Array.from(Zp,function(){throw 2;})}catch(b){}var Dk=function(b,c){if(!c&&!Yp)return!1;var a=!1;try{c={},c[Xp]=function(){return{next:function(){return{done:a=!0}}}},b(c)}catch(d){}return a},Yz=!Dk(function(b){Array.from(b)});I({target:"Array",stat:!0, forced:Yz},{from:Ed});var Zz=w("".charAt),$p=w("".charCodeAt),$z=w("".slice),aq=function(b){return function(c,a){c=L(Wb(c));a=xd(a);var d=c.length,e;if(0>a||a>=d)return b?"":void 0;var f=$p(c,a);return 55296>f||56319(e=$p(c,a+1))||57343=c.length)return ic(void 0,!0);c=Ek(c,a);b.index+=c.length;return ic(c,!1)});var iA=w([].join),jA=zg!=Object||!zd("join",",");I({target:"Array",proto:!0,forced:jA},{join:function(b){return iA(fc(this),void 0===b?",":b)}});var kA=cb.f,Jk=ra("unscopables"), Kk=Array.prototype;void 0==Kk[Jk]&&kA(Kk,Jk,{configurable:!0,value:Tc(null)});var ie=function(b){Kk[Jk][b]=!0},lA=K(function(){return!Array(1).includes()});I({target:"Array",proto:!0,forced:lA},{includes:function(b){return Gy(this,b,1=c.length?(b.target=void 0,ic(void 0, !0)):"keys"==a?ic(d,!1):"values"==a?ic(c[d],!1):ic([d,c[d]],!1)},"values"),jq=he.Arguments=he.Array;ie("keys");ie("values");ie("entries");if(R&&"values"!==jq.name)try{qA(jq,"name",{value:"values"})}catch(b){}var Lk=ra("iterator"),kq=ra("toStringTag"),Mk=of.values,lq=function(b,c){if(b){if(b[Lk]!==Mk)try{Jb(b,Lk,Mk)}catch(d){b[Lk]=Mk}b[kq]||Jb(b,kq,c);if(Ig[c])for(var a in of)if(b[a]!==of[a])try{Jb(b,a,of[a])}catch(d){b[a]=of[a]}}},Yg;for(Yg in Ig)lq(D[Yg]&&D[Yg].prototype,Yg);lq(zp,"DOMTokenList"); I({target:"String",proto:!0,forced:function(b){return K(function(){return!!"\t\n\x0B\f\r \u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"[b]()||"\u200b\u0085\u180e"!=="\u200b\u0085\u180e"[b]()||bk&&"\t\n\x0B\f\r \u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"[b].name!==b})}("trim")},{trim:function(){return Kg(this)}});var mq='input:not([disabled]) select:not([disabled]) textarea:not([disabled]) a[href] button:not([disabled]) audio[controls] video[controls] [contenteditable]:not([contenteditable\x3d"false"])'.split(" "), nq=[].concat(mq,['[tabindex]:not([tabindex^\x3d"-"]):not([disabled])']),tA=[].concat(mq,["[tabindex]:not([disabled])"]),uA=ra("species"),Nk=RegExp.prototype,oq=function(b,c,a,d){var e=ra(b),f=!K(function(){var k={};k[e]=function(){return 7};return 7!=""[b](k)}),g=f&&!K(function(){var k=!1,l=/a/;"split"===b&&(l={constructor:{}},l.constructor[uA]=function(){return l},l.flags="",l[e]=/./[e]);l.exec=function(){k=!0;return null};l[e]("");return!k});if(!f||!g||a){var h=yd(/./[e]);c=c(e,""[b],function(k, l,m,n,r){k=yd(k);var t=l.exec;return t===Sg||t===Nk.exec?f&&!r?{done:!0,value:h(l,m,n)}:{done:!0,value:k(m,l,n)}:{done:!1}});wa(String.prototype,b,c[0]);wa(Nk,e,c[1])}d&&Jb(Nk[e],"sham",!0)},vA=TypeError,Ok=function(b,c){var a=b.exec;if(T(a))return b=W(a,b,c),null!==b&&pa(b),b;if("RegExp"===tb(b))return W(Sg,b,c);throw vA("RegExp#exec called on incompatible receiver");};oq("match",function(b,c,a){return[function(d){var e=Wb(this),f=zc(d)?void 0:ae(d,b);return f?W(f,d,e):(new RegExp(d))[b](L(e))}, function(d){var e=pa(this);d=L(d);var f=a(c,e,d);if(f.done)return f.value;if(!e.global)return Ok(e,d);f=e.unicode;e.lastIndex=0;for(var g=[],h=0,k;null!==(k=Ok(e,d));)k=L(k[0]),g[h]=k,""===k&&(k=ef(e.lastIndex),k+=f?Ek(d,k).length:1,e.lastIndex=k),h++;return 0===h?null:g}]});var pq=Function.prototype,qq=pq.apply,rq=pq.call,db="object"==typeof Reflect&&Reflect.apply||(Yd?rq.bind(qq):function(){return rq.apply(qq,arguments)}),wA=Math.floor,Pk=w("".charAt),xA=w("".replace),Qk=w("".slice),yA=/$([$&'`]|\d{1,2}|<[^>]*>)/g, zA=/$([$&'`]|\d{1,2})/g,AA=function(b,c,a,d,e,f){var g=a+b.length,h=d.length,k=zA;void 0!==e&&(e=Zb(e),k=yA);return xA(f,k,function(l,m){switch(Pk(m,0)){case "$":return"$";case "\x26":return b;case "`":return Qk(c,0,a);case "'":return Qk(c,g);case "\x3c":l=e[Qk(m,1,-1)];break;default:var n=+m;if(0===n)return l;if(n>h)return n=wA(n/10),0===n?l:n<=h?void 0===d[n-1]?Pk(m,1):d[n-1]+Pk(m,1):l;l=d[n-1]}return void 0===l?"":l})},Rk=ra("replace"),BA=Math.max,CA=Math.min,DA=w([].concat),Sk=w([].push),sq= w("".indexOf),tq=w("".slice),EA="$0"==="a".replace(/./,"$0");var uq=/./[Rk]?""===/./[Rk]("a","$0"):!1;var FA=!K(function(){var b=/./;b.exec=function(){var c=[];c.groups={a:"7"};return c};return"7"!=="".replace(b,"$\x3ca\x3e")});oq("replace",function(b,c,a){var d=uq?"$":"$0";return[function(e,f){var g=Wb(this),h=zc(e)?void 0:ae(e,Rk);return h?W(h,e,g,f):W(c,L(g),e,f)},function(e,f){var g=pa(this);e=L(e);if("string"==typeof f&&-1===sq(f,d)&&-1===sq(f,"$\x3c")){var h=a(c,g,e,f);if(h.done)return h.value}(h= T(f))||(f=L(f));var k=g.global;if(k){var l=g.unicode;g.lastIndex=0}for(var m=[];;){var n=Ok(g,e);if(null===n)break;Sk(m,n);if(!k)break;""===L(n[0])&&(n=ef(g.lastIndex),n+=l?Ek(e,n).length:1,g.lastIndex=n)}g="";for(k=l=0;k=l&&(g+=tq(e,l,t)+n,l=t+r.length)}return g+tq(e,l)}]}, !FA||!EA||uq);var Tk=yd([].indexOf),vq=!!Tk&&0>1/Tk([1],1,-0),GA=vq||!zd("indexOf");I({target:"Array",proto:!0,forced:GA},{indexOf:function(b){var c=1d-g+f;h--)Zg(a,h-1)}else if(f>g)for(h=d-g;h>e;h--)l=h+g-1,m=h+f-1,l in a?a[m]=a[l]:Zg(a,m);for(h=0;hb.length||0==b[0]&&(3>b[1]||3==b[1]&&0==b[2])}(),zq=function(b,c){var a=c?2:1;return QA?function(d,e){var f=jc(arguments.length,1)>a,g=T(d)?d:PA(d),h=f?Ad(arguments,a):[];f=f?function(){db(g,this,h)}:g;return c?b(f,e):b(f)}:b},Aq=zq(D.setInterval,!0);I({global:!0,bind:!0,forced:D.setInterval!==Aq},{setInterval:Aq});var Bq=zq(D.setTimeout,!0);I({global:!0,bind:!0,forced:D.setTimeout!==Bq}, {setTimeout:Bq});var Cq=function(b){b.dispatchEvent(new Event("transitionend"))},p=Object.assign({},Ej,{getTabbableElements:function(b){void 0===b&&(b=document);return Array.from(b.querySelectorAll(nq.join(", ")))},isElementTabbable:function(b){return b.matches(nq.join(", "))},getUid:function(){return Math.random().toString(36).slice(2,9)},getFocusableElements:function(b){void 0===b&&(b=document);return Array.from(b.querySelectorAll(tA.join(", ")))},getElementOuterHeight:function(b,c){void 0===c&& (c=null);var a=getComputedStyle(b);if(!c)return a.offsetHeight;var d=b.offsetHeight;c.cssSelectors.forEach(function(e){e.toLowerCase().includes("top")||e.toLowerCase().includes("bottom")?0e;e++)if((k=c(b[e]))&&wd(Pq,k))return k;return new fh(!1)}m=mf(b,f)}for(b=e?b.next:m.next;!(e=W(b,m)).done;){try{k=c(e.value)}catch(n){Ck(m,"throw",n)}if("object"==typeof k&&k&&wd(Pq,k))return k}return new fh(!1)},fB=TypeError,Fc=function(b,c){if(wd(c,b))return b;throw fB("Incorrect invocation");},Wk=function(b,c,a){var d=-1!==b.indexOf("Map"),e=-1!==b.indexOf("Weak"),f=d?"set":"add", g=D[b],h=g&&g.prototype,k=g,l={},m=function(A){var C=w(h[A]);wa(h,A,"add"==A?function(E){C(this,0===E?0:E);return this}:"delete"==A?function(E){return e&&!da(E)?!1:C(this,0===E?0:E)}:"get"==A?function(E){return e&&!da(E)?void 0:C(this,0===E?0:E)}:"has"==A?function(E){return e&&!da(E)?!1:C(this,0===E?0:E)}:function(E,J){C(this,0===E?0:E,J);return this})};if(Cc(b,!T(g)||!(e||h.forEach&&!K(function(){(new g).entries().next()}))))k=a.getConstructor(c,b,d,f),eh.enable();else if(Cc(b,!0)){var n=new k,r= n[f](e?{}:-0,1)!=n,t=K(function(){n.has(1)}),u=Dk(function(A){new g(A)}),B=!e&&K(function(){for(var A=new g,C=5;C--;)A[f](C,C);return!A.has(-0)});u||(k=c(function(A,C){Fc(A,h);A=Lg(new g,A,k);zc(C)||pf(C,A[f],{that:A,AS_ENTRIES:d});return A}),k.prototype=h,h.constructor=k);if(t||B)m("delete"),m("has"),d&&m("get");(B||r)&&m(f);e&&h.clear&&delete h.clear}l[b]=k;I({global:!0,constructor:!0,forced:k!=g},l);Gd(k,b);e||a.setStrong(k,b,d);return k},Ma=function(b,c,a){a.get&&hk(a.get,c,{getter:!0});a.set&& hk(a.set,c,{setter:!0});return cb.f(b,c,a)},Hd=function(b,c,a){for(var d in c)wa(b,d,c[d],a);return b},Qq=ra("species"),Rq=function(b){b=ya(b);R&&b&&!b[Qq]&&Ma(b,Qq,{configurable:!0,get:function(){return this}})},Sq=eh.fastKey,Tq=Ja.set,Xk=Ja.getterFor,Uq={getConstructor:function(b,c,a,d){b=b(function(k,l){Fc(k,e);Tq(k,{type:c,index:Tc(null),first:void 0,last:void 0,size:0});R||(k.size=0);zc(l)||pf(l,k[d],{that:k,AS_ENTRIES:a})});var e=b.prototype,f=Xk(c),g=function(k,l,m){var n=f(k),r=h(k,l),t;r? r.value=m:(n.last=r={index:t=Sq(l,!0),key:l,value:m,previous:l=n.last,next:void 0,removed:!1},n.first||(n.first=r),l&&(l.next=r),R?n.size++:k.size++,"F"!==t&&(n.index[t]=r));return k},h=function(k,l){k=f(k);var m=Sq(l);if("F"!==m)return k.index[m];for(k=k.first;k;k=k.next)if(k.key==l)return k};Hd(e,{clear:function(){for(var k=f(this),l=k.index,m=k.first;m;)m.removed=!0,m.previous&&(m.previous=m.previous.next=void 0),delete l[m.index],m=m.next;k.first=k.last=void 0;R?k.size=0:this.size=0},"delete":function(k){var l= f(this);if(k=h(this,k)){var m=k.next,n=k.previous;delete l.index[k.index];k.removed=!0;n&&(n.next=m);m&&(m.previous=n);l.first==k&&(l.first=m);l.last==k&&(l.last=n);R?l.size--:this.size--}return!!k},forEach:function(k){for(var l=f(this),m=hc(k,1a){a=b.length;d=1;for(var e,f;d=c(a[g],d[h])?a[g++]:d[h++]:gBc;if(!(Xq&&3Zq;var b="",c,a;for(c=65;76>c;c++){var d=String.fromCharCode(c);switch(c){case 66:case 69:case 70:case 72:var e=3;break;case 68:case 71:e=4;break;default:e=2}for(a=0;47>a;a++)Uc.push({k:d+a,v:e})}Uc.sort(function(f,g){return g.v-f.v});for(a=0;aL(a)?1:-1}};I({target:"Array",proto:!0,forced:jB||!kB||!lB||!ar},{sort:function(b){void 0!==b&&Yb(b);var c=Zb(this);if(ar)return void 0===b?$q(c):$q(c,b);var a=[],d=Kb(c),e;for(e=0;ee;)g=a[e++],R&&!wB(c,g)||xB(f,b?[g,c[g]]:c[g]);return f}},yB={entries:hr(!0),values:hr(!1)}.values;I({target:"Object",stat:!0},{values:function(b){return yB(b)}}); var Iu={DATA_MOUNT:'[data-mount\x3d"sticky"]',SHOW_STUCK:".sticky-show-stuck",HIDE_STUCK:".sticky-hide-stuck"},Va={STICKY:"sticky",STUCK:"stuck",GET_HEIGHT:"get-height",STICKY_TOP:"sticky-direction-top",STICKY_BOTTOM:"sticky-direction-bottom"},$c={TOP:"top",BOTTOM:"bottom"},vb={ON_STUCK:"onSticky",ON_UNSTUCK:"onStatic",ON_UPDATE:"onUpdate",ON_REMOVE:"onRemove",RESIZE:"resize"},Gm={DIRECTION:"top",EXTRA_SCROLL_PADDING:12},Tf={ALWAYS:"always",OFF:"off",SIZE_AWARE:"size-aware"},hh=[],qf=v("init"),Zc= v("setUp"),rf=v("getObserverBehavior"),zi=v("setDirectionalProps"),Bi=v("calculateHeights"),sf=v("calculateLooseWidth"),xe=v("onStickyChange"),Ci=v("createObserver"),ad=v("setStickyHeight"),ye=v("setVw"),Di=v("setIsStuck"),Ai=v("onResize"),we=v("updateScrollPadding"),Zk=v("stickyExceedsAcceptedHeight"),Pb=v("setObserverStatus"),Lm=function(){function b(a){var d=this;Object.defineProperty(this,Pb,{value:Ot});Object.defineProperty(this,Zk,{value:Nt});Object.defineProperty(this,we,{value:Mt});Object.defineProperty(this, Ai,{value:Lt});Object.defineProperty(this,Di,{value:Kt});Object.defineProperty(this,ye,{value:Jt});Object.defineProperty(this,ad,{value:It});Object.defineProperty(this,Ci,{value:Ht});Object.defineProperty(this,xe,{value:Gt});Object.defineProperty(this,sf,{value:Ft});Object.defineProperty(this,Bi,{value:Et});Object.defineProperty(this,zi,{value:Dt});Object.defineProperty(this,rf,{value:Ct});Object.defineProperty(this,Zc,{value:Bt});Object.defineProperty(this,qf,{value:At});this.el=a.el;this.direction= Fm(a.direction||this.el.dataset.direction);this.extraScrollPaddingPx="number"===typeof a.extraScrollPaddingPx?a.extraScrollPaddingPx:Gm.EXTRA_SCROLL_PADDING;this.enableObserver=!0;this.observerBehavior=q(this,rf)[rf](a.observerBehavior);this.isStuck=!1;this.observer=null;this.windowScrollY=window.scrollY;this.observedWindowDimensions={width:window.innerWidth,height:window.innerHeight};this.looseWidth=q(this,sf)[sf]();this.el.classList.add(Va.STICKY);q(this,ye)[ye]();this.resizeObserver=new ResizeObserver(function(){requestAnimationFrame(function(){var e= {width:window.innerWidth,height:window.innerHeight};d.looseWidth=q(d,sf)[sf]();q(d,Zc)[Zc](JSON.stringify(e)===JSON.stringify(d.observedWindowDimensions));d.observedWindowDimensions=e})});Array.from(this.el.children).forEach(function(e){d.resizeObserver.observe(e)});q(this,qf)[qf]();hh.push(this)}var c=b.prototype;c.setObserver=function(){switch(this.observerBehavior){case Tf.OFF:q(this,Pb)[Pb](!1);break;case Tf.ALWAYS:q(this,Pb)[Pb](!0);break;default:if(q(this,Zk)[Zk]())q(this,Pb)[Pb](!1);else q(this, Pb)[Pb](!0)}};c.getStuckHeight=function(){return this.stuckHeight};c.update=function(a){void 0===a&&(a={});p.removeEvents(this.events);a.direction&&(this.direction=Fm(a.direction));a.extraScrollPaddingPx&&"number"===typeof a.extraScrollPaddingPx&&(this.extraScrollPaddingPx=a.extraScrollPaddingPx);a.observerBehavior&&(this.observerBehavior=q(this,rf)[rf](a.observerBehavior));q(this,qf)[qf]();this[vb.ON_UPDATE]=new CustomEvent(vb.ON_UPDATE,{bubbles:!0});this.el.dispatchEvent(this[vb.ON_UPDATE])};c.remove= function(){p.removeEvents(this.events);this.resizeObserver.disconnect();this.el.classList.remove(Va.STICKY);q(this,we)[we](!0);q(this,ad)[ad](!0);this.observer.disconnect();var a=hh.indexOf(this);hh.splice(a,1);this[vb.ON_REMOVE]=new CustomEvent(vb.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[vb.ON_REMOVE])};b.getInstances=function(){return hh};return b}(),zB=zd("every");I({target:"Array",proto:!0,forced:!zB},{every:function(b){return bz(this,b,1this.scrollAmount/2&&(this.scrollAmount=this.getItemWidth())};c.calculateScrollSpacing=function(a){void 0===a&&(a=!1);var d=window.getComputedStyle(this.subContainer,null),e=d.paddingRight,f=d.paddingLeft;d=Math.ceil(parseFloat(d.columnGap)||0);if(!a)return d;a=Math.ceil(parseFloat(e)||0);f=Math.ceil(parseFloat(f)||0);return d-a-f};c.calculateOffset=function(){var a=2*parseInt(window.getComputedStyle(this.subContainer,null).getPropertyValue("padding-inline-end"),10),d=0;540window.innerWidth&&32===a?"--root-spacing-2xl":"--root-spacing-xl";var d=getComputedStyle(document.documentElement),e=parseInt(d.fontSize,10);return parseInt(d.getPropertyValue(a), 10)*e};c.adjustCaseStudyCarouselWindowBottomMargin=function(){if(this.isCalculateBottomMargin&&this.carouselControls){var a=this.carouselControls.clientHeight,d=this.getComputedSpacingVariableValue(this.carouselWindowBottomSpacing);this.carouselWindow.style.marginBottom=d+a+"px"}};c.handleResize=function(){this.hasContainer&&this.isSnapAlignStart&&this.setCarouselWindowScrollPadding();1=Math.round(d.left):-1<=Math.round(a.left)-Math.round(e.left)&&Math.round(a.right)<=Math.round(d.right):Math.round(a.left)>=Math.round(d.left)&&Math.round(a.right)<=Math.round(d.right)};c.getCurrentSlideInWindow=function(a,d){var e=d.getBoundingClientRect(); return Array.from(a).find(function(f){f=f.getBoundingClientRect();return Math.ceil(f.left)>=Math.ceil(e.left)&&Math.floor(f.right)<=Math.ceil(e.right)})};c.scrollToNextPage=function(){this.carouselWindow.scrollBy(this.isRTL?-this.scrollAmount:this.scrollAmount,0);this.currentSlideIndex++};c.scrollToPrevPage=function(){this.carouselWindow.scrollBy(-(this.isRTL?-this.scrollAmount:this.scrollAmount),0);this.currentSlideIndex--};c.scrollToTargetPage=function(a){a.preventDefault();a=a.currentTarget;var d= "#"+a.href.split("#")[1],e=this.el.querySelector(d).clientWidth,f=Array.from(this.carouselMediaNav),g=-1;f=M(f.entries());for(var h;!(h=f()).done;){h=h.value;var k=h[0];if(h[1].getAttribute("href")===d){g=k;break}}d=(this.isRTL?-1:1)*g*(e+this.calculateScrollSpacing());this.carouselWindow.scrollTo(d,0);this.currentSlideIndex=g;this.handleActiveIndicator(a)};c.setCarouselWindowScrollPadding=function(){this.carouselWindow.style.setProperty("scroll-padding-inline-start",this.calculateOffset().toString()+ "px")};c.setCarouselSlideTabIndex=function(){var a=this;this.carouselItems.forEach(function(d){var e=p.getTabbableElements(d);1===a.carouselItems.length?(d.setAttribute("tabindex",0),e.forEach(function(f){f.setAttribute("tabindex",0)})):a.inCarouselWindow(d,a.carouselWindow)?(d.setAttribute("tabindex",0),d.removeAttribute("aria-hidden",!0),e.forEach(function(f){f.setAttribute("tabindex",0)})):(d.setAttribute("tabindex",-1),d.setAttribute("aria-hidden",!0),e.forEach(function(f){f.setAttribute("tabindex", -1)}))})};c.updateCustomScreenReaderText=function(){var a=this,d=this.carouselWindow,e=this.carouselItems,f=this.el.querySelector(aa.ANNOUNCEMENT_TEXT),g=0,h=0,k=e.length,l="";e.forEach(function(m,n){a.inCarouselWindow(m,d)&&0===g&&(g=n+1);a.inCarouselWindow(m,d)||0!==h||0===g?n===e.length-1&&0===h&&0!==g&&(h=n+1):h=n});l=g===h?p.interpolateString(f.getAttribute("data-single-slide-translatable"),{curStart:g,totalSlides:k}):p.interpolateString(f.getAttribute("data-multi-slide-translatable"),{curStart:g, curEnd:h,totalSlides:k});0!==g&&0!==h&&(f.textContent=l)};c.update=function(){this.el.dispatchEvent(this.onUpdate)};c.remove=function(){var a;null==(a=this.controls)?void 0:a.remove();p.removeEvents(this.events);a=mh.indexOf(this);mh.splice(a,1);this.onRemove=new CustomEvent("onRemove",{bubbles:!0});this.el.dispatchEvent(this.onRemove)};c.createAndStartAnimationObserver=function(){var a=this;(new MutationObserver(function(d){d=M(d);for(var e;!(e=d()).done;)e=e.value,"attributes"!==e.type||"class"!== e.attributeName||e.target.classList.contains("scroll-snap-mandatory")||a.setScrollSnap(a.carouselWrapperWithAnimation)})).observe(this.carouselWrapperWithAnimation,{attributes:!0})};c.setScrollSnap=function(a){a.classList.contains("animation")&&a.classList.contains("effect-on")&&setTimeout(function(){a.classList.add("scroll-snap-mandatory")},1E3)};c.enableCarouselScrollSnap=function(){this.carouselWrapperWithAnimation?this.createAndStartAnimationObserver():this.carouselWrapper.classList.add("scroll-snap-mandatory")}; b.getInstances=function(){return mh};return b}(),DB=function(){function b(a){var d=this;this.events=[];var e=a.carouselSlides;this.carouselMount=a=a.carouselMount;this.carouselMediaPlaylistVideoContainer=a.closest(aa.MEDIA_PLAYLIST_VIDEO_TYPE);this.carouselContainerClassList=this.carouselMediaPlaylistVideoContainer.classList;this.initialCarouselTheme=null;for(var f=M(this.carouselContainerClassList),g;!(g=f()).done;)if(g=g.value,"theme-day"===g||"theme-night"===g){this.initialCarouselTheme=g;break}this.carouselContainer= a.querySelector(aa.CONTAINER);this.bgClass=null;this.vp3mediaQuery1280px=window.matchMedia("(min-width: 1280px)");this.isDesktopLayout=this.vp3mediaQuery1280px.matches;this.showMoreIndicatorAmount=this.indexShowMoreIndicator=4;this.dataExpandedAriaLabel=this.carouselContainer.getAttribute("data-expanded-aria-label");this.dataCollapsedAriaLabel=this.carouselContainer.getAttribute("data-collapsed-aria-label");if(0=this.indicatorItems.length&&this.showMoreIndicatorBtnWrapper&&this.showMoreIndicatorBtnWrapper.classList.add("d-none")}; c.getCurrentSlideDOMElements=function(a,d){var e=function(n,r){void 0===r&&(r=a);return r.querySelector(n)},f=e(".media"),g=e(".ump-container"),h=e("video",g),k=e(aa.SLIDE_OVERLAY_CONTENT),l=k?e(".block-feature",k):null,m=k?e(aa.SLIDE_OVERLAY_TOGGLE_BTN,k):null;e=m?e("span",m):null;this.slideOverlayBlockFeatures.push(l);return{mediaElement:f,umpContainer:g,umpVideoElement:h,carouselControls:d,slideOverlayContent:k,slideOverlayBlockFeature:l,slideOverlayToggleBtn:m,spanElement:e,isUserInteractedWithVideo:!1, isVolumeHovered:!1,isModalDialogOpen:!1,isControlsAriaExpanded:!1}};c.initSlideElements=function(a,d){var e=d.slideOverlayToggleBtn,f=d.slideOverlayBlockFeature;d=d.carouselControls;f&&(f.setAttribute("aria-live","polite"),f.id=a+"-bf");e&&(e.setAttribute("aria-controls",f.id+" "+d.id),e.setAttribute("aria-label",this.dataCollapsedAriaLabel))};c.bindEvents=function(){var a=this;this.events.push({el:document.defaultView,handler:sa(100,this.handleResize.bind(this)),type:"resize"});this.indicatorItems.forEach(function(d){a.events.push({el:d, handler:a.handleIndicatorClick.bind(a),type:"click"})});this.showMoreIndicatorBtn&&this.events.push({el:this.showMoreIndicatorBtn,handler:this.handleShowMoreIndicatorClickBtn.bind(this,this.listCarouselIndicatorItems),type:"click"});p.addEvents(this.events)};c.handleResize=function(){var a=this;if(this.vp3mediaQuery1280px.matches){var d;"theme-night"===this.initialCarouselTheme&&(this.addOrRemoveNightTheme(!1),this.carouselContainerClassList.add("theme-night"),this.carouselContainerClassList.remove("theme-day")); null==(d=this.sliderArrows)?void 0:d.classList.remove("d-none");this.bgClass&&this.slideOverlayContents.forEach(function(e){null==e?void 0:e.classList.remove(a.bgClass)});this.isDesktopLayout||(this.pausePlayingVideo(!0),(d=this.getActiveSlideIndicator())&&d.click(),this.isDesktopLayout=!0)}else this.setupMobileView(),(d=this.getActiveSlideIndicator())&&d.click(),this.isDesktopLayout=!1};c.handleIndicatorClick=function(){this.pausePlayingVideo()};c.bindEventsToSlideContent=function(a){var d=a.umpContainer.querySelector(".vjs-big-play-button"), e=a.umpContainer.querySelector(".vjs-play-control");d&&e&&(this.events.push({el:d,handler:this.handleUMPPlay.bind(this,a,!0),type:"click"},{el:e,handler:this.handleUMPPlay.bind(this,a,!1),type:"click"}),a.slideOverlayToggleBtn&&this.events.push({el:a.slideOverlayToggleBtn,handler:this.handleSlideOverlayToggleBtn.bind(this,a),type:"click"}),p.addEvents(this.events))};c.handleUMPPlay=function(a,d){if(this.isViewportWidthAtLeast1280px()){var e=a.slideOverlayToggleBtn,f=a.mediaElement,g=a.slideOverlayBlockFeature, h=a.carouselControls,k=a.slideOverlayContent;g&&(this.switchClass("slide-up-animation",null,g),this.hideOverlayHeadingContent(!0,g));h&&(this.switchClass("slide-up-animation",null,h),this.hideOverlayControls(!0));this.switchClass("overlay__target",null,f);k&&(this.switchClass("slide-up-bottom-animation","slide-down-bottom-animation",k),this.switchClass(null,"carousel__overlay-content-hidden",k));e&&(d||!a.isUserInteractedWithVideo?(a.isUserInteractedWithVideo=!0,this.addClassWithDelay("slide-up-animation", "d-none",null,e,500),e.setAttribute("aria-label",this.dataExpandedAriaLabel),e.setAttribute("aria-expanded","true")):(this.switchClass("overlay-visible","overlay-hidden",e),e.setAttribute("aria-label",this.dataCollapsedAriaLabel),e.setAttribute("aria-expanded","false")))}};c.handleShowMoreIndicatorClickBtn=function(a){for(var d,e=0;eBc||!/native code/.test(b)){b=new $a(function(d){d(1)});var a=function(d){d(function(){},function(){})};(b.constructor={})[NB]=a;ol=b.then(function(){})instanceof a;if(!ol)return!0}return!c&&(MB||wr)&&!xr}),OB=ol,Id={},PB=TypeError,QB=function(b){var c,a;this.promise=new b(function(d,e){if(void 0!==c||void 0!==a)throw PB("Bad Promise constructor");c=d;a=e});this.resolve=Yb(c);this.reject=Yb(a)};Id.f=function(b){return new QB(b)}; var RB=function(b,c){try{1==arguments.length?console.error(b):console.error(b,c)}catch(a){}},pl=Ja.getterFor("Promise"),SB=Ja.set,le=$a&&$a.prototype,Jd=$a,qh=le,yr=D.TypeError,ql=D.document,rl=D.process,sl=Id.f,TB=sl,UB=!!(ql&&ql.createEvent&&D.dispatchEvent),zr=function(b){var c;return da(b)&&T(c=b.then)?c:!1},Ar=function(b,c){var a=c.value,d=1==c.state,e=d?b.ok:b.fail,f=b.resolve,g=b.reject,h=b.domain,k;try{if(e){d||(2===c.rejection&&VB(c),c.rejection=1);if(!0===e)var l=a;else if(h&&h.enter(), l=e(a),h){h.exit();var m=!0}l===b.promise?g(yr("Promise-chain cycle")):(k=zr(l))?W(k,l,f,g):f(l)}else g(a)}catch(n){h&&!m&&h.exit(),g(n)}},Br=function(b,c){b.notified||(b.notified=!0,ml(function(){for(var a=b.reactions,d;d=a.get();)Ar(d,b);b.notified=!1;c&&!b.rejection&&WB(b)}))},Cr=function(b,c,a){var d;if(UB){var e=ql.createEvent("Event");e.promise=c;e.reason=a;e.initEvent(b,!1,!0);D.dispatchEvent(e)}else e={promise:c,reason:a};!xr&&(d=D["on"+b])?d(e):"unhandledrejection"===b&&RB("Unhandled promise rejection", a)},WB=function(b){W(hl,D,function(){var c=b.facade,a=b.value;if(1!==b.rejection&&!b.parent){var d=nl(function(){kc?rl.emit("unhandledRejection",a,c):Cr("unhandledrejection",c,a)});b.rejection=kc||1!==b.rejection&&!b.parent?2:1;if(d.error)throw d.value;}})},VB=function(b){W(hl,D,function(){var c=b.facade;kc?rl.emit("rejectionHandled",c):Cr("rejectionhandled",c,b.value)})},me=function(b,c,a){return function(d){b(c,d,a)}},ne=function(b,c,a){b.done||(b.done=!0,a&&(b=a),b.value=c,b.state=2,Br(b,!0))}, tl=function(b,c,a){if(!b.done){b.done=!0;a&&(b=a);try{if(b.facade===c)throw yr("Promise can't be resolved itself");var d=zr(c);d?ml(function(){var e={done:!1};try{W(d,c,me(tl,e,b),me(ne,e,b))}catch(f){ne(e,f,b)}}):(b.value=c,b.state=1,Br(b,!1))}catch(e){ne({done:!1},e,b)}}};if(ke){Jd=function(b){Fc(this,qh);Yb(b);W(ul,this);var c=pl(this);try{b(me(tl,c),me(ne,c))}catch(a){ne(c,a)}};qh=Jd.prototype;var ul=function(b){SB(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new il,rejection:!1, state:0,value:void 0})};ul.prototype=wa(qh,"then",function(b,c){var a=pl(this),d=sl(ir(this,Jd));a.parent=!0;d.ok=T(b)?b:!0;d.fail=T(c)&&c;d.domain=kc?rl.domain:void 0;0==a.state?a.reactions.add(d):ml(function(){Ar(d,a)});return d.promise});var XB=function(){var b=new ul,c=pl(b);this.promise=b;this.resolve=me(tl,c);this.reject=me(ne,c)};Id.f=sl=function(b){return b===Jd||void 0===b?new XB(b):TB(b)};if(T($a)&&le!==Object.prototype){var YB=le.then;OB||wa(le,"then",function(b,c){var a=this;return(new Jd(function(d, e){W(YB,a,d,e)})).then(b,c)},{unsafe:!0});try{delete le.constructor}catch(b){}Sc&&Sc(le,qh)}}I({global:!0,constructor:!0,wrap:!0,forced:ke},{Promise:Jd});Gd(Jd,"Promise",!1);Rq("Promise");var Dr=ke||!Dk(function(b){$a.all(b).then(void 0,function(){})});I({target:"Promise",stat:!0,forced:Dr},{all:function(b){var c=this,a=Id.f(c),d=a.resolve,e=a.reject,f=nl(function(){var g=Yb(c.resolve),h=[],k=0,l=1;pf(b,function(m){var n=k++,r=!1;l++;W(g,c,m).then(function(t){r||(r=!0,h[n]=t,--l||d(h))},e)});--l|| d(h)});f.error&&e(f.value);return a.promise}});var Er=$a&&$a.prototype;I({target:"Promise",proto:!0,forced:ke,real:!0},{"catch":function(b){return this.then(void 0,b)}});if(T($a)){var Fr=ya("Promise").prototype["catch"];Er["catch"]!==Fr&&wa(Er,"catch",Fr,{unsafe:!0})}I({target:"Promise",stat:!0,forced:Dr},{race:function(b){var c=this,a=Id.f(c),d=a.reject,e=nl(function(){var f=Yb(c.resolve);pf(b,function(g){W(f,c,g).then(a.resolve,d)})});e.error&&d(e.value);return a.promise}});I({target:"Promise", stat:!0,forced:ke},{reject:function(b){var c=Id.f(this);W(c.reject,void 0,b);return c.promise}});var vl=function(b,c){pa(b);if(da(c)&&c.constructor===b)return c;b=Id.f(b);var a=b.resolve;a(c);return b.promise};ya("Promise");I({target:"Promise",stat:!0,forced:ke},{resolve:function(b){return vl(this,b)}});var rh=[],Ra={DATA_MOUNT:'[data-mount\x3d"dynamic-content"]',SHOW_DESC_CONTAINER:".dynamic-content__show-description",SHOW_DESC_PRE_TEXT:".dynamic-content__show-pre",SHOW_DESC_OF_TEXT:".dynamic-content__show-of", SHOW_DESC_POST_TEXT:".dynamic-content__show-post",SHOW_DESC_VALUE:".dynamic-content__show-value",SHOW_DESC_TOTAL:".dynamic-content__show-total",LOAD_MORE_CONTAINER:".dynamic-content__load-more",LOAD_MORE_BTN:".dynamic-content__load-more .btn",TEMPLATE_ELEMENTS:".dynamic-content__template *"},Ye=function(){function b(a){this.el=void 0;this.events=[];this.data=void 0;this.onUpdate=new CustomEvent("onUpdate",{bubbles:!0,cancelable:!0});this.el=a.el;this.endpoint=a.endpoint||"";this.initialData=a.initialData|| [];this.data=a.data||this.initialData;this.dataSubset=a.dataSubset||this.data;this.mappingFunc=a.mappingFunc||function(){};this.mappingObj=a.mappingObj||{};this.templateSelector=a.templateSelector||{};this.template=a.template||this.el.querySelector(".dynamic-content__template");this.container=a.container||this.el.querySelector(".dynamic-content__content");this.spinner=this.el.querySelector(".spinner");this.hasIterableLoadMoreData=a.hasIterableLoadMoreData||!1;this.showCountTotal=a.showCountTotal|| !0;this.isFilteredState=a.isFilteredState||!1;this.templateElements=a.templateElements||this.el.querySelectorAll(Ra.TEMPLATE_ELEMENTS);if(this.isPaginationEnabled=a.isPaginationEnabled||!1)this.pageCurrent=0,this.pageMaxItems=a.pageMaxItems||9,this.pagesAvailable=Math.floor(this.dataSubset.length/this.pageMaxItems),this.loadMoreBtn=a.loadMoreBtn||this.el.querySelector(Ra.LOAD_MORE_BTN),this.shouldShowCountTotal()?(this.showPreText=a.showPreText||this.el.querySelector(Ra.SHOW_DESC_PRE_TEXT).innerHTML|| "Showing",this.showOfText=a.showOfText||this.el.querySelector(Ra.SHOW_DESC_OF_TEXT).innerHTML||"of",this.showPostText=a.showPostText||this.el.querySelector(Ra.SHOW_DESC_POST_TEXT).innerHTML||"categories",this.el.querySelector(Ra.SHOW_DESC_PRE_TEXT).innerHTML=this.showPreText,this.el.querySelector(Ra.SHOW_DESC_OF_TEXT).innerHTML=this.showOfText,this.el.querySelector(Ra.SHOW_DESC_POST_TEXT).innerHTML=this.showPostText):this.el.querySelector(Ra.SHOW_DESC_CONTAINER).style.display="none",this.setDataSubset(this.data), this.setPagesAvailable(),this.setShowDescription(),this.events.push({el:this.loadMoreBtn,handler:this.loadMoreData.bind(this),type:"click"});this.toggleSpinner(!0);p.addEvents(this.events);rh.push(this)}var c=b.prototype;c.setEndpoint=function(a){this.endpoint=a};c.setMapping=function(a){this.mappingFunc=a};c.setData=function(a){this.data=a};c.setTemplate=function(a){this.template=a};c.setContainer=function(a){this.container=a};c.setHTML=function(a,d,e){a.querySelector(d).innerHTML=e};c.setPageCurrent= function(a){this.pageCurrent=a};c.setPagesAvailable=function(a){void 0===a&&(a=this.data);this.pagesAvailable=Math.floor(a.length/this.pageMaxItems)};c.setDataSubset=function(){var a=this.pageCurrent*this.pageMaxItems,d=a+this.pageMaxItems;0===this.pageCurrent&&(a=0,d=this.pageMaxItems);this.dataSubset=this.data.slice(a,d)};c.setShowDescription=function(){if(this.shouldShowCountTotal()){var a=this.el.querySelector(Ra.SHOW_DESC_VALUE),d=this.el.querySelector(Ra.SHOW_DESC_TOTAL);a.innerHTML=this.pageMaxItems* this.pageCurrent+this.dataSubset.length;d.innerHTML=this.data.length}};c.hideDescriptionContainer=function(){this.el.querySelector(Ra.SHOW_DESC_CONTAINER).classList.add("d-none")};c.hideLoadMoreContainer=function(){this.el.querySelector(Ra.LOAD_MORE_CONTAINER).classList.add("d-none")};c.toggleSpinner=function(a){void 0===a&&(a=!0);a?(this.isPaginationEnabled&&(this.loadMoreBtn.style.display="none",this.el.querySelector(Ra.SHOW_DESC_CONTAINER).style.display="none"),this.container.style.display="none", this.spinner&&(this.spinner.style.display="block")):(this.isPaginationEnabled&&(this.loadMoreBtn.style.display="block",this.el.querySelector(Ra.SHOW_DESC_CONTAINER).style.display=this.shouldShowCountTotal()?"block":"none"),this.container.style.display="flex",this.spinner&&(this.spinner.style.display="none"))};c.getDataSubset=function(){return this.dataSubset};c.getNextDataSubset=function(){var a=(this.pageCurrent+1)*this.pageMaxItems;return this.data.slice(a,a+this.pageMaxItems)};c.getPageMaxItems= function(){return this.pageMaxItems};c.shouldShowCountTotal=function(){return this.showCountTotal?!0:this.isFilteredState};c.fetchData=function(){var a=this;fetch(this.endpoint).then(function(d){if(d.ok)return d.json()}).then(function(d){a.setData(d)})};c.render=function(a){void 0===a&&(a={});var d={data:a.data||this.data,singleItem:a.data[0]||this.data[0],singleItemIndex:0,template:a.template||this.template,templateSelector:a.templateSelector||this.templateSelector,htmlTemplateClone:a.htmlTemplateClone|| this.template.children[0].cloneNode(!0),container:a.container||this.container,clearContainerContent:a.clearContainerContent||!0,iterableData:a.iterableData||!0,mappingObj:this.mappingObj};Object.keys(a)&&0e.length||(e.forEach(function(f){d.events.push({el:f, handler:d.onCustomerItemClicked.bind(d),type:rb.CLICK})}),this.setActiveCustomerItem(e[0]))};a.setActiveCustomerItem=function(d,e){var f;if(d&&d!==this.activeCustomerItem){this.activeCustomerItem=d;var g=d.getAttribute("data-preview-label")||(null==(f=d.querySelector("p"))?void 0:f.textContent);this.el.querySelector(Je.DROPDOWN_LABEL).textContent=g;this.updateFilterItemsForSelected(d);0!==e&&this.el.dispatchEvent(new CustomEvent(rb.ON_CUSTOMER_ACTIVE_ITEM_CHANGED,{bubbles:!0,detail:d}))}};a.updateFilterItemsForSelected= function(d){this.filterListItems.forEach(function(e){var f=d===e;e.setAttribute("aria-selected",f);e.classList.toggle("selected",f)})};a.onCustomerItemClicked=function(d){this.setActiveCustomerItem(d.currentTarget,d.detail);this.showHideDropdown(!1)};a.showHideDropdown=function(d){var e=this.el;this.menuList.classList.toggle("show",d);e.classList.toggle("active",d);e.setAttribute("aria-expanded",d)};a.fixCustomCheckboxes=function(d){13===d.keyCode&&(d.target.checked=d.target.checked?!1:!0,this.onCheckboxChange(d), d.preventDefault())};a.onCheckboxChange=function(d){var e=this.el.getAttribute("data-selector");if(d.target.checked){var f=d.target.getAttribute("data-filter-checkbox");d.target.classList.add("checked");f&&d.target.dispatchEvent(new CustomEvent(rb.ON_CHECKBOX_CHECKED,{bubbles:!0,detail:[f,!0,e]}))}else f=d.target.getAttribute("data-filter-checkbox"),d.target.classList.remove("checked"),f&&d.target.dispatchEvent(new CustomEvent(rb.ON_CHECKBOX_UNCHECKED,{bubbles:!0,detail:[f,!1,e]}))};a.disablingCheckboxItem= function(d){d=d.detail.querySelector(".checkbox-input");d.checked=!1;d.classList.remove("checked");d.setAttribute("tabindex","-1");this.menuList.querySelectorAll("li.menu-list__list-item--disabled").length===this.filterListItems.length&&(this.el.setAttribute("aria-disabled",!0),this.el.setAttribute("tabindex","-1"),this.el.parentElement.classList.add("dropdown--disabled"))};a.enablingCheckboxItem=function(d){d.detail.querySelector(".checkbox-input").setAttribute("tabindex","0");this.el.setAttribute("aria-disabled", !1);this.el.setAttribute("tabindex","0");this.el.parentElement.classList.remove("dropdown--disabled")};a.clearDropdown=function(){this.filterCheckboxes.forEach(function(d){d.checked=!1;d.classList.remove("checked")})};a.onRadioButtonChange=function(d){if(d.target.checked){var e=d.target.value;e&&d.target.dispatchEvent(new CustomEvent(rb.ON_RADIO_BUTTON_SELECTED,{bubbles:!0,detail:e}))}};a.update=function(){this.el.dispatchEvent(this[rb.ON_UPDATE])};a.remove=function(){this.el.dispatchEvent(this[rb.ON_REMOVE])}; c.getInstances=function(){return Gr};return c}(Hq),Hr=[],gb={ARIA_SELECTED:"aria-selected",TAB_INDEX:"tabindex",DATA_DISMISS_TEXT:"data-dismiss-text",ROLE:"role"},cc={SELECTED:"selected"},na={DATA_FILTER_NAME:"[data-filter-name]",DATA_FILTER_MENU_DROPDOWN:".dropdown",DATA_FILTER_CHECKBOX_LIST_ITEM:".menu-list__list-item",DATA_FILTER_CHECKBOX_LIST_ITEM_DISABLED:".menu-list__list-item--disabled",DATA_FILTER_CLEAR_LINK:".pill-bar--secondary .link-inline",DATA_FILTER_CHECKBOX:"[data-filter-checkbox]", DATA_FILTER_VALUES:"[data-filter-values]",DATA_MOUNT:'[data-mount\x3d"filters"]',DYNAMIC_CONTENT_DATA_MOUNT:'[data-mount\x3d"filters-dynamic-content"]',DATA_TARGET:"[data-target]",SELECTED:"."+cc.SELECTED,DYNAMIC_ADDITIVE_FILTERS:"[dynamic-additive-filters]",CLEAR_ALL:".pill-bar--secondary a",DATA_DISMISS_TEXT:"[data-dismiss-text]",DYNAMIC_ROLE_TOOLBAR_ITEM:".pill-bar--dynamically-added-filters [role\x3dtoolbar] .pill-bar__item"},hg=function(){function b(a){var d=this;this.filterSelections=[];this.additiveFilterSelections= [];this.additiveFilterSelectionsByGroup=[];this.onInit=new CustomEvent("onInit",{bubbles:!0,cancelable:!0});this.onSelect=new CustomEvent("onSelect",{bubbles:!0,cancelable:!0});this.onRemove=new CustomEvent("onRemove",{bubbles:!0,cancelable:!0});this.onUpdate=new CustomEvent("onUpdate",{bubbles:!0,cancelable:!0});this.el=a.el;this.preventUnselect=a.preventUnselect;this.useInitialFilter=a.useInitialFilter;this.isAdditiveFiltersDynamic="true"===this.el.getAttribute("dynamic-additive-filters");this.isDynamicallyAddedFilters= this.el.classList.contains("pill-bar--dynamically-added-filters");this.isAdditiveFiltersDynamic&&(this.additiveFiltersContainer=this.el.querySelector(".pill-bar--secondary")||null,this.dropdownBarData=a.dropdownBarData||[],this.mappingFunc=a.mappingFunc||this.renderAdditiveFiltersDynamcially,0a.key?1:-1});b.updateURL()},forEach:function(b){for(var c=Lb(this).entries,a=hc(b,1?@[\\\]^|]/,NC=/[\0\t\n\r #/:<>?@[\\\]^|]/,OC=/^[\u0000-\u0020]+/,PC=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,QC=/[\t\n\r]/g,RC=function(b){var c=GC(b,"."),a;c.length&&""==c[c.length-1]&&c.length--;var d=c.length;if(4=ks(256,5-d))return null}else if(255g&&ac(ms,h());)f=16*f+Fh(h(),16),e++,g++;if("."==h()){if(0==g)return;e-=g;if(6f)e++;else return;if(!ac(Fl,h()))return;for(;ac(Fl,h());){var k=Fh(h(),10);if(null===g)g=k;else{if(0==g)return;g=10*g+k}if(255c;c++)HC(d,b%256),b=CC(b/256);return Cf(d,".")}if("object"==typeof b){d="";c=null;var e=1;for(var f=null,g=0,h=0;8>h;h++)0!==b[h]?(g>e&&(c=f,e=g),f=null,g=0):(null===f&&(f=h),++g);g>e&&(c=f);e=c;for(c=0;8>c;c++)a&&0===b[c]||(a&&(a=!1),e===c?(d+=c?":":"::",a=!0):(d+=DC(b[c],16),7>c&&(d+=":")));return"["+d+"]"}return b},Hh={},ns=lf({},Hh,{" ":1,'"':1,"\x3c":1,"\x3e":1,"`":1}),os=lf({},ns,{"#":1,"?":1,"{":1,"}":1}),Gl=lf({},os, {"/":1,":":1,";":1,"\x3d":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Xc=function(b,c){var a=aA(b,0);return 32a&&!V(c,b)?b:encodeURIComponent(b)},Ih={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Ff=function(b,c){var a;return 2==b.length&&ac(ls,Mb(b,0))&&(":"==(a=Mb(b,1))||!c&&"|"==a)},ps=function(b){var c;return 1=k&&gr&&Wc(d,yl(r))}for((l=k=d.length)&&Wc(d,"-");l=h&&rpe((2147483647-m)/u))throw Ur("Overflow: input needs wider integers to process"); m+=(t-h)*u;h=t;for(f=0;f=n+26?26:r-n;if(Bt)));B=pe(B/A);r+=36}Wc(d,yl(B+22+75*(26>B)));n=u;r=0;m=l==k?pe(m/700):m>>1;for(m+=pe(m/n);455e&&(n=arguments[e], da(n)&&"cause"in n&&Jb(r,"cause",n.cause));return r});k.prototype=h;"Error"!==b?Sc?Sc(k,a):ik(k,a,{name:!0}):R&&"stackTraceLimit"in g&&(Cs(k,g,"stackTraceLimit"),Cs(k,g,"prepareStackTrace"));ik(k,g);try{h.name!==b&&Jb(h,"name",b),h.constructor=k}catch(l){}return k}},Es=D.WebAssembly,Lh=7!==Error("e",{cause:7}).cause,Md=function(b,c){var a={};a[b]=Ds(b,c,Lh);I({global:!0,constructor:!0,arity:1,forced:Lh},a)},Rl=function(b,c){if(Es&&Es[b]){var a={};a[b]=Ds("WebAssembly."+b,c,Lh);I({target:"WebAssembly", stat:!0,constructor:!0,arity:1,forced:Lh},a)}};Md("Error",function(b){return function(c){return db(b,this,arguments)}});Md("EvalError",function(b){return function(c){return db(b,this,arguments)}});Md("RangeError",function(b){return function(c){return db(b,this,arguments)}});Md("ReferenceError",function(b){return function(c){return db(b,this,arguments)}});Md("SyntaxError",function(b){return function(c){return db(b,this,arguments)}});Md("TypeError",function(b){return function(c){return db(b,this,arguments)}}); Md("URIError",function(b){return function(c){return db(b,this,arguments)}});Rl("CompileError",function(b){return function(c){return db(b,this,arguments)}});Rl("LinkError",function(b){return function(c){return db(b,this,arguments)}});Rl("RuntimeError",function(b){return function(c){return db(b,this,arguments)}});var Fs=1E4,uc={loadScript:function(b,c,a,d){void 0===c&&(c="body");void 0===a&&(a=!0);void 0===d&&(d=!1);return new Promise(function(e,f){if(["body","head"].includes(c)){var g=Array.from(document.getElementsByTagName("script")).find(function(k){return k.src=== b});if(g)e(g);else{var h=document.createElement("script");h.src=b;h.async=a;h.defer=d;h.addEventListener("load",function(){return e(h)});h.addEventListener("error",function(){return f(Error("Failed to load script: "+b))});document[c].append(h)}}else f(Error("Invalid appendLocation: "+c+". Use 'body' or 'head'."))})},NewElementUID:function(){Fs++;return"ocr-"+Fs.toString(36)},normalizeText:function(b){return"string"===typeof b&&b?b.replace(/[\u2018\u2019]/g,"'").replace(/[\u00AB-\u00BB\u201A-\u201F\u3008\u3009\u300C-\u300F\u301D-\u301F]/g, '"').replace(/[\u2012-\u2015]/g,"-").replace(/\s+/g," ").trim():""},toggleSiblingsInert:function(b,c){b&&b.parentElement?Array.from(b.parentElement.children).forEach(function(a){a===b||a.nodeType!==Node.ELEMENT_NODE||["SCRIPT","STYLE","LINK"].includes(a.tagName)||(c?a.setAttribute("inert",""):a.hasAttribute("inert")&&a.removeAttribute("inert"))}):console.warn("toggleSiblingsInert: Invalid element or no parent element found.")}},Mh=[],va={DATA_MOUNT:'[data-mount\x3d"filter-panel-item"]',HEADER:".filter-panel-item__header", BUTTON:".filter-panel-item__header__icon",DISPLAY_BUTTON:".filter-panel-item__subcategories .link",GLYPH:".glyph-prepend",ITEM:".checkbox-dropdown",SUBCATEGORIES:".filter-panel-item__subcategories",SUBCATEGORY:".filter-panel-item__subcategory",BLOCK_HEADING:".block-heading",FILTER_ITEMS:".filter-panel-item__items",CHECKBOX:".ocr-input__input",PARENT_CHECKBOX:function(b){return'[aria-controls~\x3d"'+b+'"]'},CHECKBOX_ID:function(b){return'input[type\x3d"checkbox"][id\x3d"'+b+'"]'}},kd={ON_INIT:"onInit", ON_REMOVE:"onRemove",ON_SELECT:"onSelect",ON_UPDATE:"onUpdate",CLICK:"click",IS_CHECKED:"isChecked",IS_UNCHECKED:"isUnchecked"},An=function(){function b(a){var d=this;this.el=a.el;this.events=[];this.itemsVisible=!1;this.header=this.el.querySelector(va.HEADER);this.button=this.el.querySelector(va.BUTTON);this.displayButton=this.el.querySelector(va.DISPLAY_BUTTON);this.items=this.el.querySelectorAll(va.ITEM);this.panel=this.el.querySelector(va.SUBCATEGORIES);this.checkboxes=this.el.querySelectorAll(va.CHECKBOX); this.displayButton.setAttribute("aria-expanded","false");this.subcategories=this.el.querySelectorAll(va.SUBCATEGORY);a=M(this.subcategories);for(var e;!(e=a()).done;){var f=e.value;e=f.querySelector(va.BLOCK_HEADING);f=f.querySelector(va.FILTER_ITEMS);e.id=uc.NewElementUID();f.setAttribute("aria-labelledby",e.id)}8>=this.items.length&&this.displayButton.classList.add("d-none");this.hideItems();this.events.push({el:this.header,handler:this.onButtonClick.bind(this),type:kd.CLICK},{el:this.displayButton, handler:this.onDisplayClick.bind(this),type:kd.CLICK});this.checkboxes.forEach(function(g){d.events.push({el:g,handler:d.onCheckboxClick.bind(d,g),type:kd.CLICK})});p.addEvents(this.events);Mh.push(this)}var c=b.prototype;c.showItems=function(){for(var a=8;ad)return;var g=d-1}else if(sn(a)){if(e.length===d)return;g=d+1}d=f.querySelector(ha.ITEM_NUMBER(g));this.setActive(d,a)};c.showHidePagination=function(a){var d=this.el; a?d.classList.remove(ba.HIDDEN):d.classList.add(ba.HIDDEN)};c.remove=function(){p.removeEvents(this.events);var a=Nh.indexOf(this);Nh.splice(a,1);this[Mc.ON_REMOVE]=new CustomEvent(Mc.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[Mc.ON_REMOVE])};c.update=function(a){a=a.numberOfPages;var d=this.numberedItems,e=this.el,f=this.paginationAnnouncement;if(a&&1d.length)for(var g=this.paginationList,h=this.paginationItemTemplate,k=this.el,l=this.numberedItems.length+1;l=a;h--)g[h].remove();this.numberedItems=e.querySelectorAll(ha.NUMBERED_ITEMS);g=this.numberedItems;m=this.rightArrow;h=this.firstHorizontal;k=this.secondHorizontal; l=this.paginationList;1>g.length||(l.insertBefore(this.leftArrow,g[0].previousSibling),l.append(m),6>g.length||(m=g[g.length-1],l.insertBefore(h,g[1]),l.insertBefore(k,m)));p.removeEvents(this.events);tn.call(this,{});for(d=M(d);!(g=d()).done;)g.value.classList.remove(ba.HIDDEN);qn.call(this);this.setActive(e.querySelector(ha.ITEM_NUMBER(1)));d=f.getAttribute("data-page-text");f=f.getAttribute("data-of-text");e=e.querySelector(ha.ITEM_NUMBER(1)).querySelector(ha.BUTTON).textContent.replace(/\s+/g, "");this.paginationAnnouncement.textContent=d+" "+e+" "+f+" "+a}this[Mc.ON_UPDATE]=new CustomEvent(Mc.ON_UPDATE,{bubbles:!0});this.el.dispatchEvent(this[Mc.ON_UPDATE])};b.getInstances=function(){return Nh};return b}(),Oh=[],Nc={DATA_MOUNT:'[data-mount\x3d"single-select"]',RADIO_BTN_CONTAINER:".menu-list--single-select .menu-list__item-radio",RADIO_LABEL:".menu-list--single-select .menu-list__item-radio .radio-label",CLEAR_BTN:".menu-list--single-select .clear-div"},Eo=function(){function b(a){var d= this;this.el=a.el;this.events=[];this.radioBtns=this.el.querySelectorAll(Nc.RADIO_BTN_CONTAINER);this.clearBtns=this.el.querySelectorAll(Nc.CLEAR_BTN);this.radioBtns.forEach(function(e,f){d.events.push({el:e,type:"click",handler:d.toggleRadioBtnSelection.bind(d)},{el:e,type:"keydown",handler:function(g){d.handleKeyDown(g,f)}})});this.clearBtns.forEach(function(e){d.events.push({el:e,type:"click",handler:d.hideClearButtonDeselectRadio.bind(d)})});p.addEvents(this.events);Oh.push(this)}var c=b.prototype; c.deselectRadio=function(a,d){a.classList.remove("selected");a.setAttribute("aria-checked","false");a.setAttribute("aria-labelledby",a.querySelector(Nc.RADIO_LABEL).id);d.classList.add("hidden");this.el.dispatchEvent(new CustomEvent("isUnchecked",{bubbles:!0,detail:{checkbox:a}}))};c.toggleRadioBtnSelection=function(a){var d=this;a.preventDefault();var e=a.target.closest(Nc.RADIO_BTN_CONTAINER);a=e?e.nextElementSibling:null;e&&a&&(this.radioBtns.forEach(function(f){f.classList.contains("selected")&& f!==e&&d.deselectRadio(f,f.nextElementSibling)}),e.classList.contains("selected")?e.hasAttribute("unselected-disabled")||this.deselectRadio(e,a):(e.classList.add("selected"),e.setAttribute("aria-checked","true"),e.setAttribute("aria-labelledby",""+e.nextElementSibling.id),a.classList.remove("hidden"),this.el.dispatchEvent(new CustomEvent("isChecked",{bubbles:!0,detail:{checkbox:e}}))))};c.hideClearButtonDeselectRadio=function(a){a.preventDefault();var d=(a=a.target.closest(Nc.CLEAR_BTN))?a.previousElementSibling: null;a&&d&&!d.hasAttribute("unselected-disabled")&&this.deselectRadio(d,a)};c.handleKeyDown=function(a,d){switch(a.keyCode){case 13:case 32:this.toggleRadioBtnSelection(a);break;case 38:case 40:a.preventDefault();a=38===a.keyCode?-1:1;for(var e=0;e=this.radioBtns.length?d=0:0>d&&(d=this.radioBtns.length-1),"true"!==this.radioBtns[d].getAttribute("aria-disabled")){this.radioBtns[d].focus();break}}};c.update=function(){};c.remove=function(){p.removeEvents(this.events); var a=Oh.indexOf(this);Oh.splice(a,1)};b.getInstances=function(){return Oh};return b}(),YC=RangeError,ZC=w(function(b){var c=L(Wb(this)),a="";b=xd(b);if(0>b||Infinity==b)throw YC("Wrong number of repetitions");for(;0>>=1)&&(c+=c))b&1&&(a+=c);return a}),$C=w("".slice),aD=Math.ceil,Gs=function(b){return function(c,a,d){c=L(Wb(c));a=ef(a);var e=c.length;d=void 0===d?" ":L(d);if(a<=e||""==d)return c;a-=e;d=ZC(d,aD(a/d.length));d.length>a&&(d=$C(d,0,a));return b?c+d:d+c}},Yc=Gs(!1);Gs(!0);var bD= /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(Xb);I({target:"String",proto:!0,forced:bD},{padStart:function(b){return Yc(this,b,1=e?(gd=e,He=gd/1440*100):console.warn("Invalid slider steps: "+a+". Using default step of 15 minutes.")}else console.warn("No slider steps defined. Using default step of 15 minutes.");if(a=this.timeSlider.dataset.maxEndTime)(e=id(a))?(eg=60*e.hours+e.minutes,Sd=eg/1440*100):console.warn("Invalid max end time: "+a+". Using default max of 23:45.");this.timeSlider.lastValidStart=this.timeSlider.startLabel.textContent.trim();this.timeSlider.lastValidEnd=this.timeSlider.endLabel.textContent.trim(); this.timeSlider.sliderValues.style.width="calc(100% + "+this.timeSlider.handleEnd.offsetWidth+"px)";un(this.timeSlider,"00:00",a||"23:45");xn.call(this,this.timeSlider.handleStart,!0);xn.call(this,this.timeSlider.handleEnd,!1);yn.call(this,this.timeSlider.handleStart,!0);yn.call(this,this.timeSlider.handleEnd,!1);Tv(this.timeSlider);[this.timeSlider.startLabel,this.timeSlider.endLabel].forEach(function(f,g){var h=0===g;f.addEventListener(Ya.BLUR,Uv.bind(d));f.addEventListener(Ya.KEYDOWN,function(k){k.key=== hd.ENTER&&(k.preventDefault(),f.blur())});f.addEventListener(Ya.KEYDOWN,function(k){k.key===hd.ENTER&&(k.preventDefault(),f.blur());var l=/^[\d:]$/;1!==k.key.length||l.test(k.key)||k.preventDefault()});f.addEventListener(Ya.ON_INPUT,function(k){k=k.target;var l=k.textContent.trim().replace(/[^\d:]/g,""),m=zn(l),n=id((h?d.timeSlider.endLabel:d.timeSlider.startLabel).textContent);l=id(l);var r=!0;m&&n&&l&&(l=60*l.hours+l.minutes,n=60*n.hours+n.minutes,r=h?ln);m&&r?(k.classList.remove(tc.INVALID), Ie(k)):(k.classList.add(tc.INVALID),fg(k,d.timeSlider.errorMessages.invalidTime))})});Ph.push(this)}var c=b.prototype;c.update=function(a){void 0===a&&(a={});a.timeSlider&&(this.timeSlider=a.timeSlider);un(this.timeSlider,"00:00",this.timeSlider.dataset.maxEndTime||"23:45");a=new CustomEvent(Ya.ON_UPDATE,{bubbles:!0,cancelable:!0});this.el.dispatchEvent(a)};c.remove=function(){var a=Ph.indexOf(this);Ph.splice(a,1);this[Ya.ON_REMOVE]=new CustomEvent(Ya.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[Ya.ON_REMOVE])}; b.getInstances=function(){return Ph};return b}(),Ca={DATA_MOUNT:'[data-mount\x3d"dynamically-added-filters"]',PILLBAR_FILTERS:".pill-bar--dynamically-added-filters \x3e ul",HEADER:".search-results__main-panel__header__title",FILTERED_BY_CONTAINER:".search-results__main-panel__header__filtered-by",MOBILE_SHOW_FILTERS_BUTTON:".search-results__main-panel__header__mobile-button-group .btn",MOBILE_HIDE_FILTERS_BUTTON:".search-results__filter-panel__header button",MAIN_PANEL:".search-results__main-panel", FILTER_PANEL:".search-results__filter-panel",FILTER_PANEL_FOOTER:".search-results__filter-panel__footer",FILTER_LIST:"ul.tab-group",FILTER_BUTTONS:'li button:not([data-filter-name\x3d"pill-bar-template"])',CLEAR_ALL_LINK:".clear-all-link",APPLY_FILTERS_BUTTON:".search-results__filter-panel__footer .btn",FILTER_PANEL_ITEMS:".filter-panel",NUMBER_OF_RESULTS:".number-of-results",DATA_FILTER_CHECKBOX:function(b){return'[data-filter-checkbox\x3d"'+b+'"]'},PILL_BAR_FILTER:function(b){return'[data-filter-name*\x3d"'+ b+'"]'}},Sa={CLICK:"click",ON_UPDATE:"onUpdate",ON_REMOVE:"onRemove",ON_RESIZE:"resize",IS_FILTERED:"onDynamicallyAddedFilterIsFiltered",ON_RELEVANCE_CHANGED:"onRelevanceChanged",KEYDOWN:"keydown"},qb={DISPLAY_NONE:"d-none",SHOW_IN_MOBILE_ONLY:"show-in-mobile-only",FILTER_PANEL_MODAL:"filter-panel--modal",MODAL:"modal"},Ke={RELEVANCE_DROPDOWN:"relevance-dropdown",MOBILE_RELEVANCE_DROPDOWN:"mobile-relevance-dropdown",TIME_SLIDER:"data-time-slider"},Qh=[],Jj=function(){function b(a){jw.call(this,a); var d=this.filters,e=this.el;this.pillbarTemplate=a.pillbarTemplate||e.querySelector(Ca.PILL_BAR_FILTER("pill-bar-template"));this.pillbarTemplate.parentNode.classList.add(qb.DISPLAY_NONE);this.pillbarTemplate&&(d.removeFilterSelectionValue("pill-bar-template"),0===d.filterSelections.length&&Le.call(this,!1));this.showFiltersInMobile=a.showFiltersInMobile;this.filterFunctionQueue=a.filterFunctionQueue||[];this.checkboxesSavedState=a.checkboxesSavedState||[];this.activeSortByOption=a.relevanceCheckboxes|| [];this.events=[];this.maxCards=9;0g.filterSelections.length&&Le.call(this,!0);h=h.parentNode.cloneNode(!0);h.classList.remove(qb.DISPLAY_NONE);f.append(h);f=h.querySelector(Ca.PILL_BAR_FILTER("pill-bar-template"));f.setAttribute("data-filter-name",d);f.removeAttribute("id"); f.querySelector("span").textContent=a;h.append(f);a={el:f,type:Sa.CLICK,handler:Bn.bind(this,d)};this.events.push(a);p.addEvents([a]);g.addFilterSelectionValue(d);if(!e&&"true"===!(null!=f&&f.getAttribute(Ke.TIME_SLIDER))){var k;e=(null==(k=document.querySelector(va.CHECKBOX_ID(d)).getAttribute("aria-controls"))?void 0:k.split(" "))||[];for(k=M(e);!(e=k()).done;)e=e.value,e!==d&&g.filterSelections.includes(e)&&this.removeFilter(e)}};c.removeFilter=function(a){var d,e=this,f=this.filters,g=this.el; f.removeFilterSelectionValue(a);1>f.filterSelections.length&&Le.call(this,!1);var h=g.querySelector(va.PARENT_CHECKBOX(a));g=(null==h?void 0:null==(d=h.getAttribute("aria-controls"))?void 0:d.split(" "))||[];(d=this.el.querySelector(Ca.PILL_BAR_FILTER(a)))?d.parentNode.remove():g.forEach(function(k){var l=e.el.querySelector(va.CHECKBOX_ID(k));f.filterSelections.includes(k)?e.removeFilter(k):k!==a&&k!==h.id&&e.addFilter(l.value,k)})};c.removeAllFilters=function(a){var d=this,e=this.isSingleSelect, f=this.el,g=[].concat(this.filters.filterSelections);a.preventDefault();g.forEach(function(h){return d.removeFilter(h)});e?g.forEach(function(h){f.querySelector("#clear-div-"+h).click()}):f.querySelectorAll(va.CHECKBOX).forEach(function(h){h.checked=!1;h.indeterminate=!1});ig.getInstances().forEach(function(h){h.update()});Ud.call(this)};c.updatePaginationAndResults=function(a){var d=this.paginationInstance,e=Math.ceil(a/this.maxCards);this.numberOfResults.forEach(function(f){f.textContent=f.textContent.replace(/\d+/, a)});1 this.pageMaxItems?"block":"none"}a.filteredData&&(this.filteredData=a.filteredData,null===a.pageType||this.pageType!==Oc.SOLUTION_CENTER_LANDING&&a.pageType!==Oc.SOLUTION_CENTER_LANDING||(this.filteredData=this.filterFn.groupCardsBySubcategory(a.filteredData)),this.showAllCards&&(this.filteredData=this.filterFn.ungroupCards(a.filteredData)));a.filterFn&&(this.filterFn=a.filterFn);this.mappingFunc=a.mappingFunc?a.mappingFunc:this.setMappingfunction();a.dynamicContentPostTextOpt1&&(this.dynamicContentPostTextOpt1= a.dynamicContentPostTextOpt1);a.dynamicContentPostTextOpt2&&(this.dynamicContentPostTextOpt2=a.dynamicContentPostTextOpt2);this.dynamicContent.toggleSpinner();this.dynamicContent.update({initialData:this.filteredData,data:this.filteredData,pageMaxItems:this.pageMaxItems,mappingFunc:this.mappingFunc,mappingObj:a.mappingObj||{},templateSelector:a.templateSelector||Pa,isPaginationEnabled:!0,showPostText:this.dynamicContentPostTextOpt1,hasIterableLoadMoreData:this.hasIterableLoadMoreData,showCountTotal:this.showCountTotal, isFilteredState:this.isFilteredState()});this.selectedFilter&&""!==this.selectedFilter&&(a=this.el.querySelector('[data-filter-name\x3d"'+this.selectedFilter+'"]'))&&(a.click(),this.el.scrollIntoView());this.el.dispatchEvent(this[Hb.ON_UPDATE])};b.remove=function(){this.events&&0b?"-":99991/[1].lastIndexOf(1,-0),tD=zd("lastIndexOf"),Ss=Rs||!tD?function(b){if(Rs)return db(Yl,this,arguments)||0;var c=fc(this),a=Kb(c),d=a-1;1d&&(d=a+d);0<=d;d--)if(d in c&&c[d]===b)return d||0;return-1}:Yl;I({target:"Array",proto:!0,forced:Ss!==[].lastIndexOf},{lastIndexOf:Ss});for(var $h={},ai=0;66>ai;ai++)$h["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(ai)]=ai;var Ts=/[^\d+/a-z]/i, uD=/[\t\n\f\r ]+/g,vD=/[=]{1,2}$/,Kf=ya("atob"),wD=String.fromCharCode,xD=w("".charAt),Us=w("".replace),yD=w(Ts.exec),Zl=K(function(){return""!==Kf(" ")}),$l=!K(function(){Kf("a")}),Vs=!Zl&&!$l&&!K(function(){Kf()}),Ws=!Zl&&!$l&&1!==Kf.length;I({global:!0,bind:!0,enumerable:!0,forced:Zl||$l||Vs||Ws},{atob:function(b){jc(arguments.length,1);if(Vs||Ws)return W(Kf,D,b);var c=Us(L(b),uD,""),a="",d=0,e=0,f;0==c.length%4&&(c=Us(c,vD,""));if(1==c.length%4||yD(Ts,c))throw new (ya("DOMException"))("The string is not correctly encoded", "InvalidCharacterError");for(;f=xD(c,d++);)if(V($h,f)){var g=e%4?64*g+$h[f]:$h[f];e++%4&&(a+=wD(255&g>>(-2*e&6)))}return a}});var Ic={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR", c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1}, SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},bi=cb.f,ci=ya("Error"),di;if(!(di=ya("DOMException")))a:{try{var zD=new WeakMap,am;if(!(am=ya("MessageChannel"))){b:{try{if(kc){var Xs=Function('return require("worker_threads")')(); break b}}catch(b){}Xs=void 0}am=Xs.MessageChannel}(new am).port1.postMessage(zD)}catch(b){if("DATA_CLONE_ERR"==b.name&&25==b.code){di=b.constructor;break a}}di=void 0}var Jc=di,AD=Jc&&Jc.prototype,Ys=ci.prototype,BD=Ja.set,CD=Ja.getterFor("DOMException"),DD="stack"in ci("DOMException"),Zs=function(b){return V(Ic,b)&&Ic[b].m?Ic[b].c:0},bm=function(){Fc(this,Lf);var b=arguments.length,c=Dd(1>b?void 0:arguments[0]);b=Dd(2>b?void 0:arguments[1],"Error");var a=Zs(b);BD(this,{type:"DOMException",name:b, message:c,code:a});R||(this.name=b,this.message=c,this.code=a);DD&&(c=ci(c),c.name="DOMException",bi(this,"stack",Db(1,Ql(c.stack,1))))},Lf=bm.prototype=Tc(Ys),cm=function(b){return{enumerable:!0,configurable:!0,get:function(){return CD(this)[b]}}};R&&(Ma(Lf,"code",cm("code")),Ma(Lf,"message",cm("message")),Ma(Lf,"name",cm("name")));bi(Lf,"constructor",Db(1,bm));var Mf=K(function(){return!(new Jc instanceof ci)}),ED=Mf||K(function(){return Ys.toString!==Ug||"2: 1"!==String(new Jc(1,2))}),FD=Mf||K(function(){return 25!== (new Jc(1,"DataCloneError")).code});Mf||25!==Jc.DATA_CLONE_ERR||25!==AD.DATA_CLONE_ERR;I({global:!0,constructor:!0,forced:Mf},{DOMException:Mf?bm:Jc});var Nf=ya("DOMException"),ei=Nf.prototype;ED&&Jc===Nf&&wa(ei,"toString",Ug);FD&&R&&Jc===Nf&&Ma(ei,"code",{enumerable:!0,configurable:!0,get:function(){return Zs(pa(this).name)}});for(var $s in Ic)if(V(Ic,$s)){var at=Ic[$s],fi=at.s,bt=Db(6,at.c);V(Nf,fi)||bi(Nf,fi,bt);V(ei,fi)||bi(ei,fi,bt)}var dm=cb.f,ct=ya("Error"),Of=ya("DOMException"),em=function(){Fc(this, GD);var b=arguments.length,c=Dd(1>b?void 0:arguments[0]);b=Dd(2>b?void 0:arguments[1],"Error");b=new Of(c,b);c=ct(c);c.name="DOMException";dm(b,"stack",Db(1,Ql(c.stack,1)));Lg(b,this,em);return b},GD=em.prototype=Of.prototype,HD="stack"in ct("DOMException"),ID="stack"in new Of(1,2),fm=Of&&R&&Object.getOwnPropertyDescriptor(D,"DOMException"),JD=!!fm&&!(fm.writable&&fm.configurable),dt=HD&&!JD&&!ID;I({global:!0,constructor:!0,forced:dt},{DOMException:dt?em:Of});var Pf=ya("DOMException"),et=Pf.prototype; if(et.constructor!==Pf){dm(et,"constructor",Db(1,Pf));for(var ft in Ic)if(V(Ic,ft)){var gt=Ic[ft],ht=gt.s;V(Pf,ht)||dm(Pf,ht,Db(6,gt.c))}}Gd(ya("DOMException"),"DOMException");var KD=/"/g,LD=w("".replace),it=function(b,c,a,d){b=L(Wb(b));var e="\x3c"+c;""!==a&&(e+=" "+a+'\x3d"'+LD(L(d),KD,"\x26quot;")+'"');return e+"\x3e"+b+"\x3c/"+c+"\x3e"},jt=function(b){return K(function(){var c=""[b]('"');return c!==c.toLowerCase()||3n&&setTimeout(function(){return d.tryAddSurveyButtonTelemetry(m,n+1,r)},100)};this.tryReplaceButtonwithStarSVG=function(m,n){void 0===n&&(n=0);var r=m.closest(G.WEB_CHAT_BUBBLE_CONTENT);r?"true"===r.dataset.requiresStarReplacement&&(d.replaceButtonContentWithStarSvg(m), d.tryAddSurveyButtonTelemetry(m,0,!0)):3>n&&setTimeout(function(){return d.tryReplaceButtonwithStarSVG(m,n+1)},100)};this.onAfterElementRenderedHandler=function(m,n){n.type===window.JsonPollock.TEMPLATE_TYPES.BUTTON&&d.isPostSurveyEnabled&&(d.tryAddSurveyButtonTelemetry(m,0,!1),d.tryReplaceButtonwithStarSVG(m));return m};this.el=l;this.styleOptions=a||PD;this.closeButton=this.el.querySelector(G.CLOSE_BUTTON);this.webChatContainer=this.el.querySelector(G.WEB_CHAT_CONTAINER);this.aiSearchFormComponent= q(this,om)[om]();this.aiChatButton=document.querySelector(G.AI_CHAT_BUTTON);this.aiChatButtonHeader=document.querySelector(G.AI_CHAT_BUTTON_HEADER_TEXT);this.aiChatButtonAnchor=document.querySelector(G.AI_CHAT_BUTTON_ANCHOR);this.aiChatButtonDataMount=null==(e=this.aiChatButton)?void 0:e.querySelector(G.AI_CHAT_BUTTON_DATA_MOUNT);this.headerControls=this.el.querySelector(G.HEADER_CONTROLS);this.previouslyFocusedElem=this.aiDisclaimerDiv=null;this.firstFocusableElem=this.closeButton;this.lastFocusableElem= null;this.chatInitialized=this.webChatTextAreaHadFocus=!1;this.refreshBefore=120;this.refreshAfter=3480;this.tokenEndpoint=this.el.dataset.tokenEndpoint;this.refreshTokenUrl=this.el.dataset.refreshTokenUrl;this.sourceSite=q(this,tm)[tm]();this.tuid=null;this.initialChatTextDelay=2E3;this.messageWaitTimeout=null;this.messageWaitTimeoutDuration=1E5;this.sourceSiteUpdatePromise=this.resolveSourceSiteUpdate=null;q(this,Rf)[Rf]();this.textInputPlaceholder=this.el.dataset.textInputPlaceholder||"Ask a work question or make a request..."; this.isChatPersistEnabled="true"===this.el.dataset.isChatPersistEnabled;this.isInstantiatedByProactiveChat=!1;this.drawerTitleText=this.el.querySelector(G.BLOCK_FEATURE_TITLE).textContent||"AI-powered assistant";this.drawerLivePersonTitleText=this.el.dataset.drawerLivePersonTitleText||"[Live Agent] AI-powered assistant";this.buttonTitleText=this.aiChatButton.querySelector(G.AI_CHAT_BUTTON_TEXT+" span").textContent||"AI-powered assistant";this.buttonLivePersonTitleText=this.el.dataset.buttonLivePersonTitleText|| "[Live Agent] AI-powered assistant";this.connectivityStatusAltFatalString=this.el.dataset.connectivityStatusAltFatal||"Please refresh the page.";this.livePersonInQueueText=this.el.dataset.livePersonInQueueText||"Connecting you to a live agent. Please wait.";this.livePersonUserClosedConversationText=this.el.dataset.livePersonUserClosedConversationText||"Conversation closed by you";this.livePersonAgentClosedConversationText=this.el.dataset.livePersonAgentClosedConversationText||"Conversation closed by agent"; this.livePersonSystemClosedConversationText=this.el.dataset.livePersonSystemClosedConversationText||"Conversation closed by idle system";this.livePersonDisclaimerText=this.el.dataset.livePersonDisclaimerText||"You are now chatting with a live agent.";this.livePersonGenericErrorText=this.el.dataset.livePersonGenericErrorText||"An error occurred. Please try again later.";this.surveyBotDisclaimerText=this.el.dataset.surveyBotDisclaimerText||"You are now chatting with a survey bot.";this.livePersonNoAgentsText= this.el.dataset.noAgentsText||"No agents are available to chat.";this.livePersonSurveyCloseMessage=this.el.dataset.livePersonSurveyCloseMessage||"Thank you for your time";this.livePersonReadText=this.el.dataset.readText||"Read";this.returnToAiChatText=this.el.dataset.returnToAiChatText||"End live chat";this.livePersonDisconnectedReconnectingText=this.el.dataset.livePersonDisconnectedReconnectingText||"You have been disconnected from live agent. Attempting to reconnect...";this.livePersonReconnectedText= this.el.dataset.livePersonReconnectedText||"Reconnected to live agent. You can continue your conversation.";this.livePersonSendingMessageText=this.el.dataset.livePersonSendingMessageText||"Sending";this.livePersonSendFailedText=this.el.dataset.livePersonSendFailedText||"Send failed.";this.retryButtonText=this.el.dataset.retryButtonText||"Retry";this.transcriptIntroText=this.el.dataset.livePersonTranscriptIntroText||"**FULL CONVERSATION TRANSCRIPT:**";this.transcriptContinuedText=this.el.dataset.livePersonTranscriptContinuedText|| "**FULL CONVERSATION TRANSCRIPT (CONTINUED):**";this.transcriptFromUserText=this.el.dataset.livePersonTranscriptFromUserText||"**User:**";this.transcriptFromAssistantText=this.el.dataset.livePersonTranscriptFromAssistantText||"**Assistant:**";this.aiDisclaimerText=this.el.dataset.aiDisclaimer||"AI-generated content may be incorrect";this.closeButtonAriaLabel=this.headerControls?this.headerControls.getAttribute("aria-label"):"Close Dialog";this.chatDrawerAriaLabel=this.el.getAttribute("aria-label")|| "Chatbot Window";this.livePersonMessageCharLimit=8E3;this.webChatSendButton=this.webChatTextarea=this.webChatForm=this.webChatSendBox=this.webChatInstance=this.store=null;this.webChatMaximumCharacters=250;this.uhfHeaderElem=document.querySelector(G.UHF_HEADER);this.uhfNavMenuExpandElem=document.querySelector(G.UHF_MENU_NAV_EXPAND_ELEM);this.uhfHeaderIntersectionObserver=null;this.uhfHeaderIsVisible=!0;this.hideChatBelowHeight=349.9;this.mediaQueryListChatHidden=window.matchMedia("(max-height: "+this.hideChatBelowHeight+ "px)");this.modalDialogBelowWidth=599.9;this.mediaQueryListModalDialog=window.matchMedia("(max-width: "+this.modalDialogBelowWidth+"px)");this.uhfFooterOriginalPadding=(this.uhfFooterElem=document.querySelector(G.UHF_FOOTER))?window.getComputedStyle(this.uhfFooterElem,null).getPropertyValue("padding-bottom"):"";this.debouncedResizeDelay=250;this.stickyNavElem=document.querySelector(G.STICKY_NAV);this.stickyNavMutationObserver=null;this.botGeneratingResponseText=this.el.dataset.botGeneratingResponseText|| "Generating a response";this.botFeedbackPositiveAriaLabel=this.el.dataset.botFeedbackPositiveAriaLabel||"Thumbs up";this.botFeedbackNegativeAriaLabel=this.el.dataset.botFeedbackNegativeAriaLabel||"Thumbs down";this.chatActionTypeLinks=document.querySelectorAll(G.CHAT_ACTION_TYPE_LINK);this.chatActionTypeLinkText=this.el.dataset.chatActionTypeLinkText||"Chat with sales";this.dataConnectorBaseEndpoint=Dw("https:");this.skillId=this.accountId=null;this.isSendTranscript=!1;this.lpSession=this.lpJWT=this.corsBypassQueryStringObj= null;this.lpMessages={};this.startLPChatActivityIds=null!=(f=null==(g=this.getAIChatDrawerCookieObject())?void 0:g[Z.startLPChatActivityIds])?f:[];this.lpOpenConvs=null!=(h=null==(k=this.getAIChatDrawerCookieObject())?void 0:k[Z.lpOpenConvs])?h:{};this.lpSubscriptionId=null;this.lpSubscribedToMessagingEvents=!1;this.curLpChangeSequence=0;this.lpWebsocket=null;this.isPostSurveyEnabled=this.isSurveyTextActionPublished=this.isLivePersonAgentAssigned=this.isLivePersonChatActive=!1;this.isLivePersonChatFeatureEnabled= this.el.dataset.isLPEnabled||!1;this.lpSurveyForcedClosed=!1;this.debouncedChatStateToComposing=ab(3E3,this.chatStateToComposing.bind(this),{atBegin:!0});this.debouncedChatStateToPause=ab(3E3,this.chatStateToPause.bind(this));this.handleLpUserInput=this.handleLpUserInput.bind(this);this.debouncedOnChatActionTypeLinkClick=ab(1E3,this.onChatActionTypeLinkClick.bind(this),{atBegin:!0});q(this,jm)[jm]();q(this,km)[km]();q(this,lm)[lm]();q(this,mm)[mm]();q(this,nm)[nm]();this.onMediaQueryListChatHiddenChange(this.mediaQueryListChatHidden); this.onMediaQueryListModalDialogChange(this.mediaQueryListModalDialog);q(this,sm)[sm]();this.aiChatButton.querySelector(G.AI_CHAT_BUTTON_TEXT+" span").setAttribute("aria-live","off");this.el.querySelector(G.BLOCK_FEATURE_TITLE).setAttribute("aria-live","off");hi.push(this);q(this,im)[im]()}var c=b.prototype;c.addChatActionTypeLinkEvents=function(){var a=this,d=[];this.chatActionTypeLinks.forEach(function(e){var f,g=e.cloneNode(!0);g.removeAttribute("data-oc-chat");g.setAttribute("data-oc-ai-chat", "");g.setAttribute("aria-controls","ai-chat-drawer");"none"===g.style.display&&g.style.removeProperty("display");d.push({el:g,handler:a.debouncedOnChatActionTypeLinkClick,type:O.CLICK});"BUTTON"!==g.tagName&&d.push({el:g,handler:a.debouncedOnChatActionTypeLinkClick,type:O.KEYDOWN});(f=a.events).push.apply(f,d);e.replaceWith(g)});return d};c.hasValidToken=function(){var a=this.getAIChatDrawerCookieObject();if("object"!==typeof a||null===a)return!1;var d=a[Z.token];a=a[Z.tokenCreated];var e=Date.now()/ 1E3;return isNaN(a)?!1:!(!d||"undefined"===d||e-a>this.refreshAfter)};c.onAiSearchFormSubmit=function(a){var d;if(a=null==(d=a.detail)?void 0:d.value)this.aiSearchFormComponent.toggleDisabled(!0),this.chatOpenOrInit(a),this.aiSearchFormComponent.searchInput.value=""};c.onAiChatButtonClick=function(a){if(a.type!==O.KEYDOWN||p.getKeyCode(a)===p.keyCodes.ENTER||p.getKeyCode(a)===p.keyCodes.SPACE)a.preventDefault(),a.stopPropagation(),this.chatOpenOrInit()};c.onKeyDown=function(a){this.el.contains(document.activeElement)&& p.getKeyCode(a)===p.keyCodes.TAB&&(document.activeElement!==this.firstFocusableElem&&document.activeElement!==this.el||!a.shiftKey?document.activeElement!==this.lastFocusableElem||a.shiftKey||(a.preventDefault(),this.firstFocusableElem.focus()):(a.preventDefault(),this.lastFocusableElem.focus()))};c.onDocumentKeyDown=function(a){if(a.ctrlKey&&"F6"===a.key&&!this.el.hidden)if(this.el.contains(document.activeElement)){var d;this.previouslyFocusedElem===document.body||null===(null==(d=this.previouslyFocusedElem)? void 0:d.offsetParent)?this.aiSearchFormComponent?this.aiSearchFormComponent.searchInput.focus():(a=document.querySelector(G.MAIN_CONTENT).querySelector(G.FOCUSABLE_ELEMENTS),null==a?void 0:a.focus()):this.previouslyFocusedElem.focus()}else this.previouslyFocusedElem=document.activeElement,this.webChatTextarea.focus()};c.onChatActionTypeLinkClick=function(a){if(a.type!==O.KEYDOWN||p.getKeyCode(a)===p.keyCodes.ENTER||p.getKeyCode(a)===p.keyCodes.SPACE)a.preventDefault(),this.chatOpenOrInit(this.chatActionTypeLinkText)}; c.renderWebChat=function(){window.WebChat.renderWebChat({locale:q(this,qm)[qm](),directLine:this.directLine,sendTypingIndicator:!0,store:this.store,styleOptions:this.styleOptions,overrideLocalizedStrings:{TEXT_INPUT_PLACEHOLDER:this.textInputPlaceholder,CONNECTIVITY_STATUS_ALT_FATAL:this.connectivityStatusAltFatalString}},this.webChatContainer)};c.setNotification=function(a,d,e,f){void 0===d&&(d=ec.INFO);void 0===e&&(e="");void 0===f&&(f="");if(this.store)return e=e||window.crypto.randomUUID(),a= {type:"WEB_CHAT/SET_NOTIFICATION",payload:{id:e,level:d,message:a}},f&&(a.payload.alt=f),this.store.dispatch(a),e;console.error("Unable to display notification. BotFramework-WebChat store not found.")};c.dismissNotification=function(a){this.store?this.store.dispatch({type:"WEB_CHAT/DISMISS_NOTIFICATION",payload:{id:a}}):console.error("Unable to dismiss notification. BotFramework-WebChat store not found.")};c.checkLivePersonAgentAvailability=function(){var a=ja(H().mark(function g(e,f){var h,k,l,m, n,r;return H().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:void 0===e&&(e=3),void 0===f&&(f=1E3),h=q(this,um)[um](this.dataConnectorBaseEndpoint,"msonecloudapi/lp/check"),k=new Headers,k.append("Content-Type","application/json"),l={method:"POST",headers:k,body:JSON.stringify({metadata:{skillId:this.skillId}})},m=1;case 7:if(!(m<=e)){t.next=34;break}t.prev=8;t.next=11;return fetch(h,l);case 11:n=t.sent;if(n.ok){t.next=14;break}throw Error("Error checking LivePerson agent availability. Response status: "+ n.status);case 14:return t.next=16,n.json();case 16:return r=t.sent,t.abrupt("return",r.availability);case 20:t.prev=20;t.t0=t["catch"](8);console.error("Attempt "+m+" failed: "+t.t0.message);if(!(ma.code)throw Object.assign(Error(a.body),{code:a.code});return a};c.handleLivePersonError=function(a,d,e,f){var g=this;void 0===e&&(e=0);void 0===f&& (f=3);if(e>=f)console.error("Max retries reached for error type "+a.type+":",a),a.type===eb.SEND_MESSAGE_TIMEOUT&&this.handleLivePersonSendMessageTimeout(a.data.messageId),a.type===eb.USER_CLOSE_CONVERSATION_TIMEOUT&&this.returnUIToAIChatBot();else if(!a.code||400<=a.code&&500>a.code)if(429===a.code&&"function"===typeof d)setTimeout(function(){d(e+1).then(function(h){return g.handleLivePersonResponse(h)})["catch"](function(h){return g.handleLivePersonError(h,d,e+1,f)})},1E3);else switch(a.type){case eb.SEND_MESSAGE_TIMEOUT:d(a.data.messageId, e+1);break;case eb.USER_CLOSE_CONVERSATION_TIMEOUT:d(e+1);break;case eb.WEBSOCKET_NOT_OPEN:console.error("LivePerson websocket not open:",a);this.setNotification(this.livePersonGenericErrorText,ec.ERROR);break;case eb.ACCEPT_STATUS_TIMEOUT:d(a.data.sequence,a.data.status,a.data.dialogId,e+1);break;default:console.error("Client-side error:",a),this.setNotification(this.livePersonGenericErrorText,ec.ERROR)}else 500<=a.code&&600>a.code&&(a=[5E3,1E4,15E3],setTimeout(function(){d(e+1).then(function(h){return g.handleLivePersonResponse(h)})["catch"](function(h){return g.handleLivePersonError(h, d,e+1,f)})},a[Math.min(e,a.length-1)]))};c.updateLivePersonMessageStatus=function(a,d,e){if(a=this.lpMessages[e+"-"+a])switch(a.dataset.acceptStatus=d,d){case "READ":this.markMessageAsRead(a)}};c.handleLivePersonConversationNotification=function(a){var d=this;a.changes.forEach(function(e){var f,g=e.result.conversationDetails.state!==ua.conversationStateTypes.CLOSE||e.result.conversationDetails.stage!==ua.conversationStateTypes.CLOSE,h=e.result.conversationDetails.dialogs.find(function(A){return A.state=== ua.conversationStateTypes.OPEN});d.isPostSurveyEnabled=e.result.conversationDetails.state===ua.conversationStateTypes.CLOSE&&e.result.conversationDetails.stage===ua.conversationStateTypes.OPEN;if(g&&h){if(!d.lpOpenConvs[e.result.convId]){var k;d.lpOpenConvs[e.result.convId]={result:{convId:e.result.convId,dialogs:e.result.conversationDetails.dialogs.map(function(A){return{dialogId:A.dialogId,dialogType:A.dialogType}})},activeDialogId:h.dialogId,chatState:0,closeMsgSent:!1};d.updateAIChatDrawerCookie((k= {},k[Z.lpOpenConvs]=d.lpOpenConvs,k));d.webChatSendEvent(O.LIVEPERSON_SAVE_IDS,{skillId:d.skillId,LPConversationID:e.result.convId});d.isSendTranscript&&d.sendTranscriptToLivePerson();d.subscribeToLivePersonMessagingEvents(h.dialogId,e.result.convId);d.lpSubscribedToMessagingEvents=!0}if(e.result.conversationDetails.dialogs.length!==d.lpOpenConvs[e.result.convId].result.dialogs.length){var l;if(e.result.conversationDetails.dialogs.some(function(A){return"POST_SURVEY"===A.dialogType})&&d.lpOpenConvs[e.result.convId]&& !d.lpOpenConvs[e.result.convId].closeMsgSent){var m,n,r;g="";g=e.result.conversationDetails&&"CONSUMER"===e.result.conversationDetails.closeReason?d.livePersonUserClosedConversationText:e.result.conversationDetails&&"AGENT"===e.result.conversationDetails.closeReason?d.livePersonAgentClosedConversationText:d.livePersonSystemClosedConversationText;k=(new Date).toISOString();e.serverTimestamp?k=(new Date(e.serverTimestamp)).toISOString():null!=(m=e.result)&&null!=(n=m.conversationDetails)&&n.dialogs&& (m=e.result.conversationDetails.dialogs.find(function(A){return"MAIN"===A.dialogType&&"CLOSE"===A.state}))&&m.endTs&&(k=(new Date(m.endTs)).toISOString());d.webChatSendMessage(g,k,"lp-system",null,null,null);d.lpOpenConvs[e.result.convId].closeMsgSent=!0;d.updateAIChatDrawerCookie((r={},r[Z.lpOpenConvs]=d.lpOpenConvs,r));d.toggleWebChatUserTextBoxDisabled(!0)}d.lpOpenConvs[e.result.convId].activeDialogId=h.dialogId;d.updateAIChatDrawerCookie((l={},l[Z.lpOpenConvs]=d.lpOpenConvs,l));d.subscribeToLivePersonMessagingEvents(h.dialogId, e.result.convId);d.lpSubscribedToMessagingEvents=!0}d.lpSubscribedToMessagingEvents||(d.subscribeToLivePersonMessagingEvents(h.dialogId,e.result.convId,d.curLpChangeSequence),d.lpSubscribedToMessagingEvents=!0);d.lpOpenConvs[e.result.convId].result={convId:e.result.convId,dialogs:e.result.conversationDetails.dialogs.map(function(A){return{dialogId:A.dialogId,dialogType:A.dialogType}})};d.updateAIChatDrawerCookie((f={},f[Z.lpOpenConvs]=d.lpOpenConvs,f));"UPSERT"===e.type&&(d.isPostSurveyEnabled?d.toggleLivePersonDisclaimer(!0, d.surveyBotDisclaimerText):e.result.conversationDetails.participants.some(function(A){return"ASSIGNED_AGENT"===A.role})?(d.isLivePersonAgentAssigned||(d.toggleLivePersonDisclaimer(!0,d.livePersonDisclaimerText),d.toggleWebChatUserTextBoxDisabled(!1),d.isLivePersonAgentAssigned=!0),d.updateAgentState("ACTIVE")):d.updateAgentState("INACTIVE"))}else if(Object.hasOwn(d.lpOpenConvs,e.result.convId)){var t;if(!d.lpSurveyForcedClosed){var u,B;d.webChatSendMessage(d.livePersonSurveyCloseMessage,(new Date(null== (u=e.result)?void 0:null==(B=u.conversationDetails)?void 0:B.endTs)).toISOString(),"lp-system",null,null,null)}null==(t=d.lpWebsocket)?void 0:t.getClockRequest.cancel();d.debouncedChatStateToComposing.cancel({upcomingOnly:!0});d.debouncedChatStateToPause.cancel({upcomingOnly:!0});d.updateAgentState(0);d.livePersonUnsubscribeExConversations(a.subscriptionId)["finally"](function(){var A;d.lpSubscribedToMessagingEvents=!1;d.curLpChangeSequence=0;d.returnUIToAIChatBot();delete d.lpOpenConvs[e.result.convId]; d.updateAIChatDrawerCookie((A={},A[Z.lpOpenConvs]=d.lpOpenConvs,A))})}})};c.publishToLivePersonWebsocket=function(a,d){void 0===d&&(d=null);return this.lpWebsocket.publishEvent({dialogId:this.lpOpenConvs[Object.keys(this.lpOpenConvs)[0]].activeDialogId,conversationId:Object.keys(this.lpOpenConvs)[0],event:{type:"ContentEvent",contentType:"text/plain",message:a},messageId:d||Math.floor(1E9*Math.random())})};c.acceptStatusToLivePersonWebsocket=function(a,d,e){var f=this;void 0===e&&(e=0);Promise.race([this.lpWebsocket.publishEvent({dialogId:this.lpOpenConvs[Object.keys(this.lpOpenConvs)[0]].activeDialogId, conversationId:Object.keys(this.lpOpenConvs)[0],event:{type:"AcceptStatusEvent",status:a,sequenceList:[d]}}),function(g){return new Promise(function(h,k){return setTimeout(function(){return k(new mc(eb.ACCEPT_STATUS_TIMEOUT,"Accept status to LivePerson timed out",{status:a,sequence:d}))},g)})}(5E3)]).then(function(g){return f.handleLivePersonResponse(g)})["catch"](function(g){f.handleLivePersonError(g,function(h){return f.acceptStatusToLivePersonWebsocket(a,d,h)},e)})};c.onCloseLivePersonWebsocket= function(){var a=ja(H().mark(function f(e){var g=this,h,k,l;return H().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(this.isLivePersonChatActive){m.next=4;break}console.warn("LivePerson websocket closed. event:",e);this.returnUIToAIChatBot();return m.abrupt("return");case 4:if(4401!==e.code&&4407!==e.code){m.next=12;break}console.warn("LivePerson websocket closed - API token expired. event:",e);this.setNotification(this.livePersonSystemClosedConversationText,ec.ERROR);this.lpWebsocket=this.lpWebsocket.ws= null;this.returnUIToAIChatBot();m.next=35;break;case 12:console.warn("LivePerson websocket closed - unknown reason. event:",e);this.isLivePersonAgentAssigned=!1;if(!(0a.length)h=a.length;else{var k=a.lastIndexOf(" ",h);k>e&&(h=k)}e=a.slice(e,h).trim();0this.livePersonMessageCharLimit?this.splitTranscript(e,this.livePersonMessageCharLimit).forEach(function(){var f=ja(H().mark(function k(h){return H().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,a.handleLivePersonSendMessage(h);case 2:return l.next=4,new Promise(function(m){return setTimeout(m,500)});case 4:case "end":return l.stop()}},k)}));return function(h){return f.apply(this, arguments)}}()):this.handleLivePersonSendMessage(e)}else console.error("No messages found in the WebChat transcript")};c.handleFeedbackRequestFromBot=function(a,d){var e=this,f=a.payload.activity.value,g=document.getElementById(f+"-positive");a=document.getElementById(f+"-negative");if(g){var h=g.querySelector("button");h.classList.add("action--ai-feedback");h.setAttribute("aria-label",this.botFeedbackPositiveAriaLabel);h.querySelector("div").setAttribute("aria-hidden","true");h.addEventListener(O.CLICK, function(){e.handleFeedbackButtonClick(d,f,"positive",h)});(g=h.querySelector("img"))&&g.setAttribute("alt","")}if(a){var k=a.querySelector("button");k.classList.add("action--ai-feedback");k.setAttribute("aria-label",this.botFeedbackNegativeAriaLabel);k.querySelector("div").setAttribute("aria-hidden","true");k.addEventListener(O.CLICK,function(){e.handleFeedbackButtonClick(d,f,"negative",k)});(a=k.querySelector("img"))&&a.setAttribute("alt","")}};c.handleIncomingAdaptiveCard=function(a){var d,e;if(null!= (d=a.id)&&d.startsWith("follow-up")){var f=a.id;window.setTimeout(function(){var h=document.getElementById(f);h&&h.closest(G.WEB_CHAT_BUBBLE_CONTENT).classList.add("webchat__bubble__content--follow-up")})}else if(null!=(e=a.body)&&e.length){d=function(){var h,k=g.value;if(null!=(h=k.id)&&h.startsWith("deflection-")){var l=k.id;window.setTimeout(function(){var m,n=null==(m=document.getElementById(l))?void 0:m.closest(G.ARTICLE);if(n){var r=n.querySelectorAll("button");for(m=M(r);!(n=m()).done;)n.value.addEventListener(O.CLICK, function(){for(var t=M(r),u;!(u=t()).done;)u.value.disabled=!0})}});return"break"}};a=M(a.body);for(var g;!(g=a()).done&&"break"!==d(););}};c.handleIncomingActivity=function(a,d){var e,f,g,h,k=a.payload.activity;"message"===k.type&&"bot"===(null==(e=k.from)?void 0:e.role)&&null!=(f=k.attachments)&&f.length&&"AdaptiveCard"===(null==(g=k.attachments[0].content)?void 0:g.type)&&this.handleIncomingAdaptiveCard(k.attachments[0].content);"message"!==k.type||"bot"!==(null==(h=k.from)?void 0:h.role)||this.isLivePersonChatActive|| (e=new Event(O.WEBCHAT_MESSAGE_RECEIVED),window.dispatchEvent(e));this.isLivePersonChatActive&&"message"===k.type&&this.handleLivePersonIncomingActivity(k);"event"===k.type&&k.name===O.FEEDBACK_SENT&&this.handleFeedbackRequestFromBot(a,d);"event"===k.type&&k.name===O.GENERATE_REIMAGINE_UMP&&this.handleReimagineUMPRequest(a,d);if("event"===k.type&&k.name===O.LIVEPERSON_CHAT_START&&!Object.keys(this.lpOpenConvs).length){var l;this.skillId=k.value.skillId;this.accountId=k.value.accountId;this.isSendTranscript= k.value.sendTranscript;this.startLPChatActivityIds.includes(k.id)||(this.startLPChatActivityIds.push(k.id),this.updateAIChatDrawerCookie((l={},l[Z.startLPChatActivityIds]=this.startLPChatActivityIds,l)),this.initLivePersonChat())}};c.getLPIntroMessageElements=function(){return this.el.querySelectorAll('[id^\x3d"form-"], [id^\x3d"greeting-"], [id^\x3d"post-"]')};c.handleWebChatSendMessage=function(){var a=ja(H().mark(function f(e){var g=this;return H().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:document.activeElement=== this.webChatTextarea&&(this.webChatTextAreaHadFocus=!0);e.payload=e.payload||{};e.payload.channelData=Object.assign({},e.payload.channelData,{pageUrl:window.location.href});this.toggleWebChatDisabled(!0);this.messageWaitTimeout=setTimeout(function(){g.toggleWebChatDisabled(!1)},this.messageWaitTimeoutDuration);if(this.sourceSite===this.getAIChatDrawerCookieObject()[Z.sourceSite]){h.next=8;break}h.next=8;return this.updateSourceSite(this.sourceSite);case 8:case "end":return h.stop()}},f,this)}));return function(e){return a.apply(this, arguments)}}();c.chatStateTo=function(){var a=ja(H().mark(function f(e){var g;return H().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return g=Object.keys(this.lpOpenConvs)[0],h.abrupt("return",this.lpWebsocket.publishEvent({dialogId:this.lpOpenConvs[g].activeDialogId,conversationId:Object.keys(this.lpOpenConvs)[0],event:{type:"ChatStateEvent",chatState:e}}));case 2:case "end":return h.stop()}},f,this)}));return function(e){return a.apply(this,arguments)}}();c.chatStateToComposing=function(){try{this.chatStateTo("COMPOSING")}catch(a){console.error("Error setting user chat state to COMPOSING:", a)}};c.chatStateToPause=function(){try{this.chatStateTo("PAUSE")}catch(a){console.error("Error setting user chat state to PAUSE:",a)}};c.getIsHidden=function(){return null!==this.el.getAttribute("data-is-hidden")};c.handleLpUserInput=function(){this.debouncedChatStateToComposing();this.debouncedChatStateToPause()};c.handleLivePersonSendMessage=function(a,d,e){var f=this;void 0===d&&(d=null);void 0===e&&(e=0);var g=a.startsWith(this.transcriptIntroText)||a.startsWith(this.transcriptContinuedText); a=(new DOMParser).parseFromString(a,"text/html").body.textContent;if(!d&&!g){d=Math.floor(1E9*Math.random());g=(new Date).toISOString();var h=q(this,Sf)[Sf]();this.webChatSendMessage(a,g,"user",h,d,null);setTimeout(function(){var k=f.webChatTranscriptElem.querySelector('[data-lp-message-id\x3d"'+d+'"]');if(k){var l,m=null==(l=f.lpOpenConvs[Object.keys(f.lpOpenConvs)[0]])?void 0:l.activeDialogId;m&&(k.dataset.lpMessageDialogId=m,k.dataset.lpMessageSequence="pending")}k=new CustomEvent(O.LIVEPERSON_MESSAGE_RENDERED, {detail:{messageId:d}});window.dispatchEvent(k)},0)}Promise.race([this.publishToLivePersonWebsocket(a,d),function(k){return new Promise(function(l,m){return setTimeout(function(){return m(new mc(eb.SEND_MESSAGE_TIMEOUT,"Send message to LivePerson timed out",{messageId:d}))},k)})}(5E3)]).then(function(k){var l;f.handleLivePersonResponse(k);var m=f.webChatTranscriptElem.querySelector('[data-lp-message-id\x3d"'+k.reqId+'"]');m&&0<=(null==(l=k.body)?void 0:l.sequence)&&(m.dataset.lpMessageDialogId=f.lpOpenConvs[Object.keys(f.lpOpenConvs)[0]].activeDialogId, m.dataset.lpMessageSequence=k.body.sequence,f.markMessageAsSent(m))})["catch"](function(k){k.data.messageId=d;f.handleLivePersonError(k,function(l,m){return f.handleLivePersonSendMessage(a,l,m)},e)})};c.handleLivePersonIncomingActivity=function(a){var d=this,e=a.text,f=a.id,g=a.sequence;if(e){var h=new MutationObserver(function(l,m){l=M(l);for(var n;!(n=l()).done;)if(n=n.value,"childList"===n.type){n=M(n.addedNodes);for(var r;!(r=n()).done;)if(r=r.value,r.nodeType===Node.ELEMENT_NODE){var t=r.querySelector(G.WEB_CHAT_BUBBLE); if(t&&uc.normalizeText(t.textContent)===uc.normalizeText(e)){var u;switch(null==(u=a.from)?void 0:u.role){case "lp-system":t.classList.add("webchat__bubble--lp-system-message");u=r.querySelector(G.WEB_CHAT_STATUS);null==u?void 0:u.classList.add("sr-only");break;case "user":if(u=t.closest(G.ARTICLE))u.dataset.lpMessageId=f,null!==g&&void 0!==g&&0<=g?(u.dataset.lpMessageDialogId=d.lpOpenConvs[Object.keys(d.lpOpenConvs)[0]].activeDialogId,u.dataset.lpMessageSequence=g):u.dataset.lpMessageSequence&&"pending"!== u.dataset.lpMessageSequence||d.markMessageAsSending(u);break;case "bot":if(u=t.closest(G.ARTICLE))u.dataset.lpMessageDialogId=d.lpOpenConvs[Object.keys(d.lpOpenConvs)[0]].activeDialogId,u.dataset.lpMessageSequence=g}m.disconnect();return}}}}),k=document.querySelector(G.WEB_CHAT_TRANSCRIPT);h.observe(k,{childList:!0,subtree:!0})}else console.error("No text found in LivePerson message activity")};c.handleLivePersonSendMessageTimeout=function(a){var d=this.webChatTranscriptElem.querySelector('[data-lp-message-id\x3d"'+ a+'"]');d?(d.dataset.lpMessageSequence=-1,this.markMessageAsSendFailed(d)):console.error("Message element with messageId "+a+" not found")};c.handleReimagineUMPRequest=function(a){if(ump){var d=a.payload.activity.value;a=d.dataVideo;d=d.messageId;var e=document.getElementById(""+d);e?(e.innerHTML=q(this,hm)[hm],d=e.querySelector("universal-media-player"),ump(d,a)):console.error("UMP container with messageId "+d+" not found")}else console.error("UMP is not defined")};c.handleFeedbackButtonClick=function(a, d,e,f){var g=f.querySelector("img").src;g&&"positive"===e?f.querySelector("img").setAttribute("src","data:image/svg+xml,%3Csvg class\x3d'image is-down is-filled ___12fm75w f1w7gpdv fez10in fg4l7m0' fill\x3d'%230067b8' aria-hidden\x3d'true' width\x3d'16' height\x3d'16' viewBox\x3d'0 0 16 16' xmlns\x3d'http://www.w3.org/2000/svg'%3E%3Cpath d\x3d'M9.58 1.05c-.75-.2-1.34.35-1.55.87-.24.6-.45 1.02-.7 1.53-.16.3-.33.65-.53 1.09-.48 1-.95 1.65-1.3 2.04a4.06 4.06 0 0 1-.5.49h-.02L3.11 8.19a2 2 0 0 0-.86 2.43l.52 1.38a2 2 0 0 0 1.28 1.2l5.35 1.69a2.5 2.5 0 0 0 3.15-1.68l1.36-4.65A2 2 0 0 0 12 6h-1.38l.2-.74c.13-.56.24-1.2.23-1.74-.01-.5-.06-1.02-.27-1.46-.22-.48-.6-.83-1.19-1Zm-4.6 6.03Z' %3E%3C/path%3E%3C/svg%3E"): g&&"negative"===e&&f.querySelector("img").setAttribute("src","data:image/svg+xml,%3Csvg class\x3d'image is-down is-filled ___12fm75w f1w7gpdv fez10in fg4l7m0' fill\x3d'%230067b8' aria-hidden\x3d'true' width\x3d'16' height\x3d'16' viewBox\x3d'0 0 16 16' xmlns\x3d'http://www.w3.org/2000/svg'%3E%3Cpath d\x3d'M13.1 4.62a3.5 3.5 0 0 0-4.38-2.73L3.77 3.27a2 2 0 0 0-1.43 1.56l-.23 1.2c-.16.87.46 1.64 1.16 1.93.25.1.55.25.85.46a8.22 8.22 0 0 1 3.02 3.92l.28.7c.14.38.28.73.41 1 .11.23.25.46.42.63.19.19.44.33.75.33.36 0 .67-.12.91-.34.24-.2.4-.48.5-.76.22-.55.29-1.25.3-1.9a14.73 14.73 0 0 0-.13-2h.51a2.5 2.5 0 0 0 2.46-2.96l-.46-2.42Z' %3E%3C/path%3E%3C/svg%3E"); a({type:"DIRECT_LINE/POST_ACTIVITY",meta:{method:"keyboard"},payload:{activity:{channelData:{postBack:!0},name:"feedback"+e+"Request",type:"event",text:d,value:{sourceSite:this.sourceSite}}}})};c.handlePreConnect=function(){var a=new Event(O.WEBCHAT_CONNECT_INITIATED);window.dispatchEvent(a)};c.handleConnectFulfilled=function(a){a({meta:{method:"keyboard"},payload:{activity:{channelData:{postBack:!0,pageUrl:window.location.href},name:"startConversation",type:"event",value:{sourceSite:this.sourceSite, leadId:this.getLeadId()}}},type:"DIRECT_LINE/POST_ACTIVITY"});a=new Event(O.WEBCHAT_CONNECT_FULFILLED);window.dispatchEvent(a)};c.handlePostActivityFulfilled=function(a,d){var e=a.payload.activity;a=e.type;e=e.name;if("event"===a&&"startConversation"===e){var f=new Event(O.START_CONVERSATION_FULFILLED);f.data=d;window.dispatchEvent(f)}"event"===a&&"sourceSiteEvent"===e&&this.resolveSourceSiteUpdate()};c.setIsHidden=function(a){a?(this.el.setAttribute("data-is-hidden",""),this.showChatButton(!1)): (this.el.removeAttribute("data-is-hidden"),a=this.addChatActionTypeLinkEvents(),a.length&&p.addEvents(a))};c.markMessageAsSending=function(a){this.appendBulletedSpanToStatusMessage(a,this.livePersonSendingMessageText)};c.markMessageAsSent=function(a){this.removeBulletedSpanFromStatusMessage(a)};c.markMessageAsSendFailed=function(a){var d=this;if(a){var e=a.querySelector(G.WEB_CHAT_STATUS);if(e){e.innerHTML="";var f=document.createElement("span");f.textContent=this.livePersonSendFailedText;e.append(f); f=document.createElement("a");f.setAttribute("role","button");f.setAttribute("href","#");f.textContent=this.retryButtonText;f.dataset.biCompnm="AI Chat Drawer";f.dataset.biId="ai-chat-drawer";f.dataset.biCn=this.retryButtonText;f.dataset.biEcn="Retry";var g=function(h){h.preventDefault();(h=a.querySelector(G.WEB_CHAT_BUBBLE_CONTENT).textContent)?d.handleLivePersonSendMessage(h):console.error("No message text found in message bubble")};f.addEventListener(O.CLICK,g);f.addEventListener(O.KEYDOWN,function(h){"Enter"!== h.key&&" "!==h.key||g(h)});e.append(f)}else console.error("No status message found in message element")}else console.error("No message element found")};c.markMessageAsRead=function(a){this.appendBulletedSpanToStatusMessage(a,this.livePersonReadText)};c.appendBulletedSpanToStatusMessage=function(a,d){var e;a&&(!(a=a.querySelector(G.WEB_CHAT_STATUS))||null!=(e=a.textContent)&&e.includes(d)||(e=document.createElement("span"),e.innerHTML="\x26bull; "+d,a.append(e)))};c.removeBulletedSpanFromStatusMessage= function(a){if(a&&(a=a.querySelector(G.WEB_CHAT_STATUS))){a=a.querySelectorAll("span");a=M(a);for(var d;!(d=a()).done;)d=d.value,d.textContent.startsWith("\u2022")&&d.remove()}};c.onUhfHeaderIntersect=function(a){var d=this;a.forEach(function(e){e.isIntersecting?(d.uhfHeaderIsVisible=!0,document.addEventListener(O.SCROLL,d.boundOnScrollWithUhfVisible,!1),d.boundOnScrollWithUhfVisible()):(d.uhfHeaderIsVisible=!1,document.removeEventListener(O.SCROLL,d.boundOnScrollWithUhfVisible,!1),d.el.style.top= 0,d.el.style.height="100%")})};c.onStickyNavMutation=function(a){var d=this;a.forEach(function(e){if(e.target.getAttribute("class")!==e.oldValue&&!e.target.classList.contains("get-height")&&!e.oldValue.includes("get-height"))if(e.target.classList.contains("stuck"))e=d.stickyNavElem.getBoundingClientRect().bottom,d.el.style.top=e+"px",d.el.style.height="calc(100% - "+e+"px)";else if(d.uhfHeaderElem&&0d||this.direction===Xe.BOTTOM&&a>window.innerHeight? !0:!1};c.setObserverStatus=function(a){this.doesSentinelExceedBoundary()&&(pd.call(this),a?this.el.classList.add(sb.STUCK):this.el.classList.remove(sb.STUCK));this.enableObserver=a};c.update=function(a){void 0===a&&(a={});var d="string"===typeof a.direction?Pn(a.direction):this.direction,e="boolean"===typeof a.enableSmoothTransition?a.enableSmoothTransition:this.enableSmoothTransition,f="number"===typeof a.extraScrollPaddingPx?a.extraScrollPaddingPx:this.extraScrollPaddingPx,g=Sn.call(this),h=g.hidden; this.visibleElementsHeight=g.visible;this.direction!==d&&(this.direction=d,Tn.call(this),this.extraScrollPaddingPx=f,pd.call(this,[!0]));this.extraScrollPaddingPx!==f&&(this.extraScrollPaddingPx=f,pd.call(this,[!0]));if(this.enableSmoothTransition!==e||this.hiddenElementsHeight!==h)this.enableSmoothTransition=e,this.hiddenElementsHeight=h,this.rootMarginOffset=this.enableSmoothTransition?h:0,Un.call(this);a.observerBehavior&&(this.observerBehavior=Qn.call(this,a.observerBehavior));zj.call(this);this[Za.ON_UPDATE]= new CustomEvent(Za.ON_UPDATE,{bubbles:!0});this.el.dispatchEvent(this[Za.ON_UPDATE]);return this};c.remove=function(){window.mwf.Util.removeEvents(this.events);this.el.classList.remove(sb.STICKY);pd.call(this,[!0]);this.sentinel.remove();this.observer.disconnect();var a=ki.indexOf(this);ki.splice(a,1);this[Za.ON_REMOVE]=new CustomEvent(Za.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[Za.ON_REMOVE])};b.getInstances=function(){return ki};return b}(),mt=!0;"findIndex"in[]&&Array(1).findIndex(function(){mt= !1});I({target:"Array",proto:!0,forced:mt},{findIndex:function(b){return xp(this,b,1=xa.MD);this.scrollWindow=this.el.querySelector(ka.SCROLL_WINDOW); this.tableEl=this.el.querySelector(ka.TABLE);(a=this.el.querySelector(ka.SUBHEADING))&&ix(a);(this.stickyHeading=this.el.querySelector(ng.DATA_MOUNT))&&this._initStickyHeading();(this.enableScroll=!this.el.classList.contains(qa.TWO_COLUMN))&&this._initMobileScroll();this._syncStickyHeadingWhenTableVisible();this._alignSkuContent();this._updateCollapseTriggersAndShowTargets();p.addEvents(this.events);li.push(this)}var c=b.prototype;c._initMobileScroll=function(){this.prevButton=this.el.querySelector(ka.PREV_BUTTON); this.nextButton=this.el.querySelector(ka.NEXT_BUTTON);this.columns=jx(this.el);this.isGridLayout=!!this.el.querySelector(ka.CSS_GRID_HEAD_ROW);this.currentColumnIndex=0;this.scrollable?(this._updateColumnIndex(0),this._adaptScrollingEndPadding()):this._toggleScrollButtons();this.events.push({el:this.prevButton,handler:this._handlePrevButtonClick.bind(this),type:Ib.CLICK_DATA_API},{el:this.nextButton,handler:this._handleNextButtonClick.bind(this),type:Ib.CLICK_DATA_API},{el:this.scrollWindow,handler:ab(100, this._reCalculateColumnIndex.bind(this)),type:Ib.SCROLL_DATA_API});var a=new ResizeObserver(sa(100,this._handleResize.bind(this)));a.observe(this.scrollWindow);this.observers.push(a)};c._syncStickyHeadingWhenTableVisible=function(){var a=this;if(this.tabPanel=this.el.closest(ka.TAB_PANEL)){var d=new MutationObserver(function(e){e.forEach(function(f){"class"===f.attributeName&&a.tabPanel.classList.contains(qa.SHOW)&&a._adjustStuckStickyHeadingStyles()})});d.observe(this.tabPanel,{attributes:!0});this.observers.push(d)}}; c._adaptScrollingEndPadding=function(){var a=this._getPaddingInline(this.isRTL),d=this.el.querySelector(ka.TABLE_BODY),e=this.el.querySelector(ka.TABLE_THEAD);d.style.paddingInlineEnd=a;e&&(e.style.paddingInlineEnd=a)};c._generatePlaceholderElement=function(){var a=document.createElement("tr");a.setAttribute(Qa.ARIA_HIDDEN,!0);Array.from(this.stickyHeading.children).forEach(function(d){d=document.createElement("TH"===d.tagName?"th":"td");d.ariaHidden=!0;d.style.display="none";a.append(d)});return a}; c._initStickyHeading=function(){var a,d=this,e;this.stickyInstance=this._getStickyInstance();this.stickyHeading.classList.contains(qa.STUCK_SHOW_COLUMN_TITLE)&&(Vn(this.el,this.stickyHeading),this.stickyInstance.update());if(this.stickyHeading.classList.contains(qa.STUCK_SHOW_HEAD_COLUMN_TITLE)){Vn(this.el,this.stickyHeading);var f=this.el.querySelector(ka.HEAD_CELL_TEXT),g=this.stickyHeading.querySelector(ka.TABLE_ROW_HEAD_CELL_CONTENT);f&&g&&(g.append(f.cloneNode(!0)),g.querySelector(ka.H2).setAttribute(Qa.ARIA_HIDDEN, !0));this.stickyInstance.update()}this.isStickyHeaderGridLayout=!(null==(a=this.stickyHeading)||!a.classList.contains(qa.TABLE_ROW_CSS_GRID_ALIGNMENT));this.placeholderRow=this._generatePlaceholderElement();this.placeholderRow.classList.add(qa.PLACEHOLDER_ROW);this.stickyHeading.parentElement.insertBefore(this.placeholderRow,this.stickyHeading);if(this.modal=this.el.closest(ka.MODAL))a=new MutationObserver(function(h){h.forEach(function(k){"class"===k.attributeName&&d.modal.classList.contains(qa.SHOW)&& d._adjustStuckStickyHeadingStyles()})}),a.observe(this.modal,{attributes:!0,attributeFilter:["class"]}),this.observers.push(a);if(this.stickyModalHeader=null==(e=this.modal)?void 0:e.querySelector(ka.STICKY_MODAL_HEADER))e=new IntersectionObserver(function(h){h.forEach(function(k){k.isIntersecting?(d._toggleFixedSticky(xc.SIZE_AWARE),d.stickyInstance.sentinel.style.position="relative",d.stickyInstance.sentinel.style.top="-"+d.stickyModalHeader.clientHeight+"px"):d._toggleFixedSticky(xc.OFF)})}),e.observe(this.stickyModalHeader), this.observers.push(e);e=new IntersectionObserver(function(h){h.forEach(function(k){k.isIntersecting?d._toggleFixedSticky(xc.SIZE_AWARE):d._toggleFixedSticky(xc.OFF)})});e.observe(this.scrollWindow);this.observers.push(e);e=new MutationObserver(function(h){h.forEach(function(k){if("class"===k.attributeName){k=d.stickyHeading.classList.contains(qa.STUCK);var l=d.stickyHeading.querySelector(ka.TABLE_ROW_HEAD_CELL_CONTENT+" "+ka.H2),m=d.stickyHeading.querySelector(ka.TABLE_ROW_HEAD_CELL_CONTENT+" ."+ qa.BTN_COLLAPSE);d._togglePlaceHolderRowHeight(k);d.stickyInstance.contentDivTarget.style.marginTop="";d.stickyModalHeader&&(d.stickyHeading.style.marginTop=k?d.stickyModalHeader.clientHeight+"px":"",d.stickyHeading.style.paddingInlineEnd=k?d.modal.offsetWidth-d.modal.clientWidth+"px":"");d._syncStickyHeadingWidth();k&&d._syncStickyHeadingScrollPosition();d.stickyHeading.classList.contains(qa.STUCK_SHOW_HEAD_COLUMN_TITLE)&&d._updateAriaHiddenAttributes(k,l,m)}})});e.observe(this.stickyHeading,{attributes:!0, attributeFilter:["class"]});this.observers.push(e);this.events.push({el:document.defaultView,handler:sa(100,function(){d._adjustStuckStickyHeadingStyles();d._syncStickyHeadingScrollPosition();d._syncStickyHeadingWidth()}),type:Ib.RESIZE_DATA_API},{el:this.stickyHeading,handler:function(){d._adjustStuckStickyHeadingStyles();d._togglePlaceHolderRowHeight(!0)},type:Za.ON_STUCK},{el:this.stickyHeading,handler:function(){d._togglePlaceHolderRowHeight(!1)},type:Za.ON_UNSTUCK},{el:this.scrollWindow,handler:function(){d._syncStickyHeadingScrollPosition()}, type:Ib.SCROLL_DATA_API})};c._alignSkuContent=function(){var a=this.tableEl.querySelectorAll("thead .ocr-table-cell:has(.sku)");if(a&&0!==a.length){var d=window.innerWidth>=xa.MD,e=this.el.querySelector(ka.STICKY_HEADING),f=this.tableEl.querySelectorAll("thead .ocr-table-cell .tag");if(null!=e&&e.classList.contains(qa.STUCK))a.forEach(function(k){var l=k.querySelector(".sku");l&&requestAnimationFrame(function(){l.style.marginTop="0px"})});else{d||a.forEach(function(k){var l=k.querySelector(".tag"); l&&requestAnimationFrame(function(){l.style.marginBottom="0px"})});var g=0;f.forEach(function(k){k=k.offsetHeight;k>g&&(g=k)});d=a[0].querySelector(".ocr-table-cell__content");var h=getComputedStyle(d).getPropertyValue("gap");a.forEach(function(k){var l=k.querySelector(".tag");if(l)requestAnimationFrame(function(){l.offsetHeight=k+m-e-f)&&(h=l)});this.currentColumnIndex!==h&&this._updateColumnIndex(h)};c._updateColumnIndex=function(a){var d=this;this.columns.forEach(function(e,f){d._toggleColumnFocus(e,f===a)});this.currentColumnIndex=a;this._toggleScrollButtons()}; c._getPaddingInline=function(a){var d=this.tableEl.getBoundingClientRect(),e=d.left;d=d.right;return a?document.documentElement.clientWidth-d+"px":e+"px"};c._toggleScrollButtons=function(){this.prevButton&&this.nextButton&&(0===this.currentColumnIndex?this.prevButton.setAttribute(Qa.DISABLED,!0):this.prevButton.removeAttribute(Qa.DISABLED),this.currentColumnIndex===this.columns.length-1?this.nextButton.setAttribute(Qa.DISABLED,!0):this.nextButton.removeAttribute(Qa.DISABLED))};c._toggleColumnFocus= function(a,d){a.forEach(function(e){p.getTabbableElements(e).forEach(function(f){d?f.removeAttribute(Qa.TABINDEX):f.setAttribute(Qa.TABINDEX,-1)})})};c._resetColumnFocus=function(){p.getTabbableElements(this.el).forEach(function(a){a.removeAttribute(Qa.TABINDEX)})};c._handlePrevButtonClick=function(){var a=this.currentColumnIndex-1;0>a||(this._updateColumnIndex(a),this._handleScroll())};c._handleNextButtonClick=function(){var a=this.currentColumnIndex+1;a>=this.columns.length||(this._updateColumnIndex(a), this._handleScroll())};c._handleScroll=function(){var a=Wn(this.columns[this.currentColumnIndex]),d=a.offsetLeft;a=a.offsetWidth;var e=parseFloat(getComputedStyle(this.tableEl).paddingInlineStart);this.scrollWindow.scrollTo({behavior:"smooth",left:d-(this.isRTL?this.tableEl.offsetWidth-a-e:e)})};c._handleResize=function(){var a=!(window.innerWidth>=xa.MD);this._alignSkuContent();a&&(this._reCalculateColumnIndex(),this._adaptScrollingEndPadding());a!==this.scrollable&&((this.scrollable=a)||this._resetColumnFocus())}; c._getStickyInstance=function(){var a=this;return Mj.getInstances().find(function(d){return d.el===a.stickyHeading})};c._toggleFixedSticky=function(a){this.stickyInstance.observerBehavior!==a&&this.stickyInstance.update({observerBehavior:a})};c._adjustStuckStickyHeadingStyles=function(){var a=window.innerWidth>=xa.MD;if(a){var d=this.tableEl.getBoundingClientRect(),e=d.left;d=d.right;this.stickyHeading.style.paddingInlineStart=(this.isRTL?document.documentElement.clientWidth-d:e)+"px"}else e=this._getPaddingInline(this.isRTL), this.stickyHeading.style.paddingInline=e;e=this.stickyHeading.children;var f=this.stickyHeading.classList.contains(qa.STUCK_SHOW_HEAD_COLUMN_TITLE)?this.el.querySelector(ka.HEAD_ROW).children:this.stickyHeading.nextElementSibling.children;this.isStickyHeaderGridLayout?(e=Array.from(e).map(function(g,h){g=f[h];return a||0!==h?g.offsetWidth+"px":"0px"}).join(" "),this.stickyHeading.style.gridTemplateColumns=e):Array.from(e).forEach(function(g,h){g.style.flexBasis=f[h].offsetWidth+"px"})};c._syncStickyHeadingScrollPosition= function(){this.stickyHeading.scrollLeft=this.scrollWindow.scrollLeft};c._syncStickyHeadingWidth=function(){this.modal&&(this.stickyHeading.style.width=this.stickyInstance.isStuck?Math.floor(this.modal.clientWidth)+"px":"")};c._togglePlaceHolderRowHeight=function(a){this.placeholderRow.style.height=a?this.stickyInstance.stickyElementHeight+"px":""};c._updateAriaHiddenAttributes=function(a,d,e){d&&(a?d.removeAttribute(Qa.ARIA_HIDDEN):d.setAttribute(Qa.ARIA_HIDDEN,!0));e&&(a?e.setAttribute(Qa.ARIA_HIDDEN, !0):e.removeAttribute(Qa.ARIA_HIDDEN))};c._updateCollapseTriggersAndShowTargets=function(){var a=this.el.querySelectorAll(ka.MULTI_COLLAPSE),d=new Set;a.forEach(function(e){var f,g=e.getAttribute(Qa.DATA_EXPAND)||"true";e.setAttribute(Qa.ARIA_EXPANDED,g.toString());e=null==(f=e.getAttribute(Qa.DATA_TARGET))?void 0:f.replace(/#/g,"");null==e?void 0:e.split(",").forEach(function(h){d.add([h.trim(),g])})});d.forEach(function(e){var f=e[1];if(e=document.getElementById(e[0]))e.classList.add(qa.COLLAPSE), "true"===f.toString()?e.classList.add(qa.SHOW):e.classList.remove(qa.SHOW)})};c.update=function(){this[Ib.ON_UPDATE]=new CustomEvent(Ib.ON_UPDATE,{bubbles:!0});this.el.dispatchEvent(this[Ib.ON_UPDATE])};c.remove=function(){this.observers.forEach(function(d){d.disconnect()});p.removeEvents(this.events);this[Ib.ON_REMOVE]=new CustomEvent(Ib.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[Ib.ON_REMOVE]);var a=li.indexOf(this);li.splice(a,1)};b.getInstances=function(){return li};return b}(),Xd={DATA_MOUNT:"[data-mount\x3d'proactive-chat']", CLOSE_BUTTON:".proactive-chat__header .btn",CANCEL_LINK:".proactive-chat__body .link-inline",OPEN_CHAT_BUTTON:".proactive-chat__body .btn",HEADER_TITLE:".proactive-chat__header__title",BLOCK_FEATURE_TITLE:".proactive-chat__body .block-feature__title"},mi=[],Bo=function(){function b(a){var d,e,f,g,h,k,l,m=this;this.el=a.el;this.aiChatDrawer=a.aiChatDrawer||kx.call(this);this.blockFeatureTitle=a.blockFeatureTitle||this.el.querySelector(Xd.BLOCK_FEATURE_TITLE);this.cancelLink=a.cancelLink||this.el.querySelector(Xd.CANCEL_LINK); this.cancelLinkTextElement=null==(d=this.cancelLink)?void 0:d.querySelector(".link__text");this.closeButton=a.closeButton||this.el.querySelector(Xd.CLOSE_BUTTON);this.headerTitle=a.headerTitle||this.el.querySelector(Xd.HEADER_TITLE);this.isOptionTwo=this.el.classList.contains("proactive-chat--option-2");this.popupDelay=this.el.getAttribute("data-popup-delay")||15E3;this.openChatButton=a.openChatButton||this.el.querySelector(Xd.OPEN_CHAT_BUTTON);this.openChatButtonTextElement=null==(e=this.openChatButton)? void 0:e.querySelector(".btn__text");this.blockFeatureTitleText=(null==(f=this.blockFeatureTitle)?void 0:f.textContent)||"AI-powered assistant is available 24x7.";this.cancelLinkText=(null==(g=this.cancelLinkTextElement)?void 0:g.textContent)||"No thanks";this.closeButtonAriaLabel=(null==(h=this.closeButton)?void 0:h.getAttribute("aria-label"))||"Close this popup";this.headerTitleText=(null==(k=this.headerTitle)?void 0:k.textContent)||"Can we help you?";this.openChatButtonText=(null==(l=this.openChatButtonTextElement)? void 0:l.textContent)||"Chat now";mx.call(this);this.popupTimeout=setTimeout(function(){m.showHidePopup(!0)},this.popupDelay);this.events=[{el:this.closeButton,type:"click",handler:function(n){return m.hidePopover(n)}},{el:this.cancelLink,type:"click",handler:function(n){return m.hidePopover(n)}},{el:this.cancelLink,type:"keydown",handler:function(n){return m.hidePopover(n)}},{el:this.openChatButton,type:"click",handler:function(n){return m.openChat(n)}}];p.addEvents(this.events);lx.call(this);mi.push(this)} var c=b.prototype;c.hidePopover=function(a){if("keydown"!==a.type||" "===a.key||"Enter"===a.key)this.aiChatDrawer.updateAIChatDrawerCookie({hideProactiveChat:!0}),this.showHidePopup(!1,a)};c.openChat=function(a){var d=this.aiChatDrawer;this.showHidePopup(!1);d.isInstantiatedByProactiveChat=!0;d.onAiChatButtonClick(a)};c.showHidePopup=function(a,d){var e=this.el,f=this.aiChatDrawer;null==d?void 0:d.preventDefault();null==d?void 0:d.stopPropagation();d=f.getAIChatDrawerCookieObject();d=null==d?void 0: d.hideProactiveChat;var g=this.aiChatDrawer.getIsHidden();a=a&&!f.chatInitialized&&!d&&!g;e.classList.toggle("d-none",!a);f.showChatButton(!a)};c.remove=function(){p.removeEvents(this.events);clearTimeout(this.popupTimeout);var a=mi.indexOf(this);mi.splice(a,1);this.onRemove=new CustomEvent("onRemove",{bubbles:!0});this.el.dispatchEvent(this.onRemove)};c.update=function(){};b.getInstances=function(){return mi};return b}(),ni=[],Cb={BREADCRUMBS_LIST:".breadcrumbs__list",BREADCRUMBS_ITEMS:".breadcrumbs__item", BREADCRUMBS_COLLAPSED_ITEMS:".breadcrumbs__collapsed-item",BREADCRUMBS_BTN_EXPAND:".breadcrumbs__btn-expand .btn",DATA_MOUNT:'[data-mount\x3d"ocr-breadcrumbs"]',LINK_TAG:"a",BREADCRUMBS_LINK_TEXT:".link__text",HERO_MEDIA_HAS_BREADCRUMBS:".hero-media",HERO_MEDIA_MEDIA_SLOT:".hero-media__media .media__slot",SECTION_MASTER_BREADCRUMBS_CONTAINER:".section-master__breadcrumbs",HERO_ARTICLE_BREADCRUMBS_CONTAINER:".hero-article__breadcrumbs"},Do=function(){function b(a){this.resizeObserver=this.el=this.breadcrumbsList= void 0;this.events=[];this.el=a.el;this.breadcrumbsList=this.el.querySelector(Cb.BREADCRUMBS_LIST);this.breadcrumbItems=this.breadcrumbsList.querySelectorAll(Cb.BREADCRUMBS_ITEMS);this.collapsedViewItems=this.breadcrumbsList.querySelectorAll(Cb.BREADCRUMBS_COLLAPSED_ITEMS);this.breadcrumbsBtnExpand=this.breadcrumbsList.querySelector(Cb.BREADCRUMBS_BTN_EXPAND);this.currentPageLink=this.breadcrumbItems[this.breadcrumbItems.length-1].querySelector(Cb.LINK_TAG);this.currentPageLink.setAttribute("aria-current", "page");this.events.push({el:this.breadcrumbsBtnExpand,type:"click",handler:this.showAllBreadcrumbs.bind(this)},{el:this.currentPageLink,type:"click",handler:function(d){d.preventDefault()}});3this.getCountOfNonEmptyStringLabel()&&(this.hideBreadcrumbs(), this.hideBreadcrumbs(Cb.SECTION_MASTER_BREADCRUMBS_CONTAINER),this.hideBreadcrumbs(Cb.HERO_ARTICLE_BREADCRUMBS_CONTAINER),a&&a.style.setProperty("--breadcrumbs-height","0px"));p.addEvents(this.events);ni.push(this)}var c=b.prototype;c.handleResizeObserver=function(a){if(a&&0e;)d=""+a+Math.random().toString(36).slice(2,11),e++;return d};c.update=function(){this.el.dispatchEvent(this.onUpdate)};c.remove=function(){p.removeEvents(this.events);var a=ri.indexOf(this);ri.splice(a,1);this.onRemove=new CustomEvent("onRemove",{bubbles:!0});this.el.dispatchEvent(this.onRemove)}; b.getInstances=function(){return ri};return b}(),si=[],td={DATA_MOUNT:'[data-mount\x3d"featured-cards-interactive"]',FEATURED_CARDS:".featured-cards",INTERACTIVE_BTN:".interactive-btn",CARD_MEDIA:".featured-cards__card-media",FEATURED_CARDS_CONTAINER:".featured-cards__cards",CARD_INTERACTIVE:'[data-mount\x3d"card-interactive"]',FEATURED_CARDS_DEFAULT_MEDIA:".featured-cards__default-media"},Ko=function(){function b(a){this.el=void 0;this.events=[];this.observers=[];this.el=a.el;this.isDesktop=window.matchMedia("(min-width: "+ xa.MD+"px)");this.isLargeDesktop=window.matchMedia("(min-width: "+xa.XL+"px)");this.interactiveBtnList=this.el.querySelectorAll(td.INTERACTIVE_BTN);this.cardMediaList=this.el.querySelectorAll(td.CARD_MEDIA);this.cardsContainer=this.el.querySelector(td.FEATURED_CARDS_CONTAINER);this.interactiveCards=this.el.querySelectorAll(td.CARD_INTERACTIVE);this.cardsCount=this.interactiveCards.length;this.currentHeight=this.cardCounter=0;this.timeoutId=null;this.featuredCardsDefaultMediaImgElem=(this.featuredCardsDefaultMedia= this.el.querySelector(td.FEATURED_CARDS_DEFAULT_MEDIA))?this.featuredCardsDefaultMedia.querySelector("img"):null;this.initObservers();this.init();this.events.push({el:document.defaultView,handler:ab(500,this.handleResize.bind(this)),type:"resize"});si.push(this);this.events.length&&p.addEvents(this.events)}var c=b.prototype;c.initObservers=function(){var a=this,d=new MutationObserver(function(f){f.forEach(function(g){"aria-expanded"===g.attributeName&&a.updateImage(g.target)})});this.interactiveBtnList.forEach(function(f){d.observe(f, {attributes:!0});a.observers.push(d)});var e=new MutationObserver(function(f){f.forEach(function(g){"data-expanded-card-height"===g.attributeName&&a.setTheHeightOfDefaultImage(g.target)})});this.interactiveCards.forEach(function(f){e.observe(f,{attributes:!0});a.observers.push(e)})};c.init=function(){var a=this;this.el.closest(td.FEATURED_CARDS).style.padding="0";this.cardsContainer&&setTimeout(function(){a.setCardContainerFlexLayout()},1E3)};c.updateImage=function(a){var d="true"===a.getAttribute("aria-expanded"); a=Array.from(this.interactiveBtnList).indexOf(a);this.featuredCardsDefaultMediaImgElem&&this.cardMediaList[a]&&(d?(this.cardMediaList[a].classList.remove("d-none"),this.featuredCardsDefaultMedia.style.opacity=0):(this.cardMediaList[a].classList.add("d-none"),this.featuredCardsDefaultMedia.style.opacity=1))};c.handleResize=function(){this.setCardContainerFlexLayout();this.updateDefaultImageOnMobile()};c.setCardContainerFlexLayout=function(){this.cardsContainer&&(this.cardsContainer.style.alignItems= this.isDesktop.matches?"flex-end":"unset")};c.updateDefaultImageOnMobile=function(){this.featuredCardsDefaultMediaImgElem&&!this.isDesktop.matches&&(this.featuredCardsDefaultMedia.style.opacity=1,this.featuredCardsDefaultMediaImgElem.style.height="auto")};c.setTheHeightOfDefaultImage=function(a){var d=this,e=this.isLargeDesktop.matches?400:300;this.cardCounter++;1===this.cardCounter&&(this.timeoutId=setTimeout(function(){d.cardCounter=0;d.currentHeight=0},5E3));this.featuredCardsDefaultMediaImgElem&& (a=parseInt(a.getAttribute("data-expanded-card-height"),10))&&a>this.currentHeight&&(this.currentHeight=a);this.cardCounter===this.cardsCount&&(this.featuredCardsDefaultMediaImgElem.style.height=this.currentHeight+e+"px",this.currentHeight=this.cardCounter=0,clearTimeout(this.timeoutId))};c.update=function(){this.el.dispatchEvent(this.onUpdate)};c.remove=function(){p.removeEvents(this.events);var a=si.indexOf(this);si.splice(a,1);this.onRemove=new CustomEvent("onRemove",{bubbles:!0});this.el.dispatchEvent(this.onRemove)}; b.getInstances=function(){return si};return b}();I({target:"String",proto:!0,forced:jt("link")},{link:function(b){return it(this,"a","href",b)}});var ot=[],vg={DATA_MOUNT:'[data-mount\x3d"clipboard-share"]',LINK:".link",LINK_TEXT:".link__text",ICON:".ocr-icon .glyph-prepend"},Lo=function(){function b(a){this.events=[];this.el=a.el;this.link=this.el.querySelector(vg.LINK);this.url=window.location.href;this.link&&(this.linkText=this.link.querySelector(vg.LINK_TEXT),this.icon=this.link.querySelector(vg.ICON), this.link.setAttribute("role","button"));this.events.push({el:this.el,handler:this.handleClick.bind(this),type:"click"},{el:this.el,handler:this.handleKeyDown.bind(this),type:"keydown"});p.addEvents(this.events);ot.push(this)}var c=b.prototype;c.handleKeyDown=function(a){p.getKeyCode(a)===p.keyCodes.SPACE&&this.handleClick(a)};c.handleClick=function(a){a.preventDefault();if(navigator.clipboard&&this.linkText&&this.icon)try{navigator.clipboard.writeText(this.url),this.icon.classList.remove("glyph-prepend-copy"), this.icon.classList.add("glyph-prepend-check-mark"),this.linkText.textContent=this.el.dataset.copiedText,this.link.ariaLabel=this.el.dataset.copiedText}catch(d){this.linkText.textContent=this.el.dataset.copiedErrorText}else this.linkText.textContent=this.el.dataset.copiedErrorText};c.update=function(){this.el.dispatchEvent(b.onUpdate)};c.remove=function(){var a=this.constructor.getInstances().indexOf(this);p.removeEvents(this.events);this.constructor.getInstances().splice(a,1);this.el.dispatchEvent(b.onRemove)}; b.getInstances=function(){return ot};return b}(),jb={DATA_MOUNT:'[data-mount\x3d"sticky"]',DATA_COMPONENT_ID:"[data-component-id]",DATA_BLADE_TYPE:'[data-ocr-type\x3d"blade"]',DROPDOWN_ITEM:".menu-list__item-link",ANCHOR:".anchor",DROPDOWN_DATA_MOUNT:'[data-mount\x3d"m365-dropdown"]',DROPDOWN_MENU:".dropdown-menu",SECONDARY_NAV:".secondary-nav",NAV_TAG:".secondary-sticky-nav nav",JUMPLINKS:".jumplinks-item__link",SECONDARY_NAV_CONTAINER:".container",NAV_TITLE:".block-feature__title"},kb={HREF:"href", ARIA_LABEL:"aria-label",ROLE:"role",TABINDEX:"tabindex",CLASS:"class",ID:"id",DATA_GENERATE_REGION_SR_TEXT:"data-generate-region-sr-text",DATA_MOUNT:"data_mount",DATA_TARGET:"data-target",DATA_ACTIVE_CLASS:"data-active-class",ARIA_LABELLED_BY:"aria-labelledby"},wx={SCROLLSPY:"ocr-scrollspy"},Dj={SHOW:"show",ACTIVE:"active",SELECTED:"selected"},pt=[],Jx=function(){function b(c){var a=this;this.el=c.el;vx.call(this);Ax.call(this);this.dropdownItems=this.el.querySelectorAll(jb.DROPDOWN_ITEM);0===this.dropdownItems.length&& (this.dropdownItems=this.el.querySelectorAll(jb.JUMPLINKS));this.generateRegionSRTextFromStickyNav="true"===this.el.getAttribute(kb.DATA_GENERATE_REGION_SR_TEXT);this.viewport=Ej.detectViewport();yx.call(this);pt.push(this);new Lm({el:this.el});c=qg.getInstances();this.dropdownList=[];c.length&&c.forEach(function(d){d.el.closest(jb.SECONDARY_NAV)&&(d.show=function(){this.onShow=new CustomEvent("onShow",{bubbles:!0,cancelable:!0});this.el.dispatchEvent(this.onShow);if(!this.onShow.defaultPrevented){var e= document.body.clientWidth;this.shown=!0;this.el.classList.add(Dj.ACTIVE);this.menu&&(this.menu.classList.add(Dj.SHOW),this.boundingRect={el:this.el.getBoundingClientRect(),menu:this.menu.getBoundingClientRect(),parent:this.parent.getBoundingClientRect(),window:{width:e}},this.positionMenu());this.el.setAttribute("aria-expanded",this.shown)}},a.dropdownList.push(d))});this.events=[{el:window,type:"resize",handler:sa(200,zx.bind(this))}];p.addEvents(this.events)}b.getInstances=function(){return pt}; return b}(),vm=function(){function b(a,d){this.el=void 0;this.events=[];if(this.constructor===b.prototype.constructor)throw Error("Abstract class ComponentBase can't be instantiated.");this.el=a.el;d&&(this.events=this.events.concat(d));p.addEvents(this.events);this.constructor.getInstances().push(this)}var c=b.prototype;c.update=function(){this.el.dispatchEvent(b.onUpdate)};c.remove=function(){var a=this.constructor.getInstances().indexOf(this);p.removeEvents(this.events);this.constructor.getInstances().splice(a, 1);this.el.dispatchEvent(b.onRemove)};b.getInstances=function(){throw Error("Abstract method getInstances() must be implemented.");};return b}();vm.onRemove=new CustomEvent("onRemove",{bubbles:!0,cancelable:!0});vm.onUpdate=new CustomEvent("onUpdate",{bubbles:!0,cancelable:!0});var Fx={DATA_PARENT:"data-parent"},Bb={DATA_MOUNT:'[data-mount\x3d"accordion-stepper"]',DATA_MOUNT_COLLAPSE:'[data-mount\x3d"collapse"]',ACCORDION_BODY:".accordion-body",COLLAPSE:".collapse",SHOW:".show",COLLAPSE_ACTIVE:".collapse.show", SECTION_MASTER:".section-master",LOGO_GRID:".logo-grid",LOGO_GRID_ITEM:".logo-grid__item",LOGO_GRID_ITEM_TAB:".logo-grid__item-tab",LOGO_GRID_ITEM_CONTENT:".logo-grid__item-content",LOGO_GRID_CONTENT_CONTAINER:".logo-grid__content-container",CONTAINER:".container",LOGO_IMG:".logo-grid__item-tab img"},Pc={CLICK:"click",RESIZE:"resize",LOAD:"load",ON_UPDATE:"onUpdate",ON_REMOVE:"onRemove"},Gj={SHOW:"show",COLLAPSED:"collapsed"},rg={EXPANDED:"aria-expanded",DISABLED:"disabled"},sg={EMPTY:"",TRUE:"true", FALSE:"false"},wm=[],SD=ab(200,function(b){b=M(b);for(var c;!(c=b()).done;)c=c.value,c.parentElement.classList.contains(Gj.SHOW)&&lo(c)}),Kx=function(b){function c(d){var e=d.el,f=[];window.mwf&&(window.mwf.Collapse.getInstances().forEach(function(n){return f.push(Ex(e,n))}),f.splice.apply(f,[0,f.length].concat(f.filter(function(n){return void 0!==n}))));var g=Dx(e,f);d=b.call(this,d,g)||this;d.el=void 0;d.accordionChildren=void 0;d.collapseContentsResizeObserver=null;d.collapseButtonsResizeObserver= null;d.el=e;d.accordionChildren=f;var h=e.querySelectorAll(Bb.LOGO_GRID_CONTENT_CONTAINER);g=e.querySelectorAll(Bb.LOGO_GRID_ITEM_TAB+" button"+Bb.DATA_MOUNT_COLLAPSE);document.querySelectorAll(Bb.LOGO_IMG).forEach(function(n){n.addEventListener(Pc.LOAD,function(){SD(h)},!1)});if(window.ResizeObserver){for(var k=new ResizeObserver(Gx),l=M(h),m;!(m=l()).done;)k.observe(m.value);d.collapseContentsResizeObserver=k;k=new ResizeObserver(Hx);for(g=M(g);!(l=g()).done;)k.observe(l.value);d.collapseButtonsResizeObserver= k}return d}Kc(c,b);var a=c.prototype;a.update=function(d){void 0===d&&(d={});d.el&&(this.el=d.el);this[Pc.ON_UPDATE]=new CustomEvent(Pc.ON_UPDATE,{bubbles:!0});this.el.dispatchEvent(this[Pc.ON_UPDATE])};a.remove=function(){var d,e;p.removeEvents(this.events);null==(d=this.collapseContentsResizeObserver)?void 0:d.disconnect();null==(e=this.collapseButtonsResizeObserver)?void 0:e.disconnect();d=wm.indexOf(this);wm.splice(d,1);this[Pc.ON_REMOVE]=new CustomEvent(Pc.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[Pc.ON_REMOVE])}; c.getInstances=function(){return wm};return c}(vm),ti=[],sd={DATA_MOUNT:'[data-mount\x3d"checkbox-dropdown"]',LIST:".checkbox-dropdown__list",PARENT_CHECKBOX:'.checkbox-dropdown__header input[type\x3d"checkbox"]',CHECKBOXES:'.checkbox-dropdown__list input[type\x3d"checkbox"]',GLYPH:".glyph-append",INPUT:".ocr-input",HEADER_BUTTON:".checkbox-dropdown__header a"},TD=function(b,c){return function(a){for(var d=M(b),e;!(e=d()).done;)if(a.keyCode===e.value){c();a.preventDefault();break}}},Lx=function(){function b(a){var d= this;this.el=a.el;this.events=[];this.dropdownList=this.el.querySelector(sd.LIST);this.checkboxes=this.el.querySelectorAll(sd.CHECKBOXES);this.parentCheckbox=this.el.querySelector(sd.PARENT_CHECKBOX);this.button=this.el.querySelector(sd.HEADER_BUTTON);this.parentCheckbox.id=uc.NewElementUID();var e=this.el.querySelectorAll(sd.INPUT);a=[];e=M(e);for(var f;!(f=e()).done;){var g=f.value;f=g.querySelector("input");g=g.querySelector("label");var h=uc.NewElementUID();f.id=h;g.setAttribute("for",h);a.push(h)}this.parentCheckbox.setAttribute("aria-controls", a.map(function(k){return""+k}).join(" "));for(a=M(this.checkboxes);!(e=a()).done;)this.events.push({el:e.value,handler:this.onChildCheckboxChanged.bind(this),type:"change"});this.hideDropdownButtonForEmptyList();this.events.push({el:this.parentCheckbox,handler:this.onParentCheckboxChanged.bind(this),type:"change"},{el:this.button,handler:this.onButtonClick.bind(this),type:"click"},{el:this.button,handler:TD([p.keyCodes.SPACE],function(){d.button.click()}),type:"keydown"});p.addEvents(this.events); ti.push(this)}var c=b.prototype;c.hideDropdownButtonForEmptyList=function(){0===Array.from(this.dropdownList.children).filter(function(a){return"DIV"===a.tagName}).length&&(this.button.style.visibility="hidden")};c.onButtonClick=function(){var a="true"===this.button.getAttribute("aria-expanded"),d=this.button.querySelector(sd.GLYPH);a?(d.classList.remove("glyph-append-chevron-down"),d.classList.add("glyph-append-chevron-up")):(d.classList.remove("glyph-append-chevron-up"),d.classList.add("glyph-append-chevron-down"))}; c.onParentCheckboxChanged=function(){for(var a=this.parentCheckbox.checked,d=M(this.checkboxes),e;!(e=d()).done;)e.value.checked=a;this.parentCheckbox.indeterminate=!1};c.onChildCheckboxChanged=function(a){for(var d=0,e=M(this.checkboxes),f;!(f=e()).done;)f.value.checked&&d++;0===d?(this.parentCheckbox.checked=!1,this.parentCheckbox.indeterminate=!1):d===this.checkboxes.length?(this.parentCheckbox.checked=!0,this.parentCheckbox.indeterminate=!1):(this.parentCheckbox.checked=!1,this.parentCheckbox.indeterminate= !0);this.el.dispatchEvent(new CustomEvent("click",{cancelable:!0,bubbles:!0,detail:{name:a.target.value,enabled:a.target.checked}}))};c.update=function(){};c.remove=function(){p.removeEvents(this.events);var a=ti.indexOf(this);ti.splice(a,1)};b.getInstances=function(){return ti};return b}(),Oo={DATA_MOUNT:'[data-mount\x3d"fixed-sticky"]',SHOW_STUCK:".sticky-show-stuck",HIDE_STUCK:".sticky-hide-stuck"},lb={STICKY:"fixed-sticky",SENTINEL:"sticky-sentinel",STUCK:"stuck",GET_HEIGHT:"get-height",STICKY_TOP:"sticky-direction-top", STICKY_BOTTOM:"sticky-direction-bottom"},vd={TOP:"top",BOTTOM:"bottom"},mb={ON_STUCK:"onSticky",ON_UNSTUCK:"onStatic",ON_UPDATE:"onUpdate",ON_REMOVE:"onRemove",FOCUS_IN:"focusin",RESIZE:"resize"},Mx={DIRECTION:"top"},bf={ALWAYS:"always",OFF:"off",SIZE_AWARE:"size-aware"},ui=[],wg=function(){function b(a){this.el=a.el;this.direction=Mo(a.direction||this.el.dataset.direction);if("boolean"===typeof a.enableSmoothTransition)var d=a.enableSmoothTransition;else d=this.el,d=d.hasAttribute("data-smooth-transition")&& "false"!==d.dataset.smoothTransition?!0:!1;this.enableSmoothTransition=d;this.extraScrollPaddingPx="number"===typeof a.extraScrollPaddingPx?a.extraScrollPaddingPx:12;this.enableObserverInitial=this.enableObserver=!1!==a.enableObserver;this.observerBehavior=No.call(this,a.observerBehavior);this.el.classList.add(lb.STICKY);this.stickyElementHeight=0;this.contentDivTarget=null;this.contentDivTargetSpacing=0;this.styleProp="";Qo.call(this);this.events=[{el:document.body,type:mb.FOCUS_IN,handler:Px.bind(this)}, {el:window,type:mb.RESIZE,handler:sa(200,ud.bind(this))},{el:window,type:mb.RESIZE,handler:ab(300,Nj.bind(this)),options:{passive:!0}}];window.mwf.Util.addEvents(this.events);d=Po.call(this);a=d.hidden;d=d.visible;this.rootMarginOffset=this.enableSmoothTransition?a:0;this.hiddenElementsHeight=a;this.visibleElementsHeight=d;this.sentinel=document.createElement("div");this.sentinel.classList.add(lb.SENTINEL);this.el.insertAdjacentElement("beforebegin",this.sentinel);this.isStuck=!1;this.observer=null; Ro.call(this);Nj.call(this);ui.push(this)}var c=b.prototype;c.doesSentinelExceedBoundary=function(){var a=this.sentinel.getBoundingClientRect(),d=a.top-this.rootMarginOffset;a=a.bottom;return this.direction===vd.TOP&&0>d||this.direction===vd.BOTTOM&&a>window.innerHeight?!0:!1};c.setObserverStatus=function(a){this.doesSentinelExceedBoundary()&&(ud.call(this),a?this.el.classList.add(lb.STUCK):this.el.classList.remove(lb.STUCK));this.enableObserver=a};c.update=function(a){void 0===a&&(a={});var d="string"=== typeof a.direction?Mo(a.direction):this.direction,e="boolean"===typeof a.enableSmoothTransition?a.enableSmoothTransition:this.enableSmoothTransition,f="number"===typeof a.extraScrollPaddingPx?a.extraScrollPaddingPx:this.extraScrollPaddingPx,g=Po.call(this),h=g.hidden;this.visibleElementsHeight=g.visible;this.direction!==d&&(this.direction=d,Qo.call(this),this.extraScrollPaddingPx=f,ud.call(this,[!0]));this.extraScrollPaddingPx!==f&&(this.extraScrollPaddingPx=f,ud.call(this,[!0]));if(this.enableSmoothTransition!== e||this.hiddenElementsHeight!==h)this.enableSmoothTransition=e,this.hiddenElementsHeight=h,this.rootMarginOffset=this.enableSmoothTransition?h:0,Ro.call(this);a.observerBehavior&&(this.observerBehavior=No.call(this,a.observerBehavior));Nj.call(this);this[mb.ON_UPDATE]=new CustomEvent(mb.ON_UPDATE,{bubbles:!0});this.el.dispatchEvent(this[mb.ON_UPDATE]);return this};c.remove=function(){window.mwf.Util.removeEvents(this.events);this.el.classList.remove(lb.STICKY);ud.call(this,[!0]);this.sentinel.remove(); this.observer.disconnect();var a=ui.indexOf(this);ui.splice(a,1);this[mb.ON_REMOVE]=new CustomEvent(mb.ON_REMOVE,{bubbles:!0});this.el.dispatchEvent(this[mb.ON_REMOVE])};b.getInstances=function(){return ui};return b}(),vi=[],So=!0,qt=function(){function b(a){this.el=a.el;this.offsetMarginTop=a.offsetMarginTop||.7*window.mwf.Util.getDocumentHeight();this.onScroll=a.onScroll||Rx.bind(this);this.onWindowResize=a.onWindowResize||Sx.bind(this);this.setTabindex();vi.push(this);this.stickyElement=new wg({el:this.el, direction:vd.BOTTOM});this.onScroll();this.events={scrollEvent:{el:document,type:"scroll",handler:sa(200,this.onScroll),options:{passive:!0}},resizeEvent:{el:window,type:"resize",handler:sa(200,this.onWindowResize)}};window.mwf.Util.addEvents(Object.values(this.events))}var c=b.prototype;c.setTabindex=function(){var a=this.el.querySelector("a").getAttribute("href"),d=document.querySelector(a);null===document.querySelector(a)||window.mwf.Util.isElementTabbable(d)||null===d.getAttribute("tabindex")&& d.setAttribute("tabindex","-1")};c.update=function(a){void 0===a&&(a={});a.offsetMarginTop&&(this.offsetMarginTop=a.offsetMarginTop);a.onScroll&&(window.mwf.Util.removeEvents([this.events.scrollEvent]),this.onScroll=a.onScroll,window.mwf.Util.addEvents([this.events.scrollEvent]));a.onWindowResize&&(window.mwf.Util.removeEvents([this.events.resizeEvent]),this.onWindowResize=a.onWindowResize,window.mwf.Util.addEvents([this.events.resizeEvent]));this.onScroll();this.onUpdate=new CustomEvent("onUpdate", {bubbles:!0});this.el.dispatchEvent(this.onUpdate)};c.remove=function(){window.mwf.Util.removeEvents(Object.values(this.events));this.stickyElement.remove();var a=vi.indexOf(this);vi.splice(a,1);this.onRemove=new CustomEvent("onRemove",{bubbles:!0});this.el.dispatchEvent(this.onRemove)};b.getInstances=function(){return vi};return b}();document.addEventListener("DOMContentLoaded",function(){Ix();document.dispatchEvent(new CustomEvent("oneCloudReimagineIntialized"))});document.addEventListener("mwfInitialized", function(){window.mwf.Util.initializeComponent('[data-mount\x3d"fixed-back-to-top"]',function(b){return new qt({el:b})});window.mwf.Util.initializeComponent(Oo.DATA_MOUNT,function(b){return new wg({el:b})});document.dispatchEvent(new CustomEvent("mwfFixedStickyInitialized"))});P.AIChatDrawer=Aj;P.AISearchForm=uj;P.AlertExtension=po;P.Breadcrumbs=Do;P.CardInteractiveSelector=Jo;P.CardStatSelector=Go;P.ClipboardShare=Lo;P.CollapseControlsExtension=no;P.CollapseExtension=Hj;P.ContactSales=yo;P.DropdownExtension= qg;P.DropdownFilter=gg;P.DynamicContent=Ye;P.DynamicallyAddedFilters=Jj;P.Effects=Ao;P.EventFinder=qo;P.FeaturedCardsInteractive=Ko;P.Filter=hg;P.FixedBackToTop=qt;P.FixedSticky=wg;P.Icon=wo;P.ModalExtension=uo;P.MultiCollapse=Kj;P.MultiCollapseControls=zo;P.OcrAccordion=Io;P.OcrFixedSticky=Mj;P.OcrScrollspy=Vf;P.OcrTab=Ho;P.Pagination=nj;P.ProactiveChat=Bo;P.ScrollSnapCarousel=Ij;P.SelectorSlider=Fo;P.SingleSelect=Eo;P.SolutionCenter=so;P.TabSlider=to;P.Table=Co;P.TimeSlider=ig;P.VideoExtension= mo;Object.defineProperty(P,"__esModule",{value:!0})});window.oneCloudReimagine&&(document.dispatchEvent(new CustomEvent("oneCloudReimagineIntialized")),console&&console.log&&oneCloudReimagine.version&&console.log("OneCloud Reimagine v"+oneCloudReimagine.version));