1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[986],{43003:function(e,t,n){n.d(t,{__:function(){return p},bE:function(){return f},t0:function(){return d},wp:function(){return v}});var r=n(2265),o=n(6584),i=n(61463),u=n(41469),l=n(83040),s=n(21495),a=n(3600);let c=(0,r.createContext)(null);function d(){let e=(0,r.useContext)(c);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,d),e}return e}function v(e){var t,n,o;let i=null!=(n=null==(t=(0,r.useContext)(c))?void 0:t.value)?n:void 0;return(null!=(o=null==e?void 0:e.length)?o:0)>0?[i,...e].filter(Boolean).join(" "):i}function f(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v(),[n,i]=(0,r.useState)([]),u=e?[t,...n].filter(Boolean):n;return[u.length>0?u.join(" "):void 0,(0,r.useMemo)(()=>function(e){let t=(0,o.z)(e=>(i(t=>[...t,e]),()=>i(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),n=(0,r.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return r.createElement(c.Provider,{value:n},e.children)},[i])]}c.displayName="LabelContext";let p=Object.assign((0,a.yV)(function(e,t){var n;let c=(0,r.useId)(),v=d(),f=(0,s.Q)(),p=(0,l.B)(),{id:m="headlessui-label-".concat(c),htmlFor:g=null!=f?f:null==(n=v.props)?void 0:n.htmlFor,passive:E=!1,...b}=e,h=(0,u.T)(t);(0,i.e)(()=>v.register(m),[m,v.register]);let y=(0,o.z)(e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),v.props&&"onClick"in v.props&&"function"==typeof v.props.onClick&&v.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),T=p||!1,L=(0,r.useMemo)(()=>({...v.slot,disabled:T}),[v.slot,T]),w={ref:h,...v.props,id:m,htmlFor:g,onClick:y};return E&&("onClick"in w&&(delete w.htmlFor,delete w.onClick),"onClick"in b&&delete b.onClick),(0,a.sY)({ourProps:w,theirProps:b,slot:L,defaultTag:g?"label":"div",name:v.name||"Label"})}),{})},54079:function(e,t,n){n.d(t,{x:function(){return l}});var r=n(2265),o=n(91498),i=n(99299),u=n(6584);function l(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[n,l]=(0,r.useState)(!1),s=(0,i.G)(),a=(0,u.z)(()=>{t.current=null,l(!1),s.dispose()}),c=(0,u.z)(e=>{if(s.dispose(),null===t.current){t.current=e.currentTarget,l(!0);{let n=(0,o.r)(e.currentTarget);s.addEventListener(n,"pointerup",a,!1),s.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let o,i;l((o=e.width/2,i=e.height/2,n={top:e.clientY-i,right:e.clientX+o,bottom:e.clientY+i,left:e.clientX-o},r=t.current.getBoundingClientRect(),!(!n||!r||n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)))}},!1),s.addEventListener(n,"pointercancel",a,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:a,onClick:a}}}},93169:function(e,t,n){n.d(t,{q:function(){return i}});var r=n(2265),o=n(6584);function i(e,t,n){let[i,u]=(0,r.useState)(n),l=void 0!==e,s=(0,r.useRef)(l),a=(0,r.useRef)(!1),c=(0,r.useRef)(!1);return!l||s.current||a.current?l||!s.current||c.current||(c.current=!0,s.current=l,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(a.current=!0,s.current=l,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[l?e:i,(0,o.z)(e=>(l||u(e),null==t?void 0:t(e)))]}},95839:function(e,t,n){n.d(t,{L:function(){return o}});var r=n(2265);function o(e){let[t]=(0,r.useState)(e);return t}},75180:function(e,t,n){n.d(t,{f:function(){return u}});
1var r=n(2265),o=n(61463);function i(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function u(e,t){let[n,u]=(0,r.useState)(()=>i(e));return(0,o.e)(()=>{u(i(e))},[e.type,e.as]),(0,o.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&u("button")},[n,t]),n}},21495:function(e,t,n){n.d(t,{Q:function(){return i},v:function(){return u}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){return(0,r.useContext)(o)}function u(e){let{id:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}},47986:function(e,t,n){function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},96117:function(e,t,n){n.d(t,{F:function(){return F}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;var i=n(2265);let u=null,l=new Set,s=new Map,a=!1,c=!1,d={Tab:!0,Escape:!0};function v(e,t){for(let n of l)n(e,t)}function f(e){var t,n;a=!0,e.metaKey||(t=/^Mac/i,!("undefined"!=typeof window&&null!=window.navigator&&t.test((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.platform)||window.navigator.platform))&&e.altKey)||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(u="keyboard",v("keyboard",e))}
1function p(e){u="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(a=!0,v("pointer",e))}function m(e){var t,n;(0===e.mozInputSource&&e.isTrusted?0:(t=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.brands.some(e=>t.test(e.brand)))||t.test(window.navigator.userAgent))&&e.pointerType)?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(a=!0,u="virtual")}function g(e){e.target!==window&&e.target!==document&&(a||c||(u="virtual",v("virtual",e)),a=!1,c=!1)}function E(){a=!1,c=!0}function b(e){if("undefined"==typeof window||s.get(o(e)))return;let t=o(e),n=r(e),i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){a=!0,i.apply(this,arguments)},n.addEventListener("keydown",f,!0),n.addEventListener("keyup",f,!0),n.addEventListener("click",m,!0),t.addEventListener("focus",g,!0),t.addEventListener("blur",E,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",p,!0),n.addEventListener("pointermove",p,!0),n.addEventListener("pointerup",p,!0)):(n.addEventListener("mousedown",p,!0),n.addEventListener("mousemove",p,!0),n.addEventListener("mouseup",p,!0)),t.addEventListener("beforeunload",()=>{h(e)},{once:!0}),s.set(t,{focus:i})}let h=(e,t)=>{let n=o(e),i=r(e);t&&i.removeEventListener("DOMContentLoaded",t),s.has(n)&&(n.HTMLElement.prototype.focus=s.get(n).focus,i.removeEventListener("keydown",f,!0),i.removeEventListener("keyup",f,!0),i.removeEventListener("click",m,!0),n.removeEventListener("focus",g,!0),n.removeEventListener("blur",E,!1),"undefined"!=typeof PointerEvent?(i.removeEventListener("pointerdown",p,!0),i.removeEventListener("pointermove",p,!0),i.removeEventListener("pointerup",p,!0)):(i.removeEventListener("mousedown",p,!0),i.removeEventListener("mousemove",p,!0),i.removeEventListener("mouseup",p,!0)),s.delete(n))};function y(){return"pointer"!==u}"undefined"!=typeof document&&function(e){let t;let n=r(void 0);"loading"!==n.readyState?b(void 0):(t=()=>{b(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>h(e,t)}();let T=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),L="undefined"!=typeof document?i.useLayoutEffect:()=>{};class w{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function k(e){let t=(0,i.useRef)({isFocused:!1,observer:null});L(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,i.useRef)(null);return L(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,i.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new w("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function F(e={}){var t,n,u;let{autoFocus:s=!1,isTextInput:a,within:c}=e,v=(0,i.useRef)({isFocused:!1,isFocusVisible:s||y()}),[f,p]=(0,i.useState)(!1),[m,g]=(0,i.useState)(()=>v.current.isFocused&&v.current.isFocusVisible),E=(0,i.useCallback)(()=>g(v.current.isFocused&&v.current.isFocusVisible),[]),h=(0,i.useCallback)(e=>{v.current.isFocused=e,p(e),E()},[E]);t=e=>{v.current.isFocusVisible=e,E()},n=[],u={isTextInput:a},b(),(0,i.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){var r;let i="undefined"!=typeof window?o(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,u="undefined"!=typeof window?o(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,l="undefined"!=typeof window?o(null==n?void 0:n.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?o(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!T.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof u||(null==n?void 0:n.target)instanceof l&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof s&&!d[n.key])})(!!(null==u?void 0:u.isTextInput),e,n)&&t(y())};return l.add(e),()=>{l.delete(e)}},n);let{focusProps:L}=function(e){let{isDisabled:t,onFocus:n,onBlur:o,onFocusChange:u}=e,l=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return o&&o(e),u&&u(!1),!0},[o,u]),s=k(l),a=(0,i.useCallback)(e=>{let t=r(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),u&&u(!0),s(e))},[u,n,s]);return{focusProps:{onFocus:!t&&(n||u||o)?a:void 0,onBlur:!t&&(o||u)?l:void 0}}}({isDisabled:c,onFocusChange:h}),{focusWithinProps:w}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,u=(0,i.useRef)({isFocusWithin:!1}),l=(0,i.useCallback)(e=>{u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,n&&n(e),o&&o(!1))},[n,o,u]),s=k(l),a=(0,i.useCallback)(e=>{u.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),u.current.isFocusWithin=!0,s(e))},[r,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:a,onBlur:l}}}({isDisabled:!c,onFocusWithinChange:h});return{isFocused:f,isFocusVisible:m,focusProps:c?w:L}}},83892:function(e,t,n){n.d(t,{X:function(){return a}});var r=n(2265);let o=!1,i=0;function u(){o=!0,setTimeout(()=>{o=!1},50)}function l(e){"touch"===e.pointerType&&u()}function s(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",l):document.addEventListener("touchend",u),i++,()=>{--i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",l):document.removeEventListener("touchend",u))}}function a(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:u}=e,[l,a]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(s,[]);let{hoverProps:d,triggerHoverEnd:v}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,u||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let o=e.currentTarget;c.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),a(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),a(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},l.onPointerLeave=e=>{!u&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(l.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||o||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=e=>{!u&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:l,triggerHoverEnd:r}},[t,n,i,u,c]);return(0,r.useEffect)(()=>{u&&v({currentTarget:c.target},c.pointerType)},[u]),{hoverProps:d,isHovered:l}}}}]);
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.