PageSourceSearch

https://masca.io/_next/static/chunks/1600-0747cc190a189d4c.js

js masca.io collected 2026-10-04 13:24:04 UTC 51,185 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1600],{74404:function(e,t,n){n.d(t,{default:function(){return l.a}});var r=n(95610),l=n.n(r)},50200:function(e,t,n){n.d(t,{h_:function(){return w},kF:function(){return b}});var r=n(16913),l=n(43176),o=n(91842),i=n(46096),u=n(68363),a=n(44466),s=n(50385),c=n(87277);let f=(0,r.createContext)(!1);var d=n(82923),m=n(62062);let h=r.Fragment,g=(0,m.yV)(function(e,t){var n;let g,p,b=(0,r.useRef)(null),w=(0,c.T)((0,c.h)(e=>{b.current=e}),t),x=(0,a.i)(b),E=function(e){let t=(0,r.useContext)(f),n=(0,r.useContext)(v),l=(0,a.i)(e),[o,i]=(0,r.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(d.O.isServer)return null;let r=null==l?void 0:l.getElementById("headlessui-portal-root");if(r)return r;if(null===l)return null;let o=l.createElement("div");return o.setAttribute("id","headlessui-portal-root"),l.body.appendChild(o)});return(0,r.useEffect)(()=>{null!==o&&(null!=l&&l.body.contains(o)||null==l||l.body.appendChild(o))},[o,l]),(0,r.useEffect)(()=>{t||null!==n&&i(n.current)},[n,i,t]),o}(b),[T]=(0,r.useState)(()=>{var e;return d.O.isServer?null:null!=(e=null==x?void 0:x.createElement("div"))?e:null}),R=(0,r.useContext)(y),C=(0,s.H)();return(0,i.e)(()=>{!E||!T||E.contains(T)||(T.setAttribute("data-headlessui-portal",""),E.appendChild(T))},[E,T]),(0,i.e)(()=>{if(T&&R)return R.register(T)},[R,T]),n=()=>{var e;E&&T&&(T instanceof Node&&E.contains(T)&&E.removeChild(T),E.childNodes.length<=0&&(null==(e=E.parentElement)||e.removeChild(E)))},g=(0,o.z)(n),p=(0,r.useRef)(!1),(0,r.useEffect)(()=>(p.current=!1,()=>{p.current=!0,(0,u.Y)(()=>{p.current&&g()})}),[g]),C&&E&&T?(0,l.createPortal)((0,m.sY)({ourProps:{ref:w},theirProps:e,slot:{},defaultTag:h,name:"Portal"}),T):null}),p=r.Fragment,v=(0,r.createContext)(null),y=(0,r.createContext)(null);function b(){let e=(0,r.useContext)(y),t=(0,r.useRef)([]),n=(0,o.z)(n=>(t.current.push(n),e&&e.register(n),()=>l(n))),l=(0,o.z)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),i=(0,r.useMemo)(()=>({register:n,unregister:l,portals:t}),[n,l,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(y.Provider,{value:i},t)},[i])]}let w=Object.assign((0,m.yV)(function(e,t){let n=(0,c.T)(t),{enabled:l=!0,...o}=e;return l?r.createElement(g,{...o,ref:n}):(0,m.sY)({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:h,name:"Portal"})}),{Group:(0,m.yV)(function(e,t){let{target:n,...l}=e,o={ref:(0,c.T)(t)};return r.createElement(v.Provider,{value:n},(0,m.sY)({ourProps:o,theirProps:l,defaultTag:p,name:"Popover.Group"}))})})},47924:function(e,t,n){let r;n.d(t,{u:function(){return N}});var l=n(16913),o=n(44237),i=n(91842),u=n(67017),a=n(46096),s=n(54766),c=n(21235),f=n(50385),d=n(87277),m=n(6664),h=n(79367);function g(e){let t={called:!1};return function(){for(var n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];if(!t.called)return t.called=!0,e(...r)}}function p(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.add(...n)}function v(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.remove(...n)}var y=n(85609),b=n(74077),w=n(62062);function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/\s+/).filter(e=>e.length>1)}function E(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:F)!==l.Fragment||1===l.Children.count(e.children)}let T=(0,l.createContext)(null);T.displayName="TransitionContext";var R=((r=R||{}).Visible="visible",r.Hidden="hidden",r);let C=(0,l.createContext)(null);function S(e){return"children"in e?S(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 L(e,t){let n=(0,s.E)(e),r=(0,l.useRef)([]),a=(0,u.t)(),c=(0,o.G)(),f=(0,i.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.l4.Hidden,l=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==l&&((0,h.E)(t,{[w.l4.Unmount](){r.current.splice(l,1)},[w.l4.Hidden](){r.current[l].state="hidden"}}),c.microTask(()=>{var e;!S(r)&&a.current&&(null==(e=n.current)||e.call(n))}))}),d=(0,i.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"}),()=>f(e,w.l4.Unmount)}),m=(0,l.useRef)([]),g=(0,l.useRef)(Promise.resolve()),p=(0,l.useRef)({enter:[],leave:[],idle:[]}),v=(0,i.z)((e,n,r)=>{m.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=>{m.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(p.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
1)]),"enter"===n?g.current=g.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),y=(0,i.z)((e,t,n)=>{Promise.all(p.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=m.current.shift())||e()}).then(()=>n(t))});return(0,l.useMemo)(()=>({children:r,register:d,unregister:f,onStart:v,onStop:y,wait:g,chains:p}),[d,f,r,v,y,p,g])}C.displayName="NestingContext";let F=l.Fragment,M=w.VN.RenderStrategy,P=(0,w.yV)(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...u}=e,s=(0,l.useRef)(null),m=E(e),h=(0,d.T)(...m?[s,t]:null===t?[]:[t]);(0,f.H)();let g=(0,y.oJ)();if(void 0===n&&null!==g&&(n=(g&y.ZM.Open)===y.ZM.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[p,v]=(0,l.useState)(n?"visible":"hidden"),b=L(()=>{n||v("hidden")}),[x,R]=(0,l.useState)(!0),F=(0,l.useRef)([n]);(0,a.e)(()=>{!1!==x&&F.current[F.current.length-1]!==n&&(F.current.push(n),R(!1))},[F,n]);let P=(0,l.useMemo)(()=>({show:n,appear:r,initial:x}),[n,r,x]);(0,c.m)(s,()=>v("hidden")),(0,a.e)(()=>{n?v("visible"):S(b)||null===s.current||v("hidden")},[n,b]);let A={unmount:o},N=(0,i.z)(()=>{var t;x&&R(!1),null==(t=e.beforeEnter)||t.call(e)}),H=(0,i.z)(()=>{var t;x&&R(!1),null==(t=e.beforeLeave)||t.call(e)});return l.createElement(C.Provider,{value:b},l.createElement(T.Provider,{value:P},(0,w.sY)({ourProps:{...A,as:l.Fragment,children:l.createElement(O,{ref:h,...A,...u,beforeEnter:N,beforeLeave:H})},theirProps:{},defaultTag:l.Fragment,features:M,visible:"visible"===p,name:"Transition"})))}),O=(0,w.yV)(function(e,t){var n,r,c;let{beforeEnter:R,afterEnter:P,beforeLeave:O,afterLeave:A,enter:N,enterFrom:H,enterTo:k,entered:D,leave:I,leaveFrom:V,leaveTo:W,..._}=e,z=(0,l.useRef)(null),B=E(e),j=(0,d.T)(...B?[z,t]:null===t?[]:[t]),G=null==(n=_.unmount)||n?w.l4.Unmount:w.l4.Hidden,{show:U,appear:Y,initial:Z}=function(){let e=(0,l.useContext)(T);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[q,K]=(0,l.useState)(U?"visible":"hidden"),J=function(){let e=(0,l.useContext)(C);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:X,unregister:$}=J;(0,a.e)(()=>X(z),[X,z]),(0,a.e)(()=>{if(G===w.l4.Hidden&&z.current){if(U&&"visible"!==q){K("visible");return}return(0,h.E)(q,{hidden:()=>$(z),visible:()=>X(z)})}},[q,z,X,$,U,G]);let Q=(0,s.E)({base:x(_.className),enter:x(N),enterFrom:x(H),enterTo:x(k),entered:x(D),leave:x(I),leaveFrom:x(V),leaveTo:x(W)}),ee=(0,s.E)({beforeEnter:R,afterEnter:P,beforeLeave:O,afterLeave:A}),et=(0,f.H)();(0,a.e)(()=>{if(B&&et&&"visible"===q&&null===z.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[z,q,et,B]);let en=Y&&U&&Z,er=en?"enter":et&&(!Z||Y)?U?"enter":"leave":"idle",el=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,l.useState)(e),r=(0,u.t)(),o=(0,l.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),i=(0,l.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:o,hasFlag:i,removeFlag:(0,l.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,l.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),eo=(0,i.z)(e=>(0,h.E)(e,{enter:()=>{var e,t;el.addFlag(y.ZM.Opening),null==(t=(e=ee.current).beforeEnter)||t.call(e)},leave:()=>{var e,t;el.addFlag(y.ZM.Closing),null==(t=(e=ee.current).beforeLeave)||t.call(e)},idle:()=>{}})),ei=(0,i.z)(e=>(0,h.E)(e,{enter:()=>{var e,t;el.removeFlag(y.ZM.Opening),null==(t=(e=ee.current).afterEnter)||t.call(e)},leave:()=>{var e,t;el.removeFlag(y.ZM.Closing),null==(t=(e=ee.current).afterLeave)||t.call(e)},idle:()=>{}})),eu=(0,l.useRef)(!1),ea=L(()=>{eu.current||(K("hidden"),$(z))},J);!function(e){let{container:t,direction:n,classes:r,onStart:i,onStop:s}=e,c=(0,u.t)(),f=(0,o.G)(),d=(0,l.useRef)(!1);(0,a.e)(()=>{if("idle"===n||!c.current)return;i.current(n);let e=t.current;return e?f.add(function(e,t){let{direction:n,done:r,classes:l,inFlight:o}=t,i=(0,m.k)(),u=void 0!==r?g(r):()=>{};"enter"===n&&(e.removeAttribute("hidden"),e.style.display="");let a=(0,h.E)(n,{enter:()=>l.enter,leave:()=>l.leave}),s=(0,h.E)(n,{enter:()=>l.enterTo,leave:()=>l.leaveTo}),c=(0,h.E)(n,{enter:()=>l.enterFrom,leave:()=>l.leaveFrom});return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current){r();return}let l=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=l}(e,{prepare(){v(e,...l.base,...l.enter,...l.enterTo,...l.enterFrom,...l.leave,...l.leaveFrom,...l.leaveTo,...l.entered),p(e,...l.base,...a,...c)},inFlight:o}),o&&(o.current=!0),i.nextFrame(()=>{i.add(function(e,t){let n=g(t),r=(0,m.k)();if(!e)return r.dispose;let{transitionDuration:l,transitionDelay:o}=getComputedStyle(e),[i,u]=[l,o].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}),a=i+u;if(0!==a){let t=r.group(r=>{let l=r.setTimeout(()=>{n(),r.dispose()},a);r.addEventListener(e,"transitionrun",o=>{o.target===o.currentTarget&&(l(),r.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(n(),t())}))})});r.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(n(),r.dispose())})}else n();return r.dispose}(e,()=>(v(e,...l.base,...a),p(e,...l.base,...l.entered,...s),o&&(o.current=!1),u()))),v(e,...l.base,...a,...c),p(e,...l.base,...a,...s)}),i.dispose}(e,{direction:n,classes:r.current,inFlight:d,done(){s.current(n)}})):s.current(n),f.dispose},[n])}({container:z,classes:Q,direction:er,onStart:(0,s.E)(e=>{eu.current=!0,ea.onStart(z,e,eo)}),onStop:(0,s.E)(e=>{eu.current=!1,ea.onStop(z,e,ei),"leave"!==e||S(ea)||(K("hidden"),$(z))})});let es=_;return en?es={...es,className:(0,b.A)(_.className,...Q.current.enter,...Q.current.enterFrom)}:(eu.current?es.className=(0,b.A)(_.className,null==(r=z.current)?void 0:r.className):es.className=(0,b.A)(_.className,null==(c=z.current)?void 0:c.className,...(0,h.E)(er,{enter:[...Q.current.enterTo,...Q.current.entered],leave:Q.current.leaveTo,idle:[]})),""===es.className&&delete es.className),l.createElement(C.Provider,{value:ea},l.createElement(y.up,{value:(0,h.E)(q,{visible:y.ZM.Open,hidden:y.ZM.Closed})|el.flags},(0,w.sY)({ourProps:{ref:j},theirProps:es,defaultTag:F,features:M,visible:"visible"===q,name:"Transition.Child"})))}),A=(0,w.yV)(function(e,t){let n=null!==(0,l.useContext)(T),r=null!==(0,y.oJ)();return l.createElement(l.Fragment,null,!n&&r?l.createElement(P,{ref:t,...e}):l.createElement(O,{ref:t,...e}))}),N=Object.assign(P,{Child:A,Root:P})},76:function(e,t,n){n.d(t,{h:function(){return o}});var r=n(16913),l=n(46096);function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null===e?null:"current"in e?e.current:e,[o,i]=(0,r.useReducer)(()=>({}),{}),u=(0,r.useMemo)(()=>(function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}})(n),[n,o]);return(0,l.e)(()=>{if(!n)return;let e=new ResizeObserver(i);return e.observe(n),()=>{e.disconnect()}},[n]),t?{width:"".concat(u.width,"px"),height:"".concat(u.height,"px")}:u}},67017:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(16913),l=n(46096);function o(){let e=(0,r.useRef)(!1);return(0,l.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},21235:function(e,t,n){n.d(t,{m:function(){return i}});var r=n(16913),l=n(6664),o=n(54766);function i(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=(0,o.E)(e=>{let n=e.getBoundingClientRect();0===n.x&&0===n.y&&0===n.width&&0===n.height&&t()});(0,r.useEffect)(()=>{if(!n)return;let t=null===e?null:e instanceof HTMLElement?e:e.current;if(!t)return;let r=(0,l.k)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>i.current(t));e.observe(t),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>i.current(t));e.observe(t),r.add(()=>e.disconnect())}return()=>r.dispose()},[e,i,n])}},81798:function(e,t,n){n.d(t,{O:function(){return s}});var r=n(16913),l=n(1024),o=n(58436),i=n(54766);function u(e,t,n){let l=(0,i.E)(t);(0,r.useEffect)(()=>{function t(e){l.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}var a=n(6481);function s(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=(0,r.useRef)(!1);function s(n,r){if(!i.current||n.defaultPrevented)return;let o=r(n);if(null!==o&&o.getRootNode().contains(o)&&o.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(o)||n.composed&&n.composedPath().includes(e))return}return(0,l.sP)(o,l.tJ.Loose)||-1===o.tabIndex||n.preventDefault(),t(n,o)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{i.current=n})},[n]);let c=(0,r.useRef)(null);u("pointerdown",e=>{var t,n;i.current&&(c.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),u("mousedown",e=>{var t,n;i.current&&(c.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),u("click",e=>{(0,o.tq)()||c.current&&(s(e,()=>c.current),c.current=null)},!0),u("touchend",e=>s(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,a.s)("blur",e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},44466:function(e,t,n){n.d(t,{i:function(){return o}});var r=n(16913),l=n(67733);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,l.r)(...t),[...t])}},28567:function(e,t,n){let r,l;n.d(t,{P:function(){return d}});var o,i,u=n(16913),a=n(46096),s=n(6664),c=n(58436);let f=(o=()=>new Map,i={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,s.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let t,{doc:n,d:r,meta:l}=e,o={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(l)},i=[(0,c.gn)()?{before(e){let{doc:t,d:n,meta:r}=e;function l(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,s.k)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>
1e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,o=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&&!l(i)&&(o=i)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(l(e.target)){let t=e.target;for(;t.parentElement&&l(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(l(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),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before(e){var n;let{doc:r}=e,l=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-l.clientWidth)},after(e){let{doc:n,d:r}=e,l=n.documentElement,o=Math.max(0,l.clientWidth-l.offsetWidth),i=Math.max(0,t-o);r.style(l,"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(o)}
1),i.forEach(e=>{let{after:t}=e;return null==t?void 0:t(o)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},r=o(),l=new Set,{getSnapshot:()=>r,subscribe:e=>(l.add(e),()=>l.delete(e)),dispatch(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];let u=i[e].call(r,...n);u&&(r=u,l.forEach(e=>e()))}});function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),r=(0,u.useSyncExternalStore)(f.subscribe,f.getSnapshot,f.getSnapshot),l=e?r.get(e):void 0;l&&l.count,(0,a.e)(()=>{if(!(!e||!t))return f.dispatch("PUSH",e,n),()=>f.dispatch("POP",e,n)},[t,e])}(e,t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}f.subscribe(()=>{let e=f.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)&&f.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&f.dispatch("TEARDOWN",n)}})},50385:function(e,t,n){n.d(t,{H:function(){return i}});var r,l=n(16913),o=n(82923);function i(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(l,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[i,u]=l.useState(o.O.isHandoffComplete);return i&&!1===o.O.isHandoffComplete&&u(!1),l.useEffect(()=>{!0!==i&&u(!0)},[i]),l.useEffect(()=>o.O.handoff(),[]),!t&&i}},6481:function(e,t,n){n.d(t,{s:function(){return o}});var r=n(16913),l=n(54766);function o(e,t,n){let o=(0,l.E)(t);(0,r.useEffect)(()=>{function t(e){o.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}},93839:function(e,t,n){n.d(t,{HO:function(){return eI},ES:function(){return eD},U8:function(){return ek},AZ:function(){return eN},L:function(){return eH},Vy:function(){return eA}});var r=n(16913),l=n.t(r,2);let o=Math.min,i=Math.max,u=Math.round,a=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(m(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>f[e])}function b(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function w(e){let{x:t,y:n,width:r,height:l}=e;return{width:r,height:l,top:n,left:t,right:t+r,bottom:n+l,x:t,y:n}}function x(e,t,n){let r,{reference:l,floating:o}=e,i=v(t),u=g(v(t)),a=p(u),s=m(t),c="y"===i,f=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,y=l[a]/2-o[a]/2;switch(s){case"top":r={x:f,y:l.y-o.height};break;case"bottom":r={x:f,y:l.y+l.height};break;case"right":r={x:l.x+l.width,y:d};break;case"left":r={x:l.x-o.width,y:d};break;default:r={x:l.x,y:l.y}}switch(h(t)){case"start":r[u]-=y*(n&&c?-1:1);break;case"end":r[u]+=y*(n&&c?-1:1)}return r}let E=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:o=[],platform:i}=n,u=o.filter(Boolean),a=await (null==i.isRTL?void 0:i.isRTL(t)),s=await i.getElementRects({reference:e,floating:t,strategy:l}),{x:c,y:f}=x(s,r,a),d=r,m={},h=0;for(let n=0;n<u.length;n++){let{name:o,fn:g}=u[n],{x:p,y:v,data:y,reset:b}=await g({x:c,y:f,initialPlacement:r,placement:d,strategy:l,middlewareData:m,rects:s,platform:i,elements:{reference:e,floating:t}});c=null!=p?p:c,f=null!=v?v:f,m={...m,[o]:{...m[o],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:l}):b.rects),{x:c,y:f}=x(s,d,a)),n=-1)}return{x:c,y:f,placement:d,strategy:l,middlewareData:m}};async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:l,platform:o,rects:i,elements:u,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=d(t,e),g="number"!=typeof h?{top:0,right:0,bottom:0,left:0,...h}:{top:h,right:h,bottom:h,left:h},p=u[m?"floating"===f?"reference":"floating":f],v=w(await o.getClippingRect
1({element:null==(n=await (null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(u.floating)),boundary:s,rootBoundary:c,strategy:a})),y="floating"===f?{x:r,y:l,width:i.floating.width,height:i.floating.height}:i.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u.floating)),x=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},E=w(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:b,strategy:a}):y);return{top:(v.top-E.top+g.top)/x.y,bottom:(E.bottom-v.bottom+g.bottom)/x.y,left:(v.left-E.left+g.left)/x.x,right:(E.right-v.right+g.right)/x.x}}async function R(e,t){let{placement:n,platform:r,elements:l}=e,o=await (null==r.isRTL?void 0:r.isRTL(l.floating)),i=m(n),u=h(n),a="y"===v(n),s=["left","top"].includes(i)?-1:1,c=o&&a?-1:1,f=d(t,e),{mainAxis:g,crossAxis:p,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return u&&"number"==typeof y&&(p="end"===u?-1*y:y),a?{x:p*c,y:g*s}:{x:g*s,y:p*c}}function C(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function S(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function L(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return e instanceof Node||e instanceof S(e).Node}function M(e){return e instanceof Element||e instanceof S(e).Element}function P(e){return e instanceof HTMLElement||e instanceof S(e).HTMLElement}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof S(e).ShadowRoot)}function A(e){let{overflow:t,overflowX:n,overflowY:r,display:l}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(l)}function N(e){let t=H(),n=D(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function H(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function k(e){return["html","body","#document"].includes(C(e))}function D(e){return S(e).getComputedStyle(e)}function I(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function V(e){if("html"===C(e))return e;let t=e.assignedSlot||e.parentNode||O(e)&&e.host||L(e);return O(t)?t.host:t}function W(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let l=function e(t){let n=V(t);return k(n)?t.ownerDocument?t.ownerDocument.body:t.body:P(n)&&A(n)?n:e(n)}(e),o=l===(null==(r=e.ownerDocument)?void 0:r.body),i=S(l);return o?t.concat(i,i.visualViewport||[],A(l)?l:[],i.frameElement&&n?W(i.frameElement):[]):t.concat(l,W(l,[],n))}function _(e){let t=D(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,l=P(e),o=l?e.offsetWidth:n,i=l?e.offsetHeight:r,a=u(n)!==o||u(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function z(e){return M(e)?e:e.contextElement}function B(e){let t=z(e);
1if(!P(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:l,$:o}=_(t),i=(o?u(n.width):n.width)/r,a=(o?u(n.height):n.height)/l;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}let j=s(0);function G(e){let t=S(e);return H()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:j}function U(e,t,n,r){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),i=z(e),u=s(1);t&&(r?M(r)&&(u=B(r)):u=B(e));let a=(void 0===(l=n)&&(l=!1),r&&(!l||r===S(i))&&l)?G(i):s(0),c=(o.left+a.x)/u.x,f=(o.top+a.y)/u.y,d=o.width/u.x,m=o.height/u.y;if(i){let e=S(i),t=r&&M(r)?S(r):r,n=e,l=n.frameElement;for(;l&&r&&t!==n;){let e=B(l),t=l.getBoundingClientRect(),r=D(l),o=t.left+(l.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(l.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,m*=e.y,c+=o,f+=i,l=(n=S(l)).frameElement}}return w({width:d,height:m,x:c,y:f})}let Y=[":popover-open",":modal"];function Z(e){return Y.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function q(e){return U(L(e)).left+I(e).scrollLeft}function K(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=S(e),r=L(e),l=n.visualViewport,o=r.clientWidth,i=r.clientHeight,u=0,a=0;if(l){o=l.width,i=l.height;let e=H();(!e||e&&"fixed"===t)&&(u=l.offsetLeft,a=l.offsetTop)}return{width:o,height:i,x:u,y:a}}(e,n);else if("document"===t)r=function(e){let t=L(e),n=I(e),r=e.ownerDocument.body,l=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+q(e),a=-n.scrollTop;return"rtl"===D(r).direction&&(u+=i(t.clientWidth,r.clientWidth)-l),{width:l,height:o,x:u,y:a}}(L(e));else if(M(t))r=function(e,t){let n=U(e,!0,"fixed"===t),r=n.top+e.clientTop,l=n.left+e.clientLeft,o=P(e)?B(e):s(1),i=e.clientWidth*o.x;return{width:i,height:e.clientHeight*o.y,x:l*o.x,y:r*o.y}}(t,n);else{let n=G(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return w(r)}function J(e){return"static"===D(e).position}function X(e,t){return P(e)&&"fixed"!==D(e).position?t?t(e):e.offsetParent:null}function $(e,t){let n=S(e);if(Z(e))return n;if(!P(e)){let t=V(e);for(;t&&!k(t);){if(M(t)&&!J(t))return t;t=V(t)}return n}let r=X(e,t);for(;r&&["table","td","th"].includes(C(r))&&J(r);)r=X(r,t);return r&&k(r)&&J(r)&&!N(r)?n:r||function(e){let t=V(e);for(;P(t)&&!k(t);){if(N(t))return t;t=V(t)}return null}(e)||n}let Q=async function(e){let t=this.getOffsetParent||$,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=P(t),l=L(t),o="fixed"===n,i=U(e,!0,o,t),u={scrollLeft:0,scrollTop:0},a=s(0);if(r||!r&&!o){if(("body"!==C(t)||A(l))&&(u=I(t)),r){let e=U(t,!0,o,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else l&&(a.x=q(l))}return{x:i.left+u.scrollLeft-a.x,y:i.top+u.scrollTop-a.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ee={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:l}=e,o="fixed"===l,i=L(r),u=!!t&&Z(t.floating);if(r===i||u&&o)return n;let a={scrollLeft:0,scrollTop:0},c=s(1),f=s(0),d=P(r);if((d||!d&&!o)&&(("body"!==C(r)||A(i))&&(a=I(r)),P(r))){let e=U(r);c=B(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x,y:n.y*c.y-a.scrollTop*c.y+f.y}},getDocumentElement:L,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,u=[..."clippingAncestors"===n?Z(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=W(e,[],!1).filter(e=>M(e)&&"body"!==C(e)),l=null,o="fixed"===D(e).position,i=o?V(e):e;for(;M(i)&&!k(i);){let t=D(i),n=N(i);n||"fixed"!==t.position||(l=null),(o?!n&&!l:!n&&"static"===t.position&&!!l&&["absolute","fixed"].includes(l.position)||A(i)&&!n&&function e(t,n){let r=V(t);return!(r===n||!M(r)||k(r))&&("fixed"===D(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):l=t,i=V(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=u[0],s=u.reduce((e,n)=>{let r=K(t,n,l);return e.top=i(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=i(r.left,e.left),e},K(t,a,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:$,getElementRects:Q,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=_(e);return{width:t,height:n}},getScale:B,isElement:M,isRTL:function(e){return"rtl"===D(e).direction}};function et(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,m=z(e),h=u||s?[...m?W(m):[],...W(t)]:[];
1h.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let g=m&&f?function(e,t){let n,r=null,l=L(e);function u(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),u();let{left:d,top:m,width:h,height:g}=e.getBoundingClientRect();if(c||t(),!h||!g)return;let p=a(m),v=a(l.clientWidth-(d+h)),y={rootMargin:-p+"px "+-v+"px "+-a(l.clientHeight-(m+g))+"px "+-a(d)+"px",threshold:i(0,o(1,f))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==f){if(!b)return s();t?s(!1,t):n=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{r=new IntersectionObserver(w,{...y,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),u}(m,n):null,p=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),m&&!d&&v.observe(m),v.observe(t));let y=d?U(e):null;return d&&function t(){let r=U(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{u&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(l)}}let en=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:l,y:o,placement:i,middlewareData:u}=t,a=await R(t,e);return i===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:l+a.x,y:o+a.y,data:{...a,placement:i}}}}},er=(e,t,n)=>{let r=new Map,l={platform:ee,...n},o={...l.platform,_c:r};return E(e,t,{...l,platform:o})};var el=n(43176),eo="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function ei(e,t){let n,r,l;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ei(e[r],t[r]))return!1;return!0}if((n=(l=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,l[r]))return!1;for(r=n;0!=r--;){let n=l[r];if(("_owner"!==n||!e.$$typeof)&&!ei(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eu(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ea(e,t){let n=eu(e);return Math.round(t*n)/n}function es(e){let t=r.useRef(e);return eo(()=>{t.current=e}),t}let ec={...l},ef=ec.useInsertionEffect||(e=>e());function ed(e){let t=r.useRef(()=>{});return ef(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var em="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;let eh=!1,eg=0,ep=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+eg++,ev=ec.useId||function(){let[e,t]=r.useState(()=>eh?ep():void 0);return em(()=>{null==e&&t(ep())},[]),r.useEffect(()=>{eh=!0},[]),e},ey=r.createContext(null),eb=r.createContext(null),ew=()=>{var e;return(null==(e=r.useContext(ey))?void 0:e.id)||null},ex=()=>r.useContext(eb),eE="active",eT="selected";function eR(e,t,n){let r=new Map,l="item"===n,o=e;if(l&&e){let{[eE]:t,[eT]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1},...o,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(!(l&&[eE,eT].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var i;null==(i=r.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,l=Array(t),o=0;o<t;o++)l[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...l)).find(e=>void 0!==e)}}}else e[n]=o}}),e),{})}}function eC(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let eS=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:l,offset:o=0,index:i=0,minItemsVisible:u=4,referenceOverflowThreshold:a=0,scrollRef:s,...c}=e,{rects:f,elements:{floating:d}}=t,m=n.current[i];if(!m)return{};let h={...t,...await en(-m.offsetTop-d.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},g=(null==s?void 0:s.current)||d,p=await T(eC(h,g.scrollHeight),c),v=await T(h,{...c,elementContext:"reference"}),y=Math.max(0,p.top),b=h.y+y,w=Math.max(0,g.scrollHeight-y-Math.max(0,p.bottom));return g.style.maxHeight=w+"px",g.scrollTop=y,l&&(g.offsetHeight<m.offsetHeight*Math.min(u,n.current.length-1)-1||v.top>=-a||v.bottom>=-a?(0,el.flushSync)(()=>l(!0)):(0,el.flushSync)(()=>l(!1))),r&&(r.current=await T(eC({...h,y:b},g.offsetHeight),c)),{y:b}}});var eL=n(44237),eF=n(91842),eM=n(46096);let eP=(0,r.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});eP.displayName="FloatingContext";let eO=(0,r.createContext)(null);function eA(e){return(0,r.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function eN(){return(0,r.useContext)(eP).setReference}function eH(){return(0,r.useContext)(eP).getReferenceProps}function ek(){let{getFloatingProps:e,slot:t}=(0,r.useContext)(eP);return(0,r.useCallback)(function(){for(var n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return Object.assign({},e(...r),{"data-anchor":t.anchor})},[e,t])}function eD(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,r.useContext)(eO),n=(0,r.useMemo)(()=>e,[JSON.stringify(e,"undefined"!=typeof HTMLElement?(e,t)=>t instanceof HTMLElement?t.outerHTML:t:void 0)]);(0,eM.e)(()=>{null==t||t(null!=n?n:null)},[t,n]);let l=(0,r.useContext)(eP);return(0,r.useMemo)(()=>[l.setFloating,e?l.styles:{}],[l.setFloating,e,l.styles])}function eI(e){var t,n,l,u,a,s;let c,f,w;let{children:x,enabled:E=!0}=e,[R,C]=(0,r.useState)(null),[S,L]=(0,r.useState)(0),F=(0,r.useRef)(null),[P,O]=(0,r.useState)(null);(0,eM.e)(()=>
1{if(!P)return;let e=new MutationObserver(()=>{let e=P.style.maxHeight;parseFloat(e)!==parseInt(e)&&(P.style.maxHeight="".concat(Math.ceil(parseFloat(e)),"px"))});return e.observe(P,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[P]);let A=E&&null!==R&&null!==P,{to:N="bottom",gap:H=0,offset:k=0,padding:D=0,inner:I}=(c=eV(null!=(u=null==R?void 0:R.gap)?u:"var(--anchor-gap, 0)",P),f=eV(null!=(a=null==R?void 0:R.offset)?a:"var(--anchor-offset, 0)",P),w=eV(null!=(s=null==R?void 0:R.padding)?s:"var(--anchor-padding, 0)",P),{...R,gap:c,offset:f,padding:w}),[V,W="center"]=N.split(" ");(0,eM.e)(()=>{A&&L(0)},[A]);let{refs:_,floatingStyles:z,context:B}=function(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:l,nodeId:o}=e,[i,u]=r.useState(null),[a,s]=r.useState(null),c=(null==(t=e.elements)?void 0:t.reference)||i;em(()=>{c&&(g.current=c)},[c]);let f=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:l=[],platform:o,elements:{reference:i,floating:u}={},transform:a=!0,whileElementsMounted:s,open:c}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=r.useState(l);ei(m,l)||h(l);let[g,p]=r.useState(null),[v,y]=r.useState(null),b=r.useCallback(e=>{e!==T.current&&(T.current=e,p(e))},[]),w=r.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=i||g,E=u||v,T=r.useRef(null),R=r.useRef(null),C=r.useRef(f),S=null!=s,L=es(s),F=es(o),M=r.useCallback(()=>{if(!T.current||!R.current)return;let e={placement:t,strategy:n,middleware:m};F.current&&(e.platform=F.current),er(T.current,R.current,e).then(e=>{let t={...e,isPositioned:!0};P.current&&!ei(C.current,t)&&(C.current=t,el.flushSync(()=>{d(t)}))})},[m,t,n,F]);eo(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let P=r.useRef(!1);eo(()=>(P.current=!0,()=>{P.current=!1}),[]),eo(()=>{if(x&&(T.current=x),E&&(R.current=E),x&&E){if(L.current)return L.current(x,E,M);M()}},[x,E,M,L,S]);let O=r.useMemo(()=>({reference:T,floating:R,setReference:b,setFloating:w}),[b,w]),A=r.useMemo(()=>({reference:x,floating:E}),[x,E]),N=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!A.floating)return e;let t=ea(A.floating,f.x),r=ea(A.floating,f.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eu(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,A.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:M,refs:O,elements:A,floatingStyles:N}),[f,M,O,A,N])}({...e,elements:{...e.elements,...a&&{reference:a}}}),d=ex(),m=null!=ew(),h=ed((e,t,n)=>{p.current.openEvent=e?t:void 0,v.emit("openchange",{open:e,event:t,reason:n,nested:m}),null==l||l(e,t,n)}),g=r.useRef(null),p=r.useRef({}),v=r.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],y=ev(),b=r.useCallback(e=>{let t=M(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),f.refs.setReference(t)},[f.refs]),w=r.useCallback(e=>{(M(e)||null===e)&&(g.current=e,u(e)),(M(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!M(e))&&f.refs.setReference(e)},[f.refs]),x=r.useMemo(()=>({...f.refs,setReference:w,setPositionReference:b,domReference:g}),[f.refs,w,b]),E=r.useMemo(()=>({...f.elements,domReference:c}),[f.elements,c]),T=r.useMemo(()=>({...f,refs:x,elements:E,dataRef:p,nodeId:o,floatingId:y,events:v,open:n,onOpenChange:h}),[f,o,y,v,n,h,x,E]);return em(()=>{let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===o);e&&(e.context=T)}),r.useMemo(()=>({...f,context:T,refs:x,elements:E}),[f,x,E,T])}({open:A,placement:"selection"===V?"center"===W?"bottom":"bottom-".concat(W):"center"===W?"".concat(V):"".concat(V,"-").concat(W),strategy:"absolute",transform:!1,middleware:[en({mainAxis:"selection"===V?0:H,crossAxis:k}),{name:"shift",options:t={padding:D},async fn(e){let{x:n,y:r,placement:l}=e,{mainAxis:u=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(t,e),f={x:n,y:r},h=await T(e,c),p=v(m(l)),y=g(p),b=f[y],w=f[p];if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+h[e],r=b-h[t];b=i(n,o(b,r))}
1if(a){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=w+h[e],r=w-h[t];w=i(n,o(w,r))}let x=s.fn({...e,[y]:b,[p]:w});return{...x,data:{x:x.x-n,y:x.y-r}}}},"selection"!==V&&{name:"flip",options:n={padding:D},async fn(e){var t,r,l,o,i;let{placement:u,middlewareData:a,rects:s,initialPlacement:c,platform:f,elements:w}=e,{mainAxis:x=!0,crossAxis:E=!0,fallbackPlacements:R,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:L=!0,...F}=d(n,e);if(null!=(t=a.arrow)&&t.alignmentOffset)return{};let M=m(u),P=m(c)===c,O=await (null==f.isRTL?void 0:f.isRTL(w.floating)),A=R||(P||!L?[b(c)]:function(e){let t=b(e);return[y(e),t,y(t)]}(c));R||"none"===S||A.push(...function(e,t,n,r){let l=h(e),o=function(e,t,n){let r=["left","right"],l=["right","left"];switch(e){case"top":case"bottom":if(n)return t?l:r;return t?r:l;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(m(e),"start"===n,r);return l&&(o=o.map(e=>e+"-"+l),t&&(o=o.concat(o.map(y)))),o}(c,L,S,O));let N=[c,...A],H=await T(e,F),k=[],D=(null==(r=a.flip)?void 0:r.overflows)||[];if(x&&k.push(H[M]),E){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),l=g(v(e)),o=p(l),i="x"===l?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=b(i)),[i,b(i)]}(u,s,O);k.push(H[e[0]],H[e[1]])}if(D=[...D,{placement:u,overflows:k}],!k.every(e=>e<=0)){let e=((null==(l=a.flip)?void 0:l.index)||0)+1,t=N[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(o=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(i=D.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=c}if(u!==n)return{reset:{placement:n}}}return{}}},"selection"===V&&I?eS({...I,padding:D,overflowRef:F,offset:S,minItemsVisible:4,referenceOverflowThreshold:D,onFallbackChange(e){var t,n;if(!e)return;let r=B.elements.floating;if(!r)return;let l=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,o=Math.min(4,r.childElementCount),i=0,u=0;for(let e of null!=(n=null==(t=B.elements.floating)?void 0:t.childNodes)?n:[])if(e instanceof HTMLElement){let t=e.offsetTop,n=t+e.clientHeight+l,a=r.scrollTop,s=a+r.clientHeight;if(t>=a&&n<=s)o--;else{u=Math.max(0,Math.min(n,s)-Math.max(t,a)),i=e.clientHeight;break}}o>=1&&L(e=>{let t=i*o-u+l;return e>=t?e:t})}}):null,{name:"size",options:l={padding:D,apply(e){let{availableWidth:t,availableHeight:n,elements:r}=e;Object.assign(r.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(n,"px)")})}},async fn(e){let t,n;let{placement:r,rects:u,platform:a,elements:s}=e,{apply:c=()=>{},...f}=d(l,e),g=await T(e,f),p=m(r),y=h(r),b="y"===v(r),{width:w,height:x}=u.floating;"top"===p||"bottom"===p?(t=p,n=y===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(n=p,t="end"===y?"top":"bottom");let E=x-g[t],R=w-g[n],C=!e.middlewareData.shift,S=E,L=R;if(b){let e=w-g.left-g.right;L=y||C?o(R,e):e}else{let e=x-g.top-g.bottom;S=y||C?o(E,e):e}if(C&&!y){let e=i(g.left,0),t=i(g.right,0),n=i(g.top,0),r=i(g.bottom,0);b?L=w-2*(0!==e||0!==t?e+t:i(g.left,g.right)):S=x-2*(0!==n||0!==r?n+r:i(g.top,g.bottom))}await c({...e,availableWidth:L,availableHeight:S});let F=await a.getDimensions(s.floating);return w!==F.width||x!==F.height?{reset:{rects:!0}}:{}}}].filter(Boolean),whileElementsMounted:et}),[j=V,G=W]=B.placement.split("-");"selection"===V&&(j="selection");let U=(0,r.useMemo)(()=>({anchor:[j,G].filter(Boolean).join(" ")}),[j,G]),{getReferenceProps:Y,getFloatingProps:Z}=function(e){void 0===e&&(e=[]);let t=e,n=r.useCallback(t=>eR(t,e,"reference"),t),l=r.useCallback(t=>eR(t,e,"floating"),t),o=r.useCallback(t=>eR(t,e,"item"),e.map(e=>null==e?void 0:e.item));return r.useMemo(()=>({getReferenceProps:n,getFloatingProps:l,getItemProps:o}),[n,l,o])}([function(e,t){let{open:n,elements:l}
1=e,{enabled:o=!0,overflowRef:i,scrollRef:u,onChange:a}=t,s=ed(a),c=r.useRef(!1),f=r.useRef(null),d=r.useRef(null);return r.useEffect(()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;let n=e.deltaY,r=i.current.top>=-.5,l=i.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,u=n<0?-1:1,a=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!l&&n<0?(e.preventDefault(),(0,el.flushSync)(()=>{s(e=>e+Math[a](n,o*u))})):/firefox/i.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}())&&(t.scrollTop+=n))}let t=(null==u?void 0:u.current)||l.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{f.current=t.scrollTop,null!=i.current&&(d.current={...i.current})}),()=>{f.current=null,d.current=null,t.removeEventListener("wheel",e)}},[o,n,l.floating,i,u,s]),r.useMemo(()=>o?{floating:{onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){let e=(null==u?void 0:u.current)||l.floating;if(i.current&&e&&c.current){if(null!==f.current){let t=e.scrollTop-f.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&(0,el.flushSync)(()=>s(e=>e+t))}requestAnimationFrame(()=>{f.current=e.scrollTop})}}}}:{},[o,i,l.floating,u,s])}(B,{overflowRef:F,onChange:L})]),q=(0,eF.z)(e=>{O(e),_.setFloating(e)});return r.createElement(eO.Provider,{value:C},r.createElement(eP.Provider,{value:{setFloating:q,setReference:_.setReference,styles:z,getReferenceProps:Y,getFloatingProps:Z,slot:U}},x))}function eV(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,l=(0,eL.G)(),o=(0,eF.z)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let r=eW(e,t);return[r,n=>{let o=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),l=n[1].slice(t+1).trim();return l?[r,...e(l)]:[r]}return[]}(e);{let i=o.map(e=>window.getComputedStyle(t).getPropertyValue(e));l.requestAnimationFrame(function u(){l.nextFrame(u);let a=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(i[e]!==r){i[e]=r,a=!0;break}}if(!a)return;let s=eW(e,t);r!==s&&(n(s),r=s)})}return l.dispose}]}return[n,null]}),i=(0,r.useMemo)(()=>o(e,t)[0],[e,t]),[u=i,a]=(0,r.useState)();return(0,eM.e)(()=>{let[n,r]=o(e,t);if(a(n),r)return r(a)},[e,t]),u}function eW(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}eO.displayName="PlacementContext"},85609:function(e,t,n){let r;n.d(t,{ZM:function(){return i},oJ:function(){return u},up:function(){return a}});var l=n(16913);let o=(0,l.createContext)(null);o.displayName="OpenClosedContext";var i=((r=i||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function u(){return(0,l.useContext)(o)}function a(e){let{value:t,children:n}=e;return l.createElement(o.Provider,{value:t},n)}},1024:function(e,t,n){let r,l,o,i,u;n.d(t,{EO:function(){return E},GO:function(){return p},TO:function(){return m},fE:function(){return h},jA:function(){return T},sP:function(){return y},tJ:function(){return v},wI:function(){return b},z2:function(){return x}});var a=n(6664),s=n(79367),c=n(67733);let f=["[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(","),d=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var m=((r=m||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r[r.AutoFocus=64]="AutoFocus",r),h=((l=h||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),g=((o=g||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(f)).sort((e,t)=>
1Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var v=((i=v||{})[i.Strict=0]="Strict",i[i.Loose=1]="Loose",i);function y(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,c.r)(e))?void 0:t.body)&&(0,s.E)(n,{0:()=>e.matches(f),1(){let t=e;for(;null!==t;){if(t.matches(f))return!0;t=t.parentElement}return!1}})}function b(e){let t=(0,c.r)(e);(0,a.k)().nextFrame(()=>{t&&!y(t.activeElement,0)&&(null==e||e.focus({preventScroll:!0}))})}var w=((u=w||{})[u.Keyboard=0]="Keyboard",u[u.Mouse=1]="Mouse",u);function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),l=t(n);if(null===r||null===l)return 0;let o=r.compareDocumentPosition(l);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E(e,t){return T(p(),t,{relativeTo:e})}function T(e,t){var n,r,l;let{sorted:o=!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)?o?x(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(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):p(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")})(),f=(()=>{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")})(),m=32&t?{preventScroll:!0}:{},h=0,g=s.length,v;do{if(h>=g||h+g<=0)return 0;let e=f+h;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(v=s[e])||v.focus(m),h+=c}while(v!==a.activeElement);return 6&t&&null!=(l=null==(r=null==(n=v)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&l&&v.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},58436:function(e,t,n){function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function l(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return l}})},54999:function(e,t,n){var r=n(16913);let l=r.forwardRef(function(e,t){let{title:n,titleId:l,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),n?r.createElement("title",{id:l},n):null,r.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});t.Z=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.