PageSourceSearch

https://ngrok.com/blog-assets/build/blog-topic-filters-wI67nIw5.js

js ngrok.com collected 2026-09-24 06:51:15 UTC 1,005 bytes, 1 lines download raw bytes

1import{t as e}from"./jsx-runtime-CB84OG5s.js";import{t}from"./lib-zvFm-xe-.js";import{t as n}from"./href-F2c8N87X.js";import{t as r}from"./button-Dij5vCQG-COy2eeFV.js";import{t as i}from"./slug-Be5o3Gym.js";var a=e();function o({topics:e,activeTopic:o}){let s=o==null?null:i(o),c=o!=null&&!e.some(e=>e.slug===s)?[...e,{name:o,slug:i(o)}]:e;return(0,a.jsxs)(`nav`,{"aria-label":`Filter by topic`,className:`mb-10 flex flex-wrap gap-1.5 border-b border-neutral-200/60 pb-6`,children:[(0,a.jsx)(r,{asChild:!0,appearance:s==null?`filled`:`ghost`,intent:`neutral`,size:`sm`,className:`rounded-full`,children:(0,a.jsx)(t,{to:n(`/blog`),"aria-current":s==null?`page`:void 0,preventScrollReset:!0,children:`All topics`})}),c.map(e=>(0,a.jsx)(r,{asChild:!0,appearance:s===e.slug?`filled`:`ghost`,intent:`neutral`,size:`sm`,className:`rounded-full`,children:(0,a.jsx)(t,{to:n(`/blog/tag/:tag`,{tag:e.slug}),"aria-current":s===e.slug?`page`:void 0,preventScrollReset:!0,children:e.name})},e.slug))]})}export{o as t};

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.