(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{17997:(e,t,r)=>{"use strict";r.d(t,{ll:()=>F,rD:()=>$,__:()=>U,UU:()=>V,cY:()=>B,BN:()=>W,Ej:()=>z});var n=r(80692);function i(e,t,r){let i,{reference:o,floating:a}=e,s=(0,n.TV)(t),l=(0,n.Dz)(t),u=(0,n.sq)(l),c=(0,n.C0)(t),f="y"===s,d=o.x+o.width/2-a.width/2,h=o.y+o.height/2-a.height/2,p=o[u]/2-a[u]/2;switch(c){case"top":i={x:d,y:o.y-a.height};break;case"bottom":i={x:d,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:h};break;case"left":i={x:o.x-a.width,y:h};break;default:i={x:o.x,y:o.y}}switch((0,n.Sg)(t)){case"start":i[l]-=p*(r&&f?-1:1);break;case"end":i[l]+=p*(r&&f?-1:1)}return i}let o=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await (null==s.isRTL?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=i(c,n,u),h=n,p={},m=0;for(let r=0;re<=0)){let e=((null==(o=c.flip)?void 0:o.index)||0)+1,t=P[e];if(t)return{data:{index:e,overflows:R},reset:{placement:t}};let r=null==(s=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!r)switch(v){case"bestFit":{let e=null==(l=R.filter(e=>{if(_){let t=(0,n.TV)(e.placement);return t===x||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(r=e);break}case"initialPlacement":r=d}if(u!==r)return{reset:{placement:r}}}return{}}}};async function l(e,t){let{placement:r,platform:i,elements:o}=e,a=await (null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,n.C0)(r),l=(0,n.Sg)(r),u="y"===(0,n.TV)(r),c=["left","top"].includes(s)?-1:1,f=a&&u?-1:1,d=(0,n._3)(t,e),{mainAxis:h,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),u?{x:p*f,y:h*c}:{x:h*c,y:p*f}}let u=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:o,placement:a,middlewareData:s}=t,u=await l(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:a}}}}},c=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=(0,n._3)(e,t),f={x:r,y:i},d=await a(t,c),h=(0,n.TV)((0,n.C0)(o)),p=(0,n.PG)(h),m=f[p],y=f[h];if(s){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=m+d[e],i=m-d[t];m=(0,n.qE)(r,m,i)}if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=y+d[e],i=y-d[t];y=(0,n.qE)(r,y,i)}let g=u.fn({...t,[p]:m,[h]:y});return{...g,data:{x:g.x-r,y:g.y-i}}}}},f=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,i;let{placement:o,rects:s,platform:l,elements:u}=t,{apply:c=()=>{},...f}=(0,n._3)(e,t),d=await a(t,f),h=(0,n.C0)(o),p=(0,n.Sg)(o),m="y"===(0,n.TV)(o),{width:y,height:g}=s.floating;"top"===h||"bottom"===h?(r=h,i=p===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(i=h,r="end"===p?"top":"bottom");let v=g-d.top-d.bottom,b=y-d.left-d.right,w=(0,n.jk)(g-d[r],v),E=(0,n.jk)(y-d[i],b),S=!t.middlewareData.shift,x=w,O=E;if(m?O=p||S?(0,n.jk)(E,b):b:x=p||S?(0,n.jk)(w,v):v,S&&!p){let e=(0,n.T9)(d.left,0),t=(0,n.T9)(d.right,0),r=(0,n.T9)(d.top,0),i=(0,n.T9)(d.bottom,0);m?O=y-2*(0!==e||0!==t?e+t:(0,n.T9)(d.left,d.right)):x=g-2*(0!==r||0!==i?r+i:(0,n.T9)(d.top,d.bottom))}await c({...t,availableWidth:O,availableHeight:x});let T=await l.getDimensions(u.floating);return y!==T.width||g!==T.height?{reset:{rects:!0}}:{}}}};var d=r(61266);function h(e){let t=(0,d.L9)(e),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,o=(0,d.sb)(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:i,l=(0,n.LI)(r)!==a||(0,n.LI)(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function p(e){return(0,d.vq)(e)?e:e.contextElement}function m(e){let t=p(e);if(!(0,d.sb)(t))return(0,n.Jx)(1);let r=t.getBoundingClientRect(),{width:i,height:o,$:a}=h(t),s=(a?(0,n.LI)(r.width):r.width)/i,l=(a?(0,n.LI)(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let y=(0,n.Jx)(0);function g(e){let t=(0,d.zk)(e);return(0,d.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:y}function v(e,t,r){return void 0===t&&(t=!1),!!r&&(!t||r===(0,d.zk)(e))&&t}function b(e,t,r,i){void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=p(e),s=(0,n.Jx)(1);t&&(i?(0,d.vq)(i)&&(s=m(i)):s=m(e));let l=v(a,r,i)?g(a):(0,n.Jx)(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(a){let e=(0,d.zk)(a),t=i&&(0,d.vq)(i)?(0,d.zk)(i):i,r=e,n=(0,d._m)(r);for(;n&&i&&t!==r;){let e=m(n),t=n.getBoundingClientRect(),i=(0,d.L9)(n),o=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,h*=e.y,u+=o,c+=a,r=(0,d.zk)(n),n=(0,d._m)(r)}}return(0,n.B1)({width:f,height:h,x:u,y:c})}function w(e){return Array.from(e.getClientRects())}function E(e){return b((0,d.ep)(e)).left+(0,d.CP)(e).scrollLeft}function S(e){let t=(0,d.ep)(e),r=(0,d.CP)(e),i=e.ownerDocument.body,o=(0,n.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=(0,n.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+E(e),l=-r.scrollTop;return"rtl"===(0,d.L9)(i).direction&&(s+=(0,n.T9)(t.clientWidth,i.clientWidth)-o),{width:o,height:a,x:s,y:l}}function x(e,t){let r=(0,d.zk)(e),n=(0,d.ep)(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=(0,d.Tc)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}function O(e,t){let r=b(e,!0,"fixed"===t),i=r.top+e.clientTop,o=r.left+e.clientLeft,a=(0,d.sb)(e)?m(e):(0,n.Jx)(1),s=e.clientWidth*a.x;return{width:s,height:e.clientHeight*a.y,x:o*a.x,y:i*a.y}}function T(e,t,r){let i;if("viewport"===t)i=x(e,r);else if("document"===t)i=S((0,d.ep)(e));else if((0,d.vq)(t))i=O(t,r);else{let r=g(e);i={...t,x:t.x-r.x,y:t.y-r.y}}return(0,n.B1)(i)}function k(e,t){let r=(0,d.$4)(e);return!(r===t||!(0,d.vq)(r)||(0,d.eu)(r))&&("fixed"===(0,d.L9)(r).position||k(r,t))}function _(e,t){let r=t.get(e);if(r)return r;let n=(0,d.v9)(e,[],!1).filter(e=>(0,d.vq)(e)&&"body"!==(0,d.mq)(e)),i=null,o="fixed"===(0,d.L9)(e).position,a=o?(0,d.$4)(e):e;for(;(0,d.vq)(a)&&!(0,d.eu)(a);){let t=(0,d.L9)(a),r=(0,d.sQ)(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||(0,d.ZU)(a)&&!r&&k(e,a))?n=n.filter(e=>e!==a):i=t,a=(0,d.$4)(a)}return t.set(e,n),n}function P(e){let{element:t,boundary:r,rootBoundary:i,strategy:o}=e,a=[..."clippingAncestors"===r?(0,d.Tf)(t)?[]:_(t,this._c):[].concat(r),i],s=a[0],l=a.reduce((e,r)=>{let i=T(t,r,o);return e.top=(0,n.T9)(i.top,e.top),e.right=(0,n.jk)(i.right,e.right),e.bottom=(0,n.jk)(i.bottom,e.bottom),e.left=(0,n.T9)(i.left,e.left),e},T(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function A(e){let{width:t,height:r}=h(e);return{width:t,height:r}}function M(e,t,r){let i=(0,d.sb)(t),o=(0,d.ep)(t),a="fixed"===r,s=b(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=(0,n.Jx)(0);if(i||!i&&!a){if(("body"!==(0,d.mq)(t)||(0,d.ZU)(o))&&(l=(0,d.CP)(t)),i){let e=b(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=E(o))}return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function R(e){return"static"===(0,d.L9)(e).position}function C(e,t){return(0,d.sb)(e)&&"fixed"!==(0,d.L9)(e).position?t?t(e):e.offsetParent:null}function j(e,t){let r=(0,d.zk)(e);if((0,d.Tf)(e))return r;if(!(0,d.sb)(e)){let t=(0,d.$4)(e);for(;t&&!(0,d.eu)(t);){if((0,d.vq)(t)&&!R(t))return t;t=(0,d.$4)(t)}return r}let n=C(e,t);for(;n&&(0,d.Lv)(n)&&R(n);)n=C(n,t);return n&&(0,d.eu)(n)&&R(n)&&!(0,d.sQ)(n)?r:n||(0,d.gJ)(e)||r}let D=async function(e){let t=this.getOffsetParent||j,r=this.getDimensions,n=await r(e.floating);return{reference:M(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function I(e){return"rtl"===(0,d.L9)(e).direction}let N={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:i,strategy:o}=e,a="fixed"===o,s=(0,d.ep)(i),l=!!t&&(0,d.Tf)(t.floating);if(i===s||l&&a)return r;let u={scrollLeft:0,scrollTop:0},c=(0,n.Jx)(1),f=(0,n.Jx)(0),h=(0,d.sb)(i);if((h||!h&&!a)&&(("body"!==(0,d.mq)(i)||(0,d.ZU)(s))&&(u=(0,d.CP)(i)),(0,d.sb)(i))){let e=b(i);c=m(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+f.x,y:r.y*c.y-u.scrollTop*c.y+f.y}},getDocumentElement:d.ep,getClippingRect:P,getOffsetParent:j,getElementRects:D,getClientRects:w,getDimensions:A,getScale:m,isElement:d.vq,isRTL:I};function L(e,t){let r,i=null,o=(0,d.ep)(e);function a(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),a();let{left:c,top:f,width:d,height:h}=e.getBoundingClientRect();if(l||t(),!d||!h)return;let p=(0,n.RI)(f),m={rootMargin:-p+"px "+-(0,n.RI)(o.clientWidth-(c+d))+"px "+-(0,n.RI)(o.clientHeight-(f+h))+"px "+-(0,n.RI)(c)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,u))||1},y=!0;function g(e){let t=e[0].intersectionRatio;if(t!==u){if(!y)return s();t?s(!1,t):r=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{i=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(g,m)}i.observe(e)}return s(!0),a}function F(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=p(e),f=o||a?[...c?(0,d.v9)(c):[],...(0,d.v9)(t)]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let h=c&&l?L(c,r):null,m=-1,y=null;s&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&y&&(y.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),c&&!u&&y.observe(c),y.observe(t));let g=u?b(e):null;function v(){let t=b(e);g&&(t.x!==g.x||t.y!==g.y||t.width!==g.width||t.height!==g.height)&&r(),g=t,i=requestAnimationFrame(v)}return u&&v(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,u&&cancelAnimationFrame(i)}}let U=a,B=u,W=c,V=s,z=f,$=(e,t,r)=>{let n=new Map,i={platform:N,...r},a={...i.platform,_c:n};return o(e,t,{...i,platform:a})}},51710:(e,t,r)=>{"use strict";r.d(t,{BN:()=>h,Ej:()=>m,UU:()=>p,cY:()=>d,we:()=>f});var n=r(17997),i=r(96540),o=r(40961),a="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function s(e,t){let r,n,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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=l(e);return Math.round(t*r)/r}function c(e){let t=i.useRef(e);return a(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:f=[],platform:d,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:y,open:g}=e,[v,b]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,E]=i.useState(f);s(w,f)||E(f);let[S,x]=i.useState(null),[O,T]=i.useState(null),k=i.useCallback(e=>{e!==M.current&&(M.current=e,x(e))},[]),_=i.useCallback(e=>{e!==R.current&&(R.current=e,T(e))},[]),P=h||S,A=p||O,M=i.useRef(null),R=i.useRef(null),C=i.useRef(v),j=null!=y,D=c(y),I=c(d),N=i.useCallback(()=>{if(!M.current||!R.current)return;let e={placement:t,strategy:r,middleware:w};I.current&&(e.platform=I.current),(0,n.rD)(M.current,R.current,e).then(e=>{let t={...e,isPositioned:!0};L.current&&!s(C.current,t)&&(C.current=t,o.flushSync(()=>{b(t)}))})},[w,t,r,I]);a(()=>{!1===g&&C.current.isPositioned&&(C.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let L=i.useRef(!1);a(()=>(L.current=!0,()=>{L.current=!1}),[]),a(()=>{if(P&&(M.current=P),A&&(R.current=A),P&&A){if(D.current)return D.current(P,A,N);N()}},[P,A,N,D,j]);let F=i.useMemo(()=>({reference:M,floating:R,setReference:k,setFloating:_}),[k,_]),U=i.useMemo(()=>({reference:P,floating:A}),[P,A]),B=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!U.floating)return e;let t=u(U.floating,v.x),n=u(U.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...l(U.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,U.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:N,refs:F,elements:U,floatingStyles:B}),[v,N,F,U,B])}let d=(e,t)=>({...(0,n.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,n.BN)(e),options:[e,t]}),p=(e,t)=>({...(0,n.UU)(e),options:[e,t]}),m=(e,t)=>({...(0,n.Ej)(e),options:[e,t]})},33533:(e,t,r)=>{"use strict";function n(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}r.d(t,{$t:()=>n})},61266:(e,t,r)=>{"use strict";function n(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof i(e).Node}function s(e){return e instanceof Element||e instanceof i(e).Element}function l(e){return e instanceof HTMLElement||e instanceof i(e).HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function f(e){return["table","td","th"].includes(n(e))}function d(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function h(e){let t=m(),r=s(e)?g(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function p(e){let t=b(e);for(;l(t)&&!y(t);){if(h(t))return t;if(d(t))break;t=b(t)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function y(e){return["html","body","#document"].includes(n(e))}function g(e){return i(e).getComputedStyle(e)}function v(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function b(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||o(e);return u(t)?t.host:t}function w(e){let t=b(e);return y(t)?e.ownerDocument?e.ownerDocument.body:e.body:l(t)&&c(t)?t:w(t)}function E(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=w(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=i(o);if(a){let e=S(s);return t.concat(s,s.visualViewport||[],c(o)?o:[],e&&r?E(e):[])}return t.concat(o,E(o,[],r))}function S(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}r.d(t,{$4:()=>b,CP:()=>v,L9:()=>g,Lv:()=>f,Tc:()=>m,Tf:()=>d,ZU:()=>c,_m:()=>S,ep:()=>o,eu:()=>y,gJ:()=>p,mq:()=>n,sQ:()=>h,sb:()=>l,v9:()=>E,vq:()=>s,zk:()=>i})},80692:(e,t,r)=>{"use strict";r.d(t,{B1:()=>k,C0:()=>d,Dz:()=>g,Jx:()=>s,LI:()=>o,PG:()=>p,RI:()=>a,Sg:()=>h,T9:()=>i,TV:()=>y,WJ:()=>b,_3:()=>f,bV:()=>x,jk:()=>n,lP:()=>S,nI:()=>T,qE:()=>c,sq:()=>m,w7:()=>v});let n=Math.min,i=Math.max,o=Math.round,a=Math.floor,s=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function c(e,t,r){return i(e,n(t,r))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(d(e))?"y":"x"}function g(e){return p(y(e))}function v(e,t,r){void 0===r&&(r=!1);let n=h(e),i=g(e),o=m(i),a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=x(a)),[a,x(a)]}function b(e){let t=x(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,e=>u[e])}function E(e,t,r){let n=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?o:a;default:return[]}}function S(e,t,r,n){let i=h(e),o=E(d(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(w)))),o}function x(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function O(e){return{top:0,right:0,bottom:0,left:0,...e}}function T(e){return"number"!=typeof e?O(e):{top:e,right:e,bottom:e,left:e}}function k(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}},78917:(e,t,r)=>{"use strict";function n(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{o:()=>V});let a=o(function(){return i(/^Mac/i)}),s=o(function(){return i(/^iPhone/i)}),l=o(function(){return i(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=o(function(){return s()||l()});o(function(){return a()||u()}),o(function(){return n(/AppleWebKit/i)&&!c()});let c=o(function(){return n(/Chrome/i)}),f=o(function(){return n(/Android/i)});function d(e){return 0===e.mozInputSource&&!!e.isTrusted||(f()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}o(function(){return n(/Firefox/i)});let h=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},p=e=>e&&"window"in e&&e.window===e?e:h(e).defaultView||window;var m=r(96540);let y=null,g=new Set,v=new Map,b=!1,w=!1,E={Tab:!0,Escape:!0};function S(e,t){for(let r of g)r(e,t)}function x(e){return!(e.metaKey||!a()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}function O(e){b=!0,x(e)&&(y="keyboard",S("keyboard",e))}function T(e){y="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(b=!0,S("pointer",e))}function k(e){d(e)&&(b=!0,y="virtual")}function _(e){e.target!==window&&e.target!==document&&(b||w||(y="virtual",S("virtual",e)),b=!1,w=!1)}function P(){b=!1,w=!0}function A(e){if("undefined"==typeof window||v.get(p(e)))return;let t=p(e),r=h(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){b=!0,n.apply(this,arguments)},r.addEventListener("keydown",O,!0),r.addEventListener("keyup",O,!0),r.addEventListener("click",k,!0),t.addEventListener("focus",_,!0),t.addEventListener("blur",P,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",T,!0),r.addEventListener("pointermove",T,!0),r.addEventListener("pointerup",T,!0)):(r.addEventListener("mousedown",T,!0),r.addEventListener("mousemove",T,!0),r.addEventListener("mouseup",T,!0)),t.addEventListener("beforeunload",()=>{M(e)},{once:!0}),v.set(t,{focus:n})}let M=(e,t)=>{let r=p(e),n=h(e);t&&n.removeEventListener("DOMContentLoaded",t),v.has(r)&&(r.HTMLElement.prototype.focus=v.get(r).focus,n.removeEventListener("keydown",O,!0),n.removeEventListener("keyup",O,!0),n.removeEventListener("click",k,!0),r.removeEventListener("focus",_,!0),r.removeEventListener("blur",P,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",T,!0),n.removeEventListener("pointermove",T,!0),n.removeEventListener("pointerup",T,!0)):(n.removeEventListener("mousedown",T,!0),n.removeEventListener("mousemove",T,!0),n.removeEventListener("mouseup",T,!0)),v.delete(r))};function R(e){let t;let r=h(e);return"loading"!==r.readyState?A(e):(t=()=>{A(e)},r.addEventListener("DOMContentLoaded",t)),()=>M(e,t)}function C(){return"pointer"!==y}"undefined"!=typeof document&&R();let j=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function D(e,t,r){var n;let i="undefined"!=typeof window?p(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?p(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?p(null==r?void 0:r.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?p(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof i&&!j.has(null==r?void 0:null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof o||(null==r?void 0:r.target)instanceof a&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof s&&!E[r.key])}function I(e,t,r){A(),(0,m.useEffect)(()=>{let t=(t,n)=>{D(!!(null==r?void 0:r.isTextInput),t,n)&&e(C())};return g.add(t),()=>{g.delete(t)}},t)}let N="undefined"!=typeof document?m.useLayoutEffect:()=>{};function L(e){let t=(0,m.useRef)(null);return N(()=>{t.current=e},[e]),(0,m.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}class F{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function U(e){let t=(0,m.useRef)({isFocused:!1,observer:null});N(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=L(t=>{null==e||e(t)});return(0,m.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target,i=e=>{t.current.isFocused=!1,n.disabled&&r(new F("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function B(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e,o=(0,m.useCallback)(e=>{if(e.target===e.currentTarget)return n&&n(e),i&&i(!1),!0},[n,i]),a=U(o),s=(0,m.useCallback)(e=>{let t=h(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),i&&i(!0),a(e))},[i,r,a]);return{focusProps:{onFocus:!t&&(r||i||n)?s:void 0,onBlur:!t&&(n||i)?o:void 0}}}function W(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=(0,m.useRef)({isFocusWithin:!1}),a=(0,m.useCallback)(e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(e),i&&i(!1))},[r,i,o]),s=U(a),l=(0,m.useCallback)(e=>{o.current.isFocusWithin||document.activeElement!==e.target||(n&&n(e),i&&i(!0),o.current.isFocusWithin=!0,s(e))},[n,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:a}}}function V(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=(0,m.useRef)({isFocused:!1,isFocusVisible:t||C()}),[o,a]=(0,m.useState)(!1),[s,l]=(0,m.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),u=(0,m.useCallback)(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),c=(0,m.useCallback)(e=>{i.current.isFocused=e,a(e),u()},[u]);I(e=>{i.current.isFocusVisible=e,u()},[],{isTextInput:r});let{focusProps:f}=B({isDisabled:n,onFocusChange:c}),{focusWithinProps:d}=W({isDisabled:!n,onFocusWithinChange:c});return{isFocused:o,isFocusVisible:s,focusProps:n?d:f}}},7957:(e,t,r)=>{"use strict";r.d(t,{M:()=>u});var n=r(96540);let i=!1,o=0;function a(){i=!0,setTimeout(()=>{i=!1},50)}function s(e){"touch"===e.pointerType&&a()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",a),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",a))}}function u(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:a}=e,[s,u]=(0,n.useState)(!1),c=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(l,[]);let{hoverProps:f,triggerHoverEnd:d}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(c.pointerType=n,a||"touch"===n||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),u(!0)},n=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let n=e.currentTarget;o&&o({type:"hoverend",target:n,pointerType:t}),r&&r(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(s.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:s,triggerHoverEnd:n}},[t,r,o,a,c]);return(0,n.useEffect)(()=>{a&&d({currentTarget:c.target},c.pointerType)},[a]),{hoverProps:f,isHovered:s}}},32485:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t{},36503:(e,t,r)=>{"use strict";let n;r.d(t,{c9:()=>nF});class i extends Error{}class o extends i{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class a extends i{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class s extends i{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class l extends i{}class u extends i{constructor(e){super(`Invalid unit ${e}`)}}class c extends i{}class f extends i{constructor(){super("Zone is an abstract class")}}let d="numeric",h="short",p="long",m={year:d,month:d,day:d},y={year:d,month:h,day:d},g={year:d,month:h,day:d,weekday:h},v={year:d,month:p,day:d},b={year:d,month:p,day:d,weekday:p},w={hour:d,minute:d},E={hour:d,minute:d,second:d},S={hour:d,minute:d,second:d,timeZoneName:h},x={hour:d,minute:d,second:d,timeZoneName:p},O={hour:d,minute:d,hourCycle:"h23"},T={hour:d,minute:d,second:d,hourCycle:"h23"},k={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:h},_={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:p},P={year:d,month:d,day:d,hour:d,minute:d},A={year:d,month:d,day:d,hour:d,minute:d,second:d},M={year:d,month:h,day:d,hour:d,minute:d},R={year:d,month:h,day:d,hour:d,minute:d,second:d},C={year:d,month:h,day:d,weekday:h,hour:d,minute:d},j={year:d,month:p,day:d,hour:d,minute:d,timeZoneName:h},D={year:d,month:p,day:d,hour:d,minute:d,second:d,timeZoneName:h},I={year:d,month:p,day:d,weekday:p,hour:d,minute:d,timeZoneName:p},N={year:d,month:p,day:d,weekday:p,hour:d,minute:d,second:d,timeZoneName:p};class L{get type(){throw new f}get name(){throw new f}get ianaName(){return this.name}get isUniversal(){throw new f}offsetName(e,t){throw new f}formatOffset(e,t){throw new f}offset(e){throw new f}equals(e){throw new f}get isValid(){throw new f}}let F=null;class U extends L{static get instance(){return null===F&&(F=new U),F}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return tm(e,t,r)}formatOffset(e,t){return tb(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let B={};function W(e){return B[e]||(B[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),B[e]}let V={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function z(e,t){let r=e.format(t).replace(/\u200E/g,""),[,n,i,o,a,s,l,u]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[o,n,i,a,s,l,u]}function $(e,t){let r=e.formatToParts(t),n=[];for(let e=0;e=0?d:1e3+d))/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let Z={};function G(e,t={}){let r=JSON.stringify([e,t]),n=Z[r];return n||(n=new Intl.ListFormat(e,t),Z[r]=n),n}let Y={};function J(e,t={}){let r=JSON.stringify([e,t]),n=Y[r];return n||(n=new Intl.DateTimeFormat(e,t),Y[r]=n),n}let K={};function X(e,t={}){let r=JSON.stringify([e,t]),n=K[r];return n||(n=new Intl.NumberFormat(e,t),K[r]=n),n}let Q={};function ee(e,t={}){let{base:r,...n}=t,i=JSON.stringify([e,n]),o=Q[i];return o||(o=new Intl.RelativeTimeFormat(e,t),Q[i]=o),o}let et=null;function er(){return et||(et=new Intl.DateTimeFormat().resolvedOptions().locale)}let en={};function ei(e){let t=en[e];if(!t){let r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,en[e]=t}return t}function eo(e){let t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(-1===r)return[e];{let t,n;try{t=J(e).resolvedOptions(),n=e}catch(o){let i=e.substring(0,r);t=J(i).resolvedOptions(),n=i}let{numberingSystem:i,calendar:o}=t;return[n,i,o]}}function ea(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function es(e){let t=[];for(let r=1;r<=12;r++){let n=nF.utc(2009,r,1);t.push(e(n))}return t}function el(e){let t=[];for(let r=1;r<=7;r++){let n=nF.utc(2016,11,13+r);t.push(e(n))}return t}function eu(e,t,r,n){let i=e.listingMode();return"error"===i?null:"en"===i?r(t):n(t)}function ec(e){return(!e.numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)}class ef{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:i,...o}=r;if(!t||Object.keys(o).length>0){let t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=X(e,t)}}format(e){if(!this.inf)return tn(this.floor?Math.floor(e):ts(e,3),this.padTo);{let t=this.floor?Math.floor(e):e;return this.inf.format(t)}}}class ed{constructor(e,t,r){let n;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){let t=-1*(e.offset/60),r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&q.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||n,this.dtf=J(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"!==e.type)return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class eh{constructor(e,t,r){this.opts={style:"long",...r},!t&&e6()&&(this.rtf=ee(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):tF(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}let ep={firstDay:1,minimalDays:4,weekend:[6,7]};class em{static fromOpts(e){return em.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,n,i=!1){let o=e||eI.defaultLocale,a=o||(i?"en-US":er());return new em(a,t||eI.defaultNumberingSystem,r||eI.defaultOutputCalendar,te(n)||eI.defaultWeekSettings,o)}static resetCache(){et=null,Y={},K={},Q={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return em.create(e,t,r,n)}constructor(e,t,r,n,i){let[o,a,s]=eo(e);this.locale=o,this.numberingSystem=t||a||null,this.outputCalendar=r||s||null,this.weekSettings=n,this.intl=ea(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=ec(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?em.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,te(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return eu(this,e,tO,()=>{let r=t?{month:e,day:"numeric"}:{month:e},n=t?"format":"standalone";return this.monthsCache[n][e]||(this.monthsCache[n][e]=es(e=>this.extract(e,r,"month"))),this.monthsCache[n][e]})}weekdays(e,t=!1){return eu(this,e,tP,()=>{let r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=t?"format":"standalone";return this.weekdaysCache[n][e]||(this.weekdaysCache[n][e]=el(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return eu(this,void 0,()=>tA,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[nF.utc(2016,11,13,9),nF.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return eu(this,e,tj,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[nF.utc(-40,1,1),nF.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){let n=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return n?n.value:null}numberFormatter(e={}){return new ef(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new ed(e,this.intl,t)}relFormatter(e={}){return new eh(this.intl,this.isEnglish(),e)}listFormatter(e={}){return G(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:e4()?ei(this.locale):ep}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ey=null;class eg extends L{static get utcInstance(){return null===ey&&(ey=new eg(0)),ey}static instance(e){return 0===e?eg.utcInstance:new eg(e)}static parseSpecifier(e){if(e){let t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new eg(ty(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${tb(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${tb(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return tb(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class ev extends L{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function eb(e,t){if(eQ(e)||null===e)return t;if(e instanceof L)return e;if(e2(e)){let r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?U.instance:"utc"===r||"gmt"===r?eg.utcInstance:eg.parseSpecifier(r)||q.create(e)}return e0(e)?eg.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new ev(e)}let ew={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},eE={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},eS=ew.hanidec.replace(/[\[|\]]/g,"").split("");function ex(e){let t=parseInt(e,10);if(!isNaN(t))return t;t="";for(let r=0;r=r&&n<=i&&(t+=n-r)}}return parseInt(t,10)}let eO={};function eT(){eO={}}function ek({numberingSystem:e},t=""){let r=e||"latn";return eO[r]||(eO[r]={}),eO[r][t]||(eO[r][t]=RegExp(`${ew[r]}${t}`)),eO[r][t]}let e_=()=>Date.now(),eP="system",eA=null,eM=null,eR=null,eC=60,ej,eD=null;class eI{static get now(){return e_}static set now(e){e_=e}static set defaultZone(e){eP=e}static get defaultZone(){return eb(eP,U.instance)}static get defaultLocale(){return eA}static set defaultLocale(e){eA=e}static get defaultNumberingSystem(){return eM}static set defaultNumberingSystem(e){eM=e}static get defaultOutputCalendar(){return eR}static set defaultOutputCalendar(e){eR=e}static get defaultWeekSettings(){return eD}static set defaultWeekSettings(e){eD=te(e)}static get twoDigitCutoffYear(){return eC}static set twoDigitCutoffYear(e){eC=e%100}static get throwOnInvalid(){return ej}static set throwOnInvalid(e){ej=e}static resetCaches(){em.resetCache(),q.resetCache(),nF.resetCache(),eT()}}class eN{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let eL=[0,31,59,90,120,151,181,212,243,273,304,334],eF=[0,31,60,91,121,152,182,213,244,274,305,335];function eU(e,t){return new eN("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function eB(e,t,r){let n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return 0===i?7:i}function eW(e,t,r){return r+(tl(e)?eF:eL)[t-1]}function eV(e,t){let r=tl(e)?eF:eL,n=r.findIndex(e=>eth(n,t,r)?(u=n+1,l=1):u=n,{weekYear:u,weekNumber:l,weekday:s,...tw(e)}}function eH(e,t=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=e,a=ez(eB(n,1,t),r),s=tu(n),l=7*i+o-a-7+t,u;l<1?l+=tu(u=n-1):l>s?(u=n+1,l-=tu(n)):u=n;let{month:c,day:f}=eV(u,l);return{year:u,month:c,day:f,...tw(e)}}function eq(e){let{year:t,month:r,day:n}=e,i=eW(t,r,n);return{year:t,ordinal:i,...tw(e)}}function eZ(e){let{year:t,ordinal:r}=e,{month:n,day:i}=eV(t,r);return{year:t,month:n,day:i,...tw(e)}}function eG(e,t){if(!(!eQ(e.localWeekday)||!eQ(e.localWeekNumber)||!eQ(e.localWeekYear)))return{minDaysInFirstWeek:4,startOfWeek:1};if(!eQ(e.weekday)||!eQ(e.weekNumber)||!eQ(e.weekYear))throw new l("Cannot mix locale-based week fields with ISO-based week fields");return eQ(e.localWeekday)||(e.weekday=e.localWeekday),eQ(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),eQ(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}function eY(e,t=4,r=1){let n=e1(e.weekYear),i=tt(e.weekNumber,1,th(e.weekYear,t,r)),o=tt(e.weekday,1,7);return n?i?!o&&eU("weekday",e.weekday):eU("week",e.weekNumber):eU("weekYear",e.weekYear)}function eJ(e){let t=e1(e.year),r=tt(e.ordinal,1,tu(e.year));return t?!r&&eU("ordinal",e.ordinal):eU("year",e.year)}function eK(e){let t=e1(e.year),r=tt(e.month,1,12),n=tt(e.day,1,tc(e.year,e.month));return t?r?!n&&eU("day",e.day):eU("month",e.month):eU("year",e.year)}function eX(e){let{hour:t,minute:r,second:n,millisecond:i}=e,o=tt(t,0,23)||24===t&&0===r&&0===n&&0===i,a=tt(r,0,59),s=tt(n,0,59),l=tt(i,0,999);return o?a?s?!l&&eU("millisecond",i):eU("second",n):eU("minute",r):eU("hour",t)}function eQ(e){return void 0===e}function e0(e){return"number"==typeof e}function e1(e){return"number"==typeof e&&e%1==0}function e2(e){return"string"==typeof e}function e3(e){return"[object Date]"===Object.prototype.toString.call(e)}function e6(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function e4(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function e5(e){return Array.isArray(e)?e:[e]}function e8(e,t,r){if(0!==e.length)return e.reduce((e,n)=>{let i=[t(n),n];return e&&r(e[0],i[0])===e[0]?e:i},null)[1]}function e7(e,t){return t.reduce((t,r)=>(t[r]=e[r],t),{})}function e9(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function te(e){if(null==e)return null;if("object"!=typeof e)throw new c("Week settings must be an object");if(!tt(e.firstDay,1,7)||!tt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!tt(e,1,7)))throw new c("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function tt(e,t,r){return e1(e)&&e>=t&&e<=r}function tr(e,t){return e-t*Math.floor(e/t)}function tn(e,t=2){return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function ti(e){if(!eQ(e)&&null!==e&&""!==e)return parseInt(e,10)}function to(e){if(!eQ(e)&&null!==e&&""!==e)return parseFloat(e)}function ta(e){if(!eQ(e)&&null!==e&&""!==e)return Math.floor(1e3*parseFloat("0."+e))}function ts(e,t,r=!1){let n=10**t;return(r?Math.trunc:Math.round)(e*n)/n}function tl(e){return e%4==0&&(e%100!=0||e%400==0)}function tu(e){return tl(e)?366:365}function tc(e,t){let r=tr(t-1,12)+1,n=e+(t-r)/12;return 2===r?tl(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function tf(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function td(e,t,r){return-ez(eB(e,1,t),r)+t-1}function th(e,t=4,r=1){let n=td(e,t,r),i=td(e+1,t,r);return(tu(e)-n+i)/7}function tp(e){return e>99?e:e>eI.twoDigitCutoffYear?1900+e:2e3+e}function tm(e,t,r,n=null){let i=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let a={timeZoneName:t,...o},s=new Intl.DateTimeFormat(r,a).formatToParts(i).find(e=>"timezonename"===e.type.toLowerCase());return s?s.value:null}function ty(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let n=parseInt(t,10)||0,i=r<0||Object.is(r,-0)?-n:n;return 60*r+i}function tg(e){let t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new c(`Invalid unit value ${e}`);return t}function tv(e,t){let r={};for(let n in e)if(e9(e,n)){let i=e[n];if(null==i)continue;r[t(n)]=tg(i)}return r}function tb(e,t){let r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${tn(r,2)}:${tn(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${tn(r,2)}${tn(n,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function tw(e){return e7(e,["hour","minute","second","millisecond"])}let tE=["January","February","March","April","May","June","July","August","September","October","November","December"],tS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tx=["J","F","M","A","M","J","J","A","S","O","N","D"];function tO(e){switch(e){case"narrow":return[...tx];case"short":return[...tS];case"long":return[...tE];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let tT=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tk=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],t_=["M","T","W","T","F","S","S"];function tP(e){switch(e){case"narrow":return[...t_];case"short":return[...tk];case"long":return[...tT];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let tA=["AM","PM"],tM=["Before Christ","Anno Domini"],tR=["BC","AD"],tC=["B","A"];function tj(e){switch(e){case"narrow":return[...tC];case"short":return[...tR];case"long":return[...tM];default:return null}}function tD(e){return tA[e.hour<12?0:1]}function tI(e,t){return tP(t)[e.weekday-1]}function tN(e,t){return tO(t)[e.month-1]}function tL(e,t){return tj(t)[e.year<0?0:1]}function tF(e,t,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&o){let r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${i[e][0]}`;case -1:return r?"yesterday":`last ${i[e][0]}`;case 0:return r?"today":`this ${i[e][0]}`}}let a=Object.is(t,-0)||t<0,s=Math.abs(t),l=1===s,u=i[e],c=n?l?u[1]:u[2]||u[1]:l?i[e][0]:e;return a?`${s} ${c} ago`:`in ${s} ${c}`}function tU(e,t){let r="";for(let n of e)n.literal?r+=n.val:r+=t(n.val);return r}let tB={D:m,DD:y,DDD:v,DDDD:b,t:w,tt:E,ttt:S,tttt:x,T:O,TT:T,TTT:k,TTTT:_,f:P,ff:M,fff:j,ffff:I,F:A,FF:R,FFF:D,FFFF:N};class tW{static create(e,t={}){return new tW(e,t)}static parseFormat(e){let t=null,r="",n=!1,i=[];for(let o=0;o0&&i.push({literal:n||/^\s+$/.test(r),val:r}),t=null,r="",n=!n):n?r+=a:a===t?r+=a:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=a,t=a)}return r.length>0&&i.push({literal:n||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return tB[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return tn(e,t);let r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){let r="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,i=(t,r)=>this.loc.extract(e,t,r),o=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=()=>r?tD(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),s=(t,n)=>r?tN(e,t):i(n?{month:t}:{month:t,day:"numeric"},"month"),l=(t,n)=>r?tI(e,t):i(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{let r=tW.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},c=t=>r?tL(e,t):i({era:t},"era"),f=t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return n?i({day:"numeric"},"day"):this.num(e.day);case"dd":return n?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return n?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return s("short",!0);case"LLLL":return s("long",!0);case"LLLLL":return s("narrow",!0);case"M":return n?i({month:"numeric"},"month"):this.num(e.month);case"MM":return n?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return s("short",!1);case"MMMM":return s("long",!1);case"MMMMM":return s("narrow",!1);case"y":return n?i({year:"numeric"},"year"):this.num(e.year);case"yy":return n?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}};return tU(tW.parseFormat(t),f)}formatDurationFromString(e,t){let r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=e=>t=>{let n=r(t);return n?this.num(e.get(n),t.length):t},i=tW.parseFormat(t),o=i.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return tU(i,n(e.shiftTo(...o.map(r).filter(e=>e))))}}let tV=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function tz(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function t$(...e){return t=>e.reduce(([e,r,n],i)=>{let[o,a,s]=i(t,n);return[{...e,...o},a||r,s]},[{},null,1]).slice(0,2)}function tH(e,...t){if(null==e)return[null,null];for(let[r,n]of t){let t=r.exec(e);if(t)return n(t)}return[null,null]}function tq(...e){return(t,r)=>{let n;let i={};for(n=0;nvoid 0!==e&&(t||e&&c)?-e:e;return[{years:d(to(r)),months:d(to(n)),weeks:d(to(i)),days:d(to(o)),hours:d(to(a)),minutes:d(to(s)),seconds:d(to(l),"-0"===l),milliseconds:d(ta(u),f)}]}let ri={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ro(e,t,r,n,i,o,a){let s={year:2===t.length?tp(ti(t)):ti(t),month:tS.indexOf(r)+1,day:ti(n),hour:ti(i),minute:ti(o)};return a&&(s.second=ti(a)),e&&(s.weekday=e.length>3?tT.indexOf(e)+1:tk.indexOf(e)+1),s}let ra=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function rs(e){let t;let[,r,n,i,o,a,s,l,u,c,f,d]=e;return[ro(r,o,i,n,a,s,l),new eg(t=u?ri[u]:c?0:ty(f,d))]}function rl(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}let ru=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rc=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rd(e){let[,t,r,n,i,o,a,s]=e;return[ro(t,i,n,r,o,a,s),eg.utcInstance]}function rh(e){let[,t,r,n,i,o,a,s]=e;return[ro(t,s,r,n,i,o,a),eg.utcInstance]}let rp=tz(tX,tK),rm=tz(tQ,tK),ry=tz(t0,tK),rg=tz(tJ),rv=t$(t8,t7,t9,re),rb=t$(t1,t7,t9,re),rw=t$(t2,t7,t9,re),rE=t$(t7,t9,re);function rS(e){return tH(e,[rp,rv],[rm,rb],[ry,rw],[rg,rE])}function rx(e){return tH(rl(e),[ra,rs])}function rO(e){return tH(e,[ru,rd],[rc,rd],[rf,rh])}function rT(e){return tH(e,[rr,rn])}let rk=t$(t7);function r_(e){return tH(e,[rt,rk])}let rP=tz(t3,t4),rA=tz(t6),rM=t$(t7,t9,re);function rR(e){return tH(e,[rP,rv],[rA,rM])}let rC="Invalid Duration",rj={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},rD={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...rj},rI={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:0x1e18558,milliseconds:31556952e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:7889238,milliseconds:7889238e3},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...rj},rN=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rL=rN.slice(0).reverse();function rF(e,t,r=!1){return new rV({values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function rU(e,t){let r=t.milliseconds??0;for(let n of rL.slice(1))t[n]&&(r+=t[n]*e[n].milliseconds);return r}function rB(e,t){let r=0>rU(e,t)?-1:1;rN.reduceRight((n,i)=>{if(eQ(t[i]))return n;if(n){let o=t[n]*r,a=e[i][n],s=Math.floor(o/a);t[i]+=s*r,t[n]-=s*a*r}return i},null),rN.reduce((r,n)=>{if(eQ(t[n]))return r;if(r){let i=t[r]%1;t[r]-=i,t[n]+=i*e[r][n]}return n},null)}function rW(e){let t={};for(let[r,n]of Object.entries(e))0!==n&&(t[r]=n);return t}class rV{constructor(e){let t="longterm"===e.conversionAccuracy,r=t?rI:rD;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||em.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return rV.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new c(`Duration.fromObject: argument expected to be an object, got ${null===e?"null":typeof e}`);return new rV({values:tv(e,rV.normalizeUnit),loc:em.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(e0(e))return rV.fromMillis(e);if(rV.isDuration(e))return e;if("object"==typeof e)return rV.fromObject(e);throw new c(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){let[r]=rT(e);return r?rV.fromObject(r,t):rV.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){let[r]=r_(e);return r?rV.fromObject(r,t):rV.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new c("need to specify a reason the Duration is invalid");let r=e instanceof eN?e:new eN(e,t);if(!eI.throwOnInvalid)return new rV({invalid:r});throw new s(r)}static normalizeUnit(e){let t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new u(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?tW.create(this.loc,r).formatDurationFromString(this,e):rC}toHuman(e={}){if(!this.isValid)return rC;let t=rN.map(t=>{let r=this.values[t];return eQ(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(e+=ts(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},nF.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?rU(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=rV.fromDurationLike(e),r={};for(let e of rN)(e9(t.values,e)||e9(this.values,e))&&(r[e]=t.get(e)+this.get(e));return rF(this,{values:r},!0)}minus(e){if(!this.isValid)return this;let t=rV.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let r of Object.keys(this.values))t[r]=tg(e(this.values[r],r));return rF(this,{values:t},!0)}get(e){return this[rV.normalizeUnit(e)]}set(e){return this.isValid?rF(this,{values:{...this.values,...tv(e,rV.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){return rF(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:n,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return rB(this.matrix,e),rF(this,{values:e},!0)}rescale(){return this.isValid?rF(this,{values:rW(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){let t;if(!this.isValid||0===e.length)return this;e=e.map(e=>rV.normalizeUnit(e));let r={},n={},i=this.toObject();for(let o of rN)if(e.indexOf(o)>=0){t=o;let e=0;for(let t in n)e+=this.matrix[t][o]*n[t],n[t]=0;e0(i[o])&&(e+=i[o]);let a=Math.trunc(e);r[o]=a,n[o]=(1e3*e-1e3*a)/1e3}else e0(i[o])&&(n[o]=i[o]);for(let e in n)0!==n[e]&&(r[t]+=e===t?n[e]:n[e]/this.matrix[t][e]);return rB(this.matrix,r),rF(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return rF(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(let r of rN)if(!t(this.values[r],e.values[r]))return!1;return!0}}let rz="Invalid Interval";function r$(e,t){return e&&e.isValid?t&&t.isValid?te}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?rH.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];let t=e.map(nU).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:n}=this,i=0;for(;n+this.e?this.e:e;r.push(rH.fromDateTimes(n,o)),n=o,i+=1}return r}splitBy(e){let t=rV.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let{s:r}=this,n=1,i,o=[];for(;re*n));i=+e>+this.e?this.e:e,o.push(rH.fromDateTimes(r,i)),r=i,n+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e}equals(e){return!!this.isValid&&!!e.isValid&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,r=this.e=r?null:rH.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;let t=this.se.e?this.e:e.e;return rH.fromDateTimes(t,r)}static merge(e){let[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0,n=[],i=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]);for(let e of Array.prototype.concat(...i).sort((e,t)=>e.time-t.time))1===(r+="s"===e.type?1:-1)?t=e.time:(t&&+t!=+e.time&&n.push(rH.fromDateTimes(t,e.time)),t=null);return rH.merge(n)}difference(...e){return rH.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:rz}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=m,t={}){return this.isValid?tW.create(this.s.loc.clone(t),e).formatInterval(this):rz}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:rz}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:rz}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:rz}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:rz}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):rV.invalid(this.invalidReason)}mapEndpoints(e){return rH.fromDateTimes(e(this.s),e(this.e))}}class rq{static hasDST(e=eI.defaultZone){let t=nF.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return q.isValidZone(e)}static normalizeZone(e){return eb(e,eI.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||em.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||em.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||em.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||em.create(t,r,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||em.create(t,r,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||em.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||em.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return em.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return em.create(t,null,"gregory").eras(e)}static features(){return{relative:e6(),localeWeek:e4()}}}function rZ(e,t){let r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(rV.fromMillis(n).as("days"))}function rG(e,t,r){let n,i;let o={},a=e;for(let[s,l]of[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{let r=rZ(e,t);return(r-r%7)/7}],["days",rZ]])r.indexOf(s)>=0&&(n=s,o[s]=l(e,t),(i=a.plus(o))>t?(o[s]--,(e=a.plus(o))>t&&(i=e,o[s]--,e=a.plus(o))):e=i);return[e,o,i,n]}function rY(e,t,r,n){let[i,o,a,s]=rG(e,t,r),l=t-i,u=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===u.length&&(a0?rV.fromMillis(l,n).shiftTo(...u).plus(c):c}let rJ="missing Intl.DateTimeFormat.formatToParts support";function rK(e,t=e=>e){return{regex:e,deser:([e])=>t(ex(e))}}let rX=String.fromCharCode(160),rQ=`[ ${rX}]`,r0=RegExp(rQ,"g");function r1(e){return e.replace(/\./g,"\\.?").replace(r0,rQ)}function r2(e){return e.replace(/\./g,"").replace(r0," ").toLowerCase()}function r3(e,t){return null===e?null:{regex:RegExp(e.map(r1).join("|")),deser:([r])=>e.findIndex(e=>r2(r)===r2(e))+t}}function r6(e,t){return{regex:e,deser:([,e,t])=>ty(e,t),groups:t}}function r4(e){return{regex:e,deser:([e])=>e}}function r5(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function r8(e,t){let r=ek(t),n=ek(t,"{2}"),i=ek(t,"{3}"),o=ek(t,"{4}"),a=ek(t,"{6}"),s=ek(t,"{1,2}"),l=ek(t,"{1,3}"),u=ek(t,"{1,6}"),c=ek(t,"{1,9}"),f=ek(t,"{2,4}"),d=ek(t,"{4,6}"),h=e=>({regex:RegExp(r5(e.val)),deser:([e])=>e,literal:!0}),p=(p=>{if(e.literal)return h(p);switch(p.val){case"G":return r3(t.eras("short"),0);case"GG":return r3(t.eras("long"),0);case"y":return rK(u);case"yy":case"kk":return rK(f,tp);case"yyyy":case"kkkk":return rK(o);case"yyyyy":return rK(d);case"yyyyyy":return rK(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return rK(s);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return rK(n);case"MMM":return r3(t.months("short",!0),1);case"MMMM":return r3(t.months("long",!0),1);case"LLL":return r3(t.months("short",!1),1);case"LLLL":return r3(t.months("long",!1),1);case"o":case"S":return rK(l);case"ooo":case"SSS":return rK(i);case"u":return r4(c);case"uu":return r4(s);case"uuu":case"E":case"c":return rK(r);case"a":return r3(t.meridiems(),0);case"EEE":return r3(t.weekdays("short",!1),1);case"EEEE":return r3(t.weekdays("long",!1),1);case"ccc":return r3(t.weekdays("short",!0),1);case"cccc":return r3(t.weekdays("long",!0),1);case"Z":case"ZZ":return r6(RegExp(`([+-]${s.source})(?::(${n.source}))?`),2);case"ZZZ":return r6(RegExp(`([+-]${s.source})(${n.source})?`),2);case"z":return r4(/[a-z_+-/]{1,256}?/i);case" ":return r4(/[^\S\n\r]/);default:return h(p)}})(e)||{invalidReason:rJ};return p.token=e,p}let r7={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function r9(e,t,r){let{type:n,value:i}=e;if("literal"===n){let e=/^\s+$/.test(i);return{literal:!e,val:e?" ":i}}let o=t[n],a=n;"hour"===n&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let s=r7[a];if("object"==typeof s&&(s=s[o]),s)return{literal:!1,val:s}}function ne(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}function nt(e,t,r){let n=e.match(t);if(!n)return[n,{}];{let e={},t=1;for(let i in r)if(e9(r,i)){let o=r[i],a=o.groups?o.groups+1:1;!o.literal&&o.token&&(e[o.token.val[0]]=o.deser(n.slice(t,t+a))),t+=a}return[n,e]}}function nr(e){let t;let r=e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},n=null;return eQ(e.z)||(n=q.create(e.z)),eQ(e.Z)||(n||(n=new eg(e.Z)),t=e.Z),eQ(e.q)||(e.M=(e.q-1)*3+1),eQ(e.h)||(e.h<12&&1===e.a?e.h+=12:12!==e.h||0!==e.a||(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),eQ(e.u)||(e.S=ta(e.u)),[Object.keys(e).reduce((t,n)=>{let i=r(n);return i&&(t[i]=e[n]),t},{}),n,t]}let nn=null;function ni(){return nn||(nn=nF.fromMillis(0x16a2e5618e3)),nn}function no(e,t){if(e.literal)return e;let r=nc(tW.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}function na(e,t){return Array.prototype.concat(...e.map(e=>no(e,t)))}class ns{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=na(tW.parseFormat(t),e),this.units=this.tokens.map(t=>r8(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=ne(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(e){if(!this.isValid)return{input:e,tokens:this.tokens,invalidReason:this.invalidReason};{let[t,r]=nt(e,this.regex,this.handlers),[n,i,o]=r?nr(r):[null,null,void 0];if(e9(r,"a")&&e9(r,"H"))throw new l("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:n,zone:i,specificOffset:o}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function nl(e,t,r){return new ns(e,r).explainFromTokens(t)}function nu(e,t,r){let{result:n,zone:i,specificOffset:o,invalidReason:a}=nl(e,t,r);return[n,i,o,a]}function nc(e,t){if(!e)return null;let r=tW.create(t,e).dtFormatter(ni()),n=r.formatToParts(),i=r.resolvedOptions();return n.map(t=>r9(t,e,i))}let nf="Invalid DateTime",nd=864e13;function nh(e){return new eN("unsupported zone",`the zone "${e.name}" is not supported`)}function np(e){return null===e.weekData&&(e.weekData=e$(e.c)),e.weekData}function nm(e){return null===e.localWeekData&&(e.localWeekData=e$(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ny(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new nF({...r,...t,old:r})}function ng(e,t,r){let n=e-6e4*t,i=r.offset(n);if(t===i)return[n,t];n-=(i-t)*6e4;let o=r.offset(n);return i===o?[n,i]:[e-6e4*Math.min(i,o),Math.max(i,o)]}function nv(e,t){let r=new Date(e+=6e4*t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function nb(e,t,r){return ng(tf(e),t,r)}function nw(e,t){let r=e.o,n=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o={...e.c,year:n,month:i,day:Math.min(e.c.day,tc(n,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=rV.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),[s,l]=ng(tf(o),r,e.zone);return 0!==a&&(s+=a,l=e.zone.offset(s)),{ts:s,o:l}}function nE(e,t,r,n,i,o){let{setZone:a,zone:s}=r;if((!e||0===Object.keys(e).length)&&!t)return nF.invalid(new eN("unparsable",`the input "${i}" can't be parsed as ${n}`));{let n=t||s,i=nF.fromObject(e,{...r,zone:n,specificOffset:o});return a?i:i.setZone(s)}}function nS(e,t,r=!0){return e.isValid?tW.create(em.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nx(e,t){let r=e.c.year>9999||e.c.year<0,n="";return r&&e.c.year>=0&&(n+="+"),n+=tn(e.c.year,r?6:4),t?(n+="-",n+=tn(e.c.month),n+="-"):n+=tn(e.c.month),n+=tn(e.c.day)}function nO(e,t,r,n,i,o){let a=tn(e.c.hour);return t?(a+=":",a+=tn(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(a+=":")):a+=tn(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(a+=tn(e.c.second),0===e.c.millisecond&&n||(a+=".",a+=tn(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset&&!o?a+="Z":e.o<0?(a+="-",a+=tn(Math.trunc(-e.o/60)),a+=":",a+=tn(Math.trunc(-e.o%60))):(a+="+",a+=tn(Math.trunc(e.o/60)),a+=":",a+=tn(Math.trunc(e.o%60)))),o&&(a+="["+e.zone.ianaName+"]"),a}let nT={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},nk={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},n_={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nP=["year","month","day","hour","minute","second","millisecond"],nA=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nM=["year","ordinal","hour","minute","second","millisecond"];function nR(e){let t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new u(e);return t}function nC(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return nR(e)}}function nj(e){return nL[e]||(void 0===n&&(n=eI.now()),nL[e]=e.offset(n)),nL[e]}function nD(e,t){let r,n;let i=eb(t.zone,eI.defaultZone);if(!i.isValid)return nF.invalid(nh(i));let o=em.fromObject(t);if(eQ(e.year))r=eI.now();else{for(let t of nP)eQ(e[t])&&(e[t]=nT[t]);let t=eK(e)||eX(e);if(t)return nF.invalid(t);let o=nj(i);[r,n]=nb(e,o,i)}return new nF({ts:r,zone:i,loc:o,o:n})}function nI(e,t,r){let n=!!eQ(r.round)||r.round,i=(e,i)=>(e=ts(e,n||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(e,i)),o=n=>r.calendary?t.hasSame(e,n)?0:t.startOf(n).diff(e.startOf(n),n).get(n):t.diff(e,n).get(n);if(r.unit)return i(o(r.unit),r.unit);for(let e of r.units){let t=o(e);if(Math.abs(t)>=1)return i(t,e)}return i(e>t?-0:0,r.units[r.units.length-1])}function nN(e){let t={},r;return e.length>0&&"object"==typeof e[e.length-1]?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let nL={};class nF{constructor(e){let t=e.zone||eI.defaultZone,r=e.invalid||(Number.isNaN(e.ts)?new eN("invalid input"):null)||(t.isValid?null:nh(t));this.ts=eQ(e.ts)?eI.now():e.ts;let n=null,i=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[n,i]=[e.old.c,e.old.o];else{let o=e0(e.o)&&!e.old?e.o:t.offset(this.ts);n=(r=Number.isNaN((n=nv(this.ts,o)).year)?new eN("invalid input"):null)?null:n,i=r?null:o}}this._zone=t,this.loc=e.loc||em.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=n,this.o=i,this.isLuxonDateTime=!0}static now(){return new nF({})}static local(){let[e,t]=nN(arguments),[r,n,i,o,a,s,l]=t;return nD({year:r,month:n,day:i,hour:o,minute:a,second:s,millisecond:l},e)}static utc(){let[e,t]=nN(arguments),[r,n,i,o,a,s,l]=t;return e.zone=eg.utcInstance,nD({year:r,month:n,day:i,hour:o,minute:a,second:s,millisecond:l},e)}static fromJSDate(e,t={}){let r=e3(e)?e.valueOf():NaN;if(Number.isNaN(r))return nF.invalid("invalid input");let n=eb(t.zone,eI.defaultZone);return n.isValid?new nF({ts:r,zone:n,loc:em.fromObject(t)}):nF.invalid(nh(n))}static fromMillis(e,t={}){if(e0(e))return e<-nd||e>nd?nF.invalid("Timestamp out of range"):new nF({ts:e,zone:eb(t.zone,eI.defaultZone),loc:em.fromObject(t)});throw new c(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(e0(e))return new nF({ts:1e3*e,zone:eb(t.zone,eI.defaultZone),loc:em.fromObject(t)});throw new c("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};let r=eb(t.zone,eI.defaultZone);if(!r.isValid)return nF.invalid(nh(r));let n=em.fromObject(t),i=tv(e,nC),{minDaysInFirstWeek:o,startOfWeek:a}=eG(i,n),s=eI.now(),u=eQ(t.specificOffset)?r.offset(s):t.specificOffset,c=!eQ(i.ordinal),f=!eQ(i.year),d=!eQ(i.month)||!eQ(i.day),h=f||d,p=i.weekYear||i.weekNumber;if((h||c)&&p)throw new l("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new l("Can't mix ordinal dates with month/day");let m=p||i.weekday&&!h,y,g,v=nv(s,u);m?(y=nA,g=nk,v=e$(v,o,a)):c?(y=nM,g=n_,v=eq(v)):(y=nP,g=nT);let b=!1;for(let e of y)eQ(i[e])?b?i[e]=g[e]:i[e]=v[e]:b=!0;let w=(m?eY(i,o,a):c?eJ(i):eK(i))||eX(i);if(w)return nF.invalid(w);let[E,S]=nb(m?eH(i,o,a):c?eZ(i):i,u,r),x=new nF({ts:E,zone:r,o:S,loc:n});return i.weekday&&h&&e.weekday!==x.weekday?nF.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${x.toISO()}`):x.isValid?x:nF.invalid(x.invalid)}static fromISO(e,t={}){let[r,n]=rS(e);return nE(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[r,n]=rx(e);return nE(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[r,n]=rO(e);return nE(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if(eQ(e)||eQ(t))throw new c("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:i=null}=r,[o,a,s,l]=nu(em.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0}),e,t);return l?nF.invalid(l):nE(o,a,r,`format ${t}`,e,s)}static fromString(e,t,r={}){return nF.fromFormat(e,t,r)}static fromSQL(e,t={}){let[r,n]=rR(e);return nE(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new c("need to specify a reason the DateTime is invalid");let r=e instanceof eN?e:new eN(e,t);if(!eI.throwOnInvalid)return new nF({invalid:r});throw new o(r)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let r=nc(e,em.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return na(tW.parseFormat(e),em.fromObject(t)).map(e=>e.val).join("")}static resetCache(){n=void 0,nL={}}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?np(this).weekYear:NaN}get weekNumber(){return this.isValid?np(this).weekNumber:NaN}get weekday(){return this.isValid?np(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?nm(this).weekday:NaN}get localWeekNumber(){return this.isValid?nm(this).weekNumber:NaN}get localWeekYear(){return this.isValid?nm(this).weekYear:NaN}get ordinal(){return this.isValid?eq(this.c).ordinal:NaN}get monthShort(){return this.isValid?rq.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rq.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rq.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rq.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,t=6e4,r=tf(this.c),n=this.zone.offset(r-e),i=this.zone.offset(r+e),o=this.zone.offset(r-n*t),a=this.zone.offset(r-i*t);if(o===a)return[this];let s=r-o*t,l=r-a*t,u=nv(s,o),c=nv(l,a);return u.hour===c.hour&&u.minute===c.minute&&u.second===c.second&&u.millisecond===c.millisecond?[ny(this,{ts:s}),ny(this,{ts:l})]:[this]}get isInLeapYear(){return tl(this.year)}get daysInMonth(){return tc(this.year,this.month)}get daysInYear(){return this.isValid?tu(this.year):NaN}get weeksInWeekYear(){return this.isValid?th(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?th(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:r,calendar:n}=tW.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(eg.instance(e),t)}toLocal(){return this.setZone(eI.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=eb(e,eI.defaultZone)).equals(this.zone))return this;if(!e.isValid)return nF.invalid(nh(e));{let n=this.ts;if(t||r){let t=e.offset(this.ts),r=this.toObject();[n]=nb(r,t,e)}return ny(this,{ts:n,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return ny(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){let t;if(!this.isValid)return this;let r=tv(e,nC),{minDaysInFirstWeek:n,startOfWeek:i}=eG(r,this.loc),o=!eQ(r.weekYear)||!eQ(r.weekNumber)||!eQ(r.weekday),a=!eQ(r.ordinal),s=!eQ(r.year),u=!eQ(r.month)||!eQ(r.day),c=s||u,f=r.weekYear||r.weekNumber;if((c||a)&&f)throw new l("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new l("Can't mix ordinal dates with month/day");o?t=eH({...e$(this.c,n,i),...r},n,i):eQ(r.ordinal)?(t={...this.toObject(),...r},eQ(r.day)&&(t.day=Math.min(tc(t.year,t.month),t.day))):t=eZ({...eq(this.c),...r});let[d,h]=nb(t,this.o,this.zone);return ny(this,{ts:d,o:h})}plus(e){return this.isValid?ny(this,nw(this,rV.fromDurationLike(e))):this}minus(e){return this.isValid?ny(this,nw(this,rV.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let r={},n=rV.normalizeUnit(e);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===n){if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;tthis.valueOf(),a=rY(o?this:e,o?e:this,i,n);return o?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(nF.now(),e,t)}until(e){return this.isValid?rH.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;let n=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,r)<=n&&n<=i.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||nF.fromObject({},{zone:this.zone}),r=e.padding?thise.valueOf(),Math.min)}static max(...e){if(!e.every(nF.isDateTime))throw new c("max requires all arguments be DateTimes");return e8(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){let{locale:n=null,numberingSystem:i=null}=r;return nl(em.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return nF.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){let{locale:r=null,numberingSystem:n=null}=t;return new ns(em.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0}),e)}static fromFormatParser(e,t,r={}){if(eQ(e)||eQ(t))throw new c("fromFormatParser requires an input string and a format parser");let{locale:n=null,numberingSystem:i=null}=r,o=em.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});if(!o.equals(t.locale))throw new c(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${t.locale}`);let{result:a,zone:s,specificOffset:l,invalidReason:u}=t.explainFromTokens(e);return u?nF.invalid(u):nE(a,s,r,`format ${t.format}`,e,l)}static get DATE_SHORT(){return m}static get DATE_MED(){return y}static get DATE_MED_WITH_WEEKDAY(){return g}static get DATE_FULL(){return v}static get DATE_HUGE(){return b}static get TIME_SIMPLE(){return w}static get TIME_WITH_SECONDS(){return E}static get TIME_WITH_SHORT_OFFSET(){return S}static get TIME_WITH_LONG_OFFSET(){return x}static get TIME_24_SIMPLE(){return O}static get TIME_24_WITH_SECONDS(){return T}static get TIME_24_WITH_SHORT_OFFSET(){return k}static get TIME_24_WITH_LONG_OFFSET(){return _}static get DATETIME_SHORT(){return P}static get DATETIME_SHORT_WITH_SECONDS(){return A}static get DATETIME_MED(){return M}static get DATETIME_MED_WITH_SECONDS(){return R}static get DATETIME_MED_WITH_WEEKDAY(){return C}static get DATETIME_FULL(){return j}static get DATETIME_FULL_WITH_SECONDS(){return D}static get DATETIME_HUGE(){return I}static get DATETIME_HUGE_WITH_SECONDS(){return N}}function nU(e){if(nF.isDateTime(e))return e;if(e&&e.valueOf&&e0(e.valueOf()))return nF.fromJSDate(e);if(e&&"object"==typeof e)return nF.fromObject(e);throw new c(`Unknown datetime argument: ${e}, of type ${typeof e}`)}},14590:(e,t,r)=>{"use strict";r.d(t,{VY:()=>p,rU:()=>f});var n=r(96540),i=r(40573),o=r(42757),a=r(35637),s=r(17542),l=r(94820);let u=(0,n.createContext)(null);function c(){let e=(0,n.useContext)(u);if(null===e){let e=Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,c),e}return e}function f(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)(()=>function(e){let r=(0,i._)(e=>(t(t=>[...t,e]),()=>t(t=>{let r=t.slice(),n=r.indexOf(e);return -1!==n&&r.splice(n,1),r}))),o=(0,n.useMemo)(()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value}),[r,e.slot,e.name,e.props,e.value]);return n.createElement(u.Provider,{value:o},e.children)},[t])]}u.displayName="DescriptionContext";let d="p";function h(e,t){let r=(0,n.useId)(),i=(0,s._)(),{id:u="headlessui-description-".concat(r),...f}=e,h=c(),p=(0,a.P)(t);(0,o.s)(()=>h.register(u),[u,h.register]);let m=i||!1,y=(0,n.useMemo)(()=>({...h.slot,disabled:m}),[h.slot,m]),g={ref:p,...h.props,id:u};return(0,l.Ci)()({ourProps:g,theirProps:f,slot:y,defaultTag:d,name:h.name||"Description"})}let p=Object.assign((0,l.FX)(h),{})},37639:(e,t,r)=>{"use strict";r.d(t,{EN:()=>L});var n,i=r(78917),o=r(7957),a=r(96540),s=r(4809),l=r(40573),u=r(66431),c=r(35637),f=r(76001),d=r(14724),h=r(84411),p=r(29115),m=r(81875),y=r(41193),g=r(94820);let v=null!=(n=a.startTransition)?n:function(e){e()};var b=r(43236),w=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(w||{}),E=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.SetButtonElement=4]="SetButtonElement",e[e.SetPanelElement=5]="SetPanelElement",e))(E||{});let S={0:e=>({...e,disclosureState:(0,m.Y)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},x=(0,a.createContext)(null);function O(e){let t=(0,a.useContext)(x);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,O),t}return t}x.displayName="DisclosureContext";let T=(0,a.createContext)(null);function k(e){let t=(0,a.useContext)(T);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,k),t}return t}T.displayName="DisclosureAPIContext";let _=(0,a.createContext)(null);function P(){return(0,a.useContext)(_)}function A(e,t){return(0,m.Y)(t.type,S,e,t)}_.displayName="DisclosurePanelContext";let M=a.Fragment;function R(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,a.useRef)(null),o=(0,c.P)(t,(0,c.a)(e=>{i.current=e},void 0===e.as||e.as===a.Fragment)),s=(0,a.useReducer)(A,{disclosureState:r?0:1,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:u,buttonId:f},p]=s,v=(0,l._)(e=>{p({type:1});let t=(0,y.T)(i);if(!t||!f)return;let r=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(f):t.getElementById(f);null==r||r.focus()}),b=(0,a.useMemo)(()=>({close:v}),[v]),w=(0,a.useMemo)(()=>({open:0===u,close:v}),[u,v]),E={ref:o},S=(0,g.Ci)();return a.createElement(x.Provider,{value:s},a.createElement(T.Provider,{value:b},a.createElement(d.e,{value:v},a.createElement(h.El,{value:(0,m.Y)(u,{0:h.Uw.Open,1:h.Uw.Closed})},S({ourProps:E,theirProps:n,slot:w,defaultTag:M,name:"Disclosure"})))))}let C="button";function j(e,t){let r=(0,a.useId)(),{id:n="headlessui-disclosure-button-".concat(r),disabled:f=!1,autoFocus:d=!1,...h}=e,[m,y]=O("Disclosure.Button"),v=P(),w=null!==v&&v===m.panelId,E=(0,a.useRef)(null),S=(0,c.P)(E,t,(0,l._)(e=>{if(!w)return y({type:4,element:e})}));(0,a.useEffect)(()=>{if(!w)return y({type:2,buttonId:n}),()=>{y({type:2,buttonId:null})}},[n,y,w]);let x=(0,l._)(e=>{var t;if(w){if(1===m.disclosureState)return;switch(e.key){case b.D.Space:case b.D.Enter:e.preventDefault(),e.stopPropagation(),y({type:0}),null==(t=m.buttonElement)||t.focus()}}else switch(e.key){case b.D.Space:case b.D.Enter:e.preventDefault(),e.stopPropagation(),y({type:0})}}),T=(0,l._)(e=>{e.key===b.D.Space&&e.preventDefault()}),k=(0,l._)(e=>{var t;(0,p.l)(e.currentTarget)||f||(w?(y({type:0}),null==(t=m.buttonElement)||t.focus()):y({type:0}))}),{isFocusVisible:_,focusProps:A}=(0,i.o)({autoFocus:d}),{isHovered:M,hoverProps:R}=(0,o.M)({isDisabled:f}),{pressed:j,pressProps:D}=(0,s.Z)({disabled:f}),I=(0,a.useMemo)(()=>({open:0===m.disclosureState,hover:M,active:j,disabled:f,focus:_,autofocus:d}),[m,M,j,_,f,d]),N=(0,u.c)(e,m.buttonElement),L=w?(0,g.v6)({ref:S,type:N,disabled:f||void 0,autoFocus:d,onKeyDown:x,onClick:k},A,R,D):(0,g.v6)({ref:S,id:n,type:N,"aria-expanded":0===m.disclosureState,"aria-controls":m.panelElement?m.panelId:void 0,disabled:f||void 0,autoFocus:d,onKeyDown:x,onKeyUp:T,onClick:k},A,R,D);return(0,g.Ci)()({ourProps:L,theirProps:h,slot:I,defaultTag:C,name:"Disclosure.Button"})}let D="div",I=g.Ac.RenderStrategy|g.Ac.Static;function N(e,t){let r=(0,a.useId)(),{id:n="headlessui-disclosure-panel-".concat(r),transition:i=!1,...o}=e,[s,u]=O("Disclosure.Panel"),{close:d}=k("Disclosure.Panel"),[p,m]=(0,a.useState)(null),y=(0,c.P)(t,(0,l._)(e=>{v(()=>u({type:5,element:e}))}),m);(0,a.useEffect)(()=>(u({type:3,panelId:n}),()=>{u({type:3,panelId:null})}),[n,u]);let b=(0,h.O_)(),[w,E]=(0,f.p)(i,p,null!==b?(b&h.Uw.Open)===h.Uw.Open:0===s.disclosureState),S=(0,a.useMemo)(()=>({open:0===s.disclosureState,close:d}),[s.disclosureState,d]),x={ref:y,id:n,...(0,f.B)(E)},T=(0,g.Ci)();return a.createElement(h.$x,null,a.createElement(_.Provider,{value:s.panelId},T({ourProps:x,theirProps:o,slot:S,defaultTag:D,features:I,visible:w,name:"Disclosure.Panel"})))}let L=Object.assign((0,g.FX)(R),{Button:(0,g.FX)(j),Panel:(0,g.FX)(N)})},43236:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});var n=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(n||{})},61053:(e,t,r)=>{"use strict";r.d(t,{W1:()=>ew});var n=r(78917),i=r(7957),o=r(96540),a=r(40961),s=r(4809),l=r(42757);function u(e,t){let r=(0,o.useRef)({left:0,top:0});if((0,l.s)(()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(r.current=e)},[e,t]),null==t||!e||t===document.activeElement)return!1;let n=t.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}var c=r(92522),f=r(10183),d=r(40573),h=r(39085),p=r(11972),m=r(97304),y=r(76418),g=r(66431),v=r(57296),b=r(35637);let w=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function E(e){var t,r;let n=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return n;let o=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let a=o?null!=(r=i.innerText)?r:"":n;return w.test(a)&&(a=a.replace(w,"")),a}function S(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():E(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return E(e).trim()}function x(e){let t=(0,o.useRef)(""),r=(0,o.useRef)("");return(0,d._)(()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let o=S(n).trim().toLowerCase();return t.current=i,r.current=o,o})}function O(e){return[e.screenX,e.screenY]}function T(){let e=(0,o.useRef)([-1,-1]);return{wasMoved(t){let r=O(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=O(t)}}}var k=r(76001),_=r(41193);function P(e,t){let{container:r,accept:n,walk:i}=t,a=(0,o.useRef)(n),s=(0,o.useRef)(i);(0,o.useEffect)(()=>{a.current=n,s.current=i},[n,i]),(0,l.s)(()=>{if(!r||!e)return;let t=(0,_.T)(r);if(!t)return;let n=a.current,i=s.current,o=Object.assign(e=>n(e),{acceptNode:n}),l=t.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,o,!1);for(;l.nextNode();)i(l.currentNode)},[r,e,a,s])}var A=r(45360),M=r(84411),R=r(29115);function C(e){throw Error("Unexpected object: "+e)}var j=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(j||{});function D(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=i+1;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;n component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,H),e}return e}function q(e){var t,r,n;let i=null!=(r=null==(t=(0,o.useContext)($))?void 0:t.value)?r:void 0;return(null!=(n=null==e?void 0:e.length)?n:0)>0?[i,...e].filter(Boolean).join(" "):i}function Z(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=q(),[r,n]=(0,o.useState)([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,(0,o.useMemo)(()=>function(e){let t=(0,d._)(e=>(n(t=>[...t,e]),()=>n(t=>{let r=t.slice(),n=r.indexOf(e);return -1!==n&&r.splice(n,1),r}))),r=(0,o.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return o.createElement($.Provider,{value:r},e.children)},[n])]}$.displayName="LabelContext";let G="label";function Y(e,t){var r;let n=(0,o.useId)(),i=H(),a=z(),s=(0,W._)(),{id:u="headlessui-label-".concat(n),htmlFor:c=null!=a?a:null==(r=i.props)?void 0:r.htmlFor,passive:f=!1,...h}=e,p=(0,b.P)(t);(0,l.s)(()=>i.register(u),[u,i.register]);let m=(0,d._)(e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let r=e.getAttribute("aria-disabled");if("true"===r||""===r)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),y=s||!1,g=(0,o.useMemo)(()=>({...i.slot,disabled:y}),[i.slot,y]),v={ref:p,...i.props,id:u,htmlFor:c,onClick:m};return f&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in h&&delete h.onClick),(0,F.Ci)()({ourProps:v,theirProps:h,slot:g,defaultTag:c?G:"div",name:i.name||"Label"})}Object.assign((0,F.FX)(Y),{});var J=r(39704),K=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(K||{}),X=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(X||{}),Q=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(Q||{});function ee(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=(0,N.wl)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=r?n.indexOf(r):null;return -1===i&&(i=null),{items:n,activeItemIndex:i}}let et={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var r,n,i,o,a;if(1===e.menuState)return e;let s={...e,searchQuery:"",activationTrigger:null!=(r=t.trigger)?r:1,__demoMode:!1};if(t.focus===j.Nothing)return{...s,activeItemIndex:null};if(t.focus===j.Specific)return{...s,activeItemIndex:e.items.findIndex(e=>e.id===t.id)};if(t.focus===j.Previous){let r=e.activeItemIndex;if(null!==r){let o=e.items[r].dataRef.current.domRef,a=D(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.items[a].dataRef.current.domRef;if((null==(n=o.current)?void 0:n.previousElementSibling)===t.current||(null==(i=t.current)?void 0:i.previousElementSibling)===null)return{...s,activeItemIndex:a}}}}else if(t.focus===j.Next){let r=e.activeItemIndex;if(null!==r){let n=e.items[r].dataRef.current.domRef,i=D(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.items[i].dataRef.current.domRef;if((null==(o=n.current)?void 0:o.nextElementSibling)===t.current||(null==(a=t.current)?void 0:a.nextElementSibling)===null)return{...s,activeItemIndex:i}}}}let l=ee(e),u=D(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...s,...l,activeItemIndex:u}},3:(e,t)=>{let r=""!==e.searchQuery?0:1,n=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+r).concat(e.items.slice(0,e.activeItemIndex+r)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled}),o=i?e.items.indexOf(i):-1;return -1===o||o===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let r=ee(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...r}},6:(e,t)=>{let r=ee(e,e=>{let r=e.findIndex(e=>e.id===t.id);return -1!==r&&e.splice(r,1),e});return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},er=(0,o.createContext)(null);function en(e){let t=(0,o.useContext)(er);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,en),t}return t}function ei(e,t){return(0,L.Y)(t.type,et,e,t)}er.displayName="MenuContext";let eo=o.Fragment;function ea(e,t){let{__demoMode:r=!1,...n}=e,i=(0,o.useReducer)(ei,{__demoMode:r,menuState:r?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsElement:s,buttonElement:l},u]=i,c=(0,b.P)(t);(0,m.j)(0===a,[l,s],(e,t)=>{u({type:1}),(0,N.Bm)(t,N.MZ.Loose)||(e.preventDefault(),null==l||l.focus())});let f=(0,d._)(()=>{u({type:1})}),h=(0,o.useMemo)(()=>({open:0===a,close:f}),[a,f]),p={ref:c},y=(0,F.Ci)();return o.createElement(A.St,null,o.createElement(er.Provider,{value:i},o.createElement(M.El,{value:(0,L.Y)(a,{0:M.Uw.Open,1:M.Uw.Closed})},y({ourProps:p,theirProps:n,slot:h,defaultTag:eo,name:"Menu"}))))}let es="button";function el(e,t){var r;let l=(0,o.useId)(),{id:u="headlessui-menu-button-".concat(l),disabled:c=!1,autoFocus:f=!1,...h}=e,[p,m]=en("Menu.Button"),y=(0,A.TI)(),v=(0,b.P)(t,(0,A.Xc)(),(0,d._)(e=>m({type:7,element:e}))),w=(0,d._)(e=>{switch(e.key){case B.D.Space:case B.D.Enter:case B.D.ArrowDown:e.preventDefault(),e.stopPropagation(),(0,a.flushSync)(()=>m({type:0})),m({type:2,focus:j.First});break;case B.D.ArrowUp:e.preventDefault(),e.stopPropagation(),(0,a.flushSync)(()=>m({type:0})),m({type:2,focus:j.Last})}}),E=(0,d._)(e=>{e.key===B.D.Space&&e.preventDefault()}),S=(0,d._)(e=>{var t;if((0,R.l)(e.currentTarget))return e.preventDefault();c||(0===p.menuState?((0,a.flushSync)(()=>m({type:1})),null==(t=p.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),m({type:0})))}),{isFocusVisible:x,focusProps:O}=(0,n.o)({autoFocus:f}),{isHovered:T,hoverProps:k}=(0,i.M)({isDisabled:c}),{pressed:_,pressProps:P}=(0,s.Z)({disabled:c}),M=(0,o.useMemo)(()=>({open:0===p.menuState,active:_||0===p.menuState,disabled:c,hover:T,focus:x,autofocus:f}),[p,T,x,_,c,f]),C=(0,F.v6)(y(),{ref:v,id:u,type:(0,g.c)(e,p.buttonElement),"aria-haspopup":"menu","aria-controls":null==(r=p.itemsElement)?void 0:r.id,"aria-expanded":0===p.menuState,disabled:c||void 0,autoFocus:f,onKeyDown:w,onKeyUp:E,onClick:S},O,k,P);return(0,F.Ci)()({ourProps:C,theirProps:h,slot:M,defaultTag:es,name:"Menu.Button"})}let eu="div",ec=F.Ac.RenderStrategy|F.Ac.Static;function ef(e,t){var r,n;let i=(0,o.useId)(),{id:s="headlessui-menu-items-".concat(i),anchor:l,portal:m=!1,modal:g=!0,transition:w=!1,...E}=e,S=(0,A.zn)(l),[x,O]=en("Menu.Items"),[T,_]=(0,A.UF)(S),R=(0,A.G3)(),[C,D]=(0,o.useState)(null),I=(0,b.P)(t,S?T:null,(0,d._)(e=>O({type:8,element:e})),D),L=(0,y.g)(x.itemsElement);S&&(m=!0);let U=(0,M.O_)(),[W,V]=(0,k.p)(w,C,null!==U?(U&M.Uw.Open)===M.Uw.Open:0===x.menuState);(0,p.O)(W,x.buttonElement,()=>{O({type:1})});let z=!x.__demoMode&&g&&0===x.menuState;(0,v.K)(z,L);let $=!x.__demoMode&&g&&0===x.menuState;(0,h.v)($,{allowed:(0,o.useCallback)(()=>[x.buttonElement,x.itemsElement],[x.buttonElement,x.itemsElement])});let H=!u(0!==x.menuState,x.buttonElement)&&W;(0,o.useEffect)(()=>{let e=x.itemsElement;e&&0===x.menuState&&e!==(null==L?void 0:L.activeElement)&&e.focus({preventScroll:!0})},[x.menuState,x.itemsElement,L]),P(0===x.menuState,{container:x.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let q=(0,c.L)(),Z=(0,d._)(e=>{var t,r,n;switch(q.dispose(),e.key){case B.D.Space:if(""!==x.searchQuery)return e.preventDefault(),e.stopPropagation(),O({type:3,value:e.key});case B.D.Enter:if(e.preventDefault(),e.stopPropagation(),O({type:1}),null!==x.activeItemIndex){let{dataRef:e}=x.items[x.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}(0,N.Fh)(x.buttonElement);break;case B.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),O({type:2,focus:j.Next});case B.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),O({type:2,focus:j.Previous});case B.D.Home:case B.D.PageUp:return e.preventDefault(),e.stopPropagation(),O({type:2,focus:j.First});case B.D.End:case B.D.PageDown:return e.preventDefault(),e.stopPropagation(),O({type:2,focus:j.Last});case B.D.Escape:e.preventDefault(),e.stopPropagation(),(0,a.flushSync)(()=>O({type:1})),null==(n=x.buttonElement)||n.focus({preventScroll:!0});break;case B.D.Tab:e.preventDefault(),e.stopPropagation(),(0,a.flushSync)(()=>O({type:1})),(0,N.p9)(x.buttonElement,e.shiftKey?N.BD.Previous:N.BD.Next);break;default:1===e.key.length&&(O({type:3,value:e.key}),q.setTimeout(()=>O({type:4}),350))}}),G=(0,d._)(e=>{e.key===B.D.Space&&e.preventDefault()}),Y=(0,o.useMemo)(()=>({open:0===x.menuState}),[x.menuState]),K=(0,F.v6)(S?R():{},{"aria-activedescendant":null===x.activeItemIndex||null==(r=x.items[x.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(n=x.buttonElement)?void 0:n.id,id:s,onKeyDown:Z,onKeyUp:G,role:"menu",tabIndex:0===x.menuState?0:void 0,ref:I,style:{...E.style,..._,"--button-width":(0,f.L)(x.buttonElement,!0).width},...(0,k.B)(V)}),X=(0,F.Ci)();return o.createElement(J.ZL,{enabled:!!m&&(e.static||W)},X({ourProps:K,theirProps:E,slot:Y,defaultTag:eu,features:ec,visible:H,name:"Menu.Items"}))}let ed=o.Fragment;function eh(e,t){let r=(0,o.useId)(),{id:n="headlessui-menu-item-".concat(r),disabled:i=!1,...a}=e,[s,u]=en("Menu.Item"),c=null!==s.activeItemIndex&&s.items[s.activeItemIndex].id===n,f=(0,o.useRef)(null),h=(0,b.P)(t,f);(0,l.s)(()=>{if(!s.__demoMode&&0===s.menuState&&c&&0!==s.activationTrigger)return(0,I.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[s.__demoMode,f,c,s.menuState,s.activationTrigger,s.activeItemIndex]);let p=x(f),m=(0,o.useRef)({disabled:i,domRef:f,get textValue(){return p()}});(0,l.s)(()=>{m.current.disabled=i},[m,i]),(0,l.s)(()=>(u({type:5,id:n,dataRef:m}),()=>u({type:6,id:n})),[m,n]);let y=(0,d._)(()=>{u({type:1})}),g=(0,d._)(e=>{if(i)return e.preventDefault();u({type:1}),(0,N.Fh)(s.buttonElement)}),v=(0,d._)(()=>{if(i)return u({type:2,focus:j.Nothing});u({type:2,focus:j.Specific,id:n})}),w=T(),E=(0,d._)(e=>{w.update(e),!i&&(c||u({type:2,focus:j.Specific,id:n,trigger:0}))}),S=(0,d._)(e=>{w.wasMoved(e)&&(i||c||u({type:2,focus:j.Specific,id:n,trigger:0}))}),O=(0,d._)(e=>{w.wasMoved(e)&&(i||c&&u({type:2,focus:j.Nothing}))}),[k,_]=Z(),[P,A]=(0,U.rU)(),M=(0,o.useMemo)(()=>({active:c,focus:c,disabled:i,close:y}),[c,i,y]),R={id:n,ref:h,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-labelledby":k,"aria-describedby":P,disabled:void 0,onClick:g,onFocus:v,onPointerEnter:E,onMouseEnter:E,onPointerMove:S,onMouseMove:S,onPointerLeave:O,onMouseLeave:O},C=(0,F.Ci)();return o.createElement(_,null,o.createElement(A,null,C({ourProps:R,theirProps:a,slot:M,defaultTag:ed,name:"Menu.Item"})))}let ep="div";function em(e,t){let[r,n]=Z(),i=e,a={ref:t,"aria-labelledby":r,role:"group"},s=(0,F.Ci)();return o.createElement(n,null,s({ourProps:a,theirProps:i,slot:{},defaultTag:ep,name:"Menu.Section"}))}let ey="header";function eg(e,t){let r=(0,o.useId)(),{id:n="headlessui-menu-heading-".concat(r),...i}=e,a=H();(0,l.s)(()=>a.register(n),[n,a.register]);let s={id:n,ref:t,role:"presentation",...a.props};return(0,F.Ci)()({ourProps:s,theirProps:i,slot:{},defaultTag:ey,name:"Menu.Heading"})}let ev="div";function eb(e,t){let r=e,n={ref:t,role:"separator"};return(0,F.Ci)()({ourProps:n,theirProps:r,slot:{},defaultTag:ev,name:"Menu.Separator"})}let ew=Object.assign((0,F.FX)(ea),{Button:(0,F.FX)(el),Items:(0,F.FX)(ef),Item:(0,F.FX)(eh),Section:(0,F.FX)(em),Heading:(0,F.FX)(eg),Separator:(0,F.FX)(eb)})},39704:(e,t,r)=>{"use strict";r.d(t,{Ee:()=>O,ZL:()=>T,k2:()=>S});var n=r(96540),i=r(40961),o=r(40573),a=r(42757),s=r(64133),l=r(76418),u=r(75269),c=r(35637),f=r(21267),d=r(33537),h=r(94820);function p(e){let t=(0,f.S)(),r=(0,n.useContext)(b),i=(0,l.g)(e),[o,a]=(0,n.useState)(()=>{var e;if(!t&&null!==r)return null!=(e=r.current)?e:null;if(d._.isServer)return null;let n=null==i?void 0:i.getElementById("headlessui-portal-root");if(n)return n;if(null===i)return null;let o=i.createElement("div");return o.setAttribute("id","headlessui-portal-root"),i.body.appendChild(o)});return(0,n.useEffect)(()=>{null!==o&&(null!=i&&i.body.contains(o)||null==i||i.body.appendChild(o))},[o,i]),(0,n.useEffect)(()=>{t||null!==r&&a(r.current)},[r,a,t]),o}let m=n.Fragment,y=(0,h.FX)(function(e,t){let r=e,o=(0,n.useRef)(null),f=(0,c.P)((0,c.a)(e=>{o.current=e}),t),y=(0,l.g)(o),g=p(o),[v]=(0,n.useState)(()=>{var e;return d._.isServer?null:null!=(e=null==y?void 0:y.createElement("div"))?e:null}),b=(0,n.useContext)(E),w=(0,u.g)();(0,a.s)(()=>{!g||!v||g.contains(v)||(v.setAttribute("data-headlessui-portal",""),g.appendChild(v))},[g,v]),(0,a.s)(()=>{if(v&&b)return b.register(v)},[b,v]),(0,s.X)(()=>{var e;g&&v&&(v instanceof Node&&g.contains(v)&&g.removeChild(v),g.childNodes.length<=0&&(null==(e=g.parentElement)||e.removeChild(g)))});let S=(0,h.Ci)();return w&&g&&v?(0,i.createPortal)(S({ourProps:{ref:f},theirProps:r,slot:{},defaultTag:m,name:"Portal"}),v):null});function g(e,t){let r=(0,c.P)(t),{enabled:i=!0,...o}=e,a=(0,h.Ci)();return i?n.createElement(y,{...o,ref:r}):a({ourProps:{ref:r},theirProps:o,slot:{},defaultTag:m,name:"Portal"})}let v=n.Fragment,b=(0,n.createContext)(null);function w(e,t){let{target:r,...i}=e,o={ref:(0,c.P)(t)},a=(0,h.Ci)();return n.createElement(b.Provider,{value:r},a({ourProps:o,theirProps:i,defaultTag:v,name:"Popover.Group"}))}let E=(0,n.createContext)(null);function S(){let e=(0,n.useContext)(E),t=(0,n.useRef)([]),r=(0,o._)(r=>(t.current.push(r),e&&e.register(r),()=>i(r))),i=(0,o._)(r=>{let n=t.current.indexOf(r);-1!==n&&t.current.splice(n,1),e&&e.unregister(r)}),a=(0,n.useMemo)(()=>({register:r,unregister:i,portals:t}),[r,i,t]);return[t,(0,n.useMemo)(()=>function(e){let{children:t}=e;return n.createElement(E.Provider,{value:a},t)},[a])]}let x=(0,h.FX)(g),O=(0,h.FX)(w),T=Object.assign(x,{Group:O})},19130:(e,t,r)=>{"use strict";r.d(t,{_:()=>R,e:()=>C});var n=r(96540),i=r(92522),o=r(40573),a=r(15688),s=r(42757),l=r(8714),u=r(75269),c=r(35637),f=r(76001),d=r(84411),h=r(96615),p=r(81875),m=r(94820);function y(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:O)!==n.Fragment||1===n.Children.count(e.children)}let g=(0,n.createContext)(null);g.displayName="TransitionContext";var v=(e=>(e.Visible="visible",e.Hidden="hidden",e))(v||{});function b(){let e=(0,n.useContext)(g);if(null===e)throw Error("A is used but it is missing a parent or .");return e}function w(){let e=(0,n.useContext)(E);if(null===e)throw Error("A is used but it is missing a parent or .");return e}let E=(0,n.createContext)(null);function S(e){return"children"in e?S(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function x(e,t){let r=(0,l.Y)(e),s=(0,n.useRef)([]),u=(0,a.a)(),c=(0,i.L)(),f=(0,o._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.mK.Hidden,n=s.current.findIndex(t=>{let{el:r}=t;return r===e});-1!==n&&((0,p.Y)(t,{[m.mK.Unmount](){s.current.splice(n,1)},[m.mK.Hidden](){s.current[n].state="hidden"}}),c.microTask(()=>{var e;!S(s)&&u.current&&(null==(e=r.current)||e.call(r))}))}),d=(0,o._)(e=>{let t=s.current.find(t=>{let{el:r}=t;return r===e});return t?"visible"!==t.state&&(t.state="visible"):s.current.push({el:e,state:"visible"}),()=>f(e,m.mK.Unmount)}),h=(0,n.useRef)([]),y=(0,n.useRef)(Promise.resolve()),g=(0,n.useRef)({enter:[],leave:[]}),v=(0,o._)((e,r,n)=>{h.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(t=>{let[r]=t;return r!==e})),null==t||t.chains.current[r].push([e,new Promise(e=>{h.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(g.current[r].map(e=>{let[t,r]=e;return r})).then(()=>e())})]),"enter"===r?y.current=y.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),b=(0,o._)((e,t,r)=>{Promise.all(g.current[t].splice(0).map(e=>{let[t,r]=e;return r})).then(()=>{var e;null==(e=h.current.shift())||e()}).then(()=>r(t))});return(0,n.useMemo)(()=>({children:s,register:d,unregister:f,onStart:v,onStop:b,wait:y,chains:g}),[d,f,s,v,b,g,y])}E.displayName="NestingContext";let O=n.Fragment,T=m.Ac.RenderStrategy;function k(e,t){var r,i;let{transition:a=!0,beforeEnter:l,afterEnter:g,beforeLeave:v,afterLeave:k,enter:_,enterFrom:P,enterTo:A,entered:M,leave:R,leaveFrom:C,leaveTo:j,...D}=e,[I,N]=(0,n.useState)(null),L=(0,n.useRef)(null),F=y(e),U=(0,c.P)(...F?[L,t,N]:null===t?[]:[t]),B=null==(r=D.unmount)||r?m.mK.Unmount:m.mK.Hidden,{show:W,appear:V,initial:z}=b(),[$,H]=(0,n.useState)(W?"visible":"hidden"),q=w(),{register:Z,unregister:G}=q;(0,s.s)(()=>Z(L),[Z,L]),(0,s.s)(()=>{if(B===m.mK.Hidden&&L.current){if(W&&"visible"!==$){H("visible");return}return(0,p.Y)($,{hidden:()=>G(L),visible:()=>Z(L)})}},[$,L,Z,G,W,B]);let Y=(0,u.g)();(0,s.s)(()=>{if(F&&Y&&"visible"===$&&null===L.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[L,$,Y,F]);let J=z&&!V,K=V&&W&&z,X=(0,n.useRef)(!1),Q=x(()=>{X.current||(H("hidden"),G(L))},q),ee=(0,o._)(e=>{X.current=!0;let t=e?"enter":"leave";Q.onStart(L,t,e=>{"enter"===e?null==l||l():"leave"===e&&(null==v||v())})}),et=(0,o._)(e=>{let t=e?"enter":"leave";X.current=!1,Q.onStop(L,t,e=>{"enter"===e?null==g||g():"leave"===e&&(null==k||k())}),"leave"!==t||S(Q)||(H("hidden"),G(L))});(0,n.useEffect)(()=>{F&&a||(ee(W),et(W))},[W,F,a]);let er=!(!a||!F||!Y||J),[,en]=(0,f.p)(er,I,W,{start:ee,end:et}),ei=(0,m.oE)({ref:U,className:(null==(i=(0,h.x)(D.className,K&&_,K&&P,en.enter&&_,en.enter&&en.closed&&P,en.enter&&!en.closed&&A,en.leave&&R,en.leave&&!en.closed&&C,en.leave&&en.closed&&j,!en.transition&&W&&M))?void 0:i.trim())||void 0,...(0,f.B)(en)}),eo=0;"visible"===$&&(eo|=d.Uw.Open),"hidden"===$&&(eo|=d.Uw.Closed),en.enter&&(eo|=d.Uw.Opening),en.leave&&(eo|=d.Uw.Closing);let ea=(0,m.Ci)();return n.createElement(E.Provider,{value:Q},n.createElement(d.El,{value:eo},ea({ourProps:ei,theirProps:D,defaultTag:O,features:T,visible:"visible"===$,name:"Transition.Child"})))}function _(e,t){let{show:r,appear:i=!1,unmount:a=!0,...l}=e,f=(0,n.useRef)(null),h=y(e),p=(0,c.P)(...h?[f,t]:null===t?[]:[t]);(0,u.g)();let v=(0,d.O_)();if(void 0===r&&null!==v&&(r=(v&d.Uw.Open)===d.Uw.Open),void 0===r)throw Error("A is used but it is missing a `show={true | false}` prop.");let[b,w]=(0,n.useState)(r?"visible":"hidden"),O=x(()=>{r||w("hidden")}),[k,_]=(0,n.useState)(!0),P=(0,n.useRef)([r]);(0,s.s)(()=>{!1!==k&&P.current[P.current.length-1]!==r&&(P.current.push(r),_(!1))},[P,r]);let A=(0,n.useMemo)(()=>({show:r,appear:i,initial:k}),[r,i,k]);(0,s.s)(()=>{r?w("visible"):S(O)||null===f.current||w("hidden")},[r,O]);let R={unmount:a},C=(0,o._)(()=>{var t;k&&_(!1),null==(t=e.beforeEnter)||t.call(e)}),j=(0,o._)(()=>{var t;k&&_(!1),null==(t=e.beforeLeave)||t.call(e)}),D=(0,m.Ci)();return n.createElement(E.Provider,{value:O},n.createElement(g.Provider,{value:A},D({ourProps:{...R,as:n.Fragment,children:n.createElement(M,{ref:p,...R,...l,beforeEnter:C,beforeLeave:j})},theirProps:{},defaultTag:n.Fragment,features:T,visible:"visible"===b,name:"Transition"})))}function P(e,t){let r=null!==(0,n.useContext)(g),i=null!==(0,d.O_)();return n.createElement(n.Fragment,null,!r&&i?n.createElement(A,{ref:t,...e}):n.createElement(M,{ref:t,...e}))}let A=(0,m.FX)(_),M=(0,m.FX)(k),R=(0,m.FX)(P),C=Object.assign(A,{Child:R,Root:A})},4809:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(96540),i=r(41193),o=r(92522),a=r(40573);function s(e){let t=e.width/2,r=e.height/2;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function l(e,t){return!(!e||!t||e.rightt.right||e.bottomt.bottom)}function u(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n.useRef)(null),[r,u]=(0,n.useState)(!1),c=(0,o.L)(),f=(0,a._)(()=>{t.current=null,u(!1),c.dispose()}),d=(0,a._)(e=>{if(c.dispose(),null===t.current){t.current=e.currentTarget,u(!0);{let r=(0,i.T)(e.currentTarget);c.addEventListener(r,"pointerup",f,!1),c.addEventListener(r,"pointermove",e=>{t.current&&u(l(s(e),t.current.getBoundingClientRect()))},!1),c.addEventListener(r,"pointercancel",f,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:d,onPointerUp:f,onClick:f}}}},92522:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(96540),i=r(113);function o(){let[e]=(0,n.useState)(i.e);return(0,n.useEffect)(()=>()=>e.dispose(),[e]),e}},10183:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});var n=r(96540),i=r(42757);function o(e){if(null===e)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}function a(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[r,a]=(0,n.useReducer)(()=>({}),{}),s=(0,n.useMemo)(()=>o(e),[e,r]);return(0,i.s)(()=>{if(!e)return;let t=new ResizeObserver(a);return t.observe(e),()=>{t.disconnect()}},[e]),t?{width:"".concat(s.width,"px"),height:"".concat(s.height,"px")}:s}},40573:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(96540),i=r(8714);let o=function(e){let t=(0,i.Y)(e);return n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n{"use strict";r.d(t,{v:()=>f});var n=r(113),i=r(41193),o=r(52899),a=r(42757);let s=new Map,l=new Map;function u(e){var t;let r=null!=(t=l.get(e))?t:0;return l.set(e,r+1),0!==r||(s.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>c(e)}function c(e){var t;let r=null!=(t=l.get(e))?t:1;if(1===r?l.delete(e):l.set(e,r-1),1!==r)return;let n=s.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,s.delete(e))}function f(e){let{allowed:t,disallowed:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=(0,o.S)(e,"inert-others");(0,a.s)(()=>{var e,o;if(!s)return;let a=(0,n.e)();for(let t of null!=(e=null==r?void 0:r())?e:[])t&&a.add(u(t));let l=null!=(o=null==t?void 0:t())?o:[];for(let e of l){if(!e)continue;let t=(0,i.T)(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)l.some(t=>e.contains(t))||a.add(u(e));r=r.parentElement}}return a.dispose},[s,t,r])}},15688:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var n=r(96540),i=r(42757);function o(){let e=(0,n.useRef)(!1);return(0,i.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},52899:(e,t,r)=>{"use strict";r.d(t,{S:()=>u});var n=r(96540);class i extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var o=r(26275),a=r(42757),s=r(50540);let l=new i(()=>(0,o.y)(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let r=this.slice();return r.splice(t,1),r}}));function u(e,t){let r=l.get(t),i=(0,n.useId)(),o=(0,s.P)(r);if((0,a.s)(()=>{if(e)return r.dispatch("ADD",i),()=>r.dispatch("REMOVE",i)},[r,e]),!e)return!1;let u=o.indexOf(i),c=o.length;return -1===u&&(u=c,c+=1),u===c-1}},42757:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var n=r(96540),i=r(33537);let o=(e,t)=>{i._.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}},8714:(e,t,r)=>{"use strict";r.d(t,{Y:()=>o});var n=r(96540),i=r(42757);function o(e){let t=(0,n.useRef)(e);return(0,i.s)(()=>{t.current=e},[e]),t}},11972:(e,t,r)=>{"use strict";r.d(t,{O:()=>a});var n=r(96540),i=r(113),o=r(8714);function a(e,t,r){let a=(0,o.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&r()});(0,n.useEffect)(()=>{if(!e)return;let r=null===t?null:t instanceof HTMLElement?t:t.current;if(!r)return;let n=(0,i.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>a.current(r));e.observe(r),n.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>a.current(r));e.observe(r),n.add(()=>e.disconnect())}return()=>n.dispose()},[t,a,e])}},64133:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var n=r(96540),i=r(20570),o=r(40573);function a(e){let t=(0,o._)(e),r=(0,n.useRef)(!1);(0,n.useEffect)(()=>(r.current=!1,()=>{r.current=!0,(0,i._)(()=>{r.current&&t()})}),[t])}},97304:(e,t,r)=>{"use strict";r.d(t,{j:()=>f});var n=r(96540),i=r(20104),o=r(53483),a=r(8714);function s(e,t,r,i){let o=(0,a.Y)(r);(0,n.useEffect)(()=>{if(e)return document.addEventListener(t,r,i),()=>document.removeEventListener(t,r,i);function r(e){o.current(e)}},[e,t,i])}var l=r(52899),u=r(57132);let c=30;function f(e,t,r){let f=(0,l.S)(e,"outside-click"),d=(0,a.Y)(r),h=(0,n.useCallback)(function(e,r){if(e.defaultPrevented)return;let n=r(e);if(null!==n&&n.getRootNode().contains(n)&&n.isConnected){for(let r of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==r&&(r.contains(n)||e.composed&&e.composedPath().includes(r)))return;return(0,i.Bm)(n,i.MZ.Loose)||-1===n.tabIndex||e.preventDefault(),d.current(e,n)}},[d,t]),p=(0,n.useRef)(null);s(f,"pointerdown",e=>{var t,r;p.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target},!0),s(f,"mousedown",e=>{var t,r;p.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target},!0),s(f,"click",e=>{(0,o.Fr)()||p.current&&(h(e,()=>p.current),p.current=null)},!0);let m=(0,n.useRef)({x:0,y:0});s(f,"touchstart",e=>{m.current.x=e.touches[0].clientX,m.current.y=e.touches[0].clientY},!0),s(f,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-m.current.x)>=c||Math.abs(t.y-m.current.y)>=c))return h(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),(0,u.M)(f,"blur",e=>h(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},76418:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(96540),i=r(41193);function o(){for(var e=arguments.length,t=Array(e),r=0;r(0,i.T)(...t),[...t])}},66431:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(96540);function i(e,t){return(0,n.useMemo)(()=>{var r;if(e.type)return e.type;let n=null!=(r=e.as)?r:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},57296:(e,t,r)=>{"use strict";r.d(t,{K:()=>m});var n=r(50540),i=r(42757),o=r(113),a=r(26275);function s(){let e;return{before(t){var r;let{doc:n}=t,i=n.documentElement;e=Math.max(0,(null!=(r=n.defaultView)?r:window).innerWidth-i.clientWidth)},after(t){let{doc:r,d:n}=t,i=r.documentElement,o=Math.max(0,i.clientWidth-i.offsetWidth),a=Math.max(0,e-o);n.style(i,"paddingRight","".concat(a,"px"))}}}var l=r(53483);function u(){return(0,l.un)()?{before(e){let{doc:t,d:r,meta:n}=e;function i(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}r.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,o.e)();e.style(t.documentElement,"scrollBehavior","auto"),r.add(()=>r.microTask(()=>e.dispose()))}let n=null!=(e=window.scrollY)?e:window.pageYOffset,a=null;r.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:n}=new URL(r.href),o=t.querySelector(n);o&&!i(o)&&(a=o)}catch(e){}},!0),r.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;r.style(t,"overscrollBehavior","contain")}else r.style(e.target,"touchAction","none")}}),r.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName){if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),r.add(()=>{var e;n!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,n),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function c(){return{before(e){let{doc:t,d:r}=e;r.style(t.documentElement,"overflow","hidden")}}}function f(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let d=(0,a.y)(()=>new Map,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:(0,o.e)(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT(e){let{doc:t,d:r,meta:n}=e,i={doc:t,d:r,meta:f(n)},o=[u(),s(),c()];o.forEach(e=>{let{before:t}=e;return null==t?void 0:t(i)}),o.forEach(e=>{let{after:t}=e;return null==t?void 0:t(i)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});function h(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),o=(0,n.P)(d),a=t?o.get(t):void 0,s=!!a&&a.count>0;return(0,i.s)(()=>{if(!(!t||!e))return d.dispatch("PUSH",t,r),()=>d.dispatch("POP",t,r)},[e,t]),s}d.subscribe(()=>{let e=d.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&d.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&d.dispatch("TEARDOWN",r)}});var p=r(52899);function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];h((0,p.S)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}})}},75269:(e,t,r)=>{"use strict";r.d(t,{g:()=>s});var n,i=r(96540),o=r(33537);function a(){let e="undefined"==typeof document;return(0,(n||(n=r.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)}function s(){let e=a(),[t,r]=i.useState(o._.isHandoffComplete);return t&&!1===o._.isHandoffComplete&&r(!1),i.useEffect(()=>{!0!==t&&r(!0)},[t]),i.useEffect(()=>o._.handoff(),[]),!e&&t}},50540:(e,t,r)=>{"use strict";r.d(t,{P:()=>i});var n=r(96540);function i(e){return(0,n.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}},35637:(e,t,r)=>{"use strict";r.d(t,{P:()=>s,a:()=>a});var n=r(96540),i=r(40573);let o=Symbol();function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[o]:t})}function s(){for(var e=arguments.length,t=Array(e),r=0;r{a.current=t},[t]);let s=(0,i._)(e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[o]))?void 0:s}},76001:(e,t,r)=>{"use strict";r.d(t,{B:()=>d,p:()=>h});var n,i,o=r(96540),a=r(113),s=r(92522);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,r]=(0,o.useState)(e),n=(0,o.useCallback)(e=>r(e),[t]),i=(0,o.useCallback)(e=>r(t=>t|e),[t]),a=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:i,hasFlag:a,removeFlag:(0,o.useCallback)(e=>r(t=>t&~e),[r]),toggleFlag:(0,o.useCallback)(e=>r(t=>t^e),[r])}}var u=r(42757),c=r(77836);void 0!==c&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(n=null==c?void 0:c.env)?void 0:n.NODE_ENV)==="test"&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var f=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(f||{});function d(e){let t={};for(let r in e)!0===e[r]&&(t["data-".concat(r)]="");return t}function h(e,t,r,n){let[i,a]=(0,o.useState)(r),{hasFlag:c,addFlag:f,removeFlag:d}=l(e&&i?3:0),h=(0,o.useRef)(!1),m=(0,o.useRef)(!1),y=(0,s.L)();return(0,u.s)(()=>{var i;if(e){if(r&&a(!0),!t){r&&f(3);return}return null==(i=null==n?void 0:n.start)||i.call(n,r),p(t,{inFlight:h,prepare(){m.current?m.current=!1:m.current=h.current,h.current=!0,m.current||(r?(f(3),d(4)):(f(4),d(2)))},run(){m.current?r?(d(3),f(4)):(d(4),f(3)):r?d(1):f(1)},done(){var e;m.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(h.current=!1,d(7),r||a(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})}},[e,r,t,y]),e?[i,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function p(e,t){let{prepare:r,run:n,done:i,inFlight:o}=t,s=(0,a.e)();return y(e,{prepare:r,inFlight:o}),s.nextFrame(()=>{n(),s.requestAnimationFrame(()=>{s.add(m(e,i))})}),s.dispose}function m(e,t){var r,n;let i=(0,a.e)();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===s.length?t():Promise.allSettled(s.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}function y(e,t){let{inFlight:r,prepare:n}=t;if(null!=r&&r.current){n();return}let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}},57132:(e,t,r)=>{"use strict";r.d(t,{M:()=>o});var n=r(96540),i=r(8714);function o(e,t,r,o){let a=(0,i.Y)(r);(0,n.useEffect)(()=>{if(e)return window.addEventListener(t,r,o),()=>window.removeEventListener(t,r,o);function r(e){a.current(e)}},[e,t,o])}},14724:(e,t,r)=>{"use strict";r.d(t,{e:()=>o});var n=r(96540);let i=(0,n.createContext)(()=>{});function o(e){let{value:t,children:r}=e;return n.createElement(i.Provider,{value:t},r)}},17542:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(96540);let i=(0,n.createContext)(void 0);function o(){return(0,n.useContext)(i)}},45360:(e,t,r)=>{"use strict";r.d(t,{G3:()=>m,St:()=>v,TI:()=>p,UF:()=>y,Xc:()=>h,zn:()=>d});var n=r(12744),i=r(51710),o=r(17997),a=r(96540),s=r(92522),l=r(40573),u=r(42757);let c=(0,a.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});c.displayName="FloatingContext";let f=(0,a.createContext)(null);function d(e){return(0,a.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function h(){return(0,a.useContext)(c).setReference}function p(){return(0,a.useContext)(c).getReferenceProps}function m(){let{getFloatingProps:e,slot:t}=(0,a.useContext)(c);return(0,a.useCallback)(function(){for(var r=arguments.length,n=Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,a.useContext)(f),r=(0,a.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var r;return null!=(r=null==t?void 0:t.outerHTML)?r:t})]);(0,u.s)(()=>{null==t||t(null!=r?r:null)},[t,r]);let n=(0,a.useContext)(c);return(0,a.useMemo)(()=>[n.setFloating,e?n.styles:{}],[n.setFloating,e,n.styles])}f.displayName="PlacementContext";let g=4;function v(e){let{children:t,enabled:r=!0}=e,[s,d]=(0,a.useState)(null),[h,p]=(0,a.useState)(0),m=(0,a.useRef)(null),[y,v]=(0,a.useState)(null);b(y);let E=r&&null!==s&&null!==y,{to:S="bottom",gap:x=0,offset:O=0,padding:T=0,inner:k}=w(s,y),[_,P="center"]=S.split(" ");(0,u.s)(()=>{E&&p(0)},[E]);let{refs:A,floatingStyles:M,context:R}=(0,n.we)({open:E,placement:"selection"===_?"center"===P?"bottom":"bottom-".concat(P):"center"===P?"".concat(_):"".concat(_,"-").concat(P),strategy:"absolute",transform:!1,middleware:[(0,i.cY)({mainAxis:"selection"===_?0:x,crossAxis:O}),(0,i.BN)({padding:T}),"selection"!==_&&(0,i.UU)({padding:T}),"selection"===_&&k?(0,n.vW)({...k,padding:T,overflowRef:m,offset:h,minItemsVisible:g,referenceOverflowThreshold:T,onFallbackChange(e){var t,r;if(!e)return;let n=R.elements.floating;if(!n)return;let i=parseFloat(getComputedStyle(n).scrollPaddingBottom)||0,o=Math.min(g,n.childElementCount),a=0,s=0;for(let e of null!=(r=null==(t=R.elements.floating)?void 0:t.childNodes)?r:[])if(e instanceof HTMLElement){let t=e.offsetTop,r=t+e.clientHeight+i,l=n.scrollTop,u=l+n.clientHeight;if(t>=l&&r<=u)o--;else{s=Math.max(0,Math.min(r,u)-Math.max(t,l)),a=e.clientHeight;break}}o>=1&&p(e=>{let t=a*o-s+i;return e>=t?e:t})}}):null,(0,i.Ej)({padding:T,apply(e){let{availableWidth:t,availableHeight:r,elements:n}=e;Object.assign(n.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(r,"px)")})}})].filter(Boolean),whileElementsMounted:o.ll}),[C=_,j=P]=R.placement.split("-");"selection"===_&&(C="selection");let D=(0,a.useMemo)(()=>({anchor:[C,j].filter(Boolean).join(" ")}),[C,j]),I=(0,n.Zx)(R,{overflowRef:m,onChange:p}),{getReferenceProps:N,getFloatingProps:L}=(0,n.bv)([I]),F=(0,l._)(e=>{v(e),A.setFloating(e)});return a.createElement(f.Provider,{value:d},a.createElement(c.Provider,{value:{setFloating:F,setReference:A.setReference,styles:M,getReferenceProps:N,getFloatingProps:L,slot:D}},t))}function b(e){(0,u.s)(()=>{if(!e)return;let t=new MutationObserver(()=>{let t=window.getComputedStyle(e).maxHeight,r=parseFloat(t);if(isNaN(r))return;let n=parseInt(t);isNaN(n)||r!==n&&(e.style.maxHeight="".concat(Math.ceil(r),"px"))});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function w(e,t){var r,n,i;let o=E(null!=(r=null==e?void 0:e.gap)?r:"var(--anchor-gap, 0)",t),a=E(null!=(n=null==e?void 0:e.offset)?n:"var(--anchor-offset, 0)",t),s=E(null!=(i=null==e?void 0:e.padding)?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:a,padding:s}}function E(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=(0,s.L)(),i=(0,l._)((e,t)=>{if(null==e)return[r,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[r,null];let i=x(e,t);return[i,r=>{let o=S(e);{let a=o.map(e=>window.getComputedStyle(t).getPropertyValue(e));n.requestAnimationFrame(function s(){n.nextFrame(s);let l=!1;for(let[e,r]of o.entries()){let n=window.getComputedStyle(t).getPropertyValue(r);if(a[e]!==n){a[e]=n,l=!0;break}}if(!l)return;let u=x(e,t);i!==u&&(r(u),i=u)})}return n.dispose}]}return[r,null]}),o=(0,a.useMemo)(()=>i(e,t)[0],[e,t]),[c=o,f]=(0,a.useState)();return(0,u.s)(()=>{let[r,n]=i(e,t);if(f(r),n)return n(f)},[e,t]),c}function S(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let r=t[1].slice(0,e).trim(),n=t[1].slice(e+1).trim();return n?[r,...S(n)]:[r]}return[]}function x(e,t){let r=document.createElement("div");t.appendChild(r),r.style.setProperty("margin-top","0px","important"),r.style.setProperty("margin-top",e,"important");let n=parseFloat(window.getComputedStyle(r).marginTop)||0;return t.removeChild(r),n}},84411:(e,t,r)=>{"use strict";r.d(t,{$x:()=>l,El:()=>s,O_:()=>a,Uw:()=>o});var n=r(96540);let i=(0,n.createContext)(null);i.displayName="OpenClosedContext";var o=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(o||{});function a(){return(0,n.useContext)(i)}function s(e){let{value:t,children:r}=e;return n.createElement(i.Provider,{value:t},r)}function l(e){let{children:t}=e;return n.createElement(i.Provider,{value:null},t)}},21267:(e,t,r)=>{"use strict";r.d(t,{S:()=>o,a:()=>a});var n=r(96540);let i=(0,n.createContext)(!1);function o(){return(0,n.useContext)(i)}function a(e){return n.createElement(i.Provider,{value:e.force},e.children)}},29115:(e,t,r)=>{"use strict";function n(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(null==t?void 0:t.getAttribute("disabled"))==="";return!(n&&i(r))&&n}function i(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}r.d(t,{l:()=>n})},96615:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}r.d(t,{x:()=>n})},113:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});var n=r(20570);function i(){let e=[],t={addEventListener:(e,r,n,i)=>(e.addEventListener(r,n,i),t.add(()=>e.removeEventListener(r,n,i))),requestAnimationFrame(){for(var e=arguments.length,r=Array(e),n=0;ncancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,r=Array(e),n=0;nt.requestAnimationFrame(...r))},setTimeout(){for(var e=arguments.length,r=Array(e),n=0;nclearTimeout(i))},microTask(){for(var e=arguments.length,r=Array(e),i=0;i{o.current&&r[0]()}),t.add(()=>{o.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(e){let t=i();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},33537:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=Object.defineProperty,i=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o=(e,t,r)=>(i(e,"symbol"!=typeof t?t+"":t,r),r);class a{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}}let s=new a},20104:(e,t,r)=>{"use strict";r.d(t,{BD:()=>l,Bm:()=>p,CU:()=>S,Fh:()=>m,MZ:()=>h,Me:()=>u,Uo:()=>a,iq:()=>f,p9:()=>E,pW:()=>g,wl:()=>w});var n=r(113),i=r(81875),o=r(41193);let a=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(","),s=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var l=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(l||{}),u=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(u||{}),c=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(c||{});function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(a)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(s)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var h=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(h||{});function p(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,o.T)(e))?void 0:t.body)&&(0,i.Y)(r,{0:()=>e.matches(a),1(){let t=e;for(;null!==t;){if(t.matches(a))return!0;t=t.parentElement}return!1}})}function m(e){let t=(0,o.T)(e);(0,n.e)().nextFrame(()=>{t&&!p(t.activeElement,0)&&g(e)})}var y=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(y||{});function g(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let v="textarea,input";function b(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,v))&&r}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let o=n.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E(e,t){return S(f(),t,{relativeTo:e})}function S(e,t){let{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?r?w(e):e:64&t?d(e):f(e);i.length>0&&a.length>1&&(a=a.filter(e=>!i.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),n=null!=n?n:o.activeElement;let s=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(n))-1;if(4&t)return Math.max(0,a.indexOf(n))+1;if(8&t)return a.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,h=a.length,p;do{if(c>=h||c+h<=0)return 0;let e=l+c;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}null==(p=a[e])||p.focus(u),c+=s}while(p!==o.activeElement);return 6&t&&b(p)&&p.select(),2}},81875:(e,t,r)=>{"use strict";function n(e,t){for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,n),a}r.d(t,{Y:()=>n})},20570:(e,t,r)=>{"use strict";function n(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}r.d(t,{_:()=>n})},41193:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(33537);function i(e){return n._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},53483:(e,t,r)=>{"use strict";function n(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return/Android/gi.test(window.navigator.userAgent)}function o(){return n()||i()}r.d(t,{Fr:()=>o,un:()=>n})},94820:(e,t,r)=>{"use strict";r.d(t,{Ac:()=>a,Ci:()=>l,FX:()=>m,mK:()=>s,oE:()=>y,v6:()=>p});var n=r(96540),i=r(96615),o=r(81875),a=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(a||{}),s=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(s||{});function l(){let e=f();return(0,n.useCallback)(t=>u({mergeRefs:e,...t}),[e])}function u(e){let{ourProps:t,theirProps:r,slot:n,defaultTag:i,features:a,visible:s=!0,name:l,mergeRefs:u}=e;u=null!=u?u:d;let f=h(r,t);if(s)return c(f,n,i,l,u);let p=null!=a?a:0;if(2&p){let{static:e=!1,...t}=f;if(e)return c(t,n,i,l,u)}if(1&p){let{unmount:e=!0,...t}=f;return(0,o.Y)(e?0:1,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},n,i,l,u)})}return c(f,n,i,l,u)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,{as:s=r,children:l,refName:u="ref",...c}=g(e,["unmount","static"]),f=void 0!==e.ref?{[u]:e.ref}:{},d="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let p={};if(t){let e=!1,r=[];for(let[n,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&r.push(n.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(p["data-headlessui-state"]=r.join(" "),r))p["data-".concat(e)]=""}if(s===n.Fragment&&(Object.keys(y(c)).length>0||Object.keys(y(p)).length>0)){if(!(0,n.isValidElement)(d)||Array.isArray(d)&&d.length>1){if(Object.keys(y(c)).length>0)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(o,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(y(c)).concat(Object.keys(y(p))).map(e=>" - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"))}else{let e=d.props,t=null==e?void 0:e.className,r="function"==typeof t?function(){for(var e=arguments.length,r=Array(e),n=0;n{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]);return function(){for(var r=arguments.length,n=Array(r),i=0;inull==e))return e.current=n,t}}function d(){for(var e=arguments.length,t=Array(e),r=0;rnull==e)?void 0:e=>{for(let r of t)null!=r&&("function"==typeof r?r(e):r.current=e)}}function h(){for(var e,t=arguments.length,r=Array(t),n=0;n{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in o)Object.assign(i,{[e](t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function v(e){return n.version.split(".")[0]>="19"?e.props.ref:e.ref}},26275:(e,t,r)=>{"use strict";function n(e,t){let r=e(),n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;ae()))}}}r.d(t,{y:()=>n})},13537:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}let o=n.forwardRef(i)},28872:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))}let o=n.forwardRef(i)},87839:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}let o=n.forwardRef(i)},98016:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}let o=n.forwardRef(i)},4724:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}let o=n.forwardRef(i)},99106:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}let o=n.forwardRef(i)},52346:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96540);function i(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M3.75 4.5a.75.75 0 0 1 .75-.75h.75c8.284 0 15 6.716 15 15v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75C18 11.708 12.292 6 5.25 6H4.5a.75.75 0 0 1-.75-.75V4.5Zm0 6.75a.75.75 0 0 1 .75-.75h.75a8.25 8.25 0 0 1 8.25 8.25v.75a.75.75 0 0 1-.75.75H12a.75.75 0 0 1-.75-.75v-.75a6 6 0 0 0-6-6H4.5a.75.75 0 0 1-.75-.75v-.75Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}let o=n.forwardRef(i)},99177:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return i}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=r(50047),i=r(8415);function o(e){return(0,i.isRedirectError)(e)||(0,n.isNotFoundError)(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},unstable_rethrow:function(){return l.unstable_rethrow},useParams:function(){return p},usePathname:function(){return d},useRouter:function(){return h},useSearchParams:function(){return f},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return y},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(96540),i=r(63489),o=r(84168),a=r(93236),s=r(80609),l=r(33774),u=r(88228),c=r(18422);function f(){let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,u.useDynamicRouteParams)("usePathname()"),(0,n.useContext)(o.PathnameContext)}function h(){let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,u.useDynamicRouteParams)("useParams()"),(0,n.useContext)(o.PathParamsContext)}function m(e,t,r,n){let i;if(void 0===r&&(r=!0),void 0===n&&(n=[]),r)i=e[1][t];else{var o;let t=e[1];i=null!=(o=t.children)?o:Object.values(t)[0]}if(!i)return n;let l=i[0],u=(0,a.getSegmentValue)(l);return!u||u.startsWith(s.PAGE_SEGMENT_KEY)?n:(n.push(u),m(i,t,!1,n))}function y(e){void 0===e&&(e="children"),(0,u.useDynamicRouteParams)("useSelectedLayoutSegments()");let t=(0,n.useContext)(i.LayoutRouterContext);return t?m(t.tree,e):null}function g(e){void 0===e&&(e="children"),(0,u.useDynamicRouteParams)("useSelectedLayoutSegment()");let t=y(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return s},RedirectType:function(){return n.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unstable_rethrow:function(){return o.unstable_rethrow}});let n=r(8415),i=r(50047),o=r(63301);class a extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class s extends URLSearchParams{append(){throw new a}delete(){throw new a}set(){throw new a}sort(){throw new a}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return i},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84618:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8415:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return s},getRedirectStatusCodeFromError:function(){return h},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},isRedirectError:function(){return c},permanentRedirect:function(){return u},redirect:function(){return l}});let i=r(4044),o=r(84618),a="NEXT_REDIRECT";function s(e,t,r){void 0===r&&(r=o.RedirectStatusCode.TemporaryRedirect);let n=Error(a);return n.digest=a+";"+t+";"+e+";"+r+";",n}function l(e,t){let r=i.actionAsyncStorage.getStore();throw s(e,t||((null==r?void 0:r.isAction)?"push":"replace"),o.RedirectStatusCode.TemporaryRedirect)}function u(e,t){throw void 0===t&&(t="replace"),s(e,t,o.RedirectStatusCode.PermanentRedirect)}function c(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,i=t.slice(2,-2).join(";"),s=Number(t.at(-2));return r===a&&("replace"===n||"push"===n)&&"string"==typeof i&&!isNaN(s)&&s in o.RedirectStatusCode}function f(e){return c(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!c(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function h(e){if(!c(e))throw Error("Not a redirect error");return Number(e.digest.split(";").at(-2))}!function(e){e.push="push",e.replace="replace"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93236:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95950:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HMR_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return o},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r}});let i="refresh",o="navigate",a="restore",s="server-patch",l="prefetch",u="hmr-refresh",c="server-action";!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(r||(r={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return i}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function i(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return s}});let n=r(78837),i=r(89222),o=r(78216),a=r(97092);function s(e){if((0,a.isNextRouterError)(e)||(0,o.isBailoutToCSRError)(e)||(0,n.isDynamicUsageError)(e)||(0,i.isPostpone)(e))throw e;e instanceof Error&&"cause"in e&&s(e.cause)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34078:(e,t,r)=>{"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(26094),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(79394),i=r(48673),o=r(74848),a=i._(r(96540)),s=n._(r(40961)),l=n._(r(23248)),u=r(93297),c=r(83436),f=r(72454);r(84636);let d=r(34671),h=n._(r(701)),p=r(64293),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/observability-labs/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function y(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:u,className:c,style:f,fetchPriority:d,placeholder:h,loading:m,unoptimized:v,fill:b,onLoadRef:w,onLoadingCompleteRef:E,setBlurComplete:S,setShowAltText:x,sizesInput:O,onLoad:T,onError:k,..._}=e,P=(0,a.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&y(e,h,w,E,S,v,O))},[r,h,w,E,S,k,v,O]),A=(0,p.useMergedRef)(t,P);return(0,o.jsx)("img",{..._,...g(d),loading:m,width:l,height:s,decoding:u,"data-nimg":b?"fill":"1",className:c,style:f,sizes:i,srcSet:n,src:r,ref:A,onLoad:e=>{y(e.currentTarget,h,w,E,S,v,O)},onError:e=>{x(!0),"empty"!==h&&S(!0),k&&k(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=!(0,a.useContext)(d.RouterContext),n=(0,a.useContext)(f.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let y=(0,a.useRef)(l);(0,a.useEffect)(()=>{y.current=l},[l]);let[g,w]=(0,a.useState)(!1),[E,S]=(0,a.useState)(!1),{props:x,meta:O}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:g,showAltText:E});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...x,unoptimized:O.unoptimized,placeholder:O.placeholder,fill:O.fill,onLoadRef:p,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:S,sizesInput:e.sizes,ref:t}),O.priority?(0,o.jsx)(b,{isAppRouter:r,imgAttributes:x}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let n=r(79394),i=r(74848),o=n._(r(96540)),a=r(86846),s=r(67262),l=r(15543),u=r(4881),c=r(83912),f=r(34671),d=r(63489),h=r(73479),p=r(34078),m=r(75371),y=r(95950),g=r(64293),v=new Set;function b(e,t,r,n,i,o){if(o||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck&&!o){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function w(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function E(e,t,r,n,i,a,l,u,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(w(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let d=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:u,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};c?o.default.startTransition(d):d()}function S(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let x=o.default.forwardRef(function(e,t){let r,n;let{href:s,as:l,children:v,prefetch:w=null,passHref:x,replace:O,shallow:T,scroll:k,locale:_,onClick:P,onMouseEnter:A,onTouchStart:M,legacyBehavior:R=!1,...C}=e;r=v,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let j=o.default.useContext(f.RouterContext),D=o.default.useContext(d.AppRouterContext),I=null!=j?j:D,N=!j,L=!1!==w,F=null===w?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:U,as:B}=o.default.useMemo(()=>{if(!j){let e=S(s);return{href:e,as:l?S(l):e}}let[e,t]=(0,a.resolveHref)(j,s,!0);return{href:e,as:l?(0,a.resolveHref)(j,l):t||e}},[j,s,l]),W=o.default.useRef(U),V=o.default.useRef(B);R&&(n=o.default.Children.only(r));let z=R?n&&"object"==typeof n&&n.ref:t,[$,H,q]=(0,h.useIntersection)({rootMargin:"200px"}),Z=o.default.useCallback(e=>{(V.current!==B||W.current!==U)&&(q(),V.current=B,W.current=U),$(e)},[B,U,q,$]),G=(0,g.useMergedRef)(Z,z);o.default.useEffect(()=>{I&&H&&L&&b(I,U,B,{locale:_},{kind:F},N)},[B,U,H,_,L,null==j?void 0:j.locale,I,N,F]);let Y={ref:G,onClick(e){R||"function"!=typeof P||P(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),I&&!e.defaultPrevented&&E(e,I,U,B,O,T,k,_,N)},onMouseEnter(e){R||"function"!=typeof A||A(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&(L||!N)&&b(I,U,B,{locale:_,priority:!0,bypassPrefetchedCheck:!0},{kind:F},N)},onTouchStart:function(e){R||"function"!=typeof M||M(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&(L||!N)&&b(I,U,B,{locale:_,priority:!0,bypassPrefetchedCheck:!0},{kind:F},N)}};if((0,u.isAbsoluteUrl)(B))Y.href=B;else if(!R||x||"a"===n.type&&!("href"in n.props)){let e=void 0!==_?_:null==j?void 0:j.locale,t=(null==j?void 0:j.isLocaleDomain)&&(0,p.getDomainLocale)(B,e,null==j?void 0:j.locales,null==j?void 0:j.domainLocales);Y.href=t||(0,m.addBasePath)((0,c.addLocale)(B,e,null==j?void 0:j.defaultLocale))}return R?o.default.cloneElement(n,Y):(0,i.jsx)("a",{...C,...Y,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let n=r(96540),i=r(89820),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}function u(e,t,r){let{id:n,observer:i,elements:o}=l(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}function c(e){let{rootRef:t,rootMargin:r,disabled:a}=e,s=a||!o,[l,c]=(0,n.useState)(!1),f=(0,n.useRef)(null),d=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(s||l)return;let e=f.current;if(e&&e.tagName)return u(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,r,t,l,f.current]),[d,l,(0,n.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64293:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(96540);function i(e,t){let r=(0,n.useRef)(()=>{}),i=(0,n.useRef)(()=>{});return(0,n.useMemo)(()=>e&&t?n=>{null===n?(r.current(),i.current()):(r.current=o(e,n),i.current=o(t,n))}:e||t,[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return f}}),r(84636);let n=r(97688),i=r(83436);function o(e){return void 0!==e.default}function a(e){return void 0!==e.src}function s(e){return!!e&&"object"==typeof e&&(o(e)||a(e))}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}function c(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=u(t,i,a),f=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:r,quality:o,width:l[f]})}}function f(e,t){let r,a,u,{src:f,sizes:d,unoptimized:h=!1,priority:p=!1,loading:m,className:y,quality:g,width:v,height:b,fill:w=!1,style:E,overrideSrc:S,onLoad:x,onLoadingComplete:O,placeholder:T="empty",blurDataURL:k,fetchPriority:_,decoding:P="async",layout:A,objectFit:M,objectPosition:R,lazyBoundary:C,lazyRoot:j,...D}=e,{imgConf:I,showAltText:N,blurComplete:L,defaultLoader:F}=t,U=I||i.imageConfigDefault;if("allSizes"in U)r=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t);r={...U,allSizes:e,deviceSizes:t}}if(void 0===F)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let B=D.loader||F;delete D.loader,delete D.srcSet;let W="__next_img_default"in B;if(W){if("custom"===r.loader)throw Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=B;B=t=>{let{config:r,...n}=t;return e(n)}}if(A){"fill"===A&&(w=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];t&&(E={...E,...t});let r=e[A];r&&!d&&(d=r)}let V="",z=l(v),$=l(b);if(s(f)){let e=o(f)?f.default:f;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(a=e.blurWidth,u=e.blurHeight,k=k||e.blurDataURL,V=e.src,!w){if(z||$){if(z&&!$){let t=z/e.width;$=Math.round(e.height*t)}else if(!z&&$){let t=$/e.height;z=Math.round(e.width*t)}}else z=e.width,$=e.height}}let H=!p&&("lazy"===m||void 0===m);(!(f="string"==typeof f?f:V)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,H=!1),r.unoptimized&&(h=!0),W&&f.endsWith(".svg")&&!r.dangerouslyAllowSVG&&(h=!0);let q=l(g),Z=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:R}:{},N?{}:{color:"transparent"},E),G=L||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:z,heightInt:$,blurWidth:a,blurHeight:u,blurDataURL:k||"",objectFit:Z.objectFit})+'")':'url("'+T+'")',Y=G?{backgroundSize:Z.objectFit||"cover",backgroundPosition:Z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},J=c({config:r,src:f,unoptimized:h,width:z,quality:q,sizes:d,loader:B});return{props:{...D,loading:H?"lazy":m,fetchPriority:_,width:z,height:$,decoding:P,className:y,style:{...Z,...Y},sizes:J.sizes,srcSet:J.srcSet,src:S||J.src},meta:{unoptimized:h,priority:p,placeholder:T,fill:w}}}},97688:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,l=i?40*i:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"",c=u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none";return"%3Csvg xmlns='https://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+c+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},61709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(79394),i=r(93297),o=r(64709),a=n._(r(701));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/observability-labs/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=o.Image},701:(e,t)=>{"use strict";function r(e){let{config:t,src:r,width:n,quality:i}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},18422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let n=r(48673)._(r(96540)),i=n.default.createContext(null);function o(e){let t=(0,n.useContext)(i);t&&t(e)}},2928:e=>{var t="/";!function(){var r={675:function(e,t){"use strict";t.byteLength=u,t.toByteArray=f,t.fromByteArray=p;for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function u(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n}function c(e,t,r){return(t+r)*3/4-r}function f(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i(c(e,a,s)),f=0,d=s>0?a-4:a;for(r=0;r>16&255,u[f++]=t>>8&255,u[f++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[f++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t),u}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,r){for(var n=[],i=t;il?l:s+a));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50;var a=0x7fffffff;function s(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function l(e){if(e>a)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return h(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return p(e,t);if(ArrayBuffer.isView(e))return m(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return y(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);var i=g(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function d(e,t,r){return(f(e),e<=0)?l(e):void 0!==t?"string"==typeof r?l(e).fill(t,r):l(e).fill(t):l(e)}function h(e){return f(e),l(e<0?0:0|v(e))}function p(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|w(e,t),n=l(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function m(e){for(var t=e.length<0?0:0|v(e.length),r=l(t),n=0;n=a)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function w(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(e).length;default:if(i)return n?-1:q(e).length;t=(""+t).toLowerCase(),i=!0}}function E(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return N(this,t,r);case"base64":return R(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,r);default:if(n)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function S(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function x(e,t,r,n,i){if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),X(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:O(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):O(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function O(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;os&&(r=s-l),o=r;o>=0;o--){for(var f=!0,d=0;di&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return D(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=s(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return d(e,t,r)},u.allocUnsafe=function(e){return h(e)},u.allocUnsafeSlow=function(e){return h(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(K(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),K(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);ir&&(e+=" ... "),""},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(K(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r),f=0;f>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return k(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return P(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,r);default:if(o)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var j=4096;function D(e){var t=e.length;if(t<=j)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn)&&(r=n);for(var i="",o=t;or)throw RangeError("Trying to access beyond buffer length")}function B(e,t,r,n,i,o){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function W(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function V(e,t,r,n,o){return t=+t,r>>>=0,o||W(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function z(e,t,r,n,o){return t=+t,r>>>=0,o||W(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||U(e,t,this.length);for(var n=this[e],i=1,o=0;++o>>=0,t>>>=0,r||U(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||U(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||U(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return(e>>>=0,t||U(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||U(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||U(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||U(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||U(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;B(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;B(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);B(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);B(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||B(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,r){return V(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return V(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return z(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return z(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function Z(e){for(var t=[],r=0;r>8,i.push(r%256),i.push(n);return i}function Y(e){return n.toByteArray(H(e))}function J(e,t,r,n){for(var i=0;i=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function X(e){return e!=e}var Q=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,d=23===i?5960464477539062e-23:0,h=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*m}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}},a=!0;try{r[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab=t+"/";var o=i(72);e.exports=o}()},35766:e=>{var t="/";!function(){"use strict";var r={864:function(e){var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function i(e){console&&console.warn&&console.warn(e)}t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=v,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){if(l(r),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]),void 0===s)s=a[t]=r,++e._eventsCount;else if("function"==typeof s?s=a[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=u(e))>0&&s.length>o&&!s.warned){s.warned=!0;var o,a,s,c=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,i(c)}return e}function f(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?g(i):m(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=Array(t),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else for(var u=l.length,c=m(l,u),r=0;r=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():y(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0==arguments.length){var i,o=Object.keys(r);for(n=0;n=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}},a=!0;try{r[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab=t+"/";var o=i(864);e.exports=o}()},50471:(e,t,r)=>{var n="/",i=r(77836);!function(){var t={782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},646:function(e){"use strict";let t={};function r(e,r,n){function i(e,t,n){return"string"==typeof r?r:r(e,t,n)}n||(n=Error);class o extends n{constructor(e,t,r){super(i(e,t,r))}}o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function n(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let r=e.length;return(e=e.map(e=>String(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}function i(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function o(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function a(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){let s,l;if("string"==typeof t&&i(t,"not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be",o(e," argument"))l=`The ${e} ${s} ${n(t,"type")}`;else{let r=a(e,".")?"property":"argument";l=`The "${e}" ${r} ${s} ${n(t,"type")}`}return l+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(709),a=r(337);r(782)(c,o);for(var s=n(a.prototype),l=0;l0){if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===d.prototype||(t=p(t)),n)s.endEmitted?T(e,new O):R(e,s,t,!0);else if(s.ended)T(e,new S);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?R(e,s,t,!1):U(e,s)):R(e,s,t,!1)}}else n||(s.reading=!1,U(e,s));return!s.ended&&(s.length=j?e=j:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function I(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=D(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function N(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,F(e)))}}function L(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(F,e))}function F(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,q(e)}function U(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(B,e,t))}function B(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function z(e){a("readable nexttick read 0"),e.read(0)}function $(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(H,e,t))}function H(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),q(e),t.flowing&&!t.reading&&e.read(0)}function q(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function Z(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function G(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(Y,t,e))}function Y(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function J(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return a("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?G(this):L(this),null;if(0===(e=I(e,r))&&r.ended)return 0===r.length&&G(this),null;var i=r.needReadable;return a("need readable",i),(0===r.length||r.length-e0?Z(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&G(this)),null!==t&&this.emit("data",t),t},A.prototype._read=function(e){T(this,new x("_read()"))},A.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,a("pipe count=%d opts=%j",n.pipesCount,t);var o=t&&!1===t.end||e===i.stdout||e===i.stderr?g:l;function s(e,t){a("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function l(){a("onend"),e.end()}n.endEmitted?i.nextTick(o):r.once("end",o),e.on("unpipe",s);var u=W(r);e.on("drain",u);var f=!1;function d(){a("cleanup"),e.removeListener("close",m),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",h),f=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}function h(t){a("ondata");var i=e.write(t);a("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==J(n.pipes,e))&&!f&&(a("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(t){a("onerror",t),g(),e.removeListener("error",p),0===c(e,"error")&&T(e,t)}function m(){e.removeListener("finish",y),g()}function y(){a("onfinish"),e.removeListener("close",m),g()}function g(){a("unpipe"),r.unpipe(e)}return r.on("data",h),_(e,"error",p),e.once("close",m),e.once("finish",y),e.emit("pipe",r),n.flowing||(a("pipe resume"),r.resume()),e},A.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,a("on readable",n.length,n.reading),n.length?L(this):n.reading||i.nextTick(z,this)),r},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var r=f.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(V,this),r},A.prototype.removeAllListeners=function(e){var t=f.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&i.nextTick(V,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,$(this,e)),e.paused=!1,this},A.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){a("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!=i)&&(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new O(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),P.prototype._write=function(e,t,r){r(new v("_write()"))},P.prototype._writev=null,P.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||$(this,n,r),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),P.prototype.destroy=p.destroy,P.prototype._undestroy=p.undestroy,P.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o,a=r(698),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[f]=null,e[s]=null,e[l]=null,t(p(r,!1)))}}function y(e){i.nextTick(m,e)}function g(e,t){return function(r,n){e.then(function(){if(t[c]){r(p(void 0,!0));return}t[d](r,n)},n)}}var v=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((n(o={get stream(){return this[h]},next:function(){var e,t=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise(function(e,r){i.nextTick(function(){t[u]?r(t[u]):e(p(void 0,!0))})});var n=this[f];if(n)e=new Promise(g(n,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(p(o,!1));e=new Promise(this[d])}return this[f]=e,e}},Symbol.asyncIterator,function(){return this}),n(o,"return",function(){var e=this;return new Promise(function(t,r){e[h].destroy(null,function(e){if(e){r(e);return}t(p(void 0,!0))})})}),o),v),w=function(e){var t,r=Object.create(b,(n(t={},h,{value:e,writable:!0}),n(t,s,{value:null,writable:!0}),n(t,l,{value:null,writable:!0}),n(t,u,{value:null,writable:!0}),n(t,c,{value:e._readableState.endEmitted,writable:!0}),n(t,d,{value:function(e,t){var n=r[h].read();n?(r[f]=null,r[s]=null,r[l]=null,e(p(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[f]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[f]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[l]=null,n(p(void 0,!0))),r[c]=!0}),e.on("readable",y.bind(null,r)),r};e.exports=w},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),r=this.head,n=0;r;)d(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:f,value:function(e,t){return c(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},25:function(e){"use strict";function t(e,t){var o=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(a,this,e)):i.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?o._writableState?o._writableState.errorEmitted?i.nextTick(n,o):(o._writableState.errorEmitted=!0,i.nextTick(r,o,e)):i.nextTick(r,o,e):t?(i.nextTick(n,o),t(e)):i.nextTick(n,o)})),this}function r(e,t){a(e,t),n(e)}function n(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}function s(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:o,errorOrDestroy:s}},698:function(e,t,r){"use strict";var n=r(646).q.ERR_STREAM_PREMATURE_CLOSE;function i(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=Array(r),i=0;i0,function(t){e||(e=t),t&&o.forEach(f),a||(o.forEach(f),i(e))})});return r.reduce(d)}e.exports=p},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;function i(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}function o(e,t,r,o){var a=i(t,o,r);if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new n(o?r:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},678:function(e,t,r){e.exports=r(781)},55:function(e,t,r){var n=r(300),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},173:function(e,t,r){e.exports=i;var n=r(361).EventEmitter;function i(){n.call(this)}r(782)(i,n),i.Readable=r(709),i.Writable=r(337),i.Duplex=r(403),i.Transform=r(170),i.PassThrough=r(889),i.finished=r(698),i.pipeline=r(442),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},704:function(e,t,r){"use strict";var n=r(55).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=f,t=4;break;case"base64":this.text=y,this.end=g,t=3;break;default:this.write=v,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,r){var n=t.length-1;if(n=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function c(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function f(e){var t=this.lastTotal-this.lastNeed,r=c(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function d(e,t){var r=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function y(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r{var n="/",i=r(2928).Buffer,o=r(77836);!function(){var t={992:function(e){e.exports=function(e,r,n){if(e.filter)return e.filter(r,n);if(null==e||"function"!=typeof r)throw TypeError();for(var i=[],o=0;o-1?i(r):r}},139:function(e,t,r){"use strict";var n=r(212),i=r(192),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(n,a,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var f=function(){return s(n,o,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},181:function(e){"use strict";e.exports=EvalError},545:function(e){"use strict";e.exports=Error},22:function(e){"use strict";e.exports=RangeError},803:function(e){"use strict";e.exports=ReferenceError},182:function(e){"use strict";e.exports=SyntaxError},202:function(e){"use strict";e.exports=TypeError},284:function(e){"use strict";e.exports=URIError},144:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=D(e),n=r.length>0?r[0]:"",i=I("%"+n+"%",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(n=c[0],P(r,_([0,1],c)));for(var f=1,d=!0;f=r.length){var g=h(a,p);a=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[p]}else d=k(a,p),a=a[p];d&&!s&&(E[o]=a)}}return a}},14:function(e){"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof r)}},942:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(773);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},773:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==n||!0!==o.enumerable)return!1}return!0}},115:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(832);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},832:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==n||!0!==o.enumerable)return!1}return!0}},270:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(212);e.exports=o.call(n,i)},782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},157:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,n=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r.call(e)},i=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},o=function(){return n(arguments)}();n.isLegacyArguments=i,e.exports=o?n:i},391:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.getPrototypeOf,a=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=a?o(a):{};e.exports=function(e){return"function"==typeof e&&(!!n.test(r.call(e))||(i?o(e)===s:"[object GeneratorFunction]"===t.call(e)))}},994:function(e,t,n){"use strict";var i=n(144),o=n(349),a=n(256),s=a("Object.prototype.toString"),l=n(942)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r-1)}},369:function(e){e.exports=function(e){return e instanceof i}},584:function(e,t,r){"use strict";var n=r(157),i=r(391),o=r(490),a=r(994);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(l)var p=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||W(e)}function b(e){return"Uint8Array"===o(e)}function w(e){return"Uint8ClampedArray"===o(e)}function E(e){return"Uint16Array"===o(e)}function S(e){return"Uint32Array"===o(e)}function x(e){return"Int8Array"===o(e)}function O(e){return"Int16Array"===o(e)}function T(e){return"Int32Array"===o(e)}function k(e){return"Float32Array"===o(e)}function _(e){return"Float64Array"===o(e)}function P(e){return"BigInt64Array"===o(e)}function A(e){return"BigUint64Array"===o(e)}function M(e){return"[object Map]"===c(e)}function R(e){return"undefined"!=typeof Map&&(M.working?M(e):e instanceof Map)}function C(e){return"[object Set]"===c(e)}function j(e){return"undefined"!=typeof Set&&(C.working?C(e):e instanceof Set)}function D(e){return"[object WeakMap]"===c(e)}function I(e){return"undefined"!=typeof WeakMap&&(D.working?D(e):e instanceof WeakMap)}function N(e){return"[object WeakSet]"===c(e)}function L(e){return N(e)}function F(e){return"[object ArrayBuffer]"===c(e)}function U(e){return"undefined"!=typeof ArrayBuffer&&(F.working?F(e):e instanceof ArrayBuffer)}function B(e){return"[object DataView]"===c(e)}function W(e){return"undefined"!=typeof DataView&&(B.working?B(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=g,t.isArrayBufferView=v,t.isUint8Array=b,t.isUint8ClampedArray=w,t.isUint16Array=E,t.isUint32Array=S,t.isInt8Array=x,t.isInt16Array=O,t.isInt32Array=T,t.isFloat32Array=k,t.isFloat64Array=_,t.isBigInt64Array=P,t.isBigUint64Array=A,M.working="undefined"!=typeof Map&&M(new Map),t.isMap=R,C.working="undefined"!=typeof Set&&C(new Set),t.isSet=j,D.working="undefined"!=typeof WeakMap&&D(new WeakMap),t.isWeakMap=I,N.working="undefined"!=typeof WeakSet&&N(new WeakSet),t.isWeakSet=L,F.working="undefined"!=typeof ArrayBuffer&&F(new ArrayBuffer),t.isArrayBuffer=U,B.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&B(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=W;var V="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function z(e){return"[object SharedArrayBuffer]"===c(e)}function $(e){return void 0!==V&&(void 0===z.working&&(z.working=z(new V)),z.working?z(e):e instanceof V)}function H(e){return"[object AsyncFunction]"===c(e)}function q(e){return"[object Map Iterator]"===c(e)}function Z(e){return"[object Set Iterator]"===c(e)}function G(e){return"[object Generator]"===c(e)}function Y(e){return"[object WebAssembly.Module]"===c(e)}function J(e){return y(e,f)}function K(e){return y(e,d)}function X(e){return y(e,h)}function Q(e){return l&&y(e,p)}function ee(e){return u&&y(e,m)}function et(e){return J(e)||K(e)||X(e)||Q(e)||ee(e)}function er(e){return"undefined"!=typeof Uint8Array&&(U(e)||$(e))}t.isSharedArrayBuffer=$,t.isAsyncFunction=H,t.isMapIterator=q,t.isSetIterator=Z,t.isGeneratorObject=G,t.isWebAssemblyCompiledModule=Y,t.isNumberObject=J,t.isStringObject=K,t.isBooleanObject=X,t.isBigIntObject=Q,t.isSymbolObject=ee,t.isBoxedPrimitive=et,t.isAnyArrayBuffer=er,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},177:function(e,t,r){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),w(r)?n.showHidden=r:r&&t._extend(n,r),k(n.showHidden)&&(n.showHidden=!1),k(n.depth)&&(n.depth=2),k(n.colors)&&(n.colors=!1),k(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),h(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function f(e,t){return e}function d(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function h(e,r,n){if(e.customInspect&&r&&R(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o=r.inspect(n,e);return O(o)||(o=h(e,o,n)),o}var a=p(e,r);if(a)return a;var s=Object.keys(r),l=d(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),M(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return m(r);if(0===s.length){if(R(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(_(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(A(r))return e.stylize(Date.prototype.toString.call(r),"date");if(M(r))return m(r)}var c="",f=!1,w=["{","}"];return(b(r)&&(f=!0,w=["[","]"]),R(r)&&(c=" [Function"+(r.name?": "+r.name:"")+"]"),_(r)&&(c=" "+RegExp.prototype.toString.call(r)),A(r)&&(c=" "+Date.prototype.toUTCString.call(r)),M(r)&&(c=" "+m(r)),0!==s.length||f&&0!=r.length)?n<0?_(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),i=f?y(e,r,n,l,s):s.map(function(t){return g(e,r,n,l,t,f)}),e.seen.pop(),v(i,c,w)):w[0]+c+w[1]}function p(e,t){if(k(t))return e.stylize("undefined","undefined");if(O(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return x(t)?e.stylize(""+t,"number"):w(t)?e.stylize(""+t,"boolean"):E(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function y(e,t,r,n,i){for(var o=[],a=0,s=t.length;ae.seen.indexOf(l.value)?(s=E(r)?h(e,l.value,null):h(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),k(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function v(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function b(e){return Array.isArray(e)}function w(e){return"boolean"==typeof e}function E(e){return null===e}function S(e){return null==e}function x(e){return"number"==typeof e}function O(e){return"string"==typeof e}function T(e){return"symbol"==typeof e}function k(e){return void 0===e}function _(e){return P(e)&&"[object RegExp]"===j(e)}function P(e){return"object"==typeof e&&null!==e}function A(e){return P(e)&&"[object Date]"===j(e)}function M(e){return P(e)&&("[object Error]"===j(e)||e instanceof Error)}function R(e){return"function"==typeof e}function C(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function j(e){return Object.prototype.toString.call(e)}function D(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var r=o.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){}}return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(584),t.isArray=b,t.isBoolean=w,t.isNull=E,t.isNullOrUndefined=S,t.isNumber=x,t.isString=O,t.isSymbol=T,t.isUndefined=k,t.isRegExp=_,t.types.isRegExp=_,t.isObject=P,t.isDate=A,t.types.isDate=A,t.isError=M,t.types.isNativeError=M,t.isFunction=R,t.isPrimitive=C,t.isBuffer=r(369);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var e=new Date,t=[D(e.getHours()),D(e.getMinutes()),D(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",N(),t.format.apply(t,arguments))},t.inherits=r(782),t._extend=function(e,t){if(!t||!P(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var F="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function U(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function B(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r{var __dirname="/";!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicUsageError",{enumerable:!0,get:function(){return s}});let n=r(99177),i=r(78216),o=r(97092),a=r(88228),s=e=>(0,n.isDynamicServerError)(e)||(0,i.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||(0,a.isDynamicPostpone)(e)},78126:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{METADATA_BOUNDARY_NAME:function(){return r},OUTLET_BOUNDARY_NAME:function(){return i},VIEWPORT_BOUNDARY_NAME:function(){return n}});let r="__next_metadata_boundary__",n="__next_viewport_boundary__",i="__next_outlet_boundary__"},88228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return O},abortAndThrowOnSynchronousRequestDataAccess:function(){return S},abortOnSynchronousPlatformIOAccess:function(){return w},accessedDynamicData:function(){return C},annotateDynamicAccess:function(){return L},consumeDynamicAccess:function(){return j},createDynamicTrackingState:function(){return d},createDynamicValidationState:function(){return h},createPostponedAbortSignal:function(){return N},formatDynamicAPIAccesses:function(){return D},getFirstDynamicReason:function(){return p},isDynamicPostpone:function(){return _},isPrerenderInterruptedError:function(){return R},markCurrentScopeAsDynamic:function(){return m},postponeWithTracking:function(){return T},throwIfDisallowedDynamic:function(){return H},throwToInterruptStaticGeneration:function(){return g},trackAllowedDynamicAccess:function(){return z},trackDynamicDataInDynamicRender:function(){return v},trackFallbackParamAccessed:function(){return y},trackSynchronousPlatformIOAccessInDev:function(){return E},trackSynchronousRequestDataAccessInDev:function(){return x},useDynamicRouteParams:function(){return F}});let n=c(r(96540)),i=r(99177),o=r(97653),a=r(14740),s=r(80679),l=r(52249),u=r(78126);function c(e){return e&&e.__esModule?e:{default:e}}let f="function"==typeof n.default.unstable_postpone;function d(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function h(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function p(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function m(e,t,r){if((!t||"cache"!==t.type&&"unstable-cache"!==t.type)&&!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw new o.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(t){if("prerender-ppr"===t.type)T(e.route,r,t.dynamicTracking);else if("prerender-legacy"===t.type){t.revalidate=0;let n=new i.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}}function y(e,t){let r=a.workUnitAsyncStorage.getStore();r&&"prerender-ppr"===r.type&&T(e.route,t,r.dynamicTracking)}function g(e,t,r){let n=new i.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function v(e,t){t&&"cache"!==t.type&&"unstable-cache"!==t.type&&("prerender"===t.type||"prerender-legacy"===t.type)&&(t.revalidate=0)}function b(e,t,r){let n=M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let i=r.dynamicTracking;i&&i.dynamicAccesses.push({stack:i.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function w(e,t,r,n){let i=n.dynamicTracking;return i&&null===i.syncDynamicErrorWithStack&&(i.syncDynamicExpression=t,i.syncDynamicErrorWithStack=r),b(e,t,n)}function E(e){e.prerenderPhase=!1}function S(e,t,r,n){let i=n.dynamicTracking;throw i&&null===i.syncDynamicErrorWithStack&&(i.syncDynamicExpression=t,i.syncDynamicErrorWithStack=r,!0===n.validating&&(i.syncDynamicLogged=!0)),b(e,t,n),M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}let x=E;function O({reason:e,route:t}){let r=a.workUnitAsyncStorage.getStore();T(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function T(e,t,r){I(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),n.default.unstable_postpone(k(e,t))}function k(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function _(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&P(e.message)}function P(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===P(k("%%%","^^^")))throw Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js");let A="NEXT_PRERENDER_INTERRUPTED";function M(e){let t=Error(e);return t.digest=A,t}function R(e){return"object"==typeof e&&null!==e&&e.digest===A&&"name"in e&&"message"in e&&e instanceof Error}function C(e){return e.length>0}function j(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function D(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: ${t}`))}function I(){if(!f)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function N(e){I();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}function L(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function F(e){if("undefined"==typeof window){let t=s.workAsyncStorage.getStore();if(t&&t.isStaticGeneration&&t.fallbackRouteParams&&t.fallbackRouteParams.size>0){let r=a.workUnitAsyncStorage.getStore();r&&("prerender"===r.type?n.default.use((0,l.makeHangingPromise)(r.renderSignal,e)):"prerender-ppr"===r.type?T(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&g(e,t,r))}}}let U=/\n\s+at Suspense \(\)/,B=RegExp(`\\n\\s+at ${u.METADATA_BOUNDARY_NAME}[\\n\\s]`),W=RegExp(`\\n\\s+at ${u.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),V=RegExp(`\\n\\s+at ${u.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function z(e,t,r,n,i){if(!V.test(t)){if(B.test(t)){r.hasDynamicMetadata=!0;return}if(W.test(t)){r.hasDynamicViewport=!0;return}if(U.test(t)){r.hasSuspendedDynamic=!0;return}if(n.syncDynamicErrorWithStack||i.syncDynamicErrorWithStack){r.hasSyncDynamicErrors=!0;return}else{let n=$(`Route "${e}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,t);r.dynamicErrors.push(n);return}}}function $(e,t){let r=Error(e);return r.stack="Error: "+e+t,r}function H(e,t,r,n){let i,a,s;if(r.syncDynamicErrorWithStack?(i=r.syncDynamicErrorWithStack,a=r.syncDynamicExpression,s=!0===r.syncDynamicLogged):n.syncDynamicErrorWithStack?(i=n.syncDynamicErrorWithStack,a=n.syncDynamicExpression,s=!0===n.syncDynamicLogged):(i=null,a=void 0,s=!1),t.hasSyncDynamicErrors&&i)throw s||console.error(i),new o.StaticGenBailoutError;let l=t.dynamicErrors;if(l.length){for(let e=0;e{"use strict";function r(e,t){let r=new Promise((r,n)=>{e.addEventListener("abort",()=>{n(Error(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`unstable_after\`, or similar functions you may observe this error and you should handle it in that context.`))},{once:!0})});return r.catch(n),r}function n(){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeHangingPromise",{enumerable:!0,get:function(){return r}})},89222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isPostpone",{enumerable:!0,get:function(){return n}});let r=Symbol.for("react.postpone");function n(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}},13368:(e,t,r)=>{e.exports=r(23248)},29965:(e,t,r)=>{e.exports=r(61709)},91106:(e,t,r)=>{e.exports=r(58444)},76424:(e,t,r)=>{e.exports=r(93597)},86715:(e,t,r)=>{e.exports=r(74009)},92861:(e,t,r)=>{var n=r(2928),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},83141:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=f,t=4;break;case"base64":this.text=y,this.end=g,t=3;break;default:this.write=v,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,r){var n=t.length-1;if(n=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function c(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function f(e){var t=this.lastTotal-this.lastNeed,r=c(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function d(e,t){var r=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function y(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r{"use strict";r.d(t,{QP:()=>X});let n="-",i=e=>{let t=l(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{let r=e.split(n);return""===r[0]&&1!==r.length&&r.shift(),o(r,t)||s(e)},getConflictingClassGroupIds:(e,t)=>{let n=r[e]||[];return t&&i[e]?[...n,...i[e]]:n}}},o=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],i=t.nextPart.get(r),a=i?o(e.slice(1),i):void 0;if(a)return a;if(0===t.validators.length)return;let s=e.join(n);return t.validators.find(({validator:e})=>e(s))?.classGroupId},a=/^\[(.+)\]$/,s=e=>{if(a.test(e)){let t=a.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},l=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),r).forEach(([e,r])=>{u(r,n,e,t)}),n},u=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:c(t,e)).classGroupId=r;return}if("function"==typeof e){if(f(e)){u(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,i])=>{u(i,c(t,e),r,n)})})},c=(e,t)=>{let r=e;return t.split(n).forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},f=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,h=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,i=(i,o)=>{r.set(i,o),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}},p="!",m=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,i=t[0],o=t.length,a=e=>{let r;let a=[],s=0,l=0;for(let u=0;ul?r-l:void 0}};return r?e=>r({className:e,parseClassName:a}):a},y=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},g=e=>({cache:h(e.cacheSize),parseClassName:m(e),...i(e)}),v=/\s+/,b=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(v),s="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:f}=r(t),d=!!f,h=n(d?c.substring(0,f):c);if(!h){if(!d||!(h=n(c))){s=t+(s.length>0?" "+s:s);continue}d=!1}let m=y(l).join(":"),g=u?m+p:m,v=g+h;if(o.includes(v))continue;o.push(v);let b=i(h,d);for(let e=0;e0?" "+s:s)}return s};function w(){let e,t,r=0,n="";for(;r{let t;if("string"==typeof e)return e;let r="";for(let n=0;nt(e),e()))).cache.get,i=r.cache.set,o=s,s(a)}function s(e){let t=n(e);if(t)return t;let o=b(e,r);return i(e,o),o}return function(){return o(w.apply(null,arguments))}}let x=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},O=/^\[(?:([a-z-]+):)?(.+)\]$/i,T=/^\d+\/\d+$/,k=new Set(["px","full","screen"]),_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,P=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,R=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>D(e)||k.has(e)||T.test(e),j=e=>Z(e,"length",G),D=e=>!!e&&!Number.isNaN(Number(e)),I=e=>Z(e,"number",D),N=e=>!!e&&Number.isInteger(Number(e)),L=e=>e.endsWith("%")&&D(e.slice(0,-1)),F=e=>O.test(e),U=e=>_.test(e),B=new Set(["length","size","percentage"]),W=e=>Z(e,B,Y),V=e=>Z(e,"position",Y),z=new Set(["image","url"]),$=e=>Z(e,z,K),H=e=>Z(e,"",J),q=()=>!0,Z=(e,t,r)=>{let n=O.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},G=e=>P.test(e)&&!A.test(e),Y=()=>!1,J=e=>M.test(e),K=e=>R.test(e);Symbol.toStringTag;let X=S(()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),n=x("brightness"),i=x("borderColor"),o=x("borderRadius"),a=x("borderSpacing"),s=x("borderWidth"),l=x("contrast"),u=x("grayscale"),c=x("hueRotate"),f=x("invert"),d=x("gap"),h=x("gradientColorStops"),p=x("gradientColorStopPositions"),m=x("inset"),y=x("margin"),g=x("opacity"),v=x("padding"),b=x("saturate"),w=x("scale"),E=x("sepia"),S=x("skew"),O=x("space"),T=x("translate"),k=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",F,t],A=()=>[F,t],M=()=>["",C,j],R=()=>["auto",D,F],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",F],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[D,F];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[C,j],blur:["none","",U,F],brightness:K(),borderColor:[e],borderRadius:["none","","full",U,F],borderSpacing:A(),borderWidth:M(),contrast:K(),grayscale:Y(),hueRotate:K(),invert:Y(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[L,j],inset:P(),margin:P(),opacity:K(),padding:A(),saturate:K(),scale:K(),sepia:Y(),skew:K(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),F]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",N,F]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",N,F]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",N,F]},F]}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[N,F]},F]}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...G()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...G(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...G(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,t]}],"min-w":[{"min-w":[F,t,"min","max","fit"]}],"max-w":[{"max-w":[F,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[F,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",I]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",D,I]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,j]}],"underline-offset":[{"underline-offset":["auto",C,F]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",W]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[C,F]}],"outline-w":[{outline:[C,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[C,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,H]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",U,F]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[N,F]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,j,I]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},52075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},4044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(52075)},64054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return s}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return i?new i:new n}function a(e){return i?i.bind(e):n.bind(e)}function s(){return i?i.snapshot():function(e,...t){return e(...t)}}},17828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},80679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorage}});let n=r(17828)},74931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},14740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return i},getPrerenderResumeDataCache:function(){return o},getRenderResumeDataCache:function(){return a},workUnitAsyncStorage:function(){return n.workUnitAsyncStorage}});let n=r(74931);function i(e){let t=n.workUnitAsyncStorage.getStore();if(t){if("request"===t.type)return t;if("prerender"===t.type||"prerender-ppr"===t.type||"prerender-legacy"===t.type)throw Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`);if("cache"===t.type)throw Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`);if("unstable-cache"===t.type)throw Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`)}throw Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`)}function o(e){return"prerender-legacy"!==e.type&&"cache"!==e.type&&"unstable-cache"!==e.type?"request"===e.type?e.devWarmupPrerenderResumeDataCache:e.prerenderResumeDataCache:null}function a(e){return"prerender-legacy"!==e.type&&"cache"!==e.type&&"unstable-cache"!==e.type?"request"===e.type?e.renderResumeDataCache:e.prerenderResumeDataCache:null}}}]);