1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1465],{17325:function(e,n,t){t.d(n,{q:function(){return a}});var r=t(2265);function o(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}var i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u=new WeakMap;function a(e,n){var t,a,c,l=(t=n||null,a=function(n){return e.forEach(function(e){return o(e,n)})},(c=(0,r.useState)(function(){return{value:t,callback:a,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=a,c.facade);return i(function(){var n=u.get(l);if(n){var t=new Set(n),r=new Set(e),i=l.current;t.forEach(function(e){r.has(e)||o(e,null)}),r.forEach(function(e){t.has(e)||o(e,i)})}u.set(l,e)},[e]),l}},31412:function(e,n,t){t.d(n,{_:function(){return a},s:function(){return u}});var r=t(5853);function o(e){return e}function i(e,n){void 0===n&&(n=o);var t=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(e){var o=n(e,r);return t.push(o),function(){t=t.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;t.length;){var n=t;t=[],n.forEach(e)}t={push:function(n){return e(n)},filter:function(){return t}}},assignMedium:function(e){r=!0;var n=[];if(t.length){var o=t;t=[],o.forEach(e),n=t}var i=function(){var t=n;n=[],t.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),t={push:function(e){n.push(e),u()},filter:function(e){return n=n.filter(e),t}}}}}function u(e,n){return void 0===n&&(n=o),i(e,n)}function a(e){void 0===e&&(e={});var n=i(null);return n.options=(0,r.pi)({async:!0,ssr:!1},e),n}},11993:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(73882);function o(e,n,t){return(n=(0,r.Z)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},74610:function(e,n,t){t.d(n,{Z:function(){return r}});function r(e,n){if(null==e)return{};var t={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}return t}},85533:function(e,n,t){t.d(n,{Z:function(){return r}});function r(e,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}},73882:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(41154);function o(e){var n=function(e,n){if("object"!=(0,r.Z)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(n)?n:n+""}},41154:function(e,n,t){t.d(n,{Z:function(){return r}});function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}},31718:function(e,n,t){t.d(n,{useDisclosure:function(){return i}});var r=t(55996),o=t(2265);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onClose:n,onOpen:t,isOpen:i,id:u}=e,a=(0,r.useCallbackRef)(t),c=(0,r.useCallbackRef)(n),[l,d]=(0,o.useState)(e.defaultIsOpen||!1),s=void 0!==i?i:l,f=void 0!==i,v=(0,o.useId)(),p=null!=u?u:"disclosure-".concat(v),m=(0,o.useCallback)(()=>{f||d(!1),null==c||c()},[f,c]),h=(0,o.useCallback)(()=>{f||d(!0),null==a||a()},[f,a]),b=(0,o.useCallback)(()=>{s?m():h()},[s,h,m]);return{isOpen:s,onOpen:h,onClose:m,onToggle:b,isControlled:f,getButtonProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"aria-expanded":s,"aria-controls":p,onClick(n){var t;null===(t=e.onClick)||void 0===t||t.call(e,n),b()}}},getDisclosureProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,hidden:!s,id:p}}}}},45796:function(e,n,t){t.d(n,{D:function(){return r},useButtonGroup:function(){return o}});let[r,o]=(0,t(34008).createContext)({strict:!1,name:"ButtonGroupContext"})},57833:function(e,n,t){t.d(n,{ButtonSpinner:function(){return l}});var r=t(57437),o=t(21877),i=t(24377),u=t(2265),a=t(72940),c=t(81284);function l(e){let{label:n,placement:t,spacing:l="0.5rem",children:d=(0,r.jsx)(a.Spinner,{color:"currentColor",width:"1em",height:"1em"}),className:s,__css:f,...v}=e,p=(0,i.cx)("chakra-button__spinner",s),m="start"===t?"marginEnd":"marginStart",h=(0,u.useMemo)(()=>(0,o.k0)({display:"flex",alignItems:"center",position:n?"relative":"absolute",[m]:n?l:0,fontSize:"1em",lineHeight:"normal",...f}),[f,n,m,l]);return(0,r.jsx)(c.chakra.div,{className:p,...v,__css:h,children:d})}l.displayName="ButtonSpinner"},26440:function(e,n,t){t.d(n,{Button:function(){return m}});var r=t(57437),o=t(47400),i=t(29178),u=t(97291),a=t(24377),c=t(2265),l=t(45796),d=t(81284);function s(e){let{children:n,className:t,...o}=e,i=(0,c.isValidElement)(n)?(0,c.cloneElement)(n,{"aria-hidden":!0,focusable:!1}):n,u=(0,a.cx)("chakra-button__icon",t);return(0,r.jsx)(d.chakra.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:u,children:i})}s.displayName="ButtonIcon";var f=t(57833),v=t(44109),p=t(79585);let m=(0,v.forwardRef)((e,n)=>{let t=(0,l.useButtonGroup)(),s=(0,p.useStyleConfig)("Button",{...t,...e}),{isDisabled:v=null==t?void 0:t.isDisabled,isLoading:m,isActive:b,children:y,leftIcon:g,rightIcon:x,loadingText:w,iconS
1pacing:E="0.5rem",type:S,spinner:M,spinnerPlacement:k="start",className:C,as:N,shouldWrapChildren:O,...A}=(0,i.L)(e),T=(0,c.useMemo)(()=>{let e={...null==s?void 0:s._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...s,...!!t&&{_focus:e}}},[s,t]),{ref:R,type:I}=function(e){let[n,t]=(0,c.useState)(!e);return{ref:(0,c.useCallback)(e=>{e&&t("BUTTON"===e.tagName)},[]),type:n?"button":void 0}}(N),j={rightIcon:x,leftIcon:g,iconSpacing:E,children:y,shouldWrapChildren:O};return(0,r.jsxs)(d.chakra.button,{disabled:v||m,ref:(0,o.useMergeRefs)(n,R),as:N,type:null!=S?S:I,"data-active":(0,u.P)(b),"data-loading":(0,u.P)(m),__css:T,className:(0,a.cx)("chakra-button",C),...A,children:[m&&"start"===k&&(0,r.jsx)(f.ButtonSpinner,{className:"chakra-button__spinner--start",label:w,placement:"start",spacing:E,children:M}),m?w||(0,r.jsx)(d.chakra.span,{opacity:0,children:(0,r.jsx)(h,{...j})}):(0,r.jsx)(h,{...j}),m&&"end"===k&&(0,r.jsx)(f.ButtonSpinner,{className:"chakra-button__spinner--end",label:w,placement:"end",spacing:E,children:M})]})});function h(e){let{leftIcon:n,rightIcon:t,children:o,iconSpacing:i,shouldWrapChildren:u}=e;return u?(0,r.jsxs)("span",{style:{display:"contents"},children:[n&&(0,r.jsx)(s,{marginEnd:i,children:n}),o,t&&(0,r.jsx)(s,{marginStart:i,children:t})]}):(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)(s,{marginEnd:i,children:n}),o,t&&(0,r.jsx)(s,{marginStart:i,children:t})]})}m.displayName="Button"},60458:function(e,n,t){t.d(n,{FocusLock:function(){return e1}});var r,o,i,u=t(57437),a=t(74610),c=t(1119),l=t(2265),d="data-focus-lock",s="data-focus-lock-disabled",f=t(17325),v={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},p=t(31412),m=(0,p.s)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),h=(0,p.s)(),b=(0,p.s)(),y=(0,p._)({async:!0,ssr:"undefined"!=typeof document}),g=(0,l.createContext)(void 0),x=[],w=(0,l.forwardRef)(function(e,n){var t,r=(0,l.useState)(),o=r[0],i=r[1],u=(0,l.useRef)(),a=(0,l.useRef)(!1),p=(0,l.useRef)(null),b=(0,l.useState)({})[1],w=e.children,E=e.disabled,S=void 0!==E&&E,M=e.noFocusGuards,k=void 0!==M&&M,C=e.persistentFocus,N=e.crossFrame,O=e.autoFocus,A=(e.allowTextSelection,e.group),T=e.className,R=e.whiteList,I=e.hasPositiveIndices,j=e.shards,P=void 0===j?x:j,_=e.as,F=e.lockProps,D=e.sideCar,L=e.returnFocus,B=void 0!==L&&L,W=e.focusOptions,Z=e.onActivation,U=e.onDeactivation,G=(0,l.useState)({})[0],q=(0,l.useCallback)(function(e){var n=e.captureFocusRestore;if(!p.current){var t,r=null==(t=document)?void 0:t.activeElement;p.current=r,r!==document.body&&(p.current=n(r))}u.current&&Z&&Z(u.current),a.current=!0,b()},[Z]),H=(0,l.useCallback)(function(){a.current=!1,U&&U(u.current),b()},[U]),Y=(0,l.useCallback)(function(e){var n=p.current;if(n){var t=("function"==typeof n?n():n)||document.body,r="function"==typeof B?B(t):B;if(r){var o="object"==typeof r?r:void 0;p.current=null,e?Promise.resolve().then(function(){return t.focus(o)}):t.focus(o)}}},[B]),X=(0,l.useCallback)(function(e){a.current&&m.useMedium(e)},[]),z=h.useMedium,V=(0,l.useCallback)(function(e){u.current!==e&&(u.current=e,i(e))},[]),K=(0,c.Z)(((t={})[s]=S&&"disabled",t[d]=A,t),void 0===F?{}:F),J=!0!==k,Q=J&&"tail"!==k,$=(0,f.q)([n,V]),ee=(0,l.useMemo)(function(){return{observed:u,shards:P,enabled:!S,active:a.current}},[S,a.current,P,o]);return l.createElement(l.Fragment,null,J&&[l.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:S?-1:0,style:v}),I?l.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:S?-1:1,style:v}):null],!S&&l.createElement(D,{id:G,sideCar:y,observed:o,disabled:S,persistentFocus:void 0!==C&&C,crossFrame:void 0===N||N,autoFocus:void 0===O||O,whiteList:R,shards:P,onActivation:q,onDeactivation:H,returnFocus:Y,focusOptions:W,noFocusGuards:k}),l.createElement(void 0===_?"div":_,(0,c.Z)({ref:$},K,{className:T,onBlur:z,onFocus:X}),l.createElement(g.Provider,{value:ee},w)),Q&&l.createElement("div",{"data-focus-guard":!0,tabIndex:S?-1:0,style:v}))});w.propTypes={};var E=t(85533),S=t(11993),M=function(e){for(var n=Array(e.length),t=0;t<e.length;++t)n[t]=e[t];return n},k=function(e){return Array.isArray(e)?e:[e]},C=function(e){return Array.isArray(e)?e[0]:e},N=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=window.getComputedStyle(e,null);return!!n&&!!n.getPropertyValue&&("none"===n.getPropertyValue("display")||"hidden"===n.getPropertyValue("visibility"))},O=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},A=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},T=function(e,n){var t,r=e.get(n);if(void 0!==r)return r;var o=(t=T.bind(void 0,e),!n||A(n)||!N(n)&&!n.hasAttribute("inert")&&t(O(n)));return e.set(n,o),o},R=function(e,n){var t,r=e.get(n);if(void 0!==r)return r;var o=(t=R.bind(void 0,e),!n||!!A(n)||!!_(n)&&t(O(n)));return e.set(n,o),o},I=function(e){return e.dataset},j=function(e){return"INPUT"===e.tagName},P=function(e){return j(e)&&"radio"===e.type},_=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},F=function(e){var n;return!!(e&&(null===(n=I(e))||void 0===n?void 0:n.focusGuard))},D=function(e){return!F(e)},L=function(e){return!!e},B=function(e,n){var t=Math.max(0,e.tabIndex),r=Math.max(0,n.tabIndex),o=t-r,i=e.index-n.index;if(o){if(!t)return 1;if(!r)return -1}return o||i},W=function(e,n,t){return M(e).map(function(e,n){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:n,tabIndex:t&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!n||e.tabIndex>=0}).sort(B)},Z="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",U="".concat(Z,", [data-focus-guard]"),G=function(e,n){return M((e.shadowRoot||e).children).reduce(function(e,t){return e.concat(t.matches(n?U:Z)?[t]:[],G(t))},[])},q=function(e,n){var t;return e instanceof HTMLIFrameElement&&(null===(t=e.contentDocument)||void 0===t?void 0:t.body)?H([e.contentDocument.body],n):[e]},H=function(e,n){return e.reduce(function(e,t){var r,o=G(t,n),i=(r=[]).concat.apply(r,o.map(function(e){return q(e,n)}));return e.concat(i,t.parentNode?M(t.parentNode.querySelectorAll(Z)).filter(function(e){return e===t}):[])},[])},Y=function(e,n){return M(e).filter(function(e){return T(n,e)}).filter(function(e){return!((j(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},X=function(e,n){return void 0===n&&(n=new Map),M(e).filter(function(e){return R(n,e)})},z=function(e,n,t){return W(Y(H(e,t),n),!0,t)},V=function(e,n){return W(Y(H(e),n),!1)},K=function(e,n){return e.shadowRoot?K(e.shadowRoot,n):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,n))||M(e.children).some(function(e){var t;if(e instanceof HTMLIFrameElement){var r=null===(t=e.contentDocument)||void 0===t?void 0:t.body;return!!r&&K(r,n)}return K(e,n)})},J=function(e){try{return e()}catch(e){return}},Q=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var n=e.activeElement;return n.shadowRoot?Q(n.shadowRoot):n instanceof HTMLIFrameElement&&J(function(){return n.contentWindow.document})?Q(n.contentWindow.document):n}},$=function(e){void 0===e&&(e=document);var n=Q(e);return!!n&&M(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return K(e,n)})},ee=function(e){for(var n=new Set,t=e.length,r=0;r<t;r+=1)for(var o=r+1;o<t;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&n.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&n.add(r)}return e.filter(function(e,t){return!n.has(t)})},en=function(e){return e.parentNode?en(e.parentNode):e}
1,et=function(e){return k(e).filter(Boolean).reduce(function(e,n){var t=n.getAttribute(d);return e.push.apply(e,t?ee(M(en(n).querySelectorAll("[".concat(d,'="').concat(t,'"]:not([').concat(s,'="disabled"])')))):[n]),e},[])},er=function(e,n){return void 0===n&&(n=Q(C(e).ownerDocument)),!!n&&(!n.dataset||!n.dataset.focusGuard)&&et(e).some(function(e){var t;return K(e,n)||(t=n,!!M(e.querySelectorAll("iframe")).some(function(e){return e===t}))})},eo=function(e,n){e&&("focus"in e&&e.focus(n),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},ei=function(e,n){return P(e)&&e.name&&n.filter(P).filter(function(n){return n.name===e.name}).filter(function(e){return e.checked})[0]||e},eu=function(e){var n=new Set;return e.forEach(function(t){return n.add(ei(t,e))}),e.filter(function(e){return n.has(e)})},ea=function(e){return e[0]&&e.length>1?ei(e[0],e):e[0]},ec=function(e,n){return e.indexOf(ei(n,e))},el="NEW_FOCUS",ed=function(e,n,t,r,o){var i=e.length,u=e[0],a=e[i-1],c=F(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?t.indexOf(r):-1,d=o?t.indexOf(o):l,s=o?e.indexOf(o):-1;if(-1===l)return -1!==s?s:el;if(-1===s)return el;var f=l-d,v=t.indexOf(u),p=t.indexOf(a),m=eu(t),h=void 0!==r?m.indexOf(r):-1,b=o?m.indexOf(o):h,y=m.filter(function(e){return e.tabIndex>=0}),g=void 0!==r?y.indexOf(r):-1,x=o?y.indexOf(o):g;if(!f&&s>=0||0===n.length)return s;var w=ec(e,n[0]),E=ec(e,n[n.length-1]);if(l<=v&&c&&Math.abs(f)>1)return E;if(l>=p&&c&&Math.abs(f)>1)return w;if(f&&Math.abs(g>=0&&x>=0?x-g:b-h)>1)return s;if(l<=v)return E;if(l>p)return w;if(f)return Math.abs(f)>1?s:(i+s+f)%i}},es=function(e,n,t){var r=X(e.map(function(e){return e.node}).filter(function(e){var n,r=null===(n=I(e))||void 0===n?void 0:n.autofocus;return e.autofocus||void 0!==r&&"false"!==r||t.indexOf(e)>=0}));return r&&r.length?ea(r):ea(X(n))},ef=function(e,n){return void 0===n&&(n=[]),n.push(e),e.parentNode&&ef(e.parentNode.host||e.parentNode,n),n},ev=function(e,n){for(var t=ef(e),r=ef(n),o=0;o<t.length;o+=1){var i=t[o];if(r.indexOf(i)>=0)return i}return!1},ep=function(e,n,t){var r=k(e),o=k(n),i=r[0],u=!1;
1return o.filter(Boolean).forEach(function(e){u=ev(u||e,e)||u,t.filter(Boolean).forEach(function(e){var n=ev(i,e);n&&(u=!u||K(n,u)?n:ev(n,u))})}),u},em=function(e,n){return e.reduce(function(e,t){return e.concat(Y(M(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return H([e])}).reduce(function(e,n){return e.concat(n)},[]),n))},[])},eh=function(e,n){var t=new Map;return n.forEach(function(e){return t.set(e.node,e)}),e.map(function(e){return t.get(e)}).filter(L)},eb=function(e,n){var t=Q(k(e).length>0?document:C(e).ownerDocument),r=et(e).filter(D),o=ep(t||e,e,r),i=new Map,u=V(r,i),a=u.filter(function(e){return D(e.node)});if(a[0]){var c=V([o],i).map(function(e){return e.node}),l=eh(c,a),d=l.map(function(e){return e.node}),s=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=ed(d,s,c,t,n);if(f===el){var v=es(u,s,em(r,i))||es(u,d,em(r,i));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},ey=0,eg=!1,ex=function(e,n,t){void 0===t&&(t={});var r=eb(e,n);if(!eg&&r){if(ey>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eg=!0,setTimeout(function(){eg=!1},1);return}ey++,eo(r.node,t.focusOptions),ey--}};function ew(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var n=e?new WeakRef(e):null;return function(){return(null==n?void 0:n.deref())||null}}var eE=function(e){if(!e)return null;for(var n=[],t=e;t&&t!==document.body;)n.push({current:ew(t),parent:ew(t.parentElement),left:ew(t.previousElementSibling),right:ew(t.nextElementSibling)}),t=t.parentElement;return{element:ew(e),stack:n,ownerDocument:e.ownerDocument}},eS=function(e){if(e)for(var n,t,r,o,i,u=e.stack,a=e.ownerDocument,c=new Map,l=0;l<u.length;l++){var d=u[l],s=null===(n=d.parent)||void 0===n?void 0:n.call(d);if(s&&a.contains(s)){for(var f=null===(t=d.left)||void 0===t?void 0:t.call(d),v=d.current(),p=s.contains(v)?v:void 0,m=null===(r=d.right)||void 0===r?void 0:r.call(d),h=z([s],c),b=null!==(i=null!==(o=null!=p?p:null==f?void 0:f.nextElementSibling)&&void 0!==o?o:m)&&void 0!==i?i:f;b;){for(var y=0;y<h.length;y++){var g=h[y];if(null==b?void 0:b.contains(g.node))return g.node}b=b.nextElementSibling}if(h.length)return h[0].node}}},eM=function(e){var n=eE(e);return function(){return eS(n)}},ek=function(e){var n=et(e).filter(D),t=W(H([ep(e,e,n)],!0),!0,!0),r=H(n,!1);return t.map(function(e){var n=e.node;return{node:n,index:e.index,lockItem:r.indexOf(n)>=0,guard:F(n)}})},eC=function(e,n,t){if(!e||!n)return console.error("no element or scope given"),{};var r=k(n);if(r.every(function(n){return!K(n,e)}))return console.error("Active element is not contained in the scope"),{};var o=t?z(r,new Map):V(r,new Map),i=o.findIndex(function(n){return n.node===e});if(-1!==i)return{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}},eN=function(e,n){var t=n?z(k(e),new Map):V(k(e),new Map);return{first:t[0],last:t[t.length-1]}},eO=function(e,n,t){void 0===n&&(n={});var r,o=(r=n,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),i=eC(e,o.scope,o.onlyTabbable);if(i){var u=t(i,o.cycle);u&&eo(u.node,o.focusOptions)}},eA=function(e,n,t){var r,o=eN(e,null===(r=n.onlyTabbable)||void 0===r||r)[t];o&&eo(o.node,n.focusOptions)};function eT(e){setTimeout(e,1)}var eR=function(e){return e&&"current"in e?e.current:e},eI=function(){return document&&document.activeElement===document.body},ej=null,eP=null,e_=function(){return null},eF=null,eD=!1,eL=!1,eB=function(e,n){eF={observerNode:e,portaledElement:n}};function eW(e,n,t,r){var o=null,i=e;do{var u=r[i];if(u.guard)u.node.dataset.focusAutoGuard&&(o=u);else if(u.lockItem){if(i!==e)return;o=null}else break}while((i+=t)!==n);o&&(o.node.tabIndex=0)}var eZ=function(e){return V(e,new Map)},eU=function(){var e=!1;if(ej){var n=ej,t=n.observed,r=n.persistentFocus,o=n.autoFocus,i=n.shards,u=n.crossFrame,a=n.focusOptions,c=n.noFocusGuards,l=t||eF&&eF.portaledElement;if(eI()&&eP&&eP!==document.body&&(!document.body.contains(eP)||!eZ([(f=eP).parentNode]).some(function(e){return e.no
1de===f}))){var d=e_();d&&d.focus()}var s=document&&document.activeElement;if(l){var f,v=[l].concat(i.map(eR).filter(Boolean));if((!s||(ej.whiteList||function(){return!0})(s))&&(r||function(){if(!(u?!!eD:"meanwhile"===eD)||!c||!eP||eL)return!1;var e=eZ(v),n=e.findIndex(function(e){return e.node===eP});return 0===n||n===e.length-1}()||!(eI()||$())||!eP&&o)&&(l&&!(er(v)||s&&v.some(function(e){return function e(n,t,r){return t&&(t.host===n&&(!t.activeElement||r.contains(t.activeElement))||t.parentNode&&e(n,t.parentNode,r))}(s,e,e)})||eF&&eF.portaledElement===s)&&(document&&!eP&&s&&!o?(s.blur&&s.blur(),document.body.focus()):(e=ex(v,eP,{focusOptions:a}),eF={})),(eP=document&&document.activeElement)!==document.body&&(e_=eM(eP)),eD=!1),document&&s!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var p=document&&document.activeElement,m=ek(v),h=m.map(function(e){return e.node}).indexOf(p);h>-1&&(m.filter(function(e){var n=e.guard,t=e.node;return n&&t.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eW(h,m.length,1,m),eW(h,-1,-1,m))}}}return e},eG=function(e){eU()&&e&&(e.stopPropagation(),e.preventDefault())},eq=function(){return eT(eU)},eH=function(){eL=!0},eY=function(){eL=!1,eD="just",eT(function(){eD="meanwhile"})},eX=function(){document.addEventListener("focusin",eG),document.addEventListener("focusout",eq),window.addEventListener("focus",eH),window.addEventListener("blur",eY)},ez=function(){document.removeEventListener("focusin",eG),document.removeEventListener("focusout",eq),window.removeEventListener("focus",eH),window.removeEventListener("blur",eY)},eV={moveFocusInside:ex,focusInside:er,focusNextElement:function(e,n){void 0===n&&(n={}),eO(e,n,function(e,n){var t=e.next,r=e.first;return t||n&&r})},focusPrevElement:function(e,n){void 0===n&&(n={}),eO(e,n,function(e,n){var t=e.prev,r=e.last;return t||n&&r})},focusFirstElement:function(e,n){void 0===n&&(n={}),eA(e,n,"first")},focusLastElement:function(e,n){void 0===n&&(n={}),eA(e,n,"last")},captureFocusRestore:eM};m.assignSyncMedium(function(e){var n=e.target,t=e.currentTarget;t.contains(n)||eB(t,n)}),h.assignMedium(eq),b.assignMedium(function(e){return e(eV)});var eK=(r=function(e){return e.filter(function(e){return!e.disabled})},o=function(e){var n=e.slice(-1)[0];n&&!ej&&eX();var t=ej,r=t&&n&&n.id===t.id;ej=n,!t||r||(t.onDeactivation(),e.filter(function(e){return e.id===t.id}).length||t.returnFocus(!n)),n?(eP=null,r&&t.observed===n.observed||n.onActivation(eV),eU(!0),eT(eU)):(ez(),eP=null)},function(e){var n,t=[];function i(){o(n=r(t.map(function(e){return e.props})))}var u=function(r){function o(){return r.apply(this,arguments)||this}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,(0,E.Z)(o,r),o.peek=function(){return n};var u=o.prototype;return u.componentDidMount=function(){t.push(this),i()},u.componentDidUpdate=function(){i()},u.componentWillUnmount=function(){var e=t.indexOf(this);t.splice(e,1),i()},u.render=function(){return l.createElement(e,this.props)},o}(l.PureComponent);return(0,S.Z)(u,"displayName","SideEffect("+(e.displayName||e.name||"Component")+")"),u})(function(){return null}),eJ=(0,l.forwardRef)(function(e,n){return l.createElement(w,(0,c.Z)({sideCar:eK,ref:n},e))}),eQ=w.propTypes||{};eQ.sideCar,(0,a.Z)(eQ,["sideCar"]),eJ.propTypes={};var e$=t(79795);let e0=null!==(i=eJ.default)&&void 0!==i?i:eJ,e1=e=>{let{initialFocusRef:n,finalFocusRef:t,contentRef:r,restoreFocus:o,children:i,isDisabled:a,autoFocus:c,persistentFocus:d,lockFocusAcrossFrames:s}=e,f=(0,l.useCallback)(()=>{(null==n?void 0:n.current)?n.current.focus():(null==r?void 0:r.current)&&0===(0,e$.t5)(r.current).length&&requestAnimationFrame(()=>{var e;null===(e=r.current)||void 0===e||e.focus()})},[n,r]),v=(0,l.useCallback)(()=>{var e;null==t||null===(e=t.current)||void 0===e||e.focus()},[t]),p=o&&!t;return(0,u.jsx)(e0,{crossFrame:s,persistentFocus:d,autoFocus:c,disabled:a,onActivation:f,onDeactivation:v,returnFocus:p,children:i})};e1.displayName="FocusLock"},53201:function(e,n,t){t.d(n,{ModalBody:function(){return l}});var r=t(57437),o=t(24377),i=t(2265),u=t(48080),a=t(44109),c=t(81284);let l=(0,a.forwardRef)((e,n)=>{let{className:t,...a}=e,{bodyId:l,setBodyMounted:d}=(0,u.useModalContext)();(0,i.useEffect)(()=>(d(!0),()=>d(!1)),[d]);let s=(0,o.cx)("chakra-modal__body",t),f=(0,u.useModalStyles)();return(0,r.jsx)(c.chakra.div,{ref:n,className:s,id:l,...a,__css:f.body})});l.displayName="ModalBody"}
1,54755:function(e,n,t){t.d(n,{ModalFocusScope:function(){return X}});var r,o,i=t(57437),u=t(49637),a=t(2265),c=t(5853),l="right-scroll-bar-position",d="width-before-scroll-bar",s=t(17325),f=(0,t(31412)._)(),v=function(){},p=a.forwardRef(function(e,n){var t=a.useRef(null),r=a.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),o=r[0],i=r[1],u=e.forwardProps,l=e.children,d=e.className,p=e.removeScrollBar,m=e.enabled,h=e.shards,b=e.sideCar,y=e.noRelative,g=e.noIsolation,x=e.inert,w=e.allowPinchZoom,E=e.as,S=e.gapMode,M=(0,c._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(0,s.q)([t,n]),C=(0,c.pi)((0,c.pi)({},M),o);return a.createElement(a.Fragment,null,m&&a.createElement(b,{sideCar:f,removeScrollBar:p,shards:h,noRelative:y,noIsolation:g,inert:x,setCallbacks:i,allowPinchZoom:!!w,lockRef:t,gapMode:S}),u?a.cloneElement(a.Children.only(l),(0,c.pi)((0,c.pi)({},C),{ref:k})):a.createElement(void 0===E?"div":E,(0,c.pi)({},C,{className:d,ref:k}),l))});p.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},p.classNames={fullWidth:d,zeroRight:l};var m=function(e){var n=e.sideCar,t=(0,c._T)(e,["sideCar"]);if(!n)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw Error("Sidecar medium not found");return a.createElement(r,(0,c.pi)({},t))};m.isSideCarExport=!0;var h=function(){var e=0,n=null;return{add:function(r){if(0==e&&(n=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=o||t.nc;return n&&e.setAttribute("nonce",n),e}())){var i,u;(i=n).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),u=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(u)}e++},remove:function(){--e||!n||(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},b=function(){var e=h();return function(n,t){a.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},y=function(){var e=b();return function(n){return e(n.styles,n.dynamic),null}},g={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},w=function(e){var n=window.getComputedStyle(document.body),t=n["padding"===e?"paddingLeft":"marginLeft"],r=n["padding"===e?"paddingTop":"marginTop"],o=n["padding"===e?"paddingRight":"marginRight"];return[x(t),x(r),x(o)]},E=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return g;var n=w(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},S=y(),M="data-scroll-locked",k=function(e,n,t,r){var o=e.left,i=e.top,u=e.right,a=e.gap;return void 0===t&&(t="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(M,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([n&&"position: relative ".concat(r,";"),"margin"===t&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(u,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===t&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(l," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(M,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},C=function(){var e=parseInt(document.body.getAttribute(M)||"0",10);return isFinite(e)?e:0},N=function(){a.useEffect(function(){return document.body.setAttribute(M,(C()+1).toString()),function(){var e=C()-1;e<=0?document.body.removeAttribute(M):document.body.setAttribute(M,e.toString())}},[])},O=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;N();var i=a.useMemo(function(){return E(o)},[o]);return a.createElement(S,{styles:k(i,!n,o,t?"":"!important")})},A=!1;if("undefined"!=typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){A=!1}var R=!!A&&{passive:!1},I=function(e,n){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===t[n])},j=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),P(e,r)){var o=_(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},P=function(e,n){return"v"===e?I(n,"overflowY"):I(n,"overflowX")},_=function(e,n){return"v"===e?[n.scrollTop,n.scrollHeight,n.clientHeight]:[n.scrollLeft,n.scrollWidth,n.clientWidth]},F=function(e,n,t,r,o){var i,u=(i=window.getComputedStyle(n).direction,"h"===e&&"rtl"===i?-1:1),a=u*r,c=t.target,l=n.contains(c),d=!1,s=a>0,f=0,v=0;do{if(!c)break;var p=_(e,c),m=p[0],h=p[1]-p[2]-u*m;(m||h)&&P(e,c)&&(f+=h,v+=m);var b=c.parentNode;c=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&c!==document.body||l&&(n.contains(c)||n===c));return s&&(o&&1>Math.abs(f)||!o&&a>f)?d=!0:!s&&(o&&1>Math.abs(v)||!o&&-a>v)&&(d=!0),d},D=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},L=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},W=0,Z=[],U=(r=function(e){var n=a.useRef([]),t=a.useRef([0,0]),r=a.useRef(),o=a.useState(W++)[0],i=a.useState(y)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var n=(0,c.ev)([e.lockRef.current],(e.shards||[]).map(B),!0).filter(
1Boolean);return n.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),n.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,n){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=D(e),a=t.current,c="deltaX"in e?e.deltaX:a[0]-i[0],l="deltaY"in e?e.deltaY:a[1]-i[1],d=e.target,s=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===s&&"range"===d.type)return!1;var f=j(s,d);if(!f)return!0;if(f?o=s:(o="v"===s?"h":"v",f=j(s,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var v=r.current||o;return F(v,n,e,"h"===v?c:l,!0)},[]),d=a.useCallback(function(e){if(Z.length&&Z[Z.length-1]===i){var t="deltaY"in e?L(e):D(e),r=n.current.filter(function(n){var r;return n.name===e.type&&(n.target===e.target||e.target===n.shadowParent)&&(r=n.delta)[0]===t[0]&&r[1]===t[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(B).filter(Boolean).filter(function(n){return n.contains(e.target)});(o.length>0?l(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=a.useCallback(function(e,t,r,o){var i={name:e,delta:t,target:r,should:o,shadowParent:function(e){for(var n=null;null!==e;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}(r)};n.current.push(i),setTimeout(function(){n.current=n.current.filter(function(e){return e!==i})},1)},[]),f=a.useCallback(function(e){t.current=D(e),r.current=void 0},[]),v=a.useCallback(function(n){s(n.type,L(n),n.target,l(n,e.lockRef.current))},[]),p=a.useCallback(function(n){s(n.type,D(n),n.target,l(n,e.lockRef.current))},[]);a.useEffect(function(){return Z.push(i),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:p}),document.addEventListener("wheel",d,R),document.addEventListener("touchmove",d,R),document.addEventListener("touchstart",f,R),function(){Z=Z.filter(function(e){return e!==i}),document.removeEventListener("wheel",d,R),document.removeEventListener("touchmove",d,R),document.removeEventListener("touchstart",f,R)}},[]);var m=e.removeScrollBar,h=e.inert;return a.createElement(a.Fragment,null,h?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?a.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(r),m),G=a.forwardRef(function(e,n){return a.createElement(p,(0,c.pi)({},e,{ref:n,sideCar:U}))});G.classNames=p.classNames;var q=t(48080),H=t(89480),Y=t(60458);function X(e){let{autoFocus:n,trapFocus:t,dialogRef:r,initialFocusRef:o,blockScrollOnMount:c,allowPinchZoom:l,finalFocusRef:d,returnFocusOnClose:s,preserveScrollBarGap:f,lockFocusAcrossFrames:v,isOpen:p}=(0,q.useModalContext)(),[m,h]=(0,u.oO)();(0,a.useEffect)(()=>{!m&&h&&setTimeout(h)},[m,h]);let b=(0,H.useModalManager)(r,p);return(0,i.jsx)(Y.FocusLock,{autoFocus:n,isDisabled:!t,initialFocusRef:o,finalFocusRef:d,restoreFocus:s,contentRef:r,lockFocusAcrossFrames:v,children:(0,i.jsx)(G,{removeScrollBar:!f,allowPinchZoom:l,enabled:1===b&&c,forwardProps:!0,children:e.children})})}},91380:function(e,n,t){t.d(n,{ModalHeader:function(){return d}});var r=t(57437),o=t(21877),i=t(24377),u=t(2265),a=t(48080),c=t(44109),l=t(81284);let d=(0,c.forwardRef)((e,n)=>{let{className:t,...c}=e,{headerId:d,setHeaderMounted:s}=(0,a.useModalContext)();(0,u.useEffect)(()=>(s(!0),()=>s(!1)),[s]);let f=(0,i.cx)("chakra-modal__header",t),v=(0,a.useModalStyles)(),p=(0,o.k0)({flex:0,...v.header});return(0,r.jsx)(l.chakra.header,{ref:n,className:f,id:d,...c,__css:p})});d.displayName="ModalHeader"},89480:function(e,n,t){t.d(n,{m:function(){return c},useModalManager:function(){return l}});var r=t(2265),o=Object.defineProperty,i=(e,n,t)=>n in e?o(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,u=(e,n,t)=>(i(e,"symbol"!=typeof n?n+"":n,t),t);class a{add(e){return this.modals.add(e),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&e===Array.from(this.modals)[this.modals.size-1]}constructor(){u(this,"modals"),this.modals=new Set}}let c=new a;function l(e,n){let[t,o]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t=e.current;if(t)return n&&o(c.add(t)),()=>{c.remove(t),o(0)}},[n,e]),t}}
1,43170:function(e,n,t){t.d(n,{ModalOverlay:function(){return s}});var r=t(57437),o=t(24377),i=t(45873),u=t(48080),a=t(91482),c=t(81284),l=t(44109);let d=(0,c.chakra)(i.E.div),s=(0,l.forwardRef)((e,n)=>{let{className:t,transition:i,motionProps:c,...l}=e,s=(0,o.cx)("chakra-modal__overlay",t),f={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...(0,u.useModalStyles)().overlay},{motionPreset:v}=(0,u.useModalContext)(),p="none"===v?{}:a.fadeConfig;return(0,r.jsx)(d,{...c||p,__css:f,ref:n,className:s,...l})});s.displayName="ModalOverlay"},48080:function(e,n,t){t.d(n,{Modal:function(){return v},ModalContextProvider:function(){return s},useModalContext:function(){return f},useModalStyles:function(){return d}});var r=t(57437),o=t(34008),i=t(5095),u=t(75213),a=t(55459),c=t(79585);let[l,d]=(0,o.createContext)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[s,f]=(0,o.createContext)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),v=e=>{var n;let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:null===(n=e.lockFocusAcrossFrames)||void 0===n||n},{portalProps:o,children:d,autoFocus:f,trapFocus:v,initialFocusRef:p,finalFocusRef:m,returnFocusOnClose:h,blockScrollOnMount:b,allowPinchZoom:y,preserveScrollBarGap:g,motionPreset:x,lockFocusAcrossFrames:w,animatePresenceProps:E,onCloseComplete:S}=t,M=(0,c.useMultiStyleConfig)("Modal",t),k={...(0,u.useModal)(t),autoFocus:f,trapFocus:v,initialFocusRef:p,finalFocusRef:m,returnFocusOnClose:h,blockScrollOnMount:b,allowPinchZoom:y,preserveScrollBarGap:g,motionPreset:x,lockFocusAcrossFrames:w};return(0,r.jsx)(s,{value:k,children:(0,r.jsx)(l,{value:M,children:(0,r.jsx)(i.M,{...E,onExitComplete:S,children:k.isOpen&&(0,r.jsx)(a.Portal,{...o,children:d})})})})};v.displayName="Modal"},75213:function(e,n,t){t.d(n,{useModal:function(){return p}});var r=t(47400),o=t(25316),i=new WeakMap,u=new WeakMap,a={},c=0,l=function(e){return e&&(e.host||l(e.parentNode))},d=function(e,n,t,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(n.contains(e))return e;var t=l(e);return t&&n.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",n,". Doing nothing"),null)}).filter(function(e){return!!e});a[t]||(a[t]=new WeakMap);var d=a[t],s=[],f=new Set,v=new Set(o),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};o.forEach(p);var m=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var n=e.getAttribute(r),o=null!==n&&"false"!==n,a=(i.get(e)||0)+1,c=(d.get(e)||0)+1;i.set(e,a),d.set(e,c),s.push(e),1===a&&o&&u.set(e,!0),1===c&&e.setAttribute(t,"true"),o||e.setAttribute(r,"true")}catch(n){console.error("aria-hidden: cannot operate on ",e,n)}})};return m(n),f.clear(),c++,function(){s.forEach(function(e){var n=i.get(e)-1,o=d.get(e)-1;i.set(e,n),d.set(e,o),n||(u.has(e)||e.removeAttribute(r),u.delete(e)),o||e.removeAttribute(t)}),--c||(i=new WeakMap,i=new WeakMap,u=new WeakMap,a={})}},s=function(e,n,t){void 0===t&&(t="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=n||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),d(r,o,t,"aria-hidden")):function(){return null}},f=t(2265),v=t(89480);function p(e){let{isOpen:n,onClose:t,id:i,closeOnOverlayClick:u=!0,closeOnEsc:a=!0,useInert:c=!0,onOverlayClick:l,onEsc:d}=e,p=(0,f.useRef)(null),m=(0,f.useRef)(null),[h,b,y]=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];let o=(0,f.useId)(),i=e||o;return(0,f.useMemo)(()=>t.map(e=>"".concat(e,"-").concat(i)),[i,t])}(i,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,n){let t=e.current;(0,f.useEffect)(()=>{if(e.current&&n)return s(e.current)},[n,e,t])}(p,n&&c);let g=(0,v.useModalManager)(p,n),x=(0,f.useRef)(null),w=(0,f.useCallback)(e=>{x.current=e.target},[]),E=(0,f.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),a&&(null==t||t()),null==d||d())},[a,t,d]),[S,M]=(0,f.useState)(!1),[k,C]=(0,f.useState)(!1),N=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{role:"dialog",...e,ref:(0,r.mergeRefs)(n,p),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":S?b:void 0,"aria-describedby":k?y:void 0,onClick:(0,o.v)(e.onClick,e=>e.stopPropagation())}},[y,k,h,b,S]),O=(0,f.useCallback)(e=>{e.stopPropagation(),x.current===e.target&&v.m.isTopModal(p.current)&&(u&&(null==t||t()),null==l||l())},[t,u,l]),A=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:(0,r.mergeRefs)(n,m),onClick:(0,o.v)(e.onClick,O),onKeyDown:(0,o.v)(e.onKeyDown,E),onMouseDown:(0,o.v)(e.onMouseDown,w)}},[E,w,O]);return{isOpen:n,onClose:t,headerId:b,bodyId:y,setBodyMounted:C,setHeaderMounted:M,dialogRef:p,overlayRef:m,getDialogProps:N,getDialogContainerProps:A,index:g}}},40006:function(e,n,t){t.d(n,{HStack:function(){return i}});var r=t(57437),o=t(62587);let i=(0,t(44109).forwardRef)((e,n)=>(0,r.jsx)(o.Stack,{align:"center",...e,direction:"row",ref:n}));i.displayName="HStack"},91482:function(e,n,t){t.d(n,{Fade:function(){return d},fadeConfig:function(){return l}});var r=t(57437),o=t(24377),i=t(5095),u=t(45873),a=t(2265),c=t(10632);let l={initial:"exit",animate:"enter",exit:"exit",variants:{enter:function(){var e;let{transition:n,transitionEnd:t,delay:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:1,transition:null!==(e=null==n?void 0:n.enter)&&void 0!==e?e:c.withDelay.enter(c.S.enter,r),transitionEnd:null==t?void 0:t.enter}},exit:function(){var e;let{transition:n,transitionEnd:t,delay:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:0,transition:null!==(e=null==n?void 0:n.exit)&&void 0!==e?e:c.withDelay.exit(c.S.exit,r),transitionEnd:null==t?void 0:t.exit}}}},d=(0,a.forwardRef)(function(e,n){let{unmountOnExit:t,in:a,className:c,transition:d,transitionEnd:s,delay:f,animatePresenceProps:v,...p}=e,m=a||t?"enter":"exit",h=!t||a&&t,b={transition:d,transitionEnd:s,delay:f};return(0,r.jsx)(i.M,{...v,custom:b,children:h&&(0,r.jsx)(u.E.div,{ref:n,className:(0,o.cx
1)("chakra-fade",c),custom:b,...l,animate:m,...p})})});d.displayName="Fade"},10632:function(e,n,t){t.d(n,{S:function(){return u},TRANSITION_EASINGS:function(){return r},getSlideTransition:function(){return i},withDelay:function(){return a}});let r={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},o={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function i(e){var n;switch(null!==(n=null==e?void 0:e.direction)&&void 0!==n?n:"right"){case"right":default:return o.slideRight;case"left":return o.slideLeft;case"bottom":return o.slideDown;case"top":return o.slideUp}}let u={enter:{duration:.2,ease:r.easeOut},exit:{duration:.1,ease:r.easeIn}},a={enter:(e,n)=>({...e,delay:"number"==typeof n?n:null==n?void 0:n.enter}),exit:(e,n)=>({...e,delay:"number"==typeof n?n:null==n?void 0:n.exit})}},25316:function(e,n,t){function r(...e){return function(...n){e.forEach(e=>e?.(...n))}}function o(...e){return function(n){e.some(e=>(e?.(n),n?.defaultPrevented))}}t.d(n,{P:function(){return r},v:function(){return o}})},79795:function(e,n,t){t.d(n,{t5:function(){return i}});var r=t(99322);let o=e=>e.offsetWidth>0&&e.offsetHeight>0;function i(e){let n=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return n.unshift(e),n.filter(e=>(0,r.EB)(e)&&o(e))}},42924:function(e,n,t){function r(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function o(){return!!globalThis?.document}function i(e){let n=e.getAttribute("contenteditable");return"false"!==n&&null!=n}function u(e){return!0==!!e.getAttribute("disabled")||!0==!!e.getAttribute("aria-disabled")}t.d(n,{Re:function(){return r},iU:function(){return i},jU:function(){return o},nV:function(){return u},oI:function(){return function e(n){return!!(n.parentElement&&e(n.parentElement))||n.hidden}}})},99322:function(e,n,t){t.d(n,{EB:function(){return u},Wq:function(){return a}});var r=t(42924);let o=e=>e.hasAttribute("tabindex"),i=e=>o(e)&&-1===e.tabIndex;function u(e){if(!(0,r.Re)(e)||(0,r.oI)(e)||(0,r.nV)(e))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let t={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in t?t[n]():!!(0,r.iU)(e)||o(e)}function a(e){return!!e&&(0,r.Re)(e)&&u(e)&&!i(e)}},5853:function(e,n,t){t.d(n,{_T:function(){return o},ev:function(){return i},pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>n.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function i(e,n,t){if(t||2==arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||Array.prototype.slice.call(n))}"function"==typeof SuppressedError&&SuppressedError}}]);
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.