PageSourceSearch

https://www.magif.ai/_next/static/chunks/72593-0fb020cecff9e667.js

js magif.ai collected 2026-10-05 13:06:51 UTC 47,016 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72593],{76291:(e,t,n)=>{n.d(t,{MM:()=>c,VY:()=>f,rU:()=>d});var r=n(12115),o=n(44608),l=n(68840),i=n(3256),a=n(12651),u=n(63593);let s=(0,r.createContext)(null);function c(){var e,t;return null!=(t=null==(e=(0,r.useContext)(s))?void 0:e.value)?t:void 0}function d(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,o._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),l=(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:l},e.children)},[t])]}s.displayName="DescriptionContext";let f=Object.assign((0,u.FX)(function(e,t){let n=(0,r.useId)(),o=(0,a._)(),{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,i.P)(t);(0,l.s)(()=>f.register(c),[c,f.register]);let m=o||!1,p=(0,r.useMemo)(()=>({...f.slot,disabled:m}),[f.slot,m]),h={ref:v,...f.props,id:c};return(0,u.Ci)()({ourProps:h,theirProps:d,slot:p,defaultTag:"p",name:f.name||"Description"})}),{})},72593:(e,t,n)=>{n.d(t,{lG:()=>J});var r=n(12115),o=n(9257),l=n(61743);function i(e,t,n,o){let i=(0,l.Y)(n);(0,r.useEffect)(()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)},[e,t,o])}var a=n(19836),u=n(44608),s=n(85200),c=n(68840),d=n(48553),f=n(55966),v=n(167),m=n(70887),p=n(42572);let h=(0,r.createContext)(null);function g(e){let{children:t,node:n}=e,[o,l]=(0,r.useState)(null),i=E(null!=n?n:o);return r.createElement(h.Provider,{value:i},t,null===i&&r.createElement(m.j,{features:m.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,p.T)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){l(r);break}}}}))}function E(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,r.useContext)(h))?e:t}var b=n(97666),w=n(45384),y=n(3256),F=n(7337),C=n(64254),P=n(6774),T=n(93270),S=n(63593),A=n(76291),O=n(36271),L=n(15245),x=n(72904),M=n(84689),k=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(k||{});function N(e,t){let n=(0,r.useRef)([]),o=(0,u._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,l]of t.entries())if(n.current[r]!==l){let r=o(t,e);return n.current=t,r}},[o,...t])}var R=n(60109);let D=[];!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){if(!(e.target instanceof HTMLElement)||e.target===document.body||D[0]===e.target)return;let t=e.target;t=t.closest(R.Uo),D.unshift(null!=t?t:e.target),(D=D.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 _=n(12159);function I(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 j=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(j||{});let U=Object.assign((0,S.FX)(function(e,t){let n,o=(0,r.useRef)(null),l=(0,y.P)(o,t),{initialFocus:s,initialFocusFallback:c,containers:d,features:f=15,...p}=e;(0,w.g)()||(f=0);let h=(0,v.g)(o);!function(e,t){let{ownerDocument:n}=t,o=!!(8&e),l=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(D.slice());return N((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,_._)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=D.slice())},[e,D,t]),(0,u._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(o);N(()=>{o||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,R.pW)(l())},[o]),(0,x.X)(()=>{o&&(0,R.pW)(l())})}(f,{ownerDocument:h});let g=function(e,t){let{ownerDocument:n,container:o,initialFocus:l,initialFocusFallback:i}
1=t,u=(0,r.useRef)(null),s=(0,a.S)(!!(1&e),"focus-trap#initial-focus"),c=(0,L.a)();return N(()=>{if(0===e)return;if(!s){null!=i&&i.current&&(0,R.pW)(i.current);return}let t=o.current;t&&(0,_._)(()=>{if(!c.current)return;let r=null==n?void 0:n.activeElement;if(null!=l&&l.current){if((null==l?void 0:l.current)===r){u.current=r;return}}else if(t.contains(r)){u.current=r;return}if(null!=l&&l.current)(0,R.pW)(l.current);else{if(16&e){if((0,R.CU)(t,R.BD.First|R.BD.AutoFocus)!==R.Me.Error)return}else if((0,R.CU)(t,R.BD.First)!==R.Me.Error)return;if(null!=i&&i.current&&((0,R.pW)(i.current),(null==n?void 0:n.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=null==n?void 0:n.activeElement})},[i,s,e]),u}(f,{ownerDocument:h,container:o,initialFocus:s,initialFocusFallback:c});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=t,a=(0,L.a)(),u=!!(4&e);i(null==n?void 0:n.defaultView,"focus",e=>{if(!u||!a.current)return;let t=I(o);r.current instanceof HTMLElement&&t.add(r.current);let n=l.current;if(!n)return;let i=e.target;i&&i instanceof HTMLElement?H(t,i)?(l.current=i,(0,R.pW)(i)):(e.preventDefault(),e.stopPropagation(),(0,R.pW)(n)):(0,R.pW)(l.current)},!0)}(f,{ownerDocument:h,container:o,containers:d,previousActiveElement:g});let E=(n=(0,r.useRef)(0),(0,M.M)(!0,"keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),b=(0,u._)(e=>{let t=o.current;t&&(0,T.Y)(E.current,{[k.Forwards]:()=>{(0,R.CU)(t,R.BD.First,{skipElements:[e.relatedTarget,c]})},[k.Backwards]:()=>{(0,R.CU)(t,R.BD.Last,{skipElements:[e.relatedTarget,c]})}})}),F=(0,a.S)(!!(2&f),"focus-trap#tab-lock"),C=(0,O.L)(),P=(0,r.useRef)(!1),A=(0,S.Ci)();return r.createElement(r.Fragment,null,F&&r.createElement(m.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:m.u.Focusable}),A({ourProps:{ref:l,onKeyDown(e){"Tab"==e.key&&(P.current=!0,C.requestAnimationFrame(()=>{P.current=!1}))},onBlur(e){if(!(4&f))return;let t=I(d);o.current instanceof HTMLElement&&t.add(o.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(H(t,n)||(P.current?(0,R.CU)(o.current,(0,T.Y)(E.current,{[k.Forwards]:()=>R.BD.Next,[k.Backwards]:()=>R.BD.Previous})|R.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,R.pW)(e.target)))}},theirProps:p,defaultTag:"div",name:"FocusTrap"}),F&&r.createElement(m.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:m.u.Focusable}))}),{features:j});function H(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var Y=n(83773),B=n(57247),W=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(W||{}),X=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(X||{});let K={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},V=(0,r.createContext)(null);function q(e){let t=(0,r.useContext)(V);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,q),t}return t}function G(e,t){return(0,T.Y)(t.type,K,e,t)}V.displayName="DialogContext";let Z=(0,S.FX)(function(e,t){let n=(0,r.useId)(),{id:l="headlessui-dialog-".concat(n),open:m,onClose:p,initialFocus:h,role:g="dialog",autoFocus:T=!0,__demoMode:O=!1,unmount:L=!1,...x}=e,M=(0,r.useRef)(!1);g="dialog"===g||"alertdialog"===g?g:(M.current||(M.current=!0,console.warn("Invalid role [".concat(g,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let k=(0,C.O_)();void 0===m&&null!==k&&(m=(k&C.Uw.Open)===C.Uw.Open);let N=(0,r.useRef)(null),R=(0,y.P)(N,t),D=(0,v.g)(N),_=m?0:1,[I,H]=(0,r.useReducer)(G,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),B=(0,u._)(()=>p(!1)),W=(0,u._)(e=>H({type:0,id:e})),X=!!(0,w.g)()&&0===_,[K,q]=(0,Y.k2)(),Z=E(),{resolveContainers:J}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,v.g)(n),o=(0,u._)(()=>{var o,l;let i=[];for(let t of e)null!==t&&(t instanceof HTMLElement?i.push(t):"current"in t&&t.current instanceof HTMLElement&&i.push(t.current));if(null!=t&&t.current)for(let e of t.current)i.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(l=null==n?void 0:n.getRootNode())?void 0:l.host))||i.some(t=>e.contains(t))||i.push(e));return i});
1return{resolveContainers:o,contains:(0,u._)(e=>o().some(t=>t.contains(e)))}}({mainTreeNode:Z,portals:K,defaultContainers:[{get current(){var Q;return null!=(Q=I.panelRef.current)?Q:N.current}}]}),ee=null!==k&&(k&C.Uw.Closing)===C.Uw.Closing;(0,s.v)(!O&&!ee&&X,{allowed:(0,u._)(()=>{var e,t;return[null!=(t=null==(e=N.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,u._)(()=>{var e;return[null!=(e=null==Z?void 0:Z.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),(0,f.j)(X,J,e=>{e.preventDefault(),B()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,a.S)(e,"escape");i(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))})}(X,null==D?void 0:D.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),B()}),(0,b.K)(!O&&!ee&&X,D,J),(0,d.O)(X,N,B);let[et,en]=(0,A.rU)(),er=(0,r.useMemo)(()=>[{dialogState:_,close:B,setTitleId:W,unmount:L},I],[_,I,B,W,L]),eo=(0,r.useMemo)(()=>({open:0===_}),[_]),el={ref:R,id:l,role:g,tabIndex:-1,"aria-modal":O?void 0:0===_||void 0,"aria-labelledby":I.titleId,"aria-describedby":et,unmount:L},ei=!function(){var e;let[t]=(0,r.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,o]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,c.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){o(e.matches)}},[t]),n}(),ea=j.None;X&&!O&&(ea|=j.RestoreFocus,ea|=j.TabLock,T&&(ea|=j.AutoFocus),ei&&(ea|=j.InitialFocus));let eu=(0,S.Ci)();return r.createElement(C.$x,null,r.createElement(P.a,{force:!0},r.createElement(Y.ZL,null,r.createElement(V.Provider,{value:er},r.createElement(Y.Ee,{target:N},r.createElement(P.a,{force:!1},r.createElement(en,{slot:eo},r.createElement(q,null,r.createElement(U,{initialFocus:h,initialFocusFallback:N,containers:J,features:ea},r.createElement(F.e,{value:B},eu({ourProps:el,theirProps:x,slot:eo,defaultTag:$,features:z,visible:0===_,name:"Dialog"})))))))))))}),$="div",z=S.Ac.RenderStrategy|S.Ac.Static,J=Object.assign((0,S.FX)(function(e,t){let{transition:n=!1,open:o,...l}=e,i=(0,C.O_)(),a=e.hasOwnProperty("open")||null!==i,u=e.hasOwnProperty("onClose");if(!a&&!u)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)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(!i&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(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: ".concat(e.onClose));return(void 0!==o||n)&&!l.static?r.createElement(g,null,r.createElement(B.e,{show:o,transition:n,unmount:l.unmount},r.createElement(Z,{ref:t,...l}))):r.createElement(g,null,r.createElement(Z,{ref:t,open:o,...l}))}),{Panel:(0,S.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-panel-".concat(n),transition:l=!1,...i}=e,[{dialogState:a,unmount:s},c]=q("Dialog.Panel"),d=(0,y.P)(t,c.panelRef),f=(0,r.useMemo)(()=>({open:0===a}),[a]),v=(0,u._)(e=>{e.stopPropagation()}),m=l?B._:r.Fragment,p=(0,S.Ci)();return r.createElement(m,{...l?{unmount:s}:{}},p({ourProps:{ref:d,id:o,onClick:v},theirProps:i,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),Title:((0,S.FX)(function(e,t){let{transition:n=!1,...o}=e,[{dialogState:l,unmount:i}]=q("Dialog.Backdrop"),a=(0,r.useMemo)(()=>({open:0===l}),[l]),u=n?B._:r.Fragment,s=(0,S.Ci)();return r.createElement(u,{...n?{unmount:i}:{}},s({ourProps:{ref:t,"aria-hidden":!0},theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,S.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-title-".concat(n),...l}=e,[{dialogState:i,setTitleId:a}]=q("Dialog.Title"),u=(0,y.P)(t);(0,r.useEffect)(()=>(a(o),()=>a(null)),[o,a]);let s=(0,r.useMemo)(()=>({open:0===i}),[i]);return(0,S.Ci)()({ourProps:{ref:u,id:o},theirProps:l,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),Description:A.VY})},9257:(e,t,n)=>{n.d(t,{D:()=>r});var r=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(r||{})},83773:(e,t,n)=>{n.d(t,{Ee:()=>y,ZL:()=>F,k2:()=>b});var r=n(12115),o=n(47650),l=n(44608),i=n(68840),a=n(72904),u=n(167),s=n(45384),c=n(3256),d=n(6774),f=n(50468),v=n(63593);let m=r.Fragment,p=(0,v.FX)(function(e,t){let n=(0,r.useRef)(null),l=(0,c.P)((0,c.a)(e=>{n.current=e}),t),p=(0,u.g)(n),h=function(e){let t=(0,d.S)(),n=(0,r.useContext)(g),o=(0,u.g)(e),[l,i]=(0,r.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(f._.isServer)return null;let r=null==o?void 0:o.getElementById("headlessui-portal-root");
1if(r)return r;if(null===o)return null;let l=o.createElement("div");return l.setAttribute("id","headlessui-portal-root"),o.body.appendChild(l)});return(0,r.useEffect)(()=>{null!==l&&(null!=o&&o.body.contains(l)||null==o||o.body.appendChild(l))},[l,o]),(0,r.useEffect)(()=>{t||null!==n&&i(n.current)},[n,i,t]),l}(n),[b]=(0,r.useState)(()=>{var e;return f._.isServer?null:null!=(e=null==p?void 0:p.createElement("div"))?e:null}),w=(0,r.useContext)(E),y=(0,s.g)();(0,i.s)(()=>{!h||!b||h.contains(b)||(b.setAttribute("data-headlessui-portal",""),h.appendChild(b))},[h,b]),(0,i.s)(()=>{if(b&&w)return w.register(b)},[w,b]),(0,a.X)(()=>{var e;h&&b&&(b instanceof Node&&h.contains(b)&&h.removeChild(b),h.childNodes.length<=0&&(null==(e=h.parentElement)||e.removeChild(h)))});let F=(0,v.Ci)();return y&&h&&b?(0,o.createPortal)(F({ourProps:{ref:l},theirProps:e,slot:{},defaultTag:m,name:"Portal"}),b):null}),h=r.Fragment,g=(0,r.createContext)(null),E=(0,r.createContext)(null);function b(){let e=(0,r.useContext)(E),t=(0,r.useRef)([]),n=(0,l._)(n=>(t.current.push(n),e&&e.register(n),()=>o(n))),o=(0,l._)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),i=(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:i},t)},[i])]}let w=(0,v.FX)(function(e,t){let n=(0,c.P)(t),{enabled:o=!0,...l}=e,i=(0,v.Ci)();return o?r.createElement(p,{...l,ref:n}):i({ourProps:{ref:n},theirProps:l,slot:{},defaultTag:m,name:"Portal"})}),y=(0,v.FX)(function(e,t){let{target:n,...o}=e,l={ref:(0,c.P)(t)},i=(0,v.Ci)();return r.createElement(g.Provider,{value:n},i({ourProps:l,theirProps:o,defaultTag:h,name:"Popover.Group"}))}),F=Object.assign(w,{Group:y})},57247:(e,t,n)=>{n.d(t,{_:()=>S,e:()=>A});var r=n(12115),o=n(36271),l=n(44608),i=n(15245),a=n(68840),u=n(61743),s=n(45384),c=n(3256),d=n(80760),f=n(64254),v=n(35802),m=n(93270),p=n(63593);function h(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:F)!==r.Fragment||1===r.Children.count(e.children)}let g=(0,r.createContext)(null);g.displayName="TransitionContext";var E=(e=>(e.Visible="visible",e.Hidden="hidden",e))(E||{});let b=(0,r.createContext)(null);function w(e){return"children"in e?w(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function y(e,t){let n=(0,u.Y)(e),a=(0,r.useRef)([]),s=(0,i.a)(),c=(0,o.L)(),d=(0,l._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.mK.Hidden,r=a.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==r&&((0,m.Y)(t,{[p.mK.Unmount](){a.current.splice(r,1)},[p.mK.Hidden](){a.current[r].state="hidden"}}),c.microTask(()=>{var e;!w(a)&&s.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,l._)(e=>{let t=a.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>d(e,p.mK.Unmount)}),v=(0,r.useRef)([]),h=(0,r.useRef)(Promise.resolve()),g=(0,r.useRef)({enter:[],leave:[]}),E=(0,l._)((e,n,r)=>{v.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==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=>{let[t,n]=e;return n})).then(()=>e())}
1)]),"enter"===n?h.current=h.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),b=(0,l._)((e,t,n)=>{Promise.all(g.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=v.current.shift())||e()}).then(()=>n(t))});return(0,r.useMemo)(()=>({children:a,register:f,unregister:d,onStart:E,onStop:b,wait:h,chains:g}),[f,d,a,E,b,g,h])}b.displayName="NestingContext";let F=r.Fragment,C=p.Ac.RenderStrategy,P=(0,p.FX)(function(e,t){let{show:n,appear:o=!1,unmount:i=!0,...u}=e,d=(0,r.useRef)(null),v=h(e),m=(0,c.P)(...v?[d,t]:null===t?[]:[t]);(0,s.g)();let E=(0,f.O_)();if(void 0===n&&null!==E&&(n=(E&f.Uw.Open)===f.Uw.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[F,P]=(0,r.useState)(n?"visible":"hidden"),S=y(()=>{n||P("hidden")}),[A,O]=(0,r.useState)(!0),L=(0,r.useRef)([n]);(0,a.s)(()=>{!1!==A&&L.current[L.current.length-1]!==n&&(L.current.push(n),O(!1))},[L,n]);let x=(0,r.useMemo)(()=>({show:n,appear:o,initial:A}),[n,o,A]);(0,a.s)(()=>{n?P("visible"):w(S)||null===d.current||P("hidden")},[n,S]);let M={unmount:i},k=(0,l._)(()=>{var t;A&&O(!1),null==(t=e.beforeEnter)||t.call(e)}),N=(0,l._)(()=>{var t;A&&O(!1),null==(t=e.beforeLeave)||t.call(e)}),R=(0,p.Ci)();return r.createElement(b.Provider,{value:S},r.createElement(g.Provider,{value:x},R({ourProps:{...M,as:r.Fragment,children:r.createElement(T,{ref:m,...M,...u,beforeEnter:k,beforeLeave:N})},theirProps:{},defaultTag:r.Fragment,features:C,visible:"visible"===F,name:"Transition"})))}),T=(0,p.FX)(function(e,t){var n,o;let{transition:i=!0,beforeEnter:u,afterEnter:E,beforeLeave:P,afterLeave:T,enter:S,enterFrom:A,enterTo:O,entered:L,leave:x,leaveFrom:M,leaveTo:k,...N}=e,[R,D]=(0,r.useState)(null),_=(0,r.useRef)(null),I=h(e),j=(0,c.P)(...I?[_,t,D]:null===t?[]:[t]),U=null==(n=N.unmount)||n?p.mK.Unmount:p.mK.Hidden,{show:H,appear:Y,initial:B}=function(){let e=(0,r.useContext)(g);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[W,X]=(0,r.useState)(H?"visible":"hidden"),K=function(){let e=(0,r.useContext)(b);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:V,unregister:q}=K;(0,a.s)(()=>V(_),[V,_]),(0,a.s)(()=>{if(U===p.mK.Hidden&&_.current){if(H&&"visible"!==W){X("visible");return}return(0,m.Y)(W,{hidden:()=>q(_),visible:()=>V(_)})}},[W,_,V,q,H,U]);let G=(0,s.g)();(0,a.s)(()=>{if(I&&G&&"visible"===W&&null===_.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,W,G,I]);let Z=B&&!Y,$=Y&&H&&B,z=(0,r.useRef)(!1),J=y(()=>{z.current||(X("hidden"),q(_))},K),Q=(0,l._)(e=>{z.current=!0,J.onStart(_,e?"enter":"leave",e=>{"enter"===e?null==u||u():"leave"===e&&(null==P||P())})}),ee=(0,l._)(e=>{let t=e?"enter":"leave";z.current=!1,J.onStop(_,t,e=>{"enter"===e?null==E||E():"leave"===e&&(null==T||T())}),"leave"!==t||w(J)||(X("hidden"),q(_))});(0,r.useEffect)(()=>{I&&i||(Q(H),ee(H))},[H,I,i]);let et=!(!i||!I||!G||Z),[,en]=(0,d.p)(et,R,H,{start:Q,end:ee}),er=(0,p.oE)({ref:j,className:(null==(o=(0,v.x)(N.className,$&&S,$&&A,en.enter&&S,en.enter&&en.closed&&A,en.enter&&!en.closed&&O,en.leave&&x,en.leave&&!en.closed&&M,en.leave&&en.closed&&k,!en.transition&&H&&L))?void 0:o.trim())||void 0,...(0,d.B)(en)}),eo=0;"visible"===W&&(eo|=f.Uw.Open),"hidden"===W&&(eo|=f.Uw.Closed),en.enter&&(eo|=f.Uw.Opening),en.leave&&(eo|=f.Uw.Closing);let el=(0,p.Ci)();return r.createElement(b.Provider,{value:J},r.createElement(f.El,{value:eo},el({ourProps:er,theirProps:N,defaultTag:F,features:C,visible:"visible"===W,name:"Transition.Child"})))}),S=(0,p.FX)(function(e,t){let n=null!==(0,r.useContext)(g),o=null!==(0,f.O_)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(P,{ref:t,...e}):r.createElement(T,{ref:t,...e}))}),A=Object.assign(P,{Child:S,Root:P})},36271:(e,t,n)=>{n.d(t,{L:()=>l});var r=n(12115),o=n(50772);function l(){let[e]=(0,r.useState)(o.e);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},44608:(e,t,n)=>{n.d(t,{_:()=>l});var r=n(12115),o=n(61743);let l=function(e){let t=(0,o.Y)(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])}},85200:(e,t,n)=>{n.d(t,{v:()=>c});var r=n(50772),o=n(42572),l=n(19836),i=n(68840);let a=new Map,u=new Map;function s(e){var t;let n=null!=(t=u.get(e))?t:0;return u.set(e,n+1),0!==n||(a.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=u.get(e))?t:1;if(1===n?u.delete(e):u.set(e,n-1),1!==n)return;let r=a.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,a.delete(e))})(e)}function c(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(0,l.S)(e,"inert-others");(0,i.s)(()=>{var e,l;if(!a)return;let i=(0,r.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&i.add(s(t));let u=null!=(l=null==t?void 0:t())?l:[];for(let e of u){if(!e)continue;let t=(0,o.T)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)u.some(t=>e.contains(t))||i.add(s(e));n=n.parentElement}}return i.dispose},[a,t,n])}},15245:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(12115),o=n(68840);function l(){let e=(0,r.useRef)(!1);return(0,o.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},19836:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(12115);class o extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var l=n(30054),i=n(68840),a=n(96881);let u=new o(()=>(0,l.y)(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}}));function s(e,t){let n=u.get(t),o=(0,r.useId)(),l=(0,a.P)(n);if((0,i.s)(()=>
1{if(e)return n.dispatch("ADD",o),()=>n.dispatch("REMOVE",o)},[n,e]),!e)return!1;let s=l.indexOf(o),c=l.length;return -1===s&&(s=c,c+=1),s===c-1}},68840:(e,t,n)=>{n.d(t,{s:()=>l});var r=n(12115),o=n(50468);let l=(e,t)=>{o._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},61743:(e,t,n)=>{n.d(t,{Y:()=>l});var r=n(12115),o=n(68840);function l(e){let t=(0,r.useRef)(e);return(0,o.s)(()=>{t.current=e},[e]),t}},48553:(e,t,n)=>{n.d(t,{O:()=>i});var r=n(12115),o=n(50772),l=n(61743);function i(e,t,n){let i=(0,l.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,r.useEffect)(()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let r=(0,o.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>i.current(n));e.observe(n),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>i.current(n));e.observe(n),r.add(()=>e.disconnect())}return()=>r.dispose()},[t,i,e])}},72904:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(12115),o=n(12159),l=n(44608);function i(e){let t=(0,l._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,o._)(()=>{n.current&&t()})}),[t])}},55966:(e,t,n)=>{n.d(t,{j:()=>c});var r=n(12115),o=n(60109),l=n(38958),i=n(61743);function a(e,t,n,o){let l=(0,i.Y)(n);(0,r.useEffect)(()=>{if(e)return document.addEventListener(t,n,o),()=>document.removeEventListener(t,n,o);function n(e){l.current(e)}},[e,t,o])}var u=n(19836),s=n(84689);function c(e,t,n){let c=(0,u.S)(e,"outside-click"),d=(0,i.Y)(n),f=(0,r.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.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(r)||e.composed&&e.composedPath().includes(n)))return;return(0,o.Bm)(r,o.MZ.Loose)||-1===r.tabIndex||e.preventDefault(),d.current(e,r)}},[d,t]),v=(0,r.useRef)(null);a(c,"pointerdown",e=>{var t,n;v.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),a(c,"mousedown",e=>{var t,n;v.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),a(c,"click",e=>{(0,l.Fr)()||v.current&&(f(e,()=>v.current),v.current=null)},!0);let m=(0,r.useRef)({x:0,y:0});a(c,"touchstart",e=>{m.current.x=e.touches[0].clientX,m.current.y=e.touches[0].clientY},!0),a(c,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-m.current.x)>=30||Math.abs(t.y-m.current.y)>=30))return f(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),(0,s.M)(c,"blur",e=>f(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},167:(e,t,n)=>{n.d(t,{g:()=>l});var r=n(12115),o=n(42572);function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,o.T)(...t),[...t])}},97666:(e,t,n)=>{n.d(t,{K:()=>c});var r=n(96881),o=n(68840),l=n(50772),i=n(30054),a=n(38958);let u=(0,i.y)(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,l.e)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(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,a.un)()?{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,l.e)();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),l=t.querySelector(r);l&&!o(l)&&(i=l)}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,l=Math.max(0,o.clientWidth-o.offsetWidth),i=Math.max(0,t-l);r.style(o,"paddingRight","".concat(i,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];
1u.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)}});u.subscribe(()=>{let e=u.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)&&u.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&u.dispatch("TEARDOWN",n)}});var s=n(19836);function c(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:[]}),l=(0,r.P)(u),i=t?l.get(t):void 0;i&&i.count,(0,o.s)(()=>{if(!(!t||!e))return u.dispatch("PUSH",t,n),()=>u.dispatch("POP",t,n)},[e,t])}((0,s.S)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}},45384:(e,t,n)=>{n.d(t,{g:()=>i});var r,o=n(12115),l=n(50468);function i(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(o,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[i,a]=o.useState(l._.isHandoffComplete);return i&&!1===l._.isHandoffComplete&&a(!1),o.useEffect(()=>{!0!==i&&a(!0)},[i]),o.useEffect(()=>l._.handoff(),[]),!t&&i}},96881:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(12115);function o(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}},3256:(e,t,n)=>{n.d(t,{P:()=>a,a:()=>i});var r=n(12115),o=n(44608);let l=Symbol();function i(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[l]:t})}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=(0,r.useRef)(t);(0,r.useEffect)(()=>{i.current=t},[t]);let a=(0,o._)(e=>{for(let t of i.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[l]))?void 0:a}},80760:(e,t,n)=>{n.d(t,{B:()=>d,p:()=>f});var r,o,l=n(12115),i=n(50772),a=n(36271),u=n(68840),s=n(2818);void 0!==s&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(r=null==s?void 0:s.env)?void 0:r.NODE_ENV)==="test"&&void 0===(null==(o=null==Element?void 0:Element.prototype)?void 0:o.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var c=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(c||{});function d(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}function f(e,t,n,r){let[o,s]=(0,l.useState)(n),{hasFlag:c,addFlag:d,removeFlag:f}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,l.useState)(e),r=(0,l.useCallback)(e=>n(e),[t]),o=(0,l.useCallback)(e=>n(t=>t|e),[t]),i=(0,l.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:(0,l.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,l.useCallback)(e=>n(t=>t^e),[n])}}(e&&o?3:0),v=(0,l.useRef)(!1),m=(0,l.useRef)(!1),p=(0,a.L)();return(0,u.s)(()=>{var o;if(e){if(n&&s(!0),!t){n&&d(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,t){let{prepare:n,run:r,done:o,inFlight:l}=t,a=(0,i.e)();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current){r();return}let o=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=o}(e,{prepare:n,inFlight:l}),a.nextFrame(()=>{r(),a.requestAnimationFrame(()=>{a.add(function(e,t){var n,r;let o=(0,i.e)();if(!e)return o.dispose;let l=!1;o.add(()=>{l=!0});let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{l||t()}),o.dispose}(e,o))})}),a.dispose}(t,{inFlight:v,prepare(){m.current?m.current=!1:m.current=v.current,v.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;m.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(v.current=!1,f(7),n||s(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,p]),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}]}}
1,84689:(e,t,n)=>{n.d(t,{M:()=>l});var r=n(12115),o=n(61743);function l(e,t,n,l){let i=(0,o.Y)(n);(0,r.useEffect)(()=>{if(e)return window.addEventListener(t,n,l),()=>window.removeEventListener(t,n,l);function n(e){i.current(e)}},[e,t,l])}},7337:(e,t,n)=>{n.d(t,{e:()=>l});var r=n(12115);let o=(0,r.createContext)(()=>{});function l(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}},12651:(e,t,n)=>{n.d(t,{_:()=>l});var r=n(12115);let o=(0,r.createContext)(void 0);function l(){return(0,r.useContext)(o)}},70887:(e,t,n)=>{n.d(t,{j:()=>l,u:()=>o});var r=n(63593),o=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(o||{});let l=(0,r.FX)(function(e,t){var n;let{features:o=1,...l}=e,i={ref:t,"aria-hidden":(2&o)==2||(null!=(n=l["aria-hidden"])?n: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,r.Ci)()({ourProps:i,theirProps:l,slot:{},defaultTag:"span",name:"Hidden"})})}
1,64254:(e,t,n)=>{n.d(t,{$x:()=>u,El:()=>a,O_:()=>i,Uw:()=>l});var r=n(12115);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var l=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(l||{});function i(){return(0,r.useContext)(o)}function a(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}function u(e){let{children:t}=e;return r.createElement(o.Provider,{value:null},t)}},6774:(e,t,n)=>{n.d(t,{S:()=>l,a:()=>i});var r=n(12115);let o=(0,r.createContext)(!1);function l(){return(0,r.useContext)(o)}function i(e){return r.createElement(o.Provider,{value:e.force},e.children)}},35802:(e,t,n)=>{n.d(t,{x:()=>r});function r(){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(" ")}},50772:(e,t,n)=>{n.d(t,{e:()=>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 l={current:!0};return(0,r._)(()=>{l.current&&t[0]()}),n.add(()=>{l.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(12159)},50468:(e,t,n)=>{n.d(t,{_:()=>a});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,l=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n);
1class i{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(){l(this,"current",this.detect()),l(this,"handoffState","pending"),l(this,"currentId",0)}}let a=new i},60109:(e,t,n)=>{n.d(t,{BD:()=>u,Bm:()=>v,CU:()=>b,Fh:()=>m,MZ:()=>f,Me:()=>s,Uo:()=>i,p9:()=>E,pW:()=>h,wl:()=>g});var r=n(50772),o=n(93270),l=n(42572);let i=["[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(","),a=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var u=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(u||{}),s=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(s||{}),c=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(c||{});function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(i)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var f=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(f||{});function v(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,l.T)(e))?void 0:t.body)&&(0,o.Y)(n,{0:()=>e.matches(i),1(){let t=e;for(;null!==t;){if(t.matches(i))return!0;t=t.parentElement}return!1}})}function m(e){let t=(0,l.T)(e);(0,r.e)().nextFrame(()=>{t&&!v(t.activeElement,0)&&h(e)})}var p=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(p||{});function h(e){null==e||e.focus({preventScroll:!0})}function g(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 l=r.compareDocumentPosition(o);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E(e,t){return b(d(),t,{relativeTo:e})}function b(e,t){var n,r,o;let{sorted:l=!0,relativeTo:i=null,skipElements:u=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,c=Array.isArray(e)?l?g(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(a)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):d(e);u.length>0&&c.length>1&&(c=c.filter(e=>!u.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),i=null!=i?i:s.activeElement;let f=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,c.indexOf(i))-1;if(4&t)return Math.max(0,c.indexOf(i))+1;if(8&t)return c.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=32&t?{preventScroll:!0}:{},p=0,h=c.length,E;do{if(p>=h||p+h<=0)return 0;let e=v+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}null==(E=c[e])||E.focus(m),p+=f}while(E!==s.activeElement);return 6&t&&null!=(o=null==(r=null==(n=E)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&E.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))},93270:(e,t,n)=>{n.d(t,{Y:()=>r});function r(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),l=2;l<n;l++)o[l-2]=arguments[l];if(e in t){let n=t[e];return"function"==typeof n?n(...o):n}let i=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(i,r),i}},12159:(e,t,n)=>{n.d(t,{_:()=>r});function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}}
1,42572:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(50468);function o(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},38958:(e,t,n)=>{function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>o,un:()=>r})},63593:(e,t,n)=>{n.d(t,{Ac:()=>i,Ci:()=>u,FX:()=>v,mK:()=>a,oE:()=>m,v6:()=>f});var r=n(12115),o=n(35802),l=n(93270),i=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(i||{}),a=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(a||{});function u(){let e,t;let 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)},[]),function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.every(e=>null==e))return e.current=r,t});return(0,r.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:i,visible:a=!0,name:u,mergeRefs:f}=e;f=null!=f?f:c;let v=d(n,t);if(a)return s(v,r,o,u,f);let m=null!=i?i:0;if(2&m){let{static:e=!1,...t}=v;if(e)return s(t,r,o,u,f)}if(1&m){let{unmount:e=!0,...t}=v;return(0,l.Y)(e?0:1,{0:()=>null,1:()=>s({...t,hidden:!0,style:{display:"none"}},r,o,u,f)})}return s(v,r,o,u,f)})({mergeRefs:n,...e}),[n])}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:a=n,children:u,refName:s="ref",...c}=p(e,["unmount","static"]),f=void 0!==e.ref?{[s]:e.ref}:{},v="function"==typeof u?u(t):u;"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 h={};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(h["data-headlessui-state"]=n.join(" "),n))h["data-".concat(e)]=""}if(a===r.Fragment&&(Object.keys(m(c)).length>0||Object.keys(m(h)).length>0)){if(!(0,r.isValidElement)(v)||Array.isArray(v)&&v.length>1){if(Object.keys(m(c)).length>0)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(l,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(m(c)).concat(Object.keys(m(h))).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=v.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(0,o.x)(t(...n),c.className)}:(0,o.x)(t,c.className),l=d(v.props,m(p(c,["ref"])));for(let e in h)e in l&&delete h[e];return(0,r.cloneElement)(v,Object.assign({},l,h,f,{ref:i(r.version.split(".")[0]>="19"?v.props.ref:v.ref,f.ref)},n?{className:n}:{}))}}return(0,r.createElement)(a,Object.assign({},p(c,["ref"]),a!==r.Fragment&&f,a!==r.Fragment&&h),v)}function c(){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 d(){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),l=1;l<n;l++)r[l-1]=arguments[l];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 f(){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 v(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function p(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}}
1,30054:(e,t,n)=>{n.d(t,{y:()=>r});function r(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var o=arguments.length,l=Array(o>1?o-1:0),i=1;i<o;i++)l[i-1]=arguments[i];let a=t[e].call(n,...l);a&&(n=a,r.forEach(e=>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.