1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7362],{92119:function(){},47101:function(e,t,n){"use strict";let o,i,l,r,s;n.d(t,{hQ:function(){return eA},Q$:function(){return ez},gA:function(){return eP},O2:function(){return e_},L5:function(){return ek}});var a=n(71049),u=n(11323),c=n(2265),d=n(54887);function p(e,t,n){let o,i=n.initialDeps??[];return()=>{var l,r,s,a;let u,c;n.key&&(null==(l=n.debug)?void 0:l.call(n))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return o;if(i=d,n.key&&(null==(r=n.debug)?void 0:r.call(n))&&(c=Date.now()),o=t(...d),n.key&&(null==(s=n.debug)?void 0:s.call(n))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,o=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${i(t,5)} /${i(e,5)} ms`,` 2 font-size: .6rem; 3 font-weight: bold; 4 color: hsl(${Math.max(0,Math.min(120-120*o,120))}deg 100% 31%);`,null==n?void 0:n.key)}return null==(a=null==n?void 0:n.onChange)||a.call(n,o),o}}function h(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}let m=(e,t)=>
41>Math.abs(e-t),f=(e,t,n)=>{let o;return function(...i){e.clearTimeout(o),o=e.setTimeout(()=>t.apply(this,i),n)}},v=e=>e,b=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),o=[];for(let e=t;e<=n;e++)o.push(e);return o},g=(e,t)=>{let n=e.scrollElement;if(!n)return;let o=e.targetWindow;if(!o)return;let i=e=>{let{width:n,height:o}=e;t({width:Math.round(n),height:Math.round(o)})};if(i(n.getBoundingClientRect()),!o.ResizeObserver)return()=>{};let l=new o.ResizeObserver(t=>{let o=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t){i({width:t.inlineSize,height:t.blockSize});return}}i(n.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return l.observe(n,{box:"border-box"}),()=>{l.unobserve(n)}},x={passive:!0},E="undefined"==typeof window||"onscrollend"in window,S=(e,t)=>{let n=e.scrollElement;if(!n)return;let o=e.targetWindow;if(!o)return;let i=0,l=e.options.useScrollendEvent&&E?()=>void 0:f(o,()=>{t(i,!1)},e.options.isScrollingResetDelay),r=o=>()=>{let{horizontal:r,isRtl:s}=e.options;i=r?n.scrollLeft*(s&&-1||1):n.scrollTop,l(),t(i,o)},s=r(!0),a=r(!1);a(),n.addEventListener("scroll",s,x);let u=e.options.useScrollendEvent&&E;return u&&n.addEventListener("scrollend",a,x),()=>{n.removeEventListener("scroll",s),u&&n.removeEventListener("scrollend",a)}},y=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},O=(e,{adjustments:t=0,behavior:n},o)=>{var i,l;null==(l=null==(i=o.scrollElement)?void 0:i.scrollTo)||l.call(i,{[o.options.horizontal?"left":"top"]:e+t,behavior:n})};class T{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:v,rangeExtractor:b,onChange:()=>{},measureElement:y,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=p(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t){this.maybeNotify();return}this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e
4=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,o=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let l=o.get(t.lane);if(null==l||t.end>l.end?o.set(t.lane,t):t.end<l.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=p(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,n,o,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:o,enabled:i}),{key:!1}),this.getMeasurements=p(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:o,enabled:i},l)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let r=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let s=this.measurementsCache.slice(0,r);for(let i=r;i<e;i++){let e=o(i),r=1===this.options.lanes?s[i-1]:this.getFurthestMeasurement(s,i),a=r?r.end+this.options.gap:t+n,u=l.get(e),c="number"==typeof u?u:this.options.estimateSize(i),d=a+c,p=r?r.lane:i%this.options.lanes;s[i]={index:i,start:a,size:c,end:d,key:e,lane:p}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=p(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,o)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:o}){let i=e.length-1,l=I(0,i,t=>e[t].start,n),r=l;for(;r<i&&e[r].end<n+t;)r++;return o>1&&(l=Math.max(0,l-l%o),r=Math.min(i,r+(o-1-r%o))),{startIndex:l,endIndex:r}}({measurements:e,outerSize:t,scrollOffset:n,lanes:o}):null,{key:!1,debug:()=>this.options.debug}
4),this.getVirtualIndexes=p(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,o,i)=>null===o||null===i?[]:e({startIndex:o,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let n=this.indexFromElement(e),o=this.measurementsCache[n];if(!o)return;let i=o.key,l=this.elementsCache.get(i);l!==e&&(l&&this.observer.unobserve(l),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let n=this.measurementsCache[e];if(!n)return;let o=t-(this.itemSizeCache.get(n.key)??n.size);0!==o&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,o,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=o,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});return}this._measureElement(e,void 0)},this.getVirtualItems=p(()=>
4[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let o=0,i=e.length;o<i;o++){let i=t[e[o]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return h(t[I(0,t.length-1,e=>h(t[e]).start,e)])},this.getOffsetForAlignment=(e,t,n=0)=>{let o=this.getSize(),i=this.getScrollOffset();"auto"===t&&(t=e>=i+o?"end":"start"),"center"===t?e+=(n-o)/2:"end"===t&&(e-=o);let l=this.options.horizontal?"scrollWidth":"scrollHeight";return Math.max(Math.min((this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[l]:this.scrollElement[l]:0)-o,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let o=this.getSize(),i=this.getScrollOffset();if("auto"===t){if(n.end>=i+o-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}}let l="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(l,t,n.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let o=this.getOffsetForIndex(e,t);if(!o)return;let[i,l]=o;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[t]=h(this.getOffsetForIndex(e,l));m(t,this.getScrollOffset())||this.scrollToIndex(e,{align:l,behavior:n})}else this.scrollToIndex(e,{align:l,behavior:n})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
4stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t=this.getMeasurements();return Math.max((0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map(e=>e.end)))-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}let I=(e,t,n,o)=>{for(;e<=t;){let i=(e+t)/2|0,l=n(i);if(l<o)e=i+1;else{if(!(l>o))return i;t=i-1}}return e>0?e-1:0},C="undefined"!=typeof document?c.useLayoutEffect:c.useEffect;var R=n(36750),M=n(29483),w=n(62963),z=n(47920),P=n(90945),F=n(40993),k=n(13323),_=n(16821),A=n(64518),D=n(31948),L=n(33106),N=n(32539),V=n(40048),B=n(96802);function W(e){let t=(0,c.useRef)({value:"",selectionStart:null,selectionEnd:null});return(0,B.O)(e,"blur",e=>{let n=e.target;n instanceof HTMLInputElement&&(t.current={value:n.value,selectionStart:n.selectionStart,selectionEnd:n.selectionEnd})}),(0,k.z)(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:o}=t.current;null!==n&&null!==o&&e.setSelectionRange(n,o)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}var j=n(80004),U=n(53466),q=n(93689),H=n(15518),K=n(34723),G=n(71776),$=n(21281),Z=n(6885),J=n(30054),Q=n(24183),X=n(60370),Y=n(92807),ee=n(37863),et=n(29422),en=n(47634),eo=n(34778),ei=n(16015),el=n(37105),er=n(24536),es=n(52108),ea=n(27847),eu=n(33577),ec=n(37388),ed=n(34630),ep=((o=ep||{})[o.Left=0]="Left",o[o.Right=2]="Right",o),eh=n(31094),em=((i=em||{})[i.Open=0]="Open",i[i.Closed=1]="Closed",i),ef=((l=ef||{})[l.Single=0]="Single",l[l.Multi=1]="Multi",l),ev=((r=ev||{})[r.Pointer=0]="Pointer",r[r.Focus=1]="Focus",r[r.Other=2]="Other",r),eb=((s=eb||{})[s.OpenCombobox=0]="OpenCombobox",s[s.CloseCombobox=1]="CloseCombobox",s[s.GoToOption=2]="GoToOption",s[s.SetTyping=3]="SetTyping",s[s.RegisterOption=4]="RegisterOption",s[s.UnregisterOption=5]="UnregisterOption",s[s.SetActivationTrigger=6]="SetActivationTrigger",s[s.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",s[s.SetInputElement=8]="SetInputElement",s[s.SetButtonElement=9]="SetButtonElement",s[s.SetOptionsElement=10]="SetOptionsElement",s);function eg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=t(e.options.slice()),i=o.length>0&&null!==o[0].dataRef.current.order?o.sort((e,t)=>e.dataRef.current.order-t.dataRef.current.order):(0,el.z2)(o,e=>e.dataRef.current.domRef.current),l=n?i.indexOf(n):null;return -1===l&&(l=null),{options:i,activeOptionIndex:l}}let ex={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;if(null!=(n=e.dataRef.current)&&n.value){let t=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(-1!==t)return{...e,activeOptionIndex:t,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3:(e,t)=>e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping},2(e,t){var n,o,i,l;if(null!=(n=e.dataRef.current)&&n.disabled||e.optionsElement&&!(null!=(o=e.dataRef.current)&&o.optionsPropsRef.current.static)&&1===e.comboboxState)return e;if(e.virtual){let{options:n,disabled:o}=e.virtual,l=t.focus===eo.T.Specific?t.idx:(0,eo.d)(t,{resolveItems:()=>n,resolveActiveIndex:()=>{var t,i;return null!=(i=null!=(t=e.activeOptionIndex)?t:n.findIndex(e=>!o(e)))?i:null},resolveDisabled:o,resolveId(){throw Error("Function not implemented.")}}),r=null!=(i=t.trigger)?i:2;return e.activeOptionIndex===l&&e.activationTrigger===r?e:{...e,activeOptionIndex:l,activationTrigger:r,isTyping:!1,__demoMode:!1}}let r=eg(e);if(null===r.activeOptionIndex){let e=r.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(r.activeOptionIndex=e)}let s=t.focus===eo.T.Specific?t.idx:(0,eo.d)(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled}),a=null!=(l=t.trigger)?l:2;return e.activeOptionIndex===s&&e.activationTrigger===a?e:{...e,...r,isTyping:!1,activeOptionIndex:s,activationTrigger:a,__demoMode:!1}},4:(e,t)=>{var n,o,i;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:[...e.options,t.payload]};let l=t.payload,r=eg(e,e=>(e.push(l),e));null===e.activeOptionIndex&&null!=(o=e.dataRef.current)&&o.isSelected(t.payload.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(l));let s={...e,...r,activationTrigger:2};return null!=(i=e.dataRef.current)&&i.__demoMode&&void 0===e.dataRef.current.value&&(s.activeOptionIndex=0),s},5:(e,t)=>{var n;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:e.options.filter(e=>e.id!==t.id)};let o=eg(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...o,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var n,o;if(null===e.virtual)return{...e,virtual:{options:t.options,disabled:null!=(n=t.disabled)?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let i=e.activeOptionIndex;if(null!==e.activeOptionIndex){let n=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i=-1!==n?n:null}return{...e,activeOptionIndex:i,virtual:{options:t.options,disabled:null!=(o=t.disabled)?o:()=>!1}}},8:(e,t)=>
4e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},eE=(0,c.createContext)(null);function eS(e){let t=(0,c.useContext)(eE);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eS),t}return t}eE.displayName="ComboboxActionsContext";let ey=(0,c.createContext)(null);function eO(e){let t=eI("VirtualProvider"),{options:n}=t.virtual,[o,i]=(0,c.useMemo)(()=>{let e=t.optionsElement;if(!e)return[0,0];let n=window.getComputedStyle(e);return[parseFloat(n.paddingBlockStart||n.paddingTop),parseFloat(n.paddingBlockEnd||n.paddingBottom)]},[t.optionsElement]),l=function(e){let t=c.useReducer(()=>({}),{})[1],n={...e,onChange:(n,o)=>{var i;o?(0,d.flushSync)(t):t(),null==(i=e.onChange)||i.call(e,n,o)}},[o]=c.useState(()=>new T(n));return o.setOptions(n),C(()=>o._didMount(),[]),C(()=>o._willUpdate()),o}({observeElementRect:g,observeElementOffset:S,scrollToFn:O,enabled:0!==n.length,scrollPaddingStart:o,scrollPaddingEnd:i,count:n.length,estimateSize:()=>40,getScrollElement:()=>t.optionsElement,overscan:12}),[r,s]=(0,c.useState)(0);(0,A.e)(()=>{s(e=>e+1)},[n]);let a=l.getVirtualItems();return 0===a.length?null:c.createElement(ey.Provider,{value:l},c.createElement("div",{style:{position:"relative",width:"100%",height:"".concat(l.getTotalSize(),"px")},ref:e=>{e&&0!==t.activationTrigger&&null!==t.activeOptionIndex&&n.length>t.activeOptionIndex&&l.scrollToIndex(t.activeOptionIndex)}},a.map(t=>{var o;return c.createElement(c.Fragment,{key:t.key},c.cloneElement(null==(o=e.children)?void 0:o.call(e,{...e.slot,option:n[t.index]}),{key:"".concat(r,"-").concat(t.key),"data-index":t.index,"aria-setsize":n.length,"aria-posinset":t.index+1,style:{position:"absolute",top:0,left:0,transform:"translateY(".concat(t.start,"px)"),overflowAnchor:"none"}}))})))}let eT=(0,c.createContext)(null);function eI(e){let t=(0,c.useContext)(eT);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eI),t}return t}function eC(e,t){return(0,er.E)(t.type,ex,e,t)}eT.displayName="ComboboxDataContext";let eR=c.Fragment,eM=ea.VN.RenderStrategy|ea.VN.Static,ew=(0,ea.yV)(function(e,t){var n,o;let i=(0,Z.B)(),{value:l,defaultValue:r,onChange:s,form:a,name:u,by:d,disabled:p=i||!1,onClose:h,__demoMode:m=!1,multiple:f=!1,immediate:v=!1,virtual:b=null,nullable:g,...x}=e,E=(0,z.L)(r),[S=f?[]:void 0,y]=(0,w.q)(l,s,E),[O,T]=(0,c.useReducer)(eC,{dataRef:(0,c.createRef)(),comboboxState:m?0:1,isTyping:!1,options:[],virtual:b?{options:b.options,disabled:null!=(n=b.disabled)?n:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:m}),I=(0,c.useRef)(!1),C=(0,c.useRef)({static:!1,hold:!1}),R=(0,M.J)(d),P=(0,k.z)(e=>b?null===d?b.options.indexOf(e):b.options.findIndex(t=>R(t,e)):O.options.findIndex(t=>R(t.dataRef.current.value,e))),F=(0,c.useCallback)(e=>(0,er.E)(D.mode,{1:()=>S.some(t=>R(t,e)),0:()=>R(S,e)}),[S]),_=(0,k.z)(e=>O.activeOptionIndex===P(e)),D=(0,c.useMemo)(()=>({...O,immediate:v,optionsPropsRef:C,value:S,defaultValue:E,disabled:p,mode:f?1:0,virtual:b?O.virtual:null,get activeOptionIndex(){if(I.current&&null===O.activeOptionIndex&&(b?b.options.length>0:O.options.length>0)){if(b){let e=b.options.findIndex(e=>{var t,n;return!(null!=(n=null==(t=b.disabled)?void 0:t.call(b,e))&&n)});if(-1!==e)return e}let e=O.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return O.activeOptionIndex},calculateIndex:P,compare:R,isSelected:F,isActive:_}),[S,E,p,f,m,O,b]);(0,A.e)(()=>{var e;b&&T({type:7,options:b.options,disabled:null!=(e=b.disabled)?e:null})},[b,null==b?void 0:b.options,null==b?void 0:b.disabled]),(0,A.e)(()=>{O.dataRef.current=D},[D]);let L=0===D.comboboxState;(0,N.O)(L,[D.buttonElement,D.inputElement,D.optionsElement],()=>et.closeCombobox());let V=(0,c.useMemo)(()=>{var e,t,n;return{open:0===D.comboboxState,disabled:p,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.virtual?D.virtual.options[null!=(e=D.activeOptionIndex)?e:0]:null!=(n=null==(t=D.options[D.activeOptionIndex])?void 0:t.dataRef.current.value)?n:null,value:S}},[D,p,S]),B=(0,k.z)(()=>
4{if(null!==D.activeOptionIndex){if(et.setIsTyping(!1),D.virtual)K(D.virtual.options[D.activeOptionIndex]);else{let{dataRef:e}=D.options[D.activeOptionIndex];K(e.current.value)}et.goToOption(eo.T.Specific,D.activeOptionIndex)}}),W=(0,k.z)(()=>{T({type:0}),I.current=!0}),j=(0,k.z)(()=>{T({type:1}),I.current=!1,null==h||h()}),U=(0,k.z)(e=>{T({type:3,isTyping:e})}),q=(0,k.z)((e,t,n)=>(I.current=!1,e===eo.T.Specific?T({type:2,focus:eo.T.Specific,idx:t,trigger:n}):T({type:2,focus:e,trigger:n}))),H=(0,k.z)((e,t)=>(T({type:4,payload:{id:e,dataRef:t}}),()=>{D.isActive(t.current.value)&&(I.current=!0),T({type:5,id:e})})),K=(0,k.z)(e=>(0,er.E)(D.mode,{0:()=>null==y?void 0:y(e),1(){let t=D.value.slice(),n=t.findIndex(t=>R(t,e));return -1===n?t.push(e):t.splice(n,1),null==y?void 0:y(t)}})),G=(0,k.z)(e=>{T({type:6,trigger:e})}),$=(0,k.z)(e=>{T({type:8,element:e})}),X=(0,k.z)(e=>{T({type:9,element:e})}),Y=(0,k.z)(e=>{T({type:10,element:e})}),et=(0,c.useMemo)(()=>({onChange:K,registerOption:H,goToOption:q,setIsTyping:U,closeCombobox:j,openCombobox:W,setActivationTrigger:G,selectActiveOption:B,setInputElement:$,setButtonElement:X,setOptionsElement:Y}),[]),[en,ei]=(0,ed.bE)(),el=(0,c.useCallback)(()=>{if(void 0!==E)return null==y?void 0:y(E)},[y,E]),es=(0,ea.L6)();return c.createElement(ei,{value:en,props:{htmlFor:null==(o=D.inputElement)?void 0:o.id},slot:{open:0===D.comboboxState,disabled:p}},c.createElement(J.HO,null,c.createElement(eE.Provider,{value:et},c.createElement(eT.Provider,{value:D},c.createElement(ee.up,{value:(0,er.E)(D.comboboxState,{0:ee.ZM.Open,1:ee.ZM.Closed})},null!=u&&c.createElement(Q.Mt,{disabled:p,data:null!=S?{[u]:S}:{},form:a,onReset:el}),es({ourProps:null===t?{}:{ref:t},theirProps:x,slot:V,defaultTag:eR,name:"Combobox"}))))))}),ez=(0,ea.yV)(function(e,t){var n;let o=eI("Combobox.Button"),i=eS("Combobox.Button"),l=(0,q.T)(t,i.setButtonElement),r=(0,c.useId)(),{id:s="headlessui-combobox-button-".concat(r),disabled:p=o.disabled||!1,autoFocus:h=!1,...m}=e,f=W(o.inputElement),v=(0,k.z)(e=>{switch(e.key){case ec.R.Space:case ec.R.Enter:e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&(0,d.flushSync)(()=>i.openCombobox()),f();return;case ec.R.ArrowDown:e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&((0,d.flushSync)(()=>i.openCombobox()),o.value||i.goToOption(eo.T.First)),f();return;case ec.R.ArrowUp:e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&((0,d.flushSync)(()=>i.openCombobox()),o.value||i.goToOption(eo.T.Last)),f();return;case ec.R.Escape:if(0!==o.comboboxState)return;e.preventDefault(),o.optionsElement&&!o.optionsPropsRef.current.static&&e.stopPropagation(),(0,d.flushSync)(()=>i.closeCombobox()),f();return;default:return}}),b=(0,k.z)(e=>{e.preventDefault(),(0,en.P)(e.currentTarget)||(e.button===ep.Left&&(0===o.comboboxState?i.closeCombobox():i.openCombobox()),f())}),g=(0,ed.wp)([s]),{isFocusVisible:x,focusProps:E}=(0,a.F)({autoFocus:h}),{isHovered:S,hoverProps:y}=(0,u.X)({isDisabled:p}),{pressed:O,pressProps:T}=(0,R.x)({disabled:p}),I=(0,c.useMemo)(()=>({open:0===o.comboboxState,active:O||0===o.comboboxState,disabled:p,value:o.value,hover:S,focus:x}),[o,S,x,O,p]),C=(0,ea.dG)({ref:l,id:s,type:(0,j.f)(e,o.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsElement)?void 0:n.id,"aria-expanded":0===o.comboboxState,"aria-labelledby":g,disabled:p||void 0,autoFocus:h,onMouseDown:b,onKeyDown:v},E,y,T);return(0,ea.L6)()({ourProps:C,theirProps:m,slot:I,defaultTag:"button",name:"Combobox.Button"})}),eP=(0,ea.yV)(function(e,t){var n,o,i,l,r;let s=eI("Combobox.Input"),p=eS("Combobox.Input"),h=(0,c.useId)(),m=(0,Y.Q)(),{id:f=m||"headlessui-combobox-input-".concat(h),onChange:v,displayValue:b,disabled:g=s.disabled||!1,autoFocus:x=!1,type:E="text",...S}=e,y=(0,c.useRef)(null),O=(0,q.T)(y,t,(0,J.AZ)(),p.setInputElement),T=(0,V.i)(s.inputElement),I=(0,P.G)(),C=(0,k.z)(()=>{p.onChange(null),s.optionsElement&&(s.optionsElement.scrollTop=0),p.goToOption(eo.T.Nothing)}),R=(0,c.useMemo)(()=>{var e;return"function"==typeof b&&void 0!==s.value?null!=(e=b(s.value))?e:"":"string"==typeof s.value?s.value:""},[s.value,b]);(0,$.q)((e,t)=>
4{let[n,o]=e,[i,l]=t;if(s.isTyping)return;let r=y.current;r&&((0===l&&1===o||n!==i)&&(r.value=n),requestAnimationFrame(()=>{if(s.isTyping||!r||(null==T?void 0:T.activeElement)!==r)return;let{selectionStart:e,selectionEnd:t}=r;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&r.setSelectionRange(r.value.length,r.value.length)}))},[R,s.comboboxState,T,s.isTyping]),(0,$.q)((e,t)=>{let[n]=e,[o]=t;if(0===n&&1===o){if(s.isTyping)return;let e=y.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:o,selectionDirection:i}=e;e.value="",e.value=t,null!==i?e.setSelectionRange(n,o,i):e.setSelectionRange(n,o)}},[s.comboboxState]);let M=(0,c.useRef)(!1),w=(0,k.z)(()=>{M.current=!0}),z=(0,k.z)(()=>{I.nextFrame(()=>{M.current=!1})}),F=(0,k.z)(e=>{switch(p.setIsTyping(!0),e.key){case ec.R.Enter:if(0!==s.comboboxState||M.current)return;if(e.preventDefault(),e.stopPropagation(),null===s.activeOptionIndex){p.closeCombobox();return}p.selectActiveOption(),0===s.mode&&p.closeCombobox();break;case ec.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),(0,er.E)(s.comboboxState,{0:()=>p.goToOption(eo.T.Next),1:()=>p.openCombobox()});case ec.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),(0,er.E)(s.comboboxState,{0:()=>p.goToOption(eo.T.Previous),1:()=>{(0,d.flushSync)(()=>p.openCombobox()),s.value||p.goToOption(eo.T.Last)}});case ec.R.Home:if(e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),p.goToOption(eo.T.First);case ec.R.PageUp:return e.preventDefault(),e.stopPropagation(),p.goToOption(eo.T.First);case ec.R.End:if(e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),p.goToOption(eo.T.Last);case ec.R.PageDown:return e.preventDefault(),e.stopPropagation(),p.goToOption(eo.T.Last);case ec.R.Escape:return 0!==s.comboboxState?void 0:(e.preventDefault(),s.optionsElement&&!s.optionsPropsRef.current.static&&e.stopPropagation(),0===s.mode&&null===s.value&&C(),p.closeCombobox());case ec.R.Tab:if(0!==s.comboboxState)return;0===s.mode&&1!==s.activationTrigger&&p.selectActiveOption(),p.closeCombobox()}}),_=(0,k.z)(e=>{null==v||v(e),0===s.mode&&""===e.target.value&&C(),p.openCombobox()}),A=(0,k.z)(e=>{var t,n,o;let i=null!=(t=e.relatedTarget)?t:et.m.find(t=>t!==e.currentTarget);if(!(null!=(n=s.optionsElement)&&n.contains(i))&&!(null!=(o=s.buttonElement)&&o.contains(i))&&0===s.comboboxState)return e.preventDefault(),0===s.mode&&null===s.value&&C(),p.closeCombobox()}),D=(0,k.z)(e=>{var t,n,o;let i=null!=(t=e.relatedTarget)?t:et.m.find(t=>t!==e.currentTarget);null!=(n=s.buttonElement)&&n.contains(i)||null!=(o=s.optionsElement)&&o.contains(i)||s.disabled||s.immediate&&0!==s.comboboxState&&I.microTask(()=>{(0,d.flushSync)(()=>p.openCombobox()),p.setActivationTrigger(1)})}),L=(0,ed.wp)(),N=(0,eu.zH)(),{isFocused:B,focusProps:W}=(0,a.F)({autoFocus:x}),{isHovered:j,hoverProps:U}=(0,u.X)({isDisabled:g}),H=(0,c.useMemo)(()=>({open:0===s.comboboxState,disabled:g,hover:j,focus:B,autofocus:x}),[s,j,B,x,g]),K=(0,ea.dG)({ref:O,id:f,role:"combobox",type:E,"aria-controls":null==(n=s.optionsElement)?void 0:n.id,"aria-expanded":0===s.comboboxState,"aria-activedescendant":null===s.activeOptionIndex?void 0:s.virtual?null==(o=s.options.find(e=>!e.dataRef.current.disabled&&s.compare(e.dataRef.current.value,s.virtual.options[s.activeOptionIndex])))?void 0:o.id:null==(i=s.options[s.activeOptionIndex])?void 0:i.id,"aria-labelledby":L,"aria-describedby":N,"aria-autocomplete":"list",defaultValue:null!=(r=null!=(l=e.defaultValue)?l:void 0!==s.defaultValue?null==b?void 0:b(s.defaultValue):null)?r:s.defaultValue,disabled:g||void 0,autoFocus:x,onCompositionStart:w,onCompositionEnd:z,onKeyDown:F,onChange:_,onFocus:D,onBlur:A},W,U);return(0,ea.L6)()({ourProps:K,theirProps:S,slot:H,defaultTag:"input",name:"Combobox.Input"})}),eF=ed.__,ek=(0,ea.yV)(function(e,t){var n,o,i;let l=(0,c.useId)(),{id:r="headlessui-combobox-options-".concat(l),hold:s=!1,anchor:a,portal:u=!1,modal:d=!0,transition:p=!1,...h}=e,m=eI("Combobox.Options"),f=eS("Combobox.Options"),v=(0,J.Vy)(a);v&&(u=!0);let[b,g]=(0,J.ES)(v),[x,E]=(0,c.useState)(null),S=(0,J.U8)(),y=(0,q.T)(t,v?b:null,f.setOptionsElement,E),O=(0,V.i)(m.optionsElement),T=(0,ee.oJ)(),[I,C]=(0,K.Y)(p,x,null!==T?(T&ee.ZM.Open)===ee.ZM.Open:0===m.comboboxState);(0,L.m)(I,m.inputElement,f.closeCombobox);let R=!m.__demoMode&&d&&0===m.comboboxState;(0,U.P)(R,O);let M=!m.__demoMode&&d&&0===m.comboboxState;(0,_.s)(M,{allowed:(0,c.useCallback)(()=>[m.inputElement,m.buttonElement,m.optionsElement],[m.inputElement,m.buttonElement,m.optionsElement])}),(0,A.e)(()=>{var t;m.optionsPropsRef.current.static=null!=(t=e.static)&&t},[m.optionsPropsRef,e.static]),(0,A.e)(()=>{m.optionsPropsRef.current.hold=s},[m.optionsPropsRef,s]),(0,G.B)(0===m.comboboxState,{container:m.optionsElement,accept:e=>
4"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let w=(0,ed.wp)([null==(n=m.buttonElement)?void 0:n.id]),z=(0,c.useMemo)(()=>({open:0===m.comboboxState,option:void 0}),[m.comboboxState]),P=(0,k.z)(()=>{f.setActivationTrigger(0)}),D=(0,k.z)(e=>{e.preventDefault(),f.setActivationTrigger(0)}),N=(0,ea.dG)(v?S():{},{"aria-labelledby":w,role:"listbox","aria-multiselectable":1===m.mode||void 0,id:r,ref:y,style:{...h.style,...g,"--input-width":(0,F.h)(m.inputElement,!0).width,"--button-width":(0,F.h)(m.buttonElement,!0).width},onWheel:0===m.activationTrigger?void 0:P,onMouseDown:D,...(0,K.X)(C)}),B=I&&1===m.comboboxState,W=(0,X._)(B,null==(o=m.virtual)?void 0:o.options),j=(0,X._)(B,m.value),H=(0,k.z)(e=>m.compare(j,e));if(m.virtual){if(void 0===W)throw Error("Missing `options` in virtual mode");Object.assign(h,{children:c.createElement(eT.Provider,{value:W!==m.virtual.options?{...m,virtual:{...m.virtual,options:W}}:m},c.createElement(eO,{slot:z},h.children))})}let $=(0,ea.L6)();return c.createElement(eh.h_,{enabled:!!u&&(e.static||I)},c.createElement(eT.Provider,{value:1===m.mode?m:{...m,isSelected:H}},$({ourProps:N,theirProps:{...h,children:c.createElement(X.F,{freeze:B},"function"==typeof h.children?null==(i=h.children)?void 0:i.call(h,z):h.children)},slot:z,defaultTag:"div",features:eM,visible:I,name:"Combobox.Options"}
4)))}),e_=(0,ea.yV)(function(e,t){var n,o,i,l;let r=eI("Combobox.Option"),s=eS("Combobox.Option"),a=(0,c.useId)(),{id:u="headlessui-combobox-option-".concat(a),value:d,disabled:p=null!=(i=null==(o=null==(n=r.virtual)?void 0:n.disabled)?void 0:o.call(n,d))&&i,order:h=null,...m}=e,f=W(r.inputElement),v=r.virtual?r.activeOptionIndex===r.calculateIndex(d):null!==r.activeOptionIndex&&(null==(l=r.options[r.activeOptionIndex])?void 0:l.id)===u,b=r.isSelected(d),g=(0,c.useRef)(null),x=(0,D.E)({disabled:p,value:d,domRef:g,order:h}),E=(0,c.useContext)(ey),S=(0,q.T)(t,g,E?E.measureElement:null),y=(0,k.z)(()=>{s.setIsTyping(!1),s.onChange(d)});(0,A.e)(()=>s.registerOption(u,x),[x,u]);let O=(0,c.useRef)(!(r.virtual||r.__demoMode));(0,A.e)(()=>{if(!r.virtual&&!r.__demoMode)return(0,ei.k)().requestAnimationFrame(()=>{O.current=!0})},[r.virtual,r.__demoMode]),(0,A.e)(()=>{if(O.current&&0===r.comboboxState&&v&&0!==r.activationTrigger)return(0,ei.k)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=g.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[g,v,r.comboboxState,r.activationTrigger,r.activeOptionIndex]);let T=(0,k.z)(e=>{e.preventDefault(),e.button===ep.Left&&(p||(y(),(0,es.tq)()||requestAnimationFrame(()=>f()),0===r.mode&&s.closeCombobox()))}),I=(0,k.z)(()=>{if(p)return s.goToOption(eo.T.Nothing);let e=r.calculateIndex(d);s.goToOption(eo.T.Specific,e)}),C=(0,H.g)(),R=(0,k.z)(e=>C.update(e)),M=(0,k.z)(e=>{if(!C.wasMoved(e)||p||v)return;let t=r.calculateIndex(d);s.goToOption(eo.T.Specific,t,0)}),w=(0,k.z)(e=>{C.wasMoved(e)&&(p||v&&(r.optionsPropsRef.current.hold||s.goToOption(eo.T.Nothing)))}),z=(0,c.useMemo)(()=>({active:v,focus:v,selected:b,disabled:p}),[v,b,p]);return(0,ea.L6)()({ourProps:{id:u,ref:S,role:"option",tabIndex:!0===p?void 0:-1,"aria-disabled":!0===p||void 0,"aria-selected":b,disabled:void 0,onMouseDown:T,onFocus:I,onPointerEnter:R,onMouseEnter:R,onPointerMove:M,onMouseMove:M,onPointerLeave:w,onMouseLeave:w},theirProps:m,slot:z,defaultTag:"div",name:"Combobox.Option"})}),eA=Object.assign(ew,{Input:eP,Button:ez,Label:eF,Options:ek,Option:e_})},29483:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var o=n(2265);function i(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}},62963:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var o=n(2265),i=n(13323);function l(e,t,n){let[l,r]=(0,o.useState)(n),s=void 0!==e,a=(0,o.useRef)(s),u=(0,o.useRef)(!1),c=(0,o.useRef)(!1);return!s||a.current||u.current?s||!a.current||c.current||(c.current=!0,a.current=s,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.")):(u.current=!0,a.current=s,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.")),[s?e:l,(0,i.z)(e=>(s||r(e),null==t?void 0:t(e)))]}},47920:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var o=n(2265);function i(e){let[t]=(0,o.useState)(e);return t}},71776:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var o=n(2265),i=n(40293),l=n(64518);function r(e,t){let{container:n,accept:r,walk:s}=t,a=(0,o.useRef)(r),u=(0,o.useRef)(s);(0,o.useEffect)(()=>{a.current=r,u.current=s},[r,s]),(0,l.e)(()=>{if(!n||!e)return;let t=(0,i.r)(n);if(!t)return;let o=a.current,l=u.current,r=Object.assign(e=>o(e),{acceptNode:o}),s=t.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,r,!1);for(;s.nextNode();)l(s.currentNode)},[n,e,a,u])}},24183:function(e,t,n){"use strict";n.d(t,{Mt:function(){return d}});var o=n(2265),i=n(54887),l=n(90945),r=n(56314),s=n(27847),a=n(38198);let u=(0,o.createContext)(null);function c(e){let{children:t}=e,n=(0,o.useContext)(u);if(!n)return o.createElement(o.Fragment,null,t);let{target:l}=n;return l?(0,i.createPortal)(o.createElement(o.Fragment,null,t),l):null}function d(e){let{data:t,form:n,disabled:i,onReset:u,overrides:d}=e,[h,m]=(0,o.useState)(null),f=(0,l.G)();return(0,o.useEffect)(()=>
4{if(u&&h)return f.addEventListener(h,"reset",u)},[h,n,u]),o.createElement(c,null,o.createElement(p,{setForm:m,formId:n}),(0,r.t)(t).map(e=>{let[t,l]=e;return o.createElement(a._,{features:a.x.Hidden,...(0,s.oA)({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,disabled:i,name:t,value:l,...d})})}))}function p(e){let{setForm:t,formId:n}=e;return(0,o.useEffect)(()=>{if(n){let e=document.getElementById(n);e&&t(e)}},[t,n]),n?null:o.createElement(a._,{features:a.x.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:e=>{if(!e)return;let n=e.closest("form");n&&t(n)}})}},60370:function(e,t,n){"use strict";n.d(t,{F:function(){return i},_:function(){return l}});var o=n(2265);function i(e){let{children:t,freeze:n}=e,i=l(n,t);return o.createElement(o.Fragment,null,i)}function l(e,t){let[n,i]=(0,o.useState)(t);return e||n===t||i(t),e?n:t}},56314:function(e,t,n){"use strict";function o(e,t){return e?e+"["+t+"]":t}function i(e){var t,n;let o=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(o){for(let t of o.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type)){t.click();return}null==(n=o.requestSubmit)||n.call(o)}}n.d(t,{g:function(){return i},t:function(){return function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[l,r]of Object.entries(t))!function t(n,i,l){if(Array.isArray(l))for(let[e,r]of l.entries())t(n,o(i,e.toString()),r);else l instanceof Date?n.push([i,l.toISOString()]):"boolean"==typeof l?n.push([i,l?"1":"0"]):"string"==typeof l?n.push([i,l]):"number"==typeof l?n.push([i,"".concat(l)]):null==l?n.push([i,""]):e(l,i,n)}(i,o(n,l),r);return i}}})},41208:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var o=n(2265);let i=o.createContext({});function l(e){var t,n,l;let{count:r=1,wrapper:s,className:a,containerClassName:u,containerTestId:c,circle:d=!1,style:p,...h}=e,m=o.useContext(i),f={...h};for(let[e,t]of Object.entries(h))void 0===t&&delete f[e];let v={...m,...f,circle:d},b={...p,...function(e){let{baseColor:t,highlightColor:n,width:o,height:i,borderRadius:l,circle:r,direction:s,duration:a,enableAnimation:u=!0,customHighlightBackgroun
4d:c}=e,d={};return"rtl"===s&&(d["--animation-direction"]="reverse"),"number"==typeof a&&(d["--animation-duration"]="".concat(a,"s")),u||(d["--pseudo-element-display"]="none"),("string"==typeof o||"number"==typeof o)&&(d.width=o),("string"==typeof i||"number"==typeof i)&&(d.height=i),("string"==typeof l||"number"==typeof l)&&(d.borderRadius=l),r&&(d.borderRadius="50%"),void 0!==t&&(d["--base-color"]=t),void 0!==n&&(d["--highlight-color"]=n),"string"==typeof c&&(d["--custom-highlight-background"]=c),d}(v)},g="react-loading-skeleton";a&&(g+=" ".concat(a));let x=null!==(t=v.inline)&&void 0!==t&&t,E=[],S=Math.ceil(r);for(let e=0;e<S;e++){let t=b;if(S>r&&e===S-1){let e=null!==(n=t.width)&&void 0!==n?n:"100%",o=r%1,i="number"==typeof e?e*o:"calc(".concat(e," * ").concat(o,")");t={...t,width:i}}let i=o.createElement("span",{className:g,style:t,key:e},"â");x?E.push(i):E.push(o.createElement(o.Fragment,{key:e},i,o.createElement("br",null)))}return o.createElement("span",{className:u,"data-testid":c,"aria-live":"polite","aria-busy":null===(l=v.enableAnimation)||void 0===l||l},s?E.map((e,t)=>o.createElement(s,{key:t},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.