PageSourceSearch

https://www.zupapost.ai/assets/js/SettingsHost-BVymCS0y.js

js zupapost.ai collected 2026-10-05 15:10:54 UTC 3,426 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/PreferencesTab-C1tavqW1.js","assets/js/vendor-ui-Ck6klJTh.js","assets/js/vendor-react-vqXjOEOi.js","assets/js/index-BrE_YgVs.js","assets/js/vendor-r3f-PynOkg3_.js","assets/js/vendor-three-BXcP7krx.js","assets/js/vendor-utils-Dj5HQrHx.js","assets/js/vendor-icons-BBar8Sox.js","assets/js/vendor-animation-DL6X3dzp.js","assets/css/index-DbIshbKk.css","assets/js/SubscriptionTab-DyS_Z7t8.js","assets/js/ProfileTab-DQsJ1R2v.js","assets/js/ConnectionsTab-CvEcJRYG.js","assets/js/WorkspacesScreen-C99NhITB.js"])))=>i.map(i=>d[i]);
2import{_ as c}from"./vendor-r3f-PynOkg3_.js";import{j as s}from"./vendor-ui-Ck6klJTh.js";import{e as h,u as E,r as d}from"./vendor-react-vqXjOEOi.js";import{f as x,d as S,e as k}from"./index-BrE_YgVs.js";/* empty css                      */import{a1 as T,a2 as P,a8 as j,c as A,a9 as L}from"./vendor-icons-BBar8Sox.js";import"./vendor-three-BXcP7krx.js";import"./vendor-utils-Dj5HQrHx.js";import"./vendor-animation-DL6X3dzp.js";const t=["preferences","subscription","profile","connections","workspaces"],v={preferences:"Preferences",subscription:"Subscription",profile:"Profile",connections:"Connections",workspaces:"Workspaces"};function N(n){const r=n.split("/")[2]??"";return t.includes(r)?r:"preferences"}function l(n,r){return d.lazy(()=>n().then(o=>({default:o[r]})))}const w={preferences:l(()=>c(()=>import("./PreferencesTab-C1tavqW1.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])),"PreferencesTab"),subscription:l(()=>c(()=>import("./SubscriptionTab-DyS_Z7t8.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8,9])),"SubscriptionTab"),profile:l(()=>c(()=>import("./ProfileTab-DQsJ1R2v.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9])),"ProfileTab"),connections:l(()=>c(()=>import("./ConnectionsTab-CvEcJRYG.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9])),"ConnectionsTab"),workspaces:d.lazy(()=>c(()=>import("./WorkspacesScreen-C99NhITB.js"),__vite__mapDeps([13,1,2,3,4,5,6,7,8,9])))},I={preferences:L,subscription:A,profile:j,connections:P,workspaces:T},y=["ArrowLeft","ArrowRight","Home","End"];function B(){const{pathname:n}=h(),r=E(),o=N(n),_=x(e=>{var i;return((i=e.activeWorkspace)==null?void 0:i.name)??""}),m=d.useRef({}),b=w[o],f=e=>{n!==`/settings/${e}`&&r(`/settings/${e}`)},g=e=>{var p;if(!y.includes(e.key))return;e.preventDefault();const i=t.indexOf(o),u=e.key==="Home"?0:e.key==="End"?t.length-1:(i+(e.key==="ArrowRight"?1:-1)+t.length)%t.length,a=t[u];f(a),(p=m.current[a])==null||p.focus()};return s.jsxs("div",{className:"s7-page",children:[s.jsxs("div",{className:"w-page-heading",children:[s.jsx("h1",{children:"Settings"}),s.jsx("span",{className:"s7-meta",children:_})]}),s.jsx("nav",{className:"s7-settings-tabs","aria-label":"Account settings",role:"tablist",...S("settings-nav"),children:t.map((e,i)=>{const u=I[e],a=e===o;return s.jsxs("button",{ref:p=>{m.current[e]=p},type:"button",id:`settings-tab-${i}`,role:"tab",className:`z-button ${a?"active":""} cursor-interaction`.replace(/\s+/g," "),"data-value":e,"aria-selected":a,"aria-controls":"settings-panel",tabIndex:a?0:-1,onClick:()=>f(e),onKeyDown:g,children:[s.jsx(u,{size:18,"aria-hidden":!0})," ",v[e]]},e)})}),s.jsx("section",{id:"settings-panel",role:"tabpanel","aria-labelledby":`settings-tab-${t.indexOf(o)}`,children:s.jsx(d.Suspense,{fallback:s.jsx(k,{}),children:s.jsx(b,{})})})]})}export{B as default};
3//# sourceMappingURL=SettingsHost-BVymCS0y.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.