bkui-vue 0.0.1-beta.18 → 0.0.1-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bkui-vue.cjs.js +452 -405
- package/dist/bkui-vue.esm.js +451 -403
- package/dist/bkui-vue.umd.js +452 -405
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +5 -5
- package/lib/button/button.d.ts +1 -1
- package/lib/button/index.d.ts +4 -4
- package/lib/date-picker/date-picker.d.ts +2 -2
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +12 -3
- package/lib/dialog/index.d.ts +27 -8
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/index.d.ts +4 -4
- package/lib/exception/exception.d.ts +1 -1
- package/lib/exception/index.d.ts +4 -4
- package/lib/form/form-item.d.ts +2 -2
- package/lib/form/index.d.ts +2 -2
- package/lib/input/index.d.ts +4 -4
- package/lib/input/input.d.ts +1 -1
- package/lib/modal/index.d.ts +24 -1
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +9 -0
- package/lib/modal/props.mixin.d.ts +4 -0
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/popover/index.d.ts +7 -7
- package/lib/popover/popover.d.ts +2 -2
- package/lib/progress/index.d.ts +10 -10
- package/lib/progress/progress.d.ts +3 -3
- package/lib/shared/bk-mask-manager.d.ts +32 -3
- package/lib/shared/bk-pop-manager.d.ts +8 -1
- package/lib/shared/index.js +1 -1
- package/lib/shared/vue-types.d.ts +2 -6
- package/lib/sideslider/index.d.ts +23 -4
- package/lib/sideslider/sideslider.d.ts +10 -1
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/steps.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/index.d.ts +4 -4
- package/lib/table/index.js +1 -1
- package/lib/table/table.d.ts +3 -3
- package/lib/table/utils.d.ts +6 -0
- package/lib/tree/index.d.ts +4 -4
- package/lib/tree/tree.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +7 -7
- package/lib/virtual-render/virtual-render.d.ts +2 -2
- package/package.json +46 -46
package/lib/popover/popover.d.ts
CHANGED
@@ -103,14 +103,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
103
103
|
}>>, {
|
104
104
|
placement: string;
|
105
105
|
modifiers: unknown[];
|
106
|
+
content: string | number;
|
106
107
|
width: string | number;
|
107
108
|
height: string | number;
|
108
109
|
theme: string;
|
109
|
-
|
110
|
+
transition: string;
|
110
111
|
trigger: string;
|
111
112
|
arrow: boolean;
|
112
113
|
isShow: boolean;
|
113
|
-
transition: string;
|
114
114
|
handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
115
115
|
fixOnBoundary: boolean;
|
116
116
|
}>;
|
package/lib/progress/index.d.ts
CHANGED
@@ -5,14 +5,14 @@ declare const BkProgress: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
fixed: number;
|
7
7
|
width: number;
|
8
|
+
type: string;
|
8
9
|
color: string;
|
9
10
|
theme: string;
|
10
11
|
extCls: string;
|
11
|
-
|
12
|
+
strokeLinecap: string;
|
13
|
+
strokeWidth: number;
|
12
14
|
format: (...args: any[]) => any;
|
13
15
|
percent: number;
|
14
|
-
strokeWidth: number;
|
15
|
-
strokeLinecap: string;
|
16
16
|
bgColor: string;
|
17
17
|
titleStyle: {
|
18
18
|
[key: string]: any;
|
@@ -91,7 +91,7 @@ declare const BkProgress: {
|
|
91
91
|
[key: string]: any;
|
92
92
|
};
|
93
93
|
};
|
94
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "width" | "
|
94
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "width" | "type" | "color" | "theme" | "extCls" | "strokeLinecap" | "strokeWidth" | "format" | "percent" | "bgColor" | "titleStyle" | "showText" | "textInside">;
|
95
95
|
$attrs: {
|
96
96
|
[x: string]: unknown;
|
97
97
|
};
|
@@ -185,14 +185,14 @@ declare const BkProgress: {
|
|
185
185
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
186
186
|
fixed: number;
|
187
187
|
width: number;
|
188
|
+
type: string;
|
188
189
|
color: string;
|
189
190
|
theme: string;
|
190
191
|
extCls: string;
|
191
|
-
|
192
|
+
strokeLinecap: string;
|
193
|
+
strokeWidth: number;
|
192
194
|
format: (...args: any[]) => any;
|
193
195
|
percent: number;
|
194
|
-
strokeWidth: number;
|
195
|
-
strokeLinecap: string;
|
196
196
|
bgColor: string;
|
197
197
|
titleStyle: {
|
198
198
|
[key: string]: any;
|
@@ -380,14 +380,14 @@ declare const BkProgress: {
|
|
380
380
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
381
381
|
fixed: number;
|
382
382
|
width: number;
|
383
|
+
type: string;
|
383
384
|
color: string;
|
384
385
|
theme: string;
|
385
386
|
extCls: string;
|
386
|
-
|
387
|
+
strokeLinecap: string;
|
388
|
+
strokeWidth: number;
|
387
389
|
format: (...args: any[]) => any;
|
388
390
|
percent: number;
|
389
|
-
strokeWidth: number;
|
390
|
-
strokeLinecap: string;
|
391
391
|
bgColor: string;
|
392
392
|
titleStyle: {
|
393
393
|
[key: string]: any;
|
@@ -153,14 +153,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
153
153
|
}>>, {
|
154
154
|
fixed: number;
|
155
155
|
width: number;
|
156
|
+
type: string;
|
156
157
|
color: string;
|
157
158
|
theme: string;
|
158
159
|
extCls: string;
|
159
|
-
|
160
|
+
strokeLinecap: string;
|
161
|
+
strokeWidth: number;
|
160
162
|
format: (...args: any[]) => any;
|
161
163
|
percent: number;
|
162
|
-
strokeWidth: number;
|
163
|
-
strokeLinecap: string;
|
164
164
|
bgColor: string;
|
165
165
|
titleStyle: {
|
166
166
|
[key: string]: any;
|
@@ -1,3 +1,15 @@
|
|
1
|
+
declare type BkMaskManagerConfig = {
|
2
|
+
multiInstance?: boolean;
|
3
|
+
maskAttrTag?: string;
|
4
|
+
parentNode?: HTMLElement | Document;
|
5
|
+
maskStyle?: any;
|
6
|
+
};
|
7
|
+
declare type MaskConfigStore = {
|
8
|
+
zIndex: number;
|
9
|
+
style: any;
|
10
|
+
uuid?: string;
|
11
|
+
preUID?: string;
|
12
|
+
};
|
1
13
|
export declare class BkMaskManager {
|
2
14
|
/** 遮罩容器 */
|
3
15
|
private readonly mask;
|
@@ -11,6 +23,10 @@ export declare class BkMaskManager {
|
|
11
23
|
private parentNode;
|
12
24
|
/** 遮罩当前显示组件实例 **/
|
13
25
|
private activeInstance;
|
26
|
+
/** 记录已在使用的z-index */
|
27
|
+
private zIndexStore;
|
28
|
+
/** 记录最后一个UUID */
|
29
|
+
private lastUUID;
|
14
30
|
/** 遮罩样式 **/
|
15
31
|
private readonly maskStyle;
|
16
32
|
/**
|
@@ -19,9 +35,21 @@ export declare class BkMaskManager {
|
|
19
35
|
* @param multiInstance 是否允许多实例
|
20
36
|
* @param maskAttrTag 遮罩DOM唯一标志,支持自定义和 auto
|
21
37
|
*/
|
22
|
-
constructor(config?:
|
23
|
-
|
24
|
-
|
38
|
+
constructor(config?: BkMaskManagerConfig);
|
39
|
+
/**
|
40
|
+
* 显示遮罩
|
41
|
+
* @param content 遮罩内容
|
42
|
+
* @param zIndex z-index
|
43
|
+
* @param showMask 是否显示遮罩
|
44
|
+
* @param appendStyle 追加样式
|
45
|
+
*/
|
46
|
+
show(content?: HTMLElement, zIndex?: number, showMask?: boolean, appendStyle?: {}, uuid?: string | null): void;
|
47
|
+
hide(content?: HTMLElement, uuid?: string): void;
|
48
|
+
storeMaskInsCfg(config: MaskConfigStore): MaskConfigStore;
|
49
|
+
/**
|
50
|
+
* 移除最后一次缓存数据
|
51
|
+
*/
|
52
|
+
popIndexStore(uuid: string): boolean;
|
25
53
|
backupActiveInstance(): void;
|
26
54
|
backupContentElement(content?: HTMLElement): void;
|
27
55
|
getActiveContentInstance(): HTMLElement;
|
@@ -45,3 +73,4 @@ export declare class BkMaskManager {
|
|
45
73
|
private appendContentToMask;
|
46
74
|
}
|
47
75
|
export declare const bKMaskManager: BkMaskManager;
|
76
|
+
export {};
|
@@ -3,7 +3,14 @@ declare class BKPopIndexManager {
|
|
3
3
|
private popInstanceList;
|
4
4
|
private readonly uuidAttrName;
|
5
5
|
constructor();
|
6
|
-
|
6
|
+
/**
|
7
|
+
* 展示弹窗
|
8
|
+
* @param content 弹窗内容
|
9
|
+
* @param showMask 是否显示遮罩
|
10
|
+
* @param appendStyle 追加样式
|
11
|
+
* @returns
|
12
|
+
*/
|
13
|
+
show(content?: HTMLElement, showMask?: boolean, appendStyle?: {}): void;
|
7
14
|
/**
|
8
15
|
* 关闭最后一个弹窗 如果当前还有父级弹窗,则激活父级弹窗
|
9
16
|
* @param removeLastContent 默认:true 是否自动关闭最后一个弹窗实例 某些场景下,已经主动关闭最后一个弹窗,此处只需要处理其他逻辑
|
package/lib/shared/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue-types")):"function"==typeof define&&define.amd?define(["exports","vue-types"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e["vue-types"])}(this,(function(e,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={exports:{}};!function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports}(r);var o=n(r.exports),i={exports:{}};!function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports}(i);var a=n(i.exports),s={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var c,u,p=n(s.exports);e.BKLAYERTYPE=void 0,(u=e.BKLAYERTYPE||(e.BKLAYERTYPE={})).BOTTOM="bottom",u.CONTENT="content",u.NAVI="navi",u.FULLSCREEN="fullScreen",u.PLUGINS="plugins",u.MODAL="modal",u.MESSAGE="message",u.POPPER="popper";var f=(p(c={},e.BKLAYERTYPE.BOTTOM,0),p(c,e.BKLAYERTYPE.CONTENT,1),p(c,e.BKLAYERTYPE.NAVI,100),p(c,e.BKLAYERTYPE.FULLSCREEN,1e3),p(c,e.BKLAYERTYPE.MODAL,3e3),p(c,e.BKLAYERTYPE.PLUGINS,8e3),p(c,e.BKLAYERTYPE.MESSAGE,1e4),p(c,e.BKLAYERTYPE.POPPER,99999),c),l=new(function(){function t(){o(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return a(t,[{key:"getNextIndex",value:function(t){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,t)?(this.storageLayerIndexValue[t]=this.storageLayerIndexValue[t]+1,this.storageLayerIndexValue[t]):(this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]=this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]+1,this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.NAVI)}},{key:"getPopperIndex",value:function(){return f.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,p({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,p({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(f).reduce((function(e,t){return Object.assign(e,p({},t,{value:f[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(f,e)}}]),t}()),d={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(d);var h=n(d.exports),v={exports:{}},m={exports:{}},y={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(y),function(e){var t=y.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(m);var g={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(g);var b={exports:{}};!function(e){var t=y.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(b);var x={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(x),function(e){var t=m.exports,n=g.exports,r=b.exports,o=x.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(v);var O=n(v.exports),w="top",E="bottom",k="right",T="left",S="auto",j=[w,E,k,T],A="start",P="end",I="viewport",L="popper",M=j.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+P])}),[]),_=[].concat(j,[S]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+P])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function D(e){return e?(e.nodeName||"").toLowerCase():null}function N(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof N(e).Element||e instanceof Element}function V(e){return e instanceof N(e).HTMLElement||e instanceof HTMLElement}function Y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof N(e).ShadowRoot||e instanceof ShadowRoot)}var C={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];V(o)&&D(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});V(r)&&D(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function q(e){return e.split("-")[0]}var H=Math.max,U=Math.min,W=Math.round;function K(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(V(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=W(n.width)/a||1),i>0&&(o=W(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function F(e){var t=K(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function z(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function G(e){return N(e).getComputedStyle(e)}function X(e){return["table","td","th"].indexOf(D(e))>=0}function Z(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function J(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(Y(e)?e.host:null)||Z(e)}function $(e){return V(e)&&"fixed"!==G(e).position?e.offsetParent:null}function Q(e){for(var t=N(e),n=$(e);n&&X(n)&&"static"===G(n).position;)n=$(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===G(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&V(e)&&"fixed"===G(e).position)return null;for(var n=J(e);V(n)&&["html","body"].indexOf(D(n))<0;){var r=G(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return H(e,U(t,n))}function ne(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function re(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),c=ee(s),u=[T,k].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return ne("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:re(e,j))}(o.padding,n),f=F(i),l="y"===c?w:T,d="y"===c?E:k,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],v=a[c]-n.rects.reference[c],m=Q(i),y=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=p[l],x=y-f[u]-p[d],O=y/2-f[u]/2+g,S=te(b,O,x),A=c;n.modifiersData[r]=((t={})[A]=S,t.centerOffset=S-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(V(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),z(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(e){return e.split("-")[1]}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,f=e.isFixed,l=a.x,d=void 0===l?0:l,h=a.y,v=void 0===h?0:h,m="function"==typeof p?p({x:d,y:v}):{x:d,y:v};d=m.x,v=m.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=T,x=w,O=window;if(u){var S=Q(n),j="clientHeight",A="clientWidth";if(S===N(n)&&"static"!==G(S=Z(n)).position&&"absolute"===s&&(j="scrollHeight",A="scrollWidth"),S=S,o===w||(o===T||o===k)&&i===P)x=E,v-=(f&&O.visualViewport?O.visualViewport.height:S[j])-r.height,v*=c?1:-1;if(o===T||(o===w||o===E)&&i===P)b=k,d-=(f&&O.visualViewport?O.visualViewport.width:S[A])-r.width,d*=c?1:-1}var I,L=Object.assign({position:s},u&&ae),M=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:W(t*r)/r||0,y:W(n*r)/r||0}}({x:d,y:v}):{x:d,y:v};return d=M.x,v=M.y,c?Object.assign({},L,((I={})[x]=g?"0":"",I[b]=y?"0":"",I.transform=(O.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",I)):Object.assign({},L,((t={})[x]=g?v+"px":"",t[b]=y?d+"px":"",t.transform="",t))}var ce={passive:!0};var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function pe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var fe={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return fe[e]}))}function de(e){var t=N(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(e){return K(Z(e)).left+de(e).scrollLeft}function ve(e){var t=G(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function me(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:V(e)&&ve(e)?e:me(J(e))}function ye(e,t){var n;void 0===t&&(t=[]);var r=me(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=N(r),a=o?[i].concat(i.visualViewport||[],ve(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ye(J(a)))}function ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function be(e,t){return t===I?ge(function(e){var t=N(e),n=Z(e),r=t.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+he(e),y:s}}(e)):B(t)?function(e){var t=K(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ge(function(e){var t,n=Z(e),r=de(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=H(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+he(e),c=-r.scrollTop;return"rtl"===G(o||n).direction&&(s+=H(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(Z(e)))}function xe(e,t,n){var r="clippingParents"===t?function(e){var t=ye(J(e)),n=["absolute","fixed"].indexOf(G(e).position)>=0&&V(e)?Q(e):e;return B(n)?t.filter((function(e){return B(e)&&z(e,n)&&"body"!==D(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=be(e,n);return t.top=H(r.top,t.top),t.right=U(r.right,t.right),t.bottom=U(r.bottom,t.bottom),t.left=H(r.left,t.left),t}),be(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Oe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?ie(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case w:t={x:s,y:n.y-r.height};break;case E:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?ee(i):null;if(null!=u){var p="y"===u?"height":"width";switch(a){case A:t[u]=t[u]-(n[p]/2-r[p]/2);break;case P:t[u]=t[u]+(n[p]/2-r[p]/2)}}return t}function we(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,c=void 0===s?I:s,u=n.elementContext,p=void 0===u?L:u,f=n.altBoundary,l=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,v=ne("number"!=typeof h?h:re(h,j)),m=p===L?"reference":L,y=e.rects.popper,g=e.elements[l?m:p],b=xe(B(g)?g:g.contextElement||Z(e.elements.popper),a,c),x=K(e.elements.reference),O=Oe({reference:x,element:y,strategy:"absolute",placement:o}),T=ge(Object.assign({},y,O)),S=p===L?T:x,A={top:b.top-S.top+v.top,bottom:S.bottom-b.bottom+v.bottom,left:b.left-S.left+v.left,right:S.right-b.right+v.right},P=e.modifiersData.offset;if(p===L&&P){var M=P[o];Object.keys(A).forEach((function(e){var t=[k,E].indexOf(e)>=0?1:-1,n=[w,E].indexOf(e)>=0?"y":"x";A[e]+=M[n]*t}))}return A}function Ee(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?_:c,p=ie(r),f=p?s?M:M.filter((function(e){return ie(e)===p})):j,l=f.filter((function(e){return u.indexOf(e)>=0}));0===l.length&&(l=f,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=l.reduce((function(t,n){return t[n]=we(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[q(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var ke={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,p=n.boundary,f=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=q(m),g=c||(y===m||!h?[pe(m)]:function(e){if(q(e)===S)return[];var t=pe(e);return[le(e),t,le(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(q(n)===S?Ee(t,{placement:n,boundary:p,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,O=t.rects.popper,j=new Map,P=!0,I=b[0],L=0;L<b.length;L++){var M=b[L],_=q(M),R=ie(M)===A,D=[w,E].indexOf(_)>=0,N=D?"width":"height",B=we(t,{placement:M,boundary:p,rootBoundary:f,altBoundary:l,padding:u}),V=D?R?k:T:R?E:w;x[N]>O[N]&&(V=pe(V));var Y=pe(V),C=[];if(i&&C.push(B[_]<=0),s&&C.push(B[V]<=0,B[Y]<=0),C.every((function(e){return e}))){I=M,P=!1;break}j.set(M,C)}if(P)for(var H=function(e){var t=b.find((function(t){var n=j.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},U=h?3:1;U>0;U--){if("break"===H(U))break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Te(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Se(e){return[w,k,E,T].some((function(t){return e[t]>=0}))}var je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=_.reduce((function(e,n){return e[n]=function(e,t,n){var r=q(e),o=[T,w].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[T,k].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.padding,l=n.tether,d=void 0===l||l,h=n.tetherOffset,v=void 0===h?0:h,m=we(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:p}),y=q(t.placement),g=ie(t.placement),b=!g,x=ee(y),O="x"===x?"y":"x",S=t.modifiersData.popperOffsets,j=t.rects.reference,P=t.rects.popper,I="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,L="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(S){if(i){var R,D="y"===x?w:T,N="y"===x?E:k,B="y"===x?"height":"width",V=S[x],Y=V+m[D],C=V-m[N],W=d?-P[B]/2:0,K=g===A?j[B]:P[B],z=g===A?-P[B]:-j[B],G=t.elements.arrow,X=d&&G?F(G):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=Z[D],$=Z[N],ne=te(0,j[B],X[B]),re=b?j[B]/2-W-ne-J-L.mainAxis:K-ne-J-L.mainAxis,oe=b?-j[B]/2+W+ne+$+L.mainAxis:z+ne+$+L.mainAxis,ae=t.elements.arrow&&Q(t.elements.arrow),se=ae?"y"===x?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(R=null==M?void 0:M[x])?R:0,ue=V+oe-ce,pe=te(d?U(Y,V+re-ce-se):Y,V,d?H(C,ue):C);S[x]=pe,_[x]=pe-V}if(s){var fe,le="x"===x?w:T,de="x"===x?E:k,he=S[O],ve="y"===O?"height":"width",me=he+m[le],ye=he-m[de],ge=-1!==[w,T].indexOf(y),be=null!=(fe=null==M?void 0:M[O])?fe:0,xe=ge?me:he-j[ve]-P[ve]-be+L.altAxis,Oe=ge?he+j[ve]+P[ve]-be-L.altAxis:ye,Ee=d&&ge?function(e,t,n){var r=te(e,t,n);return r>n?n:r}(xe,he,Oe):te(d?xe:me,he,d?Oe:ye);S[O]=Ee,_[O]=Ee-he}t.modifiersData[r]=_}},requiresIfExists:["offset"]};function Pe(e,t,n){void 0===n&&(n=!1);var r,o,i=V(t),a=V(t)&&function(e){var t=e.getBoundingClientRect(),n=W(t.width)/e.offsetWidth||1,r=W(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Z(t),c=K(e,a),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==D(t)||ve(s))&&(u=(r=t)!==N(r)&&V(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:de(r)),V(t)?((p=K(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=he(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function Ie(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Le(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Me='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',_e=["name","enabled","phase","fn","effect","requires","options"];var Re="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",De={placement:"bottom",modifiers:[],strategy:"absolute"};function Ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Be(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?De:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},De,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:B(e)?ye(e):e.contextElement?ye(e.contextElement):[],popper:ye(t)};var a,u,l,d=function(e){var t=Ie(e);return R.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),_e).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(Le(Me,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(Le(Me,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":R.indexOf(t.phase)<0&&console.error(Le(Me,t.name,'"phase"',"either "+R.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(Le(Me,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(Le(Me,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(Le(Me,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Le(Me,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+_e.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(Le('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),u=function(e){return e.name},l=new Set,a.filter((function(e){var t=u(e);if(!l.has(t))return l.add(t),!0})))),q(s.options.placement)===S)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var h=G(t);[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:p,options:r}),a=function(){};c.push(i||a)}})),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(Ne(t,n)){s.rects={reference:Pe(t,Q(n),"fixed"===s.options.strategy),popper:F(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,c=i.options,f=void 0===c?{}:c,l=i.name;"function"==typeof a&&(s=a({state:s,options:f,name:l,instance:p})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(Re)}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),u=!0}};if(!Ne(e,t))return"production"!==process.env.NODE_ENV&&console.error(Re),p;function f(){c.forEach((function(e){return e()})),c=[]}return p.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var Ve=Be({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=N(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,ce)})),s&&c.addEventListener("resize",n.update,ce),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ce)})),s&&c.removeEventListener("resize",n.update,ce)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s;if("production"!==process.env.NODE_ENV){var u=G(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var p={placement:q(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},C,je,ke,Ae,oe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=we(t,{elementContext:"reference"}),s=we(t,{altBoundary:!0}),c=Te(a,r),u=Te(s,o,i),p=Se(c),f=Se(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]});function Ye(e){return null==e}function Ce(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function qe(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var He=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function Ue(e){if(Ce(e))return e.map(Ue);if(qe(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=Ue(e[n[o]]);return t}return e}function We(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Ke(e,t,n,r){if(We(e)){var o=t[e],i=n[e];qe(o)&&qe(i)?Fe(o,i,r):t[e]=Ue(i)}}function Fe(e,t,n){var r=Ce(t)?t:[t],o=r.length;if(!qe(e))return e;for(var i=(n=n||{}).merger||Ke,a=0;a<o;++a)if(qe(t=r[a]))for(var s=Object.keys(t),c=0,u=s.length;c<u;++c)i(s[c],e,t,n);return e}function ze(e,t){return Fe(e,t,{merger:Ge})}function Ge(e,t,n){if(We(e)){var r=t[e],o=n[e];qe(r)&&qe(o)?ze(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Ue(o))}}function Xe(e){try{return e instanceof HTMLElement}catch(t){return"object"===h(e)&&1===e.nodeType&&"object"===h(e.style)&&"object"===h(e.ownerDocument)}}var Ze=function(){function e(t,n,r){var i;o(this,e),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.afterShow=null,this.afterHidden=null,this.appendTo="parent",this.container=null,this.fixOnBoundary=!1,this.instanceOptions=this.initDefaultOptions(r),this.reference=this.resolveInputSelectorToHtmlElement(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.container=(this.popperRefer||{}).parentElement,this.isShow=!!(null===(i=this.instanceOptions)||void 0===i?void 0:i.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.appendTo=this.instanceOptions.appendTo,this.afterHidden="function"==typeof r.afterHidden?r.afterHidden:function(){},this.afterShow="function"==typeof r.afterShow?r.afterShow:function(){},this.fixOnBoundary=this.instanceOptions.fixOnBoundary,this.initInstance(),this.registerEvents(),this.isShow&&this.show(null)}return a(e,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"updateOptions",value:function(e){var t;this.instanceOptions=this.initDefaultOptions(e),this.isShow=!!(null===(t=this.instanceOptions)||void 0===t?void 0:t.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.setOptions(this.instanceOptions)}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide()}},{key:"show",value:function(e){var t;this.disabled||(null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(O(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0,this.afterShow(),this.fixOnBoundary||this.appendToTarget())}},{key:"hide",value:function(){var e;null===(e=this.popperRefer)||void 0===e||e.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(O(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1,this.afterHidden(),this.fixOnBoundary||this.restorePopContent()}},{key:"restorePopContent",value:function(){var e=this.getAppendToTarget();Xe(e)&&e.contains(this.popperRefer)&&this.container&&!this.container.contains(this.popperRefer)&&this.container.append(this.popperRefer)}},{key:"appendToTarget",value:function(){var e=this.getAppendToTarget();Xe(e)&&e.contains(this.popperRefer)&&e.append(this.popperRefer)}},{key:"getAppendToTarget",value:function(){var e=this.appendTo,t=e;return"parent"!==e&&"string"==typeof e&&(t=document.querySelector(e)),t}},{key:"initDefaultOptions",value:function(e){var t=this,n=Fe({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{}),r=n.onFirstUpdate;return n.onFirstUpdate=function(e){"function"==typeof r&&(r.call(t,e),t.handleFirstUpdate())},n}},{key:"handleFirstUpdate",value:function(){this.fixOnBoundary&&this.appendToTarget()}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=Ve(this.referenceTarget,this.popperRefer,this.instanceOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.instanceOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===h(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){return Xe(e)}},{key:"registerEvents",value:function(){var e=this;if(this.isElement(this.referenceTarget)&&"hover"===this.trigger){["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide()}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide()}))}))}if("click"===this.trigger){["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):e.isShow&&!e.isSameElement(t.target,e.popperRefer)&&e.hide()}))}))}}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),e}(),Je="abcdefghijklmnopqrstuvwxyz0123456789",$e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Je,n="",r=0;r<e;r++)n+=t[parseInt((Math.random()*t.length).toString(),10)];return n},Qe=function(){function e(t){o(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},r=n.multiInstance,i=void 0!==r&&r,a=n.maskAttrTag,s=void 0===a?"auto":a,c=n.parentNode,u=void 0===c?document.body:c,p=n.maskStyle,f=void 0===p?{}:p;this.activeInstance=void 0,this.maskStyle=Object.assign({},this.maskStyle,f),this.multiInstance=i,this.uniqueMaskAttrTag=this.getMaskAttrTag(s),this.parentNode=u||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle()}return a(e,[{key:"show",value:function(e,t){var n=/-?\d+/.test("".concat(t))?t:l.getModalNextIndex();this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(n)),this.backupMask.style.setProperty("z-index","".concat(n-1)),e&&(this.activeInstance=e,this.appendContentToMask(e))}},{key:"hide",value:function(e){var t;this.mask.style.setProperty("display","none"),null==e||e.remove(),null===(t=this.activeInstance)||void 0===t||t.remove(),this.activeInstance=void 0}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){if(this.multiInstance)return this.createMask();var e=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return e||(e=this.createMask()),e}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this;this.mask&&Object.entries(this.maskStyle).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat($e(16)):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),e}(),et=new Qe({}),tt=function(){function e(){o(this,e),this.popInstanceList=[],this.uuidAttrName="data-bk-pop-uuid"}return a(e,[{key:"show",value:function(e){if(e){var t=l.getModalNextIndex(),n=$e(16);e.setAttribute(this.uuidAttrName,n),this.popInstanceList.push({uuid:n,zIndex:t,content:e}),et.backupActiveInstance(),et.show(e,t)}else console.warn("pop show error: content is null or undefined")}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();t.remove()}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0];et.show(n.content,n.zIndex)}else et.hide()}}},{key:"hide",value:function(e){var t=null==e?void 0:e.getAttribute(this.uuidAttrName);if(t){var n=this.popInstanceList.findIndex((function(e){return e.uuid===t}));n>=0&&(this.popInstanceList[n].content.remove(),this.popInstanceList.splice(n,1),this.popInstanceList.length?this.popHide(!1):et.hide())}else null==e||e.remove()}}]),e}(),nt=new tt,rt={exports:{}},ot={exports:{}};!function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ot),function(e){var t=ot.exports;e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&t(e,n)},e.exports.__esModule=!0,e.exports.default=e.exports}(rt);var it=n(rt.exports),at={exports:{}},st={exports:{}};!function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports}(st),function(e){var t=d.exports.default,n=st.exports;e.exports=function(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(at);var ct=n(at.exports),ut={exports:{}};!function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ut);var pt=n(ut.exports);function ft(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pt(e);if(t){var o=pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ct(this,n)}}var lt,dt,ht=t.createTypes({});e.Size=void 0,(lt=e.Size||(e.Size={})).Small="small",lt.Large="large",e.Placements=void 0,(dt=e.Placements||(e.Placements={})).Top="top",dt.Left="left",dt.Right="right",dt.Bottom="bottom";var vt,mt=function(e){it(r,e);var n=ft(r);function r(){return o(this,r),n.apply(this,arguments)}return a(r,null,[{key:"size",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["small","default","large"];return t.toType("Size",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid size, ".concat(t,", the size must be one of 【").concat(e.join(" | "),"】")),!1)},default:"default"})}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["primary","warning","success","danger"];return t.toType("Theme",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),!1)},default:"primary"})}},{key:"placement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","left","right","bottom"];return t.toType("Placements",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top"})}},{key:"commonType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commonType";return t.toType(n.replace(/^\S/,(function(e){return e.toUpperCase()})),{type:String,validator:function(t){var r=e.includes(t);return r||console.error("invalid ".concat(n,", ").concat(t,", the ").concat(n," must be one of 【").concat(e.join(" | "),"】")),r},default:e[0]})}},{key:"style",value:function(){return t.toType("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return t.toType("positions",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top-center"})}}]),r}(ht);var yt=Object.create({});e.BKLAYERD_INDEX_EFAULT_VALUE=f,e.BKPopover=Ze,e.BkMaskManager=Qe,e.EMPTY_OBJ=yt,e.PropTypes=mt,e.bKMaskManager=et,e.bkPopIndexManager=nt,e.bkZIndexManager=l,e.classes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")},e.clone=Ue,e.debounce=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=function(){var i=this,a=arguments;if(e&&clearTimeout(e),o){var s=!e;e=setTimeout((function(){e=null}),n),s&&(t=r.apply(i,a))}else e=setTimeout((function(){r.apply(i,a)}),n);return t};return i.cancel=function(){clearTimeout(e),e=null},i},e.elementsEqual=function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0},e.finiteOrDefault=function(e,t){return He(e)?e:t},e.isArray=Ce,e.isElement=Xe,e.isEmpty=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&Ye(e)},e.isEmptyObj=function(e){return Object.keys(e).length<1},e.isFinite=He,e.isNullOrUndef=Ye,e.isObject=qe,e.merge=Fe,e.mergeIf=ze,e.mergerFn=Ke,e.mergerIfFn=Ge,e.noop=function(){},e.renderEmptyVNode=function(){return null},e.resolveClassName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)},e.scrollbarWidth=function(){if(void 0!==vt)return vt;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),vt=t-r},e.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var c=function(){s=!1===n.leading?0:(new Date).getTime(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var u=(new Date).getTime();s||!1!==n.leading||(s=u);var p=t-(u-s);return r=this,o=arguments,p<=0||p>t?(a&&(clearTimeout(a),a=null),s=u,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(c,p)),i}},e.valueOrDefault=function(e,t){return void 0===e?t:e},e.withInstall=function(e){return e.install=function(t){t.component(e.name,e)},e},e.withInstallProps=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.prefix,a=r.config.globalProperties.bkUIPrefix||i||"Bk";r.component(a+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(a+e.name,e)}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e},Object.defineProperty(e,"__esModule",{value:!0})}));
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue-types")):"function"==typeof define&&define.amd?define(["exports","vue-types"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e["vue-types"])}(this,(function(e,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={exports:{}};!function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports}(r);var o=n(r.exports),i={exports:{}};!function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports}(i);var a=n(i.exports),s={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var u,c,l=n(s.exports);e.BKLAYERTYPE=void 0,(c=e.BKLAYERTYPE||(e.BKLAYERTYPE={})).BOTTOM="bottom",c.CONTENT="content",c.NAVI="navi",c.FULLSCREEN="fullScreen",c.PLUGINS="plugins",c.MODAL="modal",c.MESSAGE="message",c.POPPER="popper";var p=(l(u={},e.BKLAYERTYPE.BOTTOM,0),l(u,e.BKLAYERTYPE.CONTENT,1),l(u,e.BKLAYERTYPE.NAVI,100),l(u,e.BKLAYERTYPE.FULLSCREEN,1e3),l(u,e.BKLAYERTYPE.MODAL,3e3),l(u,e.BKLAYERTYPE.PLUGINS,8e3),l(u,e.BKLAYERTYPE.MESSAGE,1e4),l(u,e.BKLAYERTYPE.POPPER,99999),u),f=new(function(){function t(){o(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return a(t,[{key:"getNextIndex",value:function(t){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,t)?(this.storageLayerIndexValue[t]=this.storageLayerIndexValue[t]+1,this.storageLayerIndexValue[t]):(this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]=this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]+1,this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.NAVI)}},{key:"getPopperIndex",value:function(){return p.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,l({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,l({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(p).reduce((function(e,t){return Object.assign(e,l({},t,{value:p[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(p,e)}}]),t}()),d={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(d);var h=n(d.exports),v={exports:{}},m={exports:{}},y={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(y),function(e){var t=y.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(m);var g={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(g);var b={exports:{}};!function(e){var t=y.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(b);var x={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(x),function(e){var t=m.exports,n=g.exports,r=b.exports,o=x.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(v);var O=n(v.exports),w="top",E="bottom",k="right",S="left",I="auto",T=[w,E,k,S],j="start",A="end",P="viewport",M="popper",L=T.reduce((function(e,t){return e.concat([t+"-"+j,t+"-"+A])}),[]),_=[].concat(T,[I]).reduce((function(e,t){return e.concat([t,t+"-"+j,t+"-"+A])}),[]),D=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function R(e){return e?(e.nodeName||"").toLowerCase():null}function N(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof N(e).Element||e instanceof Element}function V(e){return e instanceof N(e).HTMLElement||e instanceof HTMLElement}function C(e){return"undefined"!=typeof ShadowRoot&&(e instanceof N(e).ShadowRoot||e instanceof ShadowRoot)}var U={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];V(o)&&R(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});V(r)&&R(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Y(e){return e.split("-")[0]}var q=Math.max,H=Math.min,z=Math.round;function W(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(V(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=z(n.width)/a||1),i>0&&(o=z(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function K(e){var t=W(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function F(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&C(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function G(e){return N(e).getComputedStyle(e)}function X(e){return["table","td","th"].indexOf(R(e))>=0}function Z(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function J(e){return"html"===R(e)?e:e.assignedSlot||e.parentNode||(C(e)?e.host:null)||Z(e)}function $(e){return V(e)&&"fixed"!==G(e).position?e.offsetParent:null}function Q(e){for(var t=N(e),n=$(e);n&&X(n)&&"static"===G(n).position;)n=$(n);return n&&("html"===R(n)||"body"===R(n)&&"static"===G(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&V(e)&&"fixed"===G(e).position)return null;var n=J(e);for(C(n)&&(n=n.host);V(n)&&["html","body"].indexOf(R(n))<0;){var r=G(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return q(e,H(t,n))}function ne(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function re(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),u=ee(s),c=[S,k].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return ne("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:re(e,T))}(o.padding,n),p=K(i),f="y"===u?w:S,d="y"===u?E:k,h=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],m=Q(i),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=l[f],x=y-p[c]-l[d],O=y/2-p[c]/2+g,I=te(b,O,x),j=u;n.modifiersData[r]=((t={})[j]=I,t.centerOffset=I-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(V(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),F(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(e){return e.split("-")[1]}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,p=e.isFixed,f=a.x,d=void 0===f?0:f,h=a.y,v=void 0===h?0:h,m="function"==typeof l?l({x:d,y:v}):{x:d,y:v};d=m.x,v=m.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=S,x=w,O=window;if(c){var I=Q(n),T="clientHeight",j="clientWidth";if(I===N(n)&&"static"!==G(I=Z(n)).position&&"absolute"===s&&(T="scrollHeight",j="scrollWidth"),I=I,o===w||(o===S||o===k)&&i===A)x=E,v-=(p&&I===O&&O.visualViewport?O.visualViewport.height:I[T])-r.height,v*=u?1:-1;if(o===S||(o===w||o===E)&&i===A)b=k,d-=(p&&I===O&&O.visualViewport?O.visualViewport.width:I[j])-r.width,d*=u?1:-1}var P,M=Object.assign({position:s},c&&ae),L=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:z(t*r)/r||0,y:z(n*r)/r||0}}({x:d,y:v}):{x:d,y:v};return d=L.x,v=L.y,u?Object.assign({},M,((P={})[x]=g?"0":"",P[b]=y?"0":"",P.transform=(O.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",P)):Object.assign({},M,((t={})[x]=g?v+"px":"",t[b]=y?d+"px":"",t.transform="",t))}var ue={passive:!0};var ce={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return ce[e]}))}var pe={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return pe[e]}))}function de(e){var t=N(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(e){return W(Z(e)).left+de(e).scrollLeft}function ve(e){var t=G(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function me(e){return["html","body","#document"].indexOf(R(e))>=0?e.ownerDocument.body:V(e)&&ve(e)?e:me(J(e))}function ye(e,t){var n;void 0===t&&(t=[]);var r=me(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=N(r),a=o?[i].concat(i.visualViewport||[],ve(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ye(J(a)))}function ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function be(e,t){return t===P?ge(function(e){var t=N(e),n=Z(e),r=t.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+he(e),y:s}}(e)):B(t)?function(e){var t=W(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ge(function(e){var t,n=Z(e),r=de(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=q(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=q(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+he(e),u=-r.scrollTop;return"rtl"===G(o||n).direction&&(s+=q(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(Z(e)))}function xe(e,t,n){var r="clippingParents"===t?function(e){var t=ye(J(e)),n=["absolute","fixed"].indexOf(G(e).position)>=0&&V(e)?Q(e):e;return B(n)?t.filter((function(e){return B(e)&&F(e,n)&&"body"!==R(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=be(e,n);return t.top=q(r.top,t.top),t.right=H(r.right,t.right),t.bottom=H(r.bottom,t.bottom),t.left=q(r.left,t.left),t}),be(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Oe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?ie(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case w:t={x:s,y:n.y-r.height};break;case E:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:u};break;case S:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?ee(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case j:t[c]=t[c]-(n[l]/2-r[l]/2);break;case A:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}function we(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?P:s,c=n.elementContext,l=void 0===c?M:c,p=n.altBoundary,f=void 0!==p&&p,d=n.padding,h=void 0===d?0:d,v=ne("number"!=typeof h?h:re(h,T)),m=l===M?"reference":M,y=e.rects.popper,g=e.elements[f?m:l],b=xe(B(g)?g:g.contextElement||Z(e.elements.popper),a,u),x=W(e.elements.reference),O=Oe({reference:x,element:y,strategy:"absolute",placement:o}),S=ge(Object.assign({},y,O)),I=l===M?S:x,j={top:b.top-I.top+v.top,bottom:I.bottom-b.bottom+v.bottom,left:b.left-I.left+v.left,right:I.right-b.right+v.right},A=e.modifiersData.offset;if(l===M&&A){var L=A[o];Object.keys(j).forEach((function(e){var t=[k,E].indexOf(e)>=0?1:-1,n=[w,E].indexOf(e)>=0?"y":"x";j[e]+=L[n]*t}))}return j}function Ee(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?_:u,l=ie(r),p=l?s?L:L.filter((function(e){return ie(e)===l})):T,f=p.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=p,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=f.reduce((function(t,n){return t[n]=we(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Y(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var ke={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,p=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=Y(m),g=u||(y===m||!h?[le(m)]:function(e){if(Y(e)===I)return[];var t=le(e);return[fe(e),t,fe(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(Y(n)===I?Ee(t,{placement:n,boundary:l,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,O=t.rects.popper,T=new Map,A=!0,P=b[0],M=0;M<b.length;M++){var L=b[M],_=Y(L),D=ie(L)===j,R=[w,E].indexOf(_)>=0,N=R?"width":"height",B=we(t,{placement:L,boundary:l,rootBoundary:p,altBoundary:f,padding:c}),V=R?D?k:S:D?E:w;x[N]>O[N]&&(V=le(V));var C=le(V),U=[];if(i&&U.push(B[_]<=0),s&&U.push(B[V]<=0,B[C]<=0),U.every((function(e){return e}))){P=L,A=!1;break}T.set(L,U)}if(A)for(var q=function(e){var t=b.find((function(t){var n=T.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},H=h?3:1;H>0;H--){if("break"===q(H))break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Se(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ie(e){return[w,k,E,S].some((function(t){return e[t]>=0}))}var Te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=_.reduce((function(e,n){return e[n]=function(e,t,n){var r=Y(e),o=[S,w].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[S,k].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,p=n.padding,f=n.tether,d=void 0===f||f,h=n.tetherOffset,v=void 0===h?0:h,m=we(t,{boundary:u,rootBoundary:c,padding:p,altBoundary:l}),y=Y(t.placement),g=ie(t.placement),b=!g,x=ee(y),O="x"===x?"y":"x",I=t.modifiersData.popperOffsets,T=t.rects.reference,A=t.rects.popper,P="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,M="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(I){if(i){var D,R="y"===x?w:S,N="y"===x?E:k,B="y"===x?"height":"width",V=I[x],C=V+m[R],U=V-m[N],z=d?-A[B]/2:0,W=g===j?T[B]:A[B],F=g===j?-A[B]:-T[B],G=t.elements.arrow,X=d&&G?K(G):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=Z[R],$=Z[N],ne=te(0,T[B],X[B]),re=b?T[B]/2-z-ne-J-M.mainAxis:W-ne-J-M.mainAxis,oe=b?-T[B]/2+z+ne+$+M.mainAxis:F+ne+$+M.mainAxis,ae=t.elements.arrow&&Q(t.elements.arrow),se=ae?"y"===x?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(D=null==L?void 0:L[x])?D:0,ce=V+oe-ue,le=te(d?H(C,V+re-ue-se):C,V,d?q(U,ce):U);I[x]=le,_[x]=le-V}if(s){var pe,fe="x"===x?w:S,de="x"===x?E:k,he=I[O],ve="y"===O?"height":"width",me=he+m[fe],ye=he-m[de],ge=-1!==[w,S].indexOf(y),be=null!=(pe=null==L?void 0:L[O])?pe:0,xe=ge?me:he-T[ve]-A[ve]-be+M.altAxis,Oe=ge?he+T[ve]+A[ve]-be-M.altAxis:ye,Ee=d&&ge?function(e,t,n){var r=te(e,t,n);return r>n?n:r}(xe,he,Oe):te(d?xe:me,he,d?Oe:ye);I[O]=Ee,_[O]=Ee-he}t.modifiersData[r]=_}},requiresIfExists:["offset"]};function Ae(e,t,n){void 0===n&&(n=!1);var r,o,i=V(t),a=V(t)&&function(e){var t=e.getBoundingClientRect(),n=z(t.width)/e.offsetWidth||1,r=z(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Z(t),u=W(e,a),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==R(t)||ve(s))&&(c=(r=t)!==N(r)&&V(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:de(r)),V(t)?((l=W(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=he(s))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function Pe(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Me(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Le='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',_e=["name","enabled","phase","fn","effect","requires","options"];var De="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Re={placement:"bottom",modifiers:[],strategy:"absolute"};function Ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Be(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Re:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Re,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,l={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:B(e)?ye(e):e.contextElement?ye(e.contextElement):[],popper:ye(t)};var a,c,f,d=function(e){var t=Pe(e);return D.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),_e).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(Me(Le,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(Me(Le,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":D.indexOf(t.phase)<0&&console.error(Me(Le,t.name,'"phase"',"either "+D.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(Me(Le,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(Me(Le,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(Me(Le,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Me(Le,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+_e.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(Me('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),c=function(e){return e.name},f=new Set,a.filter((function(e){var t=c(e);if(!f.has(t))return f.add(t),!0})))),Y(s.options.placement)===I)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var h=G(t);[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:l,options:r}),a=function(){};u.push(i||a)}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Ne(t,n)){s.rects={reference:Ae(t,Q(n),"fixed"===s.options.strategy),popper:K(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,u=i.options,p=void 0===u?{}:u,f=i.name;"function"==typeof a&&(s=a({state:s,options:p,name:f,instance:l})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(De)}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),c=!0}};if(!Ne(e,t))return"production"!==process.env.NODE_ENV&&console.error(De),l;function p(){u.forEach((function(e){return e()})),u=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var Ve=Be({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=N(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,ue)})),s&&u.addEventListener("resize",n.update,ue),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ue)})),s&&u.removeEventListener("resize",n.update,ue)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.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;if("production"!==process.env.NODE_ENV){var c=G(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var l={placement:Y(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},U,Te,ke,je,oe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=we(t,{elementContext:"reference"}),s=we(t,{altBoundary:!0}),u=Se(a,r),c=Se(s,o,i),l=Ie(u),p=Ie(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":p})}}]});function Ce(e){return null==e}function Ue(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function Ye(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var qe=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function He(e){if(Ue(e))return e.map(He);if(Ye(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=He(e[n[o]]);return t}return e}function ze(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function We(e,t,n,r){if(ze(e)){var o=t[e],i=n[e];Ye(o)&&Ye(i)?Ke(o,i,r):t[e]=He(i)}}function Ke(e,t,n){var r=Ue(t)?t:[t],o=r.length;if(!Ye(e))return e;for(var i=(n=n||{}).merger||We,a=0;a<o;++a)if(Ye(t=r[a]))for(var s=Object.keys(t),u=0,c=s.length;u<c;++u)i(s[u],e,t,n);return e}function Fe(e,t){return Ke(e,t,{merger:Ge})}function Ge(e,t,n){if(ze(e)){var r=t[e],o=n[e];Ye(r)&&Ye(o)?Fe(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=He(o))}}function Xe(e){try{return e instanceof HTMLElement}catch(t){return"object"===h(e)&&1===e.nodeType&&"object"===h(e.style)&&"object"===h(e.ownerDocument)}}var Ze=function(){function e(t,n,r){var i;o(this,e),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.afterShow=null,this.afterHidden=null,this.appendTo="parent",this.container=null,this.fixOnBoundary=!1,this.instanceOptions=this.initDefaultOptions(r),this.reference=this.resolveInputSelectorToHtmlElement(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.container=(this.popperRefer||{}).parentElement,this.isShow=!!(null===(i=this.instanceOptions)||void 0===i?void 0:i.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.appendTo=this.instanceOptions.appendTo,this.afterHidden="function"==typeof r.afterHidden?r.afterHidden:function(){},this.afterShow="function"==typeof r.afterShow?r.afterShow:function(){},this.fixOnBoundary=this.instanceOptions.fixOnBoundary,this.initInstance(),this.registerEvents(),this.isShow&&this.show(null)}return a(e,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"updateOptions",value:function(e){var t;this.instanceOptions=this.initDefaultOptions(e),this.isShow=!!(null===(t=this.instanceOptions)||void 0===t?void 0:t.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.setOptions(this.instanceOptions)}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide()}},{key:"show",value:function(e){var t;this.disabled||(null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(O(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0,this.afterShow(),this.fixOnBoundary||this.appendToTarget())}},{key:"hide",value:function(){var e;null===(e=this.popperRefer)||void 0===e||e.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(O(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1,this.afterHidden(),this.fixOnBoundary||this.restorePopContent()}},{key:"restorePopContent",value:function(){var e=this.getAppendToTarget();Xe(e)&&e.contains(this.popperRefer)&&this.container&&!this.container.contains(this.popperRefer)&&this.container.append(this.popperRefer)}},{key:"appendToTarget",value:function(){var e=this.getAppendToTarget();Xe(e)&&e.contains(this.popperRefer)&&e.append(this.popperRefer)}},{key:"getAppendToTarget",value:function(){var e=this.appendTo,t=e;return"parent"!==e&&"string"==typeof e&&(t=document.querySelector(e)),t}},{key:"initDefaultOptions",value:function(e){var t=this,n=Ke({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{}),r=n.onFirstUpdate;return n.onFirstUpdate=function(e){"function"==typeof r&&(r.call(t,e),t.handleFirstUpdate())},n}},{key:"handleFirstUpdate",value:function(){this.fixOnBoundary&&this.appendToTarget()}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=Ve(this.referenceTarget,this.popperRefer,this.instanceOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.instanceOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===h(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){return Xe(e)}},{key:"registerEvents",value:function(){var e=this;if(this.isElement(this.referenceTarget)&&"hover"===this.trigger){["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide()}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide()}))}))}if("click"===this.trigger){["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):e.isShow&&!e.isSameElement(t.target,e.popperRefer)&&e.hide()}))}))}}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),e}(),Je="abcdefghijklmnopqrstuvwxyz0123456789",$e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Je,n="",r=0;r<e;r++)n+=t[parseInt((Math.random()*t.length).toString(),10)];return n},Qe=function(){function e(t){o(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.zIndexStore=new Map,this.lastUUID=null,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},r=n.multiInstance,i=void 0!==r&&r,a=n.maskAttrTag,s=void 0===a?"auto":a,u=n.parentNode,c=void 0===u?document.body:u,l=n.maskStyle,p=void 0===l?{}:l;this.activeInstance=void 0,this.multiInstance=i,this.uniqueMaskAttrTag=this.getMaskAttrTag(s),this.parentNode=c||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle(Object.assign({},this.maskStyle,p))}return a(e,[{key:"show",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=null!=o?o:$e(16),a=/-?\d+/.test("".concat(t))?t:f.getModalNextIndex(),s=Object.assign({},this.maskStyle,r||{});if(!n&&this.lastUUID){var u=this.zIndexStore.get(this.lastUUID);s=u.style}this.storeMaskInsCfg({zIndex:a,style:Object.assign({},s),uuid:i,preUID:this.lastUUID}),this.setMaskStyle(s),this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(a)),this.backupMask.style.setProperty("z-index","".concat(a-1)),e&&(this.activeInstance=e,this.appendContentToMask(e))}},{key:"hide",value:function(e,t){var n,r=null!=t?t:this.lastUUID;this.mask.style.setProperty("display","none"),null==e||e.remove(),null===(n=this.activeInstance)||void 0===n||n.remove(),this.activeInstance=void 0,this.popIndexStore(r)}},{key:"storeMaskInsCfg",value:function(e){return this.zIndexStore.set(e.uuid,e),this.lastUUID=e.uuid,this.zIndexStore.get(e.uuid)}},{key:"popIndexStore",value:function(e){if(this.zIndexStore.has(e)){var t=this.zIndexStore.get(e);return this.lastUUID=t.preUID,this.zIndexStore.delete(e)}return this.lastUUID=null,!1}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){if(this.multiInstance)return this.createMask();var e=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return e||(e=this.createMask()),e}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.mask&&Object.entries(t).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat($e(16)):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),e}(),et=new Qe({}),tt=function(){function e(){o(this,e),this.popInstanceList=[],this.uuidAttrName="data-bk-pop-uuid"}return a(e,[{key:"show",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var r=f.getModalNextIndex(),o=$e(16);e.setAttribute(this.uuidAttrName,o),this.popInstanceList.push({uuid:o,zIndex:r,content:e,showMask:t,appendStyle:n}),t&&et.backupActiveInstance(),et.show(e,r,t,n,o)}else console.warn("pop show error: content is null or undefined")}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();et.popIndexStore(t.uuid),t.remove()}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0],r=n.zIndex,o=n.content,i=n.showMask,a=n.appendStyle,s=n.uuid;et.show(o,r,i,a,s)}else et.hide()}}},{key:"hide",value:function(e){var t=null==e?void 0:e.getAttribute(this.uuidAttrName);if(t){var n=this.popInstanceList.findIndex((function(e){return e.uuid===t}));n>=0&&(this.popInstanceList[n].content.remove(),this.popInstanceList.splice(n,1),et.popIndexStore(t),this.popInstanceList.length?this.popHide(!1):et.hide())}else null==e||e.remove()}}]),e}(),nt=new tt,rt={exports:{}},ot={exports:{}};!function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ot),function(e){var t=ot.exports;e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&t(e,n)},e.exports.__esModule=!0,e.exports.default=e.exports}(rt);var it=n(rt.exports),at={exports:{}},st={exports:{}};!function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports}(st),function(e){var t=d.exports.default,n=st.exports;e.exports=function(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(at);var ut=n(at.exports),ct={exports:{}};!function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ct);var lt=n(ct.exports);function pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lt(e);if(t){var o=lt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ut(this,n)}}var ft,dt,ht=t.createTypes({});e.Size=void 0,(ft=e.Size||(e.Size={})).Small="small",ft.Large="large",e.Placements=void 0,(dt=e.Placements||(e.Placements={})).Top="top",dt.Left="left",dt.Right="right",dt.Bottom="bottom";var vt,mt=function(e){it(r,e);var n=pt(r);function r(){return o(this,r),n.apply(this,arguments)}return a(r,null,[{key:"size",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["small","default","large"];return t.toType("Size",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid size, ".concat(t,", the size must be one of 【").concat(e.join(" | "),"】")),!1)},default:"default"})}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["primary","warning","success","danger"];return t.toType("Theme",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),!1)},default:"primary"})}},{key:"placement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","left","right","bottom"];return t.toType("Placements",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top"})}},{key:"commonType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commonType";return t.toType(n.replace(/^\S/,(function(e){return e.toUpperCase()})),{type:String,validator:function(t){var r=e.includes(t);return r||console.error("invalid ".concat(n,", ").concat(t,", the ").concat(n," must be one of 【").concat(e.join(" | "),"】")),r},default:e[0]})}},{key:"style",value:function(){return t.toType("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return t.toType("positions",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top-center"})}}]),r}(ht);var yt=Object.create({});e.BKLAYERD_INDEX_EFAULT_VALUE=p,e.BKPopover=Ze,e.BkMaskManager=Qe,e.EMPTY_OBJ=yt,e.PropTypes=mt,e.bKMaskManager=et,e.bkPopIndexManager=nt,e.bkZIndexManager=f,e.classes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")},e.clone=He,e.debounce=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=function(){var i=this,a=arguments;if(e&&clearTimeout(e),o){var s=!e;e=setTimeout((function(){e=null}),n),s&&(t=r.apply(i,a))}else e=setTimeout((function(){r.apply(i,a)}),n);return t};return i.cancel=function(){clearTimeout(e),e=null},i},e.elementsEqual=function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0},e.finiteOrDefault=function(e,t){return qe(e)?e:t},e.isArray=Ue,e.isElement=Xe,e.isEmpty=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&Ce(e)},e.isEmptyObj=function(e){return Object.keys(e).length<1},e.isFinite=qe,e.isNullOrUndef=Ce,e.isObject=Ye,e.merge=Ke,e.mergeIf=Fe,e.mergerFn=We,e.mergerIfFn=Ge,e.noop=function(){},e.renderEmptyVNode=function(){return null},e.resolveClassName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)},e.scrollbarWidth=function(){if(void 0!==vt)return vt;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),vt=t-r},e.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var u=function(){s=!1===n.leading?0:(new Date).getTime(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var l=t-(c-s);return r=this,o=arguments,l<=0||l>t?(a&&(clearTimeout(a),a=null),s=c,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(u,l)),i}},e.valueOrDefault=function(e,t){return void 0===e?t:e},e.withInstall=function(e){return e.install=function(t){t.component(e.name,e)},e},e.withInstallProps=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.prefix,a=r.config.globalProperties.bkUIPrefix||i||"Bk";r.component(a+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(a+e.name,e)}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e},Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -4,9 +4,7 @@ declare const propTypesNS: {
|
|
4
4
|
new (): {};
|
5
5
|
defaults: Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
6
6
|
sensibleDefaults: boolean | Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
7
|
-
config:
|
8
|
-
silent: boolean;
|
9
|
-
};
|
7
|
+
config: import("vue-types/dist/types").VueTypesConfig;
|
10
8
|
readonly any: import("vue-types").VueTypeValidableDef<any>;
|
11
9
|
readonly func: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
12
10
|
default: (...args: any[]) => any;
|
@@ -45,9 +43,7 @@ declare const propTypesNS: {
|
|
45
43
|
new (): {};
|
46
44
|
defaults: Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
47
45
|
sensibleDefaults: boolean | Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
48
|
-
config:
|
49
|
-
silent: boolean;
|
50
|
-
};
|
46
|
+
config: import("vue-types/dist/types").VueTypesConfig;
|
51
47
|
readonly any: import("vue-types").VueTypeValidableDef<any>;
|
52
48
|
readonly func: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
53
49
|
default: (...args: any[]) => any;
|
@@ -3,12 +3,13 @@ declare const BkSideslider: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
+
showMask: boolean;
|
6
7
|
width: string | number;
|
7
8
|
height: string | number;
|
9
|
+
direction: string;
|
8
10
|
isShow: boolean;
|
9
11
|
customClass: string | unknown[];
|
10
12
|
scrollable: boolean;
|
11
|
-
direction: string;
|
12
13
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
13
14
|
direction: {
|
14
15
|
type: StringConstructor;
|
@@ -35,10 +36,14 @@ declare const BkSideslider: {
|
|
35
36
|
type: BooleanConstructor;
|
36
37
|
default: boolean;
|
37
38
|
};
|
39
|
+
showMask: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
38
43
|
}>> & {
|
39
44
|
onClosed?: (...args: any[]) => any;
|
40
45
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
41
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "
|
46
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showMask" | "width" | "height" | "direction" | "isShow" | "customClass" | "scrollable">;
|
42
47
|
$attrs: {
|
43
48
|
[x: string]: unknown;
|
44
49
|
};
|
@@ -78,18 +83,23 @@ declare const BkSideslider: {
|
|
78
83
|
type: BooleanConstructor;
|
79
84
|
default: boolean;
|
80
85
|
};
|
86
|
+
showMask: {
|
87
|
+
type: BooleanConstructor;
|
88
|
+
default: boolean;
|
89
|
+
};
|
81
90
|
}>> & {
|
82
91
|
onClosed?: (...args: any[]) => any;
|
83
92
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
84
93
|
}, unknown, unknown, {}, {
|
85
94
|
handleClose(): void;
|
86
95
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], string, {
|
96
|
+
showMask: boolean;
|
87
97
|
width: string | number;
|
88
98
|
height: string | number;
|
99
|
+
direction: string;
|
89
100
|
isShow: boolean;
|
90
101
|
customClass: string | unknown[];
|
91
102
|
scrollable: boolean;
|
92
|
-
direction: string;
|
93
103
|
}> & {
|
94
104
|
beforeCreate?: (() => void) | (() => void)[];
|
95
105
|
created?: (() => void) | (() => void)[];
|
@@ -136,6 +146,10 @@ declare const BkSideslider: {
|
|
136
146
|
type: BooleanConstructor;
|
137
147
|
default: boolean;
|
138
148
|
};
|
149
|
+
showMask: {
|
150
|
+
type: BooleanConstructor;
|
151
|
+
default: boolean;
|
152
|
+
};
|
139
153
|
}>> & {
|
140
154
|
onClosed?: (...args: any[]) => any;
|
141
155
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
@@ -171,17 +185,22 @@ declare const BkSideslider: {
|
|
171
185
|
type: BooleanConstructor;
|
172
186
|
default: boolean;
|
173
187
|
};
|
188
|
+
showMask: {
|
189
|
+
type: BooleanConstructor;
|
190
|
+
default: boolean;
|
191
|
+
};
|
174
192
|
}>> & {
|
175
193
|
onClosed?: (...args: any[]) => any;
|
176
194
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
177
195
|
}, unknown, unknown, {}, {
|
178
196
|
handleClose(): void;
|
179
197
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], "closed" | "update:isShow", {
|
198
|
+
showMask: boolean;
|
180
199
|
width: string | number;
|
181
200
|
height: string | number;
|
201
|
+
direction: string;
|
182
202
|
isShow: boolean;
|
183
203
|
customClass: string | unknown[];
|
184
204
|
scrollable: boolean;
|
185
|
-
direction: string;
|
186
205
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
187
206
|
export default BkSideslider;
|
@@ -24,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
type: BooleanConstructor;
|
25
25
|
default: boolean;
|
26
26
|
};
|
27
|
+
showMask: {
|
28
|
+
type: BooleanConstructor;
|
29
|
+
default: boolean;
|
30
|
+
};
|
27
31
|
}, unknown, unknown, {}, {
|
28
32
|
handleClose(): void;
|
29
33
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], "closed" | "update:isShow", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -52,15 +56,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
56
|
type: BooleanConstructor;
|
53
57
|
default: boolean;
|
54
58
|
};
|
59
|
+
showMask: {
|
60
|
+
type: BooleanConstructor;
|
61
|
+
default: boolean;
|
62
|
+
};
|
55
63
|
}>> & {
|
56
64
|
onClosed?: (...args: any[]) => any;
|
57
65
|
"onUpdate:isShow"?: (...args: any[]) => any;
|
58
66
|
}, {
|
67
|
+
showMask: boolean;
|
59
68
|
width: string | number;
|
60
69
|
height: string | number;
|
70
|
+
direction: string;
|
61
71
|
isShow: boolean;
|
62
72
|
customClass: string | unknown[];
|
63
73
|
scrollable: boolean;
|
64
|
-
direction: string;
|
65
74
|
}>;
|
66
75
|
export default _default;
|
package/lib/steps/index.d.ts
CHANGED
@@ -6,8 +6,8 @@ declare const BkSteps: {
|
|
6
6
|
text: boolean;
|
7
7
|
theme: string;
|
8
8
|
extCls: string;
|
9
|
-
beforeChange: (...args: any[]) => any;
|
10
9
|
direction: string;
|
10
|
+
beforeChange: (...args: any[]) => any;
|
11
11
|
lineType: string;
|
12
12
|
controllable: boolean;
|
13
13
|
status: string;
|
@@ -54,7 +54,7 @@ declare const BkSteps: {
|
|
54
54
|
}>> & {
|
55
55
|
onClick?: (...args: any[]) => any;
|
56
56
|
"onUpdate:curStep"?: (...args: any[]) => any;
|
57
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "theme" | "extCls" | "
|
57
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "theme" | "extCls" | "direction" | "beforeChange" | "lineType" | "controllable" | "status" | "curStep" | "steps">;
|
58
58
|
$attrs: {
|
59
59
|
[x: string]: unknown;
|
60
60
|
};
|
@@ -116,8 +116,8 @@ declare const BkSteps: {
|
|
116
116
|
text: boolean;
|
117
117
|
theme: string;
|
118
118
|
extCls: string;
|
119
|
-
beforeChange: (...args: any[]) => any;
|
120
119
|
direction: string;
|
120
|
+
beforeChange: (...args: any[]) => any;
|
121
121
|
lineType: string;
|
122
122
|
controllable: boolean;
|
123
123
|
status: string;
|
@@ -239,8 +239,8 @@ declare const BkSteps: {
|
|
239
239
|
text: boolean;
|
240
240
|
theme: string;
|
241
241
|
extCls: string;
|
242
|
-
beforeChange: (...args: any[]) => any;
|
243
242
|
direction: string;
|
243
|
+
beforeChange: (...args: any[]) => any;
|
244
244
|
lineType: string;
|
245
245
|
controllable: boolean;
|
246
246
|
status: string;
|
package/lib/steps/steps.d.ts
CHANGED
@@ -150,8 +150,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
150
150
|
text: boolean;
|
151
151
|
theme: string;
|
152
152
|
extCls: string;
|
153
|
-
beforeChange: (...args: any[]) => any;
|
154
153
|
direction: string;
|
154
|
+
beforeChange: (...args: any[]) => any;
|
155
155
|
lineType: string;
|
156
156
|
controllable: boolean;
|
157
157
|
status: string;
|