1"use strict";(self.webpackChunkdisruptive_frontend=self.webpackChunkdisruptive_frontend||[]).push([[1813],{2211:function(e,t,n){n.d(t,{T:function(){return o}});var r=n(99851);function o(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},4610:function(e,t,n){n.d(t,{a:function(){return l}});var r=n(96540),o=n(76339);function l(){let e=(0,r.useRef)(!1);return(0,o.s)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},9685:function(e,t,n){function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{l:function(){return r}})},13149:function(e,t,n){n.d(t,{El:function(){return a},O_:function(){return u},Uw:function(){return i}});var r=n(96540);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var l,i=((l=i||{})[l.Open=1]="Open",l[l.Closed=2]="Closed",l[l.Closing=4]="Closing",l[l.Opening=8]="Opening",l);function u(){return(0,r.useContext)(o)}function a({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},15074:function(e,t,n){n.d(t,{M:function(){return l}});var r=n(96540),o=n(34424);function l(e,t,n){let l=(0,o.Y)(t);(0,r.useEffect)((()=>{function t(e){l.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}},28367:function(e,t,n){n.d(t,{j:function(){return s}});var r=n(96540),o=n(64122),l=n(92157),i=n(34424);function u(e,t,n){let o=(0,i.Y)(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}var a=n(15074);function s(e,t,n=!0){let i=(0,r.useRef)(!1);function s(n,r){if(!i.current||n.defaultPrevented)return;let l=r(n);if(null===l||!l.getRootNode().contains(l)||!l.isConnected)return;let u=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of u){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(l)||n.composed&&n.composedPath().includes(t))return}return!(0,o.Bm)(l,o.MZ.Loose)&&-1!==l.tabIndex&&n.preventDefault(),t(n,l)}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{i.current=n}))}),[n]);let c=(0,r.useRef)(null);u("pointerdown",(e=>{var t,n;i.current&&(c.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),u("mousedown",(e=>{var t,n;i.current&&(c.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),u("click",(e=>{(0,l.Fr)()||c.current&&(s(e,(()=>c.current)),c.current=null)}),!0),u("touchend",(e=>s(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),(0,a.M)("blur",(e=>s(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}},34424:function(e,t,n){n.d(t,{Y:function(){return l}});var r=n(96540),o=n(76339);function l(e){let t=(0,r.useRef)(e);return(0,o.s)((()=>{t.current=e}),[e]),t}},39528:function(e,t,n){n.d(t,{O:function(){return l},j:function(){return i}});var r=n(66206);var o,l=((o=l||{})[o.None=1]="None",o[o.Focusable=2]="Focusable",o[o.Hidden=4]="Hidden",o);let i=(0,r.FX)((function(e,t){var n;let{features:o=1,...l}=e,i={ref:t,"aria-hidden":!(2&~o)||(null!=(n=l["aria-hidden"])?n:void 0),hidden:!(4&~o)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~o)&&!!(2&~o)&&{display:"none"}}};return(0,r.XX)({ourProps:i,theirProps:l,slot:{},defaultTag:"div",name:"Hidden"})}))},44586:function(e,t,n){n.d(t,{D:function(){return o}});var r,o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},48539:function(e,t,n){n.d(t,{A:function(){return Me}});var r=n(96540),o=n.t(r,2),l=n(95626),i=n(96992),u=n(95015),a=n(34424);function s(e,t,n,o){let l=(0,a.Y)(n);(0,r.useEffect)((()=>{function n(e){l.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}var c=n(4610),d=n(82924);function f(e){let t=(0,u._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)((()=>(n.current=!1,()=>{n.current=!0,(0,d._)((()=>{n.current&&t()}))})),[t])}var p=n(2211);function m(...e){return(0,r.useMemo)((()=>(0,p.T)(...e)),[...e])}var v=n(64335),h=n(98975),g=n(15074),E=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(E||{});function w(e,t){let n=(0,r.useRef)([]),o=(0,u._)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,l]of t.entries())if(n.current[r]!==l){let r=o(t,e);return n.current=t,r}}),[o,...t])}var b=n(39528);let y=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&y[0]!==e.target&&(y.unshift(e.target),y=y.filter((e=>null!=e&&e.isConnected)),y.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}
1));var T=n(64122),F=n(85897),L=n(66206);function P(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var C=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(C||{});let S=(0,L.FX)((function(e,t){let n=(0,r.useRef)(null),o=(0,h.P)(n,t),{initialFocus:l,containers:a,features:f=30,...p}=e;(0,v.g)()||(f=1);let y=m(n);N({ownerDocument:y},Boolean(16&f));let C=function({ownerDocument:e,container:t,initialFocus:n},o){let l=(0,r.useRef)(null),i=(0,c.a)();return w((()=>{if(!o)return;let r=t.current;r&&(0,d._)((()=>{if(!i.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(l.current=t)}else if(r.contains(t))return void(l.current=t);null!=n&&n.current?(0,T.pW)(n.current):(0,T.CU)(r,T.BD.First)===T.Me.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),l.current=null==e?void 0:e.activeElement}))}),[o]),l}({ownerDocument:y,container:n,initialFocus:l},Boolean(2&f));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let l=(0,c.a)();s(null==e?void 0:e.defaultView,"focus",(e=>{if(!o||!l.current)return;let i=P(n);t.current instanceof HTMLElement&&i.add(t.current);let u=r.current;if(!u)return;let a=e.target;a&&a instanceof HTMLElement?R(i,a)?(r.current=a,(0,T.pW)(a)):(e.preventDefault(),e.stopPropagation(),(0,T.pW)(u)):(0,T.pW)(r.current)}),!0)}({ownerDocument:y,container:n,containers:a,previousActiveElement:C},Boolean(8&f));let S=function(){let e=(0,r.useRef)(0);return(0,g.M)("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),O=(0,u._)((e=>{let t=n.current;t&&(0,F.Y)(S.current,{[E.Forwards]:()=>{(0,T.CU)(t,T.BD.First,{skipElements:[e.relatedTarget]})},[E.Backwards]:()=>{(0,T.CU)(t,T.BD.Last,{skipElements:[e.relatedTarget]})}})})),x=(0,i.L)(),D=(0,r.useRef)(!1),M={ref:o,onKeyDown(e){"Tab"==e.key&&(D.current=!0,x.requestAnimationFrame((()=>{D.current=!1})))},onBlur(e){let t=P(a);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(R(t,r)||(D.current?(0,T.CU)(n.current,(0,F.Y)(S.current,{[E.Forwards]:()=>T.BD.Next,[E.Backwards]:()=>T.BD.Previous})|T.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,T.pW)(e.target)))}};return r.createElement(r.Fragment,null,Boolean(4&f)&&r.createElement(b.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:O,features:b.O.Focusable}),(0,L.XX)({ourProps:M,theirProps:p,defaultTag:"div",name:"FocusTrap"}),Boolean(4&f)&&r.createElement(b.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:O,features:b.O.Focusable}))})),O=Object.assign(S,{features:C});function N({ownerDocument:e},t){let n=function(e=!0){let t=(0,r.useRef)(y.slice());return w((([e],[n])=>{!0===n&&!1===e&&(0,d._)((()=>{t.current.splice(0)})),!1===n&&!0===e&&(t.current=y.slice())}),[e,y,t]),(0,u._)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(t);w((()=>{t||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&(0,T.pW)(n())}),[t]),f((()=>{t&&(0,T.pW)(n())}))}function R(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var x=n(40961),D=n(76339);let M=(0,r.createContext)(!1);function A(){return(0,r.useContext)(M)}function k(e){return r.createElement(M.Provider,{value:e.force},e.children)}var _=n(99851);let B=r.Fragment;let H=r.Fragment,X=(0,r.createContext)(null);let j=(0,r.createContext)(null);function U(){let e=(0,r.useContext)(j),t=(0,r.useRef)([]),n=(0,u._)((n=>(t.current.push(n),e&&e.register(n),()=>o(n)))),o=(0,u._)((n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)})),l=(0,r.useMemo)((()=>({register:n,unregister:o,portals:t})),[n,o,t]);return[t,(0,r.useMemo)((()=>function({children:e}){return r.createElement(j.Provider,{value:l},e)}),[l])]}let Y=(0,L.FX)((function(e,t){let n=e,o=(0,r.useRef)(null),l=(0,h.P)((0,h.a)((e=>{o.current=e})),t),i=m(o),u=function(e){let t=A(),n=(0,r.useContext)(X),o=m(e),[l,i]=(0,r.useState)((()=>
1{if(!t&&null!==n||_._.isServer)return null;let e=null==o?void 0:o.getElementById("headlessui-portal-root");if(e)return e;if(null===o)return null;let r=o.createElement("div");return r.setAttribute("id","headlessui-portal-root"),o.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==l&&(null!=o&&o.body.contains(l)||null==o||o.body.appendChild(l))}),[l,o]),(0,r.useEffect)((()=>{t||null!==n&&i(n.current)}),[n,i,t]),l}(o),[a]=(0,r.useState)((()=>{var e;return _._.isServer?null:null!=(e=null==i?void 0:i.createElement("div"))?e:null})),s=(0,r.useContext)(j),c=(0,v.g)();return(0,D.s)((()=>{!u||!a||u.contains(a)||(a.setAttribute("data-headlessui-portal",""),u.appendChild(a))}),[u,a]),(0,D.s)((()=>{if(a&&s)return s.register(a)}),[s,a]),f((()=>{var e;!u||!a||(a instanceof Node&&u.contains(a)&&u.removeChild(a),u.childNodes.length<=0&&(null==(e=u.parentElement)||e.removeChild(u)))})),c&&u&&a?(0,x.createPortal)((0,L.XX)({ourProps:{ref:l},theirProps:n,defaultTag:B,name:"Portal"}),a):null})),I=(0,L.FX)((function(e,t){let{target:n,...o}=e,l={ref:(0,h.P)(t)};return r.createElement(X.Provider,{value:n},(0,L.XX)({ourProps:l,theirProps:o,defaultTag:H,name:"Popover.Group"}))})),W=Object.assign(Y,{Group:I});const $="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:K,useEffect:q,useLayoutEffect:V,useDebugValue:G}=o;function Z(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!$(n,e)}catch{return!0}}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;const z=o.useSyncExternalStore;var J=n(82599);function Q(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,l=e-o;n.style(r,"paddingRight",`${l}px`)}}}var ee=n(92157);function te(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let ne=function(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...o){let l=t[e].call(n,...o);l&&(n=l,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,J.e)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:te(n)},o=[(0,ee.un)()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,J.e)();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let o=null!=(n=window.scrollY)?n:window.pageYOffset,l=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:o}=new URL(n.href),i=e.querySelector(o);i&&!r(i)&&(l=i)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;o!==t&&window.scrollTo(0,o),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)}))}))}}:{},Q(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach((({before:e})=>null==e?void 0:e(r))),o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function re(e,t,n){let r=function(e){return z(e.subscribe,e.getSnapshot,e.getSnapshot)}(ne),o=e?r.get(e):void 0,l=!!o&&o.count>0;return(0,D.s)((()=>
1{if(e&&t)return ne.dispatch("PUSH",e,n),()=>ne.dispatch("POP",e,n)}),[t,e]),l}ne.subscribe((()=>{let e=ne.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&ne.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&ne.dispatch("TEARDOWN",n)}}));var oe=n(90262);let le=new Map,ie=new Map;function ue(e,t=!0){(0,D.s)((()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let o=null!=(n=ie.get(r))?n:0;return ie.set(r,o+1),0!==o||(le.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=ie.get(r))?e:1;if(1===t?ie.delete(r):ie.set(r,t-1),1!==t)return;let n=le.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,le.delete(r))}}),[e,t])}var ae=n(28367);var se=n(13149);let ce=(0,r.createContext)((()=>{}));ce.displayName="StackContext";var de=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(de||{});function fe({children:e,onUpdate:t,type:n,element:o,enabled:l}){let i=(0,r.useContext)(ce),a=(0,u._)(((...e)=>{null==t||t(...e),i(...e)}));return(0,D.s)((()=>{let e=void 0===l||!0===l;return e&&a(0,n,o),()=>{e&&a(1,n,o)}}),[a,n,o,l]),r.createElement(ce.Provider,{value:a},e)}var pe=n(9685);let me=(0,r.createContext)(null);function ve(){let e=(0,r.useContext)(me);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ve),e}return e}let he=(0,L.FX)((function(e,t){let n=(0,oe.B)(),{id:r=`headlessui-description-${n}`,...o}=e,l=ve(),i=(0,h.P)(t);(0,D.s)((()=>l.register(r)),[r,l.register]);let u={ref:i,...l.props,id:r};return(0,L.XX)({ourProps:u,theirProps:o,slot:l.slot||{},defaultTag:"p",name:l.name||"Description"})})),ge=Object.assign(he,{});var Ee=n(44586),we=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(we||{}),be=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(be||{});let ye={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Te=(0,r.createContext)(null);function Fe(e){let t=(0,r.useContext)(Te);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Fe),t}return t}function Le(e,t){return(0,F.Y)(t.type,ye,e,t)}Te.displayName="DialogContext";let Pe=L.O5.RenderStrategy|L.O5.Static;let Ce=(0,L.FX)((function(e,t){let n=(0,oe.B)(),{id:o=`headlessui-dialog-${n}`,open:l,onClose:i,initialFocus:a,role:c="dialog",__demoMode:d=!1,...f}=e,[p,g]=(0,r.useState)(0),E=(0,r.useRef)(!1);c="dialog"===c||"alertdialog"===c?c:(E.current||(E.current=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let w=(0,se.O_)();void 0===l&&null!==w&&(l=(w&se.Uw.Open)===se.Uw.Open);let y=(0,r.useRef)(null),T=(0,h.P)(y,t),P=m(y),C=e.hasOwnProperty("open")||null!==w,S=e.hasOwnProperty("onClose");if(!C&&!S)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!C)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!S)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof l)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l}`);if("function"!=typeof i)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);let N=l?0:1,[R,x]=(0,r.useReducer)(Le,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),D=(0,u._)((()=>i(!1))),M=(0,u._)((e=>x({type:0,id:e}))),A=!!(0,v.g)()&&(!d&&0===N),_=p>1,B=null!==(0,r.useContext)(Te),[H,X]=U(),j={get current(){var e;return null!=(e=R.panelRef.current)?e:y.current}},{resolveContainers:Y,mainTreeNodeRef:I,MainTreeNode:$}=function({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var o;let l=(0,r.useRef)(null!=(o=null==n?void 0:n.current)?o:null),i=m(l),a=(0,u._)((()=>{var n,r,o;let u=[];for(let t of e)null!==t&&(t instanceof HTMLElement?u.push(t):"current"in t&&t.current instanceof HTMLElement&&u.push(t.current));if(null!=t&&t.current)for(let e of t.current)u.push(e);for(let e of null!=(n=null==i?void 0:i.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(l.current)||e.contains(null==(o=null==(r=l.current)?void 0:r.getRootNode())?void 0:o.host)||u.some((t=>e.contains(t)))||u.push(e));return u}));
1return{resolveContainers:a,contains:(0,u._)((e=>a().some((t=>t.contains(e))))),mainTreeNodeRef:l,MainTreeNode:(0,r.useMemo)((()=>function(){return null!=n?null:r.createElement(b.j,{features:b.O.Hidden,ref:l})}),[l,n])}}({portals:H,defaultContainers:[j]}),K=_?"parent":"leaf",q=null!==w&&(w&se.Uw.Closing)===se.Uw.Closing,V=!B&&!q&&A,G=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==P?void 0:P.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(I.current)&&e instanceof HTMLElement))))?t:null}),[I]);ue(G,V);let Z=!!_||A,z=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==P?void 0:P.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(I.current)&&e instanceof HTMLElement)))?t:null}),[I]);ue(z,Z);let J=!(!A||_);(0,ae.j)(Y,(e=>{e.preventDefault(),D()}),J);let Q=!(_||0!==N);s(null==P?void 0:P.defaultView,"keydown",(e=>{Q&&(e.defaultPrevented||e.key===Ee.D.Escape&&(e.preventDefault(),e.stopPropagation(),D()))})),function(e,t,n=()=>[document.body]){re(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}(P,!(q||0!==N||B),Y),(0,r.useEffect)((()=>{if(0!==N||!y.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&D()}}));return e.observe(y.current),()=>e.disconnect()}),[N,y,D]);let[ee,te]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,u._)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(me.Provider,{value:o},e.children)}),[t])]}(),ne=(0,r.useMemo)((()=>[{dialogState:N,close:D,setTitleId:M},R]),[N,R,D,M]),le=(0,r.useMemo)((()=>({open:0===N})),[N]),ie={ref:T,id:o,role:c,"aria-modal":0===N||void 0,"aria-labelledby":R.titleId,"aria-describedby":ee};return r.createElement(fe,{type:"Dialog",enabled:0===N,element:y,onUpdate:(0,u._)(((e,t)=>{"Dialog"===t&&(0,F.Y)(e,{[de.Add]:()=>g((e=>e+1)),[de.Remove]:()=>g((e=>e-1))})}))},r.createElement(k,{force:!0},r.createElement(W,null,r.createElement(Te.Provider,{value:ne},r.createElement(W.Group,{target:y},r.createElement(k,{force:!1},r.createElement(te,{slot:le,name:"Dialog.Description"},r.createElement(O,{initialFocus:a,containers:Y,features:A?(0,F.Y)(K,{parent:O.features.RestoreFocus,leaf:O.features.All&~O.features.FocusLock}):O.features.None},r.createElement(X,null,(0,L.XX)({ourProps:ie,theirProps:f,slot:le,defaultTag:"div",features:Pe,visible:0===N,name:"Dialog"}))))))))),r.createElement($,null))})),Se=(0,L.FX)((function(e,t){let n=(0,oe.B)(),{id:o=`headlessui-dialog-backdrop-${n}`,...l}=e,[{dialogState:i},u]=Fe("Dialog.Backdrop"),a=(0,h.P)(t);(0,r.useEffect)((()=>{if(null===u.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[u.panelRef]);let s=(0,r.useMemo)((()=>({open:0===i})),[i]);return r.createElement(k,{force:!0},r.createElement(W,null,(0,L.XX)({ourProps:{ref:a,id:o,"aria-hidden":!0},theirProps:l,slot:s,defaultTag:"div",name:"Dialog.Backdrop"})))})),Oe=(0,L.FX)((function(e,t){let n=(0,oe.B)(),{id:o=`headlessui-dialog-panel-${n}`,...l}=e,[{dialogState:i},a]=Fe("Dialog.Panel"),s=(0,h.P)(t,a.panelRef),c=(0,r.useMemo)((()=>({open:0===i})),[i]),d=(0,u._)((e=>{e.stopPropagation()}));return(0,L.XX)({ourProps:{ref:s,id:o,onClick:d},theirProps:l,slot:c,defaultTag:"div",name:"Dialog.Panel"})})),Ne=(0,L.FX)((function(e,t){let n=(0,oe.B)(),{id:o=`headlessui-dialog-overlay-${n}`,...l}=e,[{dialogState:i,close:a}]=Fe("Dialog.Overlay"),s=(0,h.P)(t),c=(0,u._)((e=>{if(e.target===e.currentTarget){if((0,pe.l)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),a()}})),d=(0,r.useMemo)((()=>({open:0===i})),[i]);return(0,L.XX)({ourProps:{ref:s,id:o,"aria-hidden":!0,onClick:c},theirProps:l,slot:d,defaultTag:"div",name:"Dialog.Overlay"})})),Re=(0,L.FX)((function(e,t){let n=(0,oe.B)(),{id:o=`headlessui-dialog-title-${n}`,...l}=e,[{dialogState:i,setTitleId:u}]=Fe("Dialog.Title"),a=(0,h.P)(t);(0,r.useEffect)((()=>(u(o),()=>u(null))),[o,u]);let s=(0,r.useMemo)((()=>({open:0===i})),[i]);return(0,L.XX)({ourProps:{ref:a,id:o},theirProps:l,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),xe=Object.assign(Ce,{Backdrop:Se,Panel:Oe,Overlay:Ne,Title:Re,Description:ge});var De=()=>{const{0:e,1:t}=(0,r.useState)(!1),n=e?"client":"server";return(0,r.useEffect)((()=>{t(!0)}),[]),{isClient:e,key:n}};var Me=e=>{let{close:t,children:n,isOpen:o}=e;const{isClient:i,key:u}=De();return i?r.createElement(l.e,{appear:!0,show:o,as:r.Fragment},r.createElement(xe,{onClose:t,className:"relative z-50",as:"div"},r.createElement(l.e.Child,{as:r.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},r.createElement("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"})),r.createElement("div",{className:"fixed inset-0 flex items-center justify-center p-4"},r.createElement(l.e.Child,{as:r.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},r.createElement(xe.Panel,{className:"relative w-full max-w-[1100px] bg-white px-5 py-16 md:py-16 md:px-32"},r.createElement("button",{onClick:t,className:"absolute top-0 right-0 bg-[#1B1C1C] p-4","aria-label":"Close"},r.createElement("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M22.4821 0L12.5 9.98214L2.51786 0L0 2.51786L9.98214 12.5L0 22.4821L2.51786 25L12.5 15.0179L22.4821 25L25 22.4821L15.0179 12.5L25 2.51786L22.4821 0Z",fill:"white"}))),n))))):null}},64122:function(e,t,n){n.d(t,{BD:function(){return s},Bm:function(){return m},CU:function(){return w},MZ:function(){return p},Me:function(){return c},pW:function(){return h},wl:function(){return E}});var r=n(85897),o=n(2211);let l=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var i,u,a,s=((a=s||{})[a.First=1]="First",a[a.Previous=2]="Previous",a[a.Next=4]="Next",a[a.Last=8]="Last",a[a.WrapAround=16]="WrapAround",a[a.NoScroll=32]="NoScroll",a),c=((u=c||{})[u.Error=0]="Error",u[u.Overflow=1]="Overflow",u[u.Success=2]="Success",u[u.Underflow=3]="Underflow",u),d=((i=d||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function f(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(l)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var p=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(p||{});function m(e,t=0){var n;return e!==(null==(n=(0,o.T)(e))?void 0:n.body)&&(0,r.Y)(t,{0(){return e.matches(l)},1(){let t=e;for(;null!==t;){if(t.matches(l))return!0;t=t.parentElement}return!1}})}var v=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(v||{});function h(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let g=["textarea","input"].join(",");function E(e,t=e=>e){return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let l=r.compareDocumentPosition(o);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function w(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?E(e):e:f(e);o.length>0&&i.length>1&&(i=i.filter((e=>!o.includes(e)))),r=null!=r?r:l.activeElement;let u,a=(()=>
1{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},d=0,p=i.length;do{if(d>=p||d+p<=0)return 0;let e=s+d;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}u=i[e],null==u||u.focus(c),d+=a}while(u!==l.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,g))&&n}(u)&&u.select(),2}},64335:function(e,t,n){var r;n.d(t,{g:function(){return i}});var o=n(96540),l=n(99851);function i(){let e=function(){let e="undefined"==typeof document;return(r||(r=n.t(o,2))).useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,i]=o.useState(l._.isHandoffComplete);return t&&!1===l._.isHandoffComplete&&i(!1),o.useEffect((()=>{!0!==t&&i(!0)}),[t]),o.useEffect((()=>l._.handoff()),[]),!e&&t}},66206:function(e,t,n){n.d(t,{FX:function(){return v},O5:function(){return a},XX:function(){return c},cq:function(){return f},mK:function(){return s},oE:function(){return h}});var r,o,l=n(96540),i=n(66421),u=n(85897),a=((o=a||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),s=((r=s||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:l=!0,name:i,mergeRefs:a}){a=null!=a?a:p;let s=m(t,e);if(l)return d(s,n,r,i,a);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=s;if(e)return d(t,n,r,i,a)}if(1&c){let{unmount:e=!0,...t}=s;return(0,u.Y)(e?0:1,{0(){return null},1(){return d({...t,hidden:!0,style:{display:"none"}},n,r,i,a)}})}return d(s,n,r,i,a)}function d(e,t={},n,r,o){let{as:u=n,children:a,refName:s="ref",...c}=g(e,["unmount","static"]),d=void 0!==e.ref?{[s]:e.ref}:{},f="function"==typeof a?a(t):a;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(u===l.Fragment&&Object.keys(h(c)).length>0){if(!(0,l.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,i.x)(null==e?void 0:e.className(...t),c.className):(0,i.x)(null==e?void 0:e.className,c.className),n=t?{className:t}:{};return(0,l.cloneElement)(f,Object.assign({},m(f.props,h(g(c,["ref"]))),p,d,{ref:o(f.ref,d.ref)},n))}return(0,l.createElement)(u,Object.assign({},g(c,["ref"]),u!==l.Fragment&&d,u!==l.Fragment&&p),f)}function f(){let e=(0,l.useRef)([]),t=(0,l.useCallback)((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return(...n)=>{if(!n.every((e=>null==e)))return e.current=n,t}}function p(...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 m(...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"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e,...t){let o=n[r];for(let n of o){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function v(e){var t;return Object.assign((0,l.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function g(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}},66421:function(e,t,n){function r(...e){return Array.from(new Set(e.flatMap((e=>
1"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}n.d(t,{x:function(){return r}})},76339:function(e,t,n){n.d(t,{s:function(){return l}});var r=n(96540),o=n(99851);let l=(e,t)=>{o._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},82599:function(e,t,n){n.d(t,{e:function(){return o}});var r=n(82924);function o(){let e=[],t={addEventListener(e,n,r,o){return e.addEventListener(n,r,o),t.add((()=>e.removeEventListener(n,r,o)))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame(...e){return t.requestAnimationFrame((()=>t.requestAnimationFrame(...e)))},setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return(0,r._)((()=>{n.current&&e[0]()})),t.add((()=>{n.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=o();return e(t),this.add((()=>t.dispose()))},add(t){return 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}},82924:function(e,t,n){function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{_:function(){return r}})},85897:function(e,t,n){function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let o=new 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(o,r),o}n.d(t,{Y:function(){return r}})},90262:function(e,t,n){n.d(t,{B:function(){return a}});var r,o=n(96540),l=n(99851),i=n(76339),u=n(64335);let a=null!=(r=o.useId)?r:function(){let e=(0,u.g)(),[t,n]=o.useState(e?()=>l._.nextId():null);return(0,i.s)((()=>{null===t&&n(l._.nextId())}),[t]),null!=t?""+t:void 0}},92157:function(e,t,n){function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:function(){return o},un:function(){return r}})},95015:function(e,t,n){n.d(t,{_:function(){return l}});var r=n(96540),o=n(34424);let l=function(e){let t=(0,o.Y)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},95626:function(e,t,n){n.d(t,{e:function(){return M}});var r=n(96540),o=n(96992),l=n(95015),i=n(4610);var u=n(76339),a=n(34424),s=n(64335),c=n(98975),d=n(82599),f=n(85897);function p(e,...t){e&&t.length>0&&e.classList.add(...t)}function m(e,...t){e&&t.length>0&&e.classList.remove(...t)}function v(e,t,n,r){let o=n?"enter":"leave",l=(0,d.e)(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===o&&(e.removeAttribute("hidden"),e.style.display="");let u=(0,f.Y)(o,{enter:()=>t.enter,leave:()=>t.leave}),a=(0,f.Y)(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),s=(0,f.Y)(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return m(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),p(e,...t.base,...u,...s),l.nextFrame((()=>{m(e,...t.base,...u,...s),p(e,...t.base,...u,...a),function(e,t){let n=(0,d.e)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[l,i]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),u=l+i;if(0!==u){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),u),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(m(e,...t.base,...u),p(e,...t.base,...t.entered),i())))})),l.dispose}var h=n(13149),g=n(66421),E=n(66206);function w(e=""){return e.split(/\s+/).filter((e=>e.length>1))}let b=(0,r.createContext)(null);b.displayName="TransitionContext";var y,T=((y=T||{}).Visible="visible",y.Hidden="hidden",y);let F=(0,r.createContext)(null);function L(e){return"children"in e?L(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function P(e,t){let n=(0,a.Y)(e),u=(0,r.useRef)([]),s=(0,i.a)(),c=(0,o.L)(),d=(0,l._)(((e,t=E.mK.Hidden)=>{let r=u.current.findIndex((({el:t})=>t===e));-1!==r&&((0,f.Y)(t,{[E.mK.Unmount](){u.current.splice(r,1)},[E.mK.Hidden](){u.current[r].state="hidden"}}),c.microTask((()=>{var e;!L(u)&&s.current&&(null==(e=n.current)||e.call(n))})))})),p=(0,l._)((e=>{let t=u.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):u.current.push({el:e,state:"visible"}),()=>d(e,E.mK.Unmount)})),m=(0,r.useRef)([]),v=(0,r.useRef)(Promise.resolve()),h=(0,r.useRef)({enter:[],leave:[],idle:[]}),g=(0,l._)(((e,n,r)=>{m.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=>{m.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()))}
1))]),"enter"===n?v.current=v.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),w=(0,l._)(((e,t,n)=>{Promise.all(h.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=m.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:u,register:p,unregister:d,onStart:g,onStop:w,wait:v,chains:h})),[p,d,u,g,w,h,v])}function C(){}F.displayName="NestingContext";let S=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function O(e){var t;let n={};for(let r of S)n[r]=null!=(t=e[r])?t:C;return n}let N=E.O5.RenderStrategy;let R=(0,E.FX)((function(e,t){let{show:n,appear:o=!1,unmount:i=!0,...a}=e,d=(0,r.useRef)(null),f=(0,c.P)(d,t);(0,s.g)();let p=(0,h.O_)();if(void 0===n&&null!==p&&(n=(p&h.Uw.Open)===h.Uw.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[m,v]=(0,r.useState)(n?"visible":"hidden"),g=P((()=>{v("hidden")})),[w,y]=(0,r.useState)(!0),T=(0,r.useRef)([n]);(0,u.s)((()=>{!1!==w&&T.current[T.current.length-1]!==n&&(T.current.push(n),y(!1))}),[T,n]);let C=(0,r.useMemo)((()=>({show:n,appear:o,initial:w})),[n,o,w]);(0,r.useEffect)((()=>{if(n)v("visible");else if(L(g)){let e=d.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&v("hidden")}else v("hidden")}),[n,g]);let S={unmount:i},O=(0,l._)((()=>{var t;w&&y(!1),null==(t=e.beforeEnter)||t.call(e)})),R=(0,l._)((()=>{var t;w&&y(!1),null==(t=e.beforeLeave)||t.call(e)}));return r.createElement(F.Provider,{value:g},r.createElement(b.Provider,{value:C},(0,E.XX)({ourProps:{...S,as:r.Fragment,children:r.createElement(x,{ref:f,...S,...a,beforeEnter:O,beforeLeave:R})},theirProps:{},defaultTag:r.Fragment,features:N,visible:"visible"===m,name:"Transition"})))})),x=(0,E.FX)((function(e,t){var n,p;let{beforeEnter:m,afterEnter:y,beforeLeave:T,afterLeave:C,enter:S,enterFrom:R,enterTo:x,entered:D,leave:M,leaveFrom:A,leaveTo:k,..._}=e,B=(0,r.useRef)(null),H=(0,c.P)(B,t),X=null==(n=_.unmount)||n?E.mK.Unmount:E.mK.Hidden,{show:j,appear:U,initial:Y}=function(){let e=(0,r.useContext)(b);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,W]=(0,r.useState)(j?"visible":"hidden"),$=function(){let e=(0,r.useContext)(F);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:K,unregister:q}=$;(0,r.useEffect)((()=>K(B)),[K,B]),(0,r.useEffect)((()=>{if(X===E.mK.Hidden&&B.current)return j&&"visible"!==I?void W("visible"):(0,f.Y)(I,{hidden:()=>q(B),visible:()=>K(B)})}),[I,B,K,q,j,X]);let V=(0,a.Y)({base:w(_.className),enter:w(S),enterFrom:w(R),enterTo:w(x),entered:w(D),leave:w(M),leaveFrom:w(A),leaveTo:w(k)}),G=function(e){let t=(0,r.useRef)(O(e));return(0,r.useEffect)((()=>{t.current=O(e)}),[e]),t}({beforeEnter:m,afterEnter:y,beforeLeave:T,afterLeave:C}),Z=(0,s.g)();(0,r.useEffect)((()=>{if(Z&&"visible"===I&&null===B.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[B,I,Z]);let z=U&&j&&Y,J=!Z||Y&&!U?"idle":j?"enter":"leave",Q=function(e=0){let[t,n]=(0,r.useState)(e),o=(0,i.a)(),l=(0,r.useCallback)((e=>{o.current&&n((t=>t|e))}),[t,o]),u=(0,r.useCallback)((e=>Boolean(t&e)),[t]),a=(0,r.useCallback)((e=>{o.current&&n((t=>t&~e))}),[n,o]),s=(0,r.useCallback)((e=>{o.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:l,hasFlag:u,removeFlag:a,toggleFlag:s}}(0),ee=(0,l._)((e=>(0,f.Y)(e,{enter:()=>{Q.addFlag(h.Uw.Opening),G.current.beforeEnter()},leave:()=>{Q.addFlag(h.Uw.Closing),G.current.beforeLeave()},idle:()=>{}}))),te=(0,l._)((e=>(0,f.Y)(e,{enter:()=>{Q.removeFlag(h.Uw.Opening),G.current.afterEnter()},leave:()=>{Q.removeFlag(h.Uw.Closing),G.current.afterLeave()},idle:()=>{}}))),ne=P((()=>{W("hidden"),q(B)}),$),re=(0,r.useRef)(!1);!function({immediate:e,container:t,direction:n,classes:r,onStart:l,onStop:s}){let c=(0,i.a)(),f=(0,o.L)(),p=(0,a.Y)(n);(0,u.s)((()=>{e&&(p.current="enter")}),[e]),(0,u.s)((()=>{let e=(0,d.e)();f.add(e.dispose);let n=t.current;if(n&&"idle"!==p.current&&c.current)return e.dispose(),l.current(p.current),e.add(v(n,r.current,"enter"===p.current,(()=>{e.dispose(),s.current(p.current)}))),e.dispose}),[n])}({immediate:z,container:B,classes:V,direction:J,onStart:(0,a.Y)((e=>{re.current=!0,ne.onStart(B,e,ee)})),onStop:(0,a.Y)((e=>{re.current=!1,ne.onStop(B,e,te),"leave"===e&&!L(ne)&&(W("hidden"),q(B))}))});let oe=_,le={ref:H};return z?oe={...oe,className:(0,g.x)(_.className,...V.current.enter,...V.current.enterFrom)}:re.current&&(oe.className=(0,g.x)(_.className,null==(p=B.current)?void 0:p.className),""===oe.className&&delete oe.className),r.createElement(F.Provider,{value:ne},r.createElement(h.El,{value:(0,f.Y)(I,{visible:h.Uw.Open,hidden:h.Uw.Closed})|Q.flags},(0,E.XX)({ourProps:le,theirProps:oe,defaultTag:"div",features:N,visible:"visible"===I,name:"Transition.Child"})))})),D=(0,E.FX)((function(e,t){let n=null!==(0,r.useContext)(b),o=null!==(0,h.O_)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(R,{ref:t,...e}):r.createElement(x,{ref:t,...e}))})),M=Object.assign(R,{Child:D,Root:R})},96992:function(e,t,n){n.d(t,{L:function(){return l}});var r=n(96540),o=n(82599);function l(){let[e]=(0,r.useState)(o.e);return(0,r.useEffect)((()=>()=>
1e.dispose()),[e]),e}},98975:function(e,t,n){n.d(t,{P:function(){return u},a:function(){return i}});var r=n(96540),o=n(95015);let l=Symbol();function i(e,t=!0){return Object.assign(e,{[l]:t})}function u(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,o._)((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[l])))?void 0:n}},99851:function(e,t,n){n.d(t,{_:function(){return l}});var r=Object.defineProperty,o=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let l=new class{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(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"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}}}]); 2//# sourceMappingURL=4bfa28d0063fb6e4dbb3b12979a3f3aec9c6f7c4-4d9a74b3fc3fb9d83566.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.