1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,998348,e=>{"use strict";let t;var n=((t=n||{}).Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t);e.s(["Keys",0,n])},80758,e=>{"use strict";var t=Object.defineProperty,n=(e,n,r)=>{let o;return(o="symbol"!=typeof n?n+"":n)in e?t(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,r};let r=new class{constructor(){n(this,"current",this.detect()),n(this,"handoffState","pending"),n(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,r])},941444,835696,e=>{"use strict";var t=e.i(271645),n=e.i(80758);let r=(e,r)=>{n.env.isServer?(0,t.useEffect)(e,r):(0,t.useLayoutEffect)(e,r)};e.s(["useIsoMorphicEffect",0,r],835696),e.s(["useLatestValue",0,function(e){let n=(0,t.useRef)(e);return r(()=>{n.current=e},[e]),n}],941444)},693456,e=>{"use strict";var t=e.i(271645),n=e.i(941444);e.s(["useEventListener",0,function(e,r,o,i){let s=(0,n.useLatestValue)(o);(0,t.useEffect)(()=>{function t(e){s.current(e)}return(e=null!=e?e:window).addEventListener(r,t,i),()=>e.removeEventListener(r,t,i)},[e,r,i])}])},544508,368578,e=>{"use strict";function t(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}e.s(["microTask",0,t],368578),e.s(["disposables",0,function e(){let n=[],r={addEventListener:(e,t,n,o)=>(e.addEventListener(t,n,o),r.add(()=>e.removeEventListener(t,n,o))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>r.requestAnimationFrame(()=>r.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return r.add(()=>clearTimeout(t))},microTask(...e){let n={current:!0};return t(()=>{n.current&&e[0]()}),r.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(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(n.includes(e)||n.push(e),()=>{let t=n.indexOf(e);if(t>=0)for(let e of n.splice(t,1))e()}),dispose(){for(let e of n.splice(0))e()}};return r}],544508)},397701,e=>{"use strict";e.s(["match",0,function e(t,n,...r){if(t in n){let e=n[t];return"function"==typeof e?e(...r):e}let o=Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,e),o}])},614595,(e,t,n)=>{"use strict";var r=e.r(271645),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,a=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=i(e,(d=u(function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return s=t}return s=e}if(t=s,o(i,e))return t;var n=r(e);return void 0!==c&&c(t,n)?(i=e,t):(i=e,s=n)}var i,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,c]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),a(p),p}},313027,(e,t,n)=>{"use strict";t.exports=e.r(614595)},914189,e=>{"use strict";var t=e.i(271645),n=e.i(941444);e.s(["useEvent",0,function(e){let r=(0,n.useLatestValue)(e);return t.default.useCallback((...e)=>r.current(...e),[r])}])},929644,825720,341650,140407,e=>{"use strict";let t;var n,r,o,i=e.i(271645);class s extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var l=e.i(544508),u=e.i(80758),a=Object.defineProperty,c=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},d=(e,t,n)=>(c(e,t,"read from private field"),n?n.call(e):t.get(e)),f=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},p=(e,t,n,r)=>(c(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class m{constructor(e){f(this,n,{}),f(this,r,new s(()=>new Set)),f(this,o,new Set),((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?a(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"disposables",(0,l.disposables)()),p(this,n,e),u.env.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return d(this,n)}subscribe(e,t){if(u.env.isServer)return()=>{};let r={selector:e,callback:t,current:e(d(this,n))};return d(this,o).add(r),this.disposables.add(()=>{d(this,o).delete(r)})}on(e,t){return u.env.isServer?()=>{}:(d(this,r).get(e).add(t),this.disposables.add(()=>{d(this,r).get(e).delete(t)}))}send(e){let t=this.reduce(d(this,n),e);
1if(t!==d(this,n)){for(let e of(p(this,n,t),d(this,o))){let t=e.selector(d(this,n));v(e.current,t)||(e.current=t,e.callback(t))}for(let t of d(this,r).get(e.type))t(d(this,n),e)}}}function v(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&h(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&h(e.entries(),t.entries()):!!(g(e)&&g(t))&&h(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function h(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function g(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}n=new WeakMap,r=new WeakMap,o=new WeakMap,e.s(["Machine",0,m,"batch",0,function(e){let[t,n]=e(),r=(0,l.disposables)();return(...e)=>{t(...e),r.dispose(),r.microTask(n)}},"shallowEqual",0,v],825720);var E=e.i(397701),b=Object.defineProperty,y=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?b(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n},w=((t=w||{})[t.Push=0]="Push",t[t.Pop=1]="Pop",t);let S={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(-1!==o){let t=e.stack.slice();return t.splice(o,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(-1===r)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}};class T extends m{constructor(){super(...arguments),y(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),y(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new T({stack:[]})}reduce(e,t){return(0,E.match)(t.type,S,e,t)}}let F=new s(()=>T.new());e.s(["ActionTypes",0,w,"stackMachines",0,F],341650);var R=e.i(313027),x=e.i(914189);function P(e,t,n=v){return(0,R.useSyncExternalStoreWithSelector)((0,x.useEvent)(t=>e.subscribe(O,t)),(0,x.useEvent)(()=>e.state),(0,x.useEvent)(()=>e.state),(0,x.useEvent)(t),n)}function O(e){return e}e.s(["useSlice",0,P],140407);var C=e.i(835696);e.s(["useIsTopLayer",0,function(e,t){let n=(0,i.useId)(),r=F.get(t),[o,s]=P(r,(0,i.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return(0,C.useIsoMorphicEffect)(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),!!e&&(!s||o)}],929644)},16644,e=>{"use strict";var t=e.i(998348),n=e.i(693456),r=e.i(929644);e.s(["useEscape",0,function(e,o="u">typeof document?document.defaultView:null,i){let s=(0,r.useIsTopLayer)(e,"escape");(0,n.useEventListener)(o,"keydown",e=>{s&&(e.defaultPrevented||e.key===t.Keys.Escape&&i(e))})}])},402155,e=>{"use strict";var t=e.i(80758);function n(e){var n,r;return t.env.isServer?null:null==e?document:null!=(r=null==(n=null==e?void 0:e.getRootNode)?void 0:n.call(e))?r:document}function r(e){var t,r;return null!=(r=null==(t=n(e))?void 0:t.activeElement)?r:null}e.s(["getActiveElement",0,r,"getOwnerDocument",0,function(e){var n;return t.env.isServer?null:null==e?document:null!=(n=null==e?void 0:e.ownerDocument)?n:document},"getRootNode",0,n,"isActiveElement",0,function(e){return r(e)===e}])},684653,e=>{"use strict";var t=e.i(544508),n=e.i(402155),r=e.i(929644),o=e.i(835696);let i=new Map,s=new Map;function l(e){var t;let n=null!=(t=s.get(e))?t:0;return s.set(e,n+1),0!==n||(i.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=s.get(e))?t:1;if(1===n?s.delete(e):s.set(e,n-1),1!==n)return;let r=i.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,i.delete(e))})(e)}e.s(["useInertOthers",0,function(e,{allowed:i,disallowed:s}={}){let u=(0,r.useIsTopLayer)(e,"inert-others");(0,o.useIsoMorphicEffect)(()=>{var e,r;if(!u)return;let o=(0,t.disposables)();for(let t of null!=(e=null==s?void 0:s())?e:[])t&&o.add(l(t));let a=null!=(r=null==i?void 0:i())?r:[];for(let e of a){if(!e)continue;let t=(0,n.getOwnerDocument)(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)a.some(t=>e.contains(t))||o.add(l(e));r=r.parentElement}}return o.dispose},[u,i,s])}])},682722,e=>{"use strict";var t=e.i(271645),n=e.i(835696);e.s(["useIsTouchDevice",0,function(){var e;let[r]=(0,t.useState)(()=>"u">typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[o,i]=(0,t.useState)(null!=(e=null==r?void 0:r.matches)&&e);return(0,n.useIsoMorphicEffect)(()=>
1{if(r)return r.addEventListener("change",e),()=>r.removeEventListener("change",e);function e(e){i(e.matches)}},[r]),o}])},813581,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function n(e){return t(e)&&"tagName"in e}function r(e){return n(e)&&"accessKey"in e}e.s(["hasInlineStyle",0,function(e){return n(e)&&"style"in e},"isElement",0,n,"isHTMLElement",0,r,"isHTMLFieldSetElement",0,function(e){return r(e)&&"FIELDSET"===e.nodeName},"isHTMLIframeElement",0,function(e){return r(e)&&"IFRAME"===e.nodeName},"isHTMLInputElement",0,function(e){return r(e)&&"INPUT"===e.nodeName},"isHTMLLabelElement",0,function(e){return r(e)&&"LABEL"===e.nodeName},"isHTMLLegendElement",0,function(e){return r(e)&&"LEGEND"===e.nodeName},"isHTMLorSVGElement",0,function(e){return n(e)&&"tabIndex"in e},"isInteractiveElement",0,function(e){return!!n(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')},"isNode",0,t])},877891,652265,309507,22357,401141,952744,e=>{"use strict";let t,n,r,o,i;var s=e.i(271645),l=e.i(544508),u=e.i(813581),a=e.i(941444);e.s(["useOnDisappear",0,function(e,t,n){let r=(0,a.useLatestValue)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,s.useEffect)(()=>{if(!e)return;let n=null===t?null:u.isHTMLElement(t)?t:t.current;if(!n)return;let o=(0,l.disposables)();if("u">typeof ResizeObserver){let e=new ResizeObserver(()=>r.current(n));e.observe(n),o.add(()=>e.disconnect())}if("u">typeof IntersectionObserver){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),o.add(()=>e.disconnect())}return()=>o.dispose()},[t,r,e])}],877891);var c=e.i(397701),d=e.i(402155);let f=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),p=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var m=((t=m||{})[t.First=1]="First",t[t.Previous=2]="Previous",t[t.Next=4]="Next",t[t.Last=8]="Last",t[t.WrapAround=16]="WrapAround",t[t.NoScroll=32]="NoScroll",t[t.AutoFocus=64]="AutoFocus",t),v=((n=v||{})[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n),h=((r=h||{})[r.Previous=-1]="Previous",r[r.Next=1]="Next",r);function g(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(f)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var E=((o=E||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function b(e,t=0){var n;return e!==(null==(n=(0,d.getOwnerDocument)(e))?void 0:n.body)&&(0,c.match)(t,{0:()=>e.matches(f),1(){let t=e;for(;null!==t;){if(t.matches(f))return!0;t=t.parentElement}return!1}})}var y=((i=y||{})[i.Keyboard=0]="Keyboard",i[i.Mouse=1]="Mouse",i);function w(e){null==e||e.focus({preventScroll:!0})}function S(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 i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function T(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var i,s,l;let u=Array.isArray(e)?e.length>0?(0,d.getRootNode)(e[0]):document:(0,d.getRootNode)(e),a=Array.isArray(e)?n?S(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(p)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):g(e);o.length>0&&a.length>1&&(a=a.filter(e=>!o.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),r=null!=r?r:null==u?void 0:u.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(r))-1;if(4&t)return Math.max(0,a.indexOf(r))+1;if(8&t)return a.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=32&t?{preventScroll:!0}:{},v=0,h=a.length,E;do{if(v>=h||v+h<=0)return 0;let e=f+v;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}null==(E=a[e])||E.focus(m),v+=c}while(E!==(0,d.getActiveElement)(E))return 6&t&&null!=(l=null==(s=null==(i=E)?void 0:i.matches)?void 0:s.call(i,"textarea,input"))&&l&&E.select(),2}function F(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function R(){return F()||/Android/gi.test(window.navigator.userAgent)}function x(e,t,n,r){let o=(0,a.useLatestValue)(n);(0,s.useEffect)(()=>
1{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function P(e,t,n,r){let o=(0,a.useLatestValue)(n);(0,s.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}"u">typeof window&&"u">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)),e.s(["Focus",0,m,"FocusResult",0,v,"FocusableMode",0,E,"focusElement",0,w,"focusFrom",0,function(e,t,n=null===e?document.body:(0,d.getRootNode)(e)){return T(g(n),t,{relativeTo:e})},"focusIn",0,T,"focusableSelector",0,f,"getFocusableElements",0,g,"isFocusableElement",0,b,"restoreFocusIfNecessary",0,function(e){(0,l.disposables)().nextFrame(()=>{let t=(0,d.getActiveElement)(e);t&&u.isHTMLorSVGElement(t)&&!b(t,0)&&w(e)})},"sortByDomNode",0,S],652265),e.s(["isIOS",0,F,"isMobile",0,R],309507),e.s(["useDocumentEvent",0,x],22357),e.s(["useWindowEvent",0,P],401141),e.s(["useOutsideClick",0,function(e,t,n){let r=(0,a.useLatestValue)(n),o=(0,s.useCallback)(function(e,n){if(e.defaultPrevented)return;let o=n(e);if(null!==o&&o.getRootNode().contains(o)&&o.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(o)||e.composed&&e.composedPath().includes(n)))return;return b(o,E.Loose)||-1===o.tabIndex||e.preventDefault(),r.current(e,o)}},[r,t]),i=(0,s.useRef)(null);x(e,"pointerdown",e=>{var t,n;R()||(i.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),x(e,"pointerup",e=>{if(R()||!i.current)return;let t=i.current;return i.current=null,o(e,()=>t)},!0);let l=(0,s.useRef)({x:0,y:0});x(e,"touchstart",e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY},!0),x(e,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-l.current.x)>=30||Math.abs(t.y-l.current.y)>=30))return o(e,()=>u.isHTMLorSVGElement(e.target)?e.target:null)},!0),P(e,"blur",e=>o(e,()=>u.isHTMLIframeElement(window.document.activeElement)?window.document.activeElement:null),!0)}],952744)},605083,e=>{"use strict";var t=e.i(271645),n=e.i(402155);e.s(["useOwnerDocument",0,function(...e){return(0,t.useMemo)(()=>(0,n.getOwnerDocument)(...e),[...e])},"useRootDocument",0,function(...e){return(0,t.useMemo)(()=>(0,n.getRootNode)(...e),[...e])}])},732607,e=>{"use strict";e.s(["classNames",0,function(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}])},700020,e=>{"use strict";let t,n;var r=e.i(271645),o=e.i(732607),i=e.i(397701),s=((t=s||{})[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t),l=((n=l||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function u(e,t={},n,i,s){let{as:l=n,children:a,refName:m="ref",...v}=f(e,["unmount","static"]),h=void 0!==e.ref?{[m]:e.ref}:{},g="function"==typeof a?a(t):a;"className"in v&&v.className&&"function"==typeof v.className&&(v.className=v.className(t)),v["aria-labelledby"]&&v["aria-labelledby"]===v.id&&(v["aria-labelledby"]=void 0);let E={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(E["data-headlessui-state"]=n.join(" "),n))E[`data-${e}`]=""}if(p(l)&&(Object.keys(d(v)).length>0||Object.keys(d(E)).length>0))if(!(0,r.isValidElement)(g)||Array.isArray(g)&&g.length>1||p(g.type)){if(Object.keys(d(v)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(d(v)).concat(Object.keys(d(E))).map(e=>` - ${e}`).join(` 2`),"","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(` 3`)].join(` 4`))}else{var b;let e=g.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>(0,o.classNames)(t(...e),v.className):(0,o.classNames)(t,v.className),i=c(g.props,d(f(v,["ref"])));for(let e in E)e in i&&delete E[e];return(0,r.cloneElement)(g,Object.assign({},i,E,h,{ref:s((b=g,r.default.version.split(".")[0]>="19"?b.props.ref:b.ref),h.ref)},n?{className:n}:{}))}return(0,r.createElement)(l,Object.assign({},f(v,["ref"]),!p(l)&&h,!p(l)&&E),g)}function a(...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 c(...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 o of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;o(t,...r)}}});return t}function d(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 p(e){return e===r.Fragment||e===Symbol.for("react.fragment")}e.s(["RenderFeatures",0,s,"RenderStrategy",0,l,"compact",0,d,"forwardRefWithAs",0,function(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})},"isFragment",0,p,"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,function(){let e,t,n=(e=(0,r.useRef)([]),t=(0,r.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,r.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:s=!0,name:l,mergeRefs:d}){d=null!=d?d:a;let f=c(t,e);if(s)return u(f,n,r,l,d);let p=null!=o?o:0;if(2&p){let{static:e=!1,...t}=f;if(e)return u(t,n,r,l,d)}if(1&p){let{unmount:e=!0,...t}=f;return(0,i.match)(+!e,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},n,r,l,d)})}return u(f,n,r,l,d)})({mergeRefs:n,...e}),[n])}])},2788,e=>{"use strict";let t;var n=e.i(700020),r=((t=r||{})[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t);let o=(0,n.forwardRefWithAs)(function(e,t){var r;let{features:o=1,...i}=e,s={ref:t,"aria-hidden":(2&o)==2||(null!=(r=i["aria-hidden"])?r:void 0),hidden:(4&o)==4||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)==4&&(2&o)!=2&&{display:"none"}}};return(0,n.useRender)()({ourProps:s,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})});e.s(["Hidden",0,o,"HiddenFeatures",0,r])},185935,e=>{"use strict";var t=e.i(271645),n=e.i(2788),r=e.i(813581),o=e.i(402155),i=e.i(914189);let s=(0,t.createContext)(null);function l(e=null){var n;return null!=(n=(0,t.useContext)(s))?n:e}e.s(["MainTreeProvider",0,function({children:e,node:i}
4){let[u,a]=(0,t.useState)(null),c=l(null!=i?i:u);return t.default.createElement(s.Provider,{value:c},e,null===c&&t.default.createElement(n.Hidden,{features:n.HiddenFeatures.Hidden,ref:e=>{var t,n;if(e){for(let i of null!=(n=null==(t=(0,o.getOwnerDocument)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(i!==document.body&&i!==document.head&&r.isElement(i)&&null!=i&&i.contains(e)){a(i);break}}}}))},"useMainTreeNode",0,l,"useRootContainers",0,function({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let s=(0,i.useEvent)(()=>{var i,s;let l=(0,o.getOwnerDocument)(n),u=[];for(let t of e)null!==t&&(r.isElement(t)?u.push(t):"current"in t&&r.isElement(t.current)&&u.push(t.current));if(null!=t&&t.current)for(let e of t.current)u.push(e);for(let e of null!=(i=null==l?void 0:l.querySelectorAll("html > *, body > *"))?i:[])e!==document.body&&e!==document.head&&r.isElement(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(s=null==n?void 0:n.getRootNode())?void 0:s.host))||u.some(t=>e.contains(t))||u.push(e));return u});
4return{resolveContainers:s,contains:(0,i.useEvent)(e=>s().some(t=>t.contains(e)))}}])},808417,e=>{"use strict";let t,n;var r,o,i=e.i(271645),s=e.i(835696),l=e.i(544508),u=e.i(813581),a=e.i(309507);function c(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let d=(r=()=>new Map,o={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,l.disposables)(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=c(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=c(n.meta)),this},SCROLL_PREVENT(e){let t,n={doc:e.doc,d:e.d,meta:()=>e.computedMeta},r=[(0,a.isIOS)()?{before({doc:e,d:t,meta:n}){function r(e){for(let t of n().containers)for(let n of t())if(n.contains(e))return!0;return!1}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,l.disposables)();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let o=null!=(n=window.scrollY)?n:window.pageYOffset,i=null;t.addEventListener(e,"click",t=>{if(u.isHTMLorSVGElement(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:o}=new URL(n.href),s=e.querySelector(o);u.isHTMLorSVGElement(s)&&!r(s)&&(i=s)}catch{}},!0),t.group(n=>{t.addEventListener(e,"touchstart",e=>{if(n.dispose(),u.isHTMLorSVGElement(e.target)&&u.hasInlineStyle(e.target))if(r(e.target)){let t=e.target;for(;t.parentElement&&r(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",e=>{if(u.isHTMLorSVGElement(e.target)&&!u.isHTMLInputElement(e.target))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;o!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{},{before({doc:e}){var n;let r=e.documentElement;t=Math.max(0,(null!=(n=e.defaultView)?n:window).innerWidth-r.clientWidth)},after({doc:e,d:n}){let r=e.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,t-o);n.style(r,"paddingRight",`${i}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];r.forEach(({before:e})=>null==e?void 0:e(n)),r.forEach(({after:e})=>null==e?void 0:e(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},t=r(),n=new Set,{getSnapshot:()=>t,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...r){let i=o[e].call(t,...r);i&&(t=i,n.forEach(e=>e()))}});d.subscribe(()=>{let e=d.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)&&d.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&d.dispatch("TEARDOWN",n)}}),e.s(["useDocumentOverflowLockedEffect",0,function(e,t,n=()=>({containers:[]})){let r=(0,i.useSyncExternalStore)(d.subscribe,d.getSnapshot,d.getSnapshot),o=t?r.get(t):void 0,l=!!o&&o.count>0;return(0,s.useIsoMorphicEffect)(()=>{if(!(!t||!e))return d.dispatch("PUSH",t,n),()=>d.dispatch("POP",t,n)},[e,t]),l}],808417)},101852,e=>{"use strict";var t=e.i(808417),n=e.i(929644);e.s(["useScrollLock",0,function(e,r,o=()=>[document.body]){let i=(0,n.useIsTopLayer)(e,"scroll-lock");(0,t.useDocumentOverflowLockedEffect)(i,r,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],o]}})}])},178677,e=>{"use strict";var t=e.i(271645),n=e.i(80758);e.s(["useServerHandoffComplete",0,function(){let e,r=(e="u"<typeof document,"useSyncExternalStore"in t&&(0,t.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[o,i]=t.useState(n.env.isHandoffComplete);return o&&!1===n.env.isHandoffComplete&&i(!1),t.useEffect(()=>{!0!==o&&i(!0)},[o]),t.useEffect(()=>n.env.handoff(),[]),!r&&o}])},255743,e=>{"use strict";var t=e.i(271645);e.s(["useSlot",0,function(e){return(0,t.useMemo)(()=>e,Object.values(e))}])},294316,e=>{"use strict";var t=e.i(271645),n=e.i(914189);let r=Symbol();e.s(["optionalRef",0,function(e,t=!0){return Object.assign(e,{[r]:t})},"useSyncRefs",0,function(...e){let o=(0,t.useRef)(e);(0,t.useEffect)(()=>{o.current=e},[e]);let i=(0,n.useEvent)(e=>{for(let t of o.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return e.every(e=>null==e||(null==e?void 0:e[r]))?void 0:i}])},674175,e=>{"use strict";var t=e.i(271645);let n=(0,t.createContext)(()=>{});e.s(["CloseProvider",0,function({value:e,children:r}){return t.default.createElement(n.Provider,{value:e},r)}])},233137,e=>{"use strict";let t;var n=e.i(271645);let r=(0,n.createContext)(null);r.displayName="OpenClosedContext";var o=((t=o||{})[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t);e.s(["OpenClosedProvider",0,function({value:e,children:t}){return n.default.createElement(r.Provider,{value:e},t)},"ResetOpenClosedProvider",0,function({children:e}){return n.default.createElement(r.Provider,{value:null},e)},"State",0,o,"useOpenClosed",0,function(){return(0,n.useContext)(r)}])},496629,e=>{"use strict";var t=e.i(271645);let n=(0,t.createContext)(!1);e.s(["ForcePortalRoot",0,function(e){return t.default.createElement(n.Provider,{value:e.force},e.children)},"usePortalRoot",0,function(){return(0,t.useContext)(n)}])},601893,e=>{"use strict";var t=e.i(271645);let n=(0,t.createContext)(void 0);e.s(["useDisabled",0,function(){return(0,t.useContext)(n)}])},35889,e=>{"use strict";var t=e.i(271645),n=e.i(914189),r=e.i(835696),o=e.i(255743),i=e.i(294316),s=e.i(601893),l=e.i(700020);let u=(0,t.createContext)(null);u.displayName="DescriptionContext";let a=Object.assign((0,l.forwardRefWithAs)(function(e,n){let a=(0,t.useId)(),c=(0,s.useDisabled)(),{id:d=`headlessui-description-${a}`,...f}=e,p=function e(){let n=(0,t.useContext)(u);if(null===n){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return n}(),m=(0,i.useSyncRefs)(n);(0,r.useIsoMorphicEffect)(()=>p.register(d),[d,p.register]);let v=(0,o.useSlot)({...p.slot,disabled:c||!1}),h={ref:m,...p.props,id:d};return(0,l.useRender)()({ourProps:h,theirProps:f,slot:v,defaultTag:"p",name:p.name||"Description"})}),{});e.s(["Description",0,a,"useDescribedBy",0,function(){var e,n;return null!=(n=null==(e=(0,t.useContext)(u))?void 0:e.value)?n:void 0},"useDescriptions",0,function(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)(()=>function(e){let o=(0,n.useEvent)(e=>
4(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),i=(0,t.useMemo)(()=>({register:o,slot:e.slot,name:e.name,props:e.props,value:e.value}),[o,e.slot,e.name,e.props,e.value]);return t.default.createElement(u.Provider,{value:i},e.children)},[r])]}])},746725,e=>{"use strict";var t=e.i(271645),n=e.i(544508);e.s(["useDisposables",0,function(){let[e]=(0,t.useState)(n.disposables);return(0,t.useEffect)(()=>()=>e.dispose(),[e]),e}])},553521,e=>{"use strict";var t=e.i(271645),n=e.i(835696);e.s(["useIsMounted",0,function(){let e=(0,t.useRef)(!1);return(0,n.useIsoMorphicEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}])},526599,e=>{"use strict";var t=e.i(271645),n=e.i(368578),r=e.i(914189);e.s(["useOnUnmount",0,function(e){let o=(0,r.useEvent)(e),i=(0,t.useRef)(!1);(0,t.useEffect)(()=>(i.current=!1,()=>{i.current=!0,(0,n.microTask)(()=>{i.current&&o()})}),[o])}])},661130,e=>{"use strict";let t;var n=e.i(271645),r=e.i(401141),o=((t=o||{})[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t);e.s(["Direction",0,o,"useTabDirection",0,function(){let e=(0,n.useRef)(0);return(0,r.useWindowEvent)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}])},833633,e=>{"use strict";var t=e.i(271645),n=e.i(914189);e.s(["useWatch",0,function(e,r){let o=(0,t.useRef)([]),i=(0,n.useEvent)(e);(0,t.useEffect)(()=>{let e=[...o.current];for(let[t,n]of r.entries())if(o.current[t]!==n){let t=i(r,e);return o.current=r,t}},[i,...r])}])},103935,e=>{"use strict";
4var t=e.i(813581),n=e.i(652265);let r=[];function o(){"loading"!==document.readyState&&((()=>{function e(e){if(!t.isHTMLorSVGElement(e.target)||e.target===document.body||r[0]===e.target)return;let o=e.target;o=o.closest(n.focusableSelector),r.unshift(null!=o?o:e.target),(r=r.filter(e=>null!=e&&e.isConnected)).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})})(),document.removeEventListener("DOMContentLoaded",o))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",o),o()),e.s(["history",()=>r],103935)},442925,e=>{"use strict";let t;var n=e.i(271645),r=e.i(746725),o=e.i(914189),i=e.i(693456),s=e.i(553521),l=e.i(929644),u=e.i(526599),a=e.i(605083),c=e.i(178677),d=e.i(294316),f=e.i(661130),p=e.i(833633),m=e.i(2788),v=e.i(103935),h=e.i(813581),g=e.i(652265),E=e.i(397701),b=e.i(368578),y=e.i(402155),w=e.i(700020);function S(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)h.isElement(n.current)&&t.add(n.current);return t}var T=((t=T||{})[t.None=0]="None",t[t.InitialFocus=1]="InitialFocus",t[t.TabLock=2]="TabLock",t[t.FocusLock=4]="FocusLock",t[t.RestoreFocus=8]="RestoreFocus",t[t.AutoFocus=16]="AutoFocus",t);let F=Object.assign((0,w.forwardRefWithAs)(function(e,t){let T=(0,n.useRef)(null),F=(0,d.useSyncRefs)(T,t),{initialFocus:x,initialFocusFallback:P,containers:O,features:C=15,...L}=e;(0,c.useServerHandoffComplete)()||(C=0);let M=(0,a.useOwnerDocument)(T.current);!function(e,{ownerDocument:t}){let r=!!(8&e),i=function(e=!0){let t=(0,n.useRef)(v.history.slice());return(0,p.useWatch)(([e],[n])=>{!0===n&&!1===e&&(0,b.microTask)(()=>{t.current.splice(0)}),!1===n&&!0===e&&(t.current=v.history.slice())},[e,v.history,t]),(0,o.useEvent)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);(0,p.useWatch)(()=>{r||(0,y.isActiveElement)(null==t?void 0:t.body)&&(0,g.focusElement)(i())},[r]),(0,u.useOnUnmount)(()=>{r&&(0,g.focusElement)(i())})}(C,{ownerDocument:M});let k=function(e,{ownerDocument:t,container:r,initialFocus:o,initialFocusFallback:i}){let u=(0,n.useRef)(null),a=(0,l.useIsTopLayer)(!!(1&e),"focus-trap#initial-focus"),c=(0,s.useIsMounted)();return(0,p.useWatch)(()=>{if(0===e)return;if(!a){null!=i&&i.current&&(0,g.focusElement)(i.current);return}let n=r.current;n&&(0,b.microTask)(()=>{if(!c.current)return;let r=null==t?void 0:t.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){u.current=r;return}}else if(n.contains(r)){u.current=r;return}if(null!=o&&o.current)(0,g.focusElement)(o.current);else{if(16&e){if((0,g.focusIn)(n,g.Focus.First|g.Focus.AutoFocus)!==g.FocusResult.Error)return}else if((0,g.focusIn)(n,g.Focus.First)!==g.FocusResult.Error)return;if(null!=i&&i.current&&((0,g.focusElement)(i.current),(null==t?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=null==t?void 0:t.activeElement})},[i,a,e]),u}(C,{ownerDocument:M,container:T,initialFocus:x,initialFocusFallback:P});!function(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=(0,s.useIsMounted)(),u=!!(4&e);(0,i.useEventListener)(null==t?void 0:t.defaultView,"focus",e=>{if(!u||!l.current)return;let t=S(r);h.isHTMLElement(n.current)&&t.add(n.current);let i=o.current;if(!i)return;let s=e.target;h.isHTMLElement(s)?R(t,s)?(o.current=s,(0,g.focusElement)(s)):(e.preventDefault(),e.stopPropagation(),(0,g.focusElement)(i)):(0,g.focusElement)(o.current)},!0)}(C,{ownerDocument:M,container:T,containers:O,previousActiveElement:k});let A=(0,f.useTabDirection)(),D=(0,o.useEvent)(e=>{if(!h.isHTMLElement(T.current))return;let t=T.current;(0,E.match)(A.current,{[f.Direction.Forwards]:()=>{(0,g.focusIn)(t,g.Focus.First,{skipElements:[e.relatedTarget,P]})},[f.Direction.Backwards]:()=>{(0,g.focusIn)(t,g.Focus.Last,{skipElements:[e.relatedTarget,P]})}})}),N=(0,l.useIsTopLayer)(!!(2&C),"focus-trap#tab-lock"),I=(0,r.useDisposables)(),j=(0,n.useRef)(!1),H=(0,w.useRender)();return n.default.createElement(n.default.Fragment,null,N&&n.default.createElement(m.Hidden,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:D,features:m.HiddenFeatures.Focusable}),H({ourProps:{ref:F,onKeyDown(e){"Tab"==e.key&&(j.current=!0,I.requestAnimationFrame(()=>{j.current=!1}))},onBlur(e){if(!(4&C))return;let t=S(O);h.isHTMLElement(T.current)&&t.add(T.current);let n=e.relatedTarget;h.isHTMLorSVGElement(n)&&"true"!==n.dataset.headlessuiFocusGuard&&(R(t,n)||(j.current?(0,g.focusIn)(T.current,(0,E.match)(A.current,{[f.Direction.Forwards]:()=>g.Focus.Next,[f.Direction.Backwards]:()=>g.Focus.Previous})|g.Focus.WrapAround,{relativeTo:e.target}):h.isHTMLorSVGElement(e.target)&&(0,g.focusElement)(e.target)))}},theirProps:L,defaultTag:"div",name:"FocusTrap"}),N&&n.default.createElement(m.Hidden,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:D,features:m.HiddenFeatures.Focusable}))}),{features:T});function R(e,t){for(let n of e)if(n.contains(t))return!0;return!1}e.s(["FocusTrap",0,F,"FocusTrapFeatures",0,T])},635307,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(746725),o=e.i(914189),i=e.i(526599),s=e.i(605083),l=e.i(294316),u=e.i(496629),a=e.i(80758),c=e.i(700020);let d=t.Fragment,f=(0,c.forwardRefWithAs)(function(e,o){let{ownerDocument:f=null,...p}=e,h=(0,t.useRef)(null),g=(0,l.useSyncRefs)((0,l.optionalRef)(e=>{h.current=e}),o),E=(0,s.useOwnerDocument)(h.current),b=function(e){let n=(0,u.usePortalRoot)(),r=(0,t.useContext)(m),[o,i]=(0,t.useState)(()=>{var t;if(!n&&null!==r)return null!=(t=r.current)?t:null;if(a.env.isServer)return null;let o=null==e?void 0:e.getElementById("headlessui-portal-root");
4if(o)return o;if(null===e)return null;let i=e.createElement("div");return i.setAttribute("id","headlessui-portal-root"),e.body.appendChild(i)});return(0,t.useEffect)(()=>{null!==o&&(null!=e&&e.body.contains(o)||null==e||e.body.appendChild(o))},[o,e]),(0,t.useEffect)(()=>{n||null!==r&&i(r.current)},[r,i,n]),o}(null!=f?f:E),y=(0,t.useContext)(v),w=(0,r.useDisposables)(),S=(0,c.useRender)();return(0,i.useOnUnmount)(()=>{var e;b&&b.childNodes.length<=0&&(null==(e=b.parentElement)||e.removeChild(b))}),b?(0,n.createPortal)(t.default.createElement("div",{"data-headlessui-portal":"",ref:e=>{w.dispose(),y&&e&&w.add(y.register(e))}},S({ourProps:{ref:g},theirProps:p,slot:{},defaultTag:d,name:"Portal"})),b):null}),p=t.Fragment,m=(0,t.createContext)(null),v=(0,t.createContext)(null),h=(0,c.forwardRefWithAs)(function(e,n){let r=(0,l.useSyncRefs)(n),{enabled:o=!0,ownerDocument:i,...s}=e,u=(0,c.useRender)();return o?t.default.createElement(f,{...s,ownerDocument:i,ref:r}):u({ourProps:{ref:r},theirProps:s,slot:{},defaultTag:d,name:"Portal"})}),g=(0,c.forwardRefWithAs)(function(e,n){let{target:r,...o}=e,i={ref:(0,l.useSyncRefs)(n)},s=(0,c.useRender)();return t.default.createElement(m.Provider,{value:r},s({ourProps:i,theirProps:o,defaultTag:p,name:"Popover.Group"}))}),E=Object.assign(h,{Group:g});e.s(["Portal",0,E,"PortalGroup",0,g,"useNestedPortals",0,function(){let e=(0,t.useContext)(v),n=(0,t.useRef)([]),r=(0,o.useEvent)(t=>(n.current.push(t),e&&e.register(t),()=>i(t))),i=(0,o.useEvent)(t=>{let r=n.current.indexOf(t);-1!==r&&n.current.splice(r,1),e&&e.unregister(t)}),s=(0,t.useMemo)(()=>({register:r,unregister:i,portals:n}),[r,i,n]);return[n,(0,t.useMemo)(()=>function({children:e}){return t.default.createElement(v.Provider,{value:s},e)},[s])]}])},83733,e=>{"use strict";let t;var n,r,o=e.i(247167),i=e.i(271645),s=e.i(544508),l=e.i(746725),u=e.i(835696);void 0!==o.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(n=null==o.default?void 0:o.default.env)?void 0:n.NODE_ENV)==="test"&&void 0===(null==(r=null==Element?void 0:Element.prototype)?void 0:r.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(` 5`)),[]});var a=((t=a||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);e.s(["transitionDataAttributes",0,function(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t},"useTransition",0,function(e,t,n,r){let[o,a]=(0,i.useState)(n),{hasFlag:c,addFlag:d,removeFlag:f}=function(e=0){let[t,n]=(0,i.useState)(e),r=(0,i.useCallback)(e=>n(e),[]),o=(0,i.useCallback)(e=>n(t=>t|e),[]),s=(0,i.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:s,removeFlag:(0,i.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,i.useCallback)(e=>n(t=>t^e),[])}}(e&&o?3:0),p=(0,i.useRef)(!1),m=(0,i.useRef)(!1),v=(0,l.useDisposables)();return(0,u.useIsoMorphicEffect)(()=>{var o;if(e){if(n&&a(!0),!t){n&&d(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:o}){let i=(0,s.disposables)();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:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(function(e,t){var n,r;let o=(0,s.disposables)();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let l=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===l.length?t():Promise.allSettled(l.map(e=>e.finished)).then(()=>{i||t()}),o.dispose}(e,r))})}),i.dispose}(t,{inFlight:p,prepare(){m.current?m.current=!1:m.current=p.current,p.current=!0,m.current||(n?(d(3),f(4)):(d(4),f(2)))},run(){m.current?n?(f(3),d(4)):(f(4),d(3)):n?f(1):d(1)},done(){var e,o,i,s;m.current&&(null!=(s=null==(i=(o=t).getAnimations)?void 0:i.call(o))?s:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(p.current=!1,f(7),n||a(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,v]),e?[o,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}],83733)},854056,e=>{"use strict";let t;var n=e.i(271645),r=e.i(746725),o=e.i(914189),i=e.i(553521),s=e.i(835696),l=e.i(941444),u=e.i(178677),a=e.i(294316),c=e.i(83733),d=e.i(233137),f=e.i(732607),p=e.i(397701),m=e.i(700020);function v(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,m.isFragment)(null!=(t=e.as)?t:w)||1===n.default.Children.count(e.children)}let h=(0,n.createContext)(null);h.displayName="TransitionContext";var g=((t=g||{}).Visible="visible",t.Hidden="hidden",t);let E=(0,n.createContext)(null);function b(e){return"children"in e?b(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function y(e,t){let s=(0,l.useLatestValue)(e),u=(0,n.useRef)([]),a=(0,i.useIsMounted)(),c=(0,r.useDisposables)(),d=(0,o.useEvent)((e,t=m.RenderStrategy.Hidden)=>{let n=u.current.findIndex(({el:t})=>t===e);-1!==n&&((0,p.match)(t,{[m.RenderStrategy.Unmount](){u.current.splice(n,1)},[m.RenderStrategy.Hidden](){u.current[n].state="hidden"}}),c.microTask(()=>{var e;!b(u)&&a.current&&(null==(e=s.current)||e.call(s))}))}),f=(0,o.useEvent)(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,m.RenderStrategy.Unmount)}),v=(0,n.useRef)([]),h=(0,n.useRef)(Promise.resolve()),g=(0,n.useRef)({enter:[],leave:[]}
5),E=(0,o.useEvent)((e,n,r)=>{v.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=>{v.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(g.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?h.current=h.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),y=(0,o.useEvent)((e,t,n)=>{Promise.all(g.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=v.current.shift())||e()}).then(()=>n(t))});return(0,n.useMemo)(()=>({children:u,register:f,unregister:d,onStart:E,onStop:y,wait:h,chains:g}),[f,d,u,E,y,g,h])}E.displayName="NestingContext";let w=n.Fragment,S=m.RenderFeatures.RenderStrategy,T=(0,m.forwardRefWithAs)(function(e,t){let{show:r,appear:i=!1,unmount:l=!0,...c}=e,f=(0,n.useRef)(null),p=v(e),g=(0,a.useSyncRefs)(...p?[f,t]:null===t?[]:[t]);(0,u.useServerHandoffComplete)();let w=(0,d.useOpenClosed)();if(void 0===r&&null!==w&&(r=(w&d.State.Open)===d.State.Open),void 0===r)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[T,R]=(0,n.useState)(r?"visible":"hidden"),x=y(()=>{r||R("hidden")}),[P,O]=(0,n.useState)(!0),C=(0,n.useRef)([r]);(0,s.useIsoMorphicEffect)(()=>{!1!==P&&C.current[C.current.length-1]!==r&&(C.current.push(r),O(!1))},[C,r]);let L=(0,n.useMemo)(()=>({show:r,appear:i,initial:P}),[r,i,P]);(0,s.useIsoMorphicEffect)(()=>{r?R("visible"):b(x)||null===f.current||R("hidden")},[r,x]);let M={unmount:l},k=(0,o.useEvent)(()=>{var t;P&&O(!1),null==(t=e.beforeEnter)||t.call(e)}),A=(0,o.useEvent)(()=>{var t;P&&O(!1),null==(t=e.beforeLeave)||t.call(e)}),D=(0,m.useRender)();return n.default.createElement(E.Provider,{value:x},n.default.createElement(h.Provider,{value:L},D({ourProps:{...M,as:n.Fragment,children:n.default.createElement(F,{ref:g,...M,...c,beforeEnter:k,beforeLeave:A})},theirProps:{},defaultTag:n.Fragment,features:S,visible:"visible"===T,name:"Transition"})))}),F=(0,m.forwardRefWithAs)(function(e,t){var r,i;let{transition:l=!0,beforeEnter:g,afterEnter:T,beforeLeave:F,afterLeave:R,enter:x,enterFrom:P,enterTo:O,entered:C,leave:L,leaveFrom:M,leaveTo:k,...A}=e,[D,N]=(0,n.useState)(null),I=(0,n.useRef)(null),j=v(e),H=(0,a.useSyncRefs)(...j?[I,t,N]:null===t?[]:[t]),W=null==(r=A.unmount)||r?m.RenderStrategy.Unmount:m.RenderStrategy.Hidden,{show:V,appear:U,initial:$}=function(){let e=(0,n.useContext)(h);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[B,G]=(0,n.useState)(V?"visible":"hidden"),_=function(){let e=(0,n.useContext)(E);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:q,unregister:K}=_;(0,s.useIsoMorphicEffect)(()=>q(I),[q,I]),(0,s.useIsoMorphicEffect)(()=>{if(W===m.RenderStrategy.Hidden&&I.current)return V&&"visible"!==B?void G("visible"):(0,p.match)(B,{hidden:()=>K(I),visible:()=>q(I)})},[B,I,q,K,V,W]);let Y=(0,u.useServerHandoffComplete)();(0,s.useIsoMorphicEffect)(()=>{if(j&&Y&&"visible"===B&&null===I.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[I,B,Y,j]);let z=$&&!U,X=U&&V&&$,Z=(0,n.useRef)(!1),J=y(()=>{Z.current||(G("hidden"),K(I))},_),Q=(0,o.useEvent)(e=>{Z.current=!0,J.onStart(I,e?"enter":"leave",e=>{"enter"===e?null==g||g():"leave"===e&&(null==F||F())})}),ee=(0,o.useEvent)(e=>{let t=e?"enter":"leave";Z.current=!1,J.onStop(I,t,e=>{"enter"===e?null==T||T():"leave"===e&&(null==R||R())}),"leave"!==t||b(J)||(G("hidden"),K(I))});(0,n.useEffect)(()=>{j&&l||(Q(V),ee(V))},[V,j,l]);let et=!(!l||!j||!Y||z),[,en]=(0,c.useTransition)(et,D,V,{start:Q,end:ee}),er=(0,m.compact)({ref:H,className:(null==(i=(0,f.classNames)(A.className,X&&x,X&&P,en.enter&&x,en.enter&&en.closed&&P,en.enter&&!en.closed&&O,en.leave&&L,en.leave&&!en.closed&&M,en.leave&&en.closed&&k,!en.transition&&V&&C))?void 0:i.trim())||void 0,...(0,c.transitionDataAttributes)(en)}),eo=0;"visible"===B&&(eo|=d.State.Open),"hidden"===B&&(eo|=d.State.Closed),V&&"hidden"===B&&(eo|=d.State.Opening),V||"visible"!==B||(eo|=d.State.Closing);let ei=(0,m.useRender)();return n.default.createElement(E.Provider,{value:J},n.default.createElement(d.OpenClosedProvider,{value:eo},ei({ourProps:er,theirProps:A,defaultTag:w,features:S,visible:"visible"===B,name:"Transition.Child"})))}),R=(0,m.forwardRefWithAs)(function(e,t){let r=null!==(0,n.useContext)(h),o=null!==(0,d.useOpenClosed)();return n.default.createElement(n.default.Fragment,null,!r&&o?n.default.createElement(T,{ref:t,...e}):n.default.createElement(F,{ref:t,...e}))}),x=Object.assign(T,{Child:R,Root:T});e.s(["Transition",0,x,"TransitionChild",0,R])},854878,e=>{"use strict";let t,n;var r=e.i(271645),o=e.i(16644),i=e.i(914189),s=e.i(684653),l=e.i(682722),u=e.i(835696),a=e.i(877891),c=e.i(952744),d=e.i(605083),f=e.i(185935),p=e.i(101852),m=e.i(178677),v=e.i(255743),h=e.i(294316),g=e.i(674175),E=e.i(233137),b=e.i(496629),y=e.i(341650),w=e.i(140407),S=e.i(397701),T=e.i(700020),F=e.i(35889),R=e.i(442925),x=e.i(635307),P=e.i(854056),O=((t=O||{})[t.Open=0]="Open",t[t.Closed=1]="Closed",t),C=((n=C||{})[n.SetTitleId=0]="SetTitleId",n);let L={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},M=(0,r.createContext)(null);function k(e){let t=(0,r.useContext)(M);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,k),t}return t}function A(e,t){return(0,S.match)(t.type,L,e,t)}M.displayName="DialogContext";let D=(0,T.forwardRefWithAs)(function(e,t){let n=(0,r.useId)(),{id:S=`headlessui-dialog-${n}`,open:P,onClose:O,initialFocus:C,role:L="dialog",autoFocus:k=!0,__demoMode:D=!1,unmount:j=!1,...H}=e,W=(0,r.useRef)(!1);
5L="dialog"===L||"alertdialog"===L?L:(W.current||(W.current=!0,console.warn(`Invalid role [${L}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let V=(0,E.useOpenClosed)();void 0===P&&null!==V&&(P=(V&E.State.Open)===E.State.Open);let U=(0,r.useRef)(null),$=(0,h.useSyncRefs)(U,t),B=(0,d.useOwnerDocument)(U.current),G=+!P,[_,q]=(0,r.useReducer)(A,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),K=(0,i.useEvent)(()=>O(!1)),Y=(0,i.useEvent)(e=>q({type:0,id:e})),z=!!(0,m.useServerHandoffComplete)()&&0===G,[X,Z]=(0,x.useNestedPortals)(),J=(0,f.useMainTreeNode)(),{resolveContainers:Q}=(0,f.useRootContainers)({mainTreeNode:J,portals:X,defaultContainers:[{get current(){var ee;return null!=(ee=_.panelRef.current)?ee:U.current}}]}),et=null!==V&&(V&E.State.Closing)===E.State.Closing;(0,s.useInertOthers)(!D&&!et&&z,{allowed:(0,i.useEvent)(()=>{var e,t;return[null!=(t=null==(e=U.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,i.useEvent)(()=>{var e;return[null!=(e=null==J?void 0:J.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let en=y.stackMachines.get(null);(0,u.useIsoMorphicEffect)(()=>{if(z)return en.actions.push(S),()=>en.actions.pop(S)},[en,S,z]);let er=(0,w.useSlice)(en,(0,r.useCallback)(e=>en.selectors.isTop(e,S),[en,S]));(0,c.useOutsideClick)(er,Q,e=>{e.preventDefault(),K()}),(0,o.useEscape)(er,null==B?void 0:B.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),K()}),(0,p.useScrollLock)(!D&&!et&&z,B,Q),(0,a.useOnDisappear)(z,U,K);let[eo,ei]=(0,F.useDescriptions)(),es=(0,r.useMemo)(()=>[{dialogState:G,close:K,setTitleId:Y,unmount:j},_],[G,K,Y,j,_]),el=(0,v.useSlot)({open:0===G}),eu={ref:$,id:S,role:L,tabIndex:-1,"aria-modal":D?void 0:0===G||void 0,"aria-labelledby":_.titleId,"aria-describedby":eo,unmount:j},ea=!(0,l.useIsTouchDevice)(),ec=R.FocusTrapFeatures.None;z&&!D&&(ec|=R.FocusTrapFeatures.RestoreFocus,ec|=R.FocusTrapFeatures.TabLock,k&&(ec|=R.FocusTrapFeatures.AutoFocus),ea&&(ec|=R.FocusTrapFeatures.InitialFocus));let ed=(0,T.useRender)();return r.default.createElement(E.ResetOpenClosedProvider,null,r.default.createElement(b.ForcePortalRoot,{force:!0},r.default.createElement(x.Portal,null,r.default.createElement(M.Provider,{value:es},r.default.createElement(x.PortalGroup,{target:U},r.default.createElement(b.ForcePortalRoot,{force:!1},r.default.createElement(ei,{slot:el},r.default.createElement(Z,null,r.default.createElement(R.FocusTrap,{initialFocus:C,initialFocusFallback:U,containers:Q,features:ec},r.default.createElement(g.CloseProvider,{value:K},ed({ourProps:eu,theirProps:H,slot:el,defaultTag:N,features:I,visible:0===G,name:"Dialog"})))))))))))}),N="div",I=T.RenderFeatures.RenderStrategy|T.RenderFeatures.Static,j=(0,T.forwardRefWithAs)(function(e,t){let{transition:n=!1,open:o,...i}=e,s=(0,E.useOpenClosed)(),l=e.hasOwnProperty("open")||null!==s,u=e.hasOwnProperty("onClose");if(!l&&!u)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!l)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!u)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(void 0!==o||n)&&!i.static?r.default.createElement(f.MainTreeProvider,null,r.default.createElement(P.Transition,{show:o,transition:n,unmount:i.unmount},r.default.createElement(D,{ref:t,...i}))):r.default.createElement(f.MainTreeProvider,null,r.default.createElement(D,{ref:t,open:o,...i}))}),H=(0,T.forwardRefWithAs)(function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-panel-${n}`,transition:s=!1,...l}=e,[{dialogState:u,unmount:a},c]=k("Dialog.Panel"),d=(0,h.useSyncRefs)(t,c.panelRef),f=(0,v.useSlot)({open:0===u}),p=(0,i.useEvent)(e=>{e.stopPropagation()}),m=s?P.TransitionChild:r.Fragment,g=(0,T.useRender)();return r.default.createElement(m,{...s?{unmount:a}:{}},g({ourProps:{ref:d,id:o,onClick:p},theirProps:l,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),W=(0,T.forwardRefWithAs)(function(e,t){let{transition:n=!1,...o}=e,[{dialogState:i,unmount:s}]=k("Dialog.Backdrop"),l=(0,v.useSlot)({open:0===i}),u=n?P.TransitionChild:r.Fragment,a=(0,T.useRender)();return r.default.createElement(u,{...n?{unmount:s}:{}},a({ourProps:{ref:t,"aria-hidden":!0},theirProps:o,slot:l,defaultTag:"div",name:"Dialog.Backdrop"}))}),V=(0,T.forwardRefWithAs)(function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:s,setTitleId:l}]=k("Dialog.Title"),u=(0,h.useSyncRefs)(t);(0,r.useEffect)(()=>(l(o),()=>l(null)),[o,l]);let a=(0,v.useSlot)({open:0===s});return(0,T.useRender)()({ourProps:{ref:u,id:o},theirProps:i,slot:a,defaultTag:"h2",name:"Dialog.Title"})}),U=(F.Description,Object.assign(j,{Panel:H,Title:V,Description:F.Description}));e.s(["Dialog",0,U,"DialogBackdrop",0,W,"DialogPanel",0,H,"DialogTitle",0,V])},276369,e=>{"use strict";var t=e.i(843476),n=e.i(988842),r=e.i(854878),o=e.i(618566);let i={warning:{bg:"bg-yellow-100",title:"text-yellow-800",text:"text-yellow-700",icon:"text-yellow-400"},error:{bg:"bg-red-100",title:"text-red-800",text:"text-red-700",icon:"text-red-400"},success:{bg:"bg-green-100",title:"text-green-800",text:"text-green-700",icon:"text-green-400"},info:{bg:"bg-blue-100",title:"text-blue-800",text:"text-blue-700",icon:"text-blue-400"},info1:{bg:"bg-purple-100",title:"text-purple-800",text:"text-purple-700",icon:"text-purple-400"}},s=({open:e=!1,wide:o=!1,fullScreen:s=!1,setOpen:l,variant:u="info",icon:a,title:c,description:d,children:f,className:p="",position:m="center"})=>{let v=!0===o?"md:max-w-4xl":null;!0===s&&(v="md:max-w-[95%]");let h=(0,n.classNames)("relative transform overflow-hidden rounded-lg bg-tcc-base text-tcc-basetext p-6 w-full text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",v,p);return(0,t.jsxs)(r.Dialog,{open:e,onClose:l,className:"relative z-100",children:[(0,t.jsx)(r.DialogBackdrop,{transition:!0,className:"fixed inset-0 bg-tcc-dark/50 transition duration-300 ease-out data-closed:opacity-0"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:`flex min-h-full items-${m} justify-center p-4 text-center sm:items-${m} sm:p-0`,children:(0,t.jsxs)(r.DialogPanel,{transition:!0,className:(0,n.classNames)(h,"transition duration-300 ease-out data-closed:opacity-0 data-closed:translate-y-4 sm:data-closed:translate-y-0 sm:data-closed:scale-95"),children:[(0,t.jsxs)("div",{children:[a&&(0,t.jsx)("div",{className:(0,n.classNames)("mx-auto flex h-12 w-12 items-center justify-center rounded-full",i[u].bg),children:a}),(!!d||!!c)&&(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[!!c&&(0,t.jsx)(r.DialogTitle,{as:"h3",className:" font-semibold leading-6 text-tcc-basetext",children:c}),d&&(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-tcc-basetext/50",children:d})})]})]}),(0,t.jsx)("div",{"data-modal-children":!0,onSubmit:e=>e.stopPropagation(),children:f})]})})})]})};e.s(["AdminModal",0,s,"AdminModalParallel",0,({children:e,baseHref:n,...r})=>{let i=(0,o.useRouter)();return(0,o.usePathname)()===n?null:(0,t.jsx)(s,{open:!0,setOpen:()=>i.back(),...r,children:e})}])}]);
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.