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?cdbeff1ef29011c82312
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.