1import{a as e,n as t,t as n}from"./jsx-runtime-DfvxJzCM.js";import{r,t as i}from"./atoms--01yvsLx.js";import{n as a,r as o,t as s}from"./classnames-9uheg8Kc.js";var c=e(t(),1),l=n(),u=()=>{let[e,t]=o(i);return(0,c.useEffect)(()=>{e===`nudge`?(setTimeout(()=>{a(`nudge`),t(``)},50),setTimeout(()=>{a(`top`)},100)):e&&setTimeout(()=>{a(e),t(``)},800)},[e,t]),(0,l.jsx)(l.Fragment,{})},d=e(s(),1),f=({tab:e,label:t,isActive:n,onClick:r})=>(0,l.jsx)(`button`,{role:`tab`,id:`tab-${e}`,"aria-selected":n,"aria-controls":`tabpanel-${e}`,tabIndex:n?0:-1,onClick:r,className:(0,d.default)(`font-badge rounded-md px-4 py-2.5 text-sm uppercase leading-none transition-colors duration-200 ease-in-out sm:text-base`,n?`bg-primary-700 text-white`:`bg-gray-800 text-gray-400 hover:bg-gray-700 hover:text-white`),children:t}),p=({tab:e,isActive:t,children:n})=>(0,l.jsx)(`div`,{role:`tabpanel`,id:`tabpanel-${e}`,"aria-labelledby":`tab-${e}`,hidden:!t,tabIndex:0,children:n}),m=({fileBasedContent:e,configBasedContent:t})=>{let[n,i]=o(r),a=e=>{(e.key===`ArrowLeft`||e.key===`ArrowRight`)&&(e.preventDefault(),i(n===`file-based`?`config-based`:`file-based`))};return(0,l.jsxs)(`div`,{className:`mt-6`,children:[(0,l.jsxs)(`div`,{role:`tablist`,"aria-label":`Routing documentation type`,className:`mb-6 flex gap-2`,onKeyDown:a,children:[(0,l.jsx)(f,{tab:`file-based`,label:`File-based`,isActive:n===`file-based`,onClick:()=>i(`file-based`)}),(0,l.jsx)(f,{tab:`config-based`,label:`Config-based`,isActive:n===`config-based`,onClick:()=>i(`config-based`)})]}),(0,l.jsx)(p,{tab:`file-based`,isActive:n===`file-based`,children:e}),(0,l.jsx)(p,{tab:`config-based`,isActive:n===`config-based`,children:t})]})},h={Destination:u},g={RoutingTabs:m};export{g as export_00945e308fd9,h as export_70341afe3bb1};
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.