(()=>{"use strict";"undefined"!=typeof __webpack_require__&&(__webpack_require__.ab="/native_modules/"),(()=>{const e=/^[a-z0-9-]+$/;document.addEventListener("DOMContentLoaded",function(){const t=new URLSearchParams(window.location.search),n=t.get("release")??"",o=t.get("releaseName")??"",s=t.get("version")??"",a=t.get("platform")??"";if(a&&document.documentElement.classList.add(a),!n||!e.test(n))return;const c=document.getElementById("release-content");"file:"!==window.location.protocol&&c&&c.sandbox.add("allow-scripts");const r=document.getElementById("release-info");if(r){const e=[o,s].filter(e=>e.length>0);r.textContent=e.join(" — ")}c&&(c.src=`../assets/whats-new/${n}/index.html`,c.addEventListener("load",()=>{const e=c.contentDocument;e&&e.addEventListener("click",e=>{const t=e.target.closest("a[href]");if(!t)return;const n=t.getAttribute("href")??"";if(!n||n.startsWith("#"))return;const o=t.href,s=new URL(o).protocol;"https:"!==s&&"http:"!==s||(e.preventDefault(),window.whatsNew.openExternal(o))})}));const d=document.getElementById("btn-get-started");d&&d.addEventListener("click",()=>{window.whatsNew.close()})})})()})();
//# sourceMappingURL=index.js.map