PageSourceSearch

https://www.grant-thornton.gr/dist/v2/js-v2/common-ff.1e31547aefbd75c0711f95b66c199829.js

js grant-thornton.gr collected 2026-09-24 19:40:08 UTC 41,595 bytes, 1 lines download raw bytes

1var GTCookies=function(){this.cookieName="cookiePolicy",this.setCookie=function(e,t,a,n,i){var l=new Date,l=(l.setTime(l.getTime()),a=a&&1e3*a*60*60*24,new Date(l.getTime()+a));document.cookie=e+"="+encodeURIComponent(t)+(a?";expires="+l.toGMTString():"")+(n?";path="+n:"")+(i?";domain="+i:"")+";secure";$.ajax({cache:!1,url:"/Cookies/CheckCookies",type:"post",dataType:"json",success:function(e){console.log("check cookies successfully")},error:function(e){console.error(e)}})},this.setCookieWithoutServerCheck=function(e,t,a,n,i){var l=new Date,l=(l.setTime(l.getTime()),a=a&&1e3*a*60*60*24,new Date(l.getTime()+a));document.cookie=e+"="+encodeURIComponent(t)+(a?";expires="+l.toGMTString():"")+(n?";path="+n:"")+(i?";domain="+i:"")+";secure"},this.getCookie=function(e){if(0<document.cookie.length){var t=document.cookie.indexOf(e+"=");if(-1!==t)return t=t+e.length+1,-1===(e=document.cookie.indexOf(";",t))&&(e=document.cookie.length),decodeURIComponent(document.cookie.substring(t,e))}return""},this.deleteCookie=function(e){if(this.getCookie(e)){const a=location.hostname.split(".");var t;for(location.hostname;1<a.length;)t=a.join("."),document.cookie=e+`=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=${t}; Secure`,document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain="+t,a.shift();document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; Secure",document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"}},this.cookieNotify=function(){var t,e,a=this;this.getCookie(this.cookieName)?document.querySelector("#skipcookie")?.remove():(e=(t=$("div.cookie-block")).find(".cookie-cta"),$(t).show(),e.on("click keydown  touchend",function(e){if(!e.keyCode||13===e.keyCode)return $(t).slideUp("slow"),a.setCookie(a.cookieName,$(e.currentTarget).val(),365,"/"),e.preventDefault(),document.querySelector("#skipcookie")?.remove(),!1}))}};let linkTertiaryList=[];function getCustomClampLines(e){let t=-2;return e&&e.dataset.clamplines&&(e=JSON.parse(e.dataset.clamplines),t=GT.wWidth<GT.breakPoints.tablet_lg?e.mobile:e.desktop),t}GT.LinkTertiary=function(){linkTertiaryList.push(setTimeout(()=>{let e=document.querySelector("body");e&&requestAnimationFrame(()=>{e.classList.remove("hidden-link__animation")})},350))},GT.hideHyperLinkAnimation=function(){linkTertiaryList.forEach(e=>{clearTimeout(e)});let e=document.querySelector("body");e.classList.contains("hidden-link__animation")||e.classList.add("hidden-link__animation"),GT.LinkTertiary()},GT.domContentLoadedFncList.push(function(){GT.LinkTertiary()}),GT.clampData={aboutblock:[{selector:".gt-small-title > a"},{selector:".gt-body-text",lines:5}],ibcblock:[{selector:".ibc-suggested__descriptions",lines:4}],newsblock:[{selector:".gt-small-title > a"},{selector:".news-title-text"},{selector:".gt-body-text",lines:5}],"content-hub-news-block":[{selector:".content-hub-news__item-desc",lines:3}],relatedcontentwithimage:[{selector:".event-item__title--gridview a"},{selector:".rcwib_item-content-category",lines:1},{selector:".rcwib_item-content-title",lines:2}],relatedcontentnoimage:[{selector:".event-item__title--gridview a"},{selector:".rcwib_item-content-category",lines:1},{selector:".rcwib_item-content-title",lines:2},{selector:".four-items .no-description .title",lines:4},{selector:".dynamic .no-description .title",lines:5},{selector:".has-description .title",lines:2},{selector:".four-items .has-description .text",lines:2},{selector:".dynamic .article-tile .text",lines:5}],"event-block":[{selector:".event-item__title--gridview a"},{selector:".event-item__title--listview a",lines:2},{selector:".grid-view .js-single-event-name"},{selector:".list-view .js-single-event-name",lines:2},{selector:".single-event-block .js-single-event-name",lines:2}],"semminar-block":[{selector:".list-view .js-single-semminar-name",lines:2},{selector:".single-event-block .js-single-semminar-name",lines:2}],"insight-hub-block":[{selector:".article-content__clamp .content .title",lines:3},{selector:".article-content__clamp .content-bottom .text",lines:3}],"global-article-clamp":[{selector:".global-article__list--items .article-content__clamp .content .category",lines:1},{selector:".global-article__list--items .article-content__clamp .content .title",lines:3},{selector:".global-article__list--items .article-content__clamp .content .text",lines:3}],"upcoming-events__results":[{selector:".event-item__title--gridview a"},{selector:".event-item__title--listview a",lines:2}],tombstone:[{selector:".tombstone-block-container .item-transaction"},{selector:".tombstone-block-container .item-business",lines:4}],"tombstone-transaction":[{selector:".transaction-action__container .transaction-action",lines:2}],eventdetailpagev2:[{selector:".title",lines:1}
1],"mega-menu-v2":[{selector:".mega-content__item .mega-link",lines:2,renderAtPageLoad:!0},{selector:".mega-content__item .mega-content__item--descriptions",lines:3,renderAtPageLoad:!0}],"t11-result-v2":[{selector:".result-card__desc"},{selector:".result-card__people-desc"}]},GT.getLineHeight=function(a){if(a){let e=window.getComputedStyle(a);a=parseFloat(e.fontSize.replace("px",""));let t=e.lineHeight.replace("px","");return"normal"==t&&(t=1.2*a),parseFloat(t)}},GT.getNumberLineContent=function(e){if(!e)return 0;try{var t={height:e.offsetHeight,lineHeight:GT.getLineHeight(e)},a=parseFloat(t.lineHeight)||0;return a<=0?0:Math.floor((t.height+.001)/a)}catch(e){return console.warn("Error calculating line content:",e),0}},GT.clampArticleBlock=function(n,i){let l=n.querySelector(".text"),o=n.querySelector(".title"),r=n.querySelector(".page-promote__info"),s=n.classList.contains("no-image"),c=n.classList.contains("no-description"),d=n.classList.contains("trending"),u=n.classList.contains("reverse"),m=GT.isMediumDesktopView(),h=3,p=3;if(o){l&&!l.dataset.clamptext&&(l.dataset.clamptext=l.textContent),o.dataset.clamptext||(o.dataset.clamptext=o.textContent);let e,t=0,a=(e=GT.getNumberLineContent(o),t=GT.getNumberLineContent(r),r&&(t=GT.getNumberLineContent(r)+1),p=3<e?s&&!c&&m?4:3:e,getCustomClampLines(o));-2!=a&&(p=a);var f={settings:{clamp:p=1<t&&2<p?p-t+2-(d||u?1:0):p,isHidden:!0}};-1<p&&o&&(i&&(o.removeAttribute("data-lazyevent-triggered"),o.textContent=o.dataset.clamptext),GT.Clamp(o,f,i),n.setAttribute("clamp",!0)),h=6-p,s&&(4==p&&(h=3),3==p&&(h=4),m?(2==p&&(h=6),1==p&&(h=8)):(2==p&&(h=5),1==p&&(h=7))),o?.closest(".mega-featured__contents")?(3<e&&(p=3),h=5-p):1<t&&(h=h-t+1),l&&(a=getCustomClampLines(l),f={settings:{clamp:h=-2!=a?a:h,isHidden:!0}},-1<h&&(i&&(l.removeAttribute("data-lazyevent-triggered"),l.textContent=l.dataset.clamptext),GT.Clamp(l,f,i),n.setAttribute("clamp",!0)))}},GT.Clamp=function(a,n,l){if(a.dataset){let i=!0;function o(t){var a=GT.getLineHeight(t),n=a*s;requestAnimationFrame(()=>{var e;(t.offsetHeight>n||c)&&(e=n+parseInt(a/2.5))&&shave(t,e,{spaces:i}
1)})}var r=document.documentElement.lang,s=(0<=["zh","ja"].indexOf(r)&&(i=!1),n.settings.clamp||3),c=n.settings.isHidden||!1;let e=a.dataset.clampkey,t=null;e&&!l||(l&&(t=e),e="lazy_clampKey_"+(1e6*Math.random()+0),a.dataset.clampkey=e),n.settings.renderAtPageLoad?o(a):LazyEvent([a],o,null,l,e,t)}},GT.initClampText=function(e,t){e=document.querySelectorAll(e);Array.prototype.slice.call(e).forEach(function(e){e.dataset.clampname=t,e.classList.add("clamp-text")})},GT.clampText=function(e,c){let t=[];var a=(t=e?document.querySelectorAll("[data-clampname="+e+"]"):document.querySelectorAll("[data-clampname]")).length;for(let e=0;e<a;e++){const d=t[e];try{c&&GT.clampRevertToOriginalText(d.dataset.clampname),setTimeout(e=>{var t=d,a=(t.classList.add("clamp-text"),GT.clampData[t.dataset.clampname]);if(a){var n=a.length;for(let e=0;e<n;e++){const l=a[e],o=t.querySelectorAll(l.selector),r=o.length;for(let e=0;e<r;e++){const s=o[e];s.dataset.clamptext||(s.dataset.clamptext=s.innerText||s.text||s.textContent),(c||l.isHidden)&&(delete s.dataset.lazyeventTriggered,l.isHidden=!0);var i=getCustomClampLines(s);-2!=i&&(l.lines=i),(-1<l.lines||null==l.lines)&&GT.Clamp(s,{settings:{isHidden:l.isHidden,renderAtPageLoad:l.renderAtPageLoad,clamp:l.lines||3}},c)}}}})}catch(e){console.log(e)}}},GT.clampRevertToOriginalText=function(e){Array.prototype.slice.call(document.querySelectorAll("[data-clampname="+e+"]")).forEach(function(t){try{var e=GT.clampData[t.dataset.clampname];e&&Array.prototype.slice.call(e).forEach(function(e){e=t.querySelectorAll(e.selector);Array.prototype.slice.call(e).forEach(function(e){e.dataset.clamptext&&(e.innerText=e.dataset.clamptext)})})}catch(e){console.log(e)}})},GT.clampArticle=function(t){let e=document.querySelectorAll(document.querySelector(".mega__level--2.open")?".mega__level--2.open .article-tile":".gt-wrapper .article-tile");e.forEach(function(e){e.removeAttribute("clamp"),GT.clampArticleBlock(e,t)})},GT.retriggerClampList={},GT.domContentLoadedFncList.push(function(){GT.clampArticle(),GT.clampText()}),GT.windowResizeFncList.clampTextOnResize=function(){GT.clampArticle(!0),GT.clampText(null,!0),Object.keys(GT.retriggerClampList).forEach(e=>{GT.retriggerClampList[e]()})};var initTranslationDetect=function(){var t,e,a;e=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),a=768<window.screen.width,e&&a&&(t=$("html").attr("lang"),e=new MutationObserver(function(){var e=$
1("html").attr("lang");e!==t&&($("body").addClass("lang-changed"),$(window).trigger("user-translate"),t=e)}),a=document.getElementsByTagName("html")[0],e.observe(a,{attributes:!0,childList:!1,subtree:!1}))};function revealElement(e,t,a){$(e).css({"animation-delay":a+"ms"}),e.classList.add(t)}function GTSkipLink(){Array.prototype.slice.call(document.querySelectorAll(".shortcuts a")).forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();let t="#"+e.target.href.split("#")[1],a=document.querySelector(t);if("#skip-nav"==t){let e=document.querySelector(".insight-menu__toggle");const n=a.querySelector("ul.level-1 li")?.querySelector("a, button");e?(e.click(),setTimeout(function(){n?.focus()},500)):n?.focus()}else if("#skip-cookie"==t){let e=GT.getListFocusableElms(document.querySelector(".cookie-block"));e.length&&e[0].focus()}else GT.getFirstFocusableVisible()?.focus()})})}function GTOverlays(){var h,t,p=this;function f(e){var e=e.find('select, input, textarea, button, a, [role="button"]').filter(":visible"),t=e.first(),a=e.last();setTimeout(()=>{t.focus()},500),a.on("keydown",function(e){9!==e.which||e.shiftKey||(e.preventDefault(),t.focus())}),t.on("keydown",function(e){9===e.which&&e.shiftKey&&(e.preventDefault(),a.focus())})}this.calculateOverlayH=function(e,t,a){var n=0;return e.removeClass("full-height"),t<a?e.addClass("full-height"):n=(t-a)/2,n},this.getWindowWidth=function(e){e=$("html").hasClass("lt-ie9")?document.body.clientWidth:e.width();return e},this.getWindowHeight=function(e){e=$("html").hasClass("lt-ie9")?document.body.clientHeight/4:Math.max(e.height(),window.innerHeight);return e},this.resetEpiForm=function(){setTimeout(function(){1<=$(".newsletter-container").length&&$(".newsletter-container .content > div").removeAttr("style")},600)},this.runOverlay=function(e,t,a,n,i,l,o,r){var s=$(window),s=(p.getWindowWidth(s),p.getWindowHeight(s)),c=!1,d=$("body");if(d.addClass("overlay-no-scroll"),$("html").addClass("overflowHidden"),$(".overlay").length?$(".overlay").show():d.append('<div class="overlay"></div>'),"string"==typeof e||e instanceof String)$(".overlay").after(e),c=!0;else if(!(e instanceof Element))return!1;function u(){let e=$(t);$(".overlay").is(":visible")&&(p.hideOverlay(),h&&h.focus(),c?e.remove():(e.fadeOut(),p.resetEpiForm()),GT.isFunction(r)&&r())}var m=$(t),d=(i&&m.width("100%"),m.outerHeight(!0));p.calculateOverlayH(m,s,d),$(window).scrollTop(),$("html").hasClass("lte-ie9")&&m.find("[placeholder]").blur(),l&&m.css({position:"fixed"}),$(".overlay").bind("touchmove",function(e){e.preventDefault()});return o||($(document).on("resize",function(){setTimeout(function(){m.css({overflow:"auto"}),m.css("-webkit-overflow-scrolling","touch"),m.css("max-height","calc(100vh - 40px)")},1e3)}),$(document).on("keydown",function(e){27===e.keyCode&&u()}),$(".js-close-overlay").on("click",function(){return u(),!1})),$(".overlay").on("click",function(e){return u(),e.stopImmediatePropagation(),!1}),m.fadeIn(),m.is(".contact-form-popup")||m.is(".popup-contact-me-form")||m.is(".focusable-form")?(m.css("display","flex"),f(m)):p.overlayTabNavHandlerOnOpen(),GT.hideHyperLinkAnimation(),!0},this.hideOverlay=function(){$(".overlay").off("click");$("body").removeClass("overlay-no-scroll"),document.firstElementChild.classList.contains("opening-mobile-menu")||$("html").removeClass("overflowHidden");
1var e=$(window);p.getWindowWidth(e),Math.abs(parseInt($("body").css("top"),10));GT.setInertWhileOpeningDialog(!1),$(".overlay").fadeOut("slow"),p.overlayTabNavHandlerOnClose()},this.youTubeOverlay=function(e){var t=$(window).innerWidth(),a=$(window).innerHeight(),n=.8*t,i=n/1.6,a=(a<i&&(n=1.6*(i=.8*a)),t<=480&&(n=320,i=200),!(!(a=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/))||11!=a[2].length)&&a[2]),t=".youtube-container";p.runOverlay('<div class="youtube-container"><iframe id="'+a+'" width="'+n+'" height="'+i+'" src="'+(e=a?"https://www.youtube.com/embed/"+a:e)+'?rel=0&autoplay=1&enablejsapi=1&vq=large" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>',t,n,i,!1,!1),p.hideRelatedVideoInYoutube(t)},this.vimeoVideoOverlay=function(e,t,a,n){e.runOverlay('<div class="youtube-container"><iframe src="https://player.vimeo.com/video/'+t+'?autoplay=1" width="'+a+'" height="'+n+'" allow="autoplay" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>',".youtube-container",a,n,!1,!1)},this.vimeoVideoThumbNail=function(e,t,a){t.addClass("lazyload"),t.attr("data-bgset","https://vumbnail.com/"+a+".jpg")},this.youTubeVideoOverlay=function(e,t,a,n){var i=".youtube-container";e.runOverlay('<div class="youtube-container"><iframe id="'+t+'" src="https://www.youtube.com/embed/'+t+'?rel=0&autoplay=1&enablejsapi=1&vq=large"  width="'+a+'" height="'+n+'" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>',i,a,n,!1,!1),e.hideRelatedVideoInYoutube(i)},this.loadPlayer=function(e){var t,a;"undefined"==typeof YT||void 0===YT.Player?((t=document.createElement("script")).src="https://www.youtube.com/iframe_api",(a=document.getElementsByTagName("script")[0]).parentNode.insertBefore(t,a),window.onYouTubePlayerAPIReady=function(){p.onYouTubePlayer(e)}):p.onYouTubePlayer(e)},this.onYouTubePlayer=function(e){t=new YT.Player(e,{videoId:e,events:{onReady:p.onPlayerReady,onStateChange:p.onPlayerStateChange}})},this.onPlayerReady=function(e){e.target.playVideo()},this.onPlayerStateChange=function(e){e.data==YT.PlayerState.ENDED&&(void 0!==t&&"function"!=typeof t.seekTo?e.target.a.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"):(t.seekTo(0,!1),t.stopVideo()))},this.hideRelatedVideoInYoutube=function(e){e=$(e).find("iframe");p.loadPlayer(e.attr("id"))},this.newsletterOverlay=function(){var e=640,t=$(window).innerWidth();p.runOverlay('<div class="newsletter-container"><div class="header"><h2>Subscribe to our newsletters</h2><a href="#" class="js-close-overlay"><i class="icon-close"></i><span class="ir">Close</span></a></div><div class="content"><div class="checkbox-inline"><input id="newsletter1" type="checkbox"><label for="newsletter1"><span></span>Email newsletter option 1</label><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu ante lorem. Phasellus at lacinia nunc. Nullam iaculis quis nunc facilisis luctus.</p><input id="newsletter2" type="checkbox"><label for="newsletter2"><span></span>Email newsletter option 2</label><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eu ante lorem. Phasellus at lacinia nunc. Nullam iaculis quis nunc facilisis luctus.</p></div><div class="footer"><label for="subscribeEmail" class="reader">First name</label><input class="input-name errors" type="text" id="subscribeEmail" value="Your email address"><a href="#" class="subscribe-btn">Subscribe here</a></div></div></div>',".newsletter-container",e=e<t?t:e,457,!0,!0)},this.openVideoInNewTab=function(e){e.blur();var t=!1;return!!e.hasClass("video__open-in-new-tab")&&((t=window.open(e.attr("href"),"_blank"))&&t.focus(),!0)},this.launchOverlay=function(e,t){function a(e){e.keyCode&&"13"!==e.keyCode||(e.preventDefault(),p.openVideoInNewTab($(e.srcElement))||(e=e.srcElement.href)&&0<e.length&&p.youTubeOverlay(e))}e.each(function(e,t){t.onclick=a,t.onkeydown=a})},this.launchVideoOverlay=function(e,t){var l=/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|[\w]+\/review\/|)(\d+)(?:\/(\w+))?(?:$|\/|\?)/,o=/^.*(?:(?:youtu\.be\/|v\/|vi\/|u\/\w\/|embed\/)|(?:(?:watch)?\?v(?:i)?=|\&v(?:i)?=))([^#\&\?]*).*/,r=560,s=315;function c(e,t,a,n){n(p,e,t,a)}function a(e){var t,a,n,i;e.keyCode&&"13"!==e.keyCode||((a=(t=e.srcElement).href)&&0<a.length&&(n=a.match(l),i=a.match(o)
1),e.preventDefault(),p.openVideoInNewTab($(t))||(n?c(n[3],r,s,p.vimeoVideoOverlay):i&&c(i[1],r,s,p.youTubeVideoOverlay)))}$(window).innerWidth()<=480&&(r=320,s=200),e.each(function(){var e,t,a=$(this),n=a.attr("href"),i=0;n&&0<n.length&&(e=n.match(l),t=n.match(o)),e?(i=e[3],a.parent(".press-video").length||p.vimeoVideoThumbNail(p,a,i)):t&&(i=t[1],a.parent(".press-video").length||(a.addClass("lazyload"),a.attr("data-bgset","https://img.youtube.com/vi/"+i+"/maxresdefault.jpg")))}),e.each(function(e,t){t.onclick=a,t.onkeydown=a})},this.launchNewsletter=function(e){$(e).on("click keydown",function(e){if(!e.keyCode||"13"===e.keyCode)return p.newsletterOverlay(),!1})},this.overlayContactProcess=function(e,o,r){function s(t){var e=t.find(".content");e.find("input, textarea, select").val(""),e.find("input[type=checkbox], input[type=radio]").prop("checked",!1),c.empty().addClass("hide"),d.empty().addClass("hide"),f(t),t.on("keyup",function(e){27===e.keyCode&&(h.focus(),p.resetEpiForm(),t.hide())})}var c=$(o).find(".checkbox-inline .error"),d=$(o).find(".footer .error"),t=(s($(o)),$(o).find(".g-recaptcha")),u=null;t.length&&(u=new GT.Captcha(t,{settings:{error_origin:"selector",error_value:"",error_selector:"data-captcha-error",error_where:"after"}})),$(o).find("a.subscribe-btn").click(function(e){e.preventDefault();var n=$(this);if("disabled"===n.attr("disabled"))return!1;var e=$(o).find(".checkbox-inline input:checked"),t=$(o).find("input#subscribeEmail").val(),a=[],i=$(o).find(".hpc").val(),l="";if(u&&(l=$(o).find(".g-recaptcha-response").val()),u&&!u.captchaChecked)return u.showRecaptchaErrorMsg(),!1;n.attr("disabled","disabled"),$.each(e,function(e,t){a.push($(t).attr("id"))});e={Email:t,Keys:a,HoneyPotCaptcha:i,CurrentLanguage:window.gtConfig.currentLanguageId,ReCaptchaToken:l,ContactPageId:$("#ContactPageId").val()},t=JSON.stringify(e);$.ajax({url:r,type:"POST",data:t,contentType:"application/json; charset=utf-8",dataType:"json",success:function(e,t,a){n.removeAttr("disabled"),e.Success?($(".newsletter-container .content").children("div:not(.thanks)").hide(),$(".thanks").find("a.close").addClass("link-btn link-btn-page"),$(".newsletter-container .thanks").show(),s($(o)),$(".newsletter-container .thanks").find(".close").on("click",function(e){e.preventDefault(),$(o).find(".js-close-overlay").click(),p.resetEpiForm(),h.focus()})):(e.IsEmailValid?d.addClass("hide"):$.each(e.EmailErrors,function(e,t){d.empty(),d.append($("<p />").text(t)),d.removeClass("hide")}),e.AreKeysValid?c.addClass("hide"):$.each(e.KeysErrors,function(e,t){c.empty(),c.append($("<p />").text(t)),c.removeClass("hide")}))},error:function(e){c.empty().append(e.responseText).removeClass("hide"),n.removeAttr("disabled")}})})},this.loadOverlayContact=function(o){$(o).click(function(e){e.preventDefault(),h=this;var n=$(this).data("postajax"),e=$(this).data("href"),i=640,l=".newsletter-container",t=$(window).innerWidth();t<i&&(i=t),"#"!=e?(l=".newsletter-container[subscribe-overlay]",$.ajax({url:e,success:function(e,t,a){p.runOverlay(e,l,i,457,!0,!0),p.overlayContactProcess(o,l,n)}})):(p.runOverlay(document.getElementsByClassName("newsletter-container")[0],l,i,457,!0,!0),p.overlayContactProcess(o,l,n))})},this.loadOverlaySeminar=function(e){e.click(function(e){e.preventDefault();var h=$(this).data("postajax"),e={url:$(this).attr("href"),success:function(e,t,a){var n=640,i="form.subscribe-semminars-container",l=$(window).innerWidth();p.runOverlay(e,i,n=l<n?l:n,457,!0,!0);var e=$(i).find(".g-recaptcha"),m=null;e.length&&(m=new GT.Captcha(e,{settings:{error_origin:"selector",error_value:"",error_selector:"data-captcha-error",error_where:"after"}})),$(document).on("submit",i,function(e){e.preventDefault();var t=this,a=$(t).find("#nameErrorMessage"),n=$(t).find("#emailErrorMessage"),i=$(t).find("#optionsErrorMessage"),l=$(t).find("#optinErrorMessage"),o=(a.addClass("hide"),a.prev().removeClass("errors"),n.addClass("hide"),n.prev().removeClass("errors"),l.addClass("hide"),i.addClass("hide"),$(this).find(".subscribe-btn"));if("disabled"===o.attr("disabled"))return!1;
1var e=$(t).find(".js-seminar-keys .checkbox-inline input:checked"),r=$(t).find(".js-seminar-optin .checkbox-inline input:checked"),s=$(t).find("input#subscribeName").val(),c=$(t).find("input#subscribeEmail").val(),d=$(t).find(".hpc").val(),u={};if(u.Email=/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.([a-z]([a-z])+)|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i.test(c),u.Name=0<s.length&&/^\D+$/i.test(s),u.Optin=r.length,u.Keys=e.length,u.Name||(a.removeClass("hide"),a.prev().addClass("errors")),u.Email||(n.removeClass("hide"),n.prev().addClass("errors")),u.Optin||l.removeClass("hide"),u.Keys||i.removeClass("hide"),u.Email&&u.Keys&&u.Name&&u.Optin&&0===d.length){c={url:h,type:"POST",dataType:"json",data:$(t).serialize(),contentType:"application/json; charset=utf-8",dataType:"json",success:function(e){o.removeAttr("disabled"),a.addClass("hide"),n.addClass("hide"),l.removeClass("hide"),i.addClass("hide"),$(".subscribe-semminars-container .content").children().hide(),$(".thanks").show().parent().show(),$(".field-group, .footer").hide(),$(".thanks").find("a.close").addClass("link-btn link-btn-page"),$(".subscribe-semminars-container .thanks").show().find(".close").on("click",function(e){e.preventDefault(),$(t).find(".js-close-overlay").click()})},error:function(e){o.removeAttr("disabled")}};try{(m&&m.captchaChecked||!m)&&$.ajax(c)}catch(e){console.warn(e)}}})}};$.ajax(e)})},this.calculateAndSetOverlayPos=function(e,t){var a=$(window),n=p.getWindowWidth(a),i=p.getWindowHeight(a),l=e.outerWidth(!0),o=(e.css({height:""}),e.outerHeight(!0));i<o?e.css({height:i+"px",overflow:"auto"}):(t=t?(i-o)/2:(i-o)/2+a.scrollTop(),e.css({top:t+"px"})),n<l?e.width(n):e.css({left:(n-l)/2+"px"})},this.resizeOverlay=function(e){$(window).resize(function(){var e=$
1(".overlay");e.length&&e.css("display")})},this.overlayTabNavHandlerOnOpen=function(){$("*[tabindex != '-1']:visible").each(function(){var e=$(this);e.closest(".newsletter-container").length||e.closest(".expert-modal").length||e.attr("tabindex","-1").addClass("js-tabbable-blocked")})},this.overlayTabNavHandlerOnClose=function(){$(".js-tabbable-blocked").each(function(){$(this).removeAttr("tabindex").removeClass("js-tabbable-blocked")})};let e=document.firstElementChild;this.toggleHeaderOverlay=function(){e.classList.toggle("opening-header-overlay")},this.showHeaderOverlay=function(){e.classList.add("opening-header-overlay")},this.hideHeaderOverlay=function(){e.classList.remove("opening-header-overlay")}}initTranslationDetect(),GT.InputLabel=function(e){var t=$(e).children("input"),a=$(e).children("label");t.on("input",function(e){0!=t.val()?a.css("opacity","0"):a.css("opacity","1")})},GT.HeadSearch=function(n){var i=n.find(".icon-link"),l=n.find(".header__search-form"),o=l.find(".searchBox"),r=(n.find(".h-search__close"),n.parent()),s=r.find(".header__global-reach-toggle"),c=r.find(".header__lang"),d=r.find(".header__login");$header=r.parent(),this.init=function(){var e=n.find(".icon-link"),t=n.find(".header__search-form"),a=n.find(".h-search__close");r=n.parent(),s=r.find(".header__global-reach-toggle"),c=r.find(".header__lang"),d=r.find(".header__login"),topShift=$(window).scrollTop(),$("body").on("touchmove",function(){topShift=$(window).scrollTop(),document.activeElement.blur()}),e.on("click keydown",function(e){e.keyCode&&"13"!==e.keyCode||($(".insight-menu__toggle").removeClass("open"),n.addClass("open"),t.addClass("open"),o.focus(),$(this).css({display:"none"}),s.css({display:"none"}),c.css({display:"none"}),d.css({display:"none"}),t.css({position:"relative"}),$(".mobile-logo").addClass("hide"),document.getElementById("searchField").focus())}),a.on("click keydown",function(e){e.keyCode&&13!==e.keyCode||(n.removeClass("open"),l.removeClass("open"),i.css({display:""}),c.css({display:""}),d.css({display:""}),s.css({display:""}),l.css({position:"absolute"}),$(".mobile-logo").removeClass("hide"),document.getElementById("searchField").blur(),setTimeout(function(){i.focus()},50))})},this.init()},GT.Reveal=function(e,t){},GT.Reveal.prototype.GetAnimation=function(e){var t=this,a={duration:0,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",distance:"0rem",opacity:1,scale:1,viewFactor:.2,beforeReveal:function(){t.revealAnimation()}};return"fromBottom"!==e?a:$.extend({},a,{origin:"bottom"})},GT.Reveal.prototype.revealAnimation=function(){for(var e=$("."+this.rvlItemClass),t=0;t<e.length;t++){var a=e[t],n=a.getAttribute("data-transition"),i=a.getAttribute("data-reveal-delay");new revealElement(a,n,i)}},GT.Animation=function(){GT.isMobileView()||GT.checkElmVisible(".scroll-animation__container",{threshold:.1,callback:function(e){let t=e.target;t.querySelectorAll(".animation-item").forEach(function(e){e.dataset.animationDelay&&(e.style.setProperty("--element-animation-delay",e.dataset.animationDelay),e.style.animationDelay=e.dataset.animationDelay),e.dataset.transitionDelay&&(e.style.setProperty("--element-transition-delay",e.dataset.transitionDelay),e.style.transitionDelay=e.dataset.transitionDelay),e.dataset.y&&e.style.setProperty("--element-fade-in-y",e.dataset.y),void 0!==e.dataset.transition&&e.classList.add(e.dataset.transition)})}})},GT.domContentLoadedFncList.push(GT.Animation),GT.windowResizeFncList.GTAnimation=GT.Animation,GT.GlideBulletAnimation=function(){const o=6;function l(e,t){e=parseInt(e.dataset.bulletSize,10);return!Number.isNaN(e)&&0<e?e:"number"==typeof t&&0<t?t:GT.wWidth<GT.breakPoints.tablet_lg?24:28}function n(e,t){let a=e;return a=(a=a>=t?0:a)<0?t-1:a}function r(e,t,a,n){let i=0;n-=e;let l=n*a;return Math.abs(l)<3&&(l=0),2<e&&(i=(n<0?3*a:2*a)-e*a),t-3<=e&&(i=0-(t-6)*a),{distance:l,hiddenItems:i/a*-1+o,translateX:i}}function s(e,t,a){var a=a||{},n=parseInt(e.dataset.totalBullets,10)||a.totalBullets||0;n<=o||(t=r(t,n,l(e,a.bulletSize),parseInt(e.dataset.lastindex,10)||0),e.querySelector(".has-more")?.classList.remove("has-more"),e.style.setProperty("--bullet-translate-x",t.translateX+"px"),e.querySelector(".glide__bullets li:nth-child("+t.hiddenItems+") .glide__bullet")?.classList.add("has-more"))}return{ANIMATION_MS:350,calculateStripState:r,completeSwap:function(e,t){e.style.removeProperty("--bullet-active-translate-x"),e.style.removeProperty("--bullet-last-active-translate-x"),e.querySelector(".glide__bullet--target")?.classList.remove("glide__bullet--target"),e.querySelector(".glide__bullet--old-active")?.classList.remove("glide__bullet--old-active"),e.classList.remove("glide__bullet-animate"),t&&t.classList.add("glide__bullet--active")},getBulletSize:l,normalizeIndex:n,reset:function(e){e.style.removeProperty("--bullet-translate-x"),e.style.removeProperty("--bullet-active-translate-x"),e.style.removeProperty("--bullet-last-active-translate-x"),e.querySelector(".glide__bullet--target")?.classList.remove("glide__bullet--target"),e.querySelector(".glide__bullet--old-active")?.classList.remove("glide__bullet--old-active"),e.classList.remove("glide__bullet-animate"),e.dataset.lastindex="0"},resolveRealIndex:function(e,t,a){return n((a=t.dataset.steps&&a?parseInt(t.dataset.steps,10):0)?e/a:e,parseInt(t.dataset.totalBullets,10)||0)},startSwap:function(e,t,a){var a=a||{},n=r(t,parseInt(e.dataset.totalBullets,10)||a.totalBullets||0,l(e,a.bulletSize),parseInt(e.dataset.lastindex,10)||0);s(e,t,a);let i=n.distance;"rtl"===document.dir&&(i*=-1),e.style.setProperty("--bullet-active-translate-x",i+"px"),e.style.setProperty("--bullet-last-active-translate-x",-1*i+"px"),e.querySelector(".glide__bullets .glide__bullet--active")?.classList.add("glide__bullet--old-active"),e.querySelector(".glide__bullets li:nth-child("+(t+1)+") .glide__bullet")?.classList.add("glide__bullet--target"),e.dataset.lastindex=String(t),e.classList.add("glide__bullet-animate")},updateStripOnFocus:function(t,a,n){var n=n||{},i=parseInt(t.dataset.totalBullets,10)||n.totalBullets||0;if(!(i<=o)){i=l(t,n.bulletSize);let e=0;2<a&&(e=3*i-a*i);n=parseInt(n.totalItems,10)||parseInt(t.dataset.totalItems,10)||0;n-3<=a&&(e=3*i-(n-3)*i),t.style.setProperty("--bullet-translate-x",e+"px")}},updateStripOverflow:s}}(),GT.domContentLoadedFncList.push(function(){GTSkipLink()}),GT.fakeHyperLinkClickEvtList=[],GT.fakeHyperLinkKeypressEvtList=[],GT.FakeHyperlink=function(){function n(e){window.open(e.dataset.anchor,e.getAttribute("target")?e.getAttribute("target"):"_self")}Array.prototype.slice.call(document.querySelectorAll("[data-anchor]")).forEac
1h(function(a,e){GT.fakeHyperLinkClickEvtList.forEach(function(e,t){a.removeEventListener("click",e)}),GT.fakeHyperLinkKeypressEvtList.forEach(function(e,t){a.removeEventListener("keypress",e)})}),GT.fakeHyperLinkClickEvtList=[],GT.fakeHyperLinkKeypressEvtList=[],Array.prototype.slice.call(document.querySelectorAll("[data-anchor]")).forEach(function(e){function t(e){n(e.currentTarget)}function a(e){13==e.keyCode&&n(e.currentTarget)}GT.fakeHyperLinkClickEvtList.push(t),GT.fakeHyperLinkKeypressEvtList.push(a),e.addEventListener("click",t),e.addEventListener("keypress",a)}),Array.prototype.slice.call(document.querySelectorAll("[data-anchor] a")).forEach(function(e){e.addEventListener("click",function(e){e.stopPropagation()})})},GT.Overlays=new GTOverlays,GT.domContentLoadedFncList.push(function(){"undefined"==typeof isV1GT&&(GT.Overlays.launchVideoOverlay($(".video__with-overlay")),GT.Overlays.launchOverlay($(".youtube-video")),GT.Overlays.loadOverlayContact($("#launchContactFormSubscribe:not([data-epiforms-overlay])")),GT.Overlays.loadOverlaySeminar($("#launchSemminarsFormSubscribe")))}),GT.EmailObfuscate=function(e){function c(e){return!e||"#"===e}function d(e){var t=e.closest("a");return t.length?t:e}function u(e,t,a){var n,i;e&&e.length&&a&&(n=(e.attr("aria-label")||"").trim(),i=(e.attr("data-label")||"").trim(),n&&n!==t?n.endsWith(a)||e.attr("aria-label",n+" "+a):i?e.attr("aria-label",i+" "+a):e.attr("aria-label",a))}function t(e){$(".email-obfuscate").each(function(){$(this).html($(this).attr("data-user")+"@"+$(this).attr("data-domain"))}),$(".email-obfuscate").addClass("printing"),$(".icon-social-email").each(function(){var e,t;0<$(this).find(".ir").length&&($(this).find(".ir").html(""),e=$(this).attr("data-user"),t=$(this).attr("data-domain"),$(this).find(".ir").html(e+"@"+t))})}function a(e){$(".email-obfuscate").removeClass("printing").html(""),$(".icon-social-email .ir").html("Email address"),$('[data-obfuscate="true"]').blur()}$(document).on("mouseover touchstart focus",'[data-obfuscate-specific="true"]',function(e){var t=$(this),a=t.attr("href");if(c(a)){t.attr("target","_blank");var a=t.attr("data-user"),n=t.attr("data-domain"),i=t.attr("data-subject"),l=t.attr("data-bccuser"),o=t.attr("data-bccdomain");if(""!=a&&""!=n){var n=a+"@"+n,r=n;""!=i&&null!=i&&null!=i?(n=n+"?subject="+i,""!=l&&null!=l&&null!=l&&(n=n+"&bcc="+(l+"@"+o))):""!=l&&null!=l&&null!=l&&(n=n+"?bcc="+(l+"@"+o));const s=d(t);s.attr("href","mailto:"+n),u(s,a,r),!GT.isMobile()&&$(t,".email-obfuscate").length&&(l=(i=t.find(".email-obfuscate")).parents(".button-vi-text"),i.remove(),l.length<=0?t.append("<span>"+r+"</span>"):l.text(r)),GT.isIE()&&t[0].blur()}}}),"undefined"!=typeof isEnableMailtoDialog&&isEnableMailtoDialog?$(document).on("click",'[data-obfuscate="true"]',function(e){e.preventDefault();var t,a,n,i,l,o,r,s=$(this);s.attr("data-obfuscate-specific")||(s.attr("href","#"),s&&mailtoDialogTemplate&&(e=s.attr("data-user"),a=s.attr("data-domain"),i=s.attr("data-subject"),l=s.attr("data-bccuser"),t=s.attr("data-bccdomain"),""!=e&&""!=a&&(a=e=e+"@"+a,""!=i&&null!=i&&null!=i?(e=e+"&subject="+i,""!=l&&null!=l&&null!=l&&(a=e+"&bcc="+(n=l+"@"+t))):""!=l&&null!=l&&null!=l&&(a=e+"?bcc="+(n=l+"@"+t)),i=mailtoDialogTemplate.replaceAll("gmailto",a.replace("?","&")).replaceAll("mailto",a).replaceAll("mailoption","mailto:"+a).replaceAll("copyemail",e).replaceAll("copybcc",n),n||(i=i.replace("hidebccblock","hide")),(l=$("#emailDialogTemplate"))&&l.remove(),GT.Overlays.runOverlay(i,"#emailDialogTemplate",640,457,!0,!0,!1,function(){s.focus()}),o=document.querySelector(".js-client-select"),r=document.querySelector(".js-client-open"),document.querySelector(".js-copy").addEventListener("click",function(){var e=document.getElementById("emailMailtoInput");e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),$("#emailDialogTemplate").find(".copied-confirmation.bcc").removeClass("show-confirmation"),$("#emailDialogTemplate").find(".copied-confirmation.email").addClass("show-confirmation")}),document.querySelector(".js-copy-bcc").addEventListener("click",function(){var e=document.getElementById("emailBCCtoInput");e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),$("#emailDialogTemplate").find(".copied-confirmation.email").removeClass("show-confirmation"),$("#emailDialogTemplate").find(".copied-confirmation.bcc").addClass("show-confirmation")}),o.addEventListener("change",function(){var e=o.value;r.setAttribute("href",e)}))))}):$(document).on("mouseover touchstart focus",'[data-obfuscate="true"]',function(e){var t,a,n,i,l,o=$(this),r=o.attr("href");c(r)&&(o.attr("target","_blank"),r=o.attr("data-user"),i=o.attr("data-domain"),l=o.attr("data-subject"),t=o.attr("data-bccuser"),a=o.attr("data-bccdomain"),""!=r&&""!=i&&(n=i=r+"@"+i,""!=l&&null!=l&&null!=l?(i=i+"?subject="+l,""!=t&&null!=t&&null!=t&&(i=i+"&bcc="+(t+"@"+a))):""!=t&&null!=t&&null!=t&&(i=i+"?bcc="
1+(t+"@"+a)),(l=d(o)).length&&(l.attr("href","mailto:"+i),u(l,r,n)),GT.isIE()&&o[0].blur()))}),$(document).ready((window.matchMedia&&window.matchMedia("print").addListener(function(e){(e.matches?t:a)()}),window.onbeforeprint=t,void(window.onafterprint=a)))},"undefined"==typeof isV1GT&&GT.domContentLoadedFncList.push(function(){GT.EmailObfuscate()}),GT.GTMGlobal=function(){return{clickBlock:function(){document.querySelectorAll("[data-tracking-block]").forEach(n=>{n.querySelectorAll("a, [data-anchor]").forEach(e=>{e.addEventListener("click",e=>{let t=e.target.href||e.currentTarget.href||e.target.dataset&&e.target.dataset.anchor||e.currentTarget.dataset&&e.currentTarget.dataset.anchor,a=!1;document.querySelector(".home-page-container")&&(a=!0),t&&a&&dataLayer.push({event:"block_view",blockName:n.dataset.trackingBlock,blockLink:t})})})})},megaMenuV3:function(){setTimeout(()=>{document.querySelectorAll(".nav3 a, .nav3 [data-anchor]").forEach(e=>{e.dataset.initializedTracking||(e.dataset.initializedTracking=!0,e.addEventListener("click",e=>{let t=e.currentTarget||e.target,a=t.href||t.dataset.anchor,n="level 1",i="",l="",o="";
1t.closest(".level-1")&&(i=t.closest(".nav-link")?.innerText),t.closest(".bleed")&&(t.closest(".mega__level--2")&&(n="level 2",l=t.closest(".mega__level--2").querySelector(".mega-link--level-2")?.innerText),i=i||t.closest(".bleed")?.dataset.content),t.closest(".mega-link--level-3")&&(t.closest(".mega-link--level-2-placeholder")?(n="level 2",l=t.dataset.linktext||t.innerText):(n="level 3",o=t.innerText)),t.closest(".header-logo")&&(n="logo"),t.closest(".message-top-banner__message")&&(n="top banner"),(t.closest(".additional-link")||t.closest(".mobile__footer")&&!t.closest(".list__global")&&!t.hreflang)&&(n="header",i=t.textContent?.trim()),(t.closest(".site-language")||t.closest(".lang__elem")&&t.hreflang)&&(n="header",i="language"),t.closest(".local-site-link")&&(n="header",i="member firm"),a&&dataLayer.push({event:"menu_click",containerClick:n,menuLevel_1:i||"",menuLevel_2:l||"",menuLevel_3:o||"",containerLink:a})}))})},1e3)},megaMenu:function(){setTimeout(()=>{document.querySelectorAll("header a, header [data-anchor]").forEach(e=>{e.dataset.initializedTracking||(e.dataset.initializedTracking=!0,e.addEventListener("click",e=>{let t=e.currentTarget||e.target,a=t.href||t.dataset.anchor,n="level 1",i="",l="",o="";t.closest(".mobile__wrap")&&!t.closest(".mobile__footer")||(t.closest(".level-1")&&(i=t.closest(".
1nav-link")?.innerText),t.closest(".bleed")&&((t.closest(".bleed__col--left")&&!t.closest(".mega-header")&&!t.matches(".mega-link--has-submenu, .group-name-text")||t.closest(".mega__level--3")&&!t.closest(".bleed").querySelector(".group-name-text.selected"))&&(n="level 2",l=t.closest(".mega-link--level-2")?.innerText||t.closest(".bleed").querySelector(".bleed__col--left .selected .mega-link--level-2")?.innerText||t.closest(".bleed").querySelector(".bleed__col--left .mega-link--level-2.active")?.innerText),i=i||t.closest(".bleed")?.dataset.content),!t.closest(".mega__level--3")||t.closest(".mega-header")||t.closest("span.h3")||(n="level 3",o=t.innerText),t.closest(".article-tile")&&(n="Related-Insight",o=""),t.closest(".header-logo")&&(n="logo"),t.closest(".message-top-banner__message")&&(n="top banner"),(t.closest(".additional-link")||t.closest(".mobile__footer")&&!t.closest(".list__global")&&!t.hreflang)&&(n="header",i=t.textContent?.trim()),(t.closest(".site-language")||t.closest(".lang__elem")&&t.hreflang)&&(n="header",i="language"),t.closest(".local-site-link")&&(n="header",i="member firm"),a&&dataLayer.push({event:"menu_click",containerClick:n,menuLevel_1:i||"",menuLevel_2:l||"",menuLevel_3:o||"",containerLink:a}))}))})},1e3)},megaMenuV1Mobile:function(){document.querySelector("header:not(.nav2) .menu-toggle")?.addEventListener("click",e=>{!function r(){setTimeout(()=>{document.querySelectorAll(".mobile__wrap a, .mobile__wrap [data-anchor]").forEach(e=>{e.dataset.initialized||(e.dataset.initialized=!0,e.addEventListener("click",e=>{r();let t=e.currentTarget||e.target,a=t.href||t.dataset.anchor,n="level 1",i="",l="",o="";t.closest(".mobile__wrap")&&!t.closest("[aria-haspopup]")&&(t.closest(".level-1")&&(i=t.closest(".
1nav-link")?.innerText),t.closest(".mobile__level--2")&&!t.closest(".mobile__level--2").querySelector(".group-name-text.mega-link")&&(n="level 2",l=t.innerText,i=t.closest(".mobile__wrap")?.querySelector(".mobile__level--1 [aria-expanded=true]")?.innerText),t.closest(".mobile__level--3")&&(n="level 3",o=t.innerText,i=t.closest(".mobile__wrap")?.querySelector(".mobile__level--1 [aria-expanded=true]")?.innerText,l=t.closest(".mobile__wrap")?.querySelector(".mobile__level--2 [aria-expanded=true]")?.innerText),t.closest(".article-tile")&&(n="Related-Insight",o=""),a&&dataLayer.push({event:"menu_click",containerClick:n,menuLevel_1:i||"",menuLevel_2:l||"",menuLevel_3:o||"",containerLink:a}))}))})},1e3)}()})},globalSearch:function(){const l="Popular searches",o="Previous searches",r="Recently visited";function s(e,t,a,n){a&&t&&dataLayer.push({search_term:e,search_type:t,search_link:a,search_text:n,event:"search_used"})}document.querySelectorAll("#previous-search__container a, .popular-search__container a, .recently-visited__container a, .suggestions-search__container a").forEach(e=>{e.dataset.initialized||(e.addEventListener("click",e=>{let t=e.currentTarget||e.target,a="",n=t.innerText,i=document.querySelector("#searchField")?.value||"";t.closest(".search-contents__container.popular-search__container")&&(a=l),t.closest("#previous-search__container")&&(a=o),t.closest(".recently-visited__container")&&(a=r),t.closest(".suggestions-search__container")&&(a="Search suggestions"),t.closest(".has-search__results")&&(a="Your Results"),t.closest(".viewall-results")&&(n="See all results"),0<=[l,o,r].indexOf(a)&&(i=""),a&&s(i,a,t.href,n)}),e.dataset.initialized=!0)});let e=document.querySelector(".header-search__form");e&&!e.dataset.initialized&&(e.dataset.initialized=!0,e.addEventListener("submit",function(e){let t=e.currentTarget||e.target;var e=t.querySelector("#searchField")?.value,a=new URLSearchParams(new FormData(t)).toString();s(e,"Site Search",t.action+"?"+a,e)}))},googleHighlightText:function(){var e=function(){try{for(var e=performance.getEntries(),t=[],a=0;a<e.length;a++)-1!==e[a].name.indexOf("#:~:text=")&&t.push(e[a]);if(0<t.length){var n=t[0].name.match(/#:~:text=([^&]*)/);if(n&&n[1]){var i=decodeURIComponent(n[1]);if(""!==i)return i.replace(/%20/g," ").replace(/%2C/g,",").replace(/%E2%80%A6/g,"…")}}return null}catch(e){return null}}();e&&dataLayer.push({event:"google_highlight_text",eventAction:"google_highlight_text",eventLabel:e})}}},GT.domContentLoadedFncList.push(function(){GT.GTMGlobal=GT.GTMGlobal(),Object.keys(GT.GTMGlobal).forEach(function(e){GT.GTMGlobal[e]()})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.