@sisense/sdk-ui-preact 2.24.0 → 2.25.0
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/ai.cjs +95 -95
- package/dist/ai.js +1803 -1881
- package/dist/compat.module-b324511a.cjs +1 -0
- package/dist/compat.module-f95af47d.js +557 -0
- package/dist/{index-r66Tjiqj-5da584fa.cjs → index-D7mHzfx0-52769d88.cjs} +1 -1
- package/dist/{index-r66Tjiqj-bb24c939.js → index-D7mHzfx0-e61bcbf5.js} +9 -0
- package/dist/index.cjs +472 -457
- package/dist/index.js +18940 -25529
- package/dist/packages/sdk-ui-preact/src/preact-compat.d.ts +17 -0
- package/dist/packages/sdk-ui-preact/src/preact-jsx-runtime.d.ts +1 -0
- package/dist/preact/compat.cjs +1 -0
- package/dist/preact/compat.d.ts +3 -0
- package/dist/preact/compat.js +100 -0
- package/dist/preact/jsx-runtime.cjs +1 -0
- package/dist/preact/jsx-runtime.d.ts +1 -0
- package/dist/preact/jsx-runtime.js +85 -0
- package/dist/preact.module-8d1bbc3f.cjs +1 -0
- package/dist/preact.module-d1297d7b.js +355 -0
- package/dist/translations/de-de.cjs +1 -1
- package/dist/translations/de-de.js +10 -1
- package/dist/translations/en-us.cjs +1 -1
- package/dist/translations/en-us.js +1 -1
- package/dist/translations/es-ar.cjs +1 -1
- package/dist/translations/es-ar.js +10 -1
- package/dist/translations/es-es.cjs +1 -1
- package/dist/translations/es-es.js +10 -1
- package/dist/translations/fr-fr.cjs +1 -1
- package/dist/translations/fr-fr.js +10 -1
- package/dist/translations/it-it.cjs +1 -1
- package/dist/translations/it-it.js +12 -3
- package/dist/translations/ja-jp.cjs +1 -1
- package/dist/translations/ja-jp.js +12 -3
- package/dist/translations/ko-kr.cjs +1 -1
- package/dist/translations/ko-kr.js +12 -3
- package/dist/translations/nl-nl.cjs +1 -1
- package/dist/translations/nl-nl.js +12 -3
- package/dist/translations/pt-br.cjs +1 -1
- package/dist/translations/pt-br.js +10 -1
- package/dist/translations/ru-ru.cjs +1 -1
- package/dist/translations/ru-ru.js +12 -3
- package/dist/translations/tr-tr.cjs +1 -1
- package/dist/translations/tr-tr.js +10 -1
- package/dist/translations/zh-cn.cjs +1 -1
- package/dist/translations/zh-cn.js +12 -3
- package/dist/use-hover-mptQLQ4S-fa13b5dc.cjs +910 -0
- package/dist/{quota-notification-CeKnEyQG-76609b2d.js → use-hover-mptQLQ4S-feb781c7.js} +42108 -35609
- package/package.json +21 -3
- package/dist/quota-notification-CeKnEyQG-d8361602.cjs +0 -902
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-exports preact/compat so plugins can import from @sisense/sdk-ui-preact/preact/compat
|
|
3
|
+
* and share the same Preact instance. preact/compat uses "export =" (single default), so
|
|
4
|
+
* we cannot use "export * from 'preact/compat'"; we re-export the default and named APIs explicitly.
|
|
5
|
+
* Mirrors all runtime exports from preact/compat/src/index.d.ts (React namespace).
|
|
6
|
+
*/
|
|
7
|
+
import React from 'preact/compat';
|
|
8
|
+
export default React;
|
|
9
|
+
declare const useCallback: typeof React.useCallback, useState: typeof React.useState, useEffect: typeof React.useEffect, useRef: typeof React.useRef, useMemo: typeof React.useMemo, useContext: typeof React.useContext, useLayoutEffect: typeof React.useLayoutEffect, useReducer: typeof React.useReducer, useImperativeHandle: typeof React.useImperativeHandle, useDebugValue: typeof React.useDebugValue, useId: typeof React.useId, useInsertionEffect: typeof React.useLayoutEffect, useTransition: typeof React.useTransition, useDeferredValue: typeof React.useDeferredValue, useSyncExternalStore: typeof React.useSyncExternalStore, createElement: typeof React.createElement, Component: typeof React.Component, PureComponent: typeof React.PureComponent, Fragment: React.FunctionComponent<{}>, createContext: typeof React.createContext, cloneElement: typeof React.cloneElement, createRef: typeof React.createRef, createFactory: typeof React.createFactory, version: string, render: typeof React.render, hydrate: typeof React.hydrate, unmountComponentAtNode: typeof React.unmountComponentAtNode, createPortal: typeof React.createPortal, isValidElement: typeof React.isValidElement, isFragment: typeof React.isFragment, isMemo: typeof React.isMemo, findDOMNode: typeof React.findDOMNode, memo: typeof React.memo, forwardRef: typeof React.forwardRef, StrictMode: React.FunctionComponent<{}>, lazy: typeof React.lazy, Suspense: typeof React.Suspense, SuspenseList: typeof React.SuspenseList, startTransition: typeof React.startTransition, flushSync: typeof React.flushSync, unstable_batchedUpdates: typeof React.unstable_batchedUpdates, Children: {
|
|
10
|
+
map<T extends React.ReactNode, R>(children: T | T[], fn: (child: T, i: number) => R): R[];
|
|
11
|
+
forEach<T_1 extends React.ReactNode>(children: T_1 | T_1[], fn: (child: T_1, i: number) => void): void;
|
|
12
|
+
count: (children: import("preact").ComponentChildren) => number;
|
|
13
|
+
only: (children: import("preact").ComponentChildren) => React.ReactNode;
|
|
14
|
+
toArray: (children: import("preact").ComponentChildren) => React.ReactElement<{}>[];
|
|
15
|
+
};
|
|
16
|
+
export { useCallback, useState, useEffect, useRef, useMemo, useContext, useLayoutEffect, useReducer, useImperativeHandle, useDebugValue, useId, useInsertionEffect, useTransition, useDeferredValue, useSyncExternalStore, createElement, Component, PureComponent, Fragment, createContext, cloneElement, createRef, createFactory, version, render, hydrate, unmountComponentAtNode, createPortal, isValidElement, isFragment, isMemo, findDOMNode, memo, forwardRef, StrictMode, lazy, Suspense, SuspenseList, startTransition, flushSync, unstable_batchedUpdates, // eslint-disable-line @typescript-eslint/naming-convention
|
|
17
|
+
Children, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'preact/jsx-runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../compat.module-b324511a.cjs");require("../preact.module-8d1bbc3f.cjs");const{useCallback:t,useState:n,useEffect:s,useRef:r,useMemo:u,useContext:a,useLayoutEffect:o,useReducer:l,useImperativeHandle:c,useDebugValue:i,useId:d,useInsertionEffect:m,useTransition:f,useDeferredValue:p,useSyncExternalStore:S,createElement:C,Component:E,PureComponent:y,Fragment:b,createContext:M,cloneElement:R,createRef:g,createFactory:h,version:v,render:x,hydrate:D,unmountComponentAtNode:F,createPortal:I,isValidElement:V,isFragment:P,isMemo:T,findDOMNode:_,memo:L,forwardRef:N,StrictMode:O,lazy:k,Suspense:q,SuspenseList:w,startTransition:z,flushSync:A,unstable_batchedUpdates:H,Children:U}=e.Rn;exports.default=e.Rn;exports.Children=U;exports.Component=E;exports.Fragment=b;exports.PureComponent=y;exports.StrictMode=O;exports.Suspense=q;exports.SuspenseList=w;exports.cloneElement=R;exports.createContext=M;exports.createElement=C;exports.createFactory=h;exports.createPortal=I;exports.createRef=g;exports.findDOMNode=_;exports.flushSync=A;exports.forwardRef=N;exports.hydrate=D;exports.isFragment=P;exports.isMemo=T;exports.isValidElement=V;exports.lazy=k;exports.memo=L;exports.render=x;exports.startTransition=z;exports.unmountComponentAtNode=F;exports.unstable_batchedUpdates=H;exports.useCallback=t;exports.useContext=a;exports.useDebugValue=i;exports.useDeferredValue=p;exports.useEffect=s;exports.useId=d;exports.useImperativeHandle=c;exports.useInsertionEffect=m;exports.useLayoutEffect=o;exports.useMemo=u;exports.useReducer=l;exports.useRef=r;exports.useState=n;exports.useSyncExternalStore=S;exports.useTransition=f;exports.version=v;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { R as e } from "../compat.module-f95af47d.js";
|
|
2
|
+
import "../preact.module-d1297d7b.js";
|
|
3
|
+
const {
|
|
4
|
+
// Hooks
|
|
5
|
+
useCallback: s,
|
|
6
|
+
useState: r,
|
|
7
|
+
useEffect: a,
|
|
8
|
+
useRef: o,
|
|
9
|
+
useMemo: u,
|
|
10
|
+
useContext: c,
|
|
11
|
+
useLayoutEffect: i,
|
|
12
|
+
useReducer: l,
|
|
13
|
+
useImperativeHandle: m,
|
|
14
|
+
useDebugValue: d,
|
|
15
|
+
useId: f,
|
|
16
|
+
useInsertionEffect: p,
|
|
17
|
+
useTransition: C,
|
|
18
|
+
useDeferredValue: E,
|
|
19
|
+
useSyncExternalStore: S,
|
|
20
|
+
// Core
|
|
21
|
+
createElement: y,
|
|
22
|
+
Component: R,
|
|
23
|
+
PureComponent: b,
|
|
24
|
+
Fragment: h,
|
|
25
|
+
createContext: x,
|
|
26
|
+
cloneElement: M,
|
|
27
|
+
createRef: g,
|
|
28
|
+
createFactory: D,
|
|
29
|
+
// Compat / render
|
|
30
|
+
version: F,
|
|
31
|
+
render: I,
|
|
32
|
+
hydrate: V,
|
|
33
|
+
unmountComponentAtNode: v,
|
|
34
|
+
createPortal: L,
|
|
35
|
+
// Element checks (isElement is runtime-only alias for isValidElement, not in React namespace types)
|
|
36
|
+
isValidElement: N,
|
|
37
|
+
isFragment: P,
|
|
38
|
+
isMemo: T,
|
|
39
|
+
findDOMNode: k,
|
|
40
|
+
// Components & HOCs
|
|
41
|
+
memo: w,
|
|
42
|
+
forwardRef: z,
|
|
43
|
+
StrictMode: A,
|
|
44
|
+
lazy: H,
|
|
45
|
+
Suspense: O,
|
|
46
|
+
SuspenseList: U,
|
|
47
|
+
// Scheduling
|
|
48
|
+
startTransition: _,
|
|
49
|
+
flushSync: j,
|
|
50
|
+
// React API name (intentionally not camelCase)
|
|
51
|
+
unstable_batchedUpdates: q,
|
|
52
|
+
// eslint-disable-line @typescript-eslint/naming-convention
|
|
53
|
+
// Children
|
|
54
|
+
Children: B
|
|
55
|
+
} = e;
|
|
56
|
+
export {
|
|
57
|
+
B as Children,
|
|
58
|
+
R as Component,
|
|
59
|
+
h as Fragment,
|
|
60
|
+
b as PureComponent,
|
|
61
|
+
A as StrictMode,
|
|
62
|
+
O as Suspense,
|
|
63
|
+
U as SuspenseList,
|
|
64
|
+
M as cloneElement,
|
|
65
|
+
x as createContext,
|
|
66
|
+
y as createElement,
|
|
67
|
+
D as createFactory,
|
|
68
|
+
L as createPortal,
|
|
69
|
+
g as createRef,
|
|
70
|
+
e as default,
|
|
71
|
+
k as findDOMNode,
|
|
72
|
+
j as flushSync,
|
|
73
|
+
z as forwardRef,
|
|
74
|
+
V as hydrate,
|
|
75
|
+
P as isFragment,
|
|
76
|
+
T as isMemo,
|
|
77
|
+
N as isValidElement,
|
|
78
|
+
H as lazy,
|
|
79
|
+
w as memo,
|
|
80
|
+
I as render,
|
|
81
|
+
_ as startTransition,
|
|
82
|
+
v as unmountComponentAtNode,
|
|
83
|
+
q as unstable_batchedUpdates,
|
|
84
|
+
s as useCallback,
|
|
85
|
+
c as useContext,
|
|
86
|
+
d as useDebugValue,
|
|
87
|
+
E as useDeferredValue,
|
|
88
|
+
a as useEffect,
|
|
89
|
+
f as useId,
|
|
90
|
+
m as useImperativeHandle,
|
|
91
|
+
p as useInsertionEffect,
|
|
92
|
+
i as useLayoutEffect,
|
|
93
|
+
u as useMemo,
|
|
94
|
+
l as useReducer,
|
|
95
|
+
o as useRef,
|
|
96
|
+
r as useState,
|
|
97
|
+
S as useSyncExternalStore,
|
|
98
|
+
C as useTransition,
|
|
99
|
+
F as version
|
|
100
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../preact.module-8d1bbc3f.cjs");var y=/["&<]/;function _(e){if(e.length===0||y.test(e)===!1)return e;for(var r=0,t=0,i="",n="";t<e.length;t++){switch(e.charCodeAt(t)){case 34:n=""";break;case 38:n="&";break;case 60:n="<";break;default:continue}t!==r&&(i+=e.slice(r,t)),i+=n,r=t+1}return t!==r&&(i+=e.slice(r,t)),i}var d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=0,g=Array.isArray;function c(e,r,t,i,n,a){r||(r={});var l,o,f=r;if("ref"in f)for(o in f={},r)o=="ref"?l=r[o]:f[o]=r[o];var s={type:e,props:f,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--b,__i:-1,__u:0,__source:n,__self:a};if(typeof e=="function"&&(l=e.defaultProps))for(o in l)f[o]===void 0&&(f[o]=l[o]);return u.l.vnode&&u.l.vnode(s),s}function j(e){var r=c(u.k,{tpl:e,exprs:[].slice.call(arguments,1)});return r.key=r.__v,r}var p={},k=/[A-Z]/g;function x(e,r){if(u.l.attr){var t=u.l.attr(e,r);if(typeof t=="string")return t}if(e==="ref"||e==="key")return"";if(e==="style"&&typeof r=="object"){var i="";for(var n in r){var a=r[n];if(a!=null&&a!==""){var l=n[0]=="-"?n:p[n]||(p[n]=n.replace(k,"-$&").toLowerCase()),o=";";typeof a!="number"||l.startsWith("--")||d.test(l)||(o="px;"),i=i+l+":"+a+o}}return e+'="'+i+'"'}return r==null||r===!1||typeof r=="function"||typeof r=="object"?"":r===!0?e:e+'="'+_(r)+'"'}function v(e){if(e==null||typeof e=="boolean"||typeof e=="function")return null;if(typeof e=="object"){if(e.constructor===void 0)return e;if(g(e)){for(var r=0;r<e.length;r++)e[r]=v(e[r]);return e}}return _(""+e)}exports.Fragment=u.k;exports.jsx=c;exports.jsxAttr=x;exports.jsxDEV=c;exports.jsxEscape=v;exports.jsxTemplate=j;exports.jsxs=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../packages/sdk-ui-preact/src/preact-jsx-runtime'
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { l, k as _ } from "../preact.module-d1297d7b.js";
|
|
2
|
+
var v = /["&<]/;
|
|
3
|
+
function p(r) {
|
|
4
|
+
if (r.length === 0 || v.test(r) === !1)
|
|
5
|
+
return r;
|
|
6
|
+
for (var t = 0, e = 0, a = "", n = ""; e < r.length; e++) {
|
|
7
|
+
switch (r.charCodeAt(e)) {
|
|
8
|
+
case 34:
|
|
9
|
+
n = """;
|
|
10
|
+
break;
|
|
11
|
+
case 38:
|
|
12
|
+
n = "&";
|
|
13
|
+
break;
|
|
14
|
+
case 60:
|
|
15
|
+
n = "<";
|
|
16
|
+
break;
|
|
17
|
+
default:
|
|
18
|
+
continue;
|
|
19
|
+
}
|
|
20
|
+
e !== t && (a += r.slice(t, e)), a += n, t = e + 1;
|
|
21
|
+
}
|
|
22
|
+
return e !== t && (a += r.slice(t, e)), a;
|
|
23
|
+
}
|
|
24
|
+
var y = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, d = 0, x = Array.isArray;
|
|
25
|
+
function b(r, t, e, a, n, s) {
|
|
26
|
+
t || (t = {});
|
|
27
|
+
var i, o, f = t;
|
|
28
|
+
if ("ref" in f)
|
|
29
|
+
for (o in f = {}, t)
|
|
30
|
+
o == "ref" ? i = t[o] : f[o] = t[o];
|
|
31
|
+
var c = { type: r, props: f, key: e, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --d, __i: -1, __u: 0, __source: n, __self: s };
|
|
32
|
+
if (typeof r == "function" && (i = r.defaultProps))
|
|
33
|
+
for (o in i)
|
|
34
|
+
f[o] === void 0 && (f[o] = i[o]);
|
|
35
|
+
return l.vnode && l.vnode(c), c;
|
|
36
|
+
}
|
|
37
|
+
function k(r) {
|
|
38
|
+
var t = b(_, { tpl: r, exprs: [].slice.call(arguments, 1) });
|
|
39
|
+
return t.key = t.__v, t;
|
|
40
|
+
}
|
|
41
|
+
var u = {}, g = /[A-Z]/g;
|
|
42
|
+
function m(r, t) {
|
|
43
|
+
if (l.attr) {
|
|
44
|
+
var e = l.attr(r, t);
|
|
45
|
+
if (typeof e == "string")
|
|
46
|
+
return e;
|
|
47
|
+
}
|
|
48
|
+
if (r === "ref" || r === "key")
|
|
49
|
+
return "";
|
|
50
|
+
if (r === "style" && typeof t == "object") {
|
|
51
|
+
var a = "";
|
|
52
|
+
for (var n in t) {
|
|
53
|
+
var s = t[n];
|
|
54
|
+
if (s != null && s !== "") {
|
|
55
|
+
var i = n[0] == "-" ? n : u[n] || (u[n] = n.replace(g, "-$&").toLowerCase()), o = ";";
|
|
56
|
+
typeof s != "number" || i.startsWith("--") || y.test(i) || (o = "px;"), a = a + i + ":" + s + o;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return r + '="' + a + '"';
|
|
60
|
+
}
|
|
61
|
+
return t == null || t === !1 || typeof t == "function" || typeof t == "object" ? "" : t === !0 ? r : r + '="' + p(t) + '"';
|
|
62
|
+
}
|
|
63
|
+
function j(r) {
|
|
64
|
+
if (r == null || typeof r == "boolean" || typeof r == "function")
|
|
65
|
+
return null;
|
|
66
|
+
if (typeof r == "object") {
|
|
67
|
+
if (r.constructor === void 0)
|
|
68
|
+
return r;
|
|
69
|
+
if (x(r)) {
|
|
70
|
+
for (var t = 0; t < r.length; t++)
|
|
71
|
+
r[t] = j(r[t]);
|
|
72
|
+
return r;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return p("" + r);
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
_ as Fragment,
|
|
79
|
+
b as jsx,
|
|
80
|
+
m as jsxAttr,
|
|
81
|
+
b as jsxDEV,
|
|
82
|
+
j as jsxEscape,
|
|
83
|
+
k as jsxTemplate,
|
|
84
|
+
b as jsxs
|
|
85
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var E;exports.l=void 0;var Q,w,K,X,Y,Z,B,$,R,ee,D={},_e=[],fe=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,L=Array.isArray;function b(_,e){for(var t in e)_[t]=e[t];return _}function O(_){_&&_.parentNode&&_.parentNode.removeChild(_)}function te(_,e,t){var o,l,n,i={};for(n in e)n=="key"?o=e[n]:n=="ref"?l=e[n]:i[n]=e[n];if(arguments.length>2&&(i.children=arguments.length>3?E.call(arguments,2):t),typeof _=="function"&&_.defaultProps!=null)for(n in _.defaultProps)i[n]===void 0&&(i[n]=_.defaultProps[n]);return T(_,i,o,l,null)}function T(_,e,t,o,l){var n={type:_,props:e,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:l??++Q,__i:-1,__u:0};return l==null&&exports.l.vnode!=null&&exports.l.vnode(n),n}function ae(){return{current:null}}function W(_){return _.children}function M(_,e){this.props=_,this.context=e}function x(_,e){if(e==null)return _.__?x(_.__,_.__i+1):null;for(var t;e<_.__k.length;e++)if((t=_.__k[e])!=null&&t.__e!=null)return t.__e;return typeof _.type=="function"?x(_):null}function ne(_){var e,t;if((_=_.__)!=null&&_.__c!=null){for(_.__e=_.__c.base=null,e=0;e<_.__k.length;e++)if((t=_.__k[e])!=null&&t.__e!=null){_.__e=_.__c.base=t.__e;break}return ne(_)}}function j(_){(!_.__d&&(_.__d=!0)&&w.push(_)&&!N.__r++||K!=exports.l.debounceRendering)&&((K=exports.l.debounceRendering)||X)(N)}function N(){for(var _,e,t,o,l,n,i,u=1;w.length;)w.length>u&&w.sort(Y),_=w.shift(),u=w.length,_.__d&&(t=void 0,l=(o=(e=_).__v).__e,n=[],i=[],e.__P&&((t=b({},o)).__v=o.__v+1,exports.l.vnode&&exports.l.vnode(t),z(e.__P,t,o,e.__n,e.__P.namespaceURI,32&o.__u?[l]:null,n,l??x(o),!!(32&o.__u),i),t.__v=o.__v,t.__.__k[t.__i]=t,ie(n,t,i),t.__e!=l&&ne(t)));N.__r=0}function re(_,e,t,o,l,n,i,u,p,s,f){var r,d,c,v,m,y,a=o&&o.__k||_e,h=e.length;for(p=he(t,e,a,p,h),r=0;r<h;r++)(c=t.__k[r])!=null&&(d=c.__i==-1?D:a[c.__i]||D,c.__i=r,y=z(_,c,d,l,n,i,u,p,s,f),v=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&G(d.ref,null,c),f.push(c.ref,c.__c||v,c)),m==null&&v!=null&&(m=v),4&c.__u||d.__k===c.__k?p=oe(c,p,_):typeof c.type=="function"&&y!==void 0?p=y:v&&(p=v.nextSibling),c.__u&=-7);return t.__e=m,p}function he(_,e,t,o,l){var n,i,u,p,s,f=t.length,r=f,d=0;for(_.__k=new Array(l),n=0;n<l;n++)(i=e[n])!=null&&typeof i!="boolean"&&typeof i!="function"?(p=n+d,(i=_.__k[n]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?T(null,i,null,null,null):L(i)?T(W,{children:i},null,null,null):i.constructor==null&&i.__b>0?T(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=_,i.__b=_.__b+1,u=null,(s=i.__i=de(i,t,p,r))!=-1&&(r--,(u=t[s])&&(u.__u|=2)),u==null||u.__v==null?(s==-1&&(l>f?d--:l<f&&d++),typeof i.type!="function"&&(i.__u|=4)):s!=p&&(s==p-1?d--:s==p+1?d++:(s>p?d--:d++,i.__u|=4))):_.__k[n]=null;if(r)for(n=0;n<f;n++)(u=t[n])!=null&&!(2&u.__u)&&(u.__e==o&&(o=x(u)),ue(u,u));return o}function oe(_,e,t){var o,l;if(typeof _.type=="function"){for(o=_.__k,l=0;o&&l<o.length;l++)o[l]&&(o[l].__=_,e=oe(o[l],e,t));return e}_.__e!=e&&(e&&_.type&&!t.contains(e)&&(e=x(_)),t.insertBefore(_.__e,e||null),e=_.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function le(_,e){return e=e||[],_==null||typeof _=="boolean"||(L(_)?_.some(function(t){le(t,e)}):e.push(_)),e}function de(_,e,t,o){var l,n,i=_.key,u=_.type,p=e[t];if(p===null&&_.key==null||p&&i==p.key&&u==p.type&&!(2&p.__u))return t;if(o>(p!=null&&!(2&p.__u)?1:0))for(l=t-1,n=t+1;l>=0||n<e.length;){if(l>=0){if((p=e[l])&&!(2&p.__u)&&i==p.key&&u==p.type)return l;l--}if(n<e.length){if((p=e[n])&&!(2&p.__u)&&i==p.key&&u==p.type)return n;n++}}return-1}function V(_,e,t){e[0]=="-"?_.setProperty(e,t??""):_[e]=t==null?"":typeof t!="number"||fe.test(e)?t:t+"px"}function H(_,e,t,o,l){var n,i;e:if(e=="style")if(typeof t=="string")_.style.cssText=t;else{if(typeof o=="string"&&(_.style.cssText=o=""),o)for(e in o)t&&e in t||V(_.style,e,"");if(t)for(e in t)o&&t[e]==o[e]||V(_.style,e,t[e])}else if(e[0]=="o"&&e[1]=="n")n=e!=(e=e.replace(Z,"$1")),i=e.toLowerCase(),e=i in _||e=="onFocusOut"||e=="onFocusIn"?i.slice(2):e.slice(2),_.l||(_.l={}),_.l[e+n]=t,t?o?t.u=o.u:(t.u=B,_.addEventListener(e,n?R:$,n)):_.removeEventListener(e,n?R:$,n);else{if(l=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in _)try{_[e]=t??"";break e}catch{}typeof t=="function"||(t==null||t===!1&&e[4]!="-"?_.removeAttribute(e):_.setAttribute(e,e=="popover"&&t==1?"":t))}}function q(_){return function(e){if(this.l){var t=this.l[e.type+_];if(e.t==null)e.t=B++;else if(e.t<t.u)return;return t(exports.l.event?exports.l.event(e):e)}}}function z(_,e,t,o,l,n,i,u,p,s){var f,r,d,c,v,m,y,a,h,C,k,A,P,J,F,S,I,g=e.type;if(e.constructor!=null)return null;128&t.__u&&(p=!!(32&t.__u),n=[u=e.__e=t.__e]),(f=exports.l.__b)&&f(e);e:if(typeof g=="function")try{if(a=e.props,h="prototype"in g&&g.prototype.render,C=(f=g.contextType)&&o[f.__c],k=f?C?C.props.value:f.__:o,t.__c?y=(r=e.__c=t.__c).__=r.__E:(h?e.__c=r=new g(a,k):(e.__c=r=new M(a,k),r.constructor=g,r.render=ye),C&&C.sub(r),r.props=a,r.state||(r.state={}),r.context=k,r.__n=o,d=r.__d=!0,r.__h=[],r._sb=[]),h&&r.__s==null&&(r.__s=r.state),h&&g.getDerivedStateFromProps!=null&&(r.__s==r.state&&(r.__s=b({},r.__s)),b(r.__s,g.getDerivedStateFromProps(a,r.__s))),c=r.props,v=r.state,r.__v=e,d)h&&g.getDerivedStateFromProps==null&&r.componentWillMount!=null&&r.componentWillMount(),h&&r.componentDidMount!=null&&r.__h.push(r.componentDidMount);else{if(h&&g.getDerivedStateFromProps==null&&a!==c&&r.componentWillReceiveProps!=null&&r.componentWillReceiveProps(a,k),!r.__e&&r.shouldComponentUpdate!=null&&r.shouldComponentUpdate(a,r.__s,k)===!1||e.__v==t.__v){for(e.__v!=t.__v&&(r.props=a,r.state=r.__s,r.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.some(function(U){U&&(U.__=e)}),A=0;A<r._sb.length;A++)r.__h.push(r._sb[A]);r._sb=[],r.__h.length&&i.push(r);break e}r.componentWillUpdate!=null&&r.componentWillUpdate(a,r.__s,k),h&&r.componentDidUpdate!=null&&r.__h.push(function(){r.componentDidUpdate(c,v,m)})}if(r.context=k,r.props=a,r.__P=_,r.__e=!1,P=exports.l.__r,J=0,h){for(r.state=r.__s,r.__d=!1,P&&P(e),f=r.render(r.props,r.state,r.context),F=0;F<r._sb.length;F++)r.__h.push(r._sb[F]);r._sb=[]}else do r.__d=!1,P&&P(e),f=r.render(r.props,r.state,r.context),r.state=r.__s;while(r.__d&&++J<25);r.state=r.__s,r.getChildContext!=null&&(o=b(b({},o),r.getChildContext())),h&&!d&&r.getSnapshotBeforeUpdate!=null&&(m=r.getSnapshotBeforeUpdate(c,v)),S=f,f!=null&&f.type===W&&f.key==null&&(S=se(f.props.children)),u=re(_,L(S)?S:[S],e,t,o,l,n,i,u,p,s),r.base=e.__e,e.__u&=-161,r.__h.length&&i.push(r),y&&(r.__E=r.__=null)}catch(U){if(e.__v=null,p||n!=null)if(U.then){for(e.__u|=p?160:128;u&&u.nodeType==8&&u.nextSibling;)u=u.nextSibling;n[n.indexOf(u)]=null,e.__e=u}else for(I=n.length;I--;)O(n[I]);else e.__e=t.__e,e.__k=t.__k;exports.l.__e(U,e,t)}else n==null&&e.__v==t.__v?(e.__k=t.__k,e.__e=t.__e):u=e.__e=ve(t.__e,e,t,o,l,n,i,p,s);return(f=exports.l.diffed)&&f(e),128&e.__u?void 0:u}function ie(_,e,t){for(var o=0;o<t.length;o++)G(t[o],t[++o],t[++o]);exports.l.__c&&exports.l.__c(e,_),_.some(function(l){try{_=l.__h,l.__h=[],_.some(function(n){n.call(l)})}catch(n){exports.l.__e(n,l.__v)}})}function se(_){return typeof _!="object"||_==null||_.__b&&_.__b>0?_:L(_)?_.map(se):b({},_)}function ve(_,e,t,o,l,n,i,u,p){var s,f,r,d,c,v,m,y=t.props,a=e.props,h=e.type;if(h=="svg"?l="http://www.w3.org/2000/svg":h=="math"?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),n!=null){for(s=0;s<n.length;s++)if((c=n[s])&&"setAttribute"in c==!!h&&(h?c.localName==h:c.nodeType==3)){_=c,n[s]=null;break}}if(_==null){if(h==null)return document.createTextNode(a);_=document.createElementNS(l,h,a.is&&a),u&&(exports.l.__m&&exports.l.__m(e,n),u=!1),n=null}if(h==null)y===a||u&&_.data==a||(_.data=a);else{if(n=n&&E.call(_.childNodes),y=t.props||D,!u&&n!=null)for(y={},s=0;s<_.attributes.length;s++)y[(c=_.attributes[s]).name]=c.value;for(s in y)if(c=y[s],s!="children"){if(s=="dangerouslySetInnerHTML")r=c;else if(!(s in a)){if(s=="value"&&"defaultValue"in a||s=="checked"&&"defaultChecked"in a)continue;H(_,s,null,c,l)}}for(s in a)c=a[s],s=="children"?d=c:s=="dangerouslySetInnerHTML"?f=c:s=="value"?v=c:s=="checked"?m=c:u&&typeof c!="function"||y[s]===c||H(_,s,c,y[s],l);if(f)u||r&&(f.__html==r.__html||f.__html==_.innerHTML)||(_.innerHTML=f.__html),e.__k=[];else if(r&&(_.innerHTML=""),re(e.type=="template"?_.content:_,L(d)?d:[d],e,t,o,h=="foreignObject"?"http://www.w3.org/1999/xhtml":l,n,i,n?n[0]:t.__k&&x(t,0),u,p),n!=null)for(s=n.length;s--;)O(n[s]);u||(s="value",h=="progress"&&v==null?_.removeAttribute("value"):v!=null&&(v!==_[s]||h=="progress"&&!v||h=="option"&&v!=y[s])&&H(_,s,v,y[s],l),s="checked",m!=null&&m!=_[s]&&H(_,s,m,y[s],l))}return _}function G(_,e,t){try{if(typeof _=="function"){var o=typeof _.__u=="function";o&&_.__u(),o&&e==null||(_.__u=_(e))}else _.current=e}catch(l){exports.l.__e(l,t)}}function ue(_,e,t){var o,l;if(exports.l.unmount&&exports.l.unmount(_),(o=_.ref)&&(o.current&&o.current!=_.__e||G(o,null,e)),(o=_.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(n){exports.l.__e(n,e)}o.base=o.__P=null}if(o=_.__k)for(l=0;l<o.length;l++)o[l]&&ue(o[l],e,t||typeof _.type!="function");t||O(_.__e),_.__c=_.__=_.__e=void 0}function ye(_,e,t){return this.constructor(_,t)}function ce(_,e,t){var o,l,n,i;e==document&&(e=document.documentElement),exports.l.__&&exports.l.__(_,e),l=(o=typeof t=="function")?null:t&&t.__k||e.__k,n=[],i=[],z(e,_=(!o&&t||e).__k=te(W,null,[_]),l||D,D,e.namespaceURI,!o&&t?[t]:l?null:e.firstChild?E.call(e.childNodes):null,n,!o&&t?t:l?l.__e:e.firstChild,o,i),ie(n,_,i)}function pe(_,e){ce(_,e,pe)}function me(_,e,t){var o,l,n,i,u=b({},_.props);for(n in _.type&&_.type.defaultProps&&(i=_.type.defaultProps),e)n=="key"?o=e[n]:n=="ref"?l=e[n]:u[n]=e[n]===void 0&&i!=null?i[n]:e[n];return arguments.length>2&&(u.children=arguments.length>3?E.call(arguments,2):t),T(_.type,u,o||_.key,l||_.ref,null)}function ge(_){function e(t){var o,l;return this.getChildContext||(o=new Set,(l={})[e.__c]=this,this.getChildContext=function(){return l},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&o.forEach(function(i){i.__e=!0,j(i)})},this.sub=function(n){o.add(n);var i=n.componentWillUnmount;n.componentWillUnmount=function(){o&&o.delete(n),i&&i.call(n)}}),t.children}return e.__c="__cC"+ee++,e.__=_,e.Provider=e.__l=(e.Consumer=function(t,o){return t.children(o)}).contextType=e,e}E=_e.slice,exports.l={__e:function(_,e,t,o){for(var l,n,i;e=e.__;)if((l=e.__c)&&!l.__)try{if((n=l.constructor)&&n.getDerivedStateFromError!=null&&(l.setState(n.getDerivedStateFromError(_)),i=l.__d),l.componentDidCatch!=null&&(l.componentDidCatch(_,o||{}),i=l.__d),i)return l.__E=l}catch(u){_=u}throw _}},Q=0,M.prototype.setState=function(_,e){var t;t=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=b({},this.state),typeof _=="function"&&(_=_(b({},t),this.props)),_&&b(t,_),_!=null&&this.__v&&(e&&this._sb.push(e),j(this))},M.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),j(this))},M.prototype.render=W,w=[],X=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Y=function(_,e){return _.__v.__b-e.__v.__b},N.__r=0,Z=/(PointerCapture)$|Capture$/i,B=0,$=q(!1),R=q(!0),ee=0;exports.E=ce;exports.G=pe;exports.H=le;exports.J=me;exports.K=ge;exports._=te;exports.b=ae;exports.k=W;exports.x=M;
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
var E, d, X, x, J, Y, Z, ee, O, R, j, _e, D = {}, te = [], ue = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, L = Array.isArray;
|
|
2
|
+
function k(_, e) {
|
|
3
|
+
for (var t in e)
|
|
4
|
+
_[t] = e[t];
|
|
5
|
+
return _;
|
|
6
|
+
}
|
|
7
|
+
function z(_) {
|
|
8
|
+
_ && _.parentNode && _.parentNode.removeChild(_);
|
|
9
|
+
}
|
|
10
|
+
function ce(_, e, t) {
|
|
11
|
+
var o, l, n, i = {};
|
|
12
|
+
for (n in e)
|
|
13
|
+
n == "key" ? o = e[n] : n == "ref" ? l = e[n] : i[n] = e[n];
|
|
14
|
+
if (arguments.length > 2 && (i.children = arguments.length > 3 ? E.call(arguments, 2) : t), typeof _ == "function" && _.defaultProps != null)
|
|
15
|
+
for (n in _.defaultProps)
|
|
16
|
+
i[n] === void 0 && (i[n] = _.defaultProps[n]);
|
|
17
|
+
return M(_, i, o, l, null);
|
|
18
|
+
}
|
|
19
|
+
function M(_, e, t, o, l) {
|
|
20
|
+
var n = { type: _, props: e, key: t, ref: o, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: l ?? ++X, __i: -1, __u: 0 };
|
|
21
|
+
return l == null && d.vnode != null && d.vnode(n), n;
|
|
22
|
+
}
|
|
23
|
+
function me() {
|
|
24
|
+
return { current: null };
|
|
25
|
+
}
|
|
26
|
+
function I(_) {
|
|
27
|
+
return _.children;
|
|
28
|
+
}
|
|
29
|
+
function N(_, e) {
|
|
30
|
+
this.props = _, this.context = e;
|
|
31
|
+
}
|
|
32
|
+
function C(_, e) {
|
|
33
|
+
if (e == null)
|
|
34
|
+
return _.__ ? C(_.__, _.__i + 1) : null;
|
|
35
|
+
for (var t; e < _.__k.length; e++)
|
|
36
|
+
if ((t = _.__k[e]) != null && t.__e != null)
|
|
37
|
+
return t.__e;
|
|
38
|
+
return typeof _.type == "function" ? C(_) : null;
|
|
39
|
+
}
|
|
40
|
+
function ne(_) {
|
|
41
|
+
var e, t;
|
|
42
|
+
if ((_ = _.__) != null && _.__c != null) {
|
|
43
|
+
for (_.__e = _.__c.base = null, e = 0; e < _.__k.length; e++)
|
|
44
|
+
if ((t = _.__k[e]) != null && t.__e != null) {
|
|
45
|
+
_.__e = _.__c.base = t.__e;
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
return ne(_);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function B(_) {
|
|
52
|
+
(!_.__d && (_.__d = !0) && x.push(_) && !H.__r++ || J != d.debounceRendering) && ((J = d.debounceRendering) || Y)(H);
|
|
53
|
+
}
|
|
54
|
+
function H() {
|
|
55
|
+
for (var _, e, t, o, l, n, i, u = 1; x.length; )
|
|
56
|
+
x.length > u && x.sort(Z), _ = x.shift(), u = x.length, _.__d && (t = void 0, l = (o = (e = _).__v).__e, n = [], i = [], e.__P && ((t = k({}, o)).__v = o.__v + 1, d.vnode && d.vnode(t), V(e.__P, t, o, e.__n, e.__P.namespaceURI, 32 & o.__u ? [l] : null, n, l ?? C(o), !!(32 & o.__u), i), t.__v = o.__v, t.__.__k[t.__i] = t, le(n, t, i), t.__e != l && ne(t)));
|
|
57
|
+
H.__r = 0;
|
|
58
|
+
}
|
|
59
|
+
function re(_, e, t, o, l, n, i, u, p, s, f) {
|
|
60
|
+
var r, v, c, y, g, m, a = o && o.__k || te, h = e.length;
|
|
61
|
+
for (p = pe(t, e, a, p, h), r = 0; r < h; r++)
|
|
62
|
+
(c = t.__k[r]) != null && (v = c.__i == -1 ? D : a[c.__i] || D, c.__i = r, m = V(_, c, v, l, n, i, u, p, s, f), y = c.__e, c.ref && v.ref != c.ref && (v.ref && q(v.ref, null, c), f.push(c.ref, c.__c || y, c)), g == null && y != null && (g = y), 4 & c.__u || v.__k === c.__k ? p = oe(c, p, _) : typeof c.type == "function" && m !== void 0 ? p = m : y && (p = y.nextSibling), c.__u &= -7);
|
|
63
|
+
return t.__e = g, p;
|
|
64
|
+
}
|
|
65
|
+
function pe(_, e, t, o, l) {
|
|
66
|
+
var n, i, u, p, s, f = t.length, r = f, v = 0;
|
|
67
|
+
for (_.__k = new Array(l), n = 0; n < l; n++)
|
|
68
|
+
(i = e[n]) != null && typeof i != "boolean" && typeof i != "function" ? (p = n + v, (i = _.__k[n] = typeof i == "string" || typeof i == "number" || typeof i == "bigint" || i.constructor == String ? M(null, i, null, null, null) : L(i) ? M(I, { children: i }, null, null, null) : i.constructor == null && i.__b > 0 ? M(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : i).__ = _, i.__b = _.__b + 1, u = null, (s = i.__i = ae(i, t, p, r)) != -1 && (r--, (u = t[s]) && (u.__u |= 2)), u == null || u.__v == null ? (s == -1 && (l > f ? v-- : l < f && v++), typeof i.type != "function" && (i.__u |= 4)) : s != p && (s == p - 1 ? v-- : s == p + 1 ? v++ : (s > p ? v-- : v++, i.__u |= 4))) : _.__k[n] = null;
|
|
69
|
+
if (r)
|
|
70
|
+
for (n = 0; n < f; n++)
|
|
71
|
+
(u = t[n]) != null && !(2 & u.__u) && (u.__e == o && (o = C(u)), se(u, u));
|
|
72
|
+
return o;
|
|
73
|
+
}
|
|
74
|
+
function oe(_, e, t) {
|
|
75
|
+
var o, l;
|
|
76
|
+
if (typeof _.type == "function") {
|
|
77
|
+
for (o = _.__k, l = 0; o && l < o.length; l++)
|
|
78
|
+
o[l] && (o[l].__ = _, e = oe(o[l], e, t));
|
|
79
|
+
return e;
|
|
80
|
+
}
|
|
81
|
+
_.__e != e && (e && _.type && !t.contains(e) && (e = C(_)), t.insertBefore(_.__e, e || null), e = _.__e);
|
|
82
|
+
do
|
|
83
|
+
e = e && e.nextSibling;
|
|
84
|
+
while (e != null && e.nodeType == 8);
|
|
85
|
+
return e;
|
|
86
|
+
}
|
|
87
|
+
function fe(_, e) {
|
|
88
|
+
return e = e || [], _ == null || typeof _ == "boolean" || (L(_) ? _.some(function(t) {
|
|
89
|
+
fe(t, e);
|
|
90
|
+
}) : e.push(_)), e;
|
|
91
|
+
}
|
|
92
|
+
function ae(_, e, t, o) {
|
|
93
|
+
var l, n, i = _.key, u = _.type, p = e[t];
|
|
94
|
+
if (p === null && _.key == null || p && i == p.key && u == p.type && !(2 & p.__u))
|
|
95
|
+
return t;
|
|
96
|
+
if (o > (p != null && !(2 & p.__u) ? 1 : 0))
|
|
97
|
+
for (l = t - 1, n = t + 1; l >= 0 || n < e.length; ) {
|
|
98
|
+
if (l >= 0) {
|
|
99
|
+
if ((p = e[l]) && !(2 & p.__u) && i == p.key && u == p.type)
|
|
100
|
+
return l;
|
|
101
|
+
l--;
|
|
102
|
+
}
|
|
103
|
+
if (n < e.length) {
|
|
104
|
+
if ((p = e[n]) && !(2 & p.__u) && i == p.key && u == p.type)
|
|
105
|
+
return n;
|
|
106
|
+
n++;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return -1;
|
|
110
|
+
}
|
|
111
|
+
function K(_, e, t) {
|
|
112
|
+
e[0] == "-" ? _.setProperty(e, t ?? "") : _[e] = t == null ? "" : typeof t != "number" || ue.test(e) ? t : t + "px";
|
|
113
|
+
}
|
|
114
|
+
function F(_, e, t, o, l) {
|
|
115
|
+
var n, i;
|
|
116
|
+
e:
|
|
117
|
+
if (e == "style")
|
|
118
|
+
if (typeof t == "string")
|
|
119
|
+
_.style.cssText = t;
|
|
120
|
+
else {
|
|
121
|
+
if (typeof o == "string" && (_.style.cssText = o = ""), o)
|
|
122
|
+
for (e in o)
|
|
123
|
+
t && e in t || K(_.style, e, "");
|
|
124
|
+
if (t)
|
|
125
|
+
for (e in t)
|
|
126
|
+
o && t[e] == o[e] || K(_.style, e, t[e]);
|
|
127
|
+
}
|
|
128
|
+
else if (e[0] == "o" && e[1] == "n")
|
|
129
|
+
n = e != (e = e.replace(ee, "$1")), i = e.toLowerCase(), e = i in _ || e == "onFocusOut" || e == "onFocusIn" ? i.slice(2) : e.slice(2), _.l || (_.l = {}), _.l[e + n] = t, t ? o ? t.u = o.u : (t.u = O, _.addEventListener(e, n ? j : R, n)) : _.removeEventListener(e, n ? j : R, n);
|
|
130
|
+
else {
|
|
131
|
+
if (l == "http://www.w3.org/2000/svg")
|
|
132
|
+
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
133
|
+
else if (e != "width" && e != "height" && e != "href" && e != "list" && e != "form" && e != "tabIndex" && e != "download" && e != "rowSpan" && e != "colSpan" && e != "role" && e != "popover" && e in _)
|
|
134
|
+
try {
|
|
135
|
+
_[e] = t ?? "";
|
|
136
|
+
break e;
|
|
137
|
+
} catch {
|
|
138
|
+
}
|
|
139
|
+
typeof t == "function" || (t == null || t === !1 && e[4] != "-" ? _.removeAttribute(e) : _.setAttribute(e, e == "popover" && t == 1 ? "" : t));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function Q(_) {
|
|
143
|
+
return function(e) {
|
|
144
|
+
if (this.l) {
|
|
145
|
+
var t = this.l[e.type + _];
|
|
146
|
+
if (e.t == null)
|
|
147
|
+
e.t = O++;
|
|
148
|
+
else if (e.t < t.u)
|
|
149
|
+
return;
|
|
150
|
+
return t(d.event ? d.event(e) : e);
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function V(_, e, t, o, l, n, i, u, p, s) {
|
|
155
|
+
var f, r, v, c, y, g, m, a, h, P, w, W, S, G, A, U, $, b = e.type;
|
|
156
|
+
if (e.constructor != null)
|
|
157
|
+
return null;
|
|
158
|
+
128 & t.__u && (p = !!(32 & t.__u), n = [u = e.__e = t.__e]), (f = d.__b) && f(e);
|
|
159
|
+
e:
|
|
160
|
+
if (typeof b == "function")
|
|
161
|
+
try {
|
|
162
|
+
if (a = e.props, h = "prototype" in b && b.prototype.render, P = (f = b.contextType) && o[f.__c], w = f ? P ? P.props.value : f.__ : o, t.__c ? m = (r = e.__c = t.__c).__ = r.__E : (h ? e.__c = r = new b(a, w) : (e.__c = r = new N(a, w), r.constructor = b, r.render = de), P && P.sub(r), r.props = a, r.state || (r.state = {}), r.context = w, r.__n = o, v = r.__d = !0, r.__h = [], r._sb = []), h && r.__s == null && (r.__s = r.state), h && b.getDerivedStateFromProps != null && (r.__s == r.state && (r.__s = k({}, r.__s)), k(r.__s, b.getDerivedStateFromProps(a, r.__s))), c = r.props, y = r.state, r.__v = e, v)
|
|
163
|
+
h && b.getDerivedStateFromProps == null && r.componentWillMount != null && r.componentWillMount(), h && r.componentDidMount != null && r.__h.push(r.componentDidMount);
|
|
164
|
+
else {
|
|
165
|
+
if (h && b.getDerivedStateFromProps == null && a !== c && r.componentWillReceiveProps != null && r.componentWillReceiveProps(a, w), !r.__e && r.shouldComponentUpdate != null && r.shouldComponentUpdate(a, r.__s, w) === !1 || e.__v == t.__v) {
|
|
166
|
+
for (e.__v != t.__v && (r.props = a, r.state = r.__s, r.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.some(function(T) {
|
|
167
|
+
T && (T.__ = e);
|
|
168
|
+
}), W = 0; W < r._sb.length; W++)
|
|
169
|
+
r.__h.push(r._sb[W]);
|
|
170
|
+
r._sb = [], r.__h.length && i.push(r);
|
|
171
|
+
break e;
|
|
172
|
+
}
|
|
173
|
+
r.componentWillUpdate != null && r.componentWillUpdate(a, r.__s, w), h && r.componentDidUpdate != null && r.__h.push(function() {
|
|
174
|
+
r.componentDidUpdate(c, y, g);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
if (r.context = w, r.props = a, r.__P = _, r.__e = !1, S = d.__r, G = 0, h) {
|
|
178
|
+
for (r.state = r.__s, r.__d = !1, S && S(e), f = r.render(r.props, r.state, r.context), A = 0; A < r._sb.length; A++)
|
|
179
|
+
r.__h.push(r._sb[A]);
|
|
180
|
+
r._sb = [];
|
|
181
|
+
} else
|
|
182
|
+
do
|
|
183
|
+
r.__d = !1, S && S(e), f = r.render(r.props, r.state, r.context), r.state = r.__s;
|
|
184
|
+
while (r.__d && ++G < 25);
|
|
185
|
+
r.state = r.__s, r.getChildContext != null && (o = k(k({}, o), r.getChildContext())), h && !v && r.getSnapshotBeforeUpdate != null && (g = r.getSnapshotBeforeUpdate(c, y)), U = f, f != null && f.type === I && f.key == null && (U = ie(f.props.children)), u = re(_, L(U) ? U : [U], e, t, o, l, n, i, u, p, s), r.base = e.__e, e.__u &= -161, r.__h.length && i.push(r), m && (r.__E = r.__ = null);
|
|
186
|
+
} catch (T) {
|
|
187
|
+
if (e.__v = null, p || n != null)
|
|
188
|
+
if (T.then) {
|
|
189
|
+
for (e.__u |= p ? 160 : 128; u && u.nodeType == 8 && u.nextSibling; )
|
|
190
|
+
u = u.nextSibling;
|
|
191
|
+
n[n.indexOf(u)] = null, e.__e = u;
|
|
192
|
+
} else
|
|
193
|
+
for ($ = n.length; $--; )
|
|
194
|
+
z(n[$]);
|
|
195
|
+
else
|
|
196
|
+
e.__e = t.__e, e.__k = t.__k;
|
|
197
|
+
d.__e(T, e, t);
|
|
198
|
+
}
|
|
199
|
+
else
|
|
200
|
+
n == null && e.__v == t.__v ? (e.__k = t.__k, e.__e = t.__e) : u = e.__e = he(t.__e, e, t, o, l, n, i, p, s);
|
|
201
|
+
return (f = d.diffed) && f(e), 128 & e.__u ? void 0 : u;
|
|
202
|
+
}
|
|
203
|
+
function le(_, e, t) {
|
|
204
|
+
for (var o = 0; o < t.length; o++)
|
|
205
|
+
q(t[o], t[++o], t[++o]);
|
|
206
|
+
d.__c && d.__c(e, _), _.some(function(l) {
|
|
207
|
+
try {
|
|
208
|
+
_ = l.__h, l.__h = [], _.some(function(n) {
|
|
209
|
+
n.call(l);
|
|
210
|
+
});
|
|
211
|
+
} catch (n) {
|
|
212
|
+
d.__e(n, l.__v);
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
function ie(_) {
|
|
217
|
+
return typeof _ != "object" || _ == null || _.__b && _.__b > 0 ? _ : L(_) ? _.map(ie) : k({}, _);
|
|
218
|
+
}
|
|
219
|
+
function he(_, e, t, o, l, n, i, u, p) {
|
|
220
|
+
var s, f, r, v, c, y, g, m = t.props, a = e.props, h = e.type;
|
|
221
|
+
if (h == "svg" ? l = "http://www.w3.org/2000/svg" : h == "math" ? l = "http://www.w3.org/1998/Math/MathML" : l || (l = "http://www.w3.org/1999/xhtml"), n != null) {
|
|
222
|
+
for (s = 0; s < n.length; s++)
|
|
223
|
+
if ((c = n[s]) && "setAttribute" in c == !!h && (h ? c.localName == h : c.nodeType == 3)) {
|
|
224
|
+
_ = c, n[s] = null;
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
if (_ == null) {
|
|
229
|
+
if (h == null)
|
|
230
|
+
return document.createTextNode(a);
|
|
231
|
+
_ = document.createElementNS(l, h, a.is && a), u && (d.__m && d.__m(e, n), u = !1), n = null;
|
|
232
|
+
}
|
|
233
|
+
if (h == null)
|
|
234
|
+
m === a || u && _.data == a || (_.data = a);
|
|
235
|
+
else {
|
|
236
|
+
if (n = n && E.call(_.childNodes), m = t.props || D, !u && n != null)
|
|
237
|
+
for (m = {}, s = 0; s < _.attributes.length; s++)
|
|
238
|
+
m[(c = _.attributes[s]).name] = c.value;
|
|
239
|
+
for (s in m)
|
|
240
|
+
if (c = m[s], s != "children") {
|
|
241
|
+
if (s == "dangerouslySetInnerHTML")
|
|
242
|
+
r = c;
|
|
243
|
+
else if (!(s in a)) {
|
|
244
|
+
if (s == "value" && "defaultValue" in a || s == "checked" && "defaultChecked" in a)
|
|
245
|
+
continue;
|
|
246
|
+
F(_, s, null, c, l);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
for (s in a)
|
|
250
|
+
c = a[s], s == "children" ? v = c : s == "dangerouslySetInnerHTML" ? f = c : s == "value" ? y = c : s == "checked" ? g = c : u && typeof c != "function" || m[s] === c || F(_, s, c, m[s], l);
|
|
251
|
+
if (f)
|
|
252
|
+
u || r && (f.__html == r.__html || f.__html == _.innerHTML) || (_.innerHTML = f.__html), e.__k = [];
|
|
253
|
+
else if (r && (_.innerHTML = ""), re(e.type == "template" ? _.content : _, L(v) ? v : [v], e, t, o, h == "foreignObject" ? "http://www.w3.org/1999/xhtml" : l, n, i, n ? n[0] : t.__k && C(t, 0), u, p), n != null)
|
|
254
|
+
for (s = n.length; s--; )
|
|
255
|
+
z(n[s]);
|
|
256
|
+
u || (s = "value", h == "progress" && y == null ? _.removeAttribute("value") : y != null && (y !== _[s] || h == "progress" && !y || h == "option" && y != m[s]) && F(_, s, y, m[s], l), s = "checked", g != null && g != _[s] && F(_, s, g, m[s], l));
|
|
257
|
+
}
|
|
258
|
+
return _;
|
|
259
|
+
}
|
|
260
|
+
function q(_, e, t) {
|
|
261
|
+
try {
|
|
262
|
+
if (typeof _ == "function") {
|
|
263
|
+
var o = typeof _.__u == "function";
|
|
264
|
+
o && _.__u(), o && e == null || (_.__u = _(e));
|
|
265
|
+
} else
|
|
266
|
+
_.current = e;
|
|
267
|
+
} catch (l) {
|
|
268
|
+
d.__e(l, t);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
function se(_, e, t) {
|
|
272
|
+
var o, l;
|
|
273
|
+
if (d.unmount && d.unmount(_), (o = _.ref) && (o.current && o.current != _.__e || q(o, null, e)), (o = _.__c) != null) {
|
|
274
|
+
if (o.componentWillUnmount)
|
|
275
|
+
try {
|
|
276
|
+
o.componentWillUnmount();
|
|
277
|
+
} catch (n) {
|
|
278
|
+
d.__e(n, e);
|
|
279
|
+
}
|
|
280
|
+
o.base = o.__P = null;
|
|
281
|
+
}
|
|
282
|
+
if (o = _.__k)
|
|
283
|
+
for (l = 0; l < o.length; l++)
|
|
284
|
+
o[l] && se(o[l], e, t || typeof _.type != "function");
|
|
285
|
+
t || z(_.__e), _.__c = _.__ = _.__e = void 0;
|
|
286
|
+
}
|
|
287
|
+
function de(_, e, t) {
|
|
288
|
+
return this.constructor(_, t);
|
|
289
|
+
}
|
|
290
|
+
function ve(_, e, t) {
|
|
291
|
+
var o, l, n, i;
|
|
292
|
+
e == document && (e = document.documentElement), d.__ && d.__(_, e), l = (o = typeof t == "function") ? null : t && t.__k || e.__k, n = [], i = [], V(e, _ = (!o && t || e).__k = ce(I, null, [_]), l || D, D, e.namespaceURI, !o && t ? [t] : l ? null : e.firstChild ? E.call(e.childNodes) : null, n, !o && t ? t : l ? l.__e : e.firstChild, o, i), le(n, _, i);
|
|
293
|
+
}
|
|
294
|
+
function ye(_, e) {
|
|
295
|
+
ve(_, e, ye);
|
|
296
|
+
}
|
|
297
|
+
function ge(_, e, t) {
|
|
298
|
+
var o, l, n, i, u = k({}, _.props);
|
|
299
|
+
for (n in _.type && _.type.defaultProps && (i = _.type.defaultProps), e)
|
|
300
|
+
n == "key" ? o = e[n] : n == "ref" ? l = e[n] : u[n] = e[n] === void 0 && i != null ? i[n] : e[n];
|
|
301
|
+
return arguments.length > 2 && (u.children = arguments.length > 3 ? E.call(arguments, 2) : t), M(_.type, u, o || _.key, l || _.ref, null);
|
|
302
|
+
}
|
|
303
|
+
function be(_) {
|
|
304
|
+
function e(t) {
|
|
305
|
+
var o, l;
|
|
306
|
+
return this.getChildContext || (o = /* @__PURE__ */ new Set(), (l = {})[e.__c] = this, this.getChildContext = function() {
|
|
307
|
+
return l;
|
|
308
|
+
}, this.componentWillUnmount = function() {
|
|
309
|
+
o = null;
|
|
310
|
+
}, this.shouldComponentUpdate = function(n) {
|
|
311
|
+
this.props.value != n.value && o.forEach(function(i) {
|
|
312
|
+
i.__e = !0, B(i);
|
|
313
|
+
});
|
|
314
|
+
}, this.sub = function(n) {
|
|
315
|
+
o.add(n);
|
|
316
|
+
var i = n.componentWillUnmount;
|
|
317
|
+
n.componentWillUnmount = function() {
|
|
318
|
+
o && o.delete(n), i && i.call(n);
|
|
319
|
+
};
|
|
320
|
+
}), t.children;
|
|
321
|
+
}
|
|
322
|
+
return e.__c = "__cC" + _e++, e.__ = _, e.Provider = e.__l = (e.Consumer = function(t, o) {
|
|
323
|
+
return t.children(o);
|
|
324
|
+
}).contextType = e, e;
|
|
325
|
+
}
|
|
326
|
+
E = te.slice, d = { __e: function(_, e, t, o) {
|
|
327
|
+
for (var l, n, i; e = e.__; )
|
|
328
|
+
if ((l = e.__c) && !l.__)
|
|
329
|
+
try {
|
|
330
|
+
if ((n = l.constructor) && n.getDerivedStateFromError != null && (l.setState(n.getDerivedStateFromError(_)), i = l.__d), l.componentDidCatch != null && (l.componentDidCatch(_, o || {}), i = l.__d), i)
|
|
331
|
+
return l.__E = l;
|
|
332
|
+
} catch (u) {
|
|
333
|
+
_ = u;
|
|
334
|
+
}
|
|
335
|
+
throw _;
|
|
336
|
+
} }, X = 0, N.prototype.setState = function(_, e) {
|
|
337
|
+
var t;
|
|
338
|
+
t = this.__s != null && this.__s != this.state ? this.__s : this.__s = k({}, this.state), typeof _ == "function" && (_ = _(k({}, t), this.props)), _ && k(t, _), _ != null && this.__v && (e && this._sb.push(e), B(this));
|
|
339
|
+
}, N.prototype.forceUpdate = function(_) {
|
|
340
|
+
this.__v && (this.__e = !0, _ && this.__h.push(_), B(this));
|
|
341
|
+
}, N.prototype.render = I, x = [], Y = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Z = function(_, e) {
|
|
342
|
+
return _.__v.__b - e.__v.__b;
|
|
343
|
+
}, H.__r = 0, ee = /(PointerCapture)$|Capture$/i, O = 0, R = Q(!1), j = Q(!0), _e = 0;
|
|
344
|
+
export {
|
|
345
|
+
ve as E,
|
|
346
|
+
ye as G,
|
|
347
|
+
fe as H,
|
|
348
|
+
ge as J,
|
|
349
|
+
be as K,
|
|
350
|
+
ce as _,
|
|
351
|
+
me as b,
|
|
352
|
+
I as k,
|
|
353
|
+
d as l,
|
|
354
|
+
N as x
|
|
355
|
+
};
|