PageSourceSearch

https://awellis-diagnostic-tool-spec.hf.space/assets/multi-map-rafH3cg3.js

js awellis-diagnostic-tool-spec.hf.space collected 2026-10-03 16:43:44 UTC 8,560 bytes, 1 lines download raw bytes

vendor: 8,560 bytes, line 1
1var be=Object.defineProperty;var ve=(a,t,e)=>t in a?be(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var U=(a,t,e)=>ve(a,typeof t!="symbol"?t+"":t,e);import{s as $}from"./chunk-LvLJmgfZ.js";import{t as xe}from"./react-Bj1aDYRI.js";import{t as ge}from"./compiler-runtime-B3qBwwSJ.js";import{o as q}from"./useEventListener-BR0C1MaI.js";import{t as C}from"./cn-DCUzRj2J.js";import{t as we}from"./jsx-runtime-BqBOg78p.js";import{C as j,S as B,_ as ye,b as G,g as J,v as D,y as _e}from"./fullscreen-BDxedMYP.js";import{d as je,u as Ce}from"./menu-items-CwUpDHG7.js";import{r as Ne}from"./x-C-6liIBr.js";var d=$(xe(),1),l=$(we(),1),N="Collapsible",[Ae,Q]=B(N),[Re,O]=Ae(N),W=d.forwardRef((a,t)=>{let{__scopeCollapsible:e,open:o,defaultOpen:n,disabled:r,onOpenChange:s,...i}=a,[c,p]=D({prop:o,defaultProp:n??!1,onChange:s,caller:N});return(0,l.jsx)(Re,{scope:e,disabled:r,contentId:J(),open:c,onOpenToggle:d.useCallback(()=>p(u=>!u),[p]),children:(0,l.jsx)(j.div,{"data-state":S(c),"data-disabled":r?"":void 0,...i,ref:t})})});W.displayName=N;var X="CollapsibleTrigger",Y=d.forwardRef((a,t)=>{let{__scopeCollapsible:e,...o}=a,n=O(X,e);return(0,l.jsx)(j.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":S(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...o,ref:t,onClick:G(a.onClick,n.onOpenToggle)})});Y.displayName=X;var E="CollapsibleContent",Z=d.forwardRef((a,t)=>{let{forceMount:e,...o}=a,n=O(E,a.__scopeCollapsible);return(0,l.jsx)(ye,{present:e||n.open,children:({present:r})=>(0,l.jsx)(ke,{...o,ref:t,present:r})})});Z.displayName=E;var ke=d.forwardRef((a,t)=>{let{__scopeCollapsible:e,present:o,children:n,...r}=a,s=O(E,e),[i,c]=d.useState(o),p=d.useRef(null),u=q(t,p),m=d.useRef(0),g=m.current,w=d.useRef(0),x=w.current,y=s.open||i,h=d.useRef(y),v=d.useRef(void 0);return d.useEffect(()=>{let f=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(f)},[]),_e(()=>{let f=p.current;if(f){v.current=v.current||{transitionDuration:f.style.transitionDuration,animationName:f.style.animationName},f.style.transitionDuration="0s",f.style.animationName="none";let _=f.getBoundingClientRect();m.current=_.height,w.current=_.width,h.current||(f.style.transitionDuration=v.current.transitionDuration,f.style.animationName=v.current.animationName),c(o)}},[s.open,o]),(0,l.jsx)(j.div,{"data-state":S(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!y,...r,ref:u,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...a.style},children:y&&n})});function S(a){return a?"open":"closed"}var Ie=W,De=Y,Oe=Z,b="Accordion",Ee=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[V,Se,Ve]=je(b),[A,ea]=B(b,[Ve,Q]),z=Q(),ee=d.forwardRef((a,t)=>{let{type:e,...o}=a,n=o,r=o;return(0,l.jsx)(V.Provider,{scope:a.__scopeAccordion,children:e==="multiple"?(0,l.jsx)(He,{...r,ref:t}):(0,l.jsx)(Te,{...n,ref:t})})});ee.displayName=b;var[ae,ze]=A(b),[re,Pe]=A(b,{collapsible:!1}),Te=d.forwardRef((a,t)=>{let{value:e,defaultValue:o,onValueChange:n=()=>{},collapsible:r=!1,...s}=a,[i,c]=D({prop:e,defaultProp:o??"",onChange:n,caller:b});return(0,l.jsx)(ae,{scope:a.__scopeAccordion,value:d.useMemo(()=>i?[i]:[],[i]),onItemOpen:c,onItemClose:d.useCallback(()=>r&&c(""),[r,c]),children:(0,l.jsx)(re,{scope:a.__scopeAccordion,collapsible:r,children:(0,l.jsx)(te,{...s,ref:t})})})}),He=d.forwardRef((a,t)=>{let{value:e,defaultValue:o,onValueChange:n=()=>{},...r}=a,[s,i]=D({prop:e,defaultProp:o??[],onChange:n,caller:b}),c=d.useCallback(u=>i((m=[])=>[...m,u]),[i]),p=d.useCallback(u=>i((m=[])=>m.filter(g=>g!==u)),[i]);return(0,l.jsx)(ae,{scope:a.__scopeAccordion,value:s,onItemOpen:c,onItemClose:p,children:(0,l.jsx)(re,{scope:a.__scopeAccordion,collapsible:!0,children:(0,l.jsx)(te,{...r,ref:t})})})}),[Me,R]=A(b),te=d.forwardRef((a,t)=>{let{__scopeAccordion:e,disabled:o,dir:n,orientation:r="vertical",...s}=a,i=q(d.useRef(null),t),c=Se(e),p=Ce(n)==="ltr",u=G(a.onKeyDown,m=>{var K;if(!Ee.includes(m.key))return;let g=m.target,w=c().filter(I=>{var L;return!((L=I.ref.current)!=null&&L.disabled)}),x=w.findIndex(I=>I.ref.current===g),y=w.length;if(x===-1)return;m.preventDefault();let h=x,v=y-1,f=()=>{h=x+1,h>v&&(h=0)},_=()=>{h=x-1,h<0&&(h=v)};switch(m.key){case"Home":h=0;break;case"End":h=v;break;case"ArrowRight":r==="horizontal"&&(p?f():_());break;case"ArrowDown":r==="vertical"&&f();break;case"ArrowLeft":r==="horizontal"&&(p?_():f());break;case"ArrowUp":r==="vertical"&&_();break}(K=w[h%y].ref.current)==null||K.focus()});return(0,l.jsx)(Me,{scope:e,disabled:o,direction:n,orientation:r,children:(0,l.jsx)(V.Slot,{scope:e,children:(0,l.jsx)(j.div,{...s,"data-orientation":r,ref:i,onKeyDown:o?void 0:u})})})}),k="AccordionItem",[Fe,P]=A(k),oe=d.forwardRef((a,t)=>{let{__scopeAccordion:e,value:o,...n}=a,r=R(k,e),s=ze(k,e),i=z(e),c=J(),p=o&&s.value.includes(o)||!1,u=r.disabled||a.disabled;return(0,l.jsx)(Fe,{scope:e,open:p,disabled:u,triggerId:c,children:(0,l.jsx)(Ie,{"data-orientation":r.orientation,"data-state":ce(p),...i,...n,ref:t,disabled:u,open:p,onOpenChange:m=>{m?s.onItemOpen(o):s.onItemClose(o)}})})});oe.displayName=k;var ne="AccordionHeader",se=d.forwardRef((a,t)=>{let{__scopeAccordion:e,...o}=a,n=R(b,e),r=P(ne,e);return(0,l.jsx)(j.h3,{"data-orientation":n.orientation,"data-state":ce(r.open),"data-disabled":r.disabled?"":void 0,...o,ref:t})});se.displayName=ne;var T="AccordionTrigger",ie=d.forwardRef((a,t)=>{let{__scopeAccordion:e,...o}=a,n=R(b,e),r=P(T,e),s=Pe(T,e),i=z(e);return(0,l.jsx)(V.ItemSlot,{scope:e,children:(0,l.jsx)(De,{"aria-disabled":r.open&&!s.collapsible||void 0,"data-orientation":n.orientation,id:r.triggerId,...i,...o,ref:t})})});ie.displayName=T;var le="AccordionContent",de=d.forwardRef((a,t)=>{let{__scopeAccordion:e,...o}=a,n=R(b,e),r=P(le,e),s=z(e);return(0,l.jsx)(Oe,{role:"region","aria-labelledby":r.triggerId,"data-orientation":n.orientation,...s,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...a.style}})});de.displayName=le;function ce(a){return a?"open":"closed"}var pe=ee,ue=oe,Ke=se,H=ie,M=de,F=ge(),Le=pe,fe=d.forwardRef((a,t)=>{let e=(0,F.c)(9),o,n;e[0]===a?(o=e[1],n=e[2]):({className:o,...n}=a,e[0]=a,e[1]=o,e[2]=n);let r;e[3]===o?r=e[4]:(r=C("border-b",o),e[3]=o,e[4]=r);let s;return e[5]!==n||e[6]!==t||e[7]!==r?(s=(0,l.jsx)(ue,{ref:t,className:r,...n}),e[5]=n,e[6]=t,e[7]=r,e[8]=s):s=e[8],s});fe.displayName="AccordionItem";var me=d.forwardRef((a,t)=>{let e=(0,F.c)(12),o,n,r;e[0]===a?(o=e[1],n=e[2],r=e[3]):({className:n,children:o,...r}=a,e[0]=a,e[1]=o,e[2]=n,e[3]=r);let s;e[4]===n?s=e[5]:(s=C("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180 text-start",n),e[4]=n,e[5]=s);let i;e[6]===Symbol.for("react.memo_cache_sentinel")?(i=(0,l.jsx)(Ne,{className:"h-4 w-4 transition-transform duration-200"}),e[6]=i):i=e[6];let c;return e[7]!==o||e[8]!==r||e[9]!==t||e[10]!==s?(c=(0,l.jsx)(Ke,{className:"flex",children:(0,l.jsxs)(H,{ref:t,className:s,...r,children:[o,i]})}),e[7]=o,e[8]=r,e[9]=t,e[10]=s,e[11]=c):c=e[11],c});me.displayName=H.displayName;var he=d.forwardRef((a,t)=>{let e=(0,F.c)(17),o,n,r,s;e[0]===a?(o=e[1],n=e[2],r=e[3],s=e[4]):({className:n,children:o,wrapperClassName:s,...r}=a,e[0]=a,e[1]=o,e[2]=n,e[3]=r,e[4]=s);let i;e[5]===n?i=e[6]:(i=C("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",n),e[5]=n,e[6]=i);let c;e[7]===s?c=e[8]:(c=C("pb-4 pt-0",s),e[7]=s,e[8]=c);let p;e[9]!==o||e[10]!==c?(p=(0,l.jsx)("div",{className:c,children:o}),e[9]=o,e[10]=c,e[11]=p):p=e[11];let u;return e[12]!==r||e[13]!==t||e[14]!==i||e[15]!==p?(u=(0,l.jsx)(M,{ref:t,className:i,...r,children:p}),e[12]=r,e[13]=t,e[14]=i,e[15]=p,e[16]=u):u=e[16],u});he.displayName=M.displayName;var Ue=class{constructor(){U(this,"map",new Map)}get(a){return this.map.get(a)??[]}set(a,t){this.map.set(a,t)}add(a,t){this.map.has(a)?this.map.get(a).push(t):this.map.set(a,[t])}has(a){return this.map.has(a)}delete(a){return this.map.delete(a)}clear(){this.map.clear()}keys(){return this.map.keys()}values(){return this.map.values()}entries(){return this.map.entries()}forEach(a){this.map.forEach(a)}flatValues(){let a=[];for(let t of this.map.values())a.push(...t);return a}get size(){return this.map.size}};export{me as a,pe as c,fe as i,H as l,Le as n,M as o,he as r,ue as s,Ue 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.