Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/notifications.1942a57c.js
Назад
import{c as s,t as a,E as r,b as c,o as u,Y as p}from"./js/runtime-dom.esm-bundler.6789c400.js";import{c as l}from"./js/index.5a710757.js";import"./js/translations.12335a6a.js";import{_ as f}from"./js/_plugin-vue_export-helper.249dac1d.js";import{_ as m}from"./js/default-i18n.54b5d8cd.js";import"./js/helpers.f95d5840.js";const d="all-in-one-seo-pack",w={data(){return{interval:null,display:!1,strings:{newNotifications:m("You have new notifications!",d)}}},methods:{showNotificationsPopup(){if(this.interval&&window.aioseoNotifications&&parseInt(window.aioseoNotifications.newNotifications)){this.display=!0;const i=document.querySelector("#wp-admin-bar-aioseo-main");i&&i.classList.add("new-notifications")}},hideNotificationsPopup(){this.interval=null,setTimeout(()=>{this.display=!1;const i=document.querySelector("#wp-admin-bar-aioseo-main");i&&i.classList.remove("new-notifications")},500)}},created(){this.interval=setInterval(this.showNotificationsPopup,500),this.showNotificationsPopup(),setTimeout(()=>{this.interval=null,this.display=!1},5e3)}};function _(i,o,N,v,e,t){return e.display?(u(),s("div",{key:0,onClick:o[0]||(o[0]=r((...n)=>t.hideNotificationsPopup&&t.hideNotificationsPopup(...n),["stop"])),onMouseover:o[1]||(o[1]=(...n)=>t.hideNotificationsPopup&&t.hideNotificationsPopup(...n)),class:"aioseo-menu-new-notifications"},a(e.strings.newNotifications),33)):c("",!0)}const h=f(w,[["render",_]]),y=document.querySelector("#aioseo-menu-new-notifications");if(y){const i=p({...h,name:"Standalone/Notifications"});l(i),i.mount("#aioseo-menu-new-notifications")}
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка