PageSourceSearch

https://app.searchpilot.com/assets/vite/index-DCJ7v1RK.js

js searchpilot.com collected 2026-09-24 17:41:21 UTC 2,860 bytes, 2 lines download raw bytes

1import{j as e,B as c,H as m,l as h,e as i,h as w}from"./root-C9LVyve2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"distillery-frontend"};var s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="60a7780d-2a45-48aa-9fe5-b381ed0e06a0",t._sentryDebugIdIdentifier="sentry-dbid-60a7780d-2a45-48aa-9fe5-b381ed0e06a0")}catch{}})();const y=({domainName:t,accountSlug:s,allowEditAccount:r,allowEditDomainConfig:u,hasControlDNSPermission:o})=>{const l=(n=>({title:"Manage Domain",links:[{key:"domain-publish-history",name:"Publish History",path:`/${n}/publish/history`,isShown:!0},{key:"edit-domain",name:"Edit Domain",path:`/${n}/edit`,isShown:r},{key:"origin-settings",name:"Origin Settings",path:`/${n}/backends/list`,isShown:o},{key:"failover",name:"Failover",path:`/${n}/failover/overview`,isShown:o},{key:"edit-domain-config",name:"Edit Domain Config",path:`/${n}/config`,isShown:u},{key:"infrastru
1cture-monitoring",name:"Infrastructure Monitoring",path:`/${n}/stats`,isShown:o}]}))(s),d=l.links.filter(n=>n.isShown),p=d.length>0?e.jsx(c,{children:e.jsxs(m,{children:[e.jsxs("h3",{children:[l.title," (",t,")"]}),e.jsx("ul",{children:d.map(n=>e.jsx("li",{children:e.jsx("a",{href:n.path,className:"text-sp-primary hover:text-sp-primary-800",children:n.name})},n.key))})]})}):null;return e.jsx(e.Fragment,{children:p})},a=h("settings-react-target","data-account-slug"),f=h("settings-react-target","data-domain-name"),g=i("settings-react-target","allow-edit-account"),x=i("settings-react-target","allow-edit-account-notes"),k=i("settings-react-target","allow-download-spec"),j=i("settings-react-target","allow-edit-domain-config"),S=i("settings-react-target","has-control-dns-permission"),b=[{title:"User Management",links:[{key:"manage-user",name:"Manage Users",path:`/${a}/settings/users/`,isShown:!0}]},{title:"Site Notes",links:[{key:"edit-account",name:"Edit Site",path:`/${a}/settings/edit/`,isShown:g},{key:"account-notes",name:"Site Notes",path:`/${a}/settings/edit_notes/`,isShown:x},{key:"download-rules",name:"Download Rules",path:`/management/download_spec/${a}/`,isShown:k}]}],D=()=>e.jsxs("div",{children:[e.jsx("h2",{children:"Settings"}),b.map(t=>e.jsx(c,{children:e.jsxs(m,{children:[e.jsx("h3",{children:t.title}),e.jsx("ul",{children:t.links.filter(s=>s.isShown).map(s=>e.jsx("li",{children:e.jsx("a",{href:s.path,className:"text-sp-primary hover:text-sp-primary-800",children:s.name})},s.key))})]})},t.title)),e.jsx(y,{domainName:f??"",accountSlug:a??"",allowEditAccount:g,allowEditDomainConfig:j,hasControlDNSPermission:S})]}),I=()=>{const t=document.getElementById("settings-react-target");return t?w.createPortal(e.jsx(D,{}),t):null};export{I as default};
2//# sourceMappingURL=index-DCJ7v1RK.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.