PageSourceSearch

https://www.trtfrancais.com/_next/static/chunks/9344-e4bf0bd6503b8b78.js

js trtfrancais.com collected 2026-10-02 09:53:46 UTC 40,359 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9344],{30518:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(83641);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:u=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:f,...d}=e;return(0,r.createElement)("svg",{ref:t,...l,width:i,height:i,stroke:n,strokeWidth:a?24*Number(u)/Number(i):u,className:o("lucide",s),...d},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,l)=>{let{className:a,...s}=n;return(0,r.createElement)(u,{ref:l,iconNode:t,className:o("lucide-".concat(i(e)),a),...s})});return n.displayName="".concat(e),n}},10193:function(e,t,n){n.d(t,{default:function(){return i.a}});var r=n(87266),i=n.n(r)},87266:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getImageProps:function(){return u}});let r=n(46490),i=n(64783),o=n(26790),l=r._(n(63597));function u(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[375,430,640,750,1080,1200,1920],imageSizes:[16,32,48,64,96,128,256],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let a=o.Image},42359:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},20342:function(e,t,n){n.d(t,{F:function(){return o},e:function(){return l}});var r=n(83641);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)}},37331:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(83641),i=n(74023);function o(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),u=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,s=n?.[e]?.[u]||l,c=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(s.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,i){let a=i?.[e]?.[u]||l,s=r.useContext(a);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)]}},58197:function(e,t,n){n.d(t,{XB:function(){return d}});var r,i=n(83641),o=n(42359),l=n(98129),u=n(20342),a=n(57912),s=n(74023),c="dismissableLayer.update",f=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=i.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:b,...x}=e,E=i.useContext(f),[R,A]=i.useState(null),C=null!==(d=null==R?void 0:R.ownerDocument)&&void 0!==d?d:null===(n=globalThis)||void 0===n?void 0:n.document,[,O]=i.useState({}),S=(0,u.e)(t,e=>A(e)),L=Array.from(E.layers),[P]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),T=L.indexOf(P),N=R?L.indexOf(R):-1,D=E.layersWithOutsidePointerEventsDisabled.size>0,W=N>=T,k=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,a.W)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>
1{if(e.target&&!o.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!W||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==b||b())},C),M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,a.W)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==b||b())},C);return!function(e,t=globalThis?.document){let n=(0,a.W)(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=>{N!==E.layers.size-1||(null==v||v(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},C),i.useEffect(()=>{if(R)return h&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),p(),()=>{h&&1===E.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[R,C,h,E]),i.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),p())},[R,E]),i.useEffect(()=>{let e=()=>O({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,s.jsx)(l.WV.div,{...x,ref:S,style:{pointerEvents:D?W?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.M)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,o.M)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,o.M)(e.onPointerDownCapture,k.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,l.jH)(o,u):o.dispatchEvent(u)}d.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(f),r=i.useRef(null),o=(0,u.e)(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.WV.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},63752:function(e,t,n){n.d(t,{M:function(){return a}});var r,i=n(83641),o=n(53066),l=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),u=0;function a(e){let[t,n]=i.useState(l());return(0,o.b)(()=>{e||n(e=>e??String(u++))},[e]),e||(t?`radix-${t}`:"")}},91519:function(e,t,n){n.d(t,{ee:function(){return e7},Eh:function(){return tt},VY:function(){return te},fC:function(){return e5},D7:function(){return eY}});var r=n(83641);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,u=Math.round,a=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function y(e){return g.has(p(e))?"y":"x"}function w(e){return e.replace(/start|end/g,e=>f[e])}let b=["left","right"],x=["right","left"],E=["top","bottom"],R=["bottom","top"];function A(e){return e.replace(/left|right|bottom|top/g,e=>c[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 S(e,t,n){let r,{reference:i,floating:o}=e,l=y(t),u=h(y(t)),a=v(u),s=p(t),c="y"===l,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,g=i[a]/2-o[a]/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:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(m(t)){case"start":r[u]-=g*(n&&c?-1:1);break;case"end":r[u]+=g*(n&&c?-1:1)}return r}let L=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}
1=n,u=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=S(s,r,a),d=r,p={},m=0;for(let n=0;n<u.length;n++){let{name:o,fn:h}=u[n],{x:v,y:g,data:y,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!=v?v:c,f=null!=g?g:f,p={...p,[o]:{...p[o],...y}},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}=S(s,d,a)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:p}};async function P(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:u,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=d(t,e),h=C(m),v=u[p?"floating"===f?"reference":"floating":f],g=O(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(u.floating)),boundary:s,rootBoundary:c,strategy:a})),y="floating"===f?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:w,strategy:a}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return i.some(t=>e[t]>=0)}let D=new Set(["left","top"]);async function W(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),u=m(n),a="y"===y(n),s=D.has(l)?-1:1,c=o&&a?-1:1,f=d(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof g&&(v="end"===u?-1*g:g),a?{x:v*c,y:h*s}:{x:h*s,y:v*c}}function k(){return"undefined"!=typeof window}function M(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!k()&&(e instanceof Node||e instanceof j(e).Node)}function H(e){return!!k()&&(e instanceof Element||e instanceof j(e).Element)}function I(e){return!!k()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function V(e){return!!k()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}let z=new Set(["inline","contents"]);function B(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!z.has(i)}let $=new Set(["table","td","th"]),U=[":popover-open",":modal"];function Y(e){return U.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let X=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function G(e){let t=J(),n=H(e)?ee(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||Z.some(e=>(n.willChange||"").includes(e))||q.some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let K=new Set(["html","body","#document"]);function Q(e){return K.has(M(e))}function ee(e){return j(e).getComputedStyle(e)}function et(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===M(e))return e;let t=e.assignedSlot||e.parentNode||V(e)&&e.host||_(e);return V(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:I(n)&&B(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(o){let e=ei(l);
1return t.concat(l,l.visualViewport||[],B(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=u(n)!==o||u(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function el(e){return H(e)?e:e.contextElement}function eu(e){let t=el(e);if(!I(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eo(t),l=(o?u(n.width):n.width)/r,a=(o?u(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ea=s(0);function es(e){let t=j(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ea}function ec(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=el(e),u=s(1);t&&(r?H(r)&&(u=eu(r)):u=eu(e));let a=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?es(l):s(0),c=(o.left+a.x)/u.x,f=(o.top+a.y)/u.y,d=o.width/u.x,p=o.height/u.y;if(l){let e=j(l),t=r&&H(r)?j(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=eu(i),t=i.getBoundingClientRect(),r=ee(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=ei(n=j(i))}}return O({width:d,height:p,x:c,y:f})}function ef(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(_(e)).left+n}function ed(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ef(e,r)),y:r.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function em(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=j(e),r=_(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,u=0,a=0;if(i){o=i.width,l=i.height;let e=J();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,a=i.offsetTop)}return{width:o,height:l,x:u,y:a}}(e,n);else if("document"===t)r=function(e){let t=_(e),n=et(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+ef(e),a=-n.scrollTop;return"rtl"===ee(r).direction&&(u+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:u,y:a}}(_(e));else if(H(t))r=function(e,t){let n=ec(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=I(e)?eu(e):s(1),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=es(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(r)}function eh(e){return"static"===ee(e).position}function ev(e,t){if(!I(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return _(e)===n&&(n=n.ownerDocument.body),n}function eg(e,t){var n;let r=j(e);if(Y(e))return r;if(!I(e)){let t=en(e);for(;t&&!Q(t);){if(H(t)&&!eh(t))return t;t=en(t)}return r}let i=ev(e,t);for(;i&&(n=i,$.has(M(n)))&&eh(i);)i=ev(i,t);return i&&Q(i)&&eh(i)&&!G(i)?r:i||function(e){let t=en(e);for(;I(t)&&!Q(t);){if(G(t))return t;if(Y(t))break;t=en(t)}return null}(e)||r}let ey=async function(e){let t=this.getOffsetParent||eg,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=I(t),i=_(t),o="fixed"===n,l=ec(e,!0,o,t),u={scrollLeft:0,scrollTop:0},a=s(0);if(r||!r&&!o){if(("body"!==M(t)||B(i))&&(u=et(t)),r){let e=ec(t,!0,o,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else i&&(a.x=ef(i))}o&&!r&&i&&(a.x=ef(i));let c=!i||r||o?s(0):ed(i,u);return{x:l.left+u.scrollLeft-a.x-c.x,y:l.top+u.scrollTop-a.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}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=_(r),u=!!t&&Y(t.floating);if(r===l||u&&o)return n;let a={scrollLeft:0,scrollTop:0},c=s(1),f=s(0),d=I(r);if((d||!d&&!o)&&(("body"!==M(r)||B(l))&&(a=et(r)),I(r))){let e=ec(r);c=eu(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?s(0):ed(l,a,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-a.scrollTop*c.y+f.y+p.y}},getDocumentElement:_,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,u=[..."clippingAncestors"===n?Y(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>H(e)&&"body"!==M(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;H(l)&&!Q(l);){let t=ee(l),n=G(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||B(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!H(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=u[0],s=u.reduce((e,n)=>{let r=em(t,n,i);return e.top=l(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=l(r.left,e.left),e},em(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eg,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:eu,isElement:H,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:u,platform:a,elements:s,middlewareData:c}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let g=C(p),w={x:n,y:r},b=h(y(i)),x=v(b),E=await a.getDimensions(f),R="y"===b,A=R?"clientHeight":"clientWidth",O=u.reference[x]+u.reference[b]-w[b]-u.floating[x],S=w[b]-u.reference[b],L=await (null==a.getOffsetParent?void 0:a.getOffsetParent(f)),P=L?L[A]:0;
1P&&await (null==a.isElement?void 0:a.isElement(L))||(P=s.floating[A]||u.floating[x]);let T=P/2-E[x]/2-1,N=o(g[R?"top":"left"],T),D=o(g[R?"bottom":"right"],T),W=P-E[x]-D,k=P/2-E[x]/2+(O/2-S/2),M=l(N,o(k,W)),j=!c.arrow&&null!=m(i)&&k!==M&&u.reference[x]/2-(k<N?N:D)-E[x]/2<0,_=j?k<N?k-N:k-W:0;return{[b]:w[b]+_,data:{[b]:M,centerOffset:k-M-_,...j&&{alignmentOffset:_}},reset:j}}}),eE=(e,t,n)=>{let r=new Map,i={platform:ew,...n},o={...i.platform,_c:r};return L(e,t,{...i,platform:o})};var eR=n(96419),eA="undefined"!=typeof document?r.useLayoutEffect:function(){};function eC(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(!eC(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)&&!eC(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eO(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eS(e,t){let n=eO(e);return Math.round(t*n)/n}function eL(e){let t=r.useRef(e);return eA(()=>{t.current=e}),t}let eP=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?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}),eT=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:l,middlewareData:u}=e,a=await W(e,n);return l===(null==(t=u.offset)?void 0:t.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}),options:[e,t]}},eN=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:u=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(n,e),f={x:t,y:r},m=await P(e,c),v=y(p(i)),g=h(v),w=f[g],b=f[v];if(u){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+m[e],r=w-m[t];w=l(n,o(w,r))}if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+m[e],r=b-m[t];b=l(n,o(b,r))}let x=s.fn({...e,[g]:w,[v]:b});return{...x,data:{x:x.x-t,y:x.y-r,enabled:{[g]:u,[v]:a}}}}}),options:[e,t]}},eD=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:u=0,mainAxis:a=!0,crossAxis:s=!0}=d(n,e),c={x:t,y:r},f=y(i),m=h(f),v=c[m],g=c[f],w=d(u,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+b.mainAxis,n=o.reference[m]+o.reference[e]-b.mainAxis;v<t?v=t:v>n&&(v=n)}if(s){var x,E;let e="y"===m?"width":"height",t=D.has(p(i)),n=o.reference[f]-o.floating[e]+(t&&(null==(x=l.offset)?void 0:x[f])||0)+(t?0:b.crossAxis),r=o.reference[f]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[f])||0)-(t?b.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[m]:v,[f]:g}}}),options:[e,t]}},eW=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,l;let{placement:u,middlewareData:a,rects:s,initialPlacement:c,platform:f,elements:g}=e,{mainAxis:C=!0,crossAxis:O=!0,fallbackPlacements:S,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:N=!0,...D}=d(n,e);if(null!=(t=a.arrow)&&t.alignmentOffset)return{};let W=p(u),k=y(c),M=p(c)===c,j=await (null==f.isRTL?void 0:f.isRTL(g.floating)),_=S||(M||!N?[A(c)]:function(e){let t=A(e);return[w(e),t,w(t)]}(c)),F="none"!==T;!S&&F&&_.push(...function(e,t,n,r){let i=m(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:b;return t?b:x;case"left":case"right":return t?E:R;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(w)))),o}(c,N,T,j));let H=[c,..._],I=await P(e,D),V=[],z=(null==(r=a.flip)?void 0:r.overflows)||[];if(C&&V.push(I[W]),O){let e=function(e,t,n){void 0===n&&(n=!1);let r=m(e),i=h(y(e)),o=v(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=A(l)),[l,A(l)]}(u,s,j);V.push(I[e[0]],I[e[1]])}if(z=[...z,{placement:u,overflows:V}],!V.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=H[e];if(t&&(!("alignment"===O&&k!==y(t))||z.every(e=>e.overflows[0]>0&&y(e.placement)===k)))return{data:{index:e,overflows:z},reset:{placement:t}};let n=null==(o=z.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=z.filter(e=>{if(F){let t=y(e.placement);return t===k||"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(u!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},ek=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let i,u;let{placement:a,rects:s,platform:c,elements:f}=e,{apply:h=()=>{},...v}=d(n,e),g=await P(e,v),w=p(a),b=m(a),x="y"===y(a),{width:E,height:R}=s.floating;"top"===w||"bottom"===w?(i=w,u=b===(await (null==c.isRTL?void 0:c.isRTL(f.floating))?"start":"end")?"left":"right"):(u=w,i="end"===b?"top":"bottom");let A=R-g.top-g.bottom,C=E-g.left-g.right,O=o(R-g[i],A),S=o(E-g[u],C),L=!e.middlewareData.shift,T=O,N=S;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(N=C),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(T=A),L&&!b){let e=l(g.left,0),t=l(g.right,0),n=l(g.top,0),r=l(g.bottom,0);x?N=E-2*(0!==e||0!==t?e+t:l(g.left,g.right)):T=R-2*(0!==n||0!==r?n+r:l(g.top,g.bottom))}await h({...e,availableWidth:N,availableHeight:T});let D=await c.getDimensions(f.floating);return E!==D.width||R!==D.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eM=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...i}=d(n,e);switch(r){case"referenceHidden":{let n=T(await P(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:N(n)}}}case"escaped":{let n=T(await P(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:N(n)}}}default:return{}}}}),options:[e,t]}},ej=(e,t)=>({...eP(e),options:[e,t]});var e_=n(98129),eF=n(74023),eH=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eF.jsx)(e_.WV.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eF.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eH.displayName="Arrow";var eI=n(20342),eV=n(37331),ez=n(57912),eB=n(53066),e$="Popper",[eU,eY]=(0,eV.b)(e$),[eX,eZ]=eU(e$),eq=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eF.jsx)(eX,{scope:t,anchor:i,onAnchorChange:o,children:n})};eq.displayName=e$;var eG="PopperAnchor",eJ=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=eZ(eG,n),u=r.useRef(null),a=(0,eI.e)(t,u);return r.useEffect(()=>{l.onAnchorChange((null==i?void 0:i.current)||u.current)}),i?null:(0,eF.jsx)(e_.WV.div,{...o,ref:a})});eJ.displayName=eG;var eK="PopperContent",[eQ,e0]=eU(eK),e1=r.forwardRef((e,t)=>{var n,i,u,s,c,f,d,p;let{__scopePopper:m,side:h="bottom",sideOffset:v=0,align:g="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:R="partial",hideWhenDetached:A=!1,updatePositionStrategy:C="optimized",onPlaced:O,...S}=e,L=eZ(eK,m),[P,T]=r.useState(null),N=(0,eI.e)(t,e=>T(e)),[D,W]=r.useState(null),k=function(e){let[t,n]=r.useState(void 0);return(0,eB.b)(()=>{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}(D),M=null!==(d=null==k?void 0:k.width)&&void 0!==d?d:0,j=null!==(p=null==k?void 0:k.height)&&void 0!==p?p:0,F="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},H=Array.isArray(x)?x:[x],I=H.length>0,V={padding:F,boundary:H.filter(e6),altBoundary:I},{refs:z,floatingStyles:B,placement:$,isPositioned:U,middlewareData:Y}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:u}={},transform:a=!0,whileElementsMounted:s,open:c}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=r.useState(i);eC(p,i)||m(i);let[h,v]=r.useState(null),[g,y]=r.useState(null),w=r.useCallback(e=>
1{e!==R.current&&(R.current=e,v(e))},[]),b=r.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),x=l||h,E=u||g,R=r.useRef(null),A=r.useRef(null),C=r.useRef(f),O=null!=s,S=eL(s),L=eL(o),P=eL(c),T=r.useCallback(()=>{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:p};L.current&&(e.platform=L.current),eE(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};N.current&&!eC(C.current,t)&&(C.current=t,eR.flushSync(()=>{d(t)}))})},[p,t,n,L,P]);eA(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let N=r.useRef(!1);eA(()=>(N.current=!0,()=>{N.current=!1}),[]),eA(()=>{if(x&&(R.current=x),E&&(A.current=E),x&&E){if(S.current)return S.current(x,E,T);T()}},[x,E,T,S,O]);let D=r.useMemo(()=>({reference:R,floating:A,setReference:w,setFloating:b}),[w,b]),W=r.useMemo(()=>({reference:x,floating:E}),[x,E]),k=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=eS(W.floating,f.x),r=eS(W.floating,f.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eO(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,W.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:T,refs:D,elements:W,floatingStyles:k}),[f,T,D,W,k])}({strategy:"fixed",placement:h+("center"!==g?"-"+g:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;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=el(e),m=u||s?[...p?er(p):[],...er(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,i=_(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:v}=d;if(c||t(),!h||!v)return;let g=a(m),y=a(i.clientWidth-(p+h)),w={rootMargin:-g+"px "+-y+"px "+-a(i.clientHeight-(m+v))+"px "+-a(p)+"px",threshold:l(0,o(1,f))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==f){if(!b)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||eb(d,e.getBoundingClientRect())||s(),b=!1}try{r=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),u}(p,n):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),g.observe(t));let y=d?ec(e):null;return d&&function t(){let r=ec(e);y&&!eb(y,r)&&n(),y=r,i=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(i)}}(...t,{animationFrame:"always"===C})},elements:{reference:L.anchor},middleware:[eT({mainAxis:v+j,alignmentAxis:y}),b&&eN({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?eD():void 0,...V}),b&&eW({...V}),ek({...V,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,u=t.floating.style;u.setProperty("--radix-popper-available-width","".concat(r,"px")),u.setProperty("--radix-popper-available-height","".concat(i,"px")),u.setProperty("--radix-popper-anchor-width","".concat(o,"px")),u.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&ej({element:D,padding:w}),e9({arrowWidth:M,arrowHeight:j}),A&&eM({strategy:"referenceHidden",...V})]}),[X,Z]=e8($),q=(0,ez.W)(O);(0,eB.b)(()=>{U&&(null==q||q())},[U,q]);let G=null===(n=Y.arrow)||void 0===n?void 0:n.x,J=null===(i=Y.arrow)||void 0===i?void 0:i.y,K=(null===(u=Y.arrow)||void 0===u?void 0:u.centerOffset)!==0,[Q,ee]=r.useState();return(0,eB.b)(()=>{P&&ee(window.getComputedStyle(P).zIndex)},[P]),(0,eF.jsx)("div",{ref:z.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:U?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(s=Y.transformOrigin)||void 0===s?void 0:s.x,null===(c=Y.transformOrigin)||void 0===c?void 0:c.y].join(" "),...(null===(f=Y.hide)||void 0===f?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eF.jsx)(eQ,{scope:m,placedSide:X,onArrowChange:W,arrowX:G,arrowY:J,shouldHideArrow:K,children:(0,eF.jsx)(e_.WV.div,{"data-side":X,"data-align":Z,...S,ref:N,style:{...S.style,animation:U?void 0:"none"}})})})});e1.displayName=eK;var e2="PopperArrow",e3={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e4=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=e0(e2,n),o=e3[i.placedSide];return(0,eF.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,eF.jsx)(eH,{...r,ref:t,style:{...r.style,display:"block"}})})});function e6(e){return null!==e}e4.displayName=e2;var e9=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:u,rects:a,middlewareData:s}=t,c=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,m]=e8(u),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!==(o=null===(r=s.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+f/2,g=(null!==(l=null===(i=s.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?h:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=c?h:"".concat(v,"px"),w="".concat(a.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?h:"".concat(g,"px")):"left"===p&&(y="".concat(a.floating.width+d,"px"),w=c?h:"".concat(g,"px")),{data:{x:y,y:w}}}});function e8(e){let[t,n="center"]=e.split("-");return[t,n]}var e5=eq,e7=eJ,te=e1,tt=e4},38076:function(e,t,n){n.d(t,{h:function(){return a}});var r=n(83641),i=n(96419),o=n(98129),l=n(53066),u=n(74023),a=r.forwardRef((e,t)=>{var n,a;let{container:s,...c}=e,[f,d]=r.useState(!1);(0,l.b)(()=>d(!0),[]);let p=s||f&&(null===(a=globalThis)||void 0===a?void 0:null===(n=a.document)||void 0===n?void 0:n.body);return p?i.createPortal((0,u.jsx)(o.WV.div,{...c,ref:t}),p):null});a.displayName="Portal"},5698:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(83641),i=n(20342),o=n(53066),l=e=>{var t,n;let l,a;let{present:s,children:c}=e,f=function(e){var t,n;let[i,l]=r.useState(),a=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)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=u(a.current);c.current="mounted"===f?e:"none"},[f]),(0,o.b)(()=>{let t=a.current,n=s.current;if(n!==e){let r=c.current,i=u(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,o.b)(()=>{if(i){var e;let t;let n=null!==(e=i.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=u(a.current).includes(e.animationName);if(e.target===i&&r&&(d("ANIMATION_END"),!s.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(c.current=u(a.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(s),d="function"==typeof c?c({present:f.isPresent}):r.Children.only(c),p=(0,i.e)(f.ref,(l=null===(t=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?d.ref:(l=null===(n=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof c||f.isPresent?r.cloneElement(d,{ref:p}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},98129:function(e,t,n){n.d(t,{WV:function(){return u},jH:function(){return a}});var r=n(83641),i=n(96419),o=n(44614),l=n(74023),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=(0,o.Z8)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,u=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(u,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function a(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},44614:function(e,t,n){n.d(t,{Z8:function(){return l},sA:function(){return a}});var r=n(83641),i=n(20342),o=n(74023);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,l;let u=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=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&&(a.ref=t?(0,i.F)(t,u):u),r.cloneElement(n,a)}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,u=r.Children.toArray(i),a=u.find(s);if(a){let e=a.props.children,i=u.map(t=>t!==a?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 u=Symbol("radix.slottable");function a(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=u,t}function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}},57912:function(e,t,n){n.d(t,{W:function(){return i}});var r=n(83641);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},67777:function(e,t,n){n.d(t,{T:function(){return u}});var r,i=n(83641),o=n(53066),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.b;function u({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,u,a]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),u=i.useRef(t);return l(()=>{u.current=t},[t]),i.useEffect(()=>{o.current!==n&&(u.current?.(n),o.current=n)},[n,o]),[n,r,u]}({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&&a.current?.(n)}else u(t)},[s,e,u,a])]}Symbol("RADIX:SYNC_STATE")},53066:function(e,t,n){n.d(t,{b:function(){return i}});var r=n(83641),i=globalThis?.document?r.useLayoutEffect:()=>{}}}]);

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.