PageSourceSearch

https://bud-stock.vercel.app/_next/static/chunks/5885.c0974c5a8b870c75.js

js bud-stock.vercel.app collected 2026-10-03 06:19:46 UTC 44,434 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5885],{83184:function(e,t,n){n.d(t,{dk:function(){return f},fw:function(){return d},zH:function(){return c}});var r=n(2265),o=n(6584),l=n(61463),i=n(41469),u=n(83040),a=n(3600);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.z)(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,a.yV)(function(e,t){let n=(0,r.useId)(),o=(0,u.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,i.T)(t);(0,l.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"})}),{})},25885:function(e,t,n){let r,o,l,i,u,a,s,c,d,f,v,p,m;n.d(t,{Vq:function(){return e4},ZR:function(){return e2},EM:function(){return e1}});var h=n(2265),g=n.t(h,2),E=((r=E||{}).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),y=n(88703);function b(e,t,n,r){let o=(0,y.E)(n);(0,h.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])}class w 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}}function T(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 u=t[e].call(n,...l);u&&(n=u,r.forEach(e=>e()))}}}var F=n(61463);function P(e){return(0,h.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let C=new w(()=>T(()=>[],{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 A(e,t){let n=C.get(t),r=(0,h.useId)(),o=P(n);if((0,F.e)(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let l=o.indexOf(r),i=o.length;return -1===l&&(l=i,i+=1),l===i-1}var S=n(6584);function O(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function L(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add(()=>e.removeEventListener(n,r,o))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=setTimeout(...n);return t.add(()=>clearTimeout(o))},microTask(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o={current:!0};return O(()=>{o.current&&n[0]()}),t.add(()=>{o.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=L();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var x=n(54462);function N(e){return x.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let R=new Map,M=new Map;function k(e){var t;let n=null!=(t=M.get(e))?t:0;return M.set(e,n+1),0!==n||(R.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=M.get(e))?t:1;if(1===n?M.delete(e):M.set(e,n-1),1!==n)return;let r=R.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,R.delete(e))})(e)}function D(e,t,n){let r=(0,y.E)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,h.useEffect)(()=>
1{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let o=L();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>r.current(n));e.observe(n),o.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),o.add(()=>e.disconnect())}return()=>o.dispose()},[t,r,e])}var I=n(5583);let H=["[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(","),V=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var j=((o=j||{})[o.First=1]="First",o[o.Previous=2]="Previous",o[o.Next=4]="Next",o[o.Last=8]="Last",o[o.WrapAround=16]="WrapAround",o[o.NoScroll=32]="NoScroll",o[o.AutoFocus=64]="AutoFocus",o),z=((l=z||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),_=((i=_||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i),Y=((u=Y||{})[u.Strict=0]="Strict",u[u.Loose=1]="Loose",u),U=((a=U||{})[a.Keyboard=0]="Keyboard",a[a.Mouse=1]="Mouse",a);function B(e){null==e||e.focus({preventScroll:!0})}function W(e,t){var n,r,o;let{sorted:l=!0,relativeTo:i=null,skipElements:u=[]}=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)?l?function(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})}(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(V)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(H)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);u.length>0&&s.length>1&&(s=s.filter(e=>!u.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),i=null!=i?i: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(i))-1;if(4&t)return Math.max(0,s.indexOf(i))+1;if(8&t)return s.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},v=0,p=s.length,m;do{if(v>=p||v+p<=0)return 0;let e=d+v;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}null==(m=s[e])||m.focus(f),v+=c}while(m!==a.activeElement);return 6&t&&null!=(o=null==(r=null==(n=m)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&m.select(),2}function q(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function G(e,t,n,r){let o=(0,y.E)(n);(0,h.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function K(e,t,n,r){let o=(0,y.E)(n);(0,h.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function X(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,h.useMemo)(()=>N(...t),[...t])}"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));var Z=n(89080);let $=T(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:L(),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,l={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(o)},i=[q()?{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=L();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>
1e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,l=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),i=t.querySelector(r);i&&!o(i)&&(l=i)}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),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=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")}}];i.forEach(e=>{let{before:t}=e;return null==t?void 0:t(l)}),i.forEach(e=>{let{after:t}=e;return null==t?void 0:t(l)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});function J(){let e;let t=(e="undefined"==typeof document,(0,g.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=h.useState(x.O.isHandoffComplete);return n&&!1===x.O.isHandoffComplete&&r(!1),h.useEffect(()=>{!0!==n&&r(!0)},[n]),h.useEffect(()=>x.O.handoff(),[]),!t&&n}$.subscribe(()=>{let e=$.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)&&$.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&$.dispatch("TEARDOWN",n)}});var Q=n(41469);let ee=(0,h.createContext)(()=>{});function et(e){let{value:t,children:n}=e;return h.createElement(ee.Provider,{value:t},n)}var en=n(76935);let er=(0,h.createContext)(null);er.displayName="OpenClosedContext";var eo=((s=eo||{})[s.Open=1]="Open",s[s.Closed=2]="Closed",s[s.Closing=4]="Closing",s[s.Opening=8]="Opening",s);function el(){return(0,h.useContext)(er)}function ei(e){let{value:t,children:n}=e;return h.createElement(er.Provider,{value:t},n)}function eu(e){let{children:t}=e;return h.createElement(er.Provider,{value:null},t)}let ea=(0,h.createContext)(!1);function es(e){return h.createElement(ea.Provider,{value:e.force},e.children)}var ec=n(3600),ed=n(83184);function ef(){let[e]=(0,h.useState)(L);return(0,h.useEffect)(()=>()=>e.dispose(),[e]),e}function ev(){let e=(0,h.useRef)(!1);return(0,F.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function ep(e){let t=(0,S.z)(e),n=(0,h.useRef)(!1);(0,h.useEffect)(()=>(n.current=!1,()=>{n.current=!0,O(()=>{n.current&&t()})}),[t])}var em=((c=em||{})[c.Forwards=0]="Forwards",c[c.Backwards=1]="Backwards",c);function eh(e,t){let n=(0,h.useRef)([]),r=(0,S.z)(e);(0,h.useEffect)(()=>{let e=[...n.current];for(let[o,l]of t.entries())if(n.current[o]!==l){let o=r(t,e);return n.current=t,o}},[r,...t])}let eg=[];function eE(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}!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&&eg[0]!==e.target&&(eg.unshift(e.target),(eg=eg.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 ey=((d=ey||{})[d.None=0]="None",d[d.InitialFocus=1]="InitialFocus",d[d.TabLock=2]="TabLock",d[d.FocusLock=4]="FocusLock",d[d.RestoreFocus=8]="RestoreFocus",d[d.AutoFocus=16]="AutoFocus",d);let eb=Object.assign((0,ec.yV)(function(e,t){let n,r=(0,h.useRef)(null),o=(0,Q.T)(r,t),{initialFocus:l,initialFocusFallback:i,containers:u,features:a=15,...s}=e;J()||(a=0);let c=X(r);!function(e,t){let{ownerDocument:n}=t,r=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,h.useRef)(eg.slice());return eh((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&O(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=eg.slice())},[e,eg,t]),(0,S.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);eh(()=>{r||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&B(o())},[r]),ep(()=>{r&&B(o())})}(a,{ownerDocument:c});let d=function(e,t){let{ownerDocument:n,container:r,initialFocus:o,initialFocusFallback:l}
1=t,i=(0,h.useRef)(null),u=A(!!(1&e),"focus-trap#initial-focus"),a=ev();return eh(()=>{if(0===e)return;if(!u){null!=l&&l.current&&B(l.current);return}let t=r.current;t&&O(()=>{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){i.current=r;return}}else if(t.contains(r)){i.current=r;return}if(null!=o&&o.current)B(o.current);else{if(16&e){if(W(t,j.First|j.AutoFocus)!==z.Error)return}else if(W(t,j.First)!==z.Error)return;if(null!=l&&l.current&&(B(l.current),(null==n?void 0:n.activeElement)===l.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}i.current=null==n?void 0:n.activeElement})},[l,u,e]),i}(a,{ownerDocument:c,container:r,initialFocus:l,initialFocusFallback:i});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=t,i=ev(),u=!!(4&e);b(null==n?void 0:n.defaultView,"focus",e=>{if(!u||!i.current)return;let t=eE(o);r.current instanceof HTMLElement&&t.add(r.current);let n=l.current;if(!n)return;let a=e.target;a&&a instanceof HTMLElement?ew(t,a)?(l.current=a,B(a)):(e.preventDefault(),e.stopPropagation(),B(n)):B(l.current)},!0)}(a,{ownerDocument:c,container:r,containers:u,previousActiveElement:d});let f=(n=(0,h.useRef)(0),K(!0,"keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),v=(0,S.z)(e=>{let t=r.current;t&&(0,I.E)(f.current,{[em.Forwards]:()=>{W(t,j.First,{skipElements:[e.relatedTarget,i]})},[em.Backwards]:()=>{W(t,j.Last,{skipElements:[e.relatedTarget,i]})}})}),p=A(!!(2&a),"focus-trap#tab-lock"),m=ef(),g=(0,h.useRef)(!1);return h.createElement(h.Fragment,null,p&&h.createElement(Z._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:Z.x.Focusable}),(0,ec.sY)({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(g.current=!0,m.requestAnimationFrame(()=>{g.current=!1}))},onBlur(e){if(!(4&a))return;let t=eE(u);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(ew(t,n)||(g.current?W(r.current,(0,I.E)(f.current,{[em.Forwards]:()=>j.Next,[em.Backwards]:()=>j.Previous})|j.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&B(e.target)))}},theirProps:s,defaultTag:"div",name:"FocusTrap"}),p&&h.createElement(Z._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:Z.x.Focusable}))}),{features:ey});function ew(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var eT=n(54887);let eF=h.Fragment,eP=(0,ec.yV)(function(e,t){let n=(0,h.useRef)(null),r=(0,Q.T)((0,Q.h)(e=>{n.current=e}),t),o=X(n),l=function(e){let t=(0,h.useContext)(ea),n=(0,h.useContext)(eA),r=X(e),[o,l]=(0,h.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(x.O.isServer)return null;let o=null==r?void 0:r.getElementById("headlessui-portal-root");if(o)return o;if(null===r)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return(0,h.useEffect)(()=>{null!==o&&(null!=r&&r.body.contains(o)||null==r||r.body.appendChild(o))},[o,r]),(0,h.useEffect)(()=>{t||null!==n&&l(n.current)},[n,l,t]),o}(n),[i]=(0,h.useState)(()=>{var e;return x.O.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),u=(0,h.useContext)(eS),a=J();return(0,F.e)(()=>{!l||!i||l.contains(i)||(i.setAttribute("data-headlessui-portal",""),l.appendChild(i))},[l,i]),(0,F.e)(()=>{if(i&&u)return u.register(i)},[u,i]),ep(()=>{var e;l&&i&&(i instanceof Node&&l.contains(i)&&l.removeChild(i),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))}),a&&l&&i?(0,eT.createPortal)((0,ec.sY)({ourProps:{ref:r},theirProps:e,slot:{},defaultTag:eF,name:"Portal"}),i):null}),eC=h.Fragment,eA=(0,h.createContext)(null),eS=(0,h.createContext)(null),eO=(0,ec.yV)(function(e,t){let n=(0,Q.T)(t),{enabled:r=!0,...o}=e;return r?h.createElement(eP,{...o,ref:n}):(0,ec.sY)({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:eF,name:"Portal"})}),eL=(0,ec.yV)(function(e,t){let{target:n,...r}=e,o={ref:(0,Q.T)(t)};return h.createElement(eA.Provider,{value:n},(0,ec.sY)({ourProps:o,theirProps:r,defaultTag:eC,name:"Popover.Group"}))}),ex=Object.assign(eO,{Group:eL});var eN=((f=eN||{})[f.None=0]="None",f[f.Closed=1]="Closed",f[f.Enter=2]="Enter",f[f.Leave=4]="Leave",f),eR=n(12585);function eM(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:ej)!==h.Fragment||1===h.Children.count(e.children)}let ek=(0,h.createContext)(null);ek.displayName="TransitionContext";var eD=((v=eD||{}).Visible="visible",v.Hidden="hidden",v);let eI=(0,h.createContext)(null);function eH(e){return"children"in e?eH(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 eV(e,t){let n=(0,y.E)(e),r=(0,h.useRef)([]),o=ev(),l=ef(),i=(0,S.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ec.l4.Hidden,i=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==i&&((0,I.E)(t,{[ec.l4.Unmount](){r.current.splice(i,1)},[ec.l4.Hidden](){r.current[i].state="hidden"}}),l.microTask(()=>{var e;!eH(r)&&o.current&&(null==(e=n.current)||e.call(n))}))}),u=(0,S.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>i(e,ec.l4.Unmount)}),a=(0,h.useRef)([]),s=(0,h.useRef)(Promise.resolve()),c=(0,h.useRef)({enter:[],leave:[]}
1),d=(0,S.z)((e,n,r)=>{a.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=>{a.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?s.current=s.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,S.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=a.current.shift())||e()}).then(()=>n(t))});return(0,h.useMemo)(()=>({children:r,register:u,unregister:i,onStart:d,onStop:f,wait:s,chains:c}),[u,i,r,d,f,c,s])}eI.displayName="NestingContext";let ej=h.Fragment,ez=ec.VN.RenderStrategy,e_=(0,ec.yV)(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...l}=e,i=(0,h.useRef)(null),u=eM(e),a=(0,Q.T)(...u?[i,t]:null===t?[]:[t]);J();let s=el();if(void 0===n&&null!==s&&(n=(s&eo.Open)===eo.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,d]=(0,h.useState)(n?"visible":"hidden"),f=eV(()=>{n||d("hidden")}),[v,p]=(0,h.useState)(!0),m=(0,h.useRef)([n]);(0,F.e)(()=>{!1!==v&&m.current[m.current.length-1]!==n&&(m.current.push(n),p(!1))},[m,n]);let g=(0,h.useMemo)(()=>({show:n,appear:r,initial:v}),[n,r,v]);D(n,i,()=>d("hidden")),(0,F.e)(()=>{n?d("visible"):eH(f)||null===i.current||d("hidden")},[n,f]);let E={unmount:o},y=(0,S.z)(()=>{var t;v&&p(!1),null==(t=e.beforeEnter)||t.call(e)}),b=(0,S.z)(()=>{var t;v&&p(!1),null==(t=e.beforeLeave)||t.call(e)});return h.createElement(eI.Provider,{value:f},h.createElement(ek.Provider,{value:g},(0,ec.sY)({ourProps:{...E,as:h.Fragment,children:h.createElement(eY,{ref:a,...E,...l,beforeEnter:y,beforeLeave:b})},theirProps:{},defaultTag:h.Fragment,features:ez,visible:"visible"===c,name:"Transition"})))}),eY=(0,ec.yV)(function(e,t){var n,r;let{transition:o=!0,beforeEnter:l,afterEnter:i,beforeLeave:u,afterLeave:a,enter:s,enterFrom:c,enterTo:d,entered:f,leave:v,leaveFrom:p,leaveTo:m,...g}=e,E=(0,h.useRef)(null),y=eM(e),b=(0,Q.T)(...y?[E,t]:null===t?[]:[t]),w=null==(n=g.unmount)||n?ec.l4.Unmount:ec.l4.Hidden,{show:T,appear:P,initial:C}=function(){let e=(0,h.useContext)(ek);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[A,O]=(0,h.useState)(T?"visible":"hidden"),x=function(){let e=(0,h.useContext)(eI);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:N,unregister:R}=x;(0,F.e)(()=>N(E),[N,E]),(0,F.e)(()=>{if(w===ec.l4.Hidden&&E.current){if(T&&"visible"!==A){O("visible");return}return(0,I.E)(A,{hidden:()=>R(E),visible:()=>N(E)})}},[A,E,N,R,T,w]);let M=J();(0,F.e)(()=>{if(y&&M&&"visible"===A&&null===E.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,A,M,y]);let k=C&&!P,D=P&&T&&C,H=(0,h.useRef)(!1),V=eV(()=>{H.current||(O("hidden"),R(E))},x),j=(0,S.z)(e=>{H.current=!0,V.onStart(E,e?"enter":"leave",e=>{"enter"===e?null==l||l():"leave"===e&&(null==u||u())})}),z=(0,S.z)(e=>{let t=e?"enter":"leave";H.current=!1,V.onStop(E,t,e=>{"enter"===e?null==i||i():"leave"===e&&(null==a||a())}),"leave"!==t||eH(V)||(O("hidden"),R(E))});(0,h.useEffect)(()=>{y&&o||(j(T),z(T))},[T,y,o]);let[,_]=function(e,t,n,r){let[o,l]=(0,h.useState)(n),{hasFlag:i,addFlag:u,removeFlag:a}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,h.useState)(e),r=(0,h.useCallback)(e=>n(e),[t]),o=(0,h.useCallback)(e=>n(t=>t|e),[t]),l=(0,h.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:l,removeFlag:(0,h.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,h.useCallback)(e=>n(t=>t^e),[n])}}(e&&o?3:0),s=(0,h.useRef)(!1),c=(0,h.useRef)(!1),d=ef();return(0,F.e)(function o(){var i;if(!e)return;n&&l(!0);let f=t.current;return f?(null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,t){let{prepare:n,run:r,done:o,inFlight:l}=t,i=L();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}),i.nextFrame(()=>{i.add(function(e,t){let n;let r=(n={called:!1},function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!n.called)return n.called=!0,t(...r)}),o=L();if(!e)return o.dispose;let{transitionDuration:l,transitionDelay:i}=getComputedStyle(e),[u,a]=[l,i].map(e=>
1{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=u+a;if(0!==s){let t=o.group(n=>{let o=n.setTimeout(()=>{r(),n.dispose()},s);n.addEventListener(e,"transitionrun",l=>{l.target===l.currentTarget&&(o(),n.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(r(),t())}))})});o.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(r(),o.dispose())})}else r();return o.dispose}(e,o)),r()}),i.dispose}(f,{inFlight:s,prepare(){c.current?c.current=!1:c.current=s.current,s.current=!0,c.current||(n?(u(3),a(4)):(u(4),a(2)))},run(){c.current?n?(a(3),u(4)):(a(4),u(3)):n?a(1):u(1)},done(){var e;c.current&&"function"==typeof f.getAnimations&&f.getAnimations().length>0||(s.current=!1,a(7),n||l(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})):n?(u(3),d.nextFrame(()=>o())):void 0},[e,n,t,d]),e?[o,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!o||!y||!M||k),E,T,{start:j,end:z}),Y=(0,ec.oA)({ref:b,className:(null==(r=(0,eR.A)(g.className,D&&s,D&&c,_.enter&&s,_.enter&&_.closed&&c,_.enter&&!_.closed&&d,_.leave&&v,_.leave&&!_.closed&&p,_.leave&&_.closed&&m,!_.transition&&T&&f))?void 0:r.trim())||void 0,...function(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}(_)}),U=0;return"visible"===A&&(U|=eo.Open),"hidden"===A&&(U|=eo.Closed),_.enter&&(U|=eo.Opening),_.leave&&(U|=eo.Closing),h.createElement(eI.Provider,{value:V},h.createElement(ei,{value:U},(0,ec.sY)({ourProps:Y,theirProps:g,defaultTag:ej,features:ez,visible:"visible"===A,name:"Transition.Child"})))}),eU=(0,ec.yV)(function(e,t){let n=null!==(0,h.useContext)(ek),r=null!==el();return h.createElement(h.Fragment,null,!n&&r?h.createElement(e_,{ref:t,...e}):h.createElement(eY,{ref:t,...e}))}),eB=Object.assign(e_,{Child:eU,Root:e_});var eW=((p=eW||{})[p.Open=0]="Open",p[p.Closed=1]="Closed",p),eq=((m=eq||{})[m.SetTitleId=0]="SetTitleId",m);let eG={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},eK=(0,h.createContext)(null);function eX(e){let t=(0,h.useContext)(eK);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eX),t}return t}function eZ(e,t){return(0,I.E)(t.type,eG,e,t)}eK.displayName="DialogContext";let e$=(0,ec.yV)(function(e,t){var n;let r,o,l,i,u,a,s,c,d,f,v=(0,h.useId)(),{id:p="headlessui-dialog-".concat(v),open:m,onClose:g,initialFocus:w,role:T="dialog",autoFocus:C=!0,__demoMode:O=!1,...x}=e,R=(0,h.useRef)(!1);T="dialog"===T||"alertdialog"===T?T:(R.current||(R.current=!0,console.warn("Invalid role [".concat(T,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let M=el();void 0===m&&null!==M&&(m=(M&eo.Open)===eo.Open);let V=(0,h.useRef)(null),j=(0,Q.T)(V,t),z=X(V),_=m?0:1,[U,B]=(0,h.useReducer)(eZ,{titleId:null,descriptionId:null,panelRef:(0,h.createRef)()}),W=(0,S.z)(()=>g(!1)),ee=(0,S.z)(e=>B({type:0,id:e})),er=!!J()&&0===_,[ei,ea]=(r=(0,h.useContext)(eS),o=(0,h.useRef)([]),l=(0,S.z)(e=>(o.current.push(e),r&&r.register(e),()=>i(e))),i=(0,S.z)(e=>{let t=o.current.indexOf(e);-1!==t&&o.current.splice(t,1),r&&r.unregister(e)}),u=(0,h.useMemo)(()=>({register:l,unregister:i,portals:o}),[l,i,o]),[o,(0,h.useMemo)(()=>function(e){let{children:t}=e;return h.createElement(eS.Provider,{value:u},t)},[u])]),{resolveContainers:ef,mainTreeNodeRef:ev,MainTreeNode:ep}=function(){var e;let{defaultContainers:t=[],portals:n,mainTreeNodeRef:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,h.useRef)(null!=(e=null==r?void 0:r.current)?e:null),l=X(o),i=(0,S.z)(()=>{var e,r,i;let u=[];for(let e of t)null!==e&&(e instanceof HTMLElement?u.push(e):"current"in e&&e.current instanceof HTMLElement&&u.push(e.current));if(null!=n&&n.current)for(let e of n.current)u.push(e);for(let t of null!=(e=null==l?void 0:l.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==(i=null==(r=o.current)?void 0:r.getRootNode())?void 0:i.host)||u.some(e=>t.contains(e))||u.push(t));return u});
1return{resolveContainers:i,contains:(0,S.z)(e=>i().some(t=>t.contains(e))),mainTreeNodeRef:o,MainTreeNode:(0,h.useMemo)(()=>function(){return null!=r?null:h.createElement(Z._,{features:Z.x.Hidden,ref:o})},[o,r])}}({portals:ei,defaultContainers:[{get current(){var em;return null!=(em=U.panelRef.current)?em:V.current}}]}),eh=null!==M&&(M&eo.Closing)===eo.Closing;(function(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=A(e,"inert-others");(0,F.e)(()=>{var e,o;if(!r)return;let l=L();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&l.add(k(t));let i=null!=(o=null==t?void 0:t())?o:[];for(let e of i){if(!e)continue;let t=N(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)i.some(t=>e.contains(t))||l.add(k(e));n=n.parentElement}}return l.dispose},[r,t,n])})(!O&&!eh&&er,{allowed:(0,S.z)(()=>{var e,t;return[null!=(t=null==(e=V.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,S.z)(()=>{var e,t;return[null!=(t=null==(e=ev.current)?void 0:e.closest("body > *:not(#headlessui-portal-root)"))?t:null]})}),n=e=>{e.preventDefault(),W()},a=A(er,"outside-click"),s=(0,y.E)(n),c=(0,h.useCallback)(function(e,t){if(e.defaultPrevented)return;let n=t(e);if(null!==n&&n.getRootNode().contains(n)&&n.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(ef)){if(null===t)continue;let r=t instanceof HTMLElement?t:t.current;if(null!=r&&r.contains(n)||e.composed&&e.composedPath().includes(r))return}return!function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=N(e))?void 0:t.body)&&(0,I.E)(n,{0:()=>e.matches(H),1(){let t=e;for(;null!==t;){if(t.matches(H))return!0;t=t.parentElement}return!1}})}(n,Y.Loose)&&-1!==n.tabIndex&&e.preventDefault(),s.current(e,n)}},[s]),d=(0,h.useRef)(null),G(a,"pointerdown",e=>{var t,n;d.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),G(a,"mousedown",e=>{var t,n;d.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),G(a,"click",e=>{q()||/Android/gi.test(window.navigator.userAgent)||d.current&&(c(e,()=>d.current),d.current=null)},!0),f=(0,h.useRef)({x:0,y:0}),G(a,"touchstart",e=>{f.current.x=e.touches[0].clientX,f.current.y=e.touches[0].clientY},!0),G(a,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-f.current.x)>=30||Math.abs(t.y-f.current.y)>=30))return c(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),K(a,"blur",e=>c(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0),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=A(e,"escape");b(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===E.Escape&&n(e))})}(er,null==z?void 0:z.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),W()}),function(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=P($),o=t?r.get(t):void 0;o&&o.count,(0,F.e)(()=>{if(!(!t||!e))return $.dispatch("PUSH",t,n),()=>$.dispatch("POP",t,n)},[e,t])}(A(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}(!O&&!eh&&er,z,ef),D(er,V,W);let[eg,eE]=(0,ed.fw)(),ew=(0,h.useMemo)(()=>[{dialogState:_,close:W,setTitleId:ee},U],[_,U,W,ee]),eT=(0,h.useMemo)(()=>({open:0===_}),[_]),eF={ref:j,id:p,role:T,tabIndex:-1,"aria-modal":O?void 0:0===_||void 0,"aria-labelledby":U.titleId,"aria-describedby":eg},eP=!function(){var e;let[t]=(0,h.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,h.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,F.e)(()=>
1{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),eC=ey.None;return er&&!O&&(eC|=ey.RestoreFocus,eC|=ey.TabLock,C&&(eC|=ey.AutoFocus),eP&&(eC|=ey.InitialFocus)),h.createElement(eu,null,h.createElement(es,{force:!0},h.createElement(ex,null,h.createElement(eK.Provider,{value:ew},h.createElement(eL,{target:V},h.createElement(es,{force:!1},h.createElement(eE,{slot:eT},h.createElement(ea,null,h.createElement(eb,{initialFocus:w,initialFocusFallback:V,containers:ef,features:eC},h.createElement(et,{value:W},(0,ec.sY)({ourProps:eF,theirProps:x,slot:eT,defaultTag:eJ,features:eQ,visible:0===_,name:"Dialog"})))))))))),h.createElement(en.yd,null,h.createElement(ep,null)))}),eJ="div",eQ=ec.VN.RenderStrategy|ec.VN.Static,e0=(0,ec.yV)(function(e,t){let{transition:n=!1,open:r,...o}=e,l=el(),i=e.hasOwnProperty("open")||null!==l,u=e.hasOwnProperty("onClose");if(!i&&!u)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!i)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(!l&&"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!==r||n)&&!o.static?h.createElement(eB,{show:r,transition:n,unmount:o.unmount},h.createElement(e$,{ref:t,...o})):h.createElement(e$,{ref:t,open:r,...o})}),e1=(0,ec.yV)(function(e,t){let n=(0,h.useId)(),{id:r="headlessui-dialog-panel-".concat(n),transition:o=!1,...l}=e,[{dialogState:i},u]=eX("Dialog.Panel"),a=(0,Q.T)(t,u.panelRef),s=(0,h.useMemo)(()=>({open:0===i}),[i]),c=(0,S.z)(e=>{e.stopPropagation()});return h.createElement(o?eU:h.Fragment,null,(0,ec.sY)({ourProps:{ref:a,id:r,onClick:c},theirProps:l,slot:s,defaultTag:"div",name:"Dialog.Panel"}))}),e2=(0,ec.yV)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o}]=eX("Dialog.Backdrop"),l=(0,h.useMemo)(()=>({open:0===o}),[o]);return h.createElement(n?eU:h.Fragment,null,(0,ec.sY)({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:l,defaultTag:"div",name:"Dialog.Backdrop"}))}),e4=Object.assign(e0,{Panel:e1,Title:(0,ec.yV)(function(e,t){let n=(0,h.useId)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:l,setTitleId:i}]=eX("Dialog.Title"),u=(0,Q.T)(t);(0,h.useEffect)(()=>(i(r),()=>i(null)),[r,i]);let a=(0,h.useMemo)(()=>({open:0===l}),[l]);return(0,ec.sY)({ourProps:{ref:u,id:r},theirProps:o,slot:a,defaultTag:"h2",name:"Dialog.Title"})}),Description:ed.dk})},6584:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(2265),o=n(88703);let l=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])}},61463:function(e,t,n){n.d(t,{e:function(){return l}});var r=n(2265),o=n(54462);let l=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},88703:function(e,t,n){n.d(t,{E:function(){return l}});var r=n(2265),o=n(61463);function l(e){let t=(0,r.useRef)(e);return(0,o.e)(()=>{t.current=e},[e]),t}},41469:function(e,t,n){n.d(t,{T:function(){return u},h:function(){return i}});var r=n(2265),o=n(6584);let l=Symbol();function i(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[l]:t})}function u(){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 u=(0,o.z)(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:u}},83040:function(e,t,n){n.d(t,{B:function(){return l},G:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function l(){return(0,r.useContext)(o)}function i(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}},76935:function(e,t,n){n.d(t,{wR:function(){return u},yd:function(){return a}});var r=n(2265),o=n(54887),l=n(89080);let i=(0,r.createContext)(null);function u(e){let[t,n]=(0,r.useState)(null);return r.createElement(i.Provider,{value:{target:t}},e.children,r.createElement(l._,{features:l.x.Hidden,ref:n}))}function a(e){let{children:t}=e,n=(0,r.useContext)(i);if(!n)return r.createElement(r.Fragment,null,t);let{target:l}=n;return l?(0,o.createPortal)(r.createElement(r.Fragment,null,t),l):null}},89080:function(e,t,n){let r;n.d(t,{_:function(){return i},x:function(){return l}});var o=n(3600),l=((r=l||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let i=(0,o.yV)(function(e,t){var n;let{features:r=1,...l}=e,i={ref:t,"aria-hidden":(2&r)==2||(null!=(n=l["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,o.sY)({ourProps:i,theirProps:l,slot:{},defaultTag:"div",name:"Hidden"})})},12585:function(e,t,n){n.d(t,{A:function(){return 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=>
1"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}},54462:function(e,t,n){n.d(t,{O:function(){return u}});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);class 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 u=new i},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),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}},3600:function(e,t,n){let r,o;n.d(t,{VN:function(){return a},dG:function(){return p},l4:function(){return s},oA:function(){return h},sY:function(){return c},yV:function(){return m}});var l=n(2265),i=n(12585),u=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:l,visible:i=!0,name:a,mergeRefs:s}=e;s=null!=s?s:f;let c=v(n,t);if(i)return d(c,r,o,a,s);let p=null!=l?l: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,u.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:u=n,children:a,refName:s="ref",...c}=g(e,["unmount","static"]),d=void 0!==e.ref?{[s]:e.ref}:{},f="function"==typeof a?a(t):a;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),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(u===l.Fragment&&(Object.keys(h(c)).length>0||Object.keys(h(p)).length>0)){if(!(0,l.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(0,i.A)(t(...n),c.className)}:(0,i.A)(t,c.className),r=v(f.props,h(g(c,["ref"])));for(let e in p)e in r&&delete p[e];return(0,l.cloneElement)(f,Object.assign({},r,p,d,{ref:o(f.ref,d.ref)},n?{className:n}:{}))}}return(0,l.createElement)(u,Object.assign({},g(c,["ref"]),u!==l.Fragment&&d,u!==l.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),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 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,l.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}}}]);

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.