@nebula.js/sn-pivot-table 3.9.1 → 3.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @nebula.js/sn-pivot-table v3.9.1
2
+ * @nebula.js/sn-pivot-table v3.9.2
3
3
  * Copyright (c) 2024 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -8,7 +8,7 @@ import{useState as e,useEffect as t,useTheme as n,useMemo as r,usePromise as o,o
8
8
  /*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
9
9
  e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,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(n=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+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],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},Qe({exports:{}});const dt="qHyperCubeDef.qDimensions",pt="dimensions",ft="qOtherTotalSpec.qTotalMode",ht="totalMode",mt={quarantine(e){$.quarantineArrayProp({properties:e,arrayPath:dt,quarantineName:ht,arrayName:pt,itemPath:ft})},unquarantine(e){$.unquarantineArrayProp({properties:e,arrayPath:dt,quarantineName:ht,arrayName:pt,itemPath:ft})}};function gt(e){const t=ct(e);return(e,n,r,o)=>{var i,a,l,s,u,c;const d=$.hypercube.importProperties({exportFormat:e,initialProperties:n,dataDefinition:t.targets[0],hypercubePath:o}),p=((null===(i=d.qProperty)||void 0===i||null===(i=i.qHyperCubeDef)||void 0===i?void 0:i.qDimensions)||[]).length,f=(null===(a=d.qProperty)||void 0===a||null===(a=a.qHyperCubeDef)||void 0===a||null===(a=a.qMeasures)||void 0===a?void 0:a.length)||0;let h,m=(null===(l=d.qProperty)||void 0===l||null===(l=l.qHyperCubeDef)||void 0===l?void 0:l.qInterColumnSortOrder)||[],g=!0;p+f===m.length&&tt(d,"qProperty.qLayoutExclude.quarantine.interColSortOrder",m.concat());const b=(null==d||null===(s=d.qProperty)||void 0===s||null===(s=s.qLayoutExclude)||void 0===s||null===(s=s.quarantine)||void 0===s?void 0:s.pivotInterColSortOrder)||void 0;b?(m=b,h=[...b],tt(d,"qProperty.qHyperCubeDef.qInterColumnSortOrder",m),delete d.qProperty.qLayoutExclude.quarantine.pivotInterColSortOrder):m.length=0;const v=+(m.indexOf(-1)>-1),y=p+v;if(y>m.length)for(let e=m.length;e<y;e++)m.indexOf(e)<0&&m.push(e-v);for(let e=m.length-1;e>=0;e--)m[e]>=p&&m.splice(e,1);f>1&&m.indexOf(-1)<0?m.push(-1):f<2&&m.indexOf(-1)>-1&&m.splice(m.indexOf(-1),1);const x=null!==(u=null==d||null===(c=d.qProperty)||void 0===c||null===(c=c.qHyperCubeDef)||void 0===c?void 0:c.qNoOfLeftDims)&&void 0!==u?u:-1;if(p>0&&-1===x&&tt(d,"qProperty.qHyperCubeDef.qNoOfLeftDims",p),h&&m&&h.length===m.length){for(let e=0;e<h.length;e++)if(h[e]!==m[e]){g=!1;break}g&&$.unquarantineProperty(d.qProperty,"noOfLeftDims")}return $.conditionalShow.unquarantine(d.qProperty),mt.unquarantine(d.qProperty),V(d.qProperty),$.unquarantineProperty(d.qProperty,"pivotTableIndentMode"),d}}function bt(e,t){var n,r,o;const i=null!==(n=null==e||null===(r=e.qProperty)||void 0===r||null===(r=r.qHyperCubeDef)||void 0===r?void 0:r.qInterColumnSortOrder)&&void 0!==n?n:[],a=i.slice(),l=i.indexOf(-1);l>-1&&i.splice(l,1);const s=$.hypercube.exportProperties({propertyTree:e,hyperCubePath:t}),u=s.properties.qHyperCubeDef,c=u.qDimensions.length,d=u.qMeasures.length;let p=u.qInterColumnSortOrder;tt(s,"properties.qLayoutExclude.quarantine.pivotInterColSortOrder",a),$.quarantineProperty(s.properties,"qHyperCubeDef.qNoOfLeftDims","noOfLeftDims"),delete s.properties.qHyperCubeDef.qNoOfLeftDims;const f=null==s||null===(o=s.properties)||void 0===o||null===(o=o.qLayoutExclude)||void 0===o||null===(o=o.quarantine)||void 0===o?void 0:o.interColSortOrder;f&&(p=f,tt(s,"properties.qHyperCubeDef.qInterColumnSortOrder",p),tt(s,"data.0.interColumnSortOrder",p),delete s.properties.qLayoutExclude.quarantine.interColSortOrder);for(let e=p.length;e<c+d;e++)p.length<=e&&p.push(e);return $.quarantineProperty(s.properties,"qHyperCubeDef.qIndentMode","pivotTableIndentMode"),$.conditionalShow.quarantine(s.properties),mt.quarantine(s.properties),Y(s.properties),s}const vt={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}};let yt=function(e){return e.Text="text",e.Link="link",e.Image="image",e}({}),xt=function(e){return e.Attribute="attribute",e.Dimension="dimension",e}({});const St=e=>{switch(null==e?void 0:e.type){case"url":return yt.Link;case"image":return yt.Image;default:return yt.Text}},Et=(e,t)=>!e.properties.qHyperCubeDef.qIndentMode||!t,Ct=(e,t,n)=>{if(e||t)return{uses:"dimensionRepresentationItems.representationType",show:(e,t,r)=>Et(r,n),options(){const n=[{value:"text",translation:"Object.Table.Representation.Text"}];return t&&n.push({value:"url",translation:"Object.Table.Representation.Link"}),e&&n.push({value:"image",translation:"Object.Table.Representation.Image"}),n}}},wt=(e,t)=>{if(e)return{representationUrlPosition:{uses:"dimensionRepresentationItems.representationUrlPosition",show:(e,n,r)=>St(e.qDef.representation)===yt.Link&&Et(r,t)},representationUrlLabel:{uses:"dimensionRepresentationItems.representationUrlLabel",show:(e,n,r)=>{var o;return St(e.qDef.representation)===yt.Link&&(null===(o=e.qDef.representation)||void 0===o?void 0:o.urlPosition)===xt.Dimension&&Et(r,t)}},representationLinkUrl:{uses:"dimensionRepresentationItems.representationLinkUrl",show:(e,n,r)=>{var o;return St(e.qDef.representation)===yt.Link&&(null===(o=e.qDef.representation)||void 0===o?void 0:o.urlPosition)===xt.Attribute&&Et(r,t)}}}},Rt=(e,t)=>{if(e)return{representationImage:{uses:"dimensionRepresentationItems.representationImage",show:(e,n,r)=>St(e.qDef.representation)===yt.Image&&Et(r,t),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"}]}}}}},Lt=e=>{var t,n;const{anything:r,flags:o}=e,i=o.isEnabled("CLIENT_IM_5975_INDENT_MODE"),a=o.isEnabled("CLIENT_IM_5715_LINKS"),l=o.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!(null!=r&&null!==(t=r.sense)&&void 0!==t&&null!==(n=t.isUnsupportedFeature)&&void 0!==n&&n.call(t,"tableImages"));return{representationType:Ct(l,a,i),...wt(a,i),...Rt(l,i)}},At=e=>{var t,n;const{flags:r,anything:o}=e,i=r.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!(null!=o&&null!==(t=o.sense)&&void 0!==t&&null!==(n=t.isUnsupportedFeature)&&void 0!==n&&n.call(t,"tableImages")),a=r.isEnabled("CLIENT_IM_5975_INDENT_MODE");return{representationType:i?{uses:"measureRepresentationItems.representationType",show:(e,t,n)=>Et(n,a),options:[{value:"text",translation:"Object.Table.Representation.Text"},{value:"image",translation:"Object.Table.Representation.Image"}]}:void 0,representationImage:i?{uses:"measureRepresentationItems.representationImage",show:(e,t,n)=>St(e.qDef.representation)===yt.Image&&Et(n,a),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}};var It,Mt,Dt,Pt;!function(e){e.Dimension="dimensions",e.Measures="measures",e.Pivot="pivot"}(It||(It={})),function(e){e.CellForegroundColor="cellForegroundColor",e.CellBackgroundColor="cellBackgroundColor",e.ImageUrl="imageUrl",e.ImageLabel="imageLabel",e.Link="url",e.LinkLabel="urlLabel"}(Mt||(Mt={})),function(e){e.LEFT_GRID="leftGrid",e.DATA_GRID="dataGrid",e.CONTAINER_GRID="containerGrid"}(Dt||(Dt={})),function(e){e.Forward="forward",e.Backward="backward",e.None="none"}(Pt||(Pt={}));const _t="12px",Ot="nebula-table-utils-head-menu-button",Tt="sn-copy-cell";let kt=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}({});const qt="nebula-table-utils-column-adjuster",Nt=`${qt}-border`;let Ft=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}({}),zt=function(e){return e.Auto="auto",e.FitToContent="fitToContent",e.Pixels="pixels",e.Percentage="percentage",e}({});const jt={darker:.15,brighter:.3,opacity:.03},$t={darker:.3,brighter:.5,opacity:.05};var Gt,Bt;!function(e){e.NX_DIM_CELL_VALUE="V",e.NX_DIM_CELL_EMPTY="E",e.NX_DIM_CELL_NORMAL="N",e.NX_DIM_CELL_TOTAL="T",e.NX_DIM_CELL_OTHER="O",e.NX_DIM_CELL_AGGR="A",e.NX_DIM_CELL_PSEUDO="P",e.NX_DIM_CELL_ROOT="R",e.NX_DIM_CELL_NULL="U",e.NX_DIM_CELL_GENERATED="G"}(Gt||(Gt={})),function(e){e.NX_CELL_DATA="D",e.NX_CELL_TOP="T",e.NX_CELL_LEFT="L"}(Bt||(Bt={}));var Ht=Gt;const Wt="image",Vt=(e,t,n)=>{if(!n.properties.qHyperCubeDef.qIndentMode)return!0;const r=n.properties.qHyperCubeDef.qInterColumnSortOrder.indexOf(-1);let o=n.properties.qHyperCubeDef.qNoOfLeftDims;r>-1&&r<o&&(o-=1);const i=n.properties.qHyperCubeDef.qDimensions.indexOf(e);return 0===i||i>=o},Yt=()=>({type:{type:"string",component:"dropdown",ref:"qDef.columnWidth.type",translation:"Object.Table.Column.Width",options:[{value:zt.Auto,translation:"Common.Auto"},{value:zt.FitToContent,translation:"Object.Table.Column.FitToContent"},{value:zt.Pixels,translation:"Object.Table.Column.Pixels"},{value:zt.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:zt.Auto},sizePixels:{ref:"qDef.columnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",expression:"optional",defaultValue:Ft.PixelsDefault,show:e=>{var t;return(null===(t=e.qDef.columnWidth)||void 0===t?void 0:t.type)===zt.Pixels},change(e){void 0!==e.qDef.columnWidth.pixels&&(e.qDef.columnWidth.pixels=Math.max(Ft.PixelsMin,Math.min(Ft.PixelsMax,e.qDef.columnWidth.pixels)))}},sizePercentage:{ref:"qDef.columnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:Ft.PercentageDefault,show:e=>{var t;return(null===(t=e.qDef.columnWidth)||void 0===t?void 0:t.type)===zt.Percentage},change:e=>{void 0!==e.qDef.columnWidth.percentage&&(e.qDef.columnWidth.percentage=Math.max(Ft.PercentageMin,Math.min(Ft.PercentageMax,e.qDef.columnWidth.percentage)))}}}),Ut=({key:e,translation:t,env:n})=>{var r,o;if(!n.flags.isEnabled("CLIENT_IM_5863_PVT_TEXT_ALIGN"))return;const i=n.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!(null!==(r=n.anything)&&void 0!==r&&null!==(r=r.sense)&&void 0!==r&&null!==(o=r.isUnsupportedFeature)&&void 0!==o&&o.call(r,"tableImages"));return{[`${e}Auto`]:{ref:`qDef.${e}.auto`,type:"boolean",component:"switch",translation:t,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0,show:t=>{var n;if(!i||"labelTextAlign"===e)return!0;return(null==t||null===(n=t.qDef)||void 0===n||null===(n=n.representation)||void 0===n?void 0:n.type)!==Wt}},[e]:{ref:`qDef.${e}.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:t=>{var n,r;return!(void 0===t.qDef[e]||null!==(n=t.qDef[e])&&void 0!==n&&n.auto)&&(!i||"labelTextAlign"===e||(null===(r=t.qDef)||void 0===r||null===(r=r.representation)||void 0===r?void 0:r.type)!==Wt)}}}},Kt="TOTAL_OFF",Xt={component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:Mt.CellBackgroundColor},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:Mt.CellForegroundColor},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.LinkLabel,tid:"URLLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.Link,tid:"URLByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.ImageLabel,tid:"ImageLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.ImageUrl,tid:"ImageUrlByExpression",show:!1}]},Jt="TOTAL_OFF",Zt={component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:Mt.CellBackgroundColor},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:Mt.CellForegroundColor},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.LinkLabel,tid:"URLLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.Link,tid:"URLByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.ImageLabel,tid:"ImageLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:Mt.ImageUrl,tid:"ImageUrlByExpression",show:!1}]},Qt=e=>{var t,n;const{translator:r,anything:o,flags:i}=e,a=(e=>{var t,n;const{translator:r,anything:o,flags:i}=e;return{type:"items",component:"data-assets-panel-pivot",translation:"Common.Data",items:{dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",items:{field:{type:"items",translation:"Common.Field",items:{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},autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1},cId:{ref:"qDef.cId",type:"string",show:!1},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},totalMode:{type:"string",component:"switch",translation:"properties.showTotals",ref:"qOtherTotalSpec.qTotalMode",defaultValue:Kt,trueOption:{value:"TOTAL_EXPR",translation:"properties.on"},falseOption:{value:Kt,translation:"properties.off"},show:(null==o||null===(t=o.sense)||void 0===t||null===(n=t.isUnsupportedFeature)||void 0===n||!n.call(t,"totals"))&&Vt},totalsLabel:{type:"string",component:"expression",expressionType:"StringExpr",ref:"qTotalLabel",translation:"properties.totals.label",defaultValue:()=>r.get("Object.Table.Totals"),show(e,t,n){var r,i,a;return!(null!=o&&null!==(r=o.sense)&&void 0!==r&&null!==(i=r.isUnsupportedFeature)&&void 0!==i&&i.call(r,"totals"))&&(null===(a=e.qOtherTotalSpec)||void 0===a?void 0:a.qTotalMode)!==Kt&&Vt(e,0,n)}},dimensionLimits:i.isEnabled("CLIENT_IM5847_PIVOT_LIMITATION")?{uses:"dimensions.items.dimensionLimits"}:void 0,showOthers:i.isEnabled("CLIENT_IM5847_PIVOT_LIMITATION")?{uses:"dimensions.items.others"}:void 0,globalGrouping:i.isEnabled("CLIENT_IM5847_PIVOT_LIMITATION")?{type:"boolean",translation:"properties.dimensionLimits.globalGrouping",ref:"qOtherTotalSpec.qGlobalOtherGrouping",defaultValue:!1,show(e){var t;return"OTHER_OFF"!==(null==e||null===(t=e.qOtherTotalSpec)||void 0===t?void 0:t.qOtherMode)}}:void 0}},presentation:{type:"items",translation:"properties.presentation",items:{visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},isExpression:e=>"string"==typeof e&&e.trim().length>0},cellColoring:Xt,...Ut({env:e,key:"labelTextAlign",translation:"Common.Text.LabelTextAlignment"}),...Ut({env:e,key:"textAlign",translation:"Common.Text.TextAlignment"}),...Lt(e),...Yt()}}}},measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",items:{field:{type:"items",translation:"Common.Field",items:{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>!!e.qLibraryId},inlineMeasure:{component:"inline-measure",show:e=>!e.qLibraryId},autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1},cId:{ref:"qDef.cId",type:"string",show:!1},numberFormatting:i.isEnabled("CLIENT_IM_5851_MEASURE_FORMATTING")?{uses:"measures.items.numberFormatting"}:void 0}},presentation:{type:"items",translation:"properties.presentation",items:{visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},isExpression:e=>"string"==typeof e&&e.trim().length>0},cellColoring:Xt,...Ut({env:e,key:"labelTextAlign",translation:"Common.Text.LabelTextAlignment"}),...Ut({env:e,key:"textAlign",translation:"Common.Text.TextAlignment"}),...At(e),...Yt()}}}}}}})(e);return i.isEnabled("CLIENT_IM5974_PIVOT_DATA_PROPERTIES")?a:{type:"items",component:"pivot-data",translation:"properties.data",addTranslation:"Properties.AddData",items:{dimensions:{type:"array",component:"dimensions",translation:"Common.Dimensions",alternativeTranslation:"properties.alternative.dimensions",ref:"qHyperCubeDef.qDimensions",disabledRef:"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions",min:1,allowAdd:!0,allowRemove:!0,allowMove:!0,addTranslation:"properties.dimensions.add",grouped:!0,items:{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},autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1},cId:{ref:"qDef.cId",type:"string",show:!1},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},totalMode:{type:"string",component:"switch",translation:"properties.showTotals",ref:"qOtherTotalSpec.qTotalMode",defaultValue:Jt,trueOption:{value:"TOTAL_EXPR",translation:"properties.on"},falseOption:{value:Jt,translation:"properties.off"},show:(null==o||null===(t=o.sense)||void 0===t||null===(n=t.isUnsupportedFeature)||void 0===n||!n.call(t,"totals"))&&Vt},totalsLabel:{type:"string",component:"expression",expressionType:"StringExpr",ref:"qTotalLabel",translation:"properties.totals.label",defaultValue:()=>r.get("Object.Table.Totals"),show(e,t,n){var r,i,a;return!(null!=o&&null!==(r=o.sense)&&void 0!==r&&null!==(i=r.isUnsupportedFeature)&&void 0!==i&&i.call(r,"totals"))&&(null===(a=e.qOtherTotalSpec)||void 0===a?void 0:a.qTotalMode)!==Jt&&Vt(e,0,n)}},dimensionLimits:i.isEnabled("CLIENT_IM5847_PIVOT_LIMITATION")?{uses:"dimensions.items.dimensionLimits"}:void 0,showOthers:i.isEnabled("CLIENT_IM5847_PIVOT_LIMITATION")?{uses:"dimensions.items.others"}:void 0,globalGrouping:i.isEnabled("CLIENT_IM5847_PIVOT_LIMITATION")?{type:"boolean",translation:"properties.dimensionLimits.globalGrouping",ref:"qOtherTotalSpec.qGlobalOtherGrouping",defaultValue:!1,show(e){var t;return"OTHER_OFF"!==(null==e||null===(t=e.qOtherTotalSpec)||void 0===t?void 0:t.qOtherMode)}}:void 0,visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},isExpression:e=>"string"==typeof e&&e.trim().length>0},cellColoring:Zt,...Ut({env:e,key:"labelTextAlign",translation:"Common.Text.LabelTextAlignment"}),...Ut({env:e,key:"textAlign",translation:"Common.Text.TextAlignment"}),...Lt(e),...Yt()}},measures:{type:"array",component:"measures",translation:"Common.Measures",ref:"qHyperCubeDef.qMeasures",disabledRef:"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",min:1,allowAdd:!0,allowRemove:!0,allowMove:!0,addTranslation:"properties.measures.add",grouped:!0,items:{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>!!e.qLibraryId},inlineMeasure:{component:"inline-measure",show:e=>!e.qLibraryId},autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1},cId:{ref:"qDef.cId",type:"string",show:!1},numberFormatting:i.isEnabled("CLIENT_IM_5851_MEASURE_FORMATTING")?{uses:"measures.items.numberFormatting"}:void 0,visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},isExpression:e=>"string"==typeof e&&e.trim().length>0},cellColoring:Zt,...Ut({env:e,key:"labelTextAlign",translation:"Common.Text.LabelTextAlignment"}),...Ut({env:e,key:"textAlign",translation:"Common.Text.TextAlignment"}),...At(e),...Yt()}}}}},en=(e,t,n)=>({ref:e,translation:t,dualOutput:!0,type:"object",component:"color-picker",width:"auto",disableNone:!1,defaultValue(e,t,r){const o=r.theme.current(),i=n(o);return{color:"transparent"===i?"none":i}}});var tn=Object.prototype.hasOwnProperty,nn=Object.prototype.toString,rn=Object.defineProperty,on=Object.getOwnPropertyDescriptor,an=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===nn.call(e)},ln=function(e){if(!e||"[object Object]"!==nn.call(e))return!1;var t,n=tn.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&tn.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||tn.call(e,t)},sn=function(e,t){rn&&"__proto__"===t.name?rn(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},un=function(e,t){if("__proto__"===t){if(!tn.call(e,t))return;if(on)return on(e,t).value}return e[t]};function cn(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function dn(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function pn(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}((function e(){var t,n,r,o,i,a,l=arguments[0],s=1,u=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<u;++s)if(null!=(t=arguments[s]))for(n in t)r=un(l,n),l!==(o=un(t,n))&&(c&&o&&(ln(o)||(i=an(o)))?(i?(i=!1,a=r&&an(r)?r:[]):a=r&&ln(r)?r:{},sn(l,{name:n,newValue:e(c,a,o)})):void 0!==o&&sn(l,{name:n,newValue:o}));return l}));var fn=1/.7,hn="\\s*([+-]?\\d+)\\s*",mn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",gn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",bn=/^#([0-9a-f]{3,8})$/,vn=new RegExp(`^rgb\\(${hn},${hn},${hn}\\)$`),yn=new RegExp(`^rgb\\(${gn},${gn},${gn}\\)$`),xn=new RegExp(`^rgba\\(${hn},${hn},${hn},${mn}\\)$`),Sn=new RegExp(`^rgba\\(${gn},${gn},${gn},${mn}\\)$`),En=new RegExp(`^hsl\\(${mn},${gn},${gn}\\)$`),Cn=new RegExp(`^hsla\\(${mn},${gn},${gn},${mn}\\)$`),wn={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 Rn(){return this.rgb().formatHex()}function Ln(){return this.rgb().formatRgb()}function An(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=bn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?In(t):3===n?new _n(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Mn(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Mn(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=vn.exec(e))?new _n(t[1],t[2],t[3],1):(t=yn.exec(e))?new _n(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=xn.exec(e))?Mn(t[1],t[2],t[3],t[4]):(t=Sn.exec(e))?Mn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=En.exec(e))?Fn(t[1],t[2]/100,t[3]/100,1):(t=Cn.exec(e))?Fn(t[1],t[2]/100,t[3]/100,t[4]):wn.hasOwnProperty(e)?In(wn[e]):"transparent"===e?new _n(NaN,NaN,NaN,0):null}function In(e){return new _n(e>>16&255,e>>8&255,255&e,1)}function Mn(e,t,n,r){return r<=0&&(e=t=n=NaN),new _n(e,t,n,r)}function Dn(e){return e instanceof pn||(e=An(e)),e?new _n((e=e.rgb()).r,e.g,e.b,e.opacity):new _n}function Pn(e,t,n,r){return 1===arguments.length?Dn(e):new _n(e,t,n,null==r?1:r)}function _n(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function On(){return`#${Nn(this.r)}${Nn(this.g)}${Nn(this.b)}`}function Tn(){const e=kn(this.opacity);return`${1===e?"rgb(":"rgba("}${qn(this.r)}, ${qn(this.g)}, ${qn(this.b)}${1===e?")":`, ${e})`}`}function kn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function qn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Nn(e){return((e=qn(e))<16?"0":"")+e.toString(16)}function Fn(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new jn(e,t,n,r)}function zn(e){if(e instanceof jn)return new jn(e.h,e.s,e.l,e.opacity);if(e instanceof pn||(e=An(e)),!e)return new jn;if(e instanceof jn)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new jn(a,l,s,e.opacity)}function jn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function $n(e){return(e=(e||0)%360)<0?e+360:e}function Gn(e){return Math.max(0,Math.min(1,e||0))}function Bn(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}cn(pn,An,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Rn,formatHex:Rn,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return zn(this).formatHsl()},formatRgb:Ln,toString:Ln}),cn(_n,Pn,dn(pn,{brighter(e){return e=null==e?fn:Math.pow(fn,e),new _n(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new _n(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new _n(qn(this.r),qn(this.g),qn(this.b),kn(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:On,formatHex:On,formatHex8:function(){return`#${Nn(this.r)}${Nn(this.g)}${Nn(this.b)}${Nn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Tn,toString:Tn})),cn(jn,(function(e,t,n,r){return 1===arguments.length?zn(e):new jn(e,t,n,null==r?1:r)}),dn(pn,{brighter(e){return e=null==e?fn:Math.pow(fn,e),new jn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new jn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new _n(Bn(e>=240?e-240:e+120,o,r),Bn(e,o,r),Bn(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new jn($n(this.h),Gn(this.s),Gn(this.l),kn(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=kn(this.opacity);return`${1===e?"hsl(":"hsla("}${$n(this.h)}, ${100*Gn(this.s)}%, ${100*Gn(this.l)}%${1===e?")":`, ${e})`}`}}));const Hn=Math.PI/180,Wn=180/Math.PI,Vn=4/29,Yn=6/29,Un=3*Yn*Yn;function Kn(e){if(e instanceof Xn)return new Xn(e.l,e.a,e.b,e.opacity);if(e instanceof tr)return nr(e);e instanceof _n||(e=Dn(e));var t,n,r=er(e.r),o=er(e.g),i=er(e.b),a=Jn((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=Jn((.4360747*r+.3850649*o+.1430804*i)/.96422),n=Jn((.0139322*r+.0971045*o+.7141733*i)/.82521)),new Xn(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Xn(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Jn(e){return e>.008856451679035631?Math.pow(e,1/3):e/Un+Vn}function Zn(e){return e>Yn?e*e*e:Un*(e-Vn)}function Qn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function er(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function tr(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function nr(e){if(isNaN(e.h))return new Xn(e.l,0,0,e.opacity);var t=e.h*Hn;return new Xn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}cn(Xn,(function(e,t,n,r){return 1===arguments.length?Kn(e):new Xn(e,t,n,null==r?1:r)}),dn(pn,{brighter(e){return new Xn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Xn(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new _n(Qn(3.1338561*(t=.96422*Zn(t))-1.6168667*(e=1*Zn(e))-.4906146*(n=.82521*Zn(n))),Qn(-.9787684*t+1.9161415*e+.033454*n),Qn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),cn(tr,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof tr)return new tr(e.h,e.c,e.l,e.opacity);if(e instanceof Xn||(e=Kn(e)),0===e.a&&0===e.b)return new tr(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Wn;return new tr(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new tr(e,t,n,null==r?1:r)}),dn(pn,{brighter(e){return new tr(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new tr(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return nr(this).rgb()}}));var rr,or=e=>()=>e;function ir(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):or(isNaN(e)?t:e)}function ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=function(){var e={};return{get:function(t){return e[t]},set:function(t,n){return e[t]=n,n},has:function(t){return t in e},remove:function(t){delete e[t]},empty:function(){e={}}}}();return function(r){var o=t(r);return n.has(o)?n.get(o):n.set(o,e(r))}}function lr(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function sr(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=cr)):void 0===t&&(t=ur);for(var n,r,o,i,a,l=new fr(e),s=[l];n=s.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)s.push(r=o[i]=new fr(o[i])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(pr)}function ur(e){return e.children}function cr(e){return Array.isArray(e)?e[1]:null}function dr(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function pr(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function fr(e){this.data=e,this.depth=this.height=0,this.parent=null}!function e(t){var n=function(e){return 1==(e=+e)?ir:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):or(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Pn(e)).r,(t=Pn(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=ir(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1),fr.prototype=sr.prototype={constructor:fr,count:function(){return this.eachAfter(lr)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,a=[i],l=[],s=-1;i=a.pop();)if(l.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=l.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return sr(this).eachBefore(dr)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},rr=function(e){
10
10
  /*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
11
- e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,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(n=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+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],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},rr({exports:{}});var hr=["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"],mr=["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 gr(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?mr:hr}const br=(e,t=!1)=>{return{value:e,label:t?(n=e,n.charAt(0).toUpperCase()+n.slice(1)):e,groupHeader:!1,disabled:!1,styles:t?{fontFamily:e}:void 0};var n},vr=({ref:e,themeAccessor:t,translator:n,flags:r})=>({component:"dropdown",ref:e,options:(e,o,i)=>{const a=i.theme.current();return((e,t,n,r)=>{var o,i;const a=null!==(o=t.fontFamily)&&void 0!==o?o:"Source Sans Pro, sans-serif",l=null!==(i=t.fontFamilies)&&void 0!==i?i:[],s=Array.from(new Set([e,a,...l])),u=[{value:"ThemeHeader",label:n.get("properties.themeFonts"),metaText:n.get("properties.theme"),groupHeader:!0},...s.sort().map((e=>br(e,!0)))],c=[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0},...gr(r).filter((e=>!s.includes(e))).map((e=>br(e,!0)))];return[...u,...c.length>1?c:[]]})(t(a),a,n,r)},defaultValue:(e,n,r)=>t(r.theme.current())}),yr=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],xr=({ref:e,themeAccessor:t,translator:n})=>({component:"dropdown",ref:e,options:(e,r,o)=>{const i=o.theme.current();return((e,t,n)=>{var r;const o=t.fontSize,i=null!==(r=t.fontSizes)&&void 0!==r?r:[],a=Array.from(new Set([e,o,...i])),l=[{value:"ThemeHeader",label:n.get("properties.themeFontSizes"),metaText:n.get("properties.theme"),groupHeader:!0},...a.sort(((e,t)=>parseInt(e,10)-parseInt(t,10))).map((e=>br(e,!1)))],s=[{value:"DefaultHeader",label:n.get("properties.allFontSizes"),metaText:n.get("properties.default"),groupHeader:!0},...yr.filter((e=>!a.includes(e))).map((e=>br(e,!1)))];return[...l,...s.length>1?s:[]]})(t(i),i,n)},defaultValue:(e,n,r)=>t(r.theme.current())}),Sr=({section:e,defaultFontStyle:t,translator:n,flags:r,getThemeValue:o,translation:i})=>({component:"panel-section",translation:null!=i?i:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontFamily:vr({ref:`${e}.fontFamily`,themeAccessor:t=>{var n;return null!==(n=o(t,e,"fontFamily"))&&void 0!==n?n:t.fontFamily},translator:n,flags:r}),fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",width:!1,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontSize:xr({ref:`${e}.fontSize`,themeAccessor:t=>{var n;return null!==(n=o(t,e,"fontSize"))&&void 0!==n?n:t.fontSize},translator:n}),fontColor:en(`${e}.fontColor`,void 0,(t=>{var n;return null!==(n=o(t,e,"color"))&&void 0!==n?n:t.color}))}},background:en(`${e}.background`,"properties.background",(t=>{var n;return null!==(n=o(t,e,"backgroundColor"))&&void 0!==n?n:"transparent"}))}}}}),Er=({section:e,defaultFontStyle:t,fallbackBackground:n,getThemeValue:r})=>({component:"panel-section",translation:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",fullWidth:!0,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontColor:en(`${e}.fontColor`,void 0,(t=>{var n;return null!==(n=r(t,e,"color"))&&void 0!==n?n:t.color}))}},background:en(`${e}.background`,"properties.background",(t=>{var o,i;return null!==(o=null!==(i=r(t,e,"backgroundColor"))&&void 0!==i?i:n)&&void 0!==o?o:"transparent"}))}}}}),Cr=(e,t)=>({component:"dropdown",ref:e,translation:t,options:[...Array(10).keys()].map((e=>({value:e+1,translation:e+1}))),defaultValue:1}),wr="12px",Rr="Source Sans Pro, sans-serif",Lr="600",Ar=15e3,Ir=4/3,Mr=1;var Dr,Pr;!function(e){e.Transparent="transparent",e.FontPrimary="#404040",e.FontSecondary="#737373",e.DividerDark="#595959",e.DividerLight="#D9D9D9",e.NullValueBackground="#F2F2F2"}(Dr||(Dr={})),function(e){e.Solid="solid",e.None="none"}(Pr||(Pr={}));const _r={display:"flex",justifyContent:"center",alignItems:"center"},Or={borderStyle:"solid"},Tr={boxSizing:"border-box",padding:"4px 8px",userSelect:"none",WebkitUserSelect:"none"},kr={lineHeight:Ir,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},qr=e=>({whiteSpace:"unset",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",wordBreak:e>1?"break-word":"break-all"}),Nr=(e,t)=>e>0?`${e}px ${Pr.Solid} ${t}`:Pr.None,Fr=(e,t,n,r)=>{const o=Number(!t||(null==r?void 0:r.right)),i=Number(!e||(null==r?void 0:r.bottom));return{borderRight:Nr(o,n),borderBottom:Nr(i,n),borderLeft:Pr.None,borderTop:Pr.None}},zr=(e,t,n,r,o,i)=>{const a=Fr(t,r,o,i);return e.isLeftDimension||(e.isLastDimension&&!t&&(a.borderBottom=Nr(2,o)),n||(a.borderLeft=Nr(1,o))),a},jr=({bottomDivider:e,rightDivider:t,borderColor:n})=>{const r={};return e&&(r.borderBottom=Nr(1,n)),t&&(r.borderRight=Nr(1,n)),r},$r=e=>({translation:"properties.pivot.grid",component:"panel-section",items:{gridItems:{component:"items",ref:"components",key:"theme",items:{lineClamp:Cr("grid.lineClamp","ThemeStyleEditor.style.rowHeight"),columnLineClamp:e.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")?Cr("grid.columnLineClamp","ThemeStyleEditor.style.columnHeight"):void 0,border:en("grid.border","properties.border",(e=>{var t,n;return null!==(t=null===(n=e.object)||void 0===n||null===(n=n.pivotTableV2)||void 0===n||null===(n=n.grid)||void 0===n?void 0:n.borderColor)&&void 0!==t?t:Dr.DividerLight})),divider:en("grid.divider","properties.pivot.divider",(e=>{var t,n;return null!==(t=null===(n=e.object)||void 0===n||null===(n=n.pivotTableV2)||void 0===n||null===(n=n.grid)||void 0===n||null===(n=n.divider)||void 0===n?void 0:n.borderColor)&&void 0!==t?t:Dr.DividerDark})),background:en("grid.background","properties.background",(e=>{var t,n;return null!==(t=null===(n=e.object)||void 0===n||null===(n=n.pivotTableV2)||void 0===n||null===(n=n.grid)||void 0===n?void 0:n.backgroundColor)&&void 0!==t?t:Dr.Transparent}))}}}}),Gr=(e,t,n)=>{var r,o,i,a,l,s;switch(t){case"header":return null==e||null===(r=e.object)||void 0===r||null===(r=r.pivotTableV2)||void 0===r||null===(r=r.dimension)||void 0===r||null===(r=r.label)||void 0===r||null===(r=r.name)||void 0===r?void 0:r[n];case"dimensionValues":return null==e||null===(o=e.object)||void 0===o||null===(o=o.pivotTableV2)||void 0===o||null===(o=o.dimension)||void 0===o||null===(o=o.label)||void 0===o||null===(o=o.value)||void 0===o?void 0:o[n];case"measureLabels":return null==e||null===(i=e.object)||void 0===i||null===(i=i.pivotTableV2)||void 0===i||null===(i=i.measure)||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.name)||void 0===i?void 0:i[n];case"measureValues":return null==e||null===(a=e.object)||void 0===a||null===(a=a.pivotTableV2)||void 0===a||null===(a=a.measure)||void 0===a||null===(a=a.label)||void 0===a||null===(a=a.value)||void 0===a?void 0:a[n];case"totalValues":return null==e||null===(l=e.object)||void 0===l||null===(l=l.pivotTableV2)||void 0===l||null===(l=l.total)||void 0===l||null===(l=l.label)||void 0===l||null===(l=l.value)||void 0===l?void 0:l[n];case"nullValues":return null==e||null===(s=e.object)||void 0===s||null===(s=s.pivotTableV2)||void 0===s||null===(s=s.null)||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.value)||void 0===s?void 0:s[n];default:return}},Br=(e,t)=>({type:"items",items:[{component:"styling-panel",chartTitle:"Object.PivotTable",subtitle:"LayerStyleEditor.component.styling",translation:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0,defaultValue:[],items:{headerSection:Sr({section:"header",defaultFontStyle:["bold"],translator:e,flags:t,getThemeValue:Gr}),dimensionValueSection:Sr({section:"dimensionValues",translator:e,flags:t,getThemeValue:Gr}),measureValueSection:Sr({section:"measureValues",translator:e,flags:t,getThemeValue:Gr}),measureLabelSection:Er({section:"measureLabels",getThemeValue:Gr}),totalValuesSection:Er({section:"totalValues",defaultFontStyle:["bold"],getThemeValue:Gr}),nullValuesSection:Er({section:"nullValues",fallbackBackground:Dr.NullValueBackground,getThemeValue:Gr}),gridSection:$r(t)}}]}),Hr=e=>({type:"items",items:{nullValueText:{ref:"nullValueRepresentation.text",type:"string",translation:"properties.pivot.nullValueText",defaultValue:"-"},alwaysFullyExpanded:{ref:"qHyperCubeDef.qAlwaysFullyExpanded",type:"boolean",translation:"properties.pivot.fullyExpanded",defaultValue:!1},...e.isEnabled("CLIENT_IM_5975_INDENT_MODE")&&{indentMode:{ref:"qHyperCubeDef.qIndentMode",type:"boolean",translation:"properties.pivot.indentMode",defaultValue:!0,change(e){e.qHyperCubeDef.qShowTotalsAbove=!0}},type:{type:"string",component:"dropdown",ref:"qHyperCubeDef.indentModeColumnWidth.type",translation:"Object.Table.Column.Width",options:[{value:zt.Auto,translation:"Common.Auto"},{value:zt.Pixels,translation:"Object.Table.Column.Pixels"},{value:zt.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:zt.Auto,show:e=>e.qHyperCubeDef.qIndentMode},sizePixels:{ref:"qHyperCubeDef.indentModeColumnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",expression:"optional",defaultValue:Ft.PixelsDefault,show:e=>{var t;const n=e.qHyperCubeDef;return n.qIndentMode&&(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.type)===zt.Pixels},change:e=>{var t;const n=e.qHyperCubeDef;void 0!==(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.pixels)&&(n.indentModeColumnWidth.pixels=Math.max(Ft.PixelsMin,Math.min(Ft.PixelsMax,n.indentModeColumnWidth.pixels)))}},sizePercentage:{ref:"qHyperCubeDef.indentModeColumnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:Ft.PercentageDefault,show:e=>{var t;const n=e.qHyperCubeDef;return n.qIndentMode&&(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.type)===zt.Percentage},change:e=>{var t;const n=e.qHyperCubeDef;void 0!==(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.percentage)&&(n.indentModeColumnWidth.percentage=Math.max(Ft.PercentageMin,Math.min(Ft.PercentageMaxInIndentMode,n.indentModeColumnWidth.percentage)))}}},showTotalsAbove:{ref:"qHyperCubeDef.qShowTotalsAbove",type:"boolean",translation:"properties.pivot.showTotalsAbove",defaultValue:!0,show(t){var n;const{qIndentMode:r}=t.qHyperCubeDef;return(!r||r&&!e.isEnabled("CLIENT_IM_5975_INDENT_MODE"))&&(null===(n=t.qHyperCubeDef)||void 0===n||null===(n=n.qDimensions)||void 0===n?void 0:n.some((e=>{var t;return"TOTAL_EXPR"===(null===(t=e.qOtherTotalSpec)||void 0===t?void 0:t.qTotalMode)})))}},resetProperties:{type:"object",component:"button",translation:"properties.pivot.resetExpansionButton",disabled:e=>e.qHyperCubeDef.qAlwaysFullyExpanded,action(e,t,n,r){e.qHyperCubeDef.qExpansionState=[],r.$emit("saveProperties",e)}}}}),Wr=(e,t)=>({uses:"settings",items:{presentation:{type:"items",translation:"properties.presentation",grouped:!0,items:[Br(e,t),Hr(t)]}}}),Vr="auto",Yr={type:"items",translation:"properties.sorting",items:{sortbyY:{type:"items",items:{sortbyYToggle:{ref:"qHyperCubeDef.qSortbyYValue",type:"boolean",component:"switch",translation:"properties.sorting.sortByY.label",convertFunctions:{get:e=>!!e("integer"),set:(e,t)=>t("integer",e?-1:0)},options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},sortbyYOrder:{ref:"qHyperCubeDef.qSortbyYValue",type:"string",component:"dropdown",defaultValue:0,options:[{value:1,translation:"properties.sorting.ascending"},{value:-1,translation:"properties.sorting.descending"}],show:e=>{var t;return!(null==e||null===(t=e.qHyperCubeDef)||void 0===t||!t.qSortbyYValue)}}}},defaultSorting:{uses:"sorting",items:{dimensions:{showPriority:!1,allowMove:!1},measures:{included:!1}}},searchSorting:{ref:"search.sorting",type:"string",component:"dropdown",defaultValue:Vr,translation:"Object.Table.SortingInSearch",options:[{value:Vr,translation:"Common.Auto"},{value:"inherit",translation:"Object.Table.SortingInSearch.InheritFromDimension"}]}}};function Ur(e){const{translator:t,flags:n}=e;return{type:"items",component:"accordion",items:{data:Qt(e),sorting:Yr,addons:vt,settings:Wr(t,n)}}}function Kr(e){return{support:{cssScaling:e.flags.isEnabled("CLIENT_IM5878_PIVOT_SNAPSHOT"),snapshot:e.flags.isEnabled("CLIENT_IM5878_PIVOT_SNAPSHOT"),export:e.flags.isEnabled("CLIENT_IM4976_PIVOT_DOWNLOAD"),sharing:!1,exportData:!0,viewData:!0},usePropertyHandler:"pivot-data",definition:Ur(e),importProperties:gt(e),exportProperties:bt}}function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xr.apply(null,arguments)}var Jr={exports:{}};function Zr(){}function Qr(){}Qr.resetWarningCache=Zr;Jr.exports=function(){function e(e,t,n,r,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 n={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:Qr,resetWarningCache:Zr};return n.PropTypes=n,n}();var eo=F(Jr.exports);function to(e){if(e.type)return e;if("#"===e.charAt(0))return to(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(function(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function no(e,t){return e=to(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}(e)}function ro(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function oo(e,t){return oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oo(e,t)}function io(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oo(e,t)}const ao={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"},lo={WHITE:"#FFFFFF",GREY:"#999999",GREY_PALE:"#B2B2B2",GREEN:"#00873D",GREEN_PALE:"#0AAF54",GREEN_DARK:"#0D6932",BLUE:"#3F8AB3",BLUE_PALE:"#469DCD",BLUE_DARK:"#2F607B",RED:"#DC373F",RED_PALE:"#F05551",RED_DARK:"#97322F",ORANGE:"#EF960F",ORANGE_PALE:"#FFC629",ORANGE_DARK:"#A4681C",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",...ao,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_25:"rgba(0, 0, 0, 0.25)",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_0_65:"rgba(0, 0, 0, 0.65)",GREYSCALE_100_05:"rgba(255, 255, 255, 0.05)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_25:"rgba(255, 255, 255, 0.25)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#177FE6",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},so=12,uo=14,co=16,po=24,fo=3,ho=300,mo=400,go=600,bo=700,vo={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};no(lo.GREYSCALE_0,.05),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5);var yo;function xo(){return xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xo.apply(this,arguments)}no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5);var So,Eo=function(e){return y.createElement("svg",xo({xmlns:"http://www.w3.org/2000/svg",width:16,height:16},e),yo||(yo=y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Co.apply(this,arguments)}var wo=function(e){return y.createElement("svg",Co({xmlns:"http://www.w3.org/2000/svg",width:16,height:16},e),So||(So=y.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 Ro({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return x.createElement("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n},t)}var Lo=(e={})=>x.createElement(Ro,{...e},x.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},x.createElement("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),x.createElement("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"}))),Ao=(e={})=>x.createElement(Ro,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),x.createElement("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})))),Io=(e={})=>x.createElement(Ro,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212"},x.createElement("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})))),Mo=(e={})=>x.createElement(Ro,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),x.createElement("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"}))),Do=({className:e})=>x.createElement(Ro,{fontSize:"small",className:e},x.createElement("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero"},x.createElement("g",{transform:"translate(4.324187, 1.300372)"},x.createElement("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"}),x.createElement("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"}))))));var Po={black:"#000",white:"#fff"};var _o={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"};var Oo={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var To={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"};var ko={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var qo={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"};var No={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"};var Fo={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 zo(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 jo="$$material";function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$o.apply(this,arguments)}function Go(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Bo(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 Ho=Object.freeze({__proto__:null,default:Bo}),Wo=function(){return Wo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wo.apply(this,arguments)};function Vo(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Yo="-ms-",Uo="-moz-",Ko="-webkit-",Xo="comm",Jo="rule",Zo="decl",Qo="@import",ei="@keyframes",ti="@layer",ni=Math.abs,ri=String.fromCharCode,oi=Object.assign;function ii(e){return e.trim()}function ai(e,t){return(e=t.exec(e))?e[0]:e}function li(e,t,n){return e.replace(t,n)}function si(e,t,n){return e.indexOf(t,n)}function ui(e,t){return 0|e.charCodeAt(t)}function ci(e,t,n){return e.slice(t,n)}function di(e){return e.length}function pi(e){return e.length}function fi(e,t){return t.push(e),e}function hi(e,t){return e.filter((function(e){return!ai(e,t)}))}var mi=1,gi=1,bi=0,vi=0,yi=0,xi="";function Si(e,t,n,r,o,i,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:mi,column:gi,length:a,return:"",siblings:l}}function Ei(e,t){return oi(Si("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ci(e){for(;e.root;)e=Ei(e.root,{children:[e]});fi(e,e.siblings)}function wi(){return yi=vi>0?ui(xi,--vi):0,gi--,10===yi&&(gi=1,mi--),yi}function Ri(){return yi=vi<bi?ui(xi,vi++):0,gi++,10===yi&&(gi=1,mi++),yi}function Li(){return ui(xi,vi)}function Ai(){return vi}function Ii(e,t){return ci(xi,e,t)}function Mi(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 Di(e){return ii(Ii(vi-1,Oi(91===e?e+2:40===e?e+1:e)))}function Pi(e){for(;(yi=Li())&&yi<33;)Ri();return Mi(e)>2||Mi(yi)>3?"":" "}function _i(e,t){for(;--t&&Ri()&&!(yi<48||yi>102||yi>57&&yi<65||yi>70&&yi<97););return Ii(e,Ai()+(t<6&&32==Li()&&32==Ri()))}function Oi(e){for(;Ri();)switch(yi){case e:return vi;case 34:case 39:34!==e&&39!==e&&Oi(yi);break;case 40:41===e&&Oi(e);break;case 92:Ri()}return vi}function Ti(e,t){for(;Ri()&&e+yi!==57&&(e+yi!==84||47!==Li()););return"/*"+Ii(t,vi-1)+"*"+ri(47===e?e:Ri())}function ki(e){for(;!Mi(Li());)Ri();return Ii(e,vi)}function qi(e){return function(e){return xi="",e}(Ni("",null,null,null,[""],e=function(e){return mi=gi=1,bi=di(xi=e),vi=0,[]}(e),0,[0],e))}function Ni(e,t,n,r,o,i,a,l,s){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,E=r,C=y;g;)switch(h=v,v=Ri()){case 40:if(108!=h&&58==ui(C,d-1)){-1!=si(C+=li(Di(v),"&","&\f"),"&\f",ni(u?l[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:C+=Di(v);break;case 9:case 10:case 13:case 32:C+=Pi(h);break;case 92:C+=_i(Ai()-1,7);continue;case 47:switch(Li()){case 42:case 47:fi(zi(Ti(Ri(),Ai()),t,n,s),s);break;default:C+="/"}break;case 123*m:l[u++]=di(C)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(C=li(C,/\f/g,"")),f>0&&di(C)-d&&fi(f>32?ji(C+";",r,n,d-1,s):ji(li(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(fi(E=Fi(C,t,n,u,c,o,l,y,x=[],S=[],d,i),i),123===v)if(0===c)Ni(C,t,E,E,x,i,d,l,S);else switch(99===p&&110===ui(C,3)?100:p){case 100:case 108:case 109:case 115:Ni(e,E,E,r&&fi(Fi(e,E,E,0,0,o,l,y,o,x=[],d,S),S),o,S,d,l,r?x:S);break;default:Ni(C,E,E,E,[""],S,0,l,S)}}u=c=f=0,m=b=1,y=C="",d=a;break;case 58:d=1+di(C),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==wi())continue;switch(C+=ri(v),v*m){case 38:b=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(di(C)-1)*b,b=1;break;case 64:45===Li()&&(C+=Di(Ri())),p=Li(),c=d=di(y=C+=ki(Ai())),v++;break;case 45:45===h&&2==di(C)&&(m=0)}}return i}function Fi(e,t,n,r,o,i,a,l,s,u,c,d){for(var p=o-1,f=0===o?i:[""],h=pi(f),m=0,g=0,b=0;m<r;++m)for(var v=0,y=ci(e,p+1,p=ni(g=a[m])),x=e;v<h;++v)(x=ii(g>0?f[v]+" "+y:li(y,/&\f/g,f[v])))&&(s[b++]=x);return Si(e,t,n,0===o?Jo:l,s,u,c,d)}function zi(e,t,n,r){return Si(e,t,n,Xo,ri(yi),ci(e,2,-2),0,r)}function ji(e,t,n,r,o){return Si(e,t,n,Zo,ci(e,0,r),ci(e,r+1,-1),r,o)}function $i(e,t,n){switch(function(e,t){return 45^ui(e,0)?(((t<<2^ui(e,0))<<2^ui(e,1))<<2^ui(e,2))<<2^ui(e,3):0}(e,t)){case 5103:return Ko+"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 Ko+e+e;case 4789:return Uo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ko+e+Uo+e+Yo+e+e;case 5936:switch(ui(e,t+11)){case 114:return Ko+e+Yo+li(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ko+e+Yo+li(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ko+e+Yo+li(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ko+e+Yo+e+e;case 6165:return Ko+e+Yo+"flex-"+e+e;case 5187:return Ko+e+li(e,/(\w+).+(:[^]+)/,Ko+"box-$1$2"+Yo+"flex-$1$2")+e;case 5443:return Ko+e+Yo+"flex-item-"+li(e,/flex-|-self/g,"")+(ai(e,/flex-|baseline/)?"":Yo+"grid-row-"+li(e,/flex-|-self/g,""))+e;case 4675:return Ko+e+Yo+"flex-line-pack"+li(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ko+e+Yo+li(e,"shrink","negative")+e;case 5292:return Ko+e+Yo+li(e,"basis","preferred-size")+e;case 6060:return Ko+"box-"+li(e,"-grow","")+Ko+e+Yo+li(e,"grow","positive")+e;case 4554:return Ko+li(e,/([^-])(transform)/g,"$1"+Ko+"$2")+e;case 6187:return li(li(li(e,/(zoom-|grab)/,Ko+"$1"),/(image-set)/,Ko+"$1"),e,"")+e;case 5495:case 3959:return li(e,/(image-set\([^]*)/,Ko+"$1$`$1");case 4968:return li(li(e,/(.+:)(flex-)?(.*)/,Ko+"box-pack:$3"+Yo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ko+e+e;case 4200:if(!ai(e,/flex-|baseline/))return Yo+"grid-column-align"+ci(e,t)+e;break;case 2592:case 3360:return Yo+li(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,ai(e.props,/grid-\w+-end/)}))?~si(e+(n=n[t].value),"span",0)?e:Yo+li(e,"-start","")+e+Yo+"grid-row-span:"+(~si(n,"span",0)?ai(n,/\d+/):+ai(n,/\d+/)-+ai(e,/\d+/))+";":Yo+li(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return ai(e.props,/grid-\w+-start/)}))?e:Yo+li(li(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return li(e,/(.+)-inline(.+)/,Ko+"$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(di(e)-1-t>6)switch(ui(e,t+1)){case 109:if(45!==ui(e,t+4))break;case 102:return li(e,/(.+:)(.+)-([^]+)/,"$1"+Ko+"$2-$3$1"+Uo+(108==ui(e,t+3)?"$3":"$2-$3"))+e;case 115:return~si(e,"stretch",0)?$i(li(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return li(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,l){return Yo+n+":"+r+l+(o?Yo+n+"-span:"+(i?a:+a-+r)+l:"")+e}));case 4949:if(121===ui(e,t+6))return li(e,":",":"+Ko)+e;break;case 6444:switch(ui(e,45===ui(e,14)?18:11)){case 120:return li(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ko+(45===ui(e,14)?"inline-":"")+"box$3$1"+Ko+"$2$3$1"+Yo+"$2box$3")+e;case 100:return li(e,":",":"+Yo)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return li(e,"scroll-","scroll-snap-")+e}return e}function Gi(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Bi(e,t,n,r){switch(e.type){case ti:if(e.children.length)break;case Qo:case Zo:return e.return=e.return||e.value;case Xo:return"";case ei:return e.return=e.value+"{"+Gi(e.children,r)+"}";case Jo:if(!di(e.value=e.props.join(",")))return""}return di(n=Gi(e.children,r))?e.return=e.value+"{"+n+"}":""}function Hi(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Zo:return void(e.return=$i(e.value,e.length,n));case ei:return Gi([Ei(e,{value:li(e.value,"@","@"+Ko)})],r);case Jo:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(ai(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ci(Ei(e,{props:[li(t,/:(read-\w+)/,":"+Uo+"$1")]})),Ci(Ei(e,{props:[t]})),oi(e,{props:hi(n,r)});break;case"::placeholder":Ci(Ei(e,{props:[li(t,/:(plac\w+)/,":"+Ko+"input-$1")]})),Ci(Ei(e,{props:[li(t,/:(plac\w+)/,":"+Uo+"$1")]})),Ci(Ei(e,{props:[li(t,/:(plac\w+)/,Yo+"input-$1")]})),Ci(Ei(e,{props:[t]})),oi(e,{props:hi(n,r)})}return""}))}}var Wi={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},Vi="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Yi="active",Ui="data-styled-version",Ki="6.1.12",Xi="/*!sc*/\n",Ji="undefined"!=typeof window&&"HTMLElement"in window,Zi=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)),Qi={},ea=Object.freeze([]),ta=Object.freeze({});function na(e,t,n){return void 0===n&&(n=ta),e.theme!==n.theme&&e.theme||t||n.theme}var ra=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"]),oa=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ia=/(^-|-$)/g;function aa(e){return e.replace(oa,"-").replace(ia,"")}var la=/(a)(d)/gi,sa=52,ua=function(e){return String.fromCharCode(e+(e>25?39:97))};function ca(e){var t,n="";for(t=Math.abs(e);t>sa;t=t/sa|0)n=ua(t%sa)+n;return(ua(t%sa)+n).replace(la,"$1-$2")}var da,pa=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},fa=function(e){return pa(5381,e)};function ha(e){return ca(fa(e)>>>0)}function ma(e){return"string"==typeof e&&!0}var ga="function"==typeof Symbol&&Symbol.for,ba=ga?Symbol.for("react.memo"):60115,va=ga?Symbol.for("react.forward_ref"):60112,ya={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xa={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ea=((da={})[va]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},da[ba]=Sa,da);function Ca(e){return("type"in(t=e)&&t.type.$$typeof)===ba?Sa:"$$typeof"in e?Ea[e.$$typeof]:ya;var t}var wa=Object.defineProperty,Ra=Object.getOwnPropertyNames,La=Object.getOwnPropertySymbols,Aa=Object.getOwnPropertyDescriptor,Ia=Object.getPrototypeOf,Ma=Object.prototype;function Da(e,t,n){if("string"!=typeof t){if(Ma){var r=Ia(t);r&&r!==Ma&&Da(e,r,n)}var o=Ra(t);La&&(o=o.concat(La(t)));for(var i=Ca(e),a=Ca(t),l=0;l<o.length;++l){var s=o[l];if(!(s in xa||n&&n[s]||a&&s in a||i&&s in i)){var u=Aa(t,s);try{wa(e,s,u)}catch(e){}}}}return e}function Pa(e){return"function"==typeof e}function _a(e){return"object"==typeof e&&"styledComponentId"in e}function Oa(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ta(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function ka(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function qa(e,t,n){if(void 0===n&&(n=!1),!n&&!ka(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=qa(e[r],t[r]);else if(ka(t))for(var r in t)e[r]=qa(e[r],t[r]);return e}function Na(e,t){Object.defineProperty(e,"toString",{value:t})}function Fa(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];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 za=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,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw Fa(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;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],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(Xi);return t},e}(),ja=new Map,$a=new Map,Ga=1,Ba=function(e){if(ja.has(e))return ja.get(e);for(;$a.has(Ga);)Ga++;var t=Ga++;return ja.set(e,t),$a.set(t,e),t},Ha=function(e,t){Ga=t+1,ja.set(e,t),$a.set(t,e)},Wa="style[".concat(Vi,"][").concat(Ui,'="').concat(Ki,'"]'),Va=new RegExp("^".concat(Vi,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ya=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},Ua=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Xi),o=[],i=0,a=r.length;i<a;i++){var l=r[i].trim();if(l){var s=l.match(Va);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(Ha(c,u),Ya(e,c,s[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(l)}}},Ka=function(e){for(var t=document.querySelectorAll(Wa),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(Vi)!==Yi&&(Ua(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var Xa=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Vi,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Vi,Yi),r.setAttribute(Ui,Ki);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Ja=function(){function e(e){this.element=Xa(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw Fa(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}(),Za=function(){function e(e){this.element=Xa(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,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}(),Qa=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}(),el=Ji,tl={isServer:!Ji,useCSSOMInjection:!Zi},nl=function(){function e(e,t,n){void 0===e&&(e=ta),void 0===t&&(t={});var r=this;this.options=Wo(Wo({},tl),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ji&&el&&(el=!1,Ka(this)),Na(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return $a.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||!i.size||0===a.length)return"continue";var l="".concat(Vi,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(Xi)},i=0;i<n;i++)o(i);return r}(r)}))}return e.registerId=function(e){return Ba(e)},e.prototype.rehydrate=function(){!this.server&&Ji&&Ka(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Wo(Wo({},this.options),t),this.gs,n&&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,n=e.target;return e.isServer?new Qa(n):t?new Ja(n):new Za(n)}(this.options),new za(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(Ba(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Ba(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Ba(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),rl=/&/g,ol=/^\s*\/\/.*$/gm;function il(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=il(e.children,t)),e}))}var al=new nl,ll=function(e){var t,n,r,o=void 0===e?ta:e,i=o.options,a=void 0===i?ta:i,l=o.plugins,s=void 0===l?ea:l,u=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},c=s.slice();c.push((function(e){e.type===Jo&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(rl,n).replace(r,u))})),a.prefix&&c.push(Hi),c.push(Bi);var d=function(e,o,i,l){void 0===o&&(o=""),void 0===i&&(i=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(ol,""),u=qi(i||o?"".concat(i," ").concat(o," { ").concat(s," }"):s);a.namespace&&(u=il(u,a.namespace));var d,p=[];return Gi(u,function(e){var t=pi(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,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=s.length?s.reduce((function(e,t){return t.name||Fa(15),pa(e,t.name)}),5381).toString():"",d}(),sl=x.createContext({shouldForwardProp:void 0,styleSheet:al,stylis:ll});function ul(){return S(sl)}sl.Consumer;var cl=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ll);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Na(this,(function(){throw Fa(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=ll),this.name+e.hash},e}(),dl=function(e){return e>="A"&&e<="Z"};function pl(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;dl(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var fl=function(e){return null==e||!1===e||""===e},hl=function(e){var t,n,r=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!fl(i)&&(Array.isArray(i)&&i.isCss||Pa(i)?r.push("".concat(pl(o),":"),i,";"):ka(i)?r.push.apply(r,Vo(Vo(["".concat(o," {")],hl(i),!1),["}"],!1)):r.push("".concat(pl(o),": ").concat((t=o,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Wi||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function ml(e,t,n,r){return fl(e)?[]:_a(e)?[".".concat(e.styledComponentId)]:Pa(e)?!Pa(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:ml(e(t),t,n,r):e instanceof cl?n?(e.inject(n,r),[e.getName(r)]):[e]:ka(e)?hl(e):Array.isArray(e)?Array.prototype.concat.apply(ea,e.map((function(e){return ml(e,t,n,r)}))):[e.toString()];var o}function gl(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Pa(n)&&!_a(n))return!1}return!0}var bl=fa(Ki),vl=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&gl(e),this.componentId=t,this.baseHash=pa(bl,t),this.baseStyle=n,nl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Oa(r,this.staticRulesId);else{var o=Ta(ml(this.rules,e,t,n)),i=ca(pa(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Oa(r,i),this.staticRulesId=i}else{for(var l=pa(this.baseHash,n.hash),s="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)s+=c;else if(c){var d=Ta(ml(c,e,t,n));l=pa(l,d+u),s+=d}}if(s){var p=ca(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=Oa(r,p)}}return r},e}(),yl=x.createContext(void 0);yl.Consumer;var xl={};new Set;function Sl(e,t,n){var r=_a(e),o=e,i=!ma(e),a=t.attrs,l=void 0===a?ea:a,s=t.componentId,u=void 0===s?function(e,t){var n="string"!=typeof e?"sc":aa(e);xl[n]=(xl[n]||0)+1;var r="".concat(n,"-").concat(ha(Ki+n+xl[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):s,c=t.displayName,d=void 0===c?function(e){return ma(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,p=t.displayName&&t.componentId?"".concat(aa(t.displayName),"-").concat(t.componentId):t.componentId||u,f=r&&o.attrs?o.attrs.concat(l).filter(Boolean):l,h=t.shouldForwardProp;if(r&&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 vl(n,p,r?o.componentStyle:void 0);function v(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,l=e.styledComponentId,s=e.target,u=x.useContext(yl),c=ul(),d=e.shouldForwardProp||c.shouldForwardProp,p=na(t,u,i)||ta,f=function(e,t,n){for(var r,o=Wo(Wo({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=Pa(r=e[i])?r(o):r;for(var l in a)o[l]="className"===l?Oa(o[l],a[l]):"style"===l?Wo(Wo({},o[l]),a[l]):a[l]}return t.className&&(o.className=Oa(o.className,t.className)),o}(r,t,p),h=f.as||s,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 n=ul();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(o,f),v=Oa(a,l);return b&&(v+=" "+b),f.className&&(v+=" "+f.className),m[ma(h)&&!ra.has(h)?"class":"className"]=v,m.ref=n,E(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=r?Oa(o.foldedComponentIds,o.styledComponentId):"",y.styledComponentId=p,y.target=r?o.target:e,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)qa(e,o[r],!0);return e}({},o.defaultProps,e):e}}),Na(y,(function(){return".".concat(y.styledComponentId)})),i&&Da(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function El(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Cl=function(e){return Object.assign(e,{isCss:!0})};function wl(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Pa(e)||ka(e))return Cl(ml(El(ea,Vo([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?ml(r):Cl(ml(El(r,t)))}function Rl(e,t,n){if(void 0===n&&(n=ta),!t)throw Fa(1,t);var r=function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,n,wl.apply(void 0,Vo([r],o,!1)))};return r.attrs=function(r){return Rl(e,t,Wo(Wo({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Rl(e,t,Wo(Wo({},n),r))},r}var Ll=function(e){return Rl(Sl,e)},Al=Ll;ra.forEach((function(e){Al[e]=Ll(e)}));var Il=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=gl(e),nl.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(Ta(ml(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&nl.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Ml(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ta(wl.apply(void 0,Vo([e],t,!1))),o=ha(r);return new cl(o,r)}function Dl(e){const{injectFirst:t,children:n}=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 n}Dl.propTypes={children:eo.node,injectFirst:eo.bool};const Pl=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=wl.apply(void 0,Vo([e],t,!1)),o="sc-global-".concat(ha(JSON.stringify(r))),i=new Il(r,o),a=function(e){var t=ul(),n=x.useContext(yl),r=x.useRef(t.styleSheet.allocateGSInstance(o)).current;return t.styleSheet.server&&function(e,t,n,r,o){if(i.isStatic)i.renderStyles(e,Qi,n,o);else{var l=Wo(Wo({},t),{theme:na(t,r,a.defaultProps)});i.renderStyles(e,l,n,o)}}(r,e,t.styleSheet,n,t.stylis),null};return x.memo(a)}((e=>{const{styles:t,defaultTheme:n={}}=e;return"function"==typeof t?t(null==(r=e.theme)||0===Object.keys(r).length?n:e.theme):t;var r}));var _l=Pl;
11
+ e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,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(n=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+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],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},rr({exports:{}});var hr=["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"],mr=["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 gr(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?mr:hr}const br=(e,t=!1)=>{return{value:e,label:t?(n=e,n.charAt(0).toUpperCase()+n.slice(1)):e,groupHeader:!1,disabled:!1,styles:t?{fontFamily:e}:void 0};var n},vr=({ref:e,themeAccessor:t,translator:n,flags:r})=>({component:"dropdown",ref:e,options:(e,o,i)=>{const a=i.theme.current();return((e,t,n,r)=>{var o,i;const a=null!==(o=t.fontFamily)&&void 0!==o?o:"Source Sans Pro, sans-serif",l=null!==(i=t.fontFamilies)&&void 0!==i?i:[],s=Array.from(new Set([e,a,...l])),u=[{value:"ThemeHeader",label:n.get("properties.themeFonts"),metaText:n.get("properties.theme"),groupHeader:!0},...s.sort().map((e=>br(e,!0)))],c=[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0},...gr(r).filter((e=>!s.includes(e))).map((e=>br(e,!0)))];return[...u,...c.length>1?c:[]]})(t(a),a,n,r)},defaultValue:(e,n,r)=>t(r.theme.current())}),yr=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],xr=({ref:e,themeAccessor:t,translator:n})=>({component:"dropdown",ref:e,options:(e,r,o)=>{const i=o.theme.current();return((e,t,n)=>{var r;const o=t.fontSize,i=null!==(r=t.fontSizes)&&void 0!==r?r:[],a=Array.from(new Set([e,o,...i])),l=[{value:"ThemeHeader",label:n.get("properties.themeFontSizes"),metaText:n.get("properties.theme"),groupHeader:!0},...a.sort(((e,t)=>parseInt(e,10)-parseInt(t,10))).map((e=>br(e,!1)))],s=[{value:"DefaultHeader",label:n.get("properties.allFontSizes"),metaText:n.get("properties.default"),groupHeader:!0},...yr.filter((e=>!a.includes(e))).map((e=>br(e,!1)))];return[...l,...s.length>1?s:[]]})(t(i),i,n)},defaultValue:(e,n,r)=>t(r.theme.current())}),Sr=({section:e,defaultFontStyle:t,translator:n,flags:r,getThemeValue:o,translation:i})=>({component:"panel-section",translation:null!=i?i:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontFamily:vr({ref:`${e}.fontFamily`,themeAccessor:t=>{var n;return null!==(n=o(t,e,"fontFamily"))&&void 0!==n?n:t.fontFamily},translator:n,flags:r}),fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",width:!1,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontSize:xr({ref:`${e}.fontSize`,themeAccessor:t=>{var n;return null!==(n=o(t,e,"fontSize"))&&void 0!==n?n:t.fontSize},translator:n}),fontColor:en(`${e}.fontColor`,void 0,(t=>{var n;return null!==(n=o(t,e,"color"))&&void 0!==n?n:t.color}))}},background:en(`${e}.background`,"properties.background",(t=>{var n;return null!==(n=o(t,e,"backgroundColor"))&&void 0!==n?n:"transparent"}))}}}}),Er=({section:e,defaultFontStyle:t,fallbackBackground:n,getThemeValue:r})=>({component:"panel-section",translation:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",fullWidth:!0,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontColor:en(`${e}.fontColor`,void 0,(t=>{var n;return null!==(n=r(t,e,"color"))&&void 0!==n?n:t.color}))}},background:en(`${e}.background`,"properties.background",(t=>{var o,i;return null!==(o=null!==(i=r(t,e,"backgroundColor"))&&void 0!==i?i:n)&&void 0!==o?o:"transparent"}))}}}}),Cr=(e,t)=>({component:"dropdown",ref:e,translation:t,options:[...Array(10).keys()].map((e=>({value:e+1,translation:e+1}))),defaultValue:1}),wr="12px",Rr="Source Sans Pro, sans-serif",Lr="600",Ar=15e3,Ir=4/3,Mr=1;var Dr,Pr;!function(e){e.Transparent="transparent",e.FontPrimary="#404040",e.FontSecondary="#737373",e.DividerDark="#595959",e.DividerLight="#D9D9D9",e.NullValueBackground="#F2F2F2"}(Dr||(Dr={})),function(e){e.Solid="solid",e.None="none"}(Pr||(Pr={}));const _r={display:"flex",justifyContent:"center",alignItems:"center"},Or={borderStyle:"solid"},Tr={boxSizing:"border-box",padding:"4px 8px",userSelect:"none",WebkitUserSelect:"none"},kr={lineHeight:Ir,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},qr=e=>({whiteSpace:"unset",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",wordBreak:e>1?"break-word":"break-all"}),Nr=(e,t)=>e>0?`${e}px ${Pr.Solid} ${t}`:Pr.None,Fr=(e,t,n,r)=>{const o=Number(!t||(null==r?void 0:r.right)),i=Number(!e||(null==r?void 0:r.bottom));return{borderRight:Nr(o,n),borderBottom:Nr(i,n),borderLeft:Pr.None,borderTop:Pr.None}},zr=(e,t,n,r,o,i)=>{const a=Fr(t,r,o,i);return e.isLeftDimension||(e.isLastDimension&&!t&&(a.borderBottom=Nr(2,o)),n||(a.borderLeft=Nr(1,o))),a},jr=({bottomDivider:e,rightDivider:t,borderColor:n})=>{const r={};return e&&(r.borderBottom=Nr(1,n)),t&&(r.borderRight=Nr(1,n)),r},$r=e=>({translation:"properties.pivot.grid",component:"panel-section",items:{gridItems:{component:"items",ref:"components",key:"theme",items:{lineClamp:Cr("grid.lineClamp","ThemeStyleEditor.style.rowHeight"),columnLineClamp:e.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")?Cr("grid.columnLineClamp","ThemeStyleEditor.style.columnHeight"):void 0,border:en("grid.border","properties.border",(e=>{var t,n;return null!==(t=null===(n=e.object)||void 0===n||null===(n=n.pivotTableV2)||void 0===n||null===(n=n.grid)||void 0===n?void 0:n.borderColor)&&void 0!==t?t:Dr.DividerLight})),divider:en("grid.divider","properties.pivot.divider",(e=>{var t,n;return null!==(t=null===(n=e.object)||void 0===n||null===(n=n.pivotTableV2)||void 0===n||null===(n=n.grid)||void 0===n||null===(n=n.divider)||void 0===n?void 0:n.borderColor)&&void 0!==t?t:Dr.DividerDark})),background:en("grid.background","properties.background",(e=>{var t,n;return null!==(t=null===(n=e.object)||void 0===n||null===(n=n.pivotTableV2)||void 0===n||null===(n=n.grid)||void 0===n?void 0:n.backgroundColor)&&void 0!==t?t:Dr.Transparent}))}}}}),Gr=(e,t,n)=>{var r,o,i,a,l,s;switch(t){case"header":return null==e||null===(r=e.object)||void 0===r||null===(r=r.pivotTableV2)||void 0===r||null===(r=r.dimension)||void 0===r||null===(r=r.label)||void 0===r||null===(r=r.name)||void 0===r?void 0:r[n];case"dimensionValues":return null==e||null===(o=e.object)||void 0===o||null===(o=o.pivotTableV2)||void 0===o||null===(o=o.dimension)||void 0===o||null===(o=o.label)||void 0===o||null===(o=o.value)||void 0===o?void 0:o[n];case"measureLabels":return null==e||null===(i=e.object)||void 0===i||null===(i=i.pivotTableV2)||void 0===i||null===(i=i.measure)||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.name)||void 0===i?void 0:i[n];case"measureValues":return null==e||null===(a=e.object)||void 0===a||null===(a=a.pivotTableV2)||void 0===a||null===(a=a.measure)||void 0===a||null===(a=a.label)||void 0===a||null===(a=a.value)||void 0===a?void 0:a[n];case"totalValues":return null==e||null===(l=e.object)||void 0===l||null===(l=l.pivotTableV2)||void 0===l||null===(l=l.total)||void 0===l||null===(l=l.label)||void 0===l||null===(l=l.value)||void 0===l?void 0:l[n];case"nullValues":return null==e||null===(s=e.object)||void 0===s||null===(s=s.pivotTableV2)||void 0===s||null===(s=s.null)||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.value)||void 0===s?void 0:s[n];default:return}},Br=(e,t)=>({type:"items",items:[{component:"styling-panel",chartTitle:"Object.PivotTable",subtitle:"LayerStyleEditor.component.styling",translation:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0,defaultValue:[],items:{headerSection:Sr({section:"header",defaultFontStyle:["bold"],translator:e,flags:t,getThemeValue:Gr}),dimensionValueSection:Sr({section:"dimensionValues",translator:e,flags:t,getThemeValue:Gr}),measureValueSection:Sr({section:"measureValues",translator:e,flags:t,getThemeValue:Gr}),measureLabelSection:Er({section:"measureLabels",getThemeValue:Gr}),totalValuesSection:Er({section:"totalValues",defaultFontStyle:["bold"],getThemeValue:Gr}),nullValuesSection:Er({section:"nullValues",fallbackBackground:Dr.NullValueBackground,getThemeValue:Gr}),gridSection:$r(t)}}]}),Hr=e=>({type:"items",items:{nullValueText:{ref:"nullValueRepresentation.text",type:"string",translation:"properties.pivot.nullValueText",defaultValue:"-"},alwaysFullyExpanded:{ref:"qHyperCubeDef.qAlwaysFullyExpanded",type:"boolean",translation:"properties.pivot.fullyExpanded",defaultValue:!1},...e.isEnabled("CLIENT_IM_5975_INDENT_MODE")&&{indentMode:{ref:"qHyperCubeDef.qIndentMode",type:"boolean",translation:"properties.pivot.indentMode",defaultValue:!1,change(e){e.qHyperCubeDef.qShowTotalsAbove=!0}},type:{type:"string",component:"dropdown",ref:"qHyperCubeDef.indentModeColumnWidth.type",translation:"Object.Table.Column.Width",options:[{value:zt.Auto,translation:"Common.Auto"},{value:zt.Pixels,translation:"Object.Table.Column.Pixels"},{value:zt.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:zt.Auto,show:e=>e.qHyperCubeDef.qIndentMode},sizePixels:{ref:"qHyperCubeDef.indentModeColumnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",expression:"optional",defaultValue:Ft.PixelsDefault,show:e=>{var t;const n=e.qHyperCubeDef;return n.qIndentMode&&(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.type)===zt.Pixels},change:e=>{var t;const n=e.qHyperCubeDef;void 0!==(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.pixels)&&(n.indentModeColumnWidth.pixels=Math.max(Ft.PixelsMin,Math.min(Ft.PixelsMax,n.indentModeColumnWidth.pixels)))}},sizePercentage:{ref:"qHyperCubeDef.indentModeColumnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:Ft.PercentageDefault,show:e=>{var t;const n=e.qHyperCubeDef;return n.qIndentMode&&(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.type)===zt.Percentage},change:e=>{var t;const n=e.qHyperCubeDef;void 0!==(null===(t=n.indentModeColumnWidth)||void 0===t?void 0:t.percentage)&&(n.indentModeColumnWidth.percentage=Math.max(Ft.PercentageMin,Math.min(Ft.PercentageMaxInIndentMode,n.indentModeColumnWidth.percentage)))}}},showTotalsAbove:{ref:"qHyperCubeDef.qShowTotalsAbove",type:"boolean",translation:"properties.pivot.showTotalsAbove",defaultValue:!0,show(t){var n;const{qIndentMode:r}=t.qHyperCubeDef;return(!r||r&&!e.isEnabled("CLIENT_IM_5975_INDENT_MODE"))&&(null===(n=t.qHyperCubeDef)||void 0===n||null===(n=n.qDimensions)||void 0===n?void 0:n.some((e=>{var t;return"TOTAL_EXPR"===(null===(t=e.qOtherTotalSpec)||void 0===t?void 0:t.qTotalMode)})))}},resetProperties:{type:"object",component:"button",translation:"properties.pivot.resetExpansionButton",disabled:e=>e.qHyperCubeDef.qAlwaysFullyExpanded,action(e,t,n,r){e.qHyperCubeDef.qExpansionState=[],r.$emit("saveProperties",e)}}}}),Wr=(e,t)=>({uses:"settings",items:{presentation:{type:"items",translation:"properties.presentation",grouped:!0,items:[Br(e,t),Hr(t)]}}}),Vr="auto",Yr={type:"items",translation:"properties.sorting",items:{sortbyY:{type:"items",items:{sortbyYToggle:{ref:"qHyperCubeDef.qSortbyYValue",type:"boolean",component:"switch",translation:"properties.sorting.sortByY.label",convertFunctions:{get:e=>!!e("integer"),set:(e,t)=>t("integer",e?-1:0)},options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},sortbyYOrder:{ref:"qHyperCubeDef.qSortbyYValue",type:"string",component:"dropdown",defaultValue:0,options:[{value:1,translation:"properties.sorting.ascending"},{value:-1,translation:"properties.sorting.descending"}],show:e=>{var t;return!(null==e||null===(t=e.qHyperCubeDef)||void 0===t||!t.qSortbyYValue)}}}},defaultSorting:{uses:"sorting",items:{dimensions:{showPriority:!1,allowMove:!1},measures:{included:!1}}},searchSorting:{ref:"search.sorting",type:"string",component:"dropdown",defaultValue:Vr,translation:"Object.Table.SortingInSearch",options:[{value:Vr,translation:"Common.Auto"},{value:"inherit",translation:"Object.Table.SortingInSearch.InheritFromDimension"}]}}};function Ur(e){const{translator:t,flags:n}=e;return{type:"items",component:"accordion",items:{data:Qt(e),sorting:Yr,addons:vt,settings:Wr(t,n)}}}function Kr(e){return{support:{cssScaling:e.flags.isEnabled("CLIENT_IM5878_PIVOT_SNAPSHOT"),snapshot:e.flags.isEnabled("CLIENT_IM5878_PIVOT_SNAPSHOT"),export:e.flags.isEnabled("CLIENT_IM4976_PIVOT_DOWNLOAD"),sharing:!1,exportData:!0,viewData:!0},usePropertyHandler:"pivot-data",definition:Ur(e),importProperties:gt(e),exportProperties:bt}}function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xr.apply(null,arguments)}var Jr={exports:{}};function Zr(){}function Qr(){}Qr.resetWarningCache=Zr;Jr.exports=function(){function e(e,t,n,r,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 n={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:Qr,resetWarningCache:Zr};return n.PropTypes=n,n}();var eo=F(Jr.exports);function to(e){if(e.type)return e;if("#"===e.charAt(0))return to(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(function(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function no(e,t){return e=to(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}(e)}function ro(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function oo(e,t){return oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oo(e,t)}function io(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oo(e,t)}const ao={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"},lo={WHITE:"#FFFFFF",GREY:"#999999",GREY_PALE:"#B2B2B2",GREEN:"#00873D",GREEN_PALE:"#0AAF54",GREEN_DARK:"#0D6932",BLUE:"#3F8AB3",BLUE_PALE:"#469DCD",BLUE_DARK:"#2F607B",RED:"#DC373F",RED_PALE:"#F05551",RED_DARK:"#97322F",ORANGE:"#EF960F",ORANGE_PALE:"#FFC629",ORANGE_DARK:"#A4681C",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",...ao,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_25:"rgba(0, 0, 0, 0.25)",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_0_65:"rgba(0, 0, 0, 0.65)",GREYSCALE_100_05:"rgba(255, 255, 255, 0.05)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_25:"rgba(255, 255, 255, 0.25)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#177FE6",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},so=12,uo=14,co=16,po=24,fo=3,ho=300,mo=400,go=600,bo=700,vo={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};no(lo.GREYSCALE_0,.05),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5);var yo;function xo(){return xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xo.apply(this,arguments)}no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5),no(lo.GREEN_PALE,.5),no(lo.BLUE_PALE,.5);var So,Eo=function(e){return y.createElement("svg",xo({xmlns:"http://www.w3.org/2000/svg",width:16,height:16},e),yo||(yo=y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Co.apply(this,arguments)}var wo=function(e){return y.createElement("svg",Co({xmlns:"http://www.w3.org/2000/svg",width:16,height:16},e),So||(So=y.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 Ro({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return x.createElement("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n},t)}var Lo=(e={})=>x.createElement(Ro,{...e},x.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},x.createElement("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),x.createElement("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"}))),Ao=(e={})=>x.createElement(Ro,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),x.createElement("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})))),Io=(e={})=>x.createElement(Ro,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212"},x.createElement("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})))),Mo=(e={})=>x.createElement(Ro,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),x.createElement("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"}))),Do=({className:e})=>x.createElement(Ro,{fontSize:"small",className:e},x.createElement("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero"},x.createElement("g",{transform:"translate(4.324187, 1.300372)"},x.createElement("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"}),x.createElement("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"}))))));var Po={black:"#000",white:"#fff"};var _o={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"};var Oo={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var To={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"};var ko={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var qo={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"};var No={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"};var Fo={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 zo(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 jo="$$material";function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$o.apply(this,arguments)}function Go(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Bo(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 Ho=Object.freeze({__proto__:null,default:Bo}),Wo=function(){return Wo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wo.apply(this,arguments)};function Vo(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Yo="-ms-",Uo="-moz-",Ko="-webkit-",Xo="comm",Jo="rule",Zo="decl",Qo="@import",ei="@keyframes",ti="@layer",ni=Math.abs,ri=String.fromCharCode,oi=Object.assign;function ii(e){return e.trim()}function ai(e,t){return(e=t.exec(e))?e[0]:e}function li(e,t,n){return e.replace(t,n)}function si(e,t,n){return e.indexOf(t,n)}function ui(e,t){return 0|e.charCodeAt(t)}function ci(e,t,n){return e.slice(t,n)}function di(e){return e.length}function pi(e){return e.length}function fi(e,t){return t.push(e),e}function hi(e,t){return e.filter((function(e){return!ai(e,t)}))}var mi=1,gi=1,bi=0,vi=0,yi=0,xi="";function Si(e,t,n,r,o,i,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:mi,column:gi,length:a,return:"",siblings:l}}function Ei(e,t){return oi(Si("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ci(e){for(;e.root;)e=Ei(e.root,{children:[e]});fi(e,e.siblings)}function wi(){return yi=vi>0?ui(xi,--vi):0,gi--,10===yi&&(gi=1,mi--),yi}function Ri(){return yi=vi<bi?ui(xi,vi++):0,gi++,10===yi&&(gi=1,mi++),yi}function Li(){return ui(xi,vi)}function Ai(){return vi}function Ii(e,t){return ci(xi,e,t)}function Mi(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 Di(e){return ii(Ii(vi-1,Oi(91===e?e+2:40===e?e+1:e)))}function Pi(e){for(;(yi=Li())&&yi<33;)Ri();return Mi(e)>2||Mi(yi)>3?"":" "}function _i(e,t){for(;--t&&Ri()&&!(yi<48||yi>102||yi>57&&yi<65||yi>70&&yi<97););return Ii(e,Ai()+(t<6&&32==Li()&&32==Ri()))}function Oi(e){for(;Ri();)switch(yi){case e:return vi;case 34:case 39:34!==e&&39!==e&&Oi(yi);break;case 40:41===e&&Oi(e);break;case 92:Ri()}return vi}function Ti(e,t){for(;Ri()&&e+yi!==57&&(e+yi!==84||47!==Li()););return"/*"+Ii(t,vi-1)+"*"+ri(47===e?e:Ri())}function ki(e){for(;!Mi(Li());)Ri();return Ii(e,vi)}function qi(e){return function(e){return xi="",e}(Ni("",null,null,null,[""],e=function(e){return mi=gi=1,bi=di(xi=e),vi=0,[]}(e),0,[0],e))}function Ni(e,t,n,r,o,i,a,l,s){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,E=r,C=y;g;)switch(h=v,v=Ri()){case 40:if(108!=h&&58==ui(C,d-1)){-1!=si(C+=li(Di(v),"&","&\f"),"&\f",ni(u?l[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:C+=Di(v);break;case 9:case 10:case 13:case 32:C+=Pi(h);break;case 92:C+=_i(Ai()-1,7);continue;case 47:switch(Li()){case 42:case 47:fi(zi(Ti(Ri(),Ai()),t,n,s),s);break;default:C+="/"}break;case 123*m:l[u++]=di(C)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(C=li(C,/\f/g,"")),f>0&&di(C)-d&&fi(f>32?ji(C+";",r,n,d-1,s):ji(li(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(fi(E=Fi(C,t,n,u,c,o,l,y,x=[],S=[],d,i),i),123===v)if(0===c)Ni(C,t,E,E,x,i,d,l,S);else switch(99===p&&110===ui(C,3)?100:p){case 100:case 108:case 109:case 115:Ni(e,E,E,r&&fi(Fi(e,E,E,0,0,o,l,y,o,x=[],d,S),S),o,S,d,l,r?x:S);break;default:Ni(C,E,E,E,[""],S,0,l,S)}}u=c=f=0,m=b=1,y=C="",d=a;break;case 58:d=1+di(C),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==wi())continue;switch(C+=ri(v),v*m){case 38:b=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(di(C)-1)*b,b=1;break;case 64:45===Li()&&(C+=Di(Ri())),p=Li(),c=d=di(y=C+=ki(Ai())),v++;break;case 45:45===h&&2==di(C)&&(m=0)}}return i}function Fi(e,t,n,r,o,i,a,l,s,u,c,d){for(var p=o-1,f=0===o?i:[""],h=pi(f),m=0,g=0,b=0;m<r;++m)for(var v=0,y=ci(e,p+1,p=ni(g=a[m])),x=e;v<h;++v)(x=ii(g>0?f[v]+" "+y:li(y,/&\f/g,f[v])))&&(s[b++]=x);return Si(e,t,n,0===o?Jo:l,s,u,c,d)}function zi(e,t,n,r){return Si(e,t,n,Xo,ri(yi),ci(e,2,-2),0,r)}function ji(e,t,n,r,o){return Si(e,t,n,Zo,ci(e,0,r),ci(e,r+1,-1),r,o)}function $i(e,t,n){switch(function(e,t){return 45^ui(e,0)?(((t<<2^ui(e,0))<<2^ui(e,1))<<2^ui(e,2))<<2^ui(e,3):0}(e,t)){case 5103:return Ko+"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 Ko+e+e;case 4789:return Uo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ko+e+Uo+e+Yo+e+e;case 5936:switch(ui(e,t+11)){case 114:return Ko+e+Yo+li(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ko+e+Yo+li(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ko+e+Yo+li(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ko+e+Yo+e+e;case 6165:return Ko+e+Yo+"flex-"+e+e;case 5187:return Ko+e+li(e,/(\w+).+(:[^]+)/,Ko+"box-$1$2"+Yo+"flex-$1$2")+e;case 5443:return Ko+e+Yo+"flex-item-"+li(e,/flex-|-self/g,"")+(ai(e,/flex-|baseline/)?"":Yo+"grid-row-"+li(e,/flex-|-self/g,""))+e;case 4675:return Ko+e+Yo+"flex-line-pack"+li(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ko+e+Yo+li(e,"shrink","negative")+e;case 5292:return Ko+e+Yo+li(e,"basis","preferred-size")+e;case 6060:return Ko+"box-"+li(e,"-grow","")+Ko+e+Yo+li(e,"grow","positive")+e;case 4554:return Ko+li(e,/([^-])(transform)/g,"$1"+Ko+"$2")+e;case 6187:return li(li(li(e,/(zoom-|grab)/,Ko+"$1"),/(image-set)/,Ko+"$1"),e,"")+e;case 5495:case 3959:return li(e,/(image-set\([^]*)/,Ko+"$1$`$1");case 4968:return li(li(e,/(.+:)(flex-)?(.*)/,Ko+"box-pack:$3"+Yo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ko+e+e;case 4200:if(!ai(e,/flex-|baseline/))return Yo+"grid-column-align"+ci(e,t)+e;break;case 2592:case 3360:return Yo+li(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,ai(e.props,/grid-\w+-end/)}))?~si(e+(n=n[t].value),"span",0)?e:Yo+li(e,"-start","")+e+Yo+"grid-row-span:"+(~si(n,"span",0)?ai(n,/\d+/):+ai(n,/\d+/)-+ai(e,/\d+/))+";":Yo+li(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return ai(e.props,/grid-\w+-start/)}))?e:Yo+li(li(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return li(e,/(.+)-inline(.+)/,Ko+"$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(di(e)-1-t>6)switch(ui(e,t+1)){case 109:if(45!==ui(e,t+4))break;case 102:return li(e,/(.+:)(.+)-([^]+)/,"$1"+Ko+"$2-$3$1"+Uo+(108==ui(e,t+3)?"$3":"$2-$3"))+e;case 115:return~si(e,"stretch",0)?$i(li(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return li(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,l){return Yo+n+":"+r+l+(o?Yo+n+"-span:"+(i?a:+a-+r)+l:"")+e}));case 4949:if(121===ui(e,t+6))return li(e,":",":"+Ko)+e;break;case 6444:switch(ui(e,45===ui(e,14)?18:11)){case 120:return li(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ko+(45===ui(e,14)?"inline-":"")+"box$3$1"+Ko+"$2$3$1"+Yo+"$2box$3")+e;case 100:return li(e,":",":"+Yo)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return li(e,"scroll-","scroll-snap-")+e}return e}function Gi(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Bi(e,t,n,r){switch(e.type){case ti:if(e.children.length)break;case Qo:case Zo:return e.return=e.return||e.value;case Xo:return"";case ei:return e.return=e.value+"{"+Gi(e.children,r)+"}";case Jo:if(!di(e.value=e.props.join(",")))return""}return di(n=Gi(e.children,r))?e.return=e.value+"{"+n+"}":""}function Hi(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Zo:return void(e.return=$i(e.value,e.length,n));case ei:return Gi([Ei(e,{value:li(e.value,"@","@"+Ko)})],r);case Jo:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(ai(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ci(Ei(e,{props:[li(t,/:(read-\w+)/,":"+Uo+"$1")]})),Ci(Ei(e,{props:[t]})),oi(e,{props:hi(n,r)});break;case"::placeholder":Ci(Ei(e,{props:[li(t,/:(plac\w+)/,":"+Ko+"input-$1")]})),Ci(Ei(e,{props:[li(t,/:(plac\w+)/,":"+Uo+"$1")]})),Ci(Ei(e,{props:[li(t,/:(plac\w+)/,Yo+"input-$1")]})),Ci(Ei(e,{props:[t]})),oi(e,{props:hi(n,r)})}return""}))}}var Wi={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},Vi="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Yi="active",Ui="data-styled-version",Ki="6.1.12",Xi="/*!sc*/\n",Ji="undefined"!=typeof window&&"HTMLElement"in window,Zi=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)),Qi={},ea=Object.freeze([]),ta=Object.freeze({});function na(e,t,n){return void 0===n&&(n=ta),e.theme!==n.theme&&e.theme||t||n.theme}var ra=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"]),oa=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ia=/(^-|-$)/g;function aa(e){return e.replace(oa,"-").replace(ia,"")}var la=/(a)(d)/gi,sa=52,ua=function(e){return String.fromCharCode(e+(e>25?39:97))};function ca(e){var t,n="";for(t=Math.abs(e);t>sa;t=t/sa|0)n=ua(t%sa)+n;return(ua(t%sa)+n).replace(la,"$1-$2")}var da,pa=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},fa=function(e){return pa(5381,e)};function ha(e){return ca(fa(e)>>>0)}function ma(e){return"string"==typeof e&&!0}var ga="function"==typeof Symbol&&Symbol.for,ba=ga?Symbol.for("react.memo"):60115,va=ga?Symbol.for("react.forward_ref"):60112,ya={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xa={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ea=((da={})[va]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},da[ba]=Sa,da);function Ca(e){return("type"in(t=e)&&t.type.$$typeof)===ba?Sa:"$$typeof"in e?Ea[e.$$typeof]:ya;var t}var wa=Object.defineProperty,Ra=Object.getOwnPropertyNames,La=Object.getOwnPropertySymbols,Aa=Object.getOwnPropertyDescriptor,Ia=Object.getPrototypeOf,Ma=Object.prototype;function Da(e,t,n){if("string"!=typeof t){if(Ma){var r=Ia(t);r&&r!==Ma&&Da(e,r,n)}var o=Ra(t);La&&(o=o.concat(La(t)));for(var i=Ca(e),a=Ca(t),l=0;l<o.length;++l){var s=o[l];if(!(s in xa||n&&n[s]||a&&s in a||i&&s in i)){var u=Aa(t,s);try{wa(e,s,u)}catch(e){}}}}return e}function Pa(e){return"function"==typeof e}function _a(e){return"object"==typeof e&&"styledComponentId"in e}function Oa(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ta(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function ka(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function qa(e,t,n){if(void 0===n&&(n=!1),!n&&!ka(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=qa(e[r],t[r]);else if(ka(t))for(var r in t)e[r]=qa(e[r],t[r]);return e}function Na(e,t){Object.defineProperty(e,"toString",{value:t})}function Fa(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];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 za=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,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw Fa(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;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],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(Xi);return t},e}(),ja=new Map,$a=new Map,Ga=1,Ba=function(e){if(ja.has(e))return ja.get(e);for(;$a.has(Ga);)Ga++;var t=Ga++;return ja.set(e,t),$a.set(t,e),t},Ha=function(e,t){Ga=t+1,ja.set(e,t),$a.set(t,e)},Wa="style[".concat(Vi,"][").concat(Ui,'="').concat(Ki,'"]'),Va=new RegExp("^".concat(Vi,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ya=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},Ua=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Xi),o=[],i=0,a=r.length;i<a;i++){var l=r[i].trim();if(l){var s=l.match(Va);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(Ha(c,u),Ya(e,c,s[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(l)}}},Ka=function(e){for(var t=document.querySelectorAll(Wa),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(Vi)!==Yi&&(Ua(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var Xa=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Vi,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Vi,Yi),r.setAttribute(Ui,Ki);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Ja=function(){function e(e){this.element=Xa(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw Fa(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}(),Za=function(){function e(e){this.element=Xa(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,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}(),Qa=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}(),el=Ji,tl={isServer:!Ji,useCSSOMInjection:!Zi},nl=function(){function e(e,t,n){void 0===e&&(e=ta),void 0===t&&(t={});var r=this;this.options=Wo(Wo({},tl),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ji&&el&&(el=!1,Ka(this)),Na(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return $a.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||!i.size||0===a.length)return"continue";var l="".concat(Vi,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(Xi)},i=0;i<n;i++)o(i);return r}(r)}))}return e.registerId=function(e){return Ba(e)},e.prototype.rehydrate=function(){!this.server&&Ji&&Ka(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Wo(Wo({},this.options),t),this.gs,n&&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,n=e.target;return e.isServer?new Qa(n):t?new Ja(n):new Za(n)}(this.options),new za(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(Ba(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Ba(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Ba(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),rl=/&/g,ol=/^\s*\/\/.*$/gm;function il(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=il(e.children,t)),e}))}var al=new nl,ll=function(e){var t,n,r,o=void 0===e?ta:e,i=o.options,a=void 0===i?ta:i,l=o.plugins,s=void 0===l?ea:l,u=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},c=s.slice();c.push((function(e){e.type===Jo&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(rl,n).replace(r,u))})),a.prefix&&c.push(Hi),c.push(Bi);var d=function(e,o,i,l){void 0===o&&(o=""),void 0===i&&(i=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(ol,""),u=qi(i||o?"".concat(i," ").concat(o," { ").concat(s," }"):s);a.namespace&&(u=il(u,a.namespace));var d,p=[];return Gi(u,function(e){var t=pi(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,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=s.length?s.reduce((function(e,t){return t.name||Fa(15),pa(e,t.name)}),5381).toString():"",d}(),sl=x.createContext({shouldForwardProp:void 0,styleSheet:al,stylis:ll});function ul(){return S(sl)}sl.Consumer;var cl=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ll);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Na(this,(function(){throw Fa(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=ll),this.name+e.hash},e}(),dl=function(e){return e>="A"&&e<="Z"};function pl(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;dl(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var fl=function(e){return null==e||!1===e||""===e},hl=function(e){var t,n,r=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!fl(i)&&(Array.isArray(i)&&i.isCss||Pa(i)?r.push("".concat(pl(o),":"),i,";"):ka(i)?r.push.apply(r,Vo(Vo(["".concat(o," {")],hl(i),!1),["}"],!1)):r.push("".concat(pl(o),": ").concat((t=o,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Wi||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function ml(e,t,n,r){return fl(e)?[]:_a(e)?[".".concat(e.styledComponentId)]:Pa(e)?!Pa(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:ml(e(t),t,n,r):e instanceof cl?n?(e.inject(n,r),[e.getName(r)]):[e]:ka(e)?hl(e):Array.isArray(e)?Array.prototype.concat.apply(ea,e.map((function(e){return ml(e,t,n,r)}))):[e.toString()];var o}function gl(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Pa(n)&&!_a(n))return!1}return!0}var bl=fa(Ki),vl=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&gl(e),this.componentId=t,this.baseHash=pa(bl,t),this.baseStyle=n,nl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Oa(r,this.staticRulesId);else{var o=Ta(ml(this.rules,e,t,n)),i=ca(pa(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Oa(r,i),this.staticRulesId=i}else{for(var l=pa(this.baseHash,n.hash),s="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)s+=c;else if(c){var d=Ta(ml(c,e,t,n));l=pa(l,d+u),s+=d}}if(s){var p=ca(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=Oa(r,p)}}return r},e}(),yl=x.createContext(void 0);yl.Consumer;var xl={};new Set;function Sl(e,t,n){var r=_a(e),o=e,i=!ma(e),a=t.attrs,l=void 0===a?ea:a,s=t.componentId,u=void 0===s?function(e,t){var n="string"!=typeof e?"sc":aa(e);xl[n]=(xl[n]||0)+1;var r="".concat(n,"-").concat(ha(Ki+n+xl[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):s,c=t.displayName,d=void 0===c?function(e){return ma(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,p=t.displayName&&t.componentId?"".concat(aa(t.displayName),"-").concat(t.componentId):t.componentId||u,f=r&&o.attrs?o.attrs.concat(l).filter(Boolean):l,h=t.shouldForwardProp;if(r&&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 vl(n,p,r?o.componentStyle:void 0);function v(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,l=e.styledComponentId,s=e.target,u=x.useContext(yl),c=ul(),d=e.shouldForwardProp||c.shouldForwardProp,p=na(t,u,i)||ta,f=function(e,t,n){for(var r,o=Wo(Wo({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=Pa(r=e[i])?r(o):r;for(var l in a)o[l]="className"===l?Oa(o[l],a[l]):"style"===l?Wo(Wo({},o[l]),a[l]):a[l]}return t.className&&(o.className=Oa(o.className,t.className)),o}(r,t,p),h=f.as||s,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 n=ul();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(o,f),v=Oa(a,l);return b&&(v+=" "+b),f.className&&(v+=" "+f.className),m[ma(h)&&!ra.has(h)?"class":"className"]=v,m.ref=n,E(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=r?Oa(o.foldedComponentIds,o.styledComponentId):"",y.styledComponentId=p,y.target=r?o.target:e,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)qa(e,o[r],!0);return e}({},o.defaultProps,e):e}}),Na(y,(function(){return".".concat(y.styledComponentId)})),i&&Da(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function El(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Cl=function(e){return Object.assign(e,{isCss:!0})};function wl(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Pa(e)||ka(e))return Cl(ml(El(ea,Vo([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?ml(r):Cl(ml(El(r,t)))}function Rl(e,t,n){if(void 0===n&&(n=ta),!t)throw Fa(1,t);var r=function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,n,wl.apply(void 0,Vo([r],o,!1)))};return r.attrs=function(r){return Rl(e,t,Wo(Wo({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Rl(e,t,Wo(Wo({},n),r))},r}var Ll=function(e){return Rl(Sl,e)},Al=Ll;ra.forEach((function(e){Al[e]=Ll(e)}));var Il=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=gl(e),nl.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(Ta(ml(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&nl.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Ml(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ta(wl.apply(void 0,Vo([e],t,!1))),o=ha(r);return new cl(o,r)}function Dl(e){const{injectFirst:t,children:n}=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 n}Dl.propTypes={children:eo.node,injectFirst:eo.bool};const Pl=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=wl.apply(void 0,Vo([e],t,!1)),o="sc-global-".concat(ha(JSON.stringify(r))),i=new Il(r,o),a=function(e){var t=ul(),n=x.useContext(yl),r=x.useRef(t.styleSheet.allocateGSInstance(o)).current;return t.styleSheet.server&&function(e,t,n,r,o){if(i.isStatic)i.renderStyles(e,Qi,n,o);else{var l=Wo(Wo({},t),{theme:na(t,r,a.defaultProps)});i.renderStyles(e,l,n,o)}}(r,e,t.styleSheet,n,t.stylis),null};return x.memo(a)}((e=>{const{styles:t,defaultTheme:n={}}=e;return"function"==typeof t?t(null==(r=e.theme)||0===Object.keys(r).length?n:e.theme):t;var r}));var _l=Pl;
12
12
  /**
13
13
  * @mui/styled-engine-sc v6.0.0-alpha.24
14
14
  *
@@ -98,7 +98,7 @@ function Ol(e,t){let n;return n=t?Al(e).withConfig({displayName:t.label,shouldFo
98
98
  animation-iteration-count: infinite;
99
99
  animation-delay: 200ms;
100
100
  }
101
- `),Pp.rippleVisible,Fp,550,(({theme:e})=>e.transitions.easing.easeInOut),Pp.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Pp.child,Pp.childLeaving,zp,550,(({theme:e})=>e.transitions.easing.easeInOut),Pp.childPulsate,jp,(({theme:e})=>e.transitions.easing.easeInOut));var Bp=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=Go(n,_p),[l,s]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=y.useRef(!1),p=y.useRef(0),f=y.useRef(null),h=y.useRef(null);y.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const m=y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,cc.jsx(Gp,{classes:{ripple:kd(o.ripple,Pp.ripple),rippleVisible:kd(o.rippleVisible,Pp.rippleVisible),ripplePulsate:kd(o.ripplePulsate,Pp.ripplePulsate),child:kd(o.child,Pp.child),childLeaving:kd(o.childLeaving,Pp.childLeaving),childPulsate:kd(o.childPulsate,Pp.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||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 l=a?null:h.current,s=l?l.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(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.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:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{v(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),cc.jsx($p,$o({className:kd(Pp.root,o.root,i),ref:h},a,{children:cc.jsx(yp,{component:null,exit:!0,children:l})}))}));function Hp(e){return od("MuiButtonBase",e)}var Wp=id("MuiButtonBase",["root","disabled","focusVisible"]);const Vp=["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"],Yp=_d("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"},[`&.${Wp.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Up=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!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:x,onKeyUp:S,onMouseDown:E,onMouseLeave:C,onMouseUp:w,onTouchEnd:R,onTouchMove:L,onTouchStart:A,tabIndex:I=0,TouchRippleProps:M,touchRippleRef:D,type:P}=n,_=Go(n,Vp),O=y.useRef(null),T=y.useRef(null),k=Bc(T,D),{isFocusVisibleRef:q,onFocus:N,onBlur:F,ref:z}=Qc(),[j,$]=y.useState(!1);s&&j&&$(!1),y.useImperativeHandle(r,(()=>({focusVisible:()=>{$(!0),O.current.focus()}})),[]);const[G,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const H=G&&!u&&!s;function W(e,t,n=c){return Gc((r=>{t&&t(r);return!n&&T.current&&T.current[e](r),!0}))}y.useEffect((()=>{j&&d&&!u&&G&&T.current.pulsate()}),[u,d,j,G]);const V=W("start",E),Y=W("stop",m),U=W("stop",g),K=W("stop",w),X=W("stop",(e=>{j&&e.preventDefault(),C&&C(e)})),J=W("start",A),Z=W("stop",R),Q=W("stop",L),ee=W("stop",(e=>{F(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=Gc((e=>{O.current||(O.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),ne=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=y.useRef(!1),oe=Gc((e=>{d&&!re.current&&j&&T.current&&" "===e.key&&(re.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=Gc((e=>{d&&" "===e.key&&T.current&&j&&!e.defaultPrevented&&(re.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===P?"button":P,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=Bc(t,z,O),ue=$o({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:I,focusVisible:j}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=ks({root:["root",t&&"disabled",n&&"focusVisible"]},Hp,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return cc.jsxs(Yp,$o({as:ae,className:kd(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:U,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:se,tabIndex:s?-1:I,type:P},le,_,{children:[i,H?cc.jsx(Bp,$o({ref:k,center:o},M)):null]}))}));var Kp=Up;function Xp(e){return od("MuiTypography",e)}id("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Jp=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Zp=_d("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Tc(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>$o({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Qp={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ef={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tf=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiTypography"}),r=(e=>ef[e]||e)(n.color),o=hc($o({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=Qp}=o,f=Go(o,Jp),h=$o({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=l||(c?"p":p[d]||Qp[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return ks({root:["root",i,"inherit"!==e.align&&`align${Tc(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Xp,a)})(h);return cc.jsx(Zp,$o({as:m,ref:t,ownerState:h,className:kd(g.root,a)},f))}));var nf=tf;const rf=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function of(e){const t=[],n=[];return Array.from(e.querySelectorAll(rf)).forEach(((e,r)=>{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 n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function af(){return!0}function lf(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=of,isEnabled:a=af,open:l}=e,s=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=ys(t.ref,h),g=y.useRef(null);y.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(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&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&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 n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,a,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return cc.jsxs(y.Fragment,{children:[cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const sf=y.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),l=ys(y.isValidElement(n)?n.ref:null,t);if(bs((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),bs((()=>{if(i&&!o)return gs(t,i),()=>{gs(t,null)}}),[t,i,o]),o){if(y.isValidElement(n)){const e={ref:l};return y.cloneElement(n,e)}return cc.jsx(y.Fragment,{children:n})}return cc.jsx(y.Fragment,{children:i?q.createPortal(n,i):i})}));function uf(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function cf(e){return parseInt(ms(e).getComputedStyle(e).paddingRight,10)||0}function df(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&uf(e,o)}))}function pf(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function ff(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=hs(e);return t.body===e?ms(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Os(hs(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${cf(r)+e}px`;const t=hs(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${cf(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=hs(r).body;else{const t=r.parentElement,n=ms(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.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()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const hf=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&uf(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);df(t,e.mount,e.modalRef,r,!0);const o=pf(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=pf(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=ff(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=pf(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&uf(e.modalRef,t),df(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&uf(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function mf(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=hf,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:d}=e,p=y.useRef({}),f=y.useRef(null),h=y.useRef(null),m=ys(h,d),[g,b]=y.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const S=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),E=()=>{o.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},C=vs((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||hs(f.current).body;o.add(S(),e),h.current&&E()})),w=y.useCallback((()=>o.isTopModal(S())),[o]),R=vs((e=>{f.current=e,e&&(c&&w()?E():h.current&&uf(h.current,x))})),L=y.useCallback((()=>{o.remove(S(),x)}),[x,o]);y.useEffect((()=>()=>{L()}),[L]),y.useEffect((()=>{c?C():v&&i||L()}),[c,L,v,i,C]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Ap(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=Xr({},n,t);return Xr({role:"presentation"},r,{onKeyDown:A(r),ref:m})},getBackdropProps:(e={})=>Xr({"aria-hidden":!0},e,{onClick:I(e),open:c}),getTransitionProps:()=>({onEnter:ps((()=>{b(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:ps((()=>{b(!0),l&&l(),i&&L()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}const gf=["onChange","maxRows","minRows","style","value"];function bf(e){return parseInt(e,10)||0}const vf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function yf(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const xf=y.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=ro(e,gf),{current:s}=y.useRef(null!=a),u=y.useRef(null),c=ys(t,u),d=y.useRef(null),p=y.useRef(0),[f,h]=y.useState({outerHeightStyle:0}),m=y.useCallback((()=>{const t=u.current,n=ms(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n.boxSizing,l=bf(n.paddingBottom)+bf(n.paddingTop),s=bf(n.borderBottomWidth)+bf(n.borderTopWidth),c=i.scrollHeight;i.value="x";const p=i.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},b=y.useCallback((()=>{const e=m();yf(e)||h((t=>g(t,e)))}),[m]);bs((()=>{const e=()=>{p.current=0,(()=>{const e=m();yf(e)||q.flushSync((()=>{h((t=>g(t,e)))}))})()};const t=fs(e),n=u.current,r=ms(n);let o;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",t),o&&o.disconnect()}}),[m]),bs((()=>{b()})),y.useEffect((()=>{p.current=0}),[a]);return cc.jsxs(y.Fragment,{children:[cc.jsx("textarea",Xr({value:a,onChange:e=>{p.current=0,s||b(),n&&n(e)},ref:c,rows:o,style:Xr({height:f.outerHeightStyle,overflow:f.overflow?"hidden":void 0},i)},l)),cc.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:Xr({},vf,i,{paddingTop:0,paddingBottom:0})})]})}));function Sf({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}var Ef=y.createContext(void 0);function Cf(){return y.useContext(Ef)}function wf(e){return cc.jsx(dc,$o({},e,{defaultTheme:Ld,themeId:jo}))}function Rf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Lf(e,t=!1){return e&&(Rf(e.value)&&""!==e.value||t&&Rf(e.defaultValue)&&""!==e.defaultValue)}function Af(e){return od("MuiInputBase",e)}var If=id("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const Mf=["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"],Df=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Tc(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Pf=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},_f=_d("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Df})((({theme:e,ownerState:t})=>$o({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${If.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&$o({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Of=_d("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Pf})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=$o({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return $o({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":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${If.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${If.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Tf=cc.jsx(wf,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),kf=y.forwardRef((function(e,t){var n;const r=Id({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:x,minRows:S,multiline:E=!1,name:C,onBlur:w,onChange:R,onClick:L,onFocus:A,onKeyDown:I,onKeyUp:M,placeholder:D,readOnly:P,renderSuffix:_,rows:O,slotProps:T={},slots:k={},startAdornment:q,type:N="text",value:F}=r,z=Go(r,Mf),j=null!=b.value?b.value:F,{current:$}=y.useRef(null!=j),G=y.useRef(),B=y.useCallback((e=>{}),[]),H=Bc(G,v,b.ref,B),[W,V]=y.useState(!1),Y=Cf(),U=Sf({props:r,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});U.focused=Y?Y.focused:W,y.useEffect((()=>{!Y&&d&&W&&(V(!1),w&&w())}),[Y,d,W,w]);const K=Y&&Y.onFilled,X=Y&&Y.onEmpty,J=y.useCallback((e=>{Lf(e)?K&&K():X&&X()}),[K,X]);Nc((()=>{$&&J({value:j})}),[j,J,$]);y.useEffect((()=>{J(G.current)}),[]);let Z=g,Q=b;E&&"input"===Z&&(Q=$o(O?{type:void 0,minRows:O,maxRows:O}:{type:void 0,maxRows:x,minRows:S},Q),Z=xf);y.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(q))}),[Y,q]);const ee=$o({},r,{color:U.color||"primary",disabled:U.disabled,endAdornment:f,error:U.error,focused:U.focused,formControl:Y,fullWidth:h,hiddenLabel:U.hiddenLabel,multiline:E,size:U.size,startAdornment:q,type:N}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return ks({root:["root",`color${Tc(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Tc(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Af,t)})(ee),ne=k.root||s.Root||_f,re=T.root||u.root||{},oe=k.input||s.Input||Of;return Q=$o({},Q,null!=(n=T.input)?n:u.input),cc.jsxs(y.Fragment,{children:[!p&&Tf,cc.jsxs(ne,$o({},re,!Lp(ne)&&{ownerState:$o({},ee,re.ownerState)},{ref:t,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),L&&L(e)}},z,{className:kd(te.root,re.className,l,P&&"MuiInputBase-readOnly"),children:[q,cc.jsx(Ef.Provider,{value:null,children:cc.jsx(oe,$o({ownerState:ee,"aria-invalid":U.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:U.disabled,id:m,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:C,placeholder:D,readOnly:P,required:U.required,rows:O,value:j,onKeyDown:I,onKeyUp:M,type:N},Q,!Lp(oe)&&{as:Z,ownerState:$o({},ee,Q.ownerState)},{ref:H,className:kd(te.input,Q.className,P&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),b.onBlur&&b.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||G.current;if(null==t)throw new Error(zo(1));J({value:t.value})}b.onChange&&b.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{U.disabled?e.stopPropagation():(A&&A(e),b.onFocus&&b.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):V(!0))}}))}),f,_?_($o({},U,{startAdornment:q})):null]}))]})}));var qf=kf;function Nf(e){return od("MuiInput",e)}var Ff=$o({},If,id("MuiInput",["root","underline","input"]));function zf(e){return od("MuiOutlinedInput",e)}var jf=$o({},If,id("MuiOutlinedInput",["root","notchedOutline","input"]));function $f(e){return od("MuiFilledInput",e)}var Gf=$o({},If,id("MuiFilledInput",["root","underline","input"])),Bf=function(e,t){function n(n,r){return cc.jsx(jd,$o({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=jd.muiName,y.memo(y.forwardRef(n))}(cc.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Hf=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Wf={entering:{opacity:1},entered:{opacity:1}},Vf=y.forwardRef((function(e,t){const n=Ad(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:b=fp}=e,v=Go(e,Hf),x=y.useRef(null),S=Bc(x,a.ref,t),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=E(d),w=E(((e,t)=>{xp(e);const r=Sp({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),R=E(c),L=E(h),A=E((e=>{const t=Sp({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),I=E(f);return cc.jsx(b,$o({appear:i,in:s,nodeRef:x,onEnter:w,onEntered:R,onEntering:C,onExit:A,onExited:I,onExiting:L,addEndListener:e=>{o&&o(x.current,e)},timeout:g},v,{children:(e,t)=>y.cloneElement(a,$o({style:$o({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Wf[e],m,a.props.style),ref:S},t))}))}));var Yf=Vf;function Uf(e){return od("MuiBackdrop",e)}id("MuiBackdrop",["root","invisible"]);const Kf=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Xf=_d("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>$o({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"},e.invisible&&{backgroundColor:"transparent"}))),Jf=y.forwardRef((function(e,t){var n,r,o;const i=Id({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=Yf,transitionDuration:g}=i,b=Go(i,Kf),v=$o({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return ks({root:["root",n&&"invisible"]},Uf,t)})(v),x=null!=(n=f.root)?n:c.root;return cc.jsx(m,$o({in:p,timeout:g},b,{children:cc.jsx(Xf,$o({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:u.Root)?r:s,className:kd(y.root,l,null==x?void 0:x.className),ownerState:$o({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var Zf=Jf;var Qf=id("MuiBox",["root"]);const eh=Rd(),th=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Ol("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Uu);return y.forwardRef((function(e,a){const l=ec(n),s=hc(e),{className:u,component:c="div"}=s,d=ro(s,mc);return cc.jsx(i,Xr({as:c,ref:a,className:Ws(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:jo,defaultTheme:eh,defaultClassName:Qf.root,generateClassName:nd.generate});var nh=th;function rh(e){return od("MuiButton",e)}var oh=id("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var ih=y.createContext({});var ah=y.createContext(void 0);const lh=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],sh=e=>$o({},"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}}),uh=_d(Kp,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Tc(n.color)}`],t[`size${Tc(n.size)}`],t[`${n.variant}Size${Tc(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return $o({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":$o({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Dc(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dc(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dc(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":$o({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${oh.focusVisible}`]:$o({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${oh.disabled}`]:$o({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Dc(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${oh.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${oh.disabled}`]:{boxShadow:"none"}})),ch=_d("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Tc(n.size)}`]]}})((({ownerState:e})=>$o({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},sh(e)))),dh=_d("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Tc(n.size)}`]]}})((({ownerState:e})=>$o({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},sh(e)))),ph=y.forwardRef((function(e,t){const n=y.useContext(ih),r=y.useContext(ah),o=Id({props:ed(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,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,x=Go(o,lh),S=$o({},o,{color:a,component:l,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),E=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return $o({},a,ks({root:["root",i,`${i}${Tc(t)}`,`size${Tc(o)}`,`${i}Size${Tc(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Tc(o)}`],endIcon:["endIcon",`iconSize${Tc(o)}`]},rh,a))})(S),C=g&&cc.jsx(ch,{className:E.startIcon,ownerState:S,children:g}),w=p&&cc.jsx(dh,{className:E.endIcon,ownerState:S,children:p}),R=r||"";return cc.jsxs(uh,$o({ownerState:S,className:kd(n.className,E.root,s,R),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:kd(E.focusVisible,f),ref:t,type:b},x,{classes:E,children:[C,i,w]}))}));var fh=ph;function hh(e){return od("MuiModal",e)}id("MuiModal",["root","hidden","backdrop"]);const mh=["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"],gh=_d("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>$o({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),bh=_d(Zf,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),vh=y.forwardRef((function(e,t){var n,r,o,i,a,l;const s=Id({name:"MuiModal",props:e}),{BackdropComponent:u=bh,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:E=!1,disableRestoreFocus:C=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:L=!1,onBackdropClick:A,open:I,slotProps:M,slots:D}=s,P=Go(s,mh),_=$o({},s,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:E,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:L}),{getRootProps:O,getBackdropProps:T,getTransitionProps:k,portalRef:q,isTopModal:N,exited:F,hasTransition:z}=mf($o({},_,{rootRef:t})),j=$o({},_,{exited:F}),$=(e=>{const{open:t,exited:n,classes:r}=e;return ks({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},hh,r)})(j),G={};if(void 0===f.props.tabIndex&&(G.tabIndex="-1"),z){const{onEnter:e,onExited:t}=k();G.onEnter=e,G.onExited=t}const B=null!=(n=null!=(r=null==D?void 0:D.root)?r:g.Root)?n:gh,H=null!=(o=null!=(i=null==D?void 0:D.backdrop)?i:g.Backdrop)?o:u,W=null!=(a=null==M?void 0:M.root)?a:b.root,V=null!=(l=null==M?void 0:M.backdrop)?l:b.backdrop,Y=Dp({elementType:B,externalSlotProps:W,externalForwardedProps:P,getSlotProps:O,additionalProps:{ref:t,as:m},ownerState:j,className:kd(d,null==W?void 0:W.className,null==$?void 0:$.root,!j.open&&j.exited&&(null==$?void 0:$.hidden))}),U=Dp({elementType:H,externalSlotProps:V,additionalProps:c,getSlotProps:e=>T($o({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:kd(null==V?void 0:V.className,null==c?void 0:c.className,null==$?void 0:$.backdrop),ownerState:j});return L||I||z&&!F?cc.jsx(sf,{ref:q,container:h,disablePortal:E,children:cc.jsxs(B,$o({},Y,{children:[!R&&u?cc.jsx(H,$o({},U)):null,cc.jsx(lf,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:N,open:I,children:y.cloneElement(f,G)})]}))}):null}));var yh=vh;function xh(e){return od("MuiDivider",e)}var Sh=id("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Eh=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Ch=_d("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>$o({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Dc(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>$o({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>$o({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>$o({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>$o({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),wh=_d("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>$o({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Rh=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=Go(n,Eh),h=$o({},n,{absolute:r,component:a,flexItem:l,light:s,orientation:u,role:c,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return ks({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},xh,r)})(h);return cc.jsx(Ch,$o({as:a,className:kd(m.root,i),role:c,ref:t,ownerState:h},f,{children:o?cc.jsx(wh,{className:m.wrapper,ownerState:h,children:o}):null}))}));Rh.muiSkipListHighlight=!0;var Lh=Rh;const Ah=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Ih=_d(_f,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Df(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return $o({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Gf.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Gf.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Gf.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gf.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Gf.disabled}, .${Gf.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gf.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&$o({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),Mh=_d(Of,{name:"MuiFilledInput",slot:"Input",overridesResolver:Pf})((({theme:e,ownerState:t})=>$o({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),Dh=y.forwardRef((function(e,t){var n,r,o,i;const a=Id({props:e,name:"MuiFilledInput"}),{components:l={},componentsProps:s,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:f={},type:h="text"}=a,m=Go(a,Ah),g=$o({},a,{fullWidth:u,inputComponent:c,multiline:d,type:h}),b=(e=>{const{classes:t,disableUnderline:n}=e;return $o({},t,ks({root:["root",!n&&"underline"],input:["input"]},$f,t))})(a),v={root:{ownerState:g},input:{ownerState:g}},y=(null!=p?p:s)?Oc(v,null!=p?p:s):v,x=null!=(n=null!=(r=f.root)?r:l.Root)?n:Ih,S=null!=(o=null!=(i=f.input)?i:l.Input)?o:Mh;return cc.jsx(qf,$o({slots:{root:x,input:S},componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:b}))}));Dh.muiName="Input";var Ph=Dh;const _h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Oh(e){return`scale(${e}, ${e**2})`}const Th={entering:{opacity:1,transform:Oh(1)},entered:{opacity:1,transform:"none"}},kh="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),qh=y.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=fp}=e,g=Go(e,_h),b=y.useRef(),v=y.useRef(),x=Ad(),S=y.useRef(null),E=Bc(S,o.ref,t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},w=C(u),R=C(((e,t)=>{xp(e);const{duration:n,delay:r,easing:o}=Sp({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:kh?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),L=C(s),A=C(p),I=C((e=>{const{duration:t,delay:n,easing:r}=Sp({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:kh?o:.666*o,delay:kh?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Oh(.75),c&&c(e)})),M=C(d);return y.useEffect((()=>()=>{clearTimeout(b.current)}),[]),cc.jsx(m,$o({appear:r,in:a,nodeRef:S,onEnter:R,onEntered:L,onEntering:w,onExit:I,onExited:M,onExiting:A,addEndListener:e=>{"auto"===h&&(b.current=setTimeout(e,v.current||0)),n&&n(S.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>y.cloneElement(o,$o({style:$o({opacity:0,transform:Oh(.75),visibility:"exited"!==e||a?void 0:"hidden"},Th[e],f,o.props.style),ref:E},t))}))}));qh.muiSupportAuto=!0;var Nh=qh;const Fh=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],zh=_d(_f,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Df(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),$o({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ff.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ff.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ff.disabled}, .${Ff.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Ff.disabled}:before`]:{borderBottomStyle:"dotted"}})})),jh=_d(Of,{name:"MuiInput",slot:"Input",overridesResolver:Pf})({}),$h=y.forwardRef((function(e,t){var n,r,o,i;const a=Id({props:e,name:"MuiInput"}),{disableUnderline:l,components:s={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:h={},type:m="text"}=a,g=Go(a,Fh),b=(e=>{const{classes:t,disableUnderline:n}=e;return $o({},t,ks({root:["root",!n&&"underline"],input:["input"]},Nf,t))})(a),v={root:{ownerState:{disableUnderline:l}}},y=(null!=f?f:u)?Oc(null!=f?f:u,v):v,x=null!=(n=null!=(r=h.root)?r:s.Root)?n:zh,S=null!=(o=null!=(i=h.input)?i:s.Input)?o:jh;return cc.jsx(qf,$o({slots:{root:x,input:S},slotProps:y,fullWidth:c,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))}));$h.muiName="Input";var Gh=$h;function Bh(e){return od("MuiLink",e)}var Hh=id("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);const Wh={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var Vh=({theme:e,ownerState:t})=>{const n=(e=>Wh[e]||e)(t.color),r=ru(e,`palette.${n}`,!1)||t.color,o=ru(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Dc(r,.4)};const Yh=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Uh=_d(nf,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Tc(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>$o({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&$o({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:Vh({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.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"},[`&.${Hh.focusVisible}`]:{outline:"auto"}}))),Kh=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiLink"}),{className:r,color:o="primary",component:i="a",onBlur:a,onFocus:l,TypographyClasses:s,underline:u="always",variant:c="inherit",sx:d}=n,p=Go(n,Yh),{isFocusVisibleRef:f,onBlur:h,onFocus:m,ref:g}=Qc(),[b,v]=y.useState(!1),x=Bc(t,g),S=$o({},n,{color:o,component:i,focusVisible:b,underline:u,variant:c}),E=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return ks({root:["root",`underline${Tc(o)}`,"button"===n&&"button",r&&"focusVisible"]},Bh,t)})(S);return cc.jsx(Uh,$o({color:o,className:kd(E.root,r),classes:s,component:i,onBlur:e=>{h(e),!1===f.current&&v(!1),a&&a(e)},onFocus:e=>{m(e),!0===f.current&&v(!0),l&&l(e)},ref:x,ownerState:S,variant:c,sx:[...Object.keys(Wh).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},p))}));var Xh=Kh;var Jh=y.createContext({});function Zh(e){return od("MuiList",e)}id("MuiList",["root","padding","dense","subheader"]);const Qh=["children","className","component","dense","disablePadding","subheader"],em=_d("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>$o({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var tm=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=Go(n,Qh),c=y.useMemo((()=>({dense:a})),[a]),d=$o({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ks({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Zh,t)})(d);return cc.jsx(Jh.Provider,{value:c,children:cc.jsxs(em,$o({as:i,className:kd(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));function nm(e){return od("MuiListItemIcon",e)}var rm=id("MuiListItemIcon",["root","alignItemsFlexStart"]);const om=["className"],im=_d("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>$o({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var am=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Go(n,om),i=$o({},n,{alignItems:y.useContext(Jh).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return ks({root:["root","flex-start"===t&&"alignItemsFlexStart"]},nm,n)})(i);return cc.jsx(im,$o({className:kd(a.root,r),ownerState:i,ref:t},o))}));var lm=id("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const sm=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function um(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function cm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function dm(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function pm(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&dm(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var fm=y.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Go(e,sm),p=y.useRef(null),f=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Nc((()=>{r&&p.current.focus()}),[r]),y.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(kc(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=Bc(p,t);let m=-1;y.Children.forEach(i,((e,t)=>{y.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=y.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),y.cloneElement(e,t)}return e}));return cc.jsx(tm,$o({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=kc(t).activeElement;if("ArrowDown"===n)e.preventDefault(),pm(t,r,s,l,um);else if("ArrowUp"===n)e.preventDefault(),pm(t,r,s,l,cm);else if("Home"===n)e.preventDefault(),pm(t,null,s,l,um);else if("End"===n)e.preventDefault(),pm(t,null,s,l,cm);else if(1===n.length){const o=f.current,i=n.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 s=r&&!o.repeating&&dm(r,o);o.previousKeyMatched&&(s||pm(t,r,!1,l,um,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function hm(e){return od("MuiPopover",e)}id("MuiPopover",["root","paper"]);const mm=["onEntering"],gm=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],bm=["slotProps"];function vm(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function ym(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function xm(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Sm(e){return"function"==typeof e?e():e}const Em=_d(yh,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Cm=_d(Rp,{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});var wm=y.forwardRef((function(e,t){var n,r,o;const i=Id({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={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:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:E=Nh,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,L=Go(i.TransitionProps,mm),A=Go(i,gm),I=null!=(n=null==x?void 0:x.paper)?n:b,M=y.useRef(),D=Bc(M,I.ref),P=$o({},i,{anchorOrigin:s,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:S,TransitionComponent:E,transitionDuration:C,TransitionProps:L}),_=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"]},hm,t)})(P),O=y.useCallback((()=>{if("anchorPosition"===c)return u;const e=Sm(l),t=(e&&1===e.nodeType?e:kc(M.current).body).getBoundingClientRect();return{top:t.top+vm(t,s.vertical),left:t.left+ym(t,s.horizontal)}}),[l,s.horizontal,s.vertical,u,c]),T=y.useCallback((e=>({vertical:vm(e,S.vertical),horizontal:ym(e,S.horizontal)})),[S.horizontal,S.vertical]),k=y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=T(t);if("none"===c)return{top:null,left:null,transformOrigin:xm(n)};const r=O();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,u=qc(Sm(l)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,n.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:xm(n)}}),[l,c,O,T,m]),[q,N]=y.useState(g),F=y.useCallback((()=>{const e=M.current;if(!e)return;const t=k(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[k]);y.useEffect((()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[l,R,F]);y.useEffect((()=>{g&&F()})),y.useImperativeHandle(a,(()=>g?{updatePosition:()=>{F()}}:null),[g,F]),y.useEffect((()=>{if(!g)return;const e=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}((()=>{F()})),t=qc(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,g,F]);let z=C;"auto"!==C||E.muiSupportAuto||(z=void 0);const j=f||(l?kc(Sm(l)).body:void 0),$=null!=(r=null==v?void 0:v.root)?r:Em,G=null!=(o=null==v?void 0:v.paper)?o:Cm,B=Dp({elementType:G,externalSlotProps:$o({},I,{style:q?I.style:$o({},I.style,{opacity:0})}),additionalProps:{elevation:h,ref:D},ownerState:P,className:kd(_.paper,null==I?void 0:I.className)}),H=Dp({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:j,open:g},ownerState:P,className:kd(_.root,p)}),{slotProps:W}=H,V=Go(H,bm);return cc.jsx($,$o({},V,!Lp($)&&{slotProps:W,disableScrollLock:R},{children:cc.jsx(E,$o({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),F()},onExited:()=>{N(!1)},timeout:z},L,{children:cc.jsx(G,$o({},B,{children:d}))}))}))}));function Rm(e){return od("MuiMenu",e)}id("MuiMenu",["root","paper","list"]);const Lm=["onEntering"],Am=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Im={vertical:"top",horizontal:"right"},Mm={vertical:"top",horizontal:"left"},Dm=_d(wm,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pm=_d(Cm,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),_m=_d(fm,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var Om=y.forwardRef((function(e,t){var n,r;const o=Id({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!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,x=Go(o.TransitionProps,Lm),S=Go(o,Am),E=Ad(),C="rtl"===E.direction,w=$o({},o,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:x,variant:g}),R=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"],list:["list"]},Rm,t)})(w),L=i&&!s&&d,A=y.useRef(null);let I=-1;y.Children.map(a,((e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===I)&&(I=t))}));const M=null!=(n=b.paper)?n:Pm,D=null!=(r=v.paper)?r:p,P=Dp({elementType:b.root,externalSlotProps:v.root,ownerState:w,className:[R.root,l]}),_=Dp({elementType:M,externalSlotProps:D,ownerState:w,className:R.paper});return cc.jsx(Dm,$o({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Im:Mm,slots:{paper:M,root:b.root},slotProps:{root:P,paper:_},open:d,ref:t,transitionDuration:h,TransitionProps:$o({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,E),m&&m(e,t)}},x),ownerState:w},S,{classes:f,children:cc.jsx(_m,$o({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===I||s),autoFocusItem:L,variant:g},u,{className:kd(R.list,u.className),children:a}))}))}));function Tm(e){return od("MuiMenuItem",e)}var km=id("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const qm=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Nm=_d(Kp,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>$o({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${km.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${km.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${km.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${km.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${km.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Sh.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Sh.inset}`]:{marginLeft:52},[`& .${lm.root}`]:{marginTop:0,marginBottom:0},[`& .${lm.inset}`]:{paddingLeft:36},[`& .${rm.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&$o({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${rm.root} svg`]:{fontSize:"1.25rem"}}))));var Fm=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,p=Go(n,qm),f=y.useContext(Jh),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:l})),[f.dense,i,l]),m=y.useRef(null);Nc((()=>{r&&m.current&&m.current.focus()}),[r]);const g=$o({},n,{dense:h.dense,divider:a,disableGutters:l}),b=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return $o({},a,ks({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},Tm,a))})(n),v=Bc(m,t);let x;return n.disabled||(x=void 0!==c?c:-1),cc.jsx(Jh.Provider,{value:h,children:cc.jsx(Nm,$o({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:kd(b.focusVisible,s),className:kd(b.root,d)},p,{ownerState:g,classes:b}))})}));function zm(e){return od("MuiNativeSelect",e)}var jm=id("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const $m=["className","disabled","error","IconComponent","inputRef","variant"],Gm=({ownerState:e,theme:t})=>$o({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":$o({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${jm.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Bm=_d("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Md,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${jm.multiple}`]:t.multiple}]}})(Gm),Hm=({ownerState:e,theme:t})=>$o({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${jm.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),Wm=_d("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tc(n.variant)}`],n.open&&t.iconOpen]}})(Hm),Vm=y.forwardRef((function(e,t){const{className:n,disabled:r,error:o,IconComponent:i,inputRef:a,variant:l="standard"}=e,s=Go(e,$m),u=$o({},e,{disabled:r,variant:l,error:o}),c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return ks({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tc(n)}`,i&&"iconOpen",r&&"disabled"]},zm,t)})(u);return cc.jsxs(y.Fragment,{children:[cc.jsx(Bm,$o({ownerState:u,className:kd(c.select,n),disabled:r,ref:a||t},s)),e.multiple?null:cc.jsx(Wm,{as:i,ownerState:u,className:c.icon})]})}));var Ym,Um=Vm;const Km=["children","classes","className","label","notched"],Xm=_d("fieldset",{shouldForwardProp:Md})({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%"}),Jm=_d("legend",{shouldForwardProp:Md})((({ownerState:e,theme:t})=>$o({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&$o({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const Zm=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Qm=_d(_f,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Df})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return $o({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${jf.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${jf.focused} .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${jf.error} .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${jf.disabled} .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&$o({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),eg=_d((function(e){const{className:t,label:n,notched:r}=e,o=Go(e,Km),i=null!=n&&""!==n,a=$o({},e,{notched:r,withLabel:i});return cc.jsx(Xm,$o({"aria-hidden":!0,className:t,ownerState:a},o,{children:cc.jsx(Jm,{ownerState:a,children:i?cc.jsx("span",{children:n}):Ym||(Ym=cc.jsx("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),tg=_d(Of,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Pf})((({theme:e,ownerState:t})=>$o({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),ng=y.forwardRef((function(e,t){var n,r,o,i,a;const l=Id({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=l,g=Go(l,Zm),b=(e=>{const{classes:t}=e;return $o({},t,ks({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},zf,t))})(l),v=Cf(),x=Sf({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=$o({},l,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:v,fullWidth:u,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:m}),E=null!=(n=null!=(r=h.root)?r:s.Root)?n:Qm,C=null!=(o=null!=(i=h.input)?i:s.Input)?o:tg;return cc.jsx(qf,$o({slots:{root:E,input:C},renderSuffix:e=>cc.jsx(eg,{ownerState:S,className:b.notchedOutline,label:null!=d&&""!==d&&x.required?a||(a=cc.jsxs(y.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:$o({},b,{notchedOutline:null})}))}));ng.muiName="Input";var rg=ng;function og(e){return od("MuiSelect",e)}var ig,ag=id("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const lg=["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"],sg=_d("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${ag.select}`]:t.select},{[`&.${ag.select}`]:t[n.variant]},{[`&.${ag.error}`]:t.error},{[`&.${ag.multiple}`]:t.multiple}]}})(Gm,{[`&.${ag.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ug=_d("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tc(n.variant)}`],n.open&&t.iconOpen]}})(Hm),cg=_d("input",{shouldForwardProp:e=>Dd(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 dg(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function pg(e){return null==e||"string"==typeof e&&!e.trim()}const fg=y.forwardRef((function(e,t){var n;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:l,className:s,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:p,error:f=!1,IconComponent:h,inputRef:m,labelId:g,MenuProps:b={},multiple:v,name:x,onBlur:S,onChange:E,onClose:C,onFocus:w,onOpen:R,open:L,readOnly:A,renderValue:I,SelectDisplayProps:M={},tabIndex:D,value:P,variant:_="standard"}=e,O=Go(e,lg),[T,k]=$c({controlled:P,default:c,name:"Select"}),[q,N]=$c({controlled:L,default:u,name:"Select"}),F=y.useRef(null),z=y.useRef(null),[j,$]=y.useState(null),{current:G}=y.useRef(null!=L),[B,H]=y.useState(),W=Bc(t,m),V=y.useCallback((e=>{z.current=e,e&&$(e)}),[]),Y=null==j?void 0:j.parentNode;y.useImperativeHandle(W,(()=>({focus:()=>{z.current.focus()},node:F.current,value:T})),[T]),y.useEffect((()=>{u&&q&&j&&!G&&(H(a?null:Y.clientWidth),z.current.focus())}),[j,a]),y.useEffect((()=>{i&&z.current.focus()}),[i]),y.useEffect((()=>{if(!g)return;const e=kc(z.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&z.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const U=(e,t)=>{e?R&&R(t):C&&C(t),G||(H(a?null:Y.clientWidth),N(e))},K=y.Children.toArray(l),X=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(v){n=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==n&&(k(n),E)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:x}}),E(o,e)}v||U(!1,t)}},J=null!==j&&q;let Z,Q;delete O["aria-invalid"];const ee=[];let te=!1;(Lf({value:T})||p)&&(I?Z=I(T):te=!0);const ne=K.map((e=>{if(!y.isValidElement(e))return null;let t;if(v){if(!Array.isArray(T))throw new Error(zo(2));t=T.some((t=>dg(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=dg(T,e.props.value),t&&te&&(Q=e.props.children);return y.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,n)=>(e.push(t),n<ee.length-1&&e.push(", "),e)),[]):Q);let re,oe=B;!a&&G&&j&&(oe=Y.clientWidth),re=void 0!==D?D:d?null:0;const ie=M.id||(x?`mui-component-select-${x}`:void 0),ae=$o({},e,{variant:_,value:T,open:J,error:f}),le=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return ks({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tc(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},og,t)})(ae),se=$o({},b.PaperProps,null==(n=b.slotProps)?void 0:n.paper),ue=jc();return cc.jsxs(y.Fragment,{children:[cc.jsx(sg,$o({ref:V,tabIndex:re,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":r,onKeyDown:e=>{if(!A){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),U(!0,e))}},onMouseDown:d||A?null:e=>{0===e.button&&(e.preventDefault(),z.current.focus(),U(!0,e))},onBlur:e=>{!J&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:x}}),S(e))},onFocus:w},M,{ownerState:ae,className:kd(M.className,le.select,s),id:ie,children:pg(Z)?ig||(ig=cc.jsx("span",{className:"notranslate",children:"​"})):Z})),cc.jsx(cg,$o({"aria-invalid":f,value:Array.isArray(T)?T.join(","):T,name:x,ref:F,"aria-hidden":!0,onChange:e=>{const t=K.find((t=>t.props.value===e.target.value));void 0!==t&&(k(t.props.value),E&&E(e,t))},tabIndex:-1,disabled:d,className:le.nativeInput,autoFocus:i,ownerState:ae},O)),cc.jsx(ug,{as:h,className:le.icon,ownerState:ae}),cc.jsx(Om,$o({id:`menu-${x||""}`,anchorEl:Y,open:J,onClose:e=>{U(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:$o({"aria-labelledby":g,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:$o({},b.slotProps,{paper:$o({},se,{style:$o({minWidth:oe},null!=se?se.style:null)})}),children:ne}))]})}));var hg=fg;const mg=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],gg=["root"],bg={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Md(e)&&"variant"!==e,slot:"Root"},vg=_d(Gh,bg)(""),yg=_d(rg,bg)(""),xg=_d(Ph,bg)(""),Sg=y.forwardRef((function(e,t){const n=Id({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=Bf,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:b=!1,onClose:v,onOpen:x,open:S,renderValue:E,SelectDisplayProps:C,variant:w="outlined"}=n,R=Go(n,mg),L=b?Um:hg,A=Sf({props:n,muiFormControl:Cf(),states:["variant","error"]}),I=A.variant||w,M=$o({},n,{variant:I,classes:i}),D=(e=>{const{classes:t}=e;return t})(M),P=Go(D,gg),_=d||{standard:cc.jsx(vg,{ownerState:M}),outlined:cc.jsx(yg,{label:f,ownerState:M}),filled:cc.jsx(xg,{ownerState:M})}[I],O=Bc(t,_.ref);return cc.jsx(y.Fragment,{children:y.cloneElement(_,$o({inputComponent:L,inputProps:$o({children:o,error:A.error,IconComponent:u,variant:I,type:void 0,multiple:g},b?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:h,MenuProps:m,onClose:v,onOpen:x,open:S,renderValue:E,SelectDisplayProps:$o({id:c},C)},p,{classes:p?Oc(P,p.classes):P},d?d.props.inputProps:{})},g&&b&&"outlined"===I?{notched:!0}:{},{ref:O,className:kd(_.props.className,a,D.root)},!d&&{variant:I},R))})}));Sg.muiName="Select";var Eg=Sg,Cg=(e={})=>x.createElement(Ro,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{stroke:lo.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"}))));const wg={MuiAccordion:{styleOverrides:{root:{backgroundColor:lo.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:lo.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:x.createElement(Eo,{"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 ${lo.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`,borderRadius:fo,backgroundColor:lo.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 ${lo.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:lo.WHITE,color:lo.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:fo},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:lo.GREYSCALE_0_15,backgroundColor:lo.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${lo.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:lo.GREEN_PALE},"&:active":{backgroundColor:lo.GREEN_DARK},"&.Mui-focusVisible":{borderColor:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:lo.BLUE_PALE},"&:active":{backgroundColor:lo.BLUE_DARK},"&.Mui-focusVisible":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.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:fo,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:lo.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:lo.GREYSCALE_0_15,backgroundColor:lo.GREYSCALE_100_60,"&:active":{backgroundColor:lo.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${lo.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:lo.PURPLE,"&.Mui-focusVisible":{borderColor:lo.PURPLE,boxShadow:`0 0 0 3px ${Dc(lo.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:lo.GREEN,"&.Mui-focusVisible":{borderColor:lo.GREEN,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:lo.BLUE,"&.Mui-focusVisible":{borderColor:lo.BLUE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:lo.ORANGE,"&.Mui-focusVisible":{borderColor:lo.ORANGE,boxShadow:`0 0 0 3px ${Dc(lo.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:lo.RED,"&.Mui-focusVisible":{borderColor:lo.RED,boxShadow:`0 0 0 3px ${Dc(lo.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:lo.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:lo.PURPLE_PALE},"&:active":{backgroundColor:lo.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:lo.PURPLE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:lo.GREEN_PALE},"&:active":{backgroundColor:lo.GREEN_DARK},"&.Mui-focusVisible":{borderColor:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:lo.BLUE_PALE},"&:active":{backgroundColor:lo.BLUE_DARK},"&.Mui-focusVisible":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:lo.ORANGE_PALE},"&:active":{backgroundColor:lo.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:lo.ORANGE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:lo.RED_PALE},"&:active":{backgroundColor:lo.RED_DARK},"&.Mui-focusVisible":{borderColor:lo.RED_PALE,boxShadow:`0 0 0 3px ${Dc(lo.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:lo.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:lo.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:fo,boxShadow:`inset 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:x.createElement(wo,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:so,borderRadius:fo,color:lo.TEXT_PRIMARY,backgroundColor:lo.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{backgroundColor:lo.GREYSCALE_0_05,color:lo.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:lo.GREEN,borderColor:lo.GREEN},"&.MuiChip-outlinedInfo":{color:lo.BLUE,borderColor:lo.BLUE},"&.MuiChip-outlinedWarning":{color:lo.ORANGE,borderColor:lo.ORANGE},"&.MuiChip-outlinedError":{color:lo.RED,borderColor:lo.RED}},outlined:{border:`solid 1px ${lo.GREYSCALE_0_15}`,backgroundColor:lo.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:fo,boxShadow:"none",backgroundColor:lo.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:lo.GREEN,borderColor:lo.GREEN},outlinedSecondary:{color:lo.BLUE,borderColor:lo.BLUE},label:{fontFamily:vo.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:x.createElement(wo,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:x.createElement(Eo,{"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:fo},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:fo,fontSize:uo,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:lo.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${lo.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:lo.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:lo.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:lo.GREYSCALE_0_05}}},endAdornment:{top:"auto",bottom:"4px",right:"4px !important",position:"absolute"},popupIndicator:{borderRadius:fo,border:`solid 1px ${lo.GREYSCALE_0_15}`,color:lo.GREYSCALE_0_60,marginRight:0,width:po,height:po},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${lo.GREYSCALE_0_15}`},clearIndicator:{borderRadius:fo,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:lo.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:uo}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:so,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:lo.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:lo.GREYSCALE_25,fontSize:so,fontFamily:vo.FONT_FAMILY,fontWeight:go,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:lo.TEXT_PRIMARY},"&.Mui-error":{color:lo.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:lo.TEXT_SECONDARY,content:"'(optional)'",fontWeight:mo,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:lo.TEXT_SECONDARY,content:"'(required)'",fontWeight:mo,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:uo,lineHeight:"16px",backgroundColor:lo.WHITE,borderRadius:fo,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.GREYSCALE_0_05}`,borderColor:lo.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${lo.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${lo.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.RED}`,boxShadow:`0px 0px 0px 1px ${lo.RED}, inset 0 2px 0 0 ${lo.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.GREYSCALE_0_10}`,borderColor:lo.GREYSCALE_0_10,backgroundColor:lo.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:lo.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:lo.GREYSCALE_0_15,borderRadius:fo,boxShadow:`inset 0 2px 0 0 ${lo.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>x.createElement(Eo,{...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:lo.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:lo.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:lo.GREYSCALE_0_03},"&:active":{backgroundColor:lo.GREYSCALE_0_10},"&:focus":{backgroundColor:lo.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${lo.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:lo.GREYSCALE_0_30,"&:hover":{backgroundColor:lo.GREYSCALE_0_0,borderColor:lo.GREYSCALE_0_15},"& ~svg":{color:lo.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${lo.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:fo}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:lo.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{fontSize:uo,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:so,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:so,fontWeight:go,color:lo.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:go}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${lo.GREYSCALE_0_15}, 0px 0px 0px 1px ${lo.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:x.createElement(Io,null),checkedIcon:x.createElement(Mo,null)},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:lo.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:lo.GREYSCALE_0_20}},"&.Mui-disabled":{fill:lo.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:x.createElement(Cg,null),checkedIcon:x.createElement(Lo,null),indeterminateIcon:x.createElement(Ao,null)},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:fo,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:lo.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:lo.GREYSCALE_0_55,color:lo.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:lo.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:lo.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:lo.GREYSCALE_0_55,"&:hover":{color:lo.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:lo.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:lo.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:uo,color:lo.TEXT_PRIMARY,lineHeight:"16px",fontWeight:go},secondary:{fontSize:so,color:lo.GREYSCALE_45,fontWeight:mo,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:uo,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:lo.GREYSCALE_0_03},"&:active":{backgroundColor:lo.GREYSCALE_0_05}}}},MuiListItemButton:{styleOverrides:{root:{fontSize:uo,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:lo.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:so,borderBottom:`solid 1px ${lo.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:uo,color:lo.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:lo.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:lo.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:lo.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:lo.RED}}},"&.Mui-focusVisible":{backgroundColor:lo.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:lo.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:lo.GREEN,height:"24px","&.Mui-disabled":{color:lo.GREYSCALE_0_15}},rail:{backgroundColor:lo.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${lo.GREYSCALE_0_05}`,borderRadius:fo,boxShadow:`inset 0px 0px 0px 1px ${lo.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${lo.GREYSCALE_0_05}`,borderRadius:fo},thumb:{height:"16px",width:"16px",borderRadius:fo,backgroundColor:lo.WHITE,boxShadow:`0px 1px 2px 0px ${lo.GREYSCALE_0_15}, 0px 0px 0px 1px ${lo.GREYSCALE_0_05}`,"&:hover":{borderRadius:fo,boxShadow:`0 2px 4px 0 ${lo.GREYSCALE_0_30}, 0 0 0 1px ${lo.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${lo.GREYSCALE_0_15}, 0 0 0 1px ${lo.GREYSCALE_0_06}, 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${lo.GREYSCALE_0_15}, 0 0 0 1px ${lo.GREYSCALE_0_06}, 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:lo.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:lo.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:lo.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:lo.GREYSCALE_0_15},markLabel:{color:lo.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:lo.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:lo.WHITE,color:lo.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:lo.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:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:lo.GREYSCALE_0_15,borderRadius:fo},thumb:{height:"16px",width:"16px",borderRadius:fo,backgroundColor:lo.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:uo,fontWeight:go,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${lo.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`,backgroundColor:lo.GREYSCALE_0_03,borderRadius:fo},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:lo.GREYSCALE_25,"&.Mui-selected":{color:lo.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:uo,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{height:"100%",marginLeft:2,marginRight:2},indicator:{height:2},vertical:{borderRight:`1px solid ${lo.GREYSCALE_0_15}`,"& .MuiTab-root":{"&:hover":{borderBottomColor:"transparent",boxShadow:`2px 0px 0px ${lo.GREYSCALE_80}`}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${lo.GREYSCALE_85}`,borderRight:`1px solid ${lo.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:go,backgroundColor:lo.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:lo.GREYSCALE_98,borderBottom:`1px solid ${lo.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${lo.GREYSCALE_85}`,borderTop:`1px solid ${lo.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:lo.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:lo.GREYSCALE_0_05,"&:hover":{backgroundColor:lo.GREYSCALE_0_03}},"&&:hover":{backgroundColor:lo.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>x.createElement(Do,{className:e})},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 ${lo.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:uo,borderRadius:fo,padding:"7px 16px",border:`1px solid ${lo.GREYSCALE_0_15}`,backgroundColor:lo.GREYSCALE_100_60,color:lo.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:lo.GREYSCALE_0_10,border:`1px solid ${lo.GREYSCALE_0_30}`},"&:hover":{backgroundColor:lo.GREYSCALE_0_03,border:`1px solid ${lo.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:lo.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${lo.MISC_FOCUS_BORDER}`,border:`1px solid ${lo.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:lo.GREYSCALE_25,backgroundColor:lo.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:lo.GREYSCALE_0_10,border:`1px solid ${lo.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:so,height:24,width:24,padding:7},sizeLarge:{fontSize:co,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:uo,borderRadius:fo}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:lo.GREYSCALE_20},tooltip:{backgroundColor:lo.GREYSCALE_20,fontSize:so,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}};const Rg={mode:"light",primary:{light:lo.GREEN_PALE,main:lo.GREEN,dark:lo.GREEN_DARK,contrastText:lo.WHITE},secondary:{light:lo.BLUE_PALE,main:lo.BLUE,dark:lo.BLUE_DARK,contrastText:lo.WHITE},error:{light:lo.RED_PALE,main:lo.RED,dark:lo.RED_DARK,contrastText:lo.WHITE},warning:{light:lo.ORANGE_PALE,main:lo.ORANGE,dark:lo.ORANGE_DARK,contrastText:lo.WHITE},success:{light:lo.GREEN_PALE,main:lo.GREEN,dark:lo.GREEN_DARK,contrastText:lo.WHITE},info:{light:lo.BLUE_PALE,main:lo.BLUE,dark:lo.BLUE_DARK,contrastText:lo.WHITE},text:{primary:lo.TEXT_PRIMARY,secondary:lo.TEXT_SECONDARY,disabled:lo.GREYSCALE_0_30},action:{hover:lo.GREYSCALE_0_03,hoverOpacity:.05,selected:lo.GREYSCALE_0_05,focus:lo.MISC_FOCUS_BORDER},amethyst:{main:lo.PURPLE,light:lo.PURPLE_PALE,dark:lo.PURPLE_DARK,contrastText:lo.WHITE},background:{paper:lo.WHITE,default:lo.GREYSCALE_95},divider:lo.GREYSCALE_0_15},Lg=e=>({components:wg,palette:Rg,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:uo,fontWeightLight:ho,fontWeightRegular:mo,fontWeightMedium:go,fontWeightBold:bo,htmlFontSize:uo,fontFamily:vo.FONT_FAMILY,button:{fontWeight:go,fontSize:uo,textTransform:"none"},body1:{fontSize:co,lineHeight:"24px"},body2:{fontSize:uo,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:po,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:co,fontWeight:go,lineHeight:"16px"},h6:{fontSize:uo,fontWeight:go,lineHeight:"16px"},caption:{color:lo.TEXT_SECONDARY},subtitle1:{fontSize:uo,color:lo.TEXT_SECONDARY},subtitle2:{fontSize:so,color:lo.TEXT_SECONDARY}},shape:{borderRadius:fo}}),Ag={...ao,MISC_FOCUS_BORDER:lo.MISC_FOCUS_BORDER},Ig=Lg().palette,Mg={TEXT:Ig.text.primary,DISABLED:Ig.text.disabled,HOVER:Ig.action.hover,WHITE:Ag.GREYSCALE_100,BORDER_LIGHT:Ag.GREYSCALE_90,BORDER_MEDIUM:Ag.GREYSCALE_85,BORDER_HEAVY:Ag.GREYSCALE_50,DARK_MODE_TEXT:Ag.GREYSCALE_95,DARK_MODE_BORDER:Ag.GREYSCALE_95,DARK_MODE_DISABLED:Ag.GREYSCALE_70,DARK_MODE_BACKGROUND:Ag.GREYSCALE_20,TRANSPARENT:"transparent",NULL_VALUE_BACKGROUND:Ag.GREYSCALE_95};function Dg(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Pg(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function _g(){}var Og=.7,Tg=1/Og,kg="\\s*([+-]?\\d+)\\s*",qg="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ng="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Fg=/^#([0-9a-f]{3,8})$/,zg=new RegExp(`^rgb\\(${kg},${kg},${kg}\\)$`),jg=new RegExp(`^rgb\\(${Ng},${Ng},${Ng}\\)$`),$g=new RegExp(`^rgba\\(${kg},${kg},${kg},${qg}\\)$`),Gg=new RegExp(`^rgba\\(${Ng},${Ng},${Ng},${qg}\\)$`),Bg=new RegExp(`^hsl\\(${qg},${Ng},${Ng}\\)$`),Hg=new RegExp(`^hsla\\(${qg},${Ng},${Ng},${qg}\\)$`),Wg={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 Vg(){return this.rgb().formatHex()}function Yg(){return this.rgb().formatRgb()}function Ug(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Fg.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Kg(t):3===n?new Qg(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Xg(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Xg(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=zg.exec(e))?new Qg(t[1],t[2],t[3],1):(t=jg.exec(e))?new Qg(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=$g.exec(e))?Xg(t[1],t[2],t[3],t[4]):(t=Gg.exec(e))?Xg(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Bg.exec(e))?ib(t[1],t[2]/100,t[3]/100,1):(t=Hg.exec(e))?ib(t[1],t[2]/100,t[3]/100,t[4]):Wg.hasOwnProperty(e)?Kg(Wg[e]):"transparent"===e?new Qg(NaN,NaN,NaN,0):null}function Kg(e){return new Qg(e>>16&255,e>>8&255,255&e,1)}function Xg(e,t,n,r){return r<=0&&(e=t=n=NaN),new Qg(e,t,n,r)}function Jg(e){return e instanceof _g||(e=Ug(e)),e?new Qg((e=e.rgb()).r,e.g,e.b,e.opacity):new Qg}function Zg(e,t,n,r){return 1===arguments.length?Jg(e):new Qg(e,t,n,null==r?1:r)}function Qg(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function eb(){return`#${ob(this.r)}${ob(this.g)}${ob(this.b)}`}function tb(){const e=nb(this.opacity);return`${1===e?"rgb(":"rgba("}${rb(this.r)}, ${rb(this.g)}, ${rb(this.b)}${1===e?")":`, ${e})`}`}function nb(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function rb(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ob(e){return((e=rb(e))<16?"0":"")+e.toString(16)}function ib(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new lb(e,t,n,r)}function ab(e){if(e instanceof lb)return new lb(e.h,e.s,e.l,e.opacity);if(e instanceof _g||(e=Ug(e)),!e)return new lb;if(e instanceof lb)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new lb(a,l,s,e.opacity)}function lb(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function sb(e){return(e=(e||0)%360)<0?e+360:e}function ub(e){return Math.max(0,Math.min(1,e||0))}function cb(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Dg(_g,Ug,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Vg,formatHex:Vg,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ab(this).formatHsl()},formatRgb:Yg,toString:Yg}),Dg(Qg,Zg,Pg(_g,{brighter(e){return e=null==e?Tg:Math.pow(Tg,e),new Qg(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Og:Math.pow(Og,e),new Qg(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Qg(rb(this.r),rb(this.g),rb(this.b),nb(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:eb,formatHex:eb,formatHex8:function(){return`#${ob(this.r)}${ob(this.g)}${ob(this.b)}${ob(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:tb,toString:tb})),Dg(lb,(function(e,t,n,r){return 1===arguments.length?ab(e):new lb(e,t,n,null==r?1:r)}),Pg(_g,{brighter(e){return e=null==e?Tg:Math.pow(Tg,e),new lb(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Og:Math.pow(Og,e),new lb(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Qg(cb(e>=240?e-240:e+120,o,r),cb(e,o,r),cb(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new lb(sb(this.h),ub(this.s),ub(this.l),nb(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=nb(this.opacity);return`${1===e?"hsl(":"hsla("}${sb(this.h)}, ${100*ub(this.s)}%, ${100*ub(this.l)}%${1===e?")":`, ${e})`}`}}));const db=Math.PI/180,pb=180/Math.PI,fb=.96422,hb=1,mb=.82521,gb=4/29,bb=6/29,vb=3*bb*bb,yb=bb*bb*bb;function xb(e){if(e instanceof Sb)return new Sb(e.l,e.a,e.b,e.opacity);if(e instanceof Ab)return Ib(e);e instanceof Qg||(e=Jg(e));var t,n,r=Rb(e.r),o=Rb(e.g),i=Rb(e.b),a=Eb((.2225045*r+.7168786*o+.0606169*i)/hb);return r===o&&o===i?t=n=a:(t=Eb((.4360747*r+.3850649*o+.1430804*i)/fb),n=Eb((.0139322*r+.0971045*o+.7141733*i)/mb)),new Sb(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Sb(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Eb(e){return e>yb?Math.pow(e,1/3):e/vb+gb}function Cb(e){return e>bb?e*e*e:vb*(e-gb)}function wb(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Rb(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Lb(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Ab)return new Ab(e.h,e.c,e.l,e.opacity);if(e instanceof Sb||(e=xb(e)),0===e.a&&0===e.b)return new Ab(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*pb;return new Ab(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Ab(e,t,n,null==r?1:r)}function Ab(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Ib(e){if(isNaN(e.h))return new Sb(e.l,0,0,e.opacity);var t=e.h*db;return new Sb(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}Dg(Sb,(function(e,t,n,r){return 1===arguments.length?xb(e):new Sb(e,t,n,null==r?1:r)}),Pg(_g,{brighter(e){return new Sb(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Sb(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Qg(wb(3.1338561*(t=fb*Cb(t))-1.6168667*(e=hb*Cb(e))-.4906146*(n=mb*Cb(n))),wb(-.9787684*t+1.9161415*e+.033454*n),wb(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Dg(Ab,Lb,Pg(_g,{brighter(e){return new Ab(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new Ab(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return Ib(this).rgb()}}));const Mb=(e,t)=>{const n=Lb(e),r=n.l<70;return 0===n.opacity?(n.opacity=t.opacity,n.toString()):r?n.brighter(t.brighter).toString():n.darker(t.darker).toString()},Db=e=>{if(e){const t=Zg(e);return.299*t.r+.587*t.g+.114*t.b<125}return!1},Pb=e=>!!e&&0===Zg(e).opacity,_b=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,Ob=e=>{const t=_b.exec(e);if(t){const[,e,n,r,o]=t;return Zg(+n,+r,+o,+e/255)}return Zg(e)},Tb=e=>{const t=Ob(e);return Number.isNaN(t.r)?null:t.toString()},kb=e=>{e.stopPropagation(),e.preventDefault()},qb="#grid",Nb=(e,t)=>{const n=null==t?void 0:t.closest(e);return n&&window.getComputedStyle(n).backgroundColor},Fb=(e,t,n,r,o)=>{const i=Nb(".qv-object .qv-inner-object",n),a=Nb(".qv-panel-sheet",n),l=Nb(qb,n),s=null!=l?l:a,u=(e=>{var t,n,r,o,i,a;const l=null===(t=e.components)||void 0===t?void 0:t.find((e=>"general"===e.key)),s=null==l||null===(n=l.bgColor)||void 0===n?void 0:n.colorExpression,u=null==l||null===(r=l.bgColor)||void 0===r||null===(r=r.color)||void 0===r?void 0:r.color;if((null==l||null===(o=l.bgColor)||void 0===o?void 0:o.useColorExpression)&&s)return Tb(s);if("none"===u)return"transparent";if(void 0===u)return;const c=Ob(u);return c.opacity=null!==(i=null==l||null===(a=l.bgColor)||void 0===a||null===(a=a.color)||void 0===a?void 0:a.alpha)&&void 0!==i?i:c.opacity,c.toString()})(e),c=null==r?void 0:r(t),d=null==o?void 0:o(t),p=c||i||d,f=Pb(p),h=Db(f?s:p),m=((e,t,n)=>e&&!Pb(e)?e:Pb(t)?n&&!Pb(n)?n:Mg.WHITE:t)(u,p,s);return{color:p,headerColor:m,isDark:h}},zb=(o,i,a,l)=>{const s=n(),u=((n,r={attributeFilter:["style"],childList:!1,subtree:!1})=>{const[o,i]=e([]);return t((()=>{let e;return n&&(e=new MutationObserver((e=>{i(e)})),e.observe(n,r)),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}}),[n,r]),o})(null==i?void 0:i.closest(qb),{attributeFilter:["style"],childList:!1,subtree:!1,attributeOldValue:!0}).filter((({oldValue:e})=>null==e?void 0:e.includes("background"))).map((({oldValue:e})=>e)).join(",");return r((()=>({...s,background:Fb(o,s,i,a,l)})),[s.name(),i,a,l,o,u])};function jb(e,t){const n=r((()=>({isLoading:!0})),t),[i,a]=o((async()=>{try{return await e()}finally{n.isLoading=!1}}),t);return[i,n.isLoading,a]}const $b=3,Gb="N";function Bb(e,t,n){let r=0,o=e.length;if(e.length<=1)return null;if(n(e)<=t)return null;for(;r<=o;){const i=Math.floor((r+o)/2),a=e.slice(0,i),l=e.slice(0,i-1),s=n(a),u=n(l);if(s>t&&u<=t)return e.slice(i-1)||null;if(s===t)return e.slice(i)||null;s<t?r=i+1:o=i}return null}function Hb({fontSize:e="12px",fontFamily:t="Source Sans Pro, Arial, sans-serif",fontStyle:n="normal",fontWeight:r="normal"},o){const{maxNbrLinesOfText:i=$b}=null!=o?o:{},{estimateWidth:a,measureText:l,estimateLineCount:s}=L((()=>{const o=document.createElement("canvas").getContext("2d");o.font=`${n} ${r} ${e} ${t}`;const a=ar(o.measureText.bind(o)),l=e=>+a(e).width.toFixed(2),s=ar((({text:e,maxWidth:t,isNumeric:n=!1})=>{if(n)return 1;let r=0,o=e;do{r+=1,o=Bb(o,t,l)}while(null!==o&&r<i);return r}),(({text:e,maxWidth:t,isNumeric:n})=>`${e}-${t}-${n?"true":"false"}`));return{measureText:e=>a(e).width,estimateWidth:e=>a(Gb).width*e,estimateLineCount:s}}),[n,r,e,t,i]);return{estimateWidth:a,measureText:l,estimateLineCount:s}}var Wb,Vb=N;Wb=Vb.createRoot,Vb.hydrateRoot;function Yb(e,t){const[n,r]=A(t);n.some(((e,n)=>e!==t[n]))&&(r(t),e())}var Ub={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_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_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 Kb=({translator:e})=>(L((()=>function(e){if(e&&e.get&&e.add){const t="NebulaTableUtils.MenuGroupLabel.Sorting";if(e.get(t)!==t)return;Object.keys(Ub).forEach((t=>{e.add(Ub[t])}))}}(e)),[e]),e),Xb=document.createElement("textarea");function Jb(e){Xb.value=e,document.body.appendChild(Xb),Xb.select(),Xb.setSelectionRange(0,Xb.value.length),document.execCommand("copy"),document.body.removeChild(Xb)}Xb.style.position="absolute",Xb.style.left="-9999px",Xb.setAttribute("readonly","");function Zb(){null==i||i(((e,t)=>{const n=t.target,r=null==n?void 0:n.closest(`.${Tt}`);null!=r&&r.title&&e.addItem({translation:"contextMenu.copyCellValue",icon:"lui-icon lui-icon--copy",tid:"copy-cell-context-item",select:async()=>{(e=>{var t;const n=e.title;n&&(null!==(t=navigator.clipboard)&&void 0!==t&&t.writeText?navigator.clipboard.writeText(n).catch((()=>Jb(n))):Jb(n))})(r)}})}))}var Qb="$$material";const ev=["values","unit","step"],tv=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)=>Xr({},e,{[t.key]:t.val})),{})};function nv(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ro(e,ev),i=tv(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Xr({keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var rv={borderRadius:4};function ov(e,t){return t?Fl(e,t,{clone:!1}):e}const iv={xs:0,sm:600,md:900,lg:1200,xl:1536},av={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${iv[e]}px)`};function lv(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||av;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||av;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||iv).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function sv(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function uv(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:sv(e,n)||r,t&&(o=t(o,r,e)),o}function cv(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=sv(e.theme,r)||{};return lv(e,i,(e=>{let r=uv(a,o,e);return e===r&&"string"==typeof e&&(r=uv(a,o,`${t}${"default"===e?"":cs(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const dv={m:"margin",p:"padding"},pv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},fv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hv=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!fv[e])return[e];e=fv[e]}const[t,n]=e.split(""),r=dv[t],o=pv[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),mv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function bv(e,t,n,r){var o;const i=null!=(o=sv(e,t,!1))?o:n;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 vv(e){return bv(e,"spacing",8)}function yv(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function xv(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=yv(t,n),e)),{})}(hv(n),r);return lv(e,e[n],o)}function Sv(e,t){const n=vv(e.theme);return Object.keys(e).map((r=>xv(e,t,r,n))).reduce(ov,{})}function Ev(e){return Sv(e,mv)}function Cv(e){return Sv(e,gv)}function wv(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?ov(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Rv(e){return"number"!=typeof e?e:`${e}px solid`}function Lv(e,t){return cv({prop:e,themeKey:"borders",transform:t})}Ev.propTypes={},Ev.filterProps=mv,Cv.propTypes={},Cv.filterProps=gv;const Av=Lv("border",Rv),Iv=Lv("borderTop",Rv),Mv=Lv("borderRight",Rv),Dv=Lv("borderBottom",Rv),Pv=Lv("borderLeft",Rv),_v=Lv("borderColor"),Ov=Lv("borderTopColor"),Tv=Lv("borderRightColor"),kv=Lv("borderBottomColor"),qv=Lv("borderLeftColor"),Nv=Lv("outline",Rv),Fv=Lv("outlineColor"),zv=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=bv(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:yv(t,e)});return lv(e,e.borderRadius,n)}return null};zv.propTypes={},zv.filterProps=["borderRadius"],wv(Av,Iv,Mv,Dv,Pv,_v,Ov,Tv,kv,qv,zv,Nv,Fv);const jv=e=>{if(void 0!==e.gap&&null!==e.gap){const t=bv(e.theme,"spacing",8),n=e=>({gap:yv(t,e)});return lv(e,e.gap,n)}return null};jv.propTypes={},jv.filterProps=["gap"];const $v=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=bv(e.theme,"spacing",8),n=e=>({columnGap:yv(t,e)});return lv(e,e.columnGap,n)}return null};$v.propTypes={},$v.filterProps=["columnGap"];const Gv=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=bv(e.theme,"spacing",8),n=e=>({rowGap:yv(t,e)});return lv(e,e.rowGap,n)}return null};Gv.propTypes={},Gv.filterProps=["rowGap"];function Bv(e,t){return"grey"===t?t:e}wv(jv,$v,Gv,cv({prop:"gridColumn"}),cv({prop:"gridRow"}),cv({prop:"gridAutoFlow"}),cv({prop:"gridAutoColumns"}),cv({prop:"gridAutoRows"}),cv({prop:"gridTemplateColumns"}),cv({prop:"gridTemplateRows"}),cv({prop:"gridTemplateAreas"}),cv({prop:"gridArea"}));function Hv(e){return e<=1&&0!==e?100*e+"%":e}wv(cv({prop:"color",themeKey:"palette",transform:Bv}),cv({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Bv}),cv({prop:"backgroundColor",themeKey:"palette",transform:Bv}));const Wv=cv({prop:"width",transform:Hv}),Vv=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||iv[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Hv(t)}};return lv(e,e.maxWidth,t)}return null};Vv.filterProps=["maxWidth"];const Yv=cv({prop:"minWidth",transform:Hv}),Uv=cv({prop:"height",transform:Hv}),Kv=cv({prop:"maxHeight",transform:Hv}),Xv=cv({prop:"minHeight",transform:Hv});cv({prop:"size",cssProperty:"width",transform:Hv}),cv({prop:"size",cssProperty:"height",transform:Hv});wv(Wv,Vv,Yv,Uv,Kv,Xv,cv({prop:"boxSizing"}));var Jv={border:{themeKey:"borders",transform:Rv},borderTop:{themeKey:"borders",transform:Rv},borderRight:{themeKey:"borders",transform:Rv},borderBottom:{themeKey:"borders",transform:Rv},borderLeft:{themeKey:"borders",transform:Rv},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Rv},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zv},color:{themeKey:"palette",transform:Bv},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Bv},backgroundColor:{themeKey:"palette",transform:Bv},p:{style:Cv},pt:{style:Cv},pr:{style:Cv},pb:{style:Cv},pl:{style:Cv},px:{style:Cv},py:{style:Cv},padding:{style:Cv},paddingTop:{style:Cv},paddingRight:{style:Cv},paddingBottom:{style:Cv},paddingLeft:{style:Cv},paddingX:{style:Cv},paddingY:{style:Cv},paddingInline:{style:Cv},paddingInlineStart:{style:Cv},paddingInlineEnd:{style:Cv},paddingBlock:{style:Cv},paddingBlockStart:{style:Cv},paddingBlockEnd:{style:Cv},m:{style:Ev},mt:{style:Ev},mr:{style:Ev},mb:{style:Ev},ml:{style:Ev},mx:{style:Ev},my:{style:Ev},margin:{style:Ev},marginTop:{style:Ev},marginRight:{style:Ev},marginBottom:{style:Ev},marginLeft:{style:Ev},marginX:{style:Ev},marginY:{style:Ev},marginInline:{style:Ev},marginInlineStart:{style:Ev},marginInlineEnd:{style:Ev},marginBlock:{style:Ev},marginBlockStart:{style:Ev},marginBlockEnd:{style:Ev},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:jv},rowGap:{style:Gv},columnGap:{style:$v},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Hv},maxWidth:{style:Vv},minWidth:{transform:Hv},height:{transform:Hv},maxHeight:{transform:Hv},minHeight:{transform:Hv},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Zv(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=sv(n,l)||{};if(u)return u(o);return lv(o,t,(t=>{let n=uv(c,s,t);return t===n&&"string"==typeof t&&(n=uv(c,s,`${e}${"default"===t?"":cs(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Jv;function l(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],u=i,"function"==typeof l?l(u):l);var l,u;if(null!=o)if("object"==typeof o)if(a[n])s=ov(s,e(n,o,i,a));else{const e=lv({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=ov(s,e):s[n]=t({sx:o,theme:i})}else s=ov(s,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const Qv=Zv();Qv.filterProps=["sx"];var ey=Qv;function ty(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}const ny=["breakpoints","palette","spacing","shape"];function ry(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=ro(e,ny),l=nv(n),s=function(e=8){if(e.mui)return e;const t=vv({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let u=Fl({breakpoints:l,direction:"ltr",components:{},palette:Xr({mode:"light"},r),spacing:s,shape:Xr({},rv,i)},a);return u.applyStyles=ty,u=t.reduce(((e,t)=>Fl(e,t)),u),u.unstable_sxConfig=Xr({},Jv,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return ey({sx:e,theme:this})},u}var oy=Object.freeze({__proto__:null,default:ry,private_createBreakpoints:nv,unstable_applyStyles:ty});function iy(e=null){const t=y.useContext(yl);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const ay=ry();function ly(e=ay){return iy(e)}const sy=["sx"],uy=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Jv;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function cy(e){const{sx:t}=e,n=ro(e,sy),{systemProps:r,otherProps:o}=uy(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return ql(n)?Xr({},r,n):r}:Xr({},r,t),Xr({},o,{sx:i})}var dy=Object.freeze({__proto__:null,default:ey,extendSxProp:cy,unstable_createStyleFunctionSx:Zv,unstable_defaultSxConfig:Jv});const py=["className","component"];function fy(e){if(e.type)return e;if("#"===e.charAt(0))return fy(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Bo(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=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(r))throw new Error(Bo(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function hy(e,t){return e=fy(e),t=function(e,t=0,n=1){return $s(e,t,n)}(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:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}var my=y.createContext(null);function gy(){return y.useContext(my)}var by="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function vy(e){const{children:t,theme:n}=e,r=gy(),o=y.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Xr({},e,t)}(r,n);return null!=e&&(e[by]=null!==r),e}),[n,r]);return cc.jsx(my.Provider,{value:o,children:t})}const yy=["value"],xy=y.createContext();function Sy(e){let{value:t}=e,n=ro(e,yy);return cc.jsx(xy.Provider,Xr({value:null==t||t},n))}const Ey=y.createContext(void 0);function Cy({value:e,children:t}){return cc.jsx(Ey.Provider,{value:e,children:t})}function wy({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ts(o.defaultProps,r):o.styleOverrides||o.variants?r:Ts(o,r)}({props:e,name:t,theme:{components:y.useContext(Ey)}})}const Ry={};function Ly(e,t,n,r=!1){return y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?Xr({},t,{[e]:i}):i;return r?()=>a:a}return Xr({},t,e?{[e]:n}:n)}),[e,t,n,r])}function Ay(e){const{children:t,theme:n,themeId:r}=e,o=iy(Ry),i=gy()||Ry,a=Ly(r,o,n),l=Ly(r,i,n,!0),s="rtl"===a.direction;return cc.jsx(vy,{theme:l,children:cc.jsx(yl.Provider,{value:a,children:cc.jsx(Sy,{value:s,children:cc.jsx(Cy,{value:null==a?void 0:a.components,children:t})})})})}var Iy,My={},Dy={exports:{}};(Iy=Dy).exports=function(e){return e&&e.__esModule?e:{default:e}},Iy.exports.__esModule=!0,Iy.exports.default=Iy.exports;var Py=Dy.exports,_y=z(Ho),Oy=z(Gs),Ty=Py;Object.defineProperty(My,"__esModule",{value:!0});var ky=My.alpha=Uy;My.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),i=By(e),a=By(t),l=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Wy({type:"rgb",values:l})},My.colorChannel=void 0;var qy=My.darken=Ky;My.decomposeColor=By,My.emphasize=Jy;var Ny=My.getContrastRatio=function(e,t){const n=Yy(e),r=Yy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};My.getLuminance=Yy,My.hexToRgb=Gy,My.hslToRgb=Vy;var Fy=My.lighten=Xy;My.private_safeAlpha=function(e,t,n){try{return Uy(e,t)}catch(t){return e}},My.private_safeColorChannel=void 0,My.private_safeDarken=function(e,t,n){try{return Ky(e,t)}catch(t){return e}},My.private_safeEmphasize=function(e,t,n){try{return Jy(e,t)}catch(t){return e}},My.private_safeLighten=function(e,t,n){try{return Xy(e,t)}catch(t){return e}},My.recomposeColor=Wy,My.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=By(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 zy=Ty(_y),jy=Ty(Oy);function $y(e,t=0,n=1){return(0,jy.default)(e,t,n)}function Gy(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function By(e){if(e.type)return e;if("#"===e.charAt(0))return By(Gy(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,zy.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=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(r))throw new Error((0,zy.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Hy=e=>{const t=By(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};My.colorChannel=Hy;function Wy(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Vy(e){e=By(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Wy({type:l,values:s})}function Yy(e){let t="hsl"===(e=By(e)).type||"hsla"===e.type?By(Vy(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 Uy(e,t){return e=By(e),t=$y(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Wy(e)}function Ky(e,t){if(e=By(e),t=$y(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 n=0;n<3;n+=1)e.values[n]*=1-t;return Wy(e)}function Xy(e,t){if(e=By(e),t=$y(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Wy(e)}function Jy(e,t=.15){return Yy(e)>.5?Ky(e,t):Xy(e,t)}My.private_safeColorChannel=(e,t)=>{try{return Hy(e)}catch(t){return e}};var Zy={black:"#000",white:"#fff"};var Qy={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"};var ex={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var tx={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"};var nx={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"};var rx={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"};var ox={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var ix={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"};const ax=["mode","contrastThreshold","tonalOffset"],lx={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:Zy.white,default:Zy.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}},sx={text:{primary:Zy.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:Zy.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 ux(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Fy(e.main,o):"dark"===t&&(e.dark=qy(e.main,i)))}function cx(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ro(e,ax),i=e.primary||function(e="light"){return"dark"===e?{main:rx[200],light:rx[50],dark:rx[400]}:{main:rx[700],light:rx[400],dark:rx[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:ex[200],light:ex[50],dark:ex[400]}:{main:ex[500],light:ex[300],dark:ex[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:tx[500],light:tx[300],dark:tx[700]}:{main:tx[700],light:tx[400],dark:tx[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:ox[400],light:ox[300],dark:ox[700]}:{main:ox[700],light:ox[500],dark:ox[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:ix[400],light:ix[300],dark:ix[700]}:{main:ix[800],light:ix[500],dark:ix[900]}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:nx[400],light:nx[300],dark:nx[700]}:{main:"#ed6c02",light:nx[500],dark:nx[900]}}(t);function d(e){return Ny(e,sx.text.primary)>=n?sx.text.primary:lx.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Xr({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Bo(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Bo(12,t?` (${t})`:"",JSON.stringify(e.main)));return ux(e,"light",o,r),ux(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:sx,light:lx};return Fl(Xr({common:Xr({},Zy),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:u,name:"success"}),grey:Qy,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const dx=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const px={textTransform:"uppercase"},fx='"Roboto", "Helvetica", "Arial", sans-serif';function hx(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=fx,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,p=ro(n,dx),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,n,o,i)=>{return Xr({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===fx?{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(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,px),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,px),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fl(Xr({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function mx(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var gx=["none",mx(0,2,1,-1,0,1,1,0,0,1,3,0),mx(0,3,1,-2,0,2,2,0,0,1,5,0),mx(0,3,3,-2,0,3,4,0,0,1,8,0),mx(0,2,4,-1,0,4,5,0,0,1,10,0),mx(0,3,5,-1,0,5,8,0,0,1,14,0),mx(0,3,5,-1,0,6,10,0,0,1,18,0),mx(0,4,5,-2,0,7,10,1,0,2,16,1),mx(0,5,5,-3,0,8,10,1,0,3,14,2),mx(0,5,6,-3,0,9,12,1,0,3,16,2),mx(0,6,6,-3,0,10,14,1,0,4,18,3),mx(0,6,7,-4,0,11,15,1,0,4,20,3),mx(0,7,8,-4,0,12,17,2,0,5,22,4),mx(0,7,8,-4,0,13,19,2,0,5,24,4),mx(0,7,9,-4,0,14,21,2,0,5,26,4),mx(0,8,9,-5,0,15,22,2,0,6,28,5),mx(0,8,10,-5,0,16,24,2,0,6,30,5),mx(0,8,11,-5,0,17,26,2,0,6,32,5),mx(0,9,11,-5,0,18,28,2,0,7,34,6),mx(0,9,12,-6,0,19,29,2,0,7,36,6),mx(0,10,13,-6,0,20,31,3,0,8,38,7),mx(0,10,13,-6,0,21,33,3,0,8,40,7),mx(0,10,14,-6,0,22,35,3,0,8,42,7),mx(0,11,14,-7,0,23,36,3,0,9,44,8),mx(0,11,15,-7,0,24,38,3,0,9,46,8)];const bx=["duration","easing","delay"],vx={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)"},yx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function xx(e){return`${Math.round(e)}ms`}function Sx(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ex(e){const t=Xr({},vx,e.easing),n=Xr({},yx,e.duration);return Xr({getAutoHeightDuration:Sx,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return ro(r,bx),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:xx(o)} ${i} ${"string"==typeof a?a:xx(a)}`)).join(",")}},e,{easing:t,duration:n})}var Cx={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const wx=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Rx(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=ro(e,wx);if(e.vars)throw new Error(Bo(18));const l=cx(r),s=ry(e);let u=Fl(s,{mixins:(c=s.breakpoints,d=n,Xr({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:gx.slice(),typography:hx(l,i),transitions:Ex(o),zIndex:Xr({},Cx)});var c,d;return u=Fl(u,a),u=t.reduce(((e,t)=>Fl(e,t)),u),u.unstable_sxConfig=Xr({},Jv,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return ey({sx:e,theme:this})},u}var Lx=Rx();function Ax(){const e=ly(Lx);return e[Qb]||e}var Ix,Mx={},Dx={exports:{}};var Px,_x={exports:{}};var Ox=z(kl),Tx=z(jl),kx=z(ds),qx=z(us),Nx=z(oy),Fx=z(dy),zx=Py;Object.defineProperty(Mx,"__esModule",{value:!0});var jx=Mx.default=function(e={}){const{themeId:t,defaultTheme:n=Zx,rootShouldForwardProp:r=Jx,slotShouldForwardProp:o=Jx}=e,i=e=>(0,Vx.default)((0,$x.default)({},e,{theme:eS((0,$x.default)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,Bx.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=tS(Qx(s))}=a,p=(0,Gx.default)(a,Kx),f=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,h=c||!1;let m=Jx;"Root"===s||"root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,Bx.default)(e,(0,$x.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Hx.isPlainObject)(e)?r=>nS(e,(0,$x.default)({},r,{theme:eS({theme:r.theme,defaultTheme:n,themeId:t})})):e,v=(r,...o)=>{let a=b(r);const s=o?o.map(b):[];l&&d&&s.push((e=>{const r=eS((0,$x.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=nS(n,(0,$x.default)({},e,{theme:r}))})),d(e,i)})),l&&!f&&s.push((e=>{var r;const o=eS((0,$x.default)({},e,{defaultTheme:n,themeId:t}));return nS({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},(0,$x.default)({},e,{theme:o}))})),h||s.push(i);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=g(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(v.withConfig=g.withConfig),v}};Mx.shouldForwardProp=Jx,Mx.systemDefaultTheme=void 0;var $x=zx((Ix||(Ix=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 n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}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}(Dx)),Dx.exports)),Gx=zx((Px||(Px=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(_x)),_x.exports)),Bx=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=Xx(t);if(n&&n.has(e))return n.get(e);var r={__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(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Ox),Hx=Tx;zx(kx),zx(qx);var Wx=zx(Nx),Vx=zx(Fx);const Yx=["ownerState"],Ux=["variants"],Kx=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Xx(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Xx=function(e){return e?n:t})(e)}function Jx(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Zx=Mx.systemDefaultTheme=(0,Wx.default)(),Qx=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function eS({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function tS(e){return e?(t,n)=>n[e]:null}function nS(e,t){let{ownerState:n}=t,r=(0,Gx.default)(t,Yx);const o="function"==typeof e?e((0,$x.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>nS(e,(0,$x.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,Gx.default)(o,Ux);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,$x.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,$x.default)({ownerState:n},r,n)):e.style))})),t}return o}var rS=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e;var oS=jx({themeId:Qb,defaultTheme:Lx,rootShouldForwardProp:rS});const iS=["theme"];function aS(e){let{theme:t}=e,n=ro(e,iS);const r=t[Qb];return cc.jsx(Ay,Xr({},n,{themeId:r?Qb:void 0,theme:r||t}))}var lS=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};const sS=_d(nh,{shouldForwardProp:e=>"isLastColumn"!==e&&"hoverColor"!==e})((({isLastColumn:e,hoverColor:t})=>({pointerEvents:"auto",touchAction:"none",display:"flex",position:"absolute",height:"100%",top:0,cursor:"col-resize",width:(e?4:9)+"px",justifyContent:e?"flex-end":"center",marginLeft:"-4px","&:hover:not(:focus, :active)":{[`& .${Nt}`]:{background:t||"#D9D9D9","@media (hover: none)":{background:"none"}}},"&:focus-visible, &:active":{outline:"none",[`& .${Nt}`]:{background:"#177fe6",borderLeft:"1px solid #fff",borderRight:e?void 0:"1px solid #fff"}}}))),uS=_d(nh)({position:"absolute",height:"100%",width:"3px"}),cS=({columnWidth:e,keyValue:t,isLastColumn:n,isPivot:r,hoverColor:o,updateWidthCallback:i,confirmWidthCallback:a,handleBlur:l,setIsAdjustingWidth:s,isLeftColumn:u})=>{const c=I({initWidth:e,columnWidth:e,initX:0}),d=n?0:1,p=r&&!u,f={left:p?c.current.columnWidth-d:"100%"},h=t=>{c.current={initWidth:e,columnWidth:e,initX:null!=t?t:c.current.initX}};Yb((()=>p&&h()),[e]);const m=e=>{const t=Math.max(e,Ft.PixelsMin);c.current.columnWidth=t,i(t)},g=()=>{if(c.current.columnWidth!==c.current.initWidth){const e={type:zt.Pixels,pixels:c.current.columnWidth};a(e)}else null==s||s(!1)},b=e=>{const t=c.current.initWidth+e.clientX-c.current.initX;m(t)},v=e=>{kb(e),document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",v),g()},y=e=>{const t=c.current.initWidth+e.touches[0].clientX-c.current.initX;m(t)},S=e=>{kb(e),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",S),g()},E=!r&&l?e=>{if(e.key===kt.LEFT||e.key===kt.RIGHT){kb(e);const t=5,n=e.key===kt.LEFT?-t:t;m(c.current.columnWidth+n)}else e.key===kt.SPACE||e.key===kt.ENTER?(kb(e),l(e),g()):e.key===kt.ESC&&(kb(e),l(e),m(c.current.initWidth))}:void 0;return x.createElement(sS,{className:qt,isLastColumn:n,hoverColor:o,style:f,key:t,onMouseDown:e=>{e.stopPropagation(),document.addEventListener("mousemove",b),document.addEventListener("mouseup",v),null==s||s(!0),h(e.clientX)},onDoubleClick:()=>a({type:zt.FitToContent}),onTouchStart:e=>{1===e.touches.length&&(e.stopPropagation(),document.addEventListener("touchmove",y),document.addEventListener("touchend",S),null==s||s(!0),h(e.touches[0].clientX))},onKeyDown:E,onBlur:l,onFocus:()=>h(),"data-testid":qt},x.createElement(uS,{className:Nt}))};function dS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){dS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"M15 4H1V2h14zm0 10H1v-2h14zm0-5H1V7h14z"}))));function fS(){return fS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fS.apply(null,arguments)}const hS=_d(nh,{shouldForwardProp:e=>"rightAligned"!==e&&"shouldShowMenuIcon"!==e})((({rightAligned:e,shouldShowMenuIcon:t})=>({...e?{marginRight:"auto"}:{marginLeft:"auto"},height:24,display:t?"flex":"none",fontWeight:"bold",width:"100%",alignItems:"center",justifyContent:"center"}))),mS=_d(pS,{shouldForwardProp:e=>"isInteractionsActive"!==e})((({isInteractionsActive:e})=>({minWidth:"unset",position:"relative",cursor:e?"pointer":"default"}))),gS=_d(Om)((({theme:e})=>({".MuiList-root":{padding:e.spacing(.5,0)}}))),bS=_d(Lh)((({theme:e})=>({"&.MuiDivider-root":{margin:e.spacing(.5)}}))),vS=_d(Fm)((({theme:e})=>({fontSize:"12px",height:24,fontWeight:"bold",padding:`${e.spacing(.25,2)} !important`,marginBottom:e.spacing(.5)}))),yS=_d(Fm,{shouldForwardProp:e=>"isSubMenu"!==e&&"isActive"!==e})((({theme:e,isSubMenu:t,isActive:n})=>({width:`calc(220px - ${e.spacing(1)} - ${t?10:0}px)`,maxHeight:32,borderRadius:`${e.spacing(.5)} !important`,margin:`${e.spacing(.25,.5)} !important`,padding:`${e.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")}))),xS=_d("div")((({theme:e})=>({position:"absolute",width:e.spacing(.5),height:16,left:0,top:"50%",transform:"TranslateY(-50%)",borderRadius:"0 2px 2px 0",background:"#01873d"}))),SS=_d("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center"}))),ES=_d(nf)((()=>({fontFamily:'"Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif',fontSize:"14px"}))),CS=_d(am)((({theme:e})=>({width:16,minWidth:"unset !important",marginRight:e.spacing(1.5),lineHeight:0})));function wS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const RS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){wS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5z"}))));let LS={};const AS=({autoFocus:e,id:t,onClick:n,itemTitle:r,icon:o,enabled:i,subMenus:a,isSubMenu:l,isActive:s,handleHeadCellMenuKeyDown:u})=>{const[c,d]=A(!1),p=I(null),f=D((e=>{e.stopPropagation(),d(!1)}),[d]);return x.createElement(x.Fragment,null,x.createElement(yS,{ref:a?p:null,key:t,"data-testid":`menu-item-${t}`,className:"nebula-table-utils-head-menu-item",onClick:async e=>{"keyup"!==e.type&&(n&&(await n(e),LS={}),null!=a&&a.length&&(d(!0),LS[r]=d))},disabled:!i,autoFocus:e,isSubMenu:!!l,isActive:!!s,onKeyDown:u},s&&x.createElement(xS,null),x.createElement(SS,null,x.createElement(CS,null,x.createElement(o,null)),x.createElement(ES,{variant:"body2"},r)),null!=a&&a.length?x.createElement(RS,null):null),(null==a?void 0:a.length)&&x.createElement(DS,{isSubMenu:!0,open:c,anchorEl:p.current,onClose:f,menuGroups:(h=a,m=LS,h.map((e=>e.map((e=>{var t;return{...e.groupHeading?{groupHeading:e.groupHeading}:{},items:null===(t=e.items)||void 0===t?void 0:t.map((({onClick:e,...t})=>({...t,...e?{onClick:async t=>{Object.entries(m).map((([,e])=>e(!1))),await e(t)}}:{}})))}}))))),transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},handleHeadCellMenuKeyDown:u}));var h,m},IS=({menuGroup:e,isSubMenu:t,handleHeadCellMenuKeyDown:n})=>e.map((e=>{var r;return[[e.groupHeading&&x.createElement(vS,{disabled:!0,style:{opacity:1}},e.groupHeading),null===(r=e.items)||void 0===r?void 0:r.map((e=>x.createElement(AS,fS({key:e.id},e,{isSubMenu:t,handleHeadCellMenuKeyDown:n}))))].filter(Boolean)]})),MS={appear:200,enter:200,exit:100},DS=({anchorEl:e,open:t,onClose:n,menuGroups:r,transformOrigin:o,anchorOrigin:i,isSubMenu:a,handleHeadCellMenuKeyDown:l})=>r.length?x.createElement(gS,fS({className:"nebula-table-utils-head-menu",open:t,anchorEl:e,onClose:n,transitionDuration:MS,MenuListProps:{id:"nebula-table-utils-head-menu-list-id"}},i?{anchorOrigin:i}:{},o?{transformOrigin:o}:{}),(({itemGroups:e,isSubMenu:t,handleHeadCellMenuKeyDown:n})=>e.map(((r,o)=>[IS({menuGroup:r,isSubMenu:t,handleHeadCellMenuKeyDown:n}),o<e.length-1?x.createElement(bS,{"data-testid":"group-divider",variant:"middle",key:"divider"}):void 0])))({itemGroups:r,isSubMenu:a,handleHeadCellMenuKeyDown:l})):null,PS={canSelectAll:!1,canClearSelections:!1,canSelectPossible:!1,canSelectAlternative:!1,canSelectExcluded:!1},_S=(e,t)=>e.some((e=>t[e]>0));function OS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const TS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){OS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function kS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){kS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function NS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const FS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){NS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function zS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){zS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function $S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const GS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$S(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function BS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const HS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){BS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function WS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const VS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){WS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function YS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const US=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){YS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function KS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const XS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){KS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function JS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ZS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){JS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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 QS=function(e){return e.SORTING="sorting",e.SEARCHING="searching",e.SELECTIONS="selections",e.ADJUST_HEADER_SIZE="adjustHeaderSize",e}({});const eE=({headerData:e,translator:t,menuAvailabilityFlags:n,setOpen:r,sortFromMenu:o,interactions:i,embedListbox:a,fieldInstance:l,selectionActionsEnabledStatus:s,anchorRef:u,setFocusOnColumnAdjuster:c})=>{const d=[];if(n[QS.SORTING]){const{isActivelySorted:n,sortDirection:i}=e,{ascendingEnabled:a,descendingEnabled:l}=(({isActivelySorted:e,sortDirection:t,isPivot:n,isSortedByFirstMeasure:r})=>{let o=!n&&!e||"D"===t,i=!n&&!e||"A"===t;return r&&(o=!1,i=!1),{ascendingEnabled:o,descendingEnabled:i}})(e);d.push([{groupHeading:t.get("NebulaTableUtils.MenuGroupLabel.Sorting"),items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortAscending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"A")),r(!1)},icon:TS,enabled:a,isActive:!!n&&"A"===i,autoFocus:a},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortDescending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"D")),r(!1)},icon:jS,enabled:l,isActive:!!n&&"D"===i,autoFocus:!a&&l}]}])}if(e.isDim&&null!=i&&i.select){const e=[];n[QS.SEARCHING]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Search"),onClick:e=>{e.stopPropagation(),r(!1),a()},icon:GS,enabled:!0}]}]),n[QS.SELECTIONS]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Selections"),icon:ZS,enabled:!0,subMenus:[[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAll"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectAll())},icon:HS,enabled:s.canSelectAll},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectPossible"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectPossible())},icon:XS,enabled:s.canSelectPossible},{id:3,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAlternative"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectAlternative())},icon:VS,enabled:s.canSelectAlternative},{id:4,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectExcluded"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectExcluded())},icon:US,enabled:s.canSelectExcluded}]}],[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.ClearSelections"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.clear())},icon:qS,enabled:s.canClearSelections}]}]]}]}]),e.length>0&&d.push(...e)}return n[QS.ADJUST_HEADER_SIZE]&&d.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.AdjustColumnSize"),onClick:e=>{e.stopPropagation(),e.preventDefault(),r(!1),null==c||c(u)},icon:FS,enabled:!0}]}]),d},tE=({open:e,setOpen:t,anchorRef:n,headerData:r,translator:o,interactions:i,handleHeadCellMenuKeyDown:a,menuAvailabilityFlags:l,shouldShowMenuIcon:s=!0,sortRelatedArgs:u,searchRelatedArgs:c,selectionRelatedArgs:d,adjustHeaderSizeRelatedArgs:p})=>{var f;const h=Kb({translator:o}),{headTextAlign:m,qLibraryId:g,fieldId:b}=r,{fieldInstance:v,selectionActionsEnabledStatus:y,resetSelectionActionsEnabledStatus:S,updateSelectionActionsEnabledStatus:E}=(({headerData:e,app:t})=>{const[n,r]=A(null),[o,i]=A(PS);return P((()=>{t&&t.getField&&e&&e.isDim&&t.getField(e.fieldId).then(r).catch(console.error)}),[t,e]),{fieldInstance:n,selectionActionsEnabledStatus:o,resetSelectionActionsEnabledStatus:D((()=>i(PS)),[]),updateSelectionActionsEnabledStatus:D((t=>{const n=t.qHyperCube.qDimensionInfo.find((t=>t.qFallbackTitle===e.label));n&&i({canSelectAll:_S(["qOption","qAlternative","qExcluded","qDeselected"],n.qStateCounts),canClearSelections:_S(["qSelected"],n.qStateCounts),canSelectPossible:_S(["qOption"],n.qStateCounts),canSelectAlternative:_S(["qAlternative"],n.qStateCounts),canSelectExcluded:_S(["qAlternative","qExcluded"],n.qStateCounts)})}),[e.label,i])}})({headerData:r,app:null==d?void 0:d.app}),C=D((()=>{const e=g?{qLibraryId:g,type:"dimension"}:b;if(null!=c&&c.embed&&c.listboxRef){const{embed:t,listboxRef:n}=c;t.__DO_NOT_USE__.popover(n.current,e,{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},sortCriteria:c.sortCriteria})}}),[c,b,g]);P((()=>{e||(S(),null!=d&&d.model&&d.model.getLayout().then((e=>{E(e)})).catch((e=>console.error(e))))}),[e,S,E,null==d?void 0:d.model]);const w=D((e=>{e.stopPropagation(),t(!1)}),[t]);return i.active?x.createElement(hS,{rightAligned:"right"===m,shouldShowMenuIcon:s,className:"nebula-table-utils-head-menu-wrapper"},s&&x.createElement(mS,{height:_t,className:Ot,"data-testid":Ot,isInteractionsActive:null!==(f=i.active)&&void 0!==f&&f},x.createElement(pS,null)),x.createElement(DS,{open:e,anchorEl:n.current,onClose:w,menuGroups:eE({headerData:r,translator:h,menuAvailabilityFlags:l,setOpen:t,...u,embedListbox:C,interactions:i,fieldInstance:v,selectionActionsEnabledStatus:y,anchorRef:n,setFocusOnColumnAdjuster:null==p?void 0:p.setFocusOnColumnAdjuster}),handleHeadCellMenuKeyDown:a})):null},nE=e=>e.isDark?{background:e.color,borderColor:Mg.DARK_MODE_BORDER,color:Mg.DARK_MODE_TEXT,disabledColor:Mg.DARK_MODE_DISABLED,iconColor:Mg.DARK_MODE_TEXT}:{background:e.color,borderColor:Mg.BORDER_MEDIUM,color:Mg.TEXT,disabledColor:Mg.DISABLED},rE=_d(nh,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({height:40,display:"flex",justifyContent:"flex-end",alignItems:"center",padding:t.spacing(0,1,0,1),color:e.color,background:e.background,borderTop:`1px solid ${e.borderColor}`}))),oE=_d(Eg,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({background:"inherit",marginRight:t.spacing(1),color:e.color,"& .MuiNativeSelect-icon, .MuiNativeSelect-select":{color:e.iconColor}}))),iE=_d(fh,{shouldForwardProp:e=>"disabledCondition"!==e&&"footerStyle"!==e})((({disabledCondition:e,footerStyle:t,theme:n})=>({color:e?t.disabledColor:t.color,cursor:e?"default":"pointer",marginLeft:n.spacing(1)}))),aE=_d(nf)((({theme:e})=>({color:"inherit",margin:e.spacing(0,1,0,1)}))),lE=({children:e,footerContainer:t,interactions:n,theme:r,paginationNeeded:o=!0})=>{const i=L((()=>nE(r.background)),[r]);if(!n.active)return null;const a=o?x.createElement(rE,{footerStyle:i},e):null;return t?N.createPortal(e,t):a},sE=_({}),uE=()=>S(sE),cE=({children:e,direction:t,pageInfo:n,handleChangeRowsPerPage:r,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:l,totalColumnCount:s,totalPages:u,keyboard:c,translator:d,theme:p,interactions:f,rect:h,layout:m})=>{const g=(e=>!e.enabled||e.active)(c)?0:-1,b=L((()=>nE(p.background)),[p]),v=o?o.getBoundingClientRect().width:h.width,y=Kb({translator:d}),S=L((()=>({direction:t,pageInfo:n,handleChangeRowsPerPage:r,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:l,totalColumnCount:s,totalPages:u,keyboard:c,translator:y,theme:p,interactions:f,rect:h,layout:m,footerStyle:b,tabIndex:g,width:v})),[t,n,r,o,i,a,l,s,u,c,y,p,f,h,m,b,g,v]);return x.createElement(sE.Provider,{value:S},e)};let dE=function(e){return e.FirstPage="FirstPage",e.LastPage="LastPage",e.NextPage="NextPage",e.PreviousPage="PreviousPage",e}({}),pE=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}({});function fE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fE(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"}))));function mE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){mE(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m12 2 1.5 1.5L9 8l4.5 4.5L12 14 6 8zM4 2v12H2V2z"}))));function bE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bE(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m3.5 2 6 6-6 6L2 12.5 6.5 8 2 3.5zM14 2v12h-2V2z"})))),yE={FirstPage:gE,PreviousPage:hE,NextPage:RS,LastPage:vE,FirstPageRTL:vE,PreviousPageRTL:RS,NextPageRTL:hE,LastPageRTL:gE},xE=({disabledCondition:e,pageNumber:t,type:n})=>{const{direction:r,footerStyle:o,handleChangePage:i,translator:a,interactions:l,tabIndex:s}=uE(),u=yE[`${n}${"rtl"===r?"RTL":""}`];return{styledProps:{footerStyle:o,disabledCondition:e,size:"small","data-testid":"pagination-action-icon-button","aria-disabled":e,"aria-label":a.get(`NebulaTableUtils.Pagination.${n}`),title:l.passive?a.get(`NebulaTableUtils.Pagination.${n}`):void 0,tabIndex:s,onClick:e?null:()=>i(t)},IconComponent:u}},SE=()=>{const{pageInfo:e,width:t}=uE(),n=0===e.page,{IconComponent:r,styledProps:o}=xE({type:dE.FirstPage,disabledCondition:n,pageNumber:0});return t<=pE.FirstPage?null:x.createElement(iE,o,x.createElement(r,{height:_t}))},EE=(e,t,n=!1)=>{n&&e.key===kt.TAB&&!e.shiftKey&&(kb(e),((e,t,n)=>{var r,o,i,a;const l=null!==(r=null===(o=e.closest(".qv-object-wrapper"))||void 0===o||null===(o=o.querySelector(".sel-toolbar-confirm"))||void 0===o?void 0:o.parentElement)&&void 0!==r?r:null===(i=document.querySelector("#qv-selection-toolbar-popover .sel-toolbar-confirm"))||void 0===i?void 0:i.parentElement;l?l.focus():null===(a=t.focusSelection)||void 0===a||a.call(t,n)})(e.target,t,!1))},CE=()=>{const{pageInfo:e,keyboard:t,totalPages:n,isSelectionMode:r,width:o}=uE(),i=e.page>=n-1,{IconComponent:a,styledProps:l}=xE({type:dE.LastPage,disabledCondition:i,pageNumber:n-1}),s=t.enabled?e=>EE(e,t,r):null;return o<=pE.LastPage?null:x.createElement(iE,fS({},l,{onKeyDown:s}),x.createElement(a,{height:_t}))},wE=()=>{const{pageInfo:e,keyboard:t,totalPages:n,isSelectionMode:r,width:o}=uE(),i=e.page>=n-1,{IconComponent:a,styledProps:l}=xE({type:dE.NextPage,disabledCondition:i,pageNumber:e.page+1}),s=!(o>pE.FirstPage&&o>pE.LastPage)&&t.enabled?e=>EE(e,t,r):null;return x.createElement(iE,fS({},l,{onKeyDown:s}),x.createElement(a,{height:_t}))},RE=()=>{const{pageInfo:e}=uE(),t=0===e.page,{IconComponent:n,styledProps:r}=xE({type:dE.PreviousPage,disabledCondition:t,pageNumber:e.page-1});return x.createElement(iE,r,x.createElement(n,{height:_t}))},LE=()=>{const{translator:e,width:t,pageInfo:n,totalRowCount:r}=uE(),{page:o,rowsPerPage:i}=n;if(t<=pE.DisplayedRowsLabel)return null;const a=e.get("NebulaTableUtils.Pagination.DisplayedRowsLabel",[`${o*i+1} - ${Math.min((o+1)*i,r)}`,r.toString()]);return x.createElement(aE,{variant:"caption"},a)},AE=({name:e,value:t,options:n,handleChange:r})=>{const{layout:o,footerStyle:i,translator:a,tabIndex:l}=uE(),s=o.qInfo.qId,u=a.get(`NebulaTableUtils.Pagination.${e}`),c=`${e}-dropdown`,d=`${c}-label-${s}`,p={tabIndex:l,id:`${c}-${s}`,"data-testid":c,"aria-labelledby":d};return x.createElement(x.Fragment,null,x.createElement(aE,{variant:"caption",id:d},u,":"),x.createElement(oE,{footerStyle:i,size:"small",native:!0,value:t,onChange:r,inputProps:p},n))},IE=()=>{var e;const{pageInfo:t,isSelectionMode:n,totalColumnCount:r,width:o,handleChangeRowsPerPage:i}=uE();if(!(!(null===(e=t.rowsPerPageOptions)||void 0===e||!e.length)&&!n&&o>pE.RowsPerPage&&r<=100)||void 0===t.rowsPerPageOptions)return null;const a=x.createElement(x.Fragment,null,t.rowsPerPageOptions.map((e=>x.createElement("option",{key:e,value:e},e))));return x.createElement(AE,{name:"RowsPerPage",value:t.rowsPerPage,options:a,handleChange:e=>{null==i||i(+e.target.value)}})},ME=1e3,DE="…",PE=({totalPages:e,page:t})=>{const n=Math.min(e,ME),r=n<e&&t>500,o=r?Math.min(500+t,e):n,i=r?Math.max(0,o-ME):0,a=Array.from(Array(n).keys()).map((e=>{const t=e+i;return x.createElement("option",{key:t,value:t},t+1)}));return i>0&&a.unshift(x.createElement("option",{key:"startMoreOptions",value:DE,disabled:!0},DE)),o<e-1&&a.push(x.createElement("option",{key:"endMoreOptions",value:DE,disabled:!0},DE)),x.createElement(x.Fragment,null,a)},_E=()=>{const{pageInfo:e,width:t,totalPages:n,handleChangePage:r}=uE(),{page:o}=e;if(t<=pE.SelectPage)return null;const i=x.createElement(PE,{totalPages:n,page:o});return x.createElement(AE,{name:"SelectPage",value:o,options:i,handleChange:e=>r(+e.target.value)})};var OE=O((e=>x.createElement(cE,e,x.createElement(IE,null),x.createElement(_E,null),x.createElement(LE,null),x.createElement(SE,null),x.createElement(RE,null),x.createElement(wE,null),x.createElement(CE,null))));const TE=e=>x.createElement(lE,e,x.createElement(OE,e)),kE=_({}),qE=()=>S(kE),NE=({children:e,model:t,app:n,interactions:r,embed:o,theme:i,keyboard:a,env:l,downloadService:s})=>{const u=L((()=>({model:t,app:n,interactions:r,embed:o,theme:i,keyboard:a,env:l,downloadService:s})),[n,r,t,o,i,a,l,s]);return cc.jsx(kE.Provider,{value:u,children:e})},FE=e=>{const{text:t,fontFamily:n,fontSize:r,justifyContent:o,alignItems:i,height:a}=(({translator:e,layoutService:t})=>{var n;const{theme:r}=qE(),o=null!==(n=r.getStyle("","","fontFamily"))&&void 0!==n?n:Rr;return t.hasData?t.hasLimitedData?{text:e.get("SNPivotTable.LimitedData"),fontSize:"13px",fontFamily:o,alignItems:"center",height:"22px"}:{}:{text:e.get("SNPivotTable.NoData"),fontSize:"16px",fontFamily:o,justifyContent:"center",alignItems:"center",height:"100%"}})(e);return void 0===t?null:cc.jsx("div",{style:{display:"flex",justifyContent:o,alignItems:i,width:"100%",height:a},children:cc.jsx("span",{style:{...kr,fontFamily:n,fontSize:r,fontStyle:"italic",color:"#7b7a78"},children:t})})},zE=_({}),jE=()=>S(zE),$E=({children:e,styleService:t})=>cc.jsx(zE.Provider,{value:t,children:e}),GE=21,BE=20,HE=BE,WE=16+Mr+1,VE=.75,YE=e=>{var t;return-1!==e&&(null==e||null===(t=e.representation)||void 0===t?void 0:t.type)===yt.Image},UE="/qHyperCubeDef",KE=-1,XE="PSEUDO-DIM",JE=e=>void 0===e?Lr:e,ZE=(e,t)=>e&&"number"==typeof e&&!Number.isNaN(e)?e:t,QE=e=>ZE(e,Ft.PixelsDefault),eC=(e,t)=>ZE(e,Ft.PercentageDefault)*t/100,tC=(e,t,n)=>{switch(null==t?void 0:t.type){case zt.Pixels:return QE(t.pixels);case zt.Percentage:return eC(t.percentage,e);case zt.FitToContent:case zt.Auto:default:return n}},nC=({headers:e,layoutService:t,estimateWidthForDimensionValue:n,shouldConsiderCombinatedLength:r,measureTextForHeader:o,longestMeasureValuePossible:i})=>e.reduce(((e,a,l)=>{const{layout:{qHyperCube:{qNoOfLeftDims:s}},isFullyExpanded:u}=t,{id:c,colIdx:d,qApprMaxGlyphCount:p,isLeftDimension:f}=a;if(!f)return e+0;if(c===XE)return e+0;const h=n(p),m=!u&&f&&d<s-1?GE:0;let g=0;if(r&&o&&i){g=o("-")+i}return Math.max(e,24*l+WE+m+h+g)}),0),rC=(e,t,n)=>e.reduce(((e,r)=>{const o=(n?0:1)*WE;return Math.max(e,o+t(r.qFallbackTitle))}),0),oC=(e,t,n,r)=>{const o=100*e/t,i=r*VE*(o/100),a=n*(o/100);return Math.min(a,i)},iC=(e,t,n,r)=>r*(n/100)*(100*e/t/100),aC=(e,t)=>e.some((e=>e>=t*VE)),lC=({layoutService:e,headersData:t,columnWidths:n,tableWidth:r,widthOverride:o,measureTextForHeader:i,estimateWidthForDimensionValue:a,measureTextWidthForMeasuresCombinedWithDimensions:l,translator:s})=>{let u=[];const c=r*VE,d=t.data[t.data.length-1][0],p=Math.min(c,n.at(-1)),f=Math.min(c,nC({headers:d,layoutService:e,estimateWidthForDimensionValue:a})),h=Math.min(c,rC(e.visibleMeasureInfo,i));let m=0;const g=d.findIndex((e=>e.id===XE)),b=(({layoutService:e,measureTextForHeader:t,translator:n,headersData:r})=>{const{type:o}=e.indentModeColumnWidth;return o===zt.Auto&&r.size.y<=1?t(n.get("SNPivotTable.IndentMode.Rows"))+8+WE+16:24})({layoutService:e,measureTextForHeader:i,translator:s,headersData:t});if(e.hasPseudoDimOnLeft)if(0===g){const e=Math.max(p,f,h);u=[Math.max(b,e-p),p]}else{const t=Math.min(c,rC(e.visibleMeasureInfo,l,!0));m=Math.min(c,nC({headers:d.slice(0,g),layoutService:e,estimateWidthForDimensionValue:a,shouldConsiderCombinatedLength:!0,measureTextForHeader:i,longestMeasureValuePossible:t}));const n=Math.max(p,f,m);u=[Math.max(b,n-p),p]}else u=[Math.max(b,f-p),p];const v=Math.min(c,u.reduce(((e,t)=>e+t),0)),{indentModeColumnWidth:y}=e;o&&o<=c&&(y.type=zt.Pixels,y.pixels=o);return[zt.Pixels,zt.Percentage].includes(y.type)||aC(u,r)?((e,t,n,r)=>{let o=e[0],i=e[1],a=[];const l=e.reduce(((e,t)=>e+t),0),{type:s,pixels:u,percentage:c}=t,d=aC(e,n);s===zt.Auto&&d&&(o>i?o-=i:i-=o),s===zt.Pixels&&u&&(o=oC(e[0],l,u,n),i=oC(e[1],l,u,n)),s===zt.Percentage&&c&&(o=iC(e[0],l,c,n),i=iC(e[1],l,c,n));let p=0;i<=r&&(p=o-5,p>0&&(o-=p,i+=p)),p=i-r,p>0&&(o+=p,i-=p),a=[o,i];const f=a.reduce(((e,t)=>e+t),0);return{leftGridColumnWidths:a,leftGridWidth:f,leftGridFullWidth:f}})(u,y,r,p):{leftGridWidth:v,leftGridColumnWidths:u,leftGridFullWidth:v}};function sC({layoutService:e,tableWidth:t,headersData:n,translator:r}){const o=t*VE,i=jE(),{measureText:a}=Hb(i.header),{estimateWidth:l,measureText:s}=Hb({...i.dimensionValues,fontWeight:JE(i.dimensionValues.fontWeight)}),{measureText:u}=Hb({...i.dimensionValues,...i.measureLabels}),c=D(((i,c)=>{const{layout:{qHyperCube:{qNoOfLeftDims:d,topHeadersColumnWidth:p}},visibleMeasureInfo:f,isFullyExpanded:h,isIndentModeEnabled:m,hasPseudoDimOnLeft:g}=e,b=(e=0)=>f.reduce(((n,{qFallbackTitle:r,columnWidth:o})=>{const i=u(r)+WE,a=Math.max(i,e);return Math.max(n,m?a:tC(t,o,a))}),0),v=e=>n.data.reduce(((t,n)=>{const r=n[e];if(!r)return t;if(r.id===XE)return t;const o=(e=>{const{label:t,isLocked:n}=e,r=n?HE:0;return WE+a(t)+BE+r})(r);return Math.max(o,t)}),0);let y=0,x=n.data.at(-1);m&&n.size.x>1&&x&&x[0]&&(x=x[0]);const S=x.map(((r,a)=>{let s=WE;if((!m||m&&1===n.size.x)&&i&&void 0!==c&&c===r.colIdx)s=m?Math.min(o,i):i;else{let o;r.columnWidthLocation===It.Pivot?o=m?void 0:p:r.columnWidthLocation===It.Dimension&&({columnWidth:o}=r);let i=0;if(r.isLeftDimension)if(r.id===XE)i=b();else{const t=v(a),o=((t,n)=>{const{qApprMaxGlyphCount:r,isLeftDimension:o,dimensionInfoIndex:i}=t,a=e.getDimensionInfo(i);if(YE(a))return Ft.PixelsDefault;const s=!h&&o&&n<d-1?GE:0;return WE+l(r)+s})(r,a);i=Math.max(t,o),m&&!g&&a+1===d&&r.columnWidthLocation===It.Dimension&&n.size.x>1&&(i=t)}else r.isLeftDimension||(i=v(a),r.columnWidthLocation===It.Measures&&(i=b(i)));m&&1===n.size.x&&(o=e.indentModeColumnWidth),s=m&&!g&&n.size.x>1?i:tC(t,o,i)}return y+=s,s}));return m&&n.size.x>1?lC({layoutService:e,headersData:n,columnWidths:S,tableWidth:t,widthOverride:i,measureTextForHeader:a,estimateWidthForDimensionValue:l,measureTextWidthForMeasuresCombinedWithDimensions:s,translator:r}):{leftGridWidth:Math.min(o,y),leftGridColumnWidths:S,leftGridFullWidth:y}}),[t,n,e,o,a,u,l,s,r]),[d,p]=A(c);Yb((()=>{p(c())}),[c]);const f=D(((e,t)=>{p(c(e,t))}),[c]);return{...d,overrideLeftGridWidth:f}}function uC({layoutService:e,tableWidth:t,visibleTopDimensionInfo:n,verticalScrollbarWidth:r,leftGridWidth:o}){const{layout:{qHyperCube:{qNoOfLeftDims:i,qEffectiveInterColumnSortOrder:a}},size:l,visibleMeasureInfo:s}=e,u=jE(),{estimateWidth:c,measureText:d}=Hb(u.measureValues),{estimateWidth:p}=Hb({...u.dimensionValues,fontWeight:JE(u.dimensionValues.fontWeight)}),f=t-o-Mr,h=n.at(-1),m=h===KE,g=a.length-i>n.length?GE:0,b=L((()=>{const e=m?s:[h],t=l.x/e.length,n=[],r=[];let o=f;const i=(e,r)=>{n[e]=Math.min(Ft.PixelsMax,Math.max(Ft.PixelsMin,r)),o-=n[e]*t};if(e.forEach(((e,t)=>{if(null!=e&&e.columnWidth){const{columnWidth:{type:n,pixels:o,percentage:a},qApprMaxGlyphCount:l,qFallbackTitle:u}=e;switch(n){case zt.Pixels:i(t,QE(o));break;case zt.Percentage:i(t,eC(a,f));break;case zt.FitToContent:i(t,((e,t,n)=>n?Ft.PixelsDefault:WE+(m?Math.max(c(e),d(t)):Math.max(Math.max(...s.map((e=>c(e.qApprMaxGlyphCount)))),p(e)+g)))(l,u,YE(e)));break;case zt.Auto:default:r.push(t)}}else r.push(t)})),r.length){const e=r.length*t,i=o/e;r.forEach((e=>{n[e]=Math.max(Ft.AutoMinPivot,i)}))}return n}),[m,s,h,l.x,f,c,d,p,g]),v=L((()=>{if(m){return s.reduce(((e,t,n)=>e+b[n]),0)/s.length}return b[0]}),[m,b,s]),y=parseFloat((r/e.size.x).toFixed(12)),x=D((t=>m&&void 0!==t?b[e.getMeasureInfoIndexFromCellIndex(t,!0)]-y:v-y),[m,b,e,v,y]),S=l.x*v;return{rightGridFullWidth:S,rightGridWidth:Math.min(S,f),getRightGridColumnWidth:x}}let cC;const dC=new Uint8Array(16);function pC(){if(!cC&&(cC="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!cC))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return cC(dC)}const fC=[];for(let e=0;e<256;++e)fC.push((e+256).toString(16).slice(1));var hC={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function mC(e,t,n){if(hC.randomUUID&&!t&&!e)return hC.randomUUID();const r=(e=e||{}).random||(e.rng||pC)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return fC[e[t+0]]+fC[e[t+1]]+fC[e[t+2]]+fC[e[t+3]]+"-"+fC[e[t+4]]+fC[e[t+5]]+"-"+fC[e[t+6]]+fC[e[t+7]]+"-"+fC[e[t+8]]+fC[e[t+9]]+"-"+fC[e[t+10]]+fC[e[t+11]]+fC[e[t+12]]+fC[e[t+13]]+fC[e[t+14]]+fC[e[t+15]]}(r)}const gC=()=>{var e,t,n;return null!==(e=null===(t=crypto)||void 0===t||null===(n=t.randomUUID)||void 0===n?void 0:n.call(t))&&void 0!==e?e:mC()},bC=e=>e===KE?XE:(({qLibraryId:e,cId:t})=>{var n;return null!==(n=null!=e?e:t)&&void 0!==n?n:gC()})(e),vC=({layoutService:e,visibleLeftDimensionInfos:t,cell:n,colIdx:r})=>{n&&(n.canBeResized=!0,n.colIdx=n.colIdx||r,n.dimensionInfoIndex===KE?n.columnWidthLocation=It.Measures:n.isLeftDimension?n.columnWidthLocation=It.Dimension:t.at(-1)===KE?n.columnWidthLocation=It.Measures:e.hasPseudoDimOnLeft&&(n.columnWidthLocation=It.Pivot))},yC=(e,t,n)=>{var r;const o=bC(t),i=e.getDimensionInfoIndex(t),a=e.isLeftDimension(i);return t===KE?{id:o,colIdx:-1,label:"",sortDirection:"A",fieldId:"",isLocked:!1,isDim:!1,headTextAlign:"left",dimensionInfoIndex:i,canBeResized:!1,isLeftDimension:a,isLastDimension:n,columnWidthLocation:It.Measures,isPivot:!0}:{id:o,colIdx:0,label:t.qFallbackTitle,qReverseSort:t.qReverseSort,sortDirection:t.qSortIndicator&&"N"!==t.qSortIndicator?t.qSortIndicator:"A",qLibraryId:t.qLibraryId,fieldId:t.qGroupFieldDefs[t.qGroupPos],isLocked:null!==(r=t.qLocked)&&void 0!==r&&r,columnWidth:t.columnWidth,qApprMaxGlyphCount:t.qApprMaxGlyphCount,isDim:!0,headTextAlign:"left",dimensionInfoIndex:i,canBeResized:!1,isLeftDimension:a,isLastDimension:n,columnWidthLocation:It.Dimension,isPivot:!0,isSortedByFirstMeasure:e.isSortedByFirstMeasure}},xC=({layoutService:e,lastRow:t,lastCol:n})=>{let r=n;var o;t.length>0&&(r=(o=n).at(-1)===KE?o.slice(0,-1):o);const i=r.length+(t.length?1:0),a=Math.max(1,t.length),l=((e,t)=>Array(e).fill(null).map((()=>Array.from({length:t},(()=>null)))))(i,a);return t.forEach(((t,n,r)=>{const o=n===r.length-1;l[i-1][n]=yC(e,t,o)})),r.forEach(((t,n,r)=>{const o=n===r.length-1;l[n][a-1]=yC(e,t,o)})),l},SC=(e,t,n)=>{var r,o;const i=((e,t,n)=>{let r;var o;return r=0===t.length||t.includes(KE)?xC({layoutService:e,lastRow:n,lastCol:t}):(e=>e[0].map(((t,n)=>e.map((e=>e[n])))))(xC({layoutService:e,lastRow:t,lastCol:n})),e.isIndentModeEnabled&&r[r.length-1].length>1&&(r[r.length-1]=[r.at(-1),...new Array(r[0]?r[0].length-1:0).fill(null)]),r.length&&(null===(o=r.at(-1))||void 0===o||o.forEach(((t,r)=>{if(Array.isArray(t)){const r=t;for(let t=0;t<r.length;t++)vC({layoutService:e,visibleLeftDimensionInfos:n,cell:r[t],colIdx:t})}else vC({layoutService:e,visibleLeftDimensionInfos:n,cell:t,colIdx:r})}))),r})(e,t,n);return{data:i,size:{x:null!==(r=null===(o=i[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0,y:i.length}}};function EC(e){return EC="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},EC(e)}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"))?i:String(i)),r)}var o,i}function RC(e,t,n){return t&&wC(e.prototype,t),n&&wC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function LC(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&&IC(e,t)}function AC(e){return AC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},AC(e)}function IC(e,t){return IC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IC(e,t)}function MC(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)}function DC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=AC(e);if(t){var o=AC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return MC(this,n)}}function PC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _C(e,t)}(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 _C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var OC={fromSearchString:function(e){if(!e)return[];"?"===e[0]&&(e=e.substr(1));var t=[];return e.split("&").forEach((function(e){if(e){var n,r=e.indexOf("="),o="",i=!1;-1===r?n=e:(n=e.slice(0,r),o=e.slice(r+1),i=!0),t.push(function(e,t,n){return{key:TC(e),value:TC(t),useEqualSign:n}}(n,o,i))}})),t}};function TC(e){try{return decodeURIComponent(e)}catch(t){return e}}function kC(e){if(!(this instanceof kC))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:""},n=e.indexOf("#");-1!==n&&(t.hash=e.substr(n),e=e.substr(0,n));n=e.indexOf("?"),-1!==n&&(t.search=e.substr(n),e=e.substr(0,n));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 OC.fromSearchString(t.search)}}})}function qC(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}kC.encodeAuthorityAndPath=function(e){return encodeURI(e).replace(/%5B/gi,"[").replace(/%5D/gi,"]").replace(/%25/gi,"%")},kC.encodeSearchParams=function(e){for(var t,n="",r=0;r<e.length;r++)n+=0===r?"?":"&",n+=qC((t=e[r]).key),t.value?n+="=".concat(qC(t.value)):n+=t.useEqualSign?"=":"";return n};var NC,FC=function(){function e(t){CC(this,e),this._input=t,this._pushback=null,this._temp=null,this._index=0,this._mark=0}return RC(e,[{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}}]),e}(),zC=function(){function e(){CC(this,e)}return RC(e,[{key:"decode",value:function(e){for(var t,n="",r=new FC(e);r.hasNext();)n+=null!=(t=this.decodeCharacter(r))?t:r.next();return n}},{key:"decodeCharacter",value:function(e){return e.next()}}]),e}(),jC=function(e){return e>=0&&e<=1114111},$C=function(e){return e.match(/[\s]/)},GC=function(){LC(t,zC);var e=DC(t);function t(){return CC(this,t),e.apply(this,arguments)}return RC(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,n,r,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,n=0;n<5&&(null!=(r=e.next())&&!$C(r));n++){if("NaN"===parseInt(r,16)){e.pushback(r);break}t+=r}var a=parseInt(t,16);return jC(a)?String.fromCharCode(a):"�"}}]),t}(),BC=function(){function e(t,n){CC(this,e),this._key=t,this._value=n}return RC(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,n,r=arguments[0];return"string"==typeof arguments[1]?(t=arguments[1],n=r.length):(n=arguments[1],t=arguments[2]),t&&r?(r.length>n&&(r=r.substr(0,n)),new e(r,t)):null}}]),e}(),HC=function(){function e(){CC(this,e)}return RC(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,n,r){var o,i;if(t.length===n)return i=this._value,this.setValue(r),i;var a=t.charAt(n);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,n+1,r)}},{key:"get",value:function(e,t){if(e.length<=t)return this._value;var n=this.getNextNode(e.charAt(t));return n?n.get(e,t+1):null}},{key:"getLongestMatch",value:function(e,t){if(e.length<=t)return BC.newInstanceIfNeeded(e,this._value);var n=this.getNextNode(e.charAt(t));if(!n)return BC.newInstanceIfNeeded(e,t,this._value);var r=n.getLongestMatch(e,t+1);return r||BC.newInstanceIfNeeded(e,t,this._value)}}]),e}(),WC=function(){function e(){CC(this,e),this.clear()}return RC(e,[{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 HC);var n=this.root.put(e,0,t);return n||(e.length>this.maxKeyLen&&(this.maxKeyLen=e.length),this.size++,null)}}]),e}(),VC=function(){var e,t,n,r=[],o=[],i=new WC;for(e in r["&quot"]="34",r["&amp"]="38",r["&lt"]="60",r["&gt"]="62",r["&nbsp"]="160",r["&iexcl"]="161",r["&cent"]="162",r["&pound"]="163",r["&curren"]="164",r["&yen"]="165",r["&brvbar"]="166",r["&sect"]="167",r["&uml"]="168",r["&copy"]="169",r["&ordf"]="170",r["&laquo"]="171",r["&not"]="172",r["&shy"]="173",r["&reg"]="174",r["&macr"]="175",r["&deg"]="176",r["&plusmn"]="177",r["&sup2"]="178",r["&sup3"]="179",r["&acute"]="180",r["&micro"]="181",r["&para"]="182",r["&middot"]="183",r["&cedil"]="184",r["&sup1"]="185",r["&ordm"]="186",r["&raquo"]="187",r["&frac14"]="188",r["&frac12"]="189",r["&frac34"]="190",r["&iquest"]="191",r["&Agrave"]="192",r["&Aacute"]="193",r["&Acirc"]="194",r["&Atilde"]="195",r["&Auml"]="196",r["&Aring"]="197",r["&AElig"]="198",r["&Ccedil"]="199",r["&Egrave"]="200",r["&Eacute"]="201",r["&Ecirc"]="202",r["&Euml"]="203",r["&Igrave"]="204",r["&Iacute"]="205",r["&Icirc"]="206",r["&Iuml"]="207",r["&ETH"]="208",r["&Ntilde"]="209",r["&Ograve"]="210",r["&Oacute"]="211",r["&Ocirc"]="212",r["&Otilde"]="213",r["&Ouml"]="214",r["&times"]="215",r["&Oslash"]="216",r["&Ugrave"]="217",r["&Uacute"]="218",r["&Ucirc"]="219",r["&Uuml"]="220",r["&Yacute"]="221",r["&THORN"]="222",r["&szlig"]="223",r["&agrave"]="224",r["&aacute"]="225",r["&acirc"]="226",r["&atilde"]="227",r["&auml"]="228",r["&aring"]="229",r["&aelig"]="230",r["&ccedil"]="231",r["&egrave"]="232",r["&eacute"]="233",r["&ecirc"]="234",r["&euml"]="235",r["&igrave"]="236",r["&iacute"]="237",r["&icirc"]="238",r["&iuml"]="239",r["&eth"]="240",r["&ntilde"]="241",r["&ograve"]="242",r["&oacute"]="243",r["&ocirc"]="244",r["&otilde"]="245",r["&ouml"]="246",r["&divide"]="247",r["&oslash"]="248",r["&ugrave"]="249",r["&uacute"]="250",r["&ucirc"]="251",r["&uuml"]="252",r["&yacute"]="253",r["&thorn"]="254",r["&yuml"]="255",r["&OElig"]="338",r["&oelig"]="339",r["&Scaron"]="352",r["&scaron"]="353",r["&Yuml"]="376",r["&fnof"]="402",r["&circ"]="710",r["&tilde"]="732",r["&Alpha"]="913",r["&Beta"]="914",r["&Gamma"]="915",r["&Delta"]="916",r["&Epsilon"]="917",r["&Zeta"]="918",r["&Eta"]="919",r["&Theta"]="920",r["&Iota"]="921",r["&Kappa"]="922",r["&Lambda"]="923",r["&Mu"]="924",r["&Nu"]="925",r["&Xi"]="926",r["&Omicron"]="927",r["&Pi"]="928",r["&Rho"]="929",r["&Sigma"]="931",r["&Tau"]="932",r["&Upsilon"]="933",r["&Phi"]="934",r["&Chi"]="935",r["&Psi"]="936",r["&Omega"]="937",r["&alpha"]="945",r["&beta"]="946",r["&gamma"]="947",r["&delta"]="948",r["&epsilon"]="949",r["&zeta"]="950",r["&eta"]="951",r["&theta"]="952",r["&iota"]="953",r["&kappa"]="954",r["&lambda"]="955",r["&mu"]="956",r["&nu"]="957",r["&xi"]="958",r["&omicron"]="959",r["&pi"]="960",r["&rho"]="961",r["&sigmaf"]="962",r["&sigma"]="963",r["&tau"]="964",r["&upsilon"]="965",r["&phi"]="966",r["&chi"]="967",r["&psi"]="968",r["&omega"]="969",r["&thetasym"]="977",r["&upsih"]="978",r["&piv"]="982",r["&ensp"]="8194",r["&emsp"]="8195",r["&thinsp"]="8201",r["&zwnj"]="8204",r["&zwj"]="8205",r["&lrm"]="8206",r["&rlm"]="8207",r["&ndash"]="8211",r["&mdash"]="8212",r["&lsquo"]="8216",r["&rsquo"]="8217",r["&sbquo"]="8218",r["&ldquo"]="8220",r["&rdquo"]="8221",r["&bdquo"]="8222",r["&dagger"]="8224",r["&Dagger"]="8225",r["&bull"]="8226",r["&hellip"]="8230",r["&permil"]="8240",r["&prime"]="8242",r["&Prime"]="8243",r["&lsaquo"]="8249",r["&rsaquo"]="8250",r["&oline"]="8254",r["&frasl"]="8260",r["&euro"]="8364",r["&image"]="8365",r["&weierp"]="8472",r["&real"]="8476",r["&trade"]="8482",r["&alefsym"]="8501",r["&larr"]="8592",r["&uarr"]="8593",r["&rarr"]="8594",r["&darr"]="8595",r["&harr"]="8596",r["&crarr"]="8629",r["&lArr"]="8656",r["&uArr"]="8657",r["&rArr"]="8658",r["&dArr"]="8659",r["&hArr"]="8660",r["&forall"]="8704",r["&part"]="8706",r["&exist"]="8707",r["&empty"]="8709",r["&nabla"]="8711",r["&isin"]="8712",r["&notin"]="8713",r["&ni"]="8715",r["&prod"]="8719",r["&sum"]="8721",r["&minus"]="8722",r["&lowast"]="8727",r["&radic"]="8730",r["&prop"]="8733",r["&infin"]="8734",r["&ang"]="8736",r["&and"]="8743",r["&or"]="8744",r["&cap"]="8745",r["&cup"]="8746",r["&int"]="8747",r["&there4"]="8756",r["&sim"]="8764",r["&cong"]="8773",r["&asymp"]="8776",r["&ne"]="8800",r["&equiv"]="8801",r["&le"]="8804",r["&ge"]="8805",r["&sub"]="8834",r["&sup"]="8835",r["&nsub"]="8836",r["&sube"]="8838",r["&supe"]="8839",r["&oplus"]="8853",r["&otimes"]="8855",r["&perp"]="8869",r["&sdot"]="8901",r["&lceil"]="8968",r["&rceil"]="8969",r["&lfloor"]="8970",r["&rfloor"]="8971",r["&lang"]="9001",r["&rang"]="9002",r["&loz"]="9674",r["&spades"]="9824",r["&clubs"]="9827",r["&hearts"]="9829",r["&diams"]="9830",r)"function"!=typeof r[e]&&r.hasOwnProperty(e)&&(o[r[e]]=e);for(t in o)"function"!=typeof o[t]&&o.hasOwnProperty(t)&&(n=o[t].toLowerCase().substr(1),i.put(n,String.fromCharCode(t)));return i}(),YC=function(){LC(t,zC);var e=DC(t);function t(){return CC(this,t),e.apply(this,arguments)}return RC(t,[{key:"decodeCharacter",value:function(e){var t;e.mark();var n=e.next();if(null==n||"&"!==n)return e.reset(),null;var r=e.next();if(null==r)return e.reset(),null;if("#"===r){if(null!=(t=this._getNumericEntity(e)))return t}else if(r.match(/[A-Za-z]/)&&(e.pushback(r),null!=(t=this._getNamedEntity(e))))return t;return e.reset(),null}},{key:"_getNamedEntity",value:function(e){var t,n,r,o="";for(t=Math.min(e.remainder().length,VC.getMaxKeyLength()),r=0;r<t;r++)o+=e.next().toLowerCase();var i=VC.getLongestMatch(o);if(null==i)return null;for(e.reset(),e.next(),t=i.getKey().length,n=0;n<t;n++)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,n="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,16))){if(";"===t){e.next();break}break}n+=t,e.next()}var r=parseInt(n,16);return!Number.isNaN(+r)&&jC(r)?String.fromCharCode(r):null}},{key:"_parseNumber",value:function(e){for(var t,n="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,10))){if(";"===t){e.next();break}break}n+=t,e.next()}var r=parseInt(n,10);return!Number.isNaN(+r)&&jC(r)?String.fromCharCode(r):null}}]),t}(),UC=function(){LC(t,zC);var e=DC(t);function t(){return CC(this,t),e.apply(this,arguments)}return RC(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,n,r,o,i=e.next();if(null==i)return e.reset(),null;if("%"!==i)return e.reset(),null;for(t="",n=0;n<2;n++)null!=(r=e.nextHex())&&(t+=r);return 2===t.length&&(o=parseInt(t,16),jC(o))?String.fromCharCode(o):(e.reset(),null)}}]),t}(),KC=/^data:(?<!\s)\s*(image\/[\w+-.]+)(?<!\s)\s*(;.*?){0,1}(?<!\s)\s*,(.*)/i;"undefined"!=typeof document&&(NC=document.createElement("div"));var XC=Array.prototype.indexOf,JC=[",",".","_"," "],ZC={default:[",",".","-","_"," "]},QC={width:["%"],height:["%"]},ew={default:["-"," ","%"],color:["#"," ","(",")"],image:["(",")",":","/","?","&","-",".",'"',"="," "]},tw={background:["(",")",":","%","/","?","&","-"," ",".",'"',"=","#"],"background-image":ew.image,"background-color":ew.color,"border-color":ew.color,"border-image":ew.image,color:ew.color,icon:ew.image,"list-style-image":ew.image,"outline-color":ew.color},nw={attr_name:["on[a-z]{1,}","style","href","src"],attr_val:["javascript:"],css_key:["behavior","-moz-behavior","-ms-behavior"],css_val:["expression"]};function rw(e,t,n){var r;if(t){if(XC)return XC.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1}function ow(e){if(null==e)return"";var t,n=document.createTextNode(e);return NC.appendChild(n),t=NC.innerHTML,NC.removeChild(n),t}function iw(e,t,n){var r,o,i,a,l,s,u,c,d;if(e=lw(e).toLowerCase(),t=lw(t),rw(e,nw.attr_name)>=0)throw new Error("Unsafe attribute name used: ".concat(e));for(i=0;i<nw.attr_val;i++)if(t.toLowerCase().match(nw.attr_val[i]))throw new Error("Unsafe attribute value used: ".concat(t));if((r=QC[e])||(r=ZC.default),o="",!n){for(a=0;a<e.length;a++){if(!(l=e.charAt(a)).match(/[a-zA-Z\-0-9]/))throw new Error("Invalid attribute name specified");o+=l}o+='="'}for(s=0;s<t.length;s++)u=t.charAt(s),c=t.charCodeAt(s),!u.match(/[a-zA-Z0-9]/)&&rw(u,r)<0?(d=c.toString(16),o+="&#x".concat(d,";")):o+=u;return n||(o+='"'),o}function aw(e,t,n){var r,o,i,a,l,s,u,c,d,p;if(e=lw(e).toLowerCase(),t=lw(t),rw(e,nw.css_key)>=0)throw new Error("Unsafe property name used: ".concat(e));for(r=0;r<nw.css_val.length;r++)if(t.toLowerCase().indexOf(nw.css_val[r])>=0)throw new Error("Unsafe property value used: ".concat(t));if((o=tw[e])||(o=ew.default),i="",!n){for(a=0;a<e.length;a++){if(!(l=e.charAt(a)).match(/[a-zA-Z-]/))throw new Error("Invalid Property Name specified");i+=l}i+=": "}for(s=0;s<t.length;s++)u=t.charAt(s),c=t.charCodeAt(s),!u.match(/[a-zA-Z0-9]/)&&rw(u,o)<0?(d=c.toString(16),p="000000".substr(d.length),i+="\\".concat(p).concat(d)):i+=u;return i}function lw(e,t){var n,r,o,i,a=!1;if(null===e)return null;n=e,r=e,o=0;for(var l=[new YC,new UC,new GC];!a;){r=n;for(var s=0;s<l.length;s++)(i=l[s].decode(n))!==n&&(o++,n=i);r!==n||(a=!0)}if(t&&o>1)throw new Error("Attack Detected - Multiple/Double Encodings used in input");return n}for(var sw=[],uw=0;uw<255;uw++)sw[uw]=uw>=48&&uw<=57||uw>=65&&uw<=90||uw>=97&&uw<=122?null:uw.toString(16);var cw=function(e){return ow(e.unsafe)},dw=function(e){var t,n=[],r=[],o={},i="";for(t in e.map?n=e.map:n[e.name]=e.unsafe,n)"function"!=typeof n[t]&&n.hasOwnProperty(t)&&(r[t]=aw(t,n[t],!0),i+=aw(t,n[t],!0),o[t]=r[t]);return e.map?o:i},pw=function(e){var t=[],n=[],r={},o="";for(var i in e.map?t=e.map:t[e.name]=e.unsafe,t)"function"!=typeof t[i]&&t.hasOwnProperty(i)&&(n[i]=iw(i,t[i],!0),o+=iw(i,t[i],!0),r[i]=n[i]);return e.map?r:o};function fw(e,t){throw new Error(t)}var hw={canonicalize:lw,encode:function(){var e={context:"html",unsafe:null,name:null,map:null,setter:null,strict:!0};return 1===arguments.length&&"object"===EC(arguments[0])?function(){for(var e,t,n,r=arguments[0]||{},o=1,i=arguments.length;o<i;o++)if(null!=(e=arguments[o]))for(t in e)if(e.hasOwnProperty(t)){if(r===(n=e[t]))continue;void 0!==n&&(r[t]=n)}}(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?cw(e):"css"===e.context?(null!=e.map&&"object"!==EC(e.map)&&fw(this,"Invalid parameter type"),dw(e)):"attr"===e.context?(null!=e.map&&"object"!==EC(e.map)&&fw(this,"Invalid parameter type"),pw(e)):void fw(this,"Invalid parameter type")},encodeForAttr:iw,encodeForAttr2:function(e){return iw("nonsens",e,!0)},encodeForCSS:aw,encodeForHref:function(e){lw(e),0!==e.search("[a-zA-Z0-9]+:")&&(e="http://".concat(e));var t=new kC(e),n=kC.encodeAuthorityAndPath(decodeURI(t.authorityAndPath)),r=t.searchParams,o=(e=n+kC.encodeSearchParams(r)+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 n,r,o,i,a,l;for(t||(t=JC),l="",n=0;n<e.length;n++)o=e.charAt(n),i=e.charCodeAt(n),rw(o,t)>=0||null==sw[i]?l+=o:(r=i.toString(16),i<256?(a="00".substr(r.length),l+="\\x".concat(a).concat(r.toUpperCase())):(a="0000".substr(r.length),l+="\\u".concat(a).concat(r.toUpperCase())));return l},encodeForHTML:ow,encodeForURL:function(e,t){var n="";return t&&(t.match(/^[A-Za-z\-0-9]{1,}$/)?n+=lw(t).toLowerCase():fw(this,"Illegal Attribute Name Specified"),n+='="'),n+=encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),n+=t?'"':""},isSafeDataURL:function(e,t){var n=null!=t?t:{},r=n.maxByteSizeSvg,o=void 0===r?5e5:r,i=n.maxByteSizeImage,a=void 0===i?5e6:i,l=function(e){var t,n=PC(null!==(t=KC.exec(e.trim()))&&void 0!==t?t:[],4),r=n[1];return{encoding:n[2],data:n[3],mimeType:null==r?void 0:r.toLocaleLowerCase()}}(e),s=l.mimeType,u=l.encoding,c=l.data;if(!c)return!0;var d=function(e,t,n){var r={type:e};if(null!=t&&t.includes(";base64"))try{return new Blob([atob(n)],r).size}catch(e){return new Blob([n],r).size}return"image/svg+xml"===e?new Blob([n],r).size:0}(s,u,c);return"image/svg+xml"===s?d<=o:d<=a}};const mw=(e,t)=>{var n;const r=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps;return null==r||null===(n=r.qValues)||void 0===n?void 0:n[e]},gw=e=>{switch(e){case"topLeft":default:return{horizontal:"flex-start",vertical:"flex-start"};case"centerLeft":return{horizontal:"center",vertical:"flex-start"};case"bottomLeft":return{horizontal:"flex-end",vertical:"flex-start"};case"topCenter":return{horizontal:"flex-start",vertical:"center"};case"centerCenter":return{horizontal:"center",vertical:"center"};case"bottomCenter":return{horizontal:"flex-end",vertical:"center"};case"topRight":return{horizontal:"flex-start",vertical:"flex-end"};case"centerRight":return{horizontal:"center",vertical:"flex-end"};case"bottomRight":return{horizontal:"flex-end",vertical:"flex-end"}}},bw=({text:e,url:t,imageSize:n,imagePosition:r})=>r&&t&&!t.toLowerCase().includes("javascript:")&&hw.isSafeDataURL(t)?{type:yt.Image,url:t,text:e,imageSize:n,resolvedImagePosition:gw(r)}:{type:yt.Text,url:void 0,text:e},vw=(e,t,n)=>{var r;const o=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps,i=null==o||null===(r=o.qValues)||void 0===r?void 0:r[e];if(i){const e=Number.isNaN(+i.qNum)?void 0:`${i.qNum}`;return i.qText||e}return(null==n?void 0:n.urlPosition)===xt.Attribute||null==n?void 0:n.urlLabel},yw=({text:e,url:t})=>{try{if(!t)throw Error("Invalid url");return{type:yt.Link,url:hw.encodeForHref(t),text:e}}catch(t){return{type:yt.Text,url:void 0,text:e}}},xw=(e,t,n,r)=>{var o,i;const a=St(t);return a!==yt.Image||!r.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")||null!==(o=r.anything.sense)&&void 0!==o&&null!==(i=o.isUnsupportedFeature)&&void 0!==i&&i.call(o,"tableImages")?a===yt.Link&&r.flags.isEnabled("CLIENT_IM_5715_LINKS")?((e,t,n)=>{const{urlPosition:r}=null!=t?t:{};if(r===xt.Attribute){var o;const r=vw(null!==(o=n.url)&&void 0!==o?o:-1,e,t),i=e.qText||r||"";return yw({text:i,url:r})}if(r===xt.Dimension){var i;const r=vw(null!==(i=n.urlLabel)&&void 0!==i?i:-1,e,t)||e.qText;return yw({text:r,url:e.qText})}return{type:yt.Text,url:void 0,text:e.qText}})(e,t,n):{type:yt.Text,url:void 0,text:e.qText}:((e,t,n)=>{const{imageSize:r,imagePosition:o,imageSetting:i,imageLabel:a}=null!=t?t:{};if("url"===i){var l,s;const t=e.qText,i=null===(l=mw(null!==(s=n.imageUrl)&&void 0!==s?s:-1,e))||void 0===l?void 0:l.qText;return bw({text:t,url:i,imageSize:r,imagePosition:o})}if("label"===i){var u,c,d;const t=e.qText;if(-1===n.imageLabel)return bw({text:a||t||"",url:t,imageSize:r,imagePosition:o});const i=null!==(u=null===(c=mw(null!==(d=n.imageLabel)&&void 0!==d?d:-1,e))||void 0===c?void 0:c.qText)&&void 0!==u?u:e.qText;return bw({text:i,url:t,imageSize:r,imagePosition:o})}return{type:yt.Text,url:void 0,text:e.qText}})(e,t,n)},Sw=(e,t)=>{var n,r,o,i;const a=t.qAttrExps,l=null==a||null===(n=a.qValues)||void 0===n||null===(n=n[null!==(r=null==e?void 0:e.cellForegroundColor)&&void 0!==r?r:-1])||void 0===n?void 0:n.qText,s=null==a||null===(o=a.qValues)||void 0===o||null===(o=o[null!==(i=null==e?void 0:e.cellBackgroundColor)&&void 0!==i?i:-1])||void 0===o?void 0:o.qText,u=s?Tb(s):null,c=l?Tb(l):null,d=((e,t)=>e||!t?null:Db(t)?Mg.WHITE:Mg.TEXT)(c,u);return{color:null!=d?d:c,background:u}},Ew=(e,t)=>t.qSubNodes.reduce(((e,t)=>0===t.qSubNodes.length?e+1:Ew(e,t)),e),Cw=(e,t,n,r,o,i)=>{const a=o?i.rowsPerPage-n:Ar-r;let l=e.qUp+e.qDown;if(o&&0===n){const n=(t+e.qUp)%i.rowsPerPage;l=e.qDown+n}return Math.min(a,Ew(l,e))},ww=(e,t)=>{if(e!==KE)return t?{type:yt.Text}:e.representation},Rw=({node:e,parent:t,root:n,x:r,y:o,pageY:i,layoutService:a,dimensionInfo:l,attrExprInfoIndex:s,isLeftColumn:u=!0,isIndentModeEnabled:c=!1,indentLevel:d,env:p,pageInfo:f})=>{const h=(!c||!u)&&e.qType===Ht.NX_DIM_CELL_PSEUDO;let m="";if(u&&e.indentLabel){const{label:t,delimeter:n,suffix:r}=e.indentLabel;m=`${t} ${!r||!t&&r?"":n} ${r}`.trim()}else m=e.qText;const g={id:gC(),ref:e,x:r,y:o,pageX:r,pageY:i,mainAxisPageCoord:u?i:r,isLeftColumn:u,parent:t,root:n,children:[],isLeafNode:0===e.qSubNodes.length,leafCount:Cw(e,o,i,r,u,f),distanceToNextCell:0,isLockedByDimension:!("object"!=typeof l||!l.qLocked),isTotal:e.qType===Ht.NX_DIM_CELL_TOTAL||!(null==t||!t.isTotal),isEmpty:e.qType===Ht.NX_DIM_CELL_EMPTY||-4===e.qElemNo,isNull:e.qType===Ht.NX_DIM_CELL_NULL,isPseudoDimension:h,expressionColor:Sw(s,e),selectionCellType:u?Bt.NX_CELL_LEFT:Bt.NX_CELL_TOP,dimensionInfoIndex:a.getDimensionInfoIndex(l),canBeResized:0===e.qSubNodes.length&&!u,visibleMeasureInfoIndex:h?e.qElemNo:null==t?void 0:t.visibleMeasureInfoIndex,representation:xw({...e,qText:m},ww(l,c),s,p),...void 0!==d&&{indentLevel:d}};return t&&(t.children[g.mainAxisPageCoord-t.mainAxisPageCoord]=g),g},Lw=(e,t,n,r,o,i,a,l)=>{const{isIndentModeEnabled:s}=o;if(!t.length)return e;let u=0;return function t(c,d,p,f=0,h=-1){e[f]||(e[f]={}),s&&h++;const m=o.leftDimensionInfoIndexes.indexOf(KE);p.forEach(((p,g)=>{var b;u+=0===g?0:1;const v=n.qTop-r.page*r.rowsPerPage,y=Math.max(0,v+u-p.qUp),x=n.qTop+u-p.qUp;if(s&&o.hasPseudoDimOnLeft&&h<=m){const e={label:p.qText,suffix:"",delimeter:"-"};if(p.qType===Ht.NX_DIM_CELL_NORMAL||p.qType===Ht.NX_DIM_CELL_NULL||p.qType===Ht.NX_DIM_CELL_TOTAL)h<m&&(e.suffix=`${o.visibleMeasureInfo[0].qFallbackTitle}`),p={...p,indentLabel:e};else if(p.qType===Ht.NX_DIM_CELL_PSEUDO){var S,E,C,w,R;e.label=null!==(S=null===(E=d||c)||void 0===E||null===(E=E.ref)||void 0===E||null===(E=E.indentLabel)||void 0===E?void 0:E.label)&&void 0!==S?S:"",e.suffix=p.qText;const t=p.qSubNodes;p={...null===(C=d||c)||void 0===C?void 0:C.ref,...p.qText?{qText:p.qText}:{},qSubNodes:t,indentLabel:e},h=null!==(w=null===(R=d||c)||void 0===R?void 0:R.indentLevel)&&void 0!==w?w:0}}let L=f;s&&(L=m>=1&&h>=m?h+1:h,0===h&&0===m&&0===p.qSubNodes.length&&(L=0));const A=s&&void 0===(null===(b=e[f][y])||void 0===b?void 0:b.ref.qText)||!e[f][y]?Rw({node:p,parent:d,root:c,x:L,y:x,pageY:y,layoutService:o,dimensionInfo:i[L],attrExprInfoIndex:a[L],isLeftColumn:!0,...s&&{isIndentModeEnabled:s,indentLevel:h},env:l,pageInfo:r}):e[f][y];if(e[f][y]=A,p.qSubNodes.length){const e=s?0:f+1;t(c||A,A,p.qSubNodes,e,h)}}))}(null,null,t,0,-1),e},Aw=(e,t)=>{e.slice(0,-1).forEach((e=>{Object.values(e).forEach(((e,n,r)=>{const o=r[n+1];e.distanceToNextCell=o?o.mainAxisPageCoord-(e.mainAxisPageCoord+e.leafCount):t-(e.mainAxisPageCoord+e.leafCount)}))}))},Iw=(e,t)=>{const n=e[0],r=n?Object.values(n):[],o=null!=t&&t.isIndentModeEnabled&&null!=t&&t.hasPseudoDimOnLeft?t.visibleMeasureInfo.length-1:0,i=null==n?void 0:n[o],a=r.at(-1);return null!=i&&i.isTotal?i.isLeafNode?i.mainAxisPageCoord:i.mainAxisPageCoord+i.leafCount-1:null!=a&&a.isTotal?a.mainAxisPageCoord-1:-1},Mw=({prevData:e,nextDataPage:t,pageInfo:n,layoutService:r,visibleLeftDimensionInfo:o,attrExprInfoIndexes:i,env:a})=>{const{qLeft:l,qArea:s}=t;if(!l.length)return e;const u=Lw(e.grid,l,s,n,r,o,i,a);Aw(u,n.rowsOnCurrentPage);const c=Iw(u,r);return{...e,grid:u,columnCount:u.length,totalDividerIndex:c}},Dw=({qArea:e,prevData:t,pivotValuePoints:n,pageInfo:r})=>{const o=[...t];return n.forEach(((t,n)=>{t.forEach(((t,i)=>{var a;const l=e.qTop-r.page*r.rowsPerPage+n,s=e.qLeft+i;Array.isArray(o[l])||(o[l]=[]);const u=t.qType===Ht.NX_DIM_CELL_NULL;o[l][s]=null!==(a=o[l][s])&&void 0!==a?a:{id:gC(),ref:t,isNull:u}}))})),o},Pw=({prevData:e,dataPage:t,pageInfo:n})=>{const{qData:r,qArea:o}=t;return r.length?Dw({qArea:o,prevData:e,pivotValuePoints:r,pageInfo:n}):e},_w=(e,t,n,r,o,i,a,l,s)=>{if(!t.length)return e;let u=0;!function t(a,c,d,p=0){e[p]||(e[p]={}),d.forEach(((d,f)=>{var h;u+=0===f?0:1;const m=n.qLeft+u-d.qUp,g=null!==(h=e[p][m])&&void 0!==h?h:Rw({node:d,parent:c,root:a,x:m,y:p,pageY:p,layoutService:r,dimensionInfo:o[p],attrExprInfoIndex:i[p],isLeftColumn:!1,...r.isIndentModeEnabled&&{isIndentModeEnabled:r.isIndentModeEnabled},env:l,pageInfo:s});e[p][m]=g,d.qSubNodes.length&&t(a||g,g,d.qSubNodes,p+1)}))}(null,null,t);for(let t=0;t<a-e.length;t++)e.push({});return e},Ow=({prevData:e,nextDataPage:t,layoutService:n,visibleTopDimensionInfo:r,attrExprInfoIndexes:o,headerRows:i,env:a,pageInfo:l})=>{const{qTop:s,qArea:u}=t;if(!s.length)return e;const c=_w(e.grid,s,u,n,r,o,i,a,l);Aw(c,n.size.x);const d=Iw(c);return{...e,grid:c,rowCount:c.length,totalDividerIndex:d}},Tw=e=>-1===e?{}:e.qAttrExprInfo.reduce(((e,{id:t},n)=>(e[t]=n,e)),{}),kw=(e,t,n,r,o)=>{const{env:i}=qE(),[a,l]=A(null),s=((e,t,n)=>L((()=>({left:e.map(Tw),top:t.map(Tw),measures:n.map(Tw)})),[n,e,t]))(r,o,t.visibleMeasureInfo),u=L((()=>SC(t,o,r)),[t,o,r]),c=D((()=>e.slice(1).reduce(((e,t)=>Pw({prevData:e,dataPage:t,pageInfo:n})),((e,t)=>{const{qData:n,qArea:r}=e;return Dw({qArea:r,prevData:[],pivotValuePoints:n,pageInfo:t})})(e[0],n))),[e,n]),d=D((()=>e.slice(1).reduce(((e,r)=>Ow({prevData:e,nextDataPage:r,layoutService:t,visibleTopDimensionInfo:o,attrExprInfoIndexes:s.top,headerRows:u.size.y,env:i,pageInfo:n})),((e,t,n,r,o,i,a)=>{const{qArea:l,qTop:s}=e,u=_w([],s,l,t,n,r,o,i,a);Aw(u,t.size.x);const c=Iw(u);return{grid:u,rowCount:u.length,layoutSize:t.size,totalDividerIndex:c}})(e[0],t,o,s.top,u.size.y,i,n))),[e,t,o,s.top,u.size.y,i,n]),p=D((()=>e.slice(1).reduce(((e,o)=>Mw({prevData:e,nextDataPage:o,pageInfo:n,layoutService:t,visibleLeftDimensionInfo:r,attrExprInfoIndexes:s.left,env:i})),((e,t,n,r,o,i)=>{const{qArea:a,qLeft:l}=e,s=Lw([],l,a,n,t,r,o,i);Aw(s,n.rowsOnCurrentPage);const u=Iw(s,t);return{grid:s,columnCount:s.length,layoutSize:t.size,totalDividerIndex:u}})(e[0],t,n,r,s.left,i))),[e,t,n,r,s,i]),[f,h]=A((()=>c())),[m,g]=A((()=>d())),[b,v]=A((()=>p()));Yb((()=>{h(c())}),[c]),Yb((()=>{g(d())}),[d]),Yb((()=>{v(p())}),[p]),Yb((()=>{a&&a.forEach((e=>{h((t=>Pw({prevData:t,dataPage:e,pageInfo:n}))),g((r=>Ow({prevData:r,nextDataPage:e,layoutService:t,visibleTopDimensionInfo:o,attrExprInfoIndexes:s.top,headerRows:u.size.y,env:i,pageInfo:n}))),v((o=>Mw({prevData:o,nextDataPage:e,pageInfo:n,layoutService:t,visibleLeftDimensionInfo:r,attrExprInfoIndexes:s.left,env:i})))}))}),[a]);const y=D((e=>{l(e)}),[]);return{headersData:u,measureData:f,topDimensionData:m,leftDimensionData:b,attrExprInfoIndexes:s,nextPageHandler:y}},qw=Math.sqrt(1e4),Nw=e=>({maxNumberOfVisibleRows:Math.ceil(e.height/24),maxNumberOfVisibleColumns:Math.ceil(e.width/Ft.PixelsMin)}),Fw=e=>{if(null===e)return[];if(e.qWidth*e.qHeight<1e4)return[e];const t=[],n=Math.ceil(e.qWidth/qw),r=Math.ceil(e.qHeight/qw);for(let o=0;o<n;o++)for(let n=0;n<r;n++)t.push({qLeft:e.qLeft+o*qw,qTop:e.qTop+n*qw,qWidth:Math.min(qw,e.qWidth-o*qw),qHeight:Math.min(qw,e.qHeight-n*qw)});return t};function zw({model:e,nextPageHandler:t,pageInfo:n,layoutService:r}){const o=(e=>{const t=I(e);return t.current=e,t})(n.page),i=e,a=D((async(e,t)=>{var n;await(null==i||null===(n=i.collapseLeft)||void 0===n?void 0:n.call(i,UE,e,t,!1))}),[i]),l=D((async(e,t)=>{await(null==i?void 0:i.collapseTop(UE,e,t,!1))}),[i]),s=D((async(e,t)=>{await(null==i?void 0:i.expandLeft(UE,e,t,!1))}),[i]),u=D((async(e,t)=>{await(null==i?void 0:i.expandTop(UE,e,t,!1))}),[i]),c=D((async e=>{if(null!=i&&i.getHyperCubePivotData&&0!==e.length)try{const r=await i.getHyperCubePivotData(UE,e.reduce(((e,t)=>[...e,...Fw(t)]),[]));o.current===n.page&&t(r)}catch(e){console.error(e)}}),[i,t,n,o]),d=D(((t,{dimensionInfoIndex:n,isLeftColumn:o,x:i=0,columnWidthLocation:a})=>{const{qMeasureInfo:l,qDimensionInfo:s,topHeadersColumnWidth:u}=r.layout.qHyperCube;let c=[];switch(a){case It.Dimension:c=[{qPath:`${UE}/qDimensions/${n}/qDef/columnWidth`,oldValue:s[n].columnWidth}];break;case It.Measures:if(o)c=l.map(((e,t)=>({qPath:`${UE}/qMeasures/${t}/qDef/columnWidth`,oldValue:e.columnWidth})));else{const e=r.getMeasureInfoIndexFromCellIndex(i);c=[{qPath:`${UE}/qMeasures/${e}/qDef/columnWidth`,oldValue:l[e].columnWidth}]}break;case It.Pivot:c=[{qPath:`${UE}/topHeadersColumnWidth`,oldValue:u}]}const d=c.map((e=>{const{qPath:n,oldValue:r}=e;return{qPath:n,qOp:r?"Replace":"Add",qValue:JSON.stringify({...r,...t})}}));null==e||e.applyPatches(d,!0)}),[e,r]),p=D((async e=>{var t;await(null==i?void 0:i.applyPatches([{qPath:`${UE}/indentModeColumnWidth`,qOp:null!==(t=r.layout.qHyperCube)&&void 0!==t&&t.indentModeColumnWidth?"Replace":"Add",qValue:JSON.stringify({...r.indentModeColumnWidth,...e})}],!0))}),[i,r]);return L((()=>({collapseLeft:a,collapseTop:l,expandLeft:s,expandTop:u,applyColumnWidth:d,applyIndentModeColumnWidth:p,fetchPages:c})),[a,l,s,u,d,p,c])}const jw=(e,t)=>e>t?Pt.Forward:e<t?Pt.Backward:Pt.None,$w=(e,t,n)=>(r,o)=>{if(r===Ht.NX_DIM_CELL_PSEUDO)return KE;const i=t[n+o];return e[i]},Gw=e=>{const t=[],n=(e,r=0)=>{e.slice(0,1).forEach((e=>{t[r]=e.qType,e.qSubNodes.length&&n(e.qSubNodes,r+1)}))};return n(e),t},Bw=({width:e,height:t,children:n,isLeftGrid:r})=>cc.jsx("div",{"data-testid":"full-size-container",style:{display:"block",width:r?"fit-content":e,height:t+Mr},children:n}),Hw=e=>`scrollable-container--${e}`,Ww=(e,t)=>{const{width:n,height:r,children:o,onScroll:i,style:a,showVerticalScrollbar:l,showHorizontalScrollbar:s,origin:u}=e,{interactions:c}=qE();return cc.jsx("div",{ref:t,"data-key":Hw(u),style:{width:n,height:r,overscrollBehaviorX:"contain",overflowX:c.active&&s?"auto":"hidden",overflowY:c.active&&l?"auto":"hidden",...a},onScroll:i,children:o})};var Vw=x.forwardRef(Ww);const Yw=({width:e,height:t,children:n,style:r,isLeftGrid:o})=>cc.jsx("div",{"data-testid":"sticky-container",style:{position:"sticky",top:0,left:0,width:o?"fit-content":e,height:t,...r},children:n});function Uw(){return Uw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uw.apply(this,arguments)}function Kw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xw(e,t){return Xw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xw(e,t)}function Jw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xw(e,t)}var Zw=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Qw(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||Zw(r)&&Zw(o)))return!1;var r,o;return!0}function eR(e,t){var n;void 0===t&&(t=Qw);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}function tR(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var nR="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function rR(e){cancelAnimationFrame(e.id)}function oR(e,t){var n=nR();var r={id:requestAnimationFrame((function o(){nR()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var iR=-1;function aR(e){if(void 0===e&&(e=!1),-1===iR||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),iR=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return iR}var lR=null;function sR(e){if(void 0===e&&(e=!1),null===lR||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?lR="positive-descending":(t.scrollLeft=1,lR=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),lR}return lR}var uR=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function cR(e){var t,n=e.getColumnOffset,r=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,l=e.getEstimatedTotalWidth,s=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 r;return(r=e.call(this,t)||this)._instanceProps=h(r.props,Kw(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:Kw(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=eR((function(e,t,n,o,i,a,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=eR((function(e,t,n,o,i){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,a=r.props,l=a.columnWidth,s=a.direction,u=a.rowHeight,p=r._getItemStyleCache(m&&l,m&&s,m&&u),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=n(r.props,t,r._instanceProps),g="rtl"===s;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(r.props,e,r._instanceProps),height:c(r.props,e,r._instanceProps),width:i(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=eR((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=r.props.direction,u=i;if("rtl"===t)switch(sR()){case"negative":u=-i;break;case"positive-descending":u=s-o-i}u=Math.max(0,Math.min(u,s-o));var c=Math.max(0,Math.min(a,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:u,scrollTop:c,verticalScrollDirection:e.scrollTop<a?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&rR(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=oR(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}Jw(t,e),t.getDerivedStateFromProps=function(e,t){return dR(e,t),g(e),null};var b=t.prototype;return b.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},b.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=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=aR();void 0!==r&&(r=Math.max(0,Math.min(r,c-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var v=a(this.props,this._instanceProps),y=l(this.props,this._instanceProps)>f?b:0,x=v>d?b:0;this.scrollTo({scrollLeft:void 0!==r?s(this.props,r,n,m,this._instanceProps,x):m,scrollTop:void 0!==o?u(this.props,o,n,g,this._instanceProps,y):g})},b.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(sR()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&rR(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,n=e.className,r=e.columnCount,o=e.direction,i=e.height,s=e.innerRef,u=e.innerElementType,c=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?uR: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],R=this._getVerticalRangeToRender(),L=R[0],A=R[1],I=[];if(r>0&&g)for(var M=L;M<=A;M++)for(var D=C;D<=w;D++)I.push(E(t,{columnIndex:D,data:d,isScrolling:v?x:void 0,key:f({columnIndex:D,data:d,rowIndex:M}),rowIndex:M,style:this._getItemStyle(M,D)}));var P=a(this.props,this._instanceProps),_=l(this.props,this._instanceProps);return E(h||m||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:Uw({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},E(u||c||"div",{children:I,ref:s,style:{height:P,pointerEvents:x?"none":void 0,width:_}}))},b._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],l=i[1],s=i[2],u=i[3],c=this._getVerticalRangeToRender(),d=c[0],p=c[1],f=c[2],h=c[3];this._callOnItemsRendered(a,l,d,p,s,u,f,h)}if("function"==typeof r){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,n=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,l=e.rowCount,s=this.state,u=s.horizontalScrollDirection,c=s.isScrolling,d=s.scrollLeft,p=n||i||a||1;if(0===t||0===l)return[0,0,0,0];var f=r(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,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,l=a.isScrolling,s=a.verticalScrollDirection,u=a.scrollTop,c=r||o||n||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=l&&"backward"!==s?1:Math.max(1,c),g=l&&"forward"!==s?1:Math.max(1,c);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(k),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var dR=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},pR=function(e,t){var n=e.rowCount,r=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},fR=function(e,t){var n=e.columnCount,r=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},hR=function(e,t,n,r){var o,i,a;if("column"===e?(o=r.columnMetadataMap,i=t.columnWidth,a=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=t.rowHeight,a=r.lastMeasuredRowIndex),n>a){var l=0;if(a>=0){var s=o[a];l=s.offset+s.size}for(var u=a+1;u<=n;u++){var c=i(u);o[u]={offset:l,size:c},l+=c}"column"===e?r.lastMeasuredColumnIndex=n:r.lastMeasuredRowIndex=n}return o[n]},mR=function(e,t,n,r){var o,i;return"column"===e?(o=n.columnMetadataMap,i=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=n.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=r?gR(e,t,n,i,0,r):bR(e,t,n,Math.max(0,i),r)},gR=function(e,t,n,r,o,i){for(;o<=r;){var a=o+Math.floor((r-o)/2),l=hR(e,t,a,n).offset;if(l===i)return a;l<i?o=a+1:l>i&&(r=a-1)}return o>0?o-1:0},bR=function(e,t,n,r,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;r<i&&hR(e,t,r,n).offset<o;)r+=a,a*=2;return gR(e,t,n,Math.min(r,i-1),Math.floor(r/2),o)},vR=function(e,t,n,r,o,i,a){var l="column"===e?t.width:t.height,s=hR(e,t,n,i),u="column"===e?fR(t,i):pR(t,i),c=Math.max(0,Math.min(u-l,s.offset)),d=Math.max(0,s.offset-l+a+s.size);switch("smart"===r&&(r=o>=d-l&&o<=c+l?"auto":"center"),r){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}},yR=cR({getColumnOffset:function(e,t,n){return hR("column",e,t,n).offset},getColumnStartIndexForOffset:function(e,t,n){return mR("column",e,n,t)},getColumnStopIndexForStartIndex:function(e,t,n,r){for(var o=e.columnCount,i=e.width,a=hR("column",e,t,r),l=n+i,s=a.offset+a.size,u=t;u<o-1&&s<l;)u++,s+=hR("column",e,u,r).size;return u},getColumnWidth:function(e,t,n){return n.columnMetadataMap[t].size},getEstimatedTotalHeight:pR,getEstimatedTotalWidth:fR,getOffsetForColumnAndAlignment:function(e,t,n,r,o,i){return vR("column",e,t,n,r,o,i)},getOffsetForRowAndAlignment:function(e,t,n,r,o,i){return vR("row",e,t,n,r,o,i)},getRowOffset:function(e,t,n){return hR("row",e,t,n).offset},getRowHeight:function(e,t,n){return n.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,n){return mR("row",e,n,t)},getRowStopIndexForStartIndex:function(e,t,n,r){for(var o=e.rowCount,i=e.height,a=hR("row",e,t,r),l=n+i,s=a.offset+a.size,u=t;u<o-1&&s<l;)u++,s+=hR("row",e,u,r).size;return u},initInstanceProps:function(e,t){var n=e,r={columnMetadataMap:{},estimatedColumnWidth:n.estimatedColumnWidth||50,estimatedRowHeight:n.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,n){void 0===n&&(n=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:n})},t.resetAfterRowIndex=function(e,n){void 0===n&&(n=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:n})},t.resetAfterIndices=function(e){var n=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof n&&(r.lastMeasuredColumnIndex=Math.min(r.lastMeasuredColumnIndex,n-1)),"number"==typeof o&&(r.lastMeasuredRowIndex=Math.min(r.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),xR=function(e,t){return e};function SR(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,c=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,Kw(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Kw(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=eR((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=eR((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,i=r.props,a=i.direction,l=i.itemSize,s=i.layout,c=r._getItemStyleCache(u&&l,u&&s,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===a||"horizontal"===s,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},r._getItemStyleCache=void 0,r._getItemStyleCache=eR((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,a=o;if("rtl"===t)switch(sR()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;r.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&rR(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=oR(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}Jw(t,e),t.getDerivedStateFromProps=function(e,t){return ER(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 n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?aR():0:s.scrollHeight>s.clientHeight?aR():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(sR()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&rR(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,i=e.height,a=e.innerRef,l=e.innerElementType,s=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?xR: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],R=C[1],L=[];if(u>0)for(var A=w;A<=R;A++)L.push(E(t,{data:c,key:p(A,c),index:A,isScrolling:b?y:void 0,style:this._getItemStyle(A)}));var I=r(this.props,this._instanceProps);return E(h||m||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:Uw({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},E(l||s||"div",{children:L,ref:a,style:{height:x?"100%":I,pointerEvents:y?"none":void 0,width:x?I:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,s,this._instanceProps),c=l(this.props,u,s,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,n),p=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},t}(k),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var ER=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},CR=function(e,t,n){var r=e.itemSize,o=n.itemMetadataMap,i=n.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var l=o[i];a=l.offset+l.size}for(var s=i+1;s<=t;s++){var u=r(s);o[s]={offset:a,size:u},a+=u}n.lastMeasuredIndex=t}return o[t]},wR=function(e,t,n,r,o){for(;r<=n;){var i=r+Math.floor((n-r)/2),a=CR(e,i,t).offset;if(a===o)return i;a<o?r=i+1:a>o&&(n=i-1)}return r>0?r-1:0},RR=function(e,t,n,r){for(var o=e.itemCount,i=1;n<o&&CR(e,n,t).offset<r;)n+=i,i*=2;return wR(e,t,Math.min(n,o-1),Math.floor(n/2),r)},LR=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},AR=SR({getItemOffset:function(e,t,n){return CR(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:LR,getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,l=e.height,s=e.layout,u=e.width,c="horizontal"===a||"horizontal"===s?u:l,d=CR(e,t,o),p=LR(e,o),f=Math.max(0,Math.min(p-c,d.offset)),h=Math.max(0,d.offset-c+d.size+i);switch("smart"===n&&(n=r>=h-c&&r<=f+c?"auto":"center"),n){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);default:return r>=h&&r<=f?r:r<h?h:f}},getStartIndexForOffset:function(e,t,n){return function(e,t,n){var r=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?r[o].offset:0)>=n?wR(e,t,o,0,n):RR(e,t,Math.max(0,o),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var o=e.direction,i=e.height,a=e.itemCount,l=e.layout,s=e.width,u="horizontal"===o||"horizontal"===l?s:i,c=CR(e,t,r),d=n+u,p=c.offset+c.size,f=t;f<a-1&&p<d;)f++,p+=CR(e,f,r).size;return f},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}});function IR(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var MR=["style"],DR=["style"];function PR(e,t){var n=e.style,r=tR(e,MR),o=t.style,i=tR(t,DR);return!IR(n,o)&&!IR(r,i)}const _R=(e,t,n=!1)=>void 0!==e&&(e.isLeafNode||n&&e.isLeftColumn?e.mainAxisPageCoord===t:e.mainAxisPageCoord+e.leafCount-1===t),OR=10,TR=(e,t)=>e.current===Pt.Backward?t:0,kR=(e,t,n,r)=>{for(let o=n;o<n+r;o++){const n=e[o];if(void 0===n||void 0===n[t])return!0}return!1},qR=(e,t)=>e.qLeft+e.qWidth===t.qLeft&&e.qTop===t.qTop&&e.qHeight===t.qHeight,NR=({pageInfo:e,measureData:t,pageTop:n,qHeight:r,startLeft:o,endLeft:i})=>{const a=[],l=e.page*e.rowsPerPage;for(let e=o;e<i;e++)if(kR(t,e,n,r)){const t=a[a.length-1],o={qLeft:e,qTop:n+l,qWidth:1,qHeight:r};void 0!==t&&qR(t,o)?t.qWidth+=o.qWidth:a.push(o)}return a},FR=({pageInfo:e,measureData:t,scrollDirection:n,viewService:r,minBufferStartLeft:o,minBufferEndLeft:i,columnEndIndex:a})=>{const{gridRowStartIndex:l,gridHeight:s}=r,u=n.current===Pt.Backward?Math.max(0,o-25):i,c=Math.min(u+25,a);return NR({pageInfo:e,measureData:t,startLeft:u,endLeft:c,pageTop:l,qHeight:s})},zR=({pageInfo:e,measureData:t,scrollDirection:n,layoutService:r,viewService:o})=>{const{startLeft:i,endLeft:a,pageTop:l,qHeight:s}=((e,t,n)=>{const{gridColumnStartIndex:r,gridRowStartIndex:o,gridWidth:i,gridHeight:a}=t,l=e.size.x,s=TR(n,OR),u=Math.max(r-s,0);return{startLeft:u,endLeft:u+Math.min(i+OR,l-u),pageTop:o,qHeight:a}})(r,o,n),u=NR({pageInfo:e,measureData:t,startLeft:i,endLeft:a,pageTop:l,qHeight:s});return u.length>0?[...u,...FR({pageInfo:e,measureData:t,scrollDirection:n,viewService:o,minBufferStartLeft:i,minBufferEndLeft:a,columnEndIndex:r.size.x})]:u},jR=(e,t,n,r)=>{const o=e[n];if(void 0===o)return!0;for(let e=t;e<t+r;e++){if(void 0===o[e])return!0}return!1},$R=(e,t)=>e.qTop+e.qHeight===t.qTop&&e.qLeft===t.qLeft&&e.qWidth===t.qWidth,GR=({startTop:e,endTop:t,qLeft:n,qWidth:r,measureData:o,pageInfo:i})=>{const a=[],l=i.page*i.rowsPerPage;for(let i=e;i<t;i++)if(jR(o,n,i,r)){const e=a.at(-1),t={qLeft:n,qTop:i+l,qWidth:r,qHeight:1};void 0!==e&&$R(e,t)?e.qHeight+=t.qHeight:a.push(t)}return a},BR=({pageInfo:e,measureData:t,scrollDirection:n,viewService:r})=>{const{startTop:o,endTop:i,qLeft:a,qWidth:l}=((e,t,n)=>{const{gridColumnStartIndex:r,gridRowStartIndex:o,gridWidth:i,gridHeight:a}=t,l=TR(n,OR),s=Math.max(o-l,0);return{startTop:s,endTop:s+Math.min(a+OR,e.rowsOnCurrentPage-s),qLeft:r,qWidth:i}})(e,r,n),s=GR({startTop:o,endTop:i,qLeft:a,qWidth:l,measureData:t,pageInfo:e});if(s.length>0){const r=n.current===Pt.Backward?Math.max(0,o-25):i,u=Math.min(r+25,e.rowsOnCurrentPage),c=GR({startTop:r,endTop:u,qLeft:a,qWidth:l,measureData:t,pageInfo:e});return[...s,...c]}return s},HR=async(e,t,n,r,o,i,a,l)=>{const{gridColumnStartIndex:s,gridRowStartIndex:u,gridWidth:c,gridHeight:d}=o;let p=[],f=[];i.current!==Pt.None&&(p=BR({pageInfo:r,measureData:n,scrollDirection:i,viewService:o})),a.current!==Pt.None&&(f=zR({pageInfo:r,measureData:n,scrollDirection:a,layoutService:t,viewService:o})),i.current===Pt.None&&a.current===Pt.None&&(p=GR({measureData:n,pageInfo:r,qLeft:s,qWidth:c,startTop:u,endTop:u+d}));const h=e.fetchPages([...p,...f]);l.isDownloadedAsPDForImage&&l.waitForPromise(h)},WR=function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,i=0;return function(){t=this;for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];n=l;var u=Date.now()-i,c=function(){i=Date.now(),r=0,e.apply(t,n)};r||(u>=o?c():r=setTimeout(c,o-u))}}(HR,100),VR=nt(HR,75),YR=({style:e,index:t,isLastRow:n,isLastColumn:r,showLastBorder:o,isLeftColumn:i,showTotalCellDivider:a})=>{const{grid:{border:l,divider:s}}=jE();return cc.jsx("div",{style:{...e,...Tr,...Fr(n,r,l,o),...jr({bottomDivider:a&&i,rightDivider:a&&!i,borderColor:s})},"data-testid":"empty-cell","data-index":t})},UR=({children:e,verticalAlign:t,width:n,right:r})=>cc.jsx("div",{"data-key":"sticky-cell-container",style:{display:"flex",overflow:"hidden",flexDirection:"row",alignItems:t,width:n,maxWidth:"100%",maxHeight:"100%",position:"sticky",left:4,top:0,bottom:0,right:r,alignSelf:t},children:e}),KR=e=>{const{type:t,imageSize:n}=e;return t!==yt.Image||"fill"!==n&&"fitWidth"!==n?"fit-content":"100%"},XR=()=>{let e;return{promise:new Promise((t=>{e=t})),resolve:e}};function JR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ZR=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){JR(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function QR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eL=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){QR(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"})))),tL=e=>{var t;return null===(t=e.target)||void 0===t||null===(t=t.getAttribute("class"))||void 0===t?void 0:t.includes(qt)};function nL(e,t){const n=e.isActive(),[r,o]=A(new Map),[i,a]=A(null);P((()=>{const n=()=>{a(null),o(new Map)},r=()=>{n(),t({page:0})};return e.on("deactivated",n),e.on("canceled",n),e.on("confirmed",r),e.on("cleared",n),()=>{e.removeListener("deactivated",n),e.removeListener("canceled",n),e.removeListener("confirmed",r),e.removeListener("cleared",n)}}),[e,t]);const l=D((e=>0!==r.size&&null!==i&&(e.selectionCellType!==i.selectionCellType||(e.selectionCellType===Bt.NX_CELL_LEFT?i.coord!==e.x:i.coord!==e.y))),[r,i]),s=D((t=>async n=>{if(tL(n))return;if(e.isActive()||await e.begin([UE]),l(t))return;const{nextSelectedPivotCells:s,nextSelectedField:u}=((e,t,n)=>{const r=new Map(t);return r.has(e.ref.qElemNo)?(r.delete(e.ref.qElemNo),{nextSelectedPivotCells:r,nextSelectedField:0===r.size?null:n}):(r.set(e.ref.qElemNo,e),{nextSelectedPivotCells:r,nextSelectedField:{selectionCellType:e.selectionCellType,coord:e.selectionCellType===Bt.NX_CELL_LEFT?e.x:e.y}})})(t,r,i);try{await e.select({method:"selectPivotCells",params:[UE,Array.from(s,(([,e])=>({qType:e.selectionCellType,qRow:e.y,qCol:e.x})))]}),o(s),a(u)}catch(e){console.error(e)}}),[e,l,r,i]),u=D((e=>n&&!l(e)&&r.has(e.ref.qElemNo)),[r,l,n]);return L((()=>({select:s,isSelected:u,isActive:n,isLocked:l})),[s,u,n,l])}const rL=_({select:()=>()=>Promise.resolve(),isSelected:()=>!1,isActive:!1,isLocked:()=>!1}),oL=()=>S(rL),iL=({children:e,selections:t,updatePageInfo:n})=>{const r=nL(t,n);return cc.jsx(rL.Provider,{value:r,children:e})};var aL;!function(e){e.Background="background",e.Color="color",e.FontWeight="fontWeight",e.FontStyle="fontStyle",e.TextDecoration="textDecoration"}(aL||(aL={}));const lL={brighter:.5,darker:.3,opacity:.03},sL=(e,{cell:t,styleService:n})=>{if(e===aL.Background||e===aL.Color){const n=t.expressionColor[e];if(n)return n}return t.isNull?n.nullValues[e]:t.isPseudoDimension?n.measureLabels[e]:t.isTotal?n.totalValues[e]:n.dimensionValues[e]},uL=({styleService:e,isCellSelected:t,cell:n,isCellLocked:r})=>{if(t)return"#0aaf54";const o=sL(aL.Background,{cell:n,styleService:e});return!r||!o||n.isPseudoDimension||n.isEmpty||n.isNull||n.isTotal?sL(aL.Background,{cell:n,styleService:e}):`repeating-linear-gradient(\n -45deg,\n ${Mb(i=o,lL)} 0px 2px,\n ${i} 0px 4px\n ) border-box`;var i},cL=({cell:e,styleService:t,isCellSelected:n})=>n?"white":sL(aL.Color,{cell:e,styleService:t}),dL=({cell:e,styleService:t})=>{const{qCanCollapse:n,qCanExpand:r}=e.ref,o=sL(aL.FontWeight,{cell:e,styleService:t});return void 0===o&&(r||n)?Lr:o},pL=({cell:e,styleService:t})=>sL(aL.FontStyle,{cell:e,styleService:t}),fL=({cell:e,styleService:t})=>sL(aL.TextDecoration,{cell:e,styleService:t}),hL=e=>e?"pointer":"default",mL=({expandOrCollapse:e,cell:t})=>n=>{null==e||e(t.y,t.x),n.stopPropagation()},gL=(e,t)=>{if(!e.isLeftColumn||e.representation.type===yt.Image)return{padding:4};return{padding:4,marginTop:t.dimensionValueTextHeight/2-6.5-4}},bL=({cell:e,dataModel:t,isLeftColumn:n,isCellSelected:r})=>{const o=jE(),{interactions:i}=qE(),{isActive:a}=oL();if(!e.ref.qCanExpand&&!e.ref.qCanCollapse)return null;const l=!i.active||a||!t,s=cL({cell:e,styleService:o,isCellSelected:r}),u=a?.4:1,c=e.ref.qCanExpand?eL:ZR;let d;return d=e.ref.qCanExpand?n?null==t?void 0:t.expandLeft:null==t?void 0:t.expandTop:n?null==t?void 0:t.collapseLeft:null==t?void 0:t.collapseTop,cc.jsx(c,{opacity:u,color:s,"data-testid":e.ref.qCanExpand?"expand-icon":"collapse-icon",height:13,style:{flexShrink:0,cursor:l?"default":"pointer",...gL(e,o)},onClick:l?void 0:mL({cell:e,expandOrCollapse:d})})},vL=e=>{switch(e){case"fitHeight":case"fill":case"alwaysFit":return"100%";case"originalSize":return"fit-content";default:return"auto"}},yL=e=>{switch(e){case"fitHeight":return"auto";case"originalSize":return"fit-content";default:return"100%"}},xL=({representation:e,styleService:t,canExpandOrCollapse:n,leafCount:r,isLeftColumn:o})=>{const i=`calc(100% - ${n?21:0}px)`,a=o?t.contentCellHeight:t.headerCellHeight,l=o&&void 0!==r?a*Math.max(r,1):a;switch(e.imageSize){case"originalSize":return{maxWidth:i,maxHeight:l};case"fitWidth":return{width:i,maxHeight:l};case"fitHeight":return{height:l,maxWidth:i};case"fill":return{height:l,width:i};default:return{width:i,height:a}}},SL=(e,t)=>{if("alwaysFit"===e)switch(null==t?void 0:t.vertical){case"flex-start":return"center top";case"flex-end":return"center bottom";default:return"center center"}},EL=e=>{if("alwaysFit"===e)return"contain"},CL=({representation:e,styleService:t,textStyle:n,canExpandOrCollapse:r,leafCount:o,isLeftColumn:i})=>{const{imageRef:a,onLoad:l}=(()=>{const{downloadService:e}=qE(),t=I(null),{promise:n,resolve:r}=L((()=>XR()),[]);return P((()=>{var o;return e.isDownloadedAsPDForImage&&(e.waitForPromise(n),null!==(o=t.current)&&void 0!==o&&o.complete&&r()),()=>r()}),[t,e,n,r]),{onLoad:D((()=>{r()}),[r]),imageRef:t}})(),{url:s,text:u,imageSize:c,resolvedImagePosition:d}=e,{overflow:p,...f}=n;return cc.jsx("div",{"data-key":"image-container",style:{display:"flex",flexDirection:"column",justifyContent:null==d?void 0:d.vertical,overflow:"hidden",boxSizing:"border-box",border:"4px solid transparent",...xL({representation:e,styleService:t,canExpandOrCollapse:r,leafCount:o,isLeftColumn:i})},children:cc.jsx("img",{src:s,alt:u,style:{width:yL(c),height:vL(c),objectFit:EL(c),objectPosition:SL(c,d),...f},onLoad:l,ref:a})})},wL=(e,t,n)=>{if(!n.isEnabled("CLIENT_IM_5863_PVT_TEXT_ALIGN")||null!=e&&e.auto)return t;switch(null==e?void 0:e.align){case"center":return"center";case"left":return"flex-start";case"right":return"flex-end";default:return t}},RL={display:"flex",flexDirection:"row",alignItems:"center"},LL={alignItems:"center",display:"flex",flexDirection:"row",backgroundClip:"padding-box"},AL=(e,t,n,r)=>t?{...LL,...e.nullValues}:n?{...RL,color:e.totalValues.color,background:null!=r?r:e.totalValues.background}:{...RL,color:e.measureValues.color,background:null!=r?r:e.measureValues.background},IL=(e,t,n,r,o)=>{const{fontFamily:i,fontSize:a}=e.measureValues,l={...kr,...!n&&qr(e.grid.lineClamp),...t&&{color:t},fontFamily:i,fontSize:a};if(o){const{fontWeight:t,fontStyle:n,textDecoration:r}=e.nullValues;return{...l,fontWeight:t,fontStyle:n,textDecoration:r}}if(r){const{fontWeight:t,fontStyle:n,textDecoration:r}=e.totalValues;return{...l,fontWeight:t,fontStyle:n,textDecoration:r}}const{fontWeight:s,fontStyle:u,textDecoration:c}=e.measureValues;return{...l,fontWeight:void 0===s?Lr:s,fontStyle:u,textDecoration:c}},ML=(e,t,n,r,o)=>{const{textAlign:i}=t,a=r?"flex-end":"center";var l,s;return e.isNull||n.type!==yt.Image?wL(i,a,o):null!==(l=null===(s=n.resolvedImagePosition)||void 0===s?void 0:s.horizontal)&&void 0!==l?l:"center"},DL=({cell:e,layoutService:t,styleService:n,representation:r,color:o,isNumeric:i,isTotalValueCell:a})=>{const l=e.isNull?t.getNullValueText():r.text,s=IL(n,o,i,a,e.isNull);return r.type!==yt.Image||e.isNull?cc.jsx("span",{style:{padding:4,...s},children:l}):cc.jsx(CL,{representation:r,styleService:n,textStyle:s,isLeftColumn:!0})},PL=(e,t)=>{var n,r;return null!==(n=null==e||null===(r=e[t])||void 0===r?void 0:r.visibleMeasureInfoIndex)&&void 0!==n?n:0},_L="flex-start",OL=(e,t)=>{return e.isNull?_L:t.type===yt.Image&&"fill"!==t.imageSize?null===(n=t.resolvedImagePosition)||void 0===n?void 0:n.vertical:_L;var n},TL=({columnIndex:e,rowIndex:t,style:n,data:r})=>{var o;const i=jE(),{env:a}=qE(),{background:l}=i.measureValues,{grid:s,layoutService:u,showLastBorder:c,shouldShowTotalCellBottomDivider:d,shouldShowTotalCellRightDivider:p,isTotalValue:f,pageInfo:h,lastRow:m,lastColumn:g,attrExprInfoIndexes:b}=r,v=null===(o=s[t])||void 0===o?void 0:o[e],y=t===h.rowsOnCurrentPage-1,x=e===u.size.x-1;if(!v)return cc.jsx(YR,{style:{...n,background:l},isLastRow:y,isLastColumn:x,showLastBorder:c,index:t,isLeftColumn:!1,showTotalCellDivider:!1});const S=u.hasPseudoDimOnLeft?PL(g,t):PL(m,e),E=u.visibleMeasureInfo[S],C=xw(v.ref,u.isIndentModeEnabled?{type:yt.Text}:E.representation,b[S],a),w=!v.isNull&&f(e,t),R=v.isNull?u.getNullValueText():C.text,L=!v.isNull||!Number.isNaN(+R),A=Sw(b[S],v.ref),I={...AL(i,v.isNull,w,A.background),...Fr(y,x,i.grid.border,c),...jr({bottomDivider:d(t),rightDivider:p(e),borderColor:i.grid.divider}),...Tr,padding:"0px 4px",display:"flex",justifyContent:ML(v,E,C,L,a.flags)};return cc.jsx("div",{className:Tt,title:R,style:{...I,...n},"data-testid":"measure-value","data-row-index":t,"data-col-index":e,children:cc.jsx(UR,{width:KR(C),verticalAlign:OL(v,C),children:cc.jsx(DL,{cell:v,layoutService:u,styleService:i,representation:C,isNumeric:L,isTotalValueCell:w,color:A.color})})})};var kL=x.memo(TL,PR);const qL=(e,t)=>{var n,r;return null!==(n=null===(r=t.list[e])||void 0===r?void 0:r.id)&&void 0!==n?n:e.toString()},NL=({columnIndex:e,rowIndex:t,data:n})=>{var r,o;return null!==(r=null===(o=n.grid[t])||void 0===o||null===(o=o[e])||void 0===o?void 0:o.id)&&void 0!==r?r:`${t}-${e}`},FL={...Or,overflow:"hidden",boxSizing:"content-box",borderWidth:"1px 0px 0px 1px"},zL=({dataModel:e,dataGridRef:t,height:n,rowHightCallback:r,width:o,viewService:i,layoutService:a,measureData:l,leftDimensionData:s,topDimensionData:u,visibleTopDimensionInfo:c,visibleLeftDimensionInfo:d,attrExprInfoIndexes:p,showLastBorder:f,getRightGridColumnWidth:h,pageInfo:m,verticalScrollDirection:g,horizontalScrollDirection:b})=>{const{grid:{divider:v},contentCellHeight:y}=jE(),x={...FL,borderColor:v,willChange:"auto",userSelect:"none",WebkitUserSelect:"none"},S=((e,t,n=!1)=>D((r=>{var o;const i=n?0:t-1,a=null===(o=e.grid.at(i))||void 0===o?void 0:o[r];return _R(a,e.totalDividerIndex,n)}),[e,n,t]))(s,d.length,a.isIndentModeEnabled),E=((e,t)=>D((n=>{var r;const o=null===(r=e.grid.at(t-1))||void 0===r?void 0:r[n];return _R(o,e.totalDividerIndex)}),[e,t]))(u,c.length),C=((e,t,n,r,o)=>D(((i,a)=>{var l,s;return!!(null!==(l=t.grid.at(r-1))&&void 0!==l&&null!==(l=l[i])&&void 0!==l&&l.isTotal||null!==(s=e.grid.at(o?0:n-1))&&void 0!==s&&null!==(s=s[a])&&void 0!==s&&s.isTotal)}),[t,e,n,r,o]))(s,u,d.length,c.length,a.isIndentModeEnabled),w=(({viewService:e,dataModel:t,measureData:n,layoutService:r,pageInfo:o,leftColumnCount:i,topRowCount:a,verticalScrollDirection:l,horizontalScrollDirection:s})=>{const{downloadService:u}=qE();return D((async({overscanColumnStartIndex:c,overscanColumnStopIndex:d,overscanRowStartIndex:p,overscanRowStopIndex:f})=>{e.gridColumnStartIndex=c,e.gridRowStartIndex=p,e.gridWidth=d-c+1,e.gridHeight=f-p+1;const h=e.gridWidth+i+(s.current===Pt.None?0:OR),m=e.gridHeight+a+(l.current===Pt.None?0:OR);let g=WR;m*h>1500&&(g=VR),g(t,r,n,o,e,l,s,u)}),[e,r,t,n,l,s,o,i,a,u])})({viewService:i,layoutService:a,dataModel:e,measureData:l,pageInfo:m,leftColumnCount:s.columnCount,topRowCount:u.rowCount,verticalScrollDirection:g,horizontalScrollDirection:b});return Yb((()=>{t.current&&t.current.resetAfterColumnIndex(0,!1)}),[t,e,l]),T((()=>{t.current&&t.current.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!0})}),[o,n,t,y]),0===a.size.x?null:cc.jsx(yR,{ref:t,style:x,columnCount:a.size.x,columnWidth:h,height:n,rowCount:m.rowsOnCurrentPage,rowHeight:r,width:o,itemData:{layoutService:a,grid:l,dataModel:e,showLastBorder:f,isTotalValue:C,shouldShowTotalCellBottomDivider:S,shouldShowTotalCellRightDivider:E,pageInfo:m,lastRow:u.grid.at(c.length-1),lastColumn:s.grid.at(d.length-1),attrExprInfoIndexes:p},onItemsRendered:w,estimatedRowHeight:r(),estimatedColumnWidth:h(),itemKey:NL,children:kL})};var jL=O(zL);function $L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const GL=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$L(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}),x.createElement("use",{fillRule:"evenodd"})))),BL=e=>{const[t,n]=A(!1);return Yb((()=>{n(!1)}),e),{isAdjustingWidth:t,setIsAdjustingWidth:n}},HL=({interactions:e,dataModel:t})=>{const[n,r]=A(!1),{isAdjustingWidth:o,setIsAdjustingWidth:i}=BL([t]);return{open:n,setOpen:r,handleOpenMenu:t=>e.active&&!tL(t)&&!o&&r(!0),setIsAdjustingWidth:i}};function WL(e,t){var n,r,o,i;const a=null!==(n=null===(r=t.expressionColor)||void 0===r?void 0:r.background)&&void 0!==n?n:e.dimensionValues.background,l=t.isLeftColumn?e.header.background:a,s=l===Dr.Transparent?Mg.WHITE:l,u=null===(o=Ug(e.grid.border))||void 0===o?void 0:o.rgb(),c=null===(i=Ug(s))||void 0===i?void 0:i.rgb();if(c&&u&&u.opacity<1){const e=1-u.opacity;return`rgb(${u.opacity*u.r+e*c.r}, ${u.opacity*u.g+e*c.g}, ${u.opacity*u.b+e*c.g})`}return e.grid.border}const VL=({cellInfo:e,columnWidth:t,dataModel:n,isLastColumn:r,overrideLeftGridWidth:o,setIsAdjustingWidth:i,shouldApplyIndentModeColumnWidth:a,tableWidth:l})=>{const{interactions:s}=qE(),{isActive:u}=oL(),c=jE(),[,d]=A({});if(!(e.canBeResized&&!!s.active&&!u))return null;const p=WL(c,e);return cc.jsx(cS,{isPivot:!0,columnWidth:t,isLastColumn:r,keyValue:`adjuster-${e.dimensionInfoIndex}`,hoverColor:p,updateWidthCallback:t=>{d({}),o&&void 0!==e.colIdx&&o(t,e.colIdx)},confirmWidthCallback:t=>{var r;a?null==n||n.applyIndentModeColumnWidth({...t,pixels:Math.min((null!=l?l:0)*VE,null!==(r=t.pixels)&&void 0!==r?r:0)}):null==n||n.applyColumnWidth(t,e)},setIsAdjustingWidth:i,isLeftColumn:e.isLeftColumn})};function YL(e){return wy(e)}const UL=e=>e.scrollTop;function KL(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function XL(e){return zs("MuiPaper",e)}js("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 JL=["className","component","elevation","square","variant"],ZL=oS("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return Xr({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&Xr({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${ky("#fff",lS(t.elevation))}, ${ky("#fff",lS(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}));var QL=y.forwardRef((function(e,t){const n=YL({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=ro(n,JL),u=Xr({},n,{component:o,elevation:i,square:a,variant:l}),c=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return ks({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},XL,o)})(u);return cc.jsx(ZL,Xr({as:o,ownerState:u,className:Ws(c.root,r),ref:t},s))}));var eA=js("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const tA=["center","classes","className"];let nA,rA,oA,iA,aA=e=>e;const lA=Ml(nA||(nA=aA`
101
+ `),Pp.rippleVisible,Fp,550,(({theme:e})=>e.transitions.easing.easeInOut),Pp.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Pp.child,Pp.childLeaving,zp,550,(({theme:e})=>e.transitions.easing.easeInOut),Pp.childPulsate,jp,(({theme:e})=>e.transitions.easing.easeInOut));var Bp=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=Go(n,_p),[l,s]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=y.useRef(!1),p=y.useRef(0),f=y.useRef(null),h=y.useRef(null);y.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const m=y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,cc.jsx(Gp,{classes:{ripple:kd(o.ripple,Pp.ripple),rippleVisible:kd(o.rippleVisible,Pp.rippleVisible),ripplePulsate:kd(o.ripplePulsate,Pp.ripplePulsate),child:kd(o.child,Pp.child),childLeaving:kd(o.childLeaving,Pp.childLeaving),childPulsate:kd(o.childPulsate,Pp.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||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 l=a?null:h.current,s=l?l.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(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.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:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{v(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),cc.jsx($p,$o({className:kd(Pp.root,o.root,i),ref:h},a,{children:cc.jsx(yp,{component:null,exit:!0,children:l})}))}));function Hp(e){return od("MuiButtonBase",e)}var Wp=id("MuiButtonBase",["root","disabled","focusVisible"]);const Vp=["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"],Yp=_d("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"},[`&.${Wp.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Up=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!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:x,onKeyUp:S,onMouseDown:E,onMouseLeave:C,onMouseUp:w,onTouchEnd:R,onTouchMove:L,onTouchStart:A,tabIndex:I=0,TouchRippleProps:M,touchRippleRef:D,type:P}=n,_=Go(n,Vp),O=y.useRef(null),T=y.useRef(null),k=Bc(T,D),{isFocusVisibleRef:q,onFocus:N,onBlur:F,ref:z}=Qc(),[j,$]=y.useState(!1);s&&j&&$(!1),y.useImperativeHandle(r,(()=>({focusVisible:()=>{$(!0),O.current.focus()}})),[]);const[G,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const H=G&&!u&&!s;function W(e,t,n=c){return Gc((r=>{t&&t(r);return!n&&T.current&&T.current[e](r),!0}))}y.useEffect((()=>{j&&d&&!u&&G&&T.current.pulsate()}),[u,d,j,G]);const V=W("start",E),Y=W("stop",m),U=W("stop",g),K=W("stop",w),X=W("stop",(e=>{j&&e.preventDefault(),C&&C(e)})),J=W("start",A),Z=W("stop",R),Q=W("stop",L),ee=W("stop",(e=>{F(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=Gc((e=>{O.current||(O.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),ne=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=y.useRef(!1),oe=Gc((e=>{d&&!re.current&&j&&T.current&&" "===e.key&&(re.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=Gc((e=>{d&&" "===e.key&&T.current&&j&&!e.defaultPrevented&&(re.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===P?"button":P,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=Bc(t,z,O),ue=$o({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:I,focusVisible:j}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=ks({root:["root",t&&"disabled",n&&"focusVisible"]},Hp,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return cc.jsxs(Yp,$o({as:ae,className:kd(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:U,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:se,tabIndex:s?-1:I,type:P},le,_,{children:[i,H?cc.jsx(Bp,$o({ref:k,center:o},M)):null]}))}));var Kp=Up;function Xp(e){return od("MuiTypography",e)}id("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Jp=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Zp=_d("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Tc(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>$o({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Qp={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ef={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tf=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiTypography"}),r=(e=>ef[e]||e)(n.color),o=hc($o({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=Qp}=o,f=Go(o,Jp),h=$o({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=l||(c?"p":p[d]||Qp[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return ks({root:["root",i,"inherit"!==e.align&&`align${Tc(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Xp,a)})(h);return cc.jsx(Zp,$o({as:m,ref:t,ownerState:h,className:kd(g.root,a)},f))}));var nf=tf;const rf=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function of(e){const t=[],n=[];return Array.from(e.querySelectorAll(rf)).forEach(((e,r)=>{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 n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function af(){return!0}function lf(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=of,isEnabled:a=af,open:l}=e,s=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=ys(t.ref,h),g=y.useRef(null);y.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(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&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&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 n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,a,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return cc.jsxs(y.Fragment,{children:[cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const sf=y.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),l=ys(y.isValidElement(n)?n.ref:null,t);if(bs((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),bs((()=>{if(i&&!o)return gs(t,i),()=>{gs(t,null)}}),[t,i,o]),o){if(y.isValidElement(n)){const e={ref:l};return y.cloneElement(n,e)}return cc.jsx(y.Fragment,{children:n})}return cc.jsx(y.Fragment,{children:i?q.createPortal(n,i):i})}));function uf(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function cf(e){return parseInt(ms(e).getComputedStyle(e).paddingRight,10)||0}function df(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&uf(e,o)}))}function pf(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function ff(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=hs(e);return t.body===e?ms(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Os(hs(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${cf(r)+e}px`;const t=hs(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${cf(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=hs(r).body;else{const t=r.parentElement,n=ms(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.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()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const hf=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&uf(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);df(t,e.mount,e.modalRef,r,!0);const o=pf(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=pf(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=ff(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=pf(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&uf(e.modalRef,t),df(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&uf(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function mf(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=hf,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:d}=e,p=y.useRef({}),f=y.useRef(null),h=y.useRef(null),m=ys(h,d),[g,b]=y.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const S=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),E=()=>{o.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},C=vs((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||hs(f.current).body;o.add(S(),e),h.current&&E()})),w=y.useCallback((()=>o.isTopModal(S())),[o]),R=vs((e=>{f.current=e,e&&(c&&w()?E():h.current&&uf(h.current,x))})),L=y.useCallback((()=>{o.remove(S(),x)}),[x,o]);y.useEffect((()=>()=>{L()}),[L]),y.useEffect((()=>{c?C():v&&i||L()}),[c,L,v,i,C]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Ap(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=Xr({},n,t);return Xr({role:"presentation"},r,{onKeyDown:A(r),ref:m})},getBackdropProps:(e={})=>Xr({"aria-hidden":!0},e,{onClick:I(e),open:c}),getTransitionProps:()=>({onEnter:ps((()=>{b(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:ps((()=>{b(!0),l&&l(),i&&L()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}const gf=["onChange","maxRows","minRows","style","value"];function bf(e){return parseInt(e,10)||0}const vf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function yf(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const xf=y.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=ro(e,gf),{current:s}=y.useRef(null!=a),u=y.useRef(null),c=ys(t,u),d=y.useRef(null),p=y.useRef(0),[f,h]=y.useState({outerHeightStyle:0}),m=y.useCallback((()=>{const t=u.current,n=ms(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n.boxSizing,l=bf(n.paddingBottom)+bf(n.paddingTop),s=bf(n.borderBottomWidth)+bf(n.borderTopWidth),c=i.scrollHeight;i.value="x";const p=i.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},b=y.useCallback((()=>{const e=m();yf(e)||h((t=>g(t,e)))}),[m]);bs((()=>{const e=()=>{p.current=0,(()=>{const e=m();yf(e)||q.flushSync((()=>{h((t=>g(t,e)))}))})()};const t=fs(e),n=u.current,r=ms(n);let o;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",t),o&&o.disconnect()}}),[m]),bs((()=>{b()})),y.useEffect((()=>{p.current=0}),[a]);return cc.jsxs(y.Fragment,{children:[cc.jsx("textarea",Xr({value:a,onChange:e=>{p.current=0,s||b(),n&&n(e)},ref:c,rows:o,style:Xr({height:f.outerHeightStyle,overflow:f.overflow?"hidden":void 0},i)},l)),cc.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:Xr({},vf,i,{paddingTop:0,paddingBottom:0})})]})}));function Sf({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}var Ef=y.createContext(void 0);function Cf(){return y.useContext(Ef)}function wf(e){return cc.jsx(dc,$o({},e,{defaultTheme:Ld,themeId:jo}))}function Rf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Lf(e,t=!1){return e&&(Rf(e.value)&&""!==e.value||t&&Rf(e.defaultValue)&&""!==e.defaultValue)}function Af(e){return od("MuiInputBase",e)}var If=id("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const Mf=["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"],Df=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Tc(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Pf=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},_f=_d("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Df})((({theme:e,ownerState:t})=>$o({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${If.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&$o({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Of=_d("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Pf})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=$o({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return $o({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":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${If.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${If.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Tf=cc.jsx(wf,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),kf=y.forwardRef((function(e,t){var n;const r=Id({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:x,minRows:S,multiline:E=!1,name:C,onBlur:w,onChange:R,onClick:L,onFocus:A,onKeyDown:I,onKeyUp:M,placeholder:D,readOnly:P,renderSuffix:_,rows:O,slotProps:T={},slots:k={},startAdornment:q,type:N="text",value:F}=r,z=Go(r,Mf),j=null!=b.value?b.value:F,{current:$}=y.useRef(null!=j),G=y.useRef(),B=y.useCallback((e=>{}),[]),H=Bc(G,v,b.ref,B),[W,V]=y.useState(!1),Y=Cf(),U=Sf({props:r,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});U.focused=Y?Y.focused:W,y.useEffect((()=>{!Y&&d&&W&&(V(!1),w&&w())}),[Y,d,W,w]);const K=Y&&Y.onFilled,X=Y&&Y.onEmpty,J=y.useCallback((e=>{Lf(e)?K&&K():X&&X()}),[K,X]);Nc((()=>{$&&J({value:j})}),[j,J,$]);y.useEffect((()=>{J(G.current)}),[]);let Z=g,Q=b;E&&"input"===Z&&(Q=$o(O?{type:void 0,minRows:O,maxRows:O}:{type:void 0,maxRows:x,minRows:S},Q),Z=xf);y.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(q))}),[Y,q]);const ee=$o({},r,{color:U.color||"primary",disabled:U.disabled,endAdornment:f,error:U.error,focused:U.focused,formControl:Y,fullWidth:h,hiddenLabel:U.hiddenLabel,multiline:E,size:U.size,startAdornment:q,type:N}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return ks({root:["root",`color${Tc(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Tc(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Af,t)})(ee),ne=k.root||s.Root||_f,re=T.root||u.root||{},oe=k.input||s.Input||Of;return Q=$o({},Q,null!=(n=T.input)?n:u.input),cc.jsxs(y.Fragment,{children:[!p&&Tf,cc.jsxs(ne,$o({},re,!Lp(ne)&&{ownerState:$o({},ee,re.ownerState)},{ref:t,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),L&&L(e)}},z,{className:kd(te.root,re.className,l,P&&"MuiInputBase-readOnly"),children:[q,cc.jsx(Ef.Provider,{value:null,children:cc.jsx(oe,$o({ownerState:ee,"aria-invalid":U.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:U.disabled,id:m,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:C,placeholder:D,readOnly:P,required:U.required,rows:O,value:j,onKeyDown:I,onKeyUp:M,type:N},Q,!Lp(oe)&&{as:Z,ownerState:$o({},ee,Q.ownerState)},{ref:H,className:kd(te.input,Q.className,P&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),b.onBlur&&b.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||G.current;if(null==t)throw new Error(zo(1));J({value:t.value})}b.onChange&&b.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{U.disabled?e.stopPropagation():(A&&A(e),b.onFocus&&b.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):V(!0))}}))}),f,_?_($o({},U,{startAdornment:q})):null]}))]})}));var qf=kf;function Nf(e){return od("MuiInput",e)}var Ff=$o({},If,id("MuiInput",["root","underline","input"]));function zf(e){return od("MuiOutlinedInput",e)}var jf=$o({},If,id("MuiOutlinedInput",["root","notchedOutline","input"]));function $f(e){return od("MuiFilledInput",e)}var Gf=$o({},If,id("MuiFilledInput",["root","underline","input"])),Bf=function(e,t){function n(n,r){return cc.jsx(jd,$o({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=jd.muiName,y.memo(y.forwardRef(n))}(cc.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Hf=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Wf={entering:{opacity:1},entered:{opacity:1}},Vf=y.forwardRef((function(e,t){const n=Ad(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:b=fp}=e,v=Go(e,Hf),x=y.useRef(null),S=Bc(x,a.ref,t),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=E(d),w=E(((e,t)=>{xp(e);const r=Sp({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),R=E(c),L=E(h),A=E((e=>{const t=Sp({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),I=E(f);return cc.jsx(b,$o({appear:i,in:s,nodeRef:x,onEnter:w,onEntered:R,onEntering:C,onExit:A,onExited:I,onExiting:L,addEndListener:e=>{o&&o(x.current,e)},timeout:g},v,{children:(e,t)=>y.cloneElement(a,$o({style:$o({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Wf[e],m,a.props.style),ref:S},t))}))}));var Yf=Vf;function Uf(e){return od("MuiBackdrop",e)}id("MuiBackdrop",["root","invisible"]);const Kf=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Xf=_d("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>$o({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"},e.invisible&&{backgroundColor:"transparent"}))),Jf=y.forwardRef((function(e,t){var n,r,o;const i=Id({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=Yf,transitionDuration:g}=i,b=Go(i,Kf),v=$o({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return ks({root:["root",n&&"invisible"]},Uf,t)})(v),x=null!=(n=f.root)?n:c.root;return cc.jsx(m,$o({in:p,timeout:g},b,{children:cc.jsx(Xf,$o({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:u.Root)?r:s,className:kd(y.root,l,null==x?void 0:x.className),ownerState:$o({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var Zf=Jf;var Qf=id("MuiBox",["root"]);const eh=Rd(),th=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Ol("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Uu);return y.forwardRef((function(e,a){const l=ec(n),s=hc(e),{className:u,component:c="div"}=s,d=ro(s,mc);return cc.jsx(i,Xr({as:c,ref:a,className:Ws(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:jo,defaultTheme:eh,defaultClassName:Qf.root,generateClassName:nd.generate});var nh=th;function rh(e){return od("MuiButton",e)}var oh=id("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var ih=y.createContext({});var ah=y.createContext(void 0);const lh=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],sh=e=>$o({},"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}}),uh=_d(Kp,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Tc(n.color)}`],t[`size${Tc(n.size)}`],t[`${n.variant}Size${Tc(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return $o({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":$o({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Dc(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dc(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dc(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":$o({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${oh.focusVisible}`]:$o({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${oh.disabled}`]:$o({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Dc(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${oh.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${oh.disabled}`]:{boxShadow:"none"}})),ch=_d("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Tc(n.size)}`]]}})((({ownerState:e})=>$o({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},sh(e)))),dh=_d("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Tc(n.size)}`]]}})((({ownerState:e})=>$o({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},sh(e)))),ph=y.forwardRef((function(e,t){const n=y.useContext(ih),r=y.useContext(ah),o=Id({props:ed(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,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,x=Go(o,lh),S=$o({},o,{color:a,component:l,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),E=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return $o({},a,ks({root:["root",i,`${i}${Tc(t)}`,`size${Tc(o)}`,`${i}Size${Tc(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Tc(o)}`],endIcon:["endIcon",`iconSize${Tc(o)}`]},rh,a))})(S),C=g&&cc.jsx(ch,{className:E.startIcon,ownerState:S,children:g}),w=p&&cc.jsx(dh,{className:E.endIcon,ownerState:S,children:p}),R=r||"";return cc.jsxs(uh,$o({ownerState:S,className:kd(n.className,E.root,s,R),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:kd(E.focusVisible,f),ref:t,type:b},x,{classes:E,children:[C,i,w]}))}));var fh=ph;function hh(e){return od("MuiModal",e)}id("MuiModal",["root","hidden","backdrop"]);const mh=["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"],gh=_d("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>$o({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),bh=_d(Zf,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),vh=y.forwardRef((function(e,t){var n,r,o,i,a,l;const s=Id({name:"MuiModal",props:e}),{BackdropComponent:u=bh,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:E=!1,disableRestoreFocus:C=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:L=!1,onBackdropClick:A,open:I,slotProps:M,slots:D}=s,P=Go(s,mh),_=$o({},s,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:E,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:L}),{getRootProps:O,getBackdropProps:T,getTransitionProps:k,portalRef:q,isTopModal:N,exited:F,hasTransition:z}=mf($o({},_,{rootRef:t})),j=$o({},_,{exited:F}),$=(e=>{const{open:t,exited:n,classes:r}=e;return ks({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},hh,r)})(j),G={};if(void 0===f.props.tabIndex&&(G.tabIndex="-1"),z){const{onEnter:e,onExited:t}=k();G.onEnter=e,G.onExited=t}const B=null!=(n=null!=(r=null==D?void 0:D.root)?r:g.Root)?n:gh,H=null!=(o=null!=(i=null==D?void 0:D.backdrop)?i:g.Backdrop)?o:u,W=null!=(a=null==M?void 0:M.root)?a:b.root,V=null!=(l=null==M?void 0:M.backdrop)?l:b.backdrop,Y=Dp({elementType:B,externalSlotProps:W,externalForwardedProps:P,getSlotProps:O,additionalProps:{ref:t,as:m},ownerState:j,className:kd(d,null==W?void 0:W.className,null==$?void 0:$.root,!j.open&&j.exited&&(null==$?void 0:$.hidden))}),U=Dp({elementType:H,externalSlotProps:V,additionalProps:c,getSlotProps:e=>T($o({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:kd(null==V?void 0:V.className,null==c?void 0:c.className,null==$?void 0:$.backdrop),ownerState:j});return L||I||z&&!F?cc.jsx(sf,{ref:q,container:h,disablePortal:E,children:cc.jsxs(B,$o({},Y,{children:[!R&&u?cc.jsx(H,$o({},U)):null,cc.jsx(lf,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:N,open:I,children:y.cloneElement(f,G)})]}))}):null}));var yh=vh;function xh(e){return od("MuiDivider",e)}var Sh=id("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Eh=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Ch=_d("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>$o({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Dc(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>$o({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>$o({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>$o({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>$o({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),wh=_d("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>$o({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Rh=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=Go(n,Eh),h=$o({},n,{absolute:r,component:a,flexItem:l,light:s,orientation:u,role:c,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return ks({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},xh,r)})(h);return cc.jsx(Ch,$o({as:a,className:kd(m.root,i),role:c,ref:t,ownerState:h},f,{children:o?cc.jsx(wh,{className:m.wrapper,ownerState:h,children:o}):null}))}));Rh.muiSkipListHighlight=!0;var Lh=Rh;const Ah=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Ih=_d(_f,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Df(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return $o({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Gf.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Gf.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Gf.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gf.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Gf.disabled}, .${Gf.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gf.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&$o({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),Mh=_d(Of,{name:"MuiFilledInput",slot:"Input",overridesResolver:Pf})((({theme:e,ownerState:t})=>$o({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),Dh=y.forwardRef((function(e,t){var n,r,o,i;const a=Id({props:e,name:"MuiFilledInput"}),{components:l={},componentsProps:s,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:f={},type:h="text"}=a,m=Go(a,Ah),g=$o({},a,{fullWidth:u,inputComponent:c,multiline:d,type:h}),b=(e=>{const{classes:t,disableUnderline:n}=e;return $o({},t,ks({root:["root",!n&&"underline"],input:["input"]},$f,t))})(a),v={root:{ownerState:g},input:{ownerState:g}},y=(null!=p?p:s)?Oc(v,null!=p?p:s):v,x=null!=(n=null!=(r=f.root)?r:l.Root)?n:Ih,S=null!=(o=null!=(i=f.input)?i:l.Input)?o:Mh;return cc.jsx(qf,$o({slots:{root:x,input:S},componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:b}))}));Dh.muiName="Input";var Ph=Dh;const _h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Oh(e){return`scale(${e}, ${e**2})`}const Th={entering:{opacity:1,transform:Oh(1)},entered:{opacity:1,transform:"none"}},kh="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),qh=y.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=fp}=e,g=Go(e,_h),b=y.useRef(),v=y.useRef(),x=Ad(),S=y.useRef(null),E=Bc(S,o.ref,t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},w=C(u),R=C(((e,t)=>{xp(e);const{duration:n,delay:r,easing:o}=Sp({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:kh?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),L=C(s),A=C(p),I=C((e=>{const{duration:t,delay:n,easing:r}=Sp({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:kh?o:.666*o,delay:kh?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Oh(.75),c&&c(e)})),M=C(d);return y.useEffect((()=>()=>{clearTimeout(b.current)}),[]),cc.jsx(m,$o({appear:r,in:a,nodeRef:S,onEnter:R,onEntered:L,onEntering:w,onExit:I,onExited:M,onExiting:A,addEndListener:e=>{"auto"===h&&(b.current=setTimeout(e,v.current||0)),n&&n(S.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>y.cloneElement(o,$o({style:$o({opacity:0,transform:Oh(.75),visibility:"exited"!==e||a?void 0:"hidden"},Th[e],f,o.props.style),ref:E},t))}))}));qh.muiSupportAuto=!0;var Nh=qh;const Fh=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],zh=_d(_f,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Df(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),$o({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ff.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ff.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ff.disabled}, .${Ff.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Ff.disabled}:before`]:{borderBottomStyle:"dotted"}})})),jh=_d(Of,{name:"MuiInput",slot:"Input",overridesResolver:Pf})({}),$h=y.forwardRef((function(e,t){var n,r,o,i;const a=Id({props:e,name:"MuiInput"}),{disableUnderline:l,components:s={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:h={},type:m="text"}=a,g=Go(a,Fh),b=(e=>{const{classes:t,disableUnderline:n}=e;return $o({},t,ks({root:["root",!n&&"underline"],input:["input"]},Nf,t))})(a),v={root:{ownerState:{disableUnderline:l}}},y=(null!=f?f:u)?Oc(null!=f?f:u,v):v,x=null!=(n=null!=(r=h.root)?r:s.Root)?n:zh,S=null!=(o=null!=(i=h.input)?i:s.Input)?o:jh;return cc.jsx(qf,$o({slots:{root:x,input:S},slotProps:y,fullWidth:c,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))}));$h.muiName="Input";var Gh=$h;function Bh(e){return od("MuiLink",e)}var Hh=id("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);const Wh={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var Vh=({theme:e,ownerState:t})=>{const n=(e=>Wh[e]||e)(t.color),r=ru(e,`palette.${n}`,!1)||t.color,o=ru(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Dc(r,.4)};const Yh=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Uh=_d(nf,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Tc(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>$o({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&$o({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:Vh({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.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"},[`&.${Hh.focusVisible}`]:{outline:"auto"}}))),Kh=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiLink"}),{className:r,color:o="primary",component:i="a",onBlur:a,onFocus:l,TypographyClasses:s,underline:u="always",variant:c="inherit",sx:d}=n,p=Go(n,Yh),{isFocusVisibleRef:f,onBlur:h,onFocus:m,ref:g}=Qc(),[b,v]=y.useState(!1),x=Bc(t,g),S=$o({},n,{color:o,component:i,focusVisible:b,underline:u,variant:c}),E=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return ks({root:["root",`underline${Tc(o)}`,"button"===n&&"button",r&&"focusVisible"]},Bh,t)})(S);return cc.jsx(Uh,$o({color:o,className:kd(E.root,r),classes:s,component:i,onBlur:e=>{h(e),!1===f.current&&v(!1),a&&a(e)},onFocus:e=>{m(e),!0===f.current&&v(!0),l&&l(e)},ref:x,ownerState:S,variant:c,sx:[...Object.keys(Wh).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},p))}));var Xh=Kh;var Jh=y.createContext({});function Zh(e){return od("MuiList",e)}id("MuiList",["root","padding","dense","subheader"]);const Qh=["children","className","component","dense","disablePadding","subheader"],em=_d("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>$o({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var tm=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=Go(n,Qh),c=y.useMemo((()=>({dense:a})),[a]),d=$o({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ks({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Zh,t)})(d);return cc.jsx(Jh.Provider,{value:c,children:cc.jsxs(em,$o({as:i,className:kd(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));function nm(e){return od("MuiListItemIcon",e)}var rm=id("MuiListItemIcon",["root","alignItemsFlexStart"]);const om=["className"],im=_d("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>$o({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var am=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Go(n,om),i=$o({},n,{alignItems:y.useContext(Jh).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return ks({root:["root","flex-start"===t&&"alignItemsFlexStart"]},nm,n)})(i);return cc.jsx(im,$o({className:kd(a.root,r),ownerState:i,ref:t},o))}));var lm=id("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const sm=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function um(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function cm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function dm(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function pm(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&dm(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var fm=y.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Go(e,sm),p=y.useRef(null),f=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Nc((()=>{r&&p.current.focus()}),[r]),y.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(kc(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=Bc(p,t);let m=-1;y.Children.forEach(i,((e,t)=>{y.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=y.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),y.cloneElement(e,t)}return e}));return cc.jsx(tm,$o({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=kc(t).activeElement;if("ArrowDown"===n)e.preventDefault(),pm(t,r,s,l,um);else if("ArrowUp"===n)e.preventDefault(),pm(t,r,s,l,cm);else if("Home"===n)e.preventDefault(),pm(t,null,s,l,um);else if("End"===n)e.preventDefault(),pm(t,null,s,l,cm);else if(1===n.length){const o=f.current,i=n.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 s=r&&!o.repeating&&dm(r,o);o.previousKeyMatched&&(s||pm(t,r,!1,l,um,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function hm(e){return od("MuiPopover",e)}id("MuiPopover",["root","paper"]);const mm=["onEntering"],gm=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],bm=["slotProps"];function vm(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function ym(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function xm(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Sm(e){return"function"==typeof e?e():e}const Em=_d(yh,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Cm=_d(Rp,{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});var wm=y.forwardRef((function(e,t){var n,r,o;const i=Id({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={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:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:E=Nh,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,L=Go(i.TransitionProps,mm),A=Go(i,gm),I=null!=(n=null==x?void 0:x.paper)?n:b,M=y.useRef(),D=Bc(M,I.ref),P=$o({},i,{anchorOrigin:s,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:S,TransitionComponent:E,transitionDuration:C,TransitionProps:L}),_=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"]},hm,t)})(P),O=y.useCallback((()=>{if("anchorPosition"===c)return u;const e=Sm(l),t=(e&&1===e.nodeType?e:kc(M.current).body).getBoundingClientRect();return{top:t.top+vm(t,s.vertical),left:t.left+ym(t,s.horizontal)}}),[l,s.horizontal,s.vertical,u,c]),T=y.useCallback((e=>({vertical:vm(e,S.vertical),horizontal:ym(e,S.horizontal)})),[S.horizontal,S.vertical]),k=y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=T(t);if("none"===c)return{top:null,left:null,transformOrigin:xm(n)};const r=O();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,u=qc(Sm(l)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,n.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:xm(n)}}),[l,c,O,T,m]),[q,N]=y.useState(g),F=y.useCallback((()=>{const e=M.current;if(!e)return;const t=k(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[k]);y.useEffect((()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[l,R,F]);y.useEffect((()=>{g&&F()})),y.useImperativeHandle(a,(()=>g?{updatePosition:()=>{F()}}:null),[g,F]),y.useEffect((()=>{if(!g)return;const e=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}((()=>{F()})),t=qc(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,g,F]);let z=C;"auto"!==C||E.muiSupportAuto||(z=void 0);const j=f||(l?kc(Sm(l)).body:void 0),$=null!=(r=null==v?void 0:v.root)?r:Em,G=null!=(o=null==v?void 0:v.paper)?o:Cm,B=Dp({elementType:G,externalSlotProps:$o({},I,{style:q?I.style:$o({},I.style,{opacity:0})}),additionalProps:{elevation:h,ref:D},ownerState:P,className:kd(_.paper,null==I?void 0:I.className)}),H=Dp({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:j,open:g},ownerState:P,className:kd(_.root,p)}),{slotProps:W}=H,V=Go(H,bm);return cc.jsx($,$o({},V,!Lp($)&&{slotProps:W,disableScrollLock:R},{children:cc.jsx(E,$o({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),F()},onExited:()=>{N(!1)},timeout:z},L,{children:cc.jsx(G,$o({},B,{children:d}))}))}))}));function Rm(e){return od("MuiMenu",e)}id("MuiMenu",["root","paper","list"]);const Lm=["onEntering"],Am=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Im={vertical:"top",horizontal:"right"},Mm={vertical:"top",horizontal:"left"},Dm=_d(wm,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pm=_d(Cm,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),_m=_d(fm,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var Om=y.forwardRef((function(e,t){var n,r;const o=Id({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!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,x=Go(o.TransitionProps,Lm),S=Go(o,Am),E=Ad(),C="rtl"===E.direction,w=$o({},o,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:x,variant:g}),R=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"],list:["list"]},Rm,t)})(w),L=i&&!s&&d,A=y.useRef(null);let I=-1;y.Children.map(a,((e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===I)&&(I=t))}));const M=null!=(n=b.paper)?n:Pm,D=null!=(r=v.paper)?r:p,P=Dp({elementType:b.root,externalSlotProps:v.root,ownerState:w,className:[R.root,l]}),_=Dp({elementType:M,externalSlotProps:D,ownerState:w,className:R.paper});return cc.jsx(Dm,$o({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Im:Mm,slots:{paper:M,root:b.root},slotProps:{root:P,paper:_},open:d,ref:t,transitionDuration:h,TransitionProps:$o({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,E),m&&m(e,t)}},x),ownerState:w},S,{classes:f,children:cc.jsx(_m,$o({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===I||s),autoFocusItem:L,variant:g},u,{className:kd(R.list,u.className),children:a}))}))}));function Tm(e){return od("MuiMenuItem",e)}var km=id("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const qm=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Nm=_d(Kp,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>$o({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${km.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${km.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${km.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Dc(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${km.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${km.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Sh.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Sh.inset}`]:{marginLeft:52},[`& .${lm.root}`]:{marginTop:0,marginBottom:0},[`& .${lm.inset}`]:{paddingLeft:36},[`& .${rm.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&$o({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${rm.root} svg`]:{fontSize:"1.25rem"}}))));var Fm=y.forwardRef((function(e,t){const n=Id({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,p=Go(n,qm),f=y.useContext(Jh),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:l})),[f.dense,i,l]),m=y.useRef(null);Nc((()=>{r&&m.current&&m.current.focus()}),[r]);const g=$o({},n,{dense:h.dense,divider:a,disableGutters:l}),b=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return $o({},a,ks({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},Tm,a))})(n),v=Bc(m,t);let x;return n.disabled||(x=void 0!==c?c:-1),cc.jsx(Jh.Provider,{value:h,children:cc.jsx(Nm,$o({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:kd(b.focusVisible,s),className:kd(b.root,d)},p,{ownerState:g,classes:b}))})}));function zm(e){return od("MuiNativeSelect",e)}var jm=id("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const $m=["className","disabled","error","IconComponent","inputRef","variant"],Gm=({ownerState:e,theme:t})=>$o({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":$o({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${jm.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Bm=_d("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Md,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${jm.multiple}`]:t.multiple}]}})(Gm),Hm=({ownerState:e,theme:t})=>$o({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${jm.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),Wm=_d("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tc(n.variant)}`],n.open&&t.iconOpen]}})(Hm),Vm=y.forwardRef((function(e,t){const{className:n,disabled:r,error:o,IconComponent:i,inputRef:a,variant:l="standard"}=e,s=Go(e,$m),u=$o({},e,{disabled:r,variant:l,error:o}),c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return ks({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tc(n)}`,i&&"iconOpen",r&&"disabled"]},zm,t)})(u);return cc.jsxs(y.Fragment,{children:[cc.jsx(Bm,$o({ownerState:u,className:kd(c.select,n),disabled:r,ref:a||t},s)),e.multiple?null:cc.jsx(Wm,{as:i,ownerState:u,className:c.icon})]})}));var Ym,Um=Vm;const Km=["children","classes","className","label","notched"],Xm=_d("fieldset",{shouldForwardProp:Md})({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%"}),Jm=_d("legend",{shouldForwardProp:Md})((({ownerState:e,theme:t})=>$o({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&$o({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const Zm=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Qm=_d(_f,{shouldForwardProp:e=>Md(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Df})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return $o({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${jf.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${jf.focused} .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${jf.error} .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${jf.disabled} .${jf.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&$o({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),eg=_d((function(e){const{className:t,label:n,notched:r}=e,o=Go(e,Km),i=null!=n&&""!==n,a=$o({},e,{notched:r,withLabel:i});return cc.jsx(Xm,$o({"aria-hidden":!0,className:t,ownerState:a},o,{children:cc.jsx(Jm,{ownerState:a,children:i?cc.jsx("span",{children:n}):Ym||(Ym=cc.jsx("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),tg=_d(Of,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Pf})((({theme:e,ownerState:t})=>$o({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),ng=y.forwardRef((function(e,t){var n,r,o,i,a;const l=Id({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=l,g=Go(l,Zm),b=(e=>{const{classes:t}=e;return $o({},t,ks({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},zf,t))})(l),v=Cf(),x=Sf({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=$o({},l,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:v,fullWidth:u,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:m}),E=null!=(n=null!=(r=h.root)?r:s.Root)?n:Qm,C=null!=(o=null!=(i=h.input)?i:s.Input)?o:tg;return cc.jsx(qf,$o({slots:{root:E,input:C},renderSuffix:e=>cc.jsx(eg,{ownerState:S,className:b.notchedOutline,label:null!=d&&""!==d&&x.required?a||(a=cc.jsxs(y.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:$o({},b,{notchedOutline:null})}))}));ng.muiName="Input";var rg=ng;function og(e){return od("MuiSelect",e)}var ig,ag=id("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const lg=["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"],sg=_d("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${ag.select}`]:t.select},{[`&.${ag.select}`]:t[n.variant]},{[`&.${ag.error}`]:t.error},{[`&.${ag.multiple}`]:t.multiple}]}})(Gm,{[`&.${ag.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ug=_d("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tc(n.variant)}`],n.open&&t.iconOpen]}})(Hm),cg=_d("input",{shouldForwardProp:e=>Dd(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 dg(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function pg(e){return null==e||"string"==typeof e&&!e.trim()}const fg=y.forwardRef((function(e,t){var n;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:l,className:s,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:p,error:f=!1,IconComponent:h,inputRef:m,labelId:g,MenuProps:b={},multiple:v,name:x,onBlur:S,onChange:E,onClose:C,onFocus:w,onOpen:R,open:L,readOnly:A,renderValue:I,SelectDisplayProps:M={},tabIndex:D,value:P,variant:_="standard"}=e,O=Go(e,lg),[T,k]=$c({controlled:P,default:c,name:"Select"}),[q,N]=$c({controlled:L,default:u,name:"Select"}),F=y.useRef(null),z=y.useRef(null),[j,$]=y.useState(null),{current:G}=y.useRef(null!=L),[B,H]=y.useState(),W=Bc(t,m),V=y.useCallback((e=>{z.current=e,e&&$(e)}),[]),Y=null==j?void 0:j.parentNode;y.useImperativeHandle(W,(()=>({focus:()=>{z.current.focus()},node:F.current,value:T})),[T]),y.useEffect((()=>{u&&q&&j&&!G&&(H(a?null:Y.clientWidth),z.current.focus())}),[j,a]),y.useEffect((()=>{i&&z.current.focus()}),[i]),y.useEffect((()=>{if(!g)return;const e=kc(z.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&z.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const U=(e,t)=>{e?R&&R(t):C&&C(t),G||(H(a?null:Y.clientWidth),N(e))},K=y.Children.toArray(l),X=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(v){n=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==n&&(k(n),E)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:x}}),E(o,e)}v||U(!1,t)}},J=null!==j&&q;let Z,Q;delete O["aria-invalid"];const ee=[];let te=!1;(Lf({value:T})||p)&&(I?Z=I(T):te=!0);const ne=K.map((e=>{if(!y.isValidElement(e))return null;let t;if(v){if(!Array.isArray(T))throw new Error(zo(2));t=T.some((t=>dg(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=dg(T,e.props.value),t&&te&&(Q=e.props.children);return y.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,n)=>(e.push(t),n<ee.length-1&&e.push(", "),e)),[]):Q);let re,oe=B;!a&&G&&j&&(oe=Y.clientWidth),re=void 0!==D?D:d?null:0;const ie=M.id||(x?`mui-component-select-${x}`:void 0),ae=$o({},e,{variant:_,value:T,open:J,error:f}),le=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return ks({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Tc(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},og,t)})(ae),se=$o({},b.PaperProps,null==(n=b.slotProps)?void 0:n.paper),ue=jc();return cc.jsxs(y.Fragment,{children:[cc.jsx(sg,$o({ref:V,tabIndex:re,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":r,onKeyDown:e=>{if(!A){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),U(!0,e))}},onMouseDown:d||A?null:e=>{0===e.button&&(e.preventDefault(),z.current.focus(),U(!0,e))},onBlur:e=>{!J&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:x}}),S(e))},onFocus:w},M,{ownerState:ae,className:kd(M.className,le.select,s),id:ie,children:pg(Z)?ig||(ig=cc.jsx("span",{className:"notranslate",children:"​"})):Z})),cc.jsx(cg,$o({"aria-invalid":f,value:Array.isArray(T)?T.join(","):T,name:x,ref:F,"aria-hidden":!0,onChange:e=>{const t=K.find((t=>t.props.value===e.target.value));void 0!==t&&(k(t.props.value),E&&E(e,t))},tabIndex:-1,disabled:d,className:le.nativeInput,autoFocus:i,ownerState:ae},O)),cc.jsx(ug,{as:h,className:le.icon,ownerState:ae}),cc.jsx(Om,$o({id:`menu-${x||""}`,anchorEl:Y,open:J,onClose:e=>{U(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:$o({"aria-labelledby":g,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:$o({},b.slotProps,{paper:$o({},se,{style:$o({minWidth:oe},null!=se?se.style:null)})}),children:ne}))]})}));var hg=fg;const mg=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],gg=["root"],bg={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Md(e)&&"variant"!==e,slot:"Root"},vg=_d(Gh,bg)(""),yg=_d(rg,bg)(""),xg=_d(Ph,bg)(""),Sg=y.forwardRef((function(e,t){const n=Id({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=Bf,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:b=!1,onClose:v,onOpen:x,open:S,renderValue:E,SelectDisplayProps:C,variant:w="outlined"}=n,R=Go(n,mg),L=b?Um:hg,A=Sf({props:n,muiFormControl:Cf(),states:["variant","error"]}),I=A.variant||w,M=$o({},n,{variant:I,classes:i}),D=(e=>{const{classes:t}=e;return t})(M),P=Go(D,gg),_=d||{standard:cc.jsx(vg,{ownerState:M}),outlined:cc.jsx(yg,{label:f,ownerState:M}),filled:cc.jsx(xg,{ownerState:M})}[I],O=Bc(t,_.ref);return cc.jsx(y.Fragment,{children:y.cloneElement(_,$o({inputComponent:L,inputProps:$o({children:o,error:A.error,IconComponent:u,variant:I,type:void 0,multiple:g},b?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:h,MenuProps:m,onClose:v,onOpen:x,open:S,renderValue:E,SelectDisplayProps:$o({id:c},C)},p,{classes:p?Oc(P,p.classes):P},d?d.props.inputProps:{})},g&&b&&"outlined"===I?{notched:!0}:{},{ref:O,className:kd(_.props.className,a,D.root)},!d&&{variant:I},R))})}));Sg.muiName="Select";var Eg=Sg,Cg=(e={})=>x.createElement(Ro,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{stroke:lo.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"}))));const wg={MuiAccordion:{styleOverrides:{root:{backgroundColor:lo.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:lo.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:x.createElement(Eo,{"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 ${lo.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`,borderRadius:fo,backgroundColor:lo.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 ${lo.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:lo.WHITE,color:lo.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:fo},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:lo.GREYSCALE_0_15,backgroundColor:lo.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${lo.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:lo.GREEN_PALE},"&:active":{backgroundColor:lo.GREEN_DARK},"&.Mui-focusVisible":{borderColor:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:lo.BLUE_PALE},"&:active":{backgroundColor:lo.BLUE_DARK},"&.Mui-focusVisible":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.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:fo,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:lo.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:lo.GREYSCALE_0_15,backgroundColor:lo.GREYSCALE_100_60,"&:active":{backgroundColor:lo.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${lo.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:lo.PURPLE,"&.Mui-focusVisible":{borderColor:lo.PURPLE,boxShadow:`0 0 0 3px ${Dc(lo.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:lo.GREEN,"&.Mui-focusVisible":{borderColor:lo.GREEN,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:lo.BLUE,"&.Mui-focusVisible":{borderColor:lo.BLUE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:lo.ORANGE,"&.Mui-focusVisible":{borderColor:lo.ORANGE,boxShadow:`0 0 0 3px ${Dc(lo.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:lo.RED,"&.Mui-focusVisible":{borderColor:lo.RED,boxShadow:`0 0 0 3px ${Dc(lo.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:lo.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:lo.PURPLE_PALE},"&:active":{backgroundColor:lo.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:lo.PURPLE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:lo.GREEN_PALE},"&:active":{backgroundColor:lo.GREEN_DARK},"&.Mui-focusVisible":{borderColor:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:lo.BLUE_PALE},"&:active":{backgroundColor:lo.BLUE_DARK},"&.Mui-focusVisible":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:lo.ORANGE_PALE},"&:active":{backgroundColor:lo.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:lo.ORANGE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:lo.RED_PALE},"&:active":{backgroundColor:lo.RED_DARK},"&.Mui-focusVisible":{borderColor:lo.RED_PALE,boxShadow:`0 0 0 3px ${Dc(lo.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:lo.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:lo.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:fo,boxShadow:`inset 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:x.createElement(wo,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:so,borderRadius:fo,color:lo.TEXT_PRIMARY,backgroundColor:lo.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{backgroundColor:lo.GREYSCALE_0_05,color:lo.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:lo.GREEN,borderColor:lo.GREEN},"&.MuiChip-outlinedInfo":{color:lo.BLUE,borderColor:lo.BLUE},"&.MuiChip-outlinedWarning":{color:lo.ORANGE,borderColor:lo.ORANGE},"&.MuiChip-outlinedError":{color:lo.RED,borderColor:lo.RED}},outlined:{border:`solid 1px ${lo.GREYSCALE_0_15}`,backgroundColor:lo.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:fo,boxShadow:"none",backgroundColor:lo.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:lo.GREEN,borderColor:lo.GREEN},outlinedSecondary:{color:lo.BLUE,borderColor:lo.BLUE},label:{fontFamily:vo.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:x.createElement(wo,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:x.createElement(Eo,{"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:fo},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:fo,fontSize:uo,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:lo.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${lo.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:lo.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:lo.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:lo.GREYSCALE_0_05}}},endAdornment:{top:"auto",bottom:"4px",right:"4px !important",position:"absolute"},popupIndicator:{borderRadius:fo,border:`solid 1px ${lo.GREYSCALE_0_15}`,color:lo.GREYSCALE_0_60,marginRight:0,width:po,height:po},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${lo.GREYSCALE_0_15}`},clearIndicator:{borderRadius:fo,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:lo.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:uo}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:so,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:lo.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:lo.GREYSCALE_25,fontSize:so,fontFamily:vo.FONT_FAMILY,fontWeight:go,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:lo.TEXT_PRIMARY},"&.Mui-error":{color:lo.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:lo.TEXT_SECONDARY,content:"'(optional)'",fontWeight:mo,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:lo.TEXT_SECONDARY,content:"'(required)'",fontWeight:mo,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:uo,lineHeight:"16px",backgroundColor:lo.WHITE,borderRadius:fo,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.GREYSCALE_0_05}`,borderColor:lo.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${lo.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${lo.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.RED}`,boxShadow:`0px 0px 0px 1px ${lo.RED}, inset 0 2px 0 0 ${lo.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${lo.GREYSCALE_0_10}`,borderColor:lo.GREYSCALE_0_10,backgroundColor:lo.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:lo.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:lo.GREYSCALE_0_15,borderRadius:fo,boxShadow:`inset 0 2px 0 0 ${lo.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>x.createElement(Eo,{...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:lo.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:lo.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:lo.GREYSCALE_0_03},"&:active":{backgroundColor:lo.GREYSCALE_0_10},"&:focus":{backgroundColor:lo.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${lo.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:lo.GREYSCALE_0_30,"&:hover":{backgroundColor:lo.GREYSCALE_0_0,borderColor:lo.GREYSCALE_0_15},"& ~svg":{color:lo.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${lo.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:fo}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:lo.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:lo.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{fontSize:uo,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:so,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:so,fontWeight:go,color:lo.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:go}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${lo.GREYSCALE_0_15}, 0px 0px 0px 1px ${lo.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:x.createElement(Io,null),checkedIcon:x.createElement(Mo,null)},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:lo.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:lo.GREYSCALE_0_20}},"&.Mui-disabled":{fill:lo.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:x.createElement(Cg,null),checkedIcon:x.createElement(Lo,null),indeterminateIcon:x.createElement(Ao,null)},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:fo,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:lo.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:lo.GREYSCALE_0_55,color:lo.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:lo.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:lo.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:lo.GREYSCALE_0_55,"&:hover":{color:lo.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:lo.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:lo.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:uo,color:lo.TEXT_PRIMARY,lineHeight:"16px",fontWeight:go},secondary:{fontSize:so,color:lo.GREYSCALE_45,fontWeight:mo,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:uo,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:lo.GREYSCALE_0_03},"&:active":{backgroundColor:lo.GREYSCALE_0_05}}}},MuiListItemButton:{styleOverrides:{root:{fontSize:uo,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:lo.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:so,borderBottom:`solid 1px ${lo.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:uo,color:lo.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:lo.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:lo.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:lo.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:lo.RED}}},"&.Mui-focusVisible":{backgroundColor:lo.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:lo.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:lo.GREEN,height:"24px","&.Mui-disabled":{color:lo.GREYSCALE_0_15}},rail:{backgroundColor:lo.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${lo.GREYSCALE_0_05}`,borderRadius:fo,boxShadow:`inset 0px 0px 0px 1px ${lo.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${lo.GREYSCALE_0_05}`,borderRadius:fo},thumb:{height:"16px",width:"16px",borderRadius:fo,backgroundColor:lo.WHITE,boxShadow:`0px 1px 2px 0px ${lo.GREYSCALE_0_15}, 0px 0px 0px 1px ${lo.GREYSCALE_0_05}`,"&:hover":{borderRadius:fo,boxShadow:`0 2px 4px 0 ${lo.GREYSCALE_0_30}, 0 0 0 1px ${lo.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${lo.GREYSCALE_0_15}, 0 0 0 1px ${lo.GREYSCALE_0_06}, 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${lo.GREYSCALE_0_15}, 0 0 0 1px ${lo.GREYSCALE_0_06}, 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:lo.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:lo.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:lo.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:lo.GREYSCALE_0_15},markLabel:{color:lo.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:lo.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:lo.WHITE,color:lo.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:lo.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:lo.GREEN_PALE,boxShadow:`0 0 0 3px ${Dc(lo.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:lo.BLUE_PALE,boxShadow:`0 0 0 3px ${Dc(lo.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:lo.GREYSCALE_0_15,borderRadius:fo},thumb:{height:"16px",width:"16px",borderRadius:fo,backgroundColor:lo.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:uo,fontWeight:go,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${lo.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${lo.MISC_FOCUS_BORDER}`,backgroundColor:lo.GREYSCALE_0_03,borderRadius:fo},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:lo.GREYSCALE_25,"&.Mui-selected":{color:lo.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:uo,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{height:"100%",marginLeft:2,marginRight:2},indicator:{height:2},vertical:{borderRight:`1px solid ${lo.GREYSCALE_0_15}`,"& .MuiTab-root":{"&:hover":{borderBottomColor:"transparent",boxShadow:`2px 0px 0px ${lo.GREYSCALE_80}`}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${lo.GREYSCALE_85}`,borderRight:`1px solid ${lo.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:go,backgroundColor:lo.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:lo.GREYSCALE_98,borderBottom:`1px solid ${lo.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${lo.GREYSCALE_85}`,borderTop:`1px solid ${lo.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:lo.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:lo.GREYSCALE_0_05,"&:hover":{backgroundColor:lo.GREYSCALE_0_03}},"&&:hover":{backgroundColor:lo.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>x.createElement(Do,{className:e})},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 ${lo.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:uo,borderRadius:fo,padding:"7px 16px",border:`1px solid ${lo.GREYSCALE_0_15}`,backgroundColor:lo.GREYSCALE_100_60,color:lo.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:lo.GREYSCALE_0_10,border:`1px solid ${lo.GREYSCALE_0_30}`},"&:hover":{backgroundColor:lo.GREYSCALE_0_03,border:`1px solid ${lo.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:lo.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${lo.MISC_FOCUS_BORDER}`,border:`1px solid ${lo.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:lo.GREYSCALE_25,backgroundColor:lo.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:lo.GREYSCALE_0_10,border:`1px solid ${lo.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:so,height:24,width:24,padding:7},sizeLarge:{fontSize:co,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:uo,borderRadius:fo}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:lo.GREYSCALE_20},tooltip:{backgroundColor:lo.GREYSCALE_20,fontSize:so,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}};const Rg={mode:"light",primary:{light:lo.GREEN_PALE,main:lo.GREEN,dark:lo.GREEN_DARK,contrastText:lo.WHITE},secondary:{light:lo.BLUE_PALE,main:lo.BLUE,dark:lo.BLUE_DARK,contrastText:lo.WHITE},error:{light:lo.RED_PALE,main:lo.RED,dark:lo.RED_DARK,contrastText:lo.WHITE},warning:{light:lo.ORANGE_PALE,main:lo.ORANGE,dark:lo.ORANGE_DARK,contrastText:lo.WHITE},success:{light:lo.GREEN_PALE,main:lo.GREEN,dark:lo.GREEN_DARK,contrastText:lo.WHITE},info:{light:lo.BLUE_PALE,main:lo.BLUE,dark:lo.BLUE_DARK,contrastText:lo.WHITE},text:{primary:lo.TEXT_PRIMARY,secondary:lo.TEXT_SECONDARY,disabled:lo.GREYSCALE_0_30},action:{hover:lo.GREYSCALE_0_03,hoverOpacity:.05,selected:lo.GREYSCALE_0_05,focus:lo.MISC_FOCUS_BORDER},amethyst:{main:lo.PURPLE,light:lo.PURPLE_PALE,dark:lo.PURPLE_DARK,contrastText:lo.WHITE},background:{paper:lo.WHITE,default:lo.GREYSCALE_95},divider:lo.GREYSCALE_0_15},Lg=e=>({components:wg,palette:Rg,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:uo,fontWeightLight:ho,fontWeightRegular:mo,fontWeightMedium:go,fontWeightBold:bo,htmlFontSize:uo,fontFamily:vo.FONT_FAMILY,button:{fontWeight:go,fontSize:uo,textTransform:"none"},body1:{fontSize:co,lineHeight:"24px"},body2:{fontSize:uo,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:po,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:co,fontWeight:go,lineHeight:"16px"},h6:{fontSize:uo,fontWeight:go,lineHeight:"16px"},caption:{color:lo.TEXT_SECONDARY},subtitle1:{fontSize:uo,color:lo.TEXT_SECONDARY},subtitle2:{fontSize:so,color:lo.TEXT_SECONDARY}},shape:{borderRadius:fo}}),Ag={...ao,MISC_FOCUS_BORDER:lo.MISC_FOCUS_BORDER},Ig=Lg().palette,Mg={TEXT:Ig.text.primary,DISABLED:Ig.text.disabled,HOVER:Ig.action.hover,WHITE:Ag.GREYSCALE_100,BORDER_LIGHT:Ag.GREYSCALE_90,BORDER_MEDIUM:Ag.GREYSCALE_85,BORDER_HEAVY:Ag.GREYSCALE_50,DARK_MODE_TEXT:Ag.GREYSCALE_95,DARK_MODE_BORDER:Ag.GREYSCALE_95,DARK_MODE_DISABLED:Ag.GREYSCALE_70,DARK_MODE_BACKGROUND:Ag.GREYSCALE_20,TRANSPARENT:"transparent",NULL_VALUE_BACKGROUND:Ag.GREYSCALE_95};function Dg(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Pg(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function _g(){}var Og=.7,Tg=1/Og,kg="\\s*([+-]?\\d+)\\s*",qg="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ng="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Fg=/^#([0-9a-f]{3,8})$/,zg=new RegExp(`^rgb\\(${kg},${kg},${kg}\\)$`),jg=new RegExp(`^rgb\\(${Ng},${Ng},${Ng}\\)$`),$g=new RegExp(`^rgba\\(${kg},${kg},${kg},${qg}\\)$`),Gg=new RegExp(`^rgba\\(${Ng},${Ng},${Ng},${qg}\\)$`),Bg=new RegExp(`^hsl\\(${qg},${Ng},${Ng}\\)$`),Hg=new RegExp(`^hsla\\(${qg},${Ng},${Ng},${qg}\\)$`),Wg={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 Vg(){return this.rgb().formatHex()}function Yg(){return this.rgb().formatRgb()}function Ug(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Fg.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Kg(t):3===n?new Qg(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Xg(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Xg(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=zg.exec(e))?new Qg(t[1],t[2],t[3],1):(t=jg.exec(e))?new Qg(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=$g.exec(e))?Xg(t[1],t[2],t[3],t[4]):(t=Gg.exec(e))?Xg(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Bg.exec(e))?ib(t[1],t[2]/100,t[3]/100,1):(t=Hg.exec(e))?ib(t[1],t[2]/100,t[3]/100,t[4]):Wg.hasOwnProperty(e)?Kg(Wg[e]):"transparent"===e?new Qg(NaN,NaN,NaN,0):null}function Kg(e){return new Qg(e>>16&255,e>>8&255,255&e,1)}function Xg(e,t,n,r){return r<=0&&(e=t=n=NaN),new Qg(e,t,n,r)}function Jg(e){return e instanceof _g||(e=Ug(e)),e?new Qg((e=e.rgb()).r,e.g,e.b,e.opacity):new Qg}function Zg(e,t,n,r){return 1===arguments.length?Jg(e):new Qg(e,t,n,null==r?1:r)}function Qg(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function eb(){return`#${ob(this.r)}${ob(this.g)}${ob(this.b)}`}function tb(){const e=nb(this.opacity);return`${1===e?"rgb(":"rgba("}${rb(this.r)}, ${rb(this.g)}, ${rb(this.b)}${1===e?")":`, ${e})`}`}function nb(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function rb(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ob(e){return((e=rb(e))<16?"0":"")+e.toString(16)}function ib(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new lb(e,t,n,r)}function ab(e){if(e instanceof lb)return new lb(e.h,e.s,e.l,e.opacity);if(e instanceof _g||(e=Ug(e)),!e)return new lb;if(e instanceof lb)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new lb(a,l,s,e.opacity)}function lb(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function sb(e){return(e=(e||0)%360)<0?e+360:e}function ub(e){return Math.max(0,Math.min(1,e||0))}function cb(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Dg(_g,Ug,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Vg,formatHex:Vg,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ab(this).formatHsl()},formatRgb:Yg,toString:Yg}),Dg(Qg,Zg,Pg(_g,{brighter(e){return e=null==e?Tg:Math.pow(Tg,e),new Qg(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Og:Math.pow(Og,e),new Qg(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Qg(rb(this.r),rb(this.g),rb(this.b),nb(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:eb,formatHex:eb,formatHex8:function(){return`#${ob(this.r)}${ob(this.g)}${ob(this.b)}${ob(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:tb,toString:tb})),Dg(lb,(function(e,t,n,r){return 1===arguments.length?ab(e):new lb(e,t,n,null==r?1:r)}),Pg(_g,{brighter(e){return e=null==e?Tg:Math.pow(Tg,e),new lb(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Og:Math.pow(Og,e),new lb(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Qg(cb(e>=240?e-240:e+120,o,r),cb(e,o,r),cb(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new lb(sb(this.h),ub(this.s),ub(this.l),nb(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=nb(this.opacity);return`${1===e?"hsl(":"hsla("}${sb(this.h)}, ${100*ub(this.s)}%, ${100*ub(this.l)}%${1===e?")":`, ${e})`}`}}));const db=Math.PI/180,pb=180/Math.PI,fb=.96422,hb=1,mb=.82521,gb=4/29,bb=6/29,vb=3*bb*bb,yb=bb*bb*bb;function xb(e){if(e instanceof Sb)return new Sb(e.l,e.a,e.b,e.opacity);if(e instanceof Ab)return Ib(e);e instanceof Qg||(e=Jg(e));var t,n,r=Rb(e.r),o=Rb(e.g),i=Rb(e.b),a=Eb((.2225045*r+.7168786*o+.0606169*i)/hb);return r===o&&o===i?t=n=a:(t=Eb((.4360747*r+.3850649*o+.1430804*i)/fb),n=Eb((.0139322*r+.0971045*o+.7141733*i)/mb)),new Sb(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Sb(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Eb(e){return e>yb?Math.pow(e,1/3):e/vb+gb}function Cb(e){return e>bb?e*e*e:vb*(e-gb)}function wb(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Rb(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Lb(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Ab)return new Ab(e.h,e.c,e.l,e.opacity);if(e instanceof Sb||(e=xb(e)),0===e.a&&0===e.b)return new Ab(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*pb;return new Ab(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Ab(e,t,n,null==r?1:r)}function Ab(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Ib(e){if(isNaN(e.h))return new Sb(e.l,0,0,e.opacity);var t=e.h*db;return new Sb(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}Dg(Sb,(function(e,t,n,r){return 1===arguments.length?xb(e):new Sb(e,t,n,null==r?1:r)}),Pg(_g,{brighter(e){return new Sb(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Sb(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Qg(wb(3.1338561*(t=fb*Cb(t))-1.6168667*(e=hb*Cb(e))-.4906146*(n=mb*Cb(n))),wb(-.9787684*t+1.9161415*e+.033454*n),wb(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Dg(Ab,Lb,Pg(_g,{brighter(e){return new Ab(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new Ab(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return Ib(this).rgb()}}));const Mb=(e,t)=>{const n=Lb(e),r=n.l<70;return 0===n.opacity?(n.opacity=t.opacity,n.toString()):r?n.brighter(t.brighter).toString():n.darker(t.darker).toString()},Db=e=>{if(e){const t=Zg(e);return.299*t.r+.587*t.g+.114*t.b<125}return!1},Pb=e=>!!e&&0===Zg(e).opacity,_b=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,Ob=e=>{const t=_b.exec(e);if(t){const[,e,n,r,o]=t;return Zg(+n,+r,+o,+e/255)}return Zg(e)},Tb=e=>{const t=Ob(e);return Number.isNaN(t.r)?null:t.toString()},kb=e=>{e.stopPropagation(),e.preventDefault()},qb="#grid",Nb=(e,t)=>{const n=null==t?void 0:t.closest(e);return n&&window.getComputedStyle(n).backgroundColor},Fb=(e,t,n,r,o)=>{const i=Nb(".qv-object .qv-inner-object",n),a=Nb(".qv-panel-sheet",n),l=Nb(qb,n),s=null!=l?l:a,u=(e=>{var t,n,r,o,i,a;const l=null===(t=e.components)||void 0===t?void 0:t.find((e=>"general"===e.key)),s=null==l||null===(n=l.bgColor)||void 0===n?void 0:n.colorExpression,u=null==l||null===(r=l.bgColor)||void 0===r||null===(r=r.color)||void 0===r?void 0:r.color;if((null==l||null===(o=l.bgColor)||void 0===o?void 0:o.useColorExpression)&&s)return Tb(s);if("none"===u)return"transparent";if(void 0===u)return;const c=Ob(u);return c.opacity=null!==(i=null==l||null===(a=l.bgColor)||void 0===a||null===(a=a.color)||void 0===a?void 0:a.alpha)&&void 0!==i?i:c.opacity,c.toString()})(e),c=null==r?void 0:r(t),d=null==o?void 0:o(t),p=c||i||d,f=Pb(p),h=Db(f?s:p),m=((e,t,n)=>e&&!Pb(e)?e:Pb(t)?n&&!Pb(n)?n:Mg.WHITE:t)(u,p,s);return{color:p,headerColor:m,isDark:h}},zb=(o,i,a,l)=>{const s=n(),u=((n,r={attributeFilter:["style"],childList:!1,subtree:!1})=>{const[o,i]=e([]);return t((()=>{let e;return n&&(e=new MutationObserver((e=>{i(e)})),e.observe(n,r)),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}}),[n,r]),o})(null==i?void 0:i.closest(qb),{attributeFilter:["style"],childList:!1,subtree:!1,attributeOldValue:!0}).filter((({oldValue:e})=>null==e?void 0:e.includes("background"))).map((({oldValue:e})=>e)).join(",");return r((()=>({...s,background:Fb(o,s,i,a,l)})),[s.name(),i,a,l,o,u])};function jb(e,t){const n=r((()=>({isLoading:!0})),t),[i,a]=o((async()=>{try{return await e()}finally{n.isLoading=!1}}),t);return[i,n.isLoading,a]}const $b=3,Gb="N";function Bb(e,t,n){let r=0,o=e.length;if(e.length<=1)return null;if(n(e)<=t)return null;for(;r<=o;){const i=Math.floor((r+o)/2),a=e.slice(0,i),l=e.slice(0,i-1),s=n(a),u=n(l);if(s>t&&u<=t)return e.slice(i-1)||null;if(s===t)return e.slice(i)||null;s<t?r=i+1:o=i}return null}function Hb({fontSize:e="12px",fontFamily:t="Source Sans Pro, Arial, sans-serif",fontStyle:n="normal",fontWeight:r="normal"},o){const{maxNbrLinesOfText:i=$b}=null!=o?o:{},{estimateWidth:a,measureText:l,estimateLineCount:s}=L((()=>{const o=document.createElement("canvas").getContext("2d");o.font=`${n} ${r} ${e} ${t}`;const a=ar(o.measureText.bind(o)),l=e=>+a(e).width.toFixed(2),s=ar((({text:e,maxWidth:t,isNumeric:n=!1})=>{if(n)return 1;let r=0,o=e;do{r+=1,o=Bb(o,t,l)}while(null!==o&&r<i);return r}),(({text:e,maxWidth:t,isNumeric:n})=>`${e}-${t}-${n?"true":"false"}`));return{measureText:e=>a(e).width,estimateWidth:e=>a(Gb).width*e,estimateLineCount:s}}),[n,r,e,t,i]);return{estimateWidth:a,measureText:l,estimateLineCount:s}}var Wb,Vb=N;Wb=Vb.createRoot,Vb.hydrateRoot;function Yb(e,t){const[n,r]=A(t);n.some(((e,n)=>e!==t[n]))&&(r(t),e())}var Ub={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_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_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 Kb=({translator:e})=>(L((()=>function(e){if(e&&e.get&&e.add){const t="NebulaTableUtils.MenuGroupLabel.Sorting";if(e.get(t)!==t)return;Object.keys(Ub).forEach((t=>{e.add(Ub[t])}))}}(e)),[e]),e),Xb=document.createElement("textarea");function Jb(e){Xb.value=e,document.body.appendChild(Xb),Xb.select(),Xb.setSelectionRange(0,Xb.value.length),document.execCommand("copy"),document.body.removeChild(Xb)}Xb.style.position="absolute",Xb.style.left="-9999px",Xb.setAttribute("readonly","");function Zb(){null==i||i(((e,t)=>{const n=t.target,r=null==n?void 0:n.closest(`.${Tt}`);null!=r&&r.title&&e.addItem({translation:"contextMenu.copyCellValue",icon:"lui-icon lui-icon--copy",tid:"copy-cell-context-item",select:async()=>{(e=>{var t;const n=e.title;n&&(null!==(t=navigator.clipboard)&&void 0!==t&&t.writeText?navigator.clipboard.writeText(n).catch((()=>Jb(n))):Jb(n))})(r)}})}))}var Qb="$$material";function ev(){return ev=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ev.apply(null,arguments)}function tv(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}const nv=["values","unit","step"],rv=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)=>Xr({},e,{[t.key]:t.val})),{})};function ov(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ro(e,nv),i=rv(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Xr({keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var iv={borderRadius:4};function av(e,t){return t?Fl(e,t,{clone:!1}):e}const lv={xs:0,sm:600,md:900,lg:1200,xl:1536},sv={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${lv[e]}px)`};function uv(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||sv;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||sv;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||lv).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function cv(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function dv(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:cv(e,n)||r,t&&(o=t(o,r,e)),o}function pv(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=cv(e.theme,r)||{};return uv(e,i,(e=>{let r=dv(a,o,e);return e===r&&"string"==typeof e&&(r=dv(a,o,`${t}${"default"===e?"":cs(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const fv={m:"margin",p:"padding"},hv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gv=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!mv[e])return[e];e=mv[e]}const[t,n]=e.split(""),r=fv[t],o=hv[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),bv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function yv(e,t,n,r){var o;const i=null!=(o=cv(e,t,!1))?o:n;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 xv(e){return yv(e,"spacing",8)}function Sv(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Ev(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Sv(t,n),e)),{})}(gv(n),r);return uv(e,e[n],o)}function Cv(e,t){const n=xv(e.theme);return Object.keys(e).map((r=>Ev(e,t,r,n))).reduce(av,{})}function wv(e){return Cv(e,bv)}function Rv(e){return Cv(e,vv)}function Lv(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?av(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Av(e){return"number"!=typeof e?e:`${e}px solid`}function Iv(e,t){return pv({prop:e,themeKey:"borders",transform:t})}wv.propTypes={},wv.filterProps=bv,Rv.propTypes={},Rv.filterProps=vv;const Mv=Iv("border",Av),Dv=Iv("borderTop",Av),Pv=Iv("borderRight",Av),_v=Iv("borderBottom",Av),Ov=Iv("borderLeft",Av),Tv=Iv("borderColor"),kv=Iv("borderTopColor"),qv=Iv("borderRightColor"),Nv=Iv("borderBottomColor"),Fv=Iv("borderLeftColor"),zv=Iv("outline",Av),jv=Iv("outlineColor"),$v=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=yv(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Sv(t,e)});return uv(e,e.borderRadius,n)}return null};$v.propTypes={},$v.filterProps=["borderRadius"],Lv(Mv,Dv,Pv,_v,Ov,Tv,kv,qv,Nv,Fv,$v,zv,jv);const Gv=e=>{if(void 0!==e.gap&&null!==e.gap){const t=yv(e.theme,"spacing",8),n=e=>({gap:Sv(t,e)});return uv(e,e.gap,n)}return null};Gv.propTypes={},Gv.filterProps=["gap"];const Bv=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=yv(e.theme,"spacing",8),n=e=>({columnGap:Sv(t,e)});return uv(e,e.columnGap,n)}return null};Bv.propTypes={},Bv.filterProps=["columnGap"];const Hv=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=yv(e.theme,"spacing",8),n=e=>({rowGap:Sv(t,e)});return uv(e,e.rowGap,n)}return null};Hv.propTypes={},Hv.filterProps=["rowGap"];function Wv(e,t){return"grey"===t?t:e}Lv(Gv,Bv,Hv,pv({prop:"gridColumn"}),pv({prop:"gridRow"}),pv({prop:"gridAutoFlow"}),pv({prop:"gridAutoColumns"}),pv({prop:"gridAutoRows"}),pv({prop:"gridTemplateColumns"}),pv({prop:"gridTemplateRows"}),pv({prop:"gridTemplateAreas"}),pv({prop:"gridArea"}));function Vv(e){return e<=1&&0!==e?100*e+"%":e}Lv(pv({prop:"color",themeKey:"palette",transform:Wv}),pv({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Wv}),pv({prop:"backgroundColor",themeKey:"palette",transform:Wv}));const Yv=pv({prop:"width",transform:Vv}),Uv=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||lv[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Vv(t)}};return uv(e,e.maxWidth,t)}return null};Uv.filterProps=["maxWidth"];const Kv=pv({prop:"minWidth",transform:Vv}),Xv=pv({prop:"height",transform:Vv}),Jv=pv({prop:"maxHeight",transform:Vv}),Zv=pv({prop:"minHeight",transform:Vv});pv({prop:"size",cssProperty:"width",transform:Vv}),pv({prop:"size",cssProperty:"height",transform:Vv});Lv(Yv,Uv,Kv,Xv,Jv,Zv,pv({prop:"boxSizing"}));var Qv={border:{themeKey:"borders",transform:Av},borderTop:{themeKey:"borders",transform:Av},borderRight:{themeKey:"borders",transform:Av},borderBottom:{themeKey:"borders",transform:Av},borderLeft:{themeKey:"borders",transform:Av},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Av},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:$v},color:{themeKey:"palette",transform:Wv},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Wv},backgroundColor:{themeKey:"palette",transform:Wv},p:{style:Rv},pt:{style:Rv},pr:{style:Rv},pb:{style:Rv},pl:{style:Rv},px:{style:Rv},py:{style:Rv},padding:{style:Rv},paddingTop:{style:Rv},paddingRight:{style:Rv},paddingBottom:{style:Rv},paddingLeft:{style:Rv},paddingX:{style:Rv},paddingY:{style:Rv},paddingInline:{style:Rv},paddingInlineStart:{style:Rv},paddingInlineEnd:{style:Rv},paddingBlock:{style:Rv},paddingBlockStart:{style:Rv},paddingBlockEnd:{style:Rv},m:{style:wv},mt:{style:wv},mr:{style:wv},mb:{style:wv},ml:{style:wv},mx:{style:wv},my:{style:wv},margin:{style:wv},marginTop:{style:wv},marginRight:{style:wv},marginBottom:{style:wv},marginLeft:{style:wv},marginX:{style:wv},marginY:{style:wv},marginInline:{style:wv},marginInlineStart:{style:wv},marginInlineEnd:{style:wv},marginBlock:{style:wv},marginBlockStart:{style:wv},marginBlockEnd:{style:wv},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:Gv},rowGap:{style:Hv},columnGap:{style:Bv},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vv},maxWidth:{style:Uv},minWidth:{transform:Vv},height:{transform:Vv},maxHeight:{transform:Vv},minHeight:{transform:Vv},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ey(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=cv(n,l)||{};if(u)return u(o);return uv(o,t,(t=>{let n=dv(c,s,t);return t===n&&"string"==typeof t&&(n=dv(c,s,`${e}${"default"===t?"":cs(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Qv;function l(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],u=i,"function"==typeof l?l(u):l);var l,u;if(null!=o)if("object"==typeof o)if(a[n])s=av(s,e(n,o,i,a));else{const e=uv({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=av(s,e):s[n]=t({sx:o,theme:i})}else s=av(s,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const ty=ey();ty.filterProps=["sx"];var ny=ty;function ry(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}const oy=["breakpoints","palette","spacing","shape"];function iy(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=ro(e,oy),l=ov(n),s=function(e=8){if(e.mui)return e;const t=xv({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let u=Fl({breakpoints:l,direction:"ltr",components:{},palette:Xr({mode:"light"},r),spacing:s,shape:Xr({},iv,i)},a);return u.applyStyles=ry,u=t.reduce(((e,t)=>Fl(e,t)),u),u.unstable_sxConfig=Xr({},Qv,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return ny({sx:e,theme:this})},u}var ay=Object.freeze({__proto__:null,default:iy,private_createBreakpoints:ov,unstable_applyStyles:ry});function ly(e=null){const t=y.useContext(yl);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const sy=iy();function uy(e=sy){return ly(e)}const cy=["sx"],dy=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Qv;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function py(e){const{sx:t}=e,n=ro(e,cy),{systemProps:r,otherProps:o}=dy(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return ql(n)?Xr({},r,n):r}:Xr({},r,t),Xr({},o,{sx:i})}var fy=Object.freeze({__proto__:null,default:ny,extendSxProp:py,unstable_createStyleFunctionSx:ey,unstable_defaultSxConfig:Qv});const hy=["className","component"];function my(e){if(e.type)return e;if("#"===e.charAt(0))return my(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Bo(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=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(r))throw new Error(Bo(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function gy(e,t){return e=my(e),t=function(e,t=0,n=1){return $s(e,t,n)}(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:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}var by=y.createContext(null);function vy(){return y.useContext(by)}var yy="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function xy(e){const{children:t,theme:n}=e,r=vy(),o=y.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Xr({},e,t)}(r,n);return null!=e&&(e[yy]=null!==r),e}),[n,r]);return cc.jsx(by.Provider,{value:o,children:t})}const Sy=["value"],Ey=y.createContext();function Cy(e){let{value:t}=e,n=ro(e,Sy);return cc.jsx(Ey.Provider,Xr({value:null==t||t},n))}const wy=y.createContext(void 0);function Ry({value:e,children:t}){return cc.jsx(wy.Provider,{value:e,children:t})}function Ly({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ts(o.defaultProps,r):o.styleOverrides||o.variants?r:Ts(o,r)}({props:e,name:t,theme:{components:y.useContext(wy)}})}const Ay={};function Iy(e,t,n,r=!1){return y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?Xr({},t,{[e]:i}):i;return r?()=>a:a}return Xr({},t,e?{[e]:n}:n)}),[e,t,n,r])}function My(e){const{children:t,theme:n,themeId:r}=e,o=ly(Ay),i=vy()||Ay,a=Iy(r,o,n),l=Iy(r,i,n,!0),s="rtl"===a.direction;return cc.jsx(xy,{theme:l,children:cc.jsx(yl.Provider,{value:a,children:cc.jsx(Cy,{value:s,children:cc.jsx(Ry,{value:null==a?void 0:a.components,children:t})})})})}var Dy,Py={},_y={exports:{}};(Dy=_y).exports=function(e){return e&&e.__esModule?e:{default:e}},Dy.exports.__esModule=!0,Dy.exports.default=Dy.exports;var Oy=_y.exports,Ty=z(Ho),ky=z(Gs),qy=Oy;Object.defineProperty(Py,"__esModule",{value:!0});var Ny=Py.alpha=Xy;Py.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),i=Wy(e),a=Wy(t),l=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Yy({type:"rgb",values:l})},Py.colorChannel=void 0;var Fy=Py.darken=Jy;Py.decomposeColor=Wy,Py.emphasize=Qy;var zy=Py.getContrastRatio=function(e,t){const n=Ky(e),r=Ky(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};Py.getLuminance=Ky,Py.hexToRgb=Hy,Py.hslToRgb=Uy;var jy=Py.lighten=Zy;Py.private_safeAlpha=function(e,t,n){try{return Xy(e,t)}catch(t){return e}},Py.private_safeColorChannel=void 0,Py.private_safeDarken=function(e,t,n){try{return Jy(e,t)}catch(t){return e}},Py.private_safeEmphasize=function(e,t,n){try{return Qy(e,t)}catch(t){return e}},Py.private_safeLighten=function(e,t,n){try{return Zy(e,t)}catch(t){return e}},Py.recomposeColor=Yy,Py.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=Wy(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 $y=qy(Ty),Gy=qy(ky);function By(e,t=0,n=1){return(0,Gy.default)(e,t,n)}function Hy(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Wy(e){if(e.type)return e;if("#"===e.charAt(0))return Wy(Hy(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,$y.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=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(r))throw new Error((0,$y.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Vy=e=>{const t=Wy(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Py.colorChannel=Vy;function Yy(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Uy(e){e=Wy(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Yy({type:l,values:s})}function Ky(e){let t="hsl"===(e=Wy(e)).type||"hsla"===e.type?Wy(Uy(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 Xy(e,t){return e=Wy(e),t=By(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Yy(e)}function Jy(e,t){if(e=Wy(e),t=By(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 n=0;n<3;n+=1)e.values[n]*=1-t;return Yy(e)}function Zy(e,t){if(e=Wy(e),t=By(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Yy(e)}function Qy(e,t=.15){return Ky(e)>.5?Jy(e,t):Zy(e,t)}Py.private_safeColorChannel=(e,t)=>{try{return Vy(e)}catch(t){return e}};var ex={black:"#000",white:"#fff"};var tx={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"};var nx={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var rx={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"};var ox={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"};var ix={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"};var ax={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var lx={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"};const sx=["mode","contrastThreshold","tonalOffset"],ux={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:ex.white,default:ex.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}},cx={text:{primary:ex.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:ex.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 dx(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=jy(e.main,o):"dark"===t&&(e.dark=Fy(e.main,i)))}function px(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=tv(e,sx),i=e.primary||function(e="light"){return"dark"===e?{main:ix[200],light:ix[50],dark:ix[400]}:{main:ix[700],light:ix[400],dark:ix[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:nx[200],light:nx[50],dark:nx[400]}:{main:nx[500],light:nx[300],dark:nx[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:rx[500],light:rx[300],dark:rx[700]}:{main:rx[700],light:rx[400],dark:rx[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:ax[400],light:ax[300],dark:ax[700]}:{main:ax[700],light:ax[500],dark:ax[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:lx[400],light:lx[300],dark:lx[700]}:{main:lx[800],light:lx[500],dark:lx[900]}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:ox[400],light:ox[300],dark:ox[700]}:{main:"#ed6c02",light:ox[500],dark:ox[900]}}(t);function d(e){return zy(e,cx.text.primary)>=n?cx.text.primary:ux.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=ev({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Bo(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Bo(12,t?` (${t})`:"",JSON.stringify(e.main)));return dx(e,"light",o,r),dx(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:cx,light:ux};return Fl(ev({common:ev({},ex),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:u,name:"success"}),grey:tx,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const fx=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const hx={textTransform:"uppercase"},mx='"Roboto", "Helvetica", "Arial", sans-serif';function gx(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=mx,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,p=tv(n,fx),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,n,o,i)=>{return ev({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===mx?{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(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,hx),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,hx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fl(ev({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function bx(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var vx=["none",bx(0,2,1,-1,0,1,1,0,0,1,3,0),bx(0,3,1,-2,0,2,2,0,0,1,5,0),bx(0,3,3,-2,0,3,4,0,0,1,8,0),bx(0,2,4,-1,0,4,5,0,0,1,10,0),bx(0,3,5,-1,0,5,8,0,0,1,14,0),bx(0,3,5,-1,0,6,10,0,0,1,18,0),bx(0,4,5,-2,0,7,10,1,0,2,16,1),bx(0,5,5,-3,0,8,10,1,0,3,14,2),bx(0,5,6,-3,0,9,12,1,0,3,16,2),bx(0,6,6,-3,0,10,14,1,0,4,18,3),bx(0,6,7,-4,0,11,15,1,0,4,20,3),bx(0,7,8,-4,0,12,17,2,0,5,22,4),bx(0,7,8,-4,0,13,19,2,0,5,24,4),bx(0,7,9,-4,0,14,21,2,0,5,26,4),bx(0,8,9,-5,0,15,22,2,0,6,28,5),bx(0,8,10,-5,0,16,24,2,0,6,30,5),bx(0,8,11,-5,0,17,26,2,0,6,32,5),bx(0,9,11,-5,0,18,28,2,0,7,34,6),bx(0,9,12,-6,0,19,29,2,0,7,36,6),bx(0,10,13,-6,0,20,31,3,0,8,38,7),bx(0,10,13,-6,0,21,33,3,0,8,40,7),bx(0,10,14,-6,0,22,35,3,0,8,42,7),bx(0,11,14,-7,0,23,36,3,0,9,44,8),bx(0,11,15,-7,0,24,38,3,0,9,46,8)];const yx=["duration","easing","delay"],xx={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)"},Sx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ex(e){return`${Math.round(e)}ms`}function Cx(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function wx(e){const t=ev({},xx,e.easing),n=ev({},Sx,e.duration);return ev({getAutoHeightDuration:Cx,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return tv(r,yx),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Ex(o)} ${i} ${"string"==typeof a?a:Ex(a)}`)).join(",")}},e,{easing:t,duration:n})}var Rx={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Lx=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ax(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=tv(e,Lx);if(e.vars)throw new Error(Bo(18));const l=px(r),s=iy(e);let u=Fl(s,{mixins:(c=s.breakpoints,d=n,ev({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:vx.slice(),typography:gx(l,i),transitions:wx(o),zIndex:ev({},Rx)});var c,d;return u=Fl(u,a),u=t.reduce(((e,t)=>Fl(e,t)),u),u.unstable_sxConfig=ev({},Qv,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return ny({sx:e,theme:this})},u}var Ix=Ax();function Mx(){const e=uy(Ix);return e[Qb]||e}var Dx,Px={},_x={exports:{}};var Ox,Tx={exports:{}};var kx=z(kl),qx=z(jl),Nx=z(ds),Fx=z(us),zx=z(ay),jx=z(fy),$x=Oy;Object.defineProperty(Px,"__esModule",{value:!0});var Gx=Px.default=function(e={}){const{themeId:t,defaultTheme:n=eS,rootShouldForwardProp:r=Qx,slotShouldForwardProp:o=Qx}=e,i=e=>(0,Ux.default)((0,Bx.default)({},e,{theme:nS((0,Bx.default)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,Wx.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=rS(tS(s))}=a,p=(0,Hx.default)(a,Jx),f=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,h=c||!1;let m=Qx;"Root"===s||"root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,Wx.default)(e,(0,Bx.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Vx.isPlainObject)(e)?r=>oS(e,(0,Bx.default)({},r,{theme:nS({theme:r.theme,defaultTheme:n,themeId:t})})):e,v=(r,...o)=>{let a=b(r);const s=o?o.map(b):[];l&&d&&s.push((e=>{const r=nS((0,Bx.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=oS(n,(0,Bx.default)({},e,{theme:r}))})),d(e,i)})),l&&!f&&s.push((e=>{var r;const o=nS((0,Bx.default)({},e,{defaultTheme:n,themeId:t}));return oS({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},(0,Bx.default)({},e,{theme:o}))})),h||s.push(i);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=g(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(v.withConfig=g.withConfig),v}};Px.shouldForwardProp=Qx,Px.systemDefaultTheme=void 0;var Bx=$x((Dx||(Dx=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 n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}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}(_x)),_x.exports)),Hx=$x((Ox||(Ox=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Tx)),Tx.exports)),Wx=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=Zx(t);if(n&&n.has(e))return n.get(e);var r={__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(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(kx),Vx=qx;$x(Nx),$x(Fx);var Yx=$x(zx),Ux=$x(jx);const Kx=["ownerState"],Xx=["variants"],Jx=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Zx(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Zx=function(e){return e?n:t})(e)}function Qx(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const eS=Px.systemDefaultTheme=(0,Yx.default)(),tS=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function nS({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function rS(e){return e?(t,n)=>n[e]:null}function oS(e,t){let{ownerState:n}=t,r=(0,Hx.default)(t,Kx);const o="function"==typeof e?e((0,Bx.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>oS(e,(0,Bx.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,Hx.default)(o,Xx);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,Bx.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,Bx.default)({ownerState:n},r,n)):e.style))})),t}return o}var iS=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e;var aS=Gx({themeId:Qb,defaultTheme:Ix,rootShouldForwardProp:iS});const lS=["theme"];function sS(e){let{theme:t}=e,n=tv(e,lS);const r=t[Qb];return cc.jsx(My,ev({},n,{themeId:r?Qb:void 0,theme:r||t}))}var uS=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};const cS=_d(nh,{shouldForwardProp:e=>"isLastColumn"!==e&&"hoverColor"!==e})((({isLastColumn:e,hoverColor:t})=>({pointerEvents:"auto",touchAction:"none",display:"flex",position:"absolute",height:"100%",top:0,cursor:"col-resize",width:(e?4:9)+"px",justifyContent:e?"flex-end":"center",marginLeft:"-4px","&:hover:not(:focus, :active)":{[`& .${Nt}`]:{background:t||"#D9D9D9","@media (hover: none)":{background:"none"}}},"&:focus-visible, &:active":{outline:"none",[`& .${Nt}`]:{background:"#177fe6",borderLeft:"1px solid #fff",borderRight:e?void 0:"1px solid #fff"}}}))),dS=_d(nh)({position:"absolute",height:"100%",width:"3px"}),pS=({columnWidth:e,keyValue:t,isLastColumn:n,isPivot:r,hoverColor:o,updateWidthCallback:i,confirmWidthCallback:a,handleBlur:l,setIsAdjustingWidth:s,isLeftColumn:u})=>{const c=I({initWidth:e,columnWidth:e,initX:0}),d=n?0:1,p=r&&!u,f={left:p?c.current.columnWidth-d:"100%"},h=t=>{c.current={initWidth:e,columnWidth:e,initX:null!=t?t:c.current.initX}};Yb((()=>p&&h()),[e]);const m=e=>{const t=Math.max(e,Ft.PixelsMin);c.current.columnWidth=t,i(t)},g=()=>{if(c.current.columnWidth!==c.current.initWidth){const e={type:zt.Pixels,pixels:c.current.columnWidth};a(e)}else null==s||s(!1)},b=e=>{const t=c.current.initWidth+e.clientX-c.current.initX;m(t)},v=e=>{kb(e),document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",v),g()},y=e=>{const t=c.current.initWidth+e.touches[0].clientX-c.current.initX;m(t)},S=e=>{kb(e),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",S),g()},E=!r&&l?e=>{if(e.key===kt.LEFT||e.key===kt.RIGHT){kb(e);const t=5,n=e.key===kt.LEFT?-t:t;m(c.current.columnWidth+n)}else e.key===kt.SPACE||e.key===kt.ENTER?(kb(e),l(e),g()):e.key===kt.ESC&&(kb(e),l(e),m(c.current.initWidth))}:void 0;return x.createElement(cS,{className:qt,isLastColumn:n,hoverColor:o,style:f,key:t,onMouseDown:e=>{e.stopPropagation(),document.addEventListener("mousemove",b),document.addEventListener("mouseup",v),null==s||s(!0),h(e.clientX)},onDoubleClick:()=>a({type:zt.FitToContent}),onTouchStart:e=>{1===e.touches.length&&(e.stopPropagation(),document.addEventListener("touchmove",y),document.addEventListener("touchend",S),null==s||s(!0),h(e.touches[0].clientX))},onKeyDown:E,onBlur:l,onFocus:()=>h(),"data-testid":qt},x.createElement(dS,{className:Nt}))};function fS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"M15 4H1V2h14zm0 10H1v-2h14zm0-5H1V7h14z"}))));function mS(){return mS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mS.apply(null,arguments)}const gS=_d(nh,{shouldForwardProp:e=>"rightAligned"!==e&&"shouldShowMenuIcon"!==e})((({rightAligned:e,shouldShowMenuIcon:t})=>({...e?{marginRight:"auto"}:{marginLeft:"auto"},height:24,display:t?"flex":"none",fontWeight:"bold",width:"100%",alignItems:"center",justifyContent:"center"}))),bS=_d(hS,{shouldForwardProp:e=>"isInteractionsActive"!==e})((({isInteractionsActive:e})=>({minWidth:"unset",position:"relative",cursor:e?"pointer":"default"}))),vS=_d(Om)((({theme:e})=>({".MuiList-root":{padding:e.spacing(.5,0)}}))),yS=_d(Lh)((({theme:e})=>({"&.MuiDivider-root":{margin:e.spacing(.5)}}))),xS=_d(Fm)((({theme:e})=>({fontSize:"12px",height:24,fontWeight:"bold",padding:`${e.spacing(.25,2)} !important`,marginBottom:e.spacing(.5)}))),SS=_d(Fm,{shouldForwardProp:e=>"isSubMenu"!==e&&"isActive"!==e})((({theme:e,isSubMenu:t,isActive:n})=>({width:`calc(220px - ${e.spacing(1)} - ${t?10:0}px)`,maxHeight:32,borderRadius:`${e.spacing(.5)} !important`,margin:`${e.spacing(.25,.5)} !important`,padding:`${e.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")}))),ES=_d("div")((({theme:e})=>({position:"absolute",width:e.spacing(.5),height:16,left:0,top:"50%",transform:"TranslateY(-50%)",borderRadius:"0 2px 2px 0",background:"#01873d"}))),CS=_d("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center"}))),wS=_d(nf)((()=>({fontFamily:'"Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif',fontSize:"14px"}))),RS=_d(am)((({theme:e})=>({width:16,minWidth:"unset !important",marginRight:e.spacing(1.5),lineHeight:0})));function LS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const AS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){LS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5z"}))));let IS={};const MS=({autoFocus:e,id:t,onClick:n,itemTitle:r,icon:o,enabled:i,subMenus:a,isSubMenu:l,isActive:s,handleHeadCellMenuKeyDown:u})=>{const[c,d]=A(!1),p=I(null),f=D((e=>{e.stopPropagation(),d(!1)}),[d]);return x.createElement(x.Fragment,null,x.createElement(SS,{ref:a?p:null,key:t,"data-testid":`menu-item-${t}`,className:"nebula-table-utils-head-menu-item",onClick:async e=>{"keyup"!==e.type&&(n&&(await n(e),IS={}),null!=a&&a.length&&(d(!0),IS[r]=d))},disabled:!i,autoFocus:e,isSubMenu:!!l,isActive:!!s,onKeyDown:u},s&&x.createElement(ES,null),x.createElement(CS,null,x.createElement(RS,null,x.createElement(o,null)),x.createElement(wS,{variant:"body2"},r)),null!=a&&a.length?x.createElement(AS,null):null),(null==a?void 0:a.length)&&x.createElement(_S,{isSubMenu:!0,open:c,anchorEl:p.current,onClose:f,menuGroups:(h=a,m=IS,h.map((e=>e.map((e=>{var t;return{...e.groupHeading?{groupHeading:e.groupHeading}:{},items:null===(t=e.items)||void 0===t?void 0:t.map((({onClick:e,...t})=>({...t,...e?{onClick:async t=>{Object.entries(m).map((([,e])=>e(!1))),await e(t)}}:{}})))}}))))),transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},handleHeadCellMenuKeyDown:u}));var h,m},DS=({menuGroup:e,isSubMenu:t,handleHeadCellMenuKeyDown:n})=>e.map((e=>{var r;return[[e.groupHeading&&x.createElement(xS,{disabled:!0,style:{opacity:1}},e.groupHeading),null===(r=e.items)||void 0===r?void 0:r.map((e=>x.createElement(MS,mS({key:e.id},e,{isSubMenu:t,handleHeadCellMenuKeyDown:n}))))].filter(Boolean)]})),PS={appear:200,enter:200,exit:100},_S=({anchorEl:e,open:t,onClose:n,menuGroups:r,transformOrigin:o,anchorOrigin:i,isSubMenu:a,handleHeadCellMenuKeyDown:l})=>r.length?x.createElement(vS,mS({className:"nebula-table-utils-head-menu",open:t,anchorEl:e,onClose:n,transitionDuration:PS,MenuListProps:{id:"nebula-table-utils-head-menu-list-id"}},i?{anchorOrigin:i}:{},o?{transformOrigin:o}:{}),(({itemGroups:e,isSubMenu:t,handleHeadCellMenuKeyDown:n})=>e.map(((r,o)=>[DS({menuGroup:r,isSubMenu:t,handleHeadCellMenuKeyDown:n}),o<e.length-1?x.createElement(yS,{"data-testid":"group-divider",variant:"middle",key:"divider"}):void 0])))({itemGroups:r,isSubMenu:a,handleHeadCellMenuKeyDown:l})):null,OS={canSelectAll:!1,canClearSelections:!1,canSelectPossible:!1,canSelectAlternative:!1,canSelectExcluded:!1},TS=(e,t)=>e.some((e=>t[e]>0));function kS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){kS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function NS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const FS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){NS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function zS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){zS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function $S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const GS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$S(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function BS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const HS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){BS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function WS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const VS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){WS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function YS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const US=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){YS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function KS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const XS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){KS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function JS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ZS=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){JS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function QS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){QS(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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 tE=function(e){return e.SORTING="sorting",e.SEARCHING="searching",e.SELECTIONS="selections",e.ADJUST_HEADER_SIZE="adjustHeaderSize",e}({});const nE=({headerData:e,translator:t,menuAvailabilityFlags:n,setOpen:r,sortFromMenu:o,interactions:i,embedListbox:a,fieldInstance:l,selectionActionsEnabledStatus:s,anchorRef:u,setFocusOnColumnAdjuster:c})=>{const d=[];if(n[tE.SORTING]){const{isActivelySorted:n,sortDirection:i}=e,{ascendingEnabled:a,descendingEnabled:l}=(({isActivelySorted:e,sortDirection:t,isPivot:n,isSortedByFirstMeasure:r})=>{let o=!n&&!e||"D"===t,i=!n&&!e||"A"===t;return r&&(o=!1,i=!1),{ascendingEnabled:o,descendingEnabled:i}})(e);d.push([{groupHeading:t.get("NebulaTableUtils.MenuGroupLabel.Sorting"),items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortAscending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"A")),r(!1)},icon:qS,enabled:a,isActive:!!n&&"A"===i,autoFocus:a},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortDescending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"D")),r(!1)},icon:GS,enabled:l,isActive:!!n&&"D"===i,autoFocus:!a&&l}]}])}if(e.isDim&&null!=i&&i.select){const e=[];n[tE.SEARCHING]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Search"),onClick:e=>{e.stopPropagation(),r(!1),a()},icon:HS,enabled:!0}]}]),n[tE.SELECTIONS]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Selections"),icon:eE,enabled:!0,subMenus:[[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAll"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectAll())},icon:VS,enabled:s.canSelectAll},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectPossible"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectPossible())},icon:ZS,enabled:s.canSelectPossible},{id:3,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAlternative"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectAlternative())},icon:US,enabled:s.canSelectAlternative},{id:4,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectExcluded"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.selectExcluded())},icon:XS,enabled:s.canSelectExcluded}]}],[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.ClearSelections"),onClick:async e=>{e.stopPropagation(),r(!1),await(null==l?void 0:l.clear())},icon:FS,enabled:s.canClearSelections}]}]]}]}]),e.length>0&&d.push(...e)}return n[tE.ADJUST_HEADER_SIZE]&&d.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.AdjustColumnSize"),onClick:e=>{e.stopPropagation(),e.preventDefault(),r(!1),null==c||c(u)},icon:jS,enabled:!0}]}]),d},rE=({open:e,setOpen:t,anchorRef:n,headerData:r,translator:o,interactions:i,handleHeadCellMenuKeyDown:a,menuAvailabilityFlags:l,shouldShowMenuIcon:s=!0,sortRelatedArgs:u,searchRelatedArgs:c,selectionRelatedArgs:d,adjustHeaderSizeRelatedArgs:p})=>{var f;const h=Kb({translator:o}),{headTextAlign:m,qLibraryId:g,fieldId:b}=r,{fieldInstance:v,selectionActionsEnabledStatus:y,resetSelectionActionsEnabledStatus:S,updateSelectionActionsEnabledStatus:E}=(({headerData:e,app:t})=>{const[n,r]=A(null),[o,i]=A(OS);return P((()=>{t&&t.getField&&e&&e.isDim&&t.getField(e.fieldId).then(r).catch(console.error)}),[t,e]),{fieldInstance:n,selectionActionsEnabledStatus:o,resetSelectionActionsEnabledStatus:D((()=>i(OS)),[]),updateSelectionActionsEnabledStatus:D((t=>{const n=t.qHyperCube.qDimensionInfo.find((t=>t.qFallbackTitle===e.label));n&&i({canSelectAll:TS(["qOption","qAlternative","qExcluded","qDeselected"],n.qStateCounts),canClearSelections:TS(["qSelected"],n.qStateCounts),canSelectPossible:TS(["qOption"],n.qStateCounts),canSelectAlternative:TS(["qAlternative"],n.qStateCounts),canSelectExcluded:TS(["qAlternative","qExcluded"],n.qStateCounts)})}),[e.label,i])}})({headerData:r,app:null==d?void 0:d.app}),C=D((()=>{const e=g?{qLibraryId:g,type:"dimension"}:b;if(null!=c&&c.embed&&c.listboxRef){const{embed:t,listboxRef:n}=c;t.__DO_NOT_USE__.popover(n.current,e,{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},sortCriteria:c.sortCriteria})}}),[c,b,g]);P((()=>{e||(S(),null!=d&&d.model&&d.model.getLayout().then((e=>{E(e)})).catch((e=>console.error(e))))}),[e,S,E,null==d?void 0:d.model]);const w=D((e=>{e.stopPropagation(),t(!1)}),[t]);return i.active?x.createElement(gS,{rightAligned:"right"===m,shouldShowMenuIcon:s,className:"nebula-table-utils-head-menu-wrapper"},s&&x.createElement(bS,{height:_t,className:Ot,"data-testid":Ot,isInteractionsActive:null!==(f=i.active)&&void 0!==f&&f},x.createElement(hS,null)),x.createElement(_S,{open:e,anchorEl:n.current,onClose:w,menuGroups:nE({headerData:r,translator:h,menuAvailabilityFlags:l,setOpen:t,...u,embedListbox:C,interactions:i,fieldInstance:v,selectionActionsEnabledStatus:y,anchorRef:n,setFocusOnColumnAdjuster:null==p?void 0:p.setFocusOnColumnAdjuster}),handleHeadCellMenuKeyDown:a})):null},oE=e=>e.isDark?{background:e.color,borderColor:Mg.DARK_MODE_BORDER,color:Mg.DARK_MODE_TEXT,disabledColor:Mg.DARK_MODE_DISABLED,iconColor:Mg.DARK_MODE_TEXT}:{background:e.color,borderColor:Mg.BORDER_MEDIUM,color:Mg.TEXT,disabledColor:Mg.DISABLED},iE=_d(nh,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({height:40,display:"flex",justifyContent:"flex-end",alignItems:"center",padding:t.spacing(0,1,0,1),color:e.color,background:e.background,borderTop:`1px solid ${e.borderColor}`}))),aE=_d(Eg,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({background:"inherit",marginRight:t.spacing(1),color:e.color,"& .MuiNativeSelect-icon, .MuiNativeSelect-select":{color:e.iconColor}}))),lE=_d(fh,{shouldForwardProp:e=>"disabledCondition"!==e&&"footerStyle"!==e})((({disabledCondition:e,footerStyle:t,theme:n})=>({color:e?t.disabledColor:t.color,cursor:e?"default":"pointer",marginLeft:n.spacing(1)}))),sE=_d(nf)((({theme:e})=>({color:"inherit",margin:e.spacing(0,1,0,1)}))),uE=({children:e,footerContainer:t,interactions:n,theme:r,paginationNeeded:o=!0})=>{const i=L((()=>oE(r.background)),[r]);if(!n.active)return null;const a=o?x.createElement(iE,{footerStyle:i},e):null;return t?N.createPortal(e,t):a},cE=_({}),dE=()=>S(cE),pE=({children:e,direction:t,pageInfo:n,handleChangeRowsPerPage:r,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:l,totalColumnCount:s,totalPages:u,keyboard:c,translator:d,theme:p,interactions:f,rect:h,layout:m})=>{const g=(e=>!e.enabled||e.active)(c)?0:-1,b=L((()=>oE(p.background)),[p]),v=o?o.getBoundingClientRect().width:h.width,y=Kb({translator:d}),S=L((()=>({direction:t,pageInfo:n,handleChangeRowsPerPage:r,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:l,totalColumnCount:s,totalPages:u,keyboard:c,translator:y,theme:p,interactions:f,rect:h,layout:m,footerStyle:b,tabIndex:g,width:v})),[t,n,r,o,i,a,l,s,u,c,y,p,f,h,m,b,g,v]);return x.createElement(cE.Provider,{value:S},e)};let fE=function(e){return e.FirstPage="FirstPage",e.LastPage="LastPage",e.NextPage="NextPage",e.PreviousPage="PreviousPage",e}({}),hE=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}({});function mE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){mE(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"}))));function bE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bE(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m12 2 1.5 1.5L9 8l4.5 4.5L12 14 6 8zM4 2v12H2V2z"}))));function yE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const xE=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){yE(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m3.5 2 6 6-6 6L2 12.5 6.5 8 2 3.5zM14 2v12h-2V2z"})))),SE={FirstPage:vE,PreviousPage:gE,NextPage:AS,LastPage:xE,FirstPageRTL:xE,PreviousPageRTL:AS,NextPageRTL:gE,LastPageRTL:vE},EE=({disabledCondition:e,pageNumber:t,type:n})=>{const{direction:r,footerStyle:o,handleChangePage:i,translator:a,interactions:l,tabIndex:s}=dE(),u=SE[`${n}${"rtl"===r?"RTL":""}`];return{styledProps:{footerStyle:o,disabledCondition:e,size:"small","data-testid":"pagination-action-icon-button","aria-disabled":e,"aria-label":a.get(`NebulaTableUtils.Pagination.${n}`),title:l.passive?a.get(`NebulaTableUtils.Pagination.${n}`):void 0,tabIndex:s,onClick:e?null:()=>i(t)},IconComponent:u}},CE=()=>{const{pageInfo:e,width:t}=dE(),n=0===e.page,{IconComponent:r,styledProps:o}=EE({type:fE.FirstPage,disabledCondition:n,pageNumber:0});return t<=hE.FirstPage?null:x.createElement(lE,o,x.createElement(r,{height:_t}))},wE=(e,t,n=!1)=>{n&&e.key===kt.TAB&&!e.shiftKey&&(kb(e),((e,t,n)=>{var r,o,i,a;const l=null!==(r=null===(o=e.closest(".qv-object-wrapper"))||void 0===o||null===(o=o.querySelector(".sel-toolbar-confirm"))||void 0===o?void 0:o.parentElement)&&void 0!==r?r:null===(i=document.querySelector("#qv-selection-toolbar-popover .sel-toolbar-confirm"))||void 0===i?void 0:i.parentElement;l?l.focus():null===(a=t.focusSelection)||void 0===a||a.call(t,n)})(e.target,t,!1))},RE=()=>{const{pageInfo:e,keyboard:t,totalPages:n,isSelectionMode:r,width:o}=dE(),i=e.page>=n-1,{IconComponent:a,styledProps:l}=EE({type:fE.LastPage,disabledCondition:i,pageNumber:n-1}),s=t.enabled?e=>wE(e,t,r):null;return o<=hE.LastPage?null:x.createElement(lE,mS({},l,{onKeyDown:s}),x.createElement(a,{height:_t}))},LE=()=>{const{pageInfo:e,keyboard:t,totalPages:n,isSelectionMode:r,width:o}=dE(),i=e.page>=n-1,{IconComponent:a,styledProps:l}=EE({type:fE.NextPage,disabledCondition:i,pageNumber:e.page+1}),s=!(o>hE.FirstPage&&o>hE.LastPage)&&t.enabled?e=>wE(e,t,r):null;return x.createElement(lE,mS({},l,{onKeyDown:s}),x.createElement(a,{height:_t}))},AE=()=>{const{pageInfo:e}=dE(),t=0===e.page,{IconComponent:n,styledProps:r}=EE({type:fE.PreviousPage,disabledCondition:t,pageNumber:e.page-1});return x.createElement(lE,r,x.createElement(n,{height:_t}))},IE=()=>{const{translator:e,width:t,pageInfo:n,totalRowCount:r}=dE(),{page:o,rowsPerPage:i}=n;if(t<=hE.DisplayedRowsLabel)return null;const a=e.get("NebulaTableUtils.Pagination.DisplayedRowsLabel",[`${o*i+1} - ${Math.min((o+1)*i,r)}`,r.toString()]);return x.createElement(sE,{variant:"caption"},a)},ME=({name:e,value:t,options:n,handleChange:r})=>{const{layout:o,footerStyle:i,translator:a,tabIndex:l}=dE(),s=o.qInfo.qId,u=a.get(`NebulaTableUtils.Pagination.${e}`),c=`${e}-dropdown`,d=`${c}-label-${s}`,p={tabIndex:l,id:`${c}-${s}`,"data-testid":c,"aria-labelledby":d};return x.createElement(x.Fragment,null,x.createElement(sE,{variant:"caption",id:d},u,":"),x.createElement(aE,{footerStyle:i,size:"small",native:!0,value:t,onChange:r,inputProps:p},n))},DE=()=>{var e;const{pageInfo:t,isSelectionMode:n,totalColumnCount:r,width:o,handleChangeRowsPerPage:i}=dE();if(!(!(null===(e=t.rowsPerPageOptions)||void 0===e||!e.length)&&!n&&o>hE.RowsPerPage&&r<=100)||void 0===t.rowsPerPageOptions)return null;const a=x.createElement(x.Fragment,null,t.rowsPerPageOptions.map((e=>x.createElement("option",{key:e,value:e},e))));return x.createElement(ME,{name:"RowsPerPage",value:t.rowsPerPage,options:a,handleChange:e=>{null==i||i(+e.target.value)}})},PE=1e3,_E="…",OE=({totalPages:e,page:t})=>{const n=Math.min(e,PE),r=n<e&&t>500,o=r?Math.min(500+t,e):n,i=r?Math.max(0,o-PE):0,a=Array.from(Array(n).keys()).map((e=>{const t=e+i;return x.createElement("option",{key:t,value:t},t+1)}));return i>0&&a.unshift(x.createElement("option",{key:"startMoreOptions",value:_E,disabled:!0},_E)),o<e-1&&a.push(x.createElement("option",{key:"endMoreOptions",value:_E,disabled:!0},_E)),x.createElement(x.Fragment,null,a)},TE=()=>{const{pageInfo:e,width:t,totalPages:n,handleChangePage:r}=dE(),{page:o}=e;if(t<=hE.SelectPage)return null;const i=x.createElement(OE,{totalPages:n,page:o});return x.createElement(ME,{name:"SelectPage",value:o,options:i,handleChange:e=>r(+e.target.value)})};var kE=O((e=>x.createElement(pE,e,x.createElement(DE,null),x.createElement(TE,null),x.createElement(IE,null),x.createElement(CE,null),x.createElement(AE,null),x.createElement(LE,null),x.createElement(RE,null))));const qE=e=>x.createElement(uE,e,x.createElement(kE,e)),NE=_({}),FE=()=>S(NE),zE=({children:e,model:t,app:n,interactions:r,embed:o,theme:i,keyboard:a,env:l,downloadService:s})=>{const u=L((()=>({model:t,app:n,interactions:r,embed:o,theme:i,keyboard:a,env:l,downloadService:s})),[n,r,t,o,i,a,l,s]);return cc.jsx(NE.Provider,{value:u,children:e})},jE=e=>{const{text:t,fontFamily:n,fontSize:r,justifyContent:o,alignItems:i,height:a}=(({translator:e,layoutService:t})=>{var n;const{theme:r}=FE(),o=null!==(n=r.getStyle("","","fontFamily"))&&void 0!==n?n:Rr;return t.hasData?t.hasLimitedData?{text:e.get("SNPivotTable.LimitedData"),fontSize:"13px",fontFamily:o,alignItems:"center",height:"22px"}:{}:{text:e.get("SNPivotTable.NoData"),fontSize:"16px",fontFamily:o,justifyContent:"center",alignItems:"center",height:"100%"}})(e);return void 0===t?null:cc.jsx("div",{style:{display:"flex",justifyContent:o,alignItems:i,width:"100%",height:a},children:cc.jsx("span",{style:{...kr,fontFamily:n,fontSize:r,fontStyle:"italic",color:"#7b7a78"},children:t})})},$E=_({}),GE=()=>S($E),BE=({children:e,styleService:t})=>cc.jsx($E.Provider,{value:t,children:e}),HE=21,WE=20,VE=WE,YE=16+Mr+1,UE=.75,KE=e=>{var t;return-1!==e&&(null==e||null===(t=e.representation)||void 0===t?void 0:t.type)===yt.Image},XE="/qHyperCubeDef",JE=-1,ZE="PSEUDO-DIM",QE=e=>void 0===e?Lr:e,eC=(e,t)=>e&&"number"==typeof e&&!Number.isNaN(e)?e:t,tC=e=>eC(e,Ft.PixelsDefault),nC=(e,t)=>eC(e,Ft.PercentageDefault)*t/100,rC=(e,t,n)=>{switch(null==t?void 0:t.type){case zt.Pixels:return tC(t.pixels);case zt.Percentage:return nC(t.percentage,e);case zt.FitToContent:case zt.Auto:default:return n}},oC=({headers:e,layoutService:t,estimateWidthForDimensionValue:n,shouldConsiderCombinatedLength:r,measureTextForHeader:o,longestMeasureValuePossible:i})=>e.reduce(((e,a,l)=>{const{layout:{qHyperCube:{qNoOfLeftDims:s}},isFullyExpanded:u}=t,{id:c,colIdx:d,qApprMaxGlyphCount:p,isLeftDimension:f}=a;if(!f)return e+0;if(c===ZE)return e+0;const h=n(p),m=!u&&f&&d<s-1?HE:0;let g=0;if(r&&o&&i){g=o("-")+i}return Math.max(e,24*l+YE+m+h+g)}),0),iC=(e,t,n)=>e.reduce(((e,r)=>{const o=(n?0:1)*YE;return Math.max(e,o+t(r.qFallbackTitle))}),0),aC=(e,t,n,r)=>{const o=100*e/t,i=r*UE*(o/100),a=n*(o/100);return Math.min(a,i)},lC=(e,t,n,r)=>r*(n/100)*(100*e/t/100),sC=(e,t)=>e.some((e=>e>=t*UE)),uC=({layoutService:e,headersData:t,columnWidths:n,tableWidth:r,widthOverride:o,measureTextForHeader:i,estimateWidthForDimensionValue:a,measureTextWidthForMeasuresCombinedWithDimensions:l,translator:s})=>{let u=[];const c=r*UE,d=t.data[t.data.length-1][0],p=Math.min(c,n.at(-1)),f=Math.min(c,oC({headers:d,layoutService:e,estimateWidthForDimensionValue:a})),h=Math.min(c,iC(e.visibleMeasureInfo,i));let m=0;const g=d.findIndex((e=>e.id===ZE)),b=(({layoutService:e,measureTextForHeader:t,translator:n,headersData:r})=>{const{type:o}=e.indentModeColumnWidth;return o===zt.Auto&&r.size.y<=1?t(n.get("SNPivotTable.IndentMode.Rows"))+8+YE+16:24})({layoutService:e,measureTextForHeader:i,translator:s,headersData:t});if(e.hasPseudoDimOnLeft)if(0===g){const e=Math.max(p,f,h);u=[Math.max(b,e-p),p]}else{const t=Math.min(c,iC(e.visibleMeasureInfo,l,!0));m=Math.min(c,oC({headers:d.slice(0,g),layoutService:e,estimateWidthForDimensionValue:a,shouldConsiderCombinatedLength:!0,measureTextForHeader:i,longestMeasureValuePossible:t}));const n=Math.max(p,f,m);u=[Math.max(b,n-p),p]}else u=[Math.max(b,f-p),p];const v=Math.min(c,u.reduce(((e,t)=>e+t),0)),{indentModeColumnWidth:y}=e;o&&o<=c&&(y.type=zt.Pixels,y.pixels=o);return[zt.Pixels,zt.Percentage].includes(y.type)||sC(u,r)?((e,t,n,r)=>{let o=e[0],i=e[1],a=[];const l=e.reduce(((e,t)=>e+t),0),{type:s,pixels:u,percentage:c}=t,d=sC(e,n);s===zt.Auto&&d&&(o>i?o-=i:i-=o),s===zt.Pixels&&u&&(o=aC(e[0],l,u,n),i=aC(e[1],l,u,n)),s===zt.Percentage&&c&&(o=lC(e[0],l,c,n),i=lC(e[1],l,c,n));let p=0;i<=r&&(p=o-5,p>0&&(o-=p,i+=p)),p=i-r,p>0&&(o+=p,i-=p),a=[o,i];const f=a.reduce(((e,t)=>e+t),0);return{leftGridColumnWidths:a,leftGridWidth:f,leftGridFullWidth:f}})(u,y,r,p):{leftGridWidth:v,leftGridColumnWidths:u,leftGridFullWidth:v}};function cC({layoutService:e,tableWidth:t,headersData:n,translator:r}){const o=t*UE,i=GE(),{measureText:a}=Hb(i.header),{estimateWidth:l,measureText:s}=Hb({...i.dimensionValues,fontWeight:QE(i.dimensionValues.fontWeight)}),{measureText:u}=Hb({...i.dimensionValues,...i.measureLabels}),c=D(((i,c)=>{const{layout:{qHyperCube:{qNoOfLeftDims:d,topHeadersColumnWidth:p}},visibleMeasureInfo:f,isFullyExpanded:h,isIndentModeEnabled:m,hasPseudoDimOnLeft:g}=e,b=(e=0)=>f.reduce(((n,{qFallbackTitle:r,columnWidth:o})=>{const i=u(r)+YE,a=Math.max(i,e);return Math.max(n,m?a:rC(t,o,a))}),0),v=e=>n.data.reduce(((t,n)=>{const r=n[e];if(!r)return t;if(r.id===ZE)return t;const o=(e=>{const{label:t,isLocked:n}=e,r=n?VE:0;return YE+a(t)+WE+r})(r);return Math.max(o,t)}),0);let y=0,x=n.data.at(-1);m&&n.size.x>1&&x&&x[0]&&(x=x[0]);const S=x.map(((r,a)=>{let s=YE;if((!m||m&&1===n.size.x)&&i&&void 0!==c&&c===r.colIdx)s=m?Math.min(o,i):i;else{let o;r.columnWidthLocation===It.Pivot?o=m?void 0:p:r.columnWidthLocation===It.Dimension&&({columnWidth:o}=r);let i=0;if(r.isLeftDimension)if(r.id===ZE)i=b();else{const t=v(a),o=((t,n)=>{const{qApprMaxGlyphCount:r,isLeftDimension:o,dimensionInfoIndex:i}=t,a=e.getDimensionInfo(i);if(KE(a))return Ft.PixelsDefault;const s=!h&&o&&n<d-1?HE:0;return YE+l(r)+s})(r,a);i=Math.max(t,o),m&&!g&&a+1===d&&r.columnWidthLocation===It.Dimension&&n.size.x>1&&(i=t)}else r.isLeftDimension||(i=v(a),r.columnWidthLocation===It.Measures&&(i=b(i)));m&&1===n.size.x&&(o=e.indentModeColumnWidth),s=m&&!g&&n.size.x>1?i:rC(t,o,i)}return y+=s,s}));return m&&n.size.x>1?uC({layoutService:e,headersData:n,columnWidths:S,tableWidth:t,widthOverride:i,measureTextForHeader:a,estimateWidthForDimensionValue:l,measureTextWidthForMeasuresCombinedWithDimensions:s,translator:r}):{leftGridWidth:Math.min(o,y),leftGridColumnWidths:S,leftGridFullWidth:y}}),[t,n,e,o,a,u,l,s,r]),[d,p]=A(c);Yb((()=>{p(c())}),[c]);const f=D(((e,t)=>{p(c(e,t))}),[c]);return{...d,overrideLeftGridWidth:f}}function dC({layoutService:e,tableWidth:t,visibleTopDimensionInfo:n,verticalScrollbarWidth:r,leftGridWidth:o}){const{layout:{qHyperCube:{qNoOfLeftDims:i,qEffectiveInterColumnSortOrder:a}},size:l,visibleMeasureInfo:s}=e,u=GE(),{estimateWidth:c,measureText:d}=Hb(u.measureValues),{estimateWidth:p}=Hb({...u.dimensionValues,fontWeight:QE(u.dimensionValues.fontWeight)}),f=t-o-Mr,h=n.at(-1),m=h===JE,g=a.length-i>n.length?HE:0,b=L((()=>{const e=m?s:[h],t=l.x/e.length,n=[],r=[];let o=f;const i=(e,r)=>{n[e]=Math.min(Ft.PixelsMax,Math.max(Ft.PixelsMin,r)),o-=n[e]*t};if(e.forEach(((e,t)=>{if(null!=e&&e.columnWidth){const{columnWidth:{type:n,pixels:o,percentage:a},qApprMaxGlyphCount:l,qFallbackTitle:u}=e;switch(n){case zt.Pixels:i(t,tC(o));break;case zt.Percentage:i(t,nC(a,f));break;case zt.FitToContent:i(t,((e,t,n)=>n?Ft.PixelsDefault:YE+(m?Math.max(c(e),d(t)):Math.max(Math.max(...s.map((e=>c(e.qApprMaxGlyphCount)))),p(e)+g)))(l,u,KE(e)));break;case zt.Auto:default:r.push(t)}}else r.push(t)})),r.length){const e=r.length*t,i=o/e;r.forEach((e=>{n[e]=Math.max(Ft.AutoMinPivot,i)}))}return n}),[m,s,h,l.x,f,c,d,p,g]),v=L((()=>{if(m){return s.reduce(((e,t,n)=>e+b[n]),0)/s.length}return b[0]}),[m,b,s]),y=parseFloat((r/e.size.x).toFixed(12)),x=D((t=>m&&void 0!==t?b[e.getMeasureInfoIndexFromCellIndex(t,!0)]-y:v-y),[m,b,e,v,y]),S=l.x*v;return{rightGridFullWidth:S,rightGridWidth:Math.min(S,f),getRightGridColumnWidth:x}}let pC;const fC=new Uint8Array(16);function hC(){if(!pC&&(pC="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!pC))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return pC(fC)}const mC=[];for(let e=0;e<256;++e)mC.push((e+256).toString(16).slice(1));var gC={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function bC(e,t,n){if(gC.randomUUID&&!t&&!e)return gC.randomUUID();const r=(e=e||{}).random||(e.rng||hC)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return mC[e[t+0]]+mC[e[t+1]]+mC[e[t+2]]+mC[e[t+3]]+"-"+mC[e[t+4]]+mC[e[t+5]]+"-"+mC[e[t+6]]+mC[e[t+7]]+"-"+mC[e[t+8]]+mC[e[t+9]]+"-"+mC[e[t+10]]+mC[e[t+11]]+mC[e[t+12]]+mC[e[t+13]]+mC[e[t+14]]+mC[e[t+15]]}(r)}const vC=()=>{var e,t,n;return null!==(e=null===(t=crypto)||void 0===t||null===(n=t.randomUUID)||void 0===n?void 0:n.call(t))&&void 0!==e?e:bC()},yC=e=>e===JE?ZE:(({qLibraryId:e,cId:t})=>{var n;return null!==(n=null!=e?e:t)&&void 0!==n?n:vC()})(e),xC=({layoutService:e,visibleLeftDimensionInfos:t,cell:n,colIdx:r})=>{n&&(n.canBeResized=!0,n.colIdx=n.colIdx||r,n.dimensionInfoIndex===JE?n.columnWidthLocation=It.Measures:n.isLeftDimension?n.columnWidthLocation=It.Dimension:t.at(-1)===JE?n.columnWidthLocation=It.Measures:e.hasPseudoDimOnLeft&&(n.columnWidthLocation=It.Pivot))},SC=(e,t,n)=>{var r;const o=yC(t),i=e.getDimensionInfoIndex(t),a=e.isLeftDimension(i);return t===JE?{id:o,colIdx:-1,label:"",sortDirection:"A",fieldId:"",isLocked:!1,isDim:!1,headTextAlign:"left",dimensionInfoIndex:i,canBeResized:!1,isLeftDimension:a,isLastDimension:n,columnWidthLocation:It.Measures,isPivot:!0}:{id:o,colIdx:0,label:t.qFallbackTitle,qReverseSort:t.qReverseSort,sortDirection:t.qSortIndicator&&"N"!==t.qSortIndicator?t.qSortIndicator:"A",qLibraryId:t.qLibraryId,fieldId:t.qGroupFieldDefs[t.qGroupPos],isLocked:null!==(r=t.qLocked)&&void 0!==r&&r,columnWidth:t.columnWidth,qApprMaxGlyphCount:t.qApprMaxGlyphCount,isDim:!0,headTextAlign:"left",dimensionInfoIndex:i,canBeResized:!1,isLeftDimension:a,isLastDimension:n,columnWidthLocation:It.Dimension,isPivot:!0,isSortedByFirstMeasure:e.isSortedByFirstMeasure}},EC=({layoutService:e,lastRow:t,lastCol:n})=>{let r=n;var o;t.length>0&&(r=(o=n).at(-1)===JE?o.slice(0,-1):o);const i=r.length+(t.length?1:0),a=Math.max(1,t.length),l=((e,t)=>Array(e).fill(null).map((()=>Array.from({length:t},(()=>null)))))(i,a);return t.forEach(((t,n,r)=>{const o=n===r.length-1;l[i-1][n]=SC(e,t,o)})),r.forEach(((t,n,r)=>{const o=n===r.length-1;l[n][a-1]=SC(e,t,o)})),l},CC=(e,t,n)=>{var r,o;const i=((e,t,n)=>{let r;var o;return r=0===t.length||t.includes(JE)?EC({layoutService:e,lastRow:n,lastCol:t}):(e=>e[0].map(((t,n)=>e.map((e=>e[n])))))(EC({layoutService:e,lastRow:t,lastCol:n})),e.isIndentModeEnabled&&r[r.length-1].length>1&&(r[r.length-1]=[r.at(-1),...new Array(r[0]?r[0].length-1:0).fill(null)]),r.length&&(null===(o=r.at(-1))||void 0===o||o.forEach(((t,r)=>{if(Array.isArray(t)){const r=t;for(let t=0;t<r.length;t++)xC({layoutService:e,visibleLeftDimensionInfos:n,cell:r[t],colIdx:t})}else xC({layoutService:e,visibleLeftDimensionInfos:n,cell:t,colIdx:r})}))),r})(e,t,n);return{data:i,size:{x:null!==(r=null===(o=i[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0,y:i.length}}};function wC(e){return wC="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},wC(e)}function RC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"))?i:String(i)),r)}var o,i}function AC(e,t,n){return t&&LC(e.prototype,t),n&&LC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function IC(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&&DC(e,t)}function MC(e){return MC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},MC(e)}function DC(e,t){return DC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DC(e,t)}function PC(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)}function _C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=MC(e);if(t){var o=MC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return PC(this,n)}}function OC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return TC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TC(e,t)}(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 TC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kC={fromSearchString:function(e){if(!e)return[];"?"===e[0]&&(e=e.substr(1));var t=[];return e.split("&").forEach((function(e){if(e){var n,r=e.indexOf("="),o="",i=!1;-1===r?n=e:(n=e.slice(0,r),o=e.slice(r+1),i=!0),t.push(function(e,t,n){return{key:qC(e),value:qC(t),useEqualSign:n}}(n,o,i))}})),t}};function qC(e){try{return decodeURIComponent(e)}catch(t){return e}}function NC(e){if(!(this instanceof NC))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:""},n=e.indexOf("#");-1!==n&&(t.hash=e.substr(n),e=e.substr(0,n));n=e.indexOf("?"),-1!==n&&(t.search=e.substr(n),e=e.substr(0,n));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 kC.fromSearchString(t.search)}}})}function FC(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}NC.encodeAuthorityAndPath=function(e){return encodeURI(e).replace(/%5B/gi,"[").replace(/%5D/gi,"]").replace(/%25/gi,"%")},NC.encodeSearchParams=function(e){for(var t,n="",r=0;r<e.length;r++)n+=0===r?"?":"&",n+=FC((t=e[r]).key),t.value?n+="=".concat(FC(t.value)):n+=t.useEqualSign?"=":"";return n};var zC,jC=function(){function e(t){RC(this,e),this._input=t,this._pushback=null,this._temp=null,this._index=0,this._mark=0}return AC(e,[{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}}]),e}(),$C=function(){function e(){RC(this,e)}return AC(e,[{key:"decode",value:function(e){for(var t,n="",r=new jC(e);r.hasNext();)n+=null!=(t=this.decodeCharacter(r))?t:r.next();return n}},{key:"decodeCharacter",value:function(e){return e.next()}}]),e}(),GC=function(e){return e>=0&&e<=1114111},BC=function(e){return e.match(/[\s]/)},HC=function(){IC(t,$C);var e=_C(t);function t(){return RC(this,t),e.apply(this,arguments)}return AC(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,n,r,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,n=0;n<5&&(null!=(r=e.next())&&!BC(r));n++){if("NaN"===parseInt(r,16)){e.pushback(r);break}t+=r}var a=parseInt(t,16);return GC(a)?String.fromCharCode(a):"�"}}]),t}(),WC=function(){function e(t,n){RC(this,e),this._key=t,this._value=n}return AC(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,n,r=arguments[0];return"string"==typeof arguments[1]?(t=arguments[1],n=r.length):(n=arguments[1],t=arguments[2]),t&&r?(r.length>n&&(r=r.substr(0,n)),new e(r,t)):null}}]),e}(),VC=function(){function e(){RC(this,e)}return AC(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,n,r){var o,i;if(t.length===n)return i=this._value,this.setValue(r),i;var a=t.charAt(n);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,n+1,r)}},{key:"get",value:function(e,t){if(e.length<=t)return this._value;var n=this.getNextNode(e.charAt(t));return n?n.get(e,t+1):null}},{key:"getLongestMatch",value:function(e,t){if(e.length<=t)return WC.newInstanceIfNeeded(e,this._value);var n=this.getNextNode(e.charAt(t));if(!n)return WC.newInstanceIfNeeded(e,t,this._value);var r=n.getLongestMatch(e,t+1);return r||WC.newInstanceIfNeeded(e,t,this._value)}}]),e}(),YC=function(){function e(){RC(this,e),this.clear()}return AC(e,[{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 VC);var n=this.root.put(e,0,t);return n||(e.length>this.maxKeyLen&&(this.maxKeyLen=e.length),this.size++,null)}}]),e}(),UC=function(){var e,t,n,r=[],o=[],i=new YC;for(e in r["&quot"]="34",r["&amp"]="38",r["&lt"]="60",r["&gt"]="62",r["&nbsp"]="160",r["&iexcl"]="161",r["&cent"]="162",r["&pound"]="163",r["&curren"]="164",r["&yen"]="165",r["&brvbar"]="166",r["&sect"]="167",r["&uml"]="168",r["&copy"]="169",r["&ordf"]="170",r["&laquo"]="171",r["&not"]="172",r["&shy"]="173",r["&reg"]="174",r["&macr"]="175",r["&deg"]="176",r["&plusmn"]="177",r["&sup2"]="178",r["&sup3"]="179",r["&acute"]="180",r["&micro"]="181",r["&para"]="182",r["&middot"]="183",r["&cedil"]="184",r["&sup1"]="185",r["&ordm"]="186",r["&raquo"]="187",r["&frac14"]="188",r["&frac12"]="189",r["&frac34"]="190",r["&iquest"]="191",r["&Agrave"]="192",r["&Aacute"]="193",r["&Acirc"]="194",r["&Atilde"]="195",r["&Auml"]="196",r["&Aring"]="197",r["&AElig"]="198",r["&Ccedil"]="199",r["&Egrave"]="200",r["&Eacute"]="201",r["&Ecirc"]="202",r["&Euml"]="203",r["&Igrave"]="204",r["&Iacute"]="205",r["&Icirc"]="206",r["&Iuml"]="207",r["&ETH"]="208",r["&Ntilde"]="209",r["&Ograve"]="210",r["&Oacute"]="211",r["&Ocirc"]="212",r["&Otilde"]="213",r["&Ouml"]="214",r["&times"]="215",r["&Oslash"]="216",r["&Ugrave"]="217",r["&Uacute"]="218",r["&Ucirc"]="219",r["&Uuml"]="220",r["&Yacute"]="221",r["&THORN"]="222",r["&szlig"]="223",r["&agrave"]="224",r["&aacute"]="225",r["&acirc"]="226",r["&atilde"]="227",r["&auml"]="228",r["&aring"]="229",r["&aelig"]="230",r["&ccedil"]="231",r["&egrave"]="232",r["&eacute"]="233",r["&ecirc"]="234",r["&euml"]="235",r["&igrave"]="236",r["&iacute"]="237",r["&icirc"]="238",r["&iuml"]="239",r["&eth"]="240",r["&ntilde"]="241",r["&ograve"]="242",r["&oacute"]="243",r["&ocirc"]="244",r["&otilde"]="245",r["&ouml"]="246",r["&divide"]="247",r["&oslash"]="248",r["&ugrave"]="249",r["&uacute"]="250",r["&ucirc"]="251",r["&uuml"]="252",r["&yacute"]="253",r["&thorn"]="254",r["&yuml"]="255",r["&OElig"]="338",r["&oelig"]="339",r["&Scaron"]="352",r["&scaron"]="353",r["&Yuml"]="376",r["&fnof"]="402",r["&circ"]="710",r["&tilde"]="732",r["&Alpha"]="913",r["&Beta"]="914",r["&Gamma"]="915",r["&Delta"]="916",r["&Epsilon"]="917",r["&Zeta"]="918",r["&Eta"]="919",r["&Theta"]="920",r["&Iota"]="921",r["&Kappa"]="922",r["&Lambda"]="923",r["&Mu"]="924",r["&Nu"]="925",r["&Xi"]="926",r["&Omicron"]="927",r["&Pi"]="928",r["&Rho"]="929",r["&Sigma"]="931",r["&Tau"]="932",r["&Upsilon"]="933",r["&Phi"]="934",r["&Chi"]="935",r["&Psi"]="936",r["&Omega"]="937",r["&alpha"]="945",r["&beta"]="946",r["&gamma"]="947",r["&delta"]="948",r["&epsilon"]="949",r["&zeta"]="950",r["&eta"]="951",r["&theta"]="952",r["&iota"]="953",r["&kappa"]="954",r["&lambda"]="955",r["&mu"]="956",r["&nu"]="957",r["&xi"]="958",r["&omicron"]="959",r["&pi"]="960",r["&rho"]="961",r["&sigmaf"]="962",r["&sigma"]="963",r["&tau"]="964",r["&upsilon"]="965",r["&phi"]="966",r["&chi"]="967",r["&psi"]="968",r["&omega"]="969",r["&thetasym"]="977",r["&upsih"]="978",r["&piv"]="982",r["&ensp"]="8194",r["&emsp"]="8195",r["&thinsp"]="8201",r["&zwnj"]="8204",r["&zwj"]="8205",r["&lrm"]="8206",r["&rlm"]="8207",r["&ndash"]="8211",r["&mdash"]="8212",r["&lsquo"]="8216",r["&rsquo"]="8217",r["&sbquo"]="8218",r["&ldquo"]="8220",r["&rdquo"]="8221",r["&bdquo"]="8222",r["&dagger"]="8224",r["&Dagger"]="8225",r["&bull"]="8226",r["&hellip"]="8230",r["&permil"]="8240",r["&prime"]="8242",r["&Prime"]="8243",r["&lsaquo"]="8249",r["&rsaquo"]="8250",r["&oline"]="8254",r["&frasl"]="8260",r["&euro"]="8364",r["&image"]="8365",r["&weierp"]="8472",r["&real"]="8476",r["&trade"]="8482",r["&alefsym"]="8501",r["&larr"]="8592",r["&uarr"]="8593",r["&rarr"]="8594",r["&darr"]="8595",r["&harr"]="8596",r["&crarr"]="8629",r["&lArr"]="8656",r["&uArr"]="8657",r["&rArr"]="8658",r["&dArr"]="8659",r["&hArr"]="8660",r["&forall"]="8704",r["&part"]="8706",r["&exist"]="8707",r["&empty"]="8709",r["&nabla"]="8711",r["&isin"]="8712",r["&notin"]="8713",r["&ni"]="8715",r["&prod"]="8719",r["&sum"]="8721",r["&minus"]="8722",r["&lowast"]="8727",r["&radic"]="8730",r["&prop"]="8733",r["&infin"]="8734",r["&ang"]="8736",r["&and"]="8743",r["&or"]="8744",r["&cap"]="8745",r["&cup"]="8746",r["&int"]="8747",r["&there4"]="8756",r["&sim"]="8764",r["&cong"]="8773",r["&asymp"]="8776",r["&ne"]="8800",r["&equiv"]="8801",r["&le"]="8804",r["&ge"]="8805",r["&sub"]="8834",r["&sup"]="8835",r["&nsub"]="8836",r["&sube"]="8838",r["&supe"]="8839",r["&oplus"]="8853",r["&otimes"]="8855",r["&perp"]="8869",r["&sdot"]="8901",r["&lceil"]="8968",r["&rceil"]="8969",r["&lfloor"]="8970",r["&rfloor"]="8971",r["&lang"]="9001",r["&rang"]="9002",r["&loz"]="9674",r["&spades"]="9824",r["&clubs"]="9827",r["&hearts"]="9829",r["&diams"]="9830",r)"function"!=typeof r[e]&&r.hasOwnProperty(e)&&(o[r[e]]=e);for(t in o)"function"!=typeof o[t]&&o.hasOwnProperty(t)&&(n=o[t].toLowerCase().substr(1),i.put(n,String.fromCharCode(t)));return i}(),KC=function(){IC(t,$C);var e=_C(t);function t(){return RC(this,t),e.apply(this,arguments)}return AC(t,[{key:"decodeCharacter",value:function(e){var t;e.mark();var n=e.next();if(null==n||"&"!==n)return e.reset(),null;var r=e.next();if(null==r)return e.reset(),null;if("#"===r){if(null!=(t=this._getNumericEntity(e)))return t}else if(r.match(/[A-Za-z]/)&&(e.pushback(r),null!=(t=this._getNamedEntity(e))))return t;return e.reset(),null}},{key:"_getNamedEntity",value:function(e){var t,n,r,o="";for(t=Math.min(e.remainder().length,UC.getMaxKeyLength()),r=0;r<t;r++)o+=e.next().toLowerCase();var i=UC.getLongestMatch(o);if(null==i)return null;for(e.reset(),e.next(),t=i.getKey().length,n=0;n<t;n++)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,n="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,16))){if(";"===t){e.next();break}break}n+=t,e.next()}var r=parseInt(n,16);return!Number.isNaN(+r)&&GC(r)?String.fromCharCode(r):null}},{key:"_parseNumber",value:function(e){for(var t,n="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,10))){if(";"===t){e.next();break}break}n+=t,e.next()}var r=parseInt(n,10);return!Number.isNaN(+r)&&GC(r)?String.fromCharCode(r):null}}]),t}(),XC=function(){IC(t,$C);var e=_C(t);function t(){return RC(this,t),e.apply(this,arguments)}return AC(t,[{key:"decodeCharacter",value:function(e){e.mark();var t,n,r,o,i=e.next();if(null==i)return e.reset(),null;if("%"!==i)return e.reset(),null;for(t="",n=0;n<2;n++)null!=(r=e.nextHex())&&(t+=r);return 2===t.length&&(o=parseInt(t,16),GC(o))?String.fromCharCode(o):(e.reset(),null)}}]),t}(),JC=/^data:(?<!\s)\s*(image\/[\w+-.]+)(?<!\s)\s*(;.*?){0,1}(?<!\s)\s*,(.*)/i;"undefined"!=typeof document&&(zC=document.createElement("div"));var ZC=Array.prototype.indexOf,QC=[",",".","_"," "],ew={default:[",",".","-","_"," "]},tw={width:["%"],height:["%"]},nw={default:["-"," ","%"],color:["#"," ","(",")"],image:["(",")",":","/","?","&","-",".",'"',"="," "]},rw={background:["(",")",":","%","/","?","&","-"," ",".",'"',"=","#"],"background-image":nw.image,"background-color":nw.color,"border-color":nw.color,"border-image":nw.image,color:nw.color,icon:nw.image,"list-style-image":nw.image,"outline-color":nw.color},ow={attr_name:["on[a-z]{1,}","style","href","src"],attr_val:["javascript:"],css_key:["behavior","-moz-behavior","-ms-behavior"],css_val:["expression"]};function iw(e,t,n){var r;if(t){if(ZC)return ZC.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1}function aw(e){if(null==e)return"";var t,n=document.createTextNode(e);return zC.appendChild(n),t=zC.innerHTML,zC.removeChild(n),t}function lw(e,t,n){var r,o,i,a,l,s,u,c,d;if(e=uw(e).toLowerCase(),t=uw(t),iw(e,ow.attr_name)>=0)throw new Error("Unsafe attribute name used: ".concat(e));for(i=0;i<ow.attr_val;i++)if(t.toLowerCase().match(ow.attr_val[i]))throw new Error("Unsafe attribute value used: ".concat(t));if((r=tw[e])||(r=ew.default),o="",!n){for(a=0;a<e.length;a++){if(!(l=e.charAt(a)).match(/[a-zA-Z\-0-9]/))throw new Error("Invalid attribute name specified");o+=l}o+='="'}for(s=0;s<t.length;s++)u=t.charAt(s),c=t.charCodeAt(s),!u.match(/[a-zA-Z0-9]/)&&iw(u,r)<0?(d=c.toString(16),o+="&#x".concat(d,";")):o+=u;return n||(o+='"'),o}function sw(e,t,n){var r,o,i,a,l,s,u,c,d,p;if(e=uw(e).toLowerCase(),t=uw(t),iw(e,ow.css_key)>=0)throw new Error("Unsafe property name used: ".concat(e));for(r=0;r<ow.css_val.length;r++)if(t.toLowerCase().indexOf(ow.css_val[r])>=0)throw new Error("Unsafe property value used: ".concat(t));if((o=rw[e])||(o=nw.default),i="",!n){for(a=0;a<e.length;a++){if(!(l=e.charAt(a)).match(/[a-zA-Z-]/))throw new Error("Invalid Property Name specified");i+=l}i+=": "}for(s=0;s<t.length;s++)u=t.charAt(s),c=t.charCodeAt(s),!u.match(/[a-zA-Z0-9]/)&&iw(u,o)<0?(d=c.toString(16),p="000000".substr(d.length),i+="\\".concat(p).concat(d)):i+=u;return i}function uw(e,t){var n,r,o,i,a=!1;if(null===e)return null;n=e,r=e,o=0;for(var l=[new KC,new XC,new HC];!a;){r=n;for(var s=0;s<l.length;s++)(i=l[s].decode(n))!==n&&(o++,n=i);r!==n||(a=!0)}if(t&&o>1)throw new Error("Attack Detected - Multiple/Double Encodings used in input");return n}for(var cw=[],dw=0;dw<255;dw++)cw[dw]=dw>=48&&dw<=57||dw>=65&&dw<=90||dw>=97&&dw<=122?null:dw.toString(16);var pw=function(e){return aw(e.unsafe)},fw=function(e){var t,n=[],r=[],o={},i="";for(t in e.map?n=e.map:n[e.name]=e.unsafe,n)"function"!=typeof n[t]&&n.hasOwnProperty(t)&&(r[t]=sw(t,n[t],!0),i+=sw(t,n[t],!0),o[t]=r[t]);return e.map?o:i},hw=function(e){var t=[],n=[],r={},o="";for(var i in e.map?t=e.map:t[e.name]=e.unsafe,t)"function"!=typeof t[i]&&t.hasOwnProperty(i)&&(n[i]=lw(i,t[i],!0),o+=lw(i,t[i],!0),r[i]=n[i]);return e.map?r:o};function mw(e,t){throw new Error(t)}var gw={canonicalize:uw,encode:function(){var e={context:"html",unsafe:null,name:null,map:null,setter:null,strict:!0};return 1===arguments.length&&"object"===wC(arguments[0])?function(){for(var e,t,n,r=arguments[0]||{},o=1,i=arguments.length;o<i;o++)if(null!=(e=arguments[o]))for(t in e)if(e.hasOwnProperty(t)){if(r===(n=e[t]))continue;void 0!==n&&(r[t]=n)}}(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?pw(e):"css"===e.context?(null!=e.map&&"object"!==wC(e.map)&&mw(this,"Invalid parameter type"),fw(e)):"attr"===e.context?(null!=e.map&&"object"!==wC(e.map)&&mw(this,"Invalid parameter type"),hw(e)):void mw(this,"Invalid parameter type")},encodeForAttr:lw,encodeForAttr2:function(e){return lw("nonsens",e,!0)},encodeForCSS:sw,encodeForHref:function(e){uw(e),0!==e.search("[a-zA-Z0-9]+:")&&(e="http://".concat(e));var t=new NC(e),n=NC.encodeAuthorityAndPath(decodeURI(t.authorityAndPath)),r=t.searchParams,o=(e=n+NC.encodeSearchParams(r)+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 n,r,o,i,a,l;for(t||(t=QC),l="",n=0;n<e.length;n++)o=e.charAt(n),i=e.charCodeAt(n),iw(o,t)>=0||null==cw[i]?l+=o:(r=i.toString(16),i<256?(a="00".substr(r.length),l+="\\x".concat(a).concat(r.toUpperCase())):(a="0000".substr(r.length),l+="\\u".concat(a).concat(r.toUpperCase())));return l},encodeForHTML:aw,encodeForURL:function(e,t){var n="";return t&&(t.match(/^[A-Za-z\-0-9]{1,}$/)?n+=uw(t).toLowerCase():mw(this,"Illegal Attribute Name Specified"),n+='="'),n+=encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),n+=t?'"':""},isSafeDataURL:function(e,t){var n=null!=t?t:{},r=n.maxByteSizeSvg,o=void 0===r?5e5:r,i=n.maxByteSizeImage,a=void 0===i?5e6:i,l=function(e){var t,n=OC(null!==(t=JC.exec(e.trim()))&&void 0!==t?t:[],4),r=n[1];return{encoding:n[2],data:n[3],mimeType:null==r?void 0:r.toLocaleLowerCase()}}(e),s=l.mimeType,u=l.encoding,c=l.data;if(!c)return!0;var d=function(e,t,n){var r={type:e};if(null!=t&&t.includes(";base64"))try{return new Blob([atob(n)],r).size}catch(e){return new Blob([n],r).size}return"image/svg+xml"===e?new Blob([n],r).size:0}(s,u,c);return"image/svg+xml"===s?d<=o:d<=a}};const bw=(e,t)=>{var n;const r=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps;return null==r||null===(n=r.qValues)||void 0===n?void 0:n[e]},vw=e=>{switch(e){case"topLeft":default:return{horizontal:"flex-start",vertical:"flex-start"};case"centerLeft":return{horizontal:"center",vertical:"flex-start"};case"bottomLeft":return{horizontal:"flex-end",vertical:"flex-start"};case"topCenter":return{horizontal:"flex-start",vertical:"center"};case"centerCenter":return{horizontal:"center",vertical:"center"};case"bottomCenter":return{horizontal:"flex-end",vertical:"center"};case"topRight":return{horizontal:"flex-start",vertical:"flex-end"};case"centerRight":return{horizontal:"center",vertical:"flex-end"};case"bottomRight":return{horizontal:"flex-end",vertical:"flex-end"}}},yw=({text:e,url:t,imageSize:n,imagePosition:r})=>r&&t&&!t.toLowerCase().includes("javascript:")&&gw.isSafeDataURL(t)?{type:yt.Image,url:t,text:e,imageSize:n,resolvedImagePosition:vw(r)}:{type:yt.Text,url:void 0,text:e},xw=(e,t,n)=>{var r;const o=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps,i=null==o||null===(r=o.qValues)||void 0===r?void 0:r[e];if(i){const e=Number.isNaN(+i.qNum)?void 0:`${i.qNum}`;return i.qText||e}return(null==n?void 0:n.urlPosition)===xt.Attribute||null==n?void 0:n.urlLabel},Sw=({text:e,url:t})=>{try{if(!t)throw Error("Invalid url");return{type:yt.Link,url:gw.encodeForHref(t),text:e}}catch(t){return{type:yt.Text,url:void 0,text:e}}},Ew=(e,t,n,r)=>{var o,i;const a=St(t);return a!==yt.Image||!r.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")||null!==(o=r.anything.sense)&&void 0!==o&&null!==(i=o.isUnsupportedFeature)&&void 0!==i&&i.call(o,"tableImages")?a===yt.Link&&r.flags.isEnabled("CLIENT_IM_5715_LINKS")?((e,t,n)=>{const{urlPosition:r}=null!=t?t:{};if(r===xt.Attribute){var o;const r=xw(null!==(o=n.url)&&void 0!==o?o:-1,e,t),i=e.qText||r||"";return Sw({text:i,url:r})}if(r===xt.Dimension){var i;const r=xw(null!==(i=n.urlLabel)&&void 0!==i?i:-1,e,t)||e.qText;return Sw({text:r,url:e.qText})}return{type:yt.Text,url:void 0,text:e.qText}})(e,t,n):{type:yt.Text,url:void 0,text:e.qText}:((e,t,n)=>{const{imageSize:r,imagePosition:o,imageSetting:i,imageLabel:a}=null!=t?t:{};if("url"===i){var l,s;const t=e.qText,i=null===(l=bw(null!==(s=n.imageUrl)&&void 0!==s?s:-1,e))||void 0===l?void 0:l.qText;return yw({text:t,url:i,imageSize:r,imagePosition:o})}if("label"===i){var u,c,d;const t=e.qText;if(-1===n.imageLabel)return yw({text:a||t||"",url:t,imageSize:r,imagePosition:o});const i=null!==(u=null===(c=bw(null!==(d=n.imageLabel)&&void 0!==d?d:-1,e))||void 0===c?void 0:c.qText)&&void 0!==u?u:e.qText;return yw({text:i,url:t,imageSize:r,imagePosition:o})}return{type:yt.Text,url:void 0,text:e.qText}})(e,t,n)},Cw=(e,t)=>{var n,r,o,i;const a=t.qAttrExps,l=null==a||null===(n=a.qValues)||void 0===n||null===(n=n[null!==(r=null==e?void 0:e.cellForegroundColor)&&void 0!==r?r:-1])||void 0===n?void 0:n.qText,s=null==a||null===(o=a.qValues)||void 0===o||null===(o=o[null!==(i=null==e?void 0:e.cellBackgroundColor)&&void 0!==i?i:-1])||void 0===o?void 0:o.qText,u=s?Tb(s):null,c=l?Tb(l):null,d=((e,t)=>e||!t?null:Db(t)?Mg.WHITE:Mg.TEXT)(c,u);return{color:null!=d?d:c,background:u}},ww=(e,t)=>t.qSubNodes.reduce(((e,t)=>0===t.qSubNodes.length?e+1:ww(e,t)),e),Rw=(e,t,n,r,o,i)=>{const a=o?i.rowsPerPage-n:Ar-r;let l=e.qUp+e.qDown;if(o&&0===n){const n=(t+e.qUp)%i.rowsPerPage;l=e.qDown+n}return Math.min(a,ww(l,e))},Lw=(e,t)=>{if(e!==JE)return t?{type:yt.Text}:e.representation},Aw=({node:e,parent:t,root:n,x:r,y:o,pageY:i,layoutService:a,dimensionInfo:l,attrExprInfoIndex:s,isLeftColumn:u=!0,isIndentModeEnabled:c=!1,indentLevel:d,env:p,pageInfo:f})=>{const h=(!c||!u)&&e.qType===Ht.NX_DIM_CELL_PSEUDO;let m="";if(u&&e.indentLabel){const{label:t,delimeter:n,suffix:r}=e.indentLabel;m=`${t} ${!r||!t&&r?"":n} ${r}`.trim()}else m=e.qText;const g={id:vC(),ref:e,x:r,y:o,pageX:r,pageY:i,mainAxisPageCoord:u?i:r,isLeftColumn:u,parent:t,root:n,children:[],isLeafNode:0===e.qSubNodes.length,leafCount:Rw(e,o,i,r,u,f),distanceToNextCell:0,isLockedByDimension:!("object"!=typeof l||!l.qLocked),isTotal:e.qType===Ht.NX_DIM_CELL_TOTAL||!(null==t||!t.isTotal),isEmpty:e.qType===Ht.NX_DIM_CELL_EMPTY||-4===e.qElemNo,isNull:e.qType===Ht.NX_DIM_CELL_NULL,isPseudoDimension:h,expressionColor:Cw(s,e),selectionCellType:u?Bt.NX_CELL_LEFT:Bt.NX_CELL_TOP,dimensionInfoIndex:a.getDimensionInfoIndex(l),canBeResized:0===e.qSubNodes.length&&!u,visibleMeasureInfoIndex:h?e.qElemNo:null==t?void 0:t.visibleMeasureInfoIndex,representation:Ew({...e,qText:m},Lw(l,c),s,p),...void 0!==d&&{indentLevel:d}};return t&&(t.children[g.mainAxisPageCoord-t.mainAxisPageCoord]=g),g},Iw=(e,t,n,r,o,i,a,l)=>{const{isIndentModeEnabled:s}=o;if(!t.length)return e;let u=0;return function t(c,d,p,f=0,h=-1){e[f]||(e[f]={}),s&&h++;const m=o.leftDimensionInfoIndexes.indexOf(JE);p.forEach(((p,g)=>{var b;u+=0===g?0:1;const v=n.qTop-r.page*r.rowsPerPage,y=Math.max(0,v+u-p.qUp),x=n.qTop+u-p.qUp;if(s&&o.hasPseudoDimOnLeft&&h<=m){const e={label:p.qText,suffix:"",delimeter:"-"};if(p.qType===Ht.NX_DIM_CELL_NORMAL||p.qType===Ht.NX_DIM_CELL_NULL||p.qType===Ht.NX_DIM_CELL_TOTAL)h<m&&(e.suffix=`${o.visibleMeasureInfo[0].qFallbackTitle}`),p={...p,indentLabel:e};else if(p.qType===Ht.NX_DIM_CELL_PSEUDO){var S,E,C,w,R;e.label=null!==(S=null===(E=d||c)||void 0===E||null===(E=E.ref)||void 0===E||null===(E=E.indentLabel)||void 0===E?void 0:E.label)&&void 0!==S?S:"",e.suffix=p.qText;const t=p.qSubNodes;p={...null===(C=d||c)||void 0===C?void 0:C.ref,...p.qText?{qText:p.qText}:{},qSubNodes:t,indentLabel:e},h=null!==(w=null===(R=d||c)||void 0===R?void 0:R.indentLevel)&&void 0!==w?w:0}}let L=f;s&&(L=m>=1&&h>=m?h+1:h,0===h&&0===m&&0===p.qSubNodes.length&&(L=0));const A=s&&void 0===(null===(b=e[f][y])||void 0===b?void 0:b.ref.qText)||!e[f][y]?Aw({node:p,parent:d,root:c,x:L,y:x,pageY:y,layoutService:o,dimensionInfo:i[L],attrExprInfoIndex:a[L],isLeftColumn:!0,...s&&{isIndentModeEnabled:s,indentLevel:h},env:l,pageInfo:r}):e[f][y];if(e[f][y]=A,p.qSubNodes.length){const e=s?0:f+1;t(c||A,A,p.qSubNodes,e,h)}}))}(null,null,t,0,-1),e},Mw=(e,t)=>{e.slice(0,-1).forEach((e=>{Object.values(e).forEach(((e,n,r)=>{const o=r[n+1];e.distanceToNextCell=o?o.mainAxisPageCoord-(e.mainAxisPageCoord+e.leafCount):t-(e.mainAxisPageCoord+e.leafCount)}))}))},Dw=(e,t)=>{const n=e[0],r=n?Object.values(n):[],o=null!=t&&t.isIndentModeEnabled&&null!=t&&t.hasPseudoDimOnLeft?t.visibleMeasureInfo.length-1:0,i=null==n?void 0:n[o],a=r.at(-1);return null!=i&&i.isTotal?i.isLeafNode?i.mainAxisPageCoord:i.mainAxisPageCoord+i.leafCount-1:null!=a&&a.isTotal?a.mainAxisPageCoord-1:-1},Pw=({prevData:e,nextDataPage:t,pageInfo:n,layoutService:r,visibleLeftDimensionInfo:o,attrExprInfoIndexes:i,env:a})=>{const{qLeft:l,qArea:s}=t;if(!l.length)return e;const u=Iw(e.grid,l,s,n,r,o,i,a);Mw(u,n.rowsOnCurrentPage);const c=Dw(u,r);return{...e,grid:u,columnCount:u.length,totalDividerIndex:c}},_w=({qArea:e,prevData:t,pivotValuePoints:n,pageInfo:r})=>{const o=[...t];return n.forEach(((t,n)=>{t.forEach(((t,i)=>{var a;const l=e.qTop-r.page*r.rowsPerPage+n,s=e.qLeft+i;Array.isArray(o[l])||(o[l]=[]);const u=t.qType===Ht.NX_DIM_CELL_NULL;o[l][s]=null!==(a=o[l][s])&&void 0!==a?a:{id:vC(),ref:t,isNull:u}}))})),o},Ow=({prevData:e,dataPage:t,pageInfo:n})=>{const{qData:r,qArea:o}=t;return r.length?_w({qArea:o,prevData:e,pivotValuePoints:r,pageInfo:n}):e},Tw=(e,t,n,r,o,i,a,l,s)=>{if(!t.length)return e;let u=0;!function t(a,c,d,p=0){e[p]||(e[p]={}),d.forEach(((d,f)=>{var h;u+=0===f?0:1;const m=n.qLeft+u-d.qUp,g=null!==(h=e[p][m])&&void 0!==h?h:Aw({node:d,parent:c,root:a,x:m,y:p,pageY:p,layoutService:r,dimensionInfo:o[p],attrExprInfoIndex:i[p],isLeftColumn:!1,...r.isIndentModeEnabled&&{isIndentModeEnabled:r.isIndentModeEnabled},env:l,pageInfo:s});e[p][m]=g,d.qSubNodes.length&&t(a||g,g,d.qSubNodes,p+1)}))}(null,null,t);for(let t=0;t<a-e.length;t++)e.push({});return e},kw=({prevData:e,nextDataPage:t,layoutService:n,visibleTopDimensionInfo:r,attrExprInfoIndexes:o,headerRows:i,env:a,pageInfo:l})=>{const{qTop:s,qArea:u}=t;if(!s.length)return e;const c=Tw(e.grid,s,u,n,r,o,i,a,l);Mw(c,n.size.x);const d=Dw(c);return{...e,grid:c,rowCount:c.length,totalDividerIndex:d}},qw=e=>-1===e?{}:e.qAttrExprInfo.reduce(((e,{id:t},n)=>(e[t]=n,e)),{}),Nw=(e,t,n,r,o)=>{const{env:i}=FE(),[a,l]=A(null),s=((e,t,n)=>L((()=>({left:e.map(qw),top:t.map(qw),measures:n.map(qw)})),[n,e,t]))(r,o,t.visibleMeasureInfo),u=L((()=>CC(t,o,r)),[t,o,r]),c=D((()=>e.slice(1).reduce(((e,t)=>Ow({prevData:e,dataPage:t,pageInfo:n})),((e,t)=>{const{qData:n,qArea:r}=e;return _w({qArea:r,prevData:[],pivotValuePoints:n,pageInfo:t})})(e[0],n))),[e,n]),d=D((()=>e.slice(1).reduce(((e,r)=>kw({prevData:e,nextDataPage:r,layoutService:t,visibleTopDimensionInfo:o,attrExprInfoIndexes:s.top,headerRows:u.size.y,env:i,pageInfo:n})),((e,t,n,r,o,i,a)=>{const{qArea:l,qTop:s}=e,u=Tw([],s,l,t,n,r,o,i,a);Mw(u,t.size.x);const c=Dw(u);return{grid:u,rowCount:u.length,layoutSize:t.size,totalDividerIndex:c}})(e[0],t,o,s.top,u.size.y,i,n))),[e,t,o,s.top,u.size.y,i,n]),p=D((()=>e.slice(1).reduce(((e,o)=>Pw({prevData:e,nextDataPage:o,pageInfo:n,layoutService:t,visibleLeftDimensionInfo:r,attrExprInfoIndexes:s.left,env:i})),((e,t,n,r,o,i)=>{const{qArea:a,qLeft:l}=e,s=Iw([],l,a,n,t,r,o,i);Mw(s,n.rowsOnCurrentPage);const u=Dw(s,t);return{grid:s,columnCount:s.length,layoutSize:t.size,totalDividerIndex:u}})(e[0],t,n,r,s.left,i))),[e,t,n,r,s,i]),[f,h]=A((()=>c())),[m,g]=A((()=>d())),[b,v]=A((()=>p()));Yb((()=>{h(c())}),[c]),Yb((()=>{g(d())}),[d]),Yb((()=>{v(p())}),[p]),Yb((()=>{a&&a.forEach((e=>{h((t=>Ow({prevData:t,dataPage:e,pageInfo:n}))),g((r=>kw({prevData:r,nextDataPage:e,layoutService:t,visibleTopDimensionInfo:o,attrExprInfoIndexes:s.top,headerRows:u.size.y,env:i,pageInfo:n}))),v((o=>Pw({prevData:o,nextDataPage:e,pageInfo:n,layoutService:t,visibleLeftDimensionInfo:r,attrExprInfoIndexes:s.left,env:i})))}))}),[a]);const y=D((e=>{l(e)}),[]);return{headersData:u,measureData:f,topDimensionData:m,leftDimensionData:b,attrExprInfoIndexes:s,nextPageHandler:y}},Fw=Math.sqrt(1e4),zw=e=>({maxNumberOfVisibleRows:Math.ceil(e.height/24),maxNumberOfVisibleColumns:Math.ceil(e.width/Ft.PixelsMin)}),jw=e=>{if(null===e)return[];if(e.qWidth*e.qHeight<1e4)return[e];const t=[],n=Math.ceil(e.qWidth/Fw),r=Math.ceil(e.qHeight/Fw);for(let o=0;o<n;o++)for(let n=0;n<r;n++)t.push({qLeft:e.qLeft+o*Fw,qTop:e.qTop+n*Fw,qWidth:Math.min(Fw,e.qWidth-o*Fw),qHeight:Math.min(Fw,e.qHeight-n*Fw)});return t};function $w({model:e,nextPageHandler:t,pageInfo:n,layoutService:r}){const o=(e=>{const t=I(e);return t.current=e,t})(n.page),i=e,a=D((async(e,t)=>{var n;await(null==i||null===(n=i.collapseLeft)||void 0===n?void 0:n.call(i,XE,e,t,!1))}),[i]),l=D((async(e,t)=>{await(null==i?void 0:i.collapseTop(XE,e,t,!1))}),[i]),s=D((async(e,t)=>{await(null==i?void 0:i.expandLeft(XE,e,t,!1))}),[i]),u=D((async(e,t)=>{await(null==i?void 0:i.expandTop(XE,e,t,!1))}),[i]),c=D((async e=>{if(null!=i&&i.getHyperCubePivotData&&0!==e.length)try{const r=await i.getHyperCubePivotData(XE,e.reduce(((e,t)=>[...e,...jw(t)]),[]));o.current===n.page&&t(r)}catch(e){console.error(e)}}),[i,t,n,o]),d=D(((t,{dimensionInfoIndex:n,isLeftColumn:o,x:i=0,columnWidthLocation:a})=>{const{qMeasureInfo:l,qDimensionInfo:s,topHeadersColumnWidth:u}=r.layout.qHyperCube;let c=[];switch(a){case It.Dimension:c=[{qPath:`${XE}/qDimensions/${n}/qDef/columnWidth`,oldValue:s[n].columnWidth}];break;case It.Measures:if(o)c=l.map(((e,t)=>({qPath:`${XE}/qMeasures/${t}/qDef/columnWidth`,oldValue:e.columnWidth})));else{const e=r.getMeasureInfoIndexFromCellIndex(i);c=[{qPath:`${XE}/qMeasures/${e}/qDef/columnWidth`,oldValue:l[e].columnWidth}]}break;case It.Pivot:c=[{qPath:`${XE}/topHeadersColumnWidth`,oldValue:u}]}const d=c.map((e=>{const{qPath:n,oldValue:r}=e;return{qPath:n,qOp:r?"Replace":"Add",qValue:JSON.stringify({...r,...t})}}));null==e||e.applyPatches(d,!0)}),[e,r]),p=D((async e=>{var t;await(null==i?void 0:i.applyPatches([{qPath:`${XE}/indentModeColumnWidth`,qOp:null!==(t=r.layout.qHyperCube)&&void 0!==t&&t.indentModeColumnWidth?"Replace":"Add",qValue:JSON.stringify({...r.indentModeColumnWidth,...e})}],!0))}),[i,r]);return L((()=>({collapseLeft:a,collapseTop:l,expandLeft:s,expandTop:u,applyColumnWidth:d,applyIndentModeColumnWidth:p,fetchPages:c})),[a,l,s,u,d,p,c])}const Gw=(e,t)=>e>t?Pt.Forward:e<t?Pt.Backward:Pt.None,Bw=(e,t,n)=>(r,o)=>{if(r===Ht.NX_DIM_CELL_PSEUDO)return JE;const i=t[n+o];return e[i]},Hw=e=>{const t=[],n=(e,r=0)=>{e.slice(0,1).forEach((e=>{t[r]=e.qType,e.qSubNodes.length&&n(e.qSubNodes,r+1)}))};return n(e),t},Ww=({width:e,height:t,children:n,isLeftGrid:r})=>cc.jsx("div",{"data-testid":"full-size-container",style:{display:"block",width:r?"fit-content":e,height:t+Mr},children:n}),Vw=e=>`scrollable-container--${e}`,Yw=(e,t)=>{const{width:n,height:r,children:o,onScroll:i,style:a,showVerticalScrollbar:l,showHorizontalScrollbar:s,origin:u}=e,{interactions:c}=FE();return cc.jsx("div",{ref:t,"data-key":Vw(u),style:{width:n,height:r,overscrollBehaviorX:"contain",overflowX:c.active&&s?"auto":"hidden",overflowY:c.active&&l?"auto":"hidden",...a},onScroll:i,children:o})};var Uw=x.forwardRef(Yw);const Kw=({width:e,height:t,children:n,style:r,isLeftGrid:o})=>cc.jsx("div",{"data-testid":"sticky-container",style:{position:"sticky",top:0,left:0,width:o?"fit-content":e,height:t,...r},children:n});function Xw(){return Xw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xw.apply(this,arguments)}function Jw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zw(e,t){return Zw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zw(e,t)}function Qw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zw(e,t)}var eR=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tR(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||eR(r)&&eR(o)))return!1;var r,o;return!0}function nR(e,t){var n;void 0===t&&(t=tR);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}function rR(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var oR="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function iR(e){cancelAnimationFrame(e.id)}function aR(e,t){var n=oR();var r={id:requestAnimationFrame((function o(){oR()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var lR=-1;function sR(e){if(void 0===e&&(e=!1),-1===lR||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),lR=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return lR}var uR=null;function cR(e){if(void 0===e&&(e=!1),null===uR||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?uR="positive-descending":(t.scrollLeft=1,uR=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),uR}return uR}var dR=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function pR(e){var t,n=e.getColumnOffset,r=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,l=e.getEstimatedTotalWidth,s=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 r;return(r=e.call(this,t)||this)._instanceProps=h(r.props,Jw(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:Jw(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=nR((function(e,t,n,o,i,a,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=nR((function(e,t,n,o,i){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,a=r.props,l=a.columnWidth,s=a.direction,u=a.rowHeight,p=r._getItemStyleCache(m&&l,m&&s,m&&u),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=n(r.props,t,r._instanceProps),g="rtl"===s;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(r.props,e,r._instanceProps),height:c(r.props,e,r._instanceProps),width:i(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=nR((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=r.props.direction,u=i;if("rtl"===t)switch(cR()){case"negative":u=-i;break;case"positive-descending":u=s-o-i}u=Math.max(0,Math.min(u,s-o));var c=Math.max(0,Math.min(a,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:u,scrollTop:c,verticalScrollDirection:e.scrollTop<a?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&iR(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=aR(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}Qw(t,e),t.getDerivedStateFromProps=function(e,t){return fR(e,t),g(e),null};var b=t.prototype;return b.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},b.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=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=sR();void 0!==r&&(r=Math.max(0,Math.min(r,c-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var v=a(this.props,this._instanceProps),y=l(this.props,this._instanceProps)>f?b:0,x=v>d?b:0;this.scrollTo({scrollLeft:void 0!==r?s(this.props,r,n,m,this._instanceProps,x):m,scrollTop:void 0!==o?u(this.props,o,n,g,this._instanceProps,y):g})},b.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(cR()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&iR(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,n=e.className,r=e.columnCount,o=e.direction,i=e.height,s=e.innerRef,u=e.innerElementType,c=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?dR: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],R=this._getVerticalRangeToRender(),L=R[0],A=R[1],I=[];if(r>0&&g)for(var M=L;M<=A;M++)for(var D=C;D<=w;D++)I.push(E(t,{columnIndex:D,data:d,isScrolling:v?x:void 0,key:f({columnIndex:D,data:d,rowIndex:M}),rowIndex:M,style:this._getItemStyle(M,D)}));var P=a(this.props,this._instanceProps),_=l(this.props,this._instanceProps);return E(h||m||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:Xw({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},E(u||c||"div",{children:I,ref:s,style:{height:P,pointerEvents:x?"none":void 0,width:_}}))},b._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],l=i[1],s=i[2],u=i[3],c=this._getVerticalRangeToRender(),d=c[0],p=c[1],f=c[2],h=c[3];this._callOnItemsRendered(a,l,d,p,s,u,f,h)}if("function"==typeof r){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,n=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,l=e.rowCount,s=this.state,u=s.horizontalScrollDirection,c=s.isScrolling,d=s.scrollLeft,p=n||i||a||1;if(0===t||0===l)return[0,0,0,0];var f=r(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,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,l=a.isScrolling,s=a.verticalScrollDirection,u=a.scrollTop,c=r||o||n||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=l&&"backward"!==s?1:Math.max(1,c),g=l&&"forward"!==s?1:Math.max(1,c);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(k),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var fR=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},hR=function(e,t){var n=e.rowCount,r=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},mR=function(e,t){var n=e.columnCount,r=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},gR=function(e,t,n,r){var o,i,a;if("column"===e?(o=r.columnMetadataMap,i=t.columnWidth,a=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=t.rowHeight,a=r.lastMeasuredRowIndex),n>a){var l=0;if(a>=0){var s=o[a];l=s.offset+s.size}for(var u=a+1;u<=n;u++){var c=i(u);o[u]={offset:l,size:c},l+=c}"column"===e?r.lastMeasuredColumnIndex=n:r.lastMeasuredRowIndex=n}return o[n]},bR=function(e,t,n,r){var o,i;return"column"===e?(o=n.columnMetadataMap,i=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=n.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=r?vR(e,t,n,i,0,r):yR(e,t,n,Math.max(0,i),r)},vR=function(e,t,n,r,o,i){for(;o<=r;){var a=o+Math.floor((r-o)/2),l=gR(e,t,a,n).offset;if(l===i)return a;l<i?o=a+1:l>i&&(r=a-1)}return o>0?o-1:0},yR=function(e,t,n,r,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;r<i&&gR(e,t,r,n).offset<o;)r+=a,a*=2;return vR(e,t,n,Math.min(r,i-1),Math.floor(r/2),o)},xR=function(e,t,n,r,o,i,a){var l="column"===e?t.width:t.height,s=gR(e,t,n,i),u="column"===e?mR(t,i):hR(t,i),c=Math.max(0,Math.min(u-l,s.offset)),d=Math.max(0,s.offset-l+a+s.size);switch("smart"===r&&(r=o>=d-l&&o<=c+l?"auto":"center"),r){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}},SR=pR({getColumnOffset:function(e,t,n){return gR("column",e,t,n).offset},getColumnStartIndexForOffset:function(e,t,n){return bR("column",e,n,t)},getColumnStopIndexForStartIndex:function(e,t,n,r){for(var o=e.columnCount,i=e.width,a=gR("column",e,t,r),l=n+i,s=a.offset+a.size,u=t;u<o-1&&s<l;)u++,s+=gR("column",e,u,r).size;return u},getColumnWidth:function(e,t,n){return n.columnMetadataMap[t].size},getEstimatedTotalHeight:hR,getEstimatedTotalWidth:mR,getOffsetForColumnAndAlignment:function(e,t,n,r,o,i){return xR("column",e,t,n,r,o,i)},getOffsetForRowAndAlignment:function(e,t,n,r,o,i){return xR("row",e,t,n,r,o,i)},getRowOffset:function(e,t,n){return gR("row",e,t,n).offset},getRowHeight:function(e,t,n){return n.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,n){return bR("row",e,n,t)},getRowStopIndexForStartIndex:function(e,t,n,r){for(var o=e.rowCount,i=e.height,a=gR("row",e,t,r),l=n+i,s=a.offset+a.size,u=t;u<o-1&&s<l;)u++,s+=gR("row",e,u,r).size;return u},initInstanceProps:function(e,t){var n=e,r={columnMetadataMap:{},estimatedColumnWidth:n.estimatedColumnWidth||50,estimatedRowHeight:n.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,n){void 0===n&&(n=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:n})},t.resetAfterRowIndex=function(e,n){void 0===n&&(n=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:n})},t.resetAfterIndices=function(e){var n=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof n&&(r.lastMeasuredColumnIndex=Math.min(r.lastMeasuredColumnIndex,n-1)),"number"==typeof o&&(r.lastMeasuredRowIndex=Math.min(r.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),ER=function(e,t){return e};function CR(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,c=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,Jw(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Jw(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=nR((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=nR((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,i=r.props,a=i.direction,l=i.itemSize,s=i.layout,c=r._getItemStyleCache(u&&l,u&&s,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===a||"horizontal"===s,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},r._getItemStyleCache=void 0,r._getItemStyleCache=nR((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,a=o;if("rtl"===t)switch(cR()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;r.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&iR(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=aR(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}Qw(t,e),t.getDerivedStateFromProps=function(e,t){return wR(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 n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?sR():0:s.scrollHeight>s.clientHeight?sR():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(cR()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&iR(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,i=e.height,a=e.innerRef,l=e.innerElementType,s=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?ER: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],R=C[1],L=[];if(u>0)for(var A=w;A<=R;A++)L.push(E(t,{data:c,key:p(A,c),index:A,isScrolling:b?y:void 0,style:this._getItemStyle(A)}));var I=r(this.props,this._instanceProps);return E(h||m||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:Xw({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},E(l||s||"div",{children:L,ref:a,style:{height:x?"100%":I,pointerEvents:y?"none":void 0,width:x?I:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,s,this._instanceProps),c=l(this.props,u,s,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,n),p=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},t}(k),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var wR=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},RR=function(e,t,n){var r=e.itemSize,o=n.itemMetadataMap,i=n.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var l=o[i];a=l.offset+l.size}for(var s=i+1;s<=t;s++){var u=r(s);o[s]={offset:a,size:u},a+=u}n.lastMeasuredIndex=t}return o[t]},LR=function(e,t,n,r,o){for(;r<=n;){var i=r+Math.floor((n-r)/2),a=RR(e,i,t).offset;if(a===o)return i;a<o?r=i+1:a>o&&(n=i-1)}return r>0?r-1:0},AR=function(e,t,n,r){for(var o=e.itemCount,i=1;n<o&&RR(e,n,t).offset<r;)n+=i,i*=2;return LR(e,t,Math.min(n,o-1),Math.floor(n/2),r)},IR=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},MR=CR({getItemOffset:function(e,t,n){return RR(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:IR,getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,l=e.height,s=e.layout,u=e.width,c="horizontal"===a||"horizontal"===s?u:l,d=RR(e,t,o),p=IR(e,o),f=Math.max(0,Math.min(p-c,d.offset)),h=Math.max(0,d.offset-c+d.size+i);switch("smart"===n&&(n=r>=h-c&&r<=f+c?"auto":"center"),n){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);default:return r>=h&&r<=f?r:r<h?h:f}},getStartIndexForOffset:function(e,t,n){return function(e,t,n){var r=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?r[o].offset:0)>=n?LR(e,t,o,0,n):AR(e,t,Math.max(0,o),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var o=e.direction,i=e.height,a=e.itemCount,l=e.layout,s=e.width,u="horizontal"===o||"horizontal"===l?s:i,c=RR(e,t,r),d=n+u,p=c.offset+c.size,f=t;f<a-1&&p<d;)f++,p+=RR(e,f,r).size;return f},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}});function DR(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var PR=["style"],_R=["style"];function OR(e,t){var n=e.style,r=rR(e,PR),o=t.style,i=rR(t,_R);return!DR(n,o)&&!DR(r,i)}const TR=(e,t,n=!1)=>void 0!==e&&(e.isLeafNode||n&&e.isLeftColumn?e.mainAxisPageCoord===t:e.mainAxisPageCoord+e.leafCount-1===t),kR=10,qR=(e,t)=>e.current===Pt.Backward?t:0,NR=(e,t,n,r)=>{for(let o=n;o<n+r;o++){const n=e[o];if(void 0===n||void 0===n[t])return!0}return!1},FR=(e,t)=>e.qLeft+e.qWidth===t.qLeft&&e.qTop===t.qTop&&e.qHeight===t.qHeight,zR=({pageInfo:e,measureData:t,pageTop:n,qHeight:r,startLeft:o,endLeft:i})=>{const a=[],l=e.page*e.rowsPerPage;for(let e=o;e<i;e++)if(NR(t,e,n,r)){const t=a[a.length-1],o={qLeft:e,qTop:n+l,qWidth:1,qHeight:r};void 0!==t&&FR(t,o)?t.qWidth+=o.qWidth:a.push(o)}return a},jR=({pageInfo:e,measureData:t,scrollDirection:n,viewService:r,minBufferStartLeft:o,minBufferEndLeft:i,columnEndIndex:a})=>{const{gridRowStartIndex:l,gridHeight:s}=r,u=n.current===Pt.Backward?Math.max(0,o-25):i,c=Math.min(u+25,a);return zR({pageInfo:e,measureData:t,startLeft:u,endLeft:c,pageTop:l,qHeight:s})},$R=({pageInfo:e,measureData:t,scrollDirection:n,layoutService:r,viewService:o})=>{const{startLeft:i,endLeft:a,pageTop:l,qHeight:s}=((e,t,n)=>{const{gridColumnStartIndex:r,gridRowStartIndex:o,gridWidth:i,gridHeight:a}=t,l=e.size.x,s=qR(n,kR),u=Math.max(r-s,0);return{startLeft:u,endLeft:u+Math.min(i+kR,l-u),pageTop:o,qHeight:a}})(r,o,n),u=zR({pageInfo:e,measureData:t,startLeft:i,endLeft:a,pageTop:l,qHeight:s});return u.length>0?[...u,...jR({pageInfo:e,measureData:t,scrollDirection:n,viewService:o,minBufferStartLeft:i,minBufferEndLeft:a,columnEndIndex:r.size.x})]:u},GR=(e,t,n,r)=>{const o=e[n];if(void 0===o)return!0;for(let e=t;e<t+r;e++){if(void 0===o[e])return!0}return!1},BR=(e,t)=>e.qTop+e.qHeight===t.qTop&&e.qLeft===t.qLeft&&e.qWidth===t.qWidth,HR=({startTop:e,endTop:t,qLeft:n,qWidth:r,measureData:o,pageInfo:i})=>{const a=[],l=i.page*i.rowsPerPage;for(let i=e;i<t;i++)if(GR(o,n,i,r)){const e=a.at(-1),t={qLeft:n,qTop:i+l,qWidth:r,qHeight:1};void 0!==e&&BR(e,t)?e.qHeight+=t.qHeight:a.push(t)}return a},WR=({pageInfo:e,measureData:t,scrollDirection:n,viewService:r})=>{const{startTop:o,endTop:i,qLeft:a,qWidth:l}=((e,t,n)=>{const{gridColumnStartIndex:r,gridRowStartIndex:o,gridWidth:i,gridHeight:a}=t,l=qR(n,kR),s=Math.max(o-l,0);return{startTop:s,endTop:s+Math.min(a+kR,e.rowsOnCurrentPage-s),qLeft:r,qWidth:i}})(e,r,n),s=HR({startTop:o,endTop:i,qLeft:a,qWidth:l,measureData:t,pageInfo:e});if(s.length>0){const r=n.current===Pt.Backward?Math.max(0,o-25):i,u=Math.min(r+25,e.rowsOnCurrentPage),c=HR({startTop:r,endTop:u,qLeft:a,qWidth:l,measureData:t,pageInfo:e});return[...s,...c]}return s},VR=async(e,t,n,r,o,i,a,l)=>{const{gridColumnStartIndex:s,gridRowStartIndex:u,gridWidth:c,gridHeight:d}=o;let p=[],f=[];i.current!==Pt.None&&(p=WR({pageInfo:r,measureData:n,scrollDirection:i,viewService:o})),a.current!==Pt.None&&(f=$R({pageInfo:r,measureData:n,scrollDirection:a,layoutService:t,viewService:o})),i.current===Pt.None&&a.current===Pt.None&&(p=HR({measureData:n,pageInfo:r,qLeft:s,qWidth:c,startTop:u,endTop:u+d}));const h=e.fetchPages([...p,...f]);l.isDownloadedAsPDForImage&&l.waitForPromise(h)},YR=function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,i=0;return function(){t=this;for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];n=l;var u=Date.now()-i,c=function(){i=Date.now(),r=0,e.apply(t,n)};r||(u>=o?c():r=setTimeout(c,o-u))}}(VR,100),UR=nt(VR,75),KR=({style:e,index:t,isLastRow:n,isLastColumn:r,showLastBorder:o,isLeftColumn:i,showTotalCellDivider:a})=>{const{grid:{border:l,divider:s}}=GE();return cc.jsx("div",{style:{...e,...Tr,...Fr(n,r,l,o),...jr({bottomDivider:a&&i,rightDivider:a&&!i,borderColor:s})},"data-testid":"empty-cell","data-index":t})},XR=({children:e,verticalAlign:t,width:n,right:r})=>cc.jsx("div",{"data-key":"sticky-cell-container",style:{display:"flex",overflow:"hidden",flexDirection:"row",alignItems:t,width:n,maxWidth:"100%",maxHeight:"100%",position:"sticky",left:4,top:0,bottom:0,right:r,alignSelf:t},children:e}),JR=e=>{const{type:t,imageSize:n}=e;return t!==yt.Image||"fill"!==n&&"fitWidth"!==n?"fit-content":"100%"},ZR=()=>{let e;return{promise:new Promise((t=>{e=t})),resolve:e}};function QR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eL=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){QR(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}))));function tL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const nL=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){tL(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"})))),rL=e=>{var t;return null===(t=e.target)||void 0===t||null===(t=t.getAttribute("class"))||void 0===t?void 0:t.includes(qt)};function oL(e,t){const n=e.isActive(),[r,o]=A(new Map),[i,a]=A(null);P((()=>{const n=()=>{a(null),o(new Map)},r=()=>{n(),t({page:0})};return e.on("deactivated",n),e.on("canceled",n),e.on("confirmed",r),e.on("cleared",n),()=>{e.removeListener("deactivated",n),e.removeListener("canceled",n),e.removeListener("confirmed",r),e.removeListener("cleared",n)}}),[e,t]);const l=D((e=>0!==r.size&&null!==i&&(e.selectionCellType!==i.selectionCellType||(e.selectionCellType===Bt.NX_CELL_LEFT?i.coord!==e.x:i.coord!==e.y))),[r,i]),s=D((t=>async n=>{if(rL(n))return;if(e.isActive()||await e.begin([XE]),l(t))return;const{nextSelectedPivotCells:s,nextSelectedField:u}=((e,t,n)=>{const r=new Map(t);return r.has(e.ref.qElemNo)?(r.delete(e.ref.qElemNo),{nextSelectedPivotCells:r,nextSelectedField:0===r.size?null:n}):(r.set(e.ref.qElemNo,e),{nextSelectedPivotCells:r,nextSelectedField:{selectionCellType:e.selectionCellType,coord:e.selectionCellType===Bt.NX_CELL_LEFT?e.x:e.y}})})(t,r,i);try{await e.select({method:"selectPivotCells",params:[XE,Array.from(s,(([,e])=>({qType:e.selectionCellType,qRow:e.y,qCol:e.x})))]}),o(s),a(u)}catch(e){console.error(e)}}),[e,l,r,i]),u=D((e=>n&&!l(e)&&r.has(e.ref.qElemNo)),[r,l,n]);return L((()=>({select:s,isSelected:u,isActive:n,isLocked:l})),[s,u,n,l])}const iL=_({select:()=>()=>Promise.resolve(),isSelected:()=>!1,isActive:!1,isLocked:()=>!1}),aL=()=>S(iL),lL=({children:e,selections:t,updatePageInfo:n})=>{const r=oL(t,n);return cc.jsx(iL.Provider,{value:r,children:e})};var sL;!function(e){e.Background="background",e.Color="color",e.FontWeight="fontWeight",e.FontStyle="fontStyle",e.TextDecoration="textDecoration"}(sL||(sL={}));const uL={brighter:.5,darker:.3,opacity:.03},cL=(e,{cell:t,styleService:n})=>{if(e===sL.Background||e===sL.Color){const n=t.expressionColor[e];if(n)return n}return t.isNull?n.nullValues[e]:t.isPseudoDimension?n.measureLabels[e]:t.isTotal?n.totalValues[e]:n.dimensionValues[e]},dL=({styleService:e,isCellSelected:t,cell:n,isCellLocked:r})=>{if(t)return"#0aaf54";const o=cL(sL.Background,{cell:n,styleService:e});return!r||!o||n.isPseudoDimension||n.isEmpty||n.isNull||n.isTotal?cL(sL.Background,{cell:n,styleService:e}):`repeating-linear-gradient(\n -45deg,\n ${Mb(i=o,uL)} 0px 2px,\n ${i} 0px 4px\n ) border-box`;var i},pL=({cell:e,styleService:t,isCellSelected:n})=>n?"white":cL(sL.Color,{cell:e,styleService:t}),fL=({cell:e,styleService:t})=>{const{qCanCollapse:n,qCanExpand:r}=e.ref,o=cL(sL.FontWeight,{cell:e,styleService:t});return void 0===o&&(r||n)?Lr:o},hL=({cell:e,styleService:t})=>cL(sL.FontStyle,{cell:e,styleService:t}),mL=({cell:e,styleService:t})=>cL(sL.TextDecoration,{cell:e,styleService:t}),gL=e=>e?"pointer":"default",bL=({expandOrCollapse:e,cell:t})=>n=>{null==e||e(t.y,t.x),n.stopPropagation()},vL=(e,t)=>{if(!e.isLeftColumn||e.representation.type===yt.Image)return{padding:4};return{padding:4,marginTop:t.dimensionValueTextHeight/2-6.5-4}},yL=({cell:e,dataModel:t,isLeftColumn:n,isCellSelected:r})=>{const o=GE(),{interactions:i}=FE(),{isActive:a}=aL();if(!e.ref.qCanExpand&&!e.ref.qCanCollapse)return null;const l=!i.active||a||!t,s=pL({cell:e,styleService:o,isCellSelected:r}),u=a?.4:1,c=e.ref.qCanExpand?nL:eL;let d;return d=e.ref.qCanExpand?n?null==t?void 0:t.expandLeft:null==t?void 0:t.expandTop:n?null==t?void 0:t.collapseLeft:null==t?void 0:t.collapseTop,cc.jsx(c,{opacity:u,color:s,"data-testid":e.ref.qCanExpand?"expand-icon":"collapse-icon",height:13,style:{flexShrink:0,cursor:l?"default":"pointer",...vL(e,o)},onClick:l?void 0:bL({cell:e,expandOrCollapse:d})})},xL=e=>{switch(e){case"fitHeight":case"fill":case"alwaysFit":return"100%";case"originalSize":return"fit-content";default:return"auto"}},SL=e=>{switch(e){case"fitHeight":return"auto";case"originalSize":return"fit-content";default:return"100%"}},EL=({representation:e,styleService:t,canExpandOrCollapse:n,leafCount:r,isLeftColumn:o})=>{const i=`calc(100% - ${n?21:0}px)`,a=o?t.contentCellHeight:t.headerCellHeight,l=o&&void 0!==r?a*Math.max(r,1):a;switch(e.imageSize){case"originalSize":return{maxWidth:i,maxHeight:l};case"fitWidth":return{width:i,maxHeight:l};case"fitHeight":return{height:l,maxWidth:i};case"fill":return{height:l,width:i};default:return{width:i,height:a}}},CL=(e,t)=>{if("alwaysFit"===e)switch(null==t?void 0:t.vertical){case"flex-start":return"center top";case"flex-end":return"center bottom";default:return"center center"}},wL=e=>{if("alwaysFit"===e)return"contain"},RL=({representation:e,styleService:t,textStyle:n,canExpandOrCollapse:r,leafCount:o,isLeftColumn:i})=>{const{imageRef:a,onLoad:l}=(()=>{const{downloadService:e}=FE(),t=I(null),{promise:n,resolve:r}=L((()=>ZR()),[]);return P((()=>{var o;return e.isDownloadedAsPDForImage&&(e.waitForPromise(n),null!==(o=t.current)&&void 0!==o&&o.complete&&r()),()=>r()}),[t,e,n,r]),{onLoad:D((()=>{r()}),[r]),imageRef:t}})(),{url:s,text:u,imageSize:c,resolvedImagePosition:d}=e,{overflow:p,...f}=n;return cc.jsx("div",{"data-key":"image-container",style:{display:"flex",flexDirection:"column",justifyContent:null==d?void 0:d.vertical,overflow:"hidden",boxSizing:"border-box",border:"4px solid transparent",...EL({representation:e,styleService:t,canExpandOrCollapse:r,leafCount:o,isLeftColumn:i})},children:cc.jsx("img",{src:s,alt:u,style:{width:SL(c),height:xL(c),objectFit:wL(c),objectPosition:CL(c,d),...f},onLoad:l,ref:a})})},LL=(e,t,n)=>{if(!n.isEnabled("CLIENT_IM_5863_PVT_TEXT_ALIGN")||null!=e&&e.auto)return t;switch(null==e?void 0:e.align){case"center":return"center";case"left":return"flex-start";case"right":return"flex-end";default:return t}},AL={display:"flex",flexDirection:"row",alignItems:"center"},IL={alignItems:"center",display:"flex",flexDirection:"row",backgroundClip:"padding-box"},ML=(e,t,n,r)=>t?{...IL,...e.nullValues}:n?{...AL,color:e.totalValues.color,background:null!=r?r:e.totalValues.background}:{...AL,color:e.measureValues.color,background:null!=r?r:e.measureValues.background},DL=(e,t,n,r,o)=>{const{fontFamily:i,fontSize:a}=e.measureValues,l={...kr,...!n&&qr(e.grid.lineClamp),...t&&{color:t},fontFamily:i,fontSize:a};if(o){const{fontWeight:t,fontStyle:n,textDecoration:r}=e.nullValues;return{...l,fontWeight:t,fontStyle:n,textDecoration:r}}if(r){const{fontWeight:t,fontStyle:n,textDecoration:r}=e.totalValues;return{...l,fontWeight:t,fontStyle:n,textDecoration:r}}const{fontWeight:s,fontStyle:u,textDecoration:c}=e.measureValues;return{...l,fontWeight:void 0===s?Lr:s,fontStyle:u,textDecoration:c}},PL=(e,t,n,r,o)=>{const{textAlign:i}=t,a=r?"flex-end":"center";var l,s;return e.isNull||n.type!==yt.Image?LL(i,a,o):null!==(l=null===(s=n.resolvedImagePosition)||void 0===s?void 0:s.horizontal)&&void 0!==l?l:"center"},_L=({cell:e,layoutService:t,styleService:n,representation:r,color:o,isNumeric:i,isTotalValueCell:a})=>{const l=e.isNull?t.getNullValueText():r.text,s=DL(n,o,i,a,e.isNull);return r.type!==yt.Image||e.isNull?cc.jsx("span",{style:{padding:4,...s},children:l}):cc.jsx(RL,{representation:r,styleService:n,textStyle:s,isLeftColumn:!0})},OL=(e,t)=>{var n,r;return null!==(n=null==e||null===(r=e[t])||void 0===r?void 0:r.visibleMeasureInfoIndex)&&void 0!==n?n:0},TL="flex-start",kL=(e,t)=>{return e.isNull?TL:t.type===yt.Image&&"fill"!==t.imageSize?null===(n=t.resolvedImagePosition)||void 0===n?void 0:n.vertical:TL;var n},qL=({columnIndex:e,rowIndex:t,style:n,data:r})=>{var o;const i=GE(),{env:a}=FE(),{background:l}=i.measureValues,{grid:s,layoutService:u,showLastBorder:c,shouldShowTotalCellBottomDivider:d,shouldShowTotalCellRightDivider:p,isTotalValue:f,pageInfo:h,lastRow:m,lastColumn:g,attrExprInfoIndexes:b}=r,v=null===(o=s[t])||void 0===o?void 0:o[e],y=t===h.rowsOnCurrentPage-1,x=e===u.size.x-1;if(!v)return cc.jsx(KR,{style:{...n,background:l},isLastRow:y,isLastColumn:x,showLastBorder:c,index:t,isLeftColumn:!1,showTotalCellDivider:!1});const S=u.hasPseudoDimOnLeft?OL(g,t):OL(m,e),E=u.visibleMeasureInfo[S],C=Ew(v.ref,u.isIndentModeEnabled?{type:yt.Text}:E.representation,b[S],a),w=!v.isNull&&f(e,t),R=v.isNull?u.getNullValueText():C.text,L=!v.isNull||!Number.isNaN(+R),A=Cw(b[S],v.ref),I={...ML(i,v.isNull,w,A.background),...Fr(y,x,i.grid.border,c),...jr({bottomDivider:d(t),rightDivider:p(e),borderColor:i.grid.divider}),...Tr,padding:"0px 4px",display:"flex",justifyContent:PL(v,E,C,L,a.flags)};return cc.jsx("div",{className:Tt,title:R,style:{...I,...n},"data-testid":"measure-value","data-row-index":t,"data-col-index":e,children:cc.jsx(XR,{width:JR(C),verticalAlign:kL(v,C),children:cc.jsx(_L,{cell:v,layoutService:u,styleService:i,representation:C,isNumeric:L,isTotalValueCell:w,color:A.color})})})};var NL=x.memo(qL,OR);const FL=(e,t)=>{var n,r;return null!==(n=null===(r=t.list[e])||void 0===r?void 0:r.id)&&void 0!==n?n:e.toString()},zL=({columnIndex:e,rowIndex:t,data:n})=>{var r,o;return null!==(r=null===(o=n.grid[t])||void 0===o||null===(o=o[e])||void 0===o?void 0:o.id)&&void 0!==r?r:`${t}-${e}`},jL={...Or,overflow:"hidden",boxSizing:"content-box",borderWidth:"1px 0px 0px 1px"},$L=({dataModel:e,dataGridRef:t,height:n,rowHightCallback:r,width:o,viewService:i,layoutService:a,measureData:l,leftDimensionData:s,topDimensionData:u,visibleTopDimensionInfo:c,visibleLeftDimensionInfo:d,attrExprInfoIndexes:p,showLastBorder:f,getRightGridColumnWidth:h,pageInfo:m,verticalScrollDirection:g,horizontalScrollDirection:b})=>{const{grid:{divider:v},contentCellHeight:y}=GE(),x={...jL,borderColor:v,willChange:"auto",userSelect:"none",WebkitUserSelect:"none"},S=((e,t,n=!1)=>D((r=>{var o;const i=n?0:t-1,a=null===(o=e.grid.at(i))||void 0===o?void 0:o[r];return TR(a,e.totalDividerIndex,n)}),[e,n,t]))(s,d.length,a.isIndentModeEnabled),E=((e,t)=>D((n=>{var r;const o=null===(r=e.grid.at(t-1))||void 0===r?void 0:r[n];return TR(o,e.totalDividerIndex)}),[e,t]))(u,c.length),C=((e,t,n,r,o)=>D(((i,a)=>{var l,s;return!!(null!==(l=t.grid.at(r-1))&&void 0!==l&&null!==(l=l[i])&&void 0!==l&&l.isTotal||null!==(s=e.grid.at(o?0:n-1))&&void 0!==s&&null!==(s=s[a])&&void 0!==s&&s.isTotal)}),[t,e,n,r,o]))(s,u,d.length,c.length,a.isIndentModeEnabled),w=(({viewService:e,dataModel:t,measureData:n,layoutService:r,pageInfo:o,leftColumnCount:i,topRowCount:a,verticalScrollDirection:l,horizontalScrollDirection:s})=>{const{downloadService:u}=FE();return D((async({overscanColumnStartIndex:c,overscanColumnStopIndex:d,overscanRowStartIndex:p,overscanRowStopIndex:f})=>{e.gridColumnStartIndex=c,e.gridRowStartIndex=p,e.gridWidth=d-c+1,e.gridHeight=f-p+1;const h=e.gridWidth+i+(s.current===Pt.None?0:kR),m=e.gridHeight+a+(l.current===Pt.None?0:kR);let g=YR;m*h>1500&&(g=UR),g(t,r,n,o,e,l,s,u)}),[e,r,t,n,l,s,o,i,a,u])})({viewService:i,layoutService:a,dataModel:e,measureData:l,pageInfo:m,leftColumnCount:s.columnCount,topRowCount:u.rowCount,verticalScrollDirection:g,horizontalScrollDirection:b});return Yb((()=>{t.current&&t.current.resetAfterColumnIndex(0,!1)}),[t,e,l]),T((()=>{t.current&&t.current.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!0})}),[o,n,t,y]),0===a.size.x?null:cc.jsx(SR,{ref:t,style:x,columnCount:a.size.x,columnWidth:h,height:n,rowCount:m.rowsOnCurrentPage,rowHeight:r,width:o,itemData:{layoutService:a,grid:l,dataModel:e,showLastBorder:f,isTotalValue:C,shouldShowTotalCellBottomDivider:S,shouldShowTotalCellRightDivider:E,pageInfo:m,lastRow:u.grid.at(c.length-1),lastColumn:s.grid.at(d.length-1),attrExprInfoIndexes:p},onItemsRendered:w,estimatedRowHeight:r(),estimatedColumnWidth:h(),itemKey:zL,children:NL})};var GL=O($L);function BL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const HL=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){BL(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("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"}),x.createElement("use",{fillRule:"evenodd"})))),WL=e=>{const[t,n]=A(!1);return Yb((()=>{n(!1)}),e),{isAdjustingWidth:t,setIsAdjustingWidth:n}},VL=({interactions:e,dataModel:t})=>{const[n,r]=A(!1),{isAdjustingWidth:o,setIsAdjustingWidth:i}=WL([t]);return{open:n,setOpen:r,handleOpenMenu:t=>e.active&&!rL(t)&&!o&&r(!0),setIsAdjustingWidth:i}};function YL(e,t){var n,r,o,i;const a=null!==(n=null===(r=t.expressionColor)||void 0===r?void 0:r.background)&&void 0!==n?n:e.dimensionValues.background,l=t.isLeftColumn?e.header.background:a,s=l===Dr.Transparent?Mg.WHITE:l,u=null===(o=Ug(e.grid.border))||void 0===o?void 0:o.rgb(),c=null===(i=Ug(s))||void 0===i?void 0:i.rgb();if(c&&u&&u.opacity<1){const e=1-u.opacity;return`rgb(${u.opacity*u.r+e*c.r}, ${u.opacity*u.g+e*c.g}, ${u.opacity*u.b+e*c.g})`}return e.grid.border}const UL=({cellInfo:e,columnWidth:t,dataModel:n,isLastColumn:r,overrideLeftGridWidth:o,setIsAdjustingWidth:i,shouldApplyIndentModeColumnWidth:a,tableWidth:l})=>{const{interactions:s}=FE(),{isActive:u}=aL(),c=GE(),[,d]=A({});if(!(e.canBeResized&&!!s.active&&!u))return null;const p=YL(c,e);return cc.jsx(pS,{isPivot:!0,columnWidth:t,isLastColumn:r,keyValue:`adjuster-${e.dimensionInfoIndex}`,hoverColor:p,updateWidthCallback:t=>{d({}),o&&void 0!==e.colIdx&&o(t,e.colIdx)},confirmWidthCallback:t=>{var r;a?null==n||n.applyIndentModeColumnWidth({...t,pixels:Math.min((null!=l?l:0)*UE,null!==(r=t.pixels)&&void 0!==r?r:0)}):null==n||n.applyColumnWidth(t,e)},setIsAdjustingWidth:i,isLeftColumn:e.isLeftColumn})};function KL(e){return Ly(e)}const XL=e=>e.scrollTop;function JL(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function ZL(e){return zs("MuiPaper",e)}js("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 QL=["className","component","elevation","square","variant"],eA=aS("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return ev({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&ev({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Ny("#fff",uS(t.elevation))}, ${Ny("#fff",uS(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}));var tA=y.forwardRef((function(e,t){const n=KL({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=tv(n,QL),u=ev({},n,{component:o,elevation:i,square:a,variant:l}),c=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return ks({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},ZL,o)})(u);return cc.jsx(eA,ev({as:o,ownerState:u,className:Ws(c.root,r),ref:t},s))}));var nA=js("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const rA=["center","classes","className"];let oA,iA,aA,lA,sA=e=>e;const uA=Ml(oA||(oA=sA`
102
102
  0% {
103
103
  transform: scale(0);
104
104
  opacity: 0.1;
@@ -108,7 +108,7 @@ function Ol(e,t){let n;return n=t?Al(e).withConfig({displayName:t.label,shouldFo
108
108
  transform: scale(1);
109
109
  opacity: 0.3;
110
110
  }
111
- `)),sA=Ml(rA||(rA=aA`
111
+ `)),cA=Ml(iA||(iA=sA`
112
112
  0% {
113
113
  opacity: 1;
114
114
  }
@@ -116,7 +116,7 @@ function Ol(e,t){let n;return n=t?Al(e).withConfig({displayName:t.label,shouldFo
116
116
  100% {
117
117
  opacity: 0;
118
118
  }
119
- `)),uA=Ml(oA||(oA=aA`
119
+ `)),dA=Ml(aA||(aA=sA`
120
120
  0% {
121
121
  transform: scale(1);
122
122
  }
@@ -128,7 +128,7 @@ function Ol(e,t){let n;return n=t?Al(e).withConfig({displayName:t.label,shouldFo
128
128
  100% {
129
129
  transform: scale(1);
130
130
  }
131
- `)),cA=oS("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),dA=oS((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,d]=y.useState(!1),p=Ws(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Ws(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),y.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),cc.jsx("span",{className:p,style:f,children:cc.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(iA||(iA=aA`
131
+ `)),pA=aS("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),fA=aS((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,d]=y.useState(!1),p=Ws(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Ws(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),y.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),cc.jsx("span",{className:p,style:f,children:cc.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(lA||(lA=sA`
132
132
  opacity: 0;
133
133
  position: absolute;
134
134
 
@@ -171,4 +171,4 @@ function Ol(e,t){let n;return n=t?Al(e).withConfig({displayName:t.label,shouldFo
171
171
  animation-iteration-count: infinite;
172
172
  animation-delay: 200ms;
173
173
  }
174
- `),eA.rippleVisible,lA,550,(({theme:e})=>e.transitions.easing.easeInOut),eA.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),eA.child,eA.childLeaving,sA,550,(({theme:e})=>e.transitions.easing.easeInOut),eA.childPulsate,uA,(({theme:e})=>e.transitions.easing.easeInOut));var pA=y.forwardRef((function(e,t){const n=YL({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=ro(n,tA),[l,s]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=y.useRef(!1),p=Cs(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,cc.jsx(dA,{classes:{ripple:Ws(o.ripple,eA.ripple),rippleVisible:Ws(o.rippleVisible,eA.rippleVisible),ripplePulsate:Ws(o.ripplePulsate,eA.ripplePulsate),child:Ws(o.child,eA.child),childLeaving:Ws(o.childLeaving,eA.childLeaving),childPulsate:Ws(o.childPulsate,eA.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||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 l=a?null:h.current,s=l?l.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(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.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:n})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m,p]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.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,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),cc.jsx(cA,Xr({className:Ws(eA.root,o.root,i),ref:h},a,{children:cc.jsx(yp,{component:null,exit:!0,children:l})}))}));function fA(e){return zs("MuiButtonBase",e)}var hA=js("MuiButtonBase",["root","disabled","focusVisible"]);const mA=["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"],gA=oS("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"},[`&.${hA.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),bA=y.forwardRef((function(e,t){const n=YL({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!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:x,onKeyUp:S,onMouseDown:E,onMouseLeave:C,onMouseUp:w,onTouchEnd:R,onTouchMove:L,onTouchStart:A,tabIndex:I=0,TouchRippleProps:M,touchRippleRef:D,type:P}=n,_=ro(n,mA),O=y.useRef(null),T=y.useRef(null),k=ys(T,D),{isFocusVisibleRef:q,onFocus:N,onBlur:F,ref:z}=_s(),[j,$]=y.useState(!1);s&&j&&$(!1),y.useImperativeHandle(r,(()=>({focusVisible:()=>{$(!0),O.current.focus()}})),[]);const[G,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const H=G&&!u&&!s;function W(e,t,n=c){return vs((r=>{t&&t(r);return!n&&T.current&&T.current[e](r),!0}))}y.useEffect((()=>{j&&d&&!u&&G&&T.current.pulsate()}),[u,d,j,G]);const V=W("start",E),Y=W("stop",m),U=W("stop",g),K=W("stop",w),X=W("stop",(e=>{j&&e.preventDefault(),C&&C(e)})),J=W("start",A),Z=W("stop",R),Q=W("stop",L),ee=W("stop",(e=>{F(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=vs((e=>{O.current||(O.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),ne=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=y.useRef(!1),oe=vs((e=>{d&&!re.current&&j&&T.current&&" "===e.key&&(re.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=vs((e=>{d&&" "===e.key&&T.current&&j&&!e.defaultPrevented&&(re.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===P?"button":P,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=ys(t,z,O),ue=Xr({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:I,focusVisible:j}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=ks({root:["root",t&&"disabled",n&&"focusVisible"]},fA,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return cc.jsxs(gA,Xr({as:ae,className:Ws(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:U,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:se,tabIndex:s?-1:I,type:P},le,_,{children:[i,H?cc.jsx(pA,Xr({ref:k,center:o},M)):null]}))}));var vA=bA;var yA=y.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),l=ys(y.isValidElement(n)?n.ref:null,t);if(bs((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),bs((()=>{if(i&&!o)return gs(t,i),()=>{gs(t,null)}}),[t,i,o]),o){if(y.isValidElement(n)){const e={ref:l};return y.cloneElement(n,e)}return cc.jsx(y.Fragment,{children:n})}return cc.jsx(y.Fragment,{children:i?q.createPortal(n,i):i})}));const xA=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],SA={entering:{opacity:1},entered:{opacity:1}},EA=y.forwardRef((function(e,t){const n=Ax(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:b=fp}=e,v=ro(e,xA),x=y.useRef(null),S=ys(x,a.ref,t),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=E(d),w=E(((e,t)=>{UL(e);const r=KL({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),R=E(c),L=E(h),A=E((e=>{const t=KL({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),I=E(f);return cc.jsx(b,Xr({appear:i,in:s,nodeRef:x,onEnter:w,onEntered:R,onEntering:C,onExit:A,onExited:I,onExiting:L,addEndListener:e=>{o&&o(x.current,e)},timeout:g},v,{children:(e,t)=>y.cloneElement(a,Xr({style:Xr({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},SA[e],m,a.props.style),ref:S},t))}))}));var CA=EA;function wA(e){return zs("MuiBackdrop",e)}js("MuiBackdrop",["root","invisible"]);const RA=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],LA=oS("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Xr({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"},e.invisible&&{backgroundColor:"transparent"}))),AA=y.forwardRef((function(e,t){var n,r,o;const i=YL({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=CA,transitionDuration:g}=i,b=ro(i,RA),v=Xr({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return ks({root:["root",n&&"invisible"]},wA,t)})(v),x=null!=(n=f.root)?n:c.root;return cc.jsx(m,Xr({in:p,timeout:g},b,{children:cc.jsx(LA,Xr({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:u.Root)?r:s,className:Ws(y.root,l,null==x?void 0:x.className),ownerState:Xr({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var IA=AA;var MA=js("MuiBox",["root"]);const DA=Rx(),PA=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Ol("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(ey);return y.forwardRef((function(e,a){const l=ly(n),s=cy(e),{className:u,component:c="div"}=s,d=ro(s,py);return cc.jsx(i,Xr({as:c,ref:a,className:Ws(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:Qb,defaultTheme:DA,defaultClassName:MA.root,generateClassName:Ns.generate});var _A=PA;function OA(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function TA(e){return parseInt(ms(e).getComputedStyle(e).paddingRight,10)||0}function kA(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&OA(e,o)}))}function qA(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function NA(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=hs(e);return t.body===e?ms(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Os(hs(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${TA(r)+e}px`;const t=hs(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${TA(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=hs(r).body;else{const t=r.parentElement,n=ms(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.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()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const FA=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zA(e){const t=[],n=[];return Array.from(e.querySelectorAll(FA)).forEach(((e,r)=>{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 n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function jA(){return!0}function $A(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=zA,isEnabled:a=jA,open:l}=e,s=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=ys(t.ref,h),g=y.useRef(null);y.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(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&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&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 n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,a,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return cc.jsxs(y.Fragment,{children:[cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const GA=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&OA(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);kA(t,e.mount,e.modalRef,r,!0);const o=qA(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=qA(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=NA(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=qA(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&OA(e.modalRef,t),kA(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&OA(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function BA(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=GA,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:d}=e,p=y.useRef({}),f=y.useRef(null),h=y.useRef(null),m=ys(h,d),[g,b]=y.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const S=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),E=()=>{o.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},C=vs((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||hs(f.current).body;o.add(S(),e),h.current&&E()})),w=y.useCallback((()=>o.isTopModal(S())),[o]),R=vs((e=>{f.current=e,e&&(c&&w()?E():h.current&&OA(h.current,x))})),L=y.useCallback((()=>{o.remove(S(),x)}),[x,o]);y.useEffect((()=>()=>{L()}),[L]),y.useEffect((()=>{c?C():v&&i||L()}),[c,L,v,i,C]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Vs(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=Xr({},n,t);return Xr({role:"presentation"},r,{onKeyDown:A(r),ref:m})},getBackdropProps:(e={})=>Xr({"aria-hidden":!0},e,{onClick:I(e),open:c}),getTransitionProps:()=>({onEnter:ps((()=>{b(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:ps((()=>{b(!0),l&&l(),i&&L()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}function HA(e){return zs("MuiModal",e)}js("MuiModal",["root","hidden","backdrop"]);const WA=["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"],VA=oS("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>Xr({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),YA=oS(IA,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),UA=y.forwardRef((function(e,t){var n,r,o,i,a,l;const s=YL({name:"MuiModal",props:e}),{BackdropComponent:u=YA,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:E=!1,disableRestoreFocus:C=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:L=!1,onBackdropClick:A,open:I,slotProps:M,slots:D}=s,P=ro(s,WA),_=Xr({},s,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:E,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:L}),{getRootProps:O,getBackdropProps:T,getTransitionProps:k,portalRef:q,isTopModal:N,exited:F,hasTransition:z}=BA(Xr({},_,{rootRef:t})),j=Xr({},_,{exited:F}),$=(e=>{const{open:t,exited:n,classes:r}=e;return ks({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},HA,r)})(j),G={};if(void 0===f.props.tabIndex&&(G.tabIndex="-1"),z){const{onEnter:e,onExited:t}=k();G.onEnter=e,G.onExited=t}const B=null!=(n=null!=(r=null==D?void 0:D.root)?r:g.Root)?n:VA,H=null!=(o=null!=(i=null==D?void 0:D.backdrop)?i:g.Backdrop)?o:u,W=null!=(a=null==M?void 0:M.root)?a:b.root,V=null!=(l=null==M?void 0:M.backdrop)?l:b.backdrop,Y=Ks({elementType:B,externalSlotProps:W,externalForwardedProps:P,getSlotProps:O,additionalProps:{ref:t,as:m},ownerState:j,className:Ws(d,null==W?void 0:W.className,null==$?void 0:$.root,!j.open&&j.exited&&(null==$?void 0:$.hidden))}),U=Ks({elementType:H,externalSlotProps:V,additionalProps:c,getSlotProps:e=>T(Xr({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Ws(null==V?void 0:V.className,null==c?void 0:c.className,null==$?void 0:$.backdrop),ownerState:j});return L||I||z&&!F?cc.jsx(yA,{ref:q,container:h,disablePortal:E,children:cc.jsxs(B,Xr({},Y,{children:[!R&&u?cc.jsx(H,Xr({},U)):null,cc.jsx($A,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:N,open:I,children:y.cloneElement(f,G)})]}))}):null}));var KA=UA;var XA=js("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const JA=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ZA(e){return`scale(${e}, ${e**2})`}const QA={entering:{opacity:1,transform:ZA(1)},entered:{opacity:1,transform:"none"}},eI="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),tI=y.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=fp}=e,g=ro(e,JA),b=Cs(),v=y.useRef(),x=Ax(),S=y.useRef(null),E=ys(S,o.ref,t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},w=C(u),R=C(((e,t)=>{UL(e);const{duration:n,delay:r,easing:o}=KL({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:eI?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),L=C(s),A=C(p),I=C((e=>{const{duration:t,delay:n,easing:r}=KL({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:eI?o:.666*o,delay:eI?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=ZA(.75),c&&c(e)})),M=C(d);return cc.jsx(m,Xr({appear:r,in:a,nodeRef:S,onEnter:R,onEntered:L,onEntering:w,onExit:I,onExited:M,onExiting:A,addEndListener:e=>{"auto"===h&&b.start(v.current||0,e),n&&n(S.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>y.cloneElement(o,Xr({style:Xr({opacity:0,transform:ZA(.75),visibility:"exited"!==e||a?void 0:"hidden"},QA[e],f,o.props.style),ref:E},t))}))}));tI.muiSupportAuto=!0;var nI=tI;var rI=y.createContext({});function oI(e){return zs("MuiList",e)}js("MuiList",["root","padding","dense","subheader"]);const iI=["children","className","component","dense","disablePadding","subheader"],aI=oS("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>Xr({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var lI=y.forwardRef((function(e,t){const n=YL({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=ro(n,iI),c=y.useMemo((()=>({dense:a})),[a]),d=Xr({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ks({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},oI,t)})(d);return cc.jsx(rI.Provider,{value:c,children:cc.jsxs(aI,Xr({as:i,className:Ws(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));var sI=js("MuiListItemIcon",["root","alignItemsFlexStart"]);var uI=js("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const cI=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function dI(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function pI(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function fI(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function hI(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&fI(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var mI=y.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=ro(e,cI),p=y.useRef(null),f=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bs((()=>{r&&p.current.focus()}),[r]),y.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Os(hs(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=ys(p,t);let m=-1;y.Children.forEach(i,((e,t)=>{y.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=y.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),y.cloneElement(e,t)}return e}));return cc.jsx(lI,Xr({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=hs(t).activeElement;if("ArrowDown"===n)e.preventDefault(),hI(t,r,s,l,dI);else if("ArrowUp"===n)e.preventDefault(),hI(t,r,s,l,pI);else if("Home"===n)e.preventDefault(),hI(t,null,s,l,dI);else if("End"===n)e.preventDefault(),hI(t,null,s,l,pI);else if(1===n.length){const o=f.current,i=n.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 s=r&&!o.repeating&&fI(r,o);o.previousKeyMatched&&(s||hI(t,r,!1,l,dI,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function gI(e){return zs("MuiPopover",e)}js("MuiPopover",["root","paper"]);const bI=["onEntering"],vI=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],yI=["slotProps"];function xI(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function SI(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function EI(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function CI(e){return"function"==typeof e?e():e}const wI=oS(KA,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),RI=oS(QL,{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});var LI=y.forwardRef((function(e,t){var n,r,o;const i=YL({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={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:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:E=nI,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,L=ro(i.TransitionProps,bI),A=ro(i,vI),I=null!=(n=null==x?void 0:x.paper)?n:b,M=y.useRef(),D=ys(M,I.ref),P=Xr({},i,{anchorOrigin:s,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:S,TransitionComponent:E,transitionDuration:C,TransitionProps:L}),_=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"]},gI,t)})(P),O=y.useCallback((()=>{if("anchorPosition"===c)return u;const e=CI(l),t=(e&&1===e.nodeType?e:hs(M.current).body).getBoundingClientRect();return{top:t.top+xI(t,s.vertical),left:t.left+SI(t,s.horizontal)}}),[l,s.horizontal,s.vertical,u,c]),T=y.useCallback((e=>({vertical:xI(e,S.vertical),horizontal:SI(e,S.horizontal)})),[S.horizontal,S.vertical]),k=y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=T(t);if("none"===c)return{top:null,left:null,transformOrigin:EI(n)};const r=O();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,u=ms(CI(l)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,n.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:EI(n)}}),[l,c,O,T,m]),[q,N]=y.useState(g),F=y.useCallback((()=>{const e=M.current;if(!e)return;const t=k(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[k]);y.useEffect((()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[l,R,F]);y.useEffect((()=>{g&&F()})),y.useImperativeHandle(a,(()=>g?{updatePosition:()=>{F()}}:null),[g,F]),y.useEffect((()=>{if(!g)return;const e=fs((()=>{F()})),t=ms(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,g,F]);let z=C;"auto"!==C||E.muiSupportAuto||(z=void 0);const j=f||(l?hs(CI(l)).body:void 0),$=null!=(r=null==v?void 0:v.root)?r:wI,G=null!=(o=null==v?void 0:v.paper)?o:RI,B=Ks({elementType:G,externalSlotProps:Xr({},I,{style:q?I.style:Xr({},I.style,{opacity:0})}),additionalProps:{elevation:h,ref:D},ownerState:P,className:Ws(_.paper,null==I?void 0:I.className)}),H=Ks({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:j,open:g},ownerState:P,className:Ws(_.root,p)}),{slotProps:W}=H,V=ro(H,yI);return cc.jsx($,Xr({},V,!Bs($)&&{slotProps:W,disableScrollLock:R},{children:cc.jsx(E,Xr({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),F()},onExited:()=>{N(!1)},timeout:z},L,{children:cc.jsx(G,Xr({},B,{children:d}))}))}))}));function AI(e){return zs("MuiMenu",e)}js("MuiMenu",["root","paper","list"]);const II=["onEntering"],MI=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],DI={vertical:"top",horizontal:"right"},PI={vertical:"top",horizontal:"left"},_I=oS(LI,{shouldForwardProp:e=>rS(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),OI=oS(RI,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),TI=oS(mI,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var kI=y.forwardRef((function(e,t){var n,r;const o=YL({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!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,x=ro(o.TransitionProps,II),S=ro(o,MI),E=(()=>{const e=y.useContext(xy);return null!=e&&e})(),C=Xr({},o,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:x,variant:g}),w=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"],list:["list"]},AI,t)})(C),R=i&&!s&&d,L=y.useRef(null);let A=-1;y.Children.map(a,((e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===A)&&(A=t))}));const I=null!=(n=b.paper)?n:OI,M=null!=(r=v.paper)?r:p,D=Ks({elementType:b.root,externalSlotProps:v.root,ownerState:C,className:[w.root,l]}),P=Ks({elementType:I,externalSlotProps:M,ownerState:C,className:w.paper});return cc.jsx(_I,Xr({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?DI:PI,slots:{paper:I,root:b.root},slotProps:{root:D,paper:P},open:d,ref:t,transitionDuration:h,TransitionProps:Xr({onEntering:(e,t)=>{L.current&&L.current.adjustStyleForScrollbar(e,{direction:E?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:C},S,{classes:f,children:cc.jsx(TI,Xr({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:L,autoFocus:i&&(-1===A||s),autoFocusItem:R,variant:g},u,{className:Ws(w.list,u.className),children:a}))}))}));function qI(e){return zs("MuiMenuItem",e)}var NI=js("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const FI=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],zI=oS(vA,{shouldForwardProp:e=>rS(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>Xr({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${NI.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ky(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${NI.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ky(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${NI.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ky(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ky(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${NI.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${NI.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${XA.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${XA.inset}`]:{marginLeft:52},[`& .${uI.root}`]:{marginTop:0,marginBottom:0},[`& .${uI.inset}`]:{paddingLeft:36},[`& .${sI.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Xr({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${sI.root} svg`]:{fontSize:"1.25rem"}}))));var jI=y.forwardRef((function(e,t){const n=YL({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,p=ro(n,FI),f=y.useContext(rI),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:l})),[f.dense,i,l]),m=y.useRef(null);bs((()=>{r&&m.current&&m.current.focus()}),[r]);const g=Xr({},n,{dense:h.dense,divider:a,disableGutters:l}),b=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return Xr({},a,ks({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},qI,a))})(n),v=ys(m,t);let x;return n.disabled||(x=void 0!==c?c:-1),cc.jsx(rI.Provider,{value:h,children:cc.jsx(zI,Xr({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:Ws(b.focusVisible,s),className:Ws(b.root,d)},p,{ownerState:g,classes:b}))})}));const $I=oS(_A,{shouldForwardProp:e=>!["interactions","hoverBackground","background","shouldShowMenuIcon","isDimension"].includes(e)})((({interactions:e,background:t,hoverBackground:n,shouldShowMenuIcon:r,isDimension:o})=>({pointerEvents:o?"all":"none",position:"relative",display:"grid",gridTemplateColumns:r?"1fr 12px":"1fr",gap:8,alignItems:"center",cursor:e.active?"pointer":"default",background:t,"&&:hover":{background:e.active&&o?n:t}}))),GI=oS("div")({position:"absolute",left:0,bottom:0}),BI=oS("div",{shouldForwardProp:e=>"justifyContent"!==e})((({justifyContent:e})=>({..._r,justifyContent:null!=e?e:_r.justifyContent,flexDirection:"row",overflow:"hidden",position:"relative",gap:8}))),HI=oS("div")((()=>({..._r}))),WI=oS("div",{shouldForwardProp:e=>!["fontSize","fontFamily","fontWeight","fontStyle","textDecoration","justifyContent"].includes(e)})((({fontSize:e,fontFamily:t,fontWeight:n,fontStyle:r,textDecoration:o,justifyContent:i})=>({display:"flex",justifyContent:i,alignSelf:"center",flexGrow:1,maxWidth:"100%",fontWeight:n,fontSize:e,fontFamily:t,fontStyle:r,textDecoration:o}))),VI=oS(kI)((({theme:e})=>({".MuiList-root":{padding:e.spacing(.5,0)}}))),YI=oS(jI,{shouldForwardProp:e=>!["isActive"].includes(e)})((({theme:e,isActive:t})=>({width:220,maxHeight:32,borderRadius:`${e.spacing(.5)}`,margin:`${e.spacing(.25,.5)}`,padding:`${e.spacing(1,1.5)}`,display:"flex",justifyContent:"space-between",position:"relative",overflow:"hidden ",boxSizing:"border-box",background:""+(t?"rgba(0, 0, 0, 0.05)":"transparent"),"&:hover":{".indent-mode-dropdown-more":{opacity:1}}}))),UI=oS("span")({textOverflow:"ellipsis",overflow:"hidden"}),KI=oS("div",{shouldForwardProp:e=>"visible"!==e})((({visible:e})=>({opacity:e?1:0,width:BE,display:"flex",justifyContent:"center",alignItems:"center",position:"relative"}))),XI={[QS.SORTING]:!0,[QS.SELECTIONS]:!0,[QS.SEARCHING]:!0},JI=({dataModel:e,cell:t,style:n,isFirstColumn:r,isLastColumn:o,isLastRow:i,translator:a,changeSortOrder:l,iconsVisibilityStatus:s,columnWidth:u,overrideLeftGridWidth:c,layoutService:d,shouldApplyIndentModeColumnWidth:p,tableWidth:f})=>{var h;const m=I(null),g=jE(),{app:b,model:v,interactions:y,embed:x,env:{flags:S}}=qE(),{fontSize:E,fontFamily:C,fontStyle:w,fontWeight:R,textDecoration:L,color:A,background:M,hoverBackground:D,activeBackground:P}=g.header,_=I(null),{shouldShowLockIcon:O,shouldShowMenuIcon:T}=s,{open:k,setOpen:q,handleOpenMenu:N,setIsAdjustingWidth:F}=HL({interactions:y,dataModel:e}),z={sortFromMenu:async(e,n)=>{e.stopPropagation(),await l(t,n)}},j={embed:x,listboxRef:m,sortCriteria:d.searchSortFromDimension&&t.isDim?d.getSortCriteriaForDimension(t.dimensionInfoIndex):void 0},$={model:v,app:b},{labelTextAlign:G}=null!==(h=d.getDimensionInfo(t.dimensionInfoIndex))&&void 0!==h?h:{},B=wL(G,"flex-start",S);return cc.jsxs($I,{className:Tt,title:t.label,interactions:y,background:k?P:M,hoverBackground:D,shouldShowMenuIcon:T,isDimension:t.isDim,style:{...n,...Tr,...zr(t,i,r,o,g.grid.border),color:A},"data-testid":"title-cell",onClick:N,children:[cc.jsxs(BI,{children:[O&&cc.jsx(HI,{children:cc.jsx(GL,{height:12})}),cc.jsx(WI,{fontFamily:C,fontSize:E,fontStyle:w,fontWeight:R,textDecoration:L,justifyContent:B,children:cc.jsx("span",{style:kr,children:t.label})})]}),t.isDim&&cc.jsxs(cc.Fragment,{children:[cc.jsx(tE,{headerData:t,translator:a,anchorRef:_,open:k,setOpen:q,interactions:y,menuAvailabilityFlags:XI,sortRelatedArgs:z,searchRelatedArgs:j,selectionRelatedArgs:$,shouldShowMenuIcon:T}),cc.jsx(GI,{ref:m}),cc.jsx(GI,{ref:_})]}),cc.jsx(VL,{cellInfo:{...t,isLeftColumn:!0},columnWidth:u,dataModel:e,isLastColumn:o,overrideLeftGridWidth:c,setIsAdjustingWidth:F,shouldApplyIndentModeColumnWidth:p,tableWidth:f})]})},ZI=({rowSpan:e,columnSpan:t})=>{const n=jE();return e>0&&t>0?cc.jsx("div",{style:{...Or,gridRowStart:1,gridRowEnd:`span ${e}`,gridColumnStart:1,gridColumnEnd:`span ${t}`,borderWidth:"0px 1px 0px 0px",borderColor:n.grid.border,background:n.grid.background},"data-testid":"empty-header-cell"}):null};function QI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const eM=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){QI(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"}))));function tM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const nM=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){tM(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m8 7-4.5 4.5L2 10l6-6 6 6-1.5 1.5z"}),x.createElement("use",{fillRule:"evenodd"})))),rM=({dataModel:e,tableWidth:t,leftGridWidth:n,overrideLeftGridWidth:r})=>{const o=jE(),{interactions:i}=qE(),{isActive:a}=oL(),{setIsAdjustingWidth:l}=BL([e]);if(!(!!i.active&&!a))return null;const s=WL(o,{isLeftColumn:!0});return cc.jsx(cS,{isPivot:!0,isLastColumn:!0,isLeftColumn:!0,keyValue:"adjuster-indent-row",hoverColor:s,columnWidth:n,updateWidthCallback:e=>{r(Math.min(e,t*VE))},confirmWidthCallback:o=>{var i;if(o.type===zt.FitToContent)return void e.applyIndentModeColumnWidth({type:zt.Auto});const a=Math.min(null!==(i=o.pixels)&&void 0!==i?i:n,t*VE);r(a),e.applyIndentModeColumnWidth({type:zt.Pixels,pixels:a})},setIsAdjustingWidth:l})};function oM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const iM=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){oM(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"M3 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0m6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2"})))),aM=({cell:e,translator:t,dataModel:n,changeSortOrder:r})=>{const o=I(null),i=I(null),{app:a,model:l,interactions:s,embed:u}=qE(),{open:c,setOpen:d,handleOpenMenu:p}=HL({interactions:s,dataModel:n});return cc.jsxs(YI,{component:"div",onClick:p,isActive:c,children:[cc.jsx(UI,{children:e.label}),cc.jsxs(KI,{className:"indent-mode-dropdown-more",visible:c,children:[cc.jsx(iM,{}),e.isDim&&cc.jsxs(cc.Fragment,{children:[cc.jsx(tE,{headerData:e,translator:t,anchorRef:o,open:c,setOpen:d,interactions:s,menuAvailabilityFlags:XI,sortRelatedArgs:{sortFromMenu:async(t,n)=>{t.stopPropagation(),await r(e,n)}},searchRelatedArgs:{embed:u,listboxRef:i},selectionRelatedArgs:{model:l,app:a},shouldShowMenuIcon:!1}),cc.jsx(GI,{ref:i}),cc.jsx(GI,{ref:o})]})]})]})},lM=({idx:e,menu:t,menuItems:n,isOnlyOneRow:r})=>{var o,i;const a=(null===(o=n.at(-1))||void 0===o?void 0:o.id)===XE,l=e+1<n.length&&(null===(i=n[e+1])||void 0===i?void 0:i.id)===XE;return!(r&&a&&l)&&((null==t?void 0:t.id)!==XE&&e<n.length-1)},sM=({headersData:e,menuItems:t,dataModel:n,translator:r,changeSortOrder:o,overrideLeftGridWidth:i,leftGridWidth:a,tableWidth:l})=>{const s=jE(),{interactions:u}=qE(),[c,d]=A(!1),p=I(null),{headerCellHeight:f}=s,{color:h,background:m,hoverBackground:g,activeBackground:b,fontFamily:v,fontSize:y,fontStyle:x,fontWeight:S,textDecoration:E}=s.header,{isAdjustingWidth:C}=BL([n]),w=e=>e.stopPropagation(),R={height:f,gridColumn:`1 / span ${e.size.x}`,gridRow:e.size.y,zIndex:e.size.x-0};return cc.jsxs($I,{isDimension:!0,background:c?b:m,interactions:u,hoverBackground:g,style:{...R,...Tr,color:h},onClick:e=>u.active&&!tL(e)&&!C&&d(!c),"data-testid":"indentModeHeaderCellWrapper",children:[cc.jsxs(BI,{justifyContent:"flex-start",children:[cc.jsx(WI,{fontFamily:v,fontSize:y,fontStyle:x,fontWeight:S,textDecoration:E,justifyContent:"flex-start",children:cc.jsx("span",{style:kr,children:r.get("SNPivotTable.IndentMode.Rows")})}),c?cc.jsx(nM,{}):cc.jsx(eM,{}),cc.jsx(GI,{ref:p})]}),cc.jsx(VI,{open:c,anchorEl:p.current,children:t.map(((i,a)=>[i&&(null==i?void 0:i.id)!==XE&&cc.jsx("li",{role:"presentation",onClick:w,onKeyDown:w,children:cc.jsx(aM,{cell:i,translator:r,dataModel:n,changeSortOrder:o})}),lM({idx:a,menu:i,menuItems:t,isOnlyOneRow:1===e.size.y})&&cc.jsx(bS,{"data-testid":"group-divider",variant:"middle"},"divider")]))}),cc.jsx(rM,{dataModel:n,tableWidth:l,leftGridWidth:a,overrideLeftGridWidth:i})]})},uM={display:"grid",width:"fit-content"},cM=({dataModel:e,tableWidth:t,leftGridWidth:n,columnWidths:r,rowHight:o,headersData:i,translator:a,changeSortOrder:l,getHeaderCellsIconsVisibilityStatus:s,height:u,overrideLeftGridWidth:c,layoutService:d})=>cc.jsxs("div",{style:{...uM,gridTemplateColumns:r.map((e=>`${e}px`)).join(" "),gridTemplateRows:i.data.map((()=>`${o}px`)).join(" "),height:u},children:[i.size.y>1&&cc.jsx(ZI,{columnSpan:i.size.x-1,rowSpan:i.size.y-1}),i.data.map(((u,p)=>{let f=[];if(d.isIndentModeEnabled&&i.size.x>1&&p+1===i.size.y){const r=i.data.at(-1);return f.push(cc.jsx(sM,{headersData:i,menuItems:r[0],dataModel:e,translator:a,changeSortOrder:l,overrideLeftGridWidth:c,leftGridWidth:n,tableWidth:t},r[0][0].id)),f}return f=u.reduce(((n,u,f)=>{if(u){const h=s(f,u.isLocked,u.label),m=d.isIndentModeEnabled&&1===i.size.x;n.push(cc.jsx(JI,{dataModel:e,style:{width:r[f],height:o,gridColumn:d.isIndentModeEnabled&&i.size.x>1?2:f+1,gridRow:p+1,zIndex:i.size.x-f},isLastRow:p===i.size.y-1,isFirstColumn:0===f,isLastColumn:f===i.size.x-1,translator:a,changeSortOrder:l,cell:u,iconsVisibilityStatus:h,columnWidth:r[f],overrideLeftGridWidth:c,layoutService:d,shouldApplyIndentModeColumnWidth:m,tableWidth:t},u.id))}return n}),[]),f}))]});var dM=O(cM);const pM=(e,t,n,r,o)=>{T((()=>{var t;null===(t=e.current)||void 0===t||t.forEach((e=>null==e?void 0:e.resetAfterIndex(0,!0)))}),[e,t,n,r,o])},fM=(e,t)=>{Yb((()=>{var t;null===(t=e.current)||void 0===t||t.forEach((e=>null==e?void 0:e.resetAfterIndex(0,!1)))}),[e,t])},hM=(e,t,n,r)=>{var o;const i=n?"flex-start":"center";var a,l;if(e.representation.type===yt.Image)return null!==(a=null===(l=e.representation.resolvedImagePosition)||void 0===l?void 0:l.horizontal)&&void 0!==a?a:i;if(e.isPseudoDimension&&void 0!==e.visibleMeasureInfoIndex){var s;const{labelTextAlign:n}=null!==(s=t.visibleMeasureInfo[e.visibleMeasureInfoIndex])&&void 0!==s?s:{};return wL(n,i,r)}const{textAlign:u}=null!==(o=t.getDimensionInfo(e.dimensionInfoIndex))&&void 0!==o?o:{};return wL(u,i,r)},mM=()=>{},gM=({children:e,text:t,reactWindowStyle:n,cell:r,data:o,showTotalCellDivider:i,isLastRow:a,isLastColumn:l,isLeftColumn:s,isCellSelected:u,isAdjustingWidth:c})=>{var d;const p=jE(),{interactions:f,env:{flags:h}}=qE(),{select:m,isLocked:g}=oL(),{layoutService:b,showLastBorder:v}=o,y=g(r)||r.isLockedByDimension,x=!(y||!f.active||!f.select||r.isEmpty||r.isNull||r.isPseudoDimension||r.isTotal||c),S=x?m(r):void 0;return cc.jsx("div",{className:Tt,title:f.passive?t:void 0,style:{...n,...Fr(a,l,p.grid.border,v),...jr({bottomDivider:i&&s,rightDivider:i&&!s,borderColor:p.grid.divider}),...Tr,padding:"0px 4px",cursor:hL(x),background:uL({styleService:p,isCellSelected:u,cell:r,isCellLocked:y}),zIndex:s?void 0:b.size.x-r.x,justifyContent:hM(r,b,s,h),display:"flex",...b.isIndentModeEnabled&&s&&{paddingLeft:Math.max(4,24*(null!==(d=r.indentLevel)&&void 0!==d?d:0))}},"aria-hidden":"true",onClick:S,onKeyUp:mM,role:"button",tabIndex:-1,"data-testid":"dimension-cell","data-x":r.x,"data-page-x":r.pageX,"data-y":r.y,"data-page-y":r.pageY,"data-cell-type":r.ref.qType,children:e})},bM=e=>e.stopPropagation(),vM=({href:e,text:t,interactions:n,color:r})=>x.createElement(Xh,{href:e,rel:"noreferrer",target:"_blank",underline:"hover",title:t,onClick:bM,style:{pointerEvents:n.active?"auto":"none",color:null!=r?r:void 0,opacity:n.active&&n.passive||r?void 0:.4}},t),yM=({children:e,textStyle:t})=>cc.jsx("span",{style:{...t,border:"4px solid transparent",boxSizing:"border-box"},children:e}),xM=({cell:e,styleService:t,isCellSelected:n,isLeftColumn:r})=>{const{isActive:o}=oL(),{interactions:i}=qE();let a=e.representation.text;if(e.isEmpty)return null;const l=(({cell:e,styleService:t,isCellSelected:n,isLeftColumn:r})=>({...kr,...qr(r?Math.max(t.grid.lineClamp,e.leafCount*t.grid.lineClamp):t.grid.columnLineClamp),color:cL({cell:e,styleService:t,isCellSelected:n}),fontWeight:dL({cell:e,styleService:t}),fontStyle:pL({cell:e,styleService:t}),textDecoration:fL({cell:e,styleService:t}),fontFamily:t.dimensionValues.fontFamily,fontSize:t.dimensionValues.fontSize}))({cell:e,styleService:t,isCellSelected:n,isLeftColumn:r});return e.representation.type!==yt.Image||e.isTotal?(e.representation.type!==yt.Link||o||e.isTotal||(a=cc.jsx(vM,{text:e.representation.text,href:e.representation.url,interactions:i,color:e.expressionColor.color})),cc.jsx(yM,{textStyle:l,children:a})):cc.jsx(CL,{representation:e.representation,isLeftColumn:r,styleService:t,textStyle:l,leafCount:e.leafCount,canExpandOrCollapse:e.ref.qCanCollapse||e.ref.qCanExpand})},SM=e=>{const t=e.isLeftColumn?"flex-start":"center";var n;return e.representation.type!==yt.Image||(e=>"fill"===e.representation.imageSize)(e)?t:null===(n=e.representation.resolvedImagePosition)||void 0===n?void 0:n.vertical},EM=({index:e,style:t,data:n})=>{const r=jE(),{isSelected:o}=oL(),{isAdjustingWidth:i,setIsAdjustingWidth:a}=BL([n]),{dataModel:l,isLeftColumn:s=!1,showLastBorder:u,itemCount:c,isLast:d,totalDividerIndex:p,layoutService:f}=n,h=((e,t)=>{const{isLast:n,list:r,listValues:o}=t;return n?r[e]:o[e]})(e,n),m=s?e===c-1:d,g=s?d:e===c-1,b=_R(h,p,f.isIndentModeEnabled);if(void 0===h){const{background:n}=r.dimensionValues;return cc.jsx(YR,{style:{...t,background:n},index:e,isLastRow:m,isLastColumn:g,showLastBorder:u,isLeftColumn:s,showTotalCellDivider:b})}const v=o(h);return cc.jsxs(gM,{text:h.representation.text,reactWindowStyle:t,isLeftColumn:s,isLastRow:m,isLastColumn:g,isCellSelected:v,showTotalCellDivider:b,cell:h,data:n,isAdjustingWidth:i,children:[cc.jsxs(UR,{verticalAlign:SM(h),width:KR(h.representation),right:h.isLeftColumn?void 0:4,children:[cc.jsx(bL,{isLeftColumn:s,isCellSelected:v,cell:h,dataModel:l}),cc.jsx(xM,{isLeftColumn:s,isCellSelected:v,cell:h,styleService:r})]}),cc.jsx(VL,{cellInfo:{...h,columnWidthLocation:h.isPseudoDimension?It.Measures:It.Dimension},columnWidth:t.width,dataModel:l,isLastColumn:g,setIsAdjustingWidth:a})]})};var CM=x.memo(EM,PR);const wM=({list:e,listValues:t,isLastRow:n,getRightGridColumnWidth:r})=>o=>{var i;const a=n?e[o]:t[o];return 0===o&&(null==a?void 0:a.x)>0?(a.leafCount+a.x+a.distanceToNextCell)*r():n||void 0===a?r(null!==(i=null==a?void 0:a.x)&&void 0!==i?i:o):(a.leafCount+a.distanceToNextCell)*r()},RM=(e,t,n,r)=>{const o=Object.values(e);let i,a=o.length;return r&&(a=n,i=t/a),{itemCount:a,estimatedItemSize:i,listValues:o}},LM=(e,t)=>n=>{e.current&&(e.current[t]=n)},AM={display:"flex",height:"fit-content",borderWidth:"1px 0px 0px 0px",...Or},IM={overflow:"hidden",willChange:"auto",flexShrink:0},MM=({dataModel:e,leftGridRef:t,width:n,columnWidths:r,height:o,layoutService:i,leftDimensionData:a,showLastBorder:l,visibleLeftDimensionInfo:s,pageInfo:u})=>{const{qSize:c}=i.layout.qHyperCube,{contentCellHeight:d,grid:{divider:p}}=jE();fM(t,a),pM(t,n,o,d,i);const f=u.rowsOnCurrentPage*d;return cc.jsx("div",{style:{...AM,borderColor:p},children:a.grid.map(((n,p)=>{const h=p===a.columnCount-1,m=bC(s[p]),{itemCount:g,estimatedItemSize:b,listValues:v}=RM(n,f,u.rowsOnCurrentPage,h),y=i.isIndentModeEnabled?()=>d:((e,t,n,r,o)=>i=>{const a=r?e[i]:t[i];if(0===i&&(null==a?void 0:a.pageY)>0)return(a.leafCount+a.pageY+a.distanceToNextCell)*n;if((null==a?void 0:a.leafCount)>0){const e=a.y===o-a.leafCount;return(a.leafCount-(e?a.ref.qUp:0)+a.distanceToNextCell)*n}return n})(n,v,d,h,c.qcy);return cc.jsx(AR,{ref:LM(t,p),style:{...IM,flexGrow:h?1:0},height:o,width:r[p],itemCount:g,itemSize:y,layout:"vertical",itemData:{layoutService:i,dataModel:e,list:n,isLeftColumn:!0,isLast:h,itemCount:g,showLastBorder:l,listValues:v,totalDividerIndex:a.totalDividerIndex},itemKey:qL,estimatedItemSize:b,children:CM},m)}))})};var DM=O(MM);const PM={overflow:"hidden",willChange:"auto"},_M={...Or,borderWidth:"0px 0px 0px 1px"},OM=({dataModel:e,topGridRef:t,rowHightCallback:n,width:r,height:o,layoutService:i,topDimensionData:a,showLastBorder:l,getRightGridColumnWidth:s,headersData:u})=>{const{grid:{divider:c},headerCellHeight:d}=jE(),p={..._M,borderColor:c,height:o};fM(t,a),pM(t,r,o,d,i);const f=i.size.x*s();return 0===a.rowCount?cc.jsx("div",{style:{width:r,height:o,..._M}}):cc.jsx("div",{style:p,children:a.grid.map(((o,c)=>{const d=c===a.rowCount-1,{itemCount:p,estimatedItemSize:h,listValues:m}=RM(o,f,i.size.x,d),g=(({layoutService:e,headersData:t,topRowIndex:n})=>{var r;const o=t.data[n],i=t.size.x-1,a=e.isIndentModeEnabled&&t.size.x>1&&n+1===t.size.y?null===(r=o[0][i])||void 0===r?void 0:r.dimensionInfoIndex:null==o?void 0:o[i].dimensionInfoIndex;return void 0!==a?e.getDimensionInfo(a):void 0})({layoutService:i,headersData:u,topRowIndex:c}),b=g?bC(g):`empty ${c}`;return cc.jsx(AR,{ref:LM(t,c),style:PM,height:n(),width:r,itemCount:p,itemSize:wM({list:o,listValues:m,isLastRow:d,getRightGridColumnWidth:s}),layout:"horizontal",itemData:{layoutService:i,dataModel:e,list:o,isLast:d,itemCount:p,showLastBorder:l,listValues:m,totalDividerIndex:a.totalDividerIndex},itemKey:qL,estimatedItemSize:h,children:CM},b)}))})};var TM=O(OM);const kM=({model:e,rect:t,viewService:n,layoutService:r,qPivotDataPages:o,pageInfo:i,translator:a})=>{const{headerCellHeight:l,contentCellHeight:s}=jE(),u=((e,t,n)=>L((()=>{let{height:r}=e;return t.hasLimitedData&&(r-=22),n&&(r-=41),{...e,height:r}}),[e,t,n]))(t,r,i.shouldShowPagination),{visibleLeftDimensionInfo:c,visibleTopDimensionInfo:d}=((e,t)=>{const{qHyperCube:n}=e.layout,{qNoOfLeftDims:r,qEffectiveInterColumnSortOrder:o,qDimensionInfo:i}=n;return L((()=>{var e,n,a,l;const s=Gw(null!==(e=null===(n=t[0])||void 0===n?void 0:n.qLeft)&&void 0!==e?e:[]),u=Gw(null!==(a=null===(l=t[0])||void 0===l?void 0:l.qTop)&&void 0!==a?a:[]);return{visibleLeftDimensionInfo:s.map($w(i,o,0)),visibleTopDimensionInfo:u.map($w(i,o,r))}}),[i,o,r,t])})(r,o),p=(e=>{const t=D((async(t,n)=>{if(!e)throw new Error("No Model provided!");const{qReverseSort:r,dimensionInfoIndex:o,sortDirection:i}=t,a=[];if(n===i)return!1;a.push({qPath:`/qHyperCubeDef/qDimensions/${o}/qDef/qReverseSort`,qOp:"Replace",qValue:(!r).toString()});try{return await e.applyPatches(a,!0),!0}catch(e){return console.error("Error while applying patch: ",e),!1}}),[e]);return t})(e),{headersData:f,measureData:h,topDimensionData:m,leftDimensionData:g,attrExprInfoIndexes:b,nextPageHandler:v}=kw(o,r,i,c,d),y=zw({model:e,nextPageHandler:v,pageInfo:i,layoutService:r}),{onHorizontalScrollHandler:x,onVerticalScrollHandler:S,verticalScrollableContainerRef:E,leftGridHorizontalScrollableContainerRef:C,dataGridHorizontalScrollableContainerRef:w,dataGridRef:R,leftGridRef:M,topGridRef:_,verticalScrollbarWidth:O,horizontalScrollbarHeight:k,horizontalScrollbarHeightSetter:q,verticalScrollDirection:N,horizontalScrollDirection:F}=(({layoutService:e,viewService:t,pageInfo:n,tableRect:r,mockedRefs:o})=>{var i,a,l,s,u,c;const{theme:d,downloadService:p}=qE(),f=I(null!==(i=null==o?void 0:o.verticalScrollableContainerRef)&&void 0!==i?i:null),h=I(null!==(a=null==o?void 0:o.leftGridHorizontalScrollableContainerRef)&&void 0!==a?a:null),m=I(null!==(l=null==o?void 0:o.dataGridHorizontalScrollableContainerRef)&&void 0!==l?l:null),g=I(null!==(s=null==o?void 0:o.topGridRef)&&void 0!==s?s:[]),b=I(null!==(u=null==o?void 0:o.leftGridRef)&&void 0!==u?u:[]),v=I(null!==(c=null==o?void 0:o.dataGridRef)&&void 0!==c?c:null),y=I(0),x=I(0),S=I(Pt.None),E=I(Pt.None),[C,w]=A(0),[R,L]=A(0),M=e=>{E.current=jw(e.currentTarget.scrollLeft,y.current),y.current=e.currentTarget.scrollLeft,S.current=jw(e.currentTarget.scrollTop,x.current),x.current=e.currentTarget.scrollTop};T((()=>{e.triggerdByExpandOrCollapse||(h.current&&(h.current.scrollLeft=0),m.current&&(m.current.scrollLeft=0),f.current&&(f.current.scrollTop=0))}),[e]),T((()=>{if(e.triggerdByExpandOrCollapse){var t,n,r,o,i,a;const e=null!==(t=null===(n=m.current)||void 0===n?void 0:n.scrollLeft)&&void 0!==t?t:0,l=null!==(r=null===(o=f.current)||void 0===o?void 0:o.scrollTop)&&void 0!==r?r:0;null===(i=b.current)||void 0===i||i.forEach((e=>null==e?void 0:e.scrollTo(l))),null===(a=g.current)||void 0===a||a.forEach((t=>null==t?void 0:t.scrollTo(e)))}}),[e]),T((()=>{h.current&&(h.current.scrollLeft=0),m.current&&(m.current.scrollLeft=0),f.current&&(f.current.scrollTop=0)}),[n.page]);const P=D((e=>{if(e)return void L(0);let t=0;if(h.current){const e=h.current;t=Math.max(t,e.offsetHeight-e.clientHeight)}if(m.current){const e=m.current;t=Math.max(t,e.offsetHeight-e.clientHeight)}L(t)}),[L]);return T((()=>{if(f.current){const e=f.current,t=e.offsetWidth-e.clientWidth;w(t)}P()}),[P,e,t,r.width,r.height,d,p]),T((()=>{(p.isDownloadedAsPDForImage||e.isSnapshot)&&f.current&&m.current&&h.current&&(f.current.scrollTop=t.scrollTop,m.current.scrollLeft=t.scrollLeft,h.current.scrollLeft=t.leftGridScrollLeft)}),[t,f,m,h,p,e]),{onHorizontalScrollHandler:e=>{var n,r;e.target instanceof HTMLDivElement&&(e.target.dataset.key===`scrollable-container--${Dt.LEFT_GRID}`&&(t.leftGridScrollLeft=e.currentTarget.scrollLeft),e.target.dataset.key===`scrollable-container--${Dt.DATA_GRID}`&&(M(e),null===(n=g.current)||void 0===n||n.forEach((t=>null==t?void 0:t.scrollTo(e.currentTarget.scrollLeft))),null===(r=v.current)||void 0===r||r.scrollTo({scrollLeft:e.currentTarget.scrollLeft}),t.scrollLeft=e.currentTarget.scrollLeft))},onVerticalScrollHandler:e=>{var n,r;e.target instanceof HTMLDivElement&&(M(e),null===(n=b.current)||void 0===n||n.filter(Boolean).forEach((t=>t.scrollTo(e.currentTarget.scrollTop))),null===(r=v.current)||void 0===r||r.scrollTo({scrollTop:e.currentTarget.scrollTop}),t.scrollTop=e.currentTarget.scrollTop)},verticalScrollableContainerRef:f,leftGridHorizontalScrollableContainerRef:h,dataGridHorizontalScrollableContainerRef:m,dataGridRef:v,leftGridRef:b,topGridRef:g,verticalScrollbarWidth:C,horizontalScrollbarHeight:R,horizontalScrollbarHeightSetter:P,verticalScrollDirection:S,horizontalScrollDirection:E}})({layoutService:r,viewService:n,pageInfo:i,tableRect:u}),{containerHeight:z,headerGridHeight:j,topGridHeight:$,leftGridHeight:G,dataGridHeight:B,allRowsVisible:H}=function({pageInfo:e,headersData:t,topDimensionData:n,tableRect:r,horizontalScrollbarHeight:o}){const{headerCellHeight:i,contentCellHeight:a}=jE(),l=e.rowsOnCurrentPage*a,s=i*t.size.y,u=l+s,c=i*Math.max(t.size.y,n.rowCount,1);return{containerHeight:u,headerGridHeight:s,topGridHeight:c,leftGridHeight:Math.min(r.height-s-Mr,l),dataGridHeight:Math.min(r.height-c-Mr,l),allRowsVisible:c+Mr+l+o<=r.height}}({pageInfo:i,headersData:f,topDimensionData:m,tableRect:u,horizontalScrollbarHeight:k}),{leftGridWidth:W,leftGridColumnWidths:V,rightGridWidth:Y,totalWidth:U,showLastRightBorder:K,getRightGridColumnWidth:X,getHeaderCellsIconsVisibilityStatus:J,overrideLeftGridWidth:Z}=function({layoutService:e,tableWidth:t,headersData:n,visibleTopDimensionInfo:r,verticalScrollbarWidth:o,horizontalScrollbarHeightSetter:i,translator:a}){const l=jE(),{measureText:s}=Hb(l.header),u=sC({layoutService:e,tableWidth:t,headersData:n,translator:a}),c=uC({layoutService:e,tableWidth:t,visibleTopDimensionInfo:r,verticalScrollbarWidth:o,leftGridWidth:u.leftGridWidth}),d=u.leftGridWidth+c.rightGridFullWidth+Mr,p=d<t,f=D(((t,r,o="")=>{let i=t;e.isIndentModeEnabled&&(i=1,1===n.size.x&&(i=0));const a=u.leftGridColumnWidths[i];let l=!1,c=!1,d=s(o)+WE;return r&&d+HE<=a&&(c=!0,d+=HE),d+BE<=a&&(l=!0),{shouldShowMenuIcon:l,shouldShowLockIcon:c}}),[u.leftGridColumnWidths,s,e.isIndentModeEnabled,n.size.x]);return P((()=>{const e=u.leftGridWidth===u.leftGridFullWidth,t=c.rightGridWidth===c.rightGridFullWidth;i(e&&t)}),[i,u.leftGridWidth,u.leftGridFullWidth,c.rightGridWidth,c.rightGridFullWidth]),{...u,...c,totalWidth:d,showLastRightBorder:p,getHeaderCellsIconsVisibilityStatus:f}}({layoutService:r,tableWidth:u.width,headersData:f,visibleTopDimensionInfo:d,verticalScrollbarWidth:O,horizontalScrollbarHeightSetter:q,translator:a}),{rootWrapper:Q,leftWrapper:ee,rightWrapper:te}=(({tableRect:e,containerHeight:t,headerGridHeight:n,leftGridHeight:r,topGridHeight:o,dataGridHeight:i,allRowsVisible:a,totalWidth:l,leftGridWidth:s,rightGridWidth:u,verticalScrollbarWidth:c,horizontalScrollbarHeight:d})=>{const p=o+i+Mr,f=a?0:Math.max(0,e.height-p),h=c*(a?0:1),m=d*(a?0:1),g=a?p+d:e.height,b=e.height-m,v=l-s-h,y=e.width-s-h;return{rootWrapper:{scrollable:e,fullSize:{width:l-h,height:t+m},sticky:{width:e.width-h,height:e.height}},leftWrapper:{containers:{scrollable:{width:s,height:g},fullSize:{width:s,height:t},sticky:{width:s,height:b}},headerGrid:{width:-1,height:n},leftGrid:{width:s,height:r-m+f}},rightWrapper:{containers:{scrollable:{width:u+Mr-h,height:g},fullSize:{width:v,height:t},sticky:{width:v<y?v:y,height:b}},topGrid:{width:u-h,height:o},dataGrid:{width:u-h,height:i-m+f}}}})({tableRect:u,containerHeight:z,headerGridHeight:j,leftGridHeight:G,topGridHeight:$,dataGridHeight:B,allRowsVisible:H,totalWidth:U,leftGridWidth:W,rightGridWidth:Y,verticalScrollbarWidth:O,horizontalScrollbarHeight:k}),ne=D((()=>l),[l]),re=D((()=>s),[s]);return(()=>{const{downloadService:e}=qE();P((()=>{e.isDownloadedAsPDForImage&&e.notifyIsDoneRendering()}))})(),cc.jsx(Vw,{ref:E,...Q.scrollable,onScroll:S,showVerticalScrollbar:!0,showHorizontalScrollbar:!1,origin:Dt.CONTAINER_GRID,children:cc.jsx(Bw,{...Q.fullSize,children:cc.jsxs(Yw,{...Q.sticky,style:{display:"grid",gridTemplateColumns:W?`${ee.containers.scrollable.width}px ${te.containers.scrollable.width}px`:`${te.containers.scrollable.width}px`},children:[Boolean(W)&&cc.jsx(Vw,{ref:C,...ee.containers.scrollable,onScroll:x,showVerticalScrollbar:!1,showHorizontalScrollbar:!0,origin:Dt.LEFT_GRID,children:cc.jsx(Bw,{isLeftGrid:!0,...ee.containers.fullSize,children:cc.jsxs(Yw,{isLeftGrid:!0,...ee.containers.sticky,children:[cc.jsx(dM,{dataModel:y,tableWidth:u.width,leftGridWidth:W,columnWidths:V,getHeaderCellsIconsVisibilityStatus:J,rowHight:l,height:ee.headerGrid.height,headersData:f,translator:a,changeSortOrder:p,overrideLeftGridWidth:Z,layoutService:r}),cc.jsx(DM,{dataModel:y,leftGridRef:M,...ee.leftGrid,columnWidths:V,layoutService:r,leftDimensionData:g,showLastBorder:{right:!1,bottom:H},visibleLeftDimensionInfo:c,pageInfo:i})]})})}),cc.jsx(Vw,{ref:w,...te.containers.scrollable,onScroll:x,showVerticalScrollbar:!1,showHorizontalScrollbar:!0,origin:Dt.DATA_GRID,children:cc.jsx(Bw,{...te.containers.fullSize,children:cc.jsxs(Yw,{...te.containers.sticky,children:[cc.jsx(TM,{dataModel:y,topGridRef:_,rowHightCallback:ne,...te.topGrid,layoutService:r,topDimensionData:m,showLastBorder:{right:K,bottom:!1},getRightGridColumnWidth:X,headersData:f}),cc.jsx(jL,{dataModel:y,dataGridRef:R,rowHightCallback:re,...te.dataGrid,viewService:n,layoutService:r,measureData:h,leftDimensionData:g,topDimensionData:m,visibleTopDimensionInfo:d,visibleLeftDimensionInfo:c,attrExprInfoIndexes:b.measures,showLastBorder:{right:K,bottom:H},getRightGridColumnWidth:X,pageInfo:i,verticalScrollDirection:N,horizontalScrollDirection:F})]})})})]})})})},qM=e=>{const{layoutService:t,translator:n,pageInfo:r,updatePageInfo:o,rect:i}=e,{keyboard:a,theme:l,interactions:s}=qE(),{layout:u,hasData:c}=t;return cc.jsxs(cc.Fragment,{children:[c&&cc.jsx(kM,{...e}),cc.jsx(FE,{translator:n,layoutService:t}),cc.jsx(TE,{paginationNeeded:r.shouldShowPagination,handleChangePage:e=>o({page:e}),pageInfo:r,totalRowCount:r.totalRowCount,totalColumnCount:0,totalPages:r.totalPages,keyboard:a,translator:n,theme:l,interactions:s,rect:i,layout:u})]})},NM={WHITE:"#FFFFFF",GREY:"#999999",GREY_PALE:"#B2B2B2",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_25:"rgba(0, 0, 0, 0.25)",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_0_65:"rgba(0, 0, 0, 0.65)",GREYSCALE_100_05:"rgba(255, 255, 255, 0.05)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_25:"rgba(255, 255, 255, 0.25)",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)"},FM=12,zM=14,jM=16,$M=24,GM=3,BM=300,HM=400,WM=600,VM=700,YM={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};no(NM.GREYSCALE_0,.05),no(NM.GREEN_PALE,.5),no(NM.BLUE_PALE,.5),no(NM.GREEN_PALE,.5),no(NM.BLUE_PALE,.5),no(NM.GREEN_PALE,.5),no(NM.BLUE_PALE,.5);var UM;function KM(){return KM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KM.apply(null,arguments)}no(NM.GREEN_PALE,.5),no(NM.BLUE_PALE,.5),no(NM.GREEN_PALE,.5),no(NM.BLUE_PALE,.5);var XM,JM=function(e){return y.createElement("svg",KM({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),UM||(UM=y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function ZM(){return ZM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZM.apply(null,arguments)}var QM=function(e){return y.createElement("svg",ZM({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),XM||(XM=y.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 eD({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return x.createElement("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n},t)}var tD=(e={})=>x.createElement(eD,{...e},x.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},x.createElement("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),x.createElement("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"}))),nD=(e={})=>x.createElement(eD,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),x.createElement("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})))),rD=(e={})=>x.createElement(eD,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212"},x.createElement("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})))),oD=(e={})=>x.createElement(eD,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),x.createElement("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"}))),iD=({className:e})=>x.createElement(eD,{fontSize:"small",className:e},x.createElement("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero"},x.createElement("g",{transform:"translate(4.324187, 1.300372)"},x.createElement("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"}),x.createElement("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"})))))),aD=(e={})=>x.createElement(eD,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{stroke:NM.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"}))));const lD={MuiAccordion:{styleOverrides:{root:{backgroundColor:NM.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:NM.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:x.createElement(JM,{"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 ${NM.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:NM.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${NM.MISC_FOCUS_BORDER}`,borderRadius:GM,backgroundColor:NM.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 ${NM.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:NM.WHITE,color:NM.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:GM},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${NM.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:NM.GREYSCALE_0_15,backgroundColor:NM.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:NM.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${NM.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:NM.GREEN_PALE},"&:active":{backgroundColor:NM.GREEN_DARK},"&.Mui-focusVisible":{borderColor:NM.GREEN_PALE,boxShadow:`0 0 0 3px ${hy(NM.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:NM.BLUE_PALE},"&:active":{backgroundColor:NM.BLUE_DARK},"&.Mui-focusVisible":{borderColor:NM.BLUE_PALE,boxShadow:`0 0 0 3px ${hy(NM.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:GM,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:NM.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${NM.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:NM.GREYSCALE_0_15,backgroundColor:NM.GREYSCALE_100_60,"&:active":{backgroundColor:NM.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:NM.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${NM.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:NM.PURPLE,"&.Mui-focusVisible":{borderColor:NM.PURPLE,boxShadow:`0 0 0 3px ${hy(NM.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:NM.GREEN,"&.Mui-focusVisible":{borderColor:NM.GREEN,boxShadow:`0 0 0 3px ${hy(NM.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:NM.BLUE,"&.Mui-focusVisible":{borderColor:NM.BLUE,boxShadow:`0 0 0 3px ${hy(NM.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:NM.ORANGE,"&.Mui-focusVisible":{borderColor:NM.ORANGE,boxShadow:`0 0 0 3px ${hy(NM.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:NM.RED,"&.Mui-focusVisible":{borderColor:NM.RED,boxShadow:`0 0 0 3px ${hy(NM.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:NM.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:NM.PURPLE_PALE},"&:active":{backgroundColor:NM.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:NM.PURPLE_PALE,boxShadow:`0 0 0 3px ${hy(NM.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:NM.GREEN_PALE},"&:active":{backgroundColor:NM.GREEN_DARK},"&.Mui-focusVisible":{borderColor:NM.GREEN_PALE,boxShadow:`0 0 0 3px ${hy(NM.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:NM.BLUE_PALE},"&:active":{backgroundColor:NM.BLUE_DARK},"&.Mui-focusVisible":{borderColor:NM.BLUE_PALE,boxShadow:`0 0 0 3px ${hy(NM.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:NM.ORANGE_PALE},"&:active":{backgroundColor:NM.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:NM.ORANGE_PALE,boxShadow:`0 0 0 3px ${hy(NM.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:NM.RED_PALE},"&:active":{backgroundColor:NM.RED_DARK},"&.Mui-focusVisible":{borderColor:NM.RED_PALE,boxShadow:`0 0 0 3px ${hy(NM.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:NM.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:NM.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:GM,boxShadow:`inset 0 0 0 2px ${NM.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:x.createElement(QM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:FM,borderRadius:GM,color:NM.TEXT_PRIMARY,backgroundColor:NM.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:NM.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${NM.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:NM.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:NM.GREYSCALE_0_05,color:NM.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:NM.GREEN,borderColor:NM.GREEN},"&.MuiChip-outlinedInfo":{color:NM.BLUE,borderColor:NM.BLUE},"&.MuiChip-outlinedWarning":{color:NM.ORANGE,borderColor:NM.ORANGE},"&.MuiChip-outlinedError":{color:NM.RED,borderColor:NM.RED}},outlined:{border:`solid 1px ${NM.GREYSCALE_0_15}`,backgroundColor:NM.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:GM,boxShadow:"none",backgroundColor:NM.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:NM.GREEN,borderColor:NM.GREEN},outlinedSecondary:{color:NM.BLUE,borderColor:NM.BLUE},label:{fontFamily:YM.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:x.createElement(QM,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:x.createElement(JM,{"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:GM},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:GM,fontSize:zM,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:NM.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${NM.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:NM.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:NM.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:NM.GREYSCALE_0_05}}},popupIndicator:{borderRadius:GM,border:`solid 1px ${NM.GREYSCALE_0_15}`,color:NM.GREYSCALE_0_60,marginRight:0,width:$M,height:$M},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${NM.GREYSCALE_0_15}`},clearIndicator:{borderRadius:GM,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:NM.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:zM}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:FM,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:NM.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:NM.GREYSCALE_25,fontSize:FM,fontFamily:YM.FONT_FAMILY,fontWeight:WM,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:NM.TEXT_PRIMARY},"&.Mui-error":{color:NM.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:NM.TEXT_SECONDARY,content:"'(optional)'",fontWeight:HM,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:NM.TEXT_SECONDARY,content:"'(required)'",fontWeight:HM,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:zM,lineHeight:"16px",backgroundColor:NM.WHITE,borderRadius:GM,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${NM.GREYSCALE_0_05}`,borderColor:NM.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${NM.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${NM.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${NM.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${NM.RED}`,boxShadow:`0px 0px 0px 1px ${NM.RED}, inset 0 2px 0 0 ${NM.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${NM.GREYSCALE_0_10}`,borderColor:NM.GREYSCALE_0_10,backgroundColor:NM.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:NM.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:NM.GREYSCALE_0_15,borderRadius:GM,boxShadow:`inset 0 2px 0 0 ${NM.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>x.createElement(JM,{...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:NM.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:NM.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:NM.GREYSCALE_0_03},"&:active":{backgroundColor:NM.GREYSCALE_0_10},"&:focus":{backgroundColor:NM.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${NM.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${NM.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:NM.GREYSCALE_0_30,"&:hover":{backgroundColor:NM.GREYSCALE_0_0,borderColor:NM.GREYSCALE_0_15},"& ~svg":{color:NM.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${NM.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:GM}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:NM.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${NM.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:NM.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:zM,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:FM,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:FM,fontWeight:WM,color:NM.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:WM}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${NM.GREYSCALE_0_15}, 0px 0px 0px 1px ${NM.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:x.createElement(rD,null),checkedIcon:x.createElement(oD,null)},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:NM.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${NM.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:NM.GREEN_PALE,boxShadow:`0 0 0 3px ${hy(NM.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:NM.BLUE_PALE,boxShadow:`0 0 0 3px ${hy(NM.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:NM.GREYSCALE_0_20}},"&.Mui-disabled":{fill:NM.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:x.createElement(aD,null),checkedIcon:x.createElement(tD,null),indeterminateIcon:x.createElement(nD,null)},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:GM,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:NM.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:NM.GREYSCALE_0_55,color:NM.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:NM.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:NM.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:NM.GREYSCALE_0_55,"&:hover":{color:NM.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:NM.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:NM.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:zM,color:NM.TEXT_PRIMARY,lineHeight:"16px",fontWeight:WM},secondary:{fontSize:FM,color:NM.GREYSCALE_45,fontWeight:HM,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:zM,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:NM.GREYSCALE_0_03},"&:active":{backgroundColor:NM.GREYSCALE_0_05}}}},MuiListItemButton:{styleOverrides:{root:{fontSize:zM,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:NM.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:FM,borderBottom:`solid 1px ${NM.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:zM,color:NM.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:NM.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:NM.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:NM.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:NM.RED}}},"&.Mui-focusVisible":{backgroundColor:NM.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:NM.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:NM.GREEN,height:"24px","&.Mui-disabled":{color:NM.GREYSCALE_0_15}},rail:{backgroundColor:NM.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${NM.GREYSCALE_0_05}`,borderRadius:GM,boxShadow:`inset 0px 0px 0px 1px ${NM.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${NM.GREYSCALE_0_05}`,borderRadius:GM},thumb:{height:"16px",width:"16px",borderRadius:GM,backgroundColor:NM.WHITE,boxShadow:`0px 1px 2px 0px ${NM.GREYSCALE_0_15}, 0px 0px 0px 1px ${NM.GREYSCALE_0_05}`,"&:hover":{borderRadius:GM,boxShadow:`0 2px 4px 0 ${NM.GREYSCALE_0_30}, 0 0 0 1px ${NM.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${NM.GREYSCALE_0_15}, 0 0 0 1px ${NM.GREYSCALE_0_06}, 0 0 0 2px ${NM.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${NM.GREYSCALE_0_15}, 0 0 0 1px ${NM.GREYSCALE_0_06}, 0 0 0 2px ${NM.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:NM.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:NM.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:NM.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:NM.GREYSCALE_0_15},markLabel:{color:NM.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:NM.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:NM.WHITE,color:NM.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:NM.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:NM.GREEN_PALE,boxShadow:`0 0 0 3px ${hy(NM.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:NM.BLUE_PALE,boxShadow:`0 0 0 3px ${hy(NM.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:NM.GREYSCALE_0_15,borderRadius:GM},thumb:{height:"16px",width:"16px",borderRadius:GM,backgroundColor:NM.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:zM,fontWeight:WM,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${NM.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${NM.MISC_FOCUS_BORDER}`,backgroundColor:NM.GREYSCALE_0_03,borderRadius:GM},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:NM.GREYSCALE_25,"&.Mui-selected":{color:NM.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:zM,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:GM,"&:hover":{backgroundColor:`${NM.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 ${NM.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${NM.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:GM,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:NM.GREYSCALE_0_05},"&:hover":{backgroundColor:`${NM.GREYSCALE_0_03}`,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${NM.GREYSCALE_85}`,borderRight:`1px solid ${NM.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:WM,backgroundColor:NM.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:NM.GREYSCALE_98,borderBottom:`1px solid ${NM.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${NM.GREYSCALE_85}`,borderTop:`1px solid ${NM.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:NM.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:NM.GREYSCALE_0_05,"&:hover":{backgroundColor:NM.GREYSCALE_0_03}},"&&:hover":{backgroundColor:NM.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>x.createElement(iD,{className:e})},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 ${NM.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:zM,borderRadius:GM,padding:"7px 16px",border:`1px solid ${NM.GREYSCALE_0_15}`,backgroundColor:NM.GREYSCALE_100_60,color:NM.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:NM.GREYSCALE_0_10,border:`1px solid ${NM.GREYSCALE_0_30}`},"&:hover":{backgroundColor:NM.GREYSCALE_0_03,border:`1px solid ${NM.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:NM.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${NM.MISC_FOCUS_BORDER}`,border:`1px solid ${NM.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:NM.GREYSCALE_25,backgroundColor:NM.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:NM.GREYSCALE_0_10,border:`1px solid ${NM.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:FM,height:24,width:24,padding:7},sizeLarge:{fontSize:jM,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:zM,borderRadius:GM}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:NM.GREYSCALE_20},tooltip:{backgroundColor:NM.GREYSCALE_20,fontSize:FM,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}};var sD=e=>lD;const uD={mode:"light",primary:{ultraLight:NM.GREEN_ULTRA_LIGHT,light:NM.GREEN_PALE,main:NM.GREEN,dark:NM.GREEN_DARK,extraDark:NM.GREEN_EXTRA_DARK,contrastText:NM.WHITE},secondary:{ultraLight:NM.BLUE_ULTRA_LIGHT,light:NM.BLUE_PALE,main:NM.BLUE,dark:NM.BLUE_DARK,extraDark:NM.BLUE_EXTRA_DARK,contrastText:NM.WHITE},error:{ultraLight:NM.RED_ULTRA_LIGHT,light:NM.RED_PALE,main:NM.RED,dark:NM.RED_DARK,extraDark:NM.RED_EXTRA_DARK,contrastText:NM.WHITE},warning:{ultraLight:NM.ORANGE_ULTRA_LIGHT,light:NM.ORANGE_PALE,main:NM.ORANGE,dark:NM.ORANGE_DARK,extraDark:NM.ORANGE_EXTRA_DARK,contrastText:NM.WHITE},success:{ultraLight:NM.GREEN_ULTRA_LIGHT,light:NM.GREEN_PALE,main:NM.GREEN,dark:NM.GREEN_DARK,extraDark:NM.GREEN_EXTRA_DARK,contrastText:NM.WHITE},info:{ultraLight:NM.BLUE_ULTRA_LIGHT,light:NM.BLUE_PALE,main:NM.BLUE,dark:NM.BLUE_DARK,extraDark:NM.BLUE_EXTRA_DARK,contrastText:NM.WHITE},text:{primary:NM.TEXT_PRIMARY,secondary:NM.TEXT_SECONDARY,disabled:NM.GREYSCALE_0_30},action:{hover:NM.GREYSCALE_0_03,hoverOpacity:.03,selected:NM.GREYSCALE_0_05,selectedOpacity:.05,focus:NM.MISC_FOCUS_BORDER},amethyst:{ultraLight:NM.WHITE,main:NM.PURPLE,light:NM.PURPLE_PALE,dark:NM.PURPLE_DARK,extraDark:NM.GREYSCALE_0_0,contrastText:NM.WHITE},background:{paper:NM.WHITE,default:NM.GREYSCALE_95},divider:NM.GREYSCALE_0_15},cD=e=>uD,dD=(e="light")=>({components:sD(),palette:cD(),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:zM,fontWeightLight:BM,fontWeightRegular:HM,fontWeightMedium:WM,fontWeightBold:VM,htmlFontSize:zM,fontFamily:YM.FONT_FAMILY,button:{fontWeight:WM,fontSize:zM,textTransform:"none"},body1:{fontSize:jM,lineHeight:"24px"},body2:{fontSize:zM,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:$M,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:jM,fontWeight:WM,lineHeight:"16px"},h6:{fontSize:zM,fontWeight:WM,lineHeight:"16px"},caption:{color:NM.TEXT_SECONDARY},subtitle1:{fontSize:zM,color:NM.TEXT_SECONDARY},subtitle2:{fontSize:FM,color:NM.TEXT_SECONDARY}},shape:{borderRadius:GM}});const pD=(e,t)=>{const{selections:n,styleService:r,app:o,model:i,interactions:a,embed:l,keyboard:s,theme:u,env:c,downloadService:d}=t,p=function(e){var t;const n=dD();return null!=n&&null!==(t=n.components)&&void 0!==t&&null!==(t=t.MuiTable)&&void 0!==t&&t.styleOverrides&&(n.components.MuiTable.styleOverrides.root={}),Rx({...n,direction:e})}("ltr");e.render(cc.jsx(x.StrictMode,{children:cc.jsx(aS,{theme:p,children:cc.jsx(NE,{app:o,model:i,interactions:a,embed:l,keyboard:s,theme:u,env:c,downloadService:d,children:cc.jsx(iL,{selections:n,updatePageInfo:t.updatePageInfo,children:cc.jsx($E,{styleService:r,children:cc.jsx(qM,{...t})})})})})}))};var fD,hD,mD,gD;!function(e){e.FontSize="fontSize",e.FontFamily="fontFamily",e.FontColor="fontColor",e.FontStyle="fontStyle",e.Background="background",e.LineClamp="lineClamp",e.ColumnLineClamp="columnLineClamp",e.Border="border",e.Divider="divider"}(fD||(fD={})),function(e){e.Dimension="object.pivotTableV2.dimension",e.Measure="object.pivotTableV2.measure",e.Total="object.pivotTableV2.total",e.Null="object.pivotTableV2.null",e.Grid="object.pivotTableV2"}(hD||(hD={})),function(e){e.Grid="grid",e.Divider="grid.divider",e.LabelName="label.name",e.LabelValue="label.value"}(mD||(mD={})),function(e){e.FontSize="fontSize",e.FontFamily="fontFamily",e.Color="color",e.BackgroundColor="backgroundColor",e.LineClamp="lineClamp",e.ColumnLineClamp="columnLineClamp",e.BorderColor="borderColor"}(gD||(gD={}));const bD=e=>e?`${parseInt(e,10)}px`:void 0,vD=(e,t)=>{if(t){const n=e.getColorPickerColor(t);return"none"===n?Dr.Transparent:n}},yD=(e,t)=>+(parseInt(e,10)*Ir*t+8).toFixed(2),xD=(e,t)=>void 0===e?t:e.some((e=>"bold"===e))?Lr:"normal",SD=e=>null!=e&&e.some((e=>"italic"===e))?"italic":"normal",ED=e=>null!=e&&e.some((e=>"underline"===e))?"underline":"none";function CD(e,t){return r((()=>e),t)}const wD={},RD=e=>{const t=r((()=>({current:wD})),[]);return t.current=t.current===wD?e:t.current,t},LD=({fontStyle:e,fontWeight:t,fontSize:n,fontFamily:r})=>t?`${e} ${t} ${n} ${r}`:`${e} ${n} ${r}`,AD=(e,t,n)=>{var o,i;const a=null!==(o=null==n?void 0:n.qHyperCubeDef.qShowTotalsAbove)&&void 0!==o&&o,l=null!==(i=null==n?void 0:n.qHyperCubeDef.qAlwaysFullyExpanded)&&void 0!==i&&i,s=void 0!==(null==n?void 0:n.qHyperCubeDef.qSortbyYValue)&&1===Math.abs(null==n?void 0:n.qHyperCubeDef.qSortbyYValue),u=r((()=>{var e;return null==n||null===(e=n.qHyperCubeDef.qDimensions)||void 0===e?void 0:e.map((e=>e.qDef.qSortCriterias))}),[n]);return r((()=>(({layout:e,flags:t,qShowTotalsAbove:n,qAlwaysFullyExpanded:r,isSortedByFirstMeasure:o,qSortCriterias:i})=>{var a,l,s,u;const{qHyperCube:c,nullValueRepresentation:d,snapshotData:p}=e,{qNoOfLeftDims:f,qEffectiveInterColumnSortOrder:h,qMeasureInfo:m,qDimensionInfo:g}=c,b=!!p,v=null!==(a=null==p||null===(l=p.content)||void 0===l?void 0:l.rowsPerPage)&&void 0!==a?a:15e3,y={x:Math.min(e.qHyperCube.qSize.qcx,Ar),y:Math.min(e.qHyperCube.qSize.qcy,v)},x=h.slice(0,f),S=e=>x.some((t=>t===e)),E=S(KE),C=new Map(h.map((e=>{var t;return[null!==(t=g[e])&&void 0!==t?t:KE,e]}))),w=m.filter((e=>{var t;return 7005!==(null===(t=e.qError)||void 0===t?void 0:t.qErrorCode)}));return{layout:e,getNullValueText:()=>{var e;return null!==(e=null==d?void 0:d.text)&&void 0!==e?e:"-"},getMeasureInfoIndexFromCellIndex:(e,t=!1)=>{if(E)return 0;const n=e%w.length;return t?n:m.findIndex((e=>e===w[n]))},getDimensionInfo:e=>e===KE?KE:g[e],getDimensionInfoIndex:e=>{var t;return null!==(t=C.get(e))&&void 0!==t?t:-1},getSortCriteriaForDimension:e=>null==i?void 0:i[e],size:y,isSnapshot:b,hasLimitedData:!b&&y.x<e.qHyperCube.qSize.qcx,hasData:y.x>0&&y.y>0,hasLeftDimensions:0!==e.qHyperCube.qNoOfLeftDims,showTotalsAbove:n,hasPseudoDimOnLeft:E,leftDimensionInfoIndexes:x,isLeftDimension:S,isFullyExpanded:r,triggerdByExpandOrCollapse:!!e.qHyperCube.qLastExpandedPos,visibleMeasureInfo:w,isIndentModeEnabled:Boolean(e.qHyperCube.qIndentMode)&&t.isEnabled("CLIENT_IM_5975_INDENT_MODE"),indentModeColumnWidth:null!==(s=e.qHyperCube.indentModeColumnWidth)&&void 0!==s?s:{type:zt.Auto,pixels:Ft.PixelsDefault,percentage:Ft.PercentageDefault},isSortedByFirstMeasure:o,searchSortFromDimension:"inherit"===(null===(u=e.search)||void 0===u?void 0:u.sorting)}})({layout:e,flags:t,qShowTotalsAbove:a,qAlwaysFullyExpanded:l,isSortedByFirstMeasure:s,qSortCriterias:u})),[e,a,l,s,t,u])},ID=({model:e,layoutService:t,viewService:n,pageInfo:r,rect:o})=>{const{layout:i,isSnapshot:a,triggerdByExpandOrCollapse:l}=t,s=(e=>{const t=RD(e);return t.current=e,t})(Nw(o));return jb((async()=>{var t;const{qHyperCube:o}=i,{maxNumberOfVisibleRows:u,maxNumberOfVisibleColumns:c}=s.current;var d,p;if(a)return null!==(d=null===(p=i.snapshotData)||void 0===p||null===(p=p.content)||void 0===p?void 0:p.qPivotDataPages)&&void 0!==d?d:[];if(void 0!==e&&"getHyperCubePivotData"in e&&(((e,t,n,r)=>!!e&&(t.gridColumnStartIndex+t.gridWidth>=r||t.gridRowStartIndex+t.gridHeight>=n))(l,n,u,c)||((e,t,n,r)=>{var o,i;const{qHyperCube:{qPivotDataPages:a,qSize:l}}=e,{qTop:s,qWidth:u,qHeight:c}=null!==(o=null===(i=a[0])||void 0===i?void 0:i.qArea)&&void 0!==o?o:{qTop:0,qWidth:0,qHeight:0};return s<t.page*t.rowsPerPage||u<Math.min(r,l.qcx)||c<Math.min(n,l.qcy)})(i,r,u,c))){const t=((e,t,n,r,o,i)=>{const a=r.page*r.rowsPerPage,l=Math.min(a+r.rowsPerPage,n.qcy),s=Math.min(Ar,n.qcx);if(n.qcy<a)return null;let u=0,c=a;if(e){u=t.gridColumnStartIndex,c=a+t.gridRowStartIndex;const e=c+t.gridHeight,n=t.gridColumnStartIndex+t.gridWidth;e>l&&(c=Math.max(0,l-o)),n>s&&(u=Math.max(0,s-i))}return{qLeft:u,qTop:c,qWidth:Math.min(s-u,i),qHeight:Math.min(l-c,o)}})(l,n,i.qHyperCube.qSize,r,u,c);return t?e.getHyperCubePivotData(UE,Fw(t)):[]}return null!==(t=o.qPivotDataPages)&&void 0!==t?t:[]}),[i,a,e,n,r.page,r.rowsPerPage,s,l])},MD=({rowsPerPage:e,totalRowCount:t,page:n})=>Math.min(e,t-n*e),DD=(e,t,n=15e3)=>({rowsPerPage:n,totalPages:Math.max(1,Math.ceil(e/n)),totalRowCount:e,rowsOnCurrentPage:MD({rowsPerPage:n,totalRowCount:e,page:t})}),PD=15,_D=({layoutService:e,viewService:t,rect:n,model:r,pageInfo:o})=>{var i;return l((async e=>{if(!e.snapshotData||!r||e.snapshotData.content)return e;if(null!=r&&r.getHyperCubePivotData){const{scrollTop:i,scrollLeft:a,leftGridScrollLeft:l}=t,s=((e,t,n)=>{const{gridColumnStartIndex:r,gridRowStartIndex:o,gridWidth:i,gridHeight:a}=e,l=t.page*t.rowsPerPage,s=Math.max(r-PD,0),u=Math.max(l+o-PD,l,0);if((e=>0===e.gridWidth&&0===e.gridHeight)(e)){const{maxNumberOfVisibleColumns:e,maxNumberOfVisibleRows:t}=Nw(n);return{qLeft:s,qTop:u,qWidth:e+30,qHeight:t+30}}return{qLeft:s,qTop:u,qWidth:i+30,qHeight:a+30}})(t,o,n),u=Fw(s),c={qLeft:0,qTop:o.page*o.rowsPerPage,qWidth:1,qHeight:1};e.snapshotData.content={qPivotDataPages:await r.getHyperCubePivotData(UE,[c,...u]),scrollTop:i,scrollLeft:a,leftGridScrollLeft:l,page:o.page,rowsPerPage:o.rowsPerPage},e.snapshotData.object.size.w=n.width,e.snapshotData.object.size.h=n.height}return e})),s((()=>({getViewState:()=>((e,t)=>({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,leftGridScrollLeft:e.leftGridScrollLeft,renderPage:t.page}))(t,o)})),[t]),null!==(i=e.layout.snapshotData)&&void 0!==i&&i.content?{left:n.left,top:n.top,width:e.layout.snapshotData.object.size.w,height:e.layout.snapshotData.object.size.h}:n};var OD={SNPivotTable_IndentMode_Rows:{id:"SNPivotTable.IndentMode.Rows",locale:{"de-DE":"Zeilen","en-US":"Rows","es-ES":"Filas","fr-FR":"Lignes","it-IT":"Righe","ja-JP":"行","ko-KR":"행","nl-NL":"Rijen","pl-PL":"Wiersze","pt-BR":"Linhas","ru-RU":"Строки","sv-SE":"Rader","tr-TR":"Satırlar","zh-CN":"行","zh-TW":"列"}},SNPivotTable_LimitedData:{id:"SNPivotTable.LimitedData",locale:{"de-DE":"* Derzeit wird eine begrenzte Anzahl Spalten angezeigt","en-US":"* Currently showing a limited number of columns","es-ES":"* Actualmente mostrando un número limitado de columnas","fr-FR":"*Affichage actuel d'un nombre limité de colonnes","it-IT":"* Attualmente visualizzato un numero limitato di colonne","ja-JP":"* 現在、限られた列の数を表示","ko-KR":"* 현재 제한된 수의 열만 표시","nl-NL":"* Op dit moment wordt slechts een beperkt aantal kolommen getoond","pl-PL":"* Obecnie wyświetlana jest ograniczona liczba kolumn","pt-BR":"* Atualmente mostrando um número limitado de colunas","ru-RU":"* В настоящее время отображается ограниченное количество столбцов","sv-SE":"* Visar för närvarande ett begränsat antal kolumner","tr-TR":"*Şu anda sınırlı sayıda sütun gösteriliyor","zh-CN":"* 当前显示的列数有限","zh-TW":"* 目前顯示有限欄數"}},SNPivotTable_NoData:{id:"SNPivotTable.NoData",locale:{"de-DE":"Das Diagramm wird nicht angezeigt, weil es keine Werte enthält.","en-US":"The chart is not displayed because it contains no values.","es-ES":"El gráfico no se muestra porque no contiene valores.","fr-FR":"Le graphique n'est pas affiché, car il ne contient aucune valeur.","it-IT":"Il grafico non è visualizzato poiché non contiene alcun valore.","ja-JP":"チャートには値が含まれていないため、チャートは表示されません。","ko-KR":"차트에 값이 없으므로 차트가 표시되지 않습니다.","nl-NL":"Het diagram wordt niet weergegeven omdat deze geen waarden bevat.","pl-PL":"Wykres nie jest wyświetlany, ponieważ nie zawiera wartości.","pt-BR":"O gráfico não foi exibido porque não contém valores.","ru-RU":"Диаграмма не отображается, так как не содержит значений.","sv-SE":"Diagrammet visas inte eftersom det inte innehåller några värden.","tr-TR":"Değer içermemesi nedeniyle grafik görüntülenmiyor.","zh-CN":"图表未显示,因为它不包含任何值。","zh-TW":"系統不會顯示圖表,因為這沒有包含任何值。"}}};const TD=()=>{const e=u(),t=e.language();return r((()=>function(e){if(e.get&&e.add){const t="SNPivotTable_LimitedData";if(e.get(t)!==t)return;Object.keys(OD).forEach((t=>{e.add(OD[t])}))}}(e)),[e]),{translator:e,language:t}},kD=n=>{const{flags:i}=n,l=c(),s=(e=>{const n=r((()=>Wb(e)),[e]);return t((()=>()=>n.unmount()),[n]),n})(l),u=d(),y=p(),x=f(),S=h(),E=m(),C=g(),w=(e=>{const{viewState:t}=a(),n=RD(new Set),i=void 0!==t&&e.flags.isEnabled("CLIENT_IM4976_PIVOT_DOWNLOAD"),{promise:l,resolve:s}=r((()=>XR()),[]),u=CD((e=>{n.current.add(e)}),[n]),c=CD(nt((async()=>{await Promise.all(n.current),s()}),1e3),[s,n]);return o((async()=>{i&&await l}),[l,i]),r((()=>({viewState:t,isDownloadedAsPDForImage:i,notifyIsDoneRendering:c,waitForPromise:u})),[c,i,t,u])})(n),[R,L]=((e,t)=>jb((async()=>{if(void 0!==e&&!t.snapshotData&&"getEffectiveProperties"in e)return e.getEffectiveProperties()}),[e,t]))(y,u),A=AD(u,i,R),I=b(),M=zb(u,l),{translator:D,language:P}=TD(),{pageInfo:_,updatePageInfo:O}=((n,r)=>{const{size:o,layout:{qHyperCube:{qSize:i}}}=n,a=r.isDownloadedAsPDForImage||n.isSnapshot,l=(e=>{var t;return null===(t=e.layout.snapshotData)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.rowsPerPage})(n),[s,u]=e((()=>{const e=((e,t)=>{var n,r,o,i;return t.isDownloadedAsPDForImage?null!==(n=null===(r=t.viewState)||void 0===r?void 0:r.renderPage)&&void 0!==n?n:0:e.isSnapshot&&null!==(o=null===(i=e.layout.snapshotData)||void 0===i||null===(i=i.content)||void 0===i?void 0:i.page)&&void 0!==o?o:0})(n,r);return{page:e,shouldShowPagination:i.qcy>o.y&&!a,...DD(i.qcy,e,l)}}));return t((()=>{u((e=>({...e,...DD(n.layout.qHyperCube.qSize.qcy,e.page,l),shouldShowPagination:n.layout.qHyperCube.qSize.qcy>n.size.y&&!a})))}),[n.layout.qHyperCube.qSize.qcy,n.size.y,u,a,l]),t((()=>{const{page:e,totalPages:t}=s;if(e+1>t){const e=t-1,n=MD({...s,page:e});u({...s,page:e,rowsOnCurrentPage:n})}}),[s]),{pageInfo:s,updatePageInfo:e=>u({...s,...e,rowsOnCurrentPage:MD({...s,...e})})}})(A,w),T=((e,t,n)=>r((()=>((e,t)=>{var n,r,o,i,a,l;if(e.isDownloadedAsPDForImage){var s,u,c;const{viewState:t}=e;return{gridColumnStartIndex:0,gridRowStartIndex:0,gridWidth:0,gridHeight:0,scrollTop:null!==(s=null==t?void 0:t.scrollTop)&&void 0!==s?s:0,scrollLeft:null!==(u=null==t?void 0:t.scrollLeft)&&void 0!==u?u:0,leftGridScrollLeft:null!==(c=null==t?void 0:t.leftGridScrollLeft)&&void 0!==c?c:0}}return{gridColumnStartIndex:0,gridRowStartIndex:0,gridWidth:0,gridHeight:0,scrollTop:null!==(n=null==t||null===(r=t.content)||void 0===r?void 0:r.scrollTop)&&void 0!==n?n:0,scrollLeft:null!==(o=null==t||null===(i=t.content)||void 0===i?void 0:i.scrollLeft)&&void 0!==o?o:0,leftGridScrollLeft:null!==(a=null==t||null===(l=t.content)||void 0===l?void 0:l.leftGridScrollLeft)&&void 0!==a?a:0}})(n,t.snapshotData)),[n,e.page,t.snapshotData]))(_,u,w),k=_D({rect:v(),layoutService:A,viewService:T,model:y,pageInfo:_}),[q,N]=ID({model:y,layoutService:A,viewService:T,pageInfo:_,rect:k}),F=r((()=>((e,t,n)=>{var r,o,i,a,l,s,u,c,d,p,f,h,m,g,b,v,y,x,S,E,C,w,R,L,A,I,M,D,P,_,O,T,k,q,N,F,z,j,$,G,B,H,W,V,Y,U,K;const X=null===(r=t.layout.components)||void 0===r?void 0:r.find((e=>"theme"===e.key)),J=null==X?void 0:X.header,Z=null==X?void 0:X.dimensionValues,Q=null==X?void 0:X.measureValues,ee=null==X?void 0:X.measureLabels,te=null==X?void 0:X.totalValues,ne=null==X?void 0:X.nullValues,re=null==X?void 0:X.grid,oe=(t,n,r)=>e.getStyle(t,n,r),ie=+(null!==(o=null!==(i=null==re?void 0:re[fD.LineClamp])&&void 0!==i?i:oe(hD.Grid,mD.Grid,gD.LineClamp))&&void 0!==o?o:1),ae=n.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")?+(null!==(a=null!==(l=null==re?void 0:re[fD.ColumnLineClamp])&&void 0!==l?l:oe(hD.Grid,mD.Grid,gD.ColumnLineClamp))&&void 0!==a?a:1):1,le=null!==(s=null!==(u=vD(e,null==J?void 0:J[fD.Background]))&&void 0!==u?u:oe(hD.Dimension,mD.LabelName,gD.BackgroundColor))&&void 0!==s?s:Dr.Transparent,se={header:{fontSize:null!==(c=null!==(d=bD(null==J?void 0:J[fD.FontSize]))&&void 0!==d?d:oe(hD.Dimension,mD.LabelName,gD.FontSize))&&void 0!==c?c:wr,fontFamily:null!==(p=null!==(f=null==J?void 0:J[fD.FontFamily])&&void 0!==f?f:oe(hD.Dimension,mD.LabelName,gD.FontFamily))&&void 0!==p?p:Rr,fontWeight:xD(null==J?void 0:J[fD.FontStyle],Lr),fontStyle:SD(null==J?void 0:J[fD.FontStyle]),textDecoration:ED(null==J?void 0:J[fD.FontStyle]),color:null!==(h=null!==(m=vD(e,null==J?void 0:J[fD.FontColor]))&&void 0!==m?m:oe(hD.Dimension,mD.LabelName,gD.Color))&&void 0!==h?h:Mg.TEXT,background:le,hoverBackground:Mb(le,jt),activeBackground:Mb(le,$t)},dimensionValues:{fontSize:null!==(g=null!==(b=bD(null==Z?void 0:Z[fD.FontSize]))&&void 0!==b?b:oe(hD.Dimension,mD.LabelValue,gD.FontSize))&&void 0!==g?g:wr,fontFamily:null!==(v=null!==(y=null==Z?void 0:Z[fD.FontFamily])&&void 0!==y?y:oe(hD.Dimension,mD.LabelValue,gD.FontFamily))&&void 0!==v?v:Rr,fontWeight:xD(null==Z?void 0:Z[fD.FontStyle],void 0),fontStyle:SD(null==Z?void 0:Z[fD.FontStyle]),textDecoration:ED(null==Z?void 0:Z[fD.FontStyle]),color:null!==(x=null!==(S=vD(e,null==Z?void 0:Z[fD.FontColor]))&&void 0!==S?S:oe(hD.Dimension,mD.LabelValue,gD.Color))&&void 0!==x?x:Mg.TEXT,background:null!==(E=null!==(C=vD(e,null==Z?void 0:Z[fD.Background]))&&void 0!==C?C:oe(hD.Dimension,mD.LabelValue,gD.BackgroundColor))&&void 0!==E?E:Dr.Transparent},measureValues:{fontSize:null!==(w=null!==(R=bD(null==Q?void 0:Q[fD.FontSize]))&&void 0!==R?R:oe(hD.Measure,mD.LabelValue,gD.FontSize))&&void 0!==w?w:wr,fontFamily:null!==(L=null!==(A=null==Q?void 0:Q[fD.FontFamily])&&void 0!==A?A:oe(hD.Measure,mD.LabelValue,gD.FontFamily))&&void 0!==L?L:Rr,fontWeight:xD(null==Q?void 0:Q[fD.FontStyle],"normal"),fontStyle:SD(null==Q?void 0:Q[fD.FontStyle]),textDecoration:ED(null==Q?void 0:Q[fD.FontStyle]),color:null!==(I=null!==(M=vD(e,null==Q?void 0:Q[fD.FontColor]))&&void 0!==M?M:oe(hD.Measure,mD.LabelValue,gD.Color))&&void 0!==I?I:Dr.FontSecondary,background:null!==(D=null!==(P=vD(e,null==Q?void 0:Q[fD.Background]))&&void 0!==P?P:oe(hD.Measure,mD.LabelValue,gD.BackgroundColor))&&void 0!==D?D:Dr.Transparent},measureLabels:{fontWeight:xD(null==ee?void 0:ee[fD.FontStyle],"normal"),fontStyle:SD(null==ee?void 0:ee[fD.FontStyle]),textDecoration:ED(null==ee?void 0:ee[fD.FontStyle]),color:null!==(_=null!==(O=vD(e,null==ee?void 0:ee[fD.FontColor]))&&void 0!==O?O:oe(hD.Measure,mD.LabelName,gD.Color))&&void 0!==_?_:Dr.FontSecondary,background:null!==(T=null!==(k=vD(e,null==ee?void 0:ee[fD.Background]))&&void 0!==k?k:oe(hD.Measure,mD.LabelName,gD.BackgroundColor))&&void 0!==T?T:Dr.Transparent},totalValues:{fontWeight:xD(null==te?void 0:te[fD.FontStyle],Lr),fontStyle:SD(null==te?void 0:te[fD.FontStyle]),textDecoration:ED(null==te?void 0:te[fD.FontStyle]),color:null!==(q=null!==(N=vD(e,null==te?void 0:te[fD.FontColor]))&&void 0!==N?N:oe(hD.Total,mD.LabelValue,gD.Color))&&void 0!==q?q:Mg.TEXT,background:null!==(F=null!==(z=vD(e,null==te?void 0:te[fD.Background]))&&void 0!==z?z:oe(hD.Total,mD.LabelValue,gD.BackgroundColor))&&void 0!==F?F:Dr.Transparent},nullValues:{fontWeight:xD(null==ne?void 0:ne[fD.FontStyle],"normal"),fontStyle:SD(null==ne?void 0:ne[fD.FontStyle]),textDecoration:ED(null==ne?void 0:ne[fD.FontStyle]),color:null!==(j=null!==($=vD(e,null==ne?void 0:ne[fD.FontColor]))&&void 0!==$?$:oe(hD.Null,mD.LabelValue,gD.Color))&&void 0!==j?j:Mg.TEXT,background:null!==(G=null!==(B=vD(e,null==ne?void 0:ne[fD.Background]))&&void 0!==B?B:oe(hD.Null,mD.LabelValue,gD.BackgroundColor))&&void 0!==G?G:Dr.NullValueBackground},grid:{columnLineClamp:ae,lineClamp:ie,border:null!==(H=null!==(W=vD(e,null==re?void 0:re[fD.Border]))&&void 0!==W?W:oe(hD.Grid,mD.Grid,gD.BorderColor))&&void 0!==H?H:Dr.DividerLight,divider:null!==(V=null!==(Y=vD(e,null==re?void 0:re[fD.Divider]))&&void 0!==Y?Y:oe(hD.Grid,mD.Divider,gD.BorderColor))&&void 0!==V?V:Dr.DividerDark,background:null!==(U=null!==(K=vD(e,null==re?void 0:re[fD.Background]))&&void 0!==K?K:oe(hD.Grid,mD.Grid,gD.BackgroundColor))&&void 0!==U?U:Dr.Transparent}};return se.headerCellHeight=Math.max(yD(se.header.fontSize,ae),yD(se.dimensionValues.fontSize,ae),32),se.contentCellHeight=Math.max(yD(se.measureValues.fontSize,ie),yD(se.dimensionValues.fontSize,ie),24),se.dimensionValueTextHeight=yD(se.dimensionValues.fontSize,1),se})(M,A,i)),[M,A,i]),z=(e=>r((()=>[...new Set([LD(e.header),LD(e.dimensionValues),LD({...e.dimensionValues,...e.measureLabels}),LD({...e.dimensionValues,...e.nullValues}),LD({...e.dimensionValues,...e.totalValues}),LD(e.measureValues),LD({...e.measureValues,...e.nullValues}),LD({...e.measureValues,...e.totalValues})])]),[e]))(F),j=(e=>{const[t,n]=o((()=>Promise.all(e.map((e=>document.fonts.load(e))))),[e]);return n?(console.warn("Failed to load font:",n),!0):!!t})(z);i.isEnabled("CLIENT_IM6278_PIVOT_COPYCELL")&&Zb(),t((()=>{!N&&y&&(null==k?void 0:k.width)&&(null==k?void 0:k.height)&&I&&T&&A&&F&&!!q&&!L&&j&&pD(s,{model:y,app:x,rect:k,selections:I,viewService:T,layoutService:A,downloadService:w,qPivotDataPages:q,styleService:F,translator:D,pageInfo:_,updatePageInfo:O,interactions:C,embed:S,keyboard:E,theme:M,env:n})}),[y,x,k,null==k?void 0:k.width,null==k?void 0:k.height,C,I,T,A,w,N,q,F,s,j,D,P,_,O,R,L,S,E,M,n])},qD={version:"3.9.1",qHyperCubeDef:{qAlwaysFullyExpanded:!1,qDimensions:[],qMeasures:[],qMode:"P",qSuppressMissing:!0,qSuppressZero:!1,qShowTotalsAbove:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:50,qHeight:50}],qIndentMode:!1},showTitles:!0,title:"",subtitle:"",footnote:"",nullValueRepresentation:{text:"-"},components:[]},ND=e=>({...qD,qHyperCubeDef:{...qD.qHyperCubeDef,qIndentMode:e.flags.isEnabled("CLIENT_IM_5975_INDENT_MODE")}});function FD(e){return{qae:{properties:{initial:ND(e)},data:ct(e)},ext:Kr(e),component(){kD(e)}}}export{FD as default};
174
+ `),nA.rippleVisible,uA,550,(({theme:e})=>e.transitions.easing.easeInOut),nA.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),nA.child,nA.childLeaving,cA,550,(({theme:e})=>e.transitions.easing.easeInOut),nA.childPulsate,dA,(({theme:e})=>e.transitions.easing.easeInOut));var hA=y.forwardRef((function(e,t){const n=KL({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=tv(n,rA),[l,s]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=y.useRef(!1),p=Cs(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,cc.jsx(fA,{classes:{ripple:Ws(o.ripple,nA.ripple),rippleVisible:Ws(o.rippleVisible,nA.rippleVisible),ripplePulsate:Ws(o.ripplePulsate,nA.ripplePulsate),child:Ws(o.child,nA.child),childLeaving:Ws(o.childLeaving,nA.childLeaving),childPulsate:Ws(o.childPulsate,nA.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||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 l=a?null:h.current,s=l?l.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(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.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:n})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m,p]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.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,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),cc.jsx(pA,ev({className:Ws(nA.root,o.root,i),ref:h},a,{children:cc.jsx(yp,{component:null,exit:!0,children:l})}))}));function mA(e){return zs("MuiButtonBase",e)}var gA=js("MuiButtonBase",["root","disabled","focusVisible"]);const bA=["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"],vA=aS("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"},[`&.${gA.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),yA=y.forwardRef((function(e,t){const n=KL({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!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:x,onKeyUp:S,onMouseDown:E,onMouseLeave:C,onMouseUp:w,onTouchEnd:R,onTouchMove:L,onTouchStart:A,tabIndex:I=0,TouchRippleProps:M,touchRippleRef:D,type:P}=n,_=tv(n,bA),O=y.useRef(null),T=y.useRef(null),k=ys(T,D),{isFocusVisibleRef:q,onFocus:N,onBlur:F,ref:z}=_s(),[j,$]=y.useState(!1);s&&j&&$(!1),y.useImperativeHandle(r,(()=>({focusVisible:()=>{$(!0),O.current.focus()}})),[]);const[G,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const H=G&&!u&&!s;function W(e,t,n=c){return vs((r=>{t&&t(r);return!n&&T.current&&T.current[e](r),!0}))}y.useEffect((()=>{j&&d&&!u&&G&&T.current.pulsate()}),[u,d,j,G]);const V=W("start",E),Y=W("stop",m),U=W("stop",g),K=W("stop",w),X=W("stop",(e=>{j&&e.preventDefault(),C&&C(e)})),J=W("start",A),Z=W("stop",R),Q=W("stop",L),ee=W("stop",(e=>{F(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=vs((e=>{O.current||(O.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),ne=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=y.useRef(!1),oe=vs((e=>{d&&!re.current&&j&&T.current&&" "===e.key&&(re.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=vs((e=>{d&&" "===e.key&&T.current&&j&&!e.defaultPrevented&&(re.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===P?"button":P,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=ys(t,z,O),ue=ev({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:I,focusVisible:j}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=ks({root:["root",t&&"disabled",n&&"focusVisible"]},mA,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return cc.jsxs(vA,ev({as:ae,className:Ws(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:U,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:se,tabIndex:s?-1:I,type:P},le,_,{children:[i,H?cc.jsx(hA,ev({ref:k,center:o},M)):null]}))}));var xA=yA;var SA=y.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),l=ys(y.isValidElement(n)?n.ref:null,t);if(bs((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),bs((()=>{if(i&&!o)return gs(t,i),()=>{gs(t,null)}}),[t,i,o]),o){if(y.isValidElement(n)){const e={ref:l};return y.cloneElement(n,e)}return cc.jsx(y.Fragment,{children:n})}return cc.jsx(y.Fragment,{children:i?q.createPortal(n,i):i})}));const EA=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],CA={entering:{opacity:1},entered:{opacity:1}},wA=y.forwardRef((function(e,t){const n=Mx(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:b=fp}=e,v=tv(e,EA),x=y.useRef(null),S=ys(x,a.ref,t),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=E(d),w=E(((e,t)=>{XL(e);const r=JL({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),R=E(c),L=E(h),A=E((e=>{const t=JL({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),I=E(f);return cc.jsx(b,ev({appear:i,in:s,nodeRef:x,onEnter:w,onEntered:R,onEntering:C,onExit:A,onExited:I,onExiting:L,addEndListener:e=>{o&&o(x.current,e)},timeout:g},v,{children:(e,t)=>y.cloneElement(a,ev({style:ev({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},CA[e],m,a.props.style),ref:S},t))}))}));var RA=wA;function LA(e){return zs("MuiBackdrop",e)}js("MuiBackdrop",["root","invisible"]);const AA=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],IA=aS("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>ev({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"},e.invisible&&{backgroundColor:"transparent"}))),MA=y.forwardRef((function(e,t){var n,r,o;const i=KL({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=RA,transitionDuration:g}=i,b=tv(i,AA),v=ev({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return ks({root:["root",n&&"invisible"]},LA,t)})(v),x=null!=(n=f.root)?n:c.root;return cc.jsx(m,ev({in:p,timeout:g},b,{children:cc.jsx(IA,ev({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:u.Root)?r:s,className:Ws(y.root,l,null==x?void 0:x.className),ownerState:ev({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var DA=MA;var PA=js("MuiBox",["root"]);const _A=Ax(),OA=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Ol("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(ny);return y.forwardRef((function(e,a){const l=uy(n),s=py(e),{className:u,component:c="div"}=s,d=ro(s,hy);return cc.jsx(i,Xr({as:c,ref:a,className:Ws(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:Qb,defaultTheme:_A,defaultClassName:PA.root,generateClassName:Ns.generate});var TA=OA;function kA(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function qA(e){return parseInt(ms(e).getComputedStyle(e).paddingRight,10)||0}function NA(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&kA(e,o)}))}function FA(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function zA(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=hs(e);return t.body===e?ms(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Os(hs(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${qA(r)+e}px`;const t=hs(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${qA(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=hs(r).body;else{const t=r.parentElement,n=ms(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.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()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const jA=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $A(e){const t=[],n=[];return Array.from(e.querySelectorAll(jA)).forEach(((e,r)=>{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 n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function GA(){return!0}function BA(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=$A,isEnabled:a=GA,open:l}=e,s=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=ys(t.ref,h),g=y.useRef(null);y.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(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&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),y.useEffect((()=>{if(!l||!h.current)return;const e=hs(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&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 n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,a,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return cc.jsxs(y.Fragment,{children:[cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),cc.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const HA=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&kA(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);NA(t,e.mount,e.modalRef,r,!0);const o=FA(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=FA(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=zA(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=FA(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&kA(e.modalRef,t),NA(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&kA(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function WA(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=HA,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:d}=e,p=y.useRef({}),f=y.useRef(null),h=y.useRef(null),m=ys(h,d),[g,b]=y.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const S=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),E=()=>{o.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},C=vs((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||hs(f.current).body;o.add(S(),e),h.current&&E()})),w=y.useCallback((()=>o.isTopModal(S())),[o]),R=vs((e=>{f.current=e,e&&(c&&w()?E():h.current&&kA(h.current,x))})),L=y.useCallback((()=>{o.remove(S(),x)}),[x,o]);y.useEffect((()=>()=>{L()}),[L]),y.useEffect((()=>{c?C():v&&i||L()}),[c,L,v,i,C]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Vs(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=ev({},n,t);return ev({role:"presentation"},r,{onKeyDown:A(r),ref:m})},getBackdropProps:(e={})=>ev({"aria-hidden":!0},e,{onClick:I(e),open:c}),getTransitionProps:()=>({onEnter:ps((()=>{b(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:ps((()=>{b(!0),l&&l(),i&&L()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}function VA(e){return zs("MuiModal",e)}js("MuiModal",["root","hidden","backdrop"]);const YA=["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"],UA=aS("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>ev({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),KA=aS(DA,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),XA=y.forwardRef((function(e,t){var n,r,o,i,a,l;const s=KL({name:"MuiModal",props:e}),{BackdropComponent:u=KA,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:E=!1,disableRestoreFocus:C=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:L=!1,onBackdropClick:A,open:I,slotProps:M,slots:D}=s,P=tv(s,YA),_=ev({},s,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:E,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:L}),{getRootProps:O,getBackdropProps:T,getTransitionProps:k,portalRef:q,isTopModal:N,exited:F,hasTransition:z}=WA(ev({},_,{rootRef:t})),j=ev({},_,{exited:F}),$=(e=>{const{open:t,exited:n,classes:r}=e;return ks({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},VA,r)})(j),G={};if(void 0===f.props.tabIndex&&(G.tabIndex="-1"),z){const{onEnter:e,onExited:t}=k();G.onEnter=e,G.onExited=t}const B=null!=(n=null!=(r=null==D?void 0:D.root)?r:g.Root)?n:UA,H=null!=(o=null!=(i=null==D?void 0:D.backdrop)?i:g.Backdrop)?o:u,W=null!=(a=null==M?void 0:M.root)?a:b.root,V=null!=(l=null==M?void 0:M.backdrop)?l:b.backdrop,Y=Ks({elementType:B,externalSlotProps:W,externalForwardedProps:P,getSlotProps:O,additionalProps:{ref:t,as:m},ownerState:j,className:Ws(d,null==W?void 0:W.className,null==$?void 0:$.root,!j.open&&j.exited&&(null==$?void 0:$.hidden))}),U=Ks({elementType:H,externalSlotProps:V,additionalProps:c,getSlotProps:e=>T(ev({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Ws(null==V?void 0:V.className,null==c?void 0:c.className,null==$?void 0:$.backdrop),ownerState:j});return L||I||z&&!F?cc.jsx(SA,{ref:q,container:h,disablePortal:E,children:cc.jsxs(B,ev({},Y,{children:[!R&&u?cc.jsx(H,ev({},U)):null,cc.jsx(BA,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:N,open:I,children:y.cloneElement(f,G)})]}))}):null}));var JA=XA;var ZA=js("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const QA=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function eI(e){return`scale(${e}, ${e**2})`}const tI={entering:{opacity:1,transform:eI(1)},entered:{opacity:1,transform:"none"}},nI="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),rI=y.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=fp}=e,g=tv(e,QA),b=Cs(),v=y.useRef(),x=Mx(),S=y.useRef(null),E=ys(S,o.ref,t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},w=C(u),R=C(((e,t)=>{XL(e);const{duration:n,delay:r,easing:o}=JL({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:nI?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),L=C(s),A=C(p),I=C((e=>{const{duration:t,delay:n,easing:r}=JL({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:nI?o:.666*o,delay:nI?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=eI(.75),c&&c(e)})),M=C(d);return cc.jsx(m,ev({appear:r,in:a,nodeRef:S,onEnter:R,onEntered:L,onEntering:w,onExit:I,onExited:M,onExiting:A,addEndListener:e=>{"auto"===h&&b.start(v.current||0,e),n&&n(S.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>y.cloneElement(o,ev({style:ev({opacity:0,transform:eI(.75),visibility:"exited"!==e||a?void 0:"hidden"},tI[e],f,o.props.style),ref:E},t))}))}));rI.muiSupportAuto=!0;var oI=rI;var iI=y.createContext({});function aI(e){return zs("MuiList",e)}js("MuiList",["root","padding","dense","subheader"]);const lI=["children","className","component","dense","disablePadding","subheader"],sI=aS("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>ev({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var uI=y.forwardRef((function(e,t){const n=KL({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=tv(n,lI),c=y.useMemo((()=>({dense:a})),[a]),d=ev({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ks({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},aI,t)})(d);return cc.jsx(iI.Provider,{value:c,children:cc.jsxs(sI,ev({as:i,className:Ws(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));var cI=js("MuiListItemIcon",["root","alignItemsFlexStart"]);var dI=js("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const pI=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function fI(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function hI(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function mI(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function gI(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&mI(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var bI=y.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=tv(e,pI),p=y.useRef(null),f=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bs((()=>{r&&p.current.focus()}),[r]),y.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Os(hs(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=ys(p,t);let m=-1;y.Children.forEach(i,((e,t)=>{y.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=y.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),y.cloneElement(e,t)}return e}));return cc.jsx(uI,ev({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=hs(t).activeElement;if("ArrowDown"===n)e.preventDefault(),gI(t,r,s,l,fI);else if("ArrowUp"===n)e.preventDefault(),gI(t,r,s,l,hI);else if("Home"===n)e.preventDefault(),gI(t,null,s,l,fI);else if("End"===n)e.preventDefault(),gI(t,null,s,l,hI);else if(1===n.length){const o=f.current,i=n.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 s=r&&!o.repeating&&mI(r,o);o.previousKeyMatched&&(s||gI(t,r,!1,l,fI,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function vI(e){return zs("MuiPopover",e)}js("MuiPopover",["root","paper"]);const yI=["onEntering"],xI=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],SI=["slotProps"];function EI(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function CI(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function wI(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function RI(e){return"function"==typeof e?e():e}const LI=aS(JA,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),AI=aS(tA,{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});var II=y.forwardRef((function(e,t){var n,r,o;const i=KL({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={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:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:E=oI,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,L=tv(i.TransitionProps,yI),A=tv(i,xI),I=null!=(n=null==x?void 0:x.paper)?n:b,M=y.useRef(),D=ys(M,I.ref),P=ev({},i,{anchorOrigin:s,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:S,TransitionComponent:E,transitionDuration:C,TransitionProps:L}),_=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"]},vI,t)})(P),O=y.useCallback((()=>{if("anchorPosition"===c)return u;const e=RI(l),t=(e&&1===e.nodeType?e:hs(M.current).body).getBoundingClientRect();return{top:t.top+EI(t,s.vertical),left:t.left+CI(t,s.horizontal)}}),[l,s.horizontal,s.vertical,u,c]),T=y.useCallback((e=>({vertical:EI(e,S.vertical),horizontal:CI(e,S.horizontal)})),[S.horizontal,S.vertical]),k=y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=T(t);if("none"===c)return{top:null,left:null,transformOrigin:wI(n)};const r=O();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,u=ms(RI(l)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,n.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:wI(n)}}),[l,c,O,T,m]),[q,N]=y.useState(g),F=y.useCallback((()=>{const e=M.current;if(!e)return;const t=k(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[k]);y.useEffect((()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[l,R,F]);y.useEffect((()=>{g&&F()})),y.useImperativeHandle(a,(()=>g?{updatePosition:()=>{F()}}:null),[g,F]),y.useEffect((()=>{if(!g)return;const e=fs((()=>{F()})),t=ms(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,g,F]);let z=C;"auto"!==C||E.muiSupportAuto||(z=void 0);const j=f||(l?hs(RI(l)).body:void 0),$=null!=(r=null==v?void 0:v.root)?r:LI,G=null!=(o=null==v?void 0:v.paper)?o:AI,B=Ks({elementType:G,externalSlotProps:ev({},I,{style:q?I.style:ev({},I.style,{opacity:0})}),additionalProps:{elevation:h,ref:D},ownerState:P,className:Ws(_.paper,null==I?void 0:I.className)}),H=Ks({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:j,open:g},ownerState:P,className:Ws(_.root,p)}),{slotProps:W}=H,V=tv(H,SI);return cc.jsx($,ev({},V,!Bs($)&&{slotProps:W,disableScrollLock:R},{children:cc.jsx(E,ev({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),F()},onExited:()=>{N(!1)},timeout:z},L,{children:cc.jsx(G,ev({},B,{children:d}))}))}))}));function MI(e){return zs("MuiMenu",e)}js("MuiMenu",["root","paper","list"]);const DI=["onEntering"],PI=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],_I={vertical:"top",horizontal:"right"},OI={vertical:"top",horizontal:"left"},TI=aS(II,{shouldForwardProp:e=>iS(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),kI=aS(AI,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),qI=aS(bI,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var NI=y.forwardRef((function(e,t){var n,r;const o=KL({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!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,x=tv(o.TransitionProps,DI),S=tv(o,PI),E=(()=>{const e=y.useContext(Ey);return null!=e&&e})(),C=ev({},o,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:x,variant:g}),w=(e=>{const{classes:t}=e;return ks({root:["root"],paper:["paper"],list:["list"]},MI,t)})(C),R=i&&!s&&d,L=y.useRef(null);let A=-1;y.Children.map(a,((e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===A)&&(A=t))}));const I=null!=(n=b.paper)?n:kI,M=null!=(r=v.paper)?r:p,D=Ks({elementType:b.root,externalSlotProps:v.root,ownerState:C,className:[w.root,l]}),P=Ks({elementType:I,externalSlotProps:M,ownerState:C,className:w.paper});return cc.jsx(TI,ev({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?_I:OI,slots:{paper:I,root:b.root},slotProps:{root:D,paper:P},open:d,ref:t,transitionDuration:h,TransitionProps:ev({onEntering:(e,t)=>{L.current&&L.current.adjustStyleForScrollbar(e,{direction:E?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:C},S,{classes:f,children:cc.jsx(qI,ev({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:L,autoFocus:i&&(-1===A||s),autoFocusItem:R,variant:g},u,{className:Ws(w.list,u.className),children:a}))}))}));function FI(e){return zs("MuiMenuItem",e)}var zI=js("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const jI=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],$I=aS(xA,{shouldForwardProp:e=>iS(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>ev({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${zI.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ny(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${zI.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ny(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${zI.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ny(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ny(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${zI.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${zI.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ZA.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ZA.inset}`]:{marginLeft:52},[`& .${dI.root}`]:{marginTop:0,marginBottom:0},[`& .${dI.inset}`]:{paddingLeft:36},[`& .${cI.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&ev({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${cI.root} svg`]:{fontSize:"1.25rem"}}))));var GI=y.forwardRef((function(e,t){const n=KL({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,p=tv(n,jI),f=y.useContext(iI),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:l})),[f.dense,i,l]),m=y.useRef(null);bs((()=>{r&&m.current&&m.current.focus()}),[r]);const g=ev({},n,{dense:h.dense,divider:a,disableGutters:l}),b=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return ev({},a,ks({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},FI,a))})(n),v=ys(m,t);let x;return n.disabled||(x=void 0!==c?c:-1),cc.jsx(iI.Provider,{value:h,children:cc.jsx($I,ev({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:Ws(b.focusVisible,s),className:Ws(b.root,d)},p,{ownerState:g,classes:b}))})}));const BI=aS(TA,{shouldForwardProp:e=>!["interactions","hoverBackground","background","shouldShowMenuIcon","isDimension"].includes(e)})((({interactions:e,background:t,hoverBackground:n,shouldShowMenuIcon:r,isDimension:o})=>({pointerEvents:o?"all":"none",position:"relative",display:"grid",gridTemplateColumns:r?"1fr 12px":"1fr",gap:8,alignItems:"center",cursor:e.active?"pointer":"default",background:t,"&&:hover":{background:e.active&&o?n:t}}))),HI=aS("div")({position:"absolute",left:0,bottom:0}),WI=aS("div",{shouldForwardProp:e=>"justifyContent"!==e})((({justifyContent:e})=>({..._r,justifyContent:null!=e?e:_r.justifyContent,flexDirection:"row",overflow:"hidden",position:"relative",gap:8}))),VI=aS("div")((()=>({..._r}))),YI=aS("div",{shouldForwardProp:e=>!["fontSize","fontFamily","fontWeight","fontStyle","textDecoration","justifyContent"].includes(e)})((({fontSize:e,fontFamily:t,fontWeight:n,fontStyle:r,textDecoration:o,justifyContent:i})=>({display:"flex",justifyContent:i,alignSelf:"center",flexGrow:1,maxWidth:"100%",fontWeight:n,fontSize:e,fontFamily:t,fontStyle:r,textDecoration:o}))),UI=aS(NI)((({theme:e})=>({".MuiList-root":{padding:e.spacing(.5,0)}}))),KI=aS(GI,{shouldForwardProp:e=>!["isActive"].includes(e)})((({theme:e,isActive:t})=>({width:220,maxHeight:32,borderRadius:`${e.spacing(.5)}`,margin:`${e.spacing(.25,.5)}`,padding:`${e.spacing(1,1.5)}`,display:"flex",justifyContent:"space-between",position:"relative",overflow:"hidden ",boxSizing:"border-box",background:""+(t?"rgba(0, 0, 0, 0.05)":"transparent"),"&:hover":{".indent-mode-dropdown-more":{opacity:1}}}))),XI=aS("span")({textOverflow:"ellipsis",overflow:"hidden"}),JI=aS("div",{shouldForwardProp:e=>"visible"!==e})((({visible:e})=>({opacity:e?1:0,width:WE,display:"flex",justifyContent:"center",alignItems:"center",position:"relative"}))),ZI={[tE.SORTING]:!0,[tE.SELECTIONS]:!0,[tE.SEARCHING]:!0},QI=({dataModel:e,cell:t,style:n,isFirstColumn:r,isLastColumn:o,isLastRow:i,translator:a,changeSortOrder:l,iconsVisibilityStatus:s,columnWidth:u,overrideLeftGridWidth:c,layoutService:d,shouldApplyIndentModeColumnWidth:p,tableWidth:f})=>{var h;const m=I(null),g=GE(),{app:b,model:v,interactions:y,embed:x,env:{flags:S}}=FE(),{fontSize:E,fontFamily:C,fontStyle:w,fontWeight:R,textDecoration:L,color:A,background:M,hoverBackground:D,activeBackground:P}=g.header,_=I(null),{shouldShowLockIcon:O,shouldShowMenuIcon:T}=s,{open:k,setOpen:q,handleOpenMenu:N,setIsAdjustingWidth:F}=VL({interactions:y,dataModel:e}),z={sortFromMenu:async(e,n)=>{e.stopPropagation(),await l(t,n)}},j={embed:x,listboxRef:m,sortCriteria:d.searchSortFromDimension&&t.isDim?d.getSortCriteriaForDimension(t.dimensionInfoIndex):void 0},$={model:v,app:b},{labelTextAlign:G}=null!==(h=d.getDimensionInfo(t.dimensionInfoIndex))&&void 0!==h?h:{},B=LL(G,"flex-start",S);return cc.jsxs(BI,{className:Tt,title:t.label,interactions:y,background:k?P:M,hoverBackground:D,shouldShowMenuIcon:T,isDimension:t.isDim,style:{...n,...Tr,...zr(t,i,r,o,g.grid.border),color:A},"data-testid":"title-cell",onClick:N,children:[cc.jsxs(WI,{children:[O&&cc.jsx(VI,{children:cc.jsx(HL,{height:12})}),cc.jsx(YI,{fontFamily:C,fontSize:E,fontStyle:w,fontWeight:R,textDecoration:L,justifyContent:B,children:cc.jsx("span",{style:kr,children:t.label})})]}),t.isDim&&cc.jsxs(cc.Fragment,{children:[cc.jsx(rE,{headerData:t,translator:a,anchorRef:_,open:k,setOpen:q,interactions:y,menuAvailabilityFlags:ZI,sortRelatedArgs:z,searchRelatedArgs:j,selectionRelatedArgs:$,shouldShowMenuIcon:T}),cc.jsx(HI,{ref:m}),cc.jsx(HI,{ref:_})]}),cc.jsx(UL,{cellInfo:{...t,isLeftColumn:!0},columnWidth:u,dataModel:e,isLastColumn:o,overrideLeftGridWidth:c,setIsAdjustingWidth:F,shouldApplyIndentModeColumnWidth:p,tableWidth:f})]})},eM=({rowSpan:e,columnSpan:t})=>{const n=GE();return e>0&&t>0?cc.jsx("div",{style:{...Or,gridRowStart:1,gridRowEnd:`span ${e}`,gridColumnStart:1,gridColumnEnd:`span ${t}`,borderWidth:"0px 1px 0px 0px",borderColor:n.grid.border,background:n.grid.background},"data-testid":"empty-header-cell"}):null};function tM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const nM=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){tM(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"}))));function rM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oM=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rM(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"m8 7-4.5 4.5L2 10l6-6 6 6-1.5 1.5z"}),x.createElement("use",{fillRule:"evenodd"})))),iM=({dataModel:e,tableWidth:t,leftGridWidth:n,overrideLeftGridWidth:r})=>{const o=GE(),{interactions:i}=FE(),{isActive:a}=aL(),{setIsAdjustingWidth:l}=WL([e]);if(!(!!i.active&&!a))return null;const s=YL(o,{isLeftColumn:!0});return cc.jsx(pS,{isPivot:!0,isLastColumn:!0,isLeftColumn:!0,keyValue:"adjuster-indent-row",hoverColor:s,columnWidth:n,updateWidthCallback:e=>{r(Math.min(e,t*UE))},confirmWidthCallback:o=>{var i;if(o.type===zt.FitToContent)return void e.applyIndentModeColumnWidth({type:zt.Auto});const a=Math.min(null!==(i=o.pixels)&&void 0!==i?i:n,t*UE);r(a),e.applyIndentModeColumnWidth({type:zt.Pixels,pixels:a})},setIsAdjustingWidth:l})};function aM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lM=M(((e,t)=>x.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){aM(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),x.createElement("path",{d:"M3 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0m6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2"})))),sM=({cell:e,translator:t,dataModel:n,changeSortOrder:r})=>{const o=I(null),i=I(null),{app:a,model:l,interactions:s,embed:u}=FE(),{open:c,setOpen:d,handleOpenMenu:p}=VL({interactions:s,dataModel:n});return cc.jsxs(KI,{component:"div",onClick:p,isActive:c,children:[cc.jsx(XI,{children:e.label}),cc.jsxs(JI,{className:"indent-mode-dropdown-more",visible:c,children:[cc.jsx(lM,{}),e.isDim&&cc.jsxs(cc.Fragment,{children:[cc.jsx(rE,{headerData:e,translator:t,anchorRef:o,open:c,setOpen:d,interactions:s,menuAvailabilityFlags:ZI,sortRelatedArgs:{sortFromMenu:async(t,n)=>{t.stopPropagation(),await r(e,n)}},searchRelatedArgs:{embed:u,listboxRef:i},selectionRelatedArgs:{model:l,app:a},shouldShowMenuIcon:!1}),cc.jsx(HI,{ref:i}),cc.jsx(HI,{ref:o})]})]})]})},uM=({idx:e,menu:t,menuItems:n,isOnlyOneRow:r})=>{var o,i;const a=(null===(o=n.at(-1))||void 0===o?void 0:o.id)===ZE,l=e+1<n.length&&(null===(i=n[e+1])||void 0===i?void 0:i.id)===ZE;return!(r&&a&&l)&&((null==t?void 0:t.id)!==ZE&&e<n.length-1)},cM=({headersData:e,menuItems:t,dataModel:n,translator:r,changeSortOrder:o,overrideLeftGridWidth:i,leftGridWidth:a,tableWidth:l})=>{const s=GE(),{interactions:u}=FE(),[c,d]=A(!1),p=I(null),{headerCellHeight:f}=s,{color:h,background:m,hoverBackground:g,activeBackground:b,fontFamily:v,fontSize:y,fontStyle:x,fontWeight:S,textDecoration:E}=s.header,{isAdjustingWidth:C}=WL([n]),w=e=>e.stopPropagation(),R={height:f,gridColumn:`1 / span ${e.size.x}`,gridRow:e.size.y,zIndex:e.size.x-0};return cc.jsxs(BI,{isDimension:!0,background:c?b:m,interactions:u,hoverBackground:g,style:{...R,...Tr,color:h},onClick:e=>u.active&&!rL(e)&&!C&&d(!c),"data-testid":"indentModeHeaderCellWrapper",children:[cc.jsxs(WI,{justifyContent:"flex-start",children:[cc.jsx(YI,{fontFamily:v,fontSize:y,fontStyle:x,fontWeight:S,textDecoration:E,justifyContent:"flex-start",children:cc.jsx("span",{style:kr,children:r.get("SNPivotTable.IndentMode.Rows")})}),c?cc.jsx(oM,{}):cc.jsx(nM,{}),cc.jsx(HI,{ref:p})]}),cc.jsx(UI,{open:c,anchorEl:p.current,children:t.map(((i,a)=>[i&&(null==i?void 0:i.id)!==ZE&&cc.jsx("li",{role:"presentation",onClick:w,onKeyDown:w,children:cc.jsx(sM,{cell:i,translator:r,dataModel:n,changeSortOrder:o})}),uM({idx:a,menu:i,menuItems:t,isOnlyOneRow:1===e.size.y})&&cc.jsx(yS,{"data-testid":"group-divider",variant:"middle"},"divider")]))}),cc.jsx(iM,{dataModel:n,tableWidth:l,leftGridWidth:a,overrideLeftGridWidth:i})]})},dM={display:"grid",width:"fit-content"},pM=({dataModel:e,tableWidth:t,leftGridWidth:n,columnWidths:r,rowHight:o,headersData:i,translator:a,changeSortOrder:l,getHeaderCellsIconsVisibilityStatus:s,height:u,overrideLeftGridWidth:c,layoutService:d})=>cc.jsxs("div",{style:{...dM,gridTemplateColumns:r.map((e=>`${e}px`)).join(" "),gridTemplateRows:i.data.map((()=>`${o}px`)).join(" "),height:u},children:[i.size.y>1&&cc.jsx(eM,{columnSpan:i.size.x-1,rowSpan:i.size.y-1}),i.data.map(((u,p)=>{let f=[];if(d.isIndentModeEnabled&&i.size.x>1&&p+1===i.size.y){const r=i.data.at(-1);return f.push(cc.jsx(cM,{headersData:i,menuItems:r[0],dataModel:e,translator:a,changeSortOrder:l,overrideLeftGridWidth:c,leftGridWidth:n,tableWidth:t},r[0][0].id)),f}return f=u.reduce(((n,u,f)=>{if(u){const h=s(f,u.isLocked,u.label),m=d.isIndentModeEnabled&&1===i.size.x;n.push(cc.jsx(QI,{dataModel:e,style:{width:r[f],height:o,gridColumn:d.isIndentModeEnabled&&i.size.x>1?2:f+1,gridRow:p+1,zIndex:i.size.x-f},isLastRow:p===i.size.y-1,isFirstColumn:0===f,isLastColumn:f===i.size.x-1,translator:a,changeSortOrder:l,cell:u,iconsVisibilityStatus:h,columnWidth:r[f],overrideLeftGridWidth:c,layoutService:d,shouldApplyIndentModeColumnWidth:m,tableWidth:t},u.id))}return n}),[]),f}))]});var fM=O(pM);const hM=(e,t,n,r,o)=>{T((()=>{var t;null===(t=e.current)||void 0===t||t.forEach((e=>null==e?void 0:e.resetAfterIndex(0,!0)))}),[e,t,n,r,o])},mM=(e,t)=>{Yb((()=>{var t;null===(t=e.current)||void 0===t||t.forEach((e=>null==e?void 0:e.resetAfterIndex(0,!1)))}),[e,t])},gM=(e,t,n,r)=>{var o;const i=n?"flex-start":"center";var a,l;if(e.representation.type===yt.Image)return null!==(a=null===(l=e.representation.resolvedImagePosition)||void 0===l?void 0:l.horizontal)&&void 0!==a?a:i;if(e.isPseudoDimension&&void 0!==e.visibleMeasureInfoIndex){var s;const{labelTextAlign:n}=null!==(s=t.visibleMeasureInfo[e.visibleMeasureInfoIndex])&&void 0!==s?s:{};return LL(n,i,r)}const{textAlign:u}=null!==(o=t.getDimensionInfo(e.dimensionInfoIndex))&&void 0!==o?o:{};return LL(u,i,r)},bM=()=>{},vM=({children:e,text:t,reactWindowStyle:n,cell:r,data:o,showTotalCellDivider:i,isLastRow:a,isLastColumn:l,isLeftColumn:s,isCellSelected:u,isAdjustingWidth:c})=>{var d;const p=GE(),{interactions:f,env:{flags:h}}=FE(),{select:m,isLocked:g}=aL(),{layoutService:b,showLastBorder:v}=o,y=g(r)||r.isLockedByDimension,x=!(y||!f.active||!f.select||r.isEmpty||r.isNull||r.isPseudoDimension||r.isTotal||c),S=x?m(r):void 0;return cc.jsx("div",{className:Tt,title:f.passive?t:void 0,style:{...n,...Fr(a,l,p.grid.border,v),...jr({bottomDivider:i&&s,rightDivider:i&&!s,borderColor:p.grid.divider}),...Tr,padding:"0px 4px",cursor:gL(x),background:dL({styleService:p,isCellSelected:u,cell:r,isCellLocked:y}),zIndex:s?void 0:b.size.x-r.x,justifyContent:gM(r,b,s,h),display:"flex",...b.isIndentModeEnabled&&s&&{paddingLeft:Math.max(4,24*(null!==(d=r.indentLevel)&&void 0!==d?d:0))}},"aria-hidden":"true",onClick:S,onKeyUp:bM,role:"button",tabIndex:-1,"data-testid":"dimension-cell","data-x":r.x,"data-page-x":r.pageX,"data-y":r.y,"data-page-y":r.pageY,"data-cell-type":r.ref.qType,children:e})},yM=e=>e.stopPropagation(),xM=({href:e,text:t,interactions:n,color:r})=>x.createElement(Xh,{href:e,rel:"noreferrer",target:"_blank",underline:"hover",title:t,onClick:yM,style:{pointerEvents:n.active?"auto":"none",color:null!=r?r:void 0,opacity:n.active&&n.passive||r?void 0:.4}},t),SM=({children:e,textStyle:t})=>cc.jsx("span",{style:{...t,border:"4px solid transparent",boxSizing:"border-box"},children:e}),EM=({cell:e,styleService:t,isCellSelected:n,isLeftColumn:r})=>{const{isActive:o}=aL(),{interactions:i}=FE();let a=e.representation.text;if(e.isEmpty)return null;const l=(({cell:e,styleService:t,isCellSelected:n,isLeftColumn:r})=>({...kr,...qr(r?Math.max(t.grid.lineClamp,e.leafCount*t.grid.lineClamp):t.grid.columnLineClamp),color:pL({cell:e,styleService:t,isCellSelected:n}),fontWeight:fL({cell:e,styleService:t}),fontStyle:hL({cell:e,styleService:t}),textDecoration:mL({cell:e,styleService:t}),fontFamily:t.dimensionValues.fontFamily,fontSize:t.dimensionValues.fontSize}))({cell:e,styleService:t,isCellSelected:n,isLeftColumn:r});return e.representation.type!==yt.Image||e.isTotal?(e.representation.type!==yt.Link||o||e.isTotal||(a=cc.jsx(xM,{text:e.representation.text,href:e.representation.url,interactions:i,color:e.expressionColor.color})),cc.jsx(SM,{textStyle:l,children:a})):cc.jsx(RL,{representation:e.representation,isLeftColumn:r,styleService:t,textStyle:l,leafCount:e.leafCount,canExpandOrCollapse:e.ref.qCanCollapse||e.ref.qCanExpand})},CM=e=>{const t=e.isLeftColumn?"flex-start":"center";var n;return e.representation.type!==yt.Image||(e=>"fill"===e.representation.imageSize)(e)?t:null===(n=e.representation.resolvedImagePosition)||void 0===n?void 0:n.vertical},wM=({index:e,style:t,data:n})=>{const r=GE(),{isSelected:o}=aL(),{isAdjustingWidth:i,setIsAdjustingWidth:a}=WL([n]),{dataModel:l,isLeftColumn:s=!1,showLastBorder:u,itemCount:c,isLast:d,totalDividerIndex:p,layoutService:f}=n,h=((e,t)=>{const{isLast:n,list:r,listValues:o}=t;return n?r[e]:o[e]})(e,n),m=s?e===c-1:d,g=s?d:e===c-1,b=TR(h,p,f.isIndentModeEnabled);if(void 0===h){const{background:n}=r.dimensionValues;return cc.jsx(KR,{style:{...t,background:n},index:e,isLastRow:m,isLastColumn:g,showLastBorder:u,isLeftColumn:s,showTotalCellDivider:b})}const v=o(h);return cc.jsxs(vM,{text:h.representation.text,reactWindowStyle:t,isLeftColumn:s,isLastRow:m,isLastColumn:g,isCellSelected:v,showTotalCellDivider:b,cell:h,data:n,isAdjustingWidth:i,children:[cc.jsxs(XR,{verticalAlign:CM(h),width:JR(h.representation),right:h.isLeftColumn?void 0:4,children:[cc.jsx(yL,{isLeftColumn:s,isCellSelected:v,cell:h,dataModel:l}),cc.jsx(EM,{isLeftColumn:s,isCellSelected:v,cell:h,styleService:r})]}),cc.jsx(UL,{cellInfo:{...h,columnWidthLocation:h.isPseudoDimension?It.Measures:It.Dimension},columnWidth:t.width,dataModel:l,isLastColumn:g,setIsAdjustingWidth:a})]})};var RM=x.memo(wM,OR);const LM=({list:e,listValues:t,isLastRow:n,getRightGridColumnWidth:r})=>o=>{var i;const a=n?e[o]:t[o];return 0===o&&(null==a?void 0:a.x)>0?(a.leafCount+a.x+a.distanceToNextCell)*r():n||void 0===a?r(null!==(i=null==a?void 0:a.x)&&void 0!==i?i:o):(a.leafCount+a.distanceToNextCell)*r()},AM=(e,t,n,r)=>{const o=Object.values(e);let i,a=o.length;return r&&(a=n,i=t/a),{itemCount:a,estimatedItemSize:i,listValues:o}},IM=(e,t)=>n=>{e.current&&(e.current[t]=n)},MM={display:"flex",height:"fit-content",borderWidth:"1px 0px 0px 0px",...Or},DM={overflow:"hidden",willChange:"auto",flexShrink:0},PM=({dataModel:e,leftGridRef:t,width:n,columnWidths:r,height:o,layoutService:i,leftDimensionData:a,showLastBorder:l,visibleLeftDimensionInfo:s,pageInfo:u})=>{const{qSize:c}=i.layout.qHyperCube,{contentCellHeight:d,grid:{divider:p}}=GE();mM(t,a),hM(t,n,o,d,i);const f=u.rowsOnCurrentPage*d;return cc.jsx("div",{style:{...MM,borderColor:p},children:a.grid.map(((n,p)=>{const h=p===a.columnCount-1,m=yC(s[p]),{itemCount:g,estimatedItemSize:b,listValues:v}=AM(n,f,u.rowsOnCurrentPage,h),y=i.isIndentModeEnabled?()=>d:((e,t,n,r,o)=>i=>{const a=r?e[i]:t[i];if(0===i&&(null==a?void 0:a.pageY)>0)return(a.leafCount+a.pageY+a.distanceToNextCell)*n;if((null==a?void 0:a.leafCount)>0){const e=a.y===o-a.leafCount;return(a.leafCount-(e?a.ref.qUp:0)+a.distanceToNextCell)*n}return n})(n,v,d,h,c.qcy);return cc.jsx(MR,{ref:IM(t,p),style:{...DM,flexGrow:h?1:0},height:o,width:r[p],itemCount:g,itemSize:y,layout:"vertical",itemData:{layoutService:i,dataModel:e,list:n,isLeftColumn:!0,isLast:h,itemCount:g,showLastBorder:l,listValues:v,totalDividerIndex:a.totalDividerIndex},itemKey:FL,estimatedItemSize:b,children:RM},m)}))})};var _M=O(PM);const OM={overflow:"hidden",willChange:"auto"},TM={...Or,borderWidth:"0px 0px 0px 1px"},kM=({dataModel:e,topGridRef:t,rowHightCallback:n,width:r,height:o,layoutService:i,topDimensionData:a,showLastBorder:l,getRightGridColumnWidth:s,headersData:u})=>{const{grid:{divider:c},headerCellHeight:d}=GE(),p={...TM,borderColor:c,height:o};mM(t,a),hM(t,r,o,d,i);const f=i.size.x*s();return 0===a.rowCount?cc.jsx("div",{style:{width:r,height:o,...TM}}):cc.jsx("div",{style:p,children:a.grid.map(((o,c)=>{const d=c===a.rowCount-1,{itemCount:p,estimatedItemSize:h,listValues:m}=AM(o,f,i.size.x,d),g=(({layoutService:e,headersData:t,topRowIndex:n})=>{var r;const o=t.data[n],i=t.size.x-1,a=e.isIndentModeEnabled&&t.size.x>1&&n+1===t.size.y?null===(r=o[0][i])||void 0===r?void 0:r.dimensionInfoIndex:null==o?void 0:o[i].dimensionInfoIndex;return void 0!==a?e.getDimensionInfo(a):void 0})({layoutService:i,headersData:u,topRowIndex:c}),b=g?yC(g):`empty ${c}`;return cc.jsx(MR,{ref:IM(t,c),style:OM,height:n(),width:r,itemCount:p,itemSize:LM({list:o,listValues:m,isLastRow:d,getRightGridColumnWidth:s}),layout:"horizontal",itemData:{layoutService:i,dataModel:e,list:o,isLast:d,itemCount:p,showLastBorder:l,listValues:m,totalDividerIndex:a.totalDividerIndex},itemKey:FL,estimatedItemSize:h,children:RM},b)}))})};var qM=O(kM);const NM=({model:e,rect:t,viewService:n,layoutService:r,qPivotDataPages:o,pageInfo:i,translator:a})=>{const{headerCellHeight:l,contentCellHeight:s}=GE(),u=((e,t,n)=>L((()=>{let{height:r}=e;return t.hasLimitedData&&(r-=22),n&&(r-=41),{...e,height:r}}),[e,t,n]))(t,r,i.shouldShowPagination),{visibleLeftDimensionInfo:c,visibleTopDimensionInfo:d}=((e,t)=>{const{qHyperCube:n}=e.layout,{qNoOfLeftDims:r,qEffectiveInterColumnSortOrder:o,qDimensionInfo:i}=n;return L((()=>{var e,n,a,l;const s=Hw(null!==(e=null===(n=t[0])||void 0===n?void 0:n.qLeft)&&void 0!==e?e:[]),u=Hw(null!==(a=null===(l=t[0])||void 0===l?void 0:l.qTop)&&void 0!==a?a:[]);return{visibleLeftDimensionInfo:s.map(Bw(i,o,0)),visibleTopDimensionInfo:u.map(Bw(i,o,r))}}),[i,o,r,t])})(r,o),p=(e=>{const t=D((async(t,n)=>{if(!e)throw new Error("No Model provided!");const{qReverseSort:r,dimensionInfoIndex:o,sortDirection:i}=t,a=[];if(n===i)return!1;a.push({qPath:`/qHyperCubeDef/qDimensions/${o}/qDef/qReverseSort`,qOp:"Replace",qValue:(!r).toString()});try{return await e.applyPatches(a,!0),!0}catch(e){return console.error("Error while applying patch: ",e),!1}}),[e]);return t})(e),{headersData:f,measureData:h,topDimensionData:m,leftDimensionData:g,attrExprInfoIndexes:b,nextPageHandler:v}=Nw(o,r,i,c,d),y=$w({model:e,nextPageHandler:v,pageInfo:i,layoutService:r}),{onHorizontalScrollHandler:x,onVerticalScrollHandler:S,verticalScrollableContainerRef:E,leftGridHorizontalScrollableContainerRef:C,dataGridHorizontalScrollableContainerRef:w,dataGridRef:R,leftGridRef:M,topGridRef:_,verticalScrollbarWidth:O,horizontalScrollbarHeight:k,horizontalScrollbarHeightSetter:q,verticalScrollDirection:N,horizontalScrollDirection:F}=(({layoutService:e,viewService:t,pageInfo:n,tableRect:r,mockedRefs:o})=>{var i,a,l,s,u,c;const{theme:d,downloadService:p}=FE(),f=I(null!==(i=null==o?void 0:o.verticalScrollableContainerRef)&&void 0!==i?i:null),h=I(null!==(a=null==o?void 0:o.leftGridHorizontalScrollableContainerRef)&&void 0!==a?a:null),m=I(null!==(l=null==o?void 0:o.dataGridHorizontalScrollableContainerRef)&&void 0!==l?l:null),g=I(null!==(s=null==o?void 0:o.topGridRef)&&void 0!==s?s:[]),b=I(null!==(u=null==o?void 0:o.leftGridRef)&&void 0!==u?u:[]),v=I(null!==(c=null==o?void 0:o.dataGridRef)&&void 0!==c?c:null),y=I(0),x=I(0),S=I(Pt.None),E=I(Pt.None),[C,w]=A(0),[R,L]=A(0),M=e=>{E.current=Gw(e.currentTarget.scrollLeft,y.current),y.current=e.currentTarget.scrollLeft,S.current=Gw(e.currentTarget.scrollTop,x.current),x.current=e.currentTarget.scrollTop};T((()=>{e.triggerdByExpandOrCollapse||(h.current&&(h.current.scrollLeft=0),m.current&&(m.current.scrollLeft=0),f.current&&(f.current.scrollTop=0))}),[e]),T((()=>{if(e.triggerdByExpandOrCollapse){var t,n,r,o,i,a;const e=null!==(t=null===(n=m.current)||void 0===n?void 0:n.scrollLeft)&&void 0!==t?t:0,l=null!==(r=null===(o=f.current)||void 0===o?void 0:o.scrollTop)&&void 0!==r?r:0;null===(i=b.current)||void 0===i||i.forEach((e=>null==e?void 0:e.scrollTo(l))),null===(a=g.current)||void 0===a||a.forEach((t=>null==t?void 0:t.scrollTo(e)))}}),[e]),T((()=>{h.current&&(h.current.scrollLeft=0),m.current&&(m.current.scrollLeft=0),f.current&&(f.current.scrollTop=0)}),[n.page]);const P=D((e=>{if(e)return void L(0);let t=0;if(h.current){const e=h.current;t=Math.max(t,e.offsetHeight-e.clientHeight)}if(m.current){const e=m.current;t=Math.max(t,e.offsetHeight-e.clientHeight)}L(t)}),[L]);return T((()=>{if(f.current){const e=f.current,t=e.offsetWidth-e.clientWidth;w(t)}P()}),[P,e,t,r.width,r.height,d,p]),T((()=>{(p.isDownloadedAsPDForImage||e.isSnapshot)&&f.current&&m.current&&h.current&&(f.current.scrollTop=t.scrollTop,m.current.scrollLeft=t.scrollLeft,h.current.scrollLeft=t.leftGridScrollLeft)}),[t,f,m,h,p,e]),{onHorizontalScrollHandler:e=>{var n,r;e.target instanceof HTMLDivElement&&(e.target.dataset.key===`scrollable-container--${Dt.LEFT_GRID}`&&(t.leftGridScrollLeft=e.currentTarget.scrollLeft),e.target.dataset.key===`scrollable-container--${Dt.DATA_GRID}`&&(M(e),null===(n=g.current)||void 0===n||n.forEach((t=>null==t?void 0:t.scrollTo(e.currentTarget.scrollLeft))),null===(r=v.current)||void 0===r||r.scrollTo({scrollLeft:e.currentTarget.scrollLeft}),t.scrollLeft=e.currentTarget.scrollLeft))},onVerticalScrollHandler:e=>{var n,r;e.target instanceof HTMLDivElement&&(M(e),null===(n=b.current)||void 0===n||n.filter(Boolean).forEach((t=>t.scrollTo(e.currentTarget.scrollTop))),null===(r=v.current)||void 0===r||r.scrollTo({scrollTop:e.currentTarget.scrollTop}),t.scrollTop=e.currentTarget.scrollTop)},verticalScrollableContainerRef:f,leftGridHorizontalScrollableContainerRef:h,dataGridHorizontalScrollableContainerRef:m,dataGridRef:v,leftGridRef:b,topGridRef:g,verticalScrollbarWidth:C,horizontalScrollbarHeight:R,horizontalScrollbarHeightSetter:P,verticalScrollDirection:S,horizontalScrollDirection:E}})({layoutService:r,viewService:n,pageInfo:i,tableRect:u}),{containerHeight:z,headerGridHeight:j,topGridHeight:$,leftGridHeight:G,dataGridHeight:B,allRowsVisible:H}=function({pageInfo:e,headersData:t,topDimensionData:n,tableRect:r,horizontalScrollbarHeight:o}){const{headerCellHeight:i,contentCellHeight:a}=GE(),l=e.rowsOnCurrentPage*a,s=i*t.size.y,u=l+s,c=i*Math.max(t.size.y,n.rowCount,1);return{containerHeight:u,headerGridHeight:s,topGridHeight:c,leftGridHeight:Math.min(r.height-s-Mr,l),dataGridHeight:Math.min(r.height-c-Mr,l),allRowsVisible:c+Mr+l+o<=r.height}}({pageInfo:i,headersData:f,topDimensionData:m,tableRect:u,horizontalScrollbarHeight:k}),{leftGridWidth:W,leftGridColumnWidths:V,rightGridWidth:Y,totalWidth:U,showLastRightBorder:K,getRightGridColumnWidth:X,getHeaderCellsIconsVisibilityStatus:J,overrideLeftGridWidth:Z}=function({layoutService:e,tableWidth:t,headersData:n,visibleTopDimensionInfo:r,verticalScrollbarWidth:o,horizontalScrollbarHeightSetter:i,translator:a}){const l=GE(),{measureText:s}=Hb(l.header),u=cC({layoutService:e,tableWidth:t,headersData:n,translator:a}),c=dC({layoutService:e,tableWidth:t,visibleTopDimensionInfo:r,verticalScrollbarWidth:o,leftGridWidth:u.leftGridWidth}),d=u.leftGridWidth+c.rightGridFullWidth+Mr,p=d<t,f=D(((t,r,o="")=>{let i=t;e.isIndentModeEnabled&&(i=1,1===n.size.x&&(i=0));const a=u.leftGridColumnWidths[i];let l=!1,c=!1,d=s(o)+YE;return r&&d+VE<=a&&(c=!0,d+=VE),d+WE<=a&&(l=!0),{shouldShowMenuIcon:l,shouldShowLockIcon:c}}),[u.leftGridColumnWidths,s,e.isIndentModeEnabled,n.size.x]);return P((()=>{const e=u.leftGridWidth===u.leftGridFullWidth,t=c.rightGridWidth===c.rightGridFullWidth;i(e&&t)}),[i,u.leftGridWidth,u.leftGridFullWidth,c.rightGridWidth,c.rightGridFullWidth]),{...u,...c,totalWidth:d,showLastRightBorder:p,getHeaderCellsIconsVisibilityStatus:f}}({layoutService:r,tableWidth:u.width,headersData:f,visibleTopDimensionInfo:d,verticalScrollbarWidth:O,horizontalScrollbarHeightSetter:q,translator:a}),{rootWrapper:Q,leftWrapper:ee,rightWrapper:te}=(({tableRect:e,containerHeight:t,headerGridHeight:n,leftGridHeight:r,topGridHeight:o,dataGridHeight:i,allRowsVisible:a,totalWidth:l,leftGridWidth:s,rightGridWidth:u,verticalScrollbarWidth:c,horizontalScrollbarHeight:d})=>{const p=o+i+Mr,f=a?0:Math.max(0,e.height-p),h=c*(a?0:1),m=d*(a?0:1),g=a?p+d:e.height,b=e.height-m,v=l-s-h,y=e.width-s-h;return{rootWrapper:{scrollable:e,fullSize:{width:l-h,height:t+m},sticky:{width:e.width-h,height:e.height}},leftWrapper:{containers:{scrollable:{width:s,height:g},fullSize:{width:s,height:t},sticky:{width:s,height:b}},headerGrid:{width:-1,height:n},leftGrid:{width:s,height:r-m+f}},rightWrapper:{containers:{scrollable:{width:u+Mr-h,height:g},fullSize:{width:v,height:t},sticky:{width:v<y?v:y,height:b}},topGrid:{width:u-h,height:o},dataGrid:{width:u-h,height:i-m+f}}}})({tableRect:u,containerHeight:z,headerGridHeight:j,leftGridHeight:G,topGridHeight:$,dataGridHeight:B,allRowsVisible:H,totalWidth:U,leftGridWidth:W,rightGridWidth:Y,verticalScrollbarWidth:O,horizontalScrollbarHeight:k}),ne=D((()=>l),[l]),re=D((()=>s),[s]);return(()=>{const{downloadService:e}=FE();P((()=>{e.isDownloadedAsPDForImage&&e.notifyIsDoneRendering()}))})(),cc.jsx(Uw,{ref:E,...Q.scrollable,onScroll:S,showVerticalScrollbar:!0,showHorizontalScrollbar:!1,origin:Dt.CONTAINER_GRID,children:cc.jsx(Ww,{...Q.fullSize,children:cc.jsxs(Kw,{...Q.sticky,style:{display:"grid",gridTemplateColumns:W?`${ee.containers.scrollable.width}px ${te.containers.scrollable.width}px`:`${te.containers.scrollable.width}px`},children:[Boolean(W)&&cc.jsx(Uw,{ref:C,...ee.containers.scrollable,onScroll:x,showVerticalScrollbar:!1,showHorizontalScrollbar:!0,origin:Dt.LEFT_GRID,children:cc.jsx(Ww,{isLeftGrid:!0,...ee.containers.fullSize,children:cc.jsxs(Kw,{isLeftGrid:!0,...ee.containers.sticky,children:[cc.jsx(fM,{dataModel:y,tableWidth:u.width,leftGridWidth:W,columnWidths:V,getHeaderCellsIconsVisibilityStatus:J,rowHight:l,height:ee.headerGrid.height,headersData:f,translator:a,changeSortOrder:p,overrideLeftGridWidth:Z,layoutService:r}),cc.jsx(_M,{dataModel:y,leftGridRef:M,...ee.leftGrid,columnWidths:V,layoutService:r,leftDimensionData:g,showLastBorder:{right:!1,bottom:H},visibleLeftDimensionInfo:c,pageInfo:i})]})})}),cc.jsx(Uw,{ref:w,...te.containers.scrollable,onScroll:x,showVerticalScrollbar:!1,showHorizontalScrollbar:!0,origin:Dt.DATA_GRID,children:cc.jsx(Ww,{...te.containers.fullSize,children:cc.jsxs(Kw,{...te.containers.sticky,children:[cc.jsx(qM,{dataModel:y,topGridRef:_,rowHightCallback:ne,...te.topGrid,layoutService:r,topDimensionData:m,showLastBorder:{right:K,bottom:!1},getRightGridColumnWidth:X,headersData:f}),cc.jsx(GL,{dataModel:y,dataGridRef:R,rowHightCallback:re,...te.dataGrid,viewService:n,layoutService:r,measureData:h,leftDimensionData:g,topDimensionData:m,visibleTopDimensionInfo:d,visibleLeftDimensionInfo:c,attrExprInfoIndexes:b.measures,showLastBorder:{right:K,bottom:H},getRightGridColumnWidth:X,pageInfo:i,verticalScrollDirection:N,horizontalScrollDirection:F})]})})})]})})})},FM=e=>{const{layoutService:t,translator:n,pageInfo:r,updatePageInfo:o,rect:i}=e,{keyboard:a,theme:l,interactions:s}=FE(),{layout:u,hasData:c}=t;return cc.jsxs(cc.Fragment,{children:[c&&cc.jsx(NM,{...e}),cc.jsx(jE,{translator:n,layoutService:t}),cc.jsx(qE,{paginationNeeded:r.shouldShowPagination,handleChangePage:e=>o({page:e}),pageInfo:r,totalRowCount:r.totalRowCount,totalColumnCount:0,totalPages:r.totalPages,keyboard:a,translator:n,theme:l,interactions:s,rect:i,layout:u})]})},zM={WHITE:"#FFFFFF",GREY:"#999999",GREY_PALE:"#B2B2B2",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_25:"rgba(0, 0, 0, 0.25)",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_0_65:"rgba(0, 0, 0, 0.65)",GREYSCALE_100_05:"rgba(255, 255, 255, 0.05)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_25:"rgba(255, 255, 255, 0.25)",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)"},jM=12,$M=14,GM=16,BM=24,HM=3,WM=300,VM=400,YM=600,UM=700,KM={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};no(zM.GREYSCALE_0,.05),no(zM.GREEN_PALE,.5),no(zM.BLUE_PALE,.5),no(zM.GREEN_PALE,.5),no(zM.BLUE_PALE,.5),no(zM.GREEN_PALE,.5),no(zM.BLUE_PALE,.5);var XM;function JM(){return JM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JM.apply(null,arguments)}no(zM.GREEN_PALE,.5),no(zM.BLUE_PALE,.5),no(zM.GREEN_PALE,.5),no(zM.BLUE_PALE,.5);var ZM,QM=function(e){return y.createElement("svg",JM({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),XM||(XM=y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function eD(){return eD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eD.apply(null,arguments)}var tD=function(e){return y.createElement("svg",eD({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),ZM||(ZM=y.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 nD({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return x.createElement("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n},t)}var rD=(e={})=>x.createElement(nD,{...e},x.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},x.createElement("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),x.createElement("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"}))),oD=(e={})=>x.createElement(nD,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),x.createElement("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})))),iD=(e={})=>x.createElement(nD,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212"},x.createElement("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})))),aD=(e={})=>x.createElement(nD,{fontSize:"medium",...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x.createElement("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),x.createElement("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"}))),lD=({className:e})=>x.createElement(nD,{fontSize:"small",className:e},x.createElement("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero"},x.createElement("g",{transform:"translate(4.324187, 1.300372)"},x.createElement("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"}),x.createElement("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"})))))),sD=(e={})=>x.createElement(nD,{...e},x.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},x.createElement("rect",{stroke:zM.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"}))));const uD={MuiAccordion:{styleOverrides:{root:{backgroundColor:zM.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:zM.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:x.createElement(QM,{"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 ${zM.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:zM.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${zM.MISC_FOCUS_BORDER}`,borderRadius:HM,backgroundColor:zM.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 ${zM.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:zM.WHITE,color:zM.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:HM},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${zM.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:zM.GREYSCALE_0_15,backgroundColor:zM.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:zM.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${zM.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:zM.GREEN_PALE},"&:active":{backgroundColor:zM.GREEN_DARK},"&.Mui-focusVisible":{borderColor:zM.GREEN_PALE,boxShadow:`0 0 0 3px ${gy(zM.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:zM.BLUE_PALE},"&:active":{backgroundColor:zM.BLUE_DARK},"&.Mui-focusVisible":{borderColor:zM.BLUE_PALE,boxShadow:`0 0 0 3px ${gy(zM.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:HM,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:zM.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${zM.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:zM.GREYSCALE_0_15,backgroundColor:zM.GREYSCALE_100_60,"&:active":{backgroundColor:zM.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:zM.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${zM.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:zM.PURPLE,"&.Mui-focusVisible":{borderColor:zM.PURPLE,boxShadow:`0 0 0 3px ${gy(zM.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:zM.GREEN,"&.Mui-focusVisible":{borderColor:zM.GREEN,boxShadow:`0 0 0 3px ${gy(zM.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:zM.BLUE,"&.Mui-focusVisible":{borderColor:zM.BLUE,boxShadow:`0 0 0 3px ${gy(zM.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:zM.ORANGE,"&.Mui-focusVisible":{borderColor:zM.ORANGE,boxShadow:`0 0 0 3px ${gy(zM.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:zM.RED,"&.Mui-focusVisible":{borderColor:zM.RED,boxShadow:`0 0 0 3px ${gy(zM.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:zM.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:zM.PURPLE_PALE},"&:active":{backgroundColor:zM.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:zM.PURPLE_PALE,boxShadow:`0 0 0 3px ${gy(zM.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:zM.GREEN_PALE},"&:active":{backgroundColor:zM.GREEN_DARK},"&.Mui-focusVisible":{borderColor:zM.GREEN_PALE,boxShadow:`0 0 0 3px ${gy(zM.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:zM.BLUE_PALE},"&:active":{backgroundColor:zM.BLUE_DARK},"&.Mui-focusVisible":{borderColor:zM.BLUE_PALE,boxShadow:`0 0 0 3px ${gy(zM.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:zM.ORANGE_PALE},"&:active":{backgroundColor:zM.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:zM.ORANGE_PALE,boxShadow:`0 0 0 3px ${gy(zM.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:zM.RED_PALE},"&:active":{backgroundColor:zM.RED_DARK},"&.Mui-focusVisible":{borderColor:zM.RED_PALE,boxShadow:`0 0 0 3px ${gy(zM.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:zM.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:zM.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:HM,boxShadow:`inset 0 0 0 2px ${zM.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:x.createElement(tD,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:jM,borderRadius:HM,color:zM.TEXT_PRIMARY,backgroundColor:zM.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:zM.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${zM.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:zM.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:zM.GREYSCALE_0_05,color:zM.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:zM.GREEN,borderColor:zM.GREEN},"&.MuiChip-outlinedInfo":{color:zM.BLUE,borderColor:zM.BLUE},"&.MuiChip-outlinedWarning":{color:zM.ORANGE,borderColor:zM.ORANGE},"&.MuiChip-outlinedError":{color:zM.RED,borderColor:zM.RED}},outlined:{border:`solid 1px ${zM.GREYSCALE_0_15}`,backgroundColor:zM.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:HM,boxShadow:"none",backgroundColor:zM.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:zM.GREEN,borderColor:zM.GREEN},outlinedSecondary:{color:zM.BLUE,borderColor:zM.BLUE},label:{fontFamily:KM.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:x.createElement(tD,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:x.createElement(QM,{"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:HM},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:HM,fontSize:$M,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:zM.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${zM.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:zM.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:zM.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:zM.GREYSCALE_0_05}}},popupIndicator:{borderRadius:HM,border:`solid 1px ${zM.GREYSCALE_0_15}`,color:zM.GREYSCALE_0_60,marginRight:0,width:BM,height:BM},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${zM.GREYSCALE_0_15}`},clearIndicator:{borderRadius:HM,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:zM.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:$M}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:jM,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:zM.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:zM.GREYSCALE_25,fontSize:jM,fontFamily:KM.FONT_FAMILY,fontWeight:YM,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:zM.TEXT_PRIMARY},"&.Mui-error":{color:zM.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:zM.TEXT_SECONDARY,content:"'(optional)'",fontWeight:VM,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:zM.TEXT_SECONDARY,content:"'(required)'",fontWeight:VM,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:$M,lineHeight:"16px",backgroundColor:zM.WHITE,borderRadius:HM,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${zM.GREYSCALE_0_05}`,borderColor:zM.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${zM.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${zM.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${zM.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${zM.RED}`,boxShadow:`0px 0px 0px 1px ${zM.RED}, inset 0 2px 0 0 ${zM.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${zM.GREYSCALE_0_10}`,borderColor:zM.GREYSCALE_0_10,backgroundColor:zM.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:zM.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:zM.GREYSCALE_0_15,borderRadius:HM,boxShadow:`inset 0 2px 0 0 ${zM.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>x.createElement(QM,{...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:zM.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:zM.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:zM.GREYSCALE_0_03},"&:active":{backgroundColor:zM.GREYSCALE_0_10},"&:focus":{backgroundColor:zM.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${zM.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${zM.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:zM.GREYSCALE_0_30,"&:hover":{backgroundColor:zM.GREYSCALE_0_0,borderColor:zM.GREYSCALE_0_15},"& ~svg":{color:zM.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${zM.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:HM}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:zM.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${zM.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:zM.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:$M,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:jM,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:jM,fontWeight:YM,color:zM.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:YM}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${zM.GREYSCALE_0_15}, 0px 0px 0px 1px ${zM.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:x.createElement(iD,null),checkedIcon:x.createElement(aD,null)},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:zM.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${zM.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:zM.GREEN_PALE,boxShadow:`0 0 0 3px ${gy(zM.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:zM.BLUE_PALE,boxShadow:`0 0 0 3px ${gy(zM.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:zM.GREYSCALE_0_20}},"&.Mui-disabled":{fill:zM.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:x.createElement(sD,null),checkedIcon:x.createElement(rD,null),indeterminateIcon:x.createElement(oD,null)},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:HM,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:zM.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:zM.GREYSCALE_0_55,color:zM.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:zM.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:zM.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:zM.GREYSCALE_0_55,"&:hover":{color:zM.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:zM.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:zM.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:$M,color:zM.TEXT_PRIMARY,lineHeight:"16px",fontWeight:YM},secondary:{fontSize:jM,color:zM.GREYSCALE_45,fontWeight:VM,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:$M,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:zM.GREYSCALE_0_03},"&:active":{backgroundColor:zM.GREYSCALE_0_05}}}},MuiListItemButton:{styleOverrides:{root:{fontSize:$M,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:zM.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:jM,borderBottom:`solid 1px ${zM.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:$M,color:zM.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:zM.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:zM.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:zM.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:zM.RED}}},"&.Mui-focusVisible":{backgroundColor:zM.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:zM.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:zM.GREEN,height:"24px","&.Mui-disabled":{color:zM.GREYSCALE_0_15}},rail:{backgroundColor:zM.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${zM.GREYSCALE_0_05}`,borderRadius:HM,boxShadow:`inset 0px 0px 0px 1px ${zM.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${zM.GREYSCALE_0_05}`,borderRadius:HM},thumb:{height:"16px",width:"16px",borderRadius:HM,backgroundColor:zM.WHITE,boxShadow:`0px 1px 2px 0px ${zM.GREYSCALE_0_15}, 0px 0px 0px 1px ${zM.GREYSCALE_0_05}`,"&:hover":{borderRadius:HM,boxShadow:`0 2px 4px 0 ${zM.GREYSCALE_0_30}, 0 0 0 1px ${zM.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${zM.GREYSCALE_0_15}, 0 0 0 1px ${zM.GREYSCALE_0_06}, 0 0 0 2px ${zM.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${zM.GREYSCALE_0_15}, 0 0 0 1px ${zM.GREYSCALE_0_06}, 0 0 0 2px ${zM.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:zM.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:zM.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:zM.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:zM.GREYSCALE_0_15},markLabel:{color:zM.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:zM.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:zM.WHITE,color:zM.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:zM.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:zM.GREEN_PALE,boxShadow:`0 0 0 3px ${gy(zM.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:zM.BLUE_PALE,boxShadow:`0 0 0 3px ${gy(zM.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:zM.GREYSCALE_0_15,borderRadius:HM},thumb:{height:"16px",width:"16px",borderRadius:HM,backgroundColor:zM.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:$M,fontWeight:YM,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${zM.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${zM.MISC_FOCUS_BORDER}`,backgroundColor:zM.GREYSCALE_0_03,borderRadius:HM},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:zM.GREYSCALE_25,"&.Mui-selected":{color:zM.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:$M,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:HM,"&:hover":{backgroundColor:`${zM.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 ${zM.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${zM.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:HM,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:zM.GREYSCALE_0_05},"&:hover":{backgroundColor:`${zM.GREYSCALE_0_03}`,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${zM.GREYSCALE_85}`,borderRight:`1px solid ${zM.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:YM,backgroundColor:zM.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:zM.GREYSCALE_98,borderBottom:`1px solid ${zM.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${zM.GREYSCALE_85}`,borderTop:`1px solid ${zM.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:zM.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:zM.GREYSCALE_0_05,"&:hover":{backgroundColor:zM.GREYSCALE_0_03}},"&&:hover":{backgroundColor:zM.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>x.createElement(lD,{className:e})},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 ${zM.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:$M,borderRadius:HM,padding:"7px 16px",border:`1px solid ${zM.GREYSCALE_0_15}`,backgroundColor:zM.GREYSCALE_100_60,color:zM.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:zM.GREYSCALE_0_10,border:`1px solid ${zM.GREYSCALE_0_30}`},"&:hover":{backgroundColor:zM.GREYSCALE_0_03,border:`1px solid ${zM.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:zM.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${zM.MISC_FOCUS_BORDER}`,border:`1px solid ${zM.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:zM.GREYSCALE_25,backgroundColor:zM.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:zM.GREYSCALE_0_10,border:`1px solid ${zM.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:jM,height:24,width:24,padding:7},sizeLarge:{fontSize:GM,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:$M,borderRadius:HM}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:zM.GREYSCALE_20},tooltip:{backgroundColor:zM.GREYSCALE_20,fontSize:jM,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}};var cD=e=>uD;const dD={mode:"light",primary:{ultraLight:zM.GREEN_ULTRA_LIGHT,light:zM.GREEN_PALE,main:zM.GREEN,dark:zM.GREEN_DARK,extraDark:zM.GREEN_EXTRA_DARK,contrastText:zM.WHITE},secondary:{ultraLight:zM.BLUE_ULTRA_LIGHT,light:zM.BLUE_PALE,main:zM.BLUE,dark:zM.BLUE_DARK,extraDark:zM.BLUE_EXTRA_DARK,contrastText:zM.WHITE},error:{ultraLight:zM.RED_ULTRA_LIGHT,light:zM.RED_PALE,main:zM.RED,dark:zM.RED_DARK,extraDark:zM.RED_EXTRA_DARK,contrastText:zM.WHITE},warning:{ultraLight:zM.ORANGE_ULTRA_LIGHT,light:zM.ORANGE_PALE,main:zM.ORANGE,dark:zM.ORANGE_DARK,extraDark:zM.ORANGE_EXTRA_DARK,contrastText:zM.WHITE},success:{ultraLight:zM.GREEN_ULTRA_LIGHT,light:zM.GREEN_PALE,main:zM.GREEN,dark:zM.GREEN_DARK,extraDark:zM.GREEN_EXTRA_DARK,contrastText:zM.WHITE},info:{ultraLight:zM.BLUE_ULTRA_LIGHT,light:zM.BLUE_PALE,main:zM.BLUE,dark:zM.BLUE_DARK,extraDark:zM.BLUE_EXTRA_DARK,contrastText:zM.WHITE},text:{primary:zM.TEXT_PRIMARY,secondary:zM.TEXT_SECONDARY,disabled:zM.GREYSCALE_0_30},action:{hover:zM.GREYSCALE_0_03,hoverOpacity:.03,selected:zM.GREYSCALE_0_05,selectedOpacity:.05,focus:zM.MISC_FOCUS_BORDER},amethyst:{ultraLight:zM.WHITE,main:zM.PURPLE,light:zM.PURPLE_PALE,dark:zM.PURPLE_DARK,extraDark:zM.GREYSCALE_0_0,contrastText:zM.WHITE},background:{paper:zM.WHITE,default:zM.GREYSCALE_95},divider:zM.GREYSCALE_0_15},pD=e=>dD,fD=(e="light")=>({components:cD(),palette:pD(),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:$M,fontWeightLight:WM,fontWeightRegular:VM,fontWeightMedium:YM,fontWeightBold:UM,htmlFontSize:$M,fontFamily:KM.FONT_FAMILY,button:{fontWeight:YM,fontSize:$M,textTransform:"none"},body1:{fontSize:GM,lineHeight:"24px"},body2:{fontSize:$M,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:BM,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:GM,fontWeight:YM,lineHeight:"16px"},h6:{fontSize:$M,fontWeight:YM,lineHeight:"16px"},caption:{color:zM.TEXT_SECONDARY},subtitle1:{fontSize:$M,color:zM.TEXT_SECONDARY},subtitle2:{fontSize:jM,color:zM.TEXT_SECONDARY}},shape:{borderRadius:HM}});const hD=(e,t)=>{const{selections:n,styleService:r,app:o,model:i,interactions:a,embed:l,keyboard:s,theme:u,env:c,downloadService:d}=t,p=function(e){var t;const n=fD();return null!=n&&null!==(t=n.components)&&void 0!==t&&null!==(t=t.MuiTable)&&void 0!==t&&t.styleOverrides&&(n.components.MuiTable.styleOverrides.root={}),Ax({...n,direction:e})}("ltr");e.render(cc.jsx(x.StrictMode,{children:cc.jsx(sS,{theme:p,children:cc.jsx(zE,{app:o,model:i,interactions:a,embed:l,keyboard:s,theme:u,env:c,downloadService:d,children:cc.jsx(lL,{selections:n,updatePageInfo:t.updatePageInfo,children:cc.jsx(BE,{styleService:r,children:cc.jsx(FM,{...t})})})})})}))};var mD,gD,bD,vD;!function(e){e.FontSize="fontSize",e.FontFamily="fontFamily",e.FontColor="fontColor",e.FontStyle="fontStyle",e.Background="background",e.LineClamp="lineClamp",e.ColumnLineClamp="columnLineClamp",e.Border="border",e.Divider="divider"}(mD||(mD={})),function(e){e.Dimension="object.pivotTableV2.dimension",e.Measure="object.pivotTableV2.measure",e.Total="object.pivotTableV2.total",e.Null="object.pivotTableV2.null",e.Grid="object.pivotTableV2"}(gD||(gD={})),function(e){e.Grid="grid",e.Divider="grid.divider",e.LabelName="label.name",e.LabelValue="label.value"}(bD||(bD={})),function(e){e.FontSize="fontSize",e.FontFamily="fontFamily",e.Color="color",e.BackgroundColor="backgroundColor",e.LineClamp="lineClamp",e.ColumnLineClamp="columnLineClamp",e.BorderColor="borderColor"}(vD||(vD={}));const yD=e=>e?`${parseInt(e,10)}px`:void 0,xD=(e,t)=>{if(t){const n=e.getColorPickerColor(t);return"none"===n?Dr.Transparent:n}},SD=(e,t)=>+(parseInt(e,10)*Ir*t+8).toFixed(2),ED=(e,t)=>void 0===e?t:e.some((e=>"bold"===e))?Lr:"normal",CD=e=>null!=e&&e.some((e=>"italic"===e))?"italic":"normal",wD=e=>null!=e&&e.some((e=>"underline"===e))?"underline":"none";function RD(e,t){return r((()=>e),t)}const LD={},AD=e=>{const t=r((()=>({current:LD})),[]);return t.current=t.current===LD?e:t.current,t},ID=({fontStyle:e,fontWeight:t,fontSize:n,fontFamily:r})=>t?`${e} ${t} ${n} ${r}`:`${e} ${n} ${r}`,MD=(e,t,n)=>{var o,i;const a=null!==(o=null==n?void 0:n.qHyperCubeDef.qShowTotalsAbove)&&void 0!==o&&o,l=null!==(i=null==n?void 0:n.qHyperCubeDef.qAlwaysFullyExpanded)&&void 0!==i&&i,s=void 0!==(null==n?void 0:n.qHyperCubeDef.qSortbyYValue)&&1===Math.abs(null==n?void 0:n.qHyperCubeDef.qSortbyYValue),u=r((()=>{var e;return null==n||null===(e=n.qHyperCubeDef.qDimensions)||void 0===e?void 0:e.map((e=>e.qDef.qSortCriterias))}),[n]);return r((()=>(({layout:e,flags:t,qShowTotalsAbove:n,qAlwaysFullyExpanded:r,isSortedByFirstMeasure:o,qSortCriterias:i})=>{var a,l,s,u;const{qHyperCube:c,nullValueRepresentation:d,snapshotData:p}=e,{qNoOfLeftDims:f,qEffectiveInterColumnSortOrder:h,qMeasureInfo:m,qDimensionInfo:g}=c,b=!!p,v=null!==(a=null==p||null===(l=p.content)||void 0===l?void 0:l.rowsPerPage)&&void 0!==a?a:15e3,y={x:Math.min(e.qHyperCube.qSize.qcx,Ar),y:Math.min(e.qHyperCube.qSize.qcy,v)},x=h.slice(0,f),S=e=>x.some((t=>t===e)),E=S(JE),C=new Map(h.map((e=>{var t;return[null!==(t=g[e])&&void 0!==t?t:JE,e]}))),w=m.filter((e=>{var t;return 7005!==(null===(t=e.qError)||void 0===t?void 0:t.qErrorCode)}));return{layout:e,getNullValueText:()=>{var e;return null!==(e=null==d?void 0:d.text)&&void 0!==e?e:"-"},getMeasureInfoIndexFromCellIndex:(e,t=!1)=>{if(E)return 0;const n=e%w.length;return t?n:m.findIndex((e=>e===w[n]))},getDimensionInfo:e=>e===JE?JE:g[e],getDimensionInfoIndex:e=>{var t;return null!==(t=C.get(e))&&void 0!==t?t:-1},getSortCriteriaForDimension:e=>null==i?void 0:i[e],size:y,isSnapshot:b,hasLimitedData:!b&&y.x<e.qHyperCube.qSize.qcx,hasData:y.x>0&&y.y>0,hasLeftDimensions:0!==e.qHyperCube.qNoOfLeftDims,showTotalsAbove:n,hasPseudoDimOnLeft:E,leftDimensionInfoIndexes:x,isLeftDimension:S,isFullyExpanded:r,triggerdByExpandOrCollapse:!!e.qHyperCube.qLastExpandedPos,visibleMeasureInfo:w,isIndentModeEnabled:Boolean(e.qHyperCube.qIndentMode)&&t.isEnabled("CLIENT_IM_5975_INDENT_MODE"),indentModeColumnWidth:null!==(s=e.qHyperCube.indentModeColumnWidth)&&void 0!==s?s:{type:zt.Auto,pixels:Ft.PixelsDefault,percentage:Ft.PercentageDefault},isSortedByFirstMeasure:o,searchSortFromDimension:"inherit"===(null===(u=e.search)||void 0===u?void 0:u.sorting)}})({layout:e,flags:t,qShowTotalsAbove:a,qAlwaysFullyExpanded:l,isSortedByFirstMeasure:s,qSortCriterias:u})),[e,a,l,s,t,u])},DD=({model:e,layoutService:t,viewService:n,pageInfo:r,rect:o})=>{const{layout:i,isSnapshot:a,triggerdByExpandOrCollapse:l}=t,s=(e=>{const t=AD(e);return t.current=e,t})(zw(o));return jb((async()=>{var t;const{qHyperCube:o}=i,{maxNumberOfVisibleRows:u,maxNumberOfVisibleColumns:c}=s.current;var d,p;if(a)return null!==(d=null===(p=i.snapshotData)||void 0===p||null===(p=p.content)||void 0===p?void 0:p.qPivotDataPages)&&void 0!==d?d:[];if(void 0!==e&&"getHyperCubePivotData"in e&&(((e,t,n,r)=>!!e&&(t.gridColumnStartIndex+t.gridWidth>=r||t.gridRowStartIndex+t.gridHeight>=n))(l,n,u,c)||((e,t,n,r)=>{var o,i;const{qHyperCube:{qPivotDataPages:a,qSize:l}}=e,{qTop:s,qWidth:u,qHeight:c}=null!==(o=null===(i=a[0])||void 0===i?void 0:i.qArea)&&void 0!==o?o:{qTop:0,qWidth:0,qHeight:0};return s<t.page*t.rowsPerPage||u<Math.min(r,l.qcx)||c<Math.min(n,l.qcy)})(i,r,u,c))){const t=((e,t,n,r,o,i)=>{const a=r.page*r.rowsPerPage,l=Math.min(a+r.rowsPerPage,n.qcy),s=Math.min(Ar,n.qcx);if(n.qcy<a)return null;let u=0,c=a;if(e){u=t.gridColumnStartIndex,c=a+t.gridRowStartIndex;const e=c+t.gridHeight,n=t.gridColumnStartIndex+t.gridWidth;e>l&&(c=Math.max(0,l-o)),n>s&&(u=Math.max(0,s-i))}return{qLeft:u,qTop:c,qWidth:Math.min(s-u,i),qHeight:Math.min(l-c,o)}})(l,n,i.qHyperCube.qSize,r,u,c);return t?e.getHyperCubePivotData(XE,jw(t)):[]}return null!==(t=o.qPivotDataPages)&&void 0!==t?t:[]}),[i,a,e,n,r.page,r.rowsPerPage,s,l])},PD=({rowsPerPage:e,totalRowCount:t,page:n})=>Math.min(e,t-n*e),_D=(e,t,n=15e3)=>({rowsPerPage:n,totalPages:Math.max(1,Math.ceil(e/n)),totalRowCount:e,rowsOnCurrentPage:PD({rowsPerPage:n,totalRowCount:e,page:t})}),OD=15,TD=({layoutService:e,viewService:t,rect:n,model:r,pageInfo:o})=>{var i;return l((async e=>{if(!e.snapshotData||!r||e.snapshotData.content)return e;if(null!=r&&r.getHyperCubePivotData){const{scrollTop:i,scrollLeft:a,leftGridScrollLeft:l}=t,s=((e,t,n)=>{const{gridColumnStartIndex:r,gridRowStartIndex:o,gridWidth:i,gridHeight:a}=e,l=t.page*t.rowsPerPage,s=Math.max(r-OD,0),u=Math.max(l+o-OD,l,0);if((e=>0===e.gridWidth&&0===e.gridHeight)(e)){const{maxNumberOfVisibleColumns:e,maxNumberOfVisibleRows:t}=zw(n);return{qLeft:s,qTop:u,qWidth:e+30,qHeight:t+30}}return{qLeft:s,qTop:u,qWidth:i+30,qHeight:a+30}})(t,o,n),u=jw(s),c={qLeft:0,qTop:o.page*o.rowsPerPage,qWidth:1,qHeight:1};e.snapshotData.content={qPivotDataPages:await r.getHyperCubePivotData(XE,[c,...u]),scrollTop:i,scrollLeft:a,leftGridScrollLeft:l,page:o.page,rowsPerPage:o.rowsPerPage},e.snapshotData.object.size.w=n.width,e.snapshotData.object.size.h=n.height}return e})),s((()=>({getViewState:()=>((e,t)=>({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,leftGridScrollLeft:e.leftGridScrollLeft,renderPage:t.page}))(t,o)})),[t]),null!==(i=e.layout.snapshotData)&&void 0!==i&&i.content?{left:n.left,top:n.top,width:e.layout.snapshotData.object.size.w,height:e.layout.snapshotData.object.size.h}:n};var kD={SNPivotTable_IndentMode_Rows:{id:"SNPivotTable.IndentMode.Rows",locale:{"de-DE":"Zeilen","en-US":"Rows","es-ES":"Filas","fr-FR":"Lignes","it-IT":"Righe","ja-JP":"行","ko-KR":"행","nl-NL":"Rijen","pl-PL":"Wiersze","pt-BR":"Linhas","ru-RU":"Строки","sv-SE":"Rader","tr-TR":"Satırlar","zh-CN":"行","zh-TW":"列"}},SNPivotTable_LimitedData:{id:"SNPivotTable.LimitedData",locale:{"de-DE":"* Derzeit wird eine begrenzte Anzahl Spalten angezeigt","en-US":"* Currently showing a limited number of columns","es-ES":"* Actualmente mostrando un número limitado de columnas","fr-FR":"*Affichage actuel d'un nombre limité de colonnes","it-IT":"* Attualmente visualizzato un numero limitato di colonne","ja-JP":"* 現在、限られた列の数を表示","ko-KR":"* 현재 제한된 수의 열만 표시","nl-NL":"* Op dit moment wordt slechts een beperkt aantal kolommen getoond","pl-PL":"* Obecnie wyświetlana jest ograniczona liczba kolumn","pt-BR":"* Atualmente mostrando um número limitado de colunas","ru-RU":"* В настоящее время отображается ограниченное количество столбцов","sv-SE":"* Visar för närvarande ett begränsat antal kolumner","tr-TR":"*Şu anda sınırlı sayıda sütun gösteriliyor","zh-CN":"* 当前显示的列数有限","zh-TW":"* 目前顯示有限欄數"}},SNPivotTable_NoData:{id:"SNPivotTable.NoData",locale:{"de-DE":"Das Diagramm wird nicht angezeigt, weil es keine Werte enthält.","en-US":"The chart is not displayed because it contains no values.","es-ES":"El gráfico no se muestra porque no contiene valores.","fr-FR":"Le graphique n'est pas affiché, car il ne contient aucune valeur.","it-IT":"Il grafico non è visualizzato poiché non contiene alcun valore.","ja-JP":"チャートには値が含まれていないため、チャートは表示されません。","ko-KR":"차트에 값이 없으므로 차트가 표시되지 않습니다.","nl-NL":"Het diagram wordt niet weergegeven omdat deze geen waarden bevat.","pl-PL":"Wykres nie jest wyświetlany, ponieważ nie zawiera wartości.","pt-BR":"O gráfico não foi exibido porque não contém valores.","ru-RU":"Диаграмма не отображается, так как не содержит значений.","sv-SE":"Diagrammet visas inte eftersom det inte innehåller några värden.","tr-TR":"Değer içermemesi nedeniyle grafik görüntülenmiyor.","zh-CN":"图表未显示,因为它不包含任何值。","zh-TW":"系統不會顯示圖表,因為這沒有包含任何值。"}}};const qD=()=>{const e=u(),t=e.language();return r((()=>function(e){if(e.get&&e.add){const t="SNPivotTable_LimitedData";if(e.get(t)!==t)return;Object.keys(kD).forEach((t=>{e.add(kD[t])}))}}(e)),[e]),{translator:e,language:t}},ND=n=>{const{flags:i}=n,l=c(),s=(e=>{const n=r((()=>Wb(e)),[e]);return t((()=>()=>n.unmount()),[n]),n})(l),u=d(),y=p(),x=f(),S=h(),E=m(),C=g(),w=(e=>{const{viewState:t}=a(),n=AD(new Set),i=void 0!==t&&e.flags.isEnabled("CLIENT_IM4976_PIVOT_DOWNLOAD"),{promise:l,resolve:s}=r((()=>ZR()),[]),u=RD((e=>{n.current.add(e)}),[n]),c=RD(nt((async()=>{await Promise.all(n.current),s()}),1e3),[s,n]);return o((async()=>{i&&await l}),[l,i]),r((()=>({viewState:t,isDownloadedAsPDForImage:i,notifyIsDoneRendering:c,waitForPromise:u})),[c,i,t,u])})(n),[R,L]=((e,t)=>jb((async()=>{if(void 0!==e&&!t.snapshotData&&"getEffectiveProperties"in e)return e.getEffectiveProperties()}),[e,t]))(y,u),A=MD(u,i,R),I=b(),M=zb(u,l),{translator:D,language:P}=qD(),{pageInfo:_,updatePageInfo:O}=((n,r)=>{const{size:o,layout:{qHyperCube:{qSize:i}}}=n,a=r.isDownloadedAsPDForImage||n.isSnapshot,l=(e=>{var t;return null===(t=e.layout.snapshotData)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.rowsPerPage})(n),[s,u]=e((()=>{const e=((e,t)=>{var n,r,o,i;return t.isDownloadedAsPDForImage?null!==(n=null===(r=t.viewState)||void 0===r?void 0:r.renderPage)&&void 0!==n?n:0:e.isSnapshot&&null!==(o=null===(i=e.layout.snapshotData)||void 0===i||null===(i=i.content)||void 0===i?void 0:i.page)&&void 0!==o?o:0})(n,r);return{page:e,shouldShowPagination:i.qcy>o.y&&!a,..._D(i.qcy,e,l)}}));return t((()=>{u((e=>({...e,..._D(n.layout.qHyperCube.qSize.qcy,e.page,l),shouldShowPagination:n.layout.qHyperCube.qSize.qcy>n.size.y&&!a})))}),[n.layout.qHyperCube.qSize.qcy,n.size.y,u,a,l]),t((()=>{const{page:e,totalPages:t}=s;if(e+1>t){const e=t-1,n=PD({...s,page:e});u({...s,page:e,rowsOnCurrentPage:n})}}),[s]),{pageInfo:s,updatePageInfo:e=>u({...s,...e,rowsOnCurrentPage:PD({...s,...e})})}})(A,w),T=((e,t,n)=>r((()=>((e,t)=>{var n,r,o,i,a,l;if(e.isDownloadedAsPDForImage){var s,u,c;const{viewState:t}=e;return{gridColumnStartIndex:0,gridRowStartIndex:0,gridWidth:0,gridHeight:0,scrollTop:null!==(s=null==t?void 0:t.scrollTop)&&void 0!==s?s:0,scrollLeft:null!==(u=null==t?void 0:t.scrollLeft)&&void 0!==u?u:0,leftGridScrollLeft:null!==(c=null==t?void 0:t.leftGridScrollLeft)&&void 0!==c?c:0}}return{gridColumnStartIndex:0,gridRowStartIndex:0,gridWidth:0,gridHeight:0,scrollTop:null!==(n=null==t||null===(r=t.content)||void 0===r?void 0:r.scrollTop)&&void 0!==n?n:0,scrollLeft:null!==(o=null==t||null===(i=t.content)||void 0===i?void 0:i.scrollLeft)&&void 0!==o?o:0,leftGridScrollLeft:null!==(a=null==t||null===(l=t.content)||void 0===l?void 0:l.leftGridScrollLeft)&&void 0!==a?a:0}})(n,t.snapshotData)),[n,e.page,t.snapshotData]))(_,u,w),k=TD({rect:v(),layoutService:A,viewService:T,model:y,pageInfo:_}),[q,N]=DD({model:y,layoutService:A,viewService:T,pageInfo:_,rect:k}),F=r((()=>((e,t,n)=>{var r,o,i,a,l,s,u,c,d,p,f,h,m,g,b,v,y,x,S,E,C,w,R,L,A,I,M,D,P,_,O,T,k,q,N,F,z,j,$,G,B,H,W,V,Y,U,K;const X=null===(r=t.layout.components)||void 0===r?void 0:r.find((e=>"theme"===e.key)),J=null==X?void 0:X.header,Z=null==X?void 0:X.dimensionValues,Q=null==X?void 0:X.measureValues,ee=null==X?void 0:X.measureLabels,te=null==X?void 0:X.totalValues,ne=null==X?void 0:X.nullValues,re=null==X?void 0:X.grid,oe=(t,n,r)=>e.getStyle(t,n,r),ie=+(null!==(o=null!==(i=null==re?void 0:re[mD.LineClamp])&&void 0!==i?i:oe(gD.Grid,bD.Grid,vD.LineClamp))&&void 0!==o?o:1),ae=n.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")?+(null!==(a=null!==(l=null==re?void 0:re[mD.ColumnLineClamp])&&void 0!==l?l:oe(gD.Grid,bD.Grid,vD.ColumnLineClamp))&&void 0!==a?a:1):1,le=null!==(s=null!==(u=xD(e,null==J?void 0:J[mD.Background]))&&void 0!==u?u:oe(gD.Dimension,bD.LabelName,vD.BackgroundColor))&&void 0!==s?s:Dr.Transparent,se={header:{fontSize:null!==(c=null!==(d=yD(null==J?void 0:J[mD.FontSize]))&&void 0!==d?d:oe(gD.Dimension,bD.LabelName,vD.FontSize))&&void 0!==c?c:wr,fontFamily:null!==(p=null!==(f=null==J?void 0:J[mD.FontFamily])&&void 0!==f?f:oe(gD.Dimension,bD.LabelName,vD.FontFamily))&&void 0!==p?p:Rr,fontWeight:ED(null==J?void 0:J[mD.FontStyle],Lr),fontStyle:CD(null==J?void 0:J[mD.FontStyle]),textDecoration:wD(null==J?void 0:J[mD.FontStyle]),color:null!==(h=null!==(m=xD(e,null==J?void 0:J[mD.FontColor]))&&void 0!==m?m:oe(gD.Dimension,bD.LabelName,vD.Color))&&void 0!==h?h:Mg.TEXT,background:le,hoverBackground:Mb(le,jt),activeBackground:Mb(le,$t)},dimensionValues:{fontSize:null!==(g=null!==(b=yD(null==Z?void 0:Z[mD.FontSize]))&&void 0!==b?b:oe(gD.Dimension,bD.LabelValue,vD.FontSize))&&void 0!==g?g:wr,fontFamily:null!==(v=null!==(y=null==Z?void 0:Z[mD.FontFamily])&&void 0!==y?y:oe(gD.Dimension,bD.LabelValue,vD.FontFamily))&&void 0!==v?v:Rr,fontWeight:ED(null==Z?void 0:Z[mD.FontStyle],void 0),fontStyle:CD(null==Z?void 0:Z[mD.FontStyle]),textDecoration:wD(null==Z?void 0:Z[mD.FontStyle]),color:null!==(x=null!==(S=xD(e,null==Z?void 0:Z[mD.FontColor]))&&void 0!==S?S:oe(gD.Dimension,bD.LabelValue,vD.Color))&&void 0!==x?x:Mg.TEXT,background:null!==(E=null!==(C=xD(e,null==Z?void 0:Z[mD.Background]))&&void 0!==C?C:oe(gD.Dimension,bD.LabelValue,vD.BackgroundColor))&&void 0!==E?E:Dr.Transparent},measureValues:{fontSize:null!==(w=null!==(R=yD(null==Q?void 0:Q[mD.FontSize]))&&void 0!==R?R:oe(gD.Measure,bD.LabelValue,vD.FontSize))&&void 0!==w?w:wr,fontFamily:null!==(L=null!==(A=null==Q?void 0:Q[mD.FontFamily])&&void 0!==A?A:oe(gD.Measure,bD.LabelValue,vD.FontFamily))&&void 0!==L?L:Rr,fontWeight:ED(null==Q?void 0:Q[mD.FontStyle],"normal"),fontStyle:CD(null==Q?void 0:Q[mD.FontStyle]),textDecoration:wD(null==Q?void 0:Q[mD.FontStyle]),color:null!==(I=null!==(M=xD(e,null==Q?void 0:Q[mD.FontColor]))&&void 0!==M?M:oe(gD.Measure,bD.LabelValue,vD.Color))&&void 0!==I?I:Dr.FontSecondary,background:null!==(D=null!==(P=xD(e,null==Q?void 0:Q[mD.Background]))&&void 0!==P?P:oe(gD.Measure,bD.LabelValue,vD.BackgroundColor))&&void 0!==D?D:Dr.Transparent},measureLabels:{fontWeight:ED(null==ee?void 0:ee[mD.FontStyle],"normal"),fontStyle:CD(null==ee?void 0:ee[mD.FontStyle]),textDecoration:wD(null==ee?void 0:ee[mD.FontStyle]),color:null!==(_=null!==(O=xD(e,null==ee?void 0:ee[mD.FontColor]))&&void 0!==O?O:oe(gD.Measure,bD.LabelName,vD.Color))&&void 0!==_?_:Dr.FontSecondary,background:null!==(T=null!==(k=xD(e,null==ee?void 0:ee[mD.Background]))&&void 0!==k?k:oe(gD.Measure,bD.LabelName,vD.BackgroundColor))&&void 0!==T?T:Dr.Transparent},totalValues:{fontWeight:ED(null==te?void 0:te[mD.FontStyle],Lr),fontStyle:CD(null==te?void 0:te[mD.FontStyle]),textDecoration:wD(null==te?void 0:te[mD.FontStyle]),color:null!==(q=null!==(N=xD(e,null==te?void 0:te[mD.FontColor]))&&void 0!==N?N:oe(gD.Total,bD.LabelValue,vD.Color))&&void 0!==q?q:Mg.TEXT,background:null!==(F=null!==(z=xD(e,null==te?void 0:te[mD.Background]))&&void 0!==z?z:oe(gD.Total,bD.LabelValue,vD.BackgroundColor))&&void 0!==F?F:Dr.Transparent},nullValues:{fontWeight:ED(null==ne?void 0:ne[mD.FontStyle],"normal"),fontStyle:CD(null==ne?void 0:ne[mD.FontStyle]),textDecoration:wD(null==ne?void 0:ne[mD.FontStyle]),color:null!==(j=null!==($=xD(e,null==ne?void 0:ne[mD.FontColor]))&&void 0!==$?$:oe(gD.Null,bD.LabelValue,vD.Color))&&void 0!==j?j:Mg.TEXT,background:null!==(G=null!==(B=xD(e,null==ne?void 0:ne[mD.Background]))&&void 0!==B?B:oe(gD.Null,bD.LabelValue,vD.BackgroundColor))&&void 0!==G?G:Dr.NullValueBackground},grid:{columnLineClamp:ae,lineClamp:ie,border:null!==(H=null!==(W=xD(e,null==re?void 0:re[mD.Border]))&&void 0!==W?W:oe(gD.Grid,bD.Grid,vD.BorderColor))&&void 0!==H?H:Dr.DividerLight,divider:null!==(V=null!==(Y=xD(e,null==re?void 0:re[mD.Divider]))&&void 0!==Y?Y:oe(gD.Grid,bD.Divider,vD.BorderColor))&&void 0!==V?V:Dr.DividerDark,background:null!==(U=null!==(K=xD(e,null==re?void 0:re[mD.Background]))&&void 0!==K?K:oe(gD.Grid,bD.Grid,vD.BackgroundColor))&&void 0!==U?U:Dr.Transparent}};return se.headerCellHeight=Math.max(SD(se.header.fontSize,ae),SD(se.dimensionValues.fontSize,ae),32),se.contentCellHeight=Math.max(SD(se.measureValues.fontSize,ie),SD(se.dimensionValues.fontSize,ie),24),se.dimensionValueTextHeight=SD(se.dimensionValues.fontSize,1),se})(M,A,i)),[M,A,i]),z=(e=>r((()=>[...new Set([ID(e.header),ID(e.dimensionValues),ID({...e.dimensionValues,...e.measureLabels}),ID({...e.dimensionValues,...e.nullValues}),ID({...e.dimensionValues,...e.totalValues}),ID(e.measureValues),ID({...e.measureValues,...e.nullValues}),ID({...e.measureValues,...e.totalValues})])]),[e]))(F),j=(e=>{const[t,n]=o((()=>Promise.all(e.map((e=>document.fonts.load(e))))),[e]);return n?(console.warn("Failed to load font:",n),!0):!!t})(z);i.isEnabled("CLIENT_IM6278_PIVOT_COPYCELL")&&Zb(),t((()=>{!N&&y&&(null==k?void 0:k.width)&&(null==k?void 0:k.height)&&I&&T&&A&&F&&!!q&&!L&&j&&hD(s,{model:y,app:x,rect:k,selections:I,viewService:T,layoutService:A,downloadService:w,qPivotDataPages:q,styleService:F,translator:D,pageInfo:_,updatePageInfo:O,interactions:C,embed:S,keyboard:E,theme:M,env:n})}),[y,x,k,null==k?void 0:k.width,null==k?void 0:k.height,C,I,T,A,w,N,q,F,s,j,D,P,_,O,R,L,S,E,M,n])},FD={version:"3.9.2",qHyperCubeDef:{qAlwaysFullyExpanded:!1,qDimensions:[],qMeasures:[],qMode:"P",qSuppressMissing:!0,qSuppressZero:!1,qShowTotalsAbove:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:50,qHeight:50}],qIndentMode:!1},showTitles:!0,title:"",subtitle:"",footnote:"",nullValueRepresentation:{text:"-"},components:[]};function zD(e){return{qae:{properties:{initial:{...FD,qHyperCubeDef:{...FD.qHyperCubeDef,qIndentMode:!1}}},data:ct(e)},ext:Kr(e),component(){ND(e)}}}export{zD as default};