PageSourceSearch

https://merchshoot.ai/_next/static/chunks/4713-d78cc7a73fb14e4c.js

js merchshoot.ai collected 2026-10-05 14:26:42 UTC 26,058 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4713],{81099:function(e,t,n){n.d(t,{x7:function(){return floating_ui_dom_arrow},Me:function(){return autoUpdate},oo:function(){return floating_ui_dom_computePosition},RR:function(){return floating_ui_dom_flip},Cp:function(){return floating_ui_dom_hide},dr:function(){return floating_ui_dom_limitShift},cv:function(){return floating_ui_dom_offset},uY:function(){return floating_ui_dom_shift},dp:function(){return floating_ui_dom_size}});let i=["top","right","bottom","left"],o=Math.min,l=Math.max,r=Math.round,u=Math.floor,createCoords=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function floating_ui_utils_evaluate(e,t){return"function"==typeof e?e(t):e}function floating_ui_utils_getSide(e){return e.split("-")[0]}function floating_ui_utils_getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return"x"===e?"y":"x"}function getAxisLength(e){return"y"===e?"height":"width"}function floating_ui_utils_getSideAxis(e){return["top","bottom"].includes(floating_ui_utils_getSide(e))?"y":"x"}function floating_ui_utils_getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,e=>a[e])}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function floating_ui_utils_getPaddingObject(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function floating_ui_utils_rectToClientRect(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}}function computeCoordsFromPlacement(e,t,n){let i,{reference:o,floating:l}=e,r=floating_ui_utils_getSideAxis(t),u=getOppositeAxis(floating_ui_utils_getSideAxis(t)),s=getAxisLength(u),a=floating_ui_utils_getSide(t),f="y"===r,c=o.x+o.width/2-l.width/2,g=o.y+o.height/2-l.height/2,d=o[s]/2-l[s]/2;switch(a){case"top":i={x:c,y:o.y-l.height};break;case"bottom":i={x:c,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:g};break;case"left":i={x:o.x-l.width,y:g};break;default:i={x:o.x,y:o.y}}switch(floating_ui_utils_getAlignment(t)){case"start":i[u]-=d*(n&&f?-1:1);break;case"end":i[u]+=d*(n&&f?-1:1)}return i}let computePosition=async(e,t,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:l=[],platform:r}=n,u=l.filter(Boolean),s=await (null==r.isRTL?void 0:r.isRTL(t)),a=await r.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=computeCoordsFromPlacement(a,i,s),g=i,d={},m=0;for(let n=0;n<u.length;n++){let{name:l,fn:p}=u[n],{x:_,y:h,data:w,reset:y}=await p({x:f,y:c,initialPlacement:i,placement:g,strategy:o,middlewareData:d,rects:a,platform:r,elements:{reference:e,floating:t}});f=null!=_?_:f,c=null!=h?h:c,d={...d,[l]:{...d[l],...w}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(g=y.placement),y.rects&&(a=!0===y.rects?await r.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:f,y:c}=computeCoordsFromPlacement(a,g,s)),n=-1)}return{x:f,y:c,placement:g,strategy:o,middlewareData:d}};async function detectOverflow(e,t){var n;void 0===t&&(t={});let{x:i,y:o,platform:l,rects:r,elements:u,strategy:s}=e,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:g=!1,padding:d=0}=floating_ui_utils_evaluate(t,e),m=floating_ui_utils_getPaddingObject(d),p=u[g?"floating"===c?"reference":"floating":c],_=floating_ui_utils_rectToClientRect(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(p)))||n?p:p.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:a,rootBoundary:f,strategy:s})),h="floating"===c?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,w=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),y=await (null==l.isElement?void 0:l.isElement(w))&&await (null==l.getScale?void 0:l.getScale(w))||{x:1,y:1},v=floating_ui_utils_rectToClientRect(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:h,offsetParent:w,strategy:s}):h);return{top:(_.top-v.top+m.top)/y.y,bottom:(v.bottom-_.bottom+m.bottom)/y.y,left:(_.left-v.left+m.left)/y.x,right:(v.right-_.right+m.right)/y.x}}function getSideOffsets(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function isAnySideFullyClipped(e){return i.some(t=>e[t]>=0)}async function convertValueToCoords(e,t){let{placement:n,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),r=floating_ui_utils_getSide(n),u=floating_ui_utils_getAlignment(n),s="y"===floating_ui_utils_getSideAxis(n),a=["left","top"].includes(r)?-1:1,f=l&&s?-1:1,c=floating_ui_utils_evaluate(t,e),{mainAxis:g,crossAxis:d,alignmentAxis:m}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return u&&"number"==typeof m&&(d="end"===u?-1*m:m),s?{x:d*f,y:g*a}:{x:g*a,y:d*f}}function getNodeName(e){return isNode(e)?(e.nodeName||"").toLowerCase():"#document"}function getWindow(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return null==(t=(isNode(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function isNode(e){return e instanceof Node||e instanceof getWindow(e).Node}function isElement(e){return e instanceof Element||e instanceof getWindow(e).Element}function isHTMLElement(e){return e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement}function isShadowRoot(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot)}function isOverflowElement(e){let{overflow:t,overflowX:n,overflowY:i,display:o}=getComputedStyle(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function isTopLayer(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function isContainingBlock(e){let t=isWebKit(),n=isElement(e)?getComputedStyle(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function isWebKit(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){return isElement(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if("html"===getNodeName(e))return e;let t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}
1function getOverflowAncestors(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function getNearestOverflowAncestor(e){let t=getParentNode(e);return isLastTraversableNode(t)?e.ownerDocument?e.ownerDocument.body:e.body:isHTMLElement(t)&&isOverflowElement(t)?t:getNearestOverflowAncestor(t)}(e),l=o===(null==(i=e.ownerDocument)?void 0:i.body),r=getWindow(o);if(l){let e=getFrameElement(r);return t.concat(r,r.visualViewport||[],isOverflowElement(o)?o:[],e&&n?getOverflowAncestors(e):[])}return t.concat(o,getOverflowAncestors(o,[],n))}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function getCssDimensions(e){let t=getComputedStyle(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,o=isHTMLElement(e),l=o?e.offsetWidth:n,u=o?e.offsetHeight:i,s=r(n)!==l||r(i)!==u;return s&&(n=l,i=u),{width:n,height:i,$:s}}function unwrapElement(e){return isElement(e)?e:e.contextElement}function getScale(e){let t=unwrapElement(e);if(!isHTMLElement(t))return createCoords(1);let n=t.getBoundingClientRect(),{width:i,height:o,$:l}=getCssDimensions(t),u=(l?r(n.width):n.width)/i,s=(l?r(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),s&&Number.isFinite(s)||(s=1),{x:u,y:s}}let f=createCoords(0);function getVisualOffsets(e){let t=getWindow(e);return isWebKit()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:f}function getBoundingClientRect(e,t,n,i){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),r=unwrapElement(e),u=createCoords(1);t&&(i?isElement(i)&&(u=getScale(i)):u=getScale(e));let s=(void 0===(o=n)&&(o=!1),i&&(!o||i===getWindow(r))&&o)?getVisualOffsets(r):createCoords(0),a=(l.left+s.x)/u.x,f=(l.top+s.y)/u.y,c=l.width/u.x,g=l.height/u.y;if(r){let e=getWindow(r),t=i&&isElement(i)?getWindow(i):i,n=e,o=getFrameElement(n);for(;o&&i&&t!==n;){let e=getScale(o),t=o.getBoundingClientRect(),i=getComputedStyle(o),l=t.left+(o.clientLeft+parseFloat(i.paddingLeft))*e.x,r=t.top+(o.clientTop+parseFloat(i.paddingTop))*e.y;a*=e.x,f*=e.y,c*=e.x,g*=e.y,a+=l,f+=r,o=getFrameElement(n=getWindow(o))}}return floating_ui_utils_rectToClientRect({width:c,height:g,x:a,y:f})}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getNodeScroll(e).scrollLeft}function getClientRectFromClippingAncestor(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=getWindow(e),i=getDocumentElement(e),o=n.visualViewport,l=i.clientWidth,r=i.clientHeight,u=0,s=0;if(o){l=o.width,r=o.height;let e=isWebKit();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:l,height:r,x:u,y:s}}(e,n);else if("document"===t)i=function(e){let t=getDocumentElement(e),n=getNodeScroll(e),i=e.ownerDocument.body,o=l(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),r=l(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),u=-n.scrollLeft+getWindowScrollBarX(e),s=-n.scrollTop;return"rtl"===getComputedStyle(i).direction&&(u+=l(t.clientWidth,i.clientWidth)-o),{width:o,height:r,x:u,y:s}}(getDocumentElement(e));else if(isElement(t))i=function(e,t){let n=getBoundingClientRect(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,l=isHTMLElement(e)?getScale(e):createCoords(1),r=e.clientWidth*l.x,u=e.clientHeight*l.y,s=o*l.x,a=i*l.y;return{width:r,height:u,x:s,y:a}}(t,n);else{let n=getVisualOffsets(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return floating_ui_utils_rectToClientRect(i)}function isStaticPositioned(e){return"static"===getComputedStyle(e).position}function getTrueOffsetParent(e,t){return isHTMLElement(e)&&"fixed"!==getComputedStyle(e).position?t?t(e):e.offsetParent:null}function getOffsetParent(e,t){let n=getWindow(e);if(isTopLayer(e))return n;if(!isHTMLElement(e)){let t=getParentNode(e);for(;t&&!isLastTraversableNode(t);){if(isElement(t)&&!isStaticPositioned(t))return t;t=getParentNode(t)}return n}let i=getTrueOffsetParent(e,t);for(;i&&["table","td","th"].includes(getNodeName(i))&&isStaticPositioned(i);)i=getTrueOffsetParent(i,t);return i&&isLastTraversableNode(i)&&isStaticPositioned(i)&&!isContainingBlock(i)?n:i||function(e){let t=getParentNode(e);for(;isHTMLElement(t)&&!isLastTraversableNode(t);){if(isContainingBlock(t))return t;if(isTopLayer(t))break;t=getParentNode(t)}return null}(e)||n}let getElementRects=async function(e){let t=this.getOffsetParent||getOffsetParent,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=isHTMLElement(t),o=getDocumentElement(t),l="fixed"===n,r=getBoundingClientRect(e,!0,l,t),u={scrollLeft:0,scrollTop:0},s=createCoords(0);if(i||!i&&!l){if(("body"!==getNodeName(t)||isOverflowElement(o))&&(u=getNodeScroll(t)),i){let e=getBoundingClientRect(t,!0,l,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=getWindowScrollBarX(o))}let a=r.left+u.scrollLeft-s.x,f=r.top+u.scrollTop-s.y;return{x:a,y:f,width:r.width,height:r.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},c={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e,l="fixed"===o,r=getDocumentElement(i),u=!!t&&isTopLayer(t.floating);if(i===r||u&&l)return n;let s={scrollLeft:0,scrollTop:0},a=createCoords(1),f=createCoords(0),c=isHTMLElement(i);if((c||!c&&!l)&&(("body"!==getNodeName(i)||isOverflowElement(r))&&(s=getNodeScroll(i)),isHTMLElement(i))){let e=getBoundingClientRect(i);a=getScale(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-s.scrollLeft*a.x+f.x,y:n.y*a.y-s.scrollTop*a.y+f.y}},getDocumentElement:getDocumentElement,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e,u="clippingAncestors"===n?isTopLayer(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=getOverflowAncestors(e,[],!1).filter(e=>isElement(e)&&"body"!==getNodeName(e)),o=null,l="fixed"===getComputedStyle(e).position,r=l?getParentNode(e):e;for(;isElement(r)&&!isLastTraversableNode(r);){let t=getComputedStyle(r),n=isContainingBlock(r);n||"fixed"!==t.position||(o=null);let u=l?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||isOverflowElement(r)&&!n&&function hasFixedPositionAncestor(e,t){let n=getParentNode(e);return!(n===t||!isElement(n)||isLastTraversableNode(n))&&("fixed"===getComputedStyle(n).position||hasFixedPositionAncestor(n,t))}(e,r);u?i=i.filter(e=>e!==r):o=t,r=getParentNode(r)}return t.set(e,i),i}(t,this._c):[].concat(n),s=[...u,i],a=s[0],f=s.reduce((e,n)=>{let i=getClientRectFromClippingAncestor(t,n,r);return e.top=l(i.top,e.top),e.right=o(i.right,e.right),e.bottom=o(i.bottom,e.bottom),e.left=l(i.left,e.left),e},getClientRectFromClippingAncestor(t,a,r));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},getOffsetParent,getElementRects,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=getCssDimensions(e);return{width:t,height:n}},getScale,isElement:isElement,isRTL:function(e){return"rtl"===getComputedStyle(e).direction}};function autoUpdate(e,t,n,i){let r;void 0===i&&(i={});let{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:g=!1}=i,d=unwrapElement(e),m=s||a?[...d?getOverflowAncestors(d):[],...getOverflowAncestors(t)]:[];
1m.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let p=d&&c?function(e,t){let n,i=null,r=getDocumentElement(e);function cleanup(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function refresh(s,a){void 0===s&&(s=!1),void 0===a&&(a=1),cleanup();let{left:f,top:c,width:g,height:d}=e.getBoundingClientRect();if(s||t(),!g||!d)return;let m=u(c),p=u(r.clientWidth-(f+g)),_=u(r.clientHeight-(c+d)),h=u(f),w={rootMargin:-m+"px "+-p+"px "+-_+"px "+-h+"px",threshold:l(0,o(1,a))||1},y=!0;function handleObserve(e){let t=e[0].intersectionRatio;if(t!==a){if(!y)return refresh();t?refresh(!1,t):n=setTimeout(()=>{refresh(!1,1e-7)},1e3)}y=!1}try{i=new IntersectionObserver(handleObserve,{...w,root:r.ownerDocument})}catch(e){i=new IntersectionObserver(handleObserve,w)}i.observe(e)}(!0),cleanup}(d,n):null,_=-1,h=null;f&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===d&&h&&(h.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),d&&!g&&h.observe(d),h.observe(t));let w=g?getBoundingClientRect(e):null;return g&&function frameLoop(){let t=getBoundingClientRect(e);w&&(t.x!==w.x||t.y!==w.y||t.width!==w.width||t.height!==w.height)&&n(),w=t,r=requestAnimationFrame(frameLoop)}(),n(),()=>{var e;m.forEach(e=>{s&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=h)||e.disconnect(),h=null,g&&cancelAnimationFrame(r)}}let floating_ui_dom_offset=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:o,y:l,placement:r,middlewareData:u}=t,s=await convertValueToCoords(t,e);return r===(null==(n=u.offset)?void 0:n.placement)&&null!=(i=u.arrow)&&i.alignmentOffset?{}:{x:o+s.x,y:l+s.y,data:{...s,placement:r}}}}},floating_ui_dom_shift=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:r}=t,{mainAxis:u=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=floating_ui_utils_evaluate(e,t),c={x:n,y:i},g=await detectOverflow(t,f),d=floating_ui_utils_getSideAxis(floating_ui_utils_getSide(r)),m=getOppositeAxis(d),p=c[m],_=c[d];if(u){let e=p+g["y"===m?"top":"left"],t=p-g["y"===m?"bottom":"right"];p=l(e,o(p,t))}if(s){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=_+g[e],i=_-g[t];_=l(n,o(_,i))}let h=a.fn({...t,[m]:p,[d]:_});return{...h,data:{x:h.x-n,y:h.y-i}}}}},floating_ui_dom_flip=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,l,r;let{placement:u,middlewareData:s,rects:a,initialPlacement:f,platform:c,elements:g}=t,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...y}=floating_ui_utils_evaluate(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let v=floating_ui_utils_getSide(u),x=floating_ui_utils_getSideAxis(f),b=floating_ui_utils_getSide(f)===f,S=await (null==c.isRTL?void 0:c.isRTL(g.floating)),E=p||(b||!w?[getOppositePlacement(f)]:function(e){let t=getOppositePlacement(e);return[floating_ui_utils_getOppositeAlignmentPlacement(e),t,floating_ui_utils_getOppositeAlignmentPlacement(t)]}(f)),C="none"!==h;!p&&C&&E.push(...function(e,t,n,i){let o=floating_ui_utils_getAlignment(e),l=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[]}}(floating_ui_utils_getSide(e),"start"===n,i);return o&&(l=l.map(e=>e+"-"+o),t&&(l=l.concat(l.map(floating_ui_utils_getOppositeAlignmentPlacement)))),l}(f,w,h,S));let R=[f,...E],A=await detectOverflow(t,y),O=[],P=(null==(i=s.flip)?void 0:i.overflows)||[];if(d&&O.push(A[v]),m){let e=function(e,t,n){void 0===n&&(n=!1);let i=floating_ui_utils_getAlignment(e),o=getOppositeAxis(floating_ui_utils_getSideAxis(e)),l=getAxisLength(o),r="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(r=getOppositePlacement(r)),[r,getOppositePlacement(r)]}(u,a,S);O.push(A[e[0]],A[e[1]])}if(P=[...P,{placement:u,overflows:O}],!O.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=R[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(l=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(_){case"bestFit":{let e=null==(r=P.filter(e=>{if(C){let t=floating_ui_utils_getSideAxis(e.placement);return t===x||"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:r[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}},floating_ui_dom_size=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i;let{placement:r,rects:u,platform:s,elements:a}=t,{apply:f=()=>{},...c}=floating_ui_utils_evaluate(e,t),g=await detectOverflow(t,c),d=floating_ui_utils_getSide(r),m=floating_ui_utils_getAlignment(r),p="y"===floating_ui_utils_getSideAxis(r),{width:_,height:h}=u.floating;"top"===d||"bottom"===d?(n=d,i=m===(await (null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(i=d,n="end"===m?"top":"bottom");let w=h-g.top-g.bottom,y=_-g.left-g.right,v=o(h-g[n],w),x=o(_-g[i],y),b=!t.middlewareData.shift,S=v,E=x;if(p?E=m||b?o(x,y):y:S=m||b?o(v,w):w,b&&!m){let e=l(g.left,0),t=l(g.right,0),n=l(g.top,0),i=l(g.bottom,0);p?E=_-2*(0!==e||0!==t?e+t:l(g.left,g.right)):S=h-2*(0!==n||0!==i?n+i:l(g.top,g.bottom))}await f({...t,availableWidth:E,availableHeight:S});let C=await s.getDimensions(a.floating);return _!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}},floating_ui_dom_hide=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...o}=floating_ui_utils_evaluate(e,t);switch(i){case"referenceHidden":{let e=await detectOverflow(t,{...o,elementContext:"reference"}),i=getSideOffsets(e,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:isAnySideFullyClipped(i)}}}case"escaped":{let e=await detectOverflow(t,{...o,altBoundary:!0}),i=getSideOffsets(e,n.floating);return{data:{escapedOffsets:i,escaped:isAnySideFullyClipped(i)}}}default:return{}}}}},floating_ui_dom_arrow=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:r,rects:u,platform:s,elements:a,middlewareData:f}=t,{element:c,padding:g=0}=floating_ui_utils_evaluate(e,t)||{};if(null==c)return{};let d=floating_ui_utils_getPaddingObject(g),m={x:n,y:i},p=getOppositeAxis(floating_ui_utils_getSideAxis(r)),_=getAxisLength(p),h=await s.getDimensions(c),w="y"===p,y=w?"clientHeight":"clientWidth",v=u.reference[_]+u.reference[p]-m[p]-u.floating[_],x=m[p]-u.reference[p],b=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),S=b?b[y]:0;S&&await (null==s.isElement?void 0:s.isElement(b))||(S=a.floating[y]||u.floating[_]);let E=S/2-h[_]/2-1,C=o(d[w?"top":"left"],E),R=o(d[w?"bottom":"right"],E),A=S-h[_]-R,O=S/2-h[_]/2+(v/2-x/2),P=l(C,o(O,A)),T=!f.arrow&&null!=floating_ui_utils_getAlignment(r)&&O!==P&&u.reference[_]/2-(O<C?C:R)-h[_]/2<0,L=T?O<C?O-C:O-A:0;return{[p]:m[p]+L,data:{[p]:P,centerOffset:O-P-L,...T&&{alignmentOffset:L}},reset:T}}}),floating_ui_dom_limitShift=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:o,rects:l,middlewareData:r}=t,{offset:u=0,mainAxis:s=!0,crossAxis:a=!0}=floating_ui_utils_evaluate(e,t),f={x:n,y:i},c=floating_ui_utils_getSideAxis(o),g=getOppositeAxis(c),d=f[g],m=f[c],p=floating_ui_utils_evaluate(u,t),_="number"==typeof p?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(s){let e="y"===g?"height":"width",t=l.reference[g]-l.floating[e]+_.mainAxis,n=l.reference[g]+l.reference[e]-_.mainAxis;d<t?d=t:d>n&&(d=n)}if(a){var h,w;let e="y"===g?"width":"height",t=["top","left"].includes(floating_ui_utils_getSide(o)),n=l.reference[c]-l.floating[e]+(t&&(null==(h=r.offset)?void 0:h[c])||0)+(t?0:_.crossAxis),i=l.reference[c]+l.reference[e]+(t?0:(null==(w=r.offset)?void 0:w[c])||0)-(t?_.crossAxis:0);m<n?m=n:m>i&&(m=i)}return{[g]:d,[c]:m}}}},floating_ui_dom_computePosition=(e,t,n)=>{let i=new Map,o={platform:c,...n},l={...o.platform,_c:i};return computePosition(e,t,{...o,platform:l})}},94713:function(e,t,n){n.d(t,{Cp:function(){return hide},RR:function(){return flip},YF:function(){return useFloating},cv:function(){return offset},dp:function(){return size},dr:function(){return limitShift},uY:function(){return shift},x7:function(){return arrow}});var i=n(81099),o=n(77455),l=n(33895),r="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function deepEqual(e,t){let n,i,o;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(i=n;0!=i--;)if(!deepEqual(e[i],t[i]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=n;0!=i--;)if(!({}).hasOwnProperty.call(t,o[i]))return!1;for(i=n;0!=i--;){let n=o[i];if(("_owner"!==n||!e.$$typeof)&&!deepEqual(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function getDPR(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function roundByDPR(e,t){let n=getDPR(e);return Math.round(t*n)/n}function useLatestRef(e){let t=o.useRef(e);return r(()=>{t.current=e}),t}function useFloating(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:u=[],platform:s,elements:{reference:a,floating:f}={},transform:c=!0,whileElementsMounted:g,open:d}=e,[m,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[_,h]=o.useState(u);deepEqual(_,u)||h(u);let[w,y]=o.useState(null),[v,x]=o.useState(null),b=o.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),S=o.useCallback(e=>{e!==A.current&&(A.current=e,x(e))},[]),E=a||w,C=f||v,R=o.useRef(null),A=o.useRef(null),O=o.useRef(m),P=null!=g,T=useLatestRef(g),L=useLatestRef(s),N=o.useCallback(()=>{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:_};L.current&&(e.platform=L.current),(0,i.oo)(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!0};D.current&&!deepEqual(O.current,t)&&(O.current=t,l.flushSync(()=>{p(t)}))})},[_,t,n,L]);r(()=>{!1===d&&O.current.isPositioned&&(O.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let D=o.useRef(!1);r(()=>(D.current=!0,()=>{D.current=!1}),[]),r(()=>{if(E&&(R.current=E),C&&(A.current=C),E&&C){if(T.current)return T.current(E,C,N);N()}},[E,C,N,T,P]);let F=o.useMemo(()=>({reference:R,floating:A,setReference:b,setFloating:S}),[b,S]),W=o.useMemo(()=>({reference:E,floating:C}),[E,C]),H=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=roundByDPR(W.floating,m.x),i=roundByDPR(W.floating,m.y);return c?{...e,transform:"translate("+t+"px, "+i+"px)",...getDPR(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:i}},[n,c,W.floating,m.x,m.y]);return o.useMemo(()=>({...m,update:N,refs:F,elements:W,floatingStyles:H}),[m,N,F,W,H])}let arrow$1=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,i.x7)({element:n.current,padding:o}).fn(t):{}:n?(0,i.x7)({element:n,padding:o}).fn(t):{}}}),offset=(e,t)=>({...(0,i.cv)(e),options:[e,t]}),shift=(e,t)=>({...(0,i.uY)(e),options:[e,t]}),limitShift=(e,t)=>({...(0,i.dr)(e),options:[e,t]}),flip=(e,t)=>({...(0,i.RR)(e),options:[e,t]}),size=(e,t)=>({...(0,i.dp)(e),options:[e,t]}),hide=(e,t)=>({...(0,i.Cp)(e),options:[e,t]}),arrow=(e,t)=>({...arrow$1(e),options:[e,t]})}}]);

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.