PageSourceSearch

https://www.wellyusa.com/_next/static/chunks/9728.839a9860191087dc.js

js wellyusa.com collected 2026-10-09 21:55:37 UTC 53,601 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9728],{596:(e,t,n)=>{n.d(t,{q:()=>s});var o=n(55729),r=n(90645);let i=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function l(e){var t,n;let o=null!=(t=e.innerText)?t:"",l=e.cloneNode(!0);if(!r.sb(l))return o;let a=!1;for(let e of l.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let s=a?null!=(n=l.innerText)?n:"":o;return i.test(s)&&(s=s.replace(i,"")),s}var a=n(81930);function s(e){let t=(0,o.useRef)(""),n=(0,o.useRef)("");return(0,a._)(()=>{let o=e.current;if(!o)return"";let r=o.innerText;if(t.current===r)return n.current;let i=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():l(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return l(e).trim()})(o).trim().toLowerCase();return t.current=r,n.current=i,i})}},8499:(e,t,n)=>{n.d(t,{CL:()=>f,PC:()=>c});var o=n(55729),r=n(56760),i=n(68645),l=n(93961),a=n(46103),s=n(92109);let u=(0,o.createContext)(null);function c(e){let[t,n]=(0,o.useState)(null);return o.createElement(u.Provider,{value:{target:t}},e.children,o.createElement(s.j,{features:s.u.Hidden,ref:n}))}function d({children:e}){let t=(0,o.useContext)(u);if(!t)return o.createElement(o.Fragment,null,e);let{target:n}=t;return n?(0,r.createPortal)(o.createElement(o.Fragment,null,e),n):null}function f({data:e,form:t,disabled:n,onReset:r,overrides:u}){let[c,v]=(0,o.useState)(null),m=(0,i.L)();return(0,o.useEffect)(()=>{if(r&&c)return m.addEventListener(c,"reset",r)},[c,t,r]),o.createElement(d,null,o.createElement(p,{setForm:v,formId:t}),(0,l.h)(e).map(([e,r])=>o.createElement(s.j,{features:s.u.Hidden,...(0,a.oE)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...u})})))}function p({setForm:e,formId:t}){return(0,o.useEffect)(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:o.createElement(s.j,{features:s.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}},9264:(e,t,n)=>{n.d(t,{J:()=>l,q:()=>i});var o=n(55729);let r=(0,o.createContext)(void 0);function i(){return(0,o.useContext)(r)}function l({id:e,children:t}){return o.createElement(r.Provider,{value:e},t)}},13866:(e,t,n)=>{n.d(t,{$t:()=>o});function o(){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}},17656:(e,t,n)=>{n.d(t,{L:()=>a});var o=n(55729),r=n(11130),i=n(58718);function l(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function a(e,t,n=!1){let[s,u]=(0,o.useState)(()=>l(t));return(0,i.s)(()=>{if(!t||!e)return;let n=(0,r.e)();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),u(e=>{let n=l(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:`${s.width}px`,height:`${s.height}px`}:s}},18601:(e,t,n)=>{let o;n.d(t,{w:()=>r});var r=((o=r||{})[o.Left=0]="Left",o[o.Right=2]="Right",o)},21087:(e,t,n)=>{n.d(t,{O:()=>i,j:()=>r});var o=n(55729);let r=o.forwardRef(function({children:e,freeze:t},n){let r=i(t,e);return(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{ref:n}):o.createElement(o.Fragment,null,r)});function i(e,t){let[n,r]=(0,o.useState)(t);return e||n===t||r(t),e?n:t}}
1,27302:(e,t,n)=>{n.d(t,{t:()=>i});var o=n(55729);function r(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function i(e=r){return(0,o.useCallback)((t,n)=>"string"==typeof e?(null==t?void 0:t[e])===(null==n?void 0:n[e]):e(t,n),[e])}},27753:(e,t,n)=>{n.d(t,{Fc:()=>r,JO:()=>i,nY:()=>l});var o=n(11130);let r={Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}};function i(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}function l(e,t,n){let r=(0,o.e)();if("Tracked"===t.kind){let o=function(){l!==i(e)&&(r.dispose(),n())},{position:l}=t,a=new ResizeObserver(o);a.observe(e),r.add(()=>a.disconnect()),r.addEventListener(window,"scroll",o,{passive:!0}),r.addEventListener(window,"resize",o)}return()=>r.dispose()}},28156:(e,t,n)=>{n.d(t,{ll:()=>E,rD:()=>k,__:()=>R,UU:()=>L,cY:()=>T,BN:()=>C,Ej:()=>P});var o=n(95175);function r(e,t,n){let r,{reference:i,floating:l}=e,a=(0,o.TV)(t),s=(0,o.Dz)(t),u=(0,o.sq)(s),c=(0,o.C0)(t),d="y"===a,f=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,v=i[u]/2-l[u]/2;switch(c){case"top":r={x:f,y:i.y-l.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:p};break;case"left":r={x:i.x-l.width,y:p};break;default:r={x:i.x,y:i.y}}switch((0,o.Sg)(t)){case"start":r[s]-=v*(n&&d?-1:1);break;case"end":r[s]+=v*(n&&d?-1:1)}return r}let i=async(e,t,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:a}=n,s=l.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=r(c,o,u),p=o,v={},m=0;for(let n=0;n<s.length;n++){let{name:l,fn:h}=s[n],{x:g,y:b,data:x,reset:y}=await h({x:d,y:f,initialPlacement:o,placement:p,strategy:i,middlewareData:v,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=g?g:d,f=null!=b?b:f,v={...v,[l]:{...v[l],...x}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:d,y:f}=r(c,p,u)),n=-1)}return{x:d,y:f,placement:p,strategy:i,middlewareData:v}};async function l(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:l,rects:a,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:v=0}=(0,o._3)(t,e),m=(0,o.nI)(v),h=s[p?"floating"===f?"reference":"floating":f],g=(0,o.B1)(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(h)))||n?h:h.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:u})),b="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s.floating)),y=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},w=(0,o.B1)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:x,strategy:u}):b);return{top:(g.top-w.top+m.top)/y.y,bottom:(w.bottom-g.bottom+m.bottom)/y.y,left:(g.left-w.left+m.left)/y.x,right:(w.right-g.right+m.right)/y.x}}async function a(e,t){let{placement:n,platform:r,elements:i}=e,l=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=(0,o.C0)(n),s=(0,o.Sg)(n),u="y"===(0,o.TV)(n),c=["left","top"].includes(a)?-1:1,d=l&&u?-1:1,f=(0,o._3)(t,e),{mainAxis:p,crossAxis:v,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof m&&(v="end"===s?-1*m:m),u?{x:v*d,y:p*c}:{x:p*c,y:v*d}}var s=n(78761);function u(e){let t=(0,s.L9)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=(0,s.sb)(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r,u=(0,o.LI)(n)!==l||(0,o.LI)(r)!==a;return u&&(n=l,r=a),{width:n,height:r,$:u}}function c(e){return(0,s.vq)(e)?e:e.contextElement}function d(e){let t=c(e);if(!(0,s.sb)(t))return(0,o.Jx)(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=u(t),a=(l?(0,o.LI)(n.width):n.width)/r,d=(l?(0,o.LI)(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),d&&Number.isFinite(d)||(d=1),{x:a,y:d}}let f=(0,o.Jx)(0);function p(e){let t=(0,s.zk)(e);
1return(0,s.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:f}function v(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),a=c(e),u=(0,o.Jx)(1);t&&(r?(0,s.vq)(r)&&(u=d(r)):u=d(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===(0,s.zk)(a))&&i)?p(a):(0,o.Jx)(0),v=(l.left+f.x)/u.x,m=(l.top+f.y)/u.y,h=l.width/u.x,g=l.height/u.y;if(a){let e=(0,s.zk)(a),t=r&&(0,s.vq)(r)?(0,s.zk)(r):r,n=e,o=(0,s._m)(n);for(;o&&r&&t!==n;){let e=d(o),t=o.getBoundingClientRect(),r=(0,s.L9)(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;v*=e.x,m*=e.y,h*=e.x,g*=e.y,v+=i,m+=l,n=(0,s.zk)(o),o=(0,s._m)(n)}}return(0,o.B1)({width:h,height:g,x:v,y:m})}function m(e,t){let n=(0,s.CP)(e).scrollLeft;return t?t.left+n:v((0,s.ep)(e)).left+n}function h(e,t,n){void 0===n&&(n=!1);let o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(n?0:m(e,o)),y:o.top+t.scrollTop}}function g(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=(0,s.zk)(e),o=(0,s.ep)(e),r=n.visualViewport,i=o.clientWidth,l=o.clientHeight,a=0,u=0;if(r){i=r.width,l=r.height;let e=(0,s.Tc)();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t){let t,n,l,a,u,c,d;r=(0,s.ep)(e),t=(0,s.ep)(r),n=(0,s.CP)(r),l=r.ownerDocument.body,a=(0,o.T9)(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),u=(0,o.T9)(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),c=-n.scrollLeft+m(r),d=-n.scrollTop,"rtl"===(0,s.L9)(l).direction&&(c+=(0,o.T9)(t.clientWidth,l.clientWidth)-a),i={width:a,height:u,x:c,y:d}}else if((0,s.vq)(t)){let e,r,l,a,u,c;r=(e=v(t,!0,"fixed"===n)).top+t.clientTop,l=e.left+t.clientLeft,a=(0,s.sb)(t)?d(t):(0,o.Jx)(1),u=t.clientWidth*a.x,c=t.clientHeight*a.y,i={width:u,height:c,x:l*a.x,y:r*a.y}}else{let n=p(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,o.B1)(i)}function b(e){return"static"===(0,s.L9)(e).position}function x(e,t){if(!(0,s.sb)(e)||"fixed"===(0,s.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,s.ep)(e)===n&&(n=n.ownerDocument.body),n}function y(e,t){let n=(0,s.zk)(e);if((0,s.Tf)(e))return n;if(!(0,s.sb)(e)){let t=(0,s.$4)(e);for(;t&&!(0,s.eu)(t);){if((0,s.vq)(t)&&!b(t))return t;t=(0,s.$4)(t)}return n}let o=x(e,t);for(;o&&(0,s.Lv)(o)&&b(o);)o=x(o,t);return o&&(0,s.eu)(o)&&b(o)&&!(0,s.sQ)(o)?n:o||(0,s.gJ)(e)||n}let w=async function(e){let t=this.getOffsetParent||y,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=(0,s.sb)(t),i=(0,s.ep)(t),l="fixed"===n,a=v(e,!0,l,t),u={scrollLeft:0,scrollTop:0},c=(0,o.Jx)(0);if(r||!r&&!l)if(("body"!==(0,s.mq)(t)||(0,s.ZU)(i))&&(u=(0,s.CP)(t)),r){let e=v(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=m(i));l&&!r&&i&&(c.x=m(i));let d=!i||r||l?(0,o.Jx)(0):h(i,u);return{x:a.left+u.scrollLeft-c.x-d.x,y:a.top+u.scrollTop-c.y-d.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},S={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,l="fixed"===i,a=(0,s.ep)(r),u=!!t&&(0,s.Tf)(t.floating);if(r===a||u&&l)return n;let c={scrollLeft:0,scrollTop:0},f=(0,o.Jx)(1),p=(0,o.Jx)(0),m=(0,s.sb)(r);if((m||!m&&!l)&&(("body"!==(0,s.mq)(r)||(0,s.ZU)(a))&&(c=(0,s.CP)(r)),(0,s.sb)(r))){let e=v(r);f=d(r),p.x=e.x+r.clientLeft,p.y=e.y+r.clientTop}let g=!a||m||l?(0,o.Jx)(0):h(a,c,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+p.x+g.x,y:n.y*f.y-c.scrollTop*f.y+p.y+g.y}},getDocumentElement:s.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,l=[..."clippingAncestors"===n?(0,s.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=(0,s.v9)(e,[],!1).filter(e=>(0,s.vq)(e)&&"body"!==(0,s.mq)(e)),r=null,i="fixed"===(0,s.L9)(e).position,l=i?(0,s.$4)(e):e;for(;(0,s.vq)(l)&&!(0,s.eu)(l);){let t=(0,s.L9)(l),n=(0,s.sQ)(l);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||(0,s.ZU)(l)&&!n&&function e(t,n){let o=(0,s.$4)(t);return!(o===n||!(0,s.vq)(o)||(0,s.eu)(o))&&("fixed"===(0,s.L9)(o).position||e(o,n))}(e,l))?o=o.filter(e=>e!==l):r=t,l=(0,s.$4)(l)}return t.set(e,o),o}(t,this._c):[].concat(n),r],a=l[0],u=l.reduce((e,n)=>{let r=g(t,n,i);return e.top=(0,o.T9)(r.top,e.top),e.right=(0,o.jk)(r.right,e.right),e.bottom=(0,o.jk)(r.bottom,e.bottom),e.left=(0,o.T9)(r.left,e.left),e},g(t,a,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:y,getElementRects:w,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=u(e);return{width:t,height:n}},getScale:d,isElement:s.vq,isRTL:function(e){return"rtl"===(0,s.L9)(e).direction}};function O(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function E(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=c(e),m=l||a?[...p?(0,s.v9)(p):[],...(0,s.v9)(t)]:[];
1m.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let h=p&&d?function(e,t){let n,r=null,i=(0,s.ep)(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),l();let c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:v}=c;if(s||t(),!p||!v)return;let m={rootMargin:-(0,o.RI)(f)+"px "+-(0,o.RI)(i.clientWidth-(d+p))+"px "+-(0,o.RI)(i.clientHeight-(f+v))+"px "+-(0,o.RI)(d)+"px",threshold:(0,o.T9)(0,(0,o.jk)(1,u))||1},h=!0;function g(t){let o=t[0].intersectionRatio;if(o!==u){if(!h)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||O(c,e.getBoundingClientRect())||a(),h=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),l}(p,n):null,g=-1,b=null;u&&(b=new ResizeObserver(e=>{let[o]=e;o&&o.target===p&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),p&&!f&&b.observe(p),b.observe(t));let x=f?v(e):null;return f&&function t(){let o=v(e);x&&!O(x,o)&&n(),x=o,i=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{l&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=b)||e.disconnect(),b=null,f&&cancelAnimationFrame(i)}}let R=l,T=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;let{x:r,y:i,placement:l,middlewareData:s}=t,u=await a(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+u.x,y:i+u.y,data:{...u,placement:l}}}}},C=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,o._3)(e,t),d={x:n,y:r},f=await l(t,c),p=(0,o.TV)((0,o.C0)(i)),v=(0,o.PG)(p),m=d[v],h=d[p];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=m+f[e],r=m-f[t];m=(0,o.qE)(n,m,r)}
1if(s){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=h+f[e],r=h-f[t];h=(0,o.qE)(n,h,r)}let g=u.fn({...t,[v]:m,[p]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[v]:a,[p]:s}}}}}},L=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,a,s;let{placement:u,middlewareData:c,rects:d,initialPlacement:f,platform:p,elements:v}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...w}=(0,o._3)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let S=(0,o.C0)(u),O=(0,o.TV)(f),E=(0,o.C0)(f)===f,R=await (null==p.isRTL?void 0:p.isRTL(v.floating)),T=g||(E||!y?[(0,o.bV)(f)]:(0,o.WJ)(f)),C="none"!==x;!g&&C&&T.push(...(0,o.lP)(f,y,x,R));let L=[f,...T],P=await l(t,w),k=[],I=(null==(r=c.flip)?void 0:r.overflows)||[];if(m&&k.push(P[S]),h){let e=(0,o.w7)(u,d,R);k.push(P[e[0]],P[e[1]])}if(I=[...I,{placement:u,overflows:k}],!k.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=L[e];if(t&&("alignment"!==h||O===(0,o.TV)(t)||I.every(e=>e.overflows[0]>0&&(0,o.TV)(e.placement)===O)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(a=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(b){case"bestFit":{let e=null==(s=I.filter(e=>{if(C){let t=(0,o.TV)(e.placement);return t===O||"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:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}},P=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:s,rects:u,platform:c,elements:d}=t,{apply:f=()=>{},...p}=(0,o._3)(e,t),v=await l(t,p),m=(0,o.C0)(s),h=(0,o.Sg)(s),g="y"===(0,o.TV)(s),{width:b,height:x}=u.floating;"top"===m||"bottom"===m?(i=m,a=h===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(a=m,i="end"===h?"top":"bottom");let y=x-v.top-v.bottom,w=b-v.left-v.right,S=(0,o.jk)(x-v[i],y),O=(0,o.jk)(b-v[a],w),E=!t.middlewareData.shift,R=S,T=O;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(T=w),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(R=y),E&&!h){let e=(0,o.T9)(v.left,0),t=(0,o.T9)(v.right,0),n=(0,o.T9)(v.top,0),r=(0,o.T9)(v.bottom,0);g?T=b-2*(0!==e||0!==t?e+t:(0,o.T9)(v.left,v.right)):R=x-2*(0!==n||0!==r?n+r:(0,o.T9)(v.top,v.bottom))}await f({...t,availableWidth:T,availableHeight:R});let C=await c.getDimensions(d.floating);return b!==C.width||x!==C.height?{reset:{rects:!0}}:{}}}},k=(e,t,n)=>{let o=new Map,r={platform:S,...n},l={...r.platform,_c:o};return i(e,t,{...r,platform:l})}},42059:(e,t,n)=>{n.d(t,{G3:()=>h,St:()=>b,TI:()=>m,UF:()=>g,Xc:()=>v,zn:()=>p});var o=n(71427),r=n(76118),i=n(28156),l=n(55729),a=n(68645),s=n(81930),u=n(58718),c=n(90645);let d=(0,l.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});d.displayName="FloatingContext";let f=(0,l.createContext)(null);function p(e){return(0,l.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function v(){return(0,l.useContext)(d).setReference}function m(){return(0,l.useContext)(d).getReferenceProps}function h(){let{getFloatingProps:e,slot:t}=(0,l.useContext)(d);return(0,l.useCallback)((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function g(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,l.useContext)(f),n=(0,l.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,u.s)(()=>{null==t||t(null!=n?n:null)},[t,n]);let o=(0,l.useContext)(d);return(0,l.useMemo)(()=>[o.setFloating,e?o.styles:{}],[o.setFloating,e,o.styles])}function b({children:e,enabled:t=!0}){var n,a,p,v,m,h;let g,y,w,[S,O]=(0,l.useState)(null),[E,R]=(0,l.useState)(0),T=(0,l.useRef)(null),[C,L]=(0,l.useState)(null);n=C,(0,u.s)(()=>{if(!n)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(n).maxHeight,t=parseFloat(e);if(isNaN(t))return;let o=parseInt(e);isNaN(o)||t!==o&&(n.style.maxHeight=`${Math.ceil(t)}px`)});return e.observe(n,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[n]);let P=t&&null!==S&&null!==C,{to:k="bottom",gap:I=0,offset:D=0,padding:F=0,inner:M}=(a=S,p=C,g=x(null!=(v=null==a?void 0:a.gap)?v:"var(--anchor-gap, 0)",p),y=x(null!=(m=null==a?void 0:a.offset)?m:"var(--anchor-offset, 0)",p),w=x(null!=(h=null==a?void 0:a.padding)?h:"var(--anchor-padding, 0)",p),{...a,gap:g,offset:y,padding:w}),[A,_="center"]=k.split(" ");(0,u.s)(()=>{P&&R(0)},[P]);let{refs:B,floatingStyles:N,context:j}=(0,o.we)({open:P,placement:"selection"===A?"center"===_?"bottom":`bottom-${_}`:"center"===_?`${A}`:`${A}-${_}`,strategy:"absolute",transform:!1,middleware:[(0,r.cY)({mainAxis:"selection"===A?0:I,crossAxis:D}),(0,r.BN)({padding:F}),"selection"!==A&&(0,r.UU)({padding:F}),"selection"===A&&M?(0,o.vW)({...M,padding:F,overflowRef:T,offset:E,minItemsVisible:4,referenceOverflowThreshold:F,onFallbackChange(e){var t,n;if(!e)return;let o=j.elements.floating;if(!o)return;
1let r=parseFloat(getComputedStyle(o).scrollPaddingBottom)||0,i=Math.min(4,o.childElementCount),l=0,a=0;for(let e of null!=(n=null==(t=j.elements.floating)?void 0:t.childNodes)?n:[])if(c.sb(e)){let t=e.offsetTop,n=t+e.clientHeight+r,s=o.scrollTop,u=s+o.clientHeight;if(t>=s&&n<=u)i--;else{a=Math.max(0,Math.min(n,u)-Math.max(t,s)),l=e.clientHeight;break}}i>=1&&R(e=>{let t=l*i-a+r;return e>=t?e:t})}}):null,(0,r.Ej)({padding:F,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:i.ll}),[V=A,q=_]=j.placement.split("-");"selection"===A&&(V="selection");let z=(0,l.useMemo)(()=>({anchor:[V,q].filter(Boolean).join(" ")}),[V,q]),U=(0,o.Zx)(j,{overflowRef:T,onChange:R}),{getReferenceProps:$,getFloatingProps:H}=(0,o.bv)([U]),J=(0,s._)(e=>{L(e),B.setFloating(e)});return l.createElement(f.Provider,{value:O},l.createElement(d.Provider,{value:{setFloating:J,setReference:B.setReference,styles:N,getReferenceProps:$,getFloatingProps:H,slot:z}},e))}function x(e,t,n){let o=(0,a.L)(),r=(0,s._)((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=y(e,t);return[r,n=>{let i=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let o=n[1].slice(0,t).trim(),r=n[1].slice(t+1).trim();return r?[o,...e(r)]:[o]}return[]}(e);{let l=i.map(e=>window.getComputedStyle(t).getPropertyValue(e));o.requestAnimationFrame(function a(){o.nextFrame(a);let s=!1;for(let[e,n]of i.entries()){let o=window.getComputedStyle(t).getPropertyValue(n);if(l[e]!==o){l[e]=o,s=!0;break}}if(!s)return;let u=y(e,t);r!==u&&(n(u),r=u)})}return o.dispose}]}return[n,null]}),i=(0,l.useMemo)(()=>r(e,t)[0],[e,t]),[c=i,d]=(0,l.useState)();return(0,u.s)(()=>{let[n,o]=r(e,t);if(d(n),o)return o(d)},[e,t]),c}function y(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 o=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),o}f.displayName="PlacementContext"},60395:(e,t,n)=>{n.d(t,{O:()=>a});var o=n(55729),r=n(18601),i=n(19628),l=n(81930);function a(e){let t=(0,o.useRef)(null);return{onPointerDown:(0,l._)(n=>{t.current=n.pointerType,(0,i.l)(n.currentTarget)||"mouse"!==n.pointerType||n.button!==r.w.Left||(n.preventDefault(),e(n))}),onClick:(0,l._)(n=>{"mouse"!==t.current&&((0,i.l)(n.currentTarget)||e(n))})}}},62331:(e,t,n)=>{n.d(t,{K:()=>r});var o=n(55729);function r(e){let[t]=(0,o.useState)(e);return t}},67113:(e,t,n)=>{n.d(t,{JU:()=>h,b0:()=>m,o2:()=>v,vd:()=>p});var o=n(55729),r=n(81930),i=n(58718),l=n(39910),a=n(14898),s=n(84669),u=n(9264),c=n(90645),d=n(46103);let f=(0,o.createContext)(null);function p(){let e=(0,o.useContext)(f);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,p),e}return e}function v(e){var t,n,r;let i=null!=(n=null==(t=(0,o.useContext)(f))?void 0:t.value)?n:void 0;return(null!=(r=null==e?void 0:e.length)?r:0)>0?[i,...e].filter(Boolean).join(" "):i}function m({inherit:e=!1}={}){let t=v(),[n,i]=(0,o.useState)([]),l=e?[t,...n].filter(Boolean):n;return[l.length>0?l.join(" "):void 0,(0,o.useMemo)(()=>function(e){let t=(0,r._)(e=>(i(t=>[...t,e]),()=>i(t=>{let n=t.slice(),o=n.indexOf(e);return -1!==o&&n.splice(o,1),n}))),n=(0,o.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return o.createElement(f.Provider,{value:n},e.children)},[i])]}f.displayName="LabelContext";let h=Object.assign((0,d.FX)(function(e,t){var n;let f=(0,o.useId)(),v=p(),m=(0,u.q)(),h=(0,s._)(),{id:g=`headlessui-label-${f}`,htmlFor:b=null!=m?m:null==(n=v.props)?void 0:n.htmlFor,passive:x=!1,...y}=e,w=(0,a.P)(t);(0,i.s)(()=>v.register(g),[g,v.register]);let S=(0,r._)(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&c.H5(e.target))&&(c.kS(t)&&e.preventDefault(),v.props&&"onClick"in v.props&&"function"==typeof v.props.onClick&&v.props.onClick(e),c.kS(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(c.A3(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),O=(0,l._)({...v.slot,disabled:h||!1}),E={ref:w,...v.props,id:g,htmlFor:b,onClick:S};return x&&("onClick"in E&&(delete E.htmlFor,delete E.onClick),"onClick"in y&&delete y.onClick),(0,d.Ci)()({ourProps:E,theirProps:y,slot:O,defaultTag:b?"label":"div",name:v.name||"Label"})}),{})},68011:(e,t,n)=>{let o,r,i,l;n.d(t,{WF:()=>eT,go:()=>ew,E9:()=>eS,h7:()=>eE,wh:()=>eO,el:()=>eR});var a=n(57160),s=n(21662),u=n(55729),c=n(56760),d=n(97166),f=n(27302),p=n(88062),v=n(62331),m=n(68645),h=n(17656),g=n(81930),b=n(60395),x=n(35258),y=n(58718),w=n(35837),S=n(8203),O=n(52064),E=n(48361),R=n(89321),T=n(86708),C=n(11503),L=n(39910),P=n(14898),k=n(596),I=n(73136),D=n(57146),F=n(84669),M=n(42059),A=n(8499),_=n(21087),B=n(9264),N=n(67508),j=n(36444),V=n(4174),q=n(77151),z=n(11130),U=n(90645),$=n(18731),H=n(93961),J=n(27304),W=n(32494),X=n(46103),Y=n(65281),Q=n(49771),K=n(67113),Z=n(4711),G=n(142),ee=n(27753),et=Object.defineProperty,en=(e,t,n)=>{let o;return(o="symbol"!=typeof t?t+"":t)in e?et(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,n},eo=((o=eo||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),er=((r=er||{})[r.Single=0]="Single",r[r.Multi=1]="Multi",r),ei=((i=ei||{})[i.Pointer=0]="Pointer",i[i.Other=1]="Other",i),el=((l=el||{})[l.OpenListbox=0]="OpenListbox",l[l.CloseListbox=1]="CloseListbox",l[l.GoToOption=2]="GoToOption",l[l.Search=3]="Search",l[l.ClearSearch=4]="ClearSearch",l[l.SelectOption=5]="SelectOption",l[l.RegisterOptions=6]="RegisterOptions",l[l.UnregisterOptions=7]="UnregisterOptions",l[l.SetButtonElement=8]="SetButtonElement",l[l.SetOptionsElement=9]="SetOptionsElement",l[l.SortOptions=10]="SortOptions",l[l.MarkButtonAsMoved=11]="MarkButtonAsMoved",l);function ea(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,$.wl)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),r=n?o.indexOf(n):null;return -1===r&&(r=null),{options:o,activeOptionIndex:r}}let es={1(e){if(e.dataRef.current.disabled||1===e.listboxState)return e;let t=e.buttonElement?ee.Fc.Tracked((0,ee.JO)(e.buttonElement)):e.buttonPositionState;return{...e,activeOptionIndex:null,pendingFocus:{focus:q.B.Nothing},listboxState:1,__demoMode:!1,buttonPositionState:t}},0(e,t){if(e.dataRef.current.disabled||0===e.listboxState)return e;let n=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,r=e.options.findIndex(e=>o(e.dataRef.current.value));return -1!==r&&(n=r),{...e,frozenValue:!1,pendingFocus:t.focus,listboxState:0,activeOptionIndex:n,__demoMode:!1,buttonPositionState:ee.Fc.Idle}},2(e,t){var n,o,r,i,l;if(e.dataRef.current.disabled||1===e.listboxState)return e;let a={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===q.B.Nothing)return{...a,activeOptionIndex:null};if(t.focus===q.B.Specific)return{...a,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===q.B.Previous){let n=e.activeOptionIndex;if(null!==n){let i=e.options[n].dataRef.current.domRef,l=(0,q.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==l){let t=e.options[l].dataRef.current.domRef;if((null==(o=i.current)?void 0:o.previousElementSibling)===t.current||(null==(r=t.current)?void 0:r.previousElementSibling)===null)return{...a,activeOptionIndex:l}}}}else if(t.focus===q.B.Next){let n=e.activeOptionIndex;if(null!==n){let o=e.options[n].dataRef.current.domRef,r=(0,q.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==r){let t=e.options[r].dataRef.current.domRef;if((null==(i=o.current)?void 0:i.nextElementSibling)===t.current||(null==(l=t.current)?void 0:l.nextElementSibling)===null)return{...a,activeOptionIndex:r}}}}let s=ea(e),u=(0,q.X)(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...a,...s,activeOptionIndex:u}},3:(e,t)=>
1{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=+(""===e.searchQuery),o=e.searchQuery+t.value.toLowerCase(),r=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(o))}),i=r?e.options.indexOf(r):-1;return -1===i||i===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:i,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:e=>0===e.dataRef.current.mode?{...e,frozenValue:!0}:{...e},6:(e,t)=>{let n=e.options.concat(t.options),o=e.activeOptionIndex;if(e.pendingFocus.focus!==q.B.Nothing&&(o=(0,q.X)(e.pendingFocus,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled})),null===e.activeOptionIndex){let{isSelected:t}=e.dataRef.current;if(t){let e=n.findIndex(e=>null==t?void 0:t(e.dataRef.current.value));-1!==e&&(o=e)}}return{...e,options:n,activeOptionIndex:o,pendingFocus:{focus:q.B.Nothing},pendingShouldSort:!0}},7:(e,t)=>{let n=e.options,o=[],r=new Set(t.options);for(let[e,t]of n.entries())if(r.has(t.id)&&(o.push(e),r.delete(t.id),0===r.size))break;if(o.length>0)for(let e of(n=n.slice(),o.reverse()))n.splice(e,1);return{...e,options:n,activationTrigger:1}},8:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},9:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},10:e=>e.pendingShouldSort?{...e,...ea(e),pendingShouldSort:!1}:e,11:e=>"Tracked"!==e.buttonPositionState.kind?e:{...e,buttonPositionState:ee.Fc.Moved}};class eu extends G.u5{constructor(e){super(e),en(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:o,value:r}=this.state.dataRef.current;return(0,J.Y)(o,{0:()=>null==t?void 0:t(e),1:()=>{let o=r.slice(),i=o.findIndex(t=>n(t,e));return -1===i?o.push(e):o.splice(i,1),null==t?void 0:t(o)}})},registerOption:(0,G.vA)(()=>{let e=[],t=new Set;return[(n,o)=>{t.has(o)||(t.add(o),e.push({id:n,dataRef:o}))},()=>(t.clear(),this.send({type:6,options:e.splice(0)}))]}),unregisterOption:(0,G.vA)(()=>{let e=[];return[t=>e.push(t),()=>{this.send({type:7,options:e.splice(0)})}]}),goToOption:(0,G.vA)(()=>{let e=null;return[(t,n)=>{e={type:2,...t,trigger:n}},()=>e&&this.send(e)]}),closeListbox:()=>{this.send({type:1})},openListbox:e=>{this.send({type:0,focus:e})},selectActiveOption:()=>{var e;if(null!==this.state.activeOptionIndex){let{dataRef:e}=this.state.options[this.state.activeOptionIndex];this.actions.selectOption(e.current.value)}else 0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(e=this.state.buttonElement)||e.focus({preventScroll:!0}))},selectOption:e=>{this.send({type:5,value:e})},search:e=>{this.send({type:3,value:e})},clearSearch:()=>{this.send({type:4})},setButtonElement:e=>{this.send({type:8,element:e})},setOptionsElement:e=>{this.send({type:9,element:e})}}),en(this,"selectors",{activeDescendantId(e){var t;let n=e.activeOptionIndex,o=e.options;return null===n||null==(t=o[n])?void 0:t.id},isActive(e,t){var n;let o=e.activeOptionIndex,r=e.options;return null!==o&&(null==(n=r[o])?void 0:n.id)===t},hasFrozenValue:e=>e.frozenValue,shouldScrollIntoView(e,t){return!e.__demoMode&&0===e.listboxState&&0!==e.activationTrigger&&this.isActive(e,t)},didButtonMove:e=>"Moved"===e.buttonPositionState.kind}),this.on(6,()=>{requestAnimationFrame(()=>{this.send({type:10})})});{let e=this.state.id,t=j.D.get(null);this.disposables.add(t.on(j.Q.Push,n=>{t.selectors.isTop(n,e)||0!==this.state.listboxState||this.actions.closeListbox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.buttonElement&&(e.dispose(),e.add((0,ee.nY)(t.buttonElement,t.buttonPositionState,()=>{this.send({type:11})})))})}),this.on(5,(e,t)=>{var n;this.actions.onChange(t.value),0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(n=this.state.buttonElement)||n.focus({preventScroll:!0}))})}static new({id:e,__demoMode:t=!1}){return new eu({id:e,dataRef:{current:{}},listboxState:+!t,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:q.B.Nothing},frozenValue:!1,__demoMode:t,buttonPositionState:ee.Fc.Idle})}reduce(e,t){return(0,J.Y)(t.type,es,e,t)}}var ec=n(27242);let ed=(0,u.createContext)(null);function ef(e){let t=(0,u.useContext)(ed);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ep),t}return t}function ep({id:e,__demoMode:t=!1}){let n=(0,u.useMemo)(()=>eu.new({id:e,__demoMode:t}),[]);return(0,ec.X)(()=>n.dispose()),n}let ev=(0,u.createContext)(null);function em(e){let t=(0,u.useContext)(ev);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,em),t}return t}ev.displayName="ListboxDataContext";let eh=u.Fragment,eg=(0,u.createContext)(!1),eb=X.Ac.RenderStrategy|X.Ac.Static,ex=u.Fragment,ey=(0,X.FX)(function(e,t){let n=(0,u.useId)(),o=(0,F._)(),{value:r,defaultValue:i,form:l,name:a,onChange:s,by:c,invalid:d=!1,disabled:m=o||!1,horizontal:h=!1,multiple:g=!1,__demoMode:b=!1,...x}=e,w=(0,P.P)(t),S=(0,v.K)(i),[E=g?[]:void 0,R]=(0,p.P)(r,s,S),T=ep({id:n,__demoMode:b}),C=(0,u.useRef)({static:!1,hold:!1}),k=(0,u.useRef)(new Map),I=(0,f.t)(c),D=(0,u.useCallback)(e=>(0,J.Y)(_.mode,{[er.Multi]:()=>E.some(t=>I(t,e)),[er.Single]:()=>I(E,e)}),[E]),_=(0,L._)({value:E,disabled:m,invalid:d,mode:g?er.Multi:er.Single,orientation:h?"horizontal":"vertical",onChange:R,compare:I,isSelected:D,optionsPropsRef:C,listRef:k});(0,y.s)(()=>{T.state.dataRef.current=_},[_]);let B=(0,V.y)(T,e=>e.listboxState),q=j.D.get(null),z=(0,V.y)(q,(0,u.useCallback)(e=>q.selectors.isTop(e,n),[q,n])),[U,H]=(0,V.y)(T,e=>[e.buttonElement,e.optionsElement]);(0,O.j)(z,[U,H],(e,t)=>{T.send({type:el.CloseListbox}),(0,$.Bm)(t,$.MZ.Loose)||(e.preventDefault(),null==U||U.focus())});let W=(0,L._)({open:B===eo.Open,disabled:m,invalid:d,value:E}),[Y,Q]=(0,K.b0)({inherit:!0}),Z=(0,u.useCallback)(()=>
1{if(void 0!==S)return null==R?void 0:R(S)},[R,S]),G=(0,X.Ci)();return u.createElement(Q,{value:Y,props:{htmlFor:null==U?void 0:U.id},slot:{open:B===eo.Open,disabled:m}},u.createElement(M.St,null,u.createElement(ed.Provider,{value:T},u.createElement(ev.Provider,{value:_},u.createElement(N.El,{value:(0,J.Y)(B,{[eo.Open]:N.Uw.Open,[eo.Closed]:N.Uw.Closed})},null!=a&&null!=E&&u.createElement(A.CL,{disabled:m,data:{[a]:E},form:l,onReset:Z}),G({ourProps:{ref:w},theirProps:x,slot:W,defaultTag:eh,name:"Listbox"}))))))}),ew=(0,X.FX)(function(e,t){let n=(0,u.useId)(),o=(0,B.q)(),r=em("Listbox.Button"),i=ef("Listbox.Button"),{id:l=o||`headlessui-listbox-button-${n}`,disabled:f=r.disabled||!1,autoFocus:p=!1,...v}=e,m=(0,P.P)(t,(0,M.Xc)(),i.actions.setButtonElement),h=(0,M.TI)(),[x,y,w]=(0,V.y)(i,e=>[e.listboxState,e.buttonElement,e.optionsElement]),S=x===eo.Open;(0,R.s)(S,{trigger:y,action:(0,u.useCallback)(e=>{if(null!=y&&y.contains(e.target))return R.r.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return U.sb(t)?R.r.Select(t):null!=w&&w.contains(e.target)?R.r.Ignore:R.r.Close},[y,w]),close:i.actions.closeListbox,select:i.actions.selectActiveOption});let O=(0,g._)(e=>{switch(e.key){case Q.D.Enter:(0,H.q)(e.currentTarget);break;case Q.D.Space:case Q.D.ArrowDown:e.preventDefault(),i.actions.openListbox({focus:r.value?q.B.Nothing:q.B.First});break;case Q.D.ArrowUp:e.preventDefault(),i.actions.openListbox({focus:r.value?q.B.Nothing:q.B.Last})}}),E=(0,g._)(e=>{e.key===Q.D.Space&&e.preventDefault()}),C=(0,b.O)(e=>{var t;i.state.listboxState===eo.Open?((0,c.flushSync)(()=>i.actions.closeListbox()),null==(t=i.state.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),i.actions.openListbox({focus:q.B.Nothing}))}),k=(0,g._)(e=>e.preventDefault()),I=(0,K.o2)([l]),D=(0,Y.MM)(),{isFocusVisible:F,focusProps:A}=(0,a.o)({autoFocus:p}),{isHovered:_,hoverProps:N}=(0,s.M)({isDisabled:f}),{pressed:j,pressProps:z}=(0,d.Z)({disabled:f}),$=(0,L._)({open:x===eo.Open,active:j||x===eo.Open,disabled:f,invalid:r.invalid,value:r.value,hover:_,focus:F,autofocus:p}),J=(0,V.y)(i,e=>e.listboxState===eo.Open),W=(0,X.v6)(h(),{ref:m,id:l,type:(0,T.c)(e,y),"aria-haspopup":"listbox","aria-controls":null==w?void 0:w.id,"aria-expanded":J,"aria-labelledby":I,"aria-describedby":D,disabled:f||void 0,autoFocus:p,onKeyDown:O,onKeyUp:E,onKeyPress:k},C,A,N,z);return(0,X.Ci)()({ourProps:W,theirProps:v,slot:$,defaultTag:"button",name:"Listbox.Button"})}),eS=K.JU,eO=(0,X.FX)(function(e,t){let n=(0,u.useId)(),{id:o=`headlessui-listbox-options-${n}`,anchor:r,portal:i=!1,modal:l=!0,transition:a=!1,...s}=e,d=(0,M.zn)(r),[f,p]=(0,u.useState)(null);d&&(i=!0);let v=em("Listbox.Options"),b=ef("Listbox.Options"),[y,w,O,R]=(0,V.y)(b,e=>[e.listboxState,e.buttonElement,e.optionsElement,e.__demoMode]),T=(0,E.g)(w),k=(0,E.g)(O),I=(0,N.O_)(),[F,A]=(0,D.p)(a,f,null!==I?(I&N.Uw.Open)===N.Uw.Open:y===eo.Open);(0,S.O)(F,w,b.actions.closeListbox);let B=!R&&l&&y===eo.Open;(0,C.K)(B,k);let j=!R&&l&&y===eo.Open;(0,x.v)(j,{allowed:(0,u.useCallback)(()=>[w,O],[w,O])});let z=!(0,V.y)(b,b.selectors.didButtonMove)&&F,U=(0,V.y)(b,b.selectors.hasFrozenValue)&&!e.static,H=(0,_.O)(U,v.value),Y=(0,u.useCallback)(e=>v.compare(H,e),[v.compare,H]),K=(0,V.y)(b,e=>{var t;if(null==d||!(null!=(t=null==d?void 0:d.to)&&t.includes("selection")))return null;let n=e.options.findIndex(e=>Y(e.dataRef.current.value));return -1===n&&(n=0),n}),G=(()=>{if(null==d)return;if(null===K)return{...d,inner:void 0};let e=Array.from(v.listRef.current.values());return{...d,inner:{listRef:{current:e},index:K}}})(),[ee,et]=(0,M.UF)(G),en=(0,M.G3)(),ei=(0,P.P)(t,d?ee:null,b.actions.setOptionsElement,p),el=(0,m.L)();(0,u.useEffect)(()=>{O&&y===eo.Open&&((0,W.X7)(O)||null==O||O.focus({preventScroll:!0}))},[y,O]);let ea=(0,g._)(e=>{var t;switch(el.dispose(),e.key){case Q.D.Space:if(""!==b.state.searchQuery)return e.preventDefault(),e.stopPropagation(),b.actions.search(e.key);case Q.D.Enter:e.preventDefault(),e.stopPropagation(),b.actions.selectActiveOption();break;case(0,J.Y)(v.orientation,{vertical:Q.D.ArrowDown,horizontal:Q.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),b.actions.goToOption({focus:q.B.Next});case(0,J.Y)(v.orientation,{vertical:Q.D.ArrowUp,horizontal:Q.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),b.actions.goToOption({focus:q.B.Previous});case Q.D.Home:case Q.D.PageUp:return e.preventDefault(),e.stopPropagation(),b.actions.goToOption({focus:q.B.First});case Q.D.End:case Q.D.PageDown:return e.preventDefault(),e.stopPropagation(),b.actions.goToOption({focus:q.B.Last});case Q.D.Escape:e.preventDefault(),e.stopPropagation(),(0,c.flushSync)(()=>b.actions.closeListbox()),null==(t=b.state.buttonElement)||t.focu
1s({preventScroll:!0});return;case Q.D.Tab:e.preventDefault(),e.stopPropagation(),(0,c.flushSync)(()=>b.actions.closeListbox()),(0,$.p9)(b.state.buttonElement,e.shiftKey?$.BD.Previous:$.BD.Next);break;default:1===e.key.length&&(b.actions.search(e.key),el.setTimeout(()=>b.actions.clearSearch(),350))}}),es=(0,V.y)(b,e=>{var t;return null==(t=e.buttonElement)?void 0:t.id}),eu=(0,L._)({open:y===eo.Open}),ec=(0,X.v6)(d?en():{},{id:o,ref:ei,"aria-activedescendant":(0,V.y)(b,b.selectors.activeDescendantId),"aria-multiselectable":v.mode===er.Multi||void 0,"aria-labelledby":es,"aria-orientation":v.orientation,onKeyDown:ea,role:"listbox",tabIndex:y===eo.Open?0:void 0,style:{...s.style,...et,"--button-width":(0,h.L)(F,w,!0).width},...(0,D.B)(A)}),ed=(0,X.Ci)(),ep=(0,u.useMemo)(()=>v.mode===er.Multi?v:{...v,isSelected:Y},[v,Y]);return u.createElement(Z.ZL,{enabled:!!i&&(e.static||F),ownerDocument:T},u.createElement(ev.Provider,{value:ep},ed({ourProps:ec,theirProps:s,slot:eu,defaultTag:"div",features:eb,visible:z,name:"Listbox.Options"}
1)))}),eE=(0,X.FX)(function(e,t){let n=(0,u.useId)(),{id:o=`headlessui-listbox-option-${n}`,disabled:r=!1,value:i,...l}=e,a=!0===(0,u.useContext)(eg),s=em("Listbox.Option"),c=ef("Listbox.Option"),d=(0,V.y)(c,e=>c.selectors.isActive(e,o)),f=s.isSelected(i),p=(0,u.useRef)(null),v=(0,k.q)(p),m=(0,w.Y)({disabled:r,value:i,domRef:p,get textValue(){return v()}}),h=(0,P.P)(t,p,e=>{e?s.listRef.current.set(o,e):s.listRef.current.delete(o)}),b=(0,V.y)(c,e=>c.selectors.shouldScrollIntoView(e,o));(0,y.s)(()=>{if(b)return(0,z.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[b,p]),(0,y.s)(()=>{if(!a)return c.actions.registerOption(o,m),()=>c.actions.unregisterOption(o)},[m,o,a]);let x=(0,g._)(e=>{if(r)return e.preventDefault();c.actions.selectOption(i)}),S=(0,g._)(()=>{if(r)return c.actions.goToOption({focus:q.B.Nothing});c.actions.goToOption({focus:q.B.Specific,id:o})}),O=(0,I.J)(),E=(0,g._)(e=>O.update(e)),R=(0,g._)(e=>{O.wasMoved(e)&&(r||d&&c.state.activationTrigger===ei.Pointer||c.actions.goToOption({focus:q.B.Specific,id:o},ei.Pointer))}),T=(0,g._)(e=>{O.wasMoved(e)&&(r||d&&c.state.activationTrigger===ei.Pointer&&c.actions.goToOption({focus:q.B.Nothing}))}),C=(0,L._)({active:d,focus:d,selected:f,disabled:r,selectedOption:f&&a}),D=a?{}:{id:o,ref:h,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":f,disabled:void 0,onClick:x,onFocus:S,onPointerEnter:E,onMouseEnter:E,onPointerMove:R,onMouseMove:R,onPointerLeave:T,onMouseLeave:T},F=(0,X.Ci)();return!f&&a?null:F({ourProps:D,theirProps:l,slot:C,defaultTag:"div",name:"Listbox.Option"})}),eR=(0,X.FX)(function(e,t){let{options:n,placeholder:o,...r}=e,i={ref:(0,P.P)(t)},l=em("ListboxSelectedOption"),a=(0,L._)({}),s=void 0===l.value||null===l.value||l.mode===er.Multi&&Array.isArray(l.value)&&0===l.value.length,c=(0,X.Ci)();return u.createElement(eg.Provider,{value:!0},c({ourProps:i,theirProps:{...r,children:u.createElement(u.Fragment,null,o&&s?o:n)},slot:a,defaultTag:ex,name:"ListboxSelectedOption"}))}),eT=Object.assign(ey,{Button:ew,Label:eS,Options:eO,Option:eE,SelectedOption:eR})},73136:(e,t,n)=>{n.d(t,{J:()=>i});var o=n(55729);function r(e){return[e.screenX,e.screenY]}function i(){let e=(0,o.useRef)([-1,-1]);return{wasMoved(t){let n=r(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=r(t)}}}},76118:(e,t,n)=>{n.d(t,{BN:()=>p,Ej:()=>m,UU:()=>v,cY:()=>f,we:()=>d});var o=n(28156),r=n(55729),i=n(56760),l="u">typeof document?r.useLayoutEffect:function(){};function a(e,t){let n,o,r;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(o=n;0!=o--;)if(!a(e[o],t[o]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,r[o]))return!1;for(o=n;0!=o--;){let n=r[o];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=s(e);return Math.round(t*n)/n}function c(e){let t=r.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:v}={},transform:m=!0,whileElementsMounted:h,open:g}=e,[b,x]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,w]=r.useState(d);a(y,d)||w(d);let[S,O]=r.useState(null),[E,R]=r.useState(null),T=r.useCallback(e=>{e!==k.current&&(k.current=e,O(e))},[]),C=r.useCallback(e=>{e!==I.current&&(I.current=e,R(e))},[]),L=p||S,P=v||E,k=r.useRef(null),I=r.useRef(null),D=r.useRef(b),F=null!=h,M=c(h),A=c(f),_=c(g),B=r.useCallback(()=>{if(!k.current||!I.current)return;let e={placement:t,strategy:n,middleware:y};A.current&&(e.platform=A.current),(0,o.rD)(k.current,I.current,e).then(e=>{let t={...e,isPositioned:!1!==_.current};N.current&&!a(D.current,t)&&(D.current=t,i.flushSync(()=>{x(t)}))})},[y,t,n,A,_]);l(()=>{!1===g&&D.current.isPositioned&&(D.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[g]);let N=r.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{if(L&&(k.current=L),P&&(I.current=P),L&&P){if(M.current)return M.current(L,P,B);B()}},[L,P,B,M,F]);let j=r.useMemo(()=>({reference:k,floating:I,setReference:T,setFloating:C}),[T,C]),V=r.useMemo(()=>({reference:L,floating:P}),[L,P]),q=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!V.floating)return e;let t=u(V.floating,b.x),o=u(V.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+o+"px)",...s(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,m,V.floating,b.x,b.y]);return r.useMemo(()=>({...b,update:B,refs:j,elements:V,floatingStyles:q}),[b,B,j,V,q])}let f=(e,t)=>({...(0,o.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,o.BN)(e),options:[e,t]}),v=(e,t)=>
1({...(0,o.UU)(e),options:[e,t]}),m=(e,t)=>({...(0,o.Ej)(e),options:[e,t]})},77151:(e,t,n)=>{let o;n.d(t,{B:()=>r,X:()=>i});var r=((o=r||{})[o.First=0]="First",o[o.Previous=1]="Previous",o[o.Next=2]="Next",o[o.Last=3]="Last",o[o.Specific=4]="Specific",o[o.Nothing=5]="Nothing",o);function i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),r=null!=o?o:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 1:-1===r&&(r=n.length);for(let e=r-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 2:for(let e=r+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return o;case 4:for(let o=0;o<n.length;++o)if(t.resolveId(n[o],o,n)===e.id)return o;return o;case 5:return null;default:throw Error("Unexpected object: "+e)}}},78761:(e,t,n)=>{function o(){return"u">typeof window}function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!o()&&(e instanceof Node||e instanceof i(e).Node)}function s(e){return!!o()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!o()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function c(e){return!(!o()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function d(e){let{overflow:t,overflowX:n,overflowY:o,display:r}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function f(e){return["table","td","th"].includes(r(e))}function p(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function v(e){let t=h(),n=s(e)?b(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function m(e){let t=y(e);for(;u(t)&&!g(t);){if(v(t))return t;if(p(t))break;t=y(t)}return null}function h(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(r(e))}function b(e){return i(e).getComputedStyle(e)}function x(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function y(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||l(e);return c(t)?t.host:t}function w(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}n.d(t,{$4:()=>y,CP:()=>x,L9:()=>b,Lv:()=>f,Tc:()=>h,Tf:()=>p,ZU:()=>d,_m:()=>w,ep:()=>l,eu:()=>g,gJ:()=>m,mq:()=>r,sQ:()=>v,sb:()=>u,v9:()=>function e(t,n,o){var r;void 0===n&&(n=[]),void 0===o&&(o=!0);let l=function e(t){let n=y(t);return g(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&d(n)?n:e(n)}(t),a=l===(null==(r=t.ownerDocument)?void 0:r.body),s=i(l);if(a){let t=w(s);return n.concat(s,s.visualViewport||[],d(l)?l:[],t&&o?e(t):[])}return n.concat(l,e(l,[],o))},vq:()=>s,zk:()=>i})},88062:(e,t,n)=>{n.d(t,{P:()=>l});var o=n(55729),r=n(56760),i=n(81930);function l(e,t,n){let[l,a]=(0,o.useState)(n),s=void 0!==e,u=(0,o.useRef)(s),c=(0,o.useRef)(!1),d=(0,o.useRef)(!1);return!s||u.current||c.current?s||!u.current||d.current||(d.current=!0,u.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(c.current=!0,u.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:l,(0,i._)(e=>(s||(0,r.flushSync)(()=>a(e)),null==t?void 0:t(e)))]}},89321:(e,t,n)=>{let o;n.d(t,{r:()=>s,s:()=>u});var r=n(55729),i=n(90645),l=n(190),a=((o=a||{})[o.Ignore=0]="Ignore",o[o.Select=1]="Select",o[o.Close=2]="Close",o);let s={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}};function u(e,{trigger:t,action:n,close:o,select:a}){let s=(0,r.useRef)(null),c=(0,r.useRef)(null),d=(0,r.useRef)(null);(0,l.z)(e&&null!==t,"pointerdown",e=>{i.Ll(null==e?void 0:e.target)&&null!=t&&t.contains(e.target)&&(c.current=e.x,d.current=e.y,s.current=e.timeStamp)}),(0,l.z)(e&&null!==t,"pointerup",e=>{var t,r;let l=s.current;if(null===l||(s.current=null,!i.Lk(e.target))||5>Math.abs(e.x-(null!=(t=c.current)?t:e.x))&&5>
1Math.abs(e.y-(null!=(r=d.current)?r:e.y)))return;let u=n(e);switch(u.kind){case 0:return;case 1:e.timeStamp-l>200&&(a(u.target),o());break;case 2:o()}},{capture:!0})}},93961:(e,t,n)=>{n.d(t,{h:()=>function e(t={},n=null,i=[]){for(let[l,a]of Object.entries(t))!function t(n,i,l){if(Array.isArray(l))for(let[e,o]of l.entries())t(n,r(i,e.toString()),o);else l instanceof Date?n.push([i,l.toISOString()]):"boolean"==typeof l?n.push([i,l?"1":"0"]):"string"==typeof l?n.push([i,l]):"number"==typeof l?n.push([i,`${l}`]):null==l?n.push([i,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(l)&&!(0,o.isValidElement)(l)&&e(l,i,n)}(i,r(n,l),a);return i},q:()=>i});var o=n(55729);function r(e,t){return e?e+"["+t+"]":t}function i(e){var t,n;let o=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(o){for(let t of o.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=o.requestSubmit)||n.call(o)}}},95175:(e,t,n)=>{n.d(t,{B1:()=>E,C0:()=>f,Dz:()=>g,Jx:()=>a,LI:()=>i,PG:()=>v,RI:()=>l,Sg:()=>p,T9:()=>r,TV:()=>h,WJ:()=>x,_3:()=>d,bV:()=>S,jk:()=>o,lP:()=>w,nI:()=>O,qE:()=>c,sq:()=>m,w7:()=>b});let o=Math.min,r=Math.max,i=Math.round,l=Math.floor,a=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function c(e,t,n){return r(e,o(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function h(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return v(h(e))}function b(e,t,n){void 0===n&&(n=!1);let o=p(e),r=g(e),i=m(r),l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=S(l)),[l,S(l)]}function x(e){let t=S(e);return[y(e),t,y(t)]}function y(e){return e.replace(/start|end/g,e=>u[e])}function w(e,t,n,o){let r=p(e),i=function(e,t,n){let o=["left","right"],r=["right","left"];switch(e){case"top":case"bottom":if(n)return t?r:o;return t?o:r;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===n,o);return r&&(i=i.map(e=>e+"-"+r),t&&(i=i.concat(i.map(y)))),i}function S(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function O(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){let{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.