PageSourceSearch

https://emprops.ai/_next/static/chunks/9538-76e36acd89756843.js

js emprops.ai collected 2026-09-25 18:59:30 UTC 40,287 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9538],{2244:(e,t,n)=>{n.d(t,{F:()=>l});var r=n(3638);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.$,l=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===t)return null;let o=i(t)||i(r);return l[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,u,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):({...a,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},7049:(e,t,n)=>{n.d(t,{i:()=>a});var r,i=n(65162),o=n(37927),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,a,u]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),a=i.useRef(t);return l(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,r])}return[c,i.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else a(t)},[s,e,a,u])]}Symbol("RADIX:SYNC_STATE")},9932:(e,t,n)=>{n.d(t,{s:()=>l,t:()=>o});var r=n(65162);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function l(...e){return r.useCallback(o(...e),e)}},28170:(e,t,n)=>{n.d(t,{Dc:()=>u,TL:()=>l});var r=n(65162),i=n(9932),o=n(4930);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var l;let e,a,u=(l=n,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(s.ref=t?(0,i.t)(t,u):u),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...l}=e,a=r.Children.toArray(i),u=a.find(s);if(u){let e=u.props.children,i=a.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...l,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var a=Symbol("radix.slottable");function u(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=a,t}function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},34033:(e,t,n)=>{n.d(t,{qW:()=>d});var r,i=n(65162),o=n(41375),l=n(97286),a=n(9932),u=n(46189),s=n(4930),c="dismissableLayer.update",f=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:d,onPointerDownOutside:h,onFocusOutside:y,onInteractOutside:g,onDismiss:v,...w}=e,x=i.useContext(f),[b,E]=i.useState(null),R=b?.ownerDocument??globalThis?.document,[,C]=i.useState({}),O=(0,a.s)(t,e=>E(e)),A=Array.from(x.layers),[S]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),N=A.indexOf(S),L=b?A.indexOf(b):-1,P=x.layersWithOutsidePointerEventsDisabled.size>0,T=L>=N,D=function(e,t=globalThis?.document){let n=(0,u.c)(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){m("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));T&&!n&&(h?.(e),g?.(e),e.defaultPrevented||v?.())},R),j=function(e,t=globalThis?.document){let n=(0,u.c)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&m("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(y?.(e),g?.(e),e.defaultPrevented||v?.())},R);return!function(e,t=globalThis?.document){let n=(0,u.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{L===x.layers.size-1&&(d?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},R),i.useEffect(()=>{if(b)return n&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(b)),x.layers.add(b),p(),()=>{n&&1===x.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[b,R,n,x]),i.useEffect(()=>()=>{b&&(x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),p())},[b,x]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,s.jsx)(l.sG.div,{...w,ref:O,style:{pointerEvents:P?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,l.hO)(i,o):i.dispatchEvent(o)}d.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let n=i.useContext(f),r=i.useRef(null),o=(0,a.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(l.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},37927:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(65162),i=globalThis?.document?r.useLayoutEffect:()=>{}},41375:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement},42606:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(65162),i=n(41352),o=n(97286),l=n(37927),a=n(4930),u=r.forwardRef((e,t)=>{let{container:n,...u}=e,[s,c]=r.useState(!1);(0,l.N)(()=>c(!0),[]);let f=n||s&&globalThis?.document?.body;return f?i.createPortal((0,a.jsx)(o.sG.div,{...u,ref:t}),f):null});u.displayName="Portal"},46189:(e,t,n)=>{n.d(t,{c:()=>i});var r=n(65162);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},47411:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(65162),i=n(9932),o=n(37927),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[i,l]=r.useState(),u=r.useRef(null),s=r.useRef(e),c=r.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=a(u.current);c.current="mounted"===f?e:"none"},[f]),(0,o.N)(()=>{let t=u.current,n=s.current;if(n!==e){let r=c.current,i=a(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=a(u.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(d("ANIMATION_END"),!s.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(c.current=a(u.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{u.current=e?getComputedStyle(e):null,l(e)},[])}}(t),u="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),s=(0,i.s)(l.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||l.isPresent?r.cloneElement(u,{ref:s}):null};function a(e){return e?.animationName||"none"}l.displayName="Presence"},47878:(e,t,n)=>{n.d(t,{A:()=>l,q:()=>o});var r=n(65162),i=n(4930);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,l=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:l,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o),a=n.length;n=[...n,o];let u=t=>{let{scope:n,children:o,...u}=t,s=n?.[e]?.[a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,i.jsx)(s.Provider,{value:c,children:o})};return u.displayName=t+"Provider",[u,function(n,i){let u=i?.[e]?.[a]||l,s=r.useContext(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}}
1,50149:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(65162),i=n(37927);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},54404:(e,t,n)=>{n.d(t,{Mz:()=>_,i3:()=>B,UC:()=>F,bL:()=>k,Bk:()=>b});var r=n(65162),i=n(98720),o=n(41352),l="undefined"!=typeof document?r.useLayoutEffect:function(){};function a(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function c(e){let t=r.useRef(e);return l(()=>{t.current=e}),t}var f=n(97286),d=n(4930),p=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,d.jsx)(f.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,d.jsx)("polygon",{points:"0,0 30,0 15,10"})})});p.displayName="Arrow";var m=n(9932),h=n(47878),y=n(46189),g=n(37927),v=n(50149),w="Popper",[x,b]=(0,h.A)(w),[E,R]=x(w),C=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,d.jsx)(E,{scope:t,anchor:i,onAnchorChange:o,children:n})};C.displayName=w;var O="PopperAnchor",A=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=R(O,n),a=r.useRef(null),u=(0,m.s)(t,a),s=r.useRef(null);return r.useEffect(()=>{let e=s.current;s.current=i?.current||a.current,e!==s.current&&l.onAnchorChange(s.current)}),i?null:(0,d.jsx)(f.sG.div,{...o,ref:u})});A.displayName=O;var S="PopperContent",[N,L]=x(S),P=r.forwardRef((e,t)=>{let{__scopePopper:n,side:p="bottom",sideOffset:h=0,align:w="center",alignOffset:x=0,arrowPadding:b=0,avoidCollisions:E=!0,collisionBoundary:C=[],collisionPadding:O=0,sticky:A="partial",hideWhenDetached:L=!1,updatePositionStrategy:P="optimized",onPlaced:T,...D}=e,j=R(S,n),[k,_]=r.useState(null),F=(0,m.s)(t,e=>_(e)),[B,H]=r.useState(null),I=(0,v.X)(B),V=I?.width??0,z=I?.height??0,U="number"==typeof O?O:{top:0,right:0,bottom:0,left:0,...O},X=Array.isArray(C)?C:[C],Y=X.length>0,G={padding:U,boundary:X.filter($),altBoundary:Y},{refs:q,floatingStyles:K,placement:Z,isPositioned:J,middlewareData:Q}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:m}={},transform:h=!0,whileElementsMounted:y,open:g}=e,[v,w]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,b]=r.useState(f);a(x,f)||b(f);let[E,R]=r.useState(null),[C,O]=r.useState(null),A=r.useCallback(e=>{e!==P.current&&(P.current=e,R(e))},[]),S=r.useCallback(e=>{e!==T.current&&(T.current=e,O(e))},[]),N=p||E,L=m||C,P=r.useRef(null),T=r.useRef(null),D=r.useRef(v),j=null!=y,$=c(y),M=c(d),W=c(g),k=r.useCallback(()=>{if(!P.current||!T.current)return;let e={placement:t,strategy:n,middleware:x};M.current&&(e.platform=M.current),(0,i.rD)(P.current,T.current,e).then(e=>{let t={...e,isPositioned:!1!==W.current};_.current&&!a(D.current,t)&&(D.current=t,o.flushSync(()=>{w(t)}))})},[x,t,n,M,W]);l(()=>{!1===g&&D.current.isPositioned&&(D.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);let _=r.useRef(!1);l(()=>(_.current=!0,()=>{_.current=!1}),[]),l(()=>{if(N&&(P.current=N),L&&(T.current=L),N&&L){if($.current)return $.current(N,L,k);k()}},[N,L,k,$,j]);let F=r.useMemo(()=>({reference:P,floating:T,setReference:A,setFloating:S}),[A,S]),B=r.useMemo(()=>({reference:N,floating:L}),[N,L]),H=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=s(B.floating,v.x),r=s(B.floating,v.y);return h?{...e,transform:"translate("+t+"px, "+r+"px)",...u(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,h,B.floating,v.x,v.y]);return r.useMemo(()=>({...v,update:k,refs:F,elements:B,floatingStyles:H}),[v,k,F,B,H])}({strategy:"fixed",placement:p+("center"!==w?"-"+w:""),whileElementsMounted:(...e)=>(0,i.ll)(...e,{animationFrame:"always"===P}),elements:{reference:j.anchor},middleware:[((e,t)=>({...(0,i.cY)(e),options:[e,void 0]}))({mainAxis:h+z,alignmentAxis:x}),E&&((e,t)=>({...(0,i.BN)(e),options:[e,void 0]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?{...(0,i.ER)(void 0),options:[void 0,void 0]}:void 0,...G}),E&&((e,t)=>({...(0,i.UU)(e),options:[e,void 0]}))({...G}),((e,t)=>({...(0,i.Ej)(e),options:[e,void 0]}))({...G,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}}),B&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,i.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,i.UE)({element:n,padding:r}).fn(t):{}}}))(e),options:[e,void 0]}))({element:B,padding:b}),M({arrowWidth:V,arrowHeight:z}),L&&((e,t)=>({...(0,i.jD)(e),options:[e,void 0]}))({strategy:"referenceHidden",...G})]}),[ee,et]=W(Z),en=(0,y.c)(T);(0,g.N)(()=>{J&&en?.()},[J,en]);let er=Q.arrow?.x,ei=Q.arrow?.y,eo=Q.arrow?.centerOffset!==0,[el,ea]=r.useState();return(0,g.N)(()=>{k&&ea(window.getComputedStyle(k).zIndex)},[k]),(0,d.jsx)("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:J?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:el,"--radix-popper-transform-origin":[Q.transformOrigin?.x,Q.transformOrigin?.y].join(" "),...Q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,d.jsx)(N,{scope:n,placedSide:ee,onArrowChange:H,arrowX:er,arrowY:ei,shouldHideArrow:eo,children:(0,d.jsx)(f.sG.div,{"data-side":ee,"data-align":et,...D,ref:F,style:{...D.style,animation:J?void 0:"none"}})})})});P.displayName=S;var T="PopperArrow",D={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},j=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=L(T,n),o=D[i.placedSide];return(0,d.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]: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:(0,d.jsx)(p,{...r,ref:t,style:{...r.style,display:"block"}})})});function $(e){return null!==e}j.displayName=T;var M=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[u,s]=W(n),c={start:"0%",center:"50%",end:"100%"}[s],f=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",m="";return"bottom"===u?(p=o?c:`${f}px`,m=`${-a}px`):"top"===u?(p=o?c:`${f}px`,m=`${r.floating.height+a}px`):"right"===u?(p=`${-a}px`,m=o?c:`${d}px`):"left"===u&&(p=`${r.floating.width+a}px`,m=o?c:`${d}px`),{data:{x:p,y:m}}}});function W(e){let[t,n="center"]=e.split("-");return[t,n]}var k=C,_=A,F=P,B=j},77019:(e,t,n)=>{n.d(t,{DX:()=>f,TL:()=>c});var r,i=n(65162),o=n(9932),l=n(4930),a=Symbol.for("react.lazy"),u=(r||(r=n.t(i,2)))[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:n,...r}=e;if(s(n)&&"function"==typeof u&&(n=u(n._payload)),i.isValidElement(n)){var l;let e,a,u=(l=n,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==i.Fragment&&(s.ref=t?(0,o.t)(t,u):u),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=i.forwardRef((e,n)=>{let{children:r,...o}=e;s(r)&&"function"==typeof u&&(r=u(r._payload));let a=i.Children.toArray(r),c=a.find(p);if(c){let e=c.props.children,r=a.map(t=>t!==c?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...o,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,l.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var f=c("Slot"),d=Symbol("radix.slottable");function p(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}},97286:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>a});var r=n(65162),i=n(41352),o=n(28170),l=n(4930),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},98720:(e,t,n)=>{n.d(t,{UE:()=>eA,ll:()=>ex,rD:()=>eN,UU:()=>eR,jD:()=>eO,ER:()=>eS,cY:()=>eb,BN:()=>eE,Ej:()=>eC});let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,a=Math.floor,u=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function g(e){return y.has(d(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>c[e])}let w=["left","right"],x=["right","left"],b=["top","bottom"],E=["bottom","top"];function R(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function A(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=m(g(t)),u=h(a),s=d(t),c="y"===l,f=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[u]/2-o[u]/2;switch(s){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[a]-=v*(n&&c?-1:1);break;case"end":r[a]+=v*(n&&c?-1:1)}return r}let S=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}
1=n,a=o.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=A(s,r,u),d=r,p={},m=0;for(let n=0;n<a.length;n++){let{name:o,fn:h}=a[n],{x:y,y:g,data:v,reset:w}=await h({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=g?g:f,p={...p,[o]:{...p[o],...v}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:f}=A(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:p}};async function N(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=f(t,e),h=C(m),y=a[p?"floating"===d?"reference":"floating":d],g=O(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(y)))||n?y:y.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:u}):v);return{top:(g.top-b.top+h.top)/x.y,bottom:(b.bottom-g.bottom+h.bottom)/x.y,left:(g.left-b.left+h.left)/x.x,right:(b.right-g.right+h.right)/x.x}}function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return r.some(t=>e[t]>=0)}let T=new Set(["left","top"]);async function D(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=p(n),u="y"===g(n),s=T.has(l)?-1:1,c=o&&u?-1:1,m=f(t,e),{mainAxis:h,crossAxis:y,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),u?{x:y*c,y:h*s}:{x:h*s,y:y*c}}function j(){return"undefined"!=typeof window}function $(e){return k(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(k(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function k(e){return!!j()&&(e instanceof Node||e instanceof M(e).Node)}function _(e){return!!j()&&(e instanceof Element||e instanceof M(e).Element)}function F(e){return!!j()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function B(e){return!!j()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}let H=new Set(["inline","contents"]);function I(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!H.has(i)}let V=new Set(["table","td","th"]),z=[":popover-open",":modal"];function U(e){return z.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let X=["transform","translate","scale","rotate","perspective"],Y=["transform","translate","scale","rotate","perspective","filter"],G=["paint","layout","strict","content"];function q(e){let t=K(),n=_(e)?Q(e):e;return X.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Y.some(e=>(n.willChange||"").includes(e))||G.some(e=>(n.contain||"").includes(e))}function K(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Z=new Set(["html","body","#document"]);function J(e){return Z.has($(e))}function Q(e){return M(e).getComputedStyle(e)}function ee(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function et(e){if("html"===$(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||W(e);return B(t)?t.host:t}
1function en(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=et(t);return J(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&I(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=M(i);if(o){let e=er(l);return t.concat(l,l.visualViewport||[],I(i)?i:[],e&&n?en(e):[])}return t.concat(i,en(i,[],n))}function er(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=Q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=F(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,u=l(n)!==o||l(r)!==a;return u&&(n=o,r=a),{width:n,height:r,$:u}}function eo(e){return _(e)?e:e.contextElement}function el(e){let t=eo(e);if(!F(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ei(t),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let ea=u(0);function eu(e){let t=M(e);return K()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ea}function es(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=eo(e),a=u(1);t&&(r?_(r)&&(a=el(r)):a=el(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===M(l))&&i)?eu(l):u(0),c=(o.left+s.x)/a.x,f=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=M(l),t=r&&_(r)?M(r):r,n=e,i=er(n);for(;i&&r&&t!==n;){let e=el(i),t=i.getBoundingClientRect(),r=Q(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=o,f+=l,i=er(n=M(i))}}return O({width:d,height:p,x:c,y:f})}function ec(e,t){let n=ee(e).scrollLeft;return t?t.left+n:es(W(e)).left+n}function ef(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ec(e,n),y:n.top+t.scrollTop}}let ed=new Set(["absolute","fixed"]);function ep(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=M(e),r=W(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,u=0;if(i){o=i.width,l=i.height;let e=K();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}let s=ec(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=W(e),n=ee(e),r=e.ownerDocument.body,i=o(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=o(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ec(e),u=-n.scrollTop;return"rtl"===Q(r).direction&&(a+=o(t.clientWidth,r.clientWidth)-i),{width:i,height:l,x:a,y:u}}(W(e));else if(_(t))r=function(e,t){let n=es(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=F(e)?el(e):u(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(r)}function em(e){return"static"===Q(e).position}function eh(e,t){if(!F(e)||"fixed"===Q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function ey(e,t){var n;let r=M(e);if(U(e))return r;if(!F(e)){let t=et(e);for(;t&&!J(t);){if(_(t)&&!em(t))return t;t=et(t)}return r}let i=eh(e,t);for(;i&&(n=i,V.has($(n)))&&em(i);)i=eh(i,t);return i&&J(i)&&em(i)&&!q(i)?r:i||function(e){let t=et(e);for(;F(t)&&!J(t);){if(q(t))return t;if(U(t))break;t=et(t)}return null}(e)||r}let eg=async function(e){let t=this.getOffsetParent||ey,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),i=W(t),o="fixed"===n,l=es(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=u(0);if(r||!r&&!o)if(("body"!==$(t)||I(i))&&(a=ee(t)),r){let e=es(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=ec(i));o&&!r&&i&&(s.x=ec(i));let c=!i||r||o?u(0):ef(i,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ev={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=W(r),a=!!t&&U(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},c=u(1),f=u(0),d=F(r);
1if((d||!d&&!o)&&(("body"!==$(r)||I(l))&&(s=ee(r)),F(r))){let e=es(r);c=el(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?u(0):ef(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-s.scrollTop*c.y+f.y+p.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=en(e,[],!1).filter(e=>_(e)&&"body"!==$(e)),i=null,o="fixed"===Q(e).position,l=o?et(e):e;for(;_(l)&&!J(l);){let t=Q(l),n=q(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ed.has(i.position)||I(l)&&!n&&function e(t,n){let r=et(t);return!(r===n||!_(r)||J(r))&&("fixed"===Q(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=et(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=a[0],s=a.reduce((e,n)=>{let r=ep(t,n,l);return e.top=o(r.top,e.top),e.right=i(r.right,e.right),e.bottom=i(r.bottom,e.bottom),e.left=o(r.left,e.left),e},ep(t,u,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ey,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ei(e);return{width:t,height:n}},getScale:el,isElement:_,isRTL:function(e){return"rtl"===Q(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ex(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=eo(e),m=u||s?[...p?en(p):[],...en(t)]:[];m.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,r=null,l=W(e);function u(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),u();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:y}=d;if(c||t(),!h||!y)return;let g=a(m),v=a(l.clientWidth-(p+h)),w={rootMargin:-g+"px "+-v+"px "+-a(l.clientHeight-(m+y))+"px "+-a(p)+"px",threshold:o(0,i(1,f))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==f){if(!x)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ew(d,e.getBoundingClientRect())||s(),x=!1}try{r=new IntersectionObserver(b,{...w,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),u}(p,n):null,y=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),g.observe(t));let v=d?es(e):null;return d&&function t(){let r=es(e);v&&!ew(v,r)&&n(),v=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{u&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}}let eb=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,u=await D(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},eE=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(e,t),p={x:n,y:r},h=await N(t,c),y=g(d(l)),v=m(y),w=p[v],x=p[y];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+h[e],r=w-h[t];w=o(n,i(w,r))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+h[e],r=x-h[t];x=o(n,i(x,r))}let b=s.fn({...t,[v]:w,[y]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:a,[y]:u}}}}}},eR=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:y,elements:C}=t,{mainAxis:O=!0,crossAxis:A=!0,fallbackPlacements:S,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:T=!0,...D}=f(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let j=d(a),$=g(c),M=d(c)===c,W=await (null==y.isRTL?void 0:y.isRTL(C.floating)),k=S||(M||!T?[R(c)]:function(e){let t=R(e);return[v(e),t,v(t)]}(c)),_="none"!==P;!S&&_&&k.push(...function(e,t,n,r){let i=p(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?b:E;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(v)))),o}(c,T,P,W));let F=[c,...k],B=await N(t,D),H=[],I=(null==(r=u.flip)?void 0:r.overflows)||[];if(O&&H.push(B[j]),A){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),i=m(g(e)),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=R(l)),[l,R(l)]}(a,s,W);H.push(B[e[0]],B[e[1]])}if(I=[...I,{placement:a,overflows:H}],!H.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=F[e];if(t&&("alignment"!==A||$===g(t)||I.every(e=>g(e.placement)!==$||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(o=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let e=null==(l=I.filter(e=>{if(_){let t=g(e.placement);return t===$||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},eC=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let l,a,{placement:u,rects:s,platform:c,elements:m}=t,{apply:h=()=>{},...y}=f(e,t),v=await N(t,y),w=d(u),x=p(u),b="y"===g(u),{width:E,height:R}=s.floating;"top"===w||"bottom"===w?(l=w,a=x===(await (null==c.isRTL?void 0:c.isRTL(m.floating))?"start":"end")?"left":"right"):(a=w,l="end"===x?"top":"bottom");let C=R-v.top-v.bottom,O=E-v.left-v.right,A=i(R-v[l],C),S=i(E-v[a],O),L=!t.middlewareData.shift,P=A,T=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(T=O),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=C),L&&!x){let e=o(v.left,0),t=o(v.right,0),n=o(v.top,0),r=o(v.bottom,0);b?T=E-2*(0!==e||0!==t?e+t:o(v.left,v.right)):P=R-2*(0!==n||0!==r?n+r:o(v.top,v.bottom))}await h({...t,availableWidth:T,availableHeight:P});let D=await c.getDimensions(m.floating);return E!==D.width||R!==D.height?{reset:{rects:!0}}:{}}}},eO=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=f(e,t);switch(r){case"referenceHidden":{let e=L(await N(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{let e=L(await N(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}},eA=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:u,elements:s,middlewareData:c}=t,{element:d,padding:y=0}=f(e,t)||{};if(null==d)return{};let v=C(y),w={x:n,y:r},x=m(g(l)),b=h(x),E=await u.getDimensions(d),R="y"===x,O=R?"clientHeight":"clientWidth",A=a.reference[b]+a.reference[x]-w[x]-a.floating[b],S=w[x]-a.reference[x],N=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),L=N?N[O]:0;L&&await (null==u.isElement?void 0:u.isElement(N))||(L=s.floating[O]||a.floating[b]);let P=L/2-E[b]/2-1,T=i(v[R?"top":"left"],P),D=i(v[R?"bottom":"right"],P),j=L-E[b]-D,$=L/2-E[b]/2+(A/2-S/2),M=o(T,i($,j)),W=!c.arrow&&null!=p(l)&&$!==M&&a.reference[b]/2-($<T?T:D)-E[b]/2<0,k=W?$<T?$-T:$-j:0;return{[x]:w[x]+k,data:{[x]:M,centerOffset:$-M-k,...W&&{alignmentOffset:k}},reset:W}}}),eS=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=f(e,t),c={x:n,y:r},p=g(i),h=m(p),y=c[h],v=c[p],w=f(a,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+x.mainAxis,n=o.reference[h]+o.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(s){var b,E;let e="y"===h?"width":"height",t=T.has(d(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[p])||0)+(t?0:x.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[p])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:y,[p]:v}}}},eN=(e,t,n)=>{let r=new Map,i={platform:ev,...n},o={...i.platform,_c:r};return S(e,t,{...i,platform:o})}}}]);

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.