@nebula.js/stardust 5.9.3 → 5.10.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/core/esm/dev.js +238 -238
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +2 -2
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +391 -391
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +2 -2
- package/dist/stardust.js.map +1 -1
- package/package.json +9 -9
package/dist/stardust.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v5.
|
|
2
|
+
* @nebula.js/stardust v5.10.0
|
|
3
3
|
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
// AsyncIterator objects; they just return a Promise for the value of
|
|
283
283
|
// the final result produced by the iterator.
|
|
284
284
|
exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
285
|
-
if (PromiseImpl ===
|
|
285
|
+
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
286
286
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
287
287
|
return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
|
288
288
|
: iter.next().then(function (result) {
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
function _toPrimitive(t, r) {
|
|
793
793
|
if ("object" != typeof t || !t) return t;
|
|
794
794
|
var e = t[Symbol.toPrimitive];
|
|
795
|
-
if (
|
|
795
|
+
if (void 0 !== e) {
|
|
796
796
|
var i = e.call(t, r);
|
|
797
797
|
if ("object" != typeof i) return i;
|
|
798
798
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
@@ -827,7 +827,7 @@
|
|
|
827
827
|
var B={isMounted:function(){return false},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}E.prototype.isReactComponent={};
|
|
828
828
|
E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState");};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}var H=G.prototype=new F;
|
|
829
829
|
H.constructor=G;C(H,E.prototype);H.isPureReactComponent=true;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:true,ref:true,__self:true,__source:true};
|
|
830
|
-
function M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in
|
|
830
|
+
function M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f;}if(a&&a.defaultProps)for(d in g=a.defaultProps,g) void 0===c[d]&&(c[d]=g[d]);return {$$typeof:l,type:a,key:k,ref:h,props:c,_owner:K.current}}
|
|
831
831
|
function N(a,b){return {$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return "object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return "$"+a.replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g;function Q(a,b){return "object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
832
832
|
function R(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=false;if(null===a)h=true;else switch(k){case "string":case "number":h=true;break;case "object":switch(a.$$typeof){case l:case n:h=true;}}if(h)return h=a,c=c(h),a=""===d?"."+Q(h,0):d,I(c)?(e="",null!=a&&(e=a.replace(P,"$&/")+"/"),R(c,b,e,"",function(a){return a})):null!=c&&(O(c)&&(c=N(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(P,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(I(a))for(var g=0;g<a.length;g++){k=
|
|
833
833
|
a[g];var f=d+Q(k,g);h+=R(k,b,e,f,c);}else if(f=A(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+Q(k,g++),h+=R(k,b,e,f,c);else if("object"===k)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}
|
|
@@ -835,9 +835,9 @@
|
|
|
835
835
|
var U={current:null},V={transition:null},W={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:K};function X(){throw Error("act(...) is not supported in production builds of React.");}
|
|
836
836
|
react_production_min.Children={map:S,forEach:function(a,b,e){S(a,function(){b.apply(this,arguments);},e);},count:function(a){var b=0;S(a,function(){b++;});return b},toArray:function(a){return S(a,function(a){return a})||[]},only:function(a){if(!O(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};react_production_min.Component=E;react_production_min.Fragment=p;react_production_min.Profiler=r;react_production_min.PureComponent=G;react_production_min.StrictMode=q;react_production_min.Suspense=w;
|
|
837
837
|
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W;react_production_min.act=X;
|
|
838
|
-
react_production_min.cloneElement=function(a,b,e){if(null===a||
|
|
838
|
+
react_production_min.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=C({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){ void 0!==b.ref&&(k=b.ref,h=K.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)J.call(b,f)&&!L.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f]);}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);
|
|
839
839
|
for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g;}return {$$typeof:l,type:a.type,key:c,ref:k,props:d,_owner:h}};react_production_min.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};react_production_min.createElement=M;react_production_min.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};react_production_min.createRef=function(){return {current:null}};
|
|
840
|
-
react_production_min.forwardRef=function(a){return {$$typeof:v,render:a}};react_production_min.isValidElement=O;react_production_min.lazy=function(a){return {$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};react_production_min.memo=function(a,b){return {$$typeof:x,type:a,compare:
|
|
840
|
+
react_production_min.forwardRef=function(a){return {$$typeof:v,render:a}};react_production_min.isValidElement=O;react_production_min.lazy=function(a){return {$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};react_production_min.memo=function(a,b){return {$$typeof:x,type:a,compare:void 0===b?null:b}};react_production_min.startTransition=function(a){var b=V.transition;V.transition={};try{a();}finally{V.transition=b;}};react_production_min.unstable_act=X;react_production_min.useCallback=function(a,b){return U.current.useCallback(a,b)};react_production_min.useContext=function(a){return U.current.useContext(a)};
|
|
841
841
|
react_production_min.useDebugValue=function(){};react_production_min.useDeferredValue=function(a){return U.current.useDeferredValue(a)};react_production_min.useEffect=function(a,b){return U.current.useEffect(a,b)};react_production_min.useId=function(){return U.current.useId()};react_production_min.useImperativeHandle=function(a,b,e){return U.current.useImperativeHandle(a,b,e)};react_production_min.useInsertionEffect=function(a,b){return U.current.useInsertionEffect(a,b)};react_production_min.useLayoutEffect=function(a,b){return U.current.useLayoutEffect(a,b)};
|
|
842
842
|
react_production_min.useMemo=function(a,b){return U.current.useMemo(a,b)};react_production_min.useReducer=function(a,b,e){return U.current.useReducer(a,b,e)};react_production_min.useRef=function(a){return U.current.useRef(a)};react_production_min.useState=function(a){return U.current.useState(a)};react_production_min.useSyncExternalStore=function(a,b,e){return U.current.useSyncExternalStore(a,b,e)};react_production_min.useTransition=function(){return U.current.useTransition()};react_production_min.version="18.3.1";
|
|
843
843
|
return react_production_min;
|
|
@@ -2146,7 +2146,7 @@
|
|
|
2146
2146
|
};
|
|
2147
2147
|
|
|
2148
2148
|
util.isUndefined = function isUndefined(arg) {
|
|
2149
|
-
return arg ===
|
|
2149
|
+
return arg === void 0;
|
|
2150
2150
|
};
|
|
2151
2151
|
|
|
2152
2152
|
util.isFunction = function isFunction(arg){
|
|
@@ -2895,7 +2895,7 @@
|
|
|
2895
2895
|
var getProperty = function getProperty(obj, name) {
|
|
2896
2896
|
if (name === '__proto__') {
|
|
2897
2897
|
if (!hasOwn.call(obj, name)) {
|
|
2898
|
-
return
|
|
2898
|
+
return void 0;
|
|
2899
2899
|
} else if (gOPD) {
|
|
2900
2900
|
// In early versions of node, obj['__proto__'] is buggy when obj has
|
|
2901
2901
|
// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.
|
|
@@ -4944,8 +4944,8 @@
|
|
|
4944
4944
|
};
|
|
4945
4945
|
},
|
|
4946
4946
|
uiColor(c, shift) {
|
|
4947
|
-
const indexIsValid = typeof (c === null || c ===
|
|
4948
|
-
const colorIsValid = typeof (c === null || c ===
|
|
4947
|
+
const indexIsValid = typeof (c === null || c === void 0 ? void 0 : c.index) === 'number' && !Number.isNaN(c === null || c === void 0 ? void 0 : c.index);
|
|
4948
|
+
const colorIsValid = typeof (c === null || c === void 0 ? void 0 : c.color) === 'string';
|
|
4949
4949
|
const somethingIsValid = indexIsValid || colorIsValid;
|
|
4950
4950
|
if (!somethingIsValid) {
|
|
4951
4951
|
return undefined;
|
|
@@ -4953,7 +4953,7 @@
|
|
|
4953
4953
|
const getColor = () => {
|
|
4954
4954
|
// eslint-disable-next-line no-param-reassign
|
|
4955
4955
|
shift = !!shift;
|
|
4956
|
-
if ((c === null || c ===
|
|
4956
|
+
if ((c === null || c === void 0 ? void 0 : c.index) < 0 || typeof (c === null || c === void 0 ? void 0 : c.index) === 'undefined') {
|
|
4957
4957
|
return c.color;
|
|
4958
4958
|
}
|
|
4959
4959
|
if (typeof uiPalette === 'undefined') {
|
|
@@ -5612,7 +5612,7 @@
|
|
|
5612
5612
|
(function (exports) {
|
|
5613
5613
|
function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}
|
|
5614
5614
|
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()};}else {var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q};}var r=[],t=[],u=1,v=null,y=3,z=false,A=false,B=false,D="function"===typeof setTimeout?setTimeout:null,E="function"===typeof clearTimeout?clearTimeout:null,F="undefined"!==typeof setImmediate?setImmediate:null;
|
|
5615
|
-
"undefined"!==typeof navigator&&
|
|
5615
|
+
"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t);}}function H(a){B=false;G(a);if(!A)if(null!==h(r))A=true,I(J);else {var b=h(t);null!==b&&K(H,b.startTime-a);}}
|
|
5616
5616
|
function J(a,b){A=false;B&&(B=false,E(L),L=-1);z=true;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?v.callback=e:v===h(r)&&k(r);G(b);}else k(r);v=h(r);}if(null!==v)var w=!0;else {var m=h(t);null!==m&&K(H,m.startTime-b);w=!1;}return w}finally{v=null,y=c,z=false;}}var N=false,O=null,L=-1,P=5,Q=-1;
|
|
5617
5617
|
function M(){return exports.unstable_now()-Q<P?false:true}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=true;try{b=O(!0,a);}finally{b?S():(N=false,O=null);}}else N=false;}var S;if("function"===typeof F)S=function(){F(R);};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null);};}else S=function(){D(R,0);};function I(a){O=a;N||(N=true,S());}function K(a,b){L=D(function(){a(exports.unstable_now());},b);}
|
|
5618
5618
|
exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null;};exports.unstable_continueExecution=function(){A||z||(A=true,I(J));};
|
|
@@ -5663,8 +5663,8 @@
|
|
|
5663
5663
|
sa);z[b]=new v(b,1,false,a,null,false,false);});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,false,a,"http://www.w3.org/1999/xlink",false,false);});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,false,a,"http://www.w3.org/XML/1998/namespace",false,false);});["tabIndex","crossOrigin"].forEach(function(a){z[a]=new v(a,1,false,a.toLowerCase(),null,false,false);});
|
|
5664
5664
|
z.xlinkHref=new v("xlinkHref",1,false,"xlink:href","http://www.w3.org/1999/xlink",true,false);["src","href","action","formAction"].forEach(function(a){z[a]=new v(a,1,false,a.toLowerCase(),null,true,true);});
|
|
5665
5665
|
function ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])qa(b,c,e,d)&&(c=null),d||null===e?oa(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?false:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&true===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)));}
|
|
5666
|
-
var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"); var Ia=Symbol.for("react.offscreen");var Ja=Symbol.iterator;function Ka(a){if(null===a||"object"!==typeof a)return null;a=Ja&&a[Ja]||a["@@iterator"];return "function"===typeof a?a:null}var A=Object.assign,La;function Ma(a){if(
|
|
5667
|
-
function Oa(a,b){if(!a||Na)return "";Na=true;var c=Error.prepareStackTrace;Error.prepareStackTrace=
|
|
5666
|
+
var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"); var Ia=Symbol.for("react.offscreen");var Ja=Symbol.iterator;function Ka(a){if(null===a||"object"!==typeof a)return null;a=Ja&&a[Ja]||a["@@iterator"];return "function"===typeof a?a:null}var A=Object.assign,La;function Ma(a){if(void 0===La)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);La=b&&b[1]||"";}return "\n"+La+a}var Na=false;
|
|
5667
|
+
function Oa(a,b){if(!a||Na)return "";Na=true;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[]);}catch(l){var d=l;}Reflect.construct(a,[],b);}else {try{b.call();}catch(l){d=l;}a.call(b.prototype);}else {try{throw Error();}catch(l){d=l;}a();}}catch(l){if(l&&d&&"string"===typeof l.stack){for(var e=l.stack.split("\n"),
|
|
5668
5668
|
f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h]){var k="\n"+e[g].replace(" at new "," at ");a.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=false,Error.prepareStackTrace=c;}return (a=a?a.displayName||a.name:"")?Ma(a):""}
|
|
5669
5669
|
function Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return a=Oa(a.type,false),a;case 11:return a=Oa(a.type.render,false),a;case 1:return a=Oa(a.type,true),a;default:return ""}}
|
|
5670
5670
|
function Qa(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case ya:return "Fragment";case wa:return "Portal";case Aa:return "Profiler";case za:return "StrictMode";case Ea:return "Suspense";case Fa:return "SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ca:return (a.displayName||"Context")+".Consumer";case Ba:return (a._context.displayName||"Context")+".Provider";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||
|
|
@@ -5673,13 +5673,13 @@
|
|
|
5673
5673
|
case 12:return "Profiler";case 21:return "Scope";case 13:return "Suspense";case 19:return "SuspenseList";case 25:return "TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function Sa(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return ""}}
|
|
5674
5674
|
function Ta(a){var b=a.type;return (a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
|
5675
5675
|
function Ua(a){var b=Ta(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:true,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a);}});Object.defineProperty(a,b,{enumerable:c.enumerable});return {getValue:function(){return d},setValue:function(a){d=""+a;},stopTracking:function(){a._valueTracker=
|
|
5676
|
-
null;delete a[b];}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a));}function Wa(a){if(!a)return false;var b=a._valueTracker;if(!b)return true;var c=b.getValue();var d="";a&&(d=Ta(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),true):false}function Xa(a){a=a||("undefined"!==typeof document?document:
|
|
5677
|
-
function Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:
|
|
5676
|
+
null;delete a[b];}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a));}function Wa(a){if(!a)return false;var b=a._valueTracker;if(!b)return true;var c=b.getValue();var d="";a&&(d=Ta(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),true):false}function Xa(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}
|
|
5677
|
+
function Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value};}function ab(a,b){b=b.checked;null!=b&&ta(a,"checked",b,false);}
|
|
5678
5678
|
function bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c;}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?cb(a,b.type,c):b.hasOwnProperty("defaultValue")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked);}
|
|
5679
|
-
function db(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||
|
|
5679
|
+
function db(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b;}c=a.name;""!==c&&(a.name="");a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c);}
|
|
5680
5680
|
function cb(a,b,c){if("number"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c);}var eb=Array.isArray;
|
|
5681
5681
|
function fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=true;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=true);}else {c=""+Sa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=true;d&&(a[e].defaultSelected=true);return}null!==b||a[e].disabled||(b=a[e]);}null!==b&&(b.selected=true);}}
|
|
5682
|
-
function gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(p(91));return A({},b,{value:
|
|
5682
|
+
function gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(p(91));return A({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function hb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(p(92));if(eb(c)){if(1<c.length)throw Error(p(93));c=c[0];}b=c;}null==b&&(b="");c=b;}a._wrapperState={initialValue:Sa(c)};}
|
|
5683
5683
|
function ib(a,b){var c=Sa(b.value),d=Sa(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d);}function jb(a){var b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b);}function kb(a){switch(a){case "svg":return "http://www.w3.org/2000/svg";case "math":return "http://www.w3.org/1998/Math/MathML";default:return "http://www.w3.org/1999/xhtml"}}
|
|
5684
5684
|
function lb(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?kb(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
|
|
5685
5685
|
var mb,nb=function(a){return "undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)});}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else {mb=mb||document.createElement("div");mb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild);}});
|
|
@@ -5714,11 +5714,11 @@
|
|
|
5714
5714
|
function fd(a,b,c,d){if(dd){var e=Yc(a,b,c,d);if(null===e)hd(a,b,d,id,c),Sc(a,d);else if(Uc(e,a,b,c,d))d.stopPropagation();else if(Sc(a,d),b&4&&-1<Rc.indexOf(a)){for(;null!==e;){var f=Cb(e);null!==f&&Ec(f);f=Yc(a,b,c,d);null===f&&hd(a,b,d,id,c);if(f===e)break;e=f;}null!==e&&d.stopPropagation();}else hd(a,b,d,null,c);}}var id=null;
|
|
5715
5715
|
function Yc(a,b,c,d){id=null;a=xb(d);a=Wc(a);if(null!==a)if(b=Vb(a),null===b)a=null;else if(c=b.tag,13===c){a=Wb(b);if(null!==a)return a;a=null;}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null;}else b!==a&&(a=null);id=a;return null}
|
|
5716
5716
|
function jd(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 1;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 4;
|
|
5717
|
-
case "message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a,b=ld,c=b.length,d,e="value"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:
|
|
5717
|
+
case "message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a,b=ld,c=b.length,d,e="value"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:void 0)}
|
|
5718
5718
|
function od(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function pd(){return true}function qd(){return false}
|
|
5719
5719
|
function rd(a){function b(b,d,e,f,g){this._reactName=b;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var c in a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:false===f.returnValue)?pd:qd;this.isPropagationStopped=qd;return this}A(b.prototype,{preventDefault:function(){this.defaultPrevented=true;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&
|
|
5720
5720
|
(a.returnValue=false),this.isDefaultPrevented=pd);},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=true),this.isPropagationStopped=pd);},persist:function(){},isPersistent:pd});return b}
|
|
5721
|
-
var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return
|
|
5721
|
+
var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in
|
|
5722
5722
|
a)return a.movementX;a!==yd&&(yd&&"mousemove"===a.type?(wd=a.screenX-yd.screenX,xd=a.screenY-yd.screenY):xd=wd=0,yd=a);return wd},movementY:function(a){return "movementY"in a?a.movementY:xd}}),Bd=rd(Ad),Cd=A({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=A({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=A({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=A({},sd,{clipboardData:function(a){return "clipboardData"in a?a.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=A({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",
|
|
5723
5723
|
Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",
|
|
5724
5724
|
119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Od[a])?!!b[a]:false}function zd(){return Pd}
|
|
@@ -5731,9 +5731,9 @@
|
|
|
5731
5731
|
function ve(a,b){if("change"===a)return b}var we=false;if(ia){var xe;if(ia){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;");ye="function"===typeof ze.oninput;}xe=ye;}else xe=false;we=xe&&(!document.documentMode||9<document.documentMode);}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null);}function Be(a){if("value"===a.propertyName&&te(qe)){var b=[];ne(b,qe,a,xb(a));Jb(re,b);}}
|
|
5732
5732
|
function Ce(a,b,c){"focusin"===a?(Ae(),pe=b,qe=c,pe.attachEvent("onpropertychange",Be)):"focusout"===a&&Ae();}function De(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return te(qe)}function Ee(a,b){if("click"===a)return te(b)}function Fe(a,b){if("input"===a||"change"===a)return te(b)}function Ge(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var He="function"===typeof Object.is?Object.is:Ge;
|
|
5733
5733
|
function Ie(a,b){if(He(a,b))return true;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return false;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return false;for(d=0;d<c.length;d++){var e=c[d];if(!ja.call(b,e)||!He(a[e],b[e]))return false}return true}function Je(a){for(;a&&a.firstChild;)a=a.firstChild;return a}
|
|
5734
|
-
function Ke(a,b){var c=Je(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return {node:c,offset:b-a};a=d;}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode;}c=
|
|
5734
|
+
function Ke(a,b){var c=Je(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return {node:c,offset:b-a};a=d;}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode;}c=void 0;}c=Je(c);}}function Le(a,b){return a&&b?a===b?true:a&&3===a.nodeType?false:b&&3===b.nodeType?Le(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):false:false}
|
|
5735
5735
|
function Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href;}catch(d){c=false;}if(c)a=b.contentWindow;else break;b=Xa(a.document);}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}
|
|
5736
|
-
function Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,
|
|
5736
|
+
function Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,
|
|
5737
5737
|
d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)));}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top;}}
|
|
5738
5738
|
var Pe=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=false;
|
|
5739
5739
|
function Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,"selectionStart"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,"onSelect"),0<d.length&&(b=new td("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Qe)));}
|
|
@@ -5742,27 +5742,27 @@
|
|
|
5742
5742
|
function ff(a,b){df.set(a,b);fa(b,[a]);}for(var gf=0;gf<ef.length;gf++){var hf=ef[gf],jf=hf.toLowerCase(),kf=hf[0].toUpperCase()+hf.slice(1);ff(jf,"on"+kf);}ff($e,"onAnimationEnd");ff(af,"onAnimationIteration");ff(bf,"onAnimationStart");ff("dblclick","onDoubleClick");ff("focusin","onFocus");ff("focusout","onBlur");ff(cf,"onTransitionEnd");ha("onMouseEnter",["mouseout","mouseover"]);ha("onMouseLeave",["mouseout","mouseover"]);ha("onPointerEnter",["pointerout","pointerover"]);
|
|
5743
5743
|
ha("onPointerLeave",["pointerout","pointerover"]);fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fa("onBeforeInput",["compositionend","keypress","textInput","paste"]);fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));
|
|
5744
5744
|
fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));
|
|
5745
|
-
function nf(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ub(d,b,
|
|
5746
|
-
function se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=
|
|
5747
|
-
function D(a,b){var c=b[of];
|
|
5748
|
-
function pf(a,b,c,d){switch(jd(b)){case 1:var e=ed;break;case 4:e=gd;break;default:e=fd;}c=e.bind(null,b,c,a);e=
|
|
5745
|
+
function nf(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ub(d,b,void 0,a);a.currentTarget=null;}
|
|
5746
|
+
function se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;nf(e,h,l);f=k;}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;nf(e,h,l);f=k;}}}if(Qb)throw a=Rb,Qb=false,Rb=null,a;}
|
|
5747
|
+
function D(a,b){var c=b[of];void 0===c&&(c=b[of]=new Set);var d=a+"__bubble";c.has(d)||(pf(b,a,2,false),c.add(d));}function qf(a,b,c){var d=0;b&&(d|=4);pf(c,a,d,b);}var rf="_reactListening"+Math.random().toString(36).slice(2);function sf(a){if(!a[rf]){a[rf]=true;da.forEach(function(b){"selectionchange"!==b&&(mf.has(b)||qf(b,false,a),qf(b,true,a));});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[rf]||(b[rf]=true,qf("selectionchange",false,b));}}
|
|
5748
|
+
function pf(a,b,c,d){switch(jd(b)){case 1:var e=ed;break;case 4:e=gd;break;default:e=fd;}c=e.bind(null,b,c,a);e=void 0;!Lb||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=true);d?void 0!==e?a.addEventListener(b,c,{capture:true,passive:e}):a.addEventListener(b,c,true):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,false);}
|
|
5749
5749
|
function hd(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return;}for(;null!==h;){g=Wc(h);if(null===g)return;k=g.tag;if(5===k||6===k){d=f=g;continue a}h=h.parentNode;}}d=d.return;}Jb(function(){var d=f,e=xb(c),g=[];
|
|
5750
|
-
a:{var h=df.get(a);if(
|
|
5750
|
+
a:{var h=df.get(a);if(void 0!==h){var k=td,n=a;switch(a){case "keypress":if(0===od(c))break a;case "keydown":case "keyup":k=Rd;break;case "focusin":n="focus";k=Fd;break;case "focusout":n="blur";k=Fd;break;case "beforeblur":case "afterblur":k=Fd;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":k=Bd;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":k=
|
|
5751
5751
|
Dd;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":k=Vd;break;case $e:case af:case bf:k=Hd;break;case cf:k=Xd;break;case "scroll":k=vd;break;case "wheel":k=Zd;break;case "copy":case "cut":case "paste":k=Jd;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":k=Td;}var t=0!==(b&4),J=!t&&"scroll"===a,x=t?null!==h?h+"Capture":null:h;t=[];for(var w=d,u;null!==
|
|
5752
5752
|
w;){u=w;var F=u.stateNode;5===u.tag&&null!==F&&(u=F,null!==x&&(F=Kb(w,x),null!=F&&t.push(tf(w,F,u))));if(J)break;w=w.return;}0<t.length&&(h=new k(h,n,null,c,e),g.push({event:h,listeners:t}));}}if(0===(b&7)){a:{h="mouseover"===a||"pointerover"===a;k="mouseout"===a||"pointerout"===a;if(h&&c!==wb&&(n=c.relatedTarget||c.fromElement)&&(Wc(n)||n[uf]))break a;if(k||h){h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||h.parentWindow:window;if(k){if(n=c.relatedTarget||c.toElement,k=d,n=n?Wc(n):null,null!==
|
|
5753
5753
|
n&&(J=Vb(n),n!==J||5!==n.tag&&6!==n.tag))n=null;}else k=null,n=d;if(k!==n){t=Bd;F="onMouseLeave";x="onMouseEnter";w="mouse";if("pointerout"===a||"pointerover"===a)t=Td,F="onPointerLeave",x="onPointerEnter",w="pointer";J=null==k?h:ue(k);u=null==n?h:ue(n);h=new t(F,w+"leave",k,c,e);h.target=J;h.relatedTarget=u;F=null;Wc(e)===d&&(t=new t(x,w+"enter",n,c,e),t.target=u,t.relatedTarget=J,F=t);J=F;if(k&&n)b:{t=k;x=n;w=0;for(u=t;u;u=vf(u))w++;u=0;for(F=x;F;F=vf(F))u++;for(;0<w-u;)t=vf(t),w--;for(;0<u-w;)x=
|
|
5754
5754
|
vf(x),u--;for(;w--;){if(t===x||null!==x&&t===x.alternate)break b;t=vf(t);x=vf(x);}t=null;}else t=null;null!==k&&wf(g,h,k,t,false);null!==n&&null!==J&&wf(g,J,n,t,true);}}}a:{h=d?ue(d):window;k=h.nodeName&&h.nodeName.toLowerCase();if("select"===k||"input"===k&&"file"===h.type)var na=ve;else if(me(h))if(we)na=Fe;else {na=De;var xa=Ce;}else (k=h.nodeName)&&"input"===k.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(na=Ee);if(na&&(na=na(a,d))){ne(g,na,c,e);break a}xa&&xa(a,h,d);"focusout"===a&&(xa=h._wrapperState)&&
|
|
5755
5755
|
xa.controlled&&"number"===h.type&&cb(h,"number",h.value);}xa=d?ue(d):window;switch(a){case "focusin":if(me(xa)||"true"===xa.contentEditable)Qe=xa,Re=d,Se=null;break;case "focusout":Se=Re=Qe=null;break;case "mousedown":Te=true;break;case "contextmenu":case "mouseup":case "dragend":Te=false;Ue(g,c,e);break;case "selectionchange":if(Pe)break;case "keydown":case "keyup":Ue(g,c,e);}var $a;if(ae)b:{switch(a){case "compositionstart":var ba="onCompositionStart";break b;case "compositionend":ba="onCompositionEnd";
|
|
5756
|
-
break b;case "compositionupdate":ba="onCompositionUpdate";break b}ba=
|
|
5756
|
+
break b;case "compositionupdate":ba="onCompositionUpdate";break b}ba=void 0;}else ie?ge(a,c)&&(ba="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(ba="onCompositionStart");ba&&(de&&"ko"!==c.locale&&(ie||"onCompositionStart"!==ba?"onCompositionEnd"===ba&&ie&&($a=nd()):(kd=e,ld="value"in kd?kd.value:kd.textContent,ie=true)),xa=oe(d,ba),0<xa.length&&(ba=new Ld(ba,a,null,c,e),g.push({event:ba,listeners:xa}),$a?ba.data=$a:($a=he(c),null!==$a&&(ba.data=$a))));if($a=ce?je(a,c):ke(a,c))d=oe(d,"onBeforeInput"),
|
|
5757
5757
|
0<d.length&&(e=new Ld("onBeforeInput","beforeinput",null,c,e),g.push({event:e,listeners:d}),e.data=$a);}se(g,b);});}function tf(a,b,c){return {instance:a,listener:b,currentTarget:c}}function oe(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,f=Kb(a,c),null!=f&&d.unshift(tf(a,f,e)),f=Kb(a,b),null!=f&&d.push(tf(a,f,e)));a=a.return;}return d}function vf(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag);return a?a:null}
|
|
5758
5758
|
function wf(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,l=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==l&&(h=l,e?(k=Kb(c,f),null!=k&&g.unshift(tf(c,k,h))):e||(k=Kb(c,f),null!=k&&g.push(tf(c,k,h))));c=c.return;}0!==g.length&&a.push({event:b,listeners:g});}var xf=/\r\n?/g,yf=/\u0000|\uFFFD/g;function zf(a){return ("string"===typeof a?a:""+a).replace(xf,"\n").replace(yf,"")}function Af(a,b,c){b=zf(b);if(zf(a)!==b&&c)throw Error(p(425));}function Bf(){}
|
|
5759
5759
|
var Cf=null,Df=null;function Ef(a,b){return "textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}
|
|
5760
|
-
var Ff="function"===typeof setTimeout?setTimeout:
|
|
5760
|
+
var Ff="function"===typeof setTimeout?setTimeout:void 0,Gf="function"===typeof clearTimeout?clearTimeout:void 0,Hf="function"===typeof Promise?Promise:void 0,Jf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof Hf?function(a){return Hf.resolve(null).then(a).catch(If)}:Ff;function If(a){setTimeout(function(){throw a;});}
|
|
5761
5761
|
function Kf(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);bd(b);return}d--;}else "$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e;}while(c);bd(b);}function Lf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b)break;if("/$"===b)return null}}return a}
|
|
5762
5762
|
function Mf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--;}else "/$"===c&&b++;}a=a.previousSibling;}return null}var Nf=Math.random().toString(36).slice(2),Of="__reactFiber$"+Nf,Pf="__reactProps$"+Nf,uf="__reactContainer$"+Nf,of="__reactEvents$"+Nf,Qf="__reactListeners$"+Nf,Rf="__reactHandles$"+Nf;
|
|
5763
5763
|
function Wc(a){var b=a[Of];if(b)return b;for(var c=a.parentNode;c;){if(b=c[uf]||c[Of]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Mf(a);null!==a;){if(c=a[Of])return c;a=Mf(a);}return b}a=c;c=a.parentNode;}return null}function Cb(a){a=a[Of]||a[uf];return !a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(p(33));}function Db(a){return a[Pf]||null}var Sf=[],Tf=-1;function Uf(a){return {current:a}}
|
|
5764
5764
|
function E(a){0>Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--);}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b;}var Vf={},H=Uf(Vf),Wf=Uf(false),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}
|
|
5765
|
-
function Zf(a){a=a.childContextTypes;return null!==a&&
|
|
5765
|
+
function Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H);}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c);}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||"Unknown",e));return A({},c,d)}
|
|
5766
5766
|
function cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return true}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c);}var eg=null,fg=false,gg=false;function hg(a){null===eg?eg=[a]:eg.push(a);}function ig(a){fg=true;hg(a);}
|
|
5767
5767
|
function jg(){if(!gg&&null!==eg){gg=true;var a=0,b=C;try{var c=eg;for(C=1;a<c.length;a++){var d=c[a];do d=d(!0);while(null!==d)}eg=null;fg=!1;}catch(e){throw null!==eg&&(eg=eg.slice(a+1)),ac(fc,jg),e;}finally{C=b,gg=false;}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg="";function tg(a,b){kg[lg++]=ng;kg[lg++]=mg;mg=a;ng=b;}
|
|
5768
5768
|
function ug(a,b,c){og[pg++]=rg;og[pg++]=sg;og[pg++]=qg;qg=a;var d=rg;a=sg;var e=32-oc(d)-1;d&=~(1<<e);c+=1;var f=32-oc(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;rg=1<<32-oc(b)+e|c<<e|d;sg=f+a;}else rg=1<<f|c<<e|d,sg=a;}function vg(a){null!==a.return&&(tg(a,1),ug(a,1,0));}function wg(a){for(;a===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;a===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null;}var xg=null,yg=null,I=false,zg=null;
|
|
@@ -5791,11 +5791,11 @@
|
|
|
5791
5791
|
function ph(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next;}while(null!==c);null===f?e=f=b:f=f.next=b;}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=
|
|
5792
5792
|
b;c.lastBaseUpdate=b;}
|
|
5793
5793
|
function qh(a,b,c,d){var e=a.updateQueue;jh=false;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k));}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,
|
|
5794
|
-
next:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if("function"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r="function"===typeof n?n.call(y,q,r):n;if(null===r||
|
|
5794
|
+
next:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if("function"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r="function"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:jh=true;}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h));}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;
|
|
5795
5795
|
h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null;}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q;}}
|
|
5796
5796
|
function sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if("function"!==typeof e)throw Error(p(191,e));e.call(d);}}}var th={},uh=Uf(th),vh=Uf(th),wh=Uf(th);function xh(a){if(a===th)throw Error(p(174));return a}
|
|
5797
5797
|
function yh(a,b){G(wh,b);G(vh,a);G(uh,th);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a);}E(uh);G(uh,b);}function zh(){E(uh);E(vh);E(wh);}function Ah(a){xh(wh.current);var b=xh(uh.current);var c=lb(b,a.type);b!==c&&(G(vh,a),G(uh,c));}function Bh(a){vh.current===a&&(E(uh),E(vh));}var L=Uf(0);
|
|
5798
|
-
function Ch(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&
|
|
5798
|
+
function Ch(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}return null}var Dh=[];
|
|
5799
5799
|
function Eh(){for(var a=0;a<Dh.length;a++)Dh[a]._workInProgressVersionPrimary=null;Dh.length=0;}var Fh=ua.ReactCurrentDispatcher,Gh=ua.ReactCurrentBatchConfig,Hh=0,M=null,N=null,O=null,Ih=false,Jh=false,Kh=0,Lh=0;function P(){throw Error(p(321));}function Mh(a,b){if(null===b)return false;for(var c=0;c<b.length&&c<a.length;c++)if(!He(a[c],b[c]))return false;return true}
|
|
5800
5800
|
function Nh(a,b,c,d,e,f){Hh=f;M=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Fh.current=null===a||null===a.memoizedState?Oh:Ph;a=c(d,e);if(Jh){f=0;do{Jh=false;Kh=0;if(25<=f)throw Error(p(301));f+=1;O=N=null;b.updateQueue=null;Fh.current=Qh;a=c(d,e);}while(Jh)}Fh.current=Rh;b=null!==N&&null!==N.next;Hh=0;O=N=M=null;Ih=false;if(b)throw Error(p(300));return a}function Sh(){var a=0!==Kh;Kh=0;return a}
|
|
5801
5801
|
function Th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===O?M.memoizedState=O=a:O=O.next=a;return O}function Uh(){if(null===N){var a=M.alternate;a=null!==a?a.memoizedState:null;}else a=N.next;var b=null===O?M.memoizedState:O.next;if(null!==b)O=b,N=a;else {if(null===a)throw Error(p(310));N=a;a={memoizedState:N.memoizedState,baseState:N.baseState,baseQueue:N.baseQueue,queue:N.queue,next:null};null===O?M.memoizedState=O=a:O=O.next=a;}return O}
|
|
@@ -5803,34 +5803,34 @@
|
|
|
5803
5803
|
function Wh(a){var b=Uh(),c=b.queue;if(null===c)throw Error(p(311));c.lastRenderedReducer=a;var d=N,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g;}d.baseQueue=e=f;c.pending=null;}if(null!==e){f=e.next;d=d.baseState;var h=g=null,k=null,l=f;do{var m=l.lane;if((Hh&m)===m)null!==k&&(k=k.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d=l.hasEagerState?l.eagerState:a(d,l.action);else {var q={lane:m,action:l.action,hasEagerState:l.hasEagerState,
|
|
5804
5804
|
eagerState:l.eagerState,next:null};null===k?(h=k=q,g=d):k=k.next=q;M.lanes|=m;rh|=m;}l=l.next;}while(null!==l&&l!==f);null===k?g=d:k.next=h;He(d,b.memoizedState)||(dh=true);b.memoizedState=d;b.baseState=g;b.baseQueue=k;c.lastRenderedState=d;}a=c.interleaved;if(null!==a){e=a;do f=e.lane,M.lanes|=f,rh|=f,e=e.next;while(e!==a)}else null===e&&(c.lanes=0);return [b.memoizedState,c.dispatch]}
|
|
5805
5805
|
function Xh(a){var b=Uh(),c=b.queue;if(null===c)throw Error(p(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);He(f,b.memoizedState)||(dh=true);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f;}return [f,d]}function Yh(){}
|
|
5806
|
-
function Zh(a,b){var c=M,d=Uh(),e=b(),f=!He(d.memoizedState,e);f&&(d.memoizedState=e,dh=true);d=d.queue;$h(ai.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==O&&O.memoizedState.tag&1){c.flags|=2048;bi(9,ci.bind(null,c,d,e,b),
|
|
5806
|
+
function Zh(a,b){var c=M,d=Uh(),e=b(),f=!He(d.memoizedState,e);f&&(d.memoizedState=e,dh=true);d=d.queue;$h(ai.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==O&&O.memoizedState.tag&1){c.flags|=2048;bi(9,ci.bind(null,c,d,e,b),void 0,null);if(null===Q)throw Error(p(349));0!==(Hh&30)||di(c,b,e);}return e}function di(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=M.updateQueue;null===b?(b={lastEffect:null,stores:null},M.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a));}
|
|
5807
5807
|
function ci(a,b,c,d){b.value=c;b.getSnapshot=d;ei(b)&&fi(a);}function ai(a,b,c){return c(function(){ei(b)&&fi(a);})}function ei(a){var b=a.getSnapshot;a=a.value;try{var c=b();return !He(a,c)}catch(d){return true}}function fi(a){var b=ih(a,1);null!==b&&gi(b,a,1,-1);}
|
|
5808
5808
|
function hi(a){var b=Th();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vh,lastRenderedState:a};b.queue=a;a=a.dispatch=ii.bind(null,M,a);return [b.memoizedState,a]}
|
|
5809
|
-
function bi(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=M.updateQueue;null===b?(b={lastEffect:null,stores:null},M.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function ji(){return Uh().memoizedState}function ki(a,b,c,d){var e=Th();M.flags|=a;e.memoizedState=bi(1|b,c,
|
|
5810
|
-
function li(a,b,c,d){var e=Uh();d=
|
|
5811
|
-
function pi(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null);};if(null!==b&&
|
|
5812
|
-
function ti(a,b){var c=Uh();b=
|
|
5809
|
+
function bi(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=M.updateQueue;null===b?(b={lastEffect:null,stores:null},M.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function ji(){return Uh().memoizedState}function ki(a,b,c,d){var e=Th();M.flags|=a;e.memoizedState=bi(1|b,c,void 0,void 0===d?null:d);}
|
|
5810
|
+
function li(a,b,c,d){var e=Uh();d=void 0===d?null:d;var f=void 0;if(null!==N){var g=N.memoizedState;f=g.destroy;if(null!==d&&Mh(d,g.deps)){e.memoizedState=bi(b,c,f,d);return}}M.flags|=a;e.memoizedState=bi(1|b,c,f,d);}function mi(a,b){return ki(8390656,8,a,b)}function $h(a,b){return li(2048,8,a,b)}function ni(a,b){return li(4,2,a,b)}function oi(a,b){return li(4,4,a,b)}
|
|
5811
|
+
function pi(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null);};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null;}}function qi(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return li(4,4,pi.bind(null,b,a),c)}function ri(){}function si(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
|
|
5812
|
+
function ti(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function ui(a,b,c){if(0===(Hh&21))return a.baseState&&(a.baseState=false,dh=true),a.memoizedState=c;He(c,b)||(c=yc(),M.lanes|=c,rh|=c,a.baseState=true);return b}function vi(a,b){var c=C;C=0!==c&&4>c?c:4;a(true);var d=Gh.transition;Gh.transition={};try{a(!1),b();}finally{C=c,Gh.transition=d;}}function wi(){return Uh().memoizedState}
|
|
5813
5813
|
function xi(a,b,c){var d=yi(a);c={lane:d,action:c,hasEagerState:false,eagerState:null,next:null};if(zi(a))Ai(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R();gi(c,a,d,e);Bi(c,b,d);}}
|
|
5814
5814
|
function ii(a,b,c){var d=yi(a),e={lane:d,action:c,hasEagerState:false,eagerState:null,next:null};if(zi(a))Ai(b,e);else {var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R(),gi(c,a,d,e),Bi(c,b,d));}}
|
|
5815
5815
|
function zi(a){var b=a.alternate;return a===M||null!==b&&b===M}function Ai(a,b){Jh=Ih=true;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b;}function Bi(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c);}}
|
|
5816
|
-
var Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:false},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,
|
|
5817
|
-
4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=
|
|
5818
|
-
Th();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(false),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return [b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(
|
|
5819
|
-
f,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),
|
|
5816
|
+
var Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:false},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,void 0===b?null:b];return a},useContext:eh,useEffect:mi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ki(4194308,
|
|
5817
|
+
4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=xi.bind(null,M,a);return [d.memoizedState,a]},useRef:function(a){var b=
|
|
5818
|
+
Th();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(false),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return [b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(void 0===c)throw Error(p(407));c=c();}else {c=b();if(null===Q)throw Error(p(349));0!==(Hh&30)||di(d,b,c);}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;mi(ai.bind(null,d,
|
|
5819
|
+
f,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=Th(),b=Q.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Kh++;0<c&&(b+="H"+c.toString(32));b+=":";}else c=Lh++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},unstable_isNewReconciler:false},Ph={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Wh,useRef:ji,useState:function(){return Wh(Vh)},
|
|
5820
5820
|
useDebugValue:ri,useDeferredValue:function(a){var b=Uh();return ui(b,N.memoizedState,a)},useTransition:function(){var a=Wh(Vh)[0],b=Uh().memoizedState;return [a,b]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:false},Qh={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Xh,useRef:ji,useState:function(){return Xh(Vh)},useDebugValue:ri,useDeferredValue:function(a){var b=Uh();return null===
|
|
5821
|
-
N?b.memoizedState=a:ui(b,N.memoizedState,a)},useTransition:function(){var a=Xh(Vh)[0],b=Uh().memoizedState;return [a,b]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:false};function Ci(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)
|
|
5822
|
-
var Ei={isMounted:function(a){return (a=a._reactInternals)?Vb(a)===a:false},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=R(),e=yi(a),f=mh(d,e);f.payload=b;
|
|
5823
|
-
yi(a),e=mh(c,d);e.tag=2;
|
|
5824
|
-
function Gi(a,b,c){var d=false,e=Vf;var f=b.contextType;"object"===typeof f&&null!==f?f=eh(f):(e=Zf(b)?Xf:H.current,d=b.contextTypes,f=(d=null!==d&&
|
|
5821
|
+
N?b.memoizedState=a:ui(b,N.memoizedState,a)},useTransition:function(){var a=Xh(Vh)[0],b=Uh().memoizedState;return [a,b]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:false};function Ci(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a) void 0===b[c]&&(b[c]=a[c]);return b}return b}function Di(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:A({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c);}
|
|
5822
|
+
var Ei={isMounted:function(a){return (a=a._reactInternals)?Vb(a)===a:false},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=R(),e=yi(a),f=mh(d,e);f.payload=b;void 0!==c&&null!==c&&(f.callback=c);b=nh(a,f,e);null!==b&&(gi(b,a,e,d),oh(b,a,e));},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=R(),e=yi(a),f=mh(d,e);f.tag=1;f.payload=b;void 0!==c&&null!==c&&(f.callback=c);b=nh(a,f,e);null!==b&&(gi(b,a,e,d),oh(b,a,e));},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=R(),d=
|
|
5823
|
+
yi(a),e=mh(c,d);e.tag=2;void 0!==b&&null!==b&&(e.callback=b);b=nh(a,e,d);null!==b&&(gi(b,a,d,c),oh(b,a,d));}};function Fi(a,b,c,d,e,f,g){a=a.stateNode;return "function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Ie(c,d)||!Ie(e,f):true}
|
|
5824
|
+
function Gi(a,b,c){var d=false,e=Vf;var f=b.contextType;"object"===typeof f&&null!==f?f=eh(f):(e=Zf(b)?Xf:H.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Yf(a,e):Vf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Ei;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}
|
|
5825
5825
|
function Hi(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Ei.enqueueReplaceState(b,b.state,null);}
|
|
5826
5826
|
function Ii(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};kh(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=eh(f):(f=Zf(b)?Xf:H.current,e.context=Yf(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Di(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,
|
|
5827
5827
|
"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Ei.enqueueReplaceState(e,e.state,null),qh(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308);}function Ji(a,b){try{var c="",d=b;do c+=Pa(d),d=d.return;while(d);var e=c;}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack;}return {value:a,source:b,stack:e,digest:null}}
|
|
5828
5828
|
function Ki(a,b,c){return {value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Li(a,b){try{console.error(b.value);}catch(c){setTimeout(function(){throw c;});}}var Mi="function"===typeof WeakMap?WeakMap:Map;function Ni(a,b,c){c=mh(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Oi||(Oi=true,Pi=d);Li(a,b);};return c}
|
|
5829
5829
|
function Qi(a,b,c){c=mh(-1,c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Li(a,b);};}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Li(a,b);"function"!==typeof d&&(null===Ri?Ri=new Set([this]):Ri.add(this));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""});});return c}
|
|
5830
|
-
function Si(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Mi;var e=new Set;d.set(b,e);}else e=d.get(b),
|
|
5830
|
+
function Si(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Mi;var e=new Set;d.set(b,e);}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(e.add(c),a=Ti.bind(null,a,b,c),b.then(a,a));}function Ui(a){do{var b;if(b=13===a.tag)b=a.memoizedState,b=null!==b?null!==b.dehydrated?true:false:true;if(b)return a;a=a.return;}while(null!==a);return null}
|
|
5831
5831
|
function Vi(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=mh(-1,1),b.tag=2,nh(c,b,1))),c.lanes|=1),a;a.flags|=65536;a.lanes=e;return a}var Wi=ua.ReactCurrentOwner,dh=false;function Xi(a,b,c,d){b.child=null===a?Vg(b,null,c,d):Ug(b,a.child,c,d);}
|
|
5832
5832
|
function Yi(a,b,c,d,e){c=c.render;var f=b.ref;ch(b,e);d=Nh(a,b,c,d,f,e);c=Sh();if(null!==a&&!dh)return b.updateQueue=a.updateQueue,b.flags&=-2053,a.lanes&=~e,Zi(a,b,e);I&&c&&vg(b);b.flags|=1;Xi(a,b,d,e);return b.child}
|
|
5833
|
-
function $i(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!aj(f)&&
|
|
5833
|
+
function $i(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!aj(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,bj(a,b,f,d,e);a=Rg(c.type,null,d,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:Ie;if(c(g,d)&&a.ref===b.ref)return Zi(a,b,e)}b.flags|=1;a=Pg(f,d);a.ref=b.ref;a.return=b;return b.child=a}
|
|
5834
5834
|
function bj(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(Ie(f,d)&&a.ref===b.ref)if(dh=false,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(dh=true);else return b.lanes=a.lanes,Zi(a,b,e)}return cj(a,b,c,d,e)}
|
|
5835
5835
|
function dj(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if("hidden"===d.mode)if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(ej,fj),fj|=c;else {if(0===(c&1073741824))return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState={baseLanes:a,cachePool:null,transitions:null},b.updateQueue=null,G(ej,fj),fj|=a,null;b.memoizedState={baseLanes:0,cachePool:null,transitions:null};d=null!==f?f.baseLanes:c;G(ej,fj);fj|=d;}else null!==
|
|
5836
5836
|
f?(d=f.baseLanes|c,b.memoizedState=null):d=c,G(ej,fj),fj|=d;Xi(a,b,e,c);return b.child}function gj(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152;}function cj(a,b,c,d,e){var f=Zf(c)?Xf:H.current;f=Yf(b,f);ch(b,e);c=Nh(a,b,c,d,f,e);d=Sh();if(null!==a&&!dh)return b.updateQueue=a.updateQueue,b.flags&=-2053,a.lanes&=~e,Zi(a,b,e);I&&d&&vg(b);b.flags|=1;Xi(a,b,c,e);return b.child}
|
|
@@ -5847,18 +5847,18 @@
|
|
|
5847
5847
|
b;d.return=b;d.sibling=f;b.child=d;d=f;f=b.child;g=a.child.memoizedState;g=null===g?nj(c):{baseLanes:g.baseLanes|c,cachePool:null,transitions:g.transitions};f.memoizedState=g;f.childLanes=a.childLanes&~c;b.memoizedState=mj;return d}f=a.child;a=f.sibling;d=Pg(f,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}
|
|
5848
5848
|
function qj(a,b){b=pj({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function sj(a,b,c,d){null!==d&&Jg(d);Ug(b,a.child,null,c);a=qj(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a}
|
|
5849
5849
|
function rj(a,b,c,d,e,f,g){if(c){if(b.flags&256)return b.flags&=-257,d=Ki(Error(p(422))),sj(a,b,g,d);if(null!==b.memoizedState)return b.child=a.child,b.flags|=128,null;f=d.fallback;e=b.mode;d=pj({mode:"visible",children:d.children},e,0,null);f=Tg(f,e,g,null);f.flags|=2;d.return=b;f.return=b;d.sibling=f;b.child=d;0!==(b.mode&1)&&Ug(b,a.child,null,g);b.child.memoizedState=nj(g);b.memoizedState=mj;return f}if(0===(b.mode&1))return sj(a,b,g,null);if("$!"===e.data){d=e.nextSibling&&e.nextSibling.dataset;
|
|
5850
|
-
if(d)var h=d.dgst;d=h;f=Error(p(419));d=Ki(f,d,
|
|
5850
|
+
if(d)var h=d.dgst;d=h;f=Error(p(419));d=Ki(f,d,void 0);return sj(a,b,g,d)}h=0!==(g&a.childLanes);if(dh||h){d=Q;if(null!==d){switch(g&-g){case 4:e=2;break;case 16:e=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:e=32;break;case 536870912:e=268435456;break;default:e=0;}e=0!==(e&(d.suspendedLanes|g))?0:e;
|
|
5851
5851
|
0!==e&&e!==f.retryLane&&(f.retryLane=e,ih(a,e),gi(d,a,e,-1));}tj();d=Ki(Error(p(421)));return sj(a,b,g,d)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=uj.bind(null,a),e._reactRetry=b,null;a=f.treeContext;yg=Lf(e.nextSibling);xg=b;I=true;zg=null;null!==a&&(og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,rg=a.id,sg=a.overflow,qg=b);b=qj(b,d.children);b.flags|=4096;return b}function vj(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);bh(a.return,b,c);}
|
|
5852
5852
|
function wj(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e);}
|
|
5853
5853
|
function xj(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Xi(a,b,d.children,c);d=L.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else {if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&vj(a,c,b);else if(19===a.tag)vj(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return;}a.sibling.return=a.return;a=a.sibling;}d&=1;}G(L,d);if(0===(b.mode&1))b.memoizedState=
|
|
5854
|
-
null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Ch(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);wj(b,false,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Ch(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a;}wj(b,true,c,null,f);break;case "together":wj(b,false,null,null,
|
|
5854
|
+
null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Ch(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);wj(b,false,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Ch(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a;}wj(b,true,c,null,f);break;case "together":wj(b,false,null,null,void 0);break;default:b.memoizedState=null;}return b.child}
|
|
5855
5855
|
function ij(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);}function Zi(a,b,c){null!==a&&(b.dependencies=a.dependencies);rh|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(p(153));if(null!==b.child){a=b.child;c=Pg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Pg(a,a.pendingProps),c.return=b;c.sibling=null;}return b.child}
|
|
5856
5856
|
function yj(a,b,c){switch(b.tag){case 3:kj(b);Ig();break;case 5:Ah(b);break;case 1:Zf(b.type)&&cg(b);break;case 4:yh(b,b.stateNode.containerInfo);break;case 10:var d=b.type._context,e=b.memoizedProps.value;G(Wg,d._currentValue);d._currentValue=e;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return G(L,L.current&1),b.flags|=128,null;if(0!==(c&b.child.childLanes))return oj(a,b,c);G(L,L.current&1);a=Zi(a,b,c);return null!==a?a.sibling:null}G(L,L.current&1);break;case 19:d=0!==(c&
|
|
5857
5857
|
b.childLanes);if(0!==(a.flags&128)){if(d)return xj(a,b,c);b.flags|=128;}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);G(L,L.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,dj(a,b,c)}return Zi(a,b,c)}var zj,Aj,Bj,Cj;
|
|
5858
5858
|
zj=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;}c.sibling.return=c.return;c=c.sibling;}};Aj=function(){};
|
|
5859
|
-
Bj=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;xh(uh.current);var f=null;switch(c){case "input":e=Ya(a,e);d=Ya(a,d);f=[];break;case "select":e=A({},e,{value:
|
|
5860
|
-
(c||(c={}),c[g]="");}else "dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ea.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:
|
|
5861
|
-
c)),c=k;else "dangerouslySetInnerHTML"===l?(k=k?k.__html:
|
|
5859
|
+
Bj=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;xh(uh.current);var f=null;switch(c){case "input":e=Ya(a,e);d=Ya(a,d);f=[];break;case "select":e=A({},e,{value:void 0});d=A({},d,{value:void 0});f=[];break;case "textarea":e=gb(a,e);d=gb(a,d);f=[];break;default:"function"!==typeof e.onClick&&"function"===typeof d.onClick&&(a.onclick=Bf);}ub(c,d);var g;c=null;for(l in e)if(!d.hasOwnProperty(l)&&e.hasOwnProperty(l)&&null!=e[l])if("style"===l){var h=e[l];for(g in h)h.hasOwnProperty(g)&&
|
|
5860
|
+
(c||(c={}),c[g]="");}else "dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ea.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:void 0;if(d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if("style"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]="");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||(c={}),c[g]=k[g]);}else c||(f||(f=[]),f.push(l,
|
|
5861
|
+
c)),c=k;else "dangerouslySetInnerHTML"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):"children"===l?"string"!==typeof k&&"number"!==typeof k||(f=f||[]).push(l,""+k):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(ea.hasOwnProperty(l)?(null!=k&&"onScroll"===l&&D("scroll",a),f||h===k||(f=[])):(f=f||[]).push(l,k));}c&&(f=f||[]).push("style",c);var l=f;if(b.updateQueue=l)b.flags|=4;}};Cj=function(a,b,c,d){c!==d&&(b.flags|=4);};
|
|
5862
5862
|
function Dj(a,b){if(!I)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null;}}
|
|
5863
5863
|
function S(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&14680064,d|=e.flags&14680064,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b}
|
|
5864
5864
|
function Ej(a,b,c){var d=b.pendingProps;wg(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S(b),null;case 1:return Zf(b.type)&&$f(),S(b),null;case 3:d=b.stateNode;zh();E(Wf);E(H);Eh();d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)Gg(b)?b.flags|=4:null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|=1024,null!==zg&&(Fj(zg),zg=null));Aj(a,b);S(b);return null;case 5:Bh(b);var e=xh(wh.current);
|
|
@@ -5866,7 +5866,7 @@
|
|
|
5866
5866
|
d);D("load",d);break;case "details":D("toggle",d);break;case "input":Za(d,f);D("invalid",d);break;case "select":d._wrapperState={wasMultiple:!!f.multiple};D("invalid",d);break;case "textarea":hb(d,f),D("invalid",d);}ub(c,f);e=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];"children"===g?"string"===typeof h?d.textContent!==h&&(true!==f.suppressHydrationWarning&&Af(d.textContent,h,a),e=["children",h]):"number"===typeof h&&d.textContent!==""+h&&(true!==f.suppressHydrationWarning&&Af(d.textContent,
|
|
5867
5867
|
h,a),e=["children",""+h]):ea.hasOwnProperty(g)&&null!=h&&"onScroll"===g&&D("scroll",d);}switch(c){case "input":Va(d);db(d,f,true);break;case "textarea":Va(d);jb(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&(d.onclick=Bf);}d=e;b.updateQueue=d;null!==d&&(b.flags|=4);}else {g=9===e.nodeType?e:e.ownerDocument;"http://www.w3.org/1999/xhtml"===a&&(a=kb(c));"http://www.w3.org/1999/xhtml"===a?"script"===c?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):
|
|
5868
5868
|
"string"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),"select"===c&&(g=a,d.multiple?g.multiple=true:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;zj(a,b,false,false);b.stateNode=a;a:{g=vb(c,d);switch(c){case "dialog":D("cancel",a);D("close",a);e=d;break;case "iframe":case "object":case "embed":D("load",a);e=d;break;case "video":case "audio":for(e=0;e<lf.length;e++)D(lf[e],a);e=d;break;case "source":D("error",a);e=d;break;case "img":case "image":case "link":D("error",
|
|
5869
|
-
a);D("load",a);e=d;break;case "details":D("toggle",a);e=d;break;case "input":Za(a,d);e=Ya(a,d);D("invalid",a);break;case "option":e=d;break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=A({},d,{value:
|
|
5869
|
+
a);D("load",a);e=d;break;case "details":D("toggle",a);e=d;break;case "input":Za(a,d);e=Ya(a,d);D("invalid",a);break;case "option":e=d;break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=A({},d,{value:void 0});D("invalid",a);break;case "textarea":hb(a,d);e=gb(a,d);D("invalid",a);break;default:e=d;}ub(c,e);h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];"style"===f?sb(a,k):"dangerouslySetInnerHTML"===f?(k=k?k.__html:void 0,null!=k&&nb(a,k)):"children"===f?"string"===typeof k?("textarea"!==
|
|
5870
5870
|
c||""!==k)&&ob(a,k):"number"===typeof k&&ob(a,""+k):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(ea.hasOwnProperty(f)?null!=k&&"onScroll"===f&&D("scroll",a):null!=k&&ta(a,f,k,g));}switch(c){case "input":Va(a);db(a,d,false);break;case "textarea":Va(a);jb(a);break;case "option":null!=d.value&&a.setAttribute("value",""+Sa(d.value));break;case "select":a.multiple=!!d.multiple;f=d.value;null!=f?fb(a,!!d.multiple,f,false):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,
|
|
5871
5871
|
true);break;default:"function"===typeof e.onClick&&(a.onclick=Bf);}switch(c){case "button":case "input":case "select":case "textarea":d=!!d.autoFocus;break a;case "img":d=true;break a;default:d=false;}}d&&(b.flags|=4);}null!==b.ref&&(b.flags|=512,b.flags|=2097152);}S(b);return null;case 6:if(a&&null!=b.stateNode)Cj(a,b,a.memoizedProps,d);else {if("string"!==typeof d&&null===b.stateNode)throw Error(p(166));c=xh(wh.current);xh(uh.current);if(Gg(b)){d=b.stateNode;c=b.memoizedProps;d[Of]=b;if(f=d.nodeValue!==c)if(a=
|
|
5872
5872
|
xg,null!==a)switch(a.tag){case 3:Af(d.nodeValue,c,0!==(a.mode&1));break;case 5:true!==a.memoizedProps.suppressHydrationWarning&&Af(d.nodeValue,c,0!==(a.mode&1));}f&&(b.flags|=4);}else d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[Of]=b,b.stateNode=d;}S(b);return null;case 13:E(L);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(I&&null!==yg&&0!==(b.mode&1)&&0===(b.flags&128))Hg(),Ig(),b.flags|=98560,f=false;else if(f=Gg(b),null!==d&&null!==d.dehydrated){if(null===
|
|
@@ -5880,13 +5880,13 @@
|
|
|
5880
5880
|
function Oj(a,b){Cf=dd;a=Me();if(Ne(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType;}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=
|
|
5881
5881
|
q.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y;}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode;}q=y;}c=-1===h||-1===k?null:{start:h,end:k};}else c=null;}c=c||{start:0,end:0};}else c=null;Df={focusedElem:a,selectionRange:c};dd=false;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;
|
|
5882
5882
|
case 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Ci(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w;}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent="":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F);}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return;}n=Nj;Nj=false;return n}
|
|
5883
|
-
function Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=
|
|
5883
|
+
function Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Mj(b,c,f);}e=e.next;}while(e!==d)}}function Qj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d();}c=c.next;}while(c!==b)}}function Rj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c;}"function"===typeof b?b(a):b.current=a;}}
|
|
5884
5884
|
function Sj(a){var b=a.alternate;null!==b&&(a.alternate=null,Sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null;}function Tj(a){return 5===a.tag||3===a.tag||4===a.tag}
|
|
5885
5885
|
function Uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Tj(a.return))return null;a=a.return;}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child;}if(!(a.flags&2))return a.stateNode}}
|
|
5886
|
-
function Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&
|
|
5886
|
+
function Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Vj(a,b,c),a=a.sibling;null!==a;)Vj(a,b,c),a=a.sibling;}
|
|
5887
5887
|
function Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling;}var X=null,Xj=false;function Yj(a,b,c){for(c=c.child;null!==c;)Zj(a,b,c),c=c.sibling;}
|
|
5888
5888
|
function Zj(a,b,c){if(lc&&"function"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c);}catch(h){}switch(c.tag){case 5:U||Lj(c,b);case 6:var d=X,e=Xj;X=null;Yj(a,b,c);X=d;Xj=e;null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Xj;X=c.stateNode.containerInfo;Xj=true;
|
|
5889
|
-
Yj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;
|
|
5889
|
+
Yj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Mj(c,b,g):0!==(f&4)&&Mj(c,b,g));e=e.next;}while(e!==d)}Yj(a,b,c);break;case 1:if(!U&&(Lj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount();}catch(h){W(c,b,h);}Yj(a,b,c);break;case 21:Yj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==
|
|
5890
5890
|
c.memoizedState,Yj(a,b,c),U=d):Yj(a,b,c);break;default:Yj(a,b,c);}}function ak(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Kj);b.forEach(function(b){var d=bk.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d));});}}
|
|
5891
5891
|
function ck(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 5:X=h.stateNode;Xj=!1;break a;case 3:X=h.stateNode.containerInfo;Xj=!0;break a;case 4:X=h.stateNode.containerInfo;Xj=!0;break a}h=h.return;}if(null===X)throw Error(p(160));Zj(f,g,e);X=null;Xj=!1;var k=e.alternate;null!==k&&(k.return=null);e.return=null;}catch(l){W(e,b,l);}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)dk(b,a),b=b.sibling;}
|
|
5892
5892
|
function dk(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:ck(b,a);ek(a);if(d&4){try{Pj(3,a,a.return),Qj(3,a);}catch(t){W(a,a.return,t);}try{Pj(5,a,a.return);}catch(t){W(a,a.return,t);}}break;case 1:ck(b,a);ek(a);d&512&&null!==c&&Lj(c,c.return);break;case 5:ck(b,a);ek(a);d&512&&null!==c&&Lj(c,c.return);if(a.flags&32){var e=a.stateNode;try{ob(e,"");}catch(t){W(a,a.return,t);}}if(d&4&&(e=a.stateNode,null!=e)){var f=a.memoizedProps,g=null!==c?c.memoizedProps:f,h=a.type,k=a.updateQueue;
|
|
@@ -5902,7 +5902,7 @@
|
|
|
5902
5902
|
default:throw Error(p(163));}U||b.flags&512&&Rj(b);}catch(r){W(b,b.return,r);}}if(b===a){V=null;break}c=b.sibling;if(null!==c){c.return=b.return;V=c;break}V=b.return;}}function gk(a){for(;null!==V;){var b=V;if(b===a){V=null;break}var c=b.sibling;if(null!==c){c.return=b.return;V=c;break}V=b.return;}}
|
|
5903
5903
|
function jk(a){for(;null!==V;){var b=V;try{switch(b.tag){case 0:case 11:case 15:var c=b.return;try{Qj(4,b);}catch(k){W(b,c,k);}break;case 1:var d=b.stateNode;if("function"===typeof d.componentDidMount){var e=b.return;try{d.componentDidMount();}catch(k){W(b,e,k);}}var f=b.return;try{Rj(b);}catch(k){W(b,f,k);}break;case 5:var g=b.return;try{Rj(b);}catch(k){W(b,g,k);}}}catch(k){W(b,b.return,k);}if(b===a){V=null;break}var h=b.sibling;if(null!==h){h.return=b.return;V=h;break}V=b.return;}}
|
|
5904
5904
|
var lk=Math.ceil,mk=ua.ReactCurrentDispatcher,nk=ua.ReactCurrentOwner,ok=ua.ReactCurrentBatchConfig,K=0,Q=null,Y=null,Z=0,fj=0,ej=Uf(0),T=0,pk=null,rh=0,qk=0,rk=0,sk=null,tk=null,fk=0,Gj=Infinity,uk=null,Oi=false,Pi=null,Ri=null,vk=false,wk=null,xk=0,yk=0,zk=null,Ak=-1,Bk=0;function R(){return 0!==(K&6)?B():-1!==Ak?Ak:Ak=B()}
|
|
5905
|
-
function yi(a){if(0===(a.mode&1))return 1;if(0!==(K&2)&&0!==Z)return Z&-Z;if(null!==Kg.transition)return 0===Bk&&(Bk=yc()),Bk;a=C;if(0!==a)return a;a=window.event;a=
|
|
5905
|
+
function yi(a){if(0===(a.mode&1))return 1;if(0!==(K&2)&&0!==Z)return Z&-Z;if(null!==Kg.transition)return 0===Bk&&(Bk=yc()),Bk;a=C;if(0!==a)return a;a=window.event;a=void 0===a?16:jd(a.type);return a}function gi(a,b,c,d){if(50<yk)throw yk=0,zk=null,Error(p(185));Ac(a,c,d);if(0===(K&2)||a!==Q)a===Q&&(0===(K&2)&&(qk|=c),4===T&&Ck(a,Z)),Dk(a,d),1===c&&0===K&&0===(b.mode&1)&&(Gj=B()+500,fg&&jg());}
|
|
5906
5906
|
function Dk(a,b){var c=a.callbackNode;wc(a,b);var d=uc(a,a===Q?Z:0);if(0===d)null!==c&&bc(c),a.callbackNode=null,a.callbackPriority=0;else if(b=d&-d,a.callbackPriority!==b){null!=c&&bc(c);if(1===b)0===a.tag?ig(Ek.bind(null,a)):hg(Ek.bind(null,a)),Jf(function(){0===(K&6)&&jg();}),c=null;else {switch(Dc(d)){case 1:c=fc;break;case 4:c=gc;break;case 16:c=hc;break;case 536870912:c=jc;break;default:c=hc;}c=Fk(c,Gk.bind(null,a));}a.callbackPriority=b;a.callbackNode=c;}}
|
|
5907
5907
|
function Gk(a,b){Ak=-1;Bk=0;if(0!==(K&6))throw Error(p(327));var c=a.callbackNode;if(Hk()&&a.callbackNode!==c)return null;var d=uc(a,a===Q?Z:0);if(0===d)return null;if(0!==(d&30)||0!==(d&a.expiredLanes)||b)b=Ik(a,d);else {b=d;var e=K;K|=2;var f=Jk();if(Q!==a||Z!==b)uk=null,Gj=B()+500,Kk(a,b);do try{Lk();break}catch(h){Mk(a,h);}while(1);$g();mk.current=f;K=e;null!==Y?b=0:(Q=null,Z=0,b=T);}if(0!==b){2===b&&(e=xc(a),0!==e&&(d=e,b=Nk(a,e)));if(1===b)throw c=pk,Kk(a,0),Ck(a,d),Dk(a,B()),c;if(6===b)Ck(a,d);
|
|
5908
5908
|
else {e=a.current.alternate;if(0===(d&30)&&!Ok(e)&&(b=Ik(a,d),2===b&&(f=xc(a),0!==f&&(d=f,b=Nk(a,f))),1===b))throw c=pk,Kk(a,0),Ck(a,d),Dk(a,B()),c;a.finishedWork=e;a.finishedLanes=d;switch(b){case 0:case 1:throw Error(p(345));case 2:Pk(a,tk,uk);break;case 3:Ck(a,d);if((d&130023424)===d&&(b=fk+500-B(),10<b)){if(0!==uc(a,0))break;e=a.suspendedLanes;if((e&d)!==d){R();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=Ff(Pk.bind(null,a,tk,uk),b);break}Pk(a,tk,uk);break;case 4:Ck(a,d);if((d&4194240)===
|
|
@@ -5911,7 +5911,7 @@
|
|
|
5911
5911
|
function Ok(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!He(f(),e))return !1}catch(g){return false}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else {if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return true;b=b.return;}b.sibling.return=b.return;b=b.sibling;}}return true}
|
|
5912
5912
|
function Ck(a,b){b&=~rk;b&=~qk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-oc(b),d=1<<c;a[c]=-1;b&=~d;}}function Ek(a){if(0!==(K&6))throw Error(p(327));Hk();var b=uc(a,0);if(0===(b&1))return Dk(a,B()),null;var c=Ik(a,b);if(0!==a.tag&&2===c){var d=xc(a);0!==d&&(b=d,c=Nk(a,d));}if(1===c)throw c=pk,Kk(a,0),Ck(a,b),Dk(a,B()),c;if(6===c)throw Error(p(345));a.finishedWork=a.current.alternate;a.finishedLanes=b;Pk(a,tk,uk);Dk(a,B());return null}
|
|
5913
5913
|
function Qk(a,b){var c=K;K|=1;try{return a(b)}finally{K=c,0===K&&(Gj=B()+500,fg&&jg());}}function Rk(a){null!==wk&&0===wk.tag&&0===(K&6)&&Hk();var b=K;K|=1;var c=ok.transition,d=C;try{if(ok.transition=null,C=1,a)return a()}finally{C=d,ok.transition=c,K=b,0===(K&6)&&jg();}}function Hj(){fj=ej.current;E(ej);}
|
|
5914
|
-
function Kk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&
|
|
5914
|
+
function Kk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&$f();break;case 3:zh();E(Wf);E(H);Eh();break;case 5:Bh(d);break;case 4:zh();break;case 13:E(L);break;case 19:E(L);break;case 10:ah(d.type._context);break;case 22:case 23:Hj();}c=c.return;}Q=a;Y=a=Pg(a.current,null);Z=fj=b;T=0;pk=null;rk=qk=rh=0;tk=sk=null;if(null!==fh){for(b=
|
|
5915
5915
|
0;b<fh.length;b++)if(c=fh[b],d=c.interleaved,null!==d){c.interleaved=null;var e=d.next,f=c.pending;if(null!==f){var g=f.next;f.next=e;d.next=g;}c.pending=d;}fh=null;}return a}
|
|
5916
5916
|
function Mk(a,b){do{var c=Y;try{$g();Fh.current=Rh;if(Ih){for(var d=M.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next;}Ih=!1;}Hh=0;O=N=M=null;Jh=!1;Kh=0;nk.current=null;if(null===c||null===c.return){T=1;pk=b;Y=null;break}a:{var f=a,g=c.return,h=c,k=b;b=Z;h.flags|=32768;if(null!==k&&"object"===typeof k&&"function"===typeof k.then){var l=k,m=h,q=m.tag;if(0===(m.mode&1)&&(0===q||11===q||15===q)){var r=m.alternate;r?(m.updateQueue=r.updateQueue,m.memoizedState=r.memoizedState,
|
|
5917
5917
|
m.lanes=r.lanes):(m.updateQueue=null,m.memoizedState=null);}var y=Ui(g);if(null!==y){y.flags&=-257;Vi(y,g,h,f,b);y.mode&1&&Si(f,l,b);b=y;k=l;var n=b.updateQueue;if(null===n){var t=new Set;t.add(k);b.updateQueue=t;}else n.add(k);break a}else {if(0===(b&1)){Si(f,l,b);tj();break a}k=Error(p(426));}}else if(I&&h.mode&1){var J=Ui(g);if(null!==J){0===(J.flags&65536)&&(J.flags|=256);Vi(J,g,h,f,b);Jg(Ji(k,h));break a}}f=k=Ji(k,h);4!==T&&(T=2);null===sk?sk=[f]:sk.push(f);f=g;do{switch(f.tag){case 3:f.flags|=65536;
|
|
@@ -5926,8 +5926,8 @@
|
|
|
5926
5926
|
function W(a,b,c){if(3===a.tag)Xk(a,a,c);else for(;null!==b;){if(3===b.tag){Xk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Ri||!Ri.has(d))){a=Ji(c,a);a=Qi(b,a,1);b=nh(b,a,1);a=R();null!==b&&(Ac(b,1,a),Dk(b,a));break}}b=b.return;}}
|
|
5927
5927
|
function Ti(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=R();a.pingedLanes|=a.suspendedLanes&c;Q===a&&(Z&c)===c&&(4===T||3===T&&(Z&130023424)===Z&&500>B()-fk?Kk(a,0):rk|=c);Dk(a,b);}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c));}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c);}
|
|
5928
5928
|
function bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Yk(a,c);}var Vk;
|
|
5929
|
-
Vk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=true;else {if(0===(a.lanes&c)&&0===(b.flags&128))return dh=false,yj(a,b,c);dh=0!==(a.flags&131072)?true:false;}else dh=false,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&
|
|
5930
|
-
null,Zf(d)?(f=true,cg(b)):f=false,b.memoizedState=null!==e.state&&
|
|
5929
|
+
Vk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=true;else {if(0===(a.lanes&c)&&0===(b.flags&128))return dh=false,yj(a,b,c);dh=0!==(a.flags&131072)?true:false;}else dh=false,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=
|
|
5930
|
+
null,Zf(d)?(f=true,cg(b)):f=false,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,kh(b),e.updater=Ei,b.stateNode=e,e._reactInternals=b,Ii(b,d,a,c),b=jj(null,b,d,true,f,c)):(b.tag=0,I&&f&&vg(b),Xi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ij(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Zk(d);a=Ci(d,a);switch(e){case 0:b=cj(null,b,d,a,c);break a;case 1:b=hj(null,b,d,a,c);break a;case 11:b=Yi(null,b,d,a,c);break a;case 14:b=$i(null,b,d,Ci(d.type,a),c);break a}throw Error(p(306,
|
|
5931
5931
|
d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),cj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),hj(a,b,d,e,c);case 3:a:{kj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;lh(a,b);qh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:false,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=
|
|
5932
5932
|
f,b.memoizedState=f,b.flags&256){e=Ji(Error(p(423)),b);b=lj(a,b,d,c,e);break a}else if(d!==e){e=Ji(Error(p(424)),b);b=lj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=true,zg=null,c=Vg(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else {Ig();if(d===e){b=Zi(a,b,c);break a}Xi(a,b,d,c);}b=b.child;}return b;case 5:return Ah(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),
|
|
5933
5933
|
gj(a,b),Xi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return oj(a,b,c);case 4:return yh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ug(b,null,d,c):Xi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),Yi(a,b,d,e,c);case 7:return Xi(a,b,b.pendingProps,c),b.child;case 8:return Xi(a,b,b.pendingProps.children,c),b.child;case 12:return Xi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;
|
|
@@ -5935,16 +5935,16 @@
|
|
|
5935
5935
|
c,b);h.lanes|=c;break}k=k.next;}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);bh(g,c,b);g=f.sibling;}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return;}f=g;}Xi(a,b,e.children,c);b=b.child;}return b;case 9:return e=b.type,d=b.pendingProps.children,ch(b,c),e=eh(e),d=d(e),b.flags|=1,Xi(a,b,d,c),
|
|
5936
5936
|
b.child;case 14:return d=b.type,e=Ci(d,b.pendingProps),e=Ci(d.type,e),$i(a,b,d,e,c);case 15:return bj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),ij(a,b),b.tag=1,Zf(d)?(a=true,cg(b)):a=false,ch(b,c),Gi(b,d,e),Ii(b,d,e,c),jj(null,b,d,true,a,c);case 19:return xj(a,b,c);case 22:return dj(a,b,c)}throw Error(p(156,b.tag));};function Fk(a,b){return ac(a,b)}
|
|
5937
5937
|
function $k(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null;}function Bg(a,b,c,d){return new $k(a,b,c,d)}function aj(a){a=a.prototype;return !(!a||!a.isReactComponent)}
|
|
5938
|
-
function Zk(a){if("function"===typeof a)return aj(a)?1:0;if(
|
|
5938
|
+
function Zk(a){if("function"===typeof a)return aj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}
|
|
5939
5939
|
function Pg(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};
|
|
5940
5940
|
c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
|
|
5941
5941
|
function Rg(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)aj(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ya:return Tg(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return pj(c,e,f,b);default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;
|
|
5942
5942
|
break a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,""));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Tg(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function pj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:false};return a}function Qg(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}
|
|
5943
5943
|
function Sg(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}
|
|
5944
5944
|
function al(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=
|
|
5945
|
-
null;}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,true===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3<arguments.length&&
|
|
5945
|
+
null;}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,true===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return {$$typeof:wa,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}
|
|
5946
5946
|
function dl(a){if(!a)return Vf;a=a._reactInternals;a:{if(Vb(a)!==a||1!==a.tag)throw Error(p(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Zf(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return;}while(null!==b);throw Error(p(171));}if(1===a.tag){var c=a.type;if(Zf(c))return bg(a,c,b)}return b}
|
|
5947
|
-
function el(a,b,c,d,e,f,g,h,k){a=bl(c,d,true,a,e,f,g,h,k);a.context=dl(null);c=a.current;d=R();e=yi(c);f=mh(d,e);f.callback=
|
|
5947
|
+
function el(a,b,c,d,e,f,g,h,k){a=bl(c,d,true,a,e,f,g,h,k);a.context=dl(null);c=a.current;d=R();e=yi(c);f=mh(d,e);f.callback=void 0!==b&&null!==b?b:null;nh(c,f,e);a.current.lanes=e;Ac(a,e,d);Dk(a,d);return a}function fl(a,b,c,d){var e=b.current,f=R(),g=yi(e);c=dl(c);null===b.context?b.context=c:b.pendingContext=c;b=mh(f,g);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=nh(e,b,g);null!==a&&(gi(a,e,g,f),oh(a,e,g));return g}
|
|
5948
5948
|
function gl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function hl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b;}}function il(a,b){hl(a,b);(a=a.alternate)&&hl(a,b);}function jl(){return null}var kl="function"===typeof reportError?reportError:function(a){console.error(a);};function ll(a){this._internalRoot=a;}
|
|
5949
5949
|
ml.prototype.render=ll.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(p(409));fl(a,b,null,null);};ml.prototype.unmount=ll.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Rk(function(){fl(null,a,null,null);});b[uf]=null;}};function ml(a){this._internalRoot=a;}
|
|
5950
5950
|
ml.prototype.unstable_scheduleHydration=function(a){if(a){var b=Hc();a={blockedOn:null,target:a,priority:b};for(var c=0;c<Qc.length&&0!==b&&b<Qc[c].priority;c++);Qc.splice(c,0,a);0===c&&Vc(a);}};function nl(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)}function ol(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function pl(){}
|
|
@@ -5955,11 +5955,11 @@
|
|
|
5955
5955
|
var sl={usingClientEntryPoint:false,Events:[Cb,ue,Db,Eb,Fb,Qk]},tl={findFiberByHostInstance:Wc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"};
|
|
5956
5956
|
var ul={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Zb(a);return null===a?null:a.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||
|
|
5957
5957
|
jl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{kc=vl.inject(ul),lc=vl;}catch(a){}}reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sl;
|
|
5958
|
-
reactDom_production_min.createPortal=function(a,b){var c=2<arguments.length&&
|
|
5959
|
-
reactDom_production_min.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(
|
|
5960
|
-
reactDom_production_min.hydrateRoot=function(a,b,c){if(!nl(a))throw Error(p(405));var d=null!=c&&c.hydratedSources||null,e=false,f="",g=kl;null!==c&&
|
|
5958
|
+
reactDom_production_min.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nl(b))throw Error(p(200));return cl(a,b,null,c)};reactDom_production_min.createRoot=function(a,b){if(!nl(a))throw Error(p(299));var c=false,d="",e=kl;null!==b&&void 0!==b&&(true===b.unstable_strictMode&&(c=true),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError));b=bl(a,1,false,null,null,c,false,d,e);a[uf]=b.current;sf(8===a.nodeType?a.parentNode:a);return new ll(b)};
|
|
5959
|
+
reactDom_production_min.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(p(188));a=Object.keys(a).join(",");throw Error(p(268,a));}a=Zb(b);a=null===a?null:a.stateNode;return a};reactDom_production_min.flushSync=function(a){return Rk(a)};reactDom_production_min.hydrate=function(a,b,c){if(!ol(b))throw Error(p(200));return rl(null,a,b,true,c)};
|
|
5960
|
+
reactDom_production_min.hydrateRoot=function(a,b,c){if(!nl(a))throw Error(p(405));var d=null!=c&&c.hydratedSources||null,e=false,f="",g=kl;null!==c&&void 0!==c&&(true===c.unstable_strictMode&&(e=true),void 0!==c.identifierPrefix&&(f=c.identifierPrefix),void 0!==c.onRecoverableError&&(g=c.onRecoverableError));b=el(b,null,a,1,null!=c?c:null,e,false,f,g);a[uf]=b.current;sf(a);if(d)for(a=0;a<d.length;a++)c=d[a],e=c._getVersion,e=e(c._source),null==b.mutableSourceEagerHydrationData?b.mutableSourceEagerHydrationData=[c,e]:b.mutableSourceEagerHydrationData.push(c,
|
|
5961
5961
|
e);return new ml(b)};reactDom_production_min.render=function(a,b,c){if(!ol(b))throw Error(p(200));return rl(null,a,b,false,c)};reactDom_production_min.unmountComponentAtNode=function(a){if(!ol(a))throw Error(p(40));return a._reactRootContainer?(Rk(function(){rl(null,null,a,!1,function(){a._reactRootContainer=null;a[uf]=null;});}),true):false};reactDom_production_min.unstable_batchedUpdates=Qk;
|
|
5962
|
-
reactDom_production_min.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!ol(c))throw Error(p(200));if(null==a||
|
|
5962
|
+
reactDom_production_min.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!ol(c))throw Error(p(200));if(null==a||void 0===a._reactInternals)throw Error(p(38));return rl(a,b,c,false,d)};reactDom_production_min.version="18.3.1-next-f1338f8080-20240426";
|
|
5963
5963
|
return reactDom_production_min;
|
|
5964
5964
|
}
|
|
5965
5965
|
|
|
@@ -6213,7 +6213,7 @@
|
|
|
6213
6213
|
this.tags.forEach(function (tag) {
|
|
6214
6214
|
var _tag$parentNode;
|
|
6215
6215
|
|
|
6216
|
-
return (_tag$parentNode = tag.parentNode) == null ?
|
|
6216
|
+
return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
|
|
6217
6217
|
});
|
|
6218
6218
|
this.tags = [];
|
|
6219
6219
|
this.ctr = 0;
|
|
@@ -7354,7 +7354,7 @@
|
|
|
7354
7354
|
function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
|
|
7355
7355
|
reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return false};reactIs_production_min.isConcurrentMode=function(){return false};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
|
|
7356
7356
|
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
|
|
7357
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||
|
|
7357
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?true:false};reactIs_production_min.typeOf=v;
|
|
7358
7358
|
return reactIs_production_min;
|
|
7359
7359
|
}
|
|
7360
7360
|
|
|
@@ -8145,7 +8145,7 @@
|
|
|
8145
8145
|
}
|
|
8146
8146
|
|
|
8147
8147
|
function keyframes() {
|
|
8148
|
-
var insertable = css.apply(
|
|
8148
|
+
var insertable = css.apply(void 0, arguments);
|
|
8149
8149
|
var name = "animation-" + insertable.name;
|
|
8150
8150
|
return {
|
|
8151
8151
|
name: name,
|
|
@@ -8338,7 +8338,7 @@
|
|
|
8338
8338
|
var newStyled = createStyled(nextTag, _extends$5({}, options, nextOptions, {
|
|
8339
8339
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
8340
8340
|
}));
|
|
8341
|
-
return newStyled.apply(
|
|
8341
|
+
return newStyled.apply(void 0, styles);
|
|
8342
8342
|
};
|
|
8343
8343
|
|
|
8344
8344
|
return Styled;
|
|
@@ -9081,7 +9081,7 @@
|
|
|
9081
9081
|
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
9082
9082
|
hasRequiredReactJsxRuntime_production_min = 1;
|
|
9083
9083
|
var f=requireReact(),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:true,ref:true,__self:true,__source:true};
|
|
9084
|
-
function q(c,a,g){var b,d={},e=null,h=null;
|
|
9084
|
+
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a) void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
|
|
9085
9085
|
return reactJsxRuntime_production_min;
|
|
9086
9086
|
}
|
|
9087
9087
|
|
|
@@ -9391,7 +9391,7 @@
|
|
|
9391
9391
|
}
|
|
9392
9392
|
function createEmptyBreakpointObject(breakpointsInput = {}) {
|
|
9393
9393
|
var _breakpointsInput$key;
|
|
9394
|
-
const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ?
|
|
9394
|
+
const breakpointsInOrder = (_breakpointsInput$key = breakpointsInput.keys) == null ? void 0 : _breakpointsInput$key.reduce((acc, key) => {
|
|
9395
9395
|
const breakpointStyleKey = breakpointsInput.up(key);
|
|
9396
9396
|
acc[breakpointStyleKey] = {};
|
|
9397
9397
|
return acc;
|
|
@@ -9871,13 +9871,13 @@
|
|
|
9871
9871
|
if (props.maxWidth !== undefined && props.maxWidth !== null) {
|
|
9872
9872
|
const styleFromPropValue = propValue => {
|
|
9873
9873
|
var _props$theme, _props$theme2;
|
|
9874
|
-
const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ?
|
|
9874
|
+
const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || values$1[propValue];
|
|
9875
9875
|
if (!breakpoint) {
|
|
9876
9876
|
return {
|
|
9877
9877
|
maxWidth: sizingTransform(propValue)
|
|
9878
9878
|
};
|
|
9879
9879
|
}
|
|
9880
|
-
if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ?
|
|
9880
|
+
if (((_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.breakpoints) == null ? void 0 : _props$theme2.unit) !== 'px') {
|
|
9881
9881
|
return {
|
|
9882
9882
|
maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
|
|
9883
9883
|
};
|
|
@@ -10429,7 +10429,7 @@
|
|
|
10429
10429
|
}, other);
|
|
10430
10430
|
muiTheme.applyStyles = applyStyles$2;
|
|
10431
10431
|
muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
|
|
10432
|
-
muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig, other == null ?
|
|
10432
|
+
muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);
|
|
10433
10433
|
muiTheme.unstable_sx = function sx(props) {
|
|
10434
10434
|
return styleFunctionSx$1({
|
|
10435
10435
|
sx: props,
|
|
@@ -10478,7 +10478,7 @@
|
|
|
10478
10478
|
systemProps: {},
|
|
10479
10479
|
otherProps: {}
|
|
10480
10480
|
};
|
|
10481
|
-
const config = (_props$theme$unstable = props == null || (_props$theme = props.theme) == null ?
|
|
10481
|
+
const config = (_props$theme$unstable = props == null || (_props$theme = props.theme) == null ? void 0 : _props$theme.unstable_sxConfig) != null ? _props$theme$unstable : defaultSxConfig;
|
|
10482
10482
|
Object.keys(props).forEach(prop => {
|
|
10483
10483
|
if (config[prop]) {
|
|
10484
10484
|
result.systemProps[prop] = props[prop];
|
|
@@ -10720,7 +10720,7 @@
|
|
|
10720
10720
|
}, props, ownerState));
|
|
10721
10721
|
} else {
|
|
10722
10722
|
Object.keys(variant.props).forEach(key => {
|
|
10723
|
-
if ((ownerState == null ?
|
|
10723
|
+
if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {
|
|
10724
10724
|
isMatch = false;
|
|
10725
10725
|
}
|
|
10726
10726
|
});
|
|
@@ -10837,7 +10837,7 @@
|
|
|
10837
10837
|
defaultTheme,
|
|
10838
10838
|
themeId
|
|
10839
10839
|
}));
|
|
10840
|
-
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ?
|
|
10840
|
+
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;
|
|
10841
10841
|
return processStyleArg({
|
|
10842
10842
|
variants: themeVariants
|
|
10843
10843
|
}, _extends$4({}, props, {
|
|
@@ -11014,7 +11014,7 @@
|
|
|
11014
11014
|
return /*#__PURE__*/reactExports.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
11015
11015
|
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
11016
11016
|
// eslint-disable-next-line no-underscore-dangle
|
|
11017
|
-
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ?
|
|
11017
|
+
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;
|
|
11018
11018
|
}
|
|
11019
11019
|
|
|
11020
11020
|
function ownerDocument(node) {
|
|
@@ -11502,8 +11502,8 @@
|
|
|
11502
11502
|
if (!getSlotProps) {
|
|
11503
11503
|
// The simpler case - getSlotProps is not defined, so no internal event handlers are defined,
|
|
11504
11504
|
// so we can simply merge all the props without having to worry about extracting event handlers.
|
|
11505
|
-
const joinedClasses = clsx(additionalProps == null ?
|
|
11506
|
-
const mergedStyle = _extends$3({}, additionalProps == null ?
|
|
11505
|
+
const joinedClasses = clsx(additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
11506
|
+
const mergedStyle = _extends$3({}, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);
|
|
11507
11507
|
const props = _extends$3({}, additionalProps, externalForwardedProps, externalSlotProps);
|
|
11508
11508
|
if (joinedClasses.length > 0) {
|
|
11509
11509
|
props.className = joinedClasses;
|
|
@@ -11529,8 +11529,8 @@
|
|
|
11529
11529
|
// Emotion (that we use in libraries consuming Base UI) depends on this order
|
|
11530
11530
|
// to properly override style. It requires the most important classes to be last
|
|
11531
11531
|
// (see https://github.com/mui/material-ui/pull/33205) for the related discussion.
|
|
11532
|
-
const joinedClasses = clsx(internalSlotProps == null ?
|
|
11533
|
-
const mergedStyle = _extends$3({}, internalSlotProps == null ?
|
|
11532
|
+
const joinedClasses = clsx(internalSlotProps == null ? void 0 : internalSlotProps.className, additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
11533
|
+
const mergedStyle = _extends$3({}, internalSlotProps == null ? void 0 : internalSlotProps.style, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);
|
|
11534
11534
|
const props = _extends$3({}, internalSlotProps, additionalProps, otherPropsWithoutEventHandlers, componentsPropsWithoutEventHandlers);
|
|
11535
11535
|
if (joinedClasses.length > 0) {
|
|
11536
11536
|
props.className = joinedClasses;
|
|
@@ -11580,7 +11580,7 @@
|
|
|
11580
11580
|
} = mergeSlotProps(_extends$3({}, rest, {
|
|
11581
11581
|
externalSlotProps: resolvedComponentsProps
|
|
11582
11582
|
}));
|
|
11583
|
-
const ref = useForkRef(internalRef, resolvedComponentsProps == null ?
|
|
11583
|
+
const ref = useForkRef(internalRef, resolvedComponentsProps == null ? void 0 : resolvedComponentsProps.ref, (_parameters$additiona = parameters.additionalProps) == null ? void 0 : _parameters$additiona.ref);
|
|
11584
11584
|
const props = appendOwnerState(elementType, _extends$3({}, mergedProps, {
|
|
11585
11585
|
ref
|
|
11586
11586
|
}), ownerState);
|
|
@@ -11598,11 +11598,11 @@
|
|
|
11598
11598
|
// 'ref' is passed as prop in React 19, whereas 'ref' is directly attached to children in older versions
|
|
11599
11599
|
if (parseInt(reactExports.version, 10) >= 19) {
|
|
11600
11600
|
var _element$props;
|
|
11601
|
-
return (element == null || (_element$props = element.props) == null ?
|
|
11601
|
+
return (element == null || (_element$props = element.props) == null ? void 0 : _element$props.ref) || null;
|
|
11602
11602
|
}
|
|
11603
11603
|
// @ts-expect-error element.ref is not included in the ReactElement type
|
|
11604
11604
|
// https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189
|
|
11605
|
-
return (element == null ?
|
|
11605
|
+
return (element == null ? void 0 : element.ref) || null;
|
|
11606
11606
|
}
|
|
11607
11607
|
|
|
11608
11608
|
const ThemeContext = /*#__PURE__*/reactExports.createContext(null);
|
|
@@ -11754,7 +11754,7 @@
|
|
|
11754
11754
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(RtlProvider, {
|
|
11755
11755
|
value: rtlValue,
|
|
11756
11756
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(DefaultPropsProvider, {
|
|
11757
|
-
value: engineTheme == null ?
|
|
11757
|
+
value: engineTheme == null ? void 0 : engineTheme.components,
|
|
11758
11758
|
children: children
|
|
11759
11759
|
})
|
|
11760
11760
|
})
|
|
@@ -12042,7 +12042,7 @@
|
|
|
12042
12042
|
});
|
|
12043
12043
|
colorManipulator.alpha = alpha;
|
|
12044
12044
|
colorManipulator.blend = blend;
|
|
12045
|
-
colorManipulator.colorChannel =
|
|
12045
|
+
colorManipulator.colorChannel = void 0;
|
|
12046
12046
|
colorManipulator.darken = darken;
|
|
12047
12047
|
colorManipulator.decomposeColor = decomposeColor;
|
|
12048
12048
|
colorManipulator.emphasize = emphasize;
|
|
@@ -12052,7 +12052,7 @@
|
|
|
12052
12052
|
colorManipulator.hslToRgb = hslToRgb;
|
|
12053
12053
|
colorManipulator.lighten = lighten;
|
|
12054
12054
|
colorManipulator.private_safeAlpha = private_safeAlpha;
|
|
12055
|
-
colorManipulator.private_safeColorChannel =
|
|
12055
|
+
colorManipulator.private_safeColorChannel = void 0;
|
|
12056
12056
|
colorManipulator.private_safeDarken = private_safeDarken;
|
|
12057
12057
|
colorManipulator.private_safeEmphasize = private_safeEmphasize;
|
|
12058
12058
|
colorManipulator.private_safeLighten = private_safeLighten;
|
|
@@ -12914,7 +12914,7 @@
|
|
|
12914
12914
|
});
|
|
12915
12915
|
muiTheme = deepmerge$1(muiTheme, other);
|
|
12916
12916
|
muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
|
|
12917
|
-
muiTheme.unstable_sxConfig = _extends$6({}, defaultSxConfig, other == null ?
|
|
12917
|
+
muiTheme.unstable_sxConfig = _extends$6({}, defaultSxConfig, other == null ? void 0 : other.unstable_sxConfig);
|
|
12918
12918
|
muiTheme.unstable_sx = function sx(props) {
|
|
12919
12919
|
return styleFunctionSx$1({
|
|
12920
12920
|
sx: props,
|
|
@@ -13009,7 +13009,7 @@
|
|
|
13009
13009
|
});
|
|
13010
13010
|
createStyled$1.default = createStyled;
|
|
13011
13011
|
createStyled$1.shouldForwardProp = shouldForwardProp;
|
|
13012
|
-
createStyled$1.systemDefaultTheme =
|
|
13012
|
+
createStyled$1.systemDefaultTheme = void 0;
|
|
13013
13013
|
var _extends2 = _interopRequireDefault(require_extends());
|
|
13014
13014
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(requireObjectWithoutPropertiesLoose());
|
|
13015
13015
|
var _styledEngine = _interopRequireWildcard(require$$1);
|
|
@@ -13088,7 +13088,7 @@
|
|
|
13088
13088
|
}, props, ownerState));
|
|
13089
13089
|
} else {
|
|
13090
13090
|
Object.keys(variant.props).forEach(key => {
|
|
13091
|
-
if ((ownerState == null ?
|
|
13091
|
+
if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {
|
|
13092
13092
|
isMatch = false;
|
|
13093
13093
|
}
|
|
13094
13094
|
});
|
|
@@ -13205,7 +13205,7 @@
|
|
|
13205
13205
|
defaultTheme,
|
|
13206
13206
|
themeId
|
|
13207
13207
|
}));
|
|
13208
|
-
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ?
|
|
13208
|
+
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;
|
|
13209
13209
|
return processStyleArg({
|
|
13210
13210
|
variants: themeVariants
|
|
13211
13211
|
}, (0, _extends2.default)({}, props, {
|
|
@@ -13551,7 +13551,7 @@
|
|
|
13551
13551
|
};
|
|
13552
13552
|
|
|
13553
13553
|
_proto.updateStatus = function updateStatus(mounting, nextStatus) {
|
|
13554
|
-
if (mounting ===
|
|
13554
|
+
if (mounting === void 0) {
|
|
13555
13555
|
mounting = false;
|
|
13556
13556
|
}
|
|
13557
13557
|
|
|
@@ -13772,7 +13772,7 @@
|
|
|
13772
13772
|
Transition.EXITING = EXITING;
|
|
13773
13773
|
|
|
13774
13774
|
function _assertThisInitialized(self) {
|
|
13775
|
-
if (self ===
|
|
13775
|
+
if (self === void 0) {
|
|
13776
13776
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13777
13777
|
}
|
|
13778
13778
|
|
|
@@ -14268,11 +14268,11 @@
|
|
|
14268
14268
|
center = centerProp || options.pulsate,
|
|
14269
14269
|
fakeElement = false // For test purposes
|
|
14270
14270
|
} = options;
|
|
14271
|
-
if ((event == null ?
|
|
14271
|
+
if ((event == null ? void 0 : event.type) === 'mousedown' && ignoringMouseDown.current) {
|
|
14272
14272
|
ignoringMouseDown.current = false;
|
|
14273
14273
|
return;
|
|
14274
14274
|
}
|
|
14275
|
-
if ((event == null ?
|
|
14275
|
+
if ((event == null ? void 0 : event.type) === 'touchstart') {
|
|
14276
14276
|
ignoringMouseDown.current = true;
|
|
14277
14277
|
}
|
|
14278
14278
|
const element = fakeElement ? null : container.current;
|
|
@@ -14356,7 +14356,7 @@
|
|
|
14356
14356
|
|
|
14357
14357
|
// The touch interaction occurs too quickly.
|
|
14358
14358
|
// We still want to show ripple effect.
|
|
14359
|
-
if ((event == null ?
|
|
14359
|
+
if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) {
|
|
14360
14360
|
startTimerCommit.current();
|
|
14361
14361
|
startTimerCommit.current = null;
|
|
14362
14362
|
startTimer.start(0, () => {
|
|
@@ -14821,7 +14821,7 @@
|
|
|
14821
14821
|
}, ownerState.variant === 'contained' && {
|
|
14822
14822
|
color: theme.vars ?
|
|
14823
14823
|
// this is safe because grey does not change between default light/dark mode
|
|
14824
|
-
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ?
|
|
14824
|
+
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
|
|
14825
14825
|
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
|
|
14826
14826
|
boxShadow: (theme.vars || theme).shadows[2]
|
|
14827
14827
|
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
@@ -15297,7 +15297,7 @@
|
|
|
15297
15297
|
return cache[key];
|
|
15298
15298
|
}
|
|
15299
15299
|
|
|
15300
|
-
const NEBULA_VERSION_HASH = "
|
|
15300
|
+
const NEBULA_VERSION_HASH = "0b93";
|
|
15301
15301
|
ClassNameGenerator.configure(componentName => {
|
|
15302
15302
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
15303
15303
|
});
|
|
@@ -15529,7 +15529,7 @@
|
|
|
15529
15529
|
const appRef = React.createRef();
|
|
15530
15530
|
const element = document.createElement('div');
|
|
15531
15531
|
element.style.display = 'none';
|
|
15532
|
-
element.setAttribute('data-nebulajs-version', "5.
|
|
15532
|
+
element.setAttribute('data-nebulajs-version', "5.10.0");
|
|
15533
15533
|
element.setAttribute('data-app-id', app.id);
|
|
15534
15534
|
document.body.appendChild(element);
|
|
15535
15535
|
if (context) {
|
|
@@ -15636,19 +15636,19 @@
|
|
|
15636
15636
|
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
15637
15637
|
fill: ownerState.hasSvgAsChild ? undefined : 'currentColor',
|
|
15638
15638
|
flexShrink: 0,
|
|
15639
|
-
transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ?
|
|
15640
|
-
duration: (_theme$transitions2 = theme.transitions) == null || (_theme$transitions2 = _theme$transitions2.duration) == null ?
|
|
15639
|
+
transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {
|
|
15640
|
+
duration: (_theme$transitions2 = theme.transitions) == null || (_theme$transitions2 = _theme$transitions2.duration) == null ? void 0 : _theme$transitions2.shorter
|
|
15641
15641
|
}),
|
|
15642
15642
|
fontSize: {
|
|
15643
15643
|
inherit: 'inherit',
|
|
15644
|
-
small: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ?
|
|
15645
|
-
medium: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ?
|
|
15646
|
-
large: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ?
|
|
15644
|
+
small: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem',
|
|
15645
|
+
medium: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem',
|
|
15646
|
+
large: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875rem'
|
|
15647
15647
|
}[ownerState.fontSize],
|
|
15648
15648
|
// TODO v5 deprecate, v6 remove for sx
|
|
15649
|
-
color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null || (_palette = _palette[ownerState.color]) == null ?
|
|
15650
|
-
action: (_palette2 = (theme.vars || theme).palette) == null || (_palette2 = _palette2.action) == null ?
|
|
15651
|
-
disabled: (_palette3 = (theme.vars || theme).palette) == null || (_palette3 = _palette3.action) == null ?
|
|
15649
|
+
color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null || (_palette = _palette[ownerState.color]) == null ? void 0 : _palette.main) != null ? _palette$ownerState$c : {
|
|
15650
|
+
action: (_palette2 = (theme.vars || theme).palette) == null || (_palette2 = _palette2.action) == null ? void 0 : _palette2.active,
|
|
15651
|
+
disabled: (_palette3 = (theme.vars || theme).palette) == null || (_palette3 = _palette3.action) == null ? void 0 : _palette3.disabled,
|
|
15652
15652
|
inherit: undefined
|
|
15653
15653
|
}[ownerState.color]
|
|
15654
15654
|
};
|
|
@@ -15805,7 +15805,7 @@
|
|
|
15805
15805
|
}, !theme.vars && theme.palette.mode === 'dark' && {
|
|
15806
15806
|
backgroundImage: `linear-gradient(${colorManipulatorExports.alpha('#fff', getOverlayAlpha(ownerState.elevation))}, ${colorManipulatorExports.alpha('#fff', getOverlayAlpha(ownerState.elevation))})`
|
|
15807
15807
|
}, theme.vars && {
|
|
15808
|
-
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ?
|
|
15808
|
+
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
|
|
15809
15809
|
}));
|
|
15810
15810
|
});
|
|
15811
15811
|
const Paper = /*#__PURE__*/reactExports.forwardRef(function Paper(inProps, ref) {
|
|
@@ -15896,11 +15896,11 @@
|
|
|
15896
15896
|
ownerState
|
|
15897
15897
|
}) => {
|
|
15898
15898
|
var _palette;
|
|
15899
|
-
const palette = (_palette = (theme.vars || theme).palette) == null ?
|
|
15899
|
+
const palette = (_palette = (theme.vars || theme).palette) == null ? void 0 : _palette[ownerState.color];
|
|
15900
15900
|
return _extends$6({}, ownerState.color === 'inherit' && {
|
|
15901
15901
|
color: 'inherit'
|
|
15902
15902
|
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends$6({
|
|
15903
|
-
color: palette == null ?
|
|
15903
|
+
color: palette == null ? void 0 : palette.main
|
|
15904
15904
|
}, !ownerState.disableRipple && {
|
|
15905
15905
|
'&:hover': _extends$6({}, palette && {
|
|
15906
15906
|
backgroundColor: theme.vars ? `rgba(${palette.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : colorManipulatorExports.alpha(palette.main, theme.palette.action.hoverOpacity)
|
|
@@ -16088,7 +16088,7 @@
|
|
|
16088
16088
|
Object.defineProperty(useThemeWithoutDefault, "__esModule", {
|
|
16089
16089
|
value: true
|
|
16090
16090
|
});
|
|
16091
|
-
useThemeWithoutDefault.default =
|
|
16091
|
+
useThemeWithoutDefault.default = void 0;
|
|
16092
16092
|
var React = _interopRequireWildcard(requireReact());
|
|
16093
16093
|
var _styledEngine = require$$1;
|
|
16094
16094
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -16284,11 +16284,11 @@
|
|
|
16284
16284
|
}
|
|
16285
16285
|
|
|
16286
16286
|
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
16287
|
-
if (includeScale ===
|
|
16287
|
+
if (includeScale === void 0) {
|
|
16288
16288
|
includeScale = false;
|
|
16289
16289
|
}
|
|
16290
16290
|
|
|
16291
|
-
if (isFixedStrategy ===
|
|
16291
|
+
if (isFixedStrategy === void 0) {
|
|
16292
16292
|
isFixedStrategy = false;
|
|
16293
16293
|
}
|
|
16294
16294
|
|
|
@@ -16542,7 +16542,7 @@
|
|
|
16542
16542
|
var state = _ref2.state,
|
|
16543
16543
|
options = _ref2.options;
|
|
16544
16544
|
var _options$element = options.element,
|
|
16545
|
-
arrowElement = _options$element ===
|
|
16545
|
+
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
|
|
16546
16546
|
|
|
16547
16547
|
if (arrowElement == null) {
|
|
16548
16548
|
return;
|
|
@@ -16612,9 +16612,9 @@
|
|
|
16612
16612
|
roundOffsets = _ref2.roundOffsets,
|
|
16613
16613
|
isFixed = _ref2.isFixed;
|
|
16614
16614
|
var _offsets$x = offsets.x,
|
|
16615
|
-
x = _offsets$x ===
|
|
16615
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
16616
16616
|
_offsets$y = offsets.y,
|
|
16617
|
-
y = _offsets$y ===
|
|
16617
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
16618
16618
|
|
|
16619
16619
|
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
16620
16620
|
x: x,
|
|
@@ -16694,11 +16694,11 @@
|
|
|
16694
16694
|
var state = _ref5.state,
|
|
16695
16695
|
options = _ref5.options;
|
|
16696
16696
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
16697
|
-
gpuAcceleration = _options$gpuAccelerat ===
|
|
16697
|
+
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
16698
16698
|
_options$adaptive = options.adaptive,
|
|
16699
|
-
adaptive = _options$adaptive ===
|
|
16699
|
+
adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
|
|
16700
16700
|
_options$roundOffsets = options.roundOffsets,
|
|
16701
|
-
roundOffsets = _options$roundOffsets ===
|
|
16701
|
+
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
16702
16702
|
var commonStyles = {
|
|
16703
16703
|
placement: getBasePlacement(state.placement),
|
|
16704
16704
|
variation: getVariation(state.placement),
|
|
@@ -16749,9 +16749,9 @@
|
|
|
16749
16749
|
instance = _ref.instance,
|
|
16750
16750
|
options = _ref.options;
|
|
16751
16751
|
var _options$scroll = options.scroll,
|
|
16752
|
-
scroll = _options$scroll ===
|
|
16752
|
+
scroll = _options$scroll === void 0 ? true : _options$scroll,
|
|
16753
16753
|
_options$resize = options.resize,
|
|
16754
|
-
resize = _options$resize ===
|
|
16754
|
+
resize = _options$resize === void 0 ? true : _options$resize;
|
|
16755
16755
|
var window = getWindow(state.elements.popper);
|
|
16756
16756
|
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
16757
16757
|
|
|
@@ -16866,7 +16866,7 @@
|
|
|
16866
16866
|
|
|
16867
16867
|
var html = getDocumentElement(element);
|
|
16868
16868
|
var winScroll = getWindowScroll(element);
|
|
16869
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ?
|
|
16869
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
16870
16870
|
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
16871
16871
|
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
16872
16872
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
@@ -16917,12 +16917,12 @@
|
|
|
16917
16917
|
function listScrollParents(element, list) {
|
|
16918
16918
|
var _element$ownerDocumen;
|
|
16919
16919
|
|
|
16920
|
-
if (list ===
|
|
16920
|
+
if (list === void 0) {
|
|
16921
16921
|
list = [];
|
|
16922
16922
|
}
|
|
16923
16923
|
|
|
16924
16924
|
var scrollParent = getScrollParent(element);
|
|
16925
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ?
|
|
16925
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
|
16926
16926
|
var win = getWindow(scrollParent);
|
|
16927
16927
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
16928
16928
|
var updatedList = list.concat(target);
|
|
@@ -17061,25 +17061,25 @@
|
|
|
17061
17061
|
}
|
|
17062
17062
|
|
|
17063
17063
|
function detectOverflow(state, options) {
|
|
17064
|
-
if (options ===
|
|
17064
|
+
if (options === void 0) {
|
|
17065
17065
|
options = {};
|
|
17066
17066
|
}
|
|
17067
17067
|
|
|
17068
17068
|
var _options = options,
|
|
17069
17069
|
_options$placement = _options.placement,
|
|
17070
|
-
placement = _options$placement ===
|
|
17070
|
+
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
17071
17071
|
_options$strategy = _options.strategy,
|
|
17072
|
-
strategy = _options$strategy ===
|
|
17072
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
17073
17073
|
_options$boundary = _options.boundary,
|
|
17074
|
-
boundary = _options$boundary ===
|
|
17074
|
+
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
17075
17075
|
_options$rootBoundary = _options.rootBoundary,
|
|
17076
|
-
rootBoundary = _options$rootBoundary ===
|
|
17076
|
+
rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
|
|
17077
17077
|
_options$elementConte = _options.elementContext,
|
|
17078
|
-
elementContext = _options$elementConte ===
|
|
17078
|
+
elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
|
|
17079
17079
|
_options$altBoundary = _options.altBoundary,
|
|
17080
|
-
altBoundary = _options$altBoundary ===
|
|
17080
|
+
altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
|
|
17081
17081
|
_options$padding = _options.padding,
|
|
17082
|
-
padding = _options$padding ===
|
|
17082
|
+
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
17083
17083
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
17084
17084
|
var altContext = elementContext === popper ? reference : popper;
|
|
17085
17085
|
var popperRect = state.rects.popper;
|
|
@@ -17116,7 +17116,7 @@
|
|
|
17116
17116
|
}
|
|
17117
17117
|
|
|
17118
17118
|
function computeAutoPlacement(state, options) {
|
|
17119
|
-
if (options ===
|
|
17119
|
+
if (options === void 0) {
|
|
17120
17120
|
options = {};
|
|
17121
17121
|
}
|
|
17122
17122
|
|
|
@@ -17127,7 +17127,7 @@
|
|
|
17127
17127
|
padding = _options.padding,
|
|
17128
17128
|
flipVariations = _options.flipVariations,
|
|
17129
17129
|
_options$allowedAutoP = _options.allowedAutoPlacements,
|
|
17130
|
-
allowedAutoPlacements = _options$allowedAutoP ===
|
|
17130
|
+
allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
|
|
17131
17131
|
var variation = getVariation(placement);
|
|
17132
17132
|
var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
|
17133
17133
|
return getVariation(placement) === variation;
|
|
@@ -17174,16 +17174,16 @@
|
|
|
17174
17174
|
}
|
|
17175
17175
|
|
|
17176
17176
|
var _options$mainAxis = options.mainAxis,
|
|
17177
|
-
checkMainAxis = _options$mainAxis ===
|
|
17177
|
+
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
|
17178
17178
|
_options$altAxis = options.altAxis,
|
|
17179
|
-
checkAltAxis = _options$altAxis ===
|
|
17179
|
+
checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
|
|
17180
17180
|
specifiedFallbackPlacements = options.fallbackPlacements,
|
|
17181
17181
|
padding = options.padding,
|
|
17182
17182
|
boundary = options.boundary,
|
|
17183
17183
|
rootBoundary = options.rootBoundary,
|
|
17184
17184
|
altBoundary = options.altBoundary,
|
|
17185
17185
|
_options$flipVariatio = options.flipVariations,
|
|
17186
|
-
flipVariations = _options$flipVariatio ===
|
|
17186
|
+
flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
|
|
17187
17187
|
allowedAutoPlacements = options.allowedAutoPlacements;
|
|
17188
17188
|
var preferredPlacement = state.options.placement;
|
|
17189
17189
|
var basePlacement = getBasePlacement(preferredPlacement);
|
|
@@ -17296,7 +17296,7 @@
|
|
|
17296
17296
|
};
|
|
17297
17297
|
|
|
17298
17298
|
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
17299
|
-
if (preventedOffsets ===
|
|
17299
|
+
if (preventedOffsets === void 0) {
|
|
17300
17300
|
preventedOffsets = {
|
|
17301
17301
|
x: 0,
|
|
17302
17302
|
y: 0
|
|
@@ -17380,7 +17380,7 @@
|
|
|
17380
17380
|
options = _ref2.options,
|
|
17381
17381
|
name = _ref2.name;
|
|
17382
17382
|
var _options$offset = options.offset,
|
|
17383
|
-
offset = _options$offset ===
|
|
17383
|
+
offset = _options$offset === void 0 ? [0, 0] : _options$offset;
|
|
17384
17384
|
var data = placements.reduce(function (acc, placement) {
|
|
17385
17385
|
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
17386
17386
|
return acc;
|
|
@@ -17438,17 +17438,17 @@
|
|
|
17438
17438
|
options = _ref.options,
|
|
17439
17439
|
name = _ref.name;
|
|
17440
17440
|
var _options$mainAxis = options.mainAxis,
|
|
17441
|
-
checkMainAxis = _options$mainAxis ===
|
|
17441
|
+
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
|
17442
17442
|
_options$altAxis = options.altAxis,
|
|
17443
|
-
checkAltAxis = _options$altAxis ===
|
|
17443
|
+
checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
|
|
17444
17444
|
boundary = options.boundary,
|
|
17445
17445
|
rootBoundary = options.rootBoundary,
|
|
17446
17446
|
altBoundary = options.altBoundary,
|
|
17447
17447
|
padding = options.padding,
|
|
17448
17448
|
_options$tether = options.tether,
|
|
17449
|
-
tether = _options$tether ===
|
|
17449
|
+
tether = _options$tether === void 0 ? true : _options$tether,
|
|
17450
17450
|
_options$tetherOffset = options.tetherOffset,
|
|
17451
|
-
tetherOffset = _options$tetherOffset ===
|
|
17451
|
+
tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
|
|
17452
17452
|
var overflow = detectOverflow(state, {
|
|
17453
17453
|
boundary: boundary,
|
|
17454
17454
|
rootBoundary: rootBoundary,
|
|
@@ -17515,7 +17515,7 @@
|
|
|
17515
17515
|
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
17516
17516
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
17517
17517
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
17518
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ?
|
|
17518
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
17519
17519
|
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
17520
17520
|
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
17521
17521
|
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
@@ -17540,7 +17540,7 @@
|
|
|
17540
17540
|
|
|
17541
17541
|
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
17542
17542
|
|
|
17543
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ?
|
|
17543
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
17544
17544
|
|
|
17545
17545
|
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
17546
17546
|
|
|
@@ -17589,7 +17589,7 @@
|
|
|
17589
17589
|
|
|
17590
17590
|
|
|
17591
17591
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
17592
|
-
if (isFixed ===
|
|
17592
|
+
if (isFixed === void 0) {
|
|
17593
17593
|
isFixed = false;
|
|
17594
17594
|
}
|
|
17595
17595
|
|
|
@@ -17720,17 +17720,17 @@
|
|
|
17720
17720
|
}
|
|
17721
17721
|
|
|
17722
17722
|
function popperGenerator(generatorOptions) {
|
|
17723
|
-
if (generatorOptions ===
|
|
17723
|
+
if (generatorOptions === void 0) {
|
|
17724
17724
|
generatorOptions = {};
|
|
17725
17725
|
}
|
|
17726
17726
|
|
|
17727
17727
|
var _generatorOptions = generatorOptions,
|
|
17728
17728
|
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
|
17729
|
-
defaultModifiers = _generatorOptions$def ===
|
|
17729
|
+
defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
|
|
17730
17730
|
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
|
17731
|
-
defaultOptions = _generatorOptions$def2 ===
|
|
17731
|
+
defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
17732
17732
|
return function createPopper(reference, popper, options) {
|
|
17733
|
-
if (options ===
|
|
17733
|
+
if (options === void 0) {
|
|
17734
17734
|
options = defaultOptions;
|
|
17735
17735
|
}
|
|
17736
17736
|
|
|
@@ -17817,7 +17817,7 @@
|
|
|
17817
17817
|
var _state$orderedModifie = state.orderedModifiers[index],
|
|
17818
17818
|
fn = _state$orderedModifie.fn,
|
|
17819
17819
|
_state$orderedModifie2 = _state$orderedModifie.options,
|
|
17820
|
-
_options = _state$orderedModifie2 ===
|
|
17820
|
+
_options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
|
|
17821
17821
|
name = _state$orderedModifie.name;
|
|
17822
17822
|
|
|
17823
17823
|
if (typeof fn === 'function') {
|
|
@@ -17862,7 +17862,7 @@
|
|
|
17862
17862
|
state.orderedModifiers.forEach(function (_ref) {
|
|
17863
17863
|
var name = _ref.name,
|
|
17864
17864
|
_ref$options = _ref.options,
|
|
17865
|
-
options = _ref$options ===
|
|
17865
|
+
options = _ref$options === void 0 ? {} : _ref$options,
|
|
17866
17866
|
effect = _ref.effect;
|
|
17867
17867
|
|
|
17868
17868
|
if (typeof effect === 'function') {
|
|
@@ -18226,7 +18226,7 @@
|
|
|
18226
18226
|
slotProps
|
|
18227
18227
|
} = props,
|
|
18228
18228
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$w);
|
|
18229
|
-
const RootComponent = (_slots$root = slots == null ?
|
|
18229
|
+
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
18230
18230
|
const otherProps = _extends$6({
|
|
18231
18231
|
anchorEl,
|
|
18232
18232
|
container,
|
|
@@ -18241,7 +18241,7 @@
|
|
|
18241
18241
|
}, other);
|
|
18242
18242
|
return /*#__PURE__*/jsxRuntimeExports.jsx(PopperRoot, _extends$6({
|
|
18243
18243
|
as: component,
|
|
18244
|
-
direction: theme == null ?
|
|
18244
|
+
direction: theme == null ? void 0 : theme.direction,
|
|
18245
18245
|
slots: {
|
|
18246
18246
|
root: RootComponent
|
|
18247
18247
|
},
|
|
@@ -19114,8 +19114,8 @@
|
|
|
19114
19114
|
"aria-hidden": true
|
|
19115
19115
|
}, rootSlotProps, {
|
|
19116
19116
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
|
19117
|
-
className: clsx$1(classes.root, className, rootSlotProps == null ?
|
|
19118
|
-
ownerState: _extends$6({}, ownerState, rootSlotProps == null ?
|
|
19117
|
+
className: clsx$1(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
19118
|
+
ownerState: _extends$6({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
19119
19119
|
classes: classes,
|
|
19120
19120
|
ref: ref,
|
|
19121
19121
|
children: children
|
|
@@ -19438,10 +19438,10 @@
|
|
|
19438
19438
|
const classes = useUtilityClasses$i(ownerState);
|
|
19439
19439
|
|
|
19440
19440
|
// support both `slots` and `components` for backward compatibility
|
|
19441
|
-
const RootSlot = (_ref = (_slots$root = slots == null ?
|
|
19442
|
-
const BadgeSlot = (_ref2 = (_slots$badge = slots == null ?
|
|
19443
|
-
const rootSlotProps = (_slotProps$root = slotProps == null ?
|
|
19444
|
-
const badgeSlotProps = (_slotProps$badge = slotProps == null ?
|
|
19441
|
+
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : BadgeRoot;
|
|
19442
|
+
const BadgeSlot = (_ref2 = (_slots$badge = slots == null ? void 0 : slots.badge) != null ? _slots$badge : components.Badge) != null ? _ref2 : BadgeBadge;
|
|
19443
|
+
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
19444
|
+
const badgeSlotProps = (_slotProps$badge = slotProps == null ? void 0 : slotProps.badge) != null ? _slotProps$badge : componentsProps.badge;
|
|
19445
19445
|
const rootProps = useSlotProps({
|
|
19446
19446
|
elementType: RootSlot,
|
|
19447
19447
|
externalSlotProps: rootSlotProps,
|
|
@@ -19451,13 +19451,13 @@
|
|
|
19451
19451
|
as: component
|
|
19452
19452
|
},
|
|
19453
19453
|
ownerState,
|
|
19454
|
-
className: clsx$1(rootSlotProps == null ?
|
|
19454
|
+
className: clsx$1(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)
|
|
19455
19455
|
});
|
|
19456
19456
|
const badgeProps = useSlotProps({
|
|
19457
19457
|
elementType: BadgeSlot,
|
|
19458
19458
|
externalSlotProps: badgeSlotProps,
|
|
19459
19459
|
ownerState,
|
|
19460
|
-
className: clsx$1(classes.badge, badgeSlotProps == null ?
|
|
19460
|
+
className: clsx$1(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
|
|
19461
19461
|
});
|
|
19462
19462
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(RootSlot, _extends$6({}, rootProps, {
|
|
19463
19463
|
children: [children, /*#__PURE__*/jsxRuntimeExports.jsx(BadgeSlot, _extends$6({}, badgeProps, {
|
|
@@ -19999,7 +19999,7 @@
|
|
|
19999
19999
|
// https://css-tricks.com/snippets/css/force-vertical-scrollbar/
|
|
20000
20000
|
const parent = container.parentElement;
|
|
20001
20001
|
const containerWindow = ownerWindow(container);
|
|
20002
|
-
scrollContainer = (parent == null ?
|
|
20002
|
+
scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;
|
|
20003
20003
|
}
|
|
20004
20004
|
|
|
20005
20005
|
// Block the scroll even if no scrollbar is visible to account for mobile keyboard
|
|
@@ -20052,8 +20052,8 @@
|
|
|
20052
20052
|
*/
|
|
20053
20053
|
class ModalManager {
|
|
20054
20054
|
constructor() {
|
|
20055
|
-
this.containers =
|
|
20056
|
-
this.modals =
|
|
20055
|
+
this.containers = void 0;
|
|
20056
|
+
this.modals = void 0;
|
|
20057
20057
|
this.modals = [];
|
|
20058
20058
|
this.containers = [];
|
|
20059
20059
|
}
|
|
@@ -20322,7 +20322,7 @@
|
|
|
20322
20322
|
// to the first/last tabbable element inside the focus trap
|
|
20323
20323
|
if (tabbable.length > 0) {
|
|
20324
20324
|
var _lastKeydown$current, _lastKeydown$current2;
|
|
20325
|
-
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ?
|
|
20325
|
+
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab');
|
|
20326
20326
|
const focusNext = tabbable[0];
|
|
20327
20327
|
const focusPrevious = tabbable[tabbable.length - 1];
|
|
20328
20328
|
if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {
|
|
@@ -20564,8 +20564,8 @@
|
|
|
20564
20564
|
}
|
|
20565
20565
|
};
|
|
20566
20566
|
return {
|
|
20567
|
-
onEnter: createChainedFunction(handleEnter, children == null ?
|
|
20568
|
-
onExited: createChainedFunction(handleExited, children == null ?
|
|
20567
|
+
onEnter: createChainedFunction(handleEnter, children == null ? void 0 : children.props.onEnter),
|
|
20568
|
+
onExited: createChainedFunction(handleExited, children == null ? void 0 : children.props.onExited)
|
|
20569
20569
|
};
|
|
20570
20570
|
};
|
|
20571
20571
|
return {
|
|
@@ -20714,10 +20714,10 @@
|
|
|
20714
20714
|
childProps.onEnter = onEnter;
|
|
20715
20715
|
childProps.onExited = onExited;
|
|
20716
20716
|
}
|
|
20717
|
-
const RootSlot = (_ref = (_slots$root = slots == null ?
|
|
20718
|
-
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ?
|
|
20719
|
-
const rootSlotProps = (_slotProps$root = slotProps == null ?
|
|
20720
|
-
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ?
|
|
20717
|
+
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
|
|
20718
|
+
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
20719
|
+
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
20720
|
+
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
20721
20721
|
const rootProps = useSlotProps({
|
|
20722
20722
|
elementType: RootSlot,
|
|
20723
20723
|
externalSlotProps: rootSlotProps,
|
|
@@ -20728,7 +20728,7 @@
|
|
|
20728
20728
|
as: component
|
|
20729
20729
|
},
|
|
20730
20730
|
ownerState,
|
|
20731
|
-
className: clsx$1(className, rootSlotProps == null ?
|
|
20731
|
+
className: clsx$1(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
|
|
20732
20732
|
});
|
|
20733
20733
|
const backdropProps = useSlotProps({
|
|
20734
20734
|
elementType: BackdropSlot,
|
|
@@ -20746,7 +20746,7 @@
|
|
|
20746
20746
|
}
|
|
20747
20747
|
}));
|
|
20748
20748
|
},
|
|
20749
|
-
className: clsx$1(backdropSlotProps == null ?
|
|
20749
|
+
className: clsx$1(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop),
|
|
20750
20750
|
ownerState
|
|
20751
20751
|
});
|
|
20752
20752
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
@@ -21066,7 +21066,7 @@
|
|
|
21066
21066
|
} = props,
|
|
21067
21067
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$l);
|
|
21068
21068
|
const muiFormControl = useFormControl();
|
|
21069
|
-
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ?
|
|
21069
|
+
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ? void 0 : muiFormControl.disabled;
|
|
21070
21070
|
const required = requiredProp != null ? requiredProp : control.props.required;
|
|
21071
21071
|
const controlProps = {
|
|
21072
21072
|
disabled,
|
|
@@ -21095,7 +21095,7 @@
|
|
|
21095
21095
|
label = /*#__PURE__*/jsxRuntimeExports.jsx(Typography, _extends$6({
|
|
21096
21096
|
component: "span"
|
|
21097
21097
|
}, typographySlotProps, {
|
|
21098
|
-
className: clsx$1(classes.label, typographySlotProps == null ?
|
|
21098
|
+
className: clsx$1(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
|
|
21099
21099
|
children: label
|
|
21100
21100
|
}));
|
|
21101
21101
|
}
|
|
@@ -22678,7 +22678,7 @@
|
|
|
22678
22678
|
} = props,
|
|
22679
22679
|
TransitionProps = _objectWithoutPropertiesLoose$3(props.TransitionProps, _excluded$b),
|
|
22680
22680
|
other = _objectWithoutPropertiesLoose$3(props, _excluded2$1);
|
|
22681
|
-
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ?
|
|
22681
|
+
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
22682
22682
|
const paperRef = reactExports.useRef();
|
|
22683
22683
|
const handlePaperRef = useForkRef(paperRef, externalPaperSlotProps.ref);
|
|
22684
22684
|
const ownerState = _extends$6({}, props, {
|
|
@@ -22841,8 +22841,8 @@
|
|
|
22841
22841
|
// If the anchorEl prop is provided, use its parent body element as the container
|
|
22842
22842
|
// If neither are provided let the Modal take care of choosing the container
|
|
22843
22843
|
const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);
|
|
22844
|
-
const RootSlot = (_slots$root = slots == null ?
|
|
22845
|
-
const PaperSlot = (_slots$paper = slots == null ?
|
|
22844
|
+
const RootSlot = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : PopoverRoot;
|
|
22845
|
+
const PaperSlot = (_slots$paper = slots == null ? void 0 : slots.paper) != null ? _slots$paper : PopoverPaper;
|
|
22846
22846
|
const paperProps = useSlotProps({
|
|
22847
22847
|
elementType: PaperSlot,
|
|
22848
22848
|
externalSlotProps: _extends$6({}, externalPaperSlotProps, {
|
|
@@ -22855,11 +22855,11 @@
|
|
|
22855
22855
|
ref: handlePaperRef
|
|
22856
22856
|
},
|
|
22857
22857
|
ownerState,
|
|
22858
|
-
className: clsx$1(classes.paper, externalPaperSlotProps == null ?
|
|
22858
|
+
className: clsx$1(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)
|
|
22859
22859
|
});
|
|
22860
22860
|
const _useSlotProps = useSlotProps({
|
|
22861
22861
|
elementType: RootSlot,
|
|
22862
|
-
externalSlotProps: (slotProps == null ?
|
|
22862
|
+
externalSlotProps: (slotProps == null ? void 0 : slotProps.root) || {},
|
|
22863
22863
|
externalForwardedProps: other,
|
|
22864
22864
|
additionalProps: {
|
|
22865
22865
|
ref,
|
|
@@ -24000,14 +24000,14 @@
|
|
|
24000
24000
|
const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
|
|
24001
24001
|
const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
|
|
24002
24002
|
const popperProps = appendOwnerState(PopperComponent, _extends$6({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
|
|
24003
|
-
className: clsx$1(classes.popper, PopperProps == null ?
|
|
24003
|
+
className: clsx$1(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
|
|
24004
24004
|
}), ownerState);
|
|
24005
24005
|
const transitionProps = appendOwnerState(TransitionComponent, _extends$6({}, TransitionProps, (_slotProps$transition = slotProps.transition) != null ? _slotProps$transition : componentsProps.transition), ownerState);
|
|
24006
24006
|
const tooltipProps = appendOwnerState(TooltipComponent, _extends$6({}, (_slotProps$tooltip = slotProps.tooltip) != null ? _slotProps$tooltip : componentsProps.tooltip, {
|
|
24007
|
-
className: clsx$1(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ?
|
|
24007
|
+
className: clsx$1(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
|
|
24008
24008
|
}), ownerState);
|
|
24009
24009
|
const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends$6({}, (_slotProps$arrow = slotProps.arrow) != null ? _slotProps$arrow : componentsProps.arrow, {
|
|
24010
|
-
className: clsx$1(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ?
|
|
24010
|
+
className: clsx$1(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
|
|
24011
24011
|
}), ownerState);
|
|
24012
24012
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(reactExports.Fragment, {
|
|
24013
24013
|
children: [/*#__PURE__*/reactExports.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntimeExports.jsx(PopperComponent, _extends$6({
|
|
@@ -24790,7 +24790,7 @@
|
|
|
24790
24790
|
|
|
24791
24791
|
/* eslint-disable no-underscore-dangle */
|
|
24792
24792
|
const dataItemSelector = ".".concat(rowColClasses.fieldRoot);
|
|
24793
|
-
const getKeyAsToggleSelected = event => !(event !== null && event !==
|
|
24793
|
+
const getKeyAsToggleSelected = event => !(event !== null && event !== void 0 && event.metaKey || event !== null && event !== void 0 && event.ctrlKey);
|
|
24794
24794
|
function useSelectionsInteractions(_ref) {
|
|
24795
24795
|
var _loaderRef$current2;
|
|
24796
24796
|
let {
|
|
@@ -24811,7 +24811,7 @@
|
|
|
24811
24811
|
});
|
|
24812
24812
|
reactExports.useEffect(() => {
|
|
24813
24813
|
var _loaderRef$current;
|
|
24814
|
-
if (!((_loaderRef$current = loaderRef.current) !== null && _loaderRef$current !==
|
|
24814
|
+
if (!((_loaderRef$current = loaderRef.current) !== null && _loaderRef$current !== void 0 && (_loaderRef$current = _loaderRef$current._listRef) !== null && _loaderRef$current !== void 0 && _loaderRef$current._outerRef)) {
|
|
24815
24815
|
return undefined;
|
|
24816
24816
|
}
|
|
24817
24817
|
const preventGestureStart = e => e.preventDefault();
|
|
@@ -24826,12 +24826,12 @@
|
|
|
24826
24826
|
listRef.removeEventListener('gesturechange', preventGestureChange);
|
|
24827
24827
|
listRef.removeEventListener('gestureend', preventGestureEnd);
|
|
24828
24828
|
};
|
|
24829
|
-
}, [(_loaderRef$current2 = loaderRef.current) === null || _loaderRef$current2 ===
|
|
24829
|
+
}, [(_loaderRef$current2 = loaderRef.current) === null || _loaderRef$current2 === void 0 || (_loaderRef$current2 = _loaderRef$current2._listRef) === null || _loaderRef$current2 === void 0 ? void 0 : _loaderRef$current2._outerRef]);
|
|
24830
24830
|
|
|
24831
24831
|
// eslint-disable-next-line arrow-body-style
|
|
24832
24832
|
const doSelect = async () => {
|
|
24833
24833
|
var _selectionState$selec;
|
|
24834
|
-
if ((_selectionState$selec = selectionState.selectDisabled) !== null && _selectionState$selec !==
|
|
24834
|
+
if ((_selectionState$selec = selectionState.selectDisabled) !== null && _selectionState$selec !== void 0 && _selectionState$selec.call(selectionState)) {
|
|
24835
24835
|
return false;
|
|
24836
24836
|
}
|
|
24837
24837
|
selectionState.setSelectableValuesUpdating();
|
|
@@ -24861,10 +24861,10 @@
|
|
|
24861
24861
|
let elementIds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
24862
24862
|
let additive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24863
24863
|
let event = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
24864
|
-
if ((_selectionState$selec2 = selectionState.selectDisabled) !== null && _selectionState$selec2 !==
|
|
24864
|
+
if ((_selectionState$selec2 = selectionState.selectDisabled) !== null && _selectionState$selec2 !== void 0 && _selectionState$selec2.call(selectionState)) {
|
|
24865
24865
|
return false;
|
|
24866
24866
|
}
|
|
24867
|
-
const toggle = !selectionState.isSingleSelect && getKeyAsToggleSelected(event === null || event ===
|
|
24867
|
+
const toggle = !selectionState.isSingleSelect && getKeyAsToggleSelected(event === null || event === void 0 ? void 0 : event.nativeEvent);
|
|
24868
24868
|
if (!toggle) {
|
|
24869
24869
|
selectionState.clearItemStates(true);
|
|
24870
24870
|
}
|
|
@@ -24963,8 +24963,8 @@
|
|
|
24963
24963
|
doSelect();
|
|
24964
24964
|
return;
|
|
24965
24965
|
}
|
|
24966
|
-
const startTouchElemNumber = Number((_event$touches$0$targ = event.touches[0].target) === null || _event$touches$0$targ ===
|
|
24967
|
-
const endTouchElemNumber = Number((_event$touches$1$targ = event.touches[1].target) === null || _event$touches$1$targ ===
|
|
24966
|
+
const startTouchElemNumber = Number((_event$touches$0$targ = event.touches[0].target) === null || _event$touches$0$targ === void 0 || (_event$touches$0$targ = _event$touches$0$targ.closest(dataItemSelector)) === null || _event$touches$0$targ === void 0 ? void 0 : _event$touches$0$targ.getAttribute('data-n'));
|
|
24967
|
+
const endTouchElemNumber = Number((_event$touches$1$targ = event.touches[1].target) === null || _event$touches$1$targ === void 0 || (_event$touches$1$targ = _event$touches$1$targ.closest(dataItemSelector)) === null || _event$touches$1$targ === void 0 ? void 0 : _event$touches$1$targ.getAttribute('data-n'));
|
|
24968
24968
|
if (Number.isNaN(startTouchElemNumber) || Number.isNaN(startTouchElemNumber)) {
|
|
24969
24969
|
doSelect();
|
|
24970
24970
|
return;
|
|
@@ -25863,7 +25863,7 @@
|
|
|
25863
25863
|
dense,
|
|
25864
25864
|
showGray
|
|
25865
25865
|
} = _ref;
|
|
25866
|
-
const frequencyText = getFrequencyText(cell === null || cell ===
|
|
25866
|
+
const frequencyText = getFrequencyText(cell === null || cell === void 0 ? void 0 : cell.qFrequency);
|
|
25867
25867
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
25868
25868
|
item: true,
|
|
25869
25869
|
style: {
|
|
@@ -25990,17 +25990,17 @@
|
|
|
25990
25990
|
});
|
|
25991
25991
|
|
|
25992
25992
|
function removeInnnerTabStops(container) {
|
|
25993
|
-
container === null || container ===
|
|
25993
|
+
container === null || container === void 0 || container.querySelectorAll('[tabIndex="0"]').forEach(elm => {
|
|
25994
25994
|
elm.setAttribute('tabIndex', -1);
|
|
25995
25995
|
});
|
|
25996
25996
|
}
|
|
25997
25997
|
function removeLastFocused(container) {
|
|
25998
|
-
container === null || container ===
|
|
25998
|
+
container === null || container === void 0 || container.querySelectorAll('.last-focused').forEach(elm => {
|
|
25999
25999
|
elm.classList.remove('last-focused');
|
|
26000
26000
|
});
|
|
26001
26001
|
}
|
|
26002
26002
|
function getVizCell(container) {
|
|
26003
|
-
return (container === null || container ===
|
|
26003
|
+
return (container === null || container === void 0 ? void 0 : container.closest('.njs-cell')) || (container === null || container === void 0 ? void 0 : container.closest('.qv-gridcell')) || (container === null || container === void 0 ? void 0 : container.closest('.qv-gs-listbox'));
|
|
26004
26004
|
}
|
|
26005
26005
|
|
|
26006
26006
|
// Emulate the keyboard hook, until we support it in the Listbox.
|
|
@@ -26023,7 +26023,7 @@
|
|
|
26023
26023
|
return;
|
|
26024
26024
|
}
|
|
26025
26025
|
setKeyboardActive(false);
|
|
26026
|
-
const vizCell = getVizCell(containerRef.current) || ((_containerRef$current = containerRef.current) === null || _containerRef$current ===
|
|
26026
|
+
const vizCell = getVizCell(containerRef.current) || ((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.parentElement);
|
|
26027
26027
|
removeInnnerTabStops(containerRef.current);
|
|
26028
26028
|
removeLastFocused(containerRef.current);
|
|
26029
26029
|
if (resetFocus && vizCell) {
|
|
@@ -26039,22 +26039,22 @@
|
|
|
26039
26039
|
}
|
|
26040
26040
|
setKeyboardActive(true);
|
|
26041
26041
|
const c = containerRef.current;
|
|
26042
|
-
const searchField = c === null || c ===
|
|
26043
|
-
const lastSelectedRow = c === null || c ===
|
|
26044
|
-
const firstRowElement = c === null || c ===
|
|
26045
|
-
const confirmButton = c === null || c ===
|
|
26046
|
-
const unlockCoverButton = c === null || c ===
|
|
26047
|
-
const cyclicButton = c === null || c ===
|
|
26042
|
+
const searchField = c === null || c === void 0 ? void 0 : c.querySelector('.search input');
|
|
26043
|
+
const lastSelectedRow = c === null || c === void 0 ? void 0 : c.querySelector('.value.last-focused');
|
|
26044
|
+
const firstRowElement = c === null || c === void 0 ? void 0 : c.querySelector('.value.selector, .value');
|
|
26045
|
+
const confirmButton = c === null || c === void 0 ? void 0 : c.querySelector('.actions-toolbar-default-actions .actions-toolbar-confirm');
|
|
26046
|
+
const unlockCoverButton = c === null || c === void 0 ? void 0 : c.querySelector('#listbox-unlock-button');
|
|
26047
|
+
const cyclicButton = c === null || c === void 0 ? void 0 : c.querySelector('.listbox-cyclic-button');
|
|
26048
26048
|
const elementToFocus = cyclicButton || searchField || lastSelectedRow || firstRowElement || unlockCoverButton || confirmButton;
|
|
26049
|
-
elementToFocus === null || elementToFocus ===
|
|
26050
|
-
elementToFocus === null || elementToFocus ===
|
|
26049
|
+
elementToFocus === null || elementToFocus === void 0 || elementToFocus.setAttribute('tabIndex', 0);
|
|
26050
|
+
elementToFocus === null || elementToFocus === void 0 || elementToFocus.focus();
|
|
26051
26051
|
},
|
|
26052
26052
|
focusSelection() {
|
|
26053
26053
|
const unlockCoverButton = document.querySelector('#listbox-unlock-button');
|
|
26054
26054
|
const confirmButton = document.querySelector('.actions-toolbar-default-actions .actions-toolbar-confirm:not(:disabled)');
|
|
26055
26055
|
const btnToFocus = unlockCoverButton || confirmButton;
|
|
26056
|
-
btnToFocus === null || btnToFocus ===
|
|
26057
|
-
btnToFocus === null || btnToFocus ===
|
|
26056
|
+
btnToFocus === null || btnToFocus === void 0 || btnToFocus.setAttribute('tabIndex', 0);
|
|
26057
|
+
btnToFocus === null || btnToFocus === void 0 || btnToFocus.focus();
|
|
26058
26058
|
return btnToFocus;
|
|
26059
26059
|
}
|
|
26060
26060
|
};
|
|
@@ -26063,24 +26063,24 @@
|
|
|
26063
26063
|
|
|
26064
26064
|
const getElementIndex = currentTarget => +currentTarget.getAttribute('data-n');
|
|
26065
26065
|
const focusSearch = container => {
|
|
26066
|
-
const searchField = container === null || container ===
|
|
26067
|
-
searchField === null || searchField ===
|
|
26066
|
+
const searchField = container === null || container === void 0 ? void 0 : container.querySelector('.search input');
|
|
26067
|
+
searchField === null || searchField === void 0 || searchField.focus();
|
|
26068
26068
|
return searchField;
|
|
26069
26069
|
};
|
|
26070
26070
|
const focusRow = container => {
|
|
26071
|
-
const lastFocusedRow = container === null || container ===
|
|
26072
|
-
const selectorRow = container === null || container ===
|
|
26073
|
-
const row = container === null || container ===
|
|
26071
|
+
const lastFocusedRow = container === null || container === void 0 ? void 0 : container.querySelector('.value.last-focused');
|
|
26072
|
+
const selectorRow = container === null || container === void 0 ? void 0 : container.querySelector('.value.selector');
|
|
26073
|
+
const row = container === null || container === void 0 ? void 0 : container.querySelector('.value');
|
|
26074
26074
|
const rowToFocus = lastFocusedRow || selectorRow || row;
|
|
26075
|
-
rowToFocus === null || rowToFocus ===
|
|
26076
|
-
rowToFocus === null || rowToFocus ===
|
|
26075
|
+
rowToFocus === null || rowToFocus === void 0 || rowToFocus.setAttribute('tabIndex', 0);
|
|
26076
|
+
rowToFocus === null || rowToFocus === void 0 || rowToFocus.focus();
|
|
26077
26077
|
removeLastFocused(container);
|
|
26078
26078
|
return rowToFocus;
|
|
26079
26079
|
};
|
|
26080
26080
|
const focusCyclicButton = container => {
|
|
26081
|
-
const button = container === null || container ===
|
|
26082
|
-
button === null || button ===
|
|
26083
|
-
button === null || button ===
|
|
26081
|
+
const button = container === null || container === void 0 ? void 0 : container.querySelector('.listbox-cyclic-button:not(:disabled)');
|
|
26082
|
+
button === null || button === void 0 || button.setAttribute('tabIndex', 0);
|
|
26083
|
+
button === null || button === void 0 || button.focus();
|
|
26084
26084
|
return button;
|
|
26085
26085
|
};
|
|
26086
26086
|
const blur$1 = (event, keyboard) => {
|
|
@@ -26092,7 +26092,7 @@
|
|
|
26092
26092
|
const isFocusedOnListbox = target.classList.contains('listbox-container');
|
|
26093
26093
|
const container = currentTarget.closest('.listbox-container');
|
|
26094
26094
|
const vizCell = getVizCell(container);
|
|
26095
|
-
const isSingleListbox = (vizCell === null || vizCell ===
|
|
26095
|
+
const isSingleListbox = (vizCell === null || vizCell === void 0 ? void 0 : vizCell.querySelectorAll('.listbox-container').length) === 1;
|
|
26096
26096
|
if (isFocusedOnListbox || isSingleListbox) {
|
|
26097
26097
|
// Move the focus from listbox container to the viz container.
|
|
26098
26098
|
keyboard.blur(true);
|
|
@@ -26109,7 +26109,7 @@
|
|
|
26109
26109
|
keyboard.blur();
|
|
26110
26110
|
const c = currentTarget.closest('.listbox-container');
|
|
26111
26111
|
c.setAttribute('tabIndex', -1);
|
|
26112
|
-
c === null || c ===
|
|
26112
|
+
c === null || c === void 0 || c.focus();
|
|
26113
26113
|
}
|
|
26114
26114
|
};
|
|
26115
26115
|
|
|
@@ -26182,11 +26182,11 @@
|
|
|
26182
26182
|
const getElement = function (keyCode, elm) {
|
|
26183
26183
|
let next = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
26184
26184
|
if (keyCode === KEYS.ARROW_LEFT || keyCode === KEYS.ARROW_RIGHT || !(typeof rowIndex === 'number' && typeof columnIndex === 'number')) {
|
|
26185
|
-
const parentElm = elm === null || elm ===
|
|
26186
|
-
return parentElm === null || parentElm ===
|
|
26185
|
+
const parentElm = elm === null || elm === void 0 ? void 0 : elm.parentElement[next ? 'nextElementSibling' : 'previousElementSibling'];
|
|
26186
|
+
return parentElm === null || parentElm === void 0 ? void 0 : parentElm.querySelector('[role]');
|
|
26187
26187
|
}
|
|
26188
|
-
const gridElm = elm === null || elm ===
|
|
26189
|
-
const numCells = gridElm === null || gridElm ===
|
|
26188
|
+
const gridElm = elm === null || elm === void 0 ? void 0 : elm.parentElement.parentElement;
|
|
26189
|
+
const numCells = gridElm === null || gridElm === void 0 ? void 0 : gridElm.childElementCount;
|
|
26190
26190
|
if (numCells) {
|
|
26191
26191
|
const nextIndex = findNextItemIndex({
|
|
26192
26192
|
rowIndex,
|
|
@@ -26197,8 +26197,8 @@
|
|
|
26197
26197
|
keyCode,
|
|
26198
26198
|
numCells
|
|
26199
26199
|
});
|
|
26200
|
-
const nextElm = elm === null || elm ===
|
|
26201
|
-
return nextElm === null || nextElm ===
|
|
26200
|
+
const nextElm = elm === null || elm === void 0 ? void 0 : elm.parentElement.parentElement.children[nextIndex];
|
|
26201
|
+
return nextElm === null || nextElm === void 0 ? void 0 : nextElm.querySelector('[role]');
|
|
26202
26202
|
}
|
|
26203
26203
|
return undefined;
|
|
26204
26204
|
};
|
|
@@ -26227,7 +26227,7 @@
|
|
|
26227
26227
|
// TODO: use a store to keep track of this row.
|
|
26228
26228
|
currentTarget.classList.add('last-focused'); // so that we can go back here when we tab back
|
|
26229
26229
|
|
|
26230
|
-
const useDefaultBrowserSupport = !(keyboard !== null && keyboard !==
|
|
26230
|
+
const useDefaultBrowserSupport = !(keyboard !== null && keyboard !== void 0 && keyboard.enabled);
|
|
26231
26231
|
if (useDefaultBrowserSupport) {
|
|
26232
26232
|
if (!inSelection) return;
|
|
26233
26233
|
keyboard.focusSelection();
|
|
@@ -26302,18 +26302,18 @@
|
|
|
26302
26302
|
case KEYS.HOME:
|
|
26303
26303
|
focusListItems.setFirst(true);
|
|
26304
26304
|
if (ctrlKey) {
|
|
26305
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26305
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('overflowStart');
|
|
26306
26306
|
break;
|
|
26307
26307
|
}
|
|
26308
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26308
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('start');
|
|
26309
26309
|
break;
|
|
26310
26310
|
case KEYS.END:
|
|
26311
26311
|
focusListItems.setLast(true);
|
|
26312
26312
|
if (ctrlKey) {
|
|
26313
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26313
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('overflowEnd');
|
|
26314
26314
|
break;
|
|
26315
26315
|
}
|
|
26316
|
-
setScrollPosition === null || setScrollPosition ===
|
|
26316
|
+
setScrollPosition === null || setScrollPosition === void 0 || setScrollPosition('end');
|
|
26317
26317
|
break;
|
|
26318
26318
|
case KEYS.A:
|
|
26319
26319
|
if (ctrlKey || metaKey) {
|
|
@@ -26346,7 +26346,7 @@
|
|
|
26346
26346
|
cell,
|
|
26347
26347
|
textAlign
|
|
26348
26348
|
} = _ref;
|
|
26349
|
-
const isNumeric = !['NaN', undefined].includes(cell === null || cell ===
|
|
26349
|
+
const isNumeric = !['NaN', undefined].includes(cell === null || cell === void 0 ? void 0 : cell.qNum);
|
|
26350
26350
|
let valueTextAlign;
|
|
26351
26351
|
const isAutoTextAlign = !textAlign || textAlign.auto;
|
|
26352
26352
|
const dirToTextAlignMap = {
|
|
@@ -26360,7 +26360,7 @@
|
|
|
26360
26360
|
valueTextAlign = direction === 'rtl' ? 'left' : 'right';
|
|
26361
26361
|
}
|
|
26362
26362
|
} else {
|
|
26363
|
-
valueTextAlign = (textAlign === null || textAlign ===
|
|
26363
|
+
valueTextAlign = (textAlign === null || textAlign === void 0 ? void 0 : textAlign.align) || 'left';
|
|
26364
26364
|
}
|
|
26365
26365
|
const ALLOWED_OPTIONS = ['left', 'center', 'right'];
|
|
26366
26366
|
return ALLOWED_OPTIONS.includes(valueTextAlign) ? valueTextAlign : 'left';
|
|
@@ -26506,18 +26506,18 @@
|
|
|
26506
26506
|
rowIndex,
|
|
26507
26507
|
columnIndex,
|
|
26508
26508
|
layoutOrder
|
|
26509
|
-
})), [actions, keyboard === null || keyboard ===
|
|
26509
|
+
})), [actions, keyboard === null || keyboard === void 0 ? void 0 : keyboard.innerTabStops, rowCount, columnCount, rowIndex, columnIndex, layoutOrder]);
|
|
26510
26510
|
const cell = reactExports.useMemo(() => getCellFromPages({
|
|
26511
26511
|
pages,
|
|
26512
26512
|
cellIndex
|
|
26513
26513
|
}), [pages, cellIndex]);
|
|
26514
|
-
const isSelected = (cell === null || cell ===
|
|
26514
|
+
const isSelected = (cell === null || cell === void 0 ? void 0 : cell.qState) === 'S' || (cell === null || cell === void 0 ? void 0 : cell.qState) === 'XS' || (cell === null || cell === void 0 ? void 0 : cell.qState) === 'L' || (cell === null || cell === void 0 ? void 0 : cell.qState) === 'XL';
|
|
26515
26515
|
const classArr = reactExports.useMemo(() => getValueStateClasses({
|
|
26516
26516
|
column,
|
|
26517
26517
|
histogram,
|
|
26518
26518
|
cell,
|
|
26519
26519
|
showGray
|
|
26520
|
-
}), [cell === null || cell ===
|
|
26520
|
+
}), [cell === null || cell === void 0 ? void 0 : cell.qState, histogram, dense]);
|
|
26521
26521
|
const preventContextMenu = reactExports.useCallback(event => {
|
|
26522
26522
|
event.preventDefault();
|
|
26523
26523
|
}, [checkboxes]);
|
|
@@ -26530,11 +26530,11 @@
|
|
|
26530
26530
|
return null; // prevent rendering empty rows
|
|
26531
26531
|
}
|
|
26532
26532
|
const isGridCol = dataLayout === 'grid' && layoutOrder === 'column';
|
|
26533
|
-
const label = (_cell$qText = cell === null || cell ===
|
|
26533
|
+
const label = (_cell$qText = cell === null || cell === void 0 ? void 0 : cell.qText) !== null && _cell$qText !== void 0 ? _cell$qText : '';
|
|
26534
26534
|
// Search highlights. Split up labelText span into several and add the highlighted class to matching sub-strings.
|
|
26535
26535
|
|
|
26536
26536
|
let labels;
|
|
26537
|
-
if ((_cell$qHighlightRange = cell.qHighlightRanges) !== null && _cell$qHighlightRange !==
|
|
26537
|
+
if ((_cell$qHighlightRange = cell.qHighlightRanges) !== null && _cell$qHighlightRange !== void 0 && (_cell$qHighlightRange = _cell$qHighlightRange.qRanges) !== null && _cell$qHighlightRange !== void 0 && _cell$qHighlightRange.length) {
|
|
26538
26538
|
const ranges = cell.qHighlightRanges.qRanges.sort((a, b) => a.qCharPos - b.qCharPos) || [];
|
|
26539
26539
|
labels = getSegmentsFromRanges(label, ranges);
|
|
26540
26540
|
}
|
|
@@ -26607,11 +26607,11 @@
|
|
|
26607
26607
|
onTouchEnd: onTouchEnd,
|
|
26608
26608
|
onContextMenu: preventContextMenu,
|
|
26609
26609
|
tabIndex: isFirstElement && keyboard.innerTabStops ? 0 : -1,
|
|
26610
|
-
"data-n": cell === null || cell ===
|
|
26610
|
+
"data-n": cell === null || cell === void 0 ? void 0 : cell.qElemNumber,
|
|
26611
26611
|
direction: direction,
|
|
26612
26612
|
fillHeight: fillHeight
|
|
26613
|
-
}, (cell === null || cell ===
|
|
26614
|
-
qFrequency: cell === null || cell ===
|
|
26613
|
+
}, (cell === null || cell === void 0 ? void 0 : cell.qFrequency) && /*#__PURE__*/React.createElement(Histogram, {
|
|
26614
|
+
qFrequency: cell === null || cell === void 0 ? void 0 : cell.qFrequency,
|
|
26615
26615
|
histogram: histogram,
|
|
26616
26616
|
checkboxes: checkboxes,
|
|
26617
26617
|
isSelected: isSelected,
|
|
@@ -26731,7 +26731,7 @@
|
|
|
26731
26731
|
}
|
|
26732
26732
|
|
|
26733
26733
|
function memoizeOne(resultFn, isEqual) {
|
|
26734
|
-
if (isEqual ===
|
|
26734
|
+
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
|
26735
26735
|
var lastThis;
|
|
26736
26736
|
var lastArgs = [];
|
|
26737
26737
|
var lastResult;
|
|
@@ -26784,7 +26784,7 @@
|
|
|
26784
26784
|
var size = -1; // This utility copied from "dom-helpers" package.
|
|
26785
26785
|
|
|
26786
26786
|
function getScrollbarSize(recalculate) {
|
|
26787
|
-
if (recalculate ===
|
|
26787
|
+
if (recalculate === void 0) {
|
|
26788
26788
|
recalculate = false;
|
|
26789
26789
|
}
|
|
26790
26790
|
|
|
@@ -26809,7 +26809,7 @@
|
|
|
26809
26809
|
// If it does not match, then we can assume a non-standard RTL scroll implementation.
|
|
26810
26810
|
|
|
26811
26811
|
function getRTLOffsetType(recalculate) {
|
|
26812
|
-
if (recalculate ===
|
|
26812
|
+
if (recalculate === void 0) {
|
|
26813
26813
|
recalculate = false;
|
|
26814
26814
|
}
|
|
26815
26815
|
|
|
@@ -26885,7 +26885,7 @@
|
|
|
26885
26885
|
_this = _PureComponent.call(this, props) || this;
|
|
26886
26886
|
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));
|
|
26887
26887
|
_this._resetIsScrollingTimeoutId = null;
|
|
26888
|
-
_this._outerRef =
|
|
26888
|
+
_this._outerRef = void 0;
|
|
26889
26889
|
_this.state = {
|
|
26890
26890
|
instance: _assertThisInitialized(_this),
|
|
26891
26891
|
isScrolling: false,
|
|
@@ -26895,7 +26895,7 @@
|
|
|
26895
26895
|
scrollUpdateWasRequested: false,
|
|
26896
26896
|
verticalScrollDirection: 'forward'
|
|
26897
26897
|
};
|
|
26898
|
-
_this._callOnItemsRendered =
|
|
26898
|
+
_this._callOnItemsRendered = void 0;
|
|
26899
26899
|
_this._callOnItemsRendered = memoizeOne(function (overscanColumnStartIndex, overscanColumnStopIndex, overscanRowStartIndex, overscanRowStopIndex, visibleColumnStartIndex, visibleColumnStopIndex, visibleRowStartIndex, visibleRowStopIndex) {
|
|
26900
26900
|
return _this.props.onItemsRendered({
|
|
26901
26901
|
overscanColumnStartIndex: overscanColumnStartIndex,
|
|
@@ -26908,7 +26908,7 @@
|
|
|
26908
26908
|
visibleRowStopIndex: visibleRowStopIndex
|
|
26909
26909
|
});
|
|
26910
26910
|
});
|
|
26911
|
-
_this._callOnScroll =
|
|
26911
|
+
_this._callOnScroll = void 0;
|
|
26912
26912
|
_this._callOnScroll = memoizeOne(function (scrollLeft, scrollTop, horizontalScrollDirection, verticalScrollDirection, scrollUpdateWasRequested) {
|
|
26913
26913
|
return _this.props.onScroll({
|
|
26914
26914
|
horizontalScrollDirection: horizontalScrollDirection,
|
|
@@ -26918,7 +26918,7 @@
|
|
|
26918
26918
|
scrollUpdateWasRequested: scrollUpdateWasRequested
|
|
26919
26919
|
});
|
|
26920
26920
|
});
|
|
26921
|
-
_this._getItemStyle =
|
|
26921
|
+
_this._getItemStyle = void 0;
|
|
26922
26922
|
|
|
26923
26923
|
_this._getItemStyle = function (rowIndex, columnIndex) {
|
|
26924
26924
|
var _this$props = _this.props,
|
|
@@ -26950,7 +26950,7 @@
|
|
|
26950
26950
|
return style;
|
|
26951
26951
|
};
|
|
26952
26952
|
|
|
26953
|
-
_this._getItemStyleCache =
|
|
26953
|
+
_this._getItemStyleCache = void 0;
|
|
26954
26954
|
_this._getItemStyleCache = memoizeOne(function (_, __, ___) {
|
|
26955
26955
|
return {};
|
|
26956
26956
|
});
|
|
@@ -27084,7 +27084,7 @@
|
|
|
27084
27084
|
|
|
27085
27085
|
_proto.scrollToItem = function scrollToItem(_ref4) {
|
|
27086
27086
|
var _ref4$align = _ref4.align,
|
|
27087
|
-
align = _ref4$align ===
|
|
27087
|
+
align = _ref4$align === void 0 ? 'auto' : _ref4$align,
|
|
27088
27088
|
columnIndex = _ref4.columnIndex,
|
|
27089
27089
|
rowIndex = _ref4.rowIndex;
|
|
27090
27090
|
var _this$props2 = this.props,
|
|
@@ -27195,7 +27195,7 @@
|
|
|
27195
27195
|
innerTagName = _this$props4.innerTagName,
|
|
27196
27196
|
itemData = _this$props4.itemData,
|
|
27197
27197
|
_this$props4$itemKey = _this$props4.itemKey,
|
|
27198
|
-
itemKey = _this$props4$itemKey ===
|
|
27198
|
+
itemKey = _this$props4$itemKey === void 0 ? defaultItemKey : _this$props4$itemKey,
|
|
27199
27199
|
outerElementType = _this$props4.outerElementType,
|
|
27200
27200
|
outerTagName = _this$props4.outerTagName,
|
|
27201
27201
|
rowCount = _this$props4.rowCount,
|
|
@@ -27404,7 +27404,7 @@
|
|
|
27404
27404
|
|
|
27405
27405
|
_this = _PureComponent.call(this, props) || this;
|
|
27406
27406
|
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));
|
|
27407
|
-
_this._outerRef =
|
|
27407
|
+
_this._outerRef = void 0;
|
|
27408
27408
|
_this._resetIsScrollingTimeoutId = null;
|
|
27409
27409
|
_this.state = {
|
|
27410
27410
|
instance: _assertThisInitialized(_this),
|
|
@@ -27413,7 +27413,7 @@
|
|
|
27413
27413
|
scrollOffset: typeof _this.props.initialScrollOffset === 'number' ? _this.props.initialScrollOffset : 0,
|
|
27414
27414
|
scrollUpdateWasRequested: false
|
|
27415
27415
|
};
|
|
27416
|
-
_this._callOnItemsRendered =
|
|
27416
|
+
_this._callOnItemsRendered = void 0;
|
|
27417
27417
|
_this._callOnItemsRendered = memoizeOne(function (overscanStartIndex, overscanStopIndex, visibleStartIndex, visibleStopIndex) {
|
|
27418
27418
|
return _this.props.onItemsRendered({
|
|
27419
27419
|
overscanStartIndex: overscanStartIndex,
|
|
@@ -27422,7 +27422,7 @@
|
|
|
27422
27422
|
visibleStopIndex: visibleStopIndex
|
|
27423
27423
|
});
|
|
27424
27424
|
});
|
|
27425
|
-
_this._callOnScroll =
|
|
27425
|
+
_this._callOnScroll = void 0;
|
|
27426
27426
|
_this._callOnScroll = memoizeOne(function (scrollDirection, scrollOffset, scrollUpdateWasRequested) {
|
|
27427
27427
|
return _this.props.onScroll({
|
|
27428
27428
|
scrollDirection: scrollDirection,
|
|
@@ -27430,7 +27430,7 @@
|
|
|
27430
27430
|
scrollUpdateWasRequested: scrollUpdateWasRequested
|
|
27431
27431
|
});
|
|
27432
27432
|
});
|
|
27433
|
-
_this._getItemStyle =
|
|
27433
|
+
_this._getItemStyle = void 0;
|
|
27434
27434
|
|
|
27435
27435
|
_this._getItemStyle = function (index) {
|
|
27436
27436
|
var _this$props = _this.props,
|
|
@@ -27465,7 +27465,7 @@
|
|
|
27465
27465
|
return style;
|
|
27466
27466
|
};
|
|
27467
27467
|
|
|
27468
|
-
_this._getItemStyleCache =
|
|
27468
|
+
_this._getItemStyleCache = void 0;
|
|
27469
27469
|
_this._getItemStyleCache = memoizeOne(function (_, __, ___) {
|
|
27470
27470
|
return {};
|
|
27471
27471
|
});
|
|
@@ -27597,7 +27597,7 @@
|
|
|
27597
27597
|
};
|
|
27598
27598
|
|
|
27599
27599
|
_proto.scrollToItem = function scrollToItem(index, align) {
|
|
27600
|
-
if (align ===
|
|
27600
|
+
if (align === void 0) {
|
|
27601
27601
|
align = 'auto';
|
|
27602
27602
|
}
|
|
27603
27603
|
|
|
@@ -27703,7 +27703,7 @@
|
|
|
27703
27703
|
itemCount = _this$props5.itemCount,
|
|
27704
27704
|
itemData = _this$props5.itemData,
|
|
27705
27705
|
_this$props5$itemKey = _this$props5.itemKey,
|
|
27706
|
-
itemKey = _this$props5$itemKey ===
|
|
27706
|
+
itemKey = _this$props5$itemKey === void 0 ? defaultItemKey$1 : _this$props5$itemKey,
|
|
27707
27707
|
layout = _this$props5.layout,
|
|
27708
27708
|
outerElementType = _this$props5.outerElementType,
|
|
27709
27709
|
outerTagName = _this$props5.outerTagName,
|
|
@@ -28155,13 +28155,13 @@
|
|
|
28155
28155
|
}
|
|
28156
28156
|
|
|
28157
28157
|
const getIndex = (renderProps, isColumnLayout) => {
|
|
28158
|
-
if ((renderProps === null || renderProps ===
|
|
28158
|
+
if ((renderProps === null || renderProps === void 0 ? void 0 : renderProps.visibleRowStopIndex) !== undefined || renderProps.visibleColumnStopIndex !== undefined) {
|
|
28159
28159
|
return isColumnLayout ? renderProps.visibleColumnStopIndex : renderProps.visibleRowStopIndex;
|
|
28160
28160
|
}
|
|
28161
28161
|
return renderProps.visibleStopIndex;
|
|
28162
28162
|
};
|
|
28163
28163
|
const getIsScrollTop = (renderProps, isColumnLayout) => {
|
|
28164
|
-
if ((renderProps === null || renderProps ===
|
|
28164
|
+
if ((renderProps === null || renderProps === void 0 ? void 0 : renderProps.visibleRowStartIndex) !== undefined || renderProps.visibleColumnStartIndex !== undefined) {
|
|
28165
28165
|
return isColumnLayout ? renderProps.visibleColumnStartIndex === 0 : renderProps.visibleRowStartIndex === 0;
|
|
28166
28166
|
}
|
|
28167
28167
|
return renderProps.visibleStartIndex === 0;
|
|
@@ -28178,7 +28178,7 @@
|
|
|
28178
28178
|
qCardinal,
|
|
28179
28179
|
dataOffset
|
|
28180
28180
|
} = _ref;
|
|
28181
|
-
const isColumnLayout = (layoutOptions === null || layoutOptions ===
|
|
28181
|
+
const isColumnLayout = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.layoutOrder) === 'column' && layoutOptions.dataLayout !== 'singleColumn';
|
|
28182
28182
|
const index = getIndex(renderProps, isColumnLayout);
|
|
28183
28183
|
const stopIndex = isColumnLayout ? maxCount.column : maxCount.row;
|
|
28184
28184
|
const count = isColumnLayout ? columnCount : rowCount;
|
|
@@ -28248,7 +28248,7 @@
|
|
|
28248
28248
|
useIsScrolling: true,
|
|
28249
28249
|
className: classes$9.styledScrollbars
|
|
28250
28250
|
};
|
|
28251
|
-
const isLocked = layout === null || layout ===
|
|
28251
|
+
const isLocked = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qLocked;
|
|
28252
28252
|
const fillHeight = listHeight <= itemHeight;
|
|
28253
28253
|
|
|
28254
28254
|
// Item data common for List and Grid.
|
|
@@ -28266,8 +28266,8 @@
|
|
|
28266
28266
|
sizes,
|
|
28267
28267
|
actions: {
|
|
28268
28268
|
select,
|
|
28269
|
-
confirm: () => selections === null || selections ===
|
|
28270
|
-
cancel: () => selections === null || selections ===
|
|
28269
|
+
confirm: () => selections === null || selections === void 0 ? void 0 : selections.confirm.call(selections),
|
|
28270
|
+
cancel: () => selections === null || selections === void 0 ? void 0 : selections.cancel.call(selections),
|
|
28271
28271
|
setScrollPosition,
|
|
28272
28272
|
selectAll,
|
|
28273
28273
|
onCtrlF
|
|
@@ -28297,7 +28297,7 @@
|
|
|
28297
28297
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
28298
28298
|
, _extends$7({}, commonComponentOptions, {
|
|
28299
28299
|
dataTestid: "fixed-size-list",
|
|
28300
|
-
scrollDisabled: constraints === null || constraints ===
|
|
28300
|
+
scrollDisabled: constraints === null || constraints === void 0 ? void 0 : constraints.active,
|
|
28301
28301
|
height: listHeight,
|
|
28302
28302
|
width: width,
|
|
28303
28303
|
itemCount: listCount,
|
|
@@ -28321,7 +28321,7 @@
|
|
|
28321
28321
|
columnCount,
|
|
28322
28322
|
rowCount,
|
|
28323
28323
|
overflowDisclaimer,
|
|
28324
|
-
qCardinal: layout === null || layout ===
|
|
28324
|
+
qCardinal: layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qCardinal,
|
|
28325
28325
|
dataOffset: local.current.dataOffset
|
|
28326
28326
|
});
|
|
28327
28327
|
onItemsRendered(_objectSpread2({}, renderProps));
|
|
@@ -28365,7 +28365,7 @@
|
|
|
28365
28365
|
columnCount,
|
|
28366
28366
|
rowCount,
|
|
28367
28367
|
overflowDisclaimer,
|
|
28368
|
-
qCardinal: layout === null || layout ===
|
|
28368
|
+
qCardinal: layout === null || layout === void 0 || (_layout$qListObject2 = layout.qListObject) === null || _layout$qListObject2 === void 0 || (_layout$qListObject2 = _layout$qListObject2.qDimensionInfo) === null || _layout$qListObject2 === void 0 ? void 0 : _layout$qListObject2.qCardinal,
|
|
28369
28369
|
dataOffset: local.current.dataOffset
|
|
28370
28370
|
});
|
|
28371
28371
|
onItemsRendered(renderOptions);
|
|
@@ -28374,7 +28374,7 @@
|
|
|
28374
28374
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
28375
28375
|
, _extends$7({}, commonComponentOptions, {
|
|
28376
28376
|
dataTestid: "fixed-size-grid",
|
|
28377
|
-
scrollDisabled: constraints === null || constraints ===
|
|
28377
|
+
scrollDisabled: constraints === null || constraints === void 0 ? void 0 : constraints.active,
|
|
28378
28378
|
height: gridHeight,
|
|
28379
28379
|
width: width,
|
|
28380
28380
|
columnCount: columnCount,
|
|
@@ -28408,7 +28408,7 @@
|
|
|
28408
28408
|
itemMinWidth
|
|
28409
28409
|
} = _ref;
|
|
28410
28410
|
let rowCount;
|
|
28411
|
-
const maxRows = (maxVisibleRows === null || maxVisibleRows ===
|
|
28411
|
+
const maxRows = (maxVisibleRows === null || maxVisibleRows === void 0 ? void 0 : maxVisibleRows.maxRows) || 3;
|
|
28412
28412
|
const autoRowCount = Math.floor(listHeight / itemHeight);
|
|
28413
28413
|
if (maxVisibleRows.auto !== false) {
|
|
28414
28414
|
rowCount = autoRowCount;
|
|
@@ -28433,11 +28433,11 @@
|
|
|
28433
28433
|
columnAutoWidth,
|
|
28434
28434
|
itemMinWidth
|
|
28435
28435
|
} = _ref;
|
|
28436
|
-
const maxColumns = (maxVisibleColumns === null || maxVisibleColumns ===
|
|
28436
|
+
const maxColumns = (maxVisibleColumns === null || maxVisibleColumns === void 0 ? void 0 : maxVisibleColumns.maxColumns) || 3;
|
|
28437
28437
|
const innerWidth = containerWidth - SCROLL_BAR_WIDTH;
|
|
28438
28438
|
let columnCount;
|
|
28439
28439
|
const autoColumnCount = Math.min(listCount, Math.max(1, Math.round(innerWidth / Math.max(itemMinWidth, columnAutoWidth)))); // TODO: smarter sizing... based on glyph count + font size etc...??
|
|
28440
|
-
if ((maxVisibleColumns === null || maxVisibleColumns ===
|
|
28440
|
+
if ((maxVisibleColumns === null || maxVisibleColumns === void 0 ? void 0 : maxVisibleColumns.auto) !== false) {
|
|
28441
28441
|
columnCount = autoColumnCount;
|
|
28442
28442
|
} else {
|
|
28443
28443
|
columnCount = Math.min(listCount, maxColumns, autoColumnCount);
|
|
@@ -28520,7 +28520,7 @@
|
|
|
28520
28520
|
const {
|
|
28521
28521
|
fontSize = '12px',
|
|
28522
28522
|
fontFamily = 'Source sans pro'
|
|
28523
|
-
} = (styles === null || styles ===
|
|
28523
|
+
} = (styles === null || styles === void 0 ? void 0 : styles.content) || {};
|
|
28524
28524
|
const font = "".concat(fontSize, " ").concat(fontFamily); // font format as supported by HTML canvas
|
|
28525
28525
|
const textWidth = useTextWidth({
|
|
28526
28526
|
text: getMeasureText(layout),
|
|
@@ -28555,7 +28555,7 @@
|
|
|
28555
28555
|
isGridMode,
|
|
28556
28556
|
dense
|
|
28557
28557
|
});
|
|
28558
|
-
const listHeight = height !== null && height !==
|
|
28558
|
+
const listHeight = height !== null && height !== void 0 ? height : 8 * itemHeight;
|
|
28559
28559
|
if (layoutOrder) {
|
|
28560
28560
|
// Modify container width to achieve the exact design with 8px margins on each side (left and right).
|
|
28561
28561
|
let containerWidth = width;
|
|
@@ -28734,7 +28734,7 @@
|
|
|
28734
28734
|
count,
|
|
28735
28735
|
calculatePagesHeight = false
|
|
28736
28736
|
} = _ref2;
|
|
28737
|
-
const listCount = pages !== null && pages !==
|
|
28737
|
+
const listCount = pages !== null && pages !== void 0 && pages.length && calculatePagesHeight ? getCalculatedHeight({
|
|
28738
28738
|
pages,
|
|
28739
28739
|
minimumBatchSize,
|
|
28740
28740
|
count
|
|
@@ -28850,7 +28850,7 @@
|
|
|
28850
28850
|
Object.defineProperty(Close$1, "__esModule", {
|
|
28851
28851
|
value: true
|
|
28852
28852
|
});
|
|
28853
|
-
Close$1.default =
|
|
28853
|
+
Close$1.default = void 0;
|
|
28854
28854
|
var _createSvgIcon = _interopRequireDefault(/*@__PURE__*/ requireCreateSvgIcon());
|
|
28855
28855
|
var _jsxRuntime = requireJsxRuntime();
|
|
28856
28856
|
Close$1.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
@@ -28937,7 +28937,7 @@
|
|
|
28937
28937
|
} = _ref;
|
|
28938
28938
|
let scrollIndex;
|
|
28939
28939
|
let triggerRerender = false;
|
|
28940
|
-
let newOffset = offset !== null && offset !==
|
|
28940
|
+
let newOffset = offset !== null && offset !== void 0 ? offset : 0;
|
|
28941
28941
|
switch (position) {
|
|
28942
28942
|
case 'start':
|
|
28943
28943
|
scrollIndex = 0;
|
|
@@ -28973,7 +28973,7 @@
|
|
|
28973
28973
|
const widthPermitsFreq = itemWidth > FREQUENCY_MIN_SHOW_WIDTH;
|
|
28974
28974
|
const {
|
|
28975
28975
|
frequencyEnabled = false
|
|
28976
|
-
} = (layout === null || layout ===
|
|
28976
|
+
} = (layout === null || layout === void 0 ? void 0 : layout.qListObject) || {};
|
|
28977
28977
|
const hasValidFreqOption = !['N', undefined].includes(frequencyMode);
|
|
28978
28978
|
return !!(widthPermitsFreq && (hasValidFreqOption || frequencyEnabled));
|
|
28979
28979
|
}
|
|
@@ -28987,7 +28987,7 @@
|
|
|
28987
28987
|
}
|
|
28988
28988
|
return "[".concat(field.replace(/\]/g, ']]'), "]");
|
|
28989
28989
|
};
|
|
28990
|
-
const needToFetchFrequencyMax = layout => (layout === null || layout ===
|
|
28990
|
+
const needToFetchFrequencyMax = layout => (layout === null || layout === void 0 ? void 0 : layout.frequencyMax) === 'fetch';
|
|
28991
28991
|
const getFrequencyMaxExpression = field => {
|
|
28992
28992
|
const escapedField = escapeField(field);
|
|
28993
28993
|
return "Max(AGGR(Count(".concat(escapedField, "), ").concat(escapedField, "))");
|
|
@@ -29016,7 +29016,7 @@
|
|
|
29016
29016
|
fetch();
|
|
29017
29017
|
}, [needFetch && layout]);
|
|
29018
29018
|
return {
|
|
29019
|
-
frequencyMax: needFetch ? frequencyMax : layout === null || layout ===
|
|
29019
|
+
frequencyMax: needFetch ? frequencyMax : layout === null || layout === void 0 ? void 0 : layout.frequencyMax,
|
|
29020
29020
|
awaitingFrequencyMax
|
|
29021
29021
|
};
|
|
29022
29022
|
};
|
|
@@ -29036,7 +29036,7 @@
|
|
|
29036
29036
|
} = _ref;
|
|
29037
29037
|
const {
|
|
29038
29038
|
qStateCounts: s = {}
|
|
29039
|
-
} = (layout === null || layout ===
|
|
29039
|
+
} = (layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qDimensionInfo) || {};
|
|
29040
29040
|
const count = s.qSelected + s.qSelectedExcluded + s.qLocked + s.qLockedExcluded;
|
|
29041
29041
|
let t;
|
|
29042
29042
|
switch (count) {
|
|
@@ -29078,7 +29078,7 @@
|
|
|
29078
29078
|
translator: translatorDynamic
|
|
29079
29079
|
} = reactExports.useContext(InstanceContext);
|
|
29080
29080
|
const finalStringArr = [];
|
|
29081
|
-
if (searchInputText !== null && searchInputText !==
|
|
29081
|
+
if (searchInputText !== null && searchInputText !== void 0 && searchInputText.length) {
|
|
29082
29082
|
// Add search result text.
|
|
29083
29083
|
const srSearchTranslationString = getSearchTranslationString(listCount);
|
|
29084
29084
|
const srSearchString = translatorDynamic.get(srSearchTranslationString, [listCount]);
|
|
@@ -29093,7 +29093,7 @@
|
|
|
29093
29093
|
finalStringArr.push(srSelectionValueText);
|
|
29094
29094
|
|
|
29095
29095
|
// Merge texts into one text string, targeting the assertive screen reader.
|
|
29096
|
-
const finalString = finalStringArr.filter(v => !!(v !== null && v !==
|
|
29096
|
+
const finalString = finalStringArr.filter(v => !!(v !== null && v !== void 0 && v.length)).join('. ');
|
|
29097
29097
|
return finalString;
|
|
29098
29098
|
}
|
|
29099
29099
|
|
|
@@ -29105,7 +29105,7 @@
|
|
|
29105
29105
|
return qMatrix.some(_ref2 => {
|
|
29106
29106
|
var _item$qFrequency;
|
|
29107
29107
|
let [item] = _ref2;
|
|
29108
|
-
return !!((_item$qFrequency = item.qFrequency) !== null && _item$qFrequency !==
|
|
29108
|
+
return !!((_item$qFrequency = item.qFrequency) !== null && _item$qFrequency !== void 0 && _item$qFrequency.match('%'));
|
|
29109
29109
|
});
|
|
29110
29110
|
});
|
|
29111
29111
|
const OTHER = '-'; // treat all other as '-' (change later if we need to identify other modes)
|
|
@@ -29164,7 +29164,7 @@
|
|
|
29164
29164
|
const {
|
|
29165
29165
|
checkboxes = checkboxOption,
|
|
29166
29166
|
histogram
|
|
29167
|
-
} = layout !== null && layout !==
|
|
29167
|
+
} = layout !== null && layout !== void 0 ? layout : {};
|
|
29168
29168
|
const loaderRef = reactExports.useRef(null);
|
|
29169
29169
|
const local = reactExports.useRef({
|
|
29170
29170
|
queue: [],
|
|
@@ -29207,7 +29207,7 @@
|
|
|
29207
29207
|
show
|
|
29208
29208
|
}));
|
|
29209
29209
|
const [pages, setPages] = reactExports.useState([]);
|
|
29210
|
-
if (itemsLoader !== null && itemsLoader !==
|
|
29210
|
+
if (itemsLoader !== null && itemsLoader !== void 0 && itemsLoader.pages) {
|
|
29211
29211
|
selectionState.update({
|
|
29212
29212
|
setPages,
|
|
29213
29213
|
pages: itemsLoader.pages,
|
|
@@ -29215,13 +29215,13 @@
|
|
|
29215
29215
|
layout
|
|
29216
29216
|
});
|
|
29217
29217
|
}
|
|
29218
|
-
const cardinal = layout === null || layout ===
|
|
29219
|
-
if (itemsLoader !== null && itemsLoader !==
|
|
29218
|
+
const cardinal = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qCardinal;
|
|
29219
|
+
if (itemsLoader !== null && itemsLoader !== void 0 && itemsLoader.pages.length && !awaitingFrequencyMax || cardinal === 0) {
|
|
29220
29220
|
// All necessary data fetching done - signal rendering done!
|
|
29221
|
-
renderedCallback === null || renderedCallback ===
|
|
29221
|
+
renderedCallback === null || renderedCallback === void 0 || renderedCallback();
|
|
29222
29222
|
}
|
|
29223
29223
|
const isItemLoaded = reactExports.useCallback(index => {
|
|
29224
|
-
if (!(pages !== null && pages !==
|
|
29224
|
+
if (!(pages !== null && pages !== void 0 && pages.length) || !local.current.validPages) {
|
|
29225
29225
|
return false;
|
|
29226
29226
|
}
|
|
29227
29227
|
local.current.checkIdx = index;
|
|
@@ -29244,9 +29244,9 @@
|
|
|
29244
29244
|
} = layout || {};
|
|
29245
29245
|
let isRow = true;
|
|
29246
29246
|
if (layoutOptions.dataLayout) {
|
|
29247
|
-
isRow = layoutOptions.dataLayout === 'singleColumn' ? true : (layoutOptions === null || layoutOptions ===
|
|
29247
|
+
isRow = layoutOptions.dataLayout === 'singleColumn' ? true : (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.layoutOrder) === 'row';
|
|
29248
29248
|
}
|
|
29249
|
-
const isGrid = (layoutOptions === null || layoutOptions ===
|
|
29249
|
+
const isGrid = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dataLayout) === 'grid';
|
|
29250
29250
|
const scrollToIndex = index => {
|
|
29251
29251
|
const gridIndex = _objectSpread2({}, isRow ? {
|
|
29252
29252
|
rowIndex: index
|
|
@@ -29288,7 +29288,7 @@
|
|
|
29288
29288
|
}, [layout, local.current.dataOffset]);
|
|
29289
29289
|
let minimumBatchSize = DEFAULT_MIN_BATCH_SIZE;
|
|
29290
29290
|
const isVertical = layoutOptions.dataLayout !== 'grid';
|
|
29291
|
-
const count = layout === null || layout ===
|
|
29291
|
+
const count = layout === null || layout === void 0 || (_layout$qListObject$q = layout.qListObject.qSize) === null || _layout$qListObject$q === void 0 ? void 0 : _layout$qListObject$q.qcy;
|
|
29292
29292
|
const unlimitedListCount = getListCount({
|
|
29293
29293
|
pages,
|
|
29294
29294
|
minimumBatchSize,
|
|
@@ -29362,7 +29362,7 @@
|
|
|
29362
29362
|
}, [keyScroll.state.up, keyScroll.state.down, keyScroll.state.scrollPosition]);
|
|
29363
29363
|
const {
|
|
29364
29364
|
textAlign
|
|
29365
|
-
} = (layout === null || layout ===
|
|
29365
|
+
} = (layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo) || {};
|
|
29366
29366
|
const [focusListItem, setFocusListItem] = reactExports.useState({
|
|
29367
29367
|
first: false,
|
|
29368
29368
|
last: false
|
|
@@ -29457,8 +29457,8 @@
|
|
|
29457
29457
|
dismiss: () => setOverflowDisclaimer(state => _objectSpread2(_objectSpread2({}, state), {}, {
|
|
29458
29458
|
dismissed: true
|
|
29459
29459
|
})),
|
|
29460
|
-
parentWidth: loaderRef === null || loaderRef ===
|
|
29461
|
-
dense: layoutOptions === null || layoutOptions ===
|
|
29460
|
+
parentWidth: loaderRef === null || loaderRef === void 0 || (_loaderRef$current = loaderRef.current) === null || _loaderRef$current === void 0 || (_loaderRef$current = _loaderRef$current._listRef) === null || _loaderRef$current === void 0 || (_loaderRef$current = _loaderRef$current.props) === null || _loaderRef$current === void 0 ? void 0 : _loaderRef$current.width,
|
|
29461
|
+
dense: layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dense
|
|
29462
29462
|
}));
|
|
29463
29463
|
}
|
|
29464
29464
|
|
|
@@ -29819,12 +29819,12 @@
|
|
|
29819
29819
|
|
|
29820
29820
|
const getActionButtonIndex = btn => {
|
|
29821
29821
|
const toolbar = btn.closest('#actions-toolbar');
|
|
29822
|
-
const nodeList = toolbar === null || toolbar ===
|
|
29822
|
+
const nodeList = toolbar === null || toolbar === void 0 ? void 0 : toolbar.querySelectorAll('.njs-cell-action');
|
|
29823
29823
|
return Array.from(nodeList).indexOf(btn);
|
|
29824
29824
|
};
|
|
29825
29825
|
const focusButton = index => {
|
|
29826
29826
|
const toolbar = document.querySelector('#actions-toolbar');
|
|
29827
|
-
const nodeList = toolbar === null || toolbar ===
|
|
29827
|
+
const nodeList = toolbar === null || toolbar === void 0 ? void 0 : toolbar.querySelectorAll('.njs-cell-action');
|
|
29828
29828
|
if (!nodeList.length) {
|
|
29829
29829
|
return;
|
|
29830
29830
|
}
|
|
@@ -29869,7 +29869,7 @@
|
|
|
29869
29869
|
evt.preventDefault(); // prevent scrolling in listbox
|
|
29870
29870
|
break;
|
|
29871
29871
|
case KEYS.TAB:
|
|
29872
|
-
if (keyboardNavigation && focusHandler !== null && focusHandler !==
|
|
29872
|
+
if (keyboardNavigation && focusHandler !== null && focusHandler !== void 0 && focusHandler.refocusContent) {
|
|
29873
29873
|
const isTabbingOut = evt.shiftKey && getEnabledButton(false) === evt.target || !evt.shiftKey && getEnabledButton(true) === evt.target;
|
|
29874
29874
|
if (isTabbingOut) {
|
|
29875
29875
|
evt.preventDefault();
|
|
@@ -29993,7 +29993,7 @@
|
|
|
29993
29993
|
const [showMoreItems, setShowMoreItems] = reactExports.useState(false);
|
|
29994
29994
|
const popoverAnchorOrigin = {
|
|
29995
29995
|
vertical: 12,
|
|
29996
|
-
horizontal: ((_popover$anchorEl$cli = (_popover$anchorEl = popover.anchorEl) === null || _popover$anchorEl ===
|
|
29996
|
+
horizontal: ((_popover$anchorEl$cli = (_popover$anchorEl = popover.anchorEl) === null || _popover$anchorEl === void 0 ? void 0 : _popover$anchorEl.clientWidth) !== null && _popover$anchorEl$cli !== void 0 ? _popover$anchorEl$cli : 0) - 7
|
|
29997
29997
|
};
|
|
29998
29998
|
const actionsRef = reactExports.useRef();
|
|
29999
29999
|
const moreRef = reactExports.useRef();
|
|
@@ -30021,11 +30021,11 @@
|
|
|
30021
30021
|
if (!focusHandler) return;
|
|
30022
30022
|
const focusFirst = () => {
|
|
30023
30023
|
const enabledButton = getEnabledButton(false);
|
|
30024
|
-
enabledButton === null || enabledButton ===
|
|
30024
|
+
enabledButton === null || enabledButton === void 0 || enabledButton.focus();
|
|
30025
30025
|
};
|
|
30026
30026
|
const focusLast = () => {
|
|
30027
30027
|
const enabledButton = getEnabledButton(true);
|
|
30028
|
-
enabledButton === null || enabledButton ===
|
|
30028
|
+
enabledButton === null || enabledButton === void 0 || enabledButton.focus();
|
|
30029
30029
|
};
|
|
30030
30030
|
focusHandler.on('focus_toolbar_first', focusFirst);
|
|
30031
30031
|
focusHandler.on('focus_toolbar_last', focusLast);
|
|
@@ -30070,7 +30070,7 @@
|
|
|
30070
30070
|
sx: {
|
|
30071
30071
|
flexDirection: isRtl ? 'row-reverse' : 'row'
|
|
30072
30072
|
}
|
|
30073
|
-
}, (extraItems === null || extraItems ===
|
|
30073
|
+
}, (extraItems === null || extraItems === void 0 ? void 0 : extraItems.length) && /*#__PURE__*/React.createElement(ActionsGroup, {
|
|
30074
30074
|
className: "actions-toolbar-extra-actions",
|
|
30075
30075
|
actions: extraItems,
|
|
30076
30076
|
isRtl: isRtl
|
|
@@ -30142,7 +30142,7 @@
|
|
|
30142
30142
|
const MAX_SEARCH_LENGTH = 64000;
|
|
30143
30143
|
const TREE_PATH = '/qListObjectDef';
|
|
30144
30144
|
const WILDCARD = '**';
|
|
30145
|
-
const limitSearchLength = val => val === null || val ===
|
|
30145
|
+
const limitSearchLength = val => val === null || val === void 0 ? void 0 : val.substring(0, MAX_SEARCH_LENGTH);
|
|
30146
30146
|
const StyledOutlinedInput = styled(OutlinedInput, {
|
|
30147
30147
|
shouldForwardProp: p => !['styles', 'dense', 'isRtl'].includes(p)
|
|
30148
30148
|
})(_ref => {
|
|
@@ -30360,7 +30360,7 @@
|
|
|
30360
30360
|
};
|
|
30361
30361
|
const focusOnInput = () => {
|
|
30362
30362
|
var _inputRef$current;
|
|
30363
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current ===
|
|
30363
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
30364
30364
|
};
|
|
30365
30365
|
const onClearSearch = () => {
|
|
30366
30366
|
abortSearch();
|
|
@@ -30475,7 +30475,7 @@
|
|
|
30475
30475
|
objectSelections
|
|
30476
30476
|
} = _ref2;
|
|
30477
30477
|
// Quick return if it's already in modal
|
|
30478
|
-
if (objectSelections === ((_modalObjectStore$get = modalObjectStore.get(key)) === null || _modalObjectStore$get ===
|
|
30478
|
+
if (objectSelections === ((_modalObjectStore$get = modalObjectStore.get(key)) === null || _modalObjectStore$get === void 0 ? void 0 : _modalObjectStore$get.objectSelections)) {
|
|
30479
30479
|
return;
|
|
30480
30480
|
}
|
|
30481
30481
|
|
|
@@ -30524,7 +30524,7 @@
|
|
|
30524
30524
|
isModal(objectSelections) {
|
|
30525
30525
|
var _modalObjectStore$get2;
|
|
30526
30526
|
// TODO check model state
|
|
30527
|
-
return objectSelections ? ((_modalObjectStore$get2 = modalObjectStore.get(key)) === null || _modalObjectStore$get2 ===
|
|
30527
|
+
return objectSelections ? ((_modalObjectStore$get2 = modalObjectStore.get(key)) === null || _modalObjectStore$get2 === void 0 ? void 0 : _modalObjectStore$get2.objectSelections) === objectSelections : !!modalObjectStore.get(key);
|
|
30528
30528
|
},
|
|
30529
30529
|
forward() {
|
|
30530
30530
|
return appModal.end().then(() => app.forward());
|
|
@@ -30597,7 +30597,7 @@
|
|
|
30597
30597
|
|
|
30598
30598
|
// Resolve elements and filter out containers which do not exist.
|
|
30599
30599
|
const containers = elements.map(item => {
|
|
30600
|
-
const elm = typeof item === 'string' ? document.querySelector(item) : item === null || item ===
|
|
30600
|
+
const elm = typeof item === 'string' ? document.querySelector(item) : item === null || item === void 0 ? void 0 : item.current;
|
|
30601
30601
|
return elm;
|
|
30602
30602
|
}).filter(elm => !!elm && !!document.contains(elm));
|
|
30603
30603
|
if (!containers.length) {
|
|
@@ -30795,12 +30795,12 @@
|
|
|
30795
30795
|
activateClickOut() {
|
|
30796
30796
|
var _options$onSelectionA;
|
|
30797
30797
|
document.addEventListener('mousedown', handler);
|
|
30798
|
-
options === null || options ===
|
|
30798
|
+
options === null || options === void 0 || (_options$onSelectionA = options.onSelectionActivated) === null || _options$onSelectionA === void 0 || _options$onSelectionA.call(options);
|
|
30799
30799
|
},
|
|
30800
30800
|
deactivateClickOut() {
|
|
30801
30801
|
var _options$onSelectionD;
|
|
30802
30802
|
document.removeEventListener('mousedown', handler);
|
|
30803
|
-
options === null || options ===
|
|
30803
|
+
options === null || options === void 0 || (_options$onSelectionD = options.onSelectionDeactivated) === null || _options$onSelectionD === void 0 || _options$onSelectionD.call(options);
|
|
30804
30804
|
}
|
|
30805
30805
|
};
|
|
30806
30806
|
};
|
|
@@ -30884,14 +30884,14 @@
|
|
|
30884
30884
|
this.clearItemStates(false);
|
|
30885
30885
|
}
|
|
30886
30886
|
if (state.enginePages !== pages && pages !== undefined) {
|
|
30887
|
-
state.enginePages = pages !== null && pages !==
|
|
30887
|
+
state.enginePages = pages !== null && pages !== void 0 ? pages : [];
|
|
30888
30888
|
state.selectedInEngine = getSelectedValues(pages);
|
|
30889
30889
|
state.selectableValuesUpdating = false;
|
|
30890
30890
|
state.triggerStateChanged();
|
|
30891
30891
|
}
|
|
30892
30892
|
state.isSingleSelect = isSingleSelect;
|
|
30893
30893
|
state.selectDisabled = selectDisabled || state.selectDisabled;
|
|
30894
|
-
state.isDimCalculated = (_layout$qListObject$q = layout === null || layout ===
|
|
30894
|
+
state.isDimCalculated = (_layout$qListObject$q = layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qIsCalculated) !== null && _layout$qListObject$q !== void 0 ? _layout$qListObject$q : false;
|
|
30895
30895
|
},
|
|
30896
30896
|
allowedToSelect() {
|
|
30897
30897
|
if (state.selectDisabled()) {
|
|
@@ -30930,7 +30930,7 @@
|
|
|
30930
30930
|
if (selected && !additive) {
|
|
30931
30931
|
state.itemStates[elementNumber] = false;
|
|
30932
30932
|
} else if (!selected) {
|
|
30933
|
-
selectedValues === null || selectedValues ===
|
|
30933
|
+
selectedValues === null || selectedValues === void 0 || selectedValues.push(elementNumber);
|
|
30934
30934
|
state.itemStates[elementNumber] = true;
|
|
30935
30935
|
}
|
|
30936
30936
|
},
|
|
@@ -30976,10 +30976,10 @@
|
|
|
30976
30976
|
const getValue$1 = function (obj, prop) {
|
|
30977
30977
|
var _obj$prop;
|
|
30978
30978
|
let defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
30979
|
-
return (_obj$prop = obj === null || obj ===
|
|
30979
|
+
return (_obj$prop = obj === null || obj === void 0 ? void 0 : obj[prop]) !== null && _obj$prop !== void 0 ? _obj$prop : defaultValue;
|
|
30980
30980
|
};
|
|
30981
30981
|
function hasSelections(layout) {
|
|
30982
|
-
const counts = (layout === null || layout ===
|
|
30982
|
+
const counts = (layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qStateCounts) || {};
|
|
30983
30983
|
const totalCounts = getValue$1(counts, 'qSelected', 0) + getValue$1(counts, 'qSelectedExcluded', 0) + getValue$1(counts, 'qLocked', 0) + getValue$1(counts, 'qLockedExcluded', 0);
|
|
30984
30984
|
return totalCounts > 0;
|
|
30985
30985
|
}
|
|
@@ -30990,7 +30990,7 @@
|
|
|
30990
30990
|
* Released under the MIT license.
|
|
30991
30991
|
*/
|
|
30992
30992
|
|
|
30993
|
-
function e(e){return "number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}function t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(1===n.length&&e(n[0]))return (n[0].r<<16)+(n[0].g<<8)+n[0].b;var i=0,o=0,a=0;if(1===n.length&&"string"==typeof n[0]){var l,s=n[0];(l=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(s))?(i=parseInt(l[1],10),o=parseInt(l[2],10),a=parseInt(l[3],10)):(l=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(s))?(i=parseInt(l[1],16),o=parseInt(l[2],16),a=parseInt(l[3],16)):(l=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(s))&&(i=parseInt(l[1]+l[1],16),o=parseInt(l[2]+l[2],16),a=parseInt(l[3]+l[3],16));}return (i<<16)+(o<<8)+a}function o(e,t,n){return (t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(undefined!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}(e,"string");return "symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),true).forEach((function(t){o(e,t,n[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));}));}return e}var h={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},m="qcm-color";function v(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i,o,a,s,c,u,f,d,p,v={type:m,r:0,g:0,b:0,a:1,l:undefined,invalid:false,spaces:{}},g=0,y=0,b=0,x=1;if((null===(e=n[0])||undefined===e?undefined:e.type)===m){var q=n[0];g=q.r,y=q.g,b=q.b,x=q.a,v.invalid=n[0].invalid,v.spaces=l({},n[0].spaces);}else if(n.length<3)if("string"==typeof n[0]){var w,k=n[0];if(w=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10);else if(w=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10),x=parseFloat(w[4]);else if(w=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))x=parseInt(w[1],10)/255,g=parseInt(w[2],10),y=parseInt(w[3],10),b=parseInt(w[4],10);else if(w=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(k))g=parseInt(w[1],16),y=parseInt(w[2],16),b=parseInt(w[3],16),x=1;else if(w=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(k))g=parseInt(w[1]+w[1],16),y=parseInt(w[2]+w[2],16),b=parseInt(w[3]+w[3],16),x=1;else if(w=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var C=[];switch(f=Math.floor(f)){case 0:C=[u,d,0];break;case 1:C=[d,u,0];break;case 2:C=[0,u,d];break;case 3:C=[0,d,u];break;case 4:C=[d,0,u];break;case 5:C=[u,0,d];break;default:C=[0,0,0];}p=s-.5*u,g=C[0]+p,y=C[1]+p,b=C[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(w=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),x=parseFloat(w[7]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var M=[];switch(f=Math.floor(f)){case 0:M=[u,d,0];break;case 1:M=[d,u,0];break;case 2:M=[0,u,d];break;case 3:M=[0,d,u];break;case 4:M=[d,0,u];break;case 5:M=[u,0,d];break;default:M=[0,0,0];}p=s-.5*u,g=M[0]+p,y=M[1]+p,b=M[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b);}else if(w=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),c=parseFloat(w[5]),f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(c=(c/=100)<0?0:c>1?1:c)*(o=(o/=100)<0?0:o>1?1:o))*(1-Math.abs(f%2-1));var S=[];switch(f=Math.floor(f)){case 0:S=[u,d,0];break;case 1:S=[d,u,0];break;case 2:S=[0,u,d];break;case 3:S=[0,d,u];break;case 4:S=[d,0,u];break;case 5:S=[u,0,d];break;default:S=[0,0,0];}p=c-u,g=S[0]+p,y=S[1]+p,b=S[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(h[k.toLowerCase()]){a=k.toLowerCase();var D=h[a];g=D.r,y=D.g,b=D.b,x="number"==typeof h[a].a?h[a].a:1;}else v.invalid=true;}else "number"==typeof n[0]&&n[0]>=0&&"argb"===n[1]?(x=(4278190080&n[0])>>>24,x/=255,g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):"number"==typeof n[0]&&n[0]>=0?(g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):v.invalid=true;else n.length>=3&&n.length<=4?(g=n[0],y=n[1],b=n[2],x=arguments.length>=4?n[3]:1):v.invalid=true;return Number.isNaN(+g+y+b+x)&&(v.invalid=true),v.r=Math.floor(g),v.g=Math.floor(y),v.b=Math.floor(b),v.a=x,v.l=s,v}function g(n){var r,i,o;if(e(n))return r=n.r.toString(16),i=n.g.toString(16),o=n.b.toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat([r,i,o].join(""));var a="string"==typeof n?t(n):n;return r=((16711680&a)>>16).toString(16),i=((65280&a)>>8).toString(16),o=(255&a).toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat(r).concat(i).concat(o)}function y(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=(s+c)/2;if(s===c)t=0,r=0;else {switch(n=s-c,t=u>.5?n/(2-s-c):n/(s+c),s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsl(".concat(360*r,", ").concat(100*t,", ").concat(100*u,")")}function b(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=i.a,c=Math.max(o,a,l),u=Math.min(o,a,l),f=(c+u)/2;if(c===u)t=0,r=0;else {switch(n=c-u,t=f>.5?n/(2-c-u):n/(c+u),c){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsla(".concat(360*r,", ").concat(100*t,", ").concat(100*f,", ").concat(s,")")}function x(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=s;if(s===c)t=0,r=0;else {switch(t=0===(n=s-c)?0:n/u,s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return {h:360*r%360,s:100*t,v:100*u}}function q(e){var t=x(e),n=t.h,r=t.s,i=t.v;return "hsv(".concat(n,", ").concat(r,", ").concat(i,")")}function w(n){if(e(n))return "rgb(".concat([n.r,n.g,n.b].join(", "),")");var r="string"==typeof n?t(n):n,i=(65280&r)>>8,o=255&r;return "rgb(".concat((16711680&r)>>16,", ").concat(i,", ").concat(o,")")}function k(t,n){return e(t)?"rgba(".concat([t.r,t.g,t.b,t.a].join(", "),")"):k(v(t))}function C(t){return e(t)?1===t.a?w(t):k(t):C(v(t))}var M=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)};function S(e){return .2126*M(e.r)+.7152*M(e.g)+.0722*M(e.b)}function D(){var e=v.apply(undefined,arguments);return e.invalid||S(e)<.4}function O(){var e=v.apply(undefined,arguments),t={type:e.type,r:e.r,g:e.g,b:e.b,a:e.a,invalid:e.invalid,spaces:e.spaces},n=function(){return t.spaces.hsla||(t.spaces.hsla=b(t)),t.spaces.hsla},r=function(e){var t=n(),r=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(t),i=parseFloat(r[1]),o=parseFloat(r[3]),a=parseFloat(r[7]),l=parseFloat(r[5]),s=Math.max(0,Math.min(l+e,100));return "hsla(".concat(i,", ").concat(o,", ").concat(s,", ").concat(a,")")};return {get type(){return t.type},isInvalid:function(){return t.invalid},get r(){return t.r},get g(){return t.g},get b(){return t.b},get a(){return t.a},getR:function(){return t.r},getG:function(){return t.g},getB:function(){return t.b},getAlpha:function(){return t.a},setAlpha:function(e){t.a=e,t.spaces={};},isEqualTo:function(e){var n=e.type===t.type?e:v(e);return n.r===t.r&&n.g===t.g&&n.b===t.b&&n.a===t.a},isDark:function(){return D(t)},getRGB:function(){return t.spaces.rgb||(t.spaces.rgb=w(t)),t.spaces.rgb},getRGBA:function(){return t.spaces.rgba||(t.spaces.rgba=k(t)),t.spaces.rgba},getString:function(){return t.spaces.string||(t.spaces.string=C(t)),t.spaces.string},getHex:function(){return t.spaces.hex||(t.spaces.hex=g(t)),t.spaces.hex},getHSL:function(){return t.spaces.hsl||(t.spaces.hsl=y(t)),t.spaces.hsl},getHSLA:n,getShiftedHSLA:r,getHSV:function(){return t.spaces.hsv||(t.spaces.hsv=q(t)),t.spaces.hsv},getHSVObject:function(){return t.spaces.hsvObject||(t.spaces.hsvObject=x(t)),t.spaces.hsvObject},blend:function(e,n){var r=Math.floor(t.r+(e.r-t.r)*n),i=Math.floor(t.g+(e.g-t.g)*n),o=Math.floor(t.b+(e.b-t.b)*n),a=Math.floor(t.a+(e.getAlpha()-t.a)*n);return "rgba(".concat([r,i,o,a].join(", "),")")},getBrightenedColor:function(){var e=arguments.length>0&&undefined!==arguments[0]?arguments[0]:1;return O(r(18*e))},getDarkenedColor:function(){var e=arguments.length>0&&undefined!==arguments[0]?arguments[0]:1;return O(r(18*-e))}}}function I(e,t){if(e&&t){var n=S(e),r=S(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}}function A(e,t){var n=O("#FFFFFF"),r=O(e),i=O(t);if(r.isInvalid()||i.isInvalid()||r.getAlpha()<1||i.getAlpha()<1)return t;var o=I(n,r),a=I(i,r),l=o>a||o>4.5;return !l&&a>3?t:l?"#FFFFFF":"#000000"}var K,$;function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oe=function(){if($)return K;$=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return false;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return false;for(r in n);return undefined===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return K=function e(){var t,n,r,s,c,u,f=arguments[0],d=1,p=arguments.length,h=false;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(s=l(t,n))&&(h&&s&&(o(s)||(c=i(s)))?(c?(c=false,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(f,{name:n,newValue:e(h,u,s)})):undefined!==s&&a(f,{name:n,newValue:s}));return f},K}();ie(oe);function de(e,t,n){e.prototype=t.prototype=n,n.constructor=e;}function pe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function he(){}var me=1/.7,ve="\\s*([+-]?\\d+)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",be=/^#([0-9a-f]{3,8})$/,xe=new RegExp(`^rgb\\(${ve},${ve},${ve}\\)$`),qe=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),we=new RegExp(`^rgba\\(${ve},${ve},${ve},${ge}\\)$`),ke=new RegExp(`^rgba\\(${ye},${ye},${ye},${ge}\\)$`),Ce=new RegExp(`^hsl\\(${ge},${ye},${ye}\\)$`),Me=new RegExp(`^hsla\\(${ge},${ye},${ye},${ge}\\)$`),Se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function De(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Ie(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=be.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ee(t):3===n?new Ne(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ae(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ae(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xe.exec(e))?new Ne(t[1],t[2],t[3],1):(t=qe.exec(e))?new Ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=we.exec(e))?Ae(t[1],t[2],t[3],t[4]):(t=ke.exec(e))?Ae(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ce.exec(e))?Re(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Re(t[1],t[2]/100,t[3]/100,t[4]):Se.hasOwnProperty(e)?Ee(Se[e]):"transparent"===e?new Ne(NaN,NaN,NaN,0):null}function Ee(e){return new Ne(e>>16&255,e>>8&255,255&e,1)}function Ae(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ne(e,t,n,r)}function Te(e){return e instanceof he||(e=Ie(e)),e?new Ne((e=e.rgb()).r,e.g,e.b,e.opacity):new Ne}function Le(e,t,n,r){return 1===arguments.length?Te(e):new Ne(e,t,n,null==r?1:r)}function Ne(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r;}function Pe(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}`}function je(){const e=Fe(this.opacity);return `${1===e?"rgb(":"rgba("}${He(this.r)}, ${He(this.g)}, ${He(this.b)}${1===e?")":`, ${e})`}`}function Fe(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function He(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ze(e){return ((e=He(e))<16?"0":"")+e.toString(16)}function Re(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _e(e,t,n,r)}function Ve(e){if(e instanceof _e)return new _e(e.h,e.s,e.l,e.opacity);if(e instanceof he||(e=Ie(e)),!e)return new _e;if(e instanceof _e)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n<r):n===o?(r-t)/l+2:(t-n)/l+4,l/=s<.5?o+i:2-o-i,a*=60):l=s>0&&s<1?0:a,new _e(a,l,s,e.opacity)}function _e(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}function Be(e){return (e=(e||0)%360)<0?e+360:e}function Ke(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}de(he,Ie,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:De,formatHex:De,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Oe,toString:Oe}),de(Ne,Le,pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ne(He(this.r),He(this.g),He(this.b),Fe(this.opacity))},displayable(){return -0.5<=this.r&&this.r<255.5&&-0.5<=this.g&&this.g<255.5&&-0.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatHex8:function(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}${ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:je,toString:je})),de(_e,(function(e,t,n,r){return 1===arguments.length?Ve(e):new _e(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new _e(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new _e(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ne($e(e>=240?e-240:e+120,i,r),$e(e,i,r),$e(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new _e(Be(this.h),Ke(this.s),Ke(this.l),Fe(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Fe(this.opacity);return `${1===e?"hsl(":"hsla("}${Be(this.h)}, ${100*Ke(this.s)}%, ${100*Ke(this.l)}%${1===e?")":`, ${e})`}`}}));const Ye=Math.PI/180,Ue=180/Math.PI,Ge=4/29,We=6/29,Xe=3*We*We;function Ze(e){if(e instanceof Je)return new Je(e.l,e.a,e.b,e.opacity);if(e instanceof ot)return at(e);e instanceof Ne||(e=Te(e));var t,n,r=nt(e.r),i=nt(e.g),o=nt(e.b),a=Qe((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=Qe((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Qe((.0139322*r+.0971045*i+.7141733*o)/.82521)),new Je(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Je(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r;}function Qe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Xe+Ge}function et(e){return e>We?e*e*e:Xe*(e-Ge)}function tt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nt(e){return (e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rt(e){if(e instanceof ot)return new ot(e.h,e.c,e.l,e.opacity);if(e instanceof Je||(e=Ze(e)),0===e.a&&0===e.b)return new ot(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ue;return new ot(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function it(e,t,n,r){return 1===arguments.length?rt(e):new ot(e,t,n,null==r?1:r)}function ot(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r;}function at(e){if(isNaN(e.h))return new Je(e.l,0,0,e.opacity);var t=e.h*Ye;return new Je(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}de(Je,(function(e,t,n,r){return 1===arguments.length?Ze(e):new Je(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return new Je(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Je(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ne(tt(3.1338561*(t=.96422*et(t))-1.6168667*(e=1*et(e))-.4906146*(n=.82521*et(n))),tt(-0.9787684*t+1.9161415*e+.033454*n),tt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),de(ot,it,pe(he,{brighter(e){return new ot(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ot(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return at(this).rgb()}}));var lt=e=>()=>e;function st(e){return 1==(e=+e)?ct:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lt(isNaN(t)?n:t)}}function ct(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):lt(isNaN(e)?t:e)}(function e(t){var n=st(t);function r(e,t){var r=n((e=Le(e)).r,(t=Le(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ct(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);var Ut="center",Gt="bottom";[{key:"NoDataExist",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;return !!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return "NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;if(!t.meta.isContinuous)return false;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:Ut},{key:"DataRangeIncludingZero",alignment:Gt},{key:"LimitedData",alignment:Gt},{key:"NegativeOrZeroValues",alignment:Gt}].reduce((function(e,t){return e[t.key]=t,e}),{});function Vn(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t;}function _n(e,t){e instanceof Map?(e=[undefined,e],undefined===t&&(t=Kn)):undefined===t&&(t=Bn);for(var n,r,i,o,a,l=new Un(e),s=[l];n=s.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new Un(i[o])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(Yn)}function Bn(e){return e.children}function Kn(e){return Array.isArray(e)?e[1]:null}function $n(e){ undefined!==e.data.value&&(e.value=e.data.value),e.data=e.data.data;}function Yn(e){var t=0;do{e.height=t;}while((e=e.parent)&&e.height<++t)}function Un(e){this.data=e,this.depth=this.height=0,this.parent=null;}Un.prototype=_n.prototype={constructor:Un,count:function(){return this.eachAfter(Vn)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],l=[],s=-1;o=a.pop();)if(l.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=l.pop();)e.call(t,o,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n;}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e);}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t);})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n});})),t},copy:function(){return _n(this).eachBefore($n)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);}while(o.length)}};var qr,wr;(qr=function(e){
|
|
30993
|
+
function e(e){return "number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b&&"number"==typeof e.a}function t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(1===n.length&&e(n[0]))return (n[0].r<<16)+(n[0].g<<8)+n[0].b;var i=0,o=0,a=0;if(1===n.length&&"string"==typeof n[0]){var l,s=n[0];(l=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(s))?(i=parseInt(l[1],10),o=parseInt(l[2],10),a=parseInt(l[3],10)):(l=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(s))?(i=parseInt(l[1],16),o=parseInt(l[2],16),a=parseInt(l[3],16)):(l=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(s))&&(i=parseInt(l[1]+l[1],16),o=parseInt(l[2]+l[2],16),a=parseInt(l[3]+l[3],16));}return (i<<16)+(o<<8)+a}function o(e,t,n){return (t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}(e,"string");return "symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),true).forEach((function(t){o(e,t,n[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));}));}return e}var h={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},m="qcm-color";function v(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i,o,a,s,c,u,f,d,p,v={type:m,r:0,g:0,b:0,a:1,l:void 0,invalid:false,spaces:{}},g=0,y=0,b=0,x=1;if((null===(e=n[0])||void 0===e?void 0:e.type)===m){var q=n[0];g=q.r,y=q.g,b=q.b,x=q.a,v.invalid=n[0].invalid,v.spaces=l({},n[0].spaces);}else if(n.length<3)if("string"==typeof n[0]){var w,k=n[0];if(w=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10);else if(w=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k))g=parseInt(w[1],10),y=parseInt(w[2],10),b=parseInt(w[3],10),x=parseFloat(w[4]);else if(w=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(k))x=parseInt(w[1],10)/255,g=parseInt(w[2],10),y=parseInt(w[3],10),b=parseInt(w[4],10);else if(w=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(k))g=parseInt(w[1],16),y=parseInt(w[2],16),b=parseInt(w[3],16),x=1;else if(w=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(k))g=parseInt(w[1]+w[1],16),y=parseInt(w[2]+w[2],16),b=parseInt(w[3]+w[3],16),x=1;else if(w=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var C=[];switch(f=Math.floor(f)){case 0:C=[u,d,0];break;case 1:C=[d,u,0];break;case 2:C=[0,u,d];break;case 3:C=[0,d,u];break;case 4:C=[d,0,u];break;case 5:C=[u,0,d];break;default:C=[0,0,0];}p=s-.5*u,g=C[0]+p,y=C[1]+p,b=C[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(w=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),s=parseFloat(w[5]),x=parseFloat(w[7]),o=(o/=100)<0?0:o>1?1:o,f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(s=(s/=100)<0?0:s>1?1:s)<=.5?2*s*o:(2-2*s)*o)*(1-Math.abs(f%2-1));var M=[];switch(f=Math.floor(f)){case 0:M=[u,d,0];break;case 1:M=[d,u,0];break;case 2:M=[0,u,d];break;case 3:M=[0,d,u];break;case 4:M=[d,0,u];break;case 5:M=[u,0,d];break;default:M=[0,0,0];}p=s-.5*u,g=M[0]+p,y=M[1]+p,b=M[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b);}else if(w=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(k)){i=parseFloat(w[1]),o=parseFloat(w[3]),c=parseFloat(w[5]),f=(i=(i%=360)<0?0:i>360?360:i)/60,d=(u=(c=(c/=100)<0?0:c>1?1:c)*(o=(o/=100)<0?0:o>1?1:o))*(1-Math.abs(f%2-1));var S=[];switch(f=Math.floor(f)){case 0:S=[u,d,0];break;case 1:S=[d,u,0];break;case 2:S=[0,u,d];break;case 3:S=[0,d,u];break;case 4:S=[d,0,u];break;case 5:S=[u,0,d];break;default:S=[0,0,0];}p=c-u,g=S[0]+p,y=S[1]+p,b=S[2]+p,g=Math.round(255*g),y=Math.round(255*y),b=Math.round(255*b),x=1;}else if(h[k.toLowerCase()]){a=k.toLowerCase();var D=h[a];g=D.r,y=D.g,b=D.b,x="number"==typeof h[a].a?h[a].a:1;}else v.invalid=true;}else "number"==typeof n[0]&&n[0]>=0&&"argb"===n[1]?(x=(4278190080&n[0])>>>24,x/=255,g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):"number"==typeof n[0]&&n[0]>=0?(g=(16711680&n[0])>>16,y=(65280&n[0])>>8,b=255&n[0]):v.invalid=true;else n.length>=3&&n.length<=4?(g=n[0],y=n[1],b=n[2],x=arguments.length>=4?n[3]:1):v.invalid=true;return Number.isNaN(+g+y+b+x)&&(v.invalid=true),v.r=Math.floor(g),v.g=Math.floor(y),v.b=Math.floor(b),v.a=x,v.l=s,v}function g(n){var r,i,o;if(e(n))return r=n.r.toString(16),i=n.g.toString(16),o=n.b.toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat([r,i,o].join(""));var a="string"==typeof n?t(n):n;return r=((16711680&a)>>16).toString(16),i=((65280&a)>>8).toString(16),o=(255&a).toString(16),1===r.length&&(r="0".concat(r)),1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),"#".concat(r).concat(i).concat(o)}function y(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=(s+c)/2;if(s===c)t=0,r=0;else {switch(n=s-c,t=u>.5?n/(2-s-c):n/(s+c),s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsl(".concat(360*r,", ").concat(100*t,", ").concat(100*u,")")}function b(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=i.a,c=Math.max(o,a,l),u=Math.min(o,a,l),f=(c+u)/2;if(c===u)t=0,r=0;else {switch(n=c-u,t=f>.5?n/(2-c-u):n/(c+u),c){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return "hsla(".concat(360*r,", ").concat(100*t,", ").concat(100*f,", ").concat(s,")")}function x(e){var t,n,r=0,i="string"==typeof e?v(e):e,o=i.r/255,a=i.g/255,l=i.b/255,s=Math.max(o,a,l),c=Math.min(o,a,l),u=s;if(s===c)t=0,r=0;else {switch(t=0===(n=s-c)?0:n/u,s){case o:r=(a-l)/n+(a<l?6:0);break;case a:r=(l-o)/n+2;break;case l:r=(o-a)/n+4;}r/=6;}return {h:360*r%360,s:100*t,v:100*u}}function q(e){var t=x(e),n=t.h,r=t.s,i=t.v;return "hsv(".concat(n,", ").concat(r,", ").concat(i,")")}function w(n){if(e(n))return "rgb(".concat([n.r,n.g,n.b].join(", "),")");var r="string"==typeof n?t(n):n,i=(65280&r)>>8,o=255&r;return "rgb(".concat((16711680&r)>>16,", ").concat(i,", ").concat(o,")")}function k(t,n){return e(t)?"rgba(".concat([t.r,t.g,t.b,t.a].join(", "),")"):k(v(t))}function C(t){return e(t)?1===t.a?w(t):k(t):C(v(t))}var M=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)};function S(e){return .2126*M(e.r)+.7152*M(e.g)+.0722*M(e.b)}function D(){var e=v.apply(void 0,arguments);return e.invalid||S(e)<.4}function O(){var e=v.apply(void 0,arguments),t={type:e.type,r:e.r,g:e.g,b:e.b,a:e.a,invalid:e.invalid,spaces:e.spaces},n=function(){return t.spaces.hsla||(t.spaces.hsla=b(t)),t.spaces.hsla},r=function(e){var t=n(),r=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(t),i=parseFloat(r[1]),o=parseFloat(r[3]),a=parseFloat(r[7]),l=parseFloat(r[5]),s=Math.max(0,Math.min(l+e,100));return "hsla(".concat(i,", ").concat(o,", ").concat(s,", ").concat(a,")")};return {get type(){return t.type},isInvalid:function(){return t.invalid},get r(){return t.r},get g(){return t.g},get b(){return t.b},get a(){return t.a},getR:function(){return t.r},getG:function(){return t.g},getB:function(){return t.b},getAlpha:function(){return t.a},setAlpha:function(e){t.a=e,t.spaces={};},isEqualTo:function(e){var n=e.type===t.type?e:v(e);return n.r===t.r&&n.g===t.g&&n.b===t.b&&n.a===t.a},isDark:function(){return D(t)},getRGB:function(){return t.spaces.rgb||(t.spaces.rgb=w(t)),t.spaces.rgb},getRGBA:function(){return t.spaces.rgba||(t.spaces.rgba=k(t)),t.spaces.rgba},getString:function(){return t.spaces.string||(t.spaces.string=C(t)),t.spaces.string},getHex:function(){return t.spaces.hex||(t.spaces.hex=g(t)),t.spaces.hex},getHSL:function(){return t.spaces.hsl||(t.spaces.hsl=y(t)),t.spaces.hsl},getHSLA:n,getShiftedHSLA:r,getHSV:function(){return t.spaces.hsv||(t.spaces.hsv=q(t)),t.spaces.hsv},getHSVObject:function(){return t.spaces.hsvObject||(t.spaces.hsvObject=x(t)),t.spaces.hsvObject},blend:function(e,n){var r=Math.floor(t.r+(e.r-t.r)*n),i=Math.floor(t.g+(e.g-t.g)*n),o=Math.floor(t.b+(e.b-t.b)*n),a=Math.floor(t.a+(e.getAlpha()-t.a)*n);return "rgba(".concat([r,i,o,a].join(", "),")")},getBrightenedColor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return O(r(18*e))},getDarkenedColor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return O(r(18*-e))}}}function I(e,t){if(e&&t){var n=S(e),r=S(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}}function A(e,t){var n=O("#FFFFFF"),r=O(e),i=O(t);if(r.isInvalid()||i.isInvalid()||r.getAlpha()<1||i.getAlpha()<1)return t;var o=I(n,r),a=I(i,r),l=o>a||o>4.5;return !l&&a>3?t:l?"#FFFFFF":"#000000"}var K,$;function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oe=function(){if($)return K;$=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return "function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return false;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return false;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true}):e[t.name]=t.newValue;},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return K=function e(){var t,n,r,s,c,u,f=arguments[0],d=1,p=arguments.length,h=false;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(s=l(t,n))&&(h&&s&&(o(s)||(c=i(s)))?(c?(c=false,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(f,{name:n,newValue:e(h,u,s)})):void 0!==s&&a(f,{name:n,newValue:s}));return f},K}();ie(oe);function de(e,t,n){e.prototype=t.prototype=n,n.constructor=e;}function pe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function he(){}var me=1/.7,ve="\\s*([+-]?\\d+)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ye="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",be=/^#([0-9a-f]{3,8})$/,xe=new RegExp(`^rgb\\(${ve},${ve},${ve}\\)$`),qe=new RegExp(`^rgb\\(${ye},${ye},${ye}\\)$`),we=new RegExp(`^rgba\\(${ve},${ve},${ve},${ge}\\)$`),ke=new RegExp(`^rgba\\(${ye},${ye},${ye},${ge}\\)$`),Ce=new RegExp(`^hsl\\(${ge},${ye},${ye}\\)$`),Me=new RegExp(`^hsla\\(${ge},${ye},${ye},${ge}\\)$`),Se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function De(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Ie(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=be.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ee(t):3===n?new Ne(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ae(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ae(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=xe.exec(e))?new Ne(t[1],t[2],t[3],1):(t=qe.exec(e))?new Ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=we.exec(e))?Ae(t[1],t[2],t[3],t[4]):(t=ke.exec(e))?Ae(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ce.exec(e))?Re(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Re(t[1],t[2]/100,t[3]/100,t[4]):Se.hasOwnProperty(e)?Ee(Se[e]):"transparent"===e?new Ne(NaN,NaN,NaN,0):null}function Ee(e){return new Ne(e>>16&255,e>>8&255,255&e,1)}function Ae(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ne(e,t,n,r)}function Te(e){return e instanceof he||(e=Ie(e)),e?new Ne((e=e.rgb()).r,e.g,e.b,e.opacity):new Ne}function Le(e,t,n,r){return 1===arguments.length?Te(e):new Ne(e,t,n,null==r?1:r)}function Ne(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r;}function Pe(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}`}function je(){const e=Fe(this.opacity);return `${1===e?"rgb(":"rgba("}${He(this.r)}, ${He(this.g)}, ${He(this.b)}${1===e?")":`, ${e})`}`}function Fe(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function He(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ze(e){return ((e=He(e))<16?"0":"")+e.toString(16)}function Re(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _e(e,t,n,r)}function Ve(e){if(e instanceof _e)return new _e(e.h,e.s,e.l,e.opacity);if(e instanceof he||(e=Ie(e)),!e)return new _e;if(e instanceof _e)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(a=t===o?(n-r)/l+6*(n<r):n===o?(r-t)/l+2:(t-n)/l+4,l/=s<.5?o+i:2-o-i,a*=60):l=s>0&&s<1?0:a,new _e(a,l,s,e.opacity)}function _e(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r;}function Be(e){return (e=(e||0)%360)<0?e+360:e}function Ke(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}de(he,Ie,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:De,formatHex:De,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Oe,toString:Oe}),de(Ne,Le,pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ne(He(this.r),He(this.g),He(this.b),Fe(this.opacity))},displayable(){return -0.5<=this.r&&this.r<255.5&&-0.5<=this.g&&this.g<255.5&&-0.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatHex8:function(){return `#${ze(this.r)}${ze(this.g)}${ze(this.b)}${ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:je,toString:je})),de(_e,(function(e,t,n,r){return 1===arguments.length?Ve(e):new _e(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return e=null==e?me:Math.pow(me,e),new _e(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new _e(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ne($e(e>=240?e-240:e+120,i,r),$e(e,i,r),$e(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new _e(Be(this.h),Ke(this.s),Ke(this.l),Fe(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Fe(this.opacity);return `${1===e?"hsl(":"hsla("}${Be(this.h)}, ${100*Ke(this.s)}%, ${100*Ke(this.l)}%${1===e?")":`, ${e})`}`}}));const Ye=Math.PI/180,Ue=180/Math.PI,Ge=4/29,We=6/29,Xe=3*We*We;function Ze(e){if(e instanceof Je)return new Je(e.l,e.a,e.b,e.opacity);if(e instanceof ot)return at(e);e instanceof Ne||(e=Te(e));var t,n,r=nt(e.r),i=nt(e.g),o=nt(e.b),a=Qe((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=Qe((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Qe((.0139322*r+.0971045*i+.7141733*o)/.82521)),new Je(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Je(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r;}function Qe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Xe+Ge}function et(e){return e>We?e*e*e:Xe*(e-Ge)}function tt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nt(e){return (e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rt(e){if(e instanceof ot)return new ot(e.h,e.c,e.l,e.opacity);if(e instanceof Je||(e=Ze(e)),0===e.a&&0===e.b)return new ot(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ue;return new ot(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function it(e,t,n,r){return 1===arguments.length?rt(e):new ot(e,t,n,null==r?1:r)}function ot(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r;}function at(e){if(isNaN(e.h))return new Je(e.l,0,0,e.opacity);var t=e.h*Ye;return new Je(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}de(Je,(function(e,t,n,r){return 1===arguments.length?Ze(e):new Je(e,t,n,null==r?1:r)}),pe(he,{brighter(e){return new Je(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Je(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ne(tt(3.1338561*(t=.96422*et(t))-1.6168667*(e=1*et(e))-.4906146*(n=.82521*et(n))),tt(-0.9787684*t+1.9161415*e+.033454*n),tt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),de(ot,it,pe(he,{brighter(e){return new ot(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ot(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return at(this).rgb()}}));var lt=e=>()=>e;function st(e){return 1==(e=+e)?ct:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):lt(isNaN(t)?n:t)}}function ct(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):lt(isNaN(e)?t:e)}(function e(t){var n=st(t);function r(e,t){var r=n((e=Le(e)).r,(t=Le(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ct(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);var Ut="center",Gt="bottom";[{key:"NoDataExist",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;return !!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return "NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:Ut,condition:function(e){var t=e.layoutService;if(!t)return false;if(!t.meta.isContinuous)return false;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:Ut},{key:"DataRangeIncludingZero",alignment:Gt},{key:"LimitedData",alignment:Gt},{key:"NegativeOrZeroValues",alignment:Gt}].reduce((function(e,t){return e[t.key]=t,e}),{});function Vn(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t;}function _n(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Kn)):void 0===t&&(t=Bn);for(var n,r,i,o,a,l=new Un(e),s=[l];n=s.pop();)if((i=t(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)s.push(r=i[o]=new Un(i[o])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(Yn)}function Bn(e){return e.children}function Kn(e){return Array.isArray(e)?e[1]:null}function $n(e){ void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data;}function Yn(e){var t=0;do{e.height=t;}while((e=e.parent)&&e.height<++t)}function Un(e){this.data=e,this.depth=this.height=0,this.parent=null;}Un.prototype=_n.prototype={constructor:Un,count:function(){return this.eachAfter(Vn)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,o=this,a=[o],l=[],s=-1;o=a.pop();)if(l.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=l.pop();)e.call(t,o,++s,this);return this},eachBefore:function(e,t){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(e.call(t,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n;}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e);}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;e=n.pop(),t=r.pop();for(;e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t);})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n});})),t},copy:function(){return _n(this).eachBefore($n)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,o=[i];do{for(e=o.reverse(),o=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);}while(o.length)}};var qr,wr;(qr=function(e){
|
|
30994
30994
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
30995
30995
|
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,i,o,a,l,s,c,u,f,d=e.length,p=e.search(/[0-9\-\+#]/),h=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),v=m.search(/[0-9\-\+#]/),g=d-v,y=e.substring(g,g+1),b=g+("."===y||","===y?1:0),x=v>0?e.substring(b,d):"";if(n=(t="-"===(e=e.substring(p,b)).charAt(0)?-t:+t)<0?t=-t:0,i=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",o=r&&r[1]&&r[0]||",",e=e.split(i),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),u=e[0].split(o),e[0]=u.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=u[1]&&u[u.length-1].length){for(m="",g=(f=t[0]).length%s,d=f.length,b=0;b<d;b++)m+=f.charAt(b),!((b-g+1)%s)&&b<d-s&&(m+=o);t[0]=m;}return t[1]=e[1]&&t[1]?i+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=false),h+(n?"-":"")+r+x};},qr(wr={exports:{}},wr.exports),wr.exports);
|
|
30996
30996
|
|
|
@@ -31102,7 +31102,7 @@
|
|
|
31102
31102
|
let wsUrl;
|
|
31103
31103
|
let protocol;
|
|
31104
31104
|
let isSecure;
|
|
31105
|
-
if (app !== null && app !==
|
|
31105
|
+
if (app !== null && app !== void 0 && (_app$session = app.session) !== null && _app$session !== void 0 && _app$session.config) {
|
|
31106
31106
|
config = app.session.config;
|
|
31107
31107
|
wsUrl = new URL(config.url);
|
|
31108
31108
|
isSecure = wsUrl.protocol === 'wss:';
|
|
@@ -31114,7 +31114,7 @@
|
|
|
31114
31114
|
function getBackgroundPosition(bgComp) {
|
|
31115
31115
|
var _bgComp$bgImage;
|
|
31116
31116
|
let bkgImagePosition = 'center center';
|
|
31117
|
-
if (bgComp !== null && bgComp !==
|
|
31117
|
+
if (bgComp !== null && bgComp !== void 0 && (_bgComp$bgImage = bgComp.bgImage) !== null && _bgComp$bgImage !== void 0 && _bgComp$bgImage.position) {
|
|
31118
31118
|
bkgImagePosition = positionToCss[bgComp.bgImage.position];
|
|
31119
31119
|
}
|
|
31120
31120
|
return bkgImagePosition;
|
|
@@ -31122,7 +31122,7 @@
|
|
|
31122
31122
|
function getBackgroundSize(bgComp) {
|
|
31123
31123
|
var _bgComp$bgImage2;
|
|
31124
31124
|
let bkgImageSize = imageSizingToCssProperty.originalSize;
|
|
31125
|
-
const size = bgComp === null || bgComp ===
|
|
31125
|
+
const size = bgComp === null || bgComp === void 0 || (_bgComp$bgImage2 = bgComp.bgImage) === null || _bgComp$bgImage2 === void 0 ? void 0 : _bgComp$bgImage2.sizing;
|
|
31126
31126
|
if (size) {
|
|
31127
31127
|
bkgImageSize = imageSizingToCssProperty[size];
|
|
31128
31128
|
}
|
|
@@ -31132,14 +31132,14 @@
|
|
|
31132
31132
|
return relativeUrl ? getSenseServerUrl(app) + relativeUrl : undefined;
|
|
31133
31133
|
}
|
|
31134
31134
|
function resolveBgImage(bgComp, app) {
|
|
31135
|
-
const bgImageDef = bgComp === null || bgComp ===
|
|
31135
|
+
const bgImageDef = bgComp === null || bgComp === void 0 ? void 0 : bgComp.bgImage;
|
|
31136
31136
|
if (bgImageDef) {
|
|
31137
31137
|
let url = '';
|
|
31138
31138
|
if (bgImageDef.mode === 'media' || bgComp.useImage === 'media') {
|
|
31139
|
-
const urlObj = bgImageDef === null || bgImageDef ===
|
|
31139
|
+
const urlObj = bgImageDef === null || bgImageDef === void 0 ? void 0 : bgImageDef.mediaUrl;
|
|
31140
31140
|
const {
|
|
31141
31141
|
qUrl
|
|
31142
|
-
} = (urlObj === null || urlObj ===
|
|
31142
|
+
} = (urlObj === null || urlObj === void 0 ? void 0 : urlObj.qStaticContentUrl) || {};
|
|
31143
31143
|
url = qUrl ? decodeURIComponent(qUrl) : undefined;
|
|
31144
31144
|
url = resolveImageUrl(app, url);
|
|
31145
31145
|
}
|
|
@@ -31157,27 +31157,27 @@
|
|
|
31157
31157
|
return undefined;
|
|
31158
31158
|
}
|
|
31159
31159
|
function resolveBgColor(comp, theme, objectType) {
|
|
31160
|
-
const bgColor = comp === null || comp ===
|
|
31160
|
+
const bgColor = comp === null || comp === void 0 ? void 0 : comp.bgColor;
|
|
31161
31161
|
if (bgColor && theme) {
|
|
31162
31162
|
if (bgColor.useExpression || bgColor.useColorExpression) {
|
|
31163
31163
|
return theme.validateColor(bgColor.colorExpression);
|
|
31164
31164
|
}
|
|
31165
31165
|
}
|
|
31166
|
-
return resolveColor(bgColor === null || bgColor ===
|
|
31166
|
+
return resolveColor(bgColor === null || bgColor === void 0 ? void 0 : bgColor.color, '', 'backgroundColor', theme, objectType);
|
|
31167
31167
|
}
|
|
31168
31168
|
function resolveBorder(comp, theme, objectType) {
|
|
31169
|
-
const borderColor = resolveColor(comp === null || comp ===
|
|
31170
|
-
const borderWidth = (comp === null || comp ===
|
|
31169
|
+
const borderColor = resolveColor(comp === null || comp === void 0 ? void 0 : comp.borderColor, '', 'borderColor', theme, objectType);
|
|
31170
|
+
const borderWidth = (comp === null || comp === void 0 ? void 0 : comp.borderWidth) || resolveProperty('', 'borderWidth', theme, objectType);
|
|
31171
31171
|
return borderWidth && borderColor ? "".concat(borderWidth, " solid ").concat(borderColor) : undefined;
|
|
31172
31172
|
}
|
|
31173
31173
|
function resolveBorderRadius(comp, theme, objectType) {
|
|
31174
|
-
return (comp === null || comp ===
|
|
31174
|
+
return (comp === null || comp === void 0 ? void 0 : comp.borderRadius) || resolveProperty('', 'borderRadius', theme, objectType);
|
|
31175
31175
|
}
|
|
31176
31176
|
function resolveBoxShadow(comp, theme, objectType) {
|
|
31177
31177
|
var _comp$shadow, _comp$shadow2;
|
|
31178
31178
|
const themeBoxShadow = resolveProperty('shadow', 'boxShadow', theme, objectType);
|
|
31179
|
-
const boxShadow = (comp === null || comp ===
|
|
31180
|
-
const boxShadowColor = resolveColor(comp === null || comp ===
|
|
31179
|
+
const boxShadow = (comp === null || comp === void 0 || (_comp$shadow = comp.shadow) === null || _comp$shadow === void 0 ? void 0 : _comp$shadow.boxShadow) || themeBoxShadow;
|
|
31180
|
+
const boxShadowColor = resolveColor(comp === null || comp === void 0 || (_comp$shadow2 = comp.shadow) === null || _comp$shadow2 === void 0 ? void 0 : _comp$shadow2.boxShadowColor, 'shadow', 'boxShadowColor', theme, objectType);
|
|
31181
31181
|
return getFullBoxShadow(boxShadow, themeBoxShadow, boxShadowColor);
|
|
31182
31182
|
}
|
|
31183
31183
|
function unfurlFontStyle(fontStyle, target) {
|
|
@@ -31188,7 +31188,7 @@
|
|
|
31188
31188
|
}
|
|
31189
31189
|
function resolveTextStyle(textComp, target, theme, objectType) {
|
|
31190
31190
|
var _textComp$title;
|
|
31191
|
-
const textProps = (textComp === null || textComp ===
|
|
31191
|
+
const textProps = (textComp === null || textComp === void 0 || (_textComp$title = textComp.title) === null || _textComp$title === void 0 ? void 0 : _textComp$title[target]) || {};
|
|
31192
31192
|
const fontStyle = unfurlFontStyle(textProps.fontStyle, target);
|
|
31193
31193
|
return {
|
|
31194
31194
|
fontFamily: textProps.fontFamily || theme.getStyle("object.".concat(objectType), "title.".concat(target), 'fontFamily'),
|
|
@@ -31213,7 +31213,7 @@
|
|
|
31213
31213
|
// Currently supporting components "theme" and "selections".
|
|
31214
31214
|
const overrides = {};
|
|
31215
31215
|
components.forEach(c => {
|
|
31216
|
-
const k = c === null || c ===
|
|
31216
|
+
const k = c === null || c === void 0 ? void 0 : c.key;
|
|
31217
31217
|
if (SUPPORTED_COMPONENTS.includes(k)) {
|
|
31218
31218
|
overrides[k] = c;
|
|
31219
31219
|
}
|
|
@@ -31229,19 +31229,19 @@
|
|
|
31229
31229
|
overrides,
|
|
31230
31230
|
checkboxes
|
|
31231
31231
|
} = _ref;
|
|
31232
|
-
const componentContentTextColor = (_overrides$theme = overrides.theme) === null || _overrides$theme ===
|
|
31232
|
+
const componentContentTextColor = (_overrides$theme = overrides.theme) === null || _overrides$theme === void 0 || (_overrides$theme = _overrides$theme.content) === null || _overrides$theme === void 0 ? void 0 : _overrides$theme.fontColor;
|
|
31233
31233
|
|
|
31234
31234
|
// color priority: layout.component > theme content color > MUI theme
|
|
31235
|
-
const desiredTextColor = getColorPickerColor(componentContentTextColor) || getListboxStyle('content', 'color') || ((_theme$palette = theme.palette) === null || _theme$palette ===
|
|
31236
|
-
const useContrastTextColor = !checkboxes && ((_overrides$theme$cont = (_overrides$theme2 = overrides.theme) === null || _overrides$theme2 ===
|
|
31237
|
-
const componentSelectionColors = ((_overrides$selections = overrides.selections) === null || _overrides$selections ===
|
|
31235
|
+
const desiredTextColor = getColorPickerColor(componentContentTextColor) || getListboxStyle('content', 'color') || ((_theme$palette = theme.palette) === null || _theme$palette === void 0 ? void 0 : _theme$palette.text.primary);
|
|
31236
|
+
const useContrastTextColor = !checkboxes && ((_overrides$theme$cont = (_overrides$theme2 = overrides.theme) === null || _overrides$theme2 === void 0 || (_overrides$theme2 = _overrides$theme2.content) === null || _overrides$theme2 === void 0 ? void 0 : _overrides$theme2.useContrastColor) !== null && _overrides$theme$cont !== void 0 ? _overrides$theme$cont : true);
|
|
31237
|
+
const componentSelectionColors = ((_overrides$selections = overrides.selections) === null || _overrides$selections === void 0 ? void 0 : _overrides$selections.colors) || {};
|
|
31238
31238
|
const getSelectionStateColors = state => {
|
|
31239
31239
|
var _theme$palette2, _theme$palette3;
|
|
31240
31240
|
const paletteState = state === 'selected' ? 'main' : state;
|
|
31241
31241
|
const contrastState = "".concat(state, "Contrast");
|
|
31242
31242
|
// color priority: layout.component > theme dataColors > theme background (only for 'possible') > MUI theme > hardcoded default
|
|
31243
|
-
const color = getColorPickerColor(componentSelectionColors[state]) || getListboxStyle('', "dataColors.".concat(state)) || state === 'possible' && getListboxStyle('', 'backgroundColor') || ((_theme$palette2 = theme.palette) === null || _theme$palette2 ===
|
|
31244
|
-
const contrastColor = useContrastTextColor ? A(color, desiredTextColor) : desiredTextColor || ((_theme$palette3 = theme.palette) === null || _theme$palette3 ===
|
|
31243
|
+
const color = getColorPickerColor(componentSelectionColors[state]) || getListboxStyle('', "dataColors.".concat(state)) || state === 'possible' && getListboxStyle('', 'backgroundColor') || ((_theme$palette2 = theme.palette) === null || _theme$palette2 === void 0 || (_theme$palette2 = _theme$palette2.selected) === null || _theme$palette2 === void 0 ? void 0 : _theme$palette2[paletteState]) || DEFAULT_SELECTION_COLORS[state];
|
|
31244
|
+
const contrastColor = useContrastTextColor ? A(color, desiredTextColor) : desiredTextColor || ((_theme$palette3 = theme.palette) === null || _theme$palette3 === void 0 ? void 0 : _theme$palette3.selected["".concat(contrastState, "Text}")]);
|
|
31245
31245
|
return {
|
|
31246
31246
|
[state]: color,
|
|
31247
31247
|
[contrastState]: contrastColor
|
|
@@ -31255,16 +31255,16 @@
|
|
|
31255
31255
|
themeOverrides
|
|
31256
31256
|
} = _ref2;
|
|
31257
31257
|
let color;
|
|
31258
|
-
const bgColor = themeOverrides === null || themeOverrides ===
|
|
31258
|
+
const bgColor = themeOverrides === null || themeOverrides === void 0 ? void 0 : themeOverrides.background;
|
|
31259
31259
|
if (!bgColor) {
|
|
31260
31260
|
return color;
|
|
31261
31261
|
}
|
|
31262
|
-
if (bgColor !== null && bgColor !==
|
|
31262
|
+
if (bgColor !== null && bgColor !== void 0 && bgColor.useExpression) {
|
|
31263
31263
|
color = resolveBgColor({
|
|
31264
31264
|
bgColor
|
|
31265
31265
|
}, themeApi, 'listBox');
|
|
31266
31266
|
} else {
|
|
31267
|
-
color = themeApi.getColorPickerColor(bgColor === null || bgColor ===
|
|
31267
|
+
color = themeApi.getColorPickerColor(bgColor === null || bgColor === void 0 ? void 0 : bgColor.color, false);
|
|
31268
31268
|
}
|
|
31269
31269
|
return color;
|
|
31270
31270
|
}
|
|
@@ -31289,7 +31289,7 @@
|
|
|
31289
31289
|
} = _ref3;
|
|
31290
31290
|
const overrides = getOverridesAsObject(components);
|
|
31291
31291
|
const getListboxStyle = (path, prop) => themeApi.getStyle('object.listBox', path, prop);
|
|
31292
|
-
const getColorPickerColor = c => (c === null || c ===
|
|
31292
|
+
const getColorPickerColor = c => (c === null || c === void 0 ? void 0 : c.index) > 0 || c !== null && c !== void 0 && c.color ? themeApi.getColorPickerColor(c, false) : undefined;
|
|
31293
31293
|
const selections = getSelectionColors({
|
|
31294
31294
|
getColorPickerColor,
|
|
31295
31295
|
theme,
|
|
@@ -31298,34 +31298,34 @@
|
|
|
31298
31298
|
checkboxes
|
|
31299
31299
|
});
|
|
31300
31300
|
const themeOverrides = overrides.theme || {};
|
|
31301
|
-
const headerColor = getColorPickerColor((_themeOverrides$heade = themeOverrides.header) === null || _themeOverrides$heade ===
|
|
31301
|
+
const headerColor = getColorPickerColor((_themeOverrides$heade = themeOverrides.header) === null || _themeOverrides$heade === void 0 ? void 0 : _themeOverrides$heade.fontColor) || getListboxStyle('title.main', 'color');
|
|
31302
31302
|
const bgComponentColor = getBackgroundColor({
|
|
31303
31303
|
themeApi,
|
|
31304
31304
|
themeOverrides
|
|
31305
31305
|
});
|
|
31306
|
-
const bgImage = (_themeOverrides$backg = themeOverrides.background) !== null && _themeOverrides$backg !==
|
|
31306
|
+
const bgImage = (_themeOverrides$backg = themeOverrides.background) !== null && _themeOverrides$backg !== void 0 && _themeOverrides$backg.image ? resolveBgImage({
|
|
31307
31307
|
bgImage: themeOverrides.background.image
|
|
31308
31308
|
}, app) : undefined;
|
|
31309
31309
|
const bgColor = bgComponentColor || getListboxStyle('', 'backgroundColor') || theme.palette.background.default;
|
|
31310
31310
|
const searchBgColor = getSearchBGColor(bgColor, getListboxStyle);
|
|
31311
31311
|
const searchColor = getSearchColor(getListboxStyle);
|
|
31312
|
-
const headerFontStyle = ((_themeOverrides$heade2 = themeOverrides.header) === null || _themeOverrides$heade2 ===
|
|
31313
|
-
const contentFontStyle = ((_themeOverrides$conte = themeOverrides.content) === null || _themeOverrides$conte ===
|
|
31312
|
+
const headerFontStyle = ((_themeOverrides$heade2 = themeOverrides.header) === null || _themeOverrides$heade2 === void 0 ? void 0 : _themeOverrides$heade2.fontStyle) || {};
|
|
31313
|
+
const contentFontStyle = ((_themeOverrides$conte = themeOverrides.content) === null || _themeOverrides$conte === void 0 ? void 0 : _themeOverrides$conte.fontStyle) || {};
|
|
31314
31314
|
|
|
31315
31315
|
// Ensure we only return falseValue when the component is used, and thus has a false value.
|
|
31316
31316
|
const getWithFallback = (value, trueValue, falseValue) => value === true && trueValue || value === false && falseValue || undefined;
|
|
31317
31317
|
return {
|
|
31318
31318
|
background: {
|
|
31319
31319
|
backgroundColor: bgColor,
|
|
31320
|
-
backgroundImage: bgImage !== null && bgImage !==
|
|
31320
|
+
backgroundImage: bgImage !== null && bgImage !== void 0 && bgImage.url && !(bgImage !== null && bgImage !== void 0 && bgImage.url.startsWith('url(')) ? "url('".concat(bgImage.url, "')") : undefined,
|
|
31321
31321
|
backgroundRepeat: 'no-repeat',
|
|
31322
|
-
backgroundSize: bgImage === null || bgImage ===
|
|
31323
|
-
backgroundPosition: bgImage === null || bgImage ===
|
|
31322
|
+
backgroundSize: bgImage === null || bgImage === void 0 ? void 0 : bgImage.size,
|
|
31323
|
+
backgroundPosition: bgImage === null || bgImage === void 0 ? void 0 : bgImage.pos
|
|
31324
31324
|
},
|
|
31325
31325
|
header: {
|
|
31326
31326
|
color: headerColor,
|
|
31327
|
-
fontSize: ((_themeOverrides$heade3 = themeOverrides.header) === null || _themeOverrides$heade3 ===
|
|
31328
|
-
fontFamily: ((_themeOverrides$heade4 = themeOverrides.header) === null || _themeOverrides$heade4 ===
|
|
31327
|
+
fontSize: ((_themeOverrides$heade3 = themeOverrides.header) === null || _themeOverrides$heade3 === void 0 ? void 0 : _themeOverrides$heade3.fontSize) || getListboxStyle('title.main', 'fontSize'),
|
|
31328
|
+
fontFamily: ((_themeOverrides$heade4 = themeOverrides.header) === null || _themeOverrides$heade4 === void 0 ? void 0 : _themeOverrides$heade4.fontFamily) || getListboxStyle('title.main', 'fontFamily'),
|
|
31329
31329
|
fontWeight: getWithFallback(headerFontStyle.bold, 'bold', 'normal') || getListboxStyle('title.main', 'fontWeight') || 'bold',
|
|
31330
31330
|
textDecoration: headerFontStyle.underline ? 'underline' : 'initial',
|
|
31331
31331
|
fontStyle: getWithFallback(headerFontStyle.italic, 'italic', 'normal') || getListboxStyle('title.main', 'fontStyle') || 'initial'
|
|
@@ -31333,8 +31333,8 @@
|
|
|
31333
31333
|
content: {
|
|
31334
31334
|
backgroundColor: checkboxes ? undefined : selections.possible,
|
|
31335
31335
|
color: selections.possibleContrast || getListboxStyle('content', 'color'),
|
|
31336
|
-
fontSize: ((_themeOverrides$conte2 = themeOverrides.content) === null || _themeOverrides$conte2 ===
|
|
31337
|
-
fontFamily: ((_themeOverrides$conte3 = themeOverrides.content) === null || _themeOverrides$conte3 ===
|
|
31336
|
+
fontSize: ((_themeOverrides$conte2 = themeOverrides.content) === null || _themeOverrides$conte2 === void 0 ? void 0 : _themeOverrides$conte2.fontSize) || getListboxStyle('content', 'fontSize'),
|
|
31337
|
+
fontFamily: ((_themeOverrides$conte3 = themeOverrides.content) === null || _themeOverrides$conte3 === void 0 ? void 0 : _themeOverrides$conte3.fontFamily) || getListboxStyle('content', 'fontFamily'),
|
|
31338
31338
|
fontWeight: getWithFallback(contentFontStyle.bold, 'bold', 'normal') || getListboxStyle('content', 'fontWeight') || 'normal',
|
|
31339
31339
|
textDecoration: contentFontStyle.underline ? 'underline' : 'initial',
|
|
31340
31340
|
fontStyle: getWithFallback(contentFontStyle.italic, 'italic', 'normal') || getListboxStyle('content', 'fontStyle') || 'initial'
|
|
@@ -31378,7 +31378,7 @@
|
|
|
31378
31378
|
}],
|
|
31379
31379
|
direction = 'ltr'
|
|
31380
31380
|
} = _ref;
|
|
31381
|
-
const isMasterDim = Boolean(fieldName === null || fieldName ===
|
|
31381
|
+
const isMasterDim = Boolean(fieldName === null || fieldName === void 0 ? void 0 : fieldName.qLibraryId);
|
|
31382
31382
|
const open = show && Boolean(alignTo.current);
|
|
31383
31383
|
const [listCount, setListCount] = reactExports.useState(0);
|
|
31384
31384
|
const theme = useTheme$2();
|
|
@@ -31549,7 +31549,7 @@
|
|
|
31549
31549
|
innerTabStops: true,
|
|
31550
31550
|
focusSelection: keyboard.focusSelection
|
|
31551
31551
|
},
|
|
31552
|
-
autoFocus: autoFocus !== null && autoFocus !==
|
|
31552
|
+
autoFocus: autoFocus !== null && autoFocus !== void 0 ? autoFocus : true,
|
|
31553
31553
|
direction: direction
|
|
31554
31554
|
})), /*#__PURE__*/React.createElement(ListBox, {
|
|
31555
31555
|
model: model,
|
|
@@ -32060,7 +32060,7 @@
|
|
|
32060
32060
|
var _selection$qDimension;
|
|
32061
32061
|
currentField = {
|
|
32062
32062
|
name,
|
|
32063
|
-
label: ((_selection$qDimension = selection.qDimensionReferences) === null || _selection$qDimension ===
|
|
32063
|
+
label: ((_selection$qDimension = selection.qDimensionReferences) === null || _selection$qDimension === void 0 || (_selection$qDimension = _selection$qDimension.find(element => element.qLabel)) === null || _selection$qDimension === void 0 ? void 0 : _selection$qDimension.qLabel) || selection.qReadableName || name,
|
|
32064
32064
|
states: [],
|
|
32065
32065
|
selections: []
|
|
32066
32066
|
};
|
|
@@ -32099,7 +32099,7 @@
|
|
|
32099
32099
|
const {
|
|
32100
32100
|
model
|
|
32101
32101
|
} = modalObjectStore.get(app.id) || {};
|
|
32102
|
-
return (model === null || model ===
|
|
32102
|
+
return (model === null || model === void 0 ? void 0 : model.genericType) === 'njsListbox';
|
|
32103
32103
|
};
|
|
32104
32104
|
reactExports.useEffect(() => {
|
|
32105
32105
|
if (!containerRect) return;
|
|
@@ -32784,7 +32784,7 @@
|
|
|
32784
32784
|
}
|
|
32785
32785
|
};
|
|
32786
32786
|
const focusOnHoverDisabled = () => {
|
|
32787
|
-
const selectNotAllowed = (constraints === null || constraints ===
|
|
32787
|
+
const selectNotAllowed = (constraints === null || constraints === void 0 ? void 0 : constraints.select) || (constraints === null || constraints === void 0 ? void 0 : constraints.active);
|
|
32788
32788
|
const appInModal = isModal();
|
|
32789
32789
|
return selectNotAllowed || appInModal;
|
|
32790
32790
|
};
|
|
@@ -32870,7 +32870,7 @@
|
|
|
32870
32870
|
let {
|
|
32871
32871
|
appLayout
|
|
32872
32872
|
} = _ref;
|
|
32873
|
-
const isDQ = !!(appLayout !== null && appLayout !==
|
|
32873
|
+
const isDQ = !!(appLayout !== null && appLayout !== void 0 && appLayout.qIsDirectQueryMode);
|
|
32874
32874
|
return isDQ;
|
|
32875
32875
|
}
|
|
32876
32876
|
|
|
@@ -32912,10 +32912,10 @@
|
|
|
32912
32912
|
const containerWidth = containerRect.width;
|
|
32913
32913
|
const preventTruncation = 2;
|
|
32914
32914
|
const padding = paddingLeft + paddingRight;
|
|
32915
|
-
const contentWidth = ((_titleRef$current$cli = titleRef === null || titleRef ===
|
|
32915
|
+
const contentWidth = ((_titleRef$current$cli = titleRef === null || titleRef === void 0 || (_titleRef$current = titleRef.current) === null || _titleRef$current === void 0 ? void 0 : _titleRef$current.clientWidth) !== null && _titleRef$current$cli !== void 0 ? _titleRef$current$cli : 0) + iconsWidth + padding + preventTruncation;
|
|
32916
32916
|
const actionToolbarWidth = 128;
|
|
32917
32917
|
const notSufficientSpace = containerWidth < contentWidth + actionToolbarWidth;
|
|
32918
|
-
const isTruncated = (titleRef === null || titleRef ===
|
|
32918
|
+
const isTruncated = (titleRef === null || titleRef === void 0 || (_titleRef$current2 = titleRef.current) === null || _titleRef$current2 === void 0 ? void 0 : _titleRef$current2.scrollWidth) > (titleRef === null || titleRef === void 0 || (_titleRef$current3 = titleRef.current) === null || _titleRef$current3 === void 0 ? void 0 : _titleRef$current3.offsetWidth);
|
|
32919
32919
|
const isDetached = !!(notSufficientSpace || isTruncated);
|
|
32920
32920
|
return isDetached;
|
|
32921
32921
|
}
|
|
@@ -32958,10 +32958,10 @@
|
|
|
32958
32958
|
show: showToolbar,
|
|
32959
32959
|
api: selections,
|
|
32960
32960
|
onConfirm: () => {
|
|
32961
|
-
keyboard === null || keyboard ===
|
|
32961
|
+
keyboard === null || keyboard === void 0 || keyboard.focus();
|
|
32962
32962
|
},
|
|
32963
32963
|
onCancel: () => {
|
|
32964
|
-
keyboard === null || keyboard ===
|
|
32964
|
+
keyboard === null || keyboard === void 0 || keyboard.focus();
|
|
32965
32965
|
}
|
|
32966
32966
|
}
|
|
32967
32967
|
};
|
|
@@ -33274,19 +33274,19 @@
|
|
|
33274
33274
|
disablePortal
|
|
33275
33275
|
} = _ref2;
|
|
33276
33276
|
const [isToolbarDetached, setIsToolbarDetached] = reactExports.useState(showDetachedToolbarOnly);
|
|
33277
|
-
const [isLocked, setLocked] = reactExports.useState(layout === null || layout ===
|
|
33277
|
+
const [isLocked, setLocked] = reactExports.useState(layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qLocked);
|
|
33278
33278
|
const [settingLockedState, setSettingLockedState] = reactExports.useState(false);
|
|
33279
33279
|
reactExports.useEffect(() => {
|
|
33280
33280
|
var _layout$qListObject2;
|
|
33281
|
-
setLocked(layout === null || layout ===
|
|
33282
|
-
}, [layout === null || layout ===
|
|
33281
|
+
setLocked(layout === null || layout === void 0 || (_layout$qListObject2 = layout.qListObject) === null || _layout$qListObject2 === void 0 || (_layout$qListObject2 = _layout$qListObject2.qDimensionInfo) === null || _layout$qListObject2 === void 0 ? void 0 : _layout$qListObject2.qLocked);
|
|
33282
|
+
}, [layout === null || layout === void 0 || (_layout$qListObject3 = layout.qListObject) === null || _layout$qListObject3 === void 0 || (_layout$qListObject3 = _layout$qListObject3.qDimensionInfo) === null || _layout$qListObject3 === void 0 ? void 0 : _layout$qListObject3.qLocked]);
|
|
33283
33283
|
const titleRef = reactExports.useRef(null);
|
|
33284
33284
|
const iconData = iconUtils.createDimensionIconData({
|
|
33285
|
-
dimInfo: layout === null || layout ===
|
|
33285
|
+
dimInfo: layout === null || layout === void 0 || (_layout$qListObject4 = layout.qListObject) === null || _layout$qListObject4 === void 0 ? void 0 : _layout$qListObject4.qDimensionInfo,
|
|
33286
33286
|
app,
|
|
33287
33287
|
selections,
|
|
33288
33288
|
isPopover,
|
|
33289
|
-
active: !(constraints !== null && constraints !==
|
|
33289
|
+
active: !(constraints !== null && constraints !== void 0 && constraints.active),
|
|
33290
33290
|
keyboard
|
|
33291
33291
|
});
|
|
33292
33292
|
const showUnlock = showLock && isLocked;
|
|
@@ -33321,7 +33321,7 @@
|
|
|
33321
33321
|
enabled: () => !settingLockedState && !selectionState.selectDisabled() && hasSelections(layout),
|
|
33322
33322
|
action: toggleLock
|
|
33323
33323
|
}];
|
|
33324
|
-
const searchIconComp = constraints !== null && constraints !==
|
|
33324
|
+
const searchIconComp = constraints !== null && constraints !== void 0 && constraints.active ? /*#__PURE__*/React.createElement(SearchIcon, {
|
|
33325
33325
|
title: translator.get('Listbox.Search'),
|
|
33326
33326
|
size: "large",
|
|
33327
33327
|
style: _objectSpread2(_objectSpread2({}, iconStyle), {}, {
|
|
@@ -33470,7 +33470,7 @@
|
|
|
33470
33470
|
app,
|
|
33471
33471
|
appSelections
|
|
33472
33472
|
} = _ref2;
|
|
33473
|
-
return (_app$isInModalSelecti = (_app$isInModalSelecti2 = app.isInModalSelection) === null || _app$isInModalSelecti2 ===
|
|
33473
|
+
return (_app$isInModalSelecti = (_app$isInModalSelecti2 = app.isInModalSelection) === null || _app$isInModalSelecti2 === void 0 ? void 0 : _app$isInModalSelecti2.call(app)) !== null && _app$isInModalSelecti !== void 0 ? _app$isInModalSelecti : appSelections.isInModal();
|
|
33474
33474
|
};
|
|
33475
33475
|
function ListBoxInline(_ref3) {
|
|
33476
33476
|
var _layout$qListObject, _layout$title, _layoutOptions$dense, _containerRef$current;
|
|
@@ -33520,7 +33520,7 @@
|
|
|
33520
33520
|
checkboxes
|
|
33521
33521
|
});
|
|
33522
33522
|
const isDirectQuery = isDirectQueryEnabled({
|
|
33523
|
-
appLayout: app === null || app ===
|
|
33523
|
+
appLayout: app === null || app === void 0 ? void 0 : app.layout
|
|
33524
33524
|
});
|
|
33525
33525
|
const containerRef = reactExports.useRef();
|
|
33526
33526
|
const searchInputRef = reactExports.useRef();
|
|
@@ -33550,7 +33550,7 @@
|
|
|
33550
33550
|
app,
|
|
33551
33551
|
appSelections
|
|
33552
33552
|
}), [app, appSelections]);
|
|
33553
|
-
const isInvalid = layout === null || layout ===
|
|
33553
|
+
const isInvalid = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qError;
|
|
33554
33554
|
const errorText = isInvalid && constraints.active ? 'Visualization.Invalid.Dimension' : 'Visualization.Incomplete';
|
|
33555
33555
|
const {
|
|
33556
33556
|
handleKeyDown,
|
|
@@ -33612,10 +33612,10 @@
|
|
|
33612
33612
|
searchEnabled,
|
|
33613
33613
|
autoConfirm = false,
|
|
33614
33614
|
layoutOptions = {}
|
|
33615
|
-
} = layout !== null && layout !==
|
|
33616
|
-
const isLocked = layout === null || layout ===
|
|
33615
|
+
} = layout !== null && layout !== void 0 ? layout : {};
|
|
33616
|
+
const isLocked = layout === null || layout === void 0 || (_layout$qListObject = layout.qListObject) === null || _layout$qListObject === void 0 || (_layout$qListObject = _layout$qListObject.qDimensionInfo) === null || _layout$qListObject === void 0 ? void 0 : _layout$qListObject.qLocked;
|
|
33617
33617
|
const showSearchIcon = searchEnabled !== false && search === 'toggle' && !isLocked;
|
|
33618
|
-
const canShowTitle = (layout === null || layout ===
|
|
33618
|
+
const canShowTitle = (layout === null || layout === void 0 || (_layout$title = layout.title) === null || _layout$title === void 0 ? void 0 : _layout$title.length) && (layout === null || layout === void 0 ? void 0 : layout.showTitle) !== false;
|
|
33619
33619
|
const showDetachedToolbarOnly = toolbar && !canShowTitle && !isPopover;
|
|
33620
33620
|
const showAttachedToolbar = toolbar && canShowTitle || isPopover;
|
|
33621
33621
|
const isRtl = direction === 'rtl';
|
|
@@ -33624,7 +33624,7 @@
|
|
|
33624
33624
|
}
|
|
33625
33625
|
const showSearchToggle = search === 'toggle' && showSearch;
|
|
33626
33626
|
const searchVisible = search === true || showSearchToggle && searchEnabled !== false;
|
|
33627
|
-
const dense = (_layoutOptions$dense = layoutOptions.dense) !== null && _layoutOptions$dense !==
|
|
33627
|
+
const dense = (_layoutOptions$dense = layoutOptions.dense) !== null && _layoutOptions$dense !== void 0 ? _layoutOptions$dense : false;
|
|
33628
33628
|
const handleShowSearch = () => {
|
|
33629
33629
|
const newValue = !showSearch;
|
|
33630
33630
|
setShowSearch(newValue);
|
|
@@ -33639,15 +33639,15 @@
|
|
|
33639
33639
|
const shouldAutoFocus = searchVisible && (search === 'toggle' || focusSearch);
|
|
33640
33640
|
|
|
33641
33641
|
// Add a container padding for grid mode to harmonize with the grid item margins (should sum to 8px).
|
|
33642
|
-
const isGridMode = (layoutOptions === null || layoutOptions ===
|
|
33642
|
+
const isGridMode = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dataLayout) === 'grid';
|
|
33643
33643
|
const containerPadding = getContainerPadding({
|
|
33644
33644
|
isGridMode,
|
|
33645
33645
|
dense,
|
|
33646
|
-
height: (_containerRef$current = containerRef.current) === null || _containerRef$current ===
|
|
33646
|
+
height: (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.clientHeight,
|
|
33647
33647
|
layoutOrder: layoutOptions.layoutOrder
|
|
33648
33648
|
});
|
|
33649
33649
|
if (isInvalid) {
|
|
33650
|
-
renderedCallback === null || renderedCallback ===
|
|
33650
|
+
renderedCallback === null || renderedCallback === void 0 || renderedCallback();
|
|
33651
33651
|
}
|
|
33652
33652
|
const listBoxMinHeight = showAttachedToolbar ? DENSE_ROW_HEIGHT + SCROLL_BAR_WIDTH : 0;
|
|
33653
33653
|
const listBoxHeader = /*#__PURE__*/React.createElement(ListBoxHeader, {
|
|
@@ -34017,7 +34017,7 @@
|
|
|
34017
34017
|
const [isFetching, setIsFetching] = reactExports.useState(true);
|
|
34018
34018
|
const [model, setModel] = reactExports.useState();
|
|
34019
34019
|
const [fallbackTitle, setFallbackTitle] = reactExports.useState();
|
|
34020
|
-
const title = (_options$title = options.title) !== null && _options$title !==
|
|
34020
|
+
const title = (_options$title = options.title) !== null && _options$title !== void 0 ? _options$title : fallbackTitle;
|
|
34021
34021
|
let {
|
|
34022
34022
|
histogram = false,
|
|
34023
34023
|
frequencyMode = 'N'
|
|
@@ -34107,7 +34107,7 @@
|
|
|
34107
34107
|
fieldName = fieldIdentifier;
|
|
34108
34108
|
}
|
|
34109
34109
|
if (frequencyMode !== 'P' && histogram) {
|
|
34110
|
-
if (fieldDef !== null && fieldDef !==
|
|
34110
|
+
if (fieldDef !== null && fieldDef !== void 0 && fieldDef.multiFieldDim) {
|
|
34111
34111
|
listdef$1.frequencyMax = 'fetch';
|
|
34112
34112
|
// maybe for all lib dimension to handle if it properties change
|
|
34113
34113
|
} else {
|
|
@@ -34582,7 +34582,7 @@
|
|
|
34582
34582
|
}
|
|
34583
34583
|
} else {
|
|
34584
34584
|
var _dimension$qDef$qFiel, _dimension$qDef$qFiel2;
|
|
34585
|
-
listboxProps.title = dimension.qDef.title || ((_dimension$qDef$qFiel = dimension.qDef.qFieldLabels) === null || _dimension$qDef$qFiel ===
|
|
34585
|
+
listboxProps.title = dimension.qDef.title || ((_dimension$qDef$qFiel = dimension.qDef.qFieldLabels) === null || _dimension$qDef$qFiel === void 0 ? void 0 : _dimension$qDef$qFiel[0]) || ((_dimension$qDef$qFiel2 = dimension.qDef.qFieldDefs) === null || _dimension$qDef$qFiel2 === void 0 ? void 0 : _dimension$qDef$qFiel2[0]);
|
|
34586
34586
|
}
|
|
34587
34587
|
}
|
|
34588
34588
|
// def.dimensions.added(dimension, properties, listboxProps);
|
|
@@ -36725,7 +36725,7 @@
|
|
|
36725
36725
|
setModel,
|
|
36726
36726
|
getImperativeHandle() {
|
|
36727
36727
|
var _state$sn;
|
|
36728
|
-
if ((_state$sn = state.sn) !== null && _state$sn !==
|
|
36728
|
+
if ((_state$sn = state.sn) !== null && _state$sn !== void 0 && _state$sn.component && typeof state.sn.component.getImperativeHandle === 'function') {
|
|
36729
36729
|
return state.sn.component.getImperativeHandle();
|
|
36730
36730
|
}
|
|
36731
36731
|
return {};
|
|
@@ -36963,7 +36963,7 @@
|
|
|
36963
36963
|
|
|
36964
36964
|
const canSetProperties = layout => {
|
|
36965
36965
|
var _layout$qMeta;
|
|
36966
|
-
return !!(layout && !layout.qHasSoftPatches && !layout.qExtendsId && (((_layout$qMeta = layout.qMeta) === null || _layout$qMeta ===
|
|
36966
|
+
return !!(layout && !layout.qHasSoftPatches && !layout.qExtendsId && (((_layout$qMeta = layout.qMeta) === null || _layout$qMeta === void 0 ? void 0 : _layout$qMeta.privileges) || []).indexOf('update') > -1);
|
|
36967
36967
|
};
|
|
36968
36968
|
|
|
36969
36969
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -39310,7 +39310,7 @@
|
|
|
39310
39310
|
onRenderResolve = resolve;
|
|
39311
39311
|
});
|
|
39312
39312
|
const createOnInitialRender = override => () => {
|
|
39313
|
-
override === null || override ===
|
|
39313
|
+
override === null || override === void 0 || override(); // from options.onInitialRender
|
|
39314
39314
|
onRenderResolve(); // internal promise in viz to wait for render
|
|
39315
39315
|
onRender(); // from RenderConfig
|
|
39316
39316
|
};
|
|
@@ -39947,7 +39947,7 @@
|
|
|
39947
39947
|
const [bgColor, setBgColor] = reactExports.useState(undefined);
|
|
39948
39948
|
const [bgImage, setBgImage] = reactExports.useState(undefined);
|
|
39949
39949
|
const [deepHash, setDeepHash] = reactExports.useState('');
|
|
39950
|
-
navigation === null || navigation ===
|
|
39950
|
+
navigation === null || navigation === void 0 || (_navigation$setCurren = navigation.setCurrentSheetId) === null || _navigation$setCurren === void 0 || _navigation$setCurren.call(navigation, model.id);
|
|
39951
39951
|
/// For each object
|
|
39952
39952
|
reactExports.useEffect(() => {
|
|
39953
39953
|
if (layout) {
|
|
@@ -40013,7 +40013,7 @@
|
|
|
40013
40013
|
}, [model]);
|
|
40014
40014
|
const cellRenderers = reactExports.useMemo(() => cells ? cells.map(c => getCellRenderer(c, halo, initialSnOptions, initialSnPlugins, initialError, c.mounted, navigation)) : [], [cells]);
|
|
40015
40015
|
reactExports.useEffect(() => {
|
|
40016
|
-
const bgComp = layout !== null && layout !==
|
|
40016
|
+
const bgComp = layout !== null && layout !== void 0 && layout.components ? layout.components.find(comp => comp.key === 'general') : null;
|
|
40017
40017
|
setBgColor(resolveBgColor(bgComp, halo.public.theme));
|
|
40018
40018
|
setBgImage(resolveBgImage(bgComp, halo.app));
|
|
40019
40019
|
}, [layout, halo.public.theme, halo.app, themeName]);
|
|
@@ -40251,9 +40251,9 @@
|
|
|
40251
40251
|
const {
|
|
40252
40252
|
galaxy
|
|
40253
40253
|
} = halo.public;
|
|
40254
|
-
if ((_galaxy$anything = galaxy.anything) !== null && _galaxy$anything !==
|
|
40254
|
+
if ((_galaxy$anything = galaxy.anything) !== null && _galaxy$anything !== void 0 && (_galaxy$anything = _galaxy$anything.sense) !== null && _galaxy$anything !== void 0 && _galaxy$anything.navigation) {
|
|
40255
40255
|
var _galaxy$anything2;
|
|
40256
|
-
return (_galaxy$anything2 = galaxy.anything) === null || _galaxy$anything2 ===
|
|
40256
|
+
return (_galaxy$anything2 = galaxy.anything) === null || _galaxy$anything2 === void 0 || (_galaxy$anything2 = _galaxy$anything2.sense) === null || _galaxy$anything2 === void 0 ? void 0 : _galaxy$anything2.navigation;
|
|
40257
40257
|
}
|
|
40258
40258
|
const State = {
|
|
40259
40259
|
model
|
|
@@ -40319,7 +40319,7 @@
|
|
|
40319
40319
|
return;
|
|
40320
40320
|
}
|
|
40321
40321
|
modelStore.set(key, newModel);
|
|
40322
|
-
(_State$sheetRef = State.sheetRef) === null || _State$sheetRef ===
|
|
40322
|
+
(_State$sheetRef = State.sheetRef) === null || _State$sheetRef === void 0 || (_State$sheetRef = _State$sheetRef.current) === null || _State$sheetRef === void 0 || (_State$sheetRef$setMo = _State$sheetRef.setModel) === null || _State$sheetRef$setMo === void 0 || _State$sheetRef$setMo.call(_State$sheetRef, newModel);
|
|
40323
40323
|
State.model = newModel;
|
|
40324
40324
|
navigationAPI.emit('sheetChanged');
|
|
40325
40325
|
},
|
|
@@ -42504,7 +42504,7 @@
|
|
|
42504
42504
|
var _fieldSels$_ref;
|
|
42505
42505
|
const onSelectionActivated = () => fieldSels.emit('selectionActivated');
|
|
42506
42506
|
const onSelectionDeactivated = () => fieldSels.emit('selectionDeactivated');
|
|
42507
|
-
if ((_fieldSels$_ref = fieldSels._ref) !== null && _fieldSels$_ref !==
|
|
42507
|
+
if ((_fieldSels$_ref = fieldSels._ref) !== null && _fieldSels$_ref !== void 0 && _fieldSels$_ref.current) {
|
|
42508
42508
|
const options = getOptions$1(_objectSpread2({
|
|
42509
42509
|
onSelectionActivated,
|
|
42510
42510
|
onSelectionDeactivated
|