PageSourceSearch

https://app.bubblegoods.com/assets/sheet-CtBE38hk.js

js bubblegoods.com collected 2026-09-25 19:50:26 UTC 3,022 bytes, 1 lines download raw bytes

1import{j as a}from"./jsx-runtime-D_zvdyIk.js";import{a as i,z as f}from"./chunk-OE4NN4TA-BenRlXdM.js";import{a as d}from"./utils-DUm1yI1Y.js";import{X as m}from"./x-FDBsefeU.js";import{R as p,C as h,g as x,T as b,h as g,P as v,O as j}from"./dialog-BIM9qI1e.js";const u=i.createContext(null);function P({children:t}){const[e,s]=i.useState(new Map),o=i.useMemo(()=>({overrides:e,setOverride:(r,n)=>{s(l=>{if(l.get(r)===n)return l;const c=new Map(l);return c.set(r,n),c})}}),[e]);return a.jsx(u.Provider,{value:o,children:t})}function z(t,e){const s=i.useContext(u);i.useEffect(()=>{s&&e&&s.setOverride(t,e)},[s,t,e])}function M(){const t=f(),e=i.useContext(u),s=t.filter(o=>{const r=o.handle;return r==null?void 0:r.breadcrumb}).map(o=>{const n=o.handle.breadcrumb;return{label:(e==null?void 0:e.overrides.get(o.pathname))??(typeof n=="function"?n(o.params):n),path:o.pathname}});return s.length<=1?[]:s}function k({...t}){return a.jsx(p,{"data-slot":"sheet",...t})}function y({...t}){return a.jsx(v,{"data-slot":"sheet-portal",...t})}function C({className:t,...e}){return a.jsx(j,{"data-slot":"sheet-overlay",className:d("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",t),...e})}function E({className:t,children:e,side:s="right",showCloseButton:o=!0,...r}){return a.jsxs(y,{children:[a.jsx(C,{}),a.jsxs(h,{"data-slot":"sheet-content",className:d("fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=open]:animate-in data-[state=closed]:duration-300 data-[state=open]:duration-500",s==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",s==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",s==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",s==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...r,children:[e,o&&a.jsxs(x,{className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[a.jsx(m,{className:"size-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function R({className:t,...e}){return a.jsx("div",{"data-slot":"sheet-header",className:d("flex flex-col gap-1.5 p-4",t),...e})}function T({className:t,...e}){return a.jsx(b,{"data-slot":"sheet-title",className:d("font-semibold text-foreground",t),...e})}function D({className:t,...e}){return a.jsx(g,{"data-slot":"sheet-description",className:d("text-muted-foreground text-sm",t),...e})}export{P as B,k as S,E as a,R as b,T as c,D as d,z as e,M as u};

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.