PageSourceSearch

https://www.vox.com/_next/static/chunks/2qnonr5eig0oz.js

js vox.com collected 2026-10-01 07:49:14 UTC 112,618 bytes, 9 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1bbb02a8-d57f-1de7-986a-306354887e38")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,136817,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>t])},653892,730098,e=>{"use strict";function t(e,n){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,n)}e.s(["default",0,function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}],653892),e.s(["default",0,function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}],730098)},912953,992486,561646,e=>{"use strict";let t,n=["top","right","bottom","left"],r=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,o=Math.max,a=Math.round,s=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function p(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e,t,n){void 0===n&&(n=!1);let r=d(e),i=h(p(e)),o=v(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=x(a)),[a,x(a)]}function _(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let m=["left","right"],b=["right","left"],y=["top","bottom"],w=["bottom","top"];function x(e){let t=f(e);return u[t]+e.slice(t.length)}function O(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,a=p(t),s=h(p(t)),l=v(s),u=f(t),c="y"===a,g=i.x+i.width/2-o.width/2,_=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2;switch(u){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:_};break;case"left":r={x:i.x-o.width,y:_};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[s]-=m*(n&&c?-1:1);break;case"end":r[s]+=m*(n&&c?-1:1)}return r}async function E(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:h=!1,padding:v=0}=c(t,e),p=O(v),g=s[h?"floating"===d?"reference":"floating":d],_=S(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),m="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},w=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:b,strategy:l}):m);return{top:(_.top-w.top+p.top)/y.y,bottom:(w.bottom-_.bottom+p.bottom)/y.y,left:(_.left-w.left+p.left)/y.x,right:(w.right-_.right+p.right)/y.x}}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:E},l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=C(u,r,l),d=r,h=0,v={};for(let n=0;n<o.length;n++){let p=o[n];if(!p)continue;let{name:g,fn:_}=p,{x:m,y:b,data:y,reset:w}=await _({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:v,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=m?m:c,f=null!=b?b:f,v[g]={...v[g],...y},w&&h<50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}
2):w.rects),{x:c,y:f}=C(u,d,l)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:v}};function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return n.some(t=>e[t]>=0)}function j(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-n}}let P=new Set(["left","top"]);async function T(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=f(n),s=d(n),l="y"===p(n),u=P.has(a)?-1:1,h=o&&l?-1:1,v=c(t,e),{mainAxis:g,crossAxis:_,alignmentAxis:m}="number"==typeof v?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return s&&"number"==typeof m&&(_="end"===s?-1*m:m),l?{x:_*h,y:g*u}:{x:g*u,y:_*h}}function N(){return"u">typeof window}function L(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function D(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!N()&&(e instanceof Node||e instanceof M(e).Node)}function B(e){return!!N()&&(e instanceof Element||e instanceof M(e).Element)}function F(e){return!!N()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function I(e){return!(!N()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}function U(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function H(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let K=/transform|translate|scale|rotate|perspective|filter/,G=/paint|layout|strict|content/,q=e=>!!e&&"none"!==e;function W(e){let t=B(e)?X(e):e;return q(t.transform)||q(t.translate)||q(t.scale)||q(t.rotate)||q(t.perspective)||!z()&&(q(t.backdropFilter)||q(t.filter))||K.test(t.willChange||"")||G.test(t.contain||"")}function z(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function $(e){return/^(html|body|#document)$/.test(L(e))}function X(e){return M(e).getComputedStyle(e)}function Y(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===L(e))return e;let t=e.assignedSlot||e.parentNode||I(e)&&e.host||D(e);return I(t)?t.host:t}function J(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=Z(t);return $(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&U(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=M(i);if(!o)return t.concat(i,J(i,[],n));{let e=Q(a);return t.concat(a,a.visualViewport||[],U(i)?i:[],e&&n?J(e):[])}}function Q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=X(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=F(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,l=a(n)!==o||a(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function et(e){return B(e)?e:e.contextElement}function en(e){let t=et(e);if(!F(t))return l(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),s=(o?a(n.width):n.width)/r,u=(o?a(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let er=l(0);function ei(e){let t=M(e);return z()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=et(e),s=l(1);t&&(r?B(r)&&(s=en(r)):s=en(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===M(a))&&i)?ei(a):l(0),c=(o.left+u.x)/s.x,f=(o.top+u.y)/s.y,d=o.width/s.x,h=o.height/s.y;if(a){let e=M(a),t=r&&B(r)?M(r):r,n=e,i=Q(n);for(;i&&r&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=X(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,h*=e.y,c+=o,f+=a,i=Q(n=M(i))}}return S({width:d,height:h,x:c,y:f})}function ea(e,t){let n=Y(e).scrollLeft;return t?t.left+n:eo(D(e)).left+n}function es(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ea(e,n),y:n.top+t.scrollTop}}function el(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=M(e),r=D(e),i=n.visualVie
2wport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=z();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ea(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t){let t,n,a,s,l,u,c;r=D(e),t=D(r),n=Y(r),a=r.ownerDocument.body,s=o(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),l=o(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),u=-n.scrollLeft+ea(r),c=-n.scrollTop,"rtl"===X(a).direction&&(u+=o(t.clientWidth,a.clientWidth)-s),i={width:s,height:l,x:u,y:c}}else if(B(t)){let e,r,o,a,s,u;r=(e=eo(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,a=F(t)?en(t):l(1),s=t.clientWidth*a.x,u=t.clientHeight*a.y,i={width:s,height:u,x:o*a.x,y:r*a.y}}else{let n=ei(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(i)}function eu(e){return"static"===X(e).position}function ec(e,t){if(!F(e)||"fixed"===X(e).position)return null;if(t)return t(e);let n=e.offsetParent;return D(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=M(e);if(H(e))return r;if(!F(e)){let t=Z(e);for(;t&&!$(t);){if(B(t)&&!eu(t))return t;t=Z(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(L(n)))&&eu(i);)i=ec(i,t);return i&&$(i)&&eu(i)&&!W(i)?r:i||function(e){let t=Z(e);for(;F(t)&&!$(t);){if(W(t))return t;if(H(t))break;t=Z(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),i=D(t),o="fixed"===n,a=eo(e,!0,o,t),s={scrollLeft:0,scrollTop:0},u=l(0);if(r||!r&&!o)if(("body"!==L(t)||U(i))&&(s=Y(t)),r){let e=eo(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ea(i));o&&!r&&i&&(u.x=ea(i));let c=!i||r||o?l(0):es(i,s);return{x:a.left+s.scrollLeft-u.x-c.x,y:a.top+s.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eh={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=D(r),s=!!t&&H(t.floating);if(r===a||s&&o)return n;let u={scrollLeft:0,scrollTop:0},c=l(1),f=l(0),d=F(r);if((d||!d&&!o)&&(("body"!==L(r)||U(a))&&(u=Y(r)),d)){let e=eo(r);c=en(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let h=!a||d||o?l(0):es(a,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+h.x,y:n.y*c.y-u.scrollTop*c.y+f.y+h.y}},getDocumentElement:D,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,s=[..."clippingAncestors"===n?H(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=J(e,[],!1).filter(e=>B(e)&&"body"!==L(e)),i=null,o="fixed"===X(e).position,a=o?Z(e):e;for(;B(a)&&!$(a);){let t=X(a),n=W(a);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||U(a)&&!n&&function e(t,n){let r=Z(t);return!(r===n||!B(r)||$(r))&&("fixed"===X(r).position||e(r,n))}(e,a)))?i=t:r=r.filter(e=>e!==a),a=Z(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=el(t,s[0],a),u=l.top,c=l.right,f=l.bottom,d=l.left;for(let e=1;e<s.length;e++){let n=el(t,s[e],a);u=o(n.top,u),c=i(n.right,c),f=i(n.bottom,f),d=o(n.left,d)}return{width:c-d,height:f-u,x:d,y:u}},getOffsetParent:ef,getElementRects:ed,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:B,isRTL:function(e){return"rtl"===X(e).direction}};function ev(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ep=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,l=await T(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},eg=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:a,platform:s}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:d={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...v}=c(e,t),g={x:n,y:r},_=await s.detectOverflow(t,v),m=p(f(a)),b=h(m),y=g[b],w=g[m];if(l){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",n=y+_[e],r=y-_[t];y=o(n,i(y,r))}if(u){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=w+_[e],r=w-_[t];w=o(n,i(w,r))}let x=d.fn({...t,[b]:y,[m]:w});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[b]:l,[m]:u}}}}}},e_=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let a,s,{placement:l,rects:u,platform:h,elements:v}=t,{apply:g=()=>{},..._}=c(e,t),m=await h.detectOverflow(t,_),b=f(l),y=d(l),w="y"===p(l),{width:x,height:O}=u.floating;"top"===b||"bottom"===b?(a=b,s=y===(await (null==h.isRTL?void 0:h.isRTL(v.floating))?"start":"end")?"left":"right"):(s=b,a="end"===y?"top":"bottom");let S=O-m.top-m.bottom,C=x-m.left-m.right,E=i(O-m[a],S),A=i(x-m[s],C),k=!t.middlewareData.shift,R=E,j=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(j=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(R=S),k&&!y){let e=o(m.left,0),t=o(m.right,0),n=o(m.top,0),r=o(m.bottom,0);w?j=x-2*(0!==e||0!==t?e+t:o(m.left,m.right)):R=O-2*(0!==n||0!==r?n+r:o(m.top,m.bottom))}await g({...t,availableWidth:j,availableHeight:R});let P=await h.getDimensions(v.floating);return x!==P.width||O!==P.height?{reset:{rects:!0}}:{}}}},em=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:a,rects:s,platform:l,elements:u,middlewareData:f}=t,{element:g,padding:_=0}=c(e,t)||{};if(null==g)return{};let m=O(_),b={x:n,y:r},y=h(p(a)),w=v(y),x=await l.getDimensions(g),S="y"===y,C=S?"clientHeight":"clientWidth",E=s.reference[w]+s.reference[y]-b[y]-s.floating[w],A=b[y]-s.reference[y],k=await (null==l.getOffsetParent?void 0:l.getOffsetParent(g)),R=k?k[C]:0;R&&await (null==l.isElement?void 0:l.isElement(k))||(R=u.floating[C]||s.floating[w]);let j=R/2-x[w]/2-1,P=i(m[S?"top":"left"],j),T=i(m[S?"bottom":"right"],j),N=R-x[w]-T,L=R/2-x[w]/2+(E/2-A/2),M=o(P,i(L,N)),D=!f.arrow&&null!=d(a)&&L!==M&&s.reference[w]/2-(L<P?P:T)-x[w]/2<0,V=D?L<P?L-P:L-N:0;return{[y]:b[y]+V,data:{[y]:M,centerOffset:L-M-V,...D&&{alignmentOffset:V}},reset:D}}}),eb=(e,t,n)=>{let r=new Map,i={platform:eh,...n},o={...i.platform,_c:r};return A(e,t,{...i,platform:o})};e.s(["arrow",0,em,"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,a;let{rects:s,middlewareData:l,placement:u,platform:h,elements:v}=t,{crossAxis:p=!1,alignment:m,allowedPlacements:b=r,autoAlignment:y=!0,...w}
2=c(e,t),x=void 0!==m||b===r?((a=m||null)?[...b.filter(e=>d(e)===a),...b.filter(e=>d(e)!==a)]:b.filter(e=>f(e)===e)).filter(e=>!a||d(e)===a||!!y&&_(e)!==e):b,O=await h.detectOverflow(t,w),S=(null==(n=l.autoPlacement)?void 0:n.index)||0,C=x[S];if(null==C)return{};let E=g(C,s,await (null==h.isRTL?void 0:h.isRTL(v.floating)));if(u!==C)return{reset:{placement:x[0]}};let A=[O[f(C)],O[E[0]],O[E[1]]],k=[...(null==(i=l.autoPlacement)?void 0:i.overflows)||[],{placement:C,overflows:A}],R=x[S+1];if(R)return{data:{index:S+1,overflows:k},reset:{placement:R}};let j=k.map(e=>{let t=d(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),P=(null==(o=j.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||j[0][0];return P!==u?{data:{index:S+1,overflows:k},reset:{placement:P}}:{}}}},"autoUpdate",0,function(e,t,n,r){let a;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,h=et(e),v=l||u?[...h?J(h):[],...t?J(t):[]]:[];v.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let p=h&&f?function(e,t){let n,r=null,a=D(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),l();let d=e.getBoundingClientRect(),{left:h,top:v,width:p,height:g}=d;if(c||t(),!p||!g)return;let _={rootMargin:-s(v)+"px "+-s(a.clientWidth-(h+p))+"px "+-s(a.clientHeight-(v+g))+"px "+-s(h)+"px",threshold:o(0,i(1,f))||1},m=!0;function b(t){let r=t[0].intersectionRatio;if(r!==f){if(!m)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ev(d,e.getBoundingClientRect())||u(),m=!1}try{r=new IntersectionObserver(b,{..._,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(b,_)}r.observe(e)}(!0),l}(h,n):null,g=-1,_=null;c&&(_=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&_&&t&&(_.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=_)||e.observe(t)})),n()}),h&&!d&&_.observe(h),t&&_.observe(t));let m=d?eo(e):null;return d&&function t(){let r=eo(e);m&&!ev(m,r)&&n(),m=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;v.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=_)||e.disconnect(),_=null,d&&cancelAnimationFrame(a)}},"computePosition",0,eb,"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let s,l,u,{placement:h,middlewareData:v,rects:O,initialPlacement:S,platform:C,elements:E}=t,{mainAxis:A=!0,crossAxis:k=!0,fallbackPlacements:R,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:T=!0,...N}=c(e,t);if(null!=(n=v.arrow)&&n.alignmentOffset)return{};let L=f(h),M=p(S),D=f(S)===S,V=await (null==C.isRTL?void 0:C.isRTL(E.floating)),B=R||(D||!T?[x(S)]:(s=x(S),[_(S),s,_(s)])),F="none"!==P;!R&&F&&B.push(...(l=d(S),u=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:m;return t?m:b;case"left":case"right":return t?y:w;default:return[]}}(f(S),"start"===P,V),l&&(u=u.map(e=>e+"-"+l),T&&(u=u.concat(u.map(_)))),u));let I=[S,...B],U=await C.detectOverflow(t,N),H=[],K=(null==(r=v.flip)?void 0:r.overflows)||[];if(A&&H.push(U[L]),k){let e=g(h,O,V);H.push(U[e[0]],U[e[1]])}if(K=[...K,{placement:h,overflows:H}],!H.every(e=>e<=0)){let e=((null==(i=v.flip)?void 0:i.index)||0)+1,t=I[e];if(t&&("alignment"!==k||M===p(t)||K.every(e=>p(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:K},reset:{placement:t}};let n=null==(o=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(j){case"bestFit":{let e=null==(a=K.filter(e=>{if(F){let t=p(e.placement);return t===M||"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:a[0];e&&(n=e);break}case"initialPlacement":n=S}if(h!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=c(e,t);switch(i){case"referenceHidden":{let e=k(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:R(e)}}}case"escaped":{let e=k(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:R(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:a,platform:s,strategy:l}=t,{padding:u=2,x:d,y:h}=c(e,t),v=Array.from(await (null==s.getClientRects?void 0:s.getClientRects(r.reference))||[]),g=function(e){let t=e.slice().sort((e,t)=>
2e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>S(j(e)))}(v),_=S(j(v)),m=O(u),b=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=d&&null!=h)return g.find(e=>d>e.left-m.left&&d<e.right+m.right&&h>e.top-m.top&&h<e.bottom+m.bottom)||_;if(g.length>=2){if("y"===p(n)){let e=g[0],t=g[g.length-1],r="top"===f(n),i=e.top,o=t.bottom,a=r?e.left:t.left,s=r?e.right:t.right;return{top:i,bottom:o,left:a,right:s,width:s-a,height:o-i,x:a,y:i}}let e="left"===f(n),t=o(...g.map(e=>e.right)),r=i(...g.map(e=>e.left)),a=g.filter(n=>e?n.left===r:n.right===t),s=a[0].top,l=a[a.length-1].bottom;return{top:s,bottom:l,left:r,right:t,width:t-r,height:l-s,x:r,y:s}}return _}},floating:r.floating,strategy:l});return a.reference.x!==b.reference.x||a.reference.y!==b.reference.y||a.reference.width!==b.reference.width||a.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=c(e,t),d={x:n,y:r},v=p(i),g=h(v),_=d[g],m=d[v],b=c(s,t),y="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){let e="y"===g?"height":"width",t=o.reference[g]-o.floating[e]+y.mainAxis,n=o.reference[g]+o.reference[e]-y.mainAxis;_<t?_=t:_>n&&(_=n)}if(u){var w,x;let e="y"===g?"width":"height",t=P.has(f(i)),n=o.reference[v]-o.floating[e]+(t&&(null==(w=a.offset)?void 0:w[v])||0)+(t?0:y.crossAxis),r=o.reference[v]+o.reference[e]+(t?0:(null==(x=a.offset)?void 0:x[v])||0)-(t?y.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[g]:_,[v]:m}}}},"offset",0,ep,"shift",0,eg,"size",0,e_],992486);var ey=e.i(389959),ew=e.i(971131),ex="u">typeof document?ey.useLayoutEffect:function(){};function eO(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eO(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eO(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eC(e,t){let n=eS(e);return Math.round(t*n)/n}function eE(e){let t=ey.useRef(e);return ex(()=>{t.current=e}),t}function eA(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,f]=ey.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=ey.useState(r);eO(d,r)||h(r);let[v,p]=ey.useState(null),[g,_]=ey.useState(null),m=ey.useCallback(e=>{e!==x.current&&(x.current=e,p(e))},[]),b=ey.useCallback(e=>{e!==O.current&&(O.current=e,_(e))},[]),y=o||v,w=a||g,x=ey.useRef(null),O=ey.useRef(null),S=ey.useRef(c),C=null!=l,E=eE(l),A=eE(i),k=eE(u),R=ey.useCallback(()=>{if(!x.current||!O.current)return;let e={placement:t,strategy:n,middleware:d};A.current&&(e.platform=A.current),eb(x.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};j.current&&!eO(S.current,t)&&(S.current=t,ew.flushSync(()=>{f(t)}))})},[d,t,n,A,k]);ex(()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let j=ey.useRef(!1);ex(()=>(j.current=!0,()=>{j.current=!1}),[]),ex(()=>
2{if(y&&(x.current=y),w&&(O.current=w),y&&w){if(E.current)return E.current(y,w,R);R()}},[y,w,R,E,C]);let P=ey.useMemo(()=>({reference:x,floating:O,setReference:m,setFloating:b}),[m,b]),T=ey.useMemo(()=>({reference:y,floating:w}),[y,w]),N=ey.useMemo(()=>{let e={position:n,left:0,top:0};if(!T.floating)return e;let t=eC(T.floating,c.x),r=eC(T.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eS(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,T.floating,c.x,c.y]);return ey.useMemo(()=>({...c,update:R,refs:P,elements:T,floatingStyles:N}),[c,R,P,T,N])}e.s(["arrow",0,(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?em({element:n.current,padding:r}).fn(t):{}:n?em({element:n,padding:r}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},"offset",0,(e,t)=>{let n=ep(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,(e,t)=>{let n=eg(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,(e,t)=>{let n=e_(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,eA],912953),e.i(768408);var ek="u">typeof document?ey.useLayoutEffect:function(){};let eR={...ey}.useInsertionEffect||(e=>e());var ej=e.i(478902);let eP={...ey},eT=!1,eN=0,eL=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+eN++,eM=eP.useId||function(){let[e,t]=ey.useState(()=>eT?eL():void 0);return ek(()=>{null==e&&t(eL())},[]),ey.useEffect(()=>{eT=!0},[]),e},eD=ey.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:o}},width:a=14,height:s=7,tipRadius:l=0,strokeWidth:u=0,staticOffset:c,stroke:f,d,style:{transform:h,...v}={},...p}=e,g=eM(),[_,m]=ey.useState(!1);if(ek(()=>{r&&"rtl"===X(r).direction&&m(!0)},[r]),!r)return null;let[b,y]=n.split("-"),w="top"===b||"bottom"===b,x=c;(w&&null!=o&&o.x||!w&&null!=o&&o.y)&&(x=null);let O=2*u,S=O/2,C=a/2*(-(l/8)+1),E=s/2*l/4,A=!!d,k=x&&"end"===y?"bottom":"top",R=x&&"end"===y?"right":"left";x&&_&&(R="end"===y?"left":"right");let j=(null==i?void 0:i.x)!=null?x||i.x:"",P=(null==i?void 0:i.y)!=null?x||i.y:"",T=d||"M0,0 H"+a+(" L"+(a-C))+","+(s-E)+(" Q"+a/2+","+s+" "+C)+","+(s-E)+" Z",N={top:A?"rotate(180deg)":"",left:A?"rotate(90deg)":"rotate(-90deg)",bottom:A?"":"rotate(180deg)",right:A?"rotate(-90deg)":"rotate(90deg)"}[b];return(0,ej.jsxs)("svg",{...p,"aria-hidden":!0,ref:t,width:A?a:a+O,height:a,viewBox:"0 0 "+a+" "+(s>a?s:a),style:{position:"absolute",pointerEvents:"none",[R]:j,[k]:P,[b]:w||A?"100%":"calc(100% - "+O/2+"px)",transform:[N,h].filter(e=>!!e).join(" "),...v},children:[O>0&&(0,ej.jsx)("path",{clipPath:"url(#"+g+")",fill:"none",stroke:f,strokeWidth:O+ +!d,d:T}),(0,ej.jsx)("path",{stroke:O&&!d?p.fill:"none",d:T}),(0,ej.jsx)("clipPath",{id:g,children:(0,ej.jsx)("rect",{x:-S,y:S*(A?-1:1),width:a+O,height:a})})]})}),eV=ey.createContext(null),eB=ey.createContext(null);e.s(["FloatingArrow",0,eD,"useFloating",0,function(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){var t,n;let r,{open:i=!1,onOpenChange:o,elements:a}=e,s=eM(),l=ey.useRef({}),[u]=ey.useState(()=>{let e;return e=new Map,{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}),c=null!=((null==(t=ey.useContext(eV))?void 0:t.id)||null),[f,d]=ey.useState(a.reference),h=(n=(e,t,n)=>{l.current.openEvent=e?t:void 0,u.emit("openchange",{open:e,event:t,reason:n,nested:c}),null==o||o(e,t,n)},r=ey.useRef(()=>{}),eR(()=>{r.current=n}),ey.useCallback(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return null==r.current?void 0:r.current(...t)},[])),v=ey.useMemo(()=>({setPositionReference:d}),[]),p=ey.useMemo(()=>({reference:f||a.reference||null,floating:a.floating||null,domReference:a.reference}),[f,a.reference,a.floating]);return ey.useMemo(()=>({dataRef:l,open:i,onOpenChange:h,elements:p,events:u,floatingId:s,refs:v}),[i,h,p,u,s,v])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,a]=ey.useState(null),[s,l]=ey.useState(null),u=(null==i?void 0:i.domReference)||o,c=ey.useRef(null),f=ey.useContext(eB);ek(()=>{u&&(c.current=u)},[u]);let d=eA({...e,elements:{...i,...s&&{reference:s}}}),h=ey.useCallback(e=>{let t=B(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),d.refs.setReference(t)},[d.refs]),v=ey.useCallback(e=>{(B(e)||null===e)&&(c.current=e,a(e)),(B(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!B(e))&&d.refs.setReference(e)},[d.refs]),p=ey.useMemo(()=>({...d.refs,setReference:v,setPositionReference:h,domReference:c}),[d.refs,v,h]),g=ey.useMemo(()=>({...d.elements,domReference:u}),[d.elements,u]),_=ey.useMemo(()=>({...d,...r,refs:p,elements:g,nodeId:t}),[d,p,g,t,r]);return ek(()=>{r.dataRef.current.floatingContext=_;let e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=_)}),ey.useMemo(()=>({...d,context:_,refs:p,elements:g}),[d,p,g,_])}],561646)},253876,13736,e=>{"use strict";
2function t(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.s(["default",0,function(e,t){if(e.classList)e.classList.add(t);else(e.classList?t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" "))||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}],253876),e.s(["default",0,function(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}],13736)},310282,e=>{"use strict";function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}function n(){return"u">typeof globalThis?globalThis:"u">typeof window?window:e.g}var r,i,o,a,s,l,u,c,f,d,h,v=Object.assign,p=Object.getOwnPropertyDescriptor,g=Object.defineProperty,_=Object.prototype,m=[];Object.freeze(m);var b={};Object.freeze(b);var y="u">typeof Proxy,w=Object.toString();function x(){y||t("Proxy not available")}function O(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var S=function(){};function C(e){return"function"==typeof e}function E(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function A(e){return null!==e&&"object"==typeof e}function k(e){if(!A(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===w}function R(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function j(e,t,n){g(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function P(e,t,n){g(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function T(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return A(e)&&!0===e[n]}}function N(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var M=void 0!==Object.getOwnPropertySymbols,D="u">typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:M?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function V(e){return null===e?null:"object"==typeof e?""+e:e}function B(e,t){return _.hasOwnProperty.call(e,t)}var F=Object.getOwnPropertyDescriptors||function(e){var t={};return D(e).forEach(function(n){t[n]=p(e,n)}),t};function I(e,t,n){return n?e|=t:e&=~t,e}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r.key),r)}}function K(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function G(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e){if(e){if("string"==typeof e)return U(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?U(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function q(){return(q=Object.assign.bind()).apply(null,arguments)}function W(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,z(e,t)}function z(e,t){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var $=Symbol("mobx-stored-annotations");function X(e){return Object.assign(function(t,n){if(Z(n))return e.decorate_20223_(t,n);Y(t,n,e)},e)}function Y(e,t,n){B(e,$)||j(e,$,q({},e[$])),"override"!==n.annotationType_&&(e[$][t]=n)}function Z(e){return"object"==typeof e&&"string"==typeof e.kind}var J=Symbol("mobx administration"),Q=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=f.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
2return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return tu(this)},t.reportChanged=function(){ts(),tc(this),tl()},t.toString=function(){return this.name_},K(e,[{key:"isBeingObserved",get:function(){return!!(this.flags_&e.isBeingObservedMask_)},set:function(t){this.flags_=I(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return!!(this.flags_&e.isPendingUnobservationMask_)},set:function(t){this.flags_=I(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=I(this.flags_,e.diffValueMask_,1===t)}}])}();Q.isBeingObservedMask_=1,Q.isPendingUnobservationMask_=2,Q.diffValueMask_=4;var ee=T("Atom",Q);function et(e,t,n){void 0===t&&(t=S),void 0===n&&(n=S);var r=new Q(e);return t!==S&&tR("onBO",r,t,void 0),n!==S&&tk(r,n),r}var en=function(e,t){return nO(e,t)},er=function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t};function ei(e,t,n){if(tB(e))return e;if(Array.isArray(e))return eV.array(e,{name:n});if(k(e))return eV.object(e,void 0,{name:n});if(N(e))return eV.map(e,{name:n});if(L(e))return eV.set(e,{name:n});if("function"==typeof e&&!tC(e)&&!tV(e))if(R(e))return tM(e);else return tS(n,e);return e}function eo(e){return e}function ea(e,t){return{annotationType_:e,options_:t,make_:es,extend_:el,decorate_20223_:eu}}function es(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return+(null!==this.extend_(e,t,n,!1));if(r===e.target_)return 2*(null!==this.extend_(e,t,n,!1));if(tC(n.value))return 1;var i,o=ec(e,this,t,n,!1);return g(r,t,o),2}function el(e,t,n,r){var i=ec(e,this,t,n);return e.defineProperty_(t,i,r)}function eu(e,n){var r,i=n.kind,o=n.name,a=n.addInitializer,s=this,l=function(e){var t,n,r,i;return eW(null!=(t=null==(n=s.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==i?function(e){var t,n=e;return tC(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(tC(e)||(e=l(e)),null!=(r=this.options_)&&r.bound&&a(function(){var e=this[o].bind(this);e.isMobxAction=!0,this[o]=e}),e):void t("Cannot apply '"+s.annotationType_+"' to '"+String(o)+"' (kind: "+i+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ec(e,t,n,r,i){void 0===i&&(i=ti.safeDescriptors),t.annotationType_,r.value;var o,a,s,l,u,c,f,d,h=r.value;return null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(d=e.proxy_)?d:e.target_)),{value:eW(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ef(e,t){return{annotationType_:e,options_:t,make_:ed,extend_:eh,decorate_20223_:ev}}function ed(e,t,n,r){if(r===e.target_)return 2*(null!==this.extend_(e,t,n,!1));if(null!=(i=this.options_)&&i.bound&&(!B(e.target_,t)||!tV(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tV(n.value))return 1;var i,o=ep(e,this,t,n,!1,!1);return g(r,t,o),2}function eh(e,t,n,r){var i,o=ep(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ev(e,t){var n,r=t.name,i=t.addInitializer;return tV(e)||(e=tM(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function ep(e,t,n,r,i,o){void 0===o&&(o=ti.safeDescriptors),t.annotationType_,r.value;var a,s=r.value;return tV(s)||(s=tM(s)),i&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function eg(e,t){return{annotationType_:e,options_:t,make_:e_,extend_:em,decorate_20223_:eb}}function e_(e,t,n){return+(null!==this.extend_(e,t,n,!1))}function em(e,t,n,r){var i,o;return i=this,o=n,i.annotationType_,o.get,e.defineComputedProperty_(t,q({},this.options_,{get:n.get,set:n.set}),r)}function eb(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=na(this)[J],i=q({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new eZ(i))}),function(){return this[J].getObservablePropValue_(r)}}function ey(e,t){return{annotationType_:e,options_:t,make_:ew,extend_:ex,decorate_20223_:eO}}
2function ew(e,t,n){return+(null!==this.extend_(e,t,n,!1))}function ex(e,t,n,r){var i,o,a;return a=this,a.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:ei,r)}function eO(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=na(e)[J],l=new eY(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:ei,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[J].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[J].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var eS=eC();function eC(e){return{annotationType_:"true",options_:e,make_:eE,extend_:eA,decorate_20223_:ek}}function eE(e,t,n,r){if(n.get)return eU.make_(e,t,n,r);if(n.set){var i,o,a,s,l,u=tC(n.set)?n.set:eW(t.toString(),n.set);return r===e.target_?2*(null!==e.defineProperty_(t,{configurable:!ti.safeDescriptors||e.isPlainObject_,set:u})):(g(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return R(n.value)?(null!=(s=this.options_)&&s.autoBind?tM.bound:tM).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?tS.bound:tS).make_(e,t,n,r);var c=(null==(i=this.options_)?void 0:i.deep)===!1?eV.ref:eV;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function eA(e,t,n,r){var i,o,a;return n.get?eU.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ti.safeDescriptors||e.isPlainObject_,set:eW(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(o=this.options_)?void 0:o.deep)===!1?eV.ref:eV).extend_(e,t,n,r))}function ek(e,n){t("'"+this.annotationType_+"' cannot be used as a decorator")}var eR={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eR);var ej=ey("observable"),eP=ey("observable.ref",{enhancer:eo}),eT=ey("observable.shallow",{enhancer:function(e,t,n){return null==e||nu(e)||t3(e)||t7(e)||nt(e)?e:Array.isArray(e)?eV.array(e,{name:n,deep:!1}):k(e)?eV.object(e,void 0,{name:n,deep:!1}):N(e)?eV.map(e,{name:n,deep:!1}):L(e)?eV.set(e,{name:n,deep:!1}):void 0}}),eN=ey("observable.struct",{enhancer:function(e,t){return nO(e,t)?t:e}}),eL=X(ej);function eM(e){var t,n,r;return!0===e.deep?ei:!1===e.deep?eo:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:ei}function eD(e,t,n){return Z(t)?ej.decorate_20223_(e,t):E(t)?void Y(e,t,ej):tB(e)?e:k(e)?eV.object(e,t,n):Array.isArray(e)?eV.array(e,t):N(e)?eV.map(e,t):L(e)?eV.set(e,t):"object"==typeof e&&null!==e?e:eV.box(e,t)}v(eD,eL);var eV=v(eD,{box:function(e,t){var n=t||eR;return new eY(e,eM(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eR;return(!1===ti.useProxies||!1===n.proxy?function(e,t,n){return new ng(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),x(),nw(function(){var i=new tY(n,t,r,!1);P(i.values_,J,i);var o=new Proxy(i.values_,tX);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})})(e,eM(n),n.name)},map:function(e,t){var n=t||eR;return new t8(e,eM(n),n.name)},set:function(e,t){var n=t||eR;return new ne(e,eM(n),n.name)},object:function(e,t,n){return nw(function(){var r,i,o,a,s,l,u,c;return s=!1===ti.useProxies||(null==n?void 0:n.proxy)===!1?na({},n):(r={},i=n,x(),null!=(a=(o=(r=na(r,i))[J]).proxy_)?a:o.proxy_=new Proxy(r,tI)),l=e,u=t,c=F(l),nw(function(){var e=na(s,void 0)[J];D(c).forEach(function(t){e.extend_(t,c[t],!u||!(t in u)||u[t])})}),s})},ref:X(eP),shallow:X(eT),deep:eL,struct:X(eN)}),eB="computed",eF=eg(eB),eI=eg("computed.struct",{equals:en}),eU=function(e,t){if(Z(t))return eF.decorate_20223_(e,t);if(E(t))return Y(e,t,eF);if(k(e))return X(eg(eB,e));var n=k(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new eZ(n)};Object.assign(eU,eF),eU.struct=X(eI);var eH=0,eK=1,eG=null!=(u=null==(c=p(function(){},"name"))?void 0:c.configurable)&&u,eq={value:"action",configurable:!0,writable:!1,enumerable:!1};function eW(e,n,r,i){function o(){return function(e,n,r,i,o){var a,s,l,u,c,f,d=(a=n,s=ti.trackingDerivation,l=!a||!s,ts(),u=ti.allowStateChanges,l&&(e8(),u=e$(!0)),eH=(c={runAsAction_:l,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:e4(!0),notifySpy_:!1,startTime_:0,actionId_:eK++,parentActionId_:eH}).actionId_,c);try{return r.apply(i,o)}catch(e){throw d.error_=e,e}finally{eH!==(f=d).actionId_&&t(30),eH=f.parentActionId_,void 0!==f.error_&&(ti.suppressReactionErrors=!0),eX(f.prevAllowStateChanges_),e6(f.prevAllowStateReads_),tl(),f.runAsAction_&&e7(f.prevDerivation_),ti.suppressReactionErrors=!1}}(e,r,n,i||this,arguments)}return void 0===r&&(r=!1),o.isMobxAction=!0,o.toString=function(){return n.toString()},eG&&(eq.value=e,g(o,"name",eq)),o}function ez(e,t){var n=e$(e);try{return t()}finally{eX(n)}}function e$(e){var t=ti.allowStateChanges;return ti.allowStateChanges=e,t}function eX(e){ti.allowStateChanges=e}var eY=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=er),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}W(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==ti.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(e2(this),tU(this)){var t=tK(this,{object:this,type:t$,newValue:e});if(!t)return ti.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?ti.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tG(this)&&tW(this,{type:t$,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tH(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t$,newValue:this.value_,oldValue:void 0}),tq(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return V(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Q),eZ=function(){function e(e){this.dependenciesState_=f.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=f.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new eQ(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=d.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||t(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=eW("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?en:er),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var n=e.prototype;return n.onBecomeStale_=function(){var e;e=this,e.lowestObserverState_===f.UP_TO_DATE_&&(e.lowestObserverState_=f.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===f.UP_TO_DATE_&&(e.depen
2denciesState_=f.POSSIBLY_STALE_,e.onBecomeStale_())}))},n.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},n.get=function(){if(this.isComputing&&t(32,this.name_,this.derivation),0!==ti.inBatch||0!==this.observers_.size||this.keepAlive_){if(tu(this),e1(this)){var e,n=ti.trackingContext;this.keepAlive_&&!n&&(ti.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==f.STALE_&&(e.lowestObserverState_=f.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===f.POSSIBLY_STALE_?t.dependenciesState_=f.STALE_:t.dependenciesState_===f.UP_TO_DATE_&&(e.lowestObserverState_=f.UP_TO_DATE_)}))),ti.trackingContext=n}}else e1(this)&&(this.warnAboutUntrackedRead_(),ts(),this.value_=this.computeValue_(!1),tl());var r=this.value_;if(e0(r))throw r.cause;return r},n.set=function(e){if(this.setter_){this.isRunningSetter&&t(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else t(34,this.name_)},n.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===f.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e0(e)||e0(n)||!this.equals_(e,n);return r&&(this.value_=n),r},n.computeValue_=function(e){this.isComputing=!0;var t,n=e$(!1);if(e)t=e3(this,this.derivation,this.scope_);else if(!0===ti.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new eQ(e)}return eX(n),this.isComputing=!1,t},n.suspend_=function(){this.keepAlive_||(e9(this),this.value_=void 0)},n.observe_=function(e,t){var n=this,r=!0,i=void 0;return function(e,t){void 0===t&&(t=b);var n,r,i,o,a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l=tA(t),u=!1;a=new tf(s,function(){u||(u=!0,l(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}else a=new tf(s,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}(function(){var o=n.get();if(!r||t){var a=e8();e({observableKind:"computed",debugObjectName:n.name_,type:t$,object:n,newValue:o,oldValue:i}),e7(a)}r=!1,i=o})},n.warnAboutUntrackedRead_=function(){},n.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},n.valueOf=function(){return V(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},K(e,[{key:"isComputing",get:function(){return!!(this.flags_&e.isComputingMask_)},set:function(t){this.flags_=I(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return!!(this.flags_&e.isRunningSetterMask_)},set:function(t){this.flags_=I(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return!!(this.flags_&e.isBeingObservedMask_)},set:function(t){this.flags_=I(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return!!(this.flags_&e.isPendingUnobservationMask_)},set:function(t){this.flags_=I(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=I(this.flags_,e.diffValueMask_,1===t)}}])}();eZ.isComputingMask_=1,eZ.isRunningSetterMask_=2,eZ.isBeingObservedMask_=4,eZ.isPendingUnobservationMask_=8,eZ.diffValueMask_=16;var eJ=T("ComputedValue",eZ);(r=f||(f={}))[r.NOT_TRACKING_=-1]="NOT_TRACKING_",r[r.UP_TO_DATE_=0]="UP_TO_DATE_",r[r.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",r[r.STALE_=2]="STALE_",(i=d||(d={}))[i.NONE=0]="NONE",i[i.LOG=1]="LOG",i[i.BREAK=2]="BREAK";var eQ=function(e){this.cause=void 0,this.cause=e};function e0(e){return e instanceof eQ}function e1(e){switch(e.dependenciesState_){case f.UP_TO_DATE_:return!1;case f.NOT_TRACKING_:case f.STALE_:return!0;case f.POSSIBLY_STALE_:for(var t=e4(!0),n=e8(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(eJ(a)){if(ti.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return e7(n),e6(t),!0}if(e.dependenciesState_===f.STALE_)return e7(n),e6(t),!0}}return te(e),e7(n),e6(t),!1}}function e2(e){}function e3(e,t,n){var r,i=e4(!0);te(e),e.newObserving_=Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ti.runId;var o=ti.trackingDerivation;if(ti.trackingDerivation=e,ti.inBatch++,!0===ti.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new eQ(e)}return ti.inBatch--,ti.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=f.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];0===l.diffValue&&to(l,e),l.diffValue=0}for(;i--;){var u,c,d=n[i];1===d.diffValue&&(d.diffValue=0,u=d,c=e,u.observers_.add(c),u.lowestObserverState_>c.dependenciesState_&&(u.lowestObserverState_=c.dependenciesState_))}
2r!==f.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),e6(i),r}function e9(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)to(t[n],e);e.dependenciesState_=f.NOT_TRACKING_}function e5(e){var t=e8();try{return e()}finally{e7(t)}}function e8(){var e=ti.trackingDerivation;return ti.trackingDerivation=null,e}function e7(e){ti.trackingDerivation=e}function e4(e){var t=ti.allowStateReads;return ti.allowStateReads=e,t}function e6(e){ti.allowStateReads=e}function te(e){if(e.dependenciesState_!==f.UP_TO_DATE_){e.dependenciesState_=f.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=f.UP_TO_DATE_}}var tt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},tn=!0,tr=!1,ti=((o=n()).__mobxInstanceCount>0&&!o.__mobxGlobals&&(tn=!1),o.__mobxGlobals&&o.__mobxGlobals.version!==new tt().version&&(tn=!1),tn)?o.__mobxGlobals?(o.__mobxInstanceCount+=1,o.__mobxGlobals.UNCHANGED||(o.__mobxGlobals.UNCHANGED={}),o.__mobxGlobals):(o.__mobxInstanceCount=1,o.__mobxGlobals=new tt):(setTimeout(function(){tr||t(35)},1),new tt);function to(e,t){e.observers_.delete(t),0===e.observers_.size&&ta(e)}function ta(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ti.pendingUnobservations.push(e))}function ts(){ti.inBatch++}function tl(){if(0==--ti.inBatch){th();for(var e=ti.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof eZ&&n.suspend_())}ti.pendingUnobservations=[]}}function tu(e){var t=ti.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&ti.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&ti.inBatch>0&&ta(e),!1)}function tc(e){e.lowestObserverState_!==f.STALE_&&(e.lowestObserverState_=f.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===f.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=f.STALE_}))}var tf=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=f.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=d.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,ti.pendingReactions.push(this),th())},t.runReaction_=function(){if(!this.isDisposed){ts(),this.isScheduled=!1;var e=ti.trackingContext;if(ti.trackingContext=this,e1(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ti.trackingContext=e,tl()}},t.track=function(e){if(!this.isDisposed){ts(),this.isRunning=!0;var t=ti.trackingContext;ti.trackingContext=this;var n=e3(this,e,void 0);ti.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&e9(this),e0(n)&&this.reportExceptionInDerivation_(n.cause),tl()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(ti.disableErrorBoundaries)throw e;ti.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),ti.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){!this.isDisposed&&(this.isDisposed=!0,this.isRunning||(ts(),e9(this),tl()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[J]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},K(e,[{key:"isDisposed",get:function(){return!!(this.flags_&e.isDisposedMask_)},set:function(t){this.flags_=I(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return!!(this.flags_&e.isScheduledMask_)},set:function(t){this.flags_=I(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return!!(this.flags_&e.isTrackPendingMask_)},set:function(t){this.flags_=I(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return!!(this.flags_&e.isRunningMask_)},set:function(t){this.flags_=I(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=I(this.flags_,e.diffValueMask_,1===t)}}])}();tf.isDisposedMask_=1,tf.isScheduledMask_=2,tf.isTrackPendingMask_=4,tf.isRunningMask_=8,tf.diffValueMask_=16;var td=function(e){return e()};function th(){ti.inBatch>0||ti.isRunningReactions||td(tv)}function tv(){ti.isRunningReactions=!0;for(var e=ti.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}ti.isRunningReactions=!1}var tp=T("Reaction",tf),tg="action",t_="autoAction",tm=ea(tg),tb=ea("action.bound",{bound:!0}),ty=ea(t_,{autoAction:!0}
2),tw=ea("autoAction.bound",{autoAction:!0,bound:!0});function tx(e){return function(t,n){return C(t)?eW(t.name||"<unnamed action>",t,e):C(n)?eW(t,n,e):Z(n)?(e?ty:tm).decorate_20223_(t,n):E(n)?Y(t,n,e?ty:tm):E(t)?X(ea(e?t_:tg,{name:t,autoAction:e})):void 0}}var tO=tx(!1);Object.assign(tO,tm);var tS=tx(!0);function tC(e){return C(e)&&!0===e.isMobxAction}Object.assign(tS,ty),tO.bound=X(tb),tS.bound=X(tw);var tE=function(e){return e()};function tA(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tE}function tk(e,t,n){return tR("onBUO",e,t,n)}function tR(e,t,n,r){var i="function"==typeof r?nb(t,n):nb(t),o=C(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var tj="always",tP=0;function tT(){this.message="FLOW_CANCELLED"}tT.prototype=Object.create(Error.prototype);var tN=ef("flow"),tL=ef("flow.bound",{bound:!0}),tM=Object.assign(function(e,t){if(Z(t))return tN.decorate_20223_(e,t);if(E(t))return Y(e,t,tN);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,i=++tP,o=tO(n+" - runid: "+i+" - init",e).apply(this,r),a=void 0,s=new Promise(function(e,r){var s=0;function l(e){var t;a=void 0;try{t=tO(n+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return r(e)}c(t)}function u(e){var t;a=void 0;try{t=tO(n+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return r(e)}c(t)}function c(t){return C(null==t?void 0:t.then)?void t.then(c,r):t.done?e(t.value):(a=Promise.resolve(t.value)).then(l,u)}t=r,l(void 0)});return s.cancel=tO(n+" - runid: "+i+" - cancel",function(){try{a&&tD(a);var e=o.return(void 0),n=Promise.resolve(e.value);n.then(S,S),tD(n),t(new tT)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tN);function tD(e){C(e.cancel)&&e.cancel()}function tV(e){return(null==e?void 0:e.isMobXFlow)===!0}function tB(e){return!!e&&(nu(e)||!!e[J]||ee(e)||tp(e)||eJ(e))}function tF(e,t){void 0===t&&(t=void 0),ts();try{return e.apply(t)}finally{tl()}}tM.bound=X(tL);var tI={has:function(e,t){return e[J].has_(t)},get:function(e,t){return e[J].get_(t)},set:function(e,t,n){var r;return!!E(t)&&(null==(r=e[J].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!E(t)&&(null==(n=e[J].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[J].defineProperty_(t,n))||r},ownKeys:function(e){return e[J].ownKeys_()},preventExtensions:function(e){t(13)}};function tU(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tH(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),O(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tK(e,n){var r=e8();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((n=i[o](n))&&!n.type&&t(14),n);o++);return n}finally{e7(r)}}function tG(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function tq(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),O(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tW(e,t){var n=e8(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);e7(n)}}var tz="splice",t$="update",tX={get:function(e,t){var n=e[J];return t===J?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?B(tZ,t)?tZ[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[J];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){t(15)}},tY=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new Q(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},n.intercept_=function(e){return tH(this,e)},n.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),tq(this,e)},n.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},n.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&t("Out of range: "+e);var n=this.values_.length;if(e!==n)if(e>n){for(var r=Array(e-n),i=0;i<e-n;i++)r[i]=void 0;this.spliceWithArray_(n,0,r)}else this.spliceWithArray_(e,n-e)}
2,n.updateArrayLength_=function(e,n){e!==this.lastKnownLength_&&t(16),this.lastKnownLength_+=n,this.legacyMode_&&n>0&&nm(e+n+1)},n.spliceWithArray_=function(e,t,n){var r=this;e2(this.atom_);var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=m),tU(this)){var o=tK(this,{object:this.proxy_,type:tz,index:e,removedCount:t,added:n});if(!o)return m;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},n.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},n.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=tG(this),o=i||r?{observableKind:"array",object:this.proxy_,type:t$,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&tW(this,o)},n.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=tG(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:tz,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&tW(this,o)},n.get_=function(e){return this.legacyMode_&&e>=this.values_.length?void console.warn("[mobx] Out of bounds read: "+e):(this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]))},n.set_=function(e,n){var r=this.values_;if(this.legacyMode_&&e>r.length&&t(17,e,r.length),e<r.length){e2(this.atom_);var i=r[e];if(tU(this)){var o=tK(this,{type:t$,object:this.proxy_,index:e,newValue:n});if(!o)return;n=o.newValue}(n=this.enhancer_(n,i))!==i&&(r[e]=n,this.notifyArrayChildUpdate_(e,n,i))}else{for(var a=Array(e+1-r.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=n,this.spliceWithArray_(r.length,0,a)}},e}(),tZ={clear:function(){return this.splice(0)},replace:function(e){var t=this[J];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[J];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[J].spliceWithArray_(e,t,n)},push:function(){for(var e=this[J],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[J].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[J],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return ti.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ti.trackingDerivation&&t(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[J],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function tJ(e,t){"function"==typeof Array.prototype[e]&&(tZ[e]=t(e))}function tQ(e){return function(){var t=this[J];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t0(e){return function(t,n){var r=this,i=this[J];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function t1(e){return function(){var t=this,n=this[J];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}tJ("at",tQ),tJ("concat",tQ),tJ("flat",tQ),tJ("includes",tQ),tJ("indexOf",tQ),tJ("join",tQ),tJ("lastIndexOf",tQ),tJ("slice",tQ),tJ("toString",tQ),tJ("toLocaleStr
2ing",tQ),tJ("toSorted",tQ),tJ("toSpliced",tQ),tJ("with",tQ),tJ("every",t0),tJ("filter",t0),tJ("find",t0),tJ("findIndex",t0),tJ("findLast",t0),tJ("findLastIndex",t0),tJ("flatMap",t0),tJ("forEach",t0),tJ("map",t0),tJ("some",t0),tJ("toReversed",t0),tJ("reduce",t1),tJ("reduceRight",t1);var t2=T("ObservableArrayAdministration",tY);function t3(e){return A(e)&&t2(e[J])}var t9={},t5="delete",t8=function(){function e(e,n,r){var i=this;void 0===n&&(n=ei),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[J]=t9,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=r,C(Map)||t(18),nw(function(){i.keysAtom_=et("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var n=e.prototype;return n.has_=function(e){return this.data_.has(e)},n.has=function(e){var t=this;if(!ti.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new eY(this.has_(e),eo,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tk(r,function(){return t.hasMap_.delete(e)})}return n.get()},n.set=function(e,t){var n=this.has_(e);if(tU(this)){var r=tK(this,{type:n?t$:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},n.delete=function(e){var t=this;if(e2(this.keysAtom_),tU(this)&&!tK(this,{type:t5,object:this,name:e}))return!1;if(this.has_(e)){var n=tG(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:t5,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tF(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tW(this,r),!0}return!1},n.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==ti.UNCHANGED){var r=tG(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:t$,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tW(this,i)}},n.addValue_=function(e,t){var n=this;e2(this.keysAtom_),tF(function(){var r,i=new eY(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tG(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tW(this,i)},n.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},n.values=function(){var e=this,t=this.keys();return t4({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},n.entries=function(){var e=this,t=this.keys();return t4({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},n[Symbol.iterator]=function(){return this.entries()},n.forEach=function(e,t){for(var n,r=G(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},n.merge=function(e){var n=this;return t7(e)&&(e=new Map(e)),tF(function(){k(e)?(function(e){var t=Object.keys(e);if(!M)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return _.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(t){return n.set(t,e[t])}):Array.isArray(e)?e.forEach(function(e){var t=e[0],r=e[1];return n.set(t,r)}):N(e)?(null!==Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(e)))&&t(19,e),e.forEach(function(e,t){return n.set(t,e)})):null!=e&&t(20,e)}),this},n.clear=function(){var e=this;tF(function(){e5(function(){for(var t,n=G(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},n.replace=function(e){var n=this;return tF(function(){for(var r,i=function(e){if(N(e)||t7(e))return e;if(Array.isArray(e))return new Map(e);if(!k(e))return t(21,e);var n=new Map;for(var r in e)n.set(r,e[r]);return n}(e),o=new Map,a=!1,s=G(n.data_.keys());!(r=s()).done;){var l=r.value;if(!i.has(l))if(n.delete(l))a=!0;else{var u=n.data_.get(l);o.set(l,u)}}for(var c,f=G(i.entries());!(c=f()).done;){var d=c.value,h=d[0],v=d[1],p=n.data_.has(h);if(n.set(h,v),n.data_.has(h)){var g=n.data_.get(h);o.set(h,g),p||(a=!0)}}if(!a)if(n.data_.size!==o.size)n.keysAtom_.reportChanged();else for(var _=n.data_.keys(),m=o.keys(),b=_.next(),y=m.next();!b.done;){if(b.value!==y.value){n.keysAtom_.reportChanged();break}b=_.next(),y=m.next()}n.data_=o}),this},n.toString=function(){return"[object ObservableMap]"},n.toJSON=function(){return Array.from(this)},n.observe_=function(e,t){return tq(this,e)},n.intercept_=function(e){return tH(this,e)},K(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),t7=T("ObservableMap",t8);function t4(e){return e[Symbol.toStringTag]="MapIterator",nE(e)}var t6={},ne=function(){function e(e,n,r){var i=this;void 0===n&&(n=ei),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[J]=t6,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=r,C(Set)||t(22),this.enhancer_=function(e,t){return n(e,t,r)},nw(function(){i.atom_=et(i.name_),e&&i.replace(e)})}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.clear=function(){var e=this;tF(function(){e5(function(){for(var t,n=G(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})}
2,n.forEach=function(e,t){for(var n,r=G(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},n.add=function(e){var t=this;if(e2(this.atom_),tU(this)){var n=tK(this,{type:"add",object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){tF(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=tG(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;r&&tW(this,i)}return this},n.delete=function(e){var t=this;if(tU(this)&&!tK(this,{type:t5,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tG(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:t5,object:this,oldValue:e}:null;return tF(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tW(this,r),!0}return!1},n.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},n.entries=function(){var e=this.values();return nn({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},n.keys=function(){return this.values()},n.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return nn({next:function(){var n=t.next(),r=n.value,i=n.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(r),done:i}}})},n.intersection=function(e){return L(e)&&!nt(e)?e.intersection(this):new Set(this).intersection(e)},n.union=function(e){return L(e)&&!nt(e)?e.union(this):new Set(this).union(e)},n.difference=function(e){return new Set(this).difference(e)},n.symmetricDifference=function(e){return L(e)&&!nt(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},n.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},n.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},n.isDisjointFrom=function(e){return L(e)&&!nt(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},n.replace=function(e){var n=this;return nt(e)&&(e=new Set(e)),tF(function(){Array.isArray(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):L(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):null!=e&&t("Cannot initialize set from "+e)}),this},n.observe_=function(e,t){return tq(this,e)},n.intercept_=function(e){return tH(this,e)},n.toJSON=function(){return Array.from(this)},n.toString=function(){return"[object ObservableSet]"},n[Symbol.iterator]=function(){return this.values()},K(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),nt=T("ObservableSet",ne);function nn(e){return e[Symbol.toStringTag]="SetIterator",nE(e)}var nr=Object.create(null),ni="remove",no=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=eS),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new Q("ObservableObject.keys"),this.isPlainObject_=k(this.target_)}var n=e.prototype;return n.getObservablePropValue_=function(e){return this.values_.get(e).get()},n.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof eZ)return n.set(t),!0;if(tU(this)){var r=tK(this,{type:t$,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ti.UNCHANGED){var i=tG(this),o=i?{type:t$,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&tW(this,o)}return!0},n.get_=function(e){return ti.trackingDerivation&&!B(this.target_,e)&&this.has_(e),this.target_[e]},n.set_=function(e,t,n){return(void 0===n&&(n=!1),B(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},n.has_=function(e){if(!ti.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new eY(e in this.target_,eo,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},n.make_=function(e,n){if(!0===n&&(n=this.defaultAnnotation_),!1!==n){if(nf(this,n,e),!(e in this.target_)){var r;if(null!=(r=this.target_[$])&&r[e])return;t(1,n.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==_;){var o=p(i,e);if(o){var a=n.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}nc(this,n,e)}},n.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);nf(this,n,e);var i=n.extend_(this,e,t,r);return i&&nc(this,n,e),i},n.defineProperty_=function(e,t,n){void 0===n&&(n=!1),e2(this.keysAtom_);try{ts();var r=this.delete_(e);if(!r)return r;if(tU(this)){var i=tK(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=q({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else g(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{tl()}return!0},n.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),e2(this.keysAtom_);try{ts();var i=this.delete_(e);if(!i)return i;if(tU(this)){var o=tK(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!o)return null;t=o.newValue}var a=nl(e),s={configurable:!ti.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else g(this.target_,e,s);var l=new eY(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{tl()}return!0},n.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),e2(this.keysAtom_);try{ts();var r=this.delete_(e);if(!r)return r;if(tU(this)&&!tK(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=nl(e),o={configurable:!ti.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else g(this.target_,e,o);this.values_.set(e,new eZ(t)),this.notifyPropertyAddition_(e,void 0)}finally{tl()}return!0},n.delete_=function(e,t){if(void 0===t&&(t=!1),e2(this.keysAtom_),!B(this.target_,e))return!0;
2if(tU(this)&&!tK(this,{object:this.proxy_||this.target_,name:e,type:ni}))return null;try{ts();var n,r,i=tG(this),o=this.values_.get(e),a=void 0;if(!o&&(i||0)&&(a=null==(r=p(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof eY&&(a=o.value_),tc(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i||0){var s={type:ni,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&tW(this,s)}}finally{tl()}return!0},n.observe_=function(e,t){return tq(this,e)},n.intercept_=function(e){return tH(this,e)},n.notifyPropertyAddition_=function(e,t){var n,r=tG(this);if(r){var i=r?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&tW(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},n.ownKeys_=function(){return this.keysAtom_.reportObserved(),D(this.target_)},n.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function na(e,t){if(B(e,J))return e;var n,r,i=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",o=new no(e,new Map,String(i),t?null!=(n=t.defaultDecorator)?n:eC(t):void 0);return j(e,J,o),e}var ns=T("ObservableObjectAdministration",no);function nl(e){return nr[e]||(nr[e]={get:function(){return this[J].getObservablePropValue_(e)},set:function(t){return this[J].setObservablePropValue_(e,t)}})}function nu(e){return!!A(e)&&ns(e[J])}function nc(e,t,n){var r;null==(r=e.target_[$])||delete r[n]}function nf(e,t,n){}var nd=n_(0),nh=(a=!1,Object.defineProperty(s={},"0",{set:function(){a=!0}}),Object.create(s)["0"]=1,!1===a),nv=0,np=function(){};l=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(np.prototype,l):void 0!==np.prototype.__proto__?np.prototype.__proto__=l:np.prototype=l;var ng=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,nw(function(){var e=new tY(r,n,i,!0);e.proxy_=o,P(o,J,e),t&&t.length&&o.spliceWithArray(0,0,t),nh&&Object.defineProperty(o,"0",nd)}),o}W(t,e);var n=t.prototype;return n.concat=function(){this[J].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return t3(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return nE({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},K(t,[{key:"length",get:function(){return this[J].getArrayLength_()},set:function(e){this[J].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(np);function n_(e){return{enumerable:!1,configurable:!0,get:function(){return this[J].get_(e)},set:function(t){this[J].set_(e,t)}}}function nm(e){if(e>nv){for(var t,n=nv;n<e+100;n++)t=n,g(ng.prototype,""+t,n_(t));nv=e}}function nb(e,n){if("object"==typeof e&&null!==e){if(t3(e))return void 0!==n&&t(23),e[J].atom_;if(nt(e))return e.atom_;if(t7(e)){if(void 0===n)return e.keysAtom_;var r=e.data_.get(n)||e.hasMap_.get(n);return r||t(25,n,ny(e)),r}if(nu(e)){if(!n)return t(26);var i=e[J].values_.get(n);return i||t(27,n,ny(e)),i}if(ee(e)||eJ(e)||tp(e))return e}else if(C(e)&&tp(e[J]))return e[J];t(28)}function ny(e,n){var r;if(void 0!==n)r=nb(e,n);else{if(tC(e))return e.name;r=nu(e)||t7(e)||nt(e)?function e(n,r){return(n||t(29),void 0!==r)?e(nb(n,r)):ee(n)||eJ(n)||tp(n)||t7(n)||nt(n)?n:n[J]?n[J]:void t(24,n)}(e):nb(e)}return r.name_}function nw(e){var t=e8(),n=e$(!0);ts();try{return e()}finally{tl(),eX(n),e7(t)}}Object.entries(tZ).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&j(ng.prototype,t,n)}),nm(1e3);var nx=_.toString;function nO(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,o){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof n)return!1;var s=nx.call(t);if(s!==nx.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"u">typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=nS(t),n=nS(n);var l="[object Array]"===s;if(!l){if("object"!=typeof t||"object"!=typeof n)return!1;var u=t.constructor,c=n.constructor;if(u!==c&&!(C(u)&&u instanceof u&&C(c)&&c instanceof c)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var f=(i=i||[]).length;f--;)if(i[f]===t)return o[f]===n;if(i.push(t),o.push(n),l){if((f=t.length)!==n.length)return!1;for(;f--;)if(!e(t[f],n[f],r-1,i,o))return!1}else{var d=Object.keys(t),h=d.length;if(Object.keys(n).length!==h)return!1;for(var v=0;v<h;v++){var p=d[v];if(!(B(n,p)&&e(t[p],n[p],r-1,i,o)))return!1}}return i.pop(),o.pop(),!0}(e,t,n)}function nS(e){return t3(e)?e.slice():N(e)||t7(e)||L(e)||nt(e)?Array.from(e.entries()):e}var nC=(null==(h=n().Iterator)?void 0:h.prototype)||{};function nE(e){return e[Symbol.iterator]=nA,Object.assign(Object.create(nC),e)}function nA(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===n()[e]&&t("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:ny},$mobx:J}),e.s(["Reaction",0,tf,"_allowStateChanges",0,ez,"_getGlobalState",0,function(){return ti},"configure",0,function(e){!0===e.isolateGlobalState&&function(){if((ti.pendingReactions.length||ti.inBatch||ti.isRunningReactions)&&t(36),tr=!0,tn){var e=n();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ti=new tt}}();var r,i,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(ti.useProxies=o===tj||"never"!==o&&"u">typeof Proxy),"ifavailable"===o&&(ti.verifyProxies=!0),void 0!==a){var s=a===tj?tj:"observed"===a;ti.enforceActions=s,ti.allowStateChanges=!0!==s&&s!==tj}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(ti[t]=!!e[t])}),ti.allowStateReads=!ti.observableRequiresReaction,e.reactionScheduler&&(r=e.reactionScheduler,i=td,td=function(e){return r(function(){return i(e)})})},"getDependencyTree",0,function(e,t){return function e(t){var n={name:t.name_};return t.observing_&&t.observing_.length>0&&(n.dependencies=Array.from(new Set(t.observing_)).map(e)),n}(nb(e,t))},"isObservableArray",0,t3,"isObservableMap",0,t7,"isObservableObject",0,nu,"makeObservable",0,function(e,t,n){return nw(function(){var r=na(e,n)[J];null!=t||(B(e,$)||j(e,$,q({},e[$])),t=e[$]),D(t).forEach(function(e){return r.make_(e,t[e])})}),e},"observable",0,eV,"reaction",0,function(e,t,n){void 0===n&&(n=b);var r,i,o,a,s,l,u=null!=(o=n.name)?o:"Reaction",c=tO(u,n.onError?(r=n.onError,i=t,function(){try{return i.apply(this,arguments)}catch(e){r.call(this,e)}}):t),f=!n.scheduler&&!n.delay,d=tA(n),h=!0,v=!1,p=n.compareStructural?en:n.equals||er,g=new tf(u,function(){h||f?_():v||(v=!0,d(_))},n.onError,n.requiresObservable);function _(){if(v=!1,!g.isDisposed){var t=!1,r=l;g.track(function(){var n=ez(!1,function(){return e(g)});
2t=h||!p(l,n),l=n}),h&&n.fireImmediately?c(l,r,g):!h&&t&&c(l,r,g),h=!1}}return null!=(a=n)&&null!=(a=a.signal)&&a.aborted||g.schedule_(),g.getDisposer_(null==(s=n)?void 0:s.signal)},"untracked",0,e5])},401262,e=>{"use strict";var t=e.i(136817),n=e.i(653892),r=e.i(730098),i=e.i(253876),o=e.i(13736),a=e.i(389959),s=e.i(351981),l=e.i(861644),u=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,o.default)(e,t)})},c=function(e){function o(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.addClass(i,o?"appear":"enter","active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r&&n?n+"-":"",o=r?""+i+e:n[e],a=r?o+"-active":n[e+"Active"],s=r?o+"-done":n[e+"Done"];return{baseClassName:o,activeClassName:a,doneClassName:s}},t}(0,r.default)(o,e);var c=o.prototype;return c.addClass=function(e,t,n){var r,o=this.getClassNames(t)[n+"ClassName"],a=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&a&&(o+=" "+a),"active"===n&&e&&(0,l.forceReflow)(e),o&&(this.appliedClasses[t][n]=o,r=o,e&&r&&r.split(" ").forEach(function(t){return(0,i.default)(e,t)}))},c.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&u(e,r),i&&u(e,i),o&&u(e,o)},c.render=function(){var e=this.props,r=(e.classNames,(0,n.default)(e,["classNames"]));return a.default.createElement(s.default,(0,t.default)({},r,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},o}(a.default.Component);c.defaultProps={classNames:""},c.propTypes={},e.s(["CSSTransition",0,c],401262)},351981,170175,861644,e=>{"use strict";var t=e.i(653892),n=e.i(730098),r=e.i(389959),i=e.i(971131);let o=r.default.createContext(null);e.s(["default",0,o],170175);var a=function(e){return e.scrollTop};e.s(["forceReflow",0,a],861644);var s="unmounted",l="exited",u="entering",c="entered",f="exiting",d=function(e){function d(t,n){var r,i=e.call(this,t,n)||this,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=l,i.appearStatus=u):r=c:r=t.unmountOnExit||t.mountOnEnter?s:l,i.state={status:r},i.nextCallback=null,i}(0,n.default)(d,e),d.getDerivedStateFromProps=function(e,t){return e.in&&t.status===s?{status:l}:null};var h=d.prototype;return h.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},h.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==c&&(t=u):(n===u||n===c)&&(t=f)}this.updateStatus(!1,t)},h.componentWillUnmount=function(){this.cancelNextCallback()},h.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},h.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===u){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.default.findDOMNode(this);n&&a(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:s})},h.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.
2isMounting:e,o=this.props.nodeRef?[r]:[i.default.findDOMNode(this),r],a=o[0],s=o[1],l=this.getTimeouts(),f=r?l.appear:l.enter;(e||n)&&1?(this.props.onEnter(a,s),this.safeSetState({status:u},function(){t.props.onEntering(a,s),t.onTransitionEnd(f,function(){t.safeSetState({status:c},function(){t.props.onEntered(a,s)})})})):this.safeSetState({status:c},function(){t.props.onEntered(a)})},h.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:i.default.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:f},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:l},function(){e.props.onExited(r)})})})):this.safeSetState({status:l},function(){e.props.onExited(r)})},h.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},h.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},h.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},h.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)},h.render=function(){var e=this.state.status;if(e===s)return null;var n=this.props,i=n.children,a=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,t.default)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.default.createElement(o.Provider,{value:null},"function"==typeof i?i(e,a):r.default.cloneElement(r.default.Children.only(i),a))},d}(r.default.Component);function h(){}d.contextType=o,d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},d.UNMOUNTED=s,d.EXITED=l,d.ENTERING=u,d.ENTERED=c,d.EXITING=f,e.s(["default",0,d],351981)},909426,e=>{"use strict";var t=e.i(389959);let n=(0,t.createContext)(null);e.s(["default",0,n,"useLoopNavComponentContext",0,e=>{let r=(0,t.useContext)(n);if(!r)return e;let i=r.component;return i||e},"useLoopNavContext",0,()=>{let e=(0,t.useContext)(n);if(!e)throw Error("Missing Loop Nav Context");return e}])},433770,e=>{"use strict";var t,n,r,i,o,a,s,l,u,c,f,d,h=e.i(389959);(t=s||(s={})).Coral="Coral",t.Cyclone="Cyclone",t.Firebase="Firebase",(n=l||(l={})).Coral="Coral",n.Cyclone="Cyclone",(r=u||(u={})).CoralRec="CoralRec",r.CoralReply="CoralReply",r.CoralCommentApproved="CoralCommentApproved",r.CycloneReplyRec="CycloneReplyRec",r.CycloneReply="CycloneReply",r.CycloneFanPostRec="CycloneFanPostRec",r.CycloneFanPostReply="CycloneFanPostReply",r.CoralRecSummary="CoralRecSummary",r.CycloneFPRecSummary="CycloneFPRecSummary",r.CycloneReplyRecSummary="CycloneReplyRecSummary",(i=c||(c={})).All="All",i.Unread="Unread",i.Unseen="Unseen",(o=f||(f={})).NewestFirst="NewestFirst",o.OldestFirst="OldestFirst",(a=d||(d={})).CycloneFanPost="CycloneFanPost",a.CycloneExternalRoot="CycloneExternalRoot";let v=(0,h.createContext)({RootStore:null}),p=(0,h.createContext)(null);e.s(["NotificationSource",0,l,"NotificationType",0,u,"NotificationsFilter",0,c,"useNotificationsStore",0,function(){return(0,h.useContext)(v)},"useOptionalNotificationsDrawerContext",0,function(){return(0,h.useContext)(p)}])},710395,e=>{"use strict";var t=e.i(389959);let n=(0,t.createContext)(null);e.s(["default",0,n,"usePaywall",0,()=>{let e=(0,t.useContext)(n);if(!e)throw Error("Missing Paywall Context");return e}])},780070,e=>{"use strict";var t=e.i(478902);e.s(["default",0,({className:e="",fill:n="currentColor",width:r=25,height:i=25,id:o,title:a="Notifications"})=>(0,t.jsxs)("svg",{className:e,width:r,height:i,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",id:o,children:[(0,t.jsx)("title",{children:a}),(0,t.jsx)("path",{d:"M12.5 1.59375C13.4362 1.59389 14.3319 2.08811 14.7725 2.91309C17.3943 3.87547 19.3438 6.33443 19.3438 9.375C19.3438 11.7269 19.9919 14.0106 21.2256 15.9854L21.4795 16.376L21.4893 16.3896L22.3486 17.7178L22.3545 17.7275C22.6894 18.2635 22.7045 18.9021 22.4287 19.417C22.1487 19.9395 21.5979 20.2811 20.9375 20.2812H16.3008C15.9494 22.0578 14.3764 23.4062 12.5 23.4062C10.6235 23.4062 9.05064 22.0578 8.69922 20.2812H4.0625C3.40199 20.2812 2.85141 19.9395 2.57129 19.417C2.29544 18.9021 2.31047 18.2636 2.64551 17.7275L2.65137 17.7178L3.51074 16.3896L3.51953 16.376C4.91815 14.3148 5.65625 11.8835 5.65625 9.375C5.65625 6.3346 7.60499 3.87558 10.2266 2.91309C10.6671 2.08787 11.5636 1.59375 12.5 1.59375ZM10.25 20.2812C10.5666 21.2217 11.4574 21.9062 12.5 21.9062C13.5425 21.9062 14.4334 21.2217 14.75 20.2812H10.25ZM12.5 3.09375C12.005 3.09375 11.6144 3.38947 11.4932 3.75293C11.417 3.98151 11.2348 4.15948 11.0049 4.23145C8.79186 4.92302 7.15625 6.91712 7.15625 9.375C7.15625 12.1732 6.33333 14.8924 4.76953 17.2031L4.77051 17.2041L3.91699 18.5225C3.86156 18.6112 3.87649 18.676 3.89355 18.708C3.90318 18.7259 3.91722 18.7419 3.9375 18.7539C3.95671 18.7652 3.99506 18.7812 4.0625 18.7812H20.9375C21.005 18.7812 21.0434 18.7652 21.0625 18.7539C21.0826 18.7419 21.0969 18.7259 21.1064 18.708C21.1235 18.6759 21.1382 18.6109 21.083 18.5225H21.082L20.2383 17.2178C18.6684 14.9041 17.8438 12.1788 17.8438 9.375C17.8438 6.91728 16.2079 4.92314 13.9951 4.23145C13.7651 4.15956 13.5831 3.98155 13.5068 3.75293C13.3857 3.38951 12.9948 3.09391 12.5 3.09375Z",fill:n})]})])},48739,928361,255592,495528,131454,305241,991560,599854,792738,e=>{"use strict";let t,n,r,i,o;var a,s,l=e.i(478902),u=e.i(389959);function c(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){var n;let r={current:!0};return n=()=>{r.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(n):Promise.resolve().then(n).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{r.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=c();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function f(){let[e]=(0,u.useState)(c);return(0,u.useEffect)(()=>()=>
2e.dispose(),[e]),e}e.s(["useDisposables",0,f],928361);var d=Object.defineProperty,h=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?d(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};let v=new class{constructor(){h(this,"current",this.detect()),h(this,"handoffState","pending"),h(this,"currentId",0)}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"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};e.s(["env",0,v],255592);let p=(e,t)=>{v.isServer?(0,u.useEffect)(e,t):(0,u.useLayoutEffect)(e,t)};function g(e){let t=(0,u.useRef)(e);return p(()=>{t.current=e},[e]),t}let _=function(e){let t=g(e);return u.default.useCallback((...e)=>t.current(...e),[t])};function m(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in u&&(0,u.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=u.useState(v.isHandoffComplete);return n&&!1===v.isHandoffComplete&&r(!1),u.useEffect(()=>{!0!==n&&r(!0)},[n]),u.useEffect(()=>v.handoff(),[]),!t&&n}e.s(["useEvent",0,_],495528);let b=Symbol();function y(...e){let t=(0,u.useRef)(e);(0,u.useEffect)(()=>{t.current=e},[e]);let n=_(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[b]))?void 0:n}e.s(["optionalRef",0,function(e,t=!0){return Object.assign(e,{[b]:t})},"useSyncRefs",0,y],131454);var w=e.i(505284);void 0!==w.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(a=null==w.default?void 0:w.default.env)?void 0:a.NODE_ENV)==="test"&&void 0===(null==(s=null==Element?void 0:Element.prototype)?void 0:s.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
3`)),[]});var x=((t=x||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);function O(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function S(e,t,n,r){let[i,o]=(0,u.useState)(n),{hasFlag:a,addFlag:s,removeFlag:l}=function(e=0){let[t,n]=(0,u.useState)(e),r=(0,u.useCallback)(e=>n(e),[]),i=(0,u.useCallback)(e=>n(t=>t|e),[]),o=(0,u.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:(0,u.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,u.useCallback)(e=>n(t=>t^e),[])}}(e&&i?3:0),d=(0,u.useRef)(!1),h=(0,u.useRef)(!1);return p(()=>{var i;if(e){if(n&&o(!0),!t){n&&s(3);return}return null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let o=c();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(function(e,t){var n,r;let i=c();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,r))})}),o.dispose}(t,{inFlight:d,prepare(){h.current?h.current=!1:h.current=d.current,d.current=!0,h.current||(n?(s(3),l(4)):(s(4),l(2)))},run(){h.current?n?(l(3),s(4)):(l(4),s(3)):n?l(1):s(1)},done(){var e,i,a,s;h.current&&(null!=(s=null==(a=(i=t).getAnimations)?void 0:a.call(i))?s:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(d.current=!1,l(7),n||o(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,f()]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}e.s(["transitionDataAttributes",0,O,"useTransition",0,S],305241);let C=(0,u.createContext)(null);C.displayName="OpenClosedContext";var E=((n=E||{})[n.Open=1]="Open",n[n.Closed=2]="Closed",n[n.Closing=4]="Closing",n[n.Opening=8]="Opening",n);function A(){return(0,u.useContext)(C)}function k({value:e,children:t}){return u.default.createElement(C.Provider,{value:e},t)}function R(...e){return Array.from(new Set(e.flatMap(e=>
3"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function j(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,j),r}e.s(["OpenClosedProvider",0,k,"ResetOpenClosedProvider",0,function({children:e}){return u.default.createElement(C.Provider,{value:null},e)},"State",0,E,"useOpenClosed",0,A],991560),e.s(["match",0,j],599854);var P=((r=P||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),T=((i=T||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function N(){let e,t,n=(e=(0,u.useRef)([]),t=(0,u.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),(...n)=>{if(!n.every(e=>null==e))return e.current=n,t});return(0,u.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:s}){s=null!=s?s:M;let l=D(t,e);if(o)return L(l,n,r,a,s);let u=null!=i?i:0;if(2&u){let{static:e=!1,...t}=l;if(e)return L(t,n,r,a,s)}if(1&u){let{unmount:e=!0,...t}=l;return j(+!e,{0:()=>null,1:()=>L({...t,hidden:!0,style:{display:"none"}},n,r,a,s)})}return L(l,n,r,a,s)})({mergeRefs:n,...e}),[n])}function L(e,t={},n,r,i){let{as:o=n,children:a,refName:s="ref",...l}=F(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},f="function"==typeof a?a(t):a;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(d["data-headlessui-state"]=n.join(" "),n))d[`data-${e}`]=""}if(I(o)&&(Object.keys(B(l)).length>0||Object.keys(B(d)).length>0))if(!(0,u.isValidElement)(f)||Array.isArray(f)&&f.length>1||I(f.type)){if(Object.keys(B(l)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(B(l)).concat(Object.keys(B(d))).map(e=>`  - ${e}`).join(`
4`),"","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=>`  - ${e}`).join(`
5`)].join(`
6`))}else{var h;let e=f.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>R(t(...e),l.className):R(t,l.className),r=D(f.props,B(F(l,["ref"])));for(let e in d)e in r&&delete d[e];return(0,u.cloneElement)(f,Object.assign({},r,d,c,{ref:i((h=f,u.default.version.split(".")[0]>="19"?h.props.ref:h.ref),c.ref)},n?{className:n}:{}))}return(0,u.createElement)(o,Object.assign({},F(l,["ref"]),!I(o)&&c,!I(o)&&d),f)}function M(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function D(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function V(e){var t;return Object.assign((0,u.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function B(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function F(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function I(e){return e===u.Fragment||e===Symbol.for("react.fragment")}function U(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!I(null!=(t=e.as)?t:z)||1===u.default.Children.count(e.children)}e.s(["RenderFeatures",0,P,"RenderStrategy",0,T,"compact",0,B,"forwardRefWithAs",0,V,"isFragment",0,I,"mergeProps",0,function(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){for(let r of n[e])null==r||r(...t)}});return t},"useRender",0,N],792738);let H=(0,u.createContext)(null);H.displayName="TransitionContext";var K=((o=K||{}).Visible="visible",o.Hidden="hidden",o);let G=(0,u.createContext)(null);function q(e){return"children"in e?q(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function W(e,t){let n,r=g(e),i=(0,u.useRef)([]),o=(n=(0,u.useRef)(!1),p(()=>(n.current=!0,()=>{n.current=!1}),[]),n),a=f(),s=_((e,t=T.Hidden)=>{let n=i.current.findIndex(({el:t})=>t===e);-1!==n&&(j(t,{[T.Unmount](){i.current.splice(n,1)},[T.Hidden](){i.current[n].state="hidden"}}),a.microTask(()=>{var e;!q(i)&&o.current&&(null==(e=r.current)||e.call(r))}))}),l=_(e=>{let t=i.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>s(e,T.Unmount)}),c=(0,u.useRef)([]),d=(0,u.useRef)(Promise.resolve()),h=(0,u.useRef)({enter:[],leave:[]}
6),v=_((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{c.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(h.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?d.current=d.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),m=_((e,t,n)=>{Promise.all(h.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=c.current.shift())||e()}).then(()=>n(t))});return(0,u.useMemo)(()=>({children:i,register:l,unregister:s,onStart:v,onStop:m,wait:d,chains:h}),[l,s,i,v,m,h,d])}G.displayName="NestingContext";let z=u.Fragment,$=P.RenderStrategy,X=V(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...o}=e,a=(0,u.useRef)(null),s=y(...U(e)?[a,t]:null===t?[]:[t]);m();let l=A();if(void 0===n&&null!==l&&(n=(l&E.Open)===E.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=(0,u.useState)(n?"visible":"hidden"),d=W(()=>{n||f("hidden")}),[h,v]=(0,u.useState)(!0),g=(0,u.useRef)([n]);p(()=>{!1!==h&&g.current[g.current.length-1]!==n&&(g.current.push(n),v(!1))},[g,n]);let b=(0,u.useMemo)(()=>({show:n,appear:r,initial:h}),[n,r,h]);p(()=>{n?f("visible"):q(d)||null===a.current||f("hidden")},[n,d]);let w={unmount:i},x=_(()=>{var t;h&&v(!1),null==(t=e.beforeEnter)||t.call(e)}),O=_(()=>{var t;h&&v(!1),null==(t=e.beforeLeave)||t.call(e)}),S=N();return u.default.createElement(G.Provider,{value:d},u.default.createElement(H.Provider,{value:b},S({ourProps:{...w,as:u.Fragment,children:u.default.createElement(Y,{ref:s,...w,...o,beforeEnter:x,beforeLeave:O})},theirProps:{},defaultTag:u.Fragment,features:$,visible:"visible"===c,name:"Transition"})))}),Y=V(function(e,t){var n,r;let{transition:i=!0,beforeEnter:o,afterEnter:a,beforeLeave:s,afterLeave:l,enter:c,enterFrom:f,enterTo:d,entered:h,leave:v,leaveFrom:g,leaveTo:b,...w}=e,[x,C]=(0,u.useState)(null),A=(0,u.useRef)(null),P=U(e),L=y(...P?[A,t,C]:null===t?[]:[t]),M=null==(n=w.unmount)||n?T.Unmount:T.Hidden,{show:D,appear:V,initial:F}=function(){let e=(0,u.useContext)(H);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,K]=(0,u.useState)(D?"visible":"hidden"),X=function(){let e=(0,u.useContext)(G);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Y,unregister:Z}=X;p(()=>Y(A),[Y,A]),p(()=>
6{if(M===T.Hidden&&A.current)return D&&"visible"!==I?void K("visible"):j(I,{hidden:()=>Z(A),visible:()=>Y(A)})},[I,A,Y,Z,D,M]);let J=m();p(()=>{if(P&&J&&"visible"===I&&null===A.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[A,I,J,P]);let Q=F&&!V,ee=V&&D&&F,et=(0,u.useRef)(!1),en=W(()=>{et.current||(K("hidden"),Z(A))},X),er=_(e=>{et.current=!0,en.onStart(A,e?"enter":"leave",e=>{"enter"===e?null==o||o():"leave"===e&&(null==s||s())})}),ei=_(e=>{let t=e?"enter":"leave";et.current=!1,en.onStop(A,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==l||l())}),"leave"!==t||q(en)||(K("hidden"),Z(A))});(0,u.useEffect)(()=>{P&&i||(er(D),ei(D))},[D,P,i]);let[,eo]=S(!(!i||!P||!J||Q),x,D,{start:er,end:ei}),ea=B({ref:L,className:(null==(r=R(w.className,ee&&c,ee&&f,eo.enter&&c,eo.enter&&eo.closed&&f,eo.enter&&!eo.closed&&d,eo.leave&&v,eo.leave&&!eo.closed&&g,eo.leave&&eo.closed&&b,!eo.transition&&D&&h))?void 0:r.trim())||void 0,...O(eo)}),es=0;"visible"===I&&(es|=E.Open),"hidden"===I&&(es|=E.Closed),D&&"hidden"===I&&(es|=E.Opening),D||"visible"!==I||(es|=E.Closing);let el=N();return u.default.createElement(G.Provider,{value:en},u.default.createElement(k,{value:es},el({ourProps:ea,theirProps:w,defaultTag:z,features:$,visible:"visible"===I,name:"Transition.Child"})))}),Z=V(function(e,t){let n=null!==(0,u.useContext)(H),r=null!==A();return u.default.createElement(u.default.Fragment,null,!n&&r?u.default.createElement(X,{ref:t,...e}):u.default.createElement(Y,{ref:t,...e}))}),J=Object.assign(X,{Child:Z,Root:X});var Q=e.i(197649),ee=e.i(298660),et=e.i(970060),en="_1bknwkd2";e.s(["default",0,({children:e,drawerId:t,drawerClassName:n,onClose:r,open:i,storybookStatic:o,initialFocusElement:a,"aria-label":s,scrollToTop:c=!0,disableTransition:f})=>{let d=(0,u.useRef)(a);d.current=a;let[h,v]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{i&&c&&document.getElementById(`${t}-scroll`)?.scrollTo({top:0})},[t,i,c]),(0,l.jsx)(J,{show:i,as:u.Fragment,unmount:!1,children:(0,l.jsx)("div",{className:(0,Q.default)("_1bknwkd0",o&&en),id:t,onClick:e=>{e.currentTarget===e.target&&r()},onKeyUp:e=>{"Escape"===e.key&&r()},role:"dialog","aria-modal":"true","aria-labelledby":`${t}-title`,children:(0,l.jsx)(Z,{as:u.Fragment,className:f?"_1bknwkd3":void 0,...{enter:"_1bknwkd4",enterFrom:"_1bknwkd5",enterTo:"_1bknwkd6",leave:"_1bknwkd7",leaveFrom:"_1bknwkd8",leaveTo:"_1bknwkd9"},unmount:!1,afterEnter:()=>v(!0),afterLeave:()=>v(!1),children:(0,l.jsxs)("section",{className:(0,Q.default)("_1bknwkd1",n,o&&en),id:`${t}-scroll`,children:[(0,l.jsx)("div",{className:et.sharedStyles.accessibility.srOnly,children:(0,l.jsx)("div",{id:`${t}-title`,children:s})}),(0,l.jsx)(ee.default,{active:h,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,initialFocus:()=>d.current?d.current:void 0},children:(0,l.jsx)("div",{children:e})})]})})})})}],48739)}]);
7
8//# debugId=1bbb02a8-d57f-1de7-986a-306354887e38
9//# sourceMappingURL=3mnv2j55qwjtf.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.