@sisense/sdk-ui 1.30.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/ai.cjs +22 -421
  2. package/dist/ai.js +1825 -1769
  3. package/dist/analytics-composer.cjs +58 -58
  4. package/dist/analytics-composer.js +312 -290
  5. package/dist/derive-chart-family-7Fxxf6Sy.cjs +758 -0
  6. package/dist/derive-chart-family-CVwj-7u5.js +100883 -0
  7. package/dist/index.cjs +27 -833
  8. package/dist/index.js +11550 -9945
  9. package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +1 -3
  10. package/dist/packages/sdk-ui/src/ai/api/types.d.ts +6 -0
  11. package/dist/packages/sdk-ui/src/ai/chatbot.d.ts +2 -2
  12. package/dist/packages/sdk-ui/src/ai/custom-ai-context-provider.d.ts +13 -0
  13. package/dist/packages/sdk-ui/src/ai/index.d.ts +7 -4
  14. package/dist/packages/sdk-ui/src/ai/use-get-nlg-insights.d.ts +2 -0
  15. package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +12 -5
  16. package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +9 -5
  17. package/dist/packages/sdk-ui/src/analytics-composer/common/constants.d.ts +1 -0
  18. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +13 -6
  19. package/dist/packages/sdk-ui/src/api/rest-api.d.ts +11 -1
  20. package/dist/packages/sdk-ui/src/app/client-application.d.ts +15 -0
  21. package/dist/packages/sdk-ui/src/chart/helpers/get-load-data-function.d.ts +16 -0
  22. package/dist/packages/sdk-ui/src/chart/helpers/use-chart-data-preparation.d.ts +17 -0
  23. package/dist/packages/sdk-ui/src/chart/helpers/use-synced-data.d.ts +3 -1
  24. package/dist/packages/sdk-ui/src/chart/index.d.ts +1 -0
  25. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/areamap-chart-builder.d.ts +2 -0
  26. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data/areamap-data.d.ts +4 -0
  27. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data/geo-data-coloring-function.d.ts +2 -0
  28. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data/index.d.ts +2 -0
  29. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data-options/data-options.d.ts +2 -0
  30. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data-options/index.d.ts +1 -0
  31. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/design-options/design-options.d.ts +2 -0
  32. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/design-options/index.d.ts +1 -0
  33. package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/areamap-map.d.ts +2 -2
  34. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/renderer/areamap-utils.d.ts +12 -0
  35. package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/areamap.d.ts +5 -5
  36. package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/feature-styles-dictionary.d.ts +2 -2
  37. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/renderer/index.d.ts +1 -0
  38. package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/use-geo-json.d.ts +1 -1
  39. package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/types.d.ts +35 -0
  40. package/dist/packages/sdk-ui/src/chart/restructured-charts/bar-chart/bar-chart-builder.d.ts +2 -0
  41. package/dist/packages/sdk-ui/src/chart/restructured-charts/chart-builder-factory.d.ts +3 -0
  42. package/dist/packages/sdk-ui/src/chart/restructured-charts/column-chart/column-chart-builder.d.ts +2 -0
  43. package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/data-options.d.ts +27 -0
  44. package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/data.d.ts +4 -0
  45. package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/stackable/design-options.d.ts +5 -0
  46. package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/data-loading.d.ts +12 -0
  47. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +100 -0
  48. package/dist/packages/sdk-ui/src/chart/restructured-charts/utils.d.ts +3 -0
  49. package/dist/packages/sdk-ui/src/chart-data/chart-data-service.d.ts +1 -13
  50. package/dist/packages/sdk-ui/src/chart-data/types.d.ts +3 -29
  51. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/prepare-design-options.d.ts +6 -3
  52. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +9 -8
  53. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +1 -7
  54. package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +2 -3
  55. package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +2 -1
  56. package/dist/packages/sdk-ui/src/common/components/popper.d.ts +9 -0
  57. package/dist/packages/sdk-ui/src/common/hooks/fusion-endpoints/use-get-data-source-fields.d.ts +14 -0
  58. package/dist/packages/sdk-ui/src/common/hooks/use-was-modified.d.ts +5 -0
  59. package/dist/packages/sdk-ui/src/const.d.ts +1 -0
  60. package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +18 -0
  61. package/dist/packages/sdk-ui/src/dashboard/hooks/use-widgets-layout.d.ts +14 -0
  62. package/dist/packages/sdk-ui/src/dashboard/types.d.ts +7 -2
  63. package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +7 -2
  64. package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-operations.d.ts +19 -19
  65. package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -1
  66. package/dist/packages/sdk-ui/src/filters/components/date-filter/date-filter/calendar-date-selector.d.ts +8 -7
  67. package/dist/packages/sdk-ui/src/filters/components/date-filter/date-filter/date-range-calculator.d.ts +1 -1
  68. package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +3 -0
  69. package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +1 -1
  70. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/input.d.ts +11 -3
  71. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/scroll-wrapper.d.ts +13 -0
  72. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/search-input.d.ts +4 -0
  73. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/base.d.ts +5 -1
  74. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/calendar-select.d.ts +27 -0
  75. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/index.d.ts +2 -0
  76. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/types.d.ts +14 -0
  77. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/utils.d.ts +5 -0
  78. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/members-list-select.d.ts +11 -0
  79. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-multi-select.d.ts +5 -0
  80. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-single-select.d.ts +21 -1
  81. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/single-select.d.ts +3 -2
  82. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/types.d.ts +2 -0
  83. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/small-loader.d.ts +1 -0
  84. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/constants.d.ts +2 -0
  85. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-container.d.ts +5 -0
  86. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-datetime.d.ts +8 -0
  87. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-numerical.d.ts +8 -0
  88. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-textual.d.ts +8 -0
  89. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/hooks/use-datetime-formatter.d.ts +2 -0
  90. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/hooks/use-get-attribute-stats.d.ts +28 -0
  91. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/common/granularities.d.ts +8 -0
  92. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/condition-forms/datetime-exclude-condition-form.d.ts +11 -0
  93. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/condition-forms/datetime-is-within-condition-form.d.ts +10 -0
  94. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/datetime-condition-section.d.ts +12 -0
  95. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/index.d.ts +1 -0
  96. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-members-section.d.ts +12 -0
  97. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-range-section.d.ts +11 -0
  98. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-relative-section.d.ts +9 -0
  99. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/members-section.d.ts +0 -1
  100. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/index.d.ts +1 -0
  101. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/numeric-condition-section.d.ts +10 -0
  102. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/types.d.ts +16 -0
  103. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/utils.d.ts +7 -0
  104. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-range-section.d.ts +11 -0
  105. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/text-condition-section.d.ts +4 -2
  106. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/types.d.ts +4 -0
  107. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/utils.d.ts +4 -0
  108. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/utils.d.ts +13 -1
  109. package/dist/packages/sdk-ui/src/filters/components/icons/date-icon.d.ts +1 -1
  110. package/dist/packages/sdk-ui/src/filters/components/icons/equal-icon.d.ts +2 -0
  111. package/dist/packages/sdk-ui/src/filters/components/icons/greater-than-icon.d.ts +2 -0
  112. package/dist/packages/sdk-ui/src/filters/components/icons/greater-than-or-equal-icon.d.ts +2 -0
  113. package/dist/packages/sdk-ui/src/filters/components/icons/index.d.ts +6 -0
  114. package/dist/packages/sdk-ui/src/filters/components/icons/not-equal-icon.d.ts +2 -0
  115. package/dist/packages/sdk-ui/src/filters/components/icons/smaller-than-icon.d.ts +2 -0
  116. package/dist/packages/sdk-ui/src/filters/components/icons/smaller-than-or-equal-icon.d.ts +2 -0
  117. package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-filter-tile.d.ts +1 -1
  118. package/dist/packages/sdk-ui/src/filters/hooks/use-get-filter-members.d.ts +23 -2
  119. package/dist/packages/sdk-ui/src/index-typedoc.d.ts +28 -0
  120. package/dist/packages/sdk-ui/src/index.d.ts +1 -0
  121. package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +7 -1
  122. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +2 -1
  123. package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +9 -1
  124. package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +1 -1
  125. package/dist/packages/sdk-ui/src/plugins-provider/custom-plugins-provider.d.ts +8 -8
  126. package/dist/packages/sdk-ui/src/plugins-provider/plugins-context.d.ts +6 -6
  127. package/dist/packages/sdk-ui/src/plugins-provider/plugins-provider.d.ts +3 -3
  128. package/dist/packages/sdk-ui/src/plugins-provider/types.d.ts +2 -1
  129. package/dist/packages/sdk-ui/src/props.d.ts +35 -15
  130. package/dist/packages/sdk-ui/src/query-execution/types.d.ts +10 -1
  131. package/dist/packages/sdk-ui/src/sisense-chart/sisense-chart.d.ts +1 -16
  132. package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +16 -1
  133. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +51 -0
  134. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +102 -0
  135. package/dist/packages/sdk-ui/src/types.d.ts +52 -1
  136. package/dist/packages/sdk-ui/src/utils/generate-attribute-name.d.ts +2 -0
  137. package/dist/packages/sdk-ui/src/utils/is-numeric-string.d.ts +10 -0
  138. package/dist/packages/sdk-ui/src/utils/utility-types.d.ts +34 -0
  139. package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +1 -0
  140. package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options.d.ts +16 -5
  141. package/dist/packages/sdk-ui/src/widgets/tabber-widget.d.ts +35 -0
  142. package/dist/use-common-filters-BanIIIUW.js +28409 -0
  143. package/dist/use-common-filters-BeKQ1bKU.cjs +271 -0
  144. package/dist/{widget-composer-Ch2kYMok.js → widget-composer-4bEKHitq.js} +275 -259
  145. package/dist/widget-composer-NDI4zssI.cjs +316 -0
  146. package/package.json +11 -9
  147. package/dist/derive-chart-family-B2J2kMs6.js +0 -44404
  148. package/dist/derive-chart-family-Bmg9hQGc.cjs +0 -271
  149. package/dist/packages/sdk-ui/src/ai/use-get-data-source-fields.d.ts +0 -12
  150. package/dist/packages/sdk-ui/src/chart-data/areamap-data.d.ts +0 -4
  151. package/dist/packages/sdk-ui/src/chart-data/data-coloring/geo-data-coloring-function.d.ts +0 -2
  152. package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-areamap-options.d.ts +0 -3
  153. package/dist/packages/sdk-ui/src/charts/map-charts/areamap/areamap-utils.d.ts +0 -11
  154. package/dist/useQuery-1ixYW8qO.js +0 -83434
  155. package/dist/useQuery-Ctzmd-JM.cjs +0 -916
  156. package/dist/widget-composer-CdxKUwZf.cjs +0 -308
  157. /package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/alternative-country-names-dictionary.d.ts +0 -0
@@ -0,0 +1,271 @@
1
+ "use strict";var om=Object.defineProperty,im=Object.defineProperties;var am=Object.getOwnPropertyDescriptors;var xo=Object.getOwnPropertySymbols;var kl=Object.prototype.hasOwnProperty,Al=Object.prototype.propertyIsEnumerable;var Qe=Math.pow,Dl=(e,t,r)=>t in e?om(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))kl.call(t,r)&&Dl(e,r,t[r]);if(xo)for(var r of xo(t))Al.call(t,r)&&Dl(e,r,t[r]);return e},J=(e,t)=>im(e,am(t));var fn=(e,t)=>{var r={};for(var n in e)kl.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&xo)for(var n of xo(e))t.indexOf(n)<0&&Al.call(e,n)&&(r[n]=e[n]);return r};var tt=(e,t,r)=>new Promise((n,o)=>{var i=l=>{try{s(r.next(l))}catch(c){o(c)}},a=l=>{try{s(r.throw(l))}catch(c){o(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);s((r=r.apply(e,t)).next())});const u=require("./derive-chart-family-7Fxxf6Sy.cjs"),F=require("react"),te=require("react/jsx-runtime"),Pr=require("react-dom");function md(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const z=md(F),sm=md(Pr);function lm(e){let{i18n:t,defaultNS:r,children:n}=e;const o=F.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return F.createElement(u.I18nContext.Provider,{value:o},n)}function zt(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const ze={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function ds(e){return[u.customFormula(ze.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),u.customFormula(ze.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),u.customFormula(ze.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function um(e){return[...ds(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),u.customFormula(ze.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function cm(e){return[...ds(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function dm(e){return[...ds(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),u.customFormula(ze.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const fm=e=>{const t=u.cloneDeep(e),r=u.customFormula(ze.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=u.customFormula(ze.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:e});return t.name=`${t.name} (Outliers)`,t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t},pm=e=>{const t=u.cloneDeep(e),r=u.customFormula(ze.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=u.customFormula(ze.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:e});return t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t};function kn(e){return!!e&&"operator"in e&&(e.operator==="AND"||e.operator==="OR")&&!!e.right&&!!e.left}function gd(e=[],t=[]){if(!kn(e)&&!kn(t))return lt(e,t);const{filters:r,relations:n}=An(e),o=fs(t),i=lt(r,o),a=Rn(r,n,i);return Sn(i,a)}function An(e){if(!e)return{filters:[],relations:null};if(u.isArray(e))return{filters:e,relations:null};const t=new Set;function r(o){if(vd(o))return t.add(o),{instanceid:o.config.guid};if(kn(o)){const i=r(o.left),a=r(o.right);return{left:i,right:a,operator:o.operator}}throw new ai}const n=r(e);return{filters:Array.from(t),relations:n}}function fs(e){return e?An(e).filters:[]}function Sn(e,t){if(!t||ps(t))return e;const r=n(t);return vd(r)?[r]:r;function n(o){if(oi(o))return e.find(i=>i.config.guid===o.instanceid);if(ii(o))return{left:n(o.left),right:n(o.right),operator:o.operator};throw new ai}}function ps(e){return!!e&&"instanceid"in e}function Rn(e,t,r){if(t===null)return null;const n=mm(e,r);return n.length===0?t:n.reduce((o,i)=>{switch(i.type){case"add":return gm(i.payload,o);case"remove":return Ta(i.payload,o)}},t)}function Il(e,t){return e.config.guid===t.config.guid}function hm(e,t,r){if(!e)return null;return o(e);function o(i){if(oi(i))return i.instanceid===t.config.guid?{instanceid:r.config.guid}:i;if(ii(i))return{left:o(i.left),right:o(i.right),operator:i.operator};throw new ai}}function mm(e,t){const r=[],n=[...e],o=[...t];return n.forEach(i=>{o.some(s=>Il(i,s))||r.push({type:"remove",payload:i})}),o.forEach(i=>{n.some(s=>Il(i,s))||r.push({type:"add",payload:i})}),r}function gm(e,t){return t?{left:t,right:{instanceid:e.config.guid},operator:"AND"}:{instanceid:e.config.guid}}function Ta(e,t){if(!t)return null;if(ps(t))return t.instanceid===e.config.guid?null:t;const r=Ta(e,t.left),n=Ta(e,t.right);return r===null&&n?n:n===null&&r?r:r===null&&n===null?null:{left:r,right:n,operator:t.operator}}function vm(e,t){if(!e)return null;function r(n){if(ym(n))return{instanceid:n.instanceId};if(bm(n))return r(n.value);if(_m(n))return{operator:n.operator,left:r(n.left),right:r(n.right)};if(xm(n)){const o=t.find(i=>{if(!u.isCascadingFilter(i))return!1;const a=i.filters.map(s=>s.config.guid);return n.levels.every(s=>a.includes(s.instanceId))});if(o)return{instanceid:o.config.guid};throw new Error("Broken filter relations model. Cascading filter not found.")}throw new Error("Broken filter relations model. Unknown node type.")}return r(e)}function ym(e){return"instanceId"in e}function bm(e){return"value"in e}function _m(e){return"operator"in e}function xm(e){return"levels"in e&&u.isArray(e.levels)}function oi(e){return"instanceid"in e}function ii(e){return"operator"in e}function vd(e){return"config"in e&&"guid"in e.config}function wm(e,t){if(!e)return;function r(n){if(oi(n)){const o=t.find(i=>i.config.guid===n.instanceid);return o&&u.isCascadingFilter(o)?{type:"CascadingIdentifier",levels:o.filters.map(a=>({type:"Identifier",instanceId:a.config.guid}))}:{type:"Identifier",instanceId:n.instanceid}}else{if(ii(n))return{type:"LogicalExpression",operator:n.operator,left:r(n.left),right:r(n.right)};throw new Error("Unknown node type in filter relations rules.")}}return r(e)}function Cm(e,t){return e.find(r=>r.config.guid===t)}class ai extends Error{constructor(){super("Broken filter relations. Unknown node type.")}}function Tm(e){return e.nodeType==="openBracket"}function Em(e){return e.nodeType==="closeBracket"}function Sm(e){return e.nodeType==="attribute"}function Rm(e){return e.nodeType==="operator"}function In(e){if(u.isCascadingFilter(e))return e.filters.map(In).join("-");const{attribute:t}=e,r=e.jaql().jaql,n=t.expression||r.dim,o=t.granularity||((r==null?void 0:r.datatype)==="datetime"?u.DimensionalLevelAttribute.translateJaqlToGranularity(r):"");return`${n}${o}`}function lt(e=[],t=[]){const r=[...e];return t.forEach(n=>{const o=r.findIndex(a=>In(n)===In(a));o!==-1?r[o]=n:r.push(n)}),r}function Om(e){if(!e)return e;const t=u.cloneDeep(e);function r(n){if("instanceId"in n)return{instanceid:n.instanceId};if("value"in n)return r(n.value);if("operator"in n){const o={operator:n.operator};return"left"in n&&(o.left=r(n.left)),"right"in n&&(o.right=r(n.right)),o}return n}return r(t)}function Mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return Ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ea(e,t)}function Pm(e,t){if(u._typeof(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(u._typeof(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dm(e){var t=Pm(e,"string");return u._typeof(t)=="symbol"?t:t+""}function km(e,t,r){return t=Dm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const xn={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function yd(e,t,r){const n={chart:{textColor:e.dashboards.widgetTextColor,backgroundColor:e.dashboards.widgetBackgroundColor,secondaryTextColor:e.dashboards.widgetSecondaryTextColor,panelBackgroundColor:e.dashboards.widgetBackgroundColor,animation:{init:{duration:"auto"},redraw:{duration:"auto"}}},typography:{fontFamily:e.typography.fontFamily,primaryTextColor:e.typography.primaryTextColor,secondaryTextColor:e.typography.secondaryTextColor,fontsLoader:{fonts:Am(e.typography.fontFamily,r,e.typography.customFontSelected)}},palette:{variantColors:t.colors},general:{brandColor:e.general.brandColor,backgroundColor:e.general.backgroundColor,primaryButtonTextColor:e.general.primaryButtonTextColor,primaryButtonHoverColor:e.general.primaryButtonHoverColor},widget:{spaceAround:xn[e.dashboards.widgetSpacing],cornerRadius:xn[e.dashboards.widgetCornerRadius],shadow:xn[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:xn[e.dashboards.widgetTitleAlignment],dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:u.DEFAULT_DIVIDER_WIDTH,dividerLineColor:u.DEFAULT_DIVIDER_COLOR},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor}}};return u.merge.withOptions({mergeArrays:!1},u.getDefaultThemeSettings(),n)}function bd(e){return e.dashboards.colorPaletteName}function Am(e,t,r){const i=r?"fonts/":"resources/base/fonts/";return[{fontFamily:e,fontWeight:"normal",fontStyle:"normal",src:[{url:`${t}${i}${e}-Regular.eot`},{local:`${e}-Regular`},{url:`${t}${i}${e}-Regular.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-Regular.ttf`,format:"truetype"}]},{fontFamily:e,fontWeight:600,fontStyle:"normal",src:[{url:`${t}${i}${e}-SemiBold.eot`},{local:`${e}-SemiBold`},{url:`${t}${i}${e}-SemiBold.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-SemiBold.ttf`,format:"truetype"}]},{fontFamily:e,fontWeight:"bold",fontStyle:"normal",src:[{url:`${t}${i}${e}-Bold.eot`},{local:`${e}-Bold`},{url:`${t}${i}${e}-Bold.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-Bold.ttf`,format:"truetype"}]}]}function _d(e,t){return tt(this,null,function*(){const r=yield Im(e,t);if(!r)throw new u.TranslatableError("errors.themeNotFound",{themeOid:e});const n=bd(r),o=yield xd(n,t);return yd(r,o,t.url)})}function Im(e,t){return tt(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new u.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function xd(e,t){return tt(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new u.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const Nl="composesdk",wd=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:Nl,eventType:"product",direct:!0},t);return n&&(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="test")?(console.debug("DEBUG: event payload to send",o),Promise.resolve()):r.post("api/activities/",[o],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(i=>{console.error(`unable to log action=${e}, category=${Nl}`,i)})},Nm={sdkComponentInit:{internal:!0,external:!0},sdkHookInit:{internal:!0,external:!0},sdkError:{internal:!0,external:!1},sdkCliExec:{internal:!0,external:!1},sdkAngularServiceMethodExecuted:{internal:!0,external:!0}},$l=(e,t,r,n,o)=>{const i=Nm[`${e}`];return i.internal&&wd(e,t,r,o),i.external&&n&&n(q({action:e},t)),Promise.resolve()},hs=()=>{const{tracking:e,app:t}=u.useSisenseContext(),r=F.useCallback((o,i={},a=!1)=>t?$l(o,i,t.httpClient,e.onTrackingEvent,a):Promise.resolve(),[e,t]),n=F.useCallback((o,i=!1)=>{if(!t)return Promise.resolve();const{packageName:a,packageVersion:s,component:l,error:c}=o;let p="";return typeof c=="string"?p=c:c instanceof Error&&(p=c.message||c.toString()),$l("sdkError",{packageName:a,packageVersion:s,component:l,error:p},t.httpClient,e.onTrackingEvent,i)},[e,t]);return{trackEvent:r,trackError:n}},$m="sdkComponentInit",Cd=F.createContext(!1),Lm=({skipNested:e=!0,children:t})=>u.jsx(Cd.Provider,{value:e,children:t}),Fm=(e,t)=>{const{tracking:r,app:n}=u.useSisenseContext(),{trackEvent:o}=hs(),i=F.useContext(Cd),a=F.useRef(!1);F.useEffect(()=>{if(!r||!n)return;if(!a.current&&!i){const l={packageName:r.packageName,packageVersion:"1.32.0",componentName:e,attributesUsed:Object.entries(t).filter(([,c])=>!!c).map(([c])=>c).join(", ")};o($m,l,!r.enabled).finally(()=>a.current=!0)}},[e,t,r,i,o,n])};var Hm="[object Boolean]";function Td(e){return e===!0||e===!1||u.isObjectLike(e)&&u.baseGetTag(e)==Hm}const Pl=class Pl extends F.Component{constructor(t){super(t),this.postponedErrors=[],this.handler=t.handler,this.componentName=t.componentName}componentDidMount(){var t;this.context.isInitialized&&(this.httpClient=(t=this.context.app)==null?void 0:t.httpClient)}componentDidCatch(t){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(t):this.postponedErrors.push(t)),t}sendErrorTracking(t){try{this.handler({packageName:"sdk-ui",packageVersion:"1.32.0",component:this.componentName,error:t})}catch(r){console.log("Failed to send tracking error event: ",r)}}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(t=>this.sendErrorTracking(t)),this.postponedErrors=[],this.props.children}};Pl.contextType=u.SisenseContext;let Sa=Pl;const Bm=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=hs();return Td(r)&&r||u.isFunction(r)&&r(a)?u.jsx(o,q({},a)):(Fm(e,a),u.jsx(Lm,{skipNested:!n,children:u.jsx(Sa,{componentName:e,handler:s,children:u.jsx(o,q({},a))})}))}},jm="_container_1wquj_1",zm="_card_1wquj_11",Wm="_text_1wquj_19",Qi={container:jm,card:zm,text:Wm};function Ed({color:e="#FFCB05"}){return u.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:u.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:u.jsxs("g",{children:[u.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),u.jsx("path",{d:"M24.5,39.054 L24.5,35.054 L28.5,35.054 L28.5,39.054 L24.5,39.054 Z M28.5,31.0536 L24.5,31.0536 L23.5,13.0536 L29.5,13.0536 L28.5,31.0536 Z",fill:"#FFFFFF"})]})})})}const Sd=({error:e=new u.TranslatableError("errors.componentRenderError")})=>{var d,m,g,v,y,w;const{themeSettings:t}=u.useThemeContext(),{app:r}=u.useSisenseContext(),{t:n}=u.useTranslation(),[o,i]=F.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},l=u.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:u.jsx(Ed,{color:(d=t==null?void 0:t.general)==null?void 0:d.brandColor})}),c=e instanceof u.AbstractTranslatableError?n(e.key,q({},e.interpolationOptions)):n(e instanceof Error?e.message:e),p=n("errorBoxText",{errorMessage:c,interpolation:{escapeValue:!1}}),h=(g=(m=r==null?void 0:r.settings)==null?void 0:m.errorBoundaryConfig)==null?void 0:g.alwaysShowErrorText;return u.jsx("div",{onMouseEnter:h?void 0:a,onMouseLeave:h?void 0:s,className:Qi.container,"aria-label":"error-box",children:u.jsxs("div",{className:Qi.card,style:{backgroundColor:((v=t==null?void 0:t.general)==null?void 0:v.backgroundColor)||"rgba(255,255,255,0.5)"},children:[l,(h||o)&&u.jsx("div",{className:Qi.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||u.DEFAULT_TEXT_COLOR,fontFamily:((w=t==null?void 0:t.typography)==null?void 0:w.fontFamily)||"inherit"},children:p})]})})};let Rd=class extends F.Component{constructor(t){var r;super(t),this.showErrorBox=!0,this.showErrorBox=(r=t.showErrorBox)!=null?r:!0,this.onError=t.onError,this.isContainerComponent=t.isContainerComponent||!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t){var r;this.setState({error:t}),(r=this.onError)==null||r.call(this,t instanceof Error?t:new Error(t))}componentDidUpdate(t,r){r.error!==null&&Vm(t.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const t=this.state.error||this.props.error;return!t||this.isContainerComponent&&!this.showErrorBox?this.props.children:this.showErrorBox?u.jsx(Sd,{error:t}):null}};function Vm(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!u.isEqual(r,t[n]))}const Um=({componentName:e})=>t=>function(n){const o=u.useSisenseContext(),i=a=>{var s,l;return(l=(s=o.errorBoundary).onError)==null?void 0:l.call(s,a,{componentName:e,componentProps:n})};return u.jsx(Rd,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:u.jsx(t,q({},n))})},ms=({color:e})=>{const t={backgroundColor:e||"#333333",float:"left",width:"10px",height:"10px",marginRight:"7px",WebkitAnimation:"loading-dots-animation 1.8s infinite ease-in-out",animation:"loading-dots-animation 1.8s infinite ease-in-out",borderRadius:"50%",opacity:.75},r=J(q({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=J(q({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=J(q({},t),{marginRight:"unset"}),i={"0%, 80%, 100%":{WebkitTransform:"scale(0) rotate(0deg)",transform:"scale(0) rotate(0deg)"},"40%":{WebkitTransform:"scale(1) rotate(0.02deg)",transform:"scale(1) rotate(0.02deg)"}};return u.jsxs("div",{children:[u.jsx("style",{children:`
2
+ @keyframes loading-dots-animation {
3
+ ${Object.entries(i).map(([a,s])=>`${a} { ${Object.entries(s).map(([l,c])=>`${l}: ${c};`).join("")} }`).join("")}
4
+ }
5
+ `}),u.jsx("div",{style:r}),u.jsx("div",{style:n}),u.jsx("div",{style:o})]})},si=({themeSettings:e,onCancel:t})=>{const{t:r}=u.useTranslation(),n=e!=null&&e.chart.backgroundColor?{backgroundColor:e.chart.backgroundColor}:void 0;return u.jsx("div",{style:n,className:"csdk-h-full csdk-bg-white csdk-p-[20px]","aria-label":"csdk-loading-indicator",children:u.jsxs("div",{style:n,className:"csdk-h-full csdk-bg-background-priority csdk-flex csdk-flex-col csdk-gap-y-4 csdk-items-center csdk-justify-center",children:[u.jsx(ms,{color:e==null?void 0:e.chart.textColor}),t&&u.jsx("div",{className:"csdk-text-ai-sm csdk-text-text-link csdk-cursor-pointer",onClick:t,children:r("cancel")})]})})},qm=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>r=>function(o){if(Gm(e,o))return u.jsx(r,q({},o));const{app:i,isInitialized:a}=u.useSisenseContext();if(!a){const s=t||"errors.noSisenseContext";throw new u.TranslatableError(s)}return i?u.jsx(r,q({},o)):u.jsx(si,{})};function Gm(e,t){return Td(e)&&e||u.isFunction(e)&&e(t)}function Ym(){const[e,t]=F.useState(null);return F.useEffect(()=>{u.initializeI18n().initPromise.then(r=>t(r))},[]),e}const Od=({children:e,userLanguage:t,customTranslations:r=[]})=>{const n=Ym();return F.useEffect(()=>{if(t&&(n==null?void 0:n.language)!==t){for(const{language:o,resources:i,namespace:a="sdkUi"}of r)n==null||n.addResourceBundle(o,a,i);n==null||n.changeLanguage(t)}},[n,t,r]),n&&u.jsx(lm,{i18n:n,children:e})},Xm=()=>e=>function(r){const{isInitialized:n}=u.useSisenseContext();return n?u.jsx(e,q({},r)):u.jsx(Od,{children:u.jsx(e,q({},r))})},gs=F.createContext(null),li=()=>F.useContext(gs);function ae(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Ra={exports:{}},he={};/**
6
+ * @license React
7
+ * react-is.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */var Ll;function Km(){if(Ll)return he;Ll=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function v(y){if(typeof y=="object"&&y!==null){var w=y.$$typeof;switch(w){case e:switch(y=y.type,y){case r:case o:case n:case c:case p:return y;default:switch(y=y&&y.$$typeof,y){case s:case a:case l:case d:case h:case i:return y;default:return w}}case t:return w}}}return he.ContextConsumer=a,he.ContextProvider=i,he.Element=e,he.ForwardRef=l,he.Fragment=r,he.Lazy=d,he.Memo=h,he.Portal=t,he.Profiler=o,he.StrictMode=n,he.Suspense=c,he.SuspenseList=p,he.isAsyncMode=function(){return!1},he.isConcurrentMode=function(){return!1},he.isContextConsumer=function(y){return v(y)===a},he.isContextProvider=function(y){return v(y)===i},he.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},he.isForwardRef=function(y){return v(y)===l},he.isFragment=function(y){return v(y)===r},he.isLazy=function(y){return v(y)===d},he.isMemo=function(y){return v(y)===h},he.isPortal=function(y){return v(y)===t},he.isProfiler=function(y){return v(y)===o},he.isStrictMode=function(y){return v(y)===n},he.isSuspense=function(y){return v(y)===c},he.isSuspenseList=function(y){return v(y)===p},he.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===c||y===p||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===h||y.$$typeof===i||y.$$typeof===a||y.$$typeof===l||y.$$typeof===g||y.getModuleId!==void 0)},he.typeOf=v,he}var me={};/**
14
+ * @license React
15
+ * react-is.development.js
16
+ *
17
+ * Copyright (c) Facebook, Inc. and its affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */var Fl;function Qm(){return Fl||(Fl=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,v=!1,y=!1,w=!1,E=!1,_;_=Symbol.for("react.module.reference");function x(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===r||Z===o||E||Z===n||Z===c||Z===p||w||Z===m||g||v||y||typeof Z=="object"&&Z!==null&&(Z.$$typeof===d||Z.$$typeof===h||Z.$$typeof===i||Z.$$typeof===a||Z.$$typeof===l||Z.$$typeof===_||Z.getModuleId!==void 0))}function b(Z){if(typeof Z=="object"&&Z!==null){var oe=Z.$$typeof;switch(oe){case e:var de=Z.type;switch(de){case r:case o:case n:case c:case p:return de;default:var pe=de&&de.$$typeof;switch(pe){case s:case a:case l:case d:case h:case i:return pe;default:return oe}}case t:return oe}}}var C=a,S=i,O=e,M=l,D=r,R=d,T=h,A=t,I=o,P=n,N=c,H=p,B=!1,L=!1;function k(Z){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function $(Z){return L||(L=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function V(Z){return b(Z)===a}function j(Z){return b(Z)===i}function W(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===e}function U(Z){return b(Z)===l}function Y(Z){return b(Z)===r}function K(Z){return b(Z)===d}function X(Z){return b(Z)===h}function Q(Z){return b(Z)===t}function ee(Z){return b(Z)===o}function re(Z){return b(Z)===n}function G(Z){return b(Z)===c}function ne(Z){return b(Z)===p}me.ContextConsumer=C,me.ContextProvider=S,me.Element=O,me.ForwardRef=M,me.Fragment=D,me.Lazy=R,me.Memo=T,me.Portal=A,me.Profiler=I,me.StrictMode=P,me.Suspense=N,me.SuspenseList=H,me.isAsyncMode=k,me.isConcurrentMode=$,me.isContextConsumer=V,me.isContextProvider=j,me.isElement=W,me.isForwardRef=U,me.isFragment=Y,me.isLazy=K,me.isMemo=X,me.isPortal=Q,me.isProfiler=ee,me.isStrictMode=re,me.isSuspense=G,me.isSuspenseList=ne,me.isValidElementType=x,me.typeOf=b}()),me}process.env.NODE_ENV==="production"?Ra.exports=Km():Ra.exports=Qm();var Nn=Ra.exports,Oa={exports:{}},wo={exports:{}},ge={};/** @license React v16.13.1
22
+ * react-is.production.min.js
23
+ *
24
+ * Copyright (c) Facebook, Inc. and its affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */var Hl;function Zm(){if(Hl)return ge;Hl=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function _(b){if(typeof b=="object"&&b!==null){var C=b.$$typeof;switch(C){case t:switch(b=b.type,b){case l:case c:case n:case i:case o:case h:return b;default:switch(b=b&&b.$$typeof,b){case s:case p:case g:case m:case a:return b;default:return C}}case r:return C}}}function x(b){return _(b)===c}return ge.AsyncMode=l,ge.ConcurrentMode=c,ge.ContextConsumer=s,ge.ContextProvider=a,ge.Element=t,ge.ForwardRef=p,ge.Fragment=n,ge.Lazy=g,ge.Memo=m,ge.Portal=r,ge.Profiler=i,ge.StrictMode=o,ge.Suspense=h,ge.isAsyncMode=function(b){return x(b)||_(b)===l},ge.isConcurrentMode=x,ge.isContextConsumer=function(b){return _(b)===s},ge.isContextProvider=function(b){return _(b)===a},ge.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},ge.isForwardRef=function(b){return _(b)===p},ge.isFragment=function(b){return _(b)===n},ge.isLazy=function(b){return _(b)===g},ge.isMemo=function(b){return _(b)===m},ge.isPortal=function(b){return _(b)===r},ge.isProfiler=function(b){return _(b)===i},ge.isStrictMode=function(b){return _(b)===o},ge.isSuspense=function(b){return _(b)===h},ge.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===c||b===i||b===o||b===h||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===p||b.$$typeof===y||b.$$typeof===w||b.$$typeof===E||b.$$typeof===v)},ge.typeOf=_,ge}var ve={};/** @license React v16.13.1
29
+ * react-is.development.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */var Bl;function Jm(){return Bl||(Bl=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function _(G){return typeof G=="string"||typeof G=="function"||G===n||G===c||G===i||G===o||G===h||G===d||typeof G=="object"&&G!==null&&(G.$$typeof===g||G.$$typeof===m||G.$$typeof===a||G.$$typeof===s||G.$$typeof===p||G.$$typeof===y||G.$$typeof===w||G.$$typeof===E||G.$$typeof===v)}function x(G){if(typeof G=="object"&&G!==null){var ne=G.$$typeof;switch(ne){case t:var Z=G.type;switch(Z){case l:case c:case n:case i:case o:case h:return Z;default:var oe=Z&&Z.$$typeof;switch(oe){case s:case p:case g:case m:case a:return oe;default:return ne}}case r:return ne}}}var b=l,C=c,S=s,O=a,M=t,D=p,R=n,T=g,A=m,I=r,P=i,N=o,H=h,B=!1;function L(G){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(G)||x(G)===l}function k(G){return x(G)===c}function $(G){return x(G)===s}function V(G){return x(G)===a}function j(G){return typeof G=="object"&&G!==null&&G.$$typeof===t}function W(G){return x(G)===p}function U(G){return x(G)===n}function Y(G){return x(G)===g}function K(G){return x(G)===m}function X(G){return x(G)===r}function Q(G){return x(G)===i}function ee(G){return x(G)===o}function re(G){return x(G)===h}ve.AsyncMode=b,ve.ConcurrentMode=C,ve.ContextConsumer=S,ve.ContextProvider=O,ve.Element=M,ve.ForwardRef=D,ve.Fragment=R,ve.Lazy=T,ve.Memo=A,ve.Portal=I,ve.Profiler=P,ve.StrictMode=N,ve.Suspense=H,ve.isAsyncMode=L,ve.isConcurrentMode=k,ve.isContextConsumer=$,ve.isContextProvider=V,ve.isElement=j,ve.isForwardRef=W,ve.isFragment=U,ve.isLazy=Y,ve.isMemo=K,ve.isPortal=X,ve.isProfiler=Q,ve.isStrictMode=ee,ve.isSuspense=re,ve.isValidElementType=_,ve.typeOf=x}()),ve}var jl;function Md(){return jl||(jl=1,process.env.NODE_ENV==="production"?wo.exports=Zm():wo.exports=Jm()),wo.exports}/*
36
+ object-assign
37
+ (c) Sindre Sorhus
38
+ @license MIT
39
+ */var Zi,zl;function eg(){if(zl)return Zi;zl=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(p){return a[p]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(p){c[p]=p}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch(p){return!1}}return Zi=o()?Object.assign:function(i,a){for(var s,l=n(i),c,p=1;p<arguments.length;p++){s=Object(arguments[p]);for(var h in s)t.call(s,h)&&(l[h]=s[h]);if(e){c=e(s);for(var d=0;d<c.length;d++)r.call(s,c[d])&&(l[c[d]]=s[c[d]])}}return l},Zi}var Ji,Wl;function vs(){if(Wl)return Ji;Wl=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ji=e,Ji}var ea,Vl;function Pd(){return Vl||(Vl=1,ea=Function.call.bind(Object.prototype.hasOwnProperty)),ea}var ta,Ul;function tg(){if(Ul)return ta;Ul=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=vs(),r={},n=Pd();e=function(i){var a="Warning: "+i;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(s){}}}function o(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var p in i)if(n(i,p)){var h;try{if(typeof i[p]!="function"){var d=Error((l||"React class")+": "+s+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}h=i[p](a,p,l,s,null,t)}catch(g){h=g}if(h&&!(h instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var m=c?c():"";e("Failed "+s+" type: "+h.message+(m!=null?m:""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ta=o,ta}var ra,ql;function rg(){if(ql)return ra;ql=1;var e=Md(),t=eg(),r=vs(),n=Pd(),o=tg(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console!="undefined"&&console.error(l);try{throw new Error(l)}catch(c){}});function a(){return null}return ra=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function h(k){var $=k&&(c&&k[c]||k[p]);if(typeof $=="function")return $}var d="<<anonymous>>",m={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:E(),arrayOf:_,element:x(),elementType:b(),instanceOf:C,node:D(),objectOf:O,oneOf:S,oneOfType:M,shape:T,exact:A};function g(k,$){return k===$?k!==0||1/k===1/$:k!==k&&$!==$}function v(k,$){this.message=k,this.data=$&&typeof $=="object"?$:{},this.stack=""}v.prototype=Error.prototype;function y(k){if(process.env.NODE_ENV!=="production")var $={},V=0;function j(U,Y,K,X,Q,ee,re){if(X=X||d,ee=ee||K,re!==r){if(l){var G=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 G.name="Invariant Violation",G}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var ne=X+":"+K;!$[ne]&&V<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ee+"` prop on `"+X+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),$[ne]=!0,V++)}}return Y[K]==null?U?Y[K]===null?new v("The "+Q+" `"+ee+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new v("The "+Q+" `"+ee+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:k(Y,K,X,Q,ee)}var W=j.bind(null,!1);return W.isRequired=j.bind(null,!0),W}function w(k){function $(V,j,W,U,Y,K){var X=V[j],Q=N(X);if(Q!==k){var ee=H(X);return new v("Invalid "+U+" `"+Y+"` of type "+("`"+ee+"` supplied to `"+W+"`, expected ")+("`"+k+"`."),{expectedType:k})}return null}return y($)}function E(){return y(a)}function _(k){function $(V,j,W,U,Y){if(typeof k!="function")return new v("Property `"+Y+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var K=V[j];if(!Array.isArray(K)){var X=N(K);return new v("Invalid "+U+" `"+Y+"` of type "+("`"+X+"` supplied to `"+W+"`, expected an array."))}for(var Q=0;Q<K.length;Q++){var ee=k(K,Q,W,U,Y+"["+Q+"]",r);if(ee instanceof Error)return ee}return null}return y($)}function x(){function k($,V,j,W,U){var Y=$[V];if(!s(Y)){var K=N(Y);return new v("Invalid "+W+" `"+U+"` of type "+("`"+K+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return y(k)}function b(){function k($,V,j,W,U){var Y=$[V];if(!e.isValidElementType(Y)){var K=N(Y);return new v("Invalid "+W+" `"+U+"` of type "+("`"+K+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return y(k)}function C(k){function $(V,j,W,U,Y){if(!(V[j]instanceof k)){var K=k.name||d,X=L(V[j]);return new v("Invalid "+U+" `"+Y+"` of type "+("`"+X+"` supplied to `"+W+"`, expected ")+("instance of `"+K+"`."))}return null}return y($)}function S(k){if(!Array.isArray(k))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function $(V,j,W,U,Y){for(var K=V[j],X=0;X<k.length;X++)if(g(K,k[X]))return null;var Q=JSON.stringify(k,function(re,G){var ne=H(G);return ne==="symbol"?String(G):G});return new v("Invalid "+U+" `"+Y+"` of value `"+String(K)+"` "+("supplied to `"+W+"`, expected one of "+Q+"."))}return y($)}function O(k){function $(V,j,W,U,Y){if(typeof k!="function")return new v("Property `"+Y+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var K=V[j],X=N(K);if(X!=="object")return new v("Invalid "+U+" `"+Y+"` of type "+("`"+X+"` supplied to `"+W+"`, expected an object."));for(var Q in K)if(n(K,Q)){var ee=k(K,Q,W,U,Y+"."+Q,r);if(ee instanceof Error)return ee}return null}return y($)}function M(k){if(!Array.isArray(k))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var $=0;$<k.length;$++){var V=k[$];if(typeof V!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(V)+" at index "+$+"."),a}function j(W,U,Y,K,X){for(var Q=[],ee=0;ee<k.length;ee++){var re=k[ee],G=re(W,U,Y,K,X,r);if(G==null)return null;G.data&&n(G.data,"expectedType")&&Q.push(G.data.expectedType)}var ne=Q.length>0?", expected one of type ["+Q.join(", ")+"]":"";return new v("Invalid "+K+" `"+X+"` supplied to "+("`"+Y+"`"+ne+"."))}return y(j)}function D(){function k($,V,j,W,U){return I($[V])?null:new v("Invalid "+W+" `"+U+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return y(k)}function R(k,$,V,j,W){return new v((k||"React class")+": "+$+" type `"+V+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function T(k){function $(V,j,W,U,Y){var K=V[j],X=N(K);if(X!=="object")return new v("Invalid "+U+" `"+Y+"` of type `"+X+"` "+("supplied to `"+W+"`, expected `object`."));for(var Q in k){var ee=k[Q];if(typeof ee!="function")return R(W,U,Y,Q,H(ee));var re=ee(K,Q,W,U,Y+"."+Q,r);if(re)return re}return null}return y($)}function A(k){function $(V,j,W,U,Y){var K=V[j],X=N(K);if(X!=="object")return new v("Invalid "+U+" `"+Y+"` of type `"+X+"` "+("supplied to `"+W+"`, expected `object`."));var Q=t({},V[j],k);for(var ee in Q){var re=k[ee];if(n(k,ee)&&typeof re!="function")return R(W,U,Y,ee,H(re));if(!re)return new v("Invalid "+U+" `"+Y+"` key `"+ee+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(V[j],null," ")+`
40
+ Valid keys: `+JSON.stringify(Object.keys(k),null," "));var G=re(K,ee,W,U,Y+"."+ee,r);if(G)return G}return null}return y($)}function I(k){switch(typeof k){case"number":case"string":case"undefined":return!0;case"boolean":return!k;case"object":if(Array.isArray(k))return k.every(I);if(k===null||s(k))return!0;var $=h(k);if($){var V=$.call(k),j;if($!==k.entries){for(;!(j=V.next()).done;)if(!I(j.value))return!1}else for(;!(j=V.next()).done;){var W=j.value;if(W&&!I(W[1]))return!1}}else return!1;return!0;default:return!1}}function P(k,$){return k==="symbol"?!0:$?$["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&$ instanceof Symbol:!1}function N(k){var $=typeof k;return Array.isArray(k)?"array":k instanceof RegExp?"object":P($,k)?"symbol":$}function H(k){if(typeof k=="undefined"||k===null)return""+k;var $=N(k);if($==="object"){if(k instanceof Date)return"date";if(k instanceof RegExp)return"regexp"}return $}function B(k){var $=H(k);switch($){case"array":case"object":return"an "+$;case"boolean":case"date":case"regexp":return"a "+$;default:return $}}function L(k){return!k.constructor||!k.constructor.name?d:k.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},ra}var na,Gl;function ng(){if(Gl)return na;Gl=1;var e=vs();function t(){}function r(){}return r.resetWarningCache=t,na=function(){function n(a,s,l,c,p,h){if(h!==e){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},na}if(process.env.NODE_ENV!=="production"){var og=Md(),ig=!0;Oa.exports=rg()(og.isElement,ig)}else Oa.exports=ng()();var Ye=Oa.exports;const f=u.getDefaultExportFromCjs(Ye);function Dd(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Dd(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function se(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Dd(e))&&(n&&(n+=" "),n+=t);return n}function De(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}function Ot(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],a=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}const ag=z.createContext(),ys=()=>{const e=z.useContext(ag);return e!=null?e:!1};function Ma(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ve(...e){return z.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ma(r,t)})},e)}function kd(e){return typeof e=="string"}function wn(e,t,r){return e===void 0||kd(e)?t:u._extends({},t,{ownerState:u._extends({},t.ownerState,r)})}function Ad(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Yl(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function sg(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const m=se(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),g=u._extends({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),v=u._extends({},r,o,n);return m.length>0&&(v.className=m),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const a=Ad(u._extends({},o,n)),s=Yl(n),l=Yl(o),c=t(a),p=se(c==null?void 0:c.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),h=u._extends({},c==null?void 0:c.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),d=u._extends({},c,r,l,s);return p.length>0&&(d.className=p),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:c.ref}}function lg(e,t,r){return typeof e=="function"?e(t,r):e}const ug=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Wt(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=ae(e,ug),s=i?{}:lg(n,o),{props:l,internalRef:c}=sg(u._extends({},a,{externalSlotProps:s})),p=Ve(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return wn(r,u._extends({},l,{ref:p}),o)}function We(e){return e&&e.ownerDocument||document}var qn={};const cg=u.getAugmentedNamespace(u._extends$1);var oa={exports:{}},Xl;function dg(){return Xl||(Xl=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(oa)),oa.exports}let Pa;typeof document=="object"&&(Pa=u.createCache({key:"css",prepend:!0}));function Id(e){const{injectFirst:t,children:r}=e;return t&&Pa?te.jsx(u.CacheProvider,{value:Pa,children:r}):r}process.env.NODE_ENV!=="production"&&(Id.propTypes={children:f.node,injectFirst:f.bool});function fg(e){return e==null||Object.keys(e).length===0}function Nd(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(fg(o)?r:o):t;return te.jsx(u.Global,{styles:n})}process.env.NODE_ENV!=="production"&&(Nd.propTypes={defaultTheme:f.object,styles:f.oneOfType([f.array,f.string,f.object,f.func])});/**
41
+ * @mui/styled-engine v5.16.6
42
+ *
43
+ * @license MIT
44
+ * This source code is licensed under the MIT license found in the
45
+ * LICENSE file in the root directory of this source tree.
46
+ */function $d(e,t){const r=u.newStyled(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
47
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const Ld=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},pg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Nd,StyledEngineProvider:Id,ThemeContext:u.ThemeContext$1,css:u.css,default:$d,internal_processStyles:Ld,keyframes:u.keyframes},Symbol.toStringTag,{value:"Module"})),Fd=u.getAugmentedNamespace(pg);function St(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Hd(e){if(!St(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Hd(e[r])}),t}function ur(e,t,r={clone:!0}){const n=r.clone?u._extends({},e):e;return St(e)&&St(t)&&Object.keys(t).forEach(o=>{St(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&St(e[o])?n[o]=ur(e[o],t[o],r):r.clone?n[o]=St(t[o])?Hd(t[o]):t[o]:n[o]=t[o]}),n}const hg=Object.freeze(Object.defineProperty({__proto__:null,default:ur,isPlainObject:St},Symbol.toStringTag,{value:"Module"})),mg=u.getAugmentedNamespace(hg);function Bd(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const gg=Object.freeze(Object.defineProperty({__proto__:null,default:Bd},Symbol.toStringTag,{value:"Module"}));function ui(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Bd(7));return e.charAt(0).toUpperCase()+e.slice(1)}const vg=Object.freeze(Object.defineProperty({__proto__:null,default:ui},Symbol.toStringTag,{value:"Module"})),yg=u.getAugmentedNamespace(vg),bg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function jd(e){const t=`${e}`.match(bg);return t&&t[1]||""}function zd(e,t=""){return e.displayName||e.name||jd(e)||t}function Kl(e,t,r){const n=zd(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Wd(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return zd(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Nn.ForwardRef:return Kl(e,e.render,"ForwardRef");case Nn.Memo:return Kl(e,e.type,"memo");default:return}}}const _g=Object.freeze(Object.defineProperty({__proto__:null,default:Wd,getFunctionName:jd},Symbol.toStringTag,{value:"Module"})),xg=u.getAugmentedNamespace(_g),wg=["values","unit","step"],Cg=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>u._extends({},r,{[n.key]:n.val}),{})};function Vd(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=ae(e,wg),i=Cg(t),a=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function c(d,m){const g=a.indexOf(m);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:m)-n/100}${r})`}function p(d){return a.indexOf(d)+1<a.length?c(d,a[a.indexOf(d)+1]):s(d)}function h(d){const m=a.indexOf(d);return m===0?s(a[1]):m===a.length-1?l(a[m]):c(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return u._extends({keys:a,values:i,up:s,down:l,between:c,only:p,not:h,unit:r},o)}const Tg={borderRadius:4},Vt=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.string,f.object,f.array]):{};function On(e,t){return t?ur(e,t,{clone:!1}):e}const bs={xs:0,sm:600,md:900,lg:1200,xl:1536},Ql={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${bs[e]}px)`};function Ct(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Ql;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Ql;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||bs).indexOf(s)!==-1){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function Ud(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function qd(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Eg(e,...t){const r=Ud(e),n=[r,...t].reduce((o,i)=>ur(o,i),{});return qd(Object.keys(r),n)}function Sg(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function Rg({values:e,breakpoints:t,base:r}){const n=r||Sg(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function ci(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function zo(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=ci(e,r)||n,t&&(o=t(o,n,e)),o}function Ae(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=ci(l,n)||{};return Ct(a,s,h=>{let d=zo(c,o,h);return h===d&&typeof h=="string"&&(d=zo(c,o,`${t}${h==="default"?"":ui(h)}`,h)),r===!1?d:{[r]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Vt}:{},i.filterProps=[t],i}function Og(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Mg={m:"margin",p:"padding"},Pg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Zl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dg=Og(e=>{if(e.length>2)if(Zl[e])e=Zl[e];else return[e];const[t,r]=e.split(""),n=Mg[t],o=Pg[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),di=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],kg=[...di,...fi];function Gn(e,t,r,n){var o;const i=(o=ci(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
48
+ `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
49
+ `))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
50
+ `)),()=>{})}function _s(e){return Gn(e,"spacing",8,"spacing")}function jr(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Ag(e,t){return r=>e.reduce((n,o)=>(n[o]=jr(t,r),n),{})}function Ig(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Dg(r),i=Ag(o,n),a=e[r];return Ct(e,a,i)}function Gd(e,t){const r=_s(e.theme);return Object.keys(e).map(n=>Ig(e,t,n,r)).reduce(On,{})}function Oe(e){return Gd(e,di)}Oe.propTypes=process.env.NODE_ENV!=="production"?di.reduce((e,t)=>(e[t]=Vt,e),{}):{};Oe.filterProps=di;function Me(e){return Gd(e,fi)}Me.propTypes=process.env.NODE_ENV!=="production"?fi.reduce((e,t)=>(e[t]=Vt,e),{}):{};Me.filterProps=fi;process.env.NODE_ENV!=="production"&&kg.reduce((e,t)=>(e[t]=Vt,e),{});function Ng(e=8){if(e.mui)return e;const t=_s({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function pi(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?On(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function at(e){return typeof e!="number"?e:`${e}px solid`}function ht(e,t){return Ae({prop:e,themeKey:"borders",transform:t})}const $g=ht("border",at),Lg=ht("borderTop",at),Fg=ht("borderRight",at),Hg=ht("borderBottom",at),Bg=ht("borderLeft",at),jg=ht("borderColor"),zg=ht("borderTopColor"),Wg=ht("borderRightColor"),Vg=ht("borderBottomColor"),Ug=ht("borderLeftColor"),qg=ht("outline",at),Gg=ht("outlineColor"),hi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Gn(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:jr(t,n)});return Ct(e,e.borderRadius,r)}return null};hi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Vt}:{};hi.filterProps=["borderRadius"];pi($g,Lg,Fg,Hg,Bg,jg,zg,Wg,Vg,Ug,hi,qg,Gg);const mi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Gn(e.theme,"spacing",8,"gap"),r=n=>({gap:jr(t,n)});return Ct(e,e.gap,r)}return null};mi.propTypes=process.env.NODE_ENV!=="production"?{gap:Vt}:{};mi.filterProps=["gap"];const gi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Gn(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:jr(t,n)});return Ct(e,e.columnGap,r)}return null};gi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Vt}:{};gi.filterProps=["columnGap"];const vi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Gn(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:jr(t,n)});return Ct(e,e.rowGap,r)}return null};vi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Vt}:{};vi.filterProps=["rowGap"];const Yg=Ae({prop:"gridColumn"}),Xg=Ae({prop:"gridRow"}),Kg=Ae({prop:"gridAutoFlow"}),Qg=Ae({prop:"gridAutoColumns"}),Zg=Ae({prop:"gridAutoRows"}),Jg=Ae({prop:"gridTemplateColumns"}),ev=Ae({prop:"gridTemplateRows"}),tv=Ae({prop:"gridTemplateAreas"}),rv=Ae({prop:"gridArea"});pi(mi,gi,vi,Yg,Xg,Kg,Qg,Zg,Jg,ev,tv,rv);function Ar(e,t){return t==="grey"?t:e}const nv=Ae({prop:"color",themeKey:"palette",transform:Ar}),ov=Ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ar}),iv=Ae({prop:"backgroundColor",themeKey:"palette",transform:Ar});pi(nv,ov,iv);function Ze(e){return e<=1&&e!==0?`${e*100}%`:e}const av=Ae({prop:"width",transform:Ze}),xs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||bs[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ze(r)}};return Ct(e,e.maxWidth,t)}return null};xs.filterProps=["maxWidth"];const sv=Ae({prop:"minWidth",transform:Ze}),lv=Ae({prop:"height",transform:Ze}),uv=Ae({prop:"maxHeight",transform:Ze}),cv=Ae({prop:"minHeight",transform:Ze});Ae({prop:"size",cssProperty:"width",transform:Ze});Ae({prop:"size",cssProperty:"height",transform:Ze});const dv=Ae({prop:"boxSizing"});pi(av,xs,sv,lv,uv,cv,dv);const Yn={border:{themeKey:"borders",transform:at},borderTop:{themeKey:"borders",transform:at},borderRight:{themeKey:"borders",transform:at},borderBottom:{themeKey:"borders",transform:at},borderLeft:{themeKey:"borders",transform:at},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:at},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:hi},color:{themeKey:"palette",transform:Ar},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ar},backgroundColor:{themeKey:"palette",transform:Ar},p:{style:Me},pt:{style:Me},pr:{style:Me},pb:{style:Me},pl:{style:Me},px:{style:Me},py:{style:Me},padding:{style:Me},paddingTop:{style:Me},paddingRight:{style:Me},paddingBottom:{style:Me},paddingLeft:{style:Me},paddingX:{style:Me},paddingY:{style:Me},paddingInline:{style:Me},paddingInlineStart:{style:Me},paddingInlineEnd:{style:Me},paddingBlock:{style:Me},paddingBlockStart:{style:Me},paddingBlockEnd:{style:Me},m:{style:Oe},mt:{style:Oe},mr:{style:Oe},mb:{style:Oe},ml:{style:Oe},mx:{style:Oe},my:{style:Oe},margin:{style:Oe},marginTop:{style:Oe},marginRight:{style:Oe},marginBottom:{style:Oe},marginLeft:{style:Oe},marginX:{style:Oe},marginY:{style:Oe},marginInline:{style:Oe},marginInlineStart:{style:Oe},marginInlineEnd:{style:Oe},marginBlock:{style:Oe},marginBlockStart:{style:Oe},marginBlockEnd:{style:Oe},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:mi},rowGap:{style:vi},columnGap:{style:gi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ze},maxWidth:{style:xs},minWidth:{transform:Ze},height:{transform:Ze},maxHeight:{transform:Ze},minHeight:{transform:Ze},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function fv(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function pv(e,t){return typeof e=="function"?e(t):e}function Yd(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:p,style:h}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const d=ci(o,c)||{};return h?h(a):Ct(a,n,g=>{let v=zo(d,p,g);return g===v&&typeof g=="string"&&(v=zo(d,p,`${r}${g==="default"?"":ui(g)}`,g)),l===!1?v:{[l]:v}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Yn;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const p=Ud(i.breakpoints),h=Object.keys(p);let d=p;return Object.keys(c).forEach(m=>{const g=pv(c[m],i);if(g!=null)if(typeof g=="object")if(a[m])d=On(d,e(m,g,i,a));else{const v=Ct({theme:i},g,y=>({[m]:y}));fv(v,g)?d[m]=t({sx:g,theme:i}):d=On(d,v)}else d=On(d,e(m,g,i,a))}),qd(h,d)}return Array.isArray(o)?o.map(s):s(o)}return t}const Xn=Yd();Xn.filterProps=["sx"];function Xd(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const hv=["breakpoints","palette","spacing","shape"];function yi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=ae(e,hv),s=Vd(r),l=Ng(o);let c=ur({breakpoints:s,direction:"ltr",components:{},palette:u._extends({mode:"light"},n),spacing:l,shape:u._extends({},Tg,i)},a);return c.applyStyles=Xd,c=t.reduce((p,h)=>ur(p,h),c),c.unstable_sxConfig=u._extends({},Yn,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Xn({sx:h,theme:this})},c}const mv=Object.freeze(Object.defineProperty({__proto__:null,default:yi,private_createBreakpoints:Vd,unstable_applyStyles:Xd},Symbol.toStringTag,{value:"Module"})),gv=u.getAugmentedNamespace(mv),vv=["sx"],yv=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Yn;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function ws(e){const{sx:t}=e,r=ae(e,vv),{systemProps:n,otherProps:o}=yv(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return St(s)?u._extends({},n,s):n}:i=u._extends({},n,t),u._extends({},o,{sx:i})}const bv=Object.freeze(Object.defineProperty({__proto__:null,default:Xn,extendSxProp:ws,unstable_createStyleFunctionSx:Yd,unstable_defaultSxConfig:Yn},Symbol.toStringTag,{value:"Module"})),_v=u.getAugmentedNamespace(bv);var zr=u.interopRequireDefaultExports;Object.defineProperty(qn,"__esModule",{value:!0});var xv=qn.default=Nv;qn.shouldForwardProp=Io;qn.systemDefaultTheme=void 0;var nt=zr(cg),Da=zr(dg()),Jl=Pv(Fd),wv=mg,Cv=zr(yg),Tv=zr(xg),Ev=zr(gv),Sv=zr(_v);const Rv=["ownerState"],Ov=["variants"],Mv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Kd=function(n){return n?r:t})(e)}function Pv(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Kd(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function Dv(e){return Object.keys(e).length===0}function kv(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Io(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Av=qn.systemDefaultTheme=(0,Ev.default)(),eu=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Co({defaultTheme:e,theme:t,themeId:r}){return Dv(t)?e:t[r]||t}function Iv(e){return e?(t,r)=>r[e]:null}function No(e,t){let{ownerState:r}=t,n=(0,Da.default)(t,Rv);const o=typeof e=="function"?e((0,nt.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>No(i,(0,nt.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=(0,Da.default)(o,Ov);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,nt.default)({ownerState:r},n,r)):Object.keys(l.props).forEach(p=>{(r==null?void 0:r[p])!==l.props[p]&&n[p]!==l.props[p]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,nt.default)({ownerState:r},n,r)):l.style))}),s}return o}function Nv(e={}){const{themeId:t,defaultTheme:r=Av,rootShouldForwardProp:n=Io,slotShouldForwardProp:o=Io}=e,i=a=>(0,Sv.default)((0,nt.default)({},a,{theme:Co((0,nt.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{(0,Jl.internal_processStyles)(a,b=>b.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:p,skipSx:h,overridesResolver:d=Iv(eu(c))}=s,m=(0,Da.default)(s,Mv),g=p!==void 0?p:c&&c!=="Root"&&c!=="root"||!1,v=h||!1;let y;process.env.NODE_ENV!=="production"&&l&&(y=`${l}-${eu(c||"Root")}`);let w=Io;c==="Root"||c==="root"?w=n:c?w=o:kv(a)&&(w=void 0);const E=(0,Jl.default)(a,(0,nt.default)({shouldForwardProp:w,label:y},m)),_=b=>typeof b=="function"&&b.__emotion_real!==b||(0,wv.isPlainObject)(b)?C=>No(b,(0,nt.default)({},C,{theme:Co({theme:C.theme,defaultTheme:r,themeId:t})})):b,x=(b,...C)=>{let S=_(b);const O=C?C.map(_):[];l&&d&&O.push(R=>{const T=Co((0,nt.default)({},R,{defaultTheme:r,themeId:t}));if(!T.components||!T.components[l]||!T.components[l].styleOverrides)return null;const A=T.components[l].styleOverrides,I={};return Object.entries(A).forEach(([P,N])=>{I[P]=No(N,(0,nt.default)({},R,{theme:T}))}),d(R,I)}),l&&!g&&O.push(R=>{var T;const A=Co((0,nt.default)({},R,{defaultTheme:r,themeId:t})),I=A==null||(T=A.components)==null||(T=T[l])==null?void 0:T.variants;return No({variants:I},(0,nt.default)({},R,{theme:A}))}),v||O.push(i);const M=O.length-C.length;if(Array.isArray(b)&&M>0){const R=new Array(M).fill("");S=[...b,...R],S.raw=[...b.raw,...R]}const D=E(S,...O);if(process.env.NODE_ENV!=="production"){let R;l&&(R=`${l}${(0,Cv.default)(c||"")}`),R===void 0&&(R=`Styled(${(0,Tv.default)(a)})`),D.displayName=R}return a.muiName&&(D.muiName=a.muiName),D};return E.withConfig&&(x.withConfig=E.withConfig),x}}function Wo(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Er(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Qd(e){if(!Er(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Qd(e[r])}),t}function Ir(e,t,r={clone:!0}){const n=r.clone?u._extends({},e):e;return Er(e)&&Er(t)&&Object.keys(t).forEach(o=>{Er(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Er(e[o])?n[o]=Ir(e[o],t[o],r):r.clone?n[o]=Er(t[o])?Qd(t[o]):t[o]:n[o]=t[o]}),n}const tu=e=>e,$v=()=>{let e=tu;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tu}}},Lv=$v(),Fv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ee(e,t,r="Mui"){const n=Fv[t];return n?`${r}-${n}`:`${Lv.generate(e)}-${t}`}function Hv(e,t){return u._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ie={};const Bv=u.getAugmentedNamespace(gg);function jv(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const zv=Object.freeze(Object.defineProperty({__proto__:null,default:jv},Symbol.toStringTag,{value:"Module"})),Wv=u.getAugmentedNamespace(zv);var Zd=u.interopRequireDefaultExports;Object.defineProperty(Ie,"__esModule",{value:!0});var Pe=Ie.alpha=of;Ie.blend=Jv;Ie.colorChannel=void 0;var Jd=Ie.darken=Ts;Ie.decomposeColor=dt;var ru=Ie.emphasize=af,nu=Ie.getContrastRatio=Yv;Ie.getLuminance=Vo;Ie.hexToRgb=tf;Ie.hslToRgb=nf;var ef=Ie.lighten=Es;Ie.private_safeAlpha=Xv;Ie.private_safeColorChannel=void 0;Ie.private_safeDarken=Kv;Ie.private_safeEmphasize=Zv;Ie.private_safeLighten=Qv;Ie.recomposeColor=Wr;Ie.rgbToHex=Gv;var ou=Zd(Bv),Vv=Zd(Wv);function Cs(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,Vv.default)(e,t,r)}function tf(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Uv(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function dt(e){if(e.type)return e;if(e.charAt(0)==="#")return dt(tf(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
51
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,ou.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
52
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,ou.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const rf=e=>{const t=dt(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};Ie.colorChannel=rf;const qv=(e,t)=>{try{return rf(e)}catch(r){return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};Ie.private_safeColorChannel=qv;function Wr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Gv(e){if(e.indexOf("#")===0)return e;const{values:t}=dt(e);return`#${t.map((r,n)=>Uv(n===3?Math.round(255*r):r)).join("")}`}function nf(e){e=dt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,p=(c+r/30)%12)=>o-i*Math.max(Math.min(p-3,9-p,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Wr({type:s,values:l})}function Vo(e){e=dt(e);let t=e.type==="hsl"||e.type==="hsla"?dt(nf(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:Qe((r+.055)/1.055,2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Yv(e,t){const r=Vo(e),n=Vo(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function of(e,t){return e=dt(e),t=Cs(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Wr(e)}function Xv(e,t,r){try{return of(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Ts(e,t){if(e=dt(e),t=Cs(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Wr(e)}function Kv(e,t,r){try{return Ts(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Es(e,t){if(e=dt(e),t=Cs(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Wr(e)}function Qv(e,t,r){try{return Es(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function af(e,t=.15){return Vo(e)>.5?Ts(e,t):Es(e,t)}function Zv(e,t,r){try{return af(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Jv(e,t,r,n=1){const o=(l,c)=>Math.round(Qe(Qe(l,1/n)*(1-r)+Qe(c,1/n)*r,n)),i=dt(e),a=dt(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Wr({type:"rgb",values:s})}const $n={black:"#000",white:"#fff"},e1={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"},yr={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"},br={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"},pn={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"},_r={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"},xr={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"},wr={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"},t1=["mode","contrastThreshold","tonalOffset"],iu={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:$n.white,default:$n.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}},ia={text:{primary:$n.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:$n.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 au(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=ef(e.main,o):t==="dark"&&(e.dark=Jd(e.main,i)))}function r1(e="light"){return e==="dark"?{main:_r[200],light:_r[50],dark:_r[400]}:{main:_r[700],light:_r[400],dark:_r[800]}}function n1(e="light"){return e==="dark"?{main:yr[200],light:yr[50],dark:yr[400]}:{main:yr[500],light:yr[300],dark:yr[700]}}function o1(e="light"){return e==="dark"?{main:br[500],light:br[300],dark:br[700]}:{main:br[700],light:br[400],dark:br[800]}}function i1(e="light"){return e==="dark"?{main:xr[400],light:xr[300],dark:xr[700]}:{main:xr[700],light:xr[500],dark:xr[900]}}function a1(e="light"){return e==="dark"?{main:wr[400],light:wr[300],dark:wr[700]}:{main:wr[800],light:wr[500],dark:wr[900]}}function s1(e="light"){return e==="dark"?{main:pn[400],light:pn[300],dark:pn[700]}:{main:"#ed6c02",light:pn[500],dark:pn[900]}}function l1(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=ae(e,t1),i=e.primary||r1(t),a=e.secondary||n1(t),s=e.error||o1(t),l=e.info||i1(t),c=e.success||a1(t),p=e.warning||s1(t);function h(v){const y=nu(v,ia.text.primary)>=r?ia.text.primary:iu.text.primary;if(process.env.NODE_ENV!=="production"){const w=nu(v,y);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${y} on ${v}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
53
+ `))}return y}const d=({color:v,name:y,mainShade:w=500,lightShade:E=300,darkShade:_=700})=>{if(v=u._extends({},v),!v.main&&v[w]&&(v.main=v[w]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
54
+ The color object needs to have a \`main\` property or a \`${w}\` property.`:Wo(11,y?` (${y})`:"",w));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
55
+ \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
56
+
57
+ Did you intend to use one of the following approaches?
58
+
59
+ import { green } from "@mui/material/colors";
60
+
61
+ const theme1 = createTheme({ palette: {
62
+ primary: green,
63
+ } });
64
+
65
+ const theme2 = createTheme({ palette: {
66
+ primary: { main: green[500] },
67
+ } });`:Wo(12,y?` (${y})`:"",JSON.stringify(v.main)));return au(v,"light",E,n),au(v,"dark",_,n),v.contrastText||(v.contrastText=h(v.main)),v},m={dark:ia,light:iu};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ir(u._extends({common:u._extends({},$n),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:p,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:e1,contrastThreshold:r,getContrastText:h,augmentColor:d,tonalOffset:n},m[t]),o)}const u1=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function c1(e){return Math.round(e*1e5)/1e5}const su={textTransform:"uppercase"},lu='"Roboto", "Helvetica", "Arial", sans-serif';function d1(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=lu,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:p,pxToRem:h}=r,d=ae(r,u1);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=o/14,g=h||(w=>`${w/c*m}rem`),v=(w,E,_,x,b)=>u._extends({fontFamily:n,fontWeight:w,fontSize:g(E),lineHeight:_},n===lu?{letterSpacing:`${c1(x/E)}em`}:{},b,p),y={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,su),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,su),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ir(u._extends({htmlFontSize:c,pxToRem:g,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},y),d,{clone:!1})}const f1=.2,p1=.14,h1=.12;function Te(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${f1})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${p1})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${h1})`].join(",")}const m1=["none",Te(0,2,1,-1,0,1,1,0,0,1,3,0),Te(0,3,1,-2,0,2,2,0,0,1,5,0),Te(0,3,3,-2,0,3,4,0,0,1,8,0),Te(0,2,4,-1,0,4,5,0,0,1,10,0),Te(0,3,5,-1,0,5,8,0,0,1,14,0),Te(0,3,5,-1,0,6,10,0,0,1,18,0),Te(0,4,5,-2,0,7,10,1,0,2,16,1),Te(0,5,5,-3,0,8,10,1,0,3,14,2),Te(0,5,6,-3,0,9,12,1,0,3,16,2),Te(0,6,6,-3,0,10,14,1,0,4,18,3),Te(0,6,7,-4,0,11,15,1,0,4,20,3),Te(0,7,8,-4,0,12,17,2,0,5,22,4),Te(0,7,8,-4,0,13,19,2,0,5,24,4),Te(0,7,9,-4,0,14,21,2,0,5,26,4),Te(0,8,9,-5,0,15,22,2,0,6,28,5),Te(0,8,10,-5,0,16,24,2,0,6,30,5),Te(0,8,11,-5,0,17,26,2,0,6,32,5),Te(0,9,11,-5,0,18,28,2,0,7,34,6),Te(0,9,12,-6,0,19,29,2,0,7,36,6),Te(0,10,13,-6,0,20,31,3,0,8,38,7),Te(0,10,13,-6,0,21,33,3,0,8,40,7),Te(0,10,14,-6,0,22,35,3,0,8,42,7),Te(0,11,14,-7,0,23,36,3,0,9,44,8),Te(0,11,15,-7,0,24,38,3,0,9,46,8)],g1=["duration","easing","delay"],v1={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)"},y1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function uu(e){return`${Math.round(e)}ms`}function b1(e){if(!e)return 0;const t=e/36;return Math.round((4+15*Qe(t,.25)+t/5)*10)}function _1(e){const t=u._extends({},v1,e.easing),r=u._extends({},y1,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=i,c=ae(i,g1);if(process.env.NODE_ENV!=="production"){const p=d=>typeof d=="string",h=d=>!isNaN(parseFloat(d));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(a)&&!p(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),p(s)||console.error('MUI: Argument "easing" must be a string.'),!h(l)&&!p(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
68
+ `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof a=="string"?a:uu(a)} ${s} ${typeof l=="string"?l:uu(l)}`).join(",")};return u._extends({getAutoHeightDuration:b1,create:n},e,{easing:t,duration:r})}const x1={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},w1=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function C1(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=ae(e,w1);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Wo(18));const s=l1(n),l=yi(e);let c=Ir(l,{mixins:Hv(l.breakpoints,r),palette:s,shadows:m1.slice(),typography:d1(s,i),transitions:_1(o),zIndex:u._extends({},x1)});if(c=Ir(c,a),c=t.reduce((p,h)=>Ir(p,h),c),process.env.NODE_ENV!=="production"){const p=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(d,m)=>{let g;for(g in d){const v=d[g];if(p.indexOf(g)!==-1&&Object.keys(v).length>0){if(process.env.NODE_ENV!=="production"){const y=Ee("",g);console.error([`MUI: The \`${m}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:v}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
69
+ `))}d[g]={}}}};Object.keys(c.components).forEach(d=>{const m=c.components[d].styleOverrides;m&&d.indexOf("Mui")===0&&h(m,d)})}return c.unstable_sxConfig=u._extends({},Yn,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return Xn({sx:h,theme:this})},c}const sf=C1(),lf="$$material";function T1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Kn=e=>T1(e)&&e!=="classes",le=xv({themeId:lf,defaultTheme:sf,rootShouldForwardProp:Kn});function Uo(e,t){const r=u._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=u._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=u._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=Uo(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const E1=z.createContext(void 0);function S1(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Uo(o.defaultProps,n):!o.styleOverrides&&!o.variants?Uo(o,n):n}function R1({props:e,name:t}){const r=z.useContext(E1);return S1({props:e,name:t,theme:{components:r}})}function Re(e){return R1(e)}const qo=z.createContext({});process.env.NODE_ENV!=="production"&&(qo.displayName="ListContext");function we(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Ee(e,o,r)}),n}function O1(e){return Ee("MuiList",e)}we("MuiList",["root","padding","dense","subheader"]);const M1=["children","className","component","dense","disablePadding","subheader"],P1=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return De({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},O1,t)},D1=le("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>u._extends({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),uf=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=n,p=ae(n,M1),h=z.useMemo(()=>({dense:s}),[s]),d=u._extends({},n,{component:a,dense:s,disablePadding:l}),m=P1(d);return te.jsx(qo.Provider,{value:h,children:te.jsxs(D1,u._extends({as:a,className:se(m.root,i),ref:r,ownerState:d},p,{children:[c,o]}))})});process.env.NODE_ENV!=="production"&&(uf.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,dense:f.bool,disablePadding:f.bool,subheader:f.node,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function cf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const cr=typeof window!="undefined"?z.useLayoutEffect:z.useEffect,k1=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function aa(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function cu(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function df(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function hn(e,t,r,n,o,i){let a=!1,s=o(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!df(s,i)||l)s=o(e,s,r);else return s.focus(),!0}return!1}const Ss=z.forwardRef(function(t,r){const{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:p,variant:h="selectedMenu"}=t,d=ae(t,k1),m=z.useRef(null),g=z.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});cr(()=>{o&&m.current.focus()},[o]),z.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(_,{direction:x})=>{const b=!m.current.style.width;if(_.clientHeight<m.current.clientHeight&&b){const C=`${cf(We(_))}px`;m.current.style[x==="rtl"?"paddingLeft":"paddingRight"]=C,m.current.style.width=`calc(100% + ${C})`}return m.current}}),[]);const v=_=>{const x=m.current,b=_.key,C=We(x).activeElement;if(b==="ArrowDown")_.preventDefault(),hn(x,C,c,l,aa);else if(b==="ArrowUp")_.preventDefault(),hn(x,C,c,l,cu);else if(b==="Home")_.preventDefault(),hn(x,null,c,l,aa);else if(b==="End")_.preventDefault(),hn(x,null,c,l,cu);else if(b.length===1){const S=g.current,O=b.toLowerCase(),M=performance.now();S.keys.length>0&&(M-S.lastTime>500?(S.keys=[],S.repeating=!0,S.previousKeyMatched=!0):S.repeating&&O!==S.keys[0]&&(S.repeating=!1)),S.lastTime=M,S.keys.push(O);const D=C&&!S.repeating&&df(C,S);S.previousKeyMatched&&(D||hn(x,C,!1,l,aa,S))?_.preventDefault():S.previousKeyMatched=!1}p&&p(_)},y=Ve(m,r);let w=-1;z.Children.forEach(a,(_,x)=>{if(!z.isValidElement(_)){w===x&&(w+=1,w>=a.length&&(w=-1));return}process.env.NODE_ENV!=="production"&&Nn.isFragment(_)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
70
+ `)),_.props.disabled||(h==="selectedMenu"&&_.props.selected||w===-1)&&(w=x),w===x&&(_.props.disabled||_.props.muiSkipListHighlight||_.type.muiSkipListHighlight)&&(w+=1,w>=a.length&&(w=-1))});const E=z.Children.map(a,(_,x)=>{if(x===w){const b={};return i&&(b.autoFocus=!0),_.props.tabIndex===void 0&&h==="selectedMenu"&&(b.tabIndex=0),z.cloneElement(_,b)}return _});return te.jsx(uf,u._extends({role:"menu",ref:y,className:s,onKeyDown:v,tabIndex:o?0:-1},d,{children:E}))});process.env.NODE_ENV!=="production"&&(Ss.propTypes={autoFocus:f.bool,autoFocusItem:f.bool,children:f.node,className:f.string,disabledItemsFocusable:f.bool,disableListWrap:f.bool,onKeyDown:f.func,variant:f.oneOf(["menu","selectedMenu"])});const Qn=f.oneOfType([f.func,f.object]);function Ut(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function A1(e){const{prototype:t={}}=e;return!!t.isReactComponent}function I1(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;return typeof i=="function"&&!A1(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const ff=Ut(f.elementType,I1);function N1(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function $1(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const L1=Number.isInteger||$1;function pf(e,t,r,n){const o=e[t];if(o==null||!L1(o)){const i=N1(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function hf(e,t,...r){return e[t]===void 0?null:pf(e,t,...r)}function ka(){return null}hf.isRequired=pf;ka.isRequired=ka;const yt=process.env.NODE_ENV==="production"?ka:hf;function F1(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Ln(e){return We(e).defaultView||window}const du={};function H1(e,t){const r=z.useRef(du);return r.current===du&&(r.current=e(t)),r}const B1=[];function j1(e){z.useEffect(e,B1)}class Zn{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Zn}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Dr(){const e=H1(Zn.create).current;return j1(e.disposeEffect),e}function z1(e){const{prototype:t={}}=e;return!!t.isReactComponent}function mf(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;const l=i.type;return typeof l=="function"&&!z1(l)&&(s="Did you accidentally use a plain function component for an element instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const fr=Ut(f.element,mf);fr.isRequired=Ut(f.element.isRequired,mf);function gf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ea(e,t)}const fu={disabled:!1};var W1=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.shape({enter:f.number,exit:f.number,appear:f.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&f.oneOfType([f.string,f.shape({enter:f.string,exit:f.string,active:f.string}),f.shape({enter:f.string,enterDone:f.string,enterActive:f.string,exit:f.string,exitDone:f.string,exitActive:f.string})]);const Go=F.createContext(null);var Cn="unmounted",nr="exited",or="entering",Sr="entered",Aa="exiting",Et=function(e){gf(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?s?(l=nr,i.appearStatus=or):l=Sr:n.unmountOnExit||n.mountOnEnter?l=Cn:l=nr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Cn?{status:nr}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==or&&a!==Sr&&(i=or):(a===or||a===Sr)&&(i=Aa)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){o===void 0&&(o=!1),i!==null?(this.cancelNextCallback(),i===or?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:Pr.findDOMNode(this)),this.performEnter(o)):this.performExit()):this.props.unmountOnExit&&this.state.status===nr&&this.setState({status:Cn})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[Pr.findDOMNode(this),s],c=l[0],p=l[1],h=this.getTimeouts(),d=s?h.appear:h.enter;if(!o&&!a||fu.disabled){this.safeSetState({status:Sr},function(){i.props.onEntered(c)});return}this.props.onEnter(c,p),this.safeSetState({status:or},function(){i.props.onEntering(c,p),i.onTransitionEnd(d,function(){i.safeSetState({status:Sr},function(){i.props.onEntered(c,p)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Pr.findDOMNode(this);if(!i||fu.disabled){this.safeSetState({status:nr},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Aa},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:nr},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Pr.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],p=l[1];this.props.addEndListener(c,p)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Cn)return null;var i=this.props,a=i.children,s=ae(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return F.createElement(Go.Provider,{value:null},typeof a=="function"?a(o,s):F.cloneElement(F.Children.only(a),s))},t}(F.Component);Et.contextType=Go;Et.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:f.shape({current:typeof Element=="undefined"?f.any:function(e,t,r,n,o,i){var a=e[t];return f.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:f.oneOfType([f.func.isRequired,f.element.isRequired]).isRequired,in:f.bool,mountOnEnter:f.bool,unmountOnExit:f.bool,appear:f.bool,enter:f.bool,exit:f.bool,timeout:function(t){var r=W1;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:f.func,onEnter:f.func,onEntering:f.func,onEntered:f.func,onExit:f.func,onExiting:f.func,onExited:f.func}:{};function Cr(){}Et.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Cr,onEntering:Cr,onEntered:Cr,onExit:Cr,onExiting:Cr,onExited:Cr};Et.UNMOUNTED=Cn;Et.EXITED=nr;Et.ENTERING=or;Et.ENTERED=Sr;Et.EXITING=Aa;function Rs(e,t){var r=function(i){return t&&F.isValidElement(i)?t(i):i},n=Object.create(null);return e&&F.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function V1(e,t){e=e||{},t=t||{};function r(p){return p in t?t[p]:e[p]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function ar(e,t,r){return r[t]!=null?r[t]:e.props[t]}function U1(e,t){return Rs(e.children,function(r){return F.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:ar(r,"appear",e),enter:ar(r,"enter",e),exit:ar(r,"exit",e)})})}function q1(e,t,r){var n=Rs(e.children),o=V1(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(F.isValidElement(a)){var s=i in t,l=i in n,c=t[i],p=F.isValidElement(c)&&!c.props.in;l&&(!s||p)?o[i]=F.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:ar(a,"exit",e),enter:ar(a,"enter",e)}):!l&&s&&!p?o[i]=F.cloneElement(a,{in:!1}):l&&s&&F.isValidElement(c)&&(o[i]=F.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:ar(a,"exit",e),enter:ar(a,"enter",e)}))}}),o}var G1=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Y1={component:"div",childFactory:function(t){return t}},Os=function(e){gf(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Mm(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?U1(o,s):q1(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Rs(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=u._extends({},s.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=ae(o,["component","childFactory"]),l=this.state.contextValue,c=G1(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?F.createElement(Go.Provider,{value:l},c):F.createElement(Go.Provider,{value:l},F.createElement(i,s,c))},t}(F.Component);Os.propTypes=process.env.NODE_ENV!=="production"?{component:f.any,children:f.node,appear:f.bool,enter:f.bool,exit:f.bool,childFactory:f.func}:{};Os.defaultProps=Y1;function X1(e){return Object.keys(e).length===0}function K1(e=null){const t=z.useContext(u.ThemeContext$1);return!t||X1(t)?e:t}const Q1=yi();function vf(e=Q1){return K1(e)}function Jn(){const e=vf(sf);return process.env.NODE_ENV!=="production"&&z.useDebugValue(e),e[lf]||e}function Yo(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}const Z1=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ia(e){return`scale(${e}, ${Qe(e,2)})`}const J1={entering:{opacity:1,transform:Ia(1)},entered:{opacity:1,transform:"none"}},sa=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Fn=z.forwardRef(function(t,r){const{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:p,onExit:h,onExited:d,onExiting:m,style:g,timeout:v="auto",TransitionComponent:y=Et}=t,w=ae(t,Z1),E=Dr(),_=z.useRef(),x=Jn(),b=z.useRef(null),C=Ve(b,i.ref,r),S=P=>N=>{if(P){const H=b.current;N===void 0?P(H):P(H,N)}},O=S(p),M=S((P,N)=>{const{duration:H,delay:B,easing:L}=Yo({style:g,timeout:v,easing:a},{mode:"enter"});let k;v==="auto"?(k=x.transitions.getAutoHeightDuration(P.clientHeight),_.current=k):k=H,P.style.transition=[x.transitions.create("opacity",{duration:k,delay:B}),x.transitions.create("transform",{duration:sa?k:k*.666,delay:B,easing:L})].join(","),l&&l(P,N)}),D=S(c),R=S(m),T=S(P=>{const{duration:N,delay:H,easing:B}=Yo({style:g,timeout:v,easing:a},{mode:"exit"});let L;v==="auto"?(L=x.transitions.getAutoHeightDuration(P.clientHeight),_.current=L):L=N,P.style.transition=[x.transitions.create("opacity",{duration:L,delay:H}),x.transitions.create("transform",{duration:sa?L:L*.666,delay:sa?H:H||L*.333,easing:B})].join(","),P.style.opacity=0,P.style.transform=Ia(.75),h&&h(P)}),A=S(d),I=P=>{v==="auto"&&E.start(_.current||0,P),n&&n(b.current,P)};return te.jsx(y,u._extends({appear:o,in:s,nodeRef:b,onEnter:M,onEntered:D,onEntering:O,onExit:T,onExited:A,onExiting:R,addEndListener:I,timeout:v==="auto"?null:v},w,{children:(P,N)=>z.cloneElement(i,u._extends({style:u._extends({opacity:0,transform:Ia(.75),visibility:P==="exited"&&!s?"hidden":void 0},J1[P],g,i.props.style),ref:C},N))}))});process.env.NODE_ENV!=="production"&&(Fn.propTypes={addEndListener:f.func,appear:f.bool,children:fr.isRequired,easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});Fn.muiSupportAuto=!0;const ey="exact-prop: ​";function Ms(e){return process.env.NODE_ENV==="production"?e:u._extends({},e,{[ey]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}function fe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Wo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Na(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}let pu=0;function ty(e){const[t,r]=z.useState(e),n=e||t;return z.useEffect(()=>{t==null&&(pu+=1,r(`mui-${pu}`))},[t]),n}const hu=z[`useId${Math.random()}`.slice(0,5)];function yf(e){if(hu!==void 0){const t=hu();return e!=null?e:t}return ty(e)}function Ps({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=z.useRef(e!==void 0),[i,a]=z.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){z.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
71
+ `))},[n,r,e]);const{current:c}=z.useRef(t);z.useEffect(()=>{!o&&!Object.is(c,t)&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
72
+ `))},[JSON.stringify(t)])}const l=z.useCallback(c=>{o||a(c)},[]);return[s,l]}function Rt(e){const t=z.useRef(e);return cr(()=>{t.current=e}),z.useRef((...r)=>(0,t.current)(...r)).current}let bi=!0,$a=!1;const ry=new Zn,ny={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function oy(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&ny[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function iy(e){e.metaKey||e.altKey||e.ctrlKey||(bi=!0)}function la(){bi=!1}function ay(){this.visibilityState==="hidden"&&$a&&(bi=!0)}function sy(e){e.addEventListener("keydown",iy,!0),e.addEventListener("mousedown",la,!0),e.addEventListener("pointerdown",la,!0),e.addEventListener("touchstart",la,!0),e.addEventListener("visibilitychange",ay,!0)}function ly(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return bi||oy(t)}function bf(){const e=z.useCallback(o=>{o!=null&&sy(o.ownerDocument)},[]),t=z.useRef(!1);function r(){return t.current?($a=!0,ry.start(100,()=>{$a=!1}),t.current=!1,!0):!1}function n(o){return ly(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function _f(e,t){const r=u._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=u._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=u._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=_f(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function uy(e){const t=We(e);return t.body===e?Ln(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Mn(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function mu(e){return parseInt(Ln(e).getComputedStyle(e).paddingRight,10)||0}function cy(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function gu(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,l=!cy(a);s&&l&&Mn(a,o)})}function ua(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function dy(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(uy(n)){const a=cf(We(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${mu(n)+a}px`;const s=We(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${mu(l)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=We(n).body;else{const a=n.parentElement,s=Ln(n);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function fy(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class py{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&Mn(t.modalRef,!1);const o=fy(r);gu(r,t.mount,t.modalRef,o,!0);const i=ua(this.containers,a=>a.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=ua(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=dy(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=ua(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Mn(t.modalRef,r),gu(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&Mn(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const hy=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function my(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function gy(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function vy(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||gy(e))}function yy(e){const t=[],r=[];return Array.from(e.querySelectorAll(hy)).forEach((n,o)=>{const i=my(n);i===-1||!vy(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function by(){return!0}function Xo(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=yy,isEnabled:a=by,open:s}=e,l=z.useRef(!1),c=z.useRef(null),p=z.useRef(null),h=z.useRef(null),d=z.useRef(null),m=z.useRef(!1),g=z.useRef(null),v=Ve(t.ref,g),y=z.useRef(null);z.useEffect(()=>{!s||!g.current||(m.current=!r)},[r,s]),z.useEffect(()=>{if(!s||!g.current)return;const _=We(g.current);return g.current.contains(_.activeElement)||(g.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
73
+ `)),g.current.setAttribute("tabIndex","-1")),m.current&&g.current.focus()),()=>{o||(h.current&&h.current.focus&&(l.current=!0,h.current.focus()),h.current=null)}},[s]),z.useEffect(()=>{if(!s||!g.current)return;const _=We(g.current),x=S=>{y.current=S,!(n||!a()||S.key!=="Tab")&&_.activeElement===g.current&&S.shiftKey&&(l.current=!0,p.current&&p.current.focus())},b=()=>{const S=g.current;if(S===null)return;if(!_.hasFocus()||!a()||l.current){l.current=!1;return}if(S.contains(_.activeElement)||n&&_.activeElement!==c.current&&_.activeElement!==p.current)return;if(_.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!m.current)return;let O=[];if((_.activeElement===c.current||_.activeElement===p.current)&&(O=i(g.current)),O.length>0){var M,D;const R=!!((M=y.current)!=null&&M.shiftKey&&((D=y.current)==null?void 0:D.key)==="Tab"),T=O[0],A=O[O.length-1];typeof T!="string"&&typeof A!="string"&&(R?A.focus():T.focus())}else S.focus()};_.addEventListener("focusin",b),_.addEventListener("keydown",x,!0);const C=setInterval(()=>{_.activeElement&&_.activeElement.tagName==="BODY"&&b()},50);return()=>{clearInterval(C),_.removeEventListener("focusin",b),_.removeEventListener("keydown",x,!0)}},[r,n,o,a,s,i]);const w=_=>{h.current===null&&(h.current=_.relatedTarget),m.current=!0,d.current=_.target;const x=t.props.onFocus;x&&x(_)},E=_=>{h.current===null&&(h.current=_.relatedTarget),m.current=!0};return te.jsxs(z.Fragment,{children:[te.jsx("div",{tabIndex:s?0:-1,onFocus:E,ref:c,"data-testid":"sentinelStart"}),z.cloneElement(t,{ref:v,onFocus:w}),te.jsx("div",{tabIndex:s?0:-1,onFocus:E,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Xo.propTypes={children:fr,disableAutoFocus:f.bool,disableEnforceFocus:f.bool,disableRestoreFocus:f.bool,getTabbable:f.func,isEnabled:f.func,open:f.bool.isRequired});process.env.NODE_ENV!=="production"&&(Xo.propTypes=Ms(Xo.propTypes));function _y(e){return typeof e=="function"?e():e}const Hn=z.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=z.useState(null),l=Ve(z.isValidElement(n)?n.ref:null,r);if(cr(()=>{i||s(_y(o)||document.body)},[o,i]),cr(()=>{if(a&&!i)return Ma(r,a),()=>{Ma(r,null)}},[r,a,i]),i){if(z.isValidElement(n)){const c={ref:l};return z.cloneElement(n,c)}return te.jsx(z.Fragment,{children:n})}return te.jsx(z.Fragment,{children:a&&sm.createPortal(n,a)})});process.env.NODE_ENV!=="production"&&(Hn.propTypes={children:f.node,container:f.oneOfType([Ot,f.func]),disablePortal:f.bool});process.env.NODE_ENV!=="production"&&(Hn.propTypes=Ms(Hn.propTypes));const xy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],wy={entering:{opacity:1},entered:{opacity:1}},Ds=z.forwardRef(function(t,r){const n=Jn(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:p,onEntered:h,onEntering:d,onExit:m,onExited:g,onExiting:v,style:y,timeout:w=o,TransitionComponent:E=Et}=t,_=ae(t,xy),x=z.useRef(null),b=Ve(x,s.ref,r),C=I=>P=>{if(I){const N=x.current;P===void 0?I(N):I(N,P)}},S=C(d),O=C((I,P)=>{const N=Yo({style:y,timeout:w,easing:l},{mode:"enter"});I.style.webkitTransition=n.transitions.create("opacity",N),I.style.transition=n.transitions.create("opacity",N),p&&p(I,P)}),M=C(h),D=C(v),R=C(I=>{const P=Yo({style:y,timeout:w,easing:l},{mode:"exit"});I.style.webkitTransition=n.transitions.create("opacity",P),I.style.transition=n.transitions.create("opacity",P),m&&m(I)}),T=C(g),A=I=>{i&&i(x.current,I)};return te.jsx(E,u._extends({appear:a,in:c,nodeRef:x,onEnter:O,onEntered:M,onEntering:S,onExit:R,onExited:T,onExiting:D,addEndListener:A,timeout:w},_,{children:(I,P)=>z.cloneElement(s,u._extends({style:u._extends({opacity:0,visibility:I==="exited"&&!c?"hidden":void 0},wy[I],y,s.props.style),ref:b},P))}))});process.env.NODE_ENV!=="production"&&(Ds.propTypes={addEndListener:f.func,appear:f.bool,children:fr.isRequired,easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});function Cy(e){return Ee("MuiBackdrop",e)}we("MuiBackdrop",["root","invisible"]);const Ty=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Ey=e=>{const{classes:t,invisible:r}=e;return De({root:["root",r&&"invisible"]},Cy,t)},Sy=le("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>u._extends({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"})),ks=z.forwardRef(function(t,r){var n,o,i;const a=Re({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:p={},componentsProps:h={},invisible:d=!1,open:m,slotProps:g={},slots:v={},TransitionComponent:y=Ds,transitionDuration:w}=a,E=ae(a,Ty),_=u._extends({},a,{component:c,invisible:d}),x=Ey(_),b=(n=g.root)!=null?n:h.root;return te.jsx(y,u._extends({in:m,timeout:w},E,{children:te.jsx(Sy,u._extends({"aria-hidden":!0},b,{as:(o=(i=v.root)!=null?i:p.Root)!=null?o:c,className:se(x.root,l,b==null?void 0:b.className),ownerState:u._extends({},_,b==null?void 0:b.ownerState),classes:x,ref:r,children:s}))}))});process.env.NODE_ENV!=="production"&&(ks.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,components:f.shape({Root:f.elementType}),componentsProps:f.shape({root:f.object}),invisible:f.bool,open:f.bool.isRequired,slotProps:f.shape({root:f.object}),slots:f.shape({root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),TransitionComponent:f.elementType,transitionDuration:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});function Ry(e){return typeof e=="function"?e():e}function Oy(e){return e?e.props.hasOwnProperty("in"):!1}const My=new py;function Py(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=My,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:p,rootRef:h}=e,d=z.useRef({}),m=z.useRef(null),g=z.useRef(null),v=Ve(g,h),[y,w]=z.useState(!p),E=Oy(l);let _=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(_=!1);const x=()=>We(m.current),b=()=>(d.current.modalRef=g.current,d.current.mount=m.current,d.current),C=()=>{o.mount(b(),{disableScrollLock:n}),g.current&&(g.current.scrollTop=0)},S=Rt(()=>{const N=Ry(t)||x().body;o.add(b(),N),g.current&&C()}),O=z.useCallback(()=>o.isTopModal(b()),[o]),M=Rt(N=>{m.current=N,N&&(p&&O()?C():g.current&&Mn(g.current,_))}),D=z.useCallback(()=>{o.remove(b(),_)},[_,o]);z.useEffect(()=>()=>{D()},[D]),z.useEffect(()=>{p?S():(!E||!i)&&D()},[p,D,E,i,S]);const R=N=>H=>{var B;(B=N.onKeyDown)==null||B.call(N,H),!(H.key!=="Escape"||H.which===229||!O())&&(r||(H.stopPropagation(),c&&c(H,"escapeKeyDown")))},T=N=>H=>{var B;(B=N.onClick)==null||B.call(N,H),H.target===H.currentTarget&&c&&c(H,"backdropClick")};return{getRootProps:(N={})=>{const H=Ad(e);delete H.onTransitionEnter,delete H.onTransitionExited;const B=u._extends({},H,N);return u._extends({role:"presentation"},B,{onKeyDown:R(B),ref:v})},getBackdropProps:(N={})=>{const H=N;return u._extends({"aria-hidden":!0},H,{onClick:T(H),open:p})},getTransitionProps:()=>{const N=()=>{w(!1),a&&a()},H=()=>{w(!0),s&&s(),i&&D()};return{onEnter:Na(N,l==null?void 0:l.props.onEnter),onExited:Na(H,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:M,isTopModal:O,exited:y,hasTransition:E}}function Dy(e){return Ee("MuiModal",e)}we("MuiModal",["root","hidden","backdrop"]);const ky=["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"],Ay=e=>{const{open:t,exited:r,classes:n}=e;return De({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Dy,n)},Iy=le("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>u._extends({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Ny=le(ks,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),As=z.forwardRef(function(t,r){var n,o,i,a,s,l;const c=Re({name:"MuiModal",props:t}),{BackdropComponent:p=Ny,BackdropProps:h,className:d,closeAfterTransition:m=!1,children:g,container:v,component:y,components:w={},componentsProps:E={},disableAutoFocus:_=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:C=!1,disableRestoreFocus:S=!1,disableScrollLock:O=!1,hideBackdrop:M=!1,keepMounted:D=!1,onBackdropClick:R,open:T,slotProps:A,slots:I}=c,P=ae(c,ky),N=u._extends({},c,{closeAfterTransition:m,disableAutoFocus:_,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:C,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:M,keepMounted:D}),{getRootProps:H,getBackdropProps:B,getTransitionProps:L,portalRef:k,isTopModal:$,exited:V,hasTransition:j}=Py(u._extends({},N,{rootRef:r})),W=u._extends({},N,{exited:V}),U=Ay(W),Y={};if(g.props.tabIndex===void 0&&(Y.tabIndex="-1"),j){const{onEnter:ne,onExited:Z}=L();Y.onEnter=ne,Y.onExited=Z}const K=(n=(o=I==null?void 0:I.root)!=null?o:w.Root)!=null?n:Iy,X=(i=(a=I==null?void 0:I.backdrop)!=null?a:w.Backdrop)!=null?i:p,Q=(s=A==null?void 0:A.root)!=null?s:E.root,ee=(l=A==null?void 0:A.backdrop)!=null?l:E.backdrop,re=Wt({elementType:K,externalSlotProps:Q,externalForwardedProps:P,getSlotProps:H,additionalProps:{ref:r,as:y},ownerState:W,className:se(d,Q==null?void 0:Q.className,U==null?void 0:U.root,!W.open&&W.exited&&(U==null?void 0:U.hidden))}),G=Wt({elementType:X,externalSlotProps:ee,additionalProps:h,getSlotProps:ne=>B(u._extends({},ne,{onClick:Z=>{R&&R(Z),ne!=null&&ne.onClick&&ne.onClick(Z)}})),className:se(ee==null?void 0:ee.className,h==null?void 0:h.className,U==null?void 0:U.backdrop),ownerState:W});return!D&&!T&&(!j||V)?null:te.jsx(Hn,{ref:k,container:v,disablePortal:C,children:te.jsxs(K,u._extends({},re,{children:[!M&&p?te.jsx(X,u._extends({},G)):null,te.jsx(Xo,{disableEnforceFocus:x,disableAutoFocus:_,disableRestoreFocus:S,isEnabled:$,open:T,children:z.cloneElement(g,Y)})]}))})});process.env.NODE_ENV!=="production"&&(As.propTypes={BackdropComponent:f.elementType,BackdropProps:f.object,children:fr.isRequired,classes:f.object,className:f.string,closeAfterTransition:f.bool,component:f.elementType,components:f.shape({Backdrop:f.elementType,Root:f.elementType}),componentsProps:f.shape({backdrop:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),container:f.oneOfType([Ot,f.func]),disableAutoFocus:f.bool,disableEnforceFocus:f.bool,disableEscapeKeyDown:f.bool,disablePortal:f.bool,disableRestoreFocus:f.bool,disableScrollLock:f.bool,hideBackdrop:f.bool,keepMounted:f.bool,onBackdropClick:f.func,onClose:f.func,onTransitionEnter:f.func,onTransitionExited:f.func,open:f.bool.isRequired,slotProps:f.shape({backdrop:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({backdrop:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});const vu=e=>{let t;return e<1?t=5.11916*Qe(e,2):t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function $y(e){return Ee("MuiPaper",e)}we("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 Ly=["className","component","elevation","square","variant"],Fy=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return De(i,$y,o)},Hy=le("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return u._extends({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},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&u._extends({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Pe("#fff",vu(t.elevation))}, ${Pe("#fff",vu(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),_i=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,c=ae(n,Ly),p=u._extends({},n,{component:i,elevation:a,square:s,variant:l}),h=Fy(p);return process.env.NODE_ENV!=="production"&&Jn().shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
74
+ `)),te.jsx(Hy,u._extends({as:i,ownerState:p,className:se(h.root,o),ref:r},c))});process.env.NODE_ENV!=="production"&&(_i.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,elevation:Ut(yt,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["elevation","outlined"]),f.string])});function By(e){return Ee("MuiPopover",e)}we("MuiPopover",["root","paper"]);const jy=["onEntering"],zy=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Wy=["slotProps"];function yu(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function bu(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function _u(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function $o(e){return typeof e=="function"?e():e}const Vy=e=>{const{classes:t}=e;return De({root:["root"],paper:["paper"]},By,t)},Uy=le(As,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xf=le(_i,{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}),xi=z.forwardRef(function(t,r){var n,o,i;const a=Re({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:h="anchorEl",children:d,className:m,container:g,elevation:v=8,marginThreshold:y=16,open:w,PaperProps:E={},slots:_,slotProps:x,transformOrigin:b={vertical:"top",horizontal:"left"},TransitionComponent:C=Fn,transitionDuration:S="auto",TransitionProps:{onEntering:O}={},disableScrollLock:M=!1}=a,D=ae(a.TransitionProps,jy),R=ae(a,zy),T=(n=x==null?void 0:x.paper)!=null?n:E,A=z.useRef(),I=Ve(A,T.ref),P=u._extends({},a,{anchorOrigin:c,anchorReference:h,elevation:v,marginThreshold:y,externalPaperSlotProps:T,transformOrigin:b,TransitionComponent:C,transitionDuration:S,TransitionProps:D}),N=Vy(P),H=z.useCallback(()=>{if(h==="anchorPosition")return process.env.NODE_ENV!=="production"&&(p||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),p;const ne=$o(l),Z=ne&&ne.nodeType===1?ne:We(A.current).body,oe=Z.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const de=Z.getBoundingClientRect();process.env.NODE_ENV!=="test"&&de.top===0&&de.left===0&&de.right===0&&de.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
75
+ `))}return{top:oe.top+yu(oe,c.vertical),left:oe.left+bu(oe,c.horizontal)}},[l,c.horizontal,c.vertical,p,h]),B=z.useCallback(ne=>({vertical:yu(ne,b.vertical),horizontal:bu(ne,b.horizontal)}),[b.horizontal,b.vertical]),L=z.useCallback(ne=>{const Z={width:ne.offsetWidth,height:ne.offsetHeight},oe=B(Z);if(h==="none")return{top:null,left:null,transformOrigin:_u(oe)};const de=H();let pe=de.top-oe.vertical,ce=de.left-oe.horizontal;const Ne=pe+Z.height,Ce=ce+Z.width,$e=Ln($o(l)),Le=$e.innerHeight-y,ye=$e.innerWidth-y;if(y!==null&&pe<y){const be=pe-y;pe-=be,oe.vertical+=be}else if(y!==null&&Ne>Le){const be=Ne-Le;pe-=be,oe.vertical+=be}if(process.env.NODE_ENV!=="production"&&Z.height>Le&&Z.height&&Le&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${Z.height-Le}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
76
+ `)),y!==null&&ce<y){const be=ce-y;ce-=be,oe.horizontal+=be}else if(Ce>ye){const be=Ce-ye;ce-=be,oe.horizontal+=be}return{top:`${Math.round(pe)}px`,left:`${Math.round(ce)}px`,transformOrigin:_u(oe)}},[l,h,H,B,y]),[k,$]=z.useState(w),V=z.useCallback(()=>{const ne=A.current;if(!ne)return;const Z=L(ne);Z.top!==null&&(ne.style.top=Z.top),Z.left!==null&&(ne.style.left=Z.left),ne.style.transformOrigin=Z.transformOrigin,$(!0)},[L]);z.useEffect(()=>(M&&window.addEventListener("scroll",V),()=>window.removeEventListener("scroll",V)),[l,M,V]);const j=(ne,Z)=>{O&&O(ne,Z),V()},W=()=>{$(!1)};z.useEffect(()=>{w&&V()}),z.useImperativeHandle(s,()=>w?{updatePosition:()=>{V()}}:null,[w,V]),z.useEffect(()=>{if(!w)return;const ne=F1(()=>{V()}),Z=Ln(l);return Z.addEventListener("resize",ne),()=>{ne.clear(),Z.removeEventListener("resize",ne)}},[l,w,V]);let U=S;S==="auto"&&!C.muiSupportAuto&&(U=void 0);const Y=g||(l?We($o(l)).body:void 0),K=(o=_==null?void 0:_.root)!=null?o:Uy,X=(i=_==null?void 0:_.paper)!=null?i:xf,Q=Wt({elementType:X,externalSlotProps:u._extends({},T,{style:k?T.style:u._extends({},T.style,{opacity:0})}),additionalProps:{elevation:v,ref:I},ownerState:P,className:se(N.paper,T==null?void 0:T.className)}),ee=Wt({elementType:K,externalSlotProps:(x==null?void 0:x.root)||{},externalForwardedProps:R,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:Y,open:w},ownerState:P,className:se(N.root,m)}),{slotProps:re}=ee,G=ae(ee,Wy);return te.jsx(K,u._extends({},G,!kd(K)&&{slotProps:re,disableScrollLock:M},{children:te.jsx(C,u._extends({appear:!0,in:w,onEntering:j,onExited:W,timeout:U},D,{children:te.jsx(X,u._extends({},Q,{children:d}))}))}))});process.env.NODE_ENV!=="production"&&(xi.propTypes={action:Qn,anchorEl:Ut(f.oneOfType([Ot,f.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=$o(e.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
77
+ `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
78
+ `))}return null}),anchorOrigin:f.shape({horizontal:f.oneOfType([f.oneOf(["center","left","right"]),f.number]).isRequired,vertical:f.oneOfType([f.oneOf(["bottom","center","top"]),f.number]).isRequired}),anchorPosition:f.shape({left:f.number.isRequired,top:f.number.isRequired}),anchorReference:f.oneOf(["anchorEl","anchorPosition","none"]),children:f.node,classes:f.object,className:f.string,container:f.oneOfType([Ot,f.func]),disableScrollLock:f.bool,elevation:yt,marginThreshold:f.number,onClose:f.func,open:f.bool.isRequired,PaperProps:f.shape({component:ff}),slotProps:f.shape({paper:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({paper:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transformOrigin:f.shape({horizontal:f.oneOfType([f.oneOf(["center","left","right"]),f.number]).isRequired,vertical:f.oneOfType([f.oneOf(["bottom","center","top"]),f.number]).isRequired}),TransitionComponent:f.elementType,transitionDuration:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})]),TransitionProps:f.object});function qy(e){return Ee("MuiMenu",e)}we("MuiMenu",["root","paper","list"]);const Gy=["onEntering"],Yy=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Xy={vertical:"top",horizontal:"right"},Ky={vertical:"top",horizontal:"left"},Qy=e=>{const{classes:t}=e;return De({root:["root"],paper:["paper"],list:["list"]},qy,t)},Zy=le(xi,{shouldForwardProp:e=>Kn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Jy=le(xf,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),eb=le(Ss,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),wi=z.forwardRef(function(t,r){var n,o;const i=Re({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:p={},onClose:h,open:d,PaperProps:m={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:y}={},variant:w="selectedMenu",slots:E={},slotProps:_={}}=i,x=ae(i.TransitionProps,Gy),b=ae(i,Yy),C=ys(),S=u._extends({},i,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:p,onEntering:y,PaperProps:m,transitionDuration:v,TransitionProps:x,variant:w}),O=Qy(S),M=a&&!c&&d,D=z.useRef(null),R=(B,L)=>{D.current&&D.current.adjustStyleForScrollbar(B,{direction:C?"rtl":"ltr"}),y&&y(B,L)},T=B=>{B.key==="Tab"&&(B.preventDefault(),h&&h(B,"tabKeyDown"))};let A=-1;z.Children.map(s,(B,L)=>{z.isValidElement(B)&&(process.env.NODE_ENV!=="production"&&Nn.isFragment(B)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
79
+ `)),B.props.disabled||(w==="selectedMenu"&&B.props.selected||A===-1)&&(A=L))});const I=(n=E.paper)!=null?n:Jy,P=(o=_.paper)!=null?o:m,N=Wt({elementType:E.root,externalSlotProps:_.root,ownerState:S,className:[O.root,l]}),H=Wt({elementType:I,externalSlotProps:P,ownerState:S,className:O.paper});return te.jsx(Zy,u._extends({onClose:h,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Xy:Ky,slots:{paper:I,root:E.root},slotProps:{root:N,paper:H},open:d,ref:r,transitionDuration:v,TransitionProps:u._extends({onEntering:R},x),ownerState:S},b,{classes:g,children:te.jsx(eb,u._extends({onKeyDown:T,actions:D,autoFocus:a&&(A===-1||c),autoFocusItem:M,variant:w},p,{className:se(O.list,p.className),children:s}))}))});process.env.NODE_ENV!=="production"&&(wi.propTypes={anchorEl:f.oneOfType([Ot,f.func]),autoFocus:f.bool,children:f.node,classes:f.object,className:f.string,disableAutoFocusItem:f.bool,MenuListProps:f.object,onClose:f.func,open:f.bool.isRequired,PaperProps:f.object,PopoverClasses:f.object,slotProps:f.shape({paper:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({paper:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transitionDuration:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})]),TransitionProps:f.object,variant:f.oneOf(["menu","selectedMenu"])});const tb=({children:e,open:t,position:r,onClose:n})=>{const{themeSettings:o}=u.useThemeContext();return u.jsx(wi,{MenuListProps:{dense:!0,sx:{paddingTop:0,paddingBottom:0,fontFamily:o.typography.fontFamily}},anchorReference:"anchorPosition",anchorPosition:r!=null?r:{left:0,top:0},disableEnforceFocus:!0,disableRestoreFocus:!0,open:t,onClose:n,slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:o.typography.fontFamily}}},children:e})};function wf(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[p,h]=z.useState(!1),d=se(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},g=se(r.child,p&&r.childLeaving,n&&r.childPulsate);return!s&&!p&&h(!0),z.useEffect(()=>{if(!s&&l!=null){const v=setTimeout(l,c);return()=>{clearTimeout(v)}}},[l,s,c]),te.jsx("span",{className:d,style:m,children:te.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(wf.propTypes={classes:f.object.isRequired,className:f.string,in:f.bool,onExited:f.func,pulsate:f.bool,rippleSize:f.number,rippleX:f.number,rippleY:f.number,timeout:f.number.isRequired});const it=we("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rb=["center","classes","className"];let Ci=e=>e,xu,wu,Cu,Tu;const La=550,nb=80,ob=u.keyframes(xu||(xu=Ci`
80
+ 0% {
81
+ transform: scale(0);
82
+ opacity: 0.1;
83
+ }
84
+
85
+ 100% {
86
+ transform: scale(1);
87
+ opacity: 0.3;
88
+ }
89
+ `)),ib=u.keyframes(wu||(wu=Ci`
90
+ 0% {
91
+ opacity: 1;
92
+ }
93
+
94
+ 100% {
95
+ opacity: 0;
96
+ }
97
+ `)),ab=u.keyframes(Cu||(Cu=Ci`
98
+ 0% {
99
+ transform: scale(1);
100
+ }
101
+
102
+ 50% {
103
+ transform: scale(0.92);
104
+ }
105
+
106
+ 100% {
107
+ transform: scale(1);
108
+ }
109
+ `)),sb=le("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),lb=le(wf,{name:"MuiTouchRipple",slot:"Ripple"})(Tu||(Tu=Ci`
110
+ opacity: 0;
111
+ position: absolute;
112
+
113
+ &.${0} {
114
+ opacity: 0.3;
115
+ transform: scale(1);
116
+ animation-name: ${0};
117
+ animation-duration: ${0}ms;
118
+ animation-timing-function: ${0};
119
+ }
120
+
121
+ &.${0} {
122
+ animation-duration: ${0}ms;
123
+ }
124
+
125
+ & .${0} {
126
+ opacity: 1;
127
+ display: block;
128
+ width: 100%;
129
+ height: 100%;
130
+ border-radius: 50%;
131
+ background-color: currentColor;
132
+ }
133
+
134
+ & .${0} {
135
+ opacity: 0;
136
+ animation-name: ${0};
137
+ animation-duration: ${0}ms;
138
+ animation-timing-function: ${0};
139
+ }
140
+
141
+ & .${0} {
142
+ position: absolute;
143
+ /* @noflip */
144
+ left: 0px;
145
+ top: 0;
146
+ animation-name: ${0};
147
+ animation-duration: 2500ms;
148
+ animation-timing-function: ${0};
149
+ animation-iteration-count: infinite;
150
+ animation-delay: 200ms;
151
+ }
152
+ `),it.rippleVisible,ob,La,({theme:e})=>e.transitions.easing.easeInOut,it.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,it.child,it.childLeaving,ib,La,({theme:e})=>e.transitions.easing.easeInOut,it.childPulsate,ab,({theme:e})=>e.transitions.easing.easeInOut),Cf=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=ae(n,rb),[l,c]=z.useState([]),p=z.useRef(0),h=z.useRef(null);z.useEffect(()=>{h.current&&(h.current(),h.current=null)},[l]);const d=z.useRef(!1),m=Dr(),g=z.useRef(null),v=z.useRef(null),y=z.useCallback(x=>{const{pulsate:b,rippleX:C,rippleY:S,rippleSize:O,cb:M}=x;c(D=>[...D,te.jsx(lb,{classes:{ripple:se(i.ripple,it.ripple),rippleVisible:se(i.rippleVisible,it.rippleVisible),ripplePulsate:se(i.ripplePulsate,it.ripplePulsate),child:se(i.child,it.child),childLeaving:se(i.childLeaving,it.childLeaving),childPulsate:se(i.childPulsate,it.childPulsate)},timeout:La,pulsate:b,rippleX:C,rippleY:S,rippleSize:O},p.current)]),p.current+=1,h.current=M},[i]),w=z.useCallback((x={},b={},C=()=>{})=>{const{pulsate:S=!1,center:O=o||b.pulsate,fakeElement:M=!1}=b;if((x==null?void 0:x.type)==="mousedown"&&d.current){d.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(d.current=!0);const D=M?null:v.current,R=D?D.getBoundingClientRect():{width:0,height:0,left:0,top:0};let T,A,I;if(O||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)T=Math.round(R.width/2),A=Math.round(R.height/2);else{const{clientX:P,clientY:N}=x.touches&&x.touches.length>0?x.touches[0]:x;T=Math.round(P-R.left),A=Math.round(N-R.top)}if(O)I=Math.sqrt((2*Qe(R.width,2)+Qe(R.height,2))/3),I%2===0&&(I+=1);else{const P=Math.max(Math.abs((D?D.clientWidth:0)-T),T)*2+2,N=Math.max(Math.abs((D?D.clientHeight:0)-A),A)*2+2;I=Math.sqrt(Qe(P,2)+Qe(N,2))}x!=null&&x.touches?g.current===null&&(g.current=()=>{y({pulsate:S,rippleX:T,rippleY:A,rippleSize:I,cb:C})},m.start(nb,()=>{g.current&&(g.current(),g.current=null)})):y({pulsate:S,rippleX:T,rippleY:A,rippleSize:I,cb:C})},[o,y,m]),E=z.useCallback(()=>{w({},{pulsate:!0})},[w]),_=z.useCallback((x,b)=>{if(m.clear(),(x==null?void 0:x.type)==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{_(x,b)});return}g.current=null,c(C=>C.length>0?C.slice(1):C),h.current=b},[m]);return z.useImperativeHandle(r,()=>({pulsate:E,start:w,stop:_}),[E,w,_]),te.jsx(sb,u._extends({className:se(it.root,i.root,a),ref:v},s,{children:te.jsx(Os,{component:null,exit:!0,children:l})}))});process.env.NODE_ENV!=="production"&&(Cf.propTypes={center:f.bool,classes:f.object,className:f.string});function ub(e){return Ee("MuiButtonBase",e)}const cb=we("MuiButtonBase",["root","disabled","focusVisible"]),db=["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"],fb=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=De({root:["root",t&&"disabled",r&&"focusVisible"]},ub,o);return r&&n&&(a.root+=` ${n}`),a},pb=le("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"},[`&.${cb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),pr=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:m="a",onBlur:g,onClick:v,onContextMenu:y,onDragLeave:w,onFocus:E,onFocusVisible:_,onKeyDown:x,onKeyUp:b,onMouseDown:C,onMouseLeave:S,onMouseUp:O,onTouchEnd:M,onTouchMove:D,onTouchStart:R,tabIndex:T=0,TouchRippleProps:A,touchRippleRef:I,type:P}=n,N=ae(n,db),H=z.useRef(null),B=z.useRef(null),L=Ve(B,I),{isFocusVisibleRef:k,onFocus:$,onBlur:V,ref:j}=bf(),[W,U]=z.useState(!1);c&&W&&U(!1),z.useImperativeHandle(o,()=>({focusVisible:()=>{U(!0),H.current.focus()}}),[]);const[Y,K]=z.useState(!1);z.useEffect(()=>{K(!0)},[]);const X=Y&&!p&&!c;z.useEffect(()=>{W&&d&&!p&&Y&&B.current.pulsate()},[p,d,W,Y]);function Q(ie,Be,Kt=h){return Rt(gt=>(Be&&Be(gt),!Kt&&B.current&&B.current[ie](gt),!0))}const ee=Q("start",C),re=Q("stop",y),G=Q("stop",w),ne=Q("stop",O),Z=Q("stop",ie=>{W&&ie.preventDefault(),S&&S(ie)}),oe=Q("start",R),de=Q("stop",M),pe=Q("stop",D),ce=Q("stop",ie=>{V(ie),k.current===!1&&U(!1),g&&g(ie)},!1),Ne=Rt(ie=>{H.current||(H.current=ie.currentTarget),$(ie),k.current===!0&&(U(!0),_&&_(ie)),E&&E(ie)}),Ce=()=>{const ie=H.current;return l&&l!=="button"&&!(ie.tagName==="A"&&ie.href)},$e=z.useRef(!1),Le=Rt(ie=>{d&&!$e.current&&W&&B.current&&ie.key===" "&&($e.current=!0,B.current.stop(ie,()=>{B.current.start(ie)})),ie.target===ie.currentTarget&&Ce()&&ie.key===" "&&ie.preventDefault(),x&&x(ie),ie.target===ie.currentTarget&&Ce()&&ie.key==="Enter"&&!c&&(ie.preventDefault(),v&&v(ie))}),ye=Rt(ie=>{d&&ie.key===" "&&B.current&&W&&!ie.defaultPrevented&&($e.current=!1,B.current.stop(ie,()=>{B.current.pulsate(ie)})),b&&b(ie),v&&ie.target===ie.currentTarget&&Ce()&&ie.key===" "&&!ie.defaultPrevented&&v(ie)});let be=l;be==="button"&&(N.href||N.to)&&(be=m);const Ue={};be==="button"?(Ue.type=P===void 0?"button":P,Ue.disabled=c):(!N.href&&!N.to&&(Ue.role="button"),c&&(Ue["aria-disabled"]=c));const He=Ve(r,j,H);process.env.NODE_ENV!=="production"&&z.useEffect(()=>{X&&!B.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
153
+ `))},[X]);const Xe=u._extends({},n,{centerRipple:i,component:l,disabled:c,disableRipple:p,disableTouchRipple:h,focusRipple:d,tabIndex:T,focusVisible:W}),Dt=fb(Xe);return te.jsxs(pb,u._extends({as:be,className:se(Dt.root,s),ownerState:Xe,onBlur:ce,onClick:v,onContextMenu:re,onFocus:Ne,onKeyDown:Le,onKeyUp:ye,onMouseDown:ee,onMouseLeave:Z,onMouseUp:ne,onDragLeave:G,onTouchEnd:de,onTouchMove:pe,onTouchStart:oe,ref:He,tabIndex:c?-1:T,type:P},Ue,N,{children:[a,X?te.jsx(Cf,u._extends({ref:L,center:i},A)):null]}))});process.env.NODE_ENV!=="production"&&(pr.propTypes={action:Qn,centerRipple:f.bool,children:f.node,classes:f.object,className:f.string,component:ff,disabled:f.bool,disableRipple:f.bool,disableTouchRipple:f.bool,focusRipple:f.bool,focusVisibleClassName:f.string,href:f.any,LinkComponent:f.elementType,onBlur:f.func,onClick:f.func,onContextMenu:f.func,onDragLeave:f.func,onFocus:f.func,onFocusVisible:f.func,onKeyDown:f.func,onKeyUp:f.func,onMouseDown:f.func,onMouseLeave:f.func,onMouseUp:f.func,onTouchEnd:f.func,onTouchMove:f.func,onTouchStart:f.func,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,TouchRippleProps:f.object,touchRippleRef:f.oneOfType([f.func,f.shape({current:f.shape({pulsate:f.func.isRequired,start:f.func.isRequired,stop:f.func.isRequired})})]),type:f.oneOfType([f.oneOf(["button","reset","submit"]),f.string])});function hb(e){return Ee("MuiDivider",e)}const Eu=we("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),mb=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],gb=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return De({root:["root",t&&"absolute",l,i&&"light",a==="vertical"&&"vertical",o&&"flexItem",r&&"withChildren",r&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},hb,n)},vb=le("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>u._extends({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)`:Pe(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>u._extends({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>u._extends({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>u._extends({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>u._extends({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),yb=le("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>u._extends({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),Nr=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiDivider"}),{absolute:o=!1,children:i,className:a,component:s=i?"div":"hr",flexItem:l=!1,light:c=!1,orientation:p="horizontal",role:h=s!=="hr"?"separator":void 0,textAlign:d="center",variant:m="fullWidth"}=n,g=ae(n,mb),v=u._extends({},n,{absolute:o,component:s,flexItem:l,light:c,orientation:p,role:h,textAlign:d,variant:m}),y=gb(v);return te.jsx(vb,u._extends({as:s,className:se(y.root,a),role:h,ref:r,ownerState:v},g,{children:i?te.jsx(yb,{className:y.wrapper,ownerState:v,children:i}):null}))});Nr.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(Nr.propTypes={absolute:f.bool,children:f.node,classes:f.object,className:f.string,component:f.elementType,flexItem:f.bool,light:f.bool,orientation:f.oneOf(["horizontal","vertical"]),role:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),textAlign:f.oneOf(["center","left","right"]),variant:f.oneOfType([f.oneOf(["fullWidth","inset","middle"]),f.string])});const Su=we("MuiListItemIcon",["root","alignItemsFlexStart"]);function bb(e){return Ee("MuiTypography",e)}we("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const _b=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],xb=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${fe(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return De(s,bb,a)},wb=le("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${fe(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>u._extends({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Ru={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Cb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Tb=e=>Cb[e]||e,st=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTypography"}),o=Tb(n.color),i=ws(u._extends({},n,{color:o})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:p=!1,paragraph:h=!1,variant:d="body1",variantMapping:m=Ru}=i,g=ae(i,_b),v=u._extends({},i,{align:a,color:o,className:s,component:l,gutterBottom:c,noWrap:p,paragraph:h,variant:d,variantMapping:m}),y=l||(h?"p":m[d]||Ru[d])||"span",w=xb(v);return te.jsx(wb,u._extends({as:y,ref:r,ownerState:v,className:se(w.root,s)},g))});process.env.NODE_ENV!=="production"&&(st.propTypes={align:f.oneOf(["center","inherit","justify","left","right"]),children:f.node,classes:f.object,className:f.string,component:f.elementType,gutterBottom:f.bool,noWrap:f.bool,paragraph:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),f.string]),variantMapping:f.object});const Ou=we("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Eb(e){return Ee("MuiMenuItem",e)}const mn=we("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Sb=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Rb=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},Ob=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,l=De({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},Eb,a);return u._extends({},a,l)},Mb=le(pr,{shouldForwardProp:e=>Kn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Rb})(({theme:e,ownerState:t})=>u._extends({},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"}},[`&.${mn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${mn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${mn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pe(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})`:Pe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${mn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${mn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Eu.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Eu.inset}`]:{marginLeft:52},[`& .${Ou.root}`]:{marginTop:0,marginBottom:0},[`& .${Ou.inset}`]:{paddingLeft:36},[`& .${Su.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&u._extends({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Su.root} svg`]:{fontSize:"1.25rem"}}))),Ti=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:p="menuitem",tabIndex:h,className:d}=n,m=ae(n,Sb),g=z.useContext(qo),v=z.useMemo(()=>({dense:a||g.dense||!1,disableGutters:l}),[g.dense,a,l]),y=z.useRef(null);cr(()=>{o&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const w=u._extends({},n,{dense:v.dense,divider:s,disableGutters:l}),E=Ob(n),_=Ve(y,r);let x;return n.disabled||(x=h!==void 0?h:-1),te.jsx(qo.Provider,{value:v,children:te.jsx(Mb,u._extends({ref:_,role:p,tabIndex:x,component:i,focusVisibleClassName:se(E.focusVisible,c),className:se(E.root,d)},m,{ownerState:w,classes:E}))})});process.env.NODE_ENV!=="production"&&(Ti.propTypes={autoFocus:f.bool,children:f.node,classes:f.object,className:f.string,component:f.elementType,dense:f.bool,disabled:f.bool,disableGutters:f.bool,divider:f.bool,focusVisibleClassName:f.string,role:f.string,selected:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number});const Pb=({children:e,disabled:t,style:r,className:n="",onClick:o})=>{const{themeSettings:i}=u.useThemeContext();return u.jsx("div",{className:`csdk-menu-item ${n}`,children:u.jsx(Ti,{disabled:t,sx:q({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:i.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"15px",color:u.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:u.DEFAULT_BACKGROUND_COLOR}},r),onClick:o,children:u.jsx("div",{className:"csdk-menu-item-content",children:e})})})};function Db(e){return Ee("MuiListSubheader",e)}we("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const kb=["className","color","component","disableGutters","disableSticky","inset"],Ab=e=>{const{classes:t,color:r,disableGutters:n,inset:o,disableSticky:i}=e,a={root:["root",r!=="default"&&`color${fe(r)}`,!n&&"gutters",o&&"inset",!i&&"sticky"]};return De(a,Db,t)},Ib=le("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>u._extends({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),Is=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiListSubheader"}),{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=n,p=ae(n,kb),h=u._extends({},n,{color:i,component:a,disableGutters:s,disableSticky:l,inset:c}),d=Ab(h);return te.jsx(Ib,u._extends({as:a,className:se(d.root,o),ref:r,ownerState:h},p))});Is.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(Is.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOf(["default","inherit","primary"]),component:f.elementType,disableGutters:f.bool,disableSticky:f.bool,inset:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});const Nb=({children:e})=>{const{themeSettings:t}=u.useThemeContext();return u.jsx(Is,{sx:{width:"100%",minWidth:"170px",backgroundColor:"#f2f2f2",borderBottom:"1px solid #e6e6e6",height:"29px",lineHeight:"29px",fontFamily:t.typography.fontFamily,fontSize:"13px",paddingLeft:"15px",paddingRight:"15px",color:u.DEFAULT_TEXT_COLOR},children:e})};function $b({color:e=u.DEFAULT_TEXT_COLOR}){return u.jsx("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",children:u.jsx("path",{fill:e,d:"M13.34 12.5l-2.72-3.175a.5.5 0 1 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175z"})})}const Lb=({children:e,label:t,allowOpen:r,disabled:n,style:o,className:i=""})=>{const{themeSettings:a}=u.useThemeContext(),s=F.useRef(null),l=F.useRef(null),[c,p]=F.useState(!1),h=F.useCallback(()=>{n||p(!0)},[n]),d=F.useCallback(()=>p(!1),[]),m=F.useCallback(()=>p(!0),[]),g=F.useCallback(()=>p(!1),[]),v=c&&r;return u.jsxs("div",{ref:s,className:`csdk-menu-item ${i}`,children:[u.jsx(Ti,{disabled:n,sx:q({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:a.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"0px",color:u.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:u.DEFAULT_BACKGROUND_COLOR}},o),onMouseEnter:h,onMouseLeave:d,children:u.jsxs("div",{className:"csdk-menu-item-content",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t,u.jsx($b,{})]})}),u.jsx(wi,{ref:l,style:{pointerEvents:"none"},anchorEl:s.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:v,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,MenuListProps:{sx:{paddingTop:0,paddingBottom:0}},slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:a.typography.fontFamily}}},onClose:()=>{p(!1)},onMouseEnter:m,onMouseLeave:g,children:u.jsx("div",{style:{pointerEvents:"auto"},children:e})})]})},Tf=({position:e,itemSections:t,children:r,closeContextMenu:n})=>{const[o,i]=F.useState(t),a=!!e;F.useEffect(()=>{t&&i(t)},[t]);const s=F.useCallback((l,c)=>{const{sectionTitle:p,items:h=[]}=l;return u.jsxs("div",{className:"csdk-menu-section",children:[p&&u.jsx(Nb,{children:p}),h.map((d,m)=>{const{subItems:g}=d;return g&&g.length?u.jsx(Lb,{label:d.caption,allowOpen:a,style:d.style,className:d.class,children:g.map(s)},m):u.jsx(Pb,{disabled:d.disabled,style:d.style,className:d.class,onClick:()=>{var y;n(),(y=d.onClick)==null||y.call(d)},children:d.caption},m)})]},c!=null?c:p)},[n,a]);return u.jsx(u.Fragment,{children:u.jsxs(tb,{position:e!=null?e:null,open:a,onClose:n,children:[o==null?void 0:o.map(s),r]})})},Fb=({children:e,onBeforeMenuOpen:t})=>{const[r,n]=F.useState(null),o=F.useCallback(l=>{const c=t?t(l):l;c&&n(c)},[t]),i=F.useCallback(()=>{n(null)},[]),a=F.useCallback(()=>{var l;(l=r==null?void 0:r.onClose)==null||l.call(r),i()},[i,r]),s=F.useMemo(()=>({openMenu:o,closeMenu:i}),[o,i]);return u.jsxs(gs.Provider,{value:s,children:[u.jsx(Tf,{position:r==null?void 0:r.position,itemSections:r==null?void 0:r.itemSections,closeContextMenu:a}),e]})},Hb=({children:e,onBeforeMenuOpen:t})=>{const r=li(),n=F.useCallback(a=>{const s=t?t(a):a;s&&(r==null||r.openMenu(s))},[t,r]),o=F.useCallback(()=>{r==null||r.closeMenu()},[r]),i={openMenu:n,closeMenu:o};return u.jsx(gs.Provider,{value:i,children:e})},Ef=({children:e,onBeforeMenuOpen:t})=>li()?t?u.jsx(Hb,{onBeforeMenuOpen:t,children:e}):u.jsx(u.Fragment,{children:e}):u.jsx(Fb,{onBeforeMenuOpen:t,children:e}),Bb=({shouldHaveOwnMenuRoot:e}={})=>t=>function(n){const i=!!li();return e&&!i?u.jsx(Ef,{children:u.jsx(t,q({},n))}):u.jsx(t,q({},n))},jb=e=>t=>(t.displayName=e,t),eo=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:r,trackingConfig:n={},customContextErrorMessageKey:o,shouldHaveOwnMenuRoot:i}=e;return a=>u.flow(jb(t),qm({shouldSkipSisenseContextWaiting:r,customContextErrorMessageKey:o}),Bm({componentName:t,config:n}),Um({componentName:t}),Xm(),Bb({shouldHaveOwnMenuRoot:i}))(a)};class to{degToRad(t){return t*Math.PI/180}getFitStringMeasure(t,r,n,o){t.font=o;let i=this.getStringWidth(t,r);const a="…",s=this.getStringWidth(t,a);if(i<=n)return{string:r,width:i};if(s>=n)return{string:a,width:s};do r=r.slice(0,r.length-1),i=this.getStringWidth(t,r);while(i+s>n);return{string:r+a,width:i+s}}getStringWidth(t,r){return Math.ceil(t.measureText(r).width)}floor(t,r){r=typeof r=="number"?r:0;const n=Math.pow(10,r);return Math.round(t*n)/n}setCanvasSizes(t,r,n,o){const i=window.devicePixelRatio||1;t.width=n*i,t.height=o*i,t.style.width=n+"px",t.style.height=o+"px",r.scale(i,i)}}const Rr=new to,rr=function(e,t){return Rr.floor(e*t.value,t.decimals)};function zb(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function Wb(e,t,r){const{showTitle:n,showSecondary:o,skin:i,maxHeight:a,maxWidth:s,borderWidth:l}=r;for(let c=0;c<t.length;c++){const p=t[c],h=p.value,d=rr(h,e.valueSectionMarginBottom),g=rr(h,e.indicatorVerticalMargin)*2;let v=h+d+g;if(n&&i==="vertical"){const y=rr(h,e.titleSectionHeight);v+=y}if(o){const y=rr(h,e.secSectionHeight),w=rr(h,e.secSectionMarginTop);v+=y+w+(l||0)}if(v<=a){const y=rr(h,e.numericMinWidth),E=rr(h,e.indicatorHorizontalMargin)*2;if(y+E<=s)return J(q({},p),{maxWidth:s-E,maxHeight:a-g})}}return null}class Vb{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),p=zb(s,a);return Wb(p,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,skin:t.skin,borderWidth:"borderWidth"in o?o.borderWidth:0})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,a=n.height,n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=r.skin==="vertical"?n.titleSectionHeight:0),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.valueSectionMarginBottom+n.secSectionHeight+n.secSectionMarginTop+n.borderWidth);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,Rr.setCanvasSizes(t,i,s,a),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=r.skin==="horizontal",i=n.maxWidth-(o?n.fitValueMeasure.width+n.valueSectionMarginRight:0);if(o&&i+n.titleSectionMinWidth<=0)return;const a=Rr.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o?n.valueSectionMarginRight:0,a.key="title",a}getFitValueMeasure(t,r,n){const o=Rr.getFitStringMeasure(t,r.value.text,n.maxWidth,n.valueFont);return o.key="value",o}getFitSecondaryMeasure(t,r,n){const o=n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=Rr.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=Rr.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n;const o=r.fitTitleMeasure,i=r.fitValueMeasure,a=r.fitSecondaryMeasure;if(r.fitMeasures.some(l=>{const c=r[l.key],p=t[l.dataKey];return!!(c&&p&&c[l.prop]!==p.text)}))return r.maxWidth;if(t.skin==="vertical"){let c=o&&o.width>i.width?o:i;c=a&&a.width>c.width?a:c,n=c.width}else n=i.width,o&&(n+=o.width),a&&a.width>n&&(n=a.width);return n}draw(t,r,n){this.clearCanvas(t,n),this.drawValue(t,r,n),r.showTitle&&this.drawTitle(t,r,n),r.showSecondary&&this.drawSecondary(t,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r,n){!n.fitTitleMeasure||r.skin==="horizontal"&&n.fitValueMeasure.string!==r[n.fitValueMeasure.key].text||(t.font=n.titleFont,t.fillStyle=n.titleColor,r.skin==="vertical"?(t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2)):(t.textAlign="left",t.textBaseline="top",t.fillText(n.fitTitleMeasure.string,n.fitValueMeasure.width+n.valueSectionMarginRight,n.titleSectionMarginTop)))}drawValue(t,r,n){const o=r.skin==="vertical";t.fillStyle=n.valueColor||r.color,t.font=n.valueFont,t.textAlign=o?"center":"left",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,o?n.width/2:0,(r.showTitle&&o?n.titleSectionHeight:0)+n.valueSectionHeight/2)}drawSecondary(t,r){let n=r.height-r.secSectionHeight/2;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="middle",t.fillText(r.fitSecondaryMeasure.titleString,0,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.fillText(r.fitSecondaryMeasure.valueString,r.width,n),t.strokeStyle=r.borderColor,t.beginPath(),n=r.height-r.secSectionHeight-r.secSectionMarginTop-r.borderWidth,t.moveTo(0,n),t.lineTo(r.width,n),t.stroke()}}const Or=new to,To=function(e,t){return Or.floor(e*t.value,t.decimals)};function Ub(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function qb(e,t,r){const{showTitle:n,showSecondary:o,maxHeight:i,maxWidth:a,bracketThickness:s}=r;for(let l=0;l<t.length;l++){const c=t[l],p=c.value,h=To(p,e.indicatorMargin);let d=p+h;if(n){const m=To(p,e.titleSectionHeight);d+=m}if(o){const m=To(p,e.secSectionHeight);d+=m}if(d<=i){const m=To(p,e.numericMinWidth),g=h*2;if(m+s*2+g<=a)return J(q({},c),{maxWidth:a-g,maxHeight:i-h})}}return null}class Gb{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),p=Ub(s,a);return qb(p,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,bracketThickness:o.bracketThickness})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,a=n.height,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.secSectionHeight);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,Or.setCanvasSizes(t,i,s,a),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-o,a=Or.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o,a.key="title",a}getFitValueMeasure(t,r,n){const o=n.bracketThickness*2,i=n.maxWidth-o,a=Or.getFitStringMeasure(t,r.value.text,i,n.valueFont);return a.width+=o,a.key="value",a}getFitSecondaryMeasure(t,r,n){const o=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=Or.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=Or.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.numericMinWidth+r.bracketThickness*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let p;return s=c?l:s,c?p=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:p=s.string!==t[s.key].text,p?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),(r.showTitle||r.showSecondary)&&this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,r.titleSectionHeight/2),r.offsetY+=r.titleSectionHeight}drawValue(t,r,n){const o=n.offsetY;t.fillStyle=n.valueColor,t.fillRect(1,o,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,o+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){t.strokeStyle=n.bracketColor,t.beginPath(),r.showTitle?(t.moveTo(n.bracketWidth+.5,.5),t.lineTo(.5,.5)):t.moveTo(.5,.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),r.showTitle?(t.moveTo(n.width-(n.bracketWidth+.5),.5),t.lineTo(n.width-.5,.5)):t.moveTo(n.width-.5,.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}}const Se=new to,Tr=function(e,t){return Se.floor(e*t.value,t.decimals)};function Yb(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function Xb(e,t,r){const{maxWidth:n,maxHeight:o,showTitle:i,showSecondary:a}=r;for(let s=0;s<t.length;s++){const l=t[s],c=l.value,p=Tr(c,e.valueSectionHeight),h=Tr(c,e.indicatorMargin),d=Math.ceil(h*1.5);let m=c+p+d;if(i){const g=Tr(c,e.titleSectionHeight);m+=g}if(a){const g=Tr(c,e.secSectionHeight);m+=g}if(m<=o){const g=Tr(c,e.gaugeWidth),v=Tr(c,e.bracketWidth),y=h*2;if(g+v*2+y<=n)return J(q({},l),{maxWidth:n-y,maxHeight:o-d})}}return null}class Kb{getBaseMeasure(t,r,n){const o=r,i="gaugeHeights"in o?o.gaugeHeights:void 0;if(!i)return null;const a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),p=Yb(s,a);return Xb(p,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary})}render(t,r,n,o){const i=t.getContext("2d");let a=0,s;n.gaugeHeight=o.value,n.size=o.size,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,s=n.gaugeHeight+n.valueSectionHeight,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),s+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),s+=n.secSectionHeight),a=this.getCanvasWidth(r,n),n.width=a,n.height=s,Se.setCanvasSizes(t,i,a,s),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-o,a=Se.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o,a.key="title",a}getFitValueMeasure(t,r,n){const o=n.bracketThickness*2,i=n.maxWidth-o,a=Se.getFitStringMeasure(t,r.value.text,i,n.valueFont);return a.width+=o,a.key="value",a}getFitSecondaryMeasure(t,r,n){const o=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=Se.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=Se.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.gaugeWidth+r.bracketWidth*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let p;return s=c?l:s,c?p=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:p=s.string!==t[s.key].text,p?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawGauge(t,r,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,(r.titleSectionHeight-r.titleBottomMargin)/2),r.offsetY+=r.titleSectionHeight}drawGauge(t,r,n){n.gaugeCenterX=n.width/2,n.gaugeCenterY=n.offsetY+n.gaugeHeight-n.gaugeBottomMargin,n.needleAngle=this.getNeedleAngle(r,n),r.skin===2&&r.conditions&&r.conditions.length?this.drawConditionalDial(t,r,n):this.drawSimpleDial(t,r,n),r.showTicks&&n.size!=="micro"&&this.drawTicks(t,r,n),this.drawNeedle(t,n),r.showLabels&&n.size!=="micro"&&this.drawLabels(t,r,n),n.offsetY+=n.gaugeHeight}drawValue(t,r,n){t.fillStyle=n.valueColor,t.fillRect(1,n.offsetY,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,n.offsetY+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){const o=r.showTitle?(n.titleSectionHeight-n.titleBottomMargin)/2:0;t.strokeStyle=n.bracketColor,t.beginPath(),t.moveTo(n.bracketWidth+.5,o+.5),t.lineTo(.5,o+.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),t.moveTo(n.width-(n.bracketWidth+.5),o+.5),t.lineTo(n.width-.5,o+.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}getNeedleAngle(t,r){const n=+t.min.data,o=+t.max.data,i=+(t.value.data||0);return i<n?r.startAngle-r.overDegrees:i>o?r.endAngle+r.overDegrees:this.getAngle(r,i,n,o)}getAngle(t,r,n,o){const i=(t.endAngle-t.startAngle)/(o-n);return(r-n)*i+t.startAngle}drawConditionalDial(t,r,n){const o=r.conditions,i=+r.min.data,a=+r.max.data,s=Se.degToRad(n.startAngle+180),l=Se.degToRad(n.endAngle+180);let c;const p=h=>this.getAngle(n,h,i,a);for(this.drawArc(t,n,s,l,n.defaultDialColor),c=o.length-1;c>=0;c--){const h=o[c];let d=+h.data,m,g=NaN,v=NaN,y=NaN,w=NaN;const E=.25;switch(h.operator){case"<":if(d<=i)break;d=d>a?a:d,m=p(d),g=s,v=Se.degToRad(m+180);break;case">":if(d>=a)break;d=d<i?i:d,m=p(d),g=Se.degToRad(m+180),v=l;break;case"≤":if(d<i)break;d=d>a?a:d,m=p(d),g=s,v=Se.degToRad(m+(m+E<=n.endAngle?E:0)+180);break;case"≥":if(d>a)break;d=d<i?i:d,m=p(d),g=Se.degToRad(m-(m-E>=n.startAngle?E:0)+180),v=l;break;case"=":if(d<i||d>a)break;m=p(d),g=Se.degToRad(m-(m-E>=n.startAngle?E:0)+180),v=Se.degToRad(m+(m+E<=n.endAngle?E:0)+180);break;case"≠":if(d<i||d>a)g=s,v=l;else if(d===i||d===a){const _=d===i;g=Se.degToRad(n.startAngle+(_?E:0)+180),v=Se.degToRad(n.endAngle-(_?0:E)+180)}else m=p(d),g=s,v=Se.degToRad(m-(m-E>=n.startAngle?E:0)+180),y=Se.degToRad(m+(m+E<=n.endAngle?E:0)+180),w=l}!isNaN(g)&&!isNaN(v)&&this.drawArc(t,n,g,v,h.color),!isNaN(y)&&!isNaN(w)&&this.drawArc(t,n,y,w,h.color)}}drawSimpleDial(t,r,n){const o=Se.degToRad(n.startAngle+180),i=Se.degToRad(n.needleAngle+180),a=Se.degToRad(n.endAngle+180);n.needleAngle>n.startAngle&&n.needleAngle<n.endAngle?(this.drawArc(t,n,o,i,n.valueColor),t.globalAlpha=n.gaugeOpacity,this.drawArc(t,n,i,a,n.valueColor)):(n.needleAngle<=n.startAngle&&(t.globalAlpha=n.gaugeOpacity),this.drawArc(t,n,o,a,n.valueColor)),t.globalAlpha=1}drawArc(t,r,n,o,i){t.fillStyle=i,t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.outerArcRadius,n,o),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.innerArcRadius,o,n,!0),t.fill()}drawTicks(t,r,n){const o=n.startAngle,i=n.endAngle,a=n.tickDegreesIncrement,s=n.needleAngle;let l;for(l=o;l<=i;l+=a){const c=Se.degToRad(l),p=n.gaugeCenterX-n.lengthToTick*Math.cos(c),h=n.gaugeCenterY-n.lengthToTick*Math.sin(c),d=s<o,m=s>=l-a/2&&s<l+a/2,g=l===i&&s>=l;t.fillStyle=!d&&m||g?r.color:n.tickColor,t.beginPath(),t.arc(p,h,n.tickRadius,0,2*Math.PI),t.fill()}}drawNeedle(t,r){const n=Se.degToRad(r.needleAngle);t.fillStyle=r.needleColor,t.save(),t.translate(r.gaugeCenterX,r.gaugeCenterY),t.rotate(n),t.translate(-r.gaugeCenterX,-r.gaugeCenterY),t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),t.lineTo(r.gaugeCenterX-r.needleLength,r.gaugeCenterY),t.fill(),t.restore()}drawLabels(t,r,n){t.font=n.labelFont,t.fillStyle=n.labelColor,t.textAlign="right",t.textBaseline="middle",t.fillText(r.min.text,n.gaugeCenterX-n.labelMargin,n.gaugeCenterY),t.textAlign="left",t.fillText(r.max.text,n.gaugeCenterX+n.labelMargin,n.gaugeCenterY)}}const vt=new to;class Qb{render(t,r,n,o){const i=t.getContext("2d"),a=Math.floor(o.clientWidth)-n.horizontalMargin*2,s=n.sectionMinWidth;let l=0,c=0,p=0,h=0,d=0,m=0,g=0,v=0,y;if(i.font=n.valueFont,y=vt.getStringWidth(i,r.value.text),n.offsetX=0,r.title.text+=":",r.secondaryTitle&&(r.secondaryTitle.text+=":"),r.showTitle&&(i.font=n.titleFont,m=vt.getStringWidth(i,r.value.text),d=vt.getStringWidth(i,r.title.text),c=d<s?d:s,y+=c+n.textPadding),r.showSecondary&&(i.font=n.secondaryValueFont,v=vt.getStringWidth(i,r.secondary.text),h=v<s?v:s,y+=h,i.font=n.secondaryTitleFont||"",g=vt.getStringWidth(i,r.secondaryTitle.text),p=g<s?g:s,y+=p+n.horizontalPadding*2+n.dividerWidth+n.textPadding),r.type==="gauge"){const E=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const x=m+d+g+v+n.textPadding*4+E,b=a-E-x;n.barWidth=Math.max(b,n.barWidth)}const _=n.barWidth+E;y+=_,n.showTickerBar=y<=a||!0,l+=n.showTickerBar?_:0}l+=r.showTitle?n.textPadding:0,l+=r.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const w=a-l-c-p-h;if(n.fitValueMeasure=vt.getFitStringMeasure(i,r.value.text,w,n.valueFont),l+=n.fitValueMeasure.width,r.showSecondary){const E=a-l-c-p;let _;n.fitSecValueMeasure=vt.getFitStringMeasure(i,r.secondary.text,E,n.secondaryValueFont),l+=n.fitSecValueMeasure.width;const x=a-l,b=x/2;r.showTitle?d+g>x?d>b&&g>b?_=b:g>b&&d<=b?_=x-d:_=g:_=g:_=x,n.fitSecTitleMeasure=vt.getFitStringMeasure(i,r.secondaryTitle.text,_,n.secondaryTitleFont),l+=n.fitSecTitleMeasure.width}if(r.showTitle){const E=a-l;n.fitTitleMeasure=vt.getFitStringMeasure(i,r.title.text,E,n.titleFont),l+=n.fitTitleMeasure.width}n.width=l,vt.setCanvasSizes(t,i,l,n.height),this.draw(i,r,n)}draw(t,r,n){this.clearCanvas(t,n),r.type==="gauge"&&n.showTickerBar&&(this.drawTickerBar(t,r,n),this.drawDivider(t,n)),t.textBaseline="middle",r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&(this.drawDivider(t,n),this.drawSecondary(t,n))}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTickerBar(t,r,n){var c;const o=+r.min.data,i=+r.max.data,a=+(((c=r.value)==null?void 0:c.data)||0),s=Math.round((n.height-n.barHeight)/2);let l;if(t.fillStyle=n.valueColor,a<=o)t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=0;else if(a>=i)t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=n.barWidth-n.tickerBarWidth;else{const p=(a-Math.abs(o))/(i-o),h=n.barWidth*p;t.fillRect(n.offsetX,s,h,n.barHeight),t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX+h,s,n.barWidth-h,n.barHeight),h>n.barWidth-n.tickerBarWidth?l=n.barWidth-n.tickerBarWidth:h<n.tickerBarWidth?l=0:l=h-1}t.globalAlpha=1,t.fillStyle=n.barHandleColor,t.fillRect(n.offsetX+l,Math.round((n.height-n.tickerBarHeight)/2),n.tickerBarWidth,n.tickerBarHeight),n.offsetX+=n.barWidth}drawDivider(t,r){t.fillStyle=r.dividerColor,t.fillRect(r.offsetX+r.horizontalPadding,Math.round((r.height-r.dividerHeight)/2),r.dividerWidth,r.dividerHeight),r.offsetX+=r.horizontalPadding*2+r.dividerWidth}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.fillText(r.fitTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitTitleMeasure.width+r.textPadding}drawValue(t,r,n){t.font=n.valueFont,t.fillStyle=n.valueColor||r.color,t.fillText(n.fitValueMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitValueMeasure.width}drawSecondary(t,r){t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.fillText(r.fitSecTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitSecTitleMeasure.width+r.textPadding,t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.fillText(r.fitSecValueMeasure.string,r.offsetX,Math.floor(r.height/2))}}const Mu={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(0,206,230)",fontSizes:{big:66,medium:46,small:32,micro:23}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",borderColor:"rgb(215, 215, 215)",borderWidth:1,relativeSizes:[{key:"titleSectionHeight",value:.5,decimals:0},{key:"titleSectionMarginTop",value:.13,decimals:0},{key:"titleSectionMinWidth",value:.29,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"valueSectionMarginRight",value:.14,decimals:0},{key:"valueSectionMarginBottom",value:.07,decimals:0},{key:"secSectionHeight",value:.34,decimals:0},{key:"secSectionMarginTop",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"indicatorHorizontalMargin",value:.31,decimals:0},{key:"indicatorVerticalMargin",value:.46,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","titleSectionHeight","secSectionHeight","valueSectionMarginBottom","secSectionMarginTop","indicatorHorizontalMargin","indicatorVerticalMargin"],sizes:[{size:"big",value:70},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}],fitMeasures:[{key:"fitTitleMeasure",prop:"string",dataKey:"title"},{key:"fitValueMeasure",prop:"string",dataKey:"value"},{key:"fitSecondaryMeasure",prop:"titleString",dataKey:"secondaryTitle"},{key:"fitSecondaryMeasure",prop:"valueString",dataKey:"secondary"}]},Zb={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",bracketColor:"rgb(198, 198, 198)",bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:1,decimals:0},{key:"titleHorizontalMargin",value:.16,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"secSectionHeight",value:1,decimals:0},{key:"secBottomMargin",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"bracketWidth",value:.21,decimals:0},{key:"indicatorMargin",value:.64,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","bracketWidth","titleSectionHeight","secSectionHeight"],sizes:[{size:"big",value:70,maxWidth:1261,maxHeight:665},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}]},Jb={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},label:{color:"rgb(68, 81, 102)",fontSizes:{big:18,medium:13,small:9,micro:9}},textKeys:["title","value","secondaryTitle","secondaryValue","label"],backgroundColor:"rgb(255, 255, 255)",tickColor:"rgb(0, 0, 0)",needleColor:"rgb(43, 51, 66)",bracketColor:"rgb(198, 198, 198)",defaultDialColor:"rgb(179, 179, 179)",gaugeOpacity:.5,startAngle:20,endAngle:160,overDegrees:5,tickDegreesIncrement:10,bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:.26,decimals:0},{key:"titleHorizontalMargin",value:.08,decimals:0},{key:"titleBottomMargin",value:.1,decimals:0},{key:"gaugeWidth",value:1.33,decimals:0},{key:"gaugeBottomMargin",value:.19,decimals:0},{key:"outerArcRadius",value:.63,decimals:0},{key:"innerArcRadius",dataKey:"skin",values:{1:.24,2:.51},decimals:0},{key:"lengthToTick",value:.7,decimals:0},{key:"tickRadius",value:.01,decimals:1},{key:"needleLength",dataKey:"skin",values:{1:.52,2:.58},decimals:0},{key:"needleBaseRadius",value:.04,decimals:0},{key:"labelMargin",value:.26,decimals:0},{key:"valueSectionHeight",value:.36,decimals:0},{key:"secSectionHeight",value:.36,decimals:0},{key:"secBottomMargin",value:.05,decimals:0},{key:"secDividerWidth",value:.05,decimals:0},{key:"secTitleMinWidth",value:.1,decimals:0},{key:"bracketWidth",value:.08,decimals:0},{key:"indicatorMargin",value:.14,decimals:0}],gaugeHeights:[{size:"big",value:192,maxWidth:1297,maxHeight:1075},{size:"medium",value:134},{size:"small",value:94},{size:"micro",value:66}],measureKeys:["indicatorMargin","gaugeWidth","bracketWidth","titleSectionHeight","valueSectionHeight","secSectionHeight"]},e2={fontFamily:"Open Sans",fontSize:15,title:{color:"rgb(68, 81, 102)"},value:{fontWeight:800},secondaryTitle:{color:"rgb(163, 163, 163)"},secondaryValue:{color:"rgb(163, 163, 163)"},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"transparent",dividerColor:"rgb(39, 42, 52)",barHandleColor:"rgb(43, 51, 66)",height:35,horizontalMargin:15,barWidth:100,barHeight:11,barOpacity:.5,tickerBarWidth:2,tickerBarHeight:13,horizontalPadding:9,textPadding:6,sectionMinWidth:20,dividerWidth:1,dividerHeight:13,forceTickerView:!1};function t2(e,t){const r=u.cloneDeep(e2);if(r.forceTickerView=t.forceTickerView,r.fontFamily=t.fontFamily,r.backgroundColor=t.backgroundColor,r.value.color=t.value.color,r.title.color=t.title.color,r.secondaryTitle.color=t.secondaryTitle.color,r.secondaryValue.color=t.secondaryTitle.color,t.tickerBarHeight){const n=t.tickerBarHeight;r.barHeight=n,r.tickerBarHeight=n+2}return r.forceTickerView&&(r.height=e.offsetHeight),r}const r2=new to,n2=new Vb,o2=new Gb,i2=new Kb,a2=new Qb;class s2{getService(t){switch(t){case"numericSimple":return n2;case"numericBar":return o2;case"gauge":return i2;case"ticker":return a2}}render(t,r,n,o){let i=this.getService(r.type);const a="getBaseMeasure"in i?i.getBaseMeasure(r,n,o):void 0;if(!a||n.forceTickerView){i=this.getService("ticker");const s=t2(t,n);this.setTextOptions(s),i.render(t,r,s,o);return}this.calculateRelativeSizes(r,n,a.value),this.setTextOptions(n,a.size),i.render(t,r,n,a)}calculateRelativeSizes(t,r,n){const{relativeSizes:o}=r;o.forEach(function(i){let a;if("dataKey"in i&&"values"in i&&i.dataKey in t)a=i.values[t[i.dataKey]];else if("value"in i)a=i.value;else throw new u.TranslatableError("errors.indicatorInvalidRelativeSize");const s=a*n;r[i.key]=r2.floor(s,i.decimals)})}setTextOptions(t,r){t.textKeys.forEach(function(n){const o=t[n],i=o.fontStyle?`${o.fontStyle} `:"",a=o.fontVariant?`${o.fontVariant} `:"",s=o.fontWeight?`${o.fontWeight} `:"",l=`${Number.parseFloat(o.fontSizes&&o.fontSizes[r]||o.fontSize||t.fontSize)}px `,c=o.fontFamily||t.fontFamily,{color:p}=o;t[`${n}Font`]=i+a+s+l+c,t[`${n}Color`]=p})}}function Sf(e){var r;const t=(r=e.value)==null?void 0:r[0];if(t&&"color"in t)return t.color}function l2(e,t,r){if(!u2(e))return r;const o=u.getColoringServiceByColorOptions(e).getColor(t);return o?J(q({},r),{value:J(q({},r.value),{color:o})}):r}function u2(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}const c2=(e,t)=>{const r=Sf(t);return r&&e.value?u.getColoringServiceByColorOptions(r).getColor(u.isNumber(e.value)?e.value:0):null},d2=(e,t,r)=>{var h,d,m,g,v,y,w,E,_,x,b,C;const n=u.isNumber(e.min)?e.min:0,o=u.isNumber(e.max)?e.max:100,i=Eo(r,"value"),a=Eo(r,"secondary"),s=Eo(r,"min"),l=Eo(r,"max"),c=c2(e,r),p=t.indicatorType==="gauge"?1:"vertical";return J(q(q({},p2),c?{color:c}:null),{type:f2(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||p,title:{text:(m=(d=(h=t.indicatorComponents)==null?void 0:h.title)==null?void 0:d.text)!=null?m:""},min:{data:n,text:u.applyFormatPlainText(s,n)},max:{data:o,text:u.applyFormatPlainText(l,o)},value:{data:e.value,text:Pu(e.value,i)},secondary:{data:e.secondary,text:Pu(e.secondary,a)},secondaryTitle:{text:(y=(v=(g=t.indicatorComponents)==null?void 0:g.secondaryTitle)==null?void 0:v.text)!=null?y:""},showSecondary:e.secondary!==void 0,showTitle:!!((E=(w=t.indicatorComponents)==null?void 0:w.title)!=null&&E.shouldBeShown),showLabels:!!((x=(_=t.indicatorComponents)==null?void 0:_.labels)!=null&&x.shouldBeShown),showTicks:!!((C=(b=t.indicatorComponents)==null?void 0:b.ticks)!=null&&C.shouldBeShown)})};function f2(e,t){return e==="numeric"?t:e}function Eo(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return u.getCompleteNumberFormatConfig(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const p2={color:"#00cee6",showSecondary:!1};function Pu(e,t){return e===void 0?"":isNaN(e)?"#N/A":u.applyFormatPlainText(t,e)}function Fa(e,t,r){const n=u.cloneDeep(r);for(const o in t){const i=t[o],a=h2(e,i);a&&Rf(n,o,a)}return n}function Rf(e,t,r){const n=t.split(".");if(n.length===1)if(n[0]in e)e[n[0]]=r;else return;else{const[o,...i]=n;if(!(o in e))return;const a=e[o];if(!Of(a))return;Rf(a,i.join("."),r)}}function h2(e,t){const r=t.split(".");let n=e;for(const o of r){if(!Of(n)||!(o in n))return;n=n[o]}return n}function Of(e){return typeof e=="object"&&e!==null}function m2(e,t,r){return Fa(e,t,r)}const g2={fontFamily:"typography.fontFamily","title.color":"chart.textColor",backgroundColor:"chart.backgroundColor","label.color":"chart.textColor","secondaryTitle.color":"chart.secondaryTextColor","secondaryValue.color":"chart.secondaryTextColor","value.color":"palette.variantColors.0"},v2=(e,t)=>{const{chartData:r,dataOptions:n,themeSettings:o}=t,{type:i}=e;let a;switch(i){case"gauge":a=Jb;break;case"numeric":e.numericSubtype==="numericBar"?a=Zb:a=Mu;break;default:a=Mu}o&&(a=m2(o,g2,a));const s=Sf(n);return s&&r.value&&u.isNumber(r.value)&&(a=l2(s,r.value,a)),q(J(q({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};function Lo(e){return typeof e=="string"}function y2(e){var l;const t=u.useThemeContext().themeSettings,[r,n]=F.useState(null),[o,i]=F.useState(null),a=(l=u.useSisenseContext().app)==null?void 0:l.httpClient;F.useEffect(()=>{e&&Lo(e)&&a&&_d(e,a).then(c=>{n(c)}).catch(i)},[a,e]),F.useEffect(()=>{(!e||!Lo(e))&&(n(null),i(null))},[e]);const s=F.useMemo(()=>r?Du(t,r):e&&!Lo(e)?Du(t,e):t,[r,t,e]);return o?[null,o]:[s,null]}function Du(e,t){return u.merge.withOptions({mergeArrays:!1},e,t)}function ku(e){return`${e.fontFamily}|${e.fontWeight}|${e.fontStyle}`}function b2(e,t){const[r,n]=F.useState([]),[o,i]=F.useState(!1),a=F.useMemo(()=>e.filter(s=>!t.includes(ku(s))),[e,t]);return F.useEffect(()=>{if(a.length===0){i(!0);return}let s=!1;const l=a.map(c=>{const p=c.src.map(d=>Object.entries(d).map(([g,v])=>`${g}('${v}')`).join(" ")).join(", ");return new FontFace(c.fontFamily,p,{style:c.fontStyle,weight:c.fontWeight.toString()}).load().then(d=>(s||document.fonts.add(d),ku(c)))});return Promise.all(l).then(c=>{s||(n(p=>[...p,...c]),i(!0))}).catch(c=>{console.error("Failed to load fonts:",c),i(!0)}),()=>{s=!0}},[a]),{loadedFonts:r,areAllFontsLoaded:o}}const Au=F.createContext({loadedFonts:[]}),_2=({fonts:e,children:t})=>{var a;const{loadedFonts:r}=F.useContext(Au),{themeSettings:n}=u.useThemeContext(),{loadedFonts:o,areAllFontsLoaded:i}=b2(e||((a=n.typography.fontsLoader)==null?void 0:a.fonts)||[],r);return u.jsx(Au.Provider,{value:{loadedFonts:[...r,...o]},children:i&&t})},Mf=eo({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:r}=e,[n,o]=y2(t);if(o)throw o;return u.jsx(u.Fragment,{children:n&&u.jsx(u.ThemeContext.Provider,{value:{themeSettings:n},children:u.jsx(_2,{children:r})})})});function x2(e,t,r){return e==null?e:u.baseSet(e,t,r)}const Pf={"value.data":"value.data","value.text":"value.text","secondary.data":"secondary.data","secondary.text":"secondary.text","title.text":"title.text","secondaryTitle.text":"secondaryTitle.text"},Df={"value.color":"value.color","secondaryValue.color":"secondary.color","secondaryValue.fontWeight":"secondary.fontWeight","title.color":"title.color","secondaryTitle.color":"secondaryTitle.color"};function w2(e,t){const r={};return u.flow(Iu(e,Pf),Iu(t,Df))(r)}function Iu(e,t){return r=>{const n=q({},r);for(const[o,i]of Object.entries(t))x2(n,i,u.get(e,o));return n}}const C2=(e,t,r)=>{const n=Fa(e,Pf,t),o=Fa(e,Df,r);return{legacyDataOptions:n,legacyChartOptions:o}},T2=e=>e,E2=({chartData:e,dataOptions:t,designOptions:r,onBeforeRender:n=T2})=>{var s;const o=F.useRef(null),i=F.useRef(null),{themeSettings:a}=u.useThemeContext();return F.useEffect(()=>{if(!i.current||!o.current)return;const l=new s2,c=d2(e,r,t),p=v2({type:r.indicatorType,numericSubtype:"numericSubtype"in r?r.numericSubtype:void 0,forceTickerView:r.forceTickerView,tickerBarHeight:r.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:a}),h=w2(c,p),d=n(h),{legacyDataOptions:m,legacyChartOptions:g}=C2(d,c,p);l.render(i.current,m,g,o.current)},[e,t,r,a,n]),u.jsx("div",{ref:o,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(s=a==null?void 0:a.chart)==null?void 0:s.backgroundColor},"aria-label":"indicator-root",children:u.jsx("canvas",{ref:i})})},S2=e=>e.type==="indicator",R2=e=>"min"in e,O2=e=>"indicatorComponents"in e,M2=e=>!!e.chartData&&S2(e.chartData)&&R2(e.dataOptions)&&O2(e.designOptions);function kf(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:u.baseSlice(e,t,r)}function P2(e,t){for(var r=e.length;r--&&u.baseIndexOf(t,e[r],0)>-1;);return r}function D2(e,t){for(var r=-1,n=e.length;++r<n&&u.baseIndexOf(t,e[r],0)>-1;);return r}function k2(e){return e.split("")}var A2="\\ud800-\\udfff",I2="\\u0300-\\u036f",N2="\\ufe20-\\ufe2f",$2="\\u20d0-\\u20ff",L2=I2+N2+$2,F2="\\ufe0e\\ufe0f",H2="\\u200d",B2=RegExp("["+H2+A2+L2+F2+"]");function Af(e){return B2.test(e)}var If="\\ud800-\\udfff",j2="\\u0300-\\u036f",z2="\\ufe20-\\ufe2f",W2="\\u20d0-\\u20ff",V2=j2+z2+W2,U2="\\ufe0e\\ufe0f",q2="["+If+"]",Ha="["+V2+"]",Ba="\\ud83c[\\udffb-\\udfff]",G2="(?:"+Ha+"|"+Ba+")",Nf="[^"+If+"]",$f="(?:\\ud83c[\\udde6-\\uddff]){2}",Lf="[\\ud800-\\udbff][\\udc00-\\udfff]",Y2="\\u200d",Ff=G2+"?",Hf="["+U2+"]?",X2="(?:"+Y2+"(?:"+[Nf,$f,Lf].join("|")+")"+Hf+Ff+")*",K2=Hf+Ff+X2,Q2="(?:"+[Nf+Ha+"?",Ha,$f,Lf,q2].join("|")+")",Z2=RegExp(Ba+"(?="+Ba+")|"+Q2+K2,"g");function J2(e){return e.match(Z2)||[]}function ja(e){return Af(e)?J2(e):k2(e)}function e_(e,t,r){if(e=u.toString(e),e&&(r||t===void 0))return u.baseTrim(e);if(!e||!(t=u.baseToString(t)))return e;var n=ja(e),o=ja(t),i=D2(n,o),a=P2(n,o)+1;return kf(n,i,a).join("")}const Bf=",";function t_(e){return e.join(`${Bf} `)}function r_(e){return e.split(Bf).map(e_)}function n_(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function o_(e,t){const{name:r,rawName:n,coordinates:o,value:i,colorValue:a,details:s}=e,c={geo:t.locations.map((p,h)=>J(q({},u.getDataPointMetadata(`geo.${h}`,p)),{value:n[h]}))};if(t.size&&(c.size=J(q({},u.getDataPointMetadata("size",t.size)),{value:i})),t.colorBy&&(c.colorBy=J(q({},u.getDataPointMetadata("colorBy",t.colorBy)),{value:a})),t.details){const p=u.getDataPointMetadata("details",t.details);p.measure&&(c.details=J(q({},p),{value:s}))}return{categories:n,displayName:r,coordinates:{lat:o.lat,lng:o.lng},value:i,entries:c}}const i_=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function a_(e,t){const r=i_[e.toLowerCase()];return r&&(t[r]=e),r||e}function s_(e,t){return t[e.toLowerCase()]||e}const l_=(e,t)=>{const{app:r}=u.useSisenseContext(),[n,o]=F.useState([]),i=F.useRef(e),a=F.useCallback(()=>tt(exports,null,function*(){if(!r||!e)return;const s={},l=n_(t),c=yield r.httpClient.post("api/v1/geo/locations",q({locations:e.map(g=>({name:a_(g.name,s)}))},l&&{geoLevel:l})),p=i.current!==e;if(!c||p)return;const h=c.reduce((g,v)=>{const y=J(q({},v),{name:s_(v.name,s)});return g[y.name]=y,g},{}),d=[],m=e.map(g=>(h[g.name]||d.push(g.name),q(q({},g),h[g.name]?{coordinates:h[g.name].latLng}:null)));d.length&&console.warn(`Locations "${d.join(", ")}" coordinates not found`),o(m)}),[r,o,e,t]);return F.useEffect(()=>{e&&(i.current=e,e.some(l=>!!l.coordinates)?o(e):a())},[e,r,a,o]),n};function u_(e){let t=Number.MAX_VALUE,r=Number.MIN_VALUE;return e.forEach(n=>{isNaN(n)||(t=Math.min(t,n),r=Math.max(r,n))}),{min:t,max:r}}function c_(e,t=4,r=24){let n=0;const{min:o,max:i}=u_(e.map(({value:s})=>s)),a=r-t;return n=i-o,e.map(s=>n===0?t:(s.value-o)/n*a+t)}const d_=()=>{const{app:e}=u.useSisenseContext(),[t,r]=F.useState(null),n=F.useCallback(()=>tt(exports,null,function*(){if(!e)return;const o=yield e.httpClient.get("api/v1/settings/system");o&&r(o.geo)}),[r,e]);return F.useEffect(()=>{n()},[e,n]),t},f_="#00cee6",p_=u.createDataColoringFunction({getValueFromDataStructure:({colorValue:e})=>parseFloat(`${e}`),applyColorToDataStructure:(e,t)=>J(q({},e),{color:t})});function h_(e,t){return t?p_(e.map(({colorValue:r})=>({colorValue:r})),t).map(({color:r})=>r):e.map(()=>f_)}function jf(e){return{isLight:["hollow","filled-light"].includes(e),isFilled:["filled","filled-light"].includes(e)}}function zf(e){const{color:t,size:r,fill:n,blur:o}=e,{isFilled:i}=jf(n),l=o?{filled:.1,"filled-light":.1,hollow:.2,"hollow-bold":.25}[n]:{filled:.5,"filled-light":.2,hollow:.35,"hollow-bold":.9}[n];return{radius:r,fillOpacity:l,opacity:l,fillColor:i?t:"transparent",color:i?"transparent":t,stroke:!i,weight:i?0:2,customStyle:e}}function m_({coordinates:e,style:t}){const r=new u.Leaflet.CircleMarker({lat:e.lat,lng:e.lng},zf(t));return r.on("mouseover",g_),r.on("mouseout",v_),r}function g_(e){const t=e.target,r=t.options.customStyle,{isFilled:n,isLight:o}=jf(r.fill);return t.setStyle(n?{stroke:!0,weight:2,opacity:o?.5:.7,fillOpacity:o?.5:.7}:{weight:3,opacity:o?.6:1}),t}function v_(e){const t=e.target,r=t.options.customStyle;t.setStyle(zf(r))}function y_(e){e.forEach(t=>t.remove())}function b_(e,t){const r=`
154
+ © <a href='https://www.mapbox.com/about/maps/'>Mapbox</a>
155
+ © <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>
156
+ <strong>
157
+ <a href='https://www.mapbox.com/map-feedback/' target='_blank' aria-label='Improve this map (opens in a new tab)'>
158
+ Improve this map
159
+ </a>
160
+ </strong>`,n="© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",o=u.Leaflet.control.attribution();return t.indexOf("mapbox")>-1?o.addAttribution(r).addTo(e):t.indexOf("openstreetmap")>-1&&o.addAttribution(n).addTo(e),o}var __="Expected a function";function x_(e,t,r){if(typeof e!="function")throw new TypeError(__);return setTimeout(function(){e.apply(void 0,r)},t)}var w_=u.baseRest(function(e,t,r){return x_(e,u.toNumber(t)||0,r)}),ca=function(e){return e[e.YES=0]="YES",e[e.NO=1]="NO",e[e.LOADING=2]="LOADING",e}({});const C_="#9EA2AB",Nu="N/A",da=10,T_=`
161
+ <svg
162
+ xmlns="http://www.w3.org/2000/svg"
163
+ width="24"
164
+ height="24"
165
+ viewBox="0 0 24 24"
166
+ fill="green"
167
+ class="csdk-animate-spin"
168
+ >
169
+ <path
170
+ fillRule="evenodd"
171
+ clipRule="evenodd"
172
+ d="M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"
173
+ fill="transparent"
174
+ fillOpacity="0.3"
175
+ />
176
+ <path
177
+ fillRule="evenodd"
178
+ clipRule="evenodd"
179
+ d="M20 12C20 16.4183 16.4183 20 12 20C11.2844 20 10.5908 19.906 9.93078 19.7298C9.96227 19.5889 9.97888 19.4423 9.97888 19.2918C9.97888 18.1873 9.08345 17.2918 7.97888 17.2918C6.87431 17.2918 5.97888 18.1873 5.97888 19.2918C5.97888 20.3964 6.87431 21.2918 7.97888 21.2918C8.56576 21.2918 9.0936 21.0391 9.45946 20.6364C10.2652 20.8731 11.1178 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3V4C16.4183 4 20 7.58172 20 12Z"
180
+ fill="#22C3C3"
181
+ />
182
+ </svg>
183
+ `,E_=e=>{const t=`
184
+ <div>
185
+ <div>${u.spanSegment("...")}</div>
186
+ <div>${u.spanSegment(`Showing first ${da} results`)}</div>
187
+ </div>
188
+ `;return`
189
+ <div>
190
+ ${e.slice(0,da).map(r=>`<div>${u.spanSegment(r)}</div>`).join("")}
191
+ ${e.length>da?t:""}
192
+ </div>
193
+ `},fa=e=>`
194
+ <span style="padding-right: 20px">
195
+ ${u.spanSegment(e,C_)}
196
+ </span>
197
+ `,S_=()=>`
198
+ <span style="verical-align: bottom">
199
+ ${u.spanSegment(T_)}
200
+ </span>
201
+ `,So=(e,t,r=1)=>{const n=u.formatTooltipValue(t.size,e.value,`${e.value}`),o=u.formatTooltipValue(t.colorBy,e.colorValue,`${e.colorValue}`),i=t.details&&u.formatTooltipValue(t.details,e.details,`${e.details}`);return u.tooltipWrapper(`
202
+ <div style="text-align: left">
203
+ <div>${u.spanSegment(e.name)}</div>
204
+ <div class="csdk-scattermap-tooltip-row">
205
+ ${t.size?fa(u.getDataOptionTitle(t.size)):""}
206
+ ${t.size?u.spanSegment(n):""}
207
+ </div>
208
+ <div class="csdk-scattermap-tooltip-row">
209
+ ${t.colorBy?fa(u.getDataOptionTitle(t.colorBy)):""}
210
+ ${t.colorBy?u.spanSegment(o||Nu):""}
211
+ </div>
212
+ <div class="csdk-scattermap-tooltip-row">
213
+ ${(r===2||r===0)&&t.details?fa(u.getDataOptionTitle(t.details)):""}
214
+ ${r===2?S_():""}
215
+ ${r===0&&t.details&&u.isMeasureColumn(t.details)?u.spanSegment(i||Nu):""}
216
+ </div>
217
+ <div>
218
+ ${r===0&&t.details&&!u.isMeasureColumn(t.details)?E_(e.details):""}
219
+ </div>
220
+ </div>
221
+ `)},R_=600,O_=11,M_=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=u.useSisenseContext(),o=F.useCallback(a=>tt(exports,null,function*(){if(!n||!e.details||u.isMeasureColumn(e.details))return[];const s=e.locations.map((p,h)=>{const d=u.translateColumnToAttribute(p),m=r_(a)[h];return u.members(d,[m])}),l={dataSource:t,dimensions:[u.translateColumnToAttribute(e.details)],filters:lt(r,s),count:O_};return(yield u.executeQuery(l,n)).rows.map(([p])=>p.text)}),[n,e,t,r]);return F.useCallback(a=>{if(!e.details||e.details&&!u.isMeasureColumn(e.details)&&!t)return{content:So(a,e)};if(u.isMeasureColumn(e.details))return{content:So(a,e,ca.YES)};const s=new Promise(c=>w_(c,R_)),l=Promise.all([o(a.name),s]).then(([c])=>So(J(q({},a),{details:c}),e,ca.YES));return{content:So(a,e,ca.LOADING),postponedContent:l}},[e,t,o])},P_=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=d_(),{themeSettings:l}=u.useThemeContext(),c=l_(a,t.locationLevel),{filters:p}=u.getFilterListAndRelationsJaql(n),h=M_({dataOptions:t,dataSource:r,filters:p}),d=F.useRef(null),m=F.useRef(null),g=F.useMemo(()=>c_(c,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[c,t,o]),v=F.useMemo(()=>{var x;return h_(c,(x=t.colorBy)==null?void 0:x.color)},[c,t]),y=F.useRef([]),w=F.useRef(u.Leaflet.layerGroup([])),E=F.useRef(null),_=F.useRef(null);return F.useEffect(()=>{d.current&&!m.current&&(m.current=u.Leaflet.map(d.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),w.current.addTo(m.current),m.current.fitWorld())},[]),F.useEffect(()=>{y.current&&(y_(y.current),y.current=[]),c&&(c.forEach((x,b)=>{if(!x.coordinates)return;const C=m_({coordinates:x.coordinates,style:{color:v[b],size:g[b],fill:o.markers.fill,blur:!!x.blur}});y.current.push(C),C.addTo(w.current),i&&C.on("click",S=>{i(o_(x,t),S.originalEvent)}),C.bindTooltip(()=>{const{content:S,postponedContent:O}=h(x);return O==null||O.then(M=>C.setTooltipContent(M)),S})}),u.fitMapToBounds(m.current,y.current,u.prepareFitBoundsAnimationOptions(l)))},[c,v,g,o,l,t,h,i]),F.useEffect(()=>{var x;s&&(E.current&&E.current.remove(),E.current=u.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),m.current&&(E.current.addTo(m.current),(x=_.current)==null||x.remove(),_.current=b_(m.current,s.maps_api_provider)))},[s]),u.jsx("div",{className:"csdk-map-container",ref:d,style:{width:"100%",height:"100%"}})},Wf=e=>e.type==="scattermap"&&"locations"in e,D_=e=>"locations"in e,k_=e=>"markers"in e,A_=e=>!!e.chartData&&Wf(e.chartData)&&D_(e.dataOptions)&&k_(e.designOptions),I_="_wrapper_g0ngm_1",N_="_title_g0ngm_7",$_="_image_g0ngm_18",pa={wrapper:I_,title:N_,image:$_},L_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='50.5'%20y='558.5'%20fill='%23E4E4E4'%20width='466'%20height='2'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M487.5,531.5h-410v-68.9l0.3-0.3l144-155.7l104.2,88.1l161.6-179.5V531.5z%20M79.5,529.5h406V220.4%20L326.1,397.5l-104.2-88.2l-142.4,154V529.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='25.5'%20y='558.5'%20fill='%23E4E4E4'%20width='516'%20height='2'/%3e%3cpath%20fill='%23E4E4E4'%20d='M518.9,188.1c-18.1,0-32.8,14.7-32.8,32.8c0,10,4.5,19,11.7,25.1l-129,162.8c-5.5-4.1-12.2-6.5-19.6-6.5%20c-10.4,0-19.7,4.9-25.7,12.5l-96.4-71.5c3.7-5.3,5.9-11.8,5.9-18.7c0-18.1-14.7-32.8-32.8-32.8c-18.1,0-32.8,14.7-32.8,32.8%20c0,9.2,3.8,17.5,9.9,23.5L69.5,465.4c-5.8-5-13.2-8-21.4-8c-18.1,0-32.8,14.7-32.8,32.8S30,523,48.1,523s32.8-14.7,32.8-32.8%20c0-9.2-3.8-17.5-9.9-23.5l107.8-117.4c5.8,5,13.2,8,21.4,8c10.4,0,19.7-4.9,25.7-12.5l96.4,71.5c-3.7,5.3-5.9,11.8-5.9,18.7%20c0,18.1,14.7,32.8,32.8,32.8s32.8-14.7,32.8-32.8c0-10-4.5-19-11.7-25.1l129-162.8c5.5,4.1,12.2,6.5,19.6,6.5%20c18.1,0,32.8-14.7,32.8-32.8S537,188.1,518.9,188.1z%20M48.1,521c-17,0-30.8-13.8-30.8-30.8s13.8-30.8,30.8-30.8%20c7.7,0,14.7,2.8,20.1,7.5c0.5,0.4,1,0.9,1.5,1.4c5.7,5.6,9.3,13.4,9.3,22C78.9,507.2,65,521,48.1,521z%20M200.2,355.4%20c-7.7,0-14.7-2.8-20.1-7.5c-0.5-0.4-1-0.9-1.5-1.4c-5.7-5.6-9.3-13.4-9.3-22c0-17,13.8-30.8,30.8-30.8c17,0,30.8,13.8,30.8,30.8%20c0,6.5-2,12.5-5.5,17.5c-0.4,0.5-0.8,1.1-1.2,1.6C218.7,350.8,210,355.4,200.2,355.4z%20M349.3,465.9c-17,0-30.8-13.8-30.8-30.8%20c0-6.5,2-12.5,5.5-17.5c0.4-0.5,0.8-1.1,1.2-1.6c5.6-7.1,14.4-11.7,24.1-11.7c6.9,0,13.2,2.3,18.3,6.1c0.5,0.4,1.1,0.8,1.6,1.2%20c6.7,5.7,10.9,14.1,10.9,23.5C380.1,452,366.3,465.9,349.3,465.9z%20M518.9,251.7c-6.9,0-13.2-2.3-18.3-6.1c-0.5-0.4-1.1-0.8-1.6-1.2%20c-6.7-5.7-10.9-14.1-10.9-23.5c0-17,13.8-30.8,30.8-30.8s30.8,13.8,30.8,30.8S535.9,251.7,518.9,251.7z'/%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",H_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='64.5'%20y='201.5'%20fill='%23E4E4E4'%20width='2'%20height='381'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M447.5,560.5h-357v-60h357V560.5z%20M92.5,558.5h353v-56h-353V558.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M292.5,468.5h-202v-60h202V468.5z%20M92.5,466.5h198v-56h-198V466.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M526.5,377.5h-436v-60h436V377.5z%20M92.5,375.5h432v-56h-432V375.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M368.5,285.5h-278v-59h278V285.5z%20M92.5,283.5h274v-55h-274V283.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='78'%20y='558.5'%20fill='%23E4E4E4'%20width='410'%20height='2'/%3e%3cg%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M463,533.5h-61v-207h61V533.5z%20M404,531.5h57v-203h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M363,533.5h-61v-152h61V533.5z%20M304,531.5h57v-148h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M263,533.5h-61v-316h61V533.5z%20M204,531.5h57v-312h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M163,533.5h-62v-248h62V533.5z%20M103,531.5h58v-244h-58V531.5z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",j_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M298.5,607.2c-12.6,0-25.3-1.1-37.6-3.2l-1-0.2l29.6-198l-27.1,61l-20.3-12.1l45.2-52.6L126.8,524.6%20l-0.6-0.8c-12.1-15.5-21.8-32.7-29-50.9l-0.4-0.9l0.9-0.4l181.4-70.1l-149.6,20.9v-47.1l158.4,22.1L97.5,323.8l0.4-0.9%20c7.3-18,17.1-34.9,29.3-50.4l0.6-0.8L282,389.2l-76.9-89.5l34.5-20.2l49.9,112.2l-29.6-198l1-0.2c12.4-2.1,25-3.2,37.6-3.2%20c8,0,16.1,0.4,23.9,1.3l1,0.1l-0.2,1l-29.7,198.8l83.2-187.1l0.9,0.3c19.5,7.5,37.7,17.7,54.3,30.3l0.8,0.6L301.2,389.2l132.5-101%20l28,44.9l-166,64.2L511.5,367l0.1,1c1.6,10.2,2.4,20.6,2.4,30.8c0,10.2-0.8,20.6-2.4,30.8l-0.1,1l-207.1-29l95.5,36.9l-18.5,28.9%20l-85.5-65.1l108.5,126.3l-45.5,23.8l-65.1-146.5l29.9,199.9l-1,0.1C314.4,606.8,306.4,607.2,298.5,607.2z%20M262.2,602.2%20c12,2,24.2,3,36.3,3c7.4,0,15.1-0.4,22.7-1.2l-29.7-198.5L262.2,602.2z%20M295.3,404.7l64.5,144.9l41.4-21.7L295.3,404.7l0.1,0.1%20L295.3,404.7z%20M99.4,473.1c7,17.4,16.3,33.8,27.8,48.7l158.3-120.6L99.4,473.1z%20M297.8,401.2l83.1,63.3l16-25L297.8,401.2z%20M245.2,454.3l16.3,9.7l26.4-59.4L245.2,454.3z%20M298.8,398.8l211,29.5c1.4-9.8,2.2-19.7,2.2-29.5c0-9.8-0.7-19.7-2.2-29.5%20L298.8,398.8z%20M131.5,377.6V420l152.2-21.2L131.5,377.6z%20M433.2,291.1L297.8,394.2l160.9-62.2L433.2,291.1z%20M100.1,322.6%20l185.2,71.6L128.2,274.5C116.6,289.3,107.2,305.5,100.1,322.6z%20M377.9,207.1L295.3,393l0,0l0,0L430,236.1%20C414,224.1,396.5,214.3,377.9,207.1z%20M287.9,393L287.9,393l-49.2-110.6l-30.5,17.8L287.9,393L287.9,393z%20M262.2,195.3L291.6,392%20l29.6-198.5c-7.5-0.8-15.1-1.2-22.7-1.2C286.4,192.3,274.2,193.4,262.2,195.3z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",z_="data:image/svg+xml,%3csvg%20width='616'%20height='559'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3cpath%20fill='none'%20stroke='%23E4E4E4'%20id='svg_1'%20stroke-width='2'%20d='m97.44781,156.99998l419.1042,0l-24.42354,59.30477l-370.25707,0l-24.42359,-59.30477zm29.93028,72.6737l359.24347,0l-24.42354,59.30458l-310.39633,0l-24.42361,-59.30458zm54.35357,131.97891l-24.4232,-59.30521l299.38335,0l-24.42422,59.30521l-250.53593,0zm220.60617,72.6737l-190.67573,0l-24.42491,-59.30458l239.52554,0l-24.42491,59.30458zm-3.92305,72.6737l-182.82963,0l1.26325,-59.30458l180.30313,0l1.26325,59.30458z'/%3e%3c/g%3e%3c/svg%3e",W_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M480.4,506.2l-162.3-106L509.4,431l-0.2,1c-4.3,26.5-13.8,51.2-28.4,73.4L480.4,506.2z%20M327,403.7%20l152.7,99.8c13.9-21.5,23.1-45.3,27.3-70.8L327,403.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M275.3,586.8C170.9,586.8,86,502,86,397.7c0-50.6,19.6-98.1,55.1-133.8c35.6-35.7,83-55.5,133.5-55.5h1%20v188.7l158.3,103.1l-0.5,0.8C398.1,554.8,339.1,586.8,275.3,586.8z%20M273.5,210.7c-49.6,0.3-96.1,19.7-131.1,54.8%20C107.3,300.7,88,347.7,88,397.7c0,103.2,84,187.1,187.4,187.1c62.7,0,120.9-31.4,155.7-83.9L273.5,398.3V210.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M482.8,408.7l-1-0.2l-187.3-30V188.5h1c74.8,0,142.7,44.1,173.1,112.2c15.2,34.1,20.2,71.1,14.4,107%20L482.8,408.7z%20M296.5,376.9l184.6,29.5c5.5-35.2,0.5-71.4-14.4-104.9c-29.9-67.1-96.6-110.5-170.2-110.9V376.9z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",V_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cpolygon%20fill='%23E4E4E4'%20points='80,575%2080,233%2078,233%2078,575%2078,577%2080,577%20497,577%20497,575%20'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M374.7,480.1c-29.7,0-53.9-24.2-53.9-53.9c0-29.7,24.2-53.9,53.9-53.9s53.9,24.2,53.9,53.9%20C428.6,455.9,404.4,480.1,374.7,480.1z%20M374.7,374.3c-28.6,0-51.9,23.3-51.9,51.9s23.3,51.9,51.9,51.9s51.9-23.3,51.9-51.9%20S403.3,374.3,374.7,374.3z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M264.2,395.2c-22,0-40-17.9-40-40c0-22,17.9-40,40-40s40,17.9,40,40C304.2,377.3,286.2,395.2,264.2,395.2z%20M264.2,317.3c-20.9,0-38,17-38,38c0,20.9,17,38,38,38s38-17,38-38C302.2,334.3,285.1,317.3,264.2,317.3z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M413.7,351.2c-38.8,0-70.3-31.6-70.3-70.3c0-38.8,31.6-70.3,70.3-70.3s70.3,31.5,70.3,70.3%20C484,319.6,452.4,351.2,413.7,351.2z%20M413.7,212.5c-37.7,0-68.3,30.7-68.3,68.3c0,37.7,30.7,68.3,68.3,68.3%20c37.7,0,68.3-30.7,68.3-68.3C482,243.2,451.3,212.5,413.7,212.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M228.9,489C228.9,489,228.9,489,228.9,489c-15.8,0-29.7-10.1-34.5-25.2c-3-9.2-2.2-19,2.3-27.7%20c4.4-8.6,11.9-15,21.2-18c3.6-1.2,7.4-1.8,11.1-1.8c15.8,0,29.7,10.1,34.5,25.2c3,9.2,2.2,19.1-2.3,27.7c-4.4,8.6-11.9,15-21.2,18%20C236.4,488.4,232.6,489,228.9,489z%20M228.9,418.4c-3.6,0-7.1,0.6-10.5,1.7c-8.7,2.8-15.8,8.8-20,17c-4.2,8.1-4.9,17.4-2.1,26.1%20c4.6,14.2,17.7,23.8,32.6,23.8c3.6,0,7.1-0.6,10.5-1.7c8.7-2.8,15.8-8.8,20-17c4.2-8.1,4.9-17.4,2.1-26.2%20C256.9,428,243.8,418.4,228.9,418.4z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M147.5,548C147.5,548,147.5,548,147.5,548c-9.4,0-17.6-6-20.4-14.9c-3.6-11.3,2.6-23.4,13.9-27%20c2.1-0.7,4.4-1,6.6-1c9.3,0,17.6,6,20.4,14.9c3.6,11.3-2.6,23.3-13.9,27C152,547.7,149.7,548,147.5,548z%20M147.5,507.1%20c-2,0-4,0.3-6,0.9c-10.2,3.3-15.9,14.2-12.6,24.4c2.6,8.1,10,13.5,18.5,13.5c0,0,0,0,0,0c2,0,4-0.3,6-0.9%20c10.2-3.3,15.8-14.3,12.6-24.5C163.4,512.5,156,507.1,147.5,507.1z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M307.6,337.5h-28.6l-3.4,41.7h28.6L307.6,337.5z%20M278.4,376.7l3-36.7h23.5l-3,36.7H278.4z'/%3e%3cpath%20fill='%23E4E4E4'%20d='M262.9,415.9h12l2.4-28.6h23.5l-2.4,28.6h12l2.4-28.6h18.6v-10.5h-17.5l3-36.7h17.7v-10.5h-16.8l2.4-28.6%20h-12l-2.4,28.6h-23.5l2.4-28.6h-12l-2.4,28.6h-18.5V340h17.5l-3,36.7h-17.7v10.5h16.8L262.9,415.9z%20M251.1,384.7v-5.5h17.5%20l3.4-41.7h-17.8V332h18.3l2.4-28.6h7l-2.4,28.6h28.6l2.4-28.6h7l-2.4,28.6h17v5.5h-17.5l-3.4,41.7H329v5.5h-18.4l-2.4,28.6h-7%20l2.4-28.6h-28.6l-2.4,28.6h-7l2.4-28.6H251.1z'/%3e%3cpath%20fill='%23E4E4E4'%20d='M84,269.1v178.8h396.6V269.1H84z%20M478.2,445.4H86.5V271.6h391.6V445.4z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2018.1.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566.5%20700.5'%20enable-background='new%200%200%20566.5%20700.5'%20xml:space='preserve'%3e%3cg%20id='Layer_2'%3e%3crect%20x='-5057'%20y='-6963'%20fill='transparent'%20stroke='%23000000'%20stroke-miterlimit='10'%20width='16156.4'%20height='16115.1'/%3e%3c/g%3e%3cg%20id='Layer_1'%3e%3cpath%20fill='%23E4E4E4'%20d='M399,207h-2H284h-2H170h-2H53v35v4v31v2v31v2v30v2v31v2v30v2v31v2v31v2v34h115h2h112h2h113h2h116v-34v-2%20v-31v-2v-31v-2v-30v-2v-31v-2v-30v-2v-31v-2v-31v-4v-35H399z%20M397,211v31H284v-31H397z%20M282,279v31H170v-31H282z%20M170,277v-31h112%20v31H170z%20M282,312v30H170v-30H282z%20M282,344v31H170v-31H282z%20M282,377v30H170v-30H282z%20M282,409v31H170v-31H282z%20M282,442v31H170%20v-31H282z%20M284,442h113v31H284V442z%20M284,440v-31h113v31H284z%20M284,407v-30h113v30H284z%20M284,375v-31h113v31H284z%20M284,342v-30h113%20v30H284z%20M284,310v-31h113v31H284z%20M284,277v-31h113v31H284z%20M282,211v31H170v-31H282z%20M57,211h111v31H57V211z%20M57,246h111v31H57%20V246z%20M57,279h111v31H57V279z%20M57,312h111v30H57V312z%20M57,344h111v31H57V344z%20M57,377h111v30H57V377z%20M57,409h111v31H57V409z%20M57,442h111v31H57V442z%20M57,505v-30h111v30H57z%20M170,505v-30h112v30H170z%20M284,505v-30h113v30H284z%20M511,505H399v-30h112V505z%20M511,473H399v-31h112V473z%20M511,440H399v-31h112V440z%20M511,407H399v-30h112V407z%20M511,375H399v-31h112V375z%20M511,342H399v-30h112%20V342z%20M511,310H399v-31h112V310z%20M511,277H399v-31h112V277z%20M399,242v-31h112v31H399z'/%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",G_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3cpath%20fill='%23E4E4E4'%20d='M52,202.5v200v2v104h462v-306H52z%20M510,402.5H225v-196h285V402.5z%20M56,206.5h167v196H56V206.5z%20M56,404.5%20h298v100H56V404.5z%20M356,504.5v-100h154v100H356z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",$u="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M276.8,521.3c-0.5,0-0.9-0.1-1.3-0.2l-0.3-0.1l-0.2-0.2c-0.5-0.6-1-1.3-0.8-1.9c-1-0.6-2.6-0.6-4-0.6%20c-1,0-1.8,0-2.5-0.2l-0.3-0.1l-0.2-0.2c-0.5-0.6-2.8-1.7-4.5-2.5c-1.9-0.9-3.8-1.7-4.8-2.5l-0.2-0.2l-0.1-0.3c-2-5-2.7-6.5-3-7%20c-0.1-0.3-0.2-0.4-0.2-0.6c-0.1-0.6,0-1.1,0.1-1.4c0.1-0.5,0.2-1-1.2-3.5c-0.4-0.6-2.4-2.7-3.6-3.8l-0.2-0.2l-1.1-3%20c-1.8-1.6-3.5-5.2-5.1-8.3c-0.7-1.4-1.3-2.6-1.8-3.5c-1.1-1.6-2-2.4-2.9-3.2c-1.1-1-2.2-2-3.8-4.3c-2.1-0.3-3.7,0-5.3,0.4%20c-2,0.4-3.9,0.8-6-0.3c-0.4,0.5-1.1,1.8-1.6,2.7c-1.6,2.9-3.4,6.3-5.8,5.3c-12.1-4.7-13.8-9.4-14.9-12.4c-0.1-0.3-0.2-0.6-0.3-0.8%20l-0.1-0.2l0-0.2c0.2-2.3,0.1-2.4-0.3-3.1c-0.4-0.7-1-1.7-1.9-4.2c-4.3-2.4-8.1-7.1-10.8-10.5c-1.1-1.3-2-2.5-2.7-3.2%20c-0.1,0-0.2-0.1-0.4-0.1l0,0.2l-0.9-0.1c-2.4-0.3-7.4-0.9-14.7-1.2l-1,4.1l-0.4,0.2c-2.2,1-6.3,1.8-8.9,0.7l0,0l-9.4-1.9%20c-5.6,0.2-10.8-2.5-14.6-4.5l-0.9-0.5c-4.7-2.3-8.4-4.5-11.4-6.3c-1.2-0.7-2.2-1.3-3.2-1.9c-5.5-3.1-9.2-5.2-15.9-8.5l-0.5-0.2%20l-0.1-0.5c-0.1-0.7-0.1-1.2-0.1-1.6c0-0.1,0-0.3,0-0.4l-5.3-0.6c-6-0.7-12.2-1.3-16.2-1.5l-0.1,0.1l-0.7-0.1l0.1-1.1l-0.5-0.7%20c-0.3,0.2-0.4,0.5-0.4,0.6c0.1-1-1.4-8.7-2.7-10.8c-1.4-2.1-3.1-3.5-5.6-4.5l-0.3-0.1l-0.2-0.2c-0.7-0.9-0.8-2.2-0.8-3.1%20c-0.3-0.1-0.6-0.2-1.1-0.3c-1.8-0.6-6.9-4.8-7.6-6.2c-0.8-0.8-2.2-1.9-3.2-1.9c-2.7,0-4.7-0.8-5.8-2.4c-1.7-2.4-0.9-5.9-0.1-8%20c-1.4-2.2-2.9-5.5-4.2-8.4c-1.2-2.7-2.5-5.4-3.2-6.3l-0.2-0.2l0-0.3c-0.2-1.6-0.5-4.7,2.1-6.5c0.1-0.9-0.3-1.2-1.2-1.8%20c-0.9-0.7-2.2-1.6-2.8-3.6c-0.3-0.9-0.1-3.3,0.1-5.1c0,0-0.1,0-0.1,0c-0.2-0.1-0.5-0.4-0.7-0.9l-0.1-0.3l0.1-0.3%20c0.3-0.8,0.4-1.2,0.4-1.4c-0.1-0.1-0.3-0.4-0.4-0.7l-0.1-0.5l0,0c0,0-0.1-0.1-0.1-0.1c-0.6-0.6-1.3-1.2-1.7-2.2l-0.3-0.5l0.4-0.5%20c0.4-0.6,0.3-1.1-0.1-2.5c-0.2-0.6-0.4-1.3-0.5-2c0,0,0,0,0,0c-1.3-0.9-4-2.8-3.1-9.6c0.4-2.6,0.5-4.7,0.6-6.6%20c0.1-0.8,0.1-1.6,0.2-2.5c-0.8-1-2.8-4.1-2.3-7.1c0.3-1.6,1.2-2.9,2.8-3.9c1.5-2.9,3.3-8.8,3.6-12.7c-0.7-1.2-0.5-2.7-0.2-4.7%20c0.1-0.7,0.2-1.5,0.3-2.4c0.4-4.3,2.4-8.3,5.1-10.4c3.3-8.1,7.8-19.4,11.2-28.6l-0.4-0.3l0.3-0.9c-1-0.6-0.9-2-0.9-2.5%20c0.1-1.4,1.1-2.6,1.8-3.4c0,0,0,0,0.1-0.1c-0.6-1.6-0.6-1.9-0.4-3.7c0.2-1,0.9-1.5,1.4-1.7c0-0.9-0.2-2.8-0.3-4.4%20c-0.3-3.2-0.7-7.2-0.5-10.1c0.1-2.1,0.9-3.4,2.2-3.8c3.8-1.2,10.8,7.2,12.9,9.7l0.5,0.6l-0.4,0.6c-1.2,1.7-0.2,6.3,0.8,8.6%20c0.3-1.3,0.9-3.2,2.7-3.7l0.2-3.6l0.1,0c0-0.4-0.1-1.3-0.2-2c-0.4-2.8-0.5-4.3,0-5.1c0-0.3-0.4-1.1-0.6-1.6%20c-0.6-1.1-1.2-2.4-0.8-3.7l0.3-1.1l1,0.4c2.4,1,29.9,7.4,44.2,10.6c2.8,0.3,7.6,1.6,8.4,1.8c0.4,0,1.5,0.2,4.9,0.8%20c7.5,1.3,23.2,4,42.1,6.6c14.2,2,31.3,3.6,47.7,5.1l54.2,1.4c2.1-0.3,4.4-0.4,14.5-0.4v-1c0-2.1,0.8-2.3,2.8-2.8l0.3-0.1%20c1.4-0.2,3.3,2.6,3.6,4c0.1,0.7,0.7,2.1,1.3,2.6c1.1,0.9,1.9,1,2.7,1.1c0.4,0.1,0.8,0.1,1.2,0.2c0.1,0,0.4,0.1,0.7,0.2%20c0.8,0.2,2.8,0.7,3.3,0.6c8.4-1,8.6-0.5,9.1,0c0.1,0.1,0.1,0.4,0.1,0.9v0.2l-0.1,0.3c-0.2,0.2-0.3,0.5-0.4,0.7%20c3.4,0.4,6.8,2.2,8,3c2.4-1.1,4.4-1.3,7.2-1.6c1-0.1,2.2-0.2,3.5-0.4l5.5-0.3c3-1,6.7-2.1,7.8-1.8l0.2,0.1l0.2,0.2%20c0.6,0.5,1.3,2.4,0.5,4.1c-1,2.2-3.8,3.1-8.4,2.6l-0.2,0l-0.2-0.1c-1-0.6-6.7,1.9-8.1,2.9c-0.8,0.6-6.6,6.7-9.9,10.4%20c1.5-0.3,3.2-1,4.7-1.7c1.3-0.6,2.5-1.1,3.4-1.2l0.6-0.1l0.8,1.4c0.2,0.2,0.3,0.4,0.4,0.5c0.2,0.6-0.2,1-0.4,1.2%20c-0.1,0.1-0.1,0.1-0.2,0.2c1,0.2,1.8,0.4,2.4,0.6c0.5-0.1,2.4-0.4,2.6-1.5c0-0.2,0.1-0.5,0.2-0.7l2.1-2.9l-0.2,2.3%20c2.1-0.8,6.4-2.8,8.6-5.2c0.6-1.8,3.7-3.6,4.4-3.9c0.2-0.1,0.4-0.2,0.5-0.3c0.7-0.4,1.8-1,2.7-0.6c0.6,0.2,1,0.7,1.3,1.4l0.1,0.2%20l0,0.2c-0.2,2.4-2.1,2.5-2.8,2.6c-0.1,0-0.2,0-0.2,0c-0.1,0-0.4,0.3-0.7,0.7c0.2,0.7-0.1,1.5-0.5,2.1c2-0.2,4.5,0.4,8.1,3.9%20c0.5-0.1,1.2-0.2,1.9-0.3l0.3,0l0.3,0.2c1.3,0.9,4.8-1.3,6.3-2.2c0.8-0.5,1.2-0.7,1.6-0.8l0.1,0c0.7-0.1,1.4-0.2,2-0.3%20c1.9-0.3,3.4-0.5,4.4-1.1l1.1-0.6l0.4,1.5c0.2,0.8,0.5,1.7,1,1.9c0.6,0.3,1.8,0,3.3-0.7l1.3-0.6l0.1,1.4c0.1,0.5,1.6,2.4,2.4,3.4%20c0.5,0.7,1.1,1.6,1.4,2l1.1,1.8h-1.9c-1.3,0-3.1-0.1-4.7,0c0,0,0-0.1,0-0.1c-0.1,0.1-0.1,0.1-0.3,0.6l11.1,4.2l0.2,0.2%20c0.1,0.1,1.4,1.6,2.3,3.9l0,0.1c0.6,2.6,1.3,7.7,1.3,7.8l0.1,0.9l-0.9,0.2c-0.3,0.1-0.5,0.1-0.6,0.1c0,0,0,0,0,0%20c-0.6,2.3-1.2,3.9-2.8,4.3c-0.5,1.4-0.2,1.9-0.1,2.1c0.2,0.2,0.5,0.3,0.7,0.3l1.6-1.3c0.2-0.9,0.8-2.9,3.5-4.5l0.3-0.2l0.3,0%20c2.8,0.1,4,2.2,4.5,3.1l0.2,0.5c1.2,5.7,3.2,7.3,3.2,7.3l0.4,0.3l0,0.5c-0.1,1.8-0.3,3.9-0.2,4.4c0.2,0.8,0,2.1-0.2,2.6%20c-0.2,0.6-0.4,1-0.7,1.2c0,0.2,0.2,0.3,0.2,0.6v0.7l-0.8,0.3c-0.2,0.1-0.4,0.1-0.5,0.2c0,0,0,0,0,0l0.1,0.5l-0.3,0.4%20c-0.5,0.6-1.1,0.7-1.5,0.9c-0.4,0.1-0.4,0.1-0.5,0.2c-0.1,0.3-0.1,0.4-0.1,0.4c0,0.1,0.2,0.3,0.3,0.5l0.7,0.9l-0.7,0.6%20c-0.6,0.5-2,2.2-2.6,3.7c2.2,0.5,5.9,1.4,7.4,1.7c1.2-1.3,2.6-1.7,3.5-2c0.1,0,0.2-0.1,0.3-0.1l0-0.2l2.8-1.1l1.8-2.1%20c0.1-0.1,2.4-3.3,5.5-4.1l0.3-0.2l2.1-0.7c0.3-0.1,0.8-0.3,1.3-0.4c0.8-0.2,1.7-0.5,2.2-0.8l0.2-0.1l0.2,0c0,0,1-0.2,2.5-0.2%20c0.2-0.3,0.4-0.7,0.7-1.1c1.1-1.6,3.3-4.9,3.6-5.7l0.3-0.8l0.6,0.1c0-0.1,0.1-0.2,0.1-0.3c0.2-0.4,0.4-0.8,0.7-1.4%20c0-0.7-0.3-1.2-0.7-2c-0.4-0.7-0.9-1.4-1.1-2.4c-0.1-0.2-0.3-0.4-0.3-0.5v0c0-0.1,0.2-0.2,0.2-0.2l-0.1-0.1c0-0.3-0.1-0.5-0.1-0.7%20V291l1.6,5.8c0.1-0.1,0.3-0.1,0.5-0.2c1.3-0.5,5-1,9.2-1.5c1.5-0.2,2.8-0.3,3.4-0.4c1.8-0.4,4.6-1.2,5.3-1.7%20c0.8-0.6,1.7-1.8,2.2-2.3c0.1-1.5,0-3.8-0.6-4.4c-0.1-0.1-0.3-0.2-0.6-0.1l-1.1,0.2l-0.1-1.1c-0.1-1.6,0.9-2.8,1.3-3.1%20c5-7.8,9-11.1,9.2-11.2l0.2-0.1l12-3l0-0.4l0.8-0.2c4.5-0.9,8.2-2,11.2-2.8c1-0.3,1.9-0.6,2.7-0.8c0-0.3,0-0.6,0-0.8%20c0.2-1.4,1.6-2.8,3.3-3.3c0.1,0,0.1-0.1,0.2-0.1l1.3-3v-1.5c-0.4-0.5-0.8-1.3-0.5-2c0.2-0.4,0.6-0.9,1.7-0.8%20c0.5-0.6,1-2.9,1.2-10.6c0-0.8,0-1.5,0.1-1.8l0-0.4l0.3-0.3c0.7-0.6,1.2-2.3,1.7-3.7c0.6-2,1.2-3.9,2.6-4.7l0.8-0.4l0.5,0.8%20c0.2,0.4,1.1,1.4,2,1.3c0.9-0.2,1.5-0.7,2.1-1.3c0.8-0.7,1.7-1.5,3-1.5h0.3l0.3,0.2c3.6,2.8,4.2,3.6,4.9,4.9%20c0.2,0.3,0.4,0.7,0.7,1.1l0.1,0.3c0.2,0.6,0.6,2.1,1.1,4c0.8,2.7,1.8,6.3,2.2,7.5c0.2,0.1,0.7,0.1,1.1,0c2-0.2,2.5,1.3,2.8,2.4%20c0.1,0.4,0.3,0.9,0.6,1.4c0.1,0,0.3,0.1,0.4,0.2c0.9,0.6,1.2,2.1,1.5,3.6c0.1,0.5,0.2,1.2,0.3,1.5l0.5,0.4l-0.3,0.7%20c-0.4,0.9-1.5,2.5-2.5,4c-0.2,0.4-0.4,0.6-0.5,0.8c-0.9,2.3-2.9,4-5.4,4.7c-1.3,0.3-2.4,0.3-3.2-0.1c-0.2,1.2-0.4,2.5-0.3,3.2%20l0,0.8l-1.8,0.6c-0.4,2-2.1,4-3.6,4.9c0.1,0.7,0.4,1.6,0.6,2.5c0.6,2.3,1.3,4.7,0.8,6.3l-0.1,0.4l-0.4,0.2%20c-1.8,0.8-3.9,1.4-5.5,1.6c0.3,0.4,0.9,0.8,2,1.4l0.9,0.4l-0.5,0.9c-0.2,0.4,0.1,2.1,0.2,2.9c0.1,0.5,0.1,0.9,0.2,1.2%20c1.7,2.5,3,3.3,3.6,3.1c0.5-0.1,0.9-0.9,0.9-1.3l0.1-0.7l0.7-0.2c2.2-0.5,3.5,1.3,4.2,2.4c0.1,0.2,0.3,0.4,0.4,0.6%20c1.4,0.2,4,0.4,4.9,0.3l1.1-0.2v1.2c0,0.5,0,1.4-4.1,2.5c-1.4,0.3-2.7,0.1-3.8-0.5c-0.6,0.5-1.3,0.7-1.9,0.6%20c-0.5-0.1-0.8-0.3-1.1-0.5c-0.4,0.3-1,0.7-1.5,0.9l-1.7,0.5l0.2-0.8c-0.9-0.1-2.3-0.2-3.8-0.2c0.6,1.1,1.5,2.5,2.1,3.5l0.4,0.6%20l-0.4,0.6c-2.1,2.8-5.7,4.7-5.9,4.8l-0.2,0.1c-3,0.8-14.2,8-19.4,11.4l1.3,0.1l0.2,0.7c0,0.2,1.1,4.6,0,9%20c-1.1,4.2-3.8,8.9-3.9,9.1l-0.9,1.6l-1.5-3l-2-0.4l-2.3-1.3c0.6,1.2,1.3,2.7,1.6,3.3l0.1,0.2c0.4,3.5,1.5,5.4,1.5,5.4l0.2,0.3%20l-0.3,4.6l0.2,0.1l-0.1,0.9c0,0,0,0.2-0.1,0.4l-0.1,1.6h-0.9c-0.1,0.1-0.4,0.4-0.7,0.8c-1.1,1.2-2.5,0.8-3.4,0.4%20c-0.1,0.2-0.3,0.4-0.6,0.5c-0.3,0.1-0.6,0.1-0.8,0.1c0,0,0,0,0,0c-0.6,0.4-1.5,0.2-2.7-0.6c0.2,0.6,0.1,1.2,0,1.7%20c0,0.2-0.1,0.6-0.1,0.7c0.3,0.4,0.4,0.8,0.5,1c0.1,0.2,0.1,0.3,0.4,0.5c0.5,0.4,0.6,0.8,0.6,1.1c0,0.6-0.4,1-0.7,1.2%20c0,0-0.1,0.1-0.1,0.1c0.1,0.1,0.4,0.4,1,0.8c0.4,0.3,1.3,0.9,1.1,1.8c-0.2,0.9-1.1,1-1.9,1.2c-0.2,0-0.5,0.1-0.8,0.2%20c0.2,0.3,0.6,0.8,1.6,1.6c0.9,0.8,1.5,1.9,1.7,2.8h1.1c0.8,0,1.4,0.4,1.7,0.8c2.3-0.2,6.4-0.4,8.7,5.2c1.3,3.1-2.5,8-2.9,8.6%20l-0.1,0.1c-0.7,0.6-1.8,0.5-3,0.5c-0.1,0-0.2,0-0.3,0l0.4,0.3l-0.1,0.6c0,0.2-0.1,0.5-0.2,0.7c-0.1,0.5-0.2,0.8-0.1,1.1%20c0.1,0,0.2,0,0.2,0c0.5-0.1,1.3-0.3,2,0.2c0.5,0.4,0.7,0.9,0.8,1.8c0.2,1-0.8,2.4-1.2,2.9l-0.7,0.9l-0.7-0.7c-0.2,0-1.2,0-4.3,1.7%20c-3.3,1.4-5.3,5.8-6,9.1l-0.1,0.2l-0.2,0.2c-0.6,0.7-1.8,1.5-2,1.5l-0.2,0.1l-0.2,0c-1.7,0.1-2.5,0.5-3.1,0.9%20c-0.3,0.2-0.7,0.4-1.1,0.4c-0.2,0.4-0.6,0.9-1.1,1.5c-0.4,0.5-0.8,1-1.1,1.5c-2.2,5.6-4.7,9.1-4.8,9.3l-0.1,0.2%20c-0.1,0.1-1.3,1.2-2.8,2.1c-0.4,1.3-0.7,2.4-0.7,2.4l-0.2,0.6l-0.6,0.1c-0.8,0.1-1.9,0.5-2.7,0.8c0.6,1.4,0.2,2.4-0.2,2.9%20c-0.7,0.8-1.8,1.2-2.7,1.2c-0.3,0.8-0.7,1.5-1.1,2.1c-1.8,4-3.6,10.4-3.6,15.2c1.1,1.2,1.8,3.4,2.5,5.6c0.3,0.9,0.6,1.9,0.9,2.7%20c1.3,3.1,6.4,11.1,7.5,12.4c0.5,0.1,1.4,0.3,2.2,1.1c1.4,1.3,2.1,3.6,2.1,6.8c0,0.2,0,0.4-0.1,0.6c1.3,2.8,4.1,8.3,7.1,11.1%20l0.2,0.2l0,0.2c1.1,2.9,2.3,11,2.3,13.3v0.5l-0.4,0.3c-1.5,1-1.5,4.8-1.5,6.6c0,1.4,0,1.8-0.5,2.2l-0.4,0.3l-0.5-0.1%20c-0.7-0.2-1.5,0.3-2.3,0.7c-1,0.6-2.4,1.4-3.6,0.1c-0.4-0.4-0.3-0.9-0.3-1.1c0-0.1,0-0.1,0.1-0.2c0-0.1-0.1-0.1-0.1-0.2%20c-0.1-0.1-0.2-0.3-0.2-0.4c-0.1,0-0.4,0.1-0.8,0.5l-1.1,0.8l-0.5-1.3c-1-2.9-4.9-5.2-8.6-7.1l-0.5-0.2l-0.1-0.5%20c-0.2-1.6-1-2.9-2.1-3.5c-1.1-0.6-1.5-1.9-1.7-3c-0.5,0.1-0.9-0.1-1.1-0.2l-0.7-0.2l0-0.5c-2.6-1.4-3.9-4.2-5.2-7.1l-0.1-0.2%20l0-0.3c0.1-0.7,0.4-1.4,0.7-2.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.4,0.3-1,0.3-1.6,0.1l-0.3-0.1l-0.2-0.2c-0.3-0.3-0.5-0.4-0.6-0.5%20c-0.4-0.3-0.9-0.7-0.7-1.7c0.2-3.5,0.6-6.1,0.6-6.2c0.3-1.7,0.4-4.6-0.5-5.3l-0.1-0.1l-0.1-0.1c-0.7-1.1-1.3-1.8-2.2-2.1%20c-3.3-1-5.5-2.7-6.7-5c-1.3-0.5-2.5-1.8-3.1-2.9c-1.6-0.3-5.1-0.6-6.2,0.8l-0.1,0.1l-0.1,0.1c-1.1,0.7-1.9,1.4-2.6,2%20c-1.6,1.4-2.8,2.4-6.5,2.3c-2.6-0.2-3.3-0.9-4-2c-0.4-0.7-0.9-1.4-3.5-1.9c-1.1-0.2-1.9-0.4-2.4-0.4c0,0.2,0,0.4-0.1,0.6%20c-0.4,0.8-1.3,0.8-1.6,0.9c-2.1,0.2-2.8-0.8-3.2-1.4c-2.9,1-5.4-0.8-7.1-2c0,0-0.1-0.1-0.1-0.1c0,0,0,0-0.1,0.1l-0.2,0.3%20c0,0.1,0,0.1,0,0.2l0,0.4l-0.2,0.3c-1.1,1.3-3.5,1.8-3.7,1.8l-0.8,0.2l-0.3-0.7c-0.2-0.6-0.8-1.7-1.3-2.7c0,0.2-0.1,0.4-0.1,0.6%20c-0.2,1.2-0.3,2.2-1.1,2.6c-0.1,0.1-0.1,0.3-0.2,0.4c-0.1,0.3-0.4,1-1.1,1c-0.4,0-0.7-0.1-0.9-0.3h-0.4c-0.8,0-1-0.6-1.1-1.4%20c-2.4,0.5-7,1.7-10,3.8c0.1,0.1,0.1,0.3,0.1,0.4c0,0.8-0.6,1.2-1.3,1.5c-0.7,0.4-1.4,0.8-1.3,1.2l0,0.3c0,0.1,0,0.2,0,0.2%20c0.3,0.1,0.7,0.4,1.3,0.8l0.1-0.1l0.6,0.2c6,2.4,6.5,3.4,6.6,3.8c0.1,0.2,0.2,0.5,0.2,0.7v0c0,0.5-0.2,1.8-1.4,2.3%20c-1.3,0.6-3.3-0.3-6.3-2.7c-0.2-0.2-0.4-0.2-0.4-0.2c0,0-0.2,0.1-0.3,0.1c-0.3,0.2-1,0.5-1.7,0.2c-0.1,0.7-0.4,1.5-1.2,2.2%20l-0.5,0.4l-0.6-0.3c-3.4-1.6-4.1-1.2-4.1-1.2c0,0.1-0.1,0.3-0.1,0.4c0,0.1,0,0.3,0,0.4l-0.1,0.7l-0.7,0.1%20c-2.3,0.4-4.2,0.3-6.2-1.1l-0.3-0.2l0-0.2c-0.3-0.4-0.8-1-1.3-2.2c-0.3-0.2-0.7-0.3-1.2-0.5c-0.9-0.2-2-0.3-2.6-1.7%20c-0.3-0.1-0.8-0.1-1.2-0.1h-0.3l-0.2-0.3c-0.4-0.2-1.2-0.4-1.5-0.1c-0.2,0.2-0.1,0.5-0.1,0.8l0.2,0.7l-0.6,0.4%20c-2.9,1.9-6.9,0.5-10.8-0.9c-0.9-0.3-1.8-0.6-2.6-0.9c-2,0.7-4.3,1.2-6,1.2l-0.2,0c-0.1,0-0.1,0-0.2-0.1c-1.4,1-5.1,2.4-6.8,3%20c-0.2,0.8-0.6,2-1.8,2.6l-3.8,3.4l-4.1,2.9l-5,2.2c-0.5,0.5-1.1,0.9-1.6,1.3l0.6,0.4l-1.1,0.8c-0.5,0.3-1,0.7-1.7,1.2%20c-1.6,1.1-4,2.7-4.4,3.9l-0.5,1.9l-0.7-1c0.2,0.9-0.5,1.8-0.9,2.5c-0.1,0.2-0.2,0.3-0.3,0.4l-0.3,0.6l-0.7-0.1l-0.3,1.8%20c-0.1,0.5-0.3,2.1-0.3,2.7c0,0.6,0.3,1.8,0.6,3.1c0.6,2.7,1.4,6,1.2,8.2c0.4,0.1,0.7,0.4,0.9,0.6c0.7,0.9,0.2,2.1,0.1,2.4%20l-0.1,0.1c0,0.1-0.1,0.2-0.1,0.3c-0.1,0.3-0.3,0.8-0.9,1.1c-0.4,0.2-0.8,0.1-1.2,0C278.8,521,277.8,521.3,276.8,521.3z%20M274.9,519.6c0.1,0.2,0.3,0.3,0.4,0.3c0.2,0.1,0.4,0,0.5,0l-0.4-0.5L274.9,519.6z%20M275.5,519.3l0.5,0.4l0.2-0.5c0,0,0,0,0,0%20c0-0.1,0-0.2,0-0.3L275.5,519.3z%20M276.3,519.3c0.9,0.1,2.2-0.3,2.6-0.5l0.4-0.2l0.4,0.2c0-0.1,0.1-0.3,0.2-0.4%20c0-0.1,0-0.1,0.1-0.2c-0.1,0-0.2,0-0.3,0l-1.8,0.3l0.7-1.6c0.6-1.6-0.3-5.6-1-8.3c-0.4-1.5-0.7-2.7-0.7-3.5c0-0.3,0-0.7,0.1-1.1%20l-1.4,0.7l2.7-6.3l1,0.1l0,0c0.2-0.3,0.5-0.8,0.6-1c0,0-0.1,0-0.1-0.1l-0.9-0.4l0.4-0.9c0.3-0.7,1.3-1.3,2.2-1.4%20c0.1,0,0.1,0,0.2,0c0.9-1.5,2.9-2.8,4.8-4.1c0.1-0.1,0.3-0.2,0.4-0.3l-0.4-0.7l0.6-0.6c0.2-0.2,0.4-0.3,0.6-0.3%20c0.5-0.3,1.4-0.9,2.3-1.7l0.1-0.1l5.2-2.3l3.8-2.7l4-3.6c0.7-0.3,0.9-1.5,0.9-1.7l0.1-0.6l0.6-0.2c3-1.1,6.5-2.3,7-2.8l0.5,0.8%20h1.2v-1.1c0-0.1-0.3-0.2-0.4-0.2c0.1,0,0.2,0.1,0.3,0.1c1.5,0,3.7-0.5,5.5-1.2l0.3-0.1l0.3,0.1c1,0.3,2,0.7,3,1%20c3.1,1.1,6.3,2.2,8.5,1.3c-0.1-1.2,0.5-1.8,0.9-2.1c1-0.8,2.5-0.7,3.5-0.3c1.1,0.1,2.1,0.6,2.2,0.6l0.4,0.2l0.1,0.4%20c0.2,0.7,0.5,0.8,1.4,1c0.6,0.2,1.4,0.4,2.1,1l0.2,0.2l0.1,0.2c0.6,1.3,1,1.9,1.2,2.1c0,0,0,0,0,0c1.1,0.7,2.1,0.9,3.8,0.7%20c0.1-0.5,0.4-1.1,1-1.4c1.1-0.6,2.7-0.3,5.3,0.8c0.1-0.3,0.1-0.8,0-1.3c-0.1-0.4-0.2-1.2,0.5-1.6c0.7-0.4,1.4,0.2,1.8,0.6%20c0.2,0.2,0.3,0.2,0.3,0.2c0,0,0.1-0.1,0.2-0.1c0.2-0.1,0.6-0.3,1-0.3c-0.2-0.1-0.3-0.3-0.5-0.5c-0.3-0.2-0.5-0.4-0.6-0.5%20c-0.2,0-0.4-0.1-0.6-0.2c-0.7-0.4-0.8-1.2-0.8-1.9c-0.1-0.6-0.1-1.1,0.1-1.5c-0.3,0-0.6,0-0.9-0.1c-0.9-0.3-1.6-1.1-2.2-2.3%20l-0.2-0.4l0.2-0.4c0.3-0.5,0.6-1,0.8-1.4c0-0.1,0.1-0.1,0.1-0.2l-0.1-0.2l0.5-0.6c0.5-0.5,1.1-0.5,2.6,0.1c0.3,0,0.6,0.1,0.9,0.3%20l0.8,0.3l-0.1,0.4c0.1,0.1,0.2,0.2,0.2,0.3c0.2,0.2,0.4,0.5,0.6,0.7c3.7-2.6,9.3-3.9,11.5-4.3l0.6-0.1l0.1,0.5l0.3-0.6%20c-0.3-0.1-0.6-0.1-0.8,0l0.4-0.2l0.5,0.1c0.2,0.1,0.5,0.2,0.7,0.7l0.2,0.5c0.1-0.1,0.2-0.2,0.4-0.3c0.1-0.2,0.2-0.8,0.2-1.3%20c0.2-1.1,0.3-2.4,1.1-3.2l0.7-0.7l0.7,0.7c0.9,0.9,1.9,2.9,2.4,4c0.6-0.2,1-0.4,1.4-0.8c0-0.4,0.1-0.7,0.1-1v-0.3%20c0-0.1,0.1-0.2,0.1-0.3l0-0.1l0-0.1c0-0.2,0-0.4,0-0.5c-0.2-0.6-0.7-1.4-0.9-1.7l1.6-1.2c0.4,0.4,1,1.2,1.3,2.4%20c0.1,0.2,0.1,0.3,0.1,0.5c0.4,0.2,0.8,0.5,1.3,0.8c1.6,1.1,3.5,2.5,5.5,1.7c0.9-0.4,1.7-0.1,2.2,0.9c0.2,0.3,0.3,0.5,0.9,0.5%20c-0.1-0.3-0.1-0.6,0.1-1c0.5-0.7,1.4-0.7,5,0c3.2,0.7,4.1,1.7,4.8,2.8c0.4,0.6,0.6,0.9,2.4,1c2.9,0.2,3.6-0.4,5.1-1.8%20c0.7-0.6,1.5-1.3,2.6-2.1c2.3-2.7,7.9-1.4,8.6-1.3l0.5,0.1l0.2,0.5c0.4,0.9,1.5,2.2,2.5,2.4l0.5,0.1l0.2,0.4%20c0.8,2,2.7,3.4,5.6,4.3l0.1,0c1.2,0.5,2.2,1.4,3.1,2.8c1.9,1.8,1.2,6.2,1,7l0,0c0,0-0.4,2.6-0.6,6c0.1,0.1,0.2,0.2,0.4,0.3%20c0-0.1,0.1-0.2,0.1-0.3c0.1-0.5,0.4-1.3,1.2-1.7c0.8-0.3,1.6,0.1,2.2,0.5c0.3,0.1,0.5,0.3,0.6,0.6c0.4,0.7-0.1,1.6-0.7,2.8%20c-0.3,0.6-0.6,1.3-0.8,1.8c1.2,2.8,2.5,5.1,4.7,6.1l0.4,0.1l0-0.1l1,0l1,0l0,1c0,1,0.3,2.3,0.9,2.7c1.5,0.8,2.6,2.5,3,4.5%20c3.4,1.8,7,4.1,8.6,6.9c0.4-0.2,0.9-0.3,1.4-0.2c0.8,0.2,1.2,0.9,1.5,1.4c0.1,0.2,0.2,0.3,0.3,0.5c0.1,0.1,0.2,0.3,0.3,0.4%20c0.2-0.1,0.4-0.2,0.6-0.3c0.7-0.4,1.6-0.9,2.6-1c0-0.1,0-0.3,0-0.4c0-2.3,0.1-6,2-7.8c-0.1-2.4-1.2-9.2-2.2-11.9%20c-3.4-3.3-6.4-9.6-7.6-12.2l-2.4-5.1l2.4,2.4c-0.2-2-0.9-3-1.4-3.5c-0.6-0.5-1.1-0.6-1.1-0.6l0,0l-0.1,0l-0.1,0%20c-1.7-0.4-8-11.7-8.8-13.6c-0.4-0.9-0.7-1.9-1-2.9c-0.6-1.8-1.3-3.9-2-4.8l-0.5-0.4l0.4-0.5l-0.5,0c-0.1-5.2,1.9-12.1,3.8-16.6%20l0.1-0.2c0.5-0.7,1-1.5,1.1-2.3l0.2-1.3l1.2,0.5c0.2,0.1,1.2,0,1.5-0.4c0.3-0.4-0.2-1.2-0.5-1.5l-0.8-1.1l1.3-0.4%20c0,0,0.2-0.1,0.3-0.1c0.7-0.3,2-0.8,3.2-1.1c0.2-0.5,0.4-1.3,0.6-2.2l0.1-0.4l0.4-0.2c1.2-0.7,2.4-1.7,2.7-2%20c0.4-0.6,2.5-3.9,4.5-8.9l0.1-0.2c0.3-0.5,0.8-1.1,1.2-1.7c0.3-0.4,0.7-0.9,0.9-1.2c-0.2-0.4-0.2-0.8,0.1-1.2%20c0.5-0.6,1.2-0.3,1.6,0c0.1,0,0.1-0.1,0.2-0.1c0.6-0.4,1.7-1,3.7-1.1c0.4-0.2,0.8-0.6,1.1-0.8c0.4-1.9,2.3-8.2,7.1-10.2%20c2.3-1.3,4.2-2,5.4-1.9c0.2-0.4,0.4-0.7,0.4-0.8c0-0.2,0-0.3,0-0.3c-0.1,0-0.2,0-0.3,0.1c-0.5,0.1-1,0.2-1.6,0l-0.3-0.1l-0.2-0.2%20c-0.9-1.2-0.6-2.4-0.4-3.2c0,0,0,0,0-0.1c-0.4-0.5-0.8-1.2-0.7-1.8c0-0.5,0.3-0.9,0.8-1.1l0.3-0.1c0.5-0.1,1.2-0.1,1.9,0%20c0.5,0,1.3,0,1.6,0c1.7-2.2,3.1-5.1,2.5-6.4c-1.8-4.5-4.9-4.2-6.9-4c-0.1,0-0.3,0-0.4,0c-0.3,0.1-0.5,0.1-0.8,0%20c-0.5,0-1-0.2-1.2-0.8l0.1-0.1l-1,0v-2c-1,0-1.1,0.5-1.1,0.8c0-0.3-0.3-1.4-1.1-2.1c-1.9-1.6-2.7-2.7-2.4-3.8%20c0.2-0.9,1-1.2,1.8-1.4c-0.8-0.7-1.3-1.3-1.3-2c0-0.6,0.2-1,0.5-1.3c-0.3-0.4-0.5-0.7-0.6-1c-0.1-0.2-0.1-0.3-0.2-0.5%20c-0.5-0.8-0.4-1.6-0.3-2.2c0-0.2,0.1-0.4,0.1-0.5c-0.6-0.7-0.9-1.3-1.3-1.9l-0.6-1l1.2-0.5c0.6-0.3,1.7-0.7,2.6,0.1%20c0.5,0.4,0.9,0.7,1.2,0.9l0.4-0.3c0.2-0.1,0.4-0.2,0.7-0.1l0-0.1l0.5-0.4c0.6-0.3,1.1-0.1,1.5,0.2c1,0.6,1.4,0.7,1.7,0.4%20c0.5-0.5,0.7-0.8,0.9-0.9l0,0c0.1-0.2,0.2-0.4,0.3-0.7l0.1-1.8l0.2-3c-0.4-0.7-1.3-2.7-1.6-5.8c-0.4-1-2-4-2.5-5.1l-0.7-1.3%20l2.6-0.3l4.2,2.3l2.5,0.5l0.2,0.5c0.9-1.7,2.2-4.5,2.8-6.9c0.7-2.9,0.4-6,0.1-7.3l-2.7-0.2l0.5-2.5l0.3-0.2%20c0.7-0.5,16.6-11,20.9-12.4c0.5-0.3,3-1.7,4.7-3.7c-1.2-1.9-2.6-4.4-2.7-4.5l-0.8-1.5l1.7,0c4.2,0.1,6,0.3,6.8,0.5%20c0.4-0.2,0.9-0.6,1.2-0.9l0.4-0.4c-0.2,0.1-0.4,0.2-0.7,0.3c-1.9,0.5-3.8-1-5.9-4.2l-0.1-0.2l0-0.3c0-0.3-0.1-0.8-0.2-1.3%20c-0.2-1.3-0.4-2.3-0.3-3.1c-1.5-0.8-2.2-1.6-2.5-2.2l-0.2-0.2c-0.2-0.2-0.4-0.6-0.2-1.2c0,0,0,0,0,0c0,0.1-0.1,0.1-0.1,0.1%20c0,0,0-0.2-0.2-0.5c-0.1-0.1-0.9-1.5-0.4-2.3l0.3-0.5l0.6,0.1c0.6,0.1,0.8,0.5,1.4,2c1.1-0.1,3-0.5,4.9-1.3%20c0.1-1.1-0.5-3.1-0.9-4.7c-0.4-1.3-0.7-2.5-0.8-3.5l-0.1-0.9l0.9-0.2c1-0.2,2.9-2.4,3.1-4.1l0-0.7l1.7-0.5%20c0.1-1.6,0.5-3.9,0.7-4.7c0-0.1,0-0.2,0-0.2l0.1-0.6l0.6-0.2l1.6-0.5l-0.3,1.4c0.1,0.1,0.2,0.3,0.5,0.5c0.1,0,1,0.2,2.3-0.3%20c1-0.3,2.7-1.2,3.5-3.2c0-0.2,0.2-0.4,0.7-1.2c0.6-0.9,1.6-2.3,2.1-3.3c-0.2-0.5-0.3-1.1-0.4-1.9c-0.1-0.6-0.3-1.7-0.5-2.1%20l-0.4,0.1l-0.4-0.6c-0.5-0.8-0.8-1.6-1-2.3c-0.4-1.1-0.4-1.1-0.7-1c-0.7,0.1-2.6,0.2-3.1-1c-0.4-1-1.5-4.7-2.4-7.9%20c-0.5-1.7-0.9-3.1-1.1-3.8c-0.3-0.4-0.5-0.8-0.7-1.1c-0.6-1-0.9-1.5-4.1-4.1c-0.4,0.1-0.8,0.4-1.4,0.9c-0.8,0.7-1.7,1.5-3.1,1.8%20c-1.4,0.2-2.5-0.6-3.2-1.3c-0.4,0.7-0.8,1.9-1.1,2.9c-0.5,1.7-1,3.4-2,4.4c0,0.3,0,0.7,0,1.3c-0.1,6.6-0.5,11-2,12.2%20c-0.2,0.1-0.4,0.2-0.6,0.3l0.1,0.1l0,2.6l-3.9,8.7l0.2-3.8c-0.7,0.4-1.1,0.9-1.2,1.3l0.6-0.2l-0.1,0.8l0.4,0.2l-0.4,0.8%20c0,0,0,0,0,0.1c0,0.1,0,0.3,0,0.4c0,0,0,0,0,0.1l-1.1-0.1c-1,0.3-2.2,0.6-3.5,1c-2.8,0.8-6.3,1.9-10.5,2.7c0,0.1,0,0.2,0,0.2l0,0%20c0,0.7-0.2,1-0.9,1.1c-0.5,0-0.8-0.2-0.9-0.5l-11.3,2.8c-0.8,0.7-4.4,4-8.7,10.7l-0.2,0.2c0,0-0.3,0.3-0.6,0.8%20c0.4,0.1,0.7,0.3,1,0.6c1.7,1.6,1.3,5.6,1.2,6.4l0,0.2l-0.1,0.2c-0.1,0.1-1.4,2-2.7,3c-1.3,1-5.4,1.9-6.2,2.1%20c-0.8,0.1-2,0.3-3.6,0.5c-3,0.4-7.5,0.9-8.7,1.4c-0.4,0.2-0.5,0.3-0.5,0.4c0,0,0,0.1,0,0.2c0,0.1,0.1,0.3,0.1,0.4%20c0.1,0.7,0.4,1.3,0.8,1.9c0.5,0.9,1,1.9,0.9,3.3l0,0.3l-0.1,0.2c-0.4,0.5-0.6,1-0.8,1.4c-0.2,0.5-0.6,1.2-1.2,1.4%20c-0.6,1.1-2,3.2-3.5,5.5c0,0,0,0,0,0h0.3l-1.3,1.6c-0.5,0.6-1,0.5-1.3,0.4c-1,0-1.8,0.1-2.1,0.1c-0.7,0.3-1.6,0.6-2.4,0.9%20c-0.5,0.1-0.9,0.3-1.2,0.4l-1.5,0.5v0.1l-0.8,0.2c-2.1,0.4-4.2,2.6-4.8,3.5l-2.2,2.5l-2.5,1c-0.3,0.3-0.8,0.4-1.2,0.6%20c-0.8,0.3-2,0.6-2.9,1.8l-0.3,0.4l-0.6-0.1c-1.3-0.2-7.7-1.7-8.9-2h-1.1l0.1-1.1c0.2-1.9,1.8-4.1,2.9-5.2%20c-0.4-0.6-0.5-1.2-0.1-2.3c0.4-1,1.3-1.2,1.8-1.4c0,0,0,0,0,0c0-0.2,0-0.3,0.1-0.5c0.2-0.4,0.5-0.7,0.9-0.9c-0.2-0.5,0-1,0.4-1.4%20l0.2-0.2l0.3,0c0.2-0.1,0.4-1,0.4-1.5c-0.2-0.5-0.1-1.5,0.1-4.7c-0.8-0.8-2.4-3-3.5-7.9l0-0.1c-0.4-0.8-1-1.9-2.5-2.1%20c-2.2,1.5-2.3,3.1-2.3,3.1l0,0.5l-0.3,0.3l-2.4,2l-0.3,0c-0.2,0-1.8,0.2-2.8-1c-0.8-1-0.8-2.7,0-4.8l0.2-0.8h0.7%20c0.5,0,0.9,0.2,1.7-3.2l0.1-0.4l0.5-0.2c0.2-0.1,0.4-0.1,0.5-0.2c-0.2-1.8-0.7-4.8-1.1-6.6c-0.6-1.5-1.4-2.6-1.7-3.1l-10.5-4%20l-0.3,0.4l-1.2,1.9c0.1,0.5,0.2,1,0.3,1.3l0.3,0.8l-0.8,0.4c-0.7,0.4-1.1,0.9-1.4,1.2c0.1,0.1,0.2,0.2,0.2,0.4%20c0.6,1.2,0.8,3.8-1.4,5.5l-0.2,0.1c-1.4,0.6-2.3,0.3-2.7-0.1c-0.4-0.3-0.6-0.7-0.7-1c-3.1,4.5-2.7,8.2-2.4,10.7%20c0.1,0.5,0.1,0.9,0.1,1.3l0,0.1l0,0.1c-0.1,1.6-0.4,2.2-0.7,2.6c0,0,0,0.1,0,0.1c0.2,0.7,0.7,2,1.3,3.3c0.8,1.9,1.8,4,2.1,5.8%20c0.9,6.1-0.1,9.9-2.7,16.2l-0.3,0.6h-0.7c-0.2,0-5.4,0.3-8.5-0.4l-0.8-0.2v-0.4c-2.2-1.7-3.3-4.9-3.1-9.9h0l-0.2-0.9l0.4-0.2%20c-0.7-2.8-1.3-6-0.8-11.6l0.8-6.6c0,0,0.3-2.3,1.6-7.5c-0.2,0-0.4,0-0.6,0c-0.5,0.7-0.9,1.3-1.2,1.8c-0.5,0.9-1.1,1.9-2.3,1.6%20c-0.7-0.1-1.2-0.4-1.5-1c-0.4-1,0.2-1.9,1-3.2c0.7-1.1,1.6-2.5,1.6-3.7c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.1,0-0.2l0.4,0l0.4-0.4%20l-0.3-0.7c0.4-0.3,1.4-2.1,2-3.4c0.6-1.3,1.3-2.6,1.9-3.5l0.4-0.6l0.7,0.1c0.5,0.1,0.6,0.1,0.6,0.1h0c0,0,0.1-0.1,0.1-0.2%20c0.3-0.4,0.8-1,2-1.5l1.7-0.7l-0.2,1.1c1.1-1.6,3.7-2.2,5.3-2.6c0.3-0.1,0.5-0.1,0.7-0.2c0.1-0.1,0.2,0,0.3-0.2%20c0.3-0.4,0.8-0.9,2-0.9c0,0,0,0,0,0c2.8,0,3.9,0.3,5.2,1.2c0.1-0.2,0.2-0.4,0.3-0.6c0.1-0.1,0.1-0.2,0.2-0.3l0.3-0.4l0.5-0.1%20c1.1-0.1,2.3-0.2,3.4-0.2c-0.1-0.1-0.1-0.1-0.2-0.2c-1.2-1.5-1.9-2.5-2.4-3.3c-1.7,0.6-3,0.7-4,0.2c-1.1-0.5-1.6-1.5-1.9-2.4%20c-1.1,0.4-2.4,0.6-3.9,0.8c-0.6,0.1-1.2,0.2-1.9,0.3c-0.2,0.1-0.7,0.4-1.1,0.6c-2.2,1.3-5.7,3.5-8.1,2.3c-0.9,0.1-1.9,0.3-1.9,0.3%20l-0.5,0.1l-0.4-0.4c-4.5-4.6-6.5-4-8.8-3.2l-1.1,0.3l-0.3-1c-0.3-1.1-0.5-1.9,0-2.5c0.2-0.2,0.4-0.3,0.6-0.4l0.9-1.4%20c0.5-0.9,1-1.4,1.4-1.8c-1.3,0.7-2.7,2-2.8,2.5l-0.1,0.3l-0.2,0.2c-2,2.2-7.7,5.6-10.6,6.2c-0.8,2.2-3.9,2.7-4.6,2.7h-0.2%20l-0.2-0.1c-0.8-0.3-1.7-0.5-3.1-0.8l-0.5-0.1l-0.2-0.5c-0.4-1-0.2-1.8,0.1-2.2c-0.6,0.2-1.4,0.5-2.2,0.9c-2.2,1-4.9,2.2-7.3,1.9%20l-0.5,0.5l-1.5-1.3c0.8-1.1,11.6-12.7,12.7-13.3c0,0,7.2-4.4,10.1-3c3.3,0.3,5.4-0.1,6.1-1.3c0.4-0.6,0.3-1.3,0.1-1.7%20c-1.1,0.2-4,1-6.5,1.8l-0.3,0.1l-5.5,0.3c-1.2,0.2-2.4,0.3-3.4,0.4c-2.8,0.3-4.7,0.5-7,1.6l-0.5,0.2l-0.5-0.3c0,0-4.6-3-8.4-3%20c-0.5,0-0.9-0.2-1.1-0.7c-0.1-0.2-0.4-0.7,0.3-1.9c-1,0-2.9,0.1-6.4,0.6c-0.8,0.2-2.2-0.2-4.1-0.6c-0.3-0.1-0.5-0.1-0.7-0.2%20c-0.3-0.1-0.6-0.1-0.9-0.2c-0.9-0.1-2.2-0.3-3.7-1.6c-1.1-1-1.8-2.9-1.9-3.7c-0.2-0.8-1.1-2-1.6-2.3c-0.5,0.1-1,0.2-1.2,0.3%20c0,0.1,0,0.2,0,0.5v2.8h-1c-10.9,0-13.2,0.1-15.2,0.5l-0.1,0.1l-0.1,0l-54.3-1.4c-16.4-1.5-33.6-3.1-47.8-5.1%20c-19-2.7-34.7-5.3-42.2-6.6c-2.5-0.4-4.5-0.8-4.8-0.8l-0.2,0c-0.1,0-5.4-1.6-8.2-1.8l0.1-0.6l-0.1,0.6c-1.6-0.4-35.1-8-43.1-10.3%20c0.1,0.4,0.3,0.8,0.5,1.2c0.5,1.1,1.1,2.2,0.7,3.2l-0.1,0.3c-0.1,0.6,0.1,2.6,0.3,3.8c0.2,1.7,0.3,2.5,0.1,3.1l-0.2,4.6l-0.9,0.1%20c-1.1,0.1-1.4,0.9-1.8,2.7c-0.1,0.7-0.3,1.3-0.6,1.8c-0.2,0.4-0.6,0.6-1,0.6c-0.8,0-1.3-0.8-1.8-1.7c-1.2-2.4-2.7-7.6-1.3-10.6%20c-3.7-4.6-8.6-9.1-10.3-8.6c-0.4,0.1-0.7,0.9-0.8,2c-0.2,2.7,0.2,6.6,0.5,9.7c0.5,4.7,0.5,5.7-0.2,6.2c-0.2,0.1-0.4,0.2-0.5,0.2%20c-0.1,0.1-0.2,0.2-0.2,0.2c-0.2,1.6-0.2,1.6,0.4,3.1l0,0.1c0.2,0.6-0.2,1-0.7,1.5c-0.5,0.5-1.3,1.4-1.3,2.1c0,0.2,0,0.3,0,0.4%20L61,246l-0.9,3.3l0.5,0.4l-0.2,0.7c-3.4,9.5-8.2,21.3-11.6,29.6l-0.1,0.3l-0.2,0.2c-2.4,1.7-4.2,5.3-4.5,9.1%20c-0.1,0.9-0.2,1.7-0.3,2.4c-0.2,1.7-0.4,2.9,0,3.5l-1,0.6l1.3,0.1c-0.2,4.3-2.2,11-4,14.2l-0.1,0.2l-0.2,0.1%20c-1.2,0.7-1.9,1.6-2.1,2.7c-0.5,2.7,2.1,5.8,2.1,5.8l0.3,0.3l0,0.4c-0.1,1-0.1,1.9-0.2,2.8c-0.1,2-0.3,4.1-0.7,6.8%20c-0.7,5.6,1.2,7,2.3,7.7c0.1,0.1,0.3,0.2,0.4,0.3l0.3,0.2l0.1,0.4c0.1,0.8,0.4,1.6,0.5,2.2c0.4,1.3,0.8,2.5,0.2,3.7%20c0.3,0.4,0.7,0.7,1,1.1c0.4,0.4,0.8,0.7,1.1,1.2l0.2,0.2l0.1,0.8l-0.2,0.2c0,0.3,0,0.6-0.1,1.1l1.2-0.2l-0.6,1.6%20c-0.4,1.2-0.7,4.7-0.4,5.4c0.4,1.4,1.1,2,2,2.5c1.1,0.8,2.5,1.7,1.9,4.2l-0.1,0.5l-0.4,0.2c-1.6,0.8-1.8,2.3-1.6,4.5%20c0.9,1.2,2.1,3.7,3.3,6.5c1.4,3,2.9,6.5,4.4,8.5l0.3,0.4l-0.2,0.5c-1.1,2.8-1.3,5.3-0.3,6.6c0.7,1,2.1,1.5,4.1,1.5%20c2.3,0,4.7,2.6,4.9,2.9l1.6,1.8c1.5,1.4,3.8,3.3,4.9,3.6c0.2,0.1,0.3,0.1,0.4,0.1c0.4-0.2,0.9-0.1,1.3-0.1l1,0.2l-0.2,1%20c-0.1,0.7-0.1,2,0.2,2.7c2.7,1.1,4.7,2.7,6.2,5.1c1.1,1.7,2.8,8.1,3,11.1c4.1,0.2,10.1,0.8,16,1.5l6.9,0.8l0.1,0.8%20c0.1,0.6,0.1,1,0.1,1.5c0,0.3,0,0.5,0,0.9c6.5,3.2,10.1,5.3,15.5,8.4c1,0.5,2,1.2,3.2,1.9c2.9,1.8,6.6,4,11.2,6.2l0.9,0.5%20c3.9,2,8.7,4.5,13.8,4.2l0.1,0l9.9,2.1c1.6,0.8,4.8,0.4,7-0.5l1.1-4.7l0.8,0c6.7,0.2,11.6,0.7,14.7,1.1l0-0.2l1,0.2%20c0.7,0,1.3,0.1,1.9,0.3l0.2,0.1l0.2,0.2c0.8,0.8,1.9,2.1,3.1,3.6c2.7,3.4,6.5,8,10.5,10.2l0.4,0.2l0.1,0.4%20c0.8,2.6,1.4,3.6,1.8,4.2c0.7,1.1,0.8,1.6,0.6,4.1c0.1,0.2,0.2,0.4,0.2,0.7c1,2.9,2.5,6.9,13.7,11.3c0.8,0.3,2.6-3,3.4-4.4%20c1.2-2.3,2-3.8,3.2-3.9l0.4,0l0.3,0.2c1.7,1.1,3.1,0.8,5.1,0.4c1.7-0.4,3.8-0.8,6.4-0.3l0.4,0.1l0.2,0.4c1.6,2.4,2.6,3.3,3.7,4.4%20c0.9,0.9,1.9,1.8,3.2,3.6c0.6,1,1.2,2.3,1.9,3.7c1.4,2.9,3.2,6.6,4.8,7.9l0.2,0.2l1.1,3c0.8,0.8,3.2,3.1,3.7,4.1%20c1.7,2.9,1.7,3.8,1.5,4.9c0,0.2-0.1,0.4-0.1,0.7c0,0,0,0.1,0.1,0.1c0.3,0.6,1,2,3,6.9c1,0.7,2.6,1.4,4.2,2.2%20c2.5,1.2,4.2,2,5.1,2.8c0.4,0.1,1,0,1.6,0c2.1,0,5-0.1,6.4,2.2c0,0.1,0.1,0.1,0.1,0.1l-0.5,0.3C276.2,519,276.3,519.2,276.3,519.3%20z%20M358.2,474.6c0.2,0.1,0.5,0.3,0.8,0.5c3.2,2.7,4.1,2.5,4.1,2.5c0-0.1,0-0.5,0-0.6c0,0,0-0.1,0-0.1c-0.7-0.5-2.8-1.5-4.7-2.3%20C358.4,474.6,358.3,474.6,358.2,474.6z%20M353.7,467.1c0.3,0.5,0.6,0.8,0.8,0.8c0.1,0,0.1,0,0.1,0l0.2-0.1l0.2,0%20c0.2,0,0.5-0.1,0.8-0.2c0.1-0.1,0.3-0.1,0.5-0.2c-0.1-0.2-0.3-0.3-0.4-0.5c-0.1-0.2-0.3-0.4-0.4-0.5c-0.4-0.2-0.8-0.3-1-0.3%20c-0.1,0.1-0.1,0.2-0.2,0.3C354,466.6,353.9,466.9,353.7,467.1z%20M365.3,327.2c2.3,0.4,5.4,0.3,6.7,0.3c2.3-5.7,3.1-9.1,2.3-14.5%20c-0.3-1.5-1.2-3.5-2-5.3c-0.7-1.5-1.2-2.8-1.5-3.7c-0.1-0.8,0-1.2,0.3-1.7c0.1-0.1,0.2-0.3,0.3-1.5c0-0.3-0.1-0.7-0.1-1.1%20c-0.3-2.7-0.8-7.1,3-12.4l0.2-0.2l3.3-2.5l-0.3,2.4c-0.1,0.5,0,1.2,0.2,1.3c0,0,0.2,0.1,0.6-0.1c0.7-0.6,0.9-1.3,1-1.7%20c0-0.4,0-0.7-0.1-1l-1.3,0.4l0.5-1.8c0-0.1,0.4-1.5,2-2.7c-0.1-0.6-0.2-1.1-0.3-1.2l-0.1-0.4l2-3.2l-0.1-0.1%20c-1.3-1-1.9-1.4-4.4-1.4c-0.3,0-0.3,0-0.5,0.3c-0.2,0.2-0.4,0.6-0.9,0.9l-0.2,0.1c-0.3,0.1-0.6,0.2-1.1,0.3%20c-1.2,0.3-3.6,0.8-4.2,1.8c0.1,1.4-0.8,2.6-1.9,3.2c-0.3,0.2-0.6,0.3-0.9,0.3l-0.1,0.2l-0.9-0.3l-0.9-0.4l0.4-0.9%20c0,0,0-0.1,0.1-0.1c-0.3,0.2-0.7,0.2-1.3,0.2c-0.5,0.8-1,1.8-1.5,2.8c-0.9,1.8-1.6,3.2-2.3,3.9c0,0.9-0.3,1.7-0.6,2.5l0.3-0.1%20c0.2,0,1.8-0.3,3,0.5l0.6,0.4l-0.2,0.7c-1.4,5.7-1.7,8.1-1.7,8.1l-0.8,6.5c-0.5,5.9,0.2,8.9,1,11.8l0.3,1l-0.7,0.2%20c-0.1,4.2,0.8,7.1,2.6,8.1L365.3,327.2z%20M517,298.6l0.6,1.2c0.1,0.2,0.3,0.4,0.4,0.4c0.1,0,0.4-0.1,0.8-0.5l0.6-0.6l0.5,0.3%20c-0.1-0.2-0.3-0.4-0.4-0.6c-0.6-0.9-1-1.4-1.5-1.6C517.7,297.8,517.4,298.2,517,298.6z%20M356.1,260.5c-0.2,0-0.8,0.3-1.1,0.5%20c-0.1,0.1-0.2,0.1-0.3,0.1c0,0,0.1,0,0.1,0c0.1,0,0.3,0,0.4,0C355.9,261,356.1,261,356.1,260.5%20C356.2,260.5,356.2,260.5,356.1,260.5C356.2,260.5,356.1,260.5,356.1,260.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Y_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='477px'%20height='689px'%20viewBox='0%200%20477%20689'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20sketchtool%2040.1%20(33804)%20-%20http://www.bohemiancoding.com/sketch%20--%3e%3ctitle%3eD5222DCB-A5E7-4783-ABD3-E5AAF56D153F%3c/title%3e%3cdesc%3eCreated%20with%20sketchtool.%3c/desc%3e%3cdefs%3e%3crect%20id='path-1'%20x='0.760775862'%20y='88.8671642'%20width='90'%20height='138'%3e%3c/rect%3e%3cmask%20id='mask-2'%20maskContentUnits='userSpaceOnUse'%20maskUnits='objectBoundingBox'%20x='0'%20y='0'%20width='90'%20height='138'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3c/defs%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='box-and-whiskers-plot'%20transform='translate(-1362.000000,%20-6618.000000)'%20stroke='%23E5E5E5'%3e%3cg%20id='boxplot_small'%20transform='translate(1362.000000,%206618.000000)'%3e%3cg%20id='Group-40'%20transform='translate(193.000000,%20187.000000)'%3e%3cg%20id='Group-39'%20transform='translate(0.239224,%200.132836)'%3e%3cuse%20id='Rectangle-32'%20mask='url(%23mask-2)'%20stroke-width='2'%20xlink:href='%23path-1'%3e%3c/use%3e%3cpath%20d='M0.760775862,185.367164%20L90.7607759,185.367164'%20id='Path-63'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M0.760775862,313.367164%20L90.7607759,313.367164'%20id='Path-63'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M0.760775862,1.36716418%20L90.7607759,1.36716418'%20id='Path-63-Copy'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M46.2607759,0.867164179%20L46.2607759,88.8671642'%20id='Path-64'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M46.2607759,225.867164%20L46.2607759,313.867164'%20id='Path-64'%20fill='%23D8D8D8'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",X_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M148.3,490.8l-1-1.3c-25.5-31.2-39.6-70.6-39.6-111c0-40.4,14.1-79.8,39.6-111l1-1.3l26.9,26.9l-0.8,1%20c-38.6,49.6-38.6,118.9,0,168.6l0.8,1L148.3,490.8z%20M148.5,270.8c-24.4,30.4-37.9,68.6-37.9,107.8c0,39.1,13.4,77.4,37.9,107.8%20l22.7-22.7c-38.4-50.3-38.4-119.9,0-170.2L148.5,270.8z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M368.3,270.8l-1-0.8c-23.9-18.6-53.9-28.9-84.3-28.9c-30.4,0-60.3,10.2-84.3,28.9l-1,0.8l-26.9-26.9%20l1.3-1c31.2-25.5,70.6-39.6,111-39.6c40.4,0,79.8,14.1,111,39.6l1.3,1L368.3,270.8z%20M283,238.1c30.6,0,60.8,10.2,85.1,28.7%20l22.7-22.7c-30.4-24.4-68.6-37.9-107.8-37.9c-39.2,0-77.4,13.4-107.8,37.9l22.7,22.7C222.2,248.3,252.4,238.1,283,238.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M417.7,490.8l-26.9-26.9l0.8-1c38.6-49.6,38.6-118.9,0-168.6l-0.8-1l26.9-26.9l1,1.3%20c25.5,31.2,39.6,70.6,39.6,111c0,40.4-14.1,79.8-39.6,111L417.7,490.8z%20M394.8,463.7l22.7,22.7c24.4-30.4,37.9-68.6,37.9-107.8%20c0-39.1-13.4-77.3-37.9-107.8l-22.7,22.7C433.1,343.8,433.1,413.4,394.8,463.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,553.9L283,553.9c-40.4,0-79.8-14.1-111-39.6l-1.3-1l26.9-26.9l1,0.8c23.9,18.6,53.9,28.9,84.3,28.9%20c30.4,0,60.4-10.2,84.3-28.9l1-0.8l26.9,26.9l-1.3,1C362.8,539.9,323.4,553.9,283,553.9z%20M175.2,513.1%20c30.4,24.4,68.6,37.9,107.7,37.9h0.1c39.1,0,77.3-13.4,107.8-37.9l-22.7-22.7c-24.3,18.5-54.4,28.7-85.1,28.7%20c-30.6,0-60.8-10.2-85.1-28.7L175.2,513.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,458c-43.8,0-79.4-35.6-79.4-79.4c0-43.8,35.6-79.4,79.4-79.4c43.8,0,79.4,35.6,79.4,79.4%20C362.4,422.4,326.8,458,283,458z%20M283,302.2c-42.1,0-76.4,34.3-76.4,76.4c0,42.1,34.3,76.4,76.4,76.4c42.1,0,76.4-34.3,76.4-76.4%20C359.4,336.5,325.1,302.2,283,302.2z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,493c-63.1,0-114.4-51.3-114.4-114.4S219.9,264.2,283,264.2c63.1,0,114.4,51.3,114.4,114.4%20S346.1,493,283,493z%20M283,267.2c-61.4,0-111.4,50-111.4,111.4S221.6,490,283,490c61.4,0,111.4-50,111.4-111.4%20S344.4,267.2,283,267.2z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Lu={area:L_,line:F_,bar:H_,column:B_,polar:j_,funnel:z_,pie:W_,scatter:V_,indicator:U_,table:q_,treemap:G_,areamap:$u,scattermap:$u,boxplot:Y_,sunburst:X_};function K_(e){var r;return(r=Lu[e])!=null?r:Lu["bar"]}const Ns=({iconType:e})=>{var s;const{themeSettings:t}=u.useThemeContext(),r=F.useRef(null),[n,o]=F.useState({width:null,height:null});F.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=K_(e),{t:a}=u.useTranslation();return u.jsxs("div",{ref:r,className:pa.wrapper,children:[u.jsx("div",{className:pa.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:Q_(n.width,n.height)},children:a("chartNoData")}),i?u.jsx("img",{className:pa.image,src:i}):null]})};function Q_(e,t){return!e||!t?"18px":e<300?`${Math.max(Math.sqrt(e*e+t*t)*.045,18)}px`:`${Math.min(Math.max(t*.09,18),60)}px`}const Z_=(e,t,r)=>({width:(t==null?void 0:t.width)||(e==null?void 0:e.width)||r.width,height:(t==null?void 0:t.height)||(e==null?void 0:e.height)||r.height}),Ei=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i})=>{const a=F.useRef(null),[s,l]=F.useState(),c=F.useCallback(()=>{var _,x;const E={width:(_=a.current)==null?void 0:_.offsetWidth,height:(x=a.current)==null?void 0:x.offsetHeight};l(b=>{const C=(b==null?void 0:b.width)===0&&E.width===t.width,S=(b==null?void 0:b.height)===0&&E.height===t.height,O={width:C?b.width:E.width,height:S?b.height:E.height};return u.isEqual(b,O)?b:O})},[a,t]);F.useLayoutEffect(()=>{c()},[c]),F.useEffect(()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)),[c]);const p=F.useMemo(()=>Z_(s,r,t),[s,t,r]),h=!!s;F.useEffect(()=>{h&&i&&i(p)},[p,h,i]);const d={width:r!=null&&r.width&&!(o!=null&&o.width)?`${r.width}px`:"100%",height:r!=null&&r.height&&!(o!=null&&o.height)?`${r.height}px`:"100%"},m=(s==null?void 0:s.width)||(s==null?void 0:s.width)===void 0,g=(s==null?void 0:s.height)||(s==null?void 0:s.width)===void 0,v={width:m||o!=null&&o.width?"100%":`${p.width}px`,height:g||o!=null&&o.height?"100%":`${p.height}px`,position:"relative"},y=o!=null&&o.width||o!=null&&o.height?{position:"static",width:"100%",height:"100%"}:{position:"absolute",top:0,right:0,bottom:0,left:0},w=n?`${p==null?void 0:p.width}${p==null?void 0:p.height}`:"";return u.jsx("div",{style:d,ref:a,children:u.jsx("div",{style:v,children:u.jsx("div",{style:y,children:p&&(typeof e=="function"?e(p):e)})},w)})},Vf={width:400,height:500},$s=e=>u.isTable(e)?{width:400,height:500}:u.isIndicator(e)?{width:200,height:200}:{width:400,height:400},J_=25,Uf=(e,{hasHeader:t}={})=>{const r=e==="pivot"?Vf:$s(e);return t&&(r.height=r.height+J_),r},Fo=({isVisible:e,themeSettings:t,children:r})=>u.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&u.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:u.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:u.jsx("div",{className:"csdk-h-full csdk-flex csdk-flex-col csdk-gap-y-4 csdk-items-center csdk-justify-center csdk-bg-transparent",children:u.jsx("div",{style:{backgroundColor:t.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:u.jsx(ms,{color:t==null?void 0:t.chart.textColor})})})})}),r]});function za(e,t,r=u.getBaseDateFnsLocale(),n=u.defaultDateConfig){const o=new Map;return[...t.breakBy?t.breakBy:[],...t.x?Array.isArray(t.x)?t.x:[t.x]:[],...t.columns?t.columns:[]].forEach(function(a){if(u.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(c){return c.name===a.column.name&&u.isDatetime(a.column.type)&&u.isDatetime(c.type)});s!==-1&&o.set(s,a.dateFormat)}),o.size===0||(e.rows=e.rows.map(function(a){return a.map(function(l,c){const p=o.get(c);if(!p)return l;let h,d;if(u.isCell(l))h=q({},l);else{const g=u.createCompareValue(`${l}`,"datetime");d=new Date(g.value),h={data:d.toISOString(),text:`${l}`}}if(!h.data)return l;let m=h.text;try{m=u.applyDateFormat(u.parseISO(h.data),p,r,n)}catch(g){console.error(g)}return h.text=m,h})})),e}function ex(e,t){return rx(e,t)}const tx={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function rx(e,t){const r=tx[e];t.category.length>r.category&&console.warn(`Maximum 'category' length is limited to ${r.category} for '${e}' chart. Taken first ${r.category} categories`);const n=t.category.slice(0,r.category);let o=t.value;return(e!=="pie"||t.category.length>0)&&(t.value.length>r.value&&console.warn(`Maximum 'value' length is limited to ${r.value} for '${e}' chart. Taken first ${r.value} values`),o=t.value.slice(0,r.value)),J(q({},t),{category:n,value:o})}const Ls=e=>{const t={},r=n=>`$measure${n}_`;return e.forEach((n,o)=>{const i=n.name,s=`${r(o)}${i}`;n.name=s,t[s]=i}),t},nx=(e,t)=>{if(t==="funnel"){const r=u.merge(e);if(r.breakBy.length>0&&r.breakBy[0].sortType===void 0&&r.y.length>0&&r.y[0].sortType===void 0)return r.y[0].sortType="sortDesc",r}return e},qf=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new u.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name)===-1)throw new u.TranslatableError("errors.dataOptions.attributeNotFound",{attributeName:a.name})}),r.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name||l.name===n[a.name])===-1)throw new u.TranslatableError("errors.dataOptions.measureNotFound",{measureName:n[a.name]})}),o&&o.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new u.TranslatableError("errors.dataOptions.filterAttributeNotFound",{attributeName:a.attribute.name})}),i&&i.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new u.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function ox(e,t){switch(e){case"pie":case"funnel":case"treemap":return ex(e,t);default:return t}}const Fs=()=>{const[e,t]=F.useState();if(e)throw e;return t},ix=e=>e==="funnel"?e:u.deriveChartFamily(e),ax=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:l,setIsLoading:c,enabled:p=!0,loadData:h})=>{const d=Fs(),m=F.useMemo(()=>ix(r),[r]),g=F.useMemo(()=>[void 0,t],[t]),[v,y]=F.useState({}),{app:w}=u.useSisenseContext();return F.useEffect(()=>{if(!p)return;let E=!1;const{filters:_,relations:x}=u.getFilterListAndRelationsJaql(a);if(zt(e)){if(!w)return;const b=h({app:w,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:_,filterRelations:x,highlights:s,count:w.settings.queryLimit}}),C=w==null?void 0:w.settings.loadingIndicatorConfig,S=setTimeout(()=>{C!=null&&C.enabled&&(c==null||c(!0))},C==null?void 0:C.delay);b.then(O=>{const M=za(O,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);E||y({[m]:[M,t]})}).catch(O=>{d(O)}).finally(()=>{clearTimeout(S),C!=null&&C.enabled&&(c==null||c(!1))})}else{qf(e,n,o,i,_,s);const b=za(e,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);y({[m]:[b,t]})}return()=>{E=!0}},[r,t,e,a,s,w,l,p]),v[m]||g},sx=(e,t)=>{switch(t){case"iqr":return um(e);case"extremums":return cm(e);case"standardDeviation":return dm(e)}},lx=(e,t)=>{switch(t){case"iqr":return fm(e);case"standardDeviation":return pm(e)}},ux=(e,t,r)=>{const{column:n,style:o}=u.splitColumn(e);let i=sx(n,t),a;return o&&(i=i.map(s=>q({column:s},o))),r&&(a=lx(n,t),a&&o&&(a=q({column:a},o))),{values:i,outliers:a}},cx=e=>e.value.length>1,Gf=e=>{var h;const{category:t}=e;let r,n,o;if(cx(e))r=e.value,o=e.valueTitle,n=(h=e.outliers)==null?void 0:h[0];else{const{outliersEnabled:d,boxType:m}=e,g=u.normalizeColumn(e.value[0]),{values:v,outliers:y}=ux(g,m,!!d);r=v,n=y,o=u.getDataOptionTitle(g)}const[i,a,s,l,c,p]=r;return{category:t[0]&&u.normalizeColumn(t[0]),boxMin:i&&u.normalizeMeasureColumn(i),boxMedian:a&&u.normalizeMeasureColumn(a),boxMax:s&&u.normalizeMeasureColumn(s),whiskerMin:l&&u.normalizeMeasureColumn(l),whiskerMax:c&&u.normalizeMeasureColumn(c),outliersCount:p&&u.normalizeMeasureColumn(p),outliers:n&&u.normalizeColumn(n),valueTitle:o}},Fu={city:4,state:3,country:2,auto:1};function dx(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>Fu[n]>Fu[r]?n:r,"auto")}function fx(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(u.normalizeColumn),size:r&&u.normalizeMeasureColumn(r),colorBy:n&&u.normalizeMeasureColumn(n),details:o&&u.normalizeAnyColumn(o),locationLevel:dx(t)}}function px(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[u.normalizeMeasureColumn(a)];const h=a,{lowerBound:s,upperBound:l,title:c}=h,p=fn(h,["lowerBound","upperBound","title"]);return[u.normalizeMeasureColumn(q({column:u.safeMerge(s,{title:c})},p)),u.normalizeMeasureColumn(q({column:u.safeMerge(l,{title:c})},p))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(u.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(u.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}function hx(e,t){if(u.isCartesian(e))return u.translateCartesianChartDataOptions(t);if(u.isCategorical(e))return mx(t);if(u.isIndicator(e))return gx(t);if(u.isScatter(e))return vx(t);if(u.isBoxplot(e))return Gf(t);if(u.isScattermap(e))return fx(t);if(u.isRange(e))return px(t);throw new u.TranslatableError("errors.unexpectedChartType",{chartType:e})}const mx=e=>({y:e.value.map(u.normalizeMeasureColumn),breakBy:e.category.map(u.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),gx=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(u.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(u.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(u.normalizeMeasureColumn))==null?void 0:o.map(Hu("min")),max:(a=(i=e.max)==null?void 0:i.map(u.normalizeMeasureColumn))==null?void 0:a.map(Hu("max"))}},Hu=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return J(q({},t),{column:u.safeMerge(r,{aggregation:n})})},vx=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&u.normalizeAnyColumn(t),y:r&&u.normalizeAnyColumn(r),breakByPoint:n&&u.normalizeColumn(n),breakByColor:o&&u.normalizeAnyColumn(o),size:i&&u.normalizeMeasureColumn(i),seriesToColorMap:a}};function yx(e,t){let r=[];return u.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:u.isCartesian(t)||u.isCategorical(t)||u.isRange(t)?r=["x","breakBy"]:u.isBoxplot(t)?r=["category","outliers"]:u.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!u.isMeasureColumn(o)).map(({column:o})=>o)}function bx(e,t){let r=[];return u.isIndicator(t)?r=["value","secondary","min","max"]:u.isScatter(t)?r=["x","y","breakByColor","size"]:u.isCartesian(t)||u.isCategorical(t)||u.isRange(t)?r=["y"]:u.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:u.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(u.isMeasureColumn).map(({column:o})=>o)}function Yf(e){return{columns:e.columns.map(u.normalizeAnyColumn)}}function _x(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(u.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(u.normalizeColumn),values:(n=e.values)==null?void 0:n.map(u.normalizeMeasureColumn),grandTotals:e.grandTotals}}function Xf(e,t){{const r=ox(t,e),n=hx(t,r),o=nx(n,t),i=yx(o,t),a=bx(o,t);return{dataOptions:o,attributes:i,measures:a}}}const xx=(e,t)=>F.useMemo(()=>{if(u.isRestructuredChartType(t)){const r=u.getChartBuilder(t);if(!r.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return wx(r,e)}else return Cx(e,t)},[e,t]);function wx(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=Ls(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function Cx(e,t){const{dataOptions:r,attributes:n,measures:o}=Xf(e,t),i=Ls(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function Tx(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c,filters:p}=e;return!o||!i?null:{dataSource:zt(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c,filters:p}}const Ex=(e,t)=>{const r=e.category&&u.getColumnByName(t,e.category.column.name);r&&(r.direction=u.sortDirection(e.category.sortType));const n=u.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?u.rownumColumnName:void 0),o=u.getIndexedRows(t.rows,r?[r]:[]),i=u.getColumnByName(t,e.boxMin.column.name),a=u.getColumnByName(t,e.boxMedian.column.name),s=u.getColumnByName(t,e.boxMax.column.name),l=u.getColumnByName(t,e.whiskerMin.column.name),c=u.getColumnByName(t,e.whiskerMax.column.name),p=e.outliers&&u.getColumnByName(t,e.outliers.column.name),h=[],d=[];n.forEach((g,v)=>{const y=o[g.key],w=y?y[0]:[],E=r&&!!u.isBlurred(w,r);h.push({q1:i?u.getValue(w,i):0,median:a?u.getValue(w,a):0,q3:s?u.getValue(w,s):0,low:l?u.getValue(w,l):0,high:c?u.getValue(w,c):0,blur:E});const _=p?w[p.index].rawValue.split(",").map(x=>parseFloat(x)):[];d.push(..._.map(x=>({x:v,y:x,blur:E})))});const m=[{name:e.valueTitle,title:e.valueTitle,data:h}];return d.length>0&&m.push({name:e.valueTitle,title:e.valueTitle,data:d}),{type:"boxplot",xValues:n,series:m}};function Sx(e){return e.type==="boxplot"}const Rx=2e4;function gn(e,t){if(e&&t){const r=t.column.name,n=e.findIndex(o=>o.name===r);return n===-1?null:n}return null}const Kf=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=gn(e.columns,r.category),o=gn(e.columns,r.whiskerMin),i=gn(e.columns,r.whiskerMax),a=gn(t.columns,r.category),s=gn(t.columns,r.outliers)),u.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(c=>{const p=u.isNull(n)?null:c[n].data,h=c[i].data,d=c[o].data,m=t.rows.filter(g=>{const v=u.isNull(a)?null:g[a].data,y=g[s].data;return v===p&&(y<d||y>h)}).map(g=>g[s].data).join(",");return[...c,{data:m}]})}};function Ox(e,t,r){const n=r&&Gf(r);return Kf(e,t,n)}const Mx=(c,p)=>tt(exports,[c,p],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},l){var v;const h={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},d=yield l(h,e);let m=d;const g=t.outliersCount?Px(d,t.outliersCount.column.name):0;if(t.outliers&&g<Rx){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const w=yield l(y,e);m=Kf(d,w,t)}catch(w){if((v=w==null?void 0:w.message)!=null&&v.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw w}}return m}),Px=(e,t)=>{if(!(e!=null&&e.columns))return 0;const r=e.columns.findIndex(({name:o})=>o===t);let n=0;return e.rows.forEach(o=>{n+=parseInt(o[r].data)}),n};function Dx(e){return u.isRestructuredChartType(e)?u.getChartBuilder(e).data.loadData:e==="boxplot"?Ax:kx}const kx=n=>tt(exports,[n],function*({app:e,queryDescription:t,executionConfig:r}){var a,s;return(((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?u.executeQueryWithCache:u.executeQuery)(t,e,r)}),Ax=n=>tt(exports,[n],function*({app:e,chartDataOptionsInternal:t,queryDescription:r}){var a,s,l,c;const i=((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?u.executeQueryWithCache:u.executeQuery;return Mx({app:e,chartDataOptions:t,dataSource:r.dataSource,attributes:(l=r.dimensions)!=null?l:[],measures:(c=r.measures)!=null?c:[],filters:r.filters,highlights:r.highlights,filterRelations:r.filterRelations},i)}),Ix=(e,t)=>{const r=J(q({},e),{x:e.breakBy,breakBy:[]});let n=u.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>u.isNumber$1(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:l},numberFormatConfig:c},p)=>{const h=u.getCompleteNumberFormatConfig(c),d=a.xValues[p];u.isNumber$1(l)?s.push(u.applyFormatPlainText(h,parseFloat(d))):s.push(a.xValues[p])}),J(q({},a),{xValues:s})});n=J(q({},n),{xValues:i})}return J(q({},n),{type:"categorical"})},Ro=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=u.getColumnByName(e,t[0].column.name);return r?[u.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},Nx=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=Ro(t,e.value);if(n===void 0)return r;const[o]=Ro(t,e.secondary),[i]=Ro(t,e.min),[a]=Ro(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},$x="N\\A",Lx=1,Fx=(e,t)=>{const r=Hx(e),n=e.locations&&u.getColumnsByName(t,e.locations.map(({column:{name:l}})=>l)),o=e.size&&u.getColumnByName(t,e.size.column.name),i=e.colorBy&&u.getColumnByName(t,e.colorBy.column.name),a=e.details&&u.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(l=>n.some(c=>u.getValue(l,c)!==$x)).map(l=>{const c=n.map(m=>u.getValue(l,m)),p=t_(c);let h;r&&(h={lat:u.getValue(l,n[0]),lng:u.getValue(l,n[1])});const d=n[0]&&!!u.isBlurred(l,n[0]);return q(J(q(q({name:p,rawName:c,value:o?u.getValue(l,o):Lx},i&&{colorValue:u.getValue(l,i)}),a&&{details:u.getValue(l,a)}),{blur:d}),h?{coordinates:h}:null)})}};function Hx(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>u.isNumber$1(t)).length===2}const Bx=(e,t,r)=>{if(u.isCartesian(e))return u.isForecastChart(t)?u.advancedAnalyticsData(t,r):u.cartesianData(t,r);if(u.isCategorical(e))return Ix(t,r);if(u.isScatter(e))return u.scatterData(t,r);if(u.isScattermap(e))return Fx(t,r);if(u.isIndicator(e))return Nx(t,r);if(u.isBoxplot(e))return Ex(t,r);if(u.isRange(e))return u.rangeData(t,r);throw new u.TranslatableError("errors.unexpectedChartType",{chartType:e})};var jx=1/0,zx=u.Set&&1/u.setToArray(new u.Set([,-0]))[1]==jx?function(e){return new u.Set(e)}:u.noop,Wx=200;function Hs(e,t,r){var n=-1,o=u.arrayIncludes,i=e.length,a=!0,s=[],l=s;if(i>=Wx){var c=t?null:zx(e);if(c)return u.setToArray(c);a=!1,o=u.cacheHas,l=new u.SetCache}else l=t?[]:s;e:for(;++n<i;){var p=e[n],h=t?t(p):p;if(p=p!==0?p:0,a&&h===h){for(var d=l.length;d--;)if(l[d]===h)continue e;t&&l.push(h),s.push(p)}else o(l,h,r)||(l!==s&&l.push(h),s.push(p))}return s}var Vx=u.baseRest(function(e){return Hs(u.baseFlatten(e,1,u.isArrayLikeObject,!0))});const Qf=(e,t,r,n={})=>{if(u.emptyTable(e))return{rows:[],columns:[]};const o=Vx(u.getColumnsByName(e,t.map(p=>p.name))),i=e,s=[...r.map(p=>{var h,d;return{column:(h=n[p.name])!=null?h:p.name,title:p.name,agg:(d=p.aggregation)!=null?d:"sum"}}),{column:u.rownumColumnName,title:u.rownumColumnName,agg:"min"}],l=u.groupBy(i,o,s),c=u.getColumnByName(l,u.rownumColumnName);if(!c)throw new u.TranslatableError("errors.noRowNumColumn");return u.orderBy(l,[c])};function Ux({dataSet:e,data:t,chartDataOptions:r,chartType:n,attributes:o,measures:i,dataColumnNamesMapping:a,onDataReady:s}){return F.useMemo(()=>{if(!t||!r)return null;let l;if(s&&(l=s(t),!Zf(l)))throw new u.TranslatableError("errors.incorrectOnDataReadyHandler");const c=l||t;let p=u.createDataTableFromData(c);return zt(e)||(p=Qf(p,o,i,a)),qx(n,r,p)},[t,n])}function qx(e,t,r){if(u.isRestructuredChartType(e)){const n=u.getChartBuilder(e);if(n.dataOptions.isCorrectDataOptionsInternal(t))return n.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return Bx(e,t,r)}const Gx=e=>e==="indicator",Yx=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&u.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&Wf(t)?t.locations.length===0:e==="boxplot"&&Sx(t)?t.xValues.length===0:"series"in t&&t.series.length===0,Wa=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:p,onBeforeRender:h,onDataReady:d}=e,[m,g]=F.useState(!1),v=$s(t),{themeSettings:y}=u.useThemeContext(),{dataOptions:w,attributes:E,measures:_,dataColumnNamesMapping:x}=xx(n,t),b=E.length===0&&_.length===0,C=F.useMemo(()=>Dx(t),[t]),[S,O]=ax({dataSet:r,chartDataOptions:w,chartType:t,attributes:E,measures:_,dataColumnNamesMapping:x,filters:o,highlights:i,refreshCounter:s,setIsLoading:g,enabled:!b,loadData:C}),M=F.useMemo(()=>n?u.prepareChartDesignOptions(t,O,a):null,[n,t,O,a]),D=Ux({dataSet:r,data:S,chartDataOptions:w,chartType:t,attributes:E,measures:_,dataColumnNamesMapping:x,onDataReady:d}),R=Tx({dataSet:r,chartType:t,chartData:D,internalDataOptions:O,designOptions:M,onBeforeRender:h,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:p,filters:o});return R?u.jsx(Ei,{defaultSize:v,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:Gx(t),children:()=>{if(!D&&m)return u.jsx(si,{themeSettings:y});if(D&&Yx(t,D)||b)return u.jsx(Ns,{iconType:t});if(u.isRestructuredChartType(t)){const T=u.getChartBuilder(t);if(T.renderer.isCorrectRendererProps(R))return u.jsx(T.renderer.ChartRendererComponent,q({},R))}return t==="scattermap"&&A_(R)?u.jsx(Fo,{themeSettings:y,isVisible:m,children:u.jsx(P_,q({},R))}):t==="indicator"&&M2(R)?u.jsx(Fo,{themeSettings:y,isVisible:m,children:u.jsx(E2,q({},R))}):u.isSisenseChartType(t)&&u.isSisenseChartProps(R)?u.jsx(Fo,{themeSettings:y,isVisible:m,children:u.jsx(u.SisenseChart,J(q({},R),{designOptions:q({},R.designOptions)}))}):null}}):null};function Zf(e){return e&&typeof e=="object"&&"columns"in e&&u.isArray(e.columns)&&"rows"in e&&u.isArray(e.rows)}function Xx(e){return Ee("MuiPagination",e)}we("MuiPagination",["root","ul","outlined","text"]);const Kx=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function Qx(e={}){const{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:p=!1,showLastButton:h=!1,siblingCount:d=1}=e,m=ae(e,Kx),[g,v]=Ps({controlled:c,default:o,name:r,state:"page"}),y=(M,D)=>{c||v(D),l&&l(M,D)},w=(M,D)=>{const R=D-M+1;return Array.from({length:R},(T,A)=>M+A)},E=w(1,Math.min(t,n)),_=w(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(g-d,n-t-d*2-1),t+2),b=Math.min(Math.max(g+d,t+d*2+2),_.length>0?_[0]-2:n-1),C=[...p?["first"]:[],...s?[]:["previous"],...E,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...w(x,b),...b<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],..._,...a?[]:["next"],...h?["last"]:[]],S=M=>{switch(M){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return n;default:return null}},O=C.map(M=>typeof M=="number"?{onClick:D=>{y(D,M)},type:"page",page:M,selected:M===g,disabled:i,"aria-current":M===g?"true":void 0}:{onClick:D=>{y(D,S(M))},type:M,page:S(M),selected:!1,disabled:i||M.indexOf("ellipsis")===-1&&(M==="next"||M==="last"?g>=n:g<=1)});return u._extends({items:O},m)}function Zx(e){return Ee("MuiPaginationItem",e)}const rt=we("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);function Jx(e){return Ee("MuiSvgIcon",e)}we("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const e3=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],t3=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return De(o,Jx,n)},r3=le("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${fe(r.color)}`],t[`fontSize${fe(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,p,h,d,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(p=c.pxToRem)==null?void 0:p.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?h:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),Ko=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:p=!1,titleAccess:h,viewBox:d="0 0 24 24"}=n,m=ae(n,e3),g=z.isValidElement(o)&&o.type==="svg",v=u._extends({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:g}),y={};p||(y.viewBox=d);const w=t3(v);return te.jsxs(r3,u._extends({as:s,className:se(w.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},y,m,g&&o.props,{ownerState:v,children:[g?o.props.children:o,h?te.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(Ko.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});Ko.muiName="SvgIcon";function Vr(e,t){function r(n,o){return te.jsx(Ko,u._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ko.muiName,z.memo(z.forwardRef(r))}const Bu=Vr(te.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),ju=Vr(te.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),zu=Vr(te.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),Wu=Vr(te.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),n3=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],Jf=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.variant==="text"&&t[`text${fe(r.color)}`],r.variant==="outlined"&&t[`outlined${fe(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},o3=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${fe(i)}`,l,a,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${l}${fe(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return De(c,Zx,t)},i3=le("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Jf})(({theme:e,ownerState:t})=>u._extends({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${rt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),a3=le(pr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Jf})(({theme:e,ownerState:t})=>u._extends({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${rt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${rt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${rt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${rt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>u._extends({},t.variant==="text"&&{[`&.${rt.selected}`]:u._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${rt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${rt.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${rt.selected}`]:u._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Pe(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${rt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),s3=le("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>u._extends({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),ep=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaginationItem"}),{className:o,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:p=!1,shape:h="circular",size:d="medium",slots:m={},type:g="page",variant:v="text"}=n,y=ae(n,n3),w=u._extends({},n,{color:i,disabled:l,selected:p,shape:h,size:d,type:g,variant:v}),E=ys(),_=o3(w),b=(E?{previous:m.next||s.next||Wu,next:m.previous||s.previous||zu,last:m.first||s.first||Bu,first:m.last||s.last||ju}:{previous:m.previous||s.previous||zu,next:m.next||s.next||Wu,first:m.first||s.first||Bu,last:m.last||s.last||ju})[g];return g==="start-ellipsis"||g==="end-ellipsis"?te.jsx(i3,{ref:r,ownerState:w,className:se(_.root,o),children:"…"}):te.jsxs(a3,u._extends({ref:r,ownerState:w,component:a,disabled:l,className:se(_.root,o)},y,{children:[g==="page"&&c,b?te.jsx(s3,{as:b,ownerState:w,className:_.icon}):null]}))});process.env.NODE_ENV!=="production"&&(ep.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),component:f.elementType,components:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),disabled:f.bool,page:f.node,selected:f.bool,shape:f.oneOf(["circular","rounded"]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),slots:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const l3=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],u3=e=>{const{classes:t,variant:r}=e;return De({root:["root",r],ul:["ul"]},Xx,t)},c3=le("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),d3=le("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function f3(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const tp=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:p=f3,hideNextButton:h=!1,hidePrevButton:d=!1,renderItem:m=O=>te.jsx(ep,u._extends({},O)),shape:g="circular",showFirstButton:v=!1,showLastButton:y=!1,siblingCount:w=1,size:E="medium",variant:_="text"}=n,x=ae(n,l3),{items:b}=Qx(u._extends({},n,{componentName:"Pagination"})),C=u._extends({},n,{boundaryCount:o,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:p,hideNextButton:h,hidePrevButton:d,renderItem:m,shape:g,showFirstButton:v,showLastButton:y,siblingCount:w,size:E,variant:_}),S=u3(C);return te.jsx(c3,u._extends({"aria-label":"pagination navigation",className:se(S.root,i),ownerState:C,ref:r},x,{children:te.jsx(d3,{className:S.ul,ownerState:C,children:b.map((O,M)=>te.jsx("li",{children:m(u._extends({},O,{color:a,"aria-label":p(O.type,O.page,O.selected),shape:g,size:E,variant:_}))},M))})}))});process.env.NODE_ENV!=="production"&&(tp.propTypes={boundaryCount:yt,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),count:yt,defaultPage:yt,disabled:f.bool,getItemAriaLabel:f.func,hideNextButton:f.bool,hidePrevButton:f.bool,onChange:f.func,page:yt,renderItem:f.func,shape:f.oneOf(["circular","rounded"]),showFirstButton:f.bool,showLastButton:f.bool,siblingCount:yt,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const rp=e=>{const t=[],r=[];for(const n of e.columns)u.isMeasureColumn(n)?r.push(u.translateColumnToMeasure(n)):t.push(u.translateColumnToAttribute(n));return{attributes:t,measures:r}},p3=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=Fs(),[s,l]=F.useState(zt(e)?null:e),[c,p]=F.useState(!1),h=F.useRef(!0),{isInitialized:d,app:m}=u.useSisenseContext(),[g,v]=F.useState(t);return F.useEffect(()=>{var _;let y=!1;if(!t)return;const{attributes:w,measures:E}=rp(t);if(zt(e)){if(!d){a(new u.TranslatableError("errors.chartNoSisenseContext"));return}if(!m||!h.current&&i>0)return;p(!0),((_=m.settings.queryCacheConfig)!=null&&_.enabled?u.executeQueryWithCache:u.executeQuery)({dataSource:e,dimensions:w,measures:E,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},m).then(b=>{if(y)return;h.current=b.rows.length>o;const C=h.current?b.rows.slice(0,o):b.rows;i>0?l(S=>{const O=S==null?void 0:S.rows.length,M=O?O>i?S.rows.slice(0,i):S.rows:null;return{columns:b.columns,rows:M?[...M,...C]:C}}):l({columns:b.columns,rows:C}),v(t)}).finally(()=>{p(!1)}).catch(b=>{y||a(b)})}else l(e),v(t);return()=>{y=!0}},[m,e,t,r,n,i,o,d,a]),[c?null:s,g]},h3=(e,t)=>{if(u.emptyTable(t))return{rows:[],columns:[]};const r=u.getColumnsByName(t,e);return u.selectColumns(t,r)},Va=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case u.Sort.Ascending:return 1;case"sortDesc":case u.Sort.Descending:return-1;default:return 0}},m3=(e,t)=>{const r=e.columns.find(n=>Va(n)!==0);if(r){const n=u.getColumnByName(t,r.column.name);n&&(n.direction=Va(r))}return t},g3=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=Va(r),i=o===1?"sortDesc":"sortAsc",a=o===1?u.Sort.Descending:u.Sort.Ascending;return J(q({},r),{sortType:n?i:"sortNone",column:"sort"in r.column?r.column.sort(n?a:u.Sort.None):r.column})})}),v3=(e,t)=>{const r=h3(e.columns.map(({column:{name:n}})=>n),t);return m3(e,r)},y3=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=u.useSisenseContext();return F.useMemo(()=>{if(!e||!t)return null;let i=u.createDataTableFromData(za(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(l=>!u.isMeasureColumn(l)).map(u.translateColumnToAttribute),s=t.columns.filter(l=>u.isMeasureColumn(l)).map(u.translateColumnToMeasure);return qf(i,a,s,r),n&&(i=Qf(i,a,s,r)),v3(t,i)},[e,t,n,r,o])};var np={},op={};function Vu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Uu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vu(Object(r),!0).forEach(function(n){km(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var qu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},jt={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function ip(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function b3(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(w3(e))return"date";if(x3(e))return"error";var r=_3(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function _3(e){return typeof e.constructor=="function"?e.constructor.name:null}function x3(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function w3(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Ft(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=b3(e)),t}function Bs(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Fe(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(1):"Expected the enhancer to be a function. Instead, received: '"+Ft(r)+"'");return r(Bs)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(2):"Expected the root reducer to be a function. Instead, received: '"+Ft(e)+"'");var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function p(){if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function h(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(4):"Expected the listener to be a function. Instead, received: '"+Ft(v)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return c(),s.push(v),function(){if(y){if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c();var E=s.indexOf(v);s.splice(E,1),a=null}}}function d(v){if(!ip(v))throw new Error(process.env.NODE_ENV==="production"?Fe(7):"Actions must be plain objects. Instead, the actual type was: '"+Ft(v)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof v.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(9):"Reducers may not dispatch actions.");try{l=!0,i=o(i,v)}finally{l=!1}for(var y=a=s,w=0;w<y.length;w++){var E=y[w];E()}return v}function m(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(10):"Expected the nextReducer to be a function. Instead, received: '"+Ft(v));o=v,d({type:jt.REPLACE})}function g(){var v,y=h;return v={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(process.env.NODE_ENV==="production"?Fe(11):"Expected the observer to be an object. Instead, received: '"+Ft(E)+"'");function _(){E.next&&E.next(p())}_();var x=y(_);return{unsubscribe:x}}},v[qu]=function(){return this},v}return d({type:jt.INIT}),n={dispatch:d,subscribe:h,getState:p,replaceReducer:m},n[qu]=g,n}var C3=Bs;function Gu(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function T3(e,t,r,n){var o=Object.keys(t),i=r&&r.type===jt.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!ip(e))return"The "+i+' has unexpected type of "'+Ft(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===jt.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function E3(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:jt.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:jt.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+jt.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function S3(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];process.env.NODE_ENV!=="production"&&typeof e[o]=="undefined"&&Gu('No reducer provided for key "'+o+'"'),typeof e[o]=="function"&&(r[o]=e[o])}var i=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{E3(r)}catch(l){s=l}return function(c,p){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var h=T3(c,r,p,a);h&&Gu(h)}for(var d=!1,m={},g=0;g<i.length;g++){var v=i[g],y=r[v],w=c[v],E=y(w,p);if(typeof E=="undefined"){var _=p&&p.type;throw new Error(process.env.NODE_ENV==="production"?Fe(14):"When called with an action of type "+(_?'"'+String(_)+'"':"(unknown type)")+', the slice reducer for key "'+v+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}m[v]=E,d=d||E!==w}return d=d||i.length!==Object.keys(c).length,d?m:c}}function Yu(e,t){return function(){return t(e.apply(this,arguments))}}function R3(e,t){if(typeof e=="function")return Yu(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?Fe(16):"bindActionCreators expected an object or a function, but instead received: '"+Ft(e)+`'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);var r={};for(var n in e){var o=e[n];typeof o=="function"&&(r[n]=Yu(o,t))}return r}function ap(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function O3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?Fe(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=ap.apply(void 0,s)(o.dispatch),Uu(Uu({},o),{},{dispatch:i})}}}const M3=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:jt,applyMiddleware:O3,bindActionCreators:R3,combineReducers:S3,compose:ap,createStore:Bs,legacy_createStore:C3},Symbol.toStringTag,{value:"Module"})),sp=u.getAugmentedNamespace(M3);var Ur={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(o,i,a,s,l,c,p,h){if(process.env.NODE_ENV!=="production"&&i===void 0)throw new Error("invariant requires an error message argument");if(!o){var d;if(i===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[a,s,l,c,p,h],g=0;d=new Error("Invariant Violation: "+i.replace(/%s/g,function(){return m[g++]}))}throw d.framesToPop=1,d}},r=t;e.default=r})(Ur);var P3=Array.isArray,et=P3,D3=typeof u.commonjsGlobal=="object"&&u.commonjsGlobal&&u.commonjsGlobal.Object===Object&&u.commonjsGlobal,lp=D3,k3=lp,A3=typeof self=="object"&&self&&self.Object===Object&&self,I3=k3||A3||Function("return this")(),Pt=I3,N3=Pt,$3=N3.Symbol,ro=$3,Xu=ro,up=Object.prototype,L3=up.hasOwnProperty,F3=up.toString,vn=Xu?Xu.toStringTag:void 0;function H3(e){var t=L3.call(e,vn),r=e[vn];try{e[vn]=void 0;var n=!0}catch(i){}var o=F3.call(e);return n&&(t?e[vn]=r:delete e[vn]),o}var B3=H3,j3=Object.prototype,z3=j3.toString;function W3(e){return z3.call(e)}var V3=W3,Ku=ro,U3=B3,q3=V3,G3="[object Null]",Y3="[object Undefined]",Qu=Ku?Ku.toStringTag:void 0;function X3(e){return e==null?e===void 0?Y3:G3:Qu&&Qu in Object(e)?U3(e):q3(e)}var qr=X3;function K3(e){return e!=null&&typeof e=="object"}var Gr=K3,Q3=qr,Z3=Gr,J3="[object Symbol]";function ew(e){return typeof e=="symbol"||Z3(e)&&Q3(e)==J3}var Si=ew,tw=et,rw=Si,nw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ow=/^\w*$/;function iw(e,t){if(tw(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||rw(e)?!0:ow.test(e)||!nw.test(e)||t!=null&&e in Object(t)}var js=iw;function aw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var no=aw,sw=qr,lw=no,uw="[object AsyncFunction]",cw="[object Function]",dw="[object GeneratorFunction]",fw="[object Proxy]";function pw(e){if(!lw(e))return!1;var t=sw(e);return t==cw||t==dw||t==uw||t==fw}var cp=pw,hw=Pt,mw=hw["__core-js_shared__"],gw=mw,ma=gw,Zu=function(){var e=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vw(e){return!!Zu&&Zu in e}var yw=vw,bw=Function.prototype,_w=bw.toString;function xw(e){if(e!=null){try{return _w.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var dp=xw,ww=cp,Cw=yw,Tw=no,Ew=dp,Sw=/[\\^$.*+?()[\]{}|]/g,Rw=/^\[object .+?Constructor\]$/,Ow=Function.prototype,Mw=Object.prototype,Pw=Ow.toString,Dw=Mw.hasOwnProperty,kw=RegExp("^"+Pw.call(Dw).replace(Sw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Aw(e){if(!Tw(e)||Cw(e))return!1;var t=ww(e)?kw:Rw;return t.test(Ew(e))}var Iw=Aw;function Nw(e,t){return e==null?void 0:e[t]}var $w=Nw,Lw=Iw,Fw=$w;function Hw(e,t){var r=Fw(e,t);return Lw(r)?r:void 0}var hr=Hw,Bw=hr,jw=Bw(Object,"create"),Ri=jw,Ju=Ri;function zw(){this.__data__=Ju?Ju(null):{},this.size=0}var Ww=zw;function Vw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Uw=Vw,qw=Ri,Gw="__lodash_hash_undefined__",Yw=Object.prototype,Xw=Yw.hasOwnProperty;function Kw(e){var t=this.__data__;if(qw){var r=t[e];return r===Gw?void 0:r}return Xw.call(t,e)?t[e]:void 0}var Qw=Kw,Zw=Ri,Jw=Object.prototype,eC=Jw.hasOwnProperty;function tC(e){var t=this.__data__;return Zw?t[e]!==void 0:eC.call(t,e)}var rC=tC,nC=Ri,oC="__lodash_hash_undefined__";function iC(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nC&&t===void 0?oC:t,this}var aC=iC,sC=Ww,lC=Uw,uC=Qw,cC=rC,dC=aC;function Yr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Yr.prototype.clear=sC;Yr.prototype.delete=lC;Yr.prototype.get=uC;Yr.prototype.has=cC;Yr.prototype.set=dC;var fC=Yr;function pC(){this.__data__=[],this.size=0}var hC=pC;function mC(e,t){return e===t||e!==e&&t!==t}var zs=mC,gC=zs;function vC(e,t){for(var r=e.length;r--;)if(gC(e[r][0],t))return r;return-1}var Oi=vC,yC=Oi,bC=Array.prototype,_C=bC.splice;function xC(e){var t=this.__data__,r=yC(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():_C.call(t,r,1),--this.size,!0}var wC=xC,CC=Oi;function TC(e){var t=this.__data__,r=CC(t,e);return r<0?void 0:t[r][1]}var EC=TC,SC=Oi;function RC(e){return SC(this.__data__,e)>-1}var OC=RC,MC=Oi;function PC(e,t){var r=this.__data__,n=MC(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var DC=PC,kC=hC,AC=wC,IC=EC,NC=OC,$C=DC;function Xr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xr.prototype.clear=kC;Xr.prototype.delete=AC;Xr.prototype.get=IC;Xr.prototype.has=NC;Xr.prototype.set=$C;var Mi=Xr,LC=hr,FC=Pt,HC=LC(FC,"Map"),Ws=HC,ec=fC,BC=Mi,jC=Ws;function zC(){this.size=0,this.__data__={hash:new ec,map:new(jC||BC),string:new ec}}var WC=zC;function VC(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var UC=VC,qC=UC;function GC(e,t){var r=e.__data__;return qC(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Pi=GC,YC=Pi;function XC(e){var t=YC(this,e).delete(e);return this.size-=t?1:0,t}var KC=XC,QC=Pi;function ZC(e){return QC(this,e).get(e)}var JC=ZC,eT=Pi;function tT(e){return eT(this,e).has(e)}var rT=tT,nT=Pi;function oT(e,t){var r=nT(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var iT=oT,aT=WC,sT=KC,lT=JC,uT=rT,cT=iT;function Kr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Kr.prototype.clear=aT;Kr.prototype.delete=sT;Kr.prototype.get=lT;Kr.prototype.has=uT;Kr.prototype.set=cT;var Vs=Kr,fp=Vs,dT="Expected a function";function Us(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(dT);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Us.Cache||fp),r}Us.Cache=fp;var fT=Us,pT=fT,hT=500;function mT(e){var t=pT(e,function(n){return r.size===hT&&r.clear(),n}),r=t.cache;return t}var gT=mT,vT=gT,yT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bT=/\\(\\)?/g,_T=vT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(yT,function(r,n,o,i){t.push(o?i.replace(bT,"$1"):n||r)}),t}),xT=_T;function wT(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var pp=wT,tc=ro,CT=pp,TT=et,ET=Si,ST=1/0,rc=tc?tc.prototype:void 0,nc=rc?rc.toString:void 0;function hp(e){if(typeof e=="string")return e;if(TT(e))return CT(e,hp)+"";if(ET(e))return nc?nc.call(e):"";var t=e+"";return t=="0"&&1/e==-ST?"-0":t}var RT=hp,OT=RT;function MT(e){return e==null?"":OT(e)}var PT=MT,DT=et,kT=js,AT=xT,IT=PT;function NT(e,t){return DT(e)?e:kT(e,t)?[e]:AT(IT(e))}var Di=NT,$T=Si,LT=1/0;function FT(e){if(typeof e=="string"||$T(e))return e;var t=e+"";return t=="0"&&1/e==-LT?"-0":t}var oo=FT,HT=Di,BT=oo;function jT(e,t){t=HT(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[BT(t[r++])];return r&&r==n?e:void 0}var qs=jT,zT=hr,WT=function(){try{var e=zT(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),mp=WT,oc=mp;function VT(e,t,r){t=="__proto__"&&oc?oc(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var UT=VT,qT=UT,GT=zs,YT=Object.prototype,XT=YT.hasOwnProperty;function KT(e,t,r){var n=e[t];(!(XT.call(e,t)&&GT(n,r))||r===void 0&&!(t in e))&&qT(e,t,r)}var QT=KT,ZT=9007199254740991,JT=/^(?:0|[1-9]\d*)$/;function eE(e,t){var r=typeof e;return t=t==null?ZT:t,!!t&&(r=="number"||r!="symbol"&&JT.test(e))&&e>-1&&e%1==0&&e<t}var Gs=eE,tE=QT,rE=Di,nE=Gs,ic=no,oE=oo;function iE(e,t,r,n){if(!ic(e))return e;t=rE(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var l=oE(t[o]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=a){var p=s[l];c=n?n(p,l,s):void 0,c===void 0&&(c=ic(p)?p:nE(t[o+1])?[]:{})}tE(s,l,c),s=s[l]}return e}var aE=iE,sE=qs,lE=aE,uE=Di;function cE(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=sE(e,a);r(s,a)&&lE(i,uE(a,e),s)}return i}var dE=cE;function fE(e,t){return e!=null&&t in Object(e)}var pE=fE,hE=qr,mE=Gr,gE="[object Arguments]";function vE(e){return mE(e)&&hE(e)==gE}var yE=vE,ac=yE,bE=Gr,gp=Object.prototype,_E=gp.hasOwnProperty,xE=gp.propertyIsEnumerable,wE=ac(function(){return arguments}())?ac:function(e){return bE(e)&&_E.call(e,"callee")&&!xE.call(e,"callee")},ki=wE,CE=9007199254740991;function TE(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=CE}var Ys=TE,EE=Di,SE=ki,RE=et,OE=Gs,ME=Ys,PE=oo;function DE(e,t,r){t=EE(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=PE(t[n]);if(!(i=e!=null&&r(e,a)))break;e=e[a]}return i||++n!=o?i:(o=e==null?0:e.length,!!o&&ME(o)&&OE(a,o)&&(RE(e)||SE(e)))}var kE=DE,AE=pE,IE=kE;function NE(e,t){return e!=null&&IE(e,t,AE)}var vp=NE,$E=dE,LE=vp;function FE(e,t){return $E(e,t,function(r,n){return LE(e,n)})}var HE=FE;function BE(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var yp=BE,sc=ro,jE=ki,zE=et,lc=sc?sc.isConcatSpreadable:void 0;function WE(e){return zE(e)||jE(e)||!!(lc&&e&&e[lc])}var VE=WE,UE=yp,qE=VE;function bp(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=qE),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?bp(s,t-1,r,n,o):UE(o,s):n||(o[o.length]=s)}return o}var GE=bp,YE=GE;function XE(e){var t=e==null?0:e.length;return t?YE(e,1):[]}var KE=XE;function QE(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var ZE=QE,JE=ZE,uc=Math.max;function eS(e,t,r){return t=uc(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=uc(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),JE(e,this,s)}}var tS=eS;function rS(e){return function(){return e}}var nS=rS;function oS(e){return e}var Xs=oS,iS=nS,cc=mp,aS=Xs,sS=cc?function(e,t){return cc(e,"toString",{configurable:!0,enumerable:!1,value:iS(t),writable:!0})}:aS,lS=sS,uS=800,cS=16,dS=Date.now;function fS(e){var t=0,r=0;return function(){var n=dS(),o=cS-(n-r);if(r=n,o>0){if(++t>=uS)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var pS=fS,hS=lS,mS=pS,gS=mS(hS),vS=gS,yS=KE,bS=tS,_S=vS;function xS(e){return _S(bS(e,void 0,yS),e+"")}var wS=xS,CS=HE,TS=wS,ES=TS(function(e,t){return e==null?{}:CS(e,t)}),Ks=ES,xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.SCROLL_TO_Y=xe.SCROLL_TO_X=xe.SCROLL_END=xe.SCROLL_START=xe.PROP_CHANGE=xe.INITIALIZE=xe.COLUMN_RESIZE=xe.COLUMN_REORDER_MOVE=xe.COLUMN_REORDER_END=xe.COLUMN_REORDER_START=void 0;var SS="COLUMN_REORDER_START";xe.COLUMN_REORDER_START=SS;var RS="COLUMN_REORDER_END";xe.COLUMN_REORDER_END=RS;var OS="COLUMN_REORDER_MOVE";xe.COLUMN_REORDER_MOVE=OS;var MS="COLUMN_RESIZE";xe.COLUMN_RESIZE=MS;var PS="INITIALIZE";xe.INITIALIZE=PS;var DS="PROP_CHANGE";xe.PROP_CHANGE=DS;var kS="SCROLL_START";xe.SCROLL_START=kS;var AS="SCROLL_END";xe.SCROLL_END=AS;var IS="SCROLL_TO_X";xe.SCROLL_TO_X=IS;var NS="SCROLL_TO_Y";xe.SCROLL_TO_Y=NS;var bt={};Object.defineProperty(bt,"__esModule",{value:!0});bt.resizeColumn=bt.moveColumnReorder=bt.stopColumnReorder=bt.startColumnReorder=void 0;var Ai=xe,$S=function(t){return{type:Ai.COLUMN_REORDER_START,reorderData:t}};bt.startColumnReorder=$S;var LS=function(){return{type:Ai.COLUMN_REORDER_END}};bt.stopColumnReorder=LS;var FS=function(t){return{type:Ai.COLUMN_REORDER_MOVE,deltaX:t}};bt.moveColumnReorder=FS;var HS=function(t){return{type:Ai.COLUMN_RESIZE,resizeData:t}};bt.resizeColumn=HS;var _t={};Object.defineProperty(_t,"__esModule",{value:!0});_t.stopScroll=_t.startScroll=_t.scrollToY=_t.scrollToX=void 0;var Ii=xe,BS=function(t){return{type:Ii.SCROLL_TO_X,scrollX:t}};_t.scrollToX=BS;var jS=function(t){return{type:Ii.SCROLL_TO_Y,scrollY:t}};_t.scrollToY=jS;var zS=function(){return{type:Ii.SCROLL_START}};_t.startScroll=zS;var WS=function(){return{type:Ii.SCROLL_END}};_t.stopScroll=WS;var _p={},VS=qr,US=Gr,qS="[object Number]";function GS(e){return typeof e=="number"||US(e)&&VS(e)==qS}var YS=GS,XS=YS;function KS(e){return XS(e)&&e!=+e}var QS=KS,mt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(c){return typeof c}:t=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},t(s)}var r=/\//g,n={};function o(s){return n[s]||(n[s]=s.replace(r,"_")),n[s]}function i(s){var l;return t(s)=="object"?l=Object.keys(s).filter(function(c){return s[c]}):l=Array.prototype.slice.call(arguments),l.map(o).join(" ")}var a=i;e.default=a})(mt);var xp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i,a,s){a=a||setTimeout,s=s||clearTimeout;var l;function c(){for(var p=arguments.length,h=new Array(p),d=0;d<p;d++)h[d]=arguments[d];c.reset();var m=function(){n.apply(i,h)};m.__SMmeta=n.__SMmeta,l=a(m,o)}return c.reset=function(){s(l)},c}var r=t;e.default=r})(xp);var qt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n){n||(n="");var o,i=arguments.length;if(i>1)for(var a=1;a<i;a++)o=arguments[a],o&&(n=(n?n+" ":"")+o);return n}var r=t;e.default=r})(qt);var io={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(o)}function r(o,i){if(o===i)return!0;if(t(o)!=="object"||o===null||t(i)!=="object"||i===null)return!1;var a=Object.keys(o),s=Object.keys(i);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(i),c=0;c<a.length;c++)if(!l(a[c])||o[a[c]]!==i[a[c]])return!1;return!0}var n=r;e.default=n})(io);var Qs={},Gt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){return function(){return o}}function r(){}r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(o){return o};var n=r;e.default=n})(Gt);var wp={},Cp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!1,r,n,o,i,a,s,l,c,p,h,d,m,g,v,y;function w(){if(!t){t=!0;var x=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(x),C=/(Mac OS X)|(Windows)|(Linux)/.exec(x);if(m=/\b(iPhone|iP[ao]d)/.exec(x),g=/\b(iP[ao]d)/.exec(x),h=/Android/i.exec(x),v=/FBAN\/\w+;/i.exec(x),y=/Mobile/i.exec(x),d=!!/Win64/.exec(x),b){r=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var S=/(?:Trident\/(\d+.\d+))/.exec(x);s=S?parseFloat(S[1])+4:r,n=b[2]?parseFloat(b[2]):NaN,o=b[3]?parseFloat(b[3]):NaN,i=b[4]?parseFloat(b[4]):NaN,i?(b=/(?:Chrome\/(\d+\.\d+))/.exec(x),a=b&&b[1]?parseFloat(b[1]):NaN):a=NaN}else r=n=o=a=i=NaN;if(C){if(C[1]){var O=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(x);l=O?parseFloat(O[1].replace("_",".")):!0}else l=!1;c=!!C[2],p=!!C[3]}else l=c=p=!1}}var E={ie:function(){return w()||r},ieCompatibilityMode:function(){return w()||s>r},ie64:function(){return E.ie()&&d},firefox:function(){return w()||n},opera:function(){return w()||o},webkit:function(){return w()||i},safari:function(){return E.webkit()},chrome:function(){return w()||a},windows:function(){return w()||c},osx:function(){return w()||l},linux:function(){return w()||p},iphone:function(){return w()||m},mobile:function(){return w()||m||g||h||y},nativeApp:function(){return w()||v},android:function(){return w()||h},ipad:function(){return w()||g}},_=E;e.default=_})(Cp);var Tp={},Zs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!!(typeof window!="undefined"&&window.document&&window.document.createElement),r={canUseDOM:t,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t},n=r;e.default=n})(Zs);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zs);function r(a){return a&&a.__esModule?a:{default:a}}var n;t.default.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
222
+ * Checks if an event is supported in the current execution environment.
223
+ *
224
+ * NOTE: This will not work correctly for non-generic events such as `change`,
225
+ * `reset`, `load`, `error`, and `select`.
226
+ *
227
+ * Borrows from Modernizr.
228
+ *
229
+ * @param {string} eventNameSuffix Event name, e.g. "click".
230
+ * @param {?boolean} capture Check if the capture phase is supported.
231
+ * @return {boolean} True if the event is supported.
232
+ * @internal
233
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
234
+ */function o(a,s){if(!t.default.canUseDOM||s&&!("addEventListener"in document))return!1;var l="on"+a,c=l in document;if(!c){var p=document.createElement("div");p.setAttribute(l,"return;"),c=typeof p[l]=="function"}return!c&&n&&a==="wheel"&&(c=document.implementation.hasFeature("Events.wheel","3.0")),c}var i=o;e.default=i})(Tp);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Cp),r=n(Tp);function n(c){return c&&c.__esModule?c:{default:c}}var o=10,i=40,a=800;function s(c){var p=0,h=0,d=0,m=0;return"detail"in c&&(h=c.detail),"wheelDelta"in c&&(h=-c.wheelDelta/120),"wheelDeltaY"in c&&(h=-c.wheelDeltaY/120),"wheelDeltaX"in c&&(p=-c.wheelDeltaX/120),"axis"in c&&c.axis===c.HORIZONTAL_AXIS&&(p=h,h=0),d=p*o,m=h*o,"deltaY"in c&&(m=c.deltaY),"deltaX"in c&&(d=c.deltaX),(d||m)&&c.deltaMode&&(c.deltaMode==1?(d*=i,m*=i):(d*=a,m*=a)),d&&!p&&(p=d<1?-1:1),m&&!h&&(h=m<1?-1:1),{spinX:p,spinY:h,pixelX:d,pixelY:m}}s.getEventType=function(){return t.default.firefox()?"DOMMouseScroll":(0,r.default)("wheel")?"wheel":"mousewheel"};var l=s;e.default=l})(wp);var Ni={},Ep={},Qr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof u.commonjsGlobal!="undefined"?u.commonjsGlobal:typeof self!="undefined"?self:{},r=t;e.default=r})(Qr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Qr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.requestAnimationFrame||t.default.webkitRequestAnimationFrame||t.default.mozRequestAnimationFrame||t.default.oRequestAnimationFrame||t.default.msRequestAnimationFrame,o=n;e.default=o})(Ep);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Gt),r=o(Ep),n=o(Qr);function o(l){return l&&l.__esModule?l:{default:l}}var i=0,a=r.default||function(l){var c=Date.now(),p=Math.max(0,16-(c-i));return i=c+p,n.default.setTimeout(function(){l(Date.now())},p)};a(t.default);var s=a;e.default=s})(Ni);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Gt),r=o(wp),n=o(Ni);function o(p){return p&&p.__esModule?p:{default:p}}function i(p,h){if(!(p instanceof h))throw new TypeError("Cannot call a class as a function")}function a(p,h){for(var d=0;d<h.length;d++){var m=h[d];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(p,m.key,m)}}function s(p,h,d){return h&&a(p.prototype,h),d&&a(p,d),p}var l=function(){function p(h,d,m,g,v,y){i(this,p),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof d!="function"&&(d=d?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof m!="function"&&(m=m?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=d,this._handleScrollY=m,this._preventDefault=v,this._stopPropagation=y,this._onWheelCallback=h,this.onWheel=this.onWheel.bind(this),this._isRTL=g}return s(p,[{key:"onWheel",value:function(d){this._preventDefault&&d.preventDefault();var m=(0,r.default)(d);d.shiftKey&&p._allowInternalAxesSwap()?m=p._swapNormalizedWheelAxis(m):d.shiftKey||(m.pixelX*=this._isRTL?-1:1);var g=this._deltaX+m.pixelX,v=this._deltaY+m.pixelY,y=this._handleScrollX(g,v),w=this._handleScrollY(v,g);if(!(!y&&!w)&&!(this._rootRef&&!this._contains(d.target))){this._deltaX+=y?m.pixelX:0,this._deltaY+=w?m.pixelY:0,d.defaultPrevented||d.preventDefault();var E;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&d.stopPropagation(),E=!0),E===!0&&this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didWheel))}}},{key:"setRoot",value:function(d){this._rootRef=d}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(d){for(var m=d;m!=document.body;){if(m===this._rootRef)return!0;m=m.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(d){return{spinX:d.spinY,spinY:d.spinX,pixelX:d.pixelY,pixelY:d.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),p}(),c=l;e.default=c})(Qs);var Sp={},mr={},Qo="NOT_FOUND";function ZS(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Qo},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function JS(e,t){var r=[];function n(s){var l=r.findIndex(function(p){return t(s,p.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Qo}function o(s,l){n(s)===Qo&&(r.unshift({key:s,value:l}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var Rp=function(t,r){return t===r};function eR(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i<o;i++)if(!e(r[i],n[i]))return!1;return!0}}function Op(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?Rp:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,l=eR(o),c=a===1?ZS(l):JS(a,l);function p(){var h=c.get(arguments);if(h===Qo){if(h=e.apply(null,arguments),s){var d=c.getEntries(),m=d.find(function(g){return s(g.value,h)});m&&(h=m.value)}c.put(arguments,h)}return h}return p.clearCache=function(){return c.clear()},p}function tR(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(n){return typeof n=="function"})){var r=t.map(function(n){return typeof n=="function"?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function Mp(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=0,p,h={memoizeOptions:void 0},d=s.pop();if(typeof d=="object"&&(h=d,d=s.pop()),typeof d!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof d+"]");var m=h,g=m.memoizeOptions,v=g===void 0?r:g,y=Array.isArray(v)?v:[v],w=tR(s),E=e.apply(void 0,[function(){return c++,d.apply(null,arguments)}].concat(y)),_=e(function(){for(var b=[],C=w.length,S=0;S<C;S++)b.push(w[S].apply(null,arguments));return p=E.apply(null,b),p});return Object.assign(_,{resultFunc:d,memoizedResultFunc:E,dependencies:w,lastResult:function(){return p},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),_};return o}var Pp=Mp(Op),rR=function(t,r){if(r===void 0&&(r=Pp),typeof t!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof t));var n=Object.keys(t),o=r(n.map(function(i){return t[i]}),function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return a.reduce(function(l,c,p){return l[n[p]]=c,l},{})});return o};const nR=Object.freeze(Object.defineProperty({__proto__:null,createSelector:Pp,createSelectorCreator:Mp,createStructuredSelector:rR,defaultEqualityCheck:Rp,defaultMemoize:Op},Symbol.toStringTag,{value:"Module"})),oR=u.getAugmentedNamespace(nR);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=oR,r=n(io);function n(i){return i&&i.__esModule?i:{default:i}}var o=(0,t.createSelectorCreator)(t.defaultMemoize,r.default);e.default=o})(mr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(mr);function r(i){return i&&i.__esModule?i:{default:i}}function n(i,a,s){var l=1,c=1,p=i+2,h=i+1,d=2;return a&&(c++,h++,p++,d++),s&&h++,{ariaGroupHeaderIndex:l,ariaHeaderIndex:c,ariaFooterIndex:p,ariaRowCount:h,ariaRowIndexOffset:d}}var o=(0,t.default)([function(i){return i.rowsCount},function(i){return i.groupHeaderHeight>0},function(i){return i.footerHeight>0}],n);e.default=o})(Sp);var Dp={};function iR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var aR=iR;function sR(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(r(i[l],l,i)===!1)break}return t}}var lR=sR,uR=lR,cR=uR(),dR=cR;function fR(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var pR=fR,Ua={exports:{}};function hR(){return!1}var mR=hR;(function(e,t){var r=Pt,n=mR,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(Ua,Ua.exports);var Js=Ua.exports,gR=qr,vR=Ys,yR=Gr,bR="[object Arguments]",_R="[object Array]",xR="[object Boolean]",wR="[object Date]",CR="[object Error]",TR="[object Function]",ER="[object Map]",SR="[object Number]",RR="[object Object]",OR="[object RegExp]",MR="[object Set]",PR="[object String]",DR="[object WeakMap]",kR="[object ArrayBuffer]",AR="[object DataView]",IR="[object Float32Array]",NR="[object Float64Array]",$R="[object Int8Array]",LR="[object Int16Array]",FR="[object Int32Array]",HR="[object Uint8Array]",BR="[object Uint8ClampedArray]",jR="[object Uint16Array]",zR="[object Uint32Array]",_e={};_e[IR]=_e[NR]=_e[$R]=_e[LR]=_e[FR]=_e[HR]=_e[BR]=_e[jR]=_e[zR]=!0;_e[bR]=_e[_R]=_e[kR]=_e[xR]=_e[AR]=_e[wR]=_e[CR]=_e[TR]=_e[ER]=_e[SR]=_e[RR]=_e[OR]=_e[MR]=_e[PR]=_e[DR]=!1;function WR(e){return yR(e)&&vR(e.length)&&!!_e[gR(e)]}var VR=WR;function UR(e){return function(t){return e(t)}}var qR=UR,qa={exports:{}};(function(e,t){var r=lp,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=s})(qa,qa.exports);var GR=qa.exports,YR=VR,XR=qR,dc=GR,fc=dc&&dc.isTypedArray,KR=fc?XR(fc):YR,el=KR,QR=pR,ZR=ki,JR=et,eO=Js,tO=Gs,rO=el,nO=Object.prototype,oO=nO.hasOwnProperty;function iO(e,t){var r=JR(e),n=!r&&ZR(e),o=!r&&!n&&eO(e),i=!r&&!n&&!o&&rO(e),a=r||n||o||i,s=a?QR(e.length,String):[],l=s.length;for(var c in e)(t||oO.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||tO(c,l)))&&s.push(c);return s}var aO=iO,sO=Object.prototype;function lO(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||sO;return e===r}var kp=lO;function uO(e,t){return function(r){return e(t(r))}}var cO=uO,dO=cO,fO=dO(Object.keys,Object),pO=fO,hO=kp,mO=pO,gO=Object.prototype,vO=gO.hasOwnProperty;function yO(e){if(!hO(e))return mO(e);var t=[];for(var r in Object(e))vO.call(e,r)&&r!="constructor"&&t.push(r);return t}var Ap=yO,bO=cp,_O=Ys;function xO(e){return e!=null&&_O(e.length)&&!bO(e)}var $i=xO,wO=aO,CO=Ap,TO=$i;function EO(e){return TO(e)?wO(e):CO(e)}var tl=EO,SO=dR,RO=tl;function OO(e,t){return e&&SO(e,t,RO)}var MO=OO,PO=$i;function DO(e,t){return function(r,n){if(r==null)return r;if(!PO(r))return e(r,n);for(var o=r.length,i=t?o:-1,a=Object(r);(t?i--:++i<o)&&n(a[i],i,a)!==!1;);return r}}var kO=DO,AO=MO,IO=kO,NO=IO(AO),rl=NO,$O=Xs;function LO(e){return typeof e=="function"?e:$O}var FO=LO,HO=aR,BO=rl,jO=FO,zO=et;function WO(e,t){var r=zO(e)?HO:BO;return r(e,jO(t))}var nl=WO,ol={},VO=Mi;function UO(){this.__data__=new VO,this.size=0}var qO=UO;function GO(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var YO=GO;function XO(e){return this.__data__.get(e)}var KO=XO;function QO(e){return this.__data__.has(e)}var ZO=QO,JO=Mi,eM=Ws,tM=Vs,rM=200;function nM(e,t){var r=this.__data__;if(r instanceof JO){var n=r.__data__;if(!eM||n.length<rM-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new tM(n)}return r.set(e,t),this.size=r.size,this}var oM=nM,iM=Mi,aM=qO,sM=YO,lM=KO,uM=ZO,cM=oM;function Zr(e){var t=this.__data__=new iM(e);this.size=t.size}Zr.prototype.clear=aM;Zr.prototype.delete=sM;Zr.prototype.get=lM;Zr.prototype.has=uM;Zr.prototype.set=cM;var Ip=Zr,dM="__lodash_hash_undefined__";function fM(e){return this.__data__.set(e,dM),this}var pM=fM;function hM(e){return this.__data__.has(e)}var mM=hM,gM=Vs,vM=pM,yM=mM;function Zo(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new gM;++t<r;)this.add(e[t])}Zo.prototype.add=Zo.prototype.push=vM;Zo.prototype.has=yM;var bM=Zo;function _M(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var xM=_M;function wM(e,t){return e.has(t)}var CM=wM,TM=bM,EM=xM,SM=CM,RM=1,OM=2;function MM(e,t,r,n,o,i){var a=r&RM,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),p=i.get(t);if(c&&p)return c==t&&p==e;var h=-1,d=!0,m=r&OM?new TM:void 0;for(i.set(e,t),i.set(t,e);++h<s;){var g=e[h],v=t[h];if(n)var y=a?n(v,g,h,t,e,i):n(g,v,h,e,t,i);if(y!==void 0){if(y)continue;d=!1;break}if(m){if(!EM(t,function(w,E){if(!SM(m,E)&&(g===w||o(g,w,r,n,i)))return m.push(E)})){d=!1;break}}else if(!(g===v||o(g,v,r,n,i))){d=!1;break}}return i.delete(e),i.delete(t),d}var Np=MM,PM=Pt,DM=PM.Uint8Array,kM=DM;function AM(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}var IM=AM;function NM(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var $M=NM,pc=ro,hc=kM,LM=zs,FM=Np,HM=IM,BM=$M,jM=1,zM=2,WM="[object Boolean]",VM="[object Date]",UM="[object Error]",qM="[object Map]",GM="[object Number]",YM="[object RegExp]",XM="[object Set]",KM="[object String]",QM="[object Symbol]",ZM="[object ArrayBuffer]",JM="[object DataView]",mc=pc?pc.prototype:void 0,ga=mc?mc.valueOf:void 0;function e4(e,t,r,n,o,i,a){switch(r){case JM:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ZM:return!(e.byteLength!=t.byteLength||!i(new hc(e),new hc(t)));case WM:case VM:case GM:return LM(+e,+t);case UM:return e.name==t.name&&e.message==t.message;case YM:case KM:return e==t+"";case qM:var s=HM;case XM:var l=n&jM;if(s||(s=BM),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=zM,a.set(e,t);var p=FM(s(e),s(t),n,o,i,a);return a.delete(e),p;case QM:if(ga)return ga.call(e)==ga.call(t)}return!1}var t4=e4,r4=yp,n4=et;function o4(e,t,r){var n=t(e);return n4(e)?n:r4(n,r(e))}var i4=o4;function a4(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}var s4=a4;function l4(){return[]}var u4=l4,c4=s4,d4=u4,f4=Object.prototype,p4=f4.propertyIsEnumerable,gc=Object.getOwnPropertySymbols,h4=gc?function(e){return e==null?[]:(e=Object(e),c4(gc(e),function(t){return p4.call(e,t)}))}:d4,m4=h4,g4=i4,v4=m4,y4=tl;function b4(e){return g4(e,y4,v4)}var _4=b4,vc=_4,x4=1,w4=Object.prototype,C4=w4.hasOwnProperty;function T4(e,t,r,n,o,i){var a=r&x4,s=vc(e),l=s.length,c=vc(t),p=c.length;if(l!=p&&!a)return!1;for(var h=l;h--;){var d=s[h];if(!(a?d in t:C4.call(t,d)))return!1}var m=i.get(e),g=i.get(t);if(m&&g)return m==t&&g==e;var v=!0;i.set(e,t),i.set(t,e);for(var y=a;++h<l;){d=s[h];var w=e[d],E=t[d];if(n)var _=a?n(E,w,d,t,e,i):n(w,E,d,e,t,i);if(!(_===void 0?w===E||o(w,E,r,n,i):_)){v=!1;break}y||(y=d=="constructor")}if(v&&!y){var x=e.constructor,b=t.constructor;x!=b&&"constructor"in e&&"constructor"in t&&!(typeof x=="function"&&x instanceof x&&typeof b=="function"&&b instanceof b)&&(v=!1)}return i.delete(e),i.delete(t),v}var E4=T4,S4=hr,R4=Pt,O4=S4(R4,"DataView"),M4=O4,P4=hr,D4=Pt,k4=P4(D4,"Promise"),A4=k4,I4=hr,N4=Pt,$4=I4(N4,"Set"),L4=$4,F4=hr,H4=Pt,B4=F4(H4,"WeakMap"),j4=B4,Ga=M4,Ya=Ws,Xa=A4,Ka=L4,Qa=j4,$p=qr,Jr=dp,yc="[object Map]",z4="[object Object]",bc="[object Promise]",_c="[object Set]",xc="[object WeakMap]",wc="[object DataView]",W4=Jr(Ga),V4=Jr(Ya),U4=Jr(Xa),q4=Jr(Ka),G4=Jr(Qa),ir=$p;(Ga&&ir(new Ga(new ArrayBuffer(1)))!=wc||Ya&&ir(new Ya)!=yc||Xa&&ir(Xa.resolve())!=bc||Ka&&ir(new Ka)!=_c||Qa&&ir(new Qa)!=xc)&&(ir=function(e){var t=$p(e),r=t==z4?e.constructor:void 0,n=r?Jr(r):"";if(n)switch(n){case W4:return wc;case V4:return yc;case U4:return bc;case q4:return _c;case G4:return xc}return t});var Lp=ir,va=Ip,Y4=Np,X4=t4,K4=E4,Cc=Lp,Tc=et,Ec=Js,Q4=el,Z4=1,Sc="[object Arguments]",Rc="[object Array]",Oo="[object Object]",J4=Object.prototype,Oc=J4.hasOwnProperty;function e5(e,t,r,n,o,i){var a=Tc(e),s=Tc(t),l=a?Rc:Cc(e),c=s?Rc:Cc(t);l=l==Sc?Oo:l,c=c==Sc?Oo:c;var p=l==Oo,h=c==Oo,d=l==c;if(d&&Ec(e)){if(!Ec(t))return!1;a=!0,p=!1}if(d&&!p)return i||(i=new va),a||Q4(e)?Y4(e,t,r,n,o,i):X4(e,t,l,r,n,o,i);if(!(r&Z4)){var m=p&&Oc.call(e,"__wrapped__"),g=h&&Oc.call(t,"__wrapped__");if(m||g){var v=m?e.value():e,y=g?t.value():t;return i||(i=new va),o(v,y,r,n,i)}}return d?(i||(i=new va),K4(e,t,r,n,o,i)):!1}var t5=e5,r5=t5,Mc=Gr;function Fp(e,t,r,n,o){return e===t?!0:e==null||t==null||!Mc(e)&&!Mc(t)?e!==e&&t!==t:r5(e,t,r,n,Fp,o)}var Hp=Fp,n5=Ip,o5=Hp,i5=1,a5=2;function s5(e,t,r,n){var o=r.length,i=o,a=!n;if(e==null)return!i;for(e=Object(e);o--;){var s=r[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=r[o];var l=s[0],c=e[l],p=s[1];if(a&&s[2]){if(c===void 0&&!(l in e))return!1}else{var h=new n5;if(n)var d=n(c,p,l,e,t,h);if(!(d===void 0?o5(p,c,i5|a5,n,h):d))return!1}}return!0}var l5=s5,u5=no;function c5(e){return e===e&&!u5(e)}var Bp=c5,d5=Bp,f5=tl;function p5(e){for(var t=f5(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,d5(o)]}return t}var h5=p5;function m5(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var jp=m5,g5=l5,v5=h5,y5=jp;function b5(e){var t=v5(e);return t.length==1&&t[0][2]?y5(t[0][0],t[0][1]):function(r){return r===e||g5(r,e,t)}}var _5=b5,x5=qs;function w5(e,t,r){var n=e==null?void 0:x5(e,t);return n===void 0?r:n}var C5=w5,T5=Hp,E5=C5,S5=vp,R5=js,O5=Bp,M5=jp,P5=oo,D5=1,k5=2;function A5(e,t){return R5(e)&&O5(t)?M5(P5(e),t):function(r){var n=E5(r,e);return n===void 0&&n===t?S5(r,e):T5(t,n,D5|k5)}}var I5=A5;function N5(e){return function(t){return t==null?void 0:t[e]}}var $5=N5,L5=qs;function F5(e){return function(t){return L5(t,e)}}var H5=F5,B5=$5,j5=H5,z5=js,W5=oo;function V5(e){return z5(e)?B5(W5(e)):j5(e)}var U5=V5,q5=_5,G5=I5,Y5=Xs,X5=et,K5=U5;function Q5(e){return typeof e=="function"?e:e==null?Y5:typeof e=="object"?X5(e)?G5(e[0],e[1]):q5(e):K5(e)}var zp=Q5,Z5=rl,J5=$i;function eP(e,t){var r=-1,n=J5(e)?Array(e.length):[];return Z5(e,function(o,i,a){n[++r]=t(o,i,a)}),n}var tP=eP,rP=pp,nP=zp,oP=tP,iP=et;function aP(e,t){var r=iP(e)?rP:oP;return r(e,nP(t))}var Wp=aP,Yt={};function sP(e,t,r,n){var o=-1,i=e==null?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}var lP=sP;function uP(e,t,r,n,o){return o(e,function(i,a,s){r=n?(n=!1,i):t(r,i,a,s)}),r}var cP=uP,dP=lP,fP=rl,pP=zp,hP=cP,mP=et;function gP(e,t,r){var n=mP(e)?dP:hP,o=arguments.length<3;return n(e,pP(t),r,o,fP)}var vP=gP;Object.defineProperty(Yt,"__esModule",{value:!0});Yt.sumPropWidths=bP;Yt.getTotalWidth=_P;Yt.getTotalFlexGrow=xP;var il=yP(vP);function yP(e){return e&&e.__esModule?e:{default:e}}function bP(e){return(0,il.default)(e,function(t,r){return t+r.props.width},0)}function _P(e){return(0,il.default)(e,function(t,r){return t+r.width},0)}function xP(e){return(0,il.default)(e,function(t,r){return t+(r.flexGrow||0)},0)}var en={},Li={},Fi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i){return n<o?o:n>i?i:n}var r=t;e.default=r})(Fi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ScrollbarState=void 0;var t=o(Fi),r=o(mr),n=Yt;function o(m){return m&&m.__esModule?m:{default:m}}var i=1,a=3,s=6,l={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};e.ScrollbarState=l;function c(m,g,v,y,w,E,_){var x=g.cellGroupWrapperHeight,b=g.footerHeight,C=g.headerHeight,S=g.groupHeaderHeight,O=x?0:2*i,M=b+C+S+O,D=w.height,R=w.maxHeight,T=w.useMaxHeight,A=w.width,I=Math.round(T?R:D),P=I-M,N=p(m,y,A,_),H=P,B=P;switch(N){case l.VISIBLE:{H-=E,B-=E;break}case l.JOINT_SCROLLBARS:{H-=E;break}}return{bufferRowCount:h(B,v),minAvailableHeight:Math.max(H,0),maxAvailableHeight:Math.max(B,0),reservedHeight:M,scrollStateX:N}}function p(m,g,v,y){var w=g.overflowX,E=g.showScrollbarX,_=(0,n.getTotalWidth)(m);return w==="hidden"||E===!1?l.HIDDEN:_>v?l.VISIBLE:_>v-y?l.JOINT_SCROLLBARS:l.HIDDEN}function h(m,g){var v=g.bufferRowCount,y=g.rowHeight,w=g.subRowHeight;if(v!==void 0)return console.log("buffer set: "+v),v;var E=y+w,_=Math.ceil(m/E)+1;return(0,t.default)(Math.floor(_/2),a,s)}var d=(0,r.default)([function(m){return m.columnProps},function(m){return m.elementHeights},function(m){return m.rowSettings},function(m){return m.scrollFlags},function(m){return m.tableSize},function(m){return m.scrollbarXHeight},function(m){return m.scrollbarYWidth}],c);e.default=d})(Li);(function(e){function t(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(h){return typeof h}:t=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},t(c)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(mr),n=i(Li);function o(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(o=function(m){return m?h:p})(c)}function i(c,p){if(c&&c.__esModule)return c;if(c===null||t(c)!=="object"&&typeof c!="function")return{default:c};var h=o(p);if(h&&h.has(c))return h.get(c);var d={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var v=m?Object.getOwnPropertyDescriptor(c,g):null;v&&(v.get||v.set)?Object.defineProperty(d,g,v):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}function a(c){return c&&c.__esModule?c:{default:c}}function s(c,p,h){var d=h.overflowY,m=h.showScrollbarY,g=d!=="hidden"&&m!==!1,v=c.minAvailableHeight,y=c.maxAvailableHeight,w=c.scrollStateX,E=!1,_=!1;w===n.ScrollbarState.VISIBLE&&(_=!0),g&&p>y&&(E=!0),E&&w===n.ScrollbarState.JOINT_SCROLLBARS&&(_=!0);var x=y;return _&&(x=v),{availableHeight:x,scrollEnabledX:_,scrollEnabledY:E}}var l=(0,r.default)([n.default,function(c){return c.scrollContentHeight},function(c){return c.scrollFlags}],s);e.default=l})(en);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(nl),r=a(Wp),n=a(mr),o=Yt,i=a(en);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function l(d,m,g,v,y){var w=g?y:0,E=v-w,_=c(d,m,E),x=_.newColumnGroupProps,b=_.newColumnProps,C=p(b),S=C.fixedColumns,O=C.fixedRightColumns,M=C.scrollableColumns,D=E-(0,o.getTotalWidth)(S)-(0,o.getTotalWidth)(O),R=Math.max(0,(0,o.getTotalWidth)(b)-E);return{columnGroupProps:x,columnProps:b,availableScrollWidth:D,fixedColumns:S,fixedRightColumns:O,scrollableColumns:M,maxScrollX:R}}function c(d,m,g){var v=m,y=(0,o.getTotalFlexGrow)(m);if(y!==0){var w=(0,o.getTotalWidth)(m),E=Math.max(g-w,0);v=(0,r.default)(m,function(b){var C=b.flexGrow;if(!C)return b;var S=Math.floor(C*E/y),O=b.width+S;return y-=C,E-=S,s({},b,{width:O})})}var _=(0,r.default)(d,function(){return 0});(0,t.default)(v,function(b){b.groupIdx!==void 0&&(_[b.groupIdx]+=b.width)});var x=(0,r.default)(d,function(b,C){return _[C]===b.width?b:s({},b,{width:_[C]})});return{newColumnGroupProps:x,newColumnProps:v}}function p(d){var m=[],g=[],v=[];return(0,t.default)(d,function(y){var w=v;y.fixed?w=m:y.fixedRight&&(w=g),w.push(y)}),{fixedColumns:m,fixedRightColumns:g,scrollableColumns:v}}var h=(0,n.default)([function(d){return d.columnGroupProps},function(d){return d.columnProps},function(d){return(0,i.default)(d).scrollEnabledY},function(d){return d.tableSize.width},function(d){return d.scrollbarYWidth}],l);e.default=h})(ol);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(nl),r=o(mr),n=o(ol);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,l){var c=s.columnGroupProps,p=s.columnProps,h=[],d=[],m=[];(0,t.default)(c,function(w,E){var _={props:w,template:l.groupHeader[E]};w.fixed?h.push(_):w.fixedRight?d.push(_):m.push(_)});var g={cell:[],header:[],footer:[]},v={cell:[],header:[],footer:[]},y={cell:[],header:[],footer:[]};return(0,t.default)(p,function(w,E){var _=y;w.fixed?_=g:w.fixedRight&&(_=v),_.cell.push({props:w,template:l.cell[E]}),_.header.push({props:w,template:l.header[E]}),_.footer.push({props:w,template:l.footer[E]})}),{fixedColumnGroups:h,fixedColumns:g,fixedRightColumnGroups:d,fixedRightColumns:v,scrollableColumnGroups:m,scrollableColumns:y}}var a=(0,r.default)([function(s){return(0,n.default)(s)},function(s){return s.elementTemplates}],i);e.default=a})(Dp);var al={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(mr),r=o(Li),n=o(en);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,l,c,p,h,d,m){var g=h.availableHeight,v=h.scrollEnabledX,y=c;v&&(y+=m);var w=Math.min(g,p),E=d?w:g,_=E+y,x=E;l<_&&(x=l-y);var b=d?p:Math.max(p,g),C=b+y;l&&(C=Math.max(l,C));var S=s.footerHeight,O=s.groupHeaderHeight,M=s.headerHeight,D=O+M,R=D+x,T=R+S,A=Math.max(0,R-D);return{bodyHeight:w,bodyOffsetTop:D,componentHeight:_,contentHeight:C,footOffsetTop:R,scrollbarXOffsetTop:T,scrollbarYHeight:A,visibleRowsHeight:x}}var a=(0,t.default)([function(s){return s.elementHeights},function(s){return s.tableSize.ownerHeight},function(s){return(0,r.default)(s).reservedHeight},function(s){return s.scrollContentHeight},n.default,function(s){return s.tableSize.useMaxHeight},function(s){return s.scrollbarXHeight}],i);e.default=a})(al);var Vp={},Hi={},Up={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Gt);function r(i){return i&&i.__esModule?i:{default:i}}var n={listen:function(a,s,l){if(a.addEventListener)return a.addEventListener(s,l,!1),{remove:function(){a.removeEventListener(s,l,!1)}};if(a.attachEvent)return a.attachEvent("on"+s,l),{remove:function(){a.detachEvent("on"+s,l)}}},capture:function(a,s,l){return a.addEventListener?(a.addEventListener(s,l,!0),{remove:function(){a.removeEventListener(s,l,!0)}}):(process.env.NODE_ENV!=="production"&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:t.default})},registerDefault:function(){}},o=n;e.default=o})(Up);var qp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Qr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.cancelAnimationFrame||t.default.webkitCancelAnimationFrame||t.default.mozCancelAnimationFrame||t.default.oCancelAnimationFrame||t.default.msCancelAnimationFrame||t.default.clearTimeout,o=n;e.default=o})(qp);var Bi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){var i=0,a=0;if(!o.clientX||!o.clientY){if(o.touches&&o.touches.length>0){var s=o.touches[0];i=s.clientX,a=s.clientY}}else i=o.clientX,a=o.clientY;return{x:i,y:a}}var r={getCoordinatesFromEvent:t},n=r;e.default=n})(Bi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Up),r=i(qp),n=i(Ni),o=i(Bi);function i(h){return h&&h.__esModule?h:{default:h}}function a(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function s(h,d){for(var m=0;m<d.length;m++){var g=d[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function l(h,d,m){return d&&s(h.prototype,d),h}var c=function(){function h(d,m,g,v){a(this,h),this._isDragging=!1,this._isTouchEnabled=v,this._animationFrameID=null,this._domNode=g,this._onMove=d,this._onMoveEnd=m,this._onMouseEnd=this._onMouseEnd.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._didMouseMove=this._didMouseMove.bind(this)}return l(h,[{key:"captureMouseMoves",value:function(m){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=t.default.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=t.default.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=t.default.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=t.default.listen(this._domNode,"touchstart",this._onMouseMove),this._eventTouchMoveToken=t.default.listen(this._domNode,"touchmove",this._onMouseMove),this._eventTouchEndToken=t.default.listen(this._domNode,"touchend",this._onMouseUp)),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._x=v,this._y=y}m.preventDefault()}},{key:"releaseMouseMoves",value:function(){this._eventMoveToken&&this._eventUpToken&&this._eventLeaveToken&&(this._eventMoveToken.remove(),this._eventMoveToken=null,this._eventUpToken.remove(),this._eventUpToken=null,this._eventLeaveToken.remove(),this._eventLeaveToken=null),this._isTouchEnabled&&this._eventTouchStartToken&&this._eventTouchMoveToken&&this._eventTouchEndToken&&(this._eventTouchStartToken.remove(),this._eventTouchStartToken=null,this._eventTouchMoveToken.remove(),this._eventTouchMoveToken=null,this._eventTouchEndToken.remove(),this._eventTouchEndToken=null),this._animationFrameID!==null&&((0,r.default)(this._animationFrameID),this._animationFrameID=null),this._isDragging&&(this._isDragging=!1,this._x=null,this._y=null)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"_onMouseMove",value:function(m){var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._deltaX+=v-this._x,this._deltaY+=y-this._y,this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didMouseMove)),this._x=v,this._y=y,m.preventDefault()}},{key:"_didMouseMove",value:function(){this._animationFrameID=null,this._onMove(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_onMouseUp",value:function(){this._animationFrameID&&this._didMouseMove(),this._onMoveEnd(!1)}},{key:"_onMouseEnd",value:function(){this._onMoveEnd(!0)}}]),h}(),p=c;e.default=p})(Hi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(Fi),i=s(mt),a=s(Hi);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function c(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&c(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function E(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;l(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),E(v(O),"state",{width:0,cursorDelta:0}),E(v(O),"_onMove",function(T){O.props.isRTL&&(T=-T);var A=O.state.cursorDelta+T,I=(0,o.default)(A,O.props.minWidth,O.props.maxWidth);O.setState({width:I,cursorDelta:A})}),E(v(O),"_onColumnResizeEnd",function(){O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.onColumnResizeEnd(O.state.width,O.props.columnKey)}),O}return p(S,[{key:"componentDidUpdate",value:function(){this.props.initialEvent&&!this._mouseMoveTracker.isDragging()&&(this._mouseMoveTracker.captureMouseMoves(this.props.initialEvent),this.setState({width:this.props.initialWidth,cursorDelta:this.props.initialWidth}))}},{key:"componentDidMount",value:function(){this._mouseMoveTracker=new a.default(this._onMove,this._onColumnResizeEnd,document.body,this.props.touchEnabled)}},{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={width:this.state.width,height:this.props.height};return this.props.isRTL?M.right=this.props.leftOffset:M.left=this.props.leftOffset,r.default.createElement("div",{className:(0,i.default)({"fixedDataTableColumnResizerLineLayout/main":!0,"fixedDataTableColumnResizerLineLayout/hiddenElem":!this.props.visible,"public/fixedDataTableColumnResizerLine/main":!0}),style:M},r.default.createElement("div",{className:(0,i.default)("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}}))}}]),S}(r.default.PureComponent);E(_,"propTypes",{visible:n.default.bool.isRequired,height:n.default.number.isRequired,leftOffset:n.default.number.isRequired,knobHeight:n.default.number.isRequired,initialWidth:n.default.number,minWidth:n.default.number,maxWidth:n.default.number,initialEvent:n.default.object,onColumnResizeEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(Vp);var Gp={};function wP(e,t){return e==null||e!==e?t:e}var CP=wP,TP=Math.max,EP=Math.min;function SP(e,t,r){return e>=EP(t,r)&&e<TP(t,r)}var RP=SP,OP=/\s/;function MP(e){for(var t=e.length;t--&&OP.test(e.charAt(t)););return t}var PP=MP,DP=PP,kP=/^\s+/;function AP(e){return e&&e.slice(0,DP(e)+1).replace(kP,"")}var IP=AP,NP=IP,Pc=no,$P=Si,Dc=NaN,LP=/^[-+]0x[0-9a-f]+$/i,FP=/^0b[01]+$/i,HP=/^0o[0-7]+$/i,BP=parseInt;function jP(e){if(typeof e=="number")return e;if($P(e))return Dc;if(Pc(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Pc(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=NP(e);var r=FP.test(e);return r||HP.test(e)?BP(e.slice(2),r?2:8):LP.test(e)?Dc:+e}var sl=jP,zP=sl,kc=1/0,WP=17976931348623157e292;function VP(e){if(!e)return e===0?e:0;if(e=zP(e),e===kc||e===-kc){var t=e<0?-1:1;return t*WP}return e===e?e:0}var UP=VP,qP=RP,Ac=UP,GP=sl;function YP(e,t,r){return t=Ac(t),r===void 0?(r=t,t=0):r=Ac(r),e=GP(e),qP(e,t,r)}var XP=YP;function KP(e){return e==null}var Yp=KP,ll={},Xp={},Kp={},ul={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(qt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(M[T]=R[T])}return M},s.apply(this,arguments)}function l(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(M);D&&(T=T.filter(function(A){return Object.getOwnPropertyDescriptor(M,A).enumerable})),R.push.apply(R,T)}return R}function c(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?l(Object(R),!0).forEach(function(T){C(M,T,R[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):l(Object(R)).forEach(function(T){Object.defineProperty(M,T,Object.getOwnPropertyDescriptor(R,T))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),T,A;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(M);for(A=0;A<I.length;A++)T=I[A],!(D.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(M,T)&&(R[T]=M[T])}return R}function h(M,D){if(M==null)return{};var R={},T=Object.keys(M),A,I;for(I=0;I<T.length;I++)A=T[I],!(D.indexOf(A)>=0)&&(R[A]=M[A]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var T=D[R];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(M,T.key,T)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(T,A){return T.__proto__=A,T},y(M,D)}function w(M){var D=x();return function(){var T=b(M),A;if(D){var I=b(this).constructor;A=Reflect.construct(T,arguments,I)}else A=T.apply(this,arguments);return E(this,A)}}function E(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var A=this.props,I=A.height,P=A.width,N=A.style,H=A.className,B=A.children,L=p(A,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=c({height:I,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap1"),(0,o.default)("public/fixedDataTableCell/wrap1"),H),style:k}),r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap2"),(0,o.default)("public/fixedDataTableCell/wrap2"))},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap3"),(0,o.default)("public/fixedDataTableCell/wrap3"))},r.default.createElement("div",{className:(0,o.default)("public/fixedDataTableCell/cellContent")},B))))}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(ul);var Qp={};(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(mt),i=s(Hi),a=s(Bi);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function c(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&c(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function E(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;l(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),E(v(O),"state",{dragDistance:0}),E(v(O),"onMouseDown",function(T){var A=T.target.getBoundingClientRect(),I=a.default.getCoordinatesFromEvent(T),P=I.x-A.left,N=P+T.target.parentElement.offsetLeft;O._mouseMoveTracker=new i.default(O._onMove,O._onColumnReorderEnd,document.body,O.props.touchEnabled),O._mouseMoveTracker.captureMouseMoves(T),O.setState({dragDistance:0}),O.props.onMouseDown({columnKey:O.props.columnKey,mouseLocation:{dragDistance:0,inElement:P,inColumnGroup:N}}),O._distance=0,O._animating=!0,O.frameId=requestAnimationFrame(O._updateState),O.props.touchEnabled&&T.stopPropagation()}),E(v(O),"_onMove",function(T){O._distance=O.state.dragDistance+T*(O.props.isRTL?-1:1)}),E(v(O),"_onColumnReorderEnd",function(T){O._animating=!1,cancelAnimationFrame(O.frameId),O.frameId=null,O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.columnReorderingData.cancelReorder=T,O.props.onColumnReorderEnd()}),E(v(O),"_updateState",function(){O._animating&&(O.frameId=requestAnimationFrame(O._updateState)),O.setState({dragDistance:O._distance}),O.props.onColumnReorderMove(O._distance)}),O}return p(S,[{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(cancelAnimationFrame(this.frameId),this.frameId=null,this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={height:this.props.height};return r.default.createElement("div",{className:(0,o.default)({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),onMouseDown:this.onMouseDown,onTouchStart:this.props.touchEnabled?this.onMouseDown:null,onTouchEnd:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,onTouchMove:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,style:M})}}]),S}(r.default.PureComponent);E(_,"propTypes",{onColumnReorderEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(Qp);function Zp(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Jp(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function e0(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}Zp.__suppressDeprecationWarning=!0;Jp.__suppressDeprecationWarning=!0;e0.__suppressDeprecationWarning=!0;function QP(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
235
+
236
+ `+i+" uses "+a+" but also contains the following legacy lifecycles:"+(r!==null?`
237
+ `+r:"")+(n!==null?`
238
+ `+n:"")+(o!==null?`
239
+ `+o:"")+`
240
+
241
+ The above lifecycles should be removed. Learn more about this warning here:
242
+ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Zp,t.componentWillReceiveProps=Jp),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=e0;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,p,h){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:h;s.call(this,c,p,d)}}return e}const ZP=Object.freeze(Object.defineProperty({__proto__:null,polyfill:QP},Symbol.toStringTag,{value:"Module"})),t0=u.getAugmentedNamespace(ZP);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=p(F),n=p(Ye),o=p(mt),i=p(qt),a=p(io),s=p(ul),l=p(Qp),c=t0;function p(R){return R&&R.__esModule?R:{default:R}}function h(){return h=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var A=arguments[T];for(var I in A)Object.prototype.hasOwnProperty.call(A,I)&&(R[I]=A[I])}return R},h.apply(this,arguments)}function d(R,T){if(R==null)return{};var A=m(R,T),I,P;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(R);for(P=0;P<N.length;P++)I=N[P],!(T.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(R,I)&&(A[I]=R[I])}return A}function m(R,T){if(R==null)return{};var A={},I=Object.keys(R),P,N;for(N=0;N<I.length;N++)P=I[N],!(T.indexOf(P)>=0)&&(A[P]=R[P]);return A}function g(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function v(R,T){for(var A=0;A<T.length;A++){var I=T[A];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(R,I.key,I)}}function y(R,T,A){return T&&v(R.prototype,T),A&&v(R,A),R}function w(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&E(R,T)}function E(R,T){return E=Object.setPrototypeOf||function(I,P){return I.__proto__=P,I},E(R,T)}function _(R){var T=C();return function(){var I=S(R),P;if(T){var N=S(this).constructor;P=Reflect.construct(I,arguments,N)}else P=I.apply(this,arguments);return x(this,P)}}function x(R,T){return T&&(t(T)==="object"||typeof T=="function")?T:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},S(R)}function O(R,T,A){return T in R?Object.defineProperty(R,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):R[T]=A,R}var M=function(R){w(A,R);var T=_(A);function A(){var I;g(this,A);for(var P=arguments.length,N=new Array(P),H=0;H<P;H++)N[H]=arguments[H];return I=T.call.apply(T,[this].concat(N)),O(b(I),"state",{isReorderingThisColumn:!1,displacement:0,reorderingDisplacement:0}),O(b(I),"_onColumnResizerMouseDown",function(B){I.props.onColumnResize(I.props.left,I.props.width,I.props.minWidth,I.props.maxWidth,I.props.columnKey,B),I.props.touchEnabled&&(B.preventDefault(),B.stopPropagation())}),O(b(I),"_onColumnReorderMouseDown",function(B){I.props.onColumnReorder(I.props.columnKey,I.props.width,I.props.left,B)}),O(b(I),"_suppressEvent",function(B){B.preventDefault(),B.stopPropagation()}),I}return y(A,[{key:"shouldComponentUpdate",value:function(P){if(P.isScrolling&&this.props.rowIndex===P.rowIndex&&this.props.isVisible===P.isVisible)return!1;if(!P.pureRendering)return!0;var N=this.props,H=N.cell,B=d(N,["cell"]),L=P.cell,k=d(P,["cell"]);return!(0,a.default)(B,k)||!H||!L||H.type!==L.type||!(0,a.default)(H.props,L.props)}},{key:"render",value:function(){var P=this.props,N=P.height,H=P.width,B=P.isVisible,L=P.columnKey,k=P.isHeaderOrFooter,$=d(P,["height","width","isVisible","columnKey","isHeaderOrFooter"]),V={height:N,width:H};if(this.props.isRTL?V.right=$.left:V.left=$.left,this.state.isReorderingThisColumn){var j=this.props.isRTL?-1:1;V.transform="translateX(".concat(this.state.displacement*j,"px) translateZ(0)"),V.zIndex=1}var W=(0,i.default)((0,o.default)({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":$.lastChild,"fixedDataTableCellLayout/alignRight":$.align==="right","fixedDataTableCellLayout/alignCenter":$.align==="center","public/fixedDataTableCell/alignRight":$.align==="right","public/fixedDataTableCell/highlighted":$.highlighted,"public/fixedDataTableCell/main":!0,"public/fixedDataTableCell/hasReorderHandle":!!$.onColumnReorder,"public/fixedDataTableCell/reordering":this.state.isReorderingThisColumn}),$.className),U;if($.onColumnResize){var Y={height:N};U=r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellLayout/columnResizerContainer"),style:Y,onMouseDown:this._onColumnResizerMouseDown,onTouchStart:this.props.touchEnabled?this._onColumnResizerMouseDown:null,onTouchEnd:this.props.touchEnabled?this._suppressEvent:null,onTouchMove:this.props.touchEnabled?this._suppressEvent:null},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/columnResizerKnob"),(0,o.default)("public/fixedDataTableCell/columnResizerKnob")),style:Y}))}var K;$.onColumnReorder&&(K=r.default.createElement(l.default,h({columnKey:this.columnKey,touchEnabled:this.props.touchEnabled,onMouseDown:this._onColumnReorderMouseDown,onTouchStart:this._onColumnReorderMouseDown,height:N},this.props)));var X={columnKey:L,height:N,width:H,isVisible:B};$.rowIndex>=0&&(X.rowIndex=$.rowIndex);var Q;r.default.isValidElement($.cell)?Q=r.default.cloneElement($.cell,X):typeof $.cell=="function"?Q=$.cell(X):Q=r.default.createElement(s.default,X,$.cell);var ee=k?"columnheader":"gridcell";return r.default.createElement("div",{className:W,style:V,role:ee},U,K,Q)}}],[{key:"getDerivedStateFromProps",value:function(P,N){var H=P.left+N.displacement,B={isReorderingThisColumn:!1};if(!P.isColumnReordering)return B.displacement=0,B;var L=P.columnReorderingData.originalLeft,k=L+P.columnReorderingData.dragDistance,$=P.columnGroupWidth-P.columnReorderingData.columnWidth;if(k=Math.max(k,0),k=Math.min(k,$),P.columnKey===P.columnReorderingData.columnKey)return B.displacement=k-P.left,B.isReorderingThisColumn=!0,B;var V=k+P.columnReorderingData.columnWidth,j=k+P.columnReorderingData.columnWidth/2,W=H+P.width/2,U=j>W,Y=L>P.left,K=!1;return U?k<W&&(K=!0,Y?B.displacement=P.columnReorderingData.columnWidth:B.displacement=0):V>W&&(K=!0,Y?B.displacement=0:B.displacement=P.columnReorderingData.columnWidth*-1),K?U?P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey):P.columnReorderingData.columnBefore=P.columnKey:U?P.columnReorderingData.columnBefore=P.columnKey:P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey),B}}]),A}(r.default.Component);O(M,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,align:n.default.oneOf(["left","center","right"]),className:n.default.string,highlighted:n.default.bool,width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,height:n.default.number.isRequired,cell:n.default.oneOfType([n.default.string,n.default.element,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number.isRequired,onColumnResize:n.default.func,onColumnReorder:n.default.func,left:n.default.number,pureRendering:n.default.bool,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired}),O(M,"defaultProps",{align:"left",highlighted:!1});var D=(0,c.polyfill)(M);e.default=D})(Kp);var ao={},cl={},dl={},r0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=/-(.)/g;function r(o){return o.replace(t,function(i,a){return a.toUpperCase()})}var n=r;e.default=n})(r0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Ur),r=o(Zs),n=o(r0);function o(d){return d&&d.__esModule?d:{default:d}}var i={},a=["Webkit","ms","Moz","O"],s=new RegExp("^("+a.join("|")+")"),l=r.default.canUseDOM?document.createElement("div").style:{};function c(d){for(var m=0;m<a.length;m++){var g=a[m]+d;if(g in l)return g}return null}function p(d){var m=(0,n.default)(d);if(i[m]===void 0){var g=m.charAt(0).toUpperCase()+m.slice(1);s.test(g)&&(0,t.default)(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",d),i[m]=m in l?m:c(g)}return i[m]}var h=p;e.default=h})(dl);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(dl);function r(i){return i&&i.__esModule?i:{default:i}}var n={hasCSSAnimations:function(){return!!(0,t.default)("animationName")},hasCSSTransforms:function(){return!!(0,t.default)("transform")},hasCSS3DTransforms:function(){return!!(0,t.default)("perspective")},hasCSSTransitions:function(){return!!(0,t.default)("transition")}},o=n;e.default=o})(cl);var n0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(cl),r=o(dl),n=o(Qr);function o(l){return l&&l.__esModule?l:{default:l}}var i=(0,r.default)("transform");(0,r.default)("backfaceVisibility");var a=function(){if(t.default.hasCSSTransforms()){var l=n.default.window?n.default.window.navigator.userAgent:"UNKNOWN",c=/Safari\//.test(l)&&!/Chrome\//.test(l);return!c&&t.default.hasCSS3DTransforms()?function(p,h,d){p[i]="translate3d("+h+"px,"+d+"px,0)"}:function(p,h,d){p[i]="translate("+h+"px,"+d+"px)"}}else return function(p,h,d){p.left=h+"px",p.top=d+"px"}}(),s=a;e.default=s})(n0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(cl),r=n(n0);function n(a){return a&&a.__esModule?a:{default:a}}function o(a,s,l){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;a.display!=="none"&&(c?(a.left=s+"px",a.top=l+"px"):(t.default.hasCSSTransforms()&&(s*=p?-1:1),(0,r.default)(a,s,l)),p&&(a.right=a.left,a.left="auto"))}var i=o;e.default=i})(ao);(function(e){function t(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(T){return typeof T}:t=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},t(D)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(F),n=l(Ye),o=l(mt),i=Yt,a=l(Kp),s=l(ao);function l(D){return D&&D.__esModule?D:{default:D}}function c(){return c=Object.assign||function(D){for(var R=1;R<arguments.length;R++){var T=arguments[R];for(var A in T)Object.prototype.hasOwnProperty.call(T,A)&&(D[A]=T[A])}return D},c.apply(this,arguments)}function p(D,R){if(D==null)return{};var T=h(D,R),A,I;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(D);for(I=0;I<P.length;I++)A=P[I],!(R.indexOf(A)>=0)&&Object.prototype.propertyIsEnumerable.call(D,A)&&(T[A]=D[A])}return T}function h(D,R){if(D==null)return{};var T={},A=Object.keys(D),I,P;for(P=0;P<A.length;P++)I=A[P],!(R.indexOf(I)>=0)&&(T[I]=D[I]);return T}function d(D,R){if(!(D instanceof R))throw new TypeError("Cannot call a class as a function")}function m(D,R){for(var T=0;T<R.length;T++){var A=R[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(D,A.key,A)}}function g(D,R,T){return R&&m(D.prototype,R),D}function v(D,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(R&&R.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),R&&y(D,R)}function y(D,R){return y=Object.setPrototypeOf||function(A,I){return A.__proto__=I,A},y(D,R)}function w(D){var R=x();return function(){var A=b(D),I;if(R){var P=b(this).constructor;I=Reflect.construct(A,arguments,P)}else I=A.apply(this,arguments);return E(this,I)}}function E(D,R){return R&&(t(R)==="object"||typeof R=="function")?R:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(D){return!1}}function b(D){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},b(D)}function C(D,R,T){return R in D?Object.defineProperty(D,R,{value:T,enumerable:!0,configurable:!0,writable:!0}):D[R]=T,D}var S=function(D){v(T,D);var R=w(T);function T(A){var I;return d(this,T),I=R.call(this,A),C(_(I),"_renderCell",function(P,N,H,B,L,k,$,V,j){var W=H.isResizable&&I.props.onColumnResize,U=W?I.props.onColumnResize:null,Y=H.isReorderable&&I.props.onColumnReorder&&P===-1&&$!==H.width,K=Y?I.props.onColumnReorder:null,X=H.cellClassName,Q=H.pureRendering||!1;return r.default.createElement(a.default,{isScrolling:I.props.isScrolling,isHeaderOrFooter:I.props.isHeaderOrFooter,align:H.align,className:X,height:N,key:k,maxWidth:H.maxWidth,minWidth:H.minWidth,touchEnabled:I.props.touchEnabled,onColumnResize:U,onColumnReorder:K,onColumnReorderMove:I.props.onColumnReorderMove,onColumnReorderEnd:I.props.onColumnReorderEnd,isColumnReordering:V,columnReorderingData:I.props.columnReorderingData,rowIndex:P,columnKey:H.columnKey,width:H.width,left:L,cell:B,columnGroupWidth:$,pureRendering:Q,isRTL:I.props.isRTL,isVisible:I.props.isVisible&&j})}),I._initialRender=!0,I}return g(T,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var I=this.props,P=I.columns,N=new Array(P.length),H=(0,i.sumPropWidths)(P),B=I.isColumnReordering&&P.reduce(function(X,Q){return X||I.columnReorderingData.columnKey===Q.props.columnKey},!1),L=0,k=0,$=P.length;k<$;k++){var V=P[k].props,j=P[k].template,W=V.allowCellsRecycling&&!B,U=L-I.left<=I.width&&L-I.left+V.width>=0;if(!W||U){var Y=V.columnKey||"cell_"+k;N[k]=this._renderCell(I.rowIndex,I.rowHeight,V,j,L,Y,H,B,U)}L+=V.width}var K={height:I.height,position:"absolute",width:H,zIndex:I.zIndex};return(0,s.default)(K,-1*I.left,0,this._initialRender,this.props.isRTL),r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroup"),style:K},N)}}]),T}(r.default.Component);C(S,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:n.default.array.isRequired,isScrolling:n.default.bool,left:n.default.number,onColumnResize:n.default.func,onColumnReorder:n.default.func,onColumnReorderMove:n.default.func,onColumnReorderEnd:n.default.func,height:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,rowHeight:n.default.number.isRequired,rowIndex:n.default.number.isRequired,width:n.default.number.isRequired,zIndex:n.default.number.isRequired,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired});var O=function(D){v(T,D);var R=w(T);function T(){var A;d(this,T);for(var I=arguments.length,P=new Array(I),N=0;N<I;N++)P[N]=arguments[N];return A=R.call.apply(R,[this].concat(P)),C(_(A),"_onColumnResize",function(H,B,L,k,$,V){A.props.onColumnResize&&A.props.onColumnResize(A.props.offsetLeft,H-A.props.left+B,B,L,k,$,V)}),A}return g(T,[{key:"shouldComponentUpdate",value:function(I){return!(I.isScrolling&&this.props.rowIndex===I.rowIndex&&this.props.left===I.left&&this.props.offsetLeft===I.offsetLeft&&this.props.isVisible===I.isVisible)}},{key:"render",value:function(){var I=this.props,P=I.offsetLeft,N=p(I,["offsetLeft"]),H={height:N.cellGroupWrapperHeight||N.height,width:N.width};this.props.isRTL?H.right=P:H.left=P;var B=N.onColumnResize?this._onColumnResize:null;return r.default.createElement("div",{style:H,className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroupWrapper")},r.default.createElement(S,c({},N,{onColumnResize:B})))}}]),T}(r.default.Component);C(O,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,height:n.default.number.isRequired,offsetLeft:n.default.number,left:n.default.number,zIndex:n.default.number.isRequired}),C(O,"defaultProps",{left:0,offsetLeft:0});var M=O;e.default=M})(Xp);(function(e){function t(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(Ye),n=c(F),o=c(mt),i=c(qt),a=Yt,s=c(Xp),l=c(ao);function c(T){return T&&T.__esModule?T:{default:T}}function p(T,A){if(T==null)return{};var I=h(T,A),P,N;if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(T);for(N=0;N<H.length;N++)P=H[N],!(A.indexOf(P)>=0)&&Object.prototype.propertyIsEnumerable.call(T,P)&&(I[P]=T[P])}return I}function h(T,A){if(T==null)return{};var I={},P=Object.keys(T),N,H;for(H=0;H<P.length;H++)N=P[H],!(A.indexOf(N)>=0)&&(I[N]=T[N]);return I}function d(){return d=Object.assign||function(T){for(var A=1;A<arguments.length;A++){var I=arguments[A];for(var P in I)Object.prototype.hasOwnProperty.call(I,P)&&(T[P]=I[P])}return T},d.apply(this,arguments)}function m(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}function g(T,A){for(var I=0;I<A.length;I++){var P=A[I];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(T,P.key,P)}}function v(T,A,I){return A&&g(T.prototype,A),T}function y(T,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(A&&A.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),A&&w(T,A)}function w(T,A){return w=Object.setPrototypeOf||function(P,N){return P.__proto__=N,P},w(T,A)}function E(T){var A=b();return function(){var P=C(T),N;if(A){var H=C(this).constructor;N=Reflect.construct(P,arguments,H)}else N=P.apply(this,arguments);return _(this,N)}}function _(T,A){return A&&(t(A)==="object"||typeof A=="function")?A:x(T)}function x(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(T){return!1}}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},C(T)}function S(T,A,I){return A in T?Object.defineProperty(T,A,{value:I,enumerable:!0,configurable:!0,writable:!0}):T[A]=I,T}var O=1,M=function(T){y(I,T);var A=E(I);function I(){var P;m(this,I);for(var N=arguments.length,H=new Array(N),B=0;B<N;B++)H[B]=arguments[B];return P=A.call.apply(A,[this].concat(H)),S(x(P),"mouseLeaveIndex",null),S(x(P),"_getRowExpanded",function(L){if(P.props.rowExpanded){var k={rowIndex:P.props.index,height:L,width:P.props.width},$;return n.default.isValidElement(P.props.rowExpanded)?$=n.default.cloneElement(P.props.rowExpanded,k):typeof P.props.rowExpanded=="function"&&($=P.props.rowExpanded(k)),$}}),S(x(P),"_renderColumnsLeftShadow",function(L){var k=(0,o.default)({"fixedDataTableRowLayout/fixedColumnsDivider":L>0,"fixedDataTableRowLayout/columnsShadow":P.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":L>0,"public/fixedDataTableRow/columnsShadow":P.props.scrollLeft>0}),$=P.props.cellGroupWrapperHeight?P.props.cellGroupWrapperHeight-O:P.props.height,V={left:L,height:$};return P.props.isRTL&&(V.right=L,V.left="auto"),n.default.createElement("div",{className:k,style:V})}),S(x(P),"_renderFixedRightColumnsShadow",function(L){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),$={height:P.props.height,left:L};return P.props.isRTL&&($.right=L,$.left="auto"),n.default.createElement("div",{className:k,style:$})}),S(x(P),"_renderColumnsRightShadow",function(L){if(Math.ceil(P.props.scrollLeft+P.props.width)<Math.floor(L)){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),$={height:P.props.height};return n.default.createElement("div",{className:k,style:$})}}),S(x(P),"_onClick",function(L){P.props.onClick(L,P.props.index)}),S(x(P),"_onContextMenu",function(L){P.props.onContextMenu(L,P.props.index)}),S(x(P),"_onDoubleClick",function(L){P.props.onDoubleClick(L,P.props.index)}),S(x(P),"_onMouseUp",function(L){P.props.onMouseUp(L,P.props.index)}),S(x(P),"_onMouseDown",function(L){P.props.onMouseDown(L,P.props.index)}),S(x(P),"_onMouseEnter",function(L){P.mouseLeaveIndex=P.props.index,P.props.onMouseEnter&&P.props.onMouseEnter(L,P.props.index)}),S(x(P),"_onMouseLeave",function(L){P.mouseLeaveIndex===null&&(P.mouseLeaveIndex=P.props.index),P.props.onMouseLeave(L,P.mouseLeaveIndex),P.mouseLeaveIndex=null}),S(x(P),"_onTouchStart",function(L){P.props.onTouchStart(L,P.props.index)}),S(x(P),"_onTouchEnd",function(L){P.props.onTouchEnd(L,P.props.index)}),S(x(P),"_onTouchMove",function(L){P.props.onTouchMove(L,P.props.index)}),P}return v(I,[{key:"shouldComponentUpdate",value:function(N){return N.isScrolling?N.visible?this.props.visible!==N.visible?!0:!(this.props.index===N.index&&this.props.scrollLeft===N.scrollLeft):!1:!0}},{key:"render",value:function(){var N=this.props.subRowHeight||0,H={width:this.props.width,height:this.props.height+N},B=(0,o.default)({"fixedDataTableRowLayout/main":!0,"public/fixedDataTableRow/main":!0,"public/fixedDataTableRow/highlighted":this.props.index%2===1,"public/fixedDataTableRow/odd":this.props.index%2===1,"public/fixedDataTableRow/even":this.props.index%2===0}),L=(0,a.sumPropWidths)(this.props.fixedColumns),k=n.default.createElement(s.default,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:L,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),$=this._renderColumnsLeftShadow(L),V=(0,a.sumPropWidths)(this.props.fixedRightColumns),j=this.props.showScrollbarY?this.props.scrollbarYWidth:0,W=n.default.createElement(s.default,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-V-j,width:V,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),U=V?this._renderFixedRightColumnsShadow(this.props.width-V-j-5):null,Y=n.default.createElement(s.default,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:L,width:this.props.width-L-V-j,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),K=(0,a.sumPropWidths)(this.props.scrollableColumns),X=this._renderColumnsRightShadow(L+K),Q=this._getRowExpanded(N),ee={height:N,top:this.props.height,width:this.props.width},re=null;if(this.props.showScrollbarY){var G={width:j,height:this.props.height,left:this.props.isRTL?2:this.props.width-j-2};re=n.default.createElement("div",{style:G,className:(0,o.default)("public/fixedDataTable/scrollbarSpacer")})}return n.default.createElement("div",d({className:(0,i.default)(B,this.props.className),role:"row","aria-rowindex":this.props.ariaRowIndex},this.props.attributes,{onClick:this.props.onClick?this._onClick:null,onContextMenu:this.props.onContextMenu?this._onContextMenu:null,onDoubleClick:this.props.onDoubleClick?this._onDoubleClick:null,onMouseDown:this.props.onMouseDown?this._onMouseDown:null,onMouseUp:this.props.onMouseUp?this._onMouseUp:null,onMouseEnter:this.props.onMouseEnter||this.props.onMouseLeave?this._onMouseEnter:null,onMouseLeave:this.props.onMouseLeave?this._onMouseLeave:null,onTouchStart:this.props.onTouchStart?this._onTouchStart:null,onTouchEnd:this.props.onTouchEnd?this._onTouchEnd:null,onTouchMove:this.props.onTouchMove?this._onTouchMove:null,style:H}),n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/body")},k,Y,$,W,U,re),Q&&n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/rowExpanded"),style:ee},Q),X)}}]),I}(n.default.Component);S(M,"propTypes",{isScrolling:r.default.bool,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,cellGroupWrapperHeight:r.default.number,subRowHeight:r.default.number,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),index:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,width:r.default.number.isRequired,onClick:r.default.func,onContextMenu:r.default.func,onDoubleClick:r.default.func,onColumnResize:r.default.func,isColumnReordering:r.default.bool,onColumnReorder:r.default.func,onColumnReorderMove:r.default.func,onColumnReorderEnd:r.default.func,touchEnabled:r.default.bool,isHeaderOrFooter:r.default.bool,ariaRowIndex:r.default.number,isRTL:r.default.bool,attributes:r.default.object});var D=function(T){y(I,T);var A=E(I);function I(P){var N;return m(this,I),N=A.call(this,P),N._initialRender=!0,N}return v(I,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(N){return!N.isScrolling||this.props.visible!==N.visible?!0:N.visible?!(N.isScrolling&&this.props.index===N.index&&this.props.offsetTop===N.offsetTop&&this.props.scrollLeft===N.scrollLeft):!1}},{key:"render",value:function(){var N=this.props,H=N.offsetTop,B=N.zIndex,L=p(N,["offsetTop","zIndex"]),k={width:this.props.width,height:this.props.height,zIndex:B||0,visibility:L.visible?"visible":"hidden"};return(0,l.default)(k,0,H,this._initialRender,this.props.isRTL),n.default.createElement("div",{style:k,className:(0,o.default)("fixedDataTableRowLayout/rowWrapper")},n.default.createElement(M,L))}}]),I}(n.default.Component);S(D,"propTypes",{isScrolling:r.default.bool,height:r.default.number.isRequired,zIndex:r.default.number,offsetTop:r.default.number.isRequired,visible:r.default.bool.isRequired,width:r.default.number.isRequired});var R=D;e.default=R})(ll);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(Ye),n=d(F),o=d(CP),i=d(XP),a=d(Yp),s=d(mt),l=d(Gt),c=d(qt),p=d(ll),h=d(ao);function d(R){return R&&R.__esModule?R:{default:R}}function m(){return m=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var A=arguments[T];for(var I in A)Object.prototype.hasOwnProperty.call(A,I)&&(R[I]=A[I])}return R},m.apply(this,arguments)}function g(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function v(R,T){for(var A=0;A<T.length;A++){var I=T[A];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(R,I.key,I)}}function y(R,T,A){return T&&v(R.prototype,T),R}function w(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&E(R,T)}function E(R,T){return E=Object.setPrototypeOf||function(I,P){return I.__proto__=P,I},E(R,T)}function _(R){var T=C();return function(){var I=S(R),P;if(T){var N=S(this).constructor;P=Reflect.construct(I,arguments,N)}else P=I.apply(this,arguments);return x(this,P)}}function x(R,T){return T&&(t(T)==="object"||typeof T=="function")?T:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},S(R)}function O(R,T,A){return T in R?Object.defineProperty(R,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):R[T]=A,R}var M=function(R){w(A,R);var T=_(A);function A(I){var P;return g(this,A),P=T.call(this,I),P._staticRowArray=[],P._initialRender=!0,P}return y(A,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this._staticRowArray.length=0}},{key:"render",value:function(){var P=this.props,N=P.offsetTop,H=P.rowOffsets,B=P.scrollTop,L=P.isScrolling,k=P.rowsToRender;k=k||[],L?this._staticRowArray.length=Math.max(this._staticRowArray.length,k.length):this._staticRowArray.length=k.length;for(var $=1e6,V=N-B%$,j=0;j<this._staticRowArray.length;j++){var W,U=(0,o.default)(k[j],(W=this._staticRowArray[j])===null||W===void 0?void 0:W.props.index);if((0,a.default)(U)||!(0,i.default)(U,0,this.props.rowSettings.rowsCount)){this._staticRowArray[j]=null;continue}var Y=H[U]-Math.floor(B/$)*$;this._staticRowArray[j]=this.renderRow({rowIndex:U,key:j,rowOffsetTop:Y})}var K={};(0,h.default)(K,0,V,!1);var X=this._staticRowArray.slice().sort(this.rowSortComparator);return n.default.createElement("div",{style:K},X)}},{key:"renderRow",value:function(P){var N=P.rowIndex,H=P.key,B=P.rowOffsetTop,L=this.props,k=L.rowClassNameGetter||l.default,$={};$.height=this.props.rowSettings.rowHeightGetter(N),$.subRowHeight=this.props.rowSettings.subRowHeightGetter(N),$.offsetTop=B,$.key=L.rowKeyGetter?L.rowKeyGetter(N):H,$.attributes=L.rowSettings.rowAttributesGetter&&L.rowSettings.rowAttributesGetter(N);var V=N===L.rowSettings.rowsCount-1&&L.showLastRowBorder;$.className=(0,c.default)(k(N),(0,s.default)("public/fixedDataTable/bodyRow"),(0,s.default)({"fixedDataTableLayout/hasBottomBorder":V,"public/fixedDataTable/hasBottomBorder":V}));var j=(0,i.default)(N,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return n.default.createElement(p.default,m({key:H,index:N,ariaRowIndex:N+L.ariaRowIndexOffset,isScrolling:L.isScrolling,width:L.width,rowExpanded:L.rowExpanded,scrollLeft:Math.round(L.scrollLeft),fixedColumns:L.fixedColumns,fixedRightColumns:L.fixedRightColumns,scrollableColumns:L.scrollableColumns,onClick:L.onRowClick,onContextMenu:L.onRowContextMenu,onDoubleClick:L.onRowDoubleClick,onMouseDown:L.onRowMouseDown,onMouseUp:L.onRowMouseUp,onMouseEnter:L.onRowMouseEnter,onMouseLeave:L.onRowMouseLeave,onTouchStart:L.onRowTouchStart,onTouchEnd:L.onRowTouchEnd,onTouchMove:L.onRowTouchMove,showScrollbarY:L.showScrollbarY,scrollbarYWidth:L.scrollbarYWidth,isRTL:L.isRTL,visible:j},$))}},{key:"rowSortComparator",value:function(P,N){var H,B;return((H=P==null?void 0:P.props.ariaRowIndex)!==null&&H!==void 0?H:-1)-((B=N==null?void 0:N.props.ariaRowIndex)!==null&&B!==void 0?B:-1)}}]),A}(n.default.Component);O(M,"propTypes",{ariaRowIndexOffset:r.default.number,isScrolling:r.default.bool,firstViewportRowIndex:r.default.number.isRequired,endViewportRowIndex:r.default.number.isRequired,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,offsetTop:r.default.number.isRequired,onRowClick:r.default.func,onRowContextMenu:r.default.func,onRowDoubleClick:r.default.func,onRowMouseDown:r.default.func,onRowMouseUp:r.default.func,onRowMouseEnter:r.default.func,onRowMouseLeave:r.default.func,onRowTouchStart:r.default.func,onRowTouchEnd:r.default.func,onRowTouchMove:r.default.func,rowClassNameGetter:r.default.func,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),rowOffsets:r.default.object.isRequired,rowKeyGetter:r.default.func,rowSettings:r.default.shape({rowAttributesGetter:r.default.func,rowHeightGetter:r.default.func,rowsCount:r.default.number.isRequired,subRowHeightGetter:r.default.func}),rowsToRender:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,scrollTop:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,showLastRowBorder:r.default.bool,showScrollbarY:r.default.bool,width:r.default.number.isRequired,isRTL:r.default.bool});var D=M;e.default=D})(Gp);var o0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Gt),r=n(Ni);function n(m){return m&&m.__esModule?m:{default:m}}function o(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function i(m,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,y.key,y)}}function a(m,g,v){return g&&i(m.prototype,g),m}var s=1.6,l=1.6,c=325,p=100,h=function(){function m(g,v,y,w,E){o(this,m),this._dragAnimationId=null,this._trackerId=null,this._deltaX=0,this._deltaY=0,this._lastTouchX=0,this._lastTouchY=0,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),this._autoScrollTimestamp=Date.now(),typeof v!="function"&&(v=v?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof y!="function"&&(y=y?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=v,this._handleScrollY=y,this._preventDefault=w,this._stopPropagation=E,this._onTouchScrollCallback=g,this._didTouchMove=this._didTouchMove.bind(this),this._track=this._track.bind(this),this._autoScroll=this._autoScroll.bind(this),this._startAutoScroll=this._startAutoScroll.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchCancel=this.onTouchCancel.bind(this)}return a(m,[{key:"onTouchStart",value:function(v){this._lastTouchX=v.touches[0].pageX,this._lastTouchY=v.touches[0].pageY,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),clearInterval(this._trackerId),this._trackerId=setInterval(this._track,p),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchEnd",value:function(v){clearInterval(this._trackerId),this._trackerId=null,(0,r.default)(this._startAutoScroll),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchCancel",value:function(v){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&v.stopPropagation()}},{key:"onTouchMove",value:function(v){this._preventDefault&&v.preventDefault();var y=v.touches[0].pageX,w=v.touches[0].pageY;this._deltaX=s*(this._lastTouchX-y),this._deltaY=s*(this._lastTouchY-w);var E=this._handleScrollX(this._deltaX,this._deltaY),_=this._handleScrollY(this._deltaY,this._deltaX);if(!(!E&&!_)){E?this._lastTouchX=y:this._deltaX=0,_?this._lastTouchY=w:this._deltaY=0,v.defaultPrevented||v.preventDefault();var x=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&v.stopPropagation(),x=!0),x===!0&&this._dragAnimationId===null&&(this._dragAnimationId=(0,r.default)(this._didTouchMove))}}},{key:"_didTouchMove",value:function(){this._dragAnimationId=null,this._onTouchScrollCallback(this._deltaX,this._deltaY),this._accumulatedDeltaX+=this._deltaX,this._accumulatedDeltaY+=this._deltaY,this._deltaX=0,this._deltaY=0}},{key:"_track",value:function(){var v=Date.now(),y=v-this._lastFrameTimestamp,w=this._velocityX,E=this._velocityY,_=.8;y<p&&(_*=y/p),w===0&&E===0&&(_=1),this._velocityX=_*(p*this._accumulatedDeltaX/(1+y)),_<1&&(this._velocityX+=(1-_)*w),this._velocityY=_*(p*this._accumulatedDeltaY/(1+y)),_<1&&(this._velocityY+=(1-_)*E),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=v}},{key:"_startAutoScroll",value:function(){this._autoScrollTimestamp=Date.now(),(this._deltaX>0||this.deltaY>0)&&this._didTouchMove(),this._track(),this._autoScroll()}},{key:"_autoScroll",value:function(){var v=Date.now()-this._autoScrollTimestamp,y=l*Math.exp(-v/c),w=y*this._velocityX,E=y*this._velocityY;(Math.abs(w)<=5||!this._handleScrollX(w,E))&&(w=0),(Math.abs(E)<=5||!this._handleScrollY(E,w))&&(E=0),(w!==0||E!==0)&&(this._onTouchScrollCallback(w,E),(0,r.default)(this._autoScroll))}}]),m}(),d=h;e.default=d})(o0);(function(e){function t(L){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function($){return typeof $}:t=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},t(L)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=_(F),n=_(Ye),o=_(QS),i=_(mt),a=_(xp),s=_(qt),l=_(io),c=_(Qs),p=_(Sp),h=_(Dp),d=_(en),m=_(al),g=_(Vp),v=_(Gp),y=_(Bi),w=_(ll),E=_(o0);function _(L){return L&&L.__esModule?L:{default:L}}function x(){return x=Object.assign||function(L){for(var k=1;k<arguments.length;k++){var $=arguments[k];for(var V in $)Object.prototype.hasOwnProperty.call($,V)&&(L[V]=$[V])}return L},x.apply(this,arguments)}function b(L,k){if(!(L instanceof k))throw new TypeError("Cannot call a class as a function")}function C(L,k){for(var $=0;$<k.length;$++){var V=k[$];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(L,V.key,V)}}function S(L,k,$){return k&&C(L.prototype,k),L}function O(L,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(k&&k.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),k&&M(L,k)}function M(L,k){return M=Object.setPrototypeOf||function(V,j){return V.__proto__=j,V},M(L,k)}function D(L){var k=A();return function(){var V=I(L),j;if(k){var W=I(this).constructor;j=Reflect.construct(V,arguments,W)}else j=V.apply(this,arguments);return R(this,j)}}function R(L,k){return k&&(t(k)==="object"||typeof k=="function")?k:T(L)}function T(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function A(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(L){return!1}}function I(L){return I=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},I(L)}function P(L,k,$){return k in L?Object.defineProperty(L,k,{value:$,enumerable:!0,configurable:!0,writable:!0}):L[k]=$,L}var N=25,H=function(L){O($,L);var k=D($);function $(V){var j;return b(this,$),j=k.call(this,V),P(T(j),"_shouldHandleTouchX",function(W){return j.props.touchScrollEnabled&&j._shouldHandleWheelX(W)}),P(T(j),"_shouldHandleTouchY",function(W){return j.props.touchScrollEnabled&&j._shouldHandleWheelY(W)}),P(T(j),"_shouldHandleWheelX",function(W){var U=j.props,Y=U.maxScrollX,K=U.scrollFlags,X=U.scrollX,Q=K.overflowX;return Q==="hidden"||(W=Math.round(W),W===0)?!1:W<0&&X>0||W>=0&&X<Y}),P(T(j),"_shouldHandleWheelY",function(W){var U=j.props,Y=U.maxScrollY,K=U.scrollFlags,X=U.scrollY,Q=K.overflowY;return Q==="hidden"||W===0||(W=Math.round(W),W===0)?!1:W<0&&X>0||W>=0&&X<Y}),P(T(j),"_reportContentHeight",function(){var W=(0,m.default)(j.props),U=W.contentHeight,Y=j.props.onContentHeightChange;U!==j._contentHeight&&Y&&Y(U),j._contentHeight=U}),P(T(j),"_renderRows",function(W,U,Y,K,X,Q){var ee=(0,d.default)(j.props),re=ee.scrollEnabledY,G=j.props;return r.default.createElement(v.default,{ariaRowIndexOffset:Q,isScrolling:G.scrolling,fixedColumns:U,fixedRightColumns:Y,firstViewportRowIndex:G.firstRowIndex,endViewportRowIndex:G.endRowIndex,height:X,offsetTop:W,onRowClick:G.onRowClick,onRowContextMenu:G.onRowContextMenu,onRowDoubleClick:G.onRowDoubleClick,onRowMouseUp:G.onRowMouseUp,onRowMouseDown:G.onRowMouseDown,onRowMouseEnter:G.onRowMouseEnter,onRowMouseLeave:G.onRowMouseLeave,onRowTouchStart:G.touchScrollEnabled?G.onRowTouchStart:null,onRowTouchEnd:G.touchScrollEnabled?G.onRowTouchEnd:null,onRowTouchMove:G.touchScrollEnabled?G.onRowTouchMove:null,rowClassNameGetter:G.rowClassNameGetter,rowExpanded:G.rowExpanded,rowKeyGetter:G.rowKeyGetter,rowSettings:G.rowSettings,scrollLeft:G.scrollX,scrollTop:G.scrollY,scrollableColumns:K,showLastRowBorder:!0,width:G.tableSize.width,rowsToRender:G.rows,rowOffsets:G.rowOffsets,showScrollbarY:re,scrollbarYWidth:G.scrollbarYWidth,isRTL:G.isRTL})}),P(T(j),"_onRef",function(W){j._divRef=W,j._wheelHandler&&(j.props.stopReactWheelPropagation?j._wheelHandler.setRoot(W):j._wheelHandler.setRoot(null))}),P(T(j),"_onColumnResize",function(W,U,Y,K,X,Q,ee){var re=y.default.getCoordinatesFromEvent(ee),G=re.x,ne=re.y;j.props.columnActions.resizeColumn({cellMinWidth:K,cellMaxWidth:X,cellWidth:Y,columnKey:Q,combinedWidth:W,clientX:G,clientY:ne,leftOffset:U})}),P(T(j),"_onColumnReorder",function(W,U,Y,K){j.props.columnActions.startColumnReorder({scrollStart:j.props.scrollX,columnKey:W,width:U,left:Y})}),P(T(j),"_onColumnReorderMove",function(W){j.props.columnActions.moveColumnReorder(W)}),P(T(j),"_onColumnReorderEnd",function(W,U){var Y=j.props,K=Y.columnActions,X=Y.columnReorderingData,Q=X.cancelReorder,ee=X.columnAfter,re=X.columnBefore,G=X.columnKey,ne=X.scrollStart,Z=Y.onColumnReorderEndCallback,oe=Y.onHorizontalScroll,de=Y.scrollX;K.stopColumnReorder(),!Q&&(Z({columnAfter:ee,columnBefore:re,reorderColumn:G}),ne!==de&&oe&&oe(de))}),P(T(j),"_onScroll",function(W,U){var Y=j.props,K=Y.maxScrollX,X=Y.maxScrollY,Q=Y.onHorizontalScroll,ee=Y.onVerticalScroll,re=Y.scrollActions,G=Y.scrollFlags,ne=Y.scrollX,Z=Y.scrollY,oe=G.overflowX,de=G.overflowY,pe=ne,ce=Z;if(Math.abs(U)>Math.abs(W)&&de!=="hidden")ce+=U,ce=ce<0?0:ce,ce=ce>X?X:ce,(!ee||ee(ce))&&re.scrollToY(ce);else if(W&&oe!=="hidden"){pe+=W,pe=pe<0?0:pe,pe=pe>K?K:pe;var Ne=Math.round(pe);(!Q||Q(Ne))&&re.scrollToX(Ne)}}),P(T(j),"_scrollTo",function(W,U){j._scrollToX(W),j._scrollToY(U)}),P(T(j),"_scrollToX",function(W){var U=j.props,Y=U.onHorizontalScroll,K=U.scrollActions,X=U.scrollX;if(W!==X){var Q=Math.round(W);(!Y||Y(Q))&&K.scrollToX(Q)}}),P(T(j),"_scrollToY",function(W){var U=j.props,Y=U.onVerticalScroll,K=U.scrollActions,X=U.scrollY;W!==X&&(!Y||Y(W))&&K.scrollToY(W)}),P(T(j),"_didScroll",function(W){var U=j.props,Y=U.onScrollStart,K=U.scrollX,X=U.scrollY,Q=U.onHorizontalScroll,ee=U.onVerticalScroll,re=U.tableSize.ownerHeight,G=U.scrolling,ne=W.endRowIndex,Z=W.firstRowIndex,oe=W.scrollX,de=W.scrollY,pe=W.tableSize.ownerHeight,ce=W.scrolling,Ne=re!==pe&&!((0,o.default)(re)&&(0,o.default)(pe)),Ce=K!==oe,$e=X!==de;!Ne&&!Ce&&!$e||(!ce&&G&&Y&&Y(oe,de,Z,ne),Ce&&Q&&Q(K),$e&&ee&&ee(X),j._didScrollStop())}),P(T(j),"_didScrollStopSync",function(){var W=j.props,U=W.endRowIndex,Y=W.firstRowIndex,K=W.onScrollEnd,X=W.scrollActions,Q=W.scrollX,ee=W.scrollY,re=W.scrolling;re&&(X.stopScroll(),K&&K(Q,ee,Y,U))}),j._didScrollStop=(0,a.default)(j._didScrollStopSync,200,T(j)),j._onKeyDown=j._onKeyDown.bind(T(j)),j._setupHandlers(),j}return S($,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new c.default(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new E.default(this._onScroll,this._shouldHandleTouchX,this._shouldHandleTouchY,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._divRef&&this._divRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this.props.touchScrollEnabled&&this._divRef&&this._divRef.addEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1})}},{key:"_cleanupHandlers",value:function(){this._wheelHandler&&(this._divRef&&this._divRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._wheelHandler=null),this._touchHandler&&(this._divRef&&this._divRef.removeEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1}),this._touchHandler=null)}},{key:"_onKeyDown",value:function(j){var W=(0,m.default)(this.props),U=W.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(j.key){case"PageDown":this._onScroll(0,U),j.preventDefault();break;case"PageUp":this._onScroll(0,U*-1),j.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(j.key){case"ArrowDown":this._onScroll(0,N),j.preventDefault();break;case"ArrowUp":this._onScroll(0,N*-1),j.preventDefault();break;case"ArrowRight":this._onScroll(N,0),j.preventDefault();break;case"ArrowLeft":this._onScroll(N*-1,0),j.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(j){return!(0,l.default)(this.props,j)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(j){this._didScroll(j),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var j=(0,m.default)(this.props),W=j.bodyOffsetTop,U=j.scrollbarXOffsetTop,Y=j.visibleRowsHeight,K=this.props,X=K.tableSize.width,Q=K.scrollContentHeight,ee=K.scrollY,re=K.scrollX,G={viewportHeight:Y,contentHeight:Q,scrollbarYOffsetTop:W,scrollY:ee,viewportWidth:X,contentWidth:X+this.props.maxScrollX,scrollbarXOffsetTop:U,scrollX:re,scrollTo:this._scrollTo,scrollToX:this._scrollToX,scrollToY:this._scrollToY};(0,l.default)(this.previousScrollState,G)||(this.props.onScrollBarsUpdate(G),this.previousScrollState=G)}},{key:"render",value:function(){var j=(0,p.default)(this.props),W=j.ariaGroupHeaderIndex,U=j.ariaHeaderIndex,Y=j.ariaFooterIndex,K=j.ariaRowCount,X=j.ariaRowIndexOffset,Q=(0,h.default)(this.props),ee=Q.fixedColumnGroups,re=Q.fixedColumns,G=Q.fixedRightColumnGroups,ne=Q.fixedRightColumns,Z=Q.scrollableColumnGroups,oe=Q.scrollableColumns,de=(0,m.default)(this.props),pe=de.bodyHeight,ce=de.bodyOffsetTop,Ne=de.componentHeight,Ce=de.footOffsetTop,$e=de.scrollbarXOffsetTop,Le=de.visibleRowsHeight,ye=this.props,be=ye.className,Ue=ye.columnReorderingData,He=ye.columnResizingData,Xe=ye.elementHeights,Dt=ye.isColumnReordering,ie=ye.isColumnResizing,Be=ye.gridAttributesGetter,Kt=ye.maxScrollY,gt=ye.onColumnReorderEndCallback,Qt=ye.onColumnResizeEndCallback,po=ye.scrollContentHeight,kt=ye.scrollX,Zt=ye.scrollY,Jt=ye.scrolling,nn=ye.tableSize,er=ye.touchScrollEnabled,on=ye.scrollbarYWidth,ho=nn.ownerHeight,At=nn.width,an=Xe.cellGroupWrapperHeight,sn=Xe.footerHeight,gr=Xe.groupHeaderHeight,mo=Xe.headerHeight,go=(0,d.default)(this.props),Xi=go.scrollEnabledX,It=go.scrollEnabledY,vo=gt?this._onColumnReorder:null,tr=Be&&Be(),vr;gr>0&&(vr=r.default.createElement(w.default,{key:"group_header",ariaRowIndex:W,isHeaderOrFooter:!0,isScrolling:Jt,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:At,height:gr,cellGroupWrapperHeight:an,index:0,zIndex:1,offsetTop:0,scrollLeft:kt,fixedColumns:ee,fixedRightColumns:G,scrollableColumns:Z,visible:!0,onColumnResize:this._onColumnResize,onColumnReorder:vo,onColumnReorderMove:this._onColumnReorderMove,showScrollbarY:It,scrollbarYWidth:on,isRTL:this.props.isRTL}));var je;It&&(je=this.props.scrollbarY);var Nt;Xi&&(Nt=this.props.scrollbarX);var Ki=r.default.createElement(g.default,{height:Ne,initialWidth:He.width||0,minWidth:He.minWidth||0,maxWidth:He.maxWidth||Number.MAX_VALUE,visible:!!ie,leftOffset:He.left||0,knobHeight:mo,initialEvent:He.initialEvent,onColumnResizeEnd:Qt,columnKey:He.key,touchEnabled:er,isRTL:this.props.isRTL}),$t=null;sn&&($t=r.default.createElement(w.default,{key:"footer",ariaRowIndex:Y,isHeaderOrFooter:!0,isScrolling:Jt,className:(0,s.default)((0,i.default)("fixedDataTableLayout/footer"),(0,i.default)("public/fixedDataTable/footer")),width:At,height:sn,index:-1,zIndex:1,offsetTop:Ce,visible:!0,fixedColumns:re.footer,fixedRightColumns:ne.footer,scrollableColumns:oe.footer,scrollLeft:kt,showScrollbarY:It,scrollbarYWidth:on,isRTL:this.props.isRTL}));var ln=this._renderRows(ce,re.cell,ne.cell,oe.cell,pe,X),yo=r.default.createElement(w.default,{key:"header",ariaRowIndex:U,isHeaderOrFooter:!0,isScrolling:Jt,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:At,height:mo,cellGroupWrapperHeight:an,index:-1,zIndex:1,offsetTop:gr,scrollLeft:kt,visible:!0,fixedColumns:re.header,fixedRightColumns:ne.header,scrollableColumns:oe.header,touchEnabled:er,onColumnResize:this._onColumnResize,onColumnReorder:vo,onColumnReorderMove:this._onColumnReorderMove,onColumnReorderEnd:this._onColumnReorderEnd,isColumnReordering:!!Dt,columnReorderingData:Ue,showScrollbarY:It,scrollbarYWidth:on,isRTL:this.props.isRTL}),un;Zt&&(un=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/topShadow"),(0,i.default)("public/fixedDataTable/topShadow")),style:{top:ce}}));var bo=ho&&ho<Ne&&po>Le,cn;(bo||Zt<Kt)&&(cn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/bottomShadow"),(0,i.default)("public/fixedDataTable/bottomShadow")),style:{top:Ce}}));var _o=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(_o=0);var dn=be;return this.props.isRTL&&(dn=(0,s.default)(dn,"fixedDataTable_isRTL")),r.default.createElement("div",x({className:(0,s.default)(dn,(0,i.default)("fixedDataTableLayout/main"),(0,i.default)("public/fixedDataTable/main")),role:"grid","aria-rowcount":K},tr,{tabIndex:_o,onKeyDown:this._onKeyDown,onTouchStart:er?this._touchHandler.onTouchStart:null,onTouchEnd:er?this._touchHandler.onTouchEnd:null,onTouchCancel:er?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:Ne,width:At}}),r.default.createElement("div",{className:(0,i.default)("fixedDataTableLayout/rowsContainer"),style:{height:$e,width:At}},Ki,vr,yo,ln,$t,un,cn),je,Nt)}}]),$}(r.default.Component);P(H,"propTypes",{width:n.default.number.isRequired,height:n.default.number,className:n.default.string,maxHeight:n.default.number,ownerHeight:n.default.number,overflowX:n.default.oneOf(["hidden","auto"]),overflowY:n.default.oneOf(["hidden","auto"]),touchScrollEnabled:n.default.bool,keyboardScrollEnabled:n.default.bool,keyboardPageEnabled:n.default.bool,scrollbarX:n.default.node,scrollbarXHeight:n.default.number,scrollbarY:n.default.node,scrollbarYWidth:n.default.number,onScrollBarsUpdate:n.default.func,defaultScrollbars:n.default.bool,showScrollbarX:n.default.bool,showScrollbarY:n.default.bool,onHorizontalScroll:n.default.func,onVerticalScroll:n.default.func,rowsCount:n.default.number.isRequired,rowHeight:n.default.number.isRequired,rowHeightGetter:n.default.func,subRowHeight:n.default.number,subRowHeightGetter:n.default.func,rowExpanded:n.default.oneOfType([n.default.element,n.default.func]),rowClassNameGetter:n.default.func,rowKeyGetter:n.default.func,groupHeaderHeight:n.default.number,headerHeight:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,scrollLeft:n.default.number,scrollToColumn:n.default.number,scrollTop:n.default.number,scrollToRow:n.default.number,onScrollStart:n.default.func,onScrollEnd:n.default.func,stopReactWheelPropagation:n.default.bool,stopScrollDefaultHandling:n.default.bool,stopScrollPropagation:n.default.bool,onContentHeightChange:n.default.func,onRowClick:n.default.func,onRowContextMenu:n.default.func,onRowDoubleClick:n.default.func,onRowMouseDown:n.default.func,onRowMouseUp:n.default.func,onRowMouseEnter:n.default.func,onRowMouseLeave:n.default.func,onRowTouchStart:n.default.func,onRowTouchEnd:n.default.func,onRowTouchMove:n.default.func,onColumnResizeEndCallback:n.default.func,onColumnReorderEndCallback:n.default.func,isColumnResizing:n.default.bool,isColumnReordering:n.default.bool,isRTL:n.default.bool,bufferRowCount:n.default.number,elementHeights:n.default.shape({cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,groupHeaderHeight:n.default.number,headerHeight:n.default.number}),gridAttributesGetter:n.default.func,rowAttributesGetter:n.default.func}),P(H,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var B=H;e.default=B})(_p);var i0={},a0={},s0={},l0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function r(s,l){for(var c=0;c<l.length;c++){var p=l[c];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}}function n(s,l,c){return l&&r(s.prototype,l),s}function o(s,l){return s<l}var i=function(){function s(l,c){t(this,s),this._items=l||[],this._size=this._items.length,this._comparator=c||o,this._heapify()}return n(s,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var c=this._items[0],p=this._items.pop();return this._size--,this._size>0&&(this._items[0]=p,this._sinkDown(0)),c}}},{key:"push",value:function(c){this._items[this._size++]=c,this._bubbleUp(this._size-1)}},{key:"size",value:function(){return this._size}},{key:"peek",value:function(){if(this._size!==0)return this._items[0]}},{key:"_heapify",value:function(){for(var c=Math.floor((this._size+1)/2);c>=0;c--)this._sinkDown(c)}},{key:"_bubbleUp",value:function(c){for(var p=this._items[c];c>0;){var h=Math.floor((c+1)/2)-1,d=this._items[h];if(this._comparator(d,p))return;this._items[h]=p,this._items[c]=d,c=h}}},{key:"_sinkDown",value:function(c){for(var p=this._items[c];;){var h=2*(c+1)-1,d=2*(c+1),m=-1;if(h<this._size){var g=this._items[h];this._comparator(g,p)&&(m=h)}if(d<this._size){var v=this._items[d];this._comparator(v,p)&&(m===-1||this._comparator(v,this._items[m]))&&(m=d)}if(m===-1)return;this._items[c]=this._items[m],this._items[m]=p,c=m}}}]),s}(),a=i;e.default=a})(l0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(l0),r=n(Ur);function n(c){return c&&c.__esModule?c:{default:c}}function o(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function i(c,p){for(var h=0;h<p.length;h++){var d=p[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,p,h){return p&&i(c.prototype,p),c}var s=function(){function c(){o(this,c),this._valueToPositionMap={},this._size=0,this._smallValues=new t.default([],this._smallerComparator),this._largeValues=new t.default([],this._greaterComparator),this.getNewPositionForValue=this.getNewPositionForValue.bind(this),this.getValuePosition=this.getValuePosition.bind(this),this.getSize=this.getSize.bind(this),this.replaceFurthestValuePosition=this.replaceFurthestValuePosition.bind(this)}return a(c,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(h){return this._valueToPositionMap[h]===void 0?null:this._valueToPositionMap[h]}},{key:"getNewPositionForValue",value:function(h){(0,r.default)(this._valueToPositionMap[h]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var d=this._size;return this._size++,this._pushToHeaps(d,h),this._valueToPositionMap[h]=d,d}},{key:"replaceFurthestValuePosition",value:function(h,d,m){if((0,r.default)(this._valueToPositionMap[m]===void 0,"Shouldn't try to replace values with value already stored value in BufferSet"),this._cleanHeaps(),this._smallValues.empty()||this._largeValues.empty())return null;var g=this._smallValues.peek().value,v=this._largeValues.peek().value;if(g>=h&&v<=d)return null;var y;h-g>v-d?(y=g,this._smallValues.pop()):(y=v,this._largeValues.pop());var w=this._valueToPositionMap[y];return delete this._valueToPositionMap[y],this._valueToPositionMap[m]=w,this._pushToHeaps(w,m),w}},{key:"_pushToHeaps",value:function(h,d){var m={position:h,value:d};this._smallValues.push(m),this._largeValues.push(m)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var h=Math.min(this._smallValues.size(),this._largeValues.size()),d=Math.max(this._smallValues.size(),this._largeValues.size());d>10*h&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var h=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,d=new t.default([],this._smallerComparator),m=new t.default([],this._greaterComparator);!h.empty();){var g=h.pop();this._valueToPositionMap[g.value]!==void 0&&(d.push(g),m.push(g))}this._smallValues=d,this._largeValues=m}},{key:"_cleanHeap",value:function(h){for(;!h.empty()&&this._valueToPositionMap[h.peek().value]===void 0;)h.pop()}},{key:"_smallerComparator",value:function(h,d){return h.value<d.value}},{key:"_greaterComparator",value:function(h,d){return h.value>d.value}}]),c}(),l=s;e.default=l})(s0);var u0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ur),r=n(Qr);function n(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function i(d,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function a(d,m,g){return m&&i(d.prototype,m),g&&i(d,g),d}var s=function(m){return Math.floor(m/2)},l=r.default.Int32Array||function(d){for(var m=[],g=d-1;g>=0;--g)m[g]=0;return m};function c(d){for(var m=1;m<d;)m*=2;return m}var p=function(){function d(m){o(this,d),this._size=m.length,this._half=c(this._size),this._heap=new l(2*this._half);var g;for(g=0;g<this._size;++g)this._heap[this._half+g]=m[g];for(g=this._half-1;g>0;--g)this._heap[g]=this._heap[2*g]+this._heap[2*g+1]}return a(d,[{key:"set",value:function(g,v){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var y=this._half+g;for(this._heap[y]=v,y=s(y);y!==0;y=s(y))this._heap[y]=this._heap[2*y]+this._heap[2*y+1]}},{key:"get",value:function(g){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var v=this._half+g;return this._heap[v]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(g){if((0,t.default)(0<=g&&g<this._size+1,"Index out of range %s",g),g===0)return 0;for(var v=this._half+g-1,y=this._heap[v];v!==1;v=s(v))v%2===1&&(y+=this._heap[v-1]);return y}},{key:"sumTo",value:function(g){return(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g),this.sumUntil(g+1)}},{key:"sum",value:function(g,v){return(0,t.default)(g<=v,"Begin must precede end"),this.sumUntil(v)-this.sumUntil(g)}},{key:"greatestLowerBound",value:function(g){if(g<0)return-1;var v=1;if(this._heap[v]<=g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"greatestStrictLowerBound",value:function(g){if(g<=0)return-1;var v=1;if(this._heap[v]<g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<=y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"leastUpperBound",value:function(g){return this.greatestStrictLowerBound(g)+1}},{key:"leastStrictUpperBound",value:function(g){return this.greatestLowerBound(g)+1}}],[{key:"uniform",value:function(g,v){for(var y=[],w=g-1;w>=0;--w)y[w]=v;return new d(y)}},{key:"empty",value:function(g){return d.uniform(g,0)}}]),d}(),h=p;e.default=h})(u0);var c0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(F),r=a(nl),n=a(Ur),o=a(Wp),i=a(Ks);function a(h){return h&&h.__esModule?h:{default:h}}function s(h){return(0,i.default)(h.props,["align","allowCellsRecycling","cellClassName","columnKey","flexGrow","fixed","fixedRight","maxWidth","minWidth","isReorderable","isResizable","pureRendering","width"])}function l(h,d){h.cell.push(d.props.cell),h.footer.push(d.props.footer),h.header.push(d.props.header)}function c(h){var d=[];t.default.Children.forEach(h,function(w,E){w!=null&&((0,n.default)(w.type.__TableColumnGroup__||w.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),d.push(w))});var m={cell:[],footer:[],groupHeader:[],header:[]},g=[],v=d.length&&d[0].type.__TableColumnGroup__;if(v){var y=(0,o.default)(d,s);return(0,r.default)(d,function(w,E){m.groupHeader.push(w.props.header),t.default.Children.forEach(w.props.children,function(_){var x=s(_);x.groupIdx=E,g.push(x),l(m,_)})}),{columnGroupProps:y,columnProps:g,elementTemplates:m,useGroupHeader:!0}}return(0,r.default)(d,function(w){g.push(s(w)),l(m,w)}),{columnGroupProps:[],columnProps:g,elementTemplates:m,useGroupHeader:!1}}var p=c;e.default=p})(c0);var ji={},fl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r,n){var o=r.storedHeights,i=r.rowOffsetIntervalTree,a=r.rowSettings,s=a.rowHeightGetter,l=a.subRowHeightGetter,c=s(n)+l(n),p=o[n];return c!==p&&(i.set(n,c),o[n]=c,r.scrollContentHeight+=c-p),o[n]}})(fl);Object.defineProperty(ji,"__esModule",{value:!0});ji.getScrollAnchor=eD;ji.scrollTo=p0;var d0=pl(Fi),f0=pl(en),JP=pl(fl);function pl(e){return e&&e.__esModule?e:{default:e}}function eD(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?tD(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?p0(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function p0(e,t){var r=(0,f0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.scrollContentHeight,s=i.rowsCount;if(s===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var l=0,c=0,p=void 0;if(!(t<=0))if(t>=a-n)l=void 0,p=s-1;else{var h=o.greatestLowerBound(t);l=(0,d0.default)(h,0,Math.max(s-1,0));var d=o.sumUntil(l);c=d-t}return{firstIndex:l,firstOffset:c,lastIndex:p,changed:!0}}function tD(e,t){var r=(0,f0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.storedHeights,s=e.scrollY,l=i.rowsCount;if(l===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=(0,d0.default)(t,0,Math.max(l-1,0)),(0,JP.default)(e,t);var c=o.sumUntil(t),p=c+a[t],h=t,d=void 0;if(!(c<s))if(s+n<p)h=void 0,d=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:h,firstOffset:0,lastIndex:d,changed:!0}}var h0={};function rD(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var nD=rD,oD=nD,ya=sl;function iD(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=ya(r),r=r===r?r:0),t!==void 0&&(t=ya(t),t=t===t?t:0),oD(ya(e),t,r)}var m0=iD;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Yp),r=i(m0),n=i(Gt),o=i(ol);function i(v){return v&&v.__esModule?v:{default:v}}function a(){return a=Object.assign||function(v){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&(v[E]=w[E])}return v},a.apply(this,arguments)}var s=15,l=100;function c(v,y,w){var E=y.scrollLeft,_=v.columnResizingData,x=v.isColumnResizing,b=v.scrollX;E!==void 0&&(!w||E!==w.scrollLeft)&&(b=E),b=p(v,y,w.scrollToColumn,b);var C=(0,o.default)(v),S=C.maxScrollX;return b=(0,r.default)(b,0,S),x=y.isColumnResizing!==void 0?y.isColumnResizing:x,_=x?_:{},a({},v,{columnResizingData:_,isColumnResizing:x,maxScrollX:S,scrollX:b})}function p(v,y,w,E){var _=y.scrollToColumn;if((0,t.default)(_))return E;var x=(0,o.default)(v),b=x.availableScrollWidth,C=x.fixedColumns,S=x.scrollableColumns,O=C.length,M=S.length,D=M===0,R=_===w,T=_<O,A=_>=O+M;if(R||T||A||D)return E;for(var I=Math.min(_-O,S.length-1),P=0,N=0;N<I;++N)P+=S[N].width;var H=S[I].width,B=P+H-b;return E<B?B:E>P?P:E}function h(v,y){var w=y.cellMinWidth,E=y.cellMaxWidth,_=y.cellWidth,x=y.columnKey,b=y.combinedWidth,C=y.clientX,S=y.clientY,O=y.leftOffset;return a({},v,{isColumnResizing:!0,columnResizingData:{left:O+b-_,width:_,minWidth:w,maxWidth:E,initialEvent:{clientX:C,clientY:S,preventDefault:n.default},key:x}})}function d(v,y){var w=y.columnKey,E=y.left,_=y.scrollStart,x=y.width,b=(0,o.default)(v),C=b.fixedColumns,S=C.some(function(O){return O.columnKey===w});return a({},v,{isColumnReordering:!0,columnReorderingData:{cancelReorder:!1,dragDistance:0,isFixed:S,scrollStart:_,columnKey:w,columnWidth:x,originalLeft:E,columnBefore:void 0,columnAfter:void 0}})}function m(v,y){var w=v.columnReorderingData,E=w.isFixed,_=w.originalLeft,x=w.scrollStart,b=v.maxScrollX,C=v.scrollX;if(!E){var S=_-x+y,O=(0,o.default)(v),M=O.availableScrollWidth;y+=C-x,S>M-l?C=Math.min(C+s,b):S<=l&&(C=Math.max(C-s,0))}var D=a({},v.columnReorderingData,{dragDistance:y,columnBefore:void 0,columnAfter:void 0});return a({},v,{scrollX:C,columnReorderingData:D})}var g={initialize:c,reorderColumn:d,reorderColumnMove:m,resizeColumn:h};e.default=g})(h0);var g0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var t=a(m0),r=a(Li),n=a(en),o=a(al),i=a(fl);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function l(d,m){var g=s({},d),v=c(g,m),y=g.rowSettings,w=g.scrollContentHeight,E=y.rowsCount,_=(0,o.default)(g),x=_.bodyHeight,b=w-x,C;b===0?(v.firstViewportIdx>0&&(v=c(g,{firstOffset:0,lastIndex:E-1})),C=0):C=v.firstOffset;var S=v.firstViewportIdx,O=v.endViewportIdx;p(g,v,d.scrolling);var M=0;return E>0&&(M=g.rowOffsets[v.firstViewportIdx]-C),M=(0,t.default)(M,0,b),s(g,{firstRowIndex:S,firstRowOffset:C,endRowIndex:O,maxScrollY:b,scrollY:M})}function c(d,m){var g=(0,r.default)(d),v=g.bufferRowCount,y=g.maxAvailableHeight,w=d.rowSettings.rowsCount;if(w===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var E=m.firstIndex,_=m.firstOffset,x=m.lastIndex;(E>=w||x>=w)&&(x=w-1);var b=1,C=E,S=_;x!==void 0&&(b=-1,C=x,S=0);for(var O=C,M=O;O<w&&O>=0&&S<y;)S+=(0,i.default)(d,O),M=O,O+=b;var D=!1;if(S<y&&O===w&&x===void 0)for(D=!0,O=E-1;O>=0&&S<y;)S+=(0,i.default)(d,O),C=O,--O;var R=Math.min(C,M),T=Math.max(R-v,0);for(O=T;O<R;O++)(0,i.default)(d,O);var A=Math.max(C,M)+1,I=Math.min(A+v,w);for(O=A;O<I;O++)(0,i.default)(d,O);var P=(0,n.default)(d),N=P.availableHeight;if(x!==void 0||D){_=_+Math.min(N-S,0);var H=d.storedHeights;-1*_>=H[R]&&(R+=1,_+=H[R])}return{endBufferIdx:I,endViewportIdx:A,firstBufferIdx:T,firstOffset:_,firstViewportIdx:R}}function p(d,m,g){var v=d.rowBufferSet,y=d.rowOffsetIntervalTree,w=d.storedHeights,E=m.endBufferIdx,_=m.endViewportIdx,x=m.firstBufferIdx,b=m.firstViewportIdx,C=E-x;if(C===0){d.rowOffsets={},d.rows=[];return}for(var S=g?b:x,O=g?_:E,M=[],D={},R=y.sumUntil(S),T=S;T<O;T++){D[T]=R,R+=w[T];var A=h(T,v,S,O,C);M[A]=T}d.rows=M,d.rowOffsets=D}function h(d,m,g,v,y){var w=m.getValuePosition(d);return w===null&&m.getSize()>=y&&(w=m.replaceFurthestValuePosition(g,v-1,d)),w===null&&(w=m.getNewPositionForValue(d)),w}})(g0);var zi={},v0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105};e.default=t})(v0);var Za={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-size-large":"17px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function y0(e){if(Za.hasOwnProperty(e))return Za[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}y0.CSS_VARS=Za;var aD=y0;(function(e){function t(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(B){return typeof B}:t=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},t(N)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(F),n=d(Pr),o=d(Ye),i=d(mt),a=d(Gt),s=d(v0),l=d(Qs),c=d(Hi),p=d(aD),h=d(ao);function d(N){return N&&N.__esModule?N:{default:N}}function m(N,H){if(!(N instanceof H))throw new TypeError("Cannot call a class as a function")}function g(N,H){for(var B=0;B<H.length;B++){var L=H[B];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(N,L.key,L)}}function v(N,H,B){return H&&g(N.prototype,H),N}function y(N,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(H&&H.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),H&&w(N,H)}function w(N,H){return w=Object.setPrototypeOf||function(L,k){return L.__proto__=k,L},w(N,H)}function E(N){var H=b();return function(){var L=C(N),k;if(H){var $=C(this).constructor;k=Reflect.construct(L,arguments,$)}else k=L.apply(this,arguments);return _(this,k)}}function _(N,H){return H&&(t(H)==="object"||typeof H=="function")?H:x(N)}function x(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(N){return!1}}function C(N){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},C(N)}function S(N,H,B){return H in N?Object.defineProperty(N,H,{value:B,enumerable:!0,configurable:!0,writable:!0}):N[H]=B,N}var O={position:0,scrollable:!1},M=parseInt((0,p.default)("--scrollbar-face-margin"),10),D=M*2,R=30,T=40,A=null,I=function(N){y(B,N);var H=E(B);function B(L){var k;return m(this,B),k=H.call(this,L),S(x(k),"_onRefFace",function($){return k._faceRef=$}),S(x(k),"_onRefRoot",function($){return k._rootRef=$}),S(x(k),"scrollBy",function($){k._onWheel($)}),S(x(k),"_shouldHandleX",function($){return k.props.orientation==="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleY",function($){return k.props.orientation!=="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleChange",function($){var V=k._calculateState(k.state.position+$,k.props.size,k.props.contentSize,k.props.orientation);return V.position!==k.state.position}),S(x(k),"_calculateState",function($,V,j,W){var U=Math.max(1,V);if(j<=U)return O;var Y="".concat($,"_").concat(U,"_").concat(j,"_").concat(W);if(k._stateKey===Y)return k._stateForKey;var K=W==="horizontal",X=U/j,Q=U*X;Q<R&&(X=(U-R)/(j-U),Q=R);var ee=!0,re=j-U;$<0?$=0:$>re&&($=re);var G=k._mouseMoveTracker?k._mouseMoveTracker.isDragging():!1,ne={faceSize:Q,isDragging:G,isHorizontal:K,position:$,scale:X,scrollable:ee};return k._stateKey=Y,k._stateForKey=ne,ne}),S(x(k),"_onWheelY",function($,V){k._onWheel(V)}),S(x(k),"_onWheelX",function($,V){k._onWheel($)}),S(x(k),"_onWheel",function($){var V=k.props;k._setNextState(k._calculateState(k.state.position+$,V.size,V.contentSize,V.orientation))}),S(x(k),"_onMouseDown",function($){var V;if($.target!==k._faceRef){var j=$.nativeEvent,W=k.state.isHorizontal?j.offsetX||j.layerX||k.getTouchX(j):j.offsetY||j.layerY||k.getTouchY(j),U=k.props;W/=k.state.scale,V=k._calculateState(W-k.state.faceSize*.5/k.state.scale,U.size,U.contentSize,U.orientation)}else V={};V.focused=!0,k._setNextState(V),k._mouseMoveTracker.captureMouseMoves($),k._rootRef.focus()}),S(x(k),"_onTouchCancel",function($){$.stopPropagation()}),S(x(k),"_onTouchEnd",function($){$.stopPropagation()}),S(x(k),"_onTouchMove",function($){$.stopPropagation()}),S(x(k),"_onTouchStart",function($){$.stopPropagation(),k._onMouseDown($)}),S(x(k),"_onMouseMove",function($,V){var j=k.props,W=k.state.isHorizontal?$*(k.props.isRTL?-1:1):V;W/=k.state.scale;var U=n.default.flushSync||function(Y){return Y()};U(function(){return k._setNextState(k._calculateState(k.state.position+W,j.size,j.contentSize,j.orientation))})}),S(x(k),"_onMouseMoveEnd",function(){k._nextState=null,k._mouseMoveTracker.releaseMouseMoves(),k.setState({isDragging:!1})}),S(x(k),"_onKeyDown",function($){var V=$.keyCode;if(V!==s.default.TAB){var j=T,W=0;if(k.state.isHorizontal)switch(V){case s.default.HOME:W=-1,j=k.props.contentSize;break;case s.default.LEFT:W=-1;break;case s.default.RIGHT:W=1;break;default:return}if(!k.state.isHorizontal)switch(V){case s.default.SPACE:$.shiftKey?W=-1:W=1;break;case s.default.HOME:W=-1,j=k.props.contentSize;break;case s.default.UP:W=-1;break;case s.default.DOWN:W=1;break;case s.default.PAGE_UP:W=-1,j=k.props.size;break;case s.default.PAGE_DOWN:W=1,j=k.props.size;break;default:return}$.preventDefault();var U=k.props;k._setNextState(k._calculateState(k.state.position+j*W,U.size,U.contentSize,U.orientation))}}),S(x(k),"_onFocus",function(){k.setState({focused:!0})}),S(x(k),"_onBlur",function(){k.setState({focused:!1})}),S(x(k),"_blur",function(){var $=n.default.findDOMNode(x(k));if($)try{k._onBlur(),$.blur()}catch(V){}}),S(x(k),"getTouchX",function($){return Math.round($.targetTouches[0].clientX-$.target.getBoundingClientRect().x)}),S(x(k),"getTouchY",function($){return Math.round($.targetTouches[0].clientY-$.target.getBoundingClientRect().y)}),S(x(k),"_setNextState",function($,V){V=V||k.props;var j=V.position,W=k.state.position!==$.position;if(j===void 0){var U=W?k._didScroll:void 0;k.setState($,U)}else if(j===$.position)k.setState($);else{$.position!==void 0&&$.position!==k.state.position&&k.props.onScroll($.position);return}W&&A!==x(k)&&(A&&A._blur(),A=x(k))}),S(x(k),"_didScroll",function(){k.props.onScroll(k.state.position)}),k.state=k._calculateState(L.position||L.defaultPosition||0,L.size,L.contentSize,L.orientation),k._initialRender=!0,k}return v(B,[{key:"componentDidUpdate",value:function(){var k=this.props.position;k===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(k,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var k=this.props.size,$,V,j=this.state.isHorizontal,W=!j,U=this.state.focused||this.state.isDragging,Y=this.state.faceSize,K=this.props.isOpaque,X=this.props.verticalTop||0,Q=(0,i.default)({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":W,"ScrollbarLayout/mainHorizontal":j,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":K,"public/Scrollbar/mainActive":U}),ee=(0,i.default)({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":j,"ScrollbarLayout/faceVertical":W,"public/Scrollbar/faceActive":U,"public/Scrollbar/face":!0}),re=this.state.position*this.state.scale+M;return j?($={width:k},V={width:Y-D,top:0,bottom:0},(0,h.default)(V,re,0,this._initialRender,this.props.isRTL)):($={top:X,height:k},this.props.isRTL&&($.left=$.right||0,$.right="auto"),V={height:Y-D},(0,h.default)(V,0,re,this._initialRender,this.props.isRTL),V.left=0,V.right=0),$.touchAction="none",$.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&($.backgroundColor=(0,p.default)("--fbui-desktop-background-light")),r.default.createElement("div",{onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:Q,style:$,ref:this._onRefRoot},r.default.createElement("div",{ref:this._onRefFace,className:ee,style:V}))}},{key:"componentDidMount",value:function(){var k=this.props.orientation==="horizontal",$=k?this._onWheelX:this._onWheelY;this._wheelHandler=new l.default($,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new c.default(this._onMouseMove,this._onMouseMoveEnd,document.documentElement,this.props.touchEnabled),this.props.position!==void 0&&this.state.position!==this.props.position&&this._didScroll(),this._initialRender=!1}},{key:"componentWillUnmount",value:function(){this._rootRef&&this._rootRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._nextState=null,this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null),A===this&&(A=null)}}]),B}(r.default.PureComponent);S(I,"propTypes",{contentSize:o.default.number.isRequired,defaultPosition:o.default.number,isOpaque:o.default.bool,orientation:o.default.oneOf(["vertical","horizontal"]),onScroll:o.default.func,position:o.default.number,size:o.default.number.isRequired,trackColor:o.default.oneOf(["gray"]),touchEnabled:o.default.bool,zIndex:o.default.number,verticalTop:o.default.number,isRTL:o.default.bool}),S(I,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:a.default,orientation:"vertical",zIndex:99}),I.KEYBOARD_SCROLL_AMOUNT=T,I.SIZE=parseInt((0,p.default)("--scrollbar-size"),10),I.OFFSET=1;var P=I;e.default=P})(zi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=g(Ks),n=g(s0),o=g(u0),i=g(io),a=g(c0),s=m(xe),l=ji,c=g(h0),p=g(g0),h=g(zi);function d(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,S=new WeakMap;return(d=function(M){return M?S:C})(b)}function m(b,C){if(b&&b.__esModule)return b;if(b===null||t(b)!=="object"&&typeof b!="function")return{default:b};var S=d(C);if(S&&S.has(b))return S.get(b);var O={},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var R=M?Object.getOwnPropertyDescriptor(b,D):null;R&&(R.get||R.set)?Object.defineProperty(O,D,R):O[D]=b[D]}return O.default=b,S&&S.set(b,O),O}function g(b){return b&&b.__esModule?b:{default:b}}function v(){return v=Object.assign||function(b){for(var C=1;C<arguments.length;C++){var S=arguments[C];for(var O in S)Object.prototype.hasOwnProperty.call(S,O)&&(b[O]=S[O])}return b},v.apply(this,arguments)}function y(){return{columnProps:[],columnGroupProps:[],elementTemplates:{cell:[],footer:[],groupHeader:[],header:[]},elementHeights:{footerHeight:0,groupHeaderHeight:0,headerHeight:0},propsRevision:null,rowSettings:{bufferRowCount:void 0,rowAttributesGetter:void 0,rowHeight:0,rowHeightGetter:function(){return 0},rowsCount:0,subRowHeight:0,subRowHeightGetter:function(){return 0}},scrollFlags:{overflowX:"auto",overflowY:"auto",showScrollbarX:!0,showScrollbarY:!0},tableSize:{height:void 0,maxHeight:0,ownerHeight:void 0,useMaxHeight:!1,width:0},columnReorderingData:{},columnResizingData:{},firstRowIndex:0,firstRowOffset:0,isColumnReordering:!1,isColumnResizing:!1,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:h.default.SIZE,scrollY:0,scrollbarYWidth:h.default.SIZE,scrolling:!1,rowBufferSet:new n.default,storedHeights:[],rowOffsetIntervalTree:null}}function w(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),C=arguments.length>1?arguments[1]:void 0;switch(C.type){case s.INITIALIZE:{var S=C.props,O=_(b,S);O=E(O);var M=(0,l.getScrollAnchor)(O,S);return O=(0,p.default)(O,M),c.default.initialize(O,S,{})}case s.PROP_CHANGE:{var D=C.newProps,R=C.oldProps,T=_(b,D);(R.rowsCount!==D.rowsCount||R.rowHeight!==D.rowHeight||R.subRowHeight!==D.subRowHeight)&&(T=E(T)),R.rowsCount!==D.rowsCount&&(T.rowBufferSet=new n.default);var A=(0,l.getScrollAnchor)(T,D,R);return(!(0,i.default)(b,T)||A.changed)&&(T=(0,p.default)(T,A)),T=c.default.initialize(T,D,R),(T.scrollX!==b.scrollX||T.scrollY!==b.scrollY)&&(T.scrolling=T.scrolling||!0),T}case s.SCROLL_END:{var I=v({},b,{scrolling:!1}),P={firstIndex:b.firstRowIndex,firstOffset:b.firstRowOffset,lastIndex:b.lastIndex};return(0,p.default)(I,P)}case s.SCROLL_TO_Y:{var N=C.scrollY,H=v({},b,{scrolling:!0}),B=(0,l.scrollTo)(H,N);return(0,p.default)(H,B)}case s.COLUMN_RESIZE:{var L=C.resizeData;return c.default.resizeColumn(b,L)}case s.COLUMN_REORDER_START:{var k=C.reorderData;return c.default.reorderColumn(b,k)}case s.COLUMN_REORDER_END:return v({},b,{isColumnReordering:!1,columnReorderingData:{}});case s.COLUMN_REORDER_MOVE:{var $=C.deltaX;return c.default.reorderColumnMove(b,$)}case s.SCROLL_TO_X:{var V=C.scrollX;return v({},b,{scrolling:!0,scrollX:V})}default:return b}}function E(b){for(var C=b.rowSettings,S=C.rowHeight,O=C.rowsCount,M=C.subRowHeight,D=S+M,R=o.default.uniform(O,D),T=O*D,A=new Array(O),I=0;I<O;I++)A[I]=D;return v({},b,{rowOffsetIntervalTree:R,scrollContentHeight:T,storedHeights:A})}function _(b,C){var S=(0,a.default)(C.children),O=S.columnGroupProps,M=S.columnProps,D=S.elementTemplates,R=S.useGroupHeader,T=v({},b,{columnGroupProps:O,columnProps:M,elementTemplates:D,propsRevision:b.propsRevision+1});T.elementHeights=v({},T.elementHeights,(0,r.default)(C,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),R||(T.elementHeights.groupHeaderHeight=0),T.rowSettings=v({},T.rowSettings,(0,r.default)(C,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var A=T.rowSettings,I=A.rowHeight,P=A.subRowHeight;return T.rowSettings.rowHeightGetter=C.rowHeightGetter||function(){return I},T.rowSettings.subRowHeightGetter=C.subRowHeightGetter||function(){return P||0},T.rowSettings.rowAttributesGetter=C.rowAttributesGetter,T.scrollFlags=v({},T.scrollFlags,(0,r.default)(C,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),T.tableSize=v({},T.tableSize,(0,r.default)(C,["height","maxHeight","ownerHeight","width"])),T.tableSize.useMaxHeight=T.tableSize.height===void 0,T.scrollbarXHeight=C.scrollbarXHeight,T.scrollbarYWidth=C.scrollbarYWidth,T}var x=w;e.default=x})(a0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=sp,r=n(a0);function n(i){return i&&i.__esModule?i:{default:i}}var o={get:function(){return(0,t.createStore)(r.default)}};e.default=o})(i0);var b0={},sD=Ap,lD=Lp,uD=ki,cD=et,dD=$i,fD=Js,pD=kp,hD=el,mD="[object Map]",gD="[object Set]",vD=Object.prototype,yD=vD.hasOwnProperty;function bD(e){if(e==null)return!0;if(dD(e)&&(cD(e)||typeof e=="string"||typeof e.splice=="function"||fD(e)||hD(e)||uD(e)))return!e.length;var t=lD(e);if(t==mD||t==gD)return!e.size;if(pD(e))return!sD(e).length;for(var r in e)if(yD.call(e,r))return!1;return!0}var _D=bD;(function(e){function t(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(D){return typeof D}:t=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},t(O)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(F),n=l(Ye),o=l(_D),i=l(mt),a=l(qt),s=l(zi);function l(O){return O&&O.__esModule?O:{default:O}}function c(){return c=Object.assign||function(O){for(var M=1;M<arguments.length;M++){var D=arguments[M];for(var R in D)Object.prototype.hasOwnProperty.call(D,R)&&(O[R]=D[R])}return O},c.apply(this,arguments)}function p(O,M){if(!(O instanceof M))throw new TypeError("Cannot call a class as a function")}function h(O,M){for(var D=0;D<M.length;D++){var R=M[D];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}function d(O,M,D){return M&&h(O.prototype,M),O}function m(O,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(M&&M.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),M&&g(O,M)}function g(O,M){return g=Object.setPrototypeOf||function(R,T){return R.__proto__=T,R},g(O,M)}function v(O){var M=E();return function(){var R=_(O),T;if(M){var A=_(this).constructor;T=Reflect.construct(R,arguments,A)}else T=R.apply(this,arguments);return y(this,T)}}function y(O,M){return M&&(t(M)==="object"||typeof M=="function")?M:w(O)}function w(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function E(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(O){return!1}}function _(O){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},_(O)}function x(O,M,D){return M in O?Object.defineProperty(O,M,{value:D,enumerable:!0,configurable:!0,writable:!0}):O[M]=D,O}var b=function(O){m(D,O);var M=v(D);function D(){var R;p(this,D);for(var T=arguments.length,A=new Array(T),I=0;I<T;I++)A[I]=arguments[I];return R=M.call.apply(M,[this].concat(A)),x(w(R),"state",{}),x(w(R),"_onScrollBarsUpdate",function(P){R.setState(P)}),x(w(R),"_onVerticalScroll",function(P){R.state.scrollToY!==void 0&&R.state.scrollToY(P)}),x(w(R),"_onHorizontalScroll",function(P){R.state.scrollToX!==void 0&&R.state.scrollToX(P)}),R}return d(D,[{key:"render",value:function(){var T=!(0,o.default)(this.state)&&r.default.createElement(s.default,{size:this.state.viewportHeight,contentSize:this.state.contentHeight,onScroll:this._onVerticalScroll,verticalTop:this.state.scrollbarYOffsetTop,position:this.state.scrollY,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL}),A=!(0,o.default)(this.state)&&r.default.createElement(C,{contentSize:this.state.contentWidth,offset:this.state.scrollbarXOffsetTop,onScroll:this._onHorizontalScroll,position:this.state.scrollX,size:this.state.viewportWidth,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL});return r.default.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:A,scrollbarY:T})}}]),D}(r.default.Component),C=function(O){m(D,O);var M=v(D);function D(){return p(this,D),M.apply(this,arguments)}return d(D,[{key:"render",value:function(){var T=this.props,A=T.offset,I=T.size,P={height:s.default.SIZE,width:I},N={height:s.default.SIZE,overflow:"hidden",width:I,top:A};return r.default.createElement("div",{className:(0,a.default)((0,i.default)("public/fixedDataTable/horizontalScrollbar")),style:P},r.default.createElement("div",{style:N},r.default.createElement(s.default,c({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),D}(r.default.PureComponent);x(C,"propTypes",{contentSize:n.default.number.isRequired,offset:n.default.number.isRequired,onScroll:n.default.func.isRequired,position:n.default.number.isRequired,size:n.default.number.isRequired,isRTL:n.default.bool});var S=b;e.default=S})(b0);(function(e){function t(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(H){return typeof H}:t=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},t(P)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=y(F),n=sp,o=y(Ur),i=y(Ks),a=v(xe),s=v(bt),l=v(_t),c=y(_p),p=y(i0),h=y(zi),d=y(b0),m=t0;function g(P){if(typeof WeakMap!="function")return null;var N=new WeakMap,H=new WeakMap;return(g=function(L){return L?H:N})(P)}function v(P,N){if(P&&P.__esModule)return P;if(P===null||t(P)!=="object"&&typeof P!="function")return{default:P};var H=g(N);if(H&&H.has(P))return H.get(P);var B={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in P)if(k!=="default"&&Object.prototype.hasOwnProperty.call(P,k)){var $=L?Object.getOwnPropertyDescriptor(P,k):null;$&&($.get||$.set)?Object.defineProperty(B,k,$):B[k]=P[k]}return B.default=P,H&&H.set(P,B),B}function y(P){return P&&P.__esModule?P:{default:P}}function w(){return w=Object.assign||function(P){for(var N=1;N<arguments.length;N++){var H=arguments[N];for(var B in H)Object.prototype.hasOwnProperty.call(H,B)&&(P[B]=H[B])}return P},w.apply(this,arguments)}function E(P,N){if(!(P instanceof N))throw new TypeError("Cannot call a class as a function")}function _(P,N){for(var H=0;H<N.length;H++){var B=N[H];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(P,B.key,B)}}function x(P,N,H){return N&&_(P.prototype,N),H&&_(P,H),P}function b(P,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(N&&N.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),N&&C(P,N)}function C(P,N){return C=Object.setPrototypeOf||function(B,L){return B.__proto__=L,B},C(P,N)}function S(P){var N=D();return function(){var B=R(P),L;if(N){var k=R(this).constructor;L=Reflect.construct(B,arguments,k)}else L=B.apply(this,arguments);return O(this,L)}}function O(P,N){return N&&(t(N)==="object"||typeof N=="function")?N:M(P)}function M(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function D(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(P){return!1}}function R(P){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},R(P)}function T(P,N,H){return N in P?Object.defineProperty(P,N,{value:H,enumerable:!0,configurable:!0,writable:!0}):P[N]=H,P}var A=function(P){b(H,P);var N=S(H);function H(B){var L;return E(this,H),L=N.call(this,B),L.reduxStore=p.default.get(),L.scrollActions=(0,n.bindActionCreators)(l,L.reduxStore.dispatch),L.columnActions=(0,n.bindActionCreators)(s,L.reduxStore.dispatch),L.reduxStore.dispatch({type:a.INITIALIZE,props:B}),L.unsubscribe=L.reduxStore.subscribe(L.onStoreUpdate.bind(M(L))),L.state={boundState:H.getBoundState(L.reduxStore),reduxStore:L.reduxStore,props:B},L}return x(H,[{key:"componentWillUnmount",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null),this.reduxStore=null}},{key:"render",value:function(){var L=r.default.createElement(c.default,w({},this.props,this.state.boundState,{scrollActions:this.scrollActions,columnActions:this.columnActions}));return this.props.defaultScrollbars?r.default.createElement(d.default,this.props,L):L}},{key:"onStoreUpdate",value:function(){var L=H.getBoundState(this.reduxStore);this.state.boundState.propsRevision===L.propsRevision&&this.setState({boundState:L})}}],[{key:"getDerivedStateFromProps",value:function(L,k){return(0,o.default)(L.height!==void 0||L.maxHeight!==void 0,"You must set either a height or a maxHeight"),L===k.props?null:(k.reduxStore.dispatch({type:a.PROP_CHANGE,newProps:L,oldProps:k.props}),{boundState:H.getBoundState(k.reduxStore),props:L})}},{key:"getBoundState",value:function(L){var k=L.getState(),$=(0,i.default)(k,["columnGroupProps","columnProps","columnReorderingData","columnResizingData","elementHeights","elementTemplates","firstRowIndex","endRowIndex","isColumnReordering","isColumnResizing","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return $}}]),H}(r.default.Component);T(A,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:h.default.SIZE,scrollbarYWidth:h.default.SIZE});var I=(0,m.polyfill)(A);e.default=I})(op);var _0={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(qt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(M[T]=R[T])}return M},s.apply(this,arguments)}function l(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(M);D&&(T=T.filter(function(A){return Object.getOwnPropertyDescriptor(M,A).enumerable})),R.push.apply(R,T)}return R}function c(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?l(Object(R),!0).forEach(function(T){C(M,T,R[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):l(Object(R)).forEach(function(T){Object.defineProperty(M,T,Object.getOwnPropertyDescriptor(R,T))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),T,A;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(M);for(A=0;A<I.length;A++)T=I[A],!(D.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(M,T)&&(R[T]=M[T])}return R}function h(M,D){if(M==null)return{};var R={},T=Object.keys(M),A,I;for(I=0;I<T.length;I++)A=T[I],!(D.indexOf(A)>=0)&&(R[A]=M[A]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var T=D[R];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(M,T.key,T)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(T,A){return T.__proto__=A,T},y(M,D)}function w(M){var D=x();return function(){var T=b(M),A;if(D){var I=b(this).constructor;A=Reflect.construct(T,arguments,I)}else A=T.apply(this,arguments);return E(this,A)}}function E(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var A=this.props,I=A.height,P=A.width,N=A.style,H=A.className,B=A.children,L=p(A,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=c({height:I,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap"),(0,o.default)("public/fixedDataTableCell/wrap"),(0,o.default)("public/fixedDataTableCell/cellContent"),H),style:k}),B)}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(_0);var x0={};(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(E){return E&&E.__esModule?E:{default:E}}function i(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function a(E,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(E,b.key,b)}}function s(E,_,x){return _&&a(E.prototype,_),E}function l(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),_&&c(E,_)}function c(E,_){return c=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},c(E,_)}function p(E){var _=m();return function(){var b=g(E),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(E,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(E)}function v(E,_,x){return _ in E?Object.defineProperty(E,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[_]=x,E}var y=function(E){l(x,E);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumn__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,fixedRight:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func]),cell:n.default.oneOfType([n.default.node,n.default.func]),footer:n.default.oneOfType([n.default.node,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,flexGrow:n.default.number,isResizable:n.default.bool,isReorderable:n.default.bool,allowCellsRecycling:n.default.bool,pureRendering:n.default.bool,cellClassName:n.default.string}),v(y,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});var w=y;e.default=w})(x0);var w0={};(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(E){return E&&E.__esModule?E:{default:E}}function i(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function a(E,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(E,b.key,b)}}function s(E,_,x){return _&&a(E.prototype,_),E}function l(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),_&&c(E,_)}function c(E,_){return c=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},c(E,_)}function p(E){var _=m();return function(){var b=g(E),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(E,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(E)}function v(E,_,x){return _ in E?Object.defineProperty(E,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[_]=x,E}var y=function(E){l(x,E);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumnGroup__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func])}),v(y,"defaultProps",{fixed:!1});var w=y;e.default=w})(w0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Cell",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DataCell",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Column",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ColumnGroup",{enumerable:!0,get:function(){return i.default}}),e.version=void 0;var t=a(op),r=a(ul),n=a(_0),o=a(x0),i=a(w0);function a(l){return l&&l.__esModule?l:{default:l}}var s="1.2.22";e.version=s})(np);var Mo=np;const xD="#f4f4f8",wD="#edeef1",CD="#e3e5ea",TD="#f9f9fb",ED="#ffcb05",SD="#1faff3",RD="#e5e5e5",OD="#5b6372",MD="#3a4356",PD="#3c3c42",DD="#a3a3a3",kD="#d0d3db",AD="_tableWrapper_1ode4_16",ID="_table_1ode4_16",ND="_tableHeader_1ode4_78",$D="_tableCell_1ode4_88",LD="_tableCellContent_1ode4_99",FD="_headerColor_1ode4_105",HD="_rowColor_1ode4_109",Tn={athensGray:xD,athensGrayDark:wD,athensGrayDark2:CD,athensGrayLight:TD,defaultBrandColor:ED,dodgerBlue:SD,mercury:RD,shuttleGrayDark:OD,oxfordBlue:MD,darkModeDefaultBackground:PD,indicatorGrey:DD,secondaryButtonHover:kD,tableWrapper:AD,table:ID,tableHeader:ND,tableCell:$D,tableCellContent:LD,headerColor:FD,rowColor:HD},BD="#f4f4f8",jD="#edeef1",zD="#e3e5ea",WD="#f9f9fb",VD="#ffcb05",UD="#1faff3",qD="#e5e5e5",GD="#5b6372",YD="#3a4356",XD="#3c3c42",KD="#a3a3a3",QD="#d0d3db",ZD="_headerCell_2qf2w_16",JD="_noSort_2qf2w_29",e6="_standard_2qf2w_29",t6="_caret_2qf2w_33",r6="_headerLabel_2qf2w_38",n6="_icon_2qf2w_43",o6="_numberIcon_2qf2w_50",i6="_dateIcon_2qf2w_54",a6="_textIcon_2qf2w_58",s6="_booleanIcon_2qf2w_62",l6="_sortIcon_2qf2w_66",u6="_sortAscending_2qf2w_74",c6="_sortDescending_2qf2w_78",Lt={athensGray:BD,athensGrayDark:jD,athensGrayDark2:zD,athensGrayLight:WD,defaultBrandColor:VD,dodgerBlue:UD,mercury:qD,shuttleGrayDark:GD,oxfordBlue:YD,darkModeDefaultBackground:XD,indicatorGrey:KD,secondaryButtonHover:QD,headerCell:ZD,noSort:JD,standard:e6,caret:t6,headerLabel:r6,icon:n6,numberIcon:o6,dateIcon:i6,textIcon:a6,booleanIcon:s6,sortIcon:l6,sortAscending:u6,sortDescending:c6};var C0={exports:{}};/*!
243
+ Copyright (c) 2018 Jed Watson.
244
+ Licensed under the MIT License (MIT), see
245
+ http://jedwatson.github.io/classnames
246
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(C0);var d6=C0.exports;const Bn=u.getDefaultExportFromCjs(d6),f6="_icon_t30x8_1",p6="_numberIcon_t30x8_11",h6="_dateIcon_t30x8_15",m6="_textIcon_t30x8_19",g6="_booleanIcon_t30x8_23",yn={icon:f6,numberIcon:p6,dateIcon:h6,textIcon:m6,booleanIcon:g6},v6=({columnType:e})=>u.jsx("div",{className:Bn(yn.icon,{[yn.numberIcon]:u.isNumber$1(e),[yn.dateIcon]:u.isDatetime(e),[yn.textIcon]:u.isText(e),[yn.booleanIcon]:u.isBoolean(e)})}),y6=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>u.jsxs("div",{className:Lt.headerCell,onClick:()=>{t(e)},children:[o&&u.jsx(v6,{columnType:e.type}),u.jsx("div",{className:Lt.headerLabel,children:n}),u.jsx("div",{className:Bn(Lt.sortIcon,{[Lt.caret]:i==="caret",[Lt.standard]:i==="standard",[Lt.noSort]:!r||e.direction===0,[Lt.sortAscending]:r&&e.direction===1,[Lt.sortDescending]:r&&e.direction===-1})})]}),b6=26,_6=26,Ic=20,T0=36,E0=29,S0=24,Ja=350,x6=126,w6=38,C6=55,T6=(e,t,r,n)=>{const i=document.createElement("canvas").getContext("2d");if(!i)return[];i.font=`13px ${n||"Open Sans"}`;const a=e.columns.map(h=>i.measureText(h.name).width+T0+(t?E0:0)),s=i.measureText("0").width,l=e.columns.map(h=>({type:u.simpleColumnType(h.type),index:h.index})),{rows:c}=e,p=l.map(h=>{const d=c.reduce((m,g)=>{var E;const v=g[h.index].displayValue,y=(E=r[h.index])!=null&&E.isHtml?E6(v):v,w=h.type==="number"?g[h.index].displayValue.length*s:i.measureText(y).width;return Math.max(m,w)},0);return S0+d});return a.map((h,d)=>{var m;return(m=r[d])!=null&&m.width?r[d].width:Math.ceil(Math.max(x6,Math.min(Ja,Math.max(h,p[d]))))})};function E6(e){const t=document.createElement("div");return t.innerHTML=e,R0(t)}function R0(e){let t,r,n,o;for(r="",t=0;t<e.childNodes.length;t++)o=e.childNodes[t],n=null,o.nodeType===1?n=R0(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const Nc=e=>e%2===1,$c=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var c,p,h,d,m,g,v,y,w,E,_,x,b,C,S,O,M,D;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const l=u.getSlightlyDifferentColor(s);return o?(p=(c=n==null?void 0:n.header)==null?void 0:c.color)!=null&&p.enabled&&(s=((d=(h=n==null?void 0:n.header)==null?void 0:h.color)==null?void 0:d.backgroundColor)||l,i=((g=(m=n==null?void 0:n.header)==null?void 0:m.color)==null?void 0:g.textColor)||i):((y=(v=n==null?void 0:n.columns)==null?void 0:v.alternatingColor)!=null&&y.enabled&&Nc(e)&&(s=((E=(w=n==null?void 0:n.columns)==null?void 0:w.alternatingColor)==null?void 0:E.backgroundColor)||l,i=((x=(_=n==null?void 0:n.columns)==null?void 0:_.alternatingColor)==null?void 0:x.textColor)||i),(C=(b=n==null?void 0:n.rows)==null?void 0:b.alternatingColor)!=null&&C.enabled&&Nc(t)&&(s=((O=(S=n==null?void 0:n.rows)==null?void 0:S.alternatingColor)==null?void 0:O.backgroundColor)||l,i=((D=(M=n==null?void 0:n.rows)==null?void 0:M.alternatingColor)==null?void 0:D.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var hl={};Object.defineProperty(hl,"__esModule",{value:!0});var O0=hl.default=void 0,S6=O6(F),R6=Fd;function M0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(M0=function(n){return n?r:t})(e)}function O6(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=M0(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function M6(e){return Object.keys(e).length===0}function P6(e=null){const t=S6.useContext(R6.ThemeContext);return!t||M6(t)?e:t}O0=hl.default=P6;var qe="top",ft="bottom",pt="right",Ge="left",ml="auto",so=[qe,ft,pt,Ge],$r="start",jn="end",D6="clippingParents",P0="viewport",bn="popper",k6="reference",Lc=so.reduce(function(e,t){return e.concat([t+"-"+$r,t+"-"+jn])},[]),D0=[].concat(so,[ml]).reduce(function(e,t){return e.concat([t,t+"-"+$r,t+"-"+jn])},[]),A6="beforeRead",I6="read",N6="afterRead",$6="beforeMain",L6="main",F6="afterMain",H6="beforeWrite",B6="write",j6="afterWrite",z6=[A6,I6,N6,$6,L6,F6,H6,B6,j6];function Tt(e){return e?(e.nodeName||"").toLowerCase():null}function Je(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function dr(e){var t=Je(e).Element;return e instanceof t||e instanceof Element}function ut(e){var t=Je(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function gl(e){if(typeof ShadowRoot=="undefined")return!1;var t=Je(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W6(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!ut(i)||!Tt(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function V6(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!ut(o)||!Tt(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const U6={name:"applyStyles",enabled:!0,phase:"write",fn:W6,effect:V6,requires:["computeStyles"]};function wt(e){return e.split("-")[0]}var lr=Math.max,Jo=Math.min,Lr=Math.round;function es(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function k0(){return!/^((?!chrome|android).)*safari/i.test(es())}function Fr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&ut(e)&&(o=e.offsetWidth>0&&Lr(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Lr(n.height)/e.offsetHeight||1);var a=dr(e)?Je(e):window,s=a.visualViewport,l=!k0()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,p=(n.top+(l&&s?s.offsetTop:0))/i,h=n.width/o,d=n.height/i;return{width:h,height:d,top:p,right:c+h,bottom:p+d,left:c,x:c,y:p}}function vl(e){var t=Fr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function A0(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&gl(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Mt(e){return Je(e).getComputedStyle(e)}function q6(e){return["table","td","th"].indexOf(Tt(e))>=0}function Xt(e){return((dr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wi(e){return Tt(e)==="html"?e:e.assignedSlot||e.parentNode||(gl(e)?e.host:null)||Xt(e)}function Fc(e){return!ut(e)||Mt(e).position==="fixed"?null:e.offsetParent}function G6(e){var t=/firefox/i.test(es()),r=/Trident/i.test(es());if(r&&ut(e)){var n=Mt(e);if(n.position==="fixed")return null}var o=Wi(e);for(gl(o)&&(o=o.host);ut(o)&&["html","body"].indexOf(Tt(o))<0;){var i=Mt(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function lo(e){for(var t=Je(e),r=Fc(e);r&&q6(r)&&Mt(r).position==="static";)r=Fc(r);return r&&(Tt(r)==="html"||Tt(r)==="body"&&Mt(r).position==="static")?t:r||G6(e)||t}function yl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pn(e,t,r){return lr(e,Jo(t,r))}function Y6(e,t,r){var n=Pn(e,t,r);return n>r?r:n}function I0(){return{top:0,right:0,bottom:0,left:0}}function N0(e){return Object.assign({},I0(),e)}function $0(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var X6=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,N0(typeof t!="number"?t:$0(t,so))};function K6(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=wt(r.placement),l=yl(s),c=[Ge,pt].indexOf(s)>=0,p=c?"height":"width";if(!(!i||!a)){var h=X6(o.padding,r),d=vl(i),m=l==="y"?qe:Ge,g=l==="y"?ft:pt,v=r.rects.reference[p]+r.rects.reference[l]-a[l]-r.rects.popper[p],y=a[l]-r.rects.reference[l],w=lo(i),E=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,_=v/2-y/2,x=h[m],b=E-d[p]-h[g],C=E/2-d[p]/2+_,S=Pn(x,C,b),O=l;r.modifiersData[n]=(t={},t[O]=S,t.centerOffset=S-C,t)}}function Q6(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||A0(t.elements.popper,o)&&(t.elements.arrow=o))}const Z6={name:"arrow",enabled:!0,phase:"main",fn:K6,effect:Q6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hr(e){return e.split("-")[1]}var J6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ek(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Lr(r*o)/o||0,y:Lr(n*o)/o||0}}function Hc(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,h=e.isFixed,d=a.x,m=d===void 0?0:d,g=a.y,v=g===void 0?0:g,y=typeof p=="function"?p({x:m,y:v}):{x:m,y:v};m=y.x,v=y.y;var w=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),_=Ge,x=qe,b=window;if(c){var C=lo(r),S="clientHeight",O="clientWidth";if(C===Je(r)&&(C=Xt(r),Mt(C).position!=="static"&&s==="absolute"&&(S="scrollHeight",O="scrollWidth")),C=C,o===qe||(o===Ge||o===pt)&&i===jn){x=ft;var M=h&&C===b&&b.visualViewport?b.visualViewport.height:C[S];v-=M-n.height,v*=l?1:-1}if(o===Ge||(o===qe||o===ft)&&i===jn){_=pt;var D=h&&C===b&&b.visualViewport?b.visualViewport.width:C[O];m-=D-n.width,m*=l?1:-1}}var R=Object.assign({position:s},c&&J6),T=p===!0?ek({x:m,y:v},Je(r)):{x:m,y:v};if(m=T.x,v=T.y,l){var A;return Object.assign({},R,(A={},A[x]=E?"0":"",A[_]=w?"0":"",A.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",A))}return Object.assign({},R,(t={},t[x]=E?v+"px":"",t[_]=w?m+"px":"",t.transform="",t))}function tk(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:wt(t.placement),variation:Hr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Hc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Hc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const rk={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tk,data:{}};var Po={passive:!0};function nk(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=Je(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(p){p.addEventListener("scroll",r.update,Po)}),s&&l.addEventListener("resize",r.update,Po),function(){i&&c.forEach(function(p){p.removeEventListener("scroll",r.update,Po)}),s&&l.removeEventListener("resize",r.update,Po)}}const ok={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:nk,data:{}};var ik={left:"right",right:"left",bottom:"top",top:"bottom"};function Ho(e){return e.replace(/left|right|bottom|top/g,function(t){return ik[t]})}var ak={start:"end",end:"start"};function Bc(e){return e.replace(/start|end/g,function(t){return ak[t]})}function bl(e){var t=Je(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function _l(e){return Fr(Xt(e)).left+bl(e).scrollLeft}function sk(e,t){var r=Je(e),n=Xt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=k0();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+_l(e),y:l}}function lk(e){var t,r=Xt(e),n=bl(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=lr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=lr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+_l(e),l=-n.scrollTop;return Mt(o||r).direction==="rtl"&&(s+=lr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function xl(e){var t=Mt(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function L0(e){return["html","body","#document"].indexOf(Tt(e))>=0?e.ownerDocument.body:ut(e)&&xl(e)?e:L0(Wi(e))}function Dn(e,t){var r;t===void 0&&(t=[]);var n=L0(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Je(n),a=o?[i].concat(i.visualViewport||[],xl(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Dn(Wi(a)))}function ts(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uk(e,t){var r=Fr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function jc(e,t,r){return t===P0?ts(sk(e,r)):dr(t)?uk(t,r):ts(lk(Xt(e)))}function ck(e){var t=Dn(Wi(e)),r=["absolute","fixed"].indexOf(Mt(e).position)>=0,n=r&&ut(e)?lo(e):e;return dr(n)?t.filter(function(o){return dr(o)&&A0(o,n)&&Tt(o)!=="body"}):[]}function dk(e,t,r,n){var o=t==="clippingParents"?ck(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var p=jc(e,c,n);return l.top=lr(p.top,l.top),l.right=Jo(p.right,l.right),l.bottom=Jo(p.bottom,l.bottom),l.left=lr(p.left,l.left),l},jc(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function F0(e){var t=e.reference,r=e.element,n=e.placement,o=n?wt(n):null,i=n?Hr(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case qe:l={x:a,y:t.y-r.height};break;case ft:l={x:a,y:t.y+t.height};break;case pt:l={x:t.x+t.width,y:s};break;case Ge:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?yl(o):null;if(c!=null){var p=c==="y"?"height":"width";switch(i){case $r:l[c]=l[c]-(t[p]/2-r[p]/2);break;case jn:l[c]=l[c]+(t[p]/2-r[p]/2);break}}return l}function zn(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,l=s===void 0?D6:s,c=r.rootBoundary,p=c===void 0?P0:c,h=r.elementContext,d=h===void 0?bn:h,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,y=v===void 0?0:v,w=N0(typeof y!="number"?y:$0(y,so)),E=d===bn?k6:bn,_=e.rects.popper,x=e.elements[g?E:d],b=dk(dr(x)?x:x.contextElement||Xt(e.elements.popper),l,p,a),C=Fr(e.elements.reference),S=F0({reference:C,element:_,strategy:"absolute",placement:o}),O=ts(Object.assign({},_,S)),M=d===bn?O:C,D={top:b.top-M.top+w.top,bottom:M.bottom-b.bottom+w.bottom,left:b.left-M.left+w.left,right:M.right-b.right+w.right},R=e.modifiersData.offset;if(d===bn&&R){var T=R[o];Object.keys(D).forEach(function(A){var I=[pt,ft].indexOf(A)>=0?1:-1,P=[qe,ft].indexOf(A)>=0?"y":"x";D[A]+=T[P]*I})}return D}function fk(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?D0:l,p=Hr(n),h=p?s?Lc:Lc.filter(function(g){return Hr(g)===p}):so,d=h.filter(function(g){return c.indexOf(g)>=0});d.length===0&&(d=h);var m=d.reduce(function(g,v){return g[v]=zn(e,{placement:v,boundary:o,rootBoundary:i,padding:a})[wt(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}function pk(e){if(wt(e)===ml)return[];var t=Ho(e);return[Bc(e),t,Bc(t)]}function hk(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,p=r.boundary,h=r.rootBoundary,d=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,y=t.options.placement,w=wt(y),E=w===y,_=l||(E||!g?[Ho(y)]:pk(y)),x=[y].concat(_).reduce(function(W,U){return W.concat(wt(U)===ml?fk(t,{placement:U,boundary:p,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:v}):U)},[]),b=t.rects.reference,C=t.rects.popper,S=new Map,O=!0,M=x[0],D=0;D<x.length;D++){var R=x[D],T=wt(R),A=Hr(R)===$r,I=[qe,ft].indexOf(T)>=0,P=I?"width":"height",N=zn(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:d,padding:c}),H=I?A?pt:Ge:A?ft:qe;b[P]>C[P]&&(H=Ho(H));var B=Ho(H),L=[];if(i&&L.push(N[T]<=0),s&&L.push(N[H]<=0,N[B]<=0),L.every(function(W){return W})){M=R,O=!1;break}S.set(R,L)}if(O)for(var k=g?3:1,$=function(U){var Y=x.find(function(K){var X=S.get(K);if(X)return X.slice(0,U).every(function(Q){return Q})});if(Y)return M=Y,"break"},V=k;V>0;V--){var j=$(V);if(j==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const mk={name:"flip",enabled:!0,phase:"main",fn:hk,requiresIfExists:["offset"],data:{_skip:!1}};function zc(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Wc(e){return[qe,pt,ft,Ge].some(function(t){return e[t]>=0})}function gk(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=zn(t,{elementContext:"reference"}),s=zn(t,{altBoundary:!0}),l=zc(a,n),c=zc(s,o,i),p=Wc(l),h=Wc(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const vk={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gk};function yk(e,t,r){var n=wt(e),o=[Ge,qe].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ge,pt].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function bk(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=D0.reduce(function(p,h){return p[h]=yk(h,t.rects,i),p},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const _k={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bk};function xk(e){var t=e.state,r=e.name;t.modifiersData[r]=F0({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const wk={name:"popperOffsets",enabled:!0,phase:"read",fn:xk,data:{}};function Ck(e){return e==="x"?"y":"x"}function Tk(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,p=r.altBoundary,h=r.padding,d=r.tether,m=d===void 0?!0:d,g=r.tetherOffset,v=g===void 0?0:g,y=zn(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:p}),w=wt(t.placement),E=Hr(t.placement),_=!E,x=yl(w),b=Ck(x),C=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(C){if(i){var A,I=x==="y"?qe:Ge,P=x==="y"?ft:pt,N=x==="y"?"height":"width",H=C[x],B=H+y[I],L=H-y[P],k=m?-O[N]/2:0,$=E===$r?S[N]:O[N],V=E===$r?-O[N]:-S[N],j=t.elements.arrow,W=m&&j?vl(j):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:I0(),Y=U[I],K=U[P],X=Pn(0,S[N],W[N]),Q=_?S[N]/2-k-X-Y-D.mainAxis:$-X-Y-D.mainAxis,ee=_?-S[N]/2+k+X+K+D.mainAxis:V+X+K+D.mainAxis,re=t.elements.arrow&&lo(t.elements.arrow),G=re?x==="y"?re.clientTop||0:re.clientLeft||0:0,ne=(A=R==null?void 0:R[x])!=null?A:0,Z=H+Q-ne-G,oe=H+ee-ne,de=Pn(m?Jo(B,Z):B,H,m?lr(L,oe):L);C[x]=de,T[x]=de-H}if(s){var pe,ce=x==="x"?qe:Ge,Ne=x==="x"?ft:pt,Ce=C[b],$e=b==="y"?"height":"width",Le=Ce+y[ce],ye=Ce-y[Ne],be=[qe,Ge].indexOf(w)!==-1,Ue=(pe=R==null?void 0:R[b])!=null?pe:0,He=be?Le:Ce-S[$e]-O[$e]-Ue+D.altAxis,Xe=be?Ce+S[$e]+O[$e]-Ue-D.altAxis:ye,Dt=m&&be?Y6(He,Ce,Xe):Pn(m?He:Le,Ce,m?Xe:ye);C[b]=Dt,T[b]=Dt-Ce}t.modifiersData[n]=T}}const Ek={name:"preventOverflow",enabled:!0,phase:"main",fn:Tk,requiresIfExists:["offset"]};function Sk(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Rk(e){return e===Je(e)||!ut(e)?bl(e):Sk(e)}function Ok(e){var t=e.getBoundingClientRect(),r=Lr(t.width)/e.offsetWidth||1,n=Lr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Mk(e,t,r){r===void 0&&(r=!1);var n=ut(t),o=ut(t)&&Ok(t),i=Xt(t),a=Fr(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Tt(t)!=="body"||xl(i))&&(s=Rk(t)),ut(t)?(l=Fr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=_l(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Pk(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function Dk(e){var t=Pk(e);return z6.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function kk(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Ak(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Vc={placement:"bottom",modifiers:[],strategy:"absolute"};function Uc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Ik(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Vc:o;return function(s,l,c){c===void 0&&(c=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vc,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},h=[],d=!1,m={state:p,setOptions:function(w){var E=typeof w=="function"?w(p.options):w;v(),p.options=Object.assign({},i,p.options,E),p.scrollParents={reference:dr(s)?Dn(s):s.contextElement?Dn(s.contextElement):[],popper:Dn(l)};var _=Dk(Ak([].concat(n,p.options.modifiers)));return p.orderedModifiers=_.filter(function(x){return x.enabled}),g(),m.update()},forceUpdate:function(){if(!d){var w=p.elements,E=w.reference,_=w.popper;if(Uc(E,_)){p.rects={reference:Mk(E,lo(_),p.options.strategy==="fixed"),popper:vl(_)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(D){return p.modifiersData[D.name]=Object.assign({},D.data)});for(var x=0;x<p.orderedModifiers.length;x++){if(p.reset===!0){p.reset=!1,x=-1;continue}var b=p.orderedModifiers[x],C=b.fn,S=b.options,O=S===void 0?{}:S,M=b.name;typeof C=="function"&&(p=C({state:p,options:O,name:M,instance:m})||p)}}}},update:kk(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){v(),d=!0}};if(!Uc(s,l))return m;m.setOptions(c).then(function(y){!d&&c.onFirstUpdate&&c.onFirstUpdate(y)});function g(){p.orderedModifiers.forEach(function(y){var w=y.name,E=y.options,_=E===void 0?{}:E,x=y.effect;if(typeof x=="function"){var b=x({state:p,name:w,instance:m,options:_}),C=function(){};h.push(b||C)}})}function v(){h.forEach(function(y){return y()}),h=[]}return m}}var Nk=[ok,wk,rk,U6,_k,mk,Ek,Z6,vk],$k=Ik({defaultModifiers:Nk});function Lk(e){return Ee("MuiPopper",e)}we("MuiPopper",["root"]);const Fk=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Hk=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Bk(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function ei(e){return typeof e=="function"?e():e}function Vi(e){return e.nodeType!==void 0}function jk(e){return!Vi(e)}const zk=e=>{const{classes:t}=e;return De({root:["root"]},Lk,t)},Wk={},Vk=z.forwardRef(function(t,r){var n;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:p,popperOptions:h,popperRef:d,slotProps:m={},slots:g={},TransitionProps:v}=t,y=ae(t,Fk),w=z.useRef(null),E=Ve(w,r),_=z.useRef(null),x=Ve(_,d),b=z.useRef(x);cr(()=>{b.current=x},[x]),z.useImperativeHandle(d,()=>_.current,[]);const C=Bk(p,a),[S,O]=z.useState(C),[M,D]=z.useState(ei(o));z.useEffect(()=>{_.current&&_.current.forceUpdate()}),z.useEffect(()=>{o&&D(ei(o))},[o]),cr(()=>{if(!M||!c)return;const P=B=>{O(B.placement)};if(process.env.NODE_ENV!=="production"&&M&&Vi(M)&&M.nodeType===1){const B=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
247
+ `))}let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{P(B)}}];l!=null&&(N=N.concat(l)),h&&h.modifiers!=null&&(N=N.concat(h.modifiers));const H=$k(M,w.current,u._extends({placement:C},h,{modifiers:N}));return b.current(H),()=>{H.destroy(),b.current(null)}},[M,s,l,c,h,C]);const R={placement:S};v!==null&&(R.TransitionProps=v);const T=zk(t),A=(n=g.root)!=null?n:"div",I=Wt({elementType:A,externalSlotProps:m.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:E},ownerState:t,className:T.root});return te.jsx(A,u._extends({},I,{children:typeof i=="function"?i(R):i}))}),H0=z.forwardRef(function(t,r){const{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:p,placement:h="bottom",popperOptions:d=Wk,popperRef:m,style:g,transition:v=!1,slotProps:y={},slots:w={}}=t,E=ae(t,Hk),[_,x]=z.useState(!0),b=()=>{x(!1)},C=()=>{x(!0)};if(!l&&!p&&(!v||_))return null;let S;if(i)S=i;else if(n){const D=ei(n);S=D&&Vi(D)?We(D).body:We(null).body}const O=!p&&l&&(!v||_)?"none":void 0,M=v?{in:p,onEnter:b,onExited:C}:void 0;return te.jsx(Hn,{disablePortal:s,container:S,children:te.jsx(Vk,u._extends({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:v?!_:p,placement:h,popperOptions:d,popperRef:m,slotProps:y,slots:w},E,{style:u._extends({position:"fixed",top:0,left:0,display:O},g),TransitionProps:M,children:o}))})});process.env.NODE_ENV!=="production"&&(H0.propTypes={anchorEl:Ut(f.oneOfType([Ot,f.object,f.func]),e=>{if(e.open){const t=ei(e.anchorEl);if(t&&Vi(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
248
+ `))}else if(!t||typeof t.getBoundingClientRect!="function"||jk(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
249
+ `))}return null}),children:f.oneOfType([f.node,f.func]),container:f.oneOfType([Ot,f.func]),direction:f.oneOf(["ltr","rtl"]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:f.oneOf(["absolute","fixed"])}),popperRef:Qn,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),transition:f.bool});const Uk=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],qk=le(H0,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),uo=z.forwardRef(function(t,r){var n;const o=O0(),i=Re({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:p,disablePortal:h,keepMounted:d,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:w,transition:E,slots:_,slotProps:x}=i,b=ae(i,Uk),C=(n=_==null?void 0:_.root)!=null?n:l==null?void 0:l.Root,S=u._extends({anchorEl:a,container:p,disablePortal:h,keepMounted:d,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:w,transition:E},b);return te.jsx(qk,u._extends({as:s,direction:o==null?void 0:o.direction,slots:{root:C},slotProps:x!=null?x:c},S,{ref:r}))});process.env.NODE_ENV!=="production"&&(uo.propTypes={anchorEl:f.oneOfType([Ot,f.object,f.func]),children:f.oneOfType([f.node,f.func]),component:f.elementType,components:f.shape({Root:f.elementType}),componentsProps:f.shape({root:f.oneOfType([f.func,f.object])}),container:f.oneOfType([Ot,f.func]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:f.oneOf(["absolute","fixed"])}),popperRef:Qn,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transition:f.bool});function Gk(e){return Ee("MuiTooltip",e)}const Bt=we("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Yk=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function Xk(e){return Math.round(e*1e5)/1e5}const Kk=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${fe(i.split("-")[0])}`],arrow:["arrow"]};return De(a,Gk,t)},Qk=le(uo,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>u._extends({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Bt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Bt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Bt.arrow}`]:u._extends({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Bt.arrow}`]:u._extends({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),Zk=le("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${fe(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>u._extends({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pe(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Xk(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Bt.popper}[data-popper-placement*="left"] &`]:u._extends({transformOrigin:"right center"},t.isRtl?u._extends({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):u._extends({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Bt.popper}[data-popper-placement*="right"] &`]:u._extends({transformOrigin:"left center"},t.isRtl?u._extends({marginRight:"14px"},t.touch&&{marginRight:"24px"}):u._extends({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Bt.popper}[data-popper-placement*="top"] &`]:u._extends({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Bt.popper}[data-popper-placement*="bottom"] &`]:u._extends({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),Jk=le("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pe(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Do=!1;const qc=new Zn;let _n={x:0,y:0};function ko(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const Ui=z.forwardRef(function(t,r){var n,o,i,a,s,l,c,p,h,d,m,g,v,y,w,E,_,x,b;const C=Re({props:t,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:M={},componentsProps:D={},describeChild:R=!1,disableFocusListener:T=!1,disableHoverListener:A=!1,disableInteractive:I=!1,disableTouchListener:P=!1,enterDelay:N=100,enterNextDelay:H=0,enterTouchDelay:B=700,followCursor:L=!1,id:k,leaveDelay:$=0,leaveTouchDelay:V=1500,onClose:j,onOpen:W,open:U,placement:Y="bottom",PopperComponent:K,PopperProps:X={},slotProps:Q={},slots:ee={},title:re,TransitionComponent:G=Fn,TransitionProps:ne}=C,Z=ae(C,Yk),oe=z.isValidElement(O)?O:te.jsx("span",{children:O}),de=Jn(),pe=ys(),[ce,Ne]=z.useState(),[Ce,$e]=z.useState(null),Le=z.useRef(!1),ye=I||L,be=Dr(),Ue=Dr(),He=Dr(),Xe=Dr(),[Dt,ie]=Ps({controlled:U,default:!1,name:"Tooltip",state:"open"});let Be=Dt;if(process.env.NODE_ENV!=="production"){const{current:ue}=z.useRef(U!==void 0);z.useEffect(()=>{ce&&ce.disabled&&!ue&&re!==""&&ce.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
250
+ `))},[re,ce,ue])}const Kt=yf(k),gt=z.useRef(),Qt=Rt(()=>{gt.current!==void 0&&(document.body.style.WebkitUserSelect=gt.current,gt.current=void 0),Xe.clear()});z.useEffect(()=>Qt,[Qt]);const po=ue=>{qc.clear(),Do=!0,ie(!0),W&&!Be&&W(ue)},kt=Rt(ue=>{qc.start(800+$,()=>{Do=!1}),ie(!1),j&&Be&&j(ue),be.start(de.transitions.duration.shortest,()=>{Le.current=!1})}),Zt=ue=>{Le.current&&ue.type!=="touchstart"||(ce&&ce.removeAttribute("title"),Ue.clear(),He.clear(),N||Do&&H?Ue.start(Do?H:N,()=>{po(ue)}):po(ue))},Jt=ue=>{Ue.clear(),He.start($,()=>{kt(ue)})},{isFocusVisibleRef:nn,onBlur:er,onFocus:on,ref:ho}=bf(),[,At]=z.useState(!1),an=ue=>{er(ue),nn.current===!1&&(At(!1),Jt(ue))},sn=ue=>{ce||Ne(ue.currentTarget),on(ue),nn.current===!0&&(At(!0),Zt(ue))},gr=ue=>{Le.current=!0;const Ke=oe.props;Ke.onTouchStart&&Ke.onTouchStart(ue)},mo=ue=>{gr(ue),He.clear(),be.clear(),Qt(),gt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Xe.start(B,()=>{document.body.style.WebkitUserSelect=gt.current,Zt(ue)})},go=ue=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(ue),Qt(),He.start(V,()=>{kt(ue)})};z.useEffect(()=>{if(!Be)return;function ue(Ke){(Ke.key==="Escape"||Ke.key==="Esc")&&kt(Ke)}return document.addEventListener("keydown",ue),()=>{document.removeEventListener("keydown",ue)}},[kt,Be]);const Xi=Ve(oe.ref,ho,Ne,r);!re&&re!==0&&(Be=!1);const It=z.useRef(),vo=ue=>{const Ke=oe.props;Ke.onMouseMove&&Ke.onMouseMove(ue),_n={x:ue.clientX,y:ue.clientY},It.current&&It.current.update()},tr={},vr=typeof re=="string";R?(tr.title=!Be&&vr&&!A?re:null,tr["aria-describedby"]=Be?Kt:null):(tr["aria-label"]=vr?re:null,tr["aria-labelledby"]=Be&&!vr?Kt:null);const je=u._extends({},tr,Z,oe.props,{className:se(Z.className,oe.props.className),onTouchStart:gr,ref:Xi},L?{onMouseMove:vo}:{});process.env.NODE_ENV!=="production"&&(je["data-mui-internal-clone-element"]=!0,z.useEffect(()=>{ce&&!ce.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
251
+ `))},[ce]));const Nt={};P||(je.onTouchStart=mo,je.onTouchEnd=go),A||(je.onMouseOver=ko(Zt,je.onMouseOver),je.onMouseLeave=ko(Jt,je.onMouseLeave),ye||(Nt.onMouseOver=Zt,Nt.onMouseLeave=Jt)),T||(je.onFocus=ko(sn,je.onFocus),je.onBlur=ko(an,je.onBlur),ye||(Nt.onFocus=sn,Nt.onBlur=an)),process.env.NODE_ENV!=="production"&&oe.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${oe.props.title}\` or the Tooltip component.`].join(`
252
+ `));const Ki=z.useMemo(()=>{var ue;let Ke=[{name:"arrow",enabled:!!Ce,options:{element:Ce,padding:4}}];return(ue=X.popperOptions)!=null&&ue.modifiers&&(Ke=Ke.concat(X.popperOptions.modifiers)),u._extends({},X.popperOptions,{modifiers:Ke})},[Ce,X]),$t=u._extends({},C,{isRtl:pe,arrow:S,disableInteractive:ye,placement:Y,PopperComponentProp:K,touch:Le.current}),ln=Kk($t),yo=(n=(o=ee.popper)!=null?o:M.Popper)!=null?n:Qk,un=(i=(a=(s=ee.transition)!=null?s:M.Transition)!=null?a:G)!=null?i:Fn,bo=(l=(c=ee.tooltip)!=null?c:M.Tooltip)!=null?l:Zk,cn=(p=(h=ee.arrow)!=null?h:M.Arrow)!=null?p:Jk,_o=wn(yo,u._extends({},X,(d=Q.popper)!=null?d:D.popper,{className:se(ln.popper,X==null?void 0:X.className,(m=(g=Q.popper)!=null?g:D.popper)==null?void 0:m.className)}),$t),dn=wn(un,u._extends({},ne,(v=Q.transition)!=null?v:D.transition),$t),rm=wn(bo,u._extends({},(y=Q.tooltip)!=null?y:D.tooltip,{className:se(ln.tooltip,(w=(E=Q.tooltip)!=null?E:D.tooltip)==null?void 0:w.className)}),$t),nm=wn(cn,u._extends({},(_=Q.arrow)!=null?_:D.arrow,{className:se(ln.arrow,(x=(b=Q.arrow)!=null?b:D.arrow)==null?void 0:x.className)}),$t);return te.jsxs(z.Fragment,{children:[z.cloneElement(oe,je),te.jsx(yo,u._extends({as:K!=null?K:uo,placement:Y,anchorEl:L?{getBoundingClientRect:()=>({top:_n.y,left:_n.x,right:_n.x,bottom:_n.y,width:0,height:0})}:ce,popperRef:It,open:ce?Be:!1,id:Kt,transition:!0},Nt,_o,{popperOptions:Ki,children:({TransitionProps:ue})=>te.jsx(un,u._extends({timeout:de.transitions.duration.shorter},ue,dn,{children:te.jsxs(bo,u._extends({},rm,{children:[re,S?te.jsx(cn,u._extends({},nm,{ref:$e})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Ui.propTypes={arrow:f.bool,children:fr.isRequired,classes:f.object,className:f.string,components:f.shape({Arrow:f.elementType,Popper:f.elementType,Tooltip:f.elementType,Transition:f.elementType}),componentsProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),describeChild:f.bool,disableFocusListener:f.bool,disableHoverListener:f.bool,disableInteractive:f.bool,disableTouchListener:f.bool,enterDelay:f.number,enterNextDelay:f.number,enterTouchDelay:f.number,followCursor:f.bool,id:f.string,leaveDelay:f.number,leaveTouchDelay:f.number,onClose:f.func,onOpen:f.func,open:f.bool,placement:f.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:f.elementType,PopperProps:f.object,slotProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),slots:f.shape({arrow:f.elementType,popper:f.elementType,tooltip:f.elementType,transition:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),title:f.node,TransitionComponent:f.elementType,TransitionProps:f.object});const e8=e=>u.isNumber$1(e)?"right":"left",Gc=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return u.jsx("div",{className:Tn.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?u.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?u.jsx(Ui,{title:e,children:u.jsx("div",{children:e})}):u.jsx("div",{children:e})})},t8=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var E,_,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,l=T0+(s?E0:0),c=(o==null?void 0:o.paddingVertical)||Ic,p=(o==null?void 0:o.paddingHorizontal)||Ic,h=((E=o==null?void 0:o.columns)==null?void 0:E.width)==="auto"?(n-p*2-1)/t.columns.length:void 0,d=F.useMemo(()=>t.columns.map(b=>({isHtml:"isHtml"in b&&!!b.isHtml,width:h})),[t.columns,h]),[m,g]=F.useState(((_=document.fonts)==null?void 0:_.status)==="loaded"),v=(x=i.typography)==null?void 0:x.fontFamily,y=F.useMemo(()=>T6(e,s,d,v),[e,s,d,v,m]);F.useEffect(()=>{var b;(b=document.fonts)==null||b.ready.then(()=>{g(!0)}).catch(C=>{console.warn("Failed to observe font loading",C)})},[]);const w=F.useMemo(()=>e.columns.map((b,C)=>{const S=y[C],O=t.columns[C],M=$c({isHeaderCell:!0,themeSettings:i,customStyles:o});return S?u.jsx(Mo.Column,{maxWidth:Ja,minWidth:Ja,allowCellsRecycling:!0,width:S,header:u.jsx(Mo.Cell,{className:Bn(Tn.tableHeader),style:M,children:u.jsx(y6,{column:b,onClick:a,isSelected:!!Math.abs(b.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:Gc({displayValue:u.getDataOptionTitle(O),width:S,padding:l,ellipsizedLength:w6})})}),cell:T=>{var A=T,{rowIndex:D}=A,R=fn(A,["rowIndex"]);return u.jsx(Mo.Cell,J(q({className:Bn(Tn.tableCell),style:$c({colIndex:C,rowIndex:D,themeSettings:i,customStyles:o})},R),{children:Gc({displayValue:e.rows[D][C].displayValue,width:S,padding:S0,ellipsizedLength:C6,isHtml:"isHtml"in O&&O.isHtml})}))},align:e8(b.type)},`col${C}`):null}),[e,y,i,o,a,s,t,l]);return F.useMemo(()=>u.jsx("div",{className:Tn.tableWrapper,style:{padding:`${c}px ${p}px`},children:u.jsx(Mo.Table,{className:Tn.table,rowHeight:(o==null?void 0:o.rowHeight)||_6,rowsCount:e.rows.length,width:n-p*2,height:r-c*2,headerHeight:(o==null?void 0:o.headerHeight)||b6,children:w})}),[w,o,e,r,p,c,n])},r8="_component_1rw9b_1",n8={component:r8},o8=(e,t)=>{if(!e.columns.some(a=>u.isNumber$1(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,l)=>{const c=r[l].type,p=u.getCompleteNumberFormatConfig(t.columns[l].numberFormatConfig);if(u.isNumber$1(c)){const h=u.createCompareValue(s.displayValue,c);return{displayValue:u.applyFormatPlainText(p,h.value),compareValue:h}}else return s}));return{columns:r,rows:o}},i8=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=F.useRef(null),l=F.useRef(e),c=F.useMemo(()=>o8(e,t),[e,t]);F.useLayoutEffect(()=>{l.current=e},[e]);const p=F.useMemo(()=>q({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return u.jsx("div",{className:n8.component,ref:s,children:u.jsx(t8,{dataTable:c,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:p,themeSettings:o})})},a8=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}});var s8=Object.prototype,l8=s8.hasOwnProperty;function u8(e,t){return e!=null&&l8.call(e,t)}function c8(e,t){return e!=null&&u.hasPath(e,t,u8)}function d8(e,t){for(const r of t)c8(e,r)&&console.warn(`Prop '${r}' has been deprecated. Please refer to the documentation at https://sisense.dev/guides/sdk/ for the updated prop and use that instead.`)}const f8=e=>(d8(e,["headersColor","alternatingRowsColor","alternatingColumnsColor"]),{paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:q(q({},e.headersColor?{color:{enabled:e.headersColor}}:null),e.header),rows:q(q({},e.alternatingRowsColor?{alternatingColor:{enabled:e.alternatingRowsColor}}:null),e.rows),columns:q(q({},e.alternatingColumnsColor?{alternatingColor:{enabled:e.alternatingColumnsColor}}:null),e.columns)}),B0=25,j0=10,z0=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=B0,width:a,height:s}=r,{themeSettings:l}=u.useThemeContext(),[c,p]=F.useState(0),{filters:h,relations:d}=u.getFilterListAndRelationsJaql(n),[m,g]=F.useState(1),v=F.useRef(null),y=F.useMemo(()=>Yf(t),[t]),w=F.useMemo(()=>Ls(y.columns.filter(u.isMeasureColumn).map(u.translateColumnToMeasure)),[y]),E=F.useMemo(()=>f8(r),[r]),[_,x]=F.useState(y),[b,C]=F.useState(e),[S,O]=p3({dataSet:b,dataOptions:_,filters:h,filterRelations:d,count:i*j0,offset:c}),M=F.useMemo(()=>{if(S&&o){const P=o(S);if(!Zf(P))throw new u.TranslatableError("errors.incorrectOnDataReadyHandler");return P}return S},[S]),D=y3({data:M,innerDataOptions:O,dataColumnNamesMapping:w,needToAggregate:!zt(b)});F.useEffect(()=>{x(y),C(e),g(1),p(0)},[e,y]);const R=F.useCallback(P=>{if(!S)return;Math.floor(S.rows.length/i)===P&&p(S.rows.length),g(P)},[S,i]),T=F.useCallback(P=>{g(1),p(0),_&&x(g3(_,P))},[_]),A=F.useMemo(()=>{if(!D||zt(b))return D;const P=D.columns.find(N=>N.direction!==0);return P?u.orderBy(D,[P]):D},[D,b]),I=F.useMemo(()=>A?{columns:A.columns,rows:A.rows.slice((m-1)*i,m*i)}:void 0,[A,m,i]);return O?u.jsx(Ei,{defaultSize:$s("table"),size:{width:a,height:s},children:P=>{if(!D||!I)return u.jsx(si,{themeSettings:l});if(u.isDataTableEmpty(D))return u.jsx(Ns,{iconType:"table"});const N=Math.ceil(D.rows.length/i);return u.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:l.chart.backgroundColor},"aria-label":"table-root",children:[u.jsx(i8,{dataTable:I,dataOptions:O,designOptions:E,themeSettings:l,width:P.width,height:P.height-32,onSortUpdate:T}),u.jsx(tp,{ref:v,page:m,count:N,onChange:(B,L)=>R(L),sx:a8(l)})]})}}):null},W0=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},p8=F.createContext(null),ba={didCatch:!1,error:null};class V0 extends F.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=ba}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:i,reason:"imperative-api"}),this.setState(ba)}}componentDidCatch(t,r){var n,o;(n=(o=this.props).onError)===null||n===void 0||n.call(o,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:o}=this.props;if(n&&r.error!==null&&h8(t.resetKeys,o)){var i,a;(i=(a=this.props).onReset)===null||i===void 0||i.call(a,{next:o,prev:t.resetKeys,reason:"keys"}),this.setState(ba)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const l={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(l);else if(n)s=F.createElement(n,l);else if(o===null||F.isValidElement(o))s=o;else throw a}return F.createElement(p8.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function h8(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const U0=F.createContext(void 0),m8=({children:e})=>{const[t,r]=F.useState([]),[n,o]=F.useState([]),i=()=>r([]),a=()=>o([]);return u.jsx(U0.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},q0=()=>{const e=F.useContext(U0);return e||{errors:[],warnings:[],setErrors:()=>{console.warn("setErrors called, but context is not available.")},setWarnings:()=>{console.warn("setWarnings called, but context is not available.")},clearError:()=>{console.warn("clearError called, but context is not available.")},clearWarning:()=>{console.warn("clearWarning called, but context is not available.")}}};function wl(e,t,r){const n=u.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!u.isEqual(n[i],e[i])):!u.isEqual(n,e))?!0:r?r(e,n):!1}const g8=e=>{const[t,r]=F.useState(0),{setErrors:n,errors:o}=q0(),i=wl(e,["dataOptions","filters"]);if(F.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!zt(e.dataSet))throw new u.TranslatableError("errors.undefinedDataSource");const a=u.cloneDeep(e.dataOptions),s=u.extractTrendMeasures(a);a.value.push(...s);const l=u.extractForecastMeasures(a);a.value.push(...l);const c=F.useCallback(({error:p})=>(console.debug("Unexpected error occurred when rendering advanced chart:",p),u.jsx(Wa,q({},e))),[e,o]);return o.length===2?null:u.jsx(V0,{fallbackRender:c,onError:p=>{n(h=>[...h,p.message])},children:u.jsx(Wa,J(q({},e),{dataOptions:a}))},`errorboundary_${t}`)},G0=eo({componentName:"Chart",shouldSkipSisenseContextWaiting:W0,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(v8(e))return u.jsx(z0,q({},e));if(y8(e))return u.jsx(g8,q({},e));if(Y0(e))return u.jsx(Wa,q({},e));throw new u.TranslatableError("errors.chartInvalidProps")});function v8(e){return e.chartType==="table"&&"columns"in e.dataOptions}function Y0(e){return e.chartType!=="table"}function y8(e){return!Y0(e)||!u.isCartesian(e.chartType)?!1:e.dataOptions.value.some(r=>(r==null?void 0:r.forecast)!==void 0||(r==null?void 0:r.trend)!==void 0)}var b8=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),rs=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(rs||{}),ns=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(ns||{}),X0=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const _8=(e,t)=>{const r=u.get(e,"shadow",t.widget.shadow),n=u.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in rs&&n in ns){const o=rs[`${r}`];return`0px ${ns[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function x8(e){return Ee("MuiCard",e)}we("MuiCard",["root"]);const w8=["className","raised"],C8=e=>{const{classes:t}=e;return De({root:["root"]},x8,t)},T8=le(_i,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),K0=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=n,a=ae(n,w8),s=u._extends({},n,{raised:i}),l=C8(s);return te.jsx(T8,u._extends({className:se(l.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(K0.propTypes={children:f.node,classes:f.object,className:f.string,raised:Ut(f.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function E8(e){return Ee("MuiCardContent",e)}we("MuiCardContent",["root"]);const S8=["className","component"],R8=e=>{const{classes:t}=e;return De({root:["root"]},E8,t)},O8=le("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),Q0=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardContent"}),{className:o,component:i="div"}=n,a=ae(n,S8),s=u._extends({},n,{component:i}),l=R8(s);return te.jsx(O8,u._extends({as:i,className:se(l.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(Q0.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function M8(e){return Ee("MuiIconButton",e)}const P8=we("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),D8=["edge","children","className","color","disabled","disableFocusRipple","size"],k8=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${fe(n)}`,o&&`edge${fe(o)}`,`size${fe(i)}`]};return De(a,M8,t)},A8=le(pr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(({theme:e,ownerState:t})=>u._extends({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return u._extends({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&u._extends({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":u._extends({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${P8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Br=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:p="medium"}=n,h=ae(n,D8),d=u._extends({},n,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:p}),m=k8(d);return te.jsx(A8,u._extends({className:se(m.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r},h,{ownerState:d,children:i}))});process.env.NODE_ENV!=="production"&&(Br.propTypes={children:Ut(f.node,e=>z.Children.toArray(e.children).some(r=>z.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
253
+ `)):null),classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),f.string]),disabled:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,edge:f.oneOf(["end","start",!1]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function I8({fill:e="rgba(38, 46, 61, 0.67)"}){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:u.jsx("path",{fill:e,d:"M11.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zM13 8.878c0-1.27-.499-1.896-1.496-1.878C10.501 7.03 10 7.68 10 8.95c0 .737.17 1.647.51 2.731l.318.98c.081.245.14.413.175.503.197.533.376.811.537.835.15.018.314-.248.493-.8.083-.257.161-.512.233-.763.071-.252.146-.503.224-.755.34-1.12.51-2.054.51-2.803zM11.5 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})})}function N8({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var w,E,_;const[i,a]=F.useState(null),{themeSettings:s}=u.useThemeContext(),{typography:{primaryTextColor:l,secondaryTextColor:c,fontFamily:p}}=s,{t:h}=u.useTranslation(),d=x=>{a(x.currentTarget)},m=()=>{a(null)},g=F.useMemo(()=>e?u.jsx(st,{variant:"body2",style:{color:l,fontFamily:p,fontSize:13},children:e}):null,[e,l,p]),v=F.useMemo(()=>r.length===0?null:r.map(x=>u.jsxs(u.Fragment,{children:[u.jsx(Nr,{sx:{my:1,borderColor:c,opacity:.3,marginY:"8px"}}),u.jsxs("div",{className:"csdk-flex",children:[u.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:u.jsx(I8,{fill:"#fa5656"})}),u.jsx(st,{variant:"body2",className:"csdk-grow-1",style:{color:c,fontFamily:p,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,c,p]),y=F.useMemo(()=>t?u.jsxs(u.Fragment,{children:[u.jsx(Nr,{sx:{my:"8px",borderColor:c,opacity:.3}}),u.jsx(st,{variant:"body2",style:{color:c,fontFamily:p,fontSize:13},children:t})]}):null,[t,c,p]);return u.jsxs(u.Fragment,{children:[u.jsx(Ui,{title:h("widgetHeader.info.tooltip"),style:{color:(w=s.chart)==null?void 0:w.textColor,fontFamily:(E=s.typography)==null?void 0:E.fontFamily},children:u.jsx(Br,{onClick:d,sx:{p:0},children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.jsx("path",{fill:(n==null?void 0:n.titleTextColor)||s.widget.header.titleTextColor,d:"M11.5 20a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zm0-1a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zm-.5-8h1v5h-1v-5zm0-1v-.998h1V10h-1z"})})})}),u.jsx(xi,{open:!!i,anchorEl:i,onClose:m,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},slotProps:{root:{sx:{".MuiPaper-root":{boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.25)",borderRadius:0}}}},children:u.jsxs(K0,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[u.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:u.getSlightlyDifferentColor(s.general.backgroundColor)},children:[u.jsx(st,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:h("widgetHeader.info.details")}),u.jsx(Br,{onClick:o,sx:{p:0},children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.jsx("path",{fill:(_=s.chart)==null?void 0:_.textColor,d:"M20 12a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm0 0a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm-8-7a7 7 0 0 1 6.267 3.877l1.003-.22A8.001 8.001 0 0 0 4 12l1.003-.22A7 7 0 0 1 12 5zm6.998 3.12A8 8 0 0 0 4 12l1.003-.22a7 7 0 0 1 13.264-2.903l.73-.16v.28l-2.98.016-.017.971h3.985V6h-.987v2.12zm-14.01 9.864H4V14h3.985l-.016.971-2.981.017v2.996z"})})})]}),u.jsx(Nr,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),u.jsxs(Q0,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[g,v,y]})]})})]})}const $8=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var c;const{themeSettings:s}=u.useThemeContext(),l=()=>{var h;const p=u.jsx(u.Fragment,{children:u.jsx(N8,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(h=i==null?void 0:i.renderToolbar)==null?void 0:h.call(i,a,p):p};return u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-items-center csdk-px-2 csdk-min-h-[32px]",style:{backgroundColor:(i==null?void 0:i.backgroundColor)||s.widget.header.backgroundColor},children:[u.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:L8((i==null?void 0:i.titleAlignment)||s.widget.header.titleAlignment),color:(i==null?void 0:i.titleTextColor)||s.widget.header.titleTextColor,fontFamily:(c=s.typography)==null?void 0:c.fontFamily,fontSize:15},children:e||""}),u.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:l()})]}),u.get(i,"dividerLine",s.widget.header.dividerLine)&&u.jsx(Nr,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function L8(e){return e.toLowerCase()}const Z0=e=>u.jsx(m8,{children:u.jsx(F8,q({},e))}),F8=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var h,d,m;const{errors:l,warnings:c}=q0(),{themeSettings:p}=u.useThemeContext();return u.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden",children:u.jsx("div",{className:"csdk-h-full",style:{padding:X0[u.get(t,"spaceAround",p.widget.spaceAround)]||"0px"},children:u.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:u.get(t,"border",p.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||p.widget.borderColor,borderRadius:b8[(t==null?void 0:t.cornerRadius)||p.widget.cornerRadius]||0,boxShadow:_8(t,p),display:"flex",flexDirection:"column"},children:[!((h=t==null?void 0:t.header)!=null&&h.hidden)&&u.jsx($8,{title:r,description:n,dataSetName:e,errorMessages:l,warningMessages:c,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,u.jsx(Mf,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((d=p.chart)==null?void 0:d.backgroundColor)}},children:u.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((m=p.chart)==null?void 0:m.backgroundColor)},children:a})}),i]})})})};var H8="[object String]";function J0(e){return typeof e=="string"||!u.isArray(e)&&u.isObjectLike(e)&&u.baseGetTag(e)==H8}const B8=e=>{const t=j8(e);return t.config.disabled=!e.config.disabled,t},j8=e=>{const t=u.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function z8(e,t,r){const n={guid:t,excludeMembers:!1,backgroundFilter:r};return u.members(e,[],n)}function qi(e){if(!u.isMembersFilter(e))throw new u.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return z8(t,r,n)}function Cl(e){return"members"in e&&e.members.length===0}function ct(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function eh(e,t){return e===void 0&&t===void 0?!1:[e,t].some(r=>r===void 0)||e.length!==t.length?!0:e.length===0&&t.length===0?!1:e.some((r,n)=>!u.isEqualWith(r,t[n],th))}function Tl(e,t){return ct(e.attribute,t.attribute)}function th(e,t){const r=u.flow(W8,V8);return u.isEqual(r(e),r(t))}function W8(e){return J(q({},e),{name:""})}function V8(e){return J(q({},e),{config:J(q({},e.config),{guid:""})})}function U8(e,t,r,n){if(r===void 0&&n===void 0)return!1;if([r,n].some(i=>i===void 0))return!0;function o(i,a){const s=i,l=i,c=a,p=a;return i===void 0&&a===void 0?!0:[i,a].some(h=>h===void 0)||s.operator!==c.operator?!1:l.instanceid&&p.instanceid?!eh(e==null?void 0:e.filter(h=>h.config.guid===l.instanceid),t==null?void 0:t.filter(h=>h.config.guid===p.instanceid)):o(s.left,c.left)&&o(s.right,c.right)||o(s.left,c.right)&&o(s.right,c.left)}return!o(r,n)}const rh="sdkHookInit",q8=(e,t,r,n)=>{if(!r)return;wd(rh,{packageName:t,packageVersion:"1.32.0",hookName:e},r.httpClient).finally(n)};function G8(e){const{tracking:t,app:r}=u.useSisenseContext(),{trackEvent:n}=hs(),o=F.useRef(!1);F.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"1.32.0",hookName:e};n(rh,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const nh=e=>t=>(...r)=>(G8(e),t(...r));function os(e,t){switch(t.type){case"loading":return Y8(e);case"success":return X8(t.data);case"error":return K8(t.error)}}function Y8(e){return e.status==="loading"?e:J(q({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function X8(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function K8(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function oh({enabled:e},t){const r=F.useRef(!1);return F.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var _a=function(){return u.root.Date.now()},Q8="Expected a function",Z8=Math.max,J8=Math.min;function e7(e,t,r){var n,o,i,a,s,l,c=0,p=!1,h=!1,d=!0;if(typeof e!="function")throw new TypeError(Q8);t=u.toNumber(t)||0,u.isObject(r)&&(p=!!r.leading,h="maxWait"in r,i=h?Z8(u.toNumber(r.maxWait)||0,t):i,d="trailing"in r?!!r.trailing:d);function m(C){var S=n,O=o;return n=o=void 0,c=C,a=e.apply(O,S),a}function g(C){return c=C,s=setTimeout(w,t),p?m(C):a}function v(C){var S=C-l,O=C-c,M=t-S;return h?J8(M,i-O):M}function y(C){var S=C-l,O=C-c;return l===void 0||S>=t||S<0||h&&O>=i}function w(){var C=_a();if(y(C))return E(C);s=setTimeout(w,v(C))}function E(C){return s=void 0,d&&n?m(C):(n=o=void 0,a)}function _(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:E(_a())}function b(){var C=_a(),S=y(C);if(n=arguments,o=this,l=C,S){if(s===void 0)return g(l);if(h)return clearTimeout(s),s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return b.cancel=_,b.flush=x,b}function El(e,{onLocalStateChange:t,syncCompareFn:r=u.isEqual}={}){const[n,o]=F.useState(e),i=F.useRef(e);F.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=F.useCallback(s=>{o(l=>{const c=u.isFunction(s)?s(l):s;return t==null||t(c),c})},[t]);return[n,a]}function t7({chartType:e,dataOptions:t,enabled:r}){const[n,o]=F.useState([]),i=F.useMemo(()=>{var d;const h=u.isCartesian(e)&&((d=t.category)==null?void 0:d.length)===1||u.isScatter(e);return r&&h},[r,e,t]),a=F.useMemo(()=>{if(n.length===0)return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!1}))}))});if(u.isScatter(e))return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!n.some(g=>{var v,y;return g.x===m.x&&g.y===m.y&&g.size===m.z&&g.breakByPoint===((v=m.custom)==null?void 0:v.maskedBreakByPoint)&&g.breakByColor===((y=m.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const h=n.reduce((d,{categoryValue:m})=>(m&&(d[`${m}`]=!0),d),{});return d=>J(q({},d),{series:d.series.map(m=>J(q({},m),{data:m.data.map(g=>{var v,y;return h[(y=(v=g.custom)==null?void 0:v.xValue)==null?void 0:y[0]]?g:J(q({},g),{selected:!0})})}))})}},[n,e]),s=F.useMemo(()=>h=>{var d;return J(q({},h),{chart:J(q({},h.chart),{events:J(q({},(d=h.chart)==null?void 0:d.events),{click:()=>{o([])}})})})},[]),l=F.useCallback(h=>(i&&(h=a(h),h=s(h)),h),[a,s,i]),c=F.useCallback(h=>{i&&o(h)},[i]),p=F.useCallback(h=>{i&&o([h])},[i]);return{onBeforeRender:l,onDataPointsSelected:c,onDataPointClick:p}}const ih=()=>{const e=li();if(!e)throw new u.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function is(e){return e&&e.length?Hs(e):[]}function r7(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;){var a=e[o];t(n,a,r(a),e)}return n}function n7(e,t){return function(r,n){if(r==null)return r;if(!u.isArrayLike(r))return e(r,n);for(var o=r.length,i=-1,a=Object(r);++i<o&&n(a[i],i,a)!==!1;);return r}}var o7=n7(u.baseForOwn);function i7(e,t,r,n){return o7(e,function(o,i,a){t(n,o,r(o),a)}),n}function ah(e,t){return function(r,n){var o=u.isArray(r)?r7:i7,i=t?t():{};return o(r,e,u.baseIteratee(n),i)}}var co=ah(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const a7=Vr(te.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),s7=["slots","slotProps"],l7=le(pr)(({theme:e})=>u._extends({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":u._extends({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":u._extends({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:ru(e.palette.grey[200],.12)}:{backgroundColor:ru(e.palette.grey[600],.12)})})),u7=le(a7)({width:24,height:16});function sh(e){const{slots:t={},slotProps:r={}}=e,n=ae(e,s7),o=e;return te.jsx("li",{children:te.jsx(l7,u._extends({focusRipple:!0},n,{ownerState:o,children:te.jsx(u7,u._extends({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(sh.propTypes={slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.object});function c7(e){return Ee("MuiBreadcrumbs",e)}const d7=we("MuiBreadcrumbs",["root","ol","li","separator"]),f7=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],p7=e=>{const{classes:t}=e;return De({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},c7,t)},h7=le(st,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${d7.li}`]:t.li},t.root]})({}),m7=le("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),g7=le("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function v7(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,te.jsx(g7,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const lh=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBreadcrumbs"}),{children:o,className:i,component:a="nav",slots:s={},slotProps:l={},expandText:c="Show path",itemsAfterCollapse:p=1,itemsBeforeCollapse:h=1,maxItems:d=8,separator:m="/"}=n,g=ae(n,f7),[v,y]=z.useState(!1),w=u._extends({},n,{component:a,expanded:v,expandText:c,itemsAfterCollapse:p,itemsBeforeCollapse:h,maxItems:d,separator:m}),E=p7(w),_=Wt({elementType:s.CollapsedIcon,externalSlotProps:l.collapsedIcon,ownerState:w}),x=z.useRef(null),b=S=>{const O=()=>{y(!0);const M=x.current.querySelector("a[href],button,[tabindex]");M&&M.focus()};return h+p>=S.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${p}} + itemsBeforeCollapse={${h}} >= maxItems={${d}}`].join(`
254
+ `)),S):[...S.slice(0,h),te.jsx(sh,{"aria-label":c,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:_},onClick:O},"ellipsis"),...S.slice(S.length-p,S.length)]},C=z.Children.toArray(o).filter(S=>(process.env.NODE_ENV!=="production"&&Nn.isFragment(S)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
255
+ `)),z.isValidElement(S))).map((S,O)=>te.jsx("li",{className:E.li,children:S},`child-${O}`));return te.jsx(h7,u._extends({ref:r,component:a,color:"text.secondary",className:se(E.root,i),ownerState:w},g,{children:te.jsx(m7,{className:E.ol,ref:x,ownerState:w,children:v7(v||d&&C.length<=d?C:b(C),E.separator,m,w)})}))});process.env.NODE_ENV!=="production"&&(lh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,expandText:f.string,itemsAfterCollapse:yt,itemsBeforeCollapse:yt,maxItems:yt,separator:f.node,slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function y7(e){return Ee("MuiButton",e)}const Ao=we("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),uh=z.createContext({});process.env.NODE_ENV!=="production"&&(uh.displayName="ButtonGroupContext");const ch=z.createContext(void 0);process.env.NODE_ENV!=="production"&&(ch.displayName="ButtonGroupButtonContext");const b7=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],_7=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${fe(o)}`],endIcon:["icon","endIcon",`iconSize${fe(o)}`]},l=De(s,y7,a);return u._extends({},a,l)},dh=e=>u._extends({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),x7=le(pr,{shouldForwardProp:e=>Kn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fe(r.color)}`],t[`size${fe(r.size)}`],t[`${r.variant}Size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return u._extends({},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":u._extends({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{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})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{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]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":u._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ao.focusVisible}`]:u._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ao.disabled}`]:u._extends({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Pe(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ao.disabled}`]:{boxShadow:"none"}}),w7=le("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>u._extends({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},dh(e))),C7=le("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>u._extends({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},dh(e))),Wn=z.forwardRef(function(t,r){const n=z.useContext(uh),o=z.useContext(ch),i=_f(n,t),a=Re({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:p,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:v,fullWidth:y=!1,size:w="medium",startIcon:E,type:_,variant:x="text"}=a,b=ae(a,b7),C=u._extends({},a,{color:l,component:c,disabled:h,disableElevation:d,disableFocusRipple:m,fullWidth:y,size:w,type:_,variant:x}),S=_7(C),O=E&&te.jsx(w7,{className:S.startIcon,ownerState:C,children:E}),M=g&&te.jsx(C7,{className:S.endIcon,ownerState:C,children:g}),D=o||"";return te.jsxs(x7,u._extends({ownerState:C,className:se(n.className,S.root,p,D),component:c,disabled:h,focusRipple:!m,focusVisibleClassName:se(S.focusVisible,v),ref:r,type:_},b,{classes:S,children:[O,s,M]}))});process.env.NODE_ENV!=="production"&&(Wn.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary","success","error","info","warning"]),f.string]),component:f.elementType,disabled:f.bool,disableElevation:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,endIcon:f.node,focusVisibleClassName:f.string,fullWidth:f.bool,href:f.string,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),startIcon:f.node,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOfType([f.oneOf(["button","reset","submit"]),f.string]),variant:f.oneOfType([f.oneOf(["contained","outlined","text"]),f.string])});const T7=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=u.useTranslation(),i=t.name,a=u.newStyled(Wn,{target:"e1olvz1k0",label:"StyledCancelButton"})("&&{background-color:",n.activeDrillBackgroundColor,";color:",n.primaryButtonTextColor,";border-radius:100%;border:2px solid white;min-width:39px;width:39px;height:39px;z-index:10;padding:7px;cursor:pointer;text-transform:none;margin-right:-5px;&:hover{background-color:",n.activeDrillHoverBackgroundColor,";color:",n.primaryTextColor,";}}"),s=u.newStyled("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),l=()=>u.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:u.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:u.jsx("path",{fill:"#9EA2AB",d:"M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"})})}),c=u.newStyled(Wn,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",h=>h.theme.fontFamily,";border-radius:0;border:1px solid ",xt,";background-color:",h=>h.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",h=>h.theme.secondaryTextColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;transition:background-color 0.2s,border-color 0.2s,color 0.2s;text-transform:none;cursor:auto;pointer-events:none;white-space:nowrap;&:hover{background-color:",h=>h.theme.chartBackgroundColor,";border:1px solid ",xt,";border-right:none;border-left:none;}}");return{CancelButton:l,CurrentDrillButton:()=>u.jsxs(c,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",u.jsx("span",{className:"flex items-center justify-between",children:u.jsx("span",{className:"csdk-absolute csdk-right-[0px] csdk-top-[3px] csdk-h-[18px] csdk-w-[18px] csdk-transform csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:"transparent",borderTop:`1px solid ${xt}`,borderRight:`1px solid ${xt}`}})})]})}},E7={modifiers:[{name:"offset",options:{offset:[0,12]}}]},S7=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=u.useTranslation();return u.jsxs("div",{className:"csdk-w-50 csdk-px-[12px] csdk-shadow-md csdk-shadow-gray-500 csdk-rounded-md csdk-bg-white",style:{backgroundColor:e.chartBackgroundColor,color:e.primaryTextColor},children:[u.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[u.jsx(st,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),u.jsx(st,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),u.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[u.jsx(st,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),u.jsx(st,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),u.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[u.jsx(st,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),u.jsx(st,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},R7=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return u.jsx(uo,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:E7,children:e&&u.jsx(S7,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},O7=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=u.useThemeContext(),s=u.scaleBrightness(a,-.02),l=u.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:l}},M7=u.newStyled(Br,{target:"egcu0nk0",label:"StyledPrevButton"})("&&{position:absolute;left:0;right:auto;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,white 30%,rgba(255,255,255,0) 100%);display:inline-flex;span[aria-label='prev-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"),P7=u.newStyled(Br,{target:"egcu0nk1",label:"StyledNextButton"})("&&{position:absolute;left:auto;right:0;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,rgba(255,255,255,0) 0,white 70%);display:inline-flex;span[aria-label='next-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"),D7=({currentDimension:e,children:t})=>{const{t:r}=u.useTranslation(),n=F.useRef(null),[o,i]=F.useState(0),[a,s]=F.useState(0),[l,c]=F.useState(0),p=()=>{var g;return(g=n.current)==null?void 0:g.querySelector("ol")};F.useEffect(()=>{const g=p();if(g){const v=g.clientWidth,y=g.scrollWidth,w=g.scrollLeft;i(v),s(y),c(w)}},[e]),F.useEffect(()=>{const g=p();function v(){if(g){const E=g.clientWidth;i(E)}}function y(){if(g){const E=g.scrollLeft;c(E)}}const w=new ResizeObserver(v);return g?(w.observe(g),g.addEventListener("scroll",y),()=>{w.disconnect(),g.removeEventListener("scroll",y)}):()=>{}},[]);const h=g=>{const y="smooth",w=p();w&&w.scrollBy({left:g==="right"?200:-200,behavior:y})},d=l!=0,m=Math.floor(a-l)>o;return u.jsxs("div",{style:{position:"relative"},children:[d&&u.jsx(M7,{onClick:()=>h("left"),children:u.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),m&&u.jsx(P7,{onClick:()=>h("right"),children:u.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),u.jsx("div",{ref:n,children:t})]})},xt="#F2F2F2",k7=u.newStyled(Wn,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",xt,";border-right:none;color:",({active:e,theme:t})=>e==="true"?t.primaryTextColor:t.secondaryTextColor,";background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillBackgroundColor:t.chartBackgroundColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;text-transform:none;transition:background-color 0.2s,border-color 0.2s,color 0.2s;white-space:nowrap;cursor:",({active:e})=>e==="true"?"pointer":"auto",";margin-right:",({active:e})=>e==="true"?"5px":"0px",";&:hover{background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillHoverBackgroundColor:t.chartBackgroundColor,";border:1px solid ",xt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),A7=u.newStyled(lh,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),I7=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>u.jsx(k7,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:u.jsxs("span",{className:"flex items-center justify-between",children:[u.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?u.jsx("span",{className:"csdk-absolute csdk-right-0 csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:t===(a==null?void 0:a.filterDisplayValues)?i.activeDrillHoverBackgroundColor:i.activeDrillBackgroundColor,borderTop:`1px solid ${xt}`,borderRight:`1px solid ${xt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,u.jsx("span",{className:`csdk-absolute ${e?"csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-right-[-15px]":"csdk-h-[10px] csdk-w-[10px] csdk-top-[7px] csdk-right-[-5px]"} csdk-transform translate-x-1/2 csdk-rotate-45`,style:{backgroundColor:i.chartBackgroundColor,borderTop:`1px solid ${xt}`,borderRight:`1px solid ${xt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),fh=eo({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=F.useState(null),[a,s]=F.useState(!1),l=O7(),{CancelButton:c,CurrentDrillButton:p}=T7({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:l}),h=v=>y=>{s(!0),i({filterDisplayValues:v,anchorEl:y.currentTarget})},d=()=>{s(!1),i(null)},m=v=>v<e.length-1,g=v=>v===e.length-2;return e.length?u.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:u.jsx(D7,{currentDimension:t,children:u.jsxs(A7,{separator:null,sx:{backgroundColor:l.chartBackgroundColor,padding:"4px"},children:[u.jsx(c,{}),e.map((v,y)=>{const w=m(y),E=g(y);return u.jsx("div",{children:u.jsx(I7,{isActive:w,isLastActive:E,filterDisplayValue:v,handleMouseEnter:h(v),handleMouseLeave:d,handleClick:()=>n(y+1),themeProps:l,popperParams:o,index:y})},y)}),u.jsx(p,{}),u.jsx(R7,{popperParams:o,currentDimension:t,themeProps:l})]})})}):null}),ph=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=F.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=F.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=u.useTranslation();if(!t)throw new u.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=El(o,{onLocalStateChange:r}),l=F.useMemo(()=>[u.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),c=F.useMemo(()=>n.filter(y=>{if(u.MetadataTypes.isAttribute(y)){const _=y;return l.every(x=>!ct(x,_))}const E=y;return l.every((_,x)=>ct(_,E.levels[x]))}),[n,l]),p=F.useCallback((y,w,E)=>{s(_=>hh(_,y,w,E))},[s]),h=F.useCallback(y=>{s(w=>w.slice(0,y))},[s]),d=F.useCallback(()=>{s([])},[s]),{drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v}=F.useMemo(()=>mh(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:c,drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}},hh=(e,t,r,n)=>{var d,m;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(ct(n.levels[0],r))return[];const i=(d=e==null?void 0:e.findIndex(g=>ct(g.nextDimension,r)))!=null?d:-1;if(i!==-1)return e.slice(0,i+1);const s=(m=u.last(e))==null?void 0:m.nextDimension,l=e.length?n.levels.findIndex(g=>s&&ct(g,s)):0,c=n.levels.indexOf(r),h=n.levels.slice(l+1,c+1).map((g,v)=>({points:v===0?t:[],nextDimension:g}));return[...e,...h]},mh=(e,t,r)=>{let n=t&&u.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(u.members(n,a.map(N7)));const l=a.length?a.map(gh):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(l),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function gh(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function N7(e){return"categoryValue"in e?`${e.categoryValue}`:""}var $7=Object.prototype,L7=$7.hasOwnProperty,F7=ah(function(e,t,r){L7.call(e,r)?e[r].push(t):u.baseAssignValue(e,r,[t])});function H7(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function vh(e,t){return e.find(r=>ct(r.attribute,t))}function yh(e,t,r){const n=vh(r,e);return u.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function bh(e,t){return Tl(e,t)&&"members"in e&&"members"in t&&u.isEqual(e.members,t.members)}var Vn=function(e){return e.DRILLDOWN_CHART_POINTS_SELECTION="drilldown-chart-points-selection",e.DRILLDOWN_DRILL_DIRECTIONS="drilldown-drill-directions",e.CROSSFILTERING_CHART_POINTS_SELECTION="crossfiltering-chart-points-selection",e}({});const _h=2;function tn(e,t){const r=e.flatMap(({entries:o={}})=>t.flatMap(i=>{const a=o[i];return a?(Array.isArray(a)?a:[a]).filter(({attribute:l})=>!!l):[]})),n=F7(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:is(o.map(({value:i})=>i)),displayValues:is(o.map(({displayValue:i})=>i))}))}function B7(e){return tn(e,["category"])}function j7(e){return tn(e,["category"])}function z7(e,t){const r=tn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:u.translateColumnToAttribute(o),values:[],displayValues:[]})}function W7(e){return tn(e,["x","y","breakByPoint","breakByColor"])}function V7(e){return tn(e,["geo"])}function U7(e){return tn(e,["geo"])}function Bo(e,t,r){return e==="plugin"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?z7(r,t):u.isCartesian(e)||e==="pie"||e==="funnel"?B7(r):u.isBoxplot(e)?j7(r):u.isScatter(e)?W7(r):u.isScattermap(e)?V7(r):u.isAreamap(e)?U7(r):[]}function Sl(e,t){let r=[];return e==="plugin"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:u.isCartesian(e)||u.isCategorical(e)||u.isBoxplot(e)||u.isRange(e)?r=[...t.category]:u.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!u.isMeasureColumn(n))):(u.isScattermap(e)||u.isAreamap(e))&&(r=[...t.geo]),r.map(u.translateColumnToAttribute)}function q7(e,t,r){const n=vh(t,e.attribute);if(!n||Cl(n))return null;if(bh(e,n))return qi(e);if(u.isMembersFilter(n)&&r){const[o,i]=co(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return yh(e.attribute,i,[n])}return null}function G7(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>q7(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function xa(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>yh(i,a,t)),o=Y7(t,n);return G7(o,t,r)}function Y7(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>Tl(o,n))):t}function X7(e,t,r){const n=Bo(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>_h;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function Yc(e,t,r){const n=X7(e,t,r);return n?{id:Vn.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function Xc(e,t){return{items:[{caption:e,onClick:t}]}}const K7=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=u.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:l,drilldownDimension:c,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}=ph({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),m=F.useCallback((v,y)=>{const w=[xh(y,c),wh(a,c,(E,_)=>{p(y,E,_)},i)];n({position:v,itemSections:w})},[c,a,i,p,n]),g=F.useMemo(()=>c&&u.jsx(fh,{filtersDisplayValues:l,currentDimension:c,clearDrilldownSelections:d,sliceDrilldownSelections:h}),[d,c,l,h]);return{drilldownDimension:c,drilldownFilters:s,breadcrumbs:g,openDrilldownMenu:m}};function xh(e,t){const r=is(e.map(gh).filter(n=>!!n));return r.length>_h?{id:Vn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:Vn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function Q7(e){return 30+12*e}function wh(e,t,r,n){const[o,i]=co(e,u.MetadataTypes.isAttribute.bind(u.MetadataTypes)),a=o.map(l=>({caption:l.name,onClick:()=>r(l)})),s=i.map(l=>({caption:l.title,subItems:[{items:l.levels.map((c,p)=>({caption:c.name,class:p===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${Q7(p)}px`},disabled:ct(c,t),onClick:()=>r(c,l)}))}]}));return{id:Vn.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var Gi=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Ch(e){return function(t){t=u.toString(t);var r=Af(t)?ja(t):void 0,n=r?r[0]:t.charAt(0),o=r?kf(r,1).join(""):t.slice(1);return n[e]()+o}}var Th=Ch("toUpperCase");function Z7(e){return Th(u.toString(e).toLowerCase())}function J7(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;)r=t(r,e[o],o,e);return r}function eA(e){return function(t){return e==null?void 0:e[t]}}var tA={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},rA=eA(tA),nA=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,oA="\\u0300-\\u036f",iA="\\ufe20-\\ufe2f",aA="\\u20d0-\\u20ff",sA=oA+iA+aA,lA="["+sA+"]",uA=RegExp(lA,"g");function cA(e){return e=u.toString(e),e&&e.replace(nA,rA).replace(uA,"")}var dA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function fA(e){return e.match(dA)||[]}var pA=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hA(e){return pA.test(e)}var Eh="\\ud800-\\udfff",mA="\\u0300-\\u036f",gA="\\ufe20-\\ufe2f",vA="\\u20d0-\\u20ff",yA=mA+gA+vA,Sh="\\u2700-\\u27bf",Rh="a-z\\xdf-\\xf6\\xf8-\\xff",bA="\\xac\\xb1\\xd7\\xf7",_A="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xA="\\u2000-\\u206f",wA=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oh="A-Z\\xc0-\\xd6\\xd8-\\xde",CA="\\ufe0e\\ufe0f",Mh=bA+_A+xA+wA,Ph="['’]",Kc="["+Mh+"]",TA="["+yA+"]",Dh="\\d+",EA="["+Sh+"]",kh="["+Rh+"]",Ah="[^"+Eh+Mh+Dh+Sh+Rh+Oh+"]",SA="\\ud83c[\\udffb-\\udfff]",RA="(?:"+TA+"|"+SA+")",OA="[^"+Eh+"]",Ih="(?:\\ud83c[\\udde6-\\uddff]){2}",Nh="[\\ud800-\\udbff][\\udc00-\\udfff]",Mr="["+Oh+"]",MA="\\u200d",Qc="(?:"+kh+"|"+Ah+")",PA="(?:"+Mr+"|"+Ah+")",Zc="(?:"+Ph+"(?:d|ll|m|re|s|t|ve))?",Jc="(?:"+Ph+"(?:D|LL|M|RE|S|T|VE))?",$h=RA+"?",Lh="["+CA+"]?",DA="(?:"+MA+"(?:"+[OA,Ih,Nh].join("|")+")"+Lh+$h+")*",kA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",AA="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",IA=Lh+$h+DA,NA="(?:"+[EA,Ih,Nh].join("|")+")"+IA,$A=RegExp([Mr+"?"+kh+"+"+Zc+"(?="+[Kc,Mr,"$"].join("|")+")",PA+"+"+Jc+"(?="+[Kc,Mr+Qc,"$"].join("|")+")",Mr+"?"+Qc+"+"+Zc,Mr+"+"+Jc,AA,kA,Dh,NA].join("|"),"g");function LA(e){return e.match($A)||[]}function FA(e,t,r){return e=u.toString(e),t=t,t===void 0?hA(e)?LA(e):fA(e):e.match(t)||[]}var HA="['’]",BA=RegExp(HA,"g");function jA(e){return function(t){return J7(FA(cA(t).replace(BA,"")),e,"")}}var Fh=jA(function(e,t,r){return t=t.toLowerCase(),e+(r?Z7(t):t)});function zA(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>u.createDimensionalElementFromJaql(o))}}function Hh(e,t,r){return tt(this,null,function*(){const o=yield new u.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>zA(i))})}const WA=nh("useGetHierarchyModels")(Bh);function Bh(e){const t=wl(e,["dataSource","dimension","ids","alwaysIncluded"]),r=oh(e,t),[n,o]=F.useReducer(os,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=u.useSisenseContext();return F.useEffect(()=>{i||o({type:"error",error:new u.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),Hh(a.httpClient,e,a.defaultDataSource).then(s=>{o({type:"success",data:s})}).catch(s=>{o({type:"error",error:s})}))},[a,i,e,r]),n.data&&t?ed(os(n,{type:"loading"})):ed(n)}function ed(e){const n=e,{data:t}=n,r=fn(n,["data"]);return J(q({},r),{hierarchies:t})}function VA({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=F.useMemo(()=>co(r,J0),[r]),{hierarchies:a=[]}=Bh({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return F.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function UA(e,t){return Sl(e,t)[0]}function qA(e){return[...u.CARTESIAN_CHART_TYPES,...u.CATEGORICAL_CHART_TYPES,...u.SCATTER_CHART_TYPES,...u.BOXPLOT_CHART_TYPES,...u.RANGE_CHART_TYPES].includes(e)}function GA(e,t){return Sl(e,t).length===1}function YA(e,t){return GA(e,t)&&qA(e)}function jh(e,t,r){const n=o=>!!o&&!ct(r,u.translateColumnToAttribute(o));if(u.isCartesian(e)||u.isCategorical(e)||u.isBoxplot(e)||u.isRange(e)){const o=t.category[0];if(n(o))return J(q({},t),{category:[r]})}else if(u.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!u.isMeasureColumn(s)&&n(s))return J(q({},o),{[a]:r})}}return t}function td(e,t,r){return e.map(n=>{const o=["x","y","breakByPoint","breakByColor"],i=[...o,"size"].some(s=>s in n),a=o.find(s=>r[s]&&!u.isMeasureColumn(r[s]));if(i){const s=t,l=s.type==="mouseup";l&&console.warn("No drilldown support for multi-selection in scatter chart");const c=l?n[a]:s.point.options.custom[Fh(`{masked ${a}`)];return{categoryValue:c,categoryDisplayValue:c}}return n})}const XA=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=ih(),l=F.useMemo(()=>YA(r,n),[r,n]),c=F.useMemo(()=>[...(i==null?void 0:i.drilldownPaths)||[],...(i==null?void 0:i.drilldownDimensions)||[]],[i==null?void 0:i.drilldownPaths,i==null?void 0:i.drilldownDimensions]),p=F.useMemo(()=>{const O=u.createAttribute({name:"dummy drilldown initial attribute"});return UA(r,n)||O},[r,n]),h=VA({attribute:p,dataSource:o,drilldownPaths:c,enabled:l}),d=F.useMemo(()=>{var M,D;return(((M=i==null?void 0:i.drilldownSelections)==null?void 0:M.length)||((D=i==null?void 0:i.drilldownDimensions)==null?void 0:D.length)||(h==null?void 0:h.length))&&l},[i,l,h]),{drilldownDimension:m,drilldownFilters:g,breadcrumbs:v,openDrilldownMenu:y}=K7({initialDimension:p,drilldownSelections:a,drilldownPaths:h,openMenu:s,onDrilldownSelectionsChange:t}),w=F.useCallback((O,M)=>{const D=td(O,M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),E=F.useCallback((O,M)=>{const D=td([O],M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),_=F.useMemo(()=>jh(r,n,m),[r,n,m]),x=F.useMemo(()=>g.length?gd(e.filters||[],g):e.filters,[e.filters,g]),b=F.useMemo(()=>u.combineHandlers([w,e.onDataPointsSelected]),[w,e.onDataPointsSelected]),C=F.useMemo(()=>u.combineHandlers([E,e.onDataPointContextMenu]),[E,e.onDataPointContextMenu]);return{propsWithDrilldown:q(q({},e),d&&{dataOptions:_,filters:x,onDataPointsSelected:b,onDataPointContextMenu:C}),isDrilldownEnabled:d,breadcrumbs:v}},KA=eo({componentName:"ChartWidget"})(e=>{var O,M;const{app:t}=u.useSisenseContext(),{chartType:r,dataSource:n=t==null?void 0:t.defaultDataSource,dataOptions:o,styleOptions:i,highlightSelectionDisabled:a=!1,highlights:s,description:l,onChange:c}=e,{width:p,height:h}=i||{},d=Uf(r,{hasHeader:!((O=i==null?void 0:i.header)!=null&&O.hidden)}),[m,g]=F.useState(0),v=F.useMemo(()=>u.omit(i,["width","height"]),[i]),y=F.useCallback(D=>{c==null||c({drilldownOptions:{drilldownSelections:D}})},[c]),{propsWithDrilldown:w,isDrilldownEnabled:E,breadcrumbs:_}=XA({propsToExtend:e,onDrilldownSelectionsChange:y}),x=t7({chartType:r,dataOptions:o,enabled:!a&&!E&&!(s!=null&&s.length)}),b=(M=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:M.enabled,C=F.useCallback(D=>{var R;return b?J(q({},D),{accessibility:J(q({},D.accessibility),{description:l!=null?l:(R=D.accessibility)==null?void 0:R.description})}):D},[l,b]);if(!r||!o)return null;const S=J(q({},w),{dataSet:n,styleOptions:v,refreshCounter:m,onDataPointClick:F.useMemo(()=>u.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:w.onDataPointContextMenu,onDataPointsSelected:F.useMemo(()=>u.combineHandlers([x.onDataPointsSelected,w.onDataPointsSelected]),[x.onDataPointsSelected,w.onDataPointsSelected]),onBeforeRender:F.useMemo(()=>u.combineHandlers([C,x.onBeforeRender,e.onBeforeRender],!0),[C,x.onBeforeRender,e.onBeforeRender])});return u.jsx(Ei,{defaultSize:d,size:{width:p,height:h},children:u.jsx(Z0,J(q({},e),{topSlot:u.jsxs(u.Fragment,{children:[e.topSlot,_]}),dataSetName:n&&u.getDataSourceName(n),onRefresh:()=>g(m+1),children:u.jsx(G0,q({},S))}))})});class rn{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const r={listener:t};return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Un=typeof window=="undefined"||"Deno"in window;function ot(){}function QA(e,t){return typeof e=="function"?e(t):e}function as(e){return typeof e=="number"&&e>=0&&e!==1/0}function zh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function En(e,t,r){return fo(e)?typeof t=="function"?J(q({},r),{queryKey:e,queryFn:t}):J(q({},t),{queryKey:e}):e}function ZA(e,t,r){return fo(e)?J(q({},t),{mutationKey:e}):typeof e=="function"?J(q({},t),{mutationFn:e}):q({},e)}function Ht(e,t,r){return fo(e)?[J(q({},t),{queryKey:e}),r]:[e||{},t]}function rd(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(fo(a)){if(n){if(t.queryHash!==Rl(a,t.options))return!1}else if(!kr(t.queryKey,a))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function nd(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(fo(i)){if(!t.options.mutationKey)return!1;if(r){if(sr(t.options.mutationKey)!==sr(i))return!1}else if(!kr(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function Rl(e,t){return((t==null?void 0:t.queryKeyHashFn)||sr)(e)}function sr(e){return JSON.stringify(e,(t,r)=>ss(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function kr(e,t){return Wh(e,t)}function Wh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!Wh(e[r],t[r])):!1}function Vh(e,t){if(e===t)return e;const r=od(e)&&od(t);if(r||ss(e)&&ss(t)){const n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{};let s=0;for(let l=0;l<i;l++){const c=r?l:o[l];a[c]=Vh(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function ti(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function od(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ss(e){if(!id(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!id(r)||!r.hasOwnProperty("isPrototypeOf"))}function id(e){return Object.prototype.toString.call(e)==="[object Object]"}function fo(e){return Array.isArray(e)}function Uh(e){return new Promise(t=>{setTimeout(t,e)})}function ad(e){Uh(0).then(e)}function JA(){if(typeof AbortController=="function")return new AbortController}function ls(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Vh(e,t):t}class eI extends rn{constructor(){super(),this.setup=t=>{if(!Un&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),window.addEventListener("focus",r,!1),()=>{window.removeEventListener("visibilitychange",r),window.removeEventListener("focus",r)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const ri=new eI,sd=["online","offline"];class tI extends rn{constructor(){super(),this.setup=t=>{if(!Un&&window.addEventListener){const r=()=>t();return sd.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{sd.forEach(n=>{window.removeEventListener(n,r)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setOnline(n):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const ni=new tI;function rI(e){return Math.min(1e3*Qe(2,e),3e4)}function Yi(e){return(e!=null?e:"online")==="online"?ni.isOnline():!0}class qh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function jo(e){return e instanceof qh}function Gh(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,w)=>{i=y,a=w}),l=y=>{n||(m(new qh(y)),e.abort==null||e.abort())},c=()=>{t=!0},p=()=>{t=!1},h=()=>!ri.isFocused()||e.networkMode!=="always"&&!ni.isOnline(),d=y=>{n||(n=!0,e.onSuccess==null||e.onSuccess(y),o==null||o(),i(y))},m=y=>{n||(n=!0,e.onError==null||e.onError(y),o==null||o(),a(y))},g=()=>new Promise(y=>{o=w=>{const E=n||!h();return E&&y(w),E},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),v=()=>{if(n)return;let y;try{y=e.fn()}catch(w){y=Promise.reject(w)}Promise.resolve(y).then(d).catch(w=>{var E,_;if(n)return;const x=(E=e.retry)!=null?E:3,b=(_=e.retryDelay)!=null?_:rI,C=typeof b=="function"?b(r,w):b,S=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,w);if(t||!S){m(w);return}r++,e.onFail==null||e.onFail(r,w),Uh(C).then(()=>{if(h())return g()}).then(()=>{t?m(w):v()})})};return Yi(e.networkMode)?v():g().then(v),{promise:s,cancel:l,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:c,continueRetry:p}}const Ol=console;function nI(){let e=[],t=0,r=p=>{p()},n=p=>{p()};const o=p=>{let h;t++;try{h=p()}finally{t--,t||s()}return h},i=p=>{t?e.push(p):ad(()=>{r(p)})},a=p=>(...h)=>{i(()=>{p(...h)})},s=()=>{const p=e;e=[],p.length&&ad(()=>{n(()=>{p.forEach(h=>{r(h)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:p=>{r=p},setBatchNotifyFunction:p=>{n=p}}}const ke=nI();class Yh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),as(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Un?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class oI extends Yh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Ol,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||iI(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=q(q({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=ls(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){this.dispatch({type:"setState",state:t,setStateOptions:r})}cancel(t){var r;const n=this.promise;return(r=this.retryer)==null||r.cancel(t),n?n.then(ot).catch(ot):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!zh(this.state.dataUpdatedAt,t)}onFocus(){var t;const r=this.observers.find(n=>n.shouldFetchOnWindowFocus());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const r=this.observers.find(n=>n.shouldFetchOnReconnect());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,r){var n,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&r!=null&&r.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(g=>g.options.queryFn);m&&this.setOptions(m.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const a=JA(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),p={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(p),(n=this.options.behavior)==null||n.onFetch(p),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=p.fetchOptions)==null?void 0:o.meta)){var h;this.dispatch({type:"fetch",meta:(h=p.fetchOptions)==null?void 0:h.meta})}const d=m=>{if(jo(m)&&m.silent||this.dispatch({type:"error",error:m}),!jo(m)){var g,v,y,w;(g=(v=this.cache.config).onError)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,this.state.data,m,this),process.env.NODE_ENV!=="production"&&this.logger.error(m)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Gh({fn:p.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:m=>{var g,v,y,w;if(typeof m=="undefined"){process.env.NODE_ENV!=="production"&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),d(new Error(this.queryHash+" data is undefined"));return}this.setData(m),(g=(v=this.cache.config).onSuccess)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,m,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(m,g)=>{this.dispatch({type:"failed",failureCount:m,error:g})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return J(q({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return J(q({},n),{fetchStatus:"paused"});case"continue":return J(q({},n),{fetchStatus:"fetching"});case"fetch":return q(J(q({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Yi(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return q(J(q({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const a=t.error;return jo(a)&&a.revert&&this.revertState?J(q({},this.revertState),{fetchStatus:"idle"}):J(q({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return J(q({},n),{isInvalidated:!0});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function iI(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof t!="undefined",n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n!=null?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}class aI extends rn{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,r,n){var o;const i=r.queryKey,a=(o=r.queryHash)!=null?o:Rl(i,r);let s=this.get(a);return s||(s=new oI({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const r=this.queriesMap[t.queryHash];r&&(t.destroy(),this.queries=this.queries.filter(n=>n!==t),r===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){ke.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=Ht(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>rd(n,o))}findAll(t,r){const[n]=Ht(t,r);return Object.keys(n).length>0?this.queries.filter(o=>rd(n,o)):this.queries}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){ke.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){ke.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class sI extends Yh{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Ol,this.observers=[],this.state=t.state||Xh(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=q(q({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,r;return(t=(r=this.retryer)==null?void 0:r.continue())!=null?t:this.execute()}execute(){return tt(this,null,function*(){const t=()=>{var S;return this.retryer=Gh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(O,M)=>{this.dispatch({type:"failed",failureCount:O,error:M})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(S=this.options.retry)!=null?S:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,l,c,p;if(!r){var h,d,m,g;this.dispatch({type:"loading",variables:this.options.variables}),yield(h=(d=this.mutationCache.config).onMutate)==null?void 0:h.call(d,this.state.variables,this);const O=yield(m=(g=this.options).onMutate)==null?void 0:m.call(g,this.state.variables);O!==this.state.context&&this.dispatch({type:"loading",context:O,variables:this.state.variables})}const S=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,S,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,S,this.state.variables,this.state.context),yield(s=(l=this.mutationCache.config).onSettled)==null?void 0:s.call(l,S,null,this.state.variables,this.state.context,this),yield(c=(p=this.options).onSettled)==null?void 0:c.call(p,S,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:S}),S}catch(S){try{var v,y,w,E,_,x,b,C;throw yield(v=(y=this.mutationCache.config).onError)==null?void 0:v.call(y,S,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(S),yield(w=(E=this.options).onError)==null?void 0:w.call(E,S,this.state.variables,this.state.context),yield(_=(x=this.mutationCache.config).onSettled)==null?void 0:_.call(x,void 0,S,this.state.variables,this.state.context,this),yield(b=(C=this.options).onSettled)==null?void 0:b.call(C,void 0,S,this.state.variables,this.state.context),S}finally{this.dispatch({type:"error",error:S})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return J(q({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return J(q({},n),{isPaused:!0});case"continue":return J(q({},n),{isPaused:!1});case"loading":return J(q({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Yi(this.options.networkMode),status:"loading",variables:t.variables});case"success":return J(q({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return J(q({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Xh(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class lI extends rn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new sI({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(r),state:n,defaultOptions:r.mutationKey?t.getMutationDefaults(r.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(r=>r!==t),this.notify({type:"removed",mutation:t})}clear(){ke.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(r=>nd(t,r))}findAll(t){return this.mutations.filter(r=>nd(t,r))}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const r=this.mutations.filter(n=>n.state.isPaused);return ke.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(ot)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function uI(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,i,a;const s=(t=e.fetchOptions)==null||(r=t.meta)==null?void 0:r.refetchPage,l=(n=e.fetchOptions)==null||(o=n.meta)==null?void 0:o.fetchMore,c=l==null?void 0:l.pageParam,p=(l==null?void 0:l.direction)==="forward",h=(l==null?void 0:l.direction)==="backward",d=((i=e.state.data)==null?void 0:i.pages)||[],m=((a=e.state.data)==null?void 0:a.pageParams)||[];let g=m,v=!1;const y=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)v=!0;else{var O;(O=e.signal)==null||O.addEventListener("abort",()=>{v=!0})}return e.signal}})},w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),E=(C,S,O,M)=>(g=M?[S,...g]:[...g,S],M?[O,...C]:[...C,O]),_=(C,S,O,M)=>{if(v)return Promise.reject("Cancelled");if(typeof O=="undefined"&&!S&&C.length)return Promise.resolve(C);const D={queryKey:e.queryKey,pageParam:O,meta:e.options.meta};y(D);const R=w(D);return Promise.resolve(R).then(A=>E(C,O,A,M))};let x;if(!d.length)x=_([]);else if(p){const C=typeof c!="undefined",S=C?c:ld(e.options,d);x=_(d,C,S)}else if(h){const C=typeof c!="undefined",S=C?c:cI(e.options,d);x=_(d,C,S,!0)}else{g=[];const C=typeof e.options.getNextPageParam=="undefined";x=(s&&d[0]?s(d[0],0,d):!0)?_([],C,m[0]):Promise.resolve(E([],m[0],d[0]));for(let O=1;O<d.length;O++)x=x.then(M=>{if(s&&d[O]?s(d[O],O,d):!0){const R=C?m[O]:ld(e.options,M);return _(M,C,R)}return Promise.resolve(E(M,m[O],d[O]))})}return x.then(C=>({pages:C,pageParams:g}))}}}}function ld(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function cI(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class dI{constructor(t={}){this.queryCache=t.queryCache||new aI,this.mutationCache=t.mutationCache||new lI,this.logger=t.logger||Ol,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,process.env.NODE_ENV!=="production"&&t.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=ri.subscribe(()=>{ri.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=ni.subscribe(()=>{ni.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,r;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(r=this.unsubscribeOnline)==null||r.call(this),this.unsubscribeOnline=void 0)}isFetching(t,r){const[n]=Ht(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll(J(q({},t),{fetching:!0})).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}ensureQueryData(t,r,n){const o=En(t,r,n),i=this.getQueryData(o.queryKey);return i?Promise.resolve(i):this.fetchQuery(o)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:r,state:n})=>{const o=n.data;return[r,o]})}setQueryData(t,r,n){const o=this.queryCache.find(t),i=o==null?void 0:o.state.data,a=QA(r,i);if(typeof a=="undefined")return;const s=En(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,J(q({},n),{manual:!0}))}setQueriesData(t,r,n){return ke.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,r,n)]))}getQueryState(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state}removeQueries(t,r){const[n]=Ht(t,r),o=this.queryCache;ke.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=Ht(t,r,n),a=this.queryCache,s=q({type:"active"},o);return ke.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=Ht(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=ke.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(ot).catch(ot)}invalidateQueries(t,r,n){const[o,i]=Ht(t,r,n);return ke.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(c=>{c.invalidate()}),o.refetchType==="none")return Promise.resolve();const l=J(q({},o),{type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"});return this.refetchQueries(l,i)})}refetchQueries(t,r,n){const[o,i]=Ht(t,r,n),a=ke.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,J(q({},i),{cancelRefetch:(c=i==null?void 0:i.cancelRefetch)!=null?c:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(ot);return i!=null&&i.throwOnError||(s=s.catch(ot)),s}fetchQuery(t,r,n){const o=En(t,r,n),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,r,n){return this.fetchQuery(t,r,n).then(ot).catch(ot)}fetchInfiniteQuery(t,r,n){const o=En(t,r,n);return o.behavior=uI(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(ot).catch(ot)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,r){const n=this.queryDefaults.find(o=>sr(t)===sr(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>kr(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>kr(t,o.queryKey)).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(t)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."),r==null?void 0:r.defaultOptions}setMutationDefaults(t,r){const n=this.mutationDefaults.find(o=>sr(t)===sr(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>kr(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>kr(t,o.mutationKey)).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(t)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults."),r==null?void 0:r.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const r=J(q(q(q({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=Rl(r.queryKey,r)),typeof r.refetchOnReconnect=="undefined"&&(r.refetchOnReconnect=r.networkMode!=="always"),typeof r.useErrorBoundary=="undefined"&&(r.useErrorBoundary=!!r.suspense),r}defaultMutationOptions(t){return t!=null&&t._defaulted?t:J(q(q(q({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class fI extends rn{constructor(t,r){super(),this.client=t,this.options=r,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),ud(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return us(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return us(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,r){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),process.env.NODE_ENV!=="production"&&typeof(t==null?void 0:t.isDataEqual)!="undefined"&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),ti(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled!="undefined"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const i=this.hasListeners();i&&cd(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(r),i&&(this.currentQuery!==o||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();const a=this.computeRefetchInterval();i&&(this.currentQuery!==o||this.options.enabled!==n.enabled||a!==this.currentRefetchInterval)&&this.updateRefetchInterval(a)}getOptimisticResult(t){const r=this.client.getQueryCache().build(this.client,t),n=this.createResult(r,t);return hI(this,n,t)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){const r={};return Object.keys(t).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})}),r}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch(n={}){var o=n,{refetchPage:t}=o,r=fn(o,["refetchPage"]);return this.fetch(J(q({},r),{meta:{refetchPage:t}}))}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch(J(q({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(ot)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),Un||this.currentResult.isStale||!as(this.options.staleTime))return;const r=zh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},r)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Un||this.options.enabled===!1||!as(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||ri.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,r){const n=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=t!==n,c=l?t.state:this.currentQueryInitialState,p=l?this.currentResult:this.previousQueryResult,{state:h}=t;let{dataUpdatedAt:d,error:m,errorUpdatedAt:g,fetchStatus:v,status:y}=h,w=!1,E=!1,_;if(r._optimisticResults){const O=this.hasListeners(),M=!O&&ud(t,r),D=O&&cd(t,n,r,o);(M||D)&&(v=Yi(t.options.networkMode)?"fetching":"paused",d||(y="loading")),r._optimisticResults==="isRestoring"&&(v="idle")}if(r.keepPreviousData&&!h.dataUpdatedAt&&p!=null&&p.isSuccess&&y!=="error")_=p.data,d=p.dataUpdatedAt,y=p.status,w=!0;else if(r.select&&typeof h.data!="undefined")if(i&&h.data===(a==null?void 0:a.data)&&r.select===this.selectFn)_=this.selectResult;else try{this.selectFn=r.select,_=r.select(h.data),_=ls(i==null?void 0:i.data,_,r),this.selectResult=_,this.selectError=null}catch(O){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(O),this.selectError=O}else _=h.data;if(typeof r.placeholderData!="undefined"&&typeof _=="undefined"&&y==="loading"){let O;if(i!=null&&i.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))O=i.data;else if(O=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof O!="undefined")try{O=r.select(O),this.selectError=null}catch(M){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(M),this.selectError=M}typeof O!="undefined"&&(y="success",_=ls(i==null?void 0:i.data,O,r),E=!0)}this.selectError&&(m=this.selectError,_=this.selectResult,g=Date.now(),y="error");const x=v==="fetching",b=y==="loading",C=y==="error";return{status:y,fetchStatus:v,isLoading:b,isSuccess:y==="success",isError:C,isInitialLoading:b&&x,data:_,dataUpdatedAt:d,error:m,errorUpdatedAt:g,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!b,isLoadingError:C&&h.dataUpdatedAt===0,isPaused:v==="paused",isPlaceholderData:E,isPreviousData:w,isRefetchError:C&&h.dataUpdatedAt!==0,isStale:Ml(t,r),refetch:this.refetch,remove:this.remove}}updateResult(t){const r=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,ti(n,r))return;this.currentResult=n;const o={cache:!0},i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,s=typeof a=="function"?a():a;if(s==="all"||!s&&!this.trackedProps.size)return!0;const l=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&l.add("error"),Object.keys(this.currentResult).some(c=>{const p=c;return this.currentResult[p]!==r[p]&&l.has(p)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(q(q({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!jo(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){ke.batch(()=>{if(t.onSuccess){var r,n,o,i;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,l,c;(a=(s=this.options).onError)==null||a.call(s,this.currentResult.error),(l=(c=this.options).onSettled)==null||l.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(({listener:p})=>{p(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function pI(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function ud(e,t){return pI(e,t)||e.state.dataUpdatedAt>0&&us(e,t,t.refetchOnMount)}function us(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Ml(e,t)}return!1}function cd(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Ml(e,r)}function Ml(e,t){return e.isStaleByTime(t.staleTime)}function hI(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!ti(e.getCurrentResult(),t)}var cs={exports:{}},wa={};/**
256
+ * @license React
257
+ * use-sync-external-store-shim.production.min.js
258
+ *
259
+ * Copyright (c) Facebook, Inc. and its affiliates.
260
+ *
261
+ * This source code is licensed under the MIT license found in the
262
+ * LICENSE file in the root directory of this source tree.
263
+ */var dd;function mI(){if(dd)return wa;dd=1;var e=F;function t(h,d){return h===d&&(h!==0||1/h===1/d)||h!==h&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(h,d){var m=d(),g=n({inst:{value:m,getSnapshot:d}}),v=g[0].inst,y=g[1];return i(function(){v.value=m,v.getSnapshot=d,l(v)&&y({inst:v})},[h,m,d]),o(function(){return l(v)&&y({inst:v}),h(function(){l(v)&&y({inst:v})})},[h]),a(m),m}function l(h){var d=h.getSnapshot;h=h.value;try{var m=d();return!r(h,m)}catch(g){return!0}}function c(h,d){return d()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?c:s;return wa.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,wa}var Ca={};/**
264
+ * @license React
265
+ * use-sync-external-store-shim.development.js
266
+ *
267
+ * Copyright (c) Facebook, Inc. and its affiliates.
268
+ *
269
+ * This source code is licensed under the MIT license found in the
270
+ * LICENSE file in the root directory of this source tree.
271
+ */var fd;function gI(){return fd||(fd=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=F,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(_){{for(var x=arguments.length,b=new Array(x>1?x-1:0),C=1;C<x;C++)b[C-1]=arguments[C];n("error",_,b)}}function n(_,x,b){{var C=t.ReactDebugCurrentFrame,S=C.getStackAddendum();S!==""&&(x+="%s",b=b.concat([S]));var O=b.map(function(M){return String(M)});O.unshift("Warning: "+x),Function.prototype.apply.call(console[_],console,O)}}function o(_,x){return _===x&&(_!==0||1/_===1/x)||_!==_&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue,p=!1,h=!1;function d(_,x,b){p||e.startTransition!==void 0&&(p=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var C=x();if(!h){var S=x();i(C,S)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}var O=a({inst:{value:C,getSnapshot:x}}),M=O[0].inst,D=O[1];return l(function(){M.value=C,M.getSnapshot=x,m(M)&&D({inst:M})},[_,C,x]),s(function(){m(M)&&D({inst:M});var R=function(){m(M)&&D({inst:M})};return _(R)},[_]),c(C),C}function m(_){var x=_.getSnapshot,b=_.value;try{var C=x();return!i(b,C)}catch(S){return!0}}function g(_,x,b){return x()}var v=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",y=!v,w=y?g:d,E=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:w;Ca.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ca}process.env.NODE_ENV==="production"?cs.exports=mI():cs.exports=gI();var vI=cs.exports;const Kh=vI.useSyncExternalStore,pd=z.createContext(void 0),Qh=z.createContext(!1);function Zh(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=pd),window.ReactQueryClientContext):pd)}const Jh=({context:e}={})=>{const t=z.useContext(Zh(e,z.useContext(Qh)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},yI=({client:e,children:t,context:r,contextSharing:n=!1})=>{z.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),process.env.NODE_ENV!=="production"&&n&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const o=Zh(r,n);return z.createElement(Qh.Provider,{value:!r&&n},z.createElement(o.Provider,{value:e},t))},bI=z.createContext(!1),_I=()=>z.useContext(bI);function xI(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const wI=z.createContext(xI()),CI=()=>z.useContext(wI);function em(e,t){return typeof e=="function"?e(...t):!!e}const TI=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},EI=e=>{z.useEffect(()=>{e.clearReset()},[e])},SI=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&em(r,[e.error,n]),RI=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},OI=(e,t)=>e.isLoading&&e.isFetching&&!t,MI=(e,t,r)=>(e==null?void 0:e.suspense)&&OI(t,r),PI=(e,t,r)=>t.fetchOptimistic(e).then(({data:n})=>{e.onSuccess==null||e.onSuccess(n),e.onSettled==null||e.onSettled(n,null)}).catch(n=>{r.clearReset(),e.onError==null||e.onError(n),e.onSettled==null||e.onSettled(void 0,n)});function DI(e,t){const r=Jh({context:e.context}),n=_I(),o=CI(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=ke.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=ke.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=ke.batchCalls(i.onSettled)),RI(i),TI(i,o),EI(o);const[a]=z.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(Kh(z.useCallback(l=>{const c=n?()=>{}:a.subscribe(ke.batchCalls(l));return a.updateResult(),c},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),z.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),MI(i,s,n))throw PI(i,a,o);if(SI({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function kI(e,t,r){const n=En(e,t,r);return DI(n,fI)}const AI=u.newStyled("button",{target:"e14rhw2k0",label:"ClearSelectionButton"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";background:none;font-size:13px;border:none;height:26px;padding:0 6px 0 2px;margin:0 4px 0 4px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;&:hover{background-color:rgba(247,247,247,1);}"),II=u.newStyled("span",{target:"e14rhw2k1",label:"ClearSelectionText"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";display:inline-block;padding-top:3px;white-space:nowrap;"),NI=({onClick:e})=>{var n;const{themeSettings:t}=u.useThemeContext(),{t:r}=u.useTranslation();return u.jsxs(AI,{onClick:e,theme:t,children:[u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.jsx("path",{fill:(n=t.chart)==null?void 0:n.textColor,d:"M7.187 7l9.774 10.279A1 1 0 0 0 17 17V8a1 1 0 0 0-1-1H7.187zm9.018 10.979L6.206 7.463l.487-.415A1 1 0 0 0 6 8v9a1 1 0 0 0 1 1h9c.07 0 .139-.007.205-.021zM7 6h9a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z"})}),u.jsx(II,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function $I(e){const t={};return{flatFilters:e.reduce((n,o)=>(u.isCascadingFilter(o)?(t[o.config.guid]||(t[o.config.guid]=[]),o.filters.forEach(i=>{t[o.config.guid].push(i),n.push(i)})):n.push(o),n),[]),cascadingToPureFiltersMap:t}}function tm(e,t,r){const n=t.filter(u.isCascadingFilter);return FI(e,n).map(i=>{if(LI(i)){const a=n.find(l=>l.config.guid===i.groupId);if(!a)throw new u.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return HI(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function LI(e){return"groupId"in e}function FI(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>In(a)===In(n)));if(o){const i=o.config.guid,a=r.find(s=>"groupId"in s&&s.groupId===i);a?a.filters.push(n):r.push({groupId:i,filters:[n],previousFilters:o.filters})}else r.push(n)}),r}function HI(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?zI(e.filters,e.previousFilters):e.filters,o=BI(n,t.config.disabled);return u.cascading(n,{guid:t.config.guid,disabled:o})}function BI(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function jI(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=$I(e);return{pureFilters:n,updateFilters:a=>{const s=tm(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:WI(r,o)}}function zI(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>Tl(s,o));return a&&!bh(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?qi(n):n)}function WI(e,t){var r;return{all:e.all,ids:((r=e.ids)==null?void 0:r.reduce((n,o)=>{const i=t[o];return i?n.concat(i.map(a=>a.config.guid)):n.concat(o)},[]))||[]}}const hd={applyMode:Gi.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function VI(e,t){return e==="table"?{applyMode:Gi.FILTER,shouldAffectFilters:!1,ignoreFilters:u.merge(hd.ignoreFilters,t.ignoreFilters||{})}:u.merge(hd,t)}function UI(e,t,r,n,o,i,a){const s={},l=VI(r,o),{pureFilters:c,updateFilters:p,pureFiltersIgnoringRules:h}=jI(e,t,l.ignoreFilters||{}),d=c.filter(_=>!_.config.disabled),m=H7(d,h),g=Sl(r,n),v=l.shouldAffectFilters&&g.length,[y,w]=GI(m,g,l.applyMode),E=l.forceApplyBackgroundFilters?lt(qI(c),y):y;if(s.filters=E,s.highlights=w,s.onDataPointsSelected=(_,x)=>{const b=[],C=Yc(r,n,_);if(C&&b.push(C),v){const S=Bo(r,n,_),{filters:O,isSelection:M}=xa(S,c,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=Xc(D,()=>{p(lt(c,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},s.onDataPointContextMenu=(_,x)=>{const b=[],C=Yc(r,n,[_]);if(C&&b.push(C),v){const S=Bo(r,n,[_]),{filters:O,isSelection:M}=xa(S,c,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=Xc(D,()=>{p(lt(c,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},v){s.onDataPointClick=C=>{const S=Bo(r,n,[C]),{filters:O}=xa(S,c);p(lt(c,O))};const _=d.filter(C=>g==null?void 0:g.some(S=>u.isMembersFilter(C)&&ct(C.attribute,S)&&!Cl(C)&&!C.config.locked)),x=!!_.length,b=()=>{const C=_.map(qi);p(lt(c,C))};x&&(s.renderToolbar=(C,S)=>{const O=g.map(({expression:M})=>M).join(";");return u.jsxs("div",{style:{display:"flex"},children:[u.jsx(NI,{onClick:b}),S]},O)})}return s}function qI(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function GI(e,t,r){if(r===Gi.HIGHLIGHT){const[n,o]=co(e,a=>t.every(s=>!ct(s,a.attribute))),i=o.filter(a=>!Cl(a));return[n,i]}return[e,[]]}function YI(e,t){const[r,n]=El(F.useMemo(()=>An(e),[e]),{onLocalStateChange:F.useCallback(d=>{const{filters:m,relations:g}=d;t&&t(Sn(m,g))},[t])}),{filters:o,relations:i}=r,a=F.useMemo(()=>Sn(o,i),[o,i]),s=F.useCallback(d=>{if(kn(d)){const{filters:m,relations:g}=An(d);n({filters:m||[],relations:g||null})}else n({filters:d,relations:null})},[n]),l=F.useCallback(d=>{const m=lt(o,[d]);n({filters:m,relations:Rn(o,i,m)})},[o,i,n]),c=F.useCallback(d=>{n({filters:d,relations:Rn(o,i,d)})},[o,i,n]),p=F.useMemo(()=>o.some(d=>u.isCascadingFilter(d)),[o]),h=F.useCallback(d=>{if(!i)return d;const m=p?tm(d,o):d,g=Rn(o,i,m);return Sn(m,g)},[p,o,i]);return{regularFilters:o,addFilter:l,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:c,applyRelationsToOtherFilters:h}}const XI=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=u.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:l,setFilters:c,applyRelationsToOtherFilters:p}=YI(e,n),h=F.useCallback((d,m={})=>{var x,b;if(u.isTextWidgetProps(d))return d;const g=u.getInternalWidgetType(d),v=d,y=u.cloneDeep(d),E="drilldownOptions"in d&&((b=(x=d.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:b.length)?jh(d.chartType,d.dataOptions,u.last(d.drilldownOptions.drilldownSelections).nextDimension):d.dataOptions,_=UI(a,c,g,E,m,o,t);return y.highlights=lt(_.highlights,v.highlights),y.onBeforeMenuOpen=r,_.onDataPointClick&&u.registerDataPointClickHandler(y,_.onDataPointClick),y.filters=p(lt(_.filters,fs(v.filters))),_.onDataPointClick&&u.registerDataPointClickHandler(y,_.onDataPointClick),_.onDataPointsSelected&&u.registerDataPointsSelectedHandler(y,_.onDataPointsSelected),_.onDataPointContextMenu&&u.registerDataPointContextMenuHandler(y,_.onDataPointContextMenu),_.renderToolbar&&u.registerRenderToolbarHandler(y,_.renderToolbar),y},[a,c,o,t,r,p]);return{filters:i,setFilters:l,addFilter:s,connectToWidgetProps:h}};exports.Backdrop=ks;exports.Button=Wn;exports.ButtonBase=pr;exports.Chart=G0;exports.ChartWidget=KA;exports.CommonFiltersApplyMode=Gi;exports.ContextMenu=Tf;exports.DEFAULT_PIVOT_TABLE_SIZE=Vf;exports.DEFAULT_TABLE_ROWS_PER_PAGE=B0;exports.DrilldownBreadcrumbs=fh;exports.DynamicSizeContainer=Ei;exports.ErrorBoundary=Rd;exports.ErrorBoundary$1=V0;exports.ErrorBoundaryBox=Sd;exports.ExclamationMarkIcon=Ed;exports.Fade=Ds;exports.I18nProvider=Od;exports.IconButton=Br;exports.LEGACY_DESIGN_TYPES=xn;exports.LoadingDots=ms;exports.LoadingIndicator=si;exports.LoadingOverlay=Fo;exports.Menu=wi;exports.MenuIds=Vn;exports.MenuItem=Ti;exports.MenuList=Ss;exports.MenuProvider=Ef;exports.Modal=As;exports.NoResultsOverlay=Ns;exports.PAGES_BATCH_SIZE=j0;exports.Paper=_i;exports.Popover=xi;exports.Popper=uo;exports.PropTypes=f;exports.QueryClient=dI;exports.QueryClientProvider=yI;exports.Subscribable=rn;exports.TableComponent=z0;exports.ThemeProvider=Mf;exports.Tooltip=Ui;exports.UnknownRelationsNodeError=ai;exports.WidgetContainer=Z0;exports.WidgetSpaceAround=X0;exports._objectWithoutPropertiesLoose=ae;exports.alpha_1=Pe;exports.areFiltersEqual=th;exports.asSisenseComponent=eo;exports.baseUniq=Hs;exports.boxWhiskerProcessResult=Ox;exports.calculateNewRelations=Rn;exports.camelCase=Fh;exports.capitalize=ui;exports.capitalize$1=fe;exports.classNames=Bn;exports.clearMembersFilter=qi;exports.cloneFilterAndToggleDisabled=B8;exports.clsx=se;exports.combineFiltersAndRelations=Sn;exports.composeClasses=De;exports.convertFilterRelationsModelToJaql=Om;exports.convertFilterRelationsModelToRelationRules=vm;exports.convertToThemeSettings=yd;exports.createCaseFirst=Ch;exports.createChainedFunction=Na;exports.createSvgIcon=Vr;exports.createTheme=yi;exports.createUnarySpacing=_s;exports.darken_1=Jd;exports.dataLoadStateReducer=os;exports.debounce=e7;exports.deepmerge=ur;exports.elementAcceptingRef=fr;exports.exactProp=Ms;exports.extendSxProp=ws;exports.filterRelationRulesToFilterRelationsModel=wm;exports.findFilterByGuid=Cm;exports.generateUtilityClass=Ee;exports.generateUtilityClasses=we;exports.getDefaultState=Xh;exports.getDisplayName=Wd;exports.getDrilldownMenuItems=wh;exports.getFiltersArray=fs;exports.getHierarchyModels=Hh;exports.getLegacyPalette=xd;exports.getPaletteName=bd;exports.getRelationsWithReplacedFilter=hm;exports.getSelectionTitleMenuItem=xh;exports.getTableAttributesAndMeasures=rp;exports.getThemeSettingsByOid=_d;exports.getTranslatedDataOptions=Xf;exports.getValue=jr;exports.getWidgetDefaultSize=Uf;exports.handleBreakpoints=Ct;exports.internal_processStyles=Ld;exports.isAttributeDescriptionNode=Sm;exports.isCloseBracketDescriptionNode=Em;exports.isFilterRelations=kn;exports.isFiltersChanged=eh;exports.isOpenBracketDescriptionNode=Tm;exports.isOperatorDescriptionNode=Rm;exports.isPlainObject=St;exports.isRelationsChanged=U8;exports.isRelationsRule=ii;exports.isRelationsRuleIdNode=oi;exports.isSameAttribute=ct;exports.isString=J0;exports.isThemeOid=Lo;exports.isTrivialSingleNodeRelations=ps;exports.lighten_1=ef;exports.mergeBreakpointsInOrder=Eg;exports.mergeFilters=lt;exports.mergeFiltersOrFilterRelations=gd;exports.notifyManager=ke;exports.ownerDocument=We;exports.parseMutationArgs=ZA;exports.partition=co;exports.processDrilldownSelections=mh;exports.refType=Qn;exports.resolveBreakpointValues=Rg;exports.resolveProps=Uo;exports.rootShouldForwardProp=Kn;exports.shallowEqualObjects=ti;exports.shouldSkipSisenseContextWaiting=W0;exports.shouldThrowError=em;exports.splitFiltersAndRelations=An;exports.styleFunctionSx=Xn;exports.styled=$d;exports.styled$1=le;exports.trackHook=q8;exports.translatePivotTableDataOptions=_x;exports.translateTableDataOptions=Yf;exports.updateDrilldownSelections=hh;exports.upperFirst=Th;exports.useCommonFilters=XI;exports.useControlled=Ps;exports.useDefaultProps=Re;exports.useDrilldownCore=ph;exports.useEventCallback=Rt;exports.useForkRef=Ve;exports.useGetHierarchyModels=WA;exports.useHasChanged=wl;exports.useId=yf;exports.useMenu=ih;exports.useQuery=kI;exports.useQueryClient=Jh;exports.useSetError=Fs;exports.useShouldLoad=oh;exports.useSyncExternalStore=Kh;exports.useSyncedState=El;exports.useTheme=vf;exports.useTheme$1=Jn;exports.withTracking=nh;