PageSourceSearch

https://www.rasyid.dev/assets/vendor-radix-DFDpb29v.js

js rasyid.dev collected 2026-10-09 22:08:43 UTC 87,538 bytes, 41 lines download raw bytes

vendor: 24,495 bytes, line 1
1import{r as c,a as yn,R as fe,b as ao,c as co}from"./vendor-react-CaEYLC_v.js";import{j as C}from"./vendor-motion-BA89JN7Q.js";function qt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function rt(...e){return t=>{let n=!1;const r=e.map(o=>{const i=qt(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():qt(e[o],null)}}}}function H(...e){return c.useCallback(rt(...e),e)}var _e=c.forwardRef((e,t)=>{const{children:n,...r}=e,o=c.Children.toArray(n),i=o.find(lo);if(i){const s=i.props.children,a=o.map(f=>f===i?c.Children.count(s)>1?c.Children.only(null):c.isValidElement(s)?s.props.children:null:f);return C.jsx(xt,{...r,ref:t,children:c.isValidElement(s)?c.cloneElement(s,void 0,a):null})}return C.jsx(xt,{...r,ref:t,children:n})});_e.displayName="Slot";var xt=c.forwardRef((e,t)=>{const{children:n,...r}=e;if(c.isValidElement(n)){const o=po(n),i=fo(r,n.props);return n.type!==c.Fragment&&(i.ref=t?rt(t,o):o),c.cloneElement(n,i)}return c.Children.count(n)>1?c.Children.only(null):null});xt.displayName="SlotClone";var uo=({children:e})=>C.jsx(C.Fragment,{children:e});function lo(e){return c.isValidElement(e)&&e.type===uo}function fo(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function po(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function L(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function be(e,t=[]){let n=[];function r(i,s){const a=c.createContext(s),f=n.length;n=[...n,s];const u=l=>{var w;const{scope:m,children:v,...h}=l,p=((w=m==null?void 0:m[e])==null?void 0:w[f])||a,g=c.useMemo(()=>h,Object.values(h));return C.jsx(p.Provider,{value:g,children:v})};u.displayName=i+"Provider";function d(l,m){var p;const v=((p=m==null?void 0:m[e])==null?void 0:p[f])||a,h=c.useContext(v);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${l}\` must be used within \`${i}\``)}return[u,d]}const o=()=>{const i=n.map(s=>c.createContext(s));return function(a){const f=(a==null?void 0:a[e])||i;return c.useMemo(()=>({[`__scope${e}`]:{...a,[e]:f}}),[a,f])}};return o.scopeName=e,[r,mo(o,...t)]}function mo(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:f,scopeName:u})=>{const l=f(i)[`__scope${u}`];return{...a,...l}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Y(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function xn({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=vo({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=Y(n),f=c.useCallback(u=>{if(i){const l=typeof u=="function"?u(e):u;l!==e&&a(l)}else o(u)},[i,e,o,a]);return[s,f]}function vo({defaultProp:e,onChange:t}){const n=c.useState(e),[r]=n,o=c.useRef(r),i=Y(t);return c.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var ho=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$=ho.reduce((e,t)=>{const n=c.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?_e:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function bn(e,t){e&&yn.flushSync(()=>e.dispatchEvent(t))}function En(e){const t=e+"CollectionProvider",[n,r]=be(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:h,children:p}=v,g=fe.useRef(null),w=fe.useRef(new Map).current;return C.jsx(o,{scope:h,itemMap:w,collectionRef:g,children:p})};s.displayName=t;const a=e+"CollectionSlot",f=fe.forwardRef((v,h)=>{const{scope:p,children:g}=v,w=i(a,p),y=H(h,w.collectionRef);return C.jsx(_e,{ref:y,children:g})});f.displayName=a;const u=e+"CollectionItemSlot",d="data-radix-collection-item",l=fe.forwardRef((v,h)=>{const{scope:p,children:g,...w}=v,y=fe.useRef(null),x=H(h,y),b=i(u,p);return fe.useEffect(()=>(b.itemMap.set(y,{ref:y,...w}),()=>void b.itemMap.delete(y))),C.jsx(_e,{[d]:"",ref:x,children:g})});l.displayName=u;function m(v){const h=i(e+"CollectionConsumer",v);return fe.useCallback(()=>{const g=h.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(h.itemMap.values()).sort((b,E)=>w.indexOf(b.ref.current)-w.indexOf(E.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:s,Slot:f,ItemSlot:l},m,r]}var go=c.createContext(void 0);function Rn(e){const t=c.useContext(go);return e||t||"ltr"}function wo(e,t=globalThis==null?void 0:globalThis.document){const n=Y(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Co="DismissableLayer",bt="dismissableLayer.update",yo="dismissableLayer.pointerDownOutside",xo="dismissableLayer.focusOutside",Qt,Sn=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mn=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...f}=e,u=c.useContext(Sn),[d,l]=c.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=c.useState({}),h=H(t,R=>l(R)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=p.indexOf(g),y=d?p.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,b=y>=w,E=Ro(R=>{const A=R.target,I=[...u.branches].some(O=>O.contains(A));!b||I||(o==null||o(R),s==null||s(R),R.defaultPrevented||a==null||a())},m),M=So(R=>{const A=R.target;[...u.branches].some(O=>O.contains(A))||(i==null||i(R),s==null||s(R),R.defaultPrevented||a==null||a())},m);return wo(R=>{y===u.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},m),c.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Qt=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Jt(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Qt)}},[d,m,n,u]),c.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Jt())},[d,u]),c.useEffect(()=>{const R=()=>v({});return document.addEventListener(bt,R),()=>document.removeEventListener(bt,R)},[]),C.jsx($.div,{...f,ref:h,style:{pointerEvents:x?b?"auto":"none":void 0,...e.style},onFocusCapture:L(e.onFocusCapture,M.onFocusCapture),onBlurCapture:L(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:L(e.onPointerDownCapture,E.onPointerDownCapture)})});Mn.displayName=Co;var bo="DismissableLayerBranch",Eo=c.forwardRef((e,t)=>{const n=c.useContext(Sn),r=c.useRef(null),o=H(t,r);return c.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),C.jsx($.div,{...e,ref:o})});Eo.displayName=bo;function Ro(e,t=globalThis==null?void 0:globalThis.document){const n=Y(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let f=function(){An(yo,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=f,t.addEventListener("click",o.current,{once:!0})):f()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function So(e,t=globalThis==null?void 0:globalThis.document){const n=Y(e),r=c.useRef(!1);return c.useEffect(()=>{const o=i=>{i.target&&!r.current&&An(xo,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Jt(){const e=new CustomEvent(bt);document.dispatchEvent(e)}function An(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?bn(o,i):o.dispatchEvent(i)}var ft=0;function Mo(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??en()),document.body.insertAdjacentElement("beforeend",e[1]??en()),ft++,()=>{ft===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ft--}},[])}function en(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var dt="focusScope.autoFocusOnMount",pt="focusScope.autoFocusOnUnmount",tn={bubbles:!1,cancelable:!0},Ao="FocusScope",Pn=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,f]=c.useState(null),u=Y(o),d=Y(i),l=c.useRef(null),m=H(t,p=>f(p)),v=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let p=function(x){if(v.paused||!a)return;const b=x.target;a.contains(b)?l.current=b:se(l.current,{select:!0})},g=function(x){if(v.paused||!a)return;const b=x.relatedTarget;b!==null&&(a.contains(b)||se(l.current,{select:!0}))},w=function(x){if(document.activeElement===document.body)for(const E of x)E.removedNodes.length>0&&se(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const y=new MutationObserver(w);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),y.disconnect()}}},[r,a,v.paused]),c.useEffect(()=>{if(a){rn.add(v);const p=document.activeElement;if(!a.contains(p)){const w=new CustomEvent(dt,tn);a.addEventListener(dt,u),a.dispatchEvent(w),w.defaultPrevented||(Po(To(Ln(a)),{select:!0}),document.activeElement===p&&se(a))}return()=>{a.removeEventListener(dt,u),setTimeout(()=>{const w=new CustomEvent(pt,tn);a.addEventListener(pt,d),a.dispatchEvent(w),w.defaultPrevented||se(p??document.body,{select:!0}),a.removeEventListener(pt,d),rn.remove(v)},0)}}},[a,u,d,v]);const h=c.useCallback(p=>{if(!n&&!r||v.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,w=document.activeElement;if(g&&w){const y=p.currentTarget,[x,b]=Lo(y);x&&b?!p.shiftKey&&w===b?(p.preventDefault(),n&&se(x,{select:!0})):p.shiftKey&&w===x&&(p.preventDefault(),n&&se(b,{select:!0})):w===y&&p.preventDefault()}},[n,r,v.paused]);return C.jsx($.div,{tabIndex:-1,...s,ref:m,onKeyDown:h})});Pn.displayName=Ao;function Po(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(se(r,{select:t}),document.activeElement!==n)return}function Lo(e){const t=Ln(e),n=nn(t,e),r=nn(t.reverse(),e);return[n,r]}function Ln(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nn(e,t){for(const n of e)if(!Oo(n,{upTo:t}))return n}function Oo(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function _o(e){return e instanceof HTMLInputElement&&"select"in e}function se(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&_o(e)&&t&&e.select()}}var rn=Io();function Io(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=on(e,t),e.unshift(t)},remove(t){var n;e=on(e,t),(n=e[0])==null||n.resume()}}}function on(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function To(e){return e.filter(t=>t.tagName!=="A")}var re=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},Do=ao.useId||(()=>{}),No=0;function Et(e){const[t,n]=c.useState(Do());return re(()=>{n(r=>r??String(No++))},[e]),t?`radix-${t}`:""}const Fo=["top","right","bottom","left"],ae=Math.min,U=Math.max,qe=Math.round,Ve=Math.floor,J=e=>({x:e,y:e}),ko={left:"right",right:"left",bottom:"top",top:"bottom"},jo={start:"end",end:"start"};function Rt(e,t,n){return U(e,ae(t,n))}function oe(e,t){return typeof e=="function"?e(t):e}function ie(e){return e.split("-")[0]}function Ee(e){return e.split("-")[1]}function Ot(e){return e==="x"?"y":"x"}function _t(e){return e==="y"?"height":"width"}function ce(e){return["top","bottom"].includes(ie(e))?"y":"x"}function It(e){return Ot(ce(e))}function $o(e,t,n){n===void 0&&(n=!1);const r=Ee(e),o=It(e),i=_t(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Qe(s)),[s,Qe(s)]}function Bo(e){const t=Qe(e);return[St(e),t,St(t)]}function St(e){return e.replace(/start|end/g,t=>jo[t])}function Wo(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Vo(e,t,n,r){const o=Ee(e);let i=Wo(ie(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(St)))),i}function Qe(e){return e.replace(/left|right|bottom|top/g,t=>ko[t])}function Ho(e){return{top:0,right:0,bottom:0,left:0,...e}}function On(e){return typeof e!="number"?Ho(e):{top:e,right:e,bottom:e,left:e}}function Je(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function sn(e,t,n){let{reference:r,floating:o}=e;const i=ce(t),s=It(t),a=_t(s),f=ie(t),u=i==="y",d=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let v;switch(f){case"top":v={x:d,y:r.y-o.height};break;case"bottom":v={x:d,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:l};break;case"left":v={x:r.x-o.width,y:l};break;default:v={x:r.x,y:r.y}}switch(Ee(t)){case"start":v[s]-=m*(n&&u?-1:1);break;case"end":v[s]+=m*(n&&u?-1:1);break}return v}const Uo=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:l}=sn(u,r,f),m=r,v={},h=0;for(let p=0;p<a.length;p++){const{name:g,fn:w}=a[p],{x:y,y:x,data:b,reset:E}=await w({x:d,y:l,initialPlacement:r,placement:m,strategy:o,middlewareData:v,rects:u,platform:s,elements:{reference:e,floating:t}});d=y??d,l=x??l,v={...v,[g]:{...v[g],...b}},E&&h<=50&&(h++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:d,y:l}=sn(u,m,f)),p=-1)}return{x:d,y:l,placement:m,strategy:o,middlewareData:v}};async function Ie(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:l="floating",altBoundary:m=!1,padding:v=0}=oe(t,e),h=On(v),g=a[m?l==="floating"?"reference":"floating":l],w=Je(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:f})),y=l==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),b=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},E=Je(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:f}):y);return{top:(w.top-E.top+h.top)/b.y,bottom:(E.bottom-w.bottom+h.bottom)/b.y,left:(w.left-E.left+h.left)/b.x,right:(E.right-w.right+h.right)/b.x}}const Ko=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:f}=t,{element:u,padding:d=0}=oe(e,t)||{};if(u==null)return{};const l=On(d),m={x:n,y:r},v=It(o),h=_t(v),p=await s.getDimensions(u),g=v==="y",w=g?"top":"left",y=g?"bottom":"right",x=g?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[v]-m[v]-i.floating[h],E=m[v]-i.reference[v],M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let R=M?M[x]:0;(!R||!await(s.isElement==null?void 0:s.isElement(M)))&&(R=a.floating[x]||i.floating[h]);const A=b/2-E/2,I=R/2-p[h]/2-1,O=ae(l[w],I),F=ae(l[y],I),k=O,D=R-p[h]-F,T=R/2-p[h]/2+A,B=Rt(k,T,D),_=!f.arrow&&Ee(o)!=null&&T!==B&&i.reference[h]/2-(T<k?O:F)-p[h]/2<0,j=_?T<k?T-k:T-D:0;return{[v]:m[v]+j,data:{[v]:B,centerOffset:T-B-j,..._&&{alignmentOffset:j}},reset:_}}}),Go=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:f,elements:u}=t,{mainAxis:d=!0,crossAxis:l=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...g}=oe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=ie(o),y=ce(a),x=ie(a)===a,b=await(f.isRTL==null?void 0:f.isRTL(u.floating)),E=m||(x||!p?[Qe(a)]:Bo(a)),M=h!=="none";!m&&M&&E.push(...Vo(a,p,h,b));const R=[a,...E],A=await Ie(t,g),I=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&I.push(A[w]),l){const T=$o(o,s,b);I.push(A[T[0]],A[T[1]])}if(O=[...O,{placement:o,overflows:I}],!I.every(T=>T<=0)){var F,k;const T=(((F=i.flip)==null?void 0:F.index)||0)+1,B=R[T];if(B)return{data:{index:T,overflows:O},reset:{placement:B}};let _=(k=O.filter(j=>j.overflows[0]<=0).sort((j,P)=>j.overflows[1]-P.overflows[1])[0])==null?void 0:k.placement;if(!_)switch(v){case"bestFit":{var D;const j=(D=O.filter(P=>{if(M){const S=ce(P.placement);return S===y||S==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(S=>S>0).reduce((S,N)=>S+N,0)]).sort((P,S)=>P[1]-S[1])[0])==null?void 0:D[0];j&&(_=j);break}case"initialPlacement":_=a;break}if(o!==_)return{reset:{placement:_}}}return{}}}};function an(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function cn(e){return Fo.some(t=>e[t]>=0)}const zo=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=oe(e,t);switch(r){case"referenceHidden":{const i=await Ie(t,{...o,elementContext:"reference"}),s=an(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:cn(s)}}}case"escaped":{const i=await Ie(t,{...o,altBoundary:!0}),s=an(i,n.floating);return{data:{escapedOffsets:s,escaped:cn(s)}}}default:return{}}}}};async function Yo(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=ie(n),a=Ee(n),f=ce(n)==="y",u=["left","top"].includes(s)?-1:1,d=i&&f?-1:1,l=oe(t,e);let{mainAxis:m,crossAxis:v,alignmentAxis:h}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return a&&typeof h=="number"&&(v=a==="end"?h*-1:h),f?{x:v*d,y:m*u}:{x:m*u,y:v*d}}const Zo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,f=await Yo(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+f.x,y:i+f.y,data:{...f,placement:s}}}}},Xo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:g=>{let{x:w,y}=g;return{x:w,y}}},...f}=oe(e,t),u={x:n,y:r},d=await Ie(t,f),l=ce(ie(o)),m=Ot(l);let v=u[m],h=u[l];if(i){const g=m==="y"?"top":"left",w=m==="y"?"bottom":"right",y=v+d[g],x=v-d[w];v=Rt(y,v,x)}if(s){const g=l==="y"?"top":"left",w=l==="y"?"bottom":"right",y=h+d[g],x=h-d[w];h=Rt(y,h,x)}const p=a.fn({...t,[m]:v,[l]:h});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[m]:i,[l]:s}}}}}},qo=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:f=!0,crossAxis:u=!0}=oe(e,t),d={x:n,y:r},l=ce(o),m=Ot(l);let v=d[m],h=d[l];const p=oe(a,t),g=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(f){const x=m==="y"?"height":"width",b=i.reference[m]-i.floating[x]+g.mainAxis,E=i.reference[m]+i.reference[x]-g.mainAxis;v<b?v=b:v>E&&(v=E)}if(u){var w,y;const x=m==="y"?"width":"height",b=["top","left"].includes(ie(o)),E=i.reference[l]-i.floating[x]+(b&&((w=s.offset)==null?void 0:w[l])||0)+(b?0:g.crossAxis),M=i.reference[l]+i.reference[x]+(b?0:((y=s.offset)==null?void 0:y[l])||0)-(b?g.crossAxis:0);h<E?h=E:h>M&&(h=M)}return{[m]:v,[l]:h}}}},Qo=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:f=()=>{},...u}=oe(e,t),d=await Ie(t,u),l=ie(o),m=Ee(o),v=ce(o)==="y",{width:h,height:p}=i.floating;let g,w;l==="top"||l==="bottom"?(g=l,w=m===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(w=l,g=m==="end"?"top":"bottom");const y=p-d.top-d.bottom,x=h-d.left-d.right,b=ae(p-d[g],y),E=ae(h-d[w],x),M=!t.middlewareData.shift;let R=b,A=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=y),M&&!m){const O=U(d.left,0),F=U(d.right,0),k=U(d.top,0),D=U(d.bottom,0);v?A=h-2*(O!==0||F!==0?O+F:U(d.left,d.right)):R=p-2*(k!==0||D!==0?k+D:U(d.top,d.bottom))}await f({...t,availableWidth:A,availableHeight:R});const I=await s.getDimensions(a.floating);return h!==I.width||p!==I.height?{reset:{rects:!0}}:{}}}};function ot(){return typeof window<"u"}function Re(e){return _n(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function te(e){var t;return(t=(_n(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _n(e){return ot()?e instanceof Node||e instanceof K(e).Node:!1}function Z(e){return ot()?e instanceof Element||e instanceof K(e).Element:!1}function ee(e){return ot()?e instanceof HTMLElement||e instanceof K(e).HTMLElement:!1}function un(e){return!ot()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}function Fe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Jo(e){return["table","td","th"].includes(Re(e))}function it(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Tt(e){const t=Dt(),n=Z(e)?X(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ei(e){let t=ue(e);for(;ee(t)&&!xe(t);){if(Tt(t))return t;if(it(t))return null;t=ue(t)}return null}function Dt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xe(e){return["html","body","#document"].includes(Re(e))}function X(e){return K(e).getComputedStyle(e)}function st(e){return Z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ue(e){if(Re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||un(e)&&e.host||te(e);return un(t)?t.host:t}function In(e){const t=ue(e);return xe(t)?e.ownerDocument?e.ownerDocument.body:e.body:ee(t)&&Fe(t)?t:In(t)}function Te(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=In(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=K(o);if(i){const a=Mt(s);
vendor: 7,297 bytes, line 1
1return t.concat(s,s.visualViewport||[],Fe(o)?o:[],a&&n?Te(a):[])}return t.concat(o,Te(o,[],n))}function Mt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Tn(e){const t=X(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ee(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=qe(n)!==i||qe(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Nt(e){return Z(e)?e:e.contextElement}function Ce(e){const t=Nt(e);if(!ee(t))return J(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Tn(t);let s=(i?qe(n.width):n.width)/r,a=(i?qe(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const ti=J(0);function Dn(e){const t=K(e);return!Dt()||!t.visualViewport?ti:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ni(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==K(e)?!1:t}function de(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Nt(e);let s=J(1);t&&(r?Z(r)&&(s=Ce(r)):s=Ce(e));const a=ni(i,n,r)?Dn(i):J(0);let f=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,d=o.width/s.x,l=o.height/s.y;if(i){const m=K(i),v=r&&Z(r)?K(r):r;let h=m,p=Mt(h);for(;p&&r&&v!==h;){const g=Ce(p),w=p.getBoundingClientRect(),y=X(p),x=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,b=w.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;f*=g.x,u*=g.y,d*=g.x,l*=g.y,f+=x,u+=b,h=K(p),p=Mt(h)}}return Je({width:d,height:l,x:f,y:u})}function Ft(e,t){const n=st(e).scrollLeft;return t?t.left+n:de(te(e)).left+n}function Nn(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ft(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function ri(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=te(r),a=t?it(t.floating):!1;if(r===s||a&&i)return n;let f={scrollLeft:0,scrollTop:0},u=J(1);const d=J(0),l=ee(r);if((l||!l&&!i)&&((Re(r)!=="body"||Fe(s))&&(f=st(r)),ee(r))){const v=de(r);u=Ce(r),d.x=v.x+r.clientLeft,d.y=v.y+r.clientTop}const m=s&&!l&&!i?Nn(s,f,!0):J(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+d.x+m.x,y:n.y*u.y-f.scrollTop*u.y+d.y+m.y}}function oi(e){return Array.from(e.getClientRects())}function ii(e){const t=te(e),n=st(e),r=e.ownerDocument.body,o=U(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=U(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ft(e);const a=-n.scrollTop;return X(r).direction==="rtl"&&(s+=U(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function si(e,t){const n=K(e),r=te(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,f=0;if(o){i=o.width,s=o.height;const u=Dt();(!u||u&&t==="fixed")&&(a=o.offsetLeft,f=o.offsetTop)}return{width:i,height:s,x:a,y:f}}function ai(e,t){const n=de(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ee(e)?Ce(e):J(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,f=o*i.x,u=r*i.y;return{width:s,height:a,x:f,y:u}}function ln(e,t,n){let r;if(t==="viewport")r=si(e,n);else if(t==="document")r=ii(te(e));else if(Z(t))r=ai(t,n);else{const o=Dn(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Je(r)}function Fn(e,t){const n=ue(e);return n===t||!Z(n)||xe(n)?!1:X(n).position==="fixed"||Fn(n,t)}function ci(e,t){const n=t.get(e);if(n)return n;let r=Te(e,[],!1).filter(a=>Z(a)&&Re(a)!=="body"),o=null;const i=X(e).position==="fixed";let s=i?ue(e):e;for(;Z(s)&&!xe(s);){const a=X(s),f=Tt(s);!f&&a.position==="fixed"&&(o=null),(i?!f&&!o:!f&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Fe(s)&&!f&&Fn(e,s))?r=r.filter(d=>d!==s):o=a,s=ue(s)}return t.set(e,r),r}function ui(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?it(t)?[]:ci(t,this._c):[].concat(n),r],a=s[0],f=s.reduce((u,d)=>{const l=ln(t,d,o);return u.top=U(l.top,u.top),u.right=ae(l.right,u.right),u.bottom=ae(l.bottom,u.bottom),u.left=U(l.left,u.left),u},ln(t,a,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function li(e){const{width:t,height:n}=Tn(e);return{width:t,height:n}}function fi(e,t,n){const r=ee(t),o=te(t),i=n==="fixed",s=de(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const f=J(0);if(r||!r&&!i)if((Re(t)!=="body"||Fe(o))&&(a=st(t)),r){const m=de(t,!0,i,t);f.x=m.x+t.clientLeft,f.y=m.y+t.clientTop}else o&&(f.x=Ft(o));const u=o&&!r&&!i?Nn(o,a):J(0),d=s.left+a.scrollLeft-f.x-u.x,l=s.top+a.scrollTop-f.y-u.y;return{x:d,y:l,width:s.width,height:s.height}}function mt(e){return X(e).position==="static"}function fn(e,t){if(!ee(e)||X(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return te(e)===n&&(n=n.ownerDocument.body),n}function kn(e,t){const n=K(e);if(it(e))return n;if(!ee(e)){let o=ue(e);for(;o&&!xe(o);){if(Z(o)&&!mt(o))return o;o=ue(o)}return n}let r=fn(e,t);for(;r&&Jo(r)&&mt(r);)r=fn(r,t);return r&&xe(r)&&mt(r)&&!Tt(r)?n:r||ei(e)||n}const di=async function(e){const t=this.getOffsetParent||kn,n=this.getDimensions,r=await n(e.floating);return{reference:fi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function pi(e){return X(e).direction==="rtl"}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:ri,getDocumentElement:te,getClippingRect:ui,getOffsetParent:kn,getElementRects:di,getClientRects:oi,getDimensions:li,getScale:Ce,isElement:Z,isRTL:pi};function jn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function vi(e,t){let n=null,r;const o=te(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,f){a===void 0&&(a=!1),f===void 0&&(f=1),i();const u=e.getBoundingClientRect(),{left:d,top:l,width:m,height:v}=u;if(a||t(),!m||!v)return;const h=Ve(l),p=Ve(o.clientWidth-(d+m)),g=Ve(o.clientHeight-(l+v)),w=Ve(d),x={rootMargin:-h+"px "+-p+"px "+-g+"px "+-w+"px",threshold:U(0,ae(1,f))||1};let b=!0;function E(M){const R=M[0].intersectionRatio;if(R!==f){if(!b)return s();R?s(!1,R):r=setTimeout(()=>{s(!1,1e-7)},1e3)}R===1&&!jn(u,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(E,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return s(!0),i}function hi(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,u=Nt(e),d=o||i?[...u?Te(u):[],...Te(t)]:[];d.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const l=u&&a?vi(u,n):null;let m=-1,v=null;s&&(v=new ResizeObserver(w=>{let[y]=w;y&&y.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=v)==null||x.observe(t)})),n()}),u&&!f&&v.observe(u),v.observe(t));let h,p=f?de(e):null;f&&g();function g(){const w=de(e);p&&!jn(p,w)&&n(),p=w,h=requestAnimationFrame(g)}return n(),()=>{var w;d.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),l==null||l(),(w=v)==null||w.disconnect(),v=null,f&&cancelAnimationFrame(h)}}const gi=Zo,wi=Xo,Ci=Go,yi=Qo,xi=zo,dn=Ko,bi=qo,Ei=(e,t,n)=>{const r=new Map,o={platform:mi,...n},i={...o.platform,_c:r};return Uo(e,t,{...o,platform:i})};var Ye=typeof document<"u"?c.useLayoutEffect:c.useEffect;function et(e,t){if(e===t)return!0;
vendor: 4,140 bytes, line 1
1if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!et(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!et(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $n(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function pn(e,t){const n=$n(e);return Math.round(t*n)/n}function vt(e){const t=c.useRef(e);return Ye(()=>{t.current=e}),t}function Ri(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:f,open:u}=e,[d,l]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,v]=c.useState(r);et(m,r)||v(r);const[h,p]=c.useState(null),[g,w]=c.useState(null),y=c.useCallback(P=>{P!==M.current&&(M.current=P,p(P))},[]),x=c.useCallback(P=>{P!==R.current&&(R.current=P,w(P))},[]),b=i||h,E=s||g,M=c.useRef(null),R=c.useRef(null),A=c.useRef(d),I=f!=null,O=vt(f),F=vt(o),k=vt(u),D=c.useCallback(()=>{if(!M.current||!R.current)return;const P={placement:t,strategy:n,middleware:m};F.current&&(P.platform=F.current),Ei(M.current,R.current,P).then(S=>{const N={...S,isPositioned:k.current!==!1};T.current&&!et(A.current,N)&&(A.current=N,yn.flushSync(()=>{l(N)}))})},[m,t,n,F,k]);Ye(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,l(P=>({...P,isPositioned:!1})))},[u]);const T=c.useRef(!1);Ye(()=>(T.current=!0,()=>{T.current=!1}),[]),Ye(()=>{if(b&&(M.current=b),E&&(R.current=E),b&&E){if(O.current)return O.current(b,E,D);D()}},[b,E,D,O,I]);const B=c.useMemo(()=>({reference:M,floating:R,setReference:y,setFloating:x}),[y,x]),_=c.useMemo(()=>({reference:b,floating:E}),[b,E]),j=c.useMemo(()=>{const P={position:n,left:0,top:0};if(!_.floating)return P;const S=pn(_.floating,d.x),N=pn(_.floating,d.y);return a?{...P,transform:"translate("+S+"px, "+N+"px)",...$n(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:N}},[n,a,_.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:D,refs:B,elements:_,floatingStyles:j}),[d,D,B,_,j])}const Si=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?dn({element:r.current,padding:o}).fn(n):{}:r?dn({element:r,padding:o}).fn(n):{}}}},Mi=(e,t)=>({...gi(e),options:[e,t]}),Ai=(e,t)=>({...wi(e),options:[e,t]}),Pi=(e,t)=>({...bi(e),options:[e,t]}),Li=(e,t)=>({...Ci(e),options:[e,t]}),Oi=(e,t)=>({...yi(e),options:[e,t]}),_i=(e,t)=>({...xi(e),options:[e,t]}),Ii=(e,t)=>({...Si(e),options:[e,t]});var Ti="Arrow",Bn=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return C.jsx($.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:C.jsx("polygon",{points:"0,0 30,0 15,10"})})});Bn.displayName=Ti;var Di=Bn;function Ni(e){const[t,n]=c.useState(void 0);return re(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const f=i.borderBoxSize,u=Array.isArray(f)?f[0]:f;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var kt="Popper",[Wn,Vn]=be(kt),[Fi,Hn]=Wn(kt),Un=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return C.jsx(Fi,{scope:t,anchor:r,onAnchorChange:o,children:n})};Un.displayName=kt;var Kn="PopperAnchor",Gn=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Hn(Kn,n),s=c.useRef(null),a=H(t,s);return c.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:C.jsx($.div,{...o,ref:a})});Gn.displayName=Kn;var jt="PopperContent",[ki,ji]=Wn(jt),zn=c.forwardRef((e,t)=>
vendor: 6,129 bytes, line 1
1{var ne,Ae,G,Pe,Yt,Zt;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:f=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:l="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:h,...p}=e,g=Hn(jt,n),[w,y]=c.useState(null),x=H(t,Le=>y(Le)),[b,E]=c.useState(null),M=Ni(b),R=(M==null?void 0:M.width)??0,A=(M==null?void 0:M.height)??0,I=r+(i!=="center"?"-"+i:""),O=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(u)?u:[u],k=F.length>0,D={padding:O,boundary:F.filter(Bi),altBoundary:k},{refs:T,floatingStyles:B,placement:_,isPositioned:j,middlewareData:P}=Ri({strategy:"fixed",placement:I,whileElementsMounted:(...Le)=>hi(...Le,{animationFrame:v==="always"}),elements:{reference:g.anchor},middleware:[Mi({mainAxis:o+A,alignmentAxis:s}),f&&Ai({mainAxis:!0,crossAxis:!1,limiter:l==="partial"?Pi():void 0,...D}),f&&Li({...D}),Oi({...D,apply:({elements:Le,rects:Xt,availableWidth:ro,availableHeight:oo})=>{const{width:io,height:so}=Xt.reference,We=Le.floating.style;We.setProperty("--radix-popper-available-width",`${ro}px`),We.setProperty("--radix-popper-available-height",`${oo}px`),We.setProperty("--radix-popper-anchor-width",`${io}px`),We.setProperty("--radix-popper-anchor-height",`${so}px`)}}),b&&Ii({element:b,padding:a}),Wi({arrowWidth:R,arrowHeight:A}),m&&_i({strategy:"referenceHidden",...D})]}),[S,N]=Xn(_),W=Y(h);re(()=>{j&&(W==null||W())},[j,W]);const q=(ne=P.arrow)==null?void 0:ne.x,Se=(Ae=P.arrow)==null?void 0:Ae.y,Me=((G=P.arrow)==null?void 0:G.centerOffset)!==0,[Be,le]=c.useState();return re(()=>{w&&le(window.getComputedStyle(w).zIndex)},[w]),C.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:j?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Be,"--radix-popper-transform-origin":[(Pe=P.transformOrigin)==null?void 0:Pe.x,(Yt=P.transformOrigin)==null?void 0:Yt.y].join(" "),...((Zt=P.hide)==null?void 0:Zt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:C.jsx(ki,{scope:n,placedSide:S,onArrowChange:E,arrowX:q,arrowY:Se,shouldHideArrow:Me,children:C.jsx($.div,{"data-side":S,"data-align":N,...p,ref:x,style:{...p.style,animation:j?void 0:"none"}})})})});zn.displayName=jt;var Yn="PopperArrow",$i={top:"bottom",right:"left",bottom:"top",left:"right"},Zn=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=ji(Yn,r),s=$i[i.placedSide];return C.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:C.jsx(Di,{...o,ref:n,style:{...o.style,display:"block"}})})});Zn.displayName=Yn;function Bi(e){return e!==null}var Wi=e=>({name:"transformOrigin",options:e,fn(t){var g,w,y;const{placement:n,rects:r,middlewareData:o}=t,s=((g=o.arrow)==null?void 0:g.centerOffset)!==0,a=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[u,d]=Xn(n),l={start:"0%",center:"50%",end:"100%"}[d],m=(((w=o.arrow)==null?void 0:w.x)??0)+a/2,v=(((y=o.arrow)==null?void 0:y.y)??0)+f/2;let h="",p="";return u==="bottom"?(h=s?l:`${m}px`,p=`${-f}px`):u==="top"?(h=s?l:`${m}px`,p=`${r.floating.height+f}px`):u==="right"?(h=`${-f}px`,p=s?l:`${v}px`):u==="left"&&(h=`${r.floating.width+f}px`,p=s?l:`${v}px`),{data:{x:h,y:p}}}});function Xn(e){const[t,n="center"]=e.split("-");return[t,n]}var Vi=Un,Hi=Gn,Ui=zn,Ki=Zn,Gi="Portal",qn=c.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=c.useState(!1);re(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?co.createPortal(C.jsx($.div,{...r,ref:t}),s):null});qn.displayName=Gi;function zi(e,t){return c.useReducer((n,r)=>t[n][r]??n,e)}var ke=e=>{const{present:t,children:n}=e,r=Yi(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),i=H(r.ref,Zi(o));return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:i}):null};ke.displayName="Presence";function Yi(e){const[t,n]=c.useState(),r=c.useRef({}),o=c.useRef(e),i=c.useRef("none"),s=e?"mounted":"unmounted",[a,f]=zi(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const u=He(r.current);i.current=a==="mounted"?u:"none"},[a]),re(()=>{const u=r.current,d=o.current;if(d!==e){const m=i.current,v=He(u);e?f("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?f("UNMOUNT"):f(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,f]),re(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,l=v=>{const p=He(r.current).includes(v.animationName);if(v.target===t&&p&&(f("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},m=v=>{v.target===t&&(i.current=He(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:c.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function He(e){return(e==null?void 0:e.animationName)||"none"}function Zi(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ht="rovingFocusGroup.onEntryFocus",Xi={bubbles:!1,cancelable:!0},at="RovingFocusGroup",[At,Qn,qi]=En(at),[Qi,Jn]=be(at,[qi]),[Ji,es]=Qi(at),er=c.forwardRef((e,t)=>
vendor: 4,063 bytes, line 1
1C.jsx(At.Provider,{scope:e.__scopeRovingFocusGroup,children:C.jsx(At.Slot,{scope:e.__scopeRovingFocusGroup,children:C.jsx(ts,{...e,ref:t})})}));er.displayName=at;var ts=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:f,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...l}=e,m=c.useRef(null),v=H(t,m),h=Rn(i),[p=null,g]=xn({prop:s,defaultProp:a,onChange:f}),[w,y]=c.useState(!1),x=Y(u),b=Qn(n),E=c.useRef(!1),[M,R]=c.useState(0);return c.useEffect(()=>{const A=m.current;if(A)return A.addEventListener(ht,x),()=>A.removeEventListener(ht,x)},[x]),C.jsx(Ji,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:p,onItemFocus:c.useCallback(A=>g(A),[g]),onItemShiftTab:c.useCallback(()=>y(!0),[]),onFocusableItemAdd:c.useCallback(()=>R(A=>A+1),[]),onFocusableItemRemove:c.useCallback(()=>R(A=>A-1),[]),children:C.jsx($.div,{tabIndex:w||M===0?-1:0,"data-orientation":r,...l,ref:v,style:{outline:"none",...e.style},onMouseDown:L(e.onMouseDown,()=>{E.current=!0}),onFocus:L(e.onFocus,A=>{const I=!E.current;if(A.target===A.currentTarget&&I&&!w){const O=new CustomEvent(ht,Xi);if(A.currentTarget.dispatchEvent(O),!O.defaultPrevented){const F=b().filter(_=>_.focusable),k=F.find(_=>_.active),D=F.find(_=>_.id===p),B=[k,D,...F].filter(Boolean).map(_=>_.ref.current);rr(B,d)}}E.current=!1}),onBlur:L(e.onBlur,()=>y(!1))})})}),tr="RovingFocusGroupItem",nr=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,a=Et(),f=i||a,u=es(tr,n),d=u.currentTabStopId===f,l=Qn(n),{onFocusableItemAdd:m,onFocusableItemRemove:v}=u;return c.useEffect(()=>{if(r)return m(),()=>v()},[r,m,v]),C.jsx(At.ItemSlot,{scope:n,id:f,focusable:r,active:o,children:C.jsx($.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:L(e.onMouseDown,h=>{r?u.onItemFocus(f):h.preventDefault()}),onFocus:L(e.onFocus,()=>u.onItemFocus(f)),onKeyDown:L(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const p=os(h,u.orientation,u.dir);if(p!==void 0){if(h.metaKey||h.ctrlKey||h.altKey||h.shiftKey)return;h.preventDefault();let w=l().filter(y=>y.focusable).map(y=>y.ref.current);if(p==="last")w.reverse();else if(p==="prev"||p==="next"){p==="prev"&&w.reverse();const y=w.indexOf(h.currentTarget);w=u.loop?is(w,y+1):w.slice(y+1)}setTimeout(()=>rr(w))}})})})});nr.displayName=tr;var ns={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function rs(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function os(e,t,n){const r=rs(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ns[r]}function rr(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function is(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ss=er,as=nr,cs=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},he=new WeakMap,Ue=new WeakMap,Ke={},gt=0,or=function(e){return e&&(e.host||or(e.parentNode))},us=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=or(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ls=function(e,t,n,r){var o=us(t,Array.isArray(e)?e:[e]);Ke[n]||(Ke[n]=new WeakMap);var i=Ke[n],s=[],a=new Set,f=new Set(o),u=function(l){!l||a.has(l)||(a.add(l),u(l.parentNode))};o.forEach(u);var d=function(l){!l||f.has(l)||Array.prototype.forEach.call(l.children,function(m){if(a.has(m))d(m);else try{var v=m.getAttribute(r),h=v!==null&&v!=="false",p=(he.get(m)||0)+1,g=(i.get(m)||0)+1;he.set(m,p),i.set(m,g),s.push(m),p===1&&h&&Ue.set(m,!0),g===1&&m.setAttribute(n,"true"),h||m.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",m,w)}})};
vendor: 6,021 bytes, lines 1-16
1return d(t),a.clear(),gt++,function(){s.forEach(function(l){var m=he.get(l)-1,v=i.get(l)-1;he.set(l,m),i.set(l,v),m||(Ue.has(l)||l.removeAttribute(r),Ue.delete(l)),v||l.removeAttribute(n)}),gt--,gt||(he=new WeakMap,he=new WeakMap,Ue=new WeakMap,Ke={})}},fs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=cs(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ls(r,o,n,"aria-hidden")):function(){return null}},Q=function(){return Q=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Q.apply(this,arguments)};function ir(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function ds(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Ze="right-scroll-bar-position",Xe="width-before-scroll-bar",ps="with-scroll-bars-hidden",ms="--removed-body-scroll-bar-size";function wt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function vs(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var hs=typeof window<"u"?c.useLayoutEffect:c.useEffect,mn=new WeakMap;function gs(e,t){var n=vs(null,function(r){return e.forEach(function(o){return wt(o,r)})});return hs(function(){var r=mn.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||wt(a,null)}),i.forEach(function(a){o.has(a)||wt(a,s)})}mn.set(n,e)},[e]),n}function ws(e){return e}function Cs(e,t){t===void 0&&(t=ws);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var f=function(){var d=s;s=[],d.forEach(i)},u=function(){return Promise.resolve().then(f)};u(),n={push:function(d){s.push(d),u()},filter:function(d){return s=s.filter(d),n}}}};return o}function ys(e){e===void 0&&(e={});var t=Cs(null);return t.options=Q({async:!0,ssr:!1},e),t}var sr=function(e){var t=e.sideCar,n=ir(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,Q({},n))};sr.isSideCarExport=!0;function xs(e,t){return e.useMedium(t),sr}var ar=ys(),Ct=function(){},ct=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:Ct,onWheelCapture:Ct,onTouchMoveCapture:Ct}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,f=e.className,u=e.removeScrollBar,d=e.enabled,l=e.shards,m=e.sideCar,v=e.noIsolation,h=e.inert,p=e.allowPinchZoom,g=e.as,w=g===void 0?"div":g,y=e.gapMode,x=ir(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=m,E=gs([n,t]),M=Q(Q({},x),o);return c.createElement(c.Fragment,null,d&&c.createElement(b,{sideCar:ar,removeScrollBar:u,shards:l,noIsolation:v,inert:h,setCallbacks:i,allowPinchZoom:!!p,lockRef:n,gapMode:y}),s?c.cloneElement(c.Children.only(a),Q(Q({},M),{ref:E})):c.createElement(w,Q({},M,{className:f,ref:E}),a))});ct.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ct.classNames={fullWidth:Xe,zeroRight:Ze};var bs=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Es(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=bs();return t&&e.setAttribute("nonce",t),e}function Rs(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ss(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ms=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Es())&&(Rs(t,n),Ss(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},As=function(){var e=Ms();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},cr=function(){var e=As(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Ps={left:0,top:0,right:0,gap:0},yt=function(e){return parseInt(e||"",10)||0},Ls=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[yt(n),yt(r),yt(o)]},Os=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ps;var t=Ls(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},_s=cr(),ye="data-scroll-locked",Is=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
2  .`.concat(ps,` {
3   overflow: hidden `).concat(r,`;
4   padding-right: `).concat(a,"px ").concat(r,`;
5  }
6  body[`).concat(ye,`] {
7    overflow: hidden `).concat(r,`;
8    overscroll-behavior: contain;
9    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
10    padding-left: `.concat(o,`px;
11    padding-top: `).concat(i,`px;
12    padding-right: `).concat(s,`px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: `).concat(a,"px ").concat(r,`;
16    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
16")].filter(Boolean).join(""),`
17  }
18  
19  .`).concat(Ze,` {
20    right: `).concat(a,"px ").concat(r,`;
21  }
22  
23  .`).concat(Xe,` {
24    margin-right: `).concat(a,"px ").concat(r,`;
25  }
26  
27  .`).concat(Ze," .").concat(Ze,` {
28    right: 0 `).concat(r,`;
29  }
30  
31  .`).concat(Xe," .").concat(Xe,` {
32    margin-right: 0 `).concat(r,`;
33  }
34  
35  body[`).concat(ye,`] {
36    `).concat(ms,": ").concat(a,`px;
37  }
38`)},vn=function(){var e=parseInt(document.body.getAttribute(ye)||"0",10);return isFinite(e)?e:0},Ts=function(){c.useEffect(function(){return document.body.setAttribute(ye,(vn()+1).toString()),function(){var e=vn()-1;e<=0?document.body.removeAttribute(ye):document.body.setAttribute(ye,e.toString())}},[])},Ds=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Ts();var i=c.useMemo(function(){return Os(o)},[o]);return c.createElement(_s,{styles:Is(i,!t,o,n?"":"!important")})},Pt=!1;if(typeof window<"u")try{var Ge=Object.defineProperty({},"passive",{get:function(){return Pt=!0,!0}});window.addEventListener("test",Ge,Ge),window.removeEventListener("test",Ge,Ge)}catch{Pt=!1}var ge=Pt?{passive:!1}:!1,Ns=function(e){return e.tagName==="TEXTAREA"},ur=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Ns(e)&&n[t]==="visible")},Fs=function(e){return ur(e,"overflowY")},ks=function(e){return ur(e,"overflowX")},hn=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=lr(e,r);if(o){var i=fr(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},js=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},$s=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},lr=function(e,t){return e==="v"?Fs(t):ks(t)},fr=function(e,t){return e==="v"?js(t):$s(t)},Bs=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ws=function(e,t,n,r,o){var i=Bs(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,f=t.contains(a),u=!1,d=s>0,l=0,m=0;do{var v=fr(e,a),h=v[0],p=v[1],g=v[2],w=p-g-i*h;(h||w)&&lr(e,a)&&(l+=w,m+=h),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!f&&a!==document.body||f&&(t.contains(a)||t===a));return(d&&Math.abs(l)<1||!d&&Math.abs(m)<1)&&(u=!0),u},ze=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},gn=function(e){return[e.deltaX,e.deltaY]},wn=function(e){return e&&"current"in e?e.current:e},Vs=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Hs=function(e){return`
39  .block-interactivity-`.concat(e,` {pointer-events: none;}
40  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41`)},Us=0,we=[];function Ks(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(Us++)[0],i=c.useState(cr)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=ds([e.lockRef.current],(e.shards||[]).map(wn),!0).filter(Boolean);return p.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(p,g){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!s.current.allowPinchZoom;var w=ze(p),y=n.current,x="deltaX"in p?p.deltaX:y[0]-w[0],b="deltaY"in p?p.deltaY:y[1]-w[1],E,M=p.target,R=Math.abs(x)>Math.abs(b)?"h":"v";if("touches"in p&&R==="h"&&M.type==="range")return!1;var A=hn(R,M);if(!A)return!0;if(A?E=R:(E=R==="v"?"h":"v",A=hn(R,M)),!A)return!1;if(!r.current&&"changedTouches"in p&&(x||b)&&(r.current=E),!E)return!0;var I=r.current||E;return Ws(I,g,p,I==="h"?x:b)},[]),f=c.useCallback(function(p){var g=p;if(!(!we.length||we[we.length-1]!==i)){var w="deltaY"in g?gn(g):ze(g),y=t.current.filter(function(E){return E.name===g.type&&(E.target===g.target||g.target===E.shadowParent)&&Vs(E.delta,w)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}
vendor: 20,534 bytes, line 41
41if(!y){var x=(s.current.shards||[]).map(wn).filter(Boolean).filter(function(E){return E.contains(g.target)}),b=x.length>0?a(g,x[0]):!s.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),u=c.useCallback(function(p,g,w,y){var x={name:p,delta:g,target:w,should:y,shadowParent:Gs(w)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(b){return b!==x})},1)},[]),d=c.useCallback(function(p){n.current=ze(p),r.current=void 0},[]),l=c.useCallback(function(p){u(p.type,gn(p),p.target,a(p,e.lockRef.current))},[]),m=c.useCallback(function(p){u(p.type,ze(p),p.target,a(p,e.lockRef.current))},[]);c.useEffect(function(){return we.push(i),e.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:m}),document.addEventListener("wheel",f,ge),document.addEventListener("touchmove",f,ge),document.addEventListener("touchstart",d,ge),function(){we=we.filter(function(p){return p!==i}),document.removeEventListener("wheel",f,ge),document.removeEventListener("touchmove",f,ge),document.removeEventListener("touchstart",d,ge)}},[]);var v=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(i,{styles:Hs(o)}):null,v?c.createElement(Ds,{gapMode:e.gapMode}):null)}function Gs(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const zs=xs(ar,Ks);var dr=c.forwardRef(function(e,t){return c.createElement(ct,Q({},e,{ref:t,sideCar:zs}))});dr.classNames=ct.classNames;var Lt=["Enter"," "],Ys=["ArrowDown","PageUp","Home"],pr=["ArrowUp","PageDown","End"],Zs=[...Ys,...pr],Xs={ltr:[...Lt,"ArrowRight"],rtl:[...Lt,"ArrowLeft"]},qs={ltr:["ArrowLeft"],rtl:["ArrowRight"]},je="Menu",[De,Qs,Js]=En(je),[pe,mr]=be(je,[Js,Vn,Jn]),ut=Vn(),vr=Jn(),[ea,me]=pe(je),[ta,$e]=pe(je),hr=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,a=ut(t),[f,u]=c.useState(null),d=c.useRef(!1),l=Y(i),m=Rn(o);return c.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),C.jsx(Vi,{...a,children:C.jsx(ea,{scope:t,open:n,onOpenChange:l,content:f,onContentChange:u,children:C.jsx(ta,{scope:t,onClose:c.useCallback(()=>l(!1),[l]),isUsingKeyboardRef:d,dir:m,modal:s,children:r})})})};hr.displayName=je;var na="MenuAnchor",$t=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ut(n);return C.jsx(Hi,{...o,...r,ref:t})});$t.displayName=na;var Bt="MenuPortal",[ra,gr]=pe(Bt,{forceMount:void 0}),wr=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=me(Bt,t);return C.jsx(ra,{scope:t,forceMount:n,children:C.jsx(ke,{present:n||i.open,children:C.jsx(qn,{asChild:!0,container:o,children:r})})})};wr.displayName=Bt;var z="MenuContent",[oa,Wt]=pe(z),Cr=c.forwardRef((e,t)=>{const n=gr(z,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=me(z,e.__scopeMenu),s=$e(z,e.__scopeMenu);return C.jsx(De.Provider,{scope:e.__scopeMenu,children:C.jsx(ke,{present:r||i.open,children:C.jsx(De.Slot,{scope:e.__scopeMenu,children:s.modal?C.jsx(ia,{...o,ref:t}):C.jsx(sa,{...o,ref:t})})})})}),ia=c.forwardRef((e,t)=>{const n=me(z,e.__scopeMenu),r=c.useRef(null),o=H(t,r);return c.useEffect(()=>{const i=r.current;if(i)return fs(i)},[]),C.jsx(Vt,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:L(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),sa=c.forwardRef((e,t)=>{const n=me(z,e.__scopeMenu);return C.jsx(Vt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Vt=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEntryFocus:f,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:l,onInteractOutside:m,onDismiss:v,disableOutsideScroll:h,...p}=e,g=me(z,n),w=$e(z,n),y=ut(n),x=vr(n),b=Qs(n),[E,M]=c.useState(null),R=c.useRef(null),A=H(t,R,g.onContentChange),I=c.useRef(0),O=c.useRef(""),F=c.useRef(0),k=c.useRef(null),D=c.useRef("right"),T=c.useRef(0),B=h?dr:c.Fragment,_=h?{as:_e,allowPinchZoom:!0}:void 0,j=S=>{var ne,Ae;const N=O.current+S,W=b().filter(G=>!G.disabled),q=document.activeElement,Se=(ne=W.find(G=>G.ref.current===q))==null?void 0:ne.textValue,Me=W.map(G=>G.textValue),Be=wa(Me,N,Se),le=(Ae=W.find(G=>G.textValue===Be))==null?void 0:Ae.ref.current;(function G(Pe){O.current=Pe,window.clearTimeout(I.current),Pe!==""&&(I.current=window.setTimeout(()=>G(""),1e3))})(N),le&&setTimeout(()=>le.focus())};c.useEffect(()=>()=>window.clearTimeout(I.current),[]),Mo();const P=c.useCallback(S=>{var W,q;return D.current===((W=k.current)==null?void 0:W.side)&&ya(S,(q=k.current)==null?void 0:q.area)},[]);return C.jsx(oa,{scope:n,searchRef:O,onItemEnter:c.useCallback(S=>{P(S)&&S.preventDefault()},[P]),onItemLeave:c.useCallback(S=>{var N;P(S)||((N=R.current)==null||N.focus(),M(null))},[P]),onTriggerLeave:c.useCallback(S=>{P(S)&&S.preventDefault()},[P]),pointerGraceTimerRef:F,onPointerGraceIntentChange:c.useCallback(S=>{k.current=S},[]),children:C.jsx(B,{..._,children:C.jsx(Pn,{asChild:!0,trapped:o,onMountAutoFocus:L(i,S=>{var N;S.preventDefault(),(N=R.current)==null||N.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:C.jsx(Mn,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:l,onInteractOutside:m,onDismiss:v,children:C.jsx(ss,{asChild:!0,...x,dir:w.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:M,onEntryFocus:L(f,S=>{w.isUsingKeyboardRef.current||S.preventDefault()}),preventScrollOnEntryFocus:!0,children:C.jsx(Ui,{role:"menu","aria-orientation":"vertical","data-state":Nr(g.open),"data-radix-menu-content":"",dir:w.dir,...y,...p,ref:A,style:{outline:"none",...p.style},onKeyDown:L(p.onKeyDown,S=>{const W=S.target.closest("[data-radix-menu-content]")===S.currentTarget,q=S.ctrlKey||S.altKey||S.metaKey,Se=S.key.length===1;W&&(S.key==="Tab"&&S.preventDefault(),!q&&Se&&j(S.key));const Me=R.current;if(S.target!==Me||!Zs.includes(S.key))return;S.preventDefault();const le=b().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);pr.includes(S.key)&&le.reverse(),ha(le)}),onBlur:L(e.onBlur,S=>{S.currentTarget.contains(S.target)||(window.clearTimeout(I.current),O.current="")}),onPointerMove:L(e.onPointerMove,Ne(S=>{const N=S.target,W=T.current!==S.clientX;if(S.currentTarget.contains(N)&&W){const q=S.clientX>T.current?"right":"left";D.current=q,T.current=S.clientX}}))})})})})})})});Cr.displayName=z;var aa="MenuGroup",Ht=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.jsx($.div,{role:"group",...r,ref:t})});Ht.displayName=aa;var ca="MenuLabel",yr=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.jsx($.div,{...r,ref:t})});yr.displayName=ca;var tt="MenuItem",Cn="menu.itemSelect",lt=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=c.useRef(null),s=$e(tt,e.__scopeMenu),a=Wt(tt,e.__scopeMenu),f=H(t,i),u=c.useRef(!1),d=()=>{const l=i.current;if(!n&&l){const m=new CustomEvent(Cn,{bubbles:!0,cancelable:!0});l.addEventListener(Cn,v=>r==null?void 0:r(v),{once:!0}),bn(l,m),m.defaultPrevented?u.current=!1:s.onClose()}};return C.jsx(xr,{...o,ref:f,disabled:n,onClick:L(e.onClick,d),onPointerDown:l=>{var m;(m=e.onPointerDown)==null||m.call(e,l),u.current=!0},onPointerUp:L(e.onPointerUp,l=>{var m;u.current||(m=l.currentTarget)==null||m.click()}),onKeyDown:L(e.onKeyDown,l=>{const m=a.searchRef.current!=="";n||m&&l.key===" "||Lt.includes(l.key)&&(l.currentTarget.click(),l.preventDefault())})})});lt.displayName=tt;var xr=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=Wt(tt,n),a=vr(n),f=c.useRef(null),u=H(t,f),[d,l]=c.useState(!1),[m,v]=c.useState("");return c.useEffect(()=>{const h=f.current;h&&v((h.textContent??"").trim())},[i.children]),C.jsx(De.ItemSlot,{scope:n,disabled:r,textValue:o??m,children:C.jsx(as,{asChild:!0,...a,focusable:!r,children:C.jsx($.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:L(e.onPointerMove,Ne(h=>{r?s.onItemLeave(h):(s.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:L(e.onPointerLeave,Ne(h=>s.onItemLeave(h))),onFocus:L(e.onFocus,()=>l(!0)),onBlur:L(e.onBlur,()=>l(!1))})})})}),ua="MenuCheckboxItem",br=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return C.jsx(Ar,{scope:e.__scopeMenu,checked:n,children:C.jsx(lt,{role:"menuitemcheckbox","aria-checked":nt(n)?"mixed":n,...o,ref:t,"data-state":Kt(n),onSelect:L(o.onSelect,()=>r==null?void 0:r(nt(n)?!0:!n),{checkForDefaultPrevented:!1})})})});br.displayName=ua;var Er="MenuRadioGroup",[la,fa]=pe(Er,{value:void 0,onValueChange:()=>{}}),Rr=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=Y(r);return C.jsx(la,{scope:e.__scopeMenu,value:n,onValueChange:i,children:C.jsx(Ht,{...o,ref:t})})});Rr.displayName=Er;var Sr="MenuRadioItem",Mr=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=fa(Sr,e.__scopeMenu),i=n===o.value;return C.jsx(Ar,{scope:e.__scopeMenu,checked:i,children:C.jsx(lt,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Kt(i),onSelect:L(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,n)},{checkForDefaultPrevented:!1})})})});Mr.displayName=Sr;var Ut="MenuItemIndicator",[Ar,da]=pe(Ut,{checked:!1}),Pr=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=da(Ut,n);return C.jsx(ke,{present:r||nt(i.checked)||i.checked===!0,children:C.jsx($.span,{...o,ref:t,"data-state":Kt(i.checked)})})});Pr.displayName=Ut;var pa="MenuSeparator",Lr=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.jsx($.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Lr.displayName=pa;var ma="MenuArrow",Or=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=ut(n);return C.jsx(Ki,{...o,...r,ref:t})});Or.displayName=ma;var va="MenuSub",[fc,_r]=pe(va),Oe="MenuSubTrigger",Ir=c.forwardRef((e,t)=>{const n=me(Oe,e.__scopeMenu),r=$e(Oe,e.__scopeMenu),o=_r(Oe,e.__scopeMenu),i=Wt(Oe,e.__scopeMenu),s=c.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:f}=i,u={__scopeMenu:e.__scopeMenu},d=c.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return c.useEffect(()=>d,[d]),c.useEffect(()=>{const l=a.current;return()=>{window.clearTimeout(l),f(null)}},[a,f]),C.jsx($t,{asChild:!0,...u,children:C.jsx(xr,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":Nr(n.open),...e,ref:rt(t,o.onTriggerChange),onClick:l=>{var m;(m=e.onClick)==null||m.call(e,l),!(e.disabled||l.defaultPrevented)&&(l.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:L(e.onPointerMove,Ne(l=>{i.onItemEnter(l),!l.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:L(e.onPointerLeave,Ne(l=>{var v,h;d();const m=(v=n.content)==null?void 0:v.getBoundingClientRect();if(m){const p=(h=n.content)==null?void 0:h.dataset.side,g=p==="right",w=g?-5:5,y=m[g?"left":"right"],x=m[g?"right":"left"];i.onPointerGraceIntentChange({area:[{x:l.clientX+w,y:l.clientY},{x:y,y:m.top},{x,y:m.top},{x,y:m.bottom},{x:y,y:m.bottom}],side:p}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(l),l.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:L(e.onKeyDown,l=>{var v;const m=i.searchRef.current!=="";e.disabled||m&&l.key===" "||Xs[r.dir].includes(l.key)&&(n.onOpenChange(!0),(v=n.content)==null||v.focus(),l.preventDefault())})})})});Ir.displayName=Oe;var Tr="MenuSubContent",Dr=c.forwardRef((e,t)=>{const n=gr(z,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=me(z,e.__scopeMenu),s=$e(z,e.__scopeMenu),a=_r(Tr,e.__scopeMenu),f=c.useRef(null),u=H(t,f);return C.jsx(De.Provider,{scope:e.__scopeMenu,children:C.jsx(ke,{present:r||i.open,children:C.jsx(De.Slot,{scope:e.__scopeMenu,children:C.jsx(Vt,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:u,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var l;s.isUsingKeyboardRef.current&&((l=f.current)==null||l.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:L(e.onFocusOutside,d=>{d.target!==a.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:L(e.onEscapeKeyDown,d=>{s.onClose(),d.preventDefault()}),onKeyDown:L(e.onKeyDown,d=>{var v;const l=d.currentTarget.contains(d.target),m=qs[s.dir].includes(d.key);l&&m&&(i.onOpenChange(!1),(v=a.trigger)==null||v.focus(),d.preventDefault())})})})})})});Dr.displayName=Tr;function Nr(e){return e?"open":"closed"}function nt(e){return e==="indeterminate"}function Kt(e){return nt(e)?"indeterminate":e?"checked":"unchecked"}function ha(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function ga(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function wa(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=ga(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const f=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return f!==n?f:void 0}function Ca(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i].x,f=t[i].y,u=t[s].x,d=t[s].y;f>r!=d>r&&n<(u-a)*(r-f)/(d-f)+a&&(o=!o)}return o}function ya(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Ca(n,t)}function Ne(e){return t=>t.pointerType==="mouse"?e(t):void 0}var xa=hr,ba=$t,Ea=wr,Ra=Cr,Sa=Ht,Ma=yr,Aa=lt,Pa=br,La=Rr,Oa=Mr,_a=Pr,Ia=Lr,Ta=Or,Da=Ir,Na=Dr,Gt="DropdownMenu",[Fa,dc]=be(Gt,[mr]),V=mr(),[ka,Fr]=Fa(Gt),kr=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,f=V(t),u=c.useRef(null),[d=!1,l]=xn({prop:o,defaultProp:i,onChange:s});return C.jsx(ka,{scope:t,triggerId:Et(),triggerRef:u,contentId:Et(),open:d,onOpenChange:l,onOpenToggle:c.useCallback(()=>l(m=>!m),[l]),modal:a,children:C.jsx(xa,{...f,open:d,onOpenChange:l,dir:r,modal:a,children:n})})};kr.displayName=Gt;var jr="DropdownMenuTrigger",$r=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=Fr(jr,n),s=V(n);return C.jsx(ba,{asChild:!0,...s,children:C.jsx($.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:rt(t,i.triggerRef),onPointerDown:L(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(i.onOpenToggle(),i.open||a.preventDefault())}),onKeyDown:L(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&i.onOpenToggle(),a.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});$r.displayName=jr;var ja="DropdownMenuPortal",Br=e=>{const{__scopeDropdownMenu:t,...n}=e,r=V(t);return C.jsx(Ea,{...r,...n})};Br.displayName=ja;var Wr="DropdownMenuContent",Vr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Fr(Wr,n),i=V(n),s=c.useRef(!1);return C.jsx(Ra,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:L(e.onCloseAutoFocus,a=>{var f;s.current||(f=o.triggerRef.current)==null||f.focus(),s.current=!1,a.preventDefault()}),onInteractOutside:L(e.onInteractOutside,a=>{const f=a.detail.originalEvent,u=f.button===0&&f.ctrlKey===!0,d=f.button===2||u;(!o.modal||d)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Vr.displayName=Wr;var $a="DropdownMenuGroup",Ba=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Sa,{...o,...r,ref:t})});Ba.displayName=$a;var Wa="DropdownMenuLabel",Hr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Ma,{...o,...r,ref:t})});Hr.displayName=Wa;var Va="DropdownMenuItem",Ur=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Aa,{...o,...r,ref:t})});Ur.displayName=Va;var Ha="DropdownMenuCheckboxItem",Kr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Pa,{...o,...r,ref:t})});Kr.displayName=Ha;var Ua="DropdownMenuRadioGroup",Ka=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(La,{...o,...r,ref:t})});Ka.displayName=Ua;var Ga="DropdownMenuRadioItem",Gr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Oa,{...o,...r,ref:t})});Gr.displayName=Ga;var za="DropdownMenuItemIndicator",zr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(_a,{...o,...r,ref:t})});zr.displayName=za;var Ya="DropdownMenuSeparator",Yr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Ia,{...o,...r,ref:t})});Yr.displayName=Ya;var Za="DropdownMenuArrow",Xa=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Ta,{...o,...r,ref:t})});Xa.displayName=Za;var qa="DropdownMenuSubTrigger",Zr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Da,{...o,...r,ref:t})});Zr.displayName=qa;var Qa="DropdownMenuSubContent",Xr=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=V(n);return C.jsx(Na,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Xr.displayName=Qa;var pc=kr,mc=$r,vc=Br,hc=Vr,gc=Hr,wc=Ur,Cc=Kr,yc=Gr,xc=zr,bc=Yr,Ec=Zr,Rc=Xr;function ve(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Ja=["color"],Sc=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,Ja);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),ec=["color"],Mc=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,ec);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),tc=["color"],Ac=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,tc);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579
41L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),nc=["color"],Pc=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,nc);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:r}))}),rc=["color"],Lc=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,rc);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),oc=["color"],Oc=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,oc);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.
410139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),ic=["color"],_c=c.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=ve(e,ic);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),c.createElement("path",{d:"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.
411938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),zt="Avatar",[sc,Ic]=be(zt),[ac,qr]=sc(zt),Qr=c.forwardRef((e,t)=>{const{__scopeAvatar:n,...r}=e,[o,i]=c.useState("idle");return C.jsx(ac,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:i,children:C.jsx($.span,{...r,ref:t})})});Qr.displayName=zt;var Jr="AvatarImage",eo=c.forwardRef((e,t)=>{const{__scopeAvatar:n,src:r,onLoadingStatusChange:o=()=>{},...i}=e,s=qr(Jr,n),a=cc(r,i.referrerPolicy),f=Y(u=>{o(u),s.onImageLoadingStatusChange(u)});return re(()=>{a!=="idle"&&f(a)},[a,f]),a==="loaded"?C.jsx($.img,{...i,ref:t,src:r}):null});eo.displayName=Jr;var to="AvatarFallback",no=c.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:r,...o}=e,i=qr(to,n),[s,a]=c.useState(r===void 0);return c.useEffect(()=>{if(r!==void 0){const f=window.setTimeout(()=>a(!0),r);return()=>window.clearTimeout(f)}},[r]),s&&i.imageLoadingStatus!=="loaded"?C.jsx($.span,{...o,ref:t}):null});no.displayName=to;function cc(e,t){const[n,r]=c.useState("idle");return re(()=>{if(!e){r("error");return}let o=!0;const i=new window.Image,s=a=>()=>{o&&r(a)};return r("loading"),i.onload=s("loaded"),i.onerror=s("error"),i.src=e,t&&(i.referrerPolicy=t),()=>{o=!1}},[e,t]),n}var Tc=Qr,Dc=eo,Nc=no;export{Sc as A,Ac as C,Pc as D,Nc as F,Lc as G,wc as I,gc as L,Oc as M,vc as P,yc as R,_e as S,mc as T,Ec as a,Rc as b,hc as c,Cc as d,xc as e,Mc as f,bc as g,pc as h,_c as i,Tc as j,Dc as k};

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.