1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,437964,(e,t,n)=>{t.exports=e.r(889123)},803248,e=>{"use strict";var t=Object.defineProperty,n=(e,n,r)=>{let i;return(i="symbol"!=typeof n?n+"":n)in e?t(e,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[i]=r,r};let r=new class{constructor(){n(this,"current",this.detect()),n(this,"handoffState","pending"),n(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};e.s(["env",()=>r])},814457,e=>{"use strict";var t=e.i(996682);let n=(0,t.createContext)(void 0);function r(){return(0,t.useContext)(n)}e.s(["useDisabled",()=>r])},577888,562257,629966,297312,612261,942208,e=>{"use strict";let t,n;var r=e.i(996682),i=e.i(803248);let o=(e,t)=>{i.env.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function l(e){let t=(0,r.useRef)(e);return o(()=>{t.current=e},[e]),t}e.s(["useIsoMorphicEffect",()=>o],562257),e.s(["useLatestValue",()=>l],629966);let s=function(e){let t=l(e);return r.default.useCallback((...e)=>t.current(...e),[t])};function a(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function u(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,u),r}e.s(["useEvent",()=>s],577888),e.s(["classNames",()=>a],297312),e.s(["match",()=>u],612261);var c=((t=c||{})[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t),f=((n=f||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function d(){let e,t,n=(e=(0,r.useRef)([]),t=(0,r.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),(...n)=>{if(!n.every(e=>null==e))return e.current=n,t});return(0,r.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:l,mergeRefs:s}){s=null!=s?s:m;let a=h(t,e);if(o)return p(a,n,r,l,s);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=a;if(e)return p(t,n,r,l,s)}if(1&c){let{unmount:e=!0,...t}=a;return u(+!e,{0:()=>null,1:()=>p({...t,hidden:!0,style:{display:"none"}},n,r,l,s)})}return p(a,n,r,l,s)})({mergeRefs:n,...e}),[n])}function p(e,t={},n,i,o){let{as:l=n,children:s,refName:u="ref",...c}=b(e,["unmount","static"]),f=void 0!==e.ref?{[u]:e.ref}:{},d="function"==typeof s?s(t):s;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let m={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(m["data-headlessui-state"]=n.join(" "),n))m[`data-${e}`]=""}if(l===r.Fragment&&(Object.keys(y(c)).length>0||Object.keys(y(m)).length>0))if(!(0,r.isValidElement)(d)||Array.isArray(d)&&d.length>1){if(Object.keys(y(c)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(y(c)).concat(Object.keys(y(m))).map(e=>` - ${e}`).join(` 2`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 3`)].join(` 4`))}else{var g;let e=d.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>a(t(...e),c.className):a(t,c.className),i=h(d.props,y(b(c,["ref"])));for(let e in m)e in i&&delete m[e];return(0,r.cloneElement)(d,Object.assign({},i,m,f,{ref:o((g=d,r.default.version.split(".")[0]>="19"?g.props.ref:g.ref),f.ref)},n?{className:n}:{}))}return(0,r.createElement)(l,Object.assign({},b(c,["ref"]),l!==r.Fragment&&f,l!==r.Fragment&&m),d)}function m(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function h(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function g(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){for(let r of n[e])null==r||r(...t)}});return t}function v(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function y(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function b(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}e.s(["RenderFeatures",()=>c,"RenderStrategy",()=>f,"compact",()=>y,"forwardRefWithAs",()=>v,"mergeProps",()=>g,"useRender",()=>d],942208)},522374,e=>{"use strict";var t=e.i(996682),n=e.i(577888),r=e.i(562257),i=e.i(475034),o=e.i(814457),l=e.i(942208);let s=(0,t.createContext)(null);function a(){var e,n;return null!=(n=null==(e=(0,t.useContext)(s))?void 0:e.value)?n:void 0}function u(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)(()=>function(e){let i=(0,n.useEvent)(e=>
4(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),o=(0,t.useMemo)(()=>({register:i,slot:e.slot,name:e.name,props:e.props,value:e.value}),[i,e.slot,e.name,e.props,e.value]);return t.default.createElement(s.Provider,{value:o},e.children)},[r])]}s.displayName="DescriptionContext";let c=Object.assign((0,l.forwardRefWithAs)(function(e,n){let a=(0,t.useId)(),u=(0,o.useDisabled)(),{id:c=`headlessui-description-${a}`,...f}=e,d=function e(){let n=(0,t.useContext)(s);if(null===n){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return n}(),p=(0,i.useSyncRefs)(n);(0,r.useIsoMorphicEffect)(()=>d.register(c),[c,d.register]);let m=u||!1,h=(0,t.useMemo)(()=>({...d.slot,disabled:m}),[d.slot,m]),g={ref:p,...d.props,id:c};return(0,l.useRender)()({ourProps:g,theirProps:f,slot:h,defaultTag:"p",name:d.name||"Description"})}),{});e.s(["Description",()=>c,"useDescribedBy",()=>a,"useDescriptions",()=>u])},475034,585216,e=>{"use strict";let t;var n=e.i(996682),r=e.i(577888);let i=Symbol();function o(e,t=!0){return Object.assign(e,{[i]:t})}function l(...e){let t=(0,n.useRef)(e);(0,n.useEffect)(()=>{t.current=e},[e]);let o=(0,r.useEvent)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[i]))?void 0:o}e.s(["optionalRef",()=>o,"useSyncRefs",()=>l],475034);var s=((t=s||{}).Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t);e.s(["Keys",()=>s],585216)},277887,838101,e=>{"use strict";function t(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}e.s(["microTask",()=>t],838101),e.s(["disposables",()=>function e(){let n=[],r={addEventListener:(e,t,n,i)=>(e.addEventListener(t,n,i),r.add(()=>e.removeEventListener(t,n,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>r.requestAnimationFrame(()=>r.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return r.add(()=>clearTimeout(t))},microTask(...e){let n={current:!0};return t(()=>{n.current&&e[0]()}),r.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(n.includes(e)||n.push(e),()=>{let t=n.indexOf(e);if(t>=0)for(let e of n.splice(t,1))e()}),dispose(){for(let e of n.splice(0))e()}};return r}],277887)},691363,(e,t,n)=>{"use strict";var r=e.r(996682),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,l=r.useRef,s=r.useEffect,a=r.useMemo,u=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var p=o(e,(f=a(function(){function e(e){if(!s){if(s=!0,o=e,e=r(e),void 0!==c&&d.hasValue){var t=d.value;if(c(t,e))return l=t}return l=e}if(t=l,i(o,e))return t;var n=r(e);return void 0!==c&&c(t,n)?(o=e,t):(o=e,l=n)}var o,l,s=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,c]))[0],f[1]);return s(function(){d.hasValue=!0,d.value=p},[p]),u(p),p}},495460,(e,t,n)=>{"use strict";t.exports=e.r(691363)},995092,e=>{"use strict";var t=e.i(803248);function n(e){var n,r;return t.env.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(r=null==(n=e.current)?void 0:n.ownerDocument)?r:document:null:document}e.s(["getOwnerDocument",()=>n])},198925,914671,e=>{"use strict";let t,n,r,i,o;function l(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function s(e){return l(e)&&"tagName"in e}function a(e){return s(e)&&"accessKey"in e}function u(e){return s(e)&&"tabIndex"in e}function c(e){return s(e)&&"style"in e}
4function f(e){return a(e)&&"IFRAME"===e.nodeName}function d(e){return a(e)&&"INPUT"===e.nodeName}function p(e){return a(e)&&"LABEL"===e.nodeName}function m(e){return a(e)&&"FIELDSET"===e.nodeName}function h(e){return a(e)&&"LEGEND"===e.nodeName}function g(e){return!!s(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')}e.s(["hasInlineStyle",()=>c,"isElement",()=>s,"isHTMLElement",()=>a,"isHTMLFieldSetElement",()=>m,"isHTMLIframeElement",()=>f,"isHTMLInputElement",()=>d,"isHTMLLabelElement",()=>p,"isHTMLLegendElement",()=>h,"isHTMLorSVGElement",()=>u,"isInteractiveElement",()=>g,"isNode",()=>l],198925);var v=e.i(277887),y=e.i(612261),b=e.i(995092);let w=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),E=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var x=((t=x||{})[t.First=1]="First",t[t.Previous=2]="Previous",t[t.Next=4]="Next",t[t.Last=8]="Last",t[t.WrapAround=16]="WrapAround",t[t.NoScroll=32]="NoScroll",t[t.AutoFocus=64]="AutoFocus",t),S=((n=S||{})[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n),A=((r=A||{})[r.Previous=-1]="Previous",r[r.Next=1]="Next",r);function O(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(w)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var T=((i=T||{})[i.Strict=0]="Strict",i[i.Loose=1]="Loose",i);function R(e,t=0){var n;return e!==(null==(n=(0,b.getOwnerDocument)(e))?void 0:n.body)&&(0,y.match)(t,{0:()=>e.matches(w),1(){let t=e;for(;null!==t;){if(t.matches(w))return!0;t=t.parentElement}return!1}})}function L(e){let t=(0,b.getOwnerDocument)(e);(0,v.disposables)().nextFrame(()=>{t&&u(t.activeElement)&&!R(t.activeElement,0)&&C(e)})}var P=((o=P||{})[o.Keyboard=0]="Keyboard",o[o.Mouse=1]="Mouse",o);function C(e){null==e||e.focus({preventScroll:!0})}function F(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function k(e,t){return M(O(),t,{relativeTo:e})}function M(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var o,l,s;let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?F(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(E)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):O(e);i.length>0&&u.length>1&&(u=u.filter(e=>!i.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),r=null!=r?r: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,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,m=u.length,h;do{if(p>=m||p+m<=0)return 0;let e=f+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(h=u[e])||h.focus(d),p+=c}while(h!==a.activeElement)return 6&t&&null!=(s=null==(l=null==(o=h)?void 0:o.matches)?void 0:l.call(o,"textarea,input"))&&s&&h.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)),e.s(["Focus",()=>x,"FocusResult",()=>S,"FocusableMode",()=>T,"focusElement",()=>C,"focusFrom",()=>k,"focusIn",()=>M,"focusableSelector",()=>w,"isFocusableElement",()=>R,"restoreFocusIfNecessary",()=>L,"sortByDomNode",()=>F],914671)},763394,e=>{"use strict";let t;var n=e.i(942208),r=((t=r||{})[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t);let i=(0,n.forwardRefWithAs)(function(e,t){var r;let{features:i=1,...o}=e,l={ref:t,"aria-hidden":(2&i)==2||(null!=(r=o["aria-hidden"])?r:void 0),hidden:(4&i)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&i)==4&&(2&i)!=2&&{display:"none"}}};return(0,n.useRender)()({ourProps:l,theirProps:o,slot:{},defaultTag:"span",name:"Hidden"})});e.s(["Hidden",()=>i,"HiddenFeatures",()=>r])},102439,40109,509506,685330,828050,632018,629899,810510,323697,168279,129854,77563,e=>{"use strict";let t,n,r;var i,o,l,s,a,u=e.i(277887),c=e.i(995092),f=e.i(996682);class d extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var p=e.i(803248),m=Object.defineProperty,h=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},g=(e,t,n)=>(h(e,t,"read from private field"),n?n.call(e):t.get(e)),v=(e,t,n
4)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},y=(e,t,n,r)=>(h(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class b{constructor(e){v(this,l,{}),v(this,s,new d(()=>new Set)),v(this,a,new Set),((e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?m(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(this,"disposables",(0,u.disposables)()),y(this,l,e),p.env.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return g(this,l)}subscribe(e,t){if(p.env.isServer)return()=>{};let n={selector:e,callback:t,current:e(g(this,l))};return g(this,a).add(n),this.disposables.add(()=>{g(this,a).delete(n)})}on(e,t){return p.env.isServer?()=>{}:(g(this,s).get(e).add(t),this.disposables.add(()=>{g(this,s).get(e).delete(t)}))}send(e){let t=this.reduce(g(this,l),e);if(t!==g(this,l)){for(let e of(y(this,l,t),g(this,a))){let t=e.selector(g(this,l));w(e.current,t)||(e.current=t,e.callback(t))}for(let t of g(this,s).get(e.type))t(g(this,l),e)}}}function w(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&E(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&E(e.entries(),t.entries()):!!(x(e)&&x(t))&&E(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function E(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function x(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function S(e){let[t,n]=e(),r=(0,u.disposables)();return(...e)=>{t(...e),r.dispose(),r.microTask(n)}}l=new WeakMap,s=new WeakMap,a=new WeakMap,e.s(["Machine",()=>b,"batch",()=>S,"shallowEqual",()=>w],40109);var A=e.i(612261),O=Object.defineProperty,T=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?O(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n},R=((t=R||{})[t.Push=0]="Push",t[t.Pop=1]="Pop",t);let L={0(e,t){let n=t.id,r=e.stack,i=e.stack.indexOf(n);if(-1!==i){let t=e.stack.slice();return t.splice(i,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(-1===r)return e;let i=e.stack.slice();return i.splice(r,1),{...e,stack:i}}};class P extends b{constructor(){super(...arguments),T(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),T(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new P({stack:[]})}reduce(e,t){return(0,A.match)(t.type,L,e,t)}}let C=new d(()=>P.new());e.s(["ActionTypes",()=>R,"stackMachines",()=>C],509506);var F=e.i(495460),k=e.i(577888);function M(e,t,n=w){return(0,F.useSyncExternalStoreWithSelector)((0,k.useEvent)(t=>e.subscribe(N,t)),(0,k.useEvent)(()=>e.state),(0,k.useEvent)(()=>e.state),(0,k.useEvent)(t),n)}function N(e){return e}e.s(["useSlice",()=>M],685330);var D=e.i(562257);function j(e,t){let n=(0,f.useId)(),r=C.get(t),[i,o]=M(r,(0,f.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return(0,D.useIsoMorphicEffect)(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),!!e&&(!o||i)}e.s(["useIsTopLayer",()=>j],828050);let I=new Map,H=new Map;function W(e){var t;let n=null!=(t=H.get(e))?t:0;return H.set(e,n+1),0!==n||(I.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=H.get(e))?t:1;if(1===n?H.delete(e):H.set(e,n-1),1!==n)return;let r=I.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,I.delete(e))})(e)}function V(e,{allowed:t,disallowed:n}={}){let r=j(e,"inert-others");(0,D.useIsoMorphicEffect)(()=>{var e,i;if(!r)return;let o=(0,u.disposables)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(W(t));let l=null!=(i=null==t?void 0:t())?i:[];for(let e of l){if(!e)continue;let t=(0,c.getOwnerDocument)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)l.some(t=>e.contains(t))||o.add(W(e));n=n.parentElement}}return o.dispose},[r,t,n])}e.s(["useInertOthers",()=>V],102439);var B=e.i(198925),U=e.i(629966);function _(e,t,n){let r=(0,U.useLatestValue)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,f.useEffect)(()=>
4{if(!e)return;let n=null===t?null:B.isHTMLElement(t)?t:t.current;if(!n)return;let i=(0,u.disposables)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}return()=>i.dispose()},[t,r,e])}e.s(["useOnDisappear",()=>_],632018);var G=e.i(914671);function $(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function q(){return $()||/Android/gi.test(window.navigator.userAgent)}function K(e,t,n,r){let i=(0,U.useLatestValue)(n);(0,f.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){i.current(e)}},[e,t,r])}function z(e,t,n,r){let i=(0,U.useLatestValue)(n);(0,f.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){i.current(e)}},[e,t,r])}function Y(e,t,n){let r=(0,U.useLatestValue)(n),i=(0,f.useCallback)(function(e,n){if(e.defaultPrevented)return;let i=n(e);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(i)||e.composed&&e.composedPath().includes(n)))return;return(0,G.isFocusableElement)(i,G.FocusableMode.Loose)||-1===i.tabIndex||e.preventDefault(),r.current(e,i)}},[r,t]),o=(0,f.useRef)(null);K(e,"pointerdown",e=>{var t,n;q()||(o.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),K(e,"pointerup",e=>{if(q()||!o.current)return;let t=o.current;return o.current=null,i(e,()=>t)},!0);let l=(0,f.useRef)({x:0,y:0});K(e,"touchstart",e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY},!0),K(e,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-l.current.x)>=30||Math.abs(t.y-l.current.y)>=30))return i(e,()=>B.isHTMLorSVGElement(e.target)?e.target:null)},!0),z(e,"blur",e=>i(e,()=>B.isHTMLIframeElement(window.document.activeElement)?window.document.activeElement:null),!0)}function X(...e){return(0,f.useMemo)(()=>(0,c.getOwnerDocument)(...e),[...e])}e.s(["isIOS",()=>$,"isMobile",()=>q],629899),e.s(["useDocumentEvent",()=>K],810510),e.s(["useWindowEvent",()=>z],323697),e.s(["useOutsideClick",()=>Y],168279),e.s(["useOwnerDocument",()=>X],129854);let Z=(i=()=>new Map,o={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,u.disposables)(),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({doc:e,d:t,meta:n}){let r,i={doc:e,d:t,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(n)},o=[$()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,u.disposables)();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let i=null!=(n=window.scrollY)?n:window.pageYOffset,o=null;t.addEventListener(e,"click",t=>{if(B.isHTMLorSVGElement(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:i}=new URL(n.href),l=e.querySelector(i);B.isHTMLorSVGElement(l)&&!r(l)&&(o=l)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{if(B.isHTMLorSVGElement(e.target)&&B.hasInlineStyle(e.target))if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")}),t.addEventListener(e,"touchmove",e=>{if(B.isHTMLorSVGElement(e.target)&&!B.isHTMLInputElement(e.target))if(r(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}),t.add(()=>{var e;i!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before({doc:e}){var t;let n=e.documentElement;
4r=Math.max(0,(null!=(t=e.defaultView)?t:window).innerWidth-n.clientWidth)},after({doc:e,d:t}){let n=e.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),o=Math.max(0,r-i);t.style(n,"paddingRight",`${o}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach(({before:e})=>null==e?void 0:e(i)),o.forEach(({after:e})=>null==e?void 0:e(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},n=i(),r=new Set,{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...t){let i=o[e].call(n,...t);i&&(n=i,r.forEach(e=>e()))}});function J(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let r=(0,f.useSyncExternalStore)(Z.subscribe,Z.getSnapshot,Z.getSnapshot),i=t?r.get(t):void 0;i&&i.count,(0,D.useIsoMorphicEffect)(()=>{if(!(!t||!e))return Z.dispatch("PUSH",t,n),()=>Z.dispatch("POP",t,n)},[e,t])}(j(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}Z.subscribe(()=>{let e=Z.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)&&Z.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&Z.dispatch("TEARDOWN",n)}}),e.s(["useScrollLock",()=>J],77563)},996775,e=>{"use strict";var t=e.i(996682),n=e.i(803248);function r(){let e,r=(e="undefined"==typeof document,"useSyncExternalStore"in t&&(0,t.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[i,o]=t.useState(n.env.isHandoffComplete);return i&&!1===n.env.isHandoffComplete&&o(!1),t.useEffect(()=>{!0!==i&&o(!0)},[i]),t.useEffect(()=>n.env.handoff(),[]),!r&&i}e.s(["useServerHandoffComplete",()=>r])},812897,e=>{"use strict";let t;var n=e.i(996682);let r=(0,n.createContext)(null);r.displayName="OpenClosedContext";var i=((t=i||{})[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t);function o(){return(0,n.useContext)(r)}function l({value:e,children:t}){return n.default.createElement(r.Provider,{value:e},t)}function s({children:e}){return n.default.createElement(r.Provider,{value:null},e)}e.s(["OpenClosedProvider",()=>l,"ResetOpenClosedProvider",()=>s,"State",()=>i,"useOpenClosed",()=>o])},493369,e=>{"use strict";var t=e.i(996682);let n=(0,t.createContext)(!1);function r(){return(0,t.useContext)(n)}function i(e){return t.default.createElement(n.Provider,{value:e.force},e.children)}e.s(["ForcePortalRoot",()=>i,"usePortalRoot",()=>r])},183391,e=>{"use strict";var t=e.i(996682),n=e.i(277887);function r(){let[e]=(0,t.useState)(n.disposables);return(0,t.useEffect)(()=>()=>e.dispose(),[e]),e}e.s(["useDisposables",()=>r])},239393,e=>{"use strict";var t=e.i(996682),n=e.i(838101),r=e.i(577888);function i(e){let i=(0,r.useEvent)(e),o=(0,t.useRef)(!1);(0,t.useEffect)(()=>(o.current=!1,()=>{o.current=!0,(0,n.microTask)(()=>{o.current&&i()})}),[i])}e.s(["useOnUnmount",()=>i])},996176,e=>{"use strict";var t=e.i(996682),n=e.i(871217),r=e.i(577888),i=e.i(562257),o=e.i(239393),l=e.i(129854),s=e.i(996775),a=e.i(475034),u=e.i(493369),c=e.i(198925),f=e.i(803248),d=e.i(942208);let p=t.Fragment,m=(0,d.forwardRefWithAs)(function(e,r){let{ownerDocument:m=null,...h}=e,y=(0,t.useRef)(null),b=(0,a.useSyncRefs)((0,a.optionalRef)(e=>{y.current=e}),r),w=(0,l.useOwnerDocument)(y),E=null!=m?m:w,x=function(e){let n=(0,u.usePortalRoot)(),r=(0,t.useContext)(g),[i,o]=(0,t.useState)(()=>{var t;if(!n&&null!==r)return null!=(t=r.current)?t:null;if(f.env.isServer)return null;let i=null==e?void 0:e.getElementById("headlessui-portal-root");if(i)return i;if(null===e)return null;let o=e.createElement("div");return o.setAttribute("id","headlessui-portal-root"),e.body.appendChild(o)});return(0,t.useEffect)(()=>{null!==i&&(null!=e&&e.body.contains(i)||null==e||e.body.appendChild(i))},[i,e]),(0,t.useEffect)(()=>{n||null!==r&&o(r.current)},[r,o,n]),i}(E),[S]=(0,t.useState)(()=>{var e;return f.env.isServer?null:null!=(e=null==E?void 0:E.createElement("div"))?e:null}),A=(0,t.useContext)(v),O=(0,s.useServerHandoffComplete)();(0,i.useIsoMorphicEffect)(()=>{!x||!S||x.contains(S)||(S.setAttribute("data-headlessui-portal",""),x.appendChild(S))},[x,S]),(0,i.useIsoMorphicEffect)(()=>
4{if(S&&A)return A.register(S)},[A,S]),(0,o.useOnUnmount)(()=>{var e;x&&S&&(c.isNode(S)&&x.contains(S)&&x.removeChild(S),x.childNodes.length<=0&&(null==(e=x.parentElement)||e.removeChild(x)))});let T=(0,d.useRender)();return O&&x&&S?(0,n.createPortal)(T({ourProps:{ref:b},theirProps:h,slot:{},defaultTag:p,name:"Portal"}),S):null}),h=t.Fragment,g=(0,t.createContext)(null),v=(0,t.createContext)(null);function y(){let e=(0,t.useContext)(v),n=(0,t.useRef)([]),i=(0,r.useEvent)(t=>(n.current.push(t),e&&e.register(t),()=>o(t))),o=(0,r.useEvent)(t=>{let r=n.current.indexOf(t);-1!==r&&n.current.splice(r,1),e&&e.unregister(t)}),l=(0,t.useMemo)(()=>({register:i,unregister:o,portals:n}),[i,o,n]);return[n,(0,t.useMemo)(()=>function({children:e}){return t.default.createElement(v.Provider,{value:l},e)},[l])]}let b=(0,d.forwardRefWithAs)(function(e,n){let r=(0,a.useSyncRefs)(n),{enabled:i=!0,ownerDocument:o,...l}=e,s=(0,d.useRender)();return i?t.default.createElement(m,{...l,ownerDocument:o,ref:r}):s({ourProps:{ref:r},theirProps:l,slot:{},defaultTag:p,name:"Portal"})}),w=(0,d.forwardRefWithAs)(function(e,n){let{target:r,...i}=e,o={ref:(0,a.useSyncRefs)(n)},l=(0,d.useRender)();return t.default.createElement(g.Provider,{value:r},l({ourProps:o,theirProps:i,defaultTag:h,name:"Popover.Group"}))}),E=Object.assign(b,{Group:w});e.s(["Portal",()=>E,"PortalGroup",()=>w,"useNestedPortals",()=>y])},29719,e=>{"use strict";let t;var n,r,i=e.i(694744),o=e.i(996682),l=e.i(277887),s=e.i(183391),a=e.i(562257);void 0!==i.default&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(n=null==i.default?void 0:i.default.env)?void 0:n.NODE_ENV)==="test"&&void 0===(null==(r=null==Element?void 0:Element.prototype)?void 0:r.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 5`)),[]});var u=((t=u||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);function c(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function f(e,t,n,r){let[i,u]=(0,o.useState)(n),{hasFlag:c,addFlag:f,removeFlag:d}=function(e=0){let[t,n]=(0,o.useState)(e),r=(0,o.useCallback)(e=>n(e),[t]),i=(0,o.useCallback)(e=>n(t=>t|e),[t]),l=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:l,removeFlag:(0,o.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,o.useCallback)(e=>n(t=>t^e),[n])}}(e&&i?3:0),p=(0,o.useRef)(!1),m=(0,o.useRef)(!1),h=(0,s.useDisposables)();return(0,a.useIsoMorphicEffect)(()=>{var i;if(e){if(n&&u(!0),!t){n&&f(3);return}return null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let o=(0,l.disposables)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(function(e,t){var n,r;let i=(0,l.disposables)();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===s.length?t():Promise.allSettled(s.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,r))})}),o.dispose}(t,{inFlight:p,prepare(){m.current?m.current=!1:m.current=p.current,p.current=!0,m.current||(n?(f(3),d(4)):(f(4),d(2)))},run(){m.current?n?(d(3),f(4)):(d(4),f(3)):n?d(1):f(1)},done(){var e;m.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(p.current=!1,d(7),n||u(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,h]),e?[i,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}e.s(["transitionDataAttributes",()=>c,"useTransition",()=>f],29719)},436035,425017,888659,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>
5e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,s=e=>({x:e,y:e}),a={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function c(e,t,n){return i(e,r(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let g=new Set(["top","bottom"]);function v(e){return g.has(d(e))?"y":"x"}function y(e){return m(v(e))}function b(e,t,n){void 0===n&&(n=!1);let r=p(e),i=y(e),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=R(l)),[l,R(l)]}function w(e){let t=R(e);return[E(e),t,E(t)]}function E(e){return e.replace(/start|end/g,e=>u[e])}let x=["left","right"],S=["right","left"],A=["top","bottom"],O=["bottom","top"];function T(e,t,n,r){let i=p(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?S:x;return t?x:S;case"left":case"right":return t?A:O;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(E)))),o}function R(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}function L(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function P(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=v(t),s=y(t),a=h(s),u=d(t),c="y"===l,f=i.x+i.width/2-o.width/2,m=i.y+i.height/2-o.height/2,g=i[a]/2-o[a]/2;switch(u){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:m};break;case"left":r={x:i.x-o.width,y:m};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[s]-=g*(n&&c?-1:1);break;case"end":r[s]+=g*(n&&c?-1:1)}return r}e.s(["clamp",()=>c,"createCoords",()=>s,"evaluate",()=>f,"floor",()=>l,"getAlignment",()=>p,"getAlignmentAxis",()=>y,"getAlignmentSides",()=>b,"getAxisLength",()=>h,"getExpandedPlacements",()=>w,"getOppositeAlignmentPlacement",()=>E,"getOppositeAxis",()=>m,"getOppositeAxisPlacements",()=>T,"getOppositePlacement",()=>R,"getPaddingObject",()=>L,"getSide",()=>d,"getSideAxis",()=>v,"max",()=>i,"min",()=>r,"placements",()=>n,"rectToClientRect",()=>P,"round",()=>o,"sides",()=>t],425017);let F=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=C(u,r,a),d=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:o,fn:h}=s[n],{x:g,y:v,data:y,reset:b}=await h({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});c=null!=g?g:c,f=null!=v?v:f,p={...p,[o]:{...p[o],...y}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:f}=C(u,d,a)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:p}};async function k(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=f(t,e),h=L(m),g=s[p?"floating"===d?"reference":"floating":d],v=P(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:a})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},E=P(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:a}):y);return{top:(v.top-E.top+h.top)/w.y,bottom:(E.bottom-v.bottom+h.bottom)/w.y,left:(v.left-E.left+h.left)/w.x,right:(E.right-v.right+h.right)/w.x}}function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return t.some(t=>e[t]>=0)}function D(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-n}}let j=new Set(["left","top"]);async function I(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),s=p(n),a="y"===v(n),u=j.has(l)?-1:1,c=o&&a?-1:1,m=f(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}
5:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&"number"==typeof y&&(g="end"===s?-1*y:y),a?{x:g*c,y:h*u}:{x:h*u,y:g*c}}function H(){return"undefined"!=typeof window}function W(e){return U(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(U(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function U(e){return!!H()&&(e instanceof Node||e instanceof V(e).Node)}function _(e){return!!H()&&(e instanceof Element||e instanceof V(e).Element)}function G(e){return!!H()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function $(e){return!!H()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}let q=new Set(["inline","contents"]);function K(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=el(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!q.has(i)}let z=new Set(["table","td","th"]);function Y(e){return z.has(W(e))}let X=[":popover-open",":modal"];function Z(e){return X.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let J=["transform","translate","scale","rotate","perspective"],Q=["transform","translate","scale","rotate","perspective","filter"],ee=["paint","layout","strict","content"];function et(e){let t=er(),n=_(e)?el(e):e;return J.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Q.some(e=>(n.willChange||"").includes(e))||ee.some(e=>(n.contain||"").includes(e))}function en(e){let t=ea(e);for(;G(t)&&!eo(t);){if(et(t))return t;if(Z(t))break;t=ea(t)}return null}function er(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let ei=new Set(["html","body","#document"]);function eo(e){return ei.has(W(e))}function el(e){return V(e).getComputedStyle(e)}function es(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ea(e){if("html"===W(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||B(e);return $(t)?t.host:t}function eu(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=ea(t);return eo(n)?t.ownerDocument?t.ownerDocument.body:t.body:G(n)&&K(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=V(i);if(o){let e=ec(l);return t.concat(l,l.visualViewport||[],K(i)?i:[],e&&n?eu(e):[])}return t.concat(i,eu(i,[],n))}function ec(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ef(e){let t=el(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=G(e),l=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=o(n)!==l||o(r)!==s;return a&&(n=l,r=s),{width:n,height:r,$:a}}function ed(e){return _(e)?e:e.contextElement}function ep(e){let t=ed(e);if(!G(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=ef(t),a=(l?o(n.width):n.width)/r,u=(l?o(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}e.s(["getComputedStyle",()=>el,"getContainingBlock",()=>en,"getDocumentElement",()=>B,"getFrameElement",()=>ec,"getNodeName",()=>W,"getNodeScroll",()=>es,"getOverflowAncestors",()=>eu,"getParentNode",()=>ea,"getWindow",()=>V,"isContainingBlock",()=>et,"isElement",()=>_,"isHTMLElement",()=>G,"isLastTraversableNode",()=>eo,"isOverflowElement",()=>K,"isShadowRoot",()=>$,"isTableElement",()=>Y,"isTopLayer",()=>Z,"isWebKit",()=>er],888659);let em=s(0);function eh(e){let t=V(e);return er()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:em}function eg(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=ed(e),a=s(1);t&&(r?_(r)&&(a=ep(r)):a=ep(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===V(l))&&i)?eh(l):s(0),c=(o.left+u.x)/a.x,f=(o.top+u.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=V(l),t=r&&_(r)?V(r):r,n=e,i=ec(n);for(;i&&r&&t!==n;){let e=ep(i),t=i.getBoundingClientRect(),r=el(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=o,f+=l,i=ec(n=V(i))}}return P({width:d,height:p,x:c,y:f})}function ev(e,t){let n=es(e).scrollLeft;return t?t.left+n:eg(B(e)).left+n}
5function ey(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ev(e,r)),y:r.top+t.scrollTop}}let eb=new Set(["absolute","fixed"]);function ew(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=V(e),r=B(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,s=0,a=0;if(i){o=i.width,l=i.height;let e=er();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}return{width:o,height:l,x:s,y:a}}(e,n);else if("document"===t){let t,n,l,s,a,u,c;r=B(e),t=B(r),n=es(r),l=r.ownerDocument.body,s=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),u=-n.scrollLeft+ev(r),c=-n.scrollTop,"rtl"===el(l).direction&&(u+=i(t.clientWidth,l.clientWidth)-s),o={width:s,height:a,x:u,y:c}}else if(_(t)){let e,r,i,l,a,u;r=(e=eg(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=G(t)?ep(t):s(1),a=t.clientWidth*l.x,u=t.clientHeight*l.y,o={width:a,height:u,x:i*l.x,y:r*l.y}}else{let n=eh(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return P(o)}function eE(e){return"static"===el(e).position}function ex(e,t){if(!G(e)||"fixed"===el(e).position)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function eS(e,t){let n=V(e);if(Z(e))return n;if(!G(e)){let t=ea(e);for(;t&&!eo(t);){if(_(t)&&!eE(t))return t;t=ea(t)}return n}let r=ex(e,t);for(;r&&Y(r)&&eE(r);)r=ex(r,t);return r&&eo(r)&&eE(r)&&!et(r)?n:r||en(e)||n}let eA=async function(e){let t=this.getOffsetParent||eS,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=G(t),i=B(t),o="fixed"===n,l=eg(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=s(0);if(r||!r&&!o)if(("body"!==W(t)||K(i))&&(a=es(t)),r){let e=eg(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ev(i));o&&!r&&i&&(u.x=ev(i));let c=!i||r||o?s(0):ey(i,a);return{x:l.left+a.scrollLeft-u.x-c.x,y:l.top+a.scrollTop-u.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eO={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=B(r),a=!!t&&Z(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},c=s(1),f=s(0),d=G(r);if((d||!d&&!o)&&(("body"!==W(r)||K(l))&&(u=es(r)),G(r))){let e=eg(r);c=ep(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?s(0):ey(l,u,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-u.scrollTop*c.y+f.y+p.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,s=[..."clippingAncestors"===n?Z(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eu(e,[],!1).filter(e=>_(e)&&"body"!==W(e)),i=null,o="fixed"===el(e).position,l=o?ea(e):e;for(;_(l)&&!eo(l);){let t=el(l),n=et(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&eb.has(i.position)||K(l)&&!n&&function e(t,n){let r=ea(t);return!(r===n||!_(r)||eo(r))&&("fixed"===el(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=ea(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],a=s[0],u=s.reduce((e,n)=>{let o=ew(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},ew(t,a,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:eS,getElementRects:eA,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ef(e);return{width:t,height:n}},getScale:ep,isElement:_,isRTL:function(e){return"rtl"===el(e).direction}};function eT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eR(e,t,n,o){let s;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=ed(e),m=a||u?[...p?eu(p):[],...eu(t)]:[];m.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let h=p&&f?function(e,t){let n,o=null,s=B(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function u(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),a();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:g}=d;if(c||t(),!h||!g)return;let v={rootMargin:-l(m)+"px "+-l(s.clientWidth-(p+h))+"px "+-l(s.clientHeight-(m+g))+"px "+-l(p)+"px",threshold:i(0,r(1,f))||1},y=!0;function b(t){let r=t[0].intersectionRatio;if(r!==f){if(!y)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||eT(d,e.getBoundingClientRect())||u(),y=!1}try{o=new IntersectionObserver(b,{...v,root:s.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),a}(p,n):null,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}
5),p&&!d&&v.observe(p),v.observe(t));let y=d?eg(e):null;return d&&function t(){let r=eg(e);y&&!eT(y,r)&&n(),y=r,s=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(s)}}let eL=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:s}=t,a=await I(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},eP=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,o,l;let{rects:s,middlewareData:a,placement:u,platform:c,elements:m}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:v=n,autoAlignment:y=!0,...w}=f(e,t),x=void 0!==g||v===n?((l=g||null)?[...v.filter(e=>p(e)===l),...v.filter(e=>p(e)!==l)]:v.filter(e=>d(e)===e)).filter(e=>!l||p(e)===l||!!y&&E(e)!==e):v,S=await k(t,w),A=(null==(r=a.autoPlacement)?void 0:r.index)||0,O=x[A];if(null==O)return{};let T=b(O,s,await (null==c.isRTL?void 0:c.isRTL(m.floating)));if(u!==O)return{reset:{placement:x[0]}};let R=[S[d(O)],S[T[0]],S[T[1]]],L=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:O,overflows:R}],P=x[A+1];if(P)return{data:{index:A+1,overflows:L},reset:{placement:P}};let C=L.map(e=>{let t=p(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),F=(null==(o=C.filter(e=>e[2].slice(0,p(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||C[0][0];return F!==u?{data:{index:A+1,overflows:L},reset:{placement:F}}:{}}}},eC=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=f(e,t),u={x:n,y:r},p=await k(t,a),h=v(d(i)),g=m(h),y=u[g],b=u[h];if(o){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=y+p[e],r=y-p[t];y=c(n,y,r)}if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=b+p[e],r=b-p[t];b=c(n,b,r)}let w=s.fn({...t,[g]:y,[h]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[g]:o,[h]:l}}}}}},eF=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:s,middlewareData:a,rects:u,initialPlacement:c,platform:p,elements:m}=t,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:y,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:S=!0,...A}=f(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let O=d(s),L=v(c),P=d(c)===c,C=await (null==p.isRTL?void 0:p.isRTL(m.floating)),F=y||(P||!S?[R(c)]:w(c)),M="none"!==x;!y&&M&&F.push(...T(c,S,x,C));let N=[c,...F],D=await k(t,A),j=[],I=(null==(r=a.flip)?void 0:r.overflows)||[];if(h&&j.push(D[O]),g){let e=b(s,u,C);j.push(D[e[0]],D[e[1]])}if(I=[...I,{placement:s,overflows:j}],!j.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=N[e];if(t&&("alignment"!==g||L===v(t)||I.every(e=>v(e.placement)!==L||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(o=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(l=I.filter(e=>{if(M){let t=v(e.placement);return t===L||"y"===t}return!0}).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:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}},ek=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,s,{placement:a,rects:u,platform:c,elements:m}=t,{apply:h=()=>{},...g}=f(e,t),y=await k(t,g),b=d(a),w=p(a),E="y"===v(a),{width:x,height:S}=u.floating;"top"===b||"bottom"===b?(l=b,s=w===(await (null==c.isRTL?void 0:c.isRTL(m.floating))?"start":"end")?"left":"right"):(s=b,l="end"===w?"top":"bottom");let A=S-y.top-y.bottom,O=x-y.left-y.right,T=r(S-y[l],A),R=r(x-y[s],O),L=!t.middlewareData.shift,P=T,C=R;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(C=O),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(P=A),L&&!w){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);E?C=x-2*(0!==e||0!==t?e+t:i(y.left,y.right)):P=S-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await h({...t,availableWidth:C,availableHeight:P});let F=await c.getDimensions(m.floating);return x!==F.width||S!==F.height?{reset:{rects:!0}}:{}}}},eM=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=f(e,t);switch(r){case"referenceHidden":{let e=M(await k(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{let e=M(await k(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}},eN=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:o,rects:l,platform:s,elements:a,middlewareData:u}=t,{element:d,padding:m=0}=f(e,t)||{};if(null==d)return{};let g=L(m),v={x:n,y:i},b=y(o),w=h(b),E=await s.getDimensions(d),x="y"===b,S=x?"clientHeight":"clientWidth",A=l.reference[w]+l.reference[b]-v[b]-l.floating[w],O=v[b]-l.reference[b],T=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),R=T?T[S]:0;R&&await (null==s.isElement?void 0:s.isElement(T))||(R=a.floating[S]||l.floating[w]);let P=R/2-E[w]/2-1,C=r(g[x?"top":"left"],P),F=r(g[x?"bottom":"right"],P),k=R-E[w]-F,M=R/2-E[w]/2+(A/2-O/2),N=c(C,M,k),D=!u.arrow&&null!=p(o)&&M!==N&&l.reference[w]/2-(M<C?C:F)-E[w]/2<0,j=D?M<C?M-C:M-k:0;return{[b]:v[b]+j,data:{[b]:N,centerOffset:M-N-j,...D&&{alignmentOffset:j}},reset:D}}}),eD=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:l,platform:s,strategy:a}=t,{padding:u=2,x:c,y:p}=f(e,t),m=Array.from(await (null==s.getClientRects?void 0:s.getClientRects(o.reference))||[]),h=function(e){let t=e.slice().sort((e,t)=>
5e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>P(D(e)))}(m),g=P(D(m)),y=L(u),b=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=p)return h.find(e=>c>e.left-y.left&&c<e.right+y.right&&p>e.top-y.top&&p<e.bottom+y.bottom)||g;if(h.length>=2){if("y"===v(n)){let e=h[0],t=h[h.length-1],r="top"===d(n),i=e.top,o=t.bottom,l=r?e.left:t.left,s=r?e.right:t.right;return{top:i,bottom:o,left:l,right:s,width:s-l,height:o-i,x:l,y:i}}let e="left"===d(n),t=i(...h.map(e=>e.right)),o=r(...h.map(e=>e.left)),l=h.filter(n=>e?n.left===o:n.right===t),s=l[0].top,a=l[l.length-1].bottom;return{top:s,bottom:a,left:o,right:t,width:t-o,height:a-s,x:o,y:s}}return g}},floating:o.floating,strategy:a});return l.reference.x!==b.reference.x||l.reference.y!==b.reference.y||l.reference.width!==b.reference.width||l.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},ej=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:u=!0}=f(e,t),c={x:n,y:r},p=v(i),h=m(p),g=c[h],y=c[p],b=f(s,t),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(a){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+w.mainAxis,n=o.reference[h]+o.reference[e]-w.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var E,x;let e="y"===h?"width":"height",t=j.has(d(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(E=l.offset)?void 0:E[p])||0)+(t?0:w.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(x=l.offset)?void 0:x[p])||0)-(t?w.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:g,[p]:y}}}},eI=(e,t,n)=>{let r=new Map,i={platform:eO,...n},o={...i.platform,_c:r};return F(e,t,{...i,platform:o})};e.s(["arrow",()=>eN,"autoPlacement",()=>eP,"autoUpdate",()=>eR,"computePosition",()=>eI,"detectOverflow",()=>k,"flip",()=>eF,"hide",()=>eM,"inline",()=>eD,"limitShift",()=>ej,"offset",()=>eL,"shift",()=>eC,"size",()=>ek],436035)}]); 6 7//# sourceMappingURL=2f2987386fe20699.js.map
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.