1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="63686103-e5da-2e8d-7f41-ba0a62997341")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,111418,e=>{"use strict";var t=e.i(123243),n=e.i(295503),i=e.i(583353);try{var o="u">typeof window?window:e.g;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:supademo-app":!0})}catch(e){}function r(e){let n=(0,i.getComputedStyle)(e),o=parseFloat(n.width)||0,r=parseFloat(n.height)||0,l=(0,i.isHTMLElement)(e),a=l?e.offsetWidth:o,s=l?e.offsetHeight:r,c=(0,t.round)(o)!==a||(0,t.round)(r)!==s;return c&&(o=a,r=s),{width:o,height:r,$:c}}function l(e){return(0,i.isElement)(e)?e:e.contextElement}function a(e){let n=l(e);if(!(0,i.isHTMLElement)(n))return(0,t.createCoords)(1);let o=n.getBoundingClientRect(),{width:a,height:s,$:c}=r(n),f=(c?(0,t.round)(o.width):o.width)/a,u=(c?(0,t.round)(o.height):o.height)/s;return f&&Number.isFinite(f)||(f=1),u&&Number.isFinite(u)||(u=1),{x:f,y:u}}let s=(0,t.createCoords)(0);function c(e){let t=(0,i.getWindow)(e);return(0,i.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:s}function f(e,n,o,r){var s;void 0===n&&(n=!1),void 0===o&&(o=!1);let f=e.getBoundingClientRect(),u=l(e),d=(0,t.createCoords)(1);n&&(r?(0,i.isElement)(r)&&(d=a(r)):d=a(e));let m=(void 0===(s=o)&&(s=!1),r&&(!s||r===(0,i.getWindow)(u))&&s)?c(u):(0,t.createCoords)(0),g=(f.left+m.x)/d.x,p=(f.top+m.y)/d.y,h=f.width/d.x,w=f.height/d.y;if(u){let e=(0,i.getWindow)(u),t=r&&(0,i.isElement)(r)?(0,i.getWindow)(r):r,n=e,o=(0,i.getFrameElement)(n);for(;o&&r&&t!==n;){let e=a(o),t=o.getBoundingClientRect(),r=(0,i.getComputedStyle)(o),l=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;g*=e.x,p*=e.y,h*=e.x,w*=e.y,g+=l,p+=s,n=(0,i.getWindow)(o),o=(0,i.getFrameElement)(n)}}return(0,t.rectToClientRect)({width:h,height:w,x:g,y:p})}function u(e,t){let n=(0,i.getNodeScroll)(e).scrollLeft;return t?t.left+n:f((0,i.getDocumentElement)(e)).left+n}function d(e,t,n){void 0===n&&(n=!1);let i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-(n?0:u(e,i)),y:i.top+t.scrollTop}}function m(e,n,o){var r;let l;if("viewport"===n)l=function(e,t){let n=(0,i.getWindow)(e),o=(0,i.getDocumentElement)(e),r=n.visualViewport,l=o.clientWidth,a=o.clientHeight,s=0,c=0;if(r){l=r.width,a=r.height;let e=(0,i.isWebKit)();(!e||e&&"fixed"===t)&&(s=r.offsetLeft,c=r.offsetTop)}return{width:l,height:a,x:s,y:c}}(e,o);else if("document"===n){let n,o,a,s,c,f,d;r=(0,i.getDocumentElement)(e),n=(0,i.getDocumentElement)(r),o=(0,i.getNodeScroll)(r),a=r.ownerDocument.body,s=(0,t.max)(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),c=(0,t.max)(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight),f=-o.scrollLeft+u(r),d=-o.scrollTop,"rtl"===(0,i.getComputedStyle)(a).direction&&(f+=(0,t.max)(n.clientWidth,a.clientWidth)-s),l={width:s,height:c,x:f,y:d}}else if((0,i.isElement)(n)){let e,r,s,c,u,d;r=(e=f(n,!0,"fixed"===o)).top+n.clientTop,s=e.left+n.clientLeft,c=(0,i.isHTMLElement)(n)?a(n):(0,t.createCoords)(1),u=n.clientWidth*c.x,d=n.clientHeight*c.y,l={width:u,height:d,x:s*c.x,y:r*c.y}}else{let t=c(e);l={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t.rectToClientRect)(l)}function g(e){return"static"===(0,i.getComputedStyle)(e).position}function p(e,t){if(!(0,i.isHTMLElement)(e)||"fixed"===(0,i.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,i.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function h(e,t){let n=(0,i.getWindow)(e);if((0,i.isTopLayer)(e))return n;if(!(0,i.isHTMLElement)(e)){let t=(0,i.getParentNode)(e);for(;t&&!(0,i.isLastTraversableNode)(t);){if((0,i.isElement)(t)&&!g(t))return t;t=(0,i.getParentNode)(t)}return n}let o=p(e,t);for(;o&&(0,i.isTableElement)(o)&&g(o);)o=p(o,t);return o&&(0,i.isLastTraversableNode)(o)&&g(o)&&!(0,i.isContainingBlock)(o)?n:o||(0,i.getContainingBlock)(e)||n}let w=async function(e){let n=this.getOffsetParent||h,o=this.getDimensions,r=await o(e.floating);return{reference:function(e,n,o){let r=(0,i.isHTMLElement)(n),l=(0,i.getDocumentElement)(n),a="fixed"===o,s=f(e,!0,a,n),c={scrollLeft:0,scrollTop:0},m=(0,t.createCoords)(0);if(r||!r&&!a)if(("body"!==(0,i.getNodeName)(n)||(0,i.isOverflowElement)(l))&&(c=(0,i.getNodeScroll)(n)),r){let e=f(n,!0,a,n);m.x=e.x+n.clientLeft,m.y=e.y+n.clientTop}else l&&(m.x=u(l));let g=!l||r||a?(0,t.createCoords)(0):d(l,c);return{x:s.left+c.scrollLeft-m.x-g.x,y:s.top+c.scrollTop-m.y-g.y,width:s.width,height:s.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},y={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:o,offsetParent:r,strategy:l}=e,s="fixed"===l,c=(0,i.getDocumentElement)(r),u=!!n&&(0,i.isTopLayer)(n.floating);if(r===c||u&&s)return o;let m={scrollLeft:0,scrollTop:0},g=(0,t.createCoords)(1),p=(0,t.createCoords)(0),h=(0,i.isHTMLElement)(r);if((h||!h&&!s)&&(("body"!==(0,i.getNodeName)(r)||(0,i.isOverflowElement)(c))&&(m=(0,i.getNodeScroll)(r)),(0,i.isHTMLElement)(r))){let e=f(r);g=a(r),p.x=e.x+r.clientLeft,p.y=e.y+r.clientTop}let w=!c||h||s?(0,t.createCoords)(0):d(c,m,!0);return{width:o.width*g.x,height:o.height*g.y,x:o.x*g.x-m.scrollLeft*g.x+p.x+w.x,y:o.y*g.y-m.scrollTop*g.y+p.y+w.y}},getDocumentElement:i.getDocumentElement,getClippingRect:function(e){let{element:n,boundary:o,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===o?(0,i.isTopLayer)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=(0,i.getOverflowAncestors)(e,[],!1).filter(e=>(0,i.isElement)(e)&&"body"!==(0,i.getNodeName)(e)),r=null,l="fixed"===(0,i.getComputedStyle)(e).position,a=l?(0,i.getParentNode)(e):e;for(;(0,i.isElement)(a)&&!(0,i.isLastTraversableNode)(a);){let t=(0,i.getComputedStyle)(a),n=(0,i.isContainingBlock)(a);n||"fixed"!==t.position||(r=null),(l?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||(0,i.isOverflowElement)(a)&&!n&&function e(t,n){let o=(0,i.getParentNode)(t);return!(o===n||!(0,i.isElement)(o)||(0,i.isLastTraversableNode)(o))&&("fixed"===(0,i.getComputedStyle)(o).position||e(o,n))}(e,a))?o=o.filter(e=>e!==a):r=t,a=(0,i.getParentNode)(a)}return t.set(e,o),o}(n,this._c):[].concat(o),r],s=a[0],c=a.reduce((e,i)=>{let o=m(n,i,l);return e.top=(0,t.max)(o.top,e.top),e.right=(0,t.min)(o.right,e.right),e.bottom=(0,t.min)(o.bottom,e.bottom),e.left=(0,t.max)(o.left,e.left),e},m(n,s,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:h,getElementRects:w,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=r(e);return{width:t,height:n}},getScale:a,isElement:i.isElement,isRTL:function(e){return"rtl"===(0,i.getComputedStyle)(e).direction}};function v(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let x=n.detectOverflow,b=n.offset,E=n.autoPlacement,T=n.shift,L=n.flip,C=n.size,R=n.hide,A=n.arrow,M=n.inline,O=n.limitShift;e.s(["arrow",0,A,"autoPlacement",0,E,"autoUpdate",0,function(e,n,o,r){let a;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:m=!1}=r,g=l(e),p=s||c?[...g?(0,i.getOverflowAncestors)(g):[],...(0,i.getOverflowAncestors)(n)]:[];
2p.forEach(e=>{s&&e.addEventListener("scroll",o,{passive:!0}),c&&e.addEventListener("resize",o)});let h=g&&d?function(e,n){let o,r=null,l=(0,i.getDocumentElement)(e);function a(){var e;clearTimeout(o),null==(e=r)||e.disconnect(),r=null}return!function i(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),a();let f=e.getBoundingClientRect(),{left:u,top:d,width:m,height:g}=f;if(s||n(),!m||!g)return;let p={rootMargin:-(0,t.floor)(d)+"px "+-(0,t.floor)(l.clientWidth-(u+m))+"px "+-(0,t.floor)(l.clientHeight-(d+g))+"px "+-(0,t.floor)(u)+"px",threshold:(0,t.max)(0,(0,t.min)(1,c))||1},h=!0;function w(t){let n=t[0].intersectionRatio;if(n!==c){if(!h)return i();n?i(!1,n):o=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==n||v(f,e.getBoundingClientRect())||i(),h=!1}try{r=new IntersectionObserver(w,{...p,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,p)}r.observe(e)}(!0),a}(g,o):null,w=-1,y=null;u&&(y=new ResizeObserver(e=>{let[t]=e;t&&t.target===g&&y&&(y.unobserve(n),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(n)})),o()}),g&&!m&&y.observe(g),y.observe(n));let x=m?f(e):null;return m&&function t(){let n=f(e);x&&!v(x,n)&&o(),x=n,a=requestAnimationFrame(t)}(),o(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",o),c&&e.removeEventListener("resize",o)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,m&&cancelAnimationFrame(a)}},"computePosition",0,(e,t,i)=>{let o=new Map,r={platform:y,...i},l={...r.platform,_c:o};return(0,n.computePosition)(e,t,{...r,platform:l})},"detectOverflow",0,x,"flip",0,L,"hide",0,R,"inline",0,M,"limitShift",0,O,"offset",0,b,"shift",0,T,"size",0,C])},583353,e=>{"use strict";try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:supademo-app":!0})}catch(e){}function n(){return"u">typeof window}function i(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function r(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return!!n()&&(e instanceof Node||e instanceof o(e).Node)}function a(e){return!!n()&&(e instanceof Element||e instanceof o(e).Element)}function s(e){return!!n()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function c(e){return!(!n()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function f(e){let{overflow:t,overflowX:n,overflowY:i,display:o}=p(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function u(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function d(e){let t=m(),n=a(e)?p(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(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(i(e))}function p(e){return o(e).getComputedStyle(e)}function h(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||r(e);return c(t)?t.host:t}function w(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,p,"getContainingBlock",0,function(e){let t=h(e);for(;s(t)&&!g(t);){if(d(t))return t;if(u(t))break;t=h(t)}return null},"getDocumentElement",0,r,"getFrameElement",0,w,"getNodeName",0,i,"getNodeScroll",0,function(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"getOverflowAncestors",0,function e(t,n,i){var r;void 0===n&&(n=[]),void 0===i&&(i=!0);let l=function e(t){let n=h(t);return g(n)?t.ownerDocument?t.ownerDocument.body:t.body:s(n)&&f(n)?n:e(n)}(t),a=l===(null==(r=t.ownerDocument)?void 0:r.body),c=o(l);if(a){let t=w(c);
2return n.concat(c,c.visualViewport||[],f(l)?l:[],t&&i?e(t):[])}return n.concat(l,e(l,[],i))},"getParentNode",0,h,"getWindow",0,o,"isContainingBlock",0,d,"isElement",0,a,"isHTMLElement",0,s,"isLastTraversableNode",0,g,"isOverflowElement",0,f,"isShadowRoot",0,c,"isTableElement",0,function(e){return["table","td","th"].includes(i(e))},"isTopLayer",0,u,"isWebKit",0,m])},123243,295503,e=>{"use strict";try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:supademo-app":!0})}catch(e){}let n=["top","right","bottom","left"],i=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,r=Math.max,l=Math.round,a=Math.floor,s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(e,t,n){return r(e,o(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function h(e){return["top","bottom"].includes(d(e))?"y":"x"}function w(e){return g(h(e))}function y(e,t,n){void 0===n&&(n=!1);let i=m(e),o=w(e),r=p(o),l="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=E(l)),[l,E(l)]}function v(e){let t=E(e);return[x(e),t,x(t)]}function x(e){return e.replace(/start|end/g,e=>c[e])}function b(e,t,n,i){let o=m(e),r=function(e,t,n){let i=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:i;return t?i:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(d(e),"start"===n,i);return o&&(r=r.map(e=>e+"-"+o),t&&(r=r.concat(r.map(x)))),r}function E(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function T(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function L(e){let{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}e.s(["clamp",0,f,"createCoords",0,e=>({x:e,y:e}),"evaluate",0,u,"floor",0,a,"getAlignment",0,m,"getAlignmentAxis",0,w,"getAlignmentSides",0,y,"getAxisLength",0,p,"getExpandedPlacements",0,v,"getOppositeAlignmentPlacement",0,x,"getOppositeAxis",0,g,"getOppositeAxisPlacements",0,b,"getOppositePlacement",0,E,"getPaddingObject",0,T,"getSide",0,d,"getSideAxis",0,h,"max",0,r,"min",0,o,"placements",0,i,"rectToClientRect",0,L,"round",0,l,"sides",0,n],123243);try{var C="u">typeof window?window:e.g;C._sentryModuleMetadata=C._sentryModuleMetadata||{},C._sentryModuleMetadata[(new C.Error).stack]=Object.assign({},C._sentryModuleMetadata[(new C.Error).stack],{"_sentryBundlerPluginAppKey:supademo-app":!0})}catch(e){}function R(e,t,n){let i,{reference:o,floating:r}=e,l=h(t),a=w(t),s=p(a),c=d(t),f="y"===l,u=o.x+o.width/2-r.width/2,g=o.y+o.height/2-r.height/2,y=o[s]/2-r[s]/2;switch(c){case"top":i={x:u,y:o.y-r.height};break;case"bottom":i={x:u,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:g};break;case"left":i={x:o.x-r.width,y:g};break;default:i={x:o.x,y:o.y}}switch(m(t)){case"start":i[a]-=y*(n&&f?-1:1);break;case"end":i[a]+=y*(n&&f?-1:1)}return i}let A=async(e,t,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:l}=n,a=r.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=R(c,i,s),d=i,m={},g=0;for(let n=0;n<a.length;n++){let{name:r,fn:p}=a[n],{x:h,y:w,data:y,reset:v}=await p({x:f,y:u,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});f=null!=h?h:f,u=null!=w?w:u,m={...m,[r]:{...m[r],...y}},v&&g<=50&&(g++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:f,y:u}=R(c,d,s)),n=-1)}return{x:f,y:u,placement:d,strategy:o,middlewareData:m}};async function M(e,t){var n;void 0===t&&(t={});let{x:i,y:o,platform:r,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:g=0}=u(t,e),p=T(g),h=a[m?"floating"===d?"reference":"floating":d],w=L(await r.getClippingRect
2({element:null==(n=await (null==r.isElement?void 0:r.isElement(h)))||n?h:h.contextElement||await (null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:c,rootBoundary:f,strategy:s})),y="floating"===d?{x:i,y:o,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),x=await (null==r.isElement?void 0:r.isElement(v))&&await (null==r.getScale?void 0:r.getScale(v))||{x:1,y:1},b=L(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:s}):y);return{top:(w.top-b.top+p.top)/x.y,bottom:(b.bottom-w.bottom+p.bottom)/x.y,left:(w.left-b.left+p.left)/x.x,right:(b.right-w.right+p.right)/x.x}}function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return n.some(t=>e[t]>=0)}function S(e){let t=o(...e.map(e=>e.left)),n=o(...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 N(e,t){let{placement:n,platform:i,elements:o}=e,r=await (null==i.isRTL?void 0:i.isRTL(o.floating)),l=d(n),a=m(n),s="y"===h(n),c=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,g=u(t,e),{mainAxis:p,crossAxis:w,alignmentAxis:y}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return a&&"number"==typeof y&&(w="end"===a?-1*y:y),s?{x:w*f,y:p*c}:{x:p*c,y:w*f}}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:r,rects:l,platform:a,elements:s,middlewareData:c}=t,{element:d,padding:g=0}=u(e,t)||{};if(null==d)return{};let h=T(g),y={x:n,y:i},v=w(r),x=p(v),b=await a.getDimensions(d),E="y"===v,L=E?"clientHeight":"clientWidth",C=l.reference[x]+l.reference[v]-y[v]-l.floating[x],R=y[v]-l.reference[v],A=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),M=A?A[L]:0;M&&await (null==a.isElement?void 0:a.isElement(A))||(M=s.floating[L]||l.floating[x]);let O=M/2-b[x]/2-1,P=o(h[E?"top":"left"],O),S=o(h[E?"bottom":"right"],O),N=M-b[x]-S,D=M/2-b[x]/2+(C/2-R/2),k=f(P,D,N),H=!c.arrow&&null!=m(r)&&D!==k&&l.reference[x]/2-(D<P?P:S)-b[x]/2<0,W=H?D<P?D-P:D-N:0;return{[v]:y[v]+W,data:{[v]:k,centerOffset:D-k-W,...H&&{alignmentOffset:W}},reset:H}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r,l;let{rects:a,middlewareData:s,placement:c,platform:f,elements:g}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:w=i,autoAlignment:v=!0,...b}=u(e,t),E=void 0!==h||w===i?((l=h||null)?[...w.filter(e=>m(e)===l),...w.filter(e=>m(e)!==l)]:w.filter(e=>d(e)===e)).filter(e=>!l||m(e)===l||!!v&&x(e)!==e):w,T=await M(t,b),L=(null==(n=s.autoPlacement)?void 0:n.index)||0,C=E[L];if(null==C)return{};let R=y(C,a,await (null==f.isRTL?void 0:f.isRTL(g.floating)));if(c!==C)return{reset:{placement:E[0]}};let A=[T[d(C)],T[R[0]],T[R[1]]],O=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:C,overflows:A}],P=E[L+1];if(P)return{data:{index:L+1,overflows:O},reset:{placement:P}};let S=O.map(e=>{let t=m(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]),N=(null==(r=S.filter(e=>e[2].slice(0,m(e[0])?2:3).every(e=>e<=0))[0])?void 0:r[0])||S[0][0];return N!==c?{data:{index:L+1,overflows:O},reset:{placement:N}}:{}}}},"computePosition",0,A,"detectOverflow",0,M,"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,r,l;let{placement:a,middlewareData:s,rects:c,initialPlacement:f,platform:m,elements:g}=t,{mainAxis:p=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:C=!0,...R}=u(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let A=d(a),O=h(f),P=d(f)===f,S=await (null==m.isRTL?void 0:m.isRTL(g.floating)),N=x||(P||!C?[E(f)]:v(f)),D="none"!==L;!x&&D&&N.push(...b(f,C,L,S));let k=[f,...N],H=await M(t,R),W=[],_=(null==(i=s.flip)?void 0:i.overflows)||[];if(p&&W.push(H[A]),w){let e=y(a,c,S);W.push(H[e[0]],H[e[1]])}if(_=[..._,{placement:a,overflows:W}],!W.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(r=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>
2e.overflows[1]-t.overflows[1])[0])?void 0:r.placement;if(!n)switch(T){case"bestFit":{let e=null==(l=_.filter(e=>{if(D){let t=h(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:l[0];e&&(n=e);break}case"initialPlacement":n=f}if(a!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...o}=u(e,t);switch(i){case"referenceHidden":{let e=O(await M(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{let e=O(await M(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:i,rects:l,platform:a,strategy:s}=t,{padding:c=2,x:f,y:m}=u(e,t),g=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),p=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 o=t[e];!i||o.y-i.y>i.height/2?n.push([o]):n[n.length-1].push(o),i=o}return n.map(e=>L(S(e)))}(g),w=L(S(g)),y=T(c),v=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=m)return p.find(e=>f>e.left-y.left&&f<e.right+y.right&&m>e.top-y.top&&m<e.bottom+y.bottom)||w;if(p.length>=2){if("y"===h(n)){let e=p[0],t=p[p.length-1],i="top"===d(n),o=e.top,r=t.bottom,l=i?e.left:t.left,a=i?e.right:t.right;return{top:o,bottom:r,left:l,right:a,width:a-l,height:r-o,x:l,y:o}}let e="left"===d(n),t=r(...p.map(e=>e.right)),i=o(...p.map(e=>e.left)),l=p.filter(n=>e?n.left===i:n.right===t),a=l[0].top,s=l[l.length-1].bottom;return{top:a,bottom:s,left:i,right:t,width:t-i,height:s-a,x:i,y:a}}return w}},floating:i.floating,strategy:s});return l.reference.x!==v.reference.x||l.reference.y!==v.reference.y||l.reference.width!==v.reference.width||l.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:o,rects:r,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=u(e,t),f={x:n,y:i},m=h(o),p=g(m),w=f[p],y=f[m],v=u(a,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===p?"height":"width",t=r.reference[p]-r.floating[e]+x.mainAxis,n=r.reference[p]+r.reference[e]-x.mainAxis;w<t?w=t:w>n&&(w=n)}if(c){var b,E;let e="y"===p?"width":"height",t=["top","left"].includes(d(o)),n=r.reference[m]-r.floating[e]+(t&&(null==(b=l.offset)?void 0:b[m])||0)+(t?0:x.crossAxis),i=r.reference[m]+r.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[m])||0)-(t?x.crossAxis:0);y<n?y=n:y>i&&(y=i)}return{[p]:w,[m]:y}}}},"offset",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:o,y:r,placement:l,middlewareData:a}=t,s=await N(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:o+s.x,y:r+s.y,data:{...s,placement:l}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:o}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=u(e,t),c={x:n,y:i},m=await M(t,s),p=h(d(o)),w=g(p),y=c[w],v=c[p];if(r){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=y+m[e],i=y-m[t];y=f(n,y,i)}
2if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+m[e],i=v-m[t];v=f(n,v,i)}let x=a.fn({...t,[w]:y,[p]:v});return{...x,data:{x:x.x-n,y:x.y-i,enabled:{[w]:r,[p]:l}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let l,a,{placement:s,rects:c,platform:f,elements:g}=t,{apply:p=()=>{},...w}=u(e,t),y=await M(t,w),v=d(s),x=m(s),b="y"===h(s),{width:E,height:T}=c.floating;"top"===v||"bottom"===v?(l=v,a=x===(await (null==f.isRTL?void 0:f.isRTL(g.floating))?"start":"end")?"left":"right"):(a=v,l="end"===x?"top":"bottom");let L=T-y.top-y.bottom,C=E-y.left-y.right,R=o(T-y[l],L),A=o(E-y[a],C),O=!t.middlewareData.shift,P=R,S=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=C),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(P=L),O&&!x){let e=r(y.left,0),t=r(y.right,0),n=r(y.top,0),i=r(y.bottom,0);b?S=E-2*(0!==e||0!==t?e+t:r(y.left,y.right)):P=T-2*(0!==n||0!==i?n+i:r(y.top,y.bottom))}await p({...t,availableWidth:S,availableHeight:P});let N=await f.getDimensions(g.floating);return E!==N.width||T!==N.height?{reset:{rects:!0}}:{}}}}],295503)}]); 3 4//# debugId=63686103-e5da-2e8d-7f41-ba0a62997341
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.