"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84302],{174435:(e,t,n)=>{var r=n(330633),i=n(397845),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=i.useSyncExternalStore,u=r.useRef,f=r.useEffect,s=r.useMemo,a=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var c=u(null);if(null===c.current){var p={hasValue:!1,value:null};c.current=p}else p=c.current;var h=l(e,(c=s(function(){function e(e){if(!f){if(f=!0,l=e,e=r(e),void 0!==i&&p.hasValue){var t=p.value;if(i(t,e))return u=t}return u=e}if(t=u,o(l,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(l=e,t):(l=e,u=n)}var l,u,f=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,n,r,i]))[0],c[1]);return f(function(){p.hasValue=!0,p.value=h},[h]),a(h),h}},295175:(e,t,n)=>{n.d(t,{B1:()=>P,C0:()=>h,Dz:()=>x,Jx:()=>f,LI:()=>l,PG:()=>g,RI:()=>u,Sg:()=>d,T9:()=>o,TV:()=>v,WJ:()=>b,_3:()=>p,bV:()=>k,jk:()=>i,lP:()=>A,nI:()=>O,qE:()=>c,r_:()=>r,sq:()=>y,w7:()=>w});let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,u=Math.floor,f=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function c(e,t,n){return o(e,i(t,n))}function p(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function v(e){return m.has(h(e))?"y":"x"}function x(e){return g(v(e))}function w(e,t,n){void 0===n&&(n=!1);let r=d(e),i=x(e),o=y(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=k(l)),[l,k(l)]}function b(e){let t=k(e);return[R(e),t,R(t)]}function R(e){return e.replace(/start|end/g,e=>a[e])}let T=["left","right"],L=["right","left"],C=["top","bottom"],E=["bottom","top"];function A(e,t,n,r){let i=d(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?L:T;return t?T:L;case"left":case"right":return t?C:E;default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(R)))),o}function k(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function O(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function P(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}}},416443:(e,t,n)=>{e.exports=n(174435)},792309:(e,t,n)=>{n.d(t,{BN:()=>h,ER:()=>d,Ej:()=>y,UU:()=>g,cY:()=>p,jD:()=>m,we:()=>c});var r=n(924969),i=n(330633),o=n(197920),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function u(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(!u(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)&&!u(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function f(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=f(e);return Math.round(t*n)/n}function a(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function c(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:c=[],platform:p,elements:{reference:h,floating:d}={},transform:g=!0,whileElementsMounted:y,open:m}=e,[v,x]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,b]=i.useState(c);u(w,c)||b(c);let[R,T]=i.useState(null),[L,C]=i.useState(null),E=i.useCallback(e=>{e!==P.current&&(P.current=e,T(e))},[]),A=i.useCallback(e=>{e!==j.current&&(j.current=e,C(e))},[]),k=h||R,O=d||L,P=i.useRef(null),j=i.useRef(null),S=i.useRef(v),D=null!=y,_=a(y),V=a(p),q=a(m),W=i.useCallback(()=>{if(!P.current||!j.current)return;let e={placement:t,strategy:n,middleware:w};V.current&&(e.platform=V.current),(0,r.rD)(P.current,j.current,e).then(e=>{let t={...e,isPositioned:!1!==q.current};z.current&&!u(S.current,t)&&(S.current=t,o.flushSync(()=>{x(t)}))})},[w,t,n,V,q]);l(()=>{!1===m&&S.current.isPositioned&&(S.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[m]);let z=i.useRef(!1);l(()=>(z.current=!0,()=>{z.current=!1}),[]),l(()=>{if(k&&(P.current=k),O&&(j.current=O),k&&O){if(_.current)return _.current(k,O,W);W()}},[k,O,W,_,D]);let B=i.useMemo(()=>({reference:P,floating:j,setReference:E,setFloating:A}),[E,A]),I=i.useMemo(()=>({reference:k,floating:O}),[k,O]),M=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!I.floating)return e;let t=s(I.floating,v.x),r=s(I.floating,v.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...f(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,g,I.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:W,refs:B,elements:I,floatingStyles:M}),[v,W,B,I,M])}let p=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),d=(e,t)=>({...(0,r.ER)(e),options:[e,t]}),g=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),m=(e,t)=>({...(0,r.jD)(e),options:[e,t]})},924969:(e,t,n)=>{n.d(t,{ll:()=>k,rD:()=>V,UU:()=>j,jD:()=>D,ER:()=>_,cY:()=>O,BN:()=>P,Ej:()=>S});var r=n(295175);function i(e,t,n){let i,{reference:o,floating:l}=e,u=(0,r.TV)(t),f=(0,r.Dz)(t),s=(0,r.sq)(f),a=(0,r.C0)(t),c="y"===u,p=o.x+o.width/2-l.width/2,h=o.y+o.height/2-l.height/2,d=o[s]/2-l[s]/2;switch(a){case"top":i={x:p,y:o.y-l.height};break;case"bottom":i={x:p,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:h};break;case"left":i={x:o.x-l.width,y:h};break;default:i={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":i[f]-=d*(n&&c?-1:1);break;case"end":i[f]+=d*(n&&c?-1:1)}return i}let o=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:l=[],platform:u}=n,f=l.filter(Boolean),s=await (null==u.isRTL?void 0:u.isRTL(t)),a=await u.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:p}=i(a,r,s),h=r,d={},g=0;for(let n=0;ne[t]>=0)}let s=new Set(["left","top"]);async function a(e,t){let{placement:n,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),u=(0,r.C0)(n),f=(0,r.Sg)(n),a="y"===(0,r.TV)(n),c=s.has(u)?-1:1,p=l&&a?-1:1,h=(0,r._3)(t,e),{mainAxis:d,crossAxis:g,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return f&&"number"==typeof y&&(g="end"===f?-1*y:y),a?{x:g*p,y:d*c}:{x:d*c,y:g*p}}var c=n(478761);function p(e){let t=(0,c.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,o=(0,c.sb)(e),l=o?e.offsetWidth:n,u=o?e.offsetHeight:i,f=(0,r.LI)(n)!==l||(0,r.LI)(i)!==u;return f&&(n=l,i=u),{width:n,height:i,$:f}}function h(e){return(0,c.vq)(e)?e:e.contextElement}function d(e){let t=h(e);if(!(0,c.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:i,height:o,$:l}=p(t),u=(l?(0,r.LI)(n.width):n.width)/i,f=(l?(0,r.LI)(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),f&&Number.isFinite(f)||(f=1),{x:u,y:f}}let g=(0,r.Jx)(0);function y(e){let t=(0,c.zk)(e);return(0,c.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:g}function m(e,t,n,i){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),u=h(e),f=(0,r.Jx)(1);t&&(i?(0,c.vq)(i)&&(f=d(i)):f=d(e));let s=(void 0===(o=n)&&(o=!1),i&&(!o||i===(0,c.zk)(u))&&o)?y(u):(0,r.Jx)(0),a=(l.left+s.x)/f.x,p=(l.top+s.y)/f.y,g=l.width/f.x,m=l.height/f.y;if(u){let e=(0,c.zk)(u),t=i&&(0,c.vq)(i)?(0,c.zk)(i):i,n=e,r=(0,c._m)(n);for(;r&&i&&t!==n;){let e=d(r),t=r.getBoundingClientRect(),i=(0,c.L9)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;a*=e.x,p*=e.y,g*=e.x,m*=e.y,a+=o,p+=l,n=(0,c.zk)(r),r=(0,c._m)(n)}}return(0,r.B1)({width:g,height:m,x:a,y:p})}function v(e,t){let n=(0,c.CP)(e).scrollLeft;return t?t.left+n:m((0,c.ep)(e)).left+n}function x(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-v(e,n),y:n.top+t.scrollTop}}let w=new Set(["absolute","fixed"]);function b(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,c.zk)(e),r=(0,c.ep)(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,u=0,f=0;if(i){o=i.width,l=i.height;let e=(0,c.Tc)();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,f=i.offsetTop)}let s=v(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:u,y:f}}(e,n);else if("document"===t)i=function(e){let t=(0,c.ep)(e),n=(0,c.CP)(e),i=e.ownerDocument.body,o=(0,r.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=(0,r.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),u=-n.scrollLeft+v(e),f=-n.scrollTop;return"rtl"===(0,c.L9)(i).direction&&(u+=(0,r.T9)(t.clientWidth,i.clientWidth)-o),{width:o,height:l,x:u,y:f}}((0,c.ep)(e));else if((0,c.vq)(t))i=function(e,t){let n=m(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,l=(0,c.sb)(e)?d(e):(0,r.Jx)(1),u=e.clientWidth*l.x,f=e.clientHeight*l.y;return{width:u,height:f,x:o*l.x,y:i*l.y}}(t,n);else{let n=y(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(i)}function R(e){return"static"===(0,c.L9)(e).position}function T(e,t){if(!(0,c.sb)(e)||"fixed"===(0,c.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.ep)(e)===n&&(n=n.ownerDocument.body),n}function L(e,t){let n=(0,c.zk)(e);if((0,c.Tf)(e))return n;if(!(0,c.sb)(e)){let t=(0,c.$4)(e);for(;t&&!(0,c.eu)(t);){if((0,c.vq)(t)&&!R(t))return t;t=(0,c.$4)(t)}return n}let r=T(e,t);for(;r&&(0,c.Lv)(r)&&R(r);)r=T(r,t);return r&&(0,c.eu)(r)&&R(r)&&!(0,c.sQ)(r)?n:r||(0,c.gJ)(e)||n}let C=async function(e){let t=this.getOffsetParent||L,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,c.sb)(t),o=(0,c.ep)(t),l="fixed"===n,u=m(e,!0,l,t),f={scrollLeft:0,scrollTop:0},s=(0,r.Jx)(0);if(i||!i&&!l)if(("body"!==(0,c.mq)(t)||(0,c.ZU)(o))&&(f=(0,c.CP)(t)),i){let e=m(t,!0,l,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=v(o));l&&!i&&o&&(s.x=v(o));let a=!o||i||l?(0,r.Jx)(0):x(o,f);return{x:u.left+f.scrollLeft-s.x-a.x,y:u.top+f.scrollTop-s.y-a.y,width:u.width,height:u.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},E={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e,l="fixed"===o,u=(0,c.ep)(i),f=!!t&&(0,c.Tf)(t.floating);if(i===u||f&&l)return n;let s={scrollLeft:0,scrollTop:0},a=(0,r.Jx)(1),p=(0,r.Jx)(0),h=(0,c.sb)(i);if((h||!h&&!l)&&(("body"!==(0,c.mq)(i)||(0,c.ZU)(u))&&(s=(0,c.CP)(i)),(0,c.sb)(i))){let e=m(i);a=d(i),p.x=e.x+i.clientLeft,p.y=e.y+i.clientTop}let g=!u||h||l?(0,r.Jx)(0):x(u,s);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-s.scrollLeft*a.x+p.x+g.x,y:n.y*a.y-s.scrollTop*a.y+p.y+g.y}},getDocumentElement:c.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,l=[..."clippingAncestors"===n?(0,c.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,c.v9)(e,[],!1).filter(e=>(0,c.vq)(e)&&"body"!==(0,c.mq)(e)),i=null,o="fixed"===(0,c.L9)(e).position,l=o?(0,c.$4)(e):e;for(;(0,c.vq)(l)&&!(0,c.eu)(l);){let t=(0,c.L9)(l),n=(0,c.sQ)(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&w.has(i.position)||(0,c.ZU)(l)&&!n&&function e(t,n){let r=(0,c.$4)(t);return!(r===n||!(0,c.vq)(r)||(0,c.eu)(r))&&("fixed"===(0,c.L9)(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=(0,c.$4)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),i],u=l[0],f=l.reduce((e,n)=>{let i=b(t,n,o);return e.top=(0,r.T9)(i.top,e.top),e.right=(0,r.jk)(i.right,e.right),e.bottom=(0,r.jk)(i.bottom,e.bottom),e.left=(0,r.T9)(i.left,e.left),e},b(t,u,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},getOffsetParent:L,getElementRects:C,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=p(e);return{width:t,height:n}},getScale:d,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function A(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function k(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,p=h(e),d=l||u?[...p?(0,c.v9)(p):[],...(0,c.v9)(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let g=p&&s?function(e,t){let n,i=null,o=(0,c.ep)(e);function l(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function u(f,s){void 0===f&&(f=!1),void 0===s&&(s=1),l();let a=e.getBoundingClientRect(),{left:c,top:p,width:h,height:d}=a;if(f||t(),!h||!d)return;let g=(0,r.RI)(p),y=(0,r.RI)(o.clientWidth-(c+h)),m={rootMargin:-g+"px "+-y+"px "+-(0,r.RI)(o.clientHeight-(p+d))+"px "+-(0,r.RI)(c)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,s))||1},v=!0;function x(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||A(a,e.getBoundingClientRect())||u(),v=!1}try{i=new IntersectionObserver(x,{...m,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(x,m)}i.observe(e)}(!0),l}(p,n):null,y=-1,v=null;f&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!a&&v.observe(p),v.observe(t));let x=a?m(e):null;return a&&function t(){let r=m(e);x&&!A(x,r)&&n(),x=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,a&&cancelAnimationFrame(o)}}let O=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:u}=t,f=await a(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}},P=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:o}=t,{mainAxis:u=!0,crossAxis:f=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=(0,r._3)(e,t),c={x:n,y:i},p=await l(t,a),h=(0,r.TV)((0,r.C0)(o)),d=(0,r.PG)(h),g=c[d],y=c[h];if(u){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=g+p[e],i=g-p[t];g=(0,r.qE)(n,g,i)}if(f){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=y+p[e],i=y-p[t];y=(0,r.qE)(n,y,i)}let m=s.fn({...t,[d]:g,[h]:y});return{...m,data:{x:m.x-n,y:m.y-i,enabled:{[d]:u,[h]:f}}}}}},j=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,u,f;let{placement:s,middlewareData:a,rects:c,initialPlacement:p,platform:h,elements:d}=t,{mainAxis:g=!0,crossAxis:y=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:w=!0,...b}=(0,r._3)(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let R=(0,r.C0)(s),T=(0,r.TV)(p),L=(0,r.C0)(p)===p,C=await (null==h.isRTL?void 0:h.isRTL(d.floating)),E=m||(L||!w?[(0,r.bV)(p)]:(0,r.WJ)(p)),A="none"!==x;!m&&A&&E.push(...(0,r.lP)(p,w,x,C));let k=[p,...E],O=await l(t,b),P=[],j=(null==(i=a.flip)?void 0:i.overflows)||[];if(g&&P.push(O[R]),y){let e=(0,r.w7)(s,c,C);P.push(O[e[0]],O[e[1]])}if(j=[...j,{placement:s,overflows:P}],!P.every(e=>e<=0)){let e=((null==(o=a.flip)?void 0:o.index)||0)+1,t=k[e];if(t&&("alignment"!==y||T===(0,r.TV)(t)||j.every(e=>(0,r.TV)(e.placement)!==T||e.overflows[0]>0)))return{data:{index:e,overflows:j},reset:{placement:t}};let n=null==(u=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:u.placement;if(!n)switch(v){case"bestFit":{let e=null==(f=j.filter(e=>{if(A){let t=(0,r.TV)(e.placement);return t===T||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:f[0];e&&(n=e);break}case"initialPlacement":n=p}if(s!==n)return{reset:{placement:n}}}return{}}}},S=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let o,u,{placement:f,rects:s,platform:a,elements:c}=t,{apply:p=()=>{},...h}=(0,r._3)(e,t),d=await l(t,h),g=(0,r.C0)(f),y=(0,r.Sg)(f),m="y"===(0,r.TV)(f),{width:v,height:x}=s.floating;"top"===g||"bottom"===g?(o=g,u=y===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(u=g,o="end"===y?"top":"bottom");let w=x-d.top-d.bottom,b=v-d.left-d.right,R=(0,r.jk)(x-d[o],w),T=(0,r.jk)(v-d[u],b),L=!t.middlewareData.shift,C=R,E=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(E=b),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(C=w),L&&!y){let e=(0,r.T9)(d.left,0),t=(0,r.T9)(d.right,0),n=(0,r.T9)(d.top,0),i=(0,r.T9)(d.bottom,0);m?E=v-2*(0!==e||0!==t?e+t:(0,r.T9)(d.left,d.right)):C=x-2*(0!==n||0!==i?n+i:(0,r.T9)(d.top,d.bottom))}await p({...t,availableWidth:E,availableHeight:C});let A=await a.getDimensions(c.floating);return v!==A.width||x!==A.height?{reset:{rects:!0}}:{}}}},D=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...o}=(0,r._3)(e,t);switch(i){case"referenceHidden":{let e=u(await l(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:f(e)}}}case"escaped":{let e=u(await l(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:f(e)}}}default:return{}}}}},_=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:o,rects:l,middlewareData:u}=t,{offset:f=0,mainAxis:a=!0,crossAxis:c=!0}=(0,r._3)(e,t),p={x:n,y:i},h=(0,r.TV)(o),d=(0,r.PG)(h),g=p[d],y=p[h],m=(0,r._3)(f,t),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){let e="y"===d?"height":"width",t=l.reference[d]-l.floating[e]+v.mainAxis,n=l.reference[d]+l.reference[e]-v.mainAxis;gn&&(g=n)}if(c){var x,w;let e="y"===d?"width":"height",t=s.has((0,r.C0)(o)),n=l.reference[h]-l.floating[e]+(t&&(null==(x=u.offset)?void 0:x[h])||0)+(t?0:v.crossAxis),i=l.reference[h]+l.reference[e]+(t?0:(null==(w=u.offset)?void 0:w[h])||0)-(t?v.crossAxis:0);yi&&(y=i)}return{[d]:g,[h]:y}}}},V=(e,t,n)=>{let r=new Map,i={platform:E,...n},l={...i.platform,_c:r};return o(e,t,{...i,platform:l})}},941644:(e,t,n)=>{n.d(t,{Ad:()=>L,i5:()=>w});var r=Symbol("NOT_FOUND"),i=e=>Array.isArray(e)?e:[e],o=0,l=null,u=class{revision=o;_value;_lastValue;_isEqual=f;constructor(e,t=f){this._value=this._lastValue=e,this._isEqual=t}get value(){return l?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++o)}};function f(e,t){return e===t}function s(e){return e instanceof u||console.warn("Not a valid cell! ",e),e.value}var a=(e,t)=>!1;function c(){return function(e,t=f){return new u(null,t)}(0,a)}var p=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=c()),s(t)};Symbol();var h=0,d=Object.getPrototypeOf({}),g=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,y);tag=c();tags={};children={};collectionTag=null;id=h++},y={get:(e,t)=>(function(){let{value:n}=e,r=Reflect.get(n,t);if("symbol"==typeof t||t in d)return r;if("object"==typeof r&&null!==r){let n=e.children[t];return void 0===n&&(n=e.children[t]=function(e){return Array.isArray(e)?new m(e):new g(e)}(r)),n.tag&&s(n.tag),n.proxy}{let n=e.tags[t];return void 0===n&&((n=e.tags[t]=c()).value=r),s(n),r}})(),ownKeys:e=>(p(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},m=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],v);tag=c();tags={};children={};collectionTag=null;id=h++},v={get:([e],t)=>("length"===t&&p(e),y.get(e,t)),ownKeys:([e])=>y.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>y.getOwnPropertyDescriptor(e,t),has:([e],t)=>y.has(e,t)},x=(e,t)=>e===t;function w(e,t){var n;let i,{equalityCheck:o=x,maxSize:l=1,resultEqualityCheck:u}="object"==typeof t?t:{equalityCheck:t},f=(n=o,function(e,t){if(null===e||null===t||e.length!==t.length)return!1;let{length:r}=e;for(let i=0;ii&&f(i.key,e)?i.value:r,put(e,t){i={key:e,value:t}},getEntries:()=>i?[i]:[],clear(){i=void 0}}:function(e,t){let n=[];function i(e){let i=n.findIndex(n=>t(e,n.key));if(i>-1){let e=n[i];return i>0&&(n.splice(i,1),n.unshift(e)),e.value}return r}return{get:i,put:function(t,o){i(t)===r&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,f);function c(){let t=a.get(arguments);if(t===r){if(t=e.apply(null,arguments),s++,u){let e=a.getEntries().find(e=>u(e.value,t));e&&(t=e.value,0!==s&&s--)}a.put(arguments,t)}return t}return c.clearCache=()=>{a.clear(),c.resetResultsCount()},c.resultsCount=()=>s,c.resetResultsCount=()=>{s=0},c}var b="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function R(){return{s:0,v:void 0,o:null,p:null}}function T(e,t={}){let n,r=R(),{resultEqualityCheck:i}=t,o=0;function l(){let t,l=r,{length:u}=arguments;for(let e=0;e{r=R(),l.resetResultsCount()},l.resultsCount=()=>o,l.resetResultsCount=()=>{o=0},l}function L(e,...t){let n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,l={},u=e.pop();"object"==typeof u&&(l=u,u=e.pop()),function(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);let{memoize:f,memoizeOptions:s=[],argsMemoize:a=T,argsMemoizeOptions:c=[],devModeChecks:p={}}={...n,...l},h=i(s),d=i(c),g=function(e){let t=Array.isArray(e[0])?e[0]:e;return!function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let n=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),y=f(function(){return r++,u.apply(null,arguments)},...h);return Object.assign(a(function(){o++;let e=function(e,t){let n=[],{length:r}=e;for(let i=0;io,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:f,argsMemoize:a})};return Object.assign(r,{withTypes:()=>r}),r}var C=L(T),E=Object.assign((e,t=C)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>E})}}]); //# sourceMappingURL=84302-9c65c7f5f077b282.js.map