"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[476],{2084:function(e,t,n){n.d(t,{z:function(){return s}});var r=n(6117),o=n(3892),i=n(2265),u=n(4079),l=n(3040),a=n(2642);let s=(0,a.yV)(function(e,t){var n;let s=(0,l.B)(),{disabled:c=s||!1,autoFocus:d=!1,...f}=e,{isFocusVisible:v,focusProps:p}=(0,r.F)({autoFocus:d}),{isHovered:m,hoverProps:h}=(0,o.X)({isDisabled:c}),{pressed:g,pressProps:E}=(0,u.x)({disabled:c}),w=(0,a.dG)({ref:t,type:null!=(n=f.type)?n:"button",disabled:c||void 0,autoFocus:d},p,h,E),y=(0,i.useMemo)(()=>({disabled:c,hover:m,focus:v,active:g,autofocus:d}),[c,m,v,g,d]);return(0,a.sY)({ourProps:w,theirProps:f,slot:y,defaultTag:"button",name:"Button"})})},3184:function(e,t,n){n.d(t,{dk:function(){return d},fw:function(){return c}});var r=n(2265),o=n(6584),i=n(1463),u=n(1469),l=n(3040),a=n(2642);let s=(0,r.createContext)(null);function c(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,o.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),i=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value}),[n,e.slot,e.name,e.props,e.value]);return r.createElement(s.Provider,{value:i},e.children)},[t])]}s.displayName="DescriptionContext";let d=Object.assign((0,a.yV)(function(e,t){let n=(0,r.useId)(),o=(0,l.B)(),{id:c="headlessui-description-".concat(n),...d}=e,f=function e(){let t=(0,r.useContext)(s);if(null===t){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 t}(),v=(0,u.T)(t);(0,i.e)(()=>f.register(c),[c,f.register]);let p=o||!1,m=(0,r.useMemo)(()=>({...f.slot,disabled:p}),[f.slot,p]),h={ref:v,...f.props,id:c};return(0,a.sY)({ourProps:h,theirProps:d,slot:m,defaultTag:"p",name:f.name||"Description"})}),{})},7239:function(e,t,n){let r,o,i,u,l,a;n.d(t,{Vq:function(){return el},EM:function(){return ei},$N:function(){return eu}});var s=n(2265),c=n(6584),d=n(8703);function f(e,t,n,r){let o=(0,d.E)(n);(0,s.useEffect)(()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}var v=n(4524),p=n(1463),m=n(8371),h=n(9110),g=n(6832),E=n(2642),w=((r=w||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let y=(0,E.yV)(function(e,t){var n;let{features:r=1,...o}=e,i={ref:t,"aria-hidden":(2&r)==2||(null!=(n=o["aria-hidden"])?n:void 0),hidden:(4&r)==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&r)==4&&(2&r)!=2&&{display:"none"}}};return(0,E.sY)({ourProps:i,theirProps:o,slot:{},defaultTag:"div",name:"Hidden"})});var b=n(8459),T=n(3856),L=n(1469);let F=(0,s.createContext)(()=>{});function P(e){let{value:t,children:n}=e;return s.createElement(F.Provider,{value:t},n)}var C=n(4887);let A=(0,s.createContext)(null);function k(e){let{children:t}=e,n=(0,s.useContext)(A);if(!n)return s.createElement(s.Fragment,null,t);let{target:r}=n;return r?(0,C.createPortal)(s.createElement(s.Fragment,null,t),r):null}var O=n(3509),S=n(7593);let M=(0,s.createContext)(()=>{});M.displayName="StackContext";var x=((o=x||{})[o.Add=0]="Add",o[o.Remove=1]="Remove",o);function N(e){let{children:t,onUpdate:n,type:r,element:o,enabled:i}=e,u=(0,s.useContext)(M),l=(0,c.z)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n(...t),u(...t)});return(0,p.e)(()=>{let e=void 0===i||!0===i;return e&&l(0,r,o),()=>{e&&l(1,r,o)}},[l,r,o,i]),s.createElement(M.Provider,{value:l},t)}var R=n(5583),D=n(3184),H=n(9299);function I(){let e=(0,s.useRef)(!1);return(0,p.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var j=n(5537),V=n(5149),W=((i=W||{})[i.Forwards=0]="Forwards",i[i.Backwards=1]="Backwards",i);function Y(e,t){let n=(0,s.useRef)([]),r=(0,c.z)(e);(0,s.useEffect)(()=>{let e=[...n.current];for(let[o,i]of t.entries())if(n.current[o]!==i){let o=r(t,e);return n.current=t,o}},[r,...t])}let B=[];!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&&B[0]!==e.target&&(B.unshift(e.target),(B=B.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})});var z=n(9309),_=n(8043);function U(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 q=((u=q||{})[u.None=1]="None",u[u.InitialFocus=2]="InitialFocus",u[u.TabLock=4]="TabLock",u[u.FocusLock=8]="FocusLock",u[u.RestoreFocus=16]="RestoreFocus",u[u.AutoFocus=32]="AutoFocus",u[u.All=30]="All",u);let G=Object.assign((0,E.yV)(function(e,t){let n,r=(0,s.useRef)(null),o=(0,L.T)(r,t),{initialFocus:i,initialFocusFallback:u,containers:l,features:a=30,...d}=e;(0,T.H)()||(a=1);let v=(0,g.i)(r);!function(e,t){let{ownerDocument:n}=e,r=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,s.useRef)(B.slice());return Y((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,_.Y)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=B.slice())},[e,B,t]),(0,c.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(t);Y(()=>{t||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,z.C5)(r())},[t]),(0,j.L)(()=>{t&&(0,z.C5)(r())})}({ownerDocument:v},!!(16&a));let p=function(e,t){let{ownerDocument:n,container:r,initialFocus:o,initialFocusFallback:i}=e,u=!!(2&t),l=(0,s.useRef)(null),a=I();return Y(()=>{if(!u){null!=i&&i.current&&(0,z.C5)(i.current);return}let e=r.current;e&&(0,_.Y)(()=>{if(!a.current)return;let r=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){l.current=r;return}}else if(e.contains(r)){l.current=r;return}if(null!=o&&o.current)(0,z.C5)(o.current);else{if(32&t){if((0,z.jA)(e,z.TO.First|z.TO.AutoFocus)!==z.fE.Error)return}else if((0,z.jA)(e,z.TO.First)!==z.fE.Error)return;if(null!=i&&i.current&&((0,z.C5)(i.current),(null==n?void 0:n.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}l.current=null==n?void 0:n.activeElement})},[i,u,t]),l}({ownerDocument:v,container:r,initialFocus:i,initialFocusFallback:u},a);!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:i}=e,u=I();f(null==n?void 0:n.defaultView,"focus",e=>{if(!t||!u.current)return;let n=U(o);r.current instanceof HTMLElement&&n.add(r.current);let l=i.current;if(!l)return;let a=e.target;a&&a instanceof HTMLElement?K(n,a)?(i.current=a,(0,z.C5)(a)):(e.preventDefault(),e.stopPropagation(),(0,z.C5)(l)):(0,z.C5)(i.current)},!0)}({ownerDocument:v,container:r,containers:l,previousActiveElement:p},!!(8&a));let m=(n=(0,s.useRef)(0),(0,V.s)("keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),h=(0,c.z)(e=>{let t=r.current;t&&(0,R.E)(m.current,{[W.Forwards]:()=>{(0,z.jA)(t,z.TO.First,{skipElements:[e.relatedTarget,u]})},[W.Backwards]:()=>{(0,z.jA)(t,z.TO.Last,{skipElements:[e.relatedTarget,u]})}})}),b=(0,H.G)(),F=(0,s.useRef)(!1);return s.createElement(s.Fragment,null,!!(4&a)&&s.createElement(y,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:w.Focusable}),(0,E.sY)({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(F.current=!0,b.requestAnimationFrame(()=>{F.current=!1}))},onBlur(e){if(!(8&a))return;let t=U(l);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(K(t,n)||(F.current?(0,z.jA)(r.current,(0,R.E)(m.current,{[W.Forwards]:()=>z.TO.Next,[W.Backwards]:()=>z.TO.Previous})|z.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,z.C5)(e.target)))}},theirProps:d,defaultTag:"div",name:"FocusTrap"}),!!(4&a)&&s.createElement(y,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:w.Focusable}))}),{features:q});function K(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var X=n(7551),Z=n(2934),J=((l=J||{})[l.Open=0]="Open",l[l.Closed=1]="Closed",l),$=((a=$||{})[a.SetTitleId=0]="SetTitleId",a);let Q={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ee=(0,s.createContext)(null);function et(e){let t=(0,s.useContext)(ee);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,et),t}return t}function en(e,t){return(0,R.E)(t.type,Q,e,t)}ee.displayName="DialogContext";let er=E.VN.RenderStrategy|E.VN.Static,eo=(0,E.yV)(function(e,t){let n=(0,s.useId)(),{id:r="headlessui-dialog-".concat(n),open:o,onClose:i,initialFocus:u,role:l="dialog",autoFocus:a=!0,__demoMode:d=!1,...F}=e,[C,A]=(0,s.useState)(0),M=(0,s.useRef)(!1);l="dialog"===l||"alertdialog"===l?l:(M.current||(M.current=!0,console.warn("Invalid role [".concat(l,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let H=(0,O.oJ)();void 0===o&&null!==H&&(o=(H&O.ZM.Open)===O.ZM.Open);let I=(0,s.useRef)(null),j=(0,L.T)(I,t),V=(0,g.i)(I),W=e.hasOwnProperty("open")||null!==H,Y=e.hasOwnProperty("onClose");if(!W&&!Y)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!W)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!Y)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof o)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(o));if("function"!=typeof i)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(i));let B=o?0:1,[z,_]=(0,s.useReducer)(en,{titleId:null,descriptionId:null,panelRef:(0,s.createRef)()}),U=(0,c.z)(()=>i(!1)),K=(0,c.z)(e=>_({type:0,id:e})),J=!!(0,T.H)()&&0===B,$=C>1,Q=null!==(0,s.useContext)(ee),[et,eo]=(0,Z.kF)(),{resolveContainers:ei,mainTreeNodeRef:eu,MainTreeNode:el}=function(){var e;let{defaultContainers:t=[],portals:n,mainTreeNodeRef:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,s.useRef)(null!=(e=null==r?void 0:r.current)?e:null),i=(0,g.i)(o),u=(0,c.z)(()=>{var e,r,u;let l=[];for(let e of t)null!==e&&(e instanceof HTMLElement?l.push(e):"current"in e&&e.current instanceof HTMLElement&&l.push(e.current));if(null!=n&&n.current)for(let e of n.current)l.push(e);for(let t of null!=(e=null==i?void 0:i.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(o.current)||t.contains(null==(u=null==(r=o.current)?void 0:r.getRootNode())?void 0:u.host)||l.some(e=>t.contains(e))||l.push(t));return l});return{resolveContainers:u,contains:(0,c.z)(e=>u().some(t=>t.contains(e))),mainTreeNodeRef:o,MainTreeNode:(0,s.useMemo)(()=>function(){return null!=r?null:s.createElement(y,{features:w.Hidden,ref:o})},[o,r])}}({portals:et,defaultContainers:[{get current(){var ea;return null!=(ea=z.panelRef.current)?ea:I.current}}]}),es=null!==H&&(H&O.ZM.Closing)===O.ZM.Closing;(0,v.s)({allowed:(0,c.z)(()=>{var e,t;return[null!=(t=null==(e=I.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,c.z)(()=>{var e,t;return[null!=(t=null==(e=eu.current)?void 0:e.closest("body > *:not(#headlessui-portal-root)"))?t:null]})},!d&&!$&&!es&&J),(0,h.O)(ei,e=>{e.preventDefault(),U()},!(!J||$));let ec=!($||0!==B);f(null==V?void 0:V.defaultView,"keydown",e=>{ec&&(e.defaultPrevented||e.key===X.R.Escape&&(e.preventDefault(),e.stopPropagation(),U()))});let ed=!(es||0!==B||Q);(0,b.P)(V,!d&&ed,ei),(0,m.m)(I,U,0===B);let[ef,ev]=(0,D.fw)(),ep=(0,s.useMemo)(()=>[{dialogState:B,close:U,setTitleId:K},z],[B,z,U,K]),em=(0,s.useMemo)(()=>({open:0===B}),[B]),eh={ref:j,id:r,role:l,tabIndex:-1,"aria-modal":0===B||void 0,"aria-labelledby":z.titleId,"aria-describedby":ef},eg=!function(){var e;let[t]=(0,s.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,s.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,p.e)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),eE=J?(0,R.E)($?"parent":"leaf",{parent:q.RestoreFocus,leaf:q.All&~q.FocusLock}):q.None;return a&&(eE|=q.AutoFocus),eg||(eE&=~q.InitialFocus),d&&(eE=q.None),s.createElement(N,{type:"Dialog",enabled:0===B,element:I,onUpdate:(0,c.z)((e,t)=>{"Dialog"===t&&(0,R.E)(e,{[x.Add]:()=>A(e=>e+1),[x.Remove]:()=>A(e=>e-1)})})},s.createElement(S.O,{force:!0},s.createElement(Z.h_,null,s.createElement(ee.Provider,{value:ep},s.createElement(Z.h_.Group,{target:I},s.createElement(S.O,{force:!1},s.createElement(ev,{slot:em,name:"Dialog.Description"},s.createElement(eo,null,s.createElement(G,{initialFocus:u,initialFocusFallback:I,containers:ei,features:eE},s.createElement(P,{value:U},(0,E.sY)({ourProps:eh,theirProps:F,slot:em,defaultTag:"div",features:er,visible:0===B,name:"Dialog"})))))))))),s.createElement(k,null,s.createElement(el,null)))}),ei=(0,E.yV)(function(e,t){let n=(0,s.useId)(),{id:r="headlessui-dialog-panel-".concat(n),...o}=e,[{dialogState:i},u]=et("Dialog.Panel"),l=(0,L.T)(t,u.panelRef),a=(0,s.useMemo)(()=>({open:0===i}),[i]),d=(0,c.z)(e=>{e.stopPropagation()});return(0,E.sY)({ourProps:{ref:l,id:r,onClick:d},theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Panel"})}),eu=(0,E.yV)(function(e,t){let n=(0,s.useId)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:i,setTitleId:u}]=et("Dialog.Title"),l=(0,L.T)(t);(0,s.useEffect)(()=>(u(r),()=>u(null)),[r,u]);let a=(0,s.useMemo)(()=>({open:0===i}),[i]);return(0,E.sY)({ourProps:{ref:l,id:r},theirProps:o,slot:a,defaultTag:"h2",name:"Dialog.Title"})}),el=Object.assign(eo,{Panel:ei,Title:eu,Description:D.dk})},7551:function(e,t,n){let r;n.d(t,{R:function(){return o}});var 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)},2934:function(e,t,n){n.d(t,{h_:function(){return y},kF:function(){return w}});var r=n(2265),o=n(4887),i=n(6584),u=n(1463),l=n(5537),a=n(6832),s=n(3856),c=n(1469),d=n(7593),f=n(4462),v=n(2642);let p=r.Fragment,m=(0,v.yV)(function(e,t){let n=(0,r.useRef)(null),i=(0,c.T)((0,c.h)(e=>{n.current=e}),t),m=(0,a.i)(n),h=function(e){let t=(0,d.n)(),n=(0,r.useContext)(g),o=(0,a.i)(e),[i,u]=(0,r.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(f.O.isServer)return null;let r=null==o?void 0:o.getElementById("headlessui-portal-root");if(r)return r;if(null===o)return null;let i=o.createElement("div");return i.setAttribute("id","headlessui-portal-root"),o.body.appendChild(i)});return(0,r.useEffect)(()=>{null!==i&&(null!=o&&o.body.contains(i)||null==o||o.body.appendChild(i))},[i,o]),(0,r.useEffect)(()=>{t||null!==n&&u(n.current)},[n,u,t]),i}(n),[w]=(0,r.useState)(()=>{var e;return f.O.isServer?null:null!=(e=null==m?void 0:m.createElement("div"))?e:null}),y=(0,r.useContext)(E),b=(0,s.H)();return(0,u.e)(()=>{!h||!w||h.contains(w)||(w.setAttribute("data-headlessui-portal",""),h.appendChild(w))},[h,w]),(0,u.e)(()=>{if(w&&y)return y.register(w)},[y,w]),(0,l.L)(()=>{var e;h&&w&&(w instanceof Node&&h.contains(w)&&h.removeChild(w),h.childNodes.length<=0&&(null==(e=h.parentElement)||e.removeChild(h)))}),b&&h&&w?(0,o.createPortal)((0,v.sY)({ourProps:{ref:i},theirProps:e,slot:{},defaultTag:p,name:"Portal"}),w):null}),h=r.Fragment,g=(0,r.createContext)(null),E=(0,r.createContext)(null);function w(){let e=(0,r.useContext)(E),t=(0,r.useRef)([]),n=(0,i.z)(n=>(t.current.push(n),e&&e.register(n),()=>o(n))),o=(0,i.z)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),u=(0,r.useMemo)(()=>({register:n,unregister:o,portals:t}),[n,o,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(E.Provider,{value:u},t)},[u])]}let y=Object.assign((0,v.yV)(function(e,t){let n=(0,c.T)(t),{enabled:o=!0,...i}=e;return o?r.createElement(m,{...i,ref:n}):(0,v.sY)({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:p,name:"Portal"})}),{Group:(0,v.yV)(function(e,t){let{target:n,...o}=e,i={ref:(0,c.T)(t)};return r.createElement(g.Provider,{value:n},(0,v.sY)({ourProps:i,theirProps:o,defaultTag:h,name:"Popover.Group"}))})})},4079:function(e,t,n){n.d(t,{x:function(){return l}});var r=n(2265),o=n(1498),i=n(9299),u=n(6584);function l(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[n,l]=(0,r.useState)(!1),a=(0,i.G)(),s=(0,u.z)(()=>{t.current=null,l(!1),a.dispose()}),c=(0,u.z)(e=>{if(a.dispose(),null===t.current){t.current=e.currentTarget,l(!0);{let n=(0,o.r)(e.currentTarget);a.addEventListener(n,"pointerup",s,!1),a.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let o,i;l((o=e.width/2,i=e.height/2,n={top:e.clientY-i,right:e.clientX+o,bottom:e.clientY+i,left:e.clientX-o},r=t.current.getBoundingClientRect(),!(!n||!r||n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)))}},!1),a.addEventListener(n,"pointercancel",s,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:s,onClick:s}}}},9299:function(e,t,n){n.d(t,{G:function(){return i}});var r=n(2265),o=n(777);function i(){let[e]=(0,r.useState)(o.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},6584:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(2265),o=n(8703);let i=function(e){let t=(0,o.E)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},4524:function(e,t,n){n.d(t,{s:function(){return s}});var r=n(777),o=n(1498),i=n(1463);let u=new Map,l=new Map;function a(e){var t;let n=null!=(t=l.get(e))?t:0;return l.set(e,n+1),0!==n||(u.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=l.get(e))?t:1;if(1===n?l.delete(e):l.set(e,n-1),1!==n)return;let r=u.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,u.delete(e))})(e)}function s(){let{allowed:e,disallowed:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,i.e)(()=>{var i,u;if(!n)return;let l=(0,r.k)();for(let e of null!=(i=null==t?void 0:t())?i:[])e&&l.add(a(e));let s=null!=(u=null==e?void 0:e())?u:[];for(let e of s){if(!e)continue;let t=(0,o.r)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)s.some(t=>e.contains(t))||l.add(a(e));n=n.parentElement}}return l.dispose},[n,e,t])}},1463:function(e,t,n){n.d(t,{e:function(){return i}});var r=n(2265),o=n(4462);let i=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},8703:function(e,t,n){n.d(t,{E:function(){return i}});var r=n(2265),o=n(1463);function i(e){let t=(0,r.useRef)(e);return(0,o.e)(()=>{t.current=e},[e]),t}},8371:function(e,t,n){n.d(t,{m:function(){return u}});var r=n(2265),o=n(777),i=n(8703);function u(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],u=(0,i.E)(e=>{let n=e.getBoundingClientRect();0===n.x&&0===n.y&&0===n.width&&0===n.height&&t()});(0,r.useEffect)(()=>{if(!n)return;let t=null===e?null:e instanceof HTMLElement?e:e.current;if(!t)return;let r=(0,o.k)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>u.current(t));e.observe(t),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>u.current(t));e.observe(t),r.add(()=>e.disconnect())}return()=>r.dispose()},[e,u,n])}},5537:function(e,t,n){n.d(t,{L:function(){return u}});var r=n(2265),o=n(8043),i=n(6584);function u(e){let t=(0,i.z)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,o.Y)(()=>{n.current&&t()})}),[t])}},9110:function(e,t,n){n.d(t,{O:function(){return s}});var r=n(2265),o=n(9309),i=n(1555),u=n(8703);function l(e,t,n){let o=(0,u.E)(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(5149);function s(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],u=(0,r.useRef)(!1);function s(n,r){if(!u.current||n.defaultPrevented)return;let i=r(n);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(i)||n.composed&&n.composedPath().includes(e))return}return(0,o.sP)(i,o.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{u.current=n})},[n]);let c=(0,r.useRef)(null);l("pointerdown",e=>{var t,n;u.current&&(c.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),l("mousedown",e=>{var t,n;u.current&&(c.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),l("click",e=>{(0,i.tq)()||c.current&&(s(e,()=>c.current),c.current=null)},!0),l("touchend",e=>s(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,a.s)("blur",e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},6832:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(2265),o=n(1498);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,o.r)(...t),[...t])}},8459:function(e,t,n){let r,o;n.d(t,{P:function(){return f}});var i,u,l=n(2265),a=n(1463),s=n(777),c=n(1555);let d=(i=()=>new Map,u={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,s.k)(),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(e){let t,{doc:n,d:r,meta:o}=e,i={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(o)},u=[(0,c.gn)()?{before(e){let{doc:t,d:n,meta:r}=e;function o(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,s.k)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,i=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),u=t.querySelector(r);u&&!o(u)&&(i=u)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(o(e.target)){let t=e.target;for(;t.parentElement&&o(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName){if(o(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}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{},{before(e){var n;let{doc:r}=e,o=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-o.clientWidth)},after(e){let{doc:n,d:r}=e,o=n.documentElement,i=Math.max(0,o.clientWidth-o.offsetWidth),u=Math.max(0,t-i);r.style(o,"paddingRight","".concat(u,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];u.forEach(e=>{let{before:t}=e;return null==t?void 0:t(i)}),u.forEach(e=>{let{after:t}=e;return null==t?void 0:t(i)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},r=i(),o=new Set,{getSnapshot:()=>r,subscribe:e=>(o.add(e),()=>o.delete(e)),dispatch(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let l=u[e].call(r,...n);l&&(r=l,o.forEach(e=>e()))}});function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),r=(0,l.useSyncExternalStore)(d.subscribe,d.getSnapshot,d.getSnapshot),o=e?r.get(e):void 0;o&&o.count,(0,a.e)(()=>{if(!(!e||!t))return d.dispatch("PUSH",e,n),()=>d.dispatch("POP",e,n)},[t,e])}(e,t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}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)}})},3856:function(e,t,n){n.d(t,{H:function(){return u}});var r,o=n(2265),i=n(4462);function u(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(o,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[u,l]=o.useState(i.O.isHandoffComplete);return u&&!1===i.O.isHandoffComplete&&l(!1),o.useEffect(()=>{!0!==u&&l(!0)},[u]),o.useEffect(()=>i.O.handoff(),[]),!t&&u}},1469:function(e,t,n){n.d(t,{T:function(){return l},h:function(){return u}});var r=n(2265),o=n(6584);let i=Symbol();function u(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[i]:t})}function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let u=(0,r.useRef)(t);(0,r.useEffect)(()=>{u.current=t},[t]);let l=(0,o.z)(e=>{for(let t of u.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[i]))?void 0:l}},5149:function(e,t,n){n.d(t,{s:function(){return i}});var r=n(2265),o=n(8703);function i(e,t,n){let i=(0,o.E)(t);(0,r.useEffect)(()=>{function t(e){i.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}},3040:function(e,t,n){n.d(t,{B:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){return(0,r.useContext)(o)}},3509:function(e,t,n){let r;n.d(t,{ZM:function(){return u},oJ:function(){return l},up:function(){return a}});var o=n(2265);let i=(0,o.createContext)(null);i.displayName="OpenClosedContext";var u=((r=u||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function l(){return(0,o.useContext)(i)}function a(e){let{value:t,children:n}=e;return o.createElement(i.Provider,{value:t},n)}},7593:function(e,t,n){n.d(t,{O:function(){return u},n:function(){return i}});var r=n(2265);let o=(0,r.createContext)(!1);function i(){return(0,r.useContext)(o)}function u(e){return r.createElement(o.Provider,{value:e.force},e.children)}},777:function(e,t,n){n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add(()=>e.removeEventListener(t,r,o))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=setTimeout(...t);return n.add(()=>clearTimeout(o))},microTask(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let i={current:!0};return(0,r.Y)(()=>{i.current&&t[0]()}),n.add(()=>{i.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=>(t.includes(e)||t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(8043)},4462:function(e,t,n){n.d(t,{O:function(){return l}});var r=Object.defineProperty,o=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n);class u{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}constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}}let l=new u},9309:function(e,t,n){let r,o,i,u,l;n.d(t,{C5:function(){return b},EO:function(){return L},TO:function(){return v},fE:function(){return p},jA:function(){return F},sP:function(){return E},tJ:function(){return g},wI:function(){return w},z2:function(){return T}});var a=n(777),s=n(5583),c=n(1498);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(","),f=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var v=((r=v||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r[r.AutoFocus=64]="AutoFocus",r),p=((o=p||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),m=((i=m||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var g=((u=g||{})[u.Strict=0]="Strict",u[u.Loose=1]="Loose",u);function E(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,c.r)(e))?void 0:t.body)&&(0,s.E)(n,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function w(e){let t=(0,c.r)(e);(0,a.k)().nextFrame(()=>{t&&!E(t.activeElement,0)&&b(e)})}var y=((l=y||{})[l.Keyboard=0]="Keyboard",l[l.Mouse=1]="Mouse",l);function b(e){null==e||e.focus({preventScroll:!0})}function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]: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 L(e,t){return F(h(),t,{relativeTo:e})}function F(e,t){var n,r,o;let{sorted:i=!0,relativeTo:u=null,skipElements:l=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?i?T(e):e:64&t?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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)))}(e):h(e);l.length>0&&s.length>1&&(s=s.filter(e=>!l.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),u=null!=u?u:a.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")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(u))-1;if(4&t)return Math.max(0,s.indexOf(u))+1;if(8&t)return s.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=32&t?{preventScroll:!0}:{},p=0,m=s.length,g;do{if(p>=m||p+m<=0)return 0;let e=d+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(g=s[e])||g.focus(v),p+=c}while(g!==a.activeElement);return 6&t&&null!=(o=null==(r=null==(n=g)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&g.select(),2}"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))},5583:function(e,t,n){n.d(t,{E:function(){return r}});function r(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(e in t){let n=t[e];return"function"==typeof n?n(...o):n}let u=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(u,r),u}},8043:function(e,t,n){n.d(t,{Y:function(){return r}});function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}},1498:function(e,t,n){n.d(t,{r:function(){return o}});var r=n(4462);function o(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},1555: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,{gn:function(){return r},tq:function(){return o}})},2642:function(e,t,n){let r,o;n.d(t,{VN:function(){return a},yV:function(){return m},dG:function(){return p},sY:function(){return c}});var i=n(2265);function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}var l=n(5583),a=((r=a||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),s=((o=s||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function c(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:i,visible:u=!0,name:a,mergeRefs:s}=e;s=null!=s?s:f;let c=v(n,t);if(u)return d(c,r,o,a,s);let p=null!=i?i:0;if(2&p){let{static:e=!1,...t}=c;if(e)return d(t,r,o,a,s)}if(1&p){let{unmount:e=!0,...t}=c;return(0,l.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},r,o,a,s)})}return d(c,r,o,a,s)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,{as:l=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)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);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.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(p["data-headlessui-state"]=n.join(" "),n))p["data-".concat(e)]=""}if(l===i.Fragment&&(Object.keys(h(c)).length>0||Object.keys(h(p)).length>0)){if(!(0,i.isValidElement)(f)||Array.isArray(f)&&f.length>1){if(Object.keys(h(c)).length>0)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(h(c)).concat(Object.keys(h(p))).map(e=>"  - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"))}else{let e=f.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return u(t(...n),c.className)}:u(t,c.className),r=v(f.props,h(g(c,["ref"])));for(let e in p)e in r&&delete p[e];return(0,i.cloneElement)(f,Object.assign({},r,p,d,{ref:o(f.ref,d.ref)},n?{className:n}:{}))}}return(0,i.createElement)(l,Object.assign({},g(c,["ref"]),l!==i.Fragment&&d,l!==i.Fragment&&p),f)}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function v(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(o[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function p(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];for(let e in o)Object.assign(r,{[e](){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(let t of o[e])null==t||t(...n)}});return r}function m(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},6117:function(e,t,n){n.d(t,{F:function(){return P}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;var i=n(2265);let u=null,l=new Set,a=new Map,s=!1,c=!1,d={Tab:!0,Escape:!0};function f(e,t){for(let n of l)n(e,t)}function v(e){var t,n;s=!0,e.metaKey||(t=/^Mac/i,!("undefined"!=typeof window&&null!=window.navigator&&t.test((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.platform)||window.navigator.platform))&&e.altKey)||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(u="keyboard",f("keyboard",e))}function p(e){u="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(s=!0,f("pointer",e))}function m(e){var t,n;(0===e.mozInputSource&&e.isTrusted?0:(t=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.brands.some(e=>t.test(e.brand)))||t.test(window.navigator.userAgent))&&e.pointerType)?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(s=!0,u="virtual")}function h(e){e.target!==window&&e.target!==document&&(s||c||(u="virtual",f("virtual",e)),s=!1,c=!1)}function g(){s=!1,c=!0}function E(e){if("undefined"==typeof window||a.get(o(e)))return;let t=o(e),n=r(e),i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){s=!0,i.apply(this,arguments)},n.addEventListener("keydown",v,!0),n.addEventListener("keyup",v,!0),n.addEventListener("click",m,!0),t.addEventListener("focus",h,!0),t.addEventListener("blur",g,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",p,!0),n.addEventListener("pointermove",p,!0),n.addEventListener("pointerup",p,!0)):(n.addEventListener("mousedown",p,!0),n.addEventListener("mousemove",p,!0),n.addEventListener("mouseup",p,!0)),t.addEventListener("beforeunload",()=>{w(e)},{once:!0}),a.set(t,{focus:i})}let w=(e,t)=>{let n=o(e),i=r(e);t&&i.removeEventListener("DOMContentLoaded",t),a.has(n)&&(n.HTMLElement.prototype.focus=a.get(n).focus,i.removeEventListener("keydown",v,!0),i.removeEventListener("keyup",v,!0),i.removeEventListener("click",m,!0),n.removeEventListener("focus",h,!0),n.removeEventListener("blur",g,!1),"undefined"!=typeof PointerEvent?(i.removeEventListener("pointerdown",p,!0),i.removeEventListener("pointermove",p,!0),i.removeEventListener("pointerup",p,!0)):(i.removeEventListener("mousedown",p,!0),i.removeEventListener("mousemove",p,!0),i.removeEventListener("mouseup",p,!0)),a.delete(n))};function y(){return"pointer"!==u}"undefined"!=typeof document&&function(e){let t;let n=r(void 0);"loading"!==n.readyState?E(void 0):(t=()=>{E(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>w(e,t)}();let b=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),T="undefined"!=typeof document?i.useLayoutEffect:()=>{};class L{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function F(e){let t=(0,i.useRef)({isFocused:!1,observer:null});T(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,i.useRef)(null);return T(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,i.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new L("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function P(e={}){var t,n,u;let{autoFocus:a=!1,isTextInput:s,within:c}=e,f=(0,i.useRef)({isFocused:!1,isFocusVisible:a||y()}),[v,p]=(0,i.useState)(!1),[m,h]=(0,i.useState)(()=>f.current.isFocused&&f.current.isFocusVisible),g=(0,i.useCallback)(()=>h(f.current.isFocused&&f.current.isFocusVisible),[]),w=(0,i.useCallback)(e=>{f.current.isFocused=e,p(e),g()},[g]);t=e=>{f.current.isFocusVisible=e,g()},n=[],u={isTextInput:s},E(),(0,i.useEffect)(()=>{let e=(e,n)=>{(function(e,t,n){var r;let i="undefined"!=typeof window?o(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,u="undefined"!=typeof window?o(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,l="undefined"!=typeof window?o(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?o(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!b.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof u||(null==n?void 0:n.target)instanceof l&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof a&&!d[n.key])})(!!(null==u?void 0:u.isTextInput),e,n)&&t(y())};return l.add(e),()=>{l.delete(e)}},n);let{focusProps:T}=function(e){let{isDisabled:t,onFocus:n,onBlur:o,onFocusChange:u}=e,l=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return o&&o(e),u&&u(!1),!0},[o,u]),a=F(l),s=(0,i.useCallback)(e=>{let t=r(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),u&&u(!0),a(e))},[u,n,a]);return{focusProps:{onFocus:!t&&(n||u||o)?s:void 0,onBlur:!t&&(o||u)?l:void 0}}}({isDisabled:c,onFocusChange:w}),{focusWithinProps:L}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,u=(0,i.useRef)({isFocusWithin:!1}),l=(0,i.useCallback)(e=>{u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,u]),a=F(l),s=(0,i.useCallback)(e=>{u.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),u.current.isFocusWithin=!0,a(e))},[r,o,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:l}}}({isDisabled:!c,onFocusWithinChange:w});return{isFocused:v,isFocusVisible:m,focusProps:c?L:T}}},3892:function(e,t,n){n.d(t,{X:function(){return s}});var r=n(2265);let o=!1,i=0;function u(){o=!0,setTimeout(()=>{o=!1},50)}function l(e){"touch"===e.pointerType&&u()}function a(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",l):document.addEventListener("touchend",u),i++,()=>{--i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",l):document.removeEventListener("touchend",u))}}function s(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:u}=e,[l,s]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(a,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,u||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let o=e.currentTarget;c.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),s(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),s(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},l.onPointerLeave=e=>{!u&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(l.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||o||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=e=>{!u&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:l,triggerHoverEnd:r}},[t,n,i,u,c]);return(0,r.useEffect)(()=>{u&&f({currentTarget:c.target},c.pointerType)},[u]),{hoverProps:d,isHovered:l}}},5487:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(2265),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/**
 * @license @tabler/icons-react v3.5.0 - MIT
 *
 * This source code is licensed under the MIT license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(e,t,n,i)=>{let u=(0,r.forwardRef)((n,u)=>{let{color:l="currentColor",size:a=24,stroke:s=2,className:c,children:d,...f}=n;return(0,r.createElement)("svg",{ref:u,...o[e],width:a,height:a,className:["tabler-icon","tabler-icon-".concat(t),c].join(" "),..."filled"===e?{fill:l}:{strokeWidth:s,stroke:l},...f},[...i.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])});return u.displayName="".concat(n),u}}}]);