window.global=window;// version: 1.4.3 (()=>{var N=(s,i,t)=>new Promise((l,d)=>{var r=a=>{try{b(t.next(a))}catch(u){d(u)}},L=a=>{try{b(t.throw(a))}catch(u){d(u)}},b=a=>a.done?l(a.value):Promise.resolve(a.value).then(r,L);b((t=t.apply(s,i)).next())});var H=["cookie","Subscribe now","Log in here.","Remember me","Subscribe to","notifications","google_ads","privacy"],R=["saladict-dictpanel-root","yddWrapper","cyxy-swt","hangL","tfade","onetrust-consent-sdk","onesignal-slidedown-container"],D=["ep-impactfactor-container","modal-backdrop","v-tour"],M=["insight-gct-shadow-root"];function _(){let s=0;return document.querySelectorAll("*").forEach(t=>{if(t.classList.contains("gct_flag"))return;let l=window.getComputedStyle(t),d=Number(l.zIndex);if(Number.isNaN(d)||(s=Math.max(d,s)),t.tagName!=="HEADER"){if(t.tagName==="MH"){let r=document.createTextNode(t.textContent);t.parentNode.replaceChild(r,t);return}if(R.some(r=>t.id===r)||D.some(r=>t.classList.contains(r))){t.parentNode.removeChild(t);return}if(M.some(r=>t.id.startsWith(r))){t.parentNode.removeChild(t);return}if(t.tagName==="HTML"||t.tagName==="BODY"){t.getAttribute("translate")&&t.removeAttribute("translate"),t.style.position="static",l.overflow==="hidden"&&(t.style.overflow="auto"),l.pointerEvents==="none"&&(t.style.pointerEvents="initial");return}["fixed","sticky"].some(r=>l.position===r)&&!(l.display==="none"||l.visibility==="hidden")&&H.some(r=>t.outerHTML.toLowerCase().includes(r.toLowerCase()))&&(t.style.display="none")}}),{maxZIndex:s}}var z=[{host:"cslide.ctimeetingtech.com",handler:()=>{document.querySelectorAll(".tab-pane").forEach(i=>{i.style.display="block"})}},{host:"oncologypro.esmo.org",handler:()=>{document.querySelectorAll(".expand-content").forEach(i=>{i.style.height="auto"})}},{host:"library.ehaweb.org",handler:()=>{document.querySelectorAll(".text-init").forEach(i=>{i.classList.remove("text-init")})}}];function W(){let s=Array.from(document.querySelectorAll("a")),i=null;s.some(t=>t.href?z.some(l=>{let d=t.href.includes(l.host);return d&&(i=l.handler),d}):!1),i&&i()}var k=()=>(W(),_());function A(){function s(e){let o=e.getBoundingClientRect();if(!(o.width&&o.x>=0&&o.y>=0))return!1;let c=o.x+o.width/2,m=o.y+o.height/2,f=+((m-o.y)/10).toFixed(2),g=+((c-o.x)/10).toFixed(2),y=0,h=[];for(;y<=m;){y+=f;let x=document.elementFromPoint(c,y);e.contains(x)&&h.push(x)}let p=0,C=[];for(;p<=c;){p+=g;let x=document.elementFromPoint(p,m);e.contains(x)&&C.push(x)}return h.length!==10||C.length!==10}function i(e="fixed"){let n=document.querySelectorAll("*");return Array.from(n).filter(c=>{let{zIndex:m,position:f,bottom:g}=getComputedStyle(c);return f===e&&(+m>0||g==="0px")})}function t(e="fixed"){return Array.from(i(e).filter(n=>n.parentElement===document.body))}function l(e){let{right:n,x:o,width:c}=e.getBoundingClientRect();return n-c===o}function d(){t("absolute").forEach(n=>{l(n)&&n.parentElement.removeChild(n)})}function r(e){if(!e.length)return;let n={dom:null,zIndex:0};e.forEach(h=>{let{zIndex:p}=getComputedStyle(h);n.dom?n.zIndex
{document.elementFromPoint(y.x,y.y)===document.body?n.dom.style.display=o:document.body.removeChild(n.dom)})}let L=.95,b=i(),a=[],u=[];b.forEach(e=>N(this,null,function*(){let{width:n,height:o,left:c,right:m,top:f,bottom:g,display:y}=getComputedStyle(e),h=document.documentElement.clientWidth,p=document.documentElement.clientHeight,C=n.replace("px",""),x=o.replace("px",""),E=0;m==="0px"&&E++,g==="0px"&&E++,c==="0px"&&E++,f==="0px"&&E++;let v=E>=2,I=Number((C/h).toFixed(2))>L,w=f!=="0px",S=e.parentElement===document.body,P=e.innerText.toLowerCase().includes("cookies"),q=C>=h,T=x>=p;if(y==="none")u.push(e);else if(S&&P)u.push(e);else if((v||I)&&w)u.push(e);else if(v&&q&&T&&(s(e)||S))u.push(e);else if(w){let{y:B}=e.getBoundingClientRect();window.scrollBy(0,10),requestAnimationFrame(()=>{let{y:F}=e.getBoundingClientRect();B===F&&u.push(e),window.scrollBy(0,-10)})}else S&&!w&&!T?a.push(e):console.log("unKill",e)})),requestAnimationFrame(()=>{u.forEach(e=>{let n=t(),o=null;n.forEach(c=>{c.contains(e)&&(o=c)}),o?document.body.removeChild(o):(e.innerHTML=null,e.parentElement.removeChild(e))}),d(),r(a)})}var O=!0,Y=()=>{let{maxZIndex:s}=k(),i=document.createElement("div");i.id="gct_clear",document.body.appendChild(i);let t=document.querySelector("#gct_clear");t.innerHTML="\u82E5\u4ECD\u5B58\u5728\u5F39\u7A97
\u8BF7\u70B9\u51FB\u6B64\u5904\u5C1D\u8BD5\u5173\u95ED",t.style=`text-align:center;position: fixed;bottom: 16px;right:16px;background-color:rgba(0,0,0,0.4);color:white;padding:4px 8px;border-radius:4px;cursor: pointer;z-index:${s+1};`,t.addEventListener("click",()=>{A(),document.documentElement.removeChild(t)})};setTimeout(()=>{Y()},O?0:1500);})();