1!function(){"use strict";const e=document.querySelector(".manage-widget"),t=e.querySelector(".manage-widget-on"),i=t.querySelector("button"),o=e.querySelector(".manage-widget-off"),d=o.querySelector("button"),a=e.querySelector(".manage-widget-blocked");function c(e){t.classList.add("hide-widget"),o.classList.add("hide-widget"),a.classList.add("hide-widget"),"on"===e&&(t.classList.remove("hide-widget"),i.removeAttribute("disabled")),"off"===e&&(o.classList.remove("hide-widget"),d.removeAttribute("disabled")),"blocked"===e&&a.classList.remove("hide-widget")}wpNotification.isNotificationAvailable()&&(i.addEventListener("click",(()=>{i.setAttribute("disabled",!0),wpNotification.notificationUnsubscribe()})),d.addEventListener("click",(()=>{d.setAttribute("disabled",!0),wpNotification.notificationSubscribe()})),addEventListener("notification-change",(e=>{e.detail.choice&&c(e.detail.choice)})),addEventListener("notification-ready",(()=>{e.classList.remove("hidden"),wpNotification.updateLocalInfo(),c(wpNotification.getState())})))}();//# sourceMappingURL=SnippetNotificationManage.min.js.map
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.