-
Notifications
You must be signed in to change notification settings - Fork 0
/
unannoy.dist.js
1 lines (1 loc) · 2.12 KB
/
unannoy.dist.js
1
javascript:(function(){function e(e){let t=document.getElementsByClassName(e),o=new RegExp(e,"gi");for(let e=t.length-1;e>=0;e--){let n=t[e];n.className=n.className.replace(o,"")}}function t(e,t){let o=new RegExp(t,"gi"),n=document.querySelectorAll(e);for(let e=n.length-1;e>=0;e--){let t=n[e];t.className=t.className.replace(o,"")}}function o(e){n(document.getElementById(e))}function n(e){e&&void 0!==e&&void 0!==e.parentNode&&e.parentNode.removeChild(e)}function l(e){let t=document.getElementsByClassName(e);for(let e=t.length-1;e>=0;e--)n(t[e])}function i(e,t,o){let l=document.querySelectorAll(`${e}[${t}='${o}']`);for(let e=l.length-1;e>=0;e--)n(l[e])}var a="overflow:unset!important;position:unset!important;top:unset!important;bottom:unset!important;left:unset!important;right:unset!important";document.getElementsByTagName("html")[0].style.cssText=a,document.body.style.cssText=a,o("onetrust-consent-sdk"),l("fc-ab-root"),i("iframe","name","googlefcInactive"),i("iframe","name","googlefcPresent"),e("qc-cmp-showing"),e("qc-cmp-ui-showing"),l("qc-cmp-ui-container"),l("overlay"),e("u-overflowHidden"),l("butterBar--privacy"),o("CybotCookiebotDialog"),o("CybotCookiebotDialogBodyUnderlay"),l("as-oil"),e("as-oil-js-active"),t("html","locked"),t("body","locked"),t("html","noScroll"),t("body","noScroll"),l("as-oil"),function(e,t){new RegExp(t,"gi");let o=document.querySelectorAll(e);for(let e=o.length-1;e>=0;e--)n(o[e])}("aside","CookieModal"),e("article-fixed"),function(){let e=document.getElementsByTagName("*"),t=window.innerWidth,o=window.innerHeight,l=function(){let e=document.getElementsByTagName("*"),t=0;for(let o=e.length-1;o>=0;o--){let n=getComputedStyle(e[o]).zIndex;isNaN(n)||(t=Math.max(n,t))}return t}();for(let i=e.length-1;i>=0;i--)if(e[i]instanceof Element){if(l!=getComputedStyle(e[i]).zIndex)continue;if(e[i].className&&e[i].className.indexOf&&-1!==e[i].className.indexOf("overlay")){n(e[i]);continue}let a=e[i].offsetWidth,c=e[i].offsetHeight;if(a>=t&&c>=o){n(e[i]);continue}let s=getComputedStyle(e[i],":before");a=s.width,a=parseInt(a.substr(0,a.length-2)),c=s.height,c=parseInt(c.substr(0,c.length-2)),a>=t&&c>=o&&n(e[i])}}()}());