(()=>{(function(){"use strict";const r=["fleekdash-frame","adminbar","fleek-compat"],o=new Map;function c(){try{const n=new URLSearchParams(window.location.search);r.forEach(e=>{const a=n.get(e);a!==null&&o.set(e,a)})}catch{}}function s(){if(o.size!==0)try{const n=window.location.href,e=new URL(n);let a=!1;if(o.forEach((t,i)=>{e.searchParams.has(i)||(e.searchParams.set(i,t),a=!0)}),a){const t=e.toString();history.replaceState(null,"",t)}}catch{}}function l(){const n=new URLSearchParams(window.location.search),e=r.some(t=>n.get(t)!==null),a=window.location.pathname.includes("post.php")||window.location.pathname.includes("post-new.php");return e&&a}l()&&(c(),o.size>0&&(document.readyState==="loading"?window.addEventListener("load",()=>{setTimeout(s,500)}):setTimeout(s,500)))})();})();
