1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,650407,128461,e=>{"use strict";var t=e.i(744555),n=e.i(464503),r=e.i(976173),i=e.i(950700),o=e.i(470698),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0});function a(e){let l=e+"CollectionProvider",[a,f]=(0,n.createContextScope)(l),[u,c]=a(l,{collectionRef:{current:null},itemMap:new Map}),d=s(e=>{let{scope:n,children:r}=e,i=t.useRef(null),l=t.useRef(new Map).current;return(0,o.jsx)(u,{scope:n,itemMap:l,collectionRef:i,children:r})},"CollectionProvider");d.displayName=l;let p=e+"CollectionSlot",h=(0,i.createSlot)(p),m=t.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=c(p,n),s=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(h,{ref:s,children:i})});m.displayName=p;let y=e+"CollectionItemSlot",g="data-radix-collection-item",w=(0,i.createSlot)(y),x=t.forwardRef((e,n)=>{let{scope:i,children:l,...s}=e,a=t.useRef(null),f=(0,r.useComposedRefs)(n,a),u=c(y,i);return t.useEffect(()=>(u.itemMap.set(a,{ref:a,...s}),()=>void u.itemMap.delete(a))),(0,o.jsx)(w,{...{[g]:""},ref:f,children:l})});function v(n){let r=c(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return x.displayName=y,s(v,"useCollection"),[{Provider:d,Slot:m,ItemSlot:x},v,f]}s(a,"createCollection");var f=new WeakMap,u=class e extends Map{static{s(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],f.set(this,!0)}set(e,t){return f.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,l=p(e),s=l>=0?l:o+l,a=s<0||s>=o?-1:s;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,n),this;let f=this.size+ +!i;l<0&&s++;let u=[...this.#e],c=!1;for(let e=s;e<f;e++)if(s===e){let o=u[e];u[e]===t&&(o=u[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{c||u[e-1]!==t||(c=!0);let n=u[c?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function c(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=d(e,t);return -1===n?void 0:e[n]}function d(e,t){let n=e.length,r=p(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}function p(e){return e!=e||0===e?0:Math.trunc(e)}function h(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function m(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function y(e,t){return e[1].element&&t[1].element?m(e[1].element,t[1].element)?-1:1:0}function g(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}s(c,"at"),s(d,"toSafeIndex"),s(p,"toSafeInteger"),s(function(e){let l=e+"CollectionProvider",[a,f]=(0,n.createContextScope)(l),[c,d]=a(l,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new u,setItemMap:s(()=>void 0,"setItemMap")}),p=s(({state:e,...t})=>e?(0,o.jsx)(w,{...t,state:e}):(0,o.jsx)(m,{...t}),"CollectionProvider");p.displayName=l;let m=s(e=>{let t=S();return(0,o.jsx)(w,{...e,state:t})},"CollectionInit");m.displayName=l+"Init";let w=s(e=>{let{scope:n,children:i,state:l}=e,s=t.useRef(null),[a,f]=t.useState(null),u=(0,r.useComposedRefs)(s,f),[d,p]=l;return t.useEffect(()=>{if(!a)return;let e=g(()=>{});return e.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[a]),(0,o.jsx)(c,{scope:n,itemMap:d,setItemMap:p,collectionRef:u,collectionRefObject:s,collectionElement:a,children:i})},"CollectionProviderImpl");w.displayName=l+"Impl";let x=e+"CollectionSlot",v=(0,i.createSlot)(x),b=t.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=d(x,n),s=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(v,{ref:s,children:i})});b.displayName=x;let R=e+"CollectionItemSlot",A=(0,i.createSlot)(R),C=t.forwardRef((e,n)=>{let{scope:i,children:l,...s}=e,a=t.useRef(null),[f,c]=t.useState(null),p=(0,r.useComposedRefs)(n,a,c),{setItemMap:m}=d(R,i),g=t.useRef(s);h(g.current,s)||(g.current=s);let w=g.current;return t.useEffect(()=>(m(e=>f?e.has(f)?e.set(f,{...w,element:f}).toSorted(y):(e.set(f,{...w,element:f}),e.toSorted(y)):e),()=>{m(e=>f&&e.has(f)?(e.delete(f),new u(e)):e)}),[f,w,m]),(0,o.jsx)(A,{"data-radix-collection-item":"",ref:p,children:l})});function S(){return t.useState(new u)}function O(t){let{itemMap:n}=d(e+"CollectionConsumer",t);return n}return C.displayName=R,s(S,"useInitCollection"),s(O,"useCollection"),[{Provider:p,Slot:b,ItemSlot:C},{createCollectionScope:f,useCollection:O,useInitCollection:S}]},"createCollection"),s(h,"shallowEqual"),s(m,"isElementPreceding"),s(y,"sortByDocumentPosition"),s(g,"getChildListObserver"),e.s(["createCollection",0,a],650407);var w=Object.defineProperty,x=t.createContext(void 0);function v(e){let n=t.useContext(x);return e||n||"ltr"}w(v,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,v],128461)},470766,e=>{"use strict";let t;var n=e.i(744555);let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,s=Math.floor,a=e=>({x:e,y:e}
1),f={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],w=["right","left"],x=["top","bottom"],v=["bottom","top"];function b(e){let t=c(e);return f[t]+e.slice(t.length)}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function A(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 C(e,t,n){let r,{reference:i,floating:o}=e,l=m(t),s=p(m(t)),a=h(s),f=c(t),u="y"===l,y=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,w=i[a]/2-o[a]/2;switch(f){case"top":r={x:y,y:i.y-o.height};break;case"bottom":r={x:y,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[s]-=w*(n&&u?-1:1);break;case"end":r[s]+=w*(n&&u?-1:1)}return r}async function S(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=R(h),y=s[p?"floating"===d?"reference":"floating":d],g=A(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(s.floating)),boundary:f,rootBoundary:c,strategy:a})),w="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:x,strategy:a}):w);return{top:(g.top-b.top+m.top)/v.y,bottom:(b.bottom-g.bottom+m.bottom)/v.y,left:(g.left-b.left+m.left)/v.x,right:(b.right-g.right+m.right)/v.x}}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=l.detectOverflow?l:{...l,detectOverflow:S},a=await (null==l.isRTL?void 0:l.isRTL(t)),f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=C(f,r,a),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:y,fn:g}=m,{x:w,y:x,data:v,reset:b}=await g({x:u,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:f,platform:s,elements:{reference:e,floating:t}});u=null!=w?w:u,c=null!=x?x:c,h[y]={...h[y],...v},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(f=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:u,y:c}=C(f,d,a)),n=-1)}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function k(e){return r.some(t=>e[t]>=0)}let E=new Set(["left","top"]);async function L(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=c(n),s=d(n),a="y"===m(n),f=E.has(l)?-1:1,p=o&&a?-1:1,h=u(t,e),{mainAxis:y,crossAxis:g,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof w&&(g="end"===s?-1*w:w),a?{x:g*p,y:y*f}:{x:y*f,y:g*p}}function T(){return"u">typeof window}function j(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function D(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!T()&&(e instanceof Node||e instanceof M(e).Node)}function H(e){return!!T()&&(e instanceof Element||e instanceof M(e).Element)}function I(e){return!!T()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function N(e){return!(!T()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}function F(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function W(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let $=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,V=e=>!!e&&"none"!==e;function _(e){let t=H(e)?X(e):e;return V(t.transform)||V(t.translate)||V(t.scale)||V(t.rotate)||V(t.perspective)||!Y()&&(V(t.backdropFilter)||V(t.filter))||$.test(t.willChange||"")||B.test(t.contain||"")}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function q(e){return/^(html|body|#document)$/.test(j(e))}function X(e){return M(e).getComputedStyle(e)}function U(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if("html"===j(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||D(e);return N(t)?t.host:t}function G(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=K(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:I(n)&&F(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=M(i);if(!o)return t.concat(i,G(i,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],F(i)?i:[],e&&n?G(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=X(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=l(n)!==o||l(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Z(e){return H(e)?e:e.contextElement}function ee(e){let t=Z(e);if(!I(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Q(t),s=(o?l(n.width):n.width)/r,f=(o?l(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),f&&Number.isFinite(f)||(f=1),{x:s,y:f}}let et=a(0);function en(e){let t=M(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:et}function er(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=Z(e),s=a(1);t&&(r?H(r)&&(s=ee(r)):s=ee(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===M(l))&&i)?en(l):a(0),u=(o.left+f.x)/s.x,c=(o.top+f.y)/s.y,d=o.width/s.x,p=o.height/s.y;if(l){let e=M(l),t=r&&H(r)?M(r):r,n=e,i=J(n);for(;i&&r&&t!==n;){let e=ee(i),t=i.getBoundingClientRect(),r=X(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=o,c+=l,i=J(n=M(i))}}return A({width:d,height:p,x:u,y:c})}function ei(e,t){let n=U(e).scrollLeft;return t?t.left+n:er(D(e)).left+n}function eo(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ei(e,n),y:n.top+t.scrollTop}}function el(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=M(e),r=D(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,s=0,a=0;if(i){o=i.width,l=i.height;let e=Y();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}let f=ei(r);if(f<=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 f<=25&&(o+=f);return{width:o,height:l,x:s,y:a}}(e,n);else if("document"===t){let t,n,l,s,a,f,u;r=D(e),t=D(r),n=U(r),l=r.ownerDocument.body,s=o(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=o(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),f=-n.scrollLeft+ei(r),u=-n.scrollTop,"rtl"===X(l).direction&&(f+=o(t.clientWidth,l.clientWidth)-s),i={width:s,height:a,x:f,y:u}}else if(H(t)){let e,r,o,l,s,f;r=(e=er(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=I(t)?ee(t):a(1),s=t.clientWidth*l.x,f=t.clientHeight*l.y,i={width:s,height:f,x:o*l.x,y:r*l.y}}else{let n=en(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(i)}function es(e){return"static"===X(e).position}function ea(e,t){if(!I(e)||"fixed"===X(e).position)return null;if(t)return t(e);let n=e.offsetParent;return D(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=M(e);if(W(e))return r;if(!I(e)){let t=K(e);for(;t&&!q(t);){if(H(t)&&!es(t))return t;t=K(t)}return r}let i=ea(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(j(n)))&&es(i);)i=ea(i,t);return i&&q(i)&&es(i)&&!_(i)?r:i||function(e){let t=K(e);for(;I(t)&&!q(t);){if(_(t))return t;if(W(t))break;t=K(t)}return null}(e)||r}let eu=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=I(t),i=D(t),o="fixed"===n,l=er(e,!0,o,t),s={scrollLeft:0,scrollTop:0},f=a(0);if(r||!r&&!o)if(("body"!==j(t)||F(i))&&(s=U(t)),r){let e=er(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ei(i));o&&!r&&i&&(f.x=ei(i));let u=!i||r||o?a(0):eo(i,s);return{x:l.left+s.scrollLeft-f.x-u.x,y:l.top+s.scrollTop-f.y-u.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}}},ec={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=D(r),s=!!t&&W(t.floating);if(r===l||s&&o)return n;let f={scrollLeft:0,scrollTop:0},u=a(1),c=a(0),d=I(r);if((d||!d&&!o)&&(("body"!==j(r)||F(l))&&(f=U(r)),d)){let e=er(r);u=ee(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?a(0):eo(l,f);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-f.scrollTop*u.y+c.y+p.y}},getDocumentElement:D,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,s=[..."clippingAncestors"===n?W(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=G(e,[],!1).filter(e=>H(e)&&"body"!==j(e)),i=null,o="fixed"===X(e).position,l=o?K(e):e;for(;H(l)&&!q(l);){let t=X(l),n=_(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||F(l)&&!n&&function e(t,n){let r=K(t);return!(r===n||!H(r)||q(r))&&("fixed"===X(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=K(l)}return t.set(e,r),r}
1(t,this._c):[].concat(n),r],a=el(t,s[0],l),f=a.top,u=a.right,c=a.bottom,d=a.left;for(let e=1;e<s.length;e++){let n=el(t,s[e],l);f=o(n.top,f),u=i(n.right,u),c=i(n.bottom,c),d=o(n.left,d)}return{width:u-d,height:c-f,x:d,y:f}},getOffsetParent:ef,getElementRects:eu,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Q(e);return{width:t,height:n}},getScale:ee,isElement:H,isRTL:function(e){return"rtl"===X(e).direction}};function ed(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ep=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:s,platform:a,elements:f,middlewareData:c}=t,{element:y,padding:g=0}=u(e,t)||{};if(null==y)return{};let w=R(g),x={x:n,y:r},v=p(m(l)),b=h(v),A=await a.getDimensions(y),C="y"===v,S=C?"clientHeight":"clientWidth",O=s.reference[b]+s.reference[v]-x[v]-s.floating[b],P=x[v]-s.reference[v],k=await (null==a.getOffsetParent?void 0:a.getOffsetParent(y)),E=k?k[S]:0;E&&await (null==a.isElement?void 0:a.isElement(k))||(E=f.floating[S]||s.floating[b]);let L=E/2-A[b]/2-1,T=i(w[C?"top":"left"],L),j=i(w[C?"bottom":"right"],L),M=E-A[b]-j,D=E/2-A[b]/2+(O/2-P/2),z=o(T,i(D,M)),H=!c.arrow&&null!=d(l)&&D!==z&&s.reference[b]/2-(D<T?T:j)-A[b]/2<0,I=H?D<T?D-T:D-M:0;return{[v]:x[v]+I,data:{[v]:z,centerOffset:D-z-I,...H&&{alignmentOffset:I}},reset:H}}});var eh=e.i(364232),em="u">typeof document?n.useLayoutEffect:function(){};function ey(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(!ey(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)&&!ey(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eg(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ew(e,t){let n=eg(e);return Math.round(t*n)/n}function ex(e){let t=n.useRef(e);return em(()=>{t.current=e}),t}var ev=e.i(81137),eb=e.i(470698),eR=Object.defineProperty,eA=n.forwardRef(eR(function(e,t){let{children:n,width:r=10,height:i=5,...o}=e;return(0,eb.jsx)(ev.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eb.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),eC=e.i(976173),eS=e.i(464503),eO=e.i(228755),eP=e.i(587114);function ek(e){let[t,r]=n.useState(void 0);return(0,eP.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,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;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(0,Object.defineProperty)(ek,"name",{value:"useSize",configurable:!0});var eE=Object.defineProperty,eL=(e,t)=>eE(e,"name",{value:t,configurable:!0}),eT="Popper",[ej,eM]=(0,eS.createContextScope)(eT),[eD,ez]=ej(eT),eH=eL(e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null),[l,s]=n.useState(void 0);return(0,eb.jsx)(eD,{scope:t,anchor:i,onAnchorChange:o,placementState:l,setPlacementState:s,children:r})},"Popper"),eI=n.forwardRef(eL(function(e,t){let{__scopePopper:r,virtualRef:i,...o}=e,l=ez("PopperAnchor",r),s=n.useRef(null),a=l.onAnchorChange,f=n.useCallback(e=>{s.current=e,e&&a(e)},[a]),u=(0,eC.useComposedRefs)(t,f),c=n.useRef(null);n.useEffect(()=>{if(!i)return;let e=c.current;c.current=i.current,e!==c.current&&a(c.current)});let d=l.placementState&&eq(l.placementState),p=d?.[0],h=d?.[1];return i?null:(0,eb.jsx)(ev.Primitive.div,{"data-radix-popper-side":p,"data-radix-popper-align":h,...o,ref:u})},"PopperAnchor")),eN="PopperContent",[eF,eW]=ej(eN),e$=n.forwardRef(eL(function(e,t){var r,l,a,f,R,A,C,S,T,j,M,z,H;let I,N,F,W,$,B,{__scopePopper:V,side:_="bottom",sideOffset:Y=0,align:q="center",alignOffset:X=0,arrowPadding:U=0,avoidCollisions:K=!0,collisionBoundary:J=[],collisionPadding:Q=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:ei,...eo}
1=e,el=ez(eN,V),[es,ea]=n.useState(null),ef=(0,eC.useComposedRefs)(t,ea),[eu,eR]=n.useState(null),eA=ek(eu),eS=eA?.width??0,eE=eA?.height??0,eT="number"==typeof Q?Q:{top:0,right:0,bottom:0,left:0,...Q},ej=Array.isArray(J)?J:[J],eM=ej.length>0,eD={padding:eT,boundary:ej.filter(e_),altBoundary:eM},{refs:eH,floatingStyles:eI,placement:eW,isPositioned:e$,middlewareData:eB}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:s}={},transform:a=!0,whileElementsMounted:f,open:u}=e,[c,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=n.useState(i);ey(p,i)||h(i);let[m,y]=n.useState(null),[g,w]=n.useState(null),x=n.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),v=n.useCallback(e=>{e!==C.current&&(C.current=e,w(e))},[]),b=l||m,R=s||g,A=n.useRef(null),C=n.useRef(null),S=n.useRef(c),P=null!=f,k=ex(f),E=ex(o),L=ex(u),T=n.useCallback(()=>{var e,n;let i,o,l;if(!A.current||!C.current)return;let s={placement:t,strategy:r,middleware:p};E.current&&(s.platform=E.current),(e=A.current,n=C.current,i=new Map,l={...(o={platform:ec,...s}).platform,_c:i},O(e,n,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==L.current};j.current&&!ey(S.current,t)&&(S.current=t,eh.flushSync(()=>{d(t)}))})},[p,t,r,E,L]);em(()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let j=n.useRef(!1);em(()=>(j.current=!0,()=>{j.current=!1}),[]),em(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(k.current)return k.current(b,R,T);T()}},[b,R,T,k,P]);let M=n.useMemo(()=>({reference:A,floating:C,setReference:x,setFloating:v}),[x,v]),D=n.useMemo(()=>({reference:b,floating:R}),[b,R]),z=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!D.floating)return e;let t=ew(D.floating,c.x),n=ew(D.floating,c.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...eg(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,a,D.floating,c.x,c.y]);return n.useMemo(()=>({...c,update:T,refs:M,elements:D,floatingStyles:z}),[c,T,M,D,z])}({strategy:"fixed",placement:_+("center"!==q?"-"+q:""),whileElementsMounted:eL((...e)=>(function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=Z(e),h=a||f?[...p?G(p):[],...t?G(t):[]]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,r=null,l=D(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:y}=d;if(u||t(),!m||!y)return;let g={rootMargin:-s(h)+"px "+-s(l.clientWidth-(p+m))+"px "+-s(l.clientHeight-(h+y))+"px "+-s(p)+"px",threshold:o(0,i(1,c))||1},w=!0;function x(t){let r=t[0].intersectionRatio;if(r!==c){if(!w)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||ed(d,e.getBoundingClientRect())||f(),w=!1}try{r=new IntersectionObserver(x,{...g,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(x,g)}r.observe(e)}(!0),a}(p,n):null,y=-1,g=null;u&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),t&&g.observe(t));let w=d?er(e):null;return d&&function t(){let r=er(e);w&&!ed(w,r)&&n(),w=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}})(...e,{animationFrame:"always"===en}),"whileElementsMounted"),elements:{reference:el.anchor},middleware:[{name:(I={name:"offset",options:l=r={mainAxis:Y+eE,alignmentAxis:X},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:s}=e,a=await L(e,l);return o===(null==(t=s.offset)?void 0:t.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:o}}}}).name,fn:I.fn,options:[r,void 0]},K&&{name:(N={name:"shift",options:R=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(a=void 0,{options:a={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:s=!0,crossAxis:f=!0}=u(a,e),d={x:t,y:n},h=m(r),y=p(h),g=d[y],w=d[h],x=u(l,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){let e="y"===y?"height":"width",t=i.reference[y]-i.floating[e]+v.mainAxis,n=i.reference[y]+i.reference[e]-v.mainAxis;g<t?g=t:g>n&&(g=n)}if(f){var b,R;let e="y"===y?"width":"height",t=E.has(c(r)),n=i.reference[h]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[h])||0)+(t?0:v.crossAxis),l=i.reference[h]+i.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[h])||0)-(t?v.crossAxis:0);w<n?w=n:w>l&&(w=l)}return{[y]:g,[h]:w}}}).fn,options:[void 0,void 0]}:void 0,...eD},async fn(e){let{x:t,y:n,placement:r,platform:l}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=u(R,e),h={x:t,y:n},y=await l.detectOverflow(e,d),g=m(c(r)),w=p(g),x=h[w],v=h[g];if(s){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=x+y[e],r=x-y[t];x=o(n,i(x,r))}
1if(a){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=v+y[e],r=v-y[t];v=o(n,i(v,r))}let b=f.fn({...e,[w]:x,[g]:v});return{...b,data:{x:b.x-t,y:b.y-n,enabled:{[w]:s,[g]:a}}}}}).name,fn:N.fn,options:[f,void 0]},K&&{name:(F={name:"flip",options:C=A={...eD},async fn(e){var t,n,r,i,o,l,s,a;let f,R,A,{placement:S,middlewareData:O,rects:P,initialPlacement:k,platform:E,elements:L}=e,{mainAxis:T=!0,crossAxis:j=!0,fallbackPlacements:M,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:z="none",flipAlignment:H=!0,...I}=u(C,e);if(null!=(t=O.arrow)&&t.alignmentOffset)return{};let N=c(S),F=m(k),W=c(k)===k,$=await (null==E.isRTL?void 0:E.isRTL(L.floating)),B=M||(W||!H?[b(k)]:(f=b(k),[y(k),f,y(f)])),V="none"!==z;!M&&V&&B.push(...(R=d(k),A=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:g;return t?g:w;case"left":case"right":return t?x:v;default:return[]}}(c(k),"start"===z,$),R&&(A=A.map(e=>e+"-"+R),H&&(A=A.concat(A.map(y)))),A));let _=[k,...B],Y=await E.detectOverflow(e,I),q=[],X=(null==(n=O.flip)?void 0:n.overflows)||[];if(T&&q.push(Y[N]),j){let e,t,n,r,i=(l=S,s=P,void 0===(a=$)&&(a=!1),e=d(l),n=h(t=p(m(l))),r="x"===t?e===(a?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[n]>s.floating[n]&&(r=b(r)),[r,b(r)]);q.push(Y[i[0]],Y[i[1]])}if(X=[...X,{placement:S,overflows:q}],!q.every(e=>e<=0)){let e=((null==(r=O.flip)?void 0:r.index)||0)+1,t=_[e];if(t&&("alignment"!==j||F===m(t)||X.every(e=>m(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:X},reset:{placement:t}};let n=null==(i=X.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(D){case"bestFit":{let e=null==(o=X.filter(e=>{if(V){let t=m(e.placement);return t===F||"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:o[0];e&&(n=e);break}case"initialPlacement":n=k}if(S!==n)return{reset:{placement:n}}}return{}}}).name,fn:F.fn,options:[A,void 0]},{name:(W={name:"size",options:T=S={...eD,apply:eL(({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`)},"apply")},async fn(e){var t,n;let r,l,{placement:s,rects:a,platform:f,elements:p}=e,{apply:h=()=>{},...y}=u(T,e),g=await f.detectOverflow(e,y),w=c(s),x=d(s),v="y"===m(s),{width:b,height:R}=a.floating;"top"===w||"bottom"===w?(r=w,l=x===(await (null==f.isRTL?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(l=w,r="end"===x?"top":"bottom");let A=R-g.top-g.bottom,C=b-g.left-g.right,S=i(R-g[r],A),O=i(b-g[l],C),P=!e.middlewareData.shift,k=S,E=O;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=C),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(k=A),P&&!x){let e=o(g.left,0),t=o(g.right,0),n=o(g.top,0),r=o(g.bottom,0);v?E=b-2*(0!==e||0!==t?e+t:o(g.left,g.right)):k=R-2*(0!==n||0!==r?n+r:o(g.top,g.bottom))}await h({...e,availableWidth:E,availableHeight:k});let L=await f.getDimensions(p.floating);return b!==L.width||R!==L.height?{reset:{rects:!0}}:{}}}).name,fn:W.fn,options:[S,void 0]},eu&&{name:($={name:"arrow",options:M=j={element:eu,padding:U},fn(e){let{element:t,padding:n}="function"==typeof M?M(e):M;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ep({element:t.current,padding:n}).fn(e):{}:t?ep({element:t,padding:n}).fn(e):{}}}).name,fn:$.fn,options:[j,void 0]},eY({arrowWidth:eS,arrowHeight:eE}),et&&{name:(B={name:"hide",options:H=z={strategy:"referenceHidden",...eD,boundary:eM?eD.boundary:void 0},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=u(H,e);switch(r){case"referenceHidden":{let r=P(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:k(r)}}}case"escaped":{let r=P(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:k(r)}}}default:return{}}}}).name,fn:B.fn,options:[z,void 0]}]}),eV=el.setPlacementState;(0,eP.useLayoutEffect)(()=>(eV(eW),()=>{eV(void 0)}),[eW,eV]);let[eX,eU]=eq(eW),eK=(0,eO.useCallbackRef)(ei);(0,eP.useLayoutEffect)(()=>{e$&&eK?.()},[e$,eK]);let eG=eB.arrow?.x,eJ=eB.arrow?.y,eQ=eB.arrow?.centerOffset!==0,[eZ,e0]=n.useState();return(0,eP.useLayoutEffect)(()=>{es&&e0(window.getComputedStyle(es).zIndex)},[es]),(0,eb.jsx)("div",{ref:eH.setFloating,"data-radix-popper-content-wrapper":"",style:{...eI,transform:e$?eI.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eZ,"--radix-popper-transform-origin":[eB.transformOrigin?.x,eB.transformOrigin?.y].join(" "),...eB.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eb.jsx)(eF,{scope:V,placedSide:eX,placedAlign:eU,onArrowChange:eR,arrowX:eG,arrowY:eJ,shouldHideArrow:eQ,children:(0,eb.jsx)(ev.Primitive.div,{"data-side":eX,"data-align":eU,...eo,ref:ef,style:{...eo.style,animation:e$?eo.style?.animation:"none"}})})})},"PopperContent")),eB={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eV=n.forwardRef(eL(function(e,t){let{__scopePopper:n,...r}=e,i=eW("PopperArrow",n),o=eB[i.placedSide];return(0,eb.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,eb.jsx)(eA,{...r,ref:t,style:{...r.style,display:"block"}})})},"PopperArrow"));function e_(e){return null!==e}eL(e_,"isNotNull");var eY=eL(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,s=o?0:e.arrowHeight,[a,f]=eq(n),u={start:"0%",center:"50%",end:"100%"}[f],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+s/2,p="",h="";return"bottom"===a?(p=o?u:`${c}px`,h=`${-s}px`):"top"===a?(p=o?u:`${c}px`,h=`${r.floating.height+s}px`):"right"===a?(p=`${-s}px`,h=o?u:`${d}px`):"left"===a&&(p=`${r.floating.width+s}px`,h=o?u:`${d}px`),{data:{x:p,y:h}}}}),"transformOrigin");function eq(e){let[t,n="center"]=e.split("-");return[t,n]}eL(eq,"getSideAndAlignFromPlacement"),e.s(["Anchor",0,eI,"Arrow",0,eV,"Content",0,e$,"Root",0,eH,"createPopperScope",0,eM],470766)}]);
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.