@hpcc-js/composite 2.8.2 → 3.1.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.
Files changed (41) hide show
  1. package/dist/index.js +1135 -1035
  2. package/dist/index.js.map +7 -1
  3. package/package.json +38 -41
  4. package/src/ChartPanel.ts +2 -4
  5. package/src/MegaChart.ts +1 -1
  6. package/src/MultiChart.ts +3 -3
  7. package/src/MultiChartSurface.ts +1 -1
  8. package/src/Persist.ts +1 -1
  9. package/src/__package__.ts +2 -2
  10. package/src/index.ts +7 -7
  11. package/types/ChartPanel.d.ts +2 -4
  12. package/types/Dermatology.d.ts +0 -1
  13. package/types/MegaChart.d.ts +4 -5
  14. package/types/MultiChart.d.ts +0 -1
  15. package/types/Persist.d.ts +0 -1
  16. package/types/Utility.d.ts +0 -1
  17. package/types/__package__.d.ts +2 -3
  18. package/types/index.d.ts +7 -8
  19. package/dist/index.es6.js +0 -1051
  20. package/dist/index.es6.js.map +0 -1
  21. package/dist/index.min.js +0 -2
  22. package/dist/index.min.js.map +0 -1
  23. package/types/ChartPanel.d.ts.map +0 -1
  24. package/types/Dermatology.d.ts.map +0 -1
  25. package/types/MegaChart.d.ts.map +0 -1
  26. package/types/MultiChart.d.ts.map +0 -1
  27. package/types/MultiChartSurface.d.ts +0 -5
  28. package/types/MultiChartSurface.d.ts.map +0 -1
  29. package/types/Persist.d.ts.map +0 -1
  30. package/types/Utility.d.ts.map +0 -1
  31. package/types/__package__.d.ts.map +0 -1
  32. package/types/index.d.ts.map +0 -1
  33. package/types-3.4/ChartPanel.d.ts +0 -19
  34. package/types-3.4/Dermatology.d.ts +0 -26
  35. package/types-3.4/MegaChart.d.ts +0 -155
  36. package/types-3.4/MultiChart.d.ts +0 -62
  37. package/types-3.4/MultiChartSurface.d.ts +0 -5
  38. package/types-3.4/Persist.d.ts +0 -7
  39. package/types-3.4/Utility.d.ts +0 -3
  40. package/types-3.4/__package__.d.ts +0 -4
  41. package/types-3.4/index.d.ts +0 -10
package/dist/index.js CHANGED
@@ -1,1061 +1,1161 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@hpcc-js/common'), require('@hpcc-js/layout'), require('@hpcc-js/api'), require('@hpcc-js/form'), require('@hpcc-js/other')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@hpcc-js/common', '@hpcc-js/layout', '@hpcc-js/api', '@hpcc-js/form', '@hpcc-js/other'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@hpcc-js/composite"] = {}, global["@hpcc-js/common"], global["@hpcc-js/layout"], global["@hpcc-js/api"], global["@hpcc-js/form"], global["@hpcc-js/other"]));
5
- })(this, (function (exports, common, layout, api, form, other) { 'use strict';
6
-
7
- var PKG_NAME = "@hpcc-js/composite";
8
- var PKG_VERSION = "2.8.2";
9
- var BUILD_VERSION = "2.106.4";
10
-
11
- /******************************************************************************
12
- Copyright (c) Microsoft Corporation.
13
-
14
- Permission to use, copy, modify, and/or distribute this software for any
15
- purpose with or without fee is hereby granted.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
- PERFORMANCE OF THIS SOFTWARE.
24
- ***************************************************************************** */
25
- /* global Reflect, Promise, SuppressedError, Symbol */
26
-
27
- var extendStatics = function(d, b) {
28
- extendStatics = Object.setPrototypeOf ||
29
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
30
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
31
- return extendStatics(d, b);
32
- };
33
-
34
- function __extends(d, b) {
35
- if (typeof b !== "function" && b !== null)
36
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
37
- extendStatics(d, b);
38
- function __() { this.constructor = d; }
39
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1
+ var oh=Object.defineProperty;var c=(i,o)=>oh(i,"name",{value:o,configurable:!0}),xd=(i=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(i,{get:(o,l)=>(typeof require<"u"?require:o)[l]}):i)(function(i){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+i+'" is not supported')});var lh=(i,o)=>{for(var l in o)oh(i,l,{get:o[l],enumerable:!0})};var Ly="@hpcc-js/composite",Ay="3.1.0",Oy="3.2.0";import{HTMLWidget as ky}from"@hpcc-js/common";import{HTMLWidget as am}from"@hpcc-js/common";import{FAChar as sm,HTMLWidget as um}from"@hpcc-js/common";import{d3Event as Od,HTMLWidget as np,Platform as dm,select as Tr,selectAll as cm,Utility as hm}from"@hpcc-js/common";import{drag as pm}from"@hpcc-js/common";import{select as fm,selectAll as gm}from"@hpcc-js/common";import{HTMLWidget as mm}from"@hpcc-js/common";import{select as es}from"@hpcc-js/common";import{HTMLWidget as ym,Platform as op}from"@hpcc-js/common";import{HTMLWidget as bm}from"@hpcc-js/common";import{select as vm}from"@hpcc-js/common";import"@hpcc-js/common";import{Button as lp,IconBar as wm,ProgressBar as _m,Spacer as ap,SVGWidget as sp,Text as xm,TitleBar as Cm,ToggleButton as Wd,Utility as up}from"@hpcc-js/common";import{HTMLWidget as Ff}from"@hpcc-js/common";import{format as Yg,timeFormat as Xg,timeParse as Kg}from"@hpcc-js/common";var wf=Object.create,zd=Object.defineProperty,_f=Object.getOwnPropertyDescriptor,xf=Object.getOwnPropertyNames,Cf=Object.getPrototypeOf,Sf=Object.prototype.hasOwnProperty,u=c((i,o)=>zd(i,"name",{value:o,configurable:!0}),"i"),ni=c((i,o)=>()=>(o||i((o={exports:{}}).exports,o),o.exports),"ht"),kf=c((i,o,l,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let h of xf(o))!Sf.call(i,h)&&h!==l&&zd(i,h,{get:c(()=>o[h],"get"),enumerable:!(s=_f(o,h))||s.enumerable});return i},"Ch"),on=c((i,o,l)=>(l=i!=null?wf(Cf(i)):{},kf(o||!i||!i.__esModule?zd(l,"default",{value:i,enumerable:!0}):l,i)),"qt"),Tf=ni(i=>{"use strict";var o=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),m=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),z=Symbol.iterator;function R(x){return x===null||typeof x!="object"?null:(x=z&&x[z]||x["@@iterator"],typeof x=="function"?x:null)}c(R,"Nh"),u(R,"A");var M={isMounted:u(function(){return!1},"isMounted"),enqueueForceUpdate:u(function(){},"enqueueForceUpdate"),enqueueReplaceState:u(function(){},"enqueueReplaceState"),enqueueSetState:u(function(){},"enqueueSetState")},N=Object.assign,F={};function D(x,H,me){this.props=x,this.context=H,this.refs=F,this.updater=me||M}c(D,"Pn"),u(D,"E"),D.prototype.isReactComponent={},D.prototype.setState=function(x,H){if(typeof x!="object"&&typeof x!="function"&&x!=null)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,x,H,"setState")},D.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Y(){}c(Y,"Ea"),u(Y,"F"),Y.prototype=D.prototype;function j(x,H,me){this.props=x,this.context=H,this.refs=F,this.updater=me||M}c(j,"Ci"),u(j,"G");var G=j.prototype=new Y;G.constructor=j,N(G,D.prototype),G.isPureReactComponent=!0;var K=Array.isArray,X=Object.prototype.hasOwnProperty,E={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function Q(x,H,me){var ke,we={},q=null,be=null;if(H!=null)for(ke in H.ref!==void 0&&(be=H.ref),H.key!==void 0&&(q=""+H.key),H)X.call(H,ke)&&!k.hasOwnProperty(ke)&&(we[ke]=H[ke]);var Ce=arguments.length-2;if(Ce===1)we.children=me;else if(1<Ce){for(var ze=Array(Ce),Ze=0;Ze<Ce;Ze++)ze[Ze]=arguments[Ze+2];we.children=ze}if(x&&x.defaultProps)for(ke in Ce=x.defaultProps,Ce)we[ke]===void 0&&(we[ke]=Ce[ke]);return{$$typeof:o,type:x,key:q,ref:be,props:we,_owner:E.current}}c(Q,"za"),u(Q,"M");function ae(x,H){return{$$typeof:o,type:x.type,key:H,ref:x.ref,props:x.props,_owner:x._owner}}c(ae,"Dh"),u(ae,"N");function ye(x){return typeof x=="object"&&x!==null&&x.$$typeof===o}c(ye,"xi"),u(ye,"O");function ge(x){var H={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(me){return H[me]})}c(ge,"Lh"),u(ge,"escape");var ce=/\/+/g;function Fe(x,H){return typeof x=="object"&&x!==null&&x.key!=null?ge(""+x.key):H.toString(36)}c(Fe,"wi"),u(Fe,"Q");function Se(x,H,me,ke,we){var q=typeof x;(q==="undefined"||q==="boolean")&&(x=null);var be=!1;if(x===null)be=!0;else switch(q){case"string":case"number":be=!0;break;case"object":switch(x.$$typeof){case o:case l:be=!0}}if(be)return be=x,we=we(be),x=ke===""?"."+Fe(be,0):ke,K(we)?(me="",x!=null&&(me=x.replace(ce,"$&/")+"/"),Se(we,H,me,"",function(Ze){return Ze})):we!=null&&(ye(we)&&(we=ae(we,me+(!we.key||be&&be.key===we.key?"":(""+we.key).replace(ce,"$&/")+"/")+x)),H.push(we)),1;if(be=0,ke=ke===""?".":ke+":",K(x))for(var Ce=0;Ce<x.length;Ce++){q=x[Ce];var ze=ke+Fe(q,Ce);be+=Se(q,H,me,ze,we)}else if(ze=R(x),typeof ze=="function")for(x=ze.call(x),Ce=0;!(q=x.next()).done;)q=q.value,ze=ke+Fe(q,Ce++),be+=Se(q,H,me,ze,we);else if(q==="object")throw H=String(x),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.");return be}c(Se,"Po"),u(Se,"R");function Pe(x,H,me){if(x==null)return x;var ke=[],we=0;return Se(x,ke,"","",function(q){return H.call(me,q,we++)}),ke}c(Pe,"zo"),u(Pe,"S");function Le(x){if(x._status===-1){var H=x._result;H=H(),H.then(function(me){(x._status===0||x._status===-1)&&(x._status=1,x._result=me)},function(me){(x._status===0||x._status===-1)&&(x._status=2,x._result=me)}),x._status===-1&&(x._status=0,x._result=H)}if(x._status===1)return x._result.default;throw x._result}c(Le,"Fh"),u(Le,"T");var U={current:null},de={transition:null},ne={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:de,ReactCurrentOwner:E};function ee(){throw Error("act(...) is not supported in production builds of React.")}c(ee,"Pa"),u(ee,"X"),i.Children={map:Pe,forEach:u(function(x,H,me){Pe(x,function(){H.apply(this,arguments)},me)},"forEach"),count:u(function(x){var H=0;return Pe(x,function(){H++}),H},"count"),toArray:u(function(x){return Pe(x,function(H){return H})||[]},"toArray"),only:u(function(x){if(!ye(x))throw Error("React.Children.only expected to receive a single React element child.");return x},"only")},i.Component=D,i.Fragment=s,i.Profiler=p,i.PureComponent=j,i.StrictMode=h,i.Suspense=_,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,i.act=ee,i.cloneElement=function(x,H,me){if(x==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var ke=N({},x.props),we=x.key,q=x.ref,be=x._owner;if(H!=null){if(H.ref!==void 0&&(q=H.ref,be=E.current),H.key!==void 0&&(we=""+H.key),x.type&&x.type.defaultProps)var Ce=x.type.defaultProps;for(ze in H)X.call(H,ze)&&!k.hasOwnProperty(ze)&&(ke[ze]=H[ze]===void 0&&Ce!==void 0?Ce[ze]:H[ze])}var ze=arguments.length-2;if(ze===1)ke.children=me;else if(1<ze){Ce=Array(ze);for(var Ze=0;Ze<ze;Ze++)Ce[Ze]=arguments[Ze+2];ke.children=Ce}return{$$typeof:o,type:x.type,key:we,ref:q,props:ke,_owner:be}},i.createContext=function(x){return x={$$typeof:m,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},x.Provider={$$typeof:f,_context:x},x.Consumer=x},i.createElement=Q,i.createFactory=function(x){var H=Q.bind(null,x);return H.type=x,H},i.createRef=function(){return{current:null}},i.forwardRef=function(x){return{$$typeof:b,render:x}},i.isValidElement=ye,i.lazy=function(x){return{$$typeof:P,_payload:{_status:-1,_result:x},_init:Le}},i.memo=function(x,H){return{$$typeof:I,type:x,compare:H===void 0?null:H}},i.startTransition=function(x){var H=de.transition;de.transition={};try{x()}finally{de.transition=H}},i.unstable_act=ee,i.useCallback=function(x,H){return U.current.useCallback(x,H)},i.useContext=function(x){return U.current.useContext(x)},i.useDebugValue=function(){},i.useDeferredValue=function(x){return U.current.useDeferredValue(x)},i.useEffect=function(x,H){return U.current.useEffect(x,H)},i.useId=function(){return U.current.useId()},i.useImperativeHandle=function(x,H,me){return U.current.useImperativeHandle(x,H,me)},i.useInsertionEffect=function(x,H){return U.current.useInsertionEffect(x,H)},i.useLayoutEffect=function(x,H){return U.current.useLayoutEffect(x,H)},i.useMemo=function(x,H){return U.current.useMemo(x,H)},i.useReducer=function(x,H,me){return U.current.useReducer(x,H,me)},i.useRef=function(x){return U.current.useRef(x)},i.useState=function(x){return U.current.useState(x)},i.useSyncExternalStore=function(x,H,me){return U.current.useSyncExternalStore(x,H,me)},i.useTransition=function(){return U.current.useTransition()},i.version="18.3.1"}),to=ni((i,o)=>{"use strict";o.exports=Tf()}),Pf=ni(i=>{"use strict";function o(U,de){var ne=U.length;U.push(de);e:for(;0<ne;){var ee=ne-1>>>1,x=U[ee];if(0<h(x,de))U[ee]=de,U[ne]=x,ne=ee;else break e}}c(o,"zi"),u(o,"f");function l(U){return U.length===0?null:U[0]}c(l,"Je"),u(l,"h");function s(U){if(U.length===0)return null;var de=U[0],ne=U.pop();if(ne!==de){U[0]=ne;e:for(var ee=0,x=U.length,H=x>>>1;ee<H;){var me=2*(ee+1)-1,ke=U[me],we=me+1,q=U[we];if(0>h(ke,ne))we<x&&0>h(q,ke)?(U[ee]=q,U[we]=ne,ee=we):(U[ee]=ke,U[me]=ne,ee=me);else if(we<x&&0>h(q,ne))U[ee]=q,U[we]=ne,ee=we;else break e}}return de}c(s,"Do"),u(s,"k");function h(U,de){var ne=U.sortIndex-de.sortIndex;return ne!==0?ne:U.id-de.id}c(h,"Io"),u(h,"g"),typeof performance=="object"&&typeof performance.now=="function"?(p=performance,i.unstable_now=function(){return p.now()}):(f=Date,m=f.now(),i.unstable_now=function(){return f.now()-m});var p,f,m,b=[],_=[],I=1,P=null,z=3,R=!1,M=!1,N=!1,F=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(U){for(var de=l(_);de!==null;){if(de.callback===null)s(_);else if(de.startTime<=U)s(_),de.sortIndex=de.expirationTime,o(b,de);else break;de=l(_)}}c(j,"Pi"),u(j,"G");function G(U){if(N=!1,j(U),!M)if(l(b)!==null)M=!0,Pe(K);else{var de=l(_);de!==null&&Le(G,de.startTime-U)}}c(G,"Ti"),u(G,"H");function K(U,de){M=!1,N&&(N=!1,D(k),k=-1),R=!0;var ne=z;try{for(j(de),P=l(b);P!==null&&(!(P.expirationTime>de)||U&&!ye());){var ee=P.callback;if(typeof ee=="function"){P.callback=null,z=P.priorityLevel;var x=ee(P.expirationTime<=de);de=i.unstable_now(),typeof x=="function"?P.callback=x:P===l(b)&&s(b),j(de)}else s(b);P=l(b)}if(P!==null)var H=!0;else{var me=l(_);me!==null&&Le(G,me.startTime-de),H=!1}return H}finally{P=null,z=ne,R=!1}}c(K,"Ii"),u(K,"J");var X=!1,E=null,k=-1,Q=5,ae=-1;function ye(){return!(i.unstable_now()-ae<Q)}c(ye,"Aa"),u(ye,"M");function ge(){if(E!==null){var U=i.unstable_now();ae=U;var de=!0;try{de=E(!0,U)}finally{de?ce():(X=!1,E=null)}}else X=!1}c(ge,"Ri"),u(ge,"R");var ce;typeof Y=="function"?ce=u(function(){Y(ge)},"S"):typeof MessageChannel<"u"?(Fe=new MessageChannel,Se=Fe.port2,Fe.port1.onmessage=ge,ce=u(function(){Se.postMessage(null)},"S")):ce=u(function(){F(ge,0)},"S");var Fe,Se;function Pe(U){E=U,X||(X=!0,ce())}c(Pe,"Ni"),u(Pe,"I");function Le(U,de){k=F(function(){U(i.unstable_now())},de)}c(Le,"Di"),u(Le,"K"),i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(U){U.callback=null},i.unstable_continueExecution=function(){M||R||(M=!0,Pe(K))},i.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<U?Math.floor(1e3/U):5},i.unstable_getCurrentPriorityLevel=function(){return z},i.unstable_getFirstCallbackNode=function(){return l(b)},i.unstable_next=function(U){switch(z){case 1:case 2:case 3:var de=3;break;default:de=z}var ne=z;z=de;try{return U()}finally{z=ne}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(U,de){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ne=z;z=U;try{return de()}finally{z=ne}},i.unstable_scheduleCallback=function(U,de,ne){var ee=i.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?ee+ne:ee):ne=ee,U){case 1:var x=-1;break;case 2:x=250;break;case 5:x=1073741823;break;case 4:x=1e4;break;default:x=5e3}return x=ne+x,U={id:I++,callback:de,priorityLevel:U,startTime:ne,expirationTime:x,sortIndex:-1},ne>ee?(U.sortIndex=ne,o(_,U),l(b)===null&&U===l(_)&&(N?(D(k),k=-1):N=!0,Le(G,ne-ee))):(U.sortIndex=x,o(b,U),M||R||(M=!0,Pe(K))),U},i.unstable_shouldYield=ye,i.unstable_wrapCallback=function(U){var de=z;return function(){var ne=z;z=de;try{return U.apply(this,arguments)}finally{z=ne}}}}),zf=ni((i,o)=>{"use strict";o.exports=Pf()}),If=ni(i=>{"use strict";var o=to(),l=zf();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}c(s,"_"),u(s,"p");var h=new Set,p={};function f(e,t){m(e,t),m(e+"Capture",t)}c(f,"hn"),u(f,"fa");function m(e,t){for(p[e]=t,e=0;e<t.length;e++)h.add(t[e])}c(m,"Xn"),u(m,"ha");var b=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_=Object.prototype.hasOwnProperty,I=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,P={},z={};function R(e){return _.call(z,e)?!0:_.call(P,e)?!1:I.test(e)?z[e]=!0:(P[e]=!0,!1)}c(R,"Ah"),u(R,"oa");function M(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}c(M,"Uh"),u(M,"pa");function N(e,t,r,n){if(t===null||typeof t>"u"||M(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}c(N,"$h"),u(N,"qa");function F(e,t,r,n,a,d,g){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=g}c(F,"xe"),u(F,"v");var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new F(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new F(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new F(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new F(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){D[e]=new F(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new F(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new F(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new F(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new F(e,5,!1,e.toLowerCase(),null,!1,!1)});var Y=/[\-:]([a-z])/g;function j(e){return e[1].toUpperCase()}c(j,"Yu"),u(j,"sa"),"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Y,j);D[t]=new F(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Y,j);D[t]=new F(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Y,j);D[t]=new F(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new F(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new F("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new F(e,1,!1,e.toLowerCase(),null,!0,!0)});function G(e,t,r,n){var a=D.hasOwnProperty(t)?D[t]:null;(a!==null?a.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(N(t,r,a,n)&&(r=null),n||a===null?R(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):a.mustUseProperty?e[a.propertyName]=r===null?a.type===3?!1:"":r:(t=a.attributeName,n=a.attributeNamespace,r===null?e.removeAttribute(t):(a=a.type,r=a===3||a===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}c(G,"Xu"),u(G,"ta");var K=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,X=Symbol.for("react.element"),E=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),ye=Symbol.for("react.provider"),ge=Symbol.for("react.context"),ce=Symbol.for("react.forward_ref"),Fe=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),Pe=Symbol.for("react.memo"),Le=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var de=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=de&&e[de]||e["@@iterator"],typeof e=="function"?e:null)}c(ne,"Cr"),u(ne,"Ka");var ee=Object.assign,x;function H(e){if(x===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);x=t&&t[1]||""}return`
2
+ `+x+e}c(H,"Pr"),u(H,"Ma");var me=!1;function ke(e,t){if(!e||me)return"";me=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=u(function(){throw Error()},"b"),Object.defineProperty(t.prototype,"props",{set:u(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(T){var n=T}Reflect.construct(e,[],t)}else{try{t.call()}catch(T){n=T}e.call(t.prototype)}else{try{throw Error()}catch(T){n=T}e()}}catch(T){if(T&&n&&typeof T.stack=="string"){for(var a=T.stack.split(`
3
+ `),d=n.stack.split(`
4
+ `),g=a.length-1,y=d.length-1;1<=g&&0<=y&&a[g]!==d[y];)y--;for(;1<=g&&0<=y;g--,y--)if(a[g]!==d[y]){if(g!==1||y!==1)do if(g--,y--,0>y||a[g]!==d[y]){var v=`
5
+ `+a[g].replace(" at new "," at ");return e.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",e.displayName)),v}while(1<=g&&0<=y);break}}}finally{me=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?H(e):""}c(ke,"Oi"),u(ke,"Oa");function we(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=ke(e.type,!1),e;case 11:return e=ke(e.type.render,!1),e;case 1:return e=ke(e.type,!0),e;default:return""}}c(we,"Wh"),u(we,"Pa");function q(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case E:return"Portal";case ae:return"Profiler";case Q:return"StrictMode";case Fe:return"Suspense";case Se:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ge:return(e.displayName||"Context")+".Consumer";case ye:return(e._context.displayName||"Context")+".Provider";case ce:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pe:return t=e.displayName||null,t!==null?t:q(e.type)||"Memo";case Le:t=e._payload,e=e._init;try{return q(e(t))}catch{}}return null}c(q,"lu"),u(q,"Qa");function be(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(t);case 8:return t===Q?"StrictMode":"Mode";case 22:return"Offscreen";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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}c(be,"Vh"),u(be,"Ra");function Ce(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}c(Ce,"Kt"),u(Ce,"Sa");function ze(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}c(ze,"bc"),u(ze,"Ta");function Ze(e){var t=ze(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,d=r.set;return Object.defineProperty(e,t,{configurable:!0,get:u(function(){return a.call(this)},"get"),set:u(function(g){n=""+g,d.call(this,g)},"set")}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:u(function(){return n},"getValue"),setValue:u(function(g){n=""+g},"setValue"),stopTracking:u(function(){e._valueTracker=null,delete e[t]},"stopTracking")}}}c(Ze,"Bh"),u(Ze,"Ua");function gr(e){e._valueTracker||(e._valueTracker=Ze(e))}c(gr,"Mo"),u(gr,"Va");function Er(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=ze(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}c(Er,"ed"),u(Er,"Wa");function jt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}c(jt,"cl"),u(jt,"Xa");function er(e,t){var r=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}c(er,"iu"),u(er,"Ya");function Rr(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Ce(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}c(Rr,"Ga"),u(Rr,"Za");function Mr(e,t){t=t.checked,t!=null&&G(e,"checked",t,!1)}c(Mr,"td"),u(Mr,"ab");function tr(e,t){Mr(e,t);var r=Ce(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?li(e,t.type,r):t.hasOwnProperty("defaultValue")&&li(e,t.type,Ce(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}c(tr,"uu"),u(tr,"bb");function mr(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}c(mr,"Qa"),u(mr,"db");function li(e,t,r){(t!=="number"||jt(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}c(li,"su"),u(li,"cb");var rr=Array.isArray;function St(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Ce(r),t=null,a=0;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}c(St,"Vn"),u(St,"fb");function ir(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return ee({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}c(ir,"au"),u(ir,"gb");function un(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(s(92));if(rr(r)){if(1<r.length)throw Error(s(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Ce(r)}}c(un,"Ya"),u(un,"hb");function dn(e,t){var r=Ce(t.value),n=Ce(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}c(dn,"nd"),u(dn,"ib");function no(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}c(no,"Xa"),u(no,"jb");function Dr(e){switch(e){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"}}c(Dr,"rd"),u(Dr,"kb");function cn(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Dr(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}c(cn,"cu"),u(cn,"lb");var Br,oo=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,a)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Br=Br||document.createElement("div"),Br.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Br.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}c(Fr,"Wr"),u(Fr,"ob");var Ut={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xl=["Webkit","ms","Moz","O"];Object.keys(Ut).forEach(function(e){xl.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ut[t]=Ut[e]})});function hn(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ut.hasOwnProperty(e)&&Ut[e]?(""+t).trim():t+"px"}c(hn,"ld"),u(hn,"rb");function lo(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=hn(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}c(lo,"id"),u(lo,"sb");var Je=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Mi(e,t){if(t){if(Je[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}c(Mi,"du"),u(Mi,"ub");function at(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}c(at,"fu"),u(at,"vb");var nr=null;function pn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}c(pn,"bu"),u(pn,"xb");var fn=null,ai=null,si=null;function ao(e){if(e=Nn(e)){if(typeof fn!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Fo(t),fn(e.stateNode,e.type,t))}}c(ao,"Za"),u(ao,"Bb");function Lr(e){ai?si?si.push(e):si=[e]:ai=e}c(Lr,"ud"),u(Lr,"Eb");function yr(){if(ai){var e=ai,t=si;if(si=ai=null,ao(e),t)for(e=0;e<t.length;e++)ao(t[e])}}c(yr,"sd"),u(yr,"Fb");function gn(e,t){return e(t)}c(gn,"ad"),u(gn,"Gb");function br(){}c(br,"cd"),u(br,"Hb");var Di=!1;function st(e,t,r){if(Di)return e(t,r);Di=!0;try{return gn(e,t,r)}finally{Di=!1,(ai!==null||si!==null)&&(br(),yr())}}c(st,"dd"),u(st,"Jb");function or(e,t){var r=e.stateNode;if(r===null)return null;var n=Fo(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(s(231,t,typeof r));return r}c(or,"Vr"),u(or,"Kb");var lr=!1;if(b)try{J={},Object.defineProperty(J,"passive",{get:u(function(){lr=!0},"get")}),window.addEventListener("test",J,J),window.removeEventListener("test",J,J)}catch{lr=!1}var J;function Ar(e,t,r,n,a,d,g,y,v){var T=Array.prototype.slice.call(arguments,3);try{t.apply(r,T)}catch(O){this.onError(O)}}c(Ar,"Qh"),u(Ar,"Nb");var Or=!1,Bi=null,Fi=!1,ui=null,mn={onError:u(function(e){Or=!0,Bi=e},"onError")};function yn(e,t,r,n,a,d,g,y,v){Or=!1,Bi=null,Ar.apply(mn,arguments)}c(yn,"Xh"),u(yn,"Tb");function bn(e,t,r,n,a,d,g,y,v){if(yn.apply(this,arguments),Or){if(Or){var T=Bi;Or=!1,Bi=null}else throw Error(s(198));Fi||(Fi=!0,ui=T)}}c(bn,"Zh"),u(bn,"Ub");function ar(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}c(ar,"mn"),u(ar,"Vb");function di(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}c(di,"fd"),u(di,"Wb");function Li(e){if(ar(e)!==e)throw Error(s(188))}c(Li,"Ja"),u(Li,"Xb");function so(e){var t=e.alternate;if(!t){if(t=ar(e),t===null)throw Error(s(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(a===null)break;var d=a.alternate;if(d===null){if(n=a.return,n!==null){r=n;continue}break}if(a.child===d.child){for(d=a.child;d;){if(d===r)return Li(a),e;if(d===n)return Li(a),t;d=d.sibling}throw Error(s(188))}if(r.return!==n.return)r=a,n=d;else{for(var g=!1,y=a.child;y;){if(y===r){g=!0,r=a,n=d;break}if(y===n){g=!0,n=a,r=d;break}y=y.sibling}if(!g){for(y=d.child;y;){if(y===r){g=!0,r=d,n=a;break}if(y===n){g=!0,n=d,r=a;break}y=y.sibling}if(!g)throw Error(s(189))}}if(r.alternate!==n)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?e:t}c(so,"Jh"),u(so,"Yb");function uo(e){return e=so(e),e!==null?vn(e):null}c(uo,"pd"),u(uo,"Zb");function vn(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=vn(e);if(t!==null)return t;e=e.sibling}return null}c(vn,"hd"),u(vn,"$b");var co=l.unstable_scheduleCallback,Cl=l.unstable_cancelCallback,ls=l.unstable_shouldYield,Ai=l.unstable_requestPaint,Ae=l.unstable_now,ho=l.unstable_getCurrentPriorityLevel,po=l.unstable_ImmediatePriority,fo=l.unstable_UserBlockingPriority,wn=l.unstable_NormalPriority,Sl=l.unstable_LowPriority,sr=l.unstable_IdlePriority,_n=null,Vt=null;function kl(e){if(Vt&&typeof Vt.onCommitFiberRoot=="function")try{Vt.onCommitFiberRoot(_n,e,void 0,(e.current.flags&128)===128)}catch{}}c(kl,"nm"),u(kl,"mc");var it=Math.clz32?Math.clz32:Tl,go=Math.log,xn=Math.LN2;function Tl(e){return e>>>=0,e===0?32:31-(go(e)/xn|0)|0}c(Tl,"lm"),u(Tl,"nc");var Cn=64,Sn=4194304;function ci(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;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:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}c(ci,"Ir"),u(ci,"tc");function Oi(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,d=e.pingedLanes,g=r&268435455;if(g!==0){var y=g&~a;y!==0?n=ci(y):(d&=g,d!==0&&(n=ci(d)))}else g=r&~a,g!==0?n=ci(g):d!==0&&(n=ci(d));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,d=t&-t,a>=d||a===16&&(d&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-it(t),a=1<<r,n|=e[r],t&=~a;return n}c(Oi,"hl"),u(Oi,"uc");function Pl(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32: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:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}c(Pl,"im"),u(Pl,"vc");function zl(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,d=e.pendingLanes;0<d;){var g=31-it(d),y=1<<g,v=a[g];v===-1?(!(y&r)||y&n)&&(a[g]=Pl(y,t)):v<=t&&(e.expiredLanes|=y),d&=~y}}c(zl,"um"),u(zl,"wc");function kn(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}c(kn,"yu"),u(kn,"xc");function mo(){var e=Cn;return Cn<<=1,!(Cn&4194240)&&(Cn=64),e}c(mo,"vd"),u(mo,"yc");function Tn(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}c(Tn,"ji"),u(Tn,"zc");function vr(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-it(t),e[t]=r}c(vr,"oo"),u(vr,"Ac");function yo(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-it(r),d=1<<a;t[a]=0,n[a]=-1,e[a]=-1,r&=~d}}c(yo,"sm"),u(yo,"Bc");function hi(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-it(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}c(hi,"ts"),u(hi,"Cc");var Re=0;function Wi(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}c(Wi,"wd"),u(Wi,"Dc");var bo,Pn,pi,zn,vo,In=!1,Ni=[],$t=null,ft=null,Dt=null,fi=new Map,Wr=new Map,kt=[],gi="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function En(e,t){switch(e){case"focusin":case"focusout":$t=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":fi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wr.delete(t.pointerId)}}c(En,"ba"),u(En,"Sc");function wr(e,t,r,n,a,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:d,targetContainers:[a]},t!==null&&(t=Nn(t),t!==null&&Pn(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}c(wr,"Sr"),u(wr,"Tc");function wo(e,t,r,n,a){switch(t){case"focusin":return $t=wr($t,e,t,r,n,a),!0;case"dragenter":return ft=wr(ft,e,t,r,n,a),!0;case"mouseover":return Dt=wr(Dt,e,t,r,n,a),!0;case"pointerover":var d=a.pointerId;return fi.set(d,wr(fi.get(d)||null,e,t,r,n,a)),!0;case"gotpointercapture":return d=a.pointerId,Wr.set(d,wr(Wr.get(d)||null,e,t,r,n,a)),!0}return!1}c(wo,"cm"),u(wo,"Uc");function Hi(e){var t=yi(e.target);if(t!==null){var r=ar(t);if(r!==null){if(t=r.tag,t===13){if(t=di(r),t!==null){e.blockedOn=t,vo(e.priority,function(){pi(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}c(Hi,"Ed"),u(Hi,"Vc");function mi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Me(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);nr=n,r.target.dispatchEvent(n),nr=null}else return t=Nn(r),t!==null&&Pn(t),e.blockedOn=r,!1;t.shift()}return!0}c(mi,"el"),u(mi,"Xc");function Rn(e,t,r){mi(e)&&r.delete(t)}c(Rn,"ec"),u(Rn,"Zc");function Nr(){In=!1,$t!==null&&mi($t)&&($t=null),ft!==null&&mi(ft)&&(ft=null),Dt!==null&&mi(Dt)&&(Dt=null),fi.forEach(Rn),Wr.forEach(Rn)}c(Nr,"dm"),u(Nr,"$c");function Hr(e,t){e.blockedOn===t&&(e.blockedOn=null,In||(In=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Nr)))}c(Hr,"kr"),u(Hr,"ad");function ur(e){function t(a){return Hr(a,e)}if(c(t,"t"),u(t,"b"),0<Ni.length){Hr(Ni[0],e);for(var r=1;r<Ni.length;r++){var n=Ni[r];n.blockedOn===e&&(n.blockedOn=null)}}for($t!==null&&Hr($t,e),ft!==null&&Hr(ft,e),Dt!==null&&Hr(Dt,e),fi.forEach(t),Wr.forEach(t),r=0;r<kt.length;r++)n=kt[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<kt.length&&(r=kt[0],r.blockedOn===null);)Hi(r),r.blockedOn===null&&kt.shift()}c(ur,"Gr"),u(ur,"bd");var jr=K.ReactCurrentBatchConfig,L=!0;function V(e,t,r,n){var a=Re,d=jr.transition;jr.transition=null;try{Re=1,ue(e,t,r,n)}finally{Re=a,jr.transition=d}}c(V,"fm"),u(V,"ed");function se(e,t,r,n){var a=Re,d=jr.transition;jr.transition=null;try{Re=4,ue(e,t,r,n)}finally{Re=a,jr.transition=d}}c(se,"pm"),u(se,"gd");function ue(e,t,r,n){if(L){var a=Me(e,t,r,n);if(a===null)Al(e,t,n,Te,r),En(e,n);else if(wo(a,e,t,r,n))n.stopPropagation();else if(En(e,n),t&4&&-1<gi.indexOf(e)){for(;a!==null;){var d=Nn(a);if(d!==null&&bo(d),d=Me(e,t,r,n),d===null&&Al(e,t,n,Te,r),d===a)break;a=d}a!==null&&n.stopPropagation()}else Al(e,t,n,null,r)}}c(ue,"rs"),u(ue,"fd");var Te=null;function Me(e,t,r,n){if(Te=null,e=pn(n),e=yi(e),e!==null)if(t=ar(e),t===null)e=null;else if(r=t.tag,r===13){if(e=di(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Te=e,null}c(Me,"wu"),u(Me,"Yc");function Oe(e){switch(e){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;case"message":switch(ho()){case po:return 1;case fo:return 4;case wn:case Sl:return 16;case sr:return 536870912;default:return 16}default:return 16}}c(Oe,"Rd"),u(Oe,"jd");var Be=null,ut=null,wt=null;function Tt(){if(wt)return wt;var e,t=ut,r=t.length,n,a="value"in Be?Be.value:Be.textContent,d=a.length;for(e=0;e<r&&t[e]===a[e];e++);var g=r-e;for(n=1;n<=g&&t[r-n]===a[d-n];n++);return wt=a.slice(e,1<n?1-n:void 0)}c(Tt,"_d"),u(Tt,"nd");function ji(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}c(ji,"nl"),u(ji,"od");function Ur(){return!0}c(Ur,"$o"),u(Ur,"pd");function Ui(){return!1}c(Ui,"tc"),u(Ui,"qd");function gt(e){function t(r,n,a,d,g){this._reactName=r,this._targetInst=a,this.type=n,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(r=e[y],this[y]=r?r(d):d[y]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ur:Ui,this.isPropagationStopped=Ui,this}return c(t,"t"),u(t,"b"),ee(t.prototype,{preventDefault:u(function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ur)},"preventDefault"),stopPropagation:u(function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ur)},"stopPropagation"),persist:u(function(){},"persist"),isPersistent:Ur}),t}c(gt,"je"),u(gt,"rd");var Mn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:u(function(e){return e.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},as=gt(Mn),_o=ee({},Mn,{view:0,detail:0}),Ip=gt(_o),ss,us,xo,Il=ee({},_o,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:El,button:0,buttons:0,relatedTarget:u(function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},"relatedTarget"),movementX:u(function(e){return"movementX"in e?e.movementX:(e!==xo&&(xo&&e.type==="mousemove"?(ss=e.screenX-xo.screenX,us=e.screenY-xo.screenY):us=ss=0,xo=e),ss)},"movementX"),movementY:u(function(e){return"movementY"in e?e.movementY:us},"movementY")}),ec=gt(Il),Ep=ee({},Il,{dataTransfer:0}),Rp=gt(Ep),Mp=ee({},_o,{relatedTarget:0}),ds=gt(Mp),Dp=ee({},Mn,{animationName:0,elapsedTime:0,pseudoElement:0}),Bp=gt(Dp),Fp=ee({},Mn,{clipboardData:u(function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData},"clipboardData")}),Lp=gt(Fp),Ap=ee({},Mn,{data:0}),tc=gt(Ap),Op={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wp={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",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Np={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rc(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Np[e])?!!t[e]:!1}c(rc,"_m"),u(rc,"Pd");function El(){return rc}c(El,"is"),u(El,"zd");var Hp=ee({},_o,{key:u(function(e){if(e.key){var t=Op[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ji(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Wp[e.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:El,charCode:u(function(e){return e.type==="keypress"?ji(e):0},"charCode"),keyCode:u(function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},"keyCode"),which:u(function(e){return e.type==="keypress"?ji(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0},"which")}),jp=gt(Hp),Up=ee({},Il,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ic=gt(Up),Vp=ee({},_o,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:El}),$p=gt(Vp),Gp=ee({},Mn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yp=gt(Gp),Xp=ee({},Il,{deltaX:u(function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},"deltaX"),deltaY:u(function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),Kp=gt(Xp),qp=[9,13,27,32],cs=b&&"CompositionEvent"in window,Co=null;b&&"documentMode"in document&&(Co=document.documentMode);var Qp=b&&"TextEvent"in window&&!Co,nc=b&&(!cs||Co&&8<Co&&11>=Co),oc=" ",lc=!1;function hs(e,t){switch(e){case"keyup":return qp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}c(hs,"Pd"),u(hs,"ge");function ps(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}c(ps,"Td"),u(ps,"he");var Dn=!1;function ac(e,t){switch(e){case"compositionend":return ps(t);case"keypress":return t.which!==32?null:(lc=!0,oc);case"textInput":return e=t.data,e===oc&&lc?null:e;default:return null}}c(ac,"Hm"),u(ac,"je");function sc(e,t){if(Dn)return e==="compositionend"||!cs&&hs(e,t)?(e=Tt(),wt=ut=Be=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nc&&t.locale!=="ko"?null:t.data;default:return null}}c(sc,"Am"),u(sc,"ke");var Zp={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zp[e.type]:t==="textarea"}c(fs,"uc"),u(fs,"me");function gs(e,t,r,n){Lr(n),t=Ro(t,"onChange"),0<t.length&&(r=new as("onChange","change",null,r,n),e.push({event:r,listeners:t}))}c(gs,"Id"),u(gs,"ne");var So=null,ko=null;function uc(e){Is(e,0)}c(uc,"$m"),u(uc,"re");function To(e){var t=$i(e);if(Er(t))return e}c(To,"Ml"),u(To,"te");function dc(e,t){if(e==="change")return t}c(dc,"Wm"),u(dc,"ve");var cc=!1;b&&(b?(Rl="oninput"in document,Rl||(ys=document.createElement("div"),ys.setAttribute("oninput","return;"),Rl=typeof ys.oninput=="function"),ms=Rl):ms=!1,cc=ms&&(!document.documentMode||9<document.documentMode));var ms,Rl,ys;function bs(){So&&(So.detachEvent("onpropertychange",vs),ko=So=null)}c(bs,"sc"),u(bs,"Ae");function vs(e){if(e.propertyName==="value"&&To(ko)){var t=[];gs(t,ko,e,pn(e)),st(uc,t)}}c(vs,"Dd"),u(vs,"Be");function hc(e,t,r){e==="focusin"?(bs(),So=t,ko=r,So.attachEvent("onpropertychange",vs)):e==="focusout"&&bs()}c(hc,"Vm"),u(hc,"Ce");function pc(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return To(ko)}c(pc,"Bm"),u(pc,"De");function fc(e,t){if(e==="click")return To(t)}c(fc,"Km"),u(fc,"Ee");function gc(e,t){if(e==="input"||e==="change")return To(t)}c(gc,"Gm"),u(gc,"Fe");function mc(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}c(mc,"Qm"),u(mc,"Ge");var dr=typeof Object.is=="function"?Object.is:mc;function Bn(e,t){if(dr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!_.call(t,a)||!dr(e[a],t[a]))return!1}return!0}c(Bn,"Yr"),u(Bn,"Ie");function ws(e){for(;e&&e.firstChild;)e=e.firstChild;return e}c(ws,"ac"),u(ws,"Je");function _s(e,t){var r=ws(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ws(r)}}c(_s,"cc"),u(_s,"Ke");function xs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}c(xs,"Ld"),u(xs,"Le");function Cs(){for(var e=window,t=jt();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=jt(e.document)}return t}c(Cs,"Fd"),u(Cs,"Me");function Ml(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}c(Ml,"ss"),u(Ml,"Ne");function yc(e){var t=Cs(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&xs(r.ownerDocument.documentElement,r)){if(n!==null&&Ml(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,d=Math.min(n.start,a);n=n.end===void 0?d:Math.min(n.end,a),!e.extend&&d>n&&(a=n,n=d,d=a),a=_s(r,d);var g=_s(r,n);a&&g&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==g.node||e.focusOffset!==g.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),d>n?(e.addRange(t),e.extend(g.node,g.offset)):(t.setEnd(g.node,g.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}c(yc,"Ym"),u(yc,"Oe");var Jp=b&&"documentMode"in document&&11>=document.documentMode,Fn=null,Ss=null,Po=null,ks=!1;function Ts(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ks||Fn==null||Fn!==jt(n)||(n=Fn,"selectionStart"in n&&Ml(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Po&&Bn(Po,n)||(Po=n,n=Ro(Ss,"onSelect"),0<n.length&&(t=new as("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Fn)))}c(Ts,"dc"),u(Ts,"Ue");function zo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}c(zo,"Bo"),u(zo,"Ve");var Ln={animationend:zo("Animation","AnimationEnd"),animationiteration:zo("Animation","AnimationIteration"),animationstart:zo("Animation","AnimationStart"),transitionend:zo("Transition","TransitionEnd")},Ps={},bc={};b&&(bc=document.createElement("div").style,"AnimationEvent"in window||(delete Ln.animationend.animation,delete Ln.animationiteration.animation,delete Ln.animationstart.animation),"TransitionEvent"in window||delete Ln.transitionend.transition);function Io(e){if(Ps[e])return Ps[e];if(!Ln[e])return e;var t=Ln[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in bc)return Ps[e]=t[r];return e}c(Io,"jl"),u(Io,"Ze");var vc=Io("animationend"),wc=Io("animationiteration"),_c=Io("animationstart"),xc=Io("transitionend"),Cc=new Map,Sc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Vr(e,t){Cc.set(e,t),f(t,[e])}for(c(Vr,"Qt"),u(Vr,"ff"),Bl=0;Bl<Sc.length;Bl++)Dl=Sc[Bl],kc=Dl.toLowerCase(),Tc=Dl[0].toUpperCase()+Dl.slice(1),Vr(kc,"on"+Tc);var Dl,kc,Tc,Bl;Vr(vc,"onAnimationEnd"),Vr(wc,"onAnimationIteration"),Vr(_c,"onAnimationStart"),Vr("dblclick","onDoubleClick"),Vr("focusin","onFocus"),Vr("focusout","onBlur"),Vr(xc,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eo="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(" "),ef=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eo));function zs(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,bn(n,t,void 0,e),e.currentTarget=null}c(zs,"mc"),u(zs,"nf");function Is(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var d=void 0;if(t)for(var g=n.length-1;0<=g;g--){var y=n[g],v=y.instance,T=y.currentTarget;if(y=y.listener,v!==d&&a.isPropagationStopped())break e;zs(a,y,T),d=v}else for(g=0;g<n.length;g++){if(y=n[g],v=y.instance,T=y.currentTarget,y=y.listener,v!==d&&a.isPropagationStopped())break e;zs(a,y,T),d=v}}}if(Fi)throw e=ui,Fi=!1,ui=null,e}c(Is,"$d"),u(Is,"se");function Ne(e,t){var r=t[As];r===void 0&&(r=t[As]=new Set);var n=e+"__bubble";r.has(n)||(Es(t,e,2,!1),r.add(n))}c(Ne,"Y"),u(Ne,"D");function Fl(e,t,r){var n=0;t&&(n|=4),Es(r,e,n,t)}c(Fl,"Vi"),u(Fl,"qf");var Ll="_reactListening"+Math.random().toString(36).slice(2);function An(e){if(!e[Ll]){e[Ll]=!0,h.forEach(function(r){r!=="selectionchange"&&(ef.has(r)||Fl(r,!1,e),Fl(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ll]||(t[Ll]=!0,Fl("selectionchange",!1,t))}}c(An,"Xr"),u(An,"sf");function Es(e,t,r,n){switch(Oe(t)){case 1:var a=V;break;case 4:a=se;break;default:a=ue}r=a.bind(null,t,r,e),a=void 0,!lr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),n?a!==void 0?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):a!==void 0?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}c(Es,"Wd"),u(Es,"pf");function Al(e,t,r,n,a){var d=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var g=n.tag;if(g===3||g===4){var y=n.stateNode.containerInfo;if(y===a||y.nodeType===8&&y.parentNode===a)break;if(g===4)for(g=n.return;g!==null;){var v=g.tag;if((v===3||v===4)&&(v=g.stateNode.containerInfo,v===a||v.nodeType===8&&v.parentNode===a))return;g=g.return}for(;y!==null;){if(g=yi(y),g===null)return;if(v=g.tag,v===5||v===6){n=d=g;continue e}y=y.parentNode}}n=n.return}st(function(){var T=d,O=pn(r),W=[];e:{var A=Cc.get(e);if(A!==void 0){var Z=as,re=e;switch(e){case"keypress":if(ji(r)===0)break e;case"keydown":case"keyup":Z=jp;break;case"focusin":re="focus",Z=ds;break;case"focusout":re="blur",Z=ds;break;case"beforeblur":case"afterblur":Z=ds;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=ec;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=Rp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=$p;break;case vc:case wc:case _c:Z=Bp;break;case xc:Z=Yp;break;case"scroll":Z=Ip;break;case"wheel":Z=Kp;break;case"copy":case"cut":case"paste":Z=Lp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=ic}var ie=(t&4)!==0,Ye=!ie&&e==="scroll",C=ie?A!==null?A+"Capture":null:A;ie=[];for(var w=T,S;w!==null;){S=w;var $=S.stateNode;if(S.tag===5&&$!==null&&(S=$,C!==null&&($=or(w,C),$!=null&&ie.push(On(w,$,S)))),Ye)break;w=w.return}0<ie.length&&(A=new Z(A,re,null,r,O),W.push({event:A,listeners:ie}))}}if(!(t&7)){e:{if(A=e==="mouseover"||e==="pointerover",Z=e==="mouseout"||e==="pointerout",A&&r!==nr&&(re=r.relatedTarget||r.fromElement)&&(yi(re)||re[Gr]))break e;if((Z||A)&&(A=O.window===O?O:(A=O.ownerDocument)?A.defaultView||A.parentWindow:window,Z?(re=r.relatedTarget||r.toElement,Z=T,re=re?yi(re):null,re!==null&&(Ye=ar(re),re!==Ye||re.tag!==5&&re.tag!==6)&&(re=null)):(Z=null,re=T),Z!==re)){if(ie=ec,$="onMouseLeave",C="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(ie=ic,$="onPointerLeave",C="onPointerEnter",w="pointer"),Ye=Z==null?A:$i(Z),S=re==null?A:$i(re),A=new ie($,w+"leave",Z,r,O),A.target=Ye,A.relatedTarget=S,$=null,yi(O)===T&&(ie=new ie(C,w+"enter",re,r,O),ie.target=S,ie.relatedTarget=Ye,$=ie),Ye=$,Z&&re)t:{for(ie=Z,C=re,w=0,S=ie;S;S=Vi(S))w++;for(S=0,$=C;$;$=Vi($))S++;for(;0<w-S;)ie=Vi(ie),w--;for(;0<S-w;)C=Vi(C),S--;for(;w--;){if(ie===C||C!==null&&ie===C.alternate)break t;ie=Vi(ie),C=Vi(C)}ie=null}else ie=null;Z!==null&&Rs(W,A,Z,ie,!1),re!==null&&Ye!==null&&Rs(W,Ye,re,ie,!0)}}e:{if(A=T?$i(T):window,Z=A.nodeName&&A.nodeName.toLowerCase(),Z==="select"||Z==="input"&&A.type==="file")var le=dc;else if(fs(A))if(cc)le=gc;else{le=pc;var he=hc}else(Z=A.nodeName)&&Z.toLowerCase()==="input"&&(A.type==="checkbox"||A.type==="radio")&&(le=fc);if(le&&(le=le(e,T))){gs(W,le,r,O);break e}he&&he(e,A,T),e==="focusout"&&(he=A._wrapperState)&&he.controlled&&A.type==="number"&&li(A,"number",A.value)}switch(he=T?$i(T):window,e){case"focusin":(fs(he)||he.contentEditable==="true")&&(Fn=he,Ss=T,Po=null);break;case"focusout":Po=Ss=Fn=null;break;case"mousedown":ks=!0;break;case"contextmenu":case"mouseup":case"dragend":ks=!1,Ts(W,r,O);break;case"selectionchange":if(Jp)break;case"keydown":case"keyup":Ts(W,r,O)}var pe;if(cs)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Dn?hs(e,r)&&(ve="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(ve="onCompositionStart");ve&&(nc&&r.locale!=="ko"&&(Dn||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Dn&&(pe=Tt()):(Be=O,ut="value"in Be?Be.value:Be.textContent,Dn=!0)),he=Ro(T,ve),0<he.length&&(ve=new tc(ve,e,null,r,O),W.push({event:ve,listeners:he}),pe?ve.data=pe:(pe=ps(r),pe!==null&&(ve.data=pe)))),(pe=Qp?ac(e,r):sc(e,r))&&(T=Ro(T,"onBeforeInput"),0<T.length&&(O=new tc("onBeforeInput","beforeinput",null,r,O),W.push({event:O,listeners:T}),O.data=pe))}Is(W,t)})}c(Al,"Bi"),u(Al,"hd");function On(e,t,r){return{instance:e,listener:t,currentTarget:r}}c(On,"Zr"),u(On,"tf");function Ro(e,t){for(var r=t+"Capture",n=[];e!==null;){var a=e,d=a.stateNode;a.tag===5&&d!==null&&(a=d,d=or(e,r),d!=null&&n.unshift(On(e,d,a)),d=or(e,t),d!=null&&n.push(On(e,d,a))),e=e.return}return n}c(Ro,"yl"),u(Ro,"oe");function Vi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}c(Vi,"In"),u(Vi,"vf");function Rs(e,t,r,n,a){for(var d=t._reactName,g=[];r!==null&&r!==n;){var y=r,v=y.alternate,T=y.stateNode;if(v!==null&&v===n)break;y.tag===5&&T!==null&&(y=T,a?(v=or(r,d),v!=null&&g.unshift(On(r,v,y))):a||(v=or(r,d),v!=null&&g.push(On(r,v,y)))),r=r.return}g.length!==0&&e.push({event:t,listeners:g})}c(Rs,"gc"),u(Rs,"wf");var tf=/\r\n?/g,rf=/\u0000|\uFFFD/g;function Ms(e){return(typeof e=="string"?e:""+e).replace(tf,`
6
+ `).replace(rf,"")}c(Ms,"yc"),u(Ms,"zf");function Mo(e,t,r){if(t=Ms(t),Ms(e)!==t&&r)throw Error(s(425))}c(Mo,"Yo"),u(Mo,"Af");function Do(){}c(Do,"vl"),u(Do,"Bf");var Ds=null,Bs=null;function Ol(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}c(Ol,"Eu"),u(Ol,"Ef");var Fs=typeof setTimeout=="function"?setTimeout:void 0,nf=typeof clearTimeout=="function"?clearTimeout:void 0,Pc=typeof Promise=="function"?Promise:void 0,of=typeof queueMicrotask=="function"?queueMicrotask:typeof Pc<"u"?function(e){return Pc.resolve(null).then(e).catch(zc)}:Fs;function zc(e){setTimeout(function(){throw e})}c(zc,"tg"),u(zc,"If");function Wl(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(n===0){e.removeChild(a),ur(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=a}while(r);ur(t)}c(Wl,"Ki"),u(Wl,"Kf");function $r(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}c($r,"Ut"),u($r,"Lf");function Ls(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}c(Ls,"wc"),u(Ls,"Mf");var Wn=Math.random().toString(36).slice(2),_r="__reactFiber$"+Wn,Bo="__reactProps$"+Wn,Gr="__reactContainer$"+Wn,As="__reactEvents$"+Wn,lf="__reactListeners$"+Wn,af="__reactHandles$"+Wn;function yi(e){var t=e[_r];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Gr]||r[_r]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Ls(e);e!==null;){if(r=e[_r])return r;e=Ls(e)}return t}e=r,r=e.parentNode}return null}c(yi,"rn"),u(yi,"Wc");function Nn(e){return e=e[_r]||e[Gr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}c(Nn,"io"),u(Nn,"Cb");function $i(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}c($i,"Mn"),u($i,"ue");function Fo(e){return e[Bo]||null}c(Fo,"Hl"),u(Fo,"Db");var Os=[],Hn=-1;function Yr(e){return{current:e}}c(Yr,"Yt"),u(Yr,"Uf");function He(e){0>Hn||(e.current=Os[Hn],Os[Hn]=null,Hn--)}c(He,"X"),u(He,"E");function We(e,t){Hn++,Os[Hn]=e.current,e.current=t}c(We,"Q"),u(We,"G");var bi={},mt=Yr(bi),Pt=Yr(!1),Gi=bi;function Yi(e,t){var r=e.type.contextTypes;if(!r)return bi;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},d;for(d in r)a[d]=t[d];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}c(Yi,"Zn"),u(Yi,"Yf");function _t(e){return e=e.childContextTypes,e!=null}c(_t,"Te"),u(_t,"Zf");function Lo(){He(Pt),He(mt)}c(Lo,"wl"),u(Lo,"$f");function Ws(e,t,r){if(mt.current!==bi)throw Error(s(168));We(mt,t),We(Pt,r)}c(Ws,"Cc"),u(Ws,"ag");function Ns(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(s(108,be(e)||"Unknown",a));return ee({},r,n)}c(Ns,"Vd"),u(Ns,"bg");function Ao(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bi,Gi=mt.current,We(mt,e),We(Pt,Pt.current),!0}c(Ao,"Cl"),u(Ao,"cg");function Hs(e,t,r){var n=e.stateNode;if(!n)throw Error(s(169));r?(e=Ns(e,t,Gi),n.__reactInternalMemoizedMergedChildContext=e,He(Pt),He(mt),We(mt,e)):He(Pt),We(Pt,r)}c(Hs,"Sc"),u(Hs,"dg");var Xr=null,Nl=!1,js=!1;function Us(e){Xr===null?Xr=[e]:Xr.push(e)}c(Us,"Bd"),u(Us,"hg");function Ic(e){Nl=!0,Us(e)}c(Ic,"og"),u(Ic,"ig");function Kr(){if(!js&&Xr!==null){js=!0;var e=0,t=Re;try{var r=Xr;for(Re=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Xr=null,Nl=!1}catch(a){throw Xr!==null&&(Xr=Xr.slice(e+1)),co(po,Kr),a}finally{Re=t,js=!1}}return null}c(Kr,"Xt"),u(Kr,"jg");var jn=[],Un=0,Hl=null,jl=0,Gt=[],Yt=0,Xi=null,qr=1,Qr="";function vi(e,t){jn[Un++]=jl,jn[Un++]=Hl,Hl=e,jl=t}c(vi,"tn"),u(vi,"tg");function Vs(e,t,r){Gt[Yt++]=qr,Gt[Yt++]=Qr,Gt[Yt++]=Xi,Xi=e;var n=qr;e=Qr;var a=32-it(n)-1;n&=~(1<<a),r+=1;var d=32-it(t)+a;if(30<d){var g=a-a%5;d=(n&(1<<g)-1).toString(32),n>>=g,a-=g,qr=1<<32-it(t)+a|r<<a|n,Qr=d+e}else qr=1<<d|r<<a|n,Qr=e}c(Vs,"Kd"),u(Vs,"ug");function Ul(e){e.return!==null&&(vi(e,1),Vs(e,1,0))}c(Ul,"as"),u(Ul,"vg");function Vl(e){for(;e===Hl;)Hl=jn[--Un],jn[Un]=null,jl=jn[--Un],jn[Un]=null;for(;e===Xi;)Xi=Gt[--Yt],Gt[Yt]=null,Qr=Gt[--Yt],Gt[Yt]=null,qr=Gt[--Yt],Gt[Yt]=null}c(Vl,"cs"),u(Vl,"wg");var Bt=null,Ft=null,je=!1,cr=null;function $s(e,t){var r=Wt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}c($s,"Gd"),u($s,"Ag");function Gs(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Bt=e,Ft=$r(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Bt=e,Ft=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Xi!==null?{id:qr,overflow:Qr}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Wt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Bt=e,Ft=null,!0):!1;default:return!1}}c(Gs,"kc"),u(Gs,"Cg");function $l(e){return(e.mode&1)!==0&&(e.flags&128)===0}c($l,"Pu"),u($l,"Dg");function Gl(e){if(je){var t=Ft;if(t){var r=t;if(!Gs(e,t)){if($l(e))throw Error(s(418));t=$r(r.nextSibling);var n=Bt;t&&Gs(e,t)?$s(n,r):(e.flags=e.flags&-4097|2,je=!1,Bt=e)}}else{if($l(e))throw Error(s(418));e.flags=e.flags&-4097|2,je=!1,Bt=e}}}c(Gl,"Tu"),u(Gl,"Eg");function Ys(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Bt=e}c(Ys,"xc"),u(Ys,"Fg");function Oo(e){if(e!==Bt)return!1;if(!je)return Ys(e),je=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ol(e.type,e.memoizedProps)),t&&(t=Ft)){if($l(e))throw Xs(),Error(s(418));for(;t;)$s(e,t),t=$r(t.nextSibling)}if(Ys(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ft=$r(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ft=null}}else Ft=Bt?$r(e.stateNode.nextSibling):null;return!0}c(Oo,"Xo"),u(Oo,"Gg");function Xs(){for(var e=Ft;e;)e=$r(e.nextSibling)}c(Xs,"Qd"),u(Xs,"Hg");function Ki(){Ft=Bt=null,je=!1}c(Ki,"Jn"),u(Ki,"Ig");function Yl(e){cr===null?cr=[e]:cr.push(e)}c(Yl,"ds"),u(Yl,"Jg");var sf=K.ReactCurrentBatchConfig;function Vn(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(s(309));var n=r.stateNode}if(!n)throw Error(s(147,e));var a=n,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=u(function(g){var y=a.refs;g===null?delete y[d]:y[d]=g},"b"),t._stringRef=d,t)}if(typeof e!="string")throw Error(s(284));if(!r._owner)throw Error(s(290,e))}return e}c(Vn,"Er"),u(Vn,"Lg");function Wo(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}c(Wo,"Zo"),u(Wo,"Mg");function Ks(e){var t=e._init;return t(e._payload)}c(Ks,"Ec"),u(Ks,"Ng");function qs(e){function t(C,w){if(e){var S=C.deletions;S===null?(C.deletions=[w],C.flags|=16):S.push(w)}}c(t,"t"),u(t,"b");function r(C,w){if(!e)return null;for(;w!==null;)t(C,w),w=w.sibling;return null}c(r,"n"),u(r,"c");function n(C,w){for(C=new Map;w!==null;)w.key!==null?C.set(w.key,w):C.set(w.index,w),w=w.sibling;return C}c(n,"r"),u(n,"d");function a(C,w){return C=ii(C,w),C.index=0,C.sibling=null,C}c(a,"o"),u(a,"e");function d(C,w,S){return C.index=S,e?(S=C.alternate,S!==null?(S=S.index,S<w?(C.flags|=2,w):S):(C.flags|=2,w)):(C.flags|=1048576,w)}c(d,"l"),u(d,"f");function g(C){return e&&C.alternate===null&&(C.flags|=2),C}c(g,"u"),u(g,"g");function y(C,w,S,$){return w===null||w.tag!==6?(w=Ha(S,C.mode,$),w.return=C,w):(w=a(w,S),w.return=C,w)}c(y,"s"),u(y,"h");function v(C,w,S,$){var le=S.type;return le===k?O(C,w,S.props.children,$,S.key):w!==null&&(w.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Le&&Ks(le)===w.type)?($=a(w,S.props),$.ref=Vn(C,w,S),$.return=C,$):($=il(S.type,S.key,S.props,null,C.mode,$),$.ref=Vn(C,w,S),$.return=C,$)}c(v,"a"),u(v,"k");function T(C,w,S,$){return w===null||w.tag!==4||w.stateNode.containerInfo!==S.containerInfo||w.stateNode.implementation!==S.implementation?(w=ja(S,C.mode,$),w.return=C,w):(w=a(w,S.children||[]),w.return=C,w)}c(T,"f"),u(T,"l");function O(C,w,S,$,le){return w===null||w.tag!==7?(w=Pi(S,C.mode,$,le),w.return=C,w):(w=a(w,S),w.return=C,w)}c(O,"v"),u(O,"m");function W(C,w,S){if(typeof w=="string"&&w!==""||typeof w=="number")return w=Ha(""+w,C.mode,S),w.return=C,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case X:return S=il(w.type,w.key,w.props,null,C.mode,S),S.ref=Vn(C,null,w),S.return=C,S;case E:return w=ja(w,C.mode,S),w.return=C,w;case Le:var $=w._init;return W(C,$(w._payload),S)}if(rr(w)||ne(w))return w=Pi(w,C.mode,S,null),w.return=C,w;Wo(C,w)}return null}c(W,"g"),u(W,"q");function A(C,w,S,$){var le=w!==null?w.key:null;if(typeof S=="string"&&S!==""||typeof S=="number")return le!==null?null:y(C,w,""+S,$);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case X:return S.key===le?v(C,w,S,$):null;case E:return S.key===le?T(C,w,S,$):null;case Le:return le=S._init,A(C,w,le(S._payload),$)}if(rr(S)||ne(S))return le!==null?null:O(C,w,S,$,null);Wo(C,S)}return null}c(A,"h"),u(A,"r");function Z(C,w,S,$,le){if(typeof $=="string"&&$!==""||typeof $=="number")return C=C.get(S)||null,y(w,C,""+$,le);if(typeof $=="object"&&$!==null){switch($.$$typeof){case X:return C=C.get($.key===null?S:$.key)||null,v(w,C,$,le);case E:return C=C.get($.key===null?S:$.key)||null,T(w,C,$,le);case Le:var he=$._init;return Z(C,w,S,he($._payload),le)}if(rr($)||ne($))return C=C.get(S)||null,O(w,C,$,le,null);Wo(w,$)}return null}c(Z,"y"),u(Z,"y");function re(C,w,S,$){for(var le=null,he=null,pe=w,ve=w=0,lt=null;pe!==null&&ve<S.length;ve++){pe.index>ve?(lt=pe,pe=null):lt=pe.sibling;var De=A(C,pe,S[ve],$);if(De===null){pe===null&&(pe=lt);break}e&&pe&&De.alternate===null&&t(C,pe),w=d(De,w,ve),he===null?le=De:he.sibling=De,he=De,pe=lt}if(ve===S.length)return r(C,pe),je&&vi(C,ve),le;if(pe===null){for(;ve<S.length;ve++)pe=W(C,S[ve],$),pe!==null&&(w=d(pe,w,ve),he===null?le=pe:he.sibling=pe,he=pe);return je&&vi(C,ve),le}for(pe=n(C,pe);ve<S.length;ve++)lt=Z(pe,C,ve,S[ve],$),lt!==null&&(e&&lt.alternate!==null&&pe.delete(lt.key===null?ve:lt.key),w=d(lt,w,ve),he===null?le=lt:he.sibling=lt,he=lt);return e&&pe.forEach(function(zi){return t(C,zi)}),je&&vi(C,ve),le}c(re,"x"),u(re,"n");function ie(C,w,S,$){var le=ne(S);if(typeof le!="function")throw Error(s(150));if(S=le.call(S),S==null)throw Error(s(151));for(var he=le=null,pe=w,ve=w=0,lt=null,De=S.next();pe!==null&&!De.done;ve++,De=S.next()){pe.index>ve?(lt=pe,pe=null):lt=pe.sibling;var zi=A(C,pe,De.value,$);if(zi===null){pe===null&&(pe=lt);break}e&&pe&&zi.alternate===null&&t(C,pe),w=d(zi,w,ve),he===null?le=zi:he.sibling=zi,he=zi,pe=lt}if(De.done)return r(C,pe),je&&vi(C,ve),le;if(pe===null){for(;!De.done;ve++,De=S.next())De=W(C,De.value,$),De!==null&&(w=d(De,w,ve),he===null?le=De:he.sibling=De,he=De);return je&&vi(C,ve),le}for(pe=n(C,pe);!De.done;ve++,De=S.next())De=Z(pe,C,ve,De.value,$),De!==null&&(e&&De.alternate!==null&&pe.delete(De.key===null?ve:De.key),w=d(De,w,ve),he===null?le=De:he.sibling=De,he=De);return e&&pe.forEach(function(vf){return t(C,vf)}),je&&vi(C,ve),le}c(ie,"S"),u(ie,"t");function Ye(C,w,S,$){if(typeof S=="object"&&S!==null&&S.type===k&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case X:e:{for(var le=S.key,he=w;he!==null;){if(he.key===le){if(le=S.type,le===k){if(he.tag===7){r(C,he.sibling),w=a(he,S.props.children),w.return=C,C=w;break e}}else if(he.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Le&&Ks(le)===he.type){r(C,he.sibling),w=a(he,S.props),w.ref=Vn(C,he,S),w.return=C,C=w;break e}r(C,he);break}else t(C,he);he=he.sibling}S.type===k?(w=Pi(S.props.children,C.mode,$,S.key),w.return=C,C=w):($=il(S.type,S.key,S.props,null,C.mode,$),$.ref=Vn(C,w,S),$.return=C,C=$)}return g(C);case E:e:{for(he=S.key;w!==null;){if(w.key===he)if(w.tag===4&&w.stateNode.containerInfo===S.containerInfo&&w.stateNode.implementation===S.implementation){r(C,w.sibling),w=a(w,S.children||[]),w.return=C,C=w;break e}else{r(C,w);break}else t(C,w);w=w.sibling}w=ja(S,C.mode,$),w.return=C,C=w}return g(C);case Le:return he=S._init,Ye(C,w,he(S._payload),$)}if(rr(S))return re(C,w,S,$);if(ne(S))return ie(C,w,S,$);Wo(C,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,w!==null&&w.tag===6?(r(C,w.sibling),w=a(w,S),w.return=C,C=w):(r(C,w),w=Ha(S,C.mode,$),w.return=C,C=w),g(C)):r(C,w)}return c(Ye,"P"),u(Ye,"J"),Ye}c(qs,"Yd"),u(qs,"Og");var $n=qs(!0),Ec=qs(!1),Xl=Yr(null),Kl=null,Gn=null,Qs=null;function ql(){Qs=Gn=Kl=null}c(ql,"ps"),u(ql,"$g");function Ql(e){var t=Xl.current;He(Xl),e._currentValue=t}c(Ql,"hs"),u(Ql,"ah");function Zl(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}c(Zl,"Iu"),u(Zl,"bh");function qi(e,t){Kl=e,Qs=Gn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(zt=!0),e.firstContext=null)}c(qi,"Qn"),u(qi,"ch");function Lt(e){var t=e._currentValue;if(Qs!==e)if(e={context:e,memoizedValue:t,next:null},Gn===null){if(Kl===null)throw Error(s(308));Gn=e,Kl.dependencies={lanes:0,firstContext:e}}else Gn=Gn.next=e;return t}c(Lt,"Qe"),u(Lt,"eh");var Qi=null;function Jl(e){Qi===null?Qi=[e]:Qi.push(e)}c(Jl,"ms"),u(Jl,"gh");function Zs(e,t,r,n){var a=t.interleaved;return a===null?(r.next=r,Jl(t)):(r.next=a.next,a.next=r),t.interleaved=r,xr(e,n)}c(Zs,"Zd"),u(Zs,"hh");function xr(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}c(xr,"kt"),u(xr,"ih");var wi=!1;function ea(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}c(ea,"gs"),u(ea,"kh");function Js(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}c(Js,"Jd"),u(Js,"lh");function Cr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}c(Cr,"wt"),u(Cr,"mh");function Zr(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Ie&2){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,xr(e,r)}return a=n.interleaved,a===null?(t.next=t,Jl(n)):(t.next=a.next,a.next=t),n.interleaved=t,xr(e,r)}c(Zr,"$t"),u(Zr,"nh");function No(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,hi(e,r)}}c(No,"rl"),u(No,"oh");function eu(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var a=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var g={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};d===null?a=d=g:d=d.next=g,r=r.next}while(r!==null);d===null?a=d=t:d=d.next=t}else a=d=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:d,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}c(eu,"Rc"),u(eu,"ph");function Ho(e,t,r,n){var a=e.updateQueue;wi=!1;var d=a.firstBaseUpdate,g=a.lastBaseUpdate,y=a.shared.pending;if(y!==null){a.shared.pending=null;var v=y,T=v.next;v.next=null,g===null?d=T:g.next=T,g=v;var O=e.alternate;O!==null&&(O=O.updateQueue,y=O.lastBaseUpdate,y!==g&&(y===null?O.firstBaseUpdate=T:y.next=T,O.lastBaseUpdate=v))}if(d!==null){var W=a.baseState;g=0,O=T=v=null,y=d;do{var A=y.lane,Z=y.eventTime;if((n&A)===A){O!==null&&(O=O.next={eventTime:Z,lane:0,tag:y.tag,payload:y.payload,callback:y.callback,next:null});e:{var re=e,ie=y;switch(A=t,Z=r,ie.tag){case 1:if(re=ie.payload,typeof re=="function"){W=re.call(Z,W,A);break e}W=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=ie.payload,A=typeof re=="function"?re.call(Z,W,A):re,A==null)break e;W=ee({},W,A);break e;case 2:wi=!0}}y.callback!==null&&y.lane!==0&&(e.flags|=64,A=a.effects,A===null?a.effects=[y]:A.push(y))}else Z={eventTime:Z,lane:A,tag:y.tag,payload:y.payload,callback:y.callback,next:null},O===null?(T=O=Z,v=W):O=O.next=Z,g|=A;if(y=y.next,y===null){if(y=a.shared.pending,y===null)break;A=y,y=A.next,A.next=null,a.lastBaseUpdate=A,a.shared.pending=null}}while(!0);if(O===null&&(v=W),a.baseState=v,a.firstBaseUpdate=T,a.lastBaseUpdate=O,t=a.shared.interleaved,t!==null){a=t;do g|=a.lane,a=a.next;while(a!==t)}else d===null&&(a.shared.lanes=0);rn|=g,e.lanes=g,e.memoizedState=W}}c(Ho,"Rl"),u(Ho,"qh");function tu(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],a=n.callback;if(a!==null){if(n.callback=null,n=r,typeof a!="function")throw Error(s(191,a));a.call(n)}}}c(tu,"_c"),u(tu,"sh");var jo={},Sr=Yr(jo),Uo=Yr(jo),Vo=Yr(jo);function _i(e){if(e===jo)throw Error(s(174));return e}c(_i,"ln"),u(_i,"xh");function ta(e,t){switch(We(Vo,t),We(Uo,e),We(Sr,jo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cn(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cn(t,e)}He(Sr),We(Sr,t)}c(ta,"ys"),u(ta,"yh");function Zi(){He(Sr),He(Uo),He(Vo)}c(Zi,"bn"),u(Zi,"zh");function ru(e){_i(Vo.current);var t=_i(Sr.current),r=cn(t,e.type);t!==r&&(We(Uo,e),We(Sr,r))}c(ru,"qd"),u(ru,"Ah");function ra(e){Uo.current===e&&(He(Sr),He(Uo))}c(ra,"vs"),u(ra,"Bh");var Ue=Yr(0);function $o(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}c($o,"_l"),u($o,"Ch");var iu=[];function ia(){for(var e=0;e<iu.length;e++)iu[e]._workInProgressVersionPrimary=null;iu.length=0}c(ia,"ws"),u(ia,"Eh");var na=K.ReactCurrentDispatcher,nu=K.ReactCurrentBatchConfig,Ji=0,Ve=null,et=null,nt=null,oa=!1,Go=!1,Yo=0,uf=0;function dt(){throw Error(s(321))}c(dt,"ge"),u(dt,"P");function la(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!dr(e[r],t[r]))return!1;return!0}c(la,"Cs"),u(la,"Mh");function aa(e,t,r,n,a,d){if(Ji=d,Ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,na.current=e===null||e.memoizedState===null?df:cf,e=r(n,a),Go){d=0;do{if(Go=!1,Yo=0,25<=d)throw Error(s(301));d+=1,nt=et=null,t.updateQueue=null,na.current=hf,e=r(n,a)}while(Go)}if(na.current=pa,t=et!==null&&et.next!==null,Ji=0,nt=et=Ve=null,oa=!1,t)throw Error(s(300));return e}c(aa,"Ss"),u(aa,"Nh");function sa(){var e=Yo!==0;return Yo=0,e}c(sa,"ks"),u(sa,"Sh");function hr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?Ve.memoizedState=nt=e:nt=nt.next=e,nt}c(hr,"at"),u(hr,"Th");function At(){if(et===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=nt===null?Ve.memoizedState:nt.next;if(t!==null)nt=t,et=e;else{if(e===null)throw Error(s(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},nt===null?Ve.memoizedState=nt=e:nt=nt.next=e}return nt}c(At,"Ye"),u(At,"Uh");function Yn(e,t){return typeof t=="function"?t(e):t}c(Yn,"to"),u(Yn,"Vh");function ua(e){var t=At(),r=t.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var n=et,a=n.baseQueue,d=r.pending;if(d!==null){if(a!==null){var g=a.next;a.next=d.next,d.next=g}n.baseQueue=a=d,r.pending=null}if(a!==null){d=a.next,n=n.baseState;var y=g=null,v=null,T=d;do{var O=T.lane;if((Ji&O)===O)v!==null&&(v=v.next={lane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),n=T.hasEagerState?T.eagerState:e(n,T.action);else{var W={lane:O,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null};v===null?(y=v=W,g=n):v=v.next=W,Ve.lanes|=O,rn|=O}T=T.next}while(T!==null&&T!==d);v===null?g=n:v.next=y,dr(n,t.memoizedState)||(zt=!0),t.memoizedState=n,t.baseState=g,t.baseQueue=v,r.lastRenderedState=n}if(e=r.interleaved,e!==null){a=e;do d=a.lane,Ve.lanes|=d,rn|=d,a=a.next;while(a!==e)}else a===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}c(ua,"Xi"),u(ua,"Wh");function da(e){var t=At(),r=t.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,d=t.memoizedState;if(a!==null){r.pending=null;var g=a=a.next;do d=e(d,g.action),g=g.next;while(g!==a);dr(d,t.memoizedState)||(zt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),r.lastRenderedState=d}return[d,n]}c(da,"Zi"),u(da,"Xh");function ou(){}c(ou,"bd"),u(ou,"Yh");function lu(e,t){var r=Ve,n=At(),a=t(),d=!dr(n.memoizedState,a);if(d&&(n.memoizedState=a,zt=!0),n=n.queue,ca(uu.bind(null,r,n,e),[e]),n.getSnapshot!==t||d||nt!==null&&nt.memoizedState.tag&1){if(r.flags|=2048,Xn(9,su.bind(null,r,n,a,t),void 0,null),ot===null)throw Error(s(349));Ji&30||au(r,t,a)}return a}c(lu,"ef"),u(lu,"Zh");function au(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}c(au,"tf"),u(au,"di");function su(e,t,r,n){t.value=r,t.getSnapshot=n,du(t)&&cu(e)}c(su,"nf"),u(su,"ci");function uu(e,t,r){return r(function(){du(t)&&cu(e)})}c(uu,"rf"),u(uu,"ai");function du(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!dr(e,r)}catch{return!0}}c(du,"of"),u(du,"ei");function cu(e){var t=xr(e,1);t!==null&&Qt(t,e,1,-1)}c(cu,"lf"),u(cu,"fi");function hu(e){var t=hr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:e},t.queue=e,e=e.dispatch=Dc.bind(null,Ve,e),[t.memoizedState,e]}c(hu,"zc"),u(hu,"hi");function Xn(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}c(Xn,"no"),u(Xn,"bi");function pu(){return At().memoizedState}c(pu,"uf"),u(pu,"ji");function Xo(e,t,r,n){var a=hr();Ve.flags|=e,a.memoizedState=Xn(1|t,r,void 0,n===void 0?null:n)}c(Xo,"ll"),u(Xo,"ki");function Ko(e,t,r,n){var a=At();n=n===void 0?null:n;var d=void 0;if(et!==null){var g=et.memoizedState;if(d=g.destroy,n!==null&&la(n,g.deps)){a.memoizedState=Xn(t,r,d,n);return}}Ve.flags|=e,a.memoizedState=Xn(1|t,r,d,n)}c(Ko,"Ul"),u(Ko,"li");function fu(e,t){return Xo(8390656,8,e,t)}c(fu,"Pc"),u(fu,"mi");function ca(e,t){return Ko(2048,8,e,t)}c(ca,"xs"),u(ca,"$h");function gu(e,t){return Ko(4,2,e,t)}c(gu,"sf"),u(gu,"ni");function mu(e,t){return Ko(4,4,e,t)}c(mu,"af"),u(mu,"oi");function yu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}c(yu,"cf"),u(yu,"pi");function bu(e,t,r){return r=r!=null?r.concat([e]):null,Ko(4,4,yu.bind(null,t,e),r)}c(bu,"df"),u(bu,"qi");function ha(){}c(ha,"Es"),u(ha,"ri");function vu(e,t){var r=At();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&la(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}c(vu,"ff"),u(vu,"si");function wu(e,t){var r=At();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&la(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}c(wu,"pf"),u(wu,"ti");function _u(e,t,r){return Ji&21?(dr(r,t)||(r=mo(),Ve.lanes|=r,rn|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,zt=!0),e.memoizedState=r)}c(_u,"hf"),u(_u,"ui");function Rc(e,t){var r=Re;Re=r!==0&&4>r?r:4,e(!0);var n=nu.transition;nu.transition={};try{e(!1),t()}finally{Re=r,nu.transition=n}}c(Rc,"ug"),u(Rc,"vi");function xu(){return At().memoizedState}c(xu,"mf"),u(xu,"wi");function Mc(e,t,r){var n=ti(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Cu(e))Su(t,r);else if(r=Zs(e,t,r,n),r!==null){var a=vt();Qt(r,e,n,a),ku(r,t,n)}}c(Mc,"sg"),u(Mc,"xi");function Dc(e,t,r){var n=ti(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Cu(e))Su(t,a);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var g=t.lastRenderedState,y=d(g,r);if(a.hasEagerState=!0,a.eagerState=y,dr(y,g)){var v=t.interleaved;v===null?(a.next=a,Jl(t)):(a.next=v.next,v.next=a),t.interleaved=a;return}}catch{}finally{}r=Zs(e,t,a,n),r!==null&&(a=vt(),Qt(r,e,n,a),ku(r,t,n))}}c(Dc,"ag"),u(Dc,"ii");function Cu(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}c(Cu,"gf"),u(Cu,"zi");function Su(e,t){Go=oa=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}c(Su,"yf"),u(Su,"Ai");function ku(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,hi(e,r)}}c(ku,"vf"),u(ku,"Bi");var pa={readContext:Lt,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},df={readContext:Lt,useCallback:u(function(e,t){return hr().memoizedState=[e,t===void 0?null:t],e},"useCallback"),useContext:Lt,useEffect:fu,useImperativeHandle:u(function(e,t,r){return r=r!=null?r.concat([e]):null,Xo(4194308,4,yu.bind(null,t,e),r)},"useImperativeHandle"),useLayoutEffect:u(function(e,t){return Xo(4194308,4,e,t)},"useLayoutEffect"),useInsertionEffect:u(function(e,t){return Xo(4,2,e,t)},"useInsertionEffect"),useMemo:u(function(e,t){var r=hr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},"useMemo"),useReducer:u(function(e,t,r){var n=hr();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Mc.bind(null,Ve,e),[n.memoizedState,e]},"useReducer"),useRef:u(function(e){var t=hr();return e={current:e},t.memoizedState=e},"useRef"),useState:hu,useDebugValue:ha,useDeferredValue:u(function(e){return hr().memoizedState=e},"useDeferredValue"),useTransition:u(function(){var e=hu(!1),t=e[0];return e=Rc.bind(null,e[1]),hr().memoizedState=e,[t,e]},"useTransition"),useMutableSource:u(function(){},"useMutableSource"),useSyncExternalStore:u(function(e,t,r){var n=Ve,a=hr();if(je){if(r===void 0)throw Error(s(407));r=r()}else{if(r=t(),ot===null)throw Error(s(349));Ji&30||au(n,t,r)}a.memoizedState=r;var d={value:r,getSnapshot:t};return a.queue=d,fu(uu.bind(null,n,d,e),[e]),n.flags|=2048,Xn(9,su.bind(null,n,d,r,t),void 0,null),r},"useSyncExternalStore"),useId:u(function(){var e=hr(),t=ot.identifierPrefix;if(je){var r=Qr,n=qr;r=(n&~(1<<32-it(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Yo++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=uf++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},"useId"),unstable_isNewReconciler:!1},cf={readContext:Lt,useCallback:vu,useContext:Lt,useEffect:ca,useImperativeHandle:bu,useInsertionEffect:gu,useLayoutEffect:mu,useMemo:wu,useReducer:ua,useRef:pu,useState:u(function(){return ua(Yn)},"useState"),useDebugValue:ha,useDeferredValue:u(function(e){var t=At();return _u(t,et.memoizedState,e)},"useDeferredValue"),useTransition:u(function(){var e=ua(Yn)[0],t=At().memoizedState;return[e,t]},"useTransition"),useMutableSource:ou,useSyncExternalStore:lu,useId:xu,unstable_isNewReconciler:!1},hf={readContext:Lt,useCallback:vu,useContext:Lt,useEffect:ca,useImperativeHandle:bu,useInsertionEffect:gu,useLayoutEffect:mu,useMemo:wu,useReducer:da,useRef:pu,useState:u(function(){return da(Yn)},"useState"),useDebugValue:ha,useDeferredValue:u(function(e){var t=At();return et===null?t.memoizedState=e:_u(t,et.memoizedState,e)},"useDeferredValue"),useTransition:u(function(){var e=da(Yn)[0],t=At().memoizedState;return[e,t]},"useTransition"),useMutableSource:ou,useSyncExternalStore:lu,useId:xu,unstable_isNewReconciler:!1};function Xt(e,t){if(e&&e.defaultProps){t=ee({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}c(Xt,"be"),u(Xt,"Ci");function fa(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:ee({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}c(fa,"Nu"),u(fa,"Di");var ga={isMounted:u(function(e){return(e=e._reactInternals)?ar(e)===e:!1},"isMounted"),enqueueSetState:u(function(e,t,r){e=e._reactInternals;var n=vt(),a=ti(e),d=Cr(n,a);d.payload=t,r!=null&&(d.callback=r),t=Zr(e,d,a),t!==null&&(Qt(t,e,a,n),No(t,e,a))},"enqueueSetState"),enqueueReplaceState:u(function(e,t,r){e=e._reactInternals;var n=vt(),a=ti(e),d=Cr(n,a);d.tag=1,d.payload=t,r!=null&&(d.callback=r),t=Zr(e,d,a),t!==null&&(Qt(t,e,a,n),No(t,e,a))},"enqueueReplaceState"),enqueueForceUpdate:u(function(e,t){e=e._reactInternals;var r=vt(),n=ti(e),a=Cr(r,n);a.tag=2,t!=null&&(a.callback=t),t=Zr(e,a,n),t!==null&&(Qt(t,e,n,r),No(t,e,n))},"enqueueForceUpdate")};function Tu(e,t,r,n,a,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,d,g):t.prototype&&t.prototype.isPureReactComponent?!Bn(r,n)||!Bn(a,d):!0}c(Tu,"Tc"),u(Tu,"Fi");function Pu(e,t,r){var n=!1,a=bi,d=t.contextType;return typeof d=="object"&&d!==null?d=Lt(d):(a=_t(t)?Gi:mt.current,n=t.contextTypes,d=(n=n!=null)?Yi(e,a):bi),t=new t(r,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=d),t}c(Pu,"wf"),u(Pu,"Gi");function zu(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}c(zu,"Ic"),u(zu,"Hi");function ma(e,t,r,n){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs={},ea(e);var d=t.contextType;typeof d=="object"&&d!==null?a.context=Lt(d):(d=_t(t)?Gi:mt.current,a.context=Yi(e,d)),a.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(fa(e,t,d,r),a.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(t=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),t!==a.state&&ga.enqueueReplaceState(a,a.state,null),Ho(e,r,a,n),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308)}c(ma,"Du"),u(ma,"Ii");function en(e,t){try{var r="",n=t;do r+=we(n),n=n.return;while(n);var a=r}catch(d){a=`
7
+ Error generating stack: `+d.message+`
8
+ `+d.stack}return{value:e,source:t,stack:a,digest:null}}c(en,"er"),u(en,"Ji");function ya(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}c(ya,"Ji"),u(ya,"Ki");function ba(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}c(ba,"Lu"),u(ba,"Li");var pf=typeof WeakMap=="function"?WeakMap:Map;function Iu(e,t,r){r=Cr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Ea||(Ea=!0,ad=n),ba(e,t)},r}c(Iu,"Cf"),u(Iu,"Ni");function Eu(e,t,r){r=Cr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){ba(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(r.callback=function(){ba(e,t),typeof n!="function"&&(xi===null?xi=new Set([this]):xi.add(this));var g=t.stack;this.componentDidCatch(t.value,{componentStack:g!==null?g:""})}),r}c(Eu,"Sf"),u(Eu,"Qi");function Ru(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new pf;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=Xc.bind(null,e,t,r),t.then(e,e))}c(Ru,"Nc"),u(Ru,"Si");function Mu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}c(Mu,"Dc"),u(Mu,"Ui");function Du(e,t,r,n,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Cr(-1,1),t.tag=2,Zr(r,t,1))),r.lanes|=1),e)}c(Du,"Lc"),u(Du,"Vi");var ff=K.ReactCurrentOwner,zt=!1;function yt(e,t,r,n){t.child=e===null?Ec(t,null,r,n):$n(t,e.child,r,n)}c(yt,"Se"),u(yt,"Xi");function Bu(e,t,r,n,a){r=r.render;var d=t.ref;return qi(t,a),n=aa(e,t,r,n,d,a),r=sa(),e!==null&&!zt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,kr(e,t,a)):(je&&r&&Ul(t),t.flags|=1,yt(e,t,n,a),t.child)}c(Bu,"Fc"),u(Bu,"Yi");function Fu(e,t,r,n,a){if(e===null){var d=r.type;return typeof d=="function"&&!Na(d)&&d.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=d,Lu(e,t,d,n,a)):(e=il(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!(e.lanes&a)){var g=d.memoizedProps;if(r=r.compare,r=r!==null?r:Bn,r(g,n)&&e.ref===t.ref)return kr(e,t,a)}return t.flags|=1,e=ii(d,n),e.ref=t.ref,e.return=t,t.child=e}c(Fu,"Oc"),u(Fu,"$i");function Lu(e,t,r,n,a){if(e!==null){var d=e.memoizedProps;if(Bn(d,n)&&e.ref===t.ref)if(zt=!1,t.pendingProps=n=d,(e.lanes&a)!==0)e.flags&131072&&(zt=!0);else return t.lanes=e.lanes,kr(e,t,a)}return va(e,t,r,n,a)}c(Lu,"kf"),u(Lu,"bj");function Au(e,t,r){var n=t.pendingProps,a=n.children,d=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},We(Qn,Ot),Ot|=r;else{if(!(r&1073741824))return e=d!==null?d.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,We(Qn,Ot),Ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=d!==null?d.baseLanes:r,We(Qn,Ot),Ot|=n}else d!==null?(n=d.baseLanes|r,t.memoizedState=null):n=r,We(Qn,Ot),Ot|=n;return yt(e,t,a,r),t.child}c(Au,"xf"),u(Au,"dj");function Ou(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}c(Ou,"Ef"),u(Ou,"gj");function va(e,t,r,n,a){var d=_t(r)?Gi:mt.current;return d=Yi(t,d),qi(t,a),r=aa(e,t,r,n,d,a),n=sa(),e!==null&&!zt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,kr(e,t,a)):(je&&n&&Ul(t),t.flags|=1,yt(e,t,r,a),t.child)}c(va,"Fu"),u(va,"cj");function Wu(e,t,r,n,a){if(_t(r)){var d=!0;Ao(t)}else d=!1;if(qi(t,a),t.stateNode===null)Qo(e,t),Pu(t,r,n),ma(t,r,n,a),n=!0;else if(e===null){var g=t.stateNode,y=t.memoizedProps;g.props=y;var v=g.context,T=r.contextType;typeof T=="object"&&T!==null?T=Lt(T):(T=_t(r)?Gi:mt.current,T=Yi(t,T));var O=r.getDerivedStateFromProps,W=typeof O=="function"||typeof g.getSnapshotBeforeUpdate=="function";W||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(y!==n||v!==T)&&zu(t,g,n,T),wi=!1;var A=t.memoizedState;g.state=A,Ho(t,n,g,a),v=t.memoizedState,y!==n||A!==v||Pt.current||wi?(typeof O=="function"&&(fa(t,r,O,n),v=t.memoizedState),(y=wi||Tu(t,r,y,n,A,v,T))?(W||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(t.flags|=4194308)):(typeof g.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=v),g.props=n,g.state=v,g.context=T,n=y):(typeof g.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{g=t.stateNode,Js(e,t),y=t.memoizedProps,T=t.type===t.elementType?y:Xt(t.type,y),g.props=T,W=t.pendingProps,A=g.context,v=r.contextType,typeof v=="object"&&v!==null?v=Lt(v):(v=_t(r)?Gi:mt.current,v=Yi(t,v));var Z=r.getDerivedStateFromProps;(O=typeof Z=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(y!==W||A!==v)&&zu(t,g,n,v),wi=!1,A=t.memoizedState,g.state=A,Ho(t,n,g,a);var re=t.memoizedState;y!==W||A!==re||Pt.current||wi?(typeof Z=="function"&&(fa(t,r,Z,n),re=t.memoizedState),(T=wi||Tu(t,r,T,n,A,re,v)||!1)?(O||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(n,re,v),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(n,re,v)),typeof g.componentDidUpdate=="function"&&(t.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof g.componentDidUpdate!="function"||y===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=re),g.props=n,g.state=re,g.context=v,n=T):(typeof g.componentDidUpdate!="function"||y===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),n=!1)}return wa(e,t,r,n,d,a)}c(Wu,"Mc"),u(Wu,"hj");function wa(e,t,r,n,a,d){Ou(e,t);var g=(t.flags&128)!==0;if(!n&&!g)return a&&Hs(t,r,!1),kr(e,t,d);n=t.stateNode,ff.current=t;var y=g&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&g?(t.child=$n(t,e.child,null,d),t.child=$n(t,null,y,d)):yt(e,t,y,d),t.memoizedState=n.state,a&&Hs(t,r,!0),t.child}c(wa,"Ou"),u(wa,"jj");function Nu(e){var t=e.stateNode;t.pendingContext?Ws(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ws(e,t.context,!1),ta(e,t.containerInfo)}c(Nu,"Rf"),u(Nu,"kj");function Hu(e,t,r,n,a){return Ki(),Yl(a),t.flags|=256,yt(e,t,r,n),t.child}c(Hu,"jc"),u(Hu,"lj");var ju={dehydrated:null,treeContext:null,retryLane:0};function _a(e){return{baseLanes:e,cachePool:null,transitions:null}}c(_a,"ju"),u(_a,"nj");function Uu(e,t,r){var n=t.pendingProps,a=Ue.current,d=!1,g=(t.flags&128)!==0,y;if((y=g)||(y=e!==null&&e.memoizedState===null?!1:(a&2)!==0),y?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),We(Ue,a&1),e===null)return Gl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(g=n.children,e=n.fallback,d?(n=t.mode,d=t.child,g={mode:"hidden",children:g},!(n&1)&&d!==null?(d.childLanes=0,d.pendingProps=g):d=nl(g,n,0,null),e=Pi(e,n,r,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=_a(r),t.memoizedState=ju,e):xa(t,g));if(a=e.memoizedState,a!==null&&(y=a.dehydrated,y!==null))return Bc(e,t,g,n,y,a,r);if(d){d=n.fallback,g=t.mode,a=e.child,y=a.sibling;var v={mode:"hidden",children:n.children};return!(g&1)&&t.child!==a?(n=t.child,n.childLanes=0,n.pendingProps=v,t.deletions=null):(n=ii(a,v),n.subtreeFlags=a.subtreeFlags&14680064),y!==null?d=ii(y,d):(d=Pi(d,g,r,null),d.flags|=2),d.return=t,n.return=t,n.sibling=d,t.child=n,n=d,d=t.child,g=e.child.memoizedState,g=g===null?_a(r):{baseLanes:g.baseLanes|r,cachePool:null,transitions:g.transitions},d.memoizedState=g,d.childLanes=e.childLanes&~r,t.memoizedState=ju,n}return d=e.child,e=d.sibling,n=ii(d,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}c(Uu,"_f"),u(Uu,"oj");function xa(e,t){return t=nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}c(xa,"Rs"),u(xa,"qj");function qo(e,t,r,n){return n!==null&&Yl(n),$n(t,e.child,null,r),e=xa(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}c(qo,"Jo"),u(qo,"sj");function Bc(e,t,r,n,a,d,g){if(r)return t.flags&256?(t.flags&=-257,n=ya(Error(s(422))),qo(e,t,g,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=n.fallback,a=t.mode,n=nl({mode:"visible",children:n.children},a,0,null),d=Pi(d,a,g,null),d.flags|=2,n.return=t,d.return=t,n.sibling=d,t.child=n,t.mode&1&&$n(t,e.child,null,g),t.child.memoizedState=_a(g),t.memoizedState=ju,d);if(!(t.mode&1))return qo(e,t,g,null);if(a.data==="$!"){if(n=a.nextSibling&&a.nextSibling.dataset,n)var y=n.dgst;return n=y,d=Error(s(419)),n=ya(d,n,void 0),qo(e,t,g,n)}if(y=(g&e.childLanes)!==0,zt||y){if(n=ot,n!==null){switch(g&-g){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(n.suspendedLanes|g)?0:a,a!==0&&a!==d.retryLane&&(d.retryLane=a,xr(e,a),Qt(n,e,a,-1))}return Wa(),n=ya(Error(s(421))),qo(e,t,g,n)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=Kc.bind(null,e),a._reactRetry=t,null):(e=d.treeContext,Ft=$r(a.nextSibling),Bt=t,je=!0,cr=null,e!==null&&(Gt[Yt++]=qr,Gt[Yt++]=Qr,Gt[Yt++]=Xi,qr=e.id,Qr=e.overflow,Xi=t),t=xa(t,n.children),t.flags|=4096,t)}c(Bc,"mg"),u(Bc,"rj");function Vu(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Zl(e.return,t,r)}c(Vu,"Hc"),u(Vu,"vj");function Ca(e,t,r,n,a){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=n,d.tail=r,d.tailMode=a)}c(Ca,"qi"),u(Ca,"wj");function $u(e,t,r){var n=t.pendingProps,a=n.revealOrder,d=n.tail;if(yt(e,t,n.children,r),n=Ue.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Vu(e,r,t);else if(e.tag===19)Vu(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(We(Ue,n),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(r=t.child,a=null;r!==null;)e=r.alternate,e!==null&&$o(e)===null&&(a=r),r=r.sibling;r=a,r===null?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),Ca(t,!1,a,r,d);break;case"backwards":for(r=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&$o(e)===null){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}Ca(t,!0,r,null,d);break;case"together":Ca(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}c($u,"zf"),u($u,"xj");function Qo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}c(Qo,"il"),u(Qo,"ij");function kr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),rn|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,r=ii(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ii(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}c(kr,"xt"),u(kr,"Zi");function Fc(e,t,r){switch(t.tag){case 3:Nu(t),Ki();break;case 5:ru(t);break;case 1:_t(t.type)&&Ao(t);break;case 4:ta(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;We(Xl,n._currentValue),n._currentValue=a;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(We(Ue,Ue.current&1),t.flags|=128,null):r&t.child.childLanes?Uu(e,t,r):(We(Ue,Ue.current&1),e=kr(e,t,r),e!==null?e.sibling:null);We(Ue,Ue.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return $u(e,t,r);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),We(Ue,Ue.current),n)break;return null;case 22:case 23:return t.lanes=0,Au(e,t,r)}return kr(e,t,r)}c(Fc,"gg"),u(Fc,"yj");var Lc,Gu,Ac,Oc;Lc=u(function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},"zj"),Gu=u(function(){},"Aj"),Ac=u(function(e,t,r,n){var a=e.memoizedProps;if(a!==n){e=t.stateNode,_i(Sr.current);var d=null;switch(r){case"input":a=er(e,a),n=er(e,n),d=[];break;case"select":a=ee({},a,{value:void 0}),n=ee({},n,{value:void 0}),d=[];break;case"textarea":a=ir(e,a),n=ir(e,n),d=[];break;default:typeof a.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Do)}Mi(r,n);var g;r=null;for(T in a)if(!n.hasOwnProperty(T)&&a.hasOwnProperty(T)&&a[T]!=null)if(T==="style"){var y=a[T];for(g in y)y.hasOwnProperty(g)&&(r||(r={}),r[g]="")}else T!=="dangerouslySetInnerHTML"&&T!=="children"&&T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(p.hasOwnProperty(T)?d||(d=[]):(d=d||[]).push(T,null));for(T in n){var v=n[T];if(y=a?.[T],n.hasOwnProperty(T)&&v!==y&&(v!=null||y!=null))if(T==="style")if(y){for(g in y)!y.hasOwnProperty(g)||v&&v.hasOwnProperty(g)||(r||(r={}),r[g]="");for(g in v)v.hasOwnProperty(g)&&y[g]!==v[g]&&(r||(r={}),r[g]=v[g])}else r||(d||(d=[]),d.push(T,r)),r=v;else T==="dangerouslySetInnerHTML"?(v=v?v.__html:void 0,y=y?y.__html:void 0,v!=null&&y!==v&&(d=d||[]).push(T,v)):T==="children"?typeof v!="string"&&typeof v!="number"||(d=d||[]).push(T,""+v):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&(p.hasOwnProperty(T)?(v!=null&&T==="onScroll"&&Ne("scroll",e),d||y===v||(d=[])):(d=d||[]).push(T,v))}r&&(d=d||[]).push("style",r);var T=d;(t.updateQueue=T)&&(t.flags|=4)}},"Bj"),Oc=u(function(e,t,r,n){r!==n&&(t.flags|=4)},"Cj");function Kn(e,t){if(!je)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}c(Kn,"Rr"),u(Kn,"Dj");function ct(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;a!==null;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags&14680064,n|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}c(ct,"ye"),u(ct,"S");function Wc(e,t,r){var n=t.pendingProps;switch(Vl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ct(t),null;case 1:return _t(t.type)&&Lo(),ct(t),null;case 3:return n=t.stateNode,Zi(),He(Pt),He(mt),ia(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Oo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,cr!==null&&(La(cr),cr=null))),Gu(e,t),ct(t),null;case 5:ra(t);var a=_i(Vo.current);if(r=t.type,e!==null&&t.stateNode!=null)Ac(e,t,r,n,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(s(166));return ct(t),null}if(e=_i(Sr.current),Oo(t)){n=t.stateNode,r=t.type;var d=t.memoizedProps;switch(n[_r]=t,n[Bo]=d,e=(t.mode&1)!==0,r){case"dialog":Ne("cancel",n),Ne("close",n);break;case"iframe":case"object":case"embed":Ne("load",n);break;case"video":case"audio":for(a=0;a<Eo.length;a++)Ne(Eo[a],n);break;case"source":Ne("error",n);break;case"img":case"image":case"link":Ne("error",n),Ne("load",n);break;case"details":Ne("toggle",n);break;case"input":Rr(n,d),Ne("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!d.multiple},Ne("invalid",n);break;case"textarea":un(n,d),Ne("invalid",n)}Mi(r,d),a=null;for(var g in d)if(d.hasOwnProperty(g)){var y=d[g];g==="children"?typeof y=="string"?n.textContent!==y&&(d.suppressHydrationWarning!==!0&&Mo(n.textContent,y,e),a=["children",y]):typeof y=="number"&&n.textContent!==""+y&&(d.suppressHydrationWarning!==!0&&Mo(n.textContent,y,e),a=["children",""+y]):p.hasOwnProperty(g)&&y!=null&&g==="onScroll"&&Ne("scroll",n)}switch(r){case"input":gr(n),mr(n,d,!0);break;case"textarea":gr(n),no(n);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(n.onclick=Do)}n=a,t.updateQueue=n,n!==null&&(t.flags|=4)}else{g=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Dr(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=g.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=g.createElement(r,{is:n.is}):(e=g.createElement(r),r==="select"&&(g=e,n.multiple?g.multiple=!0:n.size&&(g.size=n.size))):e=g.createElementNS(e,r),e[_r]=t,e[Bo]=n,Lc(e,t,!1,!1),t.stateNode=e;e:{switch(g=at(r,n),r){case"dialog":Ne("cancel",e),Ne("close",e),a=n;break;case"iframe":case"object":case"embed":Ne("load",e),a=n;break;case"video":case"audio":for(a=0;a<Eo.length;a++)Ne(Eo[a],e);a=n;break;case"source":Ne("error",e),a=n;break;case"img":case"image":case"link":Ne("error",e),Ne("load",e),a=n;break;case"details":Ne("toggle",e),a=n;break;case"input":Rr(e,n),a=er(e,n),Ne("invalid",e);break;case"option":a=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},a=ee({},n,{value:void 0}),Ne("invalid",e);break;case"textarea":un(e,n),a=ir(e,n),Ne("invalid",e);break;default:a=n}Mi(r,a),y=a;for(d in y)if(y.hasOwnProperty(d)){var v=y[d];d==="style"?lo(e,v):d==="dangerouslySetInnerHTML"?(v=v?v.__html:void 0,v!=null&&oo(e,v)):d==="children"?typeof v=="string"?(r!=="textarea"||v!=="")&&Fr(e,v):typeof v=="number"&&Fr(e,""+v):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(p.hasOwnProperty(d)?v!=null&&d==="onScroll"&&Ne("scroll",e):v!=null&&G(e,d,v,g))}switch(r){case"input":gr(e),mr(e,n,!1);break;case"textarea":gr(e),no(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Ce(n.value));break;case"select":e.multiple=!!n.multiple,d=n.value,d!=null?St(e,!!n.multiple,d,!1):n.defaultValue!=null&&St(e,!!n.multiple,n.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=Do)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ct(t),null;case 6:if(e&&t.stateNode!=null)Oc(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(s(166));if(r=_i(Vo.current),_i(Sr.current),Oo(t)){if(n=t.stateNode,r=t.memoizedProps,n[_r]=t,(d=n.nodeValue!==r)&&(e=Bt,e!==null))switch(e.tag){case 3:Mo(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Mo(n.nodeValue,r,(e.mode&1)!==0)}d&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[_r]=t,t.stateNode=n}return ct(t),null;case 13:if(He(Ue),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(je&&Ft!==null&&t.mode&1&&!(t.flags&128))Xs(),Ki(),t.flags|=98560,d=!1;else if(d=Oo(t),n!==null&&n.dehydrated!==null){if(e===null){if(!d)throw Error(s(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(s(317));d[_r]=t}else Ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ct(t),d=!1}else cr!==null&&(La(cr),cr=null),d=!0;if(!d)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||Ue.current&1?tt===0&&(tt=3):Wa())),t.updateQueue!==null&&(t.flags|=4),ct(t),null);case 4:return Zi(),Gu(e,t),e===null&&An(t.stateNode.containerInfo),ct(t),null;case 10:return Ql(t.type._context),ct(t),null;case 17:return _t(t.type)&&Lo(),ct(t),null;case 19:if(He(Ue),d=t.memoizedState,d===null)return ct(t),null;if(n=(t.flags&128)!==0,g=d.rendering,g===null)if(n)Kn(d,!1);else{if(tt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(g=$o(e),g!==null){for(t.flags|=128,Kn(d,!1),n=g.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)d=r,e=n,d.flags&=14680066,g=d.alternate,g===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=g.childLanes,d.lanes=g.lanes,d.child=g.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=g.memoizedProps,d.memoizedState=g.memoizedState,d.updateQueue=g.updateQueue,d.type=g.type,e=g.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return We(Ue,Ue.current&1|2),t.child}e=e.sibling}d.tail!==null&&Ae()>Zn&&(t.flags|=128,n=!0,Kn(d,!1),t.lanes=4194304)}else{if(!n)if(e=$o(g),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Kn(d,!0),d.tail===null&&d.tailMode==="hidden"&&!g.alternate&&!je)return ct(t),null}else 2*Ae()-d.renderingStartTime>Zn&&r!==1073741824&&(t.flags|=128,n=!0,Kn(d,!1),t.lanes=4194304);d.isBackwards?(g.sibling=t.child,t.child=g):(r=d.last,r!==null?r.sibling=g:t.child=g,d.last=g)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Ae(),t.sibling=null,r=Ue.current,We(Ue,n?r&1|2:r&1),t):(ct(t),null);case 22:case 23:return Oa(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ot&1073741824&&(ct(t),t.subtreeFlags&6&&(t.flags|=8192)):ct(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}c(Wc,"yg"),u(Wc,"Ej");function Nc(e,t){switch(Vl(t),t.tag){case 1:return _t(t.type)&&Lo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zi(),He(Pt),He(mt),ia(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ra(t),null;case 13:if(He(Ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return He(Ue),null;case 4:return Zi(),null;case 10:return Ql(t.type._context),null;case 22:case 23:return Oa(),null;case 24:return null;default:return null}}c(Nc,"vg"),u(Nc,"Ij");var Sa=!1,bt=!1,gf=typeof WeakSet=="function"?WeakSet:Set,te=null;function tn(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){$e(e,t,n)}else r.current=null}c(tn,"$n"),u(tn,"Lj");function Yu(e,t,r){try{r()}catch(n){$e(e,t,n)}}c(Yu,"Au"),u(Yu,"Mj");var Hc=!1;function jc(e,t){if(Ds=L,e=Cs(),Ml(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,d=n.focusNode;n=n.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var g=0,y=-1,v=-1,T=0,O=0,W=e,A=null;t:for(;;){for(var Z;W!==r||a!==0&&W.nodeType!==3||(y=g+a),W!==d||n!==0&&W.nodeType!==3||(v=g+n),W.nodeType===3&&(g+=W.nodeValue.length),(Z=W.firstChild)!==null;)A=W,W=Z;for(;;){if(W===e)break t;if(A===r&&++T===a&&(y=g),A===d&&++O===n&&(v=g),(Z=W.nextSibling)!==null)break;W=A,A=W.parentNode}W=Z}r=y===-1||v===-1?null:{start:y,end:v}}else r=null}r=r||{start:0,end:0}}else r=null;for(Bs={focusedElem:e,selectionRange:r},L=!1,te=t;te!==null;)if(t=te,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,te=e;else for(;te!==null;){t=te;try{var re=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var ie=re.memoizedProps,Ye=re.memoizedState,C=t.stateNode,w=C.getSnapshotBeforeUpdate(t.elementType===t.type?ie:Xt(t.type,ie),Ye);C.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch($){$e(t,t.return,$)}if(e=t.sibling,e!==null){e.return=t.return,te=e;break}te=t.return}return re=Hc,Hc=!1,re}c(jc,"Cg"),u(jc,"Oj");function qn(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var d=a.destroy;a.destroy=void 0,d!==void 0&&Yu(t,r,d)}a=a.next}while(a!==n)}}c(qn,"Hr"),u(qn,"Pj");function Zo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}c(Zo,"Wl"),u(Zo,"Qj");function ka(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}c(ka,"Uu"),u(ka,"Rj");function Xu(e){var t=e.alternate;t!==null&&(e.alternate=null,Xu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_r],delete t[Bo],delete t[As],delete t[lf],delete t[af])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}c(Xu,"Nf"),u(Xu,"Sj");function Ku(e){return e.tag===5||e.tag===3||e.tag===4}c(Ku,"Df"),u(Ku,"Tj");function qu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ku(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}c(qu,"Uc"),u(qu,"Uj");function Ta(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Do));else if(n!==4&&(e=e.child,e!==null))for(Ta(e,t,r),e=e.sibling;e!==null;)Ta(e,t,r),e=e.sibling}c(Ta,"$u"),u(Ta,"Vj");function Pa(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Pa(e,t,r),e=e.sibling;e!==null;)Pa(e,t,r),e=e.sibling}c(Pa,"Wu"),u(Pa,"Wj");var ht=null,pr=!1;function Jr(e,t,r){for(r=r.child;r!==null;)Qu(e,t,r),r=r.sibling}c(Jr,"It"),u(Jr,"Yj");function Qu(e,t,r){if(Vt&&typeof Vt.onCommitFiberUnmount=="function")try{Vt.onCommitFiberUnmount(_n,r)}catch{}switch(r.tag){case 5:bt||tn(r,t);case 6:var n=ht,a=pr;ht=null,Jr(e,t,r),ht=n,pr=a,ht!==null&&(pr?(e=ht,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ht.removeChild(r.stateNode));break;case 18:ht!==null&&(pr?(e=ht,r=r.stateNode,e.nodeType===8?Wl(e.parentNode,r):e.nodeType===1&&Wl(e,r),ur(e)):Wl(ht,r.stateNode));break;case 4:n=ht,a=pr,ht=r.stateNode.containerInfo,pr=!0,Jr(e,t,r),ht=n,pr=a;break;case 0:case 11:case 14:case 15:if(!bt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var d=a,g=d.destroy;d=d.tag,g!==void 0&&(d&2||d&4)&&Yu(r,t,g),a=a.next}while(a!==n)}Jr(e,t,r);break;case 1:if(!bt&&(tn(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(y){$e(r,t,y)}Jr(e,t,r);break;case 21:Jr(e,t,r);break;case 22:r.mode&1?(bt=(n=bt)||r.memoizedState!==null,Jr(e,t,r),bt=n):Jr(e,t,r);break;default:Jr(e,t,r)}}c(Qu,"Lf"),u(Qu,"Zj");function Zu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new gf),t.forEach(function(n){var a=qc.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}c(Zu,"$c"),u(Zu,"ak");function Kt(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var a=r[n];try{var d=e,g=t,y=g;e:for(;y!==null;){switch(y.tag){case 5:ht=y.stateNode,pr=!1;break e;case 3:ht=y.stateNode.containerInfo,pr=!0;break e;case 4:ht=y.stateNode.containerInfo,pr=!0;break e}y=y.return}if(ht===null)throw Error(s(160));Qu(d,g,a),ht=null,pr=!1;var v=a.alternate;v!==null&&(v.return=null),a.return=null}catch(T){$e(a,t,T)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ju(t,e),t=t.sibling}c(Kt,"qe"),u(Kt,"ck");function Ju(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Kt(t,e),fr(e),n&4){try{qn(3,e,e.return),Zo(3,e)}catch(ie){$e(e,e.return,ie)}try{qn(5,e,e.return)}catch(ie){$e(e,e.return,ie)}}break;case 1:Kt(t,e),fr(e),n&512&&r!==null&&tn(r,r.return);break;case 5:if(Kt(t,e),fr(e),n&512&&r!==null&&tn(r,r.return),e.flags&32){var a=e.stateNode;try{Fr(a,"")}catch(ie){$e(e,e.return,ie)}}if(n&4&&(a=e.stateNode,a!=null)){var d=e.memoizedProps,g=r!==null?r.memoizedProps:d,y=e.type,v=e.updateQueue;if(e.updateQueue=null,v!==null)try{y==="input"&&d.type==="radio"&&d.name!=null&&Mr(a,d),at(y,g);var T=at(y,d);for(g=0;g<v.length;g+=2){var O=v[g],W=v[g+1];O==="style"?lo(a,W):O==="dangerouslySetInnerHTML"?oo(a,W):O==="children"?Fr(a,W):G(a,O,W,T)}switch(y){case"input":tr(a,d);break;case"textarea":dn(a,d);break;case"select":var A=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!d.multiple;var Z=d.value;Z!=null?St(a,!!d.multiple,Z,!1):A!==!!d.multiple&&(d.defaultValue!=null?St(a,!!d.multiple,d.defaultValue,!0):St(a,!!d.multiple,d.multiple?[]:"",!1))}a[Bo]=d}catch(ie){$e(e,e.return,ie)}}break;case 6:if(Kt(t,e),fr(e),n&4){if(e.stateNode===null)throw Error(s(162));a=e.stateNode,d=e.memoizedProps;try{a.nodeValue=d}catch(ie){$e(e,e.return,ie)}}break;case 3:if(Kt(t,e),fr(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{ur(t.containerInfo)}catch(ie){$e(e,e.return,ie)}break;case 4:Kt(t,e),fr(e);break;case 13:Kt(t,e),fr(e),a=e.child,a.flags&8192&&(d=a.memoizedState!==null,a.stateNode.isHidden=d,!d||a.alternate!==null&&a.alternate.memoizedState!==null||(ld=Ae())),n&4&&Zu(e);break;case 22:if(O=r!==null&&r.memoizedState!==null,e.mode&1?(bt=(T=bt)||O,Kt(t,e),bt=T):Kt(t,e),fr(e),n&8192){if(T=e.memoizedState!==null,(e.stateNode.isHidden=T)&&!O&&e.mode&1)for(te=e,O=e.child;O!==null;){for(W=te=O;te!==null;){switch(A=te,Z=A.child,A.tag){case 0:case 11:case 14:case 15:qn(4,A,A.return);break;case 1:tn(A,A.return);var re=A.stateNode;if(typeof re.componentWillUnmount=="function"){n=A,r=A.return;try{t=n,re.props=t.memoizedProps,re.state=t.memoizedState,re.componentWillUnmount()}catch(ie){$e(n,r,ie)}}break;case 5:tn(A,A.return);break;case 22:if(A.memoizedState!==null){rd(W);continue}}Z!==null?(Z.return=A,te=Z):rd(W)}O=O.sibling}e:for(O=null,W=e;;){if(W.tag===5){if(O===null){O=W;try{a=W.stateNode,T?(d=a.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(y=W.stateNode,v=W.memoizedProps.style,g=v!=null&&v.hasOwnProperty("display")?v.display:null,y.style.display=hn("display",g))}catch(ie){$e(e,e.return,ie)}}}else if(W.tag===6){if(O===null)try{W.stateNode.nodeValue=T?"":W.memoizedProps}catch(ie){$e(e,e.return,ie)}}else if((W.tag!==22&&W.tag!==23||W.memoizedState===null||W===e)&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===e)break e;for(;W.sibling===null;){if(W.return===null||W.return===e)break e;O===W&&(O=null),W=W.return}O===W&&(O=null),W.sibling.return=W.return,W=W.sibling}}break;case 19:Kt(t,e),fr(e),n&4&&Zu(e);break;case 21:break;default:Kt(t,e),fr(e)}}c(Ju,"Ff"),u(Ju,"dk");function fr(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(Ku(r)){var n=r;break e}r=r.return}throw Error(s(160))}switch(n.tag){case 5:var a=n.stateNode;n.flags&32&&(Fr(a,""),n.flags&=-33);var d=qu(e);Pa(e,d,a);break;case 3:case 4:var g=n.stateNode.containerInfo,y=qu(e);Ta(e,y,g);break;default:throw Error(s(161))}}catch(v){$e(e,e.return,v)}e.flags&=-3}t&4096&&(e.flags&=-4097)}c(fr,"st"),u(fr,"ek");function Uc(e,t,r){te=e,ed(e,t,r)}c(Uc,"Sg"),u(Uc,"hk");function ed(e,t,r){for(var n=(e.mode&1)!==0;te!==null;){var a=te,d=a.child;if(a.tag===22&&n){var g=a.memoizedState!==null||Sa;if(!g){var y=a.alternate,v=y!==null&&y.memoizedState!==null||bt;y=Sa;var T=bt;if(Sa=g,(bt=v)&&!T)for(te=a;te!==null;)g=te,v=g.child,g.tag===22&&g.memoizedState!==null?id(a):v!==null?(v.return=g,te=v):id(a);for(;d!==null;)te=d,ed(d,t,r),d=d.sibling;te=a,Sa=y,bt=T}td(e,t,r)}else a.subtreeFlags&8772&&d!==null?(d.return=a,te=d):td(e,t,r)}}c(ed,"Of"),u(ed,"ik");function td(e){for(;te!==null;){var t=te;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:bt||Zo(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!bt)if(r===null)n.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:Xt(t.type,r.memoizedProps);n.componentDidUpdate(a,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&tu(t,d,n);break;case 3:var g=t.updateQueue;if(g!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}tu(t,g,r)}break;case 5:var y=t.stateNode;if(r===null&&t.flags&4){r=y;var v=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":v.autoFocus&&r.focus();break;case"img":v.src&&(r.src=v.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var T=t.alternate;if(T!==null){var O=T.memoizedState;if(O!==null){var W=O.dehydrated;W!==null&&ur(W)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}bt||t.flags&512&&ka(t)}catch(A){$e(t,t.return,A)}}if(t===e){te=null;break}if(r=t.sibling,r!==null){r.return=t.return,te=r;break}te=t.return}}c(td,"Wc"),u(td,"kk");function rd(e){for(;te!==null;){var t=te;if(t===e){te=null;break}var r=t.sibling;if(r!==null){r.return=t.return,te=r;break}te=t.return}}c(rd,"Vc"),u(rd,"gk");function id(e){for(;te!==null;){var t=te;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Zo(4,t)}catch(v){$e(t,r,v)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var a=t.return;try{n.componentDidMount()}catch(v){$e(t,a,v)}}var d=t.return;try{ka(t)}catch(v){$e(t,d,v)}break;case 5:var g=t.return;try{ka(t)}catch(v){$e(t,g,v)}}}catch(v){$e(t,t.return,v)}if(t===e){te=null;break}var y=t.sibling;if(y!==null){y.return=t.return,te=y;break}te=t.return}}c(id,"Bc"),u(id,"jk");var mf=Math.ceil,za=K.ReactCurrentDispatcher,nd=K.ReactCurrentOwner,qt=K.ReactCurrentBatchConfig,Ie=0,ot=null,Ke=null,pt=0,Ot=0,Qn=Yr(0),tt=0,Jo=null,rn=0,Ia=0,od=0,el=null,It=null,ld=0,Zn=1/0,ei=null,Ea=!1,ad=null,xi=null,Ra=!1,Ci=null,Ma=0,tl=0,sd=null,Da=-1,Ba=0;function vt(){return Ie&6?Ae():Da!==-1?Da:Da=Ae()}c(vt,"ke"),u(vt,"R");function ti(e){return e.mode&1?Ie&2&&pt!==0?pt&-pt:sf.transition!==null?(Ba===0&&(Ba=mo()),Ba):(e=Re,e!==0||(e=window.event,e=e===void 0?16:Oe(e.type)),e):1}c(ti,"Vt"),u(ti,"yi");function Qt(e,t,r,n){if(50<tl)throw tl=0,sd=null,Error(s(185));vr(e,r,n),(!(Ie&2)||e!==ot)&&(e===ot&&(!(Ie&2)&&(Ia|=r),tt===4&&ri(e,pt)),xt(e,n),r===1&&Ie===0&&!(t.mode&1)&&(Zn=Ae()+500,Nl&&Kr()))}c(Qt,"rt"),u(Qt,"gi");function xt(e,t){var r=e.callbackNode;zl(e,t);var n=Oi(e,e===ot?pt:0);if(n===0)r!==null&&Cl(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&Cl(r),t===1)e.tag===0?Ic(dd.bind(null,e)):Us(dd.bind(null,e)),of(function(){!(Ie&6)&&Kr()}),r=null;else{switch(Wi(n)){case 1:r=po;break;case 4:r=fo;break;case 16:r=wn;break;case 536870912:r=sr;break;default:r=wn}r=yd(r,ud.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}c(xt,"Ie"),u(xt,"Dk");function ud(e,t){if(Da=-1,Ba=0,Ie&6)throw Error(s(327));var r=e.callbackNode;if(nn()&&e.callbackNode!==r)return null;var n=Oi(e,e===ot?pt:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=rl(e,n);else{t=n;var a=Ie;Ie|=2;var d=hd();(ot!==e||pt!==t)&&(ei=null,Zn=Ae()+500,ki(e,t));do try{Gc();break}catch(y){cd(e,y)}while(!0);ql(),za.current=d,Ie=a,Ke!==null?t=0:(ot=null,pt=0,t=tt)}if(t!==0){if(t===2&&(a=kn(e),a!==0&&(n=a,t=Fa(e,a))),t===1)throw r=Jo,ki(e,0),ri(e,n),xt(e,Ae()),r;if(t===6)ri(e,n);else{if(a=e.current.alternate,!(n&30)&&!Vc(a)&&(t=rl(e,n),t===2&&(d=kn(e),d!==0&&(n=d,t=Fa(e,d))),t===1))throw r=Jo,ki(e,0),ri(e,n),xt(e,Ae()),r;switch(e.finishedWork=a,e.finishedLanes=n,t){case 0:case 1:throw Error(s(345));case 2:Ti(e,It,ei);break;case 3:if(ri(e,n),(n&130023424)===n&&(t=ld+500-Ae(),10<t)){if(Oi(e,0)!==0)break;if(a=e.suspendedLanes,(a&n)!==n){vt(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Fs(Ti.bind(null,e,It,ei),t);break}Ti(e,It,ei);break;case 4:if(ri(e,n),(n&4194240)===n)break;for(t=e.eventTimes,a=-1;0<n;){var g=31-it(n);d=1<<g,g=t[g],g>a&&(a=g),n&=~d}if(n=a,n=Ae()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*mf(n/1960))-n,10<n){e.timeoutHandle=Fs(Ti.bind(null,e,It,ei),n);break}Ti(e,It,ei);break;case 5:Ti(e,It,ei);break;default:throw Error(s(329))}}}return xt(e,Ae()),e.callbackNode===r?ud.bind(null,e):null}c(ud,"Mf"),u(ud,"Gk");function Fa(e,t){var r=el;return e.current.memoizedState.isDehydrated&&(ki(e,t).flags|=256),e=rl(e,t),e!==2&&(t=It,It=r,t!==null&&La(t)),e}c(Fa,"Ku"),u(Fa,"Nk");function La(e){It===null?It=e:It.push.apply(It,e)}c(La,"Gu"),u(La,"Fj");function Vc(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var a=r[n],d=a.getSnapshot;a=a.value;try{if(!dr(d(),a))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}c(Vc,"xg"),u(Vc,"Ok");function ri(e,t){for(t&=~od,t&=~Ia,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-it(t),n=1<<r;e[r]=-1,t&=~n}}c(ri,"Ft"),u(ri,"Ck");function dd(e){if(Ie&6)throw Error(s(327));nn();var t=Oi(e,0);if(!(t&1))return xt(e,Ae()),null;var r=rl(e,t);if(e.tag!==0&&r===2){var n=kn(e);n!==0&&(t=n,r=Fa(e,n))}if(r===1)throw r=Jo,ki(e,0),ri(e,t),xt(e,Ae()),r;if(r===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ti(e,It,ei),xt(e,Ae()),null}c(dd,"Kc"),u(dd,"Ek");function Aa(e,t){var r=Ie;Ie|=1;try{return e(t)}finally{Ie=r,Ie===0&&(Zn=Ae()+500,Nl&&Kr())}}c(Aa,"Ts"),u(Aa,"Qk");function Si(e){Ci!==null&&Ci.tag===0&&!(Ie&6)&&nn();var t=Ie;Ie|=1;var r=qt.transition,n=Re;try{if(qt.transition=null,Re=1,e)return e()}finally{Re=n,qt.transition=r,Ie=t,!(Ie&6)&&Kr()}}c(Si,"pn"),u(Si,"Rk");function Oa(){Ot=Qn.current,He(Qn)}c(Oa,"Is"),u(Oa,"Hj");function ki(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,nf(r)),Ke!==null)for(r=Ke.return;r!==null;){var n=r;switch(Vl(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Lo();break;case 3:Zi(),He(Pt),He(mt),ia();break;case 5:ra(n);break;case 4:Zi();break;case 13:He(Ue);break;case 19:He(Ue);break;case 10:Ql(n.type._context);break;case 22:case 23:Oa()}r=r.return}if(ot=e,Ke=e=ii(e.current,null),pt=Ot=t,tt=0,Jo=null,od=Ia=rn=0,It=el=null,Qi!==null){for(t=0;t<Qi.length;t++)if(r=Qi[t],n=r.interleaved,n!==null){r.interleaved=null;var a=n.next,d=r.pending;if(d!==null){var g=d.next;d.next=a,n.next=g}r.pending=n}Qi=null}return e}c(ki,"un"),u(ki,"Kk");function cd(e,t){do{var r=Ke;try{if(ql(),na.current=pa,oa){for(var n=Ve.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}oa=!1}if(Ji=0,nt=et=Ve=null,Go=!1,Yo=0,nd.current=null,r===null||r.return===null){tt=1,Jo=t,Ke=null;break}e:{var d=e,g=r.return,y=r,v=t;if(t=pt,y.flags|=32768,v!==null&&typeof v=="object"&&typeof v.then=="function"){var T=v,O=y,W=O.tag;if(!(O.mode&1)&&(W===0||W===11||W===15)){var A=O.alternate;A?(O.updateQueue=A.updateQueue,O.memoizedState=A.memoizedState,O.lanes=A.lanes):(O.updateQueue=null,O.memoizedState=null)}var Z=Mu(g);if(Z!==null){Z.flags&=-257,Du(Z,g,y,d,t),Z.mode&1&&Ru(d,T,t),t=Z,v=T;var re=t.updateQueue;if(re===null){var ie=new Set;ie.add(v),t.updateQueue=ie}else re.add(v);break e}else{if(!(t&1)){Ru(d,T,t),Wa();break e}v=Error(s(426))}}else if(je&&y.mode&1){var Ye=Mu(g);if(Ye!==null){!(Ye.flags&65536)&&(Ye.flags|=256),Du(Ye,g,y,d,t),Yl(en(v,y));break e}}d=v=en(v,y),tt!==4&&(tt=2),el===null?el=[d]:el.push(d),d=g;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var C=Iu(d,v,t);eu(d,C);break e;case 1:y=v;var w=d.type,S=d.stateNode;if(!(d.flags&128)&&(typeof w.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(xi===null||!xi.has(S)))){d.flags|=65536,t&=-t,d.lanes|=t;var $=Eu(d,y,t);eu(d,$);break e}}d=d.return}while(d!==null)}fd(r)}catch(le){t=le,Ke===r&&r!==null&&(Ke=r=r.return);continue}break}while(!0)}c(cd,"jf"),u(cd,"Mk");function hd(){var e=za.current;return za.current=pa,e===null?pa:e}c(hd,"Hf"),u(hd,"Jk");function Wa(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||!(rn&268435455)&&!(Ia&268435455)||ri(ot,pt)}c(Wa,"Ns"),u(Wa,"tj");function rl(e,t){var r=Ie;Ie|=2;var n=hd();(ot!==e||pt!==t)&&(ei=null,ki(e,t));do try{$c();break}catch(a){cd(e,a)}while(!0);if(ql(),Ie=r,za.current=n,Ke!==null)throw Error(s(261));return ot=null,pt=0,tt}c(rl,"Dl"),u(rl,"Ik");function $c(){for(;Ke!==null;)pd(Ke)}c($c,"Eg"),u($c,"Tk");function Gc(){for(;Ke!==null&&!ls();)pd(Ke)}c(Gc,"Rg"),u(Gc,"Lk");function pd(e){var t=Qc(e.alternate,e,Ot);e.memoizedProps=e.pendingProps,t===null?fd(e):Ke=t,nd.current=null}c(pd,"Af"),u(pd,"Uk");function fd(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=Nc(r,t),r!==null){r.flags&=32767,Ke=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ke=null;return}}else if(r=Wc(r,t,Ot),r!==null){Ke=r;return}if(t=t.sibling,t!==null){Ke=t;return}Ke=t=e}while(t!==null);tt===0&&(tt=5)}c(fd,"Uf"),u(fd,"Sk");function Ti(e,t,r){var n=Re,a=qt.transition;try{qt.transition=null,Re=1,Yc(e,t,r,n)}finally{qt.transition=a,Re=n}return null}c(Ti,"nn"),u(Ti,"Pk");function Yc(e,t,r,n){do nn();while(Ci!==null);if(Ie&6)throw Error(s(327));r=e.finishedWork;var a=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var d=r.lanes|r.childLanes;if(yo(e,d),e===ot&&(Ke=ot=null,pt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Ra||(Ra=!0,yd(wn,function(){return nn(),null})),d=(r.flags&15990)!==0,r.subtreeFlags&15990||d){d=qt.transition,qt.transition=null;var g=Re;Re=1;var y=Ie;Ie|=4,nd.current=null,jc(e,r),Ju(r,e),yc(Bs),L=!!Ds,Bs=Ds=null,e.current=r,Uc(r,e,a),Ai(),Ie=y,Re=g,qt.transition=d}else e.current=r;if(Ra&&(Ra=!1,Ci=e,Ma=a),d=e.pendingLanes,d===0&&(xi=null),kl(r.stateNode,n),xt(e,Ae()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],n(a.value,{componentStack:a.stack,digest:a.digest});if(Ea)throw Ea=!1,e=ad,ad=null,e;return Ma&1&&e.tag!==0&&nn(),d=e.pendingLanes,d&1?e===sd?tl++:(tl=0,sd=e):tl=0,Kr(),null}c(Yc,"_g"),u(Yc,"Wk");function nn(){if(Ci!==null){var e=Wi(Ma),t=qt.transition,r=Re;try{if(qt.transition=null,Re=16>e?16:e,Ci===null)var n=!1;else{if(e=Ci,Ci=null,Ma=0,Ie&6)throw Error(s(331));var a=Ie;for(Ie|=4,te=e.current;te!==null;){var d=te,g=d.child;if(te.flags&16){var y=d.deletions;if(y!==null){for(var v=0;v<y.length;v++){var T=y[v];for(te=T;te!==null;){var O=te;switch(O.tag){case 0:case 11:case 15:qn(8,O,d)}var W=O.child;if(W!==null)W.return=O,te=W;else for(;te!==null;){O=te;var A=O.sibling,Z=O.return;if(Xu(O),O===T){te=null;break}if(A!==null){A.return=Z,te=A;break}te=Z}}}var re=d.alternate;if(re!==null){var ie=re.child;if(ie!==null){re.child=null;do{var Ye=ie.sibling;ie.sibling=null,ie=Ye}while(ie!==null)}}te=d}}if(d.subtreeFlags&2064&&g!==null)g.return=d,te=g;else e:for(;te!==null;){if(d=te,d.flags&2048)switch(d.tag){case 0:case 11:case 15:qn(9,d,d.return)}var C=d.sibling;if(C!==null){C.return=d.return,te=C;break e}te=d.return}}var w=e.current;for(te=w;te!==null;){g=te;var S=g.child;if(g.subtreeFlags&2064&&S!==null)S.return=g,te=S;else e:for(g=w;te!==null;){if(y=te,y.flags&2048)try{switch(y.tag){case 0:case 11:case 15:Zo(9,y)}}catch(le){$e(y,y.return,le)}if(y===g){te=null;break e}var $=y.sibling;if($!==null){$.return=y.return,te=$;break e}te=y.return}}if(Ie=a,Kr(),Vt&&typeof Vt.onPostCommitFiberRoot=="function")try{Vt.onPostCommitFiberRoot(_n,e)}catch{}n=!0}return n}finally{Re=r,qt.transition=t}}return!1}c(nn,"Yn"),u(nn,"Hk");function gd(e,t,r){t=en(r,t),t=Iu(e,t,1),e=Zr(e,t,1),t=vt(),e!==null&&(vr(e,1,t),xt(e,t))}c(gd,"Gc"),u(gd,"Xk");function $e(e,t,r){if(e.tag===3)gd(e,e,r);else for(;t!==null;){if(t.tag===3){gd(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(xi===null||!xi.has(n))){e=en(r,e),e=Eu(t,e,1),t=Zr(t,e,1),e=vt(),t!==null&&(vr(t,1,e),xt(t,e));break}}t=t.return}}c($e,"oe"),u($e,"W");function Xc(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=vt(),e.pingedLanes|=e.suspendedLanes&r,ot===e&&(pt&r)===r&&(tt===4||tt===3&&(pt&130023424)===pt&&500>Ae()-ld?ki(e,0):od|=r),xt(e,t)}c(Xc,"zg"),u(Xc,"Ti");function md(e,t){t===0&&(e.mode&1?(t=Sn,Sn<<=1,!(Sn&130023424)&&(Sn=4194304)):t=1);var r=vt();e=xr(e,t),e!==null&&(vr(e,t,r),xt(e,r))}c(md,"$f"),u(md,"Yk");function Kc(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),md(e,r)}c(Kc,"Pg"),u(Kc,"uj");function qc(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(s(314))}n!==null&&n.delete(t),md(e,r)}c(qc,"Tg"),u(qc,"bk");var Qc;Qc=u(function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pt.current)zt=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return zt=!1,Fc(e,t,r);zt=!!(e.flags&131072)}else zt=!1,je&&t.flags&1048576&&Vs(t,jl,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Qo(e,t),e=t.pendingProps;var a=Yi(t,mt.current);qi(t,r),a=aa(null,t,n,e,a,r);var d=sa();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_t(n)?(d=!0,Ao(t)):d=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ea(t),a.updater=ga,t.stateNode=a,a._reactInternals=t,ma(t,n,e,r),t=wa(null,t,n,!0,d,r)):(t.tag=0,je&&d&&Ul(t),yt(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Qo(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=Jc(n),e=Xt(n,e),a){case 0:t=va(null,t,n,e,r);break e;case 1:t=Wu(null,t,n,e,r);break e;case 11:t=Bu(null,t,n,e,r);break e;case 14:t=Fu(null,t,n,Xt(n.type,e),r);break e}throw Error(s(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Xt(n,a),va(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Xt(n,a),Wu(e,t,n,a,r);case 3:e:{if(Nu(t),e===null)throw Error(s(387));n=t.pendingProps,d=t.memoizedState,a=d.element,Js(e,t),Ho(t,n,null,r);var g=t.memoizedState;if(n=g.element,d.isDehydrated)if(d={element:n,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){a=en(Error(s(423)),t),t=Hu(e,t,n,r,a);break e}else if(n!==a){a=en(Error(s(424)),t),t=Hu(e,t,n,r,a);break e}else for(Ft=$r(t.stateNode.containerInfo.firstChild),Bt=t,je=!0,cr=null,r=Ec(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ki(),n===a){t=kr(e,t,r);break e}yt(e,t,n,r)}t=t.child}return t;case 5:return ru(t),e===null&&Gl(t),n=t.type,a=t.pendingProps,d=e!==null?e.memoizedProps:null,g=a.children,Ol(n,a)?g=null:d!==null&&Ol(n,d)&&(t.flags|=32),Ou(e,t),yt(e,t,g,r),t.child;case 6:return e===null&&Gl(t),null;case 13:return Uu(e,t,r);case 4:return ta(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=$n(t,null,n,r):yt(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Xt(n,a),Bu(e,t,n,a,r);case 7:return yt(e,t,t.pendingProps,r),t.child;case 8:return yt(e,t,t.pendingProps.children,r),t.child;case 12:return yt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,d=t.memoizedProps,g=a.value,We(Xl,n._currentValue),n._currentValue=g,d!==null)if(dr(d.value,g)){if(d.children===a.children&&!Pt.current){t=kr(e,t,r);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var y=d.dependencies;if(y!==null){g=d.child;for(var v=y.firstContext;v!==null;){if(v.context===n){if(d.tag===1){v=Cr(-1,r&-r),v.tag=2;var T=d.updateQueue;if(T!==null){T=T.shared;var O=T.pending;O===null?v.next=v:(v.next=O.next,O.next=v),T.pending=v}}d.lanes|=r,v=d.alternate,v!==null&&(v.lanes|=r),Zl(d.return,r,t),y.lanes|=r;break}v=v.next}}else if(d.tag===10)g=d.type===t.type?null:d.child;else if(d.tag===18){if(g=d.return,g===null)throw Error(s(341));g.lanes|=r,y=g.alternate,y!==null&&(y.lanes|=r),Zl(g,r,t),g=d.sibling}else g=d.child;if(g!==null)g.return=d;else for(g=d;g!==null;){if(g===t){g=null;break}if(d=g.sibling,d!==null){d.return=g.return,g=d;break}g=g.return}d=g}yt(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,qi(t,r),a=Lt(a),n=n(a),t.flags|=1,yt(e,t,n,r),t.child;case 14:return n=t.type,a=Xt(n,t.pendingProps),a=Xt(n.type,a),Fu(e,t,n,a,r);case 15:return Lu(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Xt(n,a),Qo(e,t),t.tag=1,_t(n)?(e=!0,Ao(t)):e=!1,qi(t,r),Pu(t,n,a),ma(t,n,a,r),wa(null,t,n,!0,e,r);case 19:return $u(e,t,r);case 22:return Au(e,t,r)}throw Error(s(156,t.tag))},"Vk");function yd(e,t){return co(e,t)}c(yd,"Vf"),u(yd,"Fk");function Zc(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}c(Zc,"Ig"),u(Zc,"$k");function Wt(e,t,r,n){return new Zc(e,t,r,n)}c(Wt,"Ke"),u(Wt,"Bg");function Na(e){return e=e.prototype,!(!e||!e.isReactComponent)}c(Na,"Ds"),u(Na,"aj");function Jc(e){if(typeof e=="function")return Na(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ce)return 11;if(e===Pe)return 14}return 2}c(Jc,"Ng"),u(Jc,"Zk");function ii(e,t){var r=e.alternate;return r===null?(r=Wt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}c(ii,"Bt"),u(ii,"Pg");function il(e,t,r,n,a,d){var g=2;if(n=e,typeof e=="function")Na(e)&&(g=1);else if(typeof e=="string")g=5;else e:switch(e){case k:return Pi(r.children,a,d,t);case Q:g=8,a|=8;break;case ae:return e=Wt(12,r,t,a|2),e.elementType=ae,e.lanes=d,e;case Fe:return e=Wt(13,r,t,a),e.elementType=Fe,e.lanes=d,e;case Se:return e=Wt(19,r,t,a),e.elementType=Se,e.lanes=d,e;case U:return nl(r,a,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ye:g=10;break e;case ge:g=9;break e;case ce:g=11;break e;case Pe:g=14;break e;case Le:g=16,n=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Wt(g,r,t,a),t.elementType=e,t.type=n,t.lanes=d,t}c(il,"al"),u(il,"Rg");function Pi(e,t,r,n){return e=Wt(7,e,n,t),e.lanes=r,e}c(Pi,"sn"),u(Pi,"Tg");function nl(e,t,r,n){return e=Wt(22,e,n,t),e.elementType=U,e.lanes=r,e.stateNode={isHidden:!1},e}c(nl,"Bl"),u(nl,"pj");function Ha(e,t,r){return e=Wt(6,e,null,t),e.lanes=r,e}c(Ha,"bi"),u(Ha,"Qg");function ja(e,t,r){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}c(ja,"eu"),u(ja,"Sg");function eh(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Tn(0),this.expirationTimes=Tn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tn(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}c(eh,"Dg"),u(eh,"al");function Ua(e,t,r,n,a,d,g,y,v){return e=new eh(e,t,r,y,v),t===1?(t=1,d===!0&&(t|=8)):t=0,d=Wt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},ea(d),e}c(Ua,"Ls"),u(Ua,"bl");function th(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:E,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}c(th,"Lg"),u(th,"cl");function bd(e){if(!e)return bi;e=e._reactInternals;e:{if(ar(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_t(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var r=e.type;if(_t(r))return Ns(e,r,t)}return t}c(bd,"Bf"),u(bd,"dl");function vd(e,t,r,n,a,d,g,y,v){return e=Ua(r,n,!0,e,a,d,g,y,v),e.context=bd(null),r=e.current,n=vt(),a=ti(r),d=Cr(n,a),d.callback=t??null,Zr(r,d,a),e.current.lanes=a,vr(e,a,n),xt(e,n),e}c(vd,"Kf"),u(vd,"el");function ol(e,t,r,n){var a=t.current,d=vt(),g=ti(a);return r=bd(r),t.context===null?t.context=r:t.pendingContext=r,t=Cr(d,g),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Zr(a,t,g),e!==null&&(Qt(e,a,g,d),No(e,a,g)),g}c(ol,"Kl"),u(ol,"fl");function ll(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}c(ll,"Ll"),u(ll,"gl");function wd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}c(wd,"Qc"),u(wd,"hl");function Va(e,t){wd(e,t),(e=e.alternate)&&wd(e,t)}c(Va,"Fs"),u(Va,"il");function rh(){return null}c(rh,"Fg"),u(rh,"jl");var ih=typeof reportError=="function"?reportError:function(e){console.error(e)};function $a(e){this._internalRoot=e}c($a,"Os"),u($a,"ll"),al.prototype.render=$a.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));ol(e,t,null,null)},al.prototype.unmount=$a.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Si(function(){ol(null,e,null,null)}),t[Gr]=null}};function al(e){this._internalRoot=e}c(al,"Gl"),u(al,"ml"),al.prototype.unstable_scheduleHydration=function(e){if(e){var t=zn();e={blockedOn:null,target:e,priority:t};for(var r=0;r<kt.length&&t!==0&&t<kt[r].priority;r++);kt.splice(r,0,e),r===0&&Hi(e)}};function Ga(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}c(Ga,"Ms"),u(Ga,"nl");function sl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}c(sl,"Ql"),u(sl,"ol");function _d(){}c(_d,"Yc"),u(_d,"pl");function nh(e,t,r,n,a){if(a){if(typeof n=="function"){var d=n;n=u(function(){var T=ll(g);d.call(T)},"d")}var g=vd(t,n,e,0,null,!1,!1,"",_d);return e._reactRootContainer=g,e[Gr]=g.current,An(e.nodeType===8?e.parentNode:e),Si(),g}for(;a=e.lastChild;)e.removeChild(a);if(typeof n=="function"){var y=n;n=u(function(){var T=ll(v);y.call(T)},"d")}var v=Ua(e,0,!1,null,null,!1,!1,"",_d);return e._reactRootContainer=v,e[Gr]=v.current,An(e.nodeType===8?e.parentNode:e),Si(function(){ol(t,v,r,n)}),v}c(nh,"Og"),u(nh,"ql");function ul(e,t,r,n,a){var d=r._reactRootContainer;if(d){var g=d;if(typeof a=="function"){var y=a;a=u(function(){var v=ll(g);y.call(v)},"e")}ol(t,g,e,a)}else g=nh(r,t,e,a,n);return ll(g)}c(ul,"Yl"),u(ul,"rl"),bo=u(function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=ci(t.pendingLanes);r!==0&&(hi(t,r|1),xt(t,Ae()),!(Ie&6)&&(Zn=Ae()+500,Kr()))}break;case 13:Si(function(){var n=xr(e,1);if(n!==null){var a=vt();Qt(n,e,1,a)}}),Va(e,1)}},"Ec"),Pn=u(function(e){if(e.tag===13){var t=xr(e,134217728);if(t!==null){var r=vt();Qt(t,e,134217728,r)}Va(e,134217728)}},"Fc"),pi=u(function(e){if(e.tag===13){var t=ti(e),r=xr(e,t);if(r!==null){var n=vt();Qt(r,e,t,n)}Va(e,t)}},"Gc"),zn=u(function(){return Re},"Hc"),vo=u(function(e,t){var r=Re;try{return Re=e,t()}finally{Re=r}},"Ic"),fn=u(function(e,t,r){switch(t){case"input":if(tr(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=Fo(n);if(!a)throw Error(s(90));Er(n),tr(n,a)}}}break;case"textarea":dn(e,r);break;case"select":t=r.value,t!=null&&St(e,!!r.multiple,t,!1)}},"yb"),gn=Aa,br=Si;var yf={usingClientEntryPoint:!1,Events:[Nn,$i,Fo,Lr,yr,Aa]},dl={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},bf={bundleType:dl.bundleType,version:dl.version,rendererPackageName:dl.rendererPackageName,rendererConfig:dl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:K.ReactCurrentDispatcher,findHostInstanceByFiber:u(function(e){return e=uo(e),e===null?null:e.stateNode},"findHostInstanceByFiber"),findFiberByHostInstance:dl.findFiberByHostInstance||rh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(cl=__REACT_DEVTOOLS_GLOBAL_HOOK__,!cl.isDisabled&&cl.supportsFiber))try{_n=cl.inject(bf),Vt=cl}catch{}var cl;i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yf,i.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ga(t))throw Error(s(200));return th(e,t,null,r)},i.createRoot=function(e,t){if(!Ga(e))throw Error(s(299));var r=!1,n="",a=ih;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=Ua(e,1,!1,null,null,r,!1,n,a),e[Gr]=t.current,An(e.nodeType===8?e.parentNode:e),new $a(t)},i.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=uo(t),e=e===null?null:e.stateNode,e},i.flushSync=function(e){return Si(e)},i.hydrate=function(e,t,r){if(!sl(t))throw Error(s(200));return ul(null,e,t,!0,r)},i.hydrateRoot=function(e,t,r){if(!Ga(e))throw Error(s(405));var n=r!=null&&r.hydratedSources||null,a=!1,d="",g=ih;if(r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onRecoverableError!==void 0&&(g=r.onRecoverableError)),t=vd(t,null,e,1,r??null,a,!1,d,g),e[Gr]=t.current,An(e),n)for(e=0;e<n.length;e++)r=n[e],a=r._getVersion,a=a(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new al(t)},i.render=function(e,t,r){if(!sl(t))throw Error(s(200));return ul(null,e,t,!1,r)},i.unmountComponentAtNode=function(e){if(!sl(e))throw Error(s(40));return e._reactRootContainer?(Si(function(){ul(null,null,e,!1,function(){e._reactRootContainer=null,e[Gr]=null})}),!0):!1},i.unstable_batchedUpdates=Aa,i.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!sl(r))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return ul(e,t,r,!1,n)},i.version="18.3.1-next-f1338f8080-20240426"}),dh=ni((i,o)=>{"use strict";function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(s){console.error(s)}}c(l,"Yf"),u(l,"checkDCE"),l(),o.exports=If()}),Ef=ni(i=>{"use strict";var o=dh();i.createRoot=o.createRoot,i.hydrateRoot=o.hydrateRoot;var l}),Rf=ni(i=>{"use strict";var o=to(),l=Symbol.for("react.element"),s=Symbol.for("react.fragment"),h=Object.prototype.hasOwnProperty,p=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function m(b,_,I){var P,z={},R=null,M=null;I!==void 0&&(R=""+I),_.key!==void 0&&(R=""+_.key),_.ref!==void 0&&(M=_.ref);for(P in _)h.call(_,P)&&!f.hasOwnProperty(P)&&(z[P]=_[P]);if(b&&b.defaultProps)for(P in _=b.defaultProps,_)z[P]===void 0&&(z[P]=_[P]);return{$$typeof:l,type:b,key:R,ref:M,props:z,_owner:p.current}}c(m,"bf"),u(m,"q"),i.Fragment=s,i.jsx=m,i.jsxs=m}),Mf=ni((i,o)=>{"use strict";o.exports=Rf()});var Df=on(to(),1),Bf=on(Ef(),1),Et=on(to(),1),oe=on(to(),1),Ka=on(dh(),1);function Id(i){var o,l,s="";if(typeof i=="string"||typeof i=="number")s+=i;else if(typeof i=="object")if(Array.isArray(i)){var h=i.length;for(o=0;o<h;o++)i[o]&&(l=Id(i[o]))&&(s&&(s+=" "),s+=l)}else for(l in i)i[l]&&(s&&(s+=" "),s+=l);return s}c(Id,"qf");u(Id,"r");function ch(){for(var i,o,l=0,s="",h=arguments.length;l<h;l++)(i=arguments[l])&&(o=Id(i))&&(s&&(s+=" "),s+=o);return s}c(ch,"Hg");u(ch,"clsx");var Ii=ch,fe=on(Mf(),1);function Nt(i,o,l){let s=typeof i.colSpan=="function"?i.colSpan(l):1;if(Number.isInteger(s)&&s>1&&(!i.frozen||i.idx+s-1<=o))return s}c(Nt,"Xe");u(Nt,"getColSpan");function hh(i){i.stopPropagation()}c(hh,"Kg");u(hh,"stopPropagation");function hl(i){i?.scrollIntoView({inline:"nearest",block:"nearest"})}c(hl,"Zl");u(hl,"scrollIntoView");function Jn(i){let o=!1,l={...i,preventGridDefault(){o=!0},isGridDefaultPrevented(){return o}};return Object.setPrototypeOf(l,Object.getPrototypeOf(i)),l}c(Jn,"so");u(Jn,"createCellEvent");var Lf=new Set(["Unidentified","Alt","AltGraph","CapsLock","Control","Fn","FnLock","Meta","NumLock","ScrollLock","Shift","Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Insert","ContextMenu","Escape","Pause","Play","PrintScreen","F1","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"]);function qa(i){return(i.ctrlKey||i.metaKey)&&i.key!=="Control"}c(qa,"$s");u(qa,"isCtrlKeyHeldDown");function ph(i){return qa(i)&&i.keyCode!==86?!1:!Lf.has(i.key)}c(ph,"Qg");u(ph,"isDefaultCellInput");function fh({key:i,target:o}){return i==="Tab"&&(o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement)?o.closest(".rdg-editor-container")?.querySelectorAll("input, textarea, select").length===1:!1}c(fh,"Yg");u(fh,"onEditorNavigation");var Af="mlln6zg7-0-0-beta-47";function gh(i){return i.map(({key:o,idx:l,minWidth:s,maxWidth:h})=>(0,fe.jsx)("div",{className:Af,style:{gridColumnStart:l+1,minWidth:s,maxWidth:h},"data-measuring-cell-key":o},o))}c(gh,"Zg");u(gh,"renderMeasuringCells");function mh({selectedPosition:i,columns:o,rows:l}){let s=o[i.idx],h=l[i.rowIdx];return Ed(s,h)}c(mh,"Jg");u(mh,"isSelectedCellEditable");function Ed(i,o){return i.renderEditCell!=null&&(typeof i.editable=="function"?i.editable(o):i.editable)!==!1}c(Ed,"sp");u(Ed,"isCellEditableUtil");function yh({rows:i,topSummaryRows:o,bottomSummaryRows:l,rowIdx:s,mainHeaderRowIdx:h,lastFrozenColumnIndex:p,column:f}){let m=o?.length??0;if(s===h)return Nt(f,p,{type:"HEADER"});if(o&&s>h&&s<=m+h)return Nt(f,p,{type:"SUMMARY",row:o[s+m]});if(s>=0&&s<i.length){let b=i[s];return Nt(f,p,{type:"ROW",row:b})}if(l)return Nt(f,p,{type:"SUMMARY",row:l[s-i.length]})}c(yh,"qg");u(yh,"getSelectedCellColSpan");function bh({moveUp:i,moveNext:o,cellNavigationMode:l,columns:s,colSpanColumns:h,rows:p,topSummaryRows:f,bottomSummaryRows:m,minRowIdx:b,mainHeaderRowIdx:_,maxRowIdx:I,currentPosition:{idx:P,rowIdx:z},nextPosition:R,lastFrozenColumnIndex:M,isCellWithinBounds:N}){let{idx:F,rowIdx:D}=R,Y=s.length,j=u(X=>{for(let E of h){let k=E.idx;if(k>F)break;let Q=yh({rows:p,topSummaryRows:f,bottomSummaryRows:m,rowIdx:D,mainHeaderRowIdx:_,lastFrozenColumnIndex:M,column:E});if(Q&&F>k&&F<Q+k){F=k+(X?Q:0);break}}},"setColSpan"),G=u(X=>X.level+_,"getParentRowIdx"),K=u(()=>{if(o){let X=s[F].parent;for(;X!==void 0;){let E=G(X);if(D===E){F=X.idx+X.colSpan;break}X=X.parent}}else if(i){let X=s[F].parent,E=!1;for(;X!==void 0;){let k=G(X);if(D>=k){F=X.idx,D=k,E=!0;break}X=X.parent}E||(F=P,D=z)}},"setHeaderGroupColAndRowSpan");if(N(R)&&(j(o),D<_&&K()),l==="CHANGE_ROW"&&(F===Y?D===I||(F=0,D+=1):F===-1&&(D===b||(D-=1,F=Y-1),j(!1))),D<_){let X=s[F].parent,E=D;for(D=_;X!==void 0;){let k=G(X);k>=E&&(D=k,F=X.idx),X=X.parent}}return{idx:F,rowIdx:D}}c(bh,"bg");u(bh,"getNextSelectedCellPosition");function vh({maxColIdx:i,minRowIdx:o,maxRowIdx:l,selectedPosition:{rowIdx:s,idx:h},shiftKey:p}){return p?h===0&&s===o:h===i&&s===l}c(vh,"e0");u(vh,"canExitGrid");var Of="cj343x07-0-0-beta-47",wh=`rdg-cell ${Of}`,Wf="csofj7r7-0-0-beta-47",Nf=`rdg-cell-frozen ${Wf}`;function Rd(i){return{"--rdg-grid-row-start":i}}c(Rd,"cp");u(Rd,"getRowStyle");function Md(i,o,l){let s=o+1,h=`calc(${l-1} * var(--rdg-header-row-height))`;return i.parent===void 0?{insetBlockStart:0,gridRowStart:1,gridRowEnd:s,paddingBlockStart:h}:{insetBlockStart:`calc(${o-l} * var(--rdg-header-row-height))`,gridRowStart:s-l,gridRowEnd:s,paddingBlockStart:h}}c(Md,"dp");u(Md,"getHeaderCellStyle");function ro(i,o=1){let l=i.idx+1;return{gridColumnStart:l,gridColumnEnd:l+o,insetInlineStart:i.frozen?`var(--rdg-frozen-left-${i.idx})`:void 0}}c(ro,"fo");u(ro,"getCellStyle");function fl(i,...o){return Ii(wh,...o,i.frozen&&Nf)}c(fl,"ql");u(fl,"getCellClassname");var{min:pl,max:Qa,floor:ah,sign:Hf,abs:jf}=Math;function Ya(i){if(typeof i!="function")throw new Error("Please specify the rowKeyGetter prop to use selection")}c(Ya,"As");u(Ya,"assertIsValidKeyGetter");function Dd(i,{minWidth:o,maxWidth:l}){return i=Qa(i,o),typeof l=="number"&&l>=o?pl(i,l):i}c(Dd,"fp");u(Dd,"clampColumnWidth");function Bd(i,o){return i.parent===void 0?o:i.level-i.parent.level}c(Bd,"pp");u(Bd,"getHeaderCellRowSpan");var Uf="c1bn88vv7-0-0-beta-47",Vf=`rdg-checkbox-input ${Uf}`;function _h({onChange:i,indeterminate:o,...l}){function s(h){i(h.target.checked,h.nativeEvent.shiftKey)}return c(s,"r"),u(s,"handleChange"),(0,fe.jsx)("input",{ref:u(h=>{h&&(h.indeterminate=o===!0)},"ref"),type:"checkbox",className:Vf,onChange:s,...l})}c(_h,"s0");u(_h,"renderCheckbox");var $f="g1s9ylgp7-0-0-beta-47",Hy=`rdg-group-cell-content ${$f}`,Gf="cz54e4y7-0-0-beta-47",jy=`rdg-caret ${Gf}`;function xh(i){try{return i.row[i.column.key]}catch{return null}}c(xh,"d0");u(xh,"renderValue");var Ch=(0,oe.createContext)(void 0),Yf=Ch.Provider;function Za(){return(0,oe.useContext)(Ch)}c(Za,"Vs");u(Za,"useDefaultRenderers");function Ja({value:i,tabIndex:o,indeterminate:l,disabled:s,onChange:h,"aria-label":p,"aria-labelledby":f}){let m=Za().renderCheckbox;return m({"aria-label":p,"aria-labelledby":f,tabIndex:o,indeterminate:l,disabled:s,checked:i,onChange:h})}c(Ja,"Bs");u(Ja,"SelectCellFormatter");var Sh=(0,oe.createContext)(void 0),Xf=Sh.Provider,kh=(0,oe.createContext)(void 0),Kf=kh.Provider;function Fd(){let i=(0,oe.useContext)(Sh),o=(0,oe.useContext)(kh);if(i===void 0||o===void 0)throw new Error("useRowSelection must be used within DataGrid cells");return{isRowSelectionDisabled:i.isRowSelectionDisabled,isRowSelected:i.isRowSelected,onRowSelectionChange:o}}c(Fd,"yp");u(Fd,"useRowSelection");var Th=(0,oe.createContext)(void 0),qf=Th.Provider,Ph=(0,oe.createContext)(void 0),Qf=Ph.Provider;function zh(){let i=(0,oe.useContext)(Th),o=(0,oe.useContext)(Ph);if(i===void 0||o===void 0)throw new Error("useHeaderRowSelection must be used within DataGrid cells");return{isIndeterminate:i.isIndeterminate,isRowSelected:i.isRowSelected,onRowSelectionChange:o}}c(zh,"y0");u(zh,"useHeaderRowSelection");var Cd="rdg-select-column";function Ih(i){let{isIndeterminate:o,isRowSelected:l,onRowSelectionChange:s}=zh();return(0,fe.jsx)(Ja,{"aria-label":"Select All",tabIndex:i.tabIndex,indeterminate:o,value:l,onChange:u(h=>{s({checked:o?!1:h})},"onChange")})}c(Ih,"v0");u(Ih,"HeaderRenderer");function Eh(i){let{isRowSelectionDisabled:o,isRowSelected:l,onRowSelectionChange:s}=Fd();return(0,fe.jsx)(Ja,{"aria-label":"Select",tabIndex:i.tabIndex,disabled:o,value:l,onChange:u((h,p)=>{s({row:i.row,checked:h,isShiftClick:p})},"onChange")})}c(Eh,"w0");u(Eh,"SelectFormatter");function Rh(i){let{isRowSelected:o,onRowSelectionChange:l}=Fd();return(0,fe.jsx)(Ja,{"aria-label":"Select Group",tabIndex:i.tabIndex,value:o,onChange:u(s=>{l({row:i.row,checked:s,isShiftClick:!1})},"onChange")})}c(Rh,"C0");u(Rh,"SelectGroupFormatter");var Zf={key:Cd,name:"",width:35,minWidth:35,maxWidth:35,resizable:!1,sortable:!1,frozen:!0,renderHeaderCell(i){return(0,fe.jsx)(Ih,{...i})},renderCell(i){return(0,fe.jsx)(Eh,{...i})},renderGroupCell(i){return(0,fe.jsx)(Rh,{...i})}},Jf="auto",eg=50;function Mh({rawColumns:i,defaultColumnOptions:o,getColumnWidth:l,viewportWidth:s,scrollLeft:h,enableVirtualization:p}){let f=o?.width??Jf,m=o?.minWidth??eg,b=o?.maxWidth??void 0,_=o?.renderCell??xh,I=o?.sortable??!1,P=o?.resizable??!1,z=o?.draggable??!1,{columns:R,colSpanColumns:M,lastFrozenColumnIndex:N,headerRowsCount:F}=(0,oe.useMemo)(()=>{let E=-1,k=1,Q=[];ae(i,1);function ae(ge,ce,Fe){for(let Se of ge){if("children"in Se){let U={name:Se.name,parent:Fe,idx:-1,colSpan:0,level:0,headerCellClass:Se.headerCellClass};ae(Se.children,ce+1,U);continue}let Pe=Se.frozen??!1,Le={...Se,parent:Fe,idx:0,level:0,frozen:Pe,width:Se.width??f,minWidth:Se.minWidth??m,maxWidth:Se.maxWidth??b,sortable:Se.sortable??I,resizable:Se.resizable??P,draggable:Se.draggable??z,renderCell:Se.renderCell??_};Q.push(Le),Pe&&E++,ce>k&&(k=ce)}}c(ae,"T"),u(ae,"collectColumns"),Q.sort(({key:ge,frozen:ce},{key:Fe,frozen:Se})=>ge===Cd?-1:Fe===Cd?1:ce?Se?0:-1:Se?1:0);let ye=[];return Q.forEach((ge,ce)=>{ge.idx=ce,Ld(ge,ce,0),ge.colSpan!=null&&ye.push(ge)}),{columns:Q,colSpanColumns:ye,lastFrozenColumnIndex:E,headerRowsCount:k}},[i,f,m,b,_,P,I,z]),{templateColumns:D,layoutCssVars:Y,totalFrozenColumnWidth:j,columnMetrics:G}=(0,oe.useMemo)(()=>{let E=new Map,k=0,Q=0,ae=[];for(let ge of R){let ce=l(ge);typeof ce=="number"?ce=Dd(ce,ge):ce=ge.minWidth,ae.push(`${ce}px`),E.set(ge,{width:ce,left:k}),k+=ce}if(N!==-1){let ge=E.get(R[N]);Q=ge.left+ge.width}let ye={};for(let ge=0;ge<=N;ge++){let ce=R[ge];ye[`--rdg-frozen-left-${ce.idx}`]=`${E.get(ce).left}px`}return{templateColumns:ae,layoutCssVars:ye,totalFrozenColumnWidth:Q,columnMetrics:E}},[l,R,N]),[K,X]=(0,oe.useMemo)(()=>{if(!p)return[0,R.length-1];let E=h+j,k=h+s,Q=R.length-1,ae=pl(N+1,Q);if(E>=k)return[ae,ae];let ye=ae;for(;ye<Q;){let{left:Se,width:Pe}=G.get(R[ye]);if(Se+Pe>E)break;ye++}let ge=ye;for(;ge<Q;){let{left:Se,width:Pe}=G.get(R[ge]);if(Se+Pe>=k)break;ge++}let ce=Qa(ae,ye-1),Fe=pl(Q,ge+1);return[ce,Fe]},[G,R,N,h,j,s,p]);return{columns:R,colSpanColumns:M,colOverscanStartIdx:K,colOverscanEndIdx:X,templateColumns:D,layoutCssVars:Y,headerRowsCount:F,lastFrozenColumnIndex:N,totalFrozenColumnWidth:j}}c(Mh,"x0");u(Mh,"useCalculatedColumns");function Ld(i,o,l){if(l<i.level&&(i.level=l),i.parent!==void 0){let{parent:s}=i;s.idx===-1&&(s.idx=o),s.colSpan+=1,Ld(s,o,l-1)}}c(Ld,"Sp");u(Ld,"updateColumnParent");var eo=typeof window>"u"?oe.useEffect:oe.useLayoutEffect;function Dh(i,o,l,s,h,p,f,m,b,_){let I=(0,oe.useRef)(h),P=i.length===o.length,z=P&&h!==I.current,R=[...l],M=[];for(let{key:Y,idx:j,width:G}of o)typeof G=="string"&&(z||!f.has(Y))&&!p.has(Y)&&(R[j]=G,M.push(Y));let N=R.join(" ");eo(()=>{I.current=h,F(M)});function F(Y){Y.length!==0&&b(j=>{let G=new Map(j),K=!1;for(let X of Y){let E=Sd(s,X);K||=E!==j.get(X),E===void 0?G.delete(X):G.set(X,E)}return K?G:j})}c(F,"P"),u(F,"updateMeasuredWidths");function D(Y,j){let{key:G}=Y,K=[...l],X=[];for(let{key:k,idx:Q,width:ae}of o)if(G===k){let ye=typeof j=="number"?`${j}px`:j;K[Q]=ye}else P&&typeof ae=="string"&&!p.has(k)&&(K[Q]=ae,X.push(k));s.current.style.gridTemplateColumns=K.join(" ");let E=typeof j=="number"?j:Sd(s,G);(0,Ka.flushSync)(()=>{m(k=>{let Q=new Map(k);return Q.set(G,E),Q}),F(X)}),_?.(Y.idx,E)}return c(D,"d"),u(D,"handleColumnResize"),{gridTemplateColumns:N,handleColumnResize:D}}c(Dh,"E0");u(Dh,"useColumnWidths");function Sd(i,o){let l=`[data-measuring-cell-key="${CSS.escape(o)}"]`;return i.current?.querySelector(l)?.getBoundingClientRect().width}c(Sd,"op");u(Sd,"measureColumnWidth");function Bh(){let i=(0,oe.useRef)(null),[o,l]=(0,oe.useState)(1),[s,h]=(0,oe.useState)(1),[p,f]=(0,oe.useState)(0);return eo(()=>{let{ResizeObserver:m}=window;if(m==null)return;let{clientWidth:b,clientHeight:_,offsetWidth:I,offsetHeight:P}=i.current,{width:z,height:R}=i.current.getBoundingClientRect(),M=P-_,N=z-I+b,F=R-M;l(N),h(F),f(M);let D=new m(Y=>{let j=Y[0].contentBoxSize[0],{clientHeight:G,offsetHeight:K}=i.current;(0,Ka.flushSync)(()=>{l(j.inlineSize),h(j.blockSize),f(K-G)})});return D.observe(i.current),()=>{D.disconnect()}},[]),[i,o,s,p]}c(Bh,"R0");u(Bh,"useGridDimensions");function Rt(i){let o=(0,oe.useRef)(i);(0,oe.useEffect)(()=>{o.current=i});let l=(0,oe.useCallback)((...s)=>{o.current(...s)},[]);return i&&l}c(Rt,"Ae");u(Rt,"useLatestFunc");function gl(i){let[o,l]=(0,oe.useState)(!1);o&&!i&&l(!1);function s(h){h.target!==h.currentTarget&&l(!0)}return c(s,"r"),u(s,"onFocus"),{tabIndex:i&&!o?0:-1,childTabIndex:i?0:-1,onFocus:i?s:void 0}}c(gl,"bl");u(gl,"useRovingTabIndex");function Fh({columns:i,colSpanColumns:o,rows:l,topSummaryRows:s,bottomSummaryRows:h,colOverscanStartIdx:p,colOverscanEndIdx:f,lastFrozenColumnIndex:m,rowOverscanStartIdx:b,rowOverscanEndIdx:_}){let I=(0,oe.useMemo)(()=>{if(p===0)return 0;let P=p,z=u((R,M)=>M!==void 0&&R+M>p?(P=R,!0):!1,"updateStartIdx");for(let R of o){let M=R.idx;if(M>=P||z(M,Nt(R,m,{type:"HEADER"})))break;for(let N=b;N<=_;N++){let F=l[N];if(z(M,Nt(R,m,{type:"ROW",row:F})))break}if(s!=null){for(let N of s)if(z(M,Nt(R,m,{type:"SUMMARY",row:N})))break}if(h!=null){for(let N of h)if(z(M,Nt(R,m,{type:"SUMMARY",row:N})))break}}return P},[b,_,l,s,h,p,m,o]);return(0,oe.useMemo)(()=>{let P=[];for(let z=0;z<=f;z++){let R=i[z];z<I&&!R.frozen||P.push(R)}return P},[I,f,i])}c(Fh,"_0");u(Fh,"useViewportColumns");function Lh({rows:i,rowHeight:o,clientHeight:l,scrollTop:s,enableVirtualization:h}){let{totalRowHeight:p,gridTemplateRows:f,getRowTop:m,getRowHeight:b,findRowIdx:_}=(0,oe.useMemo)(()=>{if(typeof o=="number")return{totalRowHeight:o*i.length,gridTemplateRows:` repeat(${i.length}, ${o}px)`,getRowTop:u(F=>F*o,"getRowTop"),getRowHeight:u(()=>o,"getRowHeight"),findRowIdx:u(F=>ah(F/o),"findRowIdx")};let z=0,R=" ",M=i.map(F=>{let D=o(F),Y={top:z,height:D};return R+=`${D}px `,z+=D,Y}),N=u(F=>Qa(0,pl(i.length-1,F)),"validateRowIdx");return{totalRowHeight:z,gridTemplateRows:R,getRowTop:u(F=>M[N(F)].top,"getRowTop"),getRowHeight:u(F=>M[N(F)].height,"getRowHeight"),findRowIdx(F){let D=0,Y=M.length-1;for(;D<=Y;){let j=D+ah((Y-D)/2),G=M[j].top;if(G===F)return j;if(G<F?D=j+1:G>F&&(Y=j-1),D>Y)return Y}return 0}}},[o,i]),I=0,P=i.length-1;if(h){let z=_(s),R=_(s+l);I=Qa(0,z-4),P=pl(i.length-1,R+4)}return{rowOverscanStartIdx:I,rowOverscanEndIdx:P,totalRowHeight:p,gridTemplateRows:f,getRowTop:m,getRowHeight:b,findRowIdx:_}}c(Lh,"z0");u(Lh,"useViewportRows");var tg="c1w9bbhr7-0-0-beta-47",rg="c1creorc7-0-0-beta-47",ig=`rdg-cell-drag-handle ${tg}`;function Ah({gridRowStart:i,rows:o,column:l,columnWidth:s,maxColIdx:h,isLastRow:p,selectedPosition:f,latestDraggedOverRowIdx:m,isCellEditable:b,onRowsChange:_,onFill:I,onClick:P,setDragging:z,setDraggedOverRowIdx:R}){let{idx:M,rowIdx:N}=f;function F(K){if(K.preventDefault(),K.buttons!==1)return;z(!0),window.addEventListener("mouseover",X),window.addEventListener("mouseup",E);function X(k){k.buttons!==1&&E()}c(X,"R"),u(X,"onMouseOver");function E(){window.removeEventListener("mouseover",X),window.removeEventListener("mouseup",E),z(!1),D()}c(E,"w"),u(E,"onMouseUp")}c(F,"P"),u(F,"handleMouseDown");function D(){let K=m.current;if(K===void 0)return;let X=N<K?N+1:K,E=N<K?K+1:N;j(X,E),R(void 0)}c(D,"d"),u(D,"handleDragEnd");function Y(K){K.stopPropagation(),j(N+1,o.length)}c(Y,"c"),u(Y,"handleDoubleClick");function j(K,X){let E=o[N],k=[...o],Q=[];for(let ae=K;ae<X;ae++)if(b({rowIdx:ae,idx:M})){let ye=I({columnKey:l.key,sourceRow:E,targetRow:o[ae]});ye!==o[ae]&&(k[ae]=ye,Q.push(ae))}Q.length>0&&_?.(k,{indexes:Q,column:l})}c(j,"p"),u(j,"updateRows");function G(){let K=l.colSpan?.({type:"ROW",row:o[N]})??1,{insetInlineStart:X,...E}=ro(l,K),k="calc(var(--rdg-drag-handle-size) * -0.5 + 1px)",Q=l.idx+K-1===h;return{...E,gridRowStart:i,marginInlineEnd:Q?void 0:k,marginBlockEnd:p?void 0:k,insetInlineStart:X?`calc(${X} + ${s}px + var(--rdg-drag-handle-size) * -0.5 - 1px)`:void 0}}return c(G,"m"),u(G,"getStyle"),(0,fe.jsx)("div",{style:G(),className:Ii(ig,l.frozen&&rg),onClick:P,onMouseDown:F,onDoubleClick:Y})}c(Ah,"N0");u(Ah,"DragHandle");var ng="cis5rrm7-0-0-beta-47";function Oh({column:i,colSpan:o,row:l,rowIdx:s,onRowChange:h,closeEditor:p,onKeyDown:f,navigate:m}){let b=(0,oe.useRef)(void 0),_=i.editorOptions?.commitOnOutsideClick!==!1,I=Rt(()=>{R(!0,!1)});(0,oe.useEffect)(()=>{if(!_)return;function D(){b.current=requestAnimationFrame(I)}return c(D,"d"),u(D,"onWindowCaptureMouseDown"),addEventListener("mousedown",D,{capture:!0}),()=>{removeEventListener("mousedown",D,{capture:!0}),P()}},[_,I]);function P(){cancelAnimationFrame(b.current)}c(P,"g"),u(P,"cancelFrameRequest");function z(D){if(f){let Y=Jn(D);if(f({mode:"EDIT",row:l,column:i,rowIdx:s,navigate(){m(D)},onClose:R},Y),Y.isGridDefaultPrevented())return}D.key==="Escape"?R():D.key==="Enter"?R(!0):fh(D)&&m(D)}c(z,"h"),u(z,"handleKeyDown");function R(D=!1,Y=!0){D?h(l,!0,Y):p(Y)}c(R,"y"),u(R,"onClose");function M(D,Y=!1){h(D,Y,Y)}c(M,"x"),u(M,"onEditorRowChange");let{cellClass:N}=i,F=fl(i,"rdg-editor-container",typeof N=="function"?N(l):N,!i.editorOptions?.displayCellContent&&ng);return(0,fe.jsx)("div",{role:"gridcell","aria-colindex":i.idx+1,"aria-colspan":o,"aria-selected":!0,className:F,style:ro(i,o),onKeyDown:z,onMouseDownCapture:P,children:i.renderEditCell!=null&&(0,fe.jsxs)(fe.Fragment,{children:[i.renderEditCell({column:i,row:l,rowIdx:s,onRowChange:M,onClose:R}),i.editorOptions?.displayCellContent&&i.renderCell({column:i,row:l,rowIdx:s,isCellEditable:!0,tabIndex:-1,onRowChange:M})]})})}c(Oh,"L0");u(Oh,"EditCell");function Wh({column:i,rowIdx:o,isCellSelected:l,selectCell:s}){let{tabIndex:h,onFocus:p}=gl(l),{colSpan:f}=i,m=Bd(i,o),b=i.idx+1;function _(){s({idx:i.idx,rowIdx:o})}return c(_,"f"),u(_,"onClick"),(0,fe.jsx)("div",{role:"columnheader","aria-colindex":b,"aria-colspan":f,"aria-rowspan":m,"aria-selected":l,tabIndex:h,className:Ii(wh,i.headerCellClass),style:{...Md(i,o,m),gridColumnStart:b,gridColumnEnd:b+f},onFocus:p,onClick:_,children:i.name})}c(Wh,"F0");u(Wh,"GroupedColumnHeaderCell");var og="h44jtk67-0-0-beta-47",lg="hcgkhxz7-0-0-beta-47",ag=`rdg-header-sort-name ${lg}`;function Nh({column:i,sortDirection:o,priority:l}){return i.sortable?(0,fe.jsx)(Hh,{sortDirection:o,priority:l,children:i.name}):i.name}c(Nh,"H0");u(Nh,"renderHeaderCell");function Hh({sortDirection:i,priority:o,children:l}){let s=Za().renderSortStatus;return(0,fe.jsxs)("span",{className:og,children:[(0,fe.jsx)("span",{className:ag,children:l}),(0,fe.jsx)("span",{children:s({sortDirection:i,priority:o})})]})}c(Hh,"A0");u(Hh,"SortableHeaderCell");var sg="c6l2wv17-0-0-beta-47",ug="c1kqdw7y7-0-0-beta-47",dg=`rdg-cell-resizable ${ug}`,cg="r1y6ywlx7-0-0-beta-47",hg="rdg-cell-draggable",pg="c1bezg5o7-0-0-beta-47",fg=`rdg-cell-dragging ${pg}`,gg="c1vc96037-0-0-beta-47",mg=`rdg-cell-drag-over ${gg}`;function jh({column:i,colSpan:o,rowIdx:l,isCellSelected:s,onColumnResize:h,onColumnsReorder:p,sortColumns:f,onSortColumnsChange:m,selectCell:b,shouldFocusGrid:_,direction:I,dragDropKey:P}){let[z,R]=(0,oe.useState)(!1),[M,N]=(0,oe.useState)(!1),F=I==="rtl",D=Bd(i,l),{tabIndex:Y,childTabIndex:j,onFocus:G}=gl(s),K=f?.findIndex(q=>q.columnKey===i.key),X=K!==void 0&&K>-1?f[K]:void 0,E=X?.direction,k=X!==void 0&&f.length>1?K+1:void 0,Q=E&&!k?E==="ASC"?"ascending":"descending":void 0,{sortable:ae,resizable:ye,draggable:ge}=i,ce=fl(i,i.headerCellClass,ae&&sg,ye&&dg,ge&&hg,z&&fg,M&&mg),Fe=i.renderHeaderCell??Nh;function Se(q){if(q.pointerType==="mouse"&&q.buttons!==1)return;q.preventDefault();let{currentTarget:be,pointerId:Ce}=q,ze=be.parentElement,{right:Ze,left:gr}=ze.getBoundingClientRect(),Er=F?q.clientX-gr:Ze-q.clientX,jt=!1;function er(tr){let{width:mr,right:li,left:rr}=ze.getBoundingClientRect(),St=F?li+Er-tr.clientX:tr.clientX+Er-rr;St=Dd(St,i),mr>0&&St!==mr&&h(i,St)}c(er,"sr"),u(er,"onPointerMove");function Rr(){jt=!0,h(i,"max-content")}c(Rr,"go"),u(Rr,"onDoubleClick");function Mr(tr){jt||er(tr),be.removeEventListener("pointermove",er),be.removeEventListener("dblclick",Rr),be.removeEventListener("lostpointercapture",Mr)}c(Mr,"yo"),u(Mr,"onLostPointerCapture"),be.setPointerCapture(Ce),be.addEventListener("pointermove",er),be.addEventListener("dblclick",Rr),be.addEventListener("lostpointercapture",Mr)}c(Se,"Z"),u(Se,"onPointerDown");function Pe(q){if(m==null)return;let{sortDescendingFirst:be}=i;if(X===void 0){let Ce={columnKey:i.key,direction:be?"DESC":"ASC"};m(f&&q?[...f,Ce]:[Ce])}else{let Ce;if((be===!0&&E==="DESC"||be!==!0&&E==="ASC")&&(Ce={columnKey:i.key,direction:E==="ASC"?"DESC":"ASC"}),q){let ze=[...f];Ce?ze[K]=Ce:ze.splice(K,1),m(ze)}else m(Ce?[Ce]:[])}}c(Pe,"Ze"),u(Pe,"onSort");function Le(q){b({idx:i.idx,rowIdx:l}),ae&&Pe(q.ctrlKey||q.metaKey)}c(Le,"lr"),u(Le,"onClick");function U(q){G?.(q),_&&b({idx:0,rowIdx:l})}c(U,"ir"),u(U,"handleFocus");function de(q){(q.key===" "||q.key==="Enter")&&(q.preventDefault(),Pe(q.ctrlKey||q.metaKey))}c(de,"ei"),u(de,"onKeyDown");function ne(q){q.dataTransfer.setData(P,i.key),q.dataTransfer.dropEffect="move",R(!0)}c(ne,"ti"),u(ne,"onDragStart");function ee(){R(!1)}c(ee,"ni"),u(ee,"onDragEnd");function x(q){q.preventDefault(),q.dataTransfer.dropEffect="move"}c(x,"ri"),u(x,"onDragOver");function H(q){if(N(!1),q.dataTransfer.types.includes(P.toLowerCase())){let be=q.dataTransfer.getData(P.toLowerCase());be!==i.key&&(q.preventDefault(),p?.(be,i.key))}}c(H,"oi"),u(H,"onDrop");function me(q){kd(q)&&N(!0)}c(me,"gn"),u(me,"onDragEnter");function ke(q){kd(q)&&N(!1)}c(ke,"po"),u(ke,"onDragLeave");let we;return ge&&(we={draggable:!0,onDragStart:ne,onDragEnd:ee,onDragOver:x,onDragEnter:me,onDragLeave:ke,onDrop:H}),(0,fe.jsxs)("div",{role:"columnheader","aria-colindex":i.idx+1,"aria-colspan":o,"aria-rowspan":D,"aria-selected":s,"aria-sort":Q,tabIndex:_?0:Y,className:ce,style:{...Md(i,l,D),...ro(i,o)},onFocus:U,onClick:Le,onKeyDown:ae?de:void 0,...we,children:[Fe({column:i,sortDirection:E,priority:k,tabIndex:j}),ye&&(0,fe.jsx)("div",{className:cg,onClick:hh,onPointerDown:Se})]})}c(jh,"X0");u(jh,"HeaderCell");function kd(i){let o=i.relatedTarget;return!i.currentTarget.contains(o)}c(kd,"lp");u(kd,"isEventPertinent");var yg="r1upfr807-0-0-beta-47",Uh=`rdg-row ${yg}`,bg="r190mhd37-0-0-beta-47",Ad="rdg-row-selected",vg="r139qu9m7-0-0-beta-47",wg="rdg-top-summary-row",_g="rdg-bottom-summary-row",xg="h10tskcx7-0-0-beta-47",Vh=`rdg-header-row ${xg}`;function $h({rowIdx:i,columns:o,onColumnResize:l,onColumnsReorder:s,sortColumns:h,onSortColumnsChange:p,lastFrozenColumnIndex:f,selectedCellIdx:m,selectCell:b,shouldFocusGrid:_,direction:I}){let P=(0,oe.useId)(),z=[];for(let R=0;R<o.length;R++){let M=o[R],N=Nt(M,f,{type:"HEADER"});N!==void 0&&(R+=N-1),z.push((0,fe.jsx)(jh,{column:M,colSpan:N,rowIdx:i,isCellSelected:m===M.idx,onColumnResize:l,onColumnsReorder:s,onSortColumnsChange:p,sortColumns:h,selectCell:b,shouldFocusGrid:_&&R===0,direction:I,dragDropKey:P},M.key))}return(0,fe.jsx)("div",{role:"row","aria-rowindex":i,className:Ii(Vh,m===-1&&Ad),children:z})}c($h,"ny");u($h,"HeaderRow");var Cg=(0,oe.memo)($h);function Gh({rowIdx:i,level:o,columns:l,selectedCellIdx:s,selectCell:h}){let p=[],f=new Set;for(let m of l){let{parent:b}=m;if(b!==void 0){for(;b.level>o&&b.parent!==void 0;)b=b.parent;if(b.level===o&&!f.has(b)){f.add(b);let{idx:_}=b;p.push((0,fe.jsx)(Wh,{column:b,rowIdx:i,isCellSelected:s===_,selectCell:h},_))}}}return(0,fe.jsx)("div",{role:"row","aria-rowindex":i,className:Vh,children:p})}c(Gh,"oy");u(Gh,"GroupedColumnHeaderRow");var Sg=(0,oe.memo)(Gh),kg="c6ra8a37-0-0-beta-47",Tg=`rdg-cell-copied ${kg}`,Pg="cq910m07-0-0-beta-47",zg=`rdg-cell-dragged-over ${Pg}`;function Yh({column:i,colSpan:o,isCellSelected:l,isCopied:s,isDraggedOver:h,row:p,rowIdx:f,onClick:m,onDoubleClick:b,onContextMenu:_,onRowChange:I,selectCell:P,...z}){let{tabIndex:R,childTabIndex:M,onFocus:N}=gl(l),{cellClass:F}=i,D=fl(i,typeof F=="function"?F(p):F,s&&Tg,h&&zg),Y=Ed(i,p);function j(k){P({rowIdx:f,idx:i.idx},k)}c(j,"p"),u(j,"selectCellWrapper");function G(k){if(m){let Q=Jn(k);if(m({row:p,column:i,selectCell:j},Q),Q.isGridDefaultPrevented())return}j()}c(G,"m"),u(G,"handleClick");function K(k){if(_){let Q=Jn(k);if(_({row:p,column:i,selectCell:j},Q),Q.isGridDefaultPrevented())return}j()}c(K,"k"),u(K,"handleContextMenu");function X(k){if(b){let Q=Jn(k);if(b({row:p,column:i,selectCell:j},Q),Q.isGridDefaultPrevented())return}j(!0)}c(X,"R"),u(X,"handleDoubleClick");function E(k){I(i,k)}return c(E,"w"),u(E,"handleRowChange"),(0,fe.jsx)("div",{role:"gridcell","aria-colindex":i.idx+1,"aria-colspan":o,"aria-selected":l,"aria-readonly":!Y||void 0,tabIndex:R,className:D,style:ro(i,o),onClick:G,onDoubleClick:X,onContextMenu:K,onFocus:N,...z,children:i.renderCell({column:i,row:p,rowIdx:f,isCellEditable:Y,tabIndex:M,onRowChange:E})})}c(Yh,"cy");u(Yh,"Cell");var Ig=(0,oe.memo)(Yh);function Xh({className:i,rowIdx:o,gridRowStart:l,selectedCellIdx:s,isRowSelectionDisabled:h,isRowSelected:p,copiedCellIdx:f,draggedOverCellIdx:m,lastFrozenColumnIndex:b,row:_,viewportColumns:I,selectedCellEditor:P,onCellClick:z,onCellDoubleClick:R,onCellContextMenu:M,rowClass:N,setDraggedOverRowIdx:F,onMouseEnter:D,onRowChange:Y,selectCell:j,...G},K){let X=Rt((ae,ye)=>{Y(ae,o,ye)});function E(ae){F?.(o),D?.(ae)}c(E,"w"),u(E,"handleDragEnter"),i=Ii(Uh,`rdg-row-${o%2===0?"even":"odd"}`,N?.(_,o),i,s===-1&&Ad);let k=[];for(let ae=0;ae<I.length;ae++){let ye=I[ae],{idx:ge}=ye,ce=Nt(ye,b,{type:"ROW",row:_});ce!==void 0&&(ae+=ce-1);let Fe=s===ge;Fe&&P?k.push(P):k.push((0,fe.jsx)(Ig,{column:ye,colSpan:ce,row:_,rowIdx:o,isCopied:f===ge,isDraggedOver:m===ge,isCellSelected:Fe,onClick:z,onDoubleClick:R,onContextMenu:M,onRowChange:X,selectCell:j},ye.key))}let Q=(0,oe.useMemo)(()=>({isRowSelected:p,isRowSelectionDisabled:h}),[h,p]);return(0,fe.jsx)(Xf,{value:Q,children:(0,fe.jsx)("div",{role:"row",ref:K,className:i,onMouseEnter:E,style:Rd(l),...G,children:k})})}c(Xh,"fy");u(Xh,"Row");var Eg=(0,oe.memo)((0,oe.forwardRef)(Xh));function Kh(i,o){return(0,fe.jsx)(Eg,{...o},i)}c(Kh,"hy");u(Kh,"defaultRenderRow");function qh({scrollToPosition:{idx:i,rowIdx:o},gridElement:l,setScrollToCellPosition:s}){let h=(0,oe.useRef)(null);return eo(()=>{hl(h.current)}),eo(()=>{function p(){s(null)}c(p,"l"),u(p,"removeScrollToCell");let f=new IntersectionObserver(p,{root:l,threshold:1});return f.observe(h.current),()=>{f.disconnect()}},[l,s]),(0,fe.jsx)("div",{ref:h,style:{gridColumn:i===void 0?"1/-1":i+1,gridRow:o===void 0?"1/-1":o+2}})}c(qh,"my");u(qh,"ScrollToCell");var Rg="a3ejtar7-0-0-beta-47",Mg=`rdg-sort-arrow ${Rg}`;function Qh({sortDirection:i,priority:o}){return(0,fe.jsxs)(fe.Fragment,{children:[Zh({sortDirection:i}),Jh({priority:o})]})}c(Qh,"vy");u(Qh,"renderSortStatus");function Zh({sortDirection:i}){return i===void 0?null:(0,fe.jsx)("svg",{viewBox:"0 0 12 8",width:"12",height:"8",className:Mg,"aria-hidden":!0,children:(0,fe.jsx)("path",{d:i==="ASC"?"M0 8 6 0 12 8":"M0 0 6 8 12 0"})})}c(Zh,"wy");u(Zh,"renderSortIcon");function Jh({priority:i}){return i}c(Jh,"Cy");u(Jh,"renderSortPriority");var Dg="rnvodz57-0-0-beta-47",Bg=`rdg ${Dg}`,Fg="vlqv91k7-0-0-beta-47",Lg=`rdg-viewport-dragging ${Fg}`,Ag="f1lsfrzw7-0-0-beta-47",Og="f1cte0lg7-0-0-beta-47",Wg="s8wc6fl7-0-0-beta-47";function ep({column:i,colSpan:o,row:l,rowIdx:s,isCellSelected:h,selectCell:p}){let{tabIndex:f,childTabIndex:m,onFocus:b}=gl(h),{summaryCellClass:_}=i,I=fl(i,Wg,typeof _=="function"?_(l):_);function P(){p({rowIdx:s,idx:i.idx})}return c(P,"g"),u(P,"onClick"),(0,fe.jsx)("div",{role:"gridcell","aria-colindex":i.idx+1,"aria-colspan":o,"aria-selected":h,tabIndex:f,className:I,style:ro(i,o),onClick:P,onFocus:b,children:i.renderSummaryCell?.({column:i,row:l,tabIndex:m})})}c(ep,"Py");u(ep,"SummaryCell");var Ng=(0,oe.memo)(ep),Hg="skuhp557-0-0-beta-47",jg="tf8l5ub7-0-0-beta-47",Ug=`rdg-summary-row ${Hg}`;function tp({rowIdx:i,gridRowStart:o,row:l,viewportColumns:s,top:h,bottom:p,lastFrozenColumnIndex:f,selectedCellIdx:m,isTop:b,selectCell:_,"aria-rowindex":I}){let P=[];for(let z=0;z<s.length;z++){let R=s[z],M=Nt(R,f,{type:"SUMMARY",row:l});M!==void 0&&(z+=M-1);let N=m===R.idx;P.push((0,fe.jsx)(Ng,{column:R,colSpan:M,row:l,rowIdx:i,isCellSelected:N,selectCell:_},R.key))}return(0,fe.jsx)("div",{role:"row","aria-rowindex":I,className:Ii(Uh,`rdg-row-${i%2===0?"even":"odd"}`,Ug,b?`${wg} ${jg}`:_g,m===-1&&Ad),style:{...Rd(o),"--rdg-summary-row-top":h!==void 0?`${h}px`:void 0,"--rdg-summary-row-bottom":p!==void 0?`${p}px`:void 0},children:P})}c(tp,"Ly");u(tp,"SummaryRow");var sh=(0,oe.memo)(tp);function rp(i,o){let{columns:l,rows:s,topSummaryRows:h,bottomSummaryRows:p,rowKeyGetter:f,onRowsChange:m,rowHeight:b,headerRowHeight:_,summaryRowHeight:I,selectedRows:P,isRowSelectionDisabled:z,onSelectedRowsChange:R,sortColumns:M,onSortColumnsChange:N,defaultColumnOptions:F,onCellClick:D,onCellDoubleClick:Y,onCellContextMenu:j,onCellKeyDown:G,onSelectedCellChange:K,onScroll:X,onColumnResize:E,onColumnsReorder:k,onFill:Q,onCopy:ae,onPaste:ye,enableVirtualization:ge,renderers:ce,className:Fe,style:Se,rowClass:Pe,direction:Le,role:U,"aria-label":de,"aria-labelledby":ne,"aria-describedby":ee,"aria-rowcount":x,"data-testid":H}=i,me=Za(),ke=U??"grid",we=b??35,q=_??(typeof we=="number"?we:35),be=I??(typeof we=="number"?we:35),Ce=ce?.renderRow??me?.renderRow??Kh,ze=ce?.renderSortStatus??me?.renderSortStatus??Qh,Ze=ce?.renderCheckbox??me?.renderCheckbox??_h,gr=ce?.noRowsFallback??me?.noRowsFallback,Er=ge??!0,jt=Le??"ltr",[er,Rr]=(0,oe.useState)(0),[Mr,tr]=(0,oe.useState)(0),[mr,li]=(0,oe.useState)(()=>new Map),[rr,St]=(0,oe.useState)(()=>new Map),[ir,un]=(0,oe.useState)(null),[dn,no]=(0,oe.useState)(!1),[Dr,cn]=(0,oe.useState)(void 0),[Br,oo]=(0,oe.useState)(null),Fr=(0,oe.useCallback)(L=>mr.get(L.key)??rr.get(L.key)??L.width,[rr,mr]),[Ut,xl,hn,lo]=Bh(),{columns:Je,colSpanColumns:Mi,lastFrozenColumnIndex:at,headerRowsCount:nr,colOverscanStartIdx:pn,colOverscanEndIdx:fn,templateColumns:ai,layoutCssVars:si,totalFrozenColumnWidth:ao}=Mh({rawColumns:l,defaultColumnOptions:F,getColumnWidth:Fr,scrollLeft:Mr,viewportWidth:xl,enableVirtualization:Er}),Lr=h?.length??0,yr=p?.length??0,gn=Lr+yr,br=nr+Lr,Di=nr-1,st=-br,or=st+Di,lr=s.length+yr-1,[J,Ar]=(0,oe.useState)(()=>({idx:-1,rowIdx:st-1,mode:"SELECT"})),Or=(0,oe.useRef)(J),Bi=(0,oe.useRef)(Dr),Fi=(0,oe.useRef)(-1),ui=(0,oe.useRef)(null),mn=(0,oe.useRef)(!1),yn=ke==="treegrid",bn=nr*q,ar=gn*be,di=hn-bn-ar,Li=P!=null&&R!=null,so=jt==="rtl",uo=so?"ArrowRight":"ArrowLeft",vn=so?"ArrowLeft":"ArrowRight",co=x??nr+s.length+gn,Cl=(0,oe.useMemo)(()=>({renderCheckbox:Ze,renderSortStatus:ze}),[Ze,ze]),ls=(0,oe.useMemo)(()=>{let L=!1,V=!1;if(f!=null&&P!=null&&P.size>0){for(let se of s)if(P.has(f(se))?L=!0:V=!0,L&&V)break}return{isRowSelected:L&&!V,isIndeterminate:L&&V}},[s,P,f]),{rowOverscanStartIdx:Ai,rowOverscanEndIdx:Ae,totalRowHeight:ho,gridTemplateRows:po,getRowTop:fo,getRowHeight:wn,findRowIdx:Sl}=Lh({rows:s,rowHeight:we,clientHeight:di,scrollTop:er,enableVirtualization:Er}),sr=Fh({columns:Je,colSpanColumns:Mi,colOverscanStartIdx:pn,colOverscanEndIdx:fn,lastFrozenColumnIndex:at,rowOverscanStartIdx:Ai,rowOverscanEndIdx:Ae,rows:s,topSummaryRows:h,bottomSummaryRows:p}),{gridTemplateColumns:_n,handleColumnResize:Vt}=Dh(Je,sr,ai,Ut,xl,mr,rr,li,St,E),kl=yn?-1:0,it=Je.length-1,go=Dt(J),xn=Wr(J),Tl=q+ho+ar+lo,Cn=Rt(Vt),Sn=Rt(k),ci=Rt(N),Oi=Rt(D),Pl=Rt(Y),zl=Rt(j),kn=Rt(Re),mo=Rt(Wi),Tn=Rt(pi),vr=Rt(gi),yo=Rt(({idx:L,rowIdx:V})=>{gi({rowIdx:st+V-1,idx:L})});eo(()=>{if(!go||Xa(J,Or.current)){Or.current=J;return}Or.current=J,J.idx===-1&&(ui.current.focus({preventScroll:!0}),hl(ui.current))}),eo(()=>{mn.current&&(mn.current=!1,Hi())}),(0,oe.useImperativeHandle)(o,()=>({element:Ut.current,scrollToCell({idx:L,rowIdx:V}){let se=L!==void 0&&L>at&&L<Je.length?L:void 0,ue=V!==void 0&&ft(V)?V:void 0;(se!==void 0||ue!==void 0)&&oo({idx:se,rowIdx:ue})},selectCell:gi}));let hi=(0,oe.useCallback)(L=>{cn(L),Bi.current=L},[]);function Re(L){if(!R)return;Ya(f);let V=new Set(P);for(let se of s){if(z?.(se)===!0)continue;let ue=f(se);L.checked?V.add(ue):V.delete(ue)}R(V)}c(Re,"th"),u(Re,"selectHeaderRow");function Wi(L){if(!R)return;Ya(f);let{row:V,checked:se,isShiftClick:ue}=L;if(z?.(V)===!0)return;let Te=new Set(P),Me=f(V),Oe=Fi.current,Be=s.indexOf(V);if(Fi.current=Be,se?Te.add(Me):Te.delete(Me),ue&&Oe!==-1&&Oe!==Be&&Oe<s.length){let ut=Hf(Be-Oe);for(let wt=Oe+ut;wt!==Be;wt+=ut){let Tt=s[wt];z?.(Tt)!==!0&&(se?Te.add(f(Tt)):Te.delete(f(Tt)))}}R(Te)}c(Wi,"da"),u(Wi,"selectRow");function bo(L){let{idx:V,rowIdx:se,mode:ue}=J;if(ue==="EDIT")return;if(G&&ft(se)){let Be=s[se],ut=Jn(L);if(G({mode:"SELECT",row:Be,column:Je[V],rowIdx:se,selectCell:gi},ut),ut.isGridDefaultPrevented())return}if(!(L.target instanceof Element))return;let Te=L.target.closest(".rdg-cell")!==null,Me=yn&&L.target===ui.current;if(!Te&&!Me)return;let{keyCode:Oe}=L;if(xn&&(ye!=null||ae!=null)&&qa(L)){if(Oe===67){if(window.getSelection()?.isCollapsed===!1)return;vo();return}if(Oe===86){In();return}}switch(L.key){case"Escape":un(null);return;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Tab":case"Home":case"End":case"PageUp":case"PageDown":wr(L);break;default:Ni(L);break}}c(bo,"nh"),u(bo,"handleKeyDown");function Pn(L){let{scrollTop:V,scrollLeft:se}=L.currentTarget;(0,Ka.flushSync)(()=>{Rr(V),tr(jf(se))}),X?.(L)}c(Pn,"rh"),u(Pn,"handleScroll");function pi(L,V,se){if(typeof m!="function"||se===s[V])return;let ue=[...s];ue[V]=se,m(ue,{indexes:[V],column:L})}c(pi,"Eo"),u(pi,"updateRow");function zn(){J.mode==="EDIT"&&pi(Je[J.idx],J.rowIdx,J.row)}c(zn,"fa"),u(zn,"commitEditorChanges");function vo(){let{idx:L,rowIdx:V}=J,se=s[V],ue=Je[L].key;un({row:se,columnKey:ue}),ae?.({sourceRow:se,sourceColumnKey:ue})}c(vo,"oh"),u(vo,"handleCopy");function In(){if(!ye||!m||ir===null||!kt(J))return;let{idx:L,rowIdx:V}=J,se=Je[L],ue=s[V],Te=ye({sourceRow:ir.row,sourceColumnKey:ir.columnKey,targetRow:ue,targetColumnKey:se.key});pi(se,V,Te)}c(In,"lh"),u(In,"handlePaste");function Ni(L){if(!xn)return;let V=s[J.rowIdx],{key:se,shiftKey:ue}=L;if(Li&&ue&&se===" "){Ya(f);let Te=f(V);Wi({row:V,checked:!P.has(Te),isShiftClick:!1}),L.preventDefault();return}kt(J)&&ph(L)&&Ar(({idx:Te,rowIdx:Me})=>({idx:Te,rowIdx:Me,mode:"EDIT",row:V,originalRow:V}))}c(Ni,"ih"),u(Ni,"handleCellInput");function $t(L){return L>=kl&&L<=it}c($t,"pa"),u($t,"isColIdxWithinSelectionBounds");function ft(L){return L>=0&&L<s.length}c(ft,"zn"),u(ft,"isRowIdxWithinViewportBounds");function Dt({idx:L,rowIdx:V}){return V>=st&&V<=lr&&$t(L)}c(Dt,"mi"),u(Dt,"isCellWithinSelectionBounds");function fi({idx:L,rowIdx:V}){return ft(V)&&L>=0&&L<=it}c(fi,"uh"),u(fi,"isCellWithinEditBounds");function Wr({idx:L,rowIdx:V}){return ft(V)&&$t(L)}c(Wr,"ha"),u(Wr,"isCellWithinViewportBounds");function kt(L){return fi(L)&&mh({columns:Je,rows:s,selectedPosition:L})}c(kt,"Ro"),u(kt,"isCellEditable");function gi(L,V){if(!Dt(L))return;zn();let se=s[L.rowIdx],ue=Xa(J,L);V&&kt(L)?Ar({...L,mode:"EDIT",row:se,originalRow:se}):ue?hl(Td(Ut.current)):(mn.current=!0,Ar({...L,mode:"SELECT"})),K&&!ue&&K({rowIdx:L.rowIdx,row:se,column:Je[L.idx]})}c(gi,"hr"),u(gi,"selectCell");function En(L,V,se){let{idx:ue,rowIdx:Te}=J,Me=go&&ue===-1;switch(L){case"ArrowUp":return{idx:ue,rowIdx:Te-1};case"ArrowDown":return{idx:ue,rowIdx:Te+1};case uo:return{idx:ue-1,rowIdx:Te};case vn:return{idx:ue+1,rowIdx:Te};case"Tab":return{idx:ue+(se?-1:1),rowIdx:Te};case"Home":return Me?{idx:ue,rowIdx:st}:{idx:0,rowIdx:V?st:Te};case"End":return Me?{idx:ue,rowIdx:lr}:{idx:it,rowIdx:V?lr:Te};case"PageUp":{if(J.rowIdx===st)return J;let Oe=fo(Te)+wn(Te)-di;return{idx:ue,rowIdx:Oe>0?Sl(Oe):0}}case"PageDown":{if(J.rowIdx>=s.length)return J;let Oe=fo(Te)+di;return{idx:ue,rowIdx:Oe<ho?Sl(Oe):s.length-1}}default:return J}}c(En,"sh"),u(En,"getNextPosition");function wr(L){let{key:V,shiftKey:se}=L,ue="NONE";if(V==="Tab"){if(vh({shiftKey:se,maxColIdx:it,minRowIdx:st,maxRowIdx:lr,selectedPosition:J})){zn();return}ue="CHANGE_ROW"}L.preventDefault();let Te=qa(L),Me=En(V,Te,se);if(Xa(J,Me))return;let Oe=bh({moveUp:V==="ArrowUp",moveNext:V===vn||V==="Tab"&&!se,columns:Je,colSpanColumns:Mi,rows:s,topSummaryRows:h,bottomSummaryRows:p,minRowIdx:st,mainHeaderRowIdx:or,maxRowIdx:lr,lastFrozenColumnIndex:at,cellNavigationMode:ue,currentPosition:J,nextPosition:Me,isCellWithinBounds:Dt});gi(Oe)}c(wr,"ma"),u(wr,"navigate");function wo(L){if(Dr===void 0)return;let{rowIdx:V}=J;return(V<Dr?V<L&&L<=Dr:V>L&&L>=Dr)?J.idx:void 0}c(wo,"ah"),u(wo,"getDraggedOverCellIdx");function Hi(){let L=Td(Ut.current);L!==null&&(hl(L),(L.querySelector('[tabindex="0"]')??L).focus({preventScroll:!0}))}c(Hi,"ga"),u(Hi,"focusCellOrCellContent");function mi(){if(Q==null||J.mode==="EDIT"||!Wr(J))return;let{idx:L,rowIdx:V}=J,se=Je[L];if(se.renderEditCell==null||se.editable===!1)return;let ue=Fr(se);return(0,fe.jsx)(Ah,{gridRowStart:br+V+1,rows:s,column:se,columnWidth:ue,maxColIdx:it,isLastRow:V===lr,selectedPosition:J,isCellEditable:kt,latestDraggedOverRowIdx:Bi,onRowsChange:m,onClick:Hi,onFill:Q,setDragging:no,setDraggedOverRowIdx:hi})}c(mi,"ch"),u(mi,"renderDragHandle");function Rn(L){if(J.rowIdx!==L||J.mode==="SELECT")return;let{idx:V,row:se}=J,ue=Je[V],Te=Nt(ue,at,{type:"ROW",row:se}),Me=u(Be=>{mn.current=Be,Ar(({idx:ut,rowIdx:wt})=>({idx:ut,rowIdx:wt,mode:"SELECT"}))},"closeEditor"),Oe=u((Be,ut,wt)=>{ut?(0,Ka.flushSync)(()=>{pi(ue,J.rowIdx,Be),Me(wt)}):Ar(Tt=>({...Tt,row:Be}))},"onRowChange");return s[J.rowIdx]!==J.originalRow&&Me(!1),(0,fe.jsx)(Oh,{column:ue,colSpan:Te,row:se,rowIdx:L,onRowChange:Oe,closeEditor:Me,onKeyDown:G,navigate:wr},ue.key)}c(Rn,"dh"),u(Rn,"getCellEditor");function Nr(L){let V=J.idx===-1?void 0:Je[J.idx];return V!==void 0&&J.rowIdx===L&&!sr.includes(V)?J.idx>fn?[...sr,V]:[...sr.slice(0,at+1),V,...sr.slice(at+1)]:sr}c(Nr,"mr"),u(Nr,"getRowViewportColumns");function Hr(){let L=[],{idx:V,rowIdx:se}=J,ue=xn&&se<Ai?Ai-1:Ai,Te=xn&&se>Ae?Ae+1:Ae;for(let Me=ue;Me<=Te;Me++){let Oe=Me===Ai-1||Me===Ae+1,Be=Oe?se:Me,ut=sr,wt=V===-1?void 0:Je[V];wt!==void 0&&(Oe?ut=[wt]:ut=Nr(Be));let Tt=s[Be],ji=br+Be+1,Ur=Be,Ui=!1;typeof f=="function"&&(Ur=f(Tt),Ui=P?.has(Ur)??!1),L.push(Ce(Ur,{"aria-rowindex":br+Be+1,"aria-selected":Li?Ui:void 0,rowIdx:Be,row:Tt,viewportColumns:ut,isRowSelectionDisabled:z?.(Tt)??!1,isRowSelected:Ui,onCellClick:Oi,onCellDoubleClick:Pl,onCellContextMenu:zl,rowClass:Pe,gridRowStart:ji,copiedCellIdx:ir!==null&&ir.row===Tt?Je.findIndex(gt=>gt.key===ir.columnKey):void 0,selectedCellIdx:se===Be?V:void 0,draggedOverCellIdx:wo(Be),setDraggedOverRowIdx:dn?hi:void 0,lastFrozenColumnIndex:at,onRowChange:Tn,selectCell:vr,selectedCellEditor:Rn(Be)}))}return L}c(Hr,"fh"),u(Hr,"getViewportRows"),(J.idx>it||J.rowIdx>lr)&&(Ar({idx:-1,rowIdx:st-1,mode:"SELECT"}),hi(void 0));let ur=`repeat(${nr}, ${q}px)`;Lr>0&&(ur+=` repeat(${Lr}, ${be}px)`),s.length>0&&(ur+=po),yr>0&&(ur+=` repeat(${yr}, ${be}px)`);let jr=J.idx===-1&&J.rowIdx!==st-1;return(0,fe.jsxs)("div",{role:ke,"aria-label":de,"aria-labelledby":ne,"aria-describedby":ee,"aria-multiselectable":Li?!0:void 0,"aria-colcount":Je.length,"aria-rowcount":co,className:Ii(Bg,Fe,dn&&Lg),style:{...Se,scrollPaddingInlineStart:J.idx>at||Br?.idx!==void 0?`${ao}px`:void 0,scrollPaddingBlock:ft(J.rowIdx)||Br?.rowIdx!==void 0?`${bn+Lr*be}px ${yr*be}px`:void 0,gridTemplateColumns:_n,gridTemplateRows:ur,"--rdg-header-row-height":`${q}px`,"--rdg-scroll-height":`${Tl}px`,...si},dir:jt,ref:Ut,onScroll:Pn,onKeyDown:bo,"data-testid":H,children:[(0,fe.jsxs)(Yf,{value:Cl,children:[(0,fe.jsx)(Qf,{value:kn,children:(0,fe.jsxs)(qf,{value:ls,children:[Array.from({length:Di},(L,V)=>(0,fe.jsx)(Sg,{rowIdx:V+1,level:-Di+V,columns:Nr(st+V),selectedCellIdx:J.rowIdx===st+V?J.idx:void 0,selectCell:yo},V)),(0,fe.jsx)(Cg,{rowIdx:nr,columns:Nr(or),onColumnResize:Cn,onColumnsReorder:Sn,sortColumns:M,onSortColumnsChange:ci,lastFrozenColumnIndex:at,selectedCellIdx:J.rowIdx===or?J.idx:void 0,selectCell:yo,shouldFocusGrid:!go,direction:jt})]})}),s.length===0&&gr?gr:(0,fe.jsxs)(fe.Fragment,{children:[h?.map((L,V)=>{let se=nr+1+V,ue=or+1+V,Te=J.rowIdx===ue,Me=bn+be*V;return(0,fe.jsx)(sh,{"aria-rowindex":se,rowIdx:ue,gridRowStart:se,row:L,top:Me,bottom:void 0,viewportColumns:Nr(ue),lastFrozenColumnIndex:at,selectedCellIdx:Te?J.idx:void 0,isTop:!0,selectCell:vr},V)}),(0,fe.jsx)(Kf,{value:mo,children:Hr()}),p?.map((L,V)=>{let se=br+s.length+V+1,ue=s.length+V,Te=J.rowIdx===ue,Me=di>ho?hn-be*(p.length-V):void 0,Oe=Me===void 0?be*(p.length-1-V):void 0;return(0,fe.jsx)(sh,{"aria-rowindex":co-yr+V+1,rowIdx:ue,gridRowStart:se,row:L,top:Me,bottom:Oe,viewportColumns:Nr(ue),lastFrozenColumnIndex:at,selectedCellIdx:Te?J.idx:void 0,isTop:!1,selectCell:vr},V)})]})]}),mi(),gh(sr),yn&&(0,fe.jsx)("div",{ref:ui,tabIndex:jr?0:-1,className:Ii(Ag,jr&&[bg,at!==-1&&vg],!ft(J.rowIdx)&&Og),style:{gridRowStart:J.rowIdx+br+1}}),Br!==null&&(0,fe.jsx)(qh,{scrollToPosition:Br,setScrollToCellPosition:oo,gridElement:Ut.current})]})}c(rp,"Fy");u(rp,"DataGrid");function Td(i){return i.querySelector(':scope > [role="row"] > [tabindex="0"]')}c(Td,"up");u(Td,"getCellToScroll");function Xa(i,o){return i.idx===o.idx&&i.rowIdx===o.rowIdx}c(Xa,"Us");u(Xa,"isSamePosition");var Vg=(0,oe.forwardRef)(rp),$g="g1yxluv37-0-0-beta-47",Uy=`rdg-group-row ${$g}`,Gg="t7vyx3i7-0-0-beta-47",Vy=`rdg-text-editor ${Gg}`,uh=on(to(),1);function ip(i){let o=uh.default.useMemo(()=>i.columns(),[i,i.dataChecksum()]),l=uh.default.useMemo(()=>i.data(),[i,i.dataChecksum()]);return[o,l]}c(ip,"Rp");u(ip,"useData");(function(){if(!document.getElementById("acd94ec7")){var i=document.createElement("style");i.id="acd94ec7",i.textContent=`@layer rdg {
9
+ @layer Defaults,
10
+ FocusSink,
11
+ CheckboxInput,
12
+ CheckboxIcon,
13
+ CheckboxLabel,
14
+ Cell,
15
+ HeaderCell,
16
+ SummaryCell,
17
+ EditCell,
18
+ Row,
19
+ HeaderRow,
20
+ SummaryRow,
21
+ GroupedRow,
22
+ Root;
23
+ }
24
+
25
+ .mlln6zg7-0-0-beta-47 {
26
+ @layer rdg.MeasuringCell {
27
+ contain: strict;
28
+ grid-row: 1;
29
+ visibility: hidden;
40
30
  }
31
+ }
32
+
33
+
34
+ .cj343x07-0-0-beta-47 {
35
+ @layer rdg.Cell {
36
+ /* max-content does not work with size containment
37
+ * dynamically switching between different containment styles incurs a heavy relayout penalty
38
+ * Chromium bug: at odd zoom levels or subpixel positioning,
39
+ * layout/paint/style containment can make cell borders disappear
40
+ * https://bugs.chromium.org/p/chromium/issues/detail?id=1326946
41
+ */
42
+ position: relative; /* needed for absolute positioning to work */
43
+ padding-block: 0;
44
+ padding-inline: 8px;
45
+ border-inline-end: 1px solid var(--rdg-border-color);
46
+ border-block-end: 1px solid var(--rdg-border-color);
47
+ grid-row-start: var(--rdg-grid-row-start);
48
+ align-content: center;
49
+ background-color: inherit;
41
50
 
42
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
43
- var e = new Error(message);
44
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
45
- };
46
-
47
- function requireWidget(classID) {
48
- return new Promise(function (resolve, _reject) {
49
- var parsedClassID = common.Utility.parseClassID(classID);
50
- if (require) {
51
- require([parsedClassID.package], function (Package) {
52
- var Widget = null;
53
- if (Package && Package[parsedClassID.widgetID]) {
54
- Widget = Package[parsedClassID.widgetID];
55
- }
56
- resolve(parsedClassID.memberWidgetID ? (Widget.prototype ? Widget.prototype[parsedClassID.memberWidgetID] : Widget[parsedClassID.memberWidgetID]) : Widget);
57
- });
58
- }
59
- });
51
+ white-space: nowrap;
52
+ overflow: clip;
53
+ text-overflow: ellipsis;
54
+ outline: none;
55
+
56
+ &[aria-selected='true'] {
57
+ outline: 2px solid var(--rdg-selection-color);
58
+ outline-offset: -2px;
59
+ }
60
60
  }
61
- function requireWidgets(classIDs) {
62
- return Promise.all(classIDs.map(requireWidget));
61
+ }
62
+
63
+ .csofj7r7-0-0-beta-47 {
64
+ @layer rdg.Cell {
65
+ position: sticky;
66
+ /* Should have a higher value than 0 to show up above unfrozen cells */
67
+ z-index: 1;
68
+
69
+ /* Add box-shadow on the last frozen cell */
70
+ &:nth-last-child(1 of &) {
71
+ box-shadow: var(--rdg-cell-frozen-box-shadow);
72
+ }
63
73
  }
74
+ }
64
75
 
65
- var Utility = /*#__PURE__*/Object.freeze({
66
- __proto__: null,
67
- requireWidget: requireWidget,
68
- requireWidgets: requireWidgets
69
- });
70
-
71
- var MultiChart = /** @class */ (function (_super) {
72
- __extends(MultiChart, _super);
73
- function MultiChart() {
74
- var _this = _super.call(this) || this;
75
- _this._allCharts = {};
76
- api.INDChart.call(_this);
77
- api.IGraph.call(_this);
78
- _this._tag = "div";
79
- _this._allCharts = {};
80
- _this._allChartTypes.forEach(function (item) {
81
- var newItem = JSON.parse(JSON.stringify(item));
82
- newItem.widget = null;
83
- this._allCharts[item.id] = newItem;
84
- this._allCharts[item.display] = newItem;
85
- this._allCharts[item.widgetClass] = newItem;
86
- }, _this);
87
- _this._chartTypeDefaults = {};
88
- _this._chartTypeProperties = {};
89
- return _this;
90
- }
91
- MultiChart.prototype.fields = function (_) {
92
- var retVal = _super.prototype.fields.apply(this, arguments);
93
- if (this.chart()) {
94
- if (!arguments.length)
95
- return this.chart().fields();
96
- this.chart().fields(_);
97
- }
98
- return retVal;
99
- };
100
- MultiChart.prototype.columns = function (_, asDefault) {
101
- var retVal = common.HTMLWidget.prototype.columns.apply(this, arguments);
102
- if (this.chart()) {
103
- if (!arguments.length)
104
- return this.chart().columns();
105
- this.chart().columns(_, asDefault);
106
- }
107
- return retVal;
108
- };
109
- MultiChart.prototype.data = function (_) {
110
- var retVal = common.HTMLWidget.prototype.data.apply(this, arguments);
111
- if (this.chart()) {
112
- if (!arguments.length)
113
- return this.chart().data();
114
- this.chart().data(_);
115
- }
116
- return retVal;
117
- };
118
- MultiChart.prototype.hasOverlay = function () {
119
- return this.chart() && this.chart().hasOverlay();
120
- };
121
- MultiChart.prototype.visible = function (_) {
122
- if (!arguments.length)
123
- return this.chart() && this.chart().visible();
124
- if (this.chart()) {
125
- this.chart().visible(_);
126
- }
127
- return this;
128
- };
129
- MultiChart.prototype.chartTypeDefaults = function (_) {
130
- if (!arguments.length)
131
- return this._chartTypeDefaults;
132
- this._chartTypeDefaults = _;
133
- return this;
134
- };
135
- MultiChart.prototype.chartTypeProperties = function (_) {
136
- if (!arguments.length)
137
- return this._chartTypeProperties;
138
- this._chartTypeProperties = _;
139
- return this;
140
- };
141
- MultiChart.prototype.getChartDataFamily = function () {
142
- return this._allCharts[this.chartType()].family;
143
- };
144
- MultiChart.prototype.requireContent = function (chartType, callback) {
145
- var classInfo = common.Utility.parseClassID(this._allCharts[chartType].widgetClass);
146
- switch (classInfo.package) {
147
- case "@hpcc-js/chart":
148
- require(["@hpcc-js/chart"], function (mod) {
149
- callback(new mod[classInfo.widgetID]());
150
- });
151
- break;
152
- case "@hpcc-js/dgrid":
153
- require(["@hpcc-js/dgrid"], function (mod) {
154
- callback(new mod[classInfo.widgetID]());
155
- });
156
- break;
157
- default:
158
- requireWidget(this._allCharts[chartType].widgetClass).then(function (WidgetClass) {
159
- callback(new WidgetClass());
160
- });
161
- }
162
- };
163
- MultiChart.prototype.switchChart = function (callback) {
164
- if (this._switchingTo === this.chartType()) {
165
- if (callback) {
166
- callback(this);
167
- }
168
- return;
169
- }
170
- else if (this._switchingTo) {
171
- console.warn("Attempting switch to: " + this.chartType() + ", before previous switch is complete (" + this._switchingTo + ")");
172
- }
173
- this._switchingTo = this.chartType();
174
- var oldContent = this.chart();
175
- var context = this;
176
- this.requireContent(this.chartType(), function (newContent) {
177
- if (newContent !== oldContent) {
178
- var size = context.size();
179
- newContent
180
- .fields(context.fields())
181
- .data(context.data())
182
- .size(size);
183
- context.chart(newContent);
184
- if (oldContent) {
185
- oldContent
186
- .size({ width: 1, height: 1 })
187
- .render();
188
- }
189
- }
190
- delete context._switchingTo;
191
- if (callback) {
192
- callback(this);
193
- }
194
- });
195
- };
196
- MultiChart.prototype.update = function (domNode, element) {
197
- _super.prototype.update.call(this, domNode, element);
198
- var content = element.selectAll(".multiChart").data(this.chart() ? [this.chart()] : [], function (d) { return d._id; });
199
- content.enter().append("div")
200
- .attr("class", "multiChart")
201
- .each(function (d) {
202
- d.target(this);
203
- });
204
- var currChart = this.chart();
205
- if (currChart) {
206
- for (var key in this._chartTypeDefaults) {
207
- if (currChart[key + "_default"]) {
208
- try {
209
- currChart[key + "_default"](this._chartTypeDefaults[key]);
210
- }
211
- catch (e) {
212
- console.warn("Exception Setting Default: " + key);
213
- }
214
- }
215
- else {
216
- console.warn("Unknown Default: " + key);
217
- }
218
- }
219
- this._chartTypeDefaults = {};
220
- for (var propKey in this._chartTypeProperties) {
221
- if (currChart[propKey]) {
222
- try {
223
- currChart[propKey](this._chartTypeProperties[propKey]);
224
- }
225
- catch (e) {
226
- console.warn("Exception Setting Property: " + propKey);
227
- }
228
- }
229
- else {
230
- console.warn("Unknown Property: " + propKey);
231
- }
232
- }
233
- this._chartTypeProperties = {};
234
- }
235
- var context = this;
236
- content
237
- .each(function (d) { d.resize(context.size()); });
238
- content.exit().transition()
239
- .each(function (d) { d.target(null); })
240
- .remove();
241
- };
242
- MultiChart.prototype.exit = function (domNode, element) {
243
- if (this._chartMonitor) {
244
- this._chartMonitor.remove();
245
- delete this._chartMonitor;
246
- }
247
- if (this.chart()) {
248
- this.chart().target(null);
249
- }
250
- _super.prototype.exit.call(this, domNode, element);
251
- };
252
- MultiChart.prototype.render = function (_callback) {
253
- if (this.chartType() && (!this.chart() || (this.chart().classID() !== this._allCharts[this.chartType()].widgetClass))) {
254
- var context_1 = this;
255
- var args_1 = arguments;
256
- this.switchChart(function () {
257
- common.HTMLWidget.prototype.render.apply(context_1, args_1);
258
- });
259
- return this;
260
- }
261
- return common.HTMLWidget.prototype.render.apply(this, arguments);
262
- };
263
- return MultiChart;
264
- }(common.HTMLWidget));
265
- MultiChart.prototype._class += " composite_MultiChart";
266
- MultiChart.prototype.implements(api.INDChart.prototype);
267
- MultiChart.prototype.implements(api.IGraph.prototype);
268
- MultiChart.prototype._otherChartTypes = [
269
- { id: "FORM", display: "Form", widgetClass: "form_FieldForm" }
270
- ].map(function (item) { item.family = "other"; return item; });
271
- MultiChart.prototype._graphChartTypes = [
272
- { id: "GRAPH", display: "Graph", widgetClass: "graph_Graph" },
273
- { id: "ADJACENCY_GRAPH", display: "Graph", widgetClass: "graph_AdjacencyGraph" },
274
- { id: "GRAPHC", display: "GraphC", widgetClass: "graph_GraphC" }
275
- ].map(function (item) { item.family = "GRAPH"; return item; });
276
- MultiChart.prototype._1DChartTypes = [].map(function (item) { item.family = "1D"; return item; });
277
- MultiChart.prototype._2DChartTypes = [
278
- { id: "SUMMARY", display: "Summary", widgetClass: "chart_Summary" },
279
- { id: "BUBBLE", display: "Bubble", widgetClass: "chart_Bubble" },
280
- { id: "PIE", display: "Pie", widgetClass: "chart_Pie" },
281
- { id: "WORD_CLOUD", display: "Word Cloud", widgetClass: "other_WordCloud" }
282
- ].map(function (item) { item.family = "2D"; return item; });
283
- MultiChart.prototype._NDChartTypes = [
284
- { id: "COLUMN", display: "Column", widgetClass: "chart_Column" },
285
- { id: "BAR", display: "Bar", widgetClass: "chart_Bar" },
286
- { id: "LINE", display: "Line", widgetClass: "chart_Line" },
287
- { id: "AREA", display: "Area", widgetClass: "chart_Area" },
288
- { id: "STEP", display: "Step", widgetClass: "chart_Step" },
289
- { id: "SCATTER", display: "Scatter", widgetClass: "chart_Scatter" },
290
- { id: "HEXBIN", display: "Hex Bin", widgetClass: "chart_HexBin" }
291
- ].map(function (item) { item.family = "ND"; return item; });
292
- MultiChart.prototype._mapChartTypes = [
293
- { id: "CHORO_USSTATES", display: "US State Choropleth", widgetClass: "map_ChoroplethStates" },
294
- { id: "CHORO_USCOUNTIES", display: "US County Choropleth", widgetClass: "map_ChoroplethCounties" },
295
- { id: "CHORO_COUNTRIES", display: "Country Choropleth", widgetClass: "map_ChoroplethCountries" },
296
- { id: "GMAP_CHORO_USCOUNTIES", display: "Google Map US County Choropleth", widgetClass: "map_GMapCounties" },
297
- { id: "GOOGLE_MAP", display: "Google Map", widgetClass: "map_GMapLayered" },
298
- { id: "OPENSTREET", display: "Open Street Map", widgetClass: "map_OpenStreet" }
299
- ].map(function (item) { item.family = "map"; return item; });
300
- MultiChart.prototype._anyChartTypes = [
301
- { id: "TABLE", display: "Table", widgetClass: "dgrid_Table" },
302
- { id: "TABLE_LEGACY", display: "Table (legacy)", widgetClass: "other_Table" },
303
- { id: "TABLE_NESTED", display: "Nested Table", widgetClass: "other_NestedTable" },
304
- { id: "TABLE_CALENDAR", display: "Table driven Calendar Heat Map", widgetClass: "other_CalendarHeatMap" },
305
- { id: "TABLE_BULLET", display: "Table driven bullet chart", widgetClass: "chart_Bullet" },
306
- { id: "TABLE_SELECT", display: "Table driven select", widgetClass: "other_Select" },
307
- { id: "TABLE_AUTOCOMPLETE", display: "Table driven auto complete", widgetClass: "other_AutoCompleteText" },
308
- { id: "TABLE_OPPORTUNITY", display: "Table driven opportunity widget", widgetClass: "graph_Opportunity" },
309
- { id: "TABLE_TREE", display: "Table driven tree", widgetClass: "tree_Dendrogram" },
310
- { id: "TABLE_TREEMAP", display: "Table driven Treemap", widgetClass: "tree_Treemap" },
311
- { id: "TABLE_SANKEY", display: "Table driven Sankey", widgetClass: "graph_Sankey" },
312
- { id: "TABLE_GMAP_PIN", display: "Table driven Google Map (pins)", widgetClass: "map_GMapPin" },
313
- { id: "TABLE_GMAP_PINLINE", display: "Table driven Google Map (pins/lines)", widgetClass: "map_GMapPinLine" },
314
- { id: "TABLE_XML_TREE", display: "Table driven XML Tree", widgetClass: "tree_Indented" }
315
- ].map(function (item) { item.family = "any"; return item; });
316
- MultiChart.prototype._allChartTypes =
317
- MultiChart.prototype._otherChartTypes.concat(MultiChart.prototype._graphChartTypes.concat(MultiChart.prototype._1DChartTypes.concat(MultiChart.prototype._2DChartTypes.concat(MultiChart.prototype._NDChartTypes.concat(MultiChart.prototype._mapChartTypes.concat(MultiChart.prototype._anyChartTypes))))));
318
- MultiChart.prototype._allMap = common.map(MultiChart.prototype._allChartTypes, function (item) { return item.family; });
319
- MultiChart.prototype._allFamilies = MultiChart.prototype._allMap.keys();
320
- MultiChart.prototype._allChartTypesMap = {};
321
- MultiChart.prototype._allChartTypesByClass = {};
322
- MultiChart.prototype._allChartTypes.forEach(function (item) {
323
- item.widgetPath = common.Utility.widgetPath(item.widgetClass);
324
- MultiChart.prototype._allChartTypesMap[item.id] = item;
325
- MultiChart.prototype._allChartTypesByClass[item.widgetClass] = item;
326
- });
327
- MultiChart.prototype.publishReset();
328
- MultiChart.prototype.publish("hideRowOnLegendClick", false, "boolean", "Enable/Disable hiding row on legend clicks", null, { tags: ["Basic"] });
329
- MultiChart.prototype.publish("chartType", "BUBBLE", "set", "Chart Type", MultiChart.prototype._allChartTypes.map(function (item) { return item.id; }), { tags: ["Basic"] });
330
- MultiChart.prototype.publish("chart", null, "widget", "Chart", null, { tags: ["Basic"] });
331
- var _origChart = MultiChart.prototype.chart;
332
- MultiChart.prototype.chart = function (_) {
333
- var retVal = _origChart.apply(this, arguments);
334
- if (arguments.length) {
335
- var context_2 = this;
336
- if (this._allChartTypesByClass[_.classID()]) {
337
- this.chartType(this._allChartTypesByClass[_.classID()].id);
338
- }
339
- else {
340
- console.warn("Unknown Class ID: " + _.classID());
341
- }
342
- _.click = function (_row, _column, _selected) {
343
- context_2.click.apply(context_2, arguments);
344
- };
345
- _.dblclick = function (_row, _column, _selected) {
346
- context_2.dblclick.apply(context_2, arguments);
347
- };
348
- _.vertex_click = function (row, column, selected, more) {
349
- context_2.vertex_click.apply(context_2, arguments);
350
- };
351
- _.vertex_dblclick = function (row, column, selected, more) {
352
- context_2.vertex_dblclick.apply(context_2, arguments);
353
- };
354
- _.edge_click = function (row, column, selected, more) {
355
- context_2.edge_click.apply(context_2, arguments);
356
- };
357
- _.edge_dblclick = function (row, column, selected, more) {
358
- context_2.edge_dblclick.apply(context_2, arguments);
359
- };
360
- if (this._chartMonitor) {
361
- this._chartMonitor.remove();
362
- delete this._chartMonitor;
363
- }
364
- this._chartMonitor = _.monitor(function (key, newVal, oldVal) {
365
- context_2.broadcast(key, newVal, oldVal, _);
366
- });
367
- }
368
- return retVal;
369
- };
370
76
 
371
- function styleInject(css, ref) {
372
- if ( ref === void 0 ) ref = {};
373
- var insertAt = ref.insertAt;
77
+ .c1bn88vv7-0-0-beta-47 {
78
+ @layer rdg.CheckboxInput {
79
+ display: block;
80
+ margin: auto;
81
+ inline-size: 20px;
82
+ block-size: 20px;
83
+
84
+ &:focus-visible {
85
+ outline: 2px solid var(--rdg-checkbox-focus-color);
86
+ outline-offset: -3px;
87
+ }
88
+
89
+ &:enabled {
90
+ cursor: pointer;
91
+ }
92
+ }
93
+ }
94
+
374
95
 
375
- if (!css || typeof document === 'undefined') { return; }
96
+ .g1s9ylgp7-0-0-beta-47 {
97
+ @layer rdg.GroupCellContent {
98
+ outline: none;
99
+ }
100
+ }
376
101
 
377
- var head = document.head || document.getElementsByTagName('head')[0];
378
- var style = document.createElement('style');
379
- style.type = 'text/css';
102
+ .cz54e4y7-0-0-beta-47 {
103
+ @layer rdg.GroupCellCaret {
104
+ margin-inline-start: 4px;
105
+ stroke: currentColor;
106
+ stroke-width: 1.5px;
107
+ fill: transparent;
108
+ vertical-align: middle;
380
109
 
381
- if (insertAt === 'top') {
382
- if (head.firstChild) {
383
- head.insertBefore(style, head.firstChild);
384
- } else {
385
- head.appendChild(style);
386
- }
387
- } else {
388
- head.appendChild(style);
110
+ > path {
111
+ transition: d 0.1s;
389
112
  }
113
+ }
114
+ }
115
+
116
+
117
+ .c1w9bbhr7-0-0-beta-47 {
118
+ @layer rdg.DragHandle {
119
+ --rdg-drag-handle-size: 8px;
120
+ z-index: 0;
121
+ cursor: move;
122
+ inline-size: var(--rdg-drag-handle-size);
123
+ block-size: var(--rdg-drag-handle-size);
124
+ background-color: var(--rdg-selection-color);
125
+ place-self: end;
390
126
 
391
- if (style.styleSheet) {
392
- style.styleSheet.cssText = css;
393
- } else {
394
- style.appendChild(document.createTextNode(css));
127
+ &:hover {
128
+ --rdg-drag-handle-size: 16px;
129
+ border: 2px solid var(--rdg-selection-color);
130
+ background-color: var(--rdg-background-color);
395
131
  }
396
132
  }
133
+ }
397
134
 
398
- var css_248z$2 = ".composite_ChartPanel>.body{display:flex;flex-flow:row;margin:0;padding:0}.composite_ChartPanel>.body>article{flex:3 1 60%;order:2}.composite_ChartPanel>.body>nav{flex:1 6 20%;order:1}.composite_ChartPanel>.body>aside{flex:1 6 20%;margin-left:4px;order:3}footer,header{display:block}";
399
- styleInject(css_248z$2);
135
+ .c1creorc7-0-0-beta-47 {
136
+ @layer rdg.DragHandle {
137
+ z-index: 1;
138
+ position: sticky;
139
+ }
140
+ }
400
141
 
401
- var Summary = /** @class */ (function (_super) {
402
- __extends(Summary, _super);
403
- function Summary() {
404
- return _super.call(this) || this;
405
- }
406
- Summary.prototype.enter = function (domNode, element) {
407
- _super.prototype.enter.call(this, domNode, element);
408
- element.append("p");
409
- };
410
- Summary.prototype.update = function (domNode, element) {
411
- _super.prototype.update.call(this, domNode, element);
412
- element.select("p").text(this.text());
413
- };
414
- return Summary;
415
- }(common.HTMLWidget));
416
- Summary.prototype.publish("text", "", "string");
417
- var MultiChartPanel = /** @class */ (function (_super) {
418
- __extends(MultiChartPanel, _super);
419
- function MultiChartPanel() {
420
- var _this = _super.call(this) || this;
421
- _this.widget(new MultiChart().chartType("COLUMN"));
422
- return _this;
423
- }
424
- MultiChartPanel.prototype.multiChart = function () {
425
- return this._widget;
426
- };
427
- MultiChartPanel.prototype.chartType = function (_) {
428
- if (!arguments.length)
429
- return this._widget.chartType();
430
- this._widget.chartType(_);
431
- return this;
432
- };
433
- MultiChartPanel.prototype.chart = function (_) {
434
- if (!arguments.length)
435
- return this._widget.chart();
436
- this._widget.chart(_);
437
- return this;
438
- };
439
- MultiChartPanel.prototype.chartTypeDefaults = function (_) {
440
- if (!arguments.length)
441
- return this._widget.chartTypeDefaults();
442
- this._widget.chartTypeDefaults(_);
443
- return this;
444
- };
445
- MultiChartPanel.prototype.chartTypeProperties = function (_) {
446
- if (!arguments.length)
447
- return this._widget.chartTypeProperties();
448
- this._widget.chartTypeProperties(_);
449
- return this;
450
- };
451
- MultiChartPanel.prototype.update = function (domNode, element) {
452
- _super.prototype.update.call(this, domNode, element);
453
- if (this._widget instanceof MultiChart) {
454
- this._legend.dataFamily(this._widget.getChartDataFamily());
455
- }
456
- _super.prototype.update.call(this, domNode, element);
457
- };
458
- return MultiChartPanel;
459
- }(layout.ChartPanel));
460
- MultiChartPanel.prototype._class += " composite_MultiChartPanel";
461
-
462
- var css_248z$1 = ".composite_Dermatology{background-color:#f8f8ff}.composite_Dermatology .common_Icon{background-color:red;opacity:.75}.composite_Dermatology .common_Icon .common_Shape{fill:#fff;stroke:#a9a9a9;cursor:pointer}.composite_Dermatology .common_Icon.show .common_Shape{fill:#d3d3d3}.composite_Dermatology .common_Icon .common_FAChar .common_Text{fill:#a9a9a9;cursor:pointer}.composite_Dermatology .other_PropertyEditor{font-family:sans-serif;font-size:11px}.composite_Dermatology .other_PropertyEditor input{border:0;font-family:sans-serif;font-size:11px}.composite_Dermatology .other_PropertyEditor .property-label{height:unset}";
463
- styleInject(css_248z$1);
464
-
465
- var Dermatology = /** @class */ (function (_super) {
466
- __extends(Dermatology, _super);
467
- function Dermatology() {
468
- var _this = _super.call(this) || this;
469
- _this._toolbar = new layout.Toolbar()
470
- .title("Dermatology");
471
- _this._propEditor = new other.PropertyEditor()
472
- .show_settings(true);
473
- return _this;
142
+
143
+ .cis5rrm7-0-0-beta-47 {
144
+ @layer rdg.EditCell {
145
+ padding: 0;
146
+ }
147
+ }
148
+
149
+
150
+ .h44jtk67-0-0-beta-47 {
151
+ @layer rdg.SortableHeaderCell {
152
+ display: flex;
153
+ }
154
+ }
155
+
156
+ .hcgkhxz7-0-0-beta-47 {
157
+ @layer rdg.SortableHeaderCellName {
158
+ flex-grow: 1;
159
+ overflow: clip;
160
+ text-overflow: ellipsis;
161
+ }
162
+ }
163
+
164
+
165
+ .c6l2wv17-0-0-beta-47 {
166
+ @layer rdg.HeaderCell {
167
+ cursor: pointer;
168
+ }
169
+ }
170
+
171
+ .c1kqdw7y7-0-0-beta-47 {
172
+ @layer rdg.HeaderCell {
173
+ touch-action: none;
174
+ }
175
+ }
176
+
177
+ .r1y6ywlx7-0-0-beta-47 {
178
+ @layer rdg.HeaderCell {
179
+ cursor: col-resize;
180
+ position: absolute;
181
+ inset-block-start: 0;
182
+ inset-inline-end: 0;
183
+ inset-block-end: 0;
184
+ inline-size: 10px;
185
+ }
186
+ }
187
+
188
+ .c1bezg5o7-0-0-beta-47 {
189
+ opacity: 0.5;
190
+ }
191
+
192
+ .c1vc96037-0-0-beta-47 {
193
+ background-color: var(--rdg-header-draggable-background-color);
194
+ }
195
+
196
+
197
+ .r1upfr807-0-0-beta-47 {
198
+ @layer rdg.Row {
199
+ display: contents;
200
+ background-color: var(--rdg-background-color);
201
+
202
+ &:hover {
203
+ background-color: var(--rdg-row-hover-background-color);
204
+ }
205
+
206
+ &[aria-selected='true'] {
207
+ background-color: var(--rdg-row-selected-background-color);
208
+
209
+ &:hover {
210
+ background-color: var(--rdg-row-selected-hover-background-color);
474
211
  }
475
- Dermatology.prototype.showProperties = function (_) {
476
- if (!arguments.length)
477
- return this._showProperties;
478
- this._showProperties = _;
479
- this
480
- .rightPercentage(0)
481
- .rightSize(this._showProperties ? 360 : 0)
482
- .setContent("right", this._showProperties ? this._propEditor : null);
483
- var widget = this.widget();
484
- if (widget && widget.designMode) {
485
- widget.designMode(this._showProperties);
486
- }
487
- return this;
488
- };
489
- Dermatology.prototype.toggleProperties = function () {
490
- return this.showProperties(!this.showProperties());
491
- };
492
- Dermatology.prototype.enter = function (domNode, element) {
493
- _super.prototype.enter.call(this, domNode, element);
494
- this
495
- .topPercentage(0)
496
- .topSize(0)
497
- .setContent("top", this._toolbar);
498
- this.getCell("top").surfaceShadow(true);
499
- var context = this;
500
- this._propsButton = new form.OnOff()
501
- .id(this.id() + "_props")
502
- .value("Properties")
503
- .on("click", function () {
504
- context
505
- .toggleProperties()
506
- .render();
507
- });
508
- this._toolbar.widgets([this._propsButton]);
509
- };
510
- Dermatology.prototype.update = function (domNode, element) {
511
- this
512
- .topPercentage(0)
513
- .topSize(this.showToolbar() ? 32 : 0);
514
- _super.prototype.update.call(this, domNode, element);
515
- var widget = this.widget();
516
- element.style("background-color", widget && widget.surfaceShadow ? null : "white");
517
- };
518
- Dermatology.prototype.render = function (callback) {
519
- var widget = this.widget();
520
- if (widget !== this._prevWidget) {
521
- if (widget && widget.surfaceShadow) {
522
- widget.surfaceBackgroundColor_default("white");
523
- }
524
- this.setContent("center", widget);
525
- this._propEditor.widget(widget);
526
- this._prevWidget = widget;
527
- }
528
- return _super.prototype.render.call(this, callback);
529
- };
530
- return Dermatology;
531
- }(layout.Border));
532
- Dermatology.prototype._class += " composite_Dermatology";
533
- Dermatology.prototype.publish("showToolbar", true, "boolean", "Show Toolbar");
534
- Dermatology.prototype.publish("widget", null, "widget", "Widget");
535
-
536
- var css_248z = ".composite_MegaChart-Info,.composite_MegaChart-Info *,.composite_MegaChart-Maximize,.composite_MegaChart-Maximize *{font-family:FontAwesome}";
537
- styleInject(css_248z);
538
-
539
- var MegaChart = /** @class */ (function (_super) {
540
- __extends(MegaChart, _super);
541
- function MegaChart() {
542
- var _this = _super.call(this) || this;
543
- _this._chart = new MultiChart();
544
- _this._toolbar = new layout.Toolbar();
545
- _this._valueTitle = new common.Text();
546
- _this._domainTitle = new common.Text();
547
- _this._legend = new other.Legend();
548
- _this._tag = "div";
549
- var context = _this;
550
- _this._chart.click = function () {
551
- context.click.apply(context, arguments);
552
- };
553
- _this._chart.dblclick = function () {
554
- context.dblclick.apply(context, arguments);
555
- };
556
- _this._chart.vertex_click = function () {
557
- context.vertex_click.apply(context, arguments);
558
- };
559
- _this._chart.vertex_dblclick = function () {
560
- context.vertex_dblclick.apply(context, arguments);
561
- };
562
- _this._chart.edge_click = function () {
563
- context.edge_click.apply(context, arguments);
564
- };
565
- _this._chart.edge_dblclick = function () {
566
- context.edge_dblclick.apply(context, arguments);
567
- };
568
- return _this;
212
+ }
213
+ }
214
+ }
215
+
216
+ .r190mhd37-0-0-beta-47 {
217
+ @layer rdg.FocusSink {
218
+ outline: 2px solid var(--rdg-selection-color);
219
+ outline-offset: -2px;
220
+ }
221
+ }
222
+
223
+ .r139qu9m7-0-0-beta-47 {
224
+ @layer rdg.FocusSink {
225
+ &::before {
226
+ content: '';
227
+ display: inline-block;
228
+ block-size: 100%;
229
+ position: sticky;
230
+ inset-inline-start: 0;
231
+ border-inline-start: 2px solid var(--rdg-selection-color);
232
+ }
233
+ }
234
+ }
235
+
236
+
237
+ .h10tskcx7-0-0-beta-47 {
238
+ @layer rdg.HeaderRow {
239
+ display: contents;
240
+ background-color: var(--rdg-header-background-color);
241
+ font-weight: bold;
242
+
243
+ & > .cj343x07-0-0-beta-47 {
244
+ /* Should have a higher value than 1 to show up above regular cells and the focus sink */
245
+ z-index: 2;
246
+ position: sticky;
247
+ }
248
+
249
+ & > .csofj7r7-0-0-beta-47 {
250
+ z-index: 3;
251
+ }
252
+ }
253
+ }
254
+
255
+
256
+ .c6ra8a37-0-0-beta-47 {
257
+ @layer rdg.Cell {
258
+ background-color: #ccccff;
259
+ }
260
+ }
261
+
262
+ .cq910m07-0-0-beta-47 {
263
+ @layer rdg.Cell {
264
+ background-color: #ccccff;
265
+
266
+ &.c6ra8a37-0-0-beta-47 {
267
+ background-color: #9999ff;
268
+ }
269
+ }
270
+ }
271
+
272
+
273
+ .a3ejtar7-0-0-beta-47 {
274
+ @layer rdg.SortIcon {
275
+ fill: currentColor;
276
+
277
+ > path {
278
+ transition: d 0.1s;
279
+ }
280
+ }
281
+ }
282
+
283
+
284
+ .rnvodz57-0-0-beta-47 {
285
+ @layer rdg.Defaults {
286
+ *,
287
+ *::before,
288
+ *::after {
289
+ box-sizing: inherit;
290
+ }
291
+ }
292
+
293
+ @layer rdg.Root {
294
+ --rdg-color: #000; --rdg-border-color: #ddd; --rdg-summary-border-color: #aaa; --rdg-background-color: hsl(0deg 0% 100%); --rdg-header-background-color: hsl(0deg 0% 97.5%); --rdg-header-draggable-background-color: hsl(0deg 0% 90.5%); --rdg-row-hover-background-color: hsl(0deg 0% 96%); --rdg-row-selected-background-color: hsl(207deg 76% 92%); --rdg-row-selected-hover-background-color: hsl(207deg 76% 88%); --rdg-checkbox-focus-color: hsl(207deg 100% 69%);
295
+ --rdg-selection-color: #66afe9;
296
+ --rdg-font-size: 14px;
297
+ --rdg-cell-frozen-box-shadow: 2px 0 5px -2px rgba(136, 136, 136, 0.3);
298
+
299
+ &:dir(rtl) {
300
+ --rdg-cell-frozen-box-shadow: -2px 0 5px -2px rgba(136, 136, 136, 0.3);
301
+ }
302
+
303
+ display: grid;
304
+
305
+ color-scheme: var(--rdg-color-scheme, light dark);
306
+ accent-color: light-dark(hsl(207deg 100% 29%), hsl(207deg 100% 79%));
307
+
308
+ /* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context */
309
+ /* We set a stacking context so internal elements don't render on top of external elements. */
310
+ /* size containment is not used as it could break "width: min-content" for example, and the grid would infinitely resize on Chromium browsers */
311
+ contain: content;
312
+ content-visibility: auto;
313
+ block-size: 350px;
314
+ border: 1px solid var(--rdg-border-color);
315
+ box-sizing: border-box;
316
+ overflow: auto;
317
+ background-color: var(--rdg-background-color);
318
+ color: var(--rdg-color);
319
+ font-size: var(--rdg-font-size);
320
+
321
+ /* needed on Firefox to fix scrollbars */
322
+ &::before {
323
+ content: '';
324
+ grid-column: 1/-1;
325
+ grid-row: 1/-1;
326
+ }
327
+
328
+ &.rdg-dark {
329
+ --rdg-color-scheme: dark;
330
+ --rdg-color: #ddd; --rdg-border-color: #444; --rdg-summary-border-color: #555; --rdg-background-color: hsl(0deg 0% 13%); --rdg-header-background-color: hsl(0deg 0% 10.5%); --rdg-header-draggable-background-color: hsl(0deg 0% 17.5%); --rdg-row-hover-background-color: hsl(0deg 0% 9%); --rdg-row-selected-background-color: hsl(207deg 76% 42%); --rdg-row-selected-hover-background-color: hsl(207deg 76% 38%); --rdg-checkbox-focus-color: hsl(207deg 100% 89%);
331
+ }
332
+
333
+ &.rdg-light {
334
+ --rdg-color-scheme: light;
335
+ }
336
+
337
+ @media (prefers-color-scheme: dark) {
338
+ &:not(.rdg-light) {
339
+ --rdg-color: #ddd; --rdg-border-color: #444; --rdg-summary-border-color: #555; --rdg-background-color: hsl(0deg 0% 13%); --rdg-header-background-color: hsl(0deg 0% 10.5%); --rdg-header-draggable-background-color: hsl(0deg 0% 17.5%); --rdg-row-hover-background-color: hsl(0deg 0% 9%); --rdg-row-selected-background-color: hsl(207deg 76% 42%); --rdg-row-selected-hover-background-color: hsl(207deg 76% 38%); --rdg-checkbox-focus-color: hsl(207deg 100% 89%);
569
340
  }
570
- MegaChart.prototype.toolbarWidgets = function (_) {
571
- if (!arguments.length)
572
- return this._toolbar.widgets();
573
- this._toolbar.widgets(_);
574
- return this;
575
- };
576
- MegaChart.prototype.chartTypeDefaults = function (_) {
577
- if (!arguments.length)
578
- return this._chart.chartTypeDefaults();
579
- this._chart.chartTypeDefaults(_);
580
- return this;
581
- };
582
- MegaChart.prototype.chartTypeProperties = function (_) {
583
- if (!arguments.length)
584
- return this._chart.chartTypeProperties();
585
- this._chart.chartTypeProperties(_);
586
- return this;
587
- };
588
- MegaChart.prototype.fields = function (_) {
589
- if (!arguments.length)
590
- return this._chart.fields();
591
- this._chart.fields(_);
592
- return this;
593
- };
594
- MegaChart.prototype.columns = function (_, asDefault) {
595
- if (!arguments.length)
596
- return this._chart.columns();
597
- this._chart.columns(_, asDefault);
598
- return this;
599
- };
600
- MegaChart.prototype.data = function (_) {
601
- if (!arguments.length)
602
- return this._chart.data();
603
- this._chart.data(_);
604
- return this;
605
- };
606
- MegaChart.prototype.downloadCSV = function () {
607
- common.Utility.downloadString("CSV", this._chart.export("CSV"));
608
- return this;
609
- };
610
- MegaChart.prototype.enter = function (domNode, element) {
611
- _super.prototype.enter.call(this, domNode, element);
612
- var context = this;
613
- this.topShrinkWrap(false).topPercentage(0).topSize(30);
614
- this._dataCount = new other.Html()
615
- .classed({ "composite_MegaChart-dataCount": true })
616
- .id(this.id() + "_dataCount")
617
- .html('<span class="MegaChart-dataCount-label">Count:</span>&nbsp;<span class="MegaChart-dataCount-value">' + (this.data() ? this.data().length : "0") + "</span>")
618
- .overflowX("visible")
619
- .overflowY("visible");
620
- this._csvButton = new form.Button()
621
- .classed({ "composite_MegaChart-CSV": true })
622
- .id(this.id() + "_csv")
623
- .value("CSV");
624
- this._csvButton.click = function (a) {
625
- context.downloadCSV();
626
- };
627
- this._infoButton = new form.Button()
628
- .classed({ "composite_MegaChart-Info": true })
629
- .id(this.id() + "_info")
630
- .value(this.infoIcon());
631
- this._maximizeButton = new form.Button()
632
- .classed({ "composite_MegaChart-Maximize": true })
633
- .id(this.id() + "_maximize")
634
- .value("\uf2d0");
635
- this._maximizeButton.click = function (buttonWidget) {
636
- var target = context.target();
637
- var node = target;
638
- var isMaximized = common.select(target).classed("__hpccisMaximized");
639
- // Find the layout_Grid ancestor
640
- var parentGrid = context.locateAncestor("layout_Grid");
641
- if (parentGrid) {
642
- node = parentGrid.element().node();
643
- }
644
- else {
645
- node = document.body;
646
- }
647
- var targetElement = common.select(context.target());
648
- if (isMaximized) {
649
- // Restore from maximized to natural size/position
650
- var targetParentBox_1 = target.parentElement.getBoundingClientRect();
651
- var targetPaddingTop_1 = parseInt(getComputedStyle(target, null).getPropertyValue("padding-top").replace("px", ""));
652
- var targetPaddingLeft_1 = parseInt(getComputedStyle(target, null).getPropertyValue("padding-left").replace("px", ""));
653
- var targetPaddingRight_1 = parseInt(getComputedStyle(target, null).getPropertyValue("padding-right").replace("px", ""));
654
- var targetPaddingBottom_1 = parseInt(getComputedStyle(target, null).getPropertyValue("padding-bottom").replace("px", ""));
655
- context.contentDiv.style("opacity", 0).transition(100);
656
- targetElement.transition() // .duration(3000)
657
- .style("top", targetParentBox_1.top + "px")
658
- .style("left", targetParentBox_1.left + "px")
659
- .style("width", (targetParentBox_1.width - targetPaddingLeft_1 - targetPaddingRight_1) + "px")
660
- .style("height", (targetParentBox_1.height - targetPaddingTop_1 - targetPaddingBottom_1) + "px")
661
- .each("end", function () {
662
- targetElement.style("position", target.__old_position);
663
- targetElement.style("z-index", target.__old_zindex);
664
- targetElement.style("background-color", target.__old_backgroundColor);
665
- targetElement.style("box-shadow", target.__old_boxshadow);
666
- context
667
- .resize({
668
- width: targetParentBox_1.width - targetPaddingLeft_1 - targetPaddingRight_1,
669
- height: targetParentBox_1.height - targetPaddingTop_1 - targetPaddingBottom_1
670
- })
671
- .render(function () {
672
- context.contentDiv.transition()
673
- .style("opacity", 1);
674
- });
675
- buttonWidget.value("\uf2d0").render();
676
- });
677
- }
678
- else {
679
- // Maximize this MegaChart
680
- target.__old_position = target.style.position;
681
- target.__old_zindex = target.style.zIndex;
682
- target.__old_boxshadow = target.style.boxShadow;
683
- target.__old_backgroundColor = context.element().style("background-color");
684
- var grid = common.select(node).datum();
685
- var gridTarget = grid.target();
686
- var gridBox_1 = grid ? gridTarget.getBoundingClientRect() : node.getBoundingClientRect();
687
- var gridPaddingTop_1 = parseInt(getComputedStyle(gridTarget, null).getPropertyValue("padding-top").replace("px", ""));
688
- var gridPaddingLeft_1 = parseInt(getComputedStyle(gridTarget, null).getPropertyValue("padding-left").replace("px", ""));
689
- var gridPaddingRight_1 = parseInt(getComputedStyle(gridTarget, null).getPropertyValue("padding-right").replace("px", ""));
690
- var gridPaddingBottom_1 = parseInt(getComputedStyle(gridTarget, null).getPropertyValue("padding-bottom").replace("px", ""));
691
- context.contentDiv.style("opacity", 0).transition(100);
692
- targetElement
693
- .style("position", "fixed")
694
- .style("z-index", 999999)
695
- .style("box-shadow", "0 8px 8px 0 rgba(0,0,0,.14),0 12px 4px -8px rgba(0,0,0,.2),0 4px 20px 0 rgba(0,0,0,.12)")
696
- .style("background-color", target.__old_backgroundColor)
697
- .transition() // .duration(3000)
698
- .style("top", (gridBox_1.top + gridPaddingTop_1) + "px")
699
- .style("left", (gridBox_1.left + gridPaddingLeft_1) + "px")
700
- .style("width", (gridBox_1.width - gridPaddingLeft_1 - gridPaddingRight_1) + "px")
701
- .style("height", (gridBox_1.height - gridPaddingTop_1 - gridPaddingBottom_1) + "px")
702
- .each("end", function () {
703
- targetElement.style("background-color", context.maximizedBackgroundColor());
704
- context
705
- .resize({
706
- width: (gridBox_1.width - gridPaddingLeft_1 - gridPaddingRight_1),
707
- height: (gridBox_1.height - gridPaddingTop_1 - gridPaddingBottom_1)
708
- })
709
- .render(function () {
710
- context.contentDiv.transition()
711
- .style("opacity", 1);
712
- });
713
- buttonWidget.value("\uf2d1").render();
714
- });
715
- }
716
- common.select(target).classed("__hpccisMaximized", !isMaximized);
717
- };
718
- this._legendButton = new form.Input()
719
- .classed({ "composite_MegaChart-legend": true })
720
- .id(this.id() + "_legend")
721
- .type("checkbox")
722
- .inlineLabel("Legend: ");
723
- this._legendButton.click = function (a) {
724
- context.render();
725
- };
726
- this._chartTypeSelect = new form.Select()
727
- .classed({ "composite_MegaChart-chartType": true })
728
- .id(this.id() + "_chartType")
729
- .selectOptions(this._allChartTypes.map(function (a) { return [a.id, a.display]; }))
730
- .value(this.chartType());
731
- this._chartTypeSelect.change = function (a) {
732
- context.chartType(a.value()).render();
733
- };
734
- this.setContent("center", this._chart);
735
- this._legend
736
- .targetWidget(this._chart)
737
- .orientation(["top", "bottom"].indexOf(this.legendPosition()) !== -1 ? "horizontal" : "vertical")
738
- .fixedSize(true);
739
- this._prevLegendPosition = this.legendPosition();
740
- if (this.valueAxisTitle()) {
741
- this.setContent("left", this._valueTitle.rotation(-90)).leftShrinkWrap(true);
742
- }
743
- if (this.domainAxisTitle()) {
744
- this.setContent("bottom", this._domainTitle).bottomShrinkWrap(true);
745
- }
746
- if (this.legendPosition() !== "none") {
747
- this.setContent(this.legendPosition(), this._legend)[this.legendPosition() + "ShrinkWrap"](true);
748
- }
749
- };
750
- MegaChart.prototype.update = function (domNode, element) {
751
- function showHideButton(twArr2, button, show) {
752
- if (show && twArr2.indexOf(button) === -1) {
753
- twArr2.push(button);
754
- }
755
- else if (!show) {
756
- var idx = twArr2.indexOf(button);
757
- if (idx >= 0) {
758
- twArr2.splice(idx, 1);
759
- }
760
- }
761
- }
762
- if (this._chart && typeof this._chart.hideRowOnLegendClick === "function") {
763
- this._chart.hideRowOnLegendClick(this.hideRowOnLegendClick());
764
- }
765
- this._dataCount.html('<span class="MegaChart-dataCount-label">Count:</span>&nbsp;<span class="MegaChart-dataCount-value">' + (this.data() ? this.data().length : "0") + "</span>");
766
- this._chartTypeSelect.value(this.chartType());
767
- var twArr = this.toolbarWidgets();
768
- showHideButton(twArr, this._csvButton, this.showCSV());
769
- showHideButton(twArr, this._maximizeButton, this.showMaximize());
770
- showHideButton(twArr, this._legendButton, this.toolbarShowLegend());
771
- showHideButton(twArr, this._chartTypeSelect, this.showChartSelect());
772
- showHideButton(twArr, this._infoButton, this.showInfoButton());
773
- showHideButton(twArr, this._dataCount, this.showCount());
774
- this.toolbarWidgets(twArr);
775
- if (this._prevShowToolbar !== this.showToolbar()) {
776
- this.setContent("top", this.showToolbar() ? this._toolbar : null);
777
- this._prevShowToolbar = this.showToolbar();
778
- }
779
- // TODO: Proxy + themes not working...
780
- this._toolbar
781
- .fontSize(this.titleFontSize())
782
- .fontColor(this.titleFontColor())
783
- .fontFamily(this.titleFontFamily())
784
- .fontBold(this.titleFontBold())
785
- .backgroundColor(this.titleBackgroundColor());
786
- this._chart
787
- .data(this.data());
788
- if (this._chart.chartType() !== this.chartType()) {
789
- this._chart.chartType(this.chartType());
790
- }
791
- var legendPosition = this.legendPosition();
792
- if (this.toolbarShowLegend() && !this._legendButton.checked()) {
793
- legendPosition = "none";
794
- }
795
- if (this._prevLegendPosition !== legendPosition) {
796
- if (this._prevLegendPosition !== "none") {
797
- this.clearContent(this._prevLegendPosition);
798
- }
799
- this._prevLegendPosition = legendPosition;
800
- if (legendPosition !== "none") {
801
- this._legend = new other.Legend().targetWidget(this.getContent("center").fixedSize(true));
802
- this.setContent(legendPosition, this._legend);
803
- this._legend.orientation(["top", "bottom"].indexOf(legendPosition) !== -1 ? "horizontal" : "vertical");
804
- }
805
- }
806
- this._contentClasses = this.getContentClasses();
807
- if (this.valueAxisTitle() && this._contentClasses.left !== "common_Text") {
808
- if (legendPosition !== "left") {
809
- this.setContent("left", this._valueTitle.rotation(-90));
810
- }
811
- }
812
- if (this.domainAxisTitle() && this._contentClasses.bottom !== "common_Text") {
813
- if (legendPosition !== "bottom") {
814
- this.setContent("bottom", this._domainTitle).bottomShrinkWrap(true);
815
- }
816
- }
817
- this._legend.dataFamily(this._chart.getChartDataFamily());
818
- _super.prototype.update.call(this, domNode, element);
819
- };
820
- MegaChart.prototype.exit = function (domNode, element) {
821
- _super.prototype.exit.call(this, domNode, element);
822
- };
823
- MegaChart.prototype.getContentClasses = function () {
824
- var obj = {};
825
- var t = this.getContent("top");
826
- var r = this.getContent("right");
827
- var b = this.getContent("bottom");
828
- var l = this.getContent("left");
829
- obj.top = t !== null ? t.classID() : undefined;
830
- obj.right = r !== null ? r.classID() : undefined;
831
- obj.bottom = b !== null ? b.classID() : undefined;
832
- obj.left = l !== null ? l.classID() : undefined;
833
- return obj;
834
- };
835
- MegaChart.prototype.serializeState = function () {
836
- var state = {
837
- title: this.title(),
838
- data: this.data()
839
- };
840
- var chart = this.chart();
841
- if (chart) {
842
- if (chart.serializeState) {
843
- state.chart = chart.serializeState();
844
- delete state.chart.data;
845
- }
846
- }
847
- return state;
848
- };
849
- MegaChart.prototype.deserializeState = function (state) {
850
- if (state) {
851
- this
852
- .title(state.title)
853
- .data(state.data);
854
- var chart = this.chart();
855
- if (chart && state.chart) {
856
- if (chart.serializeState) {
857
- chart.deserializeState(state.chart);
858
- }
859
- }
860
- }
861
- return this;
862
- };
863
- // Events ---
864
- MegaChart.prototype.click = function (row, column, selected) {
865
- };
866
- MegaChart.prototype.dblclick = function (row, column, selected) {
867
- };
868
- MegaChart.prototype.vertex_click = function (row, col, sel, more) {
869
- if (more && more.vertex) ;
870
- };
871
- MegaChart.prototype.vertex_dblclick = function (row, col, sel, more) {
872
- if (more && more.vertex) ;
873
- };
874
- MegaChart.prototype.edge_click = function (row, col, sel, more) {
875
- if (more && more.edge) ;
876
- };
877
- MegaChart.prototype.edge_dblclick = function (row, col, sel, more) {
878
- if (more && more.edge) ;
879
- };
880
- return MegaChart;
881
- }(layout.Border));
882
- MegaChart.prototype._class += " composite_MegaChart";
883
- MegaChart.prototype._1DChartTypes = MultiChart.prototype._1DChartTypes;
884
- MegaChart.prototype._2DChartTypes = MultiChart.prototype._2DChartTypes;
885
- MegaChart.prototype._NDChartTypes = MultiChart.prototype._NDChartTypes;
886
- MegaChart.prototype._anyChartTypes = MultiChart.prototype._anyChartTypes;
887
- MegaChart.prototype._allChartTypes = MultiChart.prototype._allChartTypes;
888
- MegaChart.prototype.publishReset();
889
- MegaChart.prototype.publish("hideRowOnLegendClick", false, "boolean", "Enable/Disable hiding row on legend clicks", null, { tags: ["Basic"] });
890
- MegaChart.prototype.publish("showToolbar", true, "boolean", "Enable/Disable Toolbar widget", null, { tags: ["Basic"] });
891
- MegaChart.prototype.publishProxy("title", "_toolbar", "title");
892
- MegaChart.prototype.publish("ddlParamsFormat", "", "string", "DDL Param Format '{fname}, {lname}'", null, { tags: ["Advanced"], optional: true });
893
- MegaChart.prototype.publish("titleFontSize", null, "number", "Title Font Size (px)", null, { tags: ["Advanced"], optional: true });
894
- MegaChart.prototype.publish("titleFontColor", null, "html-color", "Title Font Color", null, { tags: ["Advanced"], optional: true });
895
- MegaChart.prototype.publish("titleFontFamily", null, "string", "Title Font Family", null, { tags: ["Advanced"], optional: true });
896
- MegaChart.prototype.publish("titleFontBold", true, "boolean", "Enable Bold Title Font", null, { tags: ["Advanced"], optional: true });
897
- MegaChart.prototype.publish("titleBackgroundColor", null, "html-color", "Background Color", null, { tags: ["Intermediate"], optional: true });
898
- MegaChart.prototype.publish("maximizedBackgroundColor", "#FFFFFF", "html-color", "Background Color while maximized", null, { tags: ["Intermediate"], optional: true });
899
- MegaChart.prototype.publish("showChartSelect", true, "boolean", "Show/Hide the chartType dropdown in the toolbar", null, { tags: ["Basic"] });
900
- MegaChart.prototype.publish("showCSV", true, "boolean", "Show/Hide CSV button", null, { tags: ["Basic"] });
901
- MegaChart.prototype.publish("showCount", false, "boolean", "Show/Hide Data Count", null, { tags: ["Basic"] });
902
- MegaChart.prototype.publish("showMaximize", false, "boolean", "Show/Hide Maximize button", null, { tags: ["Basic"] });
903
- MegaChart.prototype.publish("toolbarShowLegend", false, "boolean", "Show/Hide Legend button", null, { tags: ["Basic"] });
904
- MegaChart.prototype.publish("showInfoButton", false, "boolean", "Show/Hide Info button in toolbar", null, { tags: ["Basic"] });
905
- MegaChart.prototype.publish("infoIcon", "\uf05a", "string", "Help Icon", null, { tags: ["Basic"] });
906
- MegaChart.prototype.publish("legendPosition", "none", "set", "Position of the Legend widget", ["none", "top", "right", "bottom", "left"], { tags: ["Basic"] });
907
- MegaChart.prototype.publishProxy("legendFormat", "_legend", "rainbowFormat");
908
- MegaChart.prototype.publishProxy("legendBins", "_legend", "rainbowBins");
909
- MegaChart.prototype.publishProxy("domainAxisTitle", "_domainTitle", "text");
910
- MegaChart.prototype.publishProxy("valueAxisTitle", "_valueTitle", "text");
911
- MegaChart.prototype.publishProxy("chartType", "_chart", "chartType");
912
- MegaChart.prototype.publishProxy("chart", "_chart", "chart");
913
-
914
- function retrofit_114_serialization(state, replacement_version) {
915
- replacement_version = !replacement_version || replacement_version === "1.14.2-dev" ? "1.18.0" : replacement_version;
916
- if (!state.__version)
917
- return state;
918
- var state_version_obj = common.Utility.parseVersionString(state.__version);
919
- var target_version_obj = common.Utility.parseVersionString(replacement_version);
920
- if (state_version_obj.major === 1 && state_version_obj.minor === 14) {
921
- console.info("Upgrading old persist from " + state.__version + " to " + replacement_version);
922
- var _json_str = JSON.stringify(state);
923
- _json_str = _json_str.split('"' + state.__version).join('"' + replacement_version);
924
- var ret_obj = JSON.parse(_json_str);
925
- if (ret_obj.__properties && ret_obj.__properties.content) {
926
- ret_obj.__properties.content.forEach(function (n) {
927
- if (JSON.stringify(n).split("graph_Graph").length > 1 && target_version_obj.minor >= 16) {
928
- n.__properties.widget.__id = n.__properties.widget.__properties.widget.__id;
929
- n.__properties.widget.__class = "composite_MegaChart";
930
- n.__properties.widget.__properties.showCSV = false;
931
- n.__properties.widget.__properties.chartType = "GRAPH";
932
- n.__properties.widget.__properties.chart = n.__properties.widget.__properties.widget;
933
- delete n.__properties.widget.__properties.chart.__id;
934
- delete n.__properties.widget.__properties.widget;
935
- }
936
- if ("undefined" === typeof n.__properties.fields) {
937
- n.__properties.fields = [];
938
- }
939
- });
940
- }
941
- return ret_obj;
341
+ }
342
+
343
+ > :nth-last-child(1 of .rdg-top-summary-row) {
344
+ > .cj343x07-0-0-beta-47 {
345
+ border-block-end: 2px solid var(--rdg-summary-border-color);
942
346
  }
943
- else {
944
- return state;
347
+ }
348
+
349
+ > :nth-child(1 of .rdg-bottom-summary-row) {
350
+ > .cj343x07-0-0-beta-47 {
351
+ border-block-start: 2px solid var(--rdg-summary-border-color);
945
352
  }
353
+ }
946
354
  }
947
- function deserializeFromObject(widget, state) {
948
- var promises = [];
949
- other.Persist.widgetPropertyWalker(widget, null, function (w, item) {
950
- w[item.id + "_reset"]();
951
- if (state.__properties[item.id] !== undefined) {
952
- switch (item.type) {
953
- case "widget":
954
- var widgetKey_1 = item.id;
955
- promises.push(create(state.__properties[item.id]).then(function (w2) {
956
- w2._owner = w;
957
- w[widgetKey_1](w2);
958
- return w2;
959
- }));
960
- break;
961
- case "widgetArray":
962
- case "propertyArray":
963
- var widgetArrayKey_1 = item.id;
964
- var widgetStateArray = state.__properties[item.id];
965
- if (widgetStateArray.length) {
966
- var arrPromises = [];
967
- for (var _i = 0, widgetStateArray_1 = widgetStateArray; _i < widgetStateArray_1.length; _i++) {
968
- var widgetState = widgetStateArray_1[_i];
969
- arrPromises.push(create(widgetState).then(function (widgetItem) {
970
- widgetItem._owner = w;
971
- return widgetItem;
972
- }));
973
- }
974
- promises.push(Promise.all(arrPromises).then(function (widgetArray) {
975
- w[widgetArrayKey_1](widgetArray);
976
- }));
977
- }
978
- break;
979
- default:
980
- w[item.id](state.__properties[item.id]);
981
- break;
982
- }
983
- }
984
- });
985
- return Promise.all(promises).then(function (widgets) {
986
- if (state.__data) {
987
- for (var key in state.__data) {
988
- if (state.__data.HasOwnProperty(key)) {
989
- switch (key) {
990
- case "data":
991
- widget.data(state.__data[key]);
992
- break;
993
- default:
994
- console.warn("Unexpected __data item: " + key);
995
- widget[key](state.__data[key]);
996
- break;
997
- }
998
- }
999
- }
1000
- }
1001
- if (state.__state) {
1002
- if (widget.deserializeState) {
1003
- widget.deserializeState(state.__state);
1004
- }
1005
- else if (state.__state.data && widget.data) {
1006
- widget.data(state.__state.data);
1007
- }
1008
- }
1009
- return widget;
1010
- });
355
+ }
356
+
357
+ .vlqv91k7-0-0-beta-47 {
358
+ @layer rdg.Root {
359
+ user-select: none;
360
+
361
+ & .r1upfr807-0-0-beta-47 {
362
+ cursor: move;
363
+ }
1011
364
  }
1012
- function deserialize(widget, state) {
1013
- if (typeof state === "string") {
1014
- state = JSON.parse(state);
1015
- }
1016
- if (state.__id && state.__id.indexOf(widget._idSeed) !== 0 && widget._id !== state.__id) {
1017
- console.warn("Deserialize: IDs do not match - " + widget._id);
1018
- }
1019
- deserializeFromObject(widget, state);
365
+ }
366
+
367
+ .f1lsfrzw7-0-0-beta-47 {
368
+ @layer rdg.FocusSink {
369
+ grid-column: 1/-1;
370
+ pointer-events: none;
371
+ /* Should have a higher value than 1 to show up above regular frozen cells */
372
+ z-index: 1;
1020
373
  }
1021
- function create(state) {
1022
- if (typeof state === "string") {
1023
- state = JSON.parse(state);
1024
- }
1025
- state = retrofit_114_serialization(state, common.Platform.version());
1026
- return requireWidget(state.__class).then(function (WidgetClass) {
1027
- var widget = new WidgetClass();
1028
- if (state.__id && state.__id.indexOf(widget._idSeed) !== 0 && state.__id.indexOf("_pe") !== 0) {
1029
- widget._id = state.__id;
1030
- }
1031
- return deserializeFromObject(widget, state);
1032
- }).catch(function (e) {
1033
- console.error("Persist.create: ***exception***");
1034
- console.error(e);
1035
- });
374
+ }
375
+
376
+ .f1cte0lg7-0-0-beta-47 {
377
+ @layer rdg.FocusSink {
378
+ /* Should have a higher value than 3 to show up above header and summary rows */
379
+ z-index: 3;
380
+ }
381
+ }
382
+
383
+
384
+ .s8wc6fl7-0-0-beta-47 {
385
+ @layer rdg.SummaryCell {
386
+ inset-block-start: var(--rdg-summary-row-top);
387
+ inset-block-end: var(--rdg-summary-row-bottom);
388
+ }
389
+ }
390
+
391
+
392
+ .skuhp557-0-0-beta-47 {
393
+ @layer rdg.SummaryRow {
394
+ > .cj343x07-0-0-beta-47 {
395
+ position: sticky;
396
+ }
1036
397
  }
1037
- function clone(widget) {
1038
- create(other.Persist.serializeToObject(widget, undefined, true, true));
398
+ }
399
+
400
+ .tf8l5ub7-0-0-beta-47 {
401
+ @layer rdg.SummaryRow {
402
+ > .cj343x07-0-0-beta-47 {
403
+ z-index: 2;
404
+ }
405
+
406
+ > .csofj7r7-0-0-beta-47 {
407
+ z-index: 3;
408
+ }
1039
409
  }
410
+ }
411
+
412
+
413
+ .g1yxluv37-0-0-beta-47 {
414
+ @layer rdg.GroupedRow {
415
+ &:not([aria-selected='true']) {
416
+ background-color: var(--rdg-header-background-color);
417
+ }
418
+
419
+ > .cj343x07-0-0-beta-47:not(:last-child, .csofj7r7-0-0-beta-47),
420
+ > :nth-last-child(n + 2 of .csofj7r7-0-0-beta-47) {
421
+ border-inline-end: none;
422
+ }
423
+ }
424
+ }
425
+
426
+
427
+ .t7vyx3i7-0-0-beta-47 {
428
+ @layer rdg.TextEditor {
429
+ appearance: none;
430
+
431
+ box-sizing: border-box;
432
+ inline-size: 100%;
433
+ block-size: 100%;
434
+ padding-block: 0;
435
+ padding-inline: 6px;
436
+ border: 2px solid #ccc;
437
+ vertical-align: top;
438
+ color: var(--rdg-color);
439
+ background-color: var(--rdg-background-color);
440
+
441
+ font-family: inherit;
442
+ font-size: var(--rdg-font-size);
443
+
444
+ &:focus {
445
+ border-color: var(--rdg-selection-color);
446
+ outline: none;
447
+ }
448
+
449
+ &::placeholder {
450
+ color: #999;
451
+ opacity: 1;
452
+ }
453
+ }
454
+ }
455
+
456
+ `,document.head.appendChild(i)}})();function Pd(i,o,l){let s=o;return[...i].sort((h,p)=>h[s]<p[s]?l?1:-1:h[s]>p[s]?l?-1:1:0)}c(Pd,"_p");u(Pd,"copyAndSort");var qg=u(({message:i})=>Et.default.createElement("div",{style:{textAlign:"center",gridColumn:"1/-1"}},i),"EmptyRowsRenderer"),Qg=u(({table:i,sort:o})=>{let[l,s]=ip(i),h=i.multiSelect(),p=i.columnTypes(),f=i.columnPatterns(),m=i.columnFormats(),[b,_]=Et.default.useState([]),[I,P]=Et.default.useState(),[z,R]=Et.default.useState([]),[M,N]=Et.default.useState(new Set);Et.default.useEffect(()=>{_([...h?[Zf]:[],...l.map(G=>{let K=p[G]??"string",X,E,k;switch(K){case"time":E=f[G]!==void 0?Kg(f[G]):void 0,k=m[G]!==void 0?Xg(m[G]):void 0;break;case"number":X=u(Q=>Et.default.createElement("div",{style:{textAlign:"right"}},Q.row[Q.column.key]),"formatter");default:k=m[G]!==void 0?Yg(m[G]):void 0}return{key:G,name:G,resizable:!0,sortable:!0,minWidth:80,renderCell:X,__hpcc_pattern:E,__hpcc_format:k}})])},[m,f,p,l,h]);let F=Et.default.useCallback(G=>{let K=G.slice(-1)[0],X=K!==void 0,E=K?.direction==="DESC";P(K),R(Pd(z,X?K.columnKey:"key",X?E:!1))},[z]),D=Et.default.useCallback(G=>G.key,[]),Y=Et.default.useCallback(G=>{N(G)},[]),j=Et.default.useCallback((G,K)=>{i.onRowClickCallback(G,K.key)},[i]);return Et.default.useEffect(()=>{let G=s.map((K,X)=>{let E={key:X};return b.forEach((k,Q)=>{let ae=K[Q];k.__hpcc_pattern&&k.__hpcc_format?ae=k.__hpcc_format(k.__hpcc_pattern(ae)):k.__hpcc_pattern?ae=k.__hpcc_pattern(ae).toString():k.__hpcc_format&&(ae=k.__hpcc_format(ae)),E[k.key]=ae}),E});o?.attribute&&(G=Pd(G,o.attribute,o.descending)),R(G)},[b,s,o]),Et.default.createElement(Vg,{columns:b,headerRowHeight:24,rows:z,rowKeyGetter:D,rowHeight:20,renderers:{noRowsFallback:Et.default.createElement(qg,{message:i.noDataMessage()})},className:i.darkMode()?"rdg-dark":"rdg-light",sortColumns:I?[I]:[],onSortColumnsChange:F,selectedRows:M,onSelectedRowsChange:h?Y:void 0,onCellClick:h?void 0:(G,K)=>j(G.row,G.column),"aria-describedby":"","aria-label":"","aria-labelledby":"",style:{height:"100%"}})},"ReactTable");(function(){if(!document.getElementById("c2b63dd3")){var i=document.createElement("style");i.id="c2b63dd3",i.textContent=`.dgrid2_Table .rdg {
457
+ font-family: monospace, 'Courier New', Courier;
458
+ }
459
+
460
+ .dgrid2_Table .rdg-checkbox-label .rdg-checkbox {
461
+ block-size: 16px;
462
+ inline-size: 16px;
463
+ border-width: 2px;
464
+ box-shadow: inset 0 0 0 3px var(--rdg-background-color);
465
+ }`,document.head.appendChild(i)}})();var oi=class extends Ff{static{c(this,"_t")}static{u(this,"Table")}_div;_root;constructor(){super()}columnType(i,o){return arguments.length===1?this.columnTypes()[i]:(this.columnTypes({...this.columnTypes(),[i]:o}),this)}columnPattern(i,o){return arguments.length===1?this.columnPatterns()[i]:(this.columnPatterns({...this.columnPatterns(),[i]:o}),this)}columnFormat(i,o){return arguments.length===1?this.columnFormats()[i]:(this.columnFormats({...this.columnFormats(),[i]:o}),this)}_prevRow;_prevColumn;onRowClickCallback(i,o){this._prevRow&&JSON.stringify(this._prevRow)!==JSON.stringify(i)&&this.click(this._prevRow,this._prevColumn??"",!1),i&&this.click(i,o,!0),this._prevRow=i,this._prevColumn=o}enter(i,o){super.enter(i,o),this._div=o.append("div").style("display","grid"),this._root=(0,Bf.createRoot)(this._div.node())}update(i,o){super.update(i,o),this._div.style("width",this.width()+"px"),this._div.style("height",this.height()+"px"),this._root.render(Df.default.createElement(Qg,{table:this}))}exit(i,o){this._root.unmount(),this._div.remove(),super.exit(i,o)}click(i,o,l){}};oi.prototype._class+=" dgrid2_Table";oi.prototype.publish("noDataMessage","...empty...","string","No Data Message");oi.prototype.publish("darkMode",!1,"boolean","Dark Mode");oi.prototype.publish("multiSelect",!1,"boolean","Multiple Selection");oi.prototype.publish("columnTypes",{},"object",'Column Types ("boolean" | "number" | "string" | "time"');oi.prototype.publish("columnPatterns",{},"object","Column Patterns");oi.prototype.publish("columnFormats",{},"object","Column Formats");import{select as Sm}from"@hpcc-js/common";import{instanceOfIHighlight as dp}from"@hpcc-js/api";import{Database as km,Palette as ts,SVGWidget as Tm}from"@hpcc-js/common";import{format as Pm}from"@hpcc-js/common";import{scaleOrdinal as zm}from"@hpcc-js/common";import{select as jm}from"@hpcc-js/common";import{format as Um,formatLocale as Vm,formatPrefix as $m,formatSpecifier as Gm}from"@hpcc-js/common";import{dispatch as Ym}from"@hpcc-js/common";import{scaleLinear as Xm}from"@hpcc-js/common";import{sum as Km}from"@hpcc-js/common";import{HTMLWidget as ny}from"@hpcc-js/common";import{HTMLWidget as oy}from"@hpcc-js/common";import{select as ly}from"@hpcc-js/common";import{d3Event as ln,drag as pp,HTMLWidget as ay,Platform as sy,select as fp,Utility as uy}from"@hpcc-js/common";import{HTMLWidget as hy,Text as py}from"@hpcc-js/common";import{HTMLWidget as fy}from"@hpcc-js/common";import{HTMLWidget as gy,Text as my}from"@hpcc-js/common";import{select as yy}from"@hpcc-js/common";import{HTMLWidget as by}from"@hpcc-js/common";import{select as vy}from"@hpcc-js/common";var Zg=Object.create,Yd=Object.defineProperty,Jg=Object.getOwnPropertyDescriptor,em=Object.getOwnPropertyNames,tm=Object.getPrototypeOf,rm=Object.prototype.hasOwnProperty,B=c((i,o)=>Yd(i,"name",{value:o,configurable:!0}),"d"),im=c((i,o)=>()=>(o||i((o={exports:{}}).exports,o),o.exports),"le"),nm=c((i,o,l,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let h of em(o))!rm.call(i,h)&&h!==l&&Yd(i,h,{get:c(()=>o[h],"get"),enumerable:!(s=Jg(o,h))||s.enumerable});return i},"ne"),om=c((i,o,l)=>(l=i!=null?Zg(tm(i)):{},nm(o||!i||!i.__esModule?Yd(l,"default",{value:i,enumerable:!0}):l,i)),"ae"),lm=im((i,o)=>{(function(l,s){typeof define=="function"&&define.amd?define([],s):typeof i=="object"?o.exports=s():l.GridList=s()})(i,function(){var l=B(function(h,p){this._options=p;for(var f in this.defaults)this._options.hasOwnProperty(f)||(this._options[f]=this.defaults[f]);this.items=h,this._adjustSizeOfItems(),this.generateGrid()},"GridList");l.cloneItems=function(h,p){var f,m,b;for(p===void 0&&(p=[]),m=0;m<h.length;m++){p[m]||(p[m]={});for(b in h[m])p[m][b]=h[m][b]}return p},l.prototype={defaults:{lanes:5,direction:"horizontal"},toString:B(function(){var h=this.grid.length,p=`
466
+ #|`,f=`
467
+ --`,m,b,_;for(b=0;b<h;b++)p+=" "+this._padNumber(b," "),f+="---";for(p+=f,b=0;b<this._options.lanes;b++)for(p+=`
468
+ `+this._padNumber(b," ")+"|",_=0;_<h;_++)p+=" ",m=this.grid[_][b],p+=m?this._padNumber(this.items.indexOf(m),"0"):"--";return p+=`
469
+ `,p},"toString"),generateGrid:B(function(){var h;for(this._resetGrid(),h=0;h<this.items.length;h++)this._markItemPositionToGrid(this.items[h])},"generateGrid"),resizeGrid:B(function(h){var p=0;this._options.lanes=h,this._adjustSizeOfItems(),this._sortItemsByPosition(),this._resetGrid();for(var f=0;f<this.items.length;f++){var m=this.items[f],b=this._getItemPosition(m);this._updateItemPosition(m,this.findPositionForItem(m,{x:p,y:0})),p=Math.max(p,b.x)}this._pullItemsToLeft()},"resizeGrid"),findPositionForItem:B(function(h,p,f){var m,b,_;for(m=p.x;m<this.grid.length;m++)if(f!==void 0){if(_=[m,f],this._itemFitsAtPosition(h,_))return _}else for(b=p.y;b<this._options.lanes;b++)if(_=[m,b],this._itemFitsAtPosition(h,_))return _;var I=this.grid.length,P=0;return f!==void 0&&this._itemFitsAtPosition(h,[I,f])&&(P=f),[I,P]},"findPositionForItem"),moveItemToPosition:B(function(h,p){var f=this._getItemPosition({x:p[0],y:p[1],w:h.w,h:h.h});this._updateItemPosition(h,[f.x,f.y]),this._resolveCollisions(h)},"moveItemToPosition"),resizeItem:B(function(h,p){var f=p.w||h.w,m=p.h||h.h;this._updateItemSize(h,f,m),this._resolveCollisions(h),this._pullItemsToLeft()},"resizeItem"),getChangedItems:B(function(h,p){for(var f=[],m=0;m<h.length;m++){var b=this._getItemByAttribute(p,h[m][p]);(b.x!==h[m].x||b.y!==h[m].y||b.w!==h[m].w||b.h!==h[m].h)&&f.push(b)}return f},"getChangedItems"),_sortItemsByPosition:B(function(){this.items.sort(function(h,p){var f=this._getItemPosition(h),m=this._getItemPosition(p);return f.x!=m.x?f.x-m.x:f.y!=m.y?f.y-m.y:0}.bind(this))},"_sortItemsByPosition"),_adjustSizeOfItems:B(function(){for(var h=0;h<this.items.length;h++){var p=this.items[h];p.autoSize===void 0&&(p.autoSize=p.w===0||p.h===0),p.autoSize&&(this._options.direction==="horizontal"?p.h=this._options.lanes:p.w=this._options.lanes)}},"_adjustSizeOfItems"),_resetGrid:B(function(){this.grid=[]},"_resetGrid"),_itemFitsAtPosition:B(function(h,p){var f=this._getItemPosition(h),m,b,_;if(p[0]<0||p[1]<0||p[1]+f.h>this._options.lanes)return!1;for(m=p[0];m<p[0]+f.w;m++){var I=this.grid[m];if(I){for(b=p[1];b<p[1]+f.h;b++)if(I[b]&&I[b]!==h)return!1}}return!0},"_itemFitsAtPosition"),_updateItemPosition:B(function(h,p){h.x!==null&&h.y!==null&&this._deleteItemPositionFromGrid(h),this._setItemPosition(h,p),this._markItemPositionToGrid(h)},"_updateItemPosition"),_updateItemSize:B(function(h,p,f){h.x!==null&&h.y!==null&&this._deleteItemPositionFromGrid(h),h.w=p,h.h=f,this._markItemPositionToGrid(h)},"_updateItemSize"),_markItemPositionToGrid:B(function(h){var p=this._getItemPosition(h),f,m;for(this._ensureColumns(p.x+p.w),f=p.x;f<p.x+p.w;f++)for(m=p.y;m<p.y+p.h;m++)this.grid[f][m]=h},"_markItemPositionToGrid"),_deleteItemPositionFromGrid:B(function(h){var p=this._getItemPosition(h),f,m;for(f=p.x;f<p.x+p.w;f++)if(this.grid[f])for(m=p.y;m<p.y+p.h;m++)this.grid[f][m]==h&&(this.grid[f][m]=null)},"_deleteItemPositionFromGrid"),_ensureColumns:B(function(h){var p;for(p=0;p<h;p++)this.grid[p]||this.grid.push(new s(this._options.lanes))},"_ensureColumns"),_getItemsCollidingWithItem:B(function(h){for(var p=[],f=0;f<this.items.length;f++)h!=this.items[f]&&this._itemsAreColliding(h,this.items[f])&&p.push(f);return p},"_getItemsCollidingWithItem"),_itemsAreColliding:B(function(h,p){var f=this._getItemPosition(h),m=this._getItemPosition(p);return!(m.x>=f.x+f.w||m.x+m.w<=f.x||m.y>=f.y+f.h||m.y+m.h<=f.y)},"_itemsAreColliding"),_resolveCollisions:B(function(h){this._tryToResolveCollisionsLocally(h)||this._pullItemsToLeft(h),this._pullItemsToLeft()},"_resolveCollisions"),_tryToResolveCollisionsLocally:B(function(h){var p=this._getItemsCollidingWithItem(h);if(!p.length)return!0;var f=new l([],this._options),m,b,_,I;l.cloneItems(this.items,f.items),f.generateGrid();for(var P=0;P<p.length;P++){var z=f.items[p[P]],R=this._getItemPosition(z),M=this._getItemPosition(h);if(m=[M.x-R.w,R.y],b=[M.x+M.w,R.y],_=[R.x,M.y-R.h],I=[R.x,M.y+M.h],f._itemFitsAtPosition(z,m))f._updateItemPosition(z,m);else if(f._itemFitsAtPosition(z,_))f._updateItemPosition(z,_);else if(f._itemFitsAtPosition(z,I))f._updateItemPosition(z,I);else if(f._itemFitsAtPosition(z,b))f._updateItemPosition(z,b);else return!1}return l.cloneItems(f.items,this.items),this.generateGrid(),!0},"_tryToResolveCollisionsLocally"),_pullItemsToLeft:B(function(h){if(this._sortItemsByPosition(),this._resetGrid(),h){var p=this._getItemPosition(h);this._updateItemPosition(h,[p.x,p.y])}for(var f=0;f<this.items.length;f++){var m=this.items[f],b=this._getItemPosition(m);if(!(h&&m==h)){var _=this._findLeftMostPositionForItem(m),I=this.findPositionForItem(m,{x:_,y:0},b.y);this._updateItemPosition(m,I)}}},"_pullItemsToLeft"),_findLeftMostPositionForItem:B(function(h){for(var p=0,f=this._getItemPosition(h),m=0;m<this.grid.length;m++)for(var b=f.y;b<f.y+f.h;b++){var _=this.grid[m][b];if(_){var I=this._getItemPosition(_);this.items.indexOf(_)<this.items.indexOf(h)&&(p=I.x+I.w)}}return p},"_findLeftMostPositionForItem"),_getItemByAttribute:B(function(h,p){for(var f=0;f<this.items.length;f++)if(this.items[f][h]===p)return this.items[f];return null},"_getItemByAttribute"),_padNumber:B(function(h,p){return h>=10?h:p+h},"_padNumber"),_getItemPosition:B(function(h){return this._options.direction==="horizontal"?h:{x:h.y,y:h.x,w:h.h,h:h.w}},"_getItemPosition"),_setItemPosition:B(function(h,p){this._options.direction==="horizontal"?(h.x=p[0],h.y=p[1]):(h.x=p[1],h.y=p[0])},"_setItemPosition")};var s=B(function(h){for(var p=0;p<h;p++)this.push(null)},"GridCol");return s.prototype=[],l})});(function(){if(!document.getElementById("e4246716")){var i=document.createElement("style");i.id="e4246716",i.textContent=`.layout_AbsoluteSurface {
470
+ pointer-events: none !important;
471
+ }
472
+
473
+ .layout_AbsoluteSurface > .placeholder {
474
+ position: relative;
475
+ overflow: hidden;
476
+ pointer-events: all;
477
+ }
478
+ `,document.head.appendChild(i)}})();var Ei=class extends am{static{c(this,"G")}static{B(this,"AbsoluteSurface")}constructor(){super(),this._tag="div"}enter(i,o){super.enter(i,o)}update(i,o){super.update(i,o);let l=0,s=0,h=this.clientWidth(),p=this.clientHeight();switch(this.units()){case"pixels":l=this.widgetX(),s=this.widgetY(),h=this.widgetWidth()===""?h-l:Number(this.widgetWidth()),p=this.widgetHeight()===""?p-s:Number(this.widgetHeight());break;case"percent":l=this.widgetX()*h/100,s=this.widgetY()*p/100,h=this.widgetWidth()===""?h-l:Number(this.widgetWidth())*h/100,p=this.widgetHeight()===""?p-s:Number(this.widgetHeight())*p/100;break}o.style("opacity",this.opacity());let f=o.selectAll("#"+this._id+" > .placeholder").data(this.widget()?[this.widget()]:[],function(m){return m._id});f.enter().append("div").attr("class","placeholder").each(function(m){m.target(this)}).merge(f).style("left",l+"px").style("top",s+"px").style("width",h+"px").style("bottom",p+"px").each(function(m){m.resize({width:h,height:p})}),f.exit().each(function(m){m.target(null)}).remove()}exit(i,o){this.widget()&&this.widget().target(null),super.exit(i,o)}};Ei.prototype._class+=" layout_AbsoluteSurface";Ei.prototype.publish("units","percent","set","Units",["pixels","percent"]);Ei.prototype.publish("widgetX",0,"number","Widget XPos");Ei.prototype.publish("widgetY",0,"number","Widget YPos");Ei.prototype.publish("widgetWidth","100","string","Widget Width, omit for full");Ei.prototype.publish("widgetHeight","100","string","Widget Height, omit for full");Ei.prototype.publish("widget",null,"widget","Widget",null,{tags:["Private"]});Ei.prototype.publish("opacity",1,"number","Opacity");(function(){if(!document.getElementById("d5b8185a")){var i=document.createElement("style");i.id="d5b8185a",i.textContent=`.layout_Accordion > ul{
479
+ position:relative;
480
+ }
481
+ .layout_Accordion.open > span {
482
+ font-style:italic;
483
+ }
484
+ .layout_Accordion.closed > ul {
485
+ height: 0px;
486
+ overflow: hidden;
487
+ }
488
+ .layout_Accordion.open > ul{
489
+ display:block;
490
+ }
491
+ .layout_Accordion > .collapsible-icon,
492
+ .layout_Accordion > .collapsible-title{
493
+ cursor:pointer;
494
+ box-sizing: border-box;
495
+ }
496
+ .layout_Accordion > .collapsible-title{
497
+ display:block;
498
+ width:100%;
499
+ }
500
+ .layout_Accordion > .collapsible-title{
501
+ font-size: 13px;
502
+ color:#FFF;
503
+ padding:4px 8px;
504
+ height:26px;
505
+ -webkit-box-shadow: inset 0px -1px 1px 0px rgba(0,0,0,0.2);
506
+ -moz-box-shadow: inset 0px -1px 1px 0px rgba(0,0,0,0.2);
507
+ box-shadow: inset 0px -1px 1px 0px rgba(0,0,0,0.2);
508
+ }
509
+ .layout_Accordion li{
510
+ background-color:#FFFFFF;
511
+ }
512
+ .layout_Accordion > ul,
513
+ .layout_Accordion > .collapsible-title{
514
+ background-color:#333;
515
+ }
516
+ .layout_Accordion .layout_Accordion > ul,
517
+ .layout_Accordion .layout_Accordion > .collapsible-title{
518
+ background-color:#555;
519
+ }
520
+ .layout_Accordion .layout_Accordion .layout_Accordion > ul,
521
+ .layout_Accordion .layout_Accordion .layout_Accordion > .collapsible-title{
522
+ background-color:#777;
523
+ }
524
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > ul,
525
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > .collapsible-title{
526
+ background-color:#999;
527
+ }
528
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > ul,
529
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > .collapsible-title{
530
+ background-color:#BBB;
531
+ }
532
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > ul,
533
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > .collapsible-title{
534
+ background-color:#CCC;
535
+ }
536
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > ul,
537
+ .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion > .collapsible-title{
538
+ background-color:#DDD;
539
+ }
540
+ .layout_Accordion > ul,
541
+ .layout_Accordion > span{
542
+ padding-left:0px;
543
+ }
544
+ .layout_Accordion .layout_Accordion > ul,
545
+ .layout_Accordion .layout_Accordion > span{
546
+ padding-left: 12px;
547
+ }
548
+
549
+ .layout_Accordion > .collapsible-title:before{
550
+ padding: 4px 8px 4px 8px;
551
+ position: absolute;
552
+ left: 0;
553
+ top: 0;
554
+ }
555
+ .layout_Accordion > .collapsible-icon{
556
+ position:absolute;
557
+ top:0px;
558
+ right:0px;
559
+ width:24px;
560
+ height:24px;
561
+ color:#FFF;
562
+ }`,document.head.appendChild(i)}})();var Ri=class extends um{static{c(this,"Y")}static{B(this,"Accordion")}_isClosed;titleSpan;iconDiv;ul;icon;constructor(){super(),this._tag="div",this._isClosed=!1}pushListItem(i,o=!1,l=!1){let s=this.content();return i._protected=l,o?s.unshift(i):s.push(i),this.content(s),this}clearListItems(){let i=[];for(let o in this.content())this.content()[o]._protected&&i.push(this.content()[o]);return this.content(i),this}collapseClick(i){i.classed("closed")?(this._isClosed=!1,i.classed("open",!0),i.classed("closed",!1)):(this._isClosed=!0,i.classed("open",!1),i.classed("closed",!0))}enter(i,o){super.enter(i,o);let l=this;this._isClosed=this.defaultCollapsed(),o.classed(this._isClosed?"closed":"open",!0),this.titleSpan=o.append("span").classed("collapsible-title",!0),this.iconDiv=o.append("div").classed("collapsible-icon",!0),this.ul=o.append("ul"),this.icon=new sm().size({height:24,width:24}).target(this.iconDiv.node()),this.iconDiv.on("click",function(){l.collapseClick(o),l.render()}),this.titleSpan.on("click",function(){l.collapseClick(o),l.render()})}update(i,o){super.update(i,o);let l=this,s="";this.titleSpan.text(l.title().length>0?l.title()+s:"Accordion ["+l._id+"]"+s);let h=this.ul.selectAll("#"+l._id+" > ul > li").data(this.content(),function(p){return p._id});h.enter().append(function(p){let f=document.createElement("li");if(p._target===null){let m=p.size();if(m.width===0||m.height===0){let b=l.size();p.size({width:b.width,height:b.width})}p.target(f)}else return p._target;return f}),h.exit().remove(),this.icon.text_colorFill(this.titleFontColor()).char(this._isClosed?this.closedIcon():this.openIcon()).render()}exit(i,o){super.exit(i,o)}};Ri.prototype._class+=" layout_Accordion";Ri.prototype.publish("content",[],"widgetArray","Array of widgets",null,{tags:["Basic"]});Ri.prototype.publish("title","","string","Title of collapsible section",null,{tags:["Private"]});Ri.prototype.publish("openIcon","\uF147","string","Icon to display when list is open",null,{tags:["Private"]});Ri.prototype.publish("closedIcon","\uF196","string","Icon to display when list is closed",null,{tags:["Private"]});Ri.prototype.publish("titleFontColor","#FFFFFF","html-color","Title font color",null,{tags:["Private"]});Ri.prototype.publish("titleBackgroundColor","#333333","html-color","Title background color",null,{tags:["Private"]});Ri.prototype.publish("defaultCollapsed",!1,"boolean","Collapsed by default if true",null,{tags:["Private"]});(function(){if(!document.getElementById("41033346")){var i=document.createElement("style");i.id="41033346",i.textContent=`.layout_Surface {
563
+ box-sizing: border-box;
564
+ margin: 0px;
565
+ border: 1px solid #e5e5e5;
566
+ overflow:hidden;
567
+ height: 100%;
568
+ width: 100%;
569
+ }
570
+
571
+ .layout_Surface.shadow2 {
572
+ box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)
573
+ }
574
+
575
+ .layout_Surface > h3 {
576
+ margin: 0px;
577
+ padding: 2px;
578
+ background-color: #e5e5e5;
579
+ }
580
+ .layout_Surface .html-button-container {
581
+ position: absolute;
582
+ right: 0px;
583
+ top:3px;
584
+ }
585
+
586
+ .layout_Surface > div {
587
+ padding: 8px;
588
+ }
589
+
590
+ .layout_Surface .html-button-container .surface-button {
591
+ margin-right: 5px;
592
+ }
593
+ .layout_Surface .html-button-container .surface-button i {
594
+ opacity: 0.8;
595
+ }
596
+
597
+ .layout_Surface .html-button-container .surface-button:hover { opacity: 1; }
598
+ .layout_Surface .html-button-container .surface-button:active { opacity: 0.5; }
599
+
600
+ div[draggable=true].hideDragCellContent.content-icon:before{
601
+ content: "\f080";
602
+ font-family: FontAwesome;
603
+ position: absolute;
604
+ top: calc(50% - 74px);
605
+ left: calc(50% - 56px);
606
+ font-size: 100px;
607
+ }
608
+ div[draggable=true].hideDragCellContent.content-icon-Line:before{
609
+ content:"\f201";
610
+ }
611
+ div[draggable=true].hideDragCellContent.content-icon-Pie:before{
612
+ top: calc(50% - 72px);
613
+ left: calc(50% - 45px);
614
+ content:"\f200";
615
+ }
616
+ div[draggable=true].hideDragCellContent.content-icon-Area:before{
617
+ content:"\f1fe";
618
+ }
619
+ div[draggable=true].hideDragCellContent.content-icon-Gauge:before{
620
+ content:"\f0e4";
621
+ }
622
+ div[draggable=true].hideDragCellContent.content-icon-Table:before{
623
+ content:"\f0ce";
624
+ }
625
+ div[draggable=true].hideDragCellContent.content-icon-Form:before{
626
+ content:"\f11c";
627
+ }
628
+ div[draggable=true].hideDragCellContent.content-icon-Grid:before,
629
+ div[draggable=true].hideDragCellContent.content-icon-Graph:before,
630
+ div[draggable=true].hideDragCellContent.content-icon-Border:before,
631
+ div[draggable=true].hideDragCellContent.content-icon-Tabbed:before,
632
+ div[draggable=true].hideDragCellContent.content-icon-Accordion:before,
633
+ div[draggable=true].hideDragCellContent.content-icon-MultiChart:before,
634
+ div[draggable=true].hideDragCellContent.content-icon-MultiChartSurface:before{
635
+ content:"\f247";
636
+ }
637
+ div[draggable=true].hideDragCellContent.content-icon-ChoroplethStates:before,
638
+ div[draggable=true].hideDragCellContent.content-icon-ChoroplethStatesHeat:before,
639
+ div[draggable=true].hideDragCellContent.content-icon-ChoroplethCounties:before,
640
+ div[draggable=true].hideDragCellContent.content-icon-ChoroplethCountries:before,
641
+ div[draggable=true].hideDragCellContent.content-icon-GMap:before,
642
+ div[draggable=true].hideDragCellContent.content-icon-GMapHeat:before,
643
+ div[draggable=true].hideDragCellContent.content-icon-GMapGraph:before{
644
+ content:"\f278";
645
+ }
646
+ div[draggable=true].hideDragCellContent.content-icon-Text:before,
647
+ div[draggable=true].hideDragCellContent.content-icon-TextBox:before,
648
+ div[draggable=true].hideDragCellContent.content-icon-FAChar:before{
649
+ content:"\f278";
650
+ }
651
+ `,document.head.appendChild(i)}})();var qe=class extends mm{static{c(this,"v")}static{B(this,"Surface")}_surfaceButtons;constructor(){super(),this._tag="div",this._surfaceButtons=[]}widgetSize(i,o){let l=this.clientWidth(),s=this.clientHeight();return this.title()&&(s-=this.calcHeight(i)),s-=this.calcFrameHeight(o),l-=this.calcFrameWidth(o),{width:l,height:s}}enter(i,o){super.enter(i,o)}update(i,o){super.update(i,o);let l=this;o.classed("shadow2",this.surfaceShadow()).style("border-width",this.surfaceBorderWidth_exists()?this.surfaceBorderWidth()+"px":null).style("border-color",this.surfaceBorderColor()).style("border-radius",this.surfaceBorderRadius_exists()?this.surfaceBorderRadius()+"px":null).style("background-color",this.surfaceBackgroundColor());let s=o.selectAll(".surfaceTitle").data(this.title()?[this.title()]:[]);s.enter().insert("h3","div").attr("class","surfaceTitle").merge(s).text(function(f){return f}).style("text-align",this.surfaceTitleAlignment()).style("color",this.surfaceTitleFontColor()).style("font-size",this.surfaceTitleFontSize_exists()?this.surfaceTitleFontSize()+"px":null).style("font-family",this.surfaceTitleFontFamily()).style("font-weight",this.surfaceTitleFontBold()?"bold":"normal").style("background-color",this.surfaceTitleBackgroundColor()).style("padding",this.surfaceTitlePadding_exists()?this.surfaceTitlePadding()+"px":null).style("title",this.altText_exists()?this.altText():null),s.exit().remove();let h=o.select(".surfaceTitle").append("div").attr("class","html-button-container").selectAll(".surface-button").data(this.buttonAnnotations());h.enter().append("button").classed("surface-button",!0).each(function(f,m){let b=l._surfaceButtons[m]=es(this).attr("class","surface-button"+(f.class?" "+f.class:"")).attr("id",f.id).style("padding",f.padding).style("width",f.width).style("height",f.height).style("cursor","pointer");f.font==="FontAwesome"?b.style("background","transparent").style("border","none").on("click",function(_){l.click(_)}).append("i").attr("class","fa").text(function(){return f.label}):b.text(function(){return f.label}).on("click",function(_){l.click(_)})}),h.exit().each(function(f,m){let b=es(this);delete l._surfaceButtons[m],b.remove()});let p=o.selectAll("#"+this._id+" > .surfaceWidget").data(this.widget()?[this.widget()]:[],function(f){return f._id});p.enter().append("div").attr("class","surfaceWidget").each(function(f){es(l.element().node().parentElement).classed("content-icon content-icon-"+f.classID().split("_")[1],!0),f.target(this)}).merge(p).style("padding",this.surfacePadding_exists()?this.surfacePadding()+"px":null).each(function(f){let m=l.widgetSize(o.select("h3"),es(this));m.width<0&&(m.width=0),m.height<0&&(m.height=0),f.resize({width:m.width,height:m.height})}),p.exit().each(function(f){f.target(null)}).remove()}exit(i,o){this.widget()&&this.widget().target(null),super.exit(i,o)}click(i){}};qe.prototype._class+=" layout_Surface";qe.prototype.publish("title","","string","Title",null,{tags:["Intermediate"]});qe.prototype.publish("altText",null,"string","Alt text",null,{optional:!0});qe.prototype.publish("surfaceTitlePadding",null,"number","Title Padding (px)",null,{tags:["Advanced"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceTitleFontSize",null,"number","Title Font Size (px)",null,{tags:["Advanced"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceTitleFontColor",null,"html-color","Title Font Color",null,{tags:["Advanced"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceTitleFontFamily",null,"string","Title Font Family",null,{tags:["Advanced"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceTitleFontBold",!0,"boolean","Enable Bold Title Font",null,{tags:["Advanced"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceTitleBackgroundColor",null,"html-color","Title Background Color",null,{tags:["Advanced"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceTitleAlignment","center","set","Title Alignment",["left","right","center"],{tags:["Basic"],disable:B(i=>!i.title(),"disable")});qe.prototype.publish("surfaceShadow",!1,"boolean","3D Shadow");qe.prototype.publish("surfacePadding",null,"string","Surface Padding (px)",null,{tags:["Intermediate"]});qe.prototype.publish("surfaceBackgroundColor",null,"html-color","Surface Background Color",null,{tags:["Advanced"]});qe.prototype.publish("surfaceBorderWidth",null,"number","Surface Border Width (px)",null,{tags:["Advanced"]});qe.prototype.publish("surfaceBorderColor",null,"html-color","Surface Border Color",null,{tags:["Advanced"]});qe.prototype.publish("surfaceBorderRadius",null,"number","Surface Border Radius (px)",null,{tags:["Advanced"]});qe.prototype.publish("buttonAnnotations",[],"array","Button Array",null,{tags:["Private"]});qe.prototype.publish("widget",null,"widget","Widget",null,{tags:["Basic"]});(function(){if(!document.getElementById("bc383397")){var i=document.createElement("style");i.id="bc383397",i.textContent=`.layout_Cell .update-indicator {
652
+ box-sizing: border-box;
653
+ position: absolute;
654
+ top: 0px;
655
+ left: 0px;
656
+ padding: 0px;
657
+ z-index: 1000;
658
+ border-width: 0px;
659
+ border-style: solid;
660
+ pointer-events: none;
661
+ }
662
+ `,document.head.appendChild(i)}})();var zr=class extends qe{static{c(this,"k")}static{B(this,"Cell")}_indicateTheseIds;constructor(){super(),this._indicateTheseIds=[]}indicateTheseIds(i){return arguments.length?(this._indicateTheseIds=i,this):this._indicateTheseIds}enter(i,o){super.enter(i,o);let l=this;o.classed("layout_Surface",!0).on("mouseenter",function(){l.onMouseEnter()}).on("mouseleave",function(){l.onMouseLeave()})}update(i,o){super.update(i,o)}onMouseEnter(){let i=this.indicateTheseIds(),o=this.indicatorOpacity(),l=this.indicatorBorderColor(),s=this.indicatorGlowColor();for(let h=0;h<i.length;h++){let p=fm("#"+i[h]),f=p.datum();p&&f&&p.append("div").attr("class","update-indicator").style("width",f.width()+"px").style("height",f.height()+"px").style("opacity",o).style("border-color",l).style("-webkit-box-shadow","inset 0px 0px 30px 0px "+s).style("-moz-box-shadow","inset 0px 0px 30px 0px "+s).style("box-shadow","inset 0px 0px 30px 0px "+s)}}onMouseLeave(){let i=this.indicateTheseIds();for(let o=0;o<i.length;o++)gm("#"+i[o]+" > div.update-indicator").remove()}};zr.prototype._class+=" layout_Cell";zr.prototype.publish("gridRow",0,"number","Grid Row Position",null,{tags:["Private"]});zr.prototype.publish("gridCol",0,"number","Grid Column Position",null,{tags:["Private"]});zr.prototype.publish("gridRowSpan",1,"number","Grid Row Span",null,{tags:["Private"]});zr.prototype.publish("gridColSpan",1,"number","Grid Column Span",null,{tags:["Private"]});zr.prototype.publish("indicatorGlowColor","#EEEE11","html-color","Glow color of update-indicator",null,{tags:["Basic"]});zr.prototype.publish("indicatorBorderColor","#F48A00","html-color","Border color of update-indicator",null,{tags:["Basic"]});zr.prototype.publish("indicatorOpacity",.8,"number","Opacity of update-indicator",null,{tags:["Basic"]});(function(){if(!document.getElementById("df37b09f")){var i=document.createElement("style");i.id="df37b09f",i.textContent=`.layout_Border{
663
+ width: 100%;
664
+ height: 100%;
665
+ }
666
+ .layout_Border > .border-content{
667
+ width: 100%;
668
+ height: 100%;
669
+ position:relative;
670
+ }
671
+ .layout_Border > .borderHandle{
672
+ width: 6px;
673
+ height: 6px;
674
+ background-color: #444;
675
+ opacity: 0.3;
676
+ position:absolute;
677
+ visibility:hidden;
678
+ }
679
+ .layout_Border.design-mode > .borderHandle{
680
+ visibility:visible;
681
+ }
682
+ .layout_Border > .borderHandle:hover{
683
+ background-color: #666;
684
+ }
685
+ .layout_Border > .borderHandle.borderHandleDisabled{
686
+ display:none;
687
+ }
688
+ .layout_Border > .borderHandle_top,
689
+ .layout_Border > .borderHandle_bottom
690
+ {
691
+ cursor:ns-resize;
692
+ }
693
+ .layout_Border > .borderHandle_left,
694
+ .layout_Border > .borderHandle_right
695
+ {
696
+ cursor:ew-resize;
697
+ }
698
+ .layout_Border .cell {
699
+ border-radius: 5px;
700
+ border: 1px solid #e5e5e5;
701
+ display: inline-block;
702
+ overflow: hidden;
703
+ }
704
+
705
+ .layout_Border .cell h2 {
706
+ margin: 0px;
707
+ padding-top: 4px;
708
+ -webkit-margin: 0px;
709
+ text-align: center;
710
+ }
711
+
712
+ .layout_Border .layout_BorderCell.over {
713
+ border: 2px dashed #000;
714
+ }
715
+ .layout_Border .dragItem {
716
+ z-index: -1;
717
+ opacity:0.33;
718
+ }
719
+
720
+ .layout_Border .notDragItem {
721
+ z-index: -1;
722
+ opacity: 1;
723
+ }
724
+ .layout_Border div[draggable=true] {
725
+ opacity: 0.75;
726
+ cursor: default;
727
+ }
728
+
729
+ .layout_Border div[draggable=true] .dragHandle {
730
+ opacity: 1.0;
731
+ }
732
+
733
+ .layout_Border div[draggable=true] .dragHandle_n,
734
+ .layout_Border div[draggable=true] .dragHandle_e,
735
+ .layout_Border div[draggable=true] .dragHandle_s,
736
+ .layout_Border div[draggable=true] .dragHandle_w{
737
+ background-color:#AAA;
738
+ }
739
+
740
+ .layout_Border div[draggable=true] .dragHandle_nw,
741
+ .layout_Border div[draggable=true] .dragHandle_ne,
742
+ .layout_Border div[draggable=true] .dragHandle_se,
743
+ .layout_Border div[draggable=true] .dragHandle_sw {
744
+ background-color:#333;
745
+ }
746
+
747
+ .layout_Border div[draggable=true] .dragHandle_nw {
748
+ cursor:nw-resize;
749
+ }
750
+
751
+ .layout_Border div[draggable=true] .dragHandle_n {
752
+ cursor:n-resize;
753
+ }
754
+
755
+ .layout_Border div[draggable=true] .dragHandle_ne {
756
+ cursor:ne-resize;
757
+ }
758
+
759
+ .layout_Border div[draggable=true] .dragHandle_e {
760
+ cursor:e-resize;
761
+ }
762
+
763
+ .layout_Border div[draggable=true] .dragHandle_se {
764
+ cursor:se-resize;
765
+ }
766
+
767
+ .layout_Border div[draggable=true] .dragHandle_s {
768
+ cursor:s-resize;
769
+ }
770
+
771
+ .layout_Border div[draggable=true] .dragHandle_sw {
772
+ cursor:sw-resize;
773
+ }
774
+
775
+ .layout_Border div[draggable=true] .dragHandle_w {
776
+ cursor:w-resize;
777
+ }
778
+
779
+ .layout_Border div[draggable=false] > div > .dragHandle {
780
+ display:none;
781
+ }
782
+
783
+ .layout_Border .grid-drop-target{
784
+ position:fixed;
785
+ box-sizing:border-box;
786
+ border:2px dashed #7f8c8d;
787
+ border-radius:0px;
788
+ background: repeating-linear-gradient(
789
+ -45deg,
790
+ rgba(0, 0, 0, 0),
791
+ rgba(0, 0, 0, 0) 4px,
792
+ rgba(100, 100, 100, 0.1) 4px,
793
+ rgba(100, 100, 100, 0.1) 8px
794
+ );
795
+ }
796
+
797
+ .layout_Border .grid-drop-target.drop-target-over{
798
+ border:2px dashed #179BD7;
799
+ background: repeating-linear-gradient(
800
+ -45deg,
801
+ rgba(0, 0, 0, 0),
802
+ rgba(0, 0, 0, 0) 6px,
803
+ rgba(17, 155, 215, 0.1) 6px,
804
+ rgba(17, 155, 215, 0.1) 12px
805
+ );
806
+ }`,document.head.appendChild(i)}})();var Xe=class extends np{static{c(this,"z")}static{B(this,"Border")}_colCount;_rowCount;_colSize;_rowSize;_shrinkWrapBoxes;_watch;_offsetX;_offsetY;_dragCell;_dragCellSize;_dragCellStartSize;_handleTop;_handleLeft;_dragPrevX;_dragPrevY;_cellSizes;contentDiv;_scrollBarWidth;_borderHandles;_sectionTypeArr;constructor(){super(),this._tag="div",this._colCount=0,this._rowCount=0,this._colSize=0,this._rowSize=0,this._shrinkWrapBoxes={},this.content([]),this.sectionTypes([])}watchWidget(i){if(this._watch===void 0&&(this._watch={}),this._watch[i.id()]&&(this._watch[i.id()].remove(),delete this._watch[i.id()]),i){let o=this;this._watch[i.id()]=i.monitor(function(l,s,h){h!==s&&o.lazyPostUpdate()})}}lazyPostUpdate=hm.debounce(function(){this.postUpdate()},100);applyLayoutType(){let i=this.borderLayoutObject();this.content().forEach(function(o,l){o._fixedLeft=i[this.sectionTypes()[l]].left,o._fixedTop=i[this.sectionTypes()[l]].top,o._fixedWidth=i[this.sectionTypes()[l]].width,o._fixedHeight=i[this.sectionTypes()[l]].height,o._dragHandles=this.cellSpecificDragHandles(this.sectionTypes()[l])},this)}cellSpecificDragHandles(i){switch(i){case"top":return["s"];case"right":return["w"];case"bottom":return["n"];case"left":return["e"];case"center":return[]}}borderLayoutObject(i){let o={},l=this,s,h,p,f,m,b,_,I,P=this.target().getBoundingClientRect(),z={};z.top=P.top,z.left=P.left,z.bottom=P.bottom,z.right=P.right,this.target()instanceof SVGElement?(z.width=parseFloat(this.target().getAttribute("width")),z.height=parseFloat(this.target().getAttribute("height"))):(z.width=P.width,z.height=P.height),this.sectionTypes().indexOf("top")!==-1&&(s=this.topSize(),h=this.topPercentage(),typeof this._shrinkWrapBoxes.top<"u"&&(s=this._shrinkWrapBoxes.top.height+this.gutter(),h=0)),this.sectionTypes().indexOf("bottom")!==-1&&(p=this.bottomSize(),f=this.bottomPercentage(),typeof this._shrinkWrapBoxes.bottom<"u"&&(p=this._shrinkWrapBoxes.bottom.height+this.gutter(),f=0)),this.sectionTypes().indexOf("left")!==-1&&(m=this.leftSize(),b=this.leftPercentage(),typeof this._shrinkWrapBoxes.left<"u"&&(m=this._shrinkWrapBoxes.left.width+this.gutter(),b=0)),this.sectionTypes().indexOf("right")!==-1&&(_=this.rightSize(),I=this.rightPercentage(),typeof this._shrinkWrapBoxes.right<"u"&&(_=this._shrinkWrapBoxes.right.width+this.gutter(),I=0));let R=Y({width:{px:0,"%":100},height:{px:s,"%":h},top:{px:0,"%":0},left:{px:0,"%":0}}),M=Y({width:{px:0,"%":100},height:{px:p,"%":f},top:{px:0,"%":100},left:{px:0,"%":0}});M.top-=M.height;let N=Y({width:{px:m,"%":b},height:{px:-R.height-M.height,"%":100},top:{px:R.height,"%":0},left:{px:0,"%":0}}),F=Y({width:{px:_,"%":I},height:{px:-R.height-M.height,"%":100},top:{px:R.height,"%":0},left:{px:0,"%":100}});F.left-=F.width;let D=Y({width:{px:-F.width-N.width,"%":100},height:{px:-R.height-M.height,"%":100},top:{px:R.height,"%":0},left:{px:N.width,"%":0}});return o.top=R,o.bottom=M,o.right=F,o.left=N,o.center=D,o;function Y(j){return j.width.px=typeof j.width.px<"u"?j.width.px:0,j.width["%"]=typeof j.width["%"]<"u"?j.width["%"]:0,j.height.px=typeof j.height.px<"u"?j.height.px:0,j.height["%"]=typeof j.height["%"]<"u"?j.height["%"]:0,{width:j.width.px+j.width["%"]/100*l.width(),height:j.height.px+j.height["%"]/100*l.height(),top:j.top.px+j.top["%"]/100*l.height()+l.gutter()/2,left:j.left.px+j.left["%"]/100*l.width()+l.gutter()/2}}}clearContent(i){if(!i)this.content().forEach(function(o){return o.target(null),!1}),Tr("#"+this.id()+" > div.borderHandle").classed("borderHandleDisabled",!0),delete this._watch,this.content([]),this.sectionTypes([]);else{let o=this.sectionTypes().indexOf(i);o>=0&&(this._watch&&this.content()[o]&&delete this._watch[this.content()[o].id()],this.content()[o].target(null),Tr("#"+this.id()+" > div.borderHandle_"+i).classed("borderHandleDisabled",!0),this.content().splice(o,1),this.sectionTypes().splice(o,1))}}hasContent(i,o,l){return this.sectionTypes().indexOf(i)>=0}setContent(i,o,l){if(this.clearContent(i),l=typeof l<"u"?l:"",o){let s=new zr().surfaceBorderWidth(0).widget(o).title(l);this.watchWidget(o),this.content().push(s),this.sectionTypes().push(i)}return this}getCell(i){let o=this.sectionTypes().indexOf(i);return o>=0?this.content()[o]:null}getContent(i){let o=this.sectionTypes().indexOf(i);return o>=0?this.content()[o].widget():null}setLayoutOffsets(){this._offsetX=this._element.node().getBoundingClientRect().left+this.gutter()/2,this._offsetY=this._element.node().getBoundingClientRect().top+this.gutter()/2}dragStart(i){let o=Od();o.sourceEvent.stopPropagation();let l=this;this._dragCell=i,this._dragCellStartSize=this[i+"Size"](),this[i+"ShrinkWrap"]()&&(this[i+"Percentage"](0),this[i+"ShrinkWrap"](!1));let s=Tr("#"+l.id()+" > div.borderHandle_"+i);l._handleTop=parseFloat(s.style("top").split("px")[0]),l._handleLeft=parseFloat(s.style("left").split("px")[0]),this._dragPrevX=o.sourceEvent.clientX,this._dragPrevY=o.sourceEvent.clientY}dragTick(i){let o=this,l=Od(),s=this._dragPrevX-l.sourceEvent.clientX,h=this._dragPrevY-l.sourceEvent.clientY;switch(i){case"top":case"bottom":p(i,h);break;case"right":case"left":p(i,s);break}function p(f,m){if(m===0)return;let b=cm("#"+o.id()+" > div.borderHandle"),_=Tr("#"+o.id()+" > div.borderHandle_"+f);_.classed("borderHandle_top")?(_.style("top",o._handleTop-m+"px"),o._cellSizes.topHeight=o._handleTop-m,o._cellSizes.leftHeight=o._cellSizes.height,o._cellSizes.leftHeight-=o._cellSizes.topHeight,o._cellSizes.leftHeight-=o._cellSizes.bottomHeight,o._cellSizes.rightHeight=o._cellSizes.leftHeight):_.classed("borderHandle_right")?(_.style("left",o._handleLeft-m+"px"),o._cellSizes.rightWidth=o._cellSizes.width-o._handleLeft+m):_.classed("borderHandle_bottom")?(_.style("top",o._handleTop-m+"px"),o._cellSizes.bottomHeight=o._cellSizes.height-o._handleTop+m,o._cellSizes.leftHeight=o._cellSizes.height,o._cellSizes.leftHeight-=o._cellSizes.bottomHeight,o._cellSizes.leftHeight-=o._cellSizes.topHeight,o._cellSizes.rightHeight=o._cellSizes.leftHeight):_.classed("borderHandle_left")&&(_.style("left",o._handleLeft-m+"px"),o._cellSizes.leftWidth=o._handleLeft-m),b.each(function(){let I=Tr(this);I.classed("borderHandle_top")?(I.style("width",o._cellSizes.width+"px"),I.style("top",o._cellSizes.topHeight-3+"px")):I.classed("borderHandle_right")?(I.style("left",o._cellSizes.width-o._cellSizes.rightWidth+"px"),I.style("top",o._cellSizes.topHeight+3+"px"),I.style("height",o._cellSizes.rightHeight+"px")):I.classed("borderHandle_bottom")?(I.style("width",o._cellSizes.width+"px"),I.style("top",o._cellSizes.height-o._cellSizes.bottomHeight-3+"px")):I.classed("borderHandle_left")&&(I.style("left",o._cellSizes.leftWidth+"px"),I.style("height",o._cellSizes.leftHeight+"px"),I.style("top",o._cellSizes.topHeight+3+"px"))})}c(p,"s"),B(p,"_moveHandles")}dragEnd(i){if(i){let o=Od(),l=this._dragPrevX-o.sourceEvent.clientX,s=this._dragPrevY-o.sourceEvent.clientY;switch(i){case"top":s!==0&&(this.topPercentage(0),this.topSize(this.topSize()===0?this.getContent("top").getBBox().height-s:this.topSize()-s));break;case"right":l!==0&&(this.rightPercentage(0),this.rightSize(this.rightSize()===0?this.getContent("right").getBBox().width+l:this.rightSize()+l));break;case"bottom":s!==0&&(this.bottomPercentage(0),this.bottomSize(this.bottomSize()===0?this.getContent("bottom").getBBox().height+s:this.bottomSize()+s));break;case"left":l!==0&&(this.leftPercentage(0),this.leftSize(this.leftSize()===0?this.getContent("left").getBBox().width-l:this.leftSize()-l));break}this._dragPrevX=o.sourceEvent.clientX,this._dragPrevY=o.sourceEvent.clientY}this.render()}size(i){let o=np.prototype.size.apply(this,arguments);return arguments.length&&this.contentDiv&&this.contentDiv.style("width",this._size.width+"px").style("height",this._size.height+"px"),o}enter(i,o){super.enter(i,o);let l=this;o.style("position","relative"),this.contentDiv=o.append("div").classed("border-content",!0),this._scrollBarWidth=dm.getScrollbarWidth(),this._borderHandles=["top","left","right","bottom"],o.selectAll("div.borderHandle").data(this._borderHandles).enter().append("div").classed("borderHandle",!0).each(function(s){Tr(this).classed("borderHandle_"+s,!0).classed("borderHandleDisabled",l.getContent(s)===null)})}update(i,o){super.update(i,o),this._sectionTypeArr=this.sectionTypes();let l=this;o.classed("design-mode",this.designMode()),this.setLayoutOffsets();let s=this.contentDiv.selectAll(".cell_"+this._id).data(this.content(),function(m){return m._id}),h=s.enter().append("div").classed("cell_"+this._id,!0).style("position","absolute").each(function(m,b){Tr(this).classed("border-cell border-cell-"+l._sectionTypeArr[b],!0),m.target(this),Tr("#"+l.id()+" > div.borderHandle_"+l._sectionTypeArr[b]).classed("borderHandleDisabled",!1)}).merge(s);h.each(function(m,b){let _=l.sectionTypes()[b];typeof l[_+"ShrinkWrap"]<"u"&&l[_+"ShrinkWrap"]()?(m.render(),l._shrinkWrapBoxes[_]=m.widget().getBBox(!0)):delete l._shrinkWrapBoxes[_]});let p=pm().on("start",function(m,b){l.dragStart.call(l,m,b)}).on("drag",function(m,b){l.dragTick.call(l,m,b)}).on("end",function(m,b){l.dragEnd.call(l,m,b)});this.designMode()?o.selectAll("#"+this.id()+" > div.borderHandle").call(p):o.selectAll("#"+this.id()+" > div.borderHandle").on(".drag",null);let f=this.borderLayoutObject();this.content().forEach(function(m,b){m._fixedLeft=f[this.sectionTypes()[b]].left,m._fixedTop=f[this.sectionTypes()[b]].top,m._fixedWidth=f[this.sectionTypes()[b]].width,m._fixedHeight=f[this.sectionTypes()[b]].height,m._dragHandles=[]},this),h.style("left",function(m){return m._fixedLeft+"px"}).style("top",function(m){return m._fixedTop+"px"}).style("width",function(m){return m._fixedWidth-l.gutter()+"px"}).style("height",function(m){return m._fixedHeight-l.gutter()+"px"}).each(function(m){m._placeholderElement.attr("draggable",l.designMode()).selectAll(".dragHandle").attr("draggable",l.designMode()),m.surfacePadding(l.surfacePadding()).resize()}),s.exit().each(function(m){m.target(null)}).remove(),this.getCellSizes(),o.selectAll("#"+this.id()+" > div.borderHandle").each(function(){let m=Tr(this);m.classed("borderHandle_top")?(m.style("width",l._cellSizes.width+"px"),m.style("top",l._cellSizes.topHeight-3+"px")):m.classed("borderHandle_right")?(m.style("left",l._cellSizes.width-l._cellSizes.rightWidth+"px"),m.style("top",l._cellSizes.topHeight+3+"px"),m.style("height",l._cellSizes.rightHeight+"px")):m.classed("borderHandle_bottom")?(m.style("width",l._cellSizes.width+"px"),m.style("top",l._cellSizes.height-l._cellSizes.bottomHeight-3+"px")):m.classed("borderHandle_left")&&(m.style("left",l._cellSizes.leftWidth+"px"),m.style("height",l._cellSizes.leftHeight+"px"),m.style("top",l._cellSizes.topHeight+3+"px"))})}getCellSizes(){let i=this;i._cellSizes={};let o=this.element().node().getBoundingClientRect();i._cellSizes.width=o.width,i._cellSizes.height=o.height,this.element().selectAll("#"+this.id()+" > div > div.border-cell").each(function(){let l=Tr(this);if(typeof l.node=="function"){let s=l.node().getBoundingClientRect();l.classed("border-cell-top")?i._cellSizes.topHeight=s.height:l.classed("border-cell-left")?(i._cellSizes.leftWidth=s.width,i._cellSizes.leftHeight=s.height):l.classed("border-cell-right")?(i._cellSizes.rightWidth=s.width,i._cellSizes.rightHeight=s.height):l.classed("border-cell-bottom")&&(i._cellSizes.bottomHeight=s.height)}}),["height","width","topHeight","bottomHeight","leftHeight","rightHeight","leftWidth","rightWidth"].forEach(function(l){i._cellSizes[l]=i._cellSizes[l]===void 0?0:i._cellSizes[l]})}postUpdate(i,o){let l=this;this.content().forEach(function(s){if(s._element.node()!==null&&s.widget()){let h=s.widget().getBBox(!1,!0),p=s.widget().getBBox(!0,!0);(h.width!==p.width||h.height!==p.height)&&l.lazyRender()}})}exit(i,o){this.content().forEach(l=>l.target(null)),super.exit(i,o)}};Xe.prototype._class+=" layout_Border";Xe.prototype.publish("designMode",!1,"boolean","Design Mode",null,{tags:["Basic"]});Xe.prototype.publish("content",[],"widgetArray","widgets",null,{tags:["Intermediate"]});Xe.prototype.publish("gutter",0,"number","Gap Between Widgets",null,{tags:["Basic"]});Xe.prototype.publish("topShrinkWrap",!1,"boolean","'Top' Cell shrinks to fit content",null,{tags:["Intermediate"]});Xe.prototype.publish("leftShrinkWrap",!1,"boolean","'Left' Cell shrinks to fit content",null,{tags:["Intermediate"]});Xe.prototype.publish("rightShrinkWrap",!1,"boolean","'Right' Cell shrinks to fit content",null,{tags:["Intermediate"]});Xe.prototype.publish("bottomShrinkWrap",!1,"boolean","'Bottom' Cell shrinks to fit content",null,{tags:["Intermediate"]});Xe.prototype.publish("topSize",0,"number","Height of the 'Top' Cell (px)",null,{tags:["Private"]});Xe.prototype.publish("leftSize",0,"number","Width of the 'Left' Cell (px)",null,{tags:["Private"]});Xe.prototype.publish("rightSize",0,"number","Width of the 'Right' Cell (px)",null,{tags:["Private"]});Xe.prototype.publish("bottomSize",0,"number","Height of the 'Bottom' Cell (px)",null,{tags:["Private"]});Xe.prototype.publish("topPercentage",20,"number","Percentage (of parent) Height of the 'Top' Cell",null,{tags:["Private"]});Xe.prototype.publish("leftPercentage",20,"number","Percentage (of parent) Width of the 'Left' Cell",null,{tags:["Private"]});Xe.prototype.publish("rightPercentage",20,"number","Percentage (of parent) Width of the 'Right' Cell",null,{tags:["Private"]});Xe.prototype.publish("bottomPercentage",20,"number","Percentage (of parent) Height of the 'Bottom' Cell",null,{tags:["Private"]});Xe.prototype.publish("surfacePadding",0,"number","Cell Padding (px)",null,{tags:["Intermediate"]});Xe.prototype.publish("sectionTypes",[],"array","Section Types sharing an index with 'content' - Used to determine position/size.",null,{tags:["Private"]});(function(){if(!document.getElementById("23362289")){var i=document.createElement("style");i.id="23362289",i.textContent=`.layout_Border2 {
807
+ display: flex;
808
+ flex-direction: column;
809
+ }
810
+ .layout_Border2 > .body {
811
+ margin: 0;
812
+ padding: 0;
813
+ display: flex;
814
+ flex-flow: row;
815
+ }
816
+
817
+ .layout_Border2 > .body > .center {
818
+ flex: 1;
819
+ }
820
+
821
+ .layout_Border2 > .header {
822
+ display: block;
823
+ }
824
+
825
+ .layout_Border2 > .footer {
826
+ display: block;
827
+ }
828
+ `,document.head.appendChild(i)}})();var ml=class{static{c(this,"Z")}static{B(this,"WidgetDiv")}_div;_overlay=!1;_overflowX="visible";_overflowY="visible";_widget;constructor(i){this._div=i}overlay(i){return arguments.length?(this._overlay=i,this):this._overlay}overflowX(i){return arguments.length?(this._overflowX=i,this._div.style("overflow-x",i),this):this._overflowX}overflowY(i){return arguments.length?(this._overflowY=i,this._div.style("overflow-y",i),this):this._overflowY}element(){return this._div}node(){return this._div.node()}widget(i){return arguments.length?(this._widget!==i&&(this._widget&&this._widget.target(null),this._widget=i,this._widget&&this._widget.target(this._div.node())),this):this._widget}resize(i){return this._widget&&(this._div.style("width",`${i.width}px`).style("height",`${i.height}px`),this._widget.resize(i)),this}async render(i,o,l){let s=this.overflowX();!this.overlay()&&s==="visible"&&(s=null);let h=this.overflowY();return!this.overlay()&&h==="visible"&&(h=null),this._div.style("height",this.overlay()?"0px":null).style("overflow-x",s).style("overflow-y",h),this._widget?this._widget.renderPromise().then(p=>{if(i&&this._widget.visible()){let f=this._widget.getBBox();return f.width+=8,o!==void 0&&f.height>o&&(f.width+=op.getScrollbarWidth()),l!==void 0&&f.width>l&&(f.height+=op.getScrollbarWidth()),this.overlay()?f.height=0:f.height+=4,f}return i?{x:0,y:0,width:0,height:0}:void 0}):Promise.resolve(i?{x:0,y:0,width:0,height:0}:void 0)}},Ge=class extends ym{static{c(this,"x")}static{B(this,"Border2")}_bodyElement;_topWA;_leftWA;_centerWA;_rightWA;_bottomWA;_topPrevOverflow;_leftPrevOverflow;_rightPrevOverflow;_bottomPrevOverflow;constructor(){super(),this._tag="div"}enter(i,o){super.enter(i,o);let l=o.append("header");this._bodyElement=o.append("div").attr("class","body");let s=this._bodyElement.append("div").attr("class","center"),h=this._bodyElement.append("div").attr("class","lhs"),p=this._bodyElement.append("div").attr("class","rhs"),f=o.append("div").attr("class","footer");this._topWA=new ml(l),this._centerWA=new ml(s),this._leftWA=new ml(h),this._rightWA=new ml(p),this._bottomWA=new ml(f)}update(i,o){super.update(i,o),this._topWA.element().style("display",this.showTop()?null:"none"),this._rightWA.element().style("display",this.showRight()?null:"none"),this._bottomWA.element().style("display",this.showBottom()?null:"none"),this._leftWA.element().style("display",this.showLeft()?null:"none"),this.topOverflowX()!==this._topWA.overflowX()&&this._topWA.overflowX(this.topOverflowX()),this.rightOverflowX()!==this._rightWA.overflowX()&&this._rightWA.overflowX(this.rightOverflowX()),this.bottomOverflowX()!==this._bottomWA.overflowX()&&this._bottomWA.overflowX(this.bottomOverflowX()),this.leftOverflowX()!==this._leftWA.overflowX()&&this._leftWA.overflowX(this.leftOverflowX()),this.topOverflowY()!==this._topWA.overflowY()&&this._topWA.overflowY(this.topOverflowY()),this.rightOverflowY()!==this._rightWA.overflowY()&&this._rightWA.overflowY(this.rightOverflowY()),this.bottomOverflowY()!==this._bottomWA.overflowY()&&this._bottomWA.overflowY(this.bottomOverflowY()),this.leftOverflowY()!==this._leftWA.overflowY()&&this._leftWA.overflowY(this.leftOverflowY()),this.element().style("width",`${this.width()}px`).style("height",`${this.height()}px`)}targetNull(i){i&&i.target(null)}exit(i,o){this.targetNull(this.center()),this.targetNull(this.bottom()),this.targetNull(this.right()),this.targetNull(this.left()),this.targetNull(this.top()),super.exit(i,o)}swap(i,o){let l=this[i](),s=this[o]();return this.targetNull(l),this.targetNull(s),this[`_${i}WA`].widget(null),this[`_${o}WA`].widget(null),this[i](s),this[o](l),this}render(i){return super.render(o=>{this._topWA?this._topWA.widget(this.top()).overlay(this.topOverlay()).render(!0).then(async l=>{let s=await this._bottomWA.widget(this.bottom()).render(!0,void 0,this.width()),h=this.height()-(l.height+s.height),p=await this._leftWA.widget(this.left()).render(!0,h),f=await this._rightWA.widget(this.right()).render(!0,h);this.bottomHeight_exists()&&(s.height=this.bottomHeight());let m=this.width()-(p.width+f.width),b=this.height()-(l.height+s.height),_=this.centerOverflowX(),I=this.centerOverflowY(),P=["auto","scroll"].indexOf(_)!==-1,z=["auto","scroll"].indexOf(I)!==-1;(P||z)&&this._centerWA.overflowX(this.centerOverflowX()).overflowY(this.centerOverflowY()).widget(this.center()).resize({width:m,height:b}).render(),this._bodyElement.style("height",`${b}px`);let R=[this._topWA.overflowX(this.topOverflowX()).overflowY(this.topOverflowY()).resize({width:this.width(),height:l.height}).render(),this._leftWA.overflowX(this.leftOverflowX()).overflowY(this.leftOverflowY()).resize({width:p.width,height:b}).render(),this._rightWA.overflowX(this.rightOverflowX()).overflowY(this.rightOverflowY()).resize({width:f.width,height:b}).render(),this._centerWA.overflowX(this.centerOverflowX()).overflowY(this.centerOverflowY()).widget(this.center()).resize({width:m,height:b}).render(),this._bottomWA.overflowX(this.bottomOverflowX()).overflowY(this.bottomOverflowY()).resize({width:this.width(),height:s.height}).render()];Promise.all(R).then(M=>{i&&i(this)})}):i&&i(this)})}};Ge.prototype._class+=" layout_Border2";Ge.prototype.publish("showTop",!0,"boolean","If true, top widget adapter will display");Ge.prototype.publish("showRight",!0,"boolean","If true, right widget adapter will display");Ge.prototype.publish("showBottom",!0,"boolean","If true, bottom widget adapter will display");Ge.prototype.publish("showLeft",!0,"boolean","If true, left widget adapter will display");Ge.prototype.publish("topOverflowX","visible","set","Sets the overflow-x css style for the top widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("rightOverflowX","visible","set","Sets the overflow-x css style for the right widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("bottomOverflowX","visible","set","Sets the overflow-x css style for the bottom widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("leftOverflowX","visible","set","Sets the overflow-x css style for the left widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("centerOverflowX","visible","set","Sets the overflow-x css style for the center widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("topOverflowY","visible","set","Sets the overflow-y css style for the top widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("rightOverflowY","visible","set","Sets the overflow-y css style for the right widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("bottomOverflowY","visible","set","Sets the overflow-y css style for the bottom widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("leftOverflowY","visible","set","Sets the overflow-y css style for the left widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("centerOverflowY","visible","set","Sets the overflow-y css style for the center widget adapter",["hidden","scroll","visible","auto"]);Ge.prototype.publish("top",null,"widget","Top Widget",void 0,{render:!1});Ge.prototype.publish("topOverlay",!1,"boolean","Overlay Top Widget");Ge.prototype.publish("left",null,"widget","Left Widget",void 0,{render:!1});Ge.prototype.publish("center",null,"widget","Center Widget",void 0,{render:!1});Ge.prototype.publish("right",null,"widget","Right Widget",void 0,{render:!1});Ge.prototype.publish("bottom",null,"widget","Bottom Widget",void 0,{render:!1});Ge.prototype.publish("bottomHeight",null,"number","Bottom Fixed Height",void 0,{optional:!0});(function(){if(!document.getElementById("17c1eb84")){var i=document.createElement("style");i.id="17c1eb84",i.textContent=`.layout_Carousel > div {
829
+ position: relative;
830
+ overflow: hidden;
831
+ }
832
+
833
+ .layout_Carousel > div > .carouselItem {
834
+ position: absolute;
835
+ }`,document.head.appendChild(i)}})();var vl=class extends bm{static{c(this,"K")}static{B(this,"Carousel")}_prevActive=0;_root;activeWidget(){return this.widgets()[this.active()]}enter(i,o){super.enter(i,o),this._root=o.append("div").attr("id",`${this.id()}_root`)}update(i,o){super.update(i,o);let l=this.active(),s=this.width();this._root.style("width",`${s}px`).style("height",`${this.height()}px`);let h=this._root.selectAll(`#${this.id()}_root > .carouselItem`).data(this.widgets(),f=>f.id()),p=h.enter().append("div").attr("class","carouselItem").each(function(f){f.target(this)}).merge(h).style("left",(f,m)=>`${(m-this._prevActive)*s}px`).style("width",`${s}px`);this._prevActive!==l&&(p.style("display",(f,m)=>m===this._prevActive||m===l?null:"none").transition().duration(this.transitionDuration()).style("left",(f,m)=>`${(m-l)*s}px`).on("end",function(f,m){vm(this).style("display",()=>m===l?null:"none")}),this._prevActive=l),h.exit().each(function(f){f.target(null)}).remove()}exit(i,o){this.widgets().forEach(l=>l.target(null)),super.exit(i,o)}render(i){return super.render(o=>{if(!this.visible()||this.isDOMHidden())i&&i(o);else{let l=this.activeWidget();l&&l.resize(this.size()).render(s=>{i&&i(o)})}})}};vl.prototype._class+=" layout_Carousel";vl.prototype.publish("widgets",[],"widgetArray","Widgets",null,{render:!1});vl.prototype.publish("active",0,"number","Active widget");vl.prototype.publish("transitionDuration",500,"number","Transition duration");var jd=Math.PI,Ud=2*jd,an=1e-6,Im=Ud-an;function rs(){this._x0=this._y0=this._x1=this._y1=null,this._=""}c(rs,"mt");B(rs,"Path");function Xd(){return new rs}c(Xd,"Ft");B(Xd,"path");rs.prototype=Xd.prototype={constructor:rs,moveTo:B(function(i,o){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+o)},"moveTo"),closePath:B(function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},"closePath"),lineTo:B(function(i,o){this._+="L"+(this._x1=+i)+","+(this._y1=+o)},"lineTo"),quadraticCurveTo:B(function(i,o,l,s){this._+="Q"+ +i+","+ +o+","+(this._x1=+l)+","+(this._y1=+s)},"quadraticCurveTo"),bezierCurveTo:B(function(i,o,l,s,h,p){this._+="C"+ +i+","+ +o+","+ +l+","+ +s+","+(this._x1=+h)+","+(this._y1=+p)},"bezierCurveTo"),arcTo:B(function(i,o,l,s,h){i=+i,o=+o,l=+l,s=+s,h=+h;var p=this._x1,f=this._y1,m=l-i,b=s-o,_=p-i,I=f-o,P=_*_+I*I;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=o);else if(P>an)if(!(Math.abs(I*m-b*_)>an)||!h)this._+="L"+(this._x1=i)+","+(this._y1=o);else{var z=l-p,R=s-f,M=m*m+b*b,N=z*z+R*R,F=Math.sqrt(M),D=Math.sqrt(P),Y=h*Math.tan((jd-Math.acos((M+P-N)/(2*F*D)))/2),j=Y/D,G=Y/F;Math.abs(j-1)>an&&(this._+="L"+(i+j*_)+","+(o+j*I)),this._+="A"+h+","+h+",0,0,"+ +(I*z>_*R)+","+(this._x1=i+G*m)+","+(this._y1=o+G*b)}},"arcTo"),arc:B(function(i,o,l,s,h,p){i=+i,o=+o,l=+l,p=!!p;var f=l*Math.cos(s),m=l*Math.sin(s),b=i+f,_=o+m,I=1^p,P=p?s-h:h-s;if(l<0)throw new Error("negative radius: "+l);this._x1===null?this._+="M"+b+","+_:(Math.abs(this._x1-b)>an||Math.abs(this._y1-_)>an)&&(this._+="L"+b+","+_),l&&(P<0&&(P=P%Ud+Ud),P>Im?this._+="A"+l+","+l+",0,1,"+I+","+(i-f)+","+(o-m)+"A"+l+","+l+",0,1,"+I+","+(this._x1=b)+","+(this._y1=_):P>an&&(this._+="A"+l+","+l+",0,"+ +(P>=jd)+","+I+","+(this._x1=i+l*Math.cos(h))+","+(this._y1=o+l*Math.sin(h))))},"arc"),rect:B(function(i,o,l,s){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+o)+"h"+ +l+"v"+ +s+"h"+-l+"Z"},"rect"),toString:B(function(){return this._},"toString")};var Em=Xd;function yl(i){return B(function(){return i},"constant")}c(yl,"it");B(yl,"default");var bl=Math.PI,pb=bl/2,is=2*bl,Vd={draw:B(function(i,o){var l=Math.sqrt(o/bl);i.moveTo(l,0),i.arc(0,0,l,0,is)},"draw")},Rm={draw:B(function(i,o){var l=Math.sqrt(o/5)/2;i.moveTo(-3*l,-l),i.lineTo(-l,-l),i.lineTo(-l,-3*l),i.lineTo(l,-3*l),i.lineTo(l,-l),i.lineTo(3*l,-l),i.lineTo(3*l,l),i.lineTo(l,l),i.lineTo(l,3*l),i.lineTo(-l,3*l),i.lineTo(-l,l),i.lineTo(-3*l,l),i.closePath()},"draw")},gp=Math.sqrt(.3333333333333333),Mm=gp*2,Dm={draw:B(function(i,o){var l=Math.sqrt(o/Mm),s=l*gp;i.moveTo(0,-l),i.lineTo(s,0),i.lineTo(0,l),i.lineTo(-s,0),i.closePath()},"draw")},Bm=.8908130915292852,mp=Math.sin(bl/10)/Math.sin(7*bl/10),Fm=Math.sin(is/10)*mp,Lm=-Math.cos(is/10)*mp,Am={draw:B(function(i,o){var l=Math.sqrt(o*Bm),s=Fm*l,h=Lm*l;i.moveTo(0,-l),i.lineTo(s,h);for(var p=1;p<5;++p){var f=is*p/5,m=Math.cos(f),b=Math.sin(f);i.lineTo(b*l,-m*l),i.lineTo(m*s-b*h,b*s+m*h)}i.closePath()},"draw")},Om={draw:B(function(i,o){var l=Math.sqrt(o),s=-l/2;i.rect(s,s,l,l)},"draw")},Nd=Math.sqrt(3),Wm={draw:B(function(i,o){var l=-Math.sqrt(o/(Nd*3));i.moveTo(0,l*2),i.lineTo(-Nd*l,-l),i.lineTo(Nd*l,-l),i.closePath()},"draw")},Zt=-.5,Jt=Math.sqrt(3)/2,$d=1/Math.sqrt(12),Nm=($d/2+1)*3,Hm={draw:B(function(i,o){var l=Math.sqrt(o/Nm),s=l/2,h=l*$d,p=s,f=l*$d+l,m=-p,b=f;i.moveTo(s,h),i.lineTo(p,f),i.lineTo(m,b),i.lineTo(Zt*s-Jt*h,Jt*s+Zt*h),i.lineTo(Zt*p-Jt*f,Jt*p+Zt*f),i.lineTo(Zt*m-Jt*b,Jt*m+Zt*b),i.lineTo(Zt*s+Jt*h,Zt*h-Jt*s),i.lineTo(Zt*p+Jt*f,Zt*f-Jt*p),i.lineTo(Zt*m+Jt*b,Zt*b-Jt*m),i.closePath()},"draw")};function Gd(){var i=yl(Vd),o=yl(64),l=null;function s(){var h;if(l||(l=h=Em()),i.apply(this,arguments).draw(l,+o.apply(this,arguments)),h)return l=null,h+""||null}return c(s,"i"),B(s,"symbol"),s.type=function(h){return arguments.length?(i=typeof h=="function"?h:yl(h),s):i},s.size=function(h){return arguments.length?(o=typeof h=="function"?h:yl(+h),s):o},s.context=function(h){return arguments.length?(l=h??null,s):l},s}c(Gd,"lt");B(Gd,"default");var qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},yp=B(function(i){return i},"d3_identity"),cp=B(function(i){for(var o=[],l=0,s=i.length;l<s;l++)o[l]=i[s-l-1];return o},"d3_reverse"),hp=B(function(i,o){i.each(function(){for(var l=jm(this),s=l.text().split(/\s+/).reverse(),h,p=[],f=0,m=1.2,b=l.attr("y"),_=parseFloat(l.attr("dy"))||0,I=l.text(null).append("tspan").attr("x",0).attr("dy",_+"em");h=s.pop();)p.push(h),I.text(p.join(" ")),I.node().getComputedTextLength()>o&&p.length>1&&(p.pop(),I.text(p.join(" ")),p=[h],I=l.append("tspan").attr("x",0).attr("dy",m+_+"em").text(h))})},"d3_textWrapping"),Qm=B(function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments[1],l=arguments[2],s=arguments[3],h=arguments[4];if((typeof o>"u"?"undefined":qm(o))==="object"){if(o.length===0)return i;for(var p=o.length;p<i.length;p++)o.push(i[p]);return o}else if(typeof o=="function"){for(var f=[],m=i.length,b=0;b<m;b++)f.push(o({i:b,genLength:m,generatedLabels:i,domain:l,range:s,labelDelimiter:h}));return f}return i},"d3_mergeLabels"),Zm=B(function(i,o,l){var s=[];if(o.length>1)s=o;else for(var h=i.domain(),p=(h[h.length-1]-h[0])/(o-1),f=0;f<o;f++)s.push(h[0]+f*p);var m=s.map(l);return{data:s,labels:m,feature:B(function(b){return i(b)},"feature")}},"d3_linearLegend"),Jm=B(function(i,o,l){var s=i.range().map(function(h){var p=i.invertExtent(h);return o(p[0])+" "+l+" "+o(p[1])});return{data:i.range(),labels:s,feature:yp}},"d3_quantLegend"),ey=B(function(i){return{data:i.domain(),labels:i.domain(),feature:B(function(o){return i(o)},"feature")}},"d3_ordinalLegend"),ty=B(function(i,o,l){i.call("cellover",l,o)},"d3_cellOver"),ry=B(function(i,o,l){i.call("cellout",l,o)},"d3_cellOut"),iy=B(function(i,o,l){i.call("cellclick",l,o)},"d3_cellClick"),Pr={d3_drawShapes:B(function(i,o,l,s,h,p){i==="rect"?o.attr("height",l).attr("width",s):i==="circle"?o.attr("r",h):i==="line"?o.attr("x1",0).attr("x2",s).attr("y1",0).attr("y2",0):i==="path"&&o.attr("d",p)},"d3_drawShapes"),d3_addText:B(function(i,o,l,s,h){o.append("text").attr("class",s+"label");var p=i.selectAll("g."+s+"cell text."+s+"label").data(l).text(yp);return h&&i.selectAll("g."+s+"cell text."+s+"label").call(hp,h),p},"d3_addText"),d3_calcType:B(function(i,o,l,s,h,p){var f=i.invertExtent?Jm(i,h,p):i.ticks?Zm(i,l,h):ey(i),m=i.range&&i.range()||i.domain();return f.labels=Qm(f.labels,s,i.domain(),m,p),o&&(f.labels=cp(f.labels),f.data=cp(f.data)),f},"d3_calcType"),d3_filterCells:B(function(i,o){var l=i.data.map(function(p,f){return{data:p,label:i.labels[f]}}).filter(o),s=l.map(function(p){return p.data}),h=l.map(function(p){return p.label});return i.data=i.data.filter(function(p){return s.indexOf(p)!==-1}),i.labels=i.labels.filter(function(p){return h.indexOf(p)!==-1}),i},"d3_filterCells"),d3_placement:B(function(i,o,l,s,h,p){o.attr("transform",l),s.attr("transform",h),i==="horizontal"&&s.style("text-anchor",p)},"d3_placement"),d3_addEvents:B(function(i,o){i.on("mouseover.legend",function(l){ty(o,l,this)}).on("mouseout.legend",function(l){ry(o,l,this)}).on("click.legend",function(l){iy(o,l,this)})},"d3_addEvents"),d3_title:B(function(i,o,l,s){if(o!==""){var h=i.selectAll("text."+l+"legendTitle");h.data([o]).enter().append("text").attr("class",l+"legendTitle"),i.selectAll("text."+l+"legendTitle").text(o),s&&i.selectAll("text."+l+"legendTitle").call(hp,s);var p=i.select("."+l+"legendCells"),f=i.select("."+l+"legendTitle").nodes().map(function(b){return b.getBBox().height})[0],m=-p.nodes().map(function(b){return b.getBBox().x})[0];p.attr("transform","translate("+m+","+f+")")}},"d3_title"),d3_defaultLocale:{format:Um,formatPrefix:$m},d3_defaultFormatSpecifier:".01f",d3_defaultDelimiter:"to"};function bp(){var i=Xm(),o="rect",l=15,s=15,h=10,p=2,f=[5],m=void 0,b=[],_="",I=!1,P="",z=Pr.d3_defaultLocale,R=Pr.d3_defaultFormatSpecifier,M=10,N="middle",F=Pr.d3_defaultDelimiter,D=void 0,Y="vertical",j=!1,G=void 0,K=void 0,X=Ym("cellover","cellout","cellclick");function E(k){var Q=Pr.d3_calcType(i,j,f,b,z.format(R),F),ae=k.selectAll("g").data([i]);ae.enter().append("g").attr("class",_+"legendCells"),m&&Pr.d3_filterCells(Q,m);var ye=k.select("."+_+"legendCells").selectAll("."+_+"cell").data(Q.data),ge=ye.enter().append("g").attr("class",_+"cell");ge.append(o).attr("class",_+"swatch");var ce=k.selectAll("g."+_+"cell "+o+"."+_+"swatch").data(Q.data);Pr.d3_addEvents(ge,X),ye.exit().transition().style("opacity",0).remove(),ce.exit().transition().style("opacity",0).remove(),ce=ce.merge(ce),Pr.d3_drawShapes(o,ce,s,l,h,G);var Fe=Pr.d3_addText(k,ge,Q.labels,_,D);ye=ge.merge(ye);var Se=Fe.nodes().map(function(ne){return ne.getBBox()}),Pe=ce.nodes().map(function(ne){return ne.getBBox()});I?ce.attr("class",function(ne){return _+"swatch "+Q.feature(ne)}):o=="line"?ce.style("stroke",Q.feature):ce.style("fill",Q.feature);var Le=void 0,U=void 0,de=N=="start"?0:N=="middle"?.5:1;Y==="vertical"?function(){var ne=Se.map(function(ee,x){return Math.max(ee.height,Pe[x].height)});Le=B(function(ee,x){var H=Km(ne.slice(0,x));return"translate(0, "+(H+x*p)+")"},"cellTrans"),U=B(function(ee,x){return"translate( "+(Pe[x].width+Pe[x].x+M)+", "+(Pe[x].y+Pe[x].height/2+5)+")"},"textTrans")}():Y==="horizontal"&&(Le=B(function(ne,ee){return"translate("+ee*(Pe[ee].width+p)+",0)"},"cellTrans"),U=B(function(ne,ee){return"translate("+(Pe[ee].width*de+Pe[ee].x)+`,
836
+ `+(Pe[ee].height+Pe[ee].y+M+8)+")"},"textTrans")),Pr.d3_placement(Y,ye,Le,Fe,U,N),Pr.d3_title(k,P,_,K),ye.transition().style("opacity",1)}return c(E,"g"),B(E,"legend"),E.scale=function(k){return arguments.length?(i=k,E):i},E.cells=function(k){return arguments.length?((k.length>1||k>=2)&&(f=k),E):f},E.cellFilter=function(k){return arguments.length?(m=k,E):m},E.shape=function(k,Q){return arguments.length?((k=="rect"||k=="circle"||k=="line"||k=="path"&&typeof Q=="string")&&(o=k,G=Q),E):o},E.shapeWidth=function(k){return arguments.length?(l=+k,E):l},E.shapeHeight=function(k){return arguments.length?(s=+k,E):s},E.shapeRadius=function(k){return arguments.length?(h=+k,E):h},E.shapePadding=function(k){return arguments.length?(p=+k,E):p},E.labels=function(k){return arguments.length?(b=k,E):b},E.labelAlign=function(k){return arguments.length?((k=="start"||k=="end"||k=="middle")&&(N=k),E):N},E.locale=function(k){return arguments.length?(z=Vm(k),E):z},E.labelFormat=function(k){return arguments.length?(R=Gm(k),E):E.locale().format(R)},E.labelOffset=function(k){return arguments.length?(M=+k,E):M},E.labelDelimiter=function(k){return arguments.length?(F=k,E):F},E.labelWrap=function(k){return arguments.length?(D=k,E):D},E.useClass=function(k){return arguments.length?((k===!0||k===!1)&&(I=k),E):I},E.orient=function(k){return arguments.length?(k=k.toLowerCase(),(k=="horizontal"||k=="vertical")&&(Y=k),E):Y},E.ascending=function(k){return arguments.length?(j=!!k,E):j},E.classPrefix=function(k){return arguments.length?(_=k,E):_},E.title=function(k){return arguments.length?(P=k,E):P},E.titleWidth=function(k){return arguments.length?(K=k,E):K},E.textWrap=function(k){return arguments.length?(textWrap=k,E):textWrap},E.on=function(){var k=X.on.apply(X,arguments);return k===X?E:k},E}c(bp,"Gt");B(bp,"color");var Ct=class extends Tm{static{c(this,"A")}static{B(this,"Legend")}_owner;_targetWidget;_targetWidgetMonitor;_legendOrdinal;_disabled=[];_symbolTypeMap={circle:Vd,cross:Rm,diamond:Dm,square:Om,star:Am,triangle:Wm,wye:Hm};constructor(i){super(),this._owner=i,this._drawStartPos="origin";let o=this;this._legendOrdinal=bp().shape("path",Gd().type(Vd).size(150)()).shapePadding(10).shapeRadius(10).on("cellclick",function(l){o.onClick(l,this)}).on("cellover",l=>{o.onOver(l,this)}).on("cellout",l=>{o.onOut(l,this)})}isDisabled(i){return typeof i>"u"?!1:typeof i=="string"?i.indexOf("__")===0||this._disabled.indexOf(i)>=0:i instanceof km.Field?i.id().indexOf("__")===0||this._disabled.indexOf(i.id())>=0:this._disabled.indexOf(i)>=0}filteredFields(){switch(this.dataFamily()){case"2D":return this.fields();case"ND":return this.fields().filter(i=>!this.isDisabled(i))}return this.fields()}filteredColumns(){switch(this.dataFamily()){case"2D":return this.columns();case"ND":return this.columns().filter(i=>!this.isDisabled(i))}return this.columns()}filteredData(){switch(this.dataFamily()){case"2D":return this.data().filter(l=>!this.isDisabled(l[0]));case"ND":let i={},o=!1;return this.columns().forEach((l,s)=>{let h=this.isDisabled(l);i[s]=h,h&&(o=!0)}),o?this.data().map(l=>l.filter((s,h)=>!i[h])):this.data()}return this.data()}isRainbow(){let i=this.getWidget();return i&&i._palette&&i._palette.type()==="rainbow"}targetWidget(i){if(!arguments.length)return this._targetWidget;if(this._targetWidget=i,this._targetWidgetMonitor&&(this._targetWidgetMonitor.remove(),delete this._targetWidgetMonitor),this._targetWidget){let o=this;this._targetWidgetMonitor=this._targetWidget.monitor(function(l,s,h,p){switch(l){case"chart":case"columns":case"data":case"paletteID":o.lazyRender();break}})}return this}getWidget(){if(this._targetWidget)switch(this._targetWidget.classID()){case"composite_MultiChart":return this._targetWidget.chart()}return this._targetWidget}getPalette(){let i=this.getWidget();if(i&&i._palette)switch(i._palette.type()){case"ordinal":return ts.ordinal(i._palette.id());case"rainbow":return ts.rainbow(i._palette.id())}return ts.ordinal("default")}getPaletteType(){return this.getPalette().type()}fillColorFunc(){let i=this.getWidget();if(i&&i.fillColor)return i._palette&&i.paletteID&&i._palette.name!==i.paletteID()&&(i._palette=i._palette.switch(i.paletteID())),(l,s,h)=>i.fillColor(l,s,h);let o=ts.ordinal(i&&i.paletteID&&i.paletteID()||"default");return(l,s,h)=>o(s)}fillColor(i,o,l){return this.fillColorFunc()(i,o,l)}_g;enter(i,o){super.enter(i,o),this._g=o.append("g").attr("class","legendOrdinal")}calcMetaData(){let i=[],o=0,l=0,s=this.columns().length;if(this._targetWidget){let h=this.columns();switch(this.getPaletteType()){case"ordinal":let p=this.fillColorFunc(),f=0;switch(this.dataFamily()){case"2D":i=this.data().map(function(M,N){f=this.data()[N].slice(1,s).reduce((j,G)=>j+G,0);let F=this.isDisabled(M[0]);F||(o+=f);let D=M[0]+(!F&&this.showSeriesTotal()?` (${f})`:""),Y=this.textSize(D);return l<Y.width&&(l=Y.width),[p(M,M[0],!1),M[0],D]},this);break;case"ND":i=this.columns().filter(M=>M.indexOf("__")!==0).filter(function(M,N){return N>0}).map(function(M,N){f=this.data().reduce((j,G)=>j+G[N+1],0);let F=this.isDisabled(h[N+1]),D=M+(!F&&this.showSeriesTotal()?` (${f})`:"");F||(o+=f);let Y=this.textSize(D);return l<Y.width&&(l=Y.width),[p(void 0,M,!1),M,D]},this);break;default:i=this.columns().map(function(M){return[p(void 0,M,!1),M]},this);break}break;case"rainbow":let m=this.getPalette(),b=Pm(this.rainbowFormat()),_=this.getWidget(),I=this.rainbowBins(),P=_._dataMinWeight,z=_._dataMaxWeight,R=(z-P)/(I-1);i.push([m(P,P,z),b(P)]);for(let M=1;M<I-1;++M){let N=R*M;Math.floor(N)>parseInt(i[0][1])&&(N=Math.floor(N)),i.push([m(N,P,z),b(N)])}i.push([m(z,P,z),b(z)]);break}}return{dataArr:i,total:o,maxLabelWidth:l}}update(i,o){super.update(i,o);let{dataArr:l,maxLabelWidth:s,total:h}=this.calcMetaData(),p=this.shapeRadius(),f=this.radiusToSymbolSize(p),m=1,b=this.itemPadding();this.orientation()==="horizontal"&&(b+=s-p*2);let _=zm().domain(l.map(D=>D[1])).range(l.map(D=>D[0]));this._legendOrdinal.shape("path",Gd().type(this._symbolTypeMap[this.symbolType()]).size(f)()).orient(this.orientation()).title(this.title()).labelWrap(this.labelMaxWidth()).labelAlign(this.labelAlign()).shapePadding(b).scale(_).labels(D=>l[D.i][2]),this._g.call(this._legendOrdinal),this.updateDisabled(o,l);let I=this._g.select(".legendCells").node().getBBox(),P=Math.abs(I.x),z=Math.abs(I.y)+m;if(this.orientation()==="horizontal"){if(this.labelAlign()==="start"?P+=m:this.labelAlign()==="end"&&(P-=m),this.width()>I.width){let D=this.width()-I.width;P+=D/2}}else if(this.orientation()==="vertical"&&(P+=m,this._containerSize.height>I.height)){let D=this.height()-I.height;z+=D/2}this._g.attr("transform",`translate(${P}, ${z})`),this.pos({x:0,y:0}),this._legendOrdinal.labelOffset(this.itemPadding());let R=this._g.selectAll(".legendTotal").data(l.length&&this.showLegendTotal()?[h]:[]),M=`Total: ${h}`,N=-P,F=I.height+this.itemPadding()+m;this.enableOverflowScroll(!1),this.enableOverflow(!0),R.enter().append("text").classed("legendTotal",!0).merge(R).attr("transform",`translate(${N}, ${F})`).text(M),R.exit().remove()}updateDisabled(i,o){i.style("cursor","pointer").selectAll("path.swatch").filter((l,s)=>s<o.length).style("stroke",(l,s)=>o[s][0]).style("fill",(l,s)=>this._disabled.indexOf(l)<0?o[s][0]:"white")}postUpdate(i,o){let l;this._boundingBox&&(l=this._boundingBox.width,this._boundingBox.width=this._size.width),super.postUpdate(i,o),l!==void 0&&(this._boundingBox.width=l),this._parentRelativeDiv.style("overflow","hidden")}exit(i,o){super.exit(i,o)}radiusToSymbolSize(i){let o=Math.pow(i,2)*Math.PI;switch(this.symbolType()){case"star":return o*.45;case"triangle":return o*.65;case"cross":case"diamond":case"wye":return o*.75;case"circle":return o;case"square":return o*1.3}}onClick(i,o){switch(this.getPaletteType()){case"ordinal":switch(this.dataFamily()){case"2D":case"ND":let l=this._disabled.indexOf(i);l<0?this._disabled.push(i):this._disabled.splice(l,1),this._owner.refreshColumns(),this._owner.refreshData(),this._owner.render();break}break}}onOver(i,o){if(dp(this._owner))switch(this.getPaletteType()){case"ordinal":switch(this.dataFamily()){case"2D":case"ND":this._disabled.indexOf(i)<0&&this._owner.highlightColumn(i);break}break}}onOut(i,o){if(dp(this._owner))switch(this.getPaletteType()){case"ordinal":switch(this.dataFamily()){case"2D":case"ND":this._owner.highlightColumn();break}break}}onDblClick(i,o){}onMouseOver(i,o){}_containerSize;resize(i){let o;if(this.fitToContent()){this._containerSize=i;let l=this.getBBox();i.width>l.width&&(l.width=i.width),i.height>l.height&&(l.height=i.height),o=super.resize.apply(this,[{...l}])}else o=super.resize.apply(this,arguments);return o}};Ct.prototype._class+=" layout_Legend";Ct.prototype.publish("title","","string","Title");Ct.prototype.publish("symbolType","circle","set","Shape of each legend item",["circle","cross","diamond","square","star","triangle","wye"]);Ct.prototype.publish("labelMaxWidth",null,"number","Max Label Width (pixels)",null,{optional:!0});Ct.prototype.publish("orientation","vertical","set","Orientation of Legend rows",["vertical","horizontal"],{tags:["Private"]});Ct.prototype.publish("dataFamily","ND","set","Type of data",["1D","2D","ND","map","graph","any"],{tags:["Private"]});Ct.prototype.publish("rainbowFormat",",","string","Rainbow number formatting",null,{tags:["Private"],optional:!0,disable:B(i=>!i.isRainbow(),"disable")});Ct.prototype.publish("rainbowBins",8,"number","Number of rainbow bins",null,{tags:["Private"],disable:B(i=>!i.isRainbow(),"disable")});Ct.prototype.publish("showSeriesTotal",!1,"boolean","Show value next to series");Ct.prototype.publish("showLegendTotal",!1,"boolean","Show a total of the series values under the legend",null);Ct.prototype.publish("itemPadding",8,"number","Padding between legend items (pixels)");Ct.prototype.publish("shapeRadius",7,"number","Radius of legend shape (pixels)");Ct.prototype.publish("fitToContent",!0,"boolean","If true, resize will simply reapply the bounding box dimensions");Ct.prototype.publish("labelAlign","start","set","Horizontal alignment of legend item label (for horizontal orientation only)",["start","middle","end"],{optional:!0,disable:B(i=>i.orientation()==="vertical","disable")});(function(){if(!document.getElementById("810b6dee")){var i=document.createElement("style");i.id="810b6dee",i.textContent=`.layout_Modal-header {
837
+ background-color: rgb(63,81,181);
838
+ overflow: hidden;
839
+ }
840
+ .layout_Modal-body {
841
+ background-color: #ffffff;
842
+ overflow-y: scroll;
843
+ overflow-x: hidden;
844
+ }
845
+ .layout_Modal-title {
846
+ position: absolute;
847
+ }
848
+ .layout_Modal-annotations {
849
+ position: absolute;
850
+ }
851
+ .layout_Modal-closeButton {
852
+ cursor: pointer;
853
+ }
854
+ .layout_Modal-closeButton:hover {
855
+ opacity: 0.7;
856
+ }
857
+ .layout_Modal-closeButton:active {
858
+ opacity: 0.5;
859
+ }
860
+ .layout_Modal-fade {
861
+ position: fixed;
862
+ background-color: #000;
863
+ opacity: 0.5;
864
+ z-index: 10000;
865
+ }
866
+ .layout_Modal-content {
867
+ position: fixed;
868
+ background-color: #ffffff;
869
+ z-index: 10100;
870
+ }
871
+ .layout_Modal-fade-hidden {
872
+ display: none;
873
+ }
874
+ .layout_Modal-fadeClickable {
875
+ cursor: pointer;
876
+ }`,document.head.appendChild(i)}})();var Qe=class extends ny{static{c(this,"S")}static{B(this,"Modal")}_widget;_relativeTarget;_fade;_modal;_modalHeader;_modalBody;_modalHeaderAnnotations;_modalHeaderCloseButton;_close;constructor(){super(),this._tag="div"}closeModal(){this.visible(!1)}getRelativeTarget(){let i;return this.relativeTargetId()&&(i=document.getElementById(this.relativeTargetId()),i)?i:!i&&(i=this.locateAncestor("layout_Grid"),i&&i.element)?i.element().node():document.body}setModalSize(){this.fixedHeight()!==null&&this.fixedWidth()!==null?this._modal.style("height",this.fixedHeight()).style("width",this.fixedWidth()).style("min-height",null).style("min-width",null).style("max-height",null).style("max-width",null):(this.minHeight()||this.minWidth())&&this._modal.style("min-height",this.minHeight()).style("min-width",this.minWidth()).style("max-height",this.maxHeight()).style("max-width",this.maxWidth());let i=this._modal.node().getBoundingClientRect(),o=this._modalHeader.node().getBoundingClientRect();return this._modalBody.style("height",i.height-o.height+"px").style("width",i.width),i}setFadePosition(i){this._fade.style("top",i.top+"px").style("left",i.left+"px").style("width",i.width+"px").style("height",i.height+"px")}setModalPosition(i){let o=this.setModalSize();if(this.fixedTop()!==null&&this.fixedLeft()!==null)this._modal.style("top",`calc(${this.fixedTop()} + ${i.top}px)`).style("left",`calc(${this.fixedLeft()} + ${i.left}px)`);else if(this.fixedHeight()!==null&&this.fixedWidth()!==null)this._modal.style("top",i.top+i.height/2-o.height/2+"px").style("left",i.left+i.width/2-o.width/2+"px");else if(this.minHeight()||this.minWidth()){let l=this._modal.node().getBoundingClientRect();this._modal.style("top",i.top+i.height/2-l.height/2+"px").style("left",i.left+i.width/2-l.width/2+"px")}}resize(i){return super.resize(),this._modal&&this.setModalSize(),this}resizeBodySync(i,o){let l=this._modalHeader.node().getBoundingClientRect();return this._modal.style("width",i+"px").style("height",o+l.height+"px").style("min-width",i+"px").style("min-height",o+l.height+"px"),this._modalHeader.style("width",i+"px"),this._modalBody.style("width",i+"px").style("height",o+"px"),this.minWidth(i+"px").minHeight(o+l.height+"px").resize({height:o+l.height,width:i})}enter(i,o){super.enter(i,o),this._fade=o.append("div").classed("layout_Modal-fade",!0).classed("layout_Modal-fadeClickable",this.enableClickFadeToClose()).classed("layout_Modal-fade-hidden",!this.showFade());let l=this.titleFontSize()*2;this._modal=o.append("div").classed("layout_Modal-content",!0),this._modalHeader=this._modal.append("div").classed("layout_Modal-header",!0).style("color",this.titleFontColor()).style("font-size",this.titleFontSize()+"px").style("height",l+"px"),this._modalBody=this._modal.append("div").classed("layout_Modal-body",!0).style("height",`calc( 100% - ${l}px )`).style("overflow-x",this.overflowX()).style("overflow-y",this.overflowY()),this._modalHeader.append("div").classed("layout_Modal-title",!0).style("line-height",this.titleFontSize()+"px").style("top",this.titleFontSize()/2+"px").style("left",this.titleFontSize()/2+"px").text(this.formattedTitle()),this._modalHeaderAnnotations=this._modalHeader.append("div").classed("layout_Modal-annotations",!0),this._modalHeaderCloseButton=this._modalHeaderAnnotations.append("div").classed("layout_Modal-closeButton",!0).html('<i class="fa fa-close"></i>'),this._modalHeaderAnnotations.style("line-height",this.titleFontSize()+"px").style("right",this.titleFontSize()/2+"px").style("top",this.titleFontSize()/2+"px"),this._modalHeaderCloseButton.on("click",()=>{this.closeModal()}),this._fade.on("click",s=>{this.enableClickFadeToClose()&&this.closeModal()})}update(i,o){super.update(i,o),o.style("display",this.show()?null:"none"),this._fade.classed("layout_Modal-fade-hidden",!this.showFade()),this._relativeTarget=this.getRelativeTarget(),this.setModalSize();let l=this._relativeTarget.getBoundingClientRect();this.setFadePosition(l),this.setModalPosition(l),this.show()?(this._widget.target()||this._widget.target(this._modalBody.node()),this._widget.resize().render()):this._widget.target(null).render()}exit(i,o){this._widget&&this._widget.target(null),super.exit(i,o)}formattedTitle(){let i=this.title_exists()?this.title().trim():"";return i.length>0&&i.slice(0,1)==="("&&i.slice(-1)===")"?i.slice(1,-1):this.title()}};Qe.prototype._class+=" layout_Modal";Qe.prototype.publish("title",null,"string","title");Qe.prototype.publish("widget",null,"widget","widget");Qe.prototype.publish("titleFontSize",18,"number","titleFontSize (in pixels)");Qe.prototype.publish("titleFontColor","#ffffff","html-color","titleFontColor");Qe.prototype.publish("relativeTargetId",null,"string","relativeTargetId");Qe.prototype.publish("show",!0,"boolean","show");Qe.prototype.publish("showFade",!0,"boolean","showFade");Qe.prototype.publish("enableClickFadeToClose",!0,"boolean","enableClickFadeToClose");Qe.prototype.publish("minWidth","400px","string","minWidth");Qe.prototype.publish("minHeight","400px","string","minHeight");Qe.prototype.publish("maxWidth","800px","string","maxWidth");Qe.prototype.publish("maxHeight","800px","string","maxHeight");Qe.prototype.publish("fixedWidth",null,"string","fixedWidth");Qe.prototype.publish("fixedHeight",null,"string","fixedHeight");Qe.prototype.publish("fixedTop",null,"string","fixedTop");Qe.prototype.publish("fixedLeft",null,"string","fixedLeft");Qe.prototype.publish("overflowX","hidden","string","overflowX");Qe.prototype.publish("overflowY","scroll","string","overflowY");(function(){if(!document.getElementById("0b83f800")){var i=document.createElement("style");i.id="0b83f800",i.textContent=`.layout_ChartPanel .series.highlight {
877
+ stroke-width: 2px;
878
+ opacity: 1;
879
+ }
880
+
881
+ .layout_ChartPanel .series.lowlight {
882
+ opacity: 0.3!important;
883
+ }
884
+ `,document.head.appendChild(i)}})();var xe=class extends Ge{static{c(this,"f")}static{B(this,"ChartPanel")}_legend=new Ct(this).enableOverflow(!0);_progressBar=new _m;_autoScale=!1;_resolutions={tiny:{width:100,height:100},small:{width:300,height:300}};_modal=new Qe;_highlight;_scale;_orig_size;_toggleInfo=new Wd().faChar("fa-info-circle").tooltip(".Description").selected(!1).on("enabled",()=>this.description()!=="").on("click",()=>{if(this._toggleInfo.selected()){this._modal.title(this.title()).widget(new xm().text(this.description())).show(!0).render();let i=this._modal._close;this._modal._close=()=>{this._toggleInfo.selected(!1).render(),this._modal._close=i}}}).on("mouseMove",()=>{}).on("mouseOut",()=>{});_toggleData=new Wd().faChar("fa-table").tooltip("Data").on("click",()=>{this.dataVisible(this._toggleData.selected()),this.render()});_buttonDownload=new lp().faChar("fa-download").tooltip("Download").on("click",()=>{this.downloadCSV()});_buttonDownloadImage=new lp().faChar("fa-image").tooltip("Download Image").on("click",()=>{this.downloadPNG()});_toggleLegend=new Wd().faChar("fa-list-ul").tooltip("Legend").selected(!1).on("click",()=>{let i=this._toggleLegend.selected();this.legendPosition()==="bottom"?this.showBottom(i):this.legendPosition()==="right"&&this.showRight(i),this.legendVisible(i),this.render()});_spacer=new ap;_titleBar=new Cm().buttons([this._toggleData,this._buttonDownload,this._buttonDownloadImage,this._spacer,this._toggleLegend]);_carousel=new vl;_table=new oi;_widget;_hideLegendToggleList=["dgrid_Table"];constructor(){super(),this._tag="div"}fields(i){return arguments.length?(super.fields(i),this._legend.fields(i),this.refreshFields(),this):super.fields()}refreshFields(){return this._widget.fields(this._legend.filteredFields()),this._table.fields(this._legend.filteredFields()),this}columns(i,o){return arguments.length?(super.columns(i,o),this._legend.columns(i,o),this.refreshColumns(),this):super.columns()}refreshColumns(){return this._widget.columns(this._legend.filteredColumns()),this._table.columns(this._legend.filteredColumns()),this}data(i){return arguments.length?(super.data(i),this._legend.data(i),this.refreshData(),this):super.data()}refreshData(){return this._widget.data(this._legend.filteredData()),this._table.data(this._legend.filteredData()),this}highlight(i){return arguments.length?(this._highlight=i,this):this._highlight}startProgress(){this._progressBar.start()}finishProgress(){this._progressBar.finish()}buttons(i){return arguments.length?(this._titleBar.buttons(i),this):this._titleBar.buttons()}downloadCSV(){let i=this.downloadTitle()?this.downloadTitle():this.title()?this.title():"data",o=this.downloadTimestampSuffix()?"_"+up.timestamp():"";return up.downloadString("CSV",this._widget.export("CSV"),i+o),this}downloadPNG(){let i=this.widget();return i instanceof sp&&(this.legendVisible()?i.downloadPNG(this.title(),void 0,this._legend):i.downloadPNG(this.title())),this}highlightColumn(i){if(i){let o=`series-${this.cssTag(i)}`;this._centerWA.element().selectAll(".series").each(function(){let l=Sm(this),s=l.classed(o);l.classed("highlight",s).classed("lowlight",!s)})}else this._centerWA.element().selectAll(".series").classed("highlight",!1).classed("lowlight",!1);return this}getResponsiveMode(){return this.enableAutoscaling()?this._autoScale?this.size().width<=this._resolutions.tiny.width||this.size().height<=this._resolutions.tiny.height?"tiny":this.size().width<=this._resolutions.small.width||this.size().height<=this._resolutions.small.height?"small":"regular":"regular":"none"}setOrigSize(){this._orig_size=JSON.parse(JSON.stringify(this.size()))}enter(i,o){super.enter(i,o),this._modal.target(this.target()).relativeTargetId(this.id()),this.top(this._titleBar),this.center(this._carousel),this._legend.targetWidget(this._widget).orientation("vertical").title("").visible(!1),this._progressBar.enter(i,o),this.setOrigSize()}preUpdateTiny(i){i.selectAll("div.body,div.title-text,div.icon-bar").style("display","none")}preUpdateSmall(i){let o=this._orig_size.width/this._resolutions.small.width,l=this._orig_size.height/this._resolutions.small.height;this._scale=Math.min(o,l);let s=this._scale===o;this.size({width:s?this._resolutions.small.width:this._orig_size.width*(1/this._scale),height:s?this._orig_size.height*(1/this._scale):this._resolutions.small.height}),i.select("div.title-icon").style("position","static"),i.selectAll("lhs").style("display","none"),i.selectAll("div.body,div.title-text,div.icon-bar").style("display",""),i.selectAll("div.data-count").style("visibility","hidden"),i.style("transform",`scale(${this._scale})`)}preUpdateRegular(i){i.selectAll("div.body,div.title-text,div.icon-bar").style("display",""),i.selectAll("div.data-count").style("visibility","hidden"),i.select("div.title-icon").style("position","static"),i.style("transform","translate(0px,0px) scale(1)")}_prevdataVisible;_prevlegendVisible;_prevLegendPosition;_prevChartDataFamily;_prevChart;_prevButtons;update(i,o){if(super.update(i,o),this._table&&this.widget_exists()&&this.widget().class().indexOf("chart_XYAxis")>=0){let l=this.widget();this._table.columns().forEach((s,h)=>{switch(h===0?l.xAxisType():l.yAxisType()){case"linear":case"log":case"pow":this._table.columnType(s,"number");break;case"time":this._table.columnType(s,"time");break;case"ordinal":default:this._table.columnType(s,"string")}this._table.columnPattern(s,h===0?l.xAxisTypeTimePattern():l.yAxisTypeTimePattern()),this._table.columnFormat(s,h===0?l.xAxisTickFormat():l.yAxisTickFormat())})}}preUpdate(i,o){switch(super.preUpdate(i,o),this._prevLegendPosition!==this.legendPosition()&&(this._legend.target()!==null&&this._legend.target(null),this._prevLegendPosition!==void 0?this.swap(this._prevLegendPosition,this.legendPosition()):this[this.legendPosition()](this._legend),this.legendPosition()==="right"?(this.rightOverflowX("hidden"),this.rightOverflowY("auto"),this.bottomOverflowX("visible"),this.bottomOverflowY("visible")):(this.rightOverflowX("visible"),this.rightOverflowY("visible"),this.bottomOverflowX("auto"),this.bottomOverflowY("hidden")),this._prevLegendPosition=this.legendPosition()),this._prevdataVisible!==this.dataVisible()&&(this._prevdataVisible=this.dataVisible(),this._toggleData.selected(this._prevdataVisible),this._legend.visible(this._prevlegendVisible&&!this._prevdataVisible),this._carousel.active(this._prevdataVisible?1:0)),this._prevlegendVisible!==this.legendVisible()&&(this._prevlegendVisible=this.legendVisible(),this._toggleLegend.selected(this._prevlegendVisible),this._legend.visible(this._prevlegendVisible&&!this._prevdataVisible)),this._legend.orientation(this.legendPosition()==="bottom"?"horizontal":"vertical"),this.showLeft(!this.left()),this.getResponsiveMode()){case"tiny":this.preUpdateTiny(o);break;case"small":this.preUpdateSmall(o);break;case"regular":this.preUpdateRegular(o);break}let l=this._widget.classID()==="composite_MultiChart"?this._widget.chart():this._widget;if(this._legend.dataFamily(l._dataFamily||"any"),this._prevChartDataFamily!==this._legend.dataFamily())switch(this._prevChartDataFamily=this._legend.dataFamily(),this._prevChartDataFamily){case"any":this._toggleLegend.selected(!1),this._legend.visible(!1);break}if(o.style("box-shadow",this.highlight()?`inset 0px 0px 0px ${this.highlightSize()}px ${this.highlightColor()}`:"none"),this._hideLegendToggleList.indexOf(l.classID())!==-1?(this._spacer.visible(!1),this._toggleLegend.visible(!1)):(this._spacer.visible(!0),this._toggleLegend.visible(!0)),this._prevChart!==l){this._prevChart=l;let h=l?l._titleBar||l._iconBar:void 0;if(h&&h instanceof wm){this._prevButtons=this._prevButtons||[...this.buttons()];let p=[...h.buttons(),new ap,...this._prevButtons];h.buttons([]).render(),this.buttons(p)}else this._prevButtons&&this.buttons(this._prevButtons)}let s=[];this.dataButtonVisible()||s.push(this._toggleData),this.downloadButtonVisible()||s.push(this._buttonDownload),this.downloadImageButtonVisible()||s.push(this._buttonDownloadImage),this.legendButtonVisible()||s.push(this._toggleLegend),this._buttonDownloadImage.enabled(this.widget()instanceof sp),this._titleBar.hiddenButtons(s).visible(this.titleVisible()),this.topOverlay(this.titleOverlay()||!this.titleVisible())}postUpdate(i,o){switch(super.postUpdate(i,o),this.getResponsiveMode()){case"tiny":this.postUpdateTiny(o);break;case"small":this.postUpdateSmall(o);break;case"regular":this.postUpdateRegular(o);break}}postUpdateTiny(i){i.selectAll("div.body,div.title-text,div.icon-bar").style("display","none"),i.selectAll("div.data-count").style("visibility","visible").style("font-size",this.titleIconFontSize()/3+"px").style("line-height",this.titleIconFontSize()/3+"px").style("left",this.titleIconFontSize()+"px").text(this.data().length),i.style("transform","translate(0px,0px) scale(1)");let o=i.selectAll("div.title-icon"),l=o.node(),s=i.node().parentElement.getBoundingClientRect();if(l){let h=o.node().getBoundingClientRect(),p=s.height/2;o.style("position","absolute").style("left",`calc(50% - ${h.width/2}px)`).style("top",`${p-h.height/2}px`),i.selectAll("div.data-count").style("position","absolute").style("left",`calc(50% + ${h.width/2}px)`).style("top",`${p-h.height/2}px`)}}postUpdateSmall(i){i.selectAll("lhs").style("display","none"),i.selectAll("div.title-icon").style("position","static"),i.selectAll("div.body,div.title-text,div.icon-bar").style("display",""),i.selectAll("div.data-count").style("visibility","hidden");let o=i.node().getBoundingClientRect(),l=i.node().parentElement.getBoundingClientRect();i.style("transform",`translate(${l.x-o.x}px, ${l.y-o.y}px) scale(${this._scale})`)}postUpdateRegular(i){i.selectAll("div.title-icon").style("position","static"),i.selectAll("div.body,div.title-text,div.icon-bar").style("display",""),i.selectAll("div.data-count").style("visibility","hidden")}exit(i,o){this._progressBar.exit(i,o),this.right(null),this._legend.target(null),this.center(null),this._carousel.target(null),this.top(null),this._titleBar.target(null),this._modal.target(null),delete this._prevChart,delete this._prevButtons,delete this._prevChartDataFamily,delete this._prevPos,delete this._prevdataVisible,delete this._prevlegendVisible,super.exit(i,o)}click(i,o,l){}dblclick(i,o,l){}vertex_click(i,o,l,s){s&&s.vertex}vertex_dblclick(i,o,l,s){s&&s.vertex}edge_click(i,o,l,s){s&&s.edge}edge_dblclick(i,o,l,s){s&&s.edge}};xe.prototype._class+=" layout_ChartPanel";xe.prototype.publishReset();xe.prototype.publishProxy("title","_titleBar");xe.prototype.publish("titleVisible",!0,"boolean");xe.prototype.publish("titleOverlay",!1,"boolean");xe.prototype.publishProxy("titleIcon","_titleBar");xe.prototype.publishProxy("titleIconFont","_titleBar");xe.prototype.publishProxy("titleFont","_titleBar");xe.prototype.publishProxy("titleIconFontSize","_titleBar");xe.prototype.publishProxy("titleFontSize","_titleBar");xe.prototype.publishProxy("description","_titleBar");xe.prototype.publishProxy("descriptionFont","_titleBar");xe.prototype.publishProxy("descriptionFontSize","_titleBar");xe.prototype.publish("dataVisible",!1,"boolean","Show data table");xe.prototype.publish("dataButtonVisible",!0,"boolean","Show data table button");xe.prototype.publish("downloadButtonVisible",!0,"boolean","Show data download button");xe.prototype.publish("downloadImageButtonVisible",!1,"boolean","Show image download button");xe.prototype.publish("downloadTitle","","string","File name when downloaded");xe.prototype.publish("downloadTimestampSuffix",!0,"boolean","Use timestamp as file name suffix");xe.prototype.publish("legendVisible",!1,"boolean","Show legend");xe.prototype.publish("legendButtonVisible",!0,"boolean","Show legend button");xe.prototype.publish("legendPosition","right","set","Position of legend",["right","bottom"]);xe.prototype.publishProxy("legend_labelMaxWidth","_legend","labelMaxWidth");xe.prototype.publishProxy("legend_showSeriesTotal","_legend","showSeriesTotal");xe.prototype.publishProxy("legend_showLegendTotal","_legend","showLegendTotal");xe.prototype.publishProxy("legend_itemPadding","_legend","itemPadding");xe.prototype.publishProxy("legend_shapeRadius","_legend","shapeRadius");xe.prototype.publishProxy("legend_symbolType","_legend","symbolType");xe.prototype.publishProxy("legend_labelAlign","_legend","labelAlign");xe.prototype.publish("widget",null,"widget","Widget",void 0,{render:!1});xe.prototype.publish("enableAutoscaling",!1,"boolean");xe.prototype.publish("highlightSize",4,"number");xe.prototype.publish("highlightColor","#e67e22","html-color");xe.prototype.publishProxy("progress_halfLife","_progressBar","halfLife");xe.prototype.publishProxy("progress_decay","_progressBar","decay");xe.prototype.publishProxy("progress_size","_progressBar","size");xe.prototype.publishProxy("progress_color","_progressBar","color");xe.prototype.publishProxy("progress_blurBar","_progressBar","blurBar");xe.prototype.publishProxy("progress_blurSize","_progressBar","blurSize");xe.prototype.publishProxy("progress_blurColor","_progressBar","blurColor");xe.prototype.publishProxy("progress_blurOpacity","_progressBar","blurOpacity");xe.prototype.widget=function(i){if(!arguments.length)return this._widget;this._carousel.widgets([i,this._table]),this._widget=i,this._widget.fields(this._legend.filteredFields()).data(this._legend.filteredData());let o=this,l=this._widget;return l.click=function(){o.click.apply(o,arguments)},l.dblclick=function(){o.dblclick.apply(o,arguments)},l.vertex_click=function(){o.vertex_click.apply(o,arguments)},l.vertex_dblclick=function(){o.vertex_dblclick.apply(o,arguments)},l.edge_click=function(){o.edge_click.apply(o,arguments)},l.edge_dblclick=function(){o.edge_dblclick.apply(o,arguments)},this};(function(){if(!document.getElementById("1c68d178")){var i=document.createElement("style");i.id="1c68d178",i.textContent=`.layout_FlexGrid{
885
+ display: flex;
886
+ }
887
+ .FlexGrid-list-item{
888
+ overflow: hidden;
889
+ border-style: solid;
890
+ flex-grow: 1;
891
+ }`,document.head.appendChild(i)}})();var rt=class extends oy{static{c(this,"B")}static{B(this,"FlexGrid")}constructor(){super()}enter(i,o){super.enter(i,o),ly(i.parentNode).style("height","100%").style("width","100%")}update(i,o){super.update(i,o);let l=this,s=[];this.updateFlexParent(o);let h=o.selectAll(".FlexGrid-list-item").data(this.widgets(),p=>p.id());h.enter().append("div").classed("FlexGrid-list-item",!0).each(function(p){p.target(this)}).merge(h).style("min-height",this.itemMinHeight()+"px").style("min-width",this.itemMinWidth()+"px").style("flex-basis",(p,f)=>{let m=this.widgetsFlexBasis()[f];return typeof m<"u"?m:this.flexBasis()}).style("flex-grow",(p,f)=>{let m=this.widgetsFlexGrow()[f];return typeof m<"u"?m:this.flexGrow()}).style("border-width",this.borderWidth()+"px").style("border-color",this.itemBorderColor()).each(function(){this.firstChild.style.display="none"}).each(function(){let p=this.getBoundingClientRect();s.push([p.width,p.height])}).each(function(p,f){this.firstChild.style.display="block",p.resize({width:s[f][0]-2*l.borderWidth(),height:s[f][1]-2*l.borderWidth()})}),h.exit().remove()}exit(i,o){super.exit(i,o)}updateFlexParent(i){i.style("height","100%").style("flex-direction",this.orientation()==="horizontal"?"row":"column").style("flex-wrap",this.flexWrap()).style("align-items",this.alignItems()).style("align-content",this.alignContent()).style("overflow-x",()=>this.forceXScroll()||this.orientation()==="horizontal"&&this.flexWrap()==="nowrap"&&!this.disableScroll()?"scroll":"hidden").style("overflow-y",()=>this.forceYScroll()||this.orientation()==="vertical"&&this.flexWrap()==="nowrap"&&!this.disableScroll()?"scroll":"hidden")}};rt.prototype._class+=" layout_FlexGrid";rt.prototype.publish("itemBorderColor","transparent","html-color","Color of list item borders");rt.prototype.publish("borderWidth",0,"number","Width of list item borders (pixels)");rt.prototype.publish("orientation","horizontal","set","Controls the flex-direction of the list items",["horizontal","vertical"]);rt.prototype.publish("flexWrap","wrap","set","Controls the line wrap when overflow occurs",["nowrap","wrap","wrap-reverse"]);rt.prototype.publish("disableScroll",!1,"boolean","If false, scrollbar will show (when flexWrap is set to 'nowrap')",null,{disable:B(i=>i.flexWrap()!=="nowrap","disable")});rt.prototype.publish("forceXScroll",!1,"boolean","If true, horzontal scrollbar will show");rt.prototype.publish("forceYScroll",!1,"boolean","If true, vertical scrollbar will show");rt.prototype.publish("itemMinHeight",64,"number","Minimum height of a list item (pixels)");rt.prototype.publish("itemMinWidth",64,"number","Minimum width of a list item (pixels)");rt.prototype.publish("alignItems","stretch","set","Controls normal alignment of items",["flex-start","center","flex-end","stretch"]);rt.prototype.publish("alignContent","stretch","set","Controls normal alignment of item rows",["flex-start","center","flex-end","stretch","space-between","space-around"]);rt.prototype.publish("flexGrow",1,"number","Default flex-grow style for all list items");rt.prototype.publish("flexBasis","10%","string","Default flex-basis style for all list items");rt.prototype.publish("widgetsFlexGrow",[],"array","Array of flex-grow values keyed on the widgets array");rt.prototype.publish("widgetsFlexBasis",[],"array","Array of flex-basis values keyed on the widgets array");rt.prototype.publish("widgets",[],"widgetArray","Array of widgets to be rendered as list items");var Hd=om(lm(),1);(function(){if(!document.getElementById("71cbabbe")){var i=document.createElement("style");i.id="71cbabbe",i.textContent=`.layout_Grid > .ddCell {
892
+ position: absolute;
893
+ }
894
+
895
+ .layout_Grid > .laneBackground {
896
+ position: absolute;
897
+ border-style: solid;
898
+ border-width: 1px;
899
+ background: whitesmoke;
900
+ }
901
+
902
+ .layout_Grid > .lane {
903
+ position: absolute;
904
+ border-style: none;
905
+ opacity: 0.25;
906
+ border-radius: 0px;
907
+ pointer-events: none;
908
+ }
909
+
910
+ .layout_Grid > .ddCell.draggable {
911
+ border-style: solid;
912
+ border-width: 1px;
913
+ background-color: ghostwhite;
914
+ border-radius: 0px;
915
+ cursor:move;
916
+ }
917
+
918
+ .layout_Grid > .ddCell.draggable > .resizeHandle {
919
+ bottom: 0px;
920
+ right: 0px;
921
+ width: 8px;
922
+ height: 8px;
923
+ border-style: none;
924
+ position: absolute;
925
+ cursor:nwse-resize;
926
+ }
927
+
928
+ .layout_Grid > .ddCell.draggable .resizeHandleDisplay {
929
+ bottom: 2px;
930
+ right: 2px;
931
+ width: 4px;
932
+ height: 4px;
933
+ border-style: solid;
934
+ border-left-width: 0px;
935
+ border-top-width: 0px;
936
+ border-right-width: 2px;
937
+ border-bottom-width: 2px;
938
+ border-color: darkGray;
939
+ background-color:none;
940
+ position: absolute;
941
+ }
942
+
943
+ .layout_Grid > .ddCell.draggable .resizeHandleDisplay:hover {
944
+ border-color: orange;
945
+ }
946
+
947
+ .layout_Grid > .dragging {
948
+ border-style: solid;
949
+ border-width: 1px;
950
+ border-color: gray;
951
+ border-radius: 0px;
952
+ position: absolute;
953
+ background: repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 4px, rgba(100, 100, 100, 0.1) 4px, rgba(100, 100, 100, 0.1) 8px );
954
+ }
955
+
956
+ .layout_Grid > .resizing {
957
+ border-style: solid;
958
+ border-width: 1px;
959
+ border-color: gray;
960
+ background-color: orange;
961
+ border-radius: 0px;
962
+ position: absolute;
963
+ opacity:0.3;
964
+ background: repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 4px, orange 4px, orange 8px );
965
+ }
966
+
967
+ .layout_Grid > .ddCell.draggable .common_Widget.selected {
968
+ border-style: solid;
969
+ border-width: 1px;
970
+ border-color: red;
971
+ background-color: gray;
972
+ border-radius: 0px;
973
+ position: absolute;
974
+ background: repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 4px, rgba(100, 0, 0, 0.1) 4px, rgba(100, 0, 0, 0.1) 8px );
975
+ }
976
+
977
+ .layout_Grid #drag-me::before {
978
+ content: "#" attr(id);
979
+ font-weight: bold;
980
+ }
981
+ `,document.head.appendChild(i)}})();var dy=Hd&&Hd.default||Hd,Ht=class extends ay{static{c(this,"O")}static{B(this,"Grid")}divItems;gridList;items;itemsMap;origItems;cellWidth;cellHeight;dragItem;dragItemPos;_d3Drag;_d3DragResize;_selectionBag;_scrollBarWidth;constructor(){super(),this._tag="div",this._selectionBag=new uy.Selection(this),this.content([])}getDimensions(){let i={width:0,height:0};return this.content().forEach(function(o){i.width<o.gridCol()+o.gridColSpan()&&(i.width=o.gridCol()+o.gridColSpan()),i.height<o.gridRow()+o.gridRowSpan()&&(i.height=o.gridRow()+o.gridRowSpan())},this),i}clearContent(i){this.content(this.content().filter(function(o){if(!i)return o.target(null),!1;let l=o;for(;l;){if(i===l)return o.target(null),!1;l=l.widget?l.widget():null}return!0}))}setContent(i,o,l,s,h,p){if(h=h||1,p=p||1,s=s||"",this.content(this.content().filter(function(f){return f.gridRow()===i&&f.gridCol()===o?(f.target(null),!1):!0})),l){let f=new zr().gridRow(i).gridCol(o).widget(l).title(s).gridRowSpan(h).gridColSpan(p);this.content().push(f)}return this}sortedContent(){return this.content().sort(function(i,o){return i.gridRow()===o.gridRow()?i.gridCol()-o.gridCol():i.gridRow()-o.gridRow()})}getCell(i,o){let l=null;return this.content().some(function(s){return i>=s.gridRow()&&i<s.gridRow()+s.gridRowSpan()&&o>=s.gridCol()&&o<s.gridCol()+s.gridColSpan()?(l=s,!0):!1}),l}getWidgetCell(i){let o=null;return this.content().some(function(l){return l.widget().id()===i?(o=l,!0):!1}),o}getContent(i){let o=null;return this.content().some(function(l){return l.widget().id()===i?(o=l.widget(),!0):!1}),o}cellToGridItem(i){return{x:i.gridCol(),y:i.gridRow(),w:i.gridColSpan(),h:i.gridRowSpan(),id:i.id(),cell:i}}gridItemToCell(i){i.cell.gridCol(i.x).gridRow(i.y).gridColSpan(i.w).gridRowSpan(i.h)}resetItemsPos(){this.origItems.forEach(function(i){let o=this.itemsMap[i.id];o.x=i.x,o.y=i.y},this)}initGridList(){this.itemsMap={},this.items=this.content().map(function(i){let o=this.cellToGridItem(i);return this.itemsMap[o.id]=o,o},this),this.origItems=this.content().map(this.cellToGridItem),this.gridList=new dy(this.items,{direction:this.snapping(),lanes:this.snapping()==="horizontal"?this.snappingRows():this.snappingColumns()})}killGridList(){this.gridList=null,delete this.items,delete this.itemsMap}enter(i,o){super.enter(i,o),this._scrollBarWidth=sy.getScrollbarWidth();let l=this;this._d3Drag=pp().subject(function(s){let h=l.cellToGridItem(s);return{x:h.x*l.cellWidth,y:h.y*l.cellHeight}}).on("start",function(s){if(!l.designMode())return;ln().sourceEvent.stopPropagation(),l.initGridList();let h=l.itemsMap[s.id()];l.dragItem=o.append("div").attr("class","dragging").style("transform",function(){return"translate("+h.x*l.cellWidth+"px, "+h.y*l.cellHeight+"px)"}).style("width",function(){return h.w*l.cellWidth-l.gutter()+"px"}).style("height",function(){return h.h*l.cellHeight-l.gutter()+"px"}),l.selectionBagClick(s)}).on("drag",function(s){if(!l.designMode())return;let h=ln();h.sourceEvent.stopPropagation();let p=l.itemsMap[s.id()];h.x<0&&(h.x=0),h.x+p.w*l.cellWidth>l.snappingColumns()*l.cellWidth&&(h.x=l.snappingColumns()*l.cellWidth-p.w*l.cellWidth),h.y<0&&(h.y=0),h.y+p.h*l.cellWidth>l.snappingRows()*l.cellWidth&&(h.y=l.snappingRows()*l.cellWidth-p.h*l.cellWidth);let f=[Math.max(0,Math.floor((h.x+l.cellWidth/2)/l.cellWidth)),Math.max(0,Math.floor((h.y+l.cellHeight/2)/l.cellHeight))];(p.x!==f[0]||p.y!==f[1])&&(l.snapping()!=="none"?(l.resetItemsPos(),l.gridList.moveItemToPosition(p,f)):(p.x=f[0],p.y=f[1]),(s.gridCol()!==p.x||s.gridRow()!==p.y)&&(l.items.forEach(l.gridItemToCell),l.updateGrid(!1,100))),l.dragItem.style("transform",function(){return"translate("+h.x+"px, "+h.y+"px)"}).style("width",function(){return p.w*l.cellWidth+"px"}).style("height",function(){return p.h*l.cellHeight+"px"})}).on("end",function(){l.designMode()&&(ln().sourceEvent.stopPropagation(),l.dragItem.remove(),l.dragItem=null,l.killGridList())}),this._d3DragResize=pp().subject(function(s){let h=l.cellToGridItem(s);return{x:(h.x+h.w-1)*l.cellWidth,y:(h.y+h.h-1)*l.cellHeight}}).on("start",function(s){if(!l.designMode())return;ln().sourceEvent.stopPropagation(),l.initGridList();let h=l.itemsMap[s.id()];l.dragItem=o.append("div").attr("class","resizing").style("transform",function(){return"translate("+h.x*l.cellWidth+"px, "+h.y*l.cellHeight+"px)"}).style("width",function(){return h.w*l.cellWidth-l.gutter()+"px"}).style("height",function(){return h.h*l.cellHeight-l.gutter()+"px"}),l.dragItemPos={x:h.x,y:h.y}}).on("drag",function(s){if(!l.designMode())return;let h=ln();h.sourceEvent.stopPropagation();let p=l.itemsMap[s.id()],f=[Math.max(0,Math.round(h.x/l.cellWidth)),Math.max(0,Math.round(h.y/l.cellHeight))],m={w:Math.max(1,f[0]-p.x+1),h:Math.max(1,f[1]-p.y+1)};(p.w!==m.w||p.h!==m.h)&&(l.snapping()!=="none"?(l.resetItemsPos(),l.gridList.resizeItem(p,m)):(p.w=m.w,p.h=m.h),(s.gridColSpan()!==p.w||s.gridRowSpan()!==p.h)&&(l.items.forEach(l.gridItemToCell),l.updateGrid(p.id,100))),l.dragItem.style("width",function(){return(-p.x+1)*l.cellWidth+h.x-l.gutter()+"px"}).style("height",function(){return(-p.y+1)*l.cellHeight+h.y-l.gutter()+"px"})}).on("end",function(){l.designMode()&&(ln().sourceEvent.stopPropagation(),l.dragItem.remove(),l.dragItem=null,l.killGridList())})}updateGrid(i,o=0,l=!1){o=o||0;let s=this;this.divItems.classed("draggable",this.designMode()).transition().duration(o).style("left",function(h){return h.gridCol()*s.cellWidth+s.gutter()/2+"px"}).style("top",function(h){return h.gridRow()*s.cellHeight+s.gutter()/2+"px"}).style("width",function(h){return h.gridColSpan()*s.cellWidth-s.gutter()+"px"}).style("height",function(h){return h.gridRowSpan()*s.cellHeight-s.gutter()+"px"}).on("end",function(h){h.surfaceShadow_default(s.surfaceShadow()).surfacePadding_default(s.surfacePadding()).surfaceBorderWidth_default(s.surfaceBorderWidth()).surfaceBackgroundColor_default(s.surfaceBackgroundColor()),(i===!0||i===h.id())&&h.resize().lazyRender()})}update(i,o){super.update(i,o),this._placeholderElement.style("overflow-x",this.fitTo()==="width"?"hidden":null),this._placeholderElement.style("overflow-y",this.fitTo()==="width"?"scroll":null);let l=this.getDimensions(),s=this.width()-(this.fitTo()==="width"?this._scrollBarWidth:0);if(this.cellWidth=s/l.width,this.cellHeight=this.fitTo()==="all"?this.height()/l.height:this.cellWidth,this.designMode()){let b=Math.min(this.width()/this.snappingColumns(),this.height()/this.snappingRows()),_=Math.floor(b);this.cellWidth=_,this.cellHeight=this.cellWidth}let h=this,p=o.selectAll("#"+this.id()+" > .ddCell").data(this.content(),function(b){return b.id()});this.divItems=p.enter().append("div").attr("class","ddCell").each(function(b){b.target(this),b.__grid_watch=b.monitor(function(_,I,P){h._renderCount&&(_==="snapping"||_.indexOf("grid")===0)&&I!==P&&(h.gridList||(h.initGridList(),h.snapping()!=="none"&&h.gridList.resizeGrid(h.snapping()==="horizontal"?h.snappingRows():h.snappingColumns()),h.items.forEach(h.gridItemToCell),h.updateGrid(b.id(),100),h.killGridList()))}),fp(this).append("div").attr("class","resizeHandle").call(h._d3DragResize).append("div").attr("class","resizeHandleDisplay")}).merge(p),this.divItems.each(function(b){let _=fp(this);h.designMode()?_.call(h._d3Drag):_.on("mousedown.drag",null).on("touchstart.drag",null)}),this.divItems.select(".resizeHandle").style("display",this.designMode()?null:"none"),this.updateGrid(!0),p.exit().each(function(b){b.target(null),b.__grid_watch&&b.__grid_watch.remove()}).remove();let f=o.selectAll("#"+this.id()+" > .laneBackground").data(this.designMode()?[""]:[]);f.enter().insert("div",":first-child").attr("class","laneBackground").style("left","1px").style("top","1px").on("click",function(){h.selectionBagClear()}).merge(f).style("width",this.snappingColumns()*this.cellWidth+"px").style("height",this.snappingRows()*this.cellHeight+"px"),f.exit().each(function(){h.selectionBagClear()}).remove();let m=o.selectAll("#"+this.id()+" > .lane").data(this.designMode()?[""]:[]);m.enter().append("div").attr("class","lane").style("left","1px").style("top","1px"),m.style("display",this.showLanes()?null:"none").style("width",this.snappingColumns()*this.cellWidth+"px").style("height",this.snappingRows()*this.cellHeight+"px").style("background-image","linear-gradient(to right, grey 1px, transparent 1px), linear-gradient(to bottom, grey 1px, transparent 1px)").style("background-size",this.cellWidth+"px "+this.cellHeight+"px"),m.exit().remove()}exit(i,o){this.content().forEach(l=>l.target(null)),super.exit(i,o)}_createSelectionObject(i){return{_id:i._id,element:B(()=>i._element,"element"),widget:i}}selection(i){return arguments.length?(this._selectionBag.set(i.map(function(o){return this._createSelectionObject(o)},this)),this):this._selectionBag.get().map(function(o){return o._id})}selectionBagClear(){this._selectionBag.isEmpty()||(this._selectionBag.clear(),this.postSelectionChange())}selectionBagClick(i){if(i!==null){let o=this._createSelectionObject(i);if(ln().sourceEvent.ctrlKey)this._selectionBag.isSelected(o)?(this._selectionBag.remove(o),this.postSelectionChange()):(this._selectionBag.append(o),this.postSelectionChange());else{let l=this._selectionBag.get();l.length===1&&l[0]._id===o._id?this.selectionBagClear():this._selectionBag.set([o]),this.postSelectionChange()}}}postSelectionChange(){}applyLayout(i){this.divItems.each((o,l)=>{if(i[l]){let[s,h,p,f]=i[l];o.gridCol(s).gridRow(h).gridColSpan(p).gridRowSpan(f)}}),this.updateGrid(!0)}vizActivation(i){}};Ht.prototype._class+=" layout_Grid";Ht.prototype.publish("designMode",!1,"boolean","Design Mode",null,{tags:["Basic"]});Ht.prototype.publish("showLanes",!0,"boolean","Show snapping lanes when in design mode",null,{tags:["Basic"],disable:B(i=>!i.designMode(),"disable")});Ht.prototype.publish("fitTo","all","set","Sizing Strategy",["all","width"],{tags:["Basic"]});Ht.prototype.publish("snapping","vertical","set","Snapping Strategy",["vertical","horizontal","none"]);Ht.prototype.publish("snappingColumns",12,"number","Snapping Columns");Ht.prototype.publish("snappingRows",16,"number","Snapping Rows");Ht.prototype.publish("gutter",6,"number","Gap Between Widgets",null,{tags:["Basic"]});Ht.prototype.publish("surfaceShadow",!0,"boolean","3D Shadow");Ht.prototype.publish("surfacePadding",null,"string","Cell Padding (px)",null,{tags:["Intermediate"]});Ht.prototype.publish("surfaceBorderWidth",1,"number","Width (px) of Cell Border",null,{tags:["Intermediate"]});Ht.prototype.publish("surfaceBackgroundColor",null,"html-color","Surface Background Color",null,{tags:["Advanced"]});Ht.prototype.publish("content",[],"widgetArray","widgets",null,{tags:["Basic"],render:!1});var cy=class extends rt{static{c(this,"At")}static{B(this,"HorizontalList")}constructor(){super(),this.orientation_default("horizontal"),this.flexWrap_default("nowrap")}};cy.prototype._class+=" layout_HorizontalList";(function(){if(!document.getElementById("ed0ab859")){var i=document.createElement("style");i.id="ed0ab859",i.textContent=`.layout_Layered {
982
+ pointer-events: none;
983
+ }
984
+ .layout_Layered > .container > .content {
985
+ position: absolute;
986
+ }
987
+ .layout_Layered > .container > .content > div > .common_Widget,
988
+ .layout_Layered > .container > .content > div > svg > .common_Widget {
989
+ pointer-events: all;
990
+ }
991
+ `,document.head.appendChild(i)}})();var Kd=class extends hy{static{c(this,"nt")}static{B(this,"Layered")}_contentContainer;_widgetPlacements;_widgetRatios;constructor(){super(),this._tag="div",this._widgetPlacements=[],this._widgetRatios=[]}addLayer(i,o="default",l=1,s=1){let h=this.widgets();return h.push(i||new py().text("No widget defined for layer.")),this.widgets(h),this._widgetPlacements.push(o),this._widgetRatios.push([l,s]),this}enter(i,o){super.enter(i,o),this._contentContainer=o.append("div").attr("class","container")}update(i,o){super.update(i,o);let l=this;o.style("padding",this.surfacePadding()+"px");let s=this._contentContainer.selectAll(".content.id"+this.id()).data(this.widgets(),function(h){return h.id()});s.enter().append("div").attr("class","content id"+this.id()).each(function(h,p){h.target(this)}).merge(s).each(function(h,p){let f={width:l.clientWidth(),height:l.clientHeight()},m=l.widgetSize(p,f),b=l.widgetPosition(p,f,m);this.style.top=b.y+"px",this.style.left=b.x+"px",h.resize(m).render()}),s.exit().each(function(h,p){h.target(null)}).remove(),s.order()}widgetSize(i,o){return this._widgetPlacements[i]==="default"?{width:o.width*this._widgetRatios[i][0],height:o.height*this._widgetRatios[i][1]}:{width:o.width*this._widgetRatios[i][0],height:o.height*this._widgetRatios[i][1]}}widgetPosition(i,o,l){switch(this._widgetPlacements[i]){default:return{x:0,y:0};case"top":return{x:o.width/2-l.width/2,y:0};case"bottom":return{x:o.width/2-l.width/2,y:o.height-l.height};case"left":return{x:0,y:o.height/2-l.height/2};case"right":return{x:o.width-l.width,y:o.height/2-l.height/2};case"center":return{x:o.width/2-l.width/2,y:o.height/2-l.height/2}}}};Kd.prototype._class+=" layout_Layered";Kd.prototype.publish("surfacePadding",0,"number","Padding");Kd.prototype.publish("widgets",[],"widgetArray","widgets",null,{tags:["Private"]});var Ir=class extends fy{static{c(this,"F")}static{B(this,"Popup")}_surfaceButtons;_originalPosition;constructor(){super(),this._tag="div",this._surfaceButtons=[]}updateState(i){i=i||!this.popupState(),this.popupState(i).render()}enter(i,o){super.enter(i,o),this.widget().target(i),this._originalPosition=this.position()}update(i,o){super.update(i,o),o.style("visibility",this.popupState()?null:"hidden").style("opacity",this.popupState()?null:0).style("width",this.shrinkWrap()?this.widget().width()+"px":this._size.width+"px").style("height",this.shrinkWrap()?this.widget().height()+"px":this._size.height+"px"),this.widget().size().height===0&&this.widget().resize(this.size())}postUpdate(i,o){let l,s;switch(this.centerPopup()){case"container":this._placeholderElement&&(l=parseInt(this._placeholderElement.style("width"))/2-this.widget().width()/2,s=parseInt(this._placeholderElement.style("height"))/2-this.widget().height()/2),this.position("absolute");break;case"window":l=window.innerWidth/2-this.widget().width()/2,s=window.innerHeight/2-this.widget().height()/2,this.position("fixed");break;default:l=0,s=0,this.position(this._originalPosition);break}this.pos({x:l,y:s}),super.postUpdate(i,o),o.style("position",this.position()).style("left",this.left()+"px").style("right",this.right()+"px").style("top",this.top()+"px").style("bottom",this.bottom()+"px")}exit(i,o){this.widget()&&this.widget().target(null),super.exit(i,o)}click(i){}};Ir.prototype._class+=" layout_Popup";Ir.prototype.publish("popupState",!1,"boolean","State of the popup, visible (true) or hidden (false)",null,{});Ir.prototype.publish("shrinkWrap",!1,"boolean","The popup parent container either shrinks to the size of its contents (true) or expands to fit thge popup's parentDiv (false)",null,{});Ir.prototype.publish("centerPopup","none","set","Center the widget in its container element (target) or in the window",["none","container","window"],{});Ir.prototype.publish("top",null,"number","Top position property of popup",null,{});Ir.prototype.publish("bottom",null,"number","Bottom position property of popup",null,{});Ir.prototype.publish("left",null,"number","Left position property of popup",null,{});Ir.prototype.publish("right",null,"number","Right position property of popup",null,{});Ir.prototype.publish("position","relative","set","Value of the 'position' property",["absolute","relative","fixed","static","initial","inherit"],{tags:["Private"]});Ir.prototype.publish("widget",null,"widget","Widget",null,{tags:["Private"]});(function(){if(!document.getElementById("6b6715fa")){var i=document.createElement("style");i.id="6b6715fa",i.textContent=`.layout_Tabbed .tab-button {
992
+ position: relative;
993
+ top: 1px;
994
+ display: inline-block;
995
+ border-left: 1px solid #ddd;
996
+ border-top: 1px solid #ddd;
997
+ border-right: 1px solid #ddd;
998
+ background-color: transparent;
999
+ margin-right: 4px;
1000
+ padding: 2px;
1001
+ padding-bottom: 4px;
1002
+ background-color: #ccc;
1003
+ }
1004
+
1005
+ .layout_Tabbed .tab-button.active {
1006
+ background-color: white;
1007
+ z-index:999;
1008
+ }
1009
+ .layout_Tabbed .on_bottom .tab-button {
1010
+ border-bottom: 1px solid #ddd;
1011
+ border-top: none;
1012
+ top: -1px;
1013
+ }`,document.head.appendChild(i)}})();var sn=class extends gy{static{c(this,"U")}static{B(this,"Tabbed")}_tabContainer;_contentContainer;constructor(){super(),this._tag="div"}clearTabs(){return this.labels([]),this.widgets([]),this}addTab(i,o,l,s){let h=i.size();h.width===0&&h.height===0&&i.size({width:"100%",height:"100%"});let p=this.labels(),f=this.widgets();l&&this.activeTabIdx(this.widgets().length),p.push(o);let m=new qe().widget(i||new my().text("No widget defined for tab"));return f.push(m),this.labels(p),this.widgets(f),s&&s(m),this}widgetSize(i){let o=this.clientWidth(),l=this.clientHeight(),s=this._tabContainer.node().getBoundingClientRect();return typeof s.height<"u"&&(l-=s.height),{width:o,height:l}}enter(i,o){super.enter(i,o),this._tabContainer=o.append("div"),this._contentContainer=o.append("div")}update(i,o){super.update(i,o);let l=this;o.style("padding",this.surfacePadding_exists()?this.surfacePadding()+"px":null);let s=this._tabContainer.selectAll(".tab-button.id"+this.id()).data(this.showTabs()?this.labels():[],function(p){return p});s.enter().append("span").attr("class","tab-button id"+this.id()).style("cursor","pointer").on("click",function(p,f){l.click(l.widgets()[f].widget(),p,f),l.activeTabIdx(f).render()}).merge(s).classed("active",function(p,f){return l.activeTabIdx()===f}).text(function(p){return p}),s.exit().remove();let h=this._contentContainer.selectAll(".tab-content.id"+this.id()).data(this.widgets(),function(p){return p.id()});switch(h.enter().append("div").attr("class","tab-content id"+this.id()).each(function(p,f){p.target(this)}).merge(h).classed("active",function(p,f){return l.activeTabIdx()===f}).style("display",function(p,f){return l.activeTabIdx()===f?"block":"none"}).each(function(p,f){if(p.visible(l.activeTabIdx()===f),l.activeTabIdx()===f){let m=l.widgetSize(yy(this));p.surfaceBorderWidth(l.showTabs()?null:0).surfacePadding(l.showTabs()?null:0).resize(m)}}),h.exit().each(function(p,f){p.target(null)}).remove(),this.tabLocation()){case"bottom":this._tabContainer.attr("class","on_bottom").style("top",this._contentContainer.node().offsetHeight+this.surfacePadding()+"px").style("position","absolute"),this._contentContainer.style("top",this.surfacePadding_exists()?this.surfacePadding()+"px":null).style("position","absolute");break;default:this._tabContainer.attr("class","on_top").style("top",null).style("position","relative"),this._contentContainer.style("top",this._tabContainer.node().offsetHeight+this.surfacePadding()+"px").style("position","absolute");break}}click(i,o,l){}};sn.prototype._class+=" layout_Tabbed";sn.prototype.publish("showTabs",!0,"boolean","Show Tabs",null,{});sn.prototype.publish("surfacePadding",4,"number","Padding");sn.prototype.publish("activeTabIdx",0,"number","Index of active tab",null,{});sn.prototype.publish("labels",[],"array","Array of tab labels sharing an index with ",null,{tags:["Private"]});sn.prototype.publish("tabLocation","top","set","Position the tabs at the bottom of the widget",["top","bottom"],{tags:["Private"]});sn.prototype.publish("widgets",[],"widgetArray","widgets",null,{tags:["Private"]});(function(){if(!document.getElementById("67787f94")){var i=document.createElement("style");i.id="67787f94",i.textContent=`.layout_Toolbar {
1014
+ height:100%;
1015
+ background-color:#dddddd;
1016
+ white-space: nowrap;
1017
+ overflow: hidden;
1018
+ }
1019
+ .layout_Toolbar .toolbar-title {
1020
+ display: inline-block;
1021
+ position: relative;
1022
+ top: 50%;
1023
+ transform: translateY(-50%);
1024
+ -ms-transform: translateY(-50%);
1025
+
1026
+ margin-left:4px;
1027
+ font-weight:bold;
1028
+ text-overflow: ellipsis;
1029
+ white-space: nowrap;
1030
+ overflow: hidden;
1031
+ }
1032
+ .layout_Toolbar .toolbar-title span {
1033
+ }
1034
+ .layout_Toolbar .toolbar-child {
1035
+ position: relative;
1036
+ top: 50%;
1037
+ transform: translateY(-50%);
1038
+ -ms-transform: translateY(-50%);
1039
+
1040
+ float:right;
1041
+ margin-left:4px;
1042
+ margin-right:4px;
1043
+ line-height:16px;
1044
+ }
1045
+ `,document.head.appendChild(i)}})();var Mt=class extends by{static{c(this,"M")}static{B(this,"Toolbar")}constructor(){super(),this._tag="div"}enter(i,o){super.enter(i,o)}update(i,o){super.update(i,o);let l=this;o.attr("title",l.title()).style("background-color",this.backgroundColor());let s=o.selectAll("div.toolbar-title").data(this.title()?[this.title()]:[]);s.enter().append("div").classed("toolbar-title",!0).append("span"),s.selectAll("div.toolbar-title > span").style("font-size",this.fontSize_exists()?this.fontSize()+"px":null).style("color",this.fontColor_exists()?this.fontColor():null).style("font-family",this.fontFamily_exists()?this.fontFamily():null).style("font-weight",this.fontBold_exists()?this.fontBold()?"bold":"normal":null).style("background-color",this.backgroundColor_exists()?this.backgroundColor():null).text(l.title()),s.exit().remove();let h=o.selectAll("div.toolbar-child").data(this.widgets()!==null?this.widgets():[],function(p){return p.id()});h.enter().insert("div","div.toolbar-title").each(function(p,f){let m=l.widgetClasses()[f]?l.widgetClasses()[f]+" toolbar-child":"toolbar-child";vy(this).classed(m,!0),p.target(this)}),h.exit().each(function(p){p.target(null)}).remove(),h.order()}render(i){let o=this;return super.render(function(l){let s=o.element().node().getBoundingClientRect(),h=s.left+s.width;o.element().selectAll("div.toolbar-child").each(function(p,f){let m=this.getBoundingClientRect();h>m.left&&(h=m.left)}),o.element().select(".toolbar-title").style("width",h-s.left-4+"px"),i&&i(l)})}exit(i,o){this.widgets().forEach(function(l){l.target(null)}),super.exit(i,o)}};Mt.prototype._class+=" layout_Toolbar";Mt.prototype.publish("title","","string","Title",null,{tags:["Intermediate"]});Mt.prototype.publish("fontSize",null,"number","Title Font Size (px)",null,{tags:["Advanced"],optional:!0});Mt.prototype.publish("fontColor",null,"html-color","Title Font Color",null,{tags:["Advanced"],optional:!0});Mt.prototype.publish("fontFamily",null,"string","Title Font Family",null,{tags:["Advanced"],optional:!0});Mt.prototype.publish("fontBold",!0,"boolean","Enable Bold Title Font",null,{tags:["Advanced"],optional:!0});Mt.prototype.publish("backgroundColor",null,"html-color","Background Color",null,{tags:["Intermediate"],optional:!0});Mt.prototype.publish("responsive",!0,"boolean","Adapts to pixel width",null,{tags:["Basic"]});Mt.prototype.publish("widgets",[],"widgetArray","Child widgets of the toolbar",null,{tags:["Basic"]});Mt.prototype.publish("widgetClasses",[],"array","Array of Html Element classes to be assigned to the child widgets (shares index with widgets param)",null,{tags:["Basic"]});var wy=class extends rt{static{c(this,"Ot")}static{B(this,"VerticalList")}constructor(){super(),this.orientation_default("vertical"),this.flexWrap_default("nowrap")}};wy.prototype._class+=" layout_VerticalList";import{IGraph as wp,INDChart as _p}from"@hpcc-js/api";import{HTMLWidget as wl,Utility as xp}from"@hpcc-js/common";import{map as Cy}from"@hpcc-js/common";var vp={};lh(vp,{requireWidget:()=>io,requireWidgets:()=>xy});import{Utility as _y}from"@hpcc-js/common";function io(i){return new Promise(function(o,l){let s=_y.parseClassID(i);xd&&xd([s.package],function(h){let p=null;h&&h[s.widgetID]&&(p=h[s.widgetID]),o(s.memberWidgetID?p.prototype?p.prototype[s.memberWidgetID]:p[s.memberWidgetID]:p)})})}c(io,"requireWidget");function xy(i){return Promise.all(i.map(io))}c(xy,"requireWidgets");var _e=class extends wl{static{c(this,"MultiChart")}_allCharts={};_chartTypeDefaults;_chartTypeProperties;_chartMonitor;_switchingTo;constructor(){super(),_p.call(this),wp.call(this),this._tag="div",this._allCharts={},this._allChartTypes.forEach(function(o){let l=JSON.parse(JSON.stringify(o));l.widget=null,this._allCharts[o.id]=l,this._allCharts[o.display]=l,this._allCharts[o.widgetClass]=l},this),this._chartTypeDefaults={},this._chartTypeProperties={}}fields(o){let l=super.fields.apply(this,arguments);if(this.chart()){if(!arguments.length)return this.chart().fields();this.chart().fields(o)}return l}columns(o,l){let s=wl.prototype.columns.apply(this,arguments);if(this.chart()){if(!arguments.length)return this.chart().columns();this.chart().columns(o,l)}return s}data(o){let l=wl.prototype.data.apply(this,arguments);if(this.chart()){if(!arguments.length)return this.chart().data();this.chart().data(o)}return l}hasOverlay(){return this.chart()&&this.chart().hasOverlay()}visible(o){return arguments.length?(this.chart()&&this.chart().visible(o),this):this.chart()&&this.chart().visible()}chartTypeDefaults(o){return arguments.length?(this._chartTypeDefaults=o,this):this._chartTypeDefaults}chartTypeProperties(o){return arguments.length?(this._chartTypeProperties=o,this):this._chartTypeProperties}getChartDataFamily(){return this._allCharts[this.chartType()].family}requireContent(o,l){let s=xp.parseClassID(this._allCharts[o].widgetClass);switch(s.package){case"@hpcc-js/chart":import("@hpcc-js/chart").then(h=>{l(new h[s.widgetID])});break;case"@hpcc-js/dgrid":import("@hpcc-js/dgrid").then(h=>{l(new h[s.widgetID])});break;default:io(this._allCharts[o].widgetClass).then(function(h){l(new h)})}}switchChart(o){if(this._switchingTo===this.chartType()){o&&o(this);return}else this._switchingTo&&console.warn("Attempting switch to: "+this.chartType()+", before previous switch is complete ("+this._switchingTo+")");this._switchingTo=this.chartType();let l=this.chart(),s=this;this.requireContent(this.chartType(),function(h){if(h!==l){let p=s.size();h.fields(s.fields()).data(s.data()).size(p),s.chart(h),l&&l.size({width:1,height:1}).render()}delete s._switchingTo,o&&o(this)})}update(o,l){super.update(o,l);let s=l.selectAll(".multiChart").data(this.chart()?[this.chart()]:[],function(f){return f._id});s.enter().append("div").attr("class","multiChart").each(function(f){f.target(this)});let h=this.chart();if(h){for(let f in this._chartTypeDefaults)if(h[f+"_default"])try{h[f+"_default"](this._chartTypeDefaults[f])}catch{console.warn("Exception Setting Default: "+f)}else console.warn("Unknown Default: "+f);this._chartTypeDefaults={};for(let f in this._chartTypeProperties)if(h[f])try{h[f](this._chartTypeProperties[f])}catch{console.warn("Exception Setting Property: "+f)}else console.warn("Unknown Property: "+f);this._chartTypeProperties={}}let p=this;s.each(function(f){f.resize(p.size())}),s.exit().transition().each(function(f){f.target(null)}).remove()}exit(o,l){this._chartMonitor&&(this._chartMonitor.remove(),delete this._chartMonitor),this.chart()&&this.chart().target(null),super.exit(o,l)}render(o){if(this.chartType()&&(!this.chart()||this.chart().classID()!==this._allCharts[this.chartType()].widgetClass)){let l=this,s=arguments;return this.switchChart(function(){wl.prototype.render.apply(l,s)}),this}return wl.prototype.render.apply(this,arguments)}};_e.prototype._class+=" composite_MultiChart";_e.prototype.implements(_p.prototype);_e.prototype.implements(wp.prototype);_e.prototype._otherChartTypes=[{id:"FORM",display:"Form",widgetClass:"form_FieldForm"}].map(function(i){return i.family="other",i});_e.prototype._graphChartTypes=[{id:"GRAPH",display:"Graph",widgetClass:"graph_Graph"},{id:"ADJACENCY_GRAPH",display:"Graph",widgetClass:"graph_AdjacencyGraph"},{id:"GRAPHC",display:"GraphC",widgetClass:"graph_GraphC"}].map(function(i){return i.family="GRAPH",i});_e.prototype._1DChartTypes=[].map(function(i){return i.family="1D",i});_e.prototype._2DChartTypes=[{id:"SUMMARY",display:"Summary",widgetClass:"chart_Summary"},{id:"BUBBLE",display:"Bubble",widgetClass:"chart_Bubble"},{id:"PIE",display:"Pie",widgetClass:"chart_Pie"},{id:"WORD_CLOUD",display:"Word Cloud",widgetClass:"other_WordCloud"}].map(function(i){return i.family="2D",i});_e.prototype._NDChartTypes=[{id:"COLUMN",display:"Column",widgetClass:"chart_Column"},{id:"BAR",display:"Bar",widgetClass:"chart_Bar"},{id:"LINE",display:"Line",widgetClass:"chart_Line"},{id:"AREA",display:"Area",widgetClass:"chart_Area"},{id:"STEP",display:"Step",widgetClass:"chart_Step"},{id:"SCATTER",display:"Scatter",widgetClass:"chart_Scatter"},{id:"HEXBIN",display:"Hex Bin",widgetClass:"chart_HexBin"}].map(function(i){return i.family="ND",i});_e.prototype._mapChartTypes=[{id:"CHORO_USSTATES",display:"US State Choropleth",widgetClass:"map_ChoroplethStates"},{id:"CHORO_USCOUNTIES",display:"US County Choropleth",widgetClass:"map_ChoroplethCounties"},{id:"CHORO_COUNTRIES",display:"Country Choropleth",widgetClass:"map_ChoroplethCountries"},{id:"GMAP_CHORO_USCOUNTIES",display:"Google Map US County Choropleth",widgetClass:"map_GMapCounties"},{id:"GOOGLE_MAP",display:"Google Map",widgetClass:"map_GMapLayered"},{id:"OPENSTREET",display:"Open Street Map",widgetClass:"map_OpenStreet"}].map(function(i){return i.family="map",i});_e.prototype._anyChartTypes=[{id:"TABLE",display:"Table",widgetClass:"dgrid_Table"},{id:"TABLE_LEGACY",display:"Table (legacy)",widgetClass:"other_Table"},{id:"TABLE_NESTED",display:"Nested Table",widgetClass:"other_NestedTable"},{id:"TABLE_CALENDAR",display:"Table driven Calendar Heat Map",widgetClass:"other_CalendarHeatMap"},{id:"TABLE_BULLET",display:"Table driven bullet chart",widgetClass:"chart_Bullet"},{id:"TABLE_SELECT",display:"Table driven select",widgetClass:"other_Select"},{id:"TABLE_AUTOCOMPLETE",display:"Table driven auto complete",widgetClass:"other_AutoCompleteText"},{id:"TABLE_OPPORTUNITY",display:"Table driven opportunity widget",widgetClass:"graph_Opportunity"},{id:"TABLE_TREE",display:"Table driven tree",widgetClass:"tree_Dendrogram"},{id:"TABLE_TREEMAP",display:"Table driven Treemap",widgetClass:"tree_Treemap"},{id:"TABLE_SANKEY",display:"Table driven Sankey",widgetClass:"graph_Sankey"},{id:"TABLE_GMAP_PIN",display:"Table driven Google Map (pins)",widgetClass:"map_GMapPin"},{id:"TABLE_GMAP_PINLINE",display:"Table driven Google Map (pins/lines)",widgetClass:"map_GMapPinLine"},{id:"TABLE_XML_TREE",display:"Table driven XML Tree",widgetClass:"tree_Indented"}].map(function(i){return i.family="any",i});_e.prototype._allChartTypes=_e.prototype._otherChartTypes.concat(_e.prototype._graphChartTypes.concat(_e.prototype._1DChartTypes.concat(_e.prototype._2DChartTypes.concat(_e.prototype._NDChartTypes.concat(_e.prototype._mapChartTypes.concat(_e.prototype._anyChartTypes))))));_e.prototype._allMap=Cy(_e.prototype._allChartTypes,function(i){return i.family});_e.prototype._allFamilies=_e.prototype._allMap.keys();_e.prototype._allChartTypesMap={};_e.prototype._allChartTypesByClass={};_e.prototype._allChartTypes.forEach(function(i){i.widgetPath=xp.widgetPath(i.widgetClass),_e.prototype._allChartTypesMap[i.id]=i,_e.prototype._allChartTypesByClass[i.widgetClass]=i});_e.prototype.publishReset();_e.prototype.publish("hideRowOnLegendClick",!1,"boolean","Enable/Disable hiding row on legend clicks",null,{tags:["Basic"]});_e.prototype.publish("chartType","BUBBLE","set","Chart Type",_e.prototype._allChartTypes.map(function(i){return i.id}),{tags:["Basic"]});_e.prototype.publish("chart",null,"widget","Chart",null,{tags:["Basic"]});var Sy=_e.prototype.chart;_e.prototype.chart=function(i){let o=Sy.apply(this,arguments);if(arguments.length){let l=this;this._allChartTypesByClass[i.classID()]?this.chartType(this._allChartTypesByClass[i.classID()].id):console.warn("Unknown Class ID: "+i.classID()),i.click=function(s,h,p){l.click.apply(l,arguments)},i.dblclick=function(s,h,p){l.dblclick.apply(l,arguments)},i.vertex_click=function(s,h,p,f){l.vertex_click.apply(l,arguments)},i.vertex_dblclick=function(s,h,p,f){l.vertex_dblclick.apply(l,arguments)},i.edge_click=function(s,h,p,f){l.edge_click.apply(l,arguments)},i.edge_dblclick=function(s,h,p,f){l.edge_dblclick.apply(l,arguments)},this._chartMonitor&&(this._chartMonitor.remove(),delete this._chartMonitor),this._chartMonitor=i.monitor(function(s,h,p){l.broadcast(s,h,p,i)})}return o};(function(){if(!document.getElementById("34d5dd28")){var i=document.createElement("style");i.id="34d5dd28",i.textContent=`.composite_ChartPanel > .body {
1046
+ margin: 0;
1047
+ padding: 0;
1048
+ display: flex;
1049
+ flex-flow: row;
1050
+ }
1051
+
1052
+ .composite_ChartPanel > .body > article {
1053
+ flex: 3 1 60%;
1054
+ order: 2;
1055
+ }
1056
+
1057
+ .composite_ChartPanel > .body > nav {
1058
+ flex: 1 6 20%;
1059
+ order: 1;
1060
+ }
1061
+
1062
+ .composite_ChartPanel > .body > aside {
1063
+ margin-left: 4px;
1064
+ flex: 1 6 20%;
1065
+ order: 3;
1066
+ }
1067
+
1068
+ header, footer {
1069
+ display: block;
1070
+ }
1071
+ `,document.head.appendChild(i)}})();var qd=class extends ky{static{c(this,"Summary")}constructor(){super()}enter(o,l){super.enter(o,l),l.append("p")}update(o,l){super.update(o,l),l.select("p").text(this.text())}};qd.prototype.publish("text","","string");var Qd=class extends xe{static{c(this,"MultiChartPanel")}constructor(){super(),this.widget(new _e().chartType("COLUMN"))}multiChart(){return this._widget}chartType(o){return arguments.length?(this._widget.chartType(o),this):this._widget.chartType()}chart(o){return arguments.length?(this._widget.chart(o),this):this._widget.chart()}chartTypeDefaults(o){return arguments.length?(this._widget.chartTypeDefaults(o),this):this._widget.chartTypeDefaults()}chartTypeProperties(o){return arguments.length?(this._widget.chartTypeProperties(o),this):this._widget.chartTypeProperties()}update(o,l){super.update(o,l),this._widget instanceof _e&&this._legend.dataFamily(this._widget.getChartDataFamily()),super.update(o,l)}};Qd.prototype._class+=" composite_MultiChartPanel";import{OnOff as Ty}from"@hpcc-js/form";import{PropertyEditor as Py}from"@hpcc-js/other";(function(){if(!document.getElementById("e6188c82")){var i=document.createElement("style");i.id="e6188c82",i.textContent=`\uFEFF.composite_Dermatology {
1072
+ background-color: ghostwhite;
1073
+ }
1074
+
1075
+ .composite_Dermatology .common_Icon {
1076
+ background-color: red;
1077
+ opacity:0.75;
1078
+ }
1079
+
1080
+ .composite_Dermatology .common_Icon .common_Shape {
1081
+ fill: white;
1082
+ stroke: darkgray;
1083
+ cursor:pointer;
1084
+ }
1085
+
1086
+ .composite_Dermatology .common_Icon.show .common_Shape {
1087
+ fill: lightgray;
1088
+ }
1089
+
1090
+ .composite_Dermatology .common_Icon .common_FAChar .common_Text {
1091
+ fill: darkgray;
1092
+ cursor:pointer;
1093
+ }
1094
+
1095
+ .composite_Dermatology .other_PropertyEditor {
1096
+ font-family: sans-serif;
1097
+ font-size: 11px;
1098
+ }
1099
+
1100
+ .composite_Dermatology .other_PropertyEditor input {
1101
+ font-family: sans-serif;
1102
+ font-size: 11px;
1103
+ border:0px;
1104
+ }
1105
+
1106
+ .composite_Dermatology .other_PropertyEditor .property-label {
1107
+ height:unset;
1108
+ }
1109
+ `,document.head.appendChild(i)}})();var _l=class extends Xe{static{c(this,"Dermatology")}_toolbar;_propEditor;_showProperties;_propsButton;_prevWidget;constructor(){super(),this._toolbar=new Mt().title("Dermatology"),this._propEditor=new Py().show_settings(!0)}showProperties(o){if(!arguments.length)return this._showProperties;this._showProperties=o,this.rightPercentage(0).rightSize(this._showProperties?360:0).setContent("right",this._showProperties?this._propEditor:null);let l=this.widget();return l&&l.designMode&&l.designMode(this._showProperties),this}toggleProperties(){return this.showProperties(!this.showProperties())}enter(o,l){super.enter(o,l),this.topPercentage(0).topSize(0).setContent("top",this._toolbar),this.getCell("top").surfaceShadow(!0);let s=this;this._propsButton=new Ty().id(this.id()+"_props").value("Properties").on("click",function(){s.toggleProperties().render()}),this._toolbar.widgets([this._propsButton])}update(o,l){this.topPercentage(0).topSize(this.showToolbar()?32:0),super.update(o,l);let s=this.widget();l.style("background-color",s&&s.surfaceShadow?null:"white")}render(o){let l=this.widget();return l!==this._prevWidget&&(l&&l.surfaceShadow&&l.surfaceBackgroundColor_default("white"),this.setContent("center",l),this._propEditor.widget(l),this._prevWidget=l),super.render(o)}showToolbar;showToolbar_exists;widget;widget_exists};_l.prototype._class+=" composite_Dermatology";_l.prototype.publish("showToolbar",!0,"boolean","Show Toolbar");_l.prototype.publish("widget",null,"widget","Widget");import{Text as Cp,Utility as zy}from"@hpcc-js/common";import{Button as Zd,Input as Iy,Select as Ey}from"@hpcc-js/form";import{Html as Ry,Legend as Sp}from"@hpcc-js/other";import{select as ns}from"@hpcc-js/common";import"@hpcc-js/common";(function(){if(!document.getElementById("e075cdb6")){var i=document.createElement("style");i.id="e075cdb6",i.textContent=`.composite_MegaChart-Info,
1110
+ .composite_MegaChart-Info *,
1111
+ .composite_MegaChart-Maximize,
1112
+ .composite_MegaChart-Maximize *{
1113
+ font-family: FontAwesome;
1114
+ }`,document.head.appendChild(i)}})();var Ee=class extends Xe{static{c(this,"MegaChart")}_chart=new _e;_toolbar=new Mt;_valueTitle=new Cp;_domainTitle=new Cp;_legend=new Sp;_csvButton;_infoButton;_maximizeButton;_legendButton;_chartTypeSelect;_prevLegendPosition;_prevShowToolbar;_1DChartTypes;_2DChartTypes;_NDChartTypes;_anyChartTypes;_allChartTypes;_contentClasses;_dataCount;constructor(){super(),this._tag="div";let o=this;this._chart.click=function(){o.click.apply(o,arguments)},this._chart.dblclick=function(){o.dblclick.apply(o,arguments)},this._chart.vertex_click=function(){o.vertex_click.apply(o,arguments)},this._chart.vertex_dblclick=function(){o.vertex_dblclick.apply(o,arguments)},this._chart.edge_click=function(){o.edge_click.apply(o,arguments)},this._chart.edge_dblclick=function(){o.edge_dblclick.apply(o,arguments)}}toolbarWidgets(o){return arguments.length?(this._toolbar.widgets(o),this):this._toolbar.widgets()}chartTypeDefaults(o){return arguments.length?(this._chart.chartTypeDefaults(o),this):this._chart.chartTypeDefaults()}chartTypeProperties(o){return arguments.length?(this._chart.chartTypeProperties(o),this):this._chart.chartTypeProperties()}fields(o){return arguments.length?(this._chart.fields(o),this):this._chart.fields()}columns(o,l){return arguments.length?(this._chart.columns(o,l),this):this._chart.columns()}data(o){return arguments.length?(this._chart.data(o),this):this._chart.data()}downloadCSV(){return zy.downloadString("CSV",this._chart.export("CSV")),this}enter(o,l){super.enter(o,l);let s=this;this.topShrinkWrap(!1).topPercentage(0).topSize(30),this._dataCount=new Ry().classed({"composite_MegaChart-dataCount":!0}).id(this.id()+"_dataCount").html('<span class="MegaChart-dataCount-label">Count:</span>&nbsp;<span class="MegaChart-dataCount-value">'+(this.data()?this.data().length:"0")+"</span>").overflowX("visible").overflowY("visible"),this._csvButton=new Zd().classed({"composite_MegaChart-CSV":!0}).id(this.id()+"_csv").value("CSV"),this._csvButton.click=function(h){s.downloadCSV()},this._infoButton=new Zd().classed({"composite_MegaChart-Info":!0}).id(this.id()+"_info").value(this.infoIcon()),this._maximizeButton=new Zd().classed({"composite_MegaChart-Maximize":!0}).id(this.id()+"_maximize").value("\uF2D0"),this._maximizeButton.click=function(h){let p=s.target(),f=p,m=ns(p).classed("__hpccisMaximized"),b=s.locateAncestor("layout_Grid");b?f=b.element().node():f=document.body;let _=ns(s.target());if(m){let I=p.parentElement.getBoundingClientRect(),P=parseInt(getComputedStyle(p,null).getPropertyValue("padding-top").replace("px","")),z=parseInt(getComputedStyle(p,null).getPropertyValue("padding-left").replace("px","")),R=parseInt(getComputedStyle(p,null).getPropertyValue("padding-right").replace("px","")),M=parseInt(getComputedStyle(p,null).getPropertyValue("padding-bottom").replace("px",""));s.contentDiv.style("opacity",0).transition(100),_.transition().style("top",I.top+"px").style("left",I.left+"px").style("width",I.width-z-R+"px").style("height",I.height-P-M+"px").each("end",function(){_.style("position",p.__old_position),_.style("z-index",p.__old_zindex),_.style("background-color",p.__old_backgroundColor),_.style("box-shadow",p.__old_boxshadow),s.resize({width:I.width-z-R,height:I.height-P-M}).render(function(){s.contentDiv.transition().style("opacity",1)}),h.value("\uF2D0").render()})}else{p.__old_position=p.style.position,p.__old_zindex=p.style.zIndex,p.__old_boxshadow=p.style.boxShadow,p.__old_backgroundColor=s.element().style("background-color");let I=ns(f).datum(),P=I.target(),z=I?P.getBoundingClientRect():f.getBoundingClientRect(),R=parseInt(getComputedStyle(P,null).getPropertyValue("padding-top").replace("px","")),M=parseInt(getComputedStyle(P,null).getPropertyValue("padding-left").replace("px","")),N=parseInt(getComputedStyle(P,null).getPropertyValue("padding-right").replace("px","")),F=parseInt(getComputedStyle(P,null).getPropertyValue("padding-bottom").replace("px",""));s.contentDiv.style("opacity",0).transition(100),_.style("position","fixed").style("z-index",999999).style("box-shadow","0 8px 8px 0 rgba(0,0,0,.14),0 12px 4px -8px rgba(0,0,0,.2),0 4px 20px 0 rgba(0,0,0,.12)").style("background-color",p.__old_backgroundColor).transition().style("top",z.top+R+"px").style("left",z.left+M+"px").style("width",z.width-M-N+"px").style("height",z.height-R-F+"px").each("end",function(){_.style("background-color",s.maximizedBackgroundColor()),s.resize({width:z.width-M-N,height:z.height-R-F}).render(function(){s.contentDiv.transition().style("opacity",1)}),h.value("\uF2D1").render()})}ns(p).classed("__hpccisMaximized",!m)},this._legendButton=new Iy().classed({"composite_MegaChart-legend":!0}).id(this.id()+"_legend").type("checkbox").inlineLabel("Legend: "),this._legendButton.click=function(h){s.render()},this._chartTypeSelect=new Ey().classed({"composite_MegaChart-chartType":!0}).id(this.id()+"_chartType").selectOptions(this._allChartTypes.map(function(h){return[h.id,h.display]})).value(this.chartType()),this._chartTypeSelect.change=function(h){s.chartType(h.value()).render()},this.setContent("center",this._chart),this._legend.targetWidget(this._chart).orientation(["top","bottom"].indexOf(this.legendPosition())!==-1?"horizontal":"vertical").fixedSize(!0),this._prevLegendPosition=this.legendPosition(),this.valueAxisTitle()&&this.setContent("left",this._valueTitle.rotation(-90)).leftShrinkWrap(!0),this.domainAxisTitle()&&this.setContent("bottom",this._domainTitle).bottomShrinkWrap(!0),this.legendPosition()!=="none"&&this.setContent(this.legendPosition(),this._legend)[this.legendPosition()+"ShrinkWrap"](!0)}update(o,l){function s(f,m,b){if(b&&f.indexOf(m)===-1)f.push(m);else if(!b){let _=f.indexOf(m);_>=0&&f.splice(_,1)}}c(s,"showHideButton"),this._chart&&typeof this._chart.hideRowOnLegendClick=="function"&&this._chart.hideRowOnLegendClick(this.hideRowOnLegendClick()),this._dataCount.html('<span class="MegaChart-dataCount-label">Count:</span>&nbsp;<span class="MegaChart-dataCount-value">'+(this.data()?this.data().length:"0")+"</span>"),this._chartTypeSelect.value(this.chartType());let h=this.toolbarWidgets();s(h,this._csvButton,this.showCSV()),s(h,this._maximizeButton,this.showMaximize()),s(h,this._legendButton,this.toolbarShowLegend()),s(h,this._chartTypeSelect,this.showChartSelect()),s(h,this._infoButton,this.showInfoButton()),s(h,this._dataCount,this.showCount()),this.toolbarWidgets(h),this._prevShowToolbar!==this.showToolbar()&&(this.setContent("top",this.showToolbar()?this._toolbar:null),this._prevShowToolbar=this.showToolbar()),this._toolbar.fontSize(this.titleFontSize()).fontColor(this.titleFontColor()).fontFamily(this.titleFontFamily()).fontBold(this.titleFontBold()).backgroundColor(this.titleBackgroundColor()),this._chart.data(this.data()),this._chart.chartType()!==this.chartType()&&this._chart.chartType(this.chartType());let p=this.legendPosition();this.toolbarShowLegend()&&!this._legendButton.checked()&&(p="none"),this._prevLegendPosition!==p&&(this._prevLegendPosition!=="none"&&this.clearContent(this._prevLegendPosition),this._prevLegendPosition=p,p!=="none"&&(this._legend=new Sp().targetWidget(this.getContent("center").fixedSize(!0)),this.setContent(p,this._legend),this._legend.orientation(["top","bottom"].indexOf(p)!==-1?"horizontal":"vertical"))),this._contentClasses=this.getContentClasses(),this.valueAxisTitle()&&this._contentClasses.left!=="common_Text"&&p!=="left"&&this.setContent("left",this._valueTitle.rotation(-90)),this.domainAxisTitle()&&this._contentClasses.bottom!=="common_Text"&&p!=="bottom"&&this.setContent("bottom",this._domainTitle).bottomShrinkWrap(!0),this._legend.dataFamily(this._chart.getChartDataFamily()),super.update(o,l)}exit(o,l){super.exit(o,l)}getContentClasses(){let o={},l=this.getContent("top"),s=this.getContent("right"),h=this.getContent("bottom"),p=this.getContent("left");return o.top=l!==null?l.classID():void 0,o.right=s!==null?s.classID():void 0,o.bottom=h!==null?h.classID():void 0,o.left=p!==null?p.classID():void 0,o}serializeState(){let o={title:this.title(),data:this.data()},l=this.chart();return l&&l.serializeState&&(o.chart=l.serializeState(),delete o.chart.data),o}deserializeState(o){if(o){this.title(o.title).data(o.data);let l=this.chart();l&&o.chart&&l.serializeState&&l.deserializeState(o.chart)}return this}click(o,l,s){}dblclick(o,l,s){}vertex_click(o,l,s,h){h&&h.vertex}vertex_dblclick(o,l,s,h){h&&h.vertex}edge_click(o,l,s,h){h&&h.edge}edge_dblclick(o,l,s,h){h&&h.edge}hideRowOnLegendClick;hideRowOnLegendClick_exists;showToolbar;showToolbar_exists;titleFontSize;titleFontSize_exists;titleFontColor;titleFontColor_exists;titleFontFamily;titleFontFamily_exists;titleFontBold;titleFontBold_exists;titleBackgroundColor;titleBackgroundColor_exists;maximizedBackgroundColor;maximizedBackgroundColor_exists;showChartSelect;showChartSelect_exists;showCSV;showCSV_exists;showCount;showCount_exists;showMaximize;showMaximize_exists;toolbarShowLegend;toolbarShowLegend_exists;showInfoButton;showInfoButton_exists;infoIcon;infoIcon_exists;legendPosition;legendPosition_exists;title;title_exists;domainAxisTitle;domainAxisTitle_exists;valueAxisTitle;valueAxisTitle_exists;chartType;chartType_exists;chart;chart_exists};Ee.prototype._class+=" composite_MegaChart";Ee.prototype._1DChartTypes=_e.prototype._1DChartTypes;Ee.prototype._2DChartTypes=_e.prototype._2DChartTypes;Ee.prototype._NDChartTypes=_e.prototype._NDChartTypes;Ee.prototype._anyChartTypes=_e.prototype._anyChartTypes;Ee.prototype._allChartTypes=_e.prototype._allChartTypes;Ee.prototype.publishReset();Ee.prototype.publish("hideRowOnLegendClick",!1,"boolean","Enable/Disable hiding row on legend clicks",null,{tags:["Basic"]});Ee.prototype.publish("showToolbar",!0,"boolean","Enable/Disable Toolbar widget",null,{tags:["Basic"]});Ee.prototype.publishProxy("title","_toolbar","title");Ee.prototype.publish("ddlParamsFormat","","string","DDL Param Format '{fname}, {lname}'",null,{tags:["Advanced"],optional:!0});Ee.prototype.publish("titleFontSize",null,"number","Title Font Size (px)",null,{tags:["Advanced"],optional:!0});Ee.prototype.publish("titleFontColor",null,"html-color","Title Font Color",null,{tags:["Advanced"],optional:!0});Ee.prototype.publish("titleFontFamily",null,"string","Title Font Family",null,{tags:["Advanced"],optional:!0});Ee.prototype.publish("titleFontBold",!0,"boolean","Enable Bold Title Font",null,{tags:["Advanced"],optional:!0});Ee.prototype.publish("titleBackgroundColor",null,"html-color","Background Color",null,{tags:["Intermediate"],optional:!0});Ee.prototype.publish("maximizedBackgroundColor","#FFFFFF","html-color","Background Color while maximized",null,{tags:["Intermediate"],optional:!0});Ee.prototype.publish("showChartSelect",!0,"boolean","Show/Hide the chartType dropdown in the toolbar",null,{tags:["Basic"]});Ee.prototype.publish("showCSV",!0,"boolean","Show/Hide CSV button",null,{tags:["Basic"]});Ee.prototype.publish("showCount",!1,"boolean","Show/Hide Data Count",null,{tags:["Basic"]});Ee.prototype.publish("showMaximize",!1,"boolean","Show/Hide Maximize button",null,{tags:["Basic"]});Ee.prototype.publish("toolbarShowLegend",!1,"boolean","Show/Hide Legend button",null,{tags:["Basic"]});Ee.prototype.publish("showInfoButton",!1,"boolean","Show/Hide Info button in toolbar",null,{tags:["Basic"]});Ee.prototype.publish("infoIcon","\uF05A","string","Help Icon",null,{tags:["Basic"]});Ee.prototype.publish("legendPosition","none","set","Position of the Legend widget",["none","top","right","bottom","left"],{tags:["Basic"]});Ee.prototype.publishProxy("legendFormat","_legend","rainbowFormat");Ee.prototype.publishProxy("legendBins","_legend","rainbowBins");Ee.prototype.publishProxy("domainAxisTitle","_domainTitle","text");Ee.prototype.publishProxy("valueAxisTitle","_valueTitle","text");Ee.prototype.publishProxy("chartType","_chart","chartType");Ee.prototype.publishProxy("chart","_chart","chart");var zp={};lh(zp,{clone:()=>By,create:()=>os,deserialize:()=>Dy,deserializeFromObject:()=>Jd,retrofit_114_serialization:()=>Pp});import{Platform as My,Utility as kp}from"@hpcc-js/common";import{Persist as Tp}from"@hpcc-js/other";function Pp(i,o){if(o=!o||o==="1.14.2-dev"?"1.18.0":o,!i.__version)return i;let l=kp.parseVersionString(i.__version),s=kp.parseVersionString(o);if(l.major===1&&l.minor===14){console.info("Upgrading old persist from "+i.__version+" to "+o);let h=JSON.stringify(i);h=h.split('"'+i.__version).join('"'+o);let p=JSON.parse(h);return p.__properties&&p.__properties.content&&p.__properties.content.forEach(function(f){JSON.stringify(f).split("graph_Graph").length>1&&s.minor>=16&&(f.__properties.widget.__id=f.__properties.widget.__properties.widget.__id,f.__properties.widget.__class="composite_MegaChart",f.__properties.widget.__properties.showCSV=!1,f.__properties.widget.__properties.chartType="GRAPH",f.__properties.widget.__properties.chart=f.__properties.widget.__properties.widget,delete f.__properties.widget.__properties.chart.__id,delete f.__properties.widget.__properties.widget),typeof f.__properties.fields>"u"&&(f.__properties.fields=[])}),p}else return i}c(Pp,"retrofit_114_serialization");function Jd(i,o){let l=[];return Tp.widgetPropertyWalker(i,null,(s,h)=>{if(s[h.id+"_reset"](),o.__properties[h.id]!==void 0)switch(h.type){case"widget":let p=h.id;l.push(os(o.__properties[h.id]).then(b=>(b._owner=s,s[p](b),b)));break;case"widgetArray":case"propertyArray":let f=h.id,m=o.__properties[h.id];if(m.length){let b=[];for(let _ of m)b.push(os(_).then(I=>(I._owner=s,I)));l.push(Promise.all(b).then(_=>{s[f](_)}))}break;default:s[h.id](o.__properties[h.id]);break}}),Promise.all(l).then(s=>{if(o.__data){for(let h in o.__data)if(o.__data.HasOwnProperty(h))switch(h){case"data":i.data(o.__data[h]);break;default:console.warn("Unexpected __data item: "+h),i[h](o.__data[h]);break}}return o.__state&&(i.deserializeState?i.deserializeState(o.__state):o.__state.data&&i.data&&i.data(o.__state.data)),i})}c(Jd,"deserializeFromObject");function Dy(i,o){typeof o=="string"&&(o=JSON.parse(o)),o.__id&&o.__id.indexOf(i._idSeed)!==0&&i._id!==o.__id&&console.warn("Deserialize: IDs do not match - "+i._id),Jd(i,o)}c(Dy,"deserialize");function os(i){return typeof i=="string"&&(i=JSON.parse(i)),i=Pp(i,My.version()),io(i.__class).then(o=>{let l=new o;return i.__id&&i.__id.indexOf(l._idSeed)!==0&&i.__id.indexOf("_pe")!==0&&(l._id=i.__id),Jd(l,i)}).catch(function(o){console.error("Persist.create: ***exception***"),console.error(o)})}c(os,"create");function By(i){os(Tp.serializeToObject(i,void 0,!0,!0))}c(By,"clone");export{Oy as BUILD_VERSION,_l as Dermatology,Ee as MegaChart,_e as MultiChart,Qd as MultiChartPanel,Ly as PKG_NAME,Ay as PKG_VERSION,zp as Persist,vp as Utility};
1115
+ /*! Bundled license information:
1116
+
1117
+ react/cjs/react.production.min.js:
1118
+ (**
1119
+ * @license React
1120
+ * react.production.min.js
1121
+ *
1122
+ * Copyright (c) Facebook, Inc. and its affiliates.
1123
+ *
1124
+ * This source code is licensed under the MIT license found in the
1125
+ * LICENSE file in the root directory of this source tree.
1126
+ *)
1127
+
1128
+ scheduler/cjs/scheduler.production.min.js:
1129
+ (**
1130
+ * @license React
1131
+ * scheduler.production.min.js
1132
+ *
1133
+ * Copyright (c) Facebook, Inc. and its affiliates.
1134
+ *
1135
+ * This source code is licensed under the MIT license found in the
1136
+ * LICENSE file in the root directory of this source tree.
1137
+ *)
1138
+
1139
+ react-dom/cjs/react-dom.production.min.js:
1140
+ (**
1141
+ * @license React
1142
+ * react-dom.production.min.js
1143
+ *
1144
+ * Copyright (c) Facebook, Inc. and its affiliates.
1145
+ *
1146
+ * This source code is licensed under the MIT license found in the
1147
+ * LICENSE file in the root directory of this source tree.
1148
+ *)
1040
1149
 
1041
- var Persist = /*#__PURE__*/Object.freeze({
1042
- __proto__: null,
1043
- clone: clone,
1044
- create: create,
1045
- deserialize: deserialize,
1046
- deserializeFromObject: deserializeFromObject,
1047
- retrofit_114_serialization: retrofit_114_serialization
1048
- });
1049
-
1050
- exports.BUILD_VERSION = BUILD_VERSION;
1051
- exports.Dermatology = Dermatology;
1052
- exports.MegaChart = MegaChart;
1053
- exports.MultiChart = MultiChart;
1054
- exports.MultiChartPanel = MultiChartPanel;
1055
- exports.PKG_NAME = PKG_NAME;
1056
- exports.PKG_VERSION = PKG_VERSION;
1057
- exports.Persist = Persist;
1058
- exports.Utility = Utility;
1059
-
1060
- }));
1150
+ react/cjs/react-jsx-runtime.production.min.js:
1151
+ (**
1152
+ * @license React
1153
+ * react-jsx-runtime.production.min.js
1154
+ *
1155
+ * Copyright (c) Facebook, Inc. and its affiliates.
1156
+ *
1157
+ * This source code is licensed under the MIT license found in the
1158
+ * LICENSE file in the root directory of this source tree.
1159
+ *)
1160
+ */
1061
1161
  //# sourceMappingURL=index.js.map