Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-tippy

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tippy - npm Package Compare versions

Comparing version 6.0.0-alpha.26 to 6.0.0-alpha.27

706

dist/vue-tippy.d.ts

@@ -63,5 +63,711 @@ import { Component } from 'vue';

component?: string;
componentSingleton?: string;
defaultProps?: Partial<DefaultProps>;
}
export declare const TippySingleton: import("vue").DefineComponent<ComponentObjectPropsOptions<Record<string, unknown>>, {
instances: import("vue").Ref<{
clearDelayTimeouts: () => void;
destroy: () => void;
disable: () => void;
enable: () => void;
hide: () => void;
hideWithInteractivity: (event: MouseEvent) => void;
id: number;
plugins: {
name?: string | undefined;
defaultValue?: any;
fn: (instance: Instance<any>) => Partial<import("tippy.js").LifecycleHooks<any>>;
}[];
popper: import("tippy.js").PopperElement<any>;
popperInstance: {
state: {
elements: {
reference: Element | {
getBoundingClientRect: () => ClientRect | DOMRect;
contextElement?: Element | undefined;
};
popper: HTMLElement;
arrow?: HTMLElement | undefined;
};
options: {
placement: import("@popperjs/core").Placement;
modifiers: any[];
strategy: import("@popperjs/core").PositioningStrategy;
onFirstUpdate?: ((arg0: Partial<import("@popperjs/core").State>) => void) | undefined;
};
placement: import("@popperjs/core").Placement;
strategy: import("@popperjs/core").PositioningStrategy;
orderedModifiers: {
name: any;
enabled: boolean;
phase: import("@popperjs/core").ModifierPhases;
requires?: string[] | undefined;
requiresIfExists?: string[] | undefined;
fn: (arg0: import("@popperjs/core").ModifierArguments<any>) => void | import("@popperjs/core").State;
effect?: ((arg0: import("@popperjs/core").ModifierArguments<any>) => void | (() => void)) | undefined;
options?: {
[x: string]: any;
} | undefined;
data?: {
[x: string]: any;
} | undefined;
}[];
rects: {
reference: {
width: number;
height: number;
x: number;
y: number;
};
popper: {
width: number;
height: number;
x: number;
y: number;
};
};
scrollParents: {
reference: (Element | {
innerHeight: number;
offsetHeight: number;
innerWidth: number;
offsetWidth: number;
pageXOffset: number;
pageYOffset: number;
getComputedStyle: typeof getComputedStyle;
addEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
removeEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
Element: Element;
HTMLElement: HTMLElement;
Node: Node;
toString: () => "[object Window]";
devicePixelRatio: number;
visualViewport?: {
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
dispatchEvent: (event: Event) => boolean;
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
width: number;
height: number;
offsetLeft: number;
offsetTop: number;
scale: number;
} | undefined;
ShadowRoot: ShadowRoot;
} | {
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
dispatchEvent: (event: Event) => boolean;
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
width: number;
height: number;
offsetLeft: number;
offsetTop: number;
scale: number;
})[];
popper: (Element | {
innerHeight: number;
offsetHeight: number;
innerWidth: number;
offsetWidth: number;
pageXOffset: number;
pageYOffset: number;
getComputedStyle: typeof getComputedStyle;
addEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
removeEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
Element: Element;
HTMLElement: HTMLElement;
Node: Node;
toString: () => "[object Window]";
devicePixelRatio: number;
visualViewport?: {
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
dispatchEvent: (event: Event) => boolean;
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
width: number;
height: number;
offsetLeft: number;
offsetTop: number;
scale: number;
} | undefined;
ShadowRoot: ShadowRoot;
} | {
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
dispatchEvent: (event: Event) => boolean;
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
width: number;
height: number;
offsetLeft: number;
offsetTop: number;
scale: number;
})[];
};
styles: {
[x: string]: {
[x: number]: string | undefined;
alignContent?: string | undefined;
alignItems?: string | undefined;
alignSelf?: string | undefined;
alignmentBaseline?: string | undefined;
all?: string | undefined;
animation?: string | undefined;
animationDelay?: string | undefined;
animationDirection?: string | undefined;
animationDuration?: string | undefined;
animationFillMode?: string | undefined;
animationIterationCount?: string | undefined;
animationName?: string | undefined;
animationPlayState?: string | undefined;
animationTimingFunction?: string | undefined;
backfaceVisibility?: string | undefined;
background?: string | undefined;
backgroundAttachment?: string | undefined;
backgroundClip?: string | undefined;
backgroundColor?: string | undefined;
backgroundImage?: string | undefined;
backgroundOrigin?: string | undefined;
backgroundPosition?: string | undefined;
backgroundPositionX?: string | undefined;
backgroundPositionY?: string | undefined;
backgroundRepeat?: string | undefined;
backgroundSize?: string | undefined;
baselineShift?: string | undefined;
blockSize?: string | undefined;
border?: string | undefined;
borderBlockEnd?: string | undefined;
borderBlockEndColor?: string | undefined;
borderBlockEndStyle?: string | undefined;
borderBlockEndWidth?: string | undefined;
borderBlockStart?: string | undefined;
borderBlockStartColor?: string | undefined;
borderBlockStartStyle?: string | undefined;
borderBlockStartWidth?: string | undefined;
borderBottom?: string | undefined;
borderBottomColor?: string | undefined;
borderBottomLeftRadius?: string | undefined;
borderBottomRightRadius?: string | undefined;
borderBottomStyle?: string | undefined;
borderBottomWidth?: string | undefined;
borderCollapse?: string | undefined;
borderColor?: string | undefined;
borderImage?: string | undefined;
borderImageOutset?: string | undefined;
borderImageRepeat?: string | undefined;
borderImageSlice?: string | undefined;
borderImageSource?: string | undefined;
borderImageWidth?: string | undefined;
borderInlineEnd?: string | undefined;
borderInlineEndColor?: string | undefined;
borderInlineEndStyle?: string | undefined;
borderInlineEndWidth?: string | undefined;
borderInlineStart?: string | undefined;
borderInlineStartColor?: string | undefined;
borderInlineStartStyle?: string | undefined;
borderInlineStartWidth?: string | undefined;
borderLeft?: string | undefined;
borderLeftColor?: string | undefined;
borderLeftStyle?: string | undefined;
borderLeftWidth?: string | undefined;
borderRadius?: string | undefined;
borderRight?: string | undefined;
borderRightColor?: string | undefined;
borderRightStyle?: string | undefined;
borderRightWidth?: string | undefined;
borderSpacing?: string | undefined;
borderStyle?: string | undefined;
borderTop?: string | undefined;
borderTopColor?: string | undefined;
borderTopLeftRadius?: string | undefined;
borderTopRightRadius?: string | undefined;
borderTopStyle?: string | undefined;
borderTopWidth?: string | undefined;
borderWidth?: string | undefined;
bottom?: string | undefined;
boxShadow?: string | undefined;
boxSizing?: string | undefined;
breakAfter?: string | undefined;
breakBefore?: string | undefined;
breakInside?: string | undefined;
captionSide?: string | undefined;
caretColor?: string | undefined;
clear?: string | undefined;
clip?: string | undefined;
clipPath?: string | undefined;
clipRule?: string | undefined;
color?: string | undefined;
colorInterpolation?: string | undefined;
colorInterpolationFilters?: string | undefined;
columnCount?: string | undefined;
columnFill?: string | undefined;
columnGap?: string | undefined;
columnRule?: string | undefined;
columnRuleColor?: string | undefined;
columnRuleStyle?: string | undefined;
columnRuleWidth?: string | undefined;
columnSpan?: string | undefined;
columnWidth?: string | undefined;
columns?: string | undefined;
content?: string | undefined;
counterIncrement?: string | undefined;
counterReset?: string | undefined;
cssFloat?: string | undefined;
cssText?: string | undefined;
cursor?: string | undefined;
direction?: string | undefined;
display?: string | undefined;
dominantBaseline?: string | undefined;
emptyCells?: string | undefined;
fill?: string | undefined;
fillOpacity?: string | undefined;
fillRule?: string | undefined;
filter?: string | undefined;
flex?: string | undefined;
flexBasis?: string | undefined;
flexDirection?: string | undefined;
flexFlow?: string | undefined;
flexGrow?: string | undefined;
flexShrink?: string | undefined;
flexWrap?: string | undefined;
float?: string | undefined;
floodColor?: string | undefined;
floodOpacity?: string | undefined;
font?: string | undefined;
fontFamily?: string | undefined;
fontFeatureSettings?: string | undefined;
fontKerning?: string | undefined;
fontSize?: string | undefined;
fontSizeAdjust?: string | undefined;
fontStretch?: string | undefined;
fontStyle?: string | undefined;
fontSynthesis?: string | undefined;
fontVariant?: string | undefined;
fontVariantCaps?: string | undefined;
fontVariantEastAsian?: string | undefined;
fontVariantLigatures?: string | undefined;
fontVariantNumeric?: string | undefined;
fontVariantPosition?: string | undefined;
fontWeight?: string | undefined;
gap?: string | undefined;
glyphOrientationVertical?: string | undefined;
grid?: string | undefined;
gridArea?: string | undefined;
gridAutoColumns?: string | undefined;
gridAutoFlow?: string | undefined;
gridAutoRows?: string | undefined;
gridColumn?: string | undefined;
gridColumnEnd?: string | undefined;
gridColumnGap?: string | undefined;
gridColumnStart?: string | undefined;
gridGap?: string | undefined;
gridRow?: string | undefined;
gridRowEnd?: string | undefined;
gridRowGap?: string | undefined;
gridRowStart?: string | undefined;
gridTemplate?: string | undefined;
gridTemplateAreas?: string | undefined;
gridTemplateColumns?: string | undefined;
gridTemplateRows?: string | undefined;
height?: string | undefined;
hyphens?: string | undefined;
imageOrientation?: string | undefined;
imageRendering?: string | undefined;
inlineSize?: string | undefined;
justifyContent?: string | undefined;
justifyItems?: string | undefined;
justifySelf?: string | undefined;
left?: string | undefined;
readonly length?: number | undefined;
letterSpacing?: string | undefined;
lightingColor?: string | undefined;
lineBreak?: string | undefined;
lineHeight?: string | undefined;
listStyle?: string | undefined;
listStyleImage?: string | undefined;
listStylePosition?: string | undefined;
listStyleType?: string | undefined;
margin?: string | undefined;
marginBlockEnd?: string | undefined;
marginBlockStart?: string | undefined;
marginBottom?: string | undefined;
marginInlineEnd?: string | undefined;
marginInlineStart?: string | undefined;
marginLeft?: string | undefined;
marginRight?: string | undefined;
marginTop?: string | undefined;
marker?: string | undefined;
markerEnd?: string | undefined;
markerMid?: string | undefined;
markerStart?: string | undefined;
mask?: string | undefined;
maskComposite?: string | undefined;
maskImage?: string | undefined;
maskPosition?: string | undefined;
maskRepeat?: string | undefined;
maskSize?: string | undefined;
maskType?: string | undefined;
maxBlockSize?: string | undefined;
maxHeight?: string | undefined;
maxInlineSize?: string | undefined;
maxWidth?: string | undefined;
minBlockSize?: string | undefined;
minHeight?: string | undefined;
minInlineSize?: string | undefined;
minWidth?: string | undefined;
objectFit?: string | undefined;
objectPosition?: string | undefined;
opacity?: string | undefined;
order?: string | undefined;
orphans?: string | undefined;
outline?: string | undefined;
outlineColor?: string | undefined;
outlineOffset?: string | undefined;
outlineStyle?: string | undefined;
outlineWidth?: string | undefined;
overflow?: string | undefined;
overflowAnchor?: string | undefined;
overflowWrap?: string | undefined;
overflowX?: string | undefined;
overflowY?: string | undefined;
overscrollBehavior?: string | undefined;
overscrollBehaviorBlock?: string | undefined;
overscrollBehaviorInline?: string | undefined;
overscrollBehaviorX?: string | undefined;
overscrollBehaviorY?: string | undefined;
padding?: string | undefined;
paddingBlockEnd?: string | undefined;
paddingBlockStart?: string | undefined;
paddingBottom?: string | undefined;
paddingInlineEnd?: string | undefined;
paddingInlineStart?: string | undefined;
paddingLeft?: string | undefined;
paddingRight?: string | undefined;
paddingTop?: string | undefined;
pageBreakAfter?: string | undefined;
pageBreakBefore?: string | undefined;
pageBreakInside?: string | undefined;
paintOrder?: string | undefined;
readonly parentRule?: {
cssText: string;
readonly parentRule: any | null;
readonly parentStyleSheet: {
readonly cssRules: {
[x: number]: any;
readonly length: number;
item: (index: number) => CSSRule | null;
};
readonly ownerRule: any | null;
readonly rules: {
[x: number]: any;
readonly length: number;
item: (index: number) => CSSRule | null;
};
addRule: (selector?: string | undefined, style?: string | undefined, index?: number | undefined) => number;
deleteRule: (index: number) => void;
insertRule: (rule: string, index?: number | undefined) => number;
removeRule: (index?: number | undefined) => void;
disabled: boolean;
readonly href: string | null;
readonly media: {
[x: number]: string;
readonly length: number;
mediaText: string;
toString: () => string;
appendMedium: (medium: string) => void;
deleteMedium: (medium: string) => void;
item: (index: number) => string | null;
};
readonly ownerNode: Element | ProcessingInstruction | null;
readonly parentStyleSheet: any | null;
readonly title: string | null;
readonly type: string;
} | null;
readonly type: number;
readonly CHARSET_RULE: number;
readonly FONT_FACE_RULE: number;
readonly IMPORT_RULE: number;
readonly KEYFRAMES_RULE: number;
readonly KEYFRAME_RULE: number;
readonly MEDIA_RULE: number;
readonly NAMESPACE_RULE: number;
readonly PAGE_RULE: number;
readonly STYLE_RULE: number;
readonly SUPPORTS_RULE: number;
} | null | undefined;
perspective?: string | undefined;
perspectiveOrigin?: string | undefined;
placeContent?: string | undefined;
placeItems?: string | undefined;
placeSelf?: string | undefined;
pointerEvents?: string | undefined;
position?: string | undefined;
quotes?: string | undefined;
resize?: string | undefined;
right?: string | undefined;
rotate?: string | undefined;
rowGap?: string | undefined;
rubyAlign?: string | undefined;
rubyPosition?: string | undefined;
scale?: string | undefined;
scrollBehavior?: string | undefined;
shapeRendering?: string | undefined;
stopColor?: string | undefined;
stopOpacity?: string | undefined;
stroke?: string | undefined;
strokeDasharray?: string | undefined;
strokeDashoffset?: string | undefined;
strokeLinecap?: string | undefined;
strokeLinejoin?: string | undefined;
strokeMiterlimit?: string | undefined;
strokeOpacity?: string | undefined;
strokeWidth?: string | undefined;
tabSize?: string | undefined;
tableLayout?: string | undefined;
textAlign?: string | undefined;
textAlignLast?: string | undefined;
textAnchor?: string | undefined;
textCombineUpright?: string | undefined;
textDecoration?: string | undefined;
textDecorationColor?: string | undefined;
textDecorationLine?: string | undefined;
textDecorationStyle?: string | undefined;
textEmphasis?: string | undefined;
textEmphasisColor?: string | undefined;
textEmphasisPosition?: string | undefined;
textEmphasisStyle?: string | undefined;
textIndent?: string | undefined;
textJustify?: string | undefined;
textOrientation?: string | undefined;
textOverflow?: string | undefined;
textRendering?: string | undefined;
textShadow?: string | undefined;
textTransform?: string | undefined;
textUnderlinePosition?: string | undefined;
top?: string | undefined;
touchAction?: string | undefined;
transform?: string | undefined;
transformBox?: string | undefined;
transformOrigin?: string | undefined;
transformStyle?: string | undefined;
transition?: string | undefined;
transitionDelay?: string | undefined;
transitionDuration?: string | undefined;
transitionProperty?: string | undefined;
transitionTimingFunction?: string | undefined;
translate?: string | undefined;
unicodeBidi?: string | undefined;
userSelect?: string | undefined;
verticalAlign?: string | undefined;
visibility?: string | undefined;
webkitAlignContent?: string | undefined;
webkitAlignItems?: string | undefined;
webkitAlignSelf?: string | undefined;
webkitAnimation?: string | undefined;
webkitAnimationDelay?: string | undefined;
webkitAnimationDirection?: string | undefined;
webkitAnimationDuration?: string | undefined;
webkitAnimationFillMode?: string | undefined;
webkitAnimationIterationCount?: string | undefined;
webkitAnimationName?: string | undefined;
webkitAnimationPlayState?: string | undefined;
webkitAnimationTimingFunction?: string | undefined;
webkitAppearance?: string | undefined;
webkitBackfaceVisibility?: string | undefined;
webkitBackgroundClip?: string | undefined;
webkitBackgroundOrigin?: string | undefined;
webkitBackgroundSize?: string | undefined;
webkitBorderBottomLeftRadius?: string | undefined;
webkitBorderBottomRightRadius?: string | undefined;
webkitBorderRadius?: string | undefined;
webkitBorderTopLeftRadius?: string | undefined;
webkitBorderTopRightRadius?: string | undefined;
webkitBoxAlign?: string | undefined;
webkitBoxFlex?: string | undefined;
webkitBoxOrdinalGroup?: string | undefined;
webkitBoxOrient?: string | undefined;
webkitBoxPack?: string | undefined;
webkitBoxShadow?: string | undefined;
webkitBoxSizing?: string | undefined;
webkitFilter?: string | undefined;
webkitFlex?: string | undefined;
webkitFlexBasis?: string | undefined;
webkitFlexDirection?: string | undefined;
webkitFlexFlow?: string | undefined;
webkitFlexGrow?: string | undefined;
webkitFlexShrink?: string | undefined;
webkitFlexWrap?: string | undefined;
webkitJustifyContent?: string | undefined;
webkitLineClamp?: string | undefined;
webkitMask?: string | undefined;
webkitMaskBoxImage?: string | undefined;
webkitMaskBoxImageOutset?: string | undefined;
webkitMaskBoxImageRepeat?: string | undefined;
webkitMaskBoxImageSlice?: string | undefined;
webkitMaskBoxImageSource?: string | undefined;
webkitMaskBoxImageWidth?: string | undefined;
webkitMaskClip?: string | undefined;
webkitMaskComposite?: string | undefined;
webkitMaskImage?: string | undefined;
webkitMaskOrigin?: string | undefined;
webkitMaskPosition?: string | undefined;
webkitMaskRepeat?: string | undefined;
webkitMaskSize?: string | undefined;
webkitOrder?: string | undefined;
webkitPerspective?: string | undefined;
webkitPerspectiveOrigin?: string | undefined;
webkitTapHighlightColor?: string | undefined;
webkitTextFillColor?: string | undefined;
webkitTextSizeAdjust?: string | undefined;
webkitTextStroke?: string | undefined;
webkitTextStrokeColor?: string | undefined;
webkitTextStrokeWidth?: string | undefined;
webkitTransform?: string | undefined;
webkitTransformOrigin?: string | undefined;
webkitTransformStyle?: string | undefined;
webkitTransition?: string | undefined;
webkitTransitionDelay?: string | undefined;
webkitTransitionDuration?: string | undefined;
webkitTransitionProperty?: string | undefined;
webkitTransitionTimingFunction?: string | undefined;
webkitUserSelect?: string | undefined;
whiteSpace?: string | undefined;
widows?: string | undefined;
width?: string | undefined;
willChange?: string | undefined;
wordBreak?: string | undefined;
wordSpacing?: string | undefined;
wordWrap?: string | undefined;
writingMode?: string | undefined;
zIndex?: string | undefined;
zoom?: string | undefined;
getPropertyPriority?: ((property: string) => string) | undefined;
getPropertyValue?: ((property: string) => string) | undefined;
item?: ((index: number) => string) | undefined;
removeProperty?: ((property: string) => string) | undefined;
setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
};
};
attributes: {
[x: string]: {
[x: string]: string | boolean;
};
};
modifiersData: {
[x: string]: any;
arrow?: {
x?: number | undefined;
y?: number | undefined;
centerOffset: number;
} | undefined;
hide?: {
isReferenceHidden: boolean;
hasPopperEscaped: boolean;
referenceClippingOffsets: {
top: number;
left: number;
right: number;
bottom: number;
};
popperEscapeOffsets: {
top: number;
left: number;
right: number;
bottom: number;
};
} | undefined;
offset?: {
auto: {
y: number;
x: number;
};
"auto-start": {
y: number;
x: number;
};
"auto-end": {
y: number;
x: number;
};
top: {
y: number;
x: number;
};
bottom: {
y: number;
x: number;
};
right: {
y: number;
x: number;
};
left: {
y: number;
x: number;
};
"top-start": {
y: number;
x: number;
};
"top-end": {
y: number;
x: number;
};
"bottom-start": {
y: number;
x: number;
};
"bottom-end": {
y: number;
x: number;
};
"right-start": {
y: number;
x: number;
};
"right-end": {
y: number;
x: number;
};
"left-start": {
y: number;
x: number;
};
"left-end": {
y: number;
x: number;
};
} | undefined;
preventOverflow?: {
y: number;
x: number;
} | undefined;
popperOffsets?: {
y: number;
x: number;
} | undefined;
};
reset: boolean;
};
destroy: () => void;
forceUpdate: () => void;
update: () => Promise<Partial<import("@popperjs/core").State>>;
setOptions: (options: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Promise<Partial<import("@popperjs/core").State>>;
} | null;
props: any;
reference: import("tippy.js").ReferenceElement<any>;
setContent: (content: import("tippy.js").Content) => void;
setProps: (partialProps: Partial<any>) => void;
show: () => void;
state: {
isEnabled: boolean;
isVisible: boolean;
isDestroyed: boolean;
isMounted: boolean;
isShown: boolean;
};
unmount: () => void;
}[]>;
singleton: import("vue").Ref<import("tippy.js").CreateSingletonInstance<import("tippy.js").CreateSingletonProps<import("tippy.js").Props>> | undefined>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
[x: string]: any;
}>, {}>;
export declare type TippyTarget = Element | Element[] | Ref<Element | undefined> | Ref<Element[] | undefined> | null;

@@ -68,0 +774,0 @@

4

dist/vue-tippy.global.prod.js
/*!
* vue-tippy v6.0.0-alpha.25
* vue-tippy v6.0.0-alpha.26
* (c) 2021 Georges KABBOUCHI
* @license MIT
*/
var VueTippy=function(t,e){"use strict";var n="top",r="bottom",o="right",i="left",a=[n,r,o,i],s=a.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),u=[].concat(a,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function p(t){return t?(t.nodeName||"").toLowerCase():null}function f(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function l(t){return t instanceof f(t).Element||t instanceof Element}function d(t){return t instanceof f(t).HTMLElement||t instanceof HTMLElement}function m(t){return t.split("-")[0]}function v(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function h(t,e){var n,r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&((n=r)instanceof f(n).ShadowRoot||n instanceof ShadowRoot)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function g(t){return f(t).getComputedStyle(t)}function b(t){return["table","td","th"].indexOf(p(t))>=0}function y(t){return((l(t)?t.ownerDocument:t.document)||window.document).documentElement}function w(t){return"html"===p(t)?t:t.assignedSlot||t.parentNode||t.host||y(t)}function O(t){if(!d(t)||"fixed"===g(t).position)return null;var e=t.offsetParent;if(e){var n=y(e);if("body"===p(e)&&"static"===g(e).position&&"static"!==g(n).position)return n}return e}function x(t){for(var e=f(t),n=O(t);n&&b(n)&&"static"===g(n).position;)n=O(n);return n&&"body"===p(n)&&"static"===g(n).position?e:n||function(t){for(var e=w(t);d(e)&&["html","body"].indexOf(p(e))<0;){var n=g(e);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return e;e=e.parentNode}return null}(t)||e}function E(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function T(t,e,n){return Math.max(t,Math.min(e,n))}function A(t){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),t)}function C(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var j={top:"auto",right:"auto",bottom:"auto",left:"auto"};function D(t){var e,a=t.popper,s=t.popperRect,u=t.placement,c=t.offsets,p=t.position,l=t.gpuAcceleration,d=t.adaptive,m=t.roundOffsets?function(t){var e=t.y,n=window.devicePixelRatio||1;return{x:Math.round(t.x*n)/n||0,y:Math.round(e*n)/n||0}}(c):c,v=m.x,h=void 0===v?0:v,g=m.y,b=void 0===g?0:g,w=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),E=i,T=n,A=window;if(d){var C=x(a);C===f(a)&&(C=y(a)),u===n&&(T=r,b-=C.clientHeight-s.height,b*=l?1:-1),u===i&&(E=o,h-=C.clientWidth-s.width,h*=l?1:-1)}var D,M=Object.assign({position:p},d&&j);return Object.assign(Object.assign({},M),{},l?((D={})[T]=O?"0":"",D[E]=w?"0":"",D.transform=(A.devicePixelRatio||1)<2?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",D):((e={})[T]=O?b+"px":"",e[E]=w?h+"px":"",e.transform="",e))}var M={passive:!0};var L={left:"right",right:"left",bottom:"top",top:"bottom"};function P(t){return t.replace(/left|right|bottom|top/g,(function(t){return L[t]}))}var R={start:"end",end:"start"};function k(t){return t.replace(/start|end/g,(function(t){return R[t]}))}function S(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function B(t){var e=f(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function H(t){return S(y(t)).left+B(t).scrollLeft}function V(t){var e=g(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function I(t,e){void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:d(e)&&V(e)?e:t(w(e))}(t),r="body"===p(n),o=f(n),i=r?[o].concat(o.visualViewport||[],V(n)?n:[]):n,a=e.concat(i);return r?a:a.concat(I(w(i)))}function W(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function N(t,e){return"viewport"===e?W(function(t){var e=f(t),n=y(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+H(t),y:s}}(t)):d(e)?function(t){var e=S(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):W(function(t){var e=y(t),n=B(t),r=t.ownerDocument.body,o=Math.max(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+H(t),s=-n.scrollTop;return"rtl"===g(r||e).direction&&(a+=Math.max(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:s}}(y(t)))}function U(t,e,n){var r="clippingParents"===e?function(t){var e=I(w(t)),n=["absolute","fixed"].indexOf(g(t).position)>=0&&d(t)?x(t):t;return l(n)?e.filter((function(t){return l(t)&&h(t,n)&&"body"!==p(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),i=o.reduce((function(e,n){var r=N(t,n);return e.top=Math.max(r.top,e.top),e.right=Math.min(r.right,e.right),e.bottom=Math.min(r.bottom,e.bottom),e.left=Math.max(r.left,e.left),e}),N(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function _(t){return t.split("-")[1]}function q(t){var e,a=t.reference,s=t.element,u=t.placement,c=u?m(u):null,p=u?_(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(c){case n:e={x:f,y:a.y-s.height};break;case r:e={x:f,y:a.y+a.height};break;case o:e={x:a.x+a.width,y:l};break;case i:e={x:a.x-s.width,y:l};break;default:e={x:a.x,y:a.y}}var d=c?E(c):null;if(null!=d){var v="y"===d?"height":"width";switch(p){case"start":e[d]=e[d]-(a[v]/2-s[v]/2);break;case"end":e[d]=e[d]+(a[v]/2-s[v]/2)}}return e}function $(t,e){void 0===e&&(e={});var i=e.placement,s=void 0===i?t.placement:i,u=e.boundary,c=void 0===u?"clippingParents":u,p=e.rootBoundary,f=void 0===p?"viewport":p,d=e.elementContext,m=void 0===d?"popper":d,v=e.altBoundary,h=void 0!==v&&v,g=e.padding,b=void 0===g?0:g,w=A("number"!=typeof b?b:C(b,a)),O=t.elements.reference,x=t.rects.popper,E=t.elements[h?"popper"===m?"reference":"popper":m],T=U(l(E)?E:E.contextElement||y(t.elements.popper),c,f),j=S(O),D=q({reference:j,element:x,strategy:"absolute",placement:s}),M=W(Object.assign(Object.assign({},x),D)),L="popper"===m?M:j,P={top:T.top-L.top+w.top,bottom:L.bottom-T.bottom+w.bottom,left:T.left-L.left+w.left,right:L.right-T.right+w.right},R=t.modifiersData.offset;if("popper"===m&&R){var k=R[s];Object.keys(P).forEach((function(t){var e=[o,r].indexOf(t)>=0?1:-1,i=[n,r].indexOf(t)>=0?"y":"x";P[t]+=k[i]*e}))}return P}function F(t,e){void 0===e&&(e={});var n=e.boundary,r=e.rootBoundary,o=e.padding,i=e.flipVariations,c=e.allowedAutoPlacements,p=void 0===c?u:c,f=_(e.placement),l=f?i?s:s.filter((function(t){return _(t)===f})):a,d=l.filter((function(t){return p.indexOf(t)>=0}));0===d.length&&(d=l);var v=d.reduce((function(e,i){return e[i]=$(t,{placement:i,boundary:n,rootBoundary:r,padding:o})[m(i)],e}),{});return Object.keys(v).sort((function(t,e){return v[t]-v[e]}))}function X(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Y(t){return[n,o,r,i].some((function(e){return t[e]>=0}))}function z(t,e,n){void 0===n&&(n=!1);var r,o,i=y(e),a=S(t),s=d(e),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==p(e)||V(i))&&(u=(r=e)!==f(r)&&d(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:B(r)),d(e)?((c=S(e)).x+=e.clientLeft,c.y+=e.clientTop):i&&(c.x=H(i))),{x:a.left+u.scrollLeft-c.x,y:a.top+u.scrollTop-c.y,width:a.width,height:a.height}}function J(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=e.get(r);o&&t(o)}})),r.push(o)}(t)})),r}var G={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Q(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,r=t.defaultOptions,o=void 0===r?G:r;return function(t,e,r){void 0===r&&(r=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},G),o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],p=!1,f={state:s,setOptions:function(r){d(),s.options=Object.assign(Object.assign(Object.assign({},o),s.options),r),s.scrollParents={reference:l(t)?I(t):t.contextElement?I(t.contextElement):[],popper:I(e)};var i,a,p=function(t){var e=J(t);return c.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((i=[].concat(n,s.options.modifiers),a=i.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign(Object.assign(Object.assign({},n),e),{},{options:Object.assign(Object.assign({},n.options),e.options),data:Object.assign(Object.assign({},n.data),e.data)}):e,t}),{}),Object.keys(a).map((function(t){return a[t]}))));return s.orderedModifiers=p.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var r=n({state:s,name:t.name,instance:f,options:void 0===e?{}:e});u.push(r||function(){})}})),f.update()},forceUpdate:function(){if(!p){var t=s.elements,e=t.reference,n=t.popper;if(K(e,n)){s.rects={reference:z(e,x(n),"fixed"===s.options.strategy),popper:v(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:o.name,instance:f})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){f.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!K(t,e))return f;function d(){u.forEach((function(t){return t()})),u=[]}return f.setOptions(r).then((function(t){!p&&r.onFirstUpdate&&r.onFirstUpdate(t)})),f}}var Z=Q({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=f(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",n.update,M)})),s&&u.addEventListener("resize",n.update,M),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",n.update,M)})),s&&u.removeEventListener("resize",n.update,M)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=q({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:m(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),D(Object.assign(Object.assign({},c),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),D(Object.assign(Object.assign({},c),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];d(o)&&p(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});d(r)&&p(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.name,a=t.options.offset,s=void 0===a?[0,0]:a,c=u.reduce((function(t,r){return t[r]=function(t,e,r){var a=m(t),s=[i,n].indexOf(a)>=0?-1:1,u="function"==typeof r?r(Object.assign(Object.assign({},e),{},{placement:t})):r,c=u[0],p=u[1];return c=c||0,p=(p||0)*s,[i,o].indexOf(a)>=0?{x:p,y:c}:{x:c,y:p}}(r,e.rects,s),t}),{}),p=c[e.placement],f=p.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=p.x,e.modifiersData.popperOffsets.y+=f),e.modifiersData[r]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,a=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0===p||p,l=a.fallbackPlacements,d=a.padding,v=a.boundary,h=a.rootBoundary,g=a.altBoundary,b=a.flipVariations,y=void 0===b||b,w=a.allowedAutoPlacements,O=e.options.placement,x=m(O),E=l||(x===O||!y?[P(O)]:function(t){if("auto"===m(t))return[];var e=P(t);return[k(t),e,k(e)]}(O)),T=[O].concat(E).reduce((function(t,n){return t.concat("auto"===m(n)?F(e,{placement:n,boundary:v,rootBoundary:h,padding:d,flipVariations:y,allowedAutoPlacements:w}):n)}),[]),A=e.rects.reference,C=e.rects.popper,j=new Map,D=!0,M=T[0],L=0;L<T.length;L++){var R=T[L],S=m(R),B="start"===_(R),H=[n,r].indexOf(S)>=0,V=H?"width":"height",I=$(e,{placement:R,boundary:v,rootBoundary:h,altBoundary:g,padding:d}),W=H?B?o:i:B?r:n;A[V]>C[V]&&(W=P(W));var N=P(W),U=[];if(c&&U.push(I[S]<=0),f&&U.push(I[W]<=0,I[N]<=0),U.every((function(t){return t}))){M=R,D=!1;break}j.set(R,U)}if(D)for(var q=function(t){var e=T.find((function(e){var n=j.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},X=y?3:1;X>0;X--){if("break"===q(X))break}e.placement!==M&&(e.modifiersData[s]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,a=t.options,s=t.name,u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0!==p&&p,l=a.tether,d=void 0===l||l,h=a.tetherOffset,g=void 0===h?0:h,b=$(e,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),y=m(e.placement),w=_(e.placement),O=!w,A=E(y),C="x"===A?"y":"x",j=e.modifiersData.popperOffsets,D=e.rects.reference,M=e.rects.popper,L="function"==typeof g?g(Object.assign(Object.assign({},e.rects),{},{placement:e.placement})):g,P={x:0,y:0};if(j){if(c){var R="y"===A?n:i,k="y"===A?r:o,S="y"===A?"height":"width",B=j[A],H=j[A]+b[R],V=j[A]-b[k],I=d?-M[S]/2:0,W="start"===w?D[S]:M[S],N="start"===w?-M[S]:-D[S],U=e.elements.arrow,q=d&&U?v(U):{width:0,height:0},F=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=F[R],Y=F[k],z=T(0,D[S],q[S]),J=O?D[S]/2-I-z-X-L:W-z-X-L,G=O?-D[S]/2+I+z+Y+L:N+z+Y+L,K=e.elements.arrow&&x(e.elements.arrow),Q=e.modifiersData.offset?e.modifiersData.offset[e.placement][A]:0,Z=j[A]+G-Q,tt=T(d?Math.min(H,j[A]+J-Q-(K?"y"===A?K.clientTop||0:K.clientLeft||0:0)):H,B,d?Math.max(V,Z):V);j[A]=tt,P[A]=tt-B}if(f){var et=j[C],nt=T(et+b["x"===A?n:i],et,et-b["x"===A?r:o]);j[C]=nt,P[C]=nt-et}e.modifiersData[s]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,a=t.state,s=t.name,u=a.elements.arrow,c=a.modifiersData.popperOffsets,p=m(a.placement),f=E(p),l=[i,o].indexOf(p)>=0?"height":"width";if(u&&c){var d=a.modifiersData[s+"#persistent"].padding,h=v(u),g="y"===f?n:i,b="y"===f?r:o,y=a.rects.reference[l]+a.rects.reference[f]-c[f]-a.rects.popper[l],w=c[f]-a.rects.reference[f],O=x(u),A=O?"y"===f?O.clientHeight||0:O.clientWidth||0:0,C=A/2-h[l]/2+(y/2-w/2),j=T(d[g],C,A-h[l]-d[b]);a.modifiersData[s]=((e={})[f]=j,e.centerOffset=j-C,e)}},effect:function(t){var e=t.state,n=t.options,r=t.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,s=n.padding,u=void 0===s?0:s;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&h(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[r+"#persistent"]={padding:A("number"!=typeof u?u:C(u,a))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=$(e,{elementContext:"reference"}),s=$(e,{altBoundary:!0}),u=X(a,r),c=X(s,o,i),p=Y(u),f=Y(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:f},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),tt={passive:!0,capture:!0};function et(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function nt(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function rt(t,e){return"function"==typeof t?t.apply(void 0,e):t}function ot(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function it(t){return[].concat(t)}function at(t,e){-1===t.indexOf(e)&&t.push(e)}function st(t){return t.split("-")[0]}function ut(t){return[].slice.call(t)}function ct(){return document.createElement("div")}function pt(t){return["Element","Fragment"].some((function(e){return nt(t,e)}))}function ft(t){return nt(t,"MouseEvent")}function lt(t){return pt(t)?[t]:function(t){return nt(t,"NodeList")}(t)?ut(t):Array.isArray(t)?t:ut(document.querySelectorAll(t))}function dt(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function mt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function vt(t){var e=it(t)[0];return e&&e.ownerDocument||document}function ht(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}var gt={isTouch:!1},bt=0;function yt(){gt.isTouch||(gt.isTouch=!0,window.performance&&document.addEventListener("mousemove",wt))}function wt(){var t=performance.now();t-bt<20&&(gt.isTouch=!1,document.removeEventListener("mousemove",wt)),bt=t}function Ot(){var t,e=document.activeElement;(t=e)&&t._tippy&&t._tippy.reference===t&&(e.blur&&!e._tippy.state.isVisible&&e.blur())}var xt="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",Et=/MSIE |Trident\//.test(xt),Tt=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),At=Object.keys(Tt);function Ct(t){var e=(t.plugins||[]).reduce((function(e,n){var r=n.name;return r&&(e[r]=void 0!==t[r]?t[r]:n.defaultValue),e}),{});return Object.assign({},t,{},e)}function jt(t,e){var n=Object.assign({},e,{content:rt(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Ct(Object.assign({},Tt,{plugins:e}))):At).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},Tt.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function Dt(t,e){t.innerHTML=e}function Mt(t){var e=ct();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",pt(t)?e.appendChild(t):Dt(e,t)),e}function Lt(t,e){pt(e.content)?(Dt(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?Dt(t,e.content):t.textContent=e.content)}function Pt(t){var e=t.firstElementChild,n=ut(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function Rt(t){var e=ct(),n=ct();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ct();function o(n,r){var o=Pt(e),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Lt(a,t.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(Mt(r.arrow))):i.appendChild(Mt(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Lt(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}Rt.$$tippy=!0;var kt=1,St=[],Bt=[];function Ht(t,e){var n,r,o,i,a,s,u,c,p,f=jt(t,Object.assign({},Tt,{},Ct((n=e,Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{}))))),l=!1,d=!1,m=!1,v=!1,h=[],g=ot(z,f.interactiveDebounce),b=kt++,y=(p=f.plugins).filter((function(t,e){return p.indexOf(t)===e})),w={id:b,reference:t,popper:ct(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(e){if(w.state.isDestroyed)return;S("onBeforeUpdate",[w,e]),X();var n=w.props,r=jt(t,Object.assign({},w.props,{},e,{ignoreAttributes:!0}));w.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(V(),g=ot(z,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?it(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded");H(),k(),E&&E(n,r);w.popperInstance&&(Q(),pt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));S("onAfterUpdate",[w,e])},setContent:function(t){w.setProps({content:t})},show:function(){var t=w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=gt.isTouch&&!w.props.touch,o=et(w.props.duration,0,Tt.duration);if(t||e||n||r)return;if(M().hasAttribute("disabled"))return;if(S("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,D()&&(x.style.visibility="visible");k(),U(),w.state.isMounted||(x.style.transition="none");if(D()){var i=P();dt([i.box,i.content],0)}u=function(){if(w.state.isVisible&&!v){if(v=!0,x.style.transition=w.props.moveTransition,D()&&w.props.animation){var t=P(),e=t.box,n=t.content;dt([e,n],o),mt([e,n],"visible")}B(),H(),at(Bt,w),w.state.isMounted=!0,S("onMount",[w]),w.props.animation&&D()&&function(t,e){q(t,e)}(o,(function(){w.state.isShown=!0,S("onShown",[w])}))}},function(){var t,e=w.props.appendTo,n=M();t=w.props.interactive&&e===Tt.appendTo||"parent"===e?n.parentNode:rt(e,[n]);t.contains(x)||t.appendChild(x);Q()}()},hide:function(){var t=!w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=et(w.props.duration,1,Tt.duration);if(t||e||n)return;if(S("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(V(),_(),k(),D()){var o=P(),i=o.box,a=o.content;w.props.animation&&(dt([i,a],r),mt([i,a],"hidden"))}B(),H(),w.props.animation?D()&&function(t,e){q(t,(function(){!w.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}(r,w.unmount):w.unmount()},hideWithInteractivity:function(t){L().addEventListener("mousemove",g),at(St,g),g(t)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){w.state.isVisible&&w.hide();if(!w.state.isMounted)return;nt(),pt().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Bt=Bt.filter((function(t){return t!==w})),w.state.isMounted=!1,S("onHidden",[w])},destroy:function(){if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),X(),delete t._tippy,w.state.isDestroyed=!0,S("onDestroy",[w])}};if(!f.render)return w;var O=f.render(w),x=O.popper,E=O.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+w.id,w.popper=x,t._tippy=w,x._tippy=w;var T=y.map((function(t){return t.fn(w)})),A=t.hasAttribute("aria-expanded");return F(),H(),k(),S("onCreate",[w]),f.showOnCreate&&lt(),x.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(t){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(L().addEventListener("mousemove",g),g(t))})),w;function C(){var t=w.props.touch;return Array.isArray(t)?t:[t,0]}function j(){return"hold"===C()[0]}function D(){var t;return!!(null==(t=w.props.render)?void 0:t.$$tippy)}function M(){return c||t}function L(){var t=M().parentNode;return t?vt(t):document}function P(){return Pt(x)}function R(t){return w.state.isMounted&&!w.state.isVisible||gt.isTouch||a&&"focus"===a.type?0:et(w.props.delay,t?0:1,Tt.delay)}function k(){x.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",x.style.zIndex=""+w.props.zIndex}function S(t,e,n){var r;(void 0===n&&(n=!0),T.forEach((function(n){n[t]&&n[t].apply(void 0,e)})),n)&&(r=w.props)[t].apply(r,e)}function B(){var e=w.props.aria;if(e.content){var n="aria-"+e.content,r=x.id;it(w.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n);if(w.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&&e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function H(){!A&&w.props.aria.expanded&&it(w.props.triggerTarget||t).forEach((function(t){w.props.interactive?t.setAttribute("aria-expanded",w.state.isVisible&&t===M()?"true":"false"):t.removeAttribute("aria-expanded")}))}function V(){L().removeEventListener("mousemove",g),St=St.filter((function(t){return t!==g}))}function I(t){if(!(gt.isTouch&&(m||"mousedown"===t.type)||w.props.interactive&&x.contains(t.target))){if(M().contains(t.target)){if(gt.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||_())}}function W(){m=!0}function N(){m=!1}function U(){var t=L();t.addEventListener("mousedown",I,!0),t.addEventListener("touchend",I,tt),t.addEventListener("touchstart",N,tt),t.addEventListener("touchmove",W,tt)}function _(){var t=L();t.removeEventListener("mousedown",I,!0),t.removeEventListener("touchend",I,tt),t.removeEventListener("touchstart",N,tt),t.removeEventListener("touchmove",W,tt)}function q(t,e){var n=P().box;function r(t){t.target===n&&(ht(n,"remove",r),e())}if(0===t)return e();ht(n,"remove",s),ht(n,"add",r),s=r}function $(e,n,r){void 0===r&&(r=!1),it(w.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,r),h.push({node:t,eventType:e,handler:n,options:r})}))}function F(){var t;j()&&($("touchstart",Y,{passive:!0}),$("touchend",J,{passive:!0})),(t=w.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch($(t,Y),t){case"mouseenter":$("mouseleave",J);break;case"focus":$(Et?"focusout":"blur",G);break;case"focusin":$("focusout",G)}}))}function X(){h.forEach((function(t){t.node.removeEventListener(t.eventType,t.handler,t.options)})),h=[]}function Y(t){var e,n=!1;if(w.state.isEnabled&&!K(t)&&!d){var r="focus"===(null==(e=a)?void 0:e.type);a=t,c=t.currentTarget,H(),!w.state.isVisible&&ft(t)&&St.forEach((function(e){return e(t)})),"click"===t.type&&(w.props.trigger.indexOf("mouseenter")<0||l)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:lt(t),"click"===t.type&&(l=!n),n&&!r&&bt(t)}}function z(t){var e=t.target,n=M().contains(e)||x.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,a=st(o.placement),s=o.modifiersData.offset;return!s||(e.top-r+("bottom"===a?s.top.y:0)>i||r-e.bottom-("top"===a?s.bottom.y:0)>i||e.left-n+("right"===a?s.left.x:0)>i||n-e.right-("left"===a?s.right.x:0)>i)}))}(pt().concat(x).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),t)&&(V(),bt(t))}function J(t){K(t)||w.props.trigger.indexOf("click")>=0&&l||(w.props.interactive?w.hideWithInteractivity(t):bt(t))}function G(t){w.props.trigger.indexOf("focusin")<0&&t.target!==M()||w.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||bt(t)}function K(t){return!!gt.isTouch&&j()!==t.type.indexOf("touch")>=0}function Q(){nt();var e=w.props,n=e.popperOptions,r=e.placement,o=e.offset,i=e.getReferenceClientRect,a=e.moveTransition,s=D()?Pt(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||M()}:t,p=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(D()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];D()&&s&&p.push({name:"arrow",options:{element:s,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),w.popperInstance=Z(c,x,Object.assign({},n,{placement:r,onFirstUpdate:u,modifiers:p}))}function nt(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function pt(){return ut(x.querySelectorAll("[data-tippy-root]"))}function lt(t){w.clearDelayTimeouts(),t&&S("onTrigger",[w,t]),U();var e=R(!0),n=C(),o=n[1];gt.isTouch&&"hold"===n[0]&&o&&(e=o),e?r=setTimeout((function(){w.show()}),e):w.show()}function bt(t){if(w.clearDelayTimeouts(),S("onUntrigger",[w,t]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&l)){var e=R(!1);e?o=setTimeout((function(){w.state.isVisible&&w.hide()}),e):i=requestAnimationFrame((function(){w.hide()}))}}else _()}}function Vt(t,e){void 0===e&&(e={});var n=Tt.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",yt,tt),window.addEventListener("blur",Ot);var r=Object.assign({},e,{plugins:n}),o=lt(t).reduce((function(t,e){var n=e&&Ht(e,r);return n&&t.push(n),t}),[]);return pt(t)?o[0]:o}Vt.defaultProps=Tt,Vt.setDefaultProps=function(t){Object.keys(t).forEach((function(e){Tt[e]=t[e]}))},Vt.currentInput=gt;var It=function(t,e){void 0===e&&(e={});var n,r=t,o=[],i=e.overrides,a=[];function s(){o=r.map((function(t){return t.reference}))}function u(t){r.forEach((function(e){t?e.enable():e.disable()}))}function c(t){return r.map((function(e){var r=e.setProps;return e.setProps=function(o){r(o),e.reference===n&&t.setProps(o)},function(){e.setProps=r}}))}u(!1),s();var p,f,l={fn:function(){return{onDestroy:function(){u(!0)},onTrigger:function(t,e){var a=e.currentTarget,s=o.indexOf(a);if(a!==n){n=a;var u=(i||[]).concat("content").reduce((function(t,e){return t[e]=r[s].props[e],t}),{});t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){return a.getBoundingClientRect()}}))}}}}},d=Vt(ct(),Object.assign({},(p=["overrides"],f=Object.assign({},e),p.forEach((function(t){delete f[t]})),f),{plugins:[l].concat(e.plugins||[]),triggerTarget:o})),m=d.setProps;return d.setProps=function(t){i=t.overrides||i,m(t)},d.setInstances=function(t){u(!0),a.forEach((function(t){return t()})),r=t,u(!1),s(),c(d),d.setProps({triggerTarget:o})},a=c(d),d},Wt={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(!(null==(e=t.props.render)?void 0:e.$$tippy))return{};var n=Pt(t.popper),r=n.box,o=n.content,i=t.props.animateFill?function(){var t=ct();return t.className="tippy-backdrop",mt([t],"hidden"),t}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,mt([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&mt([i],"hidden")}}}};var Nt={clientX:0,clientY:0},Ut=[];function _t(t){Nt={clientX:t.clientX,clientY:t.clientY}}var qt={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=vt(t.props.triggerTarget||e),r=!1,o=!1,i=!0,a=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||e.contains(n.target),o=t.props.followCursor,i=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=t.left+u,r=t.top+c);var s="horizontal"===o?t.top:r,p="vertical"===o?t.right:n,f="horizontal"===o?t.bottom:r,l="vertical"===o?t.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){t.props.followCursor&&(Ut.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",_t)}(n))}function d(){0===(Ut=Ut.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&&function(t){t.removeEventListener("mousemove",_t)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!t.state.isMounted||o||s()||u()):(c(),p()))},onMount:function(){t.props.followCursor&&!o&&(i&&(f(Nt),i=!1),s()||u())},onTrigger:function(t,e){ft(e)&&(Nt={clientX:e.clientX,clientY:e.clientY}),o="focus"===e.type},onHidden:function(){t.props.followCursor&&(p(),c(),i=!0)}}}};var $t={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var r=-1,o=!1,i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var i=o.state;t.props.inlinePositioning&&(e!==i.placement&&t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length<2||null===t)return e;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||e;switch(t){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===t,s=o.top,u=i.bottom,c=a?o.left:i.left,p=a?o.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(t){return t.left}))),l=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===f:e.right===l})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:f,right:l,width:l-f,height:v-m};default:return e}}(st(t),n.getBoundingClientRect(),ut(n.getClientRects()),r)}(i.placement)}}),e=i.placement)}};function a(){var e;o||(e=function(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,i),o=!0,t.setProps(e),o=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(e,n){if(ft(n)){var o=ut(t.reference.getClientRects()),i=o.find((function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY}));r=o.indexOf(i)}},onUntrigger:function(){r=-1}}}};var Ft={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var o=null,i=null;function a(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&&Xt(o,s)||u&&Xt(i,u))&&t.popperInstance&&t.popperInstance.update(),o=s,i=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Xt(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}function Yt(t,n={},r={mount:!0}){const o=e.ref();let i=null;const a=()=>i||(i=document.createElement("fragment"),i),s=t=>{let n,r=e.isRef(t)?t.value:t;return e.isVNode(r)?(e.render(r,a()),n=()=>a()):"object"==typeof r?(e.render(e.h(r),a()),n=()=>a()):n=r,n},u=t=>{let n={};return n=e.isRef(t)?t.value:(e.isReactive(t),{...t}),n.content&&(n.content=s(n.content)),n.triggerTarget&&(n.triggerTarget=e.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n},c=()=>{o.value&&o.value.setProps(u(n))},p=()=>{o.value&&n.content&&o.value.setContent(s(n.content))},f=()=>{o.value&&(o.value.destroy(),o.value=void 0),i=null},l=()=>{if(!t)return;let r=e.isRef(t)?t.value:t;"function"==typeof r&&(r=r()),r&&(o.value=Vt(r,u(n)),r.$tippy=d)},d={tippy:o,refresh:c,refreshContent:p,setContent:t=>{var e;null===(e=o.value)||void 0===e||e.setContent(s(t))},setProps:t=>{var e;null===(e=o.value)||void 0===e||e.setProps(u(t))},destroy:f,hide:()=>{var t;null===(t=o.value)||void 0===t||t.hide()},show:()=>{var t;null===(t=o.value)||void 0===t||t.show()},disable:()=>{var t;null===(t=o.value)||void 0===t||t.disable()},enable:()=>{var t;null===(t=o.value)||void 0===t||t.enable()},unmount:()=>{var t;null===(t=o.value)||void 0===t||t.unmount()},mount:l};if(r.mount){const t=e.getCurrentInstance();t?(t.isMounted?l():e.onMounted(l),e.onUnmounted(()=>{f()})):l()}return e.isRef(n)||e.isReactive(n)?e.watch(n,c,{immediate:!1}):e.isRef(n.content)&&e.watch(n.content,p,{immediate:!1}),d}Vt.setDefaultProps({render:Rt}),Vt.setDefaultProps({onShow:t=>{if(!t.props.content)return!1}});const zt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let Jt={};Object.keys(Vt.defaultProps).forEach(t=>{Jt[t]=zt.includes(t)?{type:Boolean,default:function(){return Vt.defaultProps[t]}}:{default:function(){return Vt.defaultProps[t]}}}),Jt.to={},Jt.tag={default:"span"},Jt.contentTag={default:"span"},Jt.contentClass={default:null};const Gt=e.defineComponent({props:Jt,setup(t,{slots:n}){const r=e.ref(),o=e.ref();let i={...t};i.to&&delete i.to;let a=r;t.to&&(t.to instanceof Element?a=()=>t.to:("string"==typeof t.to||t.to instanceof String)&&(a=()=>document.querySelector(t.to)));const s=Yt(a,i);return e.onMounted(()=>{n.content&&s.setContent(()=>o.value)}),{elem:r,contentElem:o,...s}},render(){let t=this.$slots.default?this.$slots.default(this):[];return e.h(this.tag,{ref:"elem"},this.$slots.content?[t,e.h(this.contentTag,{ref:"contentElem",class:this.contentClass},this.$slots.content(this))]:t)}}),Kt={mounted(t,e,n){const r=e.value||{};n.props&&n.props.onTippyShow&&(r.onShow=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyShow(...t)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyShown(...t)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyHidden(...t)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyHide(...t)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyMount(...t)}),t.getAttribute("title")&&!r.content&&(r.content=t.getAttribute("title"),t.removeAttribute("title")),t.getAttribute("content")&&!r.content&&(r.content=t.getAttribute("content")),Yt(t,r)},unmounted(t){t.$tippy?t.$tippy.destroy():t._tippy&&t._tippy.destroy()},updated(t,e){const n=e.value||{};t.getAttribute("title")&&!n.content&&(n.content=t.getAttribute("title"),t.removeAttribute("title")),t.getAttribute("content")&&!n.content&&(n.content=t.getAttribute("content")),t.$tippy?t.$tippy.setProps(n||{}):t._tippy&&t._tippy.setProps(n||{})}},Qt={install(t,e={}){Vt.setDefaultProps(e.defaultProps||{}),t.directive(e.directive||"tippy",Kt),t.component(e.component||"tippy",Gt)}};const Zt=Vt.setDefaultProps;return Zt({ignoreAttributes:!0,plugins:[Ft,$t,qt,Wt]}),t.Tippy=Gt,t.default=Qt,t.directive=Kt,t.plugin=Qt,t.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',t.setDefaultProps=Zt,t.tippy=Vt,t.useSingleton=function(t,n){const r=e.ref();return e.onMounted(()=>{const e=(Array.isArray(t)?t.map(t=>t.value):"function"==typeof t?t():t.value).map(t=>t instanceof Element?t._tippy:t).filter(Boolean);r.value=It(e,n)}),{singleton:r}},t.useTippy=Yt,Object.defineProperty(t,"__esModule",{value:!0}),t}({},Vue);
var VueTippy=function(t,e){"use strict";var n="top",r="bottom",o="right",i="left",a=[n,r,o,i],s=a.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),u=[].concat(a,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function p(t){return t?(t.nodeName||"").toLowerCase():null}function f(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function l(t){return t instanceof f(t).Element||t instanceof Element}function d(t){return t instanceof f(t).HTMLElement||t instanceof HTMLElement}function m(t){return t.split("-")[0]}function v(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function h(t,e){var n,r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&((n=r)instanceof f(n).ShadowRoot||n instanceof ShadowRoot)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function g(t){return f(t).getComputedStyle(t)}function y(t){return["table","td","th"].indexOf(p(t))>=0}function b(t){return((l(t)?t.ownerDocument:t.document)||window.document).documentElement}function w(t){return"html"===p(t)?t:t.assignedSlot||t.parentNode||t.host||b(t)}function O(t){if(!d(t)||"fixed"===g(t).position)return null;var e=t.offsetParent;if(e){var n=b(e);if("body"===p(e)&&"static"===g(e).position&&"static"!==g(n).position)return n}return e}function x(t){for(var e=f(t),n=O(t);n&&y(n)&&"static"===g(n).position;)n=O(n);return n&&"body"===p(n)&&"static"===g(n).position?e:n||function(t){for(var e=w(t);d(e)&&["html","body"].indexOf(p(e))<0;){var n=g(e);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return e;e=e.parentNode}return null}(t)||e}function E(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function T(t,e,n){return Math.max(t,Math.min(e,n))}function A(t){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),t)}function C(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var j={top:"auto",right:"auto",bottom:"auto",left:"auto"};function D(t){var e,a=t.popper,s=t.popperRect,u=t.placement,c=t.offsets,p=t.position,l=t.gpuAcceleration,d=t.adaptive,m=t.roundOffsets?function(t){var e=t.y,n=window.devicePixelRatio||1;return{x:Math.round(t.x*n)/n||0,y:Math.round(e*n)/n||0}}(c):c,v=m.x,h=void 0===v?0:v,g=m.y,y=void 0===g?0:g,w=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),E=i,T=n,A=window;if(d){var C=x(a);C===f(a)&&(C=b(a)),u===n&&(T=r,y-=C.clientHeight-s.height,y*=l?1:-1),u===i&&(E=o,h-=C.clientWidth-s.width,h*=l?1:-1)}var D,M=Object.assign({position:p},d&&j);return Object.assign(Object.assign({},M),{},l?((D={})[T]=O?"0":"",D[E]=w?"0":"",D.transform=(A.devicePixelRatio||1)<2?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",D):((e={})[T]=O?y+"px":"",e[E]=w?h+"px":"",e.transform="",e))}var M={passive:!0};var P={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return P[t]}))}var k={start:"end",end:"start"};function R(t){return t.replace(/start|end/g,(function(t){return k[t]}))}function S(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function B(t){var e=f(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function H(t){return S(b(t)).left+B(t).scrollLeft}function V(t){var e=g(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function I(t,e){void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:d(e)&&V(e)?e:t(w(e))}(t),r="body"===p(n),o=f(n),i=r?[o].concat(o.visualViewport||[],V(n)?n:[]):n,a=e.concat(i);return r?a:a.concat(I(w(i)))}function W(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function N(t,e){return"viewport"===e?W(function(t){var e=f(t),n=b(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+H(t),y:s}}(t)):d(e)?function(t){var e=S(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):W(function(t){var e=b(t),n=B(t),r=t.ownerDocument.body,o=Math.max(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+H(t),s=-n.scrollTop;return"rtl"===g(r||e).direction&&(a+=Math.max(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:s}}(b(t)))}function U(t,e,n){var r="clippingParents"===e?function(t){var e=I(w(t)),n=["absolute","fixed"].indexOf(g(t).position)>=0&&d(t)?x(t):t;return l(n)?e.filter((function(t){return l(t)&&h(t,n)&&"body"!==p(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),i=o.reduce((function(e,n){var r=N(t,n);return e.top=Math.max(r.top,e.top),e.right=Math.min(r.right,e.right),e.bottom=Math.min(r.bottom,e.bottom),e.left=Math.max(r.left,e.left),e}),N(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function $(t){return t.split("-")[1]}function _(t){var e,a=t.reference,s=t.element,u=t.placement,c=u?m(u):null,p=u?$(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(c){case n:e={x:f,y:a.y-s.height};break;case r:e={x:f,y:a.y+a.height};break;case o:e={x:a.x+a.width,y:l};break;case i:e={x:a.x-s.width,y:l};break;default:e={x:a.x,y:a.y}}var d=c?E(c):null;if(null!=d){var v="y"===d?"height":"width";switch(p){case"start":e[d]=e[d]-(a[v]/2-s[v]/2);break;case"end":e[d]=e[d]+(a[v]/2-s[v]/2)}}return e}function q(t,e){void 0===e&&(e={});var i=e.placement,s=void 0===i?t.placement:i,u=e.boundary,c=void 0===u?"clippingParents":u,p=e.rootBoundary,f=void 0===p?"viewport":p,d=e.elementContext,m=void 0===d?"popper":d,v=e.altBoundary,h=void 0!==v&&v,g=e.padding,y=void 0===g?0:g,w=A("number"!=typeof y?y:C(y,a)),O=t.elements.reference,x=t.rects.popper,E=t.elements[h?"popper"===m?"reference":"popper":m],T=U(l(E)?E:E.contextElement||b(t.elements.popper),c,f),j=S(O),D=_({reference:j,element:x,strategy:"absolute",placement:s}),M=W(Object.assign(Object.assign({},x),D)),P="popper"===m?M:j,L={top:T.top-P.top+w.top,bottom:P.bottom-T.bottom+w.bottom,left:T.left-P.left+w.left,right:P.right-T.right+w.right},k=t.modifiersData.offset;if("popper"===m&&k){var R=k[s];Object.keys(L).forEach((function(t){var e=[o,r].indexOf(t)>=0?1:-1,i=[n,r].indexOf(t)>=0?"y":"x";L[t]+=R[i]*e}))}return L}function z(t,e){void 0===e&&(e={});var n=e.boundary,r=e.rootBoundary,o=e.padding,i=e.flipVariations,c=e.allowedAutoPlacements,p=void 0===c?u:c,f=$(e.placement),l=f?i?s:s.filter((function(t){return $(t)===f})):a,d=l.filter((function(t){return p.indexOf(t)>=0}));0===d.length&&(d=l);var v=d.reduce((function(e,i){return e[i]=q(t,{placement:i,boundary:n,rootBoundary:r,padding:o})[m(i)],e}),{});return Object.keys(v).sort((function(t,e){return v[t]-v[e]}))}function F(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function X(t){return[n,o,r,i].some((function(e){return t[e]>=0}))}function Y(t,e,n){void 0===n&&(n=!1);var r,o,i=b(e),a=S(t),s=d(e),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==p(e)||V(i))&&(u=(r=e)!==f(r)&&d(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:B(r)),d(e)?((c=S(e)).x+=e.clientLeft,c.y+=e.clientTop):i&&(c.x=H(i))),{x:a.left+u.scrollLeft-c.x,y:a.top+u.scrollTop-c.y,width:a.width,height:a.height}}function J(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=e.get(r);o&&t(o)}})),r.push(o)}(t)})),r}var G={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Q(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,r=t.defaultOptions,o=void 0===r?G:r;return function(t,e,r){void 0===r&&(r=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},G),o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],p=!1,f={state:s,setOptions:function(r){d(),s.options=Object.assign(Object.assign(Object.assign({},o),s.options),r),s.scrollParents={reference:l(t)?I(t):t.contextElement?I(t.contextElement):[],popper:I(e)};var i,a,p=function(t){var e=J(t);return c.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((i=[].concat(n,s.options.modifiers),a=i.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign(Object.assign(Object.assign({},n),e),{},{options:Object.assign(Object.assign({},n.options),e.options),data:Object.assign(Object.assign({},n.data),e.data)}):e,t}),{}),Object.keys(a).map((function(t){return a[t]}))));return s.orderedModifiers=p.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var r=n({state:s,name:t.name,instance:f,options:void 0===e?{}:e});u.push(r||function(){})}})),f.update()},forceUpdate:function(){if(!p){var t=s.elements,e=t.reference,n=t.popper;if(K(e,n)){s.rects={reference:Y(e,x(n),"fixed"===s.options.strategy),popper:v(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:o.name,instance:f})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){f.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!K(t,e))return f;function d(){u.forEach((function(t){return t()})),u=[]}return f.setOptions(r).then((function(t){!p&&r.onFirstUpdate&&r.onFirstUpdate(t)})),f}}var Z=Q({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=f(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",n.update,M)})),s&&u.addEventListener("resize",n.update,M),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",n.update,M)})),s&&u.removeEventListener("resize",n.update,M)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=_({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:m(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),D(Object.assign(Object.assign({},c),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),D(Object.assign(Object.assign({},c),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];d(o)&&p(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});d(r)&&p(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.name,a=t.options.offset,s=void 0===a?[0,0]:a,c=u.reduce((function(t,r){return t[r]=function(t,e,r){var a=m(t),s=[i,n].indexOf(a)>=0?-1:1,u="function"==typeof r?r(Object.assign(Object.assign({},e),{},{placement:t})):r,c=u[0],p=u[1];return c=c||0,p=(p||0)*s,[i,o].indexOf(a)>=0?{x:p,y:c}:{x:c,y:p}}(r,e.rects,s),t}),{}),p=c[e.placement],f=p.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=p.x,e.modifiersData.popperOffsets.y+=f),e.modifiersData[r]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,a=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0===p||p,l=a.fallbackPlacements,d=a.padding,v=a.boundary,h=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=e.options.placement,x=m(O),E=l||(x===O||!b?[L(O)]:function(t){if("auto"===m(t))return[];var e=L(t);return[R(t),e,R(e)]}(O)),T=[O].concat(E).reduce((function(t,n){return t.concat("auto"===m(n)?z(e,{placement:n,boundary:v,rootBoundary:h,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),A=e.rects.reference,C=e.rects.popper,j=new Map,D=!0,M=T[0],P=0;P<T.length;P++){var k=T[P],S=m(k),B="start"===$(k),H=[n,r].indexOf(S)>=0,V=H?"width":"height",I=q(e,{placement:k,boundary:v,rootBoundary:h,altBoundary:g,padding:d}),W=H?B?o:i:B?r:n;A[V]>C[V]&&(W=L(W));var N=L(W),U=[];if(c&&U.push(I[S]<=0),f&&U.push(I[W]<=0,I[N]<=0),U.every((function(t){return t}))){M=k,D=!1;break}j.set(k,U)}if(D)for(var _=function(t){var e=T.find((function(e){var n=j.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},F=b?3:1;F>0;F--){if("break"===_(F))break}e.placement!==M&&(e.modifiersData[s]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,a=t.options,s=t.name,u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0!==p&&p,l=a.tether,d=void 0===l||l,h=a.tetherOffset,g=void 0===h?0:h,y=q(e,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),b=m(e.placement),w=$(e.placement),O=!w,A=E(b),C="x"===A?"y":"x",j=e.modifiersData.popperOffsets,D=e.rects.reference,M=e.rects.popper,P="function"==typeof g?g(Object.assign(Object.assign({},e.rects),{},{placement:e.placement})):g,L={x:0,y:0};if(j){if(c){var k="y"===A?n:i,R="y"===A?r:o,S="y"===A?"height":"width",B=j[A],H=j[A]+y[k],V=j[A]-y[R],I=d?-M[S]/2:0,W="start"===w?D[S]:M[S],N="start"===w?-M[S]:-D[S],U=e.elements.arrow,_=d&&U?v(U):{width:0,height:0},z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=z[k],X=z[R],Y=T(0,D[S],_[S]),J=O?D[S]/2-I-Y-F-P:W-Y-F-P,G=O?-D[S]/2+I+Y+X+P:N+Y+X+P,K=e.elements.arrow&&x(e.elements.arrow),Q=e.modifiersData.offset?e.modifiersData.offset[e.placement][A]:0,Z=j[A]+G-Q,tt=T(d?Math.min(H,j[A]+J-Q-(K?"y"===A?K.clientTop||0:K.clientLeft||0:0)):H,B,d?Math.max(V,Z):V);j[A]=tt,L[A]=tt-B}if(f){var et=j[C],nt=T(et+y["x"===A?n:i],et,et-y["x"===A?r:o]);j[C]=nt,L[C]=nt-et}e.modifiersData[s]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,a=t.state,s=t.name,u=a.elements.arrow,c=a.modifiersData.popperOffsets,p=m(a.placement),f=E(p),l=[i,o].indexOf(p)>=0?"height":"width";if(u&&c){var d=a.modifiersData[s+"#persistent"].padding,h=v(u),g="y"===f?n:i,y="y"===f?r:o,b=a.rects.reference[l]+a.rects.reference[f]-c[f]-a.rects.popper[l],w=c[f]-a.rects.reference[f],O=x(u),A=O?"y"===f?O.clientHeight||0:O.clientWidth||0:0,C=A/2-h[l]/2+(b/2-w/2),j=T(d[g],C,A-h[l]-d[y]);a.modifiersData[s]=((e={})[f]=j,e.centerOffset=j-C,e)}},effect:function(t){var e=t.state,n=t.options,r=t.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,s=n.padding,u=void 0===s?0:s;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&h(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[r+"#persistent"]={padding:A("number"!=typeof u?u:C(u,a))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=q(e,{elementContext:"reference"}),s=q(e,{altBoundary:!0}),u=F(a,r),c=F(s,o,i),p=X(u),f=X(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:f},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),tt={passive:!0,capture:!0};function et(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function nt(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function rt(t,e){return"function"==typeof t?t.apply(void 0,e):t}function ot(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function it(t){return[].concat(t)}function at(t,e){-1===t.indexOf(e)&&t.push(e)}function st(t){return t.split("-")[0]}function ut(t){return[].slice.call(t)}function ct(){return document.createElement("div")}function pt(t){return["Element","Fragment"].some((function(e){return nt(t,e)}))}function ft(t){return nt(t,"MouseEvent")}function lt(t){return pt(t)?[t]:function(t){return nt(t,"NodeList")}(t)?ut(t):Array.isArray(t)?t:ut(document.querySelectorAll(t))}function dt(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function mt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function vt(t){var e=it(t)[0];return e&&e.ownerDocument||document}function ht(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}var gt={isTouch:!1},yt=0;function bt(){gt.isTouch||(gt.isTouch=!0,window.performance&&document.addEventListener("mousemove",wt))}function wt(){var t=performance.now();t-yt<20&&(gt.isTouch=!1,document.removeEventListener("mousemove",wt)),yt=t}function Ot(){var t,e=document.activeElement;(t=e)&&t._tippy&&t._tippy.reference===t&&(e.blur&&!e._tippy.state.isVisible&&e.blur())}var xt="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",Et=/MSIE |Trident\//.test(xt),Tt=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),At=Object.keys(Tt);function Ct(t){var e=(t.plugins||[]).reduce((function(e,n){var r=n.name;return r&&(e[r]=void 0!==t[r]?t[r]:n.defaultValue),e}),{});return Object.assign({},t,{},e)}function jt(t,e){var n=Object.assign({},e,{content:rt(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Ct(Object.assign({},Tt,{plugins:e}))):At).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},Tt.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function Dt(t,e){t.innerHTML=e}function Mt(t){var e=ct();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",pt(t)?e.appendChild(t):Dt(e,t)),e}function Pt(t,e){pt(e.content)?(Dt(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?Dt(t,e.content):t.textContent=e.content)}function Lt(t){var e=t.firstElementChild,n=ut(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function kt(t){var e=ct(),n=ct();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ct();function o(n,r){var o=Lt(e),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Pt(a,t.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(Mt(r.arrow))):i.appendChild(Mt(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Pt(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}kt.$$tippy=!0;var Rt=1,St=[],Bt=[];function Ht(t,e){var n,r,o,i,a,s,u,c,p,f=jt(t,Object.assign({},Tt,{},Ct((n=e,Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{}))))),l=!1,d=!1,m=!1,v=!1,h=[],g=ot(Y,f.interactiveDebounce),y=Rt++,b=(p=f.plugins).filter((function(t,e){return p.indexOf(t)===e})),w={id:y,reference:t,popper:ct(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(e){if(w.state.isDestroyed)return;S("onBeforeUpdate",[w,e]),F();var n=w.props,r=jt(t,Object.assign({},w.props,{},e,{ignoreAttributes:!0}));w.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(V(),g=ot(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?it(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded");H(),R(),E&&E(n,r);w.popperInstance&&(Q(),pt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));S("onAfterUpdate",[w,e])},setContent:function(t){w.setProps({content:t})},show:function(){var t=w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=gt.isTouch&&!w.props.touch,o=et(w.props.duration,0,Tt.duration);if(t||e||n||r)return;if(M().hasAttribute("disabled"))return;if(S("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,D()&&(x.style.visibility="visible");R(),U(),w.state.isMounted||(x.style.transition="none");if(D()){var i=L();dt([i.box,i.content],0)}u=function(){if(w.state.isVisible&&!v){if(v=!0,x.style.transition=w.props.moveTransition,D()&&w.props.animation){var t=L(),e=t.box,n=t.content;dt([e,n],o),mt([e,n],"visible")}B(),H(),at(Bt,w),w.state.isMounted=!0,S("onMount",[w]),w.props.animation&&D()&&function(t,e){_(t,e)}(o,(function(){w.state.isShown=!0,S("onShown",[w])}))}},function(){var t,e=w.props.appendTo,n=M();t=w.props.interactive&&e===Tt.appendTo||"parent"===e?n.parentNode:rt(e,[n]);t.contains(x)||t.appendChild(x);Q()}()},hide:function(){var t=!w.state.isVisible,e=w.state.isDestroyed,n=!w.state.isEnabled,r=et(w.props.duration,1,Tt.duration);if(t||e||n)return;if(S("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(V(),$(),R(),D()){var o=L(),i=o.box,a=o.content;w.props.animation&&(dt([i,a],r),mt([i,a],"hidden"))}B(),H(),w.props.animation?D()&&function(t,e){_(t,(function(){!w.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}(r,w.unmount):w.unmount()},hideWithInteractivity:function(t){P().addEventListener("mousemove",g),at(St,g),g(t)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){w.state.isVisible&&w.hide();if(!w.state.isMounted)return;nt(),pt().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Bt=Bt.filter((function(t){return t!==w})),w.state.isMounted=!1,S("onHidden",[w])},destroy:function(){if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),F(),delete t._tippy,w.state.isDestroyed=!0,S("onDestroy",[w])}};if(!f.render)return w;var O=f.render(w),x=O.popper,E=O.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+w.id,w.popper=x,t._tippy=w,x._tippy=w;var T=b.map((function(t){return t.fn(w)})),A=t.hasAttribute("aria-expanded");return z(),H(),R(),S("onCreate",[w]),f.showOnCreate&&lt(),x.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(t){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(P().addEventListener("mousemove",g),g(t))})),w;function C(){var t=w.props.touch;return Array.isArray(t)?t:[t,0]}function j(){return"hold"===C()[0]}function D(){var t;return!!(null==(t=w.props.render)?void 0:t.$$tippy)}function M(){return c||t}function P(){var t=M().parentNode;return t?vt(t):document}function L(){return Lt(x)}function k(t){return w.state.isMounted&&!w.state.isVisible||gt.isTouch||a&&"focus"===a.type?0:et(w.props.delay,t?0:1,Tt.delay)}function R(){x.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",x.style.zIndex=""+w.props.zIndex}function S(t,e,n){var r;(void 0===n&&(n=!0),T.forEach((function(n){n[t]&&n[t].apply(void 0,e)})),n)&&(r=w.props)[t].apply(r,e)}function B(){var e=w.props.aria;if(e.content){var n="aria-"+e.content,r=x.id;it(w.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n);if(w.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&&e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function H(){!A&&w.props.aria.expanded&&it(w.props.triggerTarget||t).forEach((function(t){w.props.interactive?t.setAttribute("aria-expanded",w.state.isVisible&&t===M()?"true":"false"):t.removeAttribute("aria-expanded")}))}function V(){P().removeEventListener("mousemove",g),St=St.filter((function(t){return t!==g}))}function I(t){if(!(gt.isTouch&&(m||"mousedown"===t.type)||w.props.interactive&&x.contains(t.target))){if(M().contains(t.target)){if(gt.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||$())}}function W(){m=!0}function N(){m=!1}function U(){var t=P();t.addEventListener("mousedown",I,!0),t.addEventListener("touchend",I,tt),t.addEventListener("touchstart",N,tt),t.addEventListener("touchmove",W,tt)}function $(){var t=P();t.removeEventListener("mousedown",I,!0),t.removeEventListener("touchend",I,tt),t.removeEventListener("touchstart",N,tt),t.removeEventListener("touchmove",W,tt)}function _(t,e){var n=L().box;function r(t){t.target===n&&(ht(n,"remove",r),e())}if(0===t)return e();ht(n,"remove",s),ht(n,"add",r),s=r}function q(e,n,r){void 0===r&&(r=!1),it(w.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,r),h.push({node:t,eventType:e,handler:n,options:r})}))}function z(){var t;j()&&(q("touchstart",X,{passive:!0}),q("touchend",J,{passive:!0})),(t=w.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(q(t,X),t){case"mouseenter":q("mouseleave",J);break;case"focus":q(Et?"focusout":"blur",G);break;case"focusin":q("focusout",G)}}))}function F(){h.forEach((function(t){t.node.removeEventListener(t.eventType,t.handler,t.options)})),h=[]}function X(t){var e,n=!1;if(w.state.isEnabled&&!K(t)&&!d){var r="focus"===(null==(e=a)?void 0:e.type);a=t,c=t.currentTarget,H(),!w.state.isVisible&&ft(t)&&St.forEach((function(e){return e(t)})),"click"===t.type&&(w.props.trigger.indexOf("mouseenter")<0||l)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:lt(t),"click"===t.type&&(l=!n),n&&!r&&yt(t)}}function Y(t){var e=t.target,n=M().contains(e)||x.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,a=st(o.placement),s=o.modifiersData.offset;return!s||(e.top-r+("bottom"===a?s.top.y:0)>i||r-e.bottom-("top"===a?s.bottom.y:0)>i||e.left-n+("right"===a?s.left.x:0)>i||n-e.right-("left"===a?s.right.x:0)>i)}))}(pt().concat(x).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),t)&&(V(),yt(t))}function J(t){K(t)||w.props.trigger.indexOf("click")>=0&&l||(w.props.interactive?w.hideWithInteractivity(t):yt(t))}function G(t){w.props.trigger.indexOf("focusin")<0&&t.target!==M()||w.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||yt(t)}function K(t){return!!gt.isTouch&&j()!==t.type.indexOf("touch")>=0}function Q(){nt();var e=w.props,n=e.popperOptions,r=e.placement,o=e.offset,i=e.getReferenceClientRect,a=e.moveTransition,s=D()?Lt(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||M()}:t,p=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(D()){var n=L().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];D()&&s&&p.push({name:"arrow",options:{element:s,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),w.popperInstance=Z(c,x,Object.assign({},n,{placement:r,onFirstUpdate:u,modifiers:p}))}function nt(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function pt(){return ut(x.querySelectorAll("[data-tippy-root]"))}function lt(t){w.clearDelayTimeouts(),t&&S("onTrigger",[w,t]),U();var e=k(!0),n=C(),o=n[1];gt.isTouch&&"hold"===n[0]&&o&&(e=o),e?r=setTimeout((function(){w.show()}),e):w.show()}function yt(t){if(w.clearDelayTimeouts(),S("onUntrigger",[w,t]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&l)){var e=k(!1);e?o=setTimeout((function(){w.state.isVisible&&w.hide()}),e):i=requestAnimationFrame((function(){w.hide()}))}}else $()}}function Vt(t,e){void 0===e&&(e={});var n=Tt.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",bt,tt),window.addEventListener("blur",Ot);var r=Object.assign({},e,{plugins:n}),o=lt(t).reduce((function(t,e){var n=e&&Ht(e,r);return n&&t.push(n),t}),[]);return pt(t)?o[0]:o}Vt.defaultProps=Tt,Vt.setDefaultProps=function(t){Object.keys(t).forEach((function(e){Tt[e]=t[e]}))},Vt.currentInput=gt;var It=function(t,e){void 0===e&&(e={});var n,r=t,o=[],i=e.overrides,a=[];function s(){o=r.map((function(t){return t.reference}))}function u(t){r.forEach((function(e){t?e.enable():e.disable()}))}function c(t){return r.map((function(e){var r=e.setProps;return e.setProps=function(o){r(o),e.reference===n&&t.setProps(o)},function(){e.setProps=r}}))}u(!1),s();var p,f,l={fn:function(){return{onDestroy:function(){u(!0)},onTrigger:function(t,e){var a=e.currentTarget,s=o.indexOf(a);if(a!==n){n=a;var u=(i||[]).concat("content").reduce((function(t,e){return t[e]=r[s].props[e],t}),{});t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){return a.getBoundingClientRect()}}))}}}}},d=Vt(ct(),Object.assign({},(p=["overrides"],f=Object.assign({},e),p.forEach((function(t){delete f[t]})),f),{plugins:[l].concat(e.plugins||[]),triggerTarget:o})),m=d.setProps;return d.setProps=function(t){i=t.overrides||i,m(t)},d.setInstances=function(t){u(!0),a.forEach((function(t){return t()})),r=t,u(!1),s(),c(d),d.setProps({triggerTarget:o})},a=c(d),d},Wt={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(!(null==(e=t.props.render)?void 0:e.$$tippy))return{};var n=Lt(t.popper),r=n.box,o=n.content,i=t.props.animateFill?function(){var t=ct();return t.className="tippy-backdrop",mt([t],"hidden"),t}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,mt([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&mt([i],"hidden")}}}};var Nt={clientX:0,clientY:0},Ut=[];function $t(t){Nt={clientX:t.clientX,clientY:t.clientY}}var _t={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=vt(t.props.triggerTarget||e),r=!1,o=!1,i=!0,a=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||e.contains(n.target),o=t.props.followCursor,i=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),u=i-s.left,c=a-s.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=t.left+u,r=t.top+c);var s="horizontal"===o?t.top:r,p="vertical"===o?t.right:n,f="horizontal"===o?t.bottom:r,l="vertical"===o?t.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){t.props.followCursor&&(Ut.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",$t)}(n))}function d(){0===(Ut=Ut.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&&function(t){t.removeEventListener("mousemove",$t)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!t.state.isMounted||o||s()||u()):(c(),p()))},onMount:function(){t.props.followCursor&&!o&&(i&&(f(Nt),i=!1),s()||u())},onTrigger:function(t,e){ft(e)&&(Nt={clientX:e.clientX,clientY:e.clientY}),o="focus"===e.type},onHidden:function(){t.props.followCursor&&(p(),c(),i=!0)}}}};var qt={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var r=-1,o=!1,i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var i=o.state;t.props.inlinePositioning&&(e!==i.placement&&t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length<2||null===t)return e;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||e;switch(t){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===t,s=o.top,u=i.bottom,c=a?o.left:i.left,p=a?o.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(t){return t.left}))),l=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===f:e.right===l})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:f,right:l,width:l-f,height:v-m};default:return e}}(st(t),n.getBoundingClientRect(),ut(n.getClientRects()),r)}(i.placement)}}),e=i.placement)}};function a(){var e;o||(e=function(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,i),o=!0,t.setProps(e),o=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(e,n){if(ft(n)){var o=ut(t.reference.getClientRects()),i=o.find((function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY}));r=o.indexOf(i)}},onUntrigger:function(){r=-1}}}};var zt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var o=null,i=null;function a(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&&Ft(o,s)||u&&Ft(i,u))&&t.popperInstance&&t.popperInstance.update(),o=s,i=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Ft(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}function Xt(t,n={},r={mount:!0}){const o=e.ref();let i=null;const a=()=>i||(i=document.createElement("fragment"),i),s=t=>{let n,r=e.isRef(t)?t.value:t;return e.isVNode(r)?(e.render(r,a()),n=()=>a()):"object"==typeof r?(e.render(e.h(r),a()),n=()=>a()):n=r,n},u=t=>{let n={};return n=e.isRef(t)?t.value:(e.isReactive(t),{...t}),n.content&&(n.content=s(n.content)),n.triggerTarget&&(n.triggerTarget=e.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n},c=()=>{o.value&&o.value.setProps(u(n))},p=()=>{o.value&&n.content&&o.value.setContent(s(n.content))},f=()=>{o.value&&(o.value.destroy(),o.value=void 0),i=null},l=()=>{if(!t)return;let r=e.isRef(t)?t.value:t;"function"==typeof r&&(r=r()),r&&(o.value=Vt(r,u(n)),r.$tippy=d)},d={tippy:o,refresh:c,refreshContent:p,setContent:t=>{var e;null===(e=o.value)||void 0===e||e.setContent(s(t))},setProps:t=>{var e;null===(e=o.value)||void 0===e||e.setProps(u(t))},destroy:f,hide:()=>{var t;null===(t=o.value)||void 0===t||t.hide()},show:()=>{var t;null===(t=o.value)||void 0===t||t.show()},disable:()=>{var t;null===(t=o.value)||void 0===t||t.disable()},enable:()=>{var t;null===(t=o.value)||void 0===t||t.enable()},unmount:()=>{var t;null===(t=o.value)||void 0===t||t.unmount()},mount:l};if(r.mount){const t=e.getCurrentInstance();t?(t.isMounted?l():e.onMounted(l),e.onUnmounted(()=>{f()})):l()}return e.isRef(n)||e.isReactive(n)?e.watch(n,c,{immediate:!1}):e.isRef(n.content)&&e.watch(n.content,p,{immediate:!1}),d}function Yt(t,n){const r=e.ref();return e.onMounted(()=>{const e=(Array.isArray(t)?t.map(t=>t.value):"function"==typeof t?t():t.value).map(t=>t instanceof Element?t._tippy:t).filter(Boolean);r.value=It(e,n)}),{singleton:r}}Vt.setDefaultProps({render:kt}),Vt.setDefaultProps({onShow:t=>{if(!t.props.content)return!1}});const Jt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let Gt={};Object.keys(Vt.defaultProps).forEach(t=>{Gt[t]=Jt.includes(t)?{type:Boolean,default:function(){return Vt.defaultProps[t]}}:{default:function(){return Vt.defaultProps[t]}}}),Gt.to={},Gt.tag={default:"button"},Gt.contentTag={default:"span"},Gt.contentClass={default:null};const Kt=e.defineComponent({props:Gt,setup(t,{slots:n}){const r=e.ref(),o=e.ref();let i={...t};i.to&&delete i.to;let a=r;t.to&&(t.to instanceof Element?a=()=>t.to:("string"==typeof t.to||t.to instanceof String)&&(a=()=>document.querySelector(t.to)));const s=Xt(a,i);return e.onMounted(()=>{n.content&&s.setContent(()=>o.value)}),{elem:r,contentElem:o,...s}},render(){let t=this.$slots.default?this.$slots.default(this):[];return e.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[t,e.h(this.contentTag,{ref:"contentElem",class:this.contentClass},this.$slots.content(this))]:t)}}),Qt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let Zt={};Object.keys(Vt.defaultProps).forEach(t=>{Zt[t]=Qt.includes(t)?{type:Boolean,default:function(){return Vt.defaultProps[t]}}:{default:function(){return Vt.defaultProps[t]}}});const te=e.defineComponent({props:Zt,setup(t){const n=e.ref([]),{singleton:r}=Yt(n,t);return{instances:n,singleton:r}},mounted(){var t;const e=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(e).map(t=>t._tippy).filter(Boolean),null===(t=this.singleton)||void 0===t||t.setInstances(this.instances)},render(){let t=this.$slots.default?this.$slots.default():[];return e.h(()=>t)}}),ee={mounted(t,e,n){const r=e.value||{};n.props&&n.props.onTippyShow&&(r.onShow=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyShow(...t)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyShown(...t)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyHidden(...t)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyHide(...t)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...t){var e;return null===(e=n.props)||void 0===e?void 0:e.onTippyMount(...t)}),t.getAttribute("title")&&!r.content&&(r.content=t.getAttribute("title"),t.removeAttribute("title")),t.getAttribute("content")&&!r.content&&(r.content=t.getAttribute("content")),Xt(t,r)},unmounted(t){t.$tippy?t.$tippy.destroy():t._tippy&&t._tippy.destroy()},updated(t,e){const n=e.value||{};t.getAttribute("title")&&!n.content&&(n.content=t.getAttribute("title"),t.removeAttribute("title")),t.getAttribute("content")&&!n.content&&(n.content=t.getAttribute("content")),t.$tippy?t.$tippy.setProps(n||{}):t._tippy&&t._tippy.setProps(n||{})}},ne={install(t,e={}){Vt.setDefaultProps(e.defaultProps||{}),t.directive(e.directive||"tippy",ee),t.component(e.component||"tippy",Kt),t.component(e.componentSingleton||"tippy-singleton",te)}},re=Vt.setDefaultProps;return re({ignoreAttributes:!0,plugins:[zt,qt,_t,Wt]}),t.Tippy=Kt,t.TippySingleton=te,t.default=ne,t.directive=ee,t.plugin=ne,t.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',t.setDefaultProps=re,t.tippy=Vt,t.useSingleton=Yt,t.useTippy=Xt,Object.defineProperty(t,"__esModule",{value:!0}),t}({},Vue);
{
"name": "vue-tippy",
"version": "6.0.0-alpha.26",
"version": "6.0.0-alpha.27",
"main": "dist/vue-tippy.cjs.js",

@@ -5,0 +5,0 @@ "browser": "dist/vue-tippy.esm.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc