vendor: 2,912 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[199],{30199:(e,t,n)=>{n.d(t,{BN:()=>h,ER:()=>g,Ej:()=>m,RK:()=>w,UE:()=>x,UU:()=>p,cY:()=>d,jD:()=>v,we:()=>c});var i=n(72901),r=n(84651),l=n(69802),o="undefined"!=typeof document?r.useLayoutEffect:function(){};function f(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(!f(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)&&!f(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=a(e);return Math.round(t*n)/n}function u(e){let t=r.useRef(e);return o(()=>{t.current=e}),t}function c(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:c=[],platform:d,elements:{reference:h,floating:g}={},transform:p=!0,whileElementsMounted:m,open:w}=e,[v,x]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,b]=r.useState(c);f(y,c)||b(c);let[T,R]=r.useState(null),[L,E]=r.useState(null),A=r.useCallback(e=>{e!==D.current&&(D.current=e,R(e))},[]),k=r.useCallback(e=>{e!==_.current&&(_.current=e,E(e))},[]),C=h||T,P=g||L,D=r.useRef(null),_=r.useRef(null),O=r.useRef(v),S=null!=m,q=u(m),V=u(d),j=u(w),B=r.useCallback(()=>{if(!D.current||!_.current)return;let e={placement:t,strategy:n,middleware:y};V.current&&(e.platform=V.current),(0,i.rD)(D.current,_.current,e).then(e=>{let t={...e,isPositioned:!1!==j.current};z.current&&!f(O.current,t)&&(O.current=t,l.flushSync(()=>{x(t)}))})},[y,t,n,V,j]);o(()=>{!1===w&&O.current.isPositioned&&(O.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[w]);let z=r.useRef(!1);o(()=>(z.current=!0,()=>{z.current=!1}),[]),o(()=>{if(C&&(D.current=C),P&&(_.current=P),C&&P){if(q.current)return q.current(C,P,B);B()}},[C,P,B,q,S]);let H=r.useMemo(()=>({reference:D,floating:_,setReference:A,setFloating:k}),[A,k]),I=r.useMemo(()=>({reference:C,floating:P}),[C,P]),U=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!I.floating)return e;let t=s(I.floating,v.x),i=s(I.floating,v.y);return p?{...e,transform:"translate("+t+"px, "+i+"px)",...a(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:i}},[n,p,I.floating,v.x,v.y]);return r.useMemo(()=>({...v,update:B,refs:H,elements:I,floatingStyles:U}),[v,B,H,I,U])}let d=(e,t)=>({...(0,i.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,i.BN)(e),options:[e,t]}),g=(e,t)=>({...(0,i.ER)(e),options:[e,t]}),p=(e,t)=>({...(0,i.UU)(e),options:[e,t]}),m=(e,t)=>({...(0,i.Ej)(e),options:[e,t]}),w=(e,t)=>({...(0,i.RK)(e),options:[e,t]}),v=(e,t)=>
1({...(0,i.jD)(e),options:[e,t]}),x=(e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,i.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,i.UE)({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]})},72901:(e,t,n)=>{n.d(t,{UE:()=>j,RK:()=>_,ll:()=>C,rD:()=>z,__:()=>P,UU:()=>S,jD:()=>V,ER:()=>B,cY:()=>D,BN:()=>O,Ej:()=>q});var i=n(67368);function r(e,t,n){let r,{reference:l,floating:o}=e,f=(0,i.TV)(t),a=(0,i.Dz)(t),s=(0,i.sq)(a),u=(0,i.C0)(t),c="y"===f,d=l.x+l.width/2-o.width/2,h=l.y+l.height/2-o.height/2,g=l[s]/2-o[s]/2;switch(u){case"top":r={x:d,y:l.y-o.height};break;case"bottom":r={x:d,y:l.y+l.height};break;case"right":r={x:l.x+l.width,y:h};break;case"left":r={x:l.x-o.width,y:h};break;default:r={x:l.x,y:l.y}}switch((0,i.Sg)(t)){case"start":r[a]-=g*(n&&c?-1:1);break;case"end":r[a]+=g*(n&&c?-1:1)}return r}let l=async(e,t,n)=>{let{placement:i="bottom",strategy:l="absolute",middleware:o=[],platform:f}=n,a=o.filter(Boolean),s=await (null==f.isRTL?void 0:f.isRTL(t)),u=await f.getElementRects({reference:e,floating:t,strategy:l}),{x:c,y:d}=r(u,i,s),h=i,g={},p=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:w,y:v,data:x,reset:y}=await m({x:c,y:d,initialPlacement:i,placement:h,strategy:l,middlewareData:g,rects:u,platform:f,elements:{reference:e,floating:t}});c=null!=w?w:c,d=null!=v?v:d,g={...g,[o]:{...g[o],...x}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(u=!0===y.rects?await f.getElementRects({reference:e,floating:t,strategy:l}):y.rects),{x:c,y:d}=r(u,h,s)),n=-1)}return{x:c,y:d,placement:h,strategy:l,middlewareData:g}};async function o(e,t){var n;void 0===t&&(t={});let{x:r,y:l,platform:o,rects:f,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=(0,i._3)(t,e),p=(0,i.nI)(g),m=a[h?"floating"===d?"reference":"floating":d],w=(0,i.B1)(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===d?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),y=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=(0,i.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:s}):v);return{top:(w.top-b.top+p.top)/y.y,bottom:(b.bottom-w.bottom+p.bottom)/y.y,left:(w.left-b.left+p.left)/y.x,right:(b.right-w.right+p.right)/y.x}}function f(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function a(e){return i.r_.some(t=>e[t]>=0)}let s=new Set(["left","top"]);async function u(e,t){let{placement:n,platform:r,elements:l}=e,o=await (null==r.isRTL?void 0:r.isRTL(l.floating)),f=(0,i.C0)(n),a=(0,i.Sg)(n),u="y"===(0,i.TV)(n),c=s.has(f)?-1:1,d=o&&u?-1:1,h=(0,i._3)(t,e),{mainAxis:g,crossAxis:p,alignmentAxis:m}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),u?{x:p*d,y:g*c}:{x:g*c,y:p*d}}var c=n(16394);function d(e){let t=(0,c.L9)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,l=(0,c.sb)(e),o=l?e.offsetWidth:n,f=l?e.offsetHeight:r,a=(0,i.LI)(n)!==o||(0,i.LI)(r)!==f;return a&&(n=o,r=f),{width:n,height:r,$:a}}function h(e){return(0,c.vq)(e)?e:e.contextElement}function g(e){let t=h(e);if(!(0,c.sb)(t))return(0,i.Jx)(1);let n=t.getBoundingClientRect(),{width:r,height:l,$:o}=d(t),f=(o?(0,i.LI)(n.width):n.width)/r,a=(o?(0,i.LI)(n.height):n.height)/l;return f&&Number.isFinite(f)||(f=1),a&&Number.isFinite(a)||(a=1),{x:f,y:a}}let p=(0,i.Jx)(0);function m(e){let t=(0,c.zk)(e);
1return(0,c.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function w(e,t,n,r){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),f=h(e),a=(0,i.Jx)(1);t&&(r?(0,c.vq)(r)&&(a=g(r)):a=g(e));let s=(void 0===(l=n)&&(l=!1),r&&(!l||r===(0,c.zk)(f))&&l)?m(f):(0,i.Jx)(0),u=(o.left+s.x)/a.x,d=(o.top+s.y)/a.y,p=o.width/a.x,w=o.height/a.y;if(f){let e=(0,c.zk)(f),t=r&&(0,c.vq)(r)?(0,c.zk)(r):r,n=e,i=(0,c._m)(n);for(;i&&r&&t!==n;){let e=g(i),t=i.getBoundingClientRect(),r=(0,c.L9)(i),l=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,d*=e.y,p*=e.x,w*=e.y,u+=l,d+=o,n=(0,c.zk)(i),i=(0,c._m)(n)}}return(0,i.B1)({width:p,height:w,x:u,y:d})}function v(e,t){let n=(0,c.CP)(e).scrollLeft;return t?t.left+n:w((0,c.ep)(e)).left+n}function x(e,t,n){void 0===n&&(n=!1);let i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-(n?0:v(e,i)),y:i.top+t.scrollTop}}let y=new Set(["absolute","fixed"]);function b(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=(0,c.zk)(e),i=(0,c.ep)(e),r=n.visualViewport,l=i.clientWidth,o=i.clientHeight,f=0,a=0;if(r){l=r.width,o=r.height;let e=(0,c.Tc)();(!e||e&&"fixed"===t)&&(f=r.offsetLeft,a=r.offsetTop)}return{width:l,height:o,x:f,y:a}}(e,n);else if("document"===t)r=function(e){let t=(0,c.ep)(e),n=(0,c.CP)(e),r=e.ownerDocument.body,l=(0,i.T9)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=(0,i.T9)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),f=-n.scrollLeft+v(e),a=-n.scrollTop;return"rtl"===(0,c.L9)(r).direction&&(f+=(0,i.T9)(t.clientWidth,r.clientWidth)-l),{width:l,height:o,x:f,y:a}}((0,c.ep)(e));else if((0,c.vq)(t))r=function(e,t){let n=w(e,!0,"fixed"===t),r=n.top+e.clientTop,l=n.left+e.clientLeft,o=(0,c.sb)(e)?g(e):(0,i.Jx)(1),f=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:f,height:a,x:l*o.x,y:r*o.y}}(t,n);else{let n=m(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,i.B1)(r)}function T(e){return"static"===(0,c.L9)(e).position}function R(e,t){if(!(0,c.sb)(e)||"fixed"===(0,c.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.ep)(e)===n&&(n=n.ownerDocument.body),n}function L(e,t){let n=(0,c.zk)(e);if((0,c.Tf)(e))return n;if(!(0,c.sb)(e)){let t=(0,c.$4)(e);for(;t&&!(0,c.eu)(t);){if((0,c.vq)(t)&&!T(t))return t;t=(0,c.$4)(t)}return n}let i=R(e,t);for(;i&&(0,c.Lv)(i)&&T(i);)i=R(i,t);return i&&(0,c.eu)(i)&&T(i)&&!(0,c.sQ)(i)?n:i||(0,c.gJ)(e)||n}let E=async function(e){let t=this.getOffsetParent||L,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=(0,c.sb)(t),l=(0,c.ep)(t),o="fixed"===n,f=w(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=(0,i.Jx)(0);if(r||!r&&!o)if(("body"!==(0,c.mq)(t)||(0,c.ZU)(l))&&(a=(0,c.CP)(t)),r){let e=w(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else l&&(s.x=v(l));o&&!r&&l&&(s.x=v(l));let u=!l||r||o?(0,i.Jx)(0):x(l,a);return{x:f.left+a.scrollLeft-s.x-u.x,y:f.top+a.scrollTop-s.y-u.y,width:f.width,height:f.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},A={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:l}=e,o="fixed"===l,f=(0,c.ep)(r),a=!!t&&(0,c.Tf)(t.floating);if(r===f||a&&o)return n;let s={scrollLeft:0,scrollTop:0},u=(0,i.Jx)(1),d=(0,i.Jx)(0),h=(0,c.sb)(r);if((h||!h&&!o)&&(("body"!==(0,c.mq)(r)||(0,c.ZU)(f))&&(s=(0,c.CP)(r)),(0,c.sb)(r))){let e=w(r);u=g(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=!f||h||o?(0,i.Jx)(0):x(f,s,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-s.scrollTop*u.y+d.y+p.y}},getDocumentElement:c.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,o=[..."clippingAncestors"===n?(0,c.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,c.v9)(e,[],!1).filter(e=>(0,c.vq)(e)&&"body"!==(0,c.mq)(e)),r=null,l="fixed"===(0,c.L9)(e).position,o=l?(0,c.$4)(e):e;for(;(0,c.vq)(o)&&!(0,c.eu)(o);){let t=(0,c.L9)(o),n=(0,c.sQ)(o);n||"fixed"!==t.position||(r=null),(l?!n&&!r:!n&&"static"===t.position&&!!r&&y.has(r.position)||(0,c.ZU)(o)&&!n&&function e(t,n){let i=(0,c.$4)(t);return!(i===n||!(0,c.vq)(i)||(0,c.eu)(i))&&("fixed"===(0,c.L9)(i).position||e(i,n))}(e,o))?i=i.filter(e=>e!==o):r=t,o=(0,c.$4)(o)}return t.set(e,i),i}(t,this._c):[].concat(n),r],f=o[0],a=o.reduce((e,n)=>
1{let r=b(t,n,l);return e.top=(0,i.T9)(r.top,e.top),e.right=(0,i.jk)(r.right,e.right),e.bottom=(0,i.jk)(r.bottom,e.bottom),e.left=(0,i.T9)(r.left,e.left),e},b(t,f,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:L,getElementRects:E,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=d(e);return{width:t,height:n}},getScale:g,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function k(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function C(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:f=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,d=h(e),g=o||f?[...d?(0,c.v9)(d):[],...(0,c.v9)(t)]:[];g.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let p=d&&s?function(e,t){let n,r=null,l=(0,c.ep)(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:g}=u;if(a||t(),!h||!g)return;let p=(0,i.RI)(d),m=(0,i.RI)(l.clientWidth-(c+h)),w={rootMargin:-p+"px "+-m+"px "+-(0,i.RI)(l.clientHeight-(d+g))+"px "+-(0,i.RI)(c)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,s))||1},v=!0;function x(t){let i=t[0].intersectionRatio;if(i!==s){if(!v)return f();i?f(!1,i):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==i||k(u,e.getBoundingClientRect())||f(),v=!1}try{r=new IntersectionObserver(x,{...w,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),o}(d,n):null,m=-1,v=null;a&&(v=new ResizeObserver(e=>{let[i]=e;i&&i.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),d&&!u&&v.observe(d),v.observe(t));let x=u?w(e):null;return u&&function t(){let i=w(e);x&&!k(x,i)&&n(),x=i,l=requestAnimationFrame(t)}(),n(),()=>{var e;g.forEach(e=>{o&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=v)||e.disconnect(),v=null,u&&cancelAnimationFrame(l)}}let P=o,D=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:l,placement:o,middlewareData:f}=t,a=await u(t,e);return o===(null==(n=f.offset)?void 0:n.placement)&&null!=(i=f.arrow)&&i.alignmentOffset?{}:{x:r+a.x,y:l+a.y,data:{...a,placement:o}}}}},_=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,l,f;let{rects:a,middlewareData:s,placement:u,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:p=i.DD,autoAlignment:m=!0,...w}=(0,i._3)(e,t),v=void 0!==g||p===i.DD?((f=g||null)?[...p.filter(e=>(0,i.Sg)(e)===f),...p.filter(e=>(0,i.Sg)(e)!==f)]:p.filter(e=>(0,i.C0)(e)===e)).filter(e=>!f||(0,i.Sg)(e)===f||!!m&&(0,i.aD)(e)!==e):p,x=await o(t,w),y=(null==(n=s.autoPlacement)?void 0:n.index)||0,b=v[y];if(null==b)return{};let T=(0,i.w7)(b,a,await (null==c.isRTL?void 0:c.isRTL(d.floating)));if(u!==b)return{reset:{placement:v[0]}};let R=[x[(0,i.C0)(b)],x[T[0]],x[T[1]]],L=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:b,overflows:R}],E=v[y+1];if(E)return{data:{index:y+1,overflows:L},reset:{placement:E}};let A=L.map(e=>{let t=(0,i.Sg)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(l=A.filter(e=>e[2].slice(0,(0,i.Sg)(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||A[0][0];return k!==u?{data:{index:y+1,overflows:L},reset:{placement:k}}:{}}}},O=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:f=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,i._3)(e,t),c={x:n,y:r},d=await o(t,u),h=(0,i.TV)((0,i.C0)(l)),g=(0,i.PG)(h),p=c[g],m=c[h];if(f){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=p+d[e],r=p-d[t];p=(0,i.qE)(n,p,r)}if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+d[e],r=m-d[t];m=(0,i.qE)(n,m,r)}let w=s.fn({...t,[g]:p,[h]:m});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[g]:f,[h]:a}}}}}},S=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,l,f,a;let{placement:s,middlewareData:u,rects:c,initialPlacement:d,platform:h,elements:g}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...b}=(0,i._3)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let T=(0,i.C0)(s),R=(0,i.TV)(d),L=(0,i.C0)(d)===d,E=await (null==h.isRTL?void 0:h.isRTL(g.floating)),A=w||(L||!y?[(0,i.bV)(d)]:(0,i.WJ)(d)),k="none"!==x;!w&&k&&A.push(...(0,i.lP)(d,y,x,E));let C=[d,...A],P=await o(t,b),D=[],_=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&D.push(P[T]),m){let e=(0,i.w7)(s,c,E);D.push(P[e[0]],P[e[1]])}if(_=[..._,{placement:s,overflows:D}],!D.every(e=>e<=0)){let e=((null==(l=u.flip)?void 0:l.index)||0)+1,t=C[e];if(t&&("alignment"!==m||R===(0,i.TV)(t)||_.every(e=>(0,i.TV)(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(f=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:f.placement;if(!n)switch(v){case"bestFit":{let e=null==(a=_.filter(e=>{if(k){let t=(0,i.TV)(e.placement);return t===R||"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:a[0];e&&(n=e);break}case"initialPlacement":n=d}if(s!==n)return{reset:{placement:n}}}return{}}}},q=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let l,f,{placement:a,rects:s,platform:u,elements:c}=t,{apply:d=()=>{},...h}=(0,i._3)(e,t),g=await o(t,h),p=(0,i.C0)(a),m=(0,i.Sg)(a),w="y"===(0,i.TV)(a),{width:v,height:x}=s.floating;"top"===p||"bottom"===p?(l=p,f=m===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(f=p,l="end"===m?"top":"bottom");let y=x-g.top-g.bottom,b=v-g.left-g.right,T=(0,i.jk)(x-g[l],y),R=(0,i.jk)(v-g[f],b),L=!t.middlewareData.shift,E=T,A=R;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(A=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(E=y),L&&!m){let e=(0,i.T9)(g.left,0),t=(0,i.T9)(g.right,0),n=(0,i.T9)(g.top,0),r=(0,i.T9)(g.bottom,0);w?A=v-2*(0!==e||0!==t?e+t:(0,i.T9)(g.left,g.right)):E=x-2*(0!==n||0!==r?n+r:(0,i.T9)(g.top,g.bottom))}await d({...t,availableWidth:A,availableHeight:E});let k=await u.getDimensions(c.floating);return v!==k.width||x!==k.height?{reset:{rects:!0}}:{}}}},V=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...l}=(0,i._3)(e,t);switch(r){case"referenceHidden":{let e=f(await o(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:a(e)}}}case"escaped":{let e=f(await o(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:a(e)}}}default:return{}}}}},j=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:o,platform:f,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=(0,i._3)(e,t)||{};if(null==u)return{};let d=(0,i.nI)(c),h={x:n,y:r},g=(0,i.Dz)(l),p=(0,i.sq)(g),m=await f.getDimensions(u),w="y"===g,v=w?"clientHeight":"clientWidth",x=o.reference[p]+o.reference[g]-h[g]-o.floating[p],y=h[g]-o.reference[g],b=await (null==f.getOffsetParent?void 0:f.getOffsetParent(u)),T=b?b[v]:0;T&&await (null==f.isElement?void 0:f.isElement(b))||(T=a.floating[v]||o.floating[p]);let R=T/2-m[p]/2-1,L=(0,i.jk)(d[w?"top":"left"],R),E=(0,i.jk)(d[w?"bottom":"right"],R),A=T-m[p]-E,k=T/2-m[p]/2+(x/2-y/2),C=(0,i.qE)(L,k,A),P=!s.arrow&&null!=(0,i.Sg)(l)&&k!==C&&o.reference[p]/2-(k<L?L:E)-m[p]/2<0,D=P?k<L?k-L:k-A:0;return{[g]:h[g]+D,data:{[g]:C,centerOffset:k-C-D,...P&&{alignmentOffset:D}},reset:P}}}),B=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:l,rects:o,middlewareData:f}=t,{offset:a=0,mainAxis:u=!0,crossAxis:c=!0}=(0,i._3)(e,t),d={x:n,y:r},h=(0,i.TV)(l),g=(0,i.PG)(h),p=d[g],m=d[h],w=(0,i._3)(a,t),v="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===g?"height":"width",t=o.reference[g]-o.floating[e]+v.mainAxis,n=o.reference[g]+o.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var x,y;let e="y"===g?"width":"height",t=s.has((0,i.C0)(l)),n=o.reference[h]-o.floating[e]+(t&&(null==(x=f.offset)?void 0:x[h])||0)+(t?0:v.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(y=f.offset)?void 0:y[h])||0)-(t?v.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[g]:p,[h]:m}}}},z=(e,t,n)=>{let i=new Map,r={platform:A,...n},o={...r.platform,_c:i};return l(e,t,{...r,platform:o})}}}]);
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.