import{b as n}from"./admin-config-DnlTcyOh.js";import{x as o,X as e,r as a}from"./main-TIUJvpaR.js";const l=[{label:o("General"),to:"general",position:1},{label:o("Themes"),to:"themes",position:3},{label:o("Menus"),to:"menus",position:4},e().settings.billing.integrated&&{label:o("Subscriptions"),to:"subscriptions",position:5},{label:o("Localization"),to:"localization",position:6},{label:o("Authentication"),to:"authentication",position:7},{label:o("Uploading"),to:"uploading",position:8},{label:o("Email"),to:"email",position:9},{label:o("System"),to:"system",position:9},{label:o("Analytics"),to:"analytics",position:10},{label:o("Custom code"),to:"custom-code",position:11},{label:o("Captcha"),to:"captcha",position:11},{label:o("GDPR"),to:"gdpr",position:12},{label:o("SEO"),to:"seo",position:13}],s=[...n];for(const t of l)t&&!s.find(i=>i.to===t.to)&&s.push(t);const p=s;function m(){return a.useMemo(()=>p.sort((t,i)=>(t.position??0)-(i.position??0)),[])}export{m as u};
