PageSourceSearch

https://www.curiousjr.com/gcms-fe/_next/static/chunks/961-4e95f95e256f30f0.js

js curiousjr.com collected 2026-09-24 10:25:03 UTC 53,135 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[961],{13654:function(e,t,n){var r=n(45113),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,u=r.useEffect,a=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,s){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var h=o(e,(f=a(function(){function e(e){if(!u){if(u=!0,o=e,e=r(e),void 0!==s&&d.hasValue){var t=d.value;if(s(t,e))return l=t}return l=e}if(t=l,i(o,e))return t;var n=r(e);return void 0!==s&&s(t,n)?(o=e,t):(o=e,l=n)}var o,l,u=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,s]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=h},[h]),c(h),h}},71885:function(e,t,n){e.exports=n(13654)},15861:function(e,t,n){n.d(t,{x7:function(){return N},Me:function(){return P},oo:function(){return V},US:function(){return A},RR:function(){return L},Cp:function(){return M},dr:function(){return D},cv:function(){return T},uY:function(){return C},dp:function(){return F}});var r=n(74834);function i(e,t,n){let i,{reference:o,floating:l}=e,u=(0,r.Qq)(t),a=(0,r.Wh)(t),c=(0,r.I4)(a),s=(0,r.k3)(t),f=o.x+o.width/2-l.width/2,d=o.y+o.height/2-l.height/2,h=o[c]/2-l[c]/2;switch(s){case"top":i={x:f,y:o.y-l.height};break;case"bottom":i={x:f,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:d};break;case"left":i={x:o.x-l.width,y:d};break;default:i={x:o.x,y:o.y}}let p=(0,r.hp)(t);return p&&(i[a]+=h*("end"===p?1:-1)*(n&&"y"===u?-1:1)),i}async function o(e,t){var n;void 0===t&&(t={});let{x:i,y:o,platform:l,rects:u,elements:a,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=(0,r.ku)(t,e),m=(0,r.yd)(p),v=a[h?"floating"===d?"reference":"floating":d],g=(0,r.JB)(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(v)))||n?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:c})),w="floating"===d?{x:i,y:o,width:u.floating.width,height:u.floating.height}:u.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),b=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},x=(0,r.JB)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:y,strategy:c}):w);return{top:(g.top-x.top+m.top)/b.y,bottom:(x.bottom-g.bottom+m.bottom)/b.y,left:(g.left-x.left+m.left)/b.x,right:(x.right-g.right+m.right)/b.x}}let l=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:a}=n,c=a.detectOverflow?a:{...a,detectOverflow:o},s=await (null==a.isRTL?void 0:a.isRTL(t)),f=await a.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:h}=i(f,r,s),p=r,m=0,v={};for(let n=0;n<u.length;n++){let o=u[n];if(!o)continue;let{name:g,fn:w}=o,{x:y,y:b,data:x,reset:E}=await w({x:d,y:h,initialPlacement:r,placement:p,strategy:l,middlewareData:v,rects:f,platform:c,elements:{reference:e,floating:t}});d=null!=y?y:d,h=null!=b?b:h,v[g]={...v[g],...x},E&&m<50&&(m++,"object"==typeof E&&(E.placement&&(p=E.placement),E.rects&&(f=!0===E.rects?await a.getElementRects({reference:e,floating:t,strategy:l}):E.rects),{x:d,y:h}=i(f,p,s)),n=-1)}return{x:d,y:h,placement:p,strategy:l,middlewareData:v}};function u(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function a(e){return r.mA.some(t=>e[t]>=0)}let c=new Set(["left","top"]);async function s(e,t){let{placement:n,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),u=(0,r.k3)(n),a=(0,r.hp)(n),s="y"===(0,r.Qq)(n),f=c.has(u)?-1:1,d=l&&s?-1:1,h=(0,r.ku)(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof v&&(m="end"===a?-1*v:v),s?{x:m*d,y:p*f}:{x:p*f,y:m*d}}var f=n(81771);function d(e){let t=(0,f.Dx)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,o=(0,f.Re)(e),l=o?e.offsetWidth:n,u=o?e.offsetHeight:i,a=(0,r.NM)(n)!==l||(0,r.NM)(i)!==u;return a&&(n=l,i=u),{width:n,height:i,$:a}}function h(e){return(0,f.kK)(e)?e:e.contextElement}function p(e){let t=h(e);if(!(0,f.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:i,height:o,$:l}=d(t),u=(l?(0,r.NM)(n.width):n.width)/i,a=(l?(0,r.NM)(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),a&&Number.isFinite(a)||(a=1),{x:u,y:a}}let m=(0,r.ze)(0);function v(e){let t=(0,f.Jj)(e);
vendor: 5,341 bytes, line 1
1return(0,f.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:m}function g(e,t,n,i){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),u=h(e),a=(0,r.ze)(1);t&&(i?(0,f.kK)(i)&&(a=p(i)):a=p(e));let c=(void 0===(o=n)&&(o=!1),i&&o&&i===(0,f.Jj)(u))?v(u):(0,r.ze)(0),s=(l.left+c.x)/a.x,d=(l.top+c.y)/a.y,m=l.width/a.x,g=l.height/a.y;if(u&&i){let e=(0,f.Jj)(u),t=(0,f.kK)(i)?(0,f.Jj)(i):i,n=e,r=(0,f.wK)(n);for(;r&&t!==n;){let e=p(r),t=r.getBoundingClientRect(),i=(0,f.Dx)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,d*=e.y,m*=e.x,g*=e.y,s+=o,d+=l,n=(0,f.Jj)(r),r=(0,f.wK)(n)}}return(0,r.JB)({width:m,height:g,x:s,y:d})}function w(e,t){let n=(0,f.Lw)(e).scrollLeft;return t?t.left+n:g((0,f.tF)(e)).left+n}function y(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-w(e,n),y:n.top+t.scrollTop}}function b(e,t,n){let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,f.Jj)(e),o=(0,f.tF)(e),l=i.visualViewport,u=o.clientWidth,a=o.clientHeight,c=0,s=0;if(l){let e=!(0,f.Pf)()||"fixed"===t;r?e||(c=-l.offsetLeft,s=-l.offsetTop):(u=l.width,a=l.height,e&&(c=l.offsetLeft,s=l.offsetTop))}if(0>=w(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(u-=l)}return{width:u,height:a,x:c,y:s}}(e,n,t);else if("document"===t)i=function(e){let t=(0,f.Lw)(e),n=e.ownerDocument.body,i=(0,r.Fp)(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=(0,r.Fp)(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),l=-t.scrollLeft+w(e),u=-t.scrollTop;return"rtl"===(0,f.Dx)(n).direction&&(l+=(0,r.Fp)(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:l,y:u}}((0,f.tF)(e));else if((0,f.kK)(t))i=function(e,t){let n=g(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=p(e),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=v(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.JB)(i)}function x(e){return"static"===(0,f.Dx)(e).position}function E(e,t){if(!(0,f.Re)(e)||"fixed"===(0,f.Dx)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,f.tF)(e)===n&&(n=n.ownerDocument.body),n}function R(e,t){let n=(0,f.Jj)(e);if((0,f.tR)(e))return n;if(!(0,f.Re)(e)){let t=(0,f.Ow)(e);for(;t&&!(0,f.Py)(t);){if((0,f.kK)(t)&&!x(t))return t;t=(0,f.Ow)(t)}return n}let r=E(e,t);for(;r&&(0,f.Ze)(r)&&x(r);)r=E(r,t);return r&&(0,f.Py)(r)&&x(r)&&!(0,f.hT)(r)?n:r||(0,f.gQ)(e)||n}let k=async function(e){let t=this.getOffsetParent||R,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,f.Re)(t),o=(0,f.tF)(t),l="fixed"===n,u=g(e,!0,l,t),a={scrollLeft:0,scrollTop:0},c=(0,r.ze)(0);if((i||!l)&&(("body"!==(0,f.wk)(t)||(0,f.ao)(o))&&(a=(0,f.Lw)(t)),i)){let e=g(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!i&&o&&(c.x=w(o));let s=!o||i||l?(0,r.ze)(0):y(o,a);return{x:u.left+a.scrollLeft-c.x-s.x,y:u.top+a.scrollTop-c.y-s.y,width:u.width,height:u.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},O={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e,l="fixed"===o,u=(0,f.tF)(i),a=!!t&&(0,f.tR)(t.floating);if(i===u||a&&l)return n;let c={scrollLeft:0,scrollTop:0},s=(0,r.ze)(1),d=(0,r.ze)(0),h=(0,f.Re)(i);if((h||!l)&&(("body"!==(0,f.wk)(i)||(0,f.ao)(u))&&(c=(0,f.Lw)(i)),h)){let e=g(i);s=p(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}let m=!u||h||l?(0,r.ze)(0):y(u,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+d.x+m.x,y:n.y*s.y-c.scrollTop*s.y+d.y+m.y}},getDocumentElement:f.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,l=[..."clippingAncestors"===n?(0,f.tR)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,f.Kx)(e,[],!1).filter(e=>(0,f.kK)(e)&&"body"!==(0,f.wk)(e)),i=null,o="fixed"===(0,f.Dx)(e).position,l=o?(0,f.Ow)(e):e;for(;(0,f.kK)(l)&&!(0,f.Py)(l);){let e=(0,f.Dx)(l),t=(0,f.hT)(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=(0,f.Ow)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),i],u=b(t,l[0],o),a=u.top,c=u.right,s=u.bottom,d=u.left;for(let e=1;e<l.length;e++){let n=b(t,l[e],o);a=(0,r.Fp)(n.top,a),c=(0,r.VV)(n.right,c),s=(0,r.VV)(n.bottom,s),d=(0,r.Fp)(n.left,d)}return{width:c-d,height:s-a,x:d,y:a}},getOffsetParent:R,getElementRects:k,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=d(e);return{width:t,height:n}},getScale:p,isElement:f.kK,isRTL:function(e){return"rtl"===(0,f.Dx)(e).direction}};function S(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function P(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=i,d=h(e),p=l||u?[...d?(0,f.Kx)(d):[],...t?(0,f.Kx)(t):[]]:[];
1p.forEach(e=>{l&&e.addEventListener("scroll",n),u&&e.addEventListener("resize",n)});let m=d&&c?function(e,t,n){let i,o=null,l=(0,f.tF)(e);function u(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}function a(n,c){void 0===n&&(n=!1),void 0===c&&(c=1),u();let s=e.getBoundingClientRect(),{left:f,top:d,width:h,height:p}=s;if(n||t(),!h||!p)return;let m=(0,r.GW)(d),v=(0,r.GW)(l.clientWidth-(f+h)),g={rootMargin:-m+"px "+-v+"px "+-(0,r.GW)(l.clientHeight-(d+p))+"px "+-(0,r.GW)(f)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,c))||1},w=!0;function y(t){let n=t[0].intersectionRatio;if(!S(s,e.getBoundingClientRect()))return a();if(n!==c){if(!w)return a();n?a(!1,n):i=setTimeout(()=>{a(!1,1e-7)},1e3)}w=!1}try{o=new IntersectionObserver(y,{...g,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(y,g)}o.observe(e)}let c=(0,f.Jj)(e),s=()=>a(n);return c.addEventListener("resize",s),a(!0),()=>{c.removeEventListener("resize",s),u()}}(d,n,u):null,v=-1,w=null;a&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&w&&t&&(w.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),d&&!s&&w.observe(d),t&&w.observe(t));let y=s?g(e):null;return s&&function t(){let r=g(e);y&&!S(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=w)||e.disconnect(),w=null,s&&cancelAnimationFrame(o)}}let A=o,T=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:u}=t,a=await s(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},C=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:o,platform:l}=t,{mainAxis:u=!0,crossAxis:a=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=(0,r.ku)(e,t),f={x:n,y:i},d=await l.detectOverflow(t,s),h=(0,r.Qq)(o),p=(0,r.Rn)(h),m=f[p],v=f[h],g=(e,t)=>(0,r.uZ)(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);u&&(m=g(p,m)),a&&(v=g(h,v));let w=c.fn({...t,[p]:m,[h]:v});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[p]:u,[h]:a}}}}}},L=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,l,u;let{placement:a,middlewareData:c,rects:s,initialPlacement:f,platform:d,elements:h}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:y=!0,...b}=(0,r.ku)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let x=(0,r.k3)(a),E=(0,r.Qq)(f),R=(0,r.k3)(f)===f,k=await (null==d.isRTL?void 0:d.isRTL(h.floating)),O=v||(R||!y?[(0,r.pw)(f)]:(0,r.gy)(f)),S="none"!==w;!v&&S&&O.push(...(0,r.KX)(f,y,w,k));let P=[f,...O],A=await d.detectOverflow(t,b),T=[],C=(null==(i=c.flip)?void 0:i.overflows)||[];if(p&&T.push(A[x]),m){let e=(0,r.i8)(a,s,k);T.push(A[e[0]],A[e[1]])}if(C=[...C,{placement:a,overflows:T}],!T.every(e=>e<=0)){let e=((null==(o=c.flip)?void 0:o.index)||0)+1,t=P[e];if(t&&(!("alignment"===m&&E!==(0,r.Qq)(t))||C.every(e=>(0,r.Qq)(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(l=C.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(g){case"bestFit":{let e=null==(u=C.filter(e=>{if(S){let t=(0,r.Qq)(e.placement);return t===E||"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:u[0];e&&(n=e);break}case"initialPlacement":n=f}if(a!==n)return{reset:{placement:n}}}return{}}}},F=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i;let{placement:o,rects:l,platform:u,elements:a}=t,{apply:c=()=>{},...s}=(0,r.ku)(e,t),f=await u.detectOverflow(t,s),d=(0,r.k3)(o),h=(0,r.hp)(o),p="y"===(0,r.Qq)(o),{width:m,height:v}=l.floating;"top"===d||"bottom"===d?(n=d,i=h===(await (null==u.isRTL?void 0:u.isRTL(a.floating))?"start":"end")?"left":"right"):(i=d,n="end"===h?"top":"bottom");let g=v-f.top-f.bottom,w=m-f.left-f.right,y=(0,r.VV)(v-f[n],g),b=(0,r.VV)(m-f[i],w),x=t.middlewareData.shift,E=y,R=b;null!=x&&x.enabled.x&&(R=w),null!=x&&x.enabled.y&&(E=g),x||h||(p?R=m-2*(0,r.Fp)(f.left,f.right):E=v-2*(0,r.Fp)(f.top,f.bottom)),await c({...t,availableWidth:R,availableHeight:E});let k=await u.getDimensions(a.floating);return m!==k.width||v!==k.height?{reset:{rects:!0}}:{}}}},M=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:o="referenceHidden",...l}=(0,r.ku)(e,t);switch(o){case"referenceHidden":{let e=u(await i.detectOverflow(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:a(e)}}}case"escaped":{let e=u(await i.detectOverflow(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:a(e)}}}default:return{}}}}},N=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:o,rects:l,platform:u,elements:a,middlewareData:c}=t,{element:s,padding:f=0}=(0,r.ku)(e,t)||{};if(null==s)return{};let d=(0,r.yd)(f),h={x:n,y:i},p=(0,r.Wh)(o),m=(0,r.I4)(p),v=await u.getDimensions(s),g="y"===p,w=g?"clientHeight":"clientWidth",y=l.reference[m]+l.reference[p]-h[p]-l.floating[m],b=h[p]-l.reference[p],x=await (null==u.getOffsetParent?void 0:u.getOffsetParent(s)),E=x?x[w]:0;E&&await (null==u.isElement?void 0:u.isElement(x))||(E=a.floating[w]||l.floating[m]);let R=E/2-v[m]/2-1,k=(0,r.VV)(d[g?"top":"left"],R),O=(0,r.VV)(d[g?"bottom":"right"],R),S=E-v[m]-O,P=E/2-v[m]/2+(y/2-b/2),A=(0,r.uZ)(k,P,S),T=!c.arrow&&null!=(0,r.hp)(o)&&P!==A&&l.reference[m]/2-(P<k?k:O)-v[m]/2<0,C=T?P<k?P-k:P-S:0;return{[p]:h[p]+C,data:{[p]:A,centerOffset:P-A-C,...T&&{alignmentOffset:C}},reset:T}}}),D=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i,o,l;let{x:u,y:a,placement:s,rects:f,middlewareData:d}=t,{offset:h=0,mainAxis:p=!0,crossAxis:m=!0}=(0,r.ku)(e,t),v={x:u,y:a},g=(0,r.Qq)(s),w=(0,r.Rn)(g),y=v[w],b=v[g],x=(0,r.ku)(h,t),E="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:null!=(n=x.mainAxis)?n:0,crossAxis:null!=(i=x.crossAxis)?i:0};if(p){let e="y"===w?"height":"width",t=f.reference[w]-f.floating[e]+E.mainAxis,n=f.reference[w]+f.reference[e]-E.mainAxis;y<t?y=t:y>n&&(y=n)}if(m){let e="y"===w?"width":"height",t=c.has((0,r.k3)(s)),n=f.reference[g]-f.floating[e]+(t&&(null==(o=d.offset)?void 0:o[g])||0)+(t?0:E.crossAxis),i=f.reference[g]+f.reference[e]+(t?0:(null==(l=d.offset)?void 0:l[g])||0)-(t?E.crossAxis:0);b<n?b=n:b>i&&(b=i)}return{[w]:y,[g]:b}}}},V=(e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...O,...i.platform,_c:r};return l(e,t,{...i,platform:o})}},19713:function(e,t,n){n.d(t,{Cp:function(){return w},RR:function(){return v},YF:function(){return f},cv:function(){return h},dp:function(){return g},dr:function(){return m},uY:function(){return p},x7:function(){return y}});var r=n(15861),i=n(45113),o=n(52509),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function u(e,t){let n,r,i;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!u(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!u(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let n=a(e);return Math.round(t*n)/n}function s(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[w,y]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,x]=i.useState(f);u(b,f)||x(f);let[E,R]=i.useState(null),[k,O]=i.useState(null),S=i.useCallback(e=>{e!==C.current&&(C.current=e,R(e))},[]),P=i.useCallback(e=>{e!==L.current&&(L.current=e,O(e))},[]),A=h||E,T=p||k,C=i.useRef(null),L=i.useRef(null),F=i.useRef(w),M=null!=v,N=s(v),D=s(d),V=s(g),W=i.useCallback(()=>{if(!C.current||!L.current)return;let e={placement:t,strategy:n,middleware:b};D.current&&(e.platform=D.current),(0,r.oo)(C.current,L.current,e).then(e=>{let t={...e,isPositioned:!1!==V.current};j.current&&!u(F.current,t)&&(F.current=t,o.flushSync(()=>{y(t)}))})},[b,t,n,D,V]);l(()=>{!1===g&&F.current.isPositioned&&(F.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let j=i.useRef(!1);l(()=>(j.current=!0,()=>{j.current=!1}),[]),l(()=>{if(A&&(C.current=A),T&&(L.current=T),A&&T){if(N.current)return N.current(A,T,W);W()}},[A,T,W,N,M]);let z=i.useMemo(()=>({reference:C,floating:L,setReference:S,setFloating:P}),[S,P]),H=i.useMemo(()=>({reference:A,floating:T}),[A,T]),I=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=c(H.floating,w.x),r=c(H.floating,w.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...a(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,H.floating,w.x,w.y]);return i.useMemo(()=>({...w,update:W,refs:z,elements:H,floatingStyles:I}),[w,W,z,H,I])}let d=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(t):{}:n?(0,r.x7)({element:n,padding:i}).fn(t):{}}}),h=(e,t)=>{let n=(0,r.cv)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.uY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>({fn:(0,r.dr)(e).fn,options:[e,t]}),v=(e,t)=>
1{let n=(0,r.RR)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,r.dp)(e);return{name:n.name,fn:n.fn,options:[e,t]}},w=(e,t)=>{let n=(0,r.Cp)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=d(e);return{name:n.name,fn:n.fn,options:[e,t]}}},81771:function(e,t,n){let r;function i(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function l(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function u(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!i()&&(e instanceof Node||e instanceof l(e).Node)}function c(e){return!!i()&&(e instanceof Element||e instanceof l(e).Element)}function s(e){return!!i()&&(e instanceof HTMLElement||e instanceof l(e).HTMLElement)}function f(e){return!!i()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof l(e).ShadowRoot)}function d(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function h(e){return/^(table|td|th)$/.test(o(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{Dx:function(){return E},Jj:function(){return l},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let o=function e(t){let n=k(t);return x(n)?(t.ownerDocument||t).body:s(n)&&d(n)?n:e(n)}(t),u=o===(null==(i=t.ownerDocument)?void 0:i.body),a=l(o);if(!u)return n.concat(o,e(o,[],r));{let t=O(a);return n.concat(a,a.visualViewport||[],d(o)?o:[],t&&r?e(t):[])}}},Lw:function(){return R},Ow:function(){return k},Pf:function(){return b},Py:function(){return x},Re:function(){return s},Ze:function(){return h},ao:function(){return d},gQ:function(){return y},hT:function(){return w},kK:function(){return c},tF:function(){return u},tR:function(){return p},wK:function(){return O},wk:function(){return o}});let m=/transform|translate|scale|rotate|perspective|filter/,v=/paint|layout|strict|content/,g=e=>!!e&&"none"!==e;function w(e){let t=c(e)?E(e):e;return g(t.transform)||g(t.translate)||g(t.scale)||g(t.rotate)||g(t.perspective)||!b()&&(g(t.backdropFilter)||g(t.filter))||m.test(t.willChange||"")||v.test(t.contain||"")}function y(e){let t=k(e);for(;s(t)&&!x(t);){if(w(t))return t;if(p(t))break;t=k(t)}return null}function b(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function x(e){return/^(html|body|#document)$/.test(o(e))}function E(e){return l(e).getComputedStyle(e)}function R(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function k(e){if("html"===o(e))return e;let t=e.assignedSlot||e.parentNode||f(e)&&e.host||u(e);return f(t)?t.host:t}function O(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},74834:function(e,t,n){n.d(t,{Fp:function(){return o},GW:function(){return u},I4:function(){return m},JB:function(){return A},KX:function(){return O},NM:function(){return l},Qq:function(){return v},Rn:function(){return p},VV:function(){return i},Wh:function(){return g},gy:function(){return y},hp:function(){return h},i8:function(){return w},k3:function(){return d},ku:function(){return f},mA:function(){return r},pw:function(){return S},uZ:function(){return s},yd:function(){return P},ze:function(){return a}});let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,u=Math.floor,a=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return o(e,i(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return p(v(e))}function w(e,t,n){void 0===n&&(n=!1);let r=h(e),i=g(e),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=S(l)),[l,S(l)]}function y(e){let t=S(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let x=["left","right"],E=["right","left"],R=["top","bottom"],k=["bottom","top"];function O(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?E:x;return t?x:E;case"left":case"right":return t?R:k;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(b)))),o}function S(e){let t=d(e);return c[t]+e.slice(t.length)}function P(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function A(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}}},29111:function(e,t,n){let r;n.d(t,{R:function(){return i}});var i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},60014:function(e,t,n){n.d(t,{Portal:function(){return E}
1,k:function(){return y},w:function(){return x}});var r=n(45113),i=n(52509),o=n(88320),l=n(50659),u=n(40174),a=n(7009),c=n(56163),s=n(69975),f=n(46871),d=n(50449),h=n(92426);let p=r.Fragment,m=(0,h.yV)(function(e,t){let{ownerDocument:n=null,...l}=e,m=(0,r.useRef)(null),v=(0,s.T)((0,s.h)(e=>{m.current=e}),t),y=(0,a.i)(m.current),b=function(e){let t=(0,f.n)(),n=(0,r.useContext)(g),[i,o]=(0,r.useState)(()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(d.O.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,r.useEffect)(()=>{null!==i&&(null!=e&&e.body.contains(i)||null==e||e.body.appendChild(i))},[i,e]),(0,r.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),i}(null!=n?n:y),x=(0,r.useContext)(w),E=(0,o.G)(),R=(0,c.H)(),k=(0,h.L6)();return(0,u.L)(()=>{var e;b&&b.childNodes.length<=0&&(null==(e=b.parentElement)||e.removeChild(b))}),b&&R?(0,i.createPortal)(r.createElement("div",{"data-headlessui-portal":"",ref:e=>{E.dispose(),x&&e&&E.add(x.register(e))}},k({ourProps:{ref:v},theirProps:l,slot:{},defaultTag:p,name:"Portal"})),b):null}),v=r.Fragment,g=(0,r.createContext)(null),w=(0,r.createContext)(null);function y(){let e=(0,r.useContext)(w),t=(0,r.useRef)([]),n=(0,l.z)(n=>(t.current.push(n),e&&e.register(n),()=>i(n))),i=(0,l.z)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),o=(0,r.useMemo)(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(w.Provider,{value:o},t)},[o])]}let b=(0,h.yV)(function(e,t){let n=(0,s.T)(t),{enabled:i=!0,ownerDocument:o,...l}=e,u=(0,h.L6)();return i?r.createElement(m,{...l,ownerDocument:o,ref:n}):u({ourProps:{ref:n},theirProps:l,slot:{},defaultTag:p,name:"Portal"})}),x=(0,h.yV)(function(e,t){let{target:n,...i}=e,o={ref:(0,s.T)(t)},l=(0,h.L6)();return r.createElement(g.Provider,{value:n},l({ourProps:o,theirProps:i,defaultTag:v,name:"Popover.Group"}))}),E=Object.assign(b,{Group:x})},31554:function(e,t,n){let r;n.r(t),n.d(t,{Transition:function(){return A},TransitionChild:function(){return P}});var i=n(45113),o=n(88320),l=n(50659),u=n(14699),a=n(17833),c=n(61302),s=n(56163),f=n(69975),d=n(31978),h=n(29026),p=n(91642),m=n(91729),v=n(92426);function g(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,v.M2)(null!=(t=e.as)?t:R)||1===i.Children.count(e.children)}let w=(0,i.createContext)(null);w.displayName="TransitionContext";var y=((r=y||{}).Visible="visible",r.Hidden="hidden",r);let b=(0,i.createContext)(null);function x(e){return"children"in e?x(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function E(e,t){let n=(0,c.E)(e),r=(0,i.useRef)([]),a=(0,u.t)(),s=(0,o.G)(),f=(0,l.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.l4.Hidden,i=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==i&&((0,m.E)(t,{[v.l4.Unmount](){r.current.splice(i,1)},[v.l4.Hidden](){r.current[i].state="hidden"}}),s.microTask(()=>{var e;!x(r)&&a.current&&(null==(e=n.current)||e.call(n))}))}),d=(0,l.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>f(e,v.l4.Unmount)}),h=(0,i.useRef)([]),p=(0,i.useRef)(Promise.resolve()),g=(0,i.useRef)({enter:[],leave:[]}),w=(0,l.z)((e,n,r)=>{h.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{h.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(g.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
1)]),"enter"===n?p.current=p.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),y=(0,l.z)((e,t,n)=>{Promise.all(g.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=h.current.shift())||e()}).then(()=>n(t))});return(0,i.useMemo)(()=>({children:r,register:d,unregister:f,onStart:w,onStop:y,wait:p,chains:g}),[d,f,r,w,y,g,p])}b.displayName="NestingContext";let R=i.Fragment,k=v.VN.RenderStrategy,O=(0,v.yV)(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...u}=e,c=(0,i.useRef)(null),d=g(e),p=(0,f.T)(...d?[c,t]:null===t?[]:[t]);(0,s.H)();let m=(0,h.oJ)();if(void 0===n&&null!==m&&(n=(m&h.ZM.Open)===h.ZM.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[y,R]=(0,i.useState)(n?"visible":"hidden"),O=E(()=>{n||R("hidden")}),[P,A]=(0,i.useState)(!0),T=(0,i.useRef)([n]);(0,a.e)(()=>{!1!==P&&T.current[T.current.length-1]!==n&&(T.current.push(n),A(!1))},[T,n]);let C=(0,i.useMemo)(()=>({show:n,appear:r,initial:P}),[n,r,P]);(0,a.e)(()=>{n?R("visible"):x(O)||null===c.current||R("hidden")},[n,O]);let L={unmount:o},F=(0,l.z)(()=>{var t;P&&A(!1),null==(t=e.beforeEnter)||t.call(e)}),M=(0,l.z)(()=>{var t;P&&A(!1),null==(t=e.beforeLeave)||t.call(e)}),N=(0,v.L6)();return i.createElement(b.Provider,{value:O},i.createElement(w.Provider,{value:C},N({ourProps:{...L,as:i.Fragment,children:i.createElement(S,{ref:p,...L,...u,beforeEnter:F,beforeLeave:M})},theirProps:{},defaultTag:i.Fragment,features:k,visible:"visible"===y,name:"Transition"})))}),S=(0,v.yV)(function(e,t){var n,r;let{transition:o=!0,beforeEnter:u,afterEnter:c,beforeLeave:y,afterLeave:O,enter:S,enterFrom:P,enterTo:A,entered:T,leave:C,leaveFrom:L,leaveTo:F,...M}=e,[N,D]=(0,i.useState)(null),V=(0,i.useRef)(null),W=g(e),j=(0,f.T)(...W?[V,t,D]:null===t?[]:[t]),z=null==(n=M.unmount)||n?v.l4.Unmount:v.l4.Hidden,{show:H,appear:I,initial:_}=function(){let e=(0,i.useContext)(w);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[K,G]=(0,i.useState)(H?"visible":"hidden"),J=function(){let e=(0,i.useContext)(b);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:q,unregister:B}=J;(0,a.e)(()=>q(V),[q,V]),(0,a.e)(()=>{if(z===v.l4.Hidden&&V.current){if(H&&"visible"!==K){G("visible");return}return(0,m.E)(K,{hidden:()=>B(V),visible:()=>q(V)})}},[K,V,q,B,H,z]);let U=(0,s.H)();(0,a.e)(()=>{if(W&&U&&"visible"===K&&null===V.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[V,K,U,W]);let Y=_&&!I,Q=I&&H&&_,Z=(0,i.useRef)(!1),X=E(()=>{Z.current||(G("hidden"),B(V))},J),$=(0,l.z)(e=>{Z.current=!0,X.onStart(V,e?"enter":"leave",e=>{"enter"===e?null==u||u():"leave"===e&&(null==y||y())})}),ee=(0,l.z)(e=>{let t=e?"enter":"leave";Z.current=!1,X.onStop(V,t,e=>{"enter"===e?null==c||c():"leave"===e&&(null==O||O())}),"leave"!==t||x(X)||(G("hidden"),B(V))});(0,i.useEffect)(()=>{W&&o||($(H),ee(H))},[H,W,o]);let et=!(!o||!W||!U||Y),[,en]=(0,d.Y)(et,N,H,{start:$,end:ee}),er=(0,v.oA)({ref:j,className:(null==(r=(0,p.A)(M.className,Q&&S,Q&&P,en.enter&&S,en.enter&&en.closed&&P,en.enter&&!en.closed&&A,en.leave&&C,en.leave&&!en.closed&&L,en.leave&&en.closed&&F,!en.transition&&H&&T))?void 0:r.trim())||void 0,...(0,d.X)(en)}),ei=0;"visible"===K&&(ei|=h.ZM.Open),"hidden"===K&&(ei|=h.ZM.Closed),H&&"hidden"===K&&(ei|=h.ZM.Opening),H||"visible"!==K||(ei|=h.ZM.Closing);let eo=(0,v.L6)();return i.createElement(b.Provider,{value:X},i.createElement(h.up,{value:ei},eo({ourProps:er,theirProps:M,defaultTag:R,features:k,visible:"visible"===K,name:"Transition.Child"})))}),P=(0,v.yV)(function(e,t){let n=null!==(0,i.useContext)(w),r=null!==(0,h.oJ)();return i.createElement(i.Fragment,null,!n&&r?i.createElement(O,{ref:t,...e}):i.createElement(S,{ref:t,...e}))}),A=Object.assign(O,{Child:P,Root:O})},90567:function(e,t,n){n.d(t,{I:function(){return o}});var r=n(45113),i=n(61302);function o(e,t,n,o){let l=(0,i.E)(n);(0,r.useEffect)(()=>{if(e)return document.addEventListener(t,n,o),()=>document.removeEventListener(t,n,o);function n(e){l.current(e)}},[e,t,o])}},13408:function(e,t,n){n.d(t,{s:function(){return s}});var r=n(78631),i=n(9077),o=n(53093),l=n(17833);let u=new Map,a=new Map;function c(e){var t;let n=null!=(t=a.get(e))?t:0;return a.set(e,n+1),0!==n||(u.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=a.get(e))?t:1;if(1===n?a.delete(e):a.set(e,n-1),1!==n)return;let r=u.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,u.delete(e))})(e)}function s(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=(0,o.g)(e,"inert-others");(0,l.e)(()=>{var e,o;if(!u)return;let l=(0,r.k)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&l.add(c(t));let a=null!=(o=null==t?void 0:t())?o:[];for(let e of a){if(!e)continue;let t=(0,i.r3)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)a.some(t=>e.contains(t))||l.add(c(e));n=n.parentElement}}return l.dispose},[u,t,n])}},14699:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(45113),i=n(17833);function o(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},53093:function(e,t,n){n.d(t,{g:function(){return u}});var r=n(45113),i=n(7210),o=n(2756),l=n(17833);function u(e,t){let n=(0,r.useId)(),u=i.n.get(t),[a,c]=(0,o.M)(u,(0,r.useCallback)(e=>[u.selectors.isTop(e,n),u.selectors.inStack(e,n)],[u,n]));return(0,l.e)(()=>
1{if(e)return u.actions.push(n),()=>u.actions.pop(n)},[u,e,n]),!!e&&(!c||a)}},87239:function(e,t,n){n.d(t,{m:function(){return u}});var r=n(45113),i=n(78631),o=n(88028),l=n(61302);function u(e,t,n){let u=(0,l.E)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,r.useEffect)(()=>{if(!e)return;let n=null===t?null:o.Re(t)?t:t.current;if(!n)return;let r=(0,i.k)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>u.current(n));e.observe(n),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>u.current(n));e.observe(n),r.add(()=>e.disconnect())}return()=>r.dispose()},[t,u,e])}},40174:function(e,t,n){n.d(t,{L:function(){return l}});var r=n(45113),i=n(71483),o=n(50659);function l(e){let t=(0,o.z)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,i.Y)(()=>{n.current&&t()})}),[t])}},37331:function(e,t,n){n.d(t,{O:function(){return s}});var r=n(45113),i=n(88028),o=n(21539),l=n(32085),u=n(90567),a=n(61302),c=n(24900);function s(e,t,n){let s=(0,a.E)(n),f=(0,r.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.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(r)||e.composed&&e.composedPath().includes(n)))return;return(0,o.sP)(r,o.tJ.Loose)||-1===r.tabIndex||e.preventDefault(),s.current(e,r)}},[s,t]),d=(0,r.useRef)(null);(0,u.I)(e,"pointerdown",e=>{var t,n;(0,l.tq)()||(d.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),(0,u.I)(e,"pointerup",e=>{if((0,l.tq)()||!d.current)return;let t=d.current;return d.current=null,f(e,()=>t)},!0);let h=(0,r.useRef)({x:0,y:0});(0,u.I)(e,"touchstart",e=>{h.current.x=e.touches[0].clientX,h.current.y=e.touches[0].clientY},!0),(0,u.I)(e,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-h.current.x)>=30||Math.abs(t.y-h.current.y)>=30))return f(e,()=>i.sP(e.target)?e.target:null)},!0),(0,c.s)(e,"blur",e=>f(e,()=>i.jQ(window.document.activeElement)?window.document.activeElement:null),!0)}},7009:function(e,t,n){n.d(t,{i:function(){return o},p:function(){return l}});var r=n(45113),i=n(9077);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,i.r3)(...t),[...t])}function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,i.k3)(...t),[...t])}},8431:function(e,t,n){let r,i;n.d(t,{P:function(){return m}});var o,l,u=n(45113),a=n(17833),c=n(78631),s=n(88028),f=n(32085);function d(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let h=(o=()=>new Map,l={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,c.k)(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=d(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=d(n.meta)),this},SCROLL_PREVENT(e){let t;let n={doc:e.doc,d:e.d,meta:()=>e.computedMeta},r=[(0,f.gn)()?{before(e){let{doc:t,d:n,meta:r}=e;function i(e){for(let t of r().containers)for(let n of t())if(n.contains(e))return!0;return!1}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,c.k)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,o=null;n.addEventListener(t,"click",e=>{if(s.sP(e.target))try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),l=t.querySelector(r);s.sP(l)&&!i(l)&&(o=l)}catch(e){}},!0),n.group(e=>{n.addEventListener(t,"touchstart",t=>{if(e.dispose(),s.sP(t.target)&&s.nR(t.target)){if(i(t.target)){let n=t.target;for(;n.parentElement&&i(n.parentElement);)n=n.parentElement;e.style(n,"overscrollBehavior","contain")}else e.style(t.target,"touchAction","none")}})}),n.addEventListener(t,"touchmove",e=>{if(s.sP(e.target)&&!s.LL(e.target)){if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before(e){var n;let{doc:r}=e,i=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-i.clientWidth)},after(e){let{doc:n,d:r}=e,i=n.documentElement,o=Math.max(0,i.clientWidth-i.offsetWidth),l=Math.max(0,t-o);r.style(i,"paddingRight","".concat(l,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];
1r.forEach(e=>{let{before:t}=e;return null==t?void 0:t(n)}),r.forEach(e=>{let{after:t}=e;return null==t?void 0:t(n)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},r=o(),i=new Set,{getSnapshot:()=>r,subscribe:e=>(i.add(e),()=>i.delete(e)),dispatch(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];let u=l[e].call(r,...n);u&&(r=u,i.forEach(e=>e()))}});h.subscribe(()=>{let e=h.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)&&h.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&h.dispatch("TEARDOWN",n)}});var p=n(53093);function m(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),r=(0,u.useSyncExternalStore)(h.subscribe,h.getSnapshot,h.getSnapshot),i=t?r.get(t):void 0;i&&i.count,(0,a.e)(()=>{if(!(!t||!e))return h.dispatch("PUSH",t,n),()=>h.dispatch("POP",t,n)},[e,t])}((0,p.g)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}},56163:function(e,t,n){n.d(t,{H:function(){return l}});var r,i=n(45113),o=n(50449);function l(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[l,u]=i.useState(o.O.isHandoffComplete);return l&&!1===o.O.isHandoffComplete&&u(!1),i.useEffect(()=>{!0!==l&&u(!0)},[l]),i.useEffect(()=>o.O.handoff(),[]),!t&&l}},31978:function(e,t,n){let r;n.d(t,{X:function(){return d},Y:function(){return h}});var i,o,l=n(45113),u=n(78631),a=n(88320),c=n(17833),s=n(28070);void 0!==s&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(i=null==s?void 0:s.env)?void 0:i.NODE_ENV)==="test"&&void 0===(null==(o=null==Element?void 0:Element.prototype)?void 0:o.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var f=((r=f||{})[r.None=0]="None",r[r.Closed=1]="Closed",r[r.Enter=2]="Enter",r[r.Leave=4]="Leave",r);function d(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}function h(e,t,n,r){let[i,o]=(0,l.useState)(n),{hasFlag:s,addFlag:f,removeFlag:d}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,l.useState)(e),r=(0,l.useCallback)(e=>n(e),[]),i=(0,l.useCallback)(e=>n(t=>t|e),[]),o=(0,l.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:(0,l.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,l.useCallback)(e=>n(t=>t^e),[])}}(e&&i?3:0),h=(0,l.useRef)(!1),p=(0,l.useRef)(!1),m=(0,a.G)();return(0,c.e)(()=>{var i;if(e){if(n&&o(!0),!t){n&&f(3);return}return null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,t){let{prepare:n,run:r,done:i,inFlight:o}=t,l=(0,u.k)();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current){r();return}let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}(e,{prepare:n,inFlight:o}),l.nextFrame(()=>{r(),l.requestAnimationFrame(()=>{l.add(function(e,t){var n,r;let i=(0,u.k)();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let l=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===l.length?t():Promise.allSettled(l.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,i))})}),l.dispose}(t,{inFlight:h,prepare(){p.current?p.current=!1:p.current=h.current,h.current=!0,p.current||(n?(f(3),d(4)):(f(4),d(2)))},run(){p.current?n?(d(3),f(4)):(d(4),f(3)):n?d(1):f(1)},done(){var e,i,l;p.current&&(null!=(l=null==(i=t.getAnimations)?void 0:i.call(t))?l:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(h.current=!1,d(7),n||o(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,m]),e?[i,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},24900:function(e,t,n){n.d(t,{s:function(){return o}});var r=n(45113),i=n(61302);function o(e,t,n,o){let l=(0,i.E)(n);(0,r.useEffect)(()=>
1{if(e)return window.addEventListener(t,n,o),()=>window.removeEventListener(t,n,o);function n(e){l.current(e)}},[e,t,o])}},29026:function(e,t,n){let r;n.d(t,{ZM:function(){return l},oJ:function(){return u},up:function(){return a},uu:function(){return c}});var i=n(45113);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var l=((r=l||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function u(){return(0,i.useContext)(o)}function a(e){let{value:t,children:n}=e;return i.createElement(o.Provider,{value:t},n)}function c(e){let{children:t}=e;return i.createElement(o.Provider,{value:null},t)}},46871:function(e,t,n){n.d(t,{O:function(){return l},n:function(){return o}});var r=n(45113);let i=(0,r.createContext)(!1);function o(){return(0,r.useContext)(i)}function l(e){return r.createElement(i.Provider,{value:e.force},e.children)}},29097:function(e,t,n){n.d(t,{J:function(){return v},dC:function(){return b},wU:function(){return g}});var r,i,o,l=n(3130),u=n(78631),a=n(50449),c=Object.defineProperty,s=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t,n)=>(s(e,"symbol"!=typeof t?t+"":t,n),n),d=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},h=(e,t,n)=>(d(e,t,"read from private field"),n?n.call(e):t.get(e)),p=(e,t,n)=>{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)},m=(e,t,n,r)=>(d(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class v{dispose(){this.disposables.dispose()}get state(){return h(this,r)}subscribe(e,t){if(a.O.isServer)return()=>{};let n={selector:e,callback:t,current:e(h(this,r))};return h(this,o).add(n),this.disposables.add(()=>{h(this,o).delete(n)})}on(e,t){return a.O.isServer?()=>{}:(h(this,i).get(e).add(t),this.disposables.add(()=>{h(this,i).get(e).delete(t)}))}send(e){let t=this.reduce(h(this,r),e);if(t!==h(this,r)){for(let e of(m(this,r,t),h(this,o))){let t=e.selector(h(this,r));g(e.current,t)||(e.current=t,e.callback(t))}for(let t of h(this,i).get(e.type))t(h(this,r),e)}}constructor(e){p(this,r,{}),p(this,i,new l.G(()=>new Set)),p(this,o,new Set),f(this,"disposables",(0,u.k)()),m(this,r,e),a.O.isServer&&this.disposables.microTask(()=>{this.dispose()})}}function g(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&&w(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&w(e.entries(),t.entries()):!!(y(e)&&y(t))&&w(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function w(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 y(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function b(e){let[t,n]=e(),r=(0,u.k)();return function(){for(var e=arguments.length,i=Array(e),o=0;o<e;o++)i[o]=arguments[o];t(...i),r.dispose(),r.microTask(n)}}r=new WeakMap,i=new WeakMap,o=new WeakMap},7210:function(e,t,n){let r;n.d(t,{M:function(){return s},n:function(){return h}});var i=n(29097),o=n(3130),l=n(91729),u=Object.defineProperty,a=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t,n)=>(a(e,"symbol"!=typeof t?t+"":t,n),n),s=((r=s||{})[r.Push=0]="Push",r[r.Pop=1]="Pop",r);let f={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 d extends i.J{static new(){return new d({stack:[]})}reduce(e,t){return(0,l.E)(t.type,f,e,t)}constructor(){super(...arguments),c(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),c(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}}let h=new o.G(()=>d.new())},2756:function(e,t,n){n.d(t,{M:function(){return l}});var r=n(71885),i=n(50659),o=n(29097);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.wU;return(0,r.useSyncExternalStoreWithSelector)((0,i.z)(t=>e.subscribe(u,t)),(0,i.z)(()=>e.state),(0,i.z)(()=>e.state),(0,i.z)(t),n)}function u(e){return e}},3130:function(e,t,n){n.d(t,{G:function(){return r}});class r extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}},21539:function(e,t,n){let r,i,o,l,u;n.d(t,{C5:function(){return E},EO:function(){return k},GO:function(){return g},TO:function(){return p},fE:function(){return m},jA:function(){return O},sP:function(){return y},tJ:function(){return w},wI:function(){return b},y:function(){return d},z2:function(){return R}});var a=n(78631),c=n(88028),s=n(91729),f=n(9077);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(","),h=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var p=((r=p||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r[r.AutoFocus=64]="AutoFocus",r),m=((i=m||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),v=((o=v||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>
1Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var w=((l=w||{})[l.Strict=0]="Strict",l[l.Loose=1]="Loose",l);function y(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,f.r3)(e))?void 0:t.body)&&(0,s.E)(n,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function b(e){(0,a.k)().nextFrame(()=>{let t=(0,f.vY)(e);t&&c.sP(t)&&!y(t,0)&&E(e)})}var x=((u=x||{})[u.Keyboard=0]="Keyboard",u[u.Mouse=1]="Mouse",u);function E(e){null==e||e.focus({preventScroll:!0})}function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]: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){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null===e?document.body:(0,f.k3)(e);return O(g(n),t,{relativeTo:e})}function O(e,t){var n,r,i;let{sorted:o=!0,relativeTo:l=null,skipElements:u=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Array.isArray(e)?e.length>0?(0,f.k3)(e[0]):document:(0,f.k3)(e),c=Array.isArray(e)?o?R(e):e:64&t?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(h)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):g(e);u.length>0&&c.length>1&&(c=c.filter(e=>!u.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),l=null!=l?l:null==a?void 0:a.activeElement;let s=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,c.indexOf(l))-1;if(4&t)return Math.max(0,c.indexOf(l))+1;if(8&t)return c.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=32&t?{preventScroll:!0}:{},m=0,v=c.length,w;do{if(m>=v||m+v<=0)return 0;let e=d+m;if(16&t)e=(e+v)%v;else{if(e<0)return 3;if(e>=v)return 1}null==(w=c[e])||w.focus(p),m+=s}while(w!==(0,f.vY)(w));return 6&t&&null!=(i=null==(r=null==(n=w)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&i&&w.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))},32085:function(e,t,n){function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return i}})}}]);
2//# sourceMappingURL=961-4e95f95e256f30f0.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.