@reltio/remotes 1.4.1176 → 1.4.1180

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 (176) hide show
  1. package/1136.js +2 -0
  2. package/1136.js.map +1 -0
  3. package/1196.css +2 -0
  4. package/1196.css.map +1 -0
  5. package/1196.js +2 -1
  6. package/1196.js.map +1 -0
  7. package/{8096.js → 1274.js} +2 -1
  8. package/1274.js.map +1 -0
  9. package/1396.js +2 -1
  10. package/1396.js.map +1 -0
  11. package/1406.js +2 -0
  12. package/1406.js.map +1 -0
  13. package/1635.js +2 -1
  14. package/1635.js.map +1 -0
  15. package/1920.js +2 -1
  16. package/1920.js.map +1 -0
  17. package/1957.css +2 -0
  18. package/1957.css.map +1 -0
  19. package/1957.js +2 -1
  20. package/1957.js.map +1 -0
  21. package/2114.js +2 -0
  22. package/2114.js.map +1 -0
  23. package/2244.js +2 -1
  24. package/2244.js.map +1 -0
  25. package/2393.js +2 -1
  26. package/2393.js.map +1 -0
  27. package/2605.js +2 -1
  28. package/2605.js.map +1 -0
  29. package/2890.js +2 -1
  30. package/2890.js.map +1 -0
  31. package/2899.js +2 -1
  32. package/2899.js.map +1 -0
  33. package/3126.js +2 -0
  34. package/3126.js.map +1 -0
  35. package/3213.js +2 -1
  36. package/3213.js.map +1 -0
  37. package/3348.js +2 -1
  38. package/3348.js.map +1 -0
  39. package/3405.js +2 -1
  40. package/3405.js.map +1 -0
  41. package/350.js +2 -1
  42. package/350.js.map +1 -0
  43. package/366.js +2 -1
  44. package/366.js.map +1 -0
  45. package/3745.js +2 -1
  46. package/3745.js.map +1 -0
  47. package/3980.js +2 -1
  48. package/3980.js.map +1 -0
  49. package/3981.js +2 -0
  50. package/3981.js.map +1 -0
  51. package/4132.js +2 -1
  52. package/4132.js.map +1 -0
  53. package/4277.js +2 -1
  54. package/4277.js.map +1 -0
  55. package/4361.js +2 -1
  56. package/4361.js.map +1 -0
  57. package/4582.js +2 -1
  58. package/4582.js.map +1 -0
  59. package/4689.js +2 -1
  60. package/4689.js.map +1 -0
  61. package/4803.js +2 -1
  62. package/4803.js.map +1 -0
  63. package/4843.js +1 -1
  64. package/4863.js +2 -1
  65. package/4863.js.map +1 -0
  66. package/4889.js +2 -1
  67. package/4889.js.map +1 -0
  68. package/5026.js +2 -1
  69. package/5026.js.map +1 -0
  70. package/5198.js +2 -1
  71. package/5198.js.map +1 -0
  72. package/5312.js +2 -1
  73. package/5312.js.map +1 -0
  74. package/5400.js +2 -1
  75. package/5400.js.map +1 -0
  76. package/5701.js +2 -1
  77. package/5701.js.map +1 -0
  78. package/5709.js +2 -1
  79. package/5709.js.map +1 -0
  80. package/5714.js +2 -1
  81. package/5714.js.map +1 -0
  82. package/5720.js +2 -1
  83. package/5720.js.map +1 -0
  84. package/5797.js +2 -0
  85. package/5797.js.map +1 -0
  86. package/5805.js +2 -1
  87. package/5805.js.map +1 -0
  88. package/5884.js +2 -1
  89. package/5884.js.map +1 -0
  90. package/5912.js +2 -1
  91. package/5912.js.map +1 -0
  92. package/5953.js +2 -1
  93. package/5953.js.map +1 -0
  94. package/621.js +2 -0
  95. package/621.js.map +1 -0
  96. package/6244.js +2 -1
  97. package/6244.js.map +1 -0
  98. package/6248.js +2 -1
  99. package/6248.js.map +1 -0
  100. package/6596.css +2 -0
  101. package/6596.css.map +1 -0
  102. package/6596.js +2 -1
  103. package/6596.js.map +1 -0
  104. package/6710.js +2 -1
  105. package/6710.js.map +1 -0
  106. package/6719.js +2 -1
  107. package/6719.js.map +1 -0
  108. package/6971.js +2 -1
  109. package/6971.js.map +1 -0
  110. package/7147.js +2 -0
  111. package/7147.js.map +1 -0
  112. package/7265.js +2 -1
  113. package/7265.js.map +1 -0
  114. package/7526.js +2 -0
  115. package/7526.js.map +1 -0
  116. package/7621.js +2 -1
  117. package/7621.js.map +1 -0
  118. package/7737.js +2 -1
  119. package/7737.js.map +1 -0
  120. package/781.js +2 -1
  121. package/781.js.map +1 -0
  122. package/79.js +2 -1
  123. package/79.js.map +1 -0
  124. package/8047.js +2 -1
  125. package/8047.js.map +1 -0
  126. package/8122.js +2 -1
  127. package/8122.js.map +1 -0
  128. package/8148.js +2 -1
  129. package/8148.js.map +1 -0
  130. package/8419.js +2 -1
  131. package/8419.js.map +1 -0
  132. package/8570.js +2 -1
  133. package/8570.js.map +1 -0
  134. package/8581.js +2 -1
  135. package/8581.js.map +1 -0
  136. package/8753.js +2 -1
  137. package/8753.js.map +1 -0
  138. package/8794.js +2 -1
  139. package/8794.js.map +1 -0
  140. package/8969.js +2 -1
  141. package/8969.js.map +1 -0
  142. package/9394.js +2 -1
  143. package/9394.js.map +1 -0
  144. package/9431.js +2 -1
  145. package/9431.js.map +1 -0
  146. package/9446.js +2 -1
  147. package/9446.js.map +1 -0
  148. package/9503.js +2 -0
  149. package/9503.js.map +1 -0
  150. package/9551.js +2 -1
  151. package/9551.js.map +1 -0
  152. package/9630.js +2 -1
  153. package/9630.js.map +1 -0
  154. package/9838.css +2 -0
  155. package/9838.css.map +1 -0
  156. package/9838.js +2 -1
  157. package/9838.js.map +1 -0
  158. package/9854.js +2 -1
  159. package/9854.js.map +1 -0
  160. package/9983.js +2 -0
  161. package/9983.js.map +1 -0
  162. package/main.js +2 -1
  163. package/main.js.map +1 -0
  164. package/package.json +1 -1
  165. package/remoteEntry.js +2 -1
  166. package/remoteEntry.js.map +1 -0
  167. package/1526.js +0 -1
  168. package/4327.js +0 -1
  169. package/4418.js +0 -1
  170. package/4754.js +0 -1
  171. package/6186.js +0 -1
  172. package/6190.js +0 -1
  173. package/6250.js +0 -1
  174. package/6349.js +0 -1
  175. package/696.js +0 -1
  176. package/8308.js +0 -1
package/7147.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7147],{32528:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(13688),r=n(48852);const l=e=>t=>(0,r.l)(a.X,e,t)},58662:(e,t,n)=>{n.d(t,{Z:()=>v});var a=n(13980),r=n.n(a),l=n(24328),o=n.n(l),i=n(71153),c=n.n(i),s=n(94079),u=n(87918),p=n.n(u),d=n(31276),m=n(17440);const f=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){g(e,t,n[t])}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const y=e=>{let{classes:t={},count:n,rowsPerPageOptions:a,page:r,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:g,basicTableRef:y,labelRowsPerPage:v}=e;const b=f(),E=(0,l.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],y)()}),[y]),O=(0,l.useCallback)((e=>{i(e),E()}),[i,E]),x=(0,l.useCallback)((e=>{i(0),g(e),E()}),[i,g,E]);return o().createElement(s.TablePagination,{classes:h({},t,{root:c()(b.pagination,t.root),select:c()(b.select,t.select),caption:b.caption,selectRoot:b.selectRoot,actions:b.actions}),component:"div",labelRowsPerPage:v||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(a,"0,0")})},count:n,rowsPerPageOptions:a,page:r,onChangePage:(0,m.pipe)((0,m.nthArg)(1),O),rowsPerPage:u,onChangeRowsPerPage:(0,m.pipe)(d.NA,x)})};y.propTypes={classes:r().object,rowsPerPageOptions:r().arrayOf(r().number),count:r().number,page:r().number,onChangePage:r().func,rowsPerPage:r().number,onChangeRowsPerPage:r().func,basicTableRef:r().shape({current:r().object}),labelRowsPerPage:r().string};const v=o().memo(y)},10237:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(27556),r=n(13980),l=n.n(r),o=n(24328),i=n.n(o);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(0,n(79692).Z)((e=>({"basic-view__paper":c({display:"flex",flexDirection:"column"},e.basicView)})));function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}const d=(0,o.forwardRef)(((e,t)=>{let{children:n,className:r}=e,l=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const o=u();return i().createElement(a.Z,p({ref:t,className:r,classes:{root:o["basic-view__paper"]}},l),n)}));d.displayName="BasicView",d.propTypes={children:l().node,className:l().string};const m=d},92778:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(15223),o=n(94079);const i=(0,n(79692).Z)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const s=e=>{let{title:t,children:n=null,classes:a={}}=e,s=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["title","children","classes"]);const u=i();return r().createElement(l.Z,c({className:a.root,classes:{root:u.toolbar}},s),r().createElement(o.Typography,{className:a.title,classes:{root:u.title},variant:"h6"},t),n)}},58241:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(8818),c=n(38016);const s=(0,n(79692).Z)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}const p=e=>{let{isOpen:t=!1,tooltipTitle:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["isOpen","tooltipTitle"]);const l=s(),p={icon:c.Z,className:l.collapseButton,iconClassName:o()({[l.expandLess]:t})},d={tooltipTitle:n};return r().createElement(i.k,u({},p,d,a))}},43290:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(17440);const c=(0,n(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),s=e=>(0,i.is)(Number,e),u=e=>{let{className:t,width:n=0,maxWidth:l}=e;const i=c(),u=(0,a.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return n?r().createElement("div",{className:o()(i.bar,t),style:{width:s(n)?u(n):n}}):null}},55847:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(17440),c=n(94079),s=n(48348),u=n(20562),p=n(83348),d=n(79692),m=n(41128);const f=(0,d.Z)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,m.U1)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,m.U1)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),h=(0,p.Z)(c.MenuItem),g=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=i.identity}=e;const l=f(),{disabled:o,text:s,tooltip:u,onClick:p,id:d=""}=n;return r().createElement(h,{tooltipTitle:u,showForDisabled:!0,classes:{root:l.menuItem},onClick:e=>{a(e),p(e)},disabled:o,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${d}`},r().createElement(c.Typography,{classes:{root:l.menuText}},s))}));g.displayName="MenuItemRenderer";const y=g;function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}function b(e){let{className:t,menuId:n,buttonComponent:l=c.Button,buttonContent:p,menuItems:d=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=i.identity,onMenuClose:b=i.identity,MenuItemRenderer:E=y}=e;const O=l,x=f(),w=(0,a.useRef)(),[R,S]=(0,a.useState)(!1);(0,u.D)((()=>{R?g():b()}),[R]);const C=(0,a.useCallback)((e=>{null==e||e.stopPropagation(),S((e=>!e))}),[]);return r().createElement(r().Fragment,null,r().createElement(O,v({ref:w,className:o()(x.buttonRoot,{[x.selected]:R},t),onClick:C,"aria-pressed":R,"aria-controls":R?n:void 0,"aria-haspopup":"true"},m),p),r().createElement(s.Z,v({id:n,variant:"menu",open:R,autoFocus:!1,classes:{paper:x.paper},anchorEl:w.current,onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:R}},h),d.map(((e,t)=>r().createElement(E,{item:e,key:t,onMenuClose:C})))))}b.displayName="DropDownMenuButton";const E=b},31254:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(52730),o=n(59431),i=n(98018);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const s=e=>{const t=(0,l.useSelector)(o.ZP.selectors.getAbsoluteImagePath)||"";return r().createElement(i.ZP,c({},e,{storagePath:(n=t,n.endsWith("/")?n:n+"/")}));var n}},92575:(e,t,n)=>{n.d(t,{Z:()=>M});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(17440),c=n(70347);const s=(0,n(5407).Z)(c.ZP);var u=n(5190),p=n(18461),d=n(94079),m=n(71153),f=n.n(m),h=n(88611);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g.apply(this,arguments)}function y(e){const{innerProps:t,innerRef:n,children:a,isFocused:l,isSelected:o,selectProps:{classes:i},label:c}=e;return r().createElement(d.MenuItem,g({className:f()(i.option,{[i["option--selected"]]:o}),ref:n,selected:l,component:"div"},t),r().createElement(d.Checkbox,{color:"primary",checked:o}),r().createElement(h.C,{value:c},r().createElement("div",{className:i["option--item"]},a)))}y.propTypes={children:o().node,innerProps:o().shape({id:o().string.isRequired,key:o().string,onClick:o().func.isRequired,onMouseMove:o().func.isRequired,onMouseOver:o().func.isRequired,tabIndex:o().number.isRequired}).isRequired,innerRef:o().oneOfType([o().oneOf([null]),o().func,o().shape({current:o().any.isRequired})]),isFocused:o().bool.isRequired,isSelected:o().bool.isRequired,label:o().string,selectProps:o().shape({classes:o().shape({option:o().string})})};const v={Option:y};var b=n(79692),E=n(31276);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},O.apply(this,arguments)}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){w(e,t,n[t])}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const R=(0,b.Z)((e=>({label:{top:6,left:16},placeholder:e=>({display:!e.placeholder||e.label?"none":void 0}),"option--selected":{fontWeight:400},clearIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)},dropdownIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)}})));let S=0;function C(e){const{label:t,creatable:n,getOptions:l,loadingIndicator:o,components:c,classes:d,styles:m,onChange:f,onInputChange:h,menuPlacement:g="auto"}=e,y=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),b=n?s:l?p.Z:u.Z,[w,C]=(0,a.useState)(""),M=R((0,i.omit)(["classes"],e)),P="custom-select-"+S++,T=x({},v,c),j=(0,E.ze)(M,d),F=x({indicatorSeparator:e=>x({},e,{margin:"10px 0"}),loadingIndicator:e=>x({},e,{display:o?e.display:"none"}),loadingMessage:e=>x({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},m),k=t?{inputId:P,TextFieldProps:x({label:t,InputLabelProps:{htmlFor:P,shrink:!(!e.value||!e.value.length)||void 0,className:j.label}},e.TextFieldProps)}:{};return r().createElement(b,O({isMulti:!0,inputId:P,inputValue:w,onChange:function(e,t){f(e,t),"create-option"===t.action&&(C(""),h("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;h(e,{action:n}),"set-value"!==n&&C(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:j,components:T,styles:F,menuPlacement:g,loadOptions:l},k,y))}C.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},C.propTypes={creatable:o().bool,cacheOptions:o().bool,defaultOptions:o().bool,value:o().arrayOf(o().shape({label:o().string.isRequired,value:o().any})),options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().any})),onChange:o().func,onInputChange:o().func,placeholder:o().string,label:o().string,loadingIndicator:o().bool,components:o().shape({ClearIndicator:o().func,Control:o().func,DropdownIndicator:o().func,DownChevron:o().func,CrossIcon:o().func,Group:o().func,GroupHeading:o().func,IndicatorsContainer:o().func,IndicatorSeparator:o().func,Input:o().func,LoadingIndicator:o().func,Menu:o().func,MenuList:o().func,MenuPortal:o().func,LoadingMessage:o().func,NoOptionsMessage:o().func,MultiValue:o().func,MultiValueContainer:o().func,MultiValueLabel:o().func,MultiValueRemove:o().func,Option:o().func,Placeholder:o().func,SelectContainer:o().func,SingleValue:o().func,ValueContainer:o().func}),classes:o().shape({control:o().string,valueContainer:o().string,multiValue:o().string,noOptionsMessage:o().string,singleValue:o().string,placeholder:o().string,menu:o().string,clearIndicator:o().string,dropdownIndicator:o().string,option:o().string,"option--selected":o().string,label:o().string}),styles:o().shape({clearIndicator:o().func,container:o().func,control:o().func,dropdownIndicator:o().func,group:o().func,groupHeading:o().func,indicatorsContainer:o().func,indicatorSeparator:o().func,input:o().func,loadingIndicator:o().func,loadingMessage:o().func,menu:o().func,menuList:o().func,menuPortal:o().func,multiValue:o().func,multiValueLabel:o().func,multiValueRemove:o().func,noOptionsMessage:o().func,option:o().func,placeholder:o().func,singleValue:o().func,valueContainer:o().func}),TextFieldProps:o().object,getOptions:o().func,menuPlacement:o().string,menuPortalTarget:o().object,getOptionValue:o().func,isSearchable:o().bool,inputRef:o().shape({current:o().object})};const M=C},67268:(e,t,n)=>{n.d(t,{Z:()=>C});var a=n(13980),r=n.n(a),l=n(24328),o=n.n(l),i=n(66244),c=n.n(i),s=n(44443),u=n(17440),p=n(71153),d=n.n(p);function m(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const f=e=>{let{x:t,y:n,width:a,height:r,id:l,minWidth:o,minHeight:i,maxWidth:c,maxHeight:s,isStatic:u}=e;return{x:t,y:n,w:a,h:r,minW:o,minH:i,maxW:c,maxH:s,i:l,static:u}},h=e=>{let{x:t,y:n,w:a,h:r,maxW:l,minW:o,minH:i,maxH:c,i:s}=e;return{x:t,y:n,width:a,height:r,minWidth:o,minHeight:i,maxWidth:l,maxHeight:c,id:s,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},g=e=>(e||[]).map(h),y=(0,u.curry)(((e,t)=>(e||[]).find((0,u.propEq)("id",t)))),v=(0,u.curry)(((e,t,n)=>(0,u.mergeAll)([n,(0,u.pick)(e,t)]))),b=(0,u.curry)(((e,t,n)=>(n||[]).map((n=>(0,u.pipe)((0,u.prop)("id"),y(t),(0,u.defaultTo)({}),v(e,u.__,n))(n)))));var E=n(79692),O=n(56306);const x=(0,E.Z)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.cssTransforms":{transitionProperty:"transform"},"&.resizing":{zIndex:9,willChange:"width, height",pointerEvents:"none"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,O.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},w.apply(this,arguments)}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const S=e=>{let{views:t,layout:n,layoutOptions:a,onLayoutChanged:r,draggableHandle:i,LayoutItem:p,onRemove:m,onDrop:v,droppingItem:E,isDroppable:O,classes:S}=e;const C=(0,l.useRef)(),M=x(),[P,T]=(0,l.useState)(null),[j,F]=(0,l.useState)(0),{cols:k,rowHeight:I,margin:z}=a,D=(0,l.useMemo)((()=>(e=>(e||[]).map(f))(n)),[n]),N=(0,u.pipe)(g,b(["autosizing"],n),r),A=(0,l.useCallback)((e=>T((t=>t?null:e))),[]),B=null!==P,Z=(0,l.useCallback)(((e,t)=>{let l=!1;const o=n.map((n=>{if(n.id===t&&e){const t=((e,t)=>{const{margin:n,rowHeight:a}=t;return Math.ceil((e+n[1])/(a+n[1]))})(e,a);if(n.height!==t)return l=!0,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){R(e,t,n[t])}))}return e}({},n,{minHeight:t,maxHeight:t,height:t})}return n}));l&&r(o)}),[n,a,r]);return o().createElement(o().Fragment,null,o().createElement(s.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>F(e)}),o().createElement(c(),{innerRef:C,layout:D,cols:k,draggableHandle:i,autoSize:!0,rowHeight:I,width:j,margin:z,onLayoutChange:N,isResizable:!B,isDraggable:!B,className:d()(M.gridLayout,{[M.gridFullscreen]:B}),onDrop:(e,t,n)=>{v&&v(g(e),h(t),n)},droppingItem:E,isDroppable:O},D.map((e=>{const a=P===e.i,r=(y(n,e.i)||{}).autosizing?{AutosizeComponent:(l=e.i,o().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>{Z(t,l)}}))}:{};var l;return o().createElement(p,w({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:A,onRemove:m,className:d()({fullscreen:a},S.item),isFullscreen:a},r))}))))};S.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:u.identity,onLayoutChanged:u.identity,classes:{}},S.propTypes={views:r().array,layout:r().array,layoutOptions:r().object,onConfigChanged:r().func,onLayoutChanged:r().func,onDrop:r().func,onRemove:r().func,LayoutItem:r().elementType,draggableHandle:r().string,isDroppable:r().bool,droppingItem:r().object,classes:r().shape({item:r().string})};const C=(0,l.memo)(S)},51229:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(24328),r=n.n(a);const l=()=>r().createElement("div",{style:{flex:1}})},32944:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(24328),r=n.n(a),l=n(94079);const o=(0,n(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),i=()=>{const e=o();return r().createElement(l.LinearProgress,{color:"secondary",className:e.loader})}},58141:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),l=n(10237),o=n(92316);const i=(0,n(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),c=e=>{let{id:t,children:n}=e;const a=i();return r().createElement(o.H.Provider,{value:t},r().createElement(l.Z,{className:a.view},n))}},92316:(e,t,n)=>{n.d(t,{H:()=>r});var a=n(24328);const r=n.n(a)().createContext(null);r.displayName="DashboardViewIdContext"},19874:(e,t,n)=>{n.d(t,{Z:()=>hn});var a=n(24328),r=n.n(a),l=n(52730),o=n(17440),i=n(87918),c=n.n(i),s=n(83535),u=n(98884),p=n(59431),d=n(67885),m=n(56306);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{let{options:t,offset:n,max:r}=e;const[l,i]=(0,a.useState)([]),[c,s]=(0,a.useState)(0),[u,p]=(0,a.useState)(d.o.INIT),h=e=>{console.error(e),p(d.o.ERROR),i([])},g=(0,a.useCallback)((()=>{p(d.o.LOADING);const e=e=>{i(e.result||[]),s(e.total),p(d.o.LOADED)},a=t||{},{countResults:l}=a,c=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(a,["countResults"]);(async()=>{const{result:t=[],total:a}=await(0,m.cZV)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){f(e,t,n[t])}))}return e}({offset:n,max:r},c));if(l){const n=t.map((e=>(0,m.OaI)((0,m.dWE)(e.query)))),r=(await(0,m.RGr)(n)).reduce(((e,t,n)=>{let{status:a,value:r,reason:l}=t;switch(a){case"fulfilled":return(0,o.assocPath)([n,"count"],r.total,e);case"rejected":console.error(l)}return e}),t);e({result:r,total:a})}else e({result:t,total:a})})().catch(h)}),[t,r,n]),y=()=>{try{g()}catch(e){h(e)}};return(0,a.useEffect)((()=>{y()}),[g]),{state:u,data:l,reload:y,total:c}},g=[10,25,50,100],[y]=g,v=e=>g.filter((t=>t!==e)).concat(e).sort(o.subtract);var b=n(58141),E=n(92778),O=n(92316),x=n(94079),w=n(43054),R=n(79692);const S=(0,R.Z)((()=>({itemTitle:{fontSize:"13px"},itemIcon:{minWidth:"49px"},menuItem:{padding:"12px 16px",minWidth:"177px"},openIcon:{padding:"4px",borderRadius:"2px",marginTop:"-6px",marginRight:"-10px"}}))),C=e=>{let{items:t}=e;const[n,l]=(0,a.useState)(null),o=Boolean(n),i=S(),c=()=>l(null),s=e=>()=>{c(),e()};return r().createElement(r().Fragment,null,r().createElement(x.IconButton,{className:i.openIcon,"aria-controls":"menu","aria-haspopup":"true",onClick:e=>l(e.currentTarget)},r().createElement(w.Z,null)),r().createElement(x.Menu,{id:"menu",anchorEl:n,open:o,onClose:c,transitionDuration:0,getContentAnchorEl:null,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},t.filter((e=>e.active)).map((e=>{let{id:t,icon:n,title:a,action:l}=e;return r().createElement(x.MenuItem,{key:t,onClick:s(l),className:i.menuItem},r().createElement(x.ListItemIcon,{className:i.itemIcon},n),r().createElement(x.Typography,{className:i.itemTitle},a))}))))};var M=n(29103),P=n(83911),T=n(41039),j=n(43266),F=n(14940),k=n(71153),I=n.n(k);const z=(0,R.Z)((()=>({toolbarRoot:{padding:"16px",minHeight:"18px",lineHeight:"18px",marginBottom:"8px"},title:{fontSize:"16px",lineHeight:"20px",fontWeight:"normal",color:"rgba(0, 0, 0, 0.87)",letterSpacing:"0.15px",marginRight:"6px"},dragIcon:{position:"absolute",left:"50%",top:"-3px",transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",cursor:"move",zIndex:8,visibility:"hidden",".react-draggable $toolbarRoot:hover &.viewDraggableHandle":{visibility:"visible"}},rightMenu:{display:"flex",flexGrow:1,justifyContent:"flex-end",alignItems:"baseline"},updatedChip:{background:"#FF9E1B",height:20,fontSize:"10px",color:"white",marginRight:"6px"}}))),D=e=>{let{title:t,onToggleFullscreen:n,isUpdated:l=!1,isFullscreen:o,onRemove:i,onRefresh:s,children:u}=e;const p=(0,a.useContext)(O.H),d=(0,a.useMemo)((()=>[{id:"refresh",title:"Refresh",icon:r().createElement(j.Z,null),active:!!s,action:()=>s()},{id:"fullscreen",title:"Fullscreen",icon:r().createElement(M.Z,null),active:!o,action:()=>n(p)},{id:"exitFullscreen",title:"Exit fullscreen",icon:r().createElement(P.Z,null),active:o,action:()=>n(p)},{id:"remove",title:"Remove",icon:r().createElement(T.Z,null),active:!!i,action:()=>{i(p),o&&n(p)}}]),[p,o,i,n,s]),m=z();return r().createElement(E.Z,{title:t,className:m.toolbarRoot,classes:{title:m.title}},l&&r().createElement(x.Chip,{label:c().text("Updated"),size:"small",className:m.updatedChip}),r().createElement("div",{className:m.rightMenu},u,r().createElement(C,{items:d})),r().createElement(F.Z,{className:I()("viewDraggableHandle",m.dragIcon)}))};var N=n(2256),A=n(4094);function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},B.apply(this,arguments)}const Z=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",B({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg2791016623a)"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#0072CE",fillOpacity:".1"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().createElement("path",{opacity:".9",d:"M16.766 26.021a4.626 4.626 0 014.623-4.63h129.406a4.623 4.623 0 014.623 4.63v88.107a4.625 4.625 0 01-4.623 4.631H21.389a4.623 4.623 0 01-4.623-4.631V26.021z"})),r().createElement("path",{opacity:".5",d:"M141.553 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 46.313a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 01-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 46.19h37.054a2.029 2.029 0 010 4.057H47.102a2.028 2.028 0 110-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 53.725h67.006a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 58.941h21.62a.87.87 0 010 1.74h-21.62a.87.87 0 110-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M71.35 30.664H31.508a3.188 3.188 0 100 6.375H71.35a3.188 3.188 0 000-6.375z",fill:"#645F6D"}),r().createElement("path",{opacity:".5",d:"M141.553 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.318 2.315 2.315 0 002.311 2.319zM133.465 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.318 2.314 2.314 0 002.311 2.319z",fill:"#6DBCFF"}),r().createElement("path",{d:"M39.297 73.824a5.488 5.488 0 10-10.977 0v.035a5.488 5.488 0 0010.977 0v-.035z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 68.214h43.894a2.029 2.029 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 75.748h74.516a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 80.965h60.077a.87.87 0 010 1.739H45.943a.87.87 0 010-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M141.553 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 90.36a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 11-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 90.237h58.915a2.028 2.028 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 97.772h49.096a1.449 1.449 0 110 2.897H46.524a1.448 1.448 0 110-2.897z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 102.988h21.62a.87.87 0 010 1.739h-21.62a.87.87 0 110-1.739z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M102.927 64.75l44.536 77.139-58.989 34.057-44.536-77.14.405-.234c4.06 9.263 12.074 16.712 22.462 19.616 18.103 5.059 36.562-5.599 41.232-23.805 2.679-10.449.235-21.113-5.757-29.26l.647-.374z",fill:"url(#nodata__paint1_linear)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"url(#nodata__paint2_linear)"}),r().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M74.981 49.719c19.06 0 34.512 15.462 34.512 34.536a34.418 34.418 0 01-8.665 22.886l29.603 29.623a51.708 51.708 0 01-5.837 5.43l-29.705-29.725a34.338 34.338 0 01-19.908 6.322c-19.06 0-34.512-15.462-34.512-34.536S55.92 49.719 74.98 49.719zm0 10.265c-13.395 0-24.254 10.866-24.254 24.27 0 13.405 10.859 24.272 24.254 24.272 13.395 0 24.254-10.867 24.254-24.271S88.376 59.984 74.981 59.984z",fill:"#B5C8C9"}),r().createElement("path",{d:"M52.903 110.801c-7.598-6.335-12.434-15.876-12.434-26.546 0-19.074 15.451-34.536 34.512-34.536 10.663 0 20.197 4.839 26.528 12.442l-5.662 5.667c-4.862-6.175-12.401-10.14-20.866-10.14-14.662 0-26.548 11.895-26.548 26.567 0 8.47 3.962 16.015 10.132 20.88l-5.662 5.666z",fill:"#fff",fillOpacity:".4"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"#D9F5FF"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#000",fillOpacity:".87"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},L=(0,R.Z)((()=>({noDataContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),H=e=>{let{height:t}=e;const n=L({height:t});return r().createElement("div",{className:n.noDataContainer},r().createElement(Z,{className:n.icon}),r().createElement(x.Typography,null,c().text("No Data")))};function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_.apply(this,arguments)}const V=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",_({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("mask",{id:"svg3217593551a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg3217593551a)"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#CAC4D5",fillOpacity:".3"}),r().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z",fill:"#fff"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z",fill:"#fff"}),r().createElement("path",{d:"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z",fill:"#F9F9F9"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z",fill:"#9C6CF0"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z",fill:"#FA82AA"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z",fill:"#4DBEE9"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z",fill:"#BDBDBD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z",fill:"#4DBEE9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().createElement("path",{opacity:".5",d:"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".3",d:"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".8",d:"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#FB6597"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".2",d:"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z",fill:"#E9E9E9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z",fill:"#E9E9E9"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#error__filter0_d)"},r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#000"})),r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#F25252"}),r().createElement("path",{opacity:".15",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z",fill:"#F25252"}),r().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z",fill:"#F25252"}),r().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z",fill:"#F25252"}),r().createElement("path",{d:"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z",fill:"#FF6A6A"}),r().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#error__paint0_linear)"}),r().createElement("g",{filter:"url(#error__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#error__filter2_d)"},r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#000"})),r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#fff"})),r().createElement("defs",null,r().createElement("filter",{id:"error__filter0_d",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter1_d",x:"51.688",y:"62.625",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter2_d",x:"51.688",y:"44.063",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"error__paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"}))))},U=(0,R.Z)((e=>({errorContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},errorIcon:{height:"88px",width:"88px",marginBottom:"20px",paddingTop:"36px"},refreshButton:{color:e.palette.primary.main,marginTop:"10px"},refreshIcon:{width:"24px",height:"24px"}}))),W=e=>{let{height:t,onRefresh:n,message:a}=e;const l=U({height:t});return r().createElement("div",{className:l.errorContainer},r().createElement(V,{className:l.errorIcon}),r().createElement(x.Typography,null,a),n&&r().createElement(x.Button,{className:l.refreshButton,startIcon:r().createElement(j.Z,{color:"primary",className:l.refreshIcon}),onClick:n},r().createElement(x.Typography,{variant:"button"},c().text("Refresh"))))};var G=n(32944),q=n(44443);const $=(0,R.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},toolbarRoot:{padding:"16px",minHeight:"18px",lineHeight:"18px",marginBottom:"8px","&:hover .viewDraggableHandle":{visibility:"visible"}},title:{fontSize:"16px",lineHeight:"19px",fontWeight:"normal",color:"rgba(0, 0, 0, 0.87)",letterSpacing:"0.15px"},dragIcon:{position:"absolute",left:"50%",top:"-3px",transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",cursor:"move",zIndex:8,visibility:"hidden"}}))),Y=e=>{let{loadingState:t,onRefresh:n,children:a,data:l,className:o}=e;const i=$();return r().createElement(A.Z,{className:I()(i.viewContent,o)},r().createElement(q.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:o,height:i}=e;switch(t){case d.o.LOADED:return l&&0!==l.length?r().createElement(N.Z,{error:r().createElement(W,{message:c().text("Something went wrong"),height:i})},a({data:l,width:o,height:i})):r().createElement(H,{height:i});case d.o.LOADING:return r().createElement(G.Z,null);case d.o.ERROR:return r().createElement(W,{message:c().text("Error Loading Data"),height:i,onRefresh:n});default:return r().createElement("div",null,"Loading...")}})))};var X=n(58662);function K(){return K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},K.apply(this,arguments)}function Q(e){const t=t=>{const n=(0,a.useRef)(null);return r().createElement(r().Fragment,null,r().createElement(e,K({},t,{basicTableRef:n,height:t.height-60})),r().createElement(X.Z,K({},t,{basicTableRef:n})))};return t.displayName="WithPagination",t}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ee(e,t,n[t])}))}return e}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const te=e=>{let{uiState:t,uri:n}=e;return"2.0"===t.version?J({},t,{currentSavedSearchUri:n}):J({},t.state,{curSavedSearchUri:n})},ne=Q(s.Z),ae=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:s,onRemove:d}=e;const{id:m,title:f,options:g,max:E=y}=t,O=(0,a.useMemo)((()=>v(E)),[E]),[x,w]=(0,a.useState)(E),[R,S]=(0,a.useState)(0),{data:C,state:M,reload:P,total:T}=h({options:g,max:x,offset:x*R}),j=(0,a.useMemo)((()=>(e=>e.map((e=>{let{uri:t,name:n,count:a}=e;return{value:a||0,label:n||"",group:t}})))(C)),[C]),F=(0,l.useDispatch)(),k=(0,a.useCallback)((e=>{(0,o.pipe)((0,o.find)((0,o.propEq)("uri",e)),te,p.ui.actions.openSearch,F)(C)}),[F,C]);return(0,u.T)({state:M,reload:P}),r().createElement(b.Z,{id:m},r().createElement(D,{title:f,onToggleFullscreen:n,isFullscreen:s,isUpdated:i,onRefresh:P,onRemove:d}),r().createElement(Y,{loadingState:M,onRefresh:P,data:j},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(ne,{width:n,height:a,data:t,count:T,onChangePage:S,page:R,rowsPerPage:x,onChangeRowsPerPage:w,rowsPerPageOptions:O,options:{headers:[c().text("Name")],showValues:null==g?void 0:g.countResults},onItemClick:k})})))}));var re=n(66675);const le=(0,o.when)((0,o.pipe)((0,o.prop)("filter"),(0,o.includes)(o.__,[m.j5E.IN_RANGE,m.j5E.HAS_ALL])),(0,o.evolve)({values:m.FTe})),oe=(0,o.curry)(((e,t)=>({filter:m.j5E.NOT_EQUALS,values:[t],fieldName:e}))),ie=e=>{var t,n,a;return{filter:null!==(t=null==e?void 0:e.filter)&&void 0!==t?t:m.j5E.EQUALS,values:null!==(n=null==e?void 0:e.values)&&void 0!==n?n:[],fieldName:null!==(a=null==e?void 0:e.fieldName)&&void 0!==a?a:""}},ce=e=>({filter:m.j5E.EQUALS,fieldName:"type",values:[e]}),se=(0,o.curry)(((e,t)=>({filter:m.j5E.EQUALS,values:[t],fieldName:e}))),ue=(0,o.curry)(((e,t,n)=>{const{fieldName:a}=n,r=/^(attributes|analyticsAttributes)/.test(a),l=r?(0,m.zeJ)(e,(0,m.h2W)(a,t)):(0,m.Yxg)(a);return(0,o.pipe)(le,(0,o.when)((()=>r),(0,o.assoc)("entityType",t)),(0,o.when)((()=>(0,m.Lt4)(l.type)),(0,o.evolve)({values:(0,o.map)((0,m.mOr)(m.ZBU))})))(n)})),pe=(e,t)=>{let{filter:n,fieldName:a,values:r}=e;return n===m.j5E.EQUALS&&"type"===a&&(null==r?void 0:r[0])===t};function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){me(e,t,n[t])}))}return e}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fe=e=>{let{attribute:t,filters:n,globalFilter:a,searchByOv:r,activityFilter:l,pageSize:i,orderType:c}=e;const s=((e,t,n,a)=>{const r=(0,o.pipe)((0,o.map)(le),(0,m.Uqd)(),(0,m.vyX)(t))(e),l=r?[`filter=${r}`]:[];return n&&l.push("options=searchByOv"),a&&l.push(`activeness=${a}`),l.join("&")})(n,a,r,l),u=[{fieldName:t,pageNo:1,orderType:c,pageSize:i}];return(0,m.FK9)({query:s,body:u}).then((e=>(0,o.pipe)((0,o.prop)(t),(0,o.defaultTo)({}),Object.entries,(0,o.map)((e=>{let[t,n]=e;return{label:t,group:t,value:n}})),(0,o.sortWith)([(0,o.descend)((0,o.prop)("value")),(0,o.ascend)((0,o.prop)("label"))]))(e)))},he=(0,o.curry)(((e,t)=>{const n=t.map((t=>{let{label:n}=t;return{codeValue:n,type:e}}));return(0,m.hK$)(n).then((n=>{const a=n.flatMap((0,m.Z2f)(e));return t.map((e=>{const t=a.find((t=>{let{lookupCode:n}=t;return n===e.label}));return t?de({},e,{label:t.value}):e}))}))})),ge=(0,o.curry)(((e,t)=>t.map((0,o.pipe)((0,o.prop)("group"),oe(e))))),ye="Other",ve=(0,o.curry)(((e,t)=>{let{attribute:n,filters:a,globalFilter:r,searchByOv:l,activityFilter:i}=e;const s=(0,o.pipe)(ge(n),(0,o.concat)(a),(0,o.map)(le))(t),u=l&&"searchByOv";return(0,m.j_Q)(s,{globalFilter:r,activityFilter:i,searchOptions:u}).then((e=>{let{total:n}=e;return n>0?t.concat([{label:c().text("Other"),group:ye,value:n}]):t}))})),be=(e,t)=>(0,m.xqc)(e,"configuration/roles/"+t),Ee=(0,o.map)((e=>de({},e,{localizedValue:c().number(e.value)}))),Oe=(0,o.when)(m.EdS,m.Tde),xe=(0,o.ifElse)(m.EdS,m.Uk3,(0,o.always)(void 0)),we=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=xe(e),a=t.some((e=>pe(e,n)));return n&&!a?[ce(n),...t]:t},Re=(0,o.curry)(((e,t,n)=>{const a=Oe(e);return n===ye?(0,o.pipe)((0,o.reject)((0,o.propEq)("group",ye)),ge(a))(t):[se(a,n)]})),Se=(0,o.curry)(((e,t,n)=>{const a=xe(t);return{facets:n.map(ue(e,a))}}));var Ce=n(56259);const Me=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRemove:s}=e;const{id:f,title:h,filters:g,attributeUri:y,count:v,orderType:E,chartType:O,showOthers:x}=t,w=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(t,["id","title","filters","attributeUri","count","orderType","chartType","showOthers"]),R=O===m.$XE.MAP?100:8,{data:S,state:C,reload:M}=(e=>{let{filters:t,attributeUri:n,pageSize:r,orderType:i="reversedCount",options:c}=e;const[s,u]=(0,a.useState)([]),[f,h]=(0,a.useState)(d.o.INIT),g=(0,a.useContext)(Ce.I),y=(0,a.useMemo)((()=>g.map(ie).concat(t||[])),[g,t]),v=(0,l.useSelector)(p.ZP.selectors.getMetadata),{globalFilter:b,activityFilter:E}=(0,l.useSelector)(p.ZP.selectors.getGlobalSearchRequestOptions),O=(0,l.useSelector)(p.ZP.selectors.getAttributePresentations),x=!(null==O||!O[n]),w=(0,l.useSelector)(p.ZP.selectors.getSearchOptions),R=null==w?void 0:w.searchByOv,S=null==c?void 0:c.showOthers,C=e=>{console.error(e),h(d.o.ERROR),u([])},M=(0,a.useCallback)((()=>{h(d.o.LOADING);const e=we(n,y),t=Oe(n),a=(0,m.Yxg)(t)||(0,m.zeJ)(v,n);if(!a)return void C("Configuration is incorrect");const l=(0,o.pipe)(fe,(0,o.andThen)(((e,t)=>(0,o.pipe)((0,o.when)((()=>(0,m.CwH)(t)),he((0,m.To9)(t))),(0,o.when)((()=>(0,m.ian)(t)),(0,o.map)((t=>de({},t,{label:be(e,t.group)})))),(0,o.when)((()=>(0,m.Lt4)(t.type)),(0,o.map)((0,o.evolve)({label:(0,o.pipe)(m.ZBU,(0,m.mB6)({dataTypeDefinition:(0,m.PFL)(t)}))})))))(v,a)),(0,o.andThen)((0,o.unless)((0,o.always)(x),Ee)),(0,o.andThen)((0,o.when)((0,o.always)(S),ve({attribute:t,filters:e,globalFilter:b,searchByOv:R,activityFilter:E}))),(0,o.andThen)((e=>{h(d.o.LOADED),u(e)})),(0,o.otherwise)(C));l({attribute:t,filters:e,globalFilter:b,searchByOv:R,activityFilter:E,pageSize:r,orderType:i})}),[h,n,v,S,y,b,R,E,r,i,x]),P=()=>{try{M()}catch(e){C(e)}};return(0,a.useEffect)((()=>{P()}),[M]),{state:f,data:s,reload:P}})({filters:g,attributeUri:y,pageSize:v||R,orderType:E,options:{showOthers:x}});(0,u.T)({state:C,reload:M});const P=(0,l.useDispatch)(),T=(0,l.useSelector)(p.ZP.selectors.getMetadata),j=(0,o.pipe)(Re(y,S),(0,o.concat)(we(y,g)),Se(T,y),p.ui.actions.openSearch,P);return r().createElement(b.Z,{id:f},r().createElement(D,{title:h,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRefresh:M,onRemove:s}),r().createElement(Y,{loadingState:C,onRefresh:M,data:S},(e=>{let{data:t,width:n=0,height:a=0}=e;return re.Z.build(O,{data:t,width:n,height:a,options:w,onItemClick:j})})))}));var Pe=n(85709),Te=n(92332),je=n(88611);const Fe={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},ke=(0,R.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%","&>div":{padding:"0 16px"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden","&:after":Fe},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontSize:"13px",fontWeight:500,lineHeight:"15px",whiteSpace:"nowrap",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":Fe}})));function Ie(){return Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ie.apply(this,arguments)}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){De(e,t,n[t])}))}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ne=e=>{let{className:t,headCellData:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","headCellData"]);const l=ke();return r().createElement("div",{className:I()(l.headCell,t)},r().createElement(Te.default,Ie({},a,{headCellData:ze({},n,{label:r().createElement(je.C,{value:n.label},r().createElement("div",{className:l.headLabel},n.label))})})))};var Ae=n(31039);const Be=e=>{let{value:t,rowValue:n}=e;const a=ke(),l=(0,m.idV)(t);return r().createElement(je.C,{value:l},r().createElement(Ae.Z,{value:(0,m.wwR)(n),className:a.entityLabel},l))},Ze=(0,R.Z)({tableContainer:e=>{let{width:t,height:n}=e;return{height:n,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),Le=Q((e=>{let{height:t,width:n,basicTableRef:a,data:l}=e;const o=Ze({width:n,height:t}),i=[{id:"label",label:c().text("Entity"),resizable:!1,headCellRenderer:Ne,rowCellValueRenderer:Be,initialWidth:n}],s={cellBorder:o.cellBorder};return r().createElement("div",{className:o.tableContainer},r().createElement(Pe.Z,{columnsData:i,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:s,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:a}))})),He=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:i}=e;const{id:c,title:s,filters:p,max:f=y}=t,h=(0,a.useMemo)((()=>v(f)),[f]),[g,E]=(0,a.useState)(f),[O,x]=(0,a.useState)(0),{data:w,state:R,reload:S,total:C}=(e=>{let{filters:t,max:n,offset:r}=e;const[l,o]=(0,a.useState)([]),[i,c]=(0,a.useState)(0),[s,u]=(0,a.useState)(d.o.INIT),p=(0,a.useContext)(Ce.I),f=(0,a.useMemo)((()=>p.map(ie).concat(t||[])),[p,t]),h=e=>{console.error(e),u(d.o.ERROR),o([]),c(0)},g=(0,a.useCallback)((()=>{u(d.o.LOADING),Promise.all([(0,m.ZOr)(f,{max:n,offset:r}),(0,m.j_Q)(f,{max:n,offset:r})]).then((e=>{const[t,{total:n}]=e;o(t||[]),c(n),u(d.o.LOADED)})).catch(h)}),[f,n,r]),y=()=>{try{g()}catch(e){h(e)}};return(0,a.useEffect)((()=>{y()}),[g]),{state:s,data:l,reload:y,total:i}})({filters:p,max:g,offset:g*O});return(0,u.T)({state:R,reload:S}),r().createElement(b.Z,{id:c},r().createElement(D,{title:s,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRefresh:S,onRemove:i}),r().createElement(Y,{loadingState:R,onRefresh:S,data:w},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(Le,{height:a,onChangePage:x,page:O,rowsPerPage:g,count:C,onChangeRowsPerPage:E,rowsPerPageOptions:h,width:n,data:t})})))}));var _e=n(31276),Ve=n(46923);let Ue;!function(e){e.HOUR="hour",e.DAY="day"}(Ue||(Ue={}));var We=n(95038),Ge=n.n(We);const qe=e=>{const t=(e=>{let[t,n]=e;return Ge().duration(+t,n)})(e);return t.isValid()&&t.valueOf()>0},$e=(0,o.ifElse)(qe,(e=>{let[t,n]=e;const a=Ge()().valueOf();return[Ge()(a).endOf(n).subtract(t,n).valueOf()+1,a]}),(e=>{let[t,n]=e;return[Ge()(t).valueOf(),Ge()(n).endOf("date").valueOf()]})),Ye=(0,o.pipe)($e,(e=>{let[t,n]=e;return n-t>+Ge().duration(1,"day")?Ue.DAY:Ue.HOUR})),Xe="_",Ke=[{value:[24,"hours"].join(Xe),get label(){return c().text("Last 24 hours")}},{value:[7,"days"].join(Xe),get label(){return c().text("Last 7 days")}},{value:[30,"days"].join(Xe),get label(){return c().text("Last 30 days")}},{value:m.lL_.PICK_DATE,get label(){return c().text("Pick date")}}],Qe=(0,o.when)(qe,(0,o.join)(Xe)),Je=(0,o.when)((0,o.is)(String),(0,o.pipe)((0,o.split)(Xe),(0,o.adjust)(0,parseInt))),et=e=>{let{value:t,onChange:n=_e.ZT,className:a}=e;return r().createElement(Ve.Z,{label:null,values:t&&Qe(t),options:Ke,getValuesDateRange:(0,o.pipe)(Je,$e,(0,o.map)((e=>new Date(e)))),onChange:(0,o.pipe)(Je,n),className:a,dataTypeDefinition:{type:m.oS0.TYPE_LOCAL_DATE}})};var tt=n(2899);const nt=[{id:"created",types:["CREATED"],get label(){return c().text("New")},color:"#4BAFFF"},{id:"updated",types:["UPDATED"],get label(){return c().text("Updated")},color:"#0072CE"},{id:"deleted",types:["DELETED"],get label(){return c().text("Deleted")},color:"#F085F2"},{id:"matched",types:["POTENTIAL_MATCHES_FOUND"],get label(){return c().text("Matched")},color:"#C4CE00"},{id:"autoMerged",types:["MERGED","MERGED_ON_THE_FLY"],get label(){return c().text("Auto-merged")},color:"#CE5C00"},{id:"mergedManually",types:["MERGED_MANUALLY"],get label(){return c().text("Manually merged")},color:"#9E7ED3"},{id:"unmerged",types:["SPLITTED"],get label(){return c().text("Unmerged")},color:"#40CFBB"},{id:"notMatch",types:["NOT_MATCHES_SET"],get label(){return c().text("Not a match")},color:"#F97061"}],at=e=>nt.find((0,o.propEq)("id",e)),rt=(0,o.pipe)(at,(0,o.propOr)("","label")),lt=(0,o.pipe)(at,(0,o.prop)("color")),ot=e=>{const[t,n]=$e(e),a=e=>{let{facet:a,types:r}=e;return(0,m.NIY)({facet:a,startTime:t,endTime:n,types:r}).then((e=>{let{facets:t={},total:n=0}=e;return{total:n,data:t[a]}}))};return(()=>{const e=(0,o.chain)((0,o.prop)("types"),nt),t=(0,o.pipe)((0,o.propOr)([],"data"),(0,o.pluck)("term"));return a({facet:"type",types:e}).then((e=>t(e)))})().then((e=>e.length>0?(e=>{const r=(0,o.pipe)((0,o.map)((0,o.evolve)({term:e=>Ge().utc(e).valueOf()})),(0,o.prepend)({term:t,count:0}),(0,o.append)({term:n,count:0}));return Promise.all(nt.map((t=>{let{types:n,id:l}=t;return((t=>t.some((t=>e.includes(t))))(n)?a({facet:"hour",types:n}):Promise.resolve({total:0,data:[]})).then((e=>{let{total:t,data:n}=e;return{total:t,data:r(n),event:l}}))})))})(e):[]))},it=(0,o.curry)(((e,t)=>(0,o.pipe)((0,o.groupBy)((t=>{let{term:n}=t;return Ge()(n).startOf(e)})),o.toPairs,(0,o.map)((e=>{let[t,n]=e;return{term:Ge()(t).valueOf(),count:(0,o.sum)((0,o.pluck)("count",n))}})))(t))),ct=(0,o.curry)(((e,t)=>{const[n,...a]=t;return a.reduce(((t,n)=>{const a=+Ge().duration(1,e);let r=(0,o.last)(t).term+a;const l=[];for(;r<n.term;)l.push({term:r,count:0}),r+=a;return t.concat(l,n)}),[n])})),st=(0,o.curry)(((e,t)=>t.map((0,o.evolve)({data:(0,o.pipe)(it(e),ct(e))})))),ut=(0,o.cond)([[(0,o.equals)(Ue.HOUR),(0,o.always)("LT")],[(0,o.equals)(Ue.DAY),(0,o.always)("MMM D")]]),pt=e=>{let{x:t,y:n,payload:a,step:l}=e;return r().createElement("g",{transform:`translate(${t},${n})`},r().createElement("text",{x:0,y:0,dy:16,textAnchor:"middle",fill:"#666"},c().date(null==a?void 0:a.value,ut(l))))},dt=(0,R.Z)({tooltipWrapper:{borderRadius:"4px",background:"rgba(0, 0, 0, 0.54)",padding:"6px 8px 7px 8px",color:"#FFFFFF","& p":{fontSize:"12px",lineHeight:"18px",padding:0,margin:0}},tooltipTitle:{fontWeight:500},tooltipItemColor:{width:8,height:8,marginRight:10,display:"inline-block"},legend:{display:"flex",flexWrap:"wrap",marginLeft:"20px",marginTop:"10px"},legendItem:{display:"flex",alignItems:"baseline","&:not(:last-child)":{marginRight:10},width:"140px",marginBottom:"5px",fontSize:"13px",color:"rgba(0, 0, 0, 0.54)"},legendItemColor:{width:12,height:12,marginRight:10,flexShrink:0,boxSizing:"border-box"},legendItemValue:{color:"rgba(0, 0, 0, 0.87)",marginLeft:"10px"}}),mt=(0,o.cond)([[(0,o.equals)(Ue.HOUR),(0,o.always)("LT MMM D")],[(0,o.equals)(Ue.DAY),(0,o.always)("ll")]]),ft=e=>{let{active:t,payload:n,label:a,step:l,events:o}=e;const i=dt();return t&&r().createElement("div",{className:i.tooltipWrapper},r().createElement("p",{className:i.tooltipTitle},c().date(a,mt(l))),n.filter((e=>{let{name:t}=e;return o.includes(t)})).map((e=>{let{color:t,name:n,value:a}=e;return r().createElement("p",{key:n},r().createElement("span",{style:{background:t},className:i.tooltipItemColor}),`${rt(n)}: ${a}`)})))},ht=e=>{let{payload:t,selectedItems:n,onClick:a}=e;const l=dt();return r().createElement("div",{className:l.legend},t.map((e=>{let{id:t,color:o,value:i}=e;const s=n.includes(t);return r().createElement("div",{key:t,className:l.legendItem},r().createElement(x.Tooltip,{title:s?c().text("Hide"):c().text("Show")},r().createElement("div",{style:s?{background:o}:{border:`${o} 1px solid`},className:l.legendItemColor,onClick:()=>a(t)})),rt(t),r().createElement("span",{className:l.legendItemValue},i))})))};function gt(){return gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},gt.apply(this,arguments)}const yt=e=>{let{data:t,width:n,height:l,step:i}=e;const[c,s]=(0,a.useState)((0,o.pluck)("event",t)),[u,p]=(0,a.useState)(null),{cartesianGrid:d,tooltip:f,xAxis:h,yAxis:g,line:y,legend:v}={xAxis:{type:"category",dataKey:"term",tick:{fill:"#000",opacity:"0.54"},angle:0,textAnchor:"middle",stroke:"#666",allowDuplicatedCategory:!1},yAxis:{dataKey:"",type:"number",tick:{fill:"#000",opacity:"0.54",width:void 0},stroke:"#666",tickFormatter:m.k7L,width:50},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4"},tooltip:{cursor:{fill:"#000",opacity:"0.1"}},line:{type:"linear",dataKey:"count",strokeWidth:3},legend:{wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"25%"}}},b=(0,a.useMemo)((()=>st(i,t)),[i,t]),E=(0,a.useMemo)((()=>((e,t)=>{const n=(0,o.chain)((0,o.pipe)((0,o.prop)("data"),(0,o.pluck)("count")))(e),a=Math.min(...n),r=Math.max(...n);return Math.abs(r-a)<8?[0,7]:[0,"auto"]})(b)),[b]);return r().createElement(tt.wW,{width:n,height:l},r().createElement(tt.q3,d),r().createElement(tt.Kc,gt({},h,{tick:r().createElement(pt,{step:i})})),r().createElement(tt.B2,gt({},g,{tickCount:8,domain:E})),b.map((e=>{let{event:t,data:n}=e;const a=c.includes(t);return r().createElement(tt.x1,gt({key:t,stroke:lt(t),name:t,data:n,dot:a&&{r:5,strokeWidth:2},activeDot:a&&{r:5,strokeWidth:2,onMouseEnter:()=>p(t),onMouseLeave:()=>p(null)},strokeOpacity:a?1:0},y))})),r().createElement(tt.De,gt({content:r().createElement(ht,{selectedItems:c,onClick:e=>{s((0,o.ifElse)((0,o.includes)(e),(0,o.without)([e]),(0,o.append)(e)))}}),payload:b.map((e=>{let{event:t,total:n}=e;return{id:t,type:"square",color:lt(t),value:n}}))},v)),r().createElement(tt.u,gt({},f,{content:r().createElement(ft,{step:i,events:u?[u]:c})})))};var vt=n(67218);const bt=(0,R.Z)({periodSelector:{position:"relative",margin:"0 6px 0 0",flexBasis:"220px",flexShrink:1,'& input[type="text"]':{padding:"0 0 0 8px"}}}),Et=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRemove:c}=e;const s=bt(),{id:p,title:m}=t,[f,h]=(0,a.useState)([7,"days"]),{state:g,data:y,reload:v}=(e=>{const[t,n]=(0,a.useState)([]),[r,l]=(0,a.useState)(d.o.INIT),i=(0,vt._)(),c=e=>{console.error(e),l(d.o.ERROR),n([])},s=(0,a.useCallback)((()=>{l(d.o.LOADING);const t=(0,o.pipe)(ot,i,(0,o.andThen)((e=>{l(d.o.LOADED),n(e)})),(0,o.otherwise)(c));t(e)}),[...e]),u=()=>{try{s()}catch(e){c(e)}};return(0,a.useEffect)((()=>{u()}),[s]),{state:r,data:t,reload:u}})(f);return(0,u.T)({state:g,reload:v}),r().createElement(b.Z,{id:p},r().createElement(D,{title:m,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRefresh:v,onRemove:c},r().createElement(et,{value:f,onChange:h,className:s.periodSelector})),r().createElement(Y,{loadingState:g,onRefresh:v,data:y},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(yt,{data:t,width:n,height:a,step:Ye(f)})})))}));var Ot=n(3292);function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){wt(e,t,n[t])}))}return e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rt=e=>`configuration/entityTypes/${e}`,St=(0,o.pipe)((0,o.prop)("group"),Rt),Ct=(0,o.curry)(((e,t)=>t.map((t=>{const n=St(t);return xt({},t,{label:(0,m.nt9)(e,n).label})})))),Mt=(0,o.curry)(((e,t)=>{const n=(0,o.pipe)(St,(0,m.io3)(e),(0,o.map)((0,m.nt9)(e)),(0,o.filter)(m.oDv),o.last),a=t.reduce(((e,t)=>{const a=n(t);if(a){const n=(0,m.nIW)(a.uri);return xt({},e,{[n]:(e[n]||0)+t.value})}return e}),{});return Object.entries(a).map((e=>{let[t,n]=e;return{group:t,label:t,value:n}}))})),Pt=(0,o.pipe)(Rt,ce,m.VGB),Tt=(0,o.pipe)((0,o.prop)("uri"),m.nIW),jt=(0,o.curry)(((e,t)=>e.find((e=>e.group===t)))),Ft=e=>({label:e,group:e,value:0}),kt=(0,o.curry)(((e,t)=>{let{entityTypes:n}=e;const a=(0,o.pipe)(Tt,(0,o.either)(jt(t),Ft));return n.filter(m.oDv).map(a)})),It=[],zt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRemove:s}=e;const{id:m,title:f,hideEmpty:h,orderType:g,inheritChildren:y}=t,{data:v,state:E,reload:O}=(e=>{let{orderType:t,inheritChildren:n,hideEmpty:r}=e;const[i,c]=(0,a.useState)([]),[s,u]=(0,a.useState)(d.o.INIT),m=(0,l.useSelector)(p.ZP.selectors.getMetadata),f=m.entityTypes.length,{globalFilter:h,activityFilter:g}=(0,l.useSelector)(p.ZP.selectors.getGlobalSearchRequestOptions),y=(0,l.useSelector)(p.ZP.selectors.getSearchOptions),v=y&&y.searchByOv,b=e=>{console.error(e),u(d.o.ERROR),c([])},E=(0,a.useCallback)((()=>{u(d.o.LOADING);const e=(0,o.pipe)(fe,(0,o.andThen)((0,o.unless)((0,o.always)(r),kt(m))),(0,o.andThen)((0,o.when)((0,o.always)(n),Mt(m))),(0,o.andThen)(Ct(m)),(0,o.andThen)(Ee),(0,o.andThen)((e=>{u(d.o.LOADED),c(e)})),(0,o.otherwise)(b));e({attribute:"type",pageSize:f,filters:It,globalFilter:h,searchByOv:v,activityFilter:g,orderType:t})}),[r,m,n,f,h,v,g,t]),O=()=>{try{E()}catch(e){b(e)}};return(0,a.useEffect)((()=>{O()}),[E]),{state:s,data:i,reload:O}})({hideEmpty:h,orderType:g,inheritChildren:y});(0,u.T)({state:E,reload:O});const x=(0,l.useDispatch)(),w=(0,l.useSelector)(p.ZP.selectors.getMetadata),R=(0,o.pipe)(Pt,Se(w,"type"),p.ui.actions.openSearch,x);return r().createElement(b.Z,{id:m},r().createElement(D,{title:f,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRefresh:O,onRemove:s}),r().createElement(Y,{loadingState:E,onRefresh:O,data:v},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(Ot.Z,{width:n,height:a,data:t,onItemClick:R})})))})),Dt=(0,R.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},iframe:{borderWidth:0,width:"100%",height:"100%"},tasksSelector:{position:"relative",margin:"0 6px 0 0",flexBasis:"220px",flexShrink:1},tasksSelectorInput:{fontSize:"14px",lineHeight:"16px",padding:"12px 32px 10px 12px"},pagination:{height:"52px",flexGrow:0,flexShrink:0}}))),Nt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:a,isFullscreen:l,onRemove:o}=e;const{id:i,title:c,url:s}=t,u=Dt();return r().createElement(b.Z,{id:i},r().createElement(D,{title:c,onToggleFullscreen:n,isUpdated:a,isFullscreen:l,onRemove:o}),r().createElement(A.Z,{className:u.viewContent},r().createElement("iframe",{src:s,frameBorder:"0",className:u.iframe})))}));let At;!function(e){e.MY="my",e.TEAM="team"}(At||(At={}));var Bt=n(30739),Zt=n(31254),Lt=n(73272);function Ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){_t(e,t,n[t])}))}return e}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Vt=(0,o.cond)([[(0,o.equals)(At.MY),(0,o.always)(m.C82)],[(0,o.equals)(At.TEAM),(0,o.always)(m.h6J)],[o.T,(0,o.always)((()=>Promise.resolve({data:[]})))]]),Ut=(0,o.pipe)((0,o.propOr)([],"objectURIs"),o.head),Wt=(0,o.startsWith)("changeRequests/"),Gt=(0,o.complement)(o.isEmpty),qt=(0,o.pipe)((0,o.map)(Ut),(0,o.filter)(m.WgC),(0,o.when)(Gt,m.DnY)),$t=(0,o.pipe)((0,o.map)(Ut),(0,o.filter)(Wt),(0,o.map)((0,o.pipe)(m.E6I,(0,o.otherwise)((0,o.always)(null)))),(e=>Promise.all(e))),Yt=(0,o.converge)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.all(t)}),[qt,$t]),Xt=e=>{let{objectsInfo:t={},changes:n={},uri:a}=e;const r=e=>(0,o.path)([e,0],n),l=e=>{const{type:t}=r(e);return"CREATE_ENTITY"==t||"CREATE_RELATIONSHIP"==t?a+"/changes/"+e:e};return(0,o.pipe)(o.keys,(0,o.filter)(r),(0,o.sort)((0,o.descend)((0,o.pipe)(r,(0,o.prop)("createdTime")))),(0,o.map)((e=>Ht({},t[e],{uri:l(e)}))))(t)},Kt=(e,t,n)=>(t=(0,o.reject)(o.isNil,t),n.map((0,o.pipe)((0,o.when)((0,o.pipe)(Ut,m.WgC),(e=>t=>{const n=e.find((0,o.propEq)("uri",Ut(t)));return n?Ht({},t,{objects:[n]}):t})(e)),(0,o.when)((0,o.pipe)(Ut,Wt),(e=>t=>{const n=e.find((0,o.propEq)("uri",Ut(t)));return n?Ht({},t,{objects:Xt(n)}):t})(t))))),Qt=(0,o.curry)((async(e,t)=>{let{workflowPath:n,environment:a,tenant:r,assignee:l,max:o,offset:i}=t;const c=Vt(e),{data:s,total:u}=await c({workflowPath:n,environment:a,tenant:r,assignee:l,max:o,offset:i}),[p,d]=await Yt(s);return{data:Kt(p,d,s),total:u}})),Jt=e=>e.dueDate&&e.dueDate<Date.now(),en=(0,R.Z)((e=>({taskItem:{flex:1,display:"flex",padding:"15px",color:e.palette.text.primary,"&.Low":{borderLeft:"#F7F7F7 solid 3px"},"&.Medium":{borderLeft:"#F7DE03 solid 3px"},"&.High":{borderLeft:"#FF9800 solid 3px"},"&.Urgent":{borderLeft:"#F44336 solid 3px"}},taskInfo:{flex:1,padding:"0 15px",overflow:"hidden",overflowWrap:"anywhere"},taskTitle:{lineHeight:"18px",marginBottom:"6px"},taskDetail:{lineHeight:"15px",fontSize:"12px",margin:"5px 0"},taskDetailTitle:{color:e.palette.text.secondary,marginRight:"3px"},taskDueDate:{flex:"0 0 110px",fontSize:"13px",lineHeight:"15px",textAlign:"right",paddingTop:"6px"},flag:{height:"14px",width:"14px",stroke:"rgba(0,0,0,.54)",fill:"none",verticalAlign:"text-top",marginRight:"5px"},overdue:{"&$taskDueDate":{color:"#f44336"},"& $flag":{stroke:"#f44336",fill:"#f44336"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontSize:"13px",lineHeight:"15px"},hidden:{visibility:"hidden"}}))),tn=e=>{let{uri:t,label:n}=e;const a=en();return r().createElement(Ae.Z,{value:t,className:a.entityLabel},(0,m.idV)(n))},nn=e=>{let{object:t,metadata:n}=e;if("startObjectUri"in t&&"endObjectUri"in t){const e=(0,m.V3K)(n,t.type);return r().createElement(r().Fragment,null,e.label," ",c().text("from")," ",r().createElement(tn,{uri:t.startObjectUri,label:t.startObjectLabel})," ",c().text("to")," ",r().createElement(tn,{uri:t.endObjectUri,label:t.endObjectLabel}))}return r().createElement(tn,{uri:(0,m.wwR)(t),label:t.label})},an=e=>{let{task:t,showAssignee:n}=e;const a=en(),o=t.objects||[],[i]=o,s=(0,l.useSelector)(p.ZP.selectors.getMetadata),u=i&&(0,m.nt9)(s,i.type);return r().createElement("div",{className:I()(a.taskItem,t.priorityClass)},r().createElement(Zt.Z,{entityType:u}),r().createElement("div",{className:a.taskInfo},r().createElement(x.Typography,{className:a.taskTitle,variant:"subtitle1"},t.processDefinitionDisplayName),o.map((e=>r().createElement("p",{key:e.uri,className:a.taskDetail},r().createElement(nn,{object:e,metadata:s})))),r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},c().text("Created by:")),t.createdBy," ",c().text("on")," ",c().date(t.createTime,"L")),n&&t.assignee&&r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},c().text("Assigned to:")),t.assignee),r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},c().text("Step:")),t.displayName)),r().createElement("div",{className:I()(a.taskDueDate,{[a.overdue]:Jt(t),[a.hidden]:!t.dueDate})},r().createElement(Lt.Z,{className:a.flag}),c().date(t.dueDate,"L")))},rn=e=>{let{width:t,height:n,tasksCategory:l,tasks:o}=e;const i=(0,a.useCallback)((e=>{let{data:t,index:n}=e;return r().createElement("div",null,r().createElement(an,{task:t[n],showAssignee:l!==At.MY}),r().createElement(x.Divider,{light:!0,variant:"inset"}))}),[l]);return r().createElement(Bt.Z,{width:t,height:n,data:o,defaultItemSize:115},i)};function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const on=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:s,onRemove:m}=e;const f=Dt(),{id:h,title:g,pageSize:y}=t,[v,E]=(0,a.useState)(0),[O,w]=(0,a.useState)(y||10),[R,S]=(0,a.useState)(At.MY),C=(0,a.useMemo)((()=>({tasksCategory:R,max:O,offset:O*v})),[O,v,R]),{state:M,data:P,total:T,reload:j}=(e=>{const{tasksCategory:t}=e,n=(0,a.useMemo)((()=>(0,o.pick)(["max","offset"],e)),[e]),[r,i]=(0,a.useState)([]),[c,s]=(0,a.useState)(d.o.INIT),[u,m]=(0,a.useState)(),f=(0,l.useSelector)(p.ZP.selectors.getWorkflowPath),h=(0,l.useSelector)(p.ZP.selectors.getWorkflowEnvironmentUrl),g=(0,l.useSelector)(p.ZP.selectors.getTenant),y=(0,l.useSelector)(p.ZP.selectors.getUserName),v=t===At.MY?y:void 0,b=(0,vt._)(),E=e=>{console.error(e),s(d.o.ERROR),i([])},O=(0,a.useCallback)((()=>{s(d.o.LOADING);const e=(0,o.pipe)(Qt(t),b,(0,o.andThen)((e=>{let{data:t,total:n}=e;s(d.o.LOADED),i(t),m(n)})),(0,o.otherwise)(E));e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ln(e,t,n[t])}))}return e}({workflowPath:f,environment:h,tenant:g,assignee:v},n))}),[f,h,g,t,n]),x=()=>{try{O()}catch(e){E(e)}};return(0,a.useEffect)((()=>{x()}),[O]),{state:c,data:r,reload:x,total:u}})(C);return(0,u.T)({state:M,reload:j}),r().createElement(b.Z,{id:h},r().createElement(D,{title:g,onToggleFullscreen:n,isUpdated:i,isFullscreen:s,onRemove:m,onRefresh:j},r().createElement(x.Select,{className:f.tasksSelector,classes:{root:f.tasksSelectorInput},variant:"filled",value:R,onChange:(0,o.pipe)(_e.NA,S)},r().createElement(x.MenuItem,{value:At.MY},c().text("My tasks")),r().createElement(x.MenuItem,{value:At.TEAM},c().text("Team tasks")))),r().createElement(Y,{loadingState:M,onRefresh:j,data:P},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(rn,{width:n,height:a,tasksCategory:R,tasks:t})})),T>(y||10)&&r().createElement("div",{className:f.pagination},r().createElement(X.Z,{count:T,rowsPerPage:O,page:v,onChangePage:E,onChangeRowsPerPage:w})))}));var cn=n(34359),sn=n(88234),un=n(67486);const pn=(0,R.Z)((()=>({activityLogFilter:{padding:"0 9px"}}))),dn=(0,a.memo)((e=>{let{config:t,isUpdated:n,isFullscreen:l,onToggleFullscreen:i,onRemove:c}=e;const{id:s,title:p,exportTypes:m}=t,f=pn(),[h,g]=(0,a.useState)(0),[E,O]=(0,a.useState)(y),x=(0,a.useMemo)((()=>v(y)),[]),[w,R]=(0,a.useState)({users:[],activities:[],dateRange:{type:d.K.WITHIN,period:[4,"months"]}}),{state:S,data:C,total:M,reload:P}=(e=>{let{filter:t,max:n,offset:r}=e;const[l,i]=(0,a.useState)([]),[c,s]=(0,a.useState)(0),[u,p]=(0,a.useState)(d.o.INIT),m=(0,vt._)(),f=e=>{console.error(e),p(d.o.ERROR),i([]),s(0)},h=(0,un.d)({filter:t,max:n,offset:r}),g=(0,a.useCallback)((()=>{p(d.o.LOADING);const e=(0,o.pipe)(h,m,(0,o.andThen)((e=>{let{data:t,total:n}=e;p(d.o.LOADED),i(t),s(n)})),(0,o.otherwise)(f));e()}),[h]),y=()=>{try{g()}catch(e){f(e)}};return(0,a.useEffect)((()=>{y()}),[g]),{state:u,data:l,total:c,reload:y}})({filter:w,max:E,offset:h*E}),T=(0,a.useCallback)((e=>{R(e),g(0)}),[]);return(0,u.T)({state:S,reload:P}),r().createElement(b.Z,{id:s},r().createElement(D,{title:p,onToggleFullscreen:i,isUpdated:n,isFullscreen:l,onRemove:c,onRefresh:P}),r().createElement("div",{className:f.activityLogFilter},r().createElement(cn.Z,{value:w,onChange:T,exportTypes:m})),r().createElement(Y,{loadingState:S,onRefresh:P,data:C},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(sn.Z,{width:n,height:a,activities:t,count:M,page:h,onChangePage:g,rowsPerPage:E,onChangeRowsPerPage:O,rowsPerPageOptions:x})})))}));function mn(){return mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},mn.apply(this,arguments)}class fn{}fn.ViewTypes=m.dZX,fn.getComponent=e=>{let{config:t,type:n,isUpdated:a,isFullscreen:l,onToggleFullscreen:o,onRemove:i}=e;const c={isUpdated:a,isFullscreen:l,onToggleFullscreen:o,onRemove:i};switch(n){case fn.ViewTypes.ActivitiesViewFacet:return r().createElement(dn,mn({config:t},c));case fn.ViewTypes.CustomActionViewFacet:return r().createElement(Nt,mn({config:t},c));case fn.ViewTypes.DashboardFacet:return r().createElement(Me,mn({config:t},c));case fn.ViewTypes.EntitiesByTypeViewFacet:return r().createElement(zt,mn({config:t},c));case fn.ViewTypes.FilteredSavedSearchesFacet:return r().createElement(ae,mn({config:t},c));case fn.ViewTypes.FilteredEntitiesViewFacet:return r().createElement(He,mn({config:t},c));case fn.ViewTypes.NotificationInboxFacet:return r().createElement(on,mn({config:t},c));case fn.ViewTypes.ProfileStatsFacet:return r().createElement(Et,mn({config:t},c));default:return r().createElement("div",null,"NOT IMPLEMENTED")}},fn.getChartType=e=>{const t={[fn.ViewTypes.EntitiesByTypeViewFacet]:m.$XE.TREE,[fn.ViewTypes.FilteredSavedSearchesFacet]:m.$XE.TABLE,[fn.ViewTypes.FilteredEntitiesViewFacet]:m.$XE.TABLE,[fn.ViewTypes.ProfileStatsFacet]:m.$XE.LINE,[fn.ViewTypes.NotificationInboxFacet]:m.$XE.TABLE,[fn.ViewTypes.ActivitiesViewFacet]:m.$XE.TABLE};return e.chartType||t[e.component]};const hn=fn}}]);
2
+ //# sourceMappingURL=7147.js.map