1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9284],{8149:function(e,n,t){t.d(n,{M:function(){return r}});function r(e,n,{checkForDefaultPrevented:t=!0}={}){return function(r){if(e?.(r),!1===t||!r.defaultPrevented)return n?.(r)}}},976:function(e,n,t){t.d(n,{B:function(){return c}});var r=t(2265),u=t(8324),o=t(1584),i=t(1538),l=t(7437);function c(e){let n=e+"CollectionProvider",[t,c]=(0,u.b)(n),[a,f]=t(n,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:n,children:t}=e,u=r.useRef(null),o=r.useRef(new Map).current;return(0,l.jsx)(a,{scope:n,itemMap:o,collectionRef:u,children:t})};s.displayName=n;let d=e+"CollectionSlot",m=r.forwardRef((e,n)=>{let{scope:t,children:r}=e,u=f(d,t),c=(0,o.e)(n,u.collectionRef);return(0,l.jsx)(i.g7,{ref:c,children:r})});m.displayName=d;let p=e+"CollectionItemSlot",v="data-radix-collection-item",N=r.forwardRef((e,n)=>{let{scope:t,children:u,...c}=e,a=r.useRef(null),s=(0,o.e)(n,a),d=f(p,t);return r.useEffect(()=>(d.itemMap.set(a,{ref:a,...c}),()=>void d.itemMap.delete(a))),(0,l.jsx)(i.g7,{[v]:"",ref:s,children:u})});return N.displayName=p,[{Provider:s,Slot:m,ItemSlot:N},function(n){let t=f(e+"CollectionConsumer",n);return r.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let n=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(t.itemMap.values()).sort((e,t)=>n.indexOf(e.ref.current)-n.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},c]}},1584:function(e,n,t){t.d(n,{F:function(){return o},e:function(){return i}});var r=t(2265);function u(e,n){if("function"==typeof e)return e(n);null!=e&&(e.current=n)}function o(...e){return n=>{let t=!1,r=e.map(e=>{let r=u(e,n);return t||"function"!=typeof r||(t=!0),r});if(t)return()=>{for(let n=0;n<r.length;n++){let t=r[n];"function"==typeof t?t():u(e[n],null)}}}}function i(...e){return r.useCallback(o(...e),e)}},8324:function(e,n,t){t.d(n,{b:function(){return i},k:function(){return o}});var r=t(2265),u=t(7437);function o(e,n){let t=r.createContext(n),o=e=>{let{children:n,...o}=e,i=r.useMemo(()=>o,Object.values(o));return(0,u.jsx)(t.Provider,{value:i,children:n})};return o.displayName=e+"Provider",[o,function(u){let o=r.useContext(t);if(o)return o;if(void 0!==n)return n;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,n=[]){let t=[],o=()=>{let n=t.map(e=>r.createContext(e));return function(t){let u=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:u}}),[t,u])}};return o.scopeName=e,[function(n,o){let i=r.createContext(o),l=t.length;t=[...t,o];let c=n=>{let{scope:t,children:o,...c}=n,a=t?.[e]?.[l]||i,f=r.useMemo(()=>c,Object.values(c));return(0,u.jsx)(a.Provider,{value:f,children:o})};return c.displayName=n+"Provider",[c,function(t,u){let c=u?.[e]?.[l]||i,a=r.useContext(c);if(a)return a;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=t.reduce((n,{useScope:t,scopeName:r})=>{let u=t(e)[`__scope${r}`];return{...n,...u}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}(o,...n)]}},1383:function(e,n,t){t.d(n,{z:function(){return i}});var r=t(2265),u=t(1584),o=t(1336),i=e=>{var n,t;let i,c;let{present:a,children:f}=e,s=function(e){var n,t;let[u,i]=r.useState(),c=r.useRef({}),a=r.useRef(e),f=r.useRef("none"),[s,d]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=l(c.current);f.current="mounted"===s?e:"none"},[s]),(0,o.b)(()=>{let n=c.current,t=a.current;if(t!==e){let r=f.current,u=l(n);e?d("MOUNT"):"none"===u||(null==n?void 0:n.display)==="none"?d("UNMOUNT"):t&&r!==u?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),(0,o.b)(()=>{if(u){var e;let n;let t=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(c.current).includes(e.animationName);if(e.target===u&&r&&(d("ANIMATION_END"),!a.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},o=e=>{e.target===u&&(f.current=l(c.current))};return u.addEventListener("animationstart",o),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{t.clearTimeout(n),u.removeEventListener("animationstart",o),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}d("ANIMATION_END")},[u,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:r.useCallback(e=>{e&&(c.current=getComputedStyle(e)),i(e)},[])}}(a),d="function"==typeof f?f({present:s.isPresent}):r.Children.only(f),m=(0,u.e)(s.ref,(i=null===(n=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning?d.ref:(i=null===(t=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof f||s.isPresent?r.cloneElement(d,{ref:m}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},5171:function(e,n,t){t.d(n,{WV:function(){return l},jH:function(){return c}});var r=t(2265),u=t(4887),o=t(1538),i=t(7437),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=r.forwardRef((e,t)=>
1{let{asChild:r,...u}=e,l=r?o.g7:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...u,ref:t})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function c(e,n){e&&u.flushSync(()=>e.dispatchEvent(n))}},1538:function(e,n,t){t.d(n,{A4:function(){return c},g7:function(){return i}});var r=t(2265),u=t(1584),o=t(7437),i=r.forwardRef((e,n)=>{let{children:t,...u}=e,i=r.Children.toArray(t),c=i.find(a);if(c){let e=c.props.children,t=i.map(n=>n!==c?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(l,{...u,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,t):null})}return(0,o.jsx)(l,{...u,ref:n,children:t})});i.displayName="Slot";var l=r.forwardRef((e,n)=>{let{children:t,...o}=e;if(r.isValidElement(t)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref;return r.cloneElement(t,{...function(e,n){let t={...n};for(let r in n){let u=e[r],o=n[r];/^on[A-Z]/.test(r)?u&&o?t[r]=(...e)=>{o(...e),u(...e)}:u&&(t[r]=u):"style"===r?t[r]={...u,...o}:"className"===r&&(t[r]=[u,o].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props),ref:n?(0,u.F)(n,l):l})}return r.Children.count(t)>1?r.Children.only(null):null});l.displayName="SlotClone";var c=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function a(e){return r.isValidElement(e)&&e.type===c}},5137:function(e,n,t){t.d(n,{W:function(){return u}});var r=t(2265);function u(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},1715:function(e,n,t){t.d(n,{T:function(){return o}});var r=t(2265),u=t(5137);function o({prop:e,defaultProp:n,onChange:t=()=>{}}){let[o,i]=function({defaultProp:e,onChange:n}){let t=r.useState(e),[o]=t,i=r.useRef(o),l=(0,u.W)(n);return r.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),t}({defaultProp:n,onChange:t}),l=void 0!==e,c=l?e:o,a=(0,u.W)(t);return[c,r.useCallback(n=>{if(l){let t="function"==typeof n?n(e):n;t!==e&&a(t)}else i(n)},[l,e,i,a])]}},1336:function(e,n,t){t.d(n,{b:function(){return u}});var r=t(2265),u=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.