PageSourceSearch

https://molly88.net/cp/javascript/components/tabs/SpamFilterSettingsTabs.js?31d8c666a212590d095c

js molly88.net collected 2026-10-05 06:50:31 UTC 1,292 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkPlesk||=[]).push([["components/tabs/SpamFilterSettingsTabs"],{2838(e,t,s){s.r(t),s.d(t,{default:()=>o});var a=s(341),i=s(772),l=s(785),r=s(342),n=s(95),c=s(815),p=s(1423),m=s.n(p);const o=()=>{const{pathname:e}=(0,i.useLocation)(),t=(0,c.default)(),{data:{viewer:{permissions:{manageServerSpamFilter:s,manageServerMailBlackWhiteLists:p}},capability:{packages:{isSpamAssassinInstalled:o,isGreyListingInstalled:g}}}}=(0,l.useQuery)(m()),u=(0,a.useMemo)(()=>o||g?[s&&{title:n.Locale.getSection("components.pages.server-spam-filter").lmsg("settings"),url:"/cp/server/spam-filter/settings",id:"tabSettings"},p&&{title:n.Locale.getSection("components.pages.server-spam-filter").lmsg("black-list"),url:"/cp/server/spam-filter/black-list/",id:"tabBlackList"},p&&{title:n.Locale.getSection("components.pages.server-spam-filter").lmsg("white-list"),url:"/cp/server/spam-filter/white-list/",id:"tabWhiteList"}].filter(Boolean):null,[s,p,o,g]),d=(0,a.useMemo)(()=>u.findIndex(({url:t})=>(0,i.matchPath)(t,e))+1,[u,e]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Tabs,{active:d,children:u.map(({url:e,...s})=>(0,a.jsx)(r.Tab,{onActivate:()=>t(e),...s},e))}),(0,a.jsx)(i.Outlet,{})]})}}}]);
2//# sourceMappingURL=SpamFilterSettingsTabs.js.map?31d8c666a212590d095c

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.