"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9008],{62802:function(e,t,n){var r=n(82729),i=n(36086),o=n(67294),s=n(31666),a=n(62290),c=n(54375);function _templateObject(){var e=(0,r._)(["\n display: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ","\n"]);return _templateObject=function(){return e},e}var __rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u={body:{size:"body-md",fontWeight:"book"},title:{size:"body-lg",fontWeight:"bold"},mainTitle:{size:"heading-md",fontWeight:"bold"}},getTextPxSize=function(e){return a.iH[e].fontSize*a.bf},getTextUnitSize=function(e){return(0,i.u)(a.iH[e].fontSize)},lineHeightToPx=function(e){return a.iH[e].fontSize*a.iH[e].lineHeight*a.bf},clampBuilder=function(e,t,n,r){var i=(t-e)/(r-n),o=-n*i+e;return"".concat(o,"px + ").concat(100*i,"vw")},l=s.Z.span(_templateObject(),function(e){return e.isInline?"inline":"block"},function(e){return!e.sizeMinMax&&(0,i.y3)(e.size)},function(e){return(0,i.On)(e.fontWeight)},function(e){return e.color&&"color: ".concat((0,i.Rv)(e.color))},function(e){return e.isDimmed&&"opacity: ".concat(.6)},function(e){return e.alignment&&"text-align: ".concat(e.alignment)},function(e){return e.hasEllipsis&&!e.ellipsisLines&&"\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "},function(e){return e.hasEllipsis&&e.ellipsisLines&&"\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ".concat(e.ellipsisLines,";\n ")},function(e){return!e.hasEllipsis&&e.noWrap&&"white-space: nowrap; overflow: hidden;"},function(e){return e.sizeMinMax&&"\n min-height: 0vw;\n font-size: clamp(\n ".concat(getTextUnitSize(e.sizeMinMax[0]),",\n ").concat(clampBuilder(getTextPxSize(e.sizeMinMax[0]),getTextPxSize(e.sizeMinMax[1]),496,1200),",\n ").concat(getTextUnitSize(e.sizeMinMax[1]),"\n );\n\n line-height: clamp(\n ").concat(lineHeightToPx(e.sizeMinMax[0]),"px,\n ").concat(clampBuilder(lineHeightToPx(e.sizeMinMax[0]),lineHeightToPx(e.sizeMinMax[1]),496,1200),",\n ").concat(lineHeightToPx(e.sizeMinMax[1]),"px\n );\n ")});t.ZP=function(e){var t=e.children,n=e.size,r=e.color,i=e.isInline,s=e.isDimmed,a=e.fontWeight,f=e.hasEllipsis,d=e.ellipsisLines,p=e.noWrap,h=e.variant,g=e.htmlTag,v=e.alignment,m=e.sizeMinMax,b=__rest(e,["children","size","color","isInline","isDimmed","fontWeight","hasEllipsis","ellipsisLines","noWrap","variant","htmlTag","alignment","sizeMinMax"]);return s&&console.warn(c.$P),o.createElement(l,Object.assign({size:h?u[h].size:void 0===n?"body-md":n,color:r,isInline:i,isDimmed:s,fontWeight:h?u[h].fontWeight:void 0===a?"book":a,hasEllipsis:f,ellipsisLines:d,noWrap:p,variant:h,as:void 0===g?"span":g,alignment:v,sizeMinMax:m},b),t)}},79184:function(e,t,n){n.d(t,{_M:function(){return TooltipBox},ZP:function(){return tooltip}});var r,i,o=n(24043),s=n(82729),a=n(67294),c=n(36086),u=n(54375),l=n(97246),f=n(31666);function _templateObject(){var e=(0,s._)(["\n display: grid;\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n ",";\n"]);return _templateObject=function(){return e},e}var __rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},d=f.Z.div(_templateObject(),function(e){return(0,c.W1)("align-items",e.alignItems)},function(e){return(0,c.W1)("justify-content",e.justifyContent)},function(e){return e.justifyItems&&(0,c.W1)("justify-items",e.justifyItems)},function(e){return e.alignContent&&(0,c.W1)("align-content",e.alignContent)},function(e){return!e.columns&&!e.rows&&!e.autoFlow&&"grid-auto-flow: column"},function(e){return(0,l.Uw)(e.columns,"columns")},function(e){return(0,l.Uw)(e.rows,"rows")},function(e){return(0,c.ap)("gap",e.gap)},function(e){return(0,c.ap)("width",e.width)},function(e){return(0,c.ap)("height",e.height)},function(e){return(0,c.ap)("min-width",e.minWidth)},function(e){return(0,c.ap)("min-height",e.minHeight)},function(e){return(0,c.ap)("max-width",e.maxWidth)},function(e){return(0,c.ap)("max-height",e.maxHeight)},function(e){return e.autoFlow&&(0,c.W1)("grid-auto-flow",e.autoFlow)},function(e){return e.columns&&e.autoFlow&&(0,c.W1)("grid-auto-flow",e.autoFlow)}),arrange=function(e){var t=e.children,n=e.width,r=e.height,i=e.minWidth,o=e.minHeight,s=e.maxWidth,c=e.maxHeight,l=e.gap,f=e.columns,p=e.rows,h=e.alignItems,g=e.justifyContent,v=e.justifyItems,m=e.alignContent,b=e.autoFlow,y=e.className,O=e.style,w=__rest(e,["children","width","height","minWidth","minHeight","maxWidth","maxHeight","gap","columns","rows","alignItems","justifyContent","justifyItems","alignContent","autoFlow","className","style"]);return(y||O)&&console.warn(u.qF),a.createElement(d,Object.assign({alignItems:void 0===h?"center":h,justifyContent:void 0===g?"start":g,justifyItems:v,alignContent:m,gap:l,columns:f,rows:p,width:n,height:r,minWidth:i,minHeight:o,maxWidth:s,maxHeight:c,autoFlow:b},w),t)},p=n(62802),h=n(73935);function _defineProperties(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function useTrackRef(e){var t=(0,a.useRef)(null);return function(n){n&&n!==t.current&&(t.current=n,e(n))}}var g="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;function getPixelValue(e){return parseFloat(e.replace("px",""))}function limit(e,t,n){return en?n:e}function mergeRefs(){for(var e=arguments.length,t=Array(e),n=0;n=0})}},{key:"negativeSides",get:function(){var e=this;return Object.fromEntries(w.filter(function(t){return e[t]<0}).map(function(t){return[t,e[t]]}))}}]),BoundsOffsets}();function sumOfPropertyValues(){for(var e=arguments.length,t=Array(e),n=0;ng?g-b:0;d[n.prop]=limit(b+e+O,h,g),d[n.opposite.prop]=d[n.prop]+n.factor(o[u])}d.width=d.right-d.left,d.height=d.bottom-d.top;var w=E.create(d);return 0===e&&(this._cachedLayerBounds=w),w},e.getLayerCollisionBounds=function(){var e=this.offsets.container;return this.getLayerBounds().mapSides(function(t,n){return n-t.factor(e)}).merge(function(t){return{width:t.width+2*e,height:t.height+2*e}})},e.getContainerOffsets=function(e){if(this._cachedContainerOffsets&&!e)return this._cachedContainerOffsets;var t=this.subjectsBounds.merge({layer:e||this.getLayerCollisionBounds()}),n=_.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=n),n},_createClass(Placement,[{key:"type",get:function(){return this.primary.prop+"-"+("center"===this.secondary.prop?"center":["bottom","right"].includes(this.secondary.prop)?"end":"start")}},{key:"triggerIsBigger",get:function(){var e=this.secondary.isHorizontal,t=this.subjectsBounds,n=t.triggerHasBiggerWidth,r=t.triggerHasBiggerHeight;return e&&n||!e&&r}},{key:"fitsContainer",get:function(){return this.getContainerOffsets().allSidesArePositive}},{key:"visibleSurface",get:function(){var e=this.getLayerBounds(),t=this.getContainerOffsets(e).negativeSides;for(var n in t)t[n]=-t[n];return e.substract(t).surface}},{key:"secondaryOffsetSide",get:function(){var e,t,n=this;return(null!=(e=null==(t=Object.entries(this.getContainerOffsets().negativeSides).map(function(e){var t=e[0],n=e[1];return[y[t],n]}).filter(function(e){var t=e[0];return n.primary.isOppositeDirection(t)}).sort(function(e,t){var n=e[1];return t[1]-n}))?void 0:t[0])?e:[])[0]||null}}]),Placement}(),x=function(e){function PlacementCenter(){return e.apply(this,arguments)||this}return PlacementCenter.prototype=Object.create(e.prototype),PlacementCenter.prototype.constructor=PlacementCenter,_setPrototypeOf(PlacementCenter,e),PlacementCenter.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,n=e.layer,r=E.empty();return r.top=t.top+t.height/2-n.height/2,r.bottom=r.top+n.height,r.left=t.left+t.width/2-n.width/2,r.right=r.left+n.width,r.width=r.right-r.left,r.height=r.bottom-r.top,r},PlacementCenter}(S),P={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},z=function(){function Placements(e,t,n){this.placements=void 0,this.config=void 0,this.subjectsBounds=void 0,this.placements=e,this.config=t,this.subjectsBounds=n}Placements.getSidesFromPlacementType=function(e){var t,n=e.split("-"),r=n[0],i=n[1],o=y[r];return t="center"===i?O.center:o.isHorizontal?"start"===i?O.top:O.bottom:"start"===i?O.left:O.right,[o,t]},Placements.create=function(e,t){var n={arrow:t.arrowOffset,container:t.containerOffset,trigger:t.triggerOffset};function getListOfPlacements(r){void 0===r&&(r=t.placement);var i=Placements.getSidesFromPlacementType(r),o=i[0],s=i[1],a=y[o.isHorizontal?t.preferY:t.preferX],c=!o.isHorizontal&&e.triggerHasBiggerWidth||o.isHorizontal&&e.triggerHasBiggerHeight;function placementFrom(r,i){return new S(r,i,e,t.layerDimensions,n)}var u=[];return u[0]=placementFrom(o,s),u[1]=placementFrom(o,s.isCenter?a:O.center),u[2]=placementFrom(o,O[(s.opposite.isCenter?a.opposite:s.opposite).prop]),u[3]=placementFrom(a,c?o:O[o.opposite.prop]),u[4]=placementFrom(a,O.center),u[5]=placementFrom(a,c?O[o.opposite.prop]:o),u[6]=placementFrom(y[a.opposite.prop],c?o:O[o.opposite.prop]),u[7]=placementFrom(y[a.opposite.prop],O.center),u[8]=placementFrom(y[a.opposite.prop],c?O[o.opposite.prop]:o),u[9]=placementFrom(y[o.opposite.prop],s),u[10]=placementFrom(y[o.opposite.prop],s.isCenter?a:O.center),u[11]=placementFrom(y[o.opposite.prop],O[(s.opposite.isCenter?a.opposite:s.opposite).prop]),u=u.filter(function(e){return e.type===t.placement||t.possiblePlacements.includes(e.type)})}return"center"===t.placement?new Placements([new x(O.center,O.center,e,t.layerDimensions,n)].concat(getListOfPlacements(t.preferY+"-"+t.preferX)),t,e):new Placements(getListOfPlacements(),t,e)};var e=Placements.prototype;return e.filterPlacementsBySide=function(e){return this.placements.filter(function(t){return t.primary===e})},e.findFirstPlacementThatFits=function(){return this.placements.find(function(e){return e.fitsContainer})},e.placementWithBiggestVisibleSurface=function(){return this.placements.map(function(e){return{placement:e,surface:e.visibleSurface}}).sort(function(e,t){return t.surface-e.surface})[0].placement},e.findSuitablePlacement=function(){return this.config.auto?this.findFirstPlacementThatFits()||this.placementWithBiggestVisibleSurface():this.placements[0]},e.getSecondaryOffset=function(e){var t,n=this.config,r=n.auto,i=n.snap;if(!r||i||e instanceof x)return 0;var o=this.filterPlacementsBySide(e.primary);if(0===o.indexOf(e)&&e.fitsContainer)return 0;var s=o.find(function(e){return!e.fitsContainer});if(!s)return 0;var a=s.secondaryOffsetSide;if(!a)return 0;var c=e.getContainerOffsets(),u=e.secondary;return t=e.triggerIsBigger||s===e?a.isPush?-1:1:u===O.left||[O.top,O.center].includes(u)&&a.isPush?-1:1,c[a.prop]*t},e.getStyles=function(e,t,n,r){var i={willChange:"top, left, width, height"};return{arrow:function(e,t,n){if(t.primary.isCenter)return P;var r,i,o,s,a,c,u,l,f,d,p=e.layer,h=e.trigger,g=e.arrow,v=t.primary.oppositeSizeProp,m=h[v]>p[v],b=n+g[v]/2,y=p[v]-g[v]/2-n,O=(r=e.layer,i=e.trigger,o=e.arrow,s=t.primary.oppositeSizeProp,c=(a=t.primary.isHorizontal?["top","bottom"]:["left","right"])[0],u=a[1],((l=r[c]+r[s]/2-i[c]-o[s]/2-n)<0?-l:0)+((f=r[u]-r[s]/2-i[u]+o[s]/2+n)>0?-f:0)),w=t.primary.prop,_=t.primary.oppositeCssProp,C=m?p[v]/2+O:h[_]+h[v]/2-p[_];return _extends({},P,((d={})[w]="100%",d[_]=limit(C,b,y),d))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset),layer:this.config.overflowContainer?_extends({},i,{position:"fixed",top:e.top,left:e.left}):_extends({},i,{position:"absolute",top:e.top-this.subjectsBounds.parent.top+n.top-r.top,left:e.left-this.subjectsBounds.parent.left+n.left-r.left})}},e.getHasDisappeared=function(e){var t=this.config.overflowContainer?this.subjectsBounds.trigger:e,n=_.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(n.negativeSides).some(function(e){var n=e[0];return e[1]<=-t[y[n].sizeProp]})?"full":n.allSidesArePositive?null:"partial"},e.result=function(e,t){var n=this.findSuitablePlacement(),r=this.getSecondaryOffset(n),i=n.getLayerBounds(r);return{styles:this.getStyles(i,n,e,t),layerSide:n.primary.prop,placement:n,layerBounds:i,hasDisappeared:this.getHasDisappeared(i)}},Placements}(),j=function(){function SubjectsBounds(e,t){this.overflowContainer=void 0,this.trigger=void 0,this.layer=void 0,this.arrow=void 0,this.parent=void 0,this.window=void 0,this.scrollContainers=void 0,this.overflowContainer=t,Object.assign(this,e)}SubjectsBounds.create=function(e,t,n,r,i,o,s,a){var c=E.fromWindow(e);return new SubjectsBounds({layer:E.fromElement(t,{environment:e,withTransform:!1}),trigger:a?E.create(boundsToObject(a())):E.fromElement(n),arrow:i?E.fromElement(i):E.empty(),parent:r?E.fromElement(r):c,window:c,scrollContainers:[c].concat(o.map(function(e){return E.fromElement(e,{withScrollbars:!1})}))},s)};var e=SubjectsBounds.prototype;return e.merge=function(e){return new SubjectsBounds(_extends({},this,e),this.overflowContainer)},e.offsetsToScrollContainers=function(e,t){return void 0===t&&(t=!1),(this.overflowContainer&&!t?[this.window]:this.scrollContainers).map(function(t){return t.offsetsTo(e)})},_createClass(SubjectsBounds,[{key:"layerOffsetsToScrollContainers",get:function(){return this.offsetsToScrollContainers(this.layer)}},{key:"triggerHasBiggerWidth",get:function(){return this.trigger.width>this.layer.width}},{key:"triggerHasBiggerHeight",get:function(){return this.trigger.height>this.layer.height}}]),SubjectsBounds}(),R={auto:!1,arrowOffset:0,containerOffset:10,triggerOffset:0,overflowContainer:!0,placement:"top-center",possiblePlacements:["bottom-start","bottom-end","bottom-center","top-start","top-center","top-end","left-end","left-center","left-start","right-end","right-center","right-start","center"],preferX:"right",preferY:"bottom",snap:!1,container:void 0},B="layers";(r=i||(i={}))[r.ENTERING=0]="ENTERING",r[r.LEAVING=1]="LEAVING",r[r.IDLE=2]="IDLE";var L=function(){if("undefined"!=typeof Map)return Map;function getIndex(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(e){var t=getIndex(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},class_1.prototype.set=function(e,t){var n=getIndex(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},class_1.prototype.delete=function(e){var t=this.__entries__,n=getIndex(t,e);~n&&t.splice(n,1)},class_1.prototype.has=function(e){return!!~getIndex(this.__entries__,e)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},ResizeObserverController.prototype.connect_=function(){T&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),H?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){T&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;M.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(e,t){for(var n=0,r=Object.keys(t);n0},ResizeObserverSPI}(),V="undefined"!=typeof WeakMap?new WeakMap:new L,ResizeObserver=function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var t=W.getInstance(),n=new N(e,t,this);V.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){ResizeObserver.prototype[e]=function(){var t;return(t=V.get(this))[e].apply(t,arguments)}});var G=void 0!==k.ResizeObserver?k.ResizeObserver:ResizeObserver,Y=n(62290);function tooltip_templateObject(){var e=(0,s._)(["\n background-color: ",";\n color: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n z-index: 1100;\n padding: "," ",";\n z-index: ",";\n"]);return tooltip_templateObject=function(){return e},e}function _templateObject1(){var e=(0,s._)(["\n background-color: ",";\n border-radius: 3px;\n color: ",";\n ",";\n ",";\n padding-left: ",";\n padding-right: ",";\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,s._)(["\n display: ",";\n ",";\n &:focus-visible {\n // Note: 0px solid transparent prevents focus rings from disappearing for -ms-high-contrast.\n // TODO(LNS-183): Provide more robust polyfill/support for :focus for older versions of Safari, which don't support :focus-visible\n outline: 0px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n"]);return _templateObject2=function(){return e},e}var tooltip_rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},X={topLeft:"top-start",topCenter:"top-center",topRight:"top-end",bottomLeft:"bottom-start",bottomCenter:"bottom-center",bottomRight:"bottom-end",leftTop:"left-start",leftCenter:"left-center",leftBottom:"left-end",rightTop:"right-start",rightCenter:"right-center",rightBottom:"right-end"},Z=Y.iH.small.fontSize*Y.iH.small.lineHeight,q=f.Z.div(tooltip_templateObject(),(0,c.Rv)("background"),(0,c.Rv)("body"),(0,c.H5)("large"),(0,c.On)("bold"),(0,c.y3)("small"),(0,c.Xj)("medium"),function(e){return(0,c.ap)("max-width",e.maxWidth)},(0,c.u)((4-Z)/2),(0,c.u)(1.5),function(e){return e.zIndex}),U=f.Z.div(_templateObject1(),(0,c.Rv)("backgroundActive"),(0,c.Rv)("grey3"),(0,c.On)("bold"),(0,c.y3)("small"),(0,c.u)(.5),(0,c.u)(.5)),ShortcutBox=function(e){var t=e.children;return a.createElement(U,null,t)},TooltipBox=function(e){var t=e.children,n=e.maxWidth,r=e.onMouseEnter,i=e.onMouseLeave,o=e.layerProps,s=e.zIndex,c=tooltip_rest(e,["children","maxWidth","onMouseEnter","onMouseLeave","layerProps","zIndex"]);return a.createElement(q,Object.assign({"data-lens-theme":"dark",maxWidth:n,onMouseEnter:r,onMouseLeave:i,zIndex:s},o,c),t)},$=f.Z.div(_templateObject2(),function(e){return e.isInline?"inline-block":"block"},function(e){return e.verticalAlign&&"vertical-align: ".concat(e.verticalAlign)});Object.keys(X);var tooltip=function(e){var t,n,r,s,c,u,l,f,d,m,b,y,O,w,_,C,E,S,x,P,L,T,k,I,M,H,W,F,A,D,N,V,Y,Z,q,U,J,K,Q,ee,et,en,er,ei,eo,es,ea,ec,eu,el,ef,ed,ep,eh,eg,ev,em,eb,ey,eO,ew,e_,eC,eE,eS,ex,eP,ez,ej,eR,eB,eL,eT,ek,eI,eM,eH,eW,eF,eA,eD,eN,eV,eG,eY,eX=e.children,eZ=e.content,eq=e.shortcut,eU=e.placement,e$=e.keepOpen,eJ=e.triggerOffset,eK=e.maxWidth,eQ=e.isInline,e0=e.isDisabled,e1=e.container,e2=e.tabIndex,e6=e.zIndex,e3=e.verticalAlign,e4=e.delay,e8=tooltip_rest(e,["children","content","shortcut","placement","keepOpen","triggerOffset","maxWidth","isInline","isDisabled","container","tabIndex","zIndex","verticalAlign","delay"]),e9=(0,o._)(function(e){var t=void 0===e?{}:e,n=t.delayEnter,r=void 0===n?0:n,o=t.delayLeave,s=void 0===o?0:o,c=t.hideOnScroll,u=void 0===c||c,l=(0,a.useState)(!1),f=l[0],d=l[1],p=(0,a.useRef)(null),h=(0,a.useRef)(i.IDLE),g=(0,a.useRef)(!1),v=(0,a.useCallback)(function(){clearTimeout(p.current),p.current=null,h.current=i.IDLE},[]);function onMouseLeave(e,t){if(h.current===i.ENTERING&&p.current&&v(),f){if(t){d(!1),p.current=null,h.current=i.IDLE;return}h.current=i.LEAVING,p.current=window.setTimeout(function(){d(!1),p.current=null,h.current=i.IDLE},s)}}return(0,a.useEffect)(function(){function onScroll(){f&&u&&(v(),d(!1))}return window.addEventListener("scroll",onScroll,!0),function(){window.removeEventListener("scroll",onScroll,!0),p.current&&clearTimeout(p.current)}},[f,u,v]),[f,{onMouseEnter:function(){h.current===i.LEAVING&&p.current&&v(),f||(h.current=i.ENTERING,p.current=window.setTimeout(function(){d(!0),p.current=null,h.current=i.IDLE},r))},onMouseLeave:onMouseLeave,onTouchStart:function(){g.current=!1},onTouchMove:function(){g.current=!0},onTouchEnd:function(){g.current||f||d(!0),g.current=!1}},function(){return onMouseLeave(null,!0)}]}({delayEnter:function(e){switch(e){case"immediate":default:return 200;case"long":return 800}}(void 0===e4?"immediate":e4),delayLeave:200}),2),e5=e9[0],e7=e9[1],te=(0,o._)((0,a.useState)(!1),2),tt=te[0],tn=te[1],tr=(0,o._)((0,a.useState)(!1),2),ti=tr[0],to=tr[1],ts=(0,a.useRef)(),ta=!eZ||e0;(0,a.useEffect)(function(){if(ta){to(!1);return}var e=tt&&e$;(e5||e)&&to(!0),e5||e||to(!1)},[eZ,e0,tt,ta,e$,to,e5]);var handleBlur=function(){to(!1)};(0,a.useEffect)(function(){if(ti){var keyListener=function(e){"Escape"===e.key&&(e.preventDefault(),handleBlur())};return window.addEventListener("keydown",keyListener),function(){window.removeEventListener("keydown",keyListener)}}},[ti,to]);var tc=(s=void 0!==(r=(t={isOpen:ti,placement:X[void 0===eU?"topCenter":eU],ResizeObserver:G,triggerOffset:void 0===eJ?4:eJ,container:e1,auto:!0}).isOpen)&&r,u=void 0===(c=t.overflowContainer)?R.overflowContainer:c,f=void 0===(l=t.environment)?"undefined"!=typeof window?window:void 0:l,d=t.ResizeObserver,b=void 0===(m=t.placement)?R.placement:m,O=void 0===(y=t.possiblePlacements)?R.possiblePlacements:y,_=void 0===(w=t.preferX)?R.preferX:w,E=void 0===(C=t.preferY)?R.preferY:C,x=void 0===(S=t.auto)?R.auto:S,L=void 0===(P=t.snap)?R.snap:P,k=void 0===(T=t.triggerOffset)?R.triggerOffset:T,M=void 0===(I=t.containerOffset)?R.containerOffset:I,W=void 0===(H=t.arrowOffset)?R.arrowOffset:H,A=void 0===(F=t.container)?R.container:F,N=void 0===(D=t.layerDimensions)?null:D,V=t.onDisappear,Y=t.onOutsideClick,Z=t.onParentClose,q=t.trigger,J=(U=(0,a.useState)(function(){return{layerSide:"center"===b?"center":z.getSidesFromPlacementType(b)[0].prop,styles:{layer:{position:u?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}}))[0],K=U[1],Q=(0,a.useRef)(null),ee=(0,a.useRef)(J),s?ee.current=J:ee.current=null,et=(0,a.useRef)({cancelled:!1}),(0,a.useEffect)(function(){return function(){et.current.cancelled=!0}},[]),en=(0,a.useCallback)(function(e,t,n){var r=e.arrow,i=e.layer,o=e.scrollContainers,s=e.trigger,a=o[0],c=j.create(f,i,s,a,r,o,u,null==q?void 0:q.getBounds),l=z.create(c,{placement:b,possiblePlacements:O,auto:x,layerDimensions:N,arrowOffset:W,containerOffset:M,triggerOffset:k,preferX:_,preferY:E,snap:L,overflowContainer:u}).result(t,n),d=l.hasDisappeared,p={layerSide:l.layerSide,styles:l.styles};if(!ee.current||function(e,t){if(e.layerSide!==t.layerSide)return!0;for(var n=0,r=["position","top","left","right","bottom"];n0},removeAllEventSubscriptions:function(){for(var e,t=_createForOfIteratorHelperLoose(em.current);!(e=t()).done;)(0,e.value)();em.current=[]},addEventSubscription:function(e){em.current.push(e)}}},[])).hasEventSubscriptions,eO=eb.addEventSubscription,ew=eb.removeAllEventSubscriptions,e_=(0,a.useCallback)(function(){var e=eg(),t=e.layer,n=e.trigger,r=e.scrollContainers,i=r[0];if(!t)throw Error(createReferenceError("layer"));if(!n&&!ed)throw Error(createReferenceError("trigger"));var o={top:0,left:0};if(i){var s=i.scrollLeft;o={top:i.scrollTop,left:s}}else{var a=es.scrollX;o={top:es.scrollY,left:a}}var c={left:0,top:0};if(i){var u=es.getComputedStyle(i),l=u.borderLeftWidth,f=u.borderTopWidth;c={left:getPixelValue(l)||0,top:getPixelValue(f)||0}}eo({layer:t,trigger:n,scrollContainers:r,arrow:ef.current},o,c)},[eg,eo,es,ef,ed]),eC=(0,a.useCallback)(function(){var e=eg(),t=e.trigger,n=e.layer,r=e.scrollContainers;if(!n)throw Error(createReferenceError("layer"));if(!t&&!ed)throw Error(createReferenceError("trigger"));if(el){for(var i=!1,o=new el(function(){if(!i){i=!0;return}e_()}),s=0,a=[t,n,document.body];s