1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e557e07a-08a0-54f4-9aea-45ff4db20cd1")}catch(e){}}(); 3import{r as o,j as h,$ as Oe}from"./vendor-react-D7BZ9ZKA.js";import{P as O,c as j,d as Re,b as De,u as M}from"./index-C2v8BS0c.js";import{u as $}from"./index-DmkxH6_i.js";import{u as Se,o as Le,s as Ne,f as Te,b as _e,g as $e,h as We,c as Be,l as je}from"./floating-ui.react-dom-C-JLtAR7.js";import{u as Me}from"./index-Dy8C363s.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"e34a2f9468e4617a77893c27d98e903c140fca28"}}catch{}})();function ee(t){const e=o.useRef(t);return o.useEffect(()=>{e.current=t}),o.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function Fe(t){const e=o.useRef(t);return o.useEffect(()=>{e.current=t}),o.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function He(t,e=globalThis==null?void 0:globalThis.document){const n=Fe(t);o.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var Ie="DismissableLayer",F="dismissableLayer.update",Ye="dismissableLayer.pointerDownOutside",ke="dismissableLayer.focusOutside",Q,te=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ue=o.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:c,onDismiss:d,...f}=t,i=o.useContext(te),[u,g]=o.useState(null),p=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=o.useState({}),m=$(e,l=>g(l)),v=Array.from(i.layers),[b]=[...i.layersWithOutsidePointerEventsDisabled].slice(-1),E=v.indexOf(b),w=u?v.indexOf(u):-1,W=i.layersWithOutsidePointerEventsDisabled.size>0,C=w>=E,B=Ke(l=>{const P=l.target,S=[...i.branches].some(R=>R.contains(P));!C||S||(s==null||s(l),c==null||c(l),l.defaultPrevented||d==null||d())},p),y=Ze(l=>{const P=l.target;[...i.branches].some(R=>R.contains(P))||(a==null||a(l),c==null||c(l),l.defaultPrevented||d==null||d())},p);return He(l=>{w===i.layers.size-1&&(r==null||r(l),!l.defaultPrevented&&d&&(l.preventDefault(),d()))},p),o.useEffect(()=>{if(u)return n&&(i.layersWithOutsidePointerEventsDisabled.size===0&&(Q=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),i.layersWithOutsidePointerEventsDisabled.add(u)),i.layers.add(u),V(),()=>{n&&i.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Q)}},[u,p,n,i]),o.useEffect(()=>()=>{u&&(i.layers.delete(u),i.layersWithOutsidePointerEventsDisabled.delete(u),V())},[u,i]),o.useEffect(()=>{const l=()=>x({});return document.addEventListener(F,l),()=>document.removeEventListener(F,l)},[]),h.jsx(O.div,{...f,ref:m,style:{pointerEvents:W?C?"auto":"none":void 0,...t.style},onFocusCapture:j(t.onFocusCapture,y.onFocusCapture),onBlurCapture:j(t.onBlurCapture,y.onBlurCapture),onPointerDownCapture:j(t.onPointerDownCapture,B.onPointerDownCapture)})});Ue.displayName=Ie;var ze="DismissableLayerBranch",Xe=o.forwardRef((t,e)=>{const n=o.useContext(te),r=o.useRef(null),s=$(e,r);return o.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),h.jsx(O.div,{...t,ref:s})});Xe.displayName=ze;function Ke(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=o.useRef(!1),s=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!r.current){let f=function(){re(Ye,n,i,{discrete:!0})};const i={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=f,e.addEventListener("click",s.current,{once:!0})):f()}else e.removeEventListener("click",s.current);r.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",a),e.removeEventListener("click",
vendor: 5,368 bytes, line 3
3s.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function Ze(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=o.useRef(!1);return o.useEffect(()=>{const s=a=>{a.target&&!r.current&&re(ke,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function V(){const t=new CustomEvent(F);document.dispatchEvent(t)}function re(t,e,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&s.addEventListener(t,e,{once:!0}),r?Re(s,a):s.dispatchEvent(a)}var qe="Arrow",ne=o.forwardRef((t,e)=>{const{children:n,width:r=10,height:s=5,...a}=t;return h.jsx(O.svg,{...a,ref:e,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});ne.displayName=qe;var Ge=ne;function Je(t){const e=o.useRef(t);return o.useEffect(()=>{e.current=t}),o.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}var H="Popper",[oe,ut]=De(H),[Qe,se]=oe(H),ae=t=>{const{__scopePopper:e,children:n}=t,[r,s]=o.useState(null);return h.jsx(Qe,{scope:e,anchor:r,onAnchorChange:s,children:n})};ae.displayName=H;var ie="PopperAnchor",ce=o.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...s}=t,a=se(ie,n),c=o.useRef(null),d=$(e,c),f=o.useRef(null);return o.useEffect(()=>{const i=f.current;f.current=(r==null?void 0:r.current)||c.current,i!==f.current&&a.onAnchorChange(f.current)}),r?null:h.jsx(O.div,{...s,ref:d})});ce.displayName=ie;var I="PopperContent",[Ve,et]=oe(I),de=o.forwardRef((t,e)=>{var z,X,K,Z,q,G;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:f=!0,collisionBoundary:i=[],collisionPadding:u=0,sticky:g="partial",hideWhenDetached:p=!1,updatePositionStrategy:x="optimized",onPlaced:m,...v}=t,b=se(I,n),[E,w]=o.useState(null),W=$(e,D=>w(D)),[C,B]=o.useState(null),y=Me(C),l=(y==null?void 0:y.width)??0,P=(y==null?void 0:y.height)??0,S=r+(a!=="center"?"-"+a:""),R=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},Y=Array.isArray(i)?i:[i],pe=Y.length>0,L={padding:R,boundary:Y.filter(rt),altBoundary:pe},{refs:he,floatingStyles:k,placement:ve,isPositioned:N,middlewareData:A}=Se({strategy:"fixed",placement:S,whileElementsMounted:(...D)=>Be(...D,{animationFrame:x==="always"}),elements:{reference:b.anchor},middleware:[Le({mainAxis:s+P,alignmentAxis:c}),f&&Ne({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?je():void 0,...L}),f&&Te({...L}),_e({...L,apply:({elements:D,rects:J,availableWidth:xe,availableHeight:be})=>{const{width:Ce,height:Ae}=J.reference,_=D.floating.style;_.setProperty("--radix-popper-available-width",`${xe}px`),_.setProperty("--radix-popper-available-height",`${be}px`),_.setProperty("--radix-popper-anchor-width",`${Ce}px`),_.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),C&&$e({element:C,padding:d}),nt({arrowWidth:l,arrowHeight:P}),p&&We({strategy:"referenceHidden",...L})]}),[U,me]=fe(ve),T=Je(m);M(()=>{N&&(T==null||T())},[N,T]);const ye=(z=A.arrow)==null?void 0:z.x,ge=(X=A.arrow)==null?void 0:X.y,Ee=((K=A.arrow)==null?void 0:K.centerOffset)!==0,[we,Pe]=o.useState();return M(()=>{E&&Pe(window.getComputedStyle(E).zIndex)},[E]),h.jsx("div",{ref:he.setFloating,"data-radix-popper-content-wrapper":"",style:{...k,transform:N?k.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(Z=A.transformOrigin)==null?void 0:Z.x,(q=A.transformOrigin)==null?void 0:q.y].join(" "),...((G=A.hide)==null?void 0:G.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:h.jsx(Ve,{scope:n,placedSide:U,onArrowChange:B,arrowX:ye,arrowY:ge,shouldHideArrow:Ee,children:h.jsx(O.div,{"data-side":U,"data-align":me,...v,ref:W,style:{...v.style,animation:N?void 0:"none"}})})})});de.displayName=I;var le="PopperArrow",tt={top:"bottom",right:"left",bottom:"top",left:"right"},ue=o.forwardRef(function(e,n){const{__scopePopper:r,...s}=e,a=et(le,r),c=tt[a.placedSide];return h.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:h.jsx(Ge,{...s,ref:n,style:{...s.style,display:"block"}})})});ue.displayName=le;function rt(t){return t!==null}var nt=t=>({name:"transformOrigin",options:t,fn(e){var b,E,w;const{placement:n,rects:r,middlewareData:s}=e,c=((b=s.arrow)==null?void 0:b.centerOffset)!==0,d=c?0:t.arrowWidth,f=c?0:t.arrowHeight,[i,u]=fe(n),g={start:"0%",center:"50%",end:"100%"}[u],p=(((E=s.arrow)==null?void 0:E.x)??0)+d/2,x=(((w=s.arrow)==null?void 0:w.y)??0)+f/2;let m="",v="";return i==="bottom"?(m=c?g:`${p}px`,v=`${-f}px`):i==="top"?(m=c?g:`${p}px`,v=`${r.floating.height+f}px`):i==="right"?(m=`${-f}px`,v=c?g:`${x}px`):i==="left"&&(m=`${r.floating.width+f}px`,v=c?g:`${x}px`),{data:{x:m,y:v}}}});function fe(t){const[e,n="center"]=t.split("-");return[e,n]}var ft=ae,pt=ce,ht=de,vt=ue,ot="Portal",st=o.forwardRef((t,e)=>{var d;const{container:n,...r}
3=t,[s,a]=o.useState(!1);M(()=>a(!0),[]);const c=n||s&&((d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body);return c?Oe.createPortal(h.jsx(O.div,{...r,ref:e}),c):null});st.displayName=ot;export{pt as A,ht as C,Ue as D,st as P,ft as R,vt as a,ut as c}; 4 5//# debugId=e557e07a-08a0-54f4-9aea-45ff4db20cd1
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.