@reltio/remotes 1.4.949 → 1.4.950

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/131.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[131],{1292:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(24328),a=n(75047),r=(n(13980),n(8732)),i=n(85974),c=n(74718);function l(e){return e.substring(2).toLowerCase()}const s=function(e){var t=e.children,n=e.disableReactTree,s=void 0!==n&&n,u=e.mouseEvent,d=void 0===u?"onClick":u,p=e.onClickAway,m=e.touchEvent,g=void 0===m?"onTouchEnd":m,f=o.useRef(!1),v=o.useRef(null),h=o.useRef(!1),Z=o.useRef(!1);o.useEffect((function(){return setTimeout((function(){h.current=!0}),0),function(){h.current=!1}}),[]);var x=o.useCallback((function(e){v.current=a.findDOMNode(e)}),[]),y=(0,i.Z)(t.ref,x),b=(0,c.Z)((function(e){var t=Z.current;if(Z.current=!1,h.current&&v.current&&!function(e){return document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY}(e))if(f.current)f.current=!1;else{(e.composedPath?e.composedPath().indexOf(v.current)>-1:!(0,r.Z)(v.current).documentElement.contains(e.target)||v.current.contains(e.target))||!s&&t||p(e)}})),E=function(e){return function(n){Z.current=!0;var o=t.props[e];o&&o(n)}},w={ref:y};return!1!==g&&(w[g]=E(g)),o.useEffect((function(){if(!1!==g){var e=l(g),t=(0,r.Z)(v.current),n=function(){f.current=!0};return t.addEventListener(e,b),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,b),t.removeEventListener("touchmove",n)}}}),[b,g]),!1!==d&&(w[d]=E(d)),o.useEffect((function(){if(!1!==d){var e=l(d),t=(0,r.Z)(v.current);return t.addEventListener(e,b),function(){t.removeEventListener(e,b)}}}),[b,d]),o.createElement(o.Fragment,null,o.cloneElement(t,w))}},85256:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(41128),s=r.forwardRef((function(e,t){var n=e.absolute,c=void 0!==n&&n,l=e.classes,s=e.className,u=e.component,d=void 0===u?"hr":u,p=e.flexItem,m=void 0!==p&&p,g=e.light,f=void 0!==g&&g,v=e.orientation,h=void 0===v?"horizontal":v,Z=e.role,x=void 0===Z?"hr"!==d?"separator":void 0:Z,y=e.variant,b=void 0===y?"fullWidth":y,E=(0,a.Z)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return r.createElement(d,(0,o.Z)({className:(0,i.Z)(l.root,s,"fullWidth"!==b&&l[b],c&&l.absolute,m&&l.flexItem,f&&l.light,"vertical"===h&&l.vertical),role:x,ref:t},E))}));const u=(0,c.Z)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,l.U1)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(s)},64326:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=r.forwardRef((function(e,t){var n=e.classes,c=e.className,l=e.row,s=void 0!==l&&l,u=(0,a.Z)(e,["classes","className","row"]);return r.createElement("div",(0,o.Z)({className:(0,i.Z)(n.root,c,s&&n.row),ref:t},u))}));const s=(0,c.Z)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(l)},49378:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(90436),s=n(20413),u=r.forwardRef((function(e,t){var n=e.children,c=e.classes,u=e.className,d=e.disableTypography,p=void 0!==d&&d,m=e.inset,g=void 0!==m&&m,f=e.primary,v=e.primaryTypographyProps,h=e.secondary,Z=e.secondaryTypographyProps,x=(0,a.Z)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),y=r.useContext(s.Z).dense,b=null!=f?f:n;null==b||b.type===l.Z||p||(b=r.createElement(l.Z,(0,o.Z)({variant:y?"body2":"body1",className:c.primary,component:"span",display:"block"},v),b));var E=h;return null==E||E.type===l.Z||p||(E=r.createElement(l.Z,(0,o.Z)({variant:"body2",className:c.secondary,color:"textSecondary",display:"block"},Z),E)),r.createElement("div",(0,o.Z)({className:(0,i.Z)(c.root,u,y&&c.dense,g&&c.inset,b&&E&&c.multiline),ref:t},x),b,E)}));const d=(0,c.Z)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(u)},2682:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(7560),a=n(85354),r=n(54530),i=n(24328),c=(n(13980),n(64326)),l=n(85974),s=n(24514),u=n(28006),d=n(66049);const p=i.forwardRef((function(e,t){var n=e.actions,p=e.children,m=e.name,g=e.value,f=e.onChange,v=(0,r.Z)(e,["actions","children","name","value","onChange"]),h=i.useRef(null),Z=(0,s.Z)({controlled:g,default:e.defaultValue,name:"RadioGroup"}),x=(0,a.Z)(Z,2),y=x[0],b=x[1];i.useImperativeHandle(n,(function(){return{focus:function(){var e=h.current.querySelector("input:not(:disabled):checked");e||(e=h.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var E=(0,l.Z)(t,h),w=(0,d.Z)(m);return i.createElement(u.Z.Provider,{value:{name:w,onChange:function(e){b(e.target.value),f&&f(e,e.target.value)},value:y}},i.createElement(c.Z,(0,o.Z)({role:"radiogroup",ref:E},v),p))}))},37265:(e,t,n)=>{n.d(t,{Z:()=>h});var o=n(54530),a=n(51119),r=n(7560),i=n(24328),c=(n(13980),n(6277)),l=n(15459),s=n(39265),u=n(1292),d=n(74718),p=n(97580),m=n(11375),g=n(72654),f=n(93657),v=i.forwardRef((function(e,t){var n=e.action,a=e.anchorOrigin,l=(a=void 0===a?{vertical:"bottom",horizontal:"center"}:a).vertical,v=a.horizontal,h=e.autoHideDuration,Z=void 0===h?null:h,x=e.children,y=e.classes,b=e.className,E=e.ClickAwayListenerProps,w=e.ContentProps,P=e.disableWindowBlurListener,k=void 0!==P&&P,C=e.message,R=e.onClose,N=e.onEnter,T=e.onEntered,L=e.onEntering,I=e.onExit,B=e.onExited,S=e.onExiting,M=e.onMouseEnter,z=e.onMouseLeave,D=e.open,A=e.resumeHideDuration,O=e.TransitionComponent,H=void 0===O?g.Z:O,W=e.transitionDuration,_=void 0===W?{enter:s.x9.enteringScreen,exit:s.x9.leavingScreen}:W,j=e.TransitionProps,G=(0,o.Z)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),q=i.useRef(),U=i.useState(!0),F=U[0],X=U[1],$=(0,d.Z)((function(){R&&R.apply(void 0,arguments)})),J=(0,d.Z)((function(e){R&&null!=e&&(clearTimeout(q.current),q.current=setTimeout((function(){$(null,"timeout")}),e))}));i.useEffect((function(){return D&&J(Z),function(){clearTimeout(q.current)}}),[D,Z,J]);var V=function(){clearTimeout(q.current)},Y=i.useCallback((function(){null!=Z&&J(null!=A?A:.5*Z)}),[Z,A,J]);return i.useEffect((function(){if(!k&&D)return window.addEventListener("focus",Y),window.addEventListener("blur",V),function(){window.removeEventListener("focus",Y),window.removeEventListener("blur",V)}}),[k,Y,D]),!D&&F?null:i.createElement(u.Z,(0,r.Z)({onClickAway:function(e){R&&R(e,"clickaway")}},E),i.createElement("div",(0,r.Z)({className:(0,c.Z)(y.root,y["anchorOrigin".concat((0,p.Z)(l)).concat((0,p.Z)(v))],b),onMouseEnter:function(e){M&&M(e),V()},onMouseLeave:function(e){z&&z(e),Y()},ref:t},G),i.createElement(H,(0,r.Z)({appear:!0,in:D,onEnter:(0,m.Z)((function(){X(!1)}),N),onEntered:T,onEntering:L,onExit:I,onExited:(0,m.Z)((function(){X(!0)}),B),onExiting:S,timeout:_,direction:"top"===l?"down":"up"},j),x||i.createElement(f.Z,(0,r.Z)({message:C,action:n},w)))))}));const h=(0,l.Z)((function(e){var t={top:8},n={bottom:8},o={justifyContent:"flex-end"},i={justifyContent:"flex-start"},c={top:24},l={bottom:24},s={right:24},u={left:24},d={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,r.Z)({},t,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({},c,d))),anchorOriginBottomCenter:(0,r.Z)({},n,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({},l,d))),anchorOriginTopRight:(0,r.Z)({},t,o,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({left:"auto"},c,s))),anchorOriginBottomRight:(0,r.Z)({},n,o,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({left:"auto"},l,s))),anchorOriginTopLeft:(0,r.Z)({},t,i,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({right:"auto"},c,u))),anchorOriginBottomLeft:(0,r.Z)({},n,i,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({right:"auto"},l,u)))}}),{flip:!1,name:"MuiSnackbar"})(v)},93657:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(54530),a=n(51119),r=n(7560),i=n(24328),c=(n(13980),n(6277)),l=n(15459),s=n(27556),u=n(41128),d=i.forwardRef((function(e,t){var n=e.action,a=e.classes,l=e.className,u=e.message,d=e.role,p=void 0===d?"alert":d,m=(0,o.Z)(e,["action","classes","className","message","role"]);return i.createElement(s.Z,(0,r.Z)({role:p,square:!0,elevation:6,className:(0,c.Z)(a.root,l),ref:t},m),i.createElement("div",{className:a.message},u),n?i.createElement("div",{className:a.action},n):null)}));const p=(0,l.Z)((function(e){var t="light"===e.palette.type?.8:.98,n=(0,u._4)(e.palette.background.default,t);return{root:(0,r.Z)({},e.typography.body2,(0,a.Z)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(d)},98287:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},49456:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},15584:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(54530),a=n(7560),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(97580),s=n(41128),u=n(98287),d=n(49456),p=r.forwardRef((function(e,t){var n,c,s=e.align,p=void 0===s?"inherit":s,m=e.classes,g=e.className,f=e.component,v=e.padding,h=e.scope,Z=e.size,x=e.sortDirection,y=e.variant,b=(0,o.Z)(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),E=r.useContext(u.Z),w=r.useContext(d.Z),P=w&&"head"===w.variant;f?(c=f,n=P?"columnheader":"cell"):c=P?"th":"td";var k=h;!k&&P&&(k="col");var C=v||(E&&E.padding?E.padding:"default"),R=Z||(E&&E.size?E.size:"medium"),N=y||w&&w.variant,T=null;return x&&(T="asc"===x?"ascending":"descending"),r.createElement(c,(0,a.Z)({ref:t,className:(0,i.Z)(m.root,m[N],g,"inherit"!==p&&m["align".concat((0,l.Z)(p))],"default"!==C&&m["padding".concat((0,l.Z)(C))],"medium"!==R&&m["size".concat((0,l.Z)(R))],"head"===N&&E&&E.stickyHeader&&m.stickyHeader),"aria-sort":T,role:n,scope:k},b))}));const m=(0,c.Z)((function(e){return{root:(0,a.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?(0,s.$n)((0,s.U1)(e.palette.divider,1),.88):(0,s._j)((0,s.U1)(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(p)},28899:(e,t,n)=>{n.d(t,{Z:()=>R});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(74603),s=n(12231),u=n(73698),d=n(15584),p=n(15223),m=n(90436),g=n(92979),f=n(64656),v=n(60364),h=n(61837),Z=r.createElement(f.Z,null),x=r.createElement(g.Z,null),y=r.createElement(g.Z,null),b=r.createElement(f.Z,null);const E=r.forwardRef((function(e,t){var n=e.backIconButtonProps,i=e.count,c=e.nextIconButtonProps,l=e.onChangePage,s=e.page,u=e.rowsPerPage,d=(0,a.Z)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),p=(0,v.Z)();return r.createElement("div",(0,o.Z)({ref:t},d),r.createElement(h.Z,(0,o.Z)({onClick:function(e){l(e,s-1)},disabled:0===s,color:"inherit"},n),"rtl"===p.direction?Z:x),r.createElement(h.Z,(0,o.Z)({onClick:function(e){l(e,s+1)},disabled:-1!==i&&s>=Math.ceil(i/u)-1,color:"inherit"},c),"rtl"===p.direction?y:b))}));var w=n(66049),P=function(e){var t=e.from,n=e.to,o=e.count;return"".concat(t,"-").concat(n," of ").concat(-1!==o?o:"more than ".concat(n))},k=[10,25,50,100],C=r.forwardRef((function(e,t){var n,c=e.ActionsComponent,g=void 0===c?E:c,f=e.backIconButtonProps,v=e.backIconButtonText,h=void 0===v?"Previous page":v,Z=e.classes,x=e.className,y=e.colSpan,b=e.component,C=void 0===b?d.Z:b,R=e.count,N=e.labelDisplayedRows,T=void 0===N?P:N,L=e.labelRowsPerPage,I=void 0===L?"Rows per page:":L,B=e.nextIconButtonProps,S=e.nextIconButtonText,M=void 0===S?"Next page":S,z=e.onChangePage,D=e.onChangeRowsPerPage,A=e.page,O=e.rowsPerPage,H=e.rowsPerPageOptions,W=void 0===H?k:H,_=e.SelectProps,j=void 0===_?{}:_,G=(0,a.Z)(e,["ActionsComponent","backIconButtonProps","backIconButtonText","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","nextIconButtonText","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);C!==d.Z&&"td"!==C||(n=y||1e3);var q=(0,w.Z)(),U=(0,w.Z)(),F=j.native?"option":s.Z;return r.createElement(C,(0,o.Z)({className:(0,i.Z)(Z.root,x),colSpan:n,ref:t},G),r.createElement(p.Z,{className:Z.toolbar},r.createElement("div",{className:Z.spacer}),W.length>1&&r.createElement(m.Z,{color:"inherit",variant:"body2",className:Z.caption,id:U},I),W.length>1&&r.createElement(u.Z,(0,o.Z)({classes:{select:Z.select,icon:Z.selectIcon},input:r.createElement(l.Z,{className:(0,i.Z)(Z.input,Z.selectRoot)}),value:O,onChange:D,id:q,labelId:U},j),W.map((function(e){return r.createElement(F,{className:Z.menuItem,key:e.value?e.value:e,value:e.value?e.value:e},e.label?e.label:e)}))),r.createElement(m.Z,{color:"inherit",variant:"body2",className:Z.caption},T({from:0===R?0:A*O+1,to:-1!==R?Math.min(R,(A+1)*O):(A+1)*O,count:-1===R?-1:R,page:A})),r.createElement(g,{className:Z.actions,backIconButtonProps:(0,o.Z)({title:h,"aria-label":h},f),count:R,nextIconButtonProps:(0,o.Z)({title:M,"aria-label":M},B),onChangePage:z,page:A,rowsPerPage:O})))}));const R=(0,c.Z)((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),overflow:"auto","&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(C)}}]);
package/352.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[352],{98989:(e,t,a)=>{var l=a(14859);t.Z=void 0;var r=l(a(24328)),n=(0,l(a(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{d:"M10 17l5-5-5-5v10z"}),r.default.createElement("path",{fill:"none",d:"M0 24V0h24v24H0z"})),"ArrowRight");t.Z=n},82726:(e,t,a)=>{var l=a(14859);t.Z=void 0;var r=l(a(24328)),n=(0,l(a(50175)).default)(r.default.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");t.Z=n},43266:(e,t,a)=>{var l=a(14859);t.Z=void 0;var r=l(a(24328)),n=(0,l(a(50175)).default)(r.default.createElement("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"}),"Replay");t.Z=n},21853:(e,t,a)=>{var l=a(14859);t.Z=void 0;var r=l(a(24328)),n=(0,l(a(50175)).default)(r.default.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=n},83735:(e,t,a)=>{a.r(t),a.d(t,{default:()=>sn});var l=a(24328),r=a.n(l),n=a(52730),i=a(33016),o=a(36138),c=a(58263),s=a(17440),u=a(87918),p=a.n(u),d=a(11326),f=a(7907),m=a(79002),h=a(89810),y=a(5260);var v=a(90436),g=a(79692);const E=(0,g.Z)({root:{display:"flex",alignItems:"center",width:"100%",borderBottom:"solid 1px rgba(0, 0, 0, 0.12)"},title:{fontSize:"18px",flexShrink:0,padding:"0 20px"},content:{overflow:"hidden",flexGrow:1},updateButton:{height:36,width:36,padding:"0 20px"}}),b=e=>{let{title:t,children:a}=e;const l=E();return r().createElement("div",{className:l.root},r().createElement(v.Z,{variant:"body2",className:l.title},t),r().createElement("div",{className:l.content},a))};var x=a(17822);let O;!function(e){e.FILL_RATE_CHART="fillRate",e.UNIQUENESS_CHART="uniqueness",e.SUMMARY="summary",e.VALIDATION="validation",e.FREQUENCY="frequency",e.LENGTH="length",e.CROSSWALK="crosswalk",e.MONTH_DISTRIBUTION="monthDistribution",e.DAY_OF_WEEK_DISTRIBUTION="dayOfWeekDistribution",e.DAY_OF_MONTH_DISTRIBUTION="dayOfMonthDistribution",e.VALUE_DISTRIBUTION="valueDistribution",e.PATTERN="patternAnalysis",e.UNSUPPORTED="unsupported"}(O||(O={}));var w=a(45644),N=a(78223),T=a(39878);const S=(e,t,a)=>({attributes:(t||[]).map(((t,l)=>{let{filter:r,fieldName:n,values:i}=t;return{data:{uri:null==a?void 0:a.uri,entityTypeUri:e,fieldName:n},filter:r,id:`attribute_${l}`,operator:"and",values:i}})),entityTypes:[e],id:"group",operator:"or"});let R,I;!function(e){e.STRING="string",e.FLOAT="float",e.INTEGER="integer",e.BOOLEAN="boolean",e.DATE="date",e.SSN="SSN",e.UNKNOWN="unknown"}(R||(R={})),function(e){e.ENTITY_TYPE="entityType",e.ATTRIBUTE_TYPE="attributeType"}(I||(I={}));const A={[I.ATTRIBUTE_TYPE]:[{id:"FillRateView",type:O.FILL_RATE_CHART,title:"Fill rate"},{id:"UniquenessAnalysisView",type:O.UNIQUENESS_CHART,title:p().text("Uniqueness analysis")},{id:"SummaryView",type:O.SUMMARY,title:p().text("Summary")},{id:"ValidationView",type:O.VALIDATION,title:p().text("Profiles that violated validation function")},{id:"FrequencyAnalysis",type:O.FREQUENCY,title:p().text("Frequency analysis")},{id:"LengthStatistics",type:O.LENGTH,title:p().text("Length statistics")},{id:"PatternAnalysis",type:O.PATTERN,title:p().text("Pattern analysis")},{id:"CrosswalkAnalysis",type:O.CROSSWALK,title:p().text("Source system analysis")},{id:"MonthDistribution",type:O.MONTH_DISTRIBUTION,title:p().text("Month distribution")},{id:"DayOfWeekDistribution",type:O.DAY_OF_WEEK_DISTRIBUTION,title:p().text("Day of week distribution")},{id:"DayOfMonthDistribution",type:O.DAY_OF_MONTH_DISTRIBUTION,title:p().text("Day of month distribution")},{id:"ValueDistribution",type:O.VALUE_DISTRIBUTION,title:p().text("Value distribution")},{id:"UnsupportedDataType",type:O.UNSUPPORTED,title:p().text("Unsupported Data Type")}],[I.ENTITY_TYPE]:[{id:"SummaryView",type:O.SUMMARY,title:p().text("Summary")}]},C={[I.ATTRIBUTE_TYPE]:{default:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"LengthStatistics"}],[R.SSN]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:2,height:19,id:"PatternAnalysis"}],[R.BOOLEAN]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"FrequencyAnalysis"},{x:0,y:19,width:2,height:19,id:"CrosswalkAnalysis"}],[R.DATE]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"},{x:0,y:57,width:2,height:19,id:"MonthDistribution"},{x:2,y:57,width:2,height:19,id:"DayOfWeekDistribution"},{x:0,y:76,width:4,height:19,id:"DayOfMonthDistribution"}],[R.INTEGER]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}],[R.FLOAT]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}]}};function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){L(e,t,a[t])}))}return e}function L(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const D=(0,s.map)((e=>M({},e,{localizedValue:p().number(e.value)}))),P=e=>(0,s.isNil)(e)?"":`(${e}%)`,j=e=>(0,s.isEmpty)(e)||!e.find((e=>{let{value:t}=e;return t>0})),F=(0,s.curry)(((e,t,a)=>({advanced:[S(t,a.map((0,s.when)((()=>(0,c.Lt4)(e.type)),(0,s.evolve)({values:(0,s.map)((0,c.mOr)(c.ZBU))}))),e)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}))),k=e=>t=>{let{detailedAttributeType:a,entityTypeUri:l,dvfs:r}=t;return(0,s.pipe)(e({fieldName:a.fieldName,entityTypeUri:l,dvfs:r}),F(a,l))},U=e=>{switch(e){case c.oS0.TYPE_BLOB:case c.oS0.TYPE_BLOG_URL:case c.oS0.TYPE_CIK_ID:case c.oS0.TYPE_ENTITY_ID:case c.oS0.TYPE_IMAGE_URL:case c.oS0.TYPE_STRING:case c.oS0.TYPE_TEXT:case c.oS0.TYPE_URL:return R.STRING;case c.oS0.TYPE_COUNT:case c.oS0.TYPE_DOLLAR:case c.oS0.TYPE_INT:case c.oS0.TYPE_LONG:return R.INTEGER;case c.oS0.TYPE_FLOAT:case c.oS0.TYPE_DOUBLE:case c.oS0.TYPE_NUMBER:return R.FLOAT;case c.oS0.TYPE_BOOLEAN:case c.oS0.TYPE_RDM_LOOKUPS_NOT_RESOLVED:return R.BOOLEAN;case c.oS0.TYPE_ACTIVENESS_DATE:case c.oS0.TYPE_DATE:case c.oS0.TYPE_LOCAL_DATE:case c.oS0.TYPE_TIMESTAMP:return R.DATE;case c.oS0.TYPE_SSN:return R.SSN;default:return R.UNKNOWN}},z=e=>{let{percent:t,value:a}=e;return M({width:`${t}%`},a>0&&{minWidth:"3px"})},_=(0,s.pipe)((0,s.pluck)("percent"),(e=>Math.max(...e)));var V=a(71153),B=a.n(V);const H=(0,g.Z)({wrapper:{width:"100%",display:"flex",justifyContent:"center",margin:"auto",flexWrap:"wrap",flexDirection:"column",marginBottom:2},item:{display:"flex",alignItems:"center",height:19},itemColor:{width:12,height:12,marginRight:9,flexShrink:0}}),Y=e=>{let{payload:t}=e;const a=H();return r().createElement("div",{className:B()(a.wrapper)},t.map((e=>r().createElement("div",{key:e.id,className:a.item},r().createElement("div",{style:{background:e.color},className:a.itemColor}),e.value))))},Z=(0,g.Z)({root:{display:"flex",flexDirection:"column",height:"100%"},stackedBar:{width:"100%",display:"flex",flexWrap:"nowrap",marginTop:"13px"},bar:{height:"24px",flexGrow:1,position:"relative",width:"50%",transition:"width 0.7s","&:hover":{"&:after":{content:'""',background:"rgba(0, 0, 0, 0.1)"}},"&:after":{position:"absolute",top:"-3px",bottom:"-5px",left:"-5px",right:"-5px",transition:"background 0.3s",zIndex:1,pointerEvents:"none"}},inactivePart:{background:"#EFEFEF"},tooltipTitle:{fontSize:"11px"},tooltipFillRate:{marginTop:"4px"},tooltip:{background:"#fff",filter:"drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.12)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2))",padding:"5px 8px"},legendWrapper:{position:"relative",flexGrow:1},legendLabel:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.54)",paddingRight:"8px"},legendValue:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.87)"},clickable:{cursor:"pointer"}});function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},G.apply(this,arguments)}const W=(0,l.forwardRef)(((e,t)=>{let{className:a}=e,l=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["className"]);const n=Z();return r().createElement("div",G({className:B()(n.bar,a)},l,{ref:t}))}));W.displayName="Bar";const q=W,Q=(0,g.Z)({label:{whiteSpace:"nowrap",paddingRight:"9px"},infoDataLabel:{fontWeight:700},chartDataLabel:{color:"rgba(255, 255, 255, 0.75)"}}),$=e=>{let{label:t,value:a}=e;const l=Q();return r().createElement(r().Fragment,null,t&&r().createElement("span",{className:B()(l.label,l.chartDataLabel)},t),a)},K=(0,g.Z)({tooltipWrapper:{fontSize:"10px",fontWeight:400,lineHeight:"12px",color:"#FFFFFF"},title:{padding:"2px 0"},row:{padding:"2px 0"}}),X=e=>{let{data:t,title:a,DataRenderer:l=$}=e;const n=K();return r().createElement("div",{className:n.tooltipWrapper},a&&r().createElement("div",{className:n.title},a),t.map(((e,t)=>r().createElement("div",{key:t,className:n.row},r().createElement(l,e)))))};function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){ee(e,t,a[t])}))}return e}function ee(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const te=(0,N.Z)(q),ae=e=>{let{label:t,value:a,percent:l}=e;return[{label:t,value:`${p().number(a)} ${P(l)}`}]},le=(0,T.Z)((e=>{let{data:t,colors:a,onItemClick:l}=e;const n=Z(),i=l&&(e=>l(e)),o=!!l;return r().createElement("div",{className:n.root},r().createElement("div",{className:n.stackedBar},t.map(((e,t)=>r().createElement(te,{className:o&&n.clickable,key:e.label,tooltipTitle:r().createElement(X,{data:ae(e)}),style:J({},z(e),{background:a[t]}),onClick:()=>i(e.group)})))),r().createElement("div",{className:n.legendWrapper},r().createElement(w.De,{layout:"vertical",align:"left",verticalAlign:"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"100%",maxWidth:"100%"},content:r().createElement(Y,null),payload:(t||[]).map(((e,t)=>{let{group:l,label:i,value:o,percent:s}=e;return{id:l,type:"square",color:a[t],value:r().createElement(r().Fragment,null,r().createElement("span",{className:n.legendLabel},i),r().createElement("span",{className:n.legendValue},`${(0,c.k7L)(o,999)} ${P(s)}`))}}))})))}));var re=a(17998),ne=a(39475),ie=a(82726);const oe=(0,g.Z)((()=>({root:{padding:"0px 16px"},title:{fontSize:"16px",marginRight:e=>e?0:"5px"},infoIcon:{position:"relative"}}))),ce=e=>{let{title:t,infoTooltipTitle:a,children:l}=e;const n=oe(!!l),i=!!a;return r().createElement(re.Z,{title:t,className:n.root,classes:{title:n.title}},i&&r().createElement(ne.k,{icon:ie.Z,size:"XXS",tooltipTitle:a,className:n.infoIcon}),l)};var se=a(54823);const ue=(0,g.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}})));function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},pe.apply(this,arguments)}const de=e=>{let{className:t}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["className"]);const l=ue();return r().createElement(se.Z,pe({},a,{className:B()(l.viewContent,t)}))};var fe=a(1730);const me=(0,g.Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),he=e=>{let{config:t,children:a}=e;const l=me(),{type:n}=t;return r().createElement(fe.Z,{className:l.view,"data-reltio-id":`reltio-dq-dashboard-chart-${n}`},a)},ye=e=>{let{label:t,value:a}=e;const l=Q();return r().createElement(r().Fragment,null,t&&r().createElement("span",{className:B()(l.label,l.infoDataLabel)},t),a)},ve={[c.s9T.MISSING]:"#CE5C00",[c.s9T.EXISTS]:"#C4CE00"},ge=(0,s.map)((e=>{let{group:t}=e;return ve[t]||(0,c.f4_)(t)})),Ee=e=>({[c.s9T.MISSING]:p().text("Missing"),[c.s9T.EXISTS]:p().text("Exists")}[e]||e),be=(0,s.pipe)(Object.entries,(0,s.map)((e=>{let[t,a]=e;return{label:Ee(t),group:t,value:a}})),(0,s.sortBy)((e=>Object.values(c.s9T).indexOf(e.group))),D),xe=e=>Object.keys(e).reduce(((t,a)=>(t[a]=be(e[a]),t)),{}),Oe=(0,s.propOr)({},"fillRate"),we=(0,s.pipe)(Oe,be,(0,s.when)(j,(0,s.always)([])),(0,s.converge)(((e,t)=>({chartData:e,colors:t})),[s.identity,ge])),Ne=(0,s.curry)(((e,t)=>{let{fieldName:a}=e;return[{filter:t===c.s9T.EXISTS?c.j5E.EXISTS:c.j5E.MISSING_VALUE,fieldName:a}]})),Te=k(Ne),Se=r().createContext(null);Se.displayName="ChartsDataContext";const Re=e=>{const{data:t,state:a,reload:r}=(0,l.useContext)(Se);return{data:(0,l.useMemo)((()=>e(t)),[t,e]),state:a,reload:r}},Ie=r().createContext(null);Ie.displayName="DVFContext";const Ae=r().createContext(null);Ae.displayName="DetailedAttributeTypeContext";const Ce=r().createContext(null);Ce.displayName="EntityTypeContext";const Me=e=>{const t=(0,n.useDispatch)(),a=(0,l.useContext)(Ae),r=(0,l.useContext)(Ce),i=(0,l.useContext)(Ie).data;return(0,s.pipe)(e({detailedAttributeType:a,entityTypeUri:r.uri,dvfs:i}),h.ui.actions.openSearch,t)},Le=e=>{let{config:t}=e;const{title:a}=t,{data:l,state:n,reload:i}=Re(we),{chartData:o,colors:c}=l,s=Me(Te),u=r().createElement(X,{title:p().text("Fill rate"),data:[{label:`${p().text("Exists")}:`,value:p().text("Profiles with data")},{label:`${p().text("Missing")}:`,value:p().text("Profiles without data")}],DataRenderer:ye});return r().createElement(he,{config:t},r().createElement(ce,{title:a,infoTooltipTitle:u}),r().createElement(de,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(le,{data:t,colors:c,onItemClick:s})})))},De={[c.dC6.UNIQUE]:"#4BAFFF",[c.dC6.NOT_UNIQUE]:"#C34980"},Pe=(0,s.map)((e=>{let{group:t}=e;return De[t]||(0,c.f4_)(t)})),je=e=>({[c.dC6.UNIQUE]:p().text("Unique"),[c.dC6.NOT_UNIQUE]:p().text("Not unique")}[e]||e),Fe=(0,s.pipe)(Object.entries,(0,s.map)((e=>{let[t,a]=e;return{label:je(t),group:t,value:a}})),(0,s.sortBy)((e=>Object.values(c.dC6).indexOf(e.group))),D),ke=(0,s.propOr)({},"uniqueness"),Ue=(0,s.pipe)(ke,Fe,(0,s.when)(j,(0,s.always)([])),(0,s.converge)(((e,t)=>({chartData:e,colors:t})),[s.identity,Pe])),ze=e=>{let{config:t}=e;const{title:a}=t,{data:l,state:n,reload:i}=Re(Ue),{chartData:o,colors:c}=l,s=r().createElement(X,{title:p().text("Uniqueness analysis"),data:[{label:`${p().text("Unique")}:`,value:p().text("Number of values that only appear once and have no duplicates")},{label:`${p().text("Not unique")}:`,value:p().text("Number of values that have at least one duplicate in the list")}],DataRenderer:ye});return r().createElement(he,{config:t},r().createElement(ce,{title:a,infoTooltipTitle:s}),r().createElement(de,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(le,{data:t,colors:c})})))};var _e=a(82068),Ve=a(4614),Be=a(80030),He=a(7089);const Ye=(e,t)=>(e||[]).some((0,s.propEq)("attribute",t)),Ze=e=>[c.oS0.TYPE_FLOAT,c.oS0.TYPE_DOUBLE,c.oS0.TYPE_NUMBER].includes(e);let Ge;function We(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){qe(e,t,a[t])}))}return e}function qe(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}!function(e){e.INCLUDED_IN_MATCHING="includedInMatching",e.REQUIRED="required",e.RDM_LOOKUP="RDMLookup",e.CONTAIN_VF="containVF",e.REFERENCE="reference"}(Ge||(Ge={}));const Qe=(0,s.curry)(((e,t)=>e.every((e=>t.details[e.value])))),$e=(0,s.curry)(((e,t)=>{var a;return Qe(e,t)||(null===(a=t.children)||void 0===a?void 0:a.some((t=>$e(e,t))))})),Ke=(0,s.curry)(((e,t)=>{var a;const l=e[t.fieldName];return null==l||null===(a=l.find((0,s.propEq)("group",c.s9T.EXISTS)))||void 0===a?void 0:a.value})),Xe=(0,s.curry)(((e,t)=>{var a;const l=e[t.fieldName];return!(null!=l&&null!==(a=l.find((0,s.propEq)("group",c.s9T.EXISTS)))&&void 0!==a&&a.value)})),Je=(0,s.curry)((function(e,t){var a;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=t.fieldName||(0,c.Tde)(t.uri,l);return Xe(e,We({},t,{fieldName:r}))||(null===(a=t.children)||void 0===a?void 0:a.some((a=>Je(e,a,l.concat({name:t.name,label:t.label})))))})),et=(0,s.curry)(((e,t)=>t.reduce(((t,a)=>{const l=((e,t)=>{var a;return null===(a=e.label||e.name)||void 0===a?void 0:a.toLowerCase().includes(t.toLowerCase())})(a,e),r=l?a.children||[]:et(e,a.children||[]);return(l||r.length)&&t.push(Object.assign({},a,r.length&&{children:r})),t}),[])));function tt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){at(e,t,a[t])}))}return e}function at(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const lt=e=>{let{attrTypeItem:t,dvf:a=[],matchAttributes:l=[]}=e;const{uri:r,required:n,isAttributeReference:i}=t;return{[Ge.INCLUDED_IN_MATCHING]:l.includes(r),[Ge.CONTAIN_VF]:Ye(a,r),[Ge.REQUIRED]:!!n,[Ge.RDM_LOOKUP]:(0,c.lS4)(t),[Ge.REFERENCE]:i}},rt=e=>({[Ge.INCLUDED_IN_MATCHING]:p().text("Included in matching"),[Ge.CONTAIN_VF]:p().text("Has validation functions"),[Ge.REQUIRED]:p().text("Required"),[Ge.RDM_LOOKUP]:p().text("RDM"),[Ge.REFERENCE]:p().text("Reference attribute")}[e]||e),nt=(0,s.curry)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return(0,s.pipe)((0,s.chain)((e=>{const r=e.children?nt(e.children,t.concat({name:e.name,label:e.label}),a||(0,c.YkG)(e),l+1):[];return[{attributeItem:tt({},e,{fieldName:(0,c.Tde)(e.uri,t),isAttributeReference:(0,c.YkG)(e)||a}),level:l},...r]})))(e)}));function it(){return it=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},it.apply(this,arguments)}const ot=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",it({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#6663F6"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4 14.4h2.411c.016-.205.047-.405.093-.6H8.4v-1.2h3.012c.137-.215.296-.416.472-.6H8.4v-1.2h6v.011a3.896 3.896 0 011.8.287V8.4c0-.66-.54-1.2-1.2-1.2H7.8c-.66 0-1.2.54-1.2 1.2v7.8c0 .66.54 1.2 1.2 1.2h4.083a3.892 3.892 0 01-.979-1.8H8.4v-1.2zm6-4.2h-6V9h6v1.2zm2.58 5.934L18.852 18l-.852.852-1.872-1.872a2.66 2.66 0 01-1.434.42A2.695 2.695 0 0112 14.7c0-1.494 1.206-2.7 2.7-2.7 1.494 0 2.7 1.206 2.7 2.7 0 .528-.156 1.014-.42 1.434zm-2.28.066a1.5 1.5 0 10-.001-3.001A1.5 1.5 0 0014.7 16.2z",fill:"#fff"}))};function ct(){return ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},ct.apply(this,arguments)}const st=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",ct({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#1DACF5"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4 9.6H9.3L12 6.9l2.7 2.7h-2.1v3.846l-3.6 3.6-.846-.846 3.246-3.246V9.6zm4.446 6.6l-.846.846L12.954 15l.846-.846 2.046 2.046z",fill:"#fff"}))};function ut(){return ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},ut.apply(this,arguments)}const pt=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",ut({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#7F22FD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4 9v1.2h1.2V9H8.4zm0 2.4v1.2h1.2v-1.2H8.4zm0 2.4V15h1.2v-1.2H8.4zM10.8 9v1.2h4.8V9h-4.8zm0 2.4v1.2h4.8v-1.2h-4.8zm0 2.4V15h4.8v-1.2h-4.8zm6-6v8.4H7.2V7.8h9.6zm1.2 9V6.6H6V17.4h12v-.6z",fill:"#fff"}))};function dt(){return dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},dt.apply(this,arguments)}const ft=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",dt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#4B31E9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 15.6h1.8V15a.6.6 0 01.6-.6h2.4a.6.6 0 01.6.6v2.4a.6.6 0 01-.6.6h-2.4a.6.6 0 01-.6-.6v-.6h-3V9.6H8.4a.6.6 0 01-.6-.6V6.6a.6.6 0 01.6-.6H12a.6.6 0 01.6.6V9a.6.6 0 01-.6.6h-1.2v1.8h1.8v-.6a.6.6 0 01.6-.6h2.4a.6.6 0 01.6.6v2.4a.6.6 0 01-.6.6h-2.4a.6.6 0 01-.6-.6v-.6h-1.8v3z",fill:"#fff"}))};function mt(){return mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},mt.apply(this,arguments)}const ht=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",mt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#80D2FC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6c-3.312 0-6 2.688-6 6s2.688 6 6 6 6-2.688 6-6-2.688-6-6-6zm-.6 4.96V9h1.2v1.96l1.698-.98.6 1.04L13.2 12l1.698.98-.6 1.04-1.698-.98V15h-1.2v-1.96l-1.698.98-.6-1.04L10.8 12l-1.698-.98.6-1.04 1.698.98zM7.2 12c0 2.646 2.154 4.8 4.8 4.8s4.8-2.154 4.8-4.8-2.154-4.8-4.8-4.8A4.806 4.806 0 007.2 12z",fill:"#fff"}))},yt=(0,g.Z)({icon:e=>{let{width:t,height:a}=e;return{width:t,height:a}},loading:{"& circle":{fill:"#AAAAAA"}},badQuality:{"& circle":{fill:"#FF1744"}}}),vt={SMALL:{width:22,height:22},NORMAL:{width:24,height:24}};let gt;!function(e){e.LOADING="loading",e.BAD_QUALITY="badQuality",e.NORMAL="normal"}(gt||(gt={}));const Et=e=>{let{detailType:t,size:a=vt.NORMAL,variant:l=gt.NORMAL}=e;const n=yt(a),i=B()(n.icon,n[l]);switch(t){case Ge.RDM_LOOKUP:return r().createElement(pt,{className:i});case Ge.CONTAIN_VF:return r().createElement(ot,{className:i});case Ge.INCLUDED_IN_MATCHING:return r().createElement(st,{className:i});case Ge.REFERENCE:return r().createElement(ft,{className:i});case Ge.REQUIRED:return r().createElement(ht,{className:i});default:return null}},bt=(0,g.Z)({root:{height:"24px",maxWidth:"calc(100% - 8px)",margin:"0 4px 4px 0",borderRadius:"12px"},label:{fontSize:"12px",paddingLeft:"8px",paddingRight:"9px"},badQuality:{backgroundColor:"rgba(255, 23, 68, 0.12)"}});function xt(){return xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},xt.apply(this,arguments)}function Ot(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){wt(e,t,a[t])}))}return e}function wt(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Nt=e=>{let{detailType:t,classes:a}=e,n=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["detailType","classes"]);const i=bt(),{data:o,state:s}=(0,l.useContext)(Se);let u=gt.NORMAL;const p=s===y.o.LOADING,d=(e=>{var t;return 0===(null==e||null===(t=e.fillRate)||void 0===t?void 0:t[c.s9T.MISSING])})(o);return t===Ge.REQUIRED&&(p&&(u=gt.LOADING),p||d||(u=gt.BAD_QUALITY)),r().createElement(He.Z,xt({classes:Ot({root:B()(i.root,{[i.badQuality]:t===Ge.REQUIRED&&!p&&s!==y.o.INIT&&!d}),label:i.label},a),label:rt(t),icon:r().createElement(Et,{detailType:t,variant:u})},n))},Tt=(0,g.Z)({root:{display:"flex",flexWrap:"wrap",flexGrow:1}}),St=e=>{let{details:t,chipClasses:a={}}=e;const l=Tt();return r().createElement("div",{className:l.root},Object.entries(t||{}).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return r().createElement(Nt,{key:t,detailType:t,classes:a})})))},Rt=(0,g.Z)({header:{display:"flex",paddingBottom:"16px"},info:{display:"flex",flexDirection:"column","&:not(:last-child)":{borderRight:"1px solid rgba(0,0,0,0.12)"}},entitySummary:{"&:not(:last-child)":{paddingRight:"16px",marginRight:"16px"}},attributeTypeSummary:{"&:not(:last-child)":{paddingRight:"24px",marginRight:"24px"}},infoTitle:{color:"rgba(0,0,0,0.54)",fontSize:"12px",lineHeight:"16px"},infoContent:{fontSize:"30px",lineHeight:"35px",padding:"4px 0 0",display:"flex",alignItems:"center"},attributeTypeIconWrapper:{width:"32px",height:"33px",background:"rgba(0, 0, 0, 0.05)",borderRadius:"4px",position:"relative",marginRight:"12px",flexShrink:0,"& svg":{position:"absolute",transform:"translate(-50%, -50%)",top:"50%",left:"50%"}},totalLoading:{padding:"4px 8px"}}),It=e=>{let{title:t,children:a,className:l}=e;const n=Rt();return r().createElement("div",{className:B()(n.info,l)},r().createElement("div",{className:n.infoTitle},t),r().createElement("div",{className:n.infoContent},a))};function At(){return At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},At.apply(this,arguments)}const Ct=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",At({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg1279746712a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"15",height:"8"},r().createElement("path",{d:"M11.667 4H5C2.793 4 1 5.793 1 8s1.793 4 4 4h6.667c2.206 0 4-1.793 4-4s-1.794-4-4-4zm0 6.667H5a2.666 2.666 0 110-5.334h6.667a2.666 2.666 0 110 5.334zm0-4.667c-1.107 0-2 .893-2 2s.893 2 2 2c1.106 0 2-.893 2-2s-.894-2-2-2z",fill:"#000"})),r().createElement("g",{mask:"url(#svg1279746712a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Mt(){return Mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Mt.apply(this,arguments)}const Lt=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",Mt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg208732808a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"14",height:"14"},r().createElement("path",{d:"M7.992 1.333A6.663 6.663 0 001.332 8c0 3.68 2.98 6.667 6.66 6.667A6.67 6.67 0 0014.665 8a6.67 6.67 0 00-6.673-6.667zm.007 12A5.332 5.332 0 012.665 8 5.332 5.332 0 018 2.667 5.332 5.332 0 0113.332 8a5.332 5.332 0 01-5.333 5.333zm.333-8.666h-1v4l3.5 2.1.5-.82-3-1.78v-3.5z",fill:"#000"})),r().createElement("g",{mask:"url(#svg208732808a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Dt(){return Dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Dt.apply(this,arguments)}const Pt=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",Dt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg1638934380a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"13",height:"8"},r().createElement("path",{d:"M5.948 10.02V12h-.88v-1.98h-.88V12h-.88v-1.98h-.77v-.825h.77v-2.2h-.77V6.17h.77V4.3h.88v1.87h.88V4.3h.88v1.87h.77v.825h-.77v2.2h.77v.825h-.77zm-.88-3.025h-.88v2.2h.88v-2.2zM7.947 12v-1.1h1.1V12h-1.1zM13.65 10.02V12h-.88v-1.98h-.88V12h-.88v-1.98h-.77v-.825h.77v-2.2h-.77V6.17h.77V4.3h.88v1.87h.88V4.3h.88v1.87h.77v.825h-.77v2.2h.77v.825h-.77zm-.88-3.025h-.88v2.2h.88v-2.2z",fill:"#000"})),r().createElement("g",{mask:"url(#svg1638934380a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function jt(){return jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},jt.apply(this,arguments)}const Ft=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",jt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("path",{d:"M2.11 12v-.825h1.331V5.169L2 5.741v-.89L3.331 4.3h1.045v6.875h1.089V12H2.11zM5.968 11.032l1.65-2.508c.242-.367.403-.62.484-.759.08-.147.136-.29.165-.429.03-.14.044-.341.044-.605v-.77a.778.778 0 00-.253-.583c-.169-.161-.389-.242-.66-.242h-1.21V4.3h1.1c.638 0 1.126.158 1.463.473.345.308.517.774.517 1.397v.462c0 .367-.018.645-.055.836-.037.19-.103.37-.198.539-.088.169-.264.455-.528.858l-1.518 2.299h2.519V12h-3.52v-.968zM13.544 10.262c0 .609-.147 1.052-.44 1.331-.293.271-.77.407-1.43.407h-1.298v-.825h1.397c.279 0 .484-.062.616-.187.132-.132.198-.337.198-.616V9.239c0-.242-.073-.433-.22-.572-.147-.147-.341-.22-.583-.22h-1.067v-.825h.957a.797.797 0 00.572-.22.768.768 0 00.231-.583v-.902c0-.279-.066-.48-.198-.605-.125-.125-.326-.187-.605-.187h-1.298V4.3h1.166c.623 0 1.093.14 1.408.418.323.271.484.704.484 1.298v.693c0 .565-.202.99-.605 1.276.477.264.715.715.715 1.353v.924z",fill:"#000",fillOpacity:".541"}))};function kt(){return kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},kt.apply(this,arguments)}const Ut=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",kt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg924767730a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"13",height:"8"},r().createElement("path",{d:"M5.463 10.13c0 .623-.173 1.093-.517 1.408-.338.308-.825.462-1.463.462H2.03v-.836h1.562c.271 0 .491-.08.66-.242a.778.778 0 00.253-.583V9.195c0-.22-.059-.396-.176-.528-.11-.14-.279-.209-.506-.209h-.22c-.543 0-.972-.158-1.287-.473-.316-.323-.473-.788-.473-1.397V6.17c0-.623.168-1.089.506-1.397.344-.315.836-.473 1.474-.473h1.463v.836H3.714c-.272 0-.492.08-.66.242a.778.778 0 00-.253.583v.836c0 .227.073.418.22.572.146.147.337.22.572.22h.22c.52 0 .924.15 1.21.451.293.3.44.755.44 1.364v.726zM9.136 10.13c0 .623-.173 1.093-.517 1.408-.338.308-.825.462-1.463.462H5.704v-.836h1.562c.27 0 .49-.08.66-.242a.778.778 0 00.253-.583V9.195c0-.22-.06-.396-.176-.528-.11-.14-.28-.209-.506-.209h-.22c-.543 0-.972-.158-1.287-.473-.316-.323-.473-.788-.473-1.397V6.17c0-.623.168-1.089.506-1.397.344-.315.836-.473 1.474-.473H8.96v.836H7.387c-.272 0-.492.08-.66.242a.778.778 0 00-.253.583v.836c0 .227.073.418.22.572.146.147.337.22.572.22h.22c.52 0 .924.15 1.21.451.293.3.44.755.44 1.364v.726zM12.255 12l-1.683-6.886V12H9.68V4.3h1.562l1.694 6.886V4.3h.89V12h-1.572z",fill:"#000"})),r().createElement("g",{mask:"url(#svg924767730a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function zt(){return zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},zt.apply(this,arguments)}const _t=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",zt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg3578961193a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"14",height:"8"},r().createElement("path",{d:"M5.345 12l-.418-1.947H2.782L2.353 12h-.979l1.86-7.7h1.264L6.324 12h-.979zM3.85 5.026l-.89 4.202H4.75L3.85 5.026zM10.494 10.262c0 .63-.146 1.078-.44 1.342-.286.264-.763.396-1.43.396h-2.09V4.3h1.958c.653 0 1.13.132 1.43.396.308.264.462.704.462 1.32v.627c0 .565-.202.99-.605 1.276.477.264.715.715.715 1.353v.99zM9.427 5.917c0-.279-.066-.48-.198-.605-.125-.125-.326-.187-.605-.187H7.491v2.431h1.133a.797.797 0 00.572-.22.768.768 0 00.231-.583v-.836zm.11 3.256c0-.242-.073-.433-.22-.572-.147-.147-.34-.22-.583-.22H7.491v2.794h1.232c.279 0 .484-.062.616-.187.132-.132.198-.337.198-.616V9.173zM13.119 12c-.638 0-1.13-.154-1.474-.462-.337-.315-.506-.785-.506-1.408V6.17c0-.623.169-1.089.506-1.397.345-.315.836-.473 1.474-.473h1.342v.836h-1.452c-.271 0-.491.08-.66.242a.778.778 0 00-.253.583v4.378c0 .227.084.422.253.583.169.161.389.242.66.242h1.452V12h-1.342z",fill:"#000"})),r().createElement("g",{mask:"url(#svg3578961193a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))},Vt=(0,g.Z)({icon:e=>{let{width:t,height:a}=e;return{width:t,height:a}}}),Bt={SMALL:{width:16,height:16},NORMAL:{width:24,height:24}},Ht=e=>{let{type:t,size:a=Bt.SMALL}=e;const l=Vt(a);switch(U(t)){case R.STRING:return r().createElement(_t,{className:l.icon});case R.FLOAT:return r().createElement(Pt,{className:l.icon});case R.INTEGER:return r().createElement(Ft,{className:l.icon});case R.BOOLEAN:return r().createElement(Ct,{className:l.icon});case R.DATE:return r().createElement(Lt,{className:l.icon});case R.SSN:return r().createElement(Ut,{className:l.icon});default:return r().createElement(_t,{className:l.icon})}},Yt=e=>{let{detailedAttributeType:t}=e;const a=Rt(),n=(e=>{const[t,a]=(0,l.useState)(null),r=(0,l.useContext)(Ce);return(0,l.useEffect)((()=>{if(r.uri&&e){const t={filter:c.j5E.EXISTS,fieldName:e},l={filter:c.j5E.EQUALS,fieldName:"type",values:[r.uri]};a(null),(0,c.j_Q)([t,l]).then((e=>{let{total:t}=e;a(t)}))}}),[r.uri,e]),t})(t.fieldName),i=null===n?r().createElement(Ve.Z,{size:"24",className:a.totalLoading}):(0,c.k7L)(n);return r().createElement("div",null,r().createElement("div",{className:a.header},r().createElement(It,{title:p().text("Profiles"),className:a.attributeTypeSummary},r().createElement(Be.ZP,{title:r().createElement(X,{data:[{label:p().text("Entities with exists attribute"),value:p().number(n)}]})},r().createElement("div",null,i))),r().createElement(It,{title:p().text("Data type"),className:a.attributeTypeSummary},(o=t.type,r().createElement(r().Fragment,null,r().createElement("div",{className:a.attributeTypeIconWrapper},r().createElement(Ht,{type:o,size:Bt.NORMAL})),p().text(o))))),r().createElement(St,{details:t.details}));var o},Zt=e=>{let{entityType:t}=e;const{data:a,state:i}=(0,l.useContext)(Se),o=((e,t)=>{const a=t.attributes||[],l=t=>t.filter(c.Uty).filter((0,s.either)((0,s.prop)("label"),(0,s.prop)("name"))).reduce(((t,a)=>{const r=(0,c.EUG)(e,a);return null!=r&&r.length?[...t,a,...l(r)]:[...t,a]}),[]);return l(a).length})((0,n.useSelector)(h.ZP.selectors.getMetadata),t),{activeProfiles:u=0,inactiveProfiles:d=0,sourceSystems:f=0}=(null==a?void 0:a.summary)||{},m=e=>i===y.o.LOADING?r().createElement(Ve.Z,{size:"24",className:v.totalLoading}):p().number(e),v=Rt();return r().createElement("div",{className:v.header},r().createElement(It,{title:p().text("Active profiles"),className:v.entitySummary},m(u)),r().createElement(It,{title:p().text("Inactive profiles"),className:v.entitySummary},m(d)),r().createElement(It,{title:p().text("Attributes"),className:v.entitySummary},p().number(o)),r().createElement(It,{title:p().text("Source systems"),className:v.entitySummary},m(f)))},Gt=r().createContext(null);Gt.displayName="DataLevelContext";const Wt=(0,g.Z)({content:{padding:"0 16px",marginTop:"4px"}}),qt=e=>{let{config:t}=e;const a=Wt(),n=(0,l.useContext)(Ae),i=(0,l.useContext)(Gt),o=(0,l.useContext)(Ce),s=i===I.ATTRIBUTE_TYPE,u=s?(0,c.idV)(n.label):(0,c.idV)(o.label);return r().createElement(he,{config:t},r().createElement(ce,{title:u}),r().createElement(_e.Z,{className:a.content},s?r().createElement(Yt,{detailedAttributeType:n}):r().createElement(Zt,{entityType:o})))};var Qt=a(65298);function $t(){return $t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},$t.apply(this,arguments)}const Kt=(0,g.Z)({container:{height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",padding:0,"& svg":{paddingTop:0,height:"88px",width:"88px",marginBottom:"20px"}},errorMessage:{padding:"0 24px",fontSize:"14px",textAlign:"center"},errorTitle:{padding:"0 24px",fontSize:"16px",textAlign:"center"}}),Xt=r().createElement((e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",$t({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg98386349a",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(#svg98386349a)"},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(#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(#paint0_linear)"}),r().createElement("g",{filter:"url(#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(#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:"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:"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:"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:"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"}))))}),null),Jt=e=>{let{config:t,icon:a=Xt,message:l,title:n}=e;const i=Kt(),{id:o,title:c}=t;return r().createElement(Qt.Z,{id:o},r().createElement(ce,{title:c}),r().createElement(_e.Z,{className:i.container},a,n&&r().createElement(v.Z,{className:i.errorTitle},n),l&&r().createElement(v.Z,{className:i.errorMessage},l)))},ea=e=>{let{keyword:t,entityTypeUri:a}=e;return{keyword:{value:t,isRawFilter:!0},advanced:[S(a)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}},ta=e=>{let{fieldName:t,value:a,entityTypeUri:l}=e;return ea({keyword:`${c.j5E.EQUALS}(${t}, ${a})`,entityTypeUri:l})};function aa(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const la=e=>(0,s.pipe)((0,s.propOr)({},e),Object.entries,(0,s.map)((e=>{let[t,a]=e;return{label:t,group:t,value:a}})),D),ra=e=>(t,a)=>"asc"===e?t.value-a.value:a.value-t.value,na=(0,s.curry)(((e,t)=>{const a=t.map((t=>{const a=(e||[]).find((0,s.propEq)("uri",t.group));return function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){aa(e,t,a[t])}))}return e}({},t,{label:(null==a?void 0:a.name)||`"uri": "${t.label}"`,group:(null==a?void 0:a.name)||t.group,isActive:!!a&&a.status===c.lVm.ACTIVE})})),l=(e||[]).filter((e=>(0,s.propEq)("status",c.lVm.ACTIVE,e)&&!(0,s.any)((0,s.propEq)("group",e.uri),t))).map((e=>({label:e.name,group:e.name,value:0,isActive:!0})));return[...a,...D(l)]})),ia=la("frequency"),oa=la("pattern"),ca=(0,s.curry)(((e,t)=>{let{dvfs:a}=e;return[{filter:c.j5E.EQUALS,values:[[t]],fieldName:(0,s.contains)(t,a.map((0,s.prop)("name")))?"analyticsAttributes.AttributeValidations.FunctionName":"analyticsAttributes.AttributeValidations.FunctionURI"}]})),sa=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;return ta({fieldName:`${a.fieldName}`,value:t,entityTypeUri:l})})),ua=(0,s.curry)(((e,t)=>{let{fieldName:a}=e;return[{filter:c.j5E.ON,values:[t],fieldName:a}]})),pa=(0,s.curry)(((e,t)=>{let{fieldName:a}=e;return[{filter:c.j5E.EQUALS,values:[[t]],fieldName:a}]})),da=e=>{let{detailedAttributeType:t,entityTypeUri:a}=e;return(0,s.cond)([[c.j5n,(0,s.always)(sa)],[c.Lt4,(0,s.always)(k(ua))],[s.identity,(0,s.always)(k(pa))]])(t.type)({detailedAttributeType:t,entityTypeUri:a,dvfs:[]})},fa=k(ca),ma=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;return ta({fieldName:`${a.fieldName}.pattern`,value:`"${t}"`,entityTypeUri:l})}));var ha=a(79573),ya=a(45108),va=a(92332),ga=a(83088);const Ea=(0,s.pipe)((0,s.split)("|"),(e=>{let[t,a]=e;return{label:t,percent:a}})),ba={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"},xa=(0,g.Z)((e=>({colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",padding:"5px 0 6px",height:"100%",boxSizing:"border-box","&>span>div":{opacity:1,backgroundColor:t=>t?"#0072CE":e.palette.text.disabled,zIndex:1}},numberWhithPercent:{fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,flexShrink:0,width:"90px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},numberContainer:{display:"flex",flexDirection:"row",alignItems:"center",padding:"0 10px 0 16px",height:"100%"},bar:{borderRadius:"0 !important",minHeight:"16px !important",position:"initial !important","&:hover":{"&:after":{background:"rgba(0, 0, 0, 0.1)"}},"&:after":{content:'""',position:"absolute",top:"2px",left:"-3px",right:"-2px",bottom:"3px",transition:"background 0.3s"}},tooltipTitle:{color:"rgba(255, 255, 255, 0.6)"},headCell:{display:"flex",alignItems:"center",height:"100%",lineHeight:"47px","&>div":{padding:"0 10px 0 16px",width:"100%",display:"flex"},"&>div>span":{width:"100%",justifyContent:"flex-end",flexGrow:1}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",whiteSpace:"nowrap",overflow:"hidden","&:after":ba},labelPercantageWrapper:{display:"flex",flexGrow:1},labelWrapper:{minWidth:"90px",position:"relative"},percentsWrapper:{marginLeft:"11px",display:"flex",width:"100%"},percentLabel:{color:e.palette.text.secondary,fontSize:"12px","&:first-child":{flexGrow:1}},attribute:{color:e.palette.text.primary,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",whiteSpace:"pre",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":ba},tooltipValue:{whiteSpace:"pre-wrap"}})));function Oa(){return Oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Oa.apply(this,arguments)}function wa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){Na(e,t,a[t])}))}return e}function Na(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Ta=e=>{let{className:t,headCellData:a}=e,l=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["className","headCellData"]);const n=xa(),{label:i,percent:o}=Ea(a.label),c=!!o,s=r().createElement(ga.C,{value:i},r().createElement("div",{className:n.headLabel},i));return r().createElement("div",{className:B()(n.headCell,t)},r().createElement(va.default,Oa({},l,{headCellData:wa({},a,{label:c?r().createElement("div",{className:n.labelPercantageWrapper},r().createElement("div",{className:n.labelWrapper},s),r().createElement("div",{className:n.percentsWrapper},r().createElement("span",{className:n.percentLabel},"0%"),r().createElement("span",{className:n.percentLabel},o,"%"))):s})})))};var Sa=a(59383),Ra=a(30488);const Ia=(0,Ra.Z)(((e,t)=>{let{onItemClick:a}=e,{rowValue:{group:l}}=t;return{onClick:a&&(()=>{a(l)})}}))((e=>{let{value:t="",columnData:a,rowValue:l,onClick:n}=e;const{attributeCellClassName:i,LabelRenderer:o}=a,s=xa(),u=(0,Sa.d)(n),p=r().createElement("div",{className:s.tooltipValue},t),d=!!o;return r().createElement(ga.C,{value:p},r().createElement("div",{className:B()(s.attribute,u,i),onClick:n},d?r().createElement(o,{chartData:l}):c.P6Y.strings.removeLineBreaks(t)))}));var Aa=a(89902);const Ca=(0,N.Z)((e=>{let{value:t,maxValue:a,className:l}=e;return r().createElement(Aa.Z,{width:t,maxWidth:a,className:l})})),Ma=(0,Ra.Z)(((e,t)=>{let{onItemClick:a,valueHeader:l,labelHeader:r}=e,{rowValue:{group:n}}=t;return{onClick:a&&(()=>{a(n)}),valueHeader:l,labelHeader:r}}))((e=>{let{value:t,columnData:{maxValue:a},rowValue:{percent:l,label:n,isActive:i=!0},labelHeader:o,valueHeader:u,onClick:d}=e;const f=xa(i),m=(0,Sa.d)(d),h=r().createElement("span",{className:f.tooltipValue},n),y=0===t?"0":`${(0,c.k7L)(t,999)} ${P(l)}`,g=r().createElement(X,{data:[{label:o,value:h},{label:u,value:`${p().number(t)} ${P(l)}`}]});return r().createElement("div",{className:B()(f.numberContainer,m),onClick:d},r().createElement(v.Z,{className:f.numberWhithPercent},y),!(0,s.isNil)(a)&&r().createElement("div",{className:f.colorBarContainer},r().createElement(Ca,{value:t,maxValue:a,tooltipTitle:g,className:f.bar,showForDisabled:!0})))})),La=(0,g.Z)({tableContainer:e=>{let{width:t,height:a}=e;return{height:a,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none!important"}});function Da(){return Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Da.apply(this,arguments)}const Pa=e=>{let{width:t,height:a,data:n,options:i={},basicTableRef:o,onItemClick:c,labelCellClassName:s}=e,u=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["width","height","data","options","basicTableRef","onItemClick","labelCellClassName"]);const d=La({width:t,height:a}),{headers:[f,m]=[],showValues:h=!0,sortable:y=!1,LabelRenderer:v}=i,g=(0,l.useMemo)((()=>({cellBorder:d.cellBorder})),[d]),E=(0,l.useMemo)((()=>Math.max(...n.map((e=>e.value)))),[n]),b=(0,l.useMemo)((()=>{const e=_(n),t=m||p().text("No of Profiles");return e?t.concat(`|${e}`):t}),[n,m]),x=(0,l.useMemo)((()=>[{id:"label",label:f||p().text("Attributes"),resizable:!1,headCellRenderer:Ta,attributeCellClassName:s,rowCellValueRenderer:Ia,initialWidth:.4*t,LabelRenderer:v},...h?[{id:"value",label:b,resizable:!1,headCellRenderer:Ta,rowCellValueRenderer:Ma,maxValue:E,initialWidth:.6*t,sortable:y}]:[]]),[b,E,t,f,h]),O=(0,l.useMemo)((()=>({onItemClick:c,labelHeader:f,valueHeader:m})),[c,f,m]);return r().createElement("div",{className:d.tableContainer},r().createElement(ya.Z,Da({columnsData:x,rowsData:n,headRowHeight:48,getRowCellHeight:()=>28,classes:g,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:o,context:O},u)))},ja=(0,g.Z)((()=>({layoutItemContent:{padding:"0 0 10px"}}))),Fa=(0,T.Z)((e=>{let{config:t,data:a,title:n,headers:i,infoTooltipTitle:o,customComparator:c,onItemClick:s,titleChildren:u,state:p,onRefresh:d,labelCellClassName:f,LabelRenderer:m}=e;const h=ja(),[y,v]=(0,l.useState)("desc"),g=(0,l.useCallback)(((e,t)=>c?c(y)(e,t):ra(y)(e,t)),[y]),E=()=>{v(ha.Dh)},b=(0,l.useMemo)((()=>[...a.sort(g)]),[g,a]);return r().createElement("div",null,r().createElement(he,{config:t},r().createElement(ce,{title:n,infoTooltipTitle:o},u),r().createElement(de,{className:h.layoutItemContent,data:b,loadingState:p,onRefresh:d},(e=>{let{data:t,width:a=0,height:l=0}=e;return r().createElement(Pa,{data:t,width:a,height:l,options:{headers:i,sortable:!!c,LabelRenderer:m},sorting:{field:"value",order:y},onSort:E,onItemClick:s,labelCellClassName:f})}))))}));var ka=a(86689);function Ua(){return Ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Ua.apply(this,arguments)}const za=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",Ua({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg3012965951a",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(#svg3012965951a)"},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(#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(#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(#paint2_linear)"}),r().createElement("g",{filter:"url(#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:"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:"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:"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:"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"}))))},_a=(0,g.Z)((e=>({title:{whiteSpace:"nowrap",height:"24px",display:"flex",alignItems:"center",overflow:"hidden",textOverflow:"ellipsis"},titleCount:{color:e.palette.text.secondary,borderLeft:"1px solid rgba(0, 0, 0, 0.54)",marginLeft:"16px",paddingLeft:"16px",overflow:"hidden",textOverflow:"ellipsis"}})));function Va(){return Va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Va.apply(this,arguments)}const Ba=e=>{const{config:t}=e,{data:a,state:n,reload:i,errorCode:o}=(0,l.useContext)(Ie),u=(d=(0,l.useContext)(Ae).uri,(a||[]).filter((0,s.propEq)("attribute",d)));var d;const{data:f,state:m,reload:h}=Re((N=u,(0,s.pipe)(la("dataValidationFunctions"),na(N)))),g=Me(fa),E=_a(),b=(0,l.useMemo)((()=>n===y.o.LOADED&&m===y.o.LOADED?y.o.LOADED:n===y.o.ERROR||m===y.o.ERROR?y.o.ERROR:y.o.LOADING),[m,n]),x=(0,l.useMemo)((()=>()=>{n===y.o.ERROR&&i(),m===y.o.ERROR&&h()}),[m,n,i,h]),O=r().createElement(ga.C,{value:t.title},r().createElement(v.Z,{className:E.title},t.title)),w=[p().text("Validation function"),p().text("Count")];var N;return b===y.o.ERROR&&o===c.Xt7.DVF_NOT_CONFIGURED||0===f.length?r().createElement(Jt,Va({},e,{message:r().createElement(r().Fragment,null,p().text("There are no")," ",r().createElement(ka.Z,{href:"https://docs.reltio.com/dvf/overview.html",target:"_blank"},p().text("Data Validation Functions"))," ",p().text("for this attribute type")),title:p().text("No data"),icon:r().createElement(za,null)})):r().createElement(Fa,{config:t,title:"",headers:w,data:f,onItemClick:g,titleChildren:O,state:b,onRefresh:x})},Ha=(0,g.Z)((()=>({monoFontCell:{fontFamily:'"Roboto Mono", monospace'}}))),Ya=e=>{let{config:t}=e;const a=Ha(),{data:n,state:i,reload:o}=Re(ia),s=(0,l.useContext)(Ae).type,u=(0,c.Lt4)(s)?n.map((e=>M({},e,{label:p().date(Number(e.label),"L")}))):n,d=Me(da),f=[p().text("Value"),p().text("Count")],m=r().createElement(X,{title:p().text("Frequency analysis"),data:[{value:p().text("Shows the number of times each value occurs")}],DataRenderer:ye});return r().createElement(Fa,{config:t,data:u,headers:f,title:t.title,infoTooltipTitle:m,onItemClick:d,state:i,onRefresh:o,labelCellClassName:B()({[a.monoFontCell]:(0,c.m6e)(s)})})};function Za(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){Ga(e,t,a[t])}))}return e}function Ga(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Wa,qa;!function(e){e[e.sun=0]="sun",e[e.mon=1]="mon",e[e.tue=2]="tue",e[e.wed=3]="wed",e[e.thu=4]="thu",e[e.fri=5]="fri",e[e.sat=6]="sat"}(Wa||(Wa={})),function(e){e[e.jan=0]="jan",e[e.feb=1]="feb",e[e.mar=2]="mar",e[e.apr=3]="apr",e[e.may=4]="may",e[e.jun=5]="jun",e[e.jul=6]="jul",e[e.aug=7]="aug",e[e.sep=8]="sep",e[e.oct=9]="oct",e[e.nov=10]="nov",e[e.dec=11]="dec"}(qa||(qa={}));const Qa=e=>(0,s.pipe)((0,s.pathOr)({},[e,"data"]),Object.entries,(0,s.map)((e=>{let[t,a]=e;return{label:t,group:t,value:a}})),D);var $a;!function(e){e.AVERAGE="avg",e.MININMUN="min",e.MAXIMUM="max",e.MEDIAN="median",e.NUMBER_OF_SOURCES="numberOfSources",e.MIN_NUMBER_OF_PROFILES="minNumberOfProfiles",e.MAX_NUMBER_OF_PROFILES="maxNumberOfProfiles",e.AVG_NUMBER_OF_PROFILES="avgNumberOfProfiles"}($a||($a={}));const Ka=(e,t)=>{const a={lengthStatistics:{[$a.MEDIAN]:p().text("Median"),[$a.AVERAGE]:p().text("Average"),[$a.MININMUN]:p().text("Minimum"),[$a.MAXIMUM]:p().text("Maximum")},valueDistribution:{[$a.MEDIAN]:p().text("Median"),[$a.AVERAGE]:p().text("Average"),[$a.MININMUN]:p().text("Minimum"),[$a.MAXIMUM]:p().text("Maximum")},crosswalkAnalysis:{[$a.NUMBER_OF_SOURCES]:p().text("No. of source systems"),[$a.AVG_NUMBER_OF_PROFILES]:p().text("Avg no. of profiles"),[$a.MIN_NUMBER_OF_PROFILES]:p().text("Min no. of profiles"),[$a.MAX_NUMBER_OF_PROFILES]:p().text("Max no. of profiles")}};return(0,s.pathOr)(null,[t,e],a)},Xa=e=>(0,s.pipe)((0,s.propOr)({},e),Object.entries,(0,s.map)((t=>{let[a,l]=t;return{label:Ka(a,e),value:l}})),(0,s.filter)((e=>{let{label:t}=e;return t})),D),Ja=e=>t=>({chartData:Qa(e)(t),infoPanelData:Xa(e)(t)}),el=(e,t)=>(0,c.Lt4)(t)?p().date(Number(e),"L"):String(e),tl=(0,s.curry)(((e,t)=>{const a=(0,s.pipe)((0,s.prop)("group"),(0,s.split)(" "),s.head,Number),l=t.chartData.sort((0,s.ascend)(a)).map(((a,l)=>{const[r,n=r]=a.group.split(" ").map(Number),i=l===t.chartData.length-1,o=r!==n?((e,t,a)=>Ze(t)?`[${e}${a?"]":")"}`:e)(`${el(r,e)} - ${el(n,e)}`,e,i):el(r,e);return Za({},a,{label:o,group:[r,n,i?"last":""].toString()})}));return{infoPanelData:t.infoPanelData.map((t=>Za({},t,{value:(0,c.Lt4)(e)?p().date(Number(t.value),"L"):(0,c.k7L)(t.value,999),localizedValue:(0,c.Lt4)(e)?p().date(Number(t.value),"L"):t.localizedValue}))),chartData:l}})),al=(0,s.pipe)(Ja("lengthStatistics"),tl("")),ll=(0,s.pipe)(Ja("crosswalkAnalysis"),(0,s.applySpec)({chartData:(0,s.prop)("chartData"),infoPanelData:(0,s.pipe)((0,s.prop)("infoPanelData"),(0,s.map)((e=>(0,s.assoc)("value",(0,c.k7L)(e.value,999),e))))})),rl=Ja("monthDistribution"),nl=Ja("dayOfWeekDistribution"),il=Ja("dayOfMonthDistribution"),ol=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;return ta({fieldName:`${a.fieldName}.day_of_week`,value:Wa[t.toLowerCase()],entityTypeUri:l})})),cl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;return ta({fieldName:`${a.fieldName}.month`,value:qa[t.toLowerCase()],entityTypeUri:l})})),sl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;return ta({fieldName:`${a.fieldName}.day_of_month`,value:t,entityTypeUri:l})})),ul=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;const[r,n]=t.split(",");return r===n?ta({fieldName:`${a.fieldName}.length`,value:r,entityTypeUri:l}):(e=>{let{fieldName:t,startRange:a,endRange:l,entityTypeUri:r}=e;return ea({keyword:`${c.j5E.IN_RANGE}(${t}, ${a}, ${l})`,entityTypeUri:r})})({fieldName:`${a.fieldName}.length`,startRange:r,endRange:n,entityTypeUri:l})})),pl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:a,entityTypeUri:l}=e;return ta({fieldName:`${a.fieldName}.crosswalk_sources`,value:t,entityTypeUri:l})})),dl=(0,s.curry)(((e,t)=>{let{fieldName:a}=e;const[l,r]=t.split(",");return[{filter:c.j5E.AFTER,values:[l],fieldName:a},{filter:c.j5E.BEFORE,values:[r],fieldName:a}]})),fl=(0,s.curry)(((e,t)=>{let{fieldName:a}=e;const[l,r]=t.split(",");return[l===r?{filter:c.j5E.EQUALS,values:[[l]],fieldName:a}:{filter:c.j5E.IN_RANGE,values:[[l,r]],fieldName:a}]})),ml=(0,s.curry)(((e,t)=>{let{fieldName:a}=e;const[l,r,n]=t.split(","),i=l===r,o=i?[{filter:c.j5E.EQUALS,values:[[l]],fieldName:a}]:[{filter:c.j5E.IN_RANGE,values:[[l,r]],fieldName:a}];return!n&&!i&&o.push({filter:c.j5E.NOT_EQUALS,values:[[r]],fieldName:a}),o})),hl=(0,s.cond)([[c.Lt4,(0,s.always)(k(dl))],[Ze,(0,s.always)(k(ml))],[s.identity,(0,s.always)(k(fl))]]);function yl(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){vl(e,t,a[t])}))}return e}function vl(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const gl=(0,g.Z)((e=>({tooltipWrapper:yl({},e.tooltip,{padding:"4px 8px"})}))),El=e=>{var t;let{payload:a,active:l,name:n}=e;const i=null==a||null===(t=a[0])||void 0===t?void 0:t.payload,o=null==i?void 0:i.value,c=null==i?void 0:i.label,s=n?`${n}`:"",u=gl();return l&&r().createElement("div",{className:u.tooltipWrapper},r().createElement(X,{data:[{label:s,value:c},{label:p().text("No of profiles"),value:p().number(o)}]}))},bl=(0,g.Z)((()=>({chartInfoLabel:{fontSize:"13px",lineHeight:"15px",color:"rgba(0, 0, 0, 0.54)",paddingRight:"8px"},chartInfoValue:{fontSize:"13px",lineHeight:"15px",color:"rgba(0, 0, 0, 0.87)"},chartInfoWrapper:{display:"flex",backgroundColor:"rgba(0, 0, 0, 0.05)",margin:"0 12px 12px",padding:"9px 12px 8px"},chartInfoItem:{marginRight:"16px"},clickable:{cursor:"pointer"},title:{marginRight:"50px",fontSize:"16px"},root:{padding:"0 0 0 16px",minHeight:"auto",marginTop:"12px",marginBottom:"12px"}}))),xl=e=>{let{data:t}=e;const a=bl();return r().createElement("div",{className:a.chartInfoWrapper},t.map((e=>{let{label:t,value:l,localizedValue:n}=e;return r().createElement("div",{key:t,className:a.chartInfoItem},r().createElement("span",{className:a.chartInfoLabel},t,": "),l!==n?r().createElement(Be.ZP,{title:n},r().createElement("span",{className:a.chartInfoValue},l)):r().createElement("span",{className:a.chartInfoValue},l))})))},Ol=(0,g.Z)((()=>({labelWrapper:e=>{let{width:t}=e;return{overflow:"hidden",width:`${t}px`,marginTop:"-3px"}},xAxisLabel:{textAlign:"center",whiteSpace:"nowrap",textTransform:"capitalize","&:after":{top:"0",right:"0",width:"10px",height:"100%",content:'""',position:"absolute",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"}}}))),wl=e=>{let{width:t,height:a,label:l,x:n,y:i}=e;const o=Ol({width:t}),c=n-t/2;return r().createElement("foreignObject",{x:c,y:i,width:t,height:a},r().createElement("div",{className:o.labelWrapper},r().createElement(ga.C,{value:l},r().createElement("div",{className:o.xAxisLabel},l))))},Nl=e=>{const{x:t,y:a,width:l,height:n,payload:i,visibleTicksCount:o}=e,{value:c}=i,s=l/o-4;return r().createElement(wl,{width:s,height:n,label:c,x:t,y:a})};function Tl(){return Tl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Tl.apply(this,arguments)}const Sl=e=>{let{isClickable:t}=e,a=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["isClickable"]);const l=bl(),n=t?l.clickable:void 0;return r().createElement(w.Ae,Tl({},a,{className:n,fill:"#000",opacity:"0.1",pointerEvents:"visibleFill"}))},Rl=e=>{const{value:t}=e;return t>0?r().createElement(w.Ae,e):null};function Il(){return Il=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Il.apply(this,arguments)}const Al=e=>{let{data:t,config:a,xAxisLabel:l,yAxisLabel:n,barTooltipTitle:i,infoPanelData:o,infoTooltipTitle:s,onItemClick:u,options:p={},state:d,onRefresh:f}=e;const m=bl(),{title:h}=a,{cartesianGrid:v,bar:g,xAxis:E,yAxis:b,labelForX:x,labelForY:O,barChart:N}=(e=>{let{showCategories:t=!1,interval:a,barCategoryGap:l}=e;return{barChart:{barCategoryGap:l||"10%"},bar:{dataKey:"value",fill:"#0072CE",minPointSize:3,maxBarSize:50},xAxis:{tick:t&&Nl,tickLine:!1,interval:a||0,dataKey:"label"},yAxis:{tickCount:8,axisLine:!1,tickLine:!1,tick:{fill:"#000"},width:60,tickFormatter:e=>(0,c.k7L)(e,999)},cartesianGrid:{stroke:"#000",strokeOpacity:"0.05",vertical:!1},labelForX:{position:"insideBottom",style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"},offset:t?-3:3},labelForY:{angle:270,position:"left",offset:-3,style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"}}}})(p),T=u&&(e=>{let{activePayload:t}=e;return u(t[0].payload.group)}),S=T?m.clickable:void 0,R=d===y.o.LOADED&&o.length>0;return r().createElement(he,{config:a},r().createElement(ce,{title:h,infoTooltipTitle:s}),R&&r().createElement(xl,{data:o}),r().createElement(de,{data:t,loadingState:d,onRefresh:f},(e=>{let{data:t,width:a=0,height:o=0}=e;return r().createElement("div",null,r().createElement(w.vz,Il({width:a,height:o,data:t,onClick:T},N),r().createElement(w.q3,v),r().createElement(w.u,{content:r().createElement(El,{name:i}),cursor:r().createElement(Sl,{isClickable:!!T})}),r().createElement(w.$Q,Il({},g,{shape:r().createElement(Rl,{className:S})})),r().createElement(w.B2,b,r().createElement(w.__,Il({},O,{value:n}))),r().createElement(w.Kc,E,r().createElement(w.__,Il({},x,{value:l})))))})))},Cl=e=>{let{config:t}=e;const{data:a,state:l,reload:n}=Re(al),{chartData:i,infoPanelData:o}=a,c=Me(ul),s=r().createElement(X,{title:p().text("Length statistics"),data:[{value:p().text("Measures the string length of values")}],DataRenderer:ye});return r().createElement(Al,{config:t,data:i,xAxisLabel:p().text("Length of values"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Length"),infoTooltipTitle:s,onItemClick:c,state:l,onRefresh:n})};var Ml=a(21210);const Ll=(0,g.Z)({icon:{width:"20px",height:"20px",borderRadius:"4px",fontSize:"14px",marginRight:"8px"},text:e=>{let{color:t}=e;return{backgroundColor:t}}}),Dl=e=>{let{chartData:t}=e;const{group:a,label:l}=t,n=Ll({color:(0,c.uap)("random0",a)});return r().createElement(r().Fragment,null,r().createElement(Ml.Z,{sourceType:a,className:n.icon,classes:{textRoot:n.text}}),l)};function Pl(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){jl(e,t,a[t])}))}return e}function jl(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Fl=e=>{let{config:t}=e;const{data:a,state:l,reload:n}=Re(ll),{chartData:i}=a,o=Me(pl),c=[p().text("Source system"),p().text("Profiles")],s=r().createElement(X,{title:p().text("Source system analysis"),data:[{value:p().text("Distribution of source systems contributing to profiles")}],DataRenderer:ye});return r().createElement(Fa,{config:Pl({},t),data:i,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:l,onRefresh:n,customComparator:ra,LabelRenderer:Dl})},kl=e=>{let{config:t}=e;const a=(0,l.useContext)(Ae).type,{data:n,state:i,reload:o}=Re((e=>(0,s.pipe)(Ja("valueDistribution"),tl(e)))(a)),{chartData:c,infoPanelData:u}=n,d=Me(hl(a));return r().createElement(Al,{config:t,data:c,xAxisLabel:p().text("Value"),yAxisLabel:p().text("No. of profiles"),infoPanelData:u,barTooltipTitle:p().text("Value"),onItemClick:d,state:i,onRefresh:o})},Ul=e=>{let{config:t}=e;const{data:a,state:l,reload:n}=Re(rl),{chartData:i,infoPanelData:o}=a,c=Me(cl);return r().createElement(Al,{config:t,data:i,xAxisLabel:p().text("Months of the year"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Months of the year"),options:{showCategories:!0,barCategoryGap:"20%",interval:"preserveStartEnd"},onItemClick:c,state:l,onRefresh:n})},zl=e=>{let{config:t}=e;const{data:a,state:l,reload:n}=Re(nl),{chartData:i,infoPanelData:o}=a,c=Me(ol);return r().createElement(Al,{config:t,data:i,xAxisLabel:p().text("Days of the week"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Days of the week"),options:{showCategories:!0,barCategoryGap:"25%",interval:"preserveStartEnd"},onItemClick:c,state:l,onRefresh:n})},_l=e=>{let{config:t}=e;const{data:a,state:l,reload:n}=Re(il),{chartData:i,infoPanelData:o}=a,c=Me(sl);return r().createElement(Al,{config:t,data:i,xAxisLabel:p().text("Days of the month"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Days of the month"),options:{showCategories:!0,interval:1},onItemClick:c,state:l,onRefresh:n})},Vl=e=>{let{config:t}=e;const a=Ha(),{data:l,state:n,reload:i}=Re(oa),o=Me(ma),c=[p().text("Value"),p().text("Count")],s=r().createElement(X,{title:p().text("Pattern analysis"),data:[]});return r().createElement(Fa,{config:t,data:l,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:n,onRefresh:i,labelCellClassName:a.monoFontCell})};function Bl(){return Bl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Bl.apply(this,arguments)}class Hl{}Hl.getComponent=e=>{let{type:t,config:a,isFullscreen:l,onToggleFullscreen:n}=e;const i={config:a,isFullscreen:l,onToggleFullscreen:n};switch(t){case O.FILL_RATE_CHART:return r().createElement(Le,i);case O.UNIQUENESS_CHART:return r().createElement(ze,i);case O.SUMMARY:return r().createElement(qt,i);case O.VALIDATION:return r().createElement(Ba,i);case O.FREQUENCY:return r().createElement(Ya,i);case O.LENGTH:return r().createElement(Cl,i);case O.CROSSWALK:return r().createElement(Fl,i);case O.VALUE_DISTRIBUTION:return r().createElement(kl,i);case O.MONTH_DISTRIBUTION:return r().createElement(Ul,i);case O.DAY_OF_WEEK_DISTRIBUTION:return r().createElement(zl,i);case O.DAY_OF_MONTH_DISTRIBUTION:return r().createElement(_l,i);case O.PATTERN:return r().createElement(Vl,i);default:return r().createElement(Jt,Bl({},i,{message:p().text("Chart isn't supported for this data type")}))}};const Yl=Hl,Zl=e=>{let{layoutItemConfig:t,views:a,onToggleFullscreen:l,isFullscreen:n,className:i,children:o,style:c}=e;const s=a.find((e=>{let{id:a}=e;return t.i===a}));if(!s)return null;const{type:u}=s;return r().createElement("div",{style:c,className:i},Yl.getComponent({type:u,config:s,onToggleFullscreen:l,isFullscreen:n}),o)},Gl=(0,g.Z)({root:{overflow:"auto",backgroundColor:"#F9F9F9",height:"100%",flexGrow:1,padding:"4px"}}),Wl=(0,s.map)((0,s.assoc)("isStatic",!0)),ql={cols:4,rowHeight:10,margin:[12,12]},Ql=(0,l.memo)((e=>{let{views:t,layout:a,layoutOptions:n=ql}=e;const i=Gl(),o=(()=>{const[e,t]=(0,l.useState)(y.o.INIT),[a,r]=(0,l.useState)({}),n=(0,l.useContext)(Ce),i=(0,l.useContext)(Ae),o=(0,l.useContext)(Gt),s=null==i?void 0:i.fieldName,u=n.uri,p=e=>{console.error(e),t(y.o.ERROR),r({})},d=(0,l.useCallback)((async()=>{if(t(y.o.LOADING),o===I.ENTITY_TYPE){var e,a;const l=(0,c.Uqd)()([{fieldName:"type",filter:c.j5E.EQUALS,values:[u]}]),i=await(0,c.FK9)({query:(0,c.ECL)({activeness:c.YJ7.ACTIVE_ONLY,filter:l}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),o=await(0,c.FK9)({query:(0,c.ECL)({activeness:c.YJ7.INACTIVE_ONLY,filter:l}),body:[{fieldName:"type",pageSize:101,pageNo:1}]});return r({summary:{inactiveProfiles:null===(e=o.type)||void 0===e?void 0:e[(0,c.nIW)(n.uri)],activeProfiles:null===(a=i.type)||void 0===a?void 0:a[(0,c.nIW)(n.uri)],sourceSystems:8}}),void t(y.o.LOADED)}return(0,c.TTx)({entityTypeUri:u,attributeFieldName:s}).then((e=>{r(e),t(y.o.LOADED)})).catch(p)}),[t,r,s,u]),f=(0,l.useCallback)((()=>{try{d()}catch(e){p(e)}}),[d]);return(0,l.useEffect)((()=>{f()}),[f]),{data:a,state:e,reload:f}})(),s=(0,l.useMemo)((()=>Wl(a)),[a]);return r().createElement("div",{className:i.root},r().createElement(Se.Provider,{value:o},r().createElement(x.Z,{LayoutItem:Zl,views:t,layout:s,layoutOptions:n})))}));var $l=a(50166),Kl=a(88267),Xl=a(43129),Jl=a(5336),er=a(83543),tr=a(98989),ar=a(38402),lr=a(33286),rr=a(40435);const nr=(0,g.Z)({root:{paddingRight:"23px",paddingLeft:"28px",display:"flex",flexDirection:"row-reverse"},detailIcon:{marginLeft:"-5px",borderRadius:"50%",padding:"2px",width:"26px",height:"26px",boxSizing:"border-box"},activeIcon:{background:"white"}}),ir=e=>{let{details:t,classes:a,fillRateData:l,fillRateState:n}=e;const i=nr(),o=(0,s.prop)("iconRoot",a);return r().createElement("div",{className:i.root},Object.entries(t||{}).reverse().map((e=>{let[t,a]=e,u=gt.NORMAL;if(t===Ge.REQUIRED){const e=n===y.o.LOADING,t=0===(null==(p=l)||null===(d=p.find((0,s.propEq)("group",c.s9T.MISSING)))||void 0===d?void 0:d.value);e&&(u=gt.LOADING),e||t||(u=gt.BAD_QUALITY)}var p,d;return r().createElement("div",{key:t,className:B()(a&&(o||i.activeIcon),i.detailIcon)},a&&r().createElement(Be.ZP,{title:rt(t)},r().createElement("span",null,r().createElement(Et,{detailType:t,variant:u,size:vt.SMALL}))))})))},or="rgba(0, 114, 206, 0.12)",cr=(0,g.Z)({linesWrapper:{position:"absolute",left:"9px",top:0,bottom:0},line:{position:"absolute",width:"2px",background:or,bottom:0,zIndex:2,left:0,top:0},horizontalLine:{"&:after":{content:'""',position:"absolute",left:"2px",top:"15px",width:"3px",height:"2px",background:or}},parentLine:{left:"20px",top:"34px"},lastLevel:{bottom:"31px"}}),sr=e=>{let{level:t,margin:a,hasChildren:l,isLastLevelItem:n,isCollapsed:i}=e;const o=cr(),c=!i&&(t>0||l);return r().createElement("div",{className:o.linesWrapper},((e,t)=>t>0&&e?(0,s.range)(1,t+1):t>1?(0,s.range)(1,t):[])(l,t).map((e=>r().createElement(lr.Z,{key:e,margin:a,level:e,className:o.line}))),c&&r().createElement(lr.Z,{margin:a,level:t,className:B()(o.line,!l&&t>0&&o.horizontalLine,l&&o.parentLine,n&&o.lastLevel)}))},ur=(0,g.Z)({bar:{width:"100%",display:"flex",flexWrap:"nowrap"},barPart:{height:"8px",flexGrow:1},fillRateSquare:{height:"8px",width:"8px",display:"inline-block",marginRight:"5px",verticalAlign:"middle"},inactiveBarPart:{background:"#EFEFEF"}});function pr(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){dr(e,t,a[t])}))}return e}function dr(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const fr=(0,T.Z)((e=>{let{data:t}=e;const a=ur(),l=ge(t),n=t.map(((e,t)=>{let{label:n,percent:i,value:o}=e;return{label:r().createElement("span",null,r().createElement("div",{className:a.fillRateSquare,style:{background:l[t]}}),n),value:`${p().number(o)} ${P(i)}`}}));return j(t)?r().createElement("div",{className:a.bar},r().createElement("div",{className:B()(a.barPart,a.inactiveBarPart)})):r().createElement(Be.ZP,{title:r().createElement(X,{title:p().text("Fill rate"),data:n})},r().createElement("div",{className:a.bar},t.map(((e,t)=>r().createElement("div",{key:e.group,className:a.barPart,style:pr({},z(e),{background:l[t]})})))))})),mr=(0,g.Z)({listItem:{padding:"0 0 0 15px","&:after":{content:'""',left:0,right:0,position:"absolute",bottom:0,height:"1px",background:"rgba(0, 0, 0, 0.05)"}},selectedItem:{background:"#F0F7FC !important"},pointerCursor:{cursor:"pointer"},content:{display:"flex",alignItems:"center",width:"100%",height:"100%",position:"relative"},attribute:{paddingLeft:"9px",boxSizing:"border-box",width:"100%",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",height:"100%",position:"relative"},marginWrapper:{display:"inline-block",height:"100%",position:"relative",width:"100%"},attributeType:{position:"absolute",left:0,top:"8px"},fillRate:{position:"absolute",bottom:"8px",left:0,right:0,zIndex:1},attributeLabel:{padding:"8px 0 0 15px",position:"relative","&:after":{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"}},selectedAttributeLabel:{"&:after":{background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #F0F7FC 100%)"}},parentAttributeLabel:{padding:"14px 0 0 13px"},detailsIconSelected:{background:"#F0F7FC"},detailsIcon:{background:"white"},collapseIcon:{marginRight:"6px"}}),hr=e=>{let{detailedAttributeType:t,fillRateData:a,fillRateState:l,style:n,level:i,selected:o=!1,onClick:s,onCollapse:u=ha.ZT,isCollapsed:p=!1,isLastLevelItem:d=!1}=e;const f=mr(),m=!!t.children,h=!!a,y=(e=>(0,c.idV)(e.label||e.name))(t),v=p?tr.Z:er.Z,g=o?f.detailsIconSelected:f.detailsIcon;return r().createElement(ar.Z,{style:n,selected:o,classes:{selected:f.selectedItem},onClick:m?void 0:()=>{s(t)},component:"div",className:B()(f.listItem,!m&&f.pointerCursor)},r().createElement("div",{className:f.content},!m&&r().createElement("div",{className:f.attributeType},r().createElement(Ht,{type:t.type})),r().createElement("div",{className:f.attribute},r().createElement(sr,{level:i,margin:20,hasChildren:m,isLastLevelItem:d,isCollapsed:p}),r().createElement(lr.Z,{margin:20,level:i,className:f.marginWrapper},r().createElement(ga.C,{value:y},r().createElement("div",{className:B()(f.attributeLabel,o&&f.selectedAttributeLabel,m&&f.parentAttributeLabel)},m&&r().createElement(rr.Z,{size:"XXS",icon:v,onClick:u,className:f.collapseIcon}),y))),h&&!m&&r().createElement("div",{className:f.fillRate},r().createElement(fr,{data:a}))),r().createElement(ir,{details:t.details,classes:{iconRoot:g},fillRateData:a,fillRateState:l})))},yr=(0,s.propOr)({},"attributeItem"),vr=(0,s.pipe)((0,s.find)((0,s.pipe)(yr,(0,s.either)(c.YkM,c.Or$),s.not)),yr),gr=e=>(0,s.pipe)(yr,(0,s.propEq)("fieldName",e)),Er=e=>(0,s.filter)((0,s.propEq)("group",e)),br=(0,s.reject)((0,s.path)(["attributeItem","children"])),xr=(0,s.pipe)(br,(0,s.prop)("length")),Or=(e,t)=>(0,s.pipe)(br,(0,s.filter)((0,s.pipe)(yr,Ke(t))),(0,s.prop)("length"))(e),wr=(e,t)=>(0,s.pipe)(br,(0,s.filter)((0,s.pipe)(yr,Xe(t))),(0,s.prop)("length"))(e),Nr=(e,t)=>e.filter((e=>Qe(t,e.attributeItem))).length;let Tr;!function(e){e.NOT_EMPTY="notEmpty",e.EMPTY="empty"}(Tr||(Tr={}));const Sr=(e,t)=>{const a=Object.values(Ge).map((e=>({value:e,label:rt(e),group:"details"}))).map((a=>(0,s.assoc)("count",((e,t,a)=>e.filter((e=>Qe([...(0,s.filter)((0,s.propEq)("group","details"),a||[]),t],e.attributeItem))).length)(e,a,t),a))),l={label:p().text("All attribute properties"),value:"all",count:Nr(e,a),group:"details"};return{label:p().text("Attribute properties"),options:[l,...a]}},Rr=(0,s.pipe)(yr,(0,s.prop)("fieldName"));function Ir(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Ar=a(92391),Cr=a(36444),Mr=a(33662),Lr=a(15793),Dr=a(21324),Pr=a(12231),jr=a(44962);function Fr(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){kr(e,t,a[t])}))}return e}function kr(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Ur=(0,g.Z)((e=>({serachWrapper:{padding:"8px 10px 8px 16px",alignItems:"center",display:"flex"},filterByDetails:{width:"32px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"9px"},searchInput:{borderRadius:"2px",flexGrow:1},menu:{width:"256px!important",right:"0",paddingTop:"8px",top:"24px!important",margin:0},dropdownIndicator:{color:e.palette.text.secondary,cursor:"pointer"},dropDownIndicatorFilterApplied:{color:"#0072CE",cursor:"pointer"},dropDownIndicatorActive:{width:"32px",height:"32px",background:"rgba(0, 0, 0, 0.1)",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center"},dropdownMenuTitle:{fontWeight:500,fontSize:"20px",lineHeight:"55px",height:"55px",paddingLeft:"16px"},option:{paddingLeft:"4px",fontSize:"13px",height:"28px",filter:e=>e?"grayscale(0)":"grayscale(1)",opacity:e=>e?1:.5},typeIconWrapper:{width:"41px","& svg":{width:"20px",height:"20px"}},valueContainer:{marginLeft:0},counter:{marginLeft:"5px"}}))),zr=e=>Fr({},e,{borderBottom:"1px solid rgba(0, 0, 0, 0.08)",marginBottom:"5px",paddingTop:0,paddingBottom:"5px","&:last-child":{borderBottom:"none"}}),_r=e=>Fr({},e,{zIndex:2}),Vr=e=>Fr({},e,{maxHeight:"400px"}),Br=e=>Fr({},e,{padding:"6px 0 2px 18px",fontSize:"11px"});function Hr(){return Hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Hr.apply(this,arguments)}const Yr=e=>{let{innerProps:t,innerRef:a,children:l,isFocused:n,isSelected:i,selectProps:{classes:o},label:s,data:u}=e;const p=!!u.count,d=Ur(p);return r().createElement(Pr.Z,Hr({className:d.option,ref:a,selected:n,component:"div"},t),"radio"===u.inputType?r().createElement(jr.Z,{checked:i}):r().createElement(r().Fragment,null,r().createElement(Dr.Z,{color:"primary",checked:i}),r().createElement("span",{className:d.typeIconWrapper},r().createElement(Et,{detailType:u.value}))),r().createElement(ga.C,{value:s},r().createElement("div",{className:o["option--item"]},l)),r().createElement("span",{className:d.counter},(0,c.k7L)(u.count,999)))},Zr=(0,s.reject)((0,s.propEq)("value","all")),Gr=(e,t)=>(0,s.reject)((0,s.propEq)("group",e.group))(t),Wr=e=>(0,s.pipe)((0,s.filter)((0,s.propEq)("group",e)),Zr),qr=e=>(0,s.pipe)((0,s.reduce)(((t,a)=>t.concat(Wr(e)(a.options))),[]),Zr),Qr=(0,s.find)((0,s.propEq)("value","all")),$r=e=>{let{selectedFilterOptions:t=[],filterOptions:a,defaultFilterText:n,onChangeFilterText:i,onChangeFilterOptions:o}=e;const c=Ur(),u=(0,s.reduce)(((e,t)=>{if(t.options.length){const a=(0,s.head)(t.options)||{},{group:l,inputType:r}=a,n=(e||[]).filter((0,s.propEq)("group",l));if("radio"===r){if(!n.length)return e.concat(a)}else{const a=Qr(t.options);if(a&&Zr(n).length===Zr(t.options).length)return e.concat(a)}}return e}),t)(a),d=e=>e.selectProps.menuIsOpen?c.dropDownIndicatorActive:"",f=(0,l.useCallback)((()=>t.length?c.dropDownIndicatorFilterApplied:c.dropdownIndicator),[t]),[m,h]=(0,l.useState)(n||null);return r().createElement("div",{className:c.serachWrapper},r().createElement(Mr.Z,{className:c.searchInput,autofocus:!0,onSearch:e=>{h(e),i(e)},value:m,height:40,placeholder:p().text("Search attribute name"),"data-reltio-id":"reltio-dq-dashboard-attributes-search-input"}),r().createElement("div",{className:c.filterByDetails,"data-reltio-id":"reltio-dq-dashboard-attributes-filter"},r().createElement(Lr.Z,{value:u,options:a,onChange:(e,l)=>{const{action:r,option:n}=l;o(((e,l,r)=>{if("radio"===l.inputType)return[...Gr(l,r),l];{const i=(n=l.group,qr(n)(a).length===Wr(n)(t).length),o=Gr(l,r),c=qr(l.group)(a);return"all"===l.value?"select-option"===e?[...o,...c]:o:i?(0,s.without)([l],[...o,...c]):r}var n})(r,n,e))},TextFieldProps:{InputProps:{disableUnderline:!0}},isSearchable:!1,classes:{menu:c.menu,option:c.option,valueContainer:c.valueContainer},styles:{groupHeading:Br,group:zr,menu:_r,menuList:Vr},components:{DropdownIndicator:e=>r().createElement("div",{className:d(e)},r().createElement(Cr.Z,{className:f()})),IndicatorSeparator:ha.Vd,ClearIndicator:ha.Vd,MultiValue:ha.Vd,MenuList:e=>r().createElement(Ar.F.MenuList,e,r().createElement("div",{className:c.dropdownMenuTitle},p().text("Filter")),e.children),Option:Yr,GroupHeading:e=>r().createElement(Ar.F.GroupHeading,e,e.children)}})))},Kr=(0,g.Z)((e=>({root:{width:"480px",display:"flex",flexDirection:"column",borderRight:"solid 1px rgba(0, 0, 0, 0.12)",flexGrow:1},title:{height:"24px",margin:"16px",display:"flex",alignItems:"center"},itemCount:{color:e.palette.text.secondary,borderLeft:"1px solid rgba(0, 0, 0, 0.12)",marginLeft:"16px",paddingLeft:"16px"},listWrapper:{flexGrow:1,overflow:"hidden",position:"relative"},columnsTitle:{height:"48px",display:"grid",gridGap:"32px",gridTemplateColumns:"308px 108px",alignItems:"center",padding:"0 16px",background:"rgba(0, 0, 0, 0.06)",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",fontWeight:500,fontSize:"12px",lineHeight:"16px",color:"rgba(0, 0, 0, 0.54)"},loaderWrapper:{position:"absolute",top:"0",left:"0",width:"100%",height:"4px",zIndex:1}}))),Xr=e=>{var t;let{entityType:a,onAttributesListChange:i,defaultFieldName:o,defaultFilterOptions:u,defaultFilterText:d,disableAttributeSelection:f}=e;const m=Kr(),g=(0,l.useRef)(),[E,b]=(0,l.useState)(d||""),[x,O]=(0,l.useState)([]),[w,N]=(0,l.useState)(u||[]),[T,S]=(0,l.useState)({fieldName:o}),{data:R,state:I}=(e=>{const[t,a]=(0,l.useState)(y.o.INIT),[r,n]=(0,l.useState)({}),i=e=>{console.error(e),a(y.o.ERROR),n({})},o=(0,l.useCallback)((()=>(a(y.o.LOADING),n({}),(0,c.aTW)({entityTypeUri:e}).then(xe).then((e=>{n(e),a(y.o.LOADED)})).catch(i))),[a,n,e]),s=(0,l.useCallback)((()=>{try{o()}catch(e){i(e)}}),[o]);return(0,l.useEffect)((()=>{s()}),[s]),{data:r,state:t,reload:s}})(a.uri),A=null===(t=(0,l.useContext)(Ie))||void 0===t?void 0:t.state,C=((e,t)=>{var a;const r=(0,n.useSelector)(h.ZP.selectors.getMetadata),i=(0,l.useMemo)((()=>(e=>(0,s.pipe)(c.WN0,et(e),nt))(t)(r,e)),[r,e,t]),[o,u]=(0,l.useState)([]),p=e.uri,d=(0,l.useMemo)((()=>(0,c.qhs)(r,p)),[r,p]),f=null===(a=(0,l.useContext)(Ie))||void 0===a?void 0:a.data;return(0,l.useEffect)((()=>{f&&u(i.map((0,s.evolve)({attributeItem:e=>function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){Ir(e,t,a[t])}))}return e}({},e,{details:lt({attrTypeItem:e,dvf:f,matchAttributes:d})},e.children&&{children:e.children.map((t=>(t.details=lt({attrTypeItem:t,dvf:f,matchAttributes:d}),t.details.reference=e.isAttributeReference,t)))})})))}),[i,d,f]),o})(a,E),{filteredItems:M,filterOptions:L}=(0,l.useMemo)((()=>{const e=((e,t)=>{const a=Er("details")(e),l=(e=>(0,s.pipe)((0,s.filter)((0,s.pipe)(yr,(0,s.both)((0,s.prop)("children"),Qe(e)))),(0,s.map)(Rr)))(a)(t);return t.filter((e=>{let{attributeItem:t}=e;return l.some((e=>t.fieldName.startsWith(e)))||$e(a,t)}))})(w,C),t=((e,t)=>{const a=[{label:p().text("All"),value:"All",group:"emptiness",count:xr(e),inputType:"radio"},{label:p().text("With data"),value:Tr.NOT_EMPTY,group:"emptiness",count:Or(e,t),inputType:"radio"},{label:p().text("W/o data"),value:Tr.EMPTY,group:"emptiness",count:wr(e,t),inputType:"radio"}];return{label:p().text("Attributes"),options:a}})(e,R),a=((e,t,a)=>{const l=(0,s.head)(Er("emptiness")(e));switch(null==l?void 0:l.value){case Tr.EMPTY:return a.filter((0,s.pipe)(yr,Je(t)));case Tr.NOT_EMPTY:return a.filter((0,s.pipe)(yr,Ke(t)));default:return a}})(w,R,e);return{filteredItems:a,filterOptions:[t,Sr(a,w)]}}),[C,w,R]),D=(0,l.useMemo)((()=>((e,t)=>e.filter((e=>{let{attributeItem:a}=e;return!t.some((e=>a.fieldName.startsWith(e)&&a.fieldName!==e))})))(M,x)),[M,x]),P=M.length,j=(0,l.useCallback)((0,c.DsO)(b,300),[]),F=e=>{i({selectedDetailedAttributeType:e,filterText:E,filterOptions:w}),S({fieldName:e.fieldName})},k=()=>{const e=((e,t)=>(0,s.pipe)((0,s.find)(gr(t)),(0,s.propOr)(null,"attributeItem"))(e))(M,T.fieldName)||vr(M);return(0,s.isEmpty)(e)||f?null:e};(0,l.useEffect)((()=>{var e,t,a;if(f)return void(null===(a=g.current)||void 0===a||a.scrollTo(0));if(M.length){const e=k();S({fieldName:(null==e?void 0:e.fieldName)||T.fieldName})}const l=((e,t)=>(0,s.findIndex)(gr(t))(e))(M,T.fieldName);l>-1?null===(e=g.current)||void 0===e||e.scrollToItem(l,"center"):null===(t=g.current)||void 0===t||t.scrollTo(0)}),[M]),(0,l.useEffect)((()=>{const e=k();i({selectedDetailedAttributeType:e,filterText:E,filterOptions:w})}),[E,w,T]),(0,l.useEffect)((()=>{S((e=>{let{fieldName:t}=e;return f?{fieldName:null}:{fieldName:t}}))}),[f]);const U=e=>{let{data:t,index:a,style:l}=e;const{attributeItem:n,level:i=0}=t[a],o=T.fieldName===n.fieldName,c=((e,t)=>e[t.fieldName])(R,n),u=a>0&&i>(0,s.pathOr)(-1,[a+1,"level"],D);return r().createElement(hr,{fillRateData:c,fillRateState:I,style:l,detailedAttributeType:n,level:i,onClick:F,selected:o,onCollapse:(p=n.fieldName,()=>{O((e=>e.includes(p)?e.filter((e=>e!==p)):e.concat(p)))}),isCollapsed:x.includes(n.fieldName),isLastLevelItem:u});var p},z=D.length,_=!!z,V=I===y.o.LOADING||A===y.o.LOADING;return r().createElement("div",{className:m.root},r().createElement(v.Z,{className:m.title},(0,c.idV)(a.label)," ",p().text("attributes"),r().createElement("span",{className:m.itemCount},`${P} ${B=P,1===B?p().text("item"):p().text("items")}`)),r().createElement($r,{selectedFilterOptions:w,onChangeFilterOptions:N,defaultFilterText:d,onChangeFilterText:j,filterOptions:L}),_&&r().createElement("div",{className:m.columnsTitle},r().createElement("div",null,p().text("Name")),r().createElement("div",null,p().text("Attribute details"))),r().createElement("div",{className:m.listWrapper,"data-reltio-id":"reltio-dq-dashboard-attributes-list"},r().createElement("div",{className:m.loaderWrapper},V&&r().createElement(Xl.Z,null)),_?r().createElement(Kl.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=250}=e;return r().createElement($l.FixedSizeList,{ref:g,itemCount:z,width:"100%",height:t,itemData:D,itemSize:48},U)})):!V&&r().createElement(Jl.Z,{height:250})));var B},Jr=(0,g.Z)((e=>({perspectiveView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"},content:{display:"flex",flexGrow:1,overflow:"hidden"},additionalLabel:{color:e.palette.text.secondary,marginLeft:"10px"},entityLevelButton:{height:"48px",padding:"0 16px",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.1)",fontSize:"16px",lineHeight:"48px",color:"rgba(0, 0, 0, 0.87)",cursor:"pointer"},selectedButton:{background:"#F0F7FC"},wrapper:{display:"flex",flexDirection:"column"}})));function en(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){tn(e,t,a[t])}))}return e}function tn(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const an=(0,s.path)([0,"value"]),ln=e=>{var t,a;let{config:i,saveState:o,getSavedState:u}=e;const v=Jr(),{entityType:g,tabs:E,setEntityTypeByUri:x}=(()=>{const e=(0,n.useSelector)(h.ZP.selectors.getMetadata),t=(0,l.useMemo)((()=>e.entityTypes.filter(c.oDv)),[e.entityTypes]),a=(e=>{const[t,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{const t=(0,c.Uqd)()([{fieldName:"type",filter:c.j5E.EQUALS,values:(0,s.pluck)("uri",e)}]);(0,c.FK9)({query:(0,c.ECL)({activeness:"active",filter:t}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}).then((e=>{let{type:t}=e;return a(t)})).catch((()=>a(null)))}),[e]),t})(t),[r,i]=(0,l.useState)(null);return{entityType:r,tabs:(0,l.useMemo)((()=>t.map(((e,t)=>{let{label:l,uri:r}=e;return{label:l,value:r,additionalLabel:(0,c.k7L)(Number((null==a?void 0:a[(0,c.nIW)(r)])||0),999),dataReltioId:`reltio-dq-dashboard-entity-tab-${t}`}}))),[t,a]),setEntityTypeByUri:(0,s.pipe)((0,c.nt9)(e),i)}})(),[w,N]=(0,l.useState)(null),{isLoaded:T,savedState:S}=(0,d.a)(u),M=(0,n.useSelector)(h.ZP.selectors.getCanUserGetDQStatistic),[L,D]=(0,l.useState)(),P=(e=>{const[t,a]=(0,l.useState)(null),[r,i]=(0,l.useState)(y.o.INIT),[o,s]=(0,l.useState)(),u=(0,n.useSelector)(h.ZP.selectors.getTenant),p=(0,n.useSelector)(h.ZP.selectors.getDVFPath),d=e=>{console.error(e),i(y.o.ERROR),a([]),s(null==e?void 0:e.errorCode)},f=e=>{a(e.functions),i(y.o.LOADED)},m=(0,l.useCallback)((()=>{if(e)return i(y.o.LOADING),(0,c.HaQ)({dvfPath:p,tenant:u,entityTypeUri:e}).then(f).catch(d)}),[p,u,e]);return(0,l.useEffect)((()=>{m()}),[m]),{data:t,state:r,reload:m,errorCode:o}})(null==g?void 0:g.uri),j=null==E?void 0:E.map((e=>en({},e,{additionalLabel:r().createElement("span",{className:v.additionalLabel},"(",e.additionalLabel,")")}))),F=(0,l.useCallback)((e=>{(null==g?void 0:g.uri)!==e&&(N(null),x(e),L===I.ENTITY_TYPE&&o(en({dataLevel:L,entityTypeUri:e},H.current&&{filterOptions:H.current.filterOptions,filterText:H.current.filterText})))}),[null==g?void 0:g.uri]),k=(null===(t=i.layoutsByDataLevel)||void 0===t?void 0:t[I.ENTITY_TYPE])||C[I.ENTITY_TYPE],z=null===(a=i.layoutsByDataLevel)||void 0===a?void 0:a[I.ATTRIBUTE_TYPE],_=(0,l.useMemo)((()=>L===I.ENTITY_TYPE&&k?k:((e,t)=>{const a=U(t),l=(0,s.mergeLeft)(e,C[I.ATTRIBUTE_TYPE]);return l[a]||l.default||[]})(z,null==w?void 0:w.type)),[k,null==w?void 0:w.type,z,L]),V=(0,l.useMemo)((()=>((e,t,a,l)=>{const r=(0,s.uniqBy)((0,s.prop)("id"),(0,s.concat)((null==e?void 0:e[l])||[],A[l]||[])),n=(e=>{switch(e){case I.ATTRIBUTE_TYPE:return(e=>{switch(e){case R.INTEGER:case R.FLOAT:return[O.SUMMARY,O.CROSSWALK,O.VALIDATION,O.FILL_RATE_CHART,O.FREQUENCY,O.UNIQUENESS_CHART,O.VALUE_DISTRIBUTION];case R.BOOLEAN:return[O.SUMMARY,O.CROSSWALK,O.VALIDATION,O.FILL_RATE_CHART,O.FREQUENCY];case R.STRING:return[O.LENGTH,O.SUMMARY,O.CROSSWALK,O.VALIDATION,O.FILL_RATE_CHART,O.FREQUENCY,O.UNIQUENESS_CHART];case R.DATE:return[O.SUMMARY,O.CROSSWALK,O.VALIDATION,O.FILL_RATE_CHART,O.FREQUENCY,O.UNIQUENESS_CHART,O.VALUE_DISTRIBUTION,O.MONTH_DISTRIBUTION,O.DAY_OF_MONTH_DISTRIBUTION,O.DAY_OF_WEEK_DISTRIBUTION];case R.SSN:return[O.SUMMARY,O.CROSSWALK,O.VALIDATION,O.FILL_RATE_CHART,O.FREQUENCY,O.UNIQUENESS_CHART,O.PATTERN];case R.UNKNOWN:return[O.SUMMARY,O.CROSSWALK,O.VALIDATION,O.FILL_RATE_CHART,O.FREQUENCY,O.UNIQUENESS_CHART,O.LENGTH];default:return[]}})(U(t));case I.ENTITY_TYPE:return[O.SUMMARY];default:return[]}})(l);return a.reduce(((e,t)=>{const a=(0,s.prop)("type",e.find((0,s.propEq)("id",t.id)));if(!n.includes(a)){const a=e.findIndex((0,s.propEq)("id",t.id));if(-1!==a)return(0,s.adjust)(a,(0,s.assoc)("type",O.UNSUPPORTED),e)}return e}),r)})(i.viewsByDataLevel,null==w?void 0:w.type,_,L)),[null==w?void 0:w.type,_,L]);(0,l.useEffect)((()=>{T&&(x(S.entityTypeUri||an(E)),D(k?S.dataLevel||I.ENTITY_TYPE:I.ATTRIBUTE_TYPE))}),[T]);const H=(0,l.useRef)(),Y=g&&M&&T;return r().createElement("div",{className:v.perspectiveView},r().createElement(b,{title:p().text("Data Quality")},g&&r().createElement(f.Z,{value:g.uri,tabs:j,onChange:F,scrollButtons:"auto"})),r().createElement("div",{className:v.content},Y&&r().createElement(r().Fragment,null,r().createElement(Ie.Provider,{value:P},r().createElement("div",{className:v.wrapper},k&&r().createElement("div",{className:B()(v.entityLevelButton,{[v.selectedButton]:L===I.ENTITY_TYPE}),onClick:()=>{N(null),D(I.ENTITY_TYPE)}},`${g.label} ${p().text("summary")}`),r().createElement(Xr,{entityType:g,onAttributesListChange:e=>{let{selectedDetailedAttributeType:t,filterText:a,filterOptions:l}=e;const r=null==t?void 0:t.fieldName,n={entityTypeUri:g.uri,fieldName:r,filterOptions:l,filterText:a,dataLevel:L};!r&&L!==I.ENTITY_TYPE||(0,s.equals)(H.current,n)||(o(n),H.current=n),r&&D(I.ATTRIBUTE_TYPE),N(t)},defaultFieldName:null==S?void 0:S.fieldName,defaultFilterText:null==S?void 0:S.filterText,defaultFilterOptions:null==S?void 0:S.filterOptions,disableAttributeSelection:L===I.ENTITY_TYPE})),(w||L===I.ENTITY_TYPE)&&r().createElement(Gt.Provider,{value:L},r().createElement(Ce.Provider,{value:g},r().createElement(Ae.Provider,{value:w},r().createElement(Ql,{views:V,layout:_})))))),!M&&r().createElement(m.ZP,{text:p().text("403: Permission denied"),secondaryText:p().text("Permission denied")})))};function rn(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const nn=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),l.forEach((function(t){rn(e,t,a[t])}))}return e}({},c.rSc,{tooltip:{borderRadius:"4px",backgroundColor:"rgba(96, 96, 96, 0.9)",maxWidth:"300px"}}),on=(0,i.Z)(nn),cn=(0,o.createGenerateClassName)({productionPrefix:"DQDashboardPerspective",disableGlobal:!0}),sn=e=>{let{store:t,config:a,saveState:i,getSavedState:s}=e;const u=(0,l.useCallback)((0,c.aYu)(s),[s]);return r().createElement(n.Provider,{store:t},r().createElement(o.ThemeProvider,{theme:on},r().createElement(o.StylesProvider,{generateClassName:cn},r().createElement(ln,{config:a,saveState:i,getSavedState:u}))))}}}]);
package/396.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[396],{42639:(e,t,l)=>{l.d(t,{Z:()=>p});var a,r=l(43434),n=l(71153),i=l.n(n),c=l(24328),o=l.n(c);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},s.apply(this,arguments)}!function(e){e[e.ICON_MODE=0]="ICON_MODE",e[e.TEXT_MODE=1]="TEXT_MODE",e[e.ERROR_MODE=2]="ERROR_MODE"}(a||(a={}));const p=e=>{let{className:t,icon:l,avatarText:n,rootClasses:p}=e,f=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","icon","avatarText","rootClasses"]);const[d,m]=(0,c.useState)(null);(0,c.useEffect)((()=>{m(l?a.ICON_MODE:a.TEXT_MODE)}),[l,n]);const h=()=>{m(a.ERROR_MODE)};switch(d){case a.ICON_MODE:return o().createElement(r.Z,s({className:i()(t,null==p?void 0:p.iconRoot),src:l,onError:h},f));case a.TEXT_MODE:case a.ERROR_MODE:return o().createElement(r.Z,s({className:i()(t,null==p?void 0:p.textRoot)},f),n);default:return null}}},79002:(e,t,l)=>{l.d(t,{B9:()=>h,tC:()=>m,ZP:()=>E});var a=l(24328),r=l.n(a),n=l(17440),i=l(90436),c=l(77277);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},o.apply(this,arguments)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},s.apply(this,arguments)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},f.apply(this,arguments)}const d=(0,l(79692).Z)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"10px",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box","& $text":{color:e.palette.text.secondary,fontSize:"20px",fontWeight:300,lineHeight:"24px",letterSpacing:"0.25px",textAlign:"center"},"& $secondaryText":{color:"rgba(0, 0, 0, 0.54)",fontSize:"15px",fontWeight:300,lineHeight:"18px",letterSpacing:"0.11px",textAlign:"center",paddingTop:"3px"}},embedded:{flexShrink:0,width:"190px",height:"190px",padding:"8px"},full:{width:"256px",height:"256px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:500,marginTop:"16px"},text:{},secondaryText:{},button:{minHeight:36,minWidth:64,maxWidth:500,padding:"10px 16px",borderRadius:"2px",boxShadow:"0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24), 0 0 8px 0 rgba(0,0,0,0.12), 0 8px 8px 0 rgba(0,0,0,0.24)",fontSize:"14px",fontWeight:500,lineHeight:"16px",marginTop:"24px"}})));let m;!function(e){e.full="full",e.embedded="embedded"}(m||(m={}));const h={SEARCH_RESULTS:e=>r().createElement("svg",o({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("radialGradient",{cx:"50%",cy:"100%",fx:"50%",fy:"100%",r:"81.681%",gradientTransform:"matrix(.98998 0 0 .612 .005 .388)",id:"EmptySearchResults_svg__c"},r().createElement("stop",{stopColor:"#00BFFF",stopOpacity:.5,offset:"0%"}),r().createElement("stop",{stopColor:"#9EE8FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"111.651%",fx:"50%",fy:"111.651%",r:"87.693%",gradientTransform:"matrix(0 -.97693 .7263 0 -.31 1.605)",id:"EmptySearchResults_svg__f"},r().createElement("stop",{stopColor:"#91F8E5",stopOpacity:.6,offset:"0%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"103.659%",fx:"50%",fy:"103.659%",r:"90.207%",gradientTransform:"matrix(0 -1 2.23905 0 -1.821 1.537)",id:"EmptySearchResults_svg__g"},r().createElement("stop",{stopColor:"#FFF",offset:"0%"}),r().createElement("stop",{stopColor:"#73FAFF",stopOpacity:.21,offset:"59.38%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"170.771%",x2:"50%",y2:"10.303%",id:"EmptySearchResults_svg__e"},r().createElement("stop",{stopColor:"#91F8E5",offset:"0%"}),r().createElement("stop",{stopColor:"#99FCFF",stopOpacity:0,offset:"100%"})),r().createElement("filter",{x:"-25.9%",y:"-26.2%",width:"151.8%",height:"152.3%",filterUnits:"objectBoundingBox",id:"EmptySearchResults_svg__d"},r().createElement("feGaussianBlur",{stdDeviation:15,in:"SourceGraphic"})),r().createElement("circle",{id:"EmptySearchResults_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"EmptySearchResults_svg__b",fill:"#fff"},r().createElement("use",{xlinkHref:"#EmptySearchResults_svg__a"})),r().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#EmptySearchResults_svg__a"}),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("g",{transform:"translate(56 34)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{d:"M0 6.99C0 3.13 3.137 0 7 0h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H7c-3.866 0-7-3.143-7-6.99V6.99z"}),r().createElement("path",{d:"M13 25.99c0-3.86 3.137-6.99 7-6.99h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H20c-3.866 0-7-3.143-7-6.99V25.99z",opacity:.4})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 45.833)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h69.768a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h126.164a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:21.756,y:17.46,width:87.022,height:12.004,rx:6.002}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 87.302)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.091,width:20.668,height:20.734,rx:10.334}),r().createElement("path",{d:"M35.365.861h82.647a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048H174.58a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869h113.119a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 128.77)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h110.929a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h92.443a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("path",{fill:"#446275",d:"M72.246 84.033l8.66 5-35.5 61.488-8.66-5-12.556-24.729-51.307-29.622 20.431-35.388 50.648 29.242z"}),r().createElement("path",{d:"M62.906 120.21l-80.091-46.24 10.5-18.188 50.647 29.242 28.284-.99 8.66 5-18 31.176z",fillOpacity:.2,fill:"#FFF"}),r().createElement("path",{d:"M27.566 75.558L3.877 109.065l-5.013-2.895 26.045-32.146 2.657 1.534zm9.467 5.466L13.345 114.53l-5.014-2.895L34.377 79.49l2.656 1.534zm8.158 4.71l-22.32 34.297-5.013-2.895L43.903 84.99l1.288.744z",fill:"#527585"}),r().createElement("path",{d:"M11.524 90.544l13.385-16.52 2.657 1.534-12.174 17.22-3.868-2.234zm9.467 5.467L34.377 79.49l2.656 1.534-12.174 17.22-3.868-2.233zm9.527 5.5L43.903 84.99l1.288.744-11.47 17.626-3.203-1.85z",fill:"#76A2B5",opacity:.6}),r().createElement("path",{d:"M.355 59.848l-23.689 33.507-5.013-2.895 26.045-32.146 2.657 1.534zm9.468 5.466L-13.866 98.82l-5.013-2.895L7.166 63.78l2.657 1.534zm8.158 4.71L-4.34 104.32l-5.014-2.895L16.692 69.28l1.289.744z",fillOpacity:.1,fill:"#000"}),r().createElement("g",null,r().createElement("path",{fill:"url(#EmptySearchResults_svg__c)",opacity:.993,filter:"url(#EmptySearchResults_svg__d)",d:"M.63 0h173.74L123 172H52z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__e)",opacity:.3,d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__f)",opacity:.3,d:"M4 2h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__g)",d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"#FFF",opacity:.196,d:"M212.363 205.344l-1 1.732L60.418 124.52l4.977-8.62z"})),r().createElement("path",{fill:"#76A2B5",d:"M73.112 84.533l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#F3F3F3",d:"M80.906 89.033l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#538196",d:"M55.112 115.71l-17.5 30.311-.866-.5 17.5-30.31z"})))),SELECT_ATTRIBUTES:e=>r().createElement("svg",s({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("linearGradient",{x1:"79.375%",y1:"86.747%",x2:"32.207%",y2:"33.403%",id:"SelectAttributes_svg__c"},r().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#000",offset:"100%"})),r().createElement("circle",{id:"SelectAttributes_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"SelectAttributes_svg__b",fill:"#fff"},r().createElement("use",{xlinkHref:"#SelectAttributes_svg__a"})),r().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#SelectAttributes_svg__a"}),r().createElement("path",{fill:"#F4F4F4",mask:"url(#SelectAttributes_svg__b)",d:"M-16 9h256v239H-16z"}),r().createElement("path",{fill:"url(#SelectAttributes_svg__c)",opacity:.05,mask:"url(#SelectAttributes_svg__b)",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865z"}),r().createElement("path",{d:"M53 58h202a7 7 0 017 7v157a7 7 0 01-7 7H53a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000",opacity:.06,mask:"url(#SelectAttributes_svg__b)"}),r().createElement("g",{mask:"url(#SelectAttributes_svg__b)"},r().createElement("path",{d:"M56 56h201a5 5 0 015 5v157a5 5 0 01-5 5H56a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#FFF",fillRule:"evenodd"}),r().createElement("path",{d:"M114.376 69.635H156a3 3 0 010 6h-41.624a3 3 0 110-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M114 81.635h64.205a3 3 0 010 6H114a3 3 0 110-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M114.376 160H156a3 3 0 010 6h-41.624a3 3 0 010-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M114 172h64.205a3 3 0 010 6H114a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M114.376 190H196a3 3 0 010 6h-81.624a3 3 0 010-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M114 202h74.205a3 3 0 010 6H114a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M82 190a2 2 0 012 2v14a2 2 0 01-2 2H68a2 2 0 01-2-2v-14a2 2 0 012-2h14zm0 2H68v14h14v-14z",fillOpacity:.18,fill:"#000",fillRule:"nonzero"}),r().createElement("path",{d:"M138.376 100H220a3 3 0 010 6h-81.624a3 3 0 110-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M138 112h64.205a3 3 0 010 6H138a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M82 100a2 2 0 012 2v14a2 2 0 01-2 2H68a2 2 0 01-2-2v-14a2 2 0 012-2h14zm0 2H68v14h14v-14z",fillOpacity:.18,fill:"#000",fillRule:"nonzero"}),r().createElement("path",{d:"M138.376 130H220a3 3 0 010 6h-81.624a3 3 0 110-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M138 142h74.205a3 3 0 010 6H138a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M96.514 100h2v8h9.179v2h-9.179v28.365h9.179v2H96.514V100z",fill:"#2B98F0",fillRule:"nonzero",opacity:.2}),r().createElement("path",{d:"M82 70H68a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V72a2 2 0 00-2-2z",fill:"#2B98F0",fillRule:"nonzero"}),r().createElement("path",{d:"M80.097 73.255a1.5 1.5 0 012.224 2.007l-.103.114-8.157 8.156a1.5 1.5 0 01-2.007.103l-.114-.103-3.164-3.164a1.5 1.5 0 012.007-2.225l.114.103L73 80.35l7.097-7.095z",fill:"#FFF",fillRule:"nonzero"}),r().createElement("path",{d:"M82 160H68a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-14a2 2 0 00-2-2z",fill:"#2B98F0",fillRule:"nonzero"}),r().createElement("path",{d:"M80.097 163.255a1.5 1.5 0 012.224 2.007l-.103.114-8.157 8.156a1.5 1.5 0 01-2.007.103l-.114-.103-3.164-3.164a1.5 1.5 0 012.007-2.225l.114.103L73 170.35l7.097-7.095z",fill:"#FFF",fillRule:"nonzero"}),r().createElement("path",{d:"M82 130H68a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-14a2 2 0 00-2-2z",fill:"#2B98F0",fillRule:"nonzero"}),r().createElement("path",{d:"M80.097 133.255a1.5 1.5 0 012.224 2.007l-.103.114-8.157 8.156a1.5 1.5 0 01-2.007.103l-.114-.103-3.164-3.164a1.5 1.5 0 012.007-2.225l.114.103L73 140.35l7.097-7.095z",fill:"#FFF",fillRule:"nonzero"}),r().createElement("path",{fill:"#000",fillRule:"evenodd",opacity:.54,d:"M101.071 77l-3.535 3.536L94 77z"})),r().createElement("path",{d:"M56 22h186a6 6 0 016 6v18a6 6 0 01-6 6H56a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#FFF",opacity:.6,mask:"url(#SelectAttributes_svg__b)"}),r().createElement("path",{d:"M70 31h70a6 6 0 010 12H70a6 6 0 110-12zM160 31h10a6 6 0 010 12h-10a6 6 0 010-12z",fill:"#979797",opacity:.2,mask:"url(#SelectAttributes_svg__b)"}))),NO_DATA:e=>r().createElement("svg",p({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__b"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#F4F4F4",offset:"100%"})),r().createElement("linearGradient",{x1:"69.573%",y1:"86.747%",x2:"38.144%",y2:"33.403%",id:"NoData_svg__d"},r().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#000",offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__e"},r().createElement("stop",{stopColor:"#EEFBFF",offset:"0%"}),r().createElement("stop",{stopColor:"#0072CE",offset:"100%"})),r().createElement("filter",{x:"-7.7%",y:"-7.5%",width:"115.3%",height:"115%",filterUnits:"objectBoundingBox",id:"NoData_svg__f"},r().createElement("feOffset",{dx:0,dy:2,in:"SourceAlpha",result:"shadowOffsetOuter1"}),r().createElement("feGaussianBlur",{stdDeviation:2,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),r().createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0",type:"matrix",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),r().createElement("feMerge",null,r().createElement("feMergeNode",{in:"shadowMatrixOuter1"}),r().createElement("feMergeNode",{in:"SourceGraphic"}))),r().createElement("circle",{id:"NoData_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"NoData_svg__c",fill:"#fff"},r().createElement("use",{xlinkHref:"#NoData_svg__a"})),r().createElement("use",{fillOpacity:.1,fill:"#0072CE",xlinkHref:"#NoData_svg__a"}),r().createElement("path",{fill:"url(#NoData_svg__b)",mask:"url(#NoData_svg__c)",d:"M0 9h256v247H0z"}),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("g",{transform:"translate(29 37)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{fillOpacity:.8,opacity:.5,d:"M14.565 8h228.144v176.476H14.565z"}),r().createElement("path",{d:"M0 8.01C0 3.586 3.576 0 7.997 0h223.838a7.997 7.997 0 017.997 8.01v152.401c0 4.424-3.577 8.01-7.997 8.01H7.997A7.997 7.997 0 010 160.411V8.01z"})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 42.105)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h64.093a3.509 3.509 0 110 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h115.902a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:19.986,y:16.04,width:79.944,height:11.028,rx:5.514}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 80.2)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.003,width:18.987,height:19.048,rx:9.493}),r().createElement("path",{d:"M32.488.791h75.925a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h128.893a2.506 2.506 0 110 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846h103.918a1.504 1.504 0 010 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 118.296)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h101.906a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h84.924a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("path",{d:"M154.445 45.134v154.072H36.625V45.134h.811C35.508 62.52 41.07 80.609 54.12 93.944c22.74 23.235 59.61 23.235 82.352 0 13.05-13.335 18.612-31.424 16.683-48.81h1.29z",fill:"url(#NoData_svg__d)",opacity:.1,transform:"rotate(-30 291.014 34.548)"}),r().createElement("path",{d:"M27.473 93.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"url(#NoData_svg__e)",opacity:.2,transform:"translate(70 86)"}),r().createElement("g",{filter:"url(#NoData_svg__f)",strokeWidth:1,fill:"none",transform:"translate(70 86)"},r().createElement("path",{d:"M59.697 0c32.97 0 59.697 26.746 59.697 59.738 0 15.185-5.662 29.047-14.988 39.587l51.204 51.24a89.336 89.336 0 01-10.097 9.392l-51.38-51.416c-9.73 6.888-21.61 10.936-34.436 10.936C26.727 119.477 0 92.73 0 59.738 0 26.746 26.727 0 59.697 0zm0 17.756c-23.17 0-41.953 18.796-41.953 41.982s18.783 41.982 41.953 41.982 41.953-18.796 41.953-41.982-18.783-41.982-41.953-41.982z",fill:"#B5C8C9"}),r().createElement("path",{d:"M21.508 105.656C8.365 94.698 0 78.196 0 59.738 0 26.746 26.727 0 59.697 0c18.444 0 34.935 8.37 45.885 21.523l-9.794 9.8c-8.408-10.68-21.45-17.537-36.091-17.537-25.361 0-45.92 20.573-45.92 45.952 0 14.652 6.852 27.702 17.525 36.117l-9.794 9.8z",fillOpacity:.4,fill:"#FFF"})),r().createElement("path",{d:"M97.473 179.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"#D9F5FF",opacity:.4,style:{mixBlendMode:"soft-light"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.87,fill:"#000",style:{mixBlendMode:"overlay"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.38,fill:"#3C74B4"})))),ERROR:e=>r().createElement("svg",f({width:88,height:88,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("mask",{id:"Error_svg__a",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(#Error_svg__a)"},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_svg__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_svg__paint0_linear)"}),r().createElement("g",{filter:"url(#Error_svg__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_svg__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_svg__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_svg__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_svg__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_svg__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}))))},E=e=>{let{variant:t=m.full,LogoRenderer:l=h.SEARCH_RESULTS,text:a,secondaryText:o,buttonTitle:s,onClick:p=n.identity,access:f}=e;const E=d(),u=f&&s;return r().createElement("div",{className:E.root},r().createElement(l,{className:E[`${t}`]}),r().createElement("div",{className:E.textBox},r().createElement(i.Z,{variant:"h5",classes:{h5:E.text}},a),o&&r().createElement(i.Z,{variant:"subtitle1",classes:{subtitle1:E.secondaryText}},o)),u&&r().createElement(c.Z,{className:E.button,variant:"contained",color:"primary",onClick:p},s))}},7907:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(99152),i=l(6487),c=l(83088);const o=(0,l(79692).Z)({tabsRoot:{width:"100%"},tabsScrollButton:{flex:"0 0 24px"},tabRoot:{fontSize:"0.875rem",padding:"7px 18px 5px","@media (min-width: 960px)":{minWidth:"inherit"}},labelWrapper:{whiteSpace:"nowrap",letterSpacing:"normal",display:"flex",flexDirection:"row",width:"100%"},label:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500}});function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},s.apply(this,arguments)}const p=e=>{let{value:t,tabs:l=[],onChange:a,tabClasses:p}=e,f=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["value","tabs","onChange","tabClasses"]);const d=o(),m=(e,t)=>r().createElement("span",{className:d.labelWrapper},r().createElement(c.C,{value:e},r().createElement("span",{className:d.label},e)),t);return r().createElement(n.Z,s({value:t,onChange:(e,t)=>a(t),classes:{root:d.tabsRoot,scrollButtons:d.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},f),l.map((e=>{let{label:t,value:l,additionalLabel:a,dataReltioId:n}=e;return r().createElement(i.Z,{classes:p||{root:d.tabRoot},key:l,value:l,label:m(t,a),"data-reltio-id":n})})))}},33662:(e,t,l)=>{l.d(t,{Z:()=>x});var a=l(71153),r=l.n(a),n=l(17440),i=l(24328),c=l.n(i),o=l(87918),s=l.n(o),p=l(29611),f=l(50581),d=l(87685),m=l(21853),h=l(79573),E=l(40435),u=l(15311);function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},y.apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){g(e,t,l[t])}))}return e}function g(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const x=(0,i.memo)((e=>{let{value:t,autofocus:l,onSearch:a=h.ZT,rootRef:o,classes:g={},height:x}=e,_=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["value","autofocus","onSearch","rootRef","classes","height"]);const z=(0,u.y)({height:x}),[M,F]=(0,i.useState)(""),B=(0,n.pipe)((0,n.tap)(a),F),b=(0,n.isNil)(t)?M:t;return c().createElement(p.Z,y({startAdornment:c().createElement(f.Z,{position:"start"},c().createElement(m.Z,{className:z.icon})),endAdornment:c().createElement(f.Z,{position:"end"},b.length>0&&c().createElement(E.Z,{icon:d.default,className:z.clearButton,onClick:()=>B("")})),autoFocus:l,classes:v({},g,{input:r()(z.input,g.input),root:r()(z.container,g.root)}),placeholder:s().text("Search"),value:b,onChange:(0,n.pipe)(h.NA,B),disableUnderline:!0,ref:o},_))}))},15311:(e,t,l)=>{l.d(t,{y:()=>a});const a=(0,l(79692).Z)((()=>({container:e=>{let{height:t=36}=e;return{height:t,borderRadius:"2px",alignItems:"center",backgroundColor:"rgba(0,0,0,0.03)",minWidth:"100px"}},icon:{opacity:.67,marginLeft:"10px",marginRight:"6px"},input:{fontSize:"13px",width:"100%"},clearButton:{marginRight:"10px"},white:{backgroundColor:"rgb(255, 255, 255)",boxShadow:"0 1px 3px 0 rgba(0,0,0,0.24)"}})))},21210:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(89810),r=l(58263),n=l(24328),i=l.n(n),c=l(52730),o=l(42639);const s=e=>{let{sourceType:t,className:l,classes:n}=e;const s=(0,c.useSelector)(a.ZP.selectors.getMetadata),{label:p,icon:f}=(0,r.PWK)(s,t);return i().createElement(o.Z,{className:l,avatarText:p[0],icon:f?(0,r.vPL)("https://s3.amazonaws.com/reltio.images/api",f):null,variant:"square",rootClasses:n})}}}]);