1"use strict";(globalThis.webpackChunkPlesk||=[]).push([["components/pages/VirtualDirectoryPage"],{3080(t,e,n){n.r(e),n.d(e,{default:()=>u});var s=n(772),a=n(782),i=n.n(a),r=n(342),o=n(1399),c=n.n(o),l=n(785),p=n(95),d=n(341);const h=p.Locale.getTranslate("components.pages.VirtualDirectory"),m=({params:{domainId:t}})=>{const e=(0,s.useLocation)(),n=(0,s.useNavigate)(),[a]=(0,s.useSearchParams)(),i=a.get("path")||"/",{data:{domain:{name:o,webScriptingSettings:{errorDocs:p},hosting:{virtualDirectory:{isVirtual:m,doesExist:u,isReadable:x}},subscription:{permissions:{manageProtectedDirectories:b}}}}}=(0,l.useQuery)(c(),{variables:{domainId:btoa(`Domain:${t}`),path:i}}),j=[{path:"browse",title:(0,d.jsx)(h,{content:"tabBrowse"}),hint:(0,d.jsx)(h,{content:"tabBrowseHint",params:{site:o}})},m&&{path:"mime-types",title:(0,d.jsx)(h,{content:"tabMimeTypes"}),hint:(0,d.jsx)(h,{content:"tabMimeTypesHint"})},m&&p&&{path:"error-docs",title:(0,d.jsx)(h,{content:"tabErrorDocs"}),hint:(0,d.jsx)(h,{content:"tabErrorDocsHint"})},b&&{path:"protection",title:(0,d.jsx)(h,{content:"tabProtection"}),hint:(0,d.jsx)(h,{content:"tabProtectionHint"})}].filter(Boolean),g=j.findIndex(({path:t})=>e.pathname.includes(t))+1;return(0,d.jsxs)(d.Fragment,{children:[!u&&(0,d.jsx)(r.StatusMessage,{intent:"danger",children:(0,d.jsx)(h,{content:"errNotExist"})}),u&&!x&&(0,d.jsx)(r.StatusMessage,{intent:"warning",children:(0,d.jsx)(h,{content:"errNoPermissions"})}),(0,d.jsx)(r.Tabs,{active:g,children:j.map(({path:t,title:s,hint:a})=>(0,d.jsx)(r.Tab,{title:(0,d.jsx)(r.Tooltip,{title:a,children:(0,d.jsx)("span",{children:s})}),onActivate:()=>n({...e,pathname:`./${t}`},{preventScrollReset:!0})},t))}),(0,d.jsx)(s.Outlet,{})]})};m.propTypes={params:i().object.isRequired};const u=m},3079(t,e,n){n.r(e),n.d(e,{default:()=>s.default});var s=n(3080)}}]); 2//# sourceMappingURL=VirtualDirectoryPage.js.map?03b9b65eeb7d1505cd22
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.