PageSourceSearch

https://procontent.renewedvision.com/js/procontent/assets/AutomateNotifications-CQJuYuif.js

js renewedvision.com collected 2026-09-24 17:47:17 UTC 852 bytes, 1 lines download raw bytes

1import{u as l,r as t}from"./app-BeGqF6ux.js";import"./Tooltip-DYcxt1UG.js";import"./index-Dkf2GVy1.js";import"./dayjs-BlgjZc9C.js";import"./button.styles-7lPNyjJO.js";import"./iconBase-CN8tsjra.js";import"./useTranslation-kJHeU9i8.js";import"./helpers-CgA5RTdO.js";const I=({organization:o})=>{const{post:n}=l(),i=t.useRef(null),[s,f]=t.useState(!1),[r,p]=t.useState(5),[c,u]=t.useState(!1),a=e=>{c&&i.current&&!i.current.contains(e.target)&&u(!1)};return t.useEffect(()=>(document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a))),t.useEffect(()=>{if(s){console.log("Automating notifications...");const e=()=>{n(route("admin.notifications.automate",{organization:o?.id}),{only:["notifications"]})};e();const m=setInterval(()=>e(),r*1e3);return()=>clearInterval(m)}},[s,n,r,o]),null};export{I as AutomateNotifications};

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.