1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82652,79040,67868,e=>{"use strict";var t,n,r,o,i,a=e.i(91788),s=e.i(36241);e.s(["useEventListener",0,function(e,t,n,r){let o=(0,s.useCallbackRef)(n);return(0,a.useEffect)(()=>{let i="function"==typeof e?e():e??document;if(n&&i)return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[t,e,r,o,n]),()=>{let n="function"==typeof e?e():e??document;n?.removeEventListener(t,o,r)}}],82652);var l=e.i(97325);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function c(e){var t=u(e).Element;return e instanceof t||e instanceof Element}function f(e){var t=u(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function p(e){if("u"<typeof ShadowRoot)return!1;var t=u(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var d=Math.max,m=Math.min,h=Math.round;function v(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function b(){return!/^((?!chrome|android).)*safari/i.test(v())}function g(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&h(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&h(r.height)/e.offsetHeight||1);var a=(c(e)?u(e):window).visualViewport,s=!b()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,d=r.width/o,m=r.height/i;return{width:d,height:m,top:p,right:l+d,bottom:p+m,left:l,x:l,y:p}}function w(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function y(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((c(e)?e.ownerDocument:e.document)||window.document).documentElement}function O(e){return g(x(e)).left+w(e).scrollLeft}function E(e){return u(e).getComputedStyle(e)}function j(e){var t=E(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function k(e){var t=g(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function C(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||x(e)}function R(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(y(t))>=0?t.ownerDocument.body:f(t)&&j(t)?t:e(C(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],j(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(R(C(a)))}function D(e){return f(e)&&"fixed"!==E(e).position?e.offsetParent:null}function S(e){for(var t=u(e),n=D(e);n&&["table","td","th"].indexOf(y(n))>=0&&"static"===E(n).position;)n=D(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===E(n).position)?t:n||function(e){var t=/firefox/i.test(v());if(/Trident/i.test(v())&&f(e)&&"fixed"===E(e).position)return null;var n=C(e);for(p(n)&&(n=n.host);f(n)&&0>["html","body"].indexOf(y(n));){var r=E(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var M="bottom",A="right",L="left",P="auto",T=["top",M,A,L],W="start",_="viewport",B="popper",z=T.reduce(function(e,t){return e.concat([t+"-"+W,t+"-end"])},[]),N=[].concat(T,[P]).reduce(function(e,t){return e.concat([t,t+"-"+W,t+"-end"])},[]),I=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function U(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function F(e,t,n){var r,o,i,a,s,l,f,p,m,h;return t===_?U(function(e,t){var n=u(e),r=x(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=b();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+O(e),y:l}}(e,n)):c(t)?((r=g(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.to
1p+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):U((o=x(e),a=x(o),s=w(o),l=null==(i=o.ownerDocument)?void 0:i.body,f=d(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),p=d(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),m=-s.scrollLeft+O(o),h=-s.scrollTop,"rtl"===E(l||a).direction&&(m+=d(a.clientWidth,l?l.clientWidth:0)-f),{width:f,height:p,x:m,y:h}))}function q(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function $(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function K(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?V(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case M:t={x:s,y:n.y+n.height};break;case A:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?$(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case W:t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function X(){return{top:0,right:0,bottom:0,left:0}}function Y(e){return Object.assign({},X(),e)}function Z(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function G(e,t){void 0===t&&(t={});var n,r,o,i,a,s,l,u,p=t,h=p.placement,v=void 0===h?e.placement:h,b=p.strategy,w=void 0===b?e.strategy:b,O=p.boundary,j=p.rootBoundary,k=p.elementContext,D=void 0===k?B:k,L=p.altBoundary,P=p.padding,W=void 0===P?0:P,z=Y("number"!=typeof W?W:Z(W,T)),N=e.rects.popper,I=e.elements[void 0!==L&&L?D===B?"reference":B:D],q=(n=c(I)?I:I.contextElement||x(e.elements.popper),r=void 0===O?"clippingParents":O,o=void 0===j?_:j,l=(s=[].concat("clippingParents"===r?(i=R(C(n)),!c(a=["absolute","fixed"].indexOf(E(n).position)>=0&&f(n)?S(n):n)?[]:i.filter(function(e){return c(e)&&H(e,a)&&"body"!==y(e)})):[].concat(r),[o]))[0],(u=s.reduce(function(e,t){var r=F(n,t,w);return e.top=d(r.top,e.top),e.right=m(r.right,e.right),e.bottom=m(r.bottom,e.bottom),e.left=d(r.left,e.left),e},F(n,l,w))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),V=g(e.elements.reference),$=K({reference:V,element:N,strategy:"absolute",placement:v}),X=U(Object.assign({},N,$)),G=D===B?X:V,J={top:q.top-G.top+z.top,bottom:G.bottom-q.bottom+z.bottom,left:q.left-G.left+z.left,right:G.right-q.right+z.right},Q=e.modifiersData.offset;if(D===B&&Q){var ee=Q[v];Object.keys(J).forEach(function(e){var t=[A,M].indexOf(e)>=0?1:-1,n=["top",M].indexOf(e)>=0?"y":"x";J[e]+=ee[n]*t})}return J}var J={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var ee={passive:!0},et={top:"auto",right:"auto",bottom:"auto",left:"auto"};function en(e){var t,n,r,o,i,a,s,l=e.popper,c=e.popperRect,f=e.placement,p=e.variation,d=e.offsets,m=e.position,v=e.gpuAcceleration,b=e.adaptive,g=e.roundOffsets,w=e.isFixed,y=d.x,O=void 0===y?0:y,j=d.y,k=void 0===j?0:j,C="function"==typeof g?g({x:O,y:k}):{x:O,y:k};O=C.x,k=C.y;var R=d.hasOwnProperty("x"),D=d.hasOwnProperty("y"),P=L,T="top",W=window;if(b){var _=S(l),B="clientHeight",z="clientWidth";_===u(l)&&"static"!==E(_=x(l)).position&&"absolute"===m&&(B="scrollHeight",z="scrollWidth"),("top"===f||(f===L||f===A)&&"end"===p)&&(T=M,k-=(w&&_===W&&W.visualViewport?W.visualViewport.height:_[B])-c.height,k*=v?1:-1),(f===L||("top"===f||f===M)&&"end"===p)&&(P=A,O-=(w&&_===W&&W.visualViewport?W.visualViewport.width:_[z])-c.width,O*=v?1:-1)}var N=Object.assign({position:m},b&&et),I=!0===g?(t={x:O,y:k},n=u(l),r=t.x,o=t.y,{x:h(r*(i=n.devicePixelRatio||1))/i||0,y:h(o*i)/i||0}):{x:O,y:k};return(O=I.x,k=I.y,v)?Object.assign({},N,((s={})[T]=D?"0":"",s[P]=R?"0":"",s.transform=1>=(W.devicePixelRatio||1)?"translate("+O+"px, "+k+"px)":"translate3d("+O+"px, "+k+"px, 0)",s)):Object.assign({},N,((a={})[T]=D?k+"px":"",a[P]=R?O+"px":"",a.transform="",a))}var er={left:"right",right:"left",bottom:"top",top:"bottom"};function eo(e){return e.replace(/left|right|bottom|top/g,function(e){return er[e]})}var ei={start:"end",end:"start"};function ea(e){return e.replace(/start|end/g,function(e){return ei[e]})}
1function es(e,t,n){return d(e,m(t,n))}function el(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",A,M,L].some(function(t){return e[t]>=0})}var ec=(r=void 0===(n=(t={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=u(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,ee)}),s&&l.addEventListener("resize",n.update,ee),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,ee)}),s&&l.removeEventListener("resize",n.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:q(t.placement),variation:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,en(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,en(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});f(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=N.reduce(function(e,n){var r,o,a,s,l,u;return e[n]=(r=t.rects,a=[L,"top"].indexOf(o=q(n))>=0?-1:1,l=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],l=l||0,u=(u||0)*a,[L,A].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,v=t.options.placement,b=q(v)===v,g=l||(b||!m?[eo(v)]:function(e){if(q(e)===P)return[];var t=eo(e);return[ea(e),t,ea(t)]}(v)),w=[v].concat(g).reduce(function(e,n){var r,o,i,a,s,l,p,d,v,b,g,w;return e.concat(q(n)===P?(o=(r={placement:n,boundary:c,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?N:p,0===(g=(b=(v=V(o))?l?z:z.filter(function(e){return V(e)===v}):T).filter(function(e){return d.indexOf(e)>=0})).length&&(g=b),Object.keys(w=g.reduce(function(e,n){return e[n]=G(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[q(n)],e},{})).sort(function(e,t){return w[e]-w[t]})):n)},[]),y=t.rects.reference,x=t.rects.popper,O=new Map,E=!0,j=w[0],k=0;k<w.length;k++){var C=w[k],R=q(C),D=V(C)===W,S=["top",M].indexOf(R)>=0,_=S?"width":"height",B=G(t,{placement:C,boundary:c,rootBoundary:f,altBoundary:p,padding:u}),I=S?D?A:L:D?M:"top";y[_]>x[_]&&(I=eo(I));var H=eo(I),U=[];if(i&&U.push(B[R]<=0),s&&U.push(B[I]<=0,B[H]<=0),U.every(function(e){return e})){j=C,E=!1;break}O.set(C,U)}if(E)for(var F=m?3:1,$=function(e){var t=w.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return j=t,"break"},K=F;K>0&&"break"!==$(K);K--);t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,l=n.altBoundary,u=n.padding,c=n.tether,f=void 0===c||c,p=n.tetherOffset,h=void 0===p?0:p,v=G(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:l}),b=q(t.placement),g=V(t.placement),w=!g,y=$(b),x="x"===y?"y":"x",O=t.modifiersData.popperOffsets,E=t.rects.reference,j=t.rects.popper,C="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,R="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(O){if(void 0===o||o){var T,_="y"===y?"top":L,B="y"===y?M:A,z="y"===y?"height":"width",N=O[y],I=N+v[_],H=N-v[B],U=f?-j[z]/2:0,F=g===W?E[z]:j[z],K=g===W?-j[z]:-E[z],Y=t.elements.arrow,Z=f&&Y?k(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:X(),Q=J[_],ee=J[B],et=es(0,E[z],Z[z]),en=w?E[z]/2-U-et-Q-R.mainAxis:F-et-Q-R.mainAxis,er=w?-E[z]/2+U+et+ee+R.mainAxis:K+et+ee+R.mainAxis,eo=t.elements.arrow&&S(t.elements.arrow),ei=eo?"y"===y?eo.clientTop||0:eo.clientLeft||0:0,ea=null!=(T=null==D?void 0:D[y])?T:0,el=es(f?m(I,N+en-ea-ei):I,N,f?d(H,N+er-ea):H);O[y]=el,P[y]=el-N}if(void 0!==i&&i){var eu,ec,ef="x"===y?"top":L,ep="x"===y?M:A,ed=O[x],em="y"===x?"height":"width",eh=ed+v[ef],ev=ed-v[ep],eb=-1!==["top",L].indexOf(b),eg=null!=(ec=null==D?void 0:D[x])?ec:0,ew=eb?eh:ed-E[em]-j[em]-eg+R.altAxis,ey=eb?ed+E[em]+j[em]-eg-R.altAxis:ev,ex=f&&eb?(eu=es(ew,ed,ey))>ey?ey:eu:es(f?ew:eh,ed,f?ey:ev);O[x]=ex,P[x]=ex-ed}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),l=$(s),u=[L,A].indexOf(s)>=0?"height":"width";if(i&&a){var c,f=(c=o.padding,Y("number"!=typeof(c="function"==typeof c?c(Object.assign({},n.rects,{placement:n.placement})):c)?c:Z(c,T))),p=k(i),d="y"===l?"top":L,m="y"===l?M:A,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],v=a[l]-n.rects.reference[l],b=S(i),g=b?"y"===l?b.clientHeight||0:b.clientWidth||0:0,w=f[d],y=g-p[u]-f[m],x=g/2-p[u]/2+(h/2-v/2),O=es(w,x,y);n.modifiersData[r]=((t={})[l]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null==r||("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&H(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
1cts.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=G(t,{elementContext:"reference"}),s=G(t,{altBoundary:!0}),l=el(a,r),u=el(s,o,i),c=eu(l),f=eu(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:n,i=void 0===(o=t.defaultOptions)?J:o,function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},J,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],p=!1,d={state:s,setOptions:function(n){var o,a,u,f,p,h,v="function"==typeof n?n(s.options):n;m(),s.options=Object.assign({},i,s.options,v),s.scrollParents={reference:c(e)?R(e):e.contextElement?R(e.contextElement):[],popper:R(t)};var b=(a=Object.keys(o=[].concat(r,s.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return o[e]}),u=new Map,f=new Set,p=[],a.forEach(function(e){u.set(e.name,e)}),a.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=u.get(t);n&&e(n)}}),p.push(t)}(e)}),h=p,I.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=b.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:s,name:t,instance:d,options:void 0===n?{}:n});l.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(Q(t,n)){s.rects={reference:(r=S(n),o="fixed"===s.options.strategy,i=f(r),m=f(r)&&(l=h((a=r.getBoundingClientRect()).width)/r.offsetWidth||1,c=h(a.height)/r.offsetHeight||1,1!==l||1!==c),v=x(r),b=g(t,m,o),E={scrollLeft:0,scrollTop:0},C={x:0,y:0},(i||!i&&!o)&&(("body"!==y(r)||j(v))&&(E=function(e){return e!==u(e)&&f(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:w(e)}(r)),f(r)?(C=g(r,!0),C.x+=r.clientLeft,C.y+=r.clientTop):v&&(C.x=O(v))),{x:b.left+E.scrollLeft-C.x,y:b.top+E.scrollTop-C.y,width:b.width,height:b.height}),popper:k(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r,o,i,a,l,c,m,v,b,E,C,R=0;R<s.orderedModifiers.length;R++){if(!0===s.reset){s.reset=!1,R=-1;continue}var D=s.orderedModifiers[R],M=D.fn,A=D.options,L=void 0===A?{}:A,P=D.name;"function"==typeof M&&(s=M({state:s,options:L,name:P,instance:d})||s)}}}},update:(o=function(){return new Promise(function(e){d.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){m(),p=!0}};if(!Q(e,t))return d;function m(){l.forEach(function(e){return e()}),l=[]}return d.setOptions(n).then(function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)}),d});let ef=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),ep={arrowShadowColor:ef("--popper-arrow-shadow-color"),arrowSize:ef("--popper-arrow-size","8px"),arrowSizeHalf:ef("--popper-arrow-size-half"),arrowBg:ef("--popper-arrow-bg"),transformOrigin:ef("--popper-transform-origin"),arrowOffset:ef("--popper-arrow-offset")};function ed(e){return e.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}let em={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},eh=e=>em[e],ev={scroll:!0,resize:!0};function eb(e){return"object"==typeof e?{enabled:!0,options:{...ev,...e}}:{enabled:e,options:ev}}e.s(["cssVars",0,ep,"getBoxShadow",0,ed,"getEventListenerOptions",0,eb,"toTransformOrigin",0,eh],79040);let eg={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{let t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},ew={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{ey(e)},effect:({state:e})=>()=>{ey(e)}},ey=e=>{e.elements.popper.style.setProperty(ep.transformOrigin.var,eh(e.placement))},ex={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{eO(e)}},eO=e=>{if(!e.placement)return;let t=eE(e.placement);if(e.elements?.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:ep.arrowSize.varRef,height:ep.arrowSize.varRef,zIndex:-1});let n={[ep.arrowSizeHalf.var]:`calc(${ep.arrowSize.varRef} / 2 - 1px)`,[ep.arrowOffset.var]:`calc(${ep.arrowSizeHalf.varRef} * -1)`};for(let t in n)e.elements.arrow.style.setProperty(t,n[t])}},eE=e=>e.startsWith("top")?{property:"bottom",value:ep.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:ep.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:ep.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:ep.arrowOffset.varRef}:void 0,ej={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{ek(e)},effect:({state:e})=>()=>{ek(e)}},ek=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let n=ed(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:ep.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},eC={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}}
1,eR={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};e.s(["usePopper",0,function(e={}){let{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:s=!0,offset:u,gutter:c=8,flip:f=!0,boundary:p="clippingParents",preventOverflow:d=!0,matchWidth:m,direction:h="ltr"}=e,v=(0,a.useRef)(null),b=(0,a.useRef)(null),g=(0,a.useRef)(null),w=function(e,t="ltr"){let n=eC[e]?.[t]||e;return"ltr"===t?n:eR[e]??n}(r,h),y=(0,a.useRef)(()=>{}),x=(0,a.useCallback)(()=>{t&&v.current&&b.current&&(y.current?.(),g.current=ec(v.current,b.current,{placement:w,modifiers:[ej,ex,ew,{...eg,enabled:!!m},{name:"eventListeners",...eb(s)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:u??[0,c]}},{name:"flip",enabled:!!f,options:{padding:8}},{name:"preventOverflow",enabled:!!d,options:{boundary:p}},...n??[]],strategy:o}),g.current.forceUpdate(),y.current=g.current.destroy)},[w,t,n,m,s,i,u,c,f,d,p,o]);(0,a.useEffect)(()=>()=>{v.current||b.current||(g.current?.destroy(),g.current=null)},[]);let O=(0,a.useCallback)(e=>{v.current=e,x()},[x]),E=(0,a.useCallback)((e={},t=null)=>({...e,ref:(0,l.mergeRefs)(O,t)}),[O]),j=(0,a.useCallback)(e=>{b.current=e,x()},[x]),k=(0,a.useCallback)((e={},t=null)=>({...e,ref:(0,l.mergeRefs)(j,t),style:{...e.style,position:o,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[o,j,m]),C=(0,a.useCallback)((e={},t=null)=>{let{size:n,shadowColor:r,bg:o,style:i,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:function(e){let{size:t,shadowColor:n,bg:r,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),n&&(i["--popper-arrow-shadow-color"]=n),r&&(i["--popper-arrow-bg"]=r),i}(e)}},[]),R=(0,a.useCallback)((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""}),[]);return{update(){g.current?.update()},forceUpdate(){g.current?.forceUpdate()},transformOrigin:ep.transformOrigin.varRef,referenceRef:O,popperRef:j,getPopperProps:k,getArrowProps:C,getArrowInnerProps:R,getReferenceProps:E}}],67868)},41224,e=>{"use strict";var t=e.i(91788);e.s(["useUpdateEffect",0,(e,n)=>{let r=(0,t.useRef)(!1),o=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(r.current&&o.current)return e();o.current=!0},n),(0,t.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}])},94270,e=>{"use strict";var t=e.i(91398),n=e.i(28683),r=e.i(13616),o=e.i(66657),i=e.i(33924),a=e.i(59621),s=e.i(91788),l=e.i(6112),u=e.i(36241);function c(e,t){let n=e.composedPath?.()[0]??e.target;return(!n||!!f(n).contains(n))&&!t.current?.contains(n)}function f(e){return e?.ownerDocument??document}e.i(17554);var p=e.i(97991);function d(e){return(0,p.isHTMLElement)(e)?e.ownerDocument:document}var m=e.i(83092),h=e.i(82652);e.i(51482);var v=e.i(41224),b=e.i(97325);e.i(3379);var g=e.i(88082),w=e.i(55902),y=e.i(82064);e.i(28996);var x=e.i(44028),O=e.i(67868),E=e.i(63614);let[j,k,C,R]=(0,x.createDescendantContext)(),[D,S]=(0,i.createContext)({strict:!1,name:"MenuContext"});function M(e){return e?.ownerDocument??document}function A(e){return function(e){var t;if(!(null!=(t=e)&&"object"==typeof t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE))return!1;let n=e.ownerDocument.defaultView??window;return e instanceof n.HTMLElement}(e)&&!!e?.getAttribute("role")?.startsWith("menuitem")}var L=e.i(16120),P=e.i(44180);let[T,W]=(0,i.createContext)({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),_=e=>{let{children:n}=e,r=(0,P.useMultiStyleConfig)("Menu",e),i=(0,o.omitThemingProps)(e),{direction:p}=(0,L.useTheme)(),{descendants:b,...g}=function(e={}){let{id:t,closeOnSelect:n=!0,closeOnBlur:r=!0,initialFocusRef:o,autoSelect:i=!0,isLazy:a,isOpen:p,defaultIsOpen:b,onClose:g,onOpen:w,placement:y="bottom-start",lazyBehavior:x="unmount",direction:E,computePositionOnMount:j=!1,...k}=e,R=(0,s.useRef)(null),D=(0,s.useRef)(null),S=(0,s.useRef)(!0),A=C(),L=(0,s.useCallback)(()=>{requestAnimationFrame(()=>{R.current?.focus({preventScroll:!1})})},[]),P=(0,s.useCallback)(()=>{let e=setTimeout(()=>{if(o)o.current?.focus();else if(A.count()){let e=A.firstEnabled();e&&U(e.index)}else R.current?.focus({preventScroll:!1})});
1K.current.add(e)},[A,o]),T=(0,s.useCallback)(()=>{let e=setTimeout(()=>{if(A.count()){let e=A.lastEnabled();e&&U(e.index)}else R.current?.focus({preventScroll:!1})});K.current.add(e)},[A]),W=(0,s.useCallback)(()=>{w?.(),i?P():L()},[i,P,L,w]),{isOpen:_,onOpen:B,onClose:z,onToggle:N}=(0,l.useDisclosure)({isOpen:p,defaultIsOpen:b,onClose:g,onOpen:W});!function(e){let{ref:t,handler:n,enabled:r=!0}=e,o=(0,u.useCallbackRef)(n),i=(0,s.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,s.useEffect)(()=>{if(!r)return;let e=e=>{c(e,t)&&(i.isPointerDown=!0)},a=e=>{if(i.ignoreEmulatedMouseEvents){i.ignoreEmulatedMouseEvents=!1;return}i.isPointerDown&&n&&c(e,t)&&(i.isPointerDown=!1,o(e))},s=e=>{i.ignoreEmulatedMouseEvents=!0,n&&i.isPointerDown&&c(e,t)&&(i.isPointerDown=!1,o(e))},l=f(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",a,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",s,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",a,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",s,!0)}},[n,t,o,i,r])}({enabled:_&&r,ref:R,handler:e=>{let t=e.composedPath?.()?.[0]??e.target;D.current?.contains(t)||z()}});let I=(0,O.usePopper)({...k,enabled:_||j,placement:y,direction:E}),[H,U]=(0,s.useState)(-1);!function(e,t){let{shouldFocus:n,visible:r,focusRef:o}=t,i=n&&!r;(0,v.useUpdateEffect)(()=>{let t;if(!i||function(e){let t=e.current;if(!t)return!1;let n=d(t).activeElement;return!(!n||t.contains(n))&&!!(0,m.isTabbable)(n)}(e))return;let n=o?.current||e.current;if(n)return t=requestAnimationFrame(()=>{n.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(t)}},[i,e,o])}(R,{focusRef:D,visible:_,shouldFocus:!0});let F=function(e){let{isOpen:t,ref:n}
1=e,[r,o]=(0,s.useState)(t),[i,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{i||(o(t),a(!0))},[t,i,r]),(0,h.useEventListener)(()=>n.current,"animationend",()=>{o(t)}),{present:!(!t&&!r),onComplete(){var e;let t=new(e=n.current,d(e)?.defaultView??window).CustomEvent("animationend",{bubbles:!0});n.current?.dispatchEvent(t)}}}({isOpen:_,ref:R}),[q,V]=function(e,...t){let n,r=(n=(0,s.useId)(),(0,s.useMemo)(()=>e||[void 0,n].filter(Boolean).join("-"),[e,void 0,n]));return(0,s.useMemo)(()=>t.map(e=>`${e}-${r}`),[r,t])}(t,"menu-button","menu-list"),$=(0,s.useCallback)(()=>{B(),L()},[B,L]),K=(0,s.useRef)(new Set([]));(0,s.useEffect)(()=>{let e=K.current;return()=>{e.forEach(e=>clearTimeout(e)),e.clear()}},[]),(0,v.useUpdateEffect)(()=>{_||(U(-1),R.current?.scrollTo(0,0))},[_]),(0,v.useUpdateEffect)(()=>{_&&-1===H&&L()},[H,_]),(0,s.useEffect)(()=>{if(!_)return;let e=A.item(H);e?.node?.focus({preventScroll:!S.current})},[A,H,_]);let X=(0,s.useCallback)(()=>{B(),P()},[P,B]);return{openAndFocusMenu:$,openAndFocusFirstItem:X,openAndFocusLastItem:(0,s.useCallback)(()=>{S.current=!0,B(),T()},[B,T]),onTransitionEnd:(0,s.useCallback)(()=>{let e=M(R.current),t=R.current?.contains(e.activeElement);if(!(_&&!t))return;let n=A.item(H)?.node;n?.focus({preventScroll:!S.current})},[_,H,A]),unstable__animationState:F,descendants:A,popper:I,buttonId:q,menuId:V,forceUpdate:I.force
1Update,orientation:"vertical",isOpen:_,onToggle:N,onOpen:B,onClose:z,menuRef:R,buttonRef:D,focusedIndex:H,closeOnSelect:n,closeOnBlur:r,autoSelect:i,setFocusedIndex:U,isLazy:a,lazyBehavior:x,initialFocusRef:o,scrollIntoViewRef:S}}({...i,direction:p}),w=(0,s.useMemo)(()=>g,[g]),{isOpen:y,onClose:x,forceUpdate:E}=w;return(0,t.jsx)(j,{value:b,children:(0,t.jsx)(D,{value:w,children:(0,t.jsx)(T,{value:r,children:(0,a.runIfFn)(n,{isOpen:y,onClose:x,forceUpdate:E})})})})};_.displayName="Menu";var B=e.i(70645),z=e.i(16912),N=e.i(58003);let I=(0,z.forwardRef)((e,n)=>{let r=W();return(0,t.jsx)(N.chakra.button,{ref:n,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...r.button}})}),H=(0,z.forwardRef)((e,n)=>{let{children:r,as:o,...i}=e,a=function(e={},t=null){let n=S(),{onToggle:r,popper:o,openAndFocusFirstItem:i,openAndFocusLastItem:a,scrollIntoViewRef:l}=n,u=(0,s.useCallback)(e=>{let t={Enter:i,ArrowDown:i,ArrowUp:a}[e.key];t&&(l.current=!0,e.preventDefault(),e.stopPropagation(),t(e))},[i,a,l]);return{...e,ref:(0,b.mergeRefs)(n.buttonRef,t,o.referenceRef),id:n.buttonId,"data-active":(0,g.dataAttr)(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:(0,w.callAllHandlers)(e.onClick,r),onKeyDown:(0,w.callAllHandlers)(e.onKeyDown,u)}}(i,n);return(0,t.jsx)(o||I,{...a,className:(0,B.cx)("chakra-menu__menu-button",e.className),children:(0,t.jsx)(N.chakra.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});H.displayName="MenuButton";let U=(0,z.forwardRef)((e,n)=>{let r=W();return(0,t.jsx)(N.chakra.span,{ref:n,...e,__css:r.command,className:"chakra-menu__command"})});U.displayName="MenuCommand";let F=e=>{let{className:n,children:r,...o}=e,i=W(),a=s.Children.only(r),l=(0,s.isValidElement)(a)?(0,s.cloneElement)(a,{focusable:"false","aria-hidden":!0,className:(0,B.cx)("chakra-menu__icon",a.props.className)}):null,u=(0,B.cx)("chakra-menu__icon-wrapper",n);return(0,t.jsx)(N.chakra.span,{className:u,...o,__css:i.icon,children:l})};F.displayName="MenuIcon";let q=(0,z.forwardRef)((e,n)=>{let{type:r,...o}=e,i=W(),a=o.as||r?r??void 0:"button",l=(0,s.useMemo)(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...i.item}),[i.item]);return(0,t.jsx)(N.chakra.button,{ref:n,type:a,...o,__css:l})}),V=(0,z.forwardRef)((e,n)=>{let{icon:r,iconSpacing:o="0.75rem",command:i,commandSpacing:a="0.75rem",children:l,...u}=e,c=function(e={},t=null){let{onMouseEnter:n,onMouseMove:r,onMouseLeave:o,onClick:i,onFocus:a,isDisabled:l,isFocusable:u,closeOnSelect:c,type:f,...p}=e,{setFocusedIndex:d,focusedIndex:m,closeOnSelect:h,onClose:v,menuId:g,scrollIntoViewRef:w}=S(),y=(0,s.useRef)(null),x=`${g}-menuitem-${(0,s.useId)()}`,{index:O,register:j}=R({disabled:l&&!u}),k=(0,s.useCallback)(e=>{n?.(e),l||(w.current=!1,d(O))},[d,O,l,n,w]),C=(0,s.useCallback)(e=>{var t;r?.(e),y.current&&M(t=y.current).activeElement!==t&&k(e)},[k,r]),D=(0,s.useCallback)(e=>{o?.(e),l||d(-1)},[d,l,o]),L=(0,s.useCallback)(e=>{i?.(e),A(e.currentTarget)&&(c??h)&&v()},[v,i,h,c]),P=(0,s.useCallback)(e=>{a?.(e),d(O)},[d,a,O]),T=O===m,W=(0,E.useClickable)({onClick:L,onFocus:P,onMouseEnter:k,onMouseMove:C,onMouseLeave:D,ref:(0,b.mergeRefs)(j,y,t),isDisabled:l,isFocusable:u});return{...p,...W,type:f??W.type,id:x,role:"menuitem",tabIndex:T?0:-1}}(u,n),f=r||i?(0,t.jsx)("span",{style:{pointerEvents:"none",flex:1},children:l}):l;return(0,t.jsxs)(q,{...c,className:(0,B.cx)("chakra-menu__menuitem",c.className),children:[r&&(0,t.jsx)(F,{fontSize:"0.8em",marginEnd:o,children:r}),f,i&&(0,t.jsx)(U,{marginStart:a,children:i})]})});V.displayName="MenuItem";var $=e.i(11829);let K={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},X=(0,N.chakra)($.motion.div),Y=(0,z.forwardRef)(function(e,n){let{rootProps:r,motionProps:o,...i}=e,{isOpen:a,onTransitionEnd:l,unstable__animationState:u}=S(),c=function(e={},t=null){let n=S();if(!n)throw Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");let{focusedIndex:r,setFocusedIndex:o,menuRef:i,isOpen:a,onClose:l,menuId:u,isLazy:c,lazyBehavior:f,scrollIntoViewRef:p,unstable__animationState:d}=n,m=k(),h=function(e={}){let{timeout:t=300,preventDefault:n=()=>!0}
1=e,[r,o]=(0,s.useState)([]),i=(0,s.useRef)(void 0),a=()=>{i.current&&(clearTimeout(i.current),i.current=null)};return(0,s.useEffect)(()=>a,[]),function(e){return s=>{if("Backspace"===s.key){let e=[...r];e.pop(),o(e);return}if(function(e){let{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(s)){let l=r.concat(s.key);n(s)&&(s.preventDefault(),s.stopPropagation()),o(l),e(l.join("")),a(),i.current=setTimeout(()=>{o([]),i.current=null},t)}}}}({preventDefault:e=>" "!==e.key&&A(e.target)}),v=(0,s.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t={Tab:e=>e.preventDefault(),Escape:e=>{e.stopPropagation(),l()},ArrowDown:()=>{p.current=!0;let e=m.nextEnabled(r)??m.firstEnabled();e&&o(e.index)},ArrowUp:()=>{p.current=!0;let e=m.prevEnabled(r)??m.firstEnabled();e&&o(e.index)}}[e.key];if(t){e.preventDefault(),t(e);return}let n=h(e=>{let t=function(e,t,n,r){if(null==t)return r;if(!r)return e.find(e=>n(e).toLowerCase().startsWith(t.toLowerCase()));let o=e.filter(e=>n(e).toLowerCase().startsWith(t.toLowerCase()));if(o.length>0){let t;return o.includes(r)?((t=o.indexOf(r)+1)===o.length&&(t=0),o[t]):(t=e.indexOf(o[0]),e[t])}return r}(m.values(),e,e=>e?.node?.textContent??"",m.item(r));t&&o(m.indexOf(t.node))});A(e.target)&&n(e)},[m,r,h,l,o,p]),g=(0,s.useRef)(!1);a&&(g.current=!0);let x=(0,y.lazyDisclosure)({wasSelected:g.current,enabled:c,mode:f,isSelected:d.present});return{...e,ref:(0,b.mergeRefs)(i,t),children:x?e.children:null,tabIndex:-1,role:"menu",id:u,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:(0,w.callAllHandlers)(e.onKeyDown,v)}}(i,n),f=function(e={}){let{popper:t,isOpen:n}=S();return t.getPopperProps({...e,style:{visibility:n?"visible":"hidden",...e.style}})}(r),p=W();return(0,t.jsx)(N.chakra.div,{...f,__css:{zIndex:e.zIndex??p.list?.zIndex},children:(0,t.jsx)(X,{variants:K,initial:!1,animate:a?"enter":"exit",__css:{outline:0,...p.list},...o,...c,className:(0,B.cx)("chakra-menu__menu-list",c.className),onUpdate:l,onAnimationComplete:(0,w.callAll)(u.onComplete,c.onAnimationComplete)})})});Y.displayName="MenuList";var Z=e.i(47349),G=e.i(87527),J=e.i(41158),Q=e.i(58021),ee=e.i(47727),et=e.i(3002);e.s(["Dropdown",0,({options:e,label:o,name:i,placeholder:a="List",labelPosition:l="top",size:u="md",callbackFn:c,variant:f="normal",colorScheme:p,isLoading:d,isDisabled:m,dropdownValue:h,labelProps:v,...b})=>{let g=(0,s.useMemo)(()=>["md"].includes(u)||"secondary"===f?230:"tertiary"===f?300:110,[u,f]),w=(0,s.useRef)(null),{setValue:y,watch:x}=Q.useFormContext?.()||{},O=x?.()[i]||h,E=(0,s.useMemo)(()=>(e||[]).find(e=>String(e?.value)===String(O)),[e,O]),j=(0,s.useCallback)(({value:e})=>e&&E?.value&&e===E.value,[E]);return(0,t.jsxs)(r.Flex,{w:{base:"full",md:"unset"},gap:8,direction:"top"===l?"column":"row",align:"left"===l?"center":"flex-start",children:[!!o&&(0,t.jsx)(G.Text,{size:"labelSUppercase",fontWeight:700,color:"brand.darkLilac",...v,children:o}),(0,t.jsx)(r.Flex,{w:{base:"full",md:"unset"},position:"relative",minW:g,children:(0,t.jsx)(_,{size:u,...b,matchWidth:!0,variant:f,placement:"bottom-start",colorScheme:p,closeOnBlur:!0,initialFocusRef:w,children:({isOpen:o})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(H,{type:"button",disabled:!e?.length||m,children:[(0,t.jsxs)(n.Box,{as:"span",display:"flex",alignItems:"center",children:[E?.logo&&(0,t.jsx)(r.Flex,{minW:50,h:27,flexDirection:"column",justifyContent:"center",mr:27,children:(0,t.jsx)(et.Image,{...E.logo,alt:E?.label,unoptimized:!0})}),d?(0,t.jsx)(Z.Spinner,{size:"xl"}):(0,t.jsx)(n.Box,{as:"h3",isTruncated:!E?.logo,children:E?.label||a})]}),(0,t.jsx)(ee.Icon,{size:"lg",name:"normal"===f?"chevronUpBig":"chevronUpOutlined",transform:`rotate(${o?"0":"180deg"})`,transition:"transform 0.3s"})]}),!!e?.length&&(0,t.jsx)(Y,{left:0,w:"full",children:e?.map((e,n)=>{let o=j(e);return(0,t.jsxs)(V,{onClick:()=>{(({value:e})=>{y?.(i,e),c&&c(Number(e))})(e)},...o&&{ref:w,"data-selected":""},...e?.href&&{as:J.default,href:e?.href},children:[e?.logo&&(0,t.jsx)(r.Flex,{minW:50,h:27,flexDirection:"column",justifyContent:"center",mr:27,children:(0,t.jsx)(et.Image,{...e?.logo,alt:e.label,unoptimized:!0})}),e?.label]},`menu-item-${n}`)})})]})})})]})}],94270)}]);
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.