PageSourceSearch

https://cal.intellekt.fyi/_next/static/chunks/0itevsixge5o-.js

js intellekt.fyi collected 2026-09-25 20:05:17 UTC 24,001 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,258950,343084,953760,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,r=Math.max,o=Math.round,l=Math.floor,f=e=>({x:e,y:e}),a={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t,n){return r(e,i(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function g(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function d(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let p=new Set(["top","bottom"]);function y(e){return p.has(g(e))?"y":"x"}function w(e){return d(y(e))}function x(e,t,n){void 0===n&&(n=!1);let i=m(e),r=w(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=C(l)),[l,C(l)]}function v(e){let t=C(e);return[b(e),t,b(t)]}function b(e){return e.replace(/start|end/g,e=>s[e])}let E=["left","right"],R=["right","left"],T=["top","bottom"],A=["bottom","top"];function L(e,t,n,i){let r=m(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:E;return t?E:R;case"left":case"right":return t?T:A;default:return[]}}(g(e),"start"===n,i);return r&&(o=o.map(e=>e+"-"+r),t&&(o=o.concat(o.map(b)))),o}function C(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}function P(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(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 S(e,t,n){let i,{reference:r,floating:o}=e,l=y(t),f=w(t),a=h(f),s=g(t),c="y"===l,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;switch(s){case"top":i={x:u,y:r.y-o.height};break;case"bottom":i={x:u,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:d};break;case"left":i={x:r.x-o.width,y:d};break;default:i={x:r.x,y:r.y}}switch(m(t)){case"start":i[f]-=p*(n&&c?-1:1);break;case"end":i[f]+=p*(n&&c?-1:1)}return i}e.s(["clamp",0,c,"createCoords",0,f,"evaluate",0,u,"floor",0,l,"getAlignment",0,m,"getAlignmentAxis",0,w,"getAlignmentSides",0,x,"getAxisLength",0,h,"getExpandedPlacements",0,v,"getOppositeAlignmentPlacement",0,b,"getOppositeAxis",0,d,"getOppositeAxisPlacements",0,L,"getOppositePlacement",0,C,"getPaddingObject",0,P,"getSide",0,g,"getSideAxis",0,y,"max",0,r,"min",0,i,"placements",0,n,"rectToClientRect",0,O,"round",0,o,"sides",0,t],343084);let D=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:l}=n,f=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:u}=S(s,i,a),g=i,m={},d=0;for(let n=0;n<f.length;n++){let{name:o,fn:h}=f[n],{x:p,y:y,data:w,reset:x}=await h({x:c,y:u,initialPlacement:i,placement:g,strategy:r,middlewareData:m,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=p?p:c,u=null!=y?y:u,m={...m,[o]:{...m[o],...w}},x&&d<=50&&(d++,"object"==typeof x&&(x.placement&&(g=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:c,y:u}=S(s,g,a)),n=-1)}return{x:c,y:u,placement:g,strategy:r,middlewareData:m}};async function W(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:o,rects:l,elements:f,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:g="floating",altBoundary:m=!1,padding:d=0}=u(t,e),h=P(d),p=f[m?"floating"===g?"reference":"floating":g],y=O(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(f.floating)),boundary:s,rootBoundary:c,strategy:a})),w="floating"===g?{x:i,y:r,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:w,offsetParent:x,strategy:a}):w);
1return{top:(y.top-b.top+h.top)/v.y,bottom:(b.bottom-y.bottom+h.bottom)/v.y,left:(y.left-b.left+h.left)/v.x,right:(b.right-y.right+h.right)/v.x}}function H(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function M(e){return t.some(t=>e[t]>=0)}function N(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}}let F=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:i,elements:r}=e,o=await (null==i.isRTL?void 0:i.isRTL(r.floating)),l=g(n),f=m(n),a="y"===y(n),s=F.has(l)?-1:1,c=o&&a?-1:1,d=u(t,e),{mainAxis:h,crossAxis:p,alignmentAxis:w}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return f&&"number"==typeof w&&(p="end"===f?-1*w:w),a?{x:p*c,y:h*s}:{x:h*s,y:p*c}}var B=e.i(229315);function V(e){let t=(0,B.getComputedStyle)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=(0,B.isHTMLElement)(e),l=r?e.offsetWidth:n,f=r?e.offsetHeight:i,a=o(n)!==l||o(i)!==f;return a&&(n=l,i=f),{width:n,height:i,$:a}}function z(e){return(0,B.isElement)(e)?e:e.contextElement}function j(e){let t=z(e);
1if(!(0,B.isHTMLElement)(t))return f(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:l}=V(t),a=(l?o(n.width):n.width)/i,s=(l?o(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let K=f(0);function _(e){let t=(0,B.getWindow)(e);return(0,B.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:K}function I(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=z(e),a=f(1);t&&(i?(0,B.isElement)(i)&&(a=j(i)):a=j(e));let s=(void 0===(r=n)&&(r=!1),i&&(!r||i===(0,B.getWindow)(l))&&r)?_(l):f(0),c=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,g=o.width/a.x,m=o.height/a.y;if(l){let e=(0,B.getWindow)(l),t=i&&(0,B.isElement)(i)?(0,B.getWindow)(i):i,n=e,r=(0,B.getFrameElement)(n);for(;r&&i&&t!==n;){let e=j(r),t=r.getBoundingClientRect(),i=(0,B.getComputedStyle)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,u*=e.y,g*=e.x,m*=e.y,c+=o,u+=l,n=(0,B.getWindow)(r),r=(0,B.getFrameElement)(n)}}return O({width:g,height:m,x:c,y:u})}function U(e,t){let n=(0,B.getNodeScroll)(e).scrollLeft;return t?t.left+n:I((0,B.getDocumentElement)(e)).left+n}function $(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-U(e,n),y:n.top+t.scrollTop}}let q=new Set(["absolute","fixed"]);function G(e,t,n){var i;let o;if("viewport"===t)o=function(e,t){let n=(0,B.getWindow)(e),i=(0,B.getDocumentElement)(e),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,f=0,a=0;if(r){o=r.width,l=r.height;let e=(0,B.isWebKit)();(!e||e&&"fixed"===t)&&(f=r.offsetLeft,a=r.offsetTop)}let s=U(i);if(s<=0){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(i.clientWidth-t.clientWidth-r);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:f,y:a}}(e,n);else if("document"===t){let t,n,l,f,a,s,c;i=(0,B.getDocumentElement)(e),t=(0,B.getDocumentElement)(i),n=(0,B.getNodeScroll)(i),l=i.ownerDocument.body,f=r(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=r(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),s=-n.scrollLeft+U(i),c=-n.scrollTop,"rtl"===(0,B.getComputedStyle)(l).direction&&(s+=r(t.clientWidth,l.clientWidth)-f),o={width:f,height:a,x:s,y:c}}else if((0,B.isElement)(t)){let e,i,r,l,a,s;i=(e=I(t,!0,"fixed"===n)).top+t.clientTop,r=e.left+t.clientLeft,l=(0,B.isHTMLElement)(t)?j(t):f(1),a=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:a,height:s,x:r*l.x,y:i*l.y}}else{let n=_(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(o)}function J(e){return"static"===(0,B.getComputedStyle)(e).position}function Q(e,t){if(!(0,B.isHTMLElement)(e)||"fixed"===(0,B.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,B.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function X(e,t){let n=(0,B.getWindow)(e);if((0,B.isTopLayer)(e))return n;if(!(0,B.isHTMLElement)(e)){let t=(0,B.getParentNode)(e);for(;t&&!(0,B.isLastTraversableNode)(t);){if((0,B.isElement)(t)&&!J(t))return t;t=(0,B.getParentNode)(t)}return n}let i=Q(e,t);for(;i&&(0,B.isTableElement)(i)&&J(i);)i=Q(i,t);return i&&(0,B.isLastTraversableNode)(i)&&J(i)&&!(0,B.isContainingBlock)(i)?n:i||(0,B.getContainingBlock)(e)||n}let Y=async function(e){let t=this.getOffsetParent||X,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,B.isHTMLElement)(t),r=(0,B.getDocumentElement)(t),o="fixed"===n,l=I(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=f(0);if(i||!i&&!o)if(("body"!==(0,B.getNodeName)(t)||(0,B.isOverflowElement)(r))&&(a=(0,B.getNodeScroll)(t)),i){let e=I(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=U(r));o&&!i&&r&&(s.x=U(r));let c=!r||i||o?f(0):$(r,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.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}}},Z={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,o="fixed"===r,l=(0,B.getDocumentElement)(i),a=!!t&&(0,B.isTopLayer)(t.floating);if(i===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},c=f(1),u=f(0),g=(0,B.isHTMLElement)(i);if((g||!g&&!o)&&(("body"!==(0,B.getNodeName)(i)||(0,B.isOverflowElement)(l))&&(s=(0,B.getNodeScroll)(i)),(0,B.isHTMLElement)(i))
1){let e=I(i);c=j(i),u.x=e.x+i.clientLeft,u.y=e.y+i.clientTop}let m=!l||g||o?f(0):$(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+m.x,y:n.y*c.y-s.scrollTop*c.y+u.y+m.y}},getDocumentElement:B.getDocumentElement,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,f=[..."clippingAncestors"===n?(0,B.isTopLayer)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,B.getOverflowAncestors)(e,[],!1).filter(e=>(0,B.isElement)(e)&&"body"!==(0,B.getNodeName)(e)),r=null,o="fixed"===(0,B.getComputedStyle)(e).position,l=o?(0,B.getParentNode)(e):e;for(;(0,B.isElement)(l)&&!(0,B.isLastTraversableNode)(l);){let t=(0,B.getComputedStyle)(l),n=(0,B.isContainingBlock)(l);n||"fixed"!==t.position||(r=null),(o?!n&&!r:!n&&"static"===t.position&&!!r&&q.has(r.position)||(0,B.isOverflowElement)(l)&&!n&&function e(t,n){let i=(0,B.getParentNode)(t);return!(i===n||!(0,B.isElement)(i)||(0,B.isLastTraversableNode)(i))&&("fixed"===(0,B.getComputedStyle)(i).position||e(i,n))}(e,l))?i=i.filter(e=>e!==l):r=t,l=(0,B.getParentNode)(l)}return t.set(e,i),i}(t,this._c):[].concat(n),o],a=f[0],s=f.reduce((e,n)=>{let o=G(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},G(t,a,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:X,getElementRects:Y,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=V(e);return{width:t,height:n}},getScale:j,isElement:B.isElement,isRTL:function(e){return"rtl"===(0,B.getComputedStyle)(e).direction}};function ee(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let et=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:f}=t,a=await k(t,e);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(i=f.arrow)&&i.alignmentOffset?{}:{x:r+a.x,y:o+a.y,data:{...a,placement:l}}}}},en=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:r}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=u(e,t),s={x:n,y:i},m=await W(t,a),h=y(g(r)),p=d(h),w=s[p],x=s[h];
1if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=w+m[e],i=w-m[t];w=c(n,w,i)}if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=x+m[e],i=x-m[t];x=c(n,x,i)}let v=f.fn({...t,[p]:w,[h]:x});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[p]:o,[h]:l}}}}}},ei=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,o,l;let{placement:f,middlewareData:a,rects:s,initialPlacement:c,platform:m,elements:d}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:w,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:R=!0,...T}=u(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let A=g(f),P=y(c),O=g(c)===c,S=await (null==m.isRTL?void 0:m.isRTL(d.floating)),D=w||(O||!R?[C(c)]:v(c)),H="none"!==E;!w&&H&&D.push(...L(c,R,E,S));let M=[c,...D],N=await W(t,T),F=[],k=(null==(i=a.flip)?void 0:i.overflows)||[];if(h&&F.push(N[A]),p){let e=x(f,s,S);F.push(N[e[0]],N[e[1]])}if(k=[...k,{placement:f,overflows:F}],!F.every(e=>e<=0)){let e=((null==(r=a.flip)?void 0:r.index)||0)+1,t=M[e];if(t&&("alignment"!==p||P===y(t)||k.every(e=>y(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(o=k.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(b){case"bestFit":{let e=null==(l=k.filter(e=>{if(H){let t=y(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=c}if(f!==n)return{reset:{placement:n}}}return{}}}},er=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,f,{placement:a,rects:s,platform:c,elements:d}=t,{apply:h=()=>{},...p}=u(e,t),w=await W(t,p),x=g(a),v=m(a),b="y"===y(a),{width:E,height:R}=s.floating;"top"===x||"bottom"===x?(l=x,f=v===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(f=x,l="end"===v?"top":"bottom");let T=R-w.top-w.bottom,A=E-w.left-w.right,L=i(R-w[l],T),C=i(E-w[f],A),P=!t.middlewareData.shift,O=L,S=C;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=A),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(O=T),P&&!v){let e=r(w.left,0),t=r(w.right,0),n=r(w.top,0),i=r(w.bottom,0);b?S=E-2*(0!==e||0!==t?e+t:r(w.left,w.right)):O=R-2*(0!==n||0!==i?n+i:r(w.top,w.bottom))}await h({...t,availableWidth:S,availableHeight:O});let D=await c.getDimensions(d.floating);return E!==D.width||R!==D.height?{reset:{rects:!0}}:{}}}},eo=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:i="referenceHidden",...r}=u(e,t);switch(i){case"referenceHidden":{let e=H(await W(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:M(e)}}}case"escaped":{let e=H(await W(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:M(e)}}}default:return{}}}}},el=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:l,platform:f,elements:a,middlewareData:s}=t,{element:g,padding:d=0}=u(e,t)||{};if(null==g)return{};let p=P(d),y={x:n,y:r},x=w(o),v=h(x),b=await f.getDimensions(g),E="y"===x,R=E?"clientHeight":"clientWidth",T=l.reference[v]+l.reference[x]-y[x]-l.floating[v],A=y[x]-l.reference[x],L=await (null==f.getOffsetParent?void 0:f.getOffsetParent(g)),C=L?L[R]:0;C&&await (null==f.isElement?void 0:f.isElement(L))||(C=a.floating[R]||l.floating[v]);let O=C/2-b[v]/2-1,S=i(p[E?"top":"left"],O),D=i(p[E?"bottom":"right"],O),W=C-b[v]-D,H=C/2-b[v]/2+(T/2-A/2),M=c(S,H,W),N=!s.arrow&&null!=m(o)&&H!==M&&l.reference[v]/2-(H<S?S:D)-b[v]/2<0,F=N?H<S?H-S:H-W:0;return{[x]:y[x]+F,data:{[x]:M,centerOffset:H-M-F,...N&&{alignmentOffset:F}},reset:N}}}),ef=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:r,rects:o,middlewareData:l}=t,{offset:f=0,mainAxis:a=!0,crossAxis:s=!0}=u(e,t),c={x:n,y:i},m=y(r),h=d(m),p=c[h],w=c[m],x=u(f,t),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+v.mainAxis,n=o.reference[h]+o.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var b,E;let e="y"===h?"width":"height",t=F.has(g(r)),n=o.reference[m]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[m])||0)+(t?0:v.crossAxis),i=o.reference[m]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[m])||0)-(t?v.crossAxis:0);w<n?w=n:w>i&&(w=i)}return{[h]:p,[m]:w}}}},ea=(e,t,n)=>{let i=new Map,r={platform:Z,...n},o={...r.platform,_c:i};return D(e,t,{...r,platform:o})};e.s(["arrow",0,el,"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var i,r,o,l;let{rects:f,middlewareData:a,placement:s,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:y=n,autoAlignment:w=!0,...v}=u(e,t),E=void 0!==p||y===n?((l=p||null)?[...y.filter(e=>m(e)===l),...y.filter(e=>m(e)!==l)]:y.filter(e=>g(e)===e)).filter(e=>!l||m(e)===l||!!w&&b(e)!==e):y,R=await W(t,v),T=(null==(i=a.autoPlacement)?void 0:i.index)||0,A=E[T];if(null==A)return{};let L=x(A,f,await (null==c.isRTL?void 0:c.isRTL(d.floating)));if(s!==A)return{reset:{placement:E[0]}};let C=[R[g(A)],R[L[0]],R[L[1]]],P=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:C}],O=E[T+1];if(O)return{data:{index:T+1,overflows:P},reset:{placement:O}};let S=P.map(e=>{let t=m(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>
1e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),D=(null==(o=S.filter(e=>e[2].slice(0,m(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||S[0][0];return D!==s?{data:{index:T+1,overflows:P},reset:{placement:D}}:{}}}},"autoUpdate",0,function(e,t,n,o){let f;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:g=!1}=o,m=z(e),d=a||s?[...m?(0,B.getOverflowAncestors)(m):[],...(0,B.getOverflowAncestors)(t)]:[];d.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=m&&u?function(e,t){let n,o=null,f=(0,B.getDocumentElement)(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),a();let g=e.getBoundingClientRect(),{left:m,top:d,width:h,height:p}=g;if(c||t(),!h||!p)return;let y={rootMargin:-l(d)+"px "+-l(f.clientWidth-(m+h))+"px "+-l(f.clientHeight-(d+p))+"px "+-l(m)+"px",threshold:r(0,i(1,u))||1},w=!0;function x(t){let i=t[0].intersectionRatio;if(i!==u){if(!w)return s();i?s(!1,i):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==i||ee(g,e.getBoundingClientRect())||s(),w=!1}try{o=new IntersectionObserver(x,{...y,root:f.ownerDocument})}catch(e){o=new IntersectionObserver(x,y)}o.observe(e)}(!0),a}(m,n):null,p=-1,y=null;c&&(y=new ResizeObserver(e=>{let[i]=e;i&&i.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),m&&!g&&y.observe(m),y.observe(t));let w=g?I(e):null;return g&&function t(){let i=I(e);w&&!ee(w,i)&&n(),w=i,f=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,g&&cancelAnimationFrame(f)}},"computePosition",0,ea,"flip",0,ei,"hide",0,eo,"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:l,platform:f,strategy:a}=t,{padding:s=2,x:c,y:m}=u(e,t),d=Array.from(await (null==f.getClientRects?void 0:f.getClientRects(o.reference))||[]),h=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=>O(N(e)))}(d),p=O(N(d)),w=P(s),x=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=c&&null!=m)return h.find(e=>c>e.left-w.left&&c<e.right+w.right&&m>e.top-w.top&&m<e.bottom+w.bottom)||p;if(h.length>=2){if("y"===y(n)){let e=h[0],t=h[h.length-1],i="top"===g(n),r=e.top,o=t.bottom,l=i?e.left:t.left,f=i?e.right:t.right;return{top:r,bottom:o,left:l,right:f,width:f-l,height:o-r,x:l,y:r}}let e="left"===g(n),t=r(...h.map(e=>e.right)),o=i(...h.map(e=>e.left)),l=h.filter(n=>e?n.left===o:n.right===t),f=l[0].top,a=l[l.length-1].bottom;return{top:f,bottom:a,left:o,right:t,width:t-o,height:a-f,x:o,y:f}}return p}},floating:o.floating,strategy:a});return l.reference.x!==x.reference.x||l.reference.y!==x.reference.y||l.reference.width!==x.reference.width||l.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},"limitShift",0,ef,"offset",0,et,"shift",0,en,"size",0,er],953760);var es=e.i(271645),ec=e.i(174080),eu="u">typeof document?es.useLayoutEffect:function(){};function eg(e,t){let n,i,r;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(i=n;0!=i--;)if(!eg(e[i],t[i]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=n;0!=i--;)if(!({}).hasOwnProperty.call(t,r[i]))return!1;for(i=n;0!=i--;){let n=r[i];if(("_owner"!==n||!e.$$typeof)&&!eg(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function em(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ed(e,t){let n=em(e);return Math.round(t*n)/n}function eh(e){let t=es.useRef(e);return eu(()=>{t.current=e}),t}e.s(["arrow",0,(e,t)=>({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?el({element:n.current,padding:i}).fn(t):{}:n?el({element:n,padding:i}).fn(t):{}},options:[e,t]}),"flip",0,(e,t)=>({...ei(e),options:[e,t]}),"hide",0,(e,t)=>({...eo(e),options:[e,t]}),"limitShift",0,(e,t)=>({...ef(e),options:[e,t]}),"offset",0,(e,t)=>({...et(e),options:[e,t]}),"shift",0,(e,t)=>({...en(e),options:[e,t]}),"size",0,(e,t)=>({...er(e),options:[e,t]}),"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:o,floating:l}={},transform:f=!0,whileElementsMounted:a,open:s}=e,[c,u]=es.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,m]=es.useState(i);eg(g,i)||m(i);let[d,h]=es.useState(null),[p,y]=es.useState(null),w=es.useCallback(e=>
vendor: 1,326 bytes, lines 1-3
1{e!==E.current&&(E.current=e,h(e))},[]),x=es.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),v=o||d,b=l||p,E=es.useRef(null),R=es.useRef(null),T=es.useRef(c),A=null!=a,L=eh(a),C=eh(r),P=eh(s),O=es.useCallback(()=>{if(!E.current||!R.current)return;let e={placement:t,strategy:n,middleware:g};C.current&&(e.platform=C.current),ea(E.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};S.current&&!eg(T.current,t)&&(T.current=t,ec.flushSync(()=>{u(t)}))})},[g,t,n,C,P]);eu(()=>{!1===s&&T.current.isPositioned&&(T.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[s]);let S=es.useRef(!1);eu(()=>(S.current=!0,()=>{S.current=!1}),[]),eu(()=>{if(v&&(E.current=v),b&&(R.current=b),v&&b){if(L.current)return L.current(v,b,O);O()}},[v,b,O,L,A]);let D=es.useMemo(()=>({reference:E,floating:R,setReference:w,setFloating:x}),[w,x]),W=es.useMemo(()=>({reference:v,floating:b}),[v,b]),H=es.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=ed(W.floating,c.x),i=ed(W.floating,c.y);return f?{...e,transform:"translate("+t+"px, "+i+"px)",...em(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:i}},[n,f,W.floating,c.x,c.y]);return es.useMemo(()=>({...c,update:O,refs:D,elements:W,floatingStyles:H}),[c,O,D,W,H])}],258950)}]);
2
3//# sourceMappingURL=0a1_10i0nc7~l.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.