@nebula.js/sn-table 6.0.13 → 6.0.14
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.
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-table v6.0.
|
|
2
|
+
* @nebula.js/sn-table v6.0.14
|
|
3
3
|
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
System.register(["@nebula.js/stardust","react","react-dom","picasso-plugin-q","picasso.js"],(function(e){"use strict";var t,r,n,o,i,a,s,l,u,c,d,p,f,h,m,g,b,v,y,x,S,C,E,w,R,A,P,k,I,M,L,D,T,_,O,q,N,z,j,F,H,$,B;return{setters:[function(e){t=e.useMemo,r=e.useOptions,n=e.usePromise,o=e.useState,i=e.useEffect,a=e.useTheme,s=e.useInteractionState,l=e.onContextMenu,u=e.onTakeSnapshot,c=e.useImperativeHandle,d=e.useElement,p=e.useStaleLayout,f=e.useApp,h=e.useModel,m=e.useTranslator,g=e.useSelections,b=e.useKeyboard,v=e.useRect,y=e.useEmbed},function(e){x=e.default,S=e,C=e.useContext,E=e.useState,w=e.useMemo,R=e.useEffect,A=e.createElement,P=e.isValidElement,k=e.cloneElement,I=e.Children,M=e.useReducer,L=e.createContext,D=e.useRef,T=e.useCallback,_=e.forwardRef,O=e.memo,q=e.useLayoutEffect,N=e.PureComponent,z=e.startTransition,j=e.useImperativeHandle},function(e){F=e.default,H=e},function(e){$=e.default},function(e){B=e.default}],execute:function(){function W(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function V(e){if("object"==typeof e&&W(e))return(e.r<<16)+(e.g<<8)+e.b;let t=0,r=0,n=0;if("string"==typeof e){let o;(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))?(t=parseInt(o[1],10),r=parseInt(o[2],10),n=parseInt(o[3],10)):(o=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))?(t=parseInt(o[1],16),r=parseInt(o[2],16),n=parseInt(o[3],16)):(o=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))&&(t=parseInt(o[1]+o[1],16),r=parseInt(o[2]+o[2],16),n=parseInt(o[3]+o[3],16))}return(t<<16)+(r<<8)+n}e("default",(function(e){return{qae:uj(),ext:aw(e),component(){const n=d(),o=oj(n),i=p(),a=f(),s=h(),u=dS(!!i.snapshotData),c=m(),x=g(),S=b(),C=r(),{freeResize:E}=C,w=v(),R=t((()=>i.snapshotData?.content&&!E?{...w,...i.snapshotData.content.size}:w),[w,E,i.snapshotData?.content]),A=gj(i),P=y(),k=Qx(i,n,bj,vj),I=e.flags.isEnabled("CLIENT_IM_7150_TABLE_RTL")?C.direction:"ltr",M=ij(i.qHyperCube,s),L=sw(i.qHyperCube,s),D=sS(k,i,e),T=vt(),_={app:a,layout:i,model:s,rect:R,theme:k,keyboard:S,translator:c,interactions:u,selectionsAPI:x,changeSortOrder:M,rootElement:n,embed:P,reactRoot:o,applyColumnWidths:L,isFontLoaded:D,downloadService:T,viewService:A,direction:I,env:e};l?.(((e,t)=>{const r=t.target,n=r?.closest(`.${bS}`);n?.title&&e.addItem({translation:"contextMenu.copyCellValue",icon:"lui-icon lui-icon--copy",tid:"copy-cell-context-item",id:"copy-cell-context-item",select:async()=>{PS(n)}})})),mj({layout:i,viewService:A,model:s,rootElement:n,contentRect:w}),sj(_),nj(_)}}}));const G={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function U(){const e={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:!1,spaces:{}};let t=0,r=0,n=0,o=1;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if(null!==(l=a[0])&&"object"==typeof l&&"type"in l&&"qcm-color"===l.type)({r:t,g:r,b:n,a:o}=a[0]),e.invalid=a[0].invalid,e.spaces={...a[0].spaces};else if(W(a[0]))({r:t,g:r,b:n}=a[0]),"a"in a[0]&&({a:o}=a[0]);else if(a.length<3)if("string"==typeof a[0]){const i=a[0];let s;if(s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))t=parseInt(s[1],10),r=parseInt(s[2],10),n=parseInt(s[3],10);else if(s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i))t=parseInt(s[1],10),r=parseInt(s[2],10),n=parseInt(s[3],10),o=parseFloat(s[4]);else if(s=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))o=parseInt(s[1],10)/255,t=parseInt(s[2],10),r=parseInt(s[3],10),n=parseInt(s[4],10);else if(s=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(i))t=parseInt(s[1],16),r=parseInt(s[2],16),n=parseInt(s[3],16),o=1;else if(s=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(i))t=parseInt(s[1]+s[1],16),r=parseInt(s[2]+s[2],16),n=parseInt(s[3]+s[3],16),o=1;else if(s=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(s[1]),i=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,i/=100,a/=100,e=e<0?0:e>360?360:e,i=i<0?0:i>1?1:i,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*i:(2-2*a)*i;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;t=d[0]+p,r=d[1]+p,n=d[2]+p,t=Math.round(255*t),r=Math.round(255*r),n=Math.round(255*n),o=1}else if(s=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i)){let e=parseFloat(s[1]),i=parseFloat(s[3]),a=parseFloat(s[5]);o=parseFloat(s[7]),e%=360,i/=100,a/=100,e=e<0?0:e>360?360:e,i=i<0?0:i>1?1:i,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*i:(2-2*a)*i;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;t=d[0]+p,r=d[1]+p,n=d[2]+p,t=Math.round(255*t),r=Math.round(255*r),n=Math.round(255*n)}else if(s=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(s[1]),i=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,i/=100,a/=100,e=e<0?0:e>360?360:e,i=i<0?0:i>1?1:i,a=a<0?0:a>1?1:a;const l=a*i;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-l;t=d[0]+p,r=d[1]+p,n=d[2]+p,t=Math.round(255*t),r=Math.round(255*r),n=Math.round(255*n),o=1}else{const a=i.toLowerCase();if(function(e){return e in G}(a)){const e=G[a];({r:t,g:r,b:n}=e),o="a"in e?e.a:1}else e.invalid=!0}}else"number"==typeof a[0]&&a[0]>=0&&"argb"===a[1]?(o=(4278190080&a[0])>>>24,o/=255,t=(16711680&a[0])>>16,r=(65280&a[0])>>8,n=255&a[0]):"number"==typeof a[0]&&a[0]>=0?(t=(16711680&a[0])>>16,r=(65280&a[0])>>8,n=255&a[0]):e.invalid=!0;else 3===a.length||4===a.length?(t=a[0],r=a[1],n=a[2],o=4===a.length?a[3]:1):e.invalid=!0;var l;return Number.isNaN(+t+r+n+o)&&(e.invalid=!0),e.r=Math.floor(t),e.g=Math.floor(r),e.b=Math.floor(n),e.a=o,e}function Y(e){let t,r,n=0;const o="string"==typeof e?U(e):e,i=o.r/255,a=o.g/255,s=o.b/255,{a:l}=o,u=Math.max(i,a,s),c=Math.min(i,a,s),d=(u+c)/2;if(u===c)t=0,n=0;else{switch(r=u-c,t=d>.5?r/(2-u-c):r/(u+c),u){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n,s:100*t,l:100*d,a:l}}function K(e){let t,r,n=0;const o="string"==typeof e?U(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=l;if(l===u)t=0,n=0;else{switch(r=l-u,t=0===r?0:r/c,l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n%360,s:100*t,v:100*c}}function X(e){if(W(e))return`rgb(${e.r}, ${e.g}, ${e.b})`;const t="string"==typeof e?V(e):e;return`rgb(${(16711680&t)>>16}, ${(65280&t)>>8}, ${255&t})`}function J(e,t){return W(e)?`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`:J(U(e))}function Z(e){return W(e)?1===e.a?X(e):J(e):Z(U(e))}const Q=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function ee(e){return.2126*Q(e.r)+.7152*Q(e.g)+.0722*Q(e.b)}function te(){const e=U(...arguments),t={type:e.type,r:e.r,g:e.g,b:e.b,a:e.a,invalid:e.invalid,spaces:e.spaces},r=()=>(t.spaces.hslaObject||(t.spaces.hslaObject=Y(t)),t.spaces.hslaObject),n=e=>{const t=r(),{h:n,s:o,l:i,a:a}=t;return`hsla(${n}, ${o}, ${Math.max(0,Math.min(i+e,100))}, ${a})`};return{get type(){return t.type},isInvalid:()=>t.invalid,get r(){return t.r},get g(){return t.g},get b(){return t.b},get a(){return t.a},getR:()=>t.r,getG:()=>t.g,getB:()=>t.b,getAlpha:()=>t.a,setAlpha:e=>{t.a=e,t.spaces={}},isEqualTo:e=>{let r;if("string"==typeof e)r=U(e);else{if(e.type!==t.type)return!1;r=e}return r.r===t.r&&r.g===t.g&&r.b===t.b&&r.a===t.a},isDark:()=>function(){const e=U(...arguments);return e.invalid||ee(e)<.4}(t),getRGB:()=>(t.spaces.rgb||(t.spaces.rgb=X(t)),t.spaces.rgb),getRGBA:()=>(t.spaces.rgba||(t.spaces.rgba=J(t)),t.spaces.rgba),getString:()=>(t.spaces.string||(t.spaces.string=Z(t)),t.spaces.string),getHex:()=>(t.spaces.hex||(t.spaces.hex=function(e){let t,r,n;if(W(e))return t=e.r.toString(16),r=e.g.toString(16),n=e.b.toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${[t,r,n].join("")}`;const o="string"==typeof e?V(e):e;return t=((16711680&o)>>16).toString(16),r=((65280&o)>>8).toString(16),n=(255&o).toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${t}${r}${n}`}(t)),t.spaces.hex),getHSL:()=>(t.spaces.hsl||(t.spaces.hsl=function(e){let t,r,n=0;const o="string"==typeof e?U(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=(l+u)/2;if(l===u)t=0,n=0;else{switch(r=l-u,t=c>.5?r/(2-l-u):r/(l+u),l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return`hsl(${360*n}, ${100*t}, ${100*c})`}(t)),t.spaces.hsl),getHSLA:()=>(t.spaces.hsla||(t.spaces.hsla=function(e){const{h:t,s:r,l:n,a:o}=Y(e);return`hsla(${t}, ${r}, ${n}, ${o})`}(t)),t.spaces.hsla),getHSLAObject:r,getShiftedHSLA:n,getHSV:()=>(t.spaces.hsv||(t.spaces.hsv=function(e){const{h:t,s:r,v:n}=K(e);return`hsv(${t}, ${r}, ${n})`}(t)),t.spaces.hsv),getHSVObject:()=>(t.spaces.hsvObject||(t.spaces.hsvObject=K(t)),t.spaces.hsvObject),blend:(e,r)=>`rgba(${Math.floor(t.r+(e.r-t.r)*r)}, ${Math.floor(t.g+(e.g-t.g)*r)}, ${Math.floor(t.b+(e.b-t.b)*r)}, ${Math.floor(t.a+(e.getAlpha()-t.a)*r)})`,getBrightenedColor:function(){return te(n(18*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)))},getDarkenedColor:function(){return te(n(18*-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)))}}}function re(e,t){if(!e||!t)return;const r=ee(e),n=ee(t);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)}var ne,oe,ie=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],ae=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];function se(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?ae:ie}var le=function(){if(oe)return ne;oe=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return ne=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},ne}();function ue(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function ce(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function de(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(le);var pe=1/.7,fe="\\s*([+-]?\\d+)\\s*",he="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ge=/^#([0-9a-f]{3,8})$/,be=new RegExp(`^rgb\\(${fe},${fe},${fe}\\)$`),ve=new RegExp(`^rgb\\(${me},${me},${me}\\)$`),ye=new RegExp(`^rgba\\(${fe},${fe},${fe},${he}\\)$`),xe=new RegExp(`^rgba\\(${me},${me},${me},${he}\\)$`),Se=new RegExp(`^hsl\\(${he},${me},${me}\\)$`),Ce=new RegExp(`^hsla\\(${he},${me},${me},${he}\\)$`),Ee={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function we(){return this.rgb().formatHex()}function Re(){return this.rgb().formatRgb()}function Ae(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=ge.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Pe(t):3===r?new Le(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ke(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ke(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=be.exec(e))?new Le(t[1],t[2],t[3],1):(t=ve.exec(e))?new Le(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ye.exec(e))?ke(t[1],t[2],t[3],t[4]):(t=xe.exec(e))?ke(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Se.exec(e))?Ne(t[1],t[2]/100,t[3]/100,1):(t=Ce.exec(e))?Ne(t[1],t[2]/100,t[3]/100,t[4]):Ee.hasOwnProperty(e)?Pe(Ee[e]):"transparent"===e?new Le(NaN,NaN,NaN,0):null}function Pe(e){return new Le(e>>16&255,e>>8&255,255&e,1)}function ke(e,t,r,n){return n<=0&&(e=t=r=NaN),new Le(e,t,r,n)}function Ie(e){return e instanceof de||(e=Ae(e)),e?new Le((e=e.rgb()).r,e.g,e.b,e.opacity):new Le}function Me(e,t,r,n){return 1===arguments.length?Ie(e):new Le(e,t,r,null==n?1:n)}function Le(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function De(){return`#${qe(this.r)}${qe(this.g)}${qe(this.b)}`}function Te(){const e=_e(this.opacity);return`${1===e?"rgb(":"rgba("}${Oe(this.r)}, ${Oe(this.g)}, ${Oe(this.b)}${1===e?")":`, ${e})`}`}function _e(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Oe(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function qe(e){return((e=Oe(e))<16?"0":"")+e.toString(16)}function Ne(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new je(e,t,r,n)}function ze(e){if(e instanceof je)return new je(e.h,e.s,e.l,e.opacity);if(e instanceof de||(e=Ae(e)),!e)return new je;if(e instanceof je)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new je(a,s,l,e.opacity)}function je(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Fe(e){return(e=(e||0)%360)<0?e+360:e}function He(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}ue(de,Ae,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:we,formatHex:we,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ze(this).formatHsl()},formatRgb:Re,toString:Re}),ue(Le,Me,ce(de,{brighter(e){return e=null==e?pe:Math.pow(pe,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Le(Oe(this.r),Oe(this.g),Oe(this.b),_e(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:De,formatHex:De,formatHex8:function(){return`#${qe(this.r)}${qe(this.g)}${qe(this.b)}${qe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Te,toString:Te})),ue(je,(function(e,t,r,n){return 1===arguments.length?ze(e):new je(e,t,r,null==n?1:n)}),ce(de,{brighter(e){return e=null==e?pe:Math.pow(pe,e),new je(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new je(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new Le($e(e>=240?e-240:e+120,o,n),$e(e,o,n),$e(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new je(Fe(this.h),He(this.s),He(this.l),_e(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=_e(this.opacity);return`${1===e?"hsl(":"hsla("}${Fe(this.h)}, ${100*He(this.s)}%, ${100*He(this.l)}%${1===e?")":`, ${e})`}`}}));const Be=Math.PI/180,We=180/Math.PI,Ve=4/29,Ge=6/29,Ue=3*Ge*Ge;function Ye(e){if(e instanceof Ke)return new Ke(e.l,e.a,e.b,e.opacity);if(e instanceof et)return tt(e);e instanceof Le||(e=Ie(e));var t,r,n=Qe(e.r),o=Qe(e.g),i=Qe(e.b),a=Xe((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=Xe((.4360747*n+.3850649*o+.1430804*i)/.96422),r=Xe((.0139322*n+.0971045*o+.7141733*i)/.82521)),new Ke(116*a-16,500*(t-a),200*(a-r),e.opacity)}function Ke(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function Xe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Ue+Ve}function Je(e){return e>Ge?e*e*e:Ue*(e-Ve)}function Ze(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Qe(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function et(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function tt(e){if(isNaN(e.h))return new Ke(e.l,0,0,e.opacity);var t=e.h*Be;return new Ke(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ue(Ke,(function(e,t,r,n){return 1===arguments.length?Ye(e):new Ke(e,t,r,null==n?1:n)}),ce(de,{brighter(e){return new Ke(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Ke(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new Le(Ze(3.1338561*(t=.96422*Je(t))-1.6168667*(e=1*Je(e))-.4906146*(r=.82521*Je(r))),Ze(-.9787684*t+1.9161415*e+.033454*r),Ze(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),ue(et,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof et)return new et(e.h,e.c,e.l,e.opacity);if(e instanceof Ke||(e=Ye(e)),0===e.a&&0===e.b)return new et(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*We;return new et(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new et(e,t,r,null==n?1:n)}),ce(de,{brighter(e){return new et(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new et(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return tt(this).rgb()}}));var rt=e=>()=>e;function nt(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):rt(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?nt:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):rt(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=Me(e)).r,(t=Me(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=nt(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var ot,it="center",at="bottom";function st(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=function(){var e={};return{get:function(t){return e[t]},set:function(t,r){return e[t]=r,r},has:function(t){return t in e},remove:function(t){delete e[t]},empty:function(){e={}}}}();return function(n){var o=t(n);return r.has(o)?r.get(o):r.set(o,e(n))}}function lt(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function ut(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=dt)):void 0===t&&(t=ct);for(var r,n,o,i,a,s=new ht(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new ht(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(ft)}function ct(e){return e.children}function dt(e){return Array.isArray(e)?e[1]:null}function pt(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function ft(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ht(e){this.data=e,this.depth=this.height=0,this.parent=null}[{key:"NoDataExist",alignment:it,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:it,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:it,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:it},{key:"DataRangeIncludingZero",alignment:at},{key:"LimitedData",alignment:at},{key:"NegativeOrZeroValues",alignment:at}].reduce((function(e,t){return e[t.key]=t,e}),{}),ht.prototype=ut.prototype={constructor:ht,count:function(){return this.eachAfter(lt)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return ut(this).eachBefore(pt)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},ot=function(e){
|
|
7
|
+
System.register(["@nebula.js/stardust","react","react-dom","picasso-plugin-q","picasso.js"],(function(e){"use strict";var t,r,n,o,i,a,s,l,u,c,d,p,f,h,m,g,b,v,y,x,S,C,w,E,R,A,P,k,I,M,L,D,T,_,O,q,N,j,z,F,H,$,B;return{setters:[function(e){t=e.useMemo,r=e.useOptions,n=e.usePromise,o=e.useState,i=e.useEffect,a=e.useTheme,s=e.useInteractionState,l=e.onContextMenu,u=e.onTakeSnapshot,c=e.useImperativeHandle,d=e.useElement,p=e.useStaleLayout,f=e.useApp,h=e.useModel,m=e.useTranslator,g=e.useSelections,b=e.useKeyboard,v=e.useRect,y=e.useEmbed},function(e){x=e.default,S=e,C=e.useContext,w=e.useState,E=e.useMemo,R=e.useEffect,A=e.createElement,P=e.isValidElement,k=e.cloneElement,I=e.Children,M=e.useReducer,L=e.createContext,D=e.useRef,T=e.useCallback,_=e.forwardRef,O=e.memo,q=e.useLayoutEffect,N=e.PureComponent,j=e.startTransition,z=e.useImperativeHandle},function(e){F=e.default,H=e},function(e){$=e.default},function(e){B=e.default}],execute:function(){function W(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function V(e){if("object"==typeof e&&W(e))return(e.r<<16)+(e.g<<8)+e.b;let t=0,r=0,n=0;if("string"==typeof e){let o;(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))?(t=parseInt(o[1],10),r=parseInt(o[2],10),n=parseInt(o[3],10)):(o=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))?(t=parseInt(o[1],16),r=parseInt(o[2],16),n=parseInt(o[3],16)):(o=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))&&(t=parseInt(o[1]+o[1],16),r=parseInt(o[2]+o[2],16),n=parseInt(o[3]+o[3],16))}return(t<<16)+(r<<8)+n}e("default",(function(e){return{qae:cz(),ext:aE(e),component(){const n=d(),o=iz(n),i=p(),a=f(),s=h(),u=dS(!!i.snapshotData),c=m(),x=g(),S=b(),C=r(),{freeResize:w}=C,E=v(),R=t((()=>i.snapshotData?.content&&!w?{...E,...i.snapshotData.content.size}:E),[E,w,i.snapshotData?.content]),A=bz(i),P=y(),k=Qx(i,n,vz,yz),I=e.flags.isEnabled("CLIENT_IM_7150_TABLE_RTL")?C.direction:"ltr",M=az(i.qHyperCube,s),L=sE(i.qHyperCube,s),D=sS(k,i,e),T=vt(),_={app:a,layout:i,model:s,rect:R,theme:k,keyboard:S,translator:c,interactions:u,selectionsAPI:x,changeSortOrder:M,rootElement:n,embed:P,reactRoot:o,applyColumnWidths:L,isFontLoaded:D,downloadService:T,viewService:A,direction:I,env:e};l?.(((e,t)=>{const r=t.target,n=r?.closest(`.${bS}`);n?.title&&e.addItem({translation:"contextMenu.copyCellValue",icon:"lui-icon lui-icon--copy",tid:"copy-cell-context-item",id:"copy-cell-context-item",select:async()=>{PS(n)}})})),gz({layout:i,viewService:A,model:s,rootElement:n,contentRect:E}),lz(_),oz(_)}}}));const G={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function U(){const e={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:!1,spaces:{}};let t=0,r=0,n=0,o=1;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if(null!==(l=a[0])&&"object"==typeof l&&"type"in l&&"qcm-color"===l.type)({r:t,g:r,b:n,a:o}=a[0]),e.invalid=a[0].invalid,e.spaces={...a[0].spaces};else if(W(a[0]))({r:t,g:r,b:n}=a[0]),"a"in a[0]&&({a:o}=a[0]);else if(a.length<3)if("string"==typeof a[0]){const i=a[0];let s;if(s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))t=parseInt(s[1],10),r=parseInt(s[2],10),n=parseInt(s[3],10);else if(s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i))t=parseInt(s[1],10),r=parseInt(s[2],10),n=parseInt(s[3],10),o=parseFloat(s[4]);else if(s=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(i))o=parseInt(s[1],10)/255,t=parseInt(s[2],10),r=parseInt(s[3],10),n=parseInt(s[4],10);else if(s=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(i))t=parseInt(s[1],16),r=parseInt(s[2],16),n=parseInt(s[3],16),o=1;else if(s=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(i))t=parseInt(s[1]+s[1],16),r=parseInt(s[2]+s[2],16),n=parseInt(s[3]+s[3],16),o=1;else if(s=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(s[1]),i=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,i/=100,a/=100,e=e<0?0:e>360?360:e,i=i<0?0:i>1?1:i,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*i:(2-2*a)*i;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;t=d[0]+p,r=d[1]+p,n=d[2]+p,t=Math.round(255*t),r=Math.round(255*r),n=Math.round(255*n),o=1}else if(s=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(i)){let e=parseFloat(s[1]),i=parseFloat(s[3]),a=parseFloat(s[5]);o=parseFloat(s[7]),e%=360,i/=100,a/=100,e=e<0?0:e>360?360:e,i=i<0?0:i>1?1:i,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*i:(2-2*a)*i;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;t=d[0]+p,r=d[1]+p,n=d[2]+p,t=Math.round(255*t),r=Math.round(255*r),n=Math.round(255*n)}else if(s=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(i)){let e=parseFloat(s[1]),i=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,i/=100,a/=100,e=e<0?0:e>360?360:e,i=i<0?0:i>1?1:i,a=a<0?0:a>1?1:a;const l=a*i;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-l;t=d[0]+p,r=d[1]+p,n=d[2]+p,t=Math.round(255*t),r=Math.round(255*r),n=Math.round(255*n),o=1}else{const a=i.toLowerCase();if(function(e){return e in G}(a)){const e=G[a];({r:t,g:r,b:n}=e),o="a"in e?e.a:1}else e.invalid=!0}}else"number"==typeof a[0]&&a[0]>=0&&"argb"===a[1]?(o=(4278190080&a[0])>>>24,o/=255,t=(16711680&a[0])>>16,r=(65280&a[0])>>8,n=255&a[0]):"number"==typeof a[0]&&a[0]>=0?(t=(16711680&a[0])>>16,r=(65280&a[0])>>8,n=255&a[0]):e.invalid=!0;else 3===a.length||4===a.length?(t=a[0],r=a[1],n=a[2],o=4===a.length?a[3]:1):e.invalid=!0;var l;return Number.isNaN(+t+r+n+o)&&(e.invalid=!0),e.r=Math.floor(t),e.g=Math.floor(r),e.b=Math.floor(n),e.a=o,e}function Y(e){let t,r,n=0;const o="string"==typeof e?U(e):e,i=o.r/255,a=o.g/255,s=o.b/255,{a:l}=o,u=Math.max(i,a,s),c=Math.min(i,a,s),d=(u+c)/2;if(u===c)t=0,n=0;else{switch(r=u-c,t=d>.5?r/(2-u-c):r/(u+c),u){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n,s:100*t,l:100*d,a:l}}function K(e){let t,r,n=0;const o="string"==typeof e?U(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=l;if(l===u)t=0,n=0;else{switch(r=l-u,t=0===r?0:r/c,l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n%360,s:100*t,v:100*c}}function X(e){if(W(e))return`rgb(${e.r}, ${e.g}, ${e.b})`;const t="string"==typeof e?V(e):e;return`rgb(${(16711680&t)>>16}, ${(65280&t)>>8}, ${255&t})`}function J(e,t){return W(e)?`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`:J(U(e))}function Z(e){return W(e)?1===e.a?X(e):J(e):Z(U(e))}const Q=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function ee(e){return.2126*Q(e.r)+.7152*Q(e.g)+.0722*Q(e.b)}function te(){const e=U(...arguments),t={type:e.type,r:e.r,g:e.g,b:e.b,a:e.a,invalid:e.invalid,spaces:e.spaces},r=()=>(t.spaces.hslaObject||(t.spaces.hslaObject=Y(t)),t.spaces.hslaObject),n=e=>{const t=r(),{h:n,s:o,l:i,a:a}=t;return`hsla(${n}, ${o}, ${Math.max(0,Math.min(i+e,100))}, ${a})`};return{get type(){return t.type},isInvalid:()=>t.invalid,get r(){return t.r},get g(){return t.g},get b(){return t.b},get a(){return t.a},getR:()=>t.r,getG:()=>t.g,getB:()=>t.b,getAlpha:()=>t.a,setAlpha:e=>{t.a=e,t.spaces={}},isEqualTo:e=>{let r;if("string"==typeof e)r=U(e);else{if(e.type!==t.type)return!1;r=e}return r.r===t.r&&r.g===t.g&&r.b===t.b&&r.a===t.a},isDark:()=>function(){const e=U(...arguments);return e.invalid||ee(e)<.4}(t),getRGB:()=>(t.spaces.rgb||(t.spaces.rgb=X(t)),t.spaces.rgb),getRGBA:()=>(t.spaces.rgba||(t.spaces.rgba=J(t)),t.spaces.rgba),getString:()=>(t.spaces.string||(t.spaces.string=Z(t)),t.spaces.string),getHex:()=>(t.spaces.hex||(t.spaces.hex=function(e){let t,r,n;if(W(e))return t=e.r.toString(16),r=e.g.toString(16),n=e.b.toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${[t,r,n].join("")}`;const o="string"==typeof e?V(e):e;return t=((16711680&o)>>16).toString(16),r=((65280&o)>>8).toString(16),n=(255&o).toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${t}${r}${n}`}(t)),t.spaces.hex),getHSL:()=>(t.spaces.hsl||(t.spaces.hsl=function(e){let t,r,n=0;const o="string"==typeof e?U(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=(l+u)/2;if(l===u)t=0,n=0;else{switch(r=l-u,t=c>.5?r/(2-l-u):r/(l+u),l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return`hsl(${360*n}, ${100*t}, ${100*c})`}(t)),t.spaces.hsl),getHSLA:()=>(t.spaces.hsla||(t.spaces.hsla=function(e){const{h:t,s:r,l:n,a:o}=Y(e);return`hsla(${t}, ${r}, ${n}, ${o})`}(t)),t.spaces.hsla),getHSLAObject:r,getShiftedHSLA:n,getHSV:()=>(t.spaces.hsv||(t.spaces.hsv=function(e){const{h:t,s:r,v:n}=K(e);return`hsv(${t}, ${r}, ${n})`}(t)),t.spaces.hsv),getHSVObject:()=>(t.spaces.hsvObject||(t.spaces.hsvObject=K(t)),t.spaces.hsvObject),blend:(e,r)=>`rgba(${Math.floor(t.r+(e.r-t.r)*r)}, ${Math.floor(t.g+(e.g-t.g)*r)}, ${Math.floor(t.b+(e.b-t.b)*r)}, ${Math.floor(t.a+(e.getAlpha()-t.a)*r)})`,getBrightenedColor:function(){return te(n(18*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)))},getDarkenedColor:function(){return te(n(18*-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)))}}}function re(e,t){if(!e||!t)return;const r=ee(e),n=ee(t);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)}var ne,oe,ie=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],ae=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];function se(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?ae:ie}var le=function(){if(oe)return ne;oe=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return ne=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},ne}();function ue(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function ce(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function de(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(le);var pe=1/.7,fe="\\s*([+-]?\\d+)\\s*",he="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ge=/^#([0-9a-f]{3,8})$/,be=new RegExp(`^rgb\\(${fe},${fe},${fe}\\)$`),ve=new RegExp(`^rgb\\(${me},${me},${me}\\)$`),ye=new RegExp(`^rgba\\(${fe},${fe},${fe},${he}\\)$`),xe=new RegExp(`^rgba\\(${me},${me},${me},${he}\\)$`),Se=new RegExp(`^hsl\\(${he},${me},${me}\\)$`),Ce=new RegExp(`^hsla\\(${he},${me},${me},${he}\\)$`),we={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ee(){return this.rgb().formatHex()}function Re(){return this.rgb().formatRgb()}function Ae(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=ge.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Pe(t):3===r?new Le(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ke(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ke(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=be.exec(e))?new Le(t[1],t[2],t[3],1):(t=ve.exec(e))?new Le(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ye.exec(e))?ke(t[1],t[2],t[3],t[4]):(t=xe.exec(e))?ke(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Se.exec(e))?Ne(t[1],t[2]/100,t[3]/100,1):(t=Ce.exec(e))?Ne(t[1],t[2]/100,t[3]/100,t[4]):we.hasOwnProperty(e)?Pe(we[e]):"transparent"===e?new Le(NaN,NaN,NaN,0):null}function Pe(e){return new Le(e>>16&255,e>>8&255,255&e,1)}function ke(e,t,r,n){return n<=0&&(e=t=r=NaN),new Le(e,t,r,n)}function Ie(e){return e instanceof de||(e=Ae(e)),e?new Le((e=e.rgb()).r,e.g,e.b,e.opacity):new Le}function Me(e,t,r,n){return 1===arguments.length?Ie(e):new Le(e,t,r,null==n?1:n)}function Le(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function De(){return`#${qe(this.r)}${qe(this.g)}${qe(this.b)}`}function Te(){const e=_e(this.opacity);return`${1===e?"rgb(":"rgba("}${Oe(this.r)}, ${Oe(this.g)}, ${Oe(this.b)}${1===e?")":`, ${e})`}`}function _e(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Oe(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function qe(e){return((e=Oe(e))<16?"0":"")+e.toString(16)}function Ne(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new ze(e,t,r,n)}function je(e){if(e instanceof ze)return new ze(e.h,e.s,e.l,e.opacity);if(e instanceof de||(e=Ae(e)),!e)return new ze;if(e instanceof ze)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new ze(a,s,l,e.opacity)}function ze(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Fe(e){return(e=(e||0)%360)<0?e+360:e}function He(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}ue(de,Ae,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ee,formatHex:Ee,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return je(this).formatHsl()},formatRgb:Re,toString:Re}),ue(Le,Me,ce(de,{brighter(e){return e=null==e?pe:Math.pow(pe,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Le(Oe(this.r),Oe(this.g),Oe(this.b),_e(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:De,formatHex:De,formatHex8:function(){return`#${qe(this.r)}${qe(this.g)}${qe(this.b)}${qe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Te,toString:Te})),ue(ze,(function(e,t,r,n){return 1===arguments.length?je(e):new ze(e,t,r,null==n?1:n)}),ce(de,{brighter(e){return e=null==e?pe:Math.pow(pe,e),new ze(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new ze(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new Le($e(e>=240?e-240:e+120,o,n),$e(e,o,n),$e(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new ze(Fe(this.h),He(this.s),He(this.l),_e(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=_e(this.opacity);return`${1===e?"hsl(":"hsla("}${Fe(this.h)}, ${100*He(this.s)}%, ${100*He(this.l)}%${1===e?")":`, ${e})`}`}}));const Be=Math.PI/180,We=180/Math.PI,Ve=4/29,Ge=6/29,Ue=3*Ge*Ge;function Ye(e){if(e instanceof Ke)return new Ke(e.l,e.a,e.b,e.opacity);if(e instanceof et)return tt(e);e instanceof Le||(e=Ie(e));var t,r,n=Qe(e.r),o=Qe(e.g),i=Qe(e.b),a=Xe((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=Xe((.4360747*n+.3850649*o+.1430804*i)/.96422),r=Xe((.0139322*n+.0971045*o+.7141733*i)/.82521)),new Ke(116*a-16,500*(t-a),200*(a-r),e.opacity)}function Ke(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function Xe(e){return e>.008856451679035631?Math.pow(e,1/3):e/Ue+Ve}function Je(e){return e>Ge?e*e*e:Ue*(e-Ve)}function Ze(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Qe(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function et(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function tt(e){if(isNaN(e.h))return new Ke(e.l,0,0,e.opacity);var t=e.h*Be;return new Ke(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ue(Ke,(function(e,t,r,n){return 1===arguments.length?Ye(e):new Ke(e,t,r,null==n?1:n)}),ce(de,{brighter(e){return new Ke(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Ke(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new Le(Ze(3.1338561*(t=.96422*Je(t))-1.6168667*(e=1*Je(e))-.4906146*(r=.82521*Je(r))),Ze(-.9787684*t+1.9161415*e+.033454*r),Ze(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),ue(et,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof et)return new et(e.h,e.c,e.l,e.opacity);if(e instanceof Ke||(e=Ye(e)),0===e.a&&0===e.b)return new et(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*We;return new et(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new et(e,t,r,null==n?1:n)}),ce(de,{brighter(e){return new et(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new et(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return tt(this).rgb()}}));var rt=e=>()=>e;function nt(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):rt(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?nt:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):rt(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=Me(e)).r,(t=Me(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=nt(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var ot,it="center",at="bottom";function st(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=function(){var e={};return{get:function(t){return e[t]},set:function(t,r){return e[t]=r,r},has:function(t){return t in e},remove:function(t){delete e[t]},empty:function(){e={}}}}();return function(n){var o=t(n);return r.has(o)?r.get(o):r.set(o,e(n))}}function lt(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function ut(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=dt)):void 0===t&&(t=ct);for(var r,n,o,i,a,s=new ht(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new ht(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(ft)}function ct(e){return e.children}function dt(e){return Array.isArray(e)?e[1]:null}function pt(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function ft(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ht(e){this.data=e,this.depth=this.height=0,this.parent=null}[{key:"NoDataExist",alignment:it,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:it,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:it,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:it},{key:"DataRangeIncludingZero",alignment:at},{key:"LimitedData",alignment:at},{key:"NegativeOrZeroValues",alignment:at}].reduce((function(e,t){return e[t.key]=t,e}),{}),ht.prototype=ut.prototype={constructor:ht,count:function(){return this.eachAfter(lt)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return ut(this).eachBefore(pt)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},ot=function(e){
|
|
8
8
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
9
|
-
e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},ot({exports:{}});const mt=()=>{let e;return{promise:new Promise((t=>{e=t})),resolve:e}};function gt(e,r){return t((()=>e),r)}const bt={},vt=()=>{const{viewState:e}=r(),o=(e=>{const r=t((()=>({current:bt})),[]);return r.current=r.current===bt?e:r.current,r})(new Set),i=void 0!==e,{promise:a,resolve:s}=t((()=>mt()),[]),l=gt((e=>{i&&o.current.add(e)}),[o]),u=gt(function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){return e.apply(n,i)}),r)}}((async()=>{await Promise.all(o.current),o.current.clear(),s()}),1e3),[s,o]);return n((async()=>{i&&await a}),[a,i]),t((()=>({viewState:e,isDownloadedAsPDForImage:i,notifyIsDoneRendering:u,waitForPromise:l})),[u,i,e,l])};function yt(e,t){return function(){return null}}function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xt.apply(null,arguments)}function St(e){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},St(e)}function Ct(e){return e&&"object"===St(e)&&e.constructor===Object}function Et(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},n=r.clone?xt({},e):e;return Ct(e)&&Ct(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Ct(t[o])&&o in e?n[o]=Et(e[o],t[o],r):n[o]=t[o])})),n}function wt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var At={exports:{}};function Pt(){}function kt(){}kt.resetWarningCache=Pt;At.exports=function(){function e(e,t,r,n,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kt,resetWarningCache:Pt};return r.PropTypes=r,r}();var It=wt(At.exports),Mt=(It.element,function(){return null});Mt.isRequired=(It.element.isRequired,function(){return null});var Lt=function(){return null};function Dt(e){var t=function(e,t){if("object"!=St(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==St(t)?t:t+""}function Tt(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var _t={exports:{}},Ot={},qt=60103,Nt=60106,zt=60107,jt=60108,Ft=60114,Ht=60109,$t=60110,Bt=60112,Wt=60113,Vt=60120,Gt=60115,Ut=60116,Yt=60121,Kt=60122,Xt=60117,Jt=60129,Zt=60131;if("function"==typeof Symbol&&Symbol.for){var Qt=Symbol.for;qt=Qt("react.element"),Nt=Qt("react.portal"),zt=Qt("react.fragment"),jt=Qt("react.strict_mode"),Ft=Qt("react.profiler"),Ht=Qt("react.provider"),$t=Qt("react.context"),Bt=Qt("react.forward_ref"),Wt=Qt("react.suspense"),Vt=Qt("react.suspense_list"),Gt=Qt("react.memo"),Ut=Qt("react.lazy"),Yt=Qt("react.block"),Kt=Qt("react.server.block"),Xt=Qt("react.fundamental"),Jt=Qt("react.debug_trace_mode"),Zt=Qt("react.legacy_hidden")}function er(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case qt:switch(e=e.type){case zt:case Ft:case jt:case Wt:case Vt:return e;default:switch(e=e&&e.$$typeof){case $t:case Bt:case Ut:case Gt:case Ht:return e;default:return t}}case Nt:return t}}}var tr=Ht,rr=qt,nr=Bt,or=zt,ir=Ut,ar=Gt,sr=Nt,lr=Ft,ur=jt,cr=Wt;Ot.ContextConsumer=$t,Ot.ContextProvider=tr,Ot.Element=rr,Ot.ForwardRef=nr,Ot.Fragment=or,Ot.Lazy=ir,Ot.Memo=ar,Ot.Portal=sr,Ot.Profiler=lr,Ot.StrictMode=ur,Ot.Suspense=cr,Ot.isAsyncMode=function(){return!1},Ot.isConcurrentMode=function(){return!1},Ot.isContextConsumer=function(e){return er(e)===$t},Ot.isContextProvider=function(e){return er(e)===Ht},Ot.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===qt},Ot.isForwardRef=function(e){return er(e)===Bt},Ot.isFragment=function(e){return er(e)===zt},Ot.isLazy=function(e){return er(e)===Ut},Ot.isMemo=function(e){return er(e)===Gt},Ot.isPortal=function(e){return er(e)===Nt},Ot.isProfiler=function(e){return er(e)===Ft},Ot.isStrictMode=function(e){return er(e)===jt},Ot.isSuspense=function(e){return er(e)===Wt},Ot.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===zt||e===Ft||e===Jt||e===jt||e===Wt||e===Vt||e===Zt||"object"==typeof e&&null!==e&&(e.$$typeof===Ut||e.$$typeof===Gt||e.$$typeof===Ht||e.$$typeof===$t||e.$$typeof===Bt||e.$$typeof===Xt||e.$$typeof===Yt||e[0]===Kt)},Ot.typeOf=er,_t.exports=Ot;var dr=_t.exports,pr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||function(e){var t="".concat(e).match(pr);return t&&t[1]||""}(e)||t}function hr(e,t,r){var n=fr(t);return e.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}var mr="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),gr=It.oneOfType([It.func,It.object]),br=Object.freeze({__proto__:null,HTMLElementType:function(e,t,r,n,o){return null},chainPropTypes:yt,deepmerge:Et,elementAcceptingRef:Mt,elementTypeAcceptingRef:Lt,exactProp:function(e){return e},formatMuiErrorMessage:Tt,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return fr(e,"Component");if("object"===St(e))switch(e.$$typeof){case dr.ForwardRef:return hr(e,e.render,"ForwardRef");case dr.Memo:return hr(e,e.type,"memo");default:return}}},ponyfillGlobal:mr,refType:gr});function vr(e){if(e.type)return e;if("#"===e.charAt(0))return vr(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(Tt(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function yr(e,t){return e=vr(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}(e)}function xr(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function Sr(e,t){if(null==e)return{};var r,n,o=xr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Er(e,t){if(e){if("string"==typeof e)return Cr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cr(e,t):void 0}}function wr(e){return function(e){if(Array.isArray(e))return Cr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Er(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(e,t){return t?Et(e,t,{clone:!1}):e}var Ar={xs:0,sm:600,md:960,lg:1280,xl:1920},Pr={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Ar[e],"px)")}};function kr(e,t,r){if(Array.isArray(t)){var n=e.theme.breakpoints||Pr;return t.reduce((function(e,o,i){return e[n.up(n.keys[i])]=r(t[i]),e}),{})}if("object"===St(t)){var o=e.theme.breakpoints||Pr;return Object.keys(t).reduce((function(e,n){return e[o.up(n)]=r(t[n]),e}),{})}return r(t)}function Ir(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Mr(e){var t=e.prop,r=e.cssProperty,n=void 0===r?e.prop:r,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var r=e[t],a=Ir(e.theme,o)||{};return kr(e,r,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Ir(a,e)||e,i&&(t=i(t))),!1===n?t:function(e,t,r){return(t=Dt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},n,t)}))};return a.propTypes={},a.filterProps=[t],a}function Lr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=function(e){return t.reduce((function(t,r){var n=r(e);return n?Rr(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}function Dr(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var Tr=Mr({prop:"border",themeKey:"borders",transform:Dr}),_r=Mr({prop:"borderTop",themeKey:"borders",transform:Dr}),Or=Mr({prop:"borderRight",themeKey:"borders",transform:Dr}),qr=Mr({prop:"borderBottom",themeKey:"borders",transform:Dr}),Nr=Mr({prop:"borderLeft",themeKey:"borders",transform:Dr}),zr=Mr({prop:"borderColor",themeKey:"palette"}),jr=Mr({prop:"borderRadius",themeKey:"shape"}),Fr=Lr(Tr,_r,Or,qr,Nr,zr,jr);function Hr(e,t){var r={};return Object.keys(e).forEach((function(n){-1===t.indexOf(n)&&(r[n]=e[n])})),r}function $r(e){var t=function(t){var r=e(t);return t.css?xt({},Rr(r,e(xt({theme:t.theme},t.css))),Hr(t.css,[e.filterProps])):t.sx?xt({},Rr(r,e(xt({theme:t.theme},t.sx))),Hr(t.sx,[e.filterProps])):r};return t.propTypes={},t.filterProps=["css","sx"].concat(wr(e.filterProps)),t}var Br=Lr(Mr({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Mr({prop:"display"}),Mr({prop:"overflow"}),Mr({prop:"textOverflow"}),Mr({prop:"visibility"}),Mr({prop:"whiteSpace"})),Wr=Mr({prop:"flexBasis"}),Vr=Mr({prop:"flexDirection"}),Gr=Mr({prop:"flexWrap"}),Ur=Mr({prop:"justifyContent"}),Yr=Mr({prop:"alignItems"}),Kr=Mr({prop:"alignContent"}),Xr=Mr({prop:"order"}),Jr=Mr({prop:"flex"}),Zr=Mr({prop:"flexGrow"}),Qr=Mr({prop:"flexShrink"}),en=Mr({prop:"alignSelf"}),tn=Mr({prop:"justifyItems"}),rn=Mr({prop:"justifySelf"}),nn=Lr(Wr,Vr,Gr,Ur,Yr,Kr,Xr,Jr,Zr,Qr,en,tn,rn),on=Mr({prop:"gridGap"}),an=Mr({prop:"gridColumnGap"}),sn=Mr({prop:"gridRowGap"}),ln=Mr({prop:"gridColumn"}),un=Mr({prop:"gridRow"}),cn=Mr({prop:"gridAutoFlow"}),dn=Mr({prop:"gridAutoColumns"}),pn=Mr({prop:"gridAutoRows"}),fn=Mr({prop:"gridTemplateColumns"}),hn=Mr({prop:"gridTemplateRows"}),mn=Mr({prop:"gridTemplateAreas"}),gn=Mr({prop:"gridArea"}),bn=Lr(on,an,sn,ln,un,cn,dn,pn,fn,hn,mn,gn),vn=Mr({prop:"color",themeKey:"palette"}),yn=Mr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),xn=Lr(vn,yn),Sn=Mr({prop:"position"}),Cn=Mr({prop:"zIndex",themeKey:"zIndex"}),En=Mr({prop:"top"}),wn=Mr({prop:"right"}),Rn=Mr({prop:"bottom"}),An=Mr({prop:"left"}),Pn=Lr(Sn,Cn,En,wn,Rn,An),kn=Mr({prop:"boxShadow",themeKey:"shadows"});function In(e){return e<=1?"".concat(100*e,"%"):e}var Mn=Mr({prop:"width",transform:In}),Ln=Mr({prop:"maxWidth",transform:In}),Dn=Mr({prop:"minWidth",transform:In}),Tn=Mr({prop:"height",transform:In}),_n=Mr({prop:"maxHeight",transform:In}),On=Mr({prop:"minHeight",transform:In}),qn=Mr({prop:"size",cssProperty:"width",transform:In}),Nn=Mr({prop:"size",cssProperty:"height",transform:In}),zn=Mr({prop:"boxSizing"}),jn=Lr(Mn,Ln,Dn,Tn,_n,On,zn);function Fn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Er(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Hn={m:"margin",p:"padding"},$n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Bn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Wn=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){if(e.length>2){if(!Bn[e])return[e];e=Bn[e]}var t=Fn(e.split(""),2),r=t[0],n=t[1],o=Hn[r],i=$n[n]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Vn=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Gn(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function Un(e,t){return function(r){return e.reduce((function(e,n){return e[n]=function(e,t){if("string"==typeof t||null==t)return t;var r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:"-".concat(r)}(t,r),e}),{})}}function Yn(e){var t=Gn(e.theme);return Object.keys(e).map((function(r){if(-1===Vn.indexOf(r))return null;var n=Un(Wn(r),t),o=e[r];return kr(e,o,n)})).reduce(Rr,{})}Yn.propTypes={},Yn.filterProps=Vn;var Kn=Mr({prop:"fontFamily",themeKey:"typography"}),Xn=Mr({prop:"fontSize",themeKey:"typography"}),Jn=Mr({prop:"fontStyle",themeKey:"typography"}),Zn=Mr({prop:"fontWeight",themeKey:"typography"}),Qn=Mr({prop:"letterSpacing"}),eo=Mr({prop:"lineHeight"}),to=Mr({prop:"textAlign"}),ro=Lr(Kn,Xn,Jn,Zn,Qn,eo,to),no=Object.freeze({__proto__:null,alignContent:Kr,alignItems:Yr,alignSelf:en,bgcolor:yn,border:Tr,borderBottom:qr,borderColor:zr,borderLeft:Nr,borderRadius:jr,borderRight:Or,borderTop:_r,borders:Fr,bottom:Rn,boxSizing:zn,breakpoints:function(e){var t=function(t){var r=e(t),n=t.theme.breakpoints||Pr,o=n.keys.reduce((function(r,o){return t[o]&&((r=r||{})[n.up(o)]=e(xt({theme:t.theme},t[o]))),r}),null);return Rr(r,o)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl"].concat(wr(e.filterProps)),t},color:vn,compose:Lr,createUnarySpacing:Gn,css:function(e){return $r(e)},display:Br,flex:Jr,flexBasis:Wr,flexDirection:Vr,flexGrow:Zr,flexShrink:Qr,flexWrap:Gr,flexbox:nn,fontFamily:Kn,fontSize:Xn,fontStyle:Jn,fontWeight:Zn,grid:bn,gridArea:gn,gridAutoColumns:dn,gridAutoFlow:cn,gridAutoRows:pn,gridColumn:ln,gridColumnGap:an,gridGap:on,gridRow:un,gridRowGap:sn,gridTemplateAreas:mn,gridTemplateColumns:fn,gridTemplateRows:hn,height:Tn,justifyContent:Ur,justifyItems:tn,justifySelf:rn,left:An,letterSpacing:Qn,lineHeight:eo,maxHeight:_n,maxWidth:Ln,minHeight:On,minWidth:Dn,order:Xr,palette:xn,position:Sn,positions:Pn,right:wn,shadows:kn,sizeHeight:Nn,sizeWidth:qn,sizing:jn,spacing:Yn,style:Mr,styleFunctionSx:$r,textAlign:to,top:En,typography:ro,width:Mn,zIndex:Cn}),oo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",io=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ao(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,r=void 0!==t&&t,n=e.productionPrefix,o=void 0===n?"jss":n,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var n=t.options.name;if(n&&0===n.indexOf("Mui")&&!t.options.link&&!r){if(-1!==io.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(n,"-").concat(e.key);return t.options.theme[oo]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(s).concat(o).concat(u())}}function so(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o,i=t.props[r];for(o in i)void 0===n[o]&&(n[o]=i[o]);return n}function lo(){return lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lo.apply(null,arguments)}var uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},co="object"===("undefined"==typeof window?"undefined":uo(window))&&"object"===("undefined"==typeof document?"undefined":uo(document))&&9===document.nodeType;function po(e){return po="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},po(e)}function fo(e){var t=function(e,t){if("object"!=po(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=po(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==po(t)?t:t+""}function ho(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fo(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mo(e,t){return mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mo(e,t)}function go(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,mo(e,t)}function bo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vo(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var yo={}.constructor;function xo(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(xo);if(e.constructor!==yo)return e;var t={};for(var r in e)t[r]=xo(e[r]);return t}function So(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,o=xo(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0],null)}var Co=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},Eo=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=Co(e[r]," ");else t=Co(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function wo(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function Ro(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function Ao(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var o=r.indent,i=void 0===o?0:o,a=t.fallbacks;!1===r.format&&(i=-1/0);var s=wo(r),l=s.linebreak,u=s.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var d=a[c];for(var p in d){var f=d[p];null!=f&&(n&&(n+=l),n+=Ro(p+":"+u+Eo(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(n&&(n+=l),n+=Ro(h+":"+u+Eo(m)+";",i))}for(var g in t){var b=t[g];null!=b&&"fallbacks"!==g&&(n&&(n+=l),n+=Ro(g+":"+u+Eo(b)+";",i))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),Ro(""+e+u+"{"+n,--i)+Ro("}",i)):n}var Po=/([[\].#*$><+~=|^:(),"'`\s])/g,ko="undefined"!=typeof CSS&&CSS.escape,Io=function(e){return ko?ko(e):e.replace(Po,"\\$1")},Mo=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,o=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var o=t;r&&!1===r.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!n)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Lo=function(e){function t(t,r,n){var o;o=e.call(this,t,r,n)||this;var i=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(bo(bo(o)),s),o.selectorText="."+Io(o.id)),o}go(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=Eo(r))}return e},r.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?lo({},e,{allowEmpty:!0}):e;return Ao(this.selectorText,this.style,r)},ho(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;if(r&&t)t.setSelector(r,e)||t.replaceRule(r,this)}},get:function(){return this.selectorText}}]),t}(Mo),Do={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new Lo(e,t,r)}},To={indent:1,children:!0},_o=/@([\w-]+)/,Oo=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var n=e.match(_o);for(var o in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new ii(lo({},r,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=To);var t=wo(e).linebreak;if(null==e.indent&&(e.indent=To.indent),null==e.children&&(e.children=To.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),qo=/@container|@media|@supports\s+/,No={onCreateRule:function(e,t,r){return qo.test(e)?new Oo(e,t,r):null}},zo={indent:1,children:!0},jo=/@keyframes\s+([\w-]+)/,Fo=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var n=e.match(jo);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,i=r.sheet,a=r.generateId;for(var s in this.id=!1===o?this.name:Io(a(this,i)),this.rules=new ii(lo({},r,{parent:this})),t)this.rules.add(s,t[s],lo({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=zo);var t=wo(e).linebreak;if(null==e.indent&&(e.indent=zo.indent),null==e.children&&(e.children=zo.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),Ho=/@keyframes\s+/,$o=/\$([\w-]+)/g,Bo=function(e,t){return"string"==typeof e?e.replace($o,(function(e,r){return r in t?t[r]:e})):e},Wo=function(e,t,r){var n=e[t],o=Bo(n,r);o!==n&&(e[t]=o)},Vo={onCreateRule:function(e,t,r){return"string"==typeof e&&Ho.test(e)?new Fo(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&Wo(e,"animation-name",r.keyframes),"animation"in e&&Wo(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return Bo(e,n.keyframes);default:return e}}},Go=function(e){function t(){return e.apply(this,arguments)||this}return go(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?lo({},e,{allowEmpty:!0}):e;return Ao(this.key,this.style,r)},t}(Mo),Uo={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new Go(e,t,r):null}},Yo=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=wo(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=Ao(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return Ao(this.at,this.style,e)},e}(),Ko=/@font-face/,Xo={onCreateRule:function(e,t,r){return Ko.test(e)?new Yo(e,t,r):null}},Jo=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return Ao(this.key,this.style,e)},e}(),Zo={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new Jo(e,t,r):null}},Qo=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ei={"@charset":!0,"@import":!0,"@namespace":!0},ti={onCreateRule:function(e,t,r){return e in ei?new Qo(e,t,r):null}},ri=[Do,No,Vo,Uo,Xo,Zo,ti],ni={process:!0},oi={force:!0,process:!0},ii=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var n=this.options,o=n.parent,i=n.sheet,a=n.jss,s=n.Renderer,l=n.generateId,u=n.scoped,c=lo({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},r),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(c.selector="."+Io(this.classes[d]));var p=So(d,t,c);if(!p)return null;this.register(p);var f=void 0===c.index?this.index.length:c.index;return this.index.splice(f,0,p),p},t.replace=function(e,t,r){var n=this.get(e),o=this.index.indexOf(n);n&&this.remove(n);var i=r;return-1!==o&&(i=lo({},r,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Lo?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Fo&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Lo?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Fo&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=ni);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var s=t.style;if(i.onUpdate(r,t,a,n),n.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var u=t.style[l];u!==s[l]&&t.prop(l,u,oi)}for(var c in s){var d=t.style[c],p=s[c];null==d&&d!==p&&t.prop(c,null,oi)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,o=wo(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||n)&&(t&&(t+=o),t+=a)}return t},e}(),ai=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=lo({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ii(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var o=this.rules.add(e,t,r);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(n?n.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var o=this.rules.replace(e,t,r);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?n.renderable&&this.renderer.replaceRule(n.renderable,o):this.renderer.deleteRule(n)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var o=this.addRule(n,e[n],t);o&&r.push(o)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),si=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var o=this.registry.onCreateRule[n](e,t,r);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,o=0;o<this.registry.onChangeValue.length;o++)n=this.registry.onChangeValue[o](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),li=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=vo(t,["attached"]),o=wo(n).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=r&&s.attached!==r||(i&&(i+=o),i+=s.toString(n))}return i},ho(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),ui=new li,ci="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),di="2f1acc6c3a606b082e5eef5e54414ffb";null==ci[di]&&(ci[di]=0);var pi=ci[di]++,fi=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var o="",i="";return n&&(n.options.classNamePrefix&&(i=n.options.classNamePrefix),null!=n.options.jss.id&&(o=String(n.options.jss.id))),e.minify?""+(i||"c")+pi+o+t:i+r.key+"-"+pi+(o?"-"+o:"")+"-"+t}},hi=function(e){var t;return function(){return t||(t=e()),t}},mi=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},gi=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=Eo(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var o=n?n.indexOf("!important"):-1,i=o>-1?n.substr(0,o-1):n;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},bi=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},vi=function(e,t){return e.selectorText=t,e.selectorText===t},yi=hi((function(){return document.querySelector("head")}));function xi(e){var t=ui.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var o=function(e){for(var t=yi(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Si=hi((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Ci=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},Ei=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},wi=function(){function e(e){this.getPropertyValue=mi,this.setProperty=gi,this.removeProperty=bi,this.setSelector=vi,this.hasInsertedRules=!1,this.cssRules=[],e&&ui.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},r=t.media,n=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var i=Si();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=xi(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var o=r,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else yi().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,o=r;if("conditional"===e.type||"keyframes"===e.type){var i=Ei(r,t);if(!1===(o=Ci(r,n.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(n.rules,o),o}var a=e.toString();if(!a)return!1;var s=Ei(r,t),l=Ci(r,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof ai&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ri=0,Ai=function(){function e(e){this.id=Ri++,this.version="10.10.0",this.plugins=new si,this.options={id:{minify:!1},createGenerateId:fi,Renderer:co?wi:null,plugins:[]},this.generateId=fi({minify:!1});for(var t=0;t<ri.length;t++)this.plugins.use(ri[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=lo({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===ui.index?0:ui.index+1);var n=new ai(e,lo({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},t.removeStyleSheet=function(e){return e.detach(),ui.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var n=lo({},r,{name:e,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=So(e,t,n);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),Pi=function(e){return new Ai(e)},ki="object"==typeof CSS&&null!=CSS&&"number"in CSS;function Ii(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if("function"===o)t||(t={}),t[r]=n;else if("object"===o&&null!==n&&!Array.isArray(n)){var i=Ii(n);i&&(t||(t={}),t[r]=i)}}return t}
|
|
9
|
+
e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},ot({exports:{}});const mt=()=>{let e;return{promise:new Promise((t=>{e=t})),resolve:e}};function gt(e,r){return t((()=>e),r)}const bt={},vt=()=>{const{viewState:e}=r(),o=(e=>{const r=t((()=>({current:bt})),[]);return r.current=r.current===bt?e:r.current,r})(new Set),i=void 0!==e,{promise:a,resolve:s}=t((()=>mt()),[]),l=gt((e=>{i&&o.current.add(e)}),[o]),u=gt(function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){return e.apply(n,i)}),r)}}((async()=>{await Promise.all(o.current),o.current.clear(),s()}),1e3),[s,o]);return n((async()=>{i&&await a}),[a,i]),t((()=>({viewState:e,isDownloadedAsPDForImage:i,notifyIsDoneRendering:u,waitForPromise:l})),[u,i,e,l])};function yt(e,t){return function(){return null}}function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xt.apply(null,arguments)}function St(e){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},St(e)}function Ct(e){return e&&"object"===St(e)&&e.constructor===Object}function wt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},n=r.clone?xt({},e):e;return Ct(e)&&Ct(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Ct(t[o])&&o in e?n[o]=wt(e[o],t[o],r):n[o]=t[o])})),n}function Et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var At={exports:{}};function Pt(){}function kt(){}kt.resetWarningCache=Pt;At.exports=function(){function e(e,t,r,n,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kt,resetWarningCache:Pt};return r.PropTypes=r,r}();var It=Et(At.exports),Mt=(It.element,function(){return null});Mt.isRequired=(It.element.isRequired,function(){return null});var Lt=function(){return null};function Dt(e){var t=function(e,t){if("object"!=St(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==St(t)?t:t+""}function Tt(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var _t={exports:{}},Ot={},qt=60103,Nt=60106,jt=60107,zt=60108,Ft=60114,Ht=60109,$t=60110,Bt=60112,Wt=60113,Vt=60120,Gt=60115,Ut=60116,Yt=60121,Kt=60122,Xt=60117,Jt=60129,Zt=60131;if("function"==typeof Symbol&&Symbol.for){var Qt=Symbol.for;qt=Qt("react.element"),Nt=Qt("react.portal"),jt=Qt("react.fragment"),zt=Qt("react.strict_mode"),Ft=Qt("react.profiler"),Ht=Qt("react.provider"),$t=Qt("react.context"),Bt=Qt("react.forward_ref"),Wt=Qt("react.suspense"),Vt=Qt("react.suspense_list"),Gt=Qt("react.memo"),Ut=Qt("react.lazy"),Yt=Qt("react.block"),Kt=Qt("react.server.block"),Xt=Qt("react.fundamental"),Jt=Qt("react.debug_trace_mode"),Zt=Qt("react.legacy_hidden")}function er(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case qt:switch(e=e.type){case jt:case Ft:case zt:case Wt:case Vt:return e;default:switch(e=e&&e.$$typeof){case $t:case Bt:case Ut:case Gt:case Ht:return e;default:return t}}case Nt:return t}}}var tr=Ht,rr=qt,nr=Bt,or=jt,ir=Ut,ar=Gt,sr=Nt,lr=Ft,ur=zt,cr=Wt;Ot.ContextConsumer=$t,Ot.ContextProvider=tr,Ot.Element=rr,Ot.ForwardRef=nr,Ot.Fragment=or,Ot.Lazy=ir,Ot.Memo=ar,Ot.Portal=sr,Ot.Profiler=lr,Ot.StrictMode=ur,Ot.Suspense=cr,Ot.isAsyncMode=function(){return!1},Ot.isConcurrentMode=function(){return!1},Ot.isContextConsumer=function(e){return er(e)===$t},Ot.isContextProvider=function(e){return er(e)===Ht},Ot.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===qt},Ot.isForwardRef=function(e){return er(e)===Bt},Ot.isFragment=function(e){return er(e)===jt},Ot.isLazy=function(e){return er(e)===Ut},Ot.isMemo=function(e){return er(e)===Gt},Ot.isPortal=function(e){return er(e)===Nt},Ot.isProfiler=function(e){return er(e)===Ft},Ot.isStrictMode=function(e){return er(e)===zt},Ot.isSuspense=function(e){return er(e)===Wt},Ot.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===jt||e===Ft||e===Jt||e===zt||e===Wt||e===Vt||e===Zt||"object"==typeof e&&null!==e&&(e.$$typeof===Ut||e.$$typeof===Gt||e.$$typeof===Ht||e.$$typeof===$t||e.$$typeof===Bt||e.$$typeof===Xt||e.$$typeof===Yt||e[0]===Kt)},Ot.typeOf=er,_t.exports=Ot;var dr=_t.exports,pr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||function(e){var t="".concat(e).match(pr);return t&&t[1]||""}(e)||t}function hr(e,t,r){var n=fr(t);return e.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}var mr="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),gr=It.oneOfType([It.func,It.object]),br=Object.freeze({__proto__:null,HTMLElementType:function(e,t,r,n,o){return null},chainPropTypes:yt,deepmerge:wt,elementAcceptingRef:Mt,elementTypeAcceptingRef:Lt,exactProp:function(e){return e},formatMuiErrorMessage:Tt,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return fr(e,"Component");if("object"===St(e))switch(e.$$typeof){case dr.ForwardRef:return hr(e,e.render,"ForwardRef");case dr.Memo:return hr(e,e.type,"memo");default:return}}},ponyfillGlobal:mr,refType:gr});function vr(e){if(e.type)return e;if("#"===e.charAt(0))return vr(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(Tt(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function yr(e,t){return e=vr(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}(e)}function xr(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function Sr(e,t){if(null==e)return{};var r,n,o=xr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function wr(e,t){if(e){if("string"==typeof e)return Cr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cr(e,t):void 0}}function Er(e){return function(e){if(Array.isArray(e))return Cr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(e,t){return t?wt(e,t,{clone:!1}):e}var Ar={xs:0,sm:600,md:960,lg:1280,xl:1920},Pr={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Ar[e],"px)")}};function kr(e,t,r){if(Array.isArray(t)){var n=e.theme.breakpoints||Pr;return t.reduce((function(e,o,i){return e[n.up(n.keys[i])]=r(t[i]),e}),{})}if("object"===St(t)){var o=e.theme.breakpoints||Pr;return Object.keys(t).reduce((function(e,n){return e[o.up(n)]=r(t[n]),e}),{})}return r(t)}function Ir(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Mr(e){var t=e.prop,r=e.cssProperty,n=void 0===r?e.prop:r,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var r=e[t],a=Ir(e.theme,o)||{};return kr(e,r,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Ir(a,e)||e,i&&(t=i(t))),!1===n?t:function(e,t,r){return(t=Dt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},n,t)}))};return a.propTypes={},a.filterProps=[t],a}function Lr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=function(e){return t.reduce((function(t,r){var n=r(e);return n?Rr(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}function Dr(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var Tr=Mr({prop:"border",themeKey:"borders",transform:Dr}),_r=Mr({prop:"borderTop",themeKey:"borders",transform:Dr}),Or=Mr({prop:"borderRight",themeKey:"borders",transform:Dr}),qr=Mr({prop:"borderBottom",themeKey:"borders",transform:Dr}),Nr=Mr({prop:"borderLeft",themeKey:"borders",transform:Dr}),jr=Mr({prop:"borderColor",themeKey:"palette"}),zr=Mr({prop:"borderRadius",themeKey:"shape"}),Fr=Lr(Tr,_r,Or,qr,Nr,jr,zr);function Hr(e,t){var r={};return Object.keys(e).forEach((function(n){-1===t.indexOf(n)&&(r[n]=e[n])})),r}function $r(e){var t=function(t){var r=e(t);return t.css?xt({},Rr(r,e(xt({theme:t.theme},t.css))),Hr(t.css,[e.filterProps])):t.sx?xt({},Rr(r,e(xt({theme:t.theme},t.sx))),Hr(t.sx,[e.filterProps])):r};return t.propTypes={},t.filterProps=["css","sx"].concat(Er(e.filterProps)),t}var Br=Lr(Mr({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Mr({prop:"display"}),Mr({prop:"overflow"}),Mr({prop:"textOverflow"}),Mr({prop:"visibility"}),Mr({prop:"whiteSpace"})),Wr=Mr({prop:"flexBasis"}),Vr=Mr({prop:"flexDirection"}),Gr=Mr({prop:"flexWrap"}),Ur=Mr({prop:"justifyContent"}),Yr=Mr({prop:"alignItems"}),Kr=Mr({prop:"alignContent"}),Xr=Mr({prop:"order"}),Jr=Mr({prop:"flex"}),Zr=Mr({prop:"flexGrow"}),Qr=Mr({prop:"flexShrink"}),en=Mr({prop:"alignSelf"}),tn=Mr({prop:"justifyItems"}),rn=Mr({prop:"justifySelf"}),nn=Lr(Wr,Vr,Gr,Ur,Yr,Kr,Xr,Jr,Zr,Qr,en,tn,rn),on=Mr({prop:"gridGap"}),an=Mr({prop:"gridColumnGap"}),sn=Mr({prop:"gridRowGap"}),ln=Mr({prop:"gridColumn"}),un=Mr({prop:"gridRow"}),cn=Mr({prop:"gridAutoFlow"}),dn=Mr({prop:"gridAutoColumns"}),pn=Mr({prop:"gridAutoRows"}),fn=Mr({prop:"gridTemplateColumns"}),hn=Mr({prop:"gridTemplateRows"}),mn=Mr({prop:"gridTemplateAreas"}),gn=Mr({prop:"gridArea"}),bn=Lr(on,an,sn,ln,un,cn,dn,pn,fn,hn,mn,gn),vn=Mr({prop:"color",themeKey:"palette"}),yn=Mr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),xn=Lr(vn,yn),Sn=Mr({prop:"position"}),Cn=Mr({prop:"zIndex",themeKey:"zIndex"}),wn=Mr({prop:"top"}),En=Mr({prop:"right"}),Rn=Mr({prop:"bottom"}),An=Mr({prop:"left"}),Pn=Lr(Sn,Cn,wn,En,Rn,An),kn=Mr({prop:"boxShadow",themeKey:"shadows"});function In(e){return e<=1?"".concat(100*e,"%"):e}var Mn=Mr({prop:"width",transform:In}),Ln=Mr({prop:"maxWidth",transform:In}),Dn=Mr({prop:"minWidth",transform:In}),Tn=Mr({prop:"height",transform:In}),_n=Mr({prop:"maxHeight",transform:In}),On=Mr({prop:"minHeight",transform:In}),qn=Mr({prop:"size",cssProperty:"width",transform:In}),Nn=Mr({prop:"size",cssProperty:"height",transform:In}),jn=Mr({prop:"boxSizing"}),zn=Lr(Mn,Ln,Dn,Tn,_n,On,jn);function Fn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||wr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Hn={m:"margin",p:"padding"},$n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Bn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Wn=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){if(e.length>2){if(!Bn[e])return[e];e=Bn[e]}var t=Fn(e.split(""),2),r=t[0],n=t[1],o=Hn[r],i=$n[n]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Vn=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Gn(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function Un(e,t){return function(r){return e.reduce((function(e,n){return e[n]=function(e,t){if("string"==typeof t||null==t)return t;var r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:"-".concat(r)}(t,r),e}),{})}}function Yn(e){var t=Gn(e.theme);return Object.keys(e).map((function(r){if(-1===Vn.indexOf(r))return null;var n=Un(Wn(r),t),o=e[r];return kr(e,o,n)})).reduce(Rr,{})}Yn.propTypes={},Yn.filterProps=Vn;var Kn=Mr({prop:"fontFamily",themeKey:"typography"}),Xn=Mr({prop:"fontSize",themeKey:"typography"}),Jn=Mr({prop:"fontStyle",themeKey:"typography"}),Zn=Mr({prop:"fontWeight",themeKey:"typography"}),Qn=Mr({prop:"letterSpacing"}),eo=Mr({prop:"lineHeight"}),to=Mr({prop:"textAlign"}),ro=Lr(Kn,Xn,Jn,Zn,Qn,eo,to),no=Object.freeze({__proto__:null,alignContent:Kr,alignItems:Yr,alignSelf:en,bgcolor:yn,border:Tr,borderBottom:qr,borderColor:jr,borderLeft:Nr,borderRadius:zr,borderRight:Or,borderTop:_r,borders:Fr,bottom:Rn,boxSizing:jn,breakpoints:function(e){var t=function(t){var r=e(t),n=t.theme.breakpoints||Pr,o=n.keys.reduce((function(r,o){return t[o]&&((r=r||{})[n.up(o)]=e(xt({theme:t.theme},t[o]))),r}),null);return Rr(r,o)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl"].concat(Er(e.filterProps)),t},color:vn,compose:Lr,createUnarySpacing:Gn,css:function(e){return $r(e)},display:Br,flex:Jr,flexBasis:Wr,flexDirection:Vr,flexGrow:Zr,flexShrink:Qr,flexWrap:Gr,flexbox:nn,fontFamily:Kn,fontSize:Xn,fontStyle:Jn,fontWeight:Zn,grid:bn,gridArea:gn,gridAutoColumns:dn,gridAutoFlow:cn,gridAutoRows:pn,gridColumn:ln,gridColumnGap:an,gridGap:on,gridRow:un,gridRowGap:sn,gridTemplateAreas:mn,gridTemplateColumns:fn,gridTemplateRows:hn,height:Tn,justifyContent:Ur,justifyItems:tn,justifySelf:rn,left:An,letterSpacing:Qn,lineHeight:eo,maxHeight:_n,maxWidth:Ln,minHeight:On,minWidth:Dn,order:Xr,palette:xn,position:Sn,positions:Pn,right:En,shadows:kn,sizeHeight:Nn,sizeWidth:qn,sizing:zn,spacing:Yn,style:Mr,styleFunctionSx:$r,textAlign:to,top:wn,typography:ro,width:Mn,zIndex:Cn}),oo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",io=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ao(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,r=void 0!==t&&t,n=e.productionPrefix,o=void 0===n?"jss":n,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var n=t.options.name;if(n&&0===n.indexOf("Mui")&&!t.options.link&&!r){if(-1!==io.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(n,"-").concat(e.key);return t.options.theme[oo]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(s).concat(o).concat(u())}}function so(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o,i=t.props[r];for(o in i)void 0===n[o]&&(n[o]=i[o]);return n}function lo(){return lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lo.apply(null,arguments)}var uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},co="object"===("undefined"==typeof window?"undefined":uo(window))&&"object"===("undefined"==typeof document?"undefined":uo(document))&&9===document.nodeType;function po(e){return po="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},po(e)}function fo(e){var t=function(e,t){if("object"!=po(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=po(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==po(t)?t:t+""}function ho(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fo(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mo(e,t){return mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mo(e,t)}function go(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,mo(e,t)}function bo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vo(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var yo={}.constructor;function xo(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(xo);if(e.constructor!==yo)return e;var t={};for(var r in e)t[r]=xo(e[r]);return t}function So(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,o=xo(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0],null)}var Co=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},wo=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=Co(e[r]," ");else t=Co(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function Eo(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function Ro(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function Ao(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var o=r.indent,i=void 0===o?0:o,a=t.fallbacks;!1===r.format&&(i=-1/0);var s=Eo(r),l=s.linebreak,u=s.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var d=a[c];for(var p in d){var f=d[p];null!=f&&(n&&(n+=l),n+=Ro(p+":"+u+wo(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(n&&(n+=l),n+=Ro(h+":"+u+wo(m)+";",i))}for(var g in t){var b=t[g];null!=b&&"fallbacks"!==g&&(n&&(n+=l),n+=Ro(g+":"+u+wo(b)+";",i))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),Ro(""+e+u+"{"+n,--i)+Ro("}",i)):n}var Po=/([[\].#*$><+~=|^:(),"'`\s])/g,ko="undefined"!=typeof CSS&&CSS.escape,Io=function(e){return ko?ko(e):e.replace(Po,"\\$1")},Mo=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,o=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var o=t;r&&!1===r.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!n)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Lo=function(e){function t(t,r,n){var o;o=e.call(this,t,r,n)||this;var i=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(bo(bo(o)),s),o.selectorText="."+Io(o.id)),o}go(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=wo(r))}return e},r.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?lo({},e,{allowEmpty:!0}):e;return Ao(this.selectorText,this.style,r)},ho(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;if(r&&t)t.setSelector(r,e)||t.replaceRule(r,this)}},get:function(){return this.selectorText}}]),t}(Mo),Do={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new Lo(e,t,r)}},To={indent:1,children:!0},_o=/@([\w-]+)/,Oo=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var n=e.match(_o);for(var o in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new ii(lo({},r,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=To);var t=Eo(e).linebreak;if(null==e.indent&&(e.indent=To.indent),null==e.children&&(e.children=To.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),qo=/@container|@media|@supports\s+/,No={onCreateRule:function(e,t,r){return qo.test(e)?new Oo(e,t,r):null}},jo={indent:1,children:!0},zo=/@keyframes\s+([\w-]+)/,Fo=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var n=e.match(zo);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,i=r.sheet,a=r.generateId;for(var s in this.id=!1===o?this.name:Io(a(this,i)),this.rules=new ii(lo({},r,{parent:this})),t)this.rules.add(s,t[s],lo({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=jo);var t=Eo(e).linebreak;if(null==e.indent&&(e.indent=jo.indent),null==e.children&&(e.children=jo.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),Ho=/@keyframes\s+/,$o=/\$([\w-]+)/g,Bo=function(e,t){return"string"==typeof e?e.replace($o,(function(e,r){return r in t?t[r]:e})):e},Wo=function(e,t,r){var n=e[t],o=Bo(n,r);o!==n&&(e[t]=o)},Vo={onCreateRule:function(e,t,r){return"string"==typeof e&&Ho.test(e)?new Fo(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&Wo(e,"animation-name",r.keyframes),"animation"in e&&Wo(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return Bo(e,n.keyframes);default:return e}}},Go=function(e){function t(){return e.apply(this,arguments)||this}return go(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?lo({},e,{allowEmpty:!0}):e;return Ao(this.key,this.style,r)},t}(Mo),Uo={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new Go(e,t,r):null}},Yo=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=Eo(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=Ao(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return Ao(this.at,this.style,e)},e}(),Ko=/@font-face/,Xo={onCreateRule:function(e,t,r){return Ko.test(e)?new Yo(e,t,r):null}},Jo=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return Ao(this.key,this.style,e)},e}(),Zo={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new Jo(e,t,r):null}},Qo=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ei={"@charset":!0,"@import":!0,"@namespace":!0},ti={onCreateRule:function(e,t,r){return e in ei?new Qo(e,t,r):null}},ri=[Do,No,Vo,Uo,Xo,Zo,ti],ni={process:!0},oi={force:!0,process:!0},ii=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var n=this.options,o=n.parent,i=n.sheet,a=n.jss,s=n.Renderer,l=n.generateId,u=n.scoped,c=lo({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},r),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(c.selector="."+Io(this.classes[d]));var p=So(d,t,c);if(!p)return null;this.register(p);var f=void 0===c.index?this.index.length:c.index;return this.index.splice(f,0,p),p},t.replace=function(e,t,r){var n=this.get(e),o=this.index.indexOf(n);n&&this.remove(n);var i=r;return-1!==o&&(i=lo({},r,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Lo?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Fo&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Lo?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Fo&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=ni);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var s=t.style;if(i.onUpdate(r,t,a,n),n.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var u=t.style[l];u!==s[l]&&t.prop(l,u,oi)}for(var c in s){var d=t.style[c],p=s[c];null==d&&d!==p&&t.prop(c,null,oi)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,o=Eo(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||n)&&(t&&(t+=o),t+=a)}return t},e}(),ai=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=lo({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ii(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var o=this.rules.add(e,t,r);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(n?n.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var o=this.rules.replace(e,t,r);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?n.renderable&&this.renderer.replaceRule(n.renderable,o):this.renderer.deleteRule(n)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var o=this.addRule(n,e[n],t);o&&r.push(o)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),si=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var o=this.registry.onCreateRule[n](e,t,r);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,o=0;o<this.registry.onChangeValue.length;o++)n=this.registry.onChangeValue[o](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),li=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=vo(t,["attached"]),o=Eo(n).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=r&&s.attached!==r||(i&&(i+=o),i+=s.toString(n))}return i},ho(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),ui=new li,ci="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),di="2f1acc6c3a606b082e5eef5e54414ffb";null==ci[di]&&(ci[di]=0);var pi=ci[di]++,fi=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var o="",i="";return n&&(n.options.classNamePrefix&&(i=n.options.classNamePrefix),null!=n.options.jss.id&&(o=String(n.options.jss.id))),e.minify?""+(i||"c")+pi+o+t:i+r.key+"-"+pi+(o?"-"+o:"")+"-"+t}},hi=function(e){var t;return function(){return t||(t=e()),t}},mi=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},gi=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=wo(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var o=n?n.indexOf("!important"):-1,i=o>-1?n.substr(0,o-1):n;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},bi=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},vi=function(e,t){return e.selectorText=t,e.selectorText===t},yi=hi((function(){return document.querySelector("head")}));function xi(e){var t=ui.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var o=function(e){for(var t=yi(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Si=hi((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Ci=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},wi=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},Ei=function(){function e(e){this.getPropertyValue=mi,this.setProperty=gi,this.removeProperty=bi,this.setSelector=vi,this.hasInsertedRules=!1,this.cssRules=[],e&&ui.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},r=t.media,n=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var i=Si();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=xi(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var o=r,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else yi().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,o=r;if("conditional"===e.type||"keyframes"===e.type){var i=wi(r,t);if(!1===(o=Ci(r,n.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(n.rules,o),o}var a=e.toString();if(!a)return!1;var s=wi(r,t),l=Ci(r,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof ai&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ri=0,Ai=function(){function e(e){this.id=Ri++,this.version="10.10.0",this.plugins=new si,this.options={id:{minify:!1},createGenerateId:fi,Renderer:co?Ei:null,plugins:[]},this.generateId=fi({minify:!1});for(var t=0;t<ri.length;t++)this.plugins.use(ri[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=lo({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===ui.index?0:ui.index+1);var n=new ai(e,lo({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},t.removeStyleSheet=function(e){return e.detach(),ui.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var n=lo({},r,{name:e,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=So(e,t,n);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),Pi=function(e){return new Ai(e)},ki="object"==typeof CSS&&null!=CSS&&"number"in CSS;function Ii(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if("function"===o)t||(t={}),t[r]=n;else if("object"===o&&null!==n&&!Array.isArray(n)){var i=Ii(n);i&&(t||(t={}),t[r]=i)}}return t}
|
|
10
10
|
/**
|
|
11
11
|
* A better abstraction over CSS.
|
|
12
12
|
*
|
|
13
13
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
14
14
|
* @website https://github.com/cssinjs/jss
|
|
15
15
|
* @license MIT
|
|
16
|
-
*/Pi();var Mi=Date.now(),Li="fnValues"+Mi,Di="fnStyle"+ ++Mi,Ti="@global",_i="@global ",Oi=function(){function e(e,t,r){for(var n in this.type="global",this.at=Ti,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new ii(lo({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),qi=function(){function e(e,t,r){this.type="global",this.at=Ti,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(8);this.rule=r.jss.createRule(n,t,lo({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ni=/\s*,\s*/g;function zi(e,t){for(var r=e.split(Ni),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function ji(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===Ti)return new Oi(e,t,r);if("@"===e[0]&&e.substr(0,8)===_i)return new qi(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,o=n?n[Ti]:null;if(o){for(var i in o)t.addRule(i,o[i],lo({},r,{selector:zi(i,e.selector)}));delete n[Ti]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var o in n)if("@"===o[0]&&o.substr(0,7)===Ti){var i=zi(o.substr(7),e.selector);t.addRule(i,n[o],lo({},r,{selector:i})),delete n[o]}}(e,t))}}}var Fi=/\s*,\s*/g,Hi=/&/g,$i=/\$([\w-]+)/g;function Bi(){function e(e,t){return function(r,n){var o=e.getRule(n)||t&&t.getRule(n);return o?o.selector:n}}function t(e,t){for(var r=t.split(Fi),n=e.split(Fi),o="",i=0;i<r.length;i++)for(var a=r[i],s=0;s<n.length;s++){var l=n[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Hi,a):a+" "+l}return o}function r(e,t,r){if(r)return lo({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var o=lo({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(n,o,i){if("style"!==o.type)return n;var a,s,l=o,u=l.options.parent;for(var c in n){var d=-1!==c.indexOf("&"),p="@"===c[0];if(d||p){if(a=r(l,u,a),d){var f=t(c,l.selector);s||(s=e(u,i)),f=f.replace($i,s);var h=l.key+"-"+c;"replaceRule"in u?u.replaceRule(h,n[c],lo({},a,{selector:f})):u.addRule(h,n[c],lo({},a,{selector:f}))}else p&&u.addRule(c,{},a).addRule(l.key,n[c],{selector:l.selector});delete n[c]}}return n}}}var Wi=/[A-Z]/g,Vi=/^ms-/,Gi={};function Ui(e){return"-"+e.toLowerCase()}function Yi(e){if(Gi.hasOwnProperty(e))return Gi[e];var t=e.replace(Wi,Ui);return Gi[e]=Vi.test(t)?"-"+t:t}function Ki(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:Yi(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ki):t.fallbacks=Ki(e.fallbacks)),t}var Xi=ki&&CSS?CSS.px:"px",Ji=ki&&CSS?CSS.ms:"ms",Zi=ki&&CSS?CSS.percent:"%";function Qi(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var ea=Qi({"animation-delay":Ji,"animation-duration":Ji,"background-position":Xi,"background-position-x":Xi,"background-position-y":Xi,"background-size":Xi,border:Xi,"border-bottom":Xi,"border-bottom-left-radius":Xi,"border-bottom-right-radius":Xi,"border-bottom-width":Xi,"border-left":Xi,"border-left-width":Xi,"border-radius":Xi,"border-right":Xi,"border-right-width":Xi,"border-top":Xi,"border-top-left-radius":Xi,"border-top-right-radius":Xi,"border-top-width":Xi,"border-width":Xi,"border-block":Xi,"border-block-end":Xi,"border-block-end-width":Xi,"border-block-start":Xi,"border-block-start-width":Xi,"border-block-width":Xi,"border-inline":Xi,"border-inline-end":Xi,"border-inline-end-width":Xi,"border-inline-start":Xi,"border-inline-start-width":Xi,"border-inline-width":Xi,"border-start-start-radius":Xi,"border-start-end-radius":Xi,"border-end-start-radius":Xi,"border-end-end-radius":Xi,margin:Xi,"margin-bottom":Xi,"margin-left":Xi,"margin-right":Xi,"margin-top":Xi,"margin-block":Xi,"margin-block-end":Xi,"margin-block-start":Xi,"margin-inline":Xi,"margin-inline-end":Xi,"margin-inline-start":Xi,padding:Xi,"padding-bottom":Xi,"padding-left":Xi,"padding-right":Xi,"padding-top":Xi,"padding-block":Xi,"padding-block-end":Xi,"padding-block-start":Xi,"padding-inline":Xi,"padding-inline-end":Xi,"padding-inline-start":Xi,"mask-position-x":Xi,"mask-position-y":Xi,"mask-size":Xi,height:Xi,width:Xi,"min-height":Xi,"max-height":Xi,"min-width":Xi,"max-width":Xi,bottom:Xi,left:Xi,top:Xi,right:Xi,inset:Xi,"inset-block":Xi,"inset-block-end":Xi,"inset-block-start":Xi,"inset-inline":Xi,"inset-inline-end":Xi,"inset-inline-start":Xi,"box-shadow":Xi,"text-shadow":Xi,"column-gap":Xi,"column-rule":Xi,"column-rule-width":Xi,"column-width":Xi,"font-size":Xi,"font-size-delta":Xi,"letter-spacing":Xi,"text-decoration-thickness":Xi,"text-indent":Xi,"text-stroke":Xi,"text-stroke-width":Xi,"word-spacing":Xi,motion:Xi,"motion-offset":Xi,outline:Xi,"outline-offset":Xi,"outline-width":Xi,perspective:Xi,"perspective-origin-x":Zi,"perspective-origin-y":Zi,"transform-origin":Zi,"transform-origin-x":Zi,"transform-origin-y":Zi,"transform-origin-z":Zi,"transition-delay":Ji,"transition-duration":Ji,"vertical-align":Xi,"flex-basis":Xi,"shape-margin":Xi,size:Xi,gap:Xi,grid:Xi,"grid-gap":Xi,"row-gap":Xi,"grid-row-gap":Xi,"grid-column-gap":Xi,"grid-template-rows":Xi,"grid-template-columns":Xi,"grid-auto-rows":Xi,"grid-auto-columns":Xi,"box-shadow-x":Xi,"box-shadow-y":Xi,"box-shadow-blur":Xi,"box-shadow-spread":Xi,"font-line-height":Xi,"text-shadow-x":Xi,"text-shadow-y":Xi,"text-shadow-blur":Xi});function ta(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=ta(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=ta(o,t[o],r);else for(var i in t)t[i]=ta(e+"-"+i,t[i],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||ea[e];return!a||0===t&&a===Xi?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function ra(e){void 0===e&&(e={});var t=Qi(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=ta(n,e[n],t);return e},onChangeValue:function(e,r){return ta(r,e,t)}}}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oa(e){return function(e){if(Array.isArray(e))return na(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return na(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?na(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ia="",aa="",sa="",la="",ua=co&&"ontouchstart"in document.documentElement;if(co){var ca={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},da=document.createElement("p").style;for(var pa in ca)if(pa+"Transform"in da){ia=pa,aa=ca[pa];break}"Webkit"===ia&&"msHyphens"in da&&(ia="ms",aa=ca.ms,la="edge"),"Webkit"===ia&&"-apple-trailing-word"in da&&(sa="apple")}var fa=ia,ha=aa,ma=sa,ga=la,ba=ua;var va={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===fa?"-webkit-"+e:ha+e)}},ya={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===fa?ha+"print-"+e:e)}},xa=/[-\s]+(.)?/g;function Sa(e,t){return t?t.toUpperCase():""}function Ca(e){return e.replace(xa,Sa)}function Ea(e){return Ca("-"+e)}var wa,Ra={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===fa){var r="mask-image";if(Ca(r)in t)return e;if(fa+Ea(r)in t)return ha+e}return e}},Aa={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ma||ba?e:ha+e)}},Pa={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:ha+e)}},ka={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:ha+e)}},Ia={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===fa||"ms"===fa&&"edge"!==ga?ha+e:e)}},Ma={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===fa||"ms"===fa||"apple"===ma?ha+e:e)}},La={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===fa?"WebkitColumn"+Ea(e)in t&&ha+"column-"+e:"Moz"===fa&&("page"+Ea(e)in t&&"page-"+e))}},Da={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===fa)return e;var r=e.replace("-inline","");return fa+Ea(r)in t&&ha+r}},Ta={supportedProperty:function(e,t){return Ca(e)in t&&e}},_a={supportedProperty:function(e,t){var r=Ea(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:fa+r in t?ha+e:"Webkit"!==fa&&"Webkit"+r in t&&"-webkit-"+e}},Oa={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===fa?""+ha+e:e)}},qa={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===fa?ha+"scroll-chaining":e)}},Na={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},za={supportedProperty:function(e,t){var r=Na[e];return!!r&&(fa+Ea(r)in t&&ha+r)}},ja={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Fa=Object.keys(ja),Ha=function(e){return ha+e},$a={supportedProperty:function(e,t,r){var n=r.multiple;if(Fa.indexOf(e)>-1){var o=ja[e];if(!Array.isArray(o))return fa+Ea(o)in t&&ha+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(fa+Ea(o[0])in t))return!1;return o.map(Ha)}return!1}},Ba=[va,ya,Ra,Aa,Pa,ka,Ia,Ma,La,Da,Ta,_a,Oa,qa,za,$a],Wa=Ba.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Va=Ba.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,oa(t.noPrefill)),e}),[]),Ga={};if(co){wa=document.createElement("p");var Ua=window.getComputedStyle(document.documentElement,"");for(var Ya in Ua)isNaN(Ya)||(Ga[Ua[Ya]]=Ua[Ya]);Va.forEach((function(e){return delete Ga[e]}))}function Ka(e,t){if(void 0===t&&(t={}),!wa)return e;if(null!=Ga[e])return Ga[e];"transition"!==e&&"transform"!==e||(t[e]=e in wa.style);for(var r=0;r<Wa.length&&(Ga[e]=Wa[r](e,wa.style,t),!Ga[e]);r++);try{wa.style[e]=""}catch(e){return!1}return Ga[e]}var Xa,Ja={},Za={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Qa=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function es(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?Ka(t):", "+Ka(r);return n||(t||r)}function ts(e,t){var r=t;if(!Xa||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Ja[n])return Ja[n];try{Xa.style[e]=r}catch(e){return Ja[n]=!1,!1}if(Za[e])r=r.replace(Qa,es);else if(""===Xa.style[e]&&("-ms-flex"===(r=ha+r)&&(Xa.style[e]="-ms-flexbox"),Xa.style[e]=r,""===Xa.style[e]))return Ja[n]=!1,!1;return Xa.style[e]="",Ja[n]=r,Ja[n]}function rs(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var o=!1,i=Ka(r);i&&i!==r&&(o=!0);var a=!1,s=ts(i,Eo(n));s&&s!==n&&(a=!0),(o||a)&&(o&&delete t[r],t[i||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===fa?e:"@"+ha+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return ts(t,Eo(e))||e}}}function ns(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=So(e,{},r);return n[Di]=t,n},onProcessStyle:function(e,t){if(Li in t||Di in t)return e;var r={};for(var n in e){var o=e[n];"function"==typeof o&&(delete e[n],r[n]=o)}return t[Li]=r,e},onUpdate:function(e,t,r,n){var o=t,i=o[Di];i&&(o.style=i(e)||{});var a=o[Li];if(a)for(var s in a)o.prop(s,a[s](e),n)}},ji(),Bi(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ki(e[t]);return e}return Ki(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Yi(t);return t===n?e:(r.prop(n,e),null)}},ra(),"undefined"==typeof window?null:rs(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)n[o[i]]=t[o[i]];return n}})]};var e}function os(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,r=e.newClasses;if(e.Component,!r)return t;var n=xt({},t);return Object.keys(r).forEach((function(e){r[e]&&(n[e]="".concat(t[e]," ").concat(r[e]))})),n}co&&(Xa=document.createElement("p"));var is=function(e,t,r,n){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},as=function(e,t,r){var n=e.get(t);return n?n.get(r):void 0},ss=function(e,t,r){e.get(t).delete(r)},ls=x.createContext(null);function us(){return x.useContext(ls)}var cs,ds=Pi(ns()),ps=ao(),fs=new Map,hs={disableGeneration:!1,generateClassName:ps,jss:ds,sheetsCache:null,sheetsManager:fs,sheetsRegistry:null},ms=x.createContext(hs);function gs(e){var t=e.children,r=e.injectFirst,n=void 0!==r&&r,o=e.disableGeneration,i=void 0!==o&&o,a=Sr(e,["children","injectFirst","disableGeneration"]),s=xt({},x.useContext(ms),{disableGeneration:i},a);if(!s.jss.options.insertionPoint&&n&&"undefined"!=typeof window){if(!cs){var l=document.head;cs=document.createComment("mui-inject-first"),l.insertBefore(cs,l.firstChild)}s.jss=Pi({plugins:ns().plugins,insertionPoint:cs})}return x.createElement(ms.Provider,{value:s},t)}var bs=-1e9;var vs={};function ys(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=as(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},is(o.sheetsManager,i,n,s));var l=xt({},i.options,o,{theme:n,flip:"boolean"==typeof o.flip?o.flip:"rtl"===n.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=o.sheetsRegistry;if(0===s.refs){var c;o.sheetsCache&&(c=as(o.sheetsCache,i,n));var d=i.create(n,a);c||((c=o.jss.createStyleSheet(d,xt({link:!1},l))).attach(),o.sheetsCache&&is(o.sheetsCache,i,n,c)),u&&u.add(c),s.staticSheet=c,s.dynamicStyles=Ii(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,xt({link:!0},l));p.update(t),p.attach(),r.dynamicSheet=p,r.classes=os({baseClasses:s.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function xs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?vs:i,s=Sr(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(r,n){var o;try{o=t?e(r):e}catch(e){throw e}if(!n||!r.overrides||!r.overrides[n])return o;var i=r.overrides[n],a=xt({},o);return Object.keys(i).forEach((function(e){a[e]=Et(a[e],i[e])})),a},options:{}}}(e),u=r||n||"makeStyles";l.options={index:bs+=1,name:r,meta:u,classNamePrefix:u};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=us()||a,n=xt({},x.useContext(ms),s),i=x.useRef(),u=x.useRef();!function(e,t){var r,n=x.useRef([]),o=x.useMemo((function(){return{}}),t);n.current!==o&&(n.current=o,r=e()),x.useEffect((function(){return function(){r&&r()}}),[o])}((function(){var o={name:r,state:{},stylesCreator:l,stylesOptions:n,theme:t};return ys(o,e),u.current=!1,i.current=o,function(){!function(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=as(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;0===i.refs&&(ss(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,l]),x.useEffect((function(){u.current&&function(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}(i.current,e),u.current=!0}));var c=function(e,t,r){var n=e.state;if(e.stylesOptions.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,o=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,o=!0),o&&(n.cacheClasses.value=os({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}(i.current,e.classes,o);return c}}function Ss(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Dt(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Cs=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t}return Ss(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new li;var r=ao();return x.createElement(gs,xt({sheetsManager:t,serverGenerateClassName:r,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return x.createElement("style",xt({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}();function Es(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Es(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ws(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Es(e))&&(n&&(n+=" "),n+=t);return n}var Rs={exports:{}},As={},Ps="function"==typeof Symbol&&Symbol.for,ks=Ps?Symbol.for("react.element"):60103,Is=Ps?Symbol.for("react.portal"):60106,Ms=Ps?Symbol.for("react.fragment"):60107,Ls=Ps?Symbol.for("react.strict_mode"):60108,Ds=Ps?Symbol.for("react.profiler"):60114,Ts=Ps?Symbol.for("react.provider"):60109,_s=Ps?Symbol.for("react.context"):60110,Os=Ps?Symbol.for("react.async_mode"):60111,qs=Ps?Symbol.for("react.concurrent_mode"):60111,Ns=Ps?Symbol.for("react.forward_ref"):60112,zs=Ps?Symbol.for("react.suspense"):60113,js=Ps?Symbol.for("react.suspense_list"):60120,Fs=Ps?Symbol.for("react.memo"):60115,Hs=Ps?Symbol.for("react.lazy"):60116,$s=Ps?Symbol.for("react.block"):60121,Bs=Ps?Symbol.for("react.fundamental"):60117,Ws=Ps?Symbol.for("react.responder"):60118,Vs=Ps?Symbol.for("react.scope"):60119;function Gs(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ks:switch(e=e.type){case Os:case qs:case Ms:case Ds:case Ls:case zs:return e;default:switch(e=e&&e.$$typeof){case _s:case Ns:case Hs:case Fs:case Ts:return e;default:return t}}case Is:return t}}}function Us(e){return Gs(e)===qs}As.AsyncMode=Os,As.ConcurrentMode=qs,As.ContextConsumer=_s,As.ContextProvider=Ts,As.Element=ks,As.ForwardRef=Ns,As.Fragment=Ms,As.Lazy=Hs,As.Memo=Fs,As.Portal=Is,As.Profiler=Ds,As.StrictMode=Ls,As.Suspense=zs,As.isAsyncMode=function(e){return Us(e)||Gs(e)===Os},As.isConcurrentMode=Us,As.isContextConsumer=function(e){return Gs(e)===_s},As.isContextProvider=function(e){return Gs(e)===Ts},As.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ks},As.isForwardRef=function(e){return Gs(e)===Ns},As.isFragment=function(e){return Gs(e)===Ms},As.isLazy=function(e){return Gs(e)===Hs},As.isMemo=function(e){return Gs(e)===Fs},As.isPortal=function(e){return Gs(e)===Is},As.isProfiler=function(e){return Gs(e)===Ds},As.isStrictMode=function(e){return Gs(e)===Ls},As.isSuspense=function(e){return Gs(e)===zs},As.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Ms||e===qs||e===Ds||e===Ls||e===zs||e===js||"object"==typeof e&&null!==e&&(e.$$typeof===Hs||e.$$typeof===Fs||e.$$typeof===Ts||e.$$typeof===_s||e.$$typeof===Ns||e.$$typeof===Bs||e.$$typeof===Ws||e.$$typeof===Vs||e.$$typeof===$s)},As.typeOf=Gs,Rs.exports=As;var Ys=Rs.exports,Ks={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Xs={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Js={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zs={};function Qs(e){return Ys.isMemo(e)?Js:Zs[e.$$typeof]||Ks}Zs[Ys.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zs[Ys.Memo]=Js;var el=Object.defineProperty,tl=Object.getOwnPropertyNames,rl=Object.getOwnPropertySymbols,nl=Object.getOwnPropertyDescriptor,ol=Object.getPrototypeOf,il=Object.prototype;var al=function e(t,r,n){if("string"!=typeof r){if(il){var o=ol(r);o&&o!==il&&e(t,o,n)}var i=tl(r);rl&&(i=i.concat(rl(r)));for(var a=Qs(t),s=Qs(r),l=0;l<i.length;++l){var u=i[l];if(!(Xs[u]||n&&n[u]||s&&s[u]||a&&a[u])){var c=nl(r,u);try{el(t,u,c)}catch(e){}}}}return t},sl=wt(al);function ll(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var r=x.forwardRef((function(r,n){var o=r.innerRef,i=Sr(r,["innerRef"]),a=us()||e;return x.createElement(t,xt({theme:a,ref:o||n},i))}));return sl(r,t),r}}var ul=ll(),cl=Object.freeze({__proto__:null,ServerStyleSheets:Cs,StylesContext:ms,StylesProvider:gs,ThemeProvider:function(e){var t=e.children,r=e.theme,n=us(),o=x.useMemo((function(){var e=null===n?r:function(e,t){return"function"==typeof t?t(e):xt({},e,t)}(n,r);return null!=e&&(e[oo]=null!==n),e}),[r,n]);return x.createElement(ls.Provider,{value:o},t)},createGenerateClassName:ao,createStyles:function(e){return e},getThemeProps:so,jssPreset:ns,makeStyles:xs,mergeClasses:os,sheetsManager:fs,styled:function(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.name,i=Sr(n,["name"]),a=o,s=xs("function"==typeof t?function(e){return{root:function(r){return t(xt({theme:e},r))}}}:{root:t},xt({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(r=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var l=x.forwardRef((function(t,n){var o,i,a,l=t.children,u=t.className,c=t.clone,d=t.component,p=Sr(t,["children","className","clone","component"]),f=ws(s(t).root,u),h=p;if(r&&(o=h,i=r,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),c)return x.cloneElement(l,xt({className:ws(l.props.className,f)},h));if("function"==typeof l)return l(xt({className:f},h));var m=d||e;return x.createElement(m,xt({ref:n,className:f},h),l)}));return sl(l,e),l}},useTheme:us,withStyles:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var n=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=Sr(t,["defaultTheme","withTheme","name"]),l=a,u=xs(e,xt({defaultTheme:n,Component:r,name:a||r.displayName,classNamePrefix:l},s)),c=x.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,l=Sr(e,["classes","innerRef"]),c=u(xt({},r.defaultProps,e)),d=l;return("string"==typeof a||i)&&(o=us()||n,a&&(d=so({theme:o,name:a,props:l})),i&&!d.theme&&(d.theme=o)),x.createElement(r,xt({ref:s||t,classes:c},d))}));return sl(c,r),c}},withTheme:ul,withThemeCreator:ll});
|
|
16
|
+
*/Pi();var Mi=Date.now(),Li="fnValues"+Mi,Di="fnStyle"+ ++Mi,Ti="@global",_i="@global ",Oi=function(){function e(e,t,r){for(var n in this.type="global",this.at=Ti,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new ii(lo({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),qi=function(){function e(e,t,r){this.type="global",this.at=Ti,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(8);this.rule=r.jss.createRule(n,t,lo({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ni=/\s*,\s*/g;function ji(e,t){for(var r=e.split(Ni),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function zi(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===Ti)return new Oi(e,t,r);if("@"===e[0]&&e.substr(0,8)===_i)return new qi(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,o=n?n[Ti]:null;if(o){for(var i in o)t.addRule(i,o[i],lo({},r,{selector:ji(i,e.selector)}));delete n[Ti]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var o in n)if("@"===o[0]&&o.substr(0,7)===Ti){var i=ji(o.substr(7),e.selector);t.addRule(i,n[o],lo({},r,{selector:i})),delete n[o]}}(e,t))}}}var Fi=/\s*,\s*/g,Hi=/&/g,$i=/\$([\w-]+)/g;function Bi(){function e(e,t){return function(r,n){var o=e.getRule(n)||t&&t.getRule(n);return o?o.selector:n}}function t(e,t){for(var r=t.split(Fi),n=e.split(Fi),o="",i=0;i<r.length;i++)for(var a=r[i],s=0;s<n.length;s++){var l=n[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Hi,a):a+" "+l}return o}function r(e,t,r){if(r)return lo({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var o=lo({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(n,o,i){if("style"!==o.type)return n;var a,s,l=o,u=l.options.parent;for(var c in n){var d=-1!==c.indexOf("&"),p="@"===c[0];if(d||p){if(a=r(l,u,a),d){var f=t(c,l.selector);s||(s=e(u,i)),f=f.replace($i,s);var h=l.key+"-"+c;"replaceRule"in u?u.replaceRule(h,n[c],lo({},a,{selector:f})):u.addRule(h,n[c],lo({},a,{selector:f}))}else p&&u.addRule(c,{},a).addRule(l.key,n[c],{selector:l.selector});delete n[c]}}return n}}}var Wi=/[A-Z]/g,Vi=/^ms-/,Gi={};function Ui(e){return"-"+e.toLowerCase()}function Yi(e){if(Gi.hasOwnProperty(e))return Gi[e];var t=e.replace(Wi,Ui);return Gi[e]=Vi.test(t)?"-"+t:t}function Ki(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:Yi(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ki):t.fallbacks=Ki(e.fallbacks)),t}var Xi=ki&&CSS?CSS.px:"px",Ji=ki&&CSS?CSS.ms:"ms",Zi=ki&&CSS?CSS.percent:"%";function Qi(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var ea=Qi({"animation-delay":Ji,"animation-duration":Ji,"background-position":Xi,"background-position-x":Xi,"background-position-y":Xi,"background-size":Xi,border:Xi,"border-bottom":Xi,"border-bottom-left-radius":Xi,"border-bottom-right-radius":Xi,"border-bottom-width":Xi,"border-left":Xi,"border-left-width":Xi,"border-radius":Xi,"border-right":Xi,"border-right-width":Xi,"border-top":Xi,"border-top-left-radius":Xi,"border-top-right-radius":Xi,"border-top-width":Xi,"border-width":Xi,"border-block":Xi,"border-block-end":Xi,"border-block-end-width":Xi,"border-block-start":Xi,"border-block-start-width":Xi,"border-block-width":Xi,"border-inline":Xi,"border-inline-end":Xi,"border-inline-end-width":Xi,"border-inline-start":Xi,"border-inline-start-width":Xi,"border-inline-width":Xi,"border-start-start-radius":Xi,"border-start-end-radius":Xi,"border-end-start-radius":Xi,"border-end-end-radius":Xi,margin:Xi,"margin-bottom":Xi,"margin-left":Xi,"margin-right":Xi,"margin-top":Xi,"margin-block":Xi,"margin-block-end":Xi,"margin-block-start":Xi,"margin-inline":Xi,"margin-inline-end":Xi,"margin-inline-start":Xi,padding:Xi,"padding-bottom":Xi,"padding-left":Xi,"padding-right":Xi,"padding-top":Xi,"padding-block":Xi,"padding-block-end":Xi,"padding-block-start":Xi,"padding-inline":Xi,"padding-inline-end":Xi,"padding-inline-start":Xi,"mask-position-x":Xi,"mask-position-y":Xi,"mask-size":Xi,height:Xi,width:Xi,"min-height":Xi,"max-height":Xi,"min-width":Xi,"max-width":Xi,bottom:Xi,left:Xi,top:Xi,right:Xi,inset:Xi,"inset-block":Xi,"inset-block-end":Xi,"inset-block-start":Xi,"inset-inline":Xi,"inset-inline-end":Xi,"inset-inline-start":Xi,"box-shadow":Xi,"text-shadow":Xi,"column-gap":Xi,"column-rule":Xi,"column-rule-width":Xi,"column-width":Xi,"font-size":Xi,"font-size-delta":Xi,"letter-spacing":Xi,"text-decoration-thickness":Xi,"text-indent":Xi,"text-stroke":Xi,"text-stroke-width":Xi,"word-spacing":Xi,motion:Xi,"motion-offset":Xi,outline:Xi,"outline-offset":Xi,"outline-width":Xi,perspective:Xi,"perspective-origin-x":Zi,"perspective-origin-y":Zi,"transform-origin":Zi,"transform-origin-x":Zi,"transform-origin-y":Zi,"transform-origin-z":Zi,"transition-delay":Ji,"transition-duration":Ji,"vertical-align":Xi,"flex-basis":Xi,"shape-margin":Xi,size:Xi,gap:Xi,grid:Xi,"grid-gap":Xi,"row-gap":Xi,"grid-row-gap":Xi,"grid-column-gap":Xi,"grid-template-rows":Xi,"grid-template-columns":Xi,"grid-auto-rows":Xi,"grid-auto-columns":Xi,"box-shadow-x":Xi,"box-shadow-y":Xi,"box-shadow-blur":Xi,"box-shadow-spread":Xi,"font-line-height":Xi,"text-shadow-x":Xi,"text-shadow-y":Xi,"text-shadow-blur":Xi});function ta(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=ta(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=ta(o,t[o],r);else for(var i in t)t[i]=ta(e+"-"+i,t[i],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||ea[e];return!a||0===t&&a===Xi?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function ra(e){void 0===e&&(e={});var t=Qi(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=ta(n,e[n],t);return e},onChangeValue:function(e,r){return ta(r,e,t)}}}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oa(e){return function(e){if(Array.isArray(e))return na(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return na(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?na(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ia="",aa="",sa="",la="",ua=co&&"ontouchstart"in document.documentElement;if(co){var ca={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},da=document.createElement("p").style;for(var pa in ca)if(pa+"Transform"in da){ia=pa,aa=ca[pa];break}"Webkit"===ia&&"msHyphens"in da&&(ia="ms",aa=ca.ms,la="edge"),"Webkit"===ia&&"-apple-trailing-word"in da&&(sa="apple")}var fa=ia,ha=aa,ma=sa,ga=la,ba=ua;var va={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===fa?"-webkit-"+e:ha+e)}},ya={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===fa?ha+"print-"+e:e)}},xa=/[-\s]+(.)?/g;function Sa(e,t){return t?t.toUpperCase():""}function Ca(e){return e.replace(xa,Sa)}function wa(e){return Ca("-"+e)}var Ea,Ra={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===fa){var r="mask-image";if(Ca(r)in t)return e;if(fa+wa(r)in t)return ha+e}return e}},Aa={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ma||ba?e:ha+e)}},Pa={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:ha+e)}},ka={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:ha+e)}},Ia={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===fa||"ms"===fa&&"edge"!==ga?ha+e:e)}},Ma={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===fa||"ms"===fa||"apple"===ma?ha+e:e)}},La={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===fa?"WebkitColumn"+wa(e)in t&&ha+"column-"+e:"Moz"===fa&&("page"+wa(e)in t&&"page-"+e))}},Da={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===fa)return e;var r=e.replace("-inline","");return fa+wa(r)in t&&ha+r}},Ta={supportedProperty:function(e,t){return Ca(e)in t&&e}},_a={supportedProperty:function(e,t){var r=wa(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:fa+r in t?ha+e:"Webkit"!==fa&&"Webkit"+r in t&&"-webkit-"+e}},Oa={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===fa?""+ha+e:e)}},qa={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===fa?ha+"scroll-chaining":e)}},Na={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},ja={supportedProperty:function(e,t){var r=Na[e];return!!r&&(fa+wa(r)in t&&ha+r)}},za={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Fa=Object.keys(za),Ha=function(e){return ha+e},$a={supportedProperty:function(e,t,r){var n=r.multiple;if(Fa.indexOf(e)>-1){var o=za[e];if(!Array.isArray(o))return fa+wa(o)in t&&ha+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(fa+wa(o[0])in t))return!1;return o.map(Ha)}return!1}},Ba=[va,ya,Ra,Aa,Pa,ka,Ia,Ma,La,Da,Ta,_a,Oa,qa,ja,$a],Wa=Ba.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Va=Ba.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,oa(t.noPrefill)),e}),[]),Ga={};if(co){Ea=document.createElement("p");var Ua=window.getComputedStyle(document.documentElement,"");for(var Ya in Ua)isNaN(Ya)||(Ga[Ua[Ya]]=Ua[Ya]);Va.forEach((function(e){return delete Ga[e]}))}function Ka(e,t){if(void 0===t&&(t={}),!Ea)return e;if(null!=Ga[e])return Ga[e];"transition"!==e&&"transform"!==e||(t[e]=e in Ea.style);for(var r=0;r<Wa.length&&(Ga[e]=Wa[r](e,Ea.style,t),!Ga[e]);r++);try{Ea.style[e]=""}catch(e){return!1}return Ga[e]}var Xa,Ja={},Za={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Qa=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function es(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?Ka(t):", "+Ka(r);return n||(t||r)}function ts(e,t){var r=t;if(!Xa||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Ja[n])return Ja[n];try{Xa.style[e]=r}catch(e){return Ja[n]=!1,!1}if(Za[e])r=r.replace(Qa,es);else if(""===Xa.style[e]&&("-ms-flex"===(r=ha+r)&&(Xa.style[e]="-ms-flexbox"),Xa.style[e]=r,""===Xa.style[e]))return Ja[n]=!1,!1;return Xa.style[e]="",Ja[n]=r,Ja[n]}function rs(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var o=!1,i=Ka(r);i&&i!==r&&(o=!0);var a=!1,s=ts(i,wo(n));s&&s!==n&&(a=!0),(o||a)&&(o&&delete t[r],t[i||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===fa?e:"@"+ha+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return ts(t,wo(e))||e}}}function ns(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=So(e,{},r);return n[Di]=t,n},onProcessStyle:function(e,t){if(Li in t||Di in t)return e;var r={};for(var n in e){var o=e[n];"function"==typeof o&&(delete e[n],r[n]=o)}return t[Li]=r,e},onUpdate:function(e,t,r,n){var o=t,i=o[Di];i&&(o.style=i(e)||{});var a=o[Li];if(a)for(var s in a)o.prop(s,a[s](e),n)}},zi(),Bi(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ki(e[t]);return e}return Ki(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Yi(t);return t===n?e:(r.prop(n,e),null)}},ra(),"undefined"==typeof window?null:rs(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)n[o[i]]=t[o[i]];return n}})]};var e}function os(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,r=e.newClasses;if(e.Component,!r)return t;var n=xt({},t);return Object.keys(r).forEach((function(e){r[e]&&(n[e]="".concat(t[e]," ").concat(r[e]))})),n}co&&(Xa=document.createElement("p"));var is=function(e,t,r,n){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},as=function(e,t,r){var n=e.get(t);return n?n.get(r):void 0},ss=function(e,t,r){e.get(t).delete(r)},ls=x.createContext(null);function us(){return x.useContext(ls)}var cs,ds=Pi(ns()),ps=ao(),fs=new Map,hs={disableGeneration:!1,generateClassName:ps,jss:ds,sheetsCache:null,sheetsManager:fs,sheetsRegistry:null},ms=x.createContext(hs);function gs(e){var t=e.children,r=e.injectFirst,n=void 0!==r&&r,o=e.disableGeneration,i=void 0!==o&&o,a=Sr(e,["children","injectFirst","disableGeneration"]),s=xt({},x.useContext(ms),{disableGeneration:i},a);if(!s.jss.options.insertionPoint&&n&&"undefined"!=typeof window){if(!cs){var l=document.head;cs=document.createComment("mui-inject-first"),l.insertBefore(cs,l.firstChild)}s.jss=Pi({plugins:ns().plugins,insertionPoint:cs})}return x.createElement(ms.Provider,{value:s},t)}var bs=-1e9;var vs={};function ys(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=as(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},is(o.sheetsManager,i,n,s));var l=xt({},i.options,o,{theme:n,flip:"boolean"==typeof o.flip?o.flip:"rtl"===n.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=o.sheetsRegistry;if(0===s.refs){var c;o.sheetsCache&&(c=as(o.sheetsCache,i,n));var d=i.create(n,a);c||((c=o.jss.createStyleSheet(d,xt({link:!1},l))).attach(),o.sheetsCache&&is(o.sheetsCache,i,n,c)),u&&u.add(c),s.staticSheet=c,s.dynamicStyles=Ii(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,xt({link:!0},l));p.update(t),p.attach(),r.dynamicSheet=p,r.classes=os({baseClasses:s.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function xs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?vs:i,s=Sr(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(r,n){var o;try{o=t?e(r):e}catch(e){throw e}if(!n||!r.overrides||!r.overrides[n])return o;var i=r.overrides[n],a=xt({},o);return Object.keys(i).forEach((function(e){a[e]=wt(a[e],i[e])})),a},options:{}}}(e),u=r||n||"makeStyles";l.options={index:bs+=1,name:r,meta:u,classNamePrefix:u};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=us()||a,n=xt({},x.useContext(ms),s),i=x.useRef(),u=x.useRef();!function(e,t){var r,n=x.useRef([]),o=x.useMemo((function(){return{}}),t);n.current!==o&&(n.current=o,r=e()),x.useEffect((function(){return function(){r&&r()}}),[o])}((function(){var o={name:r,state:{},stylesCreator:l,stylesOptions:n,theme:t};return ys(o,e),u.current=!1,i.current=o,function(){!function(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=as(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;0===i.refs&&(ss(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,l]),x.useEffect((function(){u.current&&function(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}(i.current,e),u.current=!0}));var c=function(e,t,r){var n=e.state;if(e.stylesOptions.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,o=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,o=!0),o&&(n.cacheClasses.value=os({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}(i.current,e.classes,o);return c}}function Ss(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Dt(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Cs=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t}return Ss(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new li;var r=ao();return x.createElement(gs,xt({sheetsManager:t,serverGenerateClassName:r,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return x.createElement("style",xt({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}();function ws(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=ws(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Es(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=ws(e))&&(n&&(n+=" "),n+=t);return n}var Rs={exports:{}},As={},Ps="function"==typeof Symbol&&Symbol.for,ks=Ps?Symbol.for("react.element"):60103,Is=Ps?Symbol.for("react.portal"):60106,Ms=Ps?Symbol.for("react.fragment"):60107,Ls=Ps?Symbol.for("react.strict_mode"):60108,Ds=Ps?Symbol.for("react.profiler"):60114,Ts=Ps?Symbol.for("react.provider"):60109,_s=Ps?Symbol.for("react.context"):60110,Os=Ps?Symbol.for("react.async_mode"):60111,qs=Ps?Symbol.for("react.concurrent_mode"):60111,Ns=Ps?Symbol.for("react.forward_ref"):60112,js=Ps?Symbol.for("react.suspense"):60113,zs=Ps?Symbol.for("react.suspense_list"):60120,Fs=Ps?Symbol.for("react.memo"):60115,Hs=Ps?Symbol.for("react.lazy"):60116,$s=Ps?Symbol.for("react.block"):60121,Bs=Ps?Symbol.for("react.fundamental"):60117,Ws=Ps?Symbol.for("react.responder"):60118,Vs=Ps?Symbol.for("react.scope"):60119;function Gs(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ks:switch(e=e.type){case Os:case qs:case Ms:case Ds:case Ls:case js:return e;default:switch(e=e&&e.$$typeof){case _s:case Ns:case Hs:case Fs:case Ts:return e;default:return t}}case Is:return t}}}function Us(e){return Gs(e)===qs}As.AsyncMode=Os,As.ConcurrentMode=qs,As.ContextConsumer=_s,As.ContextProvider=Ts,As.Element=ks,As.ForwardRef=Ns,As.Fragment=Ms,As.Lazy=Hs,As.Memo=Fs,As.Portal=Is,As.Profiler=Ds,As.StrictMode=Ls,As.Suspense=js,As.isAsyncMode=function(e){return Us(e)||Gs(e)===Os},As.isConcurrentMode=Us,As.isContextConsumer=function(e){return Gs(e)===_s},As.isContextProvider=function(e){return Gs(e)===Ts},As.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ks},As.isForwardRef=function(e){return Gs(e)===Ns},As.isFragment=function(e){return Gs(e)===Ms},As.isLazy=function(e){return Gs(e)===Hs},As.isMemo=function(e){return Gs(e)===Fs},As.isPortal=function(e){return Gs(e)===Is},As.isProfiler=function(e){return Gs(e)===Ds},As.isStrictMode=function(e){return Gs(e)===Ls},As.isSuspense=function(e){return Gs(e)===js},As.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Ms||e===qs||e===Ds||e===Ls||e===js||e===zs||"object"==typeof e&&null!==e&&(e.$$typeof===Hs||e.$$typeof===Fs||e.$$typeof===Ts||e.$$typeof===_s||e.$$typeof===Ns||e.$$typeof===Bs||e.$$typeof===Ws||e.$$typeof===Vs||e.$$typeof===$s)},As.typeOf=Gs,Rs.exports=As;var Ys=Rs.exports,Ks={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Xs={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Js={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zs={};function Qs(e){return Ys.isMemo(e)?Js:Zs[e.$$typeof]||Ks}Zs[Ys.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zs[Ys.Memo]=Js;var el=Object.defineProperty,tl=Object.getOwnPropertyNames,rl=Object.getOwnPropertySymbols,nl=Object.getOwnPropertyDescriptor,ol=Object.getPrototypeOf,il=Object.prototype;var al=function e(t,r,n){if("string"!=typeof r){if(il){var o=ol(r);o&&o!==il&&e(t,o,n)}var i=tl(r);rl&&(i=i.concat(rl(r)));for(var a=Qs(t),s=Qs(r),l=0;l<i.length;++l){var u=i[l];if(!(Xs[u]||n&&n[u]||s&&s[u]||a&&a[u])){var c=nl(r,u);try{el(t,u,c)}catch(e){}}}}return t},sl=Et(al);function ll(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var r=x.forwardRef((function(r,n){var o=r.innerRef,i=Sr(r,["innerRef"]),a=us()||e;return x.createElement(t,xt({theme:a,ref:o||n},i))}));return sl(r,t),r}}var ul=ll(),cl=Object.freeze({__proto__:null,ServerStyleSheets:Cs,StylesContext:ms,StylesProvider:gs,ThemeProvider:function(e){var t=e.children,r=e.theme,n=us(),o=x.useMemo((function(){var e=null===n?r:function(e,t){return"function"==typeof t?t(e):xt({},e,t)}(n,r);return null!=e&&(e[oo]=null!==n),e}),[r,n]);return x.createElement(ls.Provider,{value:o},t)},createGenerateClassName:ao,createStyles:function(e){return e},getThemeProps:so,jssPreset:ns,makeStyles:xs,mergeClasses:os,sheetsManager:fs,styled:function(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.name,i=Sr(n,["name"]),a=o,s=xs("function"==typeof t?function(e){return{root:function(r){return t(xt({theme:e},r))}}}:{root:t},xt({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(r=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var l=x.forwardRef((function(t,n){var o,i,a,l=t.children,u=t.className,c=t.clone,d=t.component,p=Sr(t,["children","className","clone","component"]),f=Es(s(t).root,u),h=p;if(r&&(o=h,i=r,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),c)return x.cloneElement(l,xt({className:Es(l.props.className,f)},h));if("function"==typeof l)return l(xt({className:f},h));var m=d||e;return x.createElement(m,xt({ref:n,className:f},h),l)}));return sl(l,e),l}},useTheme:us,withStyles:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var n=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=Sr(t,["defaultTheme","withTheme","name"]),l=a,u=xs(e,xt({defaultTheme:n,Component:r,name:a||r.displayName,classNamePrefix:l},s)),c=x.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,l=Sr(e,["classes","innerRef"]),c=u(xt({},r.defaultProps,e)),d=l;return("string"==typeof a||i)&&(o=us()||n,a&&(d=so({theme:o,name:a,props:l})),i&&!d.theme&&(d.theme=o)),x.createElement(r,xt({ref:s||t,classes:c},d))}));return sl(c,r),c}},withTheme:ul,withThemeCreator:ll});
|
|
17
17
|
/** @license Material-UI v4.11.5
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the MIT license found in the
|
|
20
20
|
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const dl={GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF"},pl={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",...dl,GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},fl=12,hl=14,ml=16,gl=24,bl=3,vl=300,yl=400,xl=600,Sl=700,Cl={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};yr(pl.GREYSCALE_0,.05),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5);yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5);var El={exports:{}},wl={},Rl=x,Al=Symbol.for("react.element"),Pl=Symbol.for("react.fragment"),kl=Object.prototype.hasOwnProperty,Il=Rl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ml={key:!0,ref:!0,__self:!0,__source:!0};function Ll(e,t,r){var n,o={},i=null,a=null;for(n in void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)kl.call(t,n)&&!Ml.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:Al,type:e,key:i,ref:a,props:o,_owner:Il.current}}wl.Fragment=Pl,wl.jsx=Ll,wl.jsxs=Ll,El.exports=wl;var Dl,Tl=El.exports;function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_l.apply(null,arguments)}var Ol,ql=function(e){return S.createElement("svg",_l({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Dl||(Dl=S.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Nl(){return Nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nl.apply(null,arguments)}var zl=function(e){return S.createElement("svg",Nl({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Ol||(Ol=S.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function jl(){let{fontSize:e="medium",children:t=null,className:r=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Tl.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})}function Fl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(jl,{...e,children:Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Tl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Tl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Hl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(jl,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Tl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Tl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function $l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(jl,{fontSize:"medium",...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Tl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Bl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(jl,{fontSize:"medium",...e,children:Tl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Tl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Tl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Wl(e){let{className:t}=e;return Tl.jsx(jl,{fontSize:"small",className:t,children:Tl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Tl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Tl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Tl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}Tl.jsx(zl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Tl.jsx(ql,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Tl.jsx($l,{}),Tl.jsx(Bl,{}),Tl.jsx((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(jl,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Tl.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),Tl.jsx(Fl,{}),Tl.jsx(Hl,{}),Tl.jsx(ql,{style:{color:pl.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Vl={black:"#000",white:"#fff"},Gl="#e57373",Ul="#ef5350",Yl="#f44336",Kl="#d32f2f",Xl="#c62828",Jl="#f3e5f5",Zl="#ce93d8",Ql="#ba68c8",eu="#ab47bc",tu="#9c27b0",ru="#7b1fa2",nu="#e3f2fd",ou="#90caf9",iu="#42a5f5",au="#1976d2",su="#1565c0",lu="#4fc3f7",uu="#29b6f6",cu="#03a9f4",du="#0288d1",pu="#01579b",fu="#81c784",hu="#66bb6a",mu="#4caf50",gu="#388e3c",bu="#2e7d32",vu="#1b5e20",yu="#ffb74d",xu="#ffa726",Su="#ff9800",Cu="#f57c00",Eu="#e65100",wu={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ru(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Au=Object.freeze({__proto__:null,default:Ru}),Pu="$$material";function ku(){return ku=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ku.apply(this,arguments)}function Iu(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var Mu=function(){return Mu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mu.apply(this,arguments)};function Lu(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Du=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=r?r.call(n,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0},Tu=wt(Du),_u="-ms-",Ou="-moz-",qu="-webkit-",Nu="comm",zu="rule",ju="decl",Fu="@keyframes",Hu=Math.abs,$u=String.fromCharCode,Bu=Object.assign;function Wu(e){return e.trim()}function Vu(e,t){return(e=t.exec(e))?e[0]:e}function Gu(e,t,r){return e.replace(t,r)}function Uu(e,t,r){return e.indexOf(t,r)}function Yu(e,t){return 0|e.charCodeAt(t)}function Ku(e,t,r){return e.slice(t,r)}function Xu(e){return e.length}function Ju(e){return e.length}function Zu(e,t){return t.push(e),e}function Qu(e,t){return e.filter((function(e){return!Vu(e,t)}))}var ec=1,tc=1,rc=0,nc=0,oc=0,ic="";function ac(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:ec,column:tc,length:a,return:"",siblings:s}}function sc(e,t){return Bu(ac("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function lc(e){for(;e.root;)e=sc(e.root,{children:[e]});Zu(e,e.siblings)}function uc(){return oc=nc<rc?Yu(ic,nc++):0,tc++,10===oc&&(tc=1,ec++),oc}function cc(){return Yu(ic,nc)}function dc(){return nc}function pc(e,t){return Ku(ic,e,t)}function fc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function hc(e){return Wu(pc(nc-1,bc(91===e?e+2:40===e?e+1:e)))}function mc(e){for(;(oc=cc())&&oc<33;)uc();return fc(e)>2||fc(oc)>3?"":" "}function gc(e,t){for(;--t&&uc()&&!(oc<48||oc>102||oc>57&&oc<65||oc>70&&oc<97););return pc(e,dc()+(t<6&&32==cc()&&32==uc()))}function bc(e){for(;uc();)switch(oc){case e:return nc;case 34:case 39:34!==e&&39!==e&&bc(oc);break;case 40:41===e&&bc(e);break;case 92:uc()}return nc}function vc(e,t){for(;uc()&&e+oc!==57&&(e+oc!==84||47!==cc()););return"/*"+pc(t,nc-1)+"*"+$u(47===e?e:uc())}function yc(e){for(;!fc(cc());)uc();return pc(e,nc)}function xc(e){return function(e){return ic="",e}(Sc("",null,null,null,[""],e=function(e){return ec=tc=1,rc=Xu(ic=e),nc=0,[]}(e),0,[0],e))}function Sc(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,E=y;g;)switch(h=v,v=uc()){case 40:if(108!=h&&58==Yu(E,d-1)){-1!=Uu(E+=Gu(hc(v),"&","&\f"),"&\f",Hu(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:E+=hc(v);break;case 9:case 10:case 13:case 32:E+=mc(h);break;case 92:E+=gc(dc()-1,7);continue;case 47:switch(cc()){case 42:case 47:Zu(Ec(vc(uc(),dc()),t,r,l),l);break;default:E+="/"}break;case 123*m:s[u++]=Xu(E)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(E=Gu(E,/\f/g,"")),f>0&&Xu(E)-d&&Zu(f>32?wc(E+";",n,r,d-1,l):wc(Gu(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(Zu(C=Cc(E,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)Sc(E,t,C,C,x,i,d,s,S);else switch(99===p&&110===Yu(E,3)?100:p){case 100:case 108:case 109:case 115:Sc(e,C,C,n&&Zu(Cc(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S);break;default:Sc(E,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=E="",d=a;break;case 58:d=1+Xu(E),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(oc=nc>0?Yu(ic,--nc):0,tc--,10===oc&&(tc=1,ec--),oc))continue;switch(E+=$u(v),v*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(Xu(E)-1)*b,b=1;break;case 64:45===cc()&&(E+=hc(uc())),p=cc(),c=d=Xu(y=E+=yc(dc())),v++;break;case 45:45===h&&2==Xu(E)&&(m=0)}}return i}function Cc(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=Ju(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=Ku(e,p+1,p=Hu(g=a[m])),x=e;v<h;++v)(x=Wu(g>0?f[v]+" "+y:Gu(y,/&\f/g,f[v])))&&(l[b++]=x);return ac(e,t,r,0===o?zu:s,l,u,c,d)}function Ec(e,t,r,n){return ac(e,t,r,Nu,$u(oc),Ku(e,2,-2),0,n)}function wc(e,t,r,n,o){return ac(e,t,r,ju,Ku(e,0,n),Ku(e,n+1,-1),n,o)}function Rc(e,t,r){switch(function(e,t){return 45^Yu(e,0)?(((t<<2^Yu(e,0))<<2^Yu(e,1))<<2^Yu(e,2))<<2^Yu(e,3):0}(e,t)){case 5103:return qu+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qu+e+e;case 4789:return Ou+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qu+e+Ou+e+_u+e+e;case 5936:switch(Yu(e,t+11)){case 114:return qu+e+_u+Gu(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qu+e+_u+Gu(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qu+e+_u+Gu(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return qu+e+_u+e+e;case 6165:return qu+e+_u+"flex-"+e+e;case 5187:return qu+e+Gu(e,/(\w+).+(:[^]+)/,qu+"box-$1$2"+_u+"flex-$1$2")+e;case 5443:return qu+e+_u+"flex-item-"+Gu(e,/flex-|-self/g,"")+(Vu(e,/flex-|baseline/)?"":_u+"grid-row-"+Gu(e,/flex-|-self/g,""))+e;case 4675:return qu+e+_u+"flex-line-pack"+Gu(e,/align-content|flex-|-self/g,"")+e;case 5548:return qu+e+_u+Gu(e,"shrink","negative")+e;case 5292:return qu+e+_u+Gu(e,"basis","preferred-size")+e;case 6060:return qu+"box-"+Gu(e,"-grow","")+qu+e+_u+Gu(e,"grow","positive")+e;case 4554:return qu+Gu(e,/([^-])(transform)/g,"$1"+qu+"$2")+e;case 6187:return Gu(Gu(Gu(e,/(zoom-|grab)/,qu+"$1"),/(image-set)/,qu+"$1"),e,"")+e;case 5495:case 3959:return Gu(e,/(image-set\([^]*)/,qu+"$1$`$1");case 4968:return Gu(Gu(e,/(.+:)(flex-)?(.*)/,qu+"box-pack:$3"+_u+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qu+e+e;case 4200:if(!Vu(e,/flex-|baseline/))return _u+"grid-column-align"+Ku(e,t)+e;break;case 2592:case 3360:return _u+Gu(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,Vu(e.props,/grid-\w+-end/)}))?~Uu(e+(r=r[t].value),"span",0)?e:_u+Gu(e,"-start","")+e+_u+"grid-row-span:"+(~Uu(r,"span",0)?Vu(r,/\d+/):+Vu(r,/\d+/)-+Vu(e,/\d+/))+";":_u+Gu(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return Vu(e.props,/grid-\w+-start/)}))?e:_u+Gu(Gu(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Gu(e,/(.+)-inline(.+)/,qu+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xu(e)-1-t>6)switch(Yu(e,t+1)){case 109:if(45!==Yu(e,t+4))break;case 102:return Gu(e,/(.+:)(.+)-([^]+)/,"$1"+qu+"$2-$3$1"+Ou+(108==Yu(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Uu(e,"stretch",0)?Rc(Gu(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Gu(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,n,o,i,a,s){return _u+r+":"+n+s+(o?_u+r+"-span:"+(i?a:+a-+n)+s:"")+e}));case 4949:if(121===Yu(e,t+6))return Gu(e,":",":"+qu)+e;break;case 6444:switch(Yu(e,45===Yu(e,14)?18:11)){case 120:return Gu(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+qu+(45===Yu(e,14)?"inline-":"")+"box$3$1"+qu+"$2$3$1"+_u+"$2box$3")+e;case 100:return Gu(e,":",":"+_u)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Gu(e,"scroll-","scroll-snap-")+e}return e}function Ac(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Pc(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ju:return e.return=e.return||e.value;case Nu:return"";case Fu:return e.return=e.value+"{"+Ac(e.children,n)+"}";case zu:if(!Xu(e.value=e.props.join(",")))return""}return Xu(r=Ac(e.children,n))?e.return=e.value+"{"+r+"}":""}function kc(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ju:return void(e.return=Rc(e.value,e.length,r));case Fu:return Ac([sc(e,{value:Gu(e.value,"@","@"+qu)})],n);case zu:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(Vu(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lc(sc(e,{props:[Gu(t,/:(read-\w+)/,":-moz-$1")]})),lc(sc(e,{props:[t]})),Bu(e,{props:Qu(r,n)});break;case"::placeholder":lc(sc(e,{props:[Gu(t,/:(plac\w+)/,":"+qu+"input-$1")]})),lc(sc(e,{props:[Gu(t,/:(plac\w+)/,":-moz-$1")]})),lc(sc(e,{props:[Gu(t,/:(plac\w+)/,_u+"input-$1")]})),lc(sc(e,{props:[t]})),Bu(e,{props:Qu(r,n)})}return""}))}}var Ic={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Lc="active",Dc="data-styled-version",Tc="6.1.18",_c="/*!sc*/\n",Oc="undefined"!=typeof window&&"undefined"!=typeof document,qc=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),Nc={},zc=Object.freeze([]),jc=Object.freeze({});function Fc(e,t,r){return void 0===r&&(r=jc),e.theme!==r.theme&&e.theme||t||r.theme}var Hc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),$c=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Bc=/(^-|-$)/g;function Wc(e){return e.replace($c,"-").replace(Bc,"")}var Vc=/(a)(d)/gi,Gc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Uc(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Gc(t%52)+r;return(Gc(t%52)+r).replace(Vc,"$1-$2")}var Yc,Kc=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Xc=function(e){return Kc(5381,e)};function Jc(e){return Uc(Xc(e)>>>0)}function Zc(e){return"string"==typeof e&&!0}var Qc="function"==typeof Symbol&&Symbol.for,ed=Qc?Symbol.for("react.memo"):60115,td=Qc?Symbol.for("react.forward_ref"):60112,rd={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},nd={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},od={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},id=((Yc={})[td]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Yc[ed]=od,Yc);function ad(e){return("type"in(t=e)&&t.type.$$typeof)===ed?od:"$$typeof"in e?id[e.$$typeof]:rd;var t}var sd=Object.defineProperty,ld=Object.getOwnPropertyNames,ud=Object.getOwnPropertySymbols,cd=Object.getOwnPropertyDescriptor,dd=Object.getPrototypeOf,pd=Object.prototype;function fd(e,t,r){if("string"!=typeof t){if(pd){var n=dd(t);n&&n!==pd&&fd(e,n,r)}var o=ld(t);ud&&(o=o.concat(ud(t)));for(var i=ad(e),a=ad(t),s=0;s<o.length;++s){var l=o[s];if(!(l in nd||r&&r[l]||a&&l in a||i&&l in i)){var u=cd(t,l);try{sd(e,l,u)}catch(e){}}}}return e}function hd(e){return"function"==typeof e}function md(e){return"object"==typeof e&&"styledComponentId"in e}function gd(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function bd(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function vd(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function yd(e,t,r){if(void 0===r&&(r=!1),!r&&!vd(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=yd(e[n],t[n]);else if(vd(t))for(var n in t)e[n]=yd(e[n],t[n]);return e}function xd(e,t){Object.defineProperty(e,"toString",{value:t})}function Sd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Cd=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw Sd(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(_c);return t},e}(),Ed=new Map,wd=new Map,Rd=1,Ad=function(e){if(Ed.has(e))return Ed.get(e);for(;wd.has(Rd);)Rd++;var t=Rd++;return Ed.set(e,t),wd.set(t,e),t},Pd=function(e,t){Rd=t+1,Ed.set(e,t),wd.set(t,e)},kd="style[".concat(Mc,"][").concat(Dc,'="').concat(Tc,'"]'),Id=new RegExp("^".concat(Mc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Md=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Ld=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(_c),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var l=s.match(Id);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(Pd(c,u),Md(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},Dd=function(e){for(var t=document.querySelectorAll(kd),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(Mc)!==Lc&&(Ld(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var Td=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Mc,"]")));return t[t.length-1]}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(Mc,Lc),n.setAttribute(Dc,Tc);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},_d=function(){function e(e){this.element=Td(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}throw Sd(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Od=function(){function e(e){this.element=Td(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),qd=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Nd=Oc,zd={isServer:!Oc,useCSSOMInjection:!qc},jd=function(){function e(e,t,r){void 0===e&&(e=jc),void 0===t&&(t={});var n=this;this.options=Mu(Mu({},zd),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Oc&&Nd&&(Nd=!1,Dd(this)),xd(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=function(r){var o=function(e){return wd.get(e)}(r);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(r);if(void 0===i||!i.size||0===a.length)return"continue";var s="".concat(Mc,".g").concat(r,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(_c)},i=0;i<r;i++)o(i);return n}(n)}))}return e.registerId=function(e){return Ad(e)},e.prototype.rehydrate=function(){!this.server&&Oc&&Dd(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Mu(Mu({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new qd(r):t?new _d(r):new Od(r)}(this.options),new Cd(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Ad(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Ad(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Ad(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Fd=/&/g,Hd=/^\s*\/\/.*$/gm;function $d(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=$d(e.children,t)),e}))}function Bd(e){var t,r,n,o=void 0===e?jc:e,i=o.options,a=void 0===i?jc:i,s=o.plugins,l=void 0===s?zc:s,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},c=l.slice();c.push((function(e){e.type===zu&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Fd,r).replace(n,u))})),a.prefix&&c.push(kc),c.push(Pc);var d=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Hd,""),u=xc(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(u=$d(u,a.namespace));var d,p=[];return Ac(u,function(e){var t=Ju(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}(c.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=l.length?l.reduce((function(e,t){return t.name||Sd(15),Kc(e,t.name)}),5381).toString():"",d}var Wd=new jd,Vd=Bd(),Gd=x.createContext({shouldForwardProp:void 0,styleSheet:Wd,stylis:Vd});Gd.Consumer;var Ud=x.createContext(void 0);function Yd(){return C(Gd)}function Kd(e){var t=E(e.stylisPlugins),r=t[0],n=t[1],o=Yd().styleSheet,i=w((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),a=w((function(){return Bd({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);R((function(){Tu(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var s=w((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a}}),[e.shouldForwardProp,i,a]);return x.createElement(Gd.Provider,{value:s},x.createElement(Ud.Provider,{value:a},e.children))}var Xd=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Vd);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,xd(this,(function(){throw Sd(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Vd),this.name+e.hash},e}(),Jd=function(e){return e>="A"&&e<="Z"};function Zd(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Jd(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Qd=function(e){return null==e||!1===e||""===e},ep=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Qd(i)&&(Array.isArray(i)&&i.isCss||hd(i)?n.push("".concat(Zd(o),":"),i,";"):vd(i)?n.push.apply(n,Lu(Lu(["".concat(o," {")],ep(i),!1),["}"],!1)):n.push("".concat(Zd(o),": ").concat((t=o,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in Ic||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function tp(e,t,r,n){return Qd(e)?[]:md(e)?[".".concat(e.styledComponentId)]:hd(e)?!hd(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:tp(e(t),t,r,n):e instanceof Xd?r?(e.inject(r,n),[e.getName(n)]):[e]:vd(e)?ep(e):Array.isArray(e)?Array.prototype.concat.apply(zc,e.map((function(e){return tp(e,t,r,n)}))):[e.toString()];var o}function rp(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(hd(r)&&!md(r))return!1}return!0}var np=Xc(Tc),op=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&rp(e),this.componentId=t,this.baseHash=Kc(np,t),this.baseStyle=r,jd.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=gd(n,this.staticRulesId);else{var o=bd(tp(this.rules,e,t,r)),i=Uc(Kc(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=gd(n,i),this.staticRulesId=i}else{for(var s=Kc(this.baseHash,r.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=bd(tp(c,e,t,r));s=Kc(s,d+u),l+=d}}if(l){var p=Uc(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(l,".".concat(p),void 0,this.componentId)),n=gd(n,p)}}return n},e}(),ip=x.createContext(void 0);ip.Consumer;var ap={};function sp(e,t,r){var n=md(e),o=e,i=!Zc(e),a=t.attrs,s=void 0===a?zc:a,l=t.componentId,u=void 0===l?function(e,t){var r="string"!=typeof e?"sc":Wc(e);ap[r]=(ap[r]||0)+1;var n="".concat(r,"-").concat(Jc(Tc+r+ap[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return Zc(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,p=t.displayName&&t.componentId?"".concat(Wc(t.displayName),"-").concat(t.componentId):t.componentId||u,f=n&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(n&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;h=function(e,t){return m(e,t)&&g(e,t)}}else h=m}var b=new op(r,p,n?o.componentStyle:void 0);function v(e,t){return function(e,t,r){var n=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=x.useContext(ip),c=Yd(),d=e.shouldForwardProp||c.shouldForwardProp,p=Fc(t,u,i)||jc,f=function(e,t,r){for(var n,o=Mu(Mu({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var a=hd(n=e[i])?n(o):n;for(var s in a)o[s]="className"===s?gd(o[s],a[s]):"style"===s?Mu(Mu({},o[s]),a[s]):a[s]}return t.className&&(o.className=gd(o.className,t.className)),o}(n,t,p),h=f.as||l,m={};for(var g in f)void 0===f[g]||"$"===g[0]||"as"===g||"theme"===g&&f.theme===p||("forwardedAs"===g?m.as=f.forwardedAs:d&&!d(g,h)||(m[g]=f[g]));var b=function(e,t){var r=Yd();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(o,f),v=gd(a,s);return b&&(v+=" "+b),f.className&&(v+=" "+f.className),m[Zc(h)&&!Hc.has(h)?"class":"className"]=v,r&&(m.ref=r),A(h,m)}(y,e,t)}v.displayName=d;var y=x.forwardRef(v);return y.attrs=f,y.componentStyle=b,y.displayName=d,y.shouldForwardProp=h,y.foldedComponentIds=n?gd(o.foldedComponentIds,o.styledComponentId):"",y.styledComponentId=p,y.target=n?o.target:e,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)yd(e,o[n],!0);return e}({},o.defaultProps,e):e}}),xd(y,(function(){return".".concat(y.styledComponentId)})),i&&fd(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function lp(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var up=function(e){return Object.assign(e,{isCss:!0})};function cp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(hd(e)||vd(e))return up(tp(lp(zc,Lu([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?tp(n):up(tp(lp(n,t)))}function dp(e,t,r){if(void 0===r&&(r=jc),!t)throw Sd(1,t);var n=function(n){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,r,cp.apply(void 0,Lu([n],o,!1)))};return n.attrs=function(n){return dp(e,t,Mu(Mu({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return dp(e,t,Mu(Mu({},r),n))},n}var pp=function(e){return dp(sp,e)},fp=pp;Hc.forEach((function(e){fp[e]=pp(e)}));var hp=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=rp(e),jd.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(bd(tp(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&jd.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function mp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=bd(cp.apply(void 0,Lu([e],t,!1))),o=Jc(n);return new Xd(o,n)}function gp(e){const{injectFirst:t,children:r}=e;if(t&&"undefined"!=typeof window){const e=document.head;if(!e.querySelector('[data-styled="active"]')){const t=document.createElement("style");t.setAttribute("data-styled","active"),e.insertBefore(t,e.firstChild)}}return r}gp.propTypes={children:It.node,injectFirst:It.bool};const bp=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=cp.apply(void 0,Lu([e],t,!1)),o="sc-global-".concat(Jc(JSON.stringify(n))),i=new hp(n,o),a=function(e){var t=Yd(),r=x.useContext(ip),n=x.useRef(t.styleSheet.allocateGSInstance(o)).current;return t.styleSheet.server&&s(n,e,t.styleSheet,r,t.stylis),x.useLayoutEffect((function(){if(!t.styleSheet.server)return s(n,e,t.styleSheet,r,t.stylis),function(){return i.removeStyles(n,t.styleSheet)}}),[n,e,t.styleSheet,r,t.stylis]),null};function s(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,Nc,r,o);else{var s=Mu(Mu({},t),{theme:Fc(t,n,a.defaultProps)});i.renderStyles(e,s,r,o)}}return x.memo(a)}((e=>{const{styles:t,defaultTheme:r={}}=e;return"function"==typeof t?t(null==(n=e.theme)||0===Object.keys(n).length?r:e.theme):t;var n}));
|
|
21
|
+
*/const dl={GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF"},pl={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",...dl,GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},fl=12,hl=14,ml=16,gl=24,bl=3,vl=300,yl=400,xl=600,Sl=700,Cl={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};yr(pl.GREYSCALE_0,.05),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5);yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5),yr(pl.GREEN_PALE,.5),yr(pl.BLUE_PALE,.5);var wl={exports:{}},El={},Rl=x,Al=Symbol.for("react.element"),Pl=Symbol.for("react.fragment"),kl=Object.prototype.hasOwnProperty,Il=Rl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ml={key:!0,ref:!0,__self:!0,__source:!0};function Ll(e,t,r){var n,o={},i=null,a=null;for(n in void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)kl.call(t,n)&&!Ml.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:Al,type:e,key:i,ref:a,props:o,_owner:Il.current}}El.Fragment=Pl,El.jsx=Ll,El.jsxs=Ll,wl.exports=El;var Dl,Tl=wl.exports;function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_l.apply(null,arguments)}var Ol,ql=function(e){return S.createElement("svg",_l({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Dl||(Dl=S.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Nl(){return Nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nl.apply(null,arguments)}var jl=function(e){return S.createElement("svg",Nl({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Ol||(Ol=S.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function zl(){let{fontSize:e="medium",children:t=null,className:r=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Tl.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})}function Fl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(zl,{...e,children:Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Tl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Tl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Hl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(zl,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Tl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Tl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function $l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(zl,{fontSize:"medium",...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Tl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Bl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(zl,{fontSize:"medium",...e,children:Tl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Tl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Tl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Wl(e){let{className:t}=e;return Tl.jsx(zl,{fontSize:"small",className:t,children:Tl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Tl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Tl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Tl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}Tl.jsx(jl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Tl.jsx(ql,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Tl.jsx($l,{}),Tl.jsx(Bl,{}),Tl.jsx((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(zl,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Tl.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),Tl.jsx(Fl,{}),Tl.jsx(Hl,{}),Tl.jsx(ql,{style:{color:pl.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Vl={black:"#000",white:"#fff"},Gl="#e57373",Ul="#ef5350",Yl="#f44336",Kl="#d32f2f",Xl="#c62828",Jl="#f3e5f5",Zl="#ce93d8",Ql="#ba68c8",eu="#ab47bc",tu="#9c27b0",ru="#7b1fa2",nu="#e3f2fd",ou="#90caf9",iu="#42a5f5",au="#1976d2",su="#1565c0",lu="#4fc3f7",uu="#29b6f6",cu="#03a9f4",du="#0288d1",pu="#01579b",fu="#81c784",hu="#66bb6a",mu="#4caf50",gu="#388e3c",bu="#2e7d32",vu="#1b5e20",yu="#ffb74d",xu="#ffa726",Su="#ff9800",Cu="#f57c00",wu="#e65100",Eu={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ru(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Au=Object.freeze({__proto__:null,default:Ru}),Pu="$$material";function ku(){return ku=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ku.apply(this,arguments)}function Iu(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var Mu=function(){return Mu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mu.apply(this,arguments)};function Lu(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Du=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=r?r.call(n,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0},Tu=Et(Du),_u="-ms-",Ou="-moz-",qu="-webkit-",Nu="comm",ju="rule",zu="decl",Fu="@keyframes",Hu=Math.abs,$u=String.fromCharCode,Bu=Object.assign;function Wu(e){return e.trim()}function Vu(e,t){return(e=t.exec(e))?e[0]:e}function Gu(e,t,r){return e.replace(t,r)}function Uu(e,t,r){return e.indexOf(t,r)}function Yu(e,t){return 0|e.charCodeAt(t)}function Ku(e,t,r){return e.slice(t,r)}function Xu(e){return e.length}function Ju(e){return e.length}function Zu(e,t){return t.push(e),e}function Qu(e,t){return e.filter((function(e){return!Vu(e,t)}))}var ec=1,tc=1,rc=0,nc=0,oc=0,ic="";function ac(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:ec,column:tc,length:a,return:"",siblings:s}}function sc(e,t){return Bu(ac("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function lc(e){for(;e.root;)e=sc(e.root,{children:[e]});Zu(e,e.siblings)}function uc(){return oc=nc<rc?Yu(ic,nc++):0,tc++,10===oc&&(tc=1,ec++),oc}function cc(){return Yu(ic,nc)}function dc(){return nc}function pc(e,t){return Ku(ic,e,t)}function fc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function hc(e){return Wu(pc(nc-1,bc(91===e?e+2:40===e?e+1:e)))}function mc(e){for(;(oc=cc())&&oc<33;)uc();return fc(e)>2||fc(oc)>3?"":" "}function gc(e,t){for(;--t&&uc()&&!(oc<48||oc>102||oc>57&&oc<65||oc>70&&oc<97););return pc(e,dc()+(t<6&&32==cc()&&32==uc()))}function bc(e){for(;uc();)switch(oc){case e:return nc;case 34:case 39:34!==e&&39!==e&&bc(oc);break;case 40:41===e&&bc(e);break;case 92:uc()}return nc}function vc(e,t){for(;uc()&&e+oc!==57&&(e+oc!==84||47!==cc()););return"/*"+pc(t,nc-1)+"*"+$u(47===e?e:uc())}function yc(e){for(;!fc(cc());)uc();return pc(e,nc)}function xc(e){return function(e){return ic="",e}(Sc("",null,null,null,[""],e=function(e){return ec=tc=1,rc=Xu(ic=e),nc=0,[]}(e),0,[0],e))}function Sc(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,w=y;g;)switch(h=v,v=uc()){case 40:if(108!=h&&58==Yu(w,d-1)){-1!=Uu(w+=Gu(hc(v),"&","&\f"),"&\f",Hu(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:w+=hc(v);break;case 9:case 10:case 13:case 32:w+=mc(h);break;case 92:w+=gc(dc()-1,7);continue;case 47:switch(cc()){case 42:case 47:Zu(wc(vc(uc(),dc()),t,r,l),l);break;default:w+="/"}break;case 123*m:s[u++]=Xu(w)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(w=Gu(w,/\f/g,"")),f>0&&Xu(w)-d&&Zu(f>32?Ec(w+";",n,r,d-1,l):Ec(Gu(w," ","")+";",n,r,d-2,l),l);break;case 59:w+=";";default:if(Zu(C=Cc(w,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)Sc(w,t,C,C,x,i,d,s,S);else switch(99===p&&110===Yu(w,3)?100:p){case 100:case 108:case 109:case 115:Sc(e,C,C,n&&Zu(Cc(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S);break;default:Sc(w,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=w="",d=a;break;case 58:d=1+Xu(w),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(oc=nc>0?Yu(ic,--nc):0,tc--,10===oc&&(tc=1,ec--),oc))continue;switch(w+=$u(v),v*m){case 38:b=c>0?1:(w+="\f",-1);break;case 44:s[u++]=(Xu(w)-1)*b,b=1;break;case 64:45===cc()&&(w+=hc(uc())),p=cc(),c=d=Xu(y=w+=yc(dc())),v++;break;case 45:45===h&&2==Xu(w)&&(m=0)}}return i}function Cc(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=Ju(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=Ku(e,p+1,p=Hu(g=a[m])),x=e;v<h;++v)(x=Wu(g>0?f[v]+" "+y:Gu(y,/&\f/g,f[v])))&&(l[b++]=x);return ac(e,t,r,0===o?ju:s,l,u,c,d)}function wc(e,t,r,n){return ac(e,t,r,Nu,$u(oc),Ku(e,2,-2),0,n)}function Ec(e,t,r,n,o){return ac(e,t,r,zu,Ku(e,0,n),Ku(e,n+1,-1),n,o)}function Rc(e,t,r){switch(function(e,t){return 45^Yu(e,0)?(((t<<2^Yu(e,0))<<2^Yu(e,1))<<2^Yu(e,2))<<2^Yu(e,3):0}(e,t)){case 5103:return qu+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qu+e+e;case 4789:return Ou+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qu+e+Ou+e+_u+e+e;case 5936:switch(Yu(e,t+11)){case 114:return qu+e+_u+Gu(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qu+e+_u+Gu(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qu+e+_u+Gu(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return qu+e+_u+e+e;case 6165:return qu+e+_u+"flex-"+e+e;case 5187:return qu+e+Gu(e,/(\w+).+(:[^]+)/,qu+"box-$1$2"+_u+"flex-$1$2")+e;case 5443:return qu+e+_u+"flex-item-"+Gu(e,/flex-|-self/g,"")+(Vu(e,/flex-|baseline/)?"":_u+"grid-row-"+Gu(e,/flex-|-self/g,""))+e;case 4675:return qu+e+_u+"flex-line-pack"+Gu(e,/align-content|flex-|-self/g,"")+e;case 5548:return qu+e+_u+Gu(e,"shrink","negative")+e;case 5292:return qu+e+_u+Gu(e,"basis","preferred-size")+e;case 6060:return qu+"box-"+Gu(e,"-grow","")+qu+e+_u+Gu(e,"grow","positive")+e;case 4554:return qu+Gu(e,/([^-])(transform)/g,"$1"+qu+"$2")+e;case 6187:return Gu(Gu(Gu(e,/(zoom-|grab)/,qu+"$1"),/(image-set)/,qu+"$1"),e,"")+e;case 5495:case 3959:return Gu(e,/(image-set\([^]*)/,qu+"$1$`$1");case 4968:return Gu(Gu(e,/(.+:)(flex-)?(.*)/,qu+"box-pack:$3"+_u+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qu+e+e;case 4200:if(!Vu(e,/flex-|baseline/))return _u+"grid-column-align"+Ku(e,t)+e;break;case 2592:case 3360:return _u+Gu(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,Vu(e.props,/grid-\w+-end/)}))?~Uu(e+(r=r[t].value),"span",0)?e:_u+Gu(e,"-start","")+e+_u+"grid-row-span:"+(~Uu(r,"span",0)?Vu(r,/\d+/):+Vu(r,/\d+/)-+Vu(e,/\d+/))+";":_u+Gu(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return Vu(e.props,/grid-\w+-start/)}))?e:_u+Gu(Gu(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Gu(e,/(.+)-inline(.+)/,qu+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xu(e)-1-t>6)switch(Yu(e,t+1)){case 109:if(45!==Yu(e,t+4))break;case 102:return Gu(e,/(.+:)(.+)-([^]+)/,"$1"+qu+"$2-$3$1"+Ou+(108==Yu(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Uu(e,"stretch",0)?Rc(Gu(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Gu(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,n,o,i,a,s){return _u+r+":"+n+s+(o?_u+r+"-span:"+(i?a:+a-+n)+s:"")+e}));case 4949:if(121===Yu(e,t+6))return Gu(e,":",":"+qu)+e;break;case 6444:switch(Yu(e,45===Yu(e,14)?18:11)){case 120:return Gu(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+qu+(45===Yu(e,14)?"inline-":"")+"box$3$1"+qu+"$2$3$1"+_u+"$2box$3")+e;case 100:return Gu(e,":",":"+_u)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Gu(e,"scroll-","scroll-snap-")+e}return e}function Ac(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Pc(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case zu:return e.return=e.return||e.value;case Nu:return"";case Fu:return e.return=e.value+"{"+Ac(e.children,n)+"}";case ju:if(!Xu(e.value=e.props.join(",")))return""}return Xu(r=Ac(e.children,n))?e.return=e.value+"{"+r+"}":""}function kc(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case zu:return void(e.return=Rc(e.value,e.length,r));case Fu:return Ac([sc(e,{value:Gu(e.value,"@","@"+qu)})],n);case ju:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(Vu(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lc(sc(e,{props:[Gu(t,/:(read-\w+)/,":-moz-$1")]})),lc(sc(e,{props:[t]})),Bu(e,{props:Qu(r,n)});break;case"::placeholder":lc(sc(e,{props:[Gu(t,/:(plac\w+)/,":"+qu+"input-$1")]})),lc(sc(e,{props:[Gu(t,/:(plac\w+)/,":-moz-$1")]})),lc(sc(e,{props:[Gu(t,/:(plac\w+)/,_u+"input-$1")]})),lc(sc(e,{props:[t]})),Bu(e,{props:Qu(r,n)})}return""}))}}var Ic={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Lc="active",Dc="data-styled-version",Tc="6.1.18",_c="/*!sc*/\n",Oc="undefined"!=typeof window&&"undefined"!=typeof document,qc=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),Nc={},jc=Object.freeze([]),zc=Object.freeze({});function Fc(e,t,r){return void 0===r&&(r=zc),e.theme!==r.theme&&e.theme||t||r.theme}var Hc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),$c=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Bc=/(^-|-$)/g;function Wc(e){return e.replace($c,"-").replace(Bc,"")}var Vc=/(a)(d)/gi,Gc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Uc(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Gc(t%52)+r;return(Gc(t%52)+r).replace(Vc,"$1-$2")}var Yc,Kc=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Xc=function(e){return Kc(5381,e)};function Jc(e){return Uc(Xc(e)>>>0)}function Zc(e){return"string"==typeof e&&!0}var Qc="function"==typeof Symbol&&Symbol.for,ed=Qc?Symbol.for("react.memo"):60115,td=Qc?Symbol.for("react.forward_ref"):60112,rd={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},nd={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},od={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},id=((Yc={})[td]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Yc[ed]=od,Yc);function ad(e){return("type"in(t=e)&&t.type.$$typeof)===ed?od:"$$typeof"in e?id[e.$$typeof]:rd;var t}var sd=Object.defineProperty,ld=Object.getOwnPropertyNames,ud=Object.getOwnPropertySymbols,cd=Object.getOwnPropertyDescriptor,dd=Object.getPrototypeOf,pd=Object.prototype;function fd(e,t,r){if("string"!=typeof t){if(pd){var n=dd(t);n&&n!==pd&&fd(e,n,r)}var o=ld(t);ud&&(o=o.concat(ud(t)));for(var i=ad(e),a=ad(t),s=0;s<o.length;++s){var l=o[s];if(!(l in nd||r&&r[l]||a&&l in a||i&&l in i)){var u=cd(t,l);try{sd(e,l,u)}catch(e){}}}}return e}function hd(e){return"function"==typeof e}function md(e){return"object"==typeof e&&"styledComponentId"in e}function gd(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function bd(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function vd(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function yd(e,t,r){if(void 0===r&&(r=!1),!r&&!vd(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=yd(e[n],t[n]);else if(vd(t))for(var n in t)e[n]=yd(e[n],t[n]);return e}function xd(e,t){Object.defineProperty(e,"toString",{value:t})}function Sd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Cd=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw Sd(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(_c);return t},e}(),wd=new Map,Ed=new Map,Rd=1,Ad=function(e){if(wd.has(e))return wd.get(e);for(;Ed.has(Rd);)Rd++;var t=Rd++;return wd.set(e,t),Ed.set(t,e),t},Pd=function(e,t){Rd=t+1,wd.set(e,t),Ed.set(t,e)},kd="style[".concat(Mc,"][").concat(Dc,'="').concat(Tc,'"]'),Id=new RegExp("^".concat(Mc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Md=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Ld=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(_c),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var l=s.match(Id);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(Pd(c,u),Md(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},Dd=function(e){for(var t=document.querySelectorAll(kd),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(Mc)!==Lc&&(Ld(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var Td=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Mc,"]")));return t[t.length-1]}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(Mc,Lc),n.setAttribute(Dc,Tc);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},_d=function(){function e(e){this.element=Td(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}throw Sd(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Od=function(){function e(e){this.element=Td(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),qd=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Nd=Oc,jd={isServer:!Oc,useCSSOMInjection:!qc},zd=function(){function e(e,t,r){void 0===e&&(e=zc),void 0===t&&(t={});var n=this;this.options=Mu(Mu({},jd),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Oc&&Nd&&(Nd=!1,Dd(this)),xd(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=function(r){var o=function(e){return Ed.get(e)}(r);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(r);if(void 0===i||!i.size||0===a.length)return"continue";var s="".concat(Mc,".g").concat(r,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(_c)},i=0;i<r;i++)o(i);return n}(n)}))}return e.registerId=function(e){return Ad(e)},e.prototype.rehydrate=function(){!this.server&&Oc&&Dd(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Mu(Mu({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new qd(r):t?new _d(r):new Od(r)}(this.options),new Cd(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Ad(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(Ad(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Ad(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Fd=/&/g,Hd=/^\s*\/\/.*$/gm;function $d(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=$d(e.children,t)),e}))}function Bd(e){var t,r,n,o=void 0===e?zc:e,i=o.options,a=void 0===i?zc:i,s=o.plugins,l=void 0===s?jc:s,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},c=l.slice();c.push((function(e){e.type===ju&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Fd,r).replace(n,u))})),a.prefix&&c.push(kc),c.push(Pc);var d=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Hd,""),u=xc(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(u=$d(u,a.namespace));var d,p=[];return Ac(u,function(e){var t=Ju(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}(c.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=l.length?l.reduce((function(e,t){return t.name||Sd(15),Kc(e,t.name)}),5381).toString():"",d}var Wd=new zd,Vd=Bd(),Gd=x.createContext({shouldForwardProp:void 0,styleSheet:Wd,stylis:Vd});Gd.Consumer;var Ud=x.createContext(void 0);function Yd(){return C(Gd)}function Kd(e){var t=w(e.stylisPlugins),r=t[0],n=t[1],o=Yd().styleSheet,i=E((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),a=E((function(){return Bd({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);R((function(){Tu(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var s=E((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a}}),[e.shouldForwardProp,i,a]);return x.createElement(Gd.Provider,{value:s},x.createElement(Ud.Provider,{value:a},e.children))}var Xd=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Vd);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,xd(this,(function(){throw Sd(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Vd),this.name+e.hash},e}(),Jd=function(e){return e>="A"&&e<="Z"};function Zd(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Jd(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Qd=function(e){return null==e||!1===e||""===e},ep=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Qd(i)&&(Array.isArray(i)&&i.isCss||hd(i)?n.push("".concat(Zd(o),":"),i,";"):vd(i)?n.push.apply(n,Lu(Lu(["".concat(o," {")],ep(i),!1),["}"],!1)):n.push("".concat(Zd(o),": ").concat((t=o,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in Ic||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function tp(e,t,r,n){return Qd(e)?[]:md(e)?[".".concat(e.styledComponentId)]:hd(e)?!hd(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:tp(e(t),t,r,n):e instanceof Xd?r?(e.inject(r,n),[e.getName(n)]):[e]:vd(e)?ep(e):Array.isArray(e)?Array.prototype.concat.apply(jc,e.map((function(e){return tp(e,t,r,n)}))):[e.toString()];var o}function rp(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(hd(r)&&!md(r))return!1}return!0}var np=Xc(Tc),op=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&rp(e),this.componentId=t,this.baseHash=Kc(np,t),this.baseStyle=r,zd.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=gd(n,this.staticRulesId);else{var o=bd(tp(this.rules,e,t,r)),i=Uc(Kc(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=gd(n,i),this.staticRulesId=i}else{for(var s=Kc(this.baseHash,r.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=bd(tp(c,e,t,r));s=Kc(s,d+u),l+=d}}if(l){var p=Uc(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(l,".".concat(p),void 0,this.componentId)),n=gd(n,p)}}return n},e}(),ip=x.createContext(void 0);ip.Consumer;var ap={};function sp(e,t,r){var n=md(e),o=e,i=!Zc(e),a=t.attrs,s=void 0===a?jc:a,l=t.componentId,u=void 0===l?function(e,t){var r="string"!=typeof e?"sc":Wc(e);ap[r]=(ap[r]||0)+1;var n="".concat(r,"-").concat(Jc(Tc+r+ap[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return Zc(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,p=t.displayName&&t.componentId?"".concat(Wc(t.displayName),"-").concat(t.componentId):t.componentId||u,f=n&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(n&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;h=function(e,t){return m(e,t)&&g(e,t)}}else h=m}var b=new op(r,p,n?o.componentStyle:void 0);function v(e,t){return function(e,t,r){var n=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=x.useContext(ip),c=Yd(),d=e.shouldForwardProp||c.shouldForwardProp,p=Fc(t,u,i)||zc,f=function(e,t,r){for(var n,o=Mu(Mu({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var a=hd(n=e[i])?n(o):n;for(var s in a)o[s]="className"===s?gd(o[s],a[s]):"style"===s?Mu(Mu({},o[s]),a[s]):a[s]}return t.className&&(o.className=gd(o.className,t.className)),o}(n,t,p),h=f.as||l,m={};for(var g in f)void 0===f[g]||"$"===g[0]||"as"===g||"theme"===g&&f.theme===p||("forwardedAs"===g?m.as=f.forwardedAs:d&&!d(g,h)||(m[g]=f[g]));var b=function(e,t){var r=Yd();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(o,f),v=gd(a,s);return b&&(v+=" "+b),f.className&&(v+=" "+f.className),m[Zc(h)&&!Hc.has(h)?"class":"className"]=v,r&&(m.ref=r),A(h,m)}(y,e,t)}v.displayName=d;var y=x.forwardRef(v);return y.attrs=f,y.componentStyle=b,y.displayName=d,y.shouldForwardProp=h,y.foldedComponentIds=n?gd(o.foldedComponentIds,o.styledComponentId):"",y.styledComponentId=p,y.target=n?o.target:e,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)yd(e,o[n],!0);return e}({},o.defaultProps,e):e}}),xd(y,(function(){return".".concat(y.styledComponentId)})),i&&fd(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function lp(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var up=function(e){return Object.assign(e,{isCss:!0})};function cp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(hd(e)||vd(e))return up(tp(lp(jc,Lu([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?tp(n):up(tp(lp(n,t)))}function dp(e,t,r){if(void 0===r&&(r=zc),!t)throw Sd(1,t);var n=function(n){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,r,cp.apply(void 0,Lu([n],o,!1)))};return n.attrs=function(n){return dp(e,t,Mu(Mu({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return dp(e,t,Mu(Mu({},r),n))},n}var pp=function(e){return dp(sp,e)},fp=pp;Hc.forEach((function(e){fp[e]=pp(e)}));var hp=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=rp(e),zd.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(bd(tp(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&zd.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function mp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=bd(cp.apply(void 0,Lu([e],t,!1))),o=Jc(n);return new Xd(o,n)}function gp(e){const{injectFirst:t,children:r}=e;if(t&&"undefined"!=typeof window){const e=document.head;if(!e.querySelector('[data-styled="active"]')){const t=document.createElement("style");t.setAttribute("data-styled","active"),e.insertBefore(t,e.firstChild)}}return r}gp.propTypes={children:It.node,injectFirst:It.bool};const bp=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=cp.apply(void 0,Lu([e],t,!1)),o="sc-global-".concat(Jc(JSON.stringify(n))),i=new hp(n,o),a=function(e){var t=Yd(),r=x.useContext(ip),n=x.useRef(t.styleSheet.allocateGSInstance(o)).current;return t.styleSheet.server&&s(n,e,t.styleSheet,r,t.stylis),x.useLayoutEffect((function(){if(!t.styleSheet.server)return s(n,e,t.styleSheet,r,t.stylis),function(){return i.removeStyles(n,t.styleSheet)}}),[n,e,t.styleSheet,r,t.stylis]),null};function s(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,Nc,r,o);else{var s=Mu(Mu({},t),{theme:Fc(t,n,a.defaultProps)});i.renderStyles(e,s,r,o)}}return x.memo(a)}((e=>{const{styles:t,defaultTheme:r={}}=e;return"function"==typeof t?t(null==(n=e.theme)||0===Object.keys(n).length?r:e.theme):t;var n}));
|
|
22
22
|
/**
|
|
23
23
|
* @mui/styled-engine-sc v6.4.2
|
|
24
24
|
*
|
|
@@ -26,7 +26,7 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
|
|
|
26
26
|
* This source code is licensed under the MIT license found in the
|
|
27
27
|
* LICENSE file in the root directory of this source tree.
|
|
28
28
|
*/
|
|
29
|
-
function vp(e,t){let r;return r=t?fp(e).withConfig({displayName:t.label,shouldForwardProp:t.shouldForwardProp}):fp(e),r}function yp(e,t){e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))}function xp(e){return e}bp.propTypes={defaultTheme:It.object,styles:It.oneOfType([It.array,It.string,It.object,It.func])};var Sp=Object.freeze({__proto__:null,GlobalStyles:bp,StyledEngineProvider:gp,ThemeContext:ip,css:cp,default:vp,internal_mutateStyles:yp,internal_processStyles:function(e,t){return yp(e,t)},internal_serializeStyles:xp,keyframes:mp});function Cp(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Ep(e){if(S.isValidElement(e)||!Cp(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=Ep(e[r])})),t}function wp(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const n=r.clone?lo({},e):e;return Cp(e)&&Cp(t)&&Object.keys(t).forEach((o=>{S.isValidElement(t[o])?n[o]=t[o]:Cp(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Cp(e[o])?n[o]=wp(e[o],t[o],r):r.clone?n[o]=Cp(t[o])?Ep(t[o]):t[o]:n[o]=t[o]})),n}var Rp=Object.freeze({__proto__:null,default:wp,isPlainObject:Cp});const Ap=["values","unit","step"];function Pp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=vo(e,Ap),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>lo({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return lo({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const kp={borderRadius:4};function Ip(e,t){return t?wp(e,t,{clone:!1}):e}const Mp={xs:0,sm:600,md:900,lg:1200,xl:1536},Lp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Mp[e]}px)`};function Dp(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Lp;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Lp;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Mp).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Tp(e){if("string"!=typeof e)throw new Error(Ru(7));return e.charAt(0).toUpperCase()+e.slice(1)}var _p=Object.freeze({__proto__:null,default:Tp});function Op(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function qp(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"==typeof e?e(r):Array.isArray(e)?e[r]||o:Op(e,r)||o,t&&(n=t(n,o,e)),n}function Np(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Op(e.theme,n)||{};return Dp(e,i,(e=>{let n=qp(a,o,e);return e===n&&"string"==typeof e&&(n=qp(a,o,`${t}${"default"===e?"":Tp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const zp={m:"margin",p:"padding"},jp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Fp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Hp=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Fp[e])return[e];e=Fp[e]}const[t,r]=e.split(""),n=zp[t],o=jp[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),$p=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Bp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Wp(e,t,r,n){var o;const i=null!=(o=Op(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Vp(e){return Wp(e,"spacing",8)}function Gp(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Up(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Gp(t,r),e)),{})}(Hp(r),n);return Dp(e,e[r],o)}function Yp(e,t){const r=Vp(e.theme);return Object.keys(e).map((n=>Up(e,t,n,r))).reduce(Ip,{})}function Kp(e){return Yp(e,$p)}function Xp(e){return Yp(e,Bp)}function Jp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,r)=>n[r]?Ip(t,n[r](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function Zp(e){return"number"!=typeof e?e:`${e}px solid`}function Qp(e,t){return Np({prop:e,themeKey:"borders",transform:t})}Kp.propTypes={},Kp.filterProps=$p,Xp.propTypes={},Xp.filterProps=Bp;const ef=Qp("border",Zp),tf=Qp("borderTop",Zp),rf=Qp("borderRight",Zp),nf=Qp("borderBottom",Zp),of=Qp("borderLeft",Zp),af=Qp("borderColor"),sf=Qp("borderTopColor"),lf=Qp("borderRightColor"),uf=Qp("borderBottomColor"),cf=Qp("borderLeftColor"),df=Qp("outline",Zp),pf=Qp("outlineColor"),ff=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Wp(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:Gp(t,e)});return Dp(e,e.borderRadius,r)}return null};ff.propTypes={},ff.filterProps=["borderRadius"],Jp(ef,tf,rf,nf,of,af,sf,lf,uf,cf,ff,df,pf);const hf=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Wp(e.theme,"spacing",8),r=e=>({gap:Gp(t,e)});return Dp(e,e.gap,r)}return null};hf.propTypes={},hf.filterProps=["gap"];const mf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Wp(e.theme,"spacing",8),r=e=>({columnGap:Gp(t,e)});return Dp(e,e.columnGap,r)}return null};mf.propTypes={},mf.filterProps=["columnGap"];const gf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Wp(e.theme,"spacing",8),r=e=>({rowGap:Gp(t,e)});return Dp(e,e.rowGap,r)}return null};gf.propTypes={},gf.filterProps=["rowGap"];function bf(e,t){return"grey"===t?t:e}Jp(hf,mf,gf,Np({prop:"gridColumn"}),Np({prop:"gridRow"}),Np({prop:"gridAutoFlow"}),Np({prop:"gridAutoColumns"}),Np({prop:"gridAutoRows"}),Np({prop:"gridTemplateColumns"}),Np({prop:"gridTemplateRows"}),Np({prop:"gridTemplateAreas"}),Np({prop:"gridArea"}));function vf(e){return e<=1&&0!==e?100*e+"%":e}Jp(Np({prop:"color",themeKey:"palette",transform:bf}),Np({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bf}),Np({prop:"backgroundColor",themeKey:"palette",transform:bf}));const yf=Np({prop:"width",transform:vf}),xf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Mp[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:vf(t)}};return Dp(e,e.maxWidth,t)}return null};xf.filterProps=["maxWidth"];const Sf=Np({prop:"minWidth",transform:vf}),Cf=Np({prop:"height",transform:vf}),Ef=Np({prop:"maxHeight",transform:vf}),wf=Np({prop:"minHeight",transform:vf});Np({prop:"size",cssProperty:"width",transform:vf}),Np({prop:"size",cssProperty:"height",transform:vf});Jp(yf,xf,Sf,Cf,Ef,wf,Np({prop:"boxSizing"}));const Rf={border:{themeKey:"borders",transform:Zp},borderTop:{themeKey:"borders",transform:Zp},borderRight:{themeKey:"borders",transform:Zp},borderBottom:{themeKey:"borders",transform:Zp},borderLeft:{themeKey:"borders",transform:Zp},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Zp},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ff},color:{themeKey:"palette",transform:bf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bf},backgroundColor:{themeKey:"palette",transform:bf},p:{style:Xp},pt:{style:Xp},pr:{style:Xp},pb:{style:Xp},pl:{style:Xp},px:{style:Xp},py:{style:Xp},padding:{style:Xp},paddingTop:{style:Xp},paddingRight:{style:Xp},paddingBottom:{style:Xp},paddingLeft:{style:Xp},paddingX:{style:Xp},paddingY:{style:Xp},paddingInline:{style:Xp},paddingInlineStart:{style:Xp},paddingInlineEnd:{style:Xp},paddingBlock:{style:Xp},paddingBlockStart:{style:Xp},paddingBlockEnd:{style:Xp},m:{style:Kp},mt:{style:Kp},mr:{style:Kp},mb:{style:Kp},ml:{style:Kp},mx:{style:Kp},my:{style:Kp},margin:{style:Kp},marginTop:{style:Kp},marginRight:{style:Kp},marginBottom:{style:Kp},marginLeft:{style:Kp},marginX:{style:Kp},marginY:{style:Kp},marginInline:{style:Kp},marginInlineStart:{style:Kp},marginInlineEnd:{style:Kp},marginBlock:{style:Kp},marginBlockStart:{style:Kp},marginBlockEnd:{style:Kp},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hf},rowGap:{style:gf},columnGap:{style:mf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vf},maxWidth:{style:xf},minWidth:{transform:vf},height:{transform:vf},maxHeight:{transform:vf},minHeight:{transform:vf},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Af(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=Op(r,s)||{};if(u)return u(o);return Dp(o,t,(t=>{let r=qp(c,l,t);return t===r&&"string"==typeof t&&(r=qp(c,l,`${e}${"default"===t?"":Tp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:Rf;function s(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],u=i,"function"==typeof s?s(u):s);var s,u;if(null!=o)if("object"==typeof o)if(a[r])l=Ip(l,e(r,o,i,a));else{const e=Dp({theme:i},o,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(n);return t.every((e=>o.size===Object.keys(e).length))}(e,o)?l=Ip(l,e):l[r]=t({sx:o,theme:i})}else l=Ip(l,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const Pf=Af();function kf(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}Pf.filterProps=["sx"];const If=["breakpoints","palette","spacing","shape"];function Mf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:n,shape:o={}}=e,i=vo(e,If),a=Pp(t),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=Vp({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(0===r.length?[1]:r).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ")};return r.mui=!0,r}(n);let l=wp({breakpoints:a,direction:"ltr",components:{},palette:lo({mode:"light"},r),spacing:s,shape:lo({},kp,o)},i);l.applyStyles=kf;for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>wp(e,t)),l),l.unstable_sxConfig=lo({},Rf,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return Pf({sx:e,theme:this})},l}var Lf=Object.freeze({__proto__:null,default:Mf,private_createBreakpoints:Pp,unstable_applyStyles:kf});function Df(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=S.useContext(ip);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const Tf=Mf();function _f(){return Df(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tf)}function Of(e){let{styles:t,themeId:r,defaultTheme:n={}}=e;const o=_f(n),i="function"==typeof t?t(r&&o[r]||o):t;return Tl.jsx(bp,{styles:i})}const qf=["sx"];function Nf(e){const{sx:t}=e,r=vo(e,qf),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:Rf;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?function(){const e=t(...arguments);return Cp(e)?lo({},n,e):n}:lo({},n,t),lo({},o,{sx:i})}var zf=Object.freeze({__proto__:null,default:Pf,extendSxProp:Nf,unstable_createStyleFunctionSx:Af,unstable_defaultSxConfig:Rf});const jf=e=>e,Ff=(()=>{let e=jf;return{configure(t){e=t},generate:t=>e(t),reset(){e=jf}}})();function Hf(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Hf(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function $f(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Hf(e))&&(n&&(n+=" "),n+=t);return n}const Bf=["className","component"];const Wf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Vf(e,t){const r=Wf[t];return r?`${arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui"}-${r}`:`${Ff.generate(e)}-${t}`}function Gf(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const n={};return t.forEach((t=>{n[t]=Vf(e,t,r)})),n}var Uf={exports:{}},Yf={},Kf=Symbol.for("react.transitional.element"),Xf=Symbol.for("react.portal"),Jf=Symbol.for("react.fragment"),Zf=Symbol.for("react.strict_mode"),Qf=Symbol.for("react.profiler"),eh=Symbol.for("react.consumer"),th=Symbol.for("react.context"),rh=Symbol.for("react.forward_ref"),nh=Symbol.for("react.suspense"),oh=Symbol.for("react.suspense_list"),ih=Symbol.for("react.memo"),ah=Symbol.for("react.lazy"),sh=Symbol.for("react.offscreen"),lh=Symbol.for("react.client.reference");function uh(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Kf:switch(e=e.type){case Jf:case Qf:case Zf:case nh:case oh:return e;default:switch(e=e&&e.$$typeof){case th:case rh:case ah:case ih:case eh:return e;default:return t}}case Xf:return t}}}Yf.ContextConsumer=eh,Yf.ContextProvider=th,Yf.Element=Kf,Yf.ForwardRef=rh,Yf.Fragment=Jf,Yf.Lazy=ah,Yf.Memo=ih,Yf.Portal=Xf,Yf.Profiler=Qf,Yf.StrictMode=Zf,Yf.Suspense=nh,Yf.SuspenseList=oh,Yf.isContextConsumer=function(e){return uh(e)===eh},Yf.isContextProvider=function(e){return uh(e)===th},Yf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Kf},Yf.isForwardRef=function(e){return uh(e)===rh},Yf.isFragment=function(e){return uh(e)===Jf},Yf.isLazy=function(e){return uh(e)===ah},Yf.isMemo=function(e){return uh(e)===ih},Yf.isPortal=function(e){return uh(e)===Xf},Yf.isProfiler=function(e){return uh(e)===Qf},Yf.isStrictMode=function(e){return uh(e)===Zf},Yf.isSuspense=function(e){return uh(e)===nh},Yf.isSuspenseList=function(e){return uh(e)===oh},Yf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Jf||e===Qf||e===Zf||e===nh||e===oh||e===sh||"object"==typeof e&&null!==e&&(e.$$typeof===ah||e.$$typeof===ih||e.$$typeof===th||e.$$typeof===eh||e.$$typeof===rh||e.$$typeof===lh||void 0!==e.getModuleId)},Yf.typeOf=uh,Uf.exports=Yf;var ch=Uf.exports;const dh=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ph(e){const t=`${e}`.match(dh);return t&&t[1]||""}function fh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||ph(e)||t}function hh(e,t,r){const n=fh(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var mh=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return fh(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ch.ForwardRef:return hh(e,e.render,"ForwardRef");case ch.Memo:return hh(e,e.type,"memo");default:return}}},getFunctionName:ph});function gh(e,t){const r=lo({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=lo({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=lo({},i),Object.keys(o).forEach((e=>{r[n][e]=gh(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}const bh="undefined"!=typeof window?S.useLayoutEffect:S.useEffect;function vh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,r))}var yh=Object.freeze({__proto__:null,default:vh});function xh(e){if(e.type)return e;if("#"===e.charAt(0))return xh(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Ru(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(Ru(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function Sh(e,t){return e=xh(e),t=function(e){return vh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}function Ch(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t)=>null==t?e:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Eh(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),r)}return n.clear=()=>{clearTimeout(t)},n}function wh(e){return e&&e.ownerDocument||document}function Rh(e){return wh(e).defaultView||window}function Ah(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let Ph=0;const kh=S["useId".toString()];function Ih(e){if(void 0!==kh){return kh()}return function(e){const[t,r]=S.useState(e),n=t;return S.useEffect((()=>{null==t&&(Ph+=1,r(`mui-${Ph}`))}),[t]),n}(e)}function Mh(e){let{controlled:t,default:r,name:n,state:o="value"}=e;const{current:i}=S.useRef(void 0!==t),[a,s]=S.useState(r);return[i?t:a,S.useCallback((e=>{i||s(e)}),[])]}function Lh(e){const t=S.useRef(e);return bh((()=>{t.current=e})),S.useRef((function(){return(0,t.current)(...arguments)})).current}function Dh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return S.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{Ah(t,e)}))}),t)}const Th={};const _h=[];class Oh{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Oh}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function qh(){const e=function(e,t){const r=S.useRef(Th);return r.current===Th&&(r.current=e(t)),r}(Oh.create).current;return function(e){S.useEffect(e,_h)}(e.disposeEffect),e}let Nh=!0,zh=!1;const jh=new Oh,Fh={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Hh(e){e.metaKey||e.altKey||e.ctrlKey||(Nh=!0)}function $h(){Nh=!1}function Bh(){"hidden"===this.visibilityState&&zh&&(Nh=!0)}function Wh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Nh||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!Fh[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function Vh(){const e=S.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Hh,!0),t.addEventListener("mousedown",$h,!0),t.addEventListener("pointerdown",$h,!0),t.addEventListener("touchstart",$h,!0),t.addEventListener("visibilitychange",Bh,!0))}),[]),t=S.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Wh(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(zh=!0,jh.start(100,(()=>{zh=!1})),t.current=!1,!0)},ref:e}}function Gh(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Uh(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}function Yh(e){return"string"==typeof e}function Kh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}function Xh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}const Jh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Zh(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=vo(e,Jh),s=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:l,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=$f(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=lo({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=lo({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Kh(lo({},o,n)),s=Xh(n),l=Xh(o),u=t(a),c=$f(null==u?void 0:u.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),d=lo({},null==u?void 0:u.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=lo({},u,r,l,s);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}(lo({},a,{externalSlotProps:s})),c=function(e,t,r){return void 0===e||Yh(e)?t:lo({},t,{ownerState:lo({},t.ownerState,r)})}(r,lo({},l,{ref:Dh(u,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function Qh(e){var t;return parseInt(S.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const em=S.createContext(null);function tm(){return S.useContext(em)}var rm="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function nm(e){const{children:t,theme:r}=e,n=tm(),o=S.useMemo((()=>{const e=null===n?r:function(e,t){if("function"==typeof t)return t(e);return lo({},e,t)}(n,r);return null!=e&&(e[rm]=null!==n),e}),[r,n]);return Tl.jsx(em.Provider,{value:o,children:t})}const om=S.createContext(),im=S.createContext(void 0);function am(e){let{props:t,name:r}=e;return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?gh(o.defaultProps,n):o.styleOverrides||o.variants?n:gh(o,n)}({props:t,name:r,theme:{components:S.useContext(im)}})}function sm(e,t){return ku({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var lm,um={},cm={exports:{}};(lm=cm).exports=function(e){return e&&e.__esModule?e:{default:e}},lm.exports.__esModule=!0,lm.exports.default=lm.exports;var dm=cm.exports,pm=Rt(Au),fm=Rt(yh),hm=dm;Object.defineProperty(um,"__esModule",{value:!0});var mm=um.alpha=km;um.blend=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=Em(e),a=Em(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Rm({type:"rgb",values:s})},um.colorChannel=void 0;var gm=um.darken=Im;um.decomposeColor=Em,um.emphasize=Lm;var bm=um.getContrastRatio=function(e,t){const r=Pm(e),n=Pm(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};um.getLuminance=Pm,um.hexToRgb=Cm,um.hslToRgb=Am;var vm=um.lighten=Mm;um.private_safeAlpha=function(e,t,r){try{return km(e,t)}catch(t){return e}},um.private_safeColorChannel=void 0,um.private_safeDarken=function(e,t,r){try{return Im(e,t)}catch(t){return e}},um.private_safeEmphasize=function(e,t,r){try{return Lm(e,t)}catch(t){return e}},um.private_safeLighten=function(e,t,r){try{return Mm(e,t)}catch(t){return e}},um.recomposeColor=Rm,um.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=Em(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var ym=hm(pm),xm=hm(fm);function Sm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,xm.default)(e,t,r)}function Cm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Em(e){if(e.type)return e;if("#"===e.charAt(0))return Em(Cm(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,ym.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,ym.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const wm=e=>{const t=Em(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};um.colorChannel=wm;function Rm(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Am(e){e=Em(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Rm({type:s,values:l})}function Pm(e){let t="hsl"===(e=Em(e)).type||"hsla"===e.type?Em(Am(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function km(e,t){return e=Em(e),t=Sm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Rm(e)}function Im(e,t){if(e=Em(e),t=Sm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Rm(e)}function Mm(e,t){if(e=Em(e),t=Sm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Rm(e)}function Lm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return Pm(e)>.5?Im(e,t):Mm(e,t)}um.private_safeColorChannel=(e,t)=>{try{return wm(e)}catch(t){return e}};const Dm=["mode","contrastThreshold","tonalOffset"],Tm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Vl.white,default:Vl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},_m={text:{primary:Vl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Vl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Om(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=vm(e.main,o):"dark"===t&&(e.dark=gm(e.main,i)))}function qm(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Iu(e,Dm),i=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ou,light:nu,dark:iu}:{main:au,light:iu,dark:su}}(t),a=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Zl,light:Jl,dark:eu}:{main:tu,light:Ql,dark:ru}}(t),s=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Yl,light:Gl,dark:Kl}:{main:Kl,light:Ul,dark:Xl}}(t),l=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:uu,light:lu,dark:du}:{main:du,light:cu,dark:pu}}(t),u=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:hu,light:fu,dark:gu}:{main:bu,light:mu,dark:vu}}(t),c=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:xu,light:yu,dark:Cu}:{main:"#ed6c02",light:Su,dark:Eu}}(t);function d(e){return bm(e,_m.text.primary)>=r?_m.text.primary:Tm.text.primary}const p=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:a=700}=e;if(t=ku({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(Ru(11,r?` (${r})`:"",o));if("string"!=typeof t.main)throw new Error(Ru(12,r?` (${r})`:"",JSON.stringify(t.main)));return Om(t,"light",i,n),Om(t,"dark",a,n),t.contrastText||(t.contrastText=d(t.main)),t},f={dark:_m,light:Tm};return wp(ku({common:ku({},Vl),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:wu,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const Nm=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const zm={textTransform:"uppercase"},jm='"Roboto", "Helvetica", "Arial", sans-serif';function Fm(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=jm,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=Iu(r,Nm),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return ku({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===jm?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,zm),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,zm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wp(ku({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Hm(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}const $m=["none",Hm(0,2,1,-1,0,1,1,0,0,1,3,0),Hm(0,3,1,-2,0,2,2,0,0,1,5,0),Hm(0,3,3,-2,0,3,4,0,0,1,8,0),Hm(0,2,4,-1,0,4,5,0,0,1,10,0),Hm(0,3,5,-1,0,5,8,0,0,1,14,0),Hm(0,3,5,-1,0,6,10,0,0,1,18,0),Hm(0,4,5,-2,0,7,10,1,0,2,16,1),Hm(0,5,5,-3,0,8,10,1,0,3,14,2),Hm(0,5,6,-3,0,9,12,1,0,3,16,2),Hm(0,6,6,-3,0,10,14,1,0,4,18,3),Hm(0,6,7,-4,0,11,15,1,0,4,20,3),Hm(0,7,8,-4,0,12,17,2,0,5,22,4),Hm(0,7,8,-4,0,13,19,2,0,5,24,4),Hm(0,7,9,-4,0,14,21,2,0,5,26,4),Hm(0,8,9,-5,0,15,22,2,0,6,28,5),Hm(0,8,10,-5,0,16,24,2,0,6,30,5),Hm(0,8,11,-5,0,17,26,2,0,6,32,5),Hm(0,9,11,-5,0,18,28,2,0,7,34,6),Hm(0,9,12,-6,0,19,29,2,0,7,36,6),Hm(0,10,13,-6,0,20,31,3,0,8,38,7),Hm(0,10,13,-6,0,21,33,3,0,8,40,7),Hm(0,10,14,-6,0,22,35,3,0,8,42,7),Hm(0,11,14,-7,0,23,36,3,0,9,44,8),Hm(0,11,15,-7,0,24,38,3,0,9,46,8)],Bm=["duration","easing","delay"],Wm={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Vm={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Gm(e){return`${Math.round(e)}ms`}function Um(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ym(e){const t=ku({},Wm,e.easing),r=ku({},Vm,e.duration);return ku({getAutoHeightDuration:Um,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return Iu(n,Bm),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Gm(o)} ${i} ${"string"==typeof a?a:Gm(a)}`)).join(",")}},e,{easing:t,duration:r})}const Km={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Xm=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Jm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:n={},typography:o={}}=e,i=Iu(e,Xm);if(e.vars&&void 0===e.generateCssVars)throw new Error(Ru(18));const a=qm(r),s=Mf(e);let l=wp(s,{mixins:sm(s.breakpoints,t),palette:a,shadows:$m.slice(),typography:Fm(a,o),transitions:Ym(n),zIndex:ku({},Km)});l=wp(l,i);for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>wp(e,t)),l),l.unstable_sxConfig=ku({},Rf,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return Pf({sx:e,theme:this})},l}const Zm=Jm();function Qm(){const e=_f(Zm);return e[Pu]||e}var eg,tg={},rg={exports:{}};var ng,og={exports:{}};var ig=Rt(Sp),ag=Rt(Rp),sg=Rt(_p),lg=Rt(mh),ug=Rt(Lf),cg=Rt(zf),dg=dm;Object.defineProperty(tg,"__esModule",{value:!0});var pg=tg.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=wg,rootShouldForwardProp:n=Eg,slotShouldForwardProp:o=Eg}=e,i=e=>(0,vg.default)((0,fg.default)({},e,{theme:Ag((0,fg.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,mg.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Pg(Rg(l))}=a,p=(0,hg.default)(a,Sg),f=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,h=c||!1;let m=Eg;"Root"===l||"root"===l?m=n:l?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,mg.default)(e,(0,fg.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,gg.isPlainObject)(e)?n=>kg(e,(0,fg.default)({},n,{theme:Ag({theme:n.theme,defaultTheme:r,themeId:t})})):e,v=function(n){let o=b(n);for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];const c=l?l.map(b):[];s&&d&&c.push((e=>{const n=Ag((0,fg.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((t=>{let[r,o]=t;i[r]=kg(o,(0,fg.default)({},e,{theme:n}))})),d(e,i)})),s&&!f&&c.push((e=>{var n;const o=Ag((0,fg.default)({},e,{defaultTheme:r,themeId:t}));return kg({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,fg.default)({},e,{theme:o}))})),h||c.push(i);const p=c.length-l.length;if(Array.isArray(n)&&p>0){const e=new Array(p).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const m=g(o,...c);return e.muiName&&(m.muiName=e.muiName),m};return g.withConfig&&(v.withConfig=g.withConfig),v}};tg.shouldForwardProp=Eg,tg.systemDefaultTheme=void 0;var fg=dg((eg||(eg=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(rg)),rg.exports)),hg=dg((ng||(ng=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(og)),og.exports)),mg=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Cg(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(ig),gg=ag;dg(sg),dg(lg);var bg=dg(ug),vg=dg(cg);const yg=["ownerState"],xg=["variants"],Sg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Cg(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Cg=function(e){return e?r:t})(e)}function Eg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const wg=tg.systemDefaultTheme=(0,bg.default)(),Rg=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Ag(e){let{defaultTheme:t,theme:r,themeId:n}=e;return o=r,0===Object.keys(o).length?t:r[n]||r;var o}function Pg(e){return e?(t,r)=>r[e]:null}function kg(e,t){let{ownerState:r}=t,n=(0,hg.default)(t,yg);const o="function"==typeof e?e((0,fg.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap((e=>kg(e,(0,fg.default)({ownerState:r},n))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,hg.default)(o,xg);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,fg.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,fg.default)({ownerState:r},n,r)):e.style))})),t}return o}function Ig(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Mg=e=>Ig(e)&&"classes"!==e,Lg=pg({themeId:Pu,defaultTheme:Zm,rootShouldForwardProp:Mg}),Dg=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Tg(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Tg(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _g(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Tg(e))&&(n&&(n+=" "),n+=t);return n}function Og(e){return am(e)}function qg(e){return Vf("MuiSvgIcon",e)}Gf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ng=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],zg=Lg("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Tp(r.color)}`],t[`fontSize${Tp(r.fontSize)}`]]}})((e=>{let{theme:t,ownerState:r}=e;var n,o,i,a,s,l,u,c,d,p,f,h,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:r.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(o=n.create)?void 0:o.call(n,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=t.typography)||null==(u=l.pxToRem)?void 0:u.call(l,24))||"1.5rem",large:(null==(c=t.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[r.fontSize],color:null!=(p=null==(f=(t.vars||t).palette)||null==(f=f[r.color])?void 0:f.main)?p:{action:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[r.color]}})),jg=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=r,p=Iu(r,Ng),f=S.isValidElement(n)&&"svg"===n.type,h=ku({},r,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:f}),m={};u||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:r,classes:n}=e;return Uh({root:["root","inherit"!==t&&`color${Tp(t)}`,`fontSize${Tp(r)}`]},qg,n)})(h);return Tl.jsxs(zg,ku({as:a,className:_g(g.root,o),focusable:"false",color:l,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},m,p,f&&n.props,{ownerState:h,children:[f?n.props.children:n,c?Tl.jsx("title",{children:c}):null]}))}));jg.muiName="SvgIcon";var Fg=!1,Hg=x.createContext(null),$g="unmounted",Bg="exited",Wg="entering",Vg="entered",Gg="exiting",Ug=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Bg,n.appearStatus=Wg):o=Vg:o=t.unmountOnExit||t.mountOnEnter?$g:Bg,n.state={status:o},n.nextCallback=null,n}go(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===$g?{status:Bg}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==Wg&&r!==Vg&&(t=Wg):r!==Wg&&r!==Vg||(t=Gg)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Wg){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Bg&&this.setState({status:$g})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[F.findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!e&&!r||Fg?this.safeSetState({status:Vg},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Wg},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Vg},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:F.findDOMNode(this);t&&!Fg?(this.props.onExit(n),this.safeSetState({status:Gg},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:Bg},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Bg},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===$g)return null;var t=this.props,r=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=vo(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return x.createElement(Hg.Provider,{value:null},"function"==typeof r?r(e,n):x.cloneElement(x.Children.only(r),n))},t}(x.Component);function Yg(){}function Kg(e,t){var r=Object.create(null);return e&&I.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&P(e)?t(e):e}(e)})),r}function Xg(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Jg(e,t,r){var n=Kg(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var u=o[l][n];s[o[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var a=o[i];if(P(a)){var s=i in t,l=i in n,u=t[i],c=P(u)&&!u.props.in;!l||s&&!c?l||!s||c?l&&s&&P(u)&&(o[i]=k(a,{onExited:r.bind(null,a),in:u.props.in,exit:Xg(a,"exit",e),enter:Xg(a,"enter",e)})):o[i]=k(a,{in:!1}):o[i]=k(a,{onExited:r.bind(null,a),in:!0,exit:Xg(a,"exit",e),enter:Xg(a,"enter",e)})}})),o}Ug.contextType=Hg,Ug.propTypes={},Ug.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Yg,onEntering:Yg,onEntered:Yg,onExit:Yg,onExiting:Yg,onExited:Yg},Ug.UNMOUNTED=$g,Ug.EXITED=Bg,Ug.ENTERING=Wg,Ug.ENTERED=Vg,Ug.EXITING=Gg;var Zg=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Qg=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(bo(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}go(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,Kg(r.children,(function(e){return k(e,{onExited:n.bind(null,e),in:!0,appear:Xg(e,"appear",r),enter:Xg(e,"enter",r),exit:Xg(e,"exit",r)})}))):Jg(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=Kg(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=lo({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=vo(e,["component","childFactory"]),o=this.state.contextValue,i=Zg(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?x.createElement(Hg.Provider,{value:o},i):x.createElement(Hg.Provider,{value:o},x.createElement(t,n,i))},t}(x.Component);Qg.propTypes={},Qg.defaultProps={component:"div",childFactory:function(e){return e}};const eb=e=>e.scrollTop;function tb(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function rb(e){return Vf("MuiPaper",e)}Gf("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const nb=["className","component","elevation","square","variant"],ob=Lg("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((e=>{let{theme:t,ownerState:r}=e;var n;return ku({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!r.square&&{borderRadius:t.shape.borderRadius},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===r.variant&&ku({boxShadow:(t.vars||t).shadows[r.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${mm("#fff",Dg(r.elevation))}, ${mm("#fff",Dg(r.elevation))})`},t.vars&&{backgroundImage:null==(n=t.vars.overlays)?void 0:n[r.elevation]}))})),ib=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=r,l=Iu(r,nb),u=ku({},r,{component:o,elevation:i,square:a,variant:s}),c=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return Uh({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},rb,o)})(u);return Tl.jsx(ob,ku({as:o,ownerState:u,className:_g(c.root,n),ref:t},l))}));const ab=Gf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),sb=["center","classes","className"];let lb,ub,cb,db,pb=e=>e;const fb=mp(lb||(lb=pb`
|
|
29
|
+
function vp(e,t){let r;return r=t?fp(e).withConfig({displayName:t.label,shouldForwardProp:t.shouldForwardProp}):fp(e),r}function yp(e,t){e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))}function xp(e){return e}bp.propTypes={defaultTheme:It.object,styles:It.oneOfType([It.array,It.string,It.object,It.func])};var Sp=Object.freeze({__proto__:null,GlobalStyles:bp,StyledEngineProvider:gp,ThemeContext:ip,css:cp,default:vp,internal_mutateStyles:yp,internal_processStyles:function(e,t){return yp(e,t)},internal_serializeStyles:xp,keyframes:mp});function Cp(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function wp(e){if(S.isValidElement(e)||!Cp(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=wp(e[r])})),t}function Ep(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const n=r.clone?lo({},e):e;return Cp(e)&&Cp(t)&&Object.keys(t).forEach((o=>{S.isValidElement(t[o])?n[o]=t[o]:Cp(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Cp(e[o])?n[o]=Ep(e[o],t[o],r):r.clone?n[o]=Cp(t[o])?wp(t[o]):t[o]:n[o]=t[o]})),n}var Rp=Object.freeze({__proto__:null,default:Ep,isPlainObject:Cp});const Ap=["values","unit","step"];function Pp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=vo(e,Ap),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>lo({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return lo({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const kp={borderRadius:4};function Ip(e,t){return t?Ep(e,t,{clone:!1}):e}const Mp={xs:0,sm:600,md:900,lg:1200,xl:1536},Lp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Mp[e]}px)`};function Dp(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Lp;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Lp;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Mp).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Tp(e){if("string"!=typeof e)throw new Error(Ru(7));return e.charAt(0).toUpperCase()+e.slice(1)}var _p=Object.freeze({__proto__:null,default:Tp});function Op(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function qp(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"==typeof e?e(r):Array.isArray(e)?e[r]||o:Op(e,r)||o,t&&(n=t(n,o,e)),n}function Np(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Op(e.theme,n)||{};return Dp(e,i,(e=>{let n=qp(a,o,e);return e===n&&"string"==typeof e&&(n=qp(a,o,`${t}${"default"===e?"":Tp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const jp={m:"margin",p:"padding"},zp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Fp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Hp=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Fp[e])return[e];e=Fp[e]}const[t,r]=e.split(""),n=jp[t],o=zp[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),$p=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Bp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Wp(e,t,r,n){var o;const i=null!=(o=Op(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Vp(e){return Wp(e,"spacing",8)}function Gp(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Up(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Gp(t,r),e)),{})}(Hp(r),n);return Dp(e,e[r],o)}function Yp(e,t){const r=Vp(e.theme);return Object.keys(e).map((n=>Up(e,t,n,r))).reduce(Ip,{})}function Kp(e){return Yp(e,$p)}function Xp(e){return Yp(e,Bp)}function Jp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,r)=>n[r]?Ip(t,n[r](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function Zp(e){return"number"!=typeof e?e:`${e}px solid`}function Qp(e,t){return Np({prop:e,themeKey:"borders",transform:t})}Kp.propTypes={},Kp.filterProps=$p,Xp.propTypes={},Xp.filterProps=Bp;const ef=Qp("border",Zp),tf=Qp("borderTop",Zp),rf=Qp("borderRight",Zp),nf=Qp("borderBottom",Zp),of=Qp("borderLeft",Zp),af=Qp("borderColor"),sf=Qp("borderTopColor"),lf=Qp("borderRightColor"),uf=Qp("borderBottomColor"),cf=Qp("borderLeftColor"),df=Qp("outline",Zp),pf=Qp("outlineColor"),ff=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Wp(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:Gp(t,e)});return Dp(e,e.borderRadius,r)}return null};ff.propTypes={},ff.filterProps=["borderRadius"],Jp(ef,tf,rf,nf,of,af,sf,lf,uf,cf,ff,df,pf);const hf=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Wp(e.theme,"spacing",8),r=e=>({gap:Gp(t,e)});return Dp(e,e.gap,r)}return null};hf.propTypes={},hf.filterProps=["gap"];const mf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Wp(e.theme,"spacing",8),r=e=>({columnGap:Gp(t,e)});return Dp(e,e.columnGap,r)}return null};mf.propTypes={},mf.filterProps=["columnGap"];const gf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Wp(e.theme,"spacing",8),r=e=>({rowGap:Gp(t,e)});return Dp(e,e.rowGap,r)}return null};gf.propTypes={},gf.filterProps=["rowGap"];function bf(e,t){return"grey"===t?t:e}Jp(hf,mf,gf,Np({prop:"gridColumn"}),Np({prop:"gridRow"}),Np({prop:"gridAutoFlow"}),Np({prop:"gridAutoColumns"}),Np({prop:"gridAutoRows"}),Np({prop:"gridTemplateColumns"}),Np({prop:"gridTemplateRows"}),Np({prop:"gridTemplateAreas"}),Np({prop:"gridArea"}));function vf(e){return e<=1&&0!==e?100*e+"%":e}Jp(Np({prop:"color",themeKey:"palette",transform:bf}),Np({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bf}),Np({prop:"backgroundColor",themeKey:"palette",transform:bf}));const yf=Np({prop:"width",transform:vf}),xf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Mp[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:vf(t)}};return Dp(e,e.maxWidth,t)}return null};xf.filterProps=["maxWidth"];const Sf=Np({prop:"minWidth",transform:vf}),Cf=Np({prop:"height",transform:vf}),wf=Np({prop:"maxHeight",transform:vf}),Ef=Np({prop:"minHeight",transform:vf});Np({prop:"size",cssProperty:"width",transform:vf}),Np({prop:"size",cssProperty:"height",transform:vf});Jp(yf,xf,Sf,Cf,wf,Ef,Np({prop:"boxSizing"}));const Rf={border:{themeKey:"borders",transform:Zp},borderTop:{themeKey:"borders",transform:Zp},borderRight:{themeKey:"borders",transform:Zp},borderBottom:{themeKey:"borders",transform:Zp},borderLeft:{themeKey:"borders",transform:Zp},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Zp},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ff},color:{themeKey:"palette",transform:bf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bf},backgroundColor:{themeKey:"palette",transform:bf},p:{style:Xp},pt:{style:Xp},pr:{style:Xp},pb:{style:Xp},pl:{style:Xp},px:{style:Xp},py:{style:Xp},padding:{style:Xp},paddingTop:{style:Xp},paddingRight:{style:Xp},paddingBottom:{style:Xp},paddingLeft:{style:Xp},paddingX:{style:Xp},paddingY:{style:Xp},paddingInline:{style:Xp},paddingInlineStart:{style:Xp},paddingInlineEnd:{style:Xp},paddingBlock:{style:Xp},paddingBlockStart:{style:Xp},paddingBlockEnd:{style:Xp},m:{style:Kp},mt:{style:Kp},mr:{style:Kp},mb:{style:Kp},ml:{style:Kp},mx:{style:Kp},my:{style:Kp},margin:{style:Kp},marginTop:{style:Kp},marginRight:{style:Kp},marginBottom:{style:Kp},marginLeft:{style:Kp},marginX:{style:Kp},marginY:{style:Kp},marginInline:{style:Kp},marginInlineStart:{style:Kp},marginInlineEnd:{style:Kp},marginBlock:{style:Kp},marginBlockStart:{style:Kp},marginBlockEnd:{style:Kp},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hf},rowGap:{style:gf},columnGap:{style:mf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vf},maxWidth:{style:xf},minWidth:{transform:vf},height:{transform:vf},maxHeight:{transform:vf},minHeight:{transform:vf},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Af(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=Op(r,s)||{};if(u)return u(o);return Dp(o,t,(t=>{let r=qp(c,l,t);return t===r&&"string"==typeof t&&(r=qp(c,l,`${e}${"default"===t?"":Tp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:Rf;function s(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],u=i,"function"==typeof s?s(u):s);var s,u;if(null!=o)if("object"==typeof o)if(a[r])l=Ip(l,e(r,o,i,a));else{const e=Dp({theme:i},o,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(n);return t.every((e=>o.size===Object.keys(e).length))}(e,o)?l=Ip(l,e):l[r]=t({sx:o,theme:i})}else l=Ip(l,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const Pf=Af();function kf(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}Pf.filterProps=["sx"];const If=["breakpoints","palette","spacing","shape"];function Mf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:n,shape:o={}}=e,i=vo(e,If),a=Pp(t),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=Vp({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(0===r.length?[1]:r).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ")};return r.mui=!0,r}(n);let l=Ep({breakpoints:a,direction:"ltr",components:{},palette:lo({mode:"light"},r),spacing:s,shape:lo({},kp,o)},i);l.applyStyles=kf;for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>Ep(e,t)),l),l.unstable_sxConfig=lo({},Rf,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return Pf({sx:e,theme:this})},l}var Lf=Object.freeze({__proto__:null,default:Mf,private_createBreakpoints:Pp,unstable_applyStyles:kf});function Df(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=S.useContext(ip);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const Tf=Mf();function _f(){return Df(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tf)}function Of(e){let{styles:t,themeId:r,defaultTheme:n={}}=e;const o=_f(n),i="function"==typeof t?t(r&&o[r]||o):t;return Tl.jsx(bp,{styles:i})}const qf=["sx"];function Nf(e){const{sx:t}=e,r=vo(e,qf),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:Rf;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?function(){const e=t(...arguments);return Cp(e)?lo({},n,e):n}:lo({},n,t),lo({},o,{sx:i})}var jf=Object.freeze({__proto__:null,default:Pf,extendSxProp:Nf,unstable_createStyleFunctionSx:Af,unstable_defaultSxConfig:Rf});const zf=e=>e,Ff=(()=>{let e=zf;return{configure(t){e=t},generate:t=>e(t),reset(){e=zf}}})();function Hf(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Hf(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function $f(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Hf(e))&&(n&&(n+=" "),n+=t);return n}const Bf=["className","component"];const Wf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Vf(e,t){const r=Wf[t];return r?`${arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui"}-${r}`:`${Ff.generate(e)}-${t}`}function Gf(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const n={};return t.forEach((t=>{n[t]=Vf(e,t,r)})),n}var Uf={exports:{}},Yf={},Kf=Symbol.for("react.transitional.element"),Xf=Symbol.for("react.portal"),Jf=Symbol.for("react.fragment"),Zf=Symbol.for("react.strict_mode"),Qf=Symbol.for("react.profiler"),eh=Symbol.for("react.consumer"),th=Symbol.for("react.context"),rh=Symbol.for("react.forward_ref"),nh=Symbol.for("react.suspense"),oh=Symbol.for("react.suspense_list"),ih=Symbol.for("react.memo"),ah=Symbol.for("react.lazy"),sh=Symbol.for("react.offscreen"),lh=Symbol.for("react.client.reference");function uh(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Kf:switch(e=e.type){case Jf:case Qf:case Zf:case nh:case oh:return e;default:switch(e=e&&e.$$typeof){case th:case rh:case ah:case ih:case eh:return e;default:return t}}case Xf:return t}}}Yf.ContextConsumer=eh,Yf.ContextProvider=th,Yf.Element=Kf,Yf.ForwardRef=rh,Yf.Fragment=Jf,Yf.Lazy=ah,Yf.Memo=ih,Yf.Portal=Xf,Yf.Profiler=Qf,Yf.StrictMode=Zf,Yf.Suspense=nh,Yf.SuspenseList=oh,Yf.isContextConsumer=function(e){return uh(e)===eh},Yf.isContextProvider=function(e){return uh(e)===th},Yf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Kf},Yf.isForwardRef=function(e){return uh(e)===rh},Yf.isFragment=function(e){return uh(e)===Jf},Yf.isLazy=function(e){return uh(e)===ah},Yf.isMemo=function(e){return uh(e)===ih},Yf.isPortal=function(e){return uh(e)===Xf},Yf.isProfiler=function(e){return uh(e)===Qf},Yf.isStrictMode=function(e){return uh(e)===Zf},Yf.isSuspense=function(e){return uh(e)===nh},Yf.isSuspenseList=function(e){return uh(e)===oh},Yf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Jf||e===Qf||e===Zf||e===nh||e===oh||e===sh||"object"==typeof e&&null!==e&&(e.$$typeof===ah||e.$$typeof===ih||e.$$typeof===th||e.$$typeof===eh||e.$$typeof===rh||e.$$typeof===lh||void 0!==e.getModuleId)},Yf.typeOf=uh,Uf.exports=Yf;var ch=Uf.exports;const dh=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ph(e){const t=`${e}`.match(dh);return t&&t[1]||""}function fh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||ph(e)||t}function hh(e,t,r){const n=fh(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var mh=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return fh(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ch.ForwardRef:return hh(e,e.render,"ForwardRef");case ch.Memo:return hh(e,e.type,"memo");default:return}}},getFunctionName:ph});function gh(e,t){const r=lo({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=lo({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=lo({},i),Object.keys(o).forEach((e=>{r[n][e]=gh(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}const bh="undefined"!=typeof window?S.useLayoutEffect:S.useEffect;function vh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,r))}var yh=Object.freeze({__proto__:null,default:vh});function xh(e){if(e.type)return e;if("#"===e.charAt(0))return xh(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Ru(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(Ru(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function Sh(e,t){return e=xh(e),t=function(e){return vh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}function Ch(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t)=>null==t?e:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.apply(this,n),t.apply(this,n)}),(()=>{}))}function wh(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),r)}return n.clear=()=>{clearTimeout(t)},n}function Eh(e){return e&&e.ownerDocument||document}function Rh(e){return Eh(e).defaultView||window}function Ah(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let Ph=0;const kh=S["useId".toString()];function Ih(e){if(void 0!==kh){return kh()}return function(e){const[t,r]=S.useState(e),n=t;return S.useEffect((()=>{null==t&&(Ph+=1,r(`mui-${Ph}`))}),[t]),n}(e)}function Mh(e){let{controlled:t,default:r,name:n,state:o="value"}=e;const{current:i}=S.useRef(void 0!==t),[a,s]=S.useState(r);return[i?t:a,S.useCallback((e=>{i||s(e)}),[])]}function Lh(e){const t=S.useRef(e);return bh((()=>{t.current=e})),S.useRef((function(){return(0,t.current)(...arguments)})).current}function Dh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return S.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{Ah(t,e)}))}),t)}const Th={};const _h=[];class Oh{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Oh}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function qh(){const e=function(e,t){const r=S.useRef(Th);return r.current===Th&&(r.current=e(t)),r}(Oh.create).current;return function(e){S.useEffect(e,_h)}(e.disposeEffect),e}let Nh=!0,jh=!1;const zh=new Oh,Fh={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Hh(e){e.metaKey||e.altKey||e.ctrlKey||(Nh=!0)}function $h(){Nh=!1}function Bh(){"hidden"===this.visibilityState&&jh&&(Nh=!0)}function Wh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Nh||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!Fh[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function Vh(){const e=S.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Hh,!0),t.addEventListener("mousedown",$h,!0),t.addEventListener("pointerdown",$h,!0),t.addEventListener("touchstart",$h,!0),t.addEventListener("visibilitychange",Bh,!0))}),[]),t=S.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Wh(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(jh=!0,zh.start(100,(()=>{jh=!1})),t.current=!1,!0)},ref:e}}function Gh(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Uh(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}function Yh(e){return"string"==typeof e}function Kh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}function Xh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}const Jh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Zh(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=vo(e,Jh),s=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:l,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=$f(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=lo({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=lo({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Kh(lo({},o,n)),s=Xh(n),l=Xh(o),u=t(a),c=$f(null==u?void 0:u.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),d=lo({},null==u?void 0:u.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=lo({},u,r,l,s);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}(lo({},a,{externalSlotProps:s})),c=function(e,t,r){return void 0===e||Yh(e)?t:lo({},t,{ownerState:lo({},t.ownerState,r)})}(r,lo({},l,{ref:Dh(u,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function Qh(e){var t;return parseInt(S.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const em=S.createContext(null);function tm(){return S.useContext(em)}var rm="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function nm(e){const{children:t,theme:r}=e,n=tm(),o=S.useMemo((()=>{const e=null===n?r:function(e,t){if("function"==typeof t)return t(e);return lo({},e,t)}(n,r);return null!=e&&(e[rm]=null!==n),e}),[r,n]);return Tl.jsx(em.Provider,{value:o,children:t})}const om=S.createContext(),im=S.createContext(void 0);function am(e){let{props:t,name:r}=e;return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?gh(o.defaultProps,n):o.styleOverrides||o.variants?n:gh(o,n)}({props:t,name:r,theme:{components:S.useContext(im)}})}function sm(e,t){return ku({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var lm,um={},cm={exports:{}};(lm=cm).exports=function(e){return e&&e.__esModule?e:{default:e}},lm.exports.__esModule=!0,lm.exports.default=lm.exports;var dm=cm.exports,pm=Rt(Au),fm=Rt(yh),hm=dm;Object.defineProperty(um,"__esModule",{value:!0});var mm=um.alpha=km;um.blend=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=wm(e),a=wm(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Rm({type:"rgb",values:s})},um.colorChannel=void 0;var gm=um.darken=Im;um.decomposeColor=wm,um.emphasize=Lm;var bm=um.getContrastRatio=function(e,t){const r=Pm(e),n=Pm(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};um.getLuminance=Pm,um.hexToRgb=Cm,um.hslToRgb=Am;var vm=um.lighten=Mm;um.private_safeAlpha=function(e,t,r){try{return km(e,t)}catch(t){return e}},um.private_safeColorChannel=void 0,um.private_safeDarken=function(e,t,r){try{return Im(e,t)}catch(t){return e}},um.private_safeEmphasize=function(e,t,r){try{return Lm(e,t)}catch(t){return e}},um.private_safeLighten=function(e,t,r){try{return Mm(e,t)}catch(t){return e}},um.recomposeColor=Rm,um.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=wm(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var ym=hm(pm),xm=hm(fm);function Sm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,xm.default)(e,t,r)}function Cm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function wm(e){if(e.type)return e;if("#"===e.charAt(0))return wm(Cm(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,ym.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,ym.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const Em=e=>{const t=wm(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};um.colorChannel=Em;function Rm(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Am(e){e=wm(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Rm({type:s,values:l})}function Pm(e){let t="hsl"===(e=wm(e)).type||"hsla"===e.type?wm(Am(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function km(e,t){return e=wm(e),t=Sm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Rm(e)}function Im(e,t){if(e=wm(e),t=Sm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Rm(e)}function Mm(e,t){if(e=wm(e),t=Sm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Rm(e)}function Lm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return Pm(e)>.5?Im(e,t):Mm(e,t)}um.private_safeColorChannel=(e,t)=>{try{return Em(e)}catch(t){return e}};const Dm=["mode","contrastThreshold","tonalOffset"],Tm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Vl.white,default:Vl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},_m={text:{primary:Vl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Vl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Om(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=vm(e.main,o):"dark"===t&&(e.dark=gm(e.main,i)))}function qm(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Iu(e,Dm),i=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ou,light:nu,dark:iu}:{main:au,light:iu,dark:su}}(t),a=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Zl,light:Jl,dark:eu}:{main:tu,light:Ql,dark:ru}}(t),s=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Yl,light:Gl,dark:Kl}:{main:Kl,light:Ul,dark:Xl}}(t),l=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:uu,light:lu,dark:du}:{main:du,light:cu,dark:pu}}(t),u=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:hu,light:fu,dark:gu}:{main:bu,light:mu,dark:vu}}(t),c=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:xu,light:yu,dark:Cu}:{main:"#ed6c02",light:Su,dark:wu}}(t);function d(e){return bm(e,_m.text.primary)>=r?_m.text.primary:Tm.text.primary}const p=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:a=700}=e;if(t=ku({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(Ru(11,r?` (${r})`:"",o));if("string"!=typeof t.main)throw new Error(Ru(12,r?` (${r})`:"",JSON.stringify(t.main)));return Om(t,"light",i,n),Om(t,"dark",a,n),t.contrastText||(t.contrastText=d(t.main)),t},f={dark:_m,light:Tm};return Ep(ku({common:ku({},Vl),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:Eu,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const Nm=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const jm={textTransform:"uppercase"},zm='"Roboto", "Helvetica", "Arial", sans-serif';function Fm(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=zm,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=Iu(r,Nm),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return ku({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===zm?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,jm),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,jm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ep(ku({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Hm(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}const $m=["none",Hm(0,2,1,-1,0,1,1,0,0,1,3,0),Hm(0,3,1,-2,0,2,2,0,0,1,5,0),Hm(0,3,3,-2,0,3,4,0,0,1,8,0),Hm(0,2,4,-1,0,4,5,0,0,1,10,0),Hm(0,3,5,-1,0,5,8,0,0,1,14,0),Hm(0,3,5,-1,0,6,10,0,0,1,18,0),Hm(0,4,5,-2,0,7,10,1,0,2,16,1),Hm(0,5,5,-3,0,8,10,1,0,3,14,2),Hm(0,5,6,-3,0,9,12,1,0,3,16,2),Hm(0,6,6,-3,0,10,14,1,0,4,18,3),Hm(0,6,7,-4,0,11,15,1,0,4,20,3),Hm(0,7,8,-4,0,12,17,2,0,5,22,4),Hm(0,7,8,-4,0,13,19,2,0,5,24,4),Hm(0,7,9,-4,0,14,21,2,0,5,26,4),Hm(0,8,9,-5,0,15,22,2,0,6,28,5),Hm(0,8,10,-5,0,16,24,2,0,6,30,5),Hm(0,8,11,-5,0,17,26,2,0,6,32,5),Hm(0,9,11,-5,0,18,28,2,0,7,34,6),Hm(0,9,12,-6,0,19,29,2,0,7,36,6),Hm(0,10,13,-6,0,20,31,3,0,8,38,7),Hm(0,10,13,-6,0,21,33,3,0,8,40,7),Hm(0,10,14,-6,0,22,35,3,0,8,42,7),Hm(0,11,14,-7,0,23,36,3,0,9,44,8),Hm(0,11,15,-7,0,24,38,3,0,9,46,8)],Bm=["duration","easing","delay"],Wm={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Vm={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Gm(e){return`${Math.round(e)}ms`}function Um(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ym(e){const t=ku({},Wm,e.easing),r=ku({},Vm,e.duration);return ku({getAutoHeightDuration:Um,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return Iu(n,Bm),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Gm(o)} ${i} ${"string"==typeof a?a:Gm(a)}`)).join(",")}},e,{easing:t,duration:r})}const Km={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Xm=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Jm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:n={},typography:o={}}=e,i=Iu(e,Xm);if(e.vars&&void 0===e.generateCssVars)throw new Error(Ru(18));const a=qm(r),s=Mf(e);let l=Ep(s,{mixins:sm(s.breakpoints,t),palette:a,shadows:$m.slice(),typography:Fm(a,o),transitions:Ym(n),zIndex:ku({},Km)});l=Ep(l,i);for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>Ep(e,t)),l),l.unstable_sxConfig=ku({},Rf,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return Pf({sx:e,theme:this})},l}const Zm=Jm();function Qm(){const e=_f(Zm);return e[Pu]||e}var eg,tg={},rg={exports:{}};var ng,og={exports:{}};var ig=Rt(Sp),ag=Rt(Rp),sg=Rt(_p),lg=Rt(mh),ug=Rt(Lf),cg=Rt(jf),dg=dm;Object.defineProperty(tg,"__esModule",{value:!0});var pg=tg.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=Eg,rootShouldForwardProp:n=wg,slotShouldForwardProp:o=wg}=e,i=e=>(0,vg.default)((0,fg.default)({},e,{theme:Ag((0,fg.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,mg.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Pg(Rg(l))}=a,p=(0,hg.default)(a,Sg),f=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,h=c||!1;let m=wg;"Root"===l||"root"===l?m=n:l?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,mg.default)(e,(0,fg.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,gg.isPlainObject)(e)?n=>kg(e,(0,fg.default)({},n,{theme:Ag({theme:n.theme,defaultTheme:r,themeId:t})})):e,v=function(n){let o=b(n);for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];const c=l?l.map(b):[];s&&d&&c.push((e=>{const n=Ag((0,fg.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((t=>{let[r,o]=t;i[r]=kg(o,(0,fg.default)({},e,{theme:n}))})),d(e,i)})),s&&!f&&c.push((e=>{var n;const o=Ag((0,fg.default)({},e,{defaultTheme:r,themeId:t}));return kg({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,fg.default)({},e,{theme:o}))})),h||c.push(i);const p=c.length-l.length;if(Array.isArray(n)&&p>0){const e=new Array(p).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const m=g(o,...c);return e.muiName&&(m.muiName=e.muiName),m};return g.withConfig&&(v.withConfig=g.withConfig),v}};tg.shouldForwardProp=wg,tg.systemDefaultTheme=void 0;var fg=dg((eg||(eg=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(rg)),rg.exports)),hg=dg((ng||(ng=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(og)),og.exports)),mg=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Cg(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(ig),gg=ag;dg(sg),dg(lg);var bg=dg(ug),vg=dg(cg);const yg=["ownerState"],xg=["variants"],Sg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Cg(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Cg=function(e){return e?r:t})(e)}function wg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Eg=tg.systemDefaultTheme=(0,bg.default)(),Rg=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Ag(e){let{defaultTheme:t,theme:r,themeId:n}=e;return o=r,0===Object.keys(o).length?t:r[n]||r;var o}function Pg(e){return e?(t,r)=>r[e]:null}function kg(e,t){let{ownerState:r}=t,n=(0,hg.default)(t,yg);const o="function"==typeof e?e((0,fg.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap((e=>kg(e,(0,fg.default)({ownerState:r},n))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,hg.default)(o,xg);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,fg.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,fg.default)({ownerState:r},n,r)):e.style))})),t}return o}function Ig(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Mg=e=>Ig(e)&&"classes"!==e,Lg=pg({themeId:Pu,defaultTheme:Zm,rootShouldForwardProp:Mg}),Dg=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Tg(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Tg(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _g(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Tg(e))&&(n&&(n+=" "),n+=t);return n}function Og(e){return am(e)}function qg(e){return Vf("MuiSvgIcon",e)}Gf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ng=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],jg=Lg("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Tp(r.color)}`],t[`fontSize${Tp(r.fontSize)}`]]}})((e=>{let{theme:t,ownerState:r}=e;var n,o,i,a,s,l,u,c,d,p,f,h,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:r.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(o=n.create)?void 0:o.call(n,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=t.typography)||null==(u=l.pxToRem)?void 0:u.call(l,24))||"1.5rem",large:(null==(c=t.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[r.fontSize],color:null!=(p=null==(f=(t.vars||t).palette)||null==(f=f[r.color])?void 0:f.main)?p:{action:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[r.color]}})),zg=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=r,p=Iu(r,Ng),f=S.isValidElement(n)&&"svg"===n.type,h=ku({},r,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:f}),m={};u||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:r,classes:n}=e;return Uh({root:["root","inherit"!==t&&`color${Tp(t)}`,`fontSize${Tp(r)}`]},qg,n)})(h);return Tl.jsxs(jg,ku({as:a,className:_g(g.root,o),focusable:"false",color:l,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},m,p,f&&n.props,{ownerState:h,children:[f?n.props.children:n,c?Tl.jsx("title",{children:c}):null]}))}));zg.muiName="SvgIcon";var Fg=!1,Hg=x.createContext(null),$g="unmounted",Bg="exited",Wg="entering",Vg="entered",Gg="exiting",Ug=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Bg,n.appearStatus=Wg):o=Vg:o=t.unmountOnExit||t.mountOnEnter?$g:Bg,n.state={status:o},n.nextCallback=null,n}go(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===$g?{status:Bg}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==Wg&&r!==Vg&&(t=Wg):r!==Wg&&r!==Vg||(t=Gg)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Wg){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Bg&&this.setState({status:$g})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[F.findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!e&&!r||Fg?this.safeSetState({status:Vg},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Wg},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Vg},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:F.findDOMNode(this);t&&!Fg?(this.props.onExit(n),this.safeSetState({status:Gg},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:Bg},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Bg},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===$g)return null;var t=this.props,r=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=vo(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return x.createElement(Hg.Provider,{value:null},"function"==typeof r?r(e,n):x.cloneElement(x.Children.only(r),n))},t}(x.Component);function Yg(){}function Kg(e,t){var r=Object.create(null);return e&&I.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&P(e)?t(e):e}(e)})),r}function Xg(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Jg(e,t,r){var n=Kg(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var u=o[l][n];s[o[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var a=o[i];if(P(a)){var s=i in t,l=i in n,u=t[i],c=P(u)&&!u.props.in;!l||s&&!c?l||!s||c?l&&s&&P(u)&&(o[i]=k(a,{onExited:r.bind(null,a),in:u.props.in,exit:Xg(a,"exit",e),enter:Xg(a,"enter",e)})):o[i]=k(a,{in:!1}):o[i]=k(a,{onExited:r.bind(null,a),in:!0,exit:Xg(a,"exit",e),enter:Xg(a,"enter",e)})}})),o}Ug.contextType=Hg,Ug.propTypes={},Ug.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Yg,onEntering:Yg,onEntered:Yg,onExit:Yg,onExiting:Yg,onExited:Yg},Ug.UNMOUNTED=$g,Ug.EXITED=Bg,Ug.ENTERING=Wg,Ug.ENTERED=Vg,Ug.EXITING=Gg;var Zg=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Qg=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(bo(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}go(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,Kg(r.children,(function(e){return k(e,{onExited:n.bind(null,e),in:!0,appear:Xg(e,"appear",r),enter:Xg(e,"enter",r),exit:Xg(e,"exit",r)})}))):Jg(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=Kg(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=lo({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=vo(e,["component","childFactory"]),o=this.state.contextValue,i=Zg(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?x.createElement(Hg.Provider,{value:o},i):x.createElement(Hg.Provider,{value:o},x.createElement(t,n,i))},t}(x.Component);Qg.propTypes={},Qg.defaultProps={component:"div",childFactory:function(e){return e}};const eb=e=>e.scrollTop;function tb(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function rb(e){return Vf("MuiPaper",e)}Gf("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const nb=["className","component","elevation","square","variant"],ob=Lg("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((e=>{let{theme:t,ownerState:r}=e;var n;return ku({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!r.square&&{borderRadius:t.shape.borderRadius},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===r.variant&&ku({boxShadow:(t.vars||t).shadows[r.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${mm("#fff",Dg(r.elevation))}, ${mm("#fff",Dg(r.elevation))})`},t.vars&&{backgroundImage:null==(n=t.vars.overlays)?void 0:n[r.elevation]}))})),ib=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=r,l=Iu(r,nb),u=ku({},r,{component:o,elevation:i,square:a,variant:s}),c=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return Uh({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},rb,o)})(u);return Tl.jsx(ob,ku({as:o,ownerState:u,className:_g(c.root,n),ref:t},l))}));const ab=Gf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),sb=["center","classes","className"];let lb,ub,cb,db,pb=e=>e;const fb=mp(lb||(lb=pb`
|
|
30
30
|
0% {
|
|
31
31
|
transform: scale(0);
|
|
32
32
|
opacity: 0.1;
|
|
@@ -99,9 +99,9 @@ function vp(e,t){let r;return r=t?fp(e).withConfig({displayName:t.label,shouldFo
|
|
|
99
99
|
animation-iteration-count: infinite;
|
|
100
100
|
animation-delay: 200ms;
|
|
101
101
|
}
|
|
102
|
-
`),ab.rippleVisible,fb,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),ab.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),ab.child,ab.childLeaving,hb,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),ab.childPulsate,mb,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),vb=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=Iu(r,sb),[s,l]=S.useState([]),u=S.useRef(0),c=S.useRef(null);S.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[s]);const d=S.useRef(!1),p=qh(),f=S.useRef(null),h=S.useRef(null),m=S.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;l((e=>[...e,Tl.jsx(bb,{classes:{ripple:_g(o.ripple,ab.ripple),rippleVisible:_g(o.rippleVisible,ab.rippleVisible),ripplePulsate:_g(o.ripplePulsate,ab.ripplePulsate),child:_g(o.child,ab.child),childLeaving:_g(o.childLeaving,ab.childLeaving),childPulsate:_g(o.childPulsate,ab.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=S.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(r-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})}),[n,m,p]),b=S.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=S.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{v(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return S.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),Tl.jsx(gb,ku({className:_g(ab.root,o.root,i),ref:h},a,{children:Tl.jsx(Qg,{component:null,exit:!0,children:s})}))}));function yb(e){return Vf("MuiButtonBase",e)}const xb=Gf("MuiButtonBase",["root","disabled","focusVisible"]),Sb=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Cb=Lg("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${xb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Eb=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:y,onKeyUp:x,onMouseDown:C,onMouseLeave:E,onMouseUp:w,onTouchEnd:R,onTouchMove:A,onTouchStart:P,tabIndex:k=0,TouchRippleProps:I,touchRippleRef:M,type:L}=r,D=Iu(r,Sb),T=S.useRef(null),_=S.useRef(null),O=Dh(_,M),{isFocusVisibleRef:q,onFocus:N,onBlur:z,ref:j}=Vh(),[F,H]=S.useState(!1);l&&F&&H(!1),S.useImperativeHandle(n,(()=>({focusVisible:()=>{H(!0),T.current.focus()}})),[]);const[$,B]=S.useState(!1);S.useEffect((()=>{B(!0)}),[]);const W=$&&!u&&!l;function V(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;return Lh((n=>{t&&t(n);return!r&&_.current&&_.current[e](n),!0}))}S.useEffect((()=>{F&&d&&!u&&$&&_.current.pulsate()}),[u,d,F,$]);const G=V("start",C),U=V("stop",m),Y=V("stop",g),K=V("stop",w),X=V("stop",(e=>{F&&e.preventDefault(),E&&E(e)})),J=V("start",P),Z=V("stop",R),Q=V("stop",A),ee=V("stop",(e=>{z(e),!1===q.current&&H(!1),f&&f(e)}),!1),te=Lh((e=>{T.current||(T.current=e.currentTarget),N(e),!0===q.current&&(H(!0),v&&v(e)),b&&b(e)})),re=()=>{const e=T.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=S.useRef(!1),oe=Lh((e=>{d&&!ne.current&&F&&_.current&&" "===e.key&&(ne.current=!0,_.current.stop(e,(()=>{_.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Lh((e=>{d&&" "===e.key&&_.current&&F&&!e.defaultPrevented&&(ne.current=!1,_.current.stop(e,(()=>{_.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(D.href||D.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===L?"button":L,se.disabled=l):(D.href||D.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=Dh(t,j,T),ue=ku({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:k,focusVisible:F}),ce=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=Uh({root:["root",t&&"disabled",r&&"focusVisible"]},yb,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return Tl.jsxs(Cb,ku({as:ae,className:_g(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:U,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:G,onMouseLeave:X,onMouseUp:K,onDragLeave:Y,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:k,type:L},se,D,{children:[i,W?Tl.jsx(vb,ku({ref:O,center:o},I)):null]}))}));function wb(e){return Vf("MuiTypography",e)}Gf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Rb=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ab=Lg("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${Tp(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((e=>{let{theme:t,ownerState:r}=e;return ku({margin:0},"inherit"===r.variant&&{font:"inherit"},"inherit"!==r.variant&&t.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})})),Pb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},kb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Ib=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiTypography"}),n=(e=>kb[e]||e)(r.color),o=Nf(ku({},r,{color:n})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=Pb}=o,f=Iu(o,Rb),h=ku({},o,{align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=s||(c?"p":p[d]||Pb[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return Uh({root:["root",i,"inherit"!==e.align&&`align${Tp(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},wb,a)})(h);return Tl.jsx(Ab,ku({as:m,ref:t,ownerState:h,className:_g(g.root,a)},f))}));const Mb=S.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=S.useState(null),s=Dh(S.isValidElement(r)?Qh(r):null,t);if(bh((()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),bh((()=>{if(i&&!o)return Ah(t,i),()=>{Ah(t,null)}}),[t,i,o]),o){if(S.isValidElement(r)){const e={ref:s};return S.cloneElement(r,e)}return Tl.jsx(S.Fragment,{children:r})}return Tl.jsx(S.Fragment,{children:i?H.createPortal(r,i):i})})),Lb=["onChange","maxRows","minRows","style","value"];function Db(e){return parseInt(e,10)||0}const Tb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function _b(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Ob=S.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a}=e,s=Iu(e,Lb),{current:l}=S.useRef(null!=a),u=S.useRef(null),c=Dh(t,u),d=S.useRef(null),p=S.useRef(null),f=S.useCallback((()=>{const t=u.current,r=p.current;if(!t||!r)return;const i=Rh(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const a=i.boxSizing,s=Db(i.paddingBottom)+Db(i.paddingTop),l=Db(i.borderBottomWidth)+Db(i.borderTopWidth),c=r.scrollHeight;r.value="x";const d=r.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*d,f)),n&&(f=Math.min(Number(n)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?s+l:0),overflowing:Math.abs(f-c)<=1}}),[n,o,e.placeholder]),h=Lh((()=>{const e=u.current,t=f();if(!e||!t||_b(t))return!1;const r=t.outerHeightStyle;return null!=d.current&&d.current!==r})),m=S.useCallback((()=>{const e=u.current,t=f();if(!e||!t||_b(t))return;const r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""}),[f]),g=S.useRef(-1);bh((()=>{const e=Eh(m),t=null==u?void 0:u.current;if(!t)return;const r=Rh(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver((()=>{h()&&(n.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame((()=>{n.observe(t)})))})),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),r.removeEventListener("resize",e),n&&n.disconnect()}}),[f,m,h]),bh((()=>{m()}));return Tl.jsxs(S.Fragment,{children:[Tl.jsx("textarea",ku({value:a,onChange:e=>{l||m(),r&&r(e)},ref:c,rows:o,style:i},s)),Tl.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:ku({},Tb,i,{paddingTop:0,paddingBottom:0})})]})}));function qb(e){let{props:t,states:r,muiFormControl:n}=e;return r.reduce(((e,r)=>(e[r]=t[r],n&&void 0===t[r]&&(e[r]=n[r]),e)),{})}const Nb=S.createContext(void 0);function zb(){return S.useContext(Nb)}function jb(e){return Tl.jsx(Of,ku({},e,{defaultTheme:Zm,themeId:Pu}))}function Fb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Hb(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Fb(e.value)&&""!==e.value||t&&Fb(e.defaultValue)&&""!==e.defaultValue)}function $b(e){return Vf("MuiInputBase",e)}const Bb=Gf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Wb=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Vb=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Tp(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Gb=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},Ub=Lg("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Vb})((e=>{let{theme:t,ownerState:r}=e;return ku({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Bb.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},r.multiline&&ku({padding:"4px 0 5px"},"small"===r.size&&{paddingTop:1}),r.fullWidth&&{width:"100%"})})),Yb=Lg("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Gb})((e=>{let{theme:t,ownerState:r}=e;const n="light"===t.palette.mode,o=ku({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),i={opacity:"0 !important"},a=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return ku({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Bb.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Bb.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Kb=Tl.jsx(jb,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Xb=S.forwardRef((function(e,t){var r;const n=Og({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,components:l={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:y,minRows:x,multiline:C=!1,name:E,onBlur:w,onChange:R,onClick:A,onFocus:P,onKeyDown:k,onKeyUp:I,placeholder:M,readOnly:L,renderSuffix:D,rows:T,slotProps:_={},slots:O={},startAdornment:q,type:N="text",value:z}=n,j=Iu(n,Wb),F=null!=b.value?b.value:z,{current:H}=S.useRef(null!=F),$=S.useRef(),B=S.useCallback((e=>{}),[]),W=Dh($,v,b.ref,B),[V,G]=S.useState(!1),U=zb(),Y=qb({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Y.focused=U?U.focused:V,S.useEffect((()=>{!U&&d&&V&&(G(!1),w&&w())}),[U,d,V,w]);const K=U&&U.onFilled,X=U&&U.onEmpty,J=S.useCallback((e=>{Hb(e)?K&&K():X&&X()}),[K,X]);bh((()=>{H&&J({value:F})}),[F,J,H]);S.useEffect((()=>{J($.current)}),[]);let Z=g,Q=b;C&&"input"===Z&&(Q=ku(T?{type:void 0,minRows:T,maxRows:T}:{type:void 0,maxRows:y,minRows:x},Q),Z=Ob);S.useEffect((()=>{U&&U.setAdornedStart(Boolean(q))}),[U,q]);const ee=ku({},n,{color:Y.color||"primary",disabled:Y.disabled,endAdornment:f,error:Y.error,focused:Y.focused,formControl:U,fullWidth:h,hiddenLabel:Y.hiddenLabel,multiline:C,size:Y.size,startAdornment:q,type:N}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return Uh({root:["root",`color${Tp(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Tp(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},$b,t)})(ee),re=O.root||l.Root||Ub,ne=_.root||u.root||{},oe=O.input||l.Input||Yb;return Q=ku({},Q,null!=(r=_.input)?r:u.input),Tl.jsxs(S.Fragment,{children:[!p&&Kb,Tl.jsxs(re,ku({},ne,!Yh(re)&&{ownerState:ku({},ee,ne.ownerState)},{ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),A&&A(e)}},j,{className:_g(te.root,ne.className,s,L&&"MuiInputBase-readOnly"),children:[q,Tl.jsx(Nb.Provider,{value:null,children:Tl.jsx(oe,ku({ownerState:ee,"aria-invalid":Y.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:Y.disabled,id:m,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:E,placeholder:M,readOnly:L,required:Y.required,rows:T,value:F,onKeyDown:k,onKeyUp:I,type:N},Q,!Yh(oe)&&{as:Z,ownerState:ku({},ee,Q.ownerState)},{ref:W,className:_g(te.input,Q.className,L&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),b.onBlur&&b.onBlur(e),U&&U.onBlur?U.onBlur(e):G(!1)},onChange:function(e){if(!H){const t=e.target||$.current;if(null==t)throw new Error(Ru(1));J({value:t.value})}for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];b.onChange&&b.onChange(e,...r),R&&R(e,...r)},onFocus:e=>{Y.disabled?e.stopPropagation():(P&&P(e),b.onFocus&&b.onFocus(e),U&&U.onFocus?U.onFocus(e):G(!0))}}))}),f,D?D(ku({},Y,{startAdornment:q})):null]}))]})}));function Jb(e){return Vf("MuiInput",e)}const Zb=ku({},Bb,Gf("MuiInput",["root","underline","input"]));function Qb(e){return Vf("MuiOutlinedInput",e)}const ev=ku({},Bb,Gf("MuiOutlinedInput",["root","notchedOutline","input"]));function tv(e){return Vf("MuiFilledInput",e)}const rv=ku({},Bb,Gf("MuiFilledInput",["root","underline","input"]));var nv=function(e,t){function r(r,n){return Tl.jsx(jg,ku({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=jg.muiName,S.memo(S.forwardRef(r))}(Tl.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const ov=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],iv={entering:{opacity:1},entered:{opacity:1}},av=S.forwardRef((function(e,t){const r=Qm(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=n,TransitionComponent:b=Ug}=e,v=Iu(e,ov),y=S.useRef(null),x=Dh(y,Qh(a),t),C=e=>t=>{if(e){const r=y.current;void 0===t?e(r):e(r,t)}},E=C(d),w=C(((e,t)=>{eb(e);const n=tb({style:m,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),R=C(c),A=C(h),P=C((e=>{const t=tb({style:m,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),k=C(f);return Tl.jsx(b,ku({appear:i,in:l,nodeRef:y,onEnter:w,onEntered:R,onEntering:E,onExit:P,onExited:k,onExiting:A,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>S.cloneElement(a,ku({style:ku({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},iv[e],m,a.props.style),ref:x},t))}))}));function sv(e){return Vf("MuiBackdrop",e)}Gf("MuiBackdrop",["root","invisible"]);const lv=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],uv=Lg("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((e=>{let{ownerState:t}=e;return ku({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),cv=S.forwardRef((function(e,t){var r,n,o;const i=Og({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=av,transitionDuration:g}=i,b=Iu(i,lv),v=ku({},i,{component:l,invisible:d}),y=(e=>{const{classes:t,invisible:r}=e;return Uh({root:["root",r&&"invisible"]},sv,t)})(v),x=null!=(r=f.root)?r:c.root;return Tl.jsx(m,ku({in:p,timeout:g},b,{children:Tl.jsx(uv,ku({"aria-hidden":!0},x,{as:null!=(n=null!=(o=h.root)?o:u.Root)?n:l,className:_g(y.root,s,null==x?void 0:x.className),ownerState:ku({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))})),dv=Gf("MuiBox",["root"]),pv=Jm(),fv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=vp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Pf);return S.forwardRef((function(e,a){const s=_f(r),l=Nf(e),{className:u,component:c="div"}=l,d=vo(l,Bf);return Tl.jsx(i,lo({as:c,ref:a,className:$f(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:Pu,defaultTheme:pv,defaultClassName:dv.root,generateClassName:Ff.generate});function hv(e){return Vf("MuiButton",e)}const mv=Gf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),gv=S.createContext({}),bv=S.createContext(void 0),vv=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],yv=e=>ku({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),xv=Lg(Eb,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Tp(r.color)}`],t[`size${Tp(r.size)}`],t[`${r.variant}Size${Tp(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:r}=e;var n,o;const i="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],a="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return ku({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":ku({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:mm(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===r.variant&&"inherit"!==r.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:mm(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===r.variant&&"inherit"!==r.color&&{border:`1px solid ${(t.vars||t).palette[r.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:mm(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===r.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===r.variant&&"inherit"!==r.color&&{backgroundColor:(t.vars||t).palette[r.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[r.color].main}}),"&:active":ku({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${mv.focusVisible}`]:ku({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${mv.disabled}`]:ku({color:(t.vars||t).palette.action.disabled},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===r.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===r.variant&&{padding:"6px 8px"},"text"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main},"outlined"===r.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[r.color].mainChannel} / 0.5)`:`1px solid ${mm(t.palette[r.color].main,.5)}`},"contained"===r.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(o=t.palette).getContrastText)?void 0:n.call(o,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:i,boxShadow:(t.vars||t).shadows[2]},"contained"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].contrastText,backgroundColor:(t.vars||t).palette[r.color].main},"inherit"===r.color&&{color:"inherit",borderColor:"currentColor"},"small"===r.size&&"text"===r.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"text"===r.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"outlined"===r.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"outlined"===r.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"contained"===r.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"contained"===r.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},r.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${mv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${mv.disabled}`]:{boxShadow:"none"}}})),Sv=Lg("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Tp(r.size)}`]]}})((e=>{let{ownerState:t}=e;return ku({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},yv(t))})),Cv=Lg("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Tp(r.size)}`]]}})((e=>{let{ownerState:t}=e;return ku({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},yv(t))})),Ev=S.forwardRef((function(e,t){const r=S.useContext(gv),n=S.useContext(bv),o=Og({props:gh(r,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:b,variant:v="text"}=o,y=Iu(o,vv),x=ku({},o,{color:a,component:s,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),C=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e;return ku({},a,Uh({root:["root",i,`${i}${Tp(t)}`,`size${Tp(o)}`,`${i}Size${Tp(o)}`,`color${Tp(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Tp(o)}`],endIcon:["icon","endIcon",`iconSize${Tp(o)}`]},hv,a))})(x),E=g&&Tl.jsx(Sv,{className:C.startIcon,ownerState:x,children:g}),w=p&&Tl.jsx(Cv,{className:C.endIcon,ownerState:x,children:p}),R=n||"";return Tl.jsxs(xv,ku({ownerState:x,className:_g(r.className,C.root,l,R),component:s,disabled:u,focusRipple:!d,focusVisibleClassName:_g(C.focusVisible,f),ref:t,type:b},y,{classes:C,children:[E,i,w]}))}));function wv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Rv(e){return parseInt(Rh(e).getComputedStyle(e).paddingRight,10)||0}function Av(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&wv(e,o)}))}function Pv(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function kv(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=wh(e);return t.body===e?Rh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=Gh(wh(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Rv(n)+e}px`;const t=wh(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Rv(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=wh(n).body;else{const t=n.parentElement,r=Rh(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((e=>{let{value:t,el:r,property:n}=e;t?r.style.setProperty(n,t):r.style.removeProperty(n)}))}}const Iv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Mv(e){const t=[],r=[];return Array.from(e.querySelectorAll(Iv)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Lv(){return!0}function Dv(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=Mv,isEnabled:a=Lv,open:s}=e,l=S.useRef(!1),u=S.useRef(null),c=S.useRef(null),d=S.useRef(null),p=S.useRef(null),f=S.useRef(!1),h=S.useRef(null),m=Dh(Qh(t),h),g=S.useRef(null);S.useEffect((()=>{s&&h.current&&(f.current=!r)}),[r,s]),S.useEffect((()=>{if(!s||!h.current)return;const e=wh(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),S.useEffect((()=>{if(!s||!h.current)return;const e=wh(h.current),t=t=>{g.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,c.current&&c.current.focus())},r=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(h.current)),r.length>0){var o,s;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=g.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,a,s,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Tl.jsxs(S.Fragment,{children:[Tl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),S.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const r=t.props.onFocus;r&&r(e)}}),Tl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const Tv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&wv(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Av(t,e.mount,e.modalRef,n,!0);const o=Pv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=Pv(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=kv(n,t))}remove(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=this.modals.indexOf(e);if(-1===r)return r;const n=Pv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&wv(e.modalRef,t),Av(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&wv(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function _v(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=Tv,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,p=S.useRef({}),f=S.useRef(null),h=S.useRef(null),m=Dh(h,d),[g,b]=S.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let y=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(y=!1);const x=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),C=()=>{o.mount(x(),{disableScrollLock:n}),h.current&&(h.current.scrollTop=0)},E=Lh((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||wh(f.current).body;o.add(x(),e),h.current&&C()})),w=S.useCallback((()=>o.isTopModal(x())),[o]),R=Lh((e=>{f.current=e,e&&(c&&w()?C():h.current&&wv(h.current,y))})),A=S.useCallback((()=>{o.remove(x(),y)}),[y,o]);S.useEffect((()=>()=>{A()}),[A]),S.useEffect((()=>{c?E():v&&i||A()}),[c,A,v,i,E]);const P=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},k=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=Kh(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=ku({},r,t);return ku({role:"presentation"},n,{onKeyDown:P(n),ref:m})},getBackdropProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ku({"aria-hidden":!0},e,{onClick:k(e),open:c})},getTransitionProps:()=>({onEnter:Ch((()=>{b(!1),a&&a()}),null==l?void 0:l.props.onEnter),onExited:Ch((()=>{b(!0),s&&s(),i&&A()}),null==l?void 0:l.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}function Ov(e){return Vf("MuiModal",e)}Gf("MuiModal",["root","hidden","backdrop"]);const qv=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Nv=Lg("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((e=>{let{theme:t,ownerState:r}=e;return ku({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!r.open&&r.exited&&{visibility:"hidden"})})),zv=Lg(cv,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),jv=S.forwardRef((function(e,t){var r,n,o,i,a,s;const l=Og({name:"MuiModal",props:e}),{BackdropComponent:u=zv,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:x=!1,disablePortal:C=!1,disableRestoreFocus:E=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:A=!1,onBackdropClick:P,open:k,slotProps:I,slots:M}=l,L=Iu(l,qv),D=ku({},l,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:x,disablePortal:C,disableRestoreFocus:E,disableScrollLock:w,hideBackdrop:R,keepMounted:A}),{getRootProps:T,getBackdropProps:_,getTransitionProps:O,portalRef:q,isTopModal:N,exited:z,hasTransition:j}=_v(ku({},D,{rootRef:t})),F=ku({},D,{exited:z}),H=(e=>{const{open:t,exited:r,classes:n}=e;return Uh({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Ov,n)})(F),$={};if(void 0===f.props.tabIndex&&($.tabIndex="-1"),j){const{onEnter:e,onExited:t}=O();$.onEnter=e,$.onExited=t}const B=null!=(r=null!=(n=null==M?void 0:M.root)?n:g.Root)?r:Nv,W=null!=(o=null!=(i=null==M?void 0:M.backdrop)?i:g.Backdrop)?o:u,V=null!=(a=null==I?void 0:I.root)?a:b.root,G=null!=(s=null==I?void 0:I.backdrop)?s:b.backdrop,U=Zh({elementType:B,externalSlotProps:V,externalForwardedProps:L,getSlotProps:T,additionalProps:{ref:t,as:m},ownerState:F,className:_g(d,null==V?void 0:V.className,null==H?void 0:H.root,!F.open&&F.exited&&(null==H?void 0:H.hidden))}),Y=Zh({elementType:W,externalSlotProps:G,additionalProps:c,getSlotProps:e=>_(ku({},e,{onClick:t=>{P&&P(t),null!=e&&e.onClick&&e.onClick(t)}})),className:_g(null==G?void 0:G.className,null==c?void 0:c.className,null==H?void 0:H.backdrop),ownerState:F});return A||k||j&&!z?Tl.jsx(Mb,{ref:q,container:h,disablePortal:C,children:Tl.jsxs(B,ku({},U,{children:[!R&&u?Tl.jsx(W,ku({},Y)):null,Tl.jsx(Dv,{disableEnforceFocus:y,disableAutoFocus:v,disableRestoreFocus:E,isEnabled:N,open:k,children:S.cloneElement(f,$)})]}))}):null}));function Fv(e){return Vf("MuiDivider",e)}const Hv=Gf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),$v=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Bv=Lg("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((e=>{let{theme:t,ownerState:r}=e;return ku({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:mm(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})}),(e=>{let{ownerState:t}=e;return ku({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})}),(e=>{let{theme:t,ownerState:r}=e;return ku({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}})}),(e=>{let{theme:t,ownerState:r}=e;return ku({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}})}),(e=>{let{ownerState:t}=e;return ku({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),Wv=Lg("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((e=>{let{theme:t,ownerState:r}=e;return ku({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===r.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})})),Vv=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=r,f=Iu(r,$v),h=ku({},r,{absolute:n,component:a,flexItem:s,light:l,orientation:u,role:c,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return Uh({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Fv,n)})(h);return Tl.jsx(Bv,ku({as:a,className:_g(m.root,i),role:c,ref:t,ownerState:h},f,{children:o?Tl.jsx(Wv,{className:m.wrapper,ownerState:h,children:o}):null}))}));Vv.muiSkipListHighlight=!0;const Gv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Uv=Lg(Ub,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Vb(e,t),!r.disableUnderline&&t.underline]}})((e=>{let{theme:t,ownerState:r}=e;var n;const o="light"===t.palette.mode,i=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return ku({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a}},[`&.${rv.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a},[`&.${rv.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:l}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(t.vars||t).palette[r.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${rv.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${rv.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${rv.disabled}, .${rv.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${rv.disabled}:before`]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&ku({padding:"25px 12px 8px"},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9}))})),Yv=Lg(Yb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Gb})((e=>{let{theme:t,ownerState:r}=e;return ku({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})})),Kv=S.forwardRef((function(e,t){var r,n,o,i;const a=Og({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:f={},type:h="text"}=a,m=Iu(a,Gv),g=ku({},a,{fullWidth:u,inputComponent:c,multiline:d,type:h}),b=(e=>{const{classes:t,disableUnderline:r}=e;return ku({},t,Uh({root:["root",!r&&"underline"],input:["input"]},tv,t))})(a),v={root:{ownerState:g},input:{ownerState:g}},y=(null!=p?p:l)?wp(v,null!=p?p:l):v,x=null!=(r=null!=(n=f.root)?n:s.Root)?r:Uv,S=null!=(o=null!=(i=f.input)?i:s.Input)?o:Yv;return Tl.jsx(Xb,ku({slots:{root:x,input:S},componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:b}))}));Kv.muiName="Input";const Xv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Jv(e){return`scale(${e}, ${e**2})`}const Zv={entering:{opacity:1,transform:Jv(1)},entered:{opacity:1,transform:"none"}},Qv="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ey=S.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=Ug}=e,g=Iu(e,Xv),b=qh(),v=S.useRef(),y=Qm(),x=S.useRef(null),C=Dh(x,Qh(o),t),E=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},w=E(u),R=E(((e,t)=>{eb(e);const{duration:r,delay:n,easing:o}=tb({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=r,e.style.transition=[y.transitions.create("opacity",{duration:a,delay:n}),y.transitions.create("transform",{duration:Qv?a:.666*a,delay:n,easing:o})].join(","),s&&s(e,t)})),A=E(l),P=E(p),k=E((e=>{const{duration:t,delay:r,easing:n}=tb({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:r}),y.transitions.create("transform",{duration:Qv?o:.666*o,delay:Qv?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Jv(.75),c&&c(e)})),I=E(d);return Tl.jsx(m,ku({appear:n,in:a,nodeRef:x,onEnter:R,onEntered:A,onEntering:w,onExit:k,onExited:I,onExiting:P,addEndListener:e=>{"auto"===h&&b.start(v.current||0,e),r&&r(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>S.cloneElement(o,ku({style:ku({opacity:0,transform:Jv(.75),visibility:"exited"!==e||a?void 0:"hidden"},Zv[e],f,o.props.style),ref:C},t))}))}));ey.muiSupportAuto=!0;const ty=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],ry=Lg(Ub,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Vb(e,t),!r.disableUnderline&&t.underline]}})((e=>{let{theme:t,ownerState:r}=e;let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),ku({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[r.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Zb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Zb.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Zb.disabled}, .${Zb.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Zb.disabled}:before`]:{borderBottomStyle:"dotted"}})})),ny=Lg(Yb,{name:"MuiInput",slot:"Input",overridesResolver:Gb})({}),oy=S.forwardRef((function(e,t){var r,n,o,i;const a=Og({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:h={},type:m="text"}=a,g=Iu(a,ty),b=(e=>{const{classes:t,disableUnderline:r}=e;return ku({},t,Uh({root:["root",!r&&"underline"],input:["input"]},Jb,t))})(a),v={root:{ownerState:{disableUnderline:s}}},y=(null!=f?f:u)?wp(null!=f?f:u,v):v,x=null!=(r=null!=(n=h.root)?n:l.Root)?r:ry,S=null!=(o=null!=(i=h.input)?i:l.Input)?o:ny;return Tl.jsx(Xb,ku({slots:{root:x,input:S},slotProps:y,fullWidth:c,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))}));function iy(e){return Vf("MuiLink",e)}oy.muiName="Input";const ay=Gf("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),sy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ly=e=>{let{theme:t,ownerState:r}=e;const n=(e=>sy[e]||e)(r.color),o=Op(t,`palette.${n}`,!1)||r.color,i=Op(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:mm(o,.4)},uy=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],cy=Lg(Ib,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${Tp(r.underline)}`],"button"===r.component&&t.button]}})((e=>{let{theme:t,ownerState:r}=e;return ku({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&ku({textDecoration:"underline"},"inherit"!==r.color&&{textDecorationColor:ly({theme:t,ownerState:r})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===r.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ay.focusVisible}`]:{outline:"auto"}})})),dy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiLink"}),{className:n,color:o="primary",component:i="a",onBlur:a,onFocus:s,TypographyClasses:l,underline:u="always",variant:c="inherit",sx:d}=r,p=Iu(r,uy),{isFocusVisibleRef:f,onBlur:h,onFocus:m,ref:g}=Vh(),[b,v]=S.useState(!1),y=Dh(t,g),x=ku({},r,{color:o,component:i,focusVisible:b,underline:u,variant:c}),C=(e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e;return Uh({root:["root",`underline${Tp(o)}`,"button"===r&&"button",n&&"focusVisible"]},iy,t)})(x);return Tl.jsx(cy,ku({color:o,className:_g(C.root,n),classes:l,component:i,onBlur:e=>{h(e),!1===f.current&&v(!1),a&&a(e)},onFocus:e=>{m(e),!0===f.current&&v(!0),s&&s(e)},ref:y,ownerState:x,variant:c,sx:[...Object.keys(sy).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},p))})),py=S.createContext({});function fy(e){return Vf("MuiList",e)}Gf("MuiList",["root","padding","dense","subheader"]);const hy=["children","className","component","dense","disablePadding","subheader"],my=Lg("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((e=>{let{ownerState:t}=e;return ku({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),gy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l}=r,u=Iu(r,hy),c=S.useMemo((()=>({dense:a})),[a]),d=ku({},r,{component:i,dense:a,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Uh({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},fy,t)})(d);return Tl.jsx(py.Provider,{value:c,children:Tl.jsxs(my,ku({as:i,className:_g(p.root,o),ref:t,ownerState:d},u,{children:[l,n]}))})}));function by(e){return Vf("MuiListItemIcon",e)}const vy=Gf("MuiListItemIcon",["root","alignItemsFlexStart"]),yy=["className"],xy=Lg("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((e=>{let{theme:t,ownerState:r}=e;return ku({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})})),Sy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=Iu(r,yy),i=ku({},r,{alignItems:S.useContext(py).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return Uh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},by,r)})(i);return Tl.jsx(xy,ku({className:_g(a.root,n),ownerState:i,ref:t},o))})),Cy=Gf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Ey=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function wy(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function Ry(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function Ay(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function Py(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Ay(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const ky=S.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Iu(e,Ey),p=S.useRef(null),f=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bh((()=>{n&&p.current.focus()}),[n]),S.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,t)=>{let{direction:r}=t;const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const t=`${Gh(wh(e))}px`;p.current.style["rtl"===r?"paddingLeft":"paddingRight"]=t,p.current.style.width=`calc(100% + ${t})`}return p.current}})),[]);const h=Dh(p,t);let m=-1;S.Children.forEach(i,((e,t)=>{S.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=S.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),S.cloneElement(e,t)}return e}));return Tl.jsx(gy,ku({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,r=e.key,n=wh(t).activeElement;if("ArrowDown"===r)e.preventDefault(),Py(t,n,l,s,wy);else if("ArrowUp"===r)e.preventDefault(),Py(t,n,l,s,Ry);else if("Home"===r)e.preventDefault(),Py(t,null,l,s,wy);else if("End"===r)e.preventDefault(),Py(t,null,l,s,Ry);else if(1===r.length){const o=f.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=n&&!o.repeating&&Ay(n,o);o.previousKeyMatched&&(l||Py(t,n,!1,s,wy,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:n?0:-1},d,{children:g}))}));function Iy(e){return Vf("MuiPopover",e)}Gf("MuiPopover",["root","paper"]);const My=["onEntering"],Ly=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Dy=["slotProps"];function Ty(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function _y(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function Oy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function qy(e){return"function"==typeof e?e():e}const Ny=Lg(jv,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zy=Lg(ib,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),jy=S.forwardRef((function(e,t){var r,n,o;const i=Og({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:d,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:b={},slots:v,slotProps:y,transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:C=ey,transitionDuration:E="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,A=Iu(i.TransitionProps,My),P=Iu(i,Ly),k=null!=(r=null==y?void 0:y.paper)?r:b,I=S.useRef(),M=Dh(I,k.ref),L=ku({},i,{anchorOrigin:l,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:k,transformOrigin:x,TransitionComponent:C,transitionDuration:E,TransitionProps:A}),D=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"]},Iy,t)})(L),T=S.useCallback((()=>{if("anchorPosition"===c)return u;const e=qy(s),t=(e&&1===e.nodeType?e:wh(I.current).body).getBoundingClientRect();return{top:t.top+Ty(t,l.vertical),left:t.left+_y(t,l.horizontal)}}),[s,l.horizontal,l.vertical,u,c]),_=S.useCallback((e=>({vertical:Ty(e,x.vertical),horizontal:_y(e,x.horizontal)})),[x.horizontal,x.vertical]),O=S.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=_(t);if("none"===c)return{top:null,left:null,transformOrigin:Oy(r)};const n=T();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,l=i+t.width,u=Rh(qy(s)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,r.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,r.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,r.horizontal+=e}else if(l>p){const e=l-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Oy(r)}}),[s,c,T,_,m]),[q,N]=S.useState(g),z=S.useCallback((()=>{const e=I.current;if(!e)return;const t=O(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[O]);S.useEffect((()=>(R&&window.addEventListener("scroll",z),()=>window.removeEventListener("scroll",z))),[s,R,z]);S.useEffect((()=>{g&&z()})),S.useImperativeHandle(a,(()=>g?{updatePosition:()=>{z()}}:null),[g,z]),S.useEffect((()=>{if(!g)return;const e=Eh((()=>{z()})),t=Rh(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,g,z]);let j=E;"auto"!==E||C.muiSupportAuto||(j=void 0);const F=f||(s?wh(qy(s)).body:void 0),H=null!=(n=null==v?void 0:v.root)?n:Ny,$=null!=(o=null==v?void 0:v.paper)?o:zy,B=Zh({elementType:$,externalSlotProps:ku({},k,{style:q?k.style:ku({},k.style,{opacity:0})}),additionalProps:{elevation:h,ref:M},ownerState:L,className:_g(D.paper,null==k?void 0:k.className)}),W=Zh({elementType:H,externalSlotProps:(null==y?void 0:y.root)||{},externalForwardedProps:P,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:F,open:g},ownerState:L,className:_g(D.root,p)}),{slotProps:V}=W,G=Iu(W,Dy);return Tl.jsx(H,ku({},G,!Yh(H)&&{slotProps:V,disableScrollLock:R},{children:Tl.jsx(C,ku({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),z()},onExited:()=>{N(!1)},timeout:j},A,{children:Tl.jsx($,ku({},B,{children:d}))}))}))}));function Fy(e){return Vf("MuiMenu",e)}Gf("MuiMenu",["root","paper","list"]);const Hy=["onEntering"],$y=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],By={vertical:"top",horizontal:"right"},Wy={vertical:"top",horizontal:"left"},Vy=Lg(jy,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gy=Lg(zy,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Uy=Lg(ky,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Yy=S.forwardRef((function(e,t){var r,n;const o=Og({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:d,PaperProps:p={},PopoverClasses:f,transitionDuration:h="auto",TransitionProps:{onEntering:m}={},variant:g="selectedMenu",slots:b={},slotProps:v={}}=o,y=Iu(o.TransitionProps,Hy),x=Iu(o,$y),C=(()=>{const e=S.useContext(om);return null!=e&&e})(),E=ku({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:y,variant:g}),w=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"],list:["list"]},Fy,t)})(E),R=i&&!l&&d,A=S.useRef(null);let P=-1;S.Children.map(a,((e,t)=>{S.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===P)&&(P=t))}));const k=null!=(r=b.paper)?r:Gy,I=null!=(n=v.paper)?n:p,M=Zh({elementType:b.root,externalSlotProps:v.root,ownerState:E,className:[w.root,s]}),L=Zh({elementType:k,externalSlotProps:I,ownerState:E,className:w.paper});return Tl.jsx(Vy,ku({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?By:Wy,slots:{paper:k,root:b.root},slotProps:{root:M,paper:L},open:d,ref:t,transitionDuration:h,TransitionProps:ku({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),m&&m(e,t)}},y),ownerState:E},x,{classes:f,children:Tl.jsx(Uy,ku({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===P||l),autoFocusItem:R,variant:g},u,{className:_g(w.list,u.className),children:a}))}))}));function Ky(e){return Vf("MuiMenuItem",e)}const Xy=Gf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jy=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Zy=Lg(Eb,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((e=>{let{theme:t,ownerState:r}=e;return ku({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Xy.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:mm(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Xy.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:mm(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Xy.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:mm(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:mm(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${Xy.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Xy.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${Hv.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${Hv.inset}`]:{marginLeft:52},[`& .${Cy.root}`]:{marginTop:0,marginBottom:0},[`& .${Cy.inset}`]:{paddingLeft:36},[`& .${vy.root}`]:{minWidth:36}},!r.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},r.dense&&ku({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${vy.root} svg`]:{fontSize:"1.25rem"}}))})),Qy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u="menuitem",tabIndex:c,className:d}=r,p=Iu(r,Jy),f=S.useContext(py),h=S.useMemo((()=>({dense:i||f.dense||!1,disableGutters:s})),[f.dense,i,s]),m=S.useRef(null);bh((()=>{n&&m.current&&m.current.focus()}),[n]);const g=ku({},r,{dense:h.dense,divider:a,disableGutters:s}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return ku({},a,Uh({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},Ky,a))})(r),v=Dh(m,t);let y;return r.disabled||(y=void 0!==c?c:-1),Tl.jsx(py.Provider,{value:h,children:Tl.jsx(Zy,ku({ref:v,role:u,tabIndex:y,component:o,focusVisibleClassName:_g(b.focusVisible,l),className:_g(b.root,d)},p,{ownerState:g,classes:b}))})}));function ex(e){return Vf("MuiNativeSelect",e)}const tx=Gf("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),rx=["className","disabled","error","IconComponent","inputRef","variant"],nx=e=>{let{ownerState:t,theme:r}=e;return ku({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":ku({},r.vars?{backgroundColor:`rgba(${r.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${tx.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(r.vars||r).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},ox=Lg("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Mg,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${tx.multiple}`]:t.multiple}]}})(nx),ix=e=>{let{ownerState:t,theme:r}=e;return ku({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(r.vars||r).palette.action.active,[`&.${tx.disabled}`]:{color:(r.vars||r).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},ax=Lg("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Tp(r.variant)}`],r.open&&t.iconOpen]}})(ix),sx=S.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:i,inputRef:a,variant:s="standard"}=e,l=Iu(e,rx),u=ku({},e,{disabled:n,variant:s,error:o}),c=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Uh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tp(r)}`,i&&"iconOpen",n&&"disabled"]},ex,t)})(u);return Tl.jsxs(S.Fragment,{children:[Tl.jsx(ox,ku({ownerState:u,className:_g(c.select,r),disabled:n,ref:a||t},l)),e.multiple?null:Tl.jsx(ax,{as:i,ownerState:u,className:c.icon})]})}));var lx;const ux=["children","classes","className","label","notched"],cx=Lg("fieldset",{shouldForwardProp:Mg})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),dx=Lg("legend",{shouldForwardProp:Mg})((e=>{let{ownerState:t,theme:r}=e;return ku({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:r.transitions.create("width",{duration:150,easing:r.transitions.easing.easeOut})},t.withLabel&&ku({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:r.transitions.create("max-width",{duration:50,easing:r.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:r.transitions.create("max-width",{duration:100,easing:r.transitions.easing.easeOut,delay:50})}))}));const px=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],fx=Lg(Ub,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Vb})((e=>{let{theme:t,ownerState:r}=e;const n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return ku({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${ev.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${ev.focused} .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette[r.color].main,borderWidth:2},[`&.${ev.error} .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${ev.disabled} .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&ku({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),hx=Lg((function(e){const{className:t,label:r,notched:n}=e,o=Iu(e,ux),i=null!=r&&""!==r,a=ku({},e,{notched:n,withLabel:i});return Tl.jsx(cx,ku({"aria-hidden":!0,className:t,ownerState:a},o,{children:Tl.jsx(dx,{ownerState:a,children:i?Tl.jsx("span",{children:r}):lx||(lx=Tl.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((e=>{let{theme:t}=e;const r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:r}})),mx=Lg(Yb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Gb})((e=>{let{theme:t,ownerState:r}=e;return ku({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{padding:"8.5px 14px"},r.multiline&&{padding:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0})})),gx=S.forwardRef((function(e,t){var r,n,o,i,a;const s=Og({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=s,g=Iu(s,px),b=(e=>{const{classes:t}=e;return ku({},t,Uh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Qb,t))})(s),v=zb(),y=qb({props:s,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x=ku({},s,{color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:v,fullWidth:u,hiddenLabel:y.hiddenLabel,multiline:p,size:y.size,type:m}),C=null!=(r=null!=(n=h.root)?n:l.Root)?r:fx,E=null!=(o=null!=(i=h.input)?i:l.Input)?o:mx;return Tl.jsx(Xb,ku({slots:{root:C,input:E},renderSuffix:e=>Tl.jsx(hx,{ownerState:x,className:b.notchedOutline,label:null!=d&&""!==d&&y.required?a||(a=Tl.jsxs(S.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:c,multiline:p,ref:t,type:m},g,{classes:ku({},b,{notchedOutline:null})}))}));function bx(e){return Vf("MuiSelect",e)}gx.muiName="Input";const vx=Gf("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var yx;const xx=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Sx=Lg("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${vx.select}`]:t.select},{[`&.${vx.select}`]:t[r.variant]},{[`&.${vx.error}`]:t.error},{[`&.${vx.multiple}`]:t.multiple}]}})(nx,{[`&.${vx.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Cx=Lg("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Tp(r.variant)}`],r.open&&t.iconOpen]}})(ix),Ex=Lg("input",{shouldForwardProp:e=>Ig(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function wx(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Rx(e){return null==e||"string"==typeof e&&!e.trim()}const Ax=S.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:p,error:f=!1,IconComponent:h,inputRef:m,labelId:g,MenuProps:b={},multiple:v,name:y,onBlur:x,onChange:C,onClose:E,onFocus:w,onOpen:R,open:A,readOnly:P,renderValue:k,SelectDisplayProps:I={},tabIndex:M,value:L,variant:D="standard"}=e,T=Iu(e,xx),[_,O]=Mh({controlled:L,default:c,name:"Select"}),[q,N]=Mh({controlled:A,default:u,name:"Select"}),z=S.useRef(null),j=S.useRef(null),[F,H]=S.useState(null),{current:$}=S.useRef(null!=A),[B,W]=S.useState(),V=Dh(t,m),G=S.useCallback((e=>{j.current=e,e&&H(e)}),[]),U=null==F?void 0:F.parentNode;S.useImperativeHandle(V,(()=>({focus:()=>{j.current.focus()},node:z.current,value:_})),[_]),S.useEffect((()=>{u&&q&&F&&!$&&(W(a?null:U.clientWidth),j.current.focus())}),[F,a]),S.useEffect((()=>{i&&j.current.focus()}),[i]),S.useEffect((()=>{if(!g)return;const e=wh(j.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&j.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const Y=(e,t)=>{e?R&&R(t):E&&E(t),$||(W(a?null:U.clientWidth),N(e))},K=S.Children.toArray(s),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(v){r=Array.isArray(_)?_.slice():[];const t=_.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),_!==r&&(O(r),C)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:y}}),C(o,e)}v||Y(!1,t)}},J=null!==F&&q;let Z,Q;delete T["aria-invalid"];const ee=[];let te=!1;(Hb({value:_})||p)&&(k?Z=k(_):te=!0);const re=K.map((e=>{if(!S.isValidElement(e))return null;let t;if(v){if(!Array.isArray(_))throw new Error(Ru(2));t=_.some((t=>wx(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=wx(_,e.props.value),t&&te&&(Q=e.props.children);return S.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(Z=v?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Q);let ne,oe=B;!a&&$&&F&&(oe=U.clientWidth),ne=void 0!==M?M:d?null:0;const ie=I.id||(y?`mui-component-select-${y}`:void 0),ae=ku({},e,{variant:D,value:_,open:J,error:f}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Uh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tp(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},bx,t)})(ae),le=ku({},b.PaperProps,null==(r=b.slotProps)?void 0:r.paper),ue=Ih();return Tl.jsxs(S.Fragment,{children:[Tl.jsx(Sx,ku({ref:G,tabIndex:ne,role:"combobox","aria-controls":ue,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ie].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),Y(!0,e))}},onMouseDown:d||P?null:e=>{0===e.button&&(e.preventDefault(),j.current.focus(),Y(!0,e))},onBlur:e=>{!J&&x&&(Object.defineProperty(e,"target",{writable:!0,value:{value:_,name:y}}),x(e))},onFocus:w},I,{ownerState:ae,className:_g(I.className,se.select,l),id:ie,children:Rx(Z)?yx||(yx=Tl.jsx("span",{className:"notranslate",children:""})):Z})),Tl.jsx(Ex,ku({"aria-invalid":f,value:Array.isArray(_)?_.join(","):_,name:y,ref:z,"aria-hidden":!0,onChange:e=>{const t=K.find((t=>t.props.value===e.target.value));void 0!==t&&(O(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:i,ownerState:ae},T)),Tl.jsx(Cx,{as:h,className:se.icon,ownerState:ae}),Tl.jsx(Yy,ku({id:`menu-${y||""}`,anchorEl:U,open:J,onClose:e=>{Y(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:ku({"aria-labelledby":g,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:ku({},b.slotProps,{paper:ku({},le,{style:ku({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})})),Px=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],kx=["root"],Ix={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Mg(e)&&"variant"!==e,slot:"Root"},Mx=Lg(oy,Ix)(""),Lx=Lg(gx,Ix)(""),Dx=Lg(Kv,Ix)(""),Tx=S.forwardRef((function(e,t){const r=Og({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:i={},className:a,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:u=nv,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:b=!1,onClose:v,onOpen:y,open:x,renderValue:C,SelectDisplayProps:E,variant:w="outlined"}=r,R=Iu(r,Px),A=b?sx:Ax,P=qb({props:r,muiFormControl:zb(),states:["variant","error"]}),k=P.variant||w,I=ku({},r,{variant:k,classes:i}),M=(e=>{const{classes:t}=e;return t})(I),L=Iu(M,kx),D=d||{standard:Tl.jsx(Mx,{ownerState:I}),outlined:Tl.jsx(Lx,{label:f,ownerState:I}),filled:Tl.jsx(Dx,{ownerState:I})}[k],T=Dh(t,Qh(D));return Tl.jsx(S.Fragment,{children:S.cloneElement(D,ku({inputComponent:A,inputProps:ku({children:o,error:P.error,IconComponent:u,variant:k,type:void 0,multiple:g},b?{id:c}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:h,MenuProps:m,onClose:v,onOpen:y,open:x,renderValue:C,SelectDisplayProps:ku({id:c},E)},p,{classes:p?wp(L,p.classes):L},d?d.props.inputProps:{})},(g&&b||l)&&"outlined"===k?{notched:!0}:{},{ref:T,className:_g(D.props.className,a,M.root)},!d&&{variant:k},R))})}));function _x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(jl,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("rect",{stroke:pl.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}Tx.muiName="Select";const Ox={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:bl,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var qx=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:pl.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:pl.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Tl.jsx(ql,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${pl.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`,borderRadius:bl,backgroundColor:pl.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${pl.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:pl.WHITE,color:pl.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:bl},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:pl.GREYSCALE_0_15,backgroundColor:pl.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${pl.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:pl.GREEN_PALE},"&:active":{backgroundColor:pl.GREEN_DARK},"&.Mui-focusVisible":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:pl.BLUE_PALE},"&:active":{backgroundColor:pl.BLUE_DARK},"&.Mui-focusVisible":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:bl,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:pl.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`}},outlined:e=>{let{ownerState:t}=e;return{padding:"7px 16px",borderColor:pl.GREYSCALE_0_15,backgroundColor:pl.GREYSCALE_100_60,"&:active":{backgroundColor:pl.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${pl.MISC_FOCUS_BORDER}`},..."amethyst"===t.color&&{borderColor:pl.PURPLE,"&.Mui-focusVisible":{borderColor:pl.PURPLE,boxShadow:`0 0 0 3px ${Sh(pl.PURPLE_PALE,.5)}`}}}},outlinedPrimary:{borderColor:pl.GREEN,"&.Mui-focusVisible":{borderColor:pl.GREEN,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:pl.BLUE,"&.Mui-focusVisible":{borderColor:pl.BLUE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:pl.ORANGE,"&.Mui-focusVisible":{borderColor:pl.ORANGE,boxShadow:`0 0 0 3px ${Sh(pl.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:pl.RED,"&.Mui-focusVisible":{borderColor:pl.RED,boxShadow:`0 0 0 3px ${Sh(pl.RED_PALE,.5)}`}},contained:e=>{let{ownerState:t}=e;return{color:pl.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===t.color&&{"&:hover":{backgroundColor:pl.PURPLE_PALE},"&:active":{backgroundColor:pl.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:pl.PURPLE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.PURPLE_PALE,.5)}`}}}},containedPrimary:{"&:hover":{backgroundColor:pl.GREEN_PALE},"&:active":{backgroundColor:pl.GREEN_DARK},"&.Mui-focusVisible":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:pl.BLUE_PALE},"&:active":{backgroundColor:pl.BLUE_DARK},"&.Mui-focusVisible":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:pl.ORANGE_PALE},"&:active":{backgroundColor:pl.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:pl.ORANGE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:pl.RED_PALE},"&:active":{backgroundColor:pl.RED_DARK},"&.Mui-focusVisible":{borderColor:pl.RED_PALE,boxShadow:`0 0 0 3px ${Sh(pl.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:pl.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:pl.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:bl,boxShadow:`inset 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Tl.jsx(zl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:fl,borderRadius:bl,color:pl.TEXT_PRIMARY,backgroundColor:pl.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:pl.GREYSCALE_0_05,color:pl.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:pl.GREEN,borderColor:pl.GREEN},"&.MuiChip-outlinedInfo":{color:pl.BLUE,borderColor:pl.BLUE},"&.MuiChip-outlinedWarning":{color:pl.ORANGE,borderColor:pl.ORANGE},"&.MuiChip-outlinedError":{color:pl.RED,borderColor:pl.RED}},outlined:{border:`solid 1px ${pl.GREYSCALE_0_15}`,backgroundColor:pl.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:bl,boxShadow:"none",backgroundColor:pl.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:pl.GREEN,borderColor:pl.GREEN},outlinedSecondary:{color:pl.BLUE,borderColor:pl.BLUE},label:{fontFamily:Cl.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Tl.jsx(zl,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Tl.jsx(ql,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:bl},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:bl,fontSize:hl,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:pl.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${pl.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:pl.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:pl.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_05}}},popupIndicator:{borderRadius:bl,border:`solid 1px ${pl.GREYSCALE_0_15}`,color:pl.GREYSCALE_0_60,marginRight:0,width:gl,height:gl},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${pl.GREYSCALE_0_15}`},clearIndicator:{borderRadius:bl,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:pl.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:hl}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:fl,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:pl.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:pl.GREYSCALE_25,fontSize:fl,fontFamily:Cl.FONT_FAMILY,fontWeight:xl,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:pl.TEXT_PRIMARY},"&.Mui-error":{color:pl.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:pl.TEXT_SECONDARY,content:"'(optional)'",fontWeight:yl,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:pl.TEXT_SECONDARY,content:"'(required)'",fontWeight:yl,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:hl,lineHeight:"16px",backgroundColor:pl.WHITE,borderRadius:bl,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.GREYSCALE_0_05}`,borderColor:pl.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${pl.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${pl.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.RED}`,boxShadow:`0px 0px 0px 1px ${pl.RED}, inset 0 2px 0 0 ${pl.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.GREYSCALE_0_10}`,borderColor:pl.GREYSCALE_0_10,backgroundColor:pl.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:pl.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:pl.GREYSCALE_0_15,borderRadius:bl,boxShadow:`inset 0 2px 0 0 ${pl.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Tl.jsx(ql,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:pl.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:pl.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:pl.GREYSCALE_0_03},"&:active":{backgroundColor:pl.GREYSCALE_0_10},"&:focus":{backgroundColor:pl.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${pl.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:pl.GREYSCALE_0_30,"&:hover":{backgroundColor:pl.GREYSCALE_0_0,borderColor:pl.GREYSCALE_0_15},"& ~svg":{color:pl.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${pl.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:bl}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:pl.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:hl,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:fl,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:fl,fontWeight:xl,color:pl.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:xl}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${pl.GREYSCALE_0_15}, 0px 0px 0px 1px ${pl.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Tl.jsx($l,{}),checkedIcon:Tl.jsx(Bl,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:pl.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:pl.GREYSCALE_0_20}},"&.Mui-disabled":{fill:pl.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Tl.jsx(_x,{}),checkedIcon:Tl.jsx(Fl,{}),indeterminateIcon:Tl.jsx(Hl,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:bl,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:pl.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:pl.GREYSCALE_0_55,color:pl.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:pl.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:pl.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:pl.GREYSCALE_0_55,"&:hover":{color:pl.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:pl.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:pl.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:hl,color:pl.TEXT_PRIMARY,lineHeight:"16px",fontWeight:xl},secondary:{fontSize:fl,color:pl.GREYSCALE_45,fontWeight:yl,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:hl,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:hl,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:pl.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:fl,borderBottom:`solid 1px ${pl.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:hl,color:pl.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:pl.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:pl.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:pl.RED}}},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:pl.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:pl.GREEN,height:"24px","&.Mui-disabled":{color:pl.GREYSCALE_0_15}},rail:{backgroundColor:pl.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${pl.GREYSCALE_0_05}`,borderRadius:bl,boxShadow:`inset 0px 0px 0px 1px ${pl.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${pl.GREYSCALE_0_05}`,borderRadius:bl},thumb:{height:"16px",width:"16px",borderRadius:bl,backgroundColor:pl.WHITE,boxShadow:`0px 1px 2px 0px ${pl.GREYSCALE_0_15}, 0px 0px 0px 1px ${pl.GREYSCALE_0_05}`,"&:hover":{borderRadius:bl,boxShadow:`0 2px 4px 0 ${pl.GREYSCALE_0_30}, 0 0 0 1px ${pl.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${pl.GREYSCALE_0_15}, 0 0 0 1px ${pl.GREYSCALE_0_06}, 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${pl.GREYSCALE_0_15}, 0 0 0 1px ${pl.GREYSCALE_0_06}, 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:pl.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:pl.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:pl.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:pl.GREYSCALE_0_15},markLabel:{color:pl.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:pl.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:pl.WHITE,color:pl.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:pl.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:pl.GREYSCALE_0_15,borderRadius:bl},thumb:{height:"16px",width:"16px",borderRadius:bl,backgroundColor:pl.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:hl,fontWeight:xl,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${pl.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`,backgroundColor:pl.GREYSCALE_0_03,borderRadius:bl},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:pl.GREYSCALE_25,"&.Mui-selected":{color:pl.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:hl,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:bl,"&:hover":{backgroundColor:pl.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${pl.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${pl.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:bl,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:pl.GREYSCALE_0_05},"&:hover":{backgroundColor:pl.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${pl.GREYSCALE_85}`,borderRight:`1px solid ${pl.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:xl,backgroundColor:pl.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:pl.GREYSCALE_98,borderBottom:`1px solid ${pl.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${pl.GREYSCALE_85}`,borderTop:`1px solid ${pl.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:pl.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:pl.GREYSCALE_0_05,"&:hover":{backgroundColor:pl.GREYSCALE_0_03}},"&&:hover":{backgroundColor:pl.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:e=>{let{className:t}=e;return Tl.jsx(Wl,{className:t})}},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${pl.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:hl,borderRadius:bl,padding:"7px 16px",border:`1px solid ${pl.GREYSCALE_0_15}`,backgroundColor:pl.GREYSCALE_100_60,color:pl.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:pl.GREYSCALE_0_10,border:`1px solid ${pl.GREYSCALE_0_30}`},"&:hover":{backgroundColor:pl.GREYSCALE_0_03,border:`1px solid ${pl.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:pl.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${pl.MISC_FOCUS_BORDER}`,border:`1px solid ${pl.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:pl.GREYSCALE_25,backgroundColor:pl.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:pl.GREYSCALE_0_10,border:`1px solid ${pl.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:fl,height:24,width:24,padding:7},sizeLarge:{fontSize:ml,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:hl,borderRadius:bl}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:pl.GREYSCALE_20},tooltip:{backgroundColor:pl.GREYSCALE_20,fontSize:fl,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Ox}:{}}))(t);const Nx=e=>({mode:"light",primary:{ultraLight:pl.GREEN_ULTRA_LIGHT,light:pl.GREEN_PALE,main:pl.GREEN,dark:pl.GREEN_DARK,extraDark:pl.GREEN_EXTRA_DARK,contrastText:pl.WHITE},secondary:{ultraLight:pl.BLUE_ULTRA_LIGHT,light:pl.BLUE_PALE,main:pl.BLUE,dark:pl.BLUE_DARK,extraDark:pl.BLUE_EXTRA_DARK,contrastText:pl.WHITE},error:{ultraLight:pl.RED_ULTRA_LIGHT,light:pl.RED_PALE,main:pl.RED,dark:pl.RED_DARK,extraDark:pl.RED_EXTRA_DARK,contrastText:pl.WHITE},warning:{ultraLight:pl.ORANGE_ULTRA_LIGHT,light:pl.ORANGE_PALE,main:pl.ORANGE,dark:pl.ORANGE_DARK,extraDark:pl.ORANGE_EXTRA_DARK,contrastText:pl.WHITE},success:{ultraLight:pl.GREEN_ULTRA_LIGHT,light:pl.GREEN_PALE,main:pl.GREEN,dark:pl.GREEN_DARK,extraDark:pl.GREEN_EXTRA_DARK,contrastText:pl.WHITE},info:{ultraLight:pl.BLUE_ULTRA_LIGHT,light:pl.BLUE_PALE,main:pl.BLUE,dark:pl.BLUE_DARK,extraDark:pl.BLUE_EXTRA_DARK,contrastText:pl.WHITE},text:{primary:pl.TEXT_PRIMARY,secondary:pl.TEXT_SECONDARY,disabled:pl.GREYSCALE_0_30},action:{hover:pl.GREYSCALE_0_03,hoverOpacity:.03,selected:pl.GREYSCALE_0_05,selectedOpacity:.05,focus:pl.MISC_FOCUS_BORDER},amethyst:{ultraLight:pl.WHITE,main:pl.PURPLE,light:pl.PURPLE_PALE,dark:pl.PURPLE_DARK,extraDark:pl.GREYSCALE_0_0,contrastText:pl.WHITE},background:{paper:pl.WHITE,default:pl.GREYSCALE_95},divider:pl.GREYSCALE_0_15}),zx={...dl},jx=function(){return function(e){return{components:qx(0,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),palette:Nx(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:hl,fontWeightLight:vl,fontWeightRegular:yl,fontWeightMedium:xl,fontWeightBold:Sl,htmlFontSize:hl,fontFamily:Cl.FONT_FAMILY,button:{fontWeight:xl,fontSize:hl,textTransform:"none"},body1:{fontSize:ml,lineHeight:"24px"},body2:{fontSize:hl,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:gl,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:ml,fontWeight:xl,lineHeight:"16px"},h6:{fontSize:hl,fontWeight:xl,lineHeight:"16px"},caption:{color:pl.TEXT_SECONDARY},subtitle1:{fontSize:hl,color:pl.TEXT_SECONDARY},subtitle2:{fontSize:fl,color:pl.TEXT_SECONDARY}},shape:{borderRadius:bl}}}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light",arguments.length>1&&void 0!==arguments[1]&&arguments[1])}().palette,Fx={TEXT:jx.text.primary,DISABLED:jx.text.disabled,HOVER:jx.action.hover,WHITE:zx.GREYSCALE_100,BORDER_LIGHT:zx.GREYSCALE_90,BORDER_MEDIUM:zx.GREYSCALE_85,BORDER_HEAVY:zx.GREYSCALE_50,DARK_MODE_TEXT:zx.GREYSCALE_95,DARK_MODE_BORDER:zx.GREYSCALE_95,DARK_MODE_DISABLED:zx.GREYSCALE_70,DARK_MODE_BACKGROUND:zx.GREYSCALE_20,TRANSPARENT:"transparent",NULL_VALUE_BACKGROUND:zx.GREYSCALE_95,SELECTED:jx.primary.main,LINK:jx.info.main,BACKGROUND_EMPTY_STATE:zx.GREYSCALE_98},Hx=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fx.TEXT,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fx.WHITE;const n=te(e),o=te(t),i=te(r);return n.isInvalid()?t:function(e,t,r){const n=re(e,t),o=re(e,r);if(void 0!==n&&void 0!==o)return n>o?t:r}(n,i,o).getRGB()},$x=e=>{const t=e.getStyle("","","dataColors.selected")||Fx.SELECTED,r=function(e,t){const r=te("#FFFFFF"),n=te(e),o=te(t);if(n.isInvalid()||o.isInvalid()||n.getAlpha()<1||o.getAlpha()<1)return t;const i=re(r,n),a=re(o,n),s=i>a||i>4.5;return!s&&a>3?o.getHex():s?"#FFFFFF":"#000000"}(t,Fx.TEXT);return{background:t,color:r}},Bx=(e,t)=>{const r=te(e);return 0===r.a?(r.setAlpha(t.opacity),r.getString()):r.isDark()?r.getBrightenedColor(t.brighter).getString():r.getDarkenedColor(t.darker).getString()},Wx=(e,t,r)=>{const n=t?e.getColorPickerColor(t):"none";return"none"===n?r:n},Vx=e=>{const t=te(e);return t.isInvalid()?null:1===t.a?t.getRGB():t.getRGBA()},Gx=(e,t,r)=>{const n=e.closest(".qv-object-wrapper")?.querySelector(".sel-toolbar-confirm")?.parentElement??document.querySelector("#qv-selection-toolbar-popover .sel-toolbar-confirm")?.parentElement;n?n.focus():t.focusSelection?.(r)},Ux=e=>{e.stopPropagation(),e.preventDefault()},Yx=e=>!!e&&0===te(e).a,Kx="#grid",Xx=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fx.WHITE;return e&&!Yx(e)?e:Yx(t)?r&&!Yx(r)?r:n:t},Jx=(e,t)=>{const r=t?.closest(e);return r&&window.getComputedStyle(r).backgroundColor},Zx=(e,t,r,n,o)=>{const i=Jx(".qv-object .qv-inner-object",r),a=Jx(".qv-panel-sheet",r),s=Jx(Kx,r)??a,l=(e=>{const t=e.components?.find((e=>"general"===e.key)),r=t?.bgColor?.colorExpression,n=t?.bgColor?.color?.color,o=t?.bgColor?.useColorExpression;if(o&&r)return Vx(r);if("none"===n)return"transparent";if(void 0===n)return;const i=te(n);return i.setAlpha(t?.bgColor?.color?.alpha??i.a),i.getRGBA()})(e),u=n?.(t),c=o?.(t),d=u||i||c,p=Yx(d),f=!Yx(h=p?s:d)&&Hx(h,Fx.TEXT,Fx.DARK_MODE_TEXT)===X(Fx.DARK_MODE_TEXT);var h;return{color:d,headerColor:Xx(l,d,s),isDark:f}},Qx=(e,r,n,s)=>{const l=a(),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{attributeFilter:["style"],childList:!1,subtree:!1};const[r,n]=o([]);return i((()=>{let r;return e&&(r=new MutationObserver((e=>{n(e)})),r.observe(e,t)),()=>{r?.disconnect()}}),[e,t]),r}(r.closest(Kx),{attributeFilter:["style"],childList:!1,subtree:!1,attributeOldValue:!0}).filter((e=>{let{oldValue:t}=e;return t?.includes("background")})).map((e=>{let{oldValue:t}=e;return t})).join(",");return t((()=>({...l,background:Zx(e,l,r,n,s)})),[l.name(),r,n,s,e,u])};function eS(e,r){const o=t((()=>({isLoading:!0})),r),[i,a]=n((async()=>{try{return await e()}finally{o.isLoading=!1}}),r);return[i,o.isLoading,a]}const tS=3;function rS(e,t,r){let n=0,o=e.length;if(e.length<=1)return null;if(r(e)<=t)return null;for(;n<=o;){const i=Math.floor((n+o)/2),a=e.slice(0,i),s=e.slice(0,i-1),l=r(a),u=r(s);if(l>t&&u<=t)return e.slice(i-1)||null;if(l===t)return e.slice(i)||null;l<t?n=i+1:o=i}return null}function nS(e,t){let{fontSize:r="12px",fontFamily:n="Source Sans Pro, Arial, sans-serif",fontStyle:o="normal",fontWeight:i="normal"}=e;const{maxNbrLinesOfText:a=tS}=t??{},{estimateWidth:s,measureText:l,estimateLineCount:u}=w((()=>{const e=document.createElement("canvas").getContext("2d");e.font=`${o} ${i} ${r} ${n}`;const t=st(e.measureText.bind(e)),s=e=>+t(e).width.toFixed(2),l=st((e=>{let{text:t,maxWidth:r,isNumeric:n=!1}=e;if(n)return 1;let o=0,i=t;do{o+=1,i=rS(i,r,s)}while(null!==i&&o<a);return o}),(e=>{let{text:t,maxWidth:r,isNumeric:n}=e;return`${t}-${r}-${n?"true":"false"}`}));return{measureText:e=>t(e).width,estimateWidth:e=>t("N").width*e,estimateLineCount:l}}),[o,i,r,n,a]);return{estimateWidth:s,measureText:l,estimateLineCount:u}}var oS,iS=F;oS=iS.createRoot,iS.hydrateRoot;const aS="Source Sans Pro, sans-serif",sS=(e,t,r)=>{const[,n,o]=eS((async()=>{const t=se(r.flags),n=e.getStyle("","","fontFamily"),o=e.getStyle("object","label.name","fontFamily"),i=e.getStyle("object","label.value","fontFamily"),a=e.getStyle("","","fontFamilies")??[];return Promise.all([...t,...a,n,o,i,aS].filter((e=>void 0!==e)).map((async e=>{await document.fonts.load(`600 12px ${e}`),await document.fonts.load(`12px ${e}`)})))}),[t,e,r]);return o?(console.warn("Failed to load fonts:",o),!0):!n};function lS(e,t){const[r,n]=E(t);r.some(((e,r)=>e!==t[r]))&&(n(t),e())}var uS={NebulaTableUtils_ColumnAdjuster_ColumnNameLabel:{id:"NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",locale:{"de-DE":"Breite von {0}","en-US":"Width of {0}","es-ES":"Ancho de {0}","fr-FR":"Largeur de {0}","it-IT":"Larghezza di {0}","ja-JP":"{0} の幅","ko-KR":"{0}의 너비","nl-NL":"Breedte van {0}","pl-PL":"Szerokość kolumny {0}","pt-BR":"Comprimento de {0}","ru-RU":'Ширина столбца "{0}"',"sv-SE":"Bredd på {0}","tr-TR":"{0} genişliği","zh-CN":"{0} 的宽度","zh-TW":"{0} 的寬度"}},NebulaTableUtils_MenuGroupLabel_Sorting:{id:"NebulaTableUtils.MenuGroupLabel.Sorting",locale:{"de-DE":"Sortierung","en-US":"Sorting","es-ES":"Ordenación","fr-FR":"Tri","it-IT":"Ordinamento","ja-JP":"ソート","ko-KR":"정렬","nl-NL":"Sorteren","pl-PL":"Sortowanie","pt-BR":"Classificação","ru-RU":"Сортировка","sv-SE":"Sortering","tr-TR":"Sıralama","zh-CN":"排序","zh-TW":"排序"}},NebulaTableUtils_MenuItemLabel_AdjustColumnSize:{id:"NebulaTableUtils.MenuItemLabel.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},NebulaTableUtils_MenuItemLabel_ClearSelections:{id:"NebulaTableUtils.MenuItemLabel.ClearSelections",locale:{"de-DE":"Auswahlen löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Geselecteerde waarden wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},NebulaTableUtils_MenuItemLabel_Collapse:{id:"NebulaTableUtils.MenuItemLabel.Collapse",locale:{"de-DE":"Reduzieren","en-US":"Collapse","es-ES":"Contraer","fr-FR":"Réduire","it-IT":"Comprimi","ja-JP":"折りたたむ","ko-KR":"축소","nl-NL":"Samenvouwen","pl-PL":"Zwiń","pt-BR":"Recolher","ru-RU":"Свернуть","sv-SE":"Dölj","tr-TR":"Daralt","zh-CN":"折叠","zh-TW":"收合"}},NebulaTableUtils_MenuItemLabel_ColumnOptions:{id:"NebulaTableUtils.MenuItemLabel.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбца","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},NebulaTableUtils_MenuItemLabel_Expand:{id:"NebulaTableUtils.MenuItemLabel.Expand",locale:{"de-DE":"Erweitern","en-US":"Expand","es-ES":"Expandir","fr-FR":"Développer","it-IT":"Espandi","ja-JP":"展開","ko-KR":"확장","nl-NL":"Uitvouwen","pl-PL":"Rozwiń","pt-BR":"Expandir","ru-RU":"Развернуть","sv-SE":"Utöka","tr-TR":"Genişlet","zh-CN":"展开","zh-TW":"展開"}},NebulaTableUtils_MenuItemLabel_Search:{id:"NebulaTableUtils.MenuItemLabel.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},NebulaTableUtils_MenuItemLabel_SelectAll:{id:"NebulaTableUtils.MenuItemLabel.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},NebulaTableUtils_MenuItemLabel_SelectAlternative:{id:"NebulaTableUtils.MenuItemLabel.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대체 가능 값 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},NebulaTableUtils_MenuItemLabel_SelectExcluded:{id:"NebulaTableUtils.MenuItemLabel.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},NebulaTableUtils_MenuItemLabel_SelectPossible:{id:"NebulaTableUtils.MenuItemLabel.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},NebulaTableUtils_MenuItemLabel_Selections:{id:"NebulaTableUtils.MenuItemLabel.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택 내용","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},NebulaTableUtils_MenuItemLabel_SortAscending:{id:"NebulaTableUtils.MenuItemLabel.SortAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortieren","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Trier par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},NebulaTableUtils_MenuItemLabel_SortDescending:{id:"NebulaTableUtils.MenuItemLabel.SortDescending",locale:{"de-DE":"In absteigender Reihenfolge sortieren","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Trier par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},NebulaTableUtils_Pagination_DisplayedRowsLabel:{id:"NebulaTableUtils.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{0}/{1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},NebulaTableUtils_Pagination_FirstPage:{id:"NebulaTableUtils.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},NebulaTableUtils_Pagination_LastPage:{id:"NebulaTableUtils.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},NebulaTableUtils_Pagination_NextPage:{id:"NebulaTableUtils.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},NebulaTableUtils_Pagination_PreviousPage:{id:"NebulaTableUtils.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},NebulaTableUtils_Pagination_RowsPerPage:{id:"NebulaTableUtils.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},NebulaTableUtils_Pagination_SelectPage:{id:"NebulaTableUtils.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}}};const cS=e=>{let{translator:t}=e;return w((()=>{!function(e){if(e&&e.get&&e.add){const t="NebulaTableUtils.MenuGroupLabel.Sorting";if(e.get(t)!==t)return;Object.keys(uS).forEach((t=>{e.add(uS[t])}))}}(t)}),[t]),t},dS=e=>{const t=s();return{...t,select:!!t.active&&!!t.select&&!e,active:!!t.active&&!e,scroll:!!t.active}},pS="12px",fS="nebula-table-utils-head-menu-button",hS="nebula-table-utils-head-menu-wrapper",mS="nebula-table-utils-head-menu",gS="nebula-table-utils-head-menu-list-id",bS="sn-copy-cell";let vS=function(e){return e.Enter="Enter",e.Space=" ",e.Esc="Escape",e.Tab="Tab",e.Shift="Shift",e.Left="ArrowLeft",e.Right="ArrowRight",e.Up="ArrowUp",e.Down="ArrowDown",e.C="c",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.F2="F2",e}({});const yS="nebula-table-utils-column-adjuster";let xS=function(e){return e[e.PixelsMin=30]="PixelsMin",e[e.PixelsMax=7680]="PixelsMax",e[e.PixelsDefault=200]="PixelsDefault",e[e.PercentageMin=1]="PercentageMin",e[e.PercentageMax=100]="PercentageMax",e[e.PercentageDefault=20]="PercentageDefault",e[e.PercentageMaxInIndentMode=75]="PercentageMaxInIndentMode",e[e.AutoMinPivot=80]="AutoMinPivot",e[e.AutoMinTable=120]="AutoMinTable",e}({}),SS=function(e){return e.Auto="auto",e.FitToContent="fitToContent",e.Pixels="pixels",e.Percentage="percentage",e}({});const CS={darker:.15,brighter:.3,opacity:.03},ES={darker:.3,brighter:.5,opacity:.05};let wS=function(e){return e.Cyclic="C",e}({});const RS=document.createElement("textarea");function AS(e){RS.value=e,document.body.appendChild(RS),RS.select(),RS.setSelectionRange(0,RS.value.length),document.execCommand("copy"),document.body.removeChild(RS)}RS.style.position="absolute",RS.style.left="-9999px",RS.setAttribute("readonly","");const PS=e=>{const t=e.title;t&&(navigator.clipboard?.writeText?navigator.clipboard.writeText(t).catch((()=>{AS(t)})):AS(t))};function kS(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var IS,MS,LS,DS="top",TS="top-right",_S="right",OS="bottom-right",qS="bottom",NS="bottom-left",zS="left",jS="top-left";kS(kS(kS(kS(kS(kS(kS(kS(kS(kS(IS={},"equal-equal",[DS,qS]),"equal-higher",[qS,OS]),"equal-lower",[DS,TS]),"equal-void",[DS,qS]),"higher-equal",[zS,NS,DS,TS]),"higher-higher-acute",[qS,NS,zS,TS]),"higher-higher-obtuse",[qS,DS]),"higher-lower-negative",[DS,TS,_S]),"higher-lower-positive",[qS,NS,zS]),"higher-void",[DS]),kS(kS(kS(kS(kS(kS(kS(kS(kS(kS(IS,"lower-equal",[DS]),"lower-higher-negative",[DS,jS]),"lower-higher-positive",[OS]),"lower-lower-acute",[DS,jS,zS,TS,_S]),"lower-lower-obtuse",[DS,qS]),"lower-void",[DS]),"void-equal",[DS]),"void-higher",[DS,qS]),"void-lower",[DS,qS,zS]),"void-void",[DS]),kS(IS,"unclassified",[DS,qS,_S,zS,TS,OS,NS,jS]);var FS=function(){if(LS)return MS;LS=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return MS=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},MS}();function HS(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function $S(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function BS(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(FS);var WS=1/.7,VS="\\s*([+-]?\\d+)\\s*",GS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",US="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",YS=/^#([0-9a-f]{3,8})$/,KS=new RegExp(`^rgb\\(${VS},${VS},${VS}\\)$`),XS=new RegExp(`^rgb\\(${US},${US},${US}\\)$`),JS=new RegExp(`^rgba\\(${VS},${VS},${VS},${GS}\\)$`),ZS=new RegExp(`^rgba\\(${US},${US},${US},${GS}\\)$`),QS=new RegExp(`^hsl\\(${GS},${US},${US}\\)$`),eC=new RegExp(`^hsla\\(${GS},${US},${US},${GS}\\)$`),tC={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function rC(){return this.rgb().formatHex()}function nC(){return this.rgb().formatRgb()}function oC(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=YS.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?iC(t):3===r?new uC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?aC(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?aC(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=KS.exec(e))?new uC(t[1],t[2],t[3],1):(t=XS.exec(e))?new uC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=JS.exec(e))?aC(t[1],t[2],t[3],t[4]):(t=ZS.exec(e))?aC(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=QS.exec(e))?mC(t[1],t[2]/100,t[3]/100,1):(t=eC.exec(e))?mC(t[1],t[2]/100,t[3]/100,t[4]):tC.hasOwnProperty(e)?iC(tC[e]):"transparent"===e?new uC(NaN,NaN,NaN,0):null}function iC(e){return new uC(e>>16&255,e>>8&255,255&e,1)}function aC(e,t,r,n){return n<=0&&(e=t=r=NaN),new uC(e,t,r,n)}function sC(e){return e instanceof BS||(e=oC(e)),e?new uC((e=e.rgb()).r,e.g,e.b,e.opacity):new uC}function lC(e,t,r,n){return 1===arguments.length?sC(e):new uC(e,t,r,null==n?1:n)}function uC(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function cC(){return`#${hC(this.r)}${hC(this.g)}${hC(this.b)}`}function dC(){const e=pC(this.opacity);return`${1===e?"rgb(":"rgba("}${fC(this.r)}, ${fC(this.g)}, ${fC(this.b)}${1===e?")":`, ${e})`}`}function pC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function fC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hC(e){return((e=fC(e))<16?"0":"")+e.toString(16)}function mC(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new bC(e,t,r,n)}function gC(e){if(e instanceof bC)return new bC(e.h,e.s,e.l,e.opacity);if(e instanceof BS||(e=oC(e)),!e)return new bC;if(e instanceof bC)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new bC(a,s,l,e.opacity)}function bC(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function vC(e){return(e=(e||0)%360)<0?e+360:e}function yC(e){return Math.max(0,Math.min(1,e||0))}function xC(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}HS(BS,oC,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rC,formatHex:rC,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return gC(this).formatHsl()},formatRgb:nC,toString:nC}),HS(uC,lC,$S(BS,{brighter(e){return e=null==e?WS:Math.pow(WS,e),new uC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new uC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new uC(fC(this.r),fC(this.g),fC(this.b),pC(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:cC,formatHex:cC,formatHex8:function(){return`#${hC(this.r)}${hC(this.g)}${hC(this.b)}${hC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:dC,toString:dC})),HS(bC,(function(e,t,r,n){return 1===arguments.length?gC(e):new bC(e,t,r,null==n?1:n)}),$S(BS,{brighter(e){return e=null==e?WS:Math.pow(WS,e),new bC(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new bC(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new uC(xC(e>=240?e-240:e+120,o,n),xC(e,o,n),xC(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new bC(vC(this.h),yC(this.s),yC(this.l),pC(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=pC(this.opacity);return`${1===e?"hsl(":"hsla("}${vC(this.h)}, ${100*yC(this.s)}%, ${100*yC(this.l)}%${1===e?")":`, ${e})`}`}}));const SC=Math.PI/180,CC=180/Math.PI,EC=4/29,wC=6/29,RC=3*wC*wC;function AC(e){if(e instanceof PC)return new PC(e.l,e.a,e.b,e.opacity);if(e instanceof DC)return TC(e);e instanceof uC||(e=sC(e));var t,r,n=LC(e.r),o=LC(e.g),i=LC(e.b),a=kC((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=kC((.4360747*n+.3850649*o+.1430804*i)/.96422),r=kC((.0139322*n+.0971045*o+.7141733*i)/.82521)),new PC(116*a-16,500*(t-a),200*(a-r),e.opacity)}function PC(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function kC(e){return e>.008856451679035631?Math.pow(e,1/3):e/RC+EC}function IC(e){return e>wC?e*e*e:RC*(e-EC)}function MC(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function LC(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function DC(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function TC(e){if(isNaN(e.h))return new PC(e.l,0,0,e.opacity);var t=e.h*SC;return new PC(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}HS(PC,(function(e,t,r,n){return 1===arguments.length?AC(e):new PC(e,t,r,null==n?1:n)}),$S(BS,{brighter(e){return new PC(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new PC(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new uC(MC(3.1338561*(t=.96422*IC(t))-1.6168667*(e=1*IC(e))-.4906146*(r=.82521*IC(r))),MC(-.9787684*t+1.9161415*e+.033454*r),MC(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),HS(DC,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof DC)return new DC(e.h,e.c,e.l,e.opacity);if(e instanceof PC||(e=AC(e)),0===e.a&&0===e.b)return new DC(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*CC;return new DC(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new DC(e,t,r,null==n?1:n)}),$S(BS,{brighter(e){return new DC(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new DC(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return TC(this).rgb()}}));var _C=e=>()=>e;function OC(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):_C(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?OC:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):_C(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=lC(e)).r,(t=lC(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=OC(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var qC="center",NC="bottom";[{key:"NoDataExist",alignment:qC,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:qC,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:qC,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:qC},{key:"DataRangeIncludingZero",alignment:NC},{key:"LimitedData",alignment:NC},{key:"NegativeOrZeroValues",alignment:NC}].reduce((function(e,t){return e[t.key]=t,e}),{});var zC,jC=["__proto__","constructor"];function FC(e,t,r){if(void 0!==e&&void 0!==t){var n=t.split("."),o=n[n.length-1];if(!jC.some((function(e){return n.includes(e)}))){for(var i=e,a=0;a<n.length-1;++a){var s=n[a];void 0===i[s]&&(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}}}function HC(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function $C(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=WC)):void 0===t&&(t=BC);for(var r,n,o,i,a,s=new UC(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new UC(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(GC)}function BC(e){return e.children}function WC(e){return Array.isArray(e)?e[1]:null}function VC(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function GC(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function UC(e){this.data=e,this.depth=this.height=0,this.parent=null}UC.prototype=$C.prototype={constructor:UC,count:function(){return this.eachAfter(HC)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return $C(this).eachBefore(VC)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},zC=function(e){
|
|
102
|
+
`),ab.rippleVisible,fb,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),ab.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),ab.child,ab.childLeaving,hb,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),ab.childPulsate,mb,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),vb=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=Iu(r,sb),[s,l]=S.useState([]),u=S.useRef(0),c=S.useRef(null);S.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[s]);const d=S.useRef(!1),p=qh(),f=S.useRef(null),h=S.useRef(null),m=S.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;l((e=>[...e,Tl.jsx(bb,{classes:{ripple:_g(o.ripple,ab.ripple),rippleVisible:_g(o.rippleVisible,ab.rippleVisible),ripplePulsate:_g(o.ripplePulsate,ab.ripplePulsate),child:_g(o.child,ab.child),childLeaving:_g(o.childLeaving,ab.childLeaving),childPulsate:_g(o.childPulsate,ab.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=S.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(r-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})}),[n,m,p]),b=S.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=S.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{v(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return S.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),Tl.jsx(gb,ku({className:_g(ab.root,o.root,i),ref:h},a,{children:Tl.jsx(Qg,{component:null,exit:!0,children:s})}))}));function yb(e){return Vf("MuiButtonBase",e)}const xb=Gf("MuiButtonBase",["root","disabled","focusVisible"]),Sb=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Cb=Lg("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${xb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wb=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:y,onKeyUp:x,onMouseDown:C,onMouseLeave:w,onMouseUp:E,onTouchEnd:R,onTouchMove:A,onTouchStart:P,tabIndex:k=0,TouchRippleProps:I,touchRippleRef:M,type:L}=r,D=Iu(r,Sb),T=S.useRef(null),_=S.useRef(null),O=Dh(_,M),{isFocusVisibleRef:q,onFocus:N,onBlur:j,ref:z}=Vh(),[F,H]=S.useState(!1);l&&F&&H(!1),S.useImperativeHandle(n,(()=>({focusVisible:()=>{H(!0),T.current.focus()}})),[]);const[$,B]=S.useState(!1);S.useEffect((()=>{B(!0)}),[]);const W=$&&!u&&!l;function V(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;return Lh((n=>{t&&t(n);return!r&&_.current&&_.current[e](n),!0}))}S.useEffect((()=>{F&&d&&!u&&$&&_.current.pulsate()}),[u,d,F,$]);const G=V("start",C),U=V("stop",m),Y=V("stop",g),K=V("stop",E),X=V("stop",(e=>{F&&e.preventDefault(),w&&w(e)})),J=V("start",P),Z=V("stop",R),Q=V("stop",A),ee=V("stop",(e=>{j(e),!1===q.current&&H(!1),f&&f(e)}),!1),te=Lh((e=>{T.current||(T.current=e.currentTarget),N(e),!0===q.current&&(H(!0),v&&v(e)),b&&b(e)})),re=()=>{const e=T.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=S.useRef(!1),oe=Lh((e=>{d&&!ne.current&&F&&_.current&&" "===e.key&&(ne.current=!0,_.current.stop(e,(()=>{_.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Lh((e=>{d&&" "===e.key&&_.current&&F&&!e.defaultPrevented&&(ne.current=!1,_.current.stop(e,(()=>{_.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(D.href||D.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===L?"button":L,se.disabled=l):(D.href||D.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=Dh(t,z,T),ue=ku({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:k,focusVisible:F}),ce=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=Uh({root:["root",t&&"disabled",r&&"focusVisible"]},yb,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return Tl.jsxs(Cb,ku({as:ae,className:_g(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:U,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:G,onMouseLeave:X,onMouseUp:K,onDragLeave:Y,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:k,type:L},se,D,{children:[i,W?Tl.jsx(vb,ku({ref:O,center:o},I)):null]}))}));function Eb(e){return Vf("MuiTypography",e)}Gf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Rb=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ab=Lg("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${Tp(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((e=>{let{theme:t,ownerState:r}=e;return ku({margin:0},"inherit"===r.variant&&{font:"inherit"},"inherit"!==r.variant&&t.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})})),Pb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},kb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Ib=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiTypography"}),n=(e=>kb[e]||e)(r.color),o=Nf(ku({},r,{color:n})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=Pb}=o,f=Iu(o,Rb),h=ku({},o,{align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=s||(c?"p":p[d]||Pb[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return Uh({root:["root",i,"inherit"!==e.align&&`align${Tp(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},Eb,a)})(h);return Tl.jsx(Ab,ku({as:m,ref:t,ownerState:h,className:_g(g.root,a)},f))}));const Mb=S.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=S.useState(null),s=Dh(S.isValidElement(r)?Qh(r):null,t);if(bh((()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),bh((()=>{if(i&&!o)return Ah(t,i),()=>{Ah(t,null)}}),[t,i,o]),o){if(S.isValidElement(r)){const e={ref:s};return S.cloneElement(r,e)}return Tl.jsx(S.Fragment,{children:r})}return Tl.jsx(S.Fragment,{children:i?H.createPortal(r,i):i})})),Lb=["onChange","maxRows","minRows","style","value"];function Db(e){return parseInt(e,10)||0}const Tb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function _b(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Ob=S.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a}=e,s=Iu(e,Lb),{current:l}=S.useRef(null!=a),u=S.useRef(null),c=Dh(t,u),d=S.useRef(null),p=S.useRef(null),f=S.useCallback((()=>{const t=u.current,r=p.current;if(!t||!r)return;const i=Rh(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const a=i.boxSizing,s=Db(i.paddingBottom)+Db(i.paddingTop),l=Db(i.borderBottomWidth)+Db(i.borderTopWidth),c=r.scrollHeight;r.value="x";const d=r.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*d,f)),n&&(f=Math.min(Number(n)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?s+l:0),overflowing:Math.abs(f-c)<=1}}),[n,o,e.placeholder]),h=Lh((()=>{const e=u.current,t=f();if(!e||!t||_b(t))return!1;const r=t.outerHeightStyle;return null!=d.current&&d.current!==r})),m=S.useCallback((()=>{const e=u.current,t=f();if(!e||!t||_b(t))return;const r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""}),[f]),g=S.useRef(-1);bh((()=>{const e=wh(m),t=null==u?void 0:u.current;if(!t)return;const r=Rh(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver((()=>{h()&&(n.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame((()=>{n.observe(t)})))})),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),r.removeEventListener("resize",e),n&&n.disconnect()}}),[f,m,h]),bh((()=>{m()}));return Tl.jsxs(S.Fragment,{children:[Tl.jsx("textarea",ku({value:a,onChange:e=>{l||m(),r&&r(e)},ref:c,rows:o,style:i},s)),Tl.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:ku({},Tb,i,{paddingTop:0,paddingBottom:0})})]})}));function qb(e){let{props:t,states:r,muiFormControl:n}=e;return r.reduce(((e,r)=>(e[r]=t[r],n&&void 0===t[r]&&(e[r]=n[r]),e)),{})}const Nb=S.createContext(void 0);function jb(){return S.useContext(Nb)}function zb(e){return Tl.jsx(Of,ku({},e,{defaultTheme:Zm,themeId:Pu}))}function Fb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Hb(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Fb(e.value)&&""!==e.value||t&&Fb(e.defaultValue)&&""!==e.defaultValue)}function $b(e){return Vf("MuiInputBase",e)}const Bb=Gf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Wb=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Vb=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Tp(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Gb=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},Ub=Lg("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Vb})((e=>{let{theme:t,ownerState:r}=e;return ku({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Bb.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},r.multiline&&ku({padding:"4px 0 5px"},"small"===r.size&&{paddingTop:1}),r.fullWidth&&{width:"100%"})})),Yb=Lg("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Gb})((e=>{let{theme:t,ownerState:r}=e;const n="light"===t.palette.mode,o=ku({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),i={opacity:"0 !important"},a=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return ku({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Bb.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Bb.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Kb=Tl.jsx(zb,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Xb=S.forwardRef((function(e,t){var r;const n=Og({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,components:l={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:y,minRows:x,multiline:C=!1,name:w,onBlur:E,onChange:R,onClick:A,onFocus:P,onKeyDown:k,onKeyUp:I,placeholder:M,readOnly:L,renderSuffix:D,rows:T,slotProps:_={},slots:O={},startAdornment:q,type:N="text",value:j}=n,z=Iu(n,Wb),F=null!=b.value?b.value:j,{current:H}=S.useRef(null!=F),$=S.useRef(),B=S.useCallback((e=>{}),[]),W=Dh($,v,b.ref,B),[V,G]=S.useState(!1),U=jb(),Y=qb({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Y.focused=U?U.focused:V,S.useEffect((()=>{!U&&d&&V&&(G(!1),E&&E())}),[U,d,V,E]);const K=U&&U.onFilled,X=U&&U.onEmpty,J=S.useCallback((e=>{Hb(e)?K&&K():X&&X()}),[K,X]);bh((()=>{H&&J({value:F})}),[F,J,H]);S.useEffect((()=>{J($.current)}),[]);let Z=g,Q=b;C&&"input"===Z&&(Q=ku(T?{type:void 0,minRows:T,maxRows:T}:{type:void 0,maxRows:y,minRows:x},Q),Z=Ob);S.useEffect((()=>{U&&U.setAdornedStart(Boolean(q))}),[U,q]);const ee=ku({},n,{color:Y.color||"primary",disabled:Y.disabled,endAdornment:f,error:Y.error,focused:Y.focused,formControl:U,fullWidth:h,hiddenLabel:Y.hiddenLabel,multiline:C,size:Y.size,startAdornment:q,type:N}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return Uh({root:["root",`color${Tp(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Tp(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},$b,t)})(ee),re=O.root||l.Root||Ub,ne=_.root||u.root||{},oe=O.input||l.Input||Yb;return Q=ku({},Q,null!=(r=_.input)?r:u.input),Tl.jsxs(S.Fragment,{children:[!p&&Kb,Tl.jsxs(re,ku({},ne,!Yh(re)&&{ownerState:ku({},ee,ne.ownerState)},{ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),A&&A(e)}},z,{className:_g(te.root,ne.className,s,L&&"MuiInputBase-readOnly"),children:[q,Tl.jsx(Nb.Provider,{value:null,children:Tl.jsx(oe,ku({ownerState:ee,"aria-invalid":Y.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:Y.disabled,id:m,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:w,placeholder:M,readOnly:L,required:Y.required,rows:T,value:F,onKeyDown:k,onKeyUp:I,type:N},Q,!Yh(oe)&&{as:Z,ownerState:ku({},ee,Q.ownerState)},{ref:W,className:_g(te.input,Q.className,L&&"MuiInputBase-readOnly"),onBlur:e=>{E&&E(e),b.onBlur&&b.onBlur(e),U&&U.onBlur?U.onBlur(e):G(!1)},onChange:function(e){if(!H){const t=e.target||$.current;if(null==t)throw new Error(Ru(1));J({value:t.value})}for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];b.onChange&&b.onChange(e,...r),R&&R(e,...r)},onFocus:e=>{Y.disabled?e.stopPropagation():(P&&P(e),b.onFocus&&b.onFocus(e),U&&U.onFocus?U.onFocus(e):G(!0))}}))}),f,D?D(ku({},Y,{startAdornment:q})):null]}))]})}));function Jb(e){return Vf("MuiInput",e)}const Zb=ku({},Bb,Gf("MuiInput",["root","underline","input"]));function Qb(e){return Vf("MuiOutlinedInput",e)}const ev=ku({},Bb,Gf("MuiOutlinedInput",["root","notchedOutline","input"]));function tv(e){return Vf("MuiFilledInput",e)}const rv=ku({},Bb,Gf("MuiFilledInput",["root","underline","input"]));var nv=function(e,t){function r(r,n){return Tl.jsx(zg,ku({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=zg.muiName,S.memo(S.forwardRef(r))}(Tl.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const ov=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],iv={entering:{opacity:1},entered:{opacity:1}},av=S.forwardRef((function(e,t){const r=Qm(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=n,TransitionComponent:b=Ug}=e,v=Iu(e,ov),y=S.useRef(null),x=Dh(y,Qh(a),t),C=e=>t=>{if(e){const r=y.current;void 0===t?e(r):e(r,t)}},w=C(d),E=C(((e,t)=>{eb(e);const n=tb({style:m,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),R=C(c),A=C(h),P=C((e=>{const t=tb({style:m,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),k=C(f);return Tl.jsx(b,ku({appear:i,in:l,nodeRef:y,onEnter:E,onEntered:R,onEntering:w,onExit:P,onExited:k,onExiting:A,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>S.cloneElement(a,ku({style:ku({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},iv[e],m,a.props.style),ref:x},t))}))}));function sv(e){return Vf("MuiBackdrop",e)}Gf("MuiBackdrop",["root","invisible"]);const lv=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],uv=Lg("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((e=>{let{ownerState:t}=e;return ku({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),cv=S.forwardRef((function(e,t){var r,n,o;const i=Og({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=av,transitionDuration:g}=i,b=Iu(i,lv),v=ku({},i,{component:l,invisible:d}),y=(e=>{const{classes:t,invisible:r}=e;return Uh({root:["root",r&&"invisible"]},sv,t)})(v),x=null!=(r=f.root)?r:c.root;return Tl.jsx(m,ku({in:p,timeout:g},b,{children:Tl.jsx(uv,ku({"aria-hidden":!0},x,{as:null!=(n=null!=(o=h.root)?o:u.Root)?n:l,className:_g(y.root,s,null==x?void 0:x.className),ownerState:ku({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))})),dv=Gf("MuiBox",["root"]),pv=Jm(),fv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=vp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Pf);return S.forwardRef((function(e,a){const s=_f(r),l=Nf(e),{className:u,component:c="div"}=l,d=vo(l,Bf);return Tl.jsx(i,lo({as:c,ref:a,className:$f(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:Pu,defaultTheme:pv,defaultClassName:dv.root,generateClassName:Ff.generate});function hv(e){return Vf("MuiButton",e)}const mv=Gf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),gv=S.createContext({}),bv=S.createContext(void 0),vv=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],yv=e=>ku({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),xv=Lg(wb,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Tp(r.color)}`],t[`size${Tp(r.size)}`],t[`${r.variant}Size${Tp(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:r}=e;var n,o;const i="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],a="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return ku({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":ku({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:mm(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===r.variant&&"inherit"!==r.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:mm(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===r.variant&&"inherit"!==r.color&&{border:`1px solid ${(t.vars||t).palette[r.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[r.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:mm(t.palette[r.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===r.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===r.variant&&"inherit"!==r.color&&{backgroundColor:(t.vars||t).palette[r.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[r.color].main}}),"&:active":ku({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${mv.focusVisible}`]:ku({},"contained"===r.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${mv.disabled}`]:ku({color:(t.vars||t).palette.action.disabled},"outlined"===r.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===r.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===r.variant&&{padding:"6px 8px"},"text"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main},"outlined"===r.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[r.color].mainChannel} / 0.5)`:`1px solid ${mm(t.palette[r.color].main,.5)}`},"contained"===r.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(o=t.palette).getContrastText)?void 0:n.call(o,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:i,boxShadow:(t.vars||t).shadows[2]},"contained"===r.variant&&"inherit"!==r.color&&{color:(t.vars||t).palette[r.color].contrastText,backgroundColor:(t.vars||t).palette[r.color].main},"inherit"===r.color&&{color:"inherit",borderColor:"currentColor"},"small"===r.size&&"text"===r.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"text"===r.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"outlined"===r.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"outlined"===r.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===r.size&&"contained"===r.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===r.size&&"contained"===r.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},r.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${mv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${mv.disabled}`]:{boxShadow:"none"}}})),Sv=Lg("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Tp(r.size)}`]]}})((e=>{let{ownerState:t}=e;return ku({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},yv(t))})),Cv=Lg("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Tp(r.size)}`]]}})((e=>{let{ownerState:t}=e;return ku({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},yv(t))})),wv=S.forwardRef((function(e,t){const r=S.useContext(gv),n=S.useContext(bv),o=Og({props:gh(r,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:b,variant:v="text"}=o,y=Iu(o,vv),x=ku({},o,{color:a,component:s,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),C=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e;return ku({},a,Uh({root:["root",i,`${i}${Tp(t)}`,`size${Tp(o)}`,`${i}Size${Tp(o)}`,`color${Tp(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Tp(o)}`],endIcon:["icon","endIcon",`iconSize${Tp(o)}`]},hv,a))})(x),w=g&&Tl.jsx(Sv,{className:C.startIcon,ownerState:x,children:g}),E=p&&Tl.jsx(Cv,{className:C.endIcon,ownerState:x,children:p}),R=n||"";return Tl.jsxs(xv,ku({ownerState:x,className:_g(r.className,C.root,l,R),component:s,disabled:u,focusRipple:!d,focusVisibleClassName:_g(C.focusVisible,f),ref:t,type:b},y,{classes:C,children:[w,i,E]}))}));function Ev(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Rv(e){return parseInt(Rh(e).getComputedStyle(e).paddingRight,10)||0}function Av(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Ev(e,o)}))}function Pv(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function kv(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=Eh(e);return t.body===e?Rh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=Gh(Eh(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Rv(n)+e}px`;const t=Eh(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Rv(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=Eh(n).body;else{const t=n.parentElement,r=Rh(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((e=>{let{value:t,el:r,property:n}=e;t?r.style.setProperty(n,t):r.style.removeProperty(n)}))}}const Iv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Mv(e){const t=[],r=[];return Array.from(e.querySelectorAll(Iv)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Lv(){return!0}function Dv(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=Mv,isEnabled:a=Lv,open:s}=e,l=S.useRef(!1),u=S.useRef(null),c=S.useRef(null),d=S.useRef(null),p=S.useRef(null),f=S.useRef(!1),h=S.useRef(null),m=Dh(Qh(t),h),g=S.useRef(null);S.useEffect((()=>{s&&h.current&&(f.current=!r)}),[r,s]),S.useEffect((()=>{if(!s||!h.current)return;const e=Eh(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),S.useEffect((()=>{if(!s||!h.current)return;const e=Eh(h.current),t=t=>{g.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,c.current&&c.current.focus())},r=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(h.current)),r.length>0){var o,s;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=g.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,a,s,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Tl.jsxs(S.Fragment,{children:[Tl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),S.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const r=t.props.onFocus;r&&r(e)}}),Tl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const Tv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Ev(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Av(t,e.mount,e.modalRef,n,!0);const o=Pv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=Pv(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=kv(n,t))}remove(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=this.modals.indexOf(e);if(-1===r)return r;const n=Pv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Ev(e.modalRef,t),Av(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Ev(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function _v(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=Tv,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,p=S.useRef({}),f=S.useRef(null),h=S.useRef(null),m=Dh(h,d),[g,b]=S.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let y=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(y=!1);const x=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),C=()=>{o.mount(x(),{disableScrollLock:n}),h.current&&(h.current.scrollTop=0)},w=Lh((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Eh(f.current).body;o.add(x(),e),h.current&&C()})),E=S.useCallback((()=>o.isTopModal(x())),[o]),R=Lh((e=>{f.current=e,e&&(c&&E()?C():h.current&&Ev(h.current,y))})),A=S.useCallback((()=>{o.remove(x(),y)}),[y,o]);S.useEffect((()=>()=>{A()}),[A]),S.useEffect((()=>{c?w():v&&i||A()}),[c,A,v,i,w]);const P=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&E()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},k=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=Kh(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=ku({},r,t);return ku({role:"presentation"},n,{onKeyDown:P(n),ref:m})},getBackdropProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ku({"aria-hidden":!0},e,{onClick:k(e),open:c})},getTransitionProps:()=>({onEnter:Ch((()=>{b(!1),a&&a()}),null==l?void 0:l.props.onEnter),onExited:Ch((()=>{b(!0),s&&s(),i&&A()}),null==l?void 0:l.props.onExited)}),rootRef:m,portalRef:R,isTopModal:E,exited:g,hasTransition:v}}function Ov(e){return Vf("MuiModal",e)}Gf("MuiModal",["root","hidden","backdrop"]);const qv=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Nv=Lg("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((e=>{let{theme:t,ownerState:r}=e;return ku({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!r.open&&r.exited&&{visibility:"hidden"})})),jv=Lg(cv,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),zv=S.forwardRef((function(e,t){var r,n,o,i,a,s;const l=Og({name:"MuiModal",props:e}),{BackdropComponent:u=jv,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:x=!1,disablePortal:C=!1,disableRestoreFocus:w=!1,disableScrollLock:E=!1,hideBackdrop:R=!1,keepMounted:A=!1,onBackdropClick:P,open:k,slotProps:I,slots:M}=l,L=Iu(l,qv),D=ku({},l,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:x,disablePortal:C,disableRestoreFocus:w,disableScrollLock:E,hideBackdrop:R,keepMounted:A}),{getRootProps:T,getBackdropProps:_,getTransitionProps:O,portalRef:q,isTopModal:N,exited:j,hasTransition:z}=_v(ku({},D,{rootRef:t})),F=ku({},D,{exited:j}),H=(e=>{const{open:t,exited:r,classes:n}=e;return Uh({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Ov,n)})(F),$={};if(void 0===f.props.tabIndex&&($.tabIndex="-1"),z){const{onEnter:e,onExited:t}=O();$.onEnter=e,$.onExited=t}const B=null!=(r=null!=(n=null==M?void 0:M.root)?n:g.Root)?r:Nv,W=null!=(o=null!=(i=null==M?void 0:M.backdrop)?i:g.Backdrop)?o:u,V=null!=(a=null==I?void 0:I.root)?a:b.root,G=null!=(s=null==I?void 0:I.backdrop)?s:b.backdrop,U=Zh({elementType:B,externalSlotProps:V,externalForwardedProps:L,getSlotProps:T,additionalProps:{ref:t,as:m},ownerState:F,className:_g(d,null==V?void 0:V.className,null==H?void 0:H.root,!F.open&&F.exited&&(null==H?void 0:H.hidden))}),Y=Zh({elementType:W,externalSlotProps:G,additionalProps:c,getSlotProps:e=>_(ku({},e,{onClick:t=>{P&&P(t),null!=e&&e.onClick&&e.onClick(t)}})),className:_g(null==G?void 0:G.className,null==c?void 0:c.className,null==H?void 0:H.backdrop),ownerState:F});return A||k||z&&!j?Tl.jsx(Mb,{ref:q,container:h,disablePortal:C,children:Tl.jsxs(B,ku({},U,{children:[!R&&u?Tl.jsx(W,ku({},Y)):null,Tl.jsx(Dv,{disableEnforceFocus:y,disableAutoFocus:v,disableRestoreFocus:w,isEnabled:N,open:k,children:S.cloneElement(f,$)})]}))}):null}));function Fv(e){return Vf("MuiDivider",e)}const Hv=Gf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),$v=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Bv=Lg("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((e=>{let{theme:t,ownerState:r}=e;return ku({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:mm(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})}),(e=>{let{ownerState:t}=e;return ku({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})}),(e=>{let{theme:t,ownerState:r}=e;return ku({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}})}),(e=>{let{theme:t,ownerState:r}=e;return ku({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}})}),(e=>{let{ownerState:t}=e;return ku({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),Wv=Lg("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((e=>{let{theme:t,ownerState:r}=e;return ku({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===r.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})})),Vv=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=r,f=Iu(r,$v),h=ku({},r,{absolute:n,component:a,flexItem:s,light:l,orientation:u,role:c,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return Uh({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Fv,n)})(h);return Tl.jsx(Bv,ku({as:a,className:_g(m.root,i),role:c,ref:t,ownerState:h},f,{children:o?Tl.jsx(Wv,{className:m.wrapper,ownerState:h,children:o}):null}))}));Vv.muiSkipListHighlight=!0;const Gv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Uv=Lg(Ub,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Vb(e,t),!r.disableUnderline&&t.underline]}})((e=>{let{theme:t,ownerState:r}=e;var n;const o="light"===t.palette.mode,i=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return ku({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a}},[`&.${rv.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a},[`&.${rv.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:l}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(t.vars||t).palette[r.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${rv.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${rv.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${rv.disabled}, .${rv.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${rv.disabled}:before`]:{borderBottomStyle:"dotted"}},r.startAdornment&&{paddingLeft:12},r.endAdornment&&{paddingRight:12},r.multiline&&ku({padding:"25px 12px 8px"},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9}))})),Yv=Lg(Yb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Gb})((e=>{let{theme:t,ownerState:r}=e;return ku({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})})),Kv=S.forwardRef((function(e,t){var r,n,o,i;const a=Og({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:f={},type:h="text"}=a,m=Iu(a,Gv),g=ku({},a,{fullWidth:u,inputComponent:c,multiline:d,type:h}),b=(e=>{const{classes:t,disableUnderline:r}=e;return ku({},t,Uh({root:["root",!r&&"underline"],input:["input"]},tv,t))})(a),v={root:{ownerState:g},input:{ownerState:g}},y=(null!=p?p:l)?Ep(v,null!=p?p:l):v,x=null!=(r=null!=(n=f.root)?n:s.Root)?r:Uv,S=null!=(o=null!=(i=f.input)?i:s.Input)?o:Yv;return Tl.jsx(Xb,ku({slots:{root:x,input:S},componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:b}))}));Kv.muiName="Input";const Xv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Jv(e){return`scale(${e}, ${e**2})`}const Zv={entering:{opacity:1,transform:Jv(1)},entered:{opacity:1,transform:"none"}},Qv="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ey=S.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=Ug}=e,g=Iu(e,Xv),b=qh(),v=S.useRef(),y=Qm(),x=S.useRef(null),C=Dh(x,Qh(o),t),w=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},E=w(u),R=w(((e,t)=>{eb(e);const{duration:r,delay:n,easing:o}=tb({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=r,e.style.transition=[y.transitions.create("opacity",{duration:a,delay:n}),y.transitions.create("transform",{duration:Qv?a:.666*a,delay:n,easing:o})].join(","),s&&s(e,t)})),A=w(l),P=w(p),k=w((e=>{const{duration:t,delay:r,easing:n}=tb({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:r}),y.transitions.create("transform",{duration:Qv?o:.666*o,delay:Qv?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Jv(.75),c&&c(e)})),I=w(d);return Tl.jsx(m,ku({appear:n,in:a,nodeRef:x,onEnter:R,onEntered:A,onEntering:E,onExit:k,onExited:I,onExiting:P,addEndListener:e=>{"auto"===h&&b.start(v.current||0,e),r&&r(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>S.cloneElement(o,ku({style:ku({opacity:0,transform:Jv(.75),visibility:"exited"!==e||a?void 0:"hidden"},Zv[e],f,o.props.style),ref:C},t))}))}));ey.muiSupportAuto=!0;const ty=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],ry=Lg(Ub,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Vb(e,t),!r.disableUnderline&&t.underline]}})((e=>{let{theme:t,ownerState:r}=e;let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),ku({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[r.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Zb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Zb.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Zb.disabled}, .${Zb.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Zb.disabled}:before`]:{borderBottomStyle:"dotted"}})})),ny=Lg(Yb,{name:"MuiInput",slot:"Input",overridesResolver:Gb})({}),oy=S.forwardRef((function(e,t){var r,n,o,i;const a=Og({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:h={},type:m="text"}=a,g=Iu(a,ty),b=(e=>{const{classes:t,disableUnderline:r}=e;return ku({},t,Uh({root:["root",!r&&"underline"],input:["input"]},Jb,t))})(a),v={root:{ownerState:{disableUnderline:s}}},y=(null!=f?f:u)?Ep(null!=f?f:u,v):v,x=null!=(r=null!=(n=h.root)?n:l.Root)?r:ry,S=null!=(o=null!=(i=h.input)?i:l.Input)?o:ny;return Tl.jsx(Xb,ku({slots:{root:x,input:S},slotProps:y,fullWidth:c,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))}));function iy(e){return Vf("MuiLink",e)}oy.muiName="Input";const ay=Gf("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),sy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ly=e=>{let{theme:t,ownerState:r}=e;const n=(e=>sy[e]||e)(r.color),o=Op(t,`palette.${n}`,!1)||r.color,i=Op(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:mm(o,.4)},uy=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],cy=Lg(Ib,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${Tp(r.underline)}`],"button"===r.component&&t.button]}})((e=>{let{theme:t,ownerState:r}=e;return ku({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&ku({textDecoration:"underline"},"inherit"!==r.color&&{textDecorationColor:ly({theme:t,ownerState:r})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===r.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ay.focusVisible}`]:{outline:"auto"}})})),dy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiLink"}),{className:n,color:o="primary",component:i="a",onBlur:a,onFocus:s,TypographyClasses:l,underline:u="always",variant:c="inherit",sx:d}=r,p=Iu(r,uy),{isFocusVisibleRef:f,onBlur:h,onFocus:m,ref:g}=Vh(),[b,v]=S.useState(!1),y=Dh(t,g),x=ku({},r,{color:o,component:i,focusVisible:b,underline:u,variant:c}),C=(e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e;return Uh({root:["root",`underline${Tp(o)}`,"button"===r&&"button",n&&"focusVisible"]},iy,t)})(x);return Tl.jsx(cy,ku({color:o,className:_g(C.root,n),classes:l,component:i,onBlur:e=>{h(e),!1===f.current&&v(!1),a&&a(e)},onFocus:e=>{m(e),!0===f.current&&v(!0),s&&s(e)},ref:y,ownerState:x,variant:c,sx:[...Object.keys(sy).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},p))})),py=S.createContext({});function fy(e){return Vf("MuiList",e)}Gf("MuiList",["root","padding","dense","subheader"]);const hy=["children","className","component","dense","disablePadding","subheader"],my=Lg("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((e=>{let{ownerState:t}=e;return ku({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),gy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l}=r,u=Iu(r,hy),c=S.useMemo((()=>({dense:a})),[a]),d=ku({},r,{component:i,dense:a,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Uh({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},fy,t)})(d);return Tl.jsx(py.Provider,{value:c,children:Tl.jsxs(my,ku({as:i,className:_g(p.root,o),ref:t,ownerState:d},u,{children:[l,n]}))})}));function by(e){return Vf("MuiListItemIcon",e)}const vy=Gf("MuiListItemIcon",["root","alignItemsFlexStart"]),yy=["className"],xy=Lg("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((e=>{let{theme:t,ownerState:r}=e;return ku({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})})),Sy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=Iu(r,yy),i=ku({},r,{alignItems:S.useContext(py).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return Uh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},by,r)})(i);return Tl.jsx(xy,ku({className:_g(a.root,n),ownerState:i,ref:t},o))})),Cy=Gf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),wy=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Ey(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function Ry(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function Ay(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function Py(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Ay(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const ky=S.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Iu(e,wy),p=S.useRef(null),f=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bh((()=>{n&&p.current.focus()}),[n]),S.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,t)=>{let{direction:r}=t;const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const t=`${Gh(Eh(e))}px`;p.current.style["rtl"===r?"paddingLeft":"paddingRight"]=t,p.current.style.width=`calc(100% + ${t})`}return p.current}})),[]);const h=Dh(p,t);let m=-1;S.Children.forEach(i,((e,t)=>{S.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=S.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),S.cloneElement(e,t)}return e}));return Tl.jsx(gy,ku({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,r=e.key,n=Eh(t).activeElement;if("ArrowDown"===r)e.preventDefault(),Py(t,n,l,s,Ey);else if("ArrowUp"===r)e.preventDefault(),Py(t,n,l,s,Ry);else if("Home"===r)e.preventDefault(),Py(t,null,l,s,Ey);else if("End"===r)e.preventDefault(),Py(t,null,l,s,Ry);else if(1===r.length){const o=f.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=n&&!o.repeating&&Ay(n,o);o.previousKeyMatched&&(l||Py(t,n,!1,s,Ey,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:n?0:-1},d,{children:g}))}));function Iy(e){return Vf("MuiPopover",e)}Gf("MuiPopover",["root","paper"]);const My=["onEntering"],Ly=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Dy=["slotProps"];function Ty(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function _y(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function Oy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function qy(e){return"function"==typeof e?e():e}const Ny=Lg(zv,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jy=Lg(ib,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),zy=S.forwardRef((function(e,t){var r,n,o;const i=Og({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:d,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:b={},slots:v,slotProps:y,transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:C=ey,transitionDuration:w="auto",TransitionProps:{onEntering:E}={},disableScrollLock:R=!1}=i,A=Iu(i.TransitionProps,My),P=Iu(i,Ly),k=null!=(r=null==y?void 0:y.paper)?r:b,I=S.useRef(),M=Dh(I,k.ref),L=ku({},i,{anchorOrigin:l,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:k,transformOrigin:x,TransitionComponent:C,transitionDuration:w,TransitionProps:A}),D=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"]},Iy,t)})(L),T=S.useCallback((()=>{if("anchorPosition"===c)return u;const e=qy(s),t=(e&&1===e.nodeType?e:Eh(I.current).body).getBoundingClientRect();return{top:t.top+Ty(t,l.vertical),left:t.left+_y(t,l.horizontal)}}),[s,l.horizontal,l.vertical,u,c]),_=S.useCallback((e=>({vertical:Ty(e,x.vertical),horizontal:_y(e,x.horizontal)})),[x.horizontal,x.vertical]),O=S.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=_(t);if("none"===c)return{top:null,left:null,transformOrigin:Oy(r)};const n=T();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,l=i+t.width,u=Rh(qy(s)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,r.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,r.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,r.horizontal+=e}else if(l>p){const e=l-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Oy(r)}}),[s,c,T,_,m]),[q,N]=S.useState(g),j=S.useCallback((()=>{const e=I.current;if(!e)return;const t=O(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[O]);S.useEffect((()=>(R&&window.addEventListener("scroll",j),()=>window.removeEventListener("scroll",j))),[s,R,j]);S.useEffect((()=>{g&&j()})),S.useImperativeHandle(a,(()=>g?{updatePosition:()=>{j()}}:null),[g,j]),S.useEffect((()=>{if(!g)return;const e=wh((()=>{j()})),t=Rh(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,g,j]);let z=w;"auto"!==w||C.muiSupportAuto||(z=void 0);const F=f||(s?Eh(qy(s)).body:void 0),H=null!=(n=null==v?void 0:v.root)?n:Ny,$=null!=(o=null==v?void 0:v.paper)?o:jy,B=Zh({elementType:$,externalSlotProps:ku({},k,{style:q?k.style:ku({},k.style,{opacity:0})}),additionalProps:{elevation:h,ref:M},ownerState:L,className:_g(D.paper,null==k?void 0:k.className)}),W=Zh({elementType:H,externalSlotProps:(null==y?void 0:y.root)||{},externalForwardedProps:P,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:F,open:g},ownerState:L,className:_g(D.root,p)}),{slotProps:V}=W,G=Iu(W,Dy);return Tl.jsx(H,ku({},G,!Yh(H)&&{slotProps:V,disableScrollLock:R},{children:Tl.jsx(C,ku({appear:!0,in:g,onEntering:(e,t)=>{E&&E(e,t),j()},onExited:()=>{N(!1)},timeout:z},A,{children:Tl.jsx($,ku({},B,{children:d}))}))}))}));function Fy(e){return Vf("MuiMenu",e)}Gf("MuiMenu",["root","paper","list"]);const Hy=["onEntering"],$y=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],By={vertical:"top",horizontal:"right"},Wy={vertical:"top",horizontal:"left"},Vy=Lg(zy,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gy=Lg(jy,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Uy=Lg(ky,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Yy=S.forwardRef((function(e,t){var r,n;const o=Og({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:d,PaperProps:p={},PopoverClasses:f,transitionDuration:h="auto",TransitionProps:{onEntering:m}={},variant:g="selectedMenu",slots:b={},slotProps:v={}}=o,y=Iu(o.TransitionProps,Hy),x=Iu(o,$y),C=(()=>{const e=S.useContext(om);return null!=e&&e})(),w=ku({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:y,variant:g}),E=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"],list:["list"]},Fy,t)})(w),R=i&&!l&&d,A=S.useRef(null);let P=-1;S.Children.map(a,((e,t)=>{S.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===P)&&(P=t))}));const k=null!=(r=b.paper)?r:Gy,I=null!=(n=v.paper)?n:p,M=Zh({elementType:b.root,externalSlotProps:v.root,ownerState:w,className:[E.root,s]}),L=Zh({elementType:k,externalSlotProps:I,ownerState:w,className:E.paper});return Tl.jsx(Vy,ku({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?By:Wy,slots:{paper:k,root:b.root},slotProps:{root:M,paper:L},open:d,ref:t,transitionDuration:h,TransitionProps:ku({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),m&&m(e,t)}},y),ownerState:w},x,{classes:f,children:Tl.jsx(Uy,ku({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===P||l),autoFocusItem:R,variant:g},u,{className:_g(E.list,u.className),children:a}))}))}));function Ky(e){return Vf("MuiMenuItem",e)}const Xy=Gf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jy=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Zy=Lg(wb,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((e=>{let{theme:t,ownerState:r}=e;return ku({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Xy.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:mm(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Xy.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:mm(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Xy.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:mm(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:mm(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${Xy.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Xy.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${Hv.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${Hv.inset}`]:{marginLeft:52},[`& .${Cy.root}`]:{marginTop:0,marginBottom:0},[`& .${Cy.inset}`]:{paddingLeft:36},[`& .${vy.root}`]:{minWidth:36}},!r.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},r.dense&&ku({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${vy.root} svg`]:{fontSize:"1.25rem"}}))})),Qy=S.forwardRef((function(e,t){const r=Og({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u="menuitem",tabIndex:c,className:d}=r,p=Iu(r,Jy),f=S.useContext(py),h=S.useMemo((()=>({dense:i||f.dense||!1,disableGutters:s})),[f.dense,i,s]),m=S.useRef(null);bh((()=>{n&&m.current&&m.current.focus()}),[n]);const g=ku({},r,{dense:h.dense,divider:a,disableGutters:s}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return ku({},a,Uh({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},Ky,a))})(r),v=Dh(m,t);let y;return r.disabled||(y=void 0!==c?c:-1),Tl.jsx(py.Provider,{value:h,children:Tl.jsx(Zy,ku({ref:v,role:u,tabIndex:y,component:o,focusVisibleClassName:_g(b.focusVisible,l),className:_g(b.root,d)},p,{ownerState:g,classes:b}))})}));function ex(e){return Vf("MuiNativeSelect",e)}const tx=Gf("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),rx=["className","disabled","error","IconComponent","inputRef","variant"],nx=e=>{let{ownerState:t,theme:r}=e;return ku({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":ku({},r.vars?{backgroundColor:`rgba(${r.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${tx.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(r.vars||r).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},ox=Lg("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Mg,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${tx.multiple}`]:t.multiple}]}})(nx),ix=e=>{let{ownerState:t,theme:r}=e;return ku({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(r.vars||r).palette.action.active,[`&.${tx.disabled}`]:{color:(r.vars||r).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},ax=Lg("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Tp(r.variant)}`],r.open&&t.iconOpen]}})(ix),sx=S.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:i,inputRef:a,variant:s="standard"}=e,l=Iu(e,rx),u=ku({},e,{disabled:n,variant:s,error:o}),c=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Uh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tp(r)}`,i&&"iconOpen",n&&"disabled"]},ex,t)})(u);return Tl.jsxs(S.Fragment,{children:[Tl.jsx(ox,ku({ownerState:u,className:_g(c.select,r),disabled:n,ref:a||t},l)),e.multiple?null:Tl.jsx(ax,{as:i,ownerState:u,className:c.icon})]})}));var lx;const ux=["children","classes","className","label","notched"],cx=Lg("fieldset",{shouldForwardProp:Mg})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),dx=Lg("legend",{shouldForwardProp:Mg})((e=>{let{ownerState:t,theme:r}=e;return ku({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:r.transitions.create("width",{duration:150,easing:r.transitions.easing.easeOut})},t.withLabel&&ku({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:r.transitions.create("max-width",{duration:50,easing:r.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:r.transitions.create("max-width",{duration:100,easing:r.transitions.easing.easeOut,delay:50})}))}));const px=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],fx=Lg(Ub,{shouldForwardProp:e=>Mg(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Vb})((e=>{let{theme:t,ownerState:r}=e;const n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return ku({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${ev.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${ev.focused} .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette[r.color].main,borderWidth:2},[`&.${ev.error} .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${ev.disabled} .${ev.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&ku({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),hx=Lg((function(e){const{className:t,label:r,notched:n}=e,o=Iu(e,ux),i=null!=r&&""!==r,a=ku({},e,{notched:n,withLabel:i});return Tl.jsx(cx,ku({"aria-hidden":!0,className:t,ownerState:a},o,{children:Tl.jsx(dx,{ownerState:a,children:i?Tl.jsx("span",{children:r}):lx||(lx=Tl.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((e=>{let{theme:t}=e;const r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:r}})),mx=Lg(Yb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Gb})((e=>{let{theme:t,ownerState:r}=e;return ku({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===r.size&&{padding:"8.5px 14px"},r.multiline&&{padding:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0})})),gx=S.forwardRef((function(e,t){var r,n,o,i,a;const s=Og({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=s,g=Iu(s,px),b=(e=>{const{classes:t}=e;return ku({},t,Uh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Qb,t))})(s),v=jb(),y=qb({props:s,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x=ku({},s,{color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:v,fullWidth:u,hiddenLabel:y.hiddenLabel,multiline:p,size:y.size,type:m}),C=null!=(r=null!=(n=h.root)?n:l.Root)?r:fx,w=null!=(o=null!=(i=h.input)?i:l.Input)?o:mx;return Tl.jsx(Xb,ku({slots:{root:C,input:w},renderSuffix:e=>Tl.jsx(hx,{ownerState:x,className:b.notchedOutline,label:null!=d&&""!==d&&y.required?a||(a=Tl.jsxs(S.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:c,multiline:p,ref:t,type:m},g,{classes:ku({},b,{notchedOutline:null})}))}));function bx(e){return Vf("MuiSelect",e)}gx.muiName="Input";const vx=Gf("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var yx;const xx=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Sx=Lg("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${vx.select}`]:t.select},{[`&.${vx.select}`]:t[r.variant]},{[`&.${vx.error}`]:t.error},{[`&.${vx.multiple}`]:t.multiple}]}})(nx,{[`&.${vx.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Cx=Lg("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Tp(r.variant)}`],r.open&&t.iconOpen]}})(ix),wx=Lg("input",{shouldForwardProp:e=>Ig(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ex(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Rx(e){return null==e||"string"==typeof e&&!e.trim()}const Ax=S.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:p,error:f=!1,IconComponent:h,inputRef:m,labelId:g,MenuProps:b={},multiple:v,name:y,onBlur:x,onChange:C,onClose:w,onFocus:E,onOpen:R,open:A,readOnly:P,renderValue:k,SelectDisplayProps:I={},tabIndex:M,value:L,variant:D="standard"}=e,T=Iu(e,xx),[_,O]=Mh({controlled:L,default:c,name:"Select"}),[q,N]=Mh({controlled:A,default:u,name:"Select"}),j=S.useRef(null),z=S.useRef(null),[F,H]=S.useState(null),{current:$}=S.useRef(null!=A),[B,W]=S.useState(),V=Dh(t,m),G=S.useCallback((e=>{z.current=e,e&&H(e)}),[]),U=null==F?void 0:F.parentNode;S.useImperativeHandle(V,(()=>({focus:()=>{z.current.focus()},node:j.current,value:_})),[_]),S.useEffect((()=>{u&&q&&F&&!$&&(W(a?null:U.clientWidth),z.current.focus())}),[F,a]),S.useEffect((()=>{i&&z.current.focus()}),[i]),S.useEffect((()=>{if(!g)return;const e=Eh(z.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&z.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const Y=(e,t)=>{e?R&&R(t):w&&w(t),$||(W(a?null:U.clientWidth),N(e))},K=S.Children.toArray(s),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(v){r=Array.isArray(_)?_.slice():[];const t=_.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),_!==r&&(O(r),C)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:y}}),C(o,e)}v||Y(!1,t)}},J=null!==F&&q;let Z,Q;delete T["aria-invalid"];const ee=[];let te=!1;(Hb({value:_})||p)&&(k?Z=k(_):te=!0);const re=K.map((e=>{if(!S.isValidElement(e))return null;let t;if(v){if(!Array.isArray(_))throw new Error(Ru(2));t=_.some((t=>Ex(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=Ex(_,e.props.value),t&&te&&(Q=e.props.children);return S.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(Z=v?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Q);let ne,oe=B;!a&&$&&F&&(oe=U.clientWidth),ne=void 0!==M?M:d?null:0;const ie=I.id||(y?`mui-component-select-${y}`:void 0),ae=ku({},e,{variant:D,value:_,open:J,error:f}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Uh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tp(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},bx,t)})(ae),le=ku({},b.PaperProps,null==(r=b.slotProps)?void 0:r.paper),ue=Ih();return Tl.jsxs(S.Fragment,{children:[Tl.jsx(Sx,ku({ref:G,tabIndex:ne,role:"combobox","aria-controls":ue,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ie].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),Y(!0,e))}},onMouseDown:d||P?null:e=>{0===e.button&&(e.preventDefault(),z.current.focus(),Y(!0,e))},onBlur:e=>{!J&&x&&(Object.defineProperty(e,"target",{writable:!0,value:{value:_,name:y}}),x(e))},onFocus:E},I,{ownerState:ae,className:_g(I.className,se.select,l),id:ie,children:Rx(Z)?yx||(yx=Tl.jsx("span",{className:"notranslate",children:""})):Z})),Tl.jsx(wx,ku({"aria-invalid":f,value:Array.isArray(_)?_.join(","):_,name:y,ref:j,"aria-hidden":!0,onChange:e=>{const t=K.find((t=>t.props.value===e.target.value));void 0!==t&&(O(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:i,ownerState:ae},T)),Tl.jsx(Cx,{as:h,className:se.icon,ownerState:ae}),Tl.jsx(Yy,ku({id:`menu-${y||""}`,anchorEl:U,open:J,onClose:e=>{Y(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:ku({"aria-labelledby":g,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:ku({},b.slotProps,{paper:ku({},le,{style:ku({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})})),Px=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],kx=["root"],Ix={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Mg(e)&&"variant"!==e,slot:"Root"},Mx=Lg(oy,Ix)(""),Lx=Lg(gx,Ix)(""),Dx=Lg(Kv,Ix)(""),Tx=S.forwardRef((function(e,t){const r=Og({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:i={},className:a,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:u=nv,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:b=!1,onClose:v,onOpen:y,open:x,renderValue:C,SelectDisplayProps:w,variant:E="outlined"}=r,R=Iu(r,Px),A=b?sx:Ax,P=qb({props:r,muiFormControl:jb(),states:["variant","error"]}),k=P.variant||E,I=ku({},r,{variant:k,classes:i}),M=(e=>{const{classes:t}=e;return t})(I),L=Iu(M,kx),D=d||{standard:Tl.jsx(Mx,{ownerState:I}),outlined:Tl.jsx(Lx,{label:f,ownerState:I}),filled:Tl.jsx(Dx,{ownerState:I})}[k],T=Dh(t,Qh(D));return Tl.jsx(S.Fragment,{children:S.cloneElement(D,ku({inputComponent:A,inputProps:ku({children:o,error:P.error,IconComponent:u,variant:k,type:void 0,multiple:g},b?{id:c}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:h,MenuProps:m,onClose:v,onOpen:y,open:x,renderValue:C,SelectDisplayProps:ku({id:c},w)},p,{classes:p?Ep(L,p.classes):L},d?d.props.inputProps:{})},(g&&b||l)&&"outlined"===k?{notched:!0}:{},{ref:T,className:_g(D.props.className,a,M.root)},!d&&{variant:k},R))})}));function _x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(zl,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("rect",{stroke:pl.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}Tx.muiName="Select";const Ox={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:bl,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var qx=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:pl.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:pl.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Tl.jsx(ql,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${pl.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`,borderRadius:bl,backgroundColor:pl.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${pl.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:pl.WHITE,color:pl.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:bl},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:pl.GREYSCALE_0_15,backgroundColor:pl.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${pl.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:pl.GREEN_PALE},"&:active":{backgroundColor:pl.GREEN_DARK},"&.Mui-focusVisible":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:pl.BLUE_PALE},"&:active":{backgroundColor:pl.BLUE_DARK},"&.Mui-focusVisible":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:bl,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:pl.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`}},outlined:e=>{let{ownerState:t}=e;return{padding:"7px 16px",borderColor:pl.GREYSCALE_0_15,backgroundColor:pl.GREYSCALE_100_60,"&:active":{backgroundColor:pl.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${pl.MISC_FOCUS_BORDER}`},..."amethyst"===t.color&&{borderColor:pl.PURPLE,"&.Mui-focusVisible":{borderColor:pl.PURPLE,boxShadow:`0 0 0 3px ${Sh(pl.PURPLE_PALE,.5)}`}}}},outlinedPrimary:{borderColor:pl.GREEN,"&.Mui-focusVisible":{borderColor:pl.GREEN,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:pl.BLUE,"&.Mui-focusVisible":{borderColor:pl.BLUE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:pl.ORANGE,"&.Mui-focusVisible":{borderColor:pl.ORANGE,boxShadow:`0 0 0 3px ${Sh(pl.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:pl.RED,"&.Mui-focusVisible":{borderColor:pl.RED,boxShadow:`0 0 0 3px ${Sh(pl.RED_PALE,.5)}`}},contained:e=>{let{ownerState:t}=e;return{color:pl.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===t.color&&{"&:hover":{backgroundColor:pl.PURPLE_PALE},"&:active":{backgroundColor:pl.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:pl.PURPLE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.PURPLE_PALE,.5)}`}}}},containedPrimary:{"&:hover":{backgroundColor:pl.GREEN_PALE},"&:active":{backgroundColor:pl.GREEN_DARK},"&.Mui-focusVisible":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:pl.BLUE_PALE},"&:active":{backgroundColor:pl.BLUE_DARK},"&.Mui-focusVisible":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:pl.ORANGE_PALE},"&:active":{backgroundColor:pl.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:pl.ORANGE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:pl.RED_PALE},"&:active":{backgroundColor:pl.RED_DARK},"&.Mui-focusVisible":{borderColor:pl.RED_PALE,boxShadow:`0 0 0 3px ${Sh(pl.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:pl.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:pl.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:bl,boxShadow:`inset 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Tl.jsx(jl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:fl,borderRadius:bl,color:pl.TEXT_PRIMARY,backgroundColor:pl.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:pl.GREYSCALE_0_05,color:pl.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:pl.GREEN,borderColor:pl.GREEN},"&.MuiChip-outlinedInfo":{color:pl.BLUE,borderColor:pl.BLUE},"&.MuiChip-outlinedWarning":{color:pl.ORANGE,borderColor:pl.ORANGE},"&.MuiChip-outlinedError":{color:pl.RED,borderColor:pl.RED}},outlined:{border:`solid 1px ${pl.GREYSCALE_0_15}`,backgroundColor:pl.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:bl,boxShadow:"none",backgroundColor:pl.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:pl.GREEN,borderColor:pl.GREEN},outlinedSecondary:{color:pl.BLUE,borderColor:pl.BLUE},label:{fontFamily:Cl.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Tl.jsx(jl,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Tl.jsx(ql,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:bl},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:bl,fontSize:hl,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:pl.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${pl.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:pl.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:pl.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_05}}},popupIndicator:{borderRadius:bl,border:`solid 1px ${pl.GREYSCALE_0_15}`,color:pl.GREYSCALE_0_60,marginRight:0,width:gl,height:gl},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${pl.GREYSCALE_0_15}`},clearIndicator:{borderRadius:bl,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:pl.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:hl}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:fl,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:pl.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:pl.GREYSCALE_25,fontSize:fl,fontFamily:Cl.FONT_FAMILY,fontWeight:xl,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:pl.TEXT_PRIMARY},"&.Mui-error":{color:pl.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:pl.TEXT_SECONDARY,content:"'(optional)'",fontWeight:yl,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:pl.TEXT_SECONDARY,content:"'(required)'",fontWeight:yl,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:hl,lineHeight:"16px",backgroundColor:pl.WHITE,borderRadius:bl,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.GREYSCALE_0_05}`,borderColor:pl.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${pl.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${pl.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.RED}`,boxShadow:`0px 0px 0px 1px ${pl.RED}, inset 0 2px 0 0 ${pl.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${pl.GREYSCALE_0_10}`,borderColor:pl.GREYSCALE_0_10,backgroundColor:pl.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:pl.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:pl.GREYSCALE_0_15,borderRadius:bl,boxShadow:`inset 0 2px 0 0 ${pl.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Tl.jsx(ql,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:pl.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:pl.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:pl.GREYSCALE_0_03},"&:active":{backgroundColor:pl.GREYSCALE_0_10},"&:focus":{backgroundColor:pl.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${pl.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:pl.GREYSCALE_0_30,"&:hover":{backgroundColor:pl.GREYSCALE_0_0,borderColor:pl.GREYSCALE_0_15},"& ~svg":{color:pl.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${pl.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:bl}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:pl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:pl.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:hl,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:fl,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:fl,fontWeight:xl,color:pl.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:xl}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${pl.GREYSCALE_0_15}, 0px 0px 0px 1px ${pl.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Tl.jsx($l,{}),checkedIcon:Tl.jsx(Bl,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:pl.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:pl.GREYSCALE_0_20}},"&.Mui-disabled":{fill:pl.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Tl.jsx(_x,{}),checkedIcon:Tl.jsx(Fl,{}),indeterminateIcon:Tl.jsx(Hl,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:bl,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:pl.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:pl.GREYSCALE_0_55,color:pl.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:pl.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:pl.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:pl.GREYSCALE_0_55,"&:hover":{color:pl.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:pl.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:pl.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:hl,color:pl.TEXT_PRIMARY,lineHeight:"16px",fontWeight:xl},secondary:{fontSize:fl,color:pl.GREYSCALE_45,fontWeight:yl,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:hl,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:hl,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:pl.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:fl,borderBottom:`solid 1px ${pl.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:hl,color:pl.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:pl.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:pl.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:pl.RED}}},"&.Mui-focusVisible":{backgroundColor:pl.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:pl.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:pl.GREEN,height:"24px","&.Mui-disabled":{color:pl.GREYSCALE_0_15}},rail:{backgroundColor:pl.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${pl.GREYSCALE_0_05}`,borderRadius:bl,boxShadow:`inset 0px 0px 0px 1px ${pl.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${pl.GREYSCALE_0_05}`,borderRadius:bl},thumb:{height:"16px",width:"16px",borderRadius:bl,backgroundColor:pl.WHITE,boxShadow:`0px 1px 2px 0px ${pl.GREYSCALE_0_15}, 0px 0px 0px 1px ${pl.GREYSCALE_0_05}`,"&:hover":{borderRadius:bl,boxShadow:`0 2px 4px 0 ${pl.GREYSCALE_0_30}, 0 0 0 1px ${pl.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${pl.GREYSCALE_0_15}, 0 0 0 1px ${pl.GREYSCALE_0_06}, 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${pl.GREYSCALE_0_15}, 0 0 0 1px ${pl.GREYSCALE_0_06}, 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:pl.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:pl.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:pl.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:pl.GREYSCALE_0_15},markLabel:{color:pl.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:pl.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:pl.WHITE,color:pl.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:pl.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:pl.GREEN_PALE,boxShadow:`0 0 0 3px ${Sh(pl.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:pl.BLUE_PALE,boxShadow:`0 0 0 3px ${Sh(pl.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:pl.GREYSCALE_0_15,borderRadius:bl},thumb:{height:"16px",width:"16px",borderRadius:bl,backgroundColor:pl.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:hl,fontWeight:xl,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${pl.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${pl.MISC_FOCUS_BORDER}`,backgroundColor:pl.GREYSCALE_0_03,borderRadius:bl},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:pl.GREYSCALE_25,"&.Mui-selected":{color:pl.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:hl,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:bl,"&:hover":{backgroundColor:pl.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${pl.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${pl.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:bl,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:pl.GREYSCALE_0_05},"&:hover":{backgroundColor:pl.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${pl.GREYSCALE_85}`,borderRight:`1px solid ${pl.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:xl,backgroundColor:pl.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:pl.GREYSCALE_98,borderBottom:`1px solid ${pl.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${pl.GREYSCALE_85}`,borderTop:`1px solid ${pl.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:pl.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:pl.GREYSCALE_0_05,"&:hover":{backgroundColor:pl.GREYSCALE_0_03}},"&&:hover":{backgroundColor:pl.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:e=>{let{className:t}=e;return Tl.jsx(Wl,{className:t})}},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${pl.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:hl,borderRadius:bl,padding:"7px 16px",border:`1px solid ${pl.GREYSCALE_0_15}`,backgroundColor:pl.GREYSCALE_100_60,color:pl.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:pl.GREYSCALE_0_10,border:`1px solid ${pl.GREYSCALE_0_30}`},"&:hover":{backgroundColor:pl.GREYSCALE_0_03,border:`1px solid ${pl.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:pl.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${pl.MISC_FOCUS_BORDER}`,border:`1px solid ${pl.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:pl.GREYSCALE_25,backgroundColor:pl.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:pl.GREYSCALE_0_10,border:`1px solid ${pl.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:fl,height:24,width:24,padding:7},sizeLarge:{fontSize:ml,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:hl,borderRadius:bl}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:pl.GREYSCALE_20},tooltip:{backgroundColor:pl.GREYSCALE_20,fontSize:fl,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Ox}:{}}))(t);const Nx=e=>({mode:"light",primary:{ultraLight:pl.GREEN_ULTRA_LIGHT,light:pl.GREEN_PALE,main:pl.GREEN,dark:pl.GREEN_DARK,extraDark:pl.GREEN_EXTRA_DARK,contrastText:pl.WHITE},secondary:{ultraLight:pl.BLUE_ULTRA_LIGHT,light:pl.BLUE_PALE,main:pl.BLUE,dark:pl.BLUE_DARK,extraDark:pl.BLUE_EXTRA_DARK,contrastText:pl.WHITE},error:{ultraLight:pl.RED_ULTRA_LIGHT,light:pl.RED_PALE,main:pl.RED,dark:pl.RED_DARK,extraDark:pl.RED_EXTRA_DARK,contrastText:pl.WHITE},warning:{ultraLight:pl.ORANGE_ULTRA_LIGHT,light:pl.ORANGE_PALE,main:pl.ORANGE,dark:pl.ORANGE_DARK,extraDark:pl.ORANGE_EXTRA_DARK,contrastText:pl.WHITE},success:{ultraLight:pl.GREEN_ULTRA_LIGHT,light:pl.GREEN_PALE,main:pl.GREEN,dark:pl.GREEN_DARK,extraDark:pl.GREEN_EXTRA_DARK,contrastText:pl.WHITE},info:{ultraLight:pl.BLUE_ULTRA_LIGHT,light:pl.BLUE_PALE,main:pl.BLUE,dark:pl.BLUE_DARK,extraDark:pl.BLUE_EXTRA_DARK,contrastText:pl.WHITE},text:{primary:pl.TEXT_PRIMARY,secondary:pl.TEXT_SECONDARY,disabled:pl.GREYSCALE_0_30},action:{hover:pl.GREYSCALE_0_03,hoverOpacity:.03,selected:pl.GREYSCALE_0_05,selectedOpacity:.05,focus:pl.MISC_FOCUS_BORDER},amethyst:{ultraLight:pl.WHITE,main:pl.PURPLE,light:pl.PURPLE_PALE,dark:pl.PURPLE_DARK,extraDark:pl.GREYSCALE_0_0,contrastText:pl.WHITE},background:{paper:pl.WHITE,default:pl.GREYSCALE_95},divider:pl.GREYSCALE_0_15}),jx={...dl},zx=function(){return function(e){return{components:qx(0,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),palette:Nx(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:hl,fontWeightLight:vl,fontWeightRegular:yl,fontWeightMedium:xl,fontWeightBold:Sl,htmlFontSize:hl,fontFamily:Cl.FONT_FAMILY,button:{fontWeight:xl,fontSize:hl,textTransform:"none"},body1:{fontSize:ml,lineHeight:"24px"},body2:{fontSize:hl,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:gl,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:ml,fontWeight:xl,lineHeight:"16px"},h6:{fontSize:hl,fontWeight:xl,lineHeight:"16px"},caption:{color:pl.TEXT_SECONDARY},subtitle1:{fontSize:hl,color:pl.TEXT_SECONDARY},subtitle2:{fontSize:fl,color:pl.TEXT_SECONDARY}},shape:{borderRadius:bl}}}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light",arguments.length>1&&void 0!==arguments[1]&&arguments[1])}().palette,Fx={TEXT:zx.text.primary,DISABLED:zx.text.disabled,HOVER:zx.action.hover,WHITE:jx.GREYSCALE_100,BORDER_LIGHT:jx.GREYSCALE_90,BORDER_MEDIUM:jx.GREYSCALE_85,BORDER_HEAVY:jx.GREYSCALE_50,DARK_MODE_TEXT:jx.GREYSCALE_95,DARK_MODE_BORDER:jx.GREYSCALE_95,DARK_MODE_DISABLED:jx.GREYSCALE_70,DARK_MODE_BACKGROUND:jx.GREYSCALE_20,TRANSPARENT:"transparent",NULL_VALUE_BACKGROUND:jx.GREYSCALE_95,SELECTED:zx.primary.main,LINK:zx.info.main,BACKGROUND_EMPTY_STATE:jx.GREYSCALE_98},Hx=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fx.TEXT,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fx.WHITE;const n=te(e),o=te(t),i=te(r);return n.isInvalid()?t:function(e,t,r){const n=re(e,t),o=re(e,r);if(void 0!==n&&void 0!==o)return n>o?t:r}(n,i,o).getRGB()},$x=e=>{const t=e.getStyle("","","dataColors.selected")||Fx.SELECTED,r=function(e,t){const r=te("#FFFFFF"),n=te(e),o=te(t);if(n.isInvalid()||o.isInvalid()||n.getAlpha()<1||o.getAlpha()<1)return t;const i=re(r,n),a=re(o,n),s=i>a||i>4.5;return!s&&a>3?o.getHex():s?"#FFFFFF":"#000000"}(t,Fx.TEXT);return{background:t,color:r}},Bx=(e,t)=>{const r=te(e);return 0===r.a?(r.setAlpha(t.opacity),r.getString()):r.isDark()?r.getBrightenedColor(t.brighter).getString():r.getDarkenedColor(t.darker).getString()},Wx=(e,t,r)=>{const n=t?e.getColorPickerColor(t):"none";return"none"===n?r:n},Vx=e=>{const t=te(e);return t.isInvalid()?null:1===t.a?t.getRGB():t.getRGBA()},Gx=(e,t,r)=>{const n=e.closest(".qv-object-wrapper")?.querySelector(".sel-toolbar-confirm")?.parentElement??document.querySelector("#qv-selection-toolbar-popover .sel-toolbar-confirm")?.parentElement;n?n.focus():t.focusSelection?.(r)},Ux=e=>{e.stopPropagation(),e.preventDefault()},Yx=e=>!!e&&0===te(e).a,Kx="#grid",Xx=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fx.WHITE;return e&&!Yx(e)?e:Yx(t)?r&&!Yx(r)?r:n:t},Jx=(e,t)=>{const r=t?.closest(e);return r&&window.getComputedStyle(r).backgroundColor},Zx=(e,t,r,n,o)=>{const i=Jx(".qv-object .qv-inner-object",r),a=Jx(".qv-panel-sheet",r),s=Jx(Kx,r)??a,l=(e=>{const t=e.components?.find((e=>"general"===e.key)),r=t?.bgColor?.colorExpression,n=t?.bgColor?.color?.color,o=t?.bgColor?.useColorExpression;if(o&&r)return Vx(r);if("none"===n)return"transparent";if(void 0===n)return;const i=te(n);return i.setAlpha(t?.bgColor?.color?.alpha??i.a),i.getRGBA()})(e),u=n?.(t),c=o?.(t),d=u||i||c,p=Yx(d),f=!Yx(h=p?s:d)&&Hx(h,Fx.TEXT,Fx.DARK_MODE_TEXT)===X(Fx.DARK_MODE_TEXT);var h;return{color:d,headerColor:Xx(l,d,s),isDark:f}},Qx=(e,r,n,s)=>{const l=a(),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{attributeFilter:["style"],childList:!1,subtree:!1};const[r,n]=o([]);return i((()=>{let r;return e&&(r=new MutationObserver((e=>{n(e)})),r.observe(e,t)),()=>{r?.disconnect()}}),[e,t]),r}(r.closest(Kx),{attributeFilter:["style"],childList:!1,subtree:!1,attributeOldValue:!0}).filter((e=>{let{oldValue:t}=e;return t?.includes("background")})).map((e=>{let{oldValue:t}=e;return t})).join(",");return t((()=>({...l,background:Zx(e,l,r,n,s)})),[l.name(),r,n,s,e,u])};function eS(e,r){const o=t((()=>({isLoading:!0})),r),[i,a]=n((async()=>{try{return await e()}finally{o.isLoading=!1}}),r);return[i,o.isLoading,a]}const tS=3;function rS(e,t,r){let n=0,o=e.length;if(e.length<=1)return null;if(r(e)<=t)return null;for(;n<=o;){const i=Math.floor((n+o)/2),a=e.slice(0,i),s=e.slice(0,i-1),l=r(a),u=r(s);if(l>t&&u<=t)return e.slice(i-1)||null;if(l===t)return e.slice(i)||null;l<t?n=i+1:o=i}return null}function nS(e,t){let{fontSize:r="12px",fontFamily:n="Source Sans Pro, Arial, sans-serif",fontStyle:o="normal",fontWeight:i="normal"}=e;const{maxNbrLinesOfText:a=tS}=t??{},{estimateWidth:s,measureText:l,estimateLineCount:u}=E((()=>{const e=document.createElement("canvas").getContext("2d");e.font=`${o} ${i} ${r} ${n}`;const t=st(e.measureText.bind(e)),s=e=>+t(e).width.toFixed(2),l=st((e=>{let{text:t,maxWidth:r,isNumeric:n=!1}=e;if(n)return 1;let o=0,i=t;do{o+=1,i=rS(i,r,s)}while(null!==i&&o<a);return o}),(e=>{let{text:t,maxWidth:r,isNumeric:n}=e;return`${t}-${r}-${n?"true":"false"}`}));return{measureText:e=>t(e).width,estimateWidth:e=>t("N").width*e,estimateLineCount:l}}),[o,i,r,n,a]);return{estimateWidth:s,measureText:l,estimateLineCount:u}}var oS,iS=F;oS=iS.createRoot,iS.hydrateRoot;const aS="Source Sans Pro, sans-serif",sS=(e,t,r)=>{const[,n,o]=eS((async()=>{const t=se(r.flags),n=e.getStyle("","","fontFamily"),o=e.getStyle("object","label.name","fontFamily"),i=e.getStyle("object","label.value","fontFamily"),a=e.getStyle("","","fontFamilies")??[];return Promise.all([...t,...a,n,o,i,aS].filter((e=>void 0!==e)).map((async e=>{await document.fonts.load(`600 12px ${e}`),await document.fonts.load(`12px ${e}`)})))}),[t,e,r]);return o?(console.warn("Failed to load fonts:",o),!0):!n};function lS(e,t){const[r,n]=w(t);r.some(((e,r)=>e!==t[r]))&&(n(t),e())}var uS={NebulaTableUtils_ColumnAdjuster_ColumnNameLabel:{id:"NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",locale:{"de-DE":"Breite von {0}","en-US":"Width of {0}","es-ES":"Ancho de {0}","fr-FR":"Largeur de {0}","it-IT":"Larghezza di {0}","ja-JP":"{0} の幅","ko-KR":"{0}의 너비","nl-NL":"Breedte van {0}","pl-PL":"Szerokość kolumny {0}","pt-BR":"Comprimento de {0}","ru-RU":'Ширина столбца "{0}"',"sv-SE":"Bredd på {0}","tr-TR":"{0} genişliği","zh-CN":"{0} 的宽度","zh-TW":"{0} 的寬度"}},NebulaTableUtils_MenuGroupLabel_Sorting:{id:"NebulaTableUtils.MenuGroupLabel.Sorting",locale:{"de-DE":"Sortierung","en-US":"Sorting","es-ES":"Ordenación","fr-FR":"Tri","it-IT":"Ordinamento","ja-JP":"ソート","ko-KR":"정렬","nl-NL":"Sorteren","pl-PL":"Sortowanie","pt-BR":"Classificação","ru-RU":"Сортировка","sv-SE":"Sortering","tr-TR":"Sıralama","zh-CN":"排序","zh-TW":"排序"}},NebulaTableUtils_MenuItemLabel_AdjustColumnSize:{id:"NebulaTableUtils.MenuItemLabel.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},NebulaTableUtils_MenuItemLabel_ClearSelections:{id:"NebulaTableUtils.MenuItemLabel.ClearSelections",locale:{"de-DE":"Auswahlen löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Geselecteerde waarden wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},NebulaTableUtils_MenuItemLabel_Collapse:{id:"NebulaTableUtils.MenuItemLabel.Collapse",locale:{"de-DE":"Reduzieren","en-US":"Collapse","es-ES":"Contraer","fr-FR":"Réduire","it-IT":"Comprimi","ja-JP":"折りたたむ","ko-KR":"축소","nl-NL":"Samenvouwen","pl-PL":"Zwiń","pt-BR":"Recolher","ru-RU":"Свернуть","sv-SE":"Dölj","tr-TR":"Daralt","zh-CN":"折叠","zh-TW":"收合"}},NebulaTableUtils_MenuItemLabel_ColumnOptions:{id:"NebulaTableUtils.MenuItemLabel.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбца","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},NebulaTableUtils_MenuItemLabel_Expand:{id:"NebulaTableUtils.MenuItemLabel.Expand",locale:{"de-DE":"Erweitern","en-US":"Expand","es-ES":"Expandir","fr-FR":"Développer","it-IT":"Espandi","ja-JP":"展開","ko-KR":"확장","nl-NL":"Uitvouwen","pl-PL":"Rozwiń","pt-BR":"Expandir","ru-RU":"Развернуть","sv-SE":"Utöka","tr-TR":"Genişlet","zh-CN":"展开","zh-TW":"展開"}},NebulaTableUtils_MenuItemLabel_Search:{id:"NebulaTableUtils.MenuItemLabel.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},NebulaTableUtils_MenuItemLabel_SelectAll:{id:"NebulaTableUtils.MenuItemLabel.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},NebulaTableUtils_MenuItemLabel_SelectAlternative:{id:"NebulaTableUtils.MenuItemLabel.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대체 가능 값 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},NebulaTableUtils_MenuItemLabel_SelectExcluded:{id:"NebulaTableUtils.MenuItemLabel.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},NebulaTableUtils_MenuItemLabel_SelectPossible:{id:"NebulaTableUtils.MenuItemLabel.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},NebulaTableUtils_MenuItemLabel_Selections:{id:"NebulaTableUtils.MenuItemLabel.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택 내용","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},NebulaTableUtils_MenuItemLabel_SortAscending:{id:"NebulaTableUtils.MenuItemLabel.SortAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortieren","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Trier par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},NebulaTableUtils_MenuItemLabel_SortDescending:{id:"NebulaTableUtils.MenuItemLabel.SortDescending",locale:{"de-DE":"In absteigender Reihenfolge sortieren","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Trier par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},NebulaTableUtils_Pagination_DisplayedRowsLabel:{id:"NebulaTableUtils.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{0}/{1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},NebulaTableUtils_Pagination_FirstPage:{id:"NebulaTableUtils.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},NebulaTableUtils_Pagination_LastPage:{id:"NebulaTableUtils.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},NebulaTableUtils_Pagination_NextPage:{id:"NebulaTableUtils.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},NebulaTableUtils_Pagination_PreviousPage:{id:"NebulaTableUtils.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},NebulaTableUtils_Pagination_RowsPerPage:{id:"NebulaTableUtils.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},NebulaTableUtils_Pagination_SelectPage:{id:"NebulaTableUtils.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}}};const cS=e=>{let{translator:t}=e;return E((()=>{!function(e){if(e&&e.get&&e.add){const t="NebulaTableUtils.MenuGroupLabel.Sorting";if(e.get(t)!==t)return;Object.keys(uS).forEach((t=>{e.add(uS[t])}))}}(t)}),[t]),t},dS=e=>{const t=s();return{...t,select:!!t.active&&!!t.select&&!e,active:!!t.active&&!e,scroll:!!t.active}},pS="12px",fS="nebula-table-utils-head-menu-button",hS="nebula-table-utils-head-menu-wrapper",mS="nebula-table-utils-head-menu",gS="nebula-table-utils-head-menu-list-id",bS="sn-copy-cell";let vS=function(e){return e.Enter="Enter",e.Space=" ",e.Esc="Escape",e.Tab="Tab",e.Shift="Shift",e.Left="ArrowLeft",e.Right="ArrowRight",e.Up="ArrowUp",e.Down="ArrowDown",e.C="c",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.F2="F2",e}({});const yS="nebula-table-utils-column-adjuster";let xS=function(e){return e[e.PixelsMin=30]="PixelsMin",e[e.PixelsMax=7680]="PixelsMax",e[e.PixelsDefault=200]="PixelsDefault",e[e.PercentageMin=1]="PercentageMin",e[e.PercentageMax=100]="PercentageMax",e[e.PercentageDefault=20]="PercentageDefault",e[e.PercentageMaxInIndentMode=75]="PercentageMaxInIndentMode",e[e.AutoMinPivot=80]="AutoMinPivot",e[e.AutoMinTable=120]="AutoMinTable",e}({}),SS=function(e){return e.Auto="auto",e.FitToContent="fitToContent",e.Pixels="pixels",e.Percentage="percentage",e}({});const CS={darker:.15,brighter:.3,opacity:.03},wS={darker:.3,brighter:.5,opacity:.05};let ES=function(e){return e.Cyclic="C",e}({});const RS=document.createElement("textarea");function AS(e){RS.value=e,document.body.appendChild(RS),RS.select(),RS.setSelectionRange(0,RS.value.length),document.execCommand("copy"),document.body.removeChild(RS)}RS.style.position="absolute",RS.style.left="-9999px",RS.setAttribute("readonly","");const PS=e=>{const t=e.title;t&&(navigator.clipboard?.writeText?navigator.clipboard.writeText(t).catch((()=>{AS(t)})):AS(t))};function kS(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var IS,MS,LS,DS="top",TS="top-right",_S="right",OS="bottom-right",qS="bottom",NS="bottom-left",jS="left",zS="top-left";kS(kS(kS(kS(kS(kS(kS(kS(kS(kS(IS={},"equal-equal",[DS,qS]),"equal-higher",[qS,OS]),"equal-lower",[DS,TS]),"equal-void",[DS,qS]),"higher-equal",[jS,NS,DS,TS]),"higher-higher-acute",[qS,NS,jS,TS]),"higher-higher-obtuse",[qS,DS]),"higher-lower-negative",[DS,TS,_S]),"higher-lower-positive",[qS,NS,jS]),"higher-void",[DS]),kS(kS(kS(kS(kS(kS(kS(kS(kS(kS(IS,"lower-equal",[DS]),"lower-higher-negative",[DS,zS]),"lower-higher-positive",[OS]),"lower-lower-acute",[DS,zS,jS,TS,_S]),"lower-lower-obtuse",[DS,qS]),"lower-void",[DS]),"void-equal",[DS]),"void-higher",[DS,qS]),"void-lower",[DS,qS,jS]),"void-void",[DS]),kS(IS,"unclassified",[DS,qS,_S,jS,TS,OS,NS,zS]);var FS=function(){if(LS)return MS;LS=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return MS=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},MS}();function HS(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function $S(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function BS(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(FS);var WS=1/.7,VS="\\s*([+-]?\\d+)\\s*",GS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",US="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",YS=/^#([0-9a-f]{3,8})$/,KS=new RegExp(`^rgb\\(${VS},${VS},${VS}\\)$`),XS=new RegExp(`^rgb\\(${US},${US},${US}\\)$`),JS=new RegExp(`^rgba\\(${VS},${VS},${VS},${GS}\\)$`),ZS=new RegExp(`^rgba\\(${US},${US},${US},${GS}\\)$`),QS=new RegExp(`^hsl\\(${GS},${US},${US}\\)$`),eC=new RegExp(`^hsla\\(${GS},${US},${US},${GS}\\)$`),tC={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function rC(){return this.rgb().formatHex()}function nC(){return this.rgb().formatRgb()}function oC(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=YS.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?iC(t):3===r?new uC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?aC(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?aC(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=KS.exec(e))?new uC(t[1],t[2],t[3],1):(t=XS.exec(e))?new uC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=JS.exec(e))?aC(t[1],t[2],t[3],t[4]):(t=ZS.exec(e))?aC(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=QS.exec(e))?mC(t[1],t[2]/100,t[3]/100,1):(t=eC.exec(e))?mC(t[1],t[2]/100,t[3]/100,t[4]):tC.hasOwnProperty(e)?iC(tC[e]):"transparent"===e?new uC(NaN,NaN,NaN,0):null}function iC(e){return new uC(e>>16&255,e>>8&255,255&e,1)}function aC(e,t,r,n){return n<=0&&(e=t=r=NaN),new uC(e,t,r,n)}function sC(e){return e instanceof BS||(e=oC(e)),e?new uC((e=e.rgb()).r,e.g,e.b,e.opacity):new uC}function lC(e,t,r,n){return 1===arguments.length?sC(e):new uC(e,t,r,null==n?1:n)}function uC(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function cC(){return`#${hC(this.r)}${hC(this.g)}${hC(this.b)}`}function dC(){const e=pC(this.opacity);return`${1===e?"rgb(":"rgba("}${fC(this.r)}, ${fC(this.g)}, ${fC(this.b)}${1===e?")":`, ${e})`}`}function pC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function fC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hC(e){return((e=fC(e))<16?"0":"")+e.toString(16)}function mC(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new bC(e,t,r,n)}function gC(e){if(e instanceof bC)return new bC(e.h,e.s,e.l,e.opacity);if(e instanceof BS||(e=oC(e)),!e)return new bC;if(e instanceof bC)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new bC(a,s,l,e.opacity)}function bC(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function vC(e){return(e=(e||0)%360)<0?e+360:e}function yC(e){return Math.max(0,Math.min(1,e||0))}function xC(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}HS(BS,oC,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rC,formatHex:rC,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return gC(this).formatHsl()},formatRgb:nC,toString:nC}),HS(uC,lC,$S(BS,{brighter(e){return e=null==e?WS:Math.pow(WS,e),new uC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new uC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new uC(fC(this.r),fC(this.g),fC(this.b),pC(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:cC,formatHex:cC,formatHex8:function(){return`#${hC(this.r)}${hC(this.g)}${hC(this.b)}${hC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:dC,toString:dC})),HS(bC,(function(e,t,r,n){return 1===arguments.length?gC(e):new bC(e,t,r,null==n?1:n)}),$S(BS,{brighter(e){return e=null==e?WS:Math.pow(WS,e),new bC(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new bC(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new uC(xC(e>=240?e-240:e+120,o,n),xC(e,o,n),xC(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new bC(vC(this.h),yC(this.s),yC(this.l),pC(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=pC(this.opacity);return`${1===e?"hsl(":"hsla("}${vC(this.h)}, ${100*yC(this.s)}%, ${100*yC(this.l)}%${1===e?")":`, ${e})`}`}}));const SC=Math.PI/180,CC=180/Math.PI,wC=4/29,EC=6/29,RC=3*EC*EC;function AC(e){if(e instanceof PC)return new PC(e.l,e.a,e.b,e.opacity);if(e instanceof DC)return TC(e);e instanceof uC||(e=sC(e));var t,r,n=LC(e.r),o=LC(e.g),i=LC(e.b),a=kC((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=kC((.4360747*n+.3850649*o+.1430804*i)/.96422),r=kC((.0139322*n+.0971045*o+.7141733*i)/.82521)),new PC(116*a-16,500*(t-a),200*(a-r),e.opacity)}function PC(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function kC(e){return e>.008856451679035631?Math.pow(e,1/3):e/RC+wC}function IC(e){return e>EC?e*e*e:RC*(e-wC)}function MC(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function LC(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function DC(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function TC(e){if(isNaN(e.h))return new PC(e.l,0,0,e.opacity);var t=e.h*SC;return new PC(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}HS(PC,(function(e,t,r,n){return 1===arguments.length?AC(e):new PC(e,t,r,null==n?1:n)}),$S(BS,{brighter(e){return new PC(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new PC(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new uC(MC(3.1338561*(t=.96422*IC(t))-1.6168667*(e=1*IC(e))-.4906146*(r=.82521*IC(r))),MC(-.9787684*t+1.9161415*e+.033454*r),MC(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),HS(DC,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof DC)return new DC(e.h,e.c,e.l,e.opacity);if(e instanceof PC||(e=AC(e)),0===e.a&&0===e.b)return new DC(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*CC;return new DC(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new DC(e,t,r,null==n?1:n)}),$S(BS,{brighter(e){return new DC(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new DC(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return TC(this).rgb()}}));var _C=e=>()=>e;function OC(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):_C(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?OC:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):_C(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=lC(e)).r,(t=lC(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=OC(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var qC="center",NC="bottom";[{key:"NoDataExist",alignment:qC,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:qC,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:qC,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:qC},{key:"DataRangeIncludingZero",alignment:NC},{key:"LimitedData",alignment:NC},{key:"NegativeOrZeroValues",alignment:NC}].reduce((function(e,t){return e[t.key]=t,e}),{});var jC,zC=["__proto__","constructor"];function FC(e,t,r){if(void 0!==e&&void 0!==t){var n=t.split("."),o=n[n.length-1];if(!zC.some((function(e){return n.includes(e)}))){for(var i=e,a=0;a<n.length-1;++a){var s=n[a];void 0===i[s]&&(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}}}function HC(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function $C(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=WC)):void 0===t&&(t=BC);for(var r,n,o,i,a,s=new UC(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new UC(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(GC)}function BC(e){return e.children}function WC(e){return Array.isArray(e)?e[1]:null}function VC(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function GC(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function UC(e){this.data=e,this.depth=this.height=0,this.parent=null}UC.prototype=$C.prototype={constructor:UC,count:function(){return this.eachAfter(HC)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return $C(this).eachBefore(VC)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},jC=function(e){
|
|
103
103
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
104
|
-
e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},zC({exports:{}});var YC={exports:{}};!function(e){self,e.exports=(()=>{var e={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}},8:(e,t)=>{(()=>{var e={229:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{n.r(o),n.d(o,{default:()=>Le});var e=n(229),t=n.n(e);const r=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},i=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},a={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var s="".concat(" ","(").concat(" "),l="".concat(" ",")").concat(" ");function u(e){return s+e+l}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function d(e){return!(!e.fullAccumulation&&!e.fullRange)}function p(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function f(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function h(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function m(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function g(e){return void 0===e?")":", 0, ".concat(e,")")}function b(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function v(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(b("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(b("MaxString(".concat(t,")")),")'\"}")}function y(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=v(c(n[0],o),h(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var d=c(n[0],o),p=c(n[1],o),f=h(0),m=h(1),g=v(d,f),b=v(p,m);return"".concat(a,"({1<").concat(g,",").concat(b,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function x(e){return"".concat(e,"(")}function S(e){var t=e.properties,r=e.layout;return i(t,"qHyperCubeDef.qDimensions",i(r,"qHyperCube.qDimensionInfo",[])).length}const C={isFullRange:d,getNumDimensions:S,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=u(f(t));if(!r.showExcludedValues)return a;var s=y({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var c=h(0);return"If(Count(".concat(c,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var d=h(0),p=h(1);return"If(Count(".concat(d,") * Count(").concat(p,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:p,getNumStepComp:function(e,t){if(!d(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return p(e,t)},getAboveCompPrefix:m,getAboveCompSuffix:g,getAboveComp:function(e,t,r,n){return m(e,t)+r+g(n)},getFunctionPrefix:x,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return x(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:y,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout,o=function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t);return 0===o&&2===S({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=h(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:f,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(s);if(-1!==r){var n=t.indexOf(l);if(-1!==n)return t.substring(r+s.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:c,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=S({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:u,canExtract:function(e){var t=e.indexOf(s),r=e.indexOf(l);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:h,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=a.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?a.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(a.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return a.EXPRESSIONS[r]&&n.includes(a.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var R=t().bind(null,!0),A={},P=Array.isArray;function k(e){return null!=e&&!Array.isArray(e)&&"object"===w(e)}function I(e){return void 0===e}function M(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function L(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=I(e[r||t])?i:e[t],e=e[r||t]}})),e}function D(e,t){var r=!0;if(k(e)&&k(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){D(e[n],t[n])||(r=!1)})),r);if(P(e)&&P(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!D(e[n],t[n]))return!1;return!0}return e===t}A.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?R({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);D(i,a)||M(t,o)||(I(a)?n.push({op:"add",path:s,value:i}):k(i)&&k(a)?n=n.concat(A.generate(a,i,s)):P(i)&&P(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&I(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(D(t,o))return n;if(!I(t[0])&&I(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(A.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){I(t[o])&&!M(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},A.apply=function(e,t){t.forEach((function(t){var r,n,o=L(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(P(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(P(a)&&P(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return E(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}else if(k(a)&&k(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!M(r,e)&&delete r[e]})),R(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=L(e,t.from);P(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(P(o)?o.splice(+i,1):delete o[i])}))},A.clone=function(e){return R({},e)},A.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},A.updateObject=function(e,t){Object.keys(e).length?A.apply(e,A.generate(e,t)):R(e,t)};const T=A,_=function(e,r,n){if(!e)return Promise.resolve();var o=T.generate(r,n);return t()(!0,r,n),o&&o.length?(o=o.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(o,!0)):Promise.resolve()};var O="accumulation";function q(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===O)return r[n]}function N(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===O)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var z={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const j={translationKey:"properties.modifier.accumulation",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getNumStepComp(r,l),p=C.getAboveComp(r,l,c,d),f=C.getRangeComp("RangeSum",p);if(C.needDimension({modifier:r,properties:n,layout:o})){var h=C.getDimComp(u,1),m=C.getDimComp(u,0),g=C.getAggrComp(f,h,m);f=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,valueComp:g}):g}return f},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,z)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(N(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(N(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(N(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(N(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=q(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=q(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(N(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(O))return!1;var i=q(t,e);return i&&!i.disabled}};return r}};var F="movingAverage";function H(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===F)return r[n]}function $(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===F)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var B={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const W={translationKey:"properties.modifier.movingAverage",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,a=e.layout,s=e.numDimensions,l=e.dimensionAndFieldList;if(!n)return r;var u=s;void 0===u&&(u=C.getNumDimensions({properties:o,layout:a}));var c=i(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=C.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:l,treatMissingAsNull:d}),f=C.getNumStepComp(n,u),h=C.getAboveComp(n,u,p,f);if(n.nullSuppression)t=C.getRangeComp("RangeAvg",h);else{var m=C.getRangeComp("RangeSum",h),g=function(e,t){var r=C.getRowNoComp(e,t);if(!C.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(C.needDimension({modifier:n,properties:o,layout:a})){var v=C.getDimComp(c,1),y=C.getDimComp(c,0),x=C.getAggrComp(b,v,y);b=n.showExcludedValues?C.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:l,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,B)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat($(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat($(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat($(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat($(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=H(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=H(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat($(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat($(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(F))return!1;var i=H(t,e);return i&&!i.disabled}};return r}};var V="timeSeriesDecomposition";function G(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===V)return r[n]}function U(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===V)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Y={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const K={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?C.generateTSDExpression(r,t,n):t},extractInputExpression:C.extractInputExpression,initModifier:function(e,t){C.initModifier(e,Y),""===e.decomposition&&t&&(e.decomposition=C.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(U(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:a.OPTIONS},steps:{refFn:function(t){return"".concat(U(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=G(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=G(t,e);return r&&!r.fullRange}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(V))return!1;var i=G(t,e);return i&&!i.disabled}};return r}};var X="difference";function J(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===X)return r[n]}function Z(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===X)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Q={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const ee={translationKey:"properties.modifier.difference",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getAboveComp(r,l,c),p="".concat(c," - ").concat(d);if(C.needDimension({modifier:r,properties:n,layout:o})){var f=C.getDimComp(u,1),h=C.getDimComp(u,0),m=C.getAggrComp(p,f,h);p=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(Q).forEach((function(t){void 0===e[t]&&(e[t]=Q[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(Z(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(Z(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(Z(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(X))return!1;var i=J(t,e);return i&&!i.disabled}};return r}};var te="normalization";function re(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===te)return r[n]}function ne(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===te)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function oe(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var ie={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:2,selectionScope:2};function ae(e){return 2===e?"{1}":""}function se(e,t,r){return 1===e?"{$<".concat(C.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function le(e,t){return 0===e&&t>1||2===e?"Total":""}function ue(e,t,r){return 0===e&&t>1?"<".concat(C.getDimDefWithWrapper(r),">"):""}const ce={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=ae(t),l=se(t,r,n),u=""===s&&""===l?"":s||l,c=le(o,i),d=ue(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=C.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,l,r.primaryDimension)},initModifier:function(e){Object.keys(ie).forEach((function(t){void 0===e[t]&&(e[t]=ie[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(ne(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,options:function(r){return function(e,t,r){var n=[{value:0,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:1,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:2,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=oe(t,0);t.splice(r,1)}return t}(re(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(ne(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return 1===re(t,e).selectionScope}},value:{refFn:function(t){return"".concat(ne(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return 1===re(t,e).selectionScope}},dimensionalScope:{refFn:function(t){return"".concat(ne(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:0,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:1,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:2,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=oe(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=oe(t,1);t.splice(r,1)}return t}(re(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(ne(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return 0===(re(t,e).dimensionalScope||0)&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(te))return!1;var i=re(t,e);return i&&!i.disabled}};return r},getDisregardSelectionComp:ae,getFieldSelectionComp:se,getTotalComp:le,getSelectedDimComp:ue};var de="qDef.base",pe="qDef.qDef",fe="qDef.base.qDef",he="qLibraryId",me="qDef.base.qLibraryId";const ge={getExpression:function(e){var t=i(e,fe);return void 0!==t?t:i(e,pe)},getExpressionRef:function(e){return void 0!==i(e,fe)?fe:pe},getLibraryIdRef:function(e){return i(e,me)?me:he},getLibraryId:function(e){return i(e,me)||i(e,he)},getLabelRef:function(e){return i(e,de)?"qDef.base.qLabel":"qDef.qLabel"},getLabelExpressionRef:function(e){return i(e,de)?"qDef.base.qLabelExpression":"qDef.qLabelExpression"}};var be="qDef.qDef",ve="qDef.base.qDef",ye="qLibraryId",xe="qDef.base.qLibraryId",Se="qDef.qLabel",Ce="qDef.qLabelExpression",Ee="qDef.base.qLabel",we="qDef.base.qLabelExpression",Re="qDef.qAggrFunc",Ae="qDef.base.qAggrFunc",Pe={initBase:function(e,t){(t||Pe.isValid(e))&&(r(e,ve,i(e,be)),r(e,xe,i(e,ye)),r(e,Ee,i(e,Se)),r(e,we,i(e,Ce)))},restoreBase:function(e){Pe.isValid(e)&&(r(e,be,i(e,ve)),r(e,ye,i(e,xe)),r(e,Se,i(e,Ee)),r(e,Ce,i(e,we)),i(e,Re)&&i(e,Ae)&&r(e,Re,i(e,Ae)),delete e.qDef.base)},isValid:function(e){var t=i(e,ve),r=i(e,xe);return void 0!==t||void 0!==r}};const ke=Pe;function Ie(e){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}var Me={accumulation:j,movingAverage:W,difference:ee,normalization:ce,timeSeriesDecomposition:K};const Le={modifiers:Me,apply:Te,applyModifiers:_e,cleanUpMeasure:Oe,destroy:function(e){e&&De[e.id]&&De[e.id].masterItemSubscriber&&(De[e.id].masterItemSubscriber&&De[e.id].masterItemSubscriber.unsubscribe(),delete De[e.id])},hasActiveModifiers:qe,getActiveModifier:Ne,initBase:ke.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Me[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Me[e]&&Me[e].isApplicable({properties:r,layout:n})}))},measureBase:ge,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Fe(e);Ue({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||Ze({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:ze};var De={};function Te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.model,n=e.properties,o=e.isSnapshot,a=void 0!==o&&o,s=e.masterItem,l=!1;De[r.id]=De[r.id]||{isFirstTime:!0};var u=De[r.id].isFirstTime;if(De[r.id].isFirstTime=!1,n&&"object"===Ie(n))return _e({model:r,properties:n});var c=r?r.layout:void 0,d=i(c,"qSelectionInfo.qInSelections");if(a||d)return Promise.resolve(l);var p=i(c,"qHyperCube.qMeasureInfo"),f=De[r.id].lastReloadTime;if(De[r.id].lastReloadTime=i(r,"app.layout.qLastReloadTime"),qe({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return i(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ge({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:r,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Ue({modifiers:Fe(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:s,isFirstTime:u})?r.getEffectiveProperties().then((function(e){var n=t()(!0,{},e);$e(n);var o=Qe(n);return Ye({model:r}).then((function(t){return Ke({libraryIds:o,model:r}).then((function(o){return h&&function(e){var t=e.properties;je(t).forEach((function(e){return function(e){var t=e.measure;if(Ge({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===Ie(e)&&!e.disabled){if(r++,"object"!==Ie(Me[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Me[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&We(t)&&C.simplifyExpression(t.qDef.base.qDef)!==C.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:n}),_e({model:r,oldProperties:e,properties:n,runUpdateIfChange:!0,masterItem:s,libraryItemsProps:o,dimensionAndFieldList:t})}))}))})):Promise.resolve(l)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===Ie(e.base)}))}(p)?r.getEffectiveProperties().then((function(e){return function(e){var r=e.model,n=e.properties,o=Qe(n);return et({model:r,libraryIds:o}).then((function(){var e=t()(!0,{},n);return je(n).forEach((function(e){return Oe(e)})),Je({oldProperties:e,newProperties:n,model:r})}))}({model:r,properties:e})})):Promise.resolve(l)}function _e(e){var r=e.model,n=e.oldProperties,o=e.properties,a=e.measures,s=e.runUpdateIfChange,l=void 0!==s&&s,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===n&&(n=l?t()(!0,{},o):o),$e(o);var p=Qe(o);return et({model:r,libraryIds:p,masterItem:u}).then((function(){return function(e){var r=e.measures,n=e.properties,o=e.model,a=e.libraryItemsProps,s=e.dimensionAndFieldList;if(r||(r=je(n)),!r.length)return Promise.resolve();if(!qe({measures:r,properties:n}))return r.forEach((function(e){return Oe(e)})),Promise.resolve();var l=a?void 0:Qe(n);return Ye({model:o,dimensionAndFieldList:s}).then((function(e){return Ke({libraryIds:l,model:o,libraryItemsProps:a}).then((function(o){r.forEach((function(r){Ue({modifiers:r.qDef.modifiers,properties:n})?(function(e){var r=e.measure,n=e.properties,o=e.libraryItemsProps,a=e.dimensionAndFieldList,s=0;ke.isValid(r)||ke.initBase(r,!0);var l=r.qDef,u=l.modifiers,c=l.base;Array.isArray(u)&&u.forEach((function(e){if("object"===Ie(e)&&!e.disabled){if(s++,"object"!==Ie(Me[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(s>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Me[e.type].initModifier(e,r);var l=r.qLibraryId||c&&c.qLibraryId;l?function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList,a=e.libraryItemsProps[e.libraryId],s=a.qMeasure.qDef,l=""===s?s:Me[n.type].generateExpression({expression:s,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=l,r.qDef.qDef=n.outputExpression,(r.qDef.qLabel||a.qMeasure.qLabel)&&(r.qDef.qLabel=a.qMeasure.qLabel),(r.qDef.qLabelExpression||a.qMeasure.qLabelExpression)&&(r.qDef.qLabelExpression=a.qMeasure.qLabelExpression),r.qDef.quarantine&&r.qDef.quarantine.qNumFormat&&a.qMeasure.qNumFormat&&(r.qDef.qNumFormat=a.qMeasure.qNumFormat,r.qDef.isCustomFormatted=a.qMeasure.isCustomFormatted),delete r.qLibraryId,r.qDef.coloring=a.qMeasure.coloring,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,libraryId:l,properties:n,libraryItemsProps:o,dimensionAndFieldList:a}):function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList;"function"==typeof Me[n.type].updateModifier&&Me[n.type].updateModifier(n,o.qHyperCubeDef);var a=ge.getExpression(r),s=""===a?a:Me[n.type].generateExpression({expression:a,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=s,r.qDef.qDef=n.outputExpression,r.qDef.base.qLabelExpression?r.qDef.qLabelExpression=r.qDef.base.qLabelExpression:r.qDef.qLabel=r.qDef.base.qLabel||a,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,properties:n,dimensionAndFieldList:a}),function(e){var t=i(e,"qDef.qAggrFunc");"Expr"!==t||ze(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&ze(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(r)}}))}({measure:r,properties:n,libraryItemsProps:o,dimensionAndFieldList:e}),Be(r)):Oe(r)}))}))}))}({measures:a,properties:o,model:r,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return l?Je({oldProperties:n,newProperties:o,model:r}):Promise.resolve(!1)}))}))}function Oe(e){!function(e){var t=Fe(e);return Array.isArray(t)&&t.some((function(e){return"object"===Ie(e)&&!e.disabled&&!Me[e.type]}))}(e)?ke.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Be(e)}function qe(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ue({modifiers:Fe(e),properties:r,layout:n})}))}function Ne(e){var t=Fe(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Me[n.type]&&!n.disabled)return n}}function ze(e){var t=Ne(e);return!t||Me[t.type].enableTotalsFunction(e)}function je(e){return i(e,"qHyperCubeDef.qMeasures",[]).concat(i(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Fe(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function He(e){return i(e,"outputExpression.qValueExpression.qExpr")||i(e,"outputExpression")}function $e(e){je(e).forEach((function(e){return function(e){var r=Ne(e);r&&(void 0!==r.outputExpression&&He(r)!==e.qDef.qDef?delete e.qDef.base:!ke.isValid(e)&&r.base&&(e.qDef.base=t()(!0,{},r.base)))}(e)}))}function Be(e){var t=Fe(e);Array.isArray(t)&&t.forEach((function(t){"object"===Ie(t)&&(t.disabled||!Me[t.type]&&He(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function We(e){return e.base||e.qDef&&e.qDef.base}function Ve(e){var t=We(e);return e.qLibraryId||t&&t.qLibraryId}function Ge(e){var t=e.measure,r=e.properties,n=e.layout;return!Ve(t)&&Ue({modifiers:Fe(t),properties:r,layout:n})}function Ue(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==Ie(e)||e.disabled||!Me[e.type])&&(void 0===o[e.type]&&(o[e.type]=Me[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Ye(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function Ke(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a}))}function Xe(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function Je(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(i(t,"qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qMeasures"),Xe)||JSON.stringify(i(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&i(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):_(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function Ze(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===Ie(e)&&!e.disabled&&Me[e.type]&&Me[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function Qe(e){var t=je(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Fe(t);if(Ue({modifiers:n,properties:e})){var i=Ve(t);i&&r.push(i),o=o||Ze({modifiers:n,properties:e})}})),i(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function et(e){var t=e.model,r=e.libraryIds;return!e.masterItem&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(De[t.id].masterItemSubscriber=De[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},a={},s={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function l(e){var t={},r=i(e,"qInfo.qType");return r&&s[r]&&s[r].forEach((function(r){t[r]=i(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=l(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(e,r){return t.app[r](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),enabled:!1,properties:l(t.layout)}}))}return{subscribe:function(e){var r=e.measureLibraryIds,i=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),a={},t.forEach((function(e){a[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:i}),Object.keys(n).forEach((function(e){o[e]||a[e]||(n[e].listener.dispose(),delete n[e])})),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(c(e,"getMeasure"))})),Object.keys(a).forEach((function(e){a[e]&&!n[e]&&s.push(c(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose()})),n={}}}}({model:t,callback:function(e){return Te({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),De[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}})(),t.default=o.default,Object.defineProperty(t,"__esModule",{value:!0})})()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};return(()=>{function e(t){var r,n=t;return n>9?(r=65+n-10)>90&&(r+=6):n="".concat(n).charCodeAt(0),[48,111,79,105,73,108].indexOf(r)>-1?e(n+1):String.fromCharCode(r)}function t(r){var n=e(r%62),o=Math.floor(r/62);return o>0?t(o)+n:n}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}r.d(n,{default:()=>$e});const i={getValue:function(e,t,r){if(null==e||null==t)return r;for(var n=t.split("."),o=e,i=0;i<n.length;++i){var a=n[i];if(""!==a){if(void 0===o[a]||null===o[a])return r;o=o[a]}}return o},setValue:function(e,t,r){if(null!=e&&null!=t){for(var n=t.split("."),o=n[n.length-1],i=e,a=0;a<n.length-1;++a){var s=n[a];void 0!==i[s]&&null!==i[s]||(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}},isEmpty:function(e){return 0===Object.keys(e).length&&e.constructor===Object},isAtomicValue:function(e){return/boolean|number|string/.test(o(e))},generateId:function(){return t(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return n;return-1}return-1}const d={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var r=e.indexOf(t[0]);if(-1!==r){for(var n=0;n<t.length;n++){var o=e.indexOf(t[n]);if(r>o)return!1;r=o}return!0}return!1},indexAdded:function(e,t){var r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)},indexRemoved:function(e,t){var r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n},findItemByPropertyValue:function(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return e[n];return null}return null},findIndexByPropertyValue:c};var p=r(8),f=r.n(p);const h=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.dimensions).push.apply(t,a(n.qDimensions));var s,l=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qDimensions");l&&(s=o.excludedDimensions).push.apply(s,a(l))},m=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.measures).push.apply(t,l(n.qMeasures));var a,s=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qMeasures");s&&(a=o.excludedMeasures).push.apply(a,l(s))},g=function(e){var t=e.exportFormat,r=e.qHyperCubeDef,n=t.data[0];r.qInterColumnSortOrder||(r.qInterColumnSortOrder=[]),n.interColumnSortOrder=r.qInterColumnSortOrder.concat();var o=i.getValue(r,"qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder");o&&d.isOrderedSubset(o,n.interColumnSortOrder)&&(n.interColumnSortOrder=o.concat())},b=function(e){var t=e.exportFormat,r=e.properties;Object.keys(r).forEach((function(e){t.properties[e]=r[e]}))},v=function(e){var t=e.exportFormat,r=e.properties;r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((function(e){t.properties.hasOwnProperty(e)||(t.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===i.getValue(e,t)&&i.setValue(e,t,e.qLayoutExclude.changed[t].from)}))}(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!i.isEmpty(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude},y=function(e){e.forEach((function(e){f().cleanUpMeasure(e),e.qDef.modifiers&&(e.store={modifiers:e.qDef.modifiers},delete e.qDef.modifiers)}))};function x(e,t,r){var n,o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=i.getValue(e,t);if(!i.isAtomicValue(s))try{if((o=(o=(n=JSON.stringify(s)).match(/:\{/g))?o.length:0)>2&&!a)return;s=JSON.parse(n)}catch(e){return}i.getValue(e,"qLayoutExclude.quarantine")||i.setValue(e,"qLayoutExclude.quarantine",{});var l=i.getValue(e,"qLayoutExclude.quarantine");l[r]||(l[r]={}),l[r][t]=s}var S=r(909),C=r.n(S);function E(e,t){var r=C()(!0,{},t,e);return i.getValue(r,"qOtherTotalSpec.qOtherCounted")||i.setValue(r,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),i.getValue(r,"qOtherTotalSpec.qOtherLimit")||i.setValue(r,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),r.hasOwnProperty("othersLabel")||(r.othersLabel="Others"),r}function w(e,t){return C()(!0,{},t,e)}function R(e,t,r){return"function"==typeof e?e(t):Number.isNaN(+e)?r:e}var A=Math.pow(2,53)-1;function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const I=function(e,t,r){var n="masterobject"===i.getValue(t,"properties.qInfo.qType")?"masterobject":i.getValue(r,"qInfo.qType");i.setValue(e,"qInfo.qType",n),e.visualization=r.visualization},M=function(e,t,r){t.hasOwnProperty(e)&&(r[e]=t[e])},L=function(e,t,r,n){t.hasOwnProperty(e)?r[e]=t[e]:r[e]=n},D=function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},T=function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},_=function(e){var t,r=e.exportFormat,n=e.maxDimensions,o=e.minDimensions,i=e.newHyperCubeDef,a=e.defaultDimension,s=r.data[0];for(t=0;t<s.dimensions.length;++t){var l=E(s.dimensions[t],a);i.qDimensions.length<n?i.qDimensions.push(l):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(l)}for(t=0;t<s.excludedDimensions.length;++t){var u=E(s.excludedDimensions[t],a);i.qDimensions.length<o?i.qDimensions.push(u):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(u)}},O=function(e){var t,r=e.exportFormat,n=e.maxMeasures,o=e.minMeasures,i=e.newHyperCubeDef,a=e.defaultMeasure,s=r.data[0];for(t=0;t<s.measures.length;++t){var l=w(s.measures[t],a);i.qMeasures.length<n?i.qMeasures.push(l):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(l)}for(t=0;t<s.excludedMeasures.length;++t){var u=w(s.excludedMeasures[t],a);i.qMeasures.length<o?i.qMeasures.push(u):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(u)}},q=function(e){var t=e.exportFormat,r=e.dataDefinition,n=void 0===r?{}:r,o=t.data[0],i=n.dimensions||{max:0},a=n.measures||{max:0},s=R(a.max,o.dimensions.length,A),l=R(a.min,o.dimensions.length,0);return{maxDimensions:R(i.max,s,A),minDimensions:R(i.min,l,0),maxMeasures:s,minMeasures:l}},N=function(e){var t=e.exportFormat,r=e.newHyperCubeDef,n=t.data[0],o=r.qDimensions.length+r.qMeasures.length;r.qInterColumnSortOrder=n.interColumnSortOrder.concat();var i=r.qInterColumnSortOrder.length;if(i!==o)for(r.qLayoutExclude&&(r.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());i!==o;)i<o?(d.indexAdded(r.qInterColumnSortOrder,i),++i):(--i,d.indexRemoved(r.qInterColumnSortOrder,i))},z=function(e){var t=e.exportFormat,r=e.initialProperties,n=e.hypercubePath,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=C()(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&n?i.setValue(o,"".concat(n,".qHyperCubeDef"),t.properties.qHyperCubeDef):r.hasOwnProperty(e)||-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)||function(e,t){return"components"===t&&Array.isArray(e[t])&&e[t].some((function(e){return"general"===e.key}))}(t.properties,e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),null===(o=C()(!0,{},r,o)).components&&(o.components=[]),o},j=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=t.data[0];return a.dimensions.length>r&&r>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!r&&a.dimensions.length>0},F=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=e.newHyperCubeDef,s=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(s.dimensions.length>r&&r>0||s.excludedDimensions&&s.excludedDimensions.length&&s.dimensions.length+s.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(s.measures.length>o&&o>0||s.excludedMeasures&&s.excludedMeasures.length&&s.measures.length+s.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&s.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&s.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},H=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.dimensions&&"function"==typeof n.dimensions.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return P(e)}(t=a.qDimensions)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a.qDimensions=[],s.forEach((function(e){a.qDimensions.push(e),n.dimensions.added(e,r)}))}},$=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.measures&&"function"==typeof n.measures.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return k(e)}(t=a.qMeasures)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a.qMeasures=[],s.forEach((function(e){a.qMeasures.push(e),n.measures.added(e,r)}))}},B=function(e){var t=e.measures,r=e.modifierTypes;t&&r&&f().isSupportedModifiers(r)&&t.forEach((function(e){e.store&&e.store.modifiers&&(e.qDef.modifiers=e.store.modifiers),delete e.store}))};function W(e,t){var r=i.getValue(e,"qLayoutExclude.quarantine",{})[t];return!!r&&(Object.keys(r).forEach((function(t){i.setValue(e,t,r[t])})),delete e.qLayoutExclude.quarantine[t],!0)}const V={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},r=0;r<e;++r)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),a=t.qProperty,s=i.getValue(a,r||""),l=s.qHyperCubeDef;return l.qInterColumnSortOrder||(l.qInterColumnSortOrder=[]),h({exportFormat:o,qHyperCubeDef:l}),m({exportFormat:o,qHyperCubeDef:l}),g({exportFormat:o,qHyperCubeDef:l}),delete l.qLayoutExclude,b({exportFormat:o,properties:a}),r&&(o.properties.qHyperCubeDef=l,delete s.qHyperCubeDef),v({exportFormat:o,properties:a}),n||y(o.properties.qHyperCubeDef.qMeasures),Array.isArray(o.properties.filters)&&(x(o.properties,"filters","storedFilters",!0),delete o.properties.filters),o.properties.qHyperCubeDef.qContextSetExpression&&(x(o.properties,"qHyperCubeDef.qContextSetExpression","storedFilters"),o.properties.qHyperCubeDef.qContextSetExpression=""),o.properties.qHyperCubeDef.qDynamicScript&&o.properties.qHyperCubeDef.qDynamicScript.length&&(x(o.properties,"qHyperCubeDef.qDynamicScript","dynamicScript"),o.properties.qHyperCubeDef.qDynamicScript=[]),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=void 0===r?{}:r,o=e.dataDefinition,a=void 0===o?{}:o,s=e.defaultPropertyValues,l=void 0===s?{}:s,u=e.hypercubePath,c=e.extension,d=e.supportedFilters,p=void 0===d||d,f=e.isHCModifierSupported,h=void 0===f||f,m={qChildren:[]},g=z({exportFormat:t,initialProperties:n,hypercubePath:u}),b=i.getValue(n,u||"").qHyperCubeDef,v=i.getValue(g,u||"").qHyperCubeDef,y=q({exportFormat:t,dataDefinition:a}),x=y.maxDimensions,S=y.minDimensions,C=y.maxMeasures,E=y.minMeasures,w=l.defaultDimension,R=void 0===w?D():w,A=l.defaultMeasure,P=void 0===A?T():A;v.qDimensions.length=0,v.qMeasures.length=0,j({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:E})&&F({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:E,newHyperCubeDef:v}),_({exportFormat:t,maxDimensions:x,minDimensions:S,newHyperCubeDef:v,defaultDimension:R}),O({exportFormat:t,maxMeasures:C,minMeasures:E,newHyperCubeDef:v,defaultMeasure:P}),H({newProperties:g,dataDefinition:a,hypercubePath:u}),$({newProperties:g,dataDefinition:a,hypercubePath:u}),N({exportFormat:t,newHyperCubeDef:v}),M("qMaxStackedCells",b,v),M("qNoOfLeftDims",b,v),L("qInitialDataFetch",b,v,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),L("qMode",b,v,"S"),L("qReductionMode",b,v,"N"),L("qSortbyYValue",b,v),L("qIndentMode",b,v),L("qShowTotalsAbove",b,v),I(g,t,n),m.qProperty=g;var k=i.getValue(c||{},"support.modifiers");return B({measures:v.qMeasures,modifierTypes:k}),p&&W(m.qProperty,"storedFilters"),"S"===v.qMode&&h&&W(m.qProperty,"dynamicScript"),m}};var G={cellBackgroundColor:!0,cellForegroundColor:!0,colorByAlternative:!0,colorByExpression:!0,tooltip:!0,urlLabel:!0,url:!0};function U(e,t,r,n){t=t||[];var o=c(e,n,r),i=c(t,n,r);if(-1!==o&&-1===i){var a=e.splice(o,1);t.push(a[0])}return t}function Y(e,t){return e.length!==t}const K={create:function(e,t){if(!e||!G[e])throw new Error("Attribute Expressions Util: ID required");var r={};return t&&Object.keys(t).forEach((function(e){r[e]=t[e]})),r.id=e,r.qAttribute=!0,r},moveByIdFromGroup:function(e,t,r,n,o){r=r||"qAttributeExpressions",o=o||"id";for(var i=0;i<e.length;i++){var a=e[i][r],s=t.length;if(U(a,t,n,o),Y(t,s))return t}return t},IDMAP:{CELL_BACKGROUND_COLOR:"cellBackgroundColor",CELL_FOREGROUND_COLOR:"cellForegroundColor",COLOR_BY_ALTERNATIVE:"colorByAlternative",COLOR_BY_EXPRESSION:"colorByExpression",TOOLTIP:"tooltip",CELL_LINK_LABEL:"urlLabel",CELL_LINK_URL:"url"}},X={getNumDimensions:function(e){return i.getValue(e,"qHyperCubeDef.qDimensions.length",0)},getNumMeasures:function(e){return i.getValue(e,"qHyperCubeDef.qMeasures.length",0)},wrapFieldName:function(e){return e.split(" ").length>1&&"="!==e[0]&&"["!==e[0]?"[".concat(e,"]"):e},getItemLabel:function(e){return e.label||e.name}},J={colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>0&&X.getNumMeasures(e)<=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>0},expression:function(e){return X.getNumMeasures(e)>=1}}},Z={colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}};var Q={scatterplot:Z,"sn-scatter-plot":Z,piechart:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}},linechart:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)<=1},expression:function(e){return X.getNumMeasures(e)>=1}}},map:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>=1},expression:function(e){return X.getNumDimensions(e)>=1}}},distributionplot:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumDimensions(e)>=1}}}};function ee(e,t,r){if(Array.isArray(e[t])){var n=d.findIndexByPropertyValue(e[t],"id",r);n>=0&&e[t].splice(n,1)}else e[t]=[]}function te(e,t){var r=K.IDMAP.COLOR_BY_ALTERNATIVE;e.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)})),t.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)}))}function re(e,t){if(t){var r="="===t.charAt(0);e.color.altLabel=r?{qStringExpression:{qExpr:t.substr(1)}}:t}}function ne(e){var t=e.properties,r=e.isDimension,n=e.dimensions,o=e.excludedDimensions,a=e.measures,s=e.label;te(n,o);var l=n[n.length-1];if(l){var u=r?i.getValue(t,"color.byDimDef"):i.getValue(t,"color.byMeasureDef"),c=i.getValue(t,"color.formatting.qNumFormat"),p=i.getValue(t,"color.formatting.isCustomFormatted");if(u){var f=K.create(K.IDMAP.COLOR_BY_ALTERNATIVE);switch(u.type){case"expression":!function(e){var t=e.attributeExpression,r=e.label,n=e.item,o=e.isDimension,i=e.qNumFormat,a=e.isCustomFormatted;t.label=r||n.label,o?t.qDef=n.key:(t.qExpression=n.key,i&&(t.qNumFormat=i,t.isCustomFormatted=a)),t.matchMeasure=n.activeMeasureIndex,t.label&&"="===t.label.charAt(0)&&(t.labelExpRef="color.altLabel")}({attributeExpression:f,label:s,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p});break;case"libraryItem":!function(e){var t=e.attributeExpression,r=e.measures,n=e.item,o=e.qNumFormat,i=e.isCustomFormatted;e.isDimension||(t.matchMeasure=d.findIndexByPropertyValue(r,"qLibraryId",n.key),o&&(t.qNumFormat=o,t.isCustomFormatted=i)),void 0!==n.expression?t.qExpression=n.expression:t.qLibraryId=n.key,t.colorMapRef=n.key}({attributeExpression:f,measures:a,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p})}r?(f.qSortBy={qSortByAscii:1},l.qAttributeDimensions.push(f)):l.qAttributeExpressions.push(f)}}}function oe(e,t,r,n){var o,i,a,s={};switch(e){case"dimension":r.qLibraryId?(s.type="dimension",s.name=r.qLibraryId,s.id=r.qLibraryId):(s.type="field",t?(s.name=r.label||r.qDef,s.id=r.qDef):(s.name=r.qDef.qFieldDefs[0],s.label=(a=r.qDef).qLabelExpression?a.qLabelExpression:a.qFieldLabels&&a.qFieldLabels[0]?a.qFieldLabels[0]:a.qFieldDefs[0]));break;case"measure":o=function(e,t){return t?e.qLibraryId:f().measureBase.getLibraryId(e)}(r,t),o?(s.type="measure",s.name=o,s.id=o,i=function(e,t){return f().hasActiveModifiers({measures:[e]})&&t?e.qDef.qDef:void 0}(r,n),i&&(s.expression=i)):(s.type="expression",t?(s.name=r.label||r.qExpression,s.id=r.qExpression):(s.name=r.qDef.qDef,s.label=function(e){var t=e.qDef;return t.qLabelExpression?t.qLabelExpression:t.qLabel?t.qLabel:t.qDef}(r)));break;default:throw new Error('columnType should be "dimension" or "measure"')}return s}const ie={useMasterNumberFormat:function(e){e.quarantine={qNumFormat:e.qNumFormat||{},isCustomFormatted:e.isCustomFormatted||!1},e.qNumFormat=null,e.isCustomFormatted=void 0}};function ae(e,t,r,n){var o=t.type,i=e.color,a=i.mode,s=X.getItemLabel(t);switch(re(e,s||""),o){case"field":a="byDimension",i.byDimDef={label:t.label||X.wrapFieldName(t.name),key:X.wrapFieldName(t.name),type:"expression",activeDimensionIndex:t.activeDimensionIndex};break;case"expression":a="byMeasure",i.byMeasureDef={label:s,key:t.name,type:"expression",activeMeasureIndex:t.activeMeasureIndex};break;case"dimension":a="byDimension",i.byDimDef={label:t.name,key:t.id,type:"libraryItem",activeDimensionIndex:t.activeDimensionIndex};break;case"measure":a="byMeasure",i.byMeasureDef={label:t.name,key:t.id,expression:t.expression,type:"libraryItem",activeMeasureIndex:t.activeMeasureIndex},i.formatting&&ie.useMasterNumberFormat(i.formatting)}i.auto=!1,i.mode=a}function se(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byDimDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeDimensionIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"color.byDimDef");n.activeDimensionIndex=Math.min(n.activeDimensionIndex,r.length-1);var o=oe("dimension",!1,r[n.activeDimensionIndex]);o.activeDimensionIndex=n.activeDimensionIndex,ae(e,o)}(e,t);else if(function(e){return!e||!e.key}(a)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=r[function(e,t,r){var n=i.getValue(t,"visualization"),o=r.split("."),a=Number(o[1]),s=i.getValue(t,"layers.".concat(a,".type"));return 2===e.length&&"map"===n&&"point"===s}(r,e,t)?0:r.length-1],o=K.IDMAP.COLOR_BY_ALTERNATIVE,a=d.findItemByPropertyValue(n.qAttributeDimensions,"id",o);return ae(e,oe("dimension",!!a,a||n)),!!a}(e,t))return;ne({properties:e,isDimension:!0,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byDimDef.label")})}const le=function(e,t,r){i.setValue(e,t,r),i.isAtomicValue(r)&&function(e,t,r){var n=e.qLayoutExclude;n&&(n.changed||(n.changed={}),n.changed[t]={from:i.getValue(e,t),to:r})}(e,t,r)},ue=function(e,t){var r={primary:!0};if(e){var n=(Q[t]||J).colorModeOptions||J.colorModeOptions;r.byDimension=n.dimension(e),r.byMeasure=n.measure(e),r.byMultiple=n.multiColor(e),r.byExpression=n.expression(e)}return r},ce=function(e){var t=e.canColorBy,r=e.autoColor,n=e.colorMode,o=e.dimensions;return!(t[n]&&!r&&("byDimension"!==n&&"byMeasure"!==n||!o.length))},de=function(e,t){var r,n=i.getValue(e,"color.mode"),o=i.getValue(e,"color.auto"),a=i.getValue(e,"".concat(t,"qDimensions"),[]),s=i.getValue(e,"".concat(t,"qMeasures"),[]),l=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);o?te(a,l):!(r={auto:o,colorMode:n,dimensions:a}).auto&&"byDimension"===r.colorMode&&r.dimensions.length>0?se(e,t):function(e){var t=e.auto,r=e.colorMode,n=e.dimensions,o=e.measures,a=e.properties,s=i.getValue(a,"visualization");return!(t||"byMeasure"!==r||!n.length||"map"!==s&&!o.length)}({auto:o,colorMode:n,dimensions:a,measures:s,properties:e})?function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byMeasureDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeMeasureIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qMeasures"),[]),n=i.getValue(e,"color.byMeasureDef");if(n.activeMeasureIndex=Math.min(n.activeMeasureIndex,r.length-1),n.activeMeasureIndex>-1){var o=oe("measure",!1,r[n.activeMeasureIndex],!0);o.activeMeasureIndex=n.activeMeasureIndex,ae(e,o)}}(e,t);else if(function(e,t){return(!e||!e.key)&&t.length>0}(a,n)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=r[r.length-1],a=K.IDMAP.COLOR_BY_ALTERNATIVE,s=d.findItemByPropertyValue(o.qAttributeExpressions,"id",a);return ae(e,oe("measure",!!s,s||n[0])),!!s}(e,t))return;ne({properties:e,isDimension:!1,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byMeasureDef.label")})}(e,t):function(e,t){var r=i.getValue(e,"color.mode"),n=i.getValue(e,"".concat(t,"qDimensions"),[]),o=i.getValue(e,"".concat(t,"qMeasures"),[]),a=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);"byMultiple"===r&&o.length<2&&i.setValue(e,"color.mode","primary"),te(n,a)}(e,t)},pe=function(e){e.forEach((function(e){e.qOtherTotalSpec&&"qTotalMode"in e.qOtherTotalSpec&&delete e.qOtherTotalSpec.qTotalMode}))},fe=function(e){var t=e.shouldUpdateColorBy,r=e.properties,n=i.getValue(r,"qHyperCubeDef.qMeasures",[]),o=i.getValue(r,"color.mode","");return!t&&"byExpression"===o&&n.length>0},he=function(e){var t=i.getValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",[]),r=i.getValue(e,"color.colorExpression","");t.splice(0,0,{qExpression:r,id:"colorByExpression"}),i.setValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",t)},me=function(e){i.setValue(e,"color.mode","primary"),i.setValue(e,"color.auto",!0)},ge=function(e){var t=i.getValue(e,"qHyperCubeDef.qDimensions",[]),r=i.getValue(e,"color.persistent",!1);return t.length>1&&!r},be={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=V.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),i=o.data[0],a=i.dimensions.concat(i.excludedDimensions),s=i.measures.concat(i.excludedMeasures),l=K.IDMAP,u=l.COLOR_BY_ALTERNATIVE,c=l.COLOR_BY_EXPRESSION;return K.moveByIdFromGroup(a,[],"qAttributeDimensions",u),K.moveByIdFromGroup(a,[],"qAttributeExpressions",u),K.moveByIdFromGroup(s,[],"qAttributeExpressions",c),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,a=e.hypercubePath,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=V.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:a,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty,p=i.getValue(d,"visualization"),f=i.getValue(d,"qHyperCubeDef.qDimensions",[]),h=i.getValue(d,"color.mode",""),m=i.getValue(d,"color.auto",""),g=ue(d,p),b=ce({canColorBy:g,autoColor:m,colorMode:h,dimensions:f});return g[h]?fe({shouldUpdateColorBy:b,properties:d})&&he(d):me(d),b&&de(d,"qHyperCubeDef."),ge(d)&&le(d,"color.persistent",!0),pe(f),c}};var ve=["bar","marker","line"];const ye=function(e){var t=e.initialProperties,r=e.properties;t.measureAxis&&void 0===t.measureAxis.autoMinMax?W(r,"unsupportedAutoMinMax")||C()(r.measureAxis,t.measureAxis):W(r,"supportedAutoMinMax")||C()(r.measureAxis,t.measureAxis)},xe=function(e){var t,r=e.exportFormat,n=e.initialProperties,o=e.properties,i=e.measureType,a=o.qHyperCubeDef,s=o.measureAxis;if(function(e){var t=e.initialProperties;return!(!e.exportFormat.properties.measureAxes||t.measureAxes||!t.measureAxis||void 0===t.measureAxis.autoMinMax)}({exportFormat:r,initialProperties:n})){var l=function(e){var t=[];return e.qMeasures.length>0&&e.qMeasures.forEach((function(e){if(e.qDef.series){var r=e.qDef.series,n=r.type,o=r.axis;t[o]||(t[o]={axis:o,type:{line:0,marker:0,bar:0,total:0}}),ve.includes(n)&&t[o].type[n]++,t[o].type.total++}})),t}(a);l.length?(i&&(t=l.filter((function(e){return e.type[i]>0})).sort((function(e,t){return t.type[i]-e.type[i]}))),t&&t.length||(t=l.sort((function(e,t){return t.type.total-e.type.total}))),t&&t[0]&&C()(s,r.properties.measureAxes[t[0].axis])):C()(s,r.properties.measureAxes[0])}},Se=function(e){if(e.qDimensions.length>1){var t=e.qInterColumnSortOrder.indexOf(0);if(0!==t){var r=e.qInterColumnSortOrder[0];e.qInterColumnSortOrder[0]=0,e.qInterColumnSortOrder[t]=r}}},Ce={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=e.supportedAutoMinMax,i=void 0===o||o,a=be.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),s=a.properties;return i?(x(s,"measureAxis.min","supportedAutoMinMax"),x(s,"measureAxis.max","supportedAutoMinMax")):(x(s,"measureAxis.min","unsupportedAutoMinMax"),x(s,"measureAxis.max","unsupportedAutoMinMax")),a},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,i=e.hypercubePath,a=e.measureType,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=be.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:i,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty;return ye({initialProperties:r,properties:d}),xe({exportFormat:t,initialProperties:r,properties:d,measureType:a}),Se(d.qHyperCubeDef),d.qHyperCubeDef.qColumnOrder=[],d.qHyperCubeDef.columnOrder=[],c}};function Ee(e,t,r){return"qLayoutExclude.quarantine.".concat(e,".").concat(t,".").concat(r)}function we(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,a);if(void 0!==s){var l=i.getValue(o,"qDef.cId");l||(l=i.generateId(),i.setValue(o,"qDef.cId",l));var u=Ee(r,n,l);i.setValue(t,u,s),i.setValue(o,a,void 0)}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}function Re(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,"qDef.cId");if(s){var l=Ee(r,n,s),u=i.getValue(t,l);void 0!==u&&(i.setValue(o,a,u),i.setValue(t,l,void 0))}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}var Ae="qHyperCubeDef.qMeasures",Pe="conditionalColoring",ke="measures",Ie="qDef.conditionalColoring";const Me={quarantine:function(e){we({properties:e,arrayPath:Ae,quarantineName:Pe,arrayName:ke,itemPath:Ie})},unquarantine:function(e){Re({properties:e,arrayPath:Ae,itemPath:Ie,arrayName:ke,quarantineName:Pe})}};var Le="qHyperCubeDef.qMeasures",De="measures",Te="qHyperCubeDef.qDimensions",_e="dimensions",Oe="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",qe="alternativeMeasures",Ne="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions",ze="alternativeDimensions",je="qCalcCondition",Fe="conditionalShowHide";const He={quarantine:function(e){we({properties:e,arrayPath:Le,quarantineName:Fe,arrayName:De,itemPath:je}),we({properties:e,arrayPath:Te,quarantineName:Fe,arrayName:_e,itemPath:je})},unquarantine:function(e){Re({properties:e,arrayPath:Le,quarantineName:Fe,arrayName:De,itemPath:je}),Re({properties:e,arrayPath:Te,quarantineName:Fe,arrayName:_e,itemPath:je})},quarantineAlternative:function(e){we({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:je}),we({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:ze,itemPath:je})},unquarantineAlternative:function(e){Re({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:je}),Re({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:ze,itemPath:je})}},$e={hypercube:V,colorChart:be,axisChart:Ce,quarantineProperty:x,unquarantineProperty:W,quarantineArrayProp:we,unquarantineArrayProp:Re,conditionalColoring:Me,conditionalShow:He}})(),n.default})()}(YC);var KC=wt(YC.exports);const XC="qHyperCubeDef.qMeasures",JC="measures",ZC="qHyperCubeDef.qDimensions",QC="dimensions",eE="qDef.representation",tE="tableRepresentation",rE="qDef.conditionalColoring",nE="conditionalColoring",oE="qMiniChartDef",iE="miniChartDef",aE=e=>{let{propertyTree:t,hyperCubePath:r}=e;const n=KC.hypercube.exportProperties({propertyTree:t,hyperCubePath:r}),{qHyperCubeDef:{qColumnOrder:o,qDimensions:i,qMeasures:a}}=n.properties,s=((e,t,r)=>{const n=e.length+t.length,o=(r?.length===n?r:Array.from(Array(n).keys())).map((r=>((e,t,r)=>{const n=t.length,o=e<n?t[e]:r[e-n],{columnWidth:i}=o.qDef;return i||-1})(r,e,t)));return o})(i,a,o);return FC(n,"properties.qHyperCubeDef",{...n.properties.qHyperCubeDef,columnWidths:s}),KC.quarantineProperty(n.properties,"qHyperCubeDef.columnWidths","straightTableColumnWidths"),KC.quarantineProperty(n.properties,"qHyperCubeDef.qColumnOrder","straightTableColumnOrder"),KC.quarantineProperty(n.properties,"qHyperCubeDef.columnOrder","straightTableColumnOrder"),(e=>{KC.quarantineArrayProp({properties:e,arrayPath:ZC,itemPath:eE,arrayName:QC,quarantineName:tE}),KC.quarantineArrayProp({properties:e,arrayPath:XC,itemPath:eE,arrayName:JC,quarantineName:tE}),KC.quarantineArrayProp({properties:e,arrayPath:XC,itemPath:rE,arrayName:JC,quarantineName:nE}),KC.quarantineArrayProp({properties:e,arrayPath:XC,itemPath:oE,arrayName:JC,quarantineName:iE})})(n.properties),n};const sE=/^q[A-Z]/,lE=[/\bqnDec\b/,/\bqv\b/,/\bcId\b/,/^title$/,/^subtitle$/,/^footnote$/,/^qLayoutExclude\b.+/],uE=e=>"object"==typeof e&&null!==e,cE=(e,t)=>(Object.entries(e).forEach((r=>{let[n,o]=r;const i=void 0===t?n:`${t}.${n}`;((e,t)=>!sE.test(e)&&!lE.some((e=>e.test(t))))(n,i)?delete e[n]:Array.isArray(o)?e[n]=o.map(((e,t)=>uE(e)?cE(e,`${i}.${t}`):e)):uE(o)&&(e[n]=cE(o,i))})),e),dE=(e,t,r,n)=>{let o=t;n&&(o=t-n);const i=JSON.parse(JSON.stringify(e[o]));if(Array.isArray(r)&&r.length>0){const e=r[t];null===e||Array.isArray(e)||"object"!=typeof e?i.qDef.columnWidth="number"==typeof e&&e>0?{type:SS.Pixels,pixels:e}:{type:SS.FitToContent}:i.qDef.columnWidth=e}return i},pE=e=>{let{exportFormat:t,initialProperties:r,extension:n,hypercubePath:o,defaultPropertyValues:i,viewDataMode:a}=e;if(a){try{t=structuredClone(t)}catch(e){console.error("Failed to copy source properties",e)}cE(t.properties)}const s=KC.hypercube.importProperties({exportFormat:t,initialProperties:r,dataDefinition:{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}},defaultPropertyValues:i,hypercubePath:o,extension:n});if(KC.conditionalShow.unquarantine(s.qProperty),a)FC(s,"qProperty.totals.show",!1),FC(s,"qProperty.usePagination",!0);else{KC.unquarantineProperty(s.qProperty,"straightTableColumnOrder"),(e=>{KC.unquarantineArrayProp({properties:e,arrayPath:ZC,itemPath:eE,arrayName:QC,quarantineName:tE}),KC.unquarantineArrayProp({properties:e,arrayPath:XC,itemPath:eE,arrayName:JC,quarantineName:tE}),KC.unquarantineArrayProp({properties:e,arrayPath:XC,itemPath:rE,arrayName:JC,quarantineName:nE}),KC.unquarantineArrayProp({properties:e,arrayPath:XC,itemPath:oE,arrayName:JC,quarantineName:iE})})(s.qProperty);const{qHyperCubeDef:{qDimensions:e,qMeasures:t,qColumnOrder:r,columnWidths:n}}=s.qProperty,{dimensions:o,measures:i}=((e,t,r,n)=>{const o=e.length,i=o+t.length,a=r?.length===i?r:Array.from(Array(i).keys());return{dimensions:a.filter((e=>e<o)).map((t=>dE(e,t,n))),measures:a.filter((e=>e>=o)).map((e=>dE(t,e,n,o)))}})(e,t,r,n);Array.isArray(n)&&n.length>0&&(FC(s,"qProperty.qHyperCubeDef.qDimensions",o),FC(s,"qProperty.qHyperCubeDef.qMeasures",i))}return s};var fE={component:"items",items:{columnHandler:{component:"column-handler",search:!0,selectAll:!1}},classification:{tags:["exploration"],exclusive:!0}};function hE(e,t){let r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)}function mE(e,t){let r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function gE(e){return e>0?0:1}function bE(e){return e.translator.get("Visualizations.Descriptions.Column")}function vE(e){return{measures:{min:gE,max:1e3,description:()=>bE(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;hE(n,r.getDimensions().length+r.getMeasures().length-1)},remove(e,t,r,n){const{qColumnOrder:o}=r.hcProperties;mE(o,(r.hcProperties.qDimensions?r.hcProperties.qDimensions.length:0)+n)}},dimensions:{min:gE,max:1e3,description:()=>bE(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;return hE(n,r.getDimensions().length-1),e},remove(e,t,r,n){if(e?.isAlternative)return;const{qColumnOrder:o}=r.hcProperties;mE(o,n)}}}}let yE=function(e){return e.Text="text",e.Link="link",e.Image="image",e.ImagesInIndentMode="imagesInIndentMode",e.Indicator="indicator",e.MiniChart="miniChart",e.EditableText="editableText",e.EditableSelector="editableSelector",e}({}),xE=function(e){return e.Attribute="attribute",e.Dimension="dimension",e}({});const SE=e=>{switch(e?.type){case"url":return yE.Link;case"image":return yE.Image;case"indicator":return yE.Indicator;case"miniChart":return yE.MiniChart;default:return yE.Text}},CE=e=>{let{isImagesEnabled:t}=e;return{uses:"dimensionRepresentationItems.representationType",options(e,r,n){const{qIndentMode:o}=n.properties.qHyperCubeDef,i=[{value:"text",translation:"Object.Table.Representation.Text"},{value:"url",translation:"Object.Table.Representation.Link"}];return(!o&&t||o)&&i.push({value:"image",translation:"Object.Table.Representation.Image"}),i}}},EE=e=>{if(e)return{representationImage:{uses:"dimensionRepresentationItems.representationImage",show:e=>SE(e.qDef.representation)===yE.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]},imageBoxWidth:{ref:"qDef.representation.imageBox.width",translation:"properties.pivot.representation.image.imageBox.width",type:"number",expression:"optional",defaultValue:24,show:(e,t,r)=>{if(!r.properties.qHyperCubeDef)return!1;const{qInterColumnSortOrder:n,qNoOfLeftDims:o,qDimensions:i,qIndentMode:a}=r.properties.qHyperCubeDef;let s=!1;n?.indexOf(-1);const l=i?.indexOf(e)??1/0;return(n?.slice(0,o)??[]).indexOf(l)>-1&&(s=!0),s&&a}}}}}},wE=e=>{const{anything:t,flags:r}=e,n=r.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!t.sense?.isUnsupportedFeature?.("tableImages");return{representationType:CE({isImagesEnabled:n}),representationUrlPosition:{uses:"dimensionRepresentationItems.representationUrlPosition",show:e=>SE(e.qDef.representation)===yE.Link},representationUrlLabel:{uses:"dimensionRepresentationItems.representationUrlLabel",show:e=>SE(e.qDef.representation)===yE.Link&&e.qDef.representation?.urlPosition===xE.Dimension},representationLinkUrl:{uses:"dimensionRepresentationItems.representationLinkUrl",show:e=>SE(e.qDef.representation)===yE.Link&&e.qDef.representation?.urlPosition===xE.Attribute},...EE(n)}},RE=(e,t)=>{const{anything:r}=e,n=r.sense?.isUnsupportedFeature,o=!n?.("tableImages")&&t[yE.Image],i=!n?.("qMiniChartDef")&&t[yE.MiniChart],a=!n?.("tableIndicators")&&t[yE.Indicator],s=o&&t[yE.ImagesInIndentMode];return{representationType:{uses:"measureRepresentationItems.representationType",options:(e,t,r)=>(e=>{const{qIndentMode:t}=e.properties.qHyperCubeDef??{},r=[{value:"text",translation:"Object.Table.Representation.Text"}];return(!t&&o||t&&s)&&r.push({value:"image",translation:"Object.Table.Representation.Image"}),a&&r.push({value:"indicator",translation:"Object.Table.Representation.Indicator"}),i&&r.push({value:"miniChart",translation:"Common.MiniChart"}),r})(r)},representationImage:o?{uses:"measureRepresentationItems.representationImage",show:e=>SE(e.qDef.representation)===yE.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]}}}:void 0,representationIndicator:a?{uses:"measureRepresentationItems.representationIndicator"}:void 0,representationMiniChart:i?{uses:"measureRepresentationItems.representationMiniChart"}:void 0}};var AE={};!function(e){(()=>{var t={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.r(o),n.d(o,{default:()=>qe});var i=n(909),a=n.n(i);const s=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},l=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},u={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var c="".concat(" ","(").concat(" "),d="".concat(" ",")").concat(" ");function p(e){return c+e+d}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function h(e){return!(!e.fullAccumulation&&!e.fullRange)}function m(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function g(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function b(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function v(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function y(e){return void 0===e?")":", 0, ".concat(e,")")}function x(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function S(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(x("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(x("MaxString(".concat(t,")")),")'\"}")}function C(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=S(f(n[0],o),b(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var c=f(n[0],o),d=f(n[1],o),p=b(0),h=b(1),m=S(c,p),g=S(d,h);return"".concat(a,"({1<").concat(m,",").concat(g,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function E(e){return"".concat(e,"(")}function w(e){var t=e.properties,r=e.layout;return l(t,"qHyperCubeDef.qDimensions",l(r,"qHyperCube.qDimensionInfo",[])).length}const R={isFullRange:h,getNumDimensions:w,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=p(g(t));if(!r.showExcludedValues)return a;var s=C({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var u=b(0);return"If(Count(".concat(u,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var c=b(0),d=b(1);return"If(Count(".concat(c,") * Count(").concat(d,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:m,getNumStepComp:function(e,t){if(!h(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return m(e,t)},getAboveCompPrefix:v,getAboveCompSuffix:y,getAboveComp:function(e,t,r,n){return v(e,t)+r+y(n)},getFunctionPrefix:E,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return E(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:C,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout;return 0===function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t)&&2===w({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=b(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:g,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(c);if(-1!==r){var n=t.indexOf(d);if(-1!==n)return t.substring(r+c.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:f,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=w({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:p,canExtract:function(e){var t=e.indexOf(c),r=e.indexOf(d);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:b,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=u.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?u.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(u.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return u.EXPRESSIONS[r]&&n.includes(u.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}var k=a().bind(null,!0),I={},M=Array.isArray;function L(e){return null!=e&&!Array.isArray(e)&&"object"===P(e)}function D(e){return void 0===e}function T(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function _(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=D(e[r||t])?i:e[t],e=e[r||t]}})),e}function O(e,t){var r=!0;if(L(e)&&L(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){O(e[n],t[n])||(r=!1)})),r);if(M(e)&&M(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!O(e[n],t[n]))return!1;return!0}return e===t}I.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?k({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);O(i,a)||T(t,o)||(D(a)?n.push({op:"add",path:s,value:i}):L(i)&&L(a)?n=n.concat(I.generate(a,i,s)):M(i)&&M(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&D(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(O(t,o))return n;if(!D(t[0])&&D(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(I.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){D(t[o])&&!T(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},I.apply=function(e,t){t.forEach((function(t){var r,n,o=_(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(M(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(M(a)&&M(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return A(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}else if(L(a)&&L(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!T(r,e)&&delete r[e]})),k(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=_(e,t.from);M(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(M(o)?o.splice(+i,1):delete o[i])}))},I.clone=function(e){return k({},e)},I.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},I.updateObject=function(e,t){Object.keys(e).length?I.apply(e,I.generate(e,t)):k(e,t)};const q=I,N=function(e,t,r){if(!e)return Promise.resolve();var n=q.generate(t,r);return a()(!0,t,r),n&&n.length?(n=n.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(n,!0)):Promise.resolve()};var z="accumulation";function j(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===z)return r[n]}function F(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===z)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var H={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const $={translationKey:"properties.modifier.accumulation",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var s=i;void 0===s&&(s=R.getNumDimensions({properties:n,layout:o}));var u=l(n,"qHyperCubeDef.qDimensions",[]),c=R.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=R.getNumStepComp(r,s),p=R.getAboveComp(r,s,c,d),f=R.getRangeComp("RangeSum",p);if(R.needDimension({modifier:r,properties:n,layout:o})){var h=R.getDimComp(u,1),m=R.getDimComp(u,0),g=R.getAggrComp(f,h,m);f=r.showExcludedValues?R.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,valueComp:g}):g}return f},extractInputExpression:R.extractInputExpression,initModifier:function(e){R.initModifier(e,H)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(F(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(F(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(F(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(F(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=j(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=j(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(F(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(z))return!1;var i=j(t,e);return i&&!i.disabled}}}};var B="movingAverage";function W(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===B)return r[n]}function V(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===B)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var G={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const U={translationKey:"properties.modifier.movingAverage",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,i=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!n)return r;var u=a;void 0===u&&(u=R.getNumDimensions({properties:o,layout:i}));var c=l(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=R.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:s,treatMissingAsNull:d}),f=R.getNumStepComp(n,u),h=R.getAboveComp(n,u,p,f);if(n.nullSuppression)t=R.getRangeComp("RangeAvg",h);else{var m=R.getRangeComp("RangeSum",h),g=function(e,t){var r=R.getRowNoComp(e,t);if(!R.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(R.needDimension({modifier:n,properties:o,layout:i})){var v=R.getDimComp(c,1),y=R.getDimComp(c,0),x=R.getAggrComp(b,v,y);b=n.showExcludedValues?R.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:s,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:R.extractInputExpression,initModifier:function(e){R.initModifier(e,G)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(V(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(V(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(V(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(V(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=W(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=W(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat(V(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat(V(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(B))return!1;var i=W(t,e);return i&&!i.disabled}}}};var Y="timeSeriesDecomposition";function K(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===Y)return r[n]}function X(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===Y)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var J={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const Z={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?R.generateTSDExpression(r,t,n):t},extractInputExpression:R.extractInputExpression,initModifier:function(e,t){R.initModifier(e,J),""===e.decomposition&&t&&(e.decomposition=R.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(X(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:u.OPTIONS},steps:{refFn:function(t){return"".concat(X(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=K(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=K(t,e);return r&&!r.fullRange}}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(Y))return!1;var i=K(t,e);return i&&!i.disabled}}}};var Q="difference";function ee(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===Q)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var te={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const re={translationKey:"properties.modifier.difference",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:R.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var s=i;void 0===s&&(s=R.getNumDimensions({properties:n,layout:o}));var u=l(n,"qHyperCubeDef.qDimensions",[]),c=R.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=R.getAboveComp(r,s,c),p="".concat(c," - ").concat(d);if(R.needDimension({modifier:r,properties:n,layout:o})){var f=R.getDimComp(u,1),h=R.getDimComp(u,0),m=R.getAggrComp(p,f,h);p=r.showExcludedValues?R.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(te).forEach((function(t){void 0===e[t]&&(e[t]=te[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(ee(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(ee(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(ee(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(Q))return!1;var i=function(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===Q)return r[n]}(t,e);return i&&!i.disabled}}}},ne=0,oe=1,ie=2,ae=0,se=1,le=2;var ue="normalization";function ce(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===ue)return r[n]}function de(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===ue)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function pe(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var fe={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:le,selectionScope:ie};function he(e){return 2===e?"{1}":""}function me(e,t,r){return 1===e?"{$<".concat(R.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function ge(e,t){return 0===e&&t>1||2===e?"Total":""}function be(e,t,r){return 0===e&&t>1?"<".concat(R.getDimDefWithWrapper(r),">"):""}const ve={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:R.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var s=i;void 0===s&&(s=R.getNumDimensions({properties:n,layout:o}));var u=l(n,"qHyperCubeDef.qDimensions",[]),c=R.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=he(t),l=me(t,r,n),u=""===s&&""===l?"":s||l,c=ge(o,i),d=be(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=R.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,s,r.primaryDimension)},initModifier:function(e){Object.keys(fe).forEach((function(t){void 0===e[t]&&(e[t]=fe[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(de(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:ie,options:function(r){return function(e,t,r){var n=[{value:ne,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:oe,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:ie,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=pe(t,0);t.splice(r,1)}return t}(ce(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(de(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return ce(t,e).selectionScope===oe}},value:{refFn:function(t){return"".concat(de(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return ce(t,e).selectionScope===oe}},dimensionalScope:{refFn:function(t){return"".concat(de(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:le,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:ae,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:se,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:le,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=pe(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=pe(t,1);t.splice(r,1)}return t}(ce(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(de(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return(ce(t,e).dimensionalScope||0)===ae&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(ue))return!1;var i=ce(t,e);return i&&!i.disabled}}},getDisregardSelectionComp:he,getFieldSelectionComp:me,getTotalComp:ge,getSelectedDimComp:be};var ye="library id deleted",xe="qDef.qDef",Se="qDef.base.qDef",Ce="qLibraryId",Ee="qDef.base.qLibraryId",we="qDef.qLabel",Re="qDef.qLabelExpression",Ae="qDef.base.qLabel",Pe="qDef.base.qLabelExpression",ke="qDef.qAggrFunc",Ie="qDef.base.qAggrFunc",Me="qDef.base";const Le={getExpression:function(e){var t=l(e,Se);return void 0!==t?t:l(e,xe)},getExpressionRef:function(e){return void 0!==l(e,Se)?Se:xe},getLibraryIdRef:function(e){return l(e,Ee)?Ee:Ce},getLibraryId:function(e){return l(e,Ee)||l(e,Ce)},getLabelRef:function(e){return l(e,Me)?Ae:we},getLabelExpressionRef:function(e){return l(e,Me)?Pe:Re}};var De={initBase:function(e,t){(t||De.isValid(e))&&(s(e,Se,l(e,xe)),s(e,Ee,l(e,Ce)),s(e,Ae,l(e,we)),s(e,Pe,l(e,Re)))},restoreBase:function(e){De.isValid(e)&&(s(e,xe,l(e,Se)),s(e,Ce,l(e,Ee)),s(e,we,l(e,Ae)),s(e,Re,l(e,Pe)),l(e,ke)&&l(e,Ie)&&s(e,ke,l(e,Ie)),delete e.qDef.base)},isValid:function(e){var t=l(e,Se),r=l(e,Ee);return void 0!==t||void 0!==r}};const Te=De;function _e(e){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(e)}var Oe={accumulation:$,movingAverage:U,difference:re,normalization:ve,timeSeriesDecomposition:Z};const qe={modifiers:Oe,apply:ze,applyModifiers:je,cleanUpMeasure:Fe,destroy:function(e){e&&Ne[e.id]&&Ne[e.id].masterItemSubscriber&&(Ne[e.id].masterItemSubscriber&&Ne[e.id].masterItemSubscriber.unsubscribe(),delete Ne[e.id])},hasActiveModifiers:He,getActiveModifier:$e,initBase:Te.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Oe[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Oe[e]&&Oe[e].isApplicable({properties:r,layout:n})}))},measureBase:Le,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Ve(e);Ze({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||nt({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:Be};var Ne={};function ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.properties,n=e.isSnapshot,o=void 0!==n&&n,i=e.masterItem,s=!1;Ne[t.id]=Ne[t.id]||{isFirstTime:!0};var u=Ne[t.id].isFirstTime;if(Ne[t.id].isFirstTime=!1,r&&"object"===_e(r))return je({model:t,properties:r});var c=t?t.layout:void 0,d=l(c,"qSelectionInfo.qInSelections");if(o||d)return Promise.resolve(s);var p=l(c,"qHyperCube.qMeasureInfo"),f=Ne[t.id].lastReloadTime;if(Ne[t.id].lastReloadTime=l(t,"app.layout.qLastReloadTime"),He({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return l(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Je({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:t,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Ze({modifiers:Ve(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:i,isFirstTime:u})?t.getEffectiveProperties().then((function(e){var r=a()(!0,{},e);Ue(r);var n=ot(r);return Qe({model:t}).then((function(o){return et({libraryIds:n,model:t}).then((function(n){return h&&function(e){var t=e.properties;We(t).forEach((function(e){return function(e){var t=e.measure;if(Je({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===_e(e)&&!e.disabled){if(r++,"object"!==_e(Oe[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Oe[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&Ke(t)&&R.simplifyExpression(t.qDef.base.qDef)!==R.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:r}),je({model:t,oldProperties:e,properties:r,runUpdateIfChange:!0,masterItem:i,libraryItemsProps:n,dimensionAndFieldList:o})}))})).catch((function(){return Promise.resolve(s)}))})):Promise.resolve(s)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===_e(e.base)}))}(p)?t.getEffectiveProperties().then((function(e){return function(e){var t=e.model,r=e.properties,n=ot(r);return it({model:t,libraryIds:n}).then((function(){var e=a()(!0,{},r);return We(r).forEach((function(e){return Fe(e)})),rt({oldProperties:e,newProperties:r,model:t})}))}({model:t,properties:e})})):Promise.resolve(s)}function je(e){var t=e.model,r=e.oldProperties,n=e.properties,o=e.measures,i=e.runUpdateIfChange,s=void 0!==i&&i,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===r&&(r=s?a()(!0,{},n):n),Ue(n);var p=ot(n);return it({model:t,libraryIds:p,masterItem:u}).then((function(){return function(e){var t=e.measures,r=e.properties,n=e.model,o=e.libraryItemsProps,i=e.dimensionAndFieldList;if(t||(t=We(r)),!t.length)return Promise.resolve();if(!o&&!He({measures:t,properties:r}))return t.forEach((function(e){return Fe(e)})),Promise.resolve();var s=o?void 0:ot(r);return Qe({model:n,dimensionAndFieldList:i}).then((function(e){return et({libraryIds:s,model:n,libraryItemsProps:o}).then((function(n){t.forEach((function(t){var o=t.qDef.modifiers;n&&Ze({modifiers:o,properties:r})?(function(e){var t=e.measure,r=e.properties,n=e.libraryItemsProps,o=e.dimensionAndFieldList,i=0;Te.isValid(t)||Te.initBase(t,!0);var s=t.qDef,u=s.modifiers,c=s.base;Array.isArray(u)&&u.forEach((function(e){if("object"===_e(e)&&!e.disabled){if(i++,"object"!==_e(Oe[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(i>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Oe[e.type].initModifier(e,t);var s=t.qLibraryId||c&&c.qLibraryId;s?function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList,i=e.libraryItemsProps[e.libraryId],s=i.qMeasure.qDef,l=""===s?s:Oe[r.type].generateExpression({expression:s,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=l,t.qDef.qDef=r.outputExpression,(t.qDef.qLabel||i.qMeasure.qLabel)&&(t.qDef.qLabel=i.qMeasure.qLabel),(t.qDef.qLabelExpression||i.qMeasure.qLabelExpression)&&(t.qDef.qLabelExpression=i.qMeasure.qLabelExpression),t.qDef.quarantine&&t.qDef.quarantine.qNumFormat&&i.qMeasure.qNumFormat&&(t.qDef.qNumFormat=i.qMeasure.qNumFormat,t.qDef.isCustomFormatted=i.qMeasure.isCustomFormatted),delete t.qLibraryId,t.qDef.coloring=i.qMeasure.coloring,r.base=a()(!0,{},t.qDef.base)}({measure:t,modifier:e,libraryId:s,properties:r,libraryItemsProps:n,dimensionAndFieldList:o}):function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList;"function"==typeof Oe[r.type].updateModifier&&Oe[r.type].updateModifier(r,n.qHyperCubeDef);var i=Le.getExpression(t),s=""===i?i:Oe[r.type].generateExpression({expression:i,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=s,t.qDef.qDef=r.outputExpression,t.qDef.base.qLabelExpression?t.qDef.qLabelExpression=t.qDef.base.qLabelExpression:t.qDef.qLabel=t.qDef.base.qLabel||i,r.base=a()(!0,{},t.qDef.base)}({measure:t,modifier:e,properties:r,dimensionAndFieldList:o}),function(e){var t=l(e,"qDef.qAggrFunc");"Expr"!==t||Be(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&Be(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(t)}}))}({measure:t,properties:r,libraryItemsProps:n,dimensionAndFieldList:e}),Ye(t)):Fe(t)}))}))}))}({measures:o,properties:n,model:t,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return s?rt({oldProperties:r,newProperties:n,model:t}):Promise.resolve(!1)}))})).catch((function(){return Promise.resolve(!1)}))}function Fe(e){!function(e){var t=Ve(e);return Array.isArray(t)&&t.some((function(e){return"object"===_e(e)&&!e.disabled&&!Oe[e.type]}))}(e)?Te.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Ye(e)}function He(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ze({modifiers:Ve(e),properties:r,layout:n})}))}function $e(e){var t=Ve(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Oe[n.type]&&!n.disabled)return n}}function Be(e){var t=$e(e);return!t||Oe[t.type].enableTotalsFunction(e)}function We(e){return l(e,"qHyperCubeDef.qMeasures",[]).concat(l(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Ve(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function Ge(e){return l(e,"outputExpression.qValueExpression.qExpr")||l(e,"outputExpression")}function Ue(e){We(e).forEach((function(e){return function(e){var t=$e(e);t&&(void 0!==t.outputExpression&&Ge(t)!==e.qDef.qDef?delete e.qDef.base:!Te.isValid(e)&&t.base&&(e.qDef.base=a()(!0,{},t.base)))}(e)}))}function Ye(e){var t=Ve(e);Array.isArray(t)&&t.forEach((function(t){"object"===_e(t)&&(t.disabled||!Oe[t.type]&&Ge(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function Ke(e){return e.base||e.qDef&&e.qDef.base}function Xe(e){var t=Ke(e);return e.qLibraryId||t&&t.qLibraryId}function Je(e){var t=e.measure,r=e.properties,n=e.layout;return!Xe(t)&&Ze({modifiers:Ve(t),properties:r,layout:n})}function Ze(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==_e(e)||e.disabled||!Oe[e.type])&&(void 0===o[e.type]&&(o[e.type]=Oe[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Qe(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function et(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a})).catch((function(){return null}))}function tt(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function rt(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(l(t,"qHyperCubeDef.qMeasures"),tt)!==JSON.stringify(l(r,"qHyperCubeDef.qMeasures"),tt)||JSON.stringify(l(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),tt)!==JSON.stringify(l(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),tt);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&l(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):N(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function nt(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===_e(e)&&!e.disabled&&Oe[e.type]&&Oe[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function ot(e){var t=We(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Ve(t);if(Ze({modifiers:n,properties:e})){var i=Xe(t);i&&r.push(i),o=o||nt({modifiers:n,properties:e})}})),l(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function it(e){var t=e.model,r=e.libraryIds,n=e.masterItem;return!n&&n!==ye&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(Ne[t.id].masterItemSubscriber=Ne[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},i={},a={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function s(e){var t={},r=l(e,"qInfo.qType");return r&&a[r]&&a[r].forEach((function(r){t[r]=l(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=s(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(){Object.keys(n).forEach((function(e){o[e]||i[e]||(n[e].listener.dispose(),n[e].unbindCloseListnener(),delete n[e])}))}var d=function(e,t){return e.once("closed",t),function(){return e.removeListener("closed",t)}};function p(e,o){return t.app[o](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),unbindCloseListnener:d(t,(function(){return e=t.id,r(ye),delete n[e],void c();var e})),enabled:!1,properties:s(t.layout)}})).catch((function(){}))}return{subscribe:function(e){var r=e.measureLibraryIds,a=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),i={},t.forEach((function(e){i[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:a}),c(),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(p(e,"getMeasure"))})),Object.keys(i).forEach((function(e){i[e]&&!n[e]&&s.push(p(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose(),n[e].unbindCloseListnener()})),n={}}}}({model:t,callback:function(e){return ze({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),Ne[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}e.default=o.default,Object.defineProperty(e,"__esModule",{value:!0})})()}(AE);var PE=wt(AE);const kE={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},IE={textAlignAuto:{ref:"qDef.textAlign.auto",type:"boolean",component:"switch",translation:"Common.Text.TextAlignment",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},textAlign:{ref:"qDef.textAlign.align",type:"string",component:"item-selection-list",horizontal:!0,items:[{component:"icon-item",icon:"align_left",labelPlacement:"bottom",value:"left",translation:"properties.dock.left"},{component:"icon-item",icon:"align_center",labelPlacement:"bottom",value:"center",translation:"Common.Center"},{component:"icon-item",icon:"align_right",labelPlacement:"bottom",value:"right",translation:"properties.dock.right"}],defaultValue:"left",show:e=>void 0!==e.qDef.textAlign&&!e.qDef.textAlign.auto}},ME=e=>({type:"items",grouped:!0,items:{totalsAggrGroup:{type:"items",items:{totalsAggrFunc:{type:"string",component:"dropdown",ref:"qDef.qAggrFunc",translation:"Object.Table.AggrFunc",options:(e,t)=>(!PE.hasActiveModifiers({measures:[e],properties:t.properties})||PE.ifEnableTotalsFunction(e)?[{value:"Expr",translation:"Common.Auto"}]:[]).concat([{value:"Avg",translation:"Object.Table.AggrFunc.Avg"},{value:"Count",translation:"Object.Table.AggrFunc.Count"},{value:"Max",translation:"Object.Table.AggrFunc.Max"},{value:"Min",translation:"Object.Table.AggrFunc.Min"},{value:"Sum",translation:"Object.Table.AggrFunc.Sum"},{value:"None",translation:"Object.Table.AggrFunc.None"}]),defaultValue:e.anything.sense?.isUnsupportedFeature?.("totals")?"None":"Expr"}}}},show:!e.anything.sense?.isUnsupportedFeature?.("totals")}),LE={type:{type:"string",component:"dropdown",ref:"qDef.columnWidth.type",translation:"Object.Table.Column.Width",options:[{value:SS.Auto,translation:"Common.Auto"},{value:SS.FitToContent,translation:"Object.Table.Column.FitToContent"},{value:SS.Pixels,translation:"Object.Table.Column.Pixels"},{value:SS.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:SS.Auto},sizePixels:{ref:"qDef.columnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",component:"expression",expressionType:"ValueExpression",expression:"optional",defaultValue:"200",show:e=>e.qDef.columnWidth?.type===SS.Pixels},sizePercentage:{ref:"qDef.columnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:"20",show:e=>e.qDef.columnWidth?.type===SS.Percentage}},DE=()=>({...kE,visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},tid:"visibilityCondition",isExpression:e=>"string"==typeof e&&e.trim().length>0},tableCellStyling:{component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:"cellBackgroundColor",tid:"tableColorBgByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"cellForegroundColor",tid:"tableColorByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.TextStyleExpression",defaultValue:"",id:"textStyleExpression",tid:"tableTextStyleByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"urlLabel",tid:"URLLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"url",tid:"URLByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageLabel",tid:"ImageLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageUrl",tid:"ImageUrlByExpression",show:!1}]},...IE,...LE}),TE={libraryId:{type:"string",component:"library-item",libraryItemType:"dimension",ref:"qLibraryId",translation:"Common.Dimension",show:e=>e.qLibraryId},inlineDimension:{component:"inline-dimension",show:e=>!e.qLibraryId},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},createMasterItemButton:{},divider:{uses:"divider"},dimensionLimits:{uses:"dimensions.items.dimensionLimits"},showOthers:{uses:"dimensions.items.others"}},_E=e=>{const t=e.anything.sense?.isUnsupportedFeature?.("modifiers");return{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>t?!!e.qLibraryId:!(!e.qLibraryId&&!e.qDef.base?.qLibraryId)},inlineMeasure:{component:"inline-measure",show:e=>t?!e.qLibraryId:!(e.qLibraryId||e.qDef.base?.qLibraryId)},numberFormatting:{uses:"measures.items.numberFormatting"},createMasterItemButton:{},divider:{uses:"divider"},totalsAggr:ME(e)}},OE=e=>({dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",items:{field:{type:"items",translation:"Common.Field",items:TE},presentation:{type:"items",translation:"properties.presentation",items:{...DE(),...wE(e)}}}}}),qE=e=>({measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",items:{field:{type:"items",translation:"Common.Field",items:_E(e)},presentation:{type:"items",translation:"properties.presentation",items:{...DE(),...RE(e,{[yE.Image]:e.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[yE.Indicator]:!0,[yE.MiniChart]:!0})}}}}}),NE=e=>({...OE(e),...qE(e)}),zE=e=>({type:"items",translation:"Common.Data",component:"tabs-component",items:{columns:{component:"data-assets-panel",ref:"columns",tabName:"properties.DataAssetPanel.Columns",items:{...NE(e)},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")},filters:{type:"items",component:"filters-assets-panel",ref:"filters",tabName:"SimpleProperties.Filters.Filters",items:{filter:{type:"object",component:"filter-item-react",ref:"filter"}},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")}}}),jE={chartExploration:{type:"items",translation:"properties.chartExploration",items:{chartExplorationToggler:{type:"items",component:"chart-exploration-toggler",translation:"properties.enableChartExploration",ref:"enableChartExploration"},visibilityToggler:{show:e=>e.enableChartExploration,component:"buttongroup",translation:"properties.ChartExploration.VisibilityOption",ref:"chartExploration.menuVisibility",options:[{value:"auto",translation:"Common.Auto"},{value:"minimized",translation:"properties.ChartExploration.Minimized"}]}},show:e=>!e.insideContainer}},FE=e=>({type:"items",items:[{ref:"totals.show",type:"boolean",translation:"properties.totals",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},{ref:"totals.position",translation:"Common.Position",type:"string",component:"dropdown",options:[{value:"noTotals",translation:"Common.None"},{value:"top",translation:"Common.Top"},{value:"bottom",translation:"Common.Bottom"}],defaultValue:"noTotals",show:e=>!e.totals?.show},{ref:"totals.label",translation:"properties.totals.label",type:"string",expression:"optional",defaultValue:()=>e.translator.get("Object.Table.Totals")}],show:!e.anything.sense?.isUnsupportedFeature?.("totals")}),HE=(e,t,r,n)=>({ref:e,translation:t,dualOutput:!0,type:"object",component:"color-picker",width:"auto",disableNone:n??!1,defaultValue(e,t,o){const i=n?.(e,t,o)??!1,a=o.theme.current(),s=r(a,i);return{color:"transparent"===s?"none":s}}}),$E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{value:e,label:t?(r=e,r.charAt(0).toUpperCase()+r.slice(1)):e,groupHeader:!1,disabled:!1,styles:t?{fontFamily:e}:void 0};var r},BE=e=>{let{ref:t,themeAccessor:r,translator:n,flags:o}=e;return{component:"dropdown",ref:t,options:(e,t,i)=>{const a=i.theme.current();return((e,t,r,n)=>{const o=t.fontFamily??"Source Sans Pro, sans-serif",i=t.fontFamilies??[],a=Array.from(new Set([e,o,...i])),s=[{value:"ThemeHeader",label:r.get("properties.themeFonts"),metaText:r.get("properties.theme"),groupHeader:!0},...a.sort().map((e=>$E(e,!0)))],l=[{value:"DefaultHeader",label:r.get("properties.allFonts"),metaText:r.get("properties.default"),groupHeader:!0},...se(n).filter((e=>!a.includes(e))).map((e=>$E(e,!0)))];return[...s,...l.length>1?l:[]]})(r(a),a,n,o)},defaultValue:(e,t,n)=>r(n.theme.current())}},WE=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],VE=e=>{let{ref:t,themeAccessor:r,translator:n}=e;return{component:"dropdown",ref:t,options:(e,t,o)=>{const i=o.theme.current();return((e,t,r)=>{const n=t.fontSize,o=t.fontSizes??[],i=Array.from(new Set([e,n,...o])),a=[{value:"ThemeHeader",label:r.get("properties.themeFontSizes"),metaText:r.get("properties.theme"),groupHeader:!0},...i.sort(((e,t)=>parseInt(e,10)-parseInt(t,10))).map((e=>$E(e,!1)))],s=[{value:"DefaultHeader",label:r.get("properties.allFontSizes"),metaText:r.get("properties.default"),groupHeader:!0},...WE.filter((e=>!i.includes(e))).map((e=>$E(e,!1)))];return[...a,...s.length>1?s:[]]})(r(i),i,n)},defaultValue:(e,t,n)=>r(n.theme.current())}},GE=e=>{let{section:t,defaultFontStyle:r,translator:n,flags:o,getThemeValue:i,translation:a,disableNoneCallback:s}=e;return{component:"panel-section",translation:a??`properties.pivot.${t}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontFamily:BE({ref:`${t}.fontFamily`,themeAccessor:e=>i(e,t,"fontFamily")??e.fontFamily,translator:n,flags:o}),fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",width:!1,ref:`${t}.fontStyle`,defaultValue:r??[]},fontSize:VE({ref:`${t}.fontSize`,themeAccessor:e=>i(e,t,"fontSize")??e.fontSize,translator:n}),fontColor:HE(`${t}.fontColor`,void 0,(e=>i(e,t,"color")??e.color))}},background:HE(`${t}.background`,"properties.background",((e,r)=>{const n=r?Fx.WHITE:Fx.TRANSPARENT;return i(e,t,"backgroundColor")??n}),s)}}}}},UE=e=>{let{section:t,defaultFontStyle:r,fallbackBackground:n,getThemeValue:o}=e;return{component:"panel-section",translation:`properties.pivot.${t}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",fullWidth:!0,ref:`${t}.fontStyle`,defaultValue:r??[]},fontColor:HE(`${t}.fontColor`,void 0,(e=>o(e,t,"color")??e.color))}},background:HE(`${t}.background`,"properties.background",(e=>o(e,t,"backgroundColor")??n??"transparent"))}}}}},YE=(e,t,r)=>{switch(t){case"header":return e.object?.straightTableV2?.dimension?.label?.name?.[r];case"dimensionValues":return e.object?.straightTableV2?.dimension?.label?.value?.[r];case"measureValues":return e.object?.straightTableV2?.measure?.label?.value?.[r];case"totalValues":return e.object?.straightTableV2?.total?.label?.value?.[r];case"nullValues":return e.object?.straightTableV2?.null?.label?.value?.[r];default:return}},KE=e=>e.grid?.zebraStripes?.show,XE={ref:"content.rowHeight",component:"integer",placeholder:1,maxlength:4,translation:"ThemeStyleEditor.style.rowHeight",change(e){null!=e?.content?.rowHeight&&""!==e.content.rowHeight?e.content.rowHeight=Math.max(1,Math.min(50,Math.floor(e.content.rowHeight))):void 0!==e?.content&&(e.content.rowHeight=void 0)}},JE=e=>({translation:"properties.pivot.grid",component:"panel-section",items:{gridItems:{component:"items",ref:"components",key:"theme",items:{rowHeight:{show:()=>e.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),...XE},border:HE("grid.border","properties.border",(e=>e.object?.straightTableV2?.grid?.borderColor??Fx.BORDER_MEDIUM)),divider:HE("grid.divider","properties.pivot.divider",(e=>e.object?.straightTableV2?.grid?.divider?.borderColor??Fx.BORDER_HEAVY))}}}}),ZE=e=>e?.content?.hoverEffect,QE={translation:"properties.RowHover",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{hoverEffectSwitch:{ref:"content.hoverEffect",translation:"ThemeStyleEditor.style.hoverEffect",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},hoverEffectColorItem:{show:ZE,ref:"content.hoverColor",translation:"ThemeStyleEditor.style.hoverStyle",type:"object",component:"color-picker",dualOutput:!0},hoverEffectFontColorItem:{show:ZE,ref:"content.hoverFontColor",translation:"ThemeStyleEditor.style.hoverFontStyle",type:"object",component:"color-picker",dualOutput:!0}}}}},ew=(e,t,r)=>{let{properties:n}=r;return"sn-table"===n.visualization&&!0===n.usePagination},tw=e=>{let{flags:t,translator:r}=e;return{type:"items",items:[{component:"styling-panel",chartTitle:"Object.StraightTable",subtitle:"LayerStyleEditor.component.styling",translation:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0,defaultValue:[],items:{headerSection:GE({section:"header",defaultFontStyle:["bold"],translator:r,flags:t,getThemeValue:YE,disableNoneCallback:ew}),dimensionValueSection:GE({section:"dimensionValues",translator:r,flags:t,getThemeValue:YE}),measureValueSection:GE({section:"measureValues",translator:r,flags:t,getThemeValue:YE}),totalRowSection:GE({section:"totalValues",defaultFontStyle:["bold"],translation:"properties.totals",translator:r,flags:t,getThemeValue:YE,disableNoneCallback:ew}),nullValues:UE({section:"nullValues",fallbackBackground:Fx.NULL_VALUE_BACKGROUND,getThemeValue:YE}),grid:JE(t),hoverEffectSection:QE,zebraStripes:{translation:"properties.zebraStripes",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{zebraStripesEnable:{ref:"grid.zebraStripes.show",translation:"properties.zebraStripes.enable",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},zebraStripesColorOdd:{show:KE,ref:"grid.zebraStripes.color.odd",translation:"properties.zebraStripes.color.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundrOdd:{show:KE,ref:"grid.zebraStripes.background.odd",translation:"properties.zebraStripes.background.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1},zebraStripesColorEven:{show:KE,ref:"grid.zebraStripes.color.even",translation:"properties.zebraStripes.color.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundEven:{show:KE,ref:"grid.zebraStripes.background.even",translation:"properties.zebraStripes.background.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1}}}}}}}]}},rw=e=>({uses:"settings",items:{presentation:{grouped:!0,type:"items",translation:"properties.presentation",items:[tw(e),FE(e),{ref:"usePagination",translation:"properties.usePagination",type:"boolean",component:"checkbox",defaultValue:!1},{type:"items",translation:"Object.Table.WrapText",items:[{component:"text",translation:"Object.Table.Multiline"},{ref:"multiline.wrapTextInHeaders",type:"boolean",translation:"Object.Table.Multiline.WrapTextInHeaders",component:"checkbox",defaultValue:!0},{ref:"multiline.wrapTextInCells",type:"boolean",translation:"Object.Table.Multiline.WrapTextInCells",component:"checkbox",defaultValue:!0}]},{ref:"hideHeader",translation:"properties.hideHeader",type:"boolean",component:"checkbox",defaultValue:!1},{ref:"nullValueRepresentation.text",type:"string",translation:"properties.pivot.nullValueText",defaultValue:"-"}]},...jE}}),nw={uses:"sorting"},ow={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}},iw=e=>({type:"items",component:"accordion",items:{data:zE(e),sorting:nw,addOns:ow,settings:rw(e)}});function aw(e){return{definition:iw(e),exploration:fE,data:vE(e),support:{export:!0,exportData:!0,snapshot:!0,viewData:!1,exploration:!0,cssScaling:!0,modifiers:e.anything.sense?.isUnsupportedFeature?.("modifiers")?void 0:["accumulation","movingAverage","difference","normalization"]},importProperties(e,t,r,n,o){const i={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()};return pE({exportFormat:e,initialProperties:t,extension:r,hypercubePath:n,defaultPropertyValues:i,viewDataMode:o})},exportProperties:(e,t)=>aE({propertyTree:e,hyperCubePath:t})}}const sw=(e,r)=>t((()=>((e,t)=>(r,n)=>{let{isDim:o,colIdx:i}=n;const a=o?i:i-e.qDimensionInfo.length,s=`/qHyperCubeDef/${o?"qDimensions":"qMeasures"}/${a}/qDef/columnWidth`,l=e[o?"qDimensionInfo":"qMeasureInfo"].at(a)?.columnWidth,u=l?{qPath:s,qOp:"Replace",qValue:JSON.stringify({...l,...r})}:{qPath:s,qOp:"Add",qValue:JSON.stringify(r)};t?.applyPatches([u],!0)})(e,r)),[e,r]),lw=e=>-1===e?{}:e.qAttrExprInfo.reduce(((e,t,r)=>{let{id:n}=t;return e[n]=r,e}),{}),uw=[];for(let e=0;e<256;++e)uw.push((e+256).toString(16).slice(1));let cw;const dw=new Uint8Array(16);var pw={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function fw(e,t,r){const n=(e=e||{}).random??e.rng?.()??function(){if(!cw){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");cw=crypto.getRandomValues.bind(crypto)}return cw(dw)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=15&n[6]|64,n[8]=63&n[8]|128,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(uw[e[t+0]]+uw[e[t+1]]+uw[e[t+2]]+uw[e[t+3]]+"-"+uw[e[t+4]]+uw[e[t+5]]+"-"+uw[e[t+6]]+uw[e[t+7]]+"-"+uw[e[t+8]]+uw[e[t+9]]+"-"+uw[e[t+10]]+uw[e[t+11]]+uw[e[t+12]]+uw[e[t+13]]+uw[e[t+14]]+uw[e[t+15]]).toLowerCase()}(n)}const hw=()=>{return crypto?.randomUUID?.()??(pw.randomUUID&&!e?pw.randomUUID():fw(e));var e},mw=e=>{let{qLibraryId:t,cId:r}=e;return t??r??hw()},gw=e=>"number"==typeof e&&!Number.isNaN(+e),bw=e=>gw(e.qNum),vw=e=>"string"==typeof e&&e.length>0&&!Number.isNaN(+e);function yw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function xw(e,t,r){return t=ww(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Aw()?Reflect.construct(t,r||[],ww(e).constructor):t.apply(e,r))}function Sw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Iw(n.key),n)}}function Ew(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ww(e){return ww=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ww(e)}function Rw(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pw(e,t)}function Aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Aw=function(){return!!e})()}function Pw(e,t){return Pw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pw(e,t)}function kw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yw(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Iw(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function Mw(e){return Mw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mw(e)}var Lw={fromSearchString:function(e){if(!e)return[];"?"===e[0]&&(e=e.substr(1));var t=[];return e.split("&").forEach((function(e){if(e){var r,n=e.indexOf("="),o="",i=!1;-1===n?r=e:(r=e.slice(0,n),o=e.slice(n+1),i=!0),t.push(function(e,t,r){return{key:Dw(e),value:Dw(t),useEqualSign:r}}(r,o,i))}})),t}};function Dw(e){try{return decodeURIComponent(e)}catch(t){return e}}function Tw(e){if(!(this instanceof Tw))throw new Error("Url needs to be called with the new keyword");if(!e)throw new Error("Url needs a string to operate on");var t=function(e){var t={authorityAndPath:"",search:"",hash:""},r=e.indexOf("#");-1!==r&&(t.hash=e.substr(r),e=e.substr(0,r));r=e.indexOf("?"),-1!==r&&(t.search=e.substr(r),e=e.substr(0,r));return t.authorityAndPath=e,t}(e);Object.defineProperties(this,{authorityAndPath:{value:t.authorityAndPath},search:{value:t.search},hash:{value:t.hash},searchParams:{get:function(){return Lw.fromSearchString(t.search)}}})}function _w(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}Tw.encodeAuthorityAndPath=function(e){return encodeURI(e).replace(/%5B/gi,"[").replace(/%5D/gi,"]").replace(/%25/gi,"%")},Tw.encodeSearchParams=function(e){for(var t,r="",n=0;n<e.length;n++)r+=0===n?"?":"&",r+=_w((t=e[n]).key),t.value?r+="=".concat(_w(t.value)):r+=t.useEqualSign?"=":"";return r};var Ow,qw=function(){return Ew((function e(t){Sw(this,e),this._input=t,this._pushback=null,this._temp=null,this._index=0,this._mark=0}),[{key:"_hasNext",value:function(){return null!=this._input&&(0!==this._input.length&&this._index<this._input.length)}},{key:"pushback",value:function(e){this._pushback=e}},{key:"index",value:function(){return this._index}},{key:"hasNext",value:function(){return null!=this._pushback||this._hasNext()}},{key:"next",value:function(){if(null!=this._pushback){var e=this._pushback;return this._pushback=null,e}return this._hasNext()?this._input.charAt(this._index++):null}},{key:"nextHex",value:function(){var e=this.next();return null==e?null:e.match(/[0-9A-Fa-f]/)?e:null}},{key:"peek",value:function(e){return e?!(!this._pushback||this._pushback!==e)||!!this._hasNext()&&this._input.charAt(this._index)===e:this._pushback?this._pushback:this._hasNext()?this._input.charAt(this._index):null}},{key:"mark",value:function(){this._temp=this._pushback,this._mark=this._index}},{key:"reset",value:function(){this._pushback=this._temp,this._index=this._mark}},{key:"remainder",value:function(){var e=this._input.substr(this._index);return null!=this._pushback&&(e=this._pushback+e),e}}])}(),Nw=function(){return Ew((function e(){Sw(this,e)}),[{key:"decode",value:function(e){for(var t,r="",n=new qw(e);n.hasNext();)r+=null!=(t=this.decodeCharacter(n))?t:n.next();return r}},{key:"decodeCharacter",value:function(e){return e.next()}}])}(),zw=function(e){return e>=0&&e<=1114111},jw=function(e){return e.match(/[\s]/)},Fw=function(e){function t(){return Sw(this,t),xw(this,t,arguments)}return Rw(t,e),Ew(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o=e.next();if(null==o||"\\"!==o)return e.reset(),null;var i=e.next();if(null==i)return e.reset(),null;switch(i){case"\r":e.peek("\n")&&e.next();case"\n":case"\f":case"\0":return this.decodeCharacter(e)}if("NaN"===parseInt(i,16))return i;for(t=i,r=0;r<5&&(null!=(n=e.next())&&!jw(n));r++){if("NaN"===parseInt(n,16)){e.pushback(n);break}t+=n}var a=parseInt(t,16);return zw(a)?String.fromCharCode(a):"�"}}])}(Nw),Hw=function(){function e(t,r){Sw(this,e),this._key=t,this._value=r}return Ew(e,[{key:"getKey",value:function(){return this._key}},{key:"getValue",value:function(){return this._value}},{key:"equals",value:function(t){return t instanceof e&&(this._key===t._key&&this._value===t._value)}}],[{key:"newInstanceIfNeeded",value:function(){var t,r,n=arguments[0];return"string"==typeof arguments[1]?(t=arguments[1],r=n.length):(r=arguments[1],t=arguments[2]),t&&n?(n.length>r&&(n=n.substr(0,r)),new e(n,t)):null}}])}(),$w=function(){function e(){Sw(this,e)}return Ew(e,[{key:"setValue",value:function(e){this._nextMap=null,this._value=e}},{key:"getNextNode",value:function(e){return this._nextMap?this._nextMap[e]:null}},{key:"put",value:function(t,r,n){var o,i;if(t.length===r)return i=this._value,this.setValue(n),i;var a=t.charAt(r);return this._nextMap?(o=this._nextMap[a])||(o=new e,this._nextMap[a]=o):(this._nextMap={},o=new e,this._nextMap[a]=o),o.put(t,r+1,n)}},{key:"get",value:function(e,t){if(e.length<=t)return this._value;var r=this.getNextNode(e.charAt(t));return r?r.get(e,t+1):null}},{key:"getLongestMatch",value:function(e,t){if(e.length<=t)return Hw.newInstanceIfNeeded(e,this._value);var r=this.getNextNode(e.charAt(t));if(!r)return Hw.newInstanceIfNeeded(e,t,this._value);var n=r.getLongestMatch(e,t+1);return n||Hw.newInstanceIfNeeded(e,t,this._value)}}])}(),Bw=function(){return Ew((function e(){Sw(this,e),this.clear()}),[{key:"getLongestMatch",value:function(e){return this.root&&e?this.root.getLongestMatch(e,0):null}},{key:"getMaxKeyLength",value:function(){return this.maxKeyLen}},{key:"clear",value:function(){this.root=null,this.maxKeyLen=0,this.size=0}},{key:"put",value:function(e,t){this.root||(this.root=new $w);var r=this.root.put(e,0,t);return r||(e.length>this.maxKeyLen&&(this.maxKeyLen=e.length),this.size++,null)}}])}(),Ww=function(){var e,t,r,n=[],o=[],i=new Bw;for(e in n["""]="34",n["&"]="38",n["<"]="60",n[">"]="62",n[" "]="160",n["¡"]="161",n["¢"]="162",n["£"]="163",n["¤"]="164",n["¥"]="165",n["¦"]="166",n["§"]="167",n["¨"]="168",n["©"]="169",n["ª"]="170",n["«"]="171",n["¬"]="172",n["­"]="173",n["®"]="174",n["¯"]="175",n["°"]="176",n["±"]="177",n["²"]="178",n["³"]="179",n["´"]="180",n["µ"]="181",n["¶"]="182",n["·"]="183",n["¸"]="184",n["¹"]="185",n["º"]="186",n["»"]="187",n["¼"]="188",n["½"]="189",n["¾"]="190",n["¿"]="191",n["À"]="192",n["Á"]="193",n["Â"]="194",n["Ã"]="195",n["Ä"]="196",n["Å"]="197",n["Æ"]="198",n["Ç"]="199",n["È"]="200",n["É"]="201",n["Ê"]="202",n["Ë"]="203",n["Ì"]="204",n["Í"]="205",n["Î"]="206",n["Ï"]="207",n["Ð"]="208",n["Ñ"]="209",n["Ò"]="210",n["Ó"]="211",n["Ô"]="212",n["Õ"]="213",n["Ö"]="214",n["×"]="215",n["Ø"]="216",n["Ù"]="217",n["Ú"]="218",n["Û"]="219",n["Ü"]="220",n["Ý"]="221",n["Þ"]="222",n["ß"]="223",n["à"]="224",n["á"]="225",n["â"]="226",n["ã"]="227",n["ä"]="228",n["å"]="229",n["æ"]="230",n["ç"]="231",n["è"]="232",n["é"]="233",n["ê"]="234",n["ë"]="235",n["ì"]="236",n["í"]="237",n["î"]="238",n["ï"]="239",n["ð"]="240",n["ñ"]="241",n["ò"]="242",n["ó"]="243",n["ô"]="244",n["õ"]="245",n["ö"]="246",n["÷"]="247",n["ø"]="248",n["ù"]="249",n["ú"]="250",n["û"]="251",n["ü"]="252",n["ý"]="253",n["þ"]="254",n["ÿ"]="255",n["&OElig"]="338",n["&oelig"]="339",n["&Scaron"]="352",n["&scaron"]="353",n["&Yuml"]="376",n["&fnof"]="402",n["&circ"]="710",n["&tilde"]="732",n["&Alpha"]="913",n["&Beta"]="914",n["&Gamma"]="915",n["&Delta"]="916",n["&Epsilon"]="917",n["&Zeta"]="918",n["&Eta"]="919",n["&Theta"]="920",n["&Iota"]="921",n["&Kappa"]="922",n["&Lambda"]="923",n["&Mu"]="924",n["&Nu"]="925",n["&Xi"]="926",n["&Omicron"]="927",n["&Pi"]="928",n["&Rho"]="929",n["&Sigma"]="931",n["&Tau"]="932",n["&Upsilon"]="933",n["&Phi"]="934",n["&Chi"]="935",n["&Psi"]="936",n["&Omega"]="937",n["&alpha"]="945",n["&beta"]="946",n["&gamma"]="947",n["&delta"]="948",n["&epsilon"]="949",n["&zeta"]="950",n["&eta"]="951",n["&theta"]="952",n["&iota"]="953",n["&kappa"]="954",n["&lambda"]="955",n["&mu"]="956",n["&nu"]="957",n["&xi"]="958",n["&omicron"]="959",n["&pi"]="960",n["&rho"]="961",n["&sigmaf"]="962",n["&sigma"]="963",n["&tau"]="964",n["&upsilon"]="965",n["&phi"]="966",n["&chi"]="967",n["&psi"]="968",n["&omega"]="969",n["&thetasym"]="977",n["&upsih"]="978",n["&piv"]="982",n["&ensp"]="8194",n["&emsp"]="8195",n["&thinsp"]="8201",n["&zwnj"]="8204",n["&zwj"]="8205",n["&lrm"]="8206",n["&rlm"]="8207",n["&ndash"]="8211",n["&mdash"]="8212",n["&lsquo"]="8216",n["&rsquo"]="8217",n["&sbquo"]="8218",n["&ldquo"]="8220",n["&rdquo"]="8221",n["&bdquo"]="8222",n["&dagger"]="8224",n["&Dagger"]="8225",n["&bull"]="8226",n["&hellip"]="8230",n["&permil"]="8240",n["&prime"]="8242",n["&Prime"]="8243",n["&lsaquo"]="8249",n["&rsaquo"]="8250",n["&oline"]="8254",n["&frasl"]="8260",n["&euro"]="8364",n["&image"]="8365",n["&weierp"]="8472",n["&real"]="8476",n["&trade"]="8482",n["&alefsym"]="8501",n["&larr"]="8592",n["&uarr"]="8593",n["&rarr"]="8594",n["&darr"]="8595",n["&harr"]="8596",n["&crarr"]="8629",n["&lArr"]="8656",n["&uArr"]="8657",n["&rArr"]="8658",n["&dArr"]="8659",n["&hArr"]="8660",n["&forall"]="8704",n["&part"]="8706",n["&exist"]="8707",n["&empty"]="8709",n["&nabla"]="8711",n["&isin"]="8712",n["¬in"]="8713",n["&ni"]="8715",n["&prod"]="8719",n["&sum"]="8721",n["&minus"]="8722",n["&lowast"]="8727",n["&radic"]="8730",n["&prop"]="8733",n["&infin"]="8734",n["&ang"]="8736",n["&and"]="8743",n["&or"]="8744",n["&cap"]="8745",n["&cup"]="8746",n["&int"]="8747",n["&there4"]="8756",n["&sim"]="8764",n["&cong"]="8773",n["&asymp"]="8776",n["&ne"]="8800",n["&equiv"]="8801",n["&le"]="8804",n["&ge"]="8805",n["&sub"]="8834",n["&sup"]="8835",n["&nsub"]="8836",n["&sube"]="8838",n["&supe"]="8839",n["&oplus"]="8853",n["&otimes"]="8855",n["&perp"]="8869",n["&sdot"]="8901",n["&lceil"]="8968",n["&rceil"]="8969",n["&lfloor"]="8970",n["&rfloor"]="8971",n["&lang"]="9001",n["&rang"]="9002",n["&loz"]="9674",n["&spades"]="9824",n["&clubs"]="9827",n["&hearts"]="9829",n["&diams"]="9830",n)"function"!=typeof n[e]&&n.hasOwnProperty(e)&&(o[n[e]]=e);for(t in o)"function"!=typeof o[t]&&o.hasOwnProperty(t)&&(r=o[t].toLowerCase().substr(1),i.put(r,String.fromCharCode(t)));return i}(),Vw=function(e){function t(){return Sw(this,t),xw(this,t,arguments)}return Rw(t,e),Ew(t,[{key:"decodeCharacter",value:function(e){var t;e.mark();var r=e.next();if(null==r||"&"!==r)return e.reset(),null;var n=e.next();if(null==n)return e.reset(),null;if("#"===n){if(null!=(t=this._getNumericEntity(e)))return t}else if(n.match(/[A-Za-z]/)&&(e.pushback(n),null!=(t=this._getNamedEntity(e))))return t;return e.reset(),null}},{key:"_getNamedEntity",value:function(e){var t,r,n,o="";for(t=Math.min(e.remainder().length,Ww.getMaxKeyLength()),n=0;n<t;n++)o+=e.next().toLowerCase();var i=Ww.getLongestMatch(o);if(null==i)return null;for(e.reset(),e.next(),t=i.getKey().length,r=0;r<t;r++)e.next();return e.peek(";")&&e.next(),i.getValue()}},{key:"_getNumericEntity",value:function(e){var t=e.peek();return null==t?null:"x"===t||"X"===t?(e.next(),this._parseHex(e)):this._parseNumber(e)}},{key:"_parseHex",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,16))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,16);return!Number.isNaN(+n)&&zw(n)?String.fromCharCode(n):null}},{key:"_parseNumber",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,10))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,10);return!Number.isNaN(+n)&&zw(n)?String.fromCharCode(n):null}}])}(Nw),Gw=function(e){function t(){return Sw(this,t),xw(this,t,arguments)}return Rw(t,e),Ew(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o,i=e.next();if(null==i)return e.reset(),null;if("%"!==i)return e.reset(),null;for(t="",r=0;r<2;r++)null!=(n=e.nextHex())&&(t+=n);return 2===t.length&&(o=parseInt(t,16),zw(o))?String.fromCharCode(o):(e.reset(),null)}}])}(Nw),Uw=/^data:(?<!\s)\s*(image\/[\w+-.]+)(?<!\s)\s*(;.*?){0,1}(?<!\s)\s*,(.*)/i;"undefined"!=typeof document&&(Ow=document.createElement("div"));var Yw=Array.prototype.indexOf,Kw=[",",".","_"," "],Xw=[",",".","-","_"," "],Jw={width:["%"],height:["%"]},Zw={default:["-"," ","%"],color:["#"," ","(",")"],image:["(",")",":","/","?","&","-",".",'"',"="," "]},Qw={background:["(",")",":","%","/","?","&","-"," ",".",'"',"=","#"],"background-image":Zw.image,"background-color":Zw.color,"border-color":Zw.color,"border-image":Zw.image,color:Zw.color,icon:Zw.image,"list-style-image":Zw.image,"outline-color":Zw.color},eR={attr_name:["^on[a-z]{1,}","style","href","src"],attr_val:["javascript:","data:"],css_key:["behavior","-moz-behavior","-ms-behavior"],css_val:["expression"]};function tR(e,t,r){var n;if(t){if(Yw)return Yw.call(t,e,r);for(n=t.length,r=r?r<0?Math.max(0,n+r):r:0;r<n;r++)if(r in t&&t[r]===e)return r}return-1}function rR(e){if(null==e)return"";var t,r=document.createTextNode(e);return Ow.appendChild(r),t=Ow.innerHTML,Ow.removeChild(r),t}function nR(e,t,r){var n,o,i,a,s,l,u,c,d;for(e=iR(e).toLowerCase(),t=iR(t),i=0;i<eR.attr_name.length;i++)if(e.match(eR.attr_name[i]))throw new Error("Unsafe attribute name used: ".concat(e));for(i=0;i<eR.attr_val.length;i++)if(t.toLowerCase().match(eR.attr_val[i]))throw new Error("Unsafe attribute value used: ".concat(t));if((n=Jw[e])||(n=Xw),o="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z\-0-9]/))throw new Error("Invalid attribute name specified");o+=s}o+='="'}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&tR(u,n)<0?(d=c.toString(16),o+="&#x".concat(d,";")):o+=u;return r||(o+='"'),o}function oR(e,t,r){var n,o,i,a,s,l,u,c,d,p;if(e=iR(e).toLowerCase(),t=iR(t),tR(e,eR.css_key)>=0)throw new Error("Unsafe property name used: ".concat(e));for(n=0;n<eR.css_val.length;n++)if(t.toLowerCase().indexOf(eR.css_val[n])>=0)throw new Error("Unsafe property value used: ".concat(t));if((o=Qw[e])||(o=Zw.default),i="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z-]/))throw new Error("Invalid Property Name specified");i+=s}i+=": "}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&tR(u,o)<0?(d=c.toString(16),p="000000".substr(d.length),i+="\\".concat(p).concat(d)):i+=u;return i}function iR(e,t){var r,n,o,i,a=!1;if(null===e)return null;r=e,n=e,o=0;for(var s=[new Vw,new Gw,new Fw];!a;){n=r;for(var l=0;l<s.length;l++)(i=s[l].decode(r))!==r&&(o++,r=i);n!==r||(a=!0)}if(t&&o>1)throw new Error("Attack Detected - Multiple/Double Encodings used in input");return r}for(var aR=[],sR=0;sR<255;sR++)aR[sR]=sR>=48&&sR<=57||sR>=65&&sR<=90||sR>=97&&sR<=122?null:sR.toString(16);var lR=function(e){return rR(e.unsafe)},uR=function(e){var t,r=[],n=[],o={},i="";for(t in e.map?r=e.map:r[e.name]=e.unsafe,r)"function"!=typeof r[t]&&r.hasOwnProperty(t)&&(n[t]=oR(t,r[t],!0),i+=oR(t,r[t],!0),o[t]=n[t]);return e.map?o:i},cR=function(e){var t=[],r=[],n={},o="";for(var i in e.map?t=e.map:t[e.name]=e.unsafe,t)"function"!=typeof t[i]&&t.hasOwnProperty(i)&&(r[i]=nR(i,t[i],!0),o+=nR(i,t[i],!0),n[i]=r[i]);return e.map?n:o};function dR(e,t){throw new Error(t)}var pR={canonicalize:iR,encode:function(){var e={context:"html",unsafe:null,name:null,map:null,setter:null,strict:!0};return 1===arguments.length&&"object"===Mw(arguments[0])?function(){for(var e,t,r,n=arguments[0]||{},o=1,i=arguments.length;o<i;o++)if(null!=(e=arguments[o]))for(t in e)if(e.hasOwnProperty(t)){if(n===(r=e[t]))continue;void 0!==r&&(n[t]=r)}}(e,arguments[0]):(e.context=arguments[0],2===arguments.length?"html"===e.context?e.unsafe=arguments[1]:"attr"!==e.context&&"css"!==e.context||(e.map=arguments[1]):(e.name=arguments[2],e.unsafe=arguments[1])),"html"===e.context?lR(e):"css"===e.context?(null!=e.map&&"object"!==Mw(e.map)&&dR(this,"Invalid parameter type"),uR(e)):"attr"===e.context?(null!=e.map&&"object"!==Mw(e.map)&&dR(this,"Invalid parameter type"),cR(e)):void dR(this,"Invalid parameter type")},encodeForAttr:nR,encodeForAttr2:function(e){return nR("nonsens",e,!0)},encodeForCSS:oR,encodeForHref:function(e){iR(e),0!==e.search("[a-zA-Z0-9]+:")&&(e="http://".concat(e));var t=new Tw(e),r=Tw.encodeAuthorityAndPath(decodeURI(t.authorityAndPath)),n=t.searchParams,o=(e=r+Tw.encodeSearchParams(n)+t.hash).toLowerCase();if(-1!==o.indexOf("javascript:"))throw new Error("Attack Detected - Javascript in input");if(-1!==o.indexOf("data:"))throw new Error("Attack Detected - data in input");return e},encodeForJS:function(e,t){var r,n,o,i,a,s;for(t||(t=Kw),s="",r=0;r<e.length;r++)o=e.charAt(r),i=e.charCodeAt(r),tR(o,t)>=0||null==aR[i]?s+=o:(n=i.toString(16),i<256?(a="00".substr(n.length),s+="\\x".concat(a).concat(n.toUpperCase())):(a="0000".substr(n.length),s+="\\u".concat(a).concat(n.toUpperCase())));return s},encodeForHTML:rR,encodeForURL:function(e,t){var r="";return t&&(t.match(/^[A-Za-z\-0-9]{1,}$/)?r+=iR(t).toLowerCase():dR(this,"Illegal Attribute Name Specified"),r+='="'),r+=encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),r+=t?'"':""},isSafeDataURL:function(e,t){var r=null!=t?t:{},n=r.maxByteSizeSvg,o=void 0===n?5e5:n,i=r.maxByteSizeImage,a=void 0===i?5e6:i,s=function(e){var t,r=kw(null!==(t=Uw.exec(e.trim()))&&void 0!==t?t:[],4),n=r[1];return{encoding:r[2],data:r[3],mimeType:null==n?void 0:n.toLocaleLowerCase()}}(e),l=s.mimeType,u=s.encoding,c=s.data;if(!c)return!0;var d=function(e,t,r){var n={type:e};if(null!=t&&t.includes(";base64"))try{return new Blob([atob(r)],n).size}catch(e){return new Blob([r],n).size}return"image/svg+xml"===e?new Blob([r],n).size:0}(l,u,c);return"image/svg+xml"===l?d<=o:d<=a},validateURI:function(e){if(""===e||function(e){if("canParse"in URL)return URL.canParse(e);try{return new URL(e),!0}catch(e){return!1}}(e))return!1;var t=e.replace(/%2E/gi,".");if(t.match(/[#&=: ]/))return!1;var r=function(e){for(var t=e,r="";t.length>0;)if(t.startsWith("../")||t.startsWith("./"))t=t.replace(/^\.\.?\//,"");else if(t.startsWith("/./"))t=t.replace(/^\/\.\//,"/");else if("/."===t)t="/";else if(t.startsWith("/../")){t=t.replace(/^\/\.\.\//,"/");var n=r.lastIndexOf("/");-1!==n&&(r=r.slice(0,n))}else if("/.."===t){t="/";var o=r.lastIndexOf("/");-1!==o&&(r=r.slice(0,o))}else if("."===t||".."===t)t="";else{var i=t.match(/^\/?[^/]*/),a=i?i[0]:"";t=t.slice(a.length),r+=a}return r}(t);return""!==r&&"/"!==r&&r}};const fR=(e,t)=>t.qAttrExps?.qValues?.[e],hR=(e,t)=>{switch(e){case"topLeft":default:return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-start"};case"centerLeft":return{horizontal:"center",vertical:"flex-start"};case"bottomLeft":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-start"};case"topCenter":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"center"};case"centerCenter":return{horizontal:"center",vertical:"center"};case"bottomCenter":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"center"};case"topRight":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-end"};case"centerRight":return{horizontal:"center",vertical:"flex-end"};case"bottomRight":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-end"}}},mR=e=>{let{text:t,url:r,imageSize:n,imagePosition:o,labelStructure:i,imageBox:a,direction:s}=e;return o&&r&&!r.toLowerCase().includes("javascript:")&&pR.isSafeDataURL(r)?{type:yE.Image,url:r,text:t,imageSize:n,resolvedImagePosition:hR(o,s),labelStructure:i,imageBox:a}:{type:yE.Text,url:void 0,text:t,labelStructure:i}},gR=(e,t,r,n)=>{if(!e.qMiniChart||!t?.miniChart||!r)return{type:yE.Text,text:n};const{minY:o,maxY:i}=((e,t,r)=>{const n="global"===t.yAxis?.scale,o="zeroCenter"===t.yAxis?.position,i=n?r.qYMin:e.qMiniChart.qMin,a=n?r.qYMax:e.qMiniChart.qMax;if(o){const e=Math.max(Math.abs(i),Math.abs(a));return{minY:-e,maxY:e}}return(e=>"zeroBaseline"===e.yAxis?.position||"bars"===e.type&&"auto"===e.yAxis?.position)(t)?{minY:Math.min(0,i),maxY:Math.max(0,a)}:{minY:i,maxY:a}})(e,t.miniChart,r),a={type:t.miniChart.type,qMatrix:e.qMiniChart.qMatrix,minY:o,maxY:i,showDots:!!t.miniChart.showDots,colors:t.miniChart.colors,colorMin:e.qMiniChart.qMin,colorMax:e.qMiniChart.qMax};return{type:yE.MiniChart,text:n,miniChart:a}},bR=(e,t,r)=>{const n=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps,o=n?.qValues?.[e];if(o){const e=Number.isNaN(+o.qNum)?void 0:`${o.qNum}`;return o.qText||e}return r?.urlPosition===xE.Attribute?void 0:r?.urlLabel},vR=e=>{let{labelStructure:t,text:r,url:n}=e;try{if(!n)throw Error("Invalid url");return{type:yE.Link,url:pR.encodeForHref(n),text:r,labelStructure:t}}catch{return{type:yE.Text,url:void 0,text:r,labelStructure:t}}},yR=e=>{let{cell:t,representationProperties:r,attrExprInfoIndex:n,env:o,conditionalColoring:i,miniChartOnMeasure:a,labelStructure:s,getText:l=e=>e.qText,direction:u,enabledFeatures:c}=e;const d=SE(r),p=l(t);return d===yE.Image&&c[yE.Image]&&!o.anything.sense?.isUnsupportedFeature?.("tableImages")?((e,t,r,n,o,i)=>{const{imageSize:a,imagePosition:s,imageSetting:l,imageLabel:u,imageBox:c}=t??{};if("url"===l){const t=fR(r.imageUrl??-1,e)?.qText;return i&&(i.maskedValue=t??""),mR({text:n,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}if("label"===l){const t=i?i.originalValue:n;if(-1===r.imageLabel)return mR({text:u||t||"",url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o});const l=fR(r.imageLabel??-1,e)?.qText??n;return mR({text:l,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}return{type:yE.Text,url:void 0,labelStructure:i,text:n}})(t,r,n,p,u,s):d===yE.Link?((e,t,r,n,o)=>{const{urlPosition:i}=t??{};if(i===xE.Attribute){const i=bR(r.url??-1,e,t);return vR({labelStructure:n,text:o||i||"",url:i})}if(i===xE.Dimension){const i=bR(r.urlLabel??-1,e,t)||o;return n&&(n.maskedValue=i),vR({text:i,labelStructure:n,url:n?.originalValue??o})}return{type:yE.Text,url:void 0,text:o,labelStructure:n}})(t,r,n,s,p):d===yE.Indicator&&c[yE.Indicator]&&!o.anything.sense?.isUnsupportedFeature?.("tableIndicators")?((e,t,r)=>{const{indicator:n}=e??{};return{type:yE.Indicator,url:void 0,text:r,indicator:{applySegmentColors:n?.applySegmentColors,position:n?.position,showTextValues:n?.showTextValues},indicatorConditionalColoring:t}})(r,i,p):d===yE.MiniChart&&c[yE.MiniChart]&&!o.anything.sense?.isUnsupportedFeature?.("qMiniChartDef")?gR(t,r,a,p):{type:yE.Text,url:void 0,text:p,labelStructure:s}},xR=(e,t)=>t?-2===e.qElemNumber:!!e.qIsNull,SR=(e,t,r)=>(e?void 0:r.nullValueRepresentation?.text)??t.qText??"-",CR=1e4;function ER(e,t){return[...t].reverse().find((t=>t*e<=CR))||Math.floor(CR/e)}function wR(e,t){if(t.viewState?.skipTotals)return{atTop:!1,atBottom:!1};const[r,n,o,i,a]=[e.qHyperCube.qDimensionInfo.length>0,e.qHyperCube.qMeasureInfo.length>0,e.qHyperCube.qGrandTotalRow.length>0,e.totals.show,e.totals.position];if(o&&(r&&n||!i&&!r)){if(i||"top"===a)return{atTop:!0,atBottom:!1};if("bottom"===a)return{atTop:!1,atBottom:!0}}return{atTop:!1,atBottom:!1}}function RR(e,t,r,n){return t?0===r?e.totals.label??"":"":e.qHyperCube.qGrandTotalRow.at(n)?.qText??""}function AR(e,t){const r=e.qHyperCube.qGrandTotalRow.at(t);return gw(r?.qNum)}function PR(e,t,r,n,o){return e&&!e.auto?n&&"rtl"===o&&"center"!==e.align?{headTextAlign:"right"===e.align?"left":"right",totalsTextAlign:"right"===e.align?"left":"right",bodyTextAlign:"right"===e.align?"left":"right"}:{headTextAlign:e.align,totalsTextAlign:e.align,bodyTextAlign:e.align}:n||"rtl"!==o?{headTextAlign:"N"===t||void 0===t?"right":"left",totalsTextAlign:r?"left":"right",bodyTextAlign:"auto"}:{headTextAlign:"N"===t||void 0===t?"left":"right",totalsTextAlign:r?"right":"left",bodyTextAlign:"auto"}}const kR=(e,t,r,n)=>"auto"!==t?t:n||"rtl"!==r?e?"right":"left":e?"left":"right";const IR=(e,t,r)=>{const{qHyperCube:{qColumnOrder:n,qDimensionInfo:o,qMeasureInfo:i}}=e,a=o.length+i.length,s=n.length===a?n:Array.from(Array(a).keys()),{visibleColumnsOrder:l,visibleColumnIndexes:u}=((e,t,r)=>{const n=t.length,o=[];let i=0,a=0;return{visibleColumnsOrder:e.filter((e=>{const s=e<n,{qError:l}=s?t[e]:r[e-n],u=7005===l?.qErrorCode;return u?s?i++:a++:o[e]=s?e-i:e-n-a,!u})),visibleColumnIndexes:o}})(s,o,i);return l.map(((n,o)=>function(e,t,r,n,o,i){const{qDimensionInfo:a,qMeasureInfo:s,qEffectiveInterColumnSortOrder:l}=e.qHyperCube,u=a.length,c=t<u,d=c?a[t]:s[t-u],p=c&&a[t].qGrouping===wS.Cyclic,f=t===l[0];let h,m,g="",b=!1,v=-1,y=0,x=[];const{representation:S,conditionalColoring:C}=d;if(c){const e=d;g=e.qGroupFieldDefs[e.qGroupPos],y=e.qGroupPos,x=e.qGroupFallbackTitles.map((e=>({label:e,enabled:!0}))),b=e.qLocked??!1,v=n,({qDimensionType:h}=e)}else({qMiniChart:m}=d);const{qFallbackTitle:E,textAlign:w,qAttrExprInfo:R,qSortIndicator:A,qReverseSort:P,qApprMaxGlyphCount:k,columnWidth:I,qLibraryId:M}=d;return{isDim:c,isCyclic:p,isLocked:b,fieldId:g,colIdx:t,qLibraryId:M,pageColIdx:r,qApprMaxGlyphCount:k,qReverseSort:P,columnWidth:I??{type:SS.Auto},selectionColIdx:v,isActivelySorted:f,id:mw(d),label:E,groupDimensionPos:y,groupDimensionLabels:x,qAttrExprInfoIDs:R.map((e=>e.id)),qAttrExprInfoIndex:lw(d),sortDirection:A&&"N"!==A?A:"A",totalInfo:RR(e,c,r,n),...!c&&{isTotalNumeric:AR(e,n)},...PR(w,h,c,o,i),representation:S,conditionalColoring:c?void 0:C,qMiniChart:m}}(e,n,o,u[n],t,r)))};const MR=(e,t)=>!(!e.snapshotData&&!t.viewState?.visibleHeight),LR=(e,t)=>void 0!==t.viewState?.usePagination?t.viewState.usePagination:!1!==e.usePagination||MR(e,t);var DR="$$material";const TR=["values","unit","step"];function _R(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=xr(e,TR),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>xt({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return xt({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const OR={borderRadius:4};function qR(e,t){return t?wp(e,t,{clone:!1}):e}const NR={xs:0,sm:600,md:900,lg:1200,xl:1536},zR={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${NR[e]}px)`};function jR(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||zR;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||zR;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||NR).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function FR(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function HR(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function $R(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"==typeof e?e(r):Array.isArray(e)?e[r]||o:HR(e,r)||o,t&&(n=t(n,o,e)),n}function BR(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=HR(e.theme,n)||{};return jR(e,i,(e=>{let n=$R(a,o,e);return e===n&&"string"==typeof e&&(n=$R(a,o,`${t}${"default"===e?"":Tp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const WR={m:"margin",p:"padding"},VR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},GR={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},UR=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!GR[e])return[e];e=GR[e]}const[t,r]=e.split(""),n=WR[t],o=VR[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),YR=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],KR=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function XR(e,t,r,n){var o;const i=null!=(o=HR(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function JR(e){return XR(e,"spacing",8)}function ZR(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function QR(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=ZR(t,r),e)),{})}(UR(r),n);return jR(e,e[r],o)}function eA(e,t){const r=JR(e.theme);return Object.keys(e).map((n=>QR(e,t,n,r))).reduce(qR,{})}function tA(e){return eA(e,YR)}function rA(e){return eA(e,KR)}function nA(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,r)=>n[r]?qR(t,n[r](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function oA(e){return"number"!=typeof e?e:`${e}px solid`}function iA(e,t){return BR({prop:e,themeKey:"borders",transform:t})}tA.propTypes={},tA.filterProps=YR,rA.propTypes={},rA.filterProps=KR;const aA=iA("border",oA),sA=iA("borderTop",oA),lA=iA("borderRight",oA),uA=iA("borderBottom",oA),cA=iA("borderLeft",oA),dA=iA("borderColor"),pA=iA("borderTopColor"),fA=iA("borderRightColor"),hA=iA("borderBottomColor"),mA=iA("borderLeftColor"),gA=iA("outline",oA),bA=iA("outlineColor"),vA=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=XR(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:ZR(t,e)});return jR(e,e.borderRadius,r)}return null};vA.propTypes={},vA.filterProps=["borderRadius"],nA(aA,sA,lA,uA,cA,dA,pA,fA,hA,mA,vA,gA,bA);const yA=e=>{if(void 0!==e.gap&&null!==e.gap){const t=XR(e.theme,"spacing",8),r=e=>({gap:ZR(t,e)});return jR(e,e.gap,r)}return null};yA.propTypes={},yA.filterProps=["gap"];const xA=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=XR(e.theme,"spacing",8),r=e=>({columnGap:ZR(t,e)});return jR(e,e.columnGap,r)}return null};xA.propTypes={},xA.filterProps=["columnGap"];const SA=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=XR(e.theme,"spacing",8),r=e=>({rowGap:ZR(t,e)});return jR(e,e.rowGap,r)}return null};SA.propTypes={},SA.filterProps=["rowGap"];function CA(e,t){return"grey"===t?t:e}nA(yA,xA,SA,BR({prop:"gridColumn"}),BR({prop:"gridRow"}),BR({prop:"gridAutoFlow"}),BR({prop:"gridAutoColumns"}),BR({prop:"gridAutoRows"}),BR({prop:"gridTemplateColumns"}),BR({prop:"gridTemplateRows"}),BR({prop:"gridTemplateAreas"}),BR({prop:"gridArea"}));function EA(e){return e<=1&&0!==e?100*e+"%":e}nA(BR({prop:"color",themeKey:"palette",transform:CA}),BR({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:CA}),BR({prop:"backgroundColor",themeKey:"palette",transform:CA}));const wA=BR({prop:"width",transform:EA}),RA=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||NR[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:EA(t)}};return jR(e,e.maxWidth,t)}return null};RA.filterProps=["maxWidth"];const AA=BR({prop:"minWidth",transform:EA}),PA=BR({prop:"height",transform:EA}),kA=BR({prop:"maxHeight",transform:EA}),IA=BR({prop:"minHeight",transform:EA});BR({prop:"size",cssProperty:"width",transform:EA}),BR({prop:"size",cssProperty:"height",transform:EA});nA(wA,RA,AA,PA,kA,IA,BR({prop:"boxSizing"}));const MA={border:{themeKey:"borders",transform:oA},borderTop:{themeKey:"borders",transform:oA},borderRight:{themeKey:"borders",transform:oA},borderBottom:{themeKey:"borders",transform:oA},borderLeft:{themeKey:"borders",transform:oA},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:oA},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:vA},color:{themeKey:"palette",transform:CA},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:CA},backgroundColor:{themeKey:"palette",transform:CA},p:{style:rA},pt:{style:rA},pr:{style:rA},pb:{style:rA},pl:{style:rA},px:{style:rA},py:{style:rA},padding:{style:rA},paddingTop:{style:rA},paddingRight:{style:rA},paddingBottom:{style:rA},paddingLeft:{style:rA},paddingX:{style:rA},paddingY:{style:rA},paddingInline:{style:rA},paddingInlineStart:{style:rA},paddingInlineEnd:{style:rA},paddingBlock:{style:rA},paddingBlockStart:{style:rA},paddingBlockEnd:{style:rA},m:{style:tA},mt:{style:tA},mr:{style:tA},mb:{style:tA},ml:{style:tA},mx:{style:tA},my:{style:tA},margin:{style:tA},marginTop:{style:tA},marginRight:{style:tA},marginBottom:{style:tA},marginLeft:{style:tA},marginX:{style:tA},marginY:{style:tA},marginInline:{style:tA},marginInlineStart:{style:tA},marginInlineEnd:{style:tA},marginBlock:{style:tA},marginBlockStart:{style:tA},marginBlockEnd:{style:tA},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:yA},rowGap:{style:SA},columnGap:{style:xA},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:EA},maxWidth:{style:RA},minWidth:{transform:EA},height:{transform:EA},maxHeight:{transform:EA},minHeight:{transform:EA},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function LA(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=HR(r,s)||{};if(u)return u(o);return jR(o,t,(t=>{let r=$R(c,l,t);return t===r&&"string"==typeof t&&(r=$R(c,l,`${e}${"default"===t?"":Tp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={},nested:a}=r||{};if(!o)return null;const s=null!=(n=i.unstable_sxConfig)?n:MA;function l(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),l=Object.keys(o);let u=o;return Object.keys(n).forEach((r=>{const o=(a=n[r],l=i,"function"==typeof a?a(l):a);var a,l;if(null!=o)if("object"==typeof o)if(s[r])u=qR(u,e(r,o,i,s));else{const e=jR({theme:i},o,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(n);return t.every((e=>o.size===Object.keys(e).length))}(e,o)?u=qR(u,e):u[r]=t({sx:o,theme:i,nested:!0})}else u=qR(u,e(r,o,i,s))})),!a&&i.modularCssLayers?{"@layer sx":FR(l,u)}:FR(l,u)}return Array.isArray(o)?o.map(l):l(o)}}const DA=LA();function TA(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}DA.filterProps=["sx"];const _A=["breakpoints","palette","spacing","shape"];function OA(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:n,shape:o={}}=e,i=xr(e,_A),a=_R(t),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=JR({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(0===r.length?[1]:r).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ")};return r.mui=!0,r}(n);let l=wp({breakpoints:a,direction:"ltr",components:{},palette:xt({mode:"light"},r),spacing:s,shape:xt({},OR,o)},i);l.applyStyles=TA;for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>wp(e,t)),l),l.unstable_sxConfig=xt({},MA,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return DA({sx:e,theme:this})},l}var qA=Object.freeze({__proto__:null,default:OA,private_createBreakpoints:_R,unstable_applyStyles:TA});function NA(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=S.useContext(ip);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const zA=OA();function jA(){return NA(arguments.length>0&&void 0!==arguments[0]?arguments[0]:zA)}function FA(e){const t=e;return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function HA(e){let{styles:t,themeId:r,defaultTheme:n={}}=e;const o=jA(n),i=r&&o[r]||o;let a="function"==typeof t?t(i):t;return i.modularCssLayers&&(a=Array.isArray(a)?a.map((e=>FA("function"==typeof e?e(i):e))):FA(a)),Tl.jsx(bp,{styles:a})}const $A=["sx"];function BA(e){const{sx:t}=e,r=xr(e,$A),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:MA;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?function(){const e=t(...arguments);return Cp(e)?xt({},n,e):n}:xt({},n,t),xt({},o,{sx:i})}var WA=Object.freeze({__proto__:null,default:DA,extendSxProp:BA,unstable_createStyleFunctionSx:LA,unstable_defaultSxConfig:MA});const VA=["className","component"];function GA(e){if(e.type)return e;if("#"===e.charAt(0))return GA(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Ru(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(Ru(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function UA(e,t){return e=GA(e),t=function(e){return vh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}const YA=["value"],KA=S.createContext();function XA(e){let{value:t}=e,r=xr(e,YA);return Tl.jsx(KA.Provider,xt({value:null==t||t},r))}const JA=S.createContext(void 0);function ZA(e){let{value:t,children:r}=e;return Tl.jsx(JA.Provider,{value:t,children:r})}function QA(e){let{props:t,name:r}=e;return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?gh(o.defaultProps,n):o.styleOverrides||o.variants?n:gh(o,n)}({props:t,name:r,theme:{components:S.useContext(JA)}})}const eP={};function tP(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return S.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?xt({},t,{[e]:i}):i;return n?()=>a:a}return xt({},t,e?{[e]:r}:r)}),[e,t,r,n])}function rP(e){const{children:t,theme:r,themeId:n}=e,o=NA(eP),i=tm()||eP,a=tP(n,o,r),s=tP(n,i,r,!0),l="rtl"===a.direction,u=function(e){const t=NA(),r=Ih()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",bh((()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var n;if(t&&null!=(n=t.hasAttribute)&&n.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",r),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${r}"]`))||i.remove()}}),[o,r]),o?Tl.jsx(HA,{styles:o}):null}(a);return Tl.jsx(nm,{theme:s,children:Tl.jsx(ip.Provider,{value:a,children:Tl.jsx(XA,{value:l,children:Tl.jsxs(ZA,{value:null==a?void 0:a.components,children:[u,t]})})})})}function nP(e,t){return xt({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var oP={},iP={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(iP);var aP=iP.exports,sP=aP;Object.defineProperty(oP,"__esModule",{value:!0});var lP=oP.alpha=SP;oP.blend=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=gP(e),a=gP(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return vP({type:"rgb",values:s})},oP.colorChannel=void 0;var uP=oP.darken=CP;oP.decomposeColor=gP,oP.emphasize=wP;var cP=oP.getContrastRatio=function(e,t){const r=xP(e),n=xP(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};oP.getLuminance=xP,oP.hexToRgb=mP,oP.hslToRgb=yP;var dP=oP.lighten=EP;oP.private_safeAlpha=function(e,t,r){try{return SP(e,t)}catch(t){return e}},oP.private_safeColorChannel=void 0,oP.private_safeDarken=function(e,t,r){try{return CP(e,t)}catch(t){return e}},oP.private_safeEmphasize=function(e,t,r){try{return wP(e,t)}catch(t){return e}},oP.private_safeLighten=function(e,t,r){try{return EP(e,t)}catch(t){return e}},oP.recomposeColor=vP,oP.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=gP(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var pP=sP(pm),fP=sP(fm);function hP(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,fP.default)(e,t,r)}function mP(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function gP(e){if(e.type)return e;if("#"===e.charAt(0))return gP(mP(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,pP.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,pP.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const bP=e=>{const t=gP(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};oP.colorChannel=bP;function vP(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function yP(e){e=gP(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),vP({type:s,values:l})}function xP(e){let t="hsl"===(e=gP(e)).type||"hsla"===e.type?gP(yP(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function SP(e,t){return e=gP(e),t=hP(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,vP(e)}function CP(e,t){if(e=gP(e),t=hP(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return vP(e)}function EP(e,t){if(e=gP(e),t=hP(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return vP(e)}function wP(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return xP(e)>.5?CP(e,t):EP(e,t)}oP.private_safeColorChannel=(e,t)=>{try{return bP(e)}catch(t){return e}};const RP={black:"#000",white:"#fff"},AP={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},PP="#f3e5f5",kP="#ce93d8",IP="#ba68c8",MP="#ab47bc",LP="#9c27b0",DP="#7b1fa2",TP="#e57373",_P="#ef5350",OP="#f44336",qP="#d32f2f",NP="#c62828",zP="#ffb74d",jP="#ffa726",FP="#ff9800",HP="#f57c00",$P="#e65100",BP="#e3f2fd",WP="#90caf9",VP="#42a5f5",GP="#1976d2",UP="#1565c0",YP="#4fc3f7",KP="#29b6f6",XP="#03a9f4",JP="#0288d1",ZP="#01579b",QP="#81c784",ek="#66bb6a",tk="#4caf50",rk="#388e3c",nk="#2e7d32",ok="#1b5e20",ik=["mode","contrastThreshold","tonalOffset"],ak={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:RP.white,default:RP.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},sk={text:{primary:RP.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:RP.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function lk(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=dP(e.main,o):"dark"===t&&(e.dark=uP(e.main,i)))}function uk(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=xr(e,ik),i=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:WP,light:BP,dark:VP}:{main:GP,light:VP,dark:UP}}(t),a=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:kP,light:PP,dark:MP}:{main:LP,light:IP,dark:DP}}(t),s=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:OP,light:TP,dark:qP}:{main:qP,light:_P,dark:NP}}(t),l=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:KP,light:YP,dark:JP}:{main:JP,light:XP,dark:ZP}}(t),u=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ek,light:QP,dark:rk}:{main:nk,light:tk,dark:ok}}(t),c=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:jP,light:zP,dark:HP}:{main:"#ed6c02",light:FP,dark:$P}}(t);function d(e){return cP(e,sk.text.primary)>=r?sk.text.primary:ak.text.primary}const p=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:a=700}=e;if(t=xt({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(Ru(11,r?` (${r})`:"",o));if("string"!=typeof t.main)throw new Error(Ru(12,r?` (${r})`:"",JSON.stringify(t.main)));return lk(t,"light",i,n),lk(t,"dark",a,n),t.contrastText||(t.contrastText=d(t.main)),t},f={dark:sk,light:ak};return wp(xt({common:xt({},RP),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:AP,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const ck=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const dk={textTransform:"uppercase"},pk='"Roboto", "Helvetica", "Arial", sans-serif';function fk(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=pk,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=xr(r,ck),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return xt({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===pk?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,dk),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,dk),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wp(xt({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function hk(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}const mk=["none",hk(0,2,1,-1,0,1,1,0,0,1,3,0),hk(0,3,1,-2,0,2,2,0,0,1,5,0),hk(0,3,3,-2,0,3,4,0,0,1,8,0),hk(0,2,4,-1,0,4,5,0,0,1,10,0),hk(0,3,5,-1,0,5,8,0,0,1,14,0),hk(0,3,5,-1,0,6,10,0,0,1,18,0),hk(0,4,5,-2,0,7,10,1,0,2,16,1),hk(0,5,5,-3,0,8,10,1,0,3,14,2),hk(0,5,6,-3,0,9,12,1,0,3,16,2),hk(0,6,6,-3,0,10,14,1,0,4,18,3),hk(0,6,7,-4,0,11,15,1,0,4,20,3),hk(0,7,8,-4,0,12,17,2,0,5,22,4),hk(0,7,8,-4,0,13,19,2,0,5,24,4),hk(0,7,9,-4,0,14,21,2,0,5,26,4),hk(0,8,9,-5,0,15,22,2,0,6,28,5),hk(0,8,10,-5,0,16,24,2,0,6,30,5),hk(0,8,11,-5,0,17,26,2,0,6,32,5),hk(0,9,11,-5,0,18,28,2,0,7,34,6),hk(0,9,12,-6,0,19,29,2,0,7,36,6),hk(0,10,13,-6,0,20,31,3,0,8,38,7),hk(0,10,13,-6,0,21,33,3,0,8,40,7),hk(0,10,14,-6,0,22,35,3,0,8,42,7),hk(0,11,14,-7,0,23,36,3,0,9,44,8),hk(0,11,15,-7,0,24,38,3,0,9,46,8)],gk=["duration","easing","delay"],bk={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vk={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yk(e){return`${Math.round(e)}ms`}function xk(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Sk(e){const t=xt({},bk,e.easing),r=xt({},vk,e.duration);return xt({getAutoHeightDuration:xk,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return xr(n,gk),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:yk(o)} ${i} ${"string"==typeof a?a:yk(a)}`)).join(",")}},e,{easing:t,duration:r})}const Ck={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ek=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function wk(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:n={},typography:o={}}=e,i=xr(e,Ek);if(e.vars&&void 0===e.generateCssVars)throw new Error(Ru(18));const a=uk(r),s=OA(e);let l=wp(s,{mixins:nP(s.breakpoints,t),palette:a,shadows:mk.slice(),typography:fk(a,o),transitions:Sk(n),zIndex:xt({},Ck)});l=wp(l,i);for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>wp(e,t)),l),l.unstable_sxConfig=xt({},MA,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return DA({sx:e,theme:this})},l}const Rk=wk();var Ak,Pk={},kk={exports:{}};function Ik(){return Ak||(Ak=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(kk)),kk.exports}var Mk,Lk={exports:{}};function Dk(){return Mk||(Mk=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(Lk)),Lk.exports}var Tk=Rt(qA),_k=Rt(WA),Ok=aP;Object.defineProperty(Pk,"__esModule",{value:!0});var qk=Pk.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=Kk,rootShouldForwardProp:n=Uk,slotShouldForwardProp:o=Uk}=e,i=e=>(0,$k.default)((0,Nk.default)({},e,{theme:Jk((0,Nk.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,jk.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Zk(Xk(l))}=a,p=(0,zk.default)(a,Vk),f=s&&s.startsWith("Mui")||l?"components":"custom",h=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,m=c||!1;let g=Uk;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const b=(0,jk.default)(e,(0,Nk.default)({shouldForwardProp:g,label:undefined},p)),v=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Fk.isPlainObject)(e)?n=>{const o=Jk({theme:n.theme,defaultTheme:r,themeId:t});return Qk(e,(0,Nk.default)({},n,{theme:o}),o.modularCssLayers?f:void 0)}:e,y=function(n){let o=v(n);for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];const c=l?l.map(v):[];s&&d&&c.push((e=>{const n=Jk((0,Nk.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((t=>{let[r,o]=t;i[r]=Qk(o,(0,Nk.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)})),d(e,i)})),s&&!h&&c.push((e=>{var n;const o=Jk((0,Nk.default)({},e,{defaultTheme:r,themeId:t}));return Qk({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,Nk.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)})),m||c.push(i);const p=c.length-l.length;if(Array.isArray(n)&&p>0){const e=new Array(p).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const f=b(o,...c);return e.muiName&&(f.muiName=e.muiName),f};return b.withConfig&&(y.withConfig=b.withConfig),y}};Pk.shouldForwardProp=Uk,Pk.systemDefaultTheme=void 0;var Nk=Ok(Ik()),zk=Ok(Dk()),jk=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Gk(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(ig),Fk=ag;Ok(sg),Ok(lg);var Hk=Ok(Tk),$k=Ok(_k);const Bk=["ownerState"],Wk=["variants"],Vk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Gk(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Gk=function(e){return e?r:t})(e)}function Uk(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Yk(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const Kk=Pk.systemDefaultTheme=(0,Hk.default)(),Xk=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Jk(e){let{defaultTheme:t,theme:r,themeId:n}=e;return o=r,0===Object.keys(o).length?t:r[n]||r;var o}function Zk(e){return e?(t,r)=>r[e]:null}function Qk(e,t,r){let{ownerState:n}=t,o=(0,zk.default)(t,Bk);const i="function"==typeof e?e((0,Nk.default)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap((e=>Qk(e,(0,Nk.default)({ownerState:n},o),r)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,zk.default)(i,Wk);return e.forEach((e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,Nk.default)({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)})),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,Nk.default)({ownerState:n},o,n)):e.style;t.push(r?Yk((0,jk.internal_serializeStyles)(i),r):i)}})),t}return r?Yk((0,jk.internal_serializeStyles)(i),r):i}const eI=qk({themeId:DR,defaultTheme:Rk,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e}),tI=["theme"];function rI(e){let{theme:t}=e,r=xr(e,tI);const n=t[DR];let o=n||t;return"function"!=typeof t&&(n&&!n.vars?o=xt({},n,{vars:null}):t&&!t.vars&&(o=xt({},t,{vars:null}))),Tl.jsx(rP,xt({},r,{themeId:n?DR:void 0,theme:o}))}var nI={exports:{}};
|
|
104
|
+
e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},jC({exports:{}});var YC={exports:{}};!function(e){self,e.exports=(()=>{var e={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}},8:(e,t)=>{(()=>{var e={229:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{n.r(o),n.d(o,{default:()=>Le});var e=n(229),t=n.n(e);const r=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},i=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},a={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var s="".concat(" ","(").concat(" "),l="".concat(" ",")").concat(" ");function u(e){return s+e+l}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function d(e){return!(!e.fullAccumulation&&!e.fullRange)}function p(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function f(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function h(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function m(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function g(e){return void 0===e?")":", 0, ".concat(e,")")}function b(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function v(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(b("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(b("MaxString(".concat(t,")")),")'\"}")}function y(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=v(c(n[0],o),h(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var d=c(n[0],o),p=c(n[1],o),f=h(0),m=h(1),g=v(d,f),b=v(p,m);return"".concat(a,"({1<").concat(g,",").concat(b,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function x(e){return"".concat(e,"(")}function S(e){var t=e.properties,r=e.layout;return i(t,"qHyperCubeDef.qDimensions",i(r,"qHyperCube.qDimensionInfo",[])).length}const C={isFullRange:d,getNumDimensions:S,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=u(f(t));if(!r.showExcludedValues)return a;var s=y({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var c=h(0);return"If(Count(".concat(c,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var d=h(0),p=h(1);return"If(Count(".concat(d,") * Count(").concat(p,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:p,getNumStepComp:function(e,t){if(!d(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return p(e,t)},getAboveCompPrefix:m,getAboveCompSuffix:g,getAboveComp:function(e,t,r,n){return m(e,t)+r+g(n)},getFunctionPrefix:x,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return x(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:y,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout,o=function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t);return 0===o&&2===S({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=h(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:f,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(s);if(-1!==r){var n=t.indexOf(l);if(-1!==n)return t.substring(r+s.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:c,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=S({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:u,canExtract:function(e){var t=e.indexOf(s),r=e.indexOf(l);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:h,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=a.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?a.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(a.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return a.EXPRESSIONS[r]&&n.includes(a.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}var R=t().bind(null,!0),A={},P=Array.isArray;function k(e){return null!=e&&!Array.isArray(e)&&"object"===E(e)}function I(e){return void 0===e}function M(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function L(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=I(e[r||t])?i:e[t],e=e[r||t]}})),e}function D(e,t){var r=!0;if(k(e)&&k(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){D(e[n],t[n])||(r=!1)})),r);if(P(e)&&P(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!D(e[n],t[n]))return!1;return!0}return e===t}A.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?R({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);D(i,a)||M(t,o)||(I(a)?n.push({op:"add",path:s,value:i}):k(i)&&k(a)?n=n.concat(A.generate(a,i,s)):P(i)&&P(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&I(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(D(t,o))return n;if(!I(t[0])&&I(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(A.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){I(t[o])&&!M(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},A.apply=function(e,t){t.forEach((function(t){var r,n,o=L(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(P(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(P(a)&&P(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return w(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}else if(k(a)&&k(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!M(r,e)&&delete r[e]})),R(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=L(e,t.from);P(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(P(o)?o.splice(+i,1):delete o[i])}))},A.clone=function(e){return R({},e)},A.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},A.updateObject=function(e,t){Object.keys(e).length?A.apply(e,A.generate(e,t)):R(e,t)};const T=A,_=function(e,r,n){if(!e)return Promise.resolve();var o=T.generate(r,n);return t()(!0,r,n),o&&o.length?(o=o.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(o,!0)):Promise.resolve()};var O="accumulation";function q(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===O)return r[n]}function N(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===O)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var j={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const z={translationKey:"properties.modifier.accumulation",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getNumStepComp(r,l),p=C.getAboveComp(r,l,c,d),f=C.getRangeComp("RangeSum",p);if(C.needDimension({modifier:r,properties:n,layout:o})){var h=C.getDimComp(u,1),m=C.getDimComp(u,0),g=C.getAggrComp(f,h,m);f=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,valueComp:g}):g}return f},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,j)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(N(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(N(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(N(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(N(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=q(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=q(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(N(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(O))return!1;var i=q(t,e);return i&&!i.disabled}};return r}};var F="movingAverage";function H(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===F)return r[n]}function $(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===F)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var B={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const W={translationKey:"properties.modifier.movingAverage",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,a=e.layout,s=e.numDimensions,l=e.dimensionAndFieldList;if(!n)return r;var u=s;void 0===u&&(u=C.getNumDimensions({properties:o,layout:a}));var c=i(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=C.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:l,treatMissingAsNull:d}),f=C.getNumStepComp(n,u),h=C.getAboveComp(n,u,p,f);if(n.nullSuppression)t=C.getRangeComp("RangeAvg",h);else{var m=C.getRangeComp("RangeSum",h),g=function(e,t){var r=C.getRowNoComp(e,t);if(!C.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(C.needDimension({modifier:n,properties:o,layout:a})){var v=C.getDimComp(c,1),y=C.getDimComp(c,0),x=C.getAggrComp(b,v,y);b=n.showExcludedValues?C.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:l,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,B)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat($(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat($(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat($(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat($(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=H(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=H(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat($(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat($(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(F))return!1;var i=H(t,e);return i&&!i.disabled}};return r}};var V="timeSeriesDecomposition";function G(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===V)return r[n]}function U(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===V)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Y={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const K={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?C.generateTSDExpression(r,t,n):t},extractInputExpression:C.extractInputExpression,initModifier:function(e,t){C.initModifier(e,Y),""===e.decomposition&&t&&(e.decomposition=C.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(U(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:a.OPTIONS},steps:{refFn:function(t){return"".concat(U(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=G(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=G(t,e);return r&&!r.fullRange}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(V))return!1;var i=G(t,e);return i&&!i.disabled}};return r}};var X="difference";function J(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===X)return r[n]}function Z(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===X)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Q={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const ee={translationKey:"properties.modifier.difference",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getAboveComp(r,l,c),p="".concat(c," - ").concat(d);if(C.needDimension({modifier:r,properties:n,layout:o})){var f=C.getDimComp(u,1),h=C.getDimComp(u,0),m=C.getAggrComp(p,f,h);p=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(Q).forEach((function(t){void 0===e[t]&&(e[t]=Q[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(Z(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(Z(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(Z(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(X))return!1;var i=J(t,e);return i&&!i.disabled}};return r}};var te="normalization";function re(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===te)return r[n]}function ne(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===te)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function oe(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var ie={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:2,selectionScope:2};function ae(e){return 2===e?"{1}":""}function se(e,t,r){return 1===e?"{$<".concat(C.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function le(e,t){return 0===e&&t>1||2===e?"Total":""}function ue(e,t,r){return 0===e&&t>1?"<".concat(C.getDimDefWithWrapper(r),">"):""}const ce={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=ae(t),l=se(t,r,n),u=""===s&&""===l?"":s||l,c=le(o,i),d=ue(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=C.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,l,r.primaryDimension)},initModifier:function(e){Object.keys(ie).forEach((function(t){void 0===e[t]&&(e[t]=ie[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(ne(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,options:function(r){return function(e,t,r){var n=[{value:0,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:1,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:2,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=oe(t,0);t.splice(r,1)}return t}(re(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(ne(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return 1===re(t,e).selectionScope}},value:{refFn:function(t){return"".concat(ne(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return 1===re(t,e).selectionScope}},dimensionalScope:{refFn:function(t){return"".concat(ne(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:0,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:1,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:2,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=oe(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=oe(t,1);t.splice(r,1)}return t}(re(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(ne(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return 0===(re(t,e).dimensionalScope||0)&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(te))return!1;var i=re(t,e);return i&&!i.disabled}};return r},getDisregardSelectionComp:ae,getFieldSelectionComp:se,getTotalComp:le,getSelectedDimComp:ue};var de="qDef.base",pe="qDef.qDef",fe="qDef.base.qDef",he="qLibraryId",me="qDef.base.qLibraryId";const ge={getExpression:function(e){var t=i(e,fe);return void 0!==t?t:i(e,pe)},getExpressionRef:function(e){return void 0!==i(e,fe)?fe:pe},getLibraryIdRef:function(e){return i(e,me)?me:he},getLibraryId:function(e){return i(e,me)||i(e,he)},getLabelRef:function(e){return i(e,de)?"qDef.base.qLabel":"qDef.qLabel"},getLabelExpressionRef:function(e){return i(e,de)?"qDef.base.qLabelExpression":"qDef.qLabelExpression"}};var be="qDef.qDef",ve="qDef.base.qDef",ye="qLibraryId",xe="qDef.base.qLibraryId",Se="qDef.qLabel",Ce="qDef.qLabelExpression",we="qDef.base.qLabel",Ee="qDef.base.qLabelExpression",Re="qDef.qAggrFunc",Ae="qDef.base.qAggrFunc",Pe={initBase:function(e,t){(t||Pe.isValid(e))&&(r(e,ve,i(e,be)),r(e,xe,i(e,ye)),r(e,we,i(e,Se)),r(e,Ee,i(e,Ce)))},restoreBase:function(e){Pe.isValid(e)&&(r(e,be,i(e,ve)),r(e,ye,i(e,xe)),r(e,Se,i(e,we)),r(e,Ce,i(e,Ee)),i(e,Re)&&i(e,Ae)&&r(e,Re,i(e,Ae)),delete e.qDef.base)},isValid:function(e){var t=i(e,ve),r=i(e,xe);return void 0!==t||void 0!==r}};const ke=Pe;function Ie(e){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}var Me={accumulation:z,movingAverage:W,difference:ee,normalization:ce,timeSeriesDecomposition:K};const Le={modifiers:Me,apply:Te,applyModifiers:_e,cleanUpMeasure:Oe,destroy:function(e){e&&De[e.id]&&De[e.id].masterItemSubscriber&&(De[e.id].masterItemSubscriber&&De[e.id].masterItemSubscriber.unsubscribe(),delete De[e.id])},hasActiveModifiers:qe,getActiveModifier:Ne,initBase:ke.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Me[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Me[e]&&Me[e].isApplicable({properties:r,layout:n})}))},measureBase:ge,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Fe(e);Ue({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||Ze({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:je};var De={};function Te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.model,n=e.properties,o=e.isSnapshot,a=void 0!==o&&o,s=e.masterItem,l=!1;De[r.id]=De[r.id]||{isFirstTime:!0};var u=De[r.id].isFirstTime;if(De[r.id].isFirstTime=!1,n&&"object"===Ie(n))return _e({model:r,properties:n});var c=r?r.layout:void 0,d=i(c,"qSelectionInfo.qInSelections");if(a||d)return Promise.resolve(l);var p=i(c,"qHyperCube.qMeasureInfo"),f=De[r.id].lastReloadTime;if(De[r.id].lastReloadTime=i(r,"app.layout.qLastReloadTime"),qe({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return i(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ge({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:r,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Ue({modifiers:Fe(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:s,isFirstTime:u})?r.getEffectiveProperties().then((function(e){var n=t()(!0,{},e);$e(n);var o=Qe(n);return Ye({model:r}).then((function(t){return Ke({libraryIds:o,model:r}).then((function(o){return h&&function(e){var t=e.properties;ze(t).forEach((function(e){return function(e){var t=e.measure;if(Ge({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===Ie(e)&&!e.disabled){if(r++,"object"!==Ie(Me[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Me[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&We(t)&&C.simplifyExpression(t.qDef.base.qDef)!==C.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:n}),_e({model:r,oldProperties:e,properties:n,runUpdateIfChange:!0,masterItem:s,libraryItemsProps:o,dimensionAndFieldList:t})}))}))})):Promise.resolve(l)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===Ie(e.base)}))}(p)?r.getEffectiveProperties().then((function(e){return function(e){var r=e.model,n=e.properties,o=Qe(n);return et({model:r,libraryIds:o}).then((function(){var e=t()(!0,{},n);return ze(n).forEach((function(e){return Oe(e)})),Je({oldProperties:e,newProperties:n,model:r})}))}({model:r,properties:e})})):Promise.resolve(l)}function _e(e){var r=e.model,n=e.oldProperties,o=e.properties,a=e.measures,s=e.runUpdateIfChange,l=void 0!==s&&s,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===n&&(n=l?t()(!0,{},o):o),$e(o);var p=Qe(o);return et({model:r,libraryIds:p,masterItem:u}).then((function(){return function(e){var r=e.measures,n=e.properties,o=e.model,a=e.libraryItemsProps,s=e.dimensionAndFieldList;if(r||(r=ze(n)),!r.length)return Promise.resolve();if(!qe({measures:r,properties:n}))return r.forEach((function(e){return Oe(e)})),Promise.resolve();var l=a?void 0:Qe(n);return Ye({model:o,dimensionAndFieldList:s}).then((function(e){return Ke({libraryIds:l,model:o,libraryItemsProps:a}).then((function(o){r.forEach((function(r){Ue({modifiers:r.qDef.modifiers,properties:n})?(function(e){var r=e.measure,n=e.properties,o=e.libraryItemsProps,a=e.dimensionAndFieldList,s=0;ke.isValid(r)||ke.initBase(r,!0);var l=r.qDef,u=l.modifiers,c=l.base;Array.isArray(u)&&u.forEach((function(e){if("object"===Ie(e)&&!e.disabled){if(s++,"object"!==Ie(Me[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(s>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Me[e.type].initModifier(e,r);var l=r.qLibraryId||c&&c.qLibraryId;l?function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList,a=e.libraryItemsProps[e.libraryId],s=a.qMeasure.qDef,l=""===s?s:Me[n.type].generateExpression({expression:s,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=l,r.qDef.qDef=n.outputExpression,(r.qDef.qLabel||a.qMeasure.qLabel)&&(r.qDef.qLabel=a.qMeasure.qLabel),(r.qDef.qLabelExpression||a.qMeasure.qLabelExpression)&&(r.qDef.qLabelExpression=a.qMeasure.qLabelExpression),r.qDef.quarantine&&r.qDef.quarantine.qNumFormat&&a.qMeasure.qNumFormat&&(r.qDef.qNumFormat=a.qMeasure.qNumFormat,r.qDef.isCustomFormatted=a.qMeasure.isCustomFormatted),delete r.qLibraryId,r.qDef.coloring=a.qMeasure.coloring,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,libraryId:l,properties:n,libraryItemsProps:o,dimensionAndFieldList:a}):function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList;"function"==typeof Me[n.type].updateModifier&&Me[n.type].updateModifier(n,o.qHyperCubeDef);var a=ge.getExpression(r),s=""===a?a:Me[n.type].generateExpression({expression:a,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=s,r.qDef.qDef=n.outputExpression,r.qDef.base.qLabelExpression?r.qDef.qLabelExpression=r.qDef.base.qLabelExpression:r.qDef.qLabel=r.qDef.base.qLabel||a,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,properties:n,dimensionAndFieldList:a}),function(e){var t=i(e,"qDef.qAggrFunc");"Expr"!==t||je(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&je(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(r)}}))}({measure:r,properties:n,libraryItemsProps:o,dimensionAndFieldList:e}),Be(r)):Oe(r)}))}))}))}({measures:a,properties:o,model:r,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return l?Je({oldProperties:n,newProperties:o,model:r}):Promise.resolve(!1)}))}))}function Oe(e){!function(e){var t=Fe(e);return Array.isArray(t)&&t.some((function(e){return"object"===Ie(e)&&!e.disabled&&!Me[e.type]}))}(e)?ke.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Be(e)}function qe(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ue({modifiers:Fe(e),properties:r,layout:n})}))}function Ne(e){var t=Fe(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Me[n.type]&&!n.disabled)return n}}function je(e){var t=Ne(e);return!t||Me[t.type].enableTotalsFunction(e)}function ze(e){return i(e,"qHyperCubeDef.qMeasures",[]).concat(i(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Fe(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function He(e){return i(e,"outputExpression.qValueExpression.qExpr")||i(e,"outputExpression")}function $e(e){ze(e).forEach((function(e){return function(e){var r=Ne(e);r&&(void 0!==r.outputExpression&&He(r)!==e.qDef.qDef?delete e.qDef.base:!ke.isValid(e)&&r.base&&(e.qDef.base=t()(!0,{},r.base)))}(e)}))}function Be(e){var t=Fe(e);Array.isArray(t)&&t.forEach((function(t){"object"===Ie(t)&&(t.disabled||!Me[t.type]&&He(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function We(e){return e.base||e.qDef&&e.qDef.base}function Ve(e){var t=We(e);return e.qLibraryId||t&&t.qLibraryId}function Ge(e){var t=e.measure,r=e.properties,n=e.layout;return!Ve(t)&&Ue({modifiers:Fe(t),properties:r,layout:n})}function Ue(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==Ie(e)||e.disabled||!Me[e.type])&&(void 0===o[e.type]&&(o[e.type]=Me[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Ye(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function Ke(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a}))}function Xe(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function Je(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(i(t,"qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qMeasures"),Xe)||JSON.stringify(i(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&i(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):_(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function Ze(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===Ie(e)&&!e.disabled&&Me[e.type]&&Me[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function Qe(e){var t=ze(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Fe(t);if(Ue({modifiers:n,properties:e})){var i=Ve(t);i&&r.push(i),o=o||Ze({modifiers:n,properties:e})}})),i(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function et(e){var t=e.model,r=e.libraryIds;return!e.masterItem&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(De[t.id].masterItemSubscriber=De[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},a={},s={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function l(e){var t={},r=i(e,"qInfo.qType");return r&&s[r]&&s[r].forEach((function(r){t[r]=i(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=l(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(e,r){return t.app[r](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),enabled:!1,properties:l(t.layout)}}))}return{subscribe:function(e){var r=e.measureLibraryIds,i=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),a={},t.forEach((function(e){a[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:i}),Object.keys(n).forEach((function(e){o[e]||a[e]||(n[e].listener.dispose(),delete n[e])})),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(c(e,"getMeasure"))})),Object.keys(a).forEach((function(e){a[e]&&!n[e]&&s.push(c(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose()})),n={}}}}({model:t,callback:function(e){return Te({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),De[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}})(),t.default=o.default,Object.defineProperty(t,"__esModule",{value:!0})})()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};return(()=>{function e(t){var r,n=t;return n>9?(r=65+n-10)>90&&(r+=6):n="".concat(n).charCodeAt(0),[48,111,79,105,73,108].indexOf(r)>-1?e(n+1):String.fromCharCode(r)}function t(r){var n=e(r%62),o=Math.floor(r/62);return o>0?t(o)+n:n}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}r.d(n,{default:()=>$e});const i={getValue:function(e,t,r){if(null==e||null==t)return r;for(var n=t.split("."),o=e,i=0;i<n.length;++i){var a=n[i];if(""!==a){if(void 0===o[a]||null===o[a])return r;o=o[a]}}return o},setValue:function(e,t,r){if(null!=e&&null!=t){for(var n=t.split("."),o=n[n.length-1],i=e,a=0;a<n.length-1;++a){var s=n[a];void 0!==i[s]&&null!==i[s]||(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}},isEmpty:function(e){return 0===Object.keys(e).length&&e.constructor===Object},isAtomicValue:function(e){return/boolean|number|string/.test(o(e))},generateId:function(){return t(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return n;return-1}return-1}const d={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var r=e.indexOf(t[0]);if(-1!==r){for(var n=0;n<t.length;n++){var o=e.indexOf(t[n]);if(r>o)return!1;r=o}return!0}return!1},indexAdded:function(e,t){var r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)},indexRemoved:function(e,t){var r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n},findItemByPropertyValue:function(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return e[n];return null}return null},findIndexByPropertyValue:c};var p=r(8),f=r.n(p);const h=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.dimensions).push.apply(t,a(n.qDimensions));var s,l=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qDimensions");l&&(s=o.excludedDimensions).push.apply(s,a(l))},m=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.measures).push.apply(t,l(n.qMeasures));var a,s=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qMeasures");s&&(a=o.excludedMeasures).push.apply(a,l(s))},g=function(e){var t=e.exportFormat,r=e.qHyperCubeDef,n=t.data[0];r.qInterColumnSortOrder||(r.qInterColumnSortOrder=[]),n.interColumnSortOrder=r.qInterColumnSortOrder.concat();var o=i.getValue(r,"qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder");o&&d.isOrderedSubset(o,n.interColumnSortOrder)&&(n.interColumnSortOrder=o.concat())},b=function(e){var t=e.exportFormat,r=e.properties;Object.keys(r).forEach((function(e){t.properties[e]=r[e]}))},v=function(e){var t=e.exportFormat,r=e.properties;r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((function(e){t.properties.hasOwnProperty(e)||(t.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===i.getValue(e,t)&&i.setValue(e,t,e.qLayoutExclude.changed[t].from)}))}(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!i.isEmpty(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude},y=function(e){e.forEach((function(e){f().cleanUpMeasure(e),e.qDef.modifiers&&(e.store={modifiers:e.qDef.modifiers},delete e.qDef.modifiers)}))};function x(e,t,r){var n,o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=i.getValue(e,t);if(!i.isAtomicValue(s))try{if((o=(o=(n=JSON.stringify(s)).match(/:\{/g))?o.length:0)>2&&!a)return;s=JSON.parse(n)}catch(e){return}i.getValue(e,"qLayoutExclude.quarantine")||i.setValue(e,"qLayoutExclude.quarantine",{});var l=i.getValue(e,"qLayoutExclude.quarantine");l[r]||(l[r]={}),l[r][t]=s}var S=r(909),C=r.n(S);function w(e,t){var r=C()(!0,{},t,e);return i.getValue(r,"qOtherTotalSpec.qOtherCounted")||i.setValue(r,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),i.getValue(r,"qOtherTotalSpec.qOtherLimit")||i.setValue(r,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),r.hasOwnProperty("othersLabel")||(r.othersLabel="Others"),r}function E(e,t){return C()(!0,{},t,e)}function R(e,t,r){return"function"==typeof e?e(t):Number.isNaN(+e)?r:e}var A=Math.pow(2,53)-1;function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const I=function(e,t,r){var n="masterobject"===i.getValue(t,"properties.qInfo.qType")?"masterobject":i.getValue(r,"qInfo.qType");i.setValue(e,"qInfo.qType",n),e.visualization=r.visualization},M=function(e,t,r){t.hasOwnProperty(e)&&(r[e]=t[e])},L=function(e,t,r,n){t.hasOwnProperty(e)?r[e]=t[e]:r[e]=n},D=function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},T=function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},_=function(e){var t,r=e.exportFormat,n=e.maxDimensions,o=e.minDimensions,i=e.newHyperCubeDef,a=e.defaultDimension,s=r.data[0];for(t=0;t<s.dimensions.length;++t){var l=w(s.dimensions[t],a);i.qDimensions.length<n?i.qDimensions.push(l):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(l)}for(t=0;t<s.excludedDimensions.length;++t){var u=w(s.excludedDimensions[t],a);i.qDimensions.length<o?i.qDimensions.push(u):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(u)}},O=function(e){var t,r=e.exportFormat,n=e.maxMeasures,o=e.minMeasures,i=e.newHyperCubeDef,a=e.defaultMeasure,s=r.data[0];for(t=0;t<s.measures.length;++t){var l=E(s.measures[t],a);i.qMeasures.length<n?i.qMeasures.push(l):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(l)}for(t=0;t<s.excludedMeasures.length;++t){var u=E(s.excludedMeasures[t],a);i.qMeasures.length<o?i.qMeasures.push(u):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(u)}},q=function(e){var t=e.exportFormat,r=e.dataDefinition,n=void 0===r?{}:r,o=t.data[0],i=n.dimensions||{max:0},a=n.measures||{max:0},s=R(a.max,o.dimensions.length,A),l=R(a.min,o.dimensions.length,0);return{maxDimensions:R(i.max,s,A),minDimensions:R(i.min,l,0),maxMeasures:s,minMeasures:l}},N=function(e){var t=e.exportFormat,r=e.newHyperCubeDef,n=t.data[0],o=r.qDimensions.length+r.qMeasures.length;r.qInterColumnSortOrder=n.interColumnSortOrder.concat();var i=r.qInterColumnSortOrder.length;if(i!==o)for(r.qLayoutExclude&&(r.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());i!==o;)i<o?(d.indexAdded(r.qInterColumnSortOrder,i),++i):(--i,d.indexRemoved(r.qInterColumnSortOrder,i))},j=function(e){var t=e.exportFormat,r=e.initialProperties,n=e.hypercubePath,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=C()(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&n?i.setValue(o,"".concat(n,".qHyperCubeDef"),t.properties.qHyperCubeDef):r.hasOwnProperty(e)||-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)||function(e,t){return"components"===t&&Array.isArray(e[t])&&e[t].some((function(e){return"general"===e.key}))}(t.properties,e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),null===(o=C()(!0,{},r,o)).components&&(o.components=[]),o},z=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=t.data[0];return a.dimensions.length>r&&r>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!r&&a.dimensions.length>0},F=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=e.newHyperCubeDef,s=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(s.dimensions.length>r&&r>0||s.excludedDimensions&&s.excludedDimensions.length&&s.dimensions.length+s.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(s.measures.length>o&&o>0||s.excludedMeasures&&s.excludedMeasures.length&&s.measures.length+s.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&s.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&s.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},H=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.dimensions&&"function"==typeof n.dimensions.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return P(e)}(t=a.qDimensions)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a.qDimensions=[],s.forEach((function(e){a.qDimensions.push(e),n.dimensions.added(e,r)}))}},$=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.measures&&"function"==typeof n.measures.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return k(e)}(t=a.qMeasures)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a.qMeasures=[],s.forEach((function(e){a.qMeasures.push(e),n.measures.added(e,r)}))}},B=function(e){var t=e.measures,r=e.modifierTypes;t&&r&&f().isSupportedModifiers(r)&&t.forEach((function(e){e.store&&e.store.modifiers&&(e.qDef.modifiers=e.store.modifiers),delete e.store}))};function W(e,t){var r=i.getValue(e,"qLayoutExclude.quarantine",{})[t];return!!r&&(Object.keys(r).forEach((function(t){i.setValue(e,t,r[t])})),delete e.qLayoutExclude.quarantine[t],!0)}const V={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},r=0;r<e;++r)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),a=t.qProperty,s=i.getValue(a,r||""),l=s.qHyperCubeDef;return l.qInterColumnSortOrder||(l.qInterColumnSortOrder=[]),h({exportFormat:o,qHyperCubeDef:l}),m({exportFormat:o,qHyperCubeDef:l}),g({exportFormat:o,qHyperCubeDef:l}),delete l.qLayoutExclude,b({exportFormat:o,properties:a}),r&&(o.properties.qHyperCubeDef=l,delete s.qHyperCubeDef),v({exportFormat:o,properties:a}),n||y(o.properties.qHyperCubeDef.qMeasures),Array.isArray(o.properties.filters)&&(x(o.properties,"filters","storedFilters",!0),delete o.properties.filters),o.properties.qHyperCubeDef.qContextSetExpression&&(x(o.properties,"qHyperCubeDef.qContextSetExpression","storedFilters"),o.properties.qHyperCubeDef.qContextSetExpression=""),o.properties.qHyperCubeDef.qDynamicScript&&o.properties.qHyperCubeDef.qDynamicScript.length&&(x(o.properties,"qHyperCubeDef.qDynamicScript","dynamicScript"),o.properties.qHyperCubeDef.qDynamicScript=[]),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=void 0===r?{}:r,o=e.dataDefinition,a=void 0===o?{}:o,s=e.defaultPropertyValues,l=void 0===s?{}:s,u=e.hypercubePath,c=e.extension,d=e.supportedFilters,p=void 0===d||d,f=e.isHCModifierSupported,h=void 0===f||f,m={qChildren:[]},g=j({exportFormat:t,initialProperties:n,hypercubePath:u}),b=i.getValue(n,u||"").qHyperCubeDef,v=i.getValue(g,u||"").qHyperCubeDef,y=q({exportFormat:t,dataDefinition:a}),x=y.maxDimensions,S=y.minDimensions,C=y.maxMeasures,w=y.minMeasures,E=l.defaultDimension,R=void 0===E?D():E,A=l.defaultMeasure,P=void 0===A?T():A;v.qDimensions.length=0,v.qMeasures.length=0,z({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:w})&&F({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:w,newHyperCubeDef:v}),_({exportFormat:t,maxDimensions:x,minDimensions:S,newHyperCubeDef:v,defaultDimension:R}),O({exportFormat:t,maxMeasures:C,minMeasures:w,newHyperCubeDef:v,defaultMeasure:P}),H({newProperties:g,dataDefinition:a,hypercubePath:u}),$({newProperties:g,dataDefinition:a,hypercubePath:u}),N({exportFormat:t,newHyperCubeDef:v}),M("qMaxStackedCells",b,v),M("qNoOfLeftDims",b,v),L("qInitialDataFetch",b,v,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),L("qMode",b,v,"S"),L("qReductionMode",b,v,"N"),L("qSortbyYValue",b,v),L("qIndentMode",b,v),L("qShowTotalsAbove",b,v),I(g,t,n),m.qProperty=g;var k=i.getValue(c||{},"support.modifiers");return B({measures:v.qMeasures,modifierTypes:k}),p&&W(m.qProperty,"storedFilters"),"S"===v.qMode&&h&&W(m.qProperty,"dynamicScript"),m}};var G={cellBackgroundColor:!0,cellForegroundColor:!0,colorByAlternative:!0,colorByExpression:!0,tooltip:!0,urlLabel:!0,url:!0};function U(e,t,r,n){t=t||[];var o=c(e,n,r),i=c(t,n,r);if(-1!==o&&-1===i){var a=e.splice(o,1);t.push(a[0])}return t}function Y(e,t){return e.length!==t}const K={create:function(e,t){if(!e||!G[e])throw new Error("Attribute Expressions Util: ID required");var r={};return t&&Object.keys(t).forEach((function(e){r[e]=t[e]})),r.id=e,r.qAttribute=!0,r},moveByIdFromGroup:function(e,t,r,n,o){r=r||"qAttributeExpressions",o=o||"id";for(var i=0;i<e.length;i++){var a=e[i][r],s=t.length;if(U(a,t,n,o),Y(t,s))return t}return t},IDMAP:{CELL_BACKGROUND_COLOR:"cellBackgroundColor",CELL_FOREGROUND_COLOR:"cellForegroundColor",COLOR_BY_ALTERNATIVE:"colorByAlternative",COLOR_BY_EXPRESSION:"colorByExpression",TOOLTIP:"tooltip",CELL_LINK_LABEL:"urlLabel",CELL_LINK_URL:"url"}},X={getNumDimensions:function(e){return i.getValue(e,"qHyperCubeDef.qDimensions.length",0)},getNumMeasures:function(e){return i.getValue(e,"qHyperCubeDef.qMeasures.length",0)},wrapFieldName:function(e){return e.split(" ").length>1&&"="!==e[0]&&"["!==e[0]?"[".concat(e,"]"):e},getItemLabel:function(e){return e.label||e.name}},J={colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>0&&X.getNumMeasures(e)<=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>0},expression:function(e){return X.getNumMeasures(e)>=1}}},Z={colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}};var Q={scatterplot:Z,"sn-scatter-plot":Z,piechart:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}},linechart:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)<=1},expression:function(e){return X.getNumMeasures(e)>=1}}},map:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>=1},expression:function(e){return X.getNumDimensions(e)>=1}}},distributionplot:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumDimensions(e)>=1}}}};function ee(e,t,r){if(Array.isArray(e[t])){var n=d.findIndexByPropertyValue(e[t],"id",r);n>=0&&e[t].splice(n,1)}else e[t]=[]}function te(e,t){var r=K.IDMAP.COLOR_BY_ALTERNATIVE;e.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)})),t.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)}))}function re(e,t){if(t){var r="="===t.charAt(0);e.color.altLabel=r?{qStringExpression:{qExpr:t.substr(1)}}:t}}function ne(e){var t=e.properties,r=e.isDimension,n=e.dimensions,o=e.excludedDimensions,a=e.measures,s=e.label;te(n,o);var l=n[n.length-1];if(l){var u=r?i.getValue(t,"color.byDimDef"):i.getValue(t,"color.byMeasureDef"),c=i.getValue(t,"color.formatting.qNumFormat"),p=i.getValue(t,"color.formatting.isCustomFormatted");if(u){var f=K.create(K.IDMAP.COLOR_BY_ALTERNATIVE);switch(u.type){case"expression":!function(e){var t=e.attributeExpression,r=e.label,n=e.item,o=e.isDimension,i=e.qNumFormat,a=e.isCustomFormatted;t.label=r||n.label,o?t.qDef=n.key:(t.qExpression=n.key,i&&(t.qNumFormat=i,t.isCustomFormatted=a)),t.matchMeasure=n.activeMeasureIndex,t.label&&"="===t.label.charAt(0)&&(t.labelExpRef="color.altLabel")}({attributeExpression:f,label:s,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p});break;case"libraryItem":!function(e){var t=e.attributeExpression,r=e.measures,n=e.item,o=e.qNumFormat,i=e.isCustomFormatted;e.isDimension||(t.matchMeasure=d.findIndexByPropertyValue(r,"qLibraryId",n.key),o&&(t.qNumFormat=o,t.isCustomFormatted=i)),void 0!==n.expression?t.qExpression=n.expression:t.qLibraryId=n.key,t.colorMapRef=n.key}({attributeExpression:f,measures:a,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p})}r?(f.qSortBy={qSortByAscii:1},l.qAttributeDimensions.push(f)):l.qAttributeExpressions.push(f)}}}function oe(e,t,r,n){var o,i,a,s={};switch(e){case"dimension":r.qLibraryId?(s.type="dimension",s.name=r.qLibraryId,s.id=r.qLibraryId):(s.type="field",t?(s.name=r.label||r.qDef,s.id=r.qDef):(s.name=r.qDef.qFieldDefs[0],s.label=(a=r.qDef).qLabelExpression?a.qLabelExpression:a.qFieldLabels&&a.qFieldLabels[0]?a.qFieldLabels[0]:a.qFieldDefs[0]));break;case"measure":o=function(e,t){return t?e.qLibraryId:f().measureBase.getLibraryId(e)}(r,t),o?(s.type="measure",s.name=o,s.id=o,i=function(e,t){return f().hasActiveModifiers({measures:[e]})&&t?e.qDef.qDef:void 0}(r,n),i&&(s.expression=i)):(s.type="expression",t?(s.name=r.label||r.qExpression,s.id=r.qExpression):(s.name=r.qDef.qDef,s.label=function(e){var t=e.qDef;return t.qLabelExpression?t.qLabelExpression:t.qLabel?t.qLabel:t.qDef}(r)));break;default:throw new Error('columnType should be "dimension" or "measure"')}return s}const ie={useMasterNumberFormat:function(e){e.quarantine={qNumFormat:e.qNumFormat||{},isCustomFormatted:e.isCustomFormatted||!1},e.qNumFormat=null,e.isCustomFormatted=void 0}};function ae(e,t,r,n){var o=t.type,i=e.color,a=i.mode,s=X.getItemLabel(t);switch(re(e,s||""),o){case"field":a="byDimension",i.byDimDef={label:t.label||X.wrapFieldName(t.name),key:X.wrapFieldName(t.name),type:"expression",activeDimensionIndex:t.activeDimensionIndex};break;case"expression":a="byMeasure",i.byMeasureDef={label:s,key:t.name,type:"expression",activeMeasureIndex:t.activeMeasureIndex};break;case"dimension":a="byDimension",i.byDimDef={label:t.name,key:t.id,type:"libraryItem",activeDimensionIndex:t.activeDimensionIndex};break;case"measure":a="byMeasure",i.byMeasureDef={label:t.name,key:t.id,expression:t.expression,type:"libraryItem",activeMeasureIndex:t.activeMeasureIndex},i.formatting&&ie.useMasterNumberFormat(i.formatting)}i.auto=!1,i.mode=a}function se(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byDimDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeDimensionIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"color.byDimDef");n.activeDimensionIndex=Math.min(n.activeDimensionIndex,r.length-1);var o=oe("dimension",!1,r[n.activeDimensionIndex]);o.activeDimensionIndex=n.activeDimensionIndex,ae(e,o)}(e,t);else if(function(e){return!e||!e.key}(a)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=r[function(e,t,r){var n=i.getValue(t,"visualization"),o=r.split("."),a=Number(o[1]),s=i.getValue(t,"layers.".concat(a,".type"));return 2===e.length&&"map"===n&&"point"===s}(r,e,t)?0:r.length-1],o=K.IDMAP.COLOR_BY_ALTERNATIVE,a=d.findItemByPropertyValue(n.qAttributeDimensions,"id",o);return ae(e,oe("dimension",!!a,a||n)),!!a}(e,t))return;ne({properties:e,isDimension:!0,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byDimDef.label")})}const le=function(e,t,r){i.setValue(e,t,r),i.isAtomicValue(r)&&function(e,t,r){var n=e.qLayoutExclude;n&&(n.changed||(n.changed={}),n.changed[t]={from:i.getValue(e,t),to:r})}(e,t,r)},ue=function(e,t){var r={primary:!0};if(e){var n=(Q[t]||J).colorModeOptions||J.colorModeOptions;r.byDimension=n.dimension(e),r.byMeasure=n.measure(e),r.byMultiple=n.multiColor(e),r.byExpression=n.expression(e)}return r},ce=function(e){var t=e.canColorBy,r=e.autoColor,n=e.colorMode,o=e.dimensions;return!(t[n]&&!r&&("byDimension"!==n&&"byMeasure"!==n||!o.length))},de=function(e,t){var r,n=i.getValue(e,"color.mode"),o=i.getValue(e,"color.auto"),a=i.getValue(e,"".concat(t,"qDimensions"),[]),s=i.getValue(e,"".concat(t,"qMeasures"),[]),l=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);o?te(a,l):!(r={auto:o,colorMode:n,dimensions:a}).auto&&"byDimension"===r.colorMode&&r.dimensions.length>0?se(e,t):function(e){var t=e.auto,r=e.colorMode,n=e.dimensions,o=e.measures,a=e.properties,s=i.getValue(a,"visualization");return!(t||"byMeasure"!==r||!n.length||"map"!==s&&!o.length)}({auto:o,colorMode:n,dimensions:a,measures:s,properties:e})?function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byMeasureDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeMeasureIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qMeasures"),[]),n=i.getValue(e,"color.byMeasureDef");if(n.activeMeasureIndex=Math.min(n.activeMeasureIndex,r.length-1),n.activeMeasureIndex>-1){var o=oe("measure",!1,r[n.activeMeasureIndex],!0);o.activeMeasureIndex=n.activeMeasureIndex,ae(e,o)}}(e,t);else if(function(e,t){return(!e||!e.key)&&t.length>0}(a,n)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=r[r.length-1],a=K.IDMAP.COLOR_BY_ALTERNATIVE,s=d.findItemByPropertyValue(o.qAttributeExpressions,"id",a);return ae(e,oe("measure",!!s,s||n[0])),!!s}(e,t))return;ne({properties:e,isDimension:!1,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byMeasureDef.label")})}(e,t):function(e,t){var r=i.getValue(e,"color.mode"),n=i.getValue(e,"".concat(t,"qDimensions"),[]),o=i.getValue(e,"".concat(t,"qMeasures"),[]),a=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);"byMultiple"===r&&o.length<2&&i.setValue(e,"color.mode","primary"),te(n,a)}(e,t)},pe=function(e){e.forEach((function(e){e.qOtherTotalSpec&&"qTotalMode"in e.qOtherTotalSpec&&delete e.qOtherTotalSpec.qTotalMode}))},fe=function(e){var t=e.shouldUpdateColorBy,r=e.properties,n=i.getValue(r,"qHyperCubeDef.qMeasures",[]),o=i.getValue(r,"color.mode","");return!t&&"byExpression"===o&&n.length>0},he=function(e){var t=i.getValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",[]),r=i.getValue(e,"color.colorExpression","");t.splice(0,0,{qExpression:r,id:"colorByExpression"}),i.setValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",t)},me=function(e){i.setValue(e,"color.mode","primary"),i.setValue(e,"color.auto",!0)},ge=function(e){var t=i.getValue(e,"qHyperCubeDef.qDimensions",[]),r=i.getValue(e,"color.persistent",!1);return t.length>1&&!r},be={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=V.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),i=o.data[0],a=i.dimensions.concat(i.excludedDimensions),s=i.measures.concat(i.excludedMeasures),l=K.IDMAP,u=l.COLOR_BY_ALTERNATIVE,c=l.COLOR_BY_EXPRESSION;return K.moveByIdFromGroup(a,[],"qAttributeDimensions",u),K.moveByIdFromGroup(a,[],"qAttributeExpressions",u),K.moveByIdFromGroup(s,[],"qAttributeExpressions",c),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,a=e.hypercubePath,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=V.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:a,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty,p=i.getValue(d,"visualization"),f=i.getValue(d,"qHyperCubeDef.qDimensions",[]),h=i.getValue(d,"color.mode",""),m=i.getValue(d,"color.auto",""),g=ue(d,p),b=ce({canColorBy:g,autoColor:m,colorMode:h,dimensions:f});return g[h]?fe({shouldUpdateColorBy:b,properties:d})&&he(d):me(d),b&&de(d,"qHyperCubeDef."),ge(d)&&le(d,"color.persistent",!0),pe(f),c}};var ve=["bar","marker","line"];const ye=function(e){var t=e.initialProperties,r=e.properties;t.measureAxis&&void 0===t.measureAxis.autoMinMax?W(r,"unsupportedAutoMinMax")||C()(r.measureAxis,t.measureAxis):W(r,"supportedAutoMinMax")||C()(r.measureAxis,t.measureAxis)},xe=function(e){var t,r=e.exportFormat,n=e.initialProperties,o=e.properties,i=e.measureType,a=o.qHyperCubeDef,s=o.measureAxis;if(function(e){var t=e.initialProperties;return!(!e.exportFormat.properties.measureAxes||t.measureAxes||!t.measureAxis||void 0===t.measureAxis.autoMinMax)}({exportFormat:r,initialProperties:n})){var l=function(e){var t=[];return e.qMeasures.length>0&&e.qMeasures.forEach((function(e){if(e.qDef.series){var r=e.qDef.series,n=r.type,o=r.axis;t[o]||(t[o]={axis:o,type:{line:0,marker:0,bar:0,total:0}}),ve.includes(n)&&t[o].type[n]++,t[o].type.total++}})),t}(a);l.length?(i&&(t=l.filter((function(e){return e.type[i]>0})).sort((function(e,t){return t.type[i]-e.type[i]}))),t&&t.length||(t=l.sort((function(e,t){return t.type.total-e.type.total}))),t&&t[0]&&C()(s,r.properties.measureAxes[t[0].axis])):C()(s,r.properties.measureAxes[0])}},Se=function(e){if(e.qDimensions.length>1){var t=e.qInterColumnSortOrder.indexOf(0);if(0!==t){var r=e.qInterColumnSortOrder[0];e.qInterColumnSortOrder[0]=0,e.qInterColumnSortOrder[t]=r}}},Ce={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=e.supportedAutoMinMax,i=void 0===o||o,a=be.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),s=a.properties;return i?(x(s,"measureAxis.min","supportedAutoMinMax"),x(s,"measureAxis.max","supportedAutoMinMax")):(x(s,"measureAxis.min","unsupportedAutoMinMax"),x(s,"measureAxis.max","unsupportedAutoMinMax")),a},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,i=e.hypercubePath,a=e.measureType,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=be.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:i,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty;return ye({initialProperties:r,properties:d}),xe({exportFormat:t,initialProperties:r,properties:d,measureType:a}),Se(d.qHyperCubeDef),d.qHyperCubeDef.qColumnOrder=[],d.qHyperCubeDef.columnOrder=[],c}};function we(e,t,r){return"qLayoutExclude.quarantine.".concat(e,".").concat(t,".").concat(r)}function Ee(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,a);if(void 0!==s){var l=i.getValue(o,"qDef.cId");l||(l=i.generateId(),i.setValue(o,"qDef.cId",l));var u=we(r,n,l);i.setValue(t,u,s),i.setValue(o,a,void 0)}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}function Re(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,"qDef.cId");if(s){var l=we(r,n,s),u=i.getValue(t,l);void 0!==u&&(i.setValue(o,a,u),i.setValue(t,l,void 0))}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}var Ae="qHyperCubeDef.qMeasures",Pe="conditionalColoring",ke="measures",Ie="qDef.conditionalColoring";const Me={quarantine:function(e){Ee({properties:e,arrayPath:Ae,quarantineName:Pe,arrayName:ke,itemPath:Ie})},unquarantine:function(e){Re({properties:e,arrayPath:Ae,itemPath:Ie,arrayName:ke,quarantineName:Pe})}};var Le="qHyperCubeDef.qMeasures",De="measures",Te="qHyperCubeDef.qDimensions",_e="dimensions",Oe="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",qe="alternativeMeasures",Ne="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions",je="alternativeDimensions",ze="qCalcCondition",Fe="conditionalShowHide";const He={quarantine:function(e){Ee({properties:e,arrayPath:Le,quarantineName:Fe,arrayName:De,itemPath:ze}),Ee({properties:e,arrayPath:Te,quarantineName:Fe,arrayName:_e,itemPath:ze})},unquarantine:function(e){Re({properties:e,arrayPath:Le,quarantineName:Fe,arrayName:De,itemPath:ze}),Re({properties:e,arrayPath:Te,quarantineName:Fe,arrayName:_e,itemPath:ze})},quarantineAlternative:function(e){Ee({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:ze}),Ee({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:je,itemPath:ze})},unquarantineAlternative:function(e){Re({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:ze}),Re({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:je,itemPath:ze})}},$e={hypercube:V,colorChart:be,axisChart:Ce,quarantineProperty:x,unquarantineProperty:W,quarantineArrayProp:Ee,unquarantineArrayProp:Re,conditionalColoring:Me,conditionalShow:He}})(),n.default})()}(YC);var KC=Et(YC.exports);const XC="qHyperCubeDef.qMeasures",JC="measures",ZC="qHyperCubeDef.qDimensions",QC="dimensions",ew="qDef.representation",tw="tableRepresentation",rw="qDef.conditionalColoring",nw="conditionalColoring",ow="qMiniChartDef",iw="miniChartDef",aw=e=>{let{propertyTree:t,hyperCubePath:r}=e;const n=KC.hypercube.exportProperties({propertyTree:t,hyperCubePath:r}),{qHyperCubeDef:{qColumnOrder:o,qDimensions:i,qMeasures:a}}=n.properties,s=((e,t,r)=>{const n=e.length+t.length,o=(r?.length===n?r:Array.from(Array(n).keys())).map((r=>((e,t,r)=>{const n=t.length,o=e<n?t[e]:r[e-n],{columnWidth:i}=o.qDef;return i||-1})(r,e,t)));return o})(i,a,o);return FC(n,"properties.qHyperCubeDef",{...n.properties.qHyperCubeDef,columnWidths:s}),KC.quarantineProperty(n.properties,"qHyperCubeDef.columnWidths","straightTableColumnWidths"),KC.quarantineProperty(n.properties,"qHyperCubeDef.qColumnOrder","straightTableColumnOrder"),KC.quarantineProperty(n.properties,"qHyperCubeDef.columnOrder","straightTableColumnOrder"),(e=>{KC.quarantineArrayProp({properties:e,arrayPath:ZC,itemPath:ew,arrayName:QC,quarantineName:tw}),KC.quarantineArrayProp({properties:e,arrayPath:XC,itemPath:ew,arrayName:JC,quarantineName:tw}),KC.quarantineArrayProp({properties:e,arrayPath:XC,itemPath:rw,arrayName:JC,quarantineName:nw}),KC.quarantineArrayProp({properties:e,arrayPath:XC,itemPath:ow,arrayName:JC,quarantineName:iw})})(n.properties),n};const sw=/^q[A-Z]/,lw=[/\bqnDec\b/,/\bqv\b/,/\bcId\b/,/^title$/,/^subtitle$/,/^footnote$/,/^qLayoutExclude\b.+/],uw=e=>"object"==typeof e&&null!==e,cw=(e,t)=>(Object.entries(e).forEach((r=>{let[n,o]=r;const i=void 0===t?n:`${t}.${n}`;((e,t)=>!sw.test(e)&&!lw.some((e=>e.test(t))))(n,i)?delete e[n]:Array.isArray(o)?e[n]=o.map(((e,t)=>uw(e)?cw(e,`${i}.${t}`):e)):uw(o)&&(e[n]=cw(o,i))})),e),dw=(e,t,r,n)=>{let o=t;n&&(o=t-n);const i=JSON.parse(JSON.stringify(e[o]));if(Array.isArray(r)&&r.length>0){const e=r[t];null===e||Array.isArray(e)||"object"!=typeof e?i.qDef.columnWidth="number"==typeof e&&e>0?{type:SS.Pixels,pixels:e}:{type:SS.FitToContent}:i.qDef.columnWidth=e}return i},pw=e=>{let{exportFormat:t,initialProperties:r,extension:n,hypercubePath:o,defaultPropertyValues:i,viewDataMode:a}=e;if(a){try{t=structuredClone(t)}catch(e){console.error("Failed to copy source properties",e)}cw(t.properties)}const s=KC.hypercube.importProperties({exportFormat:t,initialProperties:r,dataDefinition:{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}},defaultPropertyValues:i,hypercubePath:o,extension:n});if(KC.conditionalShow.unquarantine(s.qProperty),a)FC(s,"qProperty.totals.show",!1),FC(s,"qProperty.usePagination",!0);else{KC.unquarantineProperty(s.qProperty,"straightTableColumnOrder"),(e=>{KC.unquarantineArrayProp({properties:e,arrayPath:ZC,itemPath:ew,arrayName:QC,quarantineName:tw}),KC.unquarantineArrayProp({properties:e,arrayPath:XC,itemPath:ew,arrayName:JC,quarantineName:tw}),KC.unquarantineArrayProp({properties:e,arrayPath:XC,itemPath:rw,arrayName:JC,quarantineName:nw}),KC.unquarantineArrayProp({properties:e,arrayPath:XC,itemPath:ow,arrayName:JC,quarantineName:iw})})(s.qProperty);const{qHyperCubeDef:{qDimensions:e,qMeasures:t,qColumnOrder:r,columnWidths:n}}=s.qProperty,{dimensions:o,measures:i}=((e,t,r,n)=>{const o=e.length,i=o+t.length,a=r?.length===i?r:Array.from(Array(i).keys());return{dimensions:a.filter((e=>e<o)).map((t=>dw(e,t,n))),measures:a.filter((e=>e>=o)).map((e=>dw(t,e,n,o)))}})(e,t,r,n);Array.isArray(n)&&n.length>0&&(FC(s,"qProperty.qHyperCubeDef.qDimensions",o),FC(s,"qProperty.qHyperCubeDef.qMeasures",i))}return s};var fw={component:"items",items:{columnHandler:{component:"column-handler",search:!0,selectAll:!1}},classification:{tags:["exploration"],exclusive:!0}};function hw(e,t){let r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)}function mw(e,t){let r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function gw(e){return e>0?0:1}function bw(e){return e.translator.get("Visualizations.Descriptions.Column")}function vw(e){return{measures:{min:gw,max:1e3,description:()=>bw(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;hw(n,r.getDimensions().length+r.getMeasures().length-1)},remove(e,t,r,n){const{qColumnOrder:o}=r.hcProperties;mw(o,(r.hcProperties.qDimensions?r.hcProperties.qDimensions.length:0)+n)}},dimensions:{min:gw,max:1e3,description:()=>bw(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;return hw(n,r.getDimensions().length-1),e},remove(e,t,r,n){if(e?.isAlternative)return;const{qColumnOrder:o}=r.hcProperties;mw(o,n)}}}}let yw=function(e){return e.Text="text",e.Link="link",e.Image="image",e.ImagesInIndentMode="imagesInIndentMode",e.Indicator="indicator",e.MiniChart="miniChart",e.EditableText="editableText",e.EditableSelector="editableSelector",e}({}),xw=function(e){return e.Attribute="attribute",e.Dimension="dimension",e}({});const Sw=e=>{switch(e?.type){case"url":return yw.Link;case"image":return yw.Image;case"indicator":return yw.Indicator;case"miniChart":return yw.MiniChart;default:return yw.Text}},Cw=e=>{let{isImagesEnabled:t}=e;return{uses:"dimensionRepresentationItems.representationType",options(e,r,n){const{qIndentMode:o}=n.properties.qHyperCubeDef,i=[{value:"text",translation:"Object.Table.Representation.Text"},{value:"url",translation:"Object.Table.Representation.Link"}];return(!o&&t||o)&&i.push({value:"image",translation:"Object.Table.Representation.Image"}),i}}},ww=e=>{if(e)return{representationImage:{uses:"dimensionRepresentationItems.representationImage",show:e=>Sw(e.qDef.representation)===yw.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]},imageBoxWidth:{ref:"qDef.representation.imageBox.width",translation:"properties.pivot.representation.image.imageBox.width",type:"number",expression:"optional",defaultValue:24,show:(e,t,r)=>{if(!r.properties.qHyperCubeDef)return!1;const{qInterColumnSortOrder:n,qNoOfLeftDims:o,qDimensions:i,qIndentMode:a}=r.properties.qHyperCubeDef;let s=!1;n?.indexOf(-1);const l=i?.indexOf(e)??1/0;return(n?.slice(0,o)??[]).indexOf(l)>-1&&(s=!0),s&&a}}}}}},Ew=e=>{const{anything:t,flags:r}=e,n=r.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!t.sense?.isUnsupportedFeature?.("tableImages");return{representationType:Cw({isImagesEnabled:n}),representationUrlPosition:{uses:"dimensionRepresentationItems.representationUrlPosition",show:e=>Sw(e.qDef.representation)===yw.Link},representationUrlLabel:{uses:"dimensionRepresentationItems.representationUrlLabel",show:e=>Sw(e.qDef.representation)===yw.Link&&e.qDef.representation?.urlPosition===xw.Dimension},representationLinkUrl:{uses:"dimensionRepresentationItems.representationLinkUrl",show:e=>Sw(e.qDef.representation)===yw.Link&&e.qDef.representation?.urlPosition===xw.Attribute},...ww(n)}},Rw=(e,t)=>{const{anything:r}=e,n=r.sense?.isUnsupportedFeature,o=!n?.("tableImages")&&t[yw.Image],i=!n?.("qMiniChartDef")&&t[yw.MiniChart],a=!n?.("tableIndicators")&&t[yw.Indicator],s=o&&t[yw.ImagesInIndentMode];return{representationType:{uses:"measureRepresentationItems.representationType",options:(e,t,r)=>(e=>{const{qIndentMode:t}=e.properties.qHyperCubeDef??{},r=[{value:"text",translation:"Object.Table.Representation.Text"}];return(!t&&o||t&&s)&&r.push({value:"image",translation:"Object.Table.Representation.Image"}),a&&r.push({value:"indicator",translation:"Object.Table.Representation.Indicator"}),i&&r.push({value:"miniChart",translation:"Common.MiniChart"}),r})(r)},representationImage:o?{uses:"measureRepresentationItems.representationImage",show:e=>Sw(e.qDef.representation)===yw.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]}}}:void 0,representationIndicator:a?{uses:"measureRepresentationItems.representationIndicator"}:void 0,representationMiniChart:i?{uses:"measureRepresentationItems.representationMiniChart"}:void 0}};var Aw={};!function(e){(()=>{var t={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.r(o),n.d(o,{default:()=>qe});var i=n(909),a=n.n(i);const s=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},l=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},u={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var c="".concat(" ","(").concat(" "),d="".concat(" ",")").concat(" ");function p(e){return c+e+d}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function h(e){return!(!e.fullAccumulation&&!e.fullRange)}function m(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function g(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function b(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function v(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function y(e){return void 0===e?")":", 0, ".concat(e,")")}function x(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function S(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(x("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(x("MaxString(".concat(t,")")),")'\"}")}function C(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=S(f(n[0],o),b(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var c=f(n[0],o),d=f(n[1],o),p=b(0),h=b(1),m=S(c,p),g=S(d,h);return"".concat(a,"({1<").concat(m,",").concat(g,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function w(e){return"".concat(e,"(")}function E(e){var t=e.properties,r=e.layout;return l(t,"qHyperCubeDef.qDimensions",l(r,"qHyperCube.qDimensionInfo",[])).length}const R={isFullRange:h,getNumDimensions:E,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=p(g(t));if(!r.showExcludedValues)return a;var s=C({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var u=b(0);return"If(Count(".concat(u,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var c=b(0),d=b(1);return"If(Count(".concat(c,") * Count(").concat(d,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:m,getNumStepComp:function(e,t){if(!h(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return m(e,t)},getAboveCompPrefix:v,getAboveCompSuffix:y,getAboveComp:function(e,t,r,n){return v(e,t)+r+y(n)},getFunctionPrefix:w,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return w(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:C,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout;return 0===function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t)&&2===E({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=b(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:g,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(c);if(-1!==r){var n=t.indexOf(d);if(-1!==n)return t.substring(r+c.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:f,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=E({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:p,canExtract:function(e){var t=e.indexOf(c),r=e.indexOf(d);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:b,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=u.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?u.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(u.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return u.EXPRESSIONS[r]&&n.includes(u.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}var k=a().bind(null,!0),I={},M=Array.isArray;function L(e){return null!=e&&!Array.isArray(e)&&"object"===P(e)}function D(e){return void 0===e}function T(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function _(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=D(e[r||t])?i:e[t],e=e[r||t]}})),e}function O(e,t){var r=!0;if(L(e)&&L(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){O(e[n],t[n])||(r=!1)})),r);if(M(e)&&M(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!O(e[n],t[n]))return!1;return!0}return e===t}I.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?k({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);O(i,a)||T(t,o)||(D(a)?n.push({op:"add",path:s,value:i}):L(i)&&L(a)?n=n.concat(I.generate(a,i,s)):M(i)&&M(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&D(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(O(t,o))return n;if(!D(t[0])&&D(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(I.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){D(t[o])&&!T(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},I.apply=function(e,t){t.forEach((function(t){var r,n,o=_(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(M(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(M(a)&&M(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return A(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}else if(L(a)&&L(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!T(r,e)&&delete r[e]})),k(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=_(e,t.from);M(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(M(o)?o.splice(+i,1):delete o[i])}))},I.clone=function(e){return k({},e)},I.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},I.updateObject=function(e,t){Object.keys(e).length?I.apply(e,I.generate(e,t)):k(e,t)};const q=I,N=function(e,t,r){if(!e)return Promise.resolve();var n=q.generate(t,r);return a()(!0,t,r),n&&n.length?(n=n.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(n,!0)):Promise.resolve()};var j="accumulation";function z(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===j)return r[n]}function F(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===j)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var H={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const $={translationKey:"properties.modifier.accumulation",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var s=i;void 0===s&&(s=R.getNumDimensions({properties:n,layout:o}));var u=l(n,"qHyperCubeDef.qDimensions",[]),c=R.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=R.getNumStepComp(r,s),p=R.getAboveComp(r,s,c,d),f=R.getRangeComp("RangeSum",p);if(R.needDimension({modifier:r,properties:n,layout:o})){var h=R.getDimComp(u,1),m=R.getDimComp(u,0),g=R.getAggrComp(f,h,m);f=r.showExcludedValues?R.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,valueComp:g}):g}return f},extractInputExpression:R.extractInputExpression,initModifier:function(e){R.initModifier(e,H)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(F(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(F(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(F(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(F(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=z(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=z(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(F(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(j))return!1;var i=z(t,e);return i&&!i.disabled}}}};var B="movingAverage";function W(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===B)return r[n]}function V(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===B)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var G={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const U={translationKey:"properties.modifier.movingAverage",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,i=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!n)return r;var u=a;void 0===u&&(u=R.getNumDimensions({properties:o,layout:i}));var c=l(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=R.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:s,treatMissingAsNull:d}),f=R.getNumStepComp(n,u),h=R.getAboveComp(n,u,p,f);if(n.nullSuppression)t=R.getRangeComp("RangeAvg",h);else{var m=R.getRangeComp("RangeSum",h),g=function(e,t){var r=R.getRowNoComp(e,t);if(!R.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(R.needDimension({modifier:n,properties:o,layout:i})){var v=R.getDimComp(c,1),y=R.getDimComp(c,0),x=R.getAggrComp(b,v,y);b=n.showExcludedValues?R.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:s,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:R.extractInputExpression,initModifier:function(e){R.initModifier(e,G)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(V(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(V(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(V(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(V(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=W(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=W(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat(V(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat(V(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(B))return!1;var i=W(t,e);return i&&!i.disabled}}}};var Y="timeSeriesDecomposition";function K(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===Y)return r[n]}function X(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===Y)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var J={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const Z={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?R.generateTSDExpression(r,t,n):t},extractInputExpression:R.extractInputExpression,initModifier:function(e,t){R.initModifier(e,J),""===e.decomposition&&t&&(e.decomposition=R.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(X(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:u.OPTIONS},steps:{refFn:function(t){return"".concat(X(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=K(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=K(t,e);return r&&!r.fullRange}}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(Y))return!1;var i=K(t,e);return i&&!i.disabled}}}};var Q="difference";function ee(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===Q)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var te={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const re={translationKey:"properties.modifier.difference",needDimension:R.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:R.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var s=i;void 0===s&&(s=R.getNumDimensions({properties:n,layout:o}));var u=l(n,"qHyperCubeDef.qDimensions",[]),c=R.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=R.getAboveComp(r,s,c),p="".concat(c," - ").concat(d);if(R.needDimension({modifier:r,properties:n,layout:o})){var f=R.getDimComp(u,1),h=R.getDimComp(u,0),m=R.getAggrComp(p,f,h);p=r.showExcludedValues?R.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(te).forEach((function(t){void 0===e[t]&&(e[t]=te[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(ee(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(ee(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(ee(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(Q))return!1;var i=function(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===Q)return r[n]}(t,e);return i&&!i.disabled}}}},ne=0,oe=1,ie=2,ae=0,se=1,le=2;var ue="normalization";function ce(e,t){var r=l(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===ue)return r[n]}function de(e,t){var r=function(e,t){var r=l(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===ue)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function pe(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var fe={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:le,selectionScope:ie};function he(e){return 2===e?"{1}":""}function me(e,t,r){return 1===e?"{$<".concat(R.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function ge(e,t){return 0===e&&t>1||2===e?"Total":""}function be(e,t,r){return 0===e&&t>1?"<".concat(R.getDimDefWithWrapper(r),">"):""}const ve={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return R.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:R.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var s=i;void 0===s&&(s=R.getNumDimensions({properties:n,layout:o}));var u=l(n,"qHyperCubeDef.qDimensions",[]),c=R.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=he(t),l=me(t,r,n),u=""===s&&""===l?"":s||l,c=ge(o,i),d=be(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=R.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,s,r.primaryDimension)},initModifier:function(e){Object.keys(fe).forEach((function(t){void 0===e[t]&&(e[t]=fe[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!R.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(de(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:ie,options:function(r){return function(e,t,r){var n=[{value:ne,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:oe,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:ie,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=pe(t,0);t.splice(r,1)}return t}(ce(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(de(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return ce(t,e).selectionScope===oe}},value:{refFn:function(t){return"".concat(de(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return ce(t,e).selectionScope===oe}},dimensionalScope:{refFn:function(t){return"".concat(de(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:le,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:ae,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:se,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:le,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=pe(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=pe(t,1);t.splice(r,1)}return t}(ce(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(de(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return(ce(t,e).dimensionalScope||0)===ae&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return R.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(ue))return!1;var i=ce(t,e);return i&&!i.disabled}}},getDisregardSelectionComp:he,getFieldSelectionComp:me,getTotalComp:ge,getSelectedDimComp:be};var ye="library id deleted",xe="qDef.qDef",Se="qDef.base.qDef",Ce="qLibraryId",we="qDef.base.qLibraryId",Ee="qDef.qLabel",Re="qDef.qLabelExpression",Ae="qDef.base.qLabel",Pe="qDef.base.qLabelExpression",ke="qDef.qAggrFunc",Ie="qDef.base.qAggrFunc",Me="qDef.base";const Le={getExpression:function(e){var t=l(e,Se);return void 0!==t?t:l(e,xe)},getExpressionRef:function(e){return void 0!==l(e,Se)?Se:xe},getLibraryIdRef:function(e){return l(e,we)?we:Ce},getLibraryId:function(e){return l(e,we)||l(e,Ce)},getLabelRef:function(e){return l(e,Me)?Ae:Ee},getLabelExpressionRef:function(e){return l(e,Me)?Pe:Re}};var De={initBase:function(e,t){(t||De.isValid(e))&&(s(e,Se,l(e,xe)),s(e,we,l(e,Ce)),s(e,Ae,l(e,Ee)),s(e,Pe,l(e,Re)))},restoreBase:function(e){De.isValid(e)&&(s(e,xe,l(e,Se)),s(e,Ce,l(e,we)),s(e,Ee,l(e,Ae)),s(e,Re,l(e,Pe)),l(e,ke)&&l(e,Ie)&&s(e,ke,l(e,Ie)),delete e.qDef.base)},isValid:function(e){var t=l(e,Se),r=l(e,we);return void 0!==t||void 0!==r}};const Te=De;function _e(e){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(e)}var Oe={accumulation:$,movingAverage:U,difference:re,normalization:ve,timeSeriesDecomposition:Z};const qe={modifiers:Oe,apply:je,applyModifiers:ze,cleanUpMeasure:Fe,destroy:function(e){e&&Ne[e.id]&&Ne[e.id].masterItemSubscriber&&(Ne[e.id].masterItemSubscriber&&Ne[e.id].masterItemSubscriber.unsubscribe(),delete Ne[e.id])},hasActiveModifiers:He,getActiveModifier:$e,initBase:Te.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Oe[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Oe[e]&&Oe[e].isApplicable({properties:r,layout:n})}))},measureBase:Le,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Ve(e);Ze({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||nt({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:Be};var Ne={};function je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.properties,n=e.isSnapshot,o=void 0!==n&&n,i=e.masterItem,s=!1;Ne[t.id]=Ne[t.id]||{isFirstTime:!0};var u=Ne[t.id].isFirstTime;if(Ne[t.id].isFirstTime=!1,r&&"object"===_e(r))return ze({model:t,properties:r});var c=t?t.layout:void 0,d=l(c,"qSelectionInfo.qInSelections");if(o||d)return Promise.resolve(s);var p=l(c,"qHyperCube.qMeasureInfo"),f=Ne[t.id].lastReloadTime;if(Ne[t.id].lastReloadTime=l(t,"app.layout.qLastReloadTime"),He({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return l(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Je({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:t,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Ze({modifiers:Ve(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:i,isFirstTime:u})?t.getEffectiveProperties().then((function(e){var r=a()(!0,{},e);Ue(r);var n=ot(r);return Qe({model:t}).then((function(o){return et({libraryIds:n,model:t}).then((function(n){return h&&function(e){var t=e.properties;We(t).forEach((function(e){return function(e){var t=e.measure;if(Je({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===_e(e)&&!e.disabled){if(r++,"object"!==_e(Oe[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Oe[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&Ke(t)&&R.simplifyExpression(t.qDef.base.qDef)!==R.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:r}),ze({model:t,oldProperties:e,properties:r,runUpdateIfChange:!0,masterItem:i,libraryItemsProps:n,dimensionAndFieldList:o})}))})).catch((function(){return Promise.resolve(s)}))})):Promise.resolve(s)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===_e(e.base)}))}(p)?t.getEffectiveProperties().then((function(e){return function(e){var t=e.model,r=e.properties,n=ot(r);return it({model:t,libraryIds:n}).then((function(){var e=a()(!0,{},r);return We(r).forEach((function(e){return Fe(e)})),rt({oldProperties:e,newProperties:r,model:t})}))}({model:t,properties:e})})):Promise.resolve(s)}function ze(e){var t=e.model,r=e.oldProperties,n=e.properties,o=e.measures,i=e.runUpdateIfChange,s=void 0!==i&&i,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===r&&(r=s?a()(!0,{},n):n),Ue(n);var p=ot(n);return it({model:t,libraryIds:p,masterItem:u}).then((function(){return function(e){var t=e.measures,r=e.properties,n=e.model,o=e.libraryItemsProps,i=e.dimensionAndFieldList;if(t||(t=We(r)),!t.length)return Promise.resolve();if(!o&&!He({measures:t,properties:r}))return t.forEach((function(e){return Fe(e)})),Promise.resolve();var s=o?void 0:ot(r);return Qe({model:n,dimensionAndFieldList:i}).then((function(e){return et({libraryIds:s,model:n,libraryItemsProps:o}).then((function(n){t.forEach((function(t){var o=t.qDef.modifiers;n&&Ze({modifiers:o,properties:r})?(function(e){var t=e.measure,r=e.properties,n=e.libraryItemsProps,o=e.dimensionAndFieldList,i=0;Te.isValid(t)||Te.initBase(t,!0);var s=t.qDef,u=s.modifiers,c=s.base;Array.isArray(u)&&u.forEach((function(e){if("object"===_e(e)&&!e.disabled){if(i++,"object"!==_e(Oe[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(i>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Oe[e.type].initModifier(e,t);var s=t.qLibraryId||c&&c.qLibraryId;s?function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList,i=e.libraryItemsProps[e.libraryId],s=i.qMeasure.qDef,l=""===s?s:Oe[r.type].generateExpression({expression:s,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=l,t.qDef.qDef=r.outputExpression,(t.qDef.qLabel||i.qMeasure.qLabel)&&(t.qDef.qLabel=i.qMeasure.qLabel),(t.qDef.qLabelExpression||i.qMeasure.qLabelExpression)&&(t.qDef.qLabelExpression=i.qMeasure.qLabelExpression),t.qDef.quarantine&&t.qDef.quarantine.qNumFormat&&i.qMeasure.qNumFormat&&(t.qDef.qNumFormat=i.qMeasure.qNumFormat,t.qDef.isCustomFormatted=i.qMeasure.isCustomFormatted),delete t.qLibraryId,t.qDef.coloring=i.qMeasure.coloring,r.base=a()(!0,{},t.qDef.base)}({measure:t,modifier:e,libraryId:s,properties:r,libraryItemsProps:n,dimensionAndFieldList:o}):function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList;"function"==typeof Oe[r.type].updateModifier&&Oe[r.type].updateModifier(r,n.qHyperCubeDef);var i=Le.getExpression(t),s=""===i?i:Oe[r.type].generateExpression({expression:i,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=s,t.qDef.qDef=r.outputExpression,t.qDef.base.qLabelExpression?t.qDef.qLabelExpression=t.qDef.base.qLabelExpression:t.qDef.qLabel=t.qDef.base.qLabel||i,r.base=a()(!0,{},t.qDef.base)}({measure:t,modifier:e,properties:r,dimensionAndFieldList:o}),function(e){var t=l(e,"qDef.qAggrFunc");"Expr"!==t||Be(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&Be(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(t)}}))}({measure:t,properties:r,libraryItemsProps:n,dimensionAndFieldList:e}),Ye(t)):Fe(t)}))}))}))}({measures:o,properties:n,model:t,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return s?rt({oldProperties:r,newProperties:n,model:t}):Promise.resolve(!1)}))})).catch((function(){return Promise.resolve(!1)}))}function Fe(e){!function(e){var t=Ve(e);return Array.isArray(t)&&t.some((function(e){return"object"===_e(e)&&!e.disabled&&!Oe[e.type]}))}(e)?Te.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Ye(e)}function He(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ze({modifiers:Ve(e),properties:r,layout:n})}))}function $e(e){var t=Ve(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Oe[n.type]&&!n.disabled)return n}}function Be(e){var t=$e(e);return!t||Oe[t.type].enableTotalsFunction(e)}function We(e){return l(e,"qHyperCubeDef.qMeasures",[]).concat(l(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Ve(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function Ge(e){return l(e,"outputExpression.qValueExpression.qExpr")||l(e,"outputExpression")}function Ue(e){We(e).forEach((function(e){return function(e){var t=$e(e);t&&(void 0!==t.outputExpression&&Ge(t)!==e.qDef.qDef?delete e.qDef.base:!Te.isValid(e)&&t.base&&(e.qDef.base=a()(!0,{},t.base)))}(e)}))}function Ye(e){var t=Ve(e);Array.isArray(t)&&t.forEach((function(t){"object"===_e(t)&&(t.disabled||!Oe[t.type]&&Ge(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function Ke(e){return e.base||e.qDef&&e.qDef.base}function Xe(e){var t=Ke(e);return e.qLibraryId||t&&t.qLibraryId}function Je(e){var t=e.measure,r=e.properties,n=e.layout;return!Xe(t)&&Ze({modifiers:Ve(t),properties:r,layout:n})}function Ze(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==_e(e)||e.disabled||!Oe[e.type])&&(void 0===o[e.type]&&(o[e.type]=Oe[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Qe(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function et(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a})).catch((function(){return null}))}function tt(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function rt(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(l(t,"qHyperCubeDef.qMeasures"),tt)!==JSON.stringify(l(r,"qHyperCubeDef.qMeasures"),tt)||JSON.stringify(l(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),tt)!==JSON.stringify(l(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),tt);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&l(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):N(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function nt(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===_e(e)&&!e.disabled&&Oe[e.type]&&Oe[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function ot(e){var t=We(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Ve(t);if(Ze({modifiers:n,properties:e})){var i=Xe(t);i&&r.push(i),o=o||nt({modifiers:n,properties:e})}})),l(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function it(e){var t=e.model,r=e.libraryIds,n=e.masterItem;return!n&&n!==ye&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(Ne[t.id].masterItemSubscriber=Ne[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},i={},a={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function s(e){var t={},r=l(e,"qInfo.qType");return r&&a[r]&&a[r].forEach((function(r){t[r]=l(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=s(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(){Object.keys(n).forEach((function(e){o[e]||i[e]||(n[e].listener.dispose(),n[e].unbindCloseListnener(),delete n[e])}))}var d=function(e,t){return e.once("closed",t),function(){return e.removeListener("closed",t)}};function p(e,o){return t.app[o](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),unbindCloseListnener:d(t,(function(){return e=t.id,r(ye),delete n[e],void c();var e})),enabled:!1,properties:s(t.layout)}})).catch((function(){}))}return{subscribe:function(e){var r=e.measureLibraryIds,a=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),i={},t.forEach((function(e){i[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:a}),c(),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(p(e,"getMeasure"))})),Object.keys(i).forEach((function(e){i[e]&&!n[e]&&s.push(p(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose(),n[e].unbindCloseListnener()})),n={}}}}({model:t,callback:function(e){return je({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),Ne[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}e.default=o.default,Object.defineProperty(e,"__esModule",{value:!0})})()}(Aw);var Pw=Et(Aw);const kw={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},Iw={textAlignAuto:{ref:"qDef.textAlign.auto",type:"boolean",component:"switch",translation:"Common.Text.TextAlignment",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},textAlign:{ref:"qDef.textAlign.align",type:"string",component:"item-selection-list",horizontal:!0,items:[{component:"icon-item",icon:"align_left",labelPlacement:"bottom",value:"left",translation:"properties.dock.left"},{component:"icon-item",icon:"align_center",labelPlacement:"bottom",value:"center",translation:"Common.Center"},{component:"icon-item",icon:"align_right",labelPlacement:"bottom",value:"right",translation:"properties.dock.right"}],defaultValue:"left",show:e=>void 0!==e.qDef.textAlign&&!e.qDef.textAlign.auto}},Mw=e=>({type:"items",grouped:!0,items:{totalsAggrGroup:{type:"items",items:{totalsAggrFunc:{type:"string",component:"dropdown",ref:"qDef.qAggrFunc",translation:"Object.Table.AggrFunc",options:(e,t)=>(!Pw.hasActiveModifiers({measures:[e],properties:t.properties})||Pw.ifEnableTotalsFunction(e)?[{value:"Expr",translation:"Common.Auto"}]:[]).concat([{value:"Avg",translation:"Object.Table.AggrFunc.Avg"},{value:"Count",translation:"Object.Table.AggrFunc.Count"},{value:"Max",translation:"Object.Table.AggrFunc.Max"},{value:"Min",translation:"Object.Table.AggrFunc.Min"},{value:"Sum",translation:"Object.Table.AggrFunc.Sum"},{value:"None",translation:"Object.Table.AggrFunc.None"}]),defaultValue:e.anything.sense?.isUnsupportedFeature?.("totals")?"None":"Expr"}}}},show:!e.anything.sense?.isUnsupportedFeature?.("totals")}),Lw={type:{type:"string",component:"dropdown",ref:"qDef.columnWidth.type",translation:"Object.Table.Column.Width",options:[{value:SS.Auto,translation:"Common.Auto"},{value:SS.FitToContent,translation:"Object.Table.Column.FitToContent"},{value:SS.Pixels,translation:"Object.Table.Column.Pixels"},{value:SS.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:SS.Auto},sizePixels:{ref:"qDef.columnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",component:"expression",expressionType:"ValueExpression",expression:"optional",defaultValue:"200",show:e=>e.qDef.columnWidth?.type===SS.Pixels},sizePercentage:{ref:"qDef.columnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:"20",show:e=>e.qDef.columnWidth?.type===SS.Percentage}},Dw=()=>({...kw,visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},tid:"visibilityCondition",isExpression:e=>"string"==typeof e&&e.trim().length>0},tableCellStyling:{component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:"cellBackgroundColor",tid:"tableColorBgByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"cellForegroundColor",tid:"tableColorByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.TextStyleExpression",defaultValue:"",id:"textStyleExpression",tid:"tableTextStyleByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"urlLabel",tid:"URLLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"url",tid:"URLByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageLabel",tid:"ImageLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageUrl",tid:"ImageUrlByExpression",show:!1}]},...Iw,...Lw}),Tw={libraryId:{type:"string",component:"library-item",libraryItemType:"dimension",ref:"qLibraryId",translation:"Common.Dimension",show:e=>e.qLibraryId},inlineDimension:{component:"inline-dimension",show:e=>!e.qLibraryId},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},createMasterItemButton:{},divider:{uses:"divider"},dimensionLimits:{uses:"dimensions.items.dimensionLimits"},showOthers:{uses:"dimensions.items.others"}},_w=e=>{const t=e.anything.sense?.isUnsupportedFeature?.("modifiers");return{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>t?!!e.qLibraryId:!(!e.qLibraryId&&!e.qDef.base?.qLibraryId)},inlineMeasure:{component:"inline-measure",show:e=>t?!e.qLibraryId:!(e.qLibraryId||e.qDef.base?.qLibraryId)},numberFormatting:{uses:"measures.items.numberFormatting"},createMasterItemButton:{},divider:{uses:"divider"},totalsAggr:Mw(e)}},Ow=e=>({dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",items:{field:{type:"items",translation:"Common.Field",items:Tw},presentation:{type:"items",translation:"properties.presentation",items:{...Dw(),...Ew(e)}}}}}),qw=e=>({measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",items:{field:{type:"items",translation:"Common.Field",items:_w(e)},presentation:{type:"items",translation:"properties.presentation",items:{...Dw(),...Rw(e,{[yw.Image]:e.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[yw.Indicator]:!0,[yw.MiniChart]:!0})}}}}}),Nw=e=>({...Ow(e),...qw(e)}),jw=e=>({type:"items",translation:"Common.Data",component:"tabs-component",items:{columns:{component:"data-assets-panel",ref:"columns",tabName:"properties.DataAssetPanel.Columns",items:{...Nw(e)},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")},filters:{type:"items",component:"filters-assets-panel",ref:"filters",tabName:"SimpleProperties.Filters.Filters",items:{filter:{type:"object",component:"filter-item-react",ref:"filter"}},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")}}}),zw={chartExploration:{type:"items",translation:"properties.chartExploration",items:{chartExplorationToggler:{type:"items",component:"chart-exploration-toggler",translation:"properties.enableChartExploration",ref:"enableChartExploration"},visibilityToggler:{show:e=>e.enableChartExploration,component:"buttongroup",translation:"properties.ChartExploration.VisibilityOption",ref:"chartExploration.menuVisibility",options:[{value:"auto",translation:"Common.Auto"},{value:"minimized",translation:"properties.ChartExploration.Minimized"}]}},show:e=>!e.insideContainer}},Fw=e=>({type:"items",items:[{ref:"totals.show",type:"boolean",translation:"properties.totals",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},{ref:"totals.position",translation:"Common.Position",type:"string",component:"dropdown",options:[{value:"noTotals",translation:"Common.None"},{value:"top",translation:"Common.Top"},{value:"bottom",translation:"Common.Bottom"}],defaultValue:"noTotals",show:e=>!e.totals?.show},{ref:"totals.label",translation:"properties.totals.label",type:"string",expression:"optional",defaultValue:()=>e.translator.get("Object.Table.Totals")}],show:!e.anything.sense?.isUnsupportedFeature?.("totals")}),Hw=(e,t,r,n)=>({ref:e,translation:t,dualOutput:!0,type:"object",component:"color-picker",width:"auto",disableNone:n??!1,defaultValue(e,t,o){const i=n?.(e,t,o)??!1,a=o.theme.current(),s=r(a,i);return{color:"transparent"===s?"none":s}}}),$w=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{value:e,label:t?(r=e,r.charAt(0).toUpperCase()+r.slice(1)):e,groupHeader:!1,disabled:!1,styles:t?{fontFamily:e}:void 0};var r},Bw=e=>{let{ref:t,themeAccessor:r,translator:n,flags:o}=e;return{component:"dropdown",ref:t,options:(e,t,i)=>{const a=i.theme.current();return((e,t,r,n)=>{const o=t.fontFamily??"Source Sans Pro, sans-serif",i=t.fontFamilies??[],a=Array.from(new Set([e,o,...i])),s=[{value:"ThemeHeader",label:r.get("properties.themeFonts"),metaText:r.get("properties.theme"),groupHeader:!0},...a.sort().map((e=>$w(e,!0)))],l=[{value:"DefaultHeader",label:r.get("properties.allFonts"),metaText:r.get("properties.default"),groupHeader:!0},...se(n).filter((e=>!a.includes(e))).map((e=>$w(e,!0)))];return[...s,...l.length>1?l:[]]})(r(a),a,n,o)},defaultValue:(e,t,n)=>r(n.theme.current())}},Ww=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],Vw=e=>{let{ref:t,themeAccessor:r,translator:n}=e;return{component:"dropdown",ref:t,options:(e,t,o)=>{const i=o.theme.current();return((e,t,r)=>{const n=t.fontSize,o=t.fontSizes??[],i=Array.from(new Set([e,n,...o])),a=[{value:"ThemeHeader",label:r.get("properties.themeFontSizes"),metaText:r.get("properties.theme"),groupHeader:!0},...i.sort(((e,t)=>parseInt(e,10)-parseInt(t,10))).map((e=>$w(e,!1)))],s=[{value:"DefaultHeader",label:r.get("properties.allFontSizes"),metaText:r.get("properties.default"),groupHeader:!0},...Ww.filter((e=>!i.includes(e))).map((e=>$w(e,!1)))];return[...a,...s.length>1?s:[]]})(r(i),i,n)},defaultValue:(e,t,n)=>r(n.theme.current())}},Gw=e=>{let{section:t,defaultFontStyle:r,translator:n,flags:o,getThemeValue:i,translation:a,disableNoneCallback:s}=e;return{component:"panel-section",translation:a??`properties.pivot.${t}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontFamily:Bw({ref:`${t}.fontFamily`,themeAccessor:e=>i(e,t,"fontFamily")??e.fontFamily,translator:n,flags:o}),fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",width:!1,ref:`${t}.fontStyle`,defaultValue:r??[]},fontSize:Vw({ref:`${t}.fontSize`,themeAccessor:e=>i(e,t,"fontSize")??e.fontSize,translator:n}),fontColor:Hw(`${t}.fontColor`,void 0,(e=>i(e,t,"color")??e.color))}},background:Hw(`${t}.background`,"properties.background",((e,r)=>{const n=r?Fx.WHITE:Fx.TRANSPARENT;return i(e,t,"backgroundColor")??n}),s)}}}}},Uw=e=>{let{section:t,defaultFontStyle:r,fallbackBackground:n,getThemeValue:o}=e;return{component:"panel-section",translation:`properties.pivot.${t}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",fullWidth:!0,ref:`${t}.fontStyle`,defaultValue:r??[]},fontColor:Hw(`${t}.fontColor`,void 0,(e=>o(e,t,"color")??e.color))}},background:Hw(`${t}.background`,"properties.background",(e=>o(e,t,"backgroundColor")??n??"transparent"))}}}}},Yw=(e,t,r)=>{switch(t){case"header":return e.object?.straightTableV2?.dimension?.label?.name?.[r];case"dimensionValues":return e.object?.straightTableV2?.dimension?.label?.value?.[r];case"measureValues":return e.object?.straightTableV2?.measure?.label?.value?.[r];case"totalValues":return e.object?.straightTableV2?.total?.label?.value?.[r];case"nullValues":return e.object?.straightTableV2?.null?.label?.value?.[r];default:return}},Kw=e=>e.grid?.zebraStripes?.show,Xw={ref:"content.rowHeight",component:"integer",placeholder:1,maxlength:4,translation:"ThemeStyleEditor.style.rowHeight",change(e){null!=e?.content?.rowHeight&&""!==e.content.rowHeight?e.content.rowHeight=Math.max(1,Math.min(50,Math.floor(e.content.rowHeight))):void 0!==e?.content&&(e.content.rowHeight=void 0)}},Jw=e=>({translation:"properties.pivot.grid",component:"panel-section",items:{gridItems:{component:"items",ref:"components",key:"theme",items:{rowHeight:{show:()=>e.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),...Xw},border:Hw("grid.border","properties.border",(e=>e.object?.straightTableV2?.grid?.borderColor??Fx.BORDER_MEDIUM)),divider:Hw("grid.divider","properties.pivot.divider",(e=>e.object?.straightTableV2?.grid?.divider?.borderColor??Fx.BORDER_HEAVY))}}}}),Zw=e=>e?.content?.hoverEffect,Qw={translation:"properties.RowHover",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{hoverEffectSwitch:{ref:"content.hoverEffect",translation:"ThemeStyleEditor.style.hoverEffect",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},hoverEffectColorItem:{show:Zw,ref:"content.hoverColor",translation:"ThemeStyleEditor.style.hoverStyle",type:"object",component:"color-picker",dualOutput:!0},hoverEffectFontColorItem:{show:Zw,ref:"content.hoverFontColor",translation:"ThemeStyleEditor.style.hoverFontStyle",type:"object",component:"color-picker",dualOutput:!0}}}}},eE=(e,t,r)=>{let{properties:n}=r;return"sn-table"===n.visualization&&!0===n.usePagination},tE=e=>{let{flags:t,translator:r}=e;return{type:"items",items:[{component:"styling-panel",chartTitle:"Object.StraightTable",subtitle:"LayerStyleEditor.component.styling",translation:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0,defaultValue:[],items:{headerSection:Gw({section:"header",defaultFontStyle:["bold"],translator:r,flags:t,getThemeValue:Yw,disableNoneCallback:eE}),dimensionValueSection:Gw({section:"dimensionValues",translator:r,flags:t,getThemeValue:Yw}),measureValueSection:Gw({section:"measureValues",translator:r,flags:t,getThemeValue:Yw}),totalRowSection:Gw({section:"totalValues",defaultFontStyle:["bold"],translation:"properties.totals",translator:r,flags:t,getThemeValue:Yw,disableNoneCallback:eE}),nullValues:Uw({section:"nullValues",fallbackBackground:Fx.NULL_VALUE_BACKGROUND,getThemeValue:Yw}),grid:Jw(t),hoverEffectSection:Qw,zebraStripes:{translation:"properties.zebraStripes",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{zebraStripesEnable:{ref:"grid.zebraStripes.show",translation:"properties.zebraStripes.enable",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},zebraStripesColorOdd:{show:Kw,ref:"grid.zebraStripes.color.odd",translation:"properties.zebraStripes.color.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundrOdd:{show:Kw,ref:"grid.zebraStripes.background.odd",translation:"properties.zebraStripes.background.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1},zebraStripesColorEven:{show:Kw,ref:"grid.zebraStripes.color.even",translation:"properties.zebraStripes.color.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundEven:{show:Kw,ref:"grid.zebraStripes.background.even",translation:"properties.zebraStripes.background.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1}}}}}}}]}},rE=e=>({uses:"settings",items:{presentation:{grouped:!0,type:"items",translation:"properties.presentation",items:[tE(e),Fw(e),{ref:"usePagination",translation:"properties.usePagination",type:"boolean",component:"checkbox",defaultValue:!1},{type:"items",translation:"Object.Table.WrapText",items:[{component:"text",translation:"Object.Table.Multiline"},{ref:"multiline.wrapTextInHeaders",type:"boolean",translation:"Object.Table.Multiline.WrapTextInHeaders",component:"checkbox",defaultValue:!0},{ref:"multiline.wrapTextInCells",type:"boolean",translation:"Object.Table.Multiline.WrapTextInCells",component:"checkbox",defaultValue:!0}]},{ref:"hideHeader",translation:"properties.hideHeader",type:"boolean",component:"checkbox",defaultValue:!1},{ref:"nullValueRepresentation.text",type:"string",translation:"properties.pivot.nullValueText",defaultValue:"-"}]},...zw}}),nE={uses:"sorting"},oE={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}},iE=e=>({type:"items",component:"accordion",items:{data:jw(e),sorting:nE,addOns:oE,settings:rE(e)}});function aE(e){return{definition:iE(e),exploration:fw,data:vw(e),support:{export:!0,exportData:!0,snapshot:!0,viewData:!1,exploration:!0,cssScaling:!0,modifiers:e.anything.sense?.isUnsupportedFeature?.("modifiers")?void 0:["accumulation","movingAverage","difference","normalization"]},importProperties(e,t,r,n,o){const i={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()};return pw({exportFormat:e,initialProperties:t,extension:r,hypercubePath:n,defaultPropertyValues:i,viewDataMode:o})},exportProperties:(e,t)=>aw({propertyTree:e,hyperCubePath:t})}}const sE=(e,r)=>t((()=>((e,t)=>(r,n)=>{let{isDim:o,colIdx:i}=n;const a=o?i:i-e.qDimensionInfo.length,s=`/qHyperCubeDef/${o?"qDimensions":"qMeasures"}/${a}/qDef/columnWidth`,l=e[o?"qDimensionInfo":"qMeasureInfo"].at(a)?.columnWidth,u=l?{qPath:s,qOp:"Replace",qValue:JSON.stringify({...l,...r})}:{qPath:s,qOp:"Add",qValue:JSON.stringify(r)};t?.applyPatches([u],!0)})(e,r)),[e,r]),lE=e=>-1===e?{}:e.qAttrExprInfo.reduce(((e,t,r)=>{let{id:n}=t;return e[n]=r,e}),{}),uE=[];for(let e=0;e<256;++e)uE.push((e+256).toString(16).slice(1));let cE;const dE=new Uint8Array(16);var pE={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function fE(e,t,r){const n=(e=e||{}).random??e.rng?.()??function(){if(!cE){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");cE=crypto.getRandomValues.bind(crypto)}return cE(dE)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=15&n[6]|64,n[8]=63&n[8]|128,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(uE[e[t+0]]+uE[e[t+1]]+uE[e[t+2]]+uE[e[t+3]]+"-"+uE[e[t+4]]+uE[e[t+5]]+"-"+uE[e[t+6]]+uE[e[t+7]]+"-"+uE[e[t+8]]+uE[e[t+9]]+"-"+uE[e[t+10]]+uE[e[t+11]]+uE[e[t+12]]+uE[e[t+13]]+uE[e[t+14]]+uE[e[t+15]]).toLowerCase()}(n)}const hE=()=>{return crypto?.randomUUID?.()??(pE.randomUUID&&!e?pE.randomUUID():fE(e));var e},mE=e=>{let{qLibraryId:t,cId:r}=e;return t??r??hE()},gE=e=>"number"==typeof e&&!Number.isNaN(+e),bE=e=>gE(e.qNum),vE=e=>"string"==typeof e&&e.length>0&&!Number.isNaN(+e);function yE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function xE(e,t,r){return t=EE(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,AE()?Reflect.construct(t,r||[],EE(e).constructor):t.apply(e,r))}function SE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IE(n.key),n)}}function wE(e,t,r){return t&&CE(e.prototype,t),r&&CE(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function EE(e){return EE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},EE(e)}function RE(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PE(e,t)}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(AE=function(){return!!e})()}function PE(e,t){return PE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PE(e,t)}function kE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yE(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yE(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IE(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function ME(e){return ME="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ME(e)}var LE={fromSearchString:function(e){if(!e)return[];"?"===e[0]&&(e=e.substr(1));var t=[];return e.split("&").forEach((function(e){if(e){var r,n=e.indexOf("="),o="",i=!1;-1===n?r=e:(r=e.slice(0,n),o=e.slice(n+1),i=!0),t.push(function(e,t,r){return{key:DE(e),value:DE(t),useEqualSign:r}}(r,o,i))}})),t}};function DE(e){try{return decodeURIComponent(e)}catch(t){return e}}function TE(e){if(!(this instanceof TE))throw new Error("Url needs to be called with the new keyword");if(!e)throw new Error("Url needs a string to operate on");var t=function(e){var t={authorityAndPath:"",search:"",hash:""},r=e.indexOf("#");-1!==r&&(t.hash=e.substr(r),e=e.substr(0,r));r=e.indexOf("?"),-1!==r&&(t.search=e.substr(r),e=e.substr(0,r));return t.authorityAndPath=e,t}(e);Object.defineProperties(this,{authorityAndPath:{value:t.authorityAndPath},search:{value:t.search},hash:{value:t.hash},searchParams:{get:function(){return LE.fromSearchString(t.search)}}})}function _E(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}TE.encodeAuthorityAndPath=function(e){return encodeURI(e).replace(/%5B/gi,"[").replace(/%5D/gi,"]").replace(/%25/gi,"%")},TE.encodeSearchParams=function(e){for(var t,r="",n=0;n<e.length;n++)r+=0===n?"?":"&",r+=_E((t=e[n]).key),t.value?r+="=".concat(_E(t.value)):r+=t.useEqualSign?"=":"";return r};var OE,qE=function(){return wE((function e(t){SE(this,e),this._input=t,this._pushback=null,this._temp=null,this._index=0,this._mark=0}),[{key:"_hasNext",value:function(){return null!=this._input&&(0!==this._input.length&&this._index<this._input.length)}},{key:"pushback",value:function(e){this._pushback=e}},{key:"index",value:function(){return this._index}},{key:"hasNext",value:function(){return null!=this._pushback||this._hasNext()}},{key:"next",value:function(){if(null!=this._pushback){var e=this._pushback;return this._pushback=null,e}return this._hasNext()?this._input.charAt(this._index++):null}},{key:"nextHex",value:function(){var e=this.next();return null==e?null:e.match(/[0-9A-Fa-f]/)?e:null}},{key:"peek",value:function(e){return e?!(!this._pushback||this._pushback!==e)||!!this._hasNext()&&this._input.charAt(this._index)===e:this._pushback?this._pushback:this._hasNext()?this._input.charAt(this._index):null}},{key:"mark",value:function(){this._temp=this._pushback,this._mark=this._index}},{key:"reset",value:function(){this._pushback=this._temp,this._index=this._mark}},{key:"remainder",value:function(){var e=this._input.substr(this._index);return null!=this._pushback&&(e=this._pushback+e),e}}])}(),NE=function(){return wE((function e(){SE(this,e)}),[{key:"decode",value:function(e){for(var t,r="",n=new qE(e);n.hasNext();)r+=null!=(t=this.decodeCharacter(n))?t:n.next();return r}},{key:"decodeCharacter",value:function(e){return e.next()}}])}(),jE=function(e){return e>=0&&e<=1114111},zE=function(e){return e.match(/[\s]/)},FE=function(e){function t(){return SE(this,t),xE(this,t,arguments)}return RE(t,e),wE(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o=e.next();if(null==o||"\\"!==o)return e.reset(),null;var i=e.next();if(null==i)return e.reset(),null;switch(i){case"\r":e.peek("\n")&&e.next();case"\n":case"\f":case"\0":return this.decodeCharacter(e)}if("NaN"===parseInt(i,16))return i;for(t=i,r=0;r<5&&(null!=(n=e.next())&&!zE(n));r++){if("NaN"===parseInt(n,16)){e.pushback(n);break}t+=n}var a=parseInt(t,16);return jE(a)?String.fromCharCode(a):"�"}}])}(NE),HE=function(){function e(t,r){SE(this,e),this._key=t,this._value=r}return wE(e,[{key:"getKey",value:function(){return this._key}},{key:"getValue",value:function(){return this._value}},{key:"equals",value:function(t){return t instanceof e&&(this._key===t._key&&this._value===t._value)}}],[{key:"newInstanceIfNeeded",value:function(){var t,r,n=arguments[0];return"string"==typeof arguments[1]?(t=arguments[1],r=n.length):(r=arguments[1],t=arguments[2]),t&&n?(n.length>r&&(n=n.substr(0,r)),new e(n,t)):null}}])}(),$E=function(){function e(){SE(this,e)}return wE(e,[{key:"setValue",value:function(e){this._nextMap=null,this._value=e}},{key:"getNextNode",value:function(e){return this._nextMap?this._nextMap[e]:null}},{key:"put",value:function(t,r,n){var o,i;if(t.length===r)return i=this._value,this.setValue(n),i;var a=t.charAt(r);return this._nextMap?(o=this._nextMap[a])||(o=new e,this._nextMap[a]=o):(this._nextMap={},o=new e,this._nextMap[a]=o),o.put(t,r+1,n)}},{key:"get",value:function(e,t){if(e.length<=t)return this._value;var r=this.getNextNode(e.charAt(t));return r?r.get(e,t+1):null}},{key:"getLongestMatch",value:function(e,t){if(e.length<=t)return HE.newInstanceIfNeeded(e,this._value);var r=this.getNextNode(e.charAt(t));if(!r)return HE.newInstanceIfNeeded(e,t,this._value);var n=r.getLongestMatch(e,t+1);return n||HE.newInstanceIfNeeded(e,t,this._value)}}])}(),BE=function(){return wE((function e(){SE(this,e),this.clear()}),[{key:"getLongestMatch",value:function(e){return this.root&&e?this.root.getLongestMatch(e,0):null}},{key:"getMaxKeyLength",value:function(){return this.maxKeyLen}},{key:"clear",value:function(){this.root=null,this.maxKeyLen=0,this.size=0}},{key:"put",value:function(e,t){this.root||(this.root=new $E);var r=this.root.put(e,0,t);return r||(e.length>this.maxKeyLen&&(this.maxKeyLen=e.length),this.size++,null)}}])}(),WE=function(){var e,t,r,n=[],o=[],i=new BE;for(e in n["""]="34",n["&"]="38",n["<"]="60",n[">"]="62",n[" "]="160",n["¡"]="161",n["¢"]="162",n["£"]="163",n["¤"]="164",n["¥"]="165",n["¦"]="166",n["§"]="167",n["¨"]="168",n["©"]="169",n["ª"]="170",n["«"]="171",n["¬"]="172",n["­"]="173",n["®"]="174",n["¯"]="175",n["°"]="176",n["±"]="177",n["²"]="178",n["³"]="179",n["´"]="180",n["µ"]="181",n["¶"]="182",n["·"]="183",n["¸"]="184",n["¹"]="185",n["º"]="186",n["»"]="187",n["¼"]="188",n["½"]="189",n["¾"]="190",n["¿"]="191",n["À"]="192",n["Á"]="193",n["Â"]="194",n["Ã"]="195",n["Ä"]="196",n["Å"]="197",n["Æ"]="198",n["Ç"]="199",n["È"]="200",n["É"]="201",n["Ê"]="202",n["Ë"]="203",n["Ì"]="204",n["Í"]="205",n["Î"]="206",n["Ï"]="207",n["Ð"]="208",n["Ñ"]="209",n["Ò"]="210",n["Ó"]="211",n["Ô"]="212",n["Õ"]="213",n["Ö"]="214",n["×"]="215",n["Ø"]="216",n["Ù"]="217",n["Ú"]="218",n["Û"]="219",n["Ü"]="220",n["Ý"]="221",n["Þ"]="222",n["ß"]="223",n["à"]="224",n["á"]="225",n["â"]="226",n["ã"]="227",n["ä"]="228",n["å"]="229",n["æ"]="230",n["ç"]="231",n["è"]="232",n["é"]="233",n["ê"]="234",n["ë"]="235",n["ì"]="236",n["í"]="237",n["î"]="238",n["ï"]="239",n["ð"]="240",n["ñ"]="241",n["ò"]="242",n["ó"]="243",n["ô"]="244",n["õ"]="245",n["ö"]="246",n["÷"]="247",n["ø"]="248",n["ù"]="249",n["ú"]="250",n["û"]="251",n["ü"]="252",n["ý"]="253",n["þ"]="254",n["ÿ"]="255",n["&OElig"]="338",n["&oelig"]="339",n["&Scaron"]="352",n["&scaron"]="353",n["&Yuml"]="376",n["&fnof"]="402",n["&circ"]="710",n["&tilde"]="732",n["&Alpha"]="913",n["&Beta"]="914",n["&Gamma"]="915",n["&Delta"]="916",n["&Epsilon"]="917",n["&Zeta"]="918",n["&Eta"]="919",n["&Theta"]="920",n["&Iota"]="921",n["&Kappa"]="922",n["&Lambda"]="923",n["&Mu"]="924",n["&Nu"]="925",n["&Xi"]="926",n["&Omicron"]="927",n["&Pi"]="928",n["&Rho"]="929",n["&Sigma"]="931",n["&Tau"]="932",n["&Upsilon"]="933",n["&Phi"]="934",n["&Chi"]="935",n["&Psi"]="936",n["&Omega"]="937",n["&alpha"]="945",n["&beta"]="946",n["&gamma"]="947",n["&delta"]="948",n["&epsilon"]="949",n["&zeta"]="950",n["&eta"]="951",n["&theta"]="952",n["&iota"]="953",n["&kappa"]="954",n["&lambda"]="955",n["&mu"]="956",n["&nu"]="957",n["&xi"]="958",n["&omicron"]="959",n["&pi"]="960",n["&rho"]="961",n["&sigmaf"]="962",n["&sigma"]="963",n["&tau"]="964",n["&upsilon"]="965",n["&phi"]="966",n["&chi"]="967",n["&psi"]="968",n["&omega"]="969",n["&thetasym"]="977",n["&upsih"]="978",n["&piv"]="982",n["&ensp"]="8194",n["&emsp"]="8195",n["&thinsp"]="8201",n["&zwnj"]="8204",n["&zwj"]="8205",n["&lrm"]="8206",n["&rlm"]="8207",n["&ndash"]="8211",n["&mdash"]="8212",n["&lsquo"]="8216",n["&rsquo"]="8217",n["&sbquo"]="8218",n["&ldquo"]="8220",n["&rdquo"]="8221",n["&bdquo"]="8222",n["&dagger"]="8224",n["&Dagger"]="8225",n["&bull"]="8226",n["&hellip"]="8230",n["&permil"]="8240",n["&prime"]="8242",n["&Prime"]="8243",n["&lsaquo"]="8249",n["&rsaquo"]="8250",n["&oline"]="8254",n["&frasl"]="8260",n["&euro"]="8364",n["&image"]="8365",n["&weierp"]="8472",n["&real"]="8476",n["&trade"]="8482",n["&alefsym"]="8501",n["&larr"]="8592",n["&uarr"]="8593",n["&rarr"]="8594",n["&darr"]="8595",n["&harr"]="8596",n["&crarr"]="8629",n["&lArr"]="8656",n["&uArr"]="8657",n["&rArr"]="8658",n["&dArr"]="8659",n["&hArr"]="8660",n["&forall"]="8704",n["&part"]="8706",n["&exist"]="8707",n["&empty"]="8709",n["&nabla"]="8711",n["&isin"]="8712",n["¬in"]="8713",n["&ni"]="8715",n["&prod"]="8719",n["&sum"]="8721",n["&minus"]="8722",n["&lowast"]="8727",n["&radic"]="8730",n["&prop"]="8733",n["&infin"]="8734",n["&ang"]="8736",n["&and"]="8743",n["&or"]="8744",n["&cap"]="8745",n["&cup"]="8746",n["&int"]="8747",n["&there4"]="8756",n["&sim"]="8764",n["&cong"]="8773",n["&asymp"]="8776",n["&ne"]="8800",n["&equiv"]="8801",n["&le"]="8804",n["&ge"]="8805",n["&sub"]="8834",n["&sup"]="8835",n["&nsub"]="8836",n["&sube"]="8838",n["&supe"]="8839",n["&oplus"]="8853",n["&otimes"]="8855",n["&perp"]="8869",n["&sdot"]="8901",n["&lceil"]="8968",n["&rceil"]="8969",n["&lfloor"]="8970",n["&rfloor"]="8971",n["&lang"]="9001",n["&rang"]="9002",n["&loz"]="9674",n["&spades"]="9824",n["&clubs"]="9827",n["&hearts"]="9829",n["&diams"]="9830",n)"function"!=typeof n[e]&&n.hasOwnProperty(e)&&(o[n[e]]=e);for(t in o)"function"!=typeof o[t]&&o.hasOwnProperty(t)&&(r=o[t].toLowerCase().substr(1),i.put(r,String.fromCharCode(t)));return i}(),VE=function(e){function t(){return SE(this,t),xE(this,t,arguments)}return RE(t,e),wE(t,[{key:"decodeCharacter",value:function(e){var t;e.mark();var r=e.next();if(null==r||"&"!==r)return e.reset(),null;var n=e.next();if(null==n)return e.reset(),null;if("#"===n){if(null!=(t=this._getNumericEntity(e)))return t}else if(n.match(/[A-Za-z]/)&&(e.pushback(n),null!=(t=this._getNamedEntity(e))))return t;return e.reset(),null}},{key:"_getNamedEntity",value:function(e){var t,r,n,o="";for(t=Math.min(e.remainder().length,WE.getMaxKeyLength()),n=0;n<t;n++)o+=e.next().toLowerCase();var i=WE.getLongestMatch(o);if(null==i)return null;for(e.reset(),e.next(),t=i.getKey().length,r=0;r<t;r++)e.next();return e.peek(";")&&e.next(),i.getValue()}},{key:"_getNumericEntity",value:function(e){var t=e.peek();return null==t?null:"x"===t||"X"===t?(e.next(),this._parseHex(e)):this._parseNumber(e)}},{key:"_parseHex",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,16))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,16);return!Number.isNaN(+n)&&jE(n)?String.fromCharCode(n):null}},{key:"_parseNumber",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,10))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,10);return!Number.isNaN(+n)&&jE(n)?String.fromCharCode(n):null}}])}(NE),GE=function(e){function t(){return SE(this,t),xE(this,t,arguments)}return RE(t,e),wE(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o,i=e.next();if(null==i)return e.reset(),null;if("%"!==i)return e.reset(),null;for(t="",r=0;r<2;r++)null!=(n=e.nextHex())&&(t+=n);return 2===t.length&&(o=parseInt(t,16),jE(o))?String.fromCharCode(o):(e.reset(),null)}}])}(NE),UE=/^data:(?<!\s)\s*(image\/[\w+-.]+)(?<!\s)\s*(;.*?){0,1}(?<!\s)\s*,(.*)/i;"undefined"!=typeof document&&(OE=document.createElement("div"));var YE=Array.prototype.indexOf,KE=[",",".","_"," "],XE=[",",".","-","_"," "],JE={width:["%"],height:["%"]},ZE={default:["-"," ","%"],color:["#"," ","(",")"],image:["(",")",":","/","?","&","-",".",'"',"="," "]},QE={background:["(",")",":","%","/","?","&","-"," ",".",'"',"=","#"],"background-image":ZE.image,"background-color":ZE.color,"border-color":ZE.color,"border-image":ZE.image,color:ZE.color,icon:ZE.image,"list-style-image":ZE.image,"outline-color":ZE.color},eR={attr_name:["^on[a-z]{1,}","style","href","src"],attr_val:["javascript:","data:"],css_key:["behavior","-moz-behavior","-ms-behavior"],css_val:["expression"]};function tR(e,t,r){var n;if(t){if(YE)return YE.call(t,e,r);for(n=t.length,r=r?r<0?Math.max(0,n+r):r:0;r<n;r++)if(r in t&&t[r]===e)return r}return-1}function rR(e){if(null==e)return"";var t,r=document.createTextNode(e);return OE.appendChild(r),t=OE.innerHTML,OE.removeChild(r),t}function nR(e,t,r){var n,o,i,a,s,l,u,c,d;for(e=iR(e).toLowerCase(),t=iR(t),i=0;i<eR.attr_name.length;i++)if(e.match(eR.attr_name[i]))throw new Error("Unsafe attribute name used: ".concat(e));for(i=0;i<eR.attr_val.length;i++)if(t.toLowerCase().match(eR.attr_val[i]))throw new Error("Unsafe attribute value used: ".concat(t));if((n=JE[e])||(n=XE),o="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z\-0-9]/))throw new Error("Invalid attribute name specified");o+=s}o+='="'}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&tR(u,n)<0?(d=c.toString(16),o+="&#x".concat(d,";")):o+=u;return r||(o+='"'),o}function oR(e,t,r){var n,o,i,a,s,l,u,c,d,p;if(e=iR(e).toLowerCase(),t=iR(t),tR(e,eR.css_key)>=0)throw new Error("Unsafe property name used: ".concat(e));for(n=0;n<eR.css_val.length;n++)if(t.toLowerCase().indexOf(eR.css_val[n])>=0)throw new Error("Unsafe property value used: ".concat(t));if((o=QE[e])||(o=ZE.default),i="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z-]/))throw new Error("Invalid Property Name specified");i+=s}i+=": "}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&tR(u,o)<0?(d=c.toString(16),p="000000".substr(d.length),i+="\\".concat(p).concat(d)):i+=u;return i}function iR(e,t){var r,n,o,i,a=!1;if(null===e)return null;r=e,n=e,o=0;for(var s=[new VE,new GE,new FE];!a;){n=r;for(var l=0;l<s.length;l++)(i=s[l].decode(r))!==r&&(o++,r=i);n!==r||(a=!0)}if(t&&o>1)throw new Error("Attack Detected - Multiple/Double Encodings used in input");return r}for(var aR=[],sR=0;sR<255;sR++)aR[sR]=sR>=48&&sR<=57||sR>=65&&sR<=90||sR>=97&&sR<=122?null:sR.toString(16);var lR=function(e){return rR(e.unsafe)},uR=function(e){var t,r=[],n=[],o={},i="";for(t in e.map?r=e.map:r[e.name]=e.unsafe,r)"function"!=typeof r[t]&&r.hasOwnProperty(t)&&(n[t]=oR(t,r[t],!0),i+=oR(t,r[t],!0),o[t]=n[t]);return e.map?o:i},cR=function(e){var t=[],r=[],n={},o="";for(var i in e.map?t=e.map:t[e.name]=e.unsafe,t)"function"!=typeof t[i]&&t.hasOwnProperty(i)&&(r[i]=nR(i,t[i],!0),o+=nR(i,t[i],!0),n[i]=r[i]);return e.map?n:o};function dR(e,t){throw new Error(t)}var pR={canonicalize:iR,encode:function(){var e={context:"html",unsafe:null,name:null,map:null,setter:null,strict:!0};return 1===arguments.length&&"object"===ME(arguments[0])?function(){for(var e,t,r,n=arguments[0]||{},o=1,i=arguments.length;o<i;o++)if(null!=(e=arguments[o]))for(t in e)if(e.hasOwnProperty(t)){if(n===(r=e[t]))continue;void 0!==r&&(n[t]=r)}}(e,arguments[0]):(e.context=arguments[0],2===arguments.length?"html"===e.context?e.unsafe=arguments[1]:"attr"!==e.context&&"css"!==e.context||(e.map=arguments[1]):(e.name=arguments[2],e.unsafe=arguments[1])),"html"===e.context?lR(e):"css"===e.context?(null!=e.map&&"object"!==ME(e.map)&&dR(this,"Invalid parameter type"),uR(e)):"attr"===e.context?(null!=e.map&&"object"!==ME(e.map)&&dR(this,"Invalid parameter type"),cR(e)):void dR(this,"Invalid parameter type")},encodeForAttr:nR,encodeForAttr2:function(e){return nR("nonsens",e,!0)},encodeForCSS:oR,encodeForHref:function(e){iR(e),0!==e.search("[a-zA-Z0-9]+:")&&(e="http://".concat(e));var t=new TE(e),r=TE.encodeAuthorityAndPath(decodeURI(t.authorityAndPath)),n=t.searchParams,o=(e=r+TE.encodeSearchParams(n)+t.hash).toLowerCase();if(-1!==o.indexOf("javascript:"))throw new Error("Attack Detected - Javascript in input");if(-1!==o.indexOf("data:"))throw new Error("Attack Detected - data in input");return e},encodeForJS:function(e,t){var r,n,o,i,a,s;for(t||(t=KE),s="",r=0;r<e.length;r++)o=e.charAt(r),i=e.charCodeAt(r),tR(o,t)>=0||null==aR[i]?s+=o:(n=i.toString(16),i<256?(a="00".substr(n.length),s+="\\x".concat(a).concat(n.toUpperCase())):(a="0000".substr(n.length),s+="\\u".concat(a).concat(n.toUpperCase())));return s},encodeForHTML:rR,encodeForURL:function(e,t){var r="";return t&&(t.match(/^[A-Za-z\-0-9]{1,}$/)?r+=iR(t).toLowerCase():dR(this,"Illegal Attribute Name Specified"),r+='="'),r+=encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),r+=t?'"':""},isSafeDataURL:function(e,t){var r=null!=t?t:{},n=r.maxByteSizeSvg,o=void 0===n?5e5:n,i=r.maxByteSizeImage,a=void 0===i?5e6:i,s=function(e){var t,r=kE(null!==(t=UE.exec(e.trim()))&&void 0!==t?t:[],4),n=r[1];return{encoding:r[2],data:r[3],mimeType:null==n?void 0:n.toLocaleLowerCase()}}(e),l=s.mimeType,u=s.encoding,c=s.data;if(!c)return!0;var d=function(e,t,r){var n={type:e};if(null!=t&&t.includes(";base64"))try{return new Blob([atob(r)],n).size}catch(e){return new Blob([r],n).size}return"image/svg+xml"===e?new Blob([r],n).size:0}(l,u,c);return"image/svg+xml"===l?d<=o:d<=a},validateURI:function(e){if(""===e||function(e){if("canParse"in URL)return URL.canParse(e);try{return new URL(e),!0}catch(e){return!1}}(e))return!1;var t=e.replace(/%2E/gi,".");if(t.match(/[#&=: ]/))return!1;var r=function(e){for(var t=e,r="";t.length>0;)if(t.startsWith("../")||t.startsWith("./"))t=t.replace(/^\.\.?\//,"");else if(t.startsWith("/./"))t=t.replace(/^\/\.\//,"/");else if("/."===t)t="/";else if(t.startsWith("/../")){t=t.replace(/^\/\.\.\//,"/");var n=r.lastIndexOf("/");-1!==n&&(r=r.slice(0,n))}else if("/.."===t){t="/";var o=r.lastIndexOf("/");-1!==o&&(r=r.slice(0,o))}else if("."===t||".."===t)t="";else{var i=t.match(/^\/?[^/]*/),a=i?i[0]:"";t=t.slice(a.length),r+=a}return r}(t);return""!==r&&"/"!==r&&r}};const fR=(e,t)=>t.qAttrExps?.qValues?.[e],hR=(e,t)=>{switch(e){case"topLeft":default:return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-start"};case"centerLeft":return{horizontal:"center",vertical:"flex-start"};case"bottomLeft":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-start"};case"topCenter":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"center"};case"centerCenter":return{horizontal:"center",vertical:"center"};case"bottomCenter":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"center"};case"topRight":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-end"};case"centerRight":return{horizontal:"center",vertical:"flex-end"};case"bottomRight":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-end"}}},mR=e=>{let{text:t,url:r,imageSize:n,imagePosition:o,labelStructure:i,imageBox:a,direction:s}=e;return o&&r&&!r.toLowerCase().includes("javascript:")&&pR.isSafeDataURL(r)?{type:yw.Image,url:r,text:t,imageSize:n,resolvedImagePosition:hR(o,s),labelStructure:i,imageBox:a}:{type:yw.Text,url:void 0,text:t,labelStructure:i}},gR=(e,t,r,n)=>{if(!e.qMiniChart||!t?.miniChart||!r)return{type:yw.Text,text:n};const{minY:o,maxY:i}=((e,t,r)=>{const n="global"===t.yAxis?.scale,o="zeroCenter"===t.yAxis?.position,i=n?r.qYMin:e.qMiniChart.qMin,a=n?r.qYMax:e.qMiniChart.qMax;if(o){const e=Math.max(Math.abs(i),Math.abs(a));return{minY:-e,maxY:e}}return(e=>"zeroBaseline"===e.yAxis?.position||"bars"===e.type&&"auto"===e.yAxis?.position)(t)?{minY:Math.min(0,i),maxY:Math.max(0,a)}:{minY:i,maxY:a}})(e,t.miniChart,r),a={type:t.miniChart.type,qMatrix:e.qMiniChart.qMatrix,minY:o,maxY:i,showDots:!!t.miniChart.showDots,colors:t.miniChart.colors,colorMin:e.qMiniChart.qMin,colorMax:e.qMiniChart.qMax};return{type:yw.MiniChart,text:n,miniChart:a}},bR=(e,t,r)=>{const n=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps,o=n?.qValues?.[e];if(o){const e=Number.isNaN(+o.qNum)?void 0:`${o.qNum}`;return o.qText||e}return r?.urlPosition===xw.Attribute?void 0:r?.urlLabel},vR=e=>{let{labelStructure:t,text:r,url:n}=e;try{if(!n)throw Error("Invalid url");return{type:yw.Link,url:pR.encodeForHref(n),text:r,labelStructure:t}}catch{return{type:yw.Text,url:void 0,text:r,labelStructure:t}}},yR=e=>{let{cell:t,representationProperties:r,attrExprInfoIndex:n,env:o,conditionalColoring:i,miniChartOnMeasure:a,labelStructure:s,getText:l=e=>e.qText,direction:u,enabledFeatures:c}=e;const d=Sw(r),p=l(t);return d===yw.Image&&c[yw.Image]&&!o.anything.sense?.isUnsupportedFeature?.("tableImages")?((e,t,r,n,o,i)=>{const{imageSize:a,imagePosition:s,imageSetting:l,imageLabel:u,imageBox:c}=t??{};if("url"===l){const t=fR(r.imageUrl??-1,e)?.qText;return i&&(i.maskedValue=t??""),mR({text:n,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}if("label"===l){const t=i?i.originalValue:n;if(-1===r.imageLabel)return mR({text:u||t||"",url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o});const l=fR(r.imageLabel??-1,e)?.qText??n;return mR({text:l,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}return{type:yw.Text,url:void 0,labelStructure:i,text:n}})(t,r,n,p,u,s):d===yw.Link?((e,t,r,n,o)=>{const{urlPosition:i}=t??{};if(i===xw.Attribute){const i=bR(r.url??-1,e,t);return vR({labelStructure:n,text:o||i||"",url:i})}if(i===xw.Dimension){const i=bR(r.urlLabel??-1,e,t)||o;return n&&(n.maskedValue=i),vR({text:i,labelStructure:n,url:n?.originalValue??o})}return{type:yw.Text,url:void 0,text:o,labelStructure:n}})(t,r,n,s,p):d===yw.Indicator&&c[yw.Indicator]&&!o.anything.sense?.isUnsupportedFeature?.("tableIndicators")?((e,t,r)=>{const{indicator:n}=e??{};return{type:yw.Indicator,url:void 0,text:r,indicator:{applySegmentColors:n?.applySegmentColors,position:n?.position,showTextValues:n?.showTextValues},indicatorConditionalColoring:t}})(r,i,p):d===yw.MiniChart&&c[yw.MiniChart]&&!o.anything.sense?.isUnsupportedFeature?.("qMiniChartDef")?gR(t,r,a,p):{type:yw.Text,url:void 0,text:p,labelStructure:s}},xR=(e,t)=>t?-2===e.qElemNumber:!!e.qIsNull,SR=(e,t,r)=>(e?void 0:r.nullValueRepresentation?.text)??t.qText??"-",CR=1e4;function wR(e,t){return[...t].reverse().find((t=>t*e<=CR))||Math.floor(CR/e)}function ER(e,t){if(t.viewState?.skipTotals)return{atTop:!1,atBottom:!1};const[r,n,o,i,a]=[e.qHyperCube.qDimensionInfo.length>0,e.qHyperCube.qMeasureInfo.length>0,e.qHyperCube.qGrandTotalRow.length>0,e.totals.show,e.totals.position];if(o&&(r&&n||!i&&!r)){if(i||"top"===a)return{atTop:!0,atBottom:!1};if("bottom"===a)return{atTop:!1,atBottom:!0}}return{atTop:!1,atBottom:!1}}function RR(e,t,r,n){return t?0===r?e.totals.label??"":"":e.qHyperCube.qGrandTotalRow.at(n)?.qText??""}function AR(e,t){const r=e.qHyperCube.qGrandTotalRow.at(t);return gE(r?.qNum)}function PR(e,t,r,n,o){return e&&!e.auto?n&&"rtl"===o&&"center"!==e.align?{headTextAlign:"right"===e.align?"left":"right",totalsTextAlign:"right"===e.align?"left":"right",bodyTextAlign:"right"===e.align?"left":"right"}:{headTextAlign:e.align,totalsTextAlign:e.align,bodyTextAlign:e.align}:n||"rtl"!==o?{headTextAlign:"N"===t||void 0===t?"right":"left",totalsTextAlign:r?"left":"right",bodyTextAlign:"auto"}:{headTextAlign:"N"===t||void 0===t?"left":"right",totalsTextAlign:r?"right":"left",bodyTextAlign:"auto"}}const kR=(e,t,r,n)=>"auto"!==t?t:n||"rtl"!==r?e?"right":"left":e?"left":"right";const IR=(e,t,r)=>{const{qHyperCube:{qColumnOrder:n,qDimensionInfo:o,qMeasureInfo:i}}=e,a=o.length+i.length,s=n.length===a?n:Array.from(Array(a).keys()),{visibleColumnsOrder:l,visibleColumnIndexes:u}=((e,t,r)=>{const n=t.length,o=[];let i=0,a=0;return{visibleColumnsOrder:e.filter((e=>{const s=e<n,{qError:l}=s?t[e]:r[e-n],u=7005===l?.qErrorCode;return u?s?i++:a++:o[e]=s?e-i:e-n-a,!u})),visibleColumnIndexes:o}})(s,o,i);return l.map(((n,o)=>function(e,t,r,n,o,i){const{qDimensionInfo:a,qMeasureInfo:s,qEffectiveInterColumnSortOrder:l}=e.qHyperCube,u=a.length,c=t<u,d=c?a[t]:s[t-u],p=c&&a[t].qGrouping===ES.Cyclic,f=t===l[0];let h,m,g="",b=!1,v=-1,y=0,x=[];const{representation:S,conditionalColoring:C}=d;if(c){const e=d;g=e.qGroupFieldDefs[e.qGroupPos],y=e.qGroupPos,x=e.qGroupFallbackTitles.map((e=>({label:e,enabled:!0}))),b=e.qLocked??!1,v=n,({qDimensionType:h}=e)}else({qMiniChart:m}=d);const{qFallbackTitle:w,textAlign:E,qAttrExprInfo:R,qSortIndicator:A,qReverseSort:P,qApprMaxGlyphCount:k,columnWidth:I,qLibraryId:M}=d;return{isDim:c,isCyclic:p,isLocked:b,fieldId:g,colIdx:t,qLibraryId:M,pageColIdx:r,qApprMaxGlyphCount:k,qReverseSort:P,columnWidth:I??{type:SS.Auto},selectionColIdx:v,isActivelySorted:f,id:mE(d),label:w,groupDimensionPos:y,groupDimensionLabels:x,qAttrExprInfoIDs:R.map((e=>e.id)),qAttrExprInfoIndex:lE(d),sortDirection:A&&"N"!==A?A:"A",totalInfo:RR(e,c,r,n),...!c&&{isTotalNumeric:AR(e,n)},...PR(E,h,c,o,i),representation:S,conditionalColoring:c?void 0:C,qMiniChart:m}}(e,n,o,u[n],t,r)))};const MR=(e,t)=>!(!e.snapshotData&&!t.viewState?.visibleHeight),LR=(e,t)=>void 0!==t.viewState?.usePagination?t.viewState.usePagination:!1!==e.usePagination||MR(e,t);var DR="$$material";const TR=["values","unit","step"];function _R(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=xr(e,TR),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>xt({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return xt({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const OR={borderRadius:4};function qR(e,t){return t?Ep(e,t,{clone:!1}):e}const NR={xs:0,sm:600,md:900,lg:1200,xl:1536},jR={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${NR[e]}px)`};function zR(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||jR;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||jR;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||NR).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function FR(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function HR(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function $R(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"==typeof e?e(r):Array.isArray(e)?e[r]||o:HR(e,r)||o,t&&(n=t(n,o,e)),n}function BR(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=HR(e.theme,n)||{};return zR(e,i,(e=>{let n=$R(a,o,e);return e===n&&"string"==typeof e&&(n=$R(a,o,`${t}${"default"===e?"":Tp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const WR={m:"margin",p:"padding"},VR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},GR={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},UR=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!GR[e])return[e];e=GR[e]}const[t,r]=e.split(""),n=WR[t],o=VR[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),YR=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],KR=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function XR(e,t,r,n){var o;const i=null!=(o=HR(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function JR(e){return XR(e,"spacing",8)}function ZR(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function QR(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=ZR(t,r),e)),{})}(UR(r),n);return zR(e,e[r],o)}function eA(e,t){const r=JR(e.theme);return Object.keys(e).map((n=>QR(e,t,n,r))).reduce(qR,{})}function tA(e){return eA(e,YR)}function rA(e){return eA(e,KR)}function nA(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,r)=>n[r]?qR(t,n[r](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function oA(e){return"number"!=typeof e?e:`${e}px solid`}function iA(e,t){return BR({prop:e,themeKey:"borders",transform:t})}tA.propTypes={},tA.filterProps=YR,rA.propTypes={},rA.filterProps=KR;const aA=iA("border",oA),sA=iA("borderTop",oA),lA=iA("borderRight",oA),uA=iA("borderBottom",oA),cA=iA("borderLeft",oA),dA=iA("borderColor"),pA=iA("borderTopColor"),fA=iA("borderRightColor"),hA=iA("borderBottomColor"),mA=iA("borderLeftColor"),gA=iA("outline",oA),bA=iA("outlineColor"),vA=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=XR(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:ZR(t,e)});return zR(e,e.borderRadius,r)}return null};vA.propTypes={},vA.filterProps=["borderRadius"],nA(aA,sA,lA,uA,cA,dA,pA,fA,hA,mA,vA,gA,bA);const yA=e=>{if(void 0!==e.gap&&null!==e.gap){const t=XR(e.theme,"spacing",8),r=e=>({gap:ZR(t,e)});return zR(e,e.gap,r)}return null};yA.propTypes={},yA.filterProps=["gap"];const xA=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=XR(e.theme,"spacing",8),r=e=>({columnGap:ZR(t,e)});return zR(e,e.columnGap,r)}return null};xA.propTypes={},xA.filterProps=["columnGap"];const SA=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=XR(e.theme,"spacing",8),r=e=>({rowGap:ZR(t,e)});return zR(e,e.rowGap,r)}return null};SA.propTypes={},SA.filterProps=["rowGap"];function CA(e,t){return"grey"===t?t:e}nA(yA,xA,SA,BR({prop:"gridColumn"}),BR({prop:"gridRow"}),BR({prop:"gridAutoFlow"}),BR({prop:"gridAutoColumns"}),BR({prop:"gridAutoRows"}),BR({prop:"gridTemplateColumns"}),BR({prop:"gridTemplateRows"}),BR({prop:"gridTemplateAreas"}),BR({prop:"gridArea"}));function wA(e){return e<=1&&0!==e?100*e+"%":e}nA(BR({prop:"color",themeKey:"palette",transform:CA}),BR({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:CA}),BR({prop:"backgroundColor",themeKey:"palette",transform:CA}));const EA=BR({prop:"width",transform:wA}),RA=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||NR[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:wA(t)}};return zR(e,e.maxWidth,t)}return null};RA.filterProps=["maxWidth"];const AA=BR({prop:"minWidth",transform:wA}),PA=BR({prop:"height",transform:wA}),kA=BR({prop:"maxHeight",transform:wA}),IA=BR({prop:"minHeight",transform:wA});BR({prop:"size",cssProperty:"width",transform:wA}),BR({prop:"size",cssProperty:"height",transform:wA});nA(EA,RA,AA,PA,kA,IA,BR({prop:"boxSizing"}));const MA={border:{themeKey:"borders",transform:oA},borderTop:{themeKey:"borders",transform:oA},borderRight:{themeKey:"borders",transform:oA},borderBottom:{themeKey:"borders",transform:oA},borderLeft:{themeKey:"borders",transform:oA},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:oA},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:vA},color:{themeKey:"palette",transform:CA},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:CA},backgroundColor:{themeKey:"palette",transform:CA},p:{style:rA},pt:{style:rA},pr:{style:rA},pb:{style:rA},pl:{style:rA},px:{style:rA},py:{style:rA},padding:{style:rA},paddingTop:{style:rA},paddingRight:{style:rA},paddingBottom:{style:rA},paddingLeft:{style:rA},paddingX:{style:rA},paddingY:{style:rA},paddingInline:{style:rA},paddingInlineStart:{style:rA},paddingInlineEnd:{style:rA},paddingBlock:{style:rA},paddingBlockStart:{style:rA},paddingBlockEnd:{style:rA},m:{style:tA},mt:{style:tA},mr:{style:tA},mb:{style:tA},ml:{style:tA},mx:{style:tA},my:{style:tA},margin:{style:tA},marginTop:{style:tA},marginRight:{style:tA},marginBottom:{style:tA},marginLeft:{style:tA},marginX:{style:tA},marginY:{style:tA},marginInline:{style:tA},marginInlineStart:{style:tA},marginInlineEnd:{style:tA},marginBlock:{style:tA},marginBlockStart:{style:tA},marginBlockEnd:{style:tA},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:yA},rowGap:{style:SA},columnGap:{style:xA},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:wA},maxWidth:{style:RA},minWidth:{transform:wA},height:{transform:wA},maxHeight:{transform:wA},minHeight:{transform:wA},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function LA(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=HR(r,s)||{};if(u)return u(o);return zR(o,t,(t=>{let r=$R(c,l,t);return t===r&&"string"==typeof t&&(r=$R(c,l,`${e}${"default"===t?"":Tp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={},nested:a}=r||{};if(!o)return null;const s=null!=(n=i.unstable_sxConfig)?n:MA;function l(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),l=Object.keys(o);let u=o;return Object.keys(n).forEach((r=>{const o=(a=n[r],l=i,"function"==typeof a?a(l):a);var a,l;if(null!=o)if("object"==typeof o)if(s[r])u=qR(u,e(r,o,i,s));else{const e=zR({theme:i},o,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(n);return t.every((e=>o.size===Object.keys(e).length))}(e,o)?u=qR(u,e):u[r]=t({sx:o,theme:i,nested:!0})}else u=qR(u,e(r,o,i,s))})),!a&&i.modularCssLayers?{"@layer sx":FR(l,u)}:FR(l,u)}return Array.isArray(o)?o.map(l):l(o)}}const DA=LA();function TA(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}DA.filterProps=["sx"];const _A=["breakpoints","palette","spacing","shape"];function OA(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:n,shape:o={}}=e,i=xr(e,_A),a=_R(t),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=JR({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(0===r.length?[1]:r).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ")};return r.mui=!0,r}(n);let l=Ep({breakpoints:a,direction:"ltr",components:{},palette:xt({mode:"light"},r),spacing:s,shape:xt({},OR,o)},i);l.applyStyles=TA;for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>Ep(e,t)),l),l.unstable_sxConfig=xt({},MA,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return DA({sx:e,theme:this})},l}var qA=Object.freeze({__proto__:null,default:OA,private_createBreakpoints:_R,unstable_applyStyles:TA});function NA(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=S.useContext(ip);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const jA=OA();function zA(){return NA(arguments.length>0&&void 0!==arguments[0]?arguments[0]:jA)}function FA(e){const t=e;return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function HA(e){let{styles:t,themeId:r,defaultTheme:n={}}=e;const o=zA(n),i=r&&o[r]||o;let a="function"==typeof t?t(i):t;return i.modularCssLayers&&(a=Array.isArray(a)?a.map((e=>FA("function"==typeof e?e(i):e))):FA(a)),Tl.jsx(bp,{styles:a})}const $A=["sx"];function BA(e){const{sx:t}=e,r=xr(e,$A),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:MA;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?function(){const e=t(...arguments);return Cp(e)?xt({},n,e):n}:xt({},n,t),xt({},o,{sx:i})}var WA=Object.freeze({__proto__:null,default:DA,extendSxProp:BA,unstable_createStyleFunctionSx:LA,unstable_defaultSxConfig:MA});const VA=["className","component"];function GA(e){if(e.type)return e;if("#"===e.charAt(0))return GA(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Ru(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(Ru(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function UA(e,t){return e=GA(e),t=function(e){return vh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}const YA=["value"],KA=S.createContext();function XA(e){let{value:t}=e,r=xr(e,YA);return Tl.jsx(KA.Provider,xt({value:null==t||t},r))}const JA=S.createContext(void 0);function ZA(e){let{value:t,children:r}=e;return Tl.jsx(JA.Provider,{value:t,children:r})}function QA(e){let{props:t,name:r}=e;return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?gh(o.defaultProps,n):o.styleOverrides||o.variants?n:gh(o,n)}({props:t,name:r,theme:{components:S.useContext(JA)}})}const eP={};function tP(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return S.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?xt({},t,{[e]:i}):i;return n?()=>a:a}return xt({},t,e?{[e]:r}:r)}),[e,t,r,n])}function rP(e){const{children:t,theme:r,themeId:n}=e,o=NA(eP),i=tm()||eP,a=tP(n,o,r),s=tP(n,i,r,!0),l="rtl"===a.direction,u=function(e){const t=NA(),r=Ih()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",bh((()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var n;if(t&&null!=(n=t.hasAttribute)&&n.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",r),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${r}"]`))||i.remove()}}),[o,r]),o?Tl.jsx(HA,{styles:o}):null}(a);return Tl.jsx(nm,{theme:s,children:Tl.jsx(ip.Provider,{value:a,children:Tl.jsx(XA,{value:l,children:Tl.jsxs(ZA,{value:null==a?void 0:a.components,children:[u,t]})})})})}function nP(e,t){return xt({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var oP={},iP={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(iP);var aP=iP.exports,sP=aP;Object.defineProperty(oP,"__esModule",{value:!0});var lP=oP.alpha=SP;oP.blend=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=gP(e),a=gP(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return vP({type:"rgb",values:s})},oP.colorChannel=void 0;var uP=oP.darken=CP;oP.decomposeColor=gP,oP.emphasize=EP;var cP=oP.getContrastRatio=function(e,t){const r=xP(e),n=xP(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};oP.getLuminance=xP,oP.hexToRgb=mP,oP.hslToRgb=yP;var dP=oP.lighten=wP;oP.private_safeAlpha=function(e,t,r){try{return SP(e,t)}catch(t){return e}},oP.private_safeColorChannel=void 0,oP.private_safeDarken=function(e,t,r){try{return CP(e,t)}catch(t){return e}},oP.private_safeEmphasize=function(e,t,r){try{return EP(e,t)}catch(t){return e}},oP.private_safeLighten=function(e,t,r){try{return wP(e,t)}catch(t){return e}},oP.recomposeColor=vP,oP.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=gP(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var pP=sP(pm),fP=sP(fm);function hP(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,fP.default)(e,t,r)}function mP(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function gP(e){if(e.type)return e;if("#"===e.charAt(0))return gP(mP(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,pP.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,pP.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const bP=e=>{const t=gP(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};oP.colorChannel=bP;function vP(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function yP(e){e=gP(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),vP({type:s,values:l})}function xP(e){let t="hsl"===(e=gP(e)).type||"hsla"===e.type?gP(yP(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function SP(e,t){return e=gP(e),t=hP(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,vP(e)}function CP(e,t){if(e=gP(e),t=hP(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return vP(e)}function wP(e,t){if(e=gP(e),t=hP(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return vP(e)}function EP(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return xP(e)>.5?CP(e,t):wP(e,t)}oP.private_safeColorChannel=(e,t)=>{try{return bP(e)}catch(t){return e}};const RP={black:"#000",white:"#fff"},AP={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},PP="#f3e5f5",kP="#ce93d8",IP="#ba68c8",MP="#ab47bc",LP="#9c27b0",DP="#7b1fa2",TP="#e57373",_P="#ef5350",OP="#f44336",qP="#d32f2f",NP="#c62828",jP="#ffb74d",zP="#ffa726",FP="#ff9800",HP="#f57c00",$P="#e65100",BP="#e3f2fd",WP="#90caf9",VP="#42a5f5",GP="#1976d2",UP="#1565c0",YP="#4fc3f7",KP="#29b6f6",XP="#03a9f4",JP="#0288d1",ZP="#01579b",QP="#81c784",ek="#66bb6a",tk="#4caf50",rk="#388e3c",nk="#2e7d32",ok="#1b5e20",ik=["mode","contrastThreshold","tonalOffset"],ak={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:RP.white,default:RP.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},sk={text:{primary:RP.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:RP.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function lk(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=dP(e.main,o):"dark"===t&&(e.dark=uP(e.main,i)))}function uk(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=xr(e,ik),i=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:WP,light:BP,dark:VP}:{main:GP,light:VP,dark:UP}}(t),a=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:kP,light:PP,dark:MP}:{main:LP,light:IP,dark:DP}}(t),s=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:OP,light:TP,dark:qP}:{main:qP,light:_P,dark:NP}}(t),l=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:KP,light:YP,dark:JP}:{main:JP,light:XP,dark:ZP}}(t),u=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ek,light:QP,dark:rk}:{main:nk,light:tk,dark:ok}}(t),c=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:zP,light:jP,dark:HP}:{main:"#ed6c02",light:FP,dark:$P}}(t);function d(e){return cP(e,sk.text.primary)>=r?sk.text.primary:ak.text.primary}const p=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:a=700}=e;if(t=xt({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(Ru(11,r?` (${r})`:"",o));if("string"!=typeof t.main)throw new Error(Ru(12,r?` (${r})`:"",JSON.stringify(t.main)));return lk(t,"light",i,n),lk(t,"dark",a,n),t.contrastText||(t.contrastText=d(t.main)),t},f={dark:sk,light:ak};return Ep(xt({common:xt({},RP),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:AP,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const ck=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const dk={textTransform:"uppercase"},pk='"Roboto", "Helvetica", "Arial", sans-serif';function fk(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=pk,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=xr(r,ck),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return xt({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===pk?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,dk),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,dk),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ep(xt({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function hk(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}const mk=["none",hk(0,2,1,-1,0,1,1,0,0,1,3,0),hk(0,3,1,-2,0,2,2,0,0,1,5,0),hk(0,3,3,-2,0,3,4,0,0,1,8,0),hk(0,2,4,-1,0,4,5,0,0,1,10,0),hk(0,3,5,-1,0,5,8,0,0,1,14,0),hk(0,3,5,-1,0,6,10,0,0,1,18,0),hk(0,4,5,-2,0,7,10,1,0,2,16,1),hk(0,5,5,-3,0,8,10,1,0,3,14,2),hk(0,5,6,-3,0,9,12,1,0,3,16,2),hk(0,6,6,-3,0,10,14,1,0,4,18,3),hk(0,6,7,-4,0,11,15,1,0,4,20,3),hk(0,7,8,-4,0,12,17,2,0,5,22,4),hk(0,7,8,-4,0,13,19,2,0,5,24,4),hk(0,7,9,-4,0,14,21,2,0,5,26,4),hk(0,8,9,-5,0,15,22,2,0,6,28,5),hk(0,8,10,-5,0,16,24,2,0,6,30,5),hk(0,8,11,-5,0,17,26,2,0,6,32,5),hk(0,9,11,-5,0,18,28,2,0,7,34,6),hk(0,9,12,-6,0,19,29,2,0,7,36,6),hk(0,10,13,-6,0,20,31,3,0,8,38,7),hk(0,10,13,-6,0,21,33,3,0,8,40,7),hk(0,10,14,-6,0,22,35,3,0,8,42,7),hk(0,11,14,-7,0,23,36,3,0,9,44,8),hk(0,11,15,-7,0,24,38,3,0,9,46,8)],gk=["duration","easing","delay"],bk={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vk={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yk(e){return`${Math.round(e)}ms`}function xk(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Sk(e){const t=xt({},bk,e.easing),r=xt({},vk,e.duration);return xt({getAutoHeightDuration:xk,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return xr(n,gk),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:yk(o)} ${i} ${"string"==typeof a?a:yk(a)}`)).join(",")}},e,{easing:t,duration:r})}const Ck={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},wk=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ek(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:n={},typography:o={}}=e,i=xr(e,wk);if(e.vars&&void 0===e.generateCssVars)throw new Error(Ru(18));const a=uk(r),s=OA(e);let l=Ep(s,{mixins:nP(s.breakpoints,t),palette:a,shadows:mk.slice(),typography:fk(a,o),transitions:Sk(n),zIndex:xt({},Ck)});l=Ep(l,i);for(var u=arguments.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=arguments[d];return l=c.reduce(((e,t)=>Ep(e,t)),l),l.unstable_sxConfig=xt({},MA,null==i?void 0:i.unstable_sxConfig),l.unstable_sx=function(e){return DA({sx:e,theme:this})},l}const Rk=Ek();var Ak,Pk={},kk={exports:{}};function Ik(){return Ak||(Ak=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(kk)),kk.exports}var Mk,Lk={exports:{}};function Dk(){return Mk||(Mk=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(Lk)),Lk.exports}var Tk=Rt(qA),_k=Rt(WA),Ok=aP;Object.defineProperty(Pk,"__esModule",{value:!0});var qk=Pk.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=Kk,rootShouldForwardProp:n=Uk,slotShouldForwardProp:o=Uk}=e,i=e=>(0,$k.default)((0,Nk.default)({},e,{theme:Jk((0,Nk.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,zk.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Zk(Xk(l))}=a,p=(0,jk.default)(a,Vk),f=s&&s.startsWith("Mui")||l?"components":"custom",h=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,m=c||!1;let g=Uk;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const b=(0,zk.default)(e,(0,Nk.default)({shouldForwardProp:g,label:undefined},p)),v=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Fk.isPlainObject)(e)?n=>{const o=Jk({theme:n.theme,defaultTheme:r,themeId:t});return Qk(e,(0,Nk.default)({},n,{theme:o}),o.modularCssLayers?f:void 0)}:e,y=function(n){let o=v(n);for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];const c=l?l.map(v):[];s&&d&&c.push((e=>{const n=Jk((0,Nk.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((t=>{let[r,o]=t;i[r]=Qk(o,(0,Nk.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)})),d(e,i)})),s&&!h&&c.push((e=>{var n;const o=Jk((0,Nk.default)({},e,{defaultTheme:r,themeId:t}));return Qk({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,Nk.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)})),m||c.push(i);const p=c.length-l.length;if(Array.isArray(n)&&p>0){const e=new Array(p).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const f=b(o,...c);return e.muiName&&(f.muiName=e.muiName),f};return b.withConfig&&(y.withConfig=b.withConfig),y}};Pk.shouldForwardProp=Uk,Pk.systemDefaultTheme=void 0;var Nk=Ok(Ik()),jk=Ok(Dk()),zk=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Gk(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(ig),Fk=ag;Ok(sg),Ok(lg);var Hk=Ok(Tk),$k=Ok(_k);const Bk=["ownerState"],Wk=["variants"],Vk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Gk(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Gk=function(e){return e?r:t})(e)}function Uk(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Yk(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const Kk=Pk.systemDefaultTheme=(0,Hk.default)(),Xk=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Jk(e){let{defaultTheme:t,theme:r,themeId:n}=e;return o=r,0===Object.keys(o).length?t:r[n]||r;var o}function Zk(e){return e?(t,r)=>r[e]:null}function Qk(e,t,r){let{ownerState:n}=t,o=(0,jk.default)(t,Bk);const i="function"==typeof e?e((0,Nk.default)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap((e=>Qk(e,(0,Nk.default)({ownerState:n},o),r)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,jk.default)(i,Wk);return e.forEach((e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,Nk.default)({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)})),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,Nk.default)({ownerState:n},o,n)):e.style;t.push(r?Yk((0,zk.internal_serializeStyles)(i),r):i)}})),t}return r?Yk((0,zk.internal_serializeStyles)(i),r):i}const eI=qk({themeId:DR,defaultTheme:Rk,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e}),tI=["theme"];function rI(e){let{theme:t}=e,r=xr(e,tI);const n=t[DR];let o=n||t;return"function"!=typeof t&&(n&&!n.vars?o=xt({},n,{vars:null}):t&&!t.vars&&(o=xt({},t,{vars:null}))),Tl.jsx(rP,xt({},r,{themeId:n?DR:void 0,theme:o}))}var nI={exports:{}};
|
|
105
105
|
/*!
|
|
106
106
|
* CSSJanus. https://github.com/cssjanus/cssjanus
|
|
107
107
|
*
|
|
@@ -120,4 +120,4 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
|
|
|
120
120
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
121
121
|
* See the License for the specific language governing permissions and
|
|
122
122
|
* limitations under the License.
|
|
123
|
-
*/!function(e,t){var r;function n(e,t){var r=[],n=0;function o(e){return r.push(e),t}function i(){return r[n++]}return{tokenize:function(t){return t.replace(e,o)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),i)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",i="direction\\s*:\\s*",a="['\"]?\\s*",s="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="(?:[_a-z0-9-]|"+r+"|"+u+")",d=o+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+r+"|"+u+")")+c+"*")+")?",p="((?:-?"+d+")|(?:inherit|auto))",f="(#?"+c+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",h="(?:[!#$%&*-~]|"+r+"|"+u+")*?",m="(?![a-zA-Z])",g="(?!("+c+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",b="(?!"+h+a+"\\))",v="(?="+h+a+"\\))",y="(\\s*(?:!important\\s*)?[;}])",x=/`TMP`/g,S=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),C=new RegExp("("+l+g+"[^;}]+;?)","gi"),E=new RegExp("("+l+"[^\\}]*?})","gi"),w=new RegExp("("+i+")ltr","gi"),R=new RegExp("("+i+")rtl","gi"),A=new RegExp(s+"(left)"+m+b+g,"gi"),P=new RegExp(s+"(right)"+m+b+g,"gi"),k=new RegExp(s+"(left)"+v,"gi"),I=new RegExp(s+"(right)"+v,"gi"),M=new RegExp(s+"(ltr)"+v,"gi"),L=new RegExp(s+"(rtl)"+v,"gi"),D=new RegExp(s+"([ns]?)e-resize","gi"),T=new RegExp(s+"([ns]?)w-resize","gi"),_=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+y,"gi"),O=new RegExp("((?:-color|border-style)\\s*:\\s*)"+f+"(\\s+)"+f+"(\\s+)"+f+"(\\s+)"+f+y,"gi"),q=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),N=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),z=new RegExp("(border-radius\\s*:\\s*)"+p+"(?:(?:\\s+"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?)?(?:(?:(?:\\s*\\/\\s*)"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?(?:\\s+"+p+")?)?"+y,"gi"),j=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+p,"gi"),F=new RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+f,"gi"),H=new RegExp("(text-shadow\\s*:\\s*)"+f+"(\\s*)"+p,"gi"),$=new RegExp("(text-shadow\\s*:\\s*)"+p,"gi"),B=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+p+"(\\s*\\))","gi"),W=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+p+"((?:\\s*,\\s*"+p+"){0,2}\\s*\\))","gi");function V(e,t,r){var n,o;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(o=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(o)+"%"):r=100-parseFloat(r)+"%"),t+r}function G(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function U(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter((function(e){return e})),o=r.slice(6,10).filter((function(e){return e})),i=r[10]||"";return t+(o.length?G(n)+" / "+G(o):G(n))+i}function Y(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function K(e,t,r){return t+Y(r)}function X(e,t,r,n,o){return t+r+Y(n)+o}function J(e,t,r,n,o){return t+r+n+Y(o)}return{transform:function(r,o){var i=new n(C,"`NOFLIP_SINGLE`"),a=new n(E,"`NOFLIP_CLASS`"),s=new n(S,t);return r=s.tokenize(a.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(M,"$1"+e).replace(L,"$1ltr").replace(x,"rtl")),o.transformEdgeInUrl&&(r=r.replace(k,"$1"+e).replace(I,"$1left").replace(x,"right")),r=r.replace(w,"$1"+e).replace(R,"$1ltr").replace(x,"rtl").replace(A,"$1"+e).replace(P,"$1left").replace(x,"right").replace(D,"$1$2"+e).replace(T,"$1$2e-resize").replace(x,"w-resize").replace(z,U).replace(j,K).replace(F,J).replace(H,J).replace($,K).replace(B,X).replace(W,X).replace(_,"$1$2$3$8$5$6$7$4$9").replace(O,"$1$2$3$8$5$6$7$4$9").replace(q,V).replace(N,V),r=i.detokenize(a.detokenize(s.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var o;return"object"==typeof t?o=t:(o={},"boolean"==typeof t&&(o.transformDirInUrl=t),"boolean"==typeof n&&(o.transformEdgeInUrl=n)),r.transform(e,o)}:"undefined"!=typeof window&&(window.cssjanus=r)}(nI,nI.exports);var oI=wt(nI.exports),iI="comm",aI="rule",sI="decl",lI=Math.abs,uI=String.fromCharCode;function cI(e){return e.trim()}function dI(e,t,r){return e.replace(t,r)}function pI(e,t,r){return e.indexOf(t,r)}function fI(e,t){return 0|e.charCodeAt(t)}function hI(e,t,r){return e.slice(t,r)}function mI(e){return e.length}function gI(e,t){return t.push(e),e}var bI=1,vI=1,yI=0,xI=0,SI=0,CI="";function EI(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:bI,column:vI,length:a,return:"",siblings:s}}function wI(){return SI=xI>0?fI(CI,--xI):0,vI--,10===SI&&(vI=1,bI--),SI}function RI(){return SI=xI<yI?fI(CI,xI++):0,vI++,10===SI&&(vI=1,bI++),SI}function AI(){return fI(CI,xI)}function PI(){return xI}function kI(e,t){return hI(CI,e,t)}function II(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function MI(e){return cI(kI(xI-1,TI(91===e?e+2:40===e?e+1:e)))}function LI(e){for(;(SI=AI())&&SI<33;)RI();return II(e)>2||II(SI)>3?"":" "}function DI(e,t){for(;--t&&RI()&&!(SI<48||SI>102||SI>57&&SI<65||SI>70&&SI<97););return kI(e,PI()+(t<6&&32==AI()&&32==RI()))}function TI(e){for(;RI();)switch(SI){case e:return xI;case 34:case 39:34!==e&&39!==e&&TI(SI);break;case 40:41===e&&TI(e);break;case 92:RI()}return xI}function _I(e,t){for(;RI()&&e+SI!==57&&(e+SI!==84||47!==AI()););return"/*"+kI(t,xI-1)+"*"+uI(47===e?e:RI())}function OI(e){for(;!II(AI());)RI();return kI(e,xI)}function qI(e){return function(e){return CI="",e}(NI("",null,null,null,[""],e=function(e){return bI=vI=1,yI=mI(CI=e),xI=0,[]}(e),0,[0],e))}function NI(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,E=y;g;)switch(h=v,v=RI()){case 40:if(108!=h&&58==fI(E,d-1)){-1!=pI(E+=dI(MI(v),"&","&\f"),"&\f",lI(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:E+=MI(v);break;case 9:case 10:case 13:case 32:E+=LI(h);break;case 92:E+=DI(PI()-1,7);continue;case 47:switch(AI()){case 42:case 47:gI(jI(_I(RI(),PI()),t,r,l),l),5!=II(h||1)&&5!=II(AI()||1)||!mI(E)||" "===hI(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*m:s[u++]=mI(E)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(E=dI(E,/\f/g,"")),f>0&&(mI(E)-d||0===m&&47===h)&&gI(f>32?FI(E+";",n,r,d-1,l):FI(dI(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(gI(C=zI(E,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)NI(E,t,C,C,x,i,d,s,S);else{switch(p){case 99:if(110===fI(E,3))break;case 108:if(97===fI(E,2))break;default:c=0;case 100:case 109:case 115:}c?NI(e,C,C,n&&gI(zI(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S):NI(E,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=E="",d=a;break;case 58:d=1+mI(E),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==wI())continue;switch(E+=uI(v),v*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(mI(E)-1)*b,b=1;break;case 64:45===AI()&&(E+=MI(RI())),p=AI(),c=d=mI(y=E+=OI(PI())),v++;break;case 45:45===h&&2==mI(E)&&(m=0)}}return i}function zI(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=function(e){return e.length}(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=hI(e,p+1,p=lI(g=a[m])),x=e;v<h;++v)(x=cI(g>0?f[v]+" "+y:dI(y,/&\f/g,f[v])))&&(l[b++]=x);return EI(e,t,r,0===o?aI:s,l,u,c,d)}function jI(e,t,r,n){return EI(e,t,r,iI,uI(SI),hI(e,2,-2),0,n)}function FI(e,t,r,n,o){return EI(e,t,r,sI,hI(e,0,n),hI(e,n+1,-1),n,o)}function HI(e,t,r){switch(e.type){case"@import":case sI:case iI:return e.return=e.return||e.value;case aI:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===iI&&(e.children=e.value)}))}var n=function(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}(Array.prototype.concat(e.children),HI);return mI(n)?e.return=e.value+"{"+n+"}":""}function $I(e,t,r,n){if("@keyframes"===e.type||"@supports"===e.type||e.type===aI&&(!e.parent||"@media"===e.parent.type||e.parent.type===aI)){var o=oI.transform(HI(e));e.children=o?qI(o)[0].children:[],e.return=""}}Object.defineProperty($I,"name",{value:"stylisRTLPlugin"});let BI=function(e){return e.Selected="selected",e.Possible="possible",e.Disabled="disabled",e.Inactive="inactive",e}({}),WI=function(e){return e.Select="Select",e.SelectMouseDown="SelectMouseDown",e.SelectMouseUp="SelectMouseUp",e.SelectMultiAdd="SelectMultiAdd",e.SelectMultiEnd="SelectMultiEnd",e.Reset="Reset",e.Clear="Clear",e.UpdatePageRows="UpdatePageRows",e}({}),VI=function(e){return e.A="ascending",e.D="descending",e}({}),GI=function(e){return e.First="sn-table-announcer-1",e.Second="sn-table-announcer-2",e}({});const UI=[0,0],YI={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},KI=12,XI=14,JI=16,ZI=24,QI=3,eM=300,tM=400,rM=600,nM=700,oM={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function iM(e){return QA(e)}const aM=Gf("MuiBox",["root"]),sM=wk(),lM=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=vp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(DA);return S.forwardRef((function(e,a){const s=jA(r),l=BA(e),{className:u,component:c="div"}=l,d=xr(l,VA);return Tl.jsx(i,xt({as:c,ref:a,className:$f(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:DR,defaultTheme:sM,defaultClassName:aM.root,generateClassName:Ff.generate}),uM=S.createContext();function cM(e){return Vf("MuiTable",e)}Gf("MuiTable",["root","stickyHeader"]);const dM=["className","component","padding","size","stickyHeader"],pM=eI("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:r}=e;return xt({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":xt({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},r.stickyHeader&&{borderCollapse:"separate"})})),fM="table",hM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTable"}),{className:n,component:o=fM,padding:i="normal",size:a="medium",stickyHeader:s=!1}=r,l=xr(r,dM),u=xt({},r,{component:o,padding:i,size:a,stickyHeader:s}),c=(e=>{const{classes:t,stickyHeader:r}=e;return Uh({root:["root",r&&"stickyHeader"]},cM,t)})(u),d=S.useMemo((()=>({padding:i,size:a,stickyHeader:s})),[i,a,s]);return Tl.jsx(uM.Provider,{value:d,children:Tl.jsx(pM,xt({as:o,role:o===fM?null:"table",ref:t,className:$f(c.root,n),ownerState:u},l))})})),mM=S.createContext();function gM(e){return Vf("MuiTableBody",e)}Gf("MuiTableBody",["root"]);const bM=["className","component"],vM=eI("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),yM={variant:"body"},xM="tbody",SM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableBody"}),{className:n,component:o=xM}=r,i=xr(r,bM),a=xt({},r,{component:o}),s=(e=>{const{classes:t}=e;return Uh({root:["root"]},gM,t)})(a);return Tl.jsx(mM.Provider,{value:yM,children:Tl.jsx(vM,xt({className:$f(s.root,n),as:o,ref:t,role:o===xM?null:"rowgroup",ownerState:a},i))})}));function CM(e){return Vf("MuiTableCell",e)}const EM=Gf("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),wM=["align","className","component","padding","scope","size","sortDirection","variant"],RM=eI("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Tp(r.size)}`],"normal"!==r.padding&&t[`padding${Tp(r.padding)}`],"inherit"!==r.align&&t[`align${Tp(r.align)}`],r.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:r}=e;return xt({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid\n ${"light"===t.palette.mode?dP(lP(t.palette.divider,1),.88):uP(lP(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===r.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===r.variant&&{color:(t.vars||t).palette.text.primary},"footer"===r.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===r.size&&{padding:"6px 16px",[`&.${EM.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===r.padding&&{width:48,padding:"0 0 0 4px"},"none"===r.padding&&{padding:0},"left"===r.align&&{textAlign:"left"},"center"===r.align&&{textAlign:"center"},"right"===r.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===r.align&&{textAlign:"justify"},r.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),AM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableCell"}),{align:n="inherit",className:o,component:i,padding:a,scope:s,size:l,sortDirection:u,variant:c}=r,d=xr(r,wM),p=S.useContext(uM),f=S.useContext(mM),h=f&&"head"===f.variant;let m;m=i||(h?"th":"td");let g=s;"td"===m?g=void 0:!g&&h&&(g="col");const b=c||f&&f.variant,v=xt({},r,{align:n,component:m,padding:a||(p&&p.padding?p.padding:"normal"),size:l||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&p&&p.stickyHeader,variant:b}),y=(e=>{const{classes:t,variant:r,align:n,padding:o,size:i,stickyHeader:a}=e;return Uh({root:["root",r,a&&"stickyHeader","inherit"!==n&&`align${Tp(n)}`,"normal"!==o&&`padding${Tp(o)}`,`size${Tp(i)}`]},CM,t)})(v);let x=null;return u&&(x="asc"===u?"ascending":"descending"),Tl.jsx(RM,xt({as:m,ref:t,className:$f(y.root,o),"aria-sort":x,scope:g,ownerState:v},d))}));function PM(e){return Vf("MuiTableContainer",e)}Gf("MuiTableContainer",["root"]);const kM=["className","component"],IM=eI("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),MM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,i=xr(r,kM),a=xt({},r,{component:o}),s=(e=>{const{classes:t}=e;return Uh({root:["root"]},PM,t)})(a);return Tl.jsx(IM,xt({ref:t,as:o,className:$f(s.root,n),ownerState:a},i))}));function LM(e){return Vf("MuiTableHead",e)}Gf("MuiTableHead",["root"]);const DM=["className","component"],TM=eI("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),_M={variant:"head"},OM="thead",qM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableHead"}),{className:n,component:o=OM}=r,i=xr(r,DM),a=xt({},r,{component:o}),s=(e=>{const{classes:t}=e;return Uh({root:["root"]},LM,t)})(a);return Tl.jsx(mM.Provider,{value:_M,children:Tl.jsx(TM,xt({as:o,className:$f(s.root,n),ref:t,role:o===OM?null:"rowgroup",ownerState:a},i))})}));function NM(e){return Vf("MuiTableRow",e)}const zM=Gf("MuiTableRow",["root","selected","hover","head","footer"]),jM=["className","component","hover","selected"],FM=eI("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})((e=>{let{theme:t}=e;return{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${zM.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${zM.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:lP(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:lP(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}})),HM="tr",$M=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableRow"}),{className:n,component:o=HM,hover:i=!1,selected:a=!1}=r,s=xr(r,jM),l=S.useContext(mM),u=xt({},r,{component:o,hover:i,selected:a,head:l&&"head"===l.variant,footer:l&&"footer"===l.variant}),c=(e=>{const{classes:t,selected:r,hover:n,head:o,footer:i}=e;return Uh({root:["root",r&&"selected",n&&"hover",o&&"head",i&&"footer"]},NM,t)})(u);return Tl.jsx(FM,xt({as:o,ref:t,className:$f(c.root,n),role:o===HM?null:"row",ownerState:u},s))}));function BM(e){return Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Tl.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}var WM=function(){let{fontSize:e="medium",children:t=null,className:r=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx("i",{style:{fontSize:"small"===e?"16px":"20px",margin:"small"===e?"-2px 0":void 0,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})};function VM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{...e,children:Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Tl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Tl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function GM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{fontSize:"medium",...e,children:Tl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Tl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Tl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function UM(e){return Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Tl.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function YM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Tl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Tl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function KM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{fontSize:"medium",...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Tl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function XM(e){let{className:t}=e;return Tl.jsx(WM,{fontSize:"small",className:t,children:Tl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Tl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Tl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Tl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function JM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("rect",{stroke:YI.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}const ZM={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:QI,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var QM=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:YI.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:YI.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Tl.jsx(BM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${YI.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`,borderRadius:QI,backgroundColor:YI.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${YI.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:YI.WHITE,color:YI.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:QI},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:YI.GREYSCALE_0_15,backgroundColor:YI.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${YI.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:YI.GREEN_PALE},"&:active":{backgroundColor:YI.GREEN_DARK},"&.Mui-focusVisible":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:YI.BLUE_PALE},"&:active":{backgroundColor:YI.BLUE_DARK},"&.Mui-focusVisible":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:QI,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:YI.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`}},outlined:e=>{let{ownerState:t}=e;return{padding:"7px 16px",borderColor:YI.GREYSCALE_0_15,backgroundColor:YI.GREYSCALE_100_60,"&:active":{backgroundColor:YI.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${YI.MISC_FOCUS_BORDER}`},..."amethyst"===t.color&&{borderColor:YI.PURPLE,"&.Mui-focusVisible":{borderColor:YI.PURPLE,boxShadow:`0 0 0 3px ${UA(YI.PURPLE_PALE,.5)}`}}}},outlinedPrimary:{borderColor:YI.GREEN,"&.Mui-focusVisible":{borderColor:YI.GREEN,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:YI.BLUE,"&.Mui-focusVisible":{borderColor:YI.BLUE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:YI.ORANGE,"&.Mui-focusVisible":{borderColor:YI.ORANGE,boxShadow:`0 0 0 3px ${UA(YI.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:YI.RED,"&.Mui-focusVisible":{borderColor:YI.RED,boxShadow:`0 0 0 3px ${UA(YI.RED_PALE,.5)}`}},contained:e=>{let{ownerState:t}=e;return{color:YI.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===t.color&&{"&:hover":{backgroundColor:YI.PURPLE_PALE},"&:active":{backgroundColor:YI.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:YI.PURPLE_PALE,boxShadow:`0 0 0 3px ${UA(YI.PURPLE_PALE,.5)}`}}}},containedPrimary:{"&:hover":{backgroundColor:YI.GREEN_PALE},"&:active":{backgroundColor:YI.GREEN_DARK},"&.Mui-focusVisible":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:YI.BLUE_PALE},"&:active":{backgroundColor:YI.BLUE_DARK},"&.Mui-focusVisible":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:YI.ORANGE_PALE},"&:active":{backgroundColor:YI.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:YI.ORANGE_PALE,boxShadow:`0 0 0 3px ${UA(YI.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:YI.RED_PALE},"&:active":{backgroundColor:YI.RED_DARK},"&.Mui-focusVisible":{borderColor:YI.RED_PALE,boxShadow:`0 0 0 3px ${UA(YI.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:YI.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:YI.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:QI,boxShadow:`inset 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Tl.jsx(UM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:KI,borderRadius:QI,color:YI.TEXT_PRIMARY,backgroundColor:YI.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:YI.GREYSCALE_0_05,color:YI.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:YI.GREEN,borderColor:YI.GREEN},"&.MuiChip-outlinedInfo":{color:YI.BLUE,borderColor:YI.BLUE},"&.MuiChip-outlinedWarning":{color:YI.ORANGE,borderColor:YI.ORANGE},"&.MuiChip-outlinedError":{color:YI.RED,borderColor:YI.RED}},outlined:{border:`solid 1px ${YI.GREYSCALE_0_15}`,backgroundColor:YI.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:QI,boxShadow:"none",backgroundColor:YI.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:YI.GREEN,borderColor:YI.GREEN},outlinedSecondary:{color:YI.BLUE,borderColor:YI.BLUE},label:{fontFamily:oM.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Tl.jsx(UM,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Tl.jsx(BM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:QI},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:QI,fontSize:XI,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:YI.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${YI.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:YI.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:YI.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_05}}},popupIndicator:{borderRadius:QI,border:`solid 1px ${YI.GREYSCALE_0_15}`,color:YI.GREYSCALE_0_60,marginRight:0,width:ZI,height:ZI},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${YI.GREYSCALE_0_15}`},clearIndicator:{borderRadius:QI,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:YI.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:XI}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:KI,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:YI.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:YI.GREYSCALE_25,fontSize:KI,fontFamily:oM.FONT_FAMILY,fontWeight:rM,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:YI.TEXT_PRIMARY},"&.Mui-error":{color:YI.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:YI.TEXT_SECONDARY,content:"'(optional)'",fontWeight:tM,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:YI.TEXT_SECONDARY,content:"'(required)'",fontWeight:tM,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:XI,lineHeight:"16px",backgroundColor:YI.WHITE,borderRadius:QI,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.GREYSCALE_0_05}`,borderColor:YI.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${YI.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${YI.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.RED}`,boxShadow:`0px 0px 0px 1px ${YI.RED}, inset 0 2px 0 0 ${YI.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.GREYSCALE_0_10}`,borderColor:YI.GREYSCALE_0_10,backgroundColor:YI.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:YI.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:YI.GREYSCALE_0_15,borderRadius:QI,boxShadow:`inset 0 2px 0 0 ${YI.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Tl.jsx(BM,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:YI.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:YI.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:YI.GREYSCALE_0_03},"&:active":{backgroundColor:YI.GREYSCALE_0_10},"&:focus":{backgroundColor:YI.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${YI.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:YI.GREYSCALE_0_30,"&:hover":{backgroundColor:YI.GREYSCALE_0_0,borderColor:YI.GREYSCALE_0_15},"& ~svg":{color:YI.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${YI.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:QI}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:YI.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:XI,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:KI,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:KI,fontWeight:rM,color:YI.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:rM}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${YI.GREYSCALE_0_15}, 0px 0px 0px 1px ${YI.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Tl.jsx(KM,{}),checkedIcon:Tl.jsx(GM,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:YI.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:YI.GREYSCALE_0_20}},"&.Mui-disabled":{fill:YI.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Tl.jsx(JM,{}),checkedIcon:Tl.jsx(VM,{}),indeterminateIcon:Tl.jsx(YM,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:QI,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:YI.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:YI.GREYSCALE_0_55,color:YI.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:YI.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:YI.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:YI.GREYSCALE_0_55,"&:hover":{color:YI.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:YI.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:YI.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:XI,color:YI.TEXT_PRIMARY,lineHeight:"16px",fontWeight:rM},secondary:{fontSize:KI,color:YI.GREYSCALE_45,fontWeight:tM,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:XI,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:XI,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:YI.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:KI,borderBottom:`solid 1px ${YI.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:XI,color:YI.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:YI.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:YI.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:'url(\'data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A\')',fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:YI.RED}}},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:YI.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:YI.GREEN,height:"24px","&.Mui-disabled":{color:YI.GREYSCALE_0_15}},rail:{backgroundColor:YI.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${YI.GREYSCALE_0_05}`,borderRadius:QI,boxShadow:`inset 0px 0px 0px 1px ${YI.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${YI.GREYSCALE_0_05}`,borderRadius:QI},thumb:{height:"16px",width:"16px",borderRadius:QI,backgroundColor:YI.WHITE,boxShadow:`0px 1px 2px 0px ${YI.GREYSCALE_0_15}, 0px 0px 0px 1px ${YI.GREYSCALE_0_05}`,"&:hover":{borderRadius:QI,boxShadow:`0 2px 4px 0 ${YI.GREYSCALE_0_30}, 0 0 0 1px ${YI.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${YI.GREYSCALE_0_15}, 0 0 0 1px ${YI.GREYSCALE_0_06}, 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${YI.GREYSCALE_0_15}, 0 0 0 1px ${YI.GREYSCALE_0_06}, 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:YI.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:YI.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:YI.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:YI.GREYSCALE_0_15},markLabel:{color:YI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:YI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:YI.WHITE,color:YI.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:YI.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:YI.GREYSCALE_0_15,borderRadius:QI},thumb:{height:"16px",width:"16px",borderRadius:QI,backgroundColor:YI.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:XI,fontWeight:rM,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${YI.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`,backgroundColor:YI.GREYSCALE_0_03,borderRadius:QI},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:YI.GREYSCALE_25,"&.Mui-selected":{color:YI.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:XI,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:QI,"&:hover":{backgroundColor:YI.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${YI.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${YI.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:QI,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:YI.GREYSCALE_0_05},"&:hover":{backgroundColor:YI.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${YI.GREYSCALE_85}`,borderRight:`1px solid ${YI.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:rM,backgroundColor:YI.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:YI.GREYSCALE_98,borderBottom:`1px solid ${YI.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${YI.GREYSCALE_85}`,borderTop:`1px solid ${YI.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:YI.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:YI.GREYSCALE_0_05,"&:hover":{backgroundColor:YI.GREYSCALE_0_03}},"&&:hover":{backgroundColor:YI.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:e=>{let{className:t}=e;return Tl.jsx(XM,{className:t})}},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${YI.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:XI,borderRadius:QI,padding:"7px 16px",border:`1px solid ${YI.GREYSCALE_0_15}`,backgroundColor:YI.GREYSCALE_100_60,color:YI.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:YI.GREYSCALE_0_10,border:`1px solid ${YI.GREYSCALE_0_30}`},"&:hover":{backgroundColor:YI.GREYSCALE_0_03,border:`1px solid ${YI.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:YI.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${YI.MISC_FOCUS_BORDER}`,border:`1px solid ${YI.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:YI.GREYSCALE_25,backgroundColor:YI.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:YI.GREYSCALE_0_10,border:`1px solid ${YI.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:KI,height:24,width:24,padding:7},sizeLarge:{fontSize:JI,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:XI,borderRadius:QI}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:YI.GREYSCALE_20},tooltip:{backgroundColor:YI.GREYSCALE_20,fontSize:KI,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...ZM}:{}});var eL=()=>({mode:"light",primary:{ultraLight:YI.GREEN_ULTRA_LIGHT,light:YI.GREEN_PALE,main:YI.GREEN,dark:YI.GREEN_DARK,extraDark:YI.GREEN_EXTRA_DARK,contrastText:YI.WHITE},secondary:{ultraLight:YI.BLUE_ULTRA_LIGHT,light:YI.BLUE_PALE,main:YI.BLUE,dark:YI.BLUE_DARK,extraDark:YI.BLUE_EXTRA_DARK,contrastText:YI.WHITE},error:{ultraLight:YI.RED_ULTRA_LIGHT,light:YI.RED_PALE,main:YI.RED,dark:YI.RED_DARK,extraDark:YI.RED_EXTRA_DARK,contrastText:YI.WHITE},warning:{ultraLight:YI.ORANGE_ULTRA_LIGHT,light:YI.ORANGE_PALE,main:YI.ORANGE,dark:YI.ORANGE_DARK,extraDark:YI.ORANGE_EXTRA_DARK,contrastText:YI.WHITE},success:{ultraLight:YI.GREEN_ULTRA_LIGHT,light:YI.GREEN_PALE,main:YI.GREEN,dark:YI.GREEN_DARK,extraDark:YI.GREEN_EXTRA_DARK,contrastText:YI.WHITE},info:{ultraLight:YI.BLUE_ULTRA_LIGHT,light:YI.BLUE_PALE,main:YI.BLUE,dark:YI.BLUE_DARK,extraDark:YI.BLUE_EXTRA_DARK,contrastText:YI.WHITE},text:{primary:YI.TEXT_PRIMARY,secondary:YI.TEXT_SECONDARY,disabled:YI.GREYSCALE_0_30},action:{hover:YI.GREYSCALE_0_03,hoverOpacity:.03,selected:YI.GREYSCALE_0_05,selectedOpacity:.05,focus:YI.MISC_FOCUS_BORDER},amethyst:{ultraLight:YI.WHITE,main:YI.PURPLE,light:YI.PURPLE_PALE,dark:YI.PURPLE_DARK,extraDark:YI.GREYSCALE_0_0,contrastText:YI.WHITE},background:{paper:YI.WHITE,default:YI.GREYSCALE_95},divider:YI.GREYSCALE_0_15});var tL=e=>eL();var rL=function(e){const t=((e,t)=>QM(t))(0,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return{components:t,palette:tL(e),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:XI,fontWeightLight:eM,fontWeightRegular:tM,fontWeightMedium:rM,fontWeightBold:nM,htmlFontSize:XI,fontFamily:oM.FONT_FAMILY,button:{fontWeight:rM,fontSize:XI,textTransform:"none"},body1:{fontSize:JI,lineHeight:"24px"},body2:{fontSize:XI,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:ZI,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:JI,fontWeight:rM,lineHeight:"16px"},h6:{fontSize:XI,fontWeight:rM,lineHeight:"16px"},caption:{color:YI.TEXT_SECONDARY},subtitle1:{fontSize:XI,color:YI.TEXT_SECONDARY},subtitle2:{fontSize:KI,color:YI.TEXT_SECONDARY}},shape:{borderRadius:QI}}},nL={},oL={exports:{}},iL={exports:{}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(iL);var aL=iL.exports;!function(e){var t=aL.default;function r(n,o){if("function"==typeof WeakMap)var i=new WeakMap,a=new WeakMap;return(e.exports=r=function(e,r){if(!r&&e&&e.__esModule)return e;var n,o,s={__proto__:null,default:e};if(null===e||"object"!=t(e)&&"function"!=typeof e)return s;if(n=r?a:i){if(n.has(e))return n.get(e);n.set(e,s)}for(var l in e)"default"!==l&&{}.hasOwnProperty.call(e,l)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,l))&&(o.get||o.set)?n(s,l,o):s[l]=e[l]);return s},e.exports.__esModule=!0,e.exports.default=e.exports)(n,o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(oL);var sL=oL.exports,lL={},uL=Rt(br);Object.defineProperty(lL,"__esModule",{value:!0}),lL.hexToRgb=pL,lL.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=hL(e),r=t.values;return"#".concat(r.map((function(e){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(e)})).join(""))},lL.hslToRgb=fL,lL.decomposeColor=hL,lL.recomposeColor=mL,lL.getContrastRatio=function(e,t){var r=gL(e),n=gL(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},lL.getLuminance=gL,lL.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return gL(e)>.5?vL(e,t):yL(e,t)},lL.fade=function(e,t){return bL(e,t)},lL.alpha=bL,lL.darken=vL,lL.lighten=yL;var cL=uL;function dL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}function pL(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function fL(e){var t=(e=hL(e)).values,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),mL({type:s,values:l})}function hL(e){if(e.type)return e;if("#"===e.charAt(0))return hL(pL(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error((0,cL.formatMuiErrorMessage)(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function mL(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function gL(e){var t="hsl"===(e=hL(e)).type?hL(fL(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function bL(e,t){return e=hL(e),t=dL(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,mL(e)}function vL(e,t){if(e=hL(e),t=dL(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return mL(e)}function yL(e,t){if(e=hL(e),t=dL(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return mL(e)}var xL,SL,CL,EL={},wL={exports:{}},RL={exports:{}},AL={exports:{}};function PL(){return xL||(xL=1,function(e){var t=aL.default;e.exports=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(AL)),AL.exports}function kL(){return SL||(SL=1,function(e){var t=aL.default,r=PL();e.exports=function(e){var n=r(e,"string");return"symbol"==t(n)?n:n+""},e.exports.__esModule=!0,e.exports.default=e.exports}(RL)),RL.exports}function IL(){return CL||(CL=1,function(e){var t=kL();e.exports=function(e,r,n){return(r=t(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(wL)),wL.exports}var ML,LL={exports:{}};function DL(){return ML||(ML=1,function(e){var t=Dk();e.exports=function(e,r){if(null==e)return{};var n,o,i=t(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],-1===r.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports}(LL)),LL.exports}var TL,_L={};var OL,qL={};var NL,zL={},jL={};var FL,HL={};var $L,BL={};var WL,VL={};var GL,UL={};var YL,KL={};var XL,JL={};var ZL,QL,eD={};function tD(){if(QL)return zL;QL=1;var e=aP;Object.defineProperty(zL,"__esModule",{value:!0}),zL.default=function(e){var g=e.primary,b=void 0===g?{light:a.default[300],main:a.default[500],dark:a.default[700]}:g,v=e.secondary,y=void 0===v?{light:s.default.A200,main:s.default.A400,dark:s.default.A700}:v,x=e.error,S=void 0===x?{light:l.default[300],main:l.default[500],dark:l.default[700]}:x,C=e.warning,E=void 0===C?{light:u.default[300],main:u.default[500],dark:u.default[700]}:C,w=e.info,R=void 0===w?{light:c.default[300],main:c.default[500],dark:c.default[700]}:w,A=e.success,P=void 0===A?{light:d.default[300],main:d.default[500],dark:d.default[700]}:A,k=e.type,I=void 0===k?"light":k,M=e.contrastThreshold,L=void 0===M?3:M,D=e.tonalOffset,T=void 0===D?.2:D,_=(0,r.default)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function O(e){return(0,p.getContrastRatio)(e,h.text.primary)>=L?h.text.primary:f.text.primary}var q=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,t.default)({},e)).main&&e[r]&&(e.main=e[r]),!e.main)throw new Error((0,n.formatMuiErrorMessage)(4,r));if("string"!=typeof e.main)throw new Error(_formatMuiErrorMessage(5,JSON.stringify(e.main)));return m(e,"light",o,T),m(e,"dark",i,T),e.contrastText||(e.contrastText=O(e.main)),e},N={dark:h,light:f},z=(0,n.deepmerge)((0,t.default)({common:o.default,type:I,primary:q(b),secondary:q(y,"A400","A200","A700"),error:q(S),warning:q(E),info:q(R),success:q(P),grey:i.default,contrastThreshold:L,getContrastText:O,augmentColor:q,tonalOffset:T},N[I]),_);return z},zL.dark=zL.light=void 0;var t=e(Ik()),r=e(DL()),n=uL,o=e(function(){if(NL)return jL;NL=1,Object.defineProperty(jL,"__esModule",{value:!0}),jL.default=void 0;var e={black:"#000",white:"#fff"};return jL.default=e,jL}()),i=e(function(){if(FL)return HL;FL=1,Object.defineProperty(HL,"__esModule",{value:!0}),HL.default=void 0;var e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};return HL.default=e,HL}()),a=e(function(){if($L)return BL;$L=1,Object.defineProperty(BL,"__esModule",{value:!0}),BL.default=void 0;var e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};return BL.default=e,BL}()),s=e(function(){if(WL)return VL;WL=1,Object.defineProperty(VL,"__esModule",{value:!0}),VL.default=void 0;var e={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};return VL.default=e,VL}()),l=e(function(){if(GL)return UL;GL=1,Object.defineProperty(UL,"__esModule",{value:!0}),UL.default=void 0;var e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};return UL.default=e,UL}()),u=e(function(){if(YL)return KL;YL=1,Object.defineProperty(KL,"__esModule",{value:!0}),KL.default=void 0;var e={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};return KL.default=e,KL}()),c=e(function(){if(XL)return JL;XL=1,Object.defineProperty(JL,"__esModule",{value:!0}),JL.default=void 0;var e={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};return JL.default=e,JL}()),d=e(function(){if(ZL)return eD;ZL=1,Object.defineProperty(eD,"__esModule",{value:!0}),eD.default=void 0;var e={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};return eD.default=e,eD}()),p=lL,f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.default.white,default:i.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}};zL.light=f;var h={text:{primary:o.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:i.default[800],default:"#303030"},action:{active:o.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(e,t,r,n){var o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,p.lighten)(e.main,o):"dark"===t&&(e.dark=(0,p.darken)(e.main,i)))}return zL.dark=h,zL}var rD,nD={};var oD,iD={};var aD,sD={};var lD,uD={},cD=Rt(no);var dD,pD={};function fD(){if(dD)return pD;dD=1;var e=aP;Object.defineProperty(pD,"__esModule",{value:!0}),pD.default=pD.duration=pD.easing=void 0;var t=e(DL()),r={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};pD.easing=r;var n={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}pD.duration=n;var i={easing:r,duration:n,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?n.standard:a,l=i.easing,u=void 0===l?r.easeInOut:l,c=i.delay,d=void 0===c?0:c;return(0,t.default)(i,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:o(s)," ").concat(u," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};return pD.default=i,pD}var hD,mD,gD={};function bD(){if(mD)return EL;mD=1;var e=aP;Object.defineProperty(EL,"__esModule",{value:!0}),EL.createMuiTheme=function(){return p.apply(void 0,arguments)},EL.default=void 0,e(IL());var t=e(DL()),r=uL,n=e(function(){if(TL)return _L;TL=1;var e=aP;Object.defineProperty(_L,"__esModule",{value:!0}),_L.default=function(e){var o=e.values,i=void 0===o?{xs:0,sm:600,md:960,lg:1280,xl:1920}:o,a=e.unit,s=void 0===a?"px":a,l=e.step,u=void 0===l?5:l,c=(0,r.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof i[e]?i[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=n.indexOf(t);return r===n.length-1?d(e):"@media (min-width:".concat("number"==typeof i[e]?i[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof i[n[r+1]]?i[n[r+1]]:t)-u/100).concat(s,")")}return(0,t.default)({keys:n,values:i,up:d,down:function(e){var t=n.indexOf(e)+1,r=i[n[t]];return t===n.length?d("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return i[e]}},c)},_L.keys=void 0;var t=e(Ik()),r=e(DL()),n=["xs","sm","md","lg","xl"];return _L.keys=n,_L}()),o=e(function(){if(OL)return qL;OL=1;var e=aP;Object.defineProperty(qL,"__esModule",{value:!0}),qL.default=function(e,n,o){var i;return(0,r.default)({gutters:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,r.default)({paddingLeft:n(2),paddingRight:n(2)},o,(0,t.default)({},e.up("sm"),(0,r.default)({paddingLeft:n(3),paddingRight:n(3)},o[e.up("sm")])))},toolbar:(i={minHeight:56},(0,t.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,t.default)(i,e.up("sm"),{minHeight:64}),i)},o)};var t=e(IL()),r=e(Ik());return qL}()),i=e(tD()),a=e(function(){if(rD)return nD;rD=1;var e=aP;Object.defineProperty(nD,"__esModule",{value:!0}),nD.default=function(e,l){var u="function"==typeof l?l(e):l,c=u.fontFamily,d=void 0===c?s:c,p=u.fontSize,f=void 0===p?14:p,h=u.fontWeightLight,m=void 0===h?300:h,g=u.fontWeightRegular,b=void 0===g?400:g,v=u.fontWeightMedium,y=void 0===v?500:v,x=u.fontWeightBold,S=void 0===x?700:x,C=u.htmlFontSize,E=void 0===C?16:C,w=u.allVariants,R=u.pxToRem,A=(0,r.default)(u,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),P=f/14,k=R||function(e){return"".concat(e/E*P,"rem")},I=function(e,r,n,i,a){return(0,t.default)({fontFamily:d,fontWeight:e,fontSize:k(r),lineHeight:n},d===s?{letterSpacing:"".concat(o(i/r),"em")}:{},a,w)},M={h1:I(m,96,1.167,-1.5),h2:I(m,60,1.2,-.5),h3:I(b,48,1.167,0),h4:I(b,34,1.235,.25),h5:I(b,24,1.334,0),h6:I(y,20,1.6,.15),subtitle1:I(b,16,1.75,.15),subtitle2:I(y,14,1.57,.1),body1:I(b,16,1.5,.15),body2:I(b,14,1.43,.15),button:I(y,14,1.75,.4,a),caption:I(b,12,1.66,.4),overline:I(b,12,2.66,1,a)};return(0,n.deepmerge)((0,t.default)({htmlFontSize:E,pxToRem:k,round:i,fontFamily:d,fontSize:f,fontWeightLight:m,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:S},M),A,{clone:!1})};var t=e(Ik()),r=e(DL()),n=uL;function o(e){return Math.round(1e5*e)/1e5}function i(e){return o(e)}var a={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';return nD}()),s=e(function(){if(oD)return iD;function e(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}oD=1,Object.defineProperty(iD,"__esModule",{value:!0}),iD.default=void 0;var t=["none",e(0,2,1,-1,0,1,1,0,0,1,3,0),e(0,3,1,-2,0,2,2,0,0,1,5,0),e(0,3,3,-2,0,3,4,0,0,1,8,0),e(0,2,4,-1,0,4,5,0,0,1,10,0),e(0,3,5,-1,0,5,8,0,0,1,14,0),e(0,3,5,-1,0,6,10,0,0,1,18,0),e(0,4,5,-2,0,7,10,1,0,2,16,1),e(0,5,5,-3,0,8,10,1,0,3,14,2),e(0,5,6,-3,0,9,12,1,0,3,16,2),e(0,6,6,-3,0,10,14,1,0,4,18,3),e(0,6,7,-4,0,11,15,1,0,4,20,3),e(0,7,8,-4,0,12,17,2,0,5,22,4),e(0,7,8,-4,0,13,19,2,0,5,24,4),e(0,7,9,-4,0,14,21,2,0,5,26,4),e(0,8,9,-5,0,15,22,2,0,6,28,5),e(0,8,10,-5,0,16,24,2,0,6,30,5),e(0,8,11,-5,0,17,26,2,0,6,32,5),e(0,9,11,-5,0,18,28,2,0,7,34,6),e(0,9,12,-6,0,19,29,2,0,7,36,6),e(0,10,13,-6,0,20,31,3,0,8,38,7),e(0,10,13,-6,0,21,33,3,0,8,40,7),e(0,10,14,-6,0,22,35,3,0,8,42,7),e(0,11,14,-7,0,23,36,3,0,9,44,8),e(0,11,15,-7,0,24,38,3,0,9,46,8)];return iD.default=t,iD}()),l=e(function(){if(aD)return sD;aD=1,Object.defineProperty(sD,"__esModule",{value:!0}),sD.default=void 0;var e={borderRadius:4};return sD.default=e,sD}()),u=e(function(){if(lD)return uD;lD=1,Object.defineProperty(uD,"__esModule",{value:!0}),uD.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var r=(0,e.createUnarySpacing)({spacing:t}),n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n};var e=cD;return uD}()),c=e(fD()),d=e(function(){if(hD)return gD;hD=1,Object.defineProperty(gD,"__esModule",{value:!0}),gD.default=void 0;var e={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};return gD.default=e,gD}());function p(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=e.breakpoints,f=void 0===p?{}:p,h=e.mixins,m=void 0===h?{}:h,g=e.palette,b=void 0===g?{}:g,v=e.spacing,y=e.typography,x=void 0===y?{}:y,S=(0,t.default)(e,["breakpoints","mixins","palette","spacing","typography"]),C=(0,i.default)(b),E=(0,n.default)(f),w=(0,u.default)(v),R=(0,r.deepmerge)({breakpoints:E,direction:"ltr",mixins:(0,o.default)(E,w,m),overrides:{},palette:C,props:{},shadows:s.default,typography:(0,a.default)(C,x),spacing:w,shape:l.default,transitions:c.default,zIndex:d.default},S),A=arguments.length,P=new Array(A>1?A-1:0),k=1;k<A;k++)P[k-1]=arguments[k];return R=P.reduce((function(e,t){return(0,r.deepmerge)(e,t)}),R)}var f=p;return EL.default=f,EL}var vD,yD={};var xD,SD={},CD=Rt(cl);var ED,wD,RD={},AD={};function PD(){if(ED)return AD;ED=1;var e=aP;Object.defineProperty(AD,"__esModule",{value:!0}),AD.default=void 0;var t=(0,e(bD()).default)();return AD.default=t,AD}var kD,ID,MD={},LD={};function DD(){if(ID)return MD;ID=1;var e=aP;Object.defineProperty(MD,"__esModule",{value:!0}),MD.default=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.breakpoints,a=void 0===i?["sm","md","lg"]:i,s=o.disableAlign,l=void 0!==s&&s,u=o.factor,c=void 0===u?2:u,d=o.variants,p=void 0===d?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:d,f=(0,t.default)({},e);f.typography=(0,t.default)({},f.typography);var h=f.typography,m=(0,n.convertLength)(h.htmlFontSize),g=a.map((function(e){return f.breakpoints.values[e]}));return p.forEach((function(e){var o=h[e],i=parseFloat(m(o.fontSize,"rem"));if(!(i<=1)){var a=i,s=1+(a-1)/c,u=o.lineHeight;if(!(0,n.isUnitless)(u)&&!l)throw new Error((0,r.formatMuiErrorMessage)(6));(0,n.isUnitless)(u)||(u=parseFloat(m(u,"rem"))/parseFloat(i));var d=null;l||(d=function(e){return(0,n.alignProperty)({size:e,grid:(0,n.fontGrid)({pixels:4,lineHeight:u,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,t.default)({},o,(0,n.responsiveProperty)({cssProperty:"fontSize",min:s,max:a,unit:"rem",breakpoints:g,transform:d}))}})),f};var t=e(Ik()),r=uL,n=function(){if(kD)return LD;kD=1;var e=aP;Object.defineProperty(LD,"__esModule",{value:!0}),LD.isUnitless=function(e){return String(parseFloat(e)).length===String(e).length},LD.getUnit=r,LD.toUnitless=n,LD.convertLength=function(e){return function(t,o){var i=r(t);if(i===o)return t;var a=n(t);if("px"!==i)if("em"===i)a=n(t)*n(e);else if("rem"===i)return a=n(t)*n(e),t;var s=a;if("px"!==o)if("em"===o)s=a/n(e);else{if("rem"!==o)return t;s=a/n(e)}return parseFloat(s.toFixed(5))+o}},LD.alignProperty=function(e){var t=e.size,r=e.grid,n=t-t%r,o=n+r;return t-n<o-t?n:o},LD.fontGrid=function(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)},LD.responsiveProperty=function(e){var r=e.cssProperty,n=e.min,o=e.max,i=e.unit,a=void 0===i?"rem":i,s=e.breakpoints,l=void 0===s?[600,960,1280]:s,u=e.transform,c=void 0===u?null:u,d=(0,t.default)({},r,"".concat(n).concat(a)),p=(o-n)/l[l.length-1];return l.forEach((function(e){var o=n+p*e;null!==c&&(o=c(o)),d["@media (min-width:".concat(e,"px)")]=(0,t.default)({},r,"".concat(Math.round(1e4*o)/1e4).concat(a))})),d};var t=e(IL());function r(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function n(e){return parseFloat(e)}return LD}();return MD}var TD,_D={};var OD,qD={};var ND,zD={};var jD,FD={};!function(e){var t=aP,r=sL;Object.defineProperty(e,"__esModule",{value:!0});var n={createTheme:!0,createMuiTheme:!0,unstable_createMuiStrictModeTheme:!0,createStyles:!0,makeStyles:!0,responsiveFontSizes:!0,styled:!0,useTheme:!0,withStyles:!0,withTheme:!0,createGenerateClassName:!0,jssPreset:!0,ServerStyleSheets:!0,StylesProvider:!0,MuiThemeProvider:!0,ThemeProvider:!0};Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"createMuiTheme",{enumerable:!0,get:function(){return i.createMuiTheme}}),Object.defineProperty(e,"unstable_createMuiStrictModeTheme",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStyles",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"makeStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"responsiveFontSizes",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"styled",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"withStyles",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"withTheme",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createGenerateClassName",{enumerable:!0,get:function(){return m.createGenerateClassName}}),Object.defineProperty(e,"jssPreset",{enumerable:!0,get:function(){return m.jssPreset}}),Object.defineProperty(e,"ServerStyleSheets",{enumerable:!0,get:function(){return m.ServerStyleSheets}}),Object.defineProperty(e,"StylesProvider",{enumerable:!0,get:function(){return m.StylesProvider}}),Object.defineProperty(e,"MuiThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}});var o=lL;Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var i=r(bD()),a=t(function(){if(vD)return yD;vD=1;var e=aP;Object.defineProperty(yD,"__esModule",{value:!0}),yD.default=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.default.apply(void 0,[(0,t.deepmerge)({unstable_strictMode:!0},e)].concat(o))};var t=uL,r=e(bD());return yD}()),s=t(function(){if(xD)return SD;xD=1,Object.defineProperty(SD,"__esModule",{value:!0}),SD.default=function(t){return(0,e.createStyles)(t)};var e=CD;return SD}()),l=t(function(){if(wD)return RD;wD=1;var e=aP;Object.defineProperty(RD,"__esModule",{value:!0}),RD.default=void 0;var t=e(Ik()),r=CD,n=e(PD()),o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.makeStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return RD.default=o,RD}()),u=t(DD()),c=t(function(){if(TD)return _D;TD=1;var e=aP;Object.defineProperty(_D,"__esModule",{value:!0}),_D.default=void 0;var t=e(Ik()),r=CD,n=e(PD()),o=function(e){var o=(0,r.styled)(e);return function(e,r){return o(e,(0,t.default)({defaultTheme:n.default},r))}};return _D.default=o,_D}()),d=fD();Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var p=t(function(){if(OD)return qD;OD=1;var e=aP;Object.defineProperty(qD,"__esModule",{value:!0}),qD.default=function(){return(0,t.useTheme)()||r.default};var t=CD;e(x);var r=e(PD());return qD}()),f=t(function(){if(ND)return zD;ND=1;var e=aP;Object.defineProperty(zD,"__esModule",{value:!0}),zD.default=void 0;var t=e(Ik()),r=CD,n=e(PD()),o=function(e,o){return(0,r.withStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return zD.default=o,zD}()),h=t(function(){if(jD)return FD;jD=1;var e=aP;Object.defineProperty(FD,"__esModule",{value:!0}),FD.default=void 0;var t=CD,r=e(PD()),n=(0,t.withThemeCreator)({defaultTheme:r.default});return FD.default=n,FD}()),m=CD}(nL),nL.alpha(YI.GREYSCALE_0,.05),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5);const HD=function(){return rL(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light",arguments.length>1&&void 0!==arguments[1]&&arguments[1])},$D=(HD().palette.primary.light,"repeating-linear-gradient(-45deg, rgba(200,200,200,0.08), rgba(200,200,200,0.08) 2px, rgba(200,200,200,0.3) 2.5px, rgba(200,200,200,0.08) 3px, rgba(200,200,200,0.08) 5px)"),BD=4/3,WD="12px",VD="600",GD="Source Sans Pro, sans-serif",UD={height:"auto",fontSize:WD,lineHeight:"unset",padding:"4px",borderStyle:"solid",borderWidth:"0px 1px 1px 0px",userSelect:"none",outline:"none","&:focus-visible":{boxShadow:"0 0 0 2px #177fe6 inset, 0 0 0 3px #fff inset"},"&:focus:not(:focus-visible)":{boxShadow:"none"},"&:last-child":{borderRightWidth:"0px"}},YD={"<i>":{fontStyle:"italic"},"<b>":{fontWeight:VD},"<u>":{textDecoration:"underline"},"<s>":{textDecoration:"line-through"}},KD=25e4,XD=(e,t,r)=>{if(!e.length)return[];const n=[],o=[];let i=t;if(e.forEach(((e,a)=>{const{columnWidth:{type:s,pixels:l,percentage:u},label:c,qApprMaxGlyphCount:d,totalInfo:p}=e;let f=0;const h=()=>{n[a]=Math.min(xS.PixelsMax,Math.max(xS.PixelsMin,f)),i-=n[a]};switch(s){case SS.Pixels:f=(e=>void 0===e||Number.isNaN(+e)?xS.PixelsDefault:+e)(l),h();break;case SS.Percentage:f=(e=>void 0===e||Number.isNaN(+e)?xS.PercentageDefault:+e)(u)/100*t,h();break;case SS.FitToContent:e.representation?.type===yE.Image?o.push(a):(f=r(c,p,d,e.isLocked,e.isActivelySorted,e.isDim),h());break;case SS.Auto:o.push(a);break;default:throw new Error(`${s} is not a valid column width type`)}})),o.length){const e=i/o.length;o.forEach((t=>{n[t]=Math.max(xS.AutoMinTable,e)}))}return n},JD=(e,t,r)=>{const n=r.size,o=n>=t.size;if(n){e({keys:[o?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.DeselectedValue",1===n?"SNTable.SelectionLabel.OneSelectedValue":["SNTable.SelectionLabel.SelectedValues",n.toString()]]})}else e({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]})},ZD=(e,t,r)=>{r&&t&&(t.classList.contains("selected")?e({keys:["SNTable.SelectionLabel.SelectedValue"]}):e({keys:["SNTable.SelectionLabel.NotSelectedValue"]}))},QD=e=>e.ctrlKey||e.metaKey,eT=e=>e.shiftKey&&QD(e),tT=e=>[vS.Left,vS.Right,vS.Up,vS.Down].includes(e),rT=e=>e.shiftKey&&tT(e.key),nT=e=>(e=>tT(e)||[vS.Home,vS.End,vS.PageUp,vS.PageDown].includes(e))(e.key)&&!eT(e),oT=(e,t)=>{const{api:r,rows:n,colIdx:o}=e,{cell:i,announce:a,evt:s}=t;let l=new Map;if(-1===o)r?.begin(["/qHyperCubeDef"]);else{if(o!==i.selectionColIdx)return e;l=new Map(n)}return l=((e,t,r)=>{const{qElemNumber:n,rowIdx:o}=t;return r.ctrlKey||r.metaKey?(new Map).set(n,o):(e.has(n)?e.delete(n):e.set(n,o),new Map(e))})(l,i,s),JD(a,n,l),l.size?(r?.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(l.values()),[i.selectionColIdx]]}),{...e,rows:l,colIdx:i.selectionColIdx}):(r?.cancel(),{...e,rows:l,colIdx:-1})},iT=(e,t)=>{const{api:r,rows:n,colIdx:o,pageRows:i,firstCell:a}=e,{cell:s,announce:l,evt:u}=t;if(!(a||"key"in u&&rT(u)))return e;-1===o&&r?.begin(["/qHyperCubeDef"]);const c=((e,t,r,n,o)=>{const i=new Map(t);if("key"in n&&rT(n)){i.set(r.qElemNumber,r.rowIdx);const t=n.key===vS.Down?1:-1,o=e[r.pageRowIdx+t][r.pageColIdx];return i.set(o.qElemNumber,r.rowIdx+t),i}if(!o)return t;const a=Math.min(o.pageRowIdx,r.pageRowIdx),s=Math.max(o.pageRowIdx,r.pageRowIdx);for(let t=a;t<=s;t++){const r=e[t][o.pageColIdx];i.set(r.qElemNumber,r.rowIdx)}return i})(i,n,s,u,a);return JD(l,n,c),{...e,rows:c,colIdx:a?.selectionColIdx??s.selectionColIdx,isSelectMultiValues:!0}},aT=e=>{const{api:t,rows:r,colIdx:n,isSelectMultiValues:o,mouseupOutsideCallback:i}=e;return i&&document.removeEventListener("mouseup",i),o&&t?.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(r.values()),[n]]}),{...e,isSelectMultiValues:!1,firstCell:void 0,mouseupOutsideCallback:void 0}},sT=(e,t)=>{switch(t.type){case WI.Select:return oT(e,t.payload);case WI.SelectMouseDown:return((e,t)=>{let{cell:r,mouseupOutsideCallback:n}=t;return!n||-1!==e.colIdx&&e.colIdx!==r.selectionColIdx?e:(document.addEventListener("mouseup",n),{...e,firstCell:r,mouseupOutsideCallback:n})})(e,t.payload);case WI.SelectMouseUp:return((e,t)=>aT(e.isSelectMultiValues||e.firstCell!==t.cell?e:oT(e,t)))(e,t.payload);case WI.SelectMultiAdd:return iT(e,t.payload);case WI.SelectMultiEnd:return aT(e);case WI.Reset:return e.api?.isModal()?e:{...e,rows:new Map,colIdx:-1};case WI.Clear:return e.rows.size?{...e,rows:new Map}:e;case WI.UpdatePageRows:return{...e,pageRows:t.payload.pageRows};default:throw new Error("reducer called with invalid action type")}},lT=4/3,uT=e=>!!e?.color||"number"==typeof e?.index&&e.index>-1;function cT(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{index:-1};const n=t.getColorPickerColor(r);return n&&"none"!==n?n:e}const dT=(e,t)=>e?{borderBottomColor:Fx.DARK_MODE_BORDER,borderRightColor:Fx.DARK_MODE_BORDER,borderLeftColor:Fx.DARK_MODE_BORDER,borderTopColor:Fx.DARK_MODE_BORDER}:{borderLeftColor:Fx.BORDER_MEDIUM,borderRightColor:Fx.BORDER_MEDIUM,borderTopColor:Fx.BORDER_HEAVY,borderBottomColor:t?Fx.BORDER_HEAVY:Fx.BORDER_LIGHT},pT=(e,t,r)=>{if(e&&t&&r){const n=(e=>parseInt(e,10)*lT+8+1)(e);return n*(t+2)<r.clientHeight-40?"1px":"0px"}return"0px"},fT=e=>e.components?.find((e=>"theme"===e.key)),hT=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=t.getStyle("object",`straightTableV2.${e}`,"fontFamily"),i=t.getStyle("object",`straightTableV2.${e}`,"color"),a=t.getStyle("object",`straightTableV2.${e}`,"fontSize"),s={fontFamily:o,color:uT(r?.fontColor)?cT(Fx.TEXT,t,r?.fontColor):i||Fx.TEXT,fontSize:r?.fontSize&&`${r.fontSize}px`||a,padding:r&&"padding"in r?r.padding:void 0,...dT(t.background.isDark,n)};return Object.keys(s).forEach((e=>{const t=e;null==s[t]&&delete s[t]})),s};function mT(e,t,r){const n=fT(e)?.header,o=hT("header",t,n,r);return o.background=(e=>{if(void 0===e)return;const t=te(e);return t.setAlpha(1),t.getRGB()})(t.background.headerColor),o.hoverBackground=Bx(o.background??Fx.WHITE,CS),o.activeBackground=Bx(o.background??Fx.WHITE,ES),o}const gT=(e,t)=>{const r=e.toLowerCase().match(/<[^>]+>/g)??[];return r.forEach((e=>(e=>e in YD)(e)&&Object.assign(t,YD[e]))),t};function bT(e,t,r){const n={};let o={fontStyle:e.fontStyle,fontWeight:e.fontWeight,textDecoration:e.textDecoration};return t?.qValues?.forEach(((e,t)=>{const i=e.qText,a=i&&Vx(i);a&&"none"!==a&&(n[r[t]]=a),o=i?gT(i,o):o})),n.cellBackgroundColor&&!n.cellForegroundColor&&(n.cellForegroundColor=Hx(n.cellBackgroundColor)),{...e,...n,color:n.cellForegroundColor||e.color,background:n.cellBackgroundColor||e.background,fontStyle:o.fontStyle,fontWeight:o.fontWeight,textDecoration:o.textDecoration}}const vT=(e,t)=>{if(t){const r=e.getColorPickerColor(t);return"none"===r?"transparent":r}},yT=(e,t,r)=>{const{objectColorFromCSS:n,sheetColorFromCSS:o}=e.background,i=vT(e,t?.background),a=e.getStyle("","",r);return{backgroundColor:i||n||a,backgroundFromStyling:i,sheetColorFromCSS:o}},xT=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fx.WHITE;const{backgroundColor:o,backgroundFromStyling:i,sheetColorFromCSS:a}=yT(e,t,r);return Xx(i,o,a,n)??n},ST=e=>{switch(typeof e){case"string":return`${parseInt(e,10)}px`;case"number":return`${e}px`;default:return WD}},CT=e=>e?.some((e=>"italic"===e))?"italic":"normal",ET=(e,t)=>void 0===e?t:e.some((e=>"bold"===e))?VD:"normal",wT=e=>!1===e?1:3,RT=e=>parseInt(e??UD.fontSize,10)*BD,AT=e=>e?.some((e=>"underline"===e))?"underline":"none",PT=(e,t,r,n,o)=>{const{header:i,dimensionValues:a,measureValues:s,totalValues:l,nullValues:u,grid:c,content:d}=fT(t)??{},p=!0===t.usePagination?Fx.WHITE:Fx.TRANSPARENT,f=xT(n,i,"object.straightTableV2.dimension.label.name.backgroundColor",p),h=o.viewState?.maxLineCount??d?.rowHeight??n.getStyle("object.straightTableV2","grid","lineClamp"),m={header:{fontFamily:i?.fontFamily??n.getStyle("object.straightTableV2.dimension","label.name","fontFamily")??r.head.fontFamily??GD,fontSize:ST(i?.fontSize??n.getStyle("object.straightTableV2.dimension","label.name","fontSize")??r.head.fontSize),fontStyle:CT(i?.fontStyle),fontWeight:ET(i?.fontStyle,VD),textDecoration:AT(i?.fontStyle),color:vT(n,i?.fontColor)??n.getStyle("object.straightTableV2.dimension","label.name","color")??r.head.color??Fx.TEXT,background:f},headerMenuHoverBackground:Bx(f,CS),headerMenuActiveBackground:Bx(f,ES),dimension:{values:{fontFamily:a?.fontFamily??n.getStyle("object.straightTableV2.dimension","label.value","fontFamily")??r.body.fontFamily??GD,fontSize:ST(a?.fontSize??d?.fontSize??n.getStyle("object.straightTableV2.dimension","label.value","fontSize")??r.body.fontSize),fontStyle:CT(a?.fontStyle),fontWeight:ET(a?.fontStyle,"normal"),textDecoration:AT(a?.fontStyle),color:vT(n,a?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.dimension","label.value","color")??r.body.color??Fx.TEXT,background:yT(n,a,"object.straightTableV2.dimension.label.value.backgroundColor").backgroundColor??r.body.background??Fx.TRANSPARENT}},measure:{values:{fontFamily:s?.fontFamily??n.getStyle("object.straightTableV2.measure","label.value","fontFamily")??r.body.fontFamily??GD,fontSize:ST(s?.fontSize??d?.fontSize??n.getStyle("object.straightTableV2.measure","label.value","fontSize")??r.body.fontSize),fontStyle:CT(s?.fontStyle),fontWeight:ET(s?.fontStyle,"normal"),textDecoration:AT(s?.fontStyle),color:vT(n,s?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.measure","label.value","color")??r.body.color??Fx.TEXT,background:yT(n,s,"object.straightTableV2.measure.label.value.backgroundColor").backgroundColor??r.body.background??Fx.TRANSPARENT}},totalRow:{fontFamily:l?.fontFamily??n.getStyle("object.straightTableV2.total","label.value","fontFamily")??r.totals.fontFamily??GD,fontSize:ST(l?.fontSize??d?.fontSize??n.getStyle("object.straightTableV2.total","label.value","fontSize")??r.totals.fontSize),fontStyle:CT(l?.fontStyle),fontWeight:ET(l?.fontStyle,VD),textDecoration:AT(l?.fontStyle),color:vT(n,l?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.total","label.value","color")??r.totals.color??Fx.TEXT,background:xT(n,l,"object.straightTableV2.total.label.value.backgroundColor",p)},nullValues:{fontStyle:CT(u?.fontStyle),fontWeight:ET(u?.fontStyle,"normal"),textDecoration:AT(u?.fontStyle),color:vT(n,u?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.null","label.value","color")??r.body.color??Fx.TEXT,background:vT(n,u?.background)??n.getStyle("","","object.straightTableV2.null.label.value.backgroundColor")??Fx.NULL_VALUE_BACKGROUND},grid:{contentLineClamp:h??wT(t.multiline?.wrapTextInCells),headerLineClamp:wT(t.multiline?.wrapTextInHeaders),border:vT(n,c?.border)??n.getStyle("object.straightTableV2","grid","borderColor")??(n.background.isDark?Fx.DARK_MODE_BORDER:Fx.BORDER_MEDIUM),divider:vT(n,c?.divider)??n.getStyle("object.straightTableV2.grid","","divider.borderColor")??Fx.BORDER_HEAVY,hoverColors:{color:vT(n,d?.hoverFontColor)??n.getStyle("object.straightTableV2","","grid.hover.color")??r.body.hoverColors?.color,background:vT(n,d?.hoverColor)??n.getStyle("object.straightTableV2","","grid.hover.backgroundColor")??r.body.hoverColors?.background},zebraStripes:{show:!!c?.zebraStripes?.show,odd:{color:vT(n,c?.zebraStripes?.color?.odd),background:vT(n,c?.zebraStripes?.background?.odd)},even:{color:vT(n,c?.zebraStripes?.color?.even),background:vT(n,c?.zebraStripes?.background?.even)},overrideNullValueBackground:void 0===vT(n,u?.background),overrideNullValueColor:void 0===vT(n,u?.fontColor)},lastRowBottomBorder:r.body.lastRowBottomBorder},selectedColors:$x(n),headerMinRowHeight:0,totalRowLineHeight:0,totalRowMinHeight:0,contentLineHeight:0,contentMinRowHeight:0,contentStaticLineCount:h},{headerMinRowHeight:g,totalRowLineHeight:b,totalRowMinHeight:v,contentLineHeight:y,contentMinRowHeight:x}=(e=>{const t=Math.max(RT(e.header.fontSize)+8,32),r=RT(e.totalRow.fontSize),n=Math.max(r+8+1,24),o=Math.max(RT(e.dimension.values.fontSize),RT(e.measure.values.fontSize)),i=(e.contentStaticLineCount||1)*o;return{headerMinRowHeight:t,totalRowLineHeight:r,totalRowMinHeight:n,contentLineHeight:o,contentMinRowHeight:Math.max(i+8+1,24)}})(m);return m.headerMinRowHeight=g,m.totalRowLineHeight=b,m.totalRowMinHeight=v,m.contentLineHeight=y,m.contentMinRowHeight=x,m},kT=(e,t,r,n)=>{const o=w((()=>{const o=r.totalsPosition.atTop,i=function(e,t,r,n){const o=fT(e)?.content,i=hT("content",t,o);i.background=t.background.color;const a=pT(i.fontSize,r,n),s=o?.hoverColor,l=o?.hoverFontColor,u=t.getStyle("object","","straightTableV2.content.hover.backgroundColor"),c=t.getStyle("object","","straightTableV2.content.hover.color"),d=uT(l)||!!c,p=uT(s)||!!u,f=d||p;let h;h=uT(s)?cT(Fx.HOVER,t,s):u||(d?"":Fx.HOVER);const m=f?cT(Hx(h),t,l):"";return{...i,lastRowBottomBorder:a,hoverColors:{background:h,color:m}}}(e,t,r.rows.length,n),a=mT(e,t,!o),s=function(e,t,r){const n=fT(e)?.content,o=hT("content",t,n),{borderBottomColor:i,borderTopColor:a,background:s}=mT(e,t,r);return{...o,borderBottomColor:i,background:s,borderTopColor:a}}(e,t,o);return{body:i,head:a,totals:s}}),[e,t,r,n]);return o},IT=new Map;const MT=L({}),LT=function(e){const t=L([()=>{},new Set]);return IT.set(e,t),r=>{let{children:n,value:o}=r;const i=D(o),a=D(new Set);R((()=>{i.current=o,a.current.forEach((e=>{e(o)}))}),[o]);const s=T((()=>i.current),[i]),l=w((()=>[s,a.current]),[s]);return x.createElement(e.Provider,{value:o},x.createElement(t.Provider,{value:l},n))}}(MT),DT={rows:[],columns:[],totalsPosition:{}},TT=e=>{let{app:t,children:r,tableData:n=DT,selectionsAPI:o,cellCoordMock:i,layout:a,model:s,translator:l,interactions:u,theme:c,keyboard:d,rootElement:p,embed:f,changeSortOrder:h,applyColumnWidths:m,setPage:g,pageInfo:b,initialDataPages:v,rect:y,viewService:S,downloadService:C,env:R,direction:A}=e;const[P,k]=E(0),[I,L]=E(i||UI),[D,T]=((e,t)=>{const[r,n]=M(sT,{pageRows:e,rows:new Map,colIdx:-1,api:t,isSelectMultiValues:!1});return[r,n]})(n.rows,o),[_,O]=E(-1),q=kT(a,c,n,p),N=((e,t,r,n,o)=>w((()=>PT(0,t,r,n,o)),[t,r,e,n,o]))(R,a,q,c,S),[z,j,F,H]=((e,t,r,n)=>{const o=t.atBottom||t.atTop,i=nS({...n.header,fontWeight:VD},{maxNbrLinesOfText:3}).measureText,a=nS({...n.totalRow,fontWeight:VD},{maxNbrLinesOfText:3}).measureText,{estimateWidth:s}=nS(n.dimension.values,{maxNbrLinesOfText:3}),{estimateWidth:l}=nS(n.measure.values,{maxNbrLinesOfText:3}),u=w((()=>(e,t,r,n,u,c)=>{let d=25;d+=28,n&&(d+=24),u&&(d+=20);const p=c?s:l;return Math.max(i(e)+d,o?a(t)+24+1:0,p(r))}),[s,l,i,a,o]),[c,d]=E(0),[p,f]=E((()=>XD(e,r,u)));lS((()=>{f(XD(e,r-c,u))}),[e,r,c,u]);const h=w((()=>((e,t,r)=>e.length>0&&e.reduce(((e,t)=>e+t))+t<r)(p,c,r)),[p,c,r]);return[p,f,d,h]})(n.columns,n.totalsPosition,y.width,N),$=w((()=>({app:t,selectionsAPI:o,layout:a,model:s,translator:l,interactions:u,theme:c,keyboard:d,rootElement:p,embed:f,changeSortOrder:h,applyColumnWidths:m,rect:y,viewService:S,styleService:N,direction:A,downloadService:C})),[t,o,a,s,l,u,c,d.active,p,f,h,m,y,S,N,A,C]);return x.createElement(LT,{value:{headRowHeight:P,setHeadRowHeight:k,focusedCellCoord:I,setFocusedCellCoord:L,selectionState:D,selectionDispatch:T,hoverIndex:_,setHoverIndex:O,columnWidths:z,setColumnWidths:j,baseProps:$,tableData:n,setYScrollbarWidth:F,setPage:g,pageInfo:b,initialDataPages:v,showRightBorder:H,env:R}},r)};function _T(e,t){const r=function(e){return IT.get(e)}(e),[n,o]=C(r),[,i]=M((e=>e+1),0),a=D(t),s=D(),l=n();if(void 0===l)throw new Error("You must call useContextSelector inside a valid context.");const u=w((()=>t(l)),[l,t]);return R((()=>{a.current=t,s.current=u}),[l,u,t]),R((()=>{const e=e=>{a.current(e)!==s.current&&i()};return o.add(e),()=>{o.delete(e)}}),[o]),u}function OT(e){const t=HD();return t.components?.MuiTable?.styleOverrides&&(t.components.MuiTable.styleOverrides.root={}),wk({...t,direction:e})}function qT(){return qT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qT.apply(null,arguments)}const NT={width:"100%",height:"100%",color:"transparent",background:"transparent",borderColor:"transparent"},zT={border:0,boxShadow:"none",borderRadius:0,outline:0,width:0,height:0,background:"transparent",cursor:"pointer",visibility:"hidden"},jT=Lg("input",{shouldForwardProp:e=>"isLastColumn"!==e&&"hoverColor"!==e})((e=>{let{isLastColumn:t,hoverColor:r,dir:n}=e;return{position:"absolute",display:"flex",height:"100%",top:0,marginLeft:"-4px",marginRight:"rtl"===n?"-4px":void 0,touchAction:"none",cursor:"col-resize",pointerEvents:"auto",width:(t?4:9)+"px",justifyContent:t?"flex-end":"center",outline:"none",appearance:"none",WebkitAppearance:"none",backgroundColor:"transparent","&::-webkit-slider-runnable-track":{...NT},"&::-moz-range-track":{...NT},"&::-ms-track":{...NT},"&::-webkit-slider-thumb":{appearance:"none",WebkitAppearance:"none",...zT},"&::-moz-range-thumb":{...zT},"&::-ms-thumb":{...zT},"&:hover:not(:focus, :active)":{"&::after":{backgroundColor:r||"#D9D9D9","@media (hover: none)":{backgroundColor:"none"}}},"&:focus-visible, &:active":{"&::after":{backgroundColor:"#177fe6",borderLeft:"1px solid #fff",borderRight:t?void 0:"1px solid #fff"}},"&::after":{content:'""',height:"100%",width:"3px",position:"absolute"}}})),FT=e=>{let{columnWidth:t,keyValue:r,isLastColumn:n,isPivot:o,hoverColor:i,updateWidthCallback:a,confirmWidthCallback:s,handleBlur:l,setIsAdjustingWidth:u,isLeftColumn:c,accessibilityRelatedArgs:d,direction:p="ltr"}=e;const f=cS({translator:d.translator}),h=D({initWidth:t,columnWidth:t,initX:0}),m=n?0:1,g=o&&!c,b=()=>g?h.current.columnWidth-m:"100%",v={left:"rtl"!==p?b():void 0,right:"rtl"===p?b():void 0},y=e=>{h.current={initWidth:t,columnWidth:t,initX:e??h.current.initX}};lS((()=>{g&&y()}),[t]);const S=e=>{const t=Math.max(e,xS.PixelsMin);h.current.columnWidth=t,a(t)},C=()=>{if(h.current.columnWidth!==h.current.initWidth){const e={type:SS.Pixels,pixels:h.current.columnWidth};s(e)}else u?.(!1)},E=e=>{const t="rtl"===p?h.current.initWidth+h.current.initX-e.clientX:h.current.initWidth+e.clientX-h.current.initX;S(t)},w=e=>{Ux(e),document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",w),C()},R=e=>{const t="rtl"===p?h.current.initWidth+-h.current.initX-e.touches[0].clientX:h.current.initWidth+e.touches[0].clientX-h.current.initX;S(t)},A=e=>{Ux(e),document.removeEventListener("touchmove",R),document.removeEventListener("touchend",A),C()},P=!o&&l?e=>{if(e.key===vS.Left||e.key===vS.Right){Ux(e);const t=5,r=e.key===vS.Left?t:-t,n="rtl"===p?r:-r;S(h.current.columnWidth+n)}else e.key===vS.Space||e.key===vS.Enter?(Ux(e),l(e),C()):e.key===vS.Esc&&(Ux(e),l(e),S(h.current.initWidth))}:void 0,k=f.get("NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",[String(d.columnLabel)]);return x.createElement(jT,{style:v,key:r,hoverColor:i,isLastColumn:n,className:yS,"data-testid":yS,onMouseDown:e=>{Ux(e),document.addEventListener("mousemove",E),document.addEventListener("mouseup",w),u?.(!0),y(e.clientX)},onDoubleClick:()=>{s({type:SS.FitToContent})},onTouchStart:e=>{1===e.touches.length&&(Ux(e),document.addEventListener("touchmove",R),document.addEventListener("touchend",A),u?.(!0),y(e.touches[0].clientX))},onKeyDown:P,onBlur:l,onFocus:()=>{y()},type:"range",tabIndex:-1,"aria-label":k,"aria-valuemin":xS.PixelsMin,"aria-valuemax":xS.PixelsMax,"aria-valuenow":Number(t.toFixed(1)),dir:p})},HT=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M15 4H1V2h14zm0 10H1v-2h14zm0-5H1V7h14z"})}))),$T=Lg(fv,{shouldForwardProp:e=>"rightAligned"!==e&&"shouldShowMenuIcon"!==e})((e=>{let{rightAligned:t,shouldShowMenuIcon:r}=e;return{...t?{marginRight:"auto"}:{marginLeft:"auto"},height:24,display:r?"flex":"none",fontWeight:"bold",width:"100%",alignItems:"center",justifyContent:"center"}})),BT=Lg(HT,{shouldForwardProp:e=>"isInteractionsActive"!==e})((e=>{let{isInteractionsActive:t}=e;return{minWidth:"unset",position:"relative",cursor:t?"pointer":"default"}})),WT=Lg(Yy)((e=>{let{theme:t}=e;return{".MuiList-root":{padding:t.spacing(.5,0)}}})),VT=Lg(Vv)((e=>{let{theme:t}=e;return{"&.MuiDivider-root":{margin:t.spacing(.5)}}})),GT=Lg(Qy)((e=>{let{theme:t}=e;return{fontSize:"12px",height:24,fontWeight:"bold",padding:`${t.spacing(.25,2)} !important`,marginBottom:t.spacing(.5)}})),UT=Lg(Qy,{shouldForwardProp:e=>"isSubMenu"!==e&&"isActive"!==e})((e=>{let{theme:t,isSubMenu:r,isActive:n}=e;return{width:`calc(220px - ${t.spacing(1)} - ${r?10:0}px)`,maxHeight:32,borderRadius:`${t.spacing(.5)} !important`,margin:`${t.spacing(.25,.5)} !important`,padding:`${t.spacing(1,1.5)} !important`,display:"flex !important",justifyContent:"space-between !important","&&:focus":{boxShadow:"rgb(23, 127, 230) 0px 0px 0px 2px"},position:"relative !important",overflow:"hidden",boxSizing:"border-box !important",background:n?"rgba(0, 0, 0, 0.05)":"transparent"}})),YT=Lg("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((e=>{let{theme:t,direction:r,isPagination:n}=e;return{position:"absolute",width:t.spacing(.5),height:16,left:0,right:n||"rtl"!==r?void 0:0,top:"50%",transform:"TranslateY(-50%)",borderRadius:"0 2px 2px 0",background:"#01873d"}})),KT=Lg("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center",maxWidth:"100%"}))),XT=Lg(Ib)((()=>({fontFamily:'"Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif',fontSize:"14px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),JT=Lg(Sy,{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((e=>{let{theme:t,direction:r,isPagination:n}=e;return{width:16,minWidth:"unset !important",marginRight:n||"rtl"!==r?t.spacing(1.5):0,marginLeft:n||"rtl"!==r?void 0:t.spacing(1.5),lineHeight:0}})),ZT=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5z"})}))),QT=e=>{const t=e.nextElementSibling;return t?"HR"===t.tagName?QT(t):t:e.parentElement?.children?.[0]},e_=e=>{const t=e.previousElementSibling;if(!t){const t=e.parentElement?.children?.length;return e.parentElement?.children?.[t-1]}return"HR"===t.tagName?e_(t):t},t_=e=>{const{key:t,currentTarget:r}=e,n=document.activeElement??r;if(t===vS.Down||t===vS.Up){const r=e=>t===vS.Down?QT(e):e_(e);e.preventDefault(),e.stopPropagation();let o=r(n);for(;o;){if("true"!==o.ariaDisabled){o.focus();break}o=r(o)}}},r_=(e,t)=>e.map((e=>e.map((e=>({...e.groupHeading?{groupHeading:e.groupHeading}:{},items:e.items.map((e=>{let{onClick:r,...n}=e;return{...n,...r?{onClick:async e=>{Object.entries(t).forEach((e=>{let[,t]=e;t(!1)})),await r(e)}}:{}}}))})))));let n_={};const o_=e=>{let{autoFocus:t,id:r,onClick:n,itemTitle:o,icon:i,enabled:a,subMenus:s,isSubMenu:l,isActive:u,direction:c,isPagination:d}=e;const[p,f]=E(!1),h=D(null),m=T((e=>{e.stopPropagation(),f(!1)}),[f]);return x.createElement(x.Fragment,null,x.createElement(UT,{ref:s?h:null,key:r,"data-testid":`menu-item-${r}`,className:"nebula-table-utils-head-menu-item",onClick:async e=>{"keyup"!==e.type&&(n&&(await n(e),n_={}),s?.length&&(f(!0),n_[o]=f))},disabled:!a,autoFocus:t,isSubMenu:!!l,isActive:!!u,onKeyDown:t_},u?x.createElement(YT,{direction:c,isPagination:d}):null,x.createElement(KT,null,x.createElement(JT,{direction:c,isPagination:d},x.createElement(i,null)),x.createElement(XT,{variant:"body2"},o)),s?.length?x.createElement(ZT,null):null),s?.length?x.createElement(s_,{isSubMenu:!0,open:p,anchorEl:h.current,onClose:m,menuGroups:r_(s,n_),transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},direction:c,isPagination:d}):null)},i_=e=>{let{menuGroup:t,isSubMenu:r,direction:n,isPagination:o}=e;return t.map((e=>[[e.groupHeading&&x.createElement(GT,{key:e.groupHeading,disabled:!0,style:{opacity:1}},e.groupHeading),e.items.map((e=>x.createElement(o_,qT({key:e.id},e,{isSubMenu:r,direction:n,isPagination:o}))))].filter(Boolean)]))},a_={appear:0,enter:0,exit:0},s_=e=>{let{anchorEl:t,open:r,onClose:n,menuGroups:o,transformOrigin:i,anchorOrigin:a,isSubMenu:s,direction:l,isPagination:u}=e;return o.length?x.createElement(WT,qT({className:mS,open:r,anchorEl:t,onClose:n,transitionDuration:a_,MenuListProps:{id:gS}},a?{anchorOrigin:a}:{},i?{transformOrigin:i}:{},{dir:l}),(e=>{let{itemGroups:t,isSubMenu:r,direction:n,isPagination:o}=e;return t.map(((e,i)=>[i_({menuGroup:e,isSubMenu:r,direction:n,isPagination:o}),i<t.length-1?x.createElement(VT,{"data-testid":"group-divider",variant:"middle"}):void 0]))})({itemGroups:o,isSubMenu:s,direction:l,isPagination:u})):null},l_=(e,t)=>e.some((e=>t[e]>0)),u_={canSelectAll:!1,canClearSelections:!1,canSelectPossible:!1,canSelectAlternative:!1,canSelectExcluded:!1},c_=e=>{let{open:t,qStateName:r="$",headerData:n,app:o}=e;const[i,a]=E(null),[s,l]=E(u_);return lS((()=>{t||(l(u_),a(null))}),[t]),R((()=>{if(!o?.createSessionObject||!n.isDim||!t)return()=>{};let e,i=!1;const s=()=>{e&&o.destroySessionObject(e)};return(async()=>{try{const t=((e,t)=>({qInfo:{qType:"tableListbox"},qListObjectDef:Boolean(t.qLibraryId)?{qLibraryId:t.qLibraryId,qStateName:e}:{qDef:{qFieldDefs:[t.fieldId]},qStateName:e}}))(r,n),u=await o.createSessionObject(t),c=await u.getLayout(),{qStateCounts:d}=c.qListObject?.qDimensionInfo??{};e=c.qInfo?.qId,i?s():(a(u),d&&l((e=>({canSelectAll:l_(["qOption","qAlternative","qExcluded","qDeselected"],e),canClearSelections:l_(["qSelected"],e),canSelectPossible:l_(["qOption"],e),canSelectAlternative:l_(["qAlternative"],e),canSelectExcluded:l_(["qAlternative","qExcluded"],e)}))(d)))}catch(e){console.error(e)}})(),()=>{i=!0,s()}}),[t,o,n,r]),{fieldInstance:i,selectionActionsEnabledStatus:s}},d_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),p_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m0-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m-1-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M9.166 6.166c1.555-1.555 4.113-1.555 5.668 0s1.555 4.113 0 5.668-4.113 1.555-5.668 0-1.555-4.063 0-5.668m4.966 1.555a.56.56 0 0 0 0-.803.56.56 0 0 0-.803 0l-1.304 1.305-1.304-1.305a.522.522 0 0 0-.803 0 .524.524 0 0 0 0 .803l1.305 1.304-1.305 1.304c-.25.2-.25.552 0 .803.251.25.602.25.803 0l1.304-1.304 1.304 1.304c.2.25.552.25.803 0 .2-.201.25-.602 0-.803l-1.304-1.304z"})}))),f_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3.914 8h8.207L10.5 6.379l.707-.708L14.036 8.5l-2.829 2.828-.707-.707L12.12 9H3.914l1.621 1.621-.707.707L2 8.5l2.828-2.828.707.707zM15 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 13V2h-2v3h-1V2H4v3H3V2H1v12h2v-2h1v2h8v-2h1v2z"})}))),h_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),m_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M.5 4.774v6.452a2 2 0 0 0 1.154 1.813l5.5 2.566a2 2 0 0 0 1.692 0l5.5-2.566a2 2 0 0 0 1.154-1.813V4.774a2 2 0 0 0-1.154-1.813L8.846.395a2 2 0 0 0-1.692 0l-5.5 2.566A2 2 0 0 0 .5 4.774m1 0v-.032l6 2.428v7.493l-5.423-2.53a1 1 0 0 1-.577-.907zm.545-.89.032-.016 5.5-2.567a1 1 0 0 1 .846 0l5.5 2.567.032.015L8 6.293zm12.454.858v6.484a1 1 0 0 1-.576.906L8.5 14.663V7.17z"})}))),g_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8z"})}))),b_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8zM8.5 4v8h-1V4z"})}))),v_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7"})}))),y_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})}))),x_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3 4v1H1v10h10v-2h1v2a1 1 0 0 1-.883.993L11 16H1a1 1 0 0 1-.993-.883L0 15V5a1 1 0 0 1 .883-.993L1 4zm12-4a1 1 0 0 1 .993.883L16 1v10a1 1 0 0 1-.883.993L15 12H5a1 1 0 0 1-.993-.883L4 11V1a1 1 0 0 1 .883-.993L5 0zm0 1H5v10h10zm-2.36 2.653.72.694L9.143 8.72 6.64 6.125l.72-.694L9.143 7.28z"})}))),S_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8l8-8zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),C_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 3h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),E_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8h8V4zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),w_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M1 1.5a.5.5 0 0 1 .5-.5H3V0H1.5A1.5 1.5 0 0 0 0 1.5V3h1zM14.5 1a.5.5 0 0 1 .5.5V3h1V1.5A1.5 1.5 0 0 0 14.5 0H13v1zM1 14.5a.5.5 0 0 0 .5.5H3v1H1.5A1.5 1.5 0 0 1 0 14.5V13h1zm14 0a.5.5 0 0 1-.5.5H13v1h1.5a1.5 1.5 0 0 0 1.5-1.5V13h-1zM6 0h4v1H6zM0 6h1v4H0zm15 0h1v4h-1zm-9 9h4v1H6z"})})));let R_=function(e){return e.Sorting="sorting",e.Searching="searching",e.Selections="selections",e.AdjusterHeaderSize="adjustHeaderSize",e}({});const A_="/qListObjectDef",P_=e=>{let{headerData:t,translator:r,menuAvailabilityFlags:n,setOpen:o,sortFromMenu:i,interactions:a,embedListbox:s,fieldInstance:l,selectionActionsEnabledStatus:u,anchorRef:c,focusColumnAdjuster:d,setActiveFieldCallback:p,expandOrCollapseArgs:f}=e;const h=[];if(n[R_.Sorting]){const{isActivelySorted:e,sortDirection:n}=t,{ascendingEnabled:a,descendingEnabled:s}=(e=>{let{isActivelySorted:t,sortDirection:r,isPivot:n,isSortedByFirstMeasure:o}=e,i=!n&&!t||"D"===r,a=!n&&!t||"A"===r;return o&&(i=!1,a=!1),{ascendingEnabled:i,descendingEnabled:a}})(t);h.push([{groupHeading:r.get("NebulaTableUtils.MenuGroupLabel.Sorting"),items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SortAscending"),onClick:async e=>{e.stopPropagation(),await(i?.(e,"A")),o(!1)},icon:d_,enabled:a,isActive:!!e&&"A"===n,autoFocus:a},{id:2,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SortDescending"),onClick:async e=>{e.stopPropagation(),await(i?.(e,"D")),o(!1)},icon:h_,enabled:s,isActive:!!e&&"D"===n,autoFocus:!a&&s}]}])}if(t.isCyclic&&p){const e=[];e.push([{items:[{id:1,itemTitle:t.groupDimensionLabels[t.groupDimensionPos].label,enabled:!0,icon:v_,subMenus:[[{items:t.groupDimensionLabels.map(((e,r)=>{let{label:n,enabled:i}=e;return{id:r+1,itemTitle:n,onClick:async e=>{e.stopPropagation(),o(!1),p(r)},enabled:i,icon:m_,isActive:t.groupDimensionPos===r}}))}]]}]}]),e.length>0&&h.push(...e)}if(t.isDim&&a?.select){const e=[];n[R_.Searching]&&e.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Search"),onClick:e=>{e.stopPropagation(),o(!1),s()},icon:y_,enabled:!0}]}]),n[R_.Selections]&&e.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Selections"),icon:w_,enabled:!!l,subMenus:[[{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectAll"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectAll(A_))},icon:x_,enabled:u.canSelectAll},{id:2,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectPossible"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectPossible(A_))},icon:E_,enabled:u.canSelectPossible},{id:3,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectAlternative"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectAlternative(A_))},icon:S_,enabled:u.canSelectAlternative},{id:4,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectExcluded"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectExcluded(A_))},icon:C_,enabled:u.canSelectExcluded}]}],[{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.ClearSelections"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.clearSelections(A_))},icon:p_,enabled:u.canClearSelections}]}]]}]}]),f&&h.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Expand"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),o(!1),await f.expandCallback()},icon:b_,enabled:!0},{id:2,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Collapse"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),o(!1),await f.collapseCallback()},icon:g_,enabled:!0}]}]),e.length>0&&h.push(...e)}return n[R_.AdjusterHeaderSize]&&h.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.AdjustColumnSize"),onClick:e=>{e.stopPropagation(),e.preventDefault(),o(!1),d?.(c)},icon:f_,enabled:!0}]}]),h},k_=e=>{let{open:t,setOpen:r,anchorRef:n,headerData:o,translator:i,interactions:a,menuAvailabilityFlags:s,shouldShowMenuIcon:l=!0,sortRelatedArgs:u,searchRelatedArgs:c,selectionRelatedArgs:d,adjustHeaderSizeRelatedArgs:p,expandOrCollapseArgs:f,model:h,direction:m="ltr",isPagination:g}=e;const b=cS({translator:i}),{qLibraryId:v,fieldId:y,headTextAlign:S}=o,C=d?.app,{fieldInstance:E,selectionActionsEnabledStatus:w}=c_({open:t,headerData:o,app:C,qStateName:d?.qStateName});let R=null;if(h&&"setActiveField"in h&&void 0!==o.dimensionInfoIndex){const e=o.dimensionInfoIndex;R=async t=>{try{await h.setActiveField("/qHyperCubeDef",e,t)}catch(e){console.error(e)}}}const A=T((()=>{const e=v?{qLibraryId:v,type:"dimension"}:y;if(c?.embed){const{embed:t,listboxRef:r}=c;t.__DO_NOT_USE__.popover(r.current,e,{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"rtl"===m?"right":"left"},sortCriteria:c.sortCriteria,stateName:d?.qStateName,direction:m})}}),[v,y,c,d?.qStateName,m]),P=T((e=>{e.stopPropagation(),r(!1)}),[r]);return a.active?x.createElement($T,{rightAligned:"right"===S,shouldShowMenuIcon:l,className:hS},l?x.createElement(BT,{height:pS,className:fS,"data-testid":fS,isInteractionsActive:a.active??!1},x.createElement(HT,null)):null,x.createElement(s_,{open:t,anchorEl:n.current,onClose:P,menuGroups:P_({headerData:o,translator:b,menuAvailabilityFlags:s,setOpen:r,...u,embedListbox:A,interactions:a,fieldInstance:E,selectionActionsEnabledStatus:w,anchorRef:n,focusColumnAdjuster:p?.focusColumnAdjuster,setActiveFieldCallback:R,expandOrCollapseArgs:f}),direction:m,isPagination:g})):null},I_=e=>e.isDark?{background:e.color,borderColor:Fx.DARK_MODE_BORDER,color:Fx.DARK_MODE_TEXT,disabledColor:Fx.DARK_MODE_DISABLED,iconColor:Fx.DARK_MODE_TEXT}:{background:e.color,borderColor:Fx.BORDER_MEDIUM,color:Fx.TEXT,disabledColor:Fx.DISABLED},M_=Lg(fv,{shouldForwardProp:e=>"footerStyle"!==e})((e=>{let{footerStyle:t,theme:r}=e;return{height:40,display:"flex",justifyContent:"flex-end",alignItems:"center",padding:r.spacing(0,1,0,1),color:t.color,background:t.background,borderTop:`1px solid ${t.borderColor}`}})),L_=Lg(Tx,{shouldForwardProp:e=>"footerStyle"!==e})((e=>{let{footerStyle:t,theme:r}=e;return{background:"inherit",marginRight:r.spacing(1),color:t.color,"& .MuiNativeSelect-icon, .MuiNativeSelect-select":{color:t.iconColor}}})),D_=Lg(Ev,{shouldForwardProp:e=>"disabledCondition"!==e&&"footerStyle"!==e})((e=>{let{disabledCondition:t,footerStyle:r,theme:n}=e;return{color:t?r.disabledColor:r.color,cursor:t?"default":"pointer",marginLeft:n.spacing(1)}})),T_=Lg(Ib)((e=>{let{theme:t}=e;return{color:"inherit",margin:t.spacing(0,1,0,1)}})),__=e=>{let{children:t,footerContainer:r,interactions:n,theme:o,paginationNeeded:i=!0}=e;const a=w((()=>I_(o.background)),[o]);if(!n.active)return null;const s=i?x.createElement(M_,{footerStyle:a},t):null;return r?F.createPortal(t,r):s},O_=L({}),q_=()=>C(O_),N_=e=>{let{children:t,direction:r,pageInfo:n,handleChangeRowsPerPage:o,footerContainer:i,isSelectionMode:a,handleChangePage:s,totalRowCount:l,totalColumnCount:u,totalPages:c,keyboard:d,translator:p,theme:f,interactions:h,rect:m,layout:g}=e;const b=(e=>!e.enabled||e.active)(d)?0:-1,v=w((()=>I_(f.background)),[f]),y=i?i.getBoundingClientRect().width:m.width,S=cS({translator:p}),C=w((()=>({direction:r,pageInfo:n,handleChangeRowsPerPage:o,footerContainer:i,isSelectionMode:a,handleChangePage:s,totalRowCount:l,totalColumnCount:u,totalPages:c,keyboard:d,translator:S,theme:f,interactions:h,rect:m,layout:g,footerStyle:v,tabIndex:b,width:y})),[r,n,o,i,a,s,l,u,c,d,S,f,h,m,g,v,b,y]);return x.createElement(O_.Provider,{value:C},t)};let z_=function(e){return e.FirstPage="FirstPage",e.LastPage="LastPage",e.NextPage="NextPage",e.PreviousPage="PreviousPage",e}({}),j_=function(e){return e[e.DisplayedRowsLabel=250]="DisplayedRowsLabel",e[e.FirstPage=350]="FirstPage",e[e.LastPage=350]="LastPage",e[e.RowsPerPage=550]="RowsPerPage",e[e.SelectPage=700]="SelectPage",e}({});const F_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"})}))),H_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m12 2 1.5 1.5L9 8l4.5 4.5L12 14 6 8zM4 2v12H2V2z"})}))),$_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m3.5 2 6 6-6 6L2 12.5 6.5 8 2 3.5zM14 2v12h-2V2z"})}))),B_={FirstPage:H_,PreviousPage:F_,NextPage:ZT,LastPage:$_,FirstPageRTL:$_,PreviousPageRTL:ZT,NextPageRTL:F_,LastPageRTL:H_},W_=e=>{let{disabledCondition:t,pageNumber:r,type:n}=e;const{direction:o,footerStyle:i,handleChangePage:a,translator:s,interactions:l,tabIndex:u}=q_(),c=n.concat("rtl"===o?"RTL":""),d=B_[c];return{styledProps:{footerStyle:i,disabledCondition:t,size:"small","data-testid":"pagination-action-icon-button","aria-disabled":t,"aria-label":s.get(`NebulaTableUtils.Pagination.${n}`),title:l.passive?s.get(`NebulaTableUtils.Pagination.${n}`):void 0,tabIndex:u,onClick:t?void 0:()=>{a(r)}},IconComponent:d}},V_=()=>{const{pageInfo:e,width:t,interactions:r}=q_(),n=0===e.page,{IconComponent:o,styledProps:i}=W_({type:z_.FirstPage,disabledCondition:n,pageNumber:0});return t<=j_.FirstPage?null:x.createElement(D_,qT({},i,{disabled:!r.active}),x.createElement(o,{height:pS}))},G_=function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&e.key===vS.Tab&&!e.shiftKey&&(Ux(e),Gx(e.target,t,!1))},U_=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=q_(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=W_({type:z_.LastPage,disabledCondition:a,pageNumber:r-1}),u=t.enabled?e=>{G_(e,t,n)}:void 0;return o<=j_.LastPage?null:x.createElement(D_,qT({},l,{onKeyDown:u,disabled:!i.active}),x.createElement(s,{height:pS}))},Y_=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=q_(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=W_({type:z_.NextPage,disabledCondition:a,pageNumber:e.page+1}),u=!(o>j_.FirstPage&&o>j_.LastPage)&&t.enabled?e=>{G_(e,t,n)}:void 0;return x.createElement(D_,qT({},l,{onKeyDown:u,disabled:!i.active}),x.createElement(s,{height:pS}))},K_=()=>{const{pageInfo:e,interactions:t}=q_(),r=0===e.page,{IconComponent:n,styledProps:o}=W_({type:z_.PreviousPage,disabledCondition:r,pageNumber:e.page-1});return x.createElement(D_,qT({},o,{disabled:!t.active}),x.createElement(n,{height:pS}))},X_=()=>{const{translator:e,width:t,pageInfo:r,totalRowCount:n}=q_(),{page:o,rowsPerPage:i}=r;if(t<=j_.DisplayedRowsLabel)return null;const a=e.get("NebulaTableUtils.Pagination.DisplayedRowsLabel",[`${o*i+1} - ${Math.min((o+1)*i,n)}`,n.toString()]);return x.createElement(T_,{variant:"caption",dir:"ltr"},a)},J_=e=>{let{name:t,value:r,options:n,handleChange:o}=e;const{layout:i,footerStyle:a,translator:s,tabIndex:l,interactions:u}=q_(),c=i.qInfo.qId,d=s.get(`NebulaTableUtils.Pagination.${t}`),p=`${t}-dropdown`,f=`${p}-label-${c}`,h={tabIndex:l,id:`${p}-${c}`,"data-testid":p,"aria-labelledby":f};return x.createElement(x.Fragment,null,x.createElement(T_,{variant:"caption",id:f},d,":"),x.createElement(L_,{footerStyle:a,size:"small",native:!0,value:r,onChange:o,inputProps:h,disabled:!u.active},n))},Z_=()=>{const{pageInfo:e,isSelectionMode:t,totalColumnCount:r,width:n,handleChangeRowsPerPage:o}=q_();if(!(!!e.rowsPerPageOptions?.length&&!t&&n>j_.RowsPerPage&&r<=100)||void 0===e.rowsPerPageOptions)return null;const i=x.createElement(x.Fragment,null,e.rowsPerPageOptions.map((e=>x.createElement("option",{key:e,value:e},e))));return x.createElement(J_,{name:"RowsPerPage",value:e.rowsPerPage,options:i,handleChange:e=>{o?.(+e.target.value)}})},Q_=1e3,eO="…",tO=e=>{let{totalPages:t,page:r}=e;const n=Math.min(t,Q_),o=n<t&&r>500,i=o?Math.min(500+r,t):n,a=o?Math.max(0,i-Q_):0,s=Array.from(Array(n).keys()).map((e=>{const t=e+a;return x.createElement("option",{key:t,value:t},t+1)}));return a>0&&s.unshift(x.createElement("option",{key:"startMoreOptions",value:eO,disabled:!0},eO)),i<t-1&&s.push(x.createElement("option",{key:"endMoreOptions",value:eO,disabled:!0},eO)),x.createElement(x.Fragment,null,s)},rO=()=>{const{pageInfo:e,width:t,totalPages:r,handleChangePage:n}=q_(),{page:o}=e;if(t<=j_.SelectPage)return null;const i=x.createElement(tO,{totalPages:r,page:o});return x.createElement(J_,{name:"SelectPage",value:o,options:i,handleChange:e=>{n(+e.target.value)}})};var nO=O((e=>x.createElement(N_,e,x.createElement(Z_,null),x.createElement(rO,null),x.createElement(X_,null),x.createElement(V_,null),x.createElement(K_,null),x.createElement(Y_,null),x.createElement(U_,null))));const oO=e=>x.createElement(__,e,x.createElement(nO,e)),iO={lineHeight:"calc(4/3)",fontSize:"inherit",textOverflow:"ellipsis",overflow:"hidden"},aO=eI(lM,{shouldForwardProp:e=>"background"!==e})((e=>{let{background:t}=e;return{height:"100%",background:t.color}})),sO=eI("span",{shouldForwardProp:e=>"lineClamp"!==e&&"isHeadCell"!==e&&"isPagination"!==e&&"isNumeric"!==e})((e=>{let{lineClamp:t,isHeadCell:r=!1,isPagination:n=!1,isNumeric:o=!1}=e;return o||1===t&&!r?{...iO,whiteSpace:"nowrap",display:n?"block":void 0}:{...iO,wordBreak:"break-word",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",whiteSpace:"pre-line"}}));function lO(e,t){const r=D(!1);R((()=>{r.current?e():r.current=!0}),t)}const uO=e=>{let{colIdx:t,rowIdx:r,firstColIdx:n,lastColIdx:o}=e;return t>n?t--:r>n&&(r--,t=o),[r,t]},cO=e=>{let{colIdx:t,rowIdx:r,firstColIdx:n,lastColIdx:o,lastRowIdx:i}=e;return t<o?t++:r<i&&(r++,t=n),[r,t]},dO=e=>e.atTop?2:1,pO=(e,t)=>e.getElementsByClassName("sn-table-row")[t[0]]?.getElementsByClassName("sn-table-cell")[t[1]],fO=e=>e?.setAttribute("tabIndex","0"),hO=e=>e?.setAttribute("tabIndex","-1"),mO=e=>{e.querySelectorAll("td[tabindex='0'], th[tabindex='0']").forEach(hO)},gO=e=>{e?.focus(),fO(e)},bO=e=>{setTimeout((()=>{const t=e.current?.closest(".sn-table-cell")?.querySelector(`.${yS}`);gO(t)}),0)},vO=e=>{let{evt:t,rootElement:r,cellCoord:n,setFocusedCellCoord:o,allowedRows:i,direction:a}=e;mO(r);const s=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{top:0,bottom:0};const i=o.top>0,a=o.top,s=t.getElementsByClassName("sn-table-row").length-1-o.bottom,l=t.getElementsByClassName("sn-table-head-cell").length-1;let[u,c]=r;switch(e.key){case vS.Down:u<s&&u++;break;case vS.Up:u>a&&u--;break;case vS.Right:if(i)break;[u,c]="rtl"===n?uO({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0}):cO({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0});break;case vS.Left:if(i)break;[u,c]="rtl"===n?cO({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0}):uO({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0});break;case vS.Home:(QD(e)||i)&&(u=a),i||(c=0);break;case vS.End:(QD(e)||i)&&(u=s),i||(c=l);break;case vS.PageDown:u=Math.min(s,u+10);break;case vS.PageUp:u=Math.max(a,u-10)}return[u,c]}(t,r,n,a,i),l=pO(r,s);return gO(l),((e,t)=>{const r=t.getElementsByClassName("sn-table-container")[0];if(!r?.scrollTo)return;const[n,o]=e;if(n<2)r.scrollTo({top:0,behavior:"auto"});else{const e=t.getElementsByClassName("sn-table-head-cell")[0],i=t.getElementsByClassName("sn-table-row")[n].getElementsByClassName("sn-table-cell")[o];if(!i||!e)return;if(i.offsetTop-e.offsetHeight<r.scrollTop){const t=r.scrollTop-i.offsetHeight-e.offsetHeight;r.scrollTo({top:Math.max(0,t),behavior:"auto"})}}})(s,r),o(s),{nextCell:l,nextCellCoord:s}},yO=(e,t,r,n)=>{mO(t),r(e),n.enabled&&!n.active?n.focus?.():gO(pO(t,e))},xO=(e,t,r)=>{const n=e.currentTarget,o=e.relatedTarget,i=!!n?.contains(o),a=o?.closest(`.${mS}`);!r.enabled||i||a||t.current||!n||((e=>{const t=e.querySelector(`.${GI.First}`),r=e.querySelector(`.${GI.Second}`);t&&r&&(t.innerHTML="",r.innerHTML="")})(n),r.blur?.(!1))},SO=()=>{const{downloadService:e}=_T(MT,(e=>e.baseProps));R((()=>{e.isDownloadedAsPDForImage&&e.notifyIsDoneRendering()}))},CO=(e,t,r)=>{const{rootElement:n,keyboard:o}=_T(MT,(e=>e.baseProps)),{totalColumnCount:i,totalRowCount:a,rows:s,totalsPosition:l}=_T(MT,(e=>e.tableData)),u=_T(MT,(e=>e.focusedCellCoord)),c=_T(MT,(e=>e.setFocusedCellCoord)),d=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal()));lO((()=>{const r=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=[dO(t),e[1]];return r?n:UI}(u,l,d);(e=>{let{resetCellCoord:t,rootElement:r,shouldRefocus:n,isSelectionMode:o,setFocusedCellCoord:i,keyboard:a,announce:s}=e;if(mO(r),i(t),!(e=>!e.enabled||e.active)(a))return;const l=pO(r,t);n.current?(gO(l),n.current=!1):fO(l),o&&(s({keys:[l?.textContent??""]}),ZD(s,l,o))})({resetCellCoord:r,rootElement:n,shouldRefocus:e,setFocusedCellCoord:c,isSelectionMode:d,keyboard:o,announce:t})}),[s.length,a,i,r])},EO=(e,t,r)=>{R((()=>{const n=e.current;if(!n)return;const o=e=>{((e,t,r)=>{if(0===e.deltaX)return;e.stopPropagation();const n=r.scrollWidth-r.offsetWidth;let{scrollLeft:o}=r,i=o+e.deltaX;t&&(i=n+i),n>0&&(i<0||i>n+1)&&(e.preventDefault(),o=t?Math.min(0,Math.min(n,i)):Math.max(0,Math.min(n,i)))})(e,"rtl"===t,n)},i=e=>{r.scrollLeft=e.currentTarget?.scrollLeft||0};return n.addEventListener("wheel",o),n.addEventListener("scroll",i),()=>{n.removeEventListener("wheel",o),n.removeEventListener("scroll",i)}}),[e,t,r])},wO=e=>{Ux(e),QD(e)&&PS(e.currentTarget)},RO=e=>{nT(e.evt)&&(Ux(e.evt),vO(e))},AO=e=>{const{evt:t,totalsPosition:r,cell:n,isSelectionMode:o}=e;if(!nT(t))return;Ux(t);const i=((e,t)=>[e.pageRowIdx+dO(t),e.pageColIdx])(n,r),a=((e,t)=>({top:e?dO(t):0,bottom:e&&t.atBottom?1:0}))(o,r),{nextCell:s,nextCellCoord:l}=vO({...e,cellCoord:i,allowedRows:a});l[0]!==i[0]&&(e=>{let{evt:t,isSelectionsEnabled:r,cell:n,selectionDispatch:o,announce:i,isSelectionMode:a,nextCell:s}=e;t.shiftKey&&r&&n.isSelectable?o({type:WI.SelectMultiAdd,payload:{cell:n,evt:t,announce:i}}):ZD(i,s,a)})({...e,nextCell:s})},PO=e=>{const{evt:t}=e;eT(t)?(e=>{let{evt:t,totalRowCount:r,rowsPerPage:n,page:o,updateShouldRefocus:i,handleChangePage:a}=e;Ux(t);const s=Math.ceil(r/n)-1;t.key===vS.Right&&o<s?(i(),a(o+1)):t.key===vS.Left&&o>0&&(i(),a(o-1))})(e):t.key===vS.Esc?(e=>{let{evt:t,keyboard:r,isSelectionMode:n}=e;r.enabled&&!n&&(Ux(t),r.blur?.(!0))})(e):tT(t.key)&&Ux(t)},kO=e=>{const{evt:t,selectionsAPI:r}=e;if(t.currentTarget.classList.contains(BI.Disabled))return void Ux(t);const n={...e,isSelectionMode:!!r?.isModal()};switch(t.key){case vS.Space:(e=>{let{evt:t,cell:r,isSelectionsEnabled:n,selectionDispatch:o,announce:i}=e;Ux(t),r.isSelectable&&n&&o({type:WI.Select,payload:{cell:r,evt:t,announce:i}})})(n);break;case vS.Enter:(e=>{let{isSelectionMode:t,selectionsAPI:r,evt:n,announce:o}=e;Ux(n),t&&(r?.confirm(),o({keys:["SNTable.SelectionLabel.SelectionsConfirmed"]}))})(n);break;case vS.Esc:(e=>{let{isSelectionMode:t,selectionsAPI:r,evt:n,announce:o}=e;t&&(Ux(n),r?.cancel(),o({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]}))})(n);break;case vS.C:wO(t);break;case vS.Tab:(e=>{let{evt:t,keyboard:r,isSelectionMode:n,paginationNeeded:o}=e;const i=t.shiftKey||!o;r.enabled&&n&&i&&(Ux(t),Gx(t.currentTarget,r,t.shiftKey))})(n);break;default:AO(n)}},IO=e=>{const{layout:t,rect:r,theme:n}=_T(MT,(e=>e.baseProps)),[o,i]=E(0),[a,s]=E(0);return q((()=>{if(e.current){const{offsetWidth:t=0,offsetHeight:r=0,clientWidth:n=0,clientHeight:o=0}=e.current,a=r-o;s(t-n),i(a)}}),[e,t,r,n]),{xScrollbarWidth:o,yScrollbarWidth:a}},MO=eI("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),LO=eI(MM,{shouldForwardProp:e=>"fullHeight"!==e&&"interactions"!==e})((e=>{let{fullHeight:t,interactions:r}=e;return{height:t?"100%":"calc(100% - 41px)",overflow:r.scroll?"auto":"hidden",border:"none"}})),DO=eI(hM,{shouldForwardProp:e=>"borderRight"!==e})((e=>{let{borderRight:t}=e;return{tableLayout:"fixed",width:"min-content",borderRight:t}})),TO=()=>x.createElement(x.Fragment,null,x.createElement(MO,{className:GI.First,"data-testid":GI.First,"aria-live":"polite","aria-atomic":"true"}),x.createElement(MO,{className:GI.Second,"data-testid":GI.Second,"aria-live":"polite","aria-atomic":"true"})),_O=e=>{const t=D(new Map),r=D(null);R((()=>{r.current=e(t.current),t.current.forEach(((e,t)=>{r.current?.observe(t)}));const n=t.current,o=r.current;return()=>{o.disconnect(),n.clear()}}),[e,r,t]);const n=T(((e,n)=>{t.current.set(e,n),r.current?.observe(e)}),[t,r]),o=T((e=>{t.current.delete(e),r.current?.unobserve(e)}),[r,t]);return w((()=>({addTask:n,removeTask:o})),[n,o])},OO=e=>new ResizeObserver((t=>{t.forEach((t=>{const r=e.get(t.target);r?.(t)}))})),qO=()=>_O(OO),NO=e=>{let{selectionsAPI:t,selectionDispatch:r,updateShouldRefocus:n,keyboard:o,tableWrapperRef:i}=e;R((()=>{const e=()=>{r({type:WI.Reset})},a=()=>{r({type:WI.Clear})},s=()=>{i.current?.contains(document.activeElement)?n():o.enabled&&o.blur?.(!0),e()};return t?.on("deactivated",e),t?.on("canceled",e),t?.on("confirmed",s),t?.on("cleared",a),()=>{t?.removeListener("deactivated",e),t?.removeListener("canceled",e),t?.removeListener("confirmed",s),t?.removeListener("cleared",a)}}),[t,o,r,n,i])},zO=e=>{e.stopPropagation()},jO=e=>{let{href:t,text:r,interactions:n,color:o}=e;return x.createElement(dy,(e=>{let{href:t,text:r,interactions:n,color:o}=e;return{href:t,title:r,rel:"noreferrer",target:"_blank",underline:"hover",onClick:zO,color:Fx.LINK,style:{pointerEvents:n.active?"auto":"none",color:o??void 0,opacity:n.active&&n.passive||o?void 0:.4}}})({href:t,text:r,interactions:n,color:o}),r)},FO=window.requestIdleCallback??(e=>setTimeout((()=>{e({})}),0)),HO=window.cancelIdleCallback??(e=>{clearTimeout(e)}),$O="qDimensionInfo/0",BO="qMeasureInfo/0",WO="x",VO="y",GO=e=>({key:"bars",type:"box",data:{extract:{field:$O,props:{start:0,end:{field:BO}}}},settings:{major:{scale:WO},minor:{scale:VO},box:{maxWidthPx:8,fill:{fn:e}}}}),UO=e=>({key:"p",type:"point",data:{extract:{field:$O,props:{y:{field:BO}}}},settings:{x:{scale:WO},y:{scale:VO},shape:"circle",size:1,opacity:1,sizeLimits:{minPx:4,maxPx:4},fill:{fn:e}},preferredSize:{edgeBleed:{left:2,right:2,top:2,bottom:2}}}),YO=e=>{let{qNum:t}=e;return void 0===t?0:Math.sign(t)},KO=(e,t)=>{const{primary:r,nil:n,others:o}=e.getDataColorSpecials(),i=Wx(e,t?.negative,r),a=Wx(e,t?.positive,r);return{key:"pos-neg",type:"box",data:{extract:{field:$O,props:{start:0,end:{field:BO,value:YO}}}},settings:{major:{scale:WO},minor:{scale:VO},box:{maxWidthPx:8,fill:{fn:e=>-2===e.datum.value?n:-3===e.datum.value?o:0===e.datum.end.value?"#DDDDDD":Math.sign(e.datum.end.value)<0?i:a}}}}},XO=(e,t)=>{let{type:r,showDots:n,colors:o,colorMin:i,colorMax:a}=t;const s=((e,t,r,n)=>{const{primary:o,nil:i,others:a}=e.getDataColorSpecials(),s=Wx(e,t?.main,o),l=Wx(e,t?.max,s),u=Wx(e,t?.min,s),c=Wx(e,t?.first,s),d=Wx(e,t?.last,s);return e=>{const t=VO in e.datum?VO:"end";return-2===e.datum.value?i:-3===e.datum.value?a:e.datum[t].value>=n?l:e.datum[t].value<=r?u:e.data.items.at(0)===e.datum?c:e.data.items.at(-1)===e.datum?d:s}})(e,o,i,a);switch(r){case"bars":return[GO(s)];case"dots":return[UO(s)];case"sparkline":{const t=(e=>({key:"lines",type:"line",data:{extract:{field:$O,props:{v:{field:BO}}}},settings:{coordinates:{major:{scale:WO},minor:{scale:VO,ref:"v"}},layers:{line:{strokeWidth:1,stroke:e}}}}))(Wx(e,o?.main,e.getDataColorSpecials().primary));return n?[t,UO(s)]:[t]}case"posNeg":return[KO(e,o)];default:return[]}},JO=e=>({qDimensionInfo:[{qFallbackTitle:"",qCardinal:1}],qMeasureInfo:[{qFallbackTitle:""}],qDataPages:[{qArea:{qTop:0,qLeft:0,qHeight:e.length,qWidth:2},qMatrix:e}],qEffectiveInterColumnSortOrder:[0,1],qSize:{qcx:2,qcy:e.length},qMode:"S"}),ZO=(e,t,r,n)=>({y:{data:{field:BO},invert:!0,min:"posNeg"===e?-1:t,max:"posNeg"===e?1:r},x:{data:{extract:{field:$O}},paddingInner:.3,paddingOuter:0,invert:"rtl"===n,align:"rtl"===n?1:0,maxPxStep:12}}),QO=B();QO.use($),QO.renderer.prio(["canvas"]);const eq={resolve:()=>{},promise:{}},tq=e=>{let{chart:t,element:r,requestId:n,theme:o,isSnapshot:i,direction:a,miniChartData:s,downloadService:l}=e;const{resolveChartPromise:u,addChartPromiseToQueue:c}=(e=>{const t=D(e.isDownloadedAsPDForImage?mt():eq);return{addChartPromiseToQueue:T((()=>{e.waitForPromise(t.current.promise)}),[e]),resolveChartPromise:t.current.resolve}})(l),d=T((()=>{if(null===r.current||null!==t.current)return;c();n.current=FO((()=>{r.current&&(t.current=(e=>{let{element:t,theme:r,isSnapshot:n,miniChartData:o,onChartRendered:i,direction:a}=e;const{type:s,qMatrix:l,minY:u,maxY:c}=o;return QO.chart({element:t,data:{type:"q",key:"qHyperCube",data:JO(l)},settings:{scales:ZO(s,u,c,a),components:XO(r,o),strategy:n?{size:{width:t.offsetWidth,height:t.offsetHeight}}:void 0},mounted:()=>{i()}})})({element:r.current,theme:o,isSnapshot:i,miniChartData:s,direction:a,onChartRendered:u}))}),{timeout:2e3})}),[r,t,c,n,o,i,s,a,u]);return{renderChartWithRequestIdleCallback:d,safeCancelIdleCallback:T((()=>{null!==n.current&&HO(n.current),n.current=null,u()}),[n,u])}},rq=e=>{const t=D(null),r=D(!1);return T((n=>{const o=n.contentBoxSize.at(0)?.inlineSize??0;(e=>{e.current&&(HO(e.current),e.current=null)})(t),r.current?0!==o?null!==e.current&&(t.current=FO((()=>{e.current?.update()}),{timeout:2e3})):r.current=!1:r.current=!0}),[e])},nq=e=>{let{intersectionObserverTaskScheduler:t,resizeObserverTaskScheduler:r,theme:n,isSnapshot:o,miniChartData:i,downloadService:a,direction:s}=e;const l=D(null),u=D(null),c=D(null),{renderChartWithRequestIdleCallback:d,safeCancelIdleCallback:p}=tq({element:l,chart:u,requestId:c,theme:n,isSnapshot:o,direction:s,miniChartData:i,downloadService:a});return(e=>{let{element:t,intersectionObserverTaskScheduler:r,safeCancelIdleCallback:n,renderChartWithRequestIdleCallback:o,chart:i}=e;const a=T((e=>{e.isIntersecting?o():n()}),[o,n]);R((()=>{if(!t.current||!r)return()=>{};const e=t.current;return r.addTask(e,a),()=>{r.removeTask(e),n(),i.current?.destroy(),i.current=null}}),[i,t,r,n,a])})({element:l,intersectionObserverTaskScheduler:t,safeCancelIdleCallback:p,renderChartWithRequestIdleCallback:d,chart:u}),(e=>{let{renderChartWithRequestIdleCallback:t,safeCancelIdleCallback:r,chart:n,intersectionObserverTaskScheduler:o}=e;R((()=>o?()=>{}:(t(),()=>{r(),n.current?.destroy(),n.current=null})),[o,r,t,n])})({intersectionObserverTaskScheduler:t,safeCancelIdleCallback:p,renderChartWithRequestIdleCallback:d,chart:u}),(e=>{let{element:t,chart:r,resizeObserverTaskScheduler:n}=e;const o=rq(r);R((()=>{const e=t.current;return e?(n.addTask(e,o),()=>{n.removeTask(e)}):()=>{}}),[t,o,n])})({element:l,chart:u,resizeObserverTaskScheduler:r}),l},oq=e=>{let{height:t,intersectionObserverTaskScheduler:r,resizeObserverTaskScheduler:n,theme:o,isSnapshot:i,miniChartData:a,downloadService:s,direction:l}=e;const u=nq({intersectionObserverTaskScheduler:r,resizeObserverTaskScheduler:n,theme:o,isSnapshot:i,miniChartData:a,downloadService:s,direction:l});return x.createElement("div",{"data-testid":"picasso-container",ref:u,style:{position:"relative",width:"100%",height:t,overflow:"hidden"}})},iq="cell-text",aq=e=>{let{children:t,forwardRef:r,isNumeric:n=!1,isPagination:o=!1,isHeadCell:i=!1,lineClamp:a}=e;const{styleService:s}=_T(MT,(e=>e.baseProps));return i?x.createElement(sO,{"data-testid":iq,ref:r,className:"sn-table-cell-text",lineClamp:s.grid.headerLineClamp,isPagination:o,isHeadCell:!0,style:{direction:n?"ltr":void 0}},t):x.createElement(sO,{"data-testid":iq,ref:r,className:"sn-table-cell-text",isNumeric:n,lineClamp:a??s.grid.contentLineClamp,isPagination:o,style:{direction:n?"ltr":void 0}},t)},sq=(e,t)=>e.max===e.min?.5:(t-e.min)/(e.max-e.min),lq=(e,t,r)=>{const n=e.paletteColors?e.paletteColors[t]:e.localPaletteColors[t];return r.getColorPickerColor(n)},uq=(e,t,r)=>{const n={previousColor:(o=e.localPaletteColors)[(i=t)-(i>0?1:0)],nextColor:o[i+(i<o.length-1?1:0)]};var o,i;const a=((e,t)=>{const r=e.limits&&e.limits.concat().sort(((e,t)=>e.value-t.value));return{lowerLimit:r&&t>0?r[t-1]:{value:0,gradient:!1},upperLimit:r&&r[t]?r[t]:{value:1,gradient:!1}}})(e,t),s=((e,t,r,n,o)=>{const{upperLimit:i,lowerLimit:a}=e,{previousColor:s,nextColor:l}=t,u=n===i.value?1:(n-a.value)/(i.value-a.value);return a.gradient&&i.gradient?n-a.value<i.value-n?{color:s.color,t:.5-u}:{color:l.color,t:u-.5}:a.gradient?{color:s.color,t:1-(.5+u/2)}:i.gradient?{color:l.color,t:u/2}:{color:o.localPaletteColors[r].color,t:n}})(a,n,t,r,e);return s&&te(e.localPaletteColors[t].color).blend(te(s.color),s.t)},cq=(e,t,r)=>{const n=((e,t)=>{const{limits:r}=e;return r&&(e.limits=r.sort(((e,t)=>e.value-t.value)),e.limits=r.map((e=>({...e,value:sq(t,e.value)})))),e})({...e},t),o=n.paletteColors||n.localPaletteColors;return o&&(n.localPaletteColors=o.concat().map(((e,t)=>({color:lq(n,t,r)})))),n},dq=(e,t,r,n)=>{const o=cq(e,r,n),{localPaletteColors:i}=o;if(t<=0)return i[0].color;if(t>=1)return i[i.length-1].color;const a=((e,t)=>{let r="",n=0;const{limits:o,localPaletteColors:i}=e;for(let a=0;a<i.length;a++){const i=o&&o[a]?o[a].value:1;if(t>=n&&t<i){r=uq(e,a,t);break}n=i}return r})(o,t);return a},pq=(e,t)=>{const r=(e=>e.map((e=>e.value??e)).sort(((e,t)=>e-t)))(e),n=r.some((e=>!gw(e)));return 0===r.length||n?(e=>{const t=0===e?0:.5*e;return{min:e-t,max:e+t}})(t):1===r.length?((e,t)=>{const r=e[0]-t;if(0===r||!gw(r)){const e=0===t?.5:Math.abs(.5*t);return{min:t-e,max:t+e}}return r>0?{min:t-.5*Math.abs(t),max:e[0]+2*r}:{min:e[0]+2*r,max:t+.5*Math.abs(t)}})(r,t):((e,t)=>{let r=e[e.length-1]-e[0];return r=r>0?r:1,{min:Math.min(t,e[0])-r/2,max:Math.max(t,e[e.length-1])+r/2}})(r,t)},fq=(e,t)=>{const{limits:r}=e.segments;if(!r)return;const n=((e,t)=>{const{min:r,max:n}=pq(e,t),o=Math.abs(t);return{min:r??t-o,max:n??t+o}})(r,t),o=((e,t,r)=>{const{limits:n,paletteColors:o,localPaletteColors:i}=e.segments;if(!n||!gw(t))return 0;let a=r&&gw(r)?Math.min(r,t):0;const s=n.sort(((e,t)=>e.value-t.value)),l=o||i;for(let e=0;e<l.length;e++){if(e===l.length-1||t<s[e].value&&t>=a)return e;a=s[e].value}return 0})(e,t,n.min);return{limitRange:n,limitPaletteColorIndex:o}},hq=(e,t,r,n)=>{const o=e.indicatorConditionalColoring;if(!o)return;const i=fq(o,t),a=((e,t,r,n)=>{const{segments:o}=e;if(!o||!r)return;const{limits:i}=o;if(!i?.length||!((e,t)=>!(!e||0===e.length||!(e[t]?.gradient??e[t-1]?.gradient)))(i,r.limitPaletteColorIndex))return lq(o,r.limitPaletteColorIndex,n);const a=sq(r.limitRange,t);return dq(o,a,r.limitRange,n)})(o,t,i,n),s=o.segments.paletteColors[i?.limitPaletteColorIndex||0].icon,{indicator:l}=e;let u=l?.position||"right";return"rtl"===r&&(u="right"===u?"left":"right"),{color:a,iconKey:s,position:u}},mq=(e,t)=>"rtl"===e&&"center"!==t.resolvedImagePosition?.horizontal?t.resolvedImagePosition?.horizontal&&(e=>"flex-start"===e?"flex-end":"flex-start")(t.resolvedImagePosition?.horizontal):t.resolvedImagePosition?.horizontal,gq=(e,t)=>e.representation.type===yE.Image&&"fitHeight"===e.representation.imageSize?mq(t,e.representation):e.align,bq=(e,t)=>t||"right"!==e&&"left"!==e?t||"center"!==e?void 0:"row":"row-reverse",vq=(e,t,r)=>{if(!t&&"rtl"===r){if("left"===e.headTextAlign)return"right";if("right"===e.headTextAlign)return"left"}return e.headTextAlign},yq=(e,t)=>"rtl"===e&&"center"!==t?"right"===t?"left":"right":t,xq=(e,t,r)=>"rtl"===e||t&&!r?"0px":"1px",Sq=(e,t,r)=>"rtl"===e?t&&!r?"0px":"1px":"0px",Cq=e=>{let t="center",r="center";return"flex-start"===e?.vertical?t="top":"flex-end"===e?.vertical&&(t="bottom"),"flex-start"===e?.horizontal?r="left":"flex-end"===e?.horizontal&&(r="right"),`${r} ${t}`},Eq=e=>{switch(e){case"alwaysFit":return"contain";case"fill":return"fill";case"fitHeight":case"fitWidth":return"cover";case"originalSize":return"none";default:return}},wq=e=>{let{representation:t,textStyle:r,maxImageHeight:n,wrapInContainer:o}=e;const{direction:i}=_T(MT,(e=>e.baseProps)),{url:a,text:s,imageSize:l,resolvedImagePosition:u}=t,c="fitHeight"===l,d=x.createElement("img",{src:a,alt:s,style:{...r,width:c?"auto":"100%",height:"100%",maxHeight:n,objectFit:Eq(l),objectPosition:Cq(u),overflow:"hidden"}});return o?x.createElement("div",{"data-key":"image-horizontal-container",style:{width:"100%",height:c?n:"100%",overflow:"hidden",display:"flex",justifyContent:c?mq(i,t):void 0}},d):d},Rq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9 7V2H7v5H2v2h5v5h2V9h5V7z"})}))),Aq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),Pq=_(((e,t)=>Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Tl.jsx("path",{d:"M3 9v6.5a.5.5 0 1 1-1 0V.5a.5.5 0 0 1 1 0V1q2.441.639 3.667.639c1.225 0 1.774-.995 3.87-1.196q1.972-.19 3.297.47A.3.3 0 0 1 14 1.18v7.344a.3.3 0 0 1-.417.277q-1.338-.565-3.045-.416c-1.98.172-2.083 1.107-3.871 1.253Q4.879 9.785 3 9"}),Tl.jsx("use",{fillRule:"evenodd"})]}))),kq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M13.9 7.4c-1 1.3-.6 1.5-1.5 4.1-.5 1.8-1.2 2.9-1.7 3.6q-.45.6-.9.9H4.2c-1 0-1.6-.5-1.9-1-.2-.3-.3-.6-.3-1V4.2c0-.4.3-.7.7-.7s.7.3.7.7v3.6l.9-.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v5.1l1.1-.2V.7C6.7.3 7 0 7.4 0s.7.3.7.7v5.9l1.1.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v7.7s.1 0 .1-.2l.6-1.4c1.1-2.1 3.1-1.1 2.6-.3"})}))),Iq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M5 13h6v1.5c0 .3-.2.5-.5.5H10v.5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5V15h-.5c-.3 0-.5-.2-.5-.5zm0-1c0-2-3-3-3-7 0-3 3-5 6-5s6 2 6 5c0 4-3 4-3 7H5m-.5-7c.3 0 .5-.2.5-.5s.2-.7.5-1 .6-.5 1-.5c.3 0 .5-.2.5-.5S6.8 2 6.5 2c-.6 0-1.2.3-1.7.8S4 3.9 4 4.5c0 .3.2.5.5.5"})}))),Mq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8m4.5 9c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6h-9c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7z"})}))),Lq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M2 7h12v2H2z"})}))),Dq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9 7h7a7.004 7.004 0 0 0-7-7zm1-5.917A6.005 6.005 0 0 1 14.917 6H10zM14 9H7V2a7.002 7.002 0 0 0 0 14 7 7 0 0 0 7-7m-8 1h6.917A6.002 6.002 0 0 1 1 9a6 6 0 0 1 5-5.917z"})}))),Tq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9 9h3.5c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6H9V3.5c0-.25-.3-.5-.6-.5h-.7c-.4 0-.7.25-.7.5V7H3.5c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7H7v3.5c0 .25.3.5.6.5h.8c.3 0 .6-.25.6-.5zM8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),_q=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m8.418 1.007.042.08 1.788 4.217 4.571.388a.5.5 0 0 1 .348.811l-.063.065-3.472 3.008 1.043 4.47a.5.5 0 0 1-.664.581l-.081-.04L8 12.217l-3.93 2.372a.5.5 0 0 1-.757-.453l.012-.089 1.043-4.47L.896 6.568a.5.5 0 0 1 .196-.86l.089-.016 4.571-.388L7.54 1.086a.5.5 0 0 1 .878-.08Z"})}))),Oq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1"})}))),qq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})}))),Nq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M2.4 4h11.2a.2.2 0 0 1 .16.32l-5.6 7.467a.2.2 0 0 1-.32 0L2.24 4.32A.2.2 0 0 1 2.4 4"})}))),zq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M11 2.4v11.2a.2.2 0 0 1-.32.16l-7.467-5.6a.2.2 0 0 1 0-.32l7.467-5.6a.2.2 0 0 1 .32.16"})}))),jq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M4 13.6V2.4a.2.2 0 0 1 .32-.16l7.467 5.6a.2.2 0 0 1 0 .32l-7.467 5.6A.2.2 0 0 1 4 13.6"})}))),Fq={m:qq,"ï":_q,R:_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M13.6 11H2.4a.2.2 0 0 1-.16-.32l5.6-7.467a.2.2 0 0 1 .32 0l5.6 7.467a.2.2 0 0 1-.16.32"})}))),S:Nq,T:zq,U:jq,P:Tq,Q:Mq,"è":_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M14.98 15H1.04c-1.002 0-1.303-.7-.802-1.5l6.82-11.9c.5-.8 1.303-.8 1.804 0l6.92 11.9c.501.8.1 1.5-.803 1.5M8.5 5h-1c-.3 0-.5.2-.5.5V9c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5V5.5c0-.3-.2-.5-.5-.5m-1 6c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5z"})}))),"¢":kq,"©":Pq,"23F4":Iq,2013:Oq,"&":Dq,add:Rq,"minus-2":Lq,dot:Aq},Hq=e=>{let{size:t,iconKey:r,color:n,pvStyle:o}=e;const i=r&&Fq[r];return i&&x.createElement("div",{"data-testid":"representation-indicator-icon",style:{color:n,height:t,...o}},x.createElement(i,{style:{height:t}}))},$q=e=>{let{representation:t,cellValue:r,paginationCellAlign:n}=e;const{styleService:o,theme:i,direction:a}=_T(MT,(e=>e.baseProps)),{text:s,indicator:l}=t,{showTextValues:u,applySegmentColors:c}=l??{},d=hq(t,r,a,i),p=(e=>parseInt(e||WD,10))(o.measure.values.fontSize),{color:f,iconKey:h,position:m}=d||{};return u?x.createElement("div",{"data-key":"representation-indicator",style:{display:"flex",justifyContent:n??"flex-end",alignItems:"center",gap:"2px",overflow:"hidden",color:c?f:void 0}},"left"===m&&Hq({size:p,iconKey:h,color:f}),x.createElement(aq,{isNumeric:!0},s),"right"===m&&Hq({size:p,iconKey:h,color:f})):Hq({size:p,iconKey:h,color:f})},Bq=(e,t)=>e.contentStaticLineCount?e.contentLineHeight*(t??e.grid.contentLineClamp):e.contentLineHeight,Wq=e=>{let{forwardRef:t,cell:r,style:n,virtualizedCell:o,lineClamp:i,intersectionObserverTaskScheduler:a,resizeObserverTaskScheduler:s,paginationCellAlign:l}=e;const{interactions:u,styleService:c,theme:d,layout:p,downloadService:f,direction:h}=_T(MT,(e=>e.baseProps)),m=_T(MT,(e=>e.selectionState.api?.isActive()));let g=r.representation.text;if(r.representation.type!==yE.Link||m||(g=x.createElement(jO,{href:r.representation.url,text:r.representation.text,interactions:u,color:n.cellForegroundColor})),r.representation.type===yE.Image)return x.createElement(wq,{representation:r.representation,textStyle:n,maxImageHeight:Bq(c,i),wrapInContainer:!o});const b="string"==typeof(v=r.qIsNull?r.representation.text:r.qNum)&&v.length>0||"number"==typeof v?+v:NaN;var v;return r.representation.type!==yE.Indicator||Number.isNaN(b)?r.representation.type===yE.MiniChart&&r.representation.miniChart&&!r.isNull?x.createElement(oq,{height:Bq(c,i),intersectionObserverTaskScheduler:a,resizeObserverTaskScheduler:s,miniChartData:r.representation.miniChart,theme:d,isSnapshot:!!p.snapshotData,direction:h,downloadService:f}):x.createElement(aq,{forwardRef:t,isNumeric:r.isNumeric,lineClamp:i,isPagination:!o},g):x.createElement($q,{representation:r.representation,cellValue:b,paginationCellAlign:o?void 0:l})},Vq=(e,t,r,n)=>({handleMouseDown:n=>{e?.(n);const o=n.target;if(t.isSelectable&&"A"!==o.tagName){const e=()=>{r({type:WI.SelectMultiEnd})};r({type:WI.SelectMouseDown,payload:{cell:t,mouseupOutsideCallback:e}})}},handleMouseOver:e=>{1===e.buttons&&r({type:WI.SelectMultiAdd,payload:{cell:t,evt:e,announce:n}})},handleMouseUp:e=>{0===e.button&&r({type:WI.SelectMouseUp,payload:{cell:t,evt:e,announce:n}})}}),Gq=(e,t)=>{const{paginationNeeded:r,totalsPosition:n}=_T(MT,(e=>e.tableData)),{selectionsAPI:o,rootElement:i,keyboard:a,interactions:s,direction:l}=_T(MT,(e=>e.baseProps)),u=_T(MT,(e=>e.setFocusedCellCoord)),c=_T(MT,(e=>e.selectionDispatch)),d=!!s.active&&!!s.select,p=s=>{kO({evt:s,rootElement:i,selectionsAPI:o,cell:e,selectionDispatch:c,isSelectionsEnabled:d,setFocusedCellCoord:u,announce:t,keyboard:a,paginationNeeded:r,totalsPosition:n,direction:l})},f=e=>{((e,t)=>{e.key===vS.Shift&&t({type:WI.SelectMultiEnd})})(e,c)},h=()=>{((e,t,r,n,o)=>{const{pageRowIdx:i,pageColIdx:a}=e,s=o.atTop?i+2:i+1;yO([s,a],t,r,n)})(e,i,u,a,n)};if(!d)return{onKeyDown:p,onKeyUp:f,onMouseDown:h};const{handleMouseDown:m,handleMouseOver:g,handleMouseUp:b}=Vq(h,e,c,t);return{onKeyDown:p,onKeyUp:f,onMouseDown:m,onMouseUp:b,onMouseOver:g}},Uq=(e,t)=>{const{colIdx:r,rows:n,api:o}=t;let i=BI.Inactive;return o?.isModal()&&(i=r!==e.selectionColIdx?BI.Disabled:n.has(e.qElemNumber)?BI.Selected:BI.Possible),i},Yq=(e,t,r)=>{if(!r.isNull)return e;const n={...e,...t.nullValues};return t.grid.zebraStripes.show?(t.grid.zebraStripes.overrideNullValueColor&&(n.color=e.color),t.grid.zebraStripes.overrideNullValueBackground&&(n.background=e.background),n):n},Kq=(e,t,r)=>{const{color:n,background:o}=e.grid.zebraStripes[r];return{...t,...n?{color:n}:void 0,...o?{background:o}:void 0}},Xq=(e,t,r)=>{if(t.grid.zebraStripes.show){const n=(r.rowIdx+1)%2==0;return Kq(t,e,n?"even":"odd")}return e},Jq=(e,t)=>{const{styleService:r}=_T(MT,(e=>e.baseProps)),n=_T(MT,(t=>Uq(e,t.selectionState)));let o=t.isDim?r.dimension.values:r.measure.values;o=Xq(o,r,e),o=Yq(o,r,e);const i=bT(o,e.qAttrExps,t.qAttrExprInfoIDs),a=function(e,t,r){return t===BI.Selected?{...e,...r}:t===BI.Disabled?{...e,background:`${$D}, ${e.background}`}:e}(w((()=>e.isNull?o:bT(o,e.qAttrExps,t.qAttrExprInfoIDs)),[o,e.qAttrExps,e.isNull,t.qAttrExprInfoIDs]),n,r.selectedColors);return{cellStyle:{...a,borderColor:r.grid.border},representationStyle:i,cellSelectionState:n}},Zq=eI(SM,{shouldForwardProp:e=>"lastRowBottomBorder"!==e})((e=>{let{lastRowBottomBorder:t}=e;return{"& tr:last-child":{"& td, th":{borderBottomWidth:t}}}})),Qq=eI($M,{shouldForwardProp:e=>"hoverColors"!==e&&"hover"!==e&&"height"!==e})((e=>{let{hover:t,hoverColors:r,height:n}=e;return{height:n,"&&:hover":{background:"none"},...t&&{"&&:hover":{"& td:not(.selected), th:not(.selected)":r}}}})),eN=eI(AM,{shouldForwardProp:e=>"cellStyle"!==e})((e=>{let{cellStyle:t,theme:r}=e;return{...UD,...t,padding:r.spacing(.5,1.5),verticalAlign:"top",width:"100%",height:"100%"}})),tN=eI(AM,{shouldForwardProp:e=>!["atTop","headRowHeight","totalsStyle","direction"].includes(e)})((e=>{let{totalsStyle:t,atTop:r,headRowHeight:n,theme:o}=e;return{...UD,...t,fontWeight:VD,position:"sticky",padding:o.spacing(.5,1.5),borderWidth:r?"0px 1px 1px 0px":"1px 1px 1px 0px",top:r?n:void 0,bottom:r?void 0:0,verticalAlign:r?"bottom":"top",zIndex:r?1:void 0}})),rN=e=>{let{cell:t,announce:r,column:n,columnIndex:o,intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a}=e;const{interactions:s,direction:l}=_T(MT,(e=>e.baseProps)),{onKeyDown:u,onKeyUp:c,onMouseDown:d,onMouseUp:p,onMouseOver:f}=Gq(t,r),{cellStyle:h,representationStyle:m,cellSelectionState:g}=Jq(t,n);return x.createElement(eN,{cellStyle:h,scope:0===o?"row":void 0,component:0===o?"th":void 0,align:t.align,tabIndex:-1,className:`sn-table-cell ${g} ${bS}`,title:s.passive?t.representation.text:void 0,onKeyDown:u,onKeyUp:c,onMouseDown:d,onMouseUp:p,onMouseOver:f},x.createElement(Wq,{cell:t,style:m,intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a,paginationCellAlign:yq(l,t.align)}))},nN=(e,t,r)=>{let{atTop:n,atBottom:o}=t;return{borderLeftColor:e.grid.border,borderRightColor:e.grid.border,borderTopColor:!r&&o?e.grid.divider:e.grid.border,borderBottomColor:r&&!n||!r&&n?e.grid.divider:e.grid.border}},oN=()=>{const{columns:e,totalsPosition:t,rows:r}=_T(MT,(e=>e.tableData)),{rootElement:n,selectionsAPI:o,keyboard:i,styleService:a,interactions:s,direction:l}=_T(MT,(e=>e.baseProps)),u=_T(MT,(e=>e.headRowHeight)),c=_T(MT,(e=>e.setFocusedCellCoord)),d=!!o?.isModal(),p=!!s.active;return x.createElement($M,{className:"sn-table-row sn-table-totals-row"},e.map(((e,o)=>{const f=[t.atTop?1:r.length+1,o];return x.createElement(tN,{totalsStyle:{...a.totalRow,...nN(a,t,!1)},headRowHeight:u,atTop:t.atTop,key:e.id,align:e.totalsTextAlign,className:`sn-table-cell ${bS}`,tabIndex:-1,title:s.passive?e.totalInfo:void 0,onKeyDown:e=>{(e=>{const{isSelectionMode:t,evt:r,isInteractionEnabled:n}=e;if(!t&&n)switch(r.key){case vS.C:wO(r);break;case vS.Space:r.preventDefault();break;default:RO(e)}else Ux(r)})({evt:e,rootElement:n,cellCoord:f,setFocusedCellCoord:c,isSelectionMode:d,isInteractionEnabled:p,direction:l})},onMouseDown:()=>{yO(f,n,c,i)}},x.createElement(aq,{isNumeric:e.isTotalNumeric,isPagination:!0},e.totalInfo))})))};var iN=O(oN);const aN=e=>{let{updateShouldRefocus:t,tableWrapperRef:r,announce:n}=e;const{rows:o,columns:i,totalsPosition:a}=_T(MT,(e=>e.tableData)),{selectionsAPI:s,keyboard:l,layout:u,styleService:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.selectionDispatch)),p=!!fT(u)?.content?.hoverEffect;NO({keyboard:l,selectionDispatch:d,selectionsAPI:s,updateShouldRefocus:t,tableWrapperRef:r});const f=(e=>{const t=T((t=>new IntersectionObserver((e=>{e.forEach((e=>{const r=t.get(e.target);r?.(e)}))}),{root:e.current})),[e]);return _O(t)})(r),h=qO();return x.createElement(Zq,{lastRowBottomBorder:c.grid.lastRowBottomBorder},a.atTop?x.createElement(iN,null):void 0,o.map(((e,t)=>x.createElement(Qq,{hoverColors:c.grid.hoverColors,hover:p,tabIndex:-1,key:`row-${t}`,className:"sn-table-row sn-table-data-row",height:c.contentMinRowHeight},i.map(((t,r)=>{const{id:o}=t,i=e[r];return x.createElement(rN,{key:o,columnIndex:r,cell:i,column:t,announce:n,intersectionObserverTaskScheduler:f,resizeObserverTaskScheduler:h})}))))),a.atBottom?x.createElement(iN,null):void 0)};var sN=O(aN);const lN=(e,t)=>!!e.viewState?.skipHeader||!!t.hideHeader,uN=e=>{let{column:t,isLastColumn:r,onColumnResize:n,setIsAdjustingWidth:o}=e;const{pageColIdx:i,label:a}=t,{applyColumnWidths:s,interactions:l,translator:u,direction:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.columnWidths)),p=_T(MT,(e=>e.setColumnWidths));if(!l.active)return null;return x.createElement(FT,{columnWidth:d[i],isLastColumn:r,keyValue:`adjuster-${i}`,updateWidthCallback:e=>{n?.();const t=[...d];t[i]=e,p(t)},confirmWidthCallback:e=>{s(e,t)},handleBlur:e=>{(e=>{hO(e);const t=e.closest(".sn-table-cell");gO(t)})(e.currentTarget)},setIsAdjustingWidth:o,accessibilityRelatedArgs:{translator:u,columnLabel:a},direction:c})},cN=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),dN=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),pN=_(((e,t)=>Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Tl.jsx("path",{d:"M13 7H8zV4.982C13 2.23 10.761 0 8 0S3 2.23 3 4.982V7h.75H3h1.5V5.332C4.5 3.216 5.549 1.5 8 1.5s3.5 1.716 3.5 3.832V7h.75H3a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H3z"}),Tl.jsx("use",{fillRule:"evenodd"})]}))),fN=eI("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((e=>{let{direction:t,isPagination:r}=e;return{position:"absolute",left:r&&"rtl"===t?0:void 0,bottom:0}})),hN=eI(lM,{shouldForwardProp:e=>!["textAlign","direction","isPagination"].includes(e)})((e=>{let{textAlign:t,theme:r,direction:n,isPagination:o}=e;return{textAlign:t,height:"auto",padding:r.spacing(.5,1),display:"flex",alignItems:"flex-end",justifySelf:t,alignSelf:"center",flexDirection:"rtl"===n?bq(t,o):void 0}})),mN=eI(lM,{shouldForwardProp:e=>"shouldShowMenuIcon"!==e&&"shouldShowLockIcon"!==e&&"alignment"!==e})((e=>{let{shouldShowMenuIcon:t,shouldShowLockIcon:r,alignment:n}=e;const o=t?"24px":"";let i;switch(n){case"left":i={gridTemplateColumns:r?`20px 2fr ${o}`:`1fr ${o}`};break;case"center":{const e=t||r;i={gridTemplateColumns:e?"24px 2fr 24px":"1fr","& .sn-table-lock-icon":{gridColumn:1},"& .sn-table-head-label":{gridColumn:e?2:1},[`& .${hS}`]:{gridColumn:3}};break}case"right":i={gridTemplateColumns:r?`${o} 2fr 20px`:`${o} 1fr`,"& .sn-table-lock-icon":{gridColumn:r?3:"unset"},"& .sn-table-head-label":{gridColumn:t?2:"span 2"},[`& .${hS}`]:{gridColumn:1}}}return{width:"100%",display:"grid",gridAutoFlow:"dense",fontSize:"inherit",fontFamily:"inherit",alignItems:"end",overflow:"hidden",...i}})),gN=eI(lM,{shouldForwardProp:e=>"rightAligned"!==e})((e=>{let{rightAligned:t}=e;return{display:"flex",alignItems:"center",width:"20px",height:"24px",flexShrink:0,flexDirection:"inherit",justifyContent:t?"flex-start":"flex-end"}})),bN=eI(AM,{shouldForwardProp:e=>"headerStyle"!==e&&"interactions"!==e&&"hoverBackground"!==e&&"background"!==e})((e=>{let{headerStyle:t,interactions:r,hoverBackground:n,background:o}=e;return{...UD,...t,cursor:r.active?"pointer":"default",background:o,verticalAlign:"bottom","&&:focus-visible, &&:hover":{background:r.active?n:o}}})),vN=eI("span",{shouldForwardProp:e=>"align"!==e&&"dir"!==e})((e=>{let{align:t,dir:r}=e;return{minWidth:WD,display:"flex",paddingBottom:"2px",alignSelf:"end",..."right"===t||"rtl"===r&&"center"===t?{paddingRight:"8px"}:{paddingLeft:"8px"}}})),yN=e=>{let{column:t,isInteractionEnabled:r,open:n,setOpen:o,allColumnsIconVisibilityStatusRef:i,isPagination:a,forwardRef:s}=e;const{translator:l,changeSortOrder:u,interactions:c,embed:d,app:p,styleService:f,layout:h,direction:m}=_T(MT,(e=>e.baseProps)),g=_T(MT,(e=>e.columnWidths[t.pageColIdx])),b=_T(MT,(e=>e.baseProps.model)),v=D(null),y=D(null),S=(e=>{let{styleService:t,column:r,columnWidth:n}=e;const{measureText:o}=nS({fontSize:t.header.fontSize,fontFamily:t.header.fontFamily,fontWeight:VD});return T((()=>{let e=!1,t=!1,i=!1;const a=r.isLocked,s=r.isActivelySorted,l=n-25,u=a?20:0,c=s?20:0;let d=o(r.label);return a&&d+u<=l&&(i=!0,d+=u,s&&d+c<=l&&(t=!0,d+=c)),!a&&s&&d+c<=l&&(t=!0,d+=c),d+24<=l&&(e=!0,d+=24),{shouldShowMenuIcon:e,shouldShowSortIcon:t,shouldShowLockIcon:i}}),[r.isLocked,r.label,r.isActivelySorted,n,o])})({styleService:f,column:t,columnWidth:g}),C=S(),{StartIcon:E,EndIcon:w,LockIcon:R}=((e,t,r)=>{let{sortDirection:n,headTextAlign:o}=e,{shouldShowSortIcon:i,shouldShowLockIcon:a}=t;const s="A"===n?x.createElement(cN,{height:WD,"data-testid":"head-cell-sort-ascending-icon"}):x.createElement(dN,{height:WD,"data-testid":"head-cell-sort-descending-icon"}),l=i?x.createElement(vN,{align:o,dir:r},s):void 0,u=a?x.createElement(gN,{rightAligned:"right"===o,className:"sn-table-lock-icon"},x.createElement(pN,{height:WD,"data-testid":"head-cell-lock-icon"})):void 0;return"right"===o?{StartIcon:l,LockIcon:u}:{EndIcon:l,LockIcon:u}})(t,C,m);i&&(i.current[t.pageColIdx]=C);return x.createElement(mN,{shouldShowMenuIcon:C.shouldShowMenuIcon,shouldShowLockIcon:C.shouldShowLockIcon,alignment:vq(t,a,m)},R,x.createElement(hN,{className:"sn-table-head-label",textAlign:t.headTextAlign,direction:m,isPagination:a},E,x.createElement(aq,{forwardRef:s,isPagination:a,isHeadCell:!0},t.label),w),r?x.createElement(x.Fragment,null,x.createElement(k_,{headerData:{...t,dimensionInfoIndex:t.colIdx},translator:l,anchorRef:v,menuAvailabilityFlags:{[R_.Sorting]:!0,[R_.Searching]:!0,[R_.Selections]:!0,[R_.AdjusterHeaderSize]:!0},open:n,setOpen:o,interactions:c,sortRelatedArgs:{sortFromMenu:(e,r)=>(e.stopPropagation(),u(t,r))},searchRelatedArgs:{embed:d,listboxRef:y},selectionRelatedArgs:{app:p,qStateName:h.qStateName},adjustHeaderSizeRelatedArgs:{focusColumnAdjuster:bO},shouldShowMenuIcon:C.shouldShowMenuIcon,model:b,direction:m,isPagination:a}),x.createElement(fN,{ref:y,direction:m,isPagination:a}),x.createElement(fN,{ref:v,direction:m})):null)},xN=e=>{let{isInteractionEnabled:t,columnsData:r}=e;const[n,o]=E(!1),{isAdjustingWidth:i,setIsAdjustingWidth:a}=(e=>{const[t,r]=E(!1);return lS((()=>{r(!1)}),e),{isAdjustingWidth:t,setIsAdjustingWidth:r}})([r]);return{open:n,setOpen:o,handleOpenMenu:e=>{!t||(e=>e.target?.getAttribute("class")?.includes(yS))(e)||i||o(!0)},setIsAdjustingWidth:a}},SN=e=>{let{column:t,columnIndex:r,columnsLength:n}=e;const{interactions:o,rootElement:i,keyboard:a,styleService:s,direction:l}=_T(MT,(e=>e.baseProps)),{columns:u,totalsPosition:c}=_T(MT,(e=>e.tableData)),d=_T(MT,(e=>e.columnWidths[r])),p=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal())),f=_T(MT,(e=>e.setFocusedCellCoord)),h=_T(MT,(e=>{let{focusedCellCoord:[t,n]}=e;return 0===t&&n===r})),m=!!o.active&&!p,{open:g,setOpen:b,handleOpenMenu:v,setIsAdjustingWidth:y}=xN({isInteractionEnabled:m,columnsData:u}),S=t.isActivelySorted?VI[t.sortDirection]:void 0,C=g?gS:void 0,E=g?"true":void 0,w=r===n-1,R=[0,t.pageColIdx],A={width:d-(w?8:9),zIndex:u.length-r},P=h&&0===r&&!a.enabled&&m?0:-1;return x.createElement(bN,{headerStyle:{...s.header,...nN(s,c,!0)},background:g?s.headerMenuActiveBackground:s.header.background,hoverBackground:s.headerMenuHoverBackground,interactions:o,style:A,key:t.id,align:t.headTextAlign,className:`sn-table-head-cell sn-table-cell ${bS}`,tabIndex:P,title:o.passive?t.label:void 0,onKeyDown:e=>{(e=>{const{isInteractionEnabled:t,evt:r,handleOpenMenu:n}=e;if(t)switch(r.key){case vS.C:wO(r);break;case vS.Enter:case vS.Space:n?.(r);break;default:RO(e)}else Ux(r)})({evt:e,rootElement:i,cellCoord:R,setFocusedCellCoord:f,isInteractionEnabled:m,handleOpenMenu:v,direction:l})},onMouseDown:e=>{(e=>{let{evt:t,rootElement:r,cellCoord:n,setFocusedCellCoord:o,keyboard:i,isInteractionEnabled:a}=e;t.preventDefault(),a&&yO(n,r,o,i)})({evt:e,rootElement:i,cellCoord:R,setFocusedCellCoord:f,keyboard:a,isInteractionEnabled:m})},onClick:v,"aria-sort":S,"aria-controls":C,"aria-expanded":E,"aria-haspopup":"true"},x.createElement(yN,{column:t,isInteractionEnabled:m,open:g,setOpen:b,isPagination:!0}),x.createElement(uN,{column:t,isLastColumn:w,setIsAdjustingWidth:y}))},CN=()=>{const{columns:e}=_T(MT,(e=>e.tableData)),{styleService:t,viewService:r,layout:n}=_T(MT,(e=>e.baseProps)),o=_T(MT,(e=>e.setHeadRowHeight)),i=_T(MT,(e=>e.columnWidths)),a=D(null),s=lN(r,n);return R((()=>{a.current&&o(a.current.getBoundingClientRect().height)}),[t.header.fontSize,i,o,s]),x.createElement(qM,{style:{visibility:s?"collapse":void 0}},x.createElement($M,{ref:a,className:"sn-table-row sn-table-head-row"},e.map(((t,r)=>x.createElement(SN,{key:t.id,column:t,columnIndex:r,columnsLength:e.length})))))};var EN=O(CN);const wN=e=>{const{pageInfo:t,setPageInfo:r,footerContainer:n,announce:o}=e,{page:i,rowsPerPage:a}=t,{totalColumnCount:s,totalRowCount:l,totalPages:u,paginationNeeded:c,rows:d,columns:p}=_T(MT,(e=>e.tableData)),{rootElement:f,keyboard:h,translator:m,theme:g,interactions:b,styleService:v,viewService:y,layout:S,rect:C,direction:E}=_T(MT,(e=>e.baseProps)),w=_T(MT,(e=>e.setYScrollbarWidth)),A=_T(MT,(e=>e.showRightBorder)),P=_T(MT,(e=>e.selectionDispatch)),k=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal())),I=D(!1),M=D(null),L=D(null),{yScrollbarWidth:_}=IO(M),O=`${m.get("SNTable.Accessibility.RowsAndColumns",[String(d.length),String(p.length)])} ${m.get("SNTable.Accessibility.NavigationInstructions")}`,q=MR(S,y),N=q?y.scrollLeft??0:0,z=q?y.rowPartialHeight??0:0,j=T((()=>{I.current=f.getElementsByTagName("table")[0].contains(document.activeElement)}),[f]),F=T((e=>{r({...t,page:e}),o({keys:[["SNTable.Pagination.PageStatusReport",(e+1).toString(),u.toString()]],politeness:"assertive"})}),[t,r,u,o]),H=T((e=>{r({...t,page:0,rowsPerPage:e}),o({keys:[["SNTable.Pagination.RowsPerPageChange",e.toString()]],politeness:"assertive"})}),[o,t,r]);return EO(M,E,y),((e,t)=>{const{keyboard:r}=_T(MT,(e=>e.baseProps));R((()=>{const n=e.current;if(!n)return;const o=e=>{xO(e,t,r)};return n.addEventListener("focusout",o),()=>{n.removeEventListener("focusout",o)}}),[e,t,r])})(L,I),(()=>{const{rootElement:e,keyboard:t}=_T(MT,(e=>e.baseProps)),r=_T(MT,(e=>e.focusedCellCoord));lS((()=>{const n=pO(e,r);t.active?gO(n):(n?.blur(),mO(e))}),[t.active,e])})(),CO(I,o,i),R((()=>{const e=M.current;e&&(e.scrollLeft=N,e.scrollTop=z)}),[t,l,N,z]),lO((()=>{w(_)}),[_]),lO((()=>{P({type:WI.UpdatePageRows,payload:{pageRows:d}})}),[d]),SO(),x.createElement(aO,{ref:L,background:g.background,dir:E,onKeyDown:e=>{PO({evt:e,totalRowCount:l,page:i,rowsPerPage:a,handleChangePage:F,updateShouldRefocus:j,keyboard:h,isSelectionMode:k})},"data-testid":"sn-table"},x.createElement(TO,null),x.createElement(LO,{ref:M,className:"sn-table-container",fullHeight:!!n||!b.active||!c,interactions:b,tabIndex:-1,role:"application","data-testid":"table-container"},x.createElement(DO,{stickyHeader:!0,"aria-label":O,borderRight:A?`1px solid ${v.grid.border}`:void 0},x.createElement(EN,null),x.createElement(sN,qT({},e,{updateShouldRefocus:j,tableWrapperRef:L})))),x.createElement(oO,{footerContainer:n,pageInfo:t,paginationNeeded:c,theme:g,totalRowCount:l,totalColumnCount:s,totalPages:u,keyboard:h,translator:m,interactions:b,rect:C,layout:S,handleChangePage:F,handleChangeRowsPerPage:H,isSelectionMode:k,direction:E}))};var RN=O(wN),AN=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function PN(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(n=e[r],o=t[r],!(n===o||AN(n)&&AN(o)))return!1;var n,o;return!0}function kN(e,t){var r;void 0===t&&(t=PN);var n,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&r===this&&t(a,o)||(n=e.apply(this,a),i=!0,r=this,o=a),n}}var IN="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function MN(e){cancelAnimationFrame(e.id)}function LN(e,t){var r=IN();var n={id:requestAnimationFrame((function o(){IN()-r>=t?e.call(null):n.id=requestAnimationFrame(o)}))};return n}var DN=-1;function TN(e){if(void 0===e&&(e=!1),-1===DN||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),DN=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return DN}var _N=null;function ON(e){if(void 0===e&&(e=!1),null===_N||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?_N="positive-descending":(t.scrollLeft=1,_N=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),_N}return _N}var qN=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function NN(e){var t,r=e.getColumnOffset,n=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,l=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,c=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=h(n.props,bo(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:bo(n),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof n.props.initialScrollLeft?n.props.initialScrollLeft:0,scrollTop:"number"==typeof n.props.initialScrollTop?n.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},n._callOnItemsRendered=void 0,n._callOnItemsRendered=kN((function(e,t,r,o,i,a,s,l){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:s,visibleRowStopIndex:l})})),n._callOnScroll=void 0,n._callOnScroll=kN((function(e,t,r,o,i){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var o,a=n.props,s=a.columnWidth,l=a.direction,u=a.rowHeight,p=n._getItemStyleCache(m&&s,m&&l,m&&u),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=r(n.props,t,n._instanceProps),g="rtl"===l;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(n.props,e,n._instanceProps),height:c(n.props,e,n._instanceProps),width:i(n.props,t,n._instanceProps)}}return o},n._getItemStyleCache=void 0,n._getItemStyleCache=kN((function(e,t,r){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,s=t.scrollHeight,l=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=n.props.direction,u=i;if("rtl"===t)switch(ON()){case"negative":u=-i;break;case"positive-descending":u=l-o-i}u=Math.max(0,Math.min(u,l-o));var c=Math.max(0,Math.min(a,s-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:u,scrollTop:c,verticalScrollDirection:e.scrollTop<a?"forward":"backward",scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&MN(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=LN(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}go(t,e),t.getDerivedStateFromProps=function(e,t){return zN(e,t),g(e),null};var b=t.prototype;return b.scrollTo=function(e){var t=e.scrollLeft,r=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==r&&(r=Math.max(0,r)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===r&&(r=e.scrollTop),e.scrollLeft===t&&e.scrollTop===r?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:r,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<r?"forward":"backward"}}),this._resetIsScrollingDebounced)},b.scrollToItem=function(e){var t=e.align,r=void 0===t?"auto":t,n=e.columnIndex,o=e.rowIndex,i=this.props,c=i.columnCount,d=i.height,p=i.rowCount,f=i.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,b=TN();void 0!==n&&(n=Math.max(0,Math.min(n,c-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var v=a(this.props,this._instanceProps),y=s(this.props,this._instanceProps)>f?b:0,x=v>d?b:0;this.scrollTo({scrollLeft:void 0!==n?l(this.props,n,r,m,this._instanceProps,x):m,scrollTop:void 0!==o?u(this.props,o,r,g,this._instanceProps,y):g})},b.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,r=e.initialScrollTop;if(null!=this._outerRef){var n=this._outerRef;"number"==typeof t&&(n.scrollLeft=t),"number"==typeof r&&(n.scrollTop=r)}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props.direction,t=this.state,r=t.scrollLeft,n=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(ON()){case"negative":o.scrollLeft=-r;break;case"positive-ascending":o.scrollLeft=r;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-r}else o.scrollLeft=Math.max(0,r);o.scrollTop=Math.max(0,n)}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&MN(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,r=e.className,n=e.columnCount,o=e.direction,i=e.height,l=e.innerRef,u=e.innerElementType,c=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?qN:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,b=e.style,v=e.useIsScrolling,y=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),C=S[0],E=S[1],w=this._getVerticalRangeToRender(),R=w[0],P=w[1],k=[];if(n>0&&g)for(var I=R;I<=P;I++)for(var M=C;M<=E;M++)k.push(A(t,{columnIndex:M,data:d,isScrolling:v?x:void 0,key:f({columnIndex:M,data:d,rowIndex:I}),rowIndex:I,style:this._getItemStyle(I,M)}));var L=a(this.props,this._instanceProps),D=s(this.props,this._instanceProps);return A(h||m||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:lo({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},A(u||c||"div",{children:k,ref:l,style:{height:L,pointerEvents:x?"none":void 0,width:D}}))},b._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,r=e.onItemsRendered,n=e.onScroll,o=e.rowCount;if("function"==typeof r&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],s=i[1],l=i[2],u=i[3],c=this._getVerticalRangeToRender(),d=c[0],p=c[1],f=c[2],h=c[3];this._callOnItemsRendered(a,s,d,p,l,u,f,h)}if("function"==typeof n){var m=this.state,g=m.horizontalScrollDirection,b=m.scrollLeft,v=m.scrollTop,y=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(b,v,g,x,y)}},b._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,s=e.rowCount,l=this.state,u=l.horizontalScrollDirection,c=l.isScrolling,d=l.scrollLeft,p=r||i||a||1;if(0===t||0===s)return[0,0,0,0];var f=n(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=c&&"backward"!==u?1:Math.max(1,p),g=c&&"forward"!==u?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},b._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanCount,n=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,s=a.isScrolling,l=a.verticalScrollDirection,u=a.scrollTop,c=n||o||r||1;if(0===t||0===i)return[0,0,0,0];var d=p(this.props,u,this._instanceProps),h=f(this.props,d,u,this._instanceProps),m=s&&"backward"!==l?1:Math.max(1,c),g=s&&"forward"!==l?1:Math.max(1,c);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(N),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var zN=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},jN=function(e,t){var r=e.rowCount,n=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},FN=function(e,t){var r=e.columnCount,n=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},HN=function(e,t,r,n){var o,i,a;if("column"===e?(o=n.columnMetadataMap,i=t.columnWidth,a=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=t.rowHeight,a=n.lastMeasuredRowIndex),r>a){var s=0;if(a>=0){var l=o[a];s=l.offset+l.size}for(var u=a+1;u<=r;u++){var c=i(u);o[u]={offset:s,size:c},s+=c}"column"===e?n.lastMeasuredColumnIndex=r:n.lastMeasuredRowIndex=r}return o[r]},$N=function(e,t,r,n){var o,i;return"column"===e?(o=r.columnMetadataMap,i=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=r.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=n?BN(e,t,r,i,0,n):WN(e,t,r,Math.max(0,i),n)},BN=function(e,t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),s=HN(e,t,a,r).offset;if(s===i)return a;s<i?o=a+1:s>i&&(n=a-1)}return o>0?o-1:0},WN=function(e,t,r,n,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;n<i&&HN(e,t,n,r).offset<o;)n+=a,a*=2;return BN(e,t,r,Math.min(n,i-1),Math.floor(n/2),o)},VN=function(e,t,r,n,o,i,a){var s="column"===e?t.width:t.height,l=HN(e,t,r,i),u="column"===e?FN(t,i):jN(t,i),c=Math.max(0,Math.min(u-s,l.offset)),d=Math.max(0,l.offset-s+a+l.size);switch("smart"===n&&(n=o>=d-s&&o<=c+s?"auto":"center"),n){case"start":return c;case"end":return d;case"center":return Math.round(d+(c-d)/2);default:return o>=d&&o<=c?o:d>c||o<d?d:c}},GN=NN({getColumnOffset:function(e,t,r){return HN("column",e,t,r).offset},getColumnStartIndexForOffset:function(e,t,r){return $N("column",e,r,t)},getColumnStopIndexForStartIndex:function(e,t,r,n){for(var o=e.columnCount,i=e.width,a=HN("column",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=HN("column",e,u,n).size;return u},getColumnWidth:function(e,t,r){return r.columnMetadataMap[t].size},getEstimatedTotalHeight:jN,getEstimatedTotalWidth:FN,getOffsetForColumnAndAlignment:function(e,t,r,n,o,i){return VN("column",e,t,r,n,o,i)},getOffsetForRowAndAlignment:function(e,t,r,n,o,i){return VN("row",e,t,r,n,o,i)},getRowOffset:function(e,t,r){return HN("row",e,t,r).offset},getRowHeight:function(e,t,r){return r.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,r){return $N("row",e,r,t)},getRowStopIndexForStartIndex:function(e,t,r,n){for(var o=e.rowCount,i=e.height,a=HN("row",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=HN("row",e,u,n).size;return u},initInstanceProps:function(e,t){var r=e,n={columnMetadataMap:{},estimatedColumnWidth:r.estimatedColumnWidth||50,estimatedRowHeight:r.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:r})},t.resetAfterRowIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:r})},t.resetAfterIndices=function(e){var r=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof r&&(n.lastMeasuredColumnIndex=Math.min(n.lastMeasuredColumnIndex,r-1)),"number"==typeof o&&(n.lastMeasuredRowIndex=Math.min(n.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),UN=function(e,t){return e};function YN(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,l=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,c=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=l(n.props,bo(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:bo(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=kN((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=kN((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,a=i.direction,s=i.itemSize,l=i.layout,c=n._getItemStyleCache(u&&s,u&&l,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),p=o(n.props,e,n._instanceProps),f="horizontal"===a||"horizontal"===l,h="rtl"===a,m=f?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=kN((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(ON()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&MN(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=LN(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}go(t,e),t.getDerivedStateFromProps=function(e,t){return KN(e,t),c(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,o=r.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var s=0;if(this._outerRef){var l=this._outerRef;s="vertical"===o?l.scrollWidth>l.clientWidth?TN():0:l.scrollHeight>l.clientHeight?TN():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,s))},d.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===n?o.scrollLeft=r:o.scrollTop=r}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,o=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(ON()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&MN(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,r=e.className,o=e.direction,i=e.height,a=e.innerRef,s=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?UN:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,b=e.useIsScrolling,v=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),E=C[0],w=C[1],R=[];if(u>0)for(var P=E;P<=w;P++)R.push(A(t,{data:c,key:p(P,c),index:P,isScrolling:b?y:void 0,style:this._getItemStyle(P)}));var k=n(this.props,this._instanceProps);return A(h||m||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:lo({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},A(s||l||"div",{children:R,ref:a,style:{height:x?"100%":k,pointerEvents:y?"none":void 0,width:x?k:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],o=e[3];this._callOnItemsRendered(t,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,l=n.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,l,this._instanceProps),c=s(this.props,u,l,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,r),p=o&&"forward"!==i?1:Math.max(1,r);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},t}(N),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var KN=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},XN=function(e,t,r){var n=e.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var s=o[i];a=s.offset+s.size}for(var l=i+1;l<=t;l++){var u=n(l);o[l]={offset:a,size:u},a+=u}r.lastMeasuredIndex=t}return o[t]},JN=function(e,t,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),a=XN(e,i,t).offset;if(a===o)return i;a<o?n=i+1:a>o&&(r=i-1)}return n>0?n-1:0},ZN=function(e,t,r,n){for(var o=e.itemCount,i=1;r<o&&XN(e,r,t).offset<n;)r+=i,i*=2;return JN(e,t,Math.min(r,o-1),Math.floor(r/2),n)},QN=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},ez=YN({getItemOffset:function(e,t,r){return XN(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:QN,getOffsetForIndexAndAlignment:function(e,t,r,n,o,i){var a=e.direction,s=e.height,l=e.layout,u=e.width,c="horizontal"===a||"horizontal"===l?u:s,d=XN(e,t,o),p=QN(e,o),f=Math.max(0,Math.min(p-c,d.offset)),h=Math.max(0,d.offset-c+d.size+i);switch("smart"===r&&(r=n>=h-c&&n<=f+c?"auto":"center"),r){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);default:return n>=h&&n<=f?n:n<h?h:f}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?n[o].offset:0)>=r?JN(e,t,o,0,r):ZN(e,t,Math.max(0,o),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var o=e.direction,i=e.height,a=e.itemCount,s=e.layout,l=e.width,u="horizontal"===o||"horizontal"===s?l:i,c=XN(e,t,n),d=r+u,p=c.offset+c.size,f=t;f<a-1&&p<d;)f++,p+=XN(e,f,n).size;return f},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}});function tz(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var rz=["style"],nz=["style"];function oz(e,t){var r=e.style,n=vo(e,rz),o=t.style,i=vo(t,nz);return!tz(r,o)&&!tz(n,i)}const iz=e=>{let{style:t}=e;return x.createElement("div",{className:"sn-table-cell",style:{...t,borderWidth:"0px 1px 1px 0px",boxSizing:"border-box"}})};var az=x.memo(iz,oz);const sz=e=>e.at(0)?.contentBoxSize.at(0)?.blockSize,lz=(e,t,r)=>{R((()=>{const r=e.current;if(!r)return()=>{};const n=new ResizeObserver(t);return n.observe(r),()=>{n.disconnect()}}),[e,t,r])},uz=()=>{},cz=e=>{e.preventDefault()};const dz=e=>{let{columnIndex:t,rowIndex:r,style:n,data:o}=e;const{rowsInPage:i,columns:a,isHoverEnabled:s,setMeasuredCellHeight:l,lineClamp:u,resizeObserverTaskScheduler:c}=o,d=_T(MT,(e=>e.hoverIndex===r)),p=_T(MT,(e=>e.setHoverIndex)),{interactions:f,styleService:h,direction:m}=_T(MT,(e=>e.baseProps)),g=_T(MT,(e=>e.showRightBorder)),b=i[r]?.[t],{handleMouseDown:v,handleMouseOver:y,handleMouseUp:S,cellSelectionState:C}=function(e){const{interactions:t}=_T(MT,(e=>e.baseProps)),r=_T(MT,(e=>e.selectionDispatch)),n="object"==typeof e,o=_T(MT,(t=>n?Uq(e,t.selectionState):BI.Inactive)),i=t.active&&t.select;if(n&&i){const{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i}=Vq(cz,e,r,uz);return{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i,cellSelectionState:o}}return{cellSelectionState:o}}(b),E=((e,t,r,n)=>{const o=D(null),i=r&&!r.isNumeric,a=T((r=>{const o=sz(r);o&&i&&n(o,e,t)}),[t,n,e,i]);return lz(o,a),o})(r,t,b,l),w=a[t]?.isDim?h.dimension.values:h.measure.values;if("object"==typeof b){const e=((e,t,r,n,o,i)=>{let a=Xq(o,i,e);a=Yq(a,i,e);const s=!e.isNull&&t.qAttrExprInfoIDs.length?bT(a,e.qAttrExps,t.qAttrExprInfoIDs):a;return n===BI.Selected?{...s,...i.selectedColors}:n===BI.Disabled?{...s,color:r?i.grid.hoverColors?.color:s.color,background:`${$D}, ${r?i.grid.hoverColors?.background:s.background}`}:r?{...s,...i.grid.hoverColors}:s})(b,a[t],s&&d,C,w,h),o={rowindex:r,columnindex:t};return x.createElement("div",qT({className:`sn-table-cell ${C} ${bS}`,style:{...n,...e,display:"flex",alignItems:"start",borderColor:h.grid.border,borderTop:"0px",borderBottomWidth:b.isLastRow?"0px":"1px",borderRightWidth:xq(m,b.isLastColumn,g),borderLeftWidth:Sq(m,b.isLastColumn,g),justifyContent:gq(b,m),borderStyle:"solid",padding:"4px 12px",boxSizing:"border-box",cursor:"default",overflow:"hidden",textAlign:b.align},onMouseDown:v,onMouseUp:S,onMouseOver:y,onMouseEnter:s?()=>{p(r)}:void 0,onMouseLeave:s?()=>{p(-1)}:void 0,title:f.passive?b.representation.text:void 0},o),x.createElement(Wq,{forwardRef:h.contentStaticLineCount||1===u?void 0:E,cell:b,style:e,lineClamp:u,virtualizedCell:!0,resizeObserverTaskScheduler:c}))}return x.createElement(az,{style:{...n,...w,borderColor:h.grid.border,borderWidth:"0px 1px 1px 0px",borderStyle:"solid",boxSizing:"border-box"}})};var pz=O(dz,oz);const fz=e=>{const t=D(e);return t.current=e,t},hz=e=>{let{qLeft:t,qTop:r,qWidth:n,qHeight:o}=e;return`${t}-${r}-${n}-${o}`},mz=(e,t,r,n,o)=>{const i=e[r];if(!i)return!0;for(let e=t;e<t+n;e++){const t=i[e];if(t?.rowIdx!==o)return!0}return!1},gz=(e,t,r,n)=>{const o=e.slice(r,n);return 0===o.length||o.some((e=>!e[t]))},bz=(e,t,r,n,o,i,a,s)=>{e.forEach((e=>{e.qMatrix.forEach(((l,u)=>{const c=e.qArea.qTop-t.page*t.rowsPerPage,{row:d,pageRowIdx:p}=((e,t,r,n,o,i,a,s,l,u)=>{const{qSize:c}=a.qHyperCube,d=n.qTop+r,p=o+r,f=e[p]??[];return t.forEach(((e,t)=>{const r=t+n.qLeft;if(f.at(r))return;const{colIdx:o,isDim:h,isLocked:m,bodyTextAlign:g,selectionColIdx:b,qAttrExprInfoIndex:v,representation:y,conditionalColoring:x,qMiniChart:S}=i[r],C=SR(h,e,a),E=!h&&e.qIsNull,w=E?vw(C):bw(e);f[r]={id:hw(),...e,align:kR(w,g,u),rowIdx:d,colIdx:o,isSelectable:h&&!m,pageRowIdx:p,pageColIdx:r,selectionColIdx:b,isLastRow:d===c.qcy-1,isLastColumn:r===c.qcx-1,isNumeric:w,isNull:(!E||!w)&&xR(e,h),representation:yR({cell:e,representationProperties:y,attrExprInfoIndex:v,env:s,conditionalColoring:x,miniChartOnMeasure:S,getText:()=>E?C:e.qText,direction:u,enabledFeatures:{[yE.Image]:s.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[yE.Indicator]:!0,[yE.MiniChart]:!0}})},l(f[r],d,r)})),{row:f,pageRowIdx:p}})(r,l,u,e.qArea,c,n,o,i,a,s);r[p]=d}))}))},vz=e=>{let{layout:t,model:r,theme:n,initialDataPages:o,pageInfo:i,rowCount:a,visibleRowCount:s,visibleColumnCount:l,columns:u,gridState:c,setEstimatedCellHeight:d}=e;const p=_T(MT,(e=>e.env)),{direction:f}=_T(MT,(e=>e.baseProps)),h=D([]),m=T(((e,r)=>{const n=Array.isArray(r)?r.slice(0,a):(e=>Array(e).fill(void 0))(a);return bz(e,i,n,u,t,p,d,f),h.current=n,n}),[a,i,u,t,p,d,f]),[g,b]=E((()=>m(o??[])));lS((()=>{b(m(o??[]))}),[o,f]);const v=((e,t)=>{const r=D(new Set),n=D(new Set),o=D(new Set),i=fz(e),a=fz(t),s=w((()=>({enqueue:e=>{const t=hz(e);o.current.has(t)||(r.current.add(e),o.current.add(t),1===r.current.size&&setTimeout((async()=>{const e=Array.from(r.current.values());if(0!==e.length){r.current.clear(),n.current.add(e);try{const t=(e=>{const t=[];return e.forEach((e=>{if(t.length>0){const r=t[t.length-1];((e,t)=>e.qTop+e.qHeight===t.qTop&&e.qLeft===t.qLeft&&e.qWidth===t.qWidth)(r,e)?r.qHeight+=e.qHeight:((e,t)=>e.qLeft+e.qWidth===t.qLeft&&e.qTop===t.qTop&&e.qHeight===t.qHeight)(r,e)?r.qWidth+=e.qWidth:t.push({...e})}else t.push({...e})})),t})(e),r=await i.current(t);n.current.has(e)&&a.current(r)}catch(t){e.forEach((e=>{o.current.delete(hz(e))})),console.error("Failed to fetch pages",t)}finally{n.current.delete(e)}}}),75))},clear:()=>{r.current.clear(),n.current.clear(),o.current.clear()}})),[i,a]);return s})((e=>r&&"getHyperCubeData"in r?r.getHyperCubeData("/qHyperCubeDef",e):Promise.resolve([])),(e=>{b((t=>m(e,t)))})),y=T(((e,t,r,n)=>{for(let o=e;o<e+r;o++)if(gz(h.current,o,t,n)){const e={qLeft:o,qTop:t,qHeight:n,qWidth:1};v.enqueue(e)}}),[h,v]),x=T(((e,t,r,n)=>{for(let o=t;o<t+n;o++){const t=Math.max(0,o-i.page*i.rowsPerPage);if(mz(h.current,e,t,r,o)){const t={qLeft:e,qTop:o,qHeight:1,qWidth:r};v.enqueue(t)}}}),[h,v,i]);return R((()=>{const{qcx:e,qcy:r}=t.qHyperCube.qSize,n=c.current.overscanRowStartIndex,o=c.current.overscanColumnStartIndex,a=n+i.page*i.rowsPerPage,u=e-o,d=i.rowsPerPage-n,p=Math.min(100,u,e,l+5),f=Math.min(100,d,r,s+25);return x(o,a,p,f),()=>{v.clear()}}),[t,s,l,i,v,x,c,n]),{rowsInPage:g,loadRows:x,loadColumns:y}},yz=e=>{let t=0;return e.forEach((e=>{e>t&&(t=e)})),t},xz=(e,t)=>void 0===e||Math.abs(e-t)>1e-4,Sz=e=>{let{isSnapshot:t,isStaticNbrOfLines:r,lineClamp:n,setCellHeight:o}=e;const i=_T(MT,(e=>e.baseProps.styleService)),a=_T(MT,(e=>e.columnWidths)),{estimateLineCount:s}=nS(i.dimension.values),l=RT(i.dimension.values.fontSize),u=t||r||1===n;return T(((e,t,r)=>{if(u||e.representation.type===yE.Image||e.isNumeric)return;const i=(e=>Math.max(0,e-24-1))(a[r]),c=e.representation.text?s({text:e.representation.text,maxWidth:i,isNumeric:!1}):1,d=Math.min(n,Math.max(1,c));o(d*l,t,r)}),[u,a,s,n,l,o])},Cz=e=>{let{isStaticNbrOfLines:t,minRowHeight:r,state:n,rowCount:o,staticRowHeight:i,viewService:a}=e;return w((()=>{const{estimatedRowHeight:e,totalRowHeight:s}=t?{totalRowHeight:o*i,estimatedRowHeight:i}:(e=>{let t=0;e.forEach((e=>{t+=e}));const r=0===e.size?0:t/e.size;return{estimatedRowHeight:Math.ceil(r),totalRowHeight:t}})(n.rowHeights);return a.estimatedRowHeight=Math.max(e,r),Math.max(o*r,s)}),[t,r,o,n,i,a])},Ez=e=>{let{rowCount:t,isSnapshot:r,viewService:n,gridRef:o,pageInfo:i}=e;const{styleService:a}=_T(MT,(e=>e.baseProps)),[s,l]=E({rowHeights:new Map,cellHeightsInGrid:new Map}),u=a.contentLineHeight,c=a.contentMinRowHeight,d=!!a.contentStaticLineCount,p=Math.max(8e6/t,c)-9,f=p+9,h=Math.max(1,Math.min(a.grid.contentLineClamp,Math.round(p/u))),m=(e=>{let{lineClamp:t,lineHeight:r,isStaticNbrOfLines:n}=e;return n?r*t+8+1:void 0})({lineClamp:h,lineHeight:u,isStaticNbrOfLines:d});(e=>{let{gridRef:t,setState:r,pageInfo:n}=e;const{layout:o}=_T(MT,(e=>e.baseProps)),i=_T(MT,(e=>e.columnWidths)),a=o.multiline?.wrapTextInCells,s=o.nullValueRepresentation?.text;lS((()=>{t.current?.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1}),r({rowHeights:new Map,cellHeightsInGrid:new Map})}),[o.qHyperCube.qSize.qcx,o.qHyperCube.qSize.qcy,n.page,a,s]),lS((()=>{t.current?.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1})}),[i])})({gridRef:o,setState:l,pageInfo:i});const g=(e=>{let{setState:t,maxCellHeight:r,minRowHeight:n,gridRef:o}=e;return T(((e,i,a)=>{z((()=>{t((t=>{const s=Math.max(n,e+9),l=Math.min(r,s),u=t.cellHeightsInGrid.get(i)??t.cellHeightsInGrid.set(i,new Map).get(i);if(!xz(u.get(a),l))return t;const c={...t};return u.set(a,l),c.rowHeights.set(i,yz(u)),o.current?.resetAfterIndices({columnIndex:a,rowIndex:i,shouldForceUpdate:!1}),c}))}))}),[t,n,r,o])})({maxCellHeight:f,minRowHeight:c,setState:l,gridRef:o}),b=(e=>{let{isSnapshot:t,isStaticNbrOfLines:r,lineClamp:n,setCellHeight:o}=e;return T(((e,i,a)=>{t||r||1===n||o(e,i,a)}),[t,r,n,o])})({isSnapshot:r,isStaticNbrOfLines:d,lineClamp:h,setCellHeight:g});return{setMeasuredCellHeight:b,setEstimatedCellHeight:Sz({isSnapshot:r,isStaticNbrOfLines:d,lineClamp:h,setCellHeight:g}),getRowHeight:T((e=>d?m:s.rowHeights.get(e)??c),[d,c,s.rowHeights,m]),totalRowHeight:Cz({isStaticNbrOfLines:d,minRowHeight:c,state:s,staticRowHeight:m,rowCount:t,viewService:n}),lineClamp:h}},wz=(e,t)=>{q((()=>()=>{t(0)}),[e,t]);const r=T((e=>{const r=sz(e);void 0!==r&&t(r)}),[t]);lz(e,r)};let Rz=function(e){return e.Left="Left",e.Right="Right",e.Up="Up",e.Down="Down",e.None="None",e}({});const Az=e=>{let{layout:t,loadRows:r,loadColumns:n,rowCount:o,pageInfo:i,gridState:a,viewService:s}=e;const l=T((e=>{let{overscanColumnStartIndex:l,overscanColumnStopIndex:u,overscanRowStartIndex:c,overscanRowStopIndex:d,visibleColumnStartIndex:p,visibleColumnStopIndex:f,visibleRowStartIndex:h,visibleRowStopIndex:m}=e;const{verticalScrollDirection:g,horizontalScrollDirection:b}=((e,t,r)=>{let{overscanColumnStartIndex:n,overscanRowStartIndex:o}=e,i=Rz.None,a=Rz.None;return i=r>o?Rz.Down:r<o?Rz.Up:Rz.None,a=t>n?Rz.Right:t<n?Rz.Left:Rz.None,{verticalScrollDirection:i,horizontalScrollDirection:a}})(a.current,l,c);if(a.current.overscanColumnStartIndex=l,a.current.overscanColumnStopIndex=u,a.current.overscanRowStartIndex=c,a.current.overscanRowStopIndex=d,c>o)return;const v=l,y=c+i.page*i.rowsPerPage,x=u-l+1,S=d-c+1;if(s.visibleLeft=p,s.visibleWidth=f-p+1,s.visibleTop=h+i.page*i.rowsPerPage,s.visibleHeight=m-h+1,s.page=i.page,s.rowsPerPage=i.rowsPerPage,g===Rz.Down){const e=S+25;r(v,y,x,c+e>o?o-c:e)}else if(g===Rz.Up){const e=S+25,t=i.page*i.rowsPerPage,n=Math.max(t,y-25);r(v,n,x,e)}if(b===Rz.Right){const e=t.qHyperCube.qSize.qcx-v,r=x+5,o=Math.min(e,r);n(v,y,o,S)}else if(b===Rz.Left){const e=Math.max(0,v-5),r=Math.min(t.qHyperCube.qSize.qcx,x+5);n(e,y,r,S)}}),[a,o,i.page,i.rowsPerPage,s,r,t.qHyperCube.qSize.qcx,n]);return l},Pz={enabled:!1},kz=()=>{},Iz={current:null};const Mz=(e,t,r,n,o)=>{const i=Math.min(t.rowsPerPage,e.qHyperCube.qSize.qcy-t.page*t.rowsPerPage),a=Math.min(i,Math.ceil(r.height/o)),s=w((()=>n.reduce(((e,t)=>e.width<r.width?{width:e.width+t,count:e.count+1}:e),{count:0,width:0})),[r,n]).count;return{rowCount:i,visibleRowCount:a,visibleColumnCount:s}},Lz=e=>{let{columnIndex:t,data:r,rowIndex:n}=e;const o=r.rowsInPage[n]?.[t];return o?.id??`${n}-${t}`},Dz={overflow:"hidden",willChange:"auto"};var Tz=O(_(((e,t)=>{const{rect:r,columns:n,pageInfo:o,headerAndTotalsHeight:i,setInnerBodyHeight:a}=e,{layout:s,model:l,theme:u,viewService:c,styleService:d,direction:p}=_T(MT,(e=>e.baseProps)),f=_T(MT,(e=>e.columnWidths)),h=_T(MT,(e=>e.initialDataPages)),m=D(null),g=D(null),b=D({overscanColumnStartIndex:0,overscanRowStartIndex:0,overscanColumnStopIndex:0,overscanRowStopIndex:0}),v=D(0),y=!!fT(s)?.content?.hoverEffect,{rowCount:S,visibleRowCount:C,visibleColumnCount:E}=Mz(s,o,r,f,d.contentMinRowHeight),{setMeasuredCellHeight:A,setEstimatedCellHeight:P,getRowHeight:k,lineClamp:I,totalRowHeight:M}=Ez({rowCount:S,isSnapshot:!!s.snapshotData,viewService:c,gridRef:m,pageInfo:o}),{rowsInPage:L,loadRows:T,loadColumns:_}=vz({layout:s,model:l,theme:u,initialDataPages:h,pageInfo:o,rowCount:S,visibleRowCount:C,visibleColumnCount:E,columns:n,gridState:b,setEstimatedCellHeight:P}),O=Az({layout:s,loadRows:T,loadColumns:_,rowCount:S,pageInfo:o,gridState:b,viewService:c}),N=qO(),z=w((()=>({rowsInPage:L,columns:n,isHoverEnabled:y,lineClamp:I,setMeasuredCellHeight:A,resizeObserverTaskScheduler:N})),[L,n,y,I,A,N]),F=((e,t,r)=>Math.min(e.height-t,r))(r,i,M);return q((()=>{1===v.current&&m.current?.scrollToItem({rowIndex:S-1,align:"start"})})),function(e){const{selectionsAPI:t}=_T(MT,(e=>e.baseProps)),r=_T(MT,(e=>e.selectionDispatch));R((()=>{r({type:WI.UpdatePageRows,payload:{pageRows:e}})}),[r,e]),NO({selectionsAPI:t,selectionDispatch:r,updateShouldRefocus:kz,keyboard:Pz,tableWrapperRef:Iz})}(L),j(t,(()=>({interpolatedScrollTo:(e,t)=>{const r=(g.current?.clientHeight??F)-F,n=Math.round(r*e);v.current=e,1===v.current?(m.current?.scrollToItem({rowIndex:S-1,align:"start"}),m.current?.scrollTo({scrollLeft:t})):m.current?.scrollTo({scrollTop:n,scrollLeft:t})}})),[g,F,S]),wz(g,a),x.createElement(GN,{"data-key":"body",ref:m,innerRef:g,style:Dz,columnCount:s.qHyperCube.qSize.qcx,columnWidth:e=>f[e],height:F,rowCount:S,rowHeight:k,estimatedRowHeight:c.estimatedRowHeight,width:r.width,itemData:z,onItemsRendered:O,itemKey:Lz,className:"sn-table-body",direction:p},pz)})));const _z=e=>{let{width:t,height:r,children:n}=e;return x.createElement("div",{"data-key":"full-size-container",style:{display:"block",width:t,height:r}},n)},Oz=(e,t)=>{const r=D(null),n=_T(MT,(e=>e.columnWidths));q((()=>{r.current&&t(r.current.getBoundingClientRect().height+9,e)}),[t,r,e,n.length]);const o=T((r=>{const n=sz(r);n&&t(n+9,e)}),[e,t]);return lz(r,o),r},qz=eI("div",{shouldForwardProp:e=>"interactions"!==e&&"hoverBackground"!==e&&"background"!==e&&"applicableStyle"!==e})((e=>{let{interactions:t,hoverBackground:r,background:n,applicableStyle:o}=e;return{...o,background:n,"&&:hover":{background:t.active?r:void 0}}})),Nz=e=>{let{index:t,style:r,data:n}=e;const{columns:o,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setMeasuredCellHeight:s}=n,{interactions:l,styleService:u,direction:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal())),p=_T(MT,(e=>e.showRightBorder)),f=_T(MT,(e=>e.tableData.totalsPosition)),h=!!l.active&&!d,{open:m,setOpen:g,handleOpenMenu:b,setIsAdjustingWidth:v}=xN({isInteractionEnabled:h,columnsData:o}),y=Oz(t,s),S=o[t],C=o.length-1===t;return x.createElement(qz,{className:`sn-table-cell ${bS}`,title:l.passive?S.label:void 0,onClick:b,applicableStyle:{...u.header,...nN(u,f,!0)},style:{...r,cursor:"pointer",display:"flex",alignItems:"flex-end",borderStyle:"solid",borderRightWidth:xq(c,C,p),borderLeftWidth:Sq(c,C,p),borderTopWidth:"0px",borderBottomWidth:"1px",padding:"4px",justifyContent:S.headTextAlign,boxSizing:"border-box",zIndex:o.length-t,flexDirection:"right"===S.headTextAlign?"row-reverse":"row",userSelect:"none"},interactions:l,hoverBackground:u.headerMenuHoverBackground,background:m?u.headerMenuActiveBackground:u.header.background},x.createElement(yN,{forwardRef:y,column:S,isInteractionEnabled:h,open:m,setOpen:g,allColumnsIconVisibilityStatusRef:a}),x.createElement(uN,{column:S,isLastColumn:C,onColumnResize:i,setIsAdjustingWidth:v}))},zz=e=>{const[t,r]=E(new Map);lS((()=>{r(new Map)}),[e.length]);const n=T(((e,t)=>{r((r=>xz(r.get(t),e)?new Map(r).set(t,e):r))}),[]);return{rowHeight:w((()=>yz(t)),[t]),setMeasuredCellHeight:n}},jz=(e,t)=>{j(e,(()=>({scrollTo:e=>t.current?.scrollTo(e)})),[t])},Fz=(e,t,r,n,o)=>{lS((()=>{e.current?.resetAfterIndex(0,!1)}),[t,r,e,n,o])},Hz={overflow:"hidden",boxSizing:"border-box",willChange:"auto"},$z=_(((e,t)=>{const{rect:r,columns:n,pageInfo:o,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setHeaderRowHeight:s}=e,l=D(null),u=D(null),{layout:c,theme:d,styleService:p,direction:f,viewService:h}=_T(MT,(e=>e.baseProps)),m=_T(MT,(e=>e.columnWidths)),{rowHeight:g,setMeasuredCellHeight:b}=zz(n),v=lN(h,c);return jz(t,l),Fz(l,c,o,m,d),wz(u,s),x.createElement(ez,{ref:l,outerRef:u,layout:"horizontal",style:{...Hz,...v?{display:"none"}:void 0},itemCount:c.qHyperCube.qSize.qcx,itemSize:e=>m[e],height:Math.max(g+8,p.headerMinRowHeight),width:r.width,itemData:{columns:n,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setMeasuredCellHeight:b},direction:f},Nz)}));var Bz=O($z);const Wz=_(((e,t)=>{const{children:r,width:n,height:o,onScroll:i}=e,{interactions:a,direction:s}=_T(MT,(e=>e.baseProps));return x.createElement("div",{"data-testid":"scrollable-container",ref:t,style:{overflow:a.scroll?"auto":"hidden",width:n,height:o},onScroll:i,dir:s},r)})),Vz=e=>{let{children:t,rect:r}=e;const{direction:n}=_T(MT,(e=>e.baseProps));return x.createElement("div",{"data-testid":"sticky-container",style:{position:"sticky",top:"0px",left:"rtl"!==n?"0px":void 0,right:"rtl"===n?"0px":void 0,width:r.width,height:r.height}},t)},Gz=e=>{let{index:t,style:r,data:n}=e;const{columns:o,totals:i,setMeasuredCellHeight:a}=n,{layout:s,interactions:l,styleService:u,direction:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.showRightBorder)),p=Oz(t,a),f=o[t].totalInfo,{totalsTextAlign:h,isTotalNumeric:m}=o[t],g=s.qHyperCube.qSize.qcx-1===t;return x.createElement("div",{className:`sn-table-cell ${bS}`,title:l.passive?f:void 0,style:{...r,...u.totalRow,...nN(u,i,!1),background:u.totalRow.background,display:"flex",alignItems:i.atTop?"end":"start",borderStyle:"solid",borderRightWidth:xq(c,g,d),borderLeftWidth:Sq(c,g,d),borderTopWidth:i.atBottom?"1px":"0px",borderBottomWidth:i.atTop?"1px":"0px",padding:"4px 12px",justifyContent:h,textAlign:h,boxSizing:"border-box",cursor:"default"}},x.createElement(aq,{forwardRef:m?void 0:p,isNumeric:m},f))},Uz=_(((e,t)=>{const{rect:r,pageInfo:n,totals:o,columns:i,setTotalsRowHeight:a}=e,s=D(null),l=D(null),{layout:u,theme:c,styleService:d,direction:p}=_T(MT,(e=>e.baseProps)),f=_T(MT,(e=>e.columnWidths)),{rowHeight:h,setMeasuredCellHeight:m}=zz(i);return jz(t,s),Fz(s,u,n,f,c),wz(l,a),x.createElement(ez,{ref:s,outerRef:l,layout:"horizontal",style:Hz,itemCount:u.qHyperCube.qSize.qcx,itemSize:e=>f[e],height:Math.max(h,d.totalRowMinHeight),width:r.width,itemData:{columns:i,totals:o,setMeasuredCellHeight:m},direction:p},Gz)}));var Yz=O(Uz);const Kz=(e,t,r,n,o)=>T((i=>{const{scrollHeight:a,clientHeight:s,scrollTop:l}=i.currentTarget,u=((e,t)=>{const{scrollWidth:r,clientWidth:n,scrollLeft:o}=e,i=r-n;if("rtl"===t){if(o>i)return i;if(o<0)return Math.abs(o)}return o})(i.currentTarget,o),c=Math.max(0,Math.min(1,l/(a-s)));n.scrollTopRatio=c,n.scrollLeft=u,r.current?.interpolatedScrollTo(Number.isNaN(c)?0:c,u),e.current?.scrollTo(u),t.current?.scrollTo(u)}),[n,r,e,t,o]),Xz=e=>{const{pageInfo:t}=e,{totalsPosition:r,columns:n,paginationNeeded:o}=_T(MT,(e=>e.tableData)),{layout:i,theme:a,rect:s,viewService:l,direction:u}=_T(MT,(e=>e.baseProps)),c=_T(MT,(e=>e.columnWidths)),d=_T(MT,(e=>e.setYScrollbarWidth)),p=D(null),f=D(null),h=D(null),m=D(null),{xScrollbarWidth:g,yScrollbarWidth:b}=IO(p),v=D([]),y=w((()=>((e,t)=>{const r=e.height-(t?41:0);return{width:e.width,height:r}})(s,o)),[s,o]),S=w((()=>((e,t,r)=>({width:e.width-r,height:e.height-t}))(y,g,b)),[y,g,b]),{rowCount:C}=Mz(i,t,S,c,0),{headerAndTotalsHeight:R,innerBodyHeight:A,setHeaderRowHeight:P,setTotalsRowHeight:k,setInnerBodyHeight:I}=(()=>{const[e,t]=E(0),[r,n]=E(0),[o,i]=E(0);return{headerAndTotalsHeight:e+r,innerBodyHeight:o,setHeaderRowHeight:t,setTotalsRowHeight:n,setInnerBodyHeight:i}})(),{width:M,height:L}=(e=>{let{innerBodyHeight:t,headerAndTotalsHeight:r,rowCount:n,stickyContainerRect:o,columnWidths:i}=e;const{styleService:a}=_T(MT,(e=>e.baseProps)),s=t+r,l=n*a.contentMinRowHeight+r;let u=l;return l<o.height&&s>o.height&&(u=s),{width:i.reduce(((e,t)=>e+t),0),height:u}})({innerBodyHeight:A,headerAndTotalsHeight:R,rowCount:C,stickyContainerRect:S,columnWidths:c}),_=Kz(f,h,m,l,u),O=T((()=>{p.current&&(p.current.scrollTop=0)}),[p]);SO(),q((()=>{p.current&&(p.current.scrollLeft=0,p.current.scrollTop=0)}),[n.length]),q((()=>{p.current&&(p.current.scrollTop=0)}),[t,C,a]),lO((()=>{d(b)}),[b]);const N=x.createElement(Yz,{key:"totals",rect:S,pageInfo:t,columns:n,ref:h,totals:r,setTotalsRowHeight:k});return x.createElement(Wz,{ref:p,width:y.width,height:y.height,onScroll:_},x.createElement(_z,{width:M,height:L},x.createElement(Vz,{rect:S},x.createElement(Bz,{rect:S,pageInfo:t,columns:n,ref:f,columResizeHandler:O,allColumnsIconVisibilityStatusRef:v,setHeaderRowHeight:P}),r.atTop?N:null,x.createElement(Tz,{ref:m,rect:S,pageInfo:t,columns:n,headerAndTotalsHeight:R,setInnerBodyHeight:I}),r.atBottom?N:null)))};var Jz=O(Xz);const Zz=()=>{const{theme:e,keyboard:t,translator:r,interactions:n,rect:o,layout:i}=_T(MT,(e=>e.baseProps)),{paginationNeeded:a,totalRowCount:s,totalColumnCount:l,totalPages:u}=_T(MT,(e=>e.tableData)),c=_T(MT,(e=>e.pageInfo)),d=_T(MT,(e=>e.setPage));return x.createElement(aO,{"data-testid":"sn-table",background:e.background},x.createElement(Jz,{pageInfo:c}),x.createElement(oO,{paginationNeeded:a,handleChangePage:e=>{d(e)},pageInfo:c,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:t,translator:r,theme:e,interactions:n,rect:o,layout:i}))};var Qz=O(Zz);var ej={SNTable_Accessibility_Ascending:{id:"SNTable.Accessibility.Ascending",locale:{"de-DE":"Aufsteigend","en-US":"Ascending","es-ES":"Ascendente","fr-FR":"Croissant","it-IT":"Crescente","ja-JP":"昇順","ko-KR":"오름차순","nl-NL":"Oplopend","pl-PL":"Rosnąco","pt-BR":"Crescente","ru-RU":"По возрастанию","sv-SE":"Stigande","tr-TR":"Artan","zh-CN":"升序","zh-TW":"遞增"}},SNTable_Accessibility_ColumnOptions:{id:"SNTable.Accessibility.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбцов","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},SNTable_Accessibility_Descending:{id:"SNTable.Accessibility.Descending",locale:{"de-DE":"Absteigend","en-US":"Descending","es-ES":"Descendente","fr-FR":"Décroissant","it-IT":"Decrescente","ja-JP":"降順","ko-KR":"내림차순","nl-NL":"Aflopend","pl-PL":"Malejąco","pt-BR":"Decrescente","ru-RU":"По убыванию","sv-SE":"Fallande","tr-TR":"Azalan","zh-CN":"降序","zh-TW":"遞減"}},SNTable_Accessibility_NavigationInstructions:{id:"SNTable.Accessibility.NavigationInstructions",locale:{"de-DE":"Verwenden Sie die Pfeiltasten, um zwischen den Tabellenzellen zu navigieren, und die Tabulatortaste, um zu den Paginierungssteuerelementen zu wechseln. Drücken Sie die Leertaste in den Kopfzellen, um das Spaltenmenü zu öffnen, und drücken Sie die Leertaste in den Körperzellen, um eine Auswahl zu treffen. Duch die Auswahl wird der Seiteninhalt aktualisiert. Die vollständige Liste der Navigationssteuerungen finden Sie in der Dokumentation.","en-US":"Use arrow keys to navigate between table cells and tab to move to pagination controls. Press space on header cells to open the column menu, press space on body cells to make selections. Selections will cause content on the page to be updated. The full list of navigation controls can be found in the documentation.","es-ES":"Utilice las teclas de flecha para desplazarse entre las celdas de la tabla y la pestaña a fin de pasar a los controles de paginación. Pulse la barra espaciadora en las celdas del encabezado para abrir el menú de columnas; pulse la barra espaciadora en las celdas del cuerpo para realizar selecciones. Las selecciones harán que se actualice el contenido de la página. Encontrará la lista completa de controles de navegación en la documentación.","fr-FR":"Utilisez les touches fléchées pour naviguer parmi les cellules du tableau et la tabulation pour accéder aux commandes de pagination. Appuyez sur la touche Espace dans les cellules d'en-tête pour ouvrir le menu de la colonne. Appuyez sur Espace dans les cellules de corps pour effectuer une sélection. Les sélections actualiseront le contenu de la page. Vous pouvez consulter la liste complète des commandes de navigation dans la documentation.","it-IT":"Utilizzare i tasti freccia per navigare tra le celle della tabella e il tasto TAB per passare ai controlli di paginazione. Premere lo spazio nelle celle dell'intestazione per aprire il menu della colonna; premere lo spazio nelle celle del corpo per effettuare selezioni. Le selezioni determineranno l'aggiornamento del contenuto della pagina. È possibile trovare l'elenco completo dei controlli di navigazione nella documentazione.","ja-JP":"矢印キーで表のセル間を移動し、タブ キーでページネーション コントロールに移動します。ヘッダー セルでスペースを押すと列メニューが開き、ボディ セルでスペースを押すと選択ができます。選択によって、ページのコンテンツが更新されます。ナビゲーション コントロールの全リストは、ドキュメントをご覧ください。","ko-KR":"화살표 키를 사용하여 표 셀 사이를 탐색하고, 탭을 사용하여 페이지 번호 컨트롤로 이동하십시오. 헤더 셀에서 스페이스바를 눌러 열 메뉴를 열고, 본문 셀에서 스페이스바를 눌러 선택하십시오. 선택하면 페이지의 콘텐츠가 업데이트됩니다. 전체 탐색 컨트롤 목록은 설명서에서 확인할 수 있습니다.","nl-NL":"Gebruik de pijltjestoetsen om te navigeren tussen tabelcellen en de Tab-toets om naar besturingselementen voor paginering te gaan. Druk op de spatietoets in koptekstcellen om het kolommenu te openen, druk op de spatietoets in hoofdtekstcellen om selecties te maken. Door selecties te maken, wordt de inhoud op de pagina bijgewerkt. De volledige lijst met besturingselementen voor navigatie vindt u in de documentatie.","pl-PL":"Użyj klawiszy strzałek do poruszania się między komórkami tabeli oraz tabulatora do poruszania się po elementach sterujących stronami. Naciśnij klawisz spacji na komórkach nagłówka, aby otworzyć menu kolumny i naciśnij go na komórkach treści, aby dokonać wyborów. Wybory będą powodować aktualizację zawartości na stronie. Pełną listę nawigacyjnych elementów sterujących można znaleźć w dokumentacji.","pt-BR":"Use as teclas de seta para navegar entre as células da tabela e a tecla Tab para mover para os controles de paginação. Pressione espaço nas células do cabeçalho para abrir o menu da coluna, pressione espaço nas células do corpo para fazer seleções. As seleções farão com que o conteúdo da página seja atualizado. A lista completa de controles de navegação pode ser encontrada na documentação.","ru-RU":"Используйте клавиши со стрелками для перемещения между ячейками таблицы и клавишу табуляции для перехода к элементам управления разбивки на страницы. Нажмите пробел на ячейках заголовка, чтобы открыть меню столбца; нажмите пробел на ячейках тела, чтобы сделать выборки. Выборки приведут к обновлению содержимого страницы. Полный перечень элементов управления навигацией см. в документации.","sv-SE":"Använd piltangenterna för att navigera mellan tabellcellerna och tabbtangenten för att flytta till pagineringskontrollerna. Tryck på mellanslag på rubrikceller för att öppna kolumnmenyn och tryck på mellanslag på innehållsceller för att göra urval. Med urval kommer innehåll på sidan att uppdateras. Den fullständiga listan med navigeringsreglage.","tr-TR":"Tablo hücreleri arasında gezinmek için ok tuşlarını, sayfalandırma kontrollerine geçmek için sekmeyi kullanın. Sütun menüsünü açmak için başlık hücrelerinde boşluğa basın, seçim yapmak için gövde hücrelerinde boşluğa basın. Seçimler, sayfadaki içeriğin güncellenmesine neden olur. Navigasyon kontrollerinin tam listesi belgede bulunabilir.","zh-CN":"使用箭头键在表格单元格之间导航,使用 tab 键移动到分页控件。按标题单元格上的空间打开列菜单,按正文单元格上的空间进行选择。选择将导致页面上的内容更新。导航控件的完整列表可以在文档中找到。","zh-TW":"使用方向鍵以在表格儲存格之間導覽,並使用 Tab 以前往分頁控制。按下標頭儲存格的空白處可開啟欄功能表,按下正文儲存格的空白處可進行選取。選項將會造成更新頁面上的內容。導覽控制的完整清單可見於文件中。"}},SNTable_Accessibility_RowsAndColumns:{id:"SNTable.Accessibility.RowsAndColumns",locale:{"de-DE":"Es werden {0} Zeilen und {1} Spalten angezeigt.","en-US":"Showing {0} rows and {1} columns.","es-ES":"Mostrando {0} filas y {1} columnas.","fr-FR":"Affichage de {0} lignes et de {1} colonnes.","it-IT":"Visualizzazione di {0} righe e {1} colonne.","ja-JP":"{0} 行 {1} 列を表示しています。","ko-KR":"{0}개의 행과 {1}개의 열을 표시합니다.","nl-NL":"{0} rijen en {1} kolommen worden getoond.","pl-PL":"Wyświetlane wiersze: {0} i kolumny: {1}.","pt-BR":"Mostrando {0} linhas e {1} colunas.","ru-RU":"Показаны строки ({0}) и столбцы ({1}).","sv-SE":"Visar {0} rader och {1} kolumner.","tr-TR":"{0} satır ve {1} sütun gösteriliyor.","zh-CN":"正在显示 {0} 行,{1} 列。","zh-TW":"顯示 {0} 列和 {1} 欄。"}},SNTable_MenuItem_AdjustColumnSize:{id:"SNTable.MenuItem.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},SNTable_MenuItem_ClearSelections:{id:"SNTable.MenuItem.ClearSelections",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Selecties wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},SNTable_MenuItem_Search:{id:"SNTable.MenuItem.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},SNTable_MenuItem_SelectAll:{id:"SNTable.MenuItem.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},SNTable_MenuItem_SelectAlternative:{id:"SNTable.MenuItem.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},SNTable_MenuItem_SelectExcluded:{id:"SNTable.MenuItem.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},SNTable_MenuItem_SelectPossible:{id:"SNTable.MenuItem.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},SNTable_MenuItem_Selections:{id:"SNTable.MenuItem.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},SNTable_MenuItem_SortAscending:{id:"SNTable.MenuItem.SortAscending",locale:{"de-DE":"Sortierung in aufsteigender Reihenfolge","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Tri par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},SNTable_MenuItem_SortDescending:{id:"SNTable.MenuItem.SortDescending",locale:{"de-DE":"Sortierung in absteigender Reihenfolge","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Tri par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},SNTable_Pagination_DisplayedRowsLabel:{id:"SNTable.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{1}의 {0}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},SNTable_Pagination_FirstPage:{id:"SNTable.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},SNTable_Pagination_LastPage:{id:"SNTable.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},SNTable_Pagination_NextPage:{id:"SNTable.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},SNTable_Pagination_PageStatusReport:{id:"SNTable.Pagination.PageStatusReport",locale:{"de-DE":"Die Seite wurde geändert. Seite {0} von {1} wird angezeigt.","en-US":"Page has changed. Showing page {0} of {1}.","es-ES":"La página ha cambiado. Mostrando página {0} de {1}.","fr-FR":"La page a changé. Affichage de la page {0} sur {1}.","it-IT":"La pagina è cambiata. Visualizzazione pagina {0} di {1}.","ja-JP":"ページが変更されました。{1} ページ中の {0} ページ目を表示しています。","ko-KR":"페이지가 변경되었습니다. {1}의 {0} 페이지를 보여 줍니다.","nl-NL":"Pagina is gewijzigd. Pagina {0} van {1} wordt weergeven.","pl-PL":"Strona się zmieniła Wyświetlanie strony {0} z {1}.","pt-BR":"A página mudou. Mostrando página {0} de {1}.","ru-RU":"Страница изменилась. Показана страница {0} из {1}.","sv-SE":"Sidan har ändrats. Visar sida {0} av {1}.","tr-TR":"Sayfa değişti. Sayfa {0} / {1} gösteriliyor.","zh-CN":"页面已更改。显示页面 {0} / {1}。","zh-TW":"頁面已變更。顯示第 {0} 頁,共 {1} 頁。"}},SNTable_Pagination_PreviousPage:{id:"SNTable.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},SNTable_Pagination_RowsPerPage:{id:"SNTable.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},SNTable_Pagination_RowsPerPageChange:{id:"SNTable.Pagination.RowsPerPageChange",locale:{"de-DE":"Zeilen pro Seite wurden in {0} geändert. Jetzt wird die erste Seite angezeigt.","en-US":"Rows per page has changed to {0}. Now showing the first page.","es-ES":"El número de filas por página ha cambiado a {0}. Mostrando ahora la primera página.","fr-FR":"Le nombre de lignes par page a été remplacé par {0}. Affichage en cours de la première page.","it-IT":"Le righe per pagina sono cambiate a {0}. Viene ora mostrata la prima pagina.","ja-JP":"ページあたりの行数が {0} に変更されました。現在、最初のページを表示しています。","ko-KR":"페이지당 행 수가 {0}(으)로 변경되었습니다. 이제 첫 페이지를 보여 줍니다.","nl-NL":"Aantal rijen per pagina is gewijzigd naar {0}. De eerste pagina wordt nu weergegeven.","pl-PL":"Liczba wierszy na stronę została zmieniona na {0}. Wyświetlana jest pierwsza strona.","pt-BR":"Linhas por página mudou para {0}. Agora mostrando a primeira página.","ru-RU":"Количество строк на странице изменилось на {0}. Теперь отображается первая страница.","sv-SE":"Rader per sida har ändrats till {0}. Nu visas första sidan.","tr-TR":"Sayfa başına satır sayısı {0} olarak değiştirildi. Şimdi ilk sayfa gösteriliyor.","zh-CN":"每页行数已更改为 {0}。现在显示第一页。","zh-TW":"每頁列數已變更為 {0}。現在顯示第一頁。"}},SNTable_Pagination_SelectPage:{id:"SNTable.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}},SNTable_SelectionLabel_DeselectedValue:{id:"SNTable.SelectionLabel.DeselectedValue",locale:{"de-DE":"Die Werteauswahl ist aufgehoben.","en-US":"Value is deselected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur est désélectionnée.","it-IT":"Il valore è deselezionato.","ja-JP":"値が選択解除されました。","ko-KR":"값이 선택 취소되었습니다.","nl-NL":"Selectie van waarde opgeheven.","pl-PL":"Wartość nie jest zaznaczona.","pt-BR":"O valor está desmarcado.","ru-RU":"Выбор значения отменен.","sv-SE":"Val av värde har tagits bort.","tr-TR":"Değer seçimi iptal edildi.","zh-CN":"值已取消选择。","zh-TW":"值已取消選取。"}},SNTable_SelectionLabel_ExitedSelectionMode:{id:"SNTable.SelectionLabel.ExitedSelectionMode",locale:{"de-DE":"Die Werteauswahl ist aufgehoben. Auswahlmodus beendet.","en-US":"Value is deselected. Exited selection mode.","es-ES":"El valor no está seleccionado. Salió del modo de selección.","fr-FR":"La valeur est désélectionnée. Mode de sélection désactivé.","it-IT":"Il valore è deselezionato. Uscita dalla modalità selezione.","ja-JP":"値が選択解除されました。選択モードを終了しました。","ko-KR":"값이 선택 취소되었습니다. 선택 모드를 종료했습니다.","nl-NL":"Selectie van waarde opgeheven. Selectiemodus afgesloten.","pl-PL":"Wartość nie jest zaznaczona. Zakończono tryb wyboru.","pt-BR":"O valor está desmarcado. Modo de seleção encerrado.","ru-RU":"Выбор значения отменен. Выполнен выход из режима выборки.","sv-SE":"Val av värde har tagits bort. Lämnade urvalsläge.","tr-TR":"Değer seçimi iptal edildi. Seçim modundan çıkıldı.","zh-CN":"值已取消选择。已退出选择模式。","zh-TW":"值已取消選取。輸入的選取模式。"}},SNTable_SelectionLabel_NotSelectedValue:{id:"SNTable.SelectionLabel.NotSelectedValue",locale:{"de-DE":"Wert ist nicht ausgewählt.","en-US":"Value is not selected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur n'est pas sélectionnée.","it-IT":"Il valore non è selezionato.","ja-JP":"値が選択されていません。","ko-KR":"값이 선택되지 않았습니다.","nl-NL":"Waarde is niet geselecteerd.","pl-PL":"Wartość nie jest wybrana.","pt-BR":"O valor não está selecionado.","ru-RU":"Значение не выбрано.","sv-SE":"Värdet är inte valt.","tr-TR":"Değer seçilmedi.","zh-CN":"未选择值。","zh-TW":"未選取值。"}},SNTable_SelectionLabel_OneSelectedValue:{id:"SNTable.SelectionLabel.OneSelectedValue",locale:{"de-DE":"Aktuell ist ein Wert ausgewählt.","en-US":"Currently there is one selected value.","es-ES":"Actualmente hay un valor seleccionado.","fr-FR":"Actuellement, une valeur est sélectionnée.","it-IT":"Attualmente è presente un solo valore selezionato.","ja-JP":"現在、値が 1 つ選択されています。","ko-KR":"현재 하나의 값이 선택되었습니다.","nl-NL":"Er is momenteel één waarde geselecteerd.","pl-PL":"Aktualnie jest jedna wybrana wartość.","pt-BR":"Atualmente, há um valor selecionado.","ru-RU":"В настоящее время выбрано одно значение.","sv-SE":"Just nu är ett värde valt.","tr-TR":"Şu anda seçili bir değer var.","zh-CN":"当前有一个已选择的值。","zh-TW":"目前有一個選取的值。"}},SNTable_SelectionLabel_SelectedValue:{id:"SNTable.SelectionLabel.SelectedValue",locale:{"de-DE":"Wert ist ausgewählt.","en-US":"Value is selected.","es-ES":"El valor está seleccionado.","fr-FR":"La valeur est sélectionnée.","it-IT":"Il valore è selezionato.","ja-JP":"値が選択されました。","ko-KR":"값이 선택되었습니다.","nl-NL":"Waarde is geselecteerd.","pl-PL":"Wartość jest wybrana.","pt-BR":"O valor está selecionado.","ru-RU":"Значение выбрано.","sv-SE":"Värdet är valt.","tr-TR":"Değer seçildi.","zh-CN":"已选择值。","zh-TW":"已選取值。"}},SNTable_SelectionLabel_SelectedValues:{id:"SNTable.SelectionLabel.SelectedValues",locale:{"de-DE":"Aktuell sind {0} Werte ausgewählt.","en-US":"Currently there are {0} selected values.","es-ES":"Actualmente hay {0} valores seleccionados.","fr-FR":"Actuellement, {0} valeurs sont sélectionnées.","it-IT":"Attualmente sono presenti {0} valori selezionati.","ja-JP":"現在、値が {0} つ選択されています。","ko-KR":"현재 {0}개의 값이 선택되었습니다.","nl-NL":"Er zijn momenteel {0} geselecteerde waarden.","pl-PL":"Liczba aktualnie wybranych wartości: {0}.","pt-BR":"Atualmente, há {0} valores selecionados.","ru-RU":"В настоящее время выбраны значения: {0}.","sv-SE":"Just nu är {0} värden valda.","tr-TR":"Şu anda seçili {0} değer var.","zh-CN":"当前有 {0} 个已选择的值。","zh-TW":"目前有 {0} 個選取的值。"}},SNTable_SelectionLabel_SelectionsConfirmed:{id:"SNTable.SelectionLabel.SelectionsConfirmed",locale:{"de-DE":"Auswahl bestätigt.","en-US":"Selections confirmed.","es-ES":"Confirmadas las selecciones.","fr-FR":"Sélections confirmées.","it-IT":"Selezioni confermate.","ja-JP":"選択が確定されました。","ko-KR":"선택 내용이 확인되었습니다.","nl-NL":"Selecties bevestigd.","pl-PL":"Potwierdzono wybory.","pt-BR":"Seleções confirmadas.","ru-RU":"Выборки подтверждены.","sv-SE":"Valen har bekräftats.","tr-TR":"Seçimler onaylandı.","zh-CN":"选择已确认。","zh-TW":"選項已確認。"}},SNTable_SelectionLabel_selected:{id:"SNTable.SelectionLabel.selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбрано","sv-SE":"Urval","tr-TR":"Seçildi","zh-CN":"已选择","zh-TW":"已選取"}},SNTable_SortLabel_PressSpaceToSort:{id:"SNTable.SortLabel.PressSpaceToSort",locale:{"de-DE":"Drücken Sie die Leertaste, um nach dieser Spalte zu sortieren","en-US":"Press space to sort on this column","es-ES":"Pulse la barra espaciadora para ordenar en esta columna.","fr-FR":"Appuyez sur Espace pour trier en fonction de cette colonne.","it-IT":"Premere la barra spaziatrice per ordinare questa colonna","ja-JP":"スペース キーを押して、この列をソートします","ko-KR":"이 열을 정렬하려면 스페이스바를 누르십시오.","nl-NL":"Druk op de spatiebalk om sorteren in deze kolom in te schakelen","pl-PL":"Naciśnij spację, aby posortować według tej kolumny","pt-BR":"Pressione espaço para classificar por esta coluna","ru-RU":"Нажмите пробел, чтобы отсортировать по этому столбцу","sv-SE":"Tryck på Blanksteg om du vill sortera efter den här kolumnen","tr-TR":"Bu sütunda sıralama yapmak için boşluk tuşuna basın.","zh-CN":"按下空格键以在该列上排序。","zh-TW":"在此欄按下空格鍵以進行排序"}},SNTable_SortLabel_SortedAscending:{id:"SNTable.SortLabel.SortedAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortiert.","en-US":"Sorted in ascending order.","es-ES":"Ordenado por orden ascendente.","fr-FR":"Tri dans l'ordre croissant.","it-IT":"Ordinato in ordine crescente.","ja-JP":"昇順で並べ替えられます。","ko-KR":"오름차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in oplopende volgorde.","pl-PL":"Posortowane rosnąco.","pt-BR":"Classificado em ordem crescente.","ru-RU":"Сортировка в порядке возрастания.","sv-SE":"Sorterat i stigande ordning.","tr-TR":"Artan düzende sıralanmıştır.","zh-CN":"已按升序排列。","zh-TW":"已依遞增順序排序。"}},SNTable_SortLabel_SortedDescending:{id:"SNTable.SortLabel.SortedDescending",locale:{"de-DE":"In absteigender Reihenfolge sortiert.","en-US":"Sorted in descending order.","es-ES":"Ordenado por orden descendente.","fr-FR":"Tri dans l'ordre décroissant.","it-IT":"Ordinato in ordine decrescente.","ja-JP":"降順で並べ替えられます。","ko-KR":"내림차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in aflopende volgorde.","pl-PL":"Posortowane malejąco.","pt-BR":"Classificado em ordem decrescente.","ru-RU":"Сортировка в порядке убывания.","sv-SE":"Sorterat i fallande ordning.","tr-TR":"Azalan düzende sıralanmıştır.","zh-CN":"已按降序排列。","zh-TW":"已依遞減順序排序。"}}};const tj=(e,r)=>t((()=>(function(e){const t="SNTable.Accessibility.RowsAndColumns";e.get(t)===t&&Object.keys(ej).forEach((t=>{e.add(ej[t])}))}(r),((e,t)=>{let r;return n=>{let{keys:o,politeness:i="polite"}=n;const a=o.map((e=>{if(Array.isArray(e)){const[r,...n]=e;return t.get(r,n)}return t.get(e)})).join(" "),s=e.querySelector(`.${GI.First}`),l=e.querySelector(`.${GI.Second}`);if(!s||!l)return void console.error("could not find aria-live elements, which means accessibility is not working properly");let u;r===GI.First?(u=l,r=GI.Second):(u=s,r=GI.First),u.innerHTML=u.innerHTML.endsWith(" ")?a:`${a} `,u.setAttribute("aria-live",i)}})(e,r))),[e,r.language()]),rj={page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]},nj=e=>{const{app:t,model:n,rootElement:a,layout:s,translator:l,reactRoot:u,isFontLoaded:c,viewService:d,env:p}=e,{direction:f,footerContainer:h}=r(),m=LR(s,d),g=tj(a,l),[b,v]=o(((e,t)=>MR(e,t)?{page:t.page||rj.page,rowsPerPage:t.rowsPerPage||rj.rowsPerPage,rowsPerPageOptions:rj.rowsPerPageOptions}:rj)(s,d)),[y,S]=o(!0);y||S(!0);const[C,E]=eS((async()=>m?async function(e,t,r,n,o,i,a,s){const{page:l,rowsPerPage:u,rowsPerPageOptions:c}=r,d=t.qHyperCube.qSize.qcx,p=t.qHyperCube.qSize.qcy,f=Math.ceil(p/u),h=o.visibleTop??l*u,m=o.visibleHeight??Math.min(u,p-h);if(l>0&&h>=p)return n({...r,page:0}),null;if(m*d>CR)return n({...r,rowsPerPage:ER(d,c),page:0}),null;const g=p>10,b=wR(t,o),v=IR(t,a,s),y=!!t.snapshotData,x=await(async(e,t,r)=>{if(t.snapshotData)return t.qHyperCube.qDataPages;const n=t.qHyperCube.qDataPages.at(0),o=n?.qArea;return n&&o?.qLeft===r.qLeft&&o.qTop===r.qTop&&o.qWidth===r.qWidth&&o.qHeight>=r.qHeight?[{...n,qMatrix:n.qMatrix.slice(0,r.qHeight)}]:e&&"getHyperCubeData"in e?e.getHyperCubeData("/qHyperCubeDef",[r]):[]})(e,t,{qLeft:0,qTop:h,qHeight:m,qWidth:d});y||(o.qTop=h,o.qHeight=m,o.rowsPerPage=r.rowsPerPage,o.page=r.page);const S=x.at(0)?.qMatrix.map(((e,r)=>{const n=[];return v.forEach(((o,l)=>{const u=e[l],c=SR(o.isDim,u,t),d=!o.isDim&&u.qIsNull,p=d?vw(c):bw(u);n[l]={id:hw(),...u,align:kR(p,o.bodyTextAlign,s,a),rowIdx:r+h,colIdx:o.colIdx,pageRowIdx:r,pageColIdx:l,selectionColIdx:o.selectionColIdx,isSelectable:o.isDim&&!o.isLocked,isLastRow:r===m-1,isNumeric:p,isNull:(!d||!p)&&xR(u,o.isDim),representation:yR({cell:u,representationProperties:o.representation,attrExprInfoIndex:o.qAttrExprInfoIndex,env:i,conditionalColoring:o.conditionalColoring,miniChartOnMeasure:o.qMiniChart,getText:()=>d?c:u.qText,direction:s,enabledFeatures:{[yE.Image]:i.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[yE.Indicator]:!0,[yE.MiniChart]:!0}})}})),n}))??[];return{totalColumnCount:d,totalRowCount:p,totalPages:f,paginationNeeded:g,totalsPosition:b,columns:v,rows:S}}(n,s,b,v,d,p,y,f):null),[s,b,n,m,f]);i((()=>{m&&e.model&&e.changeSortOrder&&C&&c&&!E&&function(e,t){const{direction:r,...n}=e,o=OT(r);t.render(x.createElement(Kd,{stylisPlugins:"rtl"===r?[$I]:void 0},x.createElement(rI,{theme:o},x.createElement(TT,e,x.createElement(RN,n)))))}({...e,model:e.model,changeSortOrder:e.changeSortOrder,tableData:C,pageInfo:b,setPageInfo:v,direction:f,footerContainer:h,announce:g},u)}),[g,t,f,h,c,b,u,e,m,C,E])},oj=e=>{const r=t((()=>oS(e)),[e]);return i((()=>()=>{r.unmount()}),[r]),r},ij=(e,r)=>t((()=>((e,t)=>{if(t)return async(r,n)=>{if(!("getEffectiveProperties"in t))return;const{isDim:o,colIdx:i,qReverseSort:a,sortDirection:s,isActivelySorted:l}=r,u=o?i:i-e,c=await t.getEffectiveProperties(),d=c.qHyperCubeDef.qInterColumnSortOrder,p=[],f=n!==s||l;if(!o){const e=c.qHyperCubeDef.qMeasures.at(u)?.qSortBy;void 0===e?.qSortByNumeric&&p.push({qPath:`/qHyperCubeDef/qMeasures/${u}/qSortBy`,qOp:"Replace",qValue:JSON.stringify({...e,qSortByNumeric:"A"===s?1:-1})})}l||(d.splice(d.indexOf(i),1),d.unshift(i),p.push({qPath:"/qHyperCubeDef/qInterColumnSortOrder",qOp:"Replace",qValue:`[${d.join(",")}]`})),f&&p.push({qPath:`/qHyperCubeDef/${o?"qDimensions":"qMeasures"}/${u}/qDef/qReverseSort`,qOp:"Replace",qValue:(!a).toString()}),t.applyPatches(p,!0)}})(e.qDimensionInfo.length,r)),[e.qDimensionInfo.length,r]);const aj=e=>{let{model:t,layout:r,shouldRender:n,page:o}=e;const[i,a]=eS((async()=>{if(n&&t)return(async(e,t,r)=>{const{qDataPages:n}=t.qHyperCube;if(0!==r||0===n.length){const n=r*Math.min(KD,t.qHyperCube.qSize.qcy);if(e&&"getHyperCubeData"in e)return e.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:n,qWidth:50,qHeight:100}])}return[...n]})(t,r,o)}),[t,r,o]);return{initialDataPages:i,isLoading:a}},sj=e=>{const{layout:r,model:n,keyboard:a,interactions:s,reactRoot:l,isFontLoaded:u,viewService:c,direction:d}=e,p=!LR(r,c),[f,h]=o(!1);f&&h(!1);const m=t((()=>function(e,t,r,n,o){const i=IR(e,o,n),a=wR(e,r),s=e.qHyperCube.qSize.qcy,l=Math.min(KD,s),u=s>KD&&!!t.active;return{totalsPosition:a,columns:i,rows:[],totalRowCount:s,totalColumnCount:e.qHyperCube.qSize.qcx,totalPages:Math.ceil(s/l),paginationNeeded:u}}(r,s,c,d,f)),[r,s,c,d,f]),{pageInfo:g,setPage:b}=((e,r)=>{const[n,i]=o(0),a=Math.min(KD,e.qHyperCube.qSize.qcy),s=t((()=>({page:n,rowsPerPage:a,rowsPerPageOptions:[]})),[a,n]);if(r){const t=Math.floor(e.qHyperCube.qSize.qcy/KD);t<n&&i(t)}return{pageInfo:s,setPage:i}})(r,p),{initialDataPages:v,isLoading:y}=aj({model:n,layout:r,page:g.page,shouldRender:p});i((()=>{p&&a.active&&a.blur?.(!1)}),[a,p]),i((()=>{p&&e.model&&e.changeSortOrder&&v&&!y&&u&&function(e,t){const{direction:r}=e,n=OT(r);t.render(x.createElement(x.StrictMode,null,x.createElement(rI,{theme:n},x.createElement(TT,e,x.createElement(Qz,null)))))}({...e,model:e.model,changeSortOrder:e.changeSortOrder,tableData:m,pageInfo:g,setPage:b,initialDataPages:v},l)}),[v,u,y,g,l,e,b,p,m])},lj={version:JSON.stringify("6.0.13"),qHyperCubeDef:{qDimensions:[],qMeasures:[],qColumnOrder:[],qInitialDataFetch:[{qWidth:50,qHeight:100}]},showTitles:!0,enableChartExploration:!1,title:"",subtitle:"",footnote:"",totals:{show:!0,position:"noTotals"},usePagination:!1,components:[]};var uj=e=>({properties:{initial:lj},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}}]},importProperties:e=>pE({...e}),exportProperties:aE,exploration:fE});function cj(e,t){const r=e.getElementsByClassName("sn-table-container")[0];if(!r)return{};const n=r.getBoundingClientRect(),o=e.getElementsByClassName("sn-table-head-row")[0],i=o?.getBoundingClientRect()??{height:0},a=e.getElementsByClassName("sn-table-totals-row")[0],s=a?.getBoundingClientRect()??{height:0},l=e.getElementsByClassName("sn-table-data-row"),u={top:n.y+i.height+(t.atTop?s.height:0),bottom:n.y+n.height-(t.atBottom?s.height:0)},c=((e,t)=>{if(!e)return-1;for(let r=0;r<e.length;r++)if(e[r].getBoundingClientRect().bottom>t.top)return r;return-1})(l,u),d=((e,t)=>{if(!e)return-1;for(let r=e.length-1;r>-1;r--){const n=e[r].getBoundingClientRect();if(t.bottom>n.top)return r}return-1})(l,u),p=((e,t,r)=>{if(!e||0===e.length||r<0)return 0;const n=e[r].getBoundingClientRect();return Math.max(t.top-n.top,0)})(l,u,c);return{visibleRowStartIndex:c,visibleRowEndIndex:d,rowPartialHeight:p}}const dj=(e,t)=>{if(t)for(let r=0;r<t.length;r++){const n=t[r].getAttribute("rowindex");if(n&&parseInt(n,10)===e)return t[r]}},pj=(e,t,r)=>{if(!e)return!1;const n=e.y+e.height/2;return n>=t&&n<=r};const fj=(e,t,r,n)=>{if(e<0)return 0;const o=r.qHyperCube.qSize.qcy,i=n.rowsPerPage||rj.rowsPerPage,a=n.viewState?.isMultiPage?0:3;return Math.min(o,i,e-t+1+a)},hj=(e,t,r)=>{if(t.viewState&&!t.viewState.isMultiPage)return t.viewState;const n=wR(e,t);if(LR(e,t)){const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1,rowPartialHeight:a}=cj(r,n);return{rowPartialHeight:a,scrollLeft:t.scrollLeft,visibleTop:t.qTop+o,visibleHeight:fj(i,o,e,t),rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}}const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1}=function(e,t){const r=e.querySelector(".sn-table-body"),n=r?.getBoundingClientRect(),o=r?.querySelectorAll(".sn-table-body .sn-table-cell");if(!o||!n)return{};const{scrollTopRatio:i=0,visibleTop:a=0,visibleHeight:s=0,page:l=0,rowsPerPage:u=0}=t,c=l*u,d=a-c,p=d+s-1,f=dj(d,o),h=f?.getBoundingClientRect();if(!f||!h)return{};const m=n.y;if(1-i<.001)return{visibleRowStartIndex:d+(h.y>=m-4?0:1)+c,visibleRowEndIndex:p+c};const g=n.y+n.height,b=(pj(h,m,g)?d:d+1)+c;let v=p+c;const y=dj(p,o),x=y?.getBoundingClientRect();return y&&x&&(pj(x,m,g)||(v=p-1+c)),{visibleRowStartIndex:b,visibleRowEndIndex:v}}(r,t);return{scrollLeft:t.scrollLeft,visibleLeft:t.visibleLeft,visibleWidth:t.visibleWidth,visibleTop:o,visibleHeight:fj(i,o,e,t),scrollTopRatio:t.scrollTopRatio,rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}},mj=e=>{let{layout:t,viewService:r,model:n,rootElement:o,contentRect:i}=e;u((async e=>{const a=e;if(!a.snapshotData||!n||a.snapshotData.content)return a;if("getHyperCubeData"in n){const{rowPartialHeight:e,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h}=hj(t,r,o);a.qHyperCube.qDataPages=await n.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:d,qWidth:t.qHyperCube.qSize.qcx,qHeight:p}]),a.snapshotData.content={rowPartialHeight:e,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h,size:{width:i.width,height:i.height},estimatedRowHeight:r.estimatedRowHeight}}return a})),c((()=>({getViewState:()=>hj(t,r,o)})),[t,r,o])},gj=e=>{const{viewState:n}=r();return t((()=>((e,t)=>({qTop:0,qHeight:0,rowPartialHeight:t?.content?.rowPartialHeight??0,visibleTop:t?.content?.visibleTop??e?.visibleTop,visibleHeight:t?.content?.visibleHeight??e?.visibleHeight,scrollLeft:t?.content?.scrollLeft??e?.scrollLeft??0,scrollTopRatio:t?.content?.scrollTopRatio??e?.scrollTopRatio,rowsPerPage:t?.content?.rowsPerPage??e?.rowsPerPage,page:t?.content?.page??e?.page,viewState:e,estimatedRowHeight:t?.content?.estimatedRowHeight??0}))(n,e.snapshotData)),[n,e.snapshotData,e.usePagination])},bj=e=>e.getStyle("","","object.straightTableV2.backgroundColor"),vj=e=>e.getStyle("object","straightTableV2","backgroundColor")}}}));
|
|
123
|
+
*/!function(e,t){var r;function n(e,t){var r=[],n=0;function o(e){return r.push(e),t}function i(){return r[n++]}return{tokenize:function(t){return t.replace(e,o)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),i)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",i="direction\\s*:\\s*",a="['\"]?\\s*",s="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="(?:[_a-z0-9-]|"+r+"|"+u+")",d=o+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+r+"|"+u+")")+c+"*")+")?",p="((?:-?"+d+")|(?:inherit|auto))",f="(#?"+c+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",h="(?:[!#$%&*-~]|"+r+"|"+u+")*?",m="(?![a-zA-Z])",g="(?!("+c+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",b="(?!"+h+a+"\\))",v="(?="+h+a+"\\))",y="(\\s*(?:!important\\s*)?[;}])",x=/`TMP`/g,S=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),C=new RegExp("("+l+g+"[^;}]+;?)","gi"),w=new RegExp("("+l+"[^\\}]*?})","gi"),E=new RegExp("("+i+")ltr","gi"),R=new RegExp("("+i+")rtl","gi"),A=new RegExp(s+"(left)"+m+b+g,"gi"),P=new RegExp(s+"(right)"+m+b+g,"gi"),k=new RegExp(s+"(left)"+v,"gi"),I=new RegExp(s+"(right)"+v,"gi"),M=new RegExp(s+"(ltr)"+v,"gi"),L=new RegExp(s+"(rtl)"+v,"gi"),D=new RegExp(s+"([ns]?)e-resize","gi"),T=new RegExp(s+"([ns]?)w-resize","gi"),_=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+y,"gi"),O=new RegExp("((?:-color|border-style)\\s*:\\s*)"+f+"(\\s+)"+f+"(\\s+)"+f+"(\\s+)"+f+y,"gi"),q=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),N=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),j=new RegExp("(border-radius\\s*:\\s*)"+p+"(?:(?:\\s+"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?)?(?:(?:(?:\\s*\\/\\s*)"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?(?:\\s+"+p+")?)?"+y,"gi"),z=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+p,"gi"),F=new RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+f,"gi"),H=new RegExp("(text-shadow\\s*:\\s*)"+f+"(\\s*)"+p,"gi"),$=new RegExp("(text-shadow\\s*:\\s*)"+p,"gi"),B=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+p+"(\\s*\\))","gi"),W=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+p+"((?:\\s*,\\s*"+p+"){0,2}\\s*\\))","gi");function V(e,t,r){var n,o;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(o=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(o)+"%"):r=100-parseFloat(r)+"%"),t+r}function G(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function U(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter((function(e){return e})),o=r.slice(6,10).filter((function(e){return e})),i=r[10]||"";return t+(o.length?G(n)+" / "+G(o):G(n))+i}function Y(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function K(e,t,r){return t+Y(r)}function X(e,t,r,n,o){return t+r+Y(n)+o}function J(e,t,r,n,o){return t+r+n+Y(o)}return{transform:function(r,o){var i=new n(C,"`NOFLIP_SINGLE`"),a=new n(w,"`NOFLIP_CLASS`"),s=new n(S,t);return r=s.tokenize(a.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(M,"$1"+e).replace(L,"$1ltr").replace(x,"rtl")),o.transformEdgeInUrl&&(r=r.replace(k,"$1"+e).replace(I,"$1left").replace(x,"right")),r=r.replace(E,"$1"+e).replace(R,"$1ltr").replace(x,"rtl").replace(A,"$1"+e).replace(P,"$1left").replace(x,"right").replace(D,"$1$2"+e).replace(T,"$1$2e-resize").replace(x,"w-resize").replace(j,U).replace(z,K).replace(F,J).replace(H,J).replace($,K).replace(B,X).replace(W,X).replace(_,"$1$2$3$8$5$6$7$4$9").replace(O,"$1$2$3$8$5$6$7$4$9").replace(q,V).replace(N,V),r=i.detokenize(a.detokenize(s.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var o;return"object"==typeof t?o=t:(o={},"boolean"==typeof t&&(o.transformDirInUrl=t),"boolean"==typeof n&&(o.transformEdgeInUrl=n)),r.transform(e,o)}:"undefined"!=typeof window&&(window.cssjanus=r)}(nI,nI.exports);var oI=Et(nI.exports),iI="comm",aI="rule",sI="decl",lI=Math.abs,uI=String.fromCharCode;function cI(e){return e.trim()}function dI(e,t,r){return e.replace(t,r)}function pI(e,t,r){return e.indexOf(t,r)}function fI(e,t){return 0|e.charCodeAt(t)}function hI(e,t,r){return e.slice(t,r)}function mI(e){return e.length}function gI(e,t){return t.push(e),e}var bI=1,vI=1,yI=0,xI=0,SI=0,CI="";function wI(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:bI,column:vI,length:a,return:"",siblings:s}}function EI(){return SI=xI>0?fI(CI,--xI):0,vI--,10===SI&&(vI=1,bI--),SI}function RI(){return SI=xI<yI?fI(CI,xI++):0,vI++,10===SI&&(vI=1,bI++),SI}function AI(){return fI(CI,xI)}function PI(){return xI}function kI(e,t){return hI(CI,e,t)}function II(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function MI(e){return cI(kI(xI-1,TI(91===e?e+2:40===e?e+1:e)))}function LI(e){for(;(SI=AI())&&SI<33;)RI();return II(e)>2||II(SI)>3?"":" "}function DI(e,t){for(;--t&&RI()&&!(SI<48||SI>102||SI>57&&SI<65||SI>70&&SI<97););return kI(e,PI()+(t<6&&32==AI()&&32==RI()))}function TI(e){for(;RI();)switch(SI){case e:return xI;case 34:case 39:34!==e&&39!==e&&TI(SI);break;case 40:41===e&&TI(e);break;case 92:RI()}return xI}function _I(e,t){for(;RI()&&e+SI!==57&&(e+SI!==84||47!==AI()););return"/*"+kI(t,xI-1)+"*"+uI(47===e?e:RI())}function OI(e){for(;!II(AI());)RI();return kI(e,xI)}function qI(e){return function(e){return CI="",e}(NI("",null,null,null,[""],e=function(e){return bI=vI=1,yI=mI(CI=e),xI=0,[]}(e),0,[0],e))}function NI(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,w=y;g;)switch(h=v,v=RI()){case 40:if(108!=h&&58==fI(w,d-1)){-1!=pI(w+=dI(MI(v),"&","&\f"),"&\f",lI(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:w+=MI(v);break;case 9:case 10:case 13:case 32:w+=LI(h);break;case 92:w+=DI(PI()-1,7);continue;case 47:switch(AI()){case 42:case 47:gI(zI(_I(RI(),PI()),t,r,l),l),5!=II(h||1)&&5!=II(AI()||1)||!mI(w)||" "===hI(w,-1,void 0)||(w+=" ");break;default:w+="/"}break;case 123*m:s[u++]=mI(w)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(w=dI(w,/\f/g,"")),f>0&&(mI(w)-d||0===m&&47===h)&&gI(f>32?FI(w+";",n,r,d-1,l):FI(dI(w," ","")+";",n,r,d-2,l),l);break;case 59:w+=";";default:if(gI(C=jI(w,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)NI(w,t,C,C,x,i,d,s,S);else{switch(p){case 99:if(110===fI(w,3))break;case 108:if(97===fI(w,2))break;default:c=0;case 100:case 109:case 115:}c?NI(e,C,C,n&&gI(jI(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S):NI(w,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=w="",d=a;break;case 58:d=1+mI(w),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==EI())continue;switch(w+=uI(v),v*m){case 38:b=c>0?1:(w+="\f",-1);break;case 44:s[u++]=(mI(w)-1)*b,b=1;break;case 64:45===AI()&&(w+=MI(RI())),p=AI(),c=d=mI(y=w+=OI(PI())),v++;break;case 45:45===h&&2==mI(w)&&(m=0)}}return i}function jI(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=function(e){return e.length}(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=hI(e,p+1,p=lI(g=a[m])),x=e;v<h;++v)(x=cI(g>0?f[v]+" "+y:dI(y,/&\f/g,f[v])))&&(l[b++]=x);return wI(e,t,r,0===o?aI:s,l,u,c,d)}function zI(e,t,r,n){return wI(e,t,r,iI,uI(SI),hI(e,2,-2),0,n)}function FI(e,t,r,n,o){return wI(e,t,r,sI,hI(e,0,n),hI(e,n+1,-1),n,o)}function HI(e,t,r){switch(e.type){case"@import":case sI:case iI:return e.return=e.return||e.value;case aI:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===iI&&(e.children=e.value)}))}var n=function(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}(Array.prototype.concat(e.children),HI);return mI(n)?e.return=e.value+"{"+n+"}":""}function $I(e,t,r,n){if("@keyframes"===e.type||"@supports"===e.type||e.type===aI&&(!e.parent||"@media"===e.parent.type||e.parent.type===aI)){var o=oI.transform(HI(e));e.children=o?qI(o)[0].children:[],e.return=""}}Object.defineProperty($I,"name",{value:"stylisRTLPlugin"});let BI=function(e){return e.Selected="selected",e.Possible="possible",e.Disabled="disabled",e.Inactive="inactive",e}({}),WI=function(e){return e.Select="Select",e.SelectMouseDown="SelectMouseDown",e.SelectMouseUp="SelectMouseUp",e.SelectMultiAdd="SelectMultiAdd",e.SelectMultiEnd="SelectMultiEnd",e.Reset="Reset",e.Clear="Clear",e.UpdatePageRows="UpdatePageRows",e}({}),VI=function(e){return e.A="ascending",e.D="descending",e}({}),GI=function(e){return e.First="sn-table-announcer-1",e.Second="sn-table-announcer-2",e}({});const UI=[0,0],YI={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},KI=12,XI=14,JI=16,ZI=24,QI=3,eM=300,tM=400,rM=600,nM=700,oM={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function iM(e){return QA(e)}const aM=Gf("MuiBox",["root"]),sM=Ek(),lM=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=vp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(DA);return S.forwardRef((function(e,a){const s=zA(r),l=BA(e),{className:u,component:c="div"}=l,d=xr(l,VA);return Tl.jsx(i,xt({as:c,ref:a,className:$f(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:DR,defaultTheme:sM,defaultClassName:aM.root,generateClassName:Ff.generate}),uM=S.createContext();function cM(e){return Vf("MuiTable",e)}Gf("MuiTable",["root","stickyHeader"]);const dM=["className","component","padding","size","stickyHeader"],pM=eI("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:r}=e;return xt({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":xt({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},r.stickyHeader&&{borderCollapse:"separate"})})),fM="table",hM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTable"}),{className:n,component:o=fM,padding:i="normal",size:a="medium",stickyHeader:s=!1}=r,l=xr(r,dM),u=xt({},r,{component:o,padding:i,size:a,stickyHeader:s}),c=(e=>{const{classes:t,stickyHeader:r}=e;return Uh({root:["root",r&&"stickyHeader"]},cM,t)})(u),d=S.useMemo((()=>({padding:i,size:a,stickyHeader:s})),[i,a,s]);return Tl.jsx(uM.Provider,{value:d,children:Tl.jsx(pM,xt({as:o,role:o===fM?null:"table",ref:t,className:$f(c.root,n),ownerState:u},l))})})),mM=S.createContext();function gM(e){return Vf("MuiTableBody",e)}Gf("MuiTableBody",["root"]);const bM=["className","component"],vM=eI("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),yM={variant:"body"},xM="tbody",SM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableBody"}),{className:n,component:o=xM}=r,i=xr(r,bM),a=xt({},r,{component:o}),s=(e=>{const{classes:t}=e;return Uh({root:["root"]},gM,t)})(a);return Tl.jsx(mM.Provider,{value:yM,children:Tl.jsx(vM,xt({className:$f(s.root,n),as:o,ref:t,role:o===xM?null:"rowgroup",ownerState:a},i))})}));function CM(e){return Vf("MuiTableCell",e)}const wM=Gf("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),EM=["align","className","component","padding","scope","size","sortDirection","variant"],RM=eI("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Tp(r.size)}`],"normal"!==r.padding&&t[`padding${Tp(r.padding)}`],"inherit"!==r.align&&t[`align${Tp(r.align)}`],r.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:r}=e;return xt({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid\n ${"light"===t.palette.mode?dP(lP(t.palette.divider,1),.88):uP(lP(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===r.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===r.variant&&{color:(t.vars||t).palette.text.primary},"footer"===r.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===r.size&&{padding:"6px 16px",[`&.${wM.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===r.padding&&{width:48,padding:"0 0 0 4px"},"none"===r.padding&&{padding:0},"left"===r.align&&{textAlign:"left"},"center"===r.align&&{textAlign:"center"},"right"===r.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===r.align&&{textAlign:"justify"},r.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),AM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableCell"}),{align:n="inherit",className:o,component:i,padding:a,scope:s,size:l,sortDirection:u,variant:c}=r,d=xr(r,EM),p=S.useContext(uM),f=S.useContext(mM),h=f&&"head"===f.variant;let m;m=i||(h?"th":"td");let g=s;"td"===m?g=void 0:!g&&h&&(g="col");const b=c||f&&f.variant,v=xt({},r,{align:n,component:m,padding:a||(p&&p.padding?p.padding:"normal"),size:l||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&p&&p.stickyHeader,variant:b}),y=(e=>{const{classes:t,variant:r,align:n,padding:o,size:i,stickyHeader:a}=e;return Uh({root:["root",r,a&&"stickyHeader","inherit"!==n&&`align${Tp(n)}`,"normal"!==o&&`padding${Tp(o)}`,`size${Tp(i)}`]},CM,t)})(v);let x=null;return u&&(x="asc"===u?"ascending":"descending"),Tl.jsx(RM,xt({as:m,ref:t,className:$f(y.root,o),"aria-sort":x,scope:g,ownerState:v},d))}));function PM(e){return Vf("MuiTableContainer",e)}Gf("MuiTableContainer",["root"]);const kM=["className","component"],IM=eI("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),MM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,i=xr(r,kM),a=xt({},r,{component:o}),s=(e=>{const{classes:t}=e;return Uh({root:["root"]},PM,t)})(a);return Tl.jsx(IM,xt({ref:t,as:o,className:$f(s.root,n),ownerState:a},i))}));function LM(e){return Vf("MuiTableHead",e)}Gf("MuiTableHead",["root"]);const DM=["className","component"],TM=eI("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),_M={variant:"head"},OM="thead",qM=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableHead"}),{className:n,component:o=OM}=r,i=xr(r,DM),a=xt({},r,{component:o}),s=(e=>{const{classes:t}=e;return Uh({root:["root"]},LM,t)})(a);return Tl.jsx(mM.Provider,{value:_M,children:Tl.jsx(TM,xt({as:o,className:$f(s.root,n),ref:t,role:o===OM?null:"rowgroup",ownerState:a},i))})}));function NM(e){return Vf("MuiTableRow",e)}const jM=Gf("MuiTableRow",["root","selected","hover","head","footer"]),zM=["className","component","hover","selected"],FM=eI("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})((e=>{let{theme:t}=e;return{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${jM.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${jM.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:lP(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:lP(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}})),HM="tr",$M=S.forwardRef((function(e,t){const r=iM({props:e,name:"MuiTableRow"}),{className:n,component:o=HM,hover:i=!1,selected:a=!1}=r,s=xr(r,zM),l=S.useContext(mM),u=xt({},r,{component:o,hover:i,selected:a,head:l&&"head"===l.variant,footer:l&&"footer"===l.variant}),c=(e=>{const{classes:t,selected:r,hover:n,head:o,footer:i}=e;return Uh({root:["root",r&&"selected",n&&"hover",o&&"head",i&&"footer"]},NM,t)})(u);return Tl.jsx(FM,xt({as:o,ref:t,className:$f(c.root,n),role:o===HM?null:"row",ownerState:u},s))}));function BM(e){return Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Tl.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}var WM=function(){let{fontSize:e="medium",children:t=null,className:r=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx("i",{style:{fontSize:"small"===e?"16px":"20px",margin:"small"===e?"-2px 0":void 0,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})};function VM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{...e,children:Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Tl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Tl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function GM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{fontSize:"medium",...e,children:Tl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Tl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Tl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function UM(e){return Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Tl.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function YM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Tl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Tl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function KM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{fontSize:"medium",...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Tl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function XM(e){let{className:t}=e;return Tl.jsx(WM,{fontSize:"small",className:t,children:Tl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Tl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Tl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Tl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function JM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tl.jsx(WM,{...e,children:Tl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Tl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Tl.jsx("rect",{stroke:YI.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}const ZM={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:QI,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var QM=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:YI.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:YI.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Tl.jsx(BM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${YI.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`,borderRadius:QI,backgroundColor:YI.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${YI.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:YI.WHITE,color:YI.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:QI},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:YI.GREYSCALE_0_15,backgroundColor:YI.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${YI.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:YI.GREEN_PALE},"&:active":{backgroundColor:YI.GREEN_DARK},"&.Mui-focusVisible":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:YI.BLUE_PALE},"&:active":{backgroundColor:YI.BLUE_DARK},"&.Mui-focusVisible":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:QI,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:YI.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`}},outlined:e=>{let{ownerState:t}=e;return{padding:"7px 16px",borderColor:YI.GREYSCALE_0_15,backgroundColor:YI.GREYSCALE_100_60,"&:active":{backgroundColor:YI.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${YI.MISC_FOCUS_BORDER}`},..."amethyst"===t.color&&{borderColor:YI.PURPLE,"&.Mui-focusVisible":{borderColor:YI.PURPLE,boxShadow:`0 0 0 3px ${UA(YI.PURPLE_PALE,.5)}`}}}},outlinedPrimary:{borderColor:YI.GREEN,"&.Mui-focusVisible":{borderColor:YI.GREEN,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:YI.BLUE,"&.Mui-focusVisible":{borderColor:YI.BLUE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:YI.ORANGE,"&.Mui-focusVisible":{borderColor:YI.ORANGE,boxShadow:`0 0 0 3px ${UA(YI.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:YI.RED,"&.Mui-focusVisible":{borderColor:YI.RED,boxShadow:`0 0 0 3px ${UA(YI.RED_PALE,.5)}`}},contained:e=>{let{ownerState:t}=e;return{color:YI.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===t.color&&{"&:hover":{backgroundColor:YI.PURPLE_PALE},"&:active":{backgroundColor:YI.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:YI.PURPLE_PALE,boxShadow:`0 0 0 3px ${UA(YI.PURPLE_PALE,.5)}`}}}},containedPrimary:{"&:hover":{backgroundColor:YI.GREEN_PALE},"&:active":{backgroundColor:YI.GREEN_DARK},"&.Mui-focusVisible":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:YI.BLUE_PALE},"&:active":{backgroundColor:YI.BLUE_DARK},"&.Mui-focusVisible":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:YI.ORANGE_PALE},"&:active":{backgroundColor:YI.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:YI.ORANGE_PALE,boxShadow:`0 0 0 3px ${UA(YI.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:YI.RED_PALE},"&:active":{backgroundColor:YI.RED_DARK},"&.Mui-focusVisible":{borderColor:YI.RED_PALE,boxShadow:`0 0 0 3px ${UA(YI.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:YI.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:YI.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:QI,boxShadow:`inset 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Tl.jsx(UM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:KI,borderRadius:QI,color:YI.TEXT_PRIMARY,backgroundColor:YI.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:YI.GREYSCALE_0_05,color:YI.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:YI.GREEN,borderColor:YI.GREEN},"&.MuiChip-outlinedInfo":{color:YI.BLUE,borderColor:YI.BLUE},"&.MuiChip-outlinedWarning":{color:YI.ORANGE,borderColor:YI.ORANGE},"&.MuiChip-outlinedError":{color:YI.RED,borderColor:YI.RED}},outlined:{border:`solid 1px ${YI.GREYSCALE_0_15}`,backgroundColor:YI.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:QI,boxShadow:"none",backgroundColor:YI.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:YI.GREEN,borderColor:YI.GREEN},outlinedSecondary:{color:YI.BLUE,borderColor:YI.BLUE},label:{fontFamily:oM.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Tl.jsx(UM,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Tl.jsx(BM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:QI},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:QI,fontSize:XI,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:YI.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${YI.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:YI.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:YI.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_05}}},popupIndicator:{borderRadius:QI,border:`solid 1px ${YI.GREYSCALE_0_15}`,color:YI.GREYSCALE_0_60,marginRight:0,width:ZI,height:ZI},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${YI.GREYSCALE_0_15}`},clearIndicator:{borderRadius:QI,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:YI.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:XI}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:KI,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:YI.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:YI.GREYSCALE_25,fontSize:KI,fontFamily:oM.FONT_FAMILY,fontWeight:rM,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:YI.TEXT_PRIMARY},"&.Mui-error":{color:YI.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:YI.TEXT_SECONDARY,content:"'(optional)'",fontWeight:tM,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:YI.TEXT_SECONDARY,content:"'(required)'",fontWeight:tM,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:XI,lineHeight:"16px",backgroundColor:YI.WHITE,borderRadius:QI,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.GREYSCALE_0_05}`,borderColor:YI.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${YI.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${YI.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.RED}`,boxShadow:`0px 0px 0px 1px ${YI.RED}, inset 0 2px 0 0 ${YI.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${YI.GREYSCALE_0_10}`,borderColor:YI.GREYSCALE_0_10,backgroundColor:YI.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:YI.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:YI.GREYSCALE_0_15,borderRadius:QI,boxShadow:`inset 0 2px 0 0 ${YI.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Tl.jsx(BM,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:YI.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:YI.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:YI.GREYSCALE_0_03},"&:active":{backgroundColor:YI.GREYSCALE_0_10},"&:focus":{backgroundColor:YI.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${YI.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:YI.GREYSCALE_0_30,"&:hover":{backgroundColor:YI.GREYSCALE_0_0,borderColor:YI.GREYSCALE_0_15},"& ~svg":{color:YI.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${YI.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:QI}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:YI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:YI.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:XI,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:KI,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:KI,fontWeight:rM,color:YI.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:rM}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${YI.GREYSCALE_0_15}, 0px 0px 0px 1px ${YI.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Tl.jsx(KM,{}),checkedIcon:Tl.jsx(GM,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:YI.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:YI.GREYSCALE_0_20}},"&.Mui-disabled":{fill:YI.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Tl.jsx(JM,{}),checkedIcon:Tl.jsx(VM,{}),indeterminateIcon:Tl.jsx(YM,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:QI,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:YI.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:YI.GREYSCALE_0_55,color:YI.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:YI.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:YI.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:YI.GREYSCALE_0_55,"&:hover":{color:YI.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:YI.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:YI.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:XI,color:YI.TEXT_PRIMARY,lineHeight:"16px",fontWeight:rM},secondary:{fontSize:KI,color:YI.GREYSCALE_45,fontWeight:tM,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:XI,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:XI,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:YI.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:KI,borderBottom:`solid 1px ${YI.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:XI,color:YI.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:YI.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:YI.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:'url(\'data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A\')',fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:YI.RED}}},"&.Mui-focusVisible":{backgroundColor:YI.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:YI.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:YI.GREEN,height:"24px","&.Mui-disabled":{color:YI.GREYSCALE_0_15}},rail:{backgroundColor:YI.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${YI.GREYSCALE_0_05}`,borderRadius:QI,boxShadow:`inset 0px 0px 0px 1px ${YI.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${YI.GREYSCALE_0_05}`,borderRadius:QI},thumb:{height:"16px",width:"16px",borderRadius:QI,backgroundColor:YI.WHITE,boxShadow:`0px 1px 2px 0px ${YI.GREYSCALE_0_15}, 0px 0px 0px 1px ${YI.GREYSCALE_0_05}`,"&:hover":{borderRadius:QI,boxShadow:`0 2px 4px 0 ${YI.GREYSCALE_0_30}, 0 0 0 1px ${YI.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${YI.GREYSCALE_0_15}, 0 0 0 1px ${YI.GREYSCALE_0_06}, 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${YI.GREYSCALE_0_15}, 0 0 0 1px ${YI.GREYSCALE_0_06}, 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:YI.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:YI.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:YI.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:YI.GREYSCALE_0_15},markLabel:{color:YI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:YI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:YI.WHITE,color:YI.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:YI.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:YI.GREEN_PALE,boxShadow:`0 0 0 3px ${UA(YI.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:YI.BLUE_PALE,boxShadow:`0 0 0 3px ${UA(YI.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:YI.GREYSCALE_0_15,borderRadius:QI},thumb:{height:"16px",width:"16px",borderRadius:QI,backgroundColor:YI.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:XI,fontWeight:rM,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${YI.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${YI.MISC_FOCUS_BORDER}`,backgroundColor:YI.GREYSCALE_0_03,borderRadius:QI},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:YI.GREYSCALE_25,"&.Mui-selected":{color:YI.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:XI,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:QI,"&:hover":{backgroundColor:YI.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${YI.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${YI.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:QI,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:YI.GREYSCALE_0_05},"&:hover":{backgroundColor:YI.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${YI.GREYSCALE_85}`,borderRight:`1px solid ${YI.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:rM,backgroundColor:YI.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:YI.GREYSCALE_98,borderBottom:`1px solid ${YI.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${YI.GREYSCALE_85}`,borderTop:`1px solid ${YI.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:YI.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:YI.GREYSCALE_0_05,"&:hover":{backgroundColor:YI.GREYSCALE_0_03}},"&&:hover":{backgroundColor:YI.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:e=>{let{className:t}=e;return Tl.jsx(XM,{className:t})}},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${YI.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:XI,borderRadius:QI,padding:"7px 16px",border:`1px solid ${YI.GREYSCALE_0_15}`,backgroundColor:YI.GREYSCALE_100_60,color:YI.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:YI.GREYSCALE_0_10,border:`1px solid ${YI.GREYSCALE_0_30}`},"&:hover":{backgroundColor:YI.GREYSCALE_0_03,border:`1px solid ${YI.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:YI.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${YI.MISC_FOCUS_BORDER}`,border:`1px solid ${YI.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:YI.GREYSCALE_25,backgroundColor:YI.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:YI.GREYSCALE_0_10,border:`1px solid ${YI.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:KI,height:24,width:24,padding:7},sizeLarge:{fontSize:JI,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:XI,borderRadius:QI}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:YI.GREYSCALE_20},tooltip:{backgroundColor:YI.GREYSCALE_20,fontSize:KI,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...ZM}:{}});var eL=()=>({mode:"light",primary:{ultraLight:YI.GREEN_ULTRA_LIGHT,light:YI.GREEN_PALE,main:YI.GREEN,dark:YI.GREEN_DARK,extraDark:YI.GREEN_EXTRA_DARK,contrastText:YI.WHITE},secondary:{ultraLight:YI.BLUE_ULTRA_LIGHT,light:YI.BLUE_PALE,main:YI.BLUE,dark:YI.BLUE_DARK,extraDark:YI.BLUE_EXTRA_DARK,contrastText:YI.WHITE},error:{ultraLight:YI.RED_ULTRA_LIGHT,light:YI.RED_PALE,main:YI.RED,dark:YI.RED_DARK,extraDark:YI.RED_EXTRA_DARK,contrastText:YI.WHITE},warning:{ultraLight:YI.ORANGE_ULTRA_LIGHT,light:YI.ORANGE_PALE,main:YI.ORANGE,dark:YI.ORANGE_DARK,extraDark:YI.ORANGE_EXTRA_DARK,contrastText:YI.WHITE},success:{ultraLight:YI.GREEN_ULTRA_LIGHT,light:YI.GREEN_PALE,main:YI.GREEN,dark:YI.GREEN_DARK,extraDark:YI.GREEN_EXTRA_DARK,contrastText:YI.WHITE},info:{ultraLight:YI.BLUE_ULTRA_LIGHT,light:YI.BLUE_PALE,main:YI.BLUE,dark:YI.BLUE_DARK,extraDark:YI.BLUE_EXTRA_DARK,contrastText:YI.WHITE},text:{primary:YI.TEXT_PRIMARY,secondary:YI.TEXT_SECONDARY,disabled:YI.GREYSCALE_0_30},action:{hover:YI.GREYSCALE_0_03,hoverOpacity:.03,selected:YI.GREYSCALE_0_05,selectedOpacity:.05,focus:YI.MISC_FOCUS_BORDER},amethyst:{ultraLight:YI.WHITE,main:YI.PURPLE,light:YI.PURPLE_PALE,dark:YI.PURPLE_DARK,extraDark:YI.GREYSCALE_0_0,contrastText:YI.WHITE},background:{paper:YI.WHITE,default:YI.GREYSCALE_95},divider:YI.GREYSCALE_0_15});var tL=e=>eL();var rL=function(e){const t=((e,t)=>QM(t))(0,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return{components:t,palette:tL(e),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:XI,fontWeightLight:eM,fontWeightRegular:tM,fontWeightMedium:rM,fontWeightBold:nM,htmlFontSize:XI,fontFamily:oM.FONT_FAMILY,button:{fontWeight:rM,fontSize:XI,textTransform:"none"},body1:{fontSize:JI,lineHeight:"24px"},body2:{fontSize:XI,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:ZI,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:JI,fontWeight:rM,lineHeight:"16px"},h6:{fontSize:XI,fontWeight:rM,lineHeight:"16px"},caption:{color:YI.TEXT_SECONDARY},subtitle1:{fontSize:XI,color:YI.TEXT_SECONDARY},subtitle2:{fontSize:KI,color:YI.TEXT_SECONDARY}},shape:{borderRadius:QI}}},nL={},oL={exports:{}},iL={exports:{}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(iL);var aL=iL.exports;!function(e){var t=aL.default;function r(n,o){if("function"==typeof WeakMap)var i=new WeakMap,a=new WeakMap;return(e.exports=r=function(e,r){if(!r&&e&&e.__esModule)return e;var n,o,s={__proto__:null,default:e};if(null===e||"object"!=t(e)&&"function"!=typeof e)return s;if(n=r?a:i){if(n.has(e))return n.get(e);n.set(e,s)}for(var l in e)"default"!==l&&{}.hasOwnProperty.call(e,l)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,l))&&(o.get||o.set)?n(s,l,o):s[l]=e[l]);return s},e.exports.__esModule=!0,e.exports.default=e.exports)(n,o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(oL);var sL=oL.exports,lL={},uL=Rt(br);Object.defineProperty(lL,"__esModule",{value:!0}),lL.hexToRgb=pL,lL.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=hL(e),r=t.values;return"#".concat(r.map((function(e){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(e)})).join(""))},lL.hslToRgb=fL,lL.decomposeColor=hL,lL.recomposeColor=mL,lL.getContrastRatio=function(e,t){var r=gL(e),n=gL(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},lL.getLuminance=gL,lL.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return gL(e)>.5?vL(e,t):yL(e,t)},lL.fade=function(e,t){return bL(e,t)},lL.alpha=bL,lL.darken=vL,lL.lighten=yL;var cL=uL;function dL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}function pL(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function fL(e){var t=(e=hL(e)).values,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),mL({type:s,values:l})}function hL(e){if(e.type)return e;if("#"===e.charAt(0))return hL(pL(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error((0,cL.formatMuiErrorMessage)(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function mL(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function gL(e){var t="hsl"===(e=hL(e)).type?hL(fL(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function bL(e,t){return e=hL(e),t=dL(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,mL(e)}function vL(e,t){if(e=hL(e),t=dL(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return mL(e)}function yL(e,t){if(e=hL(e),t=dL(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return mL(e)}var xL,SL,CL,wL={},EL={exports:{}},RL={exports:{}},AL={exports:{}};function PL(){return xL||(xL=1,function(e){var t=aL.default;e.exports=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(AL)),AL.exports}function kL(){return SL||(SL=1,function(e){var t=aL.default,r=PL();e.exports=function(e){var n=r(e,"string");return"symbol"==t(n)?n:n+""},e.exports.__esModule=!0,e.exports.default=e.exports}(RL)),RL.exports}function IL(){return CL||(CL=1,function(e){var t=kL();e.exports=function(e,r,n){return(r=t(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(EL)),EL.exports}var ML,LL={exports:{}};function DL(){return ML||(ML=1,function(e){var t=Dk();e.exports=function(e,r){if(null==e)return{};var n,o,i=t(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],-1===r.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports}(LL)),LL.exports}var TL,_L={};var OL,qL={};var NL,jL={},zL={};var FL,HL={};var $L,BL={};var WL,VL={};var GL,UL={};var YL,KL={};var XL,JL={};var ZL,QL,eD={};function tD(){if(QL)return jL;QL=1;var e=aP;Object.defineProperty(jL,"__esModule",{value:!0}),jL.default=function(e){var g=e.primary,b=void 0===g?{light:a.default[300],main:a.default[500],dark:a.default[700]}:g,v=e.secondary,y=void 0===v?{light:s.default.A200,main:s.default.A400,dark:s.default.A700}:v,x=e.error,S=void 0===x?{light:l.default[300],main:l.default[500],dark:l.default[700]}:x,C=e.warning,w=void 0===C?{light:u.default[300],main:u.default[500],dark:u.default[700]}:C,E=e.info,R=void 0===E?{light:c.default[300],main:c.default[500],dark:c.default[700]}:E,A=e.success,P=void 0===A?{light:d.default[300],main:d.default[500],dark:d.default[700]}:A,k=e.type,I=void 0===k?"light":k,M=e.contrastThreshold,L=void 0===M?3:M,D=e.tonalOffset,T=void 0===D?.2:D,_=(0,r.default)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function O(e){return(0,p.getContrastRatio)(e,h.text.primary)>=L?h.text.primary:f.text.primary}var q=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,t.default)({},e)).main&&e[r]&&(e.main=e[r]),!e.main)throw new Error((0,n.formatMuiErrorMessage)(4,r));if("string"!=typeof e.main)throw new Error(_formatMuiErrorMessage(5,JSON.stringify(e.main)));return m(e,"light",o,T),m(e,"dark",i,T),e.contrastText||(e.contrastText=O(e.main)),e},N={dark:h,light:f},j=(0,n.deepmerge)((0,t.default)({common:o.default,type:I,primary:q(b),secondary:q(y,"A400","A200","A700"),error:q(S),warning:q(w),info:q(R),success:q(P),grey:i.default,contrastThreshold:L,getContrastText:O,augmentColor:q,tonalOffset:T},N[I]),_);return j},jL.dark=jL.light=void 0;var t=e(Ik()),r=e(DL()),n=uL,o=e(function(){if(NL)return zL;NL=1,Object.defineProperty(zL,"__esModule",{value:!0}),zL.default=void 0;var e={black:"#000",white:"#fff"};return zL.default=e,zL}()),i=e(function(){if(FL)return HL;FL=1,Object.defineProperty(HL,"__esModule",{value:!0}),HL.default=void 0;var e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};return HL.default=e,HL}()),a=e(function(){if($L)return BL;$L=1,Object.defineProperty(BL,"__esModule",{value:!0}),BL.default=void 0;var e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};return BL.default=e,BL}()),s=e(function(){if(WL)return VL;WL=1,Object.defineProperty(VL,"__esModule",{value:!0}),VL.default=void 0;var e={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};return VL.default=e,VL}()),l=e(function(){if(GL)return UL;GL=1,Object.defineProperty(UL,"__esModule",{value:!0}),UL.default=void 0;var e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};return UL.default=e,UL}()),u=e(function(){if(YL)return KL;YL=1,Object.defineProperty(KL,"__esModule",{value:!0}),KL.default=void 0;var e={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};return KL.default=e,KL}()),c=e(function(){if(XL)return JL;XL=1,Object.defineProperty(JL,"__esModule",{value:!0}),JL.default=void 0;var e={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};return JL.default=e,JL}()),d=e(function(){if(ZL)return eD;ZL=1,Object.defineProperty(eD,"__esModule",{value:!0}),eD.default=void 0;var e={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};return eD.default=e,eD}()),p=lL,f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.default.white,default:i.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}};jL.light=f;var h={text:{primary:o.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:i.default[800],default:"#303030"},action:{active:o.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(e,t,r,n){var o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,p.lighten)(e.main,o):"dark"===t&&(e.dark=(0,p.darken)(e.main,i)))}return jL.dark=h,jL}var rD,nD={};var oD,iD={};var aD,sD={};var lD,uD={},cD=Rt(no);var dD,pD={};function fD(){if(dD)return pD;dD=1;var e=aP;Object.defineProperty(pD,"__esModule",{value:!0}),pD.default=pD.duration=pD.easing=void 0;var t=e(DL()),r={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};pD.easing=r;var n={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}pD.duration=n;var i={easing:r,duration:n,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?n.standard:a,l=i.easing,u=void 0===l?r.easeInOut:l,c=i.delay,d=void 0===c?0:c;return(0,t.default)(i,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:o(s)," ").concat(u," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};return pD.default=i,pD}var hD,mD,gD={};function bD(){if(mD)return wL;mD=1;var e=aP;Object.defineProperty(wL,"__esModule",{value:!0}),wL.createMuiTheme=function(){return p.apply(void 0,arguments)},wL.default=void 0,e(IL());var t=e(DL()),r=uL,n=e(function(){if(TL)return _L;TL=1;var e=aP;Object.defineProperty(_L,"__esModule",{value:!0}),_L.default=function(e){var o=e.values,i=void 0===o?{xs:0,sm:600,md:960,lg:1280,xl:1920}:o,a=e.unit,s=void 0===a?"px":a,l=e.step,u=void 0===l?5:l,c=(0,r.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof i[e]?i[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=n.indexOf(t);return r===n.length-1?d(e):"@media (min-width:".concat("number"==typeof i[e]?i[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof i[n[r+1]]?i[n[r+1]]:t)-u/100).concat(s,")")}return(0,t.default)({keys:n,values:i,up:d,down:function(e){var t=n.indexOf(e)+1,r=i[n[t]];return t===n.length?d("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return i[e]}},c)},_L.keys=void 0;var t=e(Ik()),r=e(DL()),n=["xs","sm","md","lg","xl"];return _L.keys=n,_L}()),o=e(function(){if(OL)return qL;OL=1;var e=aP;Object.defineProperty(qL,"__esModule",{value:!0}),qL.default=function(e,n,o){var i;return(0,r.default)({gutters:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,r.default)({paddingLeft:n(2),paddingRight:n(2)},o,(0,t.default)({},e.up("sm"),(0,r.default)({paddingLeft:n(3),paddingRight:n(3)},o[e.up("sm")])))},toolbar:(i={minHeight:56},(0,t.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,t.default)(i,e.up("sm"),{minHeight:64}),i)},o)};var t=e(IL()),r=e(Ik());return qL}()),i=e(tD()),a=e(function(){if(rD)return nD;rD=1;var e=aP;Object.defineProperty(nD,"__esModule",{value:!0}),nD.default=function(e,l){var u="function"==typeof l?l(e):l,c=u.fontFamily,d=void 0===c?s:c,p=u.fontSize,f=void 0===p?14:p,h=u.fontWeightLight,m=void 0===h?300:h,g=u.fontWeightRegular,b=void 0===g?400:g,v=u.fontWeightMedium,y=void 0===v?500:v,x=u.fontWeightBold,S=void 0===x?700:x,C=u.htmlFontSize,w=void 0===C?16:C,E=u.allVariants,R=u.pxToRem,A=(0,r.default)(u,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),P=f/14,k=R||function(e){return"".concat(e/w*P,"rem")},I=function(e,r,n,i,a){return(0,t.default)({fontFamily:d,fontWeight:e,fontSize:k(r),lineHeight:n},d===s?{letterSpacing:"".concat(o(i/r),"em")}:{},a,E)},M={h1:I(m,96,1.167,-1.5),h2:I(m,60,1.2,-.5),h3:I(b,48,1.167,0),h4:I(b,34,1.235,.25),h5:I(b,24,1.334,0),h6:I(y,20,1.6,.15),subtitle1:I(b,16,1.75,.15),subtitle2:I(y,14,1.57,.1),body1:I(b,16,1.5,.15),body2:I(b,14,1.43,.15),button:I(y,14,1.75,.4,a),caption:I(b,12,1.66,.4),overline:I(b,12,2.66,1,a)};return(0,n.deepmerge)((0,t.default)({htmlFontSize:w,pxToRem:k,round:i,fontFamily:d,fontSize:f,fontWeightLight:m,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:S},M),A,{clone:!1})};var t=e(Ik()),r=e(DL()),n=uL;function o(e){return Math.round(1e5*e)/1e5}function i(e){return o(e)}var a={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';return nD}()),s=e(function(){if(oD)return iD;function e(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}oD=1,Object.defineProperty(iD,"__esModule",{value:!0}),iD.default=void 0;var t=["none",e(0,2,1,-1,0,1,1,0,0,1,3,0),e(0,3,1,-2,0,2,2,0,0,1,5,0),e(0,3,3,-2,0,3,4,0,0,1,8,0),e(0,2,4,-1,0,4,5,0,0,1,10,0),e(0,3,5,-1,0,5,8,0,0,1,14,0),e(0,3,5,-1,0,6,10,0,0,1,18,0),e(0,4,5,-2,0,7,10,1,0,2,16,1),e(0,5,5,-3,0,8,10,1,0,3,14,2),e(0,5,6,-3,0,9,12,1,0,3,16,2),e(0,6,6,-3,0,10,14,1,0,4,18,3),e(0,6,7,-4,0,11,15,1,0,4,20,3),e(0,7,8,-4,0,12,17,2,0,5,22,4),e(0,7,8,-4,0,13,19,2,0,5,24,4),e(0,7,9,-4,0,14,21,2,0,5,26,4),e(0,8,9,-5,0,15,22,2,0,6,28,5),e(0,8,10,-5,0,16,24,2,0,6,30,5),e(0,8,11,-5,0,17,26,2,0,6,32,5),e(0,9,11,-5,0,18,28,2,0,7,34,6),e(0,9,12,-6,0,19,29,2,0,7,36,6),e(0,10,13,-6,0,20,31,3,0,8,38,7),e(0,10,13,-6,0,21,33,3,0,8,40,7),e(0,10,14,-6,0,22,35,3,0,8,42,7),e(0,11,14,-7,0,23,36,3,0,9,44,8),e(0,11,15,-7,0,24,38,3,0,9,46,8)];return iD.default=t,iD}()),l=e(function(){if(aD)return sD;aD=1,Object.defineProperty(sD,"__esModule",{value:!0}),sD.default=void 0;var e={borderRadius:4};return sD.default=e,sD}()),u=e(function(){if(lD)return uD;lD=1,Object.defineProperty(uD,"__esModule",{value:!0}),uD.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var r=(0,e.createUnarySpacing)({spacing:t}),n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n};var e=cD;return uD}()),c=e(fD()),d=e(function(){if(hD)return gD;hD=1,Object.defineProperty(gD,"__esModule",{value:!0}),gD.default=void 0;var e={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};return gD.default=e,gD}());function p(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=e.breakpoints,f=void 0===p?{}:p,h=e.mixins,m=void 0===h?{}:h,g=e.palette,b=void 0===g?{}:g,v=e.spacing,y=e.typography,x=void 0===y?{}:y,S=(0,t.default)(e,["breakpoints","mixins","palette","spacing","typography"]),C=(0,i.default)(b),w=(0,n.default)(f),E=(0,u.default)(v),R=(0,r.deepmerge)({breakpoints:w,direction:"ltr",mixins:(0,o.default)(w,E,m),overrides:{},palette:C,props:{},shadows:s.default,typography:(0,a.default)(C,x),spacing:E,shape:l.default,transitions:c.default,zIndex:d.default},S),A=arguments.length,P=new Array(A>1?A-1:0),k=1;k<A;k++)P[k-1]=arguments[k];return R=P.reduce((function(e,t){return(0,r.deepmerge)(e,t)}),R)}var f=p;return wL.default=f,wL}var vD,yD={};var xD,SD={},CD=Rt(cl);var wD,ED,RD={},AD={};function PD(){if(wD)return AD;wD=1;var e=aP;Object.defineProperty(AD,"__esModule",{value:!0}),AD.default=void 0;var t=(0,e(bD()).default)();return AD.default=t,AD}var kD,ID,MD={},LD={};function DD(){if(ID)return MD;ID=1;var e=aP;Object.defineProperty(MD,"__esModule",{value:!0}),MD.default=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.breakpoints,a=void 0===i?["sm","md","lg"]:i,s=o.disableAlign,l=void 0!==s&&s,u=o.factor,c=void 0===u?2:u,d=o.variants,p=void 0===d?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:d,f=(0,t.default)({},e);f.typography=(0,t.default)({},f.typography);var h=f.typography,m=(0,n.convertLength)(h.htmlFontSize),g=a.map((function(e){return f.breakpoints.values[e]}));return p.forEach((function(e){var o=h[e],i=parseFloat(m(o.fontSize,"rem"));if(!(i<=1)){var a=i,s=1+(a-1)/c,u=o.lineHeight;if(!(0,n.isUnitless)(u)&&!l)throw new Error((0,r.formatMuiErrorMessage)(6));(0,n.isUnitless)(u)||(u=parseFloat(m(u,"rem"))/parseFloat(i));var d=null;l||(d=function(e){return(0,n.alignProperty)({size:e,grid:(0,n.fontGrid)({pixels:4,lineHeight:u,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,t.default)({},o,(0,n.responsiveProperty)({cssProperty:"fontSize",min:s,max:a,unit:"rem",breakpoints:g,transform:d}))}})),f};var t=e(Ik()),r=uL,n=function(){if(kD)return LD;kD=1;var e=aP;Object.defineProperty(LD,"__esModule",{value:!0}),LD.isUnitless=function(e){return String(parseFloat(e)).length===String(e).length},LD.getUnit=r,LD.toUnitless=n,LD.convertLength=function(e){return function(t,o){var i=r(t);if(i===o)return t;var a=n(t);if("px"!==i)if("em"===i)a=n(t)*n(e);else if("rem"===i)return a=n(t)*n(e),t;var s=a;if("px"!==o)if("em"===o)s=a/n(e);else{if("rem"!==o)return t;s=a/n(e)}return parseFloat(s.toFixed(5))+o}},LD.alignProperty=function(e){var t=e.size,r=e.grid,n=t-t%r,o=n+r;return t-n<o-t?n:o},LD.fontGrid=function(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)},LD.responsiveProperty=function(e){var r=e.cssProperty,n=e.min,o=e.max,i=e.unit,a=void 0===i?"rem":i,s=e.breakpoints,l=void 0===s?[600,960,1280]:s,u=e.transform,c=void 0===u?null:u,d=(0,t.default)({},r,"".concat(n).concat(a)),p=(o-n)/l[l.length-1];return l.forEach((function(e){var o=n+p*e;null!==c&&(o=c(o)),d["@media (min-width:".concat(e,"px)")]=(0,t.default)({},r,"".concat(Math.round(1e4*o)/1e4).concat(a))})),d};var t=e(IL());function r(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function n(e){return parseFloat(e)}return LD}();return MD}var TD,_D={};var OD,qD={};var ND,jD={};var zD,FD={};!function(e){var t=aP,r=sL;Object.defineProperty(e,"__esModule",{value:!0});var n={createTheme:!0,createMuiTheme:!0,unstable_createMuiStrictModeTheme:!0,createStyles:!0,makeStyles:!0,responsiveFontSizes:!0,styled:!0,useTheme:!0,withStyles:!0,withTheme:!0,createGenerateClassName:!0,jssPreset:!0,ServerStyleSheets:!0,StylesProvider:!0,MuiThemeProvider:!0,ThemeProvider:!0};Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"createMuiTheme",{enumerable:!0,get:function(){return i.createMuiTheme}}),Object.defineProperty(e,"unstable_createMuiStrictModeTheme",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStyles",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"makeStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"responsiveFontSizes",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"styled",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"withStyles",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"withTheme",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createGenerateClassName",{enumerable:!0,get:function(){return m.createGenerateClassName}}),Object.defineProperty(e,"jssPreset",{enumerable:!0,get:function(){return m.jssPreset}}),Object.defineProperty(e,"ServerStyleSheets",{enumerable:!0,get:function(){return m.ServerStyleSheets}}),Object.defineProperty(e,"StylesProvider",{enumerable:!0,get:function(){return m.StylesProvider}}),Object.defineProperty(e,"MuiThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}});var o=lL;Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var i=r(bD()),a=t(function(){if(vD)return yD;vD=1;var e=aP;Object.defineProperty(yD,"__esModule",{value:!0}),yD.default=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.default.apply(void 0,[(0,t.deepmerge)({unstable_strictMode:!0},e)].concat(o))};var t=uL,r=e(bD());return yD}()),s=t(function(){if(xD)return SD;xD=1,Object.defineProperty(SD,"__esModule",{value:!0}),SD.default=function(t){return(0,e.createStyles)(t)};var e=CD;return SD}()),l=t(function(){if(ED)return RD;ED=1;var e=aP;Object.defineProperty(RD,"__esModule",{value:!0}),RD.default=void 0;var t=e(Ik()),r=CD,n=e(PD()),o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.makeStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return RD.default=o,RD}()),u=t(DD()),c=t(function(){if(TD)return _D;TD=1;var e=aP;Object.defineProperty(_D,"__esModule",{value:!0}),_D.default=void 0;var t=e(Ik()),r=CD,n=e(PD()),o=function(e){var o=(0,r.styled)(e);return function(e,r){return o(e,(0,t.default)({defaultTheme:n.default},r))}};return _D.default=o,_D}()),d=fD();Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var p=t(function(){if(OD)return qD;OD=1;var e=aP;Object.defineProperty(qD,"__esModule",{value:!0}),qD.default=function(){return(0,t.useTheme)()||r.default};var t=CD;e(x);var r=e(PD());return qD}()),f=t(function(){if(ND)return jD;ND=1;var e=aP;Object.defineProperty(jD,"__esModule",{value:!0}),jD.default=void 0;var t=e(Ik()),r=CD,n=e(PD()),o=function(e,o){return(0,r.withStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return jD.default=o,jD}()),h=t(function(){if(zD)return FD;zD=1;var e=aP;Object.defineProperty(FD,"__esModule",{value:!0}),FD.default=void 0;var t=CD,r=e(PD()),n=(0,t.withThemeCreator)({defaultTheme:r.default});return FD.default=n,FD}()),m=CD}(nL),nL.alpha(YI.GREYSCALE_0,.05),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5),nL.alpha(YI.GREEN_PALE,.5),nL.alpha(YI.BLUE_PALE,.5);const HD=function(){return rL(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light",arguments.length>1&&void 0!==arguments[1]&&arguments[1])},$D=(HD().palette.primary.light,"repeating-linear-gradient(-45deg, rgba(200,200,200,0.08), rgba(200,200,200,0.08) 2px, rgba(200,200,200,0.3) 2.5px, rgba(200,200,200,0.08) 3px, rgba(200,200,200,0.08) 5px)"),BD=4/3,WD="12px",VD="600",GD="Source Sans Pro, sans-serif",UD={height:"auto",fontSize:WD,lineHeight:"unset",padding:"4px",borderStyle:"solid",borderWidth:"0px 1px 1px 0px",userSelect:"none",outline:"none","&:focus-visible":{boxShadow:"0 0 0 2px #177fe6 inset, 0 0 0 3px #fff inset"},"&:focus:not(:focus-visible)":{boxShadow:"none"},"&:last-child":{borderRightWidth:"0px"}},YD={"<i>":{fontStyle:"italic"},"<b>":{fontWeight:VD},"<u>":{textDecoration:"underline"},"<s>":{textDecoration:"line-through"}},KD=25e4,XD=(e,t,r)=>{if(!e.length)return[];const n=[],o=[];let i=t;if(e.forEach(((e,a)=>{const{columnWidth:{type:s,pixels:l,percentage:u},label:c,qApprMaxGlyphCount:d,totalInfo:p}=e;let f=0;const h=()=>{n[a]=Math.min(xS.PixelsMax,Math.max(xS.PixelsMin,f)),i-=n[a]};switch(s){case SS.Pixels:f=(e=>void 0===e||Number.isNaN(+e)?xS.PixelsDefault:+e)(l),h();break;case SS.Percentage:f=(e=>void 0===e||Number.isNaN(+e)?xS.PercentageDefault:+e)(u)/100*t,h();break;case SS.FitToContent:e.representation?.type===yw.Image?o.push(a):(f=r(c,p,d,e.isLocked,e.isActivelySorted,e.isDim),h());break;case SS.Auto:o.push(a);break;default:throw new Error(`${s} is not a valid column width type`)}})),o.length){const e=i/o.length;o.forEach((t=>{n[t]=Math.max(xS.AutoMinTable,e)}))}return n},JD=(e,t,r)=>{const n=r.size,o=n>=t.size;if(n){e({keys:[o?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.DeselectedValue",1===n?"SNTable.SelectionLabel.OneSelectedValue":["SNTable.SelectionLabel.SelectedValues",n.toString()]]})}else e({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]})},ZD=(e,t,r)=>{r&&t&&(t.classList.contains("selected")?e({keys:["SNTable.SelectionLabel.SelectedValue"]}):e({keys:["SNTable.SelectionLabel.NotSelectedValue"]}))},QD=e=>e.ctrlKey||e.metaKey,eT=e=>e.shiftKey&&QD(e),tT=e=>[vS.Left,vS.Right,vS.Up,vS.Down].includes(e),rT=e=>e.shiftKey&&tT(e.key),nT=e=>(e=>tT(e)||[vS.Home,vS.End,vS.PageUp,vS.PageDown].includes(e))(e.key)&&!eT(e),oT=(e,t)=>{const{api:r,rows:n,colIdx:o}=e,{cell:i,announce:a,evt:s}=t;let l=new Map;if(-1===o)r?.begin(["/qHyperCubeDef"]);else{if(o!==i.selectionColIdx)return e;l=new Map(n)}return l=((e,t,r)=>{const{qElemNumber:n,rowIdx:o}=t;return r.ctrlKey||r.metaKey?(new Map).set(n,o):(e.has(n)?e.delete(n):e.set(n,o),new Map(e))})(l,i,s),JD(a,n,l),l.size?(r?.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(l.values()),[i.selectionColIdx]]}),{...e,rows:l,colIdx:i.selectionColIdx}):(r?.cancel(),{...e,rows:l,colIdx:-1})},iT=(e,t)=>{const{api:r,rows:n,colIdx:o,pageRows:i,firstCell:a}=e,{cell:s,announce:l,evt:u}=t;if(!(a||"key"in u&&rT(u)))return e;-1===o&&r?.begin(["/qHyperCubeDef"]);const c=((e,t,r,n,o)=>{const i=new Map(t);if("key"in n&&rT(n)){i.set(r.qElemNumber,r.rowIdx);const t=n.key===vS.Down?1:-1,o=e[r.pageRowIdx+t][r.pageColIdx];return i.set(o.qElemNumber,r.rowIdx+t),i}if(!o)return t;const a=Math.min(o.pageRowIdx,r.pageRowIdx),s=Math.max(o.pageRowIdx,r.pageRowIdx);for(let t=a;t<=s;t++){const r=e[t][o.pageColIdx];i.set(r.qElemNumber,r.rowIdx)}return i})(i,n,s,u,a);return JD(l,n,c),{...e,rows:c,colIdx:a?.selectionColIdx??s.selectionColIdx,isSelectMultiValues:!0}},aT=e=>{const{api:t,rows:r,colIdx:n,isSelectMultiValues:o,mouseupOutsideCallback:i}=e;return i&&document.removeEventListener("mouseup",i),o&&t?.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(r.values()),[n]]}),{...e,isSelectMultiValues:!1,firstCell:void 0,mouseupOutsideCallback:void 0}},sT=(e,t)=>{switch(t.type){case WI.Select:return oT(e,t.payload);case WI.SelectMouseDown:return((e,t)=>{let{cell:r,mouseupOutsideCallback:n}=t;return!n||-1!==e.colIdx&&e.colIdx!==r.selectionColIdx?e:(document.addEventListener("mouseup",n),{...e,firstCell:r,mouseupOutsideCallback:n})})(e,t.payload);case WI.SelectMouseUp:return((e,t)=>aT(e.isSelectMultiValues||e.firstCell!==t.cell?e:oT(e,t)))(e,t.payload);case WI.SelectMultiAdd:return iT(e,t.payload);case WI.SelectMultiEnd:return aT(e);case WI.Reset:return e.api?.isModal()?e:{...e,rows:new Map,colIdx:-1};case WI.Clear:return e.rows.size?{...e,rows:new Map}:e;case WI.UpdatePageRows:return{...e,pageRows:t.payload.pageRows};default:throw new Error("reducer called with invalid action type")}},lT=4/3,uT=e=>!!e?.color||"number"==typeof e?.index&&e.index>-1;function cT(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{index:-1};const n=t.getColorPickerColor(r);return n&&"none"!==n?n:e}const dT=(e,t)=>e?{borderBottomColor:Fx.DARK_MODE_BORDER,borderRightColor:Fx.DARK_MODE_BORDER,borderLeftColor:Fx.DARK_MODE_BORDER,borderTopColor:Fx.DARK_MODE_BORDER}:{borderLeftColor:Fx.BORDER_MEDIUM,borderRightColor:Fx.BORDER_MEDIUM,borderTopColor:Fx.BORDER_HEAVY,borderBottomColor:t?Fx.BORDER_HEAVY:Fx.BORDER_LIGHT},pT=(e,t,r)=>{if(e&&t&&r){const n=(e=>parseInt(e,10)*lT+8+1)(e);return n*(t+2)<r.clientHeight-40?"1px":"0px"}return"0px"},fT=e=>e.components?.find((e=>"theme"===e.key)),hT=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=t.getStyle("object",`straightTableV2.${e}`,"fontFamily"),i=t.getStyle("object",`straightTableV2.${e}`,"color"),a=t.getStyle("object",`straightTableV2.${e}`,"fontSize"),s={fontFamily:o,color:uT(r?.fontColor)?cT(Fx.TEXT,t,r?.fontColor):i||Fx.TEXT,fontSize:r?.fontSize&&`${r.fontSize}px`||a,padding:r&&"padding"in r?r.padding:void 0,...dT(t.background.isDark,n)};return Object.keys(s).forEach((e=>{const t=e;null==s[t]&&delete s[t]})),s};function mT(e,t,r){const n=fT(e)?.header,o=hT("header",t,n,r);return o.background=(e=>{if(void 0===e)return;const t=te(e);return t.setAlpha(1),t.getRGB()})(t.background.headerColor),o.hoverBackground=Bx(o.background??Fx.WHITE,CS),o.activeBackground=Bx(o.background??Fx.WHITE,wS),o}const gT=(e,t)=>{const r=e.toLowerCase().match(/<[^>]+>/g)??[];return r.forEach((e=>(e=>e in YD)(e)&&Object.assign(t,YD[e]))),t};function bT(e,t,r){const n={};let o={fontStyle:e.fontStyle,fontWeight:e.fontWeight,textDecoration:e.textDecoration};return t?.qValues?.forEach(((e,t)=>{const i=e.qText,a=i&&Vx(i);a&&"none"!==a&&(n[r[t]]=a),o=i?gT(i,o):o})),n.cellBackgroundColor&&!n.cellForegroundColor&&(n.cellForegroundColor=Hx(n.cellBackgroundColor)),{...e,...n,color:n.cellForegroundColor||e.color,background:n.cellBackgroundColor||e.background,fontStyle:o.fontStyle,fontWeight:o.fontWeight,textDecoration:o.textDecoration}}const vT=(e,t)=>{if(t){const r=e.getColorPickerColor(t);return"none"===r?"transparent":r}},yT=(e,t,r)=>{const{objectColorFromCSS:n,sheetColorFromCSS:o}=e.background,i=vT(e,t?.background),a=e.getStyle("","",r);return{backgroundColor:i||n||a,backgroundFromStyling:i,sheetColorFromCSS:o}},xT=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fx.WHITE;const{backgroundColor:o,backgroundFromStyling:i,sheetColorFromCSS:a}=yT(e,t,r);return Xx(i,o,a,n)??n},ST=e=>{switch(typeof e){case"string":return`${parseInt(e,10)}px`;case"number":return`${e}px`;default:return WD}},CT=e=>e?.some((e=>"italic"===e))?"italic":"normal",wT=(e,t)=>void 0===e?t:e.some((e=>"bold"===e))?VD:"normal",ET=e=>!1===e?1:3,RT=e=>parseInt(e??UD.fontSize,10)*BD,AT=e=>e?.some((e=>"underline"===e))?"underline":"none",PT=(e,t,r,n,o)=>{const{header:i,dimensionValues:a,measureValues:s,totalValues:l,nullValues:u,grid:c,content:d}=fT(t)??{},p=!0===t.usePagination?Fx.WHITE:Fx.TRANSPARENT,f=xT(n,i,"object.straightTableV2.dimension.label.name.backgroundColor",p),h=o.viewState?.maxLineCount??d?.rowHeight??n.getStyle("object.straightTableV2","grid","lineClamp"),m={header:{fontFamily:i?.fontFamily??n.getStyle("object.straightTableV2.dimension","label.name","fontFamily")??r.head.fontFamily??GD,fontSize:ST(i?.fontSize??n.getStyle("object.straightTableV2.dimension","label.name","fontSize")??r.head.fontSize),fontStyle:CT(i?.fontStyle),fontWeight:wT(i?.fontStyle,VD),textDecoration:AT(i?.fontStyle),color:vT(n,i?.fontColor)??n.getStyle("object.straightTableV2.dimension","label.name","color")??r.head.color??Fx.TEXT,background:f},headerMenuHoverBackground:Bx(f,CS),headerMenuActiveBackground:Bx(f,wS),dimension:{values:{fontFamily:a?.fontFamily??n.getStyle("object.straightTableV2.dimension","label.value","fontFamily")??r.body.fontFamily??GD,fontSize:ST(a?.fontSize??d?.fontSize??n.getStyle("object.straightTableV2.dimension","label.value","fontSize")??r.body.fontSize),fontStyle:CT(a?.fontStyle),fontWeight:wT(a?.fontStyle,"normal"),textDecoration:AT(a?.fontStyle),color:vT(n,a?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.dimension","label.value","color")??r.body.color??Fx.TEXT,background:yT(n,a,"object.straightTableV2.dimension.label.value.backgroundColor").backgroundColor??r.body.background??Fx.TRANSPARENT}},measure:{values:{fontFamily:s?.fontFamily??n.getStyle("object.straightTableV2.measure","label.value","fontFamily")??r.body.fontFamily??GD,fontSize:ST(s?.fontSize??d?.fontSize??n.getStyle("object.straightTableV2.measure","label.value","fontSize")??r.body.fontSize),fontStyle:CT(s?.fontStyle),fontWeight:wT(s?.fontStyle,"normal"),textDecoration:AT(s?.fontStyle),color:vT(n,s?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.measure","label.value","color")??r.body.color??Fx.TEXT,background:yT(n,s,"object.straightTableV2.measure.label.value.backgroundColor").backgroundColor??r.body.background??Fx.TRANSPARENT}},totalRow:{fontFamily:l?.fontFamily??n.getStyle("object.straightTableV2.total","label.value","fontFamily")??r.totals.fontFamily??GD,fontSize:ST(l?.fontSize??d?.fontSize??n.getStyle("object.straightTableV2.total","label.value","fontSize")??r.totals.fontSize),fontStyle:CT(l?.fontStyle),fontWeight:wT(l?.fontStyle,VD),textDecoration:AT(l?.fontStyle),color:vT(n,l?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.total","label.value","color")??r.totals.color??Fx.TEXT,background:xT(n,l,"object.straightTableV2.total.label.value.backgroundColor",p)},nullValues:{fontStyle:CT(u?.fontStyle),fontWeight:wT(u?.fontStyle,"normal"),textDecoration:AT(u?.fontStyle),color:vT(n,u?.fontColor)??vT(n,d?.fontColor)??n.getStyle("object.straightTableV2.null","label.value","color")??r.body.color??Fx.TEXT,background:vT(n,u?.background)??n.getStyle("","","object.straightTableV2.null.label.value.backgroundColor")??Fx.NULL_VALUE_BACKGROUND},grid:{contentLineClamp:h??ET(t.multiline?.wrapTextInCells),headerLineClamp:ET(t.multiline?.wrapTextInHeaders),border:vT(n,c?.border)??n.getStyle("object.straightTableV2","grid","borderColor")??(n.background.isDark?Fx.DARK_MODE_BORDER:Fx.BORDER_MEDIUM),divider:vT(n,c?.divider)??n.getStyle("object.straightTableV2.grid","","divider.borderColor")??Fx.BORDER_HEAVY,hoverColors:{color:vT(n,d?.hoverFontColor)??n.getStyle("object.straightTableV2","","grid.hover.color")??r.body.hoverColors?.color,background:vT(n,d?.hoverColor)??n.getStyle("object.straightTableV2","","grid.hover.backgroundColor")??r.body.hoverColors?.background},zebraStripes:{show:!!c?.zebraStripes?.show,odd:{color:vT(n,c?.zebraStripes?.color?.odd),background:vT(n,c?.zebraStripes?.background?.odd)},even:{color:vT(n,c?.zebraStripes?.color?.even),background:vT(n,c?.zebraStripes?.background?.even)},overrideNullValueBackground:void 0===vT(n,u?.background),overrideNullValueColor:void 0===vT(n,u?.fontColor)},lastRowBottomBorder:r.body.lastRowBottomBorder},selectedColors:$x(n),headerMinRowHeight:0,totalRowLineHeight:0,totalRowMinHeight:0,contentLineHeight:0,contentMinRowHeight:0,contentStaticLineCount:h},{headerMinRowHeight:g,totalRowLineHeight:b,totalRowMinHeight:v,contentLineHeight:y,contentMinRowHeight:x}=(e=>{const t=Math.max(RT(e.header.fontSize)+8,32),r=RT(e.totalRow.fontSize),n=Math.max(r+8+1,24),o=Math.max(RT(e.dimension.values.fontSize),RT(e.measure.values.fontSize)),i=(e.contentStaticLineCount||1)*o;return{headerMinRowHeight:t,totalRowLineHeight:r,totalRowMinHeight:n,contentLineHeight:o,contentMinRowHeight:Math.max(i+8+1,24)}})(m);return m.headerMinRowHeight=g,m.totalRowLineHeight=b,m.totalRowMinHeight=v,m.contentLineHeight=y,m.contentMinRowHeight=x,m},kT=(e,t,r,n)=>{const o=E((()=>{const o=r.totalsPosition.atTop,i=function(e,t,r,n){const o=fT(e)?.content,i=hT("content",t,o);i.background=t.background.color;const a=pT(i.fontSize,r,n),s=o?.hoverColor,l=o?.hoverFontColor,u=t.getStyle("object","","straightTableV2.content.hover.backgroundColor"),c=t.getStyle("object","","straightTableV2.content.hover.color"),d=uT(l)||!!c,p=uT(s)||!!u,f=d||p;let h;h=uT(s)?cT(Fx.HOVER,t,s):u||(d?"":Fx.HOVER);const m=f?cT(Hx(h),t,l):"";return{...i,lastRowBottomBorder:a,hoverColors:{background:h,color:m}}}(e,t,r.rows.length,n),a=mT(e,t,!o),s=function(e,t,r){const n=fT(e)?.content,o=hT("content",t,n),{borderBottomColor:i,borderTopColor:a,background:s}=mT(e,t,r);return{...o,borderBottomColor:i,background:s,borderTopColor:a}}(e,t,o);return{body:i,head:a,totals:s}}),[e,t,r,n]);return o},IT=new Map;const MT=L({}),LT=function(e){const t=L([()=>{},new Set]);return IT.set(e,t),r=>{let{children:n,value:o}=r;const i=D(o),a=D(new Set);R((()=>{i.current=o,a.current.forEach((e=>{e(o)}))}),[o]);const s=T((()=>i.current),[i]),l=E((()=>[s,a.current]),[s]);return Tl.jsx(e.Provider,{value:o,children:Tl.jsx(t.Provider,{value:l,children:n})})}}(MT),DT={rows:[],columns:[],totalsPosition:{}},TT=e=>{let{app:t,children:r,tableData:n=DT,selectionsAPI:o,cellCoordMock:i,layout:a,model:s,translator:l,interactions:u,theme:c,keyboard:d,rootElement:p,embed:f,changeSortOrder:h,applyColumnWidths:m,setPage:g,pageInfo:b,initialDataPages:v,rect:y,viewService:x,downloadService:S,env:C,direction:R}=e;const[A,P]=w(0),[k,I]=w(i||UI),[L,D]=((e,t)=>{const[r,n]=M(sT,{pageRows:e,rows:new Map,colIdx:-1,api:t,isSelectMultiValues:!1});return[r,n]})(n.rows,o),[T,_]=w(-1),O=kT(a,c,n,p),q=((e,t,r,n,o)=>E((()=>PT(0,t,r,n,o)),[t,r,e,n,o]))(C,a,O,c,x),[N,j,z,F]=((e,t,r,n)=>{const o=t.atBottom||t.atTop,i=nS({...n.header,fontWeight:VD},{maxNbrLinesOfText:3}).measureText,a=nS({...n.totalRow,fontWeight:VD},{maxNbrLinesOfText:3}).measureText,{estimateWidth:s}=nS(n.dimension.values,{maxNbrLinesOfText:3}),{estimateWidth:l}=nS(n.measure.values,{maxNbrLinesOfText:3}),u=E((()=>(e,t,r,n,u,c)=>{let d=25;d+=28,n&&(d+=24),u&&(d+=20);const p=c?s:l;return Math.max(i(e)+d,o?a(t)+24+1:0,p(r))}),[s,l,i,a,o]),[c,d]=w(0),[p,f]=w((()=>XD(e,r,u)));lS((()=>{f(XD(e,r-c,u))}),[e,r,c,u]);const h=E((()=>((e,t,r)=>e.length>0&&e.reduce(((e,t)=>e+t))+t<r)(p,c,r)),[p,c,r]);return[p,f,d,h]})(n.columns,n.totalsPosition,y.width,q),H=E((()=>({app:t,selectionsAPI:o,layout:a,model:s,translator:l,interactions:u,theme:c,keyboard:d,rootElement:p,embed:f,changeSortOrder:h,applyColumnWidths:m,rect:y,viewService:x,styleService:q,direction:R,downloadService:S})),[t,o,a,s,l,u,c,d.active,p,f,h,m,y,x,q,R,S]);return Tl.jsx(LT,{value:{headRowHeight:A,setHeadRowHeight:P,focusedCellCoord:k,setFocusedCellCoord:I,selectionState:L,selectionDispatch:D,hoverIndex:T,setHoverIndex:_,columnWidths:N,setColumnWidths:j,baseProps:H,tableData:n,setYScrollbarWidth:z,setPage:g,pageInfo:b,initialDataPages:v,showRightBorder:F,env:C},children:r})};function _T(e,t){const r=function(e){return IT.get(e)}(e),[n,o]=C(r),[,i]=M((e=>e+1),0),a=D(t),s=D(),l=n();if(void 0===l)throw new Error("You must call useContextSelector inside a valid context.");const u=E((()=>t(l)),[l,t]);return R((()=>{a.current=t,s.current=u}),[l,u,t]),R((()=>{const e=e=>{a.current(e)!==s.current&&i()};return o.add(e),()=>{o.delete(e)}}),[o]),u}function OT(e){const t=HD();return t.components?.MuiTable?.styleOverrides&&(t.components.MuiTable.styleOverrides.root={}),Ek({...t,direction:e})}const qT={width:"100%",height:"100%",color:"transparent",background:"transparent",borderColor:"transparent"},NT={border:0,boxShadow:"none",borderRadius:0,outline:0,width:0,height:0,background:"transparent",cursor:"pointer",visibility:"hidden"},jT=Lg("input",{shouldForwardProp:e=>"isLastColumn"!==e&&"hoverColor"!==e})((e=>{let{isLastColumn:t,hoverColor:r,dir:n}=e;return{position:"absolute",display:"flex",height:"100%",top:0,marginLeft:"-4px",marginRight:"rtl"===n?"-4px":void 0,touchAction:"none",cursor:"col-resize",pointerEvents:"auto",width:(t?4:9)+"px",justifyContent:t?"flex-end":"center",outline:"none",appearance:"none",WebkitAppearance:"none",backgroundColor:"transparent","&::-webkit-slider-runnable-track":{...qT},"&::-moz-range-track":{...qT},"&::-ms-track":{...qT},"&::-webkit-slider-thumb":{appearance:"none",WebkitAppearance:"none",...NT},"&::-moz-range-thumb":{...NT},"&::-ms-thumb":{...NT},"&:hover:not(:focus, :active)":{"&::after":{backgroundColor:r||"#D9D9D9","@media (hover: none)":{backgroundColor:"none"}}},"&:focus-visible, &:active":{"&::after":{backgroundColor:"#177fe6",borderLeft:"1px solid #fff",borderRight:t?void 0:"1px solid #fff"}},"&::after":{content:'""',height:"100%",width:"3px",position:"absolute"}}})),zT=e=>{let{columnWidth:t,keyValue:r,isLastColumn:n,isPivot:o,hoverColor:i,updateWidthCallback:a,confirmWidthCallback:s,handleBlur:l,setIsAdjustingWidth:u,isLeftColumn:c,accessibilityRelatedArgs:d,direction:p="ltr"}=e;const f=cS({translator:d.translator}),h=D({initWidth:t,columnWidth:t,initX:0}),m=n?0:1,g=o&&!c,b=()=>g?h.current.columnWidth-m:"100%",v={left:"rtl"!==p?b():void 0,right:"rtl"===p?b():void 0},y=e=>{h.current={initWidth:t,columnWidth:t,initX:e??h.current.initX}};lS((()=>{g&&y()}),[t]);const x=e=>{const t=Math.max(e,xS.PixelsMin);h.current.columnWidth=t,a(t)},S=()=>{if(h.current.columnWidth!==h.current.initWidth){const e={type:SS.Pixels,pixels:h.current.columnWidth};s(e)}else u?.(!1)},C=e=>{const t="rtl"===p?h.current.initWidth+h.current.initX-e.clientX:h.current.initWidth+e.clientX-h.current.initX;x(t)},w=e=>{Ux(e),document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",w),S()},E=e=>{const t="rtl"===p?h.current.initWidth+-h.current.initX-e.touches[0].clientX:h.current.initWidth+e.touches[0].clientX-h.current.initX;x(t)},R=e=>{Ux(e),document.removeEventListener("touchmove",E),document.removeEventListener("touchend",R),S()},A=!o&&l?e=>{if(e.key===vS.Left||e.key===vS.Right){Ux(e);const t=5,r=e.key===vS.Left?t:-t,n="rtl"===p?r:-r;x(h.current.columnWidth+n)}else e.key===vS.Space||e.key===vS.Enter?(Ux(e),l(e),S()):e.key===vS.Esc&&(Ux(e),l(e),x(h.current.initWidth))}:void 0,P=f.get("NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",[String(d.columnLabel)]);return Tl.jsx(jT,{style:v,hoverColor:i,isLastColumn:n,className:yS,"data-testid":yS,onMouseDown:e=>{Ux(e),document.addEventListener("mousemove",C),document.addEventListener("mouseup",w),u?.(!0),y(e.clientX)},onDoubleClick:()=>{s({type:SS.FitToContent})},onTouchStart:e=>{1===e.touches.length&&(Ux(e),document.addEventListener("touchmove",E),document.addEventListener("touchend",R),u?.(!0),y(e.touches[0].clientX))},onKeyDown:A,onBlur:l,onFocus:()=>{y()},type:"range",tabIndex:-1,"aria-label":P,"aria-valuemin":xS.PixelsMin,"aria-valuemax":xS.PixelsMax,"aria-valuenow":Number(t.toFixed(1)),dir:p},r)},FT=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M15 4H1V2h14zm0 10H1v-2h14zm0-5H1V7h14z"})}))),HT=Lg(fv,{shouldForwardProp:e=>"rightAligned"!==e&&"shouldShowMenuIcon"!==e})((e=>{let{rightAligned:t,shouldShowMenuIcon:r}=e;return{...t?{marginRight:"auto"}:{marginLeft:"auto"},height:24,display:r?"flex":"none",fontWeight:"bold",width:"100%",alignItems:"center",justifyContent:"center"}})),$T=Lg(FT,{shouldForwardProp:e=>"isInteractionsActive"!==e})((e=>{let{isInteractionsActive:t}=e;return{minWidth:"unset",position:"relative",cursor:t?"pointer":"default"}})),BT=Lg(Yy)((e=>{let{theme:t}=e;return{".MuiList-root":{padding:t.spacing(.5,0)}}})),WT=Lg(Vv)((e=>{let{theme:t}=e;return{"&.MuiDivider-root":{margin:t.spacing(.5)}}})),VT=Lg(Qy)((e=>{let{theme:t}=e;return{fontSize:"12px",height:24,fontWeight:"bold",padding:`${t.spacing(.25,2)} !important`,marginBottom:t.spacing(.5)}})),GT=Lg(Qy,{shouldForwardProp:e=>"isSubMenu"!==e&&"isActive"!==e})((e=>{let{theme:t,isSubMenu:r,isActive:n}=e;return{width:`calc(220px - ${t.spacing(1)} - ${r?10:0}px)`,maxHeight:32,borderRadius:`${t.spacing(.5)} !important`,margin:`${t.spacing(.25,.5)} !important`,padding:`${t.spacing(1,1.5)} !important`,display:"flex !important",justifyContent:"space-between !important","&&:focus":{boxShadow:"rgb(23, 127, 230) 0px 0px 0px 2px"},position:"relative !important",overflow:"hidden",boxSizing:"border-box !important",background:n?"rgba(0, 0, 0, 0.05)":"transparent"}})),UT=Lg("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((e=>{let{theme:t,direction:r,isPagination:n}=e;return{position:"absolute",width:t.spacing(.5),height:16,left:0,right:n||"rtl"!==r?void 0:0,top:"50%",transform:"TranslateY(-50%)",borderRadius:"0 2px 2px 0",background:"#01873d"}})),YT=Lg("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center",maxWidth:"100%"}))),KT=Lg(Ib)((()=>({fontFamily:'"Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif',fontSize:"14px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),XT=Lg(Sy,{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((e=>{let{theme:t,direction:r,isPagination:n}=e;return{width:16,minWidth:"unset !important",marginRight:n||"rtl"!==r?t.spacing(1.5):0,marginLeft:n||"rtl"!==r?void 0:t.spacing(1.5),lineHeight:0}})),JT=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5z"})}))),ZT=e=>{const t=e.nextElementSibling;return t?"HR"===t.tagName?ZT(t):t:e.parentElement?.children?.[0]},QT=e=>{const t=e.previousElementSibling;if(!t){const t=e.parentElement?.children?.length;return e.parentElement?.children?.[t-1]}return"HR"===t.tagName?QT(t):t},e_=e=>{const{key:t,currentTarget:r}=e,n=document.activeElement??r;if(t===vS.Down||t===vS.Up){const r=e=>t===vS.Down?ZT(e):QT(e);e.preventDefault(),e.stopPropagation();let o=r(n);for(;o;){if("true"!==o.ariaDisabled){o.focus();break}o=r(o)}}},t_=(e,t)=>e.map((e=>e.map((e=>({...e.groupHeading?{groupHeading:e.groupHeading}:{},items:e.items.map((e=>{let{onClick:r,...n}=e;return{...n,...r?{onClick:async e=>{Object.entries(t).forEach((e=>{let[,t]=e;t(!1)})),await r(e)}}:{}}}))})))));let r_={};const n_=e=>{let{autoFocus:t,id:r,onClick:n,itemTitle:o,icon:i,enabled:a,subMenus:s,isSubMenu:l,isActive:u,direction:c,isPagination:d}=e;const[p,f]=w(!1),h=D(null),m=T((e=>{e.stopPropagation(),f(!1)}),[f]);return Tl.jsxs(Tl.Fragment,{children:[Tl.jsxs(GT,{ref:s?h:null,"data-testid":`menu-item-${r}`,className:"nebula-table-utils-head-menu-item",onClick:async e=>{"keyup"!==e.type&&(n&&(await n(e),r_={}),s?.length&&(f(!0),r_[o]=f))},disabled:!a,autoFocus:t,isSubMenu:!!l,isActive:!!u,onKeyDown:e_,children:[u?Tl.jsx(UT,{direction:c,isPagination:d}):null,Tl.jsxs(YT,{children:[Tl.jsx(XT,{direction:c,isPagination:d,children:Tl.jsx(i,{})}),Tl.jsx(KT,{variant:"body2",children:o})]}),s?.length?Tl.jsx(JT,{}):null]},r),s?.length?Tl.jsx(s_,{isSubMenu:!0,open:p,anchorEl:h.current,onClose:m,menuGroups:t_(s,r_),transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},direction:c,isPagination:d}):null]})},o_=e=>{let{menuGroup:t,isSubMenu:r,direction:n,isPagination:o}=e;return t.map((e=>[[e.groupHeading&&Tl.jsx(VT,{disabled:!0,style:{opacity:1},children:e.groupHeading},e.groupHeading),e.items.map((e=>Tl.jsx(n_,{...e,isSubMenu:r,direction:n,isPagination:o},e.id)))].filter(Boolean)]))},i_=e=>{let{itemGroups:t,isSubMenu:r,direction:n,isPagination:o}=e;return t.map(((e,i)=>[o_({menuGroup:e,isSubMenu:r,direction:n,isPagination:o}),i<t.length-1?Tl.jsx(WT,{"data-testid":"group-divider",variant:"middle"}):void 0]))},a_={appear:0,enter:0,exit:0},s_=e=>{let{anchorEl:t,open:r,onClose:n,menuGroups:o,transformOrigin:i,anchorOrigin:a,isSubMenu:s,direction:l,isPagination:u}=e;return o.length?Tl.jsx(BT,{className:mS,open:r,anchorEl:t,onClose:n,transitionDuration:a_,MenuListProps:{id:gS},...a?{anchorOrigin:a}:{},...i?{transformOrigin:i}:{},dir:l,children:i_({itemGroups:o,isSubMenu:s,direction:l,isPagination:u})}):null},l_=(e,t)=>e.some((e=>t[e]>0)),u_={canSelectAll:!1,canClearSelections:!1,canSelectPossible:!1,canSelectAlternative:!1,canSelectExcluded:!1},c_=e=>{let{open:t,qStateName:r="$",headerData:n,app:o}=e;const[i,a]=w(null),[s,l]=w(u_);return lS((()=>{t||(l(u_),a(null))}),[t]),R((()=>{if(!o?.createSessionObject||!n.isDim||!t)return()=>{};let e,i=!1;const s=()=>{e&&o.destroySessionObject(e)};return(async()=>{try{const t=((e,t)=>({qInfo:{qType:"tableListbox"},qListObjectDef:Boolean(t.qLibraryId)?{qLibraryId:t.qLibraryId,qStateName:e}:{qDef:{qFieldDefs:[t.fieldId]},qStateName:e}}))(r,n),u=await o.createSessionObject(t),c=await u.getLayout(),{qStateCounts:d}=c.qListObject?.qDimensionInfo??{};e=c.qInfo?.qId,i?s():(a(u),d&&l((e=>({canSelectAll:l_(["qOption","qAlternative","qExcluded","qDeselected"],e),canClearSelections:l_(["qSelected"],e),canSelectPossible:l_(["qOption"],e),canSelectAlternative:l_(["qAlternative"],e),canSelectExcluded:l_(["qAlternative","qExcluded"],e)}))(d)))}catch(e){console.error(e)}})(),()=>{i=!0,s()}}),[t,o,n,r]),{fieldInstance:i,selectionActionsEnabledStatus:s}},d_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),p_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m0-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m-1-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M9.166 6.166c1.555-1.555 4.113-1.555 5.668 0s1.555 4.113 0 5.668-4.113 1.555-5.668 0-1.555-4.063 0-5.668m4.966 1.555a.56.56 0 0 0 0-.803.56.56 0 0 0-.803 0l-1.304 1.305-1.304-1.305a.522.522 0 0 0-.803 0 .524.524 0 0 0 0 .803l1.305 1.304-1.305 1.304c-.25.2-.25.552 0 .803.251.25.602.25.803 0l1.304-1.304 1.304 1.304c.2.25.552.25.803 0 .2-.201.25-.602 0-.803l-1.304-1.304z"})}))),f_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3.914 8h8.207L10.5 6.379l.707-.708L14.036 8.5l-2.829 2.828-.707-.707L12.12 9H3.914l1.621 1.621-.707.707L2 8.5l2.828-2.828.707.707zM15 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 13V2h-2v3h-1V2H4v3H3V2H1v12h2v-2h1v2h8v-2h1v2z"})}))),h_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),m_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M.5 4.774v6.452a2 2 0 0 0 1.154 1.813l5.5 2.566a2 2 0 0 0 1.692 0l5.5-2.566a2 2 0 0 0 1.154-1.813V4.774a2 2 0 0 0-1.154-1.813L8.846.395a2 2 0 0 0-1.692 0l-5.5 2.566A2 2 0 0 0 .5 4.774m1 0v-.032l6 2.428v7.493l-5.423-2.53a1 1 0 0 1-.577-.907zm.545-.89.032-.016 5.5-2.567a1 1 0 0 1 .846 0l5.5 2.567.032.015L8 6.293zm12.454.858v6.484a1 1 0 0 1-.576.906L8.5 14.663V7.17z"})}))),g_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8z"})}))),b_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8zM8.5 4v8h-1V4z"})}))),v_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7"})}))),y_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})}))),x_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3 4v1H1v10h10v-2h1v2a1 1 0 0 1-.883.993L11 16H1a1 1 0 0 1-.993-.883L0 15V5a1 1 0 0 1 .883-.993L1 4zm12-4a1 1 0 0 1 .993.883L16 1v10a1 1 0 0 1-.883.993L15 12H5a1 1 0 0 1-.993-.883L4 11V1a1 1 0 0 1 .883-.993L5 0zm0 1H5v10h10zm-2.36 2.653.72.694L9.143 8.72 6.64 6.125l.72-.694L9.143 7.28z"})}))),S_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8l8-8zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),C_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 3h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),w_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8h8V4zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),E_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M1 1.5a.5.5 0 0 1 .5-.5H3V0H1.5A1.5 1.5 0 0 0 0 1.5V3h1zM14.5 1a.5.5 0 0 1 .5.5V3h1V1.5A1.5 1.5 0 0 0 14.5 0H13v1zM1 14.5a.5.5 0 0 0 .5.5H3v1H1.5A1.5 1.5 0 0 1 0 14.5V13h1zm14 0a.5.5 0 0 1-.5.5H13v1h1.5a1.5 1.5 0 0 0 1.5-1.5V13h-1zM6 0h4v1H6zM0 6h1v4H0zm15 0h1v4h-1zm-9 9h4v1H6z"})})));let R_=function(e){return e.Sorting="sorting",e.Searching="searching",e.Selections="selections",e.AdjusterHeaderSize="adjustHeaderSize",e}({});const A_="/qListObjectDef",P_=e=>{let{headerData:t,translator:r,menuAvailabilityFlags:n,setOpen:o,sortFromMenu:i,interactions:a,embedListbox:s,fieldInstance:l,selectionActionsEnabledStatus:u,anchorRef:c,focusColumnAdjuster:d,setActiveFieldCallback:p,expandOrCollapseArgs:f}=e;const h=[];if(n[R_.Sorting]){const{isActivelySorted:e,sortDirection:n}=t,{ascendingEnabled:a,descendingEnabled:s}=(e=>{let{isActivelySorted:t,sortDirection:r,isPivot:n,isSortedByFirstMeasure:o}=e,i=!n&&!t||"D"===r,a=!n&&!t||"A"===r;return o&&(i=!1,a=!1),{ascendingEnabled:i,descendingEnabled:a}})(t);h.push([{groupHeading:r.get("NebulaTableUtils.MenuGroupLabel.Sorting"),items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SortAscending"),onClick:async e=>{e.stopPropagation(),await(i?.(e,"A")),o(!1)},icon:d_,enabled:a,isActive:!!e&&"A"===n,autoFocus:a},{id:2,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SortDescending"),onClick:async e=>{e.stopPropagation(),await(i?.(e,"D")),o(!1)},icon:h_,enabled:s,isActive:!!e&&"D"===n,autoFocus:!a&&s}]}])}if(t.isCyclic&&p){const e=[];e.push([{items:[{id:1,itemTitle:t.groupDimensionLabels[t.groupDimensionPos].label,enabled:!0,icon:v_,subMenus:[[{items:t.groupDimensionLabels.map(((e,r)=>{let{label:n,enabled:i}=e;return{id:r+1,itemTitle:n,onClick:async e=>{e.stopPropagation(),o(!1),p(r)},enabled:i,icon:m_,isActive:t.groupDimensionPos===r}}))}]]}]}]),e.length>0&&h.push(...e)}if(t.isDim&&a?.select){const e=[];n[R_.Searching]&&e.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Search"),onClick:e=>{e.stopPropagation(),o(!1),s()},icon:y_,enabled:!0}]}]),n[R_.Selections]&&e.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Selections"),icon:E_,enabled:!!l,subMenus:[[{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectAll"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectAll(A_))},icon:x_,enabled:u.canSelectAll},{id:2,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectPossible"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectPossible(A_))},icon:w_,enabled:u.canSelectPossible},{id:3,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectAlternative"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectAlternative(A_))},icon:S_,enabled:u.canSelectAlternative},{id:4,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.SelectExcluded"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.selectListObjectExcluded(A_))},icon:C_,enabled:u.canSelectExcluded}]}],[{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.ClearSelections"),onClick:async e=>{e.stopPropagation(),o(!1),await(l?.clearSelections(A_))},icon:p_,enabled:u.canClearSelections}]}]]}]}]),f&&h.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Expand"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),o(!1),await f.expandCallback()},icon:b_,enabled:!0},{id:2,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.Collapse"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),o(!1),await f.collapseCallback()},icon:g_,enabled:!0}]}]),e.length>0&&h.push(...e)}return n[R_.AdjusterHeaderSize]&&h.push([{items:[{id:1,itemTitle:r.get("NebulaTableUtils.MenuItemLabel.AdjustColumnSize"),onClick:e=>{e.stopPropagation(),e.preventDefault(),o(!1),d?.(c)},icon:f_,enabled:!0}]}]),h},k_=e=>{let{open:t,setOpen:r,anchorRef:n,headerData:o,translator:i,interactions:a,menuAvailabilityFlags:s,shouldShowMenuIcon:l=!0,sortRelatedArgs:u,searchRelatedArgs:c,selectionRelatedArgs:d,adjustHeaderSizeRelatedArgs:p,expandOrCollapseArgs:f,model:h,direction:m="ltr",isPagination:g}=e;const b=cS({translator:i}),{qLibraryId:v,fieldId:y,headTextAlign:x}=o,S=d?.app,{fieldInstance:C,selectionActionsEnabledStatus:w}=c_({open:t,headerData:o,app:S,qStateName:d?.qStateName});let E=null;if(h&&"setActiveField"in h&&void 0!==o.dimensionInfoIndex){const e=o.dimensionInfoIndex;E=async t=>{try{await h.setActiveField("/qHyperCubeDef",e,t)}catch(e){console.error(e)}}}const R=T((()=>{const e=v?{qLibraryId:v,type:"dimension"}:y;if(c?.embed){const{embed:t,listboxRef:r}=c;t.__DO_NOT_USE__.popover(r.current,e,{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"rtl"===m?"right":"left"},sortCriteria:c.sortCriteria,stateName:d?.qStateName,direction:m})}}),[v,y,c,d?.qStateName,m]),A=T((e=>{e.stopPropagation(),r(!1)}),[r]);return a.active?Tl.jsxs(HT,{rightAligned:"right"===x,shouldShowMenuIcon:l,className:hS,children:[l?Tl.jsx($T,{height:pS,className:fS,"data-testid":fS,isInteractionsActive:a.active??!1,children:Tl.jsx(FT,{})}):null,Tl.jsx(s_,{open:t,anchorEl:n.current,onClose:A,menuGroups:P_({headerData:o,translator:b,menuAvailabilityFlags:s,setOpen:r,...u,embedListbox:R,interactions:a,fieldInstance:C,selectionActionsEnabledStatus:w,anchorRef:n,focusColumnAdjuster:p?.focusColumnAdjuster,setActiveFieldCallback:E,expandOrCollapseArgs:f}),direction:m,isPagination:g})]}):null},I_=e=>e.isDark?{background:e.color,borderColor:Fx.DARK_MODE_BORDER,color:Fx.DARK_MODE_TEXT,disabledColor:Fx.DARK_MODE_DISABLED,iconColor:Fx.DARK_MODE_TEXT}:{background:e.color,borderColor:Fx.BORDER_MEDIUM,color:Fx.TEXT,disabledColor:Fx.DISABLED},M_=Lg(fv,{shouldForwardProp:e=>"footerStyle"!==e})((e=>{let{footerStyle:t,theme:r}=e;return{height:40,display:"flex",justifyContent:"flex-end",alignItems:"center",padding:r.spacing(0,1,0,1),color:t.color,background:t.background,borderTop:`1px solid ${t.borderColor}`}})),L_=Lg(Tx,{shouldForwardProp:e=>"footerStyle"!==e})((e=>{let{footerStyle:t,theme:r}=e;return{background:"inherit",marginRight:r.spacing(1),color:t.color,"& .MuiNativeSelect-icon, .MuiNativeSelect-select":{color:t.iconColor}}})),D_=Lg(wv,{shouldForwardProp:e=>"disabledCondition"!==e&&"footerStyle"!==e})((e=>{let{disabledCondition:t,footerStyle:r,theme:n}=e;return{color:t?r.disabledColor:r.color,cursor:t?"default":"pointer",marginLeft:n.spacing(1)}})),T_=Lg(Ib)((e=>{let{theme:t}=e;return{color:"inherit",margin:t.spacing(0,1,0,1)}})),__=e=>{let{children:t,footerContainer:r,interactions:n,theme:o,paginationNeeded:i=!0}=e;const a=E((()=>I_(o.background)),[o]);if(!n.active)return null;const s=i?Tl.jsx(M_,{footerStyle:a,children:t}):null;return r?F.createPortal(t,r):s},O_=L({}),q_=()=>C(O_),N_=e=>{let{children:t,direction:r,pageInfo:n,handleChangeRowsPerPage:o,footerContainer:i,isSelectionMode:a,handleChangePage:s,totalRowCount:l,totalColumnCount:u,totalPages:c,keyboard:d,translator:p,theme:f,interactions:h,rect:m,layout:g}=e;const b=(e=>!e.enabled||e.active)(d)?0:-1,v=E((()=>I_(f.background)),[f]),y=i?i.getBoundingClientRect().width:m.width,x=cS({translator:p}),S=E((()=>({direction:r,pageInfo:n,handleChangeRowsPerPage:o,footerContainer:i,isSelectionMode:a,handleChangePage:s,totalRowCount:l,totalColumnCount:u,totalPages:c,keyboard:d,translator:x,theme:f,interactions:h,rect:m,layout:g,footerStyle:v,tabIndex:b,width:y})),[r,n,o,i,a,s,l,u,c,d,x,f,h,m,g,v,b,y]);return Tl.jsx(O_.Provider,{value:S,children:t})};let j_=function(e){return e.FirstPage="FirstPage",e.LastPage="LastPage",e.NextPage="NextPage",e.PreviousPage="PreviousPage",e}({}),z_=function(e){return e[e.DisplayedRowsLabel=250]="DisplayedRowsLabel",e[e.FirstPage=350]="FirstPage",e[e.LastPage=350]="LastPage",e[e.RowsPerPage=550]="RowsPerPage",e[e.SelectPage=700]="SelectPage",e}({});const F_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"})}))),H_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m12 2 1.5 1.5L9 8l4.5 4.5L12 14 6 8zM4 2v12H2V2z"})}))),$_=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m3.5 2 6 6-6 6L2 12.5 6.5 8 2 3.5zM14 2v12h-2V2z"})}))),B_={FirstPage:H_,PreviousPage:F_,NextPage:JT,LastPage:$_,FirstPageRTL:$_,PreviousPageRTL:JT,NextPageRTL:F_,LastPageRTL:H_},W_=e=>{let{disabledCondition:t,pageNumber:r,type:n}=e;const{direction:o,footerStyle:i,handleChangePage:a,translator:s,interactions:l,tabIndex:u}=q_(),c=n.concat("rtl"===o?"RTL":""),d=B_[c];return{styledProps:{footerStyle:i,disabledCondition:t,size:"small","data-testid":"pagination-action-icon-button","aria-disabled":t,"aria-label":s.get(`NebulaTableUtils.Pagination.${n}`),title:l.passive?s.get(`NebulaTableUtils.Pagination.${n}`):void 0,tabIndex:u,onClick:t?void 0:()=>{a(r)}},IconComponent:d}},V_=()=>{const{pageInfo:e,width:t,interactions:r}=q_(),n=0===e.page,{IconComponent:o,styledProps:i}=W_({type:j_.FirstPage,disabledCondition:n,pageNumber:0});return t<=z_.FirstPage?null:Tl.jsx(D_,{...i,disabled:!r.active,children:Tl.jsx(o,{height:pS})})},G_=function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&e.key===vS.Tab&&!e.shiftKey&&(Ux(e),Gx(e.target,t,!1))},U_=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=q_(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=W_({type:j_.LastPage,disabledCondition:a,pageNumber:r-1}),u=t.enabled?e=>{G_(e,t,n)}:void 0;return o<=z_.LastPage?null:Tl.jsx(D_,{...l,onKeyDown:u,disabled:!i.active,children:Tl.jsx(s,{height:pS})})},Y_=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=q_(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=W_({type:j_.NextPage,disabledCondition:a,pageNumber:e.page+1}),u=!(o>z_.FirstPage&&o>z_.LastPage)&&t.enabled?e=>{G_(e,t,n)}:void 0;return Tl.jsx(D_,{...l,onKeyDown:u,disabled:!i.active,children:Tl.jsx(s,{height:pS})})},K_=()=>{const{pageInfo:e,interactions:t}=q_(),r=0===e.page,{IconComponent:n,styledProps:o}=W_({type:j_.PreviousPage,disabledCondition:r,pageNumber:e.page-1});return Tl.jsx(D_,{...o,disabled:!t.active,children:Tl.jsx(n,{height:pS})})},X_=()=>{const{translator:e,width:t,pageInfo:r,totalRowCount:n}=q_(),{page:o,rowsPerPage:i}=r;if(t<=z_.DisplayedRowsLabel)return null;const a=e.get("NebulaTableUtils.Pagination.DisplayedRowsLabel",[`${o*i+1} - ${Math.min((o+1)*i,n)}`,n.toString()]);return Tl.jsx(T_,{variant:"caption",dir:"ltr",children:a})},J_=e=>{let{name:t,value:r,options:n,handleChange:o}=e;const{layout:i,footerStyle:a,translator:s,tabIndex:l,interactions:u}=q_(),c=i.qInfo.qId,d=s.get(`NebulaTableUtils.Pagination.${t}`),p=`${t}-dropdown`,f=`${p}-label-${c}`,h={tabIndex:l,id:`${p}-${c}`,"data-testid":p,"aria-labelledby":f};return Tl.jsxs(Tl.Fragment,{children:[Tl.jsxs(T_,{variant:"caption",id:f,children:[d,":"]}),Tl.jsx(L_,{footerStyle:a,size:"small",native:!0,value:r,onChange:o,inputProps:h,disabled:!u.active,children:n})]})},Z_=()=>{const{pageInfo:e,isSelectionMode:t,totalColumnCount:r,width:n,handleChangeRowsPerPage:o}=q_();if(!(!!e.rowsPerPageOptions?.length&&!t&&n>z_.RowsPerPage&&r<=100)||void 0===e.rowsPerPageOptions)return null;const i=Tl.jsx(Tl.Fragment,{children:e.rowsPerPageOptions.map((e=>Tl.jsx("option",{value:e,children:e},e)))});return Tl.jsx(J_,{name:"RowsPerPage",value:e.rowsPerPage,options:i,handleChange:e=>{o?.(+e.target.value)}})},Q_=1e3,eO="…",tO=e=>{let{totalPages:t,page:r}=e;const n=Math.min(t,Q_),o=n<t&&r>500,i=o?Math.min(500+r,t):n,a=o?Math.max(0,i-Q_):0,s=Array.from(Array(n).keys()).map((e=>{const t=e+a;return Tl.jsx("option",{value:t,children:t+1},t)}));return a>0&&s.unshift(Tl.jsx("option",{value:eO,disabled:!0,children:eO},"startMoreOptions")),i<t-1&&s.push(Tl.jsx("option",{value:eO,disabled:!0,children:eO},"endMoreOptions")),Tl.jsx(Tl.Fragment,{children:s})},rO=()=>{const{pageInfo:e,width:t,totalPages:r,handleChangePage:n}=q_(),{page:o}=e;if(t<=z_.SelectPage)return null;const i=Tl.jsx(tO,{totalPages:r,page:o});return Tl.jsx(J_,{name:"SelectPage",value:o,options:i,handleChange:e=>{n(+e.target.value)}})};var nO=O((e=>Tl.jsxs(N_,{...e,children:[Tl.jsx(Z_,{}),Tl.jsx(rO,{}),Tl.jsx(X_,{}),Tl.jsx(V_,{}),Tl.jsx(K_,{}),Tl.jsx(Y_,{}),Tl.jsx(U_,{})]})));const oO=e=>Tl.jsx(__,{...e,children:Tl.jsx(nO,{...e})}),iO={lineHeight:"calc(4/3)",fontSize:"inherit",textOverflow:"ellipsis",overflow:"hidden"},aO=eI(lM,{shouldForwardProp:e=>"background"!==e})((e=>{let{background:t}=e;return{height:"100%",background:t.color}})),sO=eI("span",{shouldForwardProp:e=>"lineClamp"!==e&&"isHeadCell"!==e&&"isPagination"!==e&&"isNumeric"!==e})((e=>{let{lineClamp:t,isHeadCell:r=!1,isPagination:n=!1,isNumeric:o=!1}=e;return o||1===t&&!r?{...iO,whiteSpace:"nowrap",display:n?"block":void 0}:{...iO,wordBreak:"break-word",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",whiteSpace:"pre-line"}}));function lO(e,t){const r=D(!1);R((()=>{r.current?e():r.current=!0}),t)}const uO=e=>{let{colIdx:t,rowIdx:r,firstColIdx:n,lastColIdx:o}=e;return t>n?t--:r>n&&(r--,t=o),[r,t]},cO=e=>{let{colIdx:t,rowIdx:r,firstColIdx:n,lastColIdx:o,lastRowIdx:i}=e;return t<o?t++:r<i&&(r++,t=n),[r,t]},dO=e=>e.atTop?2:1,pO=(e,t)=>e.getElementsByClassName("sn-table-row")[t[0]]?.getElementsByClassName("sn-table-cell")[t[1]],fO=e=>e?.setAttribute("tabIndex","0"),hO=e=>e?.setAttribute("tabIndex","-1"),mO=e=>{e.querySelectorAll("td[tabindex='0'], th[tabindex='0']").forEach(hO)},gO=e=>{e?.focus(),fO(e)},bO=e=>{setTimeout((()=>{const t=e.current?.closest(".sn-table-cell")?.querySelector(`.${yS}`);gO(t)}),0)},vO=e=>{let{evt:t,rootElement:r,cellCoord:n,setFocusedCellCoord:o,allowedRows:i,direction:a}=e;mO(r);const s=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{top:0,bottom:0};const i=o.top>0,a=o.top,s=t.getElementsByClassName("sn-table-row").length-1-o.bottom,l=t.getElementsByClassName("sn-table-head-cell").length-1;let[u,c]=r;switch(e.key){case vS.Down:u<s&&u++;break;case vS.Up:u>a&&u--;break;case vS.Right:if(i)break;[u,c]="rtl"===n?uO({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0}):cO({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0});break;case vS.Left:if(i)break;[u,c]="rtl"===n?cO({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0}):uO({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0});break;case vS.Home:(QD(e)||i)&&(u=a),i||(c=0);break;case vS.End:(QD(e)||i)&&(u=s),i||(c=l);break;case vS.PageDown:u=Math.min(s,u+10);break;case vS.PageUp:u=Math.max(a,u-10)}return[u,c]}(t,r,n,a,i),l=pO(r,s);return gO(l),((e,t)=>{const r=t.getElementsByClassName("sn-table-container")[0];if(!r?.scrollTo)return;const[n,o]=e;if(n<2)r.scrollTo({top:0,behavior:"auto"});else{const e=t.getElementsByClassName("sn-table-head-cell")[0],i=t.getElementsByClassName("sn-table-row")[n].getElementsByClassName("sn-table-cell")[o];if(!i||!e)return;if(i.offsetTop-e.offsetHeight<r.scrollTop){const t=r.scrollTop-i.offsetHeight-e.offsetHeight;r.scrollTo({top:Math.max(0,t),behavior:"auto"})}}})(s,r),o(s),{nextCell:l,nextCellCoord:s}},yO=(e,t,r,n)=>{mO(t),r(e),n.enabled&&!n.active?n.focus?.():gO(pO(t,e))},xO=(e,t,r)=>{const n=e.currentTarget,o=e.relatedTarget,i=!!n?.contains(o),a=o?.closest(`.${mS}`);!r.enabled||i||a||t.current||!n||((e=>{const t=e.querySelector(`.${GI.First}`),r=e.querySelector(`.${GI.Second}`);t&&r&&(t.innerHTML="",r.innerHTML="")})(n),r.blur?.(!1))},SO=()=>{const{downloadService:e}=_T(MT,(e=>e.baseProps));R((()=>{e.isDownloadedAsPDForImage&&e.notifyIsDoneRendering()}))},CO=(e,t,r)=>{const{rootElement:n,keyboard:o}=_T(MT,(e=>e.baseProps)),{totalColumnCount:i,totalRowCount:a,rows:s,totalsPosition:l}=_T(MT,(e=>e.tableData)),u=_T(MT,(e=>e.focusedCellCoord)),c=_T(MT,(e=>e.setFocusedCellCoord)),d=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal()));lO((()=>{const r=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=[dO(t),e[1]];return r?n:UI}(u,l,d);(e=>{let{resetCellCoord:t,rootElement:r,shouldRefocus:n,isSelectionMode:o,setFocusedCellCoord:i,keyboard:a,announce:s}=e;if(mO(r),i(t),!(e=>!e.enabled||e.active)(a))return;const l=pO(r,t);n.current?(gO(l),n.current=!1):fO(l),o&&(s({keys:[l?.textContent??""]}),ZD(s,l,o))})({resetCellCoord:r,rootElement:n,shouldRefocus:e,setFocusedCellCoord:c,isSelectionMode:d,keyboard:o,announce:t})}),[s.length,a,i,r])},wO=(e,t,r)=>{R((()=>{const n=e.current;if(!n)return;const o=e=>{((e,t,r)=>{if(0===e.deltaX)return;e.stopPropagation();const n=r.scrollWidth-r.offsetWidth;let{scrollLeft:o}=r,i=o+e.deltaX;t&&(i=n+i),n>0&&(i<0||i>n+1)&&(e.preventDefault(),o=t?Math.min(0,Math.min(n,i)):Math.max(0,Math.min(n,i)))})(e,"rtl"===t,n)},i=e=>{r.scrollLeft=e.currentTarget?.scrollLeft||0};return n.addEventListener("wheel",o),n.addEventListener("scroll",i),()=>{n.removeEventListener("wheel",o),n.removeEventListener("scroll",i)}}),[e,t,r])},EO=e=>{Ux(e),QD(e)&&PS(e.currentTarget)},RO=e=>{nT(e.evt)&&(Ux(e.evt),vO(e))},AO=e=>{const{evt:t,totalsPosition:r,cell:n,isSelectionMode:o}=e;if(!nT(t))return;Ux(t);const i=((e,t)=>[e.pageRowIdx+dO(t),e.pageColIdx])(n,r),a=((e,t)=>({top:e?dO(t):0,bottom:e&&t.atBottom?1:0}))(o,r),{nextCell:s,nextCellCoord:l}=vO({...e,cellCoord:i,allowedRows:a});l[0]!==i[0]&&(e=>{let{evt:t,isSelectionsEnabled:r,cell:n,selectionDispatch:o,announce:i,isSelectionMode:a,nextCell:s}=e;t.shiftKey&&r&&n.isSelectable?o({type:WI.SelectMultiAdd,payload:{cell:n,evt:t,announce:i}}):ZD(i,s,a)})({...e,nextCell:s})},PO=e=>{const{evt:t}=e;eT(t)?(e=>{let{evt:t,totalRowCount:r,rowsPerPage:n,page:o,updateShouldRefocus:i,handleChangePage:a}=e;Ux(t);const s=Math.ceil(r/n)-1;t.key===vS.Right&&o<s?(i(),a(o+1)):t.key===vS.Left&&o>0&&(i(),a(o-1))})(e):t.key===vS.Esc?(e=>{let{evt:t,keyboard:r,isSelectionMode:n}=e;r.enabled&&!n&&(Ux(t),r.blur?.(!0))})(e):tT(t.key)&&Ux(t)},kO=e=>{const{evt:t,selectionsAPI:r}=e;if(t.currentTarget.classList.contains(BI.Disabled))return void Ux(t);const n={...e,isSelectionMode:!!r?.isModal()};switch(t.key){case vS.Space:(e=>{let{evt:t,cell:r,isSelectionsEnabled:n,selectionDispatch:o,announce:i}=e;Ux(t),r.isSelectable&&n&&o({type:WI.Select,payload:{cell:r,evt:t,announce:i}})})(n);break;case vS.Enter:(e=>{let{isSelectionMode:t,selectionsAPI:r,evt:n,announce:o}=e;Ux(n),t&&(r?.confirm(),o({keys:["SNTable.SelectionLabel.SelectionsConfirmed"]}))})(n);break;case vS.Esc:(e=>{let{isSelectionMode:t,selectionsAPI:r,evt:n,announce:o}=e;t&&(Ux(n),r?.cancel(),o({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]}))})(n);break;case vS.C:EO(t);break;case vS.Tab:(e=>{let{evt:t,keyboard:r,isSelectionMode:n,paginationNeeded:o}=e;const i=t.shiftKey||!o;r.enabled&&n&&i&&(Ux(t),Gx(t.currentTarget,r,t.shiftKey))})(n);break;default:AO(n)}},IO=e=>{const{layout:t,rect:r,theme:n}=_T(MT,(e=>e.baseProps)),[o,i]=w(0),[a,s]=w(0);return q((()=>{if(e.current){const{offsetWidth:t=0,offsetHeight:r=0,clientWidth:n=0,clientHeight:o=0}=e.current,a=r-o;s(t-n),i(a)}}),[e,t,r,n]),{xScrollbarWidth:o,yScrollbarWidth:a}},MO=eI("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),LO=eI(MM,{shouldForwardProp:e=>"fullHeight"!==e&&"interactions"!==e})((e=>{let{fullHeight:t,interactions:r}=e;return{height:t?"100%":"calc(100% - 41px)",overflow:r.scroll?"auto":"hidden",border:"none"}})),DO=eI(hM,{shouldForwardProp:e=>"borderRight"!==e})((e=>{let{borderRight:t}=e;return{tableLayout:"fixed",width:"min-content",borderRight:t}})),TO=()=>Tl.jsxs(Tl.Fragment,{children:[Tl.jsx(MO,{className:GI.First,"data-testid":GI.First,"aria-live":"polite","aria-atomic":"true"}),Tl.jsx(MO,{className:GI.Second,"data-testid":GI.Second,"aria-live":"polite","aria-atomic":"true"})]}),_O=e=>{const t=D(new Map),r=D(null);R((()=>{r.current=e(t.current),t.current.forEach(((e,t)=>{r.current?.observe(t)}));const n=t.current,o=r.current;return()=>{o.disconnect(),n.clear()}}),[e,r,t]);const n=T(((e,n)=>{t.current.set(e,n),r.current?.observe(e)}),[t,r]),o=T((e=>{t.current.delete(e),r.current?.unobserve(e)}),[r,t]);return E((()=>({addTask:n,removeTask:o})),[n,o])},OO=e=>new ResizeObserver((t=>{t.forEach((t=>{const r=e.get(t.target);r?.(t)}))})),qO=()=>_O(OO),NO=e=>{let{selectionsAPI:t,selectionDispatch:r,updateShouldRefocus:n,keyboard:o,tableWrapperRef:i}=e;R((()=>{const e=()=>{r({type:WI.Reset})},a=()=>{r({type:WI.Clear})},s=()=>{i.current?.contains(document.activeElement)?n():o.enabled&&o.blur?.(!0),e()};return t?.on("deactivated",e),t?.on("canceled",e),t?.on("confirmed",s),t?.on("cleared",a),()=>{t?.removeListener("deactivated",e),t?.removeListener("canceled",e),t?.removeListener("confirmed",s),t?.removeListener("cleared",a)}}),[t,o,r,n,i])},jO=e=>{e.stopPropagation()},zO=e=>{let{href:t,text:r,interactions:n,color:o}=e;return{href:t,title:r,rel:"noreferrer",target:"_blank",underline:"hover",onClick:jO,color:Fx.LINK,style:{pointerEvents:n.active?"auto":"none",color:o??void 0,opacity:n.active&&n.passive||o?void 0:.4}}},FO=e=>{let{href:t,text:r,interactions:n,color:o}=e;return Tl.jsx(dy,{...zO({href:t,text:r,interactions:n,color:o}),children:r})},HO=window.requestIdleCallback??(e=>setTimeout((()=>{e({})}),0)),$O=window.cancelIdleCallback??(e=>{clearTimeout(e)}),BO="qDimensionInfo/0",WO="qMeasureInfo/0",VO="x",GO="y",UO=e=>({key:"bars",type:"box",data:{extract:{field:BO,props:{start:0,end:{field:WO}}}},settings:{major:{scale:VO},minor:{scale:GO},box:{maxWidthPx:8,fill:{fn:e}}}}),YO=e=>({key:"p",type:"point",data:{extract:{field:BO,props:{y:{field:WO}}}},settings:{x:{scale:VO},y:{scale:GO},shape:"circle",size:1,opacity:1,sizeLimits:{minPx:4,maxPx:4},fill:{fn:e}},preferredSize:{edgeBleed:{left:2,right:2,top:2,bottom:2}}}),KO=e=>{let{qNum:t}=e;return void 0===t?0:Math.sign(t)},XO=(e,t)=>{const{primary:r,nil:n,others:o}=e.getDataColorSpecials(),i=Wx(e,t?.negative,r),a=Wx(e,t?.positive,r);return{key:"pos-neg",type:"box",data:{extract:{field:BO,props:{start:0,end:{field:WO,value:KO}}}},settings:{major:{scale:VO},minor:{scale:GO},box:{maxWidthPx:8,fill:{fn:e=>-2===e.datum.value?n:-3===e.datum.value?o:0===e.datum.end.value?"#DDDDDD":Math.sign(e.datum.end.value)<0?i:a}}}}},JO=(e,t)=>{let{type:r,showDots:n,colors:o,colorMin:i,colorMax:a}=t;const s=((e,t,r,n)=>{const{primary:o,nil:i,others:a}=e.getDataColorSpecials(),s=Wx(e,t?.main,o),l=Wx(e,t?.max,s),u=Wx(e,t?.min,s),c=Wx(e,t?.first,s),d=Wx(e,t?.last,s);return e=>{const t=GO in e.datum?GO:"end";return-2===e.datum.value?i:-3===e.datum.value?a:e.datum[t].value>=n?l:e.datum[t].value<=r?u:e.data.items.at(0)===e.datum?c:e.data.items.at(-1)===e.datum?d:s}})(e,o,i,a);switch(r){case"bars":return[UO(s)];case"dots":return[YO(s)];case"sparkline":{const t=(e=>({key:"lines",type:"line",data:{extract:{field:BO,props:{v:{field:WO}}}},settings:{coordinates:{major:{scale:VO},minor:{scale:GO,ref:"v"}},layers:{line:{strokeWidth:1,stroke:e}}}}))(Wx(e,o?.main,e.getDataColorSpecials().primary));return n?[t,YO(s)]:[t]}case"posNeg":return[XO(e,o)];default:return[]}},ZO=e=>({qDimensionInfo:[{qFallbackTitle:"",qCardinal:1}],qMeasureInfo:[{qFallbackTitle:""}],qDataPages:[{qArea:{qTop:0,qLeft:0,qHeight:e.length,qWidth:2},qMatrix:e}],qEffectiveInterColumnSortOrder:[0,1],qSize:{qcx:2,qcy:e.length},qMode:"S"}),QO=(e,t,r,n)=>({y:{data:{field:WO},invert:!0,min:"posNeg"===e?-1:t,max:"posNeg"===e?1:r},x:{data:{extract:{field:BO}},paddingInner:.3,paddingOuter:0,invert:"rtl"===n,align:"rtl"===n?1:0,maxPxStep:12}}),eq=B();eq.use($),eq.renderer.prio(["canvas"]);const tq={resolve:()=>{},promise:{}},rq=e=>{let{chart:t,element:r,requestId:n,theme:o,isSnapshot:i,direction:a,miniChartData:s,downloadService:l}=e;const{resolveChartPromise:u,addChartPromiseToQueue:c}=(e=>{const t=D(e.isDownloadedAsPDForImage?mt():tq);return{addChartPromiseToQueue:T((()=>{e.waitForPromise(t.current.promise)}),[e]),resolveChartPromise:t.current.resolve}})(l),d=T((()=>{if(null===r.current||null!==t.current)return;c();n.current=HO((()=>{r.current&&(t.current=(e=>{let{element:t,theme:r,isSnapshot:n,miniChartData:o,onChartRendered:i,direction:a}=e;const{type:s,qMatrix:l,minY:u,maxY:c}=o;return eq.chart({element:t,data:{type:"q",key:"qHyperCube",data:ZO(l)},settings:{scales:QO(s,u,c,a),components:JO(r,o),strategy:n?{size:{width:t.offsetWidth,height:t.offsetHeight}}:void 0},mounted:()=>{i()}})})({element:r.current,theme:o,isSnapshot:i,miniChartData:s,direction:a,onChartRendered:u}))}),{timeout:2e3})}),[r,t,c,n,o,i,s,a,u]);return{renderChartWithRequestIdleCallback:d,safeCancelIdleCallback:T((()=>{null!==n.current&&$O(n.current),n.current=null,u()}),[n,u])}},nq=e=>{const t=D(null),r=D(!1);return T((n=>{const o=n.contentBoxSize.at(0)?.inlineSize??0;(e=>{e.current&&($O(e.current),e.current=null)})(t),r.current?0!==o?null!==e.current&&(t.current=HO((()=>{e.current?.update()}),{timeout:2e3})):r.current=!1:r.current=!0}),[e])},oq=e=>{let{intersectionObserverTaskScheduler:t,resizeObserverTaskScheduler:r,theme:n,isSnapshot:o,miniChartData:i,downloadService:a,direction:s}=e;const l=D(null),u=D(null),c=D(null),{renderChartWithRequestIdleCallback:d,safeCancelIdleCallback:p}=rq({element:l,chart:u,requestId:c,theme:n,isSnapshot:o,direction:s,miniChartData:i,downloadService:a});return(e=>{let{element:t,intersectionObserverTaskScheduler:r,safeCancelIdleCallback:n,renderChartWithRequestIdleCallback:o,chart:i}=e;const a=T((e=>{e.isIntersecting?o():n()}),[o,n]);R((()=>{if(!t.current||!r)return()=>{};const e=t.current;return r.addTask(e,a),()=>{r.removeTask(e),n(),i.current?.destroy(),i.current=null}}),[i,t,r,n,a])})({element:l,intersectionObserverTaskScheduler:t,safeCancelIdleCallback:p,renderChartWithRequestIdleCallback:d,chart:u}),(e=>{let{renderChartWithRequestIdleCallback:t,safeCancelIdleCallback:r,chart:n,intersectionObserverTaskScheduler:o}=e;R((()=>o?()=>{}:(t(),()=>{r(),n.current?.destroy(),n.current=null})),[o,r,t,n])})({intersectionObserverTaskScheduler:t,safeCancelIdleCallback:p,renderChartWithRequestIdleCallback:d,chart:u}),(e=>{let{element:t,chart:r,resizeObserverTaskScheduler:n}=e;const o=nq(r);R((()=>{const e=t.current;return e?(n.addTask(e,o),()=>{n.removeTask(e)}):()=>{}}),[t,o,n])})({element:l,chart:u,resizeObserverTaskScheduler:r}),l},iq=e=>{let{height:t,intersectionObserverTaskScheduler:r,resizeObserverTaskScheduler:n,theme:o,isSnapshot:i,miniChartData:a,downloadService:s,direction:l}=e;const u=oq({intersectionObserverTaskScheduler:r,resizeObserverTaskScheduler:n,theme:o,isSnapshot:i,miniChartData:a,downloadService:s,direction:l});return Tl.jsx("div",{"data-testid":"picasso-container",ref:u,style:{position:"relative",width:"100%",height:t,overflow:"hidden"}})},aq="cell-text",sq=e=>{let{children:t,forwardRef:r,isNumeric:n=!1,isPagination:o=!1,isHeadCell:i=!1,lineClamp:a}=e;const{styleService:s}=_T(MT,(e=>e.baseProps));return i?Tl.jsx(sO,{"data-testid":aq,ref:r,className:"sn-table-cell-text",lineClamp:s.grid.headerLineClamp,isPagination:o,isHeadCell:!0,style:{direction:n?"ltr":void 0},children:t}):Tl.jsx(sO,{"data-testid":aq,ref:r,className:"sn-table-cell-text",isNumeric:n,lineClamp:a??s.grid.contentLineClamp,isPagination:o,style:{direction:n?"ltr":void 0},children:t})},lq=(e,t)=>e.max===e.min?.5:(t-e.min)/(e.max-e.min),uq=(e,t,r)=>{const n=e.paletteColors?e.paletteColors[t]:e.localPaletteColors[t];return r.getColorPickerColor(n)},cq=(e,t,r)=>{const n={previousColor:(o=e.localPaletteColors)[(i=t)-(i>0?1:0)],nextColor:o[i+(i<o.length-1?1:0)]};var o,i;const a=((e,t)=>{const r=e.limits&&e.limits.concat().sort(((e,t)=>e.value-t.value));return{lowerLimit:r&&t>0?r[t-1]:{value:0,gradient:!1},upperLimit:r&&r[t]?r[t]:{value:1,gradient:!1}}})(e,t),s=((e,t,r,n,o)=>{const{upperLimit:i,lowerLimit:a}=e,{previousColor:s,nextColor:l}=t,u=n===i.value?1:(n-a.value)/(i.value-a.value);return a.gradient&&i.gradient?n-a.value<i.value-n?{color:s.color,t:.5-u}:{color:l.color,t:u-.5}:a.gradient?{color:s.color,t:1-(.5+u/2)}:i.gradient?{color:l.color,t:u/2}:{color:o.localPaletteColors[r].color,t:n}})(a,n,t,r,e);return s&&te(e.localPaletteColors[t].color).blend(te(s.color),s.t)},dq=(e,t,r)=>{const n=((e,t)=>{const{limits:r}=e;return r&&(e.limits=r.sort(((e,t)=>e.value-t.value)),e.limits=r.map((e=>({...e,value:lq(t,e.value)})))),e})({...e},t),o=n.paletteColors||n.localPaletteColors;return o&&(n.localPaletteColors=o.concat().map(((e,t)=>({color:uq(n,t,r)})))),n},pq=(e,t,r,n)=>{const o=dq(e,r,n),{localPaletteColors:i}=o;if(t<=0)return i[0].color;if(t>=1)return i[i.length-1].color;const a=((e,t)=>{let r="",n=0;const{limits:o,localPaletteColors:i}=e;for(let a=0;a<i.length;a++){const i=o&&o[a]?o[a].value:1;if(t>=n&&t<i){r=cq(e,a,t);break}n=i}return r})(o,t);return a},fq=(e,t)=>{const r=(e=>e.map((e=>e.value??e)).sort(((e,t)=>e-t)))(e),n=r.some((e=>!gE(e)));return 0===r.length||n?(e=>{const t=0===e?0:.5*e;return{min:e-t,max:e+t}})(t):1===r.length?((e,t)=>{const r=e[0]-t;if(0===r||!gE(r)){const e=0===t?.5:Math.abs(.5*t);return{min:t-e,max:t+e}}return r>0?{min:t-.5*Math.abs(t),max:e[0]+2*r}:{min:e[0]+2*r,max:t+.5*Math.abs(t)}})(r,t):((e,t)=>{let r=e[e.length-1]-e[0];return r=r>0?r:1,{min:Math.min(t,e[0])-r/2,max:Math.max(t,e[e.length-1])+r/2}})(r,t)},hq=(e,t)=>{const{limits:r}=e.segments;if(!r)return;const n=((e,t)=>{const{min:r,max:n}=fq(e,t),o=Math.abs(t);return{min:r??t-o,max:n??t+o}})(r,t),o=((e,t,r)=>{const{limits:n,paletteColors:o,localPaletteColors:i}=e.segments;if(!n||!gE(t))return 0;let a=r&&gE(r)?Math.min(r,t):0;const s=n.sort(((e,t)=>e.value-t.value)),l=o||i;for(let e=0;e<l.length;e++){if(e===l.length-1||t<s[e].value&&t>=a)return e;a=s[e].value}return 0})(e,t,n.min);return{limitRange:n,limitPaletteColorIndex:o}},mq=(e,t,r,n)=>{const o=e.indicatorConditionalColoring;if(!o)return;const i=hq(o,t),a=((e,t,r,n)=>{const{segments:o}=e;if(!o||!r)return;const{limits:i}=o;if(!i?.length||!((e,t)=>!(!e||0===e.length||!(e[t]?.gradient??e[t-1]?.gradient)))(i,r.limitPaletteColorIndex))return uq(o,r.limitPaletteColorIndex,n);const a=lq(r.limitRange,t);return pq(o,a,r.limitRange,n)})(o,t,i,n),s=o.segments.paletteColors[i?.limitPaletteColorIndex||0].icon,{indicator:l}=e;let u=l?.position||"right";return"rtl"===r&&(u="right"===u?"left":"right"),{color:a,iconKey:s,position:u}},gq=(e,t)=>"rtl"===e&&"center"!==t.resolvedImagePosition?.horizontal?t.resolvedImagePosition?.horizontal&&(e=>"flex-start"===e?"flex-end":"flex-start")(t.resolvedImagePosition?.horizontal):t.resolvedImagePosition?.horizontal,bq=(e,t)=>e.representation.type===yw.Image&&"fitHeight"===e.representation.imageSize?gq(t,e.representation):e.align,vq=(e,t)=>t||"right"!==e&&"left"!==e?t||"center"!==e?void 0:"row":"row-reverse",yq=(e,t,r)=>{if(!t&&"rtl"===r){if("left"===e.headTextAlign)return"right";if("right"===e.headTextAlign)return"left"}return e.headTextAlign},xq=(e,t)=>"rtl"===e&&"center"!==t?"right"===t?"left":"right":t,Sq=(e,t,r)=>"rtl"===e||t&&!r?"0px":"1px",Cq=(e,t,r)=>"rtl"===e?t&&!r?"0px":"1px":"0px",wq=e=>{let t="center",r="center";return"flex-start"===e?.vertical?t="top":"flex-end"===e?.vertical&&(t="bottom"),"flex-start"===e?.horizontal?r="left":"flex-end"===e?.horizontal&&(r="right"),`${r} ${t}`},Eq=e=>{switch(e){case"alwaysFit":return"contain";case"fill":return"fill";case"fitHeight":case"fitWidth":return"cover";case"originalSize":return"none";default:return}},Rq=e=>{let{representation:t,textStyle:r,maxImageHeight:n,wrapInContainer:o}=e;const{direction:i}=_T(MT,(e=>e.baseProps)),{url:a,text:s,imageSize:l,resolvedImagePosition:u}=t,c="fitHeight"===l,d=Tl.jsx("img",{src:a,alt:s,style:{...r,width:c?"auto":"100%",height:"100%",maxHeight:n,objectFit:Eq(l),objectPosition:wq(u),overflow:"hidden"}});return o?Tl.jsx("div",{"data-key":"image-horizontal-container",style:{width:"100%",height:c?n:"100%",overflow:"hidden",display:"flex",justifyContent:c?gq(i,t):void 0},children:d}):d},Aq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9 7V2H7v5H2v2h5v5h2V9h5V7z"})}))),Pq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),kq=_(((e,t)=>Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Tl.jsx("path",{d:"M3 9v6.5a.5.5 0 1 1-1 0V.5a.5.5 0 0 1 1 0V1q2.441.639 3.667.639c1.225 0 1.774-.995 3.87-1.196q1.972-.19 3.297.47A.3.3 0 0 1 14 1.18v7.344a.3.3 0 0 1-.417.277q-1.338-.565-3.045-.416c-1.98.172-2.083 1.107-3.871 1.253Q4.879 9.785 3 9"}),Tl.jsx("use",{fillRule:"evenodd"})]}))),Iq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M13.9 7.4c-1 1.3-.6 1.5-1.5 4.1-.5 1.8-1.2 2.9-1.7 3.6q-.45.6-.9.9H4.2c-1 0-1.6-.5-1.9-1-.2-.3-.3-.6-.3-1V4.2c0-.4.3-.7.7-.7s.7.3.7.7v3.6l.9-.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v5.1l1.1-.2V.7C6.7.3 7 0 7.4 0s.7.3.7.7v5.9l1.1.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v7.7s.1 0 .1-.2l.6-1.4c1.1-2.1 3.1-1.1 2.6-.3"})}))),Mq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M5 13h6v1.5c0 .3-.2.5-.5.5H10v.5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5V15h-.5c-.3 0-.5-.2-.5-.5zm0-1c0-2-3-3-3-7 0-3 3-5 6-5s6 2 6 5c0 4-3 4-3 7H5m-.5-7c.3 0 .5-.2.5-.5s.2-.7.5-1 .6-.5 1-.5c.3 0 .5-.2.5-.5S6.8 2 6.5 2c-.6 0-1.2.3-1.7.8S4 3.9 4 4.5c0 .3.2.5.5.5"})}))),Lq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8m4.5 9c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6h-9c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7z"})}))),Dq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M2 7h12v2H2z"})}))),Tq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9 7h7a7.004 7.004 0 0 0-7-7zm1-5.917A6.005 6.005 0 0 1 14.917 6H10zM14 9H7V2a7.002 7.002 0 0 0 0 14 7 7 0 0 0 7-7m-8 1h6.917A6.002 6.002 0 0 1 1 9a6 6 0 0 1 5-5.917z"})}))),_q=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M9 9h3.5c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6H9V3.5c0-.25-.3-.5-.6-.5h-.7c-.4 0-.7.25-.7.5V7H3.5c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7H7v3.5c0 .25.3.5.6.5h.8c.3 0 .6-.25.6-.5zM8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),Oq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m8.418 1.007.042.08 1.788 4.217 4.571.388a.5.5 0 0 1 .348.811l-.063.065-3.472 3.008 1.043 4.47a.5.5 0 0 1-.664.581l-.081-.04L8 12.217l-3.93 2.372a.5.5 0 0 1-.757-.453l.012-.089 1.043-4.47L.896 6.568a.5.5 0 0 1 .196-.86l.089-.016 4.571-.388L7.54 1.086a.5.5 0 0 1 .878-.08Z"})}))),qq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1"})}))),Nq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})}))),jq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M2.4 4h11.2a.2.2 0 0 1 .16.32l-5.6 7.467a.2.2 0 0 1-.32 0L2.24 4.32A.2.2 0 0 1 2.4 4"})}))),zq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M11 2.4v11.2a.2.2 0 0 1-.32.16l-7.467-5.6a.2.2 0 0 1 0-.32l7.467-5.6a.2.2 0 0 1 .32.16"})}))),Fq=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M4 13.6V2.4a.2.2 0 0 1 .32-.16l7.467 5.6a.2.2 0 0 1 0 .32l-7.467 5.6A.2.2 0 0 1 4 13.6"})}))),Hq={m:Nq,"ï":Oq,R:_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M13.6 11H2.4a.2.2 0 0 1-.16-.32l5.6-7.467a.2.2 0 0 1 .32 0l5.6 7.467a.2.2 0 0 1-.16.32"})}))),S:jq,T:zq,U:Fq,P:_q,Q:Lq,"è":_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M14.98 15H1.04c-1.002 0-1.303-.7-.802-1.5l6.82-11.9c.5-.8 1.303-.8 1.804 0l6.92 11.9c.501.8.1 1.5-.803 1.5M8.5 5h-1c-.3 0-.5.2-.5.5V9c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5V5.5c0-.3-.2-.5-.5-.5m-1 6c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5z"})}))),"¢":Iq,"©":kq,"23F4":Mq,2013:qq,"&":Tq,add:Aq,"minus-2":Dq,dot:Pq},$q=e=>{let{size:t,iconKey:r,color:n,pvStyle:o}=e;const i=r&&Hq[r];return i&&Tl.jsx("div",{"data-testid":"representation-indicator-icon",style:{color:n,height:t,...o},children:Tl.jsx(i,{style:{height:t}})})},Bq=e=>{let{representation:t,cellValue:r,paginationCellAlign:n}=e;const{styleService:o,theme:i,direction:a}=_T(MT,(e=>e.baseProps)),{text:s,indicator:l}=t,{showTextValues:u,applySegmentColors:c}=l??{},d=mq(t,r,a,i),p=(e=>parseInt(e||WD,10))(o.measure.values.fontSize),{color:f,iconKey:h,position:m}=d||{};return u?Tl.jsxs("div",{"data-key":"representation-indicator",style:{display:"flex",justifyContent:n??"flex-end",alignItems:"center",gap:"2px",overflow:"hidden",color:c?f:void 0},children:["left"===m&&$q({size:p,iconKey:h,color:f}),Tl.jsx(sq,{isNumeric:!0,children:s}),"right"===m&&$q({size:p,iconKey:h,color:f})]}):$q({size:p,iconKey:h,color:f})},Wq=(e,t)=>e.contentStaticLineCount?e.contentLineHeight*(t??e.grid.contentLineClamp):e.contentLineHeight,Vq=e=>{let{forwardRef:t,cell:r,style:n,virtualizedCell:o,lineClamp:i,intersectionObserverTaskScheduler:a,resizeObserverTaskScheduler:s,paginationCellAlign:l}=e;const{interactions:u,styleService:c,theme:d,layout:p,downloadService:f,direction:h}=_T(MT,(e=>e.baseProps)),m=_T(MT,(e=>e.selectionState.api?.isActive()));let g=r.representation.text;if(r.representation.type!==yw.Link||m||(g=Tl.jsx(FO,{href:r.representation.url,text:r.representation.text,interactions:u,color:n.cellForegroundColor})),r.representation.type===yw.Image)return Tl.jsx(Rq,{representation:r.representation,textStyle:n,maxImageHeight:Wq(c,i),wrapInContainer:!o});const b="string"==typeof(v=r.qIsNull?r.representation.text:r.qNum)&&v.length>0||"number"==typeof v?+v:NaN;var v;return r.representation.type!==yw.Indicator||Number.isNaN(b)?r.representation.type===yw.MiniChart&&r.representation.miniChart&&!r.isNull?Tl.jsx(iq,{height:Wq(c,i),intersectionObserverTaskScheduler:a,resizeObserverTaskScheduler:s,miniChartData:r.representation.miniChart,theme:d,isSnapshot:!!p.snapshotData,direction:h,downloadService:f}):Tl.jsx(sq,{forwardRef:t,isNumeric:r.isNumeric,lineClamp:i,isPagination:!o,children:g}):Tl.jsx(Bq,{representation:r.representation,cellValue:b,paginationCellAlign:o?void 0:l})},Gq=(e,t,r,n)=>({handleMouseDown:n=>{e?.(n);const o=n.target;if(t.isSelectable&&"A"!==o.tagName){const e=()=>{r({type:WI.SelectMultiEnd})};r({type:WI.SelectMouseDown,payload:{cell:t,mouseupOutsideCallback:e}})}},handleMouseOver:e=>{1===e.buttons&&r({type:WI.SelectMultiAdd,payload:{cell:t,evt:e,announce:n}})},handleMouseUp:e=>{0===e.button&&r({type:WI.SelectMouseUp,payload:{cell:t,evt:e,announce:n}})}}),Uq=(e,t)=>{const{paginationNeeded:r,totalsPosition:n}=_T(MT,(e=>e.tableData)),{selectionsAPI:o,rootElement:i,keyboard:a,interactions:s,direction:l}=_T(MT,(e=>e.baseProps)),u=_T(MT,(e=>e.setFocusedCellCoord)),c=_T(MT,(e=>e.selectionDispatch)),d=!!s.active&&!!s.select,p=s=>{kO({evt:s,rootElement:i,selectionsAPI:o,cell:e,selectionDispatch:c,isSelectionsEnabled:d,setFocusedCellCoord:u,announce:t,keyboard:a,paginationNeeded:r,totalsPosition:n,direction:l})},f=e=>{((e,t)=>{e.key===vS.Shift&&t({type:WI.SelectMultiEnd})})(e,c)},h=()=>{((e,t,r,n,o)=>{const{pageRowIdx:i,pageColIdx:a}=e,s=o.atTop?i+2:i+1;yO([s,a],t,r,n)})(e,i,u,a,n)};if(!d)return{onKeyDown:p,onKeyUp:f,onMouseDown:h};const{handleMouseDown:m,handleMouseOver:g,handleMouseUp:b}=Gq(h,e,c,t);return{onKeyDown:p,onKeyUp:f,onMouseDown:m,onMouseUp:b,onMouseOver:g}},Yq=(e,t)=>{const{colIdx:r,rows:n,api:o}=t;let i=BI.Inactive;return o?.isModal()&&(i=r!==e.selectionColIdx?BI.Disabled:n.has(e.qElemNumber)?BI.Selected:BI.Possible),i},Kq=(e,t,r)=>{if(!r.isNull)return e;const n={...e,...t.nullValues};return t.grid.zebraStripes.show?(t.grid.zebraStripes.overrideNullValueColor&&(n.color=e.color),t.grid.zebraStripes.overrideNullValueBackground&&(n.background=e.background),n):n},Xq=(e,t,r)=>{const{color:n,background:o}=e.grid.zebraStripes[r];return{...t,...n?{color:n}:void 0,...o?{background:o}:void 0}},Jq=(e,t,r)=>{if(t.grid.zebraStripes.show){const n=(r.rowIdx+1)%2==0;return Xq(t,e,n?"even":"odd")}return e},Zq=(e,t)=>{const{styleService:r}=_T(MT,(e=>e.baseProps)),n=_T(MT,(t=>Yq(e,t.selectionState)));let o=t.isDim?r.dimension.values:r.measure.values;o=Jq(o,r,e),o=Kq(o,r,e);const i=bT(o,e.qAttrExps,t.qAttrExprInfoIDs),a=function(e,t,r){return t===BI.Selected?{...e,...r}:t===BI.Disabled?{...e,background:`${$D}, ${e.background}`}:e}(E((()=>e.isNull?o:bT(o,e.qAttrExps,t.qAttrExprInfoIDs)),[o,e.qAttrExps,e.isNull,t.qAttrExprInfoIDs]),n,r.selectedColors);return{cellStyle:{...a,borderColor:r.grid.border},representationStyle:i,cellSelectionState:n}},Qq=eI(SM,{shouldForwardProp:e=>"lastRowBottomBorder"!==e})((e=>{let{lastRowBottomBorder:t}=e;return{"& tr:last-child":{"& td, th":{borderBottomWidth:t}}}})),eN=eI($M,{shouldForwardProp:e=>"hoverColors"!==e&&"hover"!==e&&"height"!==e})((e=>{let{hover:t,hoverColors:r,height:n}=e;return{height:n,"&&:hover":{background:"none"},...t&&{"&&:hover":{"& td:not(.selected), th:not(.selected)":r}}}})),tN=eI(AM,{shouldForwardProp:e=>"cellStyle"!==e})((e=>{let{cellStyle:t,theme:r}=e;return{...UD,...t,padding:r.spacing(.5,1.5),verticalAlign:"top",width:"100%",height:"100%"}})),rN=eI(AM,{shouldForwardProp:e=>!["atTop","headRowHeight","totalsStyle","direction"].includes(e)})((e=>{let{totalsStyle:t,atTop:r,headRowHeight:n,theme:o}=e;return{...UD,...t,fontWeight:VD,position:"sticky",padding:o.spacing(.5,1.5),borderWidth:r?"0px 1px 1px 0px":"1px 1px 1px 0px",top:r?n:void 0,bottom:r?void 0:0,verticalAlign:r?"bottom":"top",zIndex:r?1:void 0}})),nN=e=>{let{cell:t,announce:r,column:n,columnIndex:o,intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a}=e;const{interactions:s,direction:l}=_T(MT,(e=>e.baseProps)),{onKeyDown:u,onKeyUp:c,onMouseDown:d,onMouseUp:p,onMouseOver:f}=Uq(t,r),{cellStyle:h,representationStyle:m,cellSelectionState:g}=Zq(t,n);return Tl.jsx(tN,{cellStyle:h,scope:0===o?"row":void 0,component:0===o?"th":void 0,align:t.align,tabIndex:-1,className:`sn-table-cell ${g} ${bS}`,title:s.passive?t.representation.text:void 0,onKeyDown:u,onKeyUp:c,onMouseDown:d,onMouseUp:p,onMouseOver:f,children:Tl.jsx(Vq,{cell:t,style:m,intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a,paginationCellAlign:xq(l,t.align)})})},oN=(e,t,r)=>{let{atTop:n,atBottom:o}=t;return{borderLeftColor:e.grid.border,borderRightColor:e.grid.border,borderTopColor:!r&&o?e.grid.divider:e.grid.border,borderBottomColor:r&&!n||!r&&n?e.grid.divider:e.grid.border}},iN=()=>{const{columns:e,totalsPosition:t,rows:r}=_T(MT,(e=>e.tableData)),{rootElement:n,selectionsAPI:o,keyboard:i,styleService:a,interactions:s,direction:l}=_T(MT,(e=>e.baseProps)),u=_T(MT,(e=>e.headRowHeight)),c=_T(MT,(e=>e.setFocusedCellCoord)),d=!!o?.isModal(),p=!!s.active;return Tl.jsx($M,{className:"sn-table-row sn-table-totals-row",children:e.map(((e,o)=>{const f=[t.atTop?1:r.length+1,o];return Tl.jsx(rN,{totalsStyle:{...a.totalRow,...oN(a,t,!1)},headRowHeight:u,atTop:t.atTop,align:e.totalsTextAlign,className:`sn-table-cell ${bS}`,tabIndex:-1,title:s.passive?e.totalInfo:void 0,onKeyDown:e=>{(e=>{const{isSelectionMode:t,evt:r,isInteractionEnabled:n}=e;if(!t&&n)switch(r.key){case vS.C:EO(r);break;case vS.Space:r.preventDefault();break;default:RO(e)}else Ux(r)})({evt:e,rootElement:n,cellCoord:f,setFocusedCellCoord:c,isSelectionMode:d,isInteractionEnabled:p,direction:l})},onMouseDown:()=>{yO(f,n,c,i)},children:Tl.jsx(sq,{isNumeric:e.isTotalNumeric,isPagination:!0,children:e.totalInfo})},e.id)}))})};var aN=O(iN);const sN=e=>{let{updateShouldRefocus:t,tableWrapperRef:r,announce:n}=e;const{rows:o,columns:i,totalsPosition:a}=_T(MT,(e=>e.tableData)),{selectionsAPI:s,keyboard:l,layout:u,styleService:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.selectionDispatch)),p=!!fT(u)?.content?.hoverEffect;NO({keyboard:l,selectionDispatch:d,selectionsAPI:s,updateShouldRefocus:t,tableWrapperRef:r});const f=(e=>{const t=T((t=>new IntersectionObserver((e=>{e.forEach((e=>{const r=t.get(e.target);r?.(e)}))}),{root:e.current})),[e]);return _O(t)})(r),h=qO();return Tl.jsxs(Qq,{lastRowBottomBorder:c.grid.lastRowBottomBorder,children:[a.atTop?Tl.jsx(aN,{}):void 0,o.map(((e,t)=>Tl.jsx(eN,{hoverColors:c.grid.hoverColors,hover:p,tabIndex:-1,className:"sn-table-row sn-table-data-row",height:c.contentMinRowHeight,children:i.map(((t,r)=>{const{id:o}=t,i=e[r];return Tl.jsx(nN,{columnIndex:r,cell:i,column:t,announce:n,intersectionObserverTaskScheduler:f,resizeObserverTaskScheduler:h},o)}))},`row-${t}`))),a.atBottom?Tl.jsx(aN,{}):void 0]})};var lN=O(sN);const uN=(e,t)=>!!e.viewState?.skipHeader||!!t.hideHeader,cN=e=>{let{column:t,isLastColumn:r,onColumnResize:n,setIsAdjustingWidth:o}=e;const{pageColIdx:i,label:a}=t,{applyColumnWidths:s,interactions:l,translator:u,direction:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.columnWidths)),p=_T(MT,(e=>e.setColumnWidths));if(!l.active)return null;return Tl.jsx(zT,{columnWidth:d[i],isLastColumn:r,keyValue:`adjuster-${i}`,updateWidthCallback:e=>{n?.();const t=[...d];t[i]=e,p(t)},confirmWidthCallback:e=>{s(e,t)},handleBlur:e=>{(e=>{hO(e);const t=e.closest(".sn-table-cell");gO(t)})(e.currentTarget)},setIsAdjustingWidth:o,accessibilityRelatedArgs:{translator:u,columnLabel:a},direction:c})},dN=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),pN=_(((e,t)=>Tl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Tl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),fN=_(((e,t)=>Tl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Tl.jsx("path",{d:"M13 7H8zV4.982C13 2.23 10.761 0 8 0S3 2.23 3 4.982V7h.75H3h1.5V5.332C4.5 3.216 5.549 1.5 8 1.5s3.5 1.716 3.5 3.832V7h.75H3a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H3z"}),Tl.jsx("use",{fillRule:"evenodd"})]}))),hN=eI("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((e=>{let{direction:t,isPagination:r}=e;return{position:"absolute",left:r&&"rtl"===t?0:void 0,bottom:0}})),mN=eI(lM,{shouldForwardProp:e=>!["textAlign","direction","isPagination"].includes(e)})((e=>{let{textAlign:t,theme:r,direction:n,isPagination:o}=e;return{textAlign:t,height:"auto",padding:r.spacing(.5,1),display:"flex",alignItems:"flex-end",justifySelf:t,alignSelf:"center",flexDirection:"rtl"===n?vq(t,o):void 0}})),gN=eI(lM,{shouldForwardProp:e=>"shouldShowMenuIcon"!==e&&"shouldShowLockIcon"!==e&&"alignment"!==e})((e=>{let{shouldShowMenuIcon:t,shouldShowLockIcon:r,alignment:n}=e;const o=t?"24px":"";let i;switch(n){case"left":i={gridTemplateColumns:r?`20px 2fr ${o}`:`1fr ${o}`};break;case"center":{const e=t||r;i={gridTemplateColumns:e?"24px 2fr 24px":"1fr","& .sn-table-lock-icon":{gridColumn:1},"& .sn-table-head-label":{gridColumn:e?2:1},[`& .${hS}`]:{gridColumn:3}};break}case"right":i={gridTemplateColumns:r?`${o} 2fr 20px`:`${o} 1fr`,"& .sn-table-lock-icon":{gridColumn:r?3:"unset"},"& .sn-table-head-label":{gridColumn:t?2:"span 2"},[`& .${hS}`]:{gridColumn:1}}}return{width:"100%",display:"grid",gridAutoFlow:"dense",fontSize:"inherit",fontFamily:"inherit",alignItems:"end",overflow:"hidden",...i}})),bN=eI(lM,{shouldForwardProp:e=>"rightAligned"!==e})((e=>{let{rightAligned:t}=e;return{display:"flex",alignItems:"center",width:"20px",height:"24px",flexShrink:0,flexDirection:"inherit",justifyContent:t?"flex-start":"flex-end"}})),vN=eI(AM,{shouldForwardProp:e=>"headerStyle"!==e&&"interactions"!==e&&"hoverBackground"!==e&&"background"!==e})((e=>{let{headerStyle:t,interactions:r,hoverBackground:n,background:o}=e;return{...UD,...t,cursor:r.active?"pointer":"default",background:o,verticalAlign:"bottom","&&:focus-visible, &&:hover":{background:r.active?n:o}}})),yN=eI("span",{shouldForwardProp:e=>"align"!==e&&"dir"!==e})((e=>{let{align:t,dir:r}=e;return{minWidth:WD,display:"flex",paddingBottom:"2px",alignSelf:"end",..."right"===t||"rtl"===r&&"center"===t?{paddingRight:"8px"}:{paddingLeft:"8px"}}})),xN=e=>{let{column:t,isInteractionEnabled:r,open:n,setOpen:o,allColumnsIconVisibilityStatusRef:i,isPagination:a,forwardRef:s}=e;const{translator:l,changeSortOrder:u,interactions:c,embed:d,app:p,styleService:f,layout:h,direction:m}=_T(MT,(e=>e.baseProps)),g=_T(MT,(e=>e.columnWidths[t.pageColIdx])),b=_T(MT,(e=>e.baseProps.model)),v=D(null),y=D(null),x=(e=>{let{styleService:t,column:r,columnWidth:n}=e;const{measureText:o}=nS({fontSize:t.header.fontSize,fontFamily:t.header.fontFamily,fontWeight:VD});return T((()=>{let e=!1,t=!1,i=!1;const a=r.isLocked,s=r.isActivelySorted,l=n-25,u=a?20:0,c=s?20:0;let d=o(r.label);return a&&d+u<=l&&(i=!0,d+=u,s&&d+c<=l&&(t=!0,d+=c)),!a&&s&&d+c<=l&&(t=!0,d+=c),d+24<=l&&(e=!0,d+=24),{shouldShowMenuIcon:e,shouldShowSortIcon:t,shouldShowLockIcon:i}}),[r.isLocked,r.label,r.isActivelySorted,n,o])})({styleService:f,column:t,columnWidth:g}),S=x(),{StartIcon:C,EndIcon:w,LockIcon:E}=((e,t,r)=>{let{sortDirection:n,headTextAlign:o}=e,{shouldShowSortIcon:i,shouldShowLockIcon:a}=t;const s="A"===n?Tl.jsx(dN,{height:WD,"data-testid":"head-cell-sort-ascending-icon"}):Tl.jsx(pN,{height:WD,"data-testid":"head-cell-sort-descending-icon"}),l=i?Tl.jsx(yN,{align:o,dir:r,children:s}):void 0,u=a?Tl.jsx(bN,{rightAligned:"right"===o,className:"sn-table-lock-icon",children:Tl.jsx(fN,{height:WD,"data-testid":"head-cell-lock-icon"})}):void 0;return"right"===o?{StartIcon:l,LockIcon:u}:{EndIcon:l,LockIcon:u}})(t,S,m);i&&(i.current[t.pageColIdx]=S);return Tl.jsxs(gN,{shouldShowMenuIcon:S.shouldShowMenuIcon,shouldShowLockIcon:S.shouldShowLockIcon,alignment:yq(t,a,m),children:[E,Tl.jsxs(mN,{className:"sn-table-head-label",textAlign:t.headTextAlign,direction:m,isPagination:a,children:[C,Tl.jsx(sq,{forwardRef:s,isPagination:a,isHeadCell:!0,children:t.label}),w]}),r?Tl.jsxs(Tl.Fragment,{children:[Tl.jsx(k_,{headerData:{...t,dimensionInfoIndex:t.colIdx},translator:l,anchorRef:v,menuAvailabilityFlags:{[R_.Sorting]:!0,[R_.Searching]:!0,[R_.Selections]:!0,[R_.AdjusterHeaderSize]:!0},open:n,setOpen:o,interactions:c,sortRelatedArgs:{sortFromMenu:(e,r)=>(e.stopPropagation(),u(t,r))},searchRelatedArgs:{embed:d,listboxRef:y},selectionRelatedArgs:{app:p,qStateName:h.qStateName},adjustHeaderSizeRelatedArgs:{focusColumnAdjuster:bO},shouldShowMenuIcon:S.shouldShowMenuIcon,model:b,direction:m,isPagination:a}),Tl.jsx(hN,{ref:y,direction:m,isPagination:a}),Tl.jsx(hN,{ref:v,direction:m})]}):null]})},SN=e=>{let{isInteractionEnabled:t,columnsData:r}=e;const[n,o]=w(!1),{isAdjustingWidth:i,setIsAdjustingWidth:a}=(e=>{const[t,r]=w(!1);return lS((()=>{r(!1)}),e),{isAdjustingWidth:t,setIsAdjustingWidth:r}})([r]);return{open:n,setOpen:o,handleOpenMenu:e=>{!t||(e=>e.target?.getAttribute("class")?.includes(yS))(e)||i||o(!0)},setIsAdjustingWidth:a}},CN=e=>{let{column:t,columnIndex:r,columnsLength:n}=e;const{interactions:o,rootElement:i,keyboard:a,styleService:s,direction:l}=_T(MT,(e=>e.baseProps)),{columns:u,totalsPosition:c}=_T(MT,(e=>e.tableData)),d=_T(MT,(e=>e.columnWidths[r])),p=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal())),f=_T(MT,(e=>e.setFocusedCellCoord)),h=_T(MT,(e=>{let{focusedCellCoord:[t,n]}=e;return 0===t&&n===r})),m=!!o.active&&!p,{open:g,setOpen:b,handleOpenMenu:v,setIsAdjustingWidth:y}=SN({isInteractionEnabled:m,columnsData:u}),x=t.isActivelySorted?VI[t.sortDirection]:void 0,S=g?gS:void 0,C=g?"true":void 0,w=r===n-1,E=[0,t.pageColIdx],R={width:d-(w?8:9),zIndex:u.length-r},A=h&&0===r&&!a.enabled&&m?0:-1;return Tl.jsxs(vN,{headerStyle:{...s.header,...oN(s,c,!0)},background:g?s.headerMenuActiveBackground:s.header.background,hoverBackground:s.headerMenuHoverBackground,interactions:o,style:R,align:t.headTextAlign,className:`sn-table-head-cell sn-table-cell ${bS}`,tabIndex:A,title:o.passive?t.label:void 0,onKeyDown:e=>{(e=>{const{isInteractionEnabled:t,evt:r,handleOpenMenu:n}=e;if(t)switch(r.key){case vS.C:EO(r);break;case vS.Enter:case vS.Space:n?.(r);break;default:RO(e)}else Ux(r)})({evt:e,rootElement:i,cellCoord:E,setFocusedCellCoord:f,isInteractionEnabled:m,handleOpenMenu:v,direction:l})},onMouseDown:e=>{(e=>{let{evt:t,rootElement:r,cellCoord:n,setFocusedCellCoord:o,keyboard:i,isInteractionEnabled:a}=e;t.preventDefault(),a&&yO(n,r,o,i)})({evt:e,rootElement:i,cellCoord:E,setFocusedCellCoord:f,keyboard:a,isInteractionEnabled:m})},onClick:v,"aria-sort":x,"aria-controls":S,"aria-expanded":C,"aria-haspopup":"true",children:[Tl.jsx(xN,{column:t,isInteractionEnabled:m,open:g,setOpen:b,isPagination:!0}),Tl.jsx(cN,{column:t,isLastColumn:w,setIsAdjustingWidth:y})]},t.id)},wN=()=>{const{columns:e}=_T(MT,(e=>e.tableData)),{styleService:t,viewService:r,layout:n}=_T(MT,(e=>e.baseProps)),o=_T(MT,(e=>e.setHeadRowHeight)),i=_T(MT,(e=>e.columnWidths)),a=D(null),s=uN(r,n);return R((()=>{a.current&&o(a.current.getBoundingClientRect().height)}),[t.header.fontSize,i,o,s]),Tl.jsx(qM,{style:{visibility:s?"collapse":void 0},children:Tl.jsx($M,{ref:a,className:"sn-table-row sn-table-head-row",children:e.map(((t,r)=>Tl.jsx(CN,{column:t,columnIndex:r,columnsLength:e.length},t.id)))})})};var EN=O(wN);const RN=e=>{const{pageInfo:t,setPageInfo:r,footerContainer:n,announce:o}=e,{page:i,rowsPerPage:a}=t,{totalColumnCount:s,totalRowCount:l,totalPages:u,paginationNeeded:c,rows:d,columns:p}=_T(MT,(e=>e.tableData)),{rootElement:f,keyboard:h,translator:m,theme:g,interactions:b,styleService:v,viewService:y,layout:x,rect:S,direction:C}=_T(MT,(e=>e.baseProps)),w=_T(MT,(e=>e.setYScrollbarWidth)),E=_T(MT,(e=>e.showRightBorder)),A=_T(MT,(e=>e.selectionDispatch)),P=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal())),k=D(!1),I=D(null),M=D(null),{yScrollbarWidth:L}=IO(I),_=`${m.get("SNTable.Accessibility.RowsAndColumns",[String(d.length),String(p.length)])} ${m.get("SNTable.Accessibility.NavigationInstructions")}`,O=MR(x,y),q=O?y.scrollLeft??0:0,N=O?y.rowPartialHeight??0:0,j=T((()=>{k.current=f.getElementsByTagName("table")[0].contains(document.activeElement)}),[f]),z=T((e=>{r({...t,page:e}),o({keys:[["SNTable.Pagination.PageStatusReport",(e+1).toString(),u.toString()]],politeness:"assertive"})}),[t,r,u,o]),F=T((e=>{r({...t,page:0,rowsPerPage:e}),o({keys:[["SNTable.Pagination.RowsPerPageChange",e.toString()]],politeness:"assertive"})}),[o,t,r]);return wO(I,C,y),((e,t)=>{const{keyboard:r}=_T(MT,(e=>e.baseProps));R((()=>{const n=e.current;if(!n)return;const o=e=>{xO(e,t,r)};return n.addEventListener("focusout",o),()=>{n.removeEventListener("focusout",o)}}),[e,t,r])})(M,k),(()=>{const{rootElement:e,keyboard:t}=_T(MT,(e=>e.baseProps)),r=_T(MT,(e=>e.focusedCellCoord));lS((()=>{const n=pO(e,r);t.active?gO(n):(n?.blur(),mO(e))}),[t.active,e])})(),CO(k,o,i),R((()=>{const e=I.current;e&&(e.scrollLeft=q,e.scrollTop=N)}),[t,l,q,N]),lO((()=>{w(L)}),[L]),lO((()=>{A({type:WI.UpdatePageRows,payload:{pageRows:d}})}),[d]),SO(),Tl.jsxs(aO,{ref:M,background:g.background,dir:C,onKeyDown:e=>{PO({evt:e,totalRowCount:l,page:i,rowsPerPage:a,handleChangePage:z,updateShouldRefocus:j,keyboard:h,isSelectionMode:P})},"data-testid":"sn-table",children:[Tl.jsx(TO,{}),Tl.jsx(LO,{ref:I,className:"sn-table-container",fullHeight:!!n||!b.active||!c,interactions:b,tabIndex:-1,role:"application","data-testid":"table-container",children:Tl.jsxs(DO,{stickyHeader:!0,"aria-label":_,borderRight:E?`1px solid ${v.grid.border}`:void 0,children:[Tl.jsx(EN,{}),Tl.jsx(lN,{...e,updateShouldRefocus:j,tableWrapperRef:M})]})}),Tl.jsx(oO,{footerContainer:n,pageInfo:t,paginationNeeded:c,theme:g,totalRowCount:l,totalColumnCount:s,totalPages:u,keyboard:h,translator:m,interactions:b,rect:S,layout:x,handleChangePage:z,handleChangeRowsPerPage:F,isSelectionMode:P,direction:C})]})};var AN=O(RN),PN=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function kN(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(n=e[r],o=t[r],!(n===o||PN(n)&&PN(o)))return!1;var n,o;return!0}function IN(e,t){var r;void 0===t&&(t=kN);var n,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&r===this&&t(a,o)||(n=e.apply(this,a),i=!0,r=this,o=a),n}}var MN="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function LN(e){cancelAnimationFrame(e.id)}function DN(e,t){var r=MN();var n={id:requestAnimationFrame((function o(){MN()-r>=t?e.call(null):n.id=requestAnimationFrame(o)}))};return n}var TN=-1;function _N(e){if(void 0===e&&(e=!1),-1===TN||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),TN=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return TN}var ON=null;function qN(e){if(void 0===e&&(e=!1),null===ON||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ON="positive-descending":(t.scrollLeft=1,ON=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),ON}return ON}var NN=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function jN(e){var t,r=e.getColumnOffset,n=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,l=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,c=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=h(n.props,bo(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:bo(n),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof n.props.initialScrollLeft?n.props.initialScrollLeft:0,scrollTop:"number"==typeof n.props.initialScrollTop?n.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},n._callOnItemsRendered=void 0,n._callOnItemsRendered=IN((function(e,t,r,o,i,a,s,l){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:s,visibleRowStopIndex:l})})),n._callOnScroll=void 0,n._callOnScroll=IN((function(e,t,r,o,i){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var o,a=n.props,s=a.columnWidth,l=a.direction,u=a.rowHeight,p=n._getItemStyleCache(m&&s,m&&l,m&&u),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=r(n.props,t,n._instanceProps),g="rtl"===l;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(n.props,e,n._instanceProps),height:c(n.props,e,n._instanceProps),width:i(n.props,t,n._instanceProps)}}return o},n._getItemStyleCache=void 0,n._getItemStyleCache=IN((function(e,t,r){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,s=t.scrollHeight,l=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=n.props.direction,u=i;if("rtl"===t)switch(qN()){case"negative":u=-i;break;case"positive-descending":u=l-o-i}u=Math.max(0,Math.min(u,l-o));var c=Math.max(0,Math.min(a,s-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:u,scrollTop:c,verticalScrollDirection:e.scrollTop<a?"forward":"backward",scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&LN(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=DN(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}go(t,e),t.getDerivedStateFromProps=function(e,t){return zN(e,t),g(e),null};var b=t.prototype;return b.scrollTo=function(e){var t=e.scrollLeft,r=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==r&&(r=Math.max(0,r)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===r&&(r=e.scrollTop),e.scrollLeft===t&&e.scrollTop===r?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:r,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<r?"forward":"backward"}}),this._resetIsScrollingDebounced)},b.scrollToItem=function(e){var t=e.align,r=void 0===t?"auto":t,n=e.columnIndex,o=e.rowIndex,i=this.props,c=i.columnCount,d=i.height,p=i.rowCount,f=i.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,b=_N();void 0!==n&&(n=Math.max(0,Math.min(n,c-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var v=a(this.props,this._instanceProps),y=s(this.props,this._instanceProps)>f?b:0,x=v>d?b:0;this.scrollTo({scrollLeft:void 0!==n?l(this.props,n,r,m,this._instanceProps,x):m,scrollTop:void 0!==o?u(this.props,o,r,g,this._instanceProps,y):g})},b.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,r=e.initialScrollTop;if(null!=this._outerRef){var n=this._outerRef;"number"==typeof t&&(n.scrollLeft=t),"number"==typeof r&&(n.scrollTop=r)}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props.direction,t=this.state,r=t.scrollLeft,n=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(qN()){case"negative":o.scrollLeft=-r;break;case"positive-ascending":o.scrollLeft=r;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-r}else o.scrollLeft=Math.max(0,r);o.scrollTop=Math.max(0,n)}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&LN(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,r=e.className,n=e.columnCount,o=e.direction,i=e.height,l=e.innerRef,u=e.innerElementType,c=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?NN:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,b=e.style,v=e.useIsScrolling,y=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),C=S[0],w=S[1],E=this._getVerticalRangeToRender(),R=E[0],P=E[1],k=[];if(n>0&&g)for(var I=R;I<=P;I++)for(var M=C;M<=w;M++)k.push(A(t,{columnIndex:M,data:d,isScrolling:v?x:void 0,key:f({columnIndex:M,data:d,rowIndex:I}),rowIndex:I,style:this._getItemStyle(I,M)}));var L=a(this.props,this._instanceProps),D=s(this.props,this._instanceProps);return A(h||m||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:lo({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},A(u||c||"div",{children:k,ref:l,style:{height:L,pointerEvents:x?"none":void 0,width:D}}))},b._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,r=e.onItemsRendered,n=e.onScroll,o=e.rowCount;if("function"==typeof r&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],s=i[1],l=i[2],u=i[3],c=this._getVerticalRangeToRender(),d=c[0],p=c[1],f=c[2],h=c[3];this._callOnItemsRendered(a,s,d,p,l,u,f,h)}if("function"==typeof n){var m=this.state,g=m.horizontalScrollDirection,b=m.scrollLeft,v=m.scrollTop,y=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(b,v,g,x,y)}},b._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,s=e.rowCount,l=this.state,u=l.horizontalScrollDirection,c=l.isScrolling,d=l.scrollLeft,p=r||i||a||1;if(0===t||0===s)return[0,0,0,0];var f=n(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=c&&"backward"!==u?1:Math.max(1,p),g=c&&"forward"!==u?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},b._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanCount,n=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,s=a.isScrolling,l=a.verticalScrollDirection,u=a.scrollTop,c=n||o||r||1;if(0===t||0===i)return[0,0,0,0];var d=p(this.props,u,this._instanceProps),h=f(this.props,d,u,this._instanceProps),m=s&&"backward"!==l?1:Math.max(1,c),g=s&&"forward"!==l?1:Math.max(1,c);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(N),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var zN=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},FN=function(e,t){var r=e.rowCount,n=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},HN=function(e,t){var r=e.columnCount,n=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},$N=function(e,t,r,n){var o,i,a;if("column"===e?(o=n.columnMetadataMap,i=t.columnWidth,a=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=t.rowHeight,a=n.lastMeasuredRowIndex),r>a){var s=0;if(a>=0){var l=o[a];s=l.offset+l.size}for(var u=a+1;u<=r;u++){var c=i(u);o[u]={offset:s,size:c},s+=c}"column"===e?n.lastMeasuredColumnIndex=r:n.lastMeasuredRowIndex=r}return o[r]},BN=function(e,t,r,n){var o,i;return"column"===e?(o=r.columnMetadataMap,i=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=r.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=n?WN(e,t,r,i,0,n):VN(e,t,r,Math.max(0,i),n)},WN=function(e,t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),s=$N(e,t,a,r).offset;if(s===i)return a;s<i?o=a+1:s>i&&(n=a-1)}return o>0?o-1:0},VN=function(e,t,r,n,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;n<i&&$N(e,t,n,r).offset<o;)n+=a,a*=2;return WN(e,t,r,Math.min(n,i-1),Math.floor(n/2),o)},GN=function(e,t,r,n,o,i,a){var s="column"===e?t.width:t.height,l=$N(e,t,r,i),u="column"===e?HN(t,i):FN(t,i),c=Math.max(0,Math.min(u-s,l.offset)),d=Math.max(0,l.offset-s+a+l.size);switch("smart"===n&&(n=o>=d-s&&o<=c+s?"auto":"center"),n){case"start":return c;case"end":return d;case"center":return Math.round(d+(c-d)/2);default:return o>=d&&o<=c?o:d>c||o<d?d:c}},UN=jN({getColumnOffset:function(e,t,r){return $N("column",e,t,r).offset},getColumnStartIndexForOffset:function(e,t,r){return BN("column",e,r,t)},getColumnStopIndexForStartIndex:function(e,t,r,n){for(var o=e.columnCount,i=e.width,a=$N("column",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=$N("column",e,u,n).size;return u},getColumnWidth:function(e,t,r){return r.columnMetadataMap[t].size},getEstimatedTotalHeight:FN,getEstimatedTotalWidth:HN,getOffsetForColumnAndAlignment:function(e,t,r,n,o,i){return GN("column",e,t,r,n,o,i)},getOffsetForRowAndAlignment:function(e,t,r,n,o,i){return GN("row",e,t,r,n,o,i)},getRowOffset:function(e,t,r){return $N("row",e,t,r).offset},getRowHeight:function(e,t,r){return r.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,r){return BN("row",e,r,t)},getRowStopIndexForStartIndex:function(e,t,r,n){for(var o=e.rowCount,i=e.height,a=$N("row",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=$N("row",e,u,n).size;return u},initInstanceProps:function(e,t){var r=e,n={columnMetadataMap:{},estimatedColumnWidth:r.estimatedColumnWidth||50,estimatedRowHeight:r.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:r})},t.resetAfterRowIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:r})},t.resetAfterIndices=function(e){var r=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof r&&(n.lastMeasuredColumnIndex=Math.min(n.lastMeasuredColumnIndex,r-1)),"number"==typeof o&&(n.lastMeasuredRowIndex=Math.min(n.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),YN=function(e,t){return e};function KN(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,l=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,c=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=l(n.props,bo(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:bo(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=IN((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=IN((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,a=i.direction,s=i.itemSize,l=i.layout,c=n._getItemStyleCache(u&&s,u&&l,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),p=o(n.props,e,n._instanceProps),f="horizontal"===a||"horizontal"===l,h="rtl"===a,m=f?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=IN((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(qN()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&LN(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=DN(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}go(t,e),t.getDerivedStateFromProps=function(e,t){return XN(e,t),c(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,o=r.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var s=0;if(this._outerRef){var l=this._outerRef;s="vertical"===o?l.scrollWidth>l.clientWidth?_N():0:l.scrollHeight>l.clientHeight?_N():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,s))},d.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===n?o.scrollLeft=r:o.scrollTop=r}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,o=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(qN()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&LN(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,r=e.className,o=e.direction,i=e.height,a=e.innerRef,s=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?YN:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,b=e.useIsScrolling,v=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),w=C[0],E=C[1],R=[];if(u>0)for(var P=w;P<=E;P++)R.push(A(t,{data:c,key:p(P,c),index:P,isScrolling:b?y:void 0,style:this._getItemStyle(P)}));var k=n(this.props,this._instanceProps);return A(h||m||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:lo({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},A(s||l||"div",{children:R,ref:a,style:{height:x?"100%":k,pointerEvents:y?"none":void 0,width:x?k:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],o=e[3];this._callOnItemsRendered(t,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,l=n.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,l,this._instanceProps),c=s(this.props,u,l,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,r),p=o&&"forward"!==i?1:Math.max(1,r);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},t}(N),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var XN=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},JN=function(e,t,r){var n=e.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var s=o[i];a=s.offset+s.size}for(var l=i+1;l<=t;l++){var u=n(l);o[l]={offset:a,size:u},a+=u}r.lastMeasuredIndex=t}return o[t]},ZN=function(e,t,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),a=JN(e,i,t).offset;if(a===o)return i;a<o?n=i+1:a>o&&(r=i-1)}return n>0?n-1:0},QN=function(e,t,r,n){for(var o=e.itemCount,i=1;r<o&&JN(e,r,t).offset<n;)r+=i,i*=2;return ZN(e,t,Math.min(r,o-1),Math.floor(r/2),n)},ej=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},tj=KN({getItemOffset:function(e,t,r){return JN(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:ej,getOffsetForIndexAndAlignment:function(e,t,r,n,o,i){var a=e.direction,s=e.height,l=e.layout,u=e.width,c="horizontal"===a||"horizontal"===l?u:s,d=JN(e,t,o),p=ej(e,o),f=Math.max(0,Math.min(p-c,d.offset)),h=Math.max(0,d.offset-c+d.size+i);switch("smart"===r&&(r=n>=h-c&&n<=f+c?"auto":"center"),r){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);default:return n>=h&&n<=f?n:n<h?h:f}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?n[o].offset:0)>=r?ZN(e,t,o,0,r):QN(e,t,Math.max(0,o),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var o=e.direction,i=e.height,a=e.itemCount,s=e.layout,l=e.width,u="horizontal"===o||"horizontal"===s?l:i,c=JN(e,t,n),d=r+u,p=c.offset+c.size,f=t;f<a-1&&p<d;)f++,p+=JN(e,f,n).size;return f},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}});function rj(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var nj=["style"],oj=["style"];function ij(e,t){var r=e.style,n=vo(e,nj),o=t.style,i=vo(t,oj);return!rj(r,o)&&!rj(n,i)}const aj=e=>{let{style:t}=e;return Tl.jsx("div",{className:"sn-table-cell",style:{...t,borderWidth:"0px 1px 1px 0px",boxSizing:"border-box"}})};var sj=x.memo(aj,ij);const lj=e=>e.at(0)?.contentBoxSize.at(0)?.blockSize,uj=(e,t,r)=>{R((()=>{const r=e.current;if(!r)return()=>{};const n=new ResizeObserver(t);return n.observe(r),()=>{n.disconnect()}}),[e,t,r])},cj=()=>{},dj=e=>{e.preventDefault()};const pj=e=>{let{columnIndex:t,rowIndex:r,style:n,data:o}=e;const{rowsInPage:i,columns:a,isHoverEnabled:s,setMeasuredCellHeight:l,lineClamp:u,resizeObserverTaskScheduler:c}=o,d=_T(MT,(e=>e.hoverIndex===r)),p=_T(MT,(e=>e.setHoverIndex)),{interactions:f,styleService:h,direction:m}=_T(MT,(e=>e.baseProps)),g=_T(MT,(e=>e.showRightBorder)),b=i[r]?.[t],{handleMouseDown:v,handleMouseOver:y,handleMouseUp:x,cellSelectionState:S}=function(e){const{interactions:t}=_T(MT,(e=>e.baseProps)),r=_T(MT,(e=>e.selectionDispatch)),n="object"==typeof e,o=_T(MT,(t=>n?Yq(e,t.selectionState):BI.Inactive)),i=t.active&&t.select;if(n&&i){const{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i}=Gq(dj,e,r,cj);return{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i,cellSelectionState:o}}return{cellSelectionState:o}}(b),C=((e,t,r,n)=>{const o=D(null),i=r&&!r.isNumeric,a=T((r=>{const o=lj(r);o&&i&&n(o,e,t)}),[t,n,e,i]);return uj(o,a),o})(r,t,b,l),w=a[t]?.isDim?h.dimension.values:h.measure.values;if("object"==typeof b){const e=((e,t,r,n,o,i)=>{let a=Jq(o,i,e);a=Kq(a,i,e);const s=!e.isNull&&t.qAttrExprInfoIDs.length?bT(a,e.qAttrExps,t.qAttrExprInfoIDs):a;return n===BI.Selected?{...s,...i.selectedColors}:n===BI.Disabled?{...s,color:r?i.grid.hoverColors?.color:s.color,background:`${$D}, ${r?i.grid.hoverColors?.background:s.background}`}:r?{...s,...i.grid.hoverColors}:s})(b,a[t],s&&d,S,w,h),o={rowindex:r,columnindex:t};return Tl.jsx("div",{className:`sn-table-cell ${S} ${bS}`,style:{...n,...e,display:"flex",alignItems:"start",borderColor:h.grid.border,borderTop:"0px",borderBottomWidth:b.isLastRow?"0px":"1px",borderRightWidth:Sq(m,b.isLastColumn,g),borderLeftWidth:Cq(m,b.isLastColumn,g),justifyContent:bq(b,m),borderStyle:"solid",padding:"4px 12px",boxSizing:"border-box",cursor:"default",overflow:"hidden",textAlign:b.align},onMouseDown:v,onMouseUp:x,onMouseOver:y,onMouseEnter:s?()=>{p(r)}:void 0,onMouseLeave:s?()=>{p(-1)}:void 0,title:f.passive?b.representation.text:void 0,...o,children:Tl.jsx(Vq,{forwardRef:h.contentStaticLineCount||1===u?void 0:C,cell:b,style:e,lineClamp:u,virtualizedCell:!0,resizeObserverTaskScheduler:c})})}return Tl.jsx(sj,{style:{...n,...w,borderColor:h.grid.border,borderWidth:"0px 1px 1px 0px",borderStyle:"solid",boxSizing:"border-box"}})};var fj=O(pj,ij);const hj=e=>{const t=D(e);return t.current=e,t},mj=e=>{let{qLeft:t,qTop:r,qWidth:n,qHeight:o}=e;return`${t}-${r}-${n}-${o}`},gj=(e,t,r,n,o)=>{const i=e[r];if(!i)return!0;for(let e=t;e<t+n;e++){const t=i[e];if(t?.rowIdx!==o)return!0}return!1},bj=(e,t,r,n)=>{const o=e.slice(r,n);return 0===o.length||o.some((e=>!e[t]))},vj=(e,t,r,n,o,i,a,s)=>{e.forEach((e=>{e.qMatrix.forEach(((l,u)=>{const c=e.qArea.qTop-t.page*t.rowsPerPage,{row:d,pageRowIdx:p}=((e,t,r,n,o,i,a,s,l,u)=>{const{qSize:c}=a.qHyperCube,d=n.qTop+r,p=o+r,f=e[p]??[];return t.forEach(((e,t)=>{const r=t+n.qLeft;if(f.at(r))return;const{colIdx:o,isDim:h,isLocked:m,bodyTextAlign:g,selectionColIdx:b,qAttrExprInfoIndex:v,representation:y,conditionalColoring:x,qMiniChart:S}=i[r],C=SR(h,e,a),w=!h&&e.qIsNull,E=w?vE(C):bE(e);f[r]={id:hE(),...e,align:kR(E,g,u),rowIdx:d,colIdx:o,isSelectable:h&&!m,pageRowIdx:p,pageColIdx:r,selectionColIdx:b,isLastRow:d===c.qcy-1,isLastColumn:r===c.qcx-1,isNumeric:E,isNull:(!w||!E)&&xR(e,h),representation:yR({cell:e,representationProperties:y,attrExprInfoIndex:v,env:s,conditionalColoring:x,miniChartOnMeasure:S,getText:()=>w?C:e.qText,direction:u,enabledFeatures:{[yw.Image]:s.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[yw.Indicator]:!0,[yw.MiniChart]:!0}})},l(f[r],d,r)})),{row:f,pageRowIdx:p}})(r,l,u,e.qArea,c,n,o,i,a,s);r[p]=d}))}))},yj=e=>{let{layout:t,model:r,theme:n,initialDataPages:o,pageInfo:i,rowCount:a,visibleRowCount:s,visibleColumnCount:l,columns:u,gridState:c,setEstimatedCellHeight:d}=e;const p=_T(MT,(e=>e.env)),{direction:f}=_T(MT,(e=>e.baseProps)),h=D([]),m=T(((e,r)=>{const n=Array.isArray(r)?r.slice(0,a):(e=>Array(e).fill(void 0))(a);return vj(e,i,n,u,t,p,d,f),h.current=n,n}),[a,i,u,t,p,d,f]),[g,b]=w((()=>m(o??[])));lS((()=>{b(m(o??[]))}),[o,f]);const v=((e,t)=>{const r=D(new Set),n=D(new Set),o=D(new Set),i=hj(e),a=hj(t),s=E((()=>({enqueue:e=>{const t=mj(e);o.current.has(t)||(r.current.add(e),o.current.add(t),1===r.current.size&&setTimeout((async()=>{const e=Array.from(r.current.values());if(0!==e.length){r.current.clear(),n.current.add(e);try{const t=(e=>{const t=[];return e.forEach((e=>{if(t.length>0){const r=t[t.length-1];((e,t)=>e.qTop+e.qHeight===t.qTop&&e.qLeft===t.qLeft&&e.qWidth===t.qWidth)(r,e)?r.qHeight+=e.qHeight:((e,t)=>e.qLeft+e.qWidth===t.qLeft&&e.qTop===t.qTop&&e.qHeight===t.qHeight)(r,e)?r.qWidth+=e.qWidth:t.push({...e})}else t.push({...e})})),t})(e),r=await i.current(t);n.current.has(e)&&a.current(r)}catch(t){e.forEach((e=>{o.current.delete(mj(e))})),console.error("Failed to fetch pages",t)}finally{n.current.delete(e)}}}),75))},clear:()=>{r.current.clear(),n.current.clear(),o.current.clear()}})),[i,a]);return s})((e=>r&&"getHyperCubeData"in r?r.getHyperCubeData("/qHyperCubeDef",e):Promise.resolve([])),(e=>{b((t=>m(e,t)))})),y=T(((e,t,r,n)=>{for(let o=e;o<e+r;o++)if(bj(h.current,o,t,n)){const e={qLeft:o,qTop:t,qHeight:n,qWidth:1};v.enqueue(e)}}),[h,v]),x=T(((e,t,r,n)=>{for(let o=t;o<t+n;o++){const t=Math.max(0,o-i.page*i.rowsPerPage);if(gj(h.current,e,t,r,o)){const t={qLeft:e,qTop:o,qHeight:1,qWidth:r};v.enqueue(t)}}}),[h,v,i]);return R((()=>{const{qcx:e,qcy:r}=t.qHyperCube.qSize,n=c.current.overscanRowStartIndex,o=c.current.overscanColumnStartIndex,a=n+i.page*i.rowsPerPage,u=e-o,d=i.rowsPerPage-n,p=Math.min(100,u,e,l+5),f=Math.min(100,d,r,s+25);return x(o,a,p,f),()=>{v.clear()}}),[t,s,l,i,v,x,c,n]),{rowsInPage:g,loadRows:x,loadColumns:y}},xj=e=>{let t=0;return e.forEach((e=>{e>t&&(t=e)})),t},Sj=(e,t)=>void 0===e||Math.abs(e-t)>1e-4,Cj=e=>{let{isSnapshot:t,isStaticNbrOfLines:r,lineClamp:n,setCellHeight:o}=e;const i=_T(MT,(e=>e.baseProps.styleService)),a=_T(MT,(e=>e.columnWidths)),{estimateLineCount:s}=nS(i.dimension.values),l=RT(i.dimension.values.fontSize),u=t||r||1===n;return T(((e,t,r)=>{if(u||e.representation.type===yw.Image||e.isNumeric)return;const i=(e=>Math.max(0,e-24-1))(a[r]),c=e.representation.text?s({text:e.representation.text,maxWidth:i,isNumeric:!1}):1,d=Math.min(n,Math.max(1,c));o(d*l,t,r)}),[u,a,s,n,l,o])},wj=e=>{let{isStaticNbrOfLines:t,minRowHeight:r,state:n,rowCount:o,staticRowHeight:i,viewService:a}=e;return E((()=>{const{estimatedRowHeight:e,totalRowHeight:s}=t?{totalRowHeight:o*i,estimatedRowHeight:i}:(e=>{let t=0;e.forEach((e=>{t+=e}));const r=0===e.size?0:t/e.size;return{estimatedRowHeight:Math.ceil(r),totalRowHeight:t}})(n.rowHeights);return a.estimatedRowHeight=Math.max(e,r),Math.max(o*r,s)}),[t,r,o,n,i,a])},Ej=e=>{let{rowCount:t,isSnapshot:r,viewService:n,gridRef:o,pageInfo:i}=e;const{styleService:a}=_T(MT,(e=>e.baseProps)),[s,l]=w({rowHeights:new Map,cellHeightsInGrid:new Map}),u=a.contentLineHeight,c=a.contentMinRowHeight,d=!!a.contentStaticLineCount,p=Math.max(8e6/t,c)-9,f=p+9,h=Math.max(1,Math.min(a.grid.contentLineClamp,Math.round(p/u))),m=(e=>{let{lineClamp:t,lineHeight:r,isStaticNbrOfLines:n}=e;return n?r*t+8+1:void 0})({lineClamp:h,lineHeight:u,isStaticNbrOfLines:d});(e=>{let{gridRef:t,setState:r,pageInfo:n}=e;const{layout:o}=_T(MT,(e=>e.baseProps)),i=_T(MT,(e=>e.columnWidths)),a=o.multiline?.wrapTextInCells,s=o.nullValueRepresentation?.text;lS((()=>{t.current?.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1}),r({rowHeights:new Map,cellHeightsInGrid:new Map})}),[o.qHyperCube.qSize.qcx,o.qHyperCube.qSize.qcy,n.page,a,s]),lS((()=>{t.current?.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1})}),[i])})({gridRef:o,setState:l,pageInfo:i});const g=(e=>{let{setState:t,maxCellHeight:r,minRowHeight:n,gridRef:o}=e;return T(((e,i,a)=>{j((()=>{t((t=>{const s=Math.max(n,e+9),l=Math.min(r,s),u=t.cellHeightsInGrid.get(i)??t.cellHeightsInGrid.set(i,new Map).get(i);if(!Sj(u.get(a),l))return t;const c={...t};return u.set(a,l),c.rowHeights.set(i,xj(u)),o.current?.resetAfterIndices({columnIndex:a,rowIndex:i,shouldForceUpdate:!1}),c}))}))}),[t,n,r,o])})({maxCellHeight:f,minRowHeight:c,setState:l,gridRef:o}),b=(e=>{let{isSnapshot:t,isStaticNbrOfLines:r,lineClamp:n,setCellHeight:o}=e;return T(((e,i,a)=>{t||r||1===n||o(e,i,a)}),[t,r,n,o])})({isSnapshot:r,isStaticNbrOfLines:d,lineClamp:h,setCellHeight:g});return{setMeasuredCellHeight:b,setEstimatedCellHeight:Cj({isSnapshot:r,isStaticNbrOfLines:d,lineClamp:h,setCellHeight:g}),getRowHeight:T((e=>d?m:s.rowHeights.get(e)??c),[d,c,s.rowHeights,m]),totalRowHeight:wj({isStaticNbrOfLines:d,minRowHeight:c,state:s,staticRowHeight:m,rowCount:t,viewService:n}),lineClamp:h}},Rj=(e,t)=>{q((()=>()=>{t(0)}),[e,t]);const r=T((e=>{const r=lj(e);void 0!==r&&t(r)}),[t]);uj(e,r)};let Aj=function(e){return e.Left="Left",e.Right="Right",e.Up="Up",e.Down="Down",e.None="None",e}({});const Pj=e=>{let{layout:t,loadRows:r,loadColumns:n,rowCount:o,pageInfo:i,gridState:a,viewService:s}=e;const l=T((e=>{let{overscanColumnStartIndex:l,overscanColumnStopIndex:u,overscanRowStartIndex:c,overscanRowStopIndex:d,visibleColumnStartIndex:p,visibleColumnStopIndex:f,visibleRowStartIndex:h,visibleRowStopIndex:m}=e;const{verticalScrollDirection:g,horizontalScrollDirection:b}=((e,t,r)=>{let{overscanColumnStartIndex:n,overscanRowStartIndex:o}=e,i=Aj.None,a=Aj.None;return i=r>o?Aj.Down:r<o?Aj.Up:Aj.None,a=t>n?Aj.Right:t<n?Aj.Left:Aj.None,{verticalScrollDirection:i,horizontalScrollDirection:a}})(a.current,l,c);if(a.current.overscanColumnStartIndex=l,a.current.overscanColumnStopIndex=u,a.current.overscanRowStartIndex=c,a.current.overscanRowStopIndex=d,c>o)return;const v=l,y=c+i.page*i.rowsPerPage,x=u-l+1,S=d-c+1;if(s.visibleLeft=p,s.visibleWidth=f-p+1,s.visibleTop=h+i.page*i.rowsPerPage,s.visibleHeight=m-h+1,s.page=i.page,s.rowsPerPage=i.rowsPerPage,g===Aj.Down){const e=S+25;r(v,y,x,c+e>o?o-c:e)}else if(g===Aj.Up){const e=S+25,t=i.page*i.rowsPerPage,n=Math.max(t,y-25);r(v,n,x,e)}if(b===Aj.Right){const e=t.qHyperCube.qSize.qcx-v,r=x+5,o=Math.min(e,r);n(v,y,o,S)}else if(b===Aj.Left){const e=Math.max(0,v-5),r=Math.min(t.qHyperCube.qSize.qcx,x+5);n(e,y,r,S)}}),[a,o,i.page,i.rowsPerPage,s,r,t.qHyperCube.qSize.qcx,n]);return l},kj={enabled:!1},Ij=()=>{},Mj={current:null};const Lj=(e,t,r,n,o)=>{const i=Math.min(t.rowsPerPage,e.qHyperCube.qSize.qcy-t.page*t.rowsPerPage),a=Math.min(i,Math.ceil(r.height/o)),s=E((()=>n.reduce(((e,t)=>e.width<r.width?{width:e.width+t,count:e.count+1}:e),{count:0,width:0})),[r,n]).count;return{rowCount:i,visibleRowCount:a,visibleColumnCount:s}},Dj=e=>{let{columnIndex:t,data:r,rowIndex:n}=e;const o=r.rowsInPage[n]?.[t];return o?.id??`${n}-${t}`},Tj={overflow:"hidden",willChange:"auto"};var _j=O(_(((e,t)=>{const{rect:r,columns:n,pageInfo:o,headerAndTotalsHeight:i,setInnerBodyHeight:a}=e,{layout:s,model:l,theme:u,viewService:c,styleService:d,direction:p}=_T(MT,(e=>e.baseProps)),f=_T(MT,(e=>e.columnWidths)),h=_T(MT,(e=>e.initialDataPages)),m=D(null),g=D(null),b=D({overscanColumnStartIndex:0,overscanRowStartIndex:0,overscanColumnStopIndex:0,overscanRowStopIndex:0}),v=D(0),y=!!fT(s)?.content?.hoverEffect,{rowCount:x,visibleRowCount:S,visibleColumnCount:C}=Lj(s,o,r,f,d.contentMinRowHeight),{setMeasuredCellHeight:w,setEstimatedCellHeight:A,getRowHeight:P,lineClamp:k,totalRowHeight:I}=Ej({rowCount:x,isSnapshot:!!s.snapshotData,viewService:c,gridRef:m,pageInfo:o}),{rowsInPage:M,loadRows:L,loadColumns:T}=yj({layout:s,model:l,theme:u,initialDataPages:h,pageInfo:o,rowCount:x,visibleRowCount:S,visibleColumnCount:C,columns:n,gridState:b,setEstimatedCellHeight:A}),_=Pj({layout:s,loadRows:L,loadColumns:T,rowCount:x,pageInfo:o,gridState:b,viewService:c}),O=qO(),N=E((()=>({rowsInPage:M,columns:n,isHoverEnabled:y,lineClamp:k,setMeasuredCellHeight:w,resizeObserverTaskScheduler:O})),[M,n,y,k,w,O]),j=((e,t,r)=>Math.min(e.height-t,r))(r,i,I);return q((()=>{1===v.current&&m.current?.scrollToItem({rowIndex:x-1,align:"start"})})),function(e){const{selectionsAPI:t}=_T(MT,(e=>e.baseProps)),r=_T(MT,(e=>e.selectionDispatch));R((()=>{r({type:WI.UpdatePageRows,payload:{pageRows:e}})}),[r,e]),NO({selectionsAPI:t,selectionDispatch:r,updateShouldRefocus:Ij,keyboard:kj,tableWrapperRef:Mj})}(M),z(t,(()=>({interpolatedScrollTo:(e,t)=>{const r=(g.current?.clientHeight??j)-j,n=Math.round(r*e);v.current=e,1===v.current?(m.current?.scrollToItem({rowIndex:x-1,align:"start"}),m.current?.scrollTo({scrollLeft:t})):m.current?.scrollTo({scrollTop:n,scrollLeft:t})}})),[g,j,x]),Rj(g,a),Tl.jsx(UN,{"data-key":"body",ref:m,innerRef:g,style:Tj,columnCount:s.qHyperCube.qSize.qcx,columnWidth:e=>f[e],height:j,rowCount:x,rowHeight:P,estimatedRowHeight:c.estimatedRowHeight,width:r.width,itemData:N,onItemsRendered:_,itemKey:Dj,className:"sn-table-body",direction:p,children:fj})})));const Oj=e=>{let{width:t,height:r,children:n}=e;return Tl.jsx("div",{"data-key":"full-size-container",style:{display:"block",width:t,height:r},children:n})},qj=(e,t)=>{const r=D(null),n=_T(MT,(e=>e.columnWidths));q((()=>{r.current&&t(r.current.getBoundingClientRect().height+9,e)}),[t,r,e,n.length]);const o=T((r=>{const n=lj(r);n&&t(n+9,e)}),[e,t]);return uj(r,o),r},Nj=eI("div",{shouldForwardProp:e=>"interactions"!==e&&"hoverBackground"!==e&&"background"!==e&&"applicableStyle"!==e})((e=>{let{interactions:t,hoverBackground:r,background:n,applicableStyle:o}=e;return{...o,background:n,"&&:hover":{background:t.active?r:void 0}}})),jj=e=>{let{index:t,style:r,data:n}=e;const{columns:o,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setMeasuredCellHeight:s}=n,{interactions:l,styleService:u,direction:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.baseProps.selectionsAPI?.isModal())),p=_T(MT,(e=>e.showRightBorder)),f=_T(MT,(e=>e.tableData.totalsPosition)),h=!!l.active&&!d,{open:m,setOpen:g,handleOpenMenu:b,setIsAdjustingWidth:v}=SN({isInteractionEnabled:h,columnsData:o}),y=qj(t,s),x=o[t],S=o.length-1===t;return Tl.jsxs(Nj,{className:`sn-table-cell ${bS}`,title:l.passive?x.label:void 0,onClick:b,applicableStyle:{...u.header,...oN(u,f,!0)},style:{...r,cursor:"pointer",display:"flex",alignItems:"flex-end",borderStyle:"solid",borderRightWidth:Sq(c,S,p),borderLeftWidth:Cq(c,S,p),borderTopWidth:"0px",borderBottomWidth:"1px",padding:"4px",justifyContent:x.headTextAlign,boxSizing:"border-box",zIndex:o.length-t,flexDirection:"right"===x.headTextAlign?"row-reverse":"row",userSelect:"none"},interactions:l,hoverBackground:u.headerMenuHoverBackground,background:m?u.headerMenuActiveBackground:u.header.background,children:[Tl.jsx(xN,{forwardRef:y,column:x,isInteractionEnabled:h,open:m,setOpen:g,allColumnsIconVisibilityStatusRef:a}),Tl.jsx(cN,{column:x,isLastColumn:S,onColumnResize:i,setIsAdjustingWidth:v})]})},zj=e=>{const[t,r]=w(new Map);lS((()=>{r(new Map)}),[e.length]);const n=T(((e,t)=>{r((r=>Sj(r.get(t),e)?new Map(r).set(t,e):r))}),[]);return{rowHeight:E((()=>xj(t)),[t]),setMeasuredCellHeight:n}},Fj=(e,t)=>{z(e,(()=>({scrollTo:e=>t.current?.scrollTo(e)})),[t])},Hj=(e,t,r,n,o)=>{lS((()=>{e.current?.resetAfterIndex(0,!1)}),[t,r,e,n,o])},$j={overflow:"hidden",boxSizing:"border-box",willChange:"auto"},Bj=_(((e,t)=>{const{rect:r,columns:n,pageInfo:o,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setHeaderRowHeight:s}=e,l=D(null),u=D(null),{layout:c,theme:d,styleService:p,direction:f,viewService:h}=_T(MT,(e=>e.baseProps)),m=_T(MT,(e=>e.columnWidths)),{rowHeight:g,setMeasuredCellHeight:b}=zj(n),v=uN(h,c);return Fj(t,l),Hj(l,c,o,m,d),Rj(u,s),Tl.jsx(tj,{ref:l,outerRef:u,layout:"horizontal",style:{...$j,...v?{display:"none"}:void 0},itemCount:c.qHyperCube.qSize.qcx,itemSize:e=>m[e],height:Math.max(g+8,p.headerMinRowHeight),width:r.width,itemData:{columns:n,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setMeasuredCellHeight:b},direction:f,children:jj})}));var Wj=O(Bj);const Vj=_(((e,t)=>{const{children:r,width:n,height:o,onScroll:i}=e,{interactions:a,direction:s}=_T(MT,(e=>e.baseProps));return Tl.jsx("div",{"data-testid":"scrollable-container",ref:t,style:{overflow:a.scroll?"auto":"hidden",width:n,height:o},onScroll:i,dir:s,children:r})})),Gj=e=>{let{children:t,rect:r}=e;const{direction:n}=_T(MT,(e=>e.baseProps));return Tl.jsx("div",{"data-testid":"sticky-container",style:{position:"sticky",top:"0px",left:"rtl"!==n?"0px":void 0,right:"rtl"===n?"0px":void 0,width:r.width,height:r.height},children:t})},Uj=e=>{let{index:t,style:r,data:n}=e;const{columns:o,totals:i,setMeasuredCellHeight:a}=n,{layout:s,interactions:l,styleService:u,direction:c}=_T(MT,(e=>e.baseProps)),d=_T(MT,(e=>e.showRightBorder)),p=qj(t,a),f=o[t].totalInfo,{totalsTextAlign:h,isTotalNumeric:m}=o[t],g=s.qHyperCube.qSize.qcx-1===t;return Tl.jsx("div",{className:`sn-table-cell ${bS}`,title:l.passive?f:void 0,style:{...r,...u.totalRow,...oN(u,i,!1),background:u.totalRow.background,display:"flex",alignItems:i.atTop?"end":"start",borderStyle:"solid",borderRightWidth:Sq(c,g,d),borderLeftWidth:Cq(c,g,d),borderTopWidth:i.atBottom?"1px":"0px",borderBottomWidth:i.atTop?"1px":"0px",padding:"4px 12px",justifyContent:h,textAlign:h,boxSizing:"border-box",cursor:"default"},children:Tl.jsx(sq,{forwardRef:m?void 0:p,isNumeric:m,children:f})})},Yj=_(((e,t)=>{const{rect:r,pageInfo:n,totals:o,columns:i,setTotalsRowHeight:a}=e,s=D(null),l=D(null),{layout:u,theme:c,styleService:d,direction:p}=_T(MT,(e=>e.baseProps)),f=_T(MT,(e=>e.columnWidths)),{rowHeight:h,setMeasuredCellHeight:m}=zj(i);return Fj(t,s),Hj(s,u,n,f,c),Rj(l,a),Tl.jsx(tj,{ref:s,outerRef:l,layout:"horizontal",style:$j,itemCount:u.qHyperCube.qSize.qcx,itemSize:e=>f[e],height:Math.max(h,d.totalRowMinHeight),width:r.width,itemData:{columns:i,totals:o,setMeasuredCellHeight:m},direction:p,children:Uj})}));var Kj=O(Yj);const Xj=(e,t,r,n,o)=>T((i=>{const{scrollHeight:a,clientHeight:s,scrollTop:l}=i.currentTarget,u=((e,t)=>{const{scrollWidth:r,clientWidth:n,scrollLeft:o}=e,i=r-n;if("rtl"===t){if(o>i)return i;if(o<0)return Math.abs(o)}return o})(i.currentTarget,o),c=Math.max(0,Math.min(1,l/(a-s)));n.scrollTopRatio=c,n.scrollLeft=u,r.current?.interpolatedScrollTo(Number.isNaN(c)?0:c,u),e.current?.scrollTo(u),t.current?.scrollTo(u)}),[n,r,e,t,o]),Jj=e=>{const{pageInfo:t}=e,{totalsPosition:r,columns:n,paginationNeeded:o}=_T(MT,(e=>e.tableData)),{layout:i,theme:a,rect:s,viewService:l,direction:u}=_T(MT,(e=>e.baseProps)),c=_T(MT,(e=>e.columnWidths)),d=_T(MT,(e=>e.setYScrollbarWidth)),p=D(null),f=D(null),h=D(null),m=D(null),{xScrollbarWidth:g,yScrollbarWidth:b}=IO(p),v=D([]),y=E((()=>((e,t)=>{const r=e.height-(t?41:0);return{width:e.width,height:r}})(s,o)),[s,o]),x=E((()=>((e,t,r)=>({width:e.width-r,height:e.height-t}))(y,g,b)),[y,g,b]),{rowCount:S}=Lj(i,t,x,c,0),{headerAndTotalsHeight:C,innerBodyHeight:R,setHeaderRowHeight:A,setTotalsRowHeight:P,setInnerBodyHeight:k}=(()=>{const[e,t]=w(0),[r,n]=w(0),[o,i]=w(0);return{headerAndTotalsHeight:e+r,innerBodyHeight:o,setHeaderRowHeight:t,setTotalsRowHeight:n,setInnerBodyHeight:i}})(),{width:I,height:M}=(e=>{let{innerBodyHeight:t,headerAndTotalsHeight:r,rowCount:n,stickyContainerRect:o,columnWidths:i}=e;const{styleService:a}=_T(MT,(e=>e.baseProps)),s=t+r,l=n*a.contentMinRowHeight+r;let u=l;return l<o.height&&s>o.height&&(u=s),{width:i.reduce(((e,t)=>e+t),0),height:u}})({innerBodyHeight:R,headerAndTotalsHeight:C,rowCount:S,stickyContainerRect:x,columnWidths:c}),L=Xj(f,h,m,l,u),_=T((()=>{p.current&&(p.current.scrollTop=0)}),[p]);SO(),q((()=>{p.current&&(p.current.scrollLeft=0,p.current.scrollTop=0)}),[n.length]),q((()=>{p.current&&(p.current.scrollTop=0)}),[t,S,a]),lO((()=>{d(b)}),[b]);const O=Tl.jsx(Kj,{rect:x,pageInfo:t,columns:n,ref:h,totals:r,setTotalsRowHeight:P},"totals");return Tl.jsx(Vj,{ref:p,width:y.width,height:y.height,onScroll:L,children:Tl.jsx(Oj,{width:I,height:M,children:Tl.jsxs(Gj,{rect:x,children:[Tl.jsx(Wj,{rect:x,pageInfo:t,columns:n,ref:f,columResizeHandler:_,allColumnsIconVisibilityStatusRef:v,setHeaderRowHeight:A}),r.atTop?O:null,Tl.jsx(_j,{ref:m,rect:x,pageInfo:t,columns:n,headerAndTotalsHeight:C,setInnerBodyHeight:k}),r.atBottom?O:null]})})})};var Zj=O(Jj);const Qj=()=>{const{theme:e,keyboard:t,translator:r,interactions:n,rect:o,layout:i}=_T(MT,(e=>e.baseProps)),{paginationNeeded:a,totalRowCount:s,totalColumnCount:l,totalPages:u}=_T(MT,(e=>e.tableData)),c=_T(MT,(e=>e.pageInfo)),d=_T(MT,(e=>e.setPage));return Tl.jsxs(aO,{"data-testid":"sn-table",background:e.background,children:[Tl.jsx(Zj,{pageInfo:c}),Tl.jsx(oO,{paginationNeeded:a,handleChangePage:e=>{d(e)},pageInfo:c,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:t,translator:r,theme:e,interactions:n,rect:o,layout:i})]})};var ez=O(Qj);var tz={SNTable_Accessibility_Ascending:{id:"SNTable.Accessibility.Ascending",locale:{"de-DE":"Aufsteigend","en-US":"Ascending","es-ES":"Ascendente","fr-FR":"Croissant","it-IT":"Crescente","ja-JP":"昇順","ko-KR":"오름차순","nl-NL":"Oplopend","pl-PL":"Rosnąco","pt-BR":"Crescente","ru-RU":"По возрастанию","sv-SE":"Stigande","tr-TR":"Artan","zh-CN":"升序","zh-TW":"遞增"}},SNTable_Accessibility_ColumnOptions:{id:"SNTable.Accessibility.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбцов","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},SNTable_Accessibility_Descending:{id:"SNTable.Accessibility.Descending",locale:{"de-DE":"Absteigend","en-US":"Descending","es-ES":"Descendente","fr-FR":"Décroissant","it-IT":"Decrescente","ja-JP":"降順","ko-KR":"내림차순","nl-NL":"Aflopend","pl-PL":"Malejąco","pt-BR":"Decrescente","ru-RU":"По убыванию","sv-SE":"Fallande","tr-TR":"Azalan","zh-CN":"降序","zh-TW":"遞減"}},SNTable_Accessibility_NavigationInstructions:{id:"SNTable.Accessibility.NavigationInstructions",locale:{"de-DE":"Verwenden Sie die Pfeiltasten, um zwischen den Tabellenzellen zu navigieren, und die Tabulatortaste, um zu den Paginierungssteuerelementen zu wechseln. Drücken Sie die Leertaste in den Kopfzellen, um das Spaltenmenü zu öffnen, und drücken Sie die Leertaste in den Körperzellen, um eine Auswahl zu treffen. Duch die Auswahl wird der Seiteninhalt aktualisiert. Die vollständige Liste der Navigationssteuerungen finden Sie in der Dokumentation.","en-US":"Use arrow keys to navigate between table cells and tab to move to pagination controls. Press space on header cells to open the column menu, press space on body cells to make selections. Selections will cause content on the page to be updated. The full list of navigation controls can be found in the documentation.","es-ES":"Utilice las teclas de flecha para desplazarse entre las celdas de la tabla y la pestaña a fin de pasar a los controles de paginación. Pulse la barra espaciadora en las celdas del encabezado para abrir el menú de columnas; pulse la barra espaciadora en las celdas del cuerpo para realizar selecciones. Las selecciones harán que se actualice el contenido de la página. Encontrará la lista completa de controles de navegación en la documentación.","fr-FR":"Utilisez les touches fléchées pour naviguer parmi les cellules du tableau et la tabulation pour accéder aux commandes de pagination. Appuyez sur la touche Espace dans les cellules d'en-tête pour ouvrir le menu de la colonne. Appuyez sur Espace dans les cellules de corps pour effectuer une sélection. Les sélections actualiseront le contenu de la page. Vous pouvez consulter la liste complète des commandes de navigation dans la documentation.","it-IT":"Utilizzare i tasti freccia per navigare tra le celle della tabella e il tasto TAB per passare ai controlli di paginazione. Premere lo spazio nelle celle dell'intestazione per aprire il menu della colonna; premere lo spazio nelle celle del corpo per effettuare selezioni. Le selezioni determineranno l'aggiornamento del contenuto della pagina. È possibile trovare l'elenco completo dei controlli di navigazione nella documentazione.","ja-JP":"矢印キーで表のセル間を移動し、タブ キーでページネーション コントロールに移動します。ヘッダー セルでスペースを押すと列メニューが開き、ボディ セルでスペースを押すと選択ができます。選択によって、ページのコンテンツが更新されます。ナビゲーション コントロールの全リストは、ドキュメントをご覧ください。","ko-KR":"화살표 키를 사용하여 표 셀 사이를 탐색하고, 탭을 사용하여 페이지 번호 컨트롤로 이동하십시오. 헤더 셀에서 스페이스바를 눌러 열 메뉴를 열고, 본문 셀에서 스페이스바를 눌러 선택하십시오. 선택하면 페이지의 콘텐츠가 업데이트됩니다. 전체 탐색 컨트롤 목록은 설명서에서 확인할 수 있습니다.","nl-NL":"Gebruik de pijltjestoetsen om te navigeren tussen tabelcellen en de Tab-toets om naar besturingselementen voor paginering te gaan. Druk op de spatietoets in koptekstcellen om het kolommenu te openen, druk op de spatietoets in hoofdtekstcellen om selecties te maken. Door selecties te maken, wordt de inhoud op de pagina bijgewerkt. De volledige lijst met besturingselementen voor navigatie vindt u in de documentatie.","pl-PL":"Użyj klawiszy strzałek do poruszania się między komórkami tabeli oraz tabulatora do poruszania się po elementach sterujących stronami. Naciśnij klawisz spacji na komórkach nagłówka, aby otworzyć menu kolumny i naciśnij go na komórkach treści, aby dokonać wyborów. Wybory będą powodować aktualizację zawartości na stronie. Pełną listę nawigacyjnych elementów sterujących można znaleźć w dokumentacji.","pt-BR":"Use as teclas de seta para navegar entre as células da tabela e a tecla Tab para mover para os controles de paginação. Pressione espaço nas células do cabeçalho para abrir o menu da coluna, pressione espaço nas células do corpo para fazer seleções. As seleções farão com que o conteúdo da página seja atualizado. A lista completa de controles de navegação pode ser encontrada na documentação.","ru-RU":"Используйте клавиши со стрелками для перемещения между ячейками таблицы и клавишу табуляции для перехода к элементам управления разбивки на страницы. Нажмите пробел на ячейках заголовка, чтобы открыть меню столбца; нажмите пробел на ячейках тела, чтобы сделать выборки. Выборки приведут к обновлению содержимого страницы. Полный перечень элементов управления навигацией см. в документации.","sv-SE":"Använd piltangenterna för att navigera mellan tabellcellerna och tabbtangenten för att flytta till pagineringskontrollerna. Tryck på mellanslag på rubrikceller för att öppna kolumnmenyn och tryck på mellanslag på innehållsceller för att göra urval. Med urval kommer innehåll på sidan att uppdateras. Den fullständiga listan med navigeringsreglage.","tr-TR":"Tablo hücreleri arasında gezinmek için ok tuşlarını, sayfalandırma kontrollerine geçmek için sekmeyi kullanın. Sütun menüsünü açmak için başlık hücrelerinde boşluğa basın, seçim yapmak için gövde hücrelerinde boşluğa basın. Seçimler, sayfadaki içeriğin güncellenmesine neden olur. Navigasyon kontrollerinin tam listesi belgede bulunabilir.","zh-CN":"使用箭头键在表格单元格之间导航,使用 tab 键移动到分页控件。按标题单元格上的空间打开列菜单,按正文单元格上的空间进行选择。选择将导致页面上的内容更新。导航控件的完整列表可以在文档中找到。","zh-TW":"使用方向鍵以在表格儲存格之間導覽,並使用 Tab 以前往分頁控制。按下標頭儲存格的空白處可開啟欄功能表,按下正文儲存格的空白處可進行選取。選項將會造成更新頁面上的內容。導覽控制的完整清單可見於文件中。"}},SNTable_Accessibility_RowsAndColumns:{id:"SNTable.Accessibility.RowsAndColumns",locale:{"de-DE":"Es werden {0} Zeilen und {1} Spalten angezeigt.","en-US":"Showing {0} rows and {1} columns.","es-ES":"Mostrando {0} filas y {1} columnas.","fr-FR":"Affichage de {0} lignes et de {1} colonnes.","it-IT":"Visualizzazione di {0} righe e {1} colonne.","ja-JP":"{0} 行 {1} 列を表示しています。","ko-KR":"{0}개의 행과 {1}개의 열을 표시합니다.","nl-NL":"{0} rijen en {1} kolommen worden getoond.","pl-PL":"Wyświetlane wiersze: {0} i kolumny: {1}.","pt-BR":"Mostrando {0} linhas e {1} colunas.","ru-RU":"Показаны строки ({0}) и столбцы ({1}).","sv-SE":"Visar {0} rader och {1} kolumner.","tr-TR":"{0} satır ve {1} sütun gösteriliyor.","zh-CN":"正在显示 {0} 行,{1} 列。","zh-TW":"顯示 {0} 列和 {1} 欄。"}},SNTable_MenuItem_AdjustColumnSize:{id:"SNTable.MenuItem.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},SNTable_MenuItem_ClearSelections:{id:"SNTable.MenuItem.ClearSelections",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Selecties wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},SNTable_MenuItem_Search:{id:"SNTable.MenuItem.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},SNTable_MenuItem_SelectAll:{id:"SNTable.MenuItem.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},SNTable_MenuItem_SelectAlternative:{id:"SNTable.MenuItem.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},SNTable_MenuItem_SelectExcluded:{id:"SNTable.MenuItem.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},SNTable_MenuItem_SelectPossible:{id:"SNTable.MenuItem.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},SNTable_MenuItem_Selections:{id:"SNTable.MenuItem.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},SNTable_MenuItem_SortAscending:{id:"SNTable.MenuItem.SortAscending",locale:{"de-DE":"Sortierung in aufsteigender Reihenfolge","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Tri par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},SNTable_MenuItem_SortDescending:{id:"SNTable.MenuItem.SortDescending",locale:{"de-DE":"Sortierung in absteigender Reihenfolge","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Tri par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},SNTable_Pagination_DisplayedRowsLabel:{id:"SNTable.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{1}의 {0}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},SNTable_Pagination_FirstPage:{id:"SNTable.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},SNTable_Pagination_LastPage:{id:"SNTable.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},SNTable_Pagination_NextPage:{id:"SNTable.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},SNTable_Pagination_PageStatusReport:{id:"SNTable.Pagination.PageStatusReport",locale:{"de-DE":"Die Seite wurde geändert. Seite {0} von {1} wird angezeigt.","en-US":"Page has changed. Showing page {0} of {1}.","es-ES":"La página ha cambiado. Mostrando página {0} de {1}.","fr-FR":"La page a changé. Affichage de la page {0} sur {1}.","it-IT":"La pagina è cambiata. Visualizzazione pagina {0} di {1}.","ja-JP":"ページが変更されました。{1} ページ中の {0} ページ目を表示しています。","ko-KR":"페이지가 변경되었습니다. {1}의 {0} 페이지를 보여 줍니다.","nl-NL":"Pagina is gewijzigd. Pagina {0} van {1} wordt weergeven.","pl-PL":"Strona się zmieniła Wyświetlanie strony {0} z {1}.","pt-BR":"A página mudou. Mostrando página {0} de {1}.","ru-RU":"Страница изменилась. Показана страница {0} из {1}.","sv-SE":"Sidan har ändrats. Visar sida {0} av {1}.","tr-TR":"Sayfa değişti. Sayfa {0} / {1} gösteriliyor.","zh-CN":"页面已更改。显示页面 {0} / {1}。","zh-TW":"頁面已變更。顯示第 {0} 頁,共 {1} 頁。"}},SNTable_Pagination_PreviousPage:{id:"SNTable.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},SNTable_Pagination_RowsPerPage:{id:"SNTable.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},SNTable_Pagination_RowsPerPageChange:{id:"SNTable.Pagination.RowsPerPageChange",locale:{"de-DE":"Zeilen pro Seite wurden in {0} geändert. Jetzt wird die erste Seite angezeigt.","en-US":"Rows per page has changed to {0}. Now showing the first page.","es-ES":"El número de filas por página ha cambiado a {0}. Mostrando ahora la primera página.","fr-FR":"Le nombre de lignes par page a été remplacé par {0}. Affichage en cours de la première page.","it-IT":"Le righe per pagina sono cambiate a {0}. Viene ora mostrata la prima pagina.","ja-JP":"ページあたりの行数が {0} に変更されました。現在、最初のページを表示しています。","ko-KR":"페이지당 행 수가 {0}(으)로 변경되었습니다. 이제 첫 페이지를 보여 줍니다.","nl-NL":"Aantal rijen per pagina is gewijzigd naar {0}. De eerste pagina wordt nu weergegeven.","pl-PL":"Liczba wierszy na stronę została zmieniona na {0}. Wyświetlana jest pierwsza strona.","pt-BR":"Linhas por página mudou para {0}. Agora mostrando a primeira página.","ru-RU":"Количество строк на странице изменилось на {0}. Теперь отображается первая страница.","sv-SE":"Rader per sida har ändrats till {0}. Nu visas första sidan.","tr-TR":"Sayfa başına satır sayısı {0} olarak değiştirildi. Şimdi ilk sayfa gösteriliyor.","zh-CN":"每页行数已更改为 {0}。现在显示第一页。","zh-TW":"每頁列數已變更為 {0}。現在顯示第一頁。"}},SNTable_Pagination_SelectPage:{id:"SNTable.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}},SNTable_SelectionLabel_DeselectedValue:{id:"SNTable.SelectionLabel.DeselectedValue",locale:{"de-DE":"Die Werteauswahl ist aufgehoben.","en-US":"Value is deselected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur est désélectionnée.","it-IT":"Il valore è deselezionato.","ja-JP":"値が選択解除されました。","ko-KR":"값이 선택 취소되었습니다.","nl-NL":"Selectie van waarde opgeheven.","pl-PL":"Wartość nie jest zaznaczona.","pt-BR":"O valor está desmarcado.","ru-RU":"Выбор значения отменен.","sv-SE":"Val av värde har tagits bort.","tr-TR":"Değer seçimi iptal edildi.","zh-CN":"值已取消选择。","zh-TW":"值已取消選取。"}},SNTable_SelectionLabel_ExitedSelectionMode:{id:"SNTable.SelectionLabel.ExitedSelectionMode",locale:{"de-DE":"Die Werteauswahl ist aufgehoben. Auswahlmodus beendet.","en-US":"Value is deselected. Exited selection mode.","es-ES":"El valor no está seleccionado. Salió del modo de selección.","fr-FR":"La valeur est désélectionnée. Mode de sélection désactivé.","it-IT":"Il valore è deselezionato. Uscita dalla modalità selezione.","ja-JP":"値が選択解除されました。選択モードを終了しました。","ko-KR":"값이 선택 취소되었습니다. 선택 모드를 종료했습니다.","nl-NL":"Selectie van waarde opgeheven. Selectiemodus afgesloten.","pl-PL":"Wartość nie jest zaznaczona. Zakończono tryb wyboru.","pt-BR":"O valor está desmarcado. Modo de seleção encerrado.","ru-RU":"Выбор значения отменен. Выполнен выход из режима выборки.","sv-SE":"Val av värde har tagits bort. Lämnade urvalsläge.","tr-TR":"Değer seçimi iptal edildi. Seçim modundan çıkıldı.","zh-CN":"值已取消选择。已退出选择模式。","zh-TW":"值已取消選取。輸入的選取模式。"}},SNTable_SelectionLabel_NotSelectedValue:{id:"SNTable.SelectionLabel.NotSelectedValue",locale:{"de-DE":"Wert ist nicht ausgewählt.","en-US":"Value is not selected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur n'est pas sélectionnée.","it-IT":"Il valore non è selezionato.","ja-JP":"値が選択されていません。","ko-KR":"값이 선택되지 않았습니다.","nl-NL":"Waarde is niet geselecteerd.","pl-PL":"Wartość nie jest wybrana.","pt-BR":"O valor não está selecionado.","ru-RU":"Значение не выбрано.","sv-SE":"Värdet är inte valt.","tr-TR":"Değer seçilmedi.","zh-CN":"未选择值。","zh-TW":"未選取值。"}},SNTable_SelectionLabel_OneSelectedValue:{id:"SNTable.SelectionLabel.OneSelectedValue",locale:{"de-DE":"Aktuell ist ein Wert ausgewählt.","en-US":"Currently there is one selected value.","es-ES":"Actualmente hay un valor seleccionado.","fr-FR":"Actuellement, une valeur est sélectionnée.","it-IT":"Attualmente è presente un solo valore selezionato.","ja-JP":"現在、値が 1 つ選択されています。","ko-KR":"현재 하나의 값이 선택되었습니다.","nl-NL":"Er is momenteel één waarde geselecteerd.","pl-PL":"Aktualnie jest jedna wybrana wartość.","pt-BR":"Atualmente, há um valor selecionado.","ru-RU":"В настоящее время выбрано одно значение.","sv-SE":"Just nu är ett värde valt.","tr-TR":"Şu anda seçili bir değer var.","zh-CN":"当前有一个已选择的值。","zh-TW":"目前有一個選取的值。"}},SNTable_SelectionLabel_SelectedValue:{id:"SNTable.SelectionLabel.SelectedValue",locale:{"de-DE":"Wert ist ausgewählt.","en-US":"Value is selected.","es-ES":"El valor está seleccionado.","fr-FR":"La valeur est sélectionnée.","it-IT":"Il valore è selezionato.","ja-JP":"値が選択されました。","ko-KR":"값이 선택되었습니다.","nl-NL":"Waarde is geselecteerd.","pl-PL":"Wartość jest wybrana.","pt-BR":"O valor está selecionado.","ru-RU":"Значение выбрано.","sv-SE":"Värdet är valt.","tr-TR":"Değer seçildi.","zh-CN":"已选择值。","zh-TW":"已選取值。"}},SNTable_SelectionLabel_SelectedValues:{id:"SNTable.SelectionLabel.SelectedValues",locale:{"de-DE":"Aktuell sind {0} Werte ausgewählt.","en-US":"Currently there are {0} selected values.","es-ES":"Actualmente hay {0} valores seleccionados.","fr-FR":"Actuellement, {0} valeurs sont sélectionnées.","it-IT":"Attualmente sono presenti {0} valori selezionati.","ja-JP":"現在、値が {0} つ選択されています。","ko-KR":"현재 {0}개의 값이 선택되었습니다.","nl-NL":"Er zijn momenteel {0} geselecteerde waarden.","pl-PL":"Liczba aktualnie wybranych wartości: {0}.","pt-BR":"Atualmente, há {0} valores selecionados.","ru-RU":"В настоящее время выбраны значения: {0}.","sv-SE":"Just nu är {0} värden valda.","tr-TR":"Şu anda seçili {0} değer var.","zh-CN":"当前有 {0} 个已选择的值。","zh-TW":"目前有 {0} 個選取的值。"}},SNTable_SelectionLabel_SelectionsConfirmed:{id:"SNTable.SelectionLabel.SelectionsConfirmed",locale:{"de-DE":"Auswahl bestätigt.","en-US":"Selections confirmed.","es-ES":"Confirmadas las selecciones.","fr-FR":"Sélections confirmées.","it-IT":"Selezioni confermate.","ja-JP":"選択が確定されました。","ko-KR":"선택 내용이 확인되었습니다.","nl-NL":"Selecties bevestigd.","pl-PL":"Potwierdzono wybory.","pt-BR":"Seleções confirmadas.","ru-RU":"Выборки подтверждены.","sv-SE":"Valen har bekräftats.","tr-TR":"Seçimler onaylandı.","zh-CN":"选择已确认。","zh-TW":"選項已確認。"}},SNTable_SelectionLabel_selected:{id:"SNTable.SelectionLabel.selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбрано","sv-SE":"Urval","tr-TR":"Seçildi","zh-CN":"已选择","zh-TW":"已選取"}},SNTable_SortLabel_PressSpaceToSort:{id:"SNTable.SortLabel.PressSpaceToSort",locale:{"de-DE":"Drücken Sie die Leertaste, um nach dieser Spalte zu sortieren","en-US":"Press space to sort on this column","es-ES":"Pulse la barra espaciadora para ordenar en esta columna.","fr-FR":"Appuyez sur Espace pour trier en fonction de cette colonne.","it-IT":"Premere la barra spaziatrice per ordinare questa colonna","ja-JP":"スペース キーを押して、この列をソートします","ko-KR":"이 열을 정렬하려면 스페이스바를 누르십시오.","nl-NL":"Druk op de spatiebalk om sorteren in deze kolom in te schakelen","pl-PL":"Naciśnij spację, aby posortować według tej kolumny","pt-BR":"Pressione espaço para classificar por esta coluna","ru-RU":"Нажмите пробел, чтобы отсортировать по этому столбцу","sv-SE":"Tryck på Blanksteg om du vill sortera efter den här kolumnen","tr-TR":"Bu sütunda sıralama yapmak için boşluk tuşuna basın.","zh-CN":"按下空格键以在该列上排序。","zh-TW":"在此欄按下空格鍵以進行排序"}},SNTable_SortLabel_SortedAscending:{id:"SNTable.SortLabel.SortedAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortiert.","en-US":"Sorted in ascending order.","es-ES":"Ordenado por orden ascendente.","fr-FR":"Tri dans l'ordre croissant.","it-IT":"Ordinato in ordine crescente.","ja-JP":"昇順で並べ替えられます。","ko-KR":"오름차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in oplopende volgorde.","pl-PL":"Posortowane rosnąco.","pt-BR":"Classificado em ordem crescente.","ru-RU":"Сортировка в порядке возрастания.","sv-SE":"Sorterat i stigande ordning.","tr-TR":"Artan düzende sıralanmıştır.","zh-CN":"已按升序排列。","zh-TW":"已依遞增順序排序。"}},SNTable_SortLabel_SortedDescending:{id:"SNTable.SortLabel.SortedDescending",locale:{"de-DE":"In absteigender Reihenfolge sortiert.","en-US":"Sorted in descending order.","es-ES":"Ordenado por orden descendente.","fr-FR":"Tri dans l'ordre décroissant.","it-IT":"Ordinato in ordine decrescente.","ja-JP":"降順で並べ替えられます。","ko-KR":"내림차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in aflopende volgorde.","pl-PL":"Posortowane malejąco.","pt-BR":"Classificado em ordem decrescente.","ru-RU":"Сортировка в порядке убывания.","sv-SE":"Sorterat i fallande ordning.","tr-TR":"Azalan düzende sıralanmıştır.","zh-CN":"已按降序排列。","zh-TW":"已依遞減順序排序。"}}};const rz=(e,r)=>t((()=>(function(e){const t="SNTable.Accessibility.RowsAndColumns";e.get(t)===t&&Object.keys(tz).forEach((t=>{e.add(tz[t])}))}(r),((e,t)=>{let r;return n=>{let{keys:o,politeness:i="polite"}=n;const a=o.map((e=>{if(Array.isArray(e)){const[r,...n]=e;return t.get(r,n)}return t.get(e)})).join(" "),s=e.querySelector(`.${GI.First}`),l=e.querySelector(`.${GI.Second}`);if(!s||!l)return void console.error("could not find aria-live elements, which means accessibility is not working properly");let u;r===GI.First?(u=l,r=GI.Second):(u=s,r=GI.First),u.innerHTML=u.innerHTML.endsWith(" ")?a:`${a} `,u.setAttribute("aria-live",i)}})(e,r))),[e,r.language()]),nz={page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]},oz=e=>{const{app:t,model:n,rootElement:a,layout:s,translator:l,reactRoot:u,isFontLoaded:c,viewService:d,env:p}=e,{direction:f,footerContainer:h}=r(),m=LR(s,d),g=rz(a,l),[b,v]=o(((e,t)=>MR(e,t)?{page:t.page||nz.page,rowsPerPage:t.rowsPerPage||nz.rowsPerPage,rowsPerPageOptions:nz.rowsPerPageOptions}:nz)(s,d)),[y,x]=o(!0);y||x(!0);const[S,C]=eS((async()=>m?async function(e,t,r,n,o,i,a,s){const{page:l,rowsPerPage:u,rowsPerPageOptions:c}=r,d=t.qHyperCube.qSize.qcx,p=t.qHyperCube.qSize.qcy,f=Math.ceil(p/u),h=o.visibleTop??l*u,m=o.visibleHeight??Math.min(u,p-h);if(l>0&&h>=p)return n({...r,page:0}),null;if(m*d>CR)return n({...r,rowsPerPage:wR(d,c),page:0}),null;const g=p>10,b=ER(t,o),v=IR(t,a,s),y=!!t.snapshotData,x=await(async(e,t,r)=>{if(t.snapshotData)return t.qHyperCube.qDataPages;const n=t.qHyperCube.qDataPages.at(0),o=n?.qArea;return n&&o?.qLeft===r.qLeft&&o.qTop===r.qTop&&o.qWidth===r.qWidth&&o.qHeight>=r.qHeight?[{...n,qMatrix:n.qMatrix.slice(0,r.qHeight)}]:e&&"getHyperCubeData"in e?e.getHyperCubeData("/qHyperCubeDef",[r]):[]})(e,t,{qLeft:0,qTop:h,qHeight:m,qWidth:d});y||(o.qTop=h,o.qHeight=m,o.rowsPerPage=r.rowsPerPage,o.page=r.page);const S=x.at(0)?.qMatrix.map(((e,r)=>{const n=[];return v.forEach(((o,l)=>{const u=e[l],c=SR(o.isDim,u,t),d=!o.isDim&&u.qIsNull,p=d?vE(c):bE(u);n[l]={id:hE(),...u,align:kR(p,o.bodyTextAlign,s,a),rowIdx:r+h,colIdx:o.colIdx,pageRowIdx:r,pageColIdx:l,selectionColIdx:o.selectionColIdx,isSelectable:o.isDim&&!o.isLocked,isLastRow:r===m-1,isNumeric:p,isNull:(!d||!p)&&xR(u,o.isDim),representation:yR({cell:u,representationProperties:o.representation,attrExprInfoIndex:o.qAttrExprInfoIndex,env:i,conditionalColoring:o.conditionalColoring,miniChartOnMeasure:o.qMiniChart,getText:()=>d?c:u.qText,direction:s,enabledFeatures:{[yw.Image]:i.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[yw.Indicator]:!0,[yw.MiniChart]:!0}})}})),n}))??[];return{totalColumnCount:d,totalRowCount:p,totalPages:f,paginationNeeded:g,totalsPosition:b,columns:v,rows:S}}(n,s,b,v,d,p,y,f):null),[s,b,n,m,f]);i((()=>{m&&e.model&&e.changeSortOrder&&S&&c&&!C&&function(e,t){const{direction:r,...n}=e,o=OT(r);t.render(Tl.jsx(Kd,{stylisPlugins:"rtl"===r?[$I]:void 0,children:Tl.jsx(rI,{theme:o,children:Tl.jsx(TT,{...e,children:Tl.jsx(AN,{...n})})})}))}({...e,model:e.model,changeSortOrder:e.changeSortOrder,tableData:S,pageInfo:b,setPageInfo:v,direction:f,footerContainer:h,announce:g},u)}),[g,t,f,h,c,b,u,e,m,S,C])},iz=e=>{const r=t((()=>oS(e)),[e]);return i((()=>()=>{r.unmount()}),[r]),r},az=(e,r)=>t((()=>((e,t)=>{if(t)return async(r,n)=>{if(!("getEffectiveProperties"in t))return;const{isDim:o,colIdx:i,qReverseSort:a,sortDirection:s,isActivelySorted:l}=r,u=o?i:i-e,c=await t.getEffectiveProperties(),d=c.qHyperCubeDef.qInterColumnSortOrder,p=[],f=n!==s||l;if(!o){const e=c.qHyperCubeDef.qMeasures.at(u)?.qSortBy;void 0===e?.qSortByNumeric&&p.push({qPath:`/qHyperCubeDef/qMeasures/${u}/qSortBy`,qOp:"Replace",qValue:JSON.stringify({...e,qSortByNumeric:"A"===s?1:-1})})}l||(d.splice(d.indexOf(i),1),d.unshift(i),p.push({qPath:"/qHyperCubeDef/qInterColumnSortOrder",qOp:"Replace",qValue:`[${d.join(",")}]`})),f&&p.push({qPath:`/qHyperCubeDef/${o?"qDimensions":"qMeasures"}/${u}/qDef/qReverseSort`,qOp:"Replace",qValue:(!a).toString()}),t.applyPatches(p,!0)}})(e.qDimensionInfo.length,r)),[e.qDimensionInfo.length,r]);const sz=e=>{let{model:t,layout:r,shouldRender:n,page:o}=e;const[i,a]=eS((async()=>{if(n&&t)return(async(e,t,r)=>{const{qDataPages:n}=t.qHyperCube;if(0!==r||0===n.length){const n=r*Math.min(KD,t.qHyperCube.qSize.qcy);if(e&&"getHyperCubeData"in e)return e.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:n,qWidth:50,qHeight:100}])}return[...n]})(t,r,o)}),[t,r,o]);return{initialDataPages:i,isLoading:a}},lz=e=>{const{layout:r,model:n,keyboard:a,interactions:s,reactRoot:l,isFontLoaded:u,viewService:c,direction:d}=e,p=!LR(r,c),[f,h]=o(!1);f&&h(!1);const m=t((()=>function(e,t,r,n,o){const i=IR(e,o,n),a=ER(e,r),s=e.qHyperCube.qSize.qcy,l=Math.min(KD,s),u=s>KD&&!!t.active;return{totalsPosition:a,columns:i,rows:[],totalRowCount:s,totalColumnCount:e.qHyperCube.qSize.qcx,totalPages:Math.ceil(s/l),paginationNeeded:u}}(r,s,c,d,f)),[r,s,c,d,f]),{pageInfo:g,setPage:b}=((e,r)=>{const[n,i]=o(0),a=Math.min(KD,e.qHyperCube.qSize.qcy),s=t((()=>({page:n,rowsPerPage:a,rowsPerPageOptions:[]})),[a,n]);if(r){const t=Math.floor(e.qHyperCube.qSize.qcy/KD);t<n&&i(t)}return{pageInfo:s,setPage:i}})(r,p),{initialDataPages:v,isLoading:y}=sz({model:n,layout:r,page:g.page,shouldRender:p});i((()=>{p&&a.active&&a.blur?.(!1)}),[a,p]),i((()=>{p&&e.model&&e.changeSortOrder&&v&&!y&&u&&function(e,t){const{direction:r}=e,n=OT(r);t.render(Tl.jsx(x.StrictMode,{children:Tl.jsx(rI,{theme:n,children:Tl.jsx(TT,{...e,children:Tl.jsx(ez,{})})})}))}({...e,model:e.model,changeSortOrder:e.changeSortOrder,tableData:m,pageInfo:g,setPage:b,initialDataPages:v},l)}),[v,u,y,g,l,e,b,p,m])},uz={version:JSON.stringify("6.0.14"),qHyperCubeDef:{qDimensions:[],qMeasures:[],qColumnOrder:[],qInitialDataFetch:[{qWidth:50,qHeight:100}]},showTitles:!0,enableChartExploration:!1,title:"",subtitle:"",footnote:"",totals:{show:!0,position:"noTotals"},usePagination:!1,components:[]};var cz=e=>({properties:{initial:uz},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}}]},importProperties:e=>pw({...e}),exportProperties:aw,exploration:fw});function dz(e,t){const r=e.getElementsByClassName("sn-table-container")[0];if(!r)return{};const n=r.getBoundingClientRect(),o=e.getElementsByClassName("sn-table-head-row")[0],i=o?.getBoundingClientRect()??{height:0},a=e.getElementsByClassName("sn-table-totals-row")[0],s=a?.getBoundingClientRect()??{height:0},l=e.getElementsByClassName("sn-table-data-row"),u={top:n.y+i.height+(t.atTop?s.height:0),bottom:n.y+n.height-(t.atBottom?s.height:0)},c=((e,t)=>{if(!e)return-1;for(let r=0;r<e.length;r++)if(e[r].getBoundingClientRect().bottom>t.top)return r;return-1})(l,u),d=((e,t)=>{if(!e)return-1;for(let r=e.length-1;r>-1;r--){const n=e[r].getBoundingClientRect();if(t.bottom>n.top)return r}return-1})(l,u),p=((e,t,r)=>{if(!e||0===e.length||r<0)return 0;const n=e[r].getBoundingClientRect();return Math.max(t.top-n.top,0)})(l,u,c);return{visibleRowStartIndex:c,visibleRowEndIndex:d,rowPartialHeight:p}}const pz=(e,t)=>{if(t)for(let r=0;r<t.length;r++){const n=t[r].getAttribute("rowindex");if(n&&parseInt(n,10)===e)return t[r]}},fz=(e,t,r)=>{if(!e)return!1;const n=e.y+e.height/2;return n>=t&&n<=r};const hz=(e,t,r,n)=>{if(e<0)return 0;const o=r.qHyperCube.qSize.qcy,i=n.rowsPerPage||nz.rowsPerPage,a=n.viewState?.isMultiPage?0:3;return Math.min(o,i,e-t+1+a)},mz=(e,t,r)=>{if(t.viewState&&!t.viewState.isMultiPage)return t.viewState;const n=ER(e,t);if(LR(e,t)){const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1,rowPartialHeight:a}=dz(r,n);return{rowPartialHeight:a,scrollLeft:t.scrollLeft,visibleTop:t.qTop+o,visibleHeight:hz(i,o,e,t),rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}}const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1}=function(e,t){const r=e.querySelector(".sn-table-body"),n=r?.getBoundingClientRect(),o=r?.querySelectorAll(".sn-table-body .sn-table-cell");if(!o||!n)return{};const{scrollTopRatio:i=0,visibleTop:a=0,visibleHeight:s=0,page:l=0,rowsPerPage:u=0}=t,c=l*u,d=a-c,p=d+s-1,f=pz(d,o),h=f?.getBoundingClientRect();if(!f||!h)return{};const m=n.y;if(1-i<.001)return{visibleRowStartIndex:d+(h.y>=m-4?0:1)+c,visibleRowEndIndex:p+c};const g=n.y+n.height,b=(fz(h,m,g)?d:d+1)+c;let v=p+c;const y=pz(p,o),x=y?.getBoundingClientRect();return y&&x&&(fz(x,m,g)||(v=p-1+c)),{visibleRowStartIndex:b,visibleRowEndIndex:v}}(r,t);return{scrollLeft:t.scrollLeft,visibleLeft:t.visibleLeft,visibleWidth:t.visibleWidth,visibleTop:o,visibleHeight:hz(i,o,e,t),scrollTopRatio:t.scrollTopRatio,rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}},gz=e=>{let{layout:t,viewService:r,model:n,rootElement:o,contentRect:i}=e;u((async e=>{const a=e;if(!a.snapshotData||!n||a.snapshotData.content)return a;if("getHyperCubeData"in n){const{rowPartialHeight:e,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h}=mz(t,r,o);a.qHyperCube.qDataPages=await n.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:d,qWidth:t.qHyperCube.qSize.qcx,qHeight:p}]),a.snapshotData.content={rowPartialHeight:e,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h,size:{width:i.width,height:i.height},estimatedRowHeight:r.estimatedRowHeight}}return a})),c((()=>({getViewState:()=>mz(t,r,o)})),[t,r,o])},bz=e=>{const{viewState:n}=r();return t((()=>((e,t)=>({qTop:0,qHeight:0,rowPartialHeight:t?.content?.rowPartialHeight??0,visibleTop:t?.content?.visibleTop??e?.visibleTop,visibleHeight:t?.content?.visibleHeight??e?.visibleHeight,scrollLeft:t?.content?.scrollLeft??e?.scrollLeft??0,scrollTopRatio:t?.content?.scrollTopRatio??e?.scrollTopRatio,rowsPerPage:t?.content?.rowsPerPage??e?.rowsPerPage,page:t?.content?.page??e?.page,viewState:e,estimatedRowHeight:t?.content?.estimatedRowHeight??0}))(n,e.snapshotData)),[n,e.snapshotData,e.usePagination])},vz=e=>e.getStyle("","","object.straightTableV2.backgroundColor"),yz=e=>e.getStyle("object","straightTableV2","backgroundColor")}}}));
|