1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,363178,e=>{"use strict";var t=e.i(271645),n=(e,t,n,i,r,o,l,a)=>{let s=document.documentElement,c=["light","dark"];function f(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,i=n&&o?r.map(e=>o[e]||e):r;n?(s.classList.remove(...i),s.classList.add(o&&o[t]?o[t]:t)):s.setAttribute(e,t)}),n=t,a&&c.includes(n)&&(s.style.colorScheme=n)}if(i)f(i);else try{let e=localStorage.getItem(t)||n,i=l&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;f(i)}catch(e){}},i=["light","dark"],r="(prefers-color-scheme: dark)",o="u"<typeof window,l=t.createContext(void 0),a={setTheme:e=>{},themes:[]},s=()=>{var e;return null!=(e=t.useContext(l))?e:a},c=e=>t.useContext(l)?t.createElement(t.Fragment,null,e.children):t.createElement(u,{...e}),f=["light","dark"],u=({forcedTheme:e,disableTransitionOnChange:n=!1,enableSystem:o=!0,enableColorScheme:a=!0,storageKey:s="theme",themes:c=f,defaultTheme:u=o?"system":"light",attribute:g="data-theme",value:y,children:w,nonce:v,scriptProps:x})=>{let[b,T]=t.useState(()=>m(s,u)),[R,L]=t.useState(()=>"system"===b?p():b),E=y?Object.values(y):c,A=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=p());let r=y?y[t]:t,l=n?h(v):null,s=document.documentElement,c=e=>{"class"===e?(s.classList.remove(...E),r&&s.classList.add(r)):e.startsWith("data-")&&(r?s.setAttribute(e,r):s.removeAttribute(e))};if(Array.isArray(g)?g.forEach(c):c(g),a){let e=i.includes(u)?u:null,n=i.includes(t)?t:e;s.style.colorScheme=n}null==l||l()},[v]),C=t.useCallback(e=>{let t="function"==typeof e?e(b):e;T(t);try{localStorage.setItem(s,t)}catch(e){}},[b]),S=t.useCallback(t=>{L(p(t)),"system"===b&&o&&!e&&A("system")},[b,e]);t.useEffect(()=>{let e=window.matchMedia(r);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),t.useEffect(()=>{let e=e=>{e.key===s&&(e.newValue?T(e.newValue):C(u))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),t.useEffect(()=>{A(null!=e?e:b)},[e,b]);let O=t.useMemo(()=>({theme:b,setTheme:C,forcedTheme:e,resolvedTheme:"system"===b?R:b,themes:o?[...c,"system"]:c,systemTheme:o?R:void 0}),[b,C,e,R,o,c]);return t.createElement(l.Provider,{value:O},t.createElement(d,{forcedTheme:e,storageKey:s,attribute:g,enableSystem:o,enableColorScheme:a,defaultTheme:u,value:y,themes:c,nonce:v,scriptProps:x}),w)},d=t.memo(({forcedTheme:e,storageKey:i,attribute:r,enableSystem:o,enableColorScheme:l,defaultTheme:a,value:s,themes:c,nonce:f,scriptProps:u})=>{let d=JSON.stringify([r,i,a,e,c,s,o,l]).slice(1,-1);return t.createElement("script",{...u,suppressHydrationWarning:!0,nonce:"u"<typeof window?f:"",dangerouslySetInnerHTML:{__html:`(${n.toString()})(${d})`}})}),m=(e,t)=>{let n;if(!o){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},h=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},p=e=>(e||(e=window.matchMedia(r)),e.matches?"dark":"light");e.s(["ThemeProvider",()=>c,"useTheme",()=>s])},906085,e=>{"use strict";var t="u">typeof self?self:"u">typeof window?window:e.g;let n=t.fetch,i=t.fetch.bind(t),r=t.Headers,o=t.Request,l=t.Response;e.s(["Headers",0,r,"Request",0,o,"Response",0,l,"default",0,i,"fetch",0,n])},920755,e=>{"use strict";e.i(529225);var t=e.i(972390);function n(){return(0,t.createBrowserClient)("https://szagselysretzuvhqswo.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InN6YWdzZWx5c3JldHp1dmhxc3dvIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDI5ODA5NTgsImV4cCI6MjA1ODU1Njk1OH0.nOYq_sIaVZjs1nrGzt3tsKQq2KzIpKETDs_9r0dYCmg")}e.s(["createClient",()=>n])},953760,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>
1e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,r=Math.max,o=Math.round,l=Math.floor,a=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function p(e){return["top","bottom"].includes(u(e))?"y":"x"}function g(e,t,n){void 0===n&&(n=!1);let i=d(e),r=m(p(e)),o=h(r),l="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=w(l)),[l,w(l)]}function y(e){return e.replace(/start|end/g,e=>c[e])}function w(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function v(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function b(e,t,n){let i,{reference:r,floating:o}=e,l=p(t),a=m(p(t)),s=h(a),c=u(t),f="y"===l,g=r.x+r.width/2-o.width/2,y=r.y+r.height/2-o.height/2,w=r[s]/2-o[s]/2;switch(c){case"top":i={x:g,y:r.y-o.height};break;case"bottom":i={x:g,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:y};break;case"left":i={x:r.x-o.width,y:y};break;default:i={x:r.x,y:r.y}}switch(d(t)){case"start":i[a]-=w*(n&&f?-1:1);break;case"end":i[a]+=w*(n&&f?-1:1)}return i}let T=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:u}=b(c,i,s),d=i,m={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:p}=a[n],{x:g,y:y,data:w,reset:v}=await p({x:f,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[o]:{...m[o],...w}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):v.rects),{x:f,y:u}=b(c,d,s)),n=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}};async function R(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=f(t,e),p=v(h),g=a[m?"floating"===d?"reference":"floating":d],y=x(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),w="floating"===d?{x:i,y:r,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),T=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},R=x(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:b,strategy:s}):w);return{top:(y.top-R.top+p.top)/T.y,bottom:(R.bottom-y.bottom+p.bottom)/T.y,left:(y.left-R.left+p.left)/T.x,right:(R.right-y.right+p.right)/T.x}}function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function E(e){return t.some(t=>e[t]>=0)}function A(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:r(...e.map(e=>e.right))-t,height:r(...e.map(e=>e.bottom))-n}}async function C(e,t){let{placement:n,platform:i,elements:r}=e,o=await (null==i.isRTL?void 0:i.isRTL(r.floating)),l=u(n),a=d(n),s="y"===p(n),c=["left","top"].includes(l)?-1:1,m=o&&s?-1:1,h=f(t,e),{mainAxis:g,crossAxis:y,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(y="end"===a?-1*w:w),s?{x:y*m,y:g*c}:{x:g*c,y:y*m}}function S(){return"u">typeof window}function O(e){return P(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function I(e){var t;return null==(t=(P(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function P(e){return!!S()&&(e instanceof Node||e instanceof k(e).Node)}function D(e){return!!S()&&(e instanceof Element||e instanceof k(e).Element)}function H(e){return!!S()&&(e instanceof HTMLElement||e instanceof k(e).HTMLElement)}function F(e){return!(!S()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof k(e).ShadowRoot)}function z(e){let{overflow:t,overflowX:n,overflowY:i,display:r}=N(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function M(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function W(e){let t=V(),n=D(e)?N(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 V(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function B(e){return["html","body","#document"].includes(O(e))}function N(e){return k(e).getComputedStyle(e)}function J(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function j(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||F(e)&&e.host||I(e);return F(t)?t.host:t}function K(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=j(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&z(n)?n:e(n)}(e),o=r===(null==(i=e.ownerDocument)?void 0:i.body),l=k(r);if(o){let e=q(l);
1return t.concat(l,l.visualViewport||[],z(r)?r:[],e&&n?K(e):[])}return t.concat(r,K(r,[],n))}function q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Y(e){let t=N(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=H(e),l=r?e.offsetWidth:n,a=r?e.offsetHeight:i,s=o(n)!==l||o(i)!==a;return s&&(n=l,i=a),{width:n,height:i,$:s}}function _(e){return D(e)?e:e.contextElement}function U(e){let t=_(e);if(!H(t))return a(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:l}=Y(t),s=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}let Z=a(0);function X(e){let t=k(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Z}function $(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=_(e),s=a(1);t&&(i?D(i)&&(s=U(i)):s=U(e));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===k(l))&&r)?X(l):a(0),f=(o.left+c.x)/s.x,u=(o.top+c.y)/s.y,d=o.width/s.x,m=o.height/s.y;if(l){let e=k(l),t=i&&D(i)?k(i):i,n=e,r=q(n);for(;r&&i&&t!==n;){let e=U(r),t=r.getBoundingClientRect(),i=N(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;f*=e.x,u*=e.y,d*=e.x,m*=e.y,f+=o,u+=l,r=q(n=k(r))}}return x({width:d,height:m,x:f,y:u})}function G(e,t){let n=J(e).scrollLeft;return t?t.left+n:$(I(e)).left+n}function Q(e,t,n){void 0===n&&(n=!1);let i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-(n?0:G(e,i)),y:i.top+t.scrollTop}}function ee(e,t,n){var i;let o;if("viewport"===t)o=function(e,t){let n=k(e),i=I(e),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,a=0,s=0;if(r){o=r.width,l=r.height;let e=V();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,s=r.offsetTop)}return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t){let t,n,l,a,s,c,f;i=I(e),t=I(i),n=J(i),l=i.ownerDocument.body,a=r(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),s=r(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),c=-n.scrollLeft+G(i),f=-n.scrollTop,"rtl"===N(l).direction&&(c+=r(t.clientWidth,l.clientWidth)-a),o={width:a,height:s,x:c,y:f}}else if(D(t)){let e,i,r,l,s,c;i=(e=$(t,!0,"fixed"===n)).top+t.clientTop,r=e.left+t.clientLeft,l=H(t)?U(t):a(1),s=t.clientWidth*l.x,c=t.clientHeight*l.y,o={width:s,height:c,x:r*l.x,y:i*l.y}}else{let n=X(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return x(o)}function et(e){return"static"===N(e).position}function en(e,t){if(!H(e)||"fixed"===N(e).position)return null;if(t)return t(e);let n=e.offsetParent;return I(e)===n&&(n=n.ownerDocument.body),n}function ei(e,t){let n=k(e);if(M(e))return n;if(!H(e)){let t=j(e);for(;t&&!B(t);){if(D(t)&&!et(t))return t;t=j(t)}return n}let i=en(e,t);for(;i&&["table","td","th"].includes(O(i))&&et(i);)i=en(i,t);return i&&B(i)&&et(i)&&!W(i)?n:i||function(e){let t=j(e);for(;H(t)&&!B(t);){if(W(t))return t;if(M(t))break;t=j(t)}return null}(e)||n}let er=async function(e){let t=this.getOffsetParent||ei,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=H(t),r=I(t),o="fixed"===n,l=$(e,!0,o,t),s={scrollLeft:0,scrollTop:0},c=a(0);if(i||!i&&!o)if(("body"!==O(t)||z(r))&&(s=J(t)),i){let e=$(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else r&&(c.x=G(r));let f=!r||i||o?a(0):Q(r,s);return{x:l.left+s.scrollLeft-c.x-f.x,y:l.top+s.scrollTop-c.y-f.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},eo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,o="fixed"===r,l=I(i),s=!!t&&M(t.floating);if(i===l||s&&o)return n;let c={scrollLeft:0,scrollTop:0},f=a(1),u=a(0),d=H(i);if((d||!d&&!o)&&(("body"!==O(i)||z(l))&&(c=J(i)),H(i))){let e=$(i);f=U(i),u.x=e.x+i.clientLeft,u.y=e.y+i.clientTop}let m=!l||d||o?a(0):Q(l,c,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-c.scrollTop*f.y+u.y+m.y}},getDocumentElement:I,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?M(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=K(e,[],!1).filter(e=>D(e)&&"body"!==O(e)),r=null,o="fixed"===N(e).position,l=o?j(e):e;for(;D(l)&&!B(l);){let t=N(l),n=W(l);n||"fixed"!==t.position||(r=null),(o?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||z(l)&&!n&&function e(t,n){let i=j(t);return!(i===n||!D(i)||B(i))&&("fixed"===N(i).position||e(i,n))}(e,l))?i=i.filter(e=>e!==l):r=t,l=j(l)}return t.set(e,i),i}(t,this._c):[].concat(n),o],s=a[0],c=a.reduce((e,n)=>{let o=ee(t,n,l);return e.top=r(o.top,e.top),e.right=i(o.right,e.right),e.bottom=i(o.bottom,e.bottom),e.left=r(o.left,e.left),e},ee(t,s,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ei,getElementRects:er,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Y(e);return{width:t,height:n}},getScale:U,isElement:D,isRTL:function(e){return"rtl"===N(e).direction}};function el(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ea(e,t,n,o){let a;void 0===o&&(o={});let{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,m=_(e),h=s||c?[...m?K(m):[],...K(t)]:[];
1h.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let p=m&&u?function(e,t){let n,o=null,a=I(e);function s(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function c(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),s();let d=e.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||t(),!p||!g)return;let y={rootMargin:-l(h)+"px "+-l(a.clientWidth-(m+p))+"px "+-l(a.clientHeight-(h+g))+"px "+-l(m)+"px",threshold:r(0,i(1,u))||1},w=!0;function v(t){let i=t[0].intersectionRatio;if(i!==u){if(!w)return c();i?c(!1,i):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==i||el(d,e.getBoundingClientRect())||c(),w=!1}try{o=new IntersectionObserver(v,{...y,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(v,y)}o.observe(e)}(!0),s}(m,n):null,g=-1,y=null;f&&(y=new ResizeObserver(e=>{let[i]=e;i&&i.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),m&&!d&&y.observe(m),y.observe(t));let w=d?$(e):null;return d&&function t(){let i=$(e);w&&!el(w,i)&&n(),w=i,a=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{s&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(a)}}let es=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:o,placement:l,middlewareData:a}=t,s=await C(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+s.x,y:o+s.y,data:{...s,placement:l}}}}},ec=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var i,r,o,l;let{rects:a,middlewareData:s,placement:c,platform:m,elements:h}=t,{crossAxis:p=!1,alignment:w,allowedPlacements:v=n,autoAlignment:x=!0,...b}=f(e,t),T=void 0!==w||v===n?((l=w||null)?[...v.filter(e=>d(e)===l),...v.filter(e=>d(e)!==l)]:v.filter(e=>u(e)===e)).filter(e=>!l||d(e)===l||!!x&&y(e)!==e):v,L=await R(t,b),E=(null==(i=s.autoPlacement)?void 0:i.index)||0,A=T[E];if(null==A)return{};let C=g(A,a,await (null==m.isRTL?void 0:m.isRTL(h.floating)));if(c!==A)return{reset:{placement:T[0]}};let S=[L[u(A)],L[C[0]],L[C[1]]],O=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:S}],k=T[E+1];if(k)return{data:{index:E+1,overflows:O},reset:{placement:k}};let I=O.map(e=>{let t=d(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),P=(null==(o=I.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||I[0][0];return P!==c?{data:{index:E+1,overflows:O},reset:{placement:P}}:{}}}},ef=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:l}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=f(e,t),h={x:n,y:o},g=await R(t,d),y=p(u(l)),w=m(y),v=h[w],x=h[y];if(a){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=v+g[e],o=v-g[t];v=r(n,i(v,o))}if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+g[e],o=x-g[t];x=r(n,i(x,o))}let b=c.fn({...t,[w]:v,[y]:x});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[w]:a,[y]:s}}}}}},eu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,o,l;let a,s,c,{placement:m,middlewareData:h,rects:v,initialPlacement:x,platform:b,elements:T}=t,{mainAxis:L=!0,crossAxis:E=!0,fallbackPlacements:A,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:O=!0,...k}=f(e,t);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let I=u(m),P=p(x),D=u(x)===x,H=await (null==b.isRTL?void 0:b.isRTL(T.floating)),F=A||(D||!O?[w(x)]:(a=w(x),[y(x),a,y(a)])),z="none"!==S;!A&&z&&F.push(...(s=d(x),c=function(e,t,n){let i=["left","right"],r=["right","left"];switch(e){case"top":case"bottom":if(n)return t?r:i;return t?i:r;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(u(x),"start"===S,H),s&&(c=c.map(e=>e+"-"+s),O&&(c=c.concat(c.map(y)))),c));let M=[x,...F],W=await R(t,k),V=[],B=(null==(i=h.flip)?void 0:i.overflows)||[];if(L&&V.push(W[I]),E){let e=g(m,v,H);V.push(W[e[0]],W[e[1]])}if(B=[...B,{placement:m,overflows:V}],!V.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(o=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(l=B.filter(e=>{if(z){let t=p(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=x}if(m!==n)return{reset:{placement:n}}}return{}}}},ed=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,a,{placement:s,rects:c,platform:m,elements:h}=t,{apply:g=()=>{},...y}=f(e,t),w=await R(t,y),v=u(s),x=d(s),b="y"===p(s),{width:T,height:L}=c.floating;"top"===v||"bottom"===v?(l=v,a=x===(await (null==m.isRTL?void 0:m.isRTL(h.floating))?"start":"end")?"left":"right"):(a=v,l="end"===x?"top":"bottom");let E=L-w.top-w.bottom,A=T-w.left-w.right,C=i(L-w[l],E),S=i(T-w[a],A),O=!t.middlewareData.shift,k=C,I=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(I=A),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(k=E),O&&!x){let e=r(w.left,0),t=r(w.right,0),n=r(w.top,0),i=r(w.bottom,0);b?I=T-2*(0!==e||0!==t?e+t:r(w.left,w.right)):k=L-2*(0!==n||0!==i?n+i:r(w.top,w.bottom))}await g({...t,availableWidth:I,availableHeight:k});let P=await m.getDimensions(h.floating);return T!==P.width||L!==P.height?{reset:{rects:!0}}:{}}}},em=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...r}=f(e,t);switch(i){case"referenceHidden":{let e=L(await R(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:E(e)}}}case"escaped":{let e=L(await R(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:E(e)}}}default:return{}}}}},eh=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:a,platform:s,elements:c,middlewareData:u}=t,{element:g,padding:y=0}=f(e,t)||{};if(null==g)return{};let w=v(y),x={x:n,y:o},b=m(p(l)),T=h(b),R=await s.getDimensions(g),L="y"===b,E=L?"clientHeight":"clientWidth",A=a.reference[T]+a.reference[b]-x[b]-a.floating[T],C=x[b]-a.reference[b],S=await (null==s.getOffsetParent?void 0:s.getOffsetParent(g)),O=S?S[E]:0;O&&await (null==s.isElement?void 0:s.isElement(S))||(O=c.floating[E]||a.floating[T]);let k=O/2-R[T]/2-1,I=i(w[L?"top":"left"],k),P=i(w[L?"bottom":"right"],k),D=O-R[T]-P,H=O/2-R[T]/2+(A/2-C/2),F=r(I,i(H,D)),z=!u.arrow&&null!=d(l)&&H!==F&&a.reference[T]/2-(H<I?I:P)-R[T]/2<0,M=z?H<I?H-I:H-D:0;return{[b]:x[b]+M,data:{[b]:F,centerOffset:H-F-M,...z&&{alignmentOffset:M}},reset:z}}}),ep=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:l,platform:a,strategy:s}=t,{padding:c=2,x:d,y:m}=f(e,t),h=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),g=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],i=null;for(let e=0;e<t.length;e++){let r=t[e];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>x(A(e)))}(h),y=x(A(h)),w=v(c),b=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=d&&null!=m)return g.find(e=>d>e.left-w.left&&d<e.right+w.right&&m>e.top-w.top&&m<e.bottom+w.bottom)||y;if(g.length>=2){if("y"===p(n)){let e=g[0],t=g[g.length-1],i="top"===u(n),r=e.top,o=t.bottom,l=i?e.left:t.left,a=i?e.right:t.right;return{top:r,bottom:o,left:l,right:a,width:a-l,height:o-r,x:l,y:r}}let e="left"===u(n),t=r(...g.map(e=>e.right)),o=i(...g.map(e=>e.left)),l=g.filter(n=>e?n.left===o:n.right===t),a=l[0].top,s=l[l.length-1].bottom;return{top:a,bottom:s,left:o,right:t,width:t-o,height:s-a,x:o,y:a}}return y}},floating:o.floating,strategy:s});return l.reference.x!==b.reference.x||l.reference.y!==b.reference.y||l.reference.width!==b.reference.width||l.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},eg=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:r,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=f(e,t),d={x:n,y:i},h=p(r),g=m(h),y=d[g],w=d[h],v=f(a,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===g?"height":"width",t=o.reference[g]-o.floating[e]+x.mainAxis,n=o.reference[g]+o.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(c){var b,T;let e="y"===g?"width":"height",t=["top","left"].includes(u(r)),n=o.reference[h]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[h])||0)+(t?0:x.crossAxis),i=o.reference[h]+o.reference[e]+(t?0:(null==(T=l.offset)?void 0:T[h])||0)-(t?x.crossAxis:0);w<n?w=n:w>i&&(w=i)}return{[g]:y,[h]:w}}}},ey=(e,t,n)=>{let i=new Map,r={platform:eo,...n},o={...r.platform,_c:i};return T(e,t,{...r,platform:o})};e.s(["arrow",()=>eh,"autoPlacement",()=>ec,"autoUpdate",()=>ea,"computePosition",()=>ey,"flip",()=>eu,"hide",()=>em,"inline",()=>ep,"limitShift",()=>eg,"offset",()=>es,"shift",()=>ef,"size",()=>ed],953760)}]);
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.