1import{r as d}from"./chunk-62JRHF6Z-BMhzGN0D.js";import{j as b}from"./jsx-runtime-D_zvdyIk.js";var $=Object.defineProperty,u=(e,t)=>$(e,"name",{value:t,configurable:!0});function j(e,t){const n=d.createContext(t);n.displayName=e+"Context";const i=u(a=>{const{children:c,...r}=a,s=d.useMemo(()=>r,Object.values(r));return b.jsx(n.Provider,{value:s,children:c})},"Provider");i.displayName=e+"Provider";function o(a,c={}){const{optional:r=!1}=c,s=d.useContext(n);if(s)return s;if(t!==void 0)return t;if(!r)throw new Error(`\`${a}\` must be used within \`${e}\``)}return u(o,"useContext"),[i,o]}u(j,"createContext");function D(e,t=[]){let n=[];function i(a,c){const r=d.createContext(c);r.displayName=a+"Context";const s=n.length;n=[...n,c];const w=u(p=>{var m;const{scope:f,children:S,...C}=p,h=((m=f==null?void 0:f[e])==null?void 0:m[s])||r,v=d.useMemo(()=>C,Object.values(C));return b.jsx(h.Provider,{value:v,children:S})},"Provider");w.displayName=a+"Provider";function P(p,f,S={}){var m;const{optional:C=!1}=S,h=((m=f==null?void 0:f[e])==null?void 0:m[s])||r,v=d.useContext(h);if(v)return v;if(c!==void 0)return c;if(!C)throw new Error(`\`${p}\` must be used within \`${a}\``)}return u(P,"useContext"),[w,P]}u(i,"createContext");const o=u(()=>{const a=n.map(c=>d.createContext(c));return u(function(r){const s=(r==null?void 0:r[e])||a;return d.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])},"useScope")},"createScope");return o.scopeName=e,[i,O(o,...t)]}u(D,"createContextScope");function O(...e){const t=e[0];if(e.length===1)return t;const n=u(()=>{const i=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return u(function(a){const c=i.reduce((r,{useScope:s,scopeName:w})=>{const p=s(a)[`__scope${w}`];return{...r,...p}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}u(O,"composeContextScopes");var M=Object.defineProperty,x=(e,t)=>M(e,"name",{value:t,configurable:!0}),g=!!(typeof window<"u"&&window.document&&window.document.createElement);function E(e,t,{checkForDefaultPrevented:n=!0}={}){return x(function(o){if(e==null||e(o),n===!1||!o||!o.defaultPrevented)return t==null?void 0:t(o)},"handleEvent")}x(E,"composeEventHandlers");function A(e){var t;if(!g)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}x(A,"getOwnerWindow");function _(e){if(!g)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}x(_,"getOwnerDocument");function l(e,t=!1){const{activeElement:n}=_(e);if(!(n!=null&&n.nodeName))return null;if(y(n)&&n.contentDocument)return l(n.contentDocument.body,t);if(t){const i=n.getAttribute("aria-activedescendant");if(i){const o=_(n).getElementById(i);if(o)return o}}return n}x(l,"getActiveElement");function y(e){return e.tagName==="IFRAME"}x(y,"isFrame");export{D as a,E as c};
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.