@reltio/remotes 1.4.982 → 1.4.985
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/276.js +1 -0
- package/340.js +1 -0
- package/354.js +1 -0
- package/368.js +1 -0
- package/488.js +2 -0
- package/{721.js.LICENSE.txt → 488.js.LICENSE.txt} +0 -0
- package/565.js +1 -1
- package/639.js +1 -0
- package/662.js +1 -1
- package/810.js +1 -1
- package/{710.js → 819.js} +1 -1
- package/911.js +2 -0
- package/{894.js.LICENSE.txt → 911.js.LICENSE.txt} +0 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/131.js +0 -1
- package/241.js +0 -1
- package/605.js +0 -1
- package/618.js +0 -1
- package/721.js +0 -2
- package/894.js +0 -2
package/662.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[662],{81819:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a.Z});var a=l(29611)},98989:(e,t,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(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,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(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,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(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,l)=>{var a=l(14859);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(l(24328)),n=(0,a(l(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.default=n},82068:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n);const o=(0,l(79692).Z)({"basic-view-content":{flex:"1 1 auto",padding:"0 24px 24px","&:first-child":{paddingTop:"24px"}}});function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{children:t,className:l}=e,a=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,["children","className"]);const n=o();return r().createElement("div",c({className:i()(n["basic-view-content"],l)},a),t)}},17822:(e,t,l)=>{l.d(t,{Z:()=>T});var a=l(13980),r=l.n(a),n=l(24328),i=l.n(n),o=l(66244),c=l.n(o),s=l(44443),d=l(17440),p=l(71153),u=l.n(p);function f(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}const m=e=>{let{x:t,y:l,width:a,height:r,id:n,minWidth:i,minHeight:o,maxWidth:c,maxHeight:s,isStatic:d}=e;return{x:t,y:l,w:a,h:r,minW:i,minH:o,maxW:c,maxH:s,i:n,static:d}},h=e=>{let{x:t,y:l,w:a,h:r,maxW:n,minW:i,minH:o,maxH:c,i:s}=e;return{x:t,y:l,width:a,height:r,minWidth:i,minHeight:o,maxWidth:n,maxHeight:c,id:s,isStatic:f(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},y=e=>(e||[]).map(h),v=(0,d.curry)(((e,t)=>(e||[]).find((0,d.propEq)("id",t)))),g=(0,d.curry)(((e,t,l)=>(0,d.mergeAll)([l,(0,d.pick)(e,t)]))),E=(0,d.curry)(((e,t,l)=>(l||[]).map((l=>(0,d.pipe)((0,d.prop)("id"),v(t),(0,d.defaultTo)({}),g(e,d.__,l))(l)))));var b=l(79692),x=l(64825);const O=(0,b.Z)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.cssTransforms":{transitionProperty:"transform"},"&.resizing":{zIndex:9,willChange:"width, height",pointerEvents:"none"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,x.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},w.apply(this,arguments)}function R(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const N=e=>{let{views:t,layout:l,layoutOptions:a,onLayoutChanged:r,draggableHandle:o,LayoutItem:p,onRemove:f,onDrop:g,droppingItem:b,isDroppable:x,classes:N}=e;const T=(0,n.useRef)(),S=O(),[C,A]=(0,n.useState)(null),[I,M]=(0,n.useState)(0),{cols:D,rowHeight:_,margin:F}=a,P=(0,n.useMemo)((()=>(e=>(e||[]).map(m))(l)),[l]),z=(0,d.pipe)(y,E(["autosizing"],l),r),j=(0,n.useCallback)((e=>A((t=>t?null:e))),[]),L=null!==C,B=(0,n.useCallback)(((e,t)=>{let n=!1;const i=l.map((l=>{if(l.id===t&&e){const t=((e,t)=>{const{margin:l,rowHeight:a}=t;return Math.ceil((e+l[1])/(a+l[1]))})(e,a);if(l.height!==t)return n=!0,function(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){R(e,t,l[t])}))}return e}({},l,{minHeight:t,maxHeight:t,height:t})}return l}));n&&r(i)}),[l,a,r]);return i().createElement(i().Fragment,null,i().createElement(s.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>M(e)}),i().createElement(c(),{innerRef:T,layout:P,cols:D,draggableHandle:o,autoSize:!0,rowHeight:_,width:I,margin:F,onLayoutChange:z,isResizable:!L,isDraggable:!L,className:u()(S.gridLayout,{[S.gridFullscreen]:L}),onDrop:(e,t,l)=>{g&&g(y(e),h(t),l)},droppingItem:b,isDroppable:x},P.map((e=>{const a=C===e.i,r=(v(l,e.i)||{}).autosizing?{AutosizeComponent:(n=e.i,i().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>{B(t,n)}}))}:{};var n;return i().createElement(p,w({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:j,onRemove:f,className:u()({fullscreen:a},N.item),isFullscreen:a},r))}))))};N.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:d.identity,onLayoutChanged:d.identity,classes:{}},N.propTypes={views:r().array,layout:r().array,layoutOptions:r().object,onConfigChanged:r().func,onLayoutChanged:r().func,onDrop:r().func,onRemove:r().func,LayoutItem:r().elementType,draggableHandle:r().string,isDroppable:r().bool,droppingItem:r().object,classes:r().shape({item:r().string})};const T=(0,n.memo)(N)},21210:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(89810),r=l(64825),n=l(24328),i=l.n(n),o=l(52730),c=l(42639);const s=e=>{let{sourceType:t,className:l,classes:n}=e;const s=(0,o.useSelector)(a.ZP.selectors.getMetadata),{label:d,icon:p}=(0,r.PWK)(s,t);return i().createElement(c.Z,{className:l,avatarText:d[0],icon:p?(0,r.vPL)("https://s3.amazonaws.com/reltio.images/api",p):null,variant:"square",rootClasses:n})}},39878:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(64825),i=l(17440);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 c(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const s=e=>{const t=t=>{let{data:l}=t,s=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}(t,["data"]);const d=(0,a.useMemo)((()=>l&&(e=>{const t=(0,n.QK6)((0,i.pluck)("value",e),1);return e.map(((e,l)=>function(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){c(e,t,l[t])}))}return e}({},e,{percent:t[l]})))})(l)),[l]);return r().createElement(e,o({data:d},s))};return t.displayName="WithPercents",t}},59383:(e,t,l)=>{l.d(t,{d:()=>r});const a=(0,l(79692).Z)({clickable:{cursor:"pointer"}}),r=e=>{const t=a();return e?t.clickable:void 0}},11326:(e,t,l)=>{l.d(t,{a:()=>r});var a=l(24328);const r=e=>{const[t,l]=(0,a.useState)(!1),[r,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{e().then((e=>{n(e||{})})).then((e=>l(!0))).catch((e=>l(!0)))}),[]),{isLoaded:t,savedState:r}}},43129:(e,t,l)=>{l.d(t,{Z:()=>o});var a=l(24328),r=l.n(a),n=l(67358);const i=(0,l(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),o=()=>{const e=i();return r().createElement(n.Z,{color:"secondary",className:e.loader})}},5336:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(87918),i=l.n(n),o=l(90436);function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",c({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg2791016623a)"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#0072CE",fillOpacity:".1"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().createElement("path",{opacity:".9",d:"M16.766 26.021a4.626 4.626 0 014.623-4.63h129.406a4.623 4.623 0 014.623 4.63v88.107a4.625 4.625 0 01-4.623 4.631H21.389a4.623 4.623 0 01-4.623-4.631V26.021z"})),r().createElement("path",{opacity:".5",d:"M141.553 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 46.313a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 01-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 46.19h37.054a2.029 2.029 0 010 4.057H47.102a2.028 2.028 0 110-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 53.725h67.006a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 58.941h21.62a.87.87 0 010 1.74h-21.62a.87.87 0 110-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M71.35 30.664H31.508a3.188 3.188 0 100 6.375H71.35a3.188 3.188 0 000-6.375z",fill:"#645F6D"}),r().createElement("path",{opacity:".5",d:"M141.553 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.318 2.315 2.315 0 002.311 2.319zM133.465 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.318 2.314 2.314 0 002.311 2.319z",fill:"#6DBCFF"}),r().createElement("path",{d:"M39.297 73.824a5.488 5.488 0 10-10.977 0v.035a5.488 5.488 0 0010.977 0v-.035z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 68.214h43.894a2.029 2.029 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 75.748h74.516a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 80.965h60.077a.87.87 0 010 1.739H45.943a.87.87 0 010-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M141.553 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 90.36a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 11-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 90.237h58.915a2.028 2.028 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 97.772h49.096a1.449 1.449 0 110 2.897H46.524a1.448 1.448 0 110-2.897z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 102.988h21.62a.87.87 0 010 1.739h-21.62a.87.87 0 110-1.739z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M102.927 64.75l44.536 77.139-58.989 34.057-44.536-77.14.405-.234c4.06 9.263 12.074 16.712 22.462 19.616 18.103 5.059 36.562-5.599 41.232-23.805 2.679-10.449.235-21.113-5.757-29.26l.647-.374z",fill:"url(#nodata__paint1_linear)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"url(#nodata__paint2_linear)"}),r().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M74.981 49.719c19.06 0 34.512 15.462 34.512 34.536a34.418 34.418 0 01-8.665 22.886l29.603 29.623a51.708 51.708 0 01-5.837 5.43l-29.705-29.725a34.338 34.338 0 01-19.908 6.322c-19.06 0-34.512-15.462-34.512-34.536S55.92 49.719 74.98 49.719zm0 10.265c-13.395 0-24.254 10.866-24.254 24.27 0 13.405 10.859 24.272 24.254 24.272 13.395 0 24.254-10.867 24.254-24.271S88.376 59.984 74.981 59.984z",fill:"#B5C8C9"}),r().createElement("path",{d:"M52.903 110.801c-7.598-6.335-12.434-15.876-12.434-26.546 0-19.074 15.451-34.536 34.512-34.536 10.663 0 20.197 4.839 26.528 12.442l-5.662 5.667c-4.862-6.175-12.401-10.14-20.866-10.14-14.662 0-26.548 11.895-26.548 26.567 0 8.47 3.962 16.015 10.132 20.88l-5.662 5.666z",fill:"#fff",fillOpacity:".4"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"#D9F5FF"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#000",fillOpacity:".87"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},d=(0,l(79692).Z)((()=>({noDataContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),p=e=>{let{height:t}=e;const l=d({height:t});return r().createElement("div",{className:l.noDataContainer},r().createElement(s,{className:l.icon}),r().createElement(o.Z,null,i().text("No Data")))}},65298:(e,t,l)=>{l.d(t,{Z:()=>c});var a=l(24328),r=l.n(a),n=l(1730),i=l(52388);const o=(0,l(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),c=e=>{let{id:t,children:l}=e;const a=o();return r().createElement(i.H.Provider,{value:t},r().createElement(n.Z,{className:a.view},l))}},52388:(e,t,l)=>{l.d(t,{H:()=>r});var a=l(24328);const r=l.n(a)().createContext(null);r.displayName="DashboardViewIdContext"},5260:(e,t,l)=>{let a;l.d(t,{o:()=>a}),function(e){e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(a||(a={}))},64662:(e,t,l)=>{l.r(t),l.d(t,{default:()=>Nn});var a=l(24328),r=l.n(a),n=l(52730),i=l(33016),o=l(36138),c=l(64825),s=l(17440),d=l(87918),p=l.n(d),u=l(11326),f=l(7907),m=l(79002),h=l(89810),y=l(5260);const v=e=>{const[t,l]=(0,a.useState)(null);return(0,a.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 l(t)})).catch((()=>l(null)))}),[e]),t};var g=l(90436),E=l(79692);const b=(0,E.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"}}),x=e=>{let{title:t,children:l}=e;const a=b();return r().createElement("div",{className:a.root},r().createElement(g.Z,{variant:"body2",className:a.title},t),r().createElement("div",{className:a.content},l))};var O=l(17822);let w;!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"}(w||(w={}));var R=l(73487),N=l(78223),T=l(39878);const S=(e,t,l)=>({attributes:(t||[]).map(((t,a)=>{let{filter:r,fieldName:n,values:i}=t;return{data:{uri:null==l?void 0:l.uri,entityTypeUri:e,fieldName:n},filter:r,id:`attribute_${a}`,operator:"and",values:i}})),entityTypes:[e],id:"group",operator:"or"});let C,A;!function(e){e.STRING="string",e.FLOAT="float",e.INTEGER="integer",e.BOOLEAN="boolean",e.DATE="date",e.SSN="SSN",e.UNKNOWN="unknown"}(C||(C={})),function(e){e.ENTITY_TYPE="entityType",e.ATTRIBUTE_TYPE="attributeType"}(A||(A={}));const I={[A.ATTRIBUTE_TYPE]:[{id:"FillRateView",type:w.FILL_RATE_CHART,title:"Fill rate"},{id:"UniquenessAnalysisView",type:w.UNIQUENESS_CHART,title:p().text("Uniqueness analysis")},{id:"SummaryView",type:w.SUMMARY,title:p().text("Summary")},{id:"ValidationView",type:w.VALIDATION,title:p().text("Profiles with invalid data")},{id:"FrequencyAnalysis",type:w.FREQUENCY,title:p().text("Frequency analysis")},{id:"LengthStatistics",type:w.LENGTH,title:p().text("Length statistics")},{id:"PatternAnalysis",type:w.PATTERN,title:p().text("Pattern analysis")},{id:"CrosswalkAnalysis",type:w.CROSSWALK,title:p().text("Source system analysis")},{id:"MonthDistribution",type:w.MONTH_DISTRIBUTION,title:p().text("Month distribution")},{id:"DayOfWeekDistribution",type:w.DAY_OF_WEEK_DISTRIBUTION,title:p().text("Day of week distribution")},{id:"DayOfMonthDistribution",type:w.DAY_OF_MONTH_DISTRIBUTION,title:p().text("Day of month distribution")},{id:"ValueDistribution",type:w.VALUE_DISTRIBUTION,title:p().text("Value distribution")},{id:"UnsupportedDataType",type:w.UNSUPPORTED,title:p().text("Unsupported Data Type")}],[A.ENTITY_TYPE]:[{id:"SummaryView",type:w.SUMMARY,title:p().text("Summary")}]},M={[A.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"}],[C.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"}],[C.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"}],[C.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"}],[C.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"}],[C.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 D(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){_(e,t,l[t])}))}return e}function _(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const F=(0,s.map)((e=>D({},e,{localizedValue:p().number(e.value)}))),P=e=>(0,s.isNil)(e)?"":`(${e}%)`,z=e=>(0,s.isEmpty)(e)||!e.find((e=>{let{value:t}=e;return t>0})),j=(0,s.curry)(((e,t,l)=>({advanced:[S(t,l.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"}))),L=e=>t=>{let{detailedAttributeType:l,entityTypeUri:a,dvfs:r}=t;return(0,s.pipe)(e({fieldName:l.fieldName,entityTypeUri:a,dvfs:r}),j(l,a))},B=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 C.STRING;case c.oS0.TYPE_COUNT:case c.oS0.TYPE_DOLLAR:case c.oS0.TYPE_INT:case c.oS0.TYPE_LONG:return C.INTEGER;case c.oS0.TYPE_FLOAT:case c.oS0.TYPE_DOUBLE:case c.oS0.TYPE_NUMBER:return C.FLOAT;case c.oS0.TYPE_BOOLEAN:case c.oS0.TYPE_RDM_LOOKUPS_NOT_RESOLVED:return C.BOOLEAN;case c.oS0.TYPE_ACTIVENESS_DATE:case c.oS0.TYPE_DATE:case c.oS0.TYPE_LOCAL_DATE:case c.oS0.TYPE_TIMESTAMP:return C.DATE;case c.oS0.TYPE_SSN:return C.SSN;default:return C.UNKNOWN}},k=e=>{let{percent:t,value:l}=e;return D({width:`${t}%`},l>0&&{minWidth:"3px"})},U=(0,s.pipe)((0,s.pluck)("percent"),(e=>Math.max(...e)));var V=l(71153),H=l.n(V);const Z=(0,E.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}}),G=e=>{let{payload:t}=e;const l=Z();return r().createElement("div",{className:H()(l.wrapper)},t.map((e=>r().createElement("div",{key:e.id,className:l.item},r().createElement("div",{style:{background:e.color},className:l.itemColor}),e.value))))},Y=(0,E.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 W(){return W=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},W.apply(this,arguments)}const q=(0,a.forwardRef)(((e,t)=>{let{className:l}=e,a=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"]);const n=Y();return r().createElement("div",W({className:H()(n.bar,l)},a,{ref:t}))}));q.displayName="Bar";const $=q,Q=(0,E.Z)({label:{whiteSpace:"nowrap",paddingRight:"9px"},infoDataLabel:{fontWeight:700},chartDataLabel:{color:"rgba(255, 255, 255, 0.75)"}}),K=e=>{let{label:t,value:l}=e;const a=Q();return r().createElement(r().Fragment,null,t&&r().createElement("span",{className:H()(a.label,a.chartDataLabel)},t),l)},X=(0,E.Z)({tooltipWrapper:{fontSize:"10px",fontWeight:400,lineHeight:"12px",color:"#FFFFFF"},title:{padding:"2px 0"},row:{padding:"2px 0"}}),J=e=>{let{data:t,title:l,DataRenderer:a=K}=e;const n=X();return r().createElement("div",{className:n.tooltipWrapper},l&&r().createElement("div",{className:n.title},l),t.map(((e,t)=>r().createElement("div",{key:t,className:n.row},r().createElement(a,e)))))};function ee(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){te(e,t,l[t])}))}return e}function te(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const le=(0,N.Z)($),ae=e=>{let{label:t,value:l,percent:a}=e;return[{label:t,value:`${p().number(l)} ${P(a)}`}]},re=(0,T.Z)((e=>{let{data:t,colors:l,onItemClick:a}=e;const n=Y(),i=a&&(e=>a(e)),o=!!a;return r().createElement("div",{className:n.root},r().createElement("div",{className:n.stackedBar},t.map(((e,t)=>r().createElement(le,{className:o&&n.clickable,key:e.label,tooltipTitle:r().createElement(J,{data:ae(e)}),style:ee({},k(e),{background:l[t]}),onClick:()=>i(e.group)})))),r().createElement("div",{className:n.legendWrapper},r().createElement(R.De,{layout:"vertical",align:"left",verticalAlign:"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"100%",maxWidth:"100%"},content:r().createElement(G,null),payload:(t||[]).map(((e,t)=>{let{group:a,label:i,value:o,percent:s}=e;return{id:a,type:"square",color:l[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 ne=l(17998),ie=l(39475),oe=l(82726);const ce=(0,E.Z)((()=>({root:{padding:"0px 16px"},title:{fontSize:"16px",marginRight:"5px",lineHeight:"24px"},infoIcon:{position:"relative"}}))),se=e=>{let{title:t,infoTooltipTitle:l,children:a}=e;const n=ce(!!a),i=!!l;return r().createElement(ne.Z,{title:t,className:n.root,classes:{title:n.title}},i&&r().createElement(ie.k,{icon:oe.Z,size:"XXS",tooltipTitle:l,className:n.infoIcon}),a)};var de=l(44443),pe=l(7882),ue=l(82068),fe=l(43129);function me(){return me=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},me.apply(this,arguments)}const he=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",me({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg3921418370a",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(#svg3921418370a)"},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:"dq_error_paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"}))))};function ye(){return ye=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},ye.apply(this,arguments)}const ve=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",ye({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),r().createElement("mask",{id:"svg3012965951a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),r().createElement("g",{mask:"url(#svg3012965951a)"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.094h88V88H0V3.094z",fill:"url(#paint0_linear_3488_10676)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M14.975 15.469H93.4v60.663H14.975V15.47z",fillOpacity:".8"}),r().createElement("path",{d:"M9.969 15.472a2.75 2.75 0 012.749-2.753h76.944a2.749 2.749 0 012.749 2.753V67.86a2.75 2.75 0 01-2.749 2.754H12.718a2.749 2.749 0 01-2.75-2.754V15.472z"})),r().createElement("ellipse",{opacity:".5",cx:"84.166",cy:"28.916",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("ellipse",{opacity:".5",cx:"79.357",cy:"28.916",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.839 30.81a3.272 3.272 0 013.263-3.273 3.272 3.272 0 013.264 3.274 3.272 3.272 0 01-3.264 3.274 3.272 3.272 0 01-3.263-3.274z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 28.67c0-.666.54-1.206 1.207-1.206h22.032a1.206 1.206 0 010 2.413H28.007c-.667 0-1.207-.54-1.207-1.206z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 32.806c0-.476.386-.862.862-.862h39.842a.862.862 0 010 1.723H27.662a.862.862 0 01-.861-.861z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 35.563c0-.286.232-.517.517-.517h12.855a.517.517 0 110 1.034H27.318a.517.517 0 01-.518-.517z",fill:"#B1AABD"}),r().createElement("rect",{opacity:".5",x:"16.839",y:"18.232",width:"27.481",height:"3.791",rx:"1.895",fill:"#645F6D"}),r().createElement("ellipse",{opacity:".5",cx:"84.166",cy:"42.011",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("ellipse",{opacity:".5",cx:"79.357",cy:"42.011",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("rect",{x:"16.839",y:"40.632",width:"6.527",height:"6.548",rx:"3.263",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 41.766c0-.666.54-1.206 1.207-1.206h26.099a1.206 1.206 0 110 2.412h-26.1c-.666 0-1.206-.54-1.206-1.206z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 45.901c0-.476.386-.861.862-.861H71.97a.861.861 0 110 1.723H27.662a.862.862 0 01-.861-.862z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 48.658c0-.285.232-.517.517-.517H63.04a.517.517 0 010 1.034H27.318a.517.517 0 01-.518-.517z",fill:"#B1AABD"}),r().createElement("ellipse",{opacity:".5",cx:"84.166",cy:"55.106",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("ellipse",{opacity:".5",cx:"79.357",cy:"55.106",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.839 57.001a3.272 3.272 0 013.263-3.273A3.272 3.272 0 0123.366 57a3.272 3.272 0 01-3.264 3.274 3.272 3.272 0 01-3.263-3.274z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 54.86c0-.665.54-1.205 1.207-1.205h35.03a1.206 1.206 0 110 2.412h-35.03c-.667 0-1.207-.54-1.207-1.206z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 58.996c0-.476.386-.861.862-.861h29.193a.861.861 0 110 1.723H27.662a.862.862 0 01-.861-.862z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 61.753c0-.285.232-.517.517-.517h12.855a.517.517 0 010 1.034H27.318a.517.517 0 01-.518-.517z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M64.238 56.12a19.717 19.717 0 01-24.516 14.154c-6.177-1.727-10.942-6.156-13.356-11.663l-.241.14 26.481 45.866 35.075-20.25L61.2 38.5l-.385.222c3.563 4.844 5.016 11.185 3.423 17.398z",fill:"url(#paint1_linear_3488_10676)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M33.506 61.612a15.576 15.576 0 0022.363 0c6.175-6.31 6.175-16.54 0-22.849a15.576 15.576 0 00-22.363 0c-6.175 6.31-6.175 16.54 0 22.849z",fill:"url(#paint2_linear_3488_10676)"}),r().createElement("g",{filter:"url(#filter0_d_3488_10676)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M65.104 50.097c0 5.22-1.946 9.985-5.152 13.608L77.553 81.32a30.71 30.71 0 01-3.47 3.229L56.42 66.874a20.417 20.417 0 01-11.838 3.759c-11.333 0-20.52-9.194-20.52-20.535 0-11.342 9.187-20.535 20.52-20.535 11.334 0 20.521 9.193 20.521 20.534zm-6.1 0c0 7.97-6.456 14.432-14.42 14.432-7.965 0-14.422-6.461-14.422-14.431 0-7.97 6.457-14.432 14.421-14.432 7.965 0 14.422 6.461 14.422 14.431z",fill:"#B5C8C9"}),r().createElement("path",{d:"M31.456 65.882c-4.518-3.767-7.393-9.44-7.393-15.785 0-11.34 9.187-20.535 20.52-20.535 6.34 0 12.01 2.878 15.773 7.399L56.99 40.33A15.753 15.753 0 0044.583 34.3c-8.718 0-15.785 7.072-15.785 15.796 0 5.037 2.356 9.523 6.024 12.416l-3.366 3.369z",fill:"#fff",fillOpacity:".4"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.506 61.612a15.576 15.576 0 0022.363 0c6.175-6.31 6.175-16.54 0-22.849a15.576 15.576 0 00-22.363 0c-6.175 6.31-6.175 16.54 0 22.849z",fill:"#D9F5FF"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.586 54.565c0-1.35.152-2.416.458-3.198.305-.781.8-1.46 1.484-2.033.685-.573 1.205-1.098 1.561-1.575a2.57 2.57 0 00.534-1.574c0-1.397-.6-2.096-1.803-2.096-.555 0-1.004.204-1.346.611-.343.407-.523.957-.541 1.651h-4.69c.018-1.85.6-3.29 1.748-4.322 1.147-1.031 2.757-1.547 4.829-1.547 2.062 0 3.66.476 4.794 1.43 1.133.952 1.7 2.307 1.7 4.065 0 .767-.153 1.466-.459 2.095-.305.629-.795 1.272-1.47 1.928l-1.596 1.485c-.453.435-.768.881-.944 1.339-.175.458-.273 1.038-.291 1.741h-3.968zm-.57 4.218c0-.684.248-1.246.743-1.685.495-.44 1.112-.66 1.852-.66s1.358.22 1.853.66c.495.439.742 1.001.742 1.685 0 .685-.247 1.247-.742 1.686-.495.44-1.112.66-1.853.66-.74 0-1.357-.22-1.852-.66-.495-.439-.742-1.001-.742-1.686z",fill:"#000",fillOpacity:".871"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.586 54.565c0-1.35.152-2.416.458-3.198.305-.781.8-1.46 1.484-2.033.685-.573 1.205-1.098 1.561-1.575a2.57 2.57 0 00.534-1.574c0-1.397-.6-2.096-1.803-2.096-.555 0-1.004.204-1.346.611-.343.407-.523.957-.541 1.651h-4.69c.018-1.85.6-3.29 1.748-4.322 1.147-1.031 2.757-1.547 4.829-1.547 2.062 0 3.66.476 4.794 1.43 1.133.952 1.7 2.307 1.7 4.065 0 .767-.153 1.466-.459 2.095-.305.629-.795 1.272-1.47 1.928l-1.596 1.485c-.453.435-.768.881-.944 1.339-.175.458-.273 1.038-.291 1.741h-3.968zm-.57 4.218c0-.684.248-1.246.743-1.685.495-.44 1.112-.66 1.852-.66s1.358.22 1.853.66c.495.439.742 1.001.742 1.685 0 .685-.247 1.247-.742 1.686-.495.44-1.112.66-1.853.66-.74 0-1.357-.22-1.852-.66-.495-.439-.742-1.001-.742-1.686z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear_3488_10676",x1:"0",y1:"3.094",x2:"0",y2:"88",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear_3488_10676",x1:"80.612",y1:"63.908",x2:"46.465",y2:"59.596",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:".01"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"paint2_linear_3488_10676",x1:"28.875",y1:"34.031",x2:"28.875",y2:"66.344",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"filter0_d_3488_10676",x:"20.063",y:"27.563",width:"61.491",height:"62.985",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",result:"hardAlpha"}),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_3488_10676"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3488_10676",result:"shape"}))))};var ge=l(77277),Ee=l(43266);const be=(0,E.Z)((e=>({container:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",padding:0,"&>svg":{paddingTop:0,height:t>=170?"88px":"40px",width:t>=170?"88px":"40px",marginBottom:"14px"}}},errorMessage:{padding:"0 24px",fontSize:"12px",textAlign:"center",whiteSpace:"pre-wrap"},errorTitle:{padding:"0 24px",fontSize:"13px",textAlign:"center",color:"rgba(0,0,0,0.87)",whiteSpace:"pre-wrap"},refreshButton:{color:e.palette.primary.main},refreshIcon:{width:"24px",height:"24px"}}))),xe=r().createElement(he,null),Oe=e=>{let{onRefresh:t,height:l,errorData:a={}}=e;const{icon:n=xe,message:i,title:o}=a,c=be({height:l});return r().createElement("div",{className:c.container},n,o&&r().createElement(g.Z,{className:c.errorTitle},o),i&&r().createElement(g.Z,{className:c.errorMessage},i),!!t&&r().createElement(ge.Z,{className:c.refreshButton,startIcon:r().createElement(Ee.Z,{color:"primary",className:c.refreshIcon}),onClick:t},r().createElement(g.Z,{variant:"button"},p().text("Refresh"))))},we=(0,E.Z)({container:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",padding:0,"&>svg":{paddingTop:0,height:t>=170?"88px":"32px",width:t>=170?"88px":"32px",marginBottom:"14px"}}},message:{padding:"0 24px",fontSize:"12px",textAlign:"center",whiteSpace:"pre-wrap"},title:{padding:"0 24px",fontSize:"13px",textAlign:"center",color:"rgba(0,0,0,0.87)",whiteSpace:"pre-wrap"}}),Re=r().createElement(ve,null),Ne=e=>{let{height:t,data:l={}}=e;const{icon:a=Re,message:n,title:i}=l,o=we({height:t});return r().createElement("div",{className:o.container},a,i&&r().createElement(g.Z,{className:o.title},i),n&&r().createElement(g.Z,{className:o.message},n))},Te=(0,E.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}}))),Se=e=>{let{loadingState:t,onRefresh:l,children:a,data:n,className:i}=e;const o=Te();return r().createElement(ue.Z,{className:H()(o.viewContent,i)},r().createElement(de.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:i,height:o}=e;switch(t){case y.o.LOADED:return n&&0!==n.length?r().createElement(pe.Z,{error:r().createElement(Oe,{errorData:{message:p().text("Something went wrong")},height:o})},a({data:n,width:i,height:o})):r().createElement(Ne,{height:o,data:{icon:r().createElement(ve,null),message:p().text("Go ahead and load some data. We’ll put it on the scales and let you know here if it measures up."),title:p().text("Give us something to go on!")}});case y.o.LOADING:return r().createElement(fe.Z,null);case y.o.ERROR:return r().createElement(Oe,{errorData:{icon:r().createElement(he,null),message:p().text("No need to fret - just refresh and it will work itself out."),title:p().text("Oops! We ran into a problem.")},height:o,onRefresh:l});default:return r().createElement("div",null,"Loading...")}})))};var Ce=l(1730);const Ae=(0,E.Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),Ie=e=>{let{config:t,children:l}=e;const a=Ae(),{type:n}=t;return r().createElement(Ce.Z,{className:a.view,"data-reltio-id":`reltio-dq-dashboard-chart-${n}`},l)},Me=e=>{let{label:t,value:l}=e;const a=Q();return r().createElement(r().Fragment,null,t&&r().createElement("span",{className:H()(a.label,a.infoDataLabel)},t),l)},De={[c.s9T.MISSING]:"#CE5C00",[c.s9T.EXISTS]:"#C4CE00"},_e=(0,s.map)((e=>{let{group:t}=e;return De[t]||(0,c.f4_)(t)})),Fe=e=>({[c.s9T.MISSING]:p().text("Missing"),[c.s9T.EXISTS]:p().text("Exists")}[e]||e),Pe=(0,s.pipe)(Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:Fe(t),group:t,value:l}})),(0,s.sortBy)((e=>Object.values(c.s9T).indexOf(e.group))),F),ze=e=>Object.keys(e).reduce(((t,l)=>(t[l]=Pe(e[l]),t)),{}),je=(0,s.propOr)({},"fillRate"),Le=(0,s.pipe)(je,Pe,(0,s.when)(z,(0,s.always)([])),(0,s.converge)(((e,t)=>({chartData:e,colors:t})),[s.identity,_e])),Be=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:t===c.s9T.EXISTS?c.j5E.EXISTS:c.j5E.MISSING_VALUE,fieldName:l}]})),ke=L(Be),Ue=r().createContext(null);Ue.displayName="ChartsDataContext";const Ve=e=>{const{data:t,state:l,reload:r}=(0,a.useContext)(Ue);return{data:(0,a.useMemo)((()=>e(t)),[t,e]),state:l,reload:r}},He=r().createContext(null);He.displayName="DetailedAttributeTypeContext";const Ze=r().createContext(null);Ze.displayName="EntityTypeContext";const Ge=e=>{const t=(0,n.useDispatch)(),l=(0,a.useContext)(He),r=(0,a.useContext)(Ze);return(0,s.pipe)(e({detailedAttributeType:l,entityTypeUri:r.uri}),h.ui.actions.openSearch,t)},Ye=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:n,reload:i}=Ve(Le),{chartData:o,colors:c}=a,s=Ge(ke),d=r().createElement(J,{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:Me});return r().createElement(Ie,{config:t},r().createElement(se,{title:l,infoTooltipTitle:d}),r().createElement(Se,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(re,{data:t,colors:c,onItemClick:s})})))},We={[c.dC6.UNIQUE]:"#4BAFFF",[c.dC6.NOT_UNIQUE]:"#C34980"},qe=(0,s.map)((e=>{let{group:t}=e;return We[t]||(0,c.f4_)(t)})),$e=e=>({[c.dC6.UNIQUE]:p().text("Unique"),[c.dC6.NOT_UNIQUE]:p().text("Not unique")}[e]||e),Qe=(0,s.pipe)(Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:$e(t),group:t,value:l}})),(0,s.sortBy)((e=>Object.values(c.dC6).indexOf(e.group))),F),Ke=(0,s.propOr)({},"uniqueness"),Xe=(0,s.pipe)(Ke,Qe,(0,s.when)(z,(0,s.always)([])),(0,s.converge)(((e,t)=>({chartData:e,colors:t})),[s.identity,qe])),Je=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:n,reload:i}=Ve(Xe),{chartData:o,colors:c}=a,s=r().createElement(J,{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:Me});return r().createElement(Ie,{config:t},r().createElement(se,{title:l,infoTooltipTitle:s}),r().createElement(Se,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(re,{data:t,colors:c})})))};var et=l(4614),tt=l(80030),lt=l(7089);const at=(e,t)=>(e||[]).some((0,s.propEq)("attribute",t)),rt=e=>[c.oS0.TYPE_FLOAT,c.oS0.TYPE_DOUBLE,c.oS0.TYPE_NUMBER].includes(e);let nt;function it(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){ot(e,t,l[t])}))}return e}function ot(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}!function(e){e.INCLUDED_IN_MATCHING="includedInMatching",e.REQUIRED="required",e.RDM_LOOKUP="RDMLookup",e.CONTAIN_VF="containVF",e.REFERENCE="reference"}(nt||(nt={}));const ct=(0,s.curry)(((e,t)=>e.every((e=>t.details[e.value])))),st=(0,s.curry)(((e,t)=>{var l;return ct(e,t)||(null===(l=t.children)||void 0===l?void 0:l.some((t=>st(e,t))))})),dt=(0,s.curry)(((e,t)=>{var l;const a=e[t.fieldName];return null==a||null===(l=a.find((0,s.propEq)("group",c.s9T.EXISTS)))||void 0===l?void 0:l.value})),pt=(0,s.curry)(((e,t)=>{var l;const a=e[t.fieldName];return!(null!=a&&null!==(l=a.find((0,s.propEq)("group",c.s9T.EXISTS)))&&void 0!==l&&l.value)})),ut=(0,s.curry)((function(e,t){var l;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=t.fieldName||(0,c.Tde)(t.uri,a);return pt(e,it({},t,{fieldName:r}))||(null===(l=t.children)||void 0===l?void 0:l.some((l=>ut(e,l,a.concat({name:t.name,label:t.label})))))})),ft=(0,s.curry)(((e,t)=>t.reduce(((t,l)=>{const a=((e,t)=>{var l;return null===(l=e.label||e.name)||void 0===l?void 0:l.toLowerCase().includes(t.toLowerCase())})(l,e),r=a?l.children||[]:ft(e,l.children||[]);return(a||r.length)&&t.push(Object.assign({},l,r.length&&{children:r})),t}),[])));function mt(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){ht(e,t,l[t])}))}return e}function ht(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const yt=e=>{let{attrTypeItem:t,dvf:l=[],matchAttributes:a=[]}=e;const{uri:r,required:n,isAttributeReference:i}=t;return{[nt.INCLUDED_IN_MATCHING]:a.includes(r),[nt.CONTAIN_VF]:at(l,r),[nt.REQUIRED]:!!n,[nt.RDM_LOOKUP]:(0,c.lS4)(t),[nt.REFERENCE]:i}},vt=e=>({[nt.INCLUDED_IN_MATCHING]:p().text("Included in matching"),[nt.CONTAIN_VF]:p().text("Has validation functions"),[nt.REQUIRED]:p().text("Required"),[nt.RDM_LOOKUP]:p().text("RDM"),[nt.REFERENCE]:p().text("Reference attribute")}[e]||e),gt=(0,s.curry)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return(0,s.pipe)((0,s.chain)((e=>{const r=e.children?gt(e.children,t.concat({name:e.name,label:e.label}),l||(0,c.YkG)(e),a+1):[];return[{attributeItem:mt({},e,{fieldName:(0,c.Tde)(e.uri,t),isAttributeReference:(0,c.YkG)(e)||l}),level:a},...r]})))(e)}));function Et(){return Et=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},Et.apply(this,arguments)}const bt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Et({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 xt(){return xt=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},xt.apply(this,arguments)}const Ot=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",xt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 wt(){return wt=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},wt.apply(this,arguments)}const Rt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",wt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Nt(){return Nt=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},Nt.apply(this,arguments)}const Tt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Nt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 St(){return St=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},St.apply(this,arguments)}const Ct=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",St({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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"}))},At=(0,E.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}},loading:{"& circle":{fill:"#AAAAAA"}},badQuality:{"& circle":{fill:"#FF1744"}}}),It={SMALL:{width:22,height:22},NORMAL:{width:24,height:24}};let Mt;!function(e){e.LOADING="loading",e.BAD_QUALITY="badQuality",e.NORMAL="normal"}(Mt||(Mt={}));const Dt=e=>{let{detailType:t,size:l=It.NORMAL,variant:a=Mt.NORMAL}=e;const n=At(l),i=H()(n.icon,n[a]);switch(t){case nt.RDM_LOOKUP:return r().createElement(Rt,{className:i});case nt.CONTAIN_VF:return r().createElement(bt,{className:i});case nt.INCLUDED_IN_MATCHING:return r().createElement(Ot,{className:i});case nt.REFERENCE:return r().createElement(Tt,{className:i});case nt.REQUIRED:return r().createElement(Ct,{className:i});default:return null}},_t=(0,E.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 Ft(){return Ft=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},Ft.apply(this,arguments)}function Pt(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){zt(e,t,l[t])}))}return e}function zt(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const jt=e=>{let{detailType:t,classes:l}=e,n=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,["detailType","classes"]);const i=_t(),{data:o,state:s}=(0,a.useContext)(Ue);let d=Mt.NORMAL;const p=s===y.o.LOADING,u=(e=>{var t;return 0===(null==e||null===(t=e.fillRate)||void 0===t?void 0:t[c.s9T.MISSING])})(o);return t===nt.REQUIRED&&(p&&(d=Mt.LOADING),p||u||(d=Mt.BAD_QUALITY)),r().createElement(lt.Z,Ft({classes:Pt({root:H()(i.root,{[i.badQuality]:t===nt.REQUIRED&&!p&&s!==y.o.INIT&&!u}),label:i.label},l),label:vt(t),icon:r().createElement(Dt,{detailType:t,variant:d})},n))},Lt=(0,E.Z)({root:{display:"flex",flexWrap:"wrap",flexGrow:1}}),Bt=e=>{let{details:t,chipClasses:l={}}=e;const a=Lt();return r().createElement("div",{className:a.root},Object.entries(t||{}).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return r().createElement(jt,{key:t,detailType:t,classes:l})})))},kt=(0,E.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"}}),Ut=e=>{let{title:t,children:l,className:a}=e;const n=kt();return r().createElement("div",{className:H()(n.info,a)},r().createElement("div",{className:n.infoTitle},t),r().createElement("div",{className:n.infoContent},l))};function Vt(){return Vt=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},Vt.apply(this,arguments)}const Ht=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Vt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Zt(){return Zt=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},Zt.apply(this,arguments)}const Gt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Zt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Yt(){return Yt=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},Yt.apply(this,arguments)}const Wt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Yt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 qt(){return qt=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},qt.apply(this,arguments)}const $t=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",qt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Qt(){return Qt=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},Qt.apply(this,arguments)}const Kt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Qt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Xt(){return Xt=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},Xt.apply(this,arguments)}const Jt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Xt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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"})))},el=(0,E.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}}}),tl={SMALL:{width:16,height:16},NORMAL:{width:24,height:24}},ll=e=>{let{type:t,size:l=tl.SMALL}=e;const a=el(l);switch(B(t)){case C.STRING:return r().createElement(Jt,{className:a.icon});case C.FLOAT:return r().createElement(Wt,{className:a.icon});case C.INTEGER:return r().createElement($t,{className:a.icon});case C.BOOLEAN:return r().createElement(Ht,{className:a.icon});case C.DATE:return r().createElement(Gt,{className:a.icon});case C.SSN:return r().createElement(Kt,{className:a.icon});default:return r().createElement(Jt,{className:a.icon})}},al=e=>{let{detailedAttributeType:t}=e;const l=kt(),n=(e=>{const[t,l]=(0,a.useState)(null),r=(0,a.useContext)(Ze);return(0,a.useEffect)((()=>{if(r.uri&&e){const t={filter:c.j5E.EXISTS,fieldName:e},a={filter:c.j5E.EQUALS,fieldName:"type",values:[r.uri]};l(null),(0,c.j_Q)([t,a]).then((e=>{let{total:t}=e;l(t)}))}}),[r.uri,e]),t})(t.fieldName),i=null===n?r().createElement(et.Z,{size:"24",className:l.totalLoading}):(0,c.k7L)(n);return r().createElement("div",null,r().createElement("div",{className:l.header},r().createElement(Ut,{title:p().text("Profiles"),className:l.attributeTypeSummary},r().createElement(tt.ZP,{title:r().createElement(J,{data:[{label:p().text("Entities with exists attribute"),value:p().number(n)}]})},r().createElement("div",null,i))),r().createElement(Ut,{title:p().text("Data type"),className:l.attributeTypeSummary},(o=t.type,r().createElement(r().Fragment,null,r().createElement("div",{className:l.attributeTypeIconWrapper},r().createElement(ll,{type:o,size:tl.NORMAL})),p().text(o))))),r().createElement(Bt,{details:t.details}));var o},rl=e=>{let{entityType:t}=e;const{data:l,state:i}=(0,a.useContext)(Ue),o=((e,t)=>{const l=t.attributes||[],a=t=>t.filter(c.Uty).filter((0,s.either)((0,s.prop)("label"),(0,s.prop)("name"))).reduce(((t,l)=>{const r=(0,c.EUG)(e,l);return null!=r&&r.length?[...t,l,...a(r)]:[...t,l]}),[]);return a(l).length})((0,n.useSelector)(h.ZP.selectors.getMetadata),t),{activeProfiles:d=0,inactiveProfiles:u=0,sourceSystems:f=0}=(null==l?void 0:l.summary)||{},m=e=>i===y.o.LOADING?r().createElement(et.Z,{size:"24",className:v.totalLoading}):p().number(e),v=kt();return r().createElement("div",{className:v.header},r().createElement(Ut,{title:p().text("Active profiles"),className:v.entitySummary},m(d)),r().createElement(Ut,{title:p().text("Inactive profiles"),className:v.entitySummary},m(u)),r().createElement(Ut,{title:p().text("Attributes"),className:v.entitySummary},p().number(o)),r().createElement(Ut,{title:p().text("Source systems"),className:v.entitySummary},m(f)))},nl=r().createContext(null);nl.displayName="DataLevelContext";const il=(0,E.Z)({content:{padding:"0 16px",marginTop:"4px"}}),ol=e=>{let{config:t}=e;const l=il(),n=(0,a.useContext)(He),i=(0,a.useContext)(nl),o=(0,a.useContext)(Ze),s=i===A.ATTRIBUTE_TYPE,d=s?(0,c.idV)(n.label):(0,c.idV)(o.label);return r().createElement(Ie,{config:t},r().createElement(se,{title:d}),r().createElement(ue.Z,{className:l.content},s?r().createElement(al,{detailedAttributeType:n}):r().createElement(rl,{entityType:o})))};var cl=l(65298);const sl=(0,E.Z)({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}});function dl(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){pl(e,t,l[t])}))}return e}function pl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const ul=r().createElement(he,null),fl=e=>{let{config:t,errorData:l,titleChildren:a,infoTooltipTitle:n,onRefresh:i}=e;const{id:o,title:c}=t,s=sl();return r().createElement(cl.Z,{id:o},r().createElement(se,{title:c,infoTooltipTitle:n},a),r().createElement(ue.Z,{className:s.viewContent},r().createElement(de.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},r().createElement(Oe,{errorData:dl({icon:ul},l),onRefresh:i}))))},ml=e=>{let{keyword:t,entityTypeUri:l}=e;return{keyword:{value:t,isRawFilter:!0},advanced:[S(l)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}},hl=e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return ml({keyword:`${c.j5E.EQUALS}(${t}, ${l})`,entityTypeUri:a})};function yl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const vl=e=>(0,s.pipe)((0,s.propOr)({},e),Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),F),gl=e=>{let{sortDirection:t,sortField:l}=e;return(e,a)=>"asc"===t?e[l]>a[l]?1:-1:e[l]<a[l]?1:-1},El=(0,s.curry)(((e,t)=>t.filter((t=>e.find((0,s.propEq)("uri",t.group)))).map((t=>{const l=e.find((0,s.propEq)("uri",t.group)).name;return function(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){yl(e,t,l[t])}))}return e}({},t,{label:l,group:l})})))),bl=vl("frequency"),xl=vl("pattern"),Ol=e=>[{filter:c.j5E.EQUALS,values:[[e]],fieldName:"analyticsAttributes.AttributeValidations.FunctionName"}],wl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}`,value:t,entityTypeUri:a})})),Rl=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:c.j5E.ON,values:[t],fieldName:l}]})),Nl=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:c.j5E.EQUALS,values:[[t]],fieldName:l}]})),Tl=e=>{let{detailedAttributeType:t,entityTypeUri:l}=e;return(0,s.cond)([[c.j5n,(0,s.always)(wl)],[c.Lt4,(0,s.always)(L(Rl))],[s.identity,(0,s.always)(L(Nl))]])(t.type)({detailedAttributeType:t,entityTypeUri:l,dvfs:[]})},Sl=L((()=>Ol)),Cl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.pattern`,value:`"${t}"`,entityTypeUri:a})}));var Al=l(79573),Il=l(45108),Ml=l(92332),Dl=l(83088);const _l=(0,s.pipe)((0,s.split)("|"),(e=>{let[t,l]=e;return{label:t,percent:l}})),Fl={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"},Pl=(0,E.Z)((e=>({colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",padding:"5px 0 6px",height:"100%",boxSizing:"border-box","&>span>div":{opacity:1,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:{height:"100%",lineHeight:"47px","&>div":{padding:"0 10px 0 16px",display:"flex"},"&>div>span":{width:"100%",flexGrow:1,justifyContent:e=>e?"flex-start":"flex-end",flexDirection:e=>e?"row":"row-reverse",marginLeft:e=>e&&"auto!important"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",whiteSpace:"nowrap",overflow:"hidden","&:after":Fl},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":Fl},tooltipValue:{whiteSpace:"pre-wrap"}})));function zl(){return zl=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},zl.apply(this,arguments)}function jl(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){Ll(e,t,l[t])}))}return e}function Ll(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Bl=e=>{let{className:t,headCellData:l,headIndex:a}=e,n=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","headCellData","headIndex"]);const i=Pl(!a),{label:o,percent:c}=_l(l.label),s=!!c,d=r().createElement(Dl.C,{value:o},r().createElement("div",{className:i.headLabel},o));return r().createElement("div",{className:H()(i.headCell,t)},r().createElement(Ml.default,zl({},n,{headCellData:jl({},l,{label:s?r().createElement("div",{className:i.labelPercantageWrapper},r().createElement("div",{className:i.labelWrapper},d),r().createElement("div",{className:i.percentsWrapper},r().createElement("span",{className:i.percentLabel},"0%"),r().createElement("span",{className:i.percentLabel},c,"%"))):d})})))};var kl=l(59383),Ul=l(30488);const Vl=(0,Ul.Z)(((e,t)=>{let{onItemClick:l}=e,{rowValue:{group:a}}=t;return{onClick:l&&(()=>{l(a)})}}))((e=>{let{value:t="",columnData:l,rowValue:a,onClick:n}=e;const{attributeCellClassName:i,LabelRenderer:o}=l,s=Pl(),d=(0,kl.d)(n),p=r().createElement("div",{className:s.tooltipValue},t),u=!!o;return r().createElement(Dl.C,{value:p},r().createElement("div",{className:H()(s.attribute,d,i),onClick:n},u?r().createElement(o,{chartData:a}):c.P6Y.strings.removeLineBreaks(t)))}));var Hl=l(89902);const Zl=(0,N.Z)((e=>{let{value:t,maxValue:l,className:a}=e;return r().createElement(Hl.Z,{width:t,maxWidth:l,className:a})})),Gl=(0,Ul.Z)(((e,t)=>{let{onItemClick:l,valueHeader:a,labelHeader:r}=e,{rowValue:{group:n}}=t;return{onClick:l&&(()=>{l(n)}),valueHeader:a,labelHeader:r}}))((e=>{let{value:t,columnData:{maxValue:l},rowValue:{percent:a,label:n},labelHeader:i,valueHeader:o,onClick:d}=e;const u=Pl(),f=(0,kl.d)(d),m=r().createElement("span",{className:u.tooltipValue},n),h=0===t?"0":`${(0,c.k7L)(t,999)} ${P(a)}`,y=r().createElement(J,{data:[{label:i,value:m},{label:o,value:`${p().number(t)} ${P(a)}`}]});return r().createElement("div",{className:H()(u.numberContainer,f),onClick:d},r().createElement(g.Z,{className:u.numberWhithPercent},h),!(0,s.isNil)(l)&&r().createElement("div",{className:u.colorBarContainer},r().createElement(Zl,{value:t,maxValue:l,tooltipTitle:y,className:u.bar,showForDisabled:!0})))})),Yl=(0,E.Z)({tableContainer:e=>{let{width:t,height:l}=e;return{height:l,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none!important"}});function Wl(){return Wl=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},Wl.apply(this,arguments)}const ql=e=>{let{width:t,height:l,data:n,options:i={},basicTableRef:o,onItemClick:c,labelCellClassName:s}=e,d=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,["width","height","data","options","basicTableRef","onItemClick","labelCellClassName"]);const u=Yl({width:t,height:l}),{headers:[f,m]=[],showCountLabels:h=!1,showValues:y=!0,sortable:v=!1,LabelRenderer:g}=i,E=(0,a.useMemo)((()=>({cellBorder:u.cellBorder})),[u]),b=(0,a.useMemo)((()=>Math.max(...n.map((e=>e.value)))),[n]),x=(0,a.useMemo)((()=>{const e=U(n),t=m||p().text("No of Profiles");return e?t.concat(`|${e}`):t}),[n,m]),O=h?`${f} (${n.length})`:f,w=(0,a.useMemo)((()=>[{id:"label",label:O,resizable:!1,headCellRenderer:Bl,attributeCellClassName:s,rowCellValueRenderer:Vl,initialWidth:.4*t,sortable:v,LabelRenderer:g},...y?[{id:"value",label:x,resizable:!1,headCellRenderer:Bl,rowCellValueRenderer:Gl,maxValue:b,initialWidth:.6*t,sortable:v}]:[]]),[x,b,t,f,y]),R=(0,a.useMemo)((()=>({onItemClick:c,labelHeader:f,valueHeader:m})),[c,f,m]);return r().createElement("div",{className:u.tableContainer},r().createElement(Il.Z,Wl({columnsData:w,rowsData:n,headRowHeight:48,getRowCellHeight:()=>28,classes:E,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:o,context:R},d)))},$l=(0,E.Z)((()=>({layoutItemContent:{padding:"0 0 10px"}}))),Ql=(0,T.Z)((e=>{let{config:t,data:l,title:n,headers:i,infoTooltipTitle:o,customComparator:c,onItemClick:s,titleChildren:d,state:p,onRefresh:u,labelCellClassName:f,showCountLabels:m,LabelRenderer:h}=e;const y=$l(),[v,g]=(0,a.useState)("desc"),[E,b]=(0,a.useState)("value"),x=(0,a.useCallback)(((e,t)=>c?c({sortDirection:v,sortField:E})(e,t):gl({sortDirection:v,sortField:E})(e,t)),[v,E]),O=e=>{g((()=>E===e?(0,Al.Dh)(v):v)),b(e)},w=(0,a.useMemo)((()=>[...l.sort(x)]),[x,l]);return r().createElement("div",null,r().createElement(Ie,{config:t},r().createElement(se,{title:n,infoTooltipTitle:o},d),r().createElement(Se,{className:y.layoutItemContent,data:w,loadingState:p,onRefresh:u},(e=>{let{data:t,width:l=0,height:a=0}=e;return r().createElement(ql,{data:t,width:l,height:a,options:{headers:i,sortable:!!c,showCountLabels:m,LabelRenderer:h},sorting:{field:E,order:v},onSort:O,onItemClick:s,labelCellClassName:f})}))))})),Kl=r().createContext(null);Kl.displayName="DVFContext";var Xl=l(86689);function Jl(){return Jl=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},Jl.apply(this,arguments)}const ea=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Jl({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),r().createElement("mask",{id:"svg1830866123a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),r().createElement("g",{mask:"url(#svg1830866123a)"},r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{d:"M12.375 18.688a7 7 0 017-7h75.742a7 7 0 017 7v49.02a7 7 0 01-7 7H19.375a7 7 0 01-7-7v-49.02z"}),r().createElement("path",{opacity:".4",d:"M16.844 22.813a7 7 0 017-7h75.741a7 7 0 017 7v49.02a7 7 0 01-7 7H23.844a7 7 0 01-7-7v-49.02z"})),r().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"29.318",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 31.381a3.562 3.562 0 013.552-3.563 3.562 3.562 0 013.552 3.563 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 29.052c0-.726.588-1.313 1.313-1.313h23.983a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 33.553c0-.518.42-.938.938-.938h43.37a.938.938 0 010 1.876h-43.37a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 36.554c0-.31.252-.563.563-.563h13.993a.563.563 0 110 1.126H31.26a.563.563 0 01-.563-.563z",fill:"#B1AABD"}),r().createElement("rect",{opacity:".5",x:"19.854",y:"17.689",width:"29.914",height:"4.126",rx:"2.063",fill:"#645F6D"}),r().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"43.573",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),r().createElement("rect",{x:"19.854",y:"42.072",width:"7.105",height:"7.127",rx:"3.552",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 43.306c0-.725.588-1.313 1.313-1.313h28.41a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 47.808c0-.518.42-.938.938-.938h48.23a.938.938 0 110 1.876h-48.23a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 50.809c0-.31.252-.563.563-.563h38.884a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),r().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"57.828",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 59.891a3.562 3.562 0 013.552-3.564 3.562 3.562 0 013.552 3.564 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 57.561c0-.725.588-1.313 1.313-1.313h38.132a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 62.063c0-.518.42-.938.938-.938h31.778a.938.938 0 110 1.875H31.635a.938.938 0 01-.938-.937z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 65.064c0-.311.252-.563.563-.563h13.993a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.094h88V88H0V3.094z",fill:"url(#paint0_linear_3200_4362)"}),r().createElement("path",{d:"M79.893 76.85H21.308v14.184h58.585V76.85z",fill:"#F5C056"}),r().createElement("path",{d:"M79.893 76.85H74.6v14.184h5.293V76.85z",fill:"#E99B00"}),r().createElement("path",{d:"M48.73 76.893H26.283v14.184H48.73V76.893z",fill:"#FFEA5A"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.894 57.829c-1.687-4.26 13.113-4.043 11.413 0-1.353 3.218-1.353 7.53 0 12.934H44.894C46 64.93 46 60.618 44.894 57.83z",fill:"#FFD264"}),r().createElement("path",{d:"M61.253 70.383H39.949v2.663h21.304v-2.663z",fill:"#FFD264"}),r().createElement("path",{d:"M47.938 70.383h-4.185v2.663h4.185v-2.663z",fill:"#FFEA5A"}),r().createElement("path",{d:"M64.676 73.046h-28.15v3.804h28.15v-3.804z",fill:"#795D1A"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.764 16.363v5.325H15.602v.143c0 13.634 8.992 24.714 20.162 24.961v2.994c-14-.986-25.108-15.488-25.108-33.233v-.19h25.108z",fill:"#FFCB64"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.677 16.363v5.325h20.161v.143c0 13.634-8.991 24.714-20.161 24.961v2.994c13.999-.986 25.107-15.488 25.107-33.233v-.19H64.677z",fill:"#ED985C"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.307 57.829c-1.353 3.218-1.353 7.53 0 12.934h-5.706V54.715c3.278.026 6.556 1.091 5.706 3.114z",fill:"#F4B046"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.676 73.046v3.804H50.601v-3.804h14.075z",fill:"#4F350B"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.253 70.383v2.663H50.6v-2.663h10.652z",fill:"#F4B046"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.933 10.656a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-11.43 0-23.311-20.1-24.449-45.65h2.194l-.38-3.044h-1.898a91.212 91.212 0 01.01-2.663h49.045z",fill:"#FFCE66"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.937 10.656c.006.569.01 1.14.01 1.712v.952h-.044l-.241 3.043h.294c.126 24.948 1.435 39.335 3.123 45.65-8.89-3.2-15.661-20.403-16.308-45.65h1.465l-.241-3.044h-1.271a158.252 158.252 0 01.006-2.663h13.207z",fill:"#FFEA5A"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.284 16.363h-3.91l.422-3.044h3.581a81.301 81.301 0 00-.01-2.663h4.566a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-.414 0-.828-.026-1.241-.078 11.92-1.382 19.899-20.946 21.114-45.572zm.083-5.707h-44.48 44.48z",fill:"#F4B046"}),r().createElement("path",{opacity:".519",d:"M72.665 13.32h-44.51v3.043h44.51v-3.044z",fill:"#F4B046"}),r().createElement("path",{d:"M48.318 73.046h-5.706v3.804h5.706v-3.804z",fill:"#96691F"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.526 10.656h4.235L58.973 35.935h-4.235l10.788-25.279z",fill:"url(#paint1_linear_3200_4362)"}),r().createElement("g",{filter:"url(#filter0_d_3200_4362)"},r().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#000"})),r().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#DD612C"}),r().createElement("path",{d:"M56.909 54.302a8.681 8.681 0 100-17.362 8.681 8.681 0 000 17.362z",fill:"#FFCE66"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.909 36.94a8.685 8.685 0 018.347 6.291c-5.74.351-10.312 5.02-10.51 10.8a8.699 8.699 0 01-6.008-5.47A11.212 11.212 0 0054.9 37.174a8.684 8.684 0 012.008-.234z",fill:"#FFF18C"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.202 10.656l10.862 25.341H54.83L43.646 10.705l4.556-.049z",fill:"#F83D3D"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear_3200_4362",x1:"0",y1:"3.094",x2:"0",y2:"88",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear_3200_4362",x1:"62.25",y1:"10.656",x2:"62.25",y2:"35.935",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#B93131"}),r().createElement("stop",{offset:"1",stopColor:"#831616"})),r().createElement("filter",{id:"filter0_d_3200_4362",x:"40.057",y:"30.77",width:"33.702",height:"33.703",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",result:"hardAlpha"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"3"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0335613 0 0 0 0 0.334579 0 0 0 0 0.412601 0 0 0 0.5 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3200_4362"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3200_4362",result:"shape"}))))};function ta(){return ta=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},ta.apply(this,arguments)}const la=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",ta({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),r().createElement("mask",{id:"svg355575424a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),r().createElement("g",{mask:"url(#svg355575424a)"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.5 3.094h88V88h-88V3.094z",fill:"url(#paint0_linear_3488_11934)"}),r().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M64.543 19.547L84.7 39.704V90.88H32.1L17.875 77.372V19.547h46.668z",fill:"url(#paint1_linear_3488_11934)"}),r().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.156 19.938h69.438A2.406 2.406 0 0188 22.343v53.968a2.406 2.406 0 01-2.406 2.407H16.156a2.406 2.406 0 01-2.406-2.406v-53.97a2.406 2.406 0 012.406-2.405z",fill:"#000"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 19.25H86.28c.95 0 1.719.77 1.719 1.719v53.968c0 .95-.77 1.72-1.719 1.72H17.187c-.949 0-1.718-.77-1.718-1.72V20.97c0-.95.77-1.719 1.719-1.719z",fill:"#fff"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 24.968c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 29.093c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 56.031c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 60.156c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 66.344c0-.57.462-1.031 1.031-1.031h28.059a1.031 1.031 0 010 2.062H37.254c-.57 0-1.031-.462-1.031-1.031z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 70.469c0-.57.462-1.031 1.031-1.031h25.508a1.031 1.031 0 010 2.062H37.125c-.57 0-1.031-.462-1.031-1.031z",fill:"#979797"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 35.406c0-.57.461-1.031 1.03-1.031h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.032z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 39.531c0-.57.461-1.031 1.03-1.031H70.54a1.031 1.031 0 010 2.063H48.47c-.57 0-1.032-.462-1.032-1.032z",fill:"#979797"}),r().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),r().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),r().createElement("circle",{cx:"41.25",cy:"36.438",r:"2.063",fill:"#B6C7DB"}),r().createElement("circle",{cx:"41.25",cy:"46.75",r:"2.063",fill:"#B6C7DB"}),r().createElement("circle",{cx:"23.031",cy:"58.094",r:"3.094",fill:"#B6C7DB"}),r().createElement("circle",{cx:"23.031",cy:"68.406",r:"3.094",fill:"#B6C7DB"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 45.719c0-.57.461-1.032 1.03-1.032h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.031z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 49.844c0-.57.461-1.032 1.03-1.032h25.509a1.031 1.031 0 010 2.063H48.469c-.57 0-1.032-.462-1.032-1.031z",fill:"#979797"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M31.802 37.125v-2.75h-.688V48.251h3.843v-.688h-3.155v-9.75h3.155v-.688h-3.155z",fill:"#2B98F0"}),r().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M32.68 26.469l-1.215 1.215-1.215-1.215h2.43z",fill:"#000"}),r().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 7.563h63.937c1.14 0 2.063.923 2.063 2.062v6.188c0 1.139-.924 2.062-2.063 2.062H17.187a2.062 2.062 0 01-2.062-2.063V9.625c0-1.14.923-2.063 2.063-2.063z",fill:"#fff"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M19.938 12.719c0-1.14.923-2.063 2.062-2.063h24.063a2.063 2.063 0 010 4.125H22a2.062 2.062 0 01-2.063-2.062zM50.875 12.719c0-1.14.923-2.063 2.063-2.063h3.437a2.063 2.063 0 010 4.125h-3.438a2.062 2.062 0 01-2.062-2.062z",fill:"#979797"}),r().createElement("path",{opacity:".2",d:"M37.687 66.48l8.942 8.309v.958l19.925 19.702 31.064-.552 7.006-25.47-34.487-34.144-11.2.567c-3.238-1.86-5.34-3.02-6.306-3.48-.54-.258-.383 5.565-2.755 7.725-1.243 1.133-3.462 4.104-6.657 8.914l-5.532 17.47z",fill:"url(#paint2_linear_3488_11934)"}),r().createElement("g",{filter:"url(#filter0_d_3488_11934)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312a18.719 18.719 0 014.236 4.554l4.28-.699a23.425 23.425 0 012.392 6.47l-3.639 2.443c.262 2.058.2 4.18-.216 6.285l3.466 2.572a24.254 24.254 0 01-2.838 6.375l-4.231-.855a19.61 19.61 0 01-4.526 4.366l.62 4.34a23.426 23.426 0 01-6.409 2.551l-2.345-3.649a18.72 18.72 0 01-6.219-.1l-2.593 3.564a22.7 22.7 0 01-6.224-2.757l.912-4.304a18.715 18.715 0 01-4.281-4.567l-4.285.7a23.424 23.424 0 01-2.4-6.438l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14zM60.075 49.74c-2.804-1.248-6.112.064-7.388 2.93-1.276 2.867-.038 6.203 2.766 7.452 2.804 1.248 6.112-.064 7.388-2.93 1.276-2.867.038-6.203-2.766-7.452z",fill:"#6B93AC"}),r().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312c.779.597 1.503 1.25 2.168 1.95l-10.07 9.392a5.444 5.444 0 00-1.491-.983c-2.804-1.248-6.112.064-7.388 2.93a5.7 5.7 0 00.626 5.749l-10.071 9.39c-.502-.585-.965-1.2-1.39-1.84l-4.284.7a23.424 23.424 0 01-2.4-6.437l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14z",fill:"#7CA6BF"}),r().createElement("path",{d:"M62.886 42.644c6.409 2.854 9.24 10.479 6.322 17.03-2.917 6.553-10.478 9.552-16.887 6.698-6.409-2.853-9.24-10.478-6.322-17.03 2.917-6.553 10.478-9.551 16.887-6.698zm-1.32 2.966c-4.808-2.14-10.478.109-12.666 5.023-2.188 4.914-.065 10.633 4.742 12.773 4.806 2.14 10.477-.108 12.665-5.023 2.188-4.914.065-10.633-4.742-12.773z",fill:"#AAC4D5"}),r().createElement("path",{d:"M62.886 42.644a12.424 12.424 0 014.22 3.075l-2.366 2.207a9.317 9.317 0 00-3.175-2.316c-4.807-2.14-10.477.109-12.665 5.023-1.635 3.673-.863 7.795 1.638 10.536l-2.367 2.208c-3.325-3.656-4.35-9.145-2.172-14.035 2.917-6.553 10.478-9.551 16.887-6.698z",fill:"#CBDDE9"}))),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear_3488_11934",x1:"-5.5",y1:"3.094",x2:"-5.5",y2:"88",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear_3488_11934",x1:"91.478",y1:"62.257",x2:"53.241",y2:"26.703",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:".01"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"paint2_linear_3488_11934",x1:"86.975",y1:"77.519",x2:"49.809",y2:"46.968",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#90A4AE",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopOpacity:".75"})),r().createElement("filter",{id:"filter0_d_3488_11934",x:"32.168",y:"30.067",width:"53.209",height:"53.716",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",result:"hardAlpha"}),r().createElement("feOffset",{dx:"1",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_3488_11934"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3488_11934",result:"shape"}))))},aa=(0,E.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.12)",marginLeft:"16px",paddingLeft:"16px",overflow:"hidden",lineHeight:"24px",textOverflow:"ellipsis",fontSize:"14px"},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:"14px"}},noDataMessage:{padding:"0 24px",fontSize:"12px",textAlign:"center",whiteSpace:"pre-wrap"},noDataTitle:{padding:"0 24px",fontSize:"13px",textAlign:"center",color:"rgba(0,0,0,0.87)",whiteSpace:"pre-wrap"},viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}})));let ra;!function(e){e.DVF_NOT_CONFIGURE="dvfNotConfigured",e.DATA_VALID="dataValid"}(ra||(ra={}));const na=e=>{let{chartType:t,title:l,infoTooltipTitle:a,titleChildren:n,dvfConfigLink:i,config:o}=e;const c=aa();let s,d,u;return t===ra.DVF_NOT_CONFIGURE?(s=r().createElement(la,null),d=p().text("If we spot any validation issues, we’ll display them here."),u=r().createElement(r().Fragment,null,r().createElement(Xl.Z,{href:i,target:"_blank",component:i?"a":"span",color:i?"primary":"inherit",underline:i?"hover":"none"},p().text("Define some data validation functions"))," ",p().text("for this attribute (or ask your Tenant Admin)."))):(s=r().createElement(ea,null),d=p().text("We didn’t spot any validation issues for this entity type.\nYou can kick back and enjoy a cold one."),u=p().text("Nice one!")),r().createElement(Ie,{config:o},r().createElement(se,{title:l,infoTooltipTitle:a},n),r().createElement(ue.Z,{className:c.viewContent},r().createElement("div",{className:c.container},s,u&&r().createElement(g.Z,{className:c.noDataTitle},u),d&&r().createElement(g.Z,{className:c.noDataMessage},d))))},ia=e=>{var t;const l=aa(),{config:n}=e,{dvfs:i,dvfConfigLink:o}=(0,a.useContext)(Kl),{data:d,state:u,reload:f,errorCode:m}=i,h=(0,a.useContext)(He).uri,E=(0,a.useContext)(Ze),b=E.uri,x=((e,t)=>(e||[]).filter((0,s.propEq)("attribute",t)))(d,h).filter((e=>e.status===c.lVm.ACTIVE)),{data:O,state:w,reload:R}=Ve((e=>(0,s.pipe)(vl("dataValidationFunctions"),El(e)))(x)),N=(0,a.useMemo)((()=>[E]),[E]),T=(0,a.useMemo)((()=>x.map((e=>e.uri))),[x]),S=(e=>{let{entityTypeUri:t,dvfUris:l}=e;const[r,n]=(0,a.useState)(null);return(0,a.useEffect)((()=>{const e=[{fieldName:"type",filter:c.j5E.EQUALS,values:[t]},{fieldName:"analyticsAttributes.AttributeValidations.FunctionURI",filter:c.j5E.EQUALS,values:l}];(0,c.j_Q)(e).then((e=>{let{total:t}=e;return n(t)})).catch((()=>n(null)))}),[t,l]),r})({entityTypeUri:b,dvfUris:T}),C=null===(t=v(N))||void 0===t?void 0:t[(0,c.nIW)(b)],A=Ge(Sl),I=(0,a.useMemo)((()=>u===y.o.LOADED&&w===y.o.LOADED?y.o.LOADED:u===y.o.ERROR||w===y.o.ERROR?y.o.ERROR:y.o.LOADING),[w,u]),M=(0,a.useMemo)((()=>()=>{u===y.o.ERROR&&f(),w===y.o.ERROR&&R()}),[w,u,f,R]),D=m===c.Xt7.DVF_NOT_CONFIGURED||0===(null==x?void 0:x.length),_=I===y.o.LOADED&&(null==x?void 0:x.length)>0&&0===O.length,F=!(I===y.o.ERROR&&m!==c.Xt7.DVF_NOT_CONFIGURED)&&!D&&I!==y.o.LOADING&&r().createElement(Dl.C,{value:n.title},r().createElement(g.Z,{className:l.titleCount},(e=>{let{isDataValid:t,totalProfiles:l,invalidProfiles:a}=e;return t?p().text("0 profiles"):(0,s.isNil)(a)?"":`${(0,c.k7L)(a)} (${Math.round(a/l*100)}%) ${1!==a?p().text("profiles"):p().text("profile")}`})({isDataValid:_,totalProfiles:C,invalidProfiles:S}))),P=[p().text("Validation function"),p().text("Profiles")],z=r().createElement(J,{title:p().text("Profiles with invalid data"),data:[{value:p().text("Shows the number of profiles that violate active validation functions")}],DataRenderer:Me});return D||_?r().createElement(na,{config:n,chartType:D?ra.DVF_NOT_CONFIGURE:ra.DATA_VALID,title:p().text(n.title),infoTooltipTitle:z,titleChildren:F,dvfConfigLink:o}):r().createElement(Ql,{config:n,title:p().text(n.title),headers:P,data:O,onItemClick:A,titleChildren:F,state:I,onRefresh:M,customComparator:gl,infoTooltipTitle:z,showCountLabels:!0})},oa=(0,E.Z)((()=>({monoFontCell:{fontFamily:'"Roboto Mono", monospace'}}))),ca=e=>{let{config:t}=e;const l=oa(),{data:n,state:i,reload:o}=Ve(bl),s=(0,a.useContext)(He).type,d=(0,c.Lt4)(s)?((e,t)=>{const l=t===c.oS0.TYPE_TIMESTAMP?"L LTS":"L";return e.map((e=>D({},e,{label:p().date(Number(e.label),l)})))})(n,s):n,u=Ge(Tl),f=[p().text("Value"),p().text("Count")],m=r().createElement(J,{title:p().text("Frequency analysis"),data:[{value:p().text("Shows the number of times each value occurs")}],DataRenderer:Me});return r().createElement(Ql,{config:t,data:d,headers:f,title:t.title,infoTooltipTitle:m,onItemClick:u,state:i,onRefresh:o,labelCellClassName:H()({[l.monoFontCell]:(0,c.m6e)(s)})})};function sa(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){da(e,t,l[t])}))}return e}function da(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var pa,ua;!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"}(pa||(pa={})),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"}(ua||(ua={}));const fa=e=>(0,s.pipe)((0,s.pathOr)({},[e,"data"]),Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),F);var ma;!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"}(ma||(ma={}));const ha=(e,t)=>{const l={lengthStatistics:{[ma.MEDIAN]:p().text("Median"),[ma.AVERAGE]:p().text("Average"),[ma.MININMUN]:p().text("Minimum"),[ma.MAXIMUM]:p().text("Maximum")},valueDistribution:{[ma.MEDIAN]:p().text("Median"),[ma.AVERAGE]:p().text("Average"),[ma.MININMUN]:p().text("Minimum"),[ma.MAXIMUM]:p().text("Maximum")},crosswalkAnalysis:{[ma.NUMBER_OF_SOURCES]:p().text("No. of source systems"),[ma.AVG_NUMBER_OF_PROFILES]:p().text("Avg no. of profiles"),[ma.MIN_NUMBER_OF_PROFILES]:p().text("Min no. of profiles"),[ma.MAX_NUMBER_OF_PROFILES]:p().text("Max no. of profiles")}};return(0,s.pathOr)(null,[t,e],l)},ya=e=>(0,s.pipe)((0,s.propOr)({},e),Object.entries,(0,s.map)((t=>{let[l,a]=t;return{label:ha(l,e),value:a}})),(0,s.filter)((e=>{let{label:t}=e;return t})),F),va=e=>t=>({chartData:fa(e)(t),infoPanelData:ya(e)(t)}),ga=(e,t)=>(0,c.Lt4)(t)?p().date(Number(e),"L"):String(e),Ea=(0,s.curry)(((e,t)=>{const l=(0,s.pipe)((0,s.prop)("group"),(0,s.split)(" "),s.head,Number),a=t.chartData.sort((0,s.ascend)(l)).map(((l,a)=>{const[r,n=r]=l.group.split(" ").map(Number),i=a===t.chartData.length-1,o=r!==n?((e,t,l)=>rt(t)?`[${e}${l?"]":")"}`:e)(`${ga(r,e)} - ${ga(n,e)}`,e,i):ga(r,e);return sa({},l,{label:o,group:[r,n,i?"last":""].toString()})}));return{infoPanelData:t.infoPanelData.map((t=>sa({},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:a}})),ba=(0,s.pipe)(va("lengthStatistics"),Ea("")),xa=(0,s.pipe)(va("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))))})),Oa=va("monthDistribution"),wa=va("dayOfWeekDistribution"),Ra=va("dayOfMonthDistribution"),Na=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.day_of_week`,value:pa[t.toLowerCase()],entityTypeUri:a})})),Ta=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.month`,value:ua[t.toLowerCase()],entityTypeUri:a})})),Sa=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.day_of_month`,value:t,entityTypeUri:a})})),Ca=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;const[r,n]=t.split(",");return r===n?hl({fieldName:`${l.fieldName}.length`,value:r,entityTypeUri:a}):(e=>{let{fieldName:t,startRange:l,endRange:a,entityTypeUri:r}=e;return ml({keyword:`${c.j5E.IN_RANGE}(${t}, ${l}, ${a})`,entityTypeUri:r})})({fieldName:`${l.fieldName}.length`,startRange:r,endRange:n,entityTypeUri:a})})),Aa=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.crosswalk_sources`,value:t,entityTypeUri:a})})),Ia=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[{filter:c.j5E.AFTER,values:[a],fieldName:l},{filter:c.j5E.BEFORE,values:[r],fieldName:l}]})),Ma=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[a===r?{filter:c.j5E.EQUALS,values:[[a]],fieldName:l}:{filter:c.j5E.IN_RANGE,values:[[a,r]],fieldName:l}]})),Da=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r,n]=t.split(","),i=a===r,o=i?[{filter:c.j5E.EQUALS,values:[[a]],fieldName:l}]:[{filter:c.j5E.IN_RANGE,values:[[a,r]],fieldName:l}];return!n&&!i&&o.push({filter:c.j5E.NOT_EQUALS,values:[[r]],fieldName:l}),o})),_a=(0,s.cond)([[c.Lt4,(0,s.always)(L(Ia))],[rt,(0,s.always)(L(Da))],[s.identity,(0,s.always)(L(Ma))]]);function Fa(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){Pa(e,t,l[t])}))}return e}function Pa(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const za=(0,E.Z)((e=>({tooltipWrapper:Fa({},e.tooltip,{padding:"4px 8px"})}))),ja=e=>{var t;let{payload:l,active:a,name:n}=e;const i=null==l||null===(t=l[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}`:"",d=za();return a&&r().createElement("div",{className:d.tooltipWrapper},r().createElement(J,{data:[{label:s,value:c},{label:p().text("No of profiles"),value:p().number(o)}]}))},La=(0,E.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"}}))),Ba=e=>{let{data:t}=e;const l=La();return r().createElement("div",{className:l.chartInfoWrapper},t.map((e=>{let{label:t,value:a,localizedValue:n}=e;return r().createElement("div",{key:t,className:l.chartInfoItem},r().createElement("span",{className:l.chartInfoLabel},t,": "),a!==n?r().createElement(tt.ZP,{title:n},r().createElement("span",{className:l.chartInfoValue},a)):r().createElement("span",{className:l.chartInfoValue},a))})))},ka=(0,E.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"}}}))),Ua=e=>{let{width:t,height:l,label:a,x:n,y:i}=e;const o=ka({width:t}),c=n-t/2;return r().createElement("foreignObject",{x:c,y:i,width:t,height:l},r().createElement("div",{className:o.labelWrapper},r().createElement(Dl.C,{value:a},r().createElement("div",{className:o.xAxisLabel},a))))},Va=e=>{const{x:t,y:l,width:a,height:n,payload:i,visibleTicksCount:o}=e,{value:c}=i,s=a/o-4;return r().createElement(Ua,{width:s,height:n,label:c,x:t,y:l})};function Ha(){return Ha=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},Ha.apply(this,arguments)}const Za=e=>{let{isClickable:t}=e,l=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,["isClickable"]);const a=La(),n=t?a.clickable:void 0;return r().createElement(R.Ae,Ha({},l,{className:n,fill:"#000",opacity:"0.1",pointerEvents:"visibleFill"}))},Ga=e=>{const{value:t}=e;return t>0?r().createElement(R.Ae,e):null};function Ya(){return Ya=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},Ya.apply(this,arguments)}const Wa=e=>{let{data:t,config:l,xAxisLabel:a,yAxisLabel:n,barTooltipTitle:i,infoPanelData:o,infoTooltipTitle:s,onItemClick:d,options:p={},state:u,onRefresh:f}=e;const m=La(),{title:h}=l,{cartesianGrid:v,bar:g,xAxis:E,yAxis:b,labelForX:x,labelForY:O,barChart:w}=(e=>{let{showCategories:t=!1,interval:l,barCategoryGap:a}=e;return{barChart:{barCategoryGap:a||"10%"},bar:{dataKey:"value",fill:"#0072CE",minPointSize:3,maxBarSize:50},xAxis:{tick:t&&Va,tickLine:!1,interval:l||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),N=d&&(e=>{let{activePayload:t}=e;return d(t[0].payload.group)}),T=N?m.clickable:void 0,S=u===y.o.LOADED&&o.length>0;return r().createElement(Ie,{config:l},r().createElement(se,{title:h,infoTooltipTitle:s}),S&&r().createElement(Ba,{data:o}),r().createElement(Se,{data:t,loadingState:u,onRefresh:f},(e=>{let{data:t,width:l=0,height:o=0}=e;return r().createElement("div",null,r().createElement(R.vz,Ya({width:l,height:o,data:t,onClick:N},w),r().createElement(R.q3,v),r().createElement(R.u,{content:r().createElement(ja,{name:i}),cursor:r().createElement(Za,{isClickable:!!N})}),r().createElement(R.$Q,Ya({},g,{shape:r().createElement(Ga,{className:T})})),r().createElement(R.B2,b,r().createElement(R.__,Ya({},O,{value:n}))),r().createElement(R.Kc,E,r().createElement(R.__,Ya({},x,{value:a})))))})))},qa=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(ba),{chartData:i,infoPanelData:o}=l,c=Ge(Ca),s=r().createElement(J,{title:p().text("Length statistics"),data:[{value:p().text("Measures the string length of values")}],DataRenderer:Me});return r().createElement(Wa,{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:a,onRefresh:n})};var $a=l(21210);const Qa=(0,E.Z)({icon:{width:"20px",height:"20px",borderRadius:"4px",fontSize:"14px",marginRight:"8px"},text:e=>{let{color:t}=e;return{backgroundColor:t}}}),Ka=e=>{let{chartData:t}=e;const{group:l,label:a}=t,n=Qa({color:(0,c.uap)("random0",l)});return r().createElement(r().Fragment,null,r().createElement($a.Z,{sourceType:l,className:n.icon,classes:{textRoot:n.text}}),a)};function Xa(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){Ja(e,t,l[t])}))}return e}function Ja(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const er=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(xa),{chartData:i}=l,o=Ge(Aa),c=[p().text("Source system"),p().text("Profiles")],s=r().createElement(J,{title:p().text("Source system analysis"),data:[{value:p().text("Distribution of source systems contributing to profiles")}],DataRenderer:Me});return r().createElement(Ql,{config:Xa({},t),data:i,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:a,onRefresh:n,customComparator:gl,LabelRenderer:Ka})},tr=e=>{let{config:t}=e;const l=(0,a.useContext)(He).type,{data:n,state:i,reload:o}=Ve((e=>(0,s.pipe)(va("valueDistribution"),Ea(e)))(l)),{chartData:c,infoPanelData:d}=n,u=Ge(_a(l));return r().createElement(Wa,{config:t,data:c,xAxisLabel:p().text("Value"),yAxisLabel:p().text("No. of profiles"),infoPanelData:d,barTooltipTitle:p().text("Value"),onItemClick:u,state:i,onRefresh:o})},lr=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(Oa),{chartData:i,infoPanelData:o}=l,c=Ge(Ta);return r().createElement(Wa,{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:a,onRefresh:n})},ar=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(wa),{chartData:i,infoPanelData:o}=l,c=Ge(Na);return r().createElement(Wa,{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:a,onRefresh:n})},rr=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(Ra),{chartData:i,infoPanelData:o}=l,c=Ge(Sa);return r().createElement(Wa,{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:a,onRefresh:n})},nr=e=>{let{config:t}=e;const l=oa(),{data:a,state:n,reload:i}=Ve(xl),o=Ge(Cl),c=[p().text("Value"),p().text("Count")],s=r().createElement(J,{title:p().text("Pattern analysis"),data:[]});return r().createElement(Ql,{config:t,data:a,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:n,onRefresh:i,labelCellClassName:l.monoFontCell})};function ir(){return ir=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},ir.apply(this,arguments)}class or{}or.getComponent=e=>{let{type:t,config:l,isFullscreen:a,onToggleFullscreen:n}=e;const i={config:l,isFullscreen:a,onToggleFullscreen:n};switch(t){case w.FILL_RATE_CHART:return r().createElement(Ye,i);case w.UNIQUENESS_CHART:return r().createElement(Je,i);case w.SUMMARY:return r().createElement(ol,i);case w.VALIDATION:return r().createElement(ia,i);case w.FREQUENCY:return r().createElement(ca,i);case w.LENGTH:return r().createElement(qa,i);case w.CROSSWALK:return r().createElement(er,i);case w.VALUE_DISTRIBUTION:return r().createElement(tr,i);case w.MONTH_DISTRIBUTION:return r().createElement(lr,i);case w.DAY_OF_WEEK_DISTRIBUTION:return r().createElement(ar,i);case w.DAY_OF_MONTH_DISTRIBUTION:return r().createElement(rr,i);case w.PATTERN:return r().createElement(nr,i);default:return r().createElement(fl,ir({},i,{errorData:{message:p().text("Chart isn't supported for this data type")}}))}};const cr=or,sr=e=>{let{layoutItemConfig:t,views:l,onToggleFullscreen:a,isFullscreen:n,className:i,children:o,style:c}=e;const s=l.find((e=>{let{id:l}=e;return t.i===l}));if(!s)return null;const{type:d}=s;return r().createElement("div",{style:c,className:i},cr.getComponent({type:d,config:s,onToggleFullscreen:a,isFullscreen:n}),o)},dr=(0,E.Z)({root:{overflow:"auto",backgroundColor:"#F9F9F9",height:"100%",flexGrow:1,padding:"4px"}}),pr=(0,s.map)((0,s.assoc)("isStatic",!0)),ur={cols:4,rowHeight:10,margin:[12,12]},fr=(0,a.memo)((e=>{let{views:t,layout:l,layoutOptions:n=ur}=e;const i=dr(),o=(()=>{const[e,t]=(0,a.useState)(y.o.INIT),[l,r]=(0,a.useState)({}),n=(0,a.useContext)(Ze),i=(0,a.useContext)(He),o=(0,a.useContext)(nl),s=null==i?void 0:i.fieldName,d=n.uri,p=e=>{console.error(e),t(y.o.ERROR),r({})},u=(0,a.useCallback)((async()=>{if(t(y.o.LOADING),o===A.ENTITY_TYPE){var e,l;const a=(0,c.Uqd)()([{fieldName:"type",filter:c.j5E.EQUALS,values:[d]}]),i=await(0,c.FK9)({query:(0,c.ECL)({activeness:c.YJ7.ACTIVE_ONLY,filter:a}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),o=await(0,c.FK9)({query:(0,c.ECL)({activeness:c.YJ7.INACTIVE_ONLY,filter:a}),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===(l=i.type)||void 0===l?void 0:l[(0,c.nIW)(n.uri)],sourceSystems:8}}),void t(y.o.LOADED)}return(0,c.TTx)({entityTypeUri:d,attributeFieldName:s}).then((e=>{r(e),t(y.o.LOADED)})).catch(p)}),[t,r,s,d]),f=(0,a.useCallback)((()=>{try{u()}catch(e){p(e)}}),[u]);return(0,a.useEffect)((()=>{f()}),[f]),{data:l,state:e,reload:f}})(),s=(0,a.useMemo)((()=>pr(l)),[l]);return r().createElement("div",{className:i.root},r().createElement(Ue.Provider,{value:o},r().createElement(O.Z,{LayoutItem:sr,views:t,layout:s,layoutOptions:n})))}));var mr=l(50166),hr=l(5336),yr=l(83543),vr=l(98989),gr=l(38402),Er=l(33286),br=l(40435);const xr=(0,E.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"}}),Or=e=>{let{details:t,classes:l,fillRateData:a,fillRateState:n}=e;const i=xr(),o=(0,s.prop)("iconRoot",l);return r().createElement("div",{className:i.root},Object.entries(t||{}).reverse().map((e=>{let[t,l]=e,d=Mt.NORMAL;if(t===nt.REQUIRED){const e=n===y.o.LOADING,t=0===(null==(p=a)||null===(u=p.find((0,s.propEq)("group",c.s9T.MISSING)))||void 0===u?void 0:u.value);e&&(d=Mt.LOADING),e||t||(d=Mt.BAD_QUALITY)}var p,u;return r().createElement("div",{key:t,className:H()(l&&(o||i.activeIcon),i.detailIcon)},l&&r().createElement(tt.ZP,{title:vt(t)},r().createElement("span",null,r().createElement(Dt,{detailType:t,variant:d,size:It.SMALL}))))})))},wr="rgba(0, 114, 206, 0.12)",Rr=(0,E.Z)({linesWrapper:{position:"absolute",left:"9px",top:0,bottom:0},line:{position:"absolute",width:"2px",background:wr,bottom:0,zIndex:2,left:0,top:0},horizontalLine:{"&:after":{content:'""',position:"absolute",left:"2px",top:"15px",width:"3px",height:"2px",background:wr}},parentLine:{left:"20px",top:"34px"},lastLevel:{bottom:"31px"}}),Nr=e=>{let{level:t,margin:l,hasChildren:a,isLastLevelItem:n,isCollapsed:i}=e;const o=Rr(),c=!i&&(t>0||a);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):[])(a,t).map((e=>r().createElement(Er.Z,{key:e,margin:l,level:e,className:o.line}))),c&&r().createElement(Er.Z,{margin:l,level:t,className:H()(o.line,!a&&t>0&&o.horizontalLine,a&&o.parentLine,n&&o.lastLevel)}))},Tr=(0,E.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 Sr(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){Cr(e,t,l[t])}))}return e}function Cr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ar=(0,T.Z)((e=>{let{data:t}=e;const l=Tr(),a=_e(t),n=t.map(((e,t)=>{let{label:n,percent:i,value:o}=e;return{label:r().createElement("span",null,r().createElement("div",{className:l.fillRateSquare,style:{background:a[t]}}),n),value:`${p().number(o)} ${P(i)}`}}));return z(t)?r().createElement("div",{className:l.bar},r().createElement("div",{className:H()(l.barPart,l.inactiveBarPart)})):r().createElement(tt.ZP,{title:r().createElement(J,{title:p().text("Fill rate"),data:n})},r().createElement("div",{className:l.bar},t.map(((e,t)=>r().createElement("div",{key:e.group,className:l.barPart,style:Sr({},k(e),{background:a[t]})})))))})),Ir=(0,E.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"}}),Mr=e=>{let{detailedAttributeType:t,fillRateData:l,fillRateState:a,style:n,level:i,selected:o=!1,onClick:s,onCollapse:d=Al.ZT,isCollapsed:p=!1,isLastLevelItem:u=!1}=e;const f=Ir(),m=!!t.children,h=!!l,y=(e=>(0,c.idV)(e.label||e.name))(t),v=p?vr.Z:yr.Z,g=o?f.detailsIconSelected:f.detailsIcon;return r().createElement(gr.Z,{style:n,selected:o,classes:{selected:f.selectedItem},onClick:m?void 0:()=>{s(t)},component:"div",className:H()(f.listItem,!m&&f.pointerCursor)},r().createElement("div",{className:f.content},!m&&r().createElement("div",{className:f.attributeType},r().createElement(ll,{type:t.type})),r().createElement("div",{className:f.attribute},r().createElement(Nr,{level:i,margin:20,hasChildren:m,isLastLevelItem:u,isCollapsed:p}),r().createElement(Er.Z,{margin:20,level:i,className:f.marginWrapper},r().createElement(Dl.C,{value:y},r().createElement("div",{className:H()(f.attributeLabel,o&&f.selectedAttributeLabel,m&&f.parentAttributeLabel)},m&&r().createElement(br.Z,{size:"XXS",icon:v,onClick:d,className:f.collapseIcon}),y))),h&&!m&&r().createElement("div",{className:f.fillRate},r().createElement(Ar,{data:l}))),r().createElement(Or,{details:t.details,classes:{iconRoot:g},fillRateData:l,fillRateState:a})))},Dr=(0,s.propOr)({},"attributeItem"),_r=(0,s.pipe)((0,s.find)((0,s.pipe)(Dr,(0,s.either)(c.YkM,c.Or$),s.not)),Dr),Fr=e=>(0,s.pipe)(Dr,(0,s.propEq)("fieldName",e)),Pr=e=>(0,s.filter)((0,s.propEq)("group",e)),zr=(0,s.reject)((0,s.path)(["attributeItem","children"])),jr=(0,s.pipe)(zr,(0,s.prop)("length")),Lr=(e,t)=>(0,s.pipe)(zr,(0,s.filter)((0,s.pipe)(Dr,dt(t))),(0,s.prop)("length"))(e),Br=(e,t)=>(0,s.pipe)(zr,(0,s.filter)((0,s.pipe)(Dr,pt(t))),(0,s.prop)("length"))(e),kr=(e,t)=>e.filter((e=>ct(t,e.attributeItem))).length;let Ur;!function(e){e.NOT_EMPTY="notEmpty",e.EMPTY="empty"}(Ur||(Ur={}));const Vr=(e,t)=>{const l=Object.values(nt).map((e=>({value:e,label:vt(e),group:"details"}))).map((l=>(0,s.assoc)("count",((e,t,l)=>e.filter((e=>ct([...(0,s.filter)((0,s.propEq)("group","details"),l||[]),t],e.attributeItem))).length)(e,l,t),l))),a={label:p().text("All attribute properties"),value:"all",count:kr(e,l),group:"details"};return{label:p().text("Attribute properties"),options:[a,...l]}},Hr=(0,s.pipe)(Dr,(0,s.prop)("fieldName"));function Zr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var Gr=l(92391),Yr=l(36444),Wr=l(15793),qr=l(15115),$r=l(21324),Qr=l(12231),Kr=l(44962);function Xr(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){Jr(e,t,l[t])}))}return e}function Jr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const en=(0,E.Z)((e=>({serachWrapper:{padding:"8px 0px 8px 16px",alignItems:"center",display:"flex",flexGrow:1,justifyContent:"flex-end"},filterByDetails:{width:"32px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"9px"},searchInput:{borderRadius:"4px",width:"240px",minHeight:"32px!important",justifyContent:"flex-end",alignItems:"center",padding:"0 2px",boxSizing:"border-box","& input":{fontSize:"14px"},"& button":{padding:"2px"}},filledInput:{"& button:last-child":{backgroundColor:"rgba(0, 0, 0, 0.0509804)"}},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"}}))),tn=e=>Xr({},e,{borderBottom:"1px solid rgba(0, 0, 0, 0.08)",marginBottom:"5px",paddingTop:0,paddingBottom:"5px","&:last-child":{borderBottom:"none"}}),ln=e=>Xr({},e,{zIndex:2}),an=e=>Xr({},e,{maxHeight:"400px"}),rn=e=>Xr({},e,{padding:"6px 0 2px 18px",fontSize:"11px"});function nn(){return nn=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},nn.apply(this,arguments)}const on=e=>{let{innerProps:t,innerRef:l,children:a,isFocused:n,isSelected:i,selectProps:{classes:o},label:s,data:d}=e;const p=!!d.count,u=en(p);return r().createElement(Qr.Z,nn({className:u.option,ref:l,selected:n,component:"div"},t),"radio"===d.inputType?r().createElement(Kr.Z,{checked:i}):r().createElement(r().Fragment,null,r().createElement($r.Z,{color:"primary",checked:i}),r().createElement("span",{className:u.typeIconWrapper},r().createElement(Dt,{detailType:d.value}))),r().createElement(Dl.C,{value:s},r().createElement("div",{className:o["option--item"]},a)),r().createElement("span",{className:u.counter},(0,c.k7L)(d.count,999)))},cn=(0,s.reject)((0,s.propEq)("value","all")),sn=(e,t)=>(0,s.reject)((0,s.propEq)("group",e.group))(t),dn=e=>(0,s.pipe)((0,s.filter)((0,s.propEq)("group",e)),cn),pn=e=>(0,s.pipe)((0,s.reduce)(((t,l)=>t.concat(dn(e)(l.options))),[]),cn),un=(0,s.find)((0,s.propEq)("value","all")),fn=e=>{let{selectedFilterOptions:t=[],filterOptions:l,defaultFilterText:n,onChangeFilterText:i,onChangeFilterOptions:o}=e;const c=en(),d=(0,s.reduce)(((e,t)=>{if(t.options.length){const l=(0,s.head)(t.options)||{},{group:a,inputType:r}=l,n=(e||[]).filter((0,s.propEq)("group",a));if("radio"===r){if(!n.length)return e.concat(l)}else{const l=un(t.options);if(l&&cn(n).length===cn(t.options).length)return e.concat(l)}}return e}),t)(l),u=e=>e.selectProps.menuIsOpen?c.dropDownIndicatorActive:"",f=(0,a.useCallback)((()=>t.length?c.dropDownIndicatorFilterApplied:c.dropdownIndicator),[t]),[m,h]=(0,a.useState)(n||null);return r().createElement("div",{className:c.serachWrapper},r().createElement(qr.Z,{autofocus:!0,onChange:e=>{h(e),i(e||"")},initialValue:n||null,height:40,placeholder:p().text("Search attribute name"),"data-reltio-id":"reltio-dq-dashboard-attributes-search-input",classes:{root:H()(c.searchInput,{[c.filledInput]:!!m})}}),r().createElement("div",{className:c.filterByDetails,"data-reltio-id":"reltio-dq-dashboard-attributes-filter"},r().createElement(Wr.Z,{value:d,options:l,onChange:(e,a)=>{const{action:r,option:n}=a;o(((e,a,r)=>{if("radio"===a.inputType)return[...sn(a,r),a];{const i=(n=a.group,pn(n)(l).length===dn(n)(t).length),o=sn(a,r),c=pn(a.group)(l);return"all"===a.value?"select-option"===e?[...o,...c]:o:i?(0,s.without)([a],[...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:rn,group:tn,menu:ln,menuList:an},components:{DropdownIndicator:e=>r().createElement("div",{className:u(e)},r().createElement(Yr.Z,{className:f()})),IndicatorSeparator:Al.Vd,ClearIndicator:Al.Vd,MultiValue:Al.Vd,MenuList:e=>r().createElement(Gr.F.MenuList,e,r().createElement("div",{className:c.dropdownMenuTitle},p().text("Filter")),e.children),Option:on,GroupHeading:e=>r().createElement(Gr.F.GroupHeading,e,e.children)}})))},mn=(0,E.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",fontSize:"12px",color:"rgba(0, 0, 0, 0.54);"},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}}))),hn=e=>{var t,l;let{entityType:i,onAttributesListChange:o,defaultFieldName:d,defaultFilterOptions:u,defaultFilterText:f,disableAttributeSelection:m}=e;const v=mn(),g=(0,a.useRef)(),[E,b]=(0,a.useState)(f||""),[x,O]=(0,a.useState)([]),[w,R]=(0,a.useState)(u||[]),[N,T]=(0,a.useState)({fieldName:d}),{data:S,state:C}=(e=>{const[t,l]=(0,a.useState)(y.o.INIT),[r,n]=(0,a.useState)({}),i=e=>{console.error(e),l(y.o.ERROR),n({})},o=(0,a.useCallback)((()=>(l(y.o.LOADING),n({}),(0,c.aTW)({entityTypeUri:e}).then(ze).then((e=>{n(e),l(y.o.LOADED)})).catch(i))),[l,n,e]),s=(0,a.useCallback)((()=>{try{o()}catch(e){i(e)}}),[o]);return(0,a.useEffect)((()=>{s()}),[s]),{data:r,state:t,reload:s}})(i.uri),A=null===(t=(0,a.useContext)(Kl))||void 0===t||null===(l=t.dvfs)||void 0===l?void 0:l.state,I=((e,t)=>{var l,r;const i=(0,n.useSelector)(h.ZP.selectors.getMetadata),o=(0,a.useMemo)((()=>(e=>(0,s.pipe)(c.WN0,ft(e),gt))(t)(i,e)),[i,e,t]),[d,p]=(0,a.useState)([]),u=e.uri,f=(0,a.useMemo)((()=>(0,c.qhs)(i,u)),[i,u]),m=null===(l=(0,a.useContext)(Kl))||void 0===l||null===(r=l.dvfs)||void 0===r?void 0:r.data;return(0,a.useEffect)((()=>{m&&p(o.map((0,s.evolve)({attributeItem:e=>function(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){Zr(e,t,l[t])}))}return e}({},e,{details:yt({attrTypeItem:e,dvf:m,matchAttributes:f})},e.children&&{children:e.children.map((t=>(t.details=yt({attrTypeItem:t,dvf:m,matchAttributes:f}),t.details.reference=e.isAttributeReference,t)))})})))}),[o,f,m]),d})(i,E),{filteredItems:M,filterOptions:D}=(0,a.useMemo)((()=>{const e=((e,t)=>{const l=Pr("details")(e),a=(e=>(0,s.pipe)((0,s.filter)((0,s.pipe)(Dr,(0,s.both)((0,s.prop)("children"),ct(e)))),(0,s.map)(Hr)))(l)(t);return t.filter((e=>{let{attributeItem:t}=e;return a.some((e=>t.fieldName.startsWith(e)))||st(l,t)}))})(w,I),t=((e,t)=>{const l=[{label:p().text("All"),value:"All",group:"emptiness",count:jr(e),inputType:"radio"},{label:p().text("With data"),value:Ur.NOT_EMPTY,group:"emptiness",count:Lr(e,t),inputType:"radio"},{label:p().text("W/o data"),value:Ur.EMPTY,group:"emptiness",count:Br(e,t),inputType:"radio"}];return{label:p().text("Attributes"),options:l}})(e,S),l=((e,t,l)=>{const a=(0,s.head)(Pr("emptiness")(e));switch(null==a?void 0:a.value){case Ur.EMPTY:return l.filter((0,s.pipe)(Dr,ut(t)));case Ur.NOT_EMPTY:return l.filter((0,s.pipe)(Dr,dt(t)));default:return l}})(w,S,e);return{filteredItems:l,filterOptions:[t,Vr(l,w)]}}),[I,w,S]),_=(0,a.useMemo)((()=>((e,t)=>e.filter((e=>{let{attributeItem:l}=e;return!t.some((e=>l.fieldName.startsWith(e)&&l.fieldName!==e))})))(M,x)),[M,x]),F=M.length,P=e=>{o({selectedDetailedAttributeType:e,filterText:E,filterOptions:w}),T({fieldName:e.fieldName})},z=()=>{const e=((e,t)=>(0,s.pipe)((0,s.find)(Fr(t)),(0,s.propOr)(null,"attributeItem"))(e))(M,N.fieldName)||_r(M);return(0,s.isEmpty)(e)||m?null:e};(0,a.useEffect)((()=>{var e,t,l;if(m)return void(null===(l=g.current)||void 0===l||l.scrollTo(0));if(M.length){const e=z();T({fieldName:(null==e?void 0:e.fieldName)||N.fieldName})}const a=((e,t)=>(0,s.findIndex)(Fr(t))(e))(M,N.fieldName);a>-1?null===(e=g.current)||void 0===e||e.scrollToItem(a,"center"):null===(t=g.current)||void 0===t||t.scrollTo(0)}),[M]),(0,a.useEffect)((()=>{const e=z();o({selectedDetailedAttributeType:e,filterText:E,filterOptions:w})}),[E,w,N]),(0,a.useEffect)((()=>{T((e=>{let{fieldName:t}=e;return m?{fieldName:null}:{fieldName:t}}))}),[m]);const j=e=>{let{data:t,index:l,style:a}=e;const{attributeItem:n,level:i=0}=t[l],o=N.fieldName===n.fieldName,c=((e,t)=>e[t.fieldName])(S,n),d=l>0&&i>(0,s.pathOr)(-1,[l+1,"level"],_);return r().createElement(Mr,{fillRateData:c,fillRateState:C,style:a,detailedAttributeType:n,level:i,onClick:P,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:d});var p},L=_.length,B=!!L,k=C===y.o.LOADING||A===y.o.LOADING;return r().createElement("div",{className:v.root},r().createElement("div",{className:v.title},p().text("Attributes"),r().createElement("span",{className:v.itemCount},`${F} ${U=F,1===U?p().text("item"):p().text("items")}`),r().createElement(fn,{selectedFilterOptions:w,onChangeFilterOptions:R,defaultFilterText:f,onChangeFilterText:b,filterOptions:D})),r().createElement("div",{className:v.listWrapper,"data-reltio-id":"reltio-dq-dashboard-attributes-list"},r().createElement("div",{className:v.loaderWrapper},k&&r().createElement(fe.Z,null)),B?r().createElement(de.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=250}=e;return r().createElement(mr.FixedSizeList,{ref:g,itemCount:L,width:"100%",height:t,itemData:_,itemSize:48},j)})):!k&&r().createElement(hr.Z,{height:250})));var U},yn=(0,E.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 vn(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){gn(e,t,l[t])}))}return e}function gn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const En=(0,s.path)([0,"value"]),bn=e=>{var t,l;let{config:i,saveState:o,getSavedState:d}=e;const g=yn(),{entityType:E,tabs:b,setEntityTypeByUri:O}=(()=>{const e=(0,n.useSelector)(h.ZP.selectors.getMetadata),t=(0,a.useMemo)((()=>e.entityTypes.filter(c.oDv)),[e.entityTypes]),l=v(t),[r,i]=(0,a.useState)(null);return{entityType:r,tabs:(0,a.useMemo)((()=>t.map(((e,t)=>{let{label:a,uri:r}=e;return{label:a,value:r,additionalLabel:(0,c.k7L)(Number((null==l?void 0:l[(0,c.nIW)(r)])||0),999),dataReltioId:`reltio-dq-dashboard-entity-tab-${t}`}}))),[t,l]),setEntityTypeByUri:(0,s.pipe)((0,c.nt9)(e),i)}})(),[R,N]=(0,a.useState)(null),{isLoaded:T,savedState:S}=(0,u.a)(d),D=(0,n.useSelector)(h.ZP.selectors.getCanUserGetDQStatistic),[_,F]=(0,a.useState)(),P=(e=>{const[t,l]=(0,a.useState)(null),[r,i]=(0,a.useState)(null),o=(0,n.useSelector)(h.ZP.selectors.getUIPath),d=(0,n.useSelector)(h.ZP.selectors.getEnvironment),p=(0,n.useSelector)(h.ZP.selectors.getTenant);return(0,a.useEffect)((()=>{(0,c.f_2)({uiPath:o,tenant:p,environment:d,options:{method:"GET"}}).then((e=>{var t;const a=null==e||null===(t=e.data)||void 0===t?void 0:t.apps.find((0,s.propEq)("name","Console")).uri;l(a)})).catch((()=>l(null)))}),[d,p]),(0,a.useEffect)((()=>{const l=t&&null!=e&&e.uri?(0,s.pipe)((0,s.split)("?"),(0,s.insert)(1,`datamodeler/entityDetails/${(0,c.nIW)(e.uri)}/validation?`),(0,s.join)(""))(t):null;i(l)}),[e,t]),r})(E),z=(e=>{const[t,l]=(0,a.useState)(null),[r,i]=(0,a.useState)(y.o.INIT),[o,s]=(0,a.useState)(),d=(0,n.useSelector)(h.ZP.selectors.getTenant),p=(0,n.useSelector)(h.ZP.selectors.getDVFPath),u=e=>{console.error(e),i(y.o.ERROR),l([]),s(null==e?void 0:e.errorCode)},f=e=>{l(e.functions),s(void 0),i(y.o.LOADED)},m=(0,a.useCallback)((()=>{if(e)return i(y.o.LOADING),(0,c.HaQ)({dvfPath:p,tenant:d,entityTypeUri:e}).then(f).catch(u)}),[p,d,e]);return(0,a.useEffect)((()=>{m()}),[m]),{data:t,state:r,reload:m,errorCode:o}})(null==E?void 0:E.uri),j={dvfs:z,dvfConfigLink:P},L=null==b?void 0:b.map((e=>vn({},e,{additionalLabel:r().createElement("span",{className:g.additionalLabel},"(",e.additionalLabel,")")}))),k=(0,a.useCallback)((e=>{(null==E?void 0:E.uri)!==e&&(N(null),O(e),_===A.ENTITY_TYPE&&o(vn({dataLevel:_,entityTypeUri:e},Y.current&&{filterOptions:Y.current.filterOptions,filterText:Y.current.filterText})))}),[null==E?void 0:E.uri]),U=(null===(t=i.layoutsByDataLevel)||void 0===t?void 0:t[A.ENTITY_TYPE])||M[A.ENTITY_TYPE],V=null===(l=i.layoutsByDataLevel)||void 0===l?void 0:l[A.ATTRIBUTE_TYPE],Z=(0,a.useMemo)((()=>_===A.ENTITY_TYPE&&U?U:((e,t)=>{const l=B(t),a=(0,s.mergeLeft)(e,M[A.ATTRIBUTE_TYPE]);return a[l]||a.default||[]})(V,null==R?void 0:R.type)),[U,null==R?void 0:R.type,V,_]),G=(0,a.useMemo)((()=>((e,t,l,a)=>{const r=(0,s.uniqBy)((0,s.prop)("id"),(0,s.concat)((null==e?void 0:e[a])||[],I[a]||[])),n=(e=>{switch(e){case A.ATTRIBUTE_TYPE:return(e=>{switch(e){case C.INTEGER:case C.FLOAT:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.VALUE_DISTRIBUTION];case C.BOOLEAN:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY];case C.STRING:return[w.LENGTH,w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART];case C.DATE:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.VALUE_DISTRIBUTION,w.MONTH_DISTRIBUTION,w.DAY_OF_MONTH_DISTRIBUTION,w.DAY_OF_WEEK_DISTRIBUTION];case C.SSN:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.PATTERN];case C.UNKNOWN:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.LENGTH];default:return[]}})(B(t));case A.ENTITY_TYPE:return[w.SUMMARY];default:return[]}})(a);return l.reduce(((e,t)=>{const l=(0,s.prop)("type",e.find((0,s.propEq)("id",t.id)));if(!n.includes(l)){const l=e.findIndex((0,s.propEq)("id",t.id));if(-1!==l)return(0,s.adjust)(l,(0,s.assoc)("type",w.UNSUPPORTED),e)}return e}),r)})(i.viewsByDataLevel,null==R?void 0:R.type,Z,_)),[null==R?void 0:R.type,Z,_]);(0,a.useEffect)((()=>{T&&(O(S.entityTypeUri||En(b)),F(U?S.dataLevel||A.ENTITY_TYPE:A.ATTRIBUTE_TYPE))}),[T]);const Y=(0,a.useRef)(),W=E&&D&&T;return r().createElement("div",{className:g.perspectiveView},r().createElement(x,{title:p().text("Data Quality")},E&&r().createElement(f.Z,{value:E.uri,tabs:L,onChange:k,scrollButtons:"auto"})),r().createElement("div",{className:g.content},W&&r().createElement(r().Fragment,null,r().createElement(Kl.Provider,{value:j},r().createElement("div",{className:g.wrapper},U&&r().createElement("div",{className:H()(g.entityLevelButton,{[g.selectedButton]:_===A.ENTITY_TYPE}),onClick:()=>{N(null),F(A.ENTITY_TYPE)}},`${E.label} ${p().text("summary")}`),r().createElement(hn,{entityType:E,onAttributesListChange:e=>{let{selectedDetailedAttributeType:t,filterText:l,filterOptions:a}=e;const r=null==t?void 0:t.fieldName,n={entityTypeUri:E.uri,fieldName:r,filterOptions:a,filterText:l,dataLevel:_};!r&&_!==A.ENTITY_TYPE||(0,s.equals)(Y.current,n)||(o(n),Y.current=n),r&&F(A.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:_===A.ENTITY_TYPE})),(R||_===A.ENTITY_TYPE)&&r().createElement(nl.Provider,{value:_},r().createElement(Ze.Provider,{value:E},r().createElement(He.Provider,{value:R},r().createElement(fr,{views:G,layout:Z})))))),!D&&r().createElement(m.ZP,{text:p().text("403: Permission denied"),secondaryText:p().text("Permission denied")})))};function xn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const On=function(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){xn(e,t,l[t])}))}return e}({},c.rSc,{tooltip:{borderRadius:"4px",backgroundColor:"rgba(96, 96, 96, 0.9)",maxWidth:"300px"}}),wn=(0,i.Z)(On),Rn=(0,o.createGenerateClassName)({productionPrefix:"DQDashboardPerspective",disableGlobal:!0}),Nn=e=>{let{store:t,config:l,saveState:i,getSavedState:s}=e;const d=(0,a.useCallback)((0,c.aYu)(s),[s]);return r().createElement(n.Provider,{store:t},r().createElement(o.ThemeProvider,{theme:wn},r().createElement(o.StylesProvider,{generateClassName:Rn},r().createElement(bn,{config:l,saveState:i,getSavedState:d}))))}},15115:(e,t,l)=>{t.Z=void 0;var a=m(l(72579)),r=m(l(54073)),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==h(e)&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var l={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=a?Object.getOwnPropertyDescriptor(e,r):null;n&&(n.get||n.set)?Object.defineProperty(l,r,n):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(l(24328)),i=m(l(13980)),o=m(l(71153)),c=m(l(16805)),s=m(l(2630)),d=m(l(81819)),p=m(l(21853)),u=m(l(87685));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function m(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function y(e,t){for(var l=0;l<t.length;l++){var a=t[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(f,e);var t,l,i=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var l,a=b(e);if(t()){var r=b(this).constructor;l=Reflect.construct(a,arguments,r)}else l=a.apply(this,arguments);return g(this,l)}}(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),x(E(t=i.call(this,e)),"emitChange",(0,r.default)((function(e){return t.props.onChange(e)}),200)),x(E(t),"handleChange",(function(e){var l=(0,a.default)(e,["target","value"]);t.setState({value:l}),t.emitChange(l)})),x(E(t),"handleFocus",(function(){return t.inputRef.current.focus()})),x(E(t),"handleOpen",(function(){t.props.forceOpen||t.setState({open:!0},t.handleFocus)})),x(E(t),"handleClose",(function(){t.props.forceOpen||t.setState({open:!1}),t.setState({value:""}),t.emitChange()})),t.state={open:Boolean(t.props.initialValue),value:t.props.initialValue||""},t.inputRef=n.default.createRef(),t}return t=f,(l=[{key:"render",value:function(){var e=this.state,t=e.open,l=e.value,a=this.props,r=a.classes,i=a.placeholder,f=a.forceOpen,m=t||f,h=t||f&&l;return n.default.createElement("div",{className:(0,o.default)(c.default.searchInputContainer,x({},c.default.colored,m),r.root)},n.default.createElement(s.default,{name:"expand-input-btn",onClick:this.handleOpen},n.default.createElement(p.default,null)),m&&n.default.createElement(d.default,{value:l,disableUnderline:!0,className:c.default.searchInputField,classes:{input:c.default.input},placeholder:i,onChange:this.handleChange,inputProps:{ref:this.inputRef}}),h&&n.default.createElement(s.default,{name:"collapse-input-btn",onClick:this.handleClose},n.default.createElement(u.default,null)))}}])&&y(t.prototype,l),f}(n.PureComponent);t.Z=O,O.defaultProps={classes:{},forceOpen:!1},O.propTypes={classes:i.default.shape({root:i.default.string}),placeholder:i.default.string,forceOpen:i.default.bool,onChange:i.default.func.isRequired,initialValue:i.default.string}},16805:(e,t,l)=>{var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,(0,((a=l(86698))&&a.__esModule?a:{default:a}).default)("<style>.Form__searchInputContainer_3vqs6{display:flex;min-height:48px}.Form__searchInputField_3mnAi{flex:1 1 auto;padding:2px}.Form__input_3ulP-::-ms-clear{display:none}.Form__colored_2WMqk{background-color:#fafafa}</style>"),t.default={searchInputContainer:"Form__searchInputContainer_3vqs6",searchInputField:"Form__searchInputField_3mnAi",input:"Form__input_3ulP-",colored:"Form__colored_2WMqk"}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[662],{81819:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a.Z});var a=l(29611)},98989:(e,t,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(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,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(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,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(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,l)=>{var a=l(14859);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(l(24328)),n=(0,a(l(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.default=n},82068:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n);const o=(0,l(79692).Z)({"basic-view-content":{flex:"1 1 auto",padding:"0 24px 24px","&:first-child":{paddingTop:"24px"}}});function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{children:t,className:l}=e,a=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,["children","className"]);const n=o();return r().createElement("div",c({className:i()(n["basic-view-content"],l)},a),t)}},17822:(e,t,l)=>{l.d(t,{Z:()=>S});var a=l(13980),r=l.n(a),n=l(24328),i=l.n(n),o=l(66244),c=l.n(o),s=l(44443),d=l(17440),u=l(71153),p=l.n(u);function f(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}const m=e=>{let{x:t,y:l,width:a,height:r,id:n,minWidth:i,minHeight:o,maxWidth:c,maxHeight:s,isStatic:d}=e;return{x:t,y:l,w:a,h:r,minW:i,minH:o,maxW:c,maxH:s,i:n,static:d}},h=e=>{let{x:t,y:l,w:a,h:r,maxW:n,minW:i,minH:o,maxH:c,i:s}=e;return{x:t,y:l,width:a,height:r,minWidth:i,minHeight:o,maxWidth:n,maxHeight:c,id:s,isStatic:f(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},y=e=>(e||[]).map(h),v=(0,d.curry)(((e,t)=>(e||[]).find((0,d.propEq)("id",t)))),g=(0,d.curry)(((e,t,l)=>(0,d.mergeAll)([l,(0,d.pick)(e,t)]))),E=(0,d.curry)(((e,t,l)=>(l||[]).map((l=>(0,d.pipe)((0,d.prop)("id"),v(t),(0,d.defaultTo)({}),g(e,d.__,l))(l)))));var b=l(79692),x=l(64825);const O=(0,b.Z)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.cssTransforms":{transitionProperty:"transform"},"&.resizing":{zIndex:9,willChange:"width, height",pointerEvents:"none"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,x.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},w.apply(this,arguments)}function R(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const N=e=>{let{views:t,layout:l,layoutOptions:a,onLayoutChanged:r,draggableHandle:o,LayoutItem:u,onRemove:f,onDrop:g,droppingItem:b,isDroppable:x,classes:N}=e;const S=(0,n.useRef)(),T=O(),[C,A]=(0,n.useState)(null),[I,M]=(0,n.useState)(0),{cols:D,rowHeight:_,margin:F}=a,z=(0,n.useMemo)((()=>(e=>(e||[]).map(m))(l)),[l]),L=(0,d.pipe)(y,E(["autosizing"],l),r),P=(0,n.useCallback)((e=>A((t=>t?null:e))),[]),j=null!==C,k=(0,n.useCallback)(((e,t)=>{let n=!1;const i=l.map((l=>{if(l.id===t&&e){const t=((e,t)=>{const{margin:l,rowHeight:a}=t;return Math.ceil((e+l[1])/(a+l[1]))})(e,a);if(l.height!==t)return n=!0,function(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){R(e,t,l[t])}))}return e}({},l,{minHeight:t,maxHeight:t,height:t})}return l}));n&&r(i)}),[l,a,r]);return i().createElement(i().Fragment,null,i().createElement(s.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>M(e)}),i().createElement(c(),{innerRef:S,layout:z,cols:D,draggableHandle:o,autoSize:!0,rowHeight:_,width:I,margin:F,onLayoutChange:L,isResizable:!j,isDraggable:!j,className:p()(T.gridLayout,{[T.gridFullscreen]:j}),onDrop:(e,t,l)=>{g&&g(y(e),h(t),l)},droppingItem:b,isDroppable:x},z.map((e=>{const a=C===e.i,r=(v(l,e.i)||{}).autosizing?{AutosizeComponent:(n=e.i,i().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>{k(t,n)}}))}:{};var n;return i().createElement(u,w({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:P,onRemove:f,className:p()({fullscreen:a},N.item),isFullscreen:a},r))}))))};N.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:d.identity,onLayoutChanged:d.identity,classes:{}},N.propTypes={views:r().array,layout:r().array,layoutOptions:r().object,onConfigChanged:r().func,onLayoutChanged:r().func,onDrop:r().func,onRemove:r().func,LayoutItem:r().elementType,draggableHandle:r().string,isDroppable:r().bool,droppingItem:r().object,classes:r().shape({item:r().string})};const S=(0,n.memo)(N)},21210:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(89810),r=l(64825),n=l(24328),i=l.n(n),o=l(52730),c=l(42639);const s=e=>{let{sourceType:t,className:l,classes:n}=e;const s=(0,o.useSelector)(a.ZP.selectors.getMetadata),{label:d,icon:u}=(0,r.PWK)(s,t);return i().createElement(c.Z,{className:l,avatarText:d[0],icon:u?(0,r.vPL)("https://s3.amazonaws.com/reltio.images/api",u):null,variant:"square",rootClasses:n})}},39878:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(64825),i=l(17440);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 c(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const s=e=>{const t=t=>{let{data:l}=t,s=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}(t,["data"]);const d=(0,a.useMemo)((()=>l&&(e=>{const t=(0,n.QK6)((0,i.pluck)("value",e),1);return e.map(((e,l)=>function(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){c(e,t,l[t])}))}return e}({},e,{percent:t[l]})))})(l)),[l]);return r().createElement(e,o({data:d},s))};return t.displayName="WithPercents",t}},59383:(e,t,l)=>{l.d(t,{d:()=>r});const a=(0,l(79692).Z)({clickable:{cursor:"pointer"}}),r=e=>{const t=a();return e?t.clickable:void 0}},11326:(e,t,l)=>{l.d(t,{a:()=>r});var a=l(24328);const r=e=>{const[t,l]=(0,a.useState)(!1),[r,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{e().then((e=>{n(e||{})})).then((e=>l(!0))).catch((e=>l(!0)))}),[]),{isLoaded:t,savedState:r}}},43129:(e,t,l)=>{l.d(t,{Z:()=>o});var a=l(24328),r=l.n(a),n=l(67358);const i=(0,l(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),o=()=>{const e=i();return r().createElement(n.Z,{color:"secondary",className:e.loader})}},5336:(e,t,l)=>{l.d(t,{Z:()=>u});var a=l(24328),r=l.n(a),n=l(87918),i=l.n(n),o=l(90436);function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",c({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg2791016623a)"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#0072CE",fillOpacity:".1"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().createElement("path",{opacity:".9",d:"M16.766 26.021a4.626 4.626 0 014.623-4.63h129.406a4.623 4.623 0 014.623 4.63v88.107a4.625 4.625 0 01-4.623 4.631H21.389a4.623 4.623 0 01-4.623-4.631V26.021z"})),r().createElement("path",{opacity:".5",d:"M141.553 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 46.313a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 01-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 46.19h37.054a2.029 2.029 0 010 4.057H47.102a2.028 2.028 0 110-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 53.725h67.006a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 58.941h21.62a.87.87 0 010 1.74h-21.62a.87.87 0 110-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M71.35 30.664H31.508a3.188 3.188 0 100 6.375H71.35a3.188 3.188 0 000-6.375z",fill:"#645F6D"}),r().createElement("path",{opacity:".5",d:"M141.553 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.318 2.315 2.315 0 002.311 2.319zM133.465 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.318 2.314 2.314 0 002.311 2.319z",fill:"#6DBCFF"}),r().createElement("path",{d:"M39.297 73.824a5.488 5.488 0 10-10.977 0v.035a5.488 5.488 0 0010.977 0v-.035z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 68.214h43.894a2.029 2.029 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 75.748h74.516a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 80.965h60.077a.87.87 0 010 1.739H45.943a.87.87 0 010-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M141.553 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 90.36a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 11-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 90.237h58.915a2.028 2.028 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 97.772h49.096a1.449 1.449 0 110 2.897H46.524a1.448 1.448 0 110-2.897z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 102.988h21.62a.87.87 0 010 1.739h-21.62a.87.87 0 110-1.739z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M102.927 64.75l44.536 77.139-58.989 34.057-44.536-77.14.405-.234c4.06 9.263 12.074 16.712 22.462 19.616 18.103 5.059 36.562-5.599 41.232-23.805 2.679-10.449.235-21.113-5.757-29.26l.647-.374z",fill:"url(#nodata__paint1_linear)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"url(#nodata__paint2_linear)"}),r().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M74.981 49.719c19.06 0 34.512 15.462 34.512 34.536a34.418 34.418 0 01-8.665 22.886l29.603 29.623a51.708 51.708 0 01-5.837 5.43l-29.705-29.725a34.338 34.338 0 01-19.908 6.322c-19.06 0-34.512-15.462-34.512-34.536S55.92 49.719 74.98 49.719zm0 10.265c-13.395 0-24.254 10.866-24.254 24.27 0 13.405 10.859 24.272 24.254 24.272 13.395 0 24.254-10.867 24.254-24.271S88.376 59.984 74.981 59.984z",fill:"#B5C8C9"}),r().createElement("path",{d:"M52.903 110.801c-7.598-6.335-12.434-15.876-12.434-26.546 0-19.074 15.451-34.536 34.512-34.536 10.663 0 20.197 4.839 26.528 12.442l-5.662 5.667c-4.862-6.175-12.401-10.14-20.866-10.14-14.662 0-26.548 11.895-26.548 26.567 0 8.47 3.962 16.015 10.132 20.88l-5.662 5.666z",fill:"#fff",fillOpacity:".4"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"#D9F5FF"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#000",fillOpacity:".87"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},d=(0,l(79692).Z)((()=>({noDataContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),u=e=>{let{height:t}=e;const l=d({height:t});return r().createElement("div",{className:l.noDataContainer},r().createElement(s,{className:l.icon}),r().createElement(o.Z,null,i().text("No Data")))}},65298:(e,t,l)=>{l.d(t,{Z:()=>c});var a=l(24328),r=l.n(a),n=l(1730),i=l(52388);const o=(0,l(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),c=e=>{let{id:t,children:l}=e;const a=o();return r().createElement(i.H.Provider,{value:t},r().createElement(n.Z,{className:a.view},l))}},52388:(e,t,l)=>{l.d(t,{H:()=>r});var a=l(24328);const r=l.n(a)().createContext(null);r.displayName="DashboardViewIdContext"},5260:(e,t,l)=>{let a;l.d(t,{o:()=>a}),function(e){e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(a||(a={}))},64662:(e,t,l)=>{l.r(t),l.d(t,{default:()=>sn});var a=l(24328),r=l.n(a),n=l(52730),i=l(33016),o=l(36138),c=l(64825),s=l(17440),d=l(87918),u=l.n(d),p=l(11326),f=l(7907),m=l(79002),h=l(89810),y=l(5260);const v=e=>{const[t,l]=(0,a.useState)(null);return(0,a.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 l(t)})).catch((()=>l(null)))}),[e]),t};var g=l(90436),E=l(79692);const b=(0,E.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"}}),x=e=>{let{title:t,children:l}=e;const a=b();return r().createElement("div",{className:a.root},r().createElement(g.Z,{variant:"body2",className:a.title},t),r().createElement("div",{className:a.content},l))};var O=l(17822);let w;!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"}(w||(w={}));var R=l(73487),N=l(78223),S=l(39878);const T=(e,t,l)=>({attributes:(t||[]).map(((t,a)=>{let{filter:r,fieldName:n,values:i}=t;return{data:{uri:null==l?void 0:l.uri,entityTypeUri:e,fieldName:n},filter:r,id:`attribute_${a}`,operator:"and",values:i}})),entityTypes:[e],id:"group",operator:"or"});let C,A;!function(e){e.STRING="string",e.FLOAT="float",e.INTEGER="integer",e.BOOLEAN="boolean",e.DATE="date",e.SSN="SSN",e.UNKNOWN="unknown"}(C||(C={})),function(e){e.ENTITY_TYPE="entityType",e.ATTRIBUTE_TYPE="attributeType"}(A||(A={}));const I={[A.ATTRIBUTE_TYPE]:[{id:"FillRateView",type:w.FILL_RATE_CHART,title:"Fill rate"},{id:"UniquenessAnalysisView",type:w.UNIQUENESS_CHART,title:u().text("Uniqueness analysis")},{id:"SummaryView",type:w.SUMMARY,title:u().text("Summary")},{id:"ValidationView",type:w.VALIDATION,title:u().text("Profiles with invalid data")},{id:"FrequencyAnalysis",type:w.FREQUENCY,title:u().text("Frequency analysis")},{id:"LengthStatistics",type:w.LENGTH,title:u().text("Length statistics")},{id:"PatternAnalysis",type:w.PATTERN,title:u().text("Pattern analysis")},{id:"CrosswalkAnalysis",type:w.CROSSWALK,title:u().text("Source system analysis")},{id:"MonthDistribution",type:w.MONTH_DISTRIBUTION,title:u().text("Month distribution")},{id:"DayOfWeekDistribution",type:w.DAY_OF_WEEK_DISTRIBUTION,title:u().text("Day of week distribution")},{id:"DayOfMonthDistribution",type:w.DAY_OF_MONTH_DISTRIBUTION,title:u().text("Day of month distribution")},{id:"ValueDistribution",type:w.VALUE_DISTRIBUTION,title:u().text("Value distribution")},{id:"UnsupportedDataType",type:w.UNSUPPORTED,title:u().text("Unsupported Data Type")}],[A.ENTITY_TYPE]:[{id:"SummaryView",type:w.SUMMARY,title:u().text("Summary")}]},M={[A.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"}],[C.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"}],[C.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"}],[C.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"}],[C.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"}],[C.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 D(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){_(e,t,l[t])}))}return e}function _(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const F=(0,s.map)((e=>D({},e,{localizedValue:u().number(e.value)}))),z=e=>(0,s.isNil)(e)?"":`(${e}%)`,L=e=>(0,s.isEmpty)(e)||!e.find((e=>{let{value:t}=e;return t>0})),P=(0,s.curry)(((e,t,l)=>({advanced:[T(t,l.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"}))),j=e=>t=>{let{detailedAttributeType:l,entityTypeUri:a,dvfs:r}=t;return(0,s.pipe)(e({fieldName:l.fieldName,entityTypeUri:a,dvfs:r}),P(l,a))},k=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 C.STRING;case c.oS0.TYPE_COUNT:case c.oS0.TYPE_DOLLAR:case c.oS0.TYPE_INT:case c.oS0.TYPE_LONG:return C.INTEGER;case c.oS0.TYPE_FLOAT:case c.oS0.TYPE_DOUBLE:case c.oS0.TYPE_NUMBER:return C.FLOAT;case c.oS0.TYPE_BOOLEAN:case c.oS0.TYPE_RDM_LOOKUPS_NOT_RESOLVED:return C.BOOLEAN;case c.oS0.TYPE_ACTIVENESS_DATE:case c.oS0.TYPE_DATE:case c.oS0.TYPE_LOCAL_DATE:case c.oS0.TYPE_TIMESTAMP:return C.DATE;case c.oS0.TYPE_SSN:return C.SSN;default:return C.UNKNOWN}},B=e=>{let{percent:t,value:l}=e;return D({width:`${t}%`},l>0&&{minWidth:"3px"})},U=(0,s.pipe)((0,s.pluck)("percent"),(e=>Math.max(...e)));var V=l(71153),H=l.n(V);const Z=(0,E.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}}),G=e=>{let{payload:t}=e;const l=Z();return r().createElement("div",{className:H()(l.wrapper)},t.map((e=>r().createElement("div",{key:e.id,className:l.item},r().createElement("div",{style:{background:e.color},className:l.itemColor}),e.value))))},Y=(0,E.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 W(){return W=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},W.apply(this,arguments)}const q=(0,a.forwardRef)(((e,t)=>{let{className:l}=e,a=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"]);const n=Y();return r().createElement("div",W({className:H()(n.bar,l)},a,{ref:t}))}));q.displayName="Bar";const $=q,Q=(0,E.Z)({label:{whiteSpace:"nowrap",paddingRight:"9px"},infoDataLabel:{fontWeight:700},chartDataLabel:{color:"rgba(255, 255, 255, 0.75)"}}),K=e=>{let{label:t,value:l}=e;const a=Q();return r().createElement(r().Fragment,null,t&&r().createElement("span",{className:H()(a.label,a.chartDataLabel)},t),l)},X=(0,E.Z)({tooltipWrapper:{fontSize:"10px",fontWeight:400,lineHeight:"12px",color:"#FFFFFF"},title:{padding:"2px 0"},row:{padding:"2px 0"}}),J=e=>{let{data:t,title:l,DataRenderer:a=K}=e;const n=X();return r().createElement("div",{className:n.tooltipWrapper},l&&r().createElement("div",{className:n.title},l),t.map(((e,t)=>r().createElement("div",{key:t,className:n.row},r().createElement(a,e)))))};function ee(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){te(e,t,l[t])}))}return e}function te(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const le=(0,N.Z)($),ae=e=>{let{label:t,value:l,percent:a}=e;return[{label:t,value:`${u().number(l)} ${z(a)}`}]},re=(0,S.Z)((e=>{let{data:t,colors:l,onItemClick:a}=e;const n=Y(),i=a&&(e=>a(e)),o=!!a;return r().createElement("div",{className:n.root},r().createElement("div",{className:n.stackedBar},t.map(((e,t)=>r().createElement(le,{className:o&&n.clickable,key:e.label,tooltipTitle:r().createElement(J,{data:ae(e)}),style:ee({},B(e),{background:l[t]}),onClick:()=>i(e.group)})))),r().createElement("div",{className:n.legendWrapper},r().createElement(R.De,{layout:"vertical",align:"left",verticalAlign:"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"100%",maxWidth:"100%"},content:r().createElement(G,null),payload:(t||[]).map(((e,t)=>{let{group:a,label:i,value:o,percent:s}=e;return{id:a,type:"square",color:l[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)} ${z(s)}`))}}))})))}));var ne=l(17998),ie=l(39475),oe=l(82726);const ce=(0,E.Z)((()=>({root:{padding:"0px 16px"},title:{fontSize:"16px",marginRight:"5px",lineHeight:"24px"},infoIcon:{position:"relative"}}))),se=e=>{let{title:t,infoTooltipTitle:l,children:a}=e;const n=ce(!!a),i=!!l;return r().createElement(ne.Z,{title:t,className:n.root,classes:{title:n.title}},i&&r().createElement(ie.k,{icon:oe.Z,size:"XXS",tooltipTitle:l,className:n.infoIcon}),a)};var de=l(44443),ue=l(7882),pe=l(82068),fe=l(43129);function me(){return me=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},me.apply(this,arguments)}const he=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",me({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg3921418370a",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(#svg3921418370a)"},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:"dq_error_paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"}))))};function ye(){return ye=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},ye.apply(this,arguments)}const ve=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",ye({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),r().createElement("mask",{id:"svg3012965951a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),r().createElement("g",{mask:"url(#svg3012965951a)"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.094h88V88H0V3.094z",fill:"url(#paint0_linear_3488_10676)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M14.975 15.469H93.4v60.663H14.975V15.47z",fillOpacity:".8"}),r().createElement("path",{d:"M9.969 15.472a2.75 2.75 0 012.749-2.753h76.944a2.749 2.749 0 012.749 2.753V67.86a2.75 2.75 0 01-2.749 2.754H12.718a2.749 2.749 0 01-2.75-2.754V15.472z"})),r().createElement("ellipse",{opacity:".5",cx:"84.166",cy:"28.916",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("ellipse",{opacity:".5",cx:"79.357",cy:"28.916",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.839 30.81a3.272 3.272 0 013.263-3.273 3.272 3.272 0 013.264 3.274 3.272 3.272 0 01-3.264 3.274 3.272 3.272 0 01-3.263-3.274z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 28.67c0-.666.54-1.206 1.207-1.206h22.032a1.206 1.206 0 010 2.413H28.007c-.667 0-1.207-.54-1.207-1.206z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 32.806c0-.476.386-.862.862-.862h39.842a.862.862 0 010 1.723H27.662a.862.862 0 01-.861-.861z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 35.563c0-.286.232-.517.517-.517h12.855a.517.517 0 110 1.034H27.318a.517.517 0 01-.518-.517z",fill:"#B1AABD"}),r().createElement("rect",{opacity:".5",x:"16.839",y:"18.232",width:"27.481",height:"3.791",rx:"1.895",fill:"#645F6D"}),r().createElement("ellipse",{opacity:".5",cx:"84.166",cy:"42.011",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("ellipse",{opacity:".5",cx:"79.357",cy:"42.011",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("rect",{x:"16.839",y:"40.632",width:"6.527",height:"6.548",rx:"3.263",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 41.766c0-.666.54-1.206 1.207-1.206h26.099a1.206 1.206 0 110 2.412h-26.1c-.666 0-1.206-.54-1.206-1.206z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 45.901c0-.476.386-.861.862-.861H71.97a.861.861 0 110 1.723H27.662a.862.862 0 01-.861-.862z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 48.658c0-.285.232-.517.517-.517H63.04a.517.517 0 010 1.034H27.318a.517.517 0 01-.518-.517z",fill:"#B1AABD"}),r().createElement("ellipse",{opacity:".5",cx:"84.166",cy:"55.106",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("ellipse",{opacity:".5",cx:"79.357",cy:"55.106",rx:"1.374",ry:"1.378",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.839 57.001a3.272 3.272 0 013.263-3.273A3.272 3.272 0 0123.366 57a3.272 3.272 0 01-3.264 3.274 3.272 3.272 0 01-3.263-3.274z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 54.86c0-.665.54-1.205 1.207-1.205h35.03a1.206 1.206 0 110 2.412h-35.03c-.667 0-1.207-.54-1.207-1.206z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 58.996c0-.476.386-.861.862-.861h29.193a.861.861 0 110 1.723H27.662a.862.862 0 01-.861-.862z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M26.8 61.753c0-.285.232-.517.517-.517h12.855a.517.517 0 010 1.034H27.318a.517.517 0 01-.518-.517z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M64.238 56.12a19.717 19.717 0 01-24.516 14.154c-6.177-1.727-10.942-6.156-13.356-11.663l-.241.14 26.481 45.866 35.075-20.25L61.2 38.5l-.385.222c3.563 4.844 5.016 11.185 3.423 17.398z",fill:"url(#paint1_linear_3488_10676)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M33.506 61.612a15.576 15.576 0 0022.363 0c6.175-6.31 6.175-16.54 0-22.849a15.576 15.576 0 00-22.363 0c-6.175 6.31-6.175 16.54 0 22.849z",fill:"url(#paint2_linear_3488_10676)"}),r().createElement("g",{filter:"url(#filter0_d_3488_10676)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M65.104 50.097c0 5.22-1.946 9.985-5.152 13.608L77.553 81.32a30.71 30.71 0 01-3.47 3.229L56.42 66.874a20.417 20.417 0 01-11.838 3.759c-11.333 0-20.52-9.194-20.52-20.535 0-11.342 9.187-20.535 20.52-20.535 11.334 0 20.521 9.193 20.521 20.534zm-6.1 0c0 7.97-6.456 14.432-14.42 14.432-7.965 0-14.422-6.461-14.422-14.431 0-7.97 6.457-14.432 14.421-14.432 7.965 0 14.422 6.461 14.422 14.431z",fill:"#B5C8C9"}),r().createElement("path",{d:"M31.456 65.882c-4.518-3.767-7.393-9.44-7.393-15.785 0-11.34 9.187-20.535 20.52-20.535 6.34 0 12.01 2.878 15.773 7.399L56.99 40.33A15.753 15.753 0 0044.583 34.3c-8.718 0-15.785 7.072-15.785 15.796 0 5.037 2.356 9.523 6.024 12.416l-3.366 3.369z",fill:"#fff",fillOpacity:".4"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.506 61.612a15.576 15.576 0 0022.363 0c6.175-6.31 6.175-16.54 0-22.849a15.576 15.576 0 00-22.363 0c-6.175 6.31-6.175 16.54 0 22.849z",fill:"#D9F5FF"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.586 54.565c0-1.35.152-2.416.458-3.198.305-.781.8-1.46 1.484-2.033.685-.573 1.205-1.098 1.561-1.575a2.57 2.57 0 00.534-1.574c0-1.397-.6-2.096-1.803-2.096-.555 0-1.004.204-1.346.611-.343.407-.523.957-.541 1.651h-4.69c.018-1.85.6-3.29 1.748-4.322 1.147-1.031 2.757-1.547 4.829-1.547 2.062 0 3.66.476 4.794 1.43 1.133.952 1.7 2.307 1.7 4.065 0 .767-.153 1.466-.459 2.095-.305.629-.795 1.272-1.47 1.928l-1.596 1.485c-.453.435-.768.881-.944 1.339-.175.458-.273 1.038-.291 1.741h-3.968zm-.57 4.218c0-.684.248-1.246.743-1.685.495-.44 1.112-.66 1.852-.66s1.358.22 1.853.66c.495.439.742 1.001.742 1.685 0 .685-.247 1.247-.742 1.686-.495.44-1.112.66-1.853.66-.74 0-1.357-.22-1.852-.66-.495-.439-.742-1.001-.742-1.686z",fill:"#000",fillOpacity:".871"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.586 54.565c0-1.35.152-2.416.458-3.198.305-.781.8-1.46 1.484-2.033.685-.573 1.205-1.098 1.561-1.575a2.57 2.57 0 00.534-1.574c0-1.397-.6-2.096-1.803-2.096-.555 0-1.004.204-1.346.611-.343.407-.523.957-.541 1.651h-4.69c.018-1.85.6-3.29 1.748-4.322 1.147-1.031 2.757-1.547 4.829-1.547 2.062 0 3.66.476 4.794 1.43 1.133.952 1.7 2.307 1.7 4.065 0 .767-.153 1.466-.459 2.095-.305.629-.795 1.272-1.47 1.928l-1.596 1.485c-.453.435-.768.881-.944 1.339-.175.458-.273 1.038-.291 1.741h-3.968zm-.57 4.218c0-.684.248-1.246.743-1.685.495-.44 1.112-.66 1.852-.66s1.358.22 1.853.66c.495.439.742 1.001.742 1.685 0 .685-.247 1.247-.742 1.686-.495.44-1.112.66-1.853.66-.74 0-1.357-.22-1.852-.66-.495-.439-.742-1.001-.742-1.686z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear_3488_10676",x1:"0",y1:"3.094",x2:"0",y2:"88",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear_3488_10676",x1:"80.612",y1:"63.908",x2:"46.465",y2:"59.596",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:".01"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"paint2_linear_3488_10676",x1:"28.875",y1:"34.031",x2:"28.875",y2:"66.344",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"filter0_d_3488_10676",x:"20.063",y:"27.563",width:"61.491",height:"62.985",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",result:"hardAlpha"}),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_3488_10676"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3488_10676",result:"shape"}))))};var ge=l(77277),Ee=l(43266);const be=(0,E.Z)((e=>({container:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",padding:0,"&>svg":{paddingTop:0,height:t>=170?"88px":"40px",width:t>=170?"88px":"40px",marginBottom:"14px"}}},errorMessage:{padding:"0 24px",fontSize:"12px",textAlign:"center",whiteSpace:"pre-wrap"},errorTitle:{padding:"0 24px",fontSize:"13px",textAlign:"center",color:"rgba(0,0,0,0.87)",whiteSpace:"pre-wrap"},refreshButton:{color:e.palette.primary.main},refreshIcon:{width:"24px",height:"24px"}}))),xe=r().createElement(he,null),Oe=e=>{let{onRefresh:t,height:l,errorData:a={}}=e;const{icon:n=xe,message:i,title:o}=a,c=be({height:l});return r().createElement("div",{className:c.container},n,o&&r().createElement(g.Z,{className:c.errorTitle},o),i&&r().createElement(g.Z,{className:c.errorMessage},i),!!t&&r().createElement(ge.Z,{className:c.refreshButton,startIcon:r().createElement(Ee.Z,{color:"primary",className:c.refreshIcon}),onClick:t},r().createElement(g.Z,{variant:"button"},u().text("Refresh"))))},we=(0,E.Z)({container:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",padding:0,"&>svg":{paddingTop:0,height:t>=170?"88px":"32px",width:t>=170?"88px":"32px",marginBottom:"14px"}}},message:{padding:"0 24px",fontSize:"12px",textAlign:"center",whiteSpace:"pre-wrap"},title:{padding:"0 24px",fontSize:"13px",textAlign:"center",color:"rgba(0,0,0,0.87)",whiteSpace:"pre-wrap"}}),Re=r().createElement(ve,null),Ne=e=>{let{height:t,data:l={}}=e;const{icon:a=Re,message:n,title:i}=l,o=we({height:t});return r().createElement("div",{className:o.container},a,i&&r().createElement(g.Z,{className:o.title},i),n&&r().createElement(g.Z,{className:o.message},n))},Se=(0,E.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}}))),Te=e=>{let{loadingState:t,onRefresh:l,children:a,data:n,className:i}=e;const o=Se();return r().createElement(pe.Z,{className:H()(o.viewContent,i)},r().createElement(de.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:i,height:o}=e;switch(t){case y.o.LOADED:return n&&0!==n.length?r().createElement(ue.Z,{error:r().createElement(Oe,{errorData:{message:u().text("Something went wrong")},height:o})},a({data:n,width:i,height:o})):r().createElement(Ne,{height:o,data:{icon:r().createElement(ve,null),message:u().text("Go ahead and load some data. We’ll put it on the scales and let you know here if it measures up."),title:u().text("Give us something to go on!")}});case y.o.LOADING:return r().createElement(fe.Z,null);case y.o.ERROR:return r().createElement(Oe,{errorData:{icon:r().createElement(he,null),message:u().text("No need to fret - just refresh and it will work itself out."),title:u().text("Oops! We ran into a problem.")},height:o,onRefresh:l});default:return r().createElement("div",null,"Loading...")}})))};var Ce=l(1730);const Ae=(0,E.Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),Ie=e=>{let{config:t,children:l}=e;const a=Ae(),{type:n}=t;return r().createElement(Ce.Z,{className:a.view,"data-reltio-id":`reltio-dq-dashboard-chart-${n}`},l)},Me=e=>{let{label:t,value:l}=e;const a=Q();return r().createElement(r().Fragment,null,t&&r().createElement("span",{className:H()(a.label,a.infoDataLabel)},t),l)},De={[c.s9T.MISSING]:"#CE5C00",[c.s9T.EXISTS]:"#C4CE00"},_e=(0,s.map)((e=>{let{group:t}=e;return De[t]||(0,c.f4_)(t)})),Fe=e=>({[c.s9T.MISSING]:u().text("Missing"),[c.s9T.EXISTS]:u().text("Exists")}[e]||e),ze=(0,s.pipe)(Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:Fe(t),group:t,value:l}})),(0,s.sortBy)((e=>Object.values(c.s9T).indexOf(e.group))),F),Le=e=>Object.keys(e).reduce(((t,l)=>(t[l]=ze(e[l]),t)),{}),Pe=(0,s.propOr)({},"fillRate"),je=(0,s.pipe)(Pe,ze,(0,s.when)(L,(0,s.always)([])),(0,s.converge)(((e,t)=>({chartData:e,colors:t})),[s.identity,_e])),ke=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:t===c.s9T.EXISTS?c.j5E.EXISTS:c.j5E.MISSING_VALUE,fieldName:l}]})),Be=j(ke),Ue=r().createContext(null);Ue.displayName="ChartsDataContext";const Ve=e=>{const{data:t,state:l,reload:r}=(0,a.useContext)(Ue);return{data:(0,a.useMemo)((()=>e(t)),[t,e]),state:l,reload:r}},He=r().createContext(null);He.displayName="DetailedAttributeTypeContext";const Ze=r().createContext(null);Ze.displayName="EntityTypeContext";const Ge=e=>{const t=(0,n.useDispatch)(),l=(0,a.useContext)(He),r=(0,a.useContext)(Ze);return(0,s.pipe)(e({detailedAttributeType:l,entityTypeUri:r.uri}),h.ui.actions.openSearch,t)},Ye=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:n,reload:i}=Ve(je),{chartData:o,colors:c}=a,s=Ge(Be),d=r().createElement(J,{title:u().text("Fill rate"),data:[{label:`${u().text("Exists")}:`,value:u().text("Profiles with data")},{label:`${u().text("Missing")}:`,value:u().text("Profiles without data")}],DataRenderer:Me});return r().createElement(Ie,{config:t},r().createElement(se,{title:l,infoTooltipTitle:d}),r().createElement(Te,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(re,{data:t,colors:c,onItemClick:s})})))},We={[c.dC6.UNIQUE]:"#4BAFFF",[c.dC6.NOT_UNIQUE]:"#C34980"},qe=(0,s.map)((e=>{let{group:t}=e;return We[t]||(0,c.f4_)(t)})),$e=e=>({[c.dC6.UNIQUE]:u().text("Unique"),[c.dC6.NOT_UNIQUE]:u().text("Not unique")}[e]||e),Qe=(0,s.pipe)(Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:$e(t),group:t,value:l}})),(0,s.sortBy)((e=>Object.values(c.dC6).indexOf(e.group))),F),Ke=(0,s.propOr)({},"uniqueness"),Xe=(0,s.pipe)(Ke,Qe,(0,s.when)(L,(0,s.always)([])),(0,s.converge)(((e,t)=>({chartData:e,colors:t})),[s.identity,qe])),Je=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:n,reload:i}=Ve(Xe),{chartData:o,colors:c}=a,s=r().createElement(J,{title:u().text("Uniqueness analysis"),data:[{label:`${u().text("Unique")}:`,value:u().text("Number of values that only appear once and have no duplicates")},{label:`${u().text("Not unique")}:`,value:u().text("Number of values that have at least one duplicate in the list")}],DataRenderer:Me});return r().createElement(Ie,{config:t},r().createElement(se,{title:l,infoTooltipTitle:s}),r().createElement(Te,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(re,{data:t,colors:c})})))};var et=l(4614),tt=l(80030),lt=l(7089);const at=(e,t)=>(e||[]).some((0,s.propEq)("attribute",t)),rt=e=>[c.oS0.TYPE_FLOAT,c.oS0.TYPE_DOUBLE,c.oS0.TYPE_NUMBER].includes(e);let nt;function it(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){ot(e,t,l[t])}))}return e}function ot(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}!function(e){e.INCLUDED_IN_MATCHING="includedInMatching",e.CONTAIN_VF="containVF",e.REQUIRED="required",e.REFERENCE="reference",e.RDM_LOOKUP="RDMLookup"}(nt||(nt={}));const ct=(0,s.curry)(((e,t)=>e.some((e=>t.details[e.value])))),st=(0,s.curry)(((e,t)=>{var l;return 0===e.length||ct(e,t)||(null===(l=t.children)||void 0===l?void 0:l.some((t=>st(e,t))))})),dt=(0,s.curry)(((e,t)=>{var l;const a=e[t.fieldName];return null==a||null===(l=a.find((0,s.propEq)("group",c.s9T.EXISTS)))||void 0===l?void 0:l.value})),ut=(0,s.curry)(((e,t)=>{var l;const a=e[t.fieldName];return!(null!=a&&null!==(l=a.find((0,s.propEq)("group",c.s9T.EXISTS)))&&void 0!==l&&l.value)})),pt=(0,s.curry)((function(e,t){var l;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=t.fieldName||(0,c.Tde)(t.uri,a);return ut(e,it({},t,{fieldName:r}))||(null===(l=t.children)||void 0===l?void 0:l.some((l=>pt(e,l,a.concat({name:t.name,label:t.label})))))})),ft=(0,s.curry)(((e,t)=>t.reduce(((t,l)=>{const a=((e,t)=>{var l;return null===(l=e.label||e.name)||void 0===l?void 0:l.toLowerCase().includes(t.toLowerCase())})(l,e),r=a?l.children||[]:ft(e,l.children||[]);return(a||r.length)&&t.push(Object.assign({},l,r.length&&{children:r})),t}),[])));function mt(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){ht(e,t,l[t])}))}return e}function ht(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const yt=e=>{let{attrTypeItem:t,dvf:l=[],matchAttributes:a=[]}=e;const{uri:r,required:n,isAttributeReference:i}=t;return{[nt.INCLUDED_IN_MATCHING]:a.includes(r),[nt.CONTAIN_VF]:at(l,r),[nt.REQUIRED]:!!n,[nt.REFERENCE]:i,[nt.RDM_LOOKUP]:(0,c.lS4)(t)}},vt=e=>({[nt.INCLUDED_IN_MATCHING]:u().text("Included in match rule"),[nt.CONTAIN_VF]:u().text("Has validation functions"),[nt.REQUIRED]:u().text("Required"),[nt.REFERENCE]:u().text("Reference attribute"),[nt.RDM_LOOKUP]:u().text("RDM")}[e]||e),gt=(0,s.curry)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return(0,s.pipe)((0,s.chain)((e=>{const r=e.children?gt(e.children,t.concat({name:e.name,label:e.label}),l||(0,c.YkG)(e),a+1):[];return[{attributeItem:mt({},e,{fieldName:(0,c.Tde)(e.uri,t),isAttributeReference:(0,c.YkG)(e)||l}),level:a},...r]})))(e)}));function Et(){return Et=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},Et.apply(this,arguments)}const bt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Et({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 xt(){return xt=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},xt.apply(this,arguments)}const Ot=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",xt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 wt(){return wt=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},wt.apply(this,arguments)}const Rt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",wt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Nt(){return Nt=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},Nt.apply(this,arguments)}const St=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Nt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Tt(){return Tt=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},Tt.apply(this,arguments)}const Ct=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Tt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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"}))},At=(0,E.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}},loading:{"& circle":{fill:"#AAAAAA"}},badQuality:{"& circle":{fill:"#FF1744"}}}),It={SMALL:{width:22,height:22},NORMAL:{width:24,height:24}};let Mt;!function(e){e.LOADING="loading",e.BAD_QUALITY="badQuality",e.NORMAL="normal"}(Mt||(Mt={}));const Dt=e=>{let{detailType:t,size:l=It.NORMAL,variant:a=Mt.NORMAL}=e;const n=At(l),i=H()(n.icon,n[a]);switch(t){case nt.RDM_LOOKUP:return r().createElement(Rt,{className:i});case nt.CONTAIN_VF:return r().createElement(bt,{className:i});case nt.INCLUDED_IN_MATCHING:return r().createElement(Ot,{className:i});case nt.REFERENCE:return r().createElement(St,{className:i});case nt.REQUIRED:return r().createElement(Ct,{className:i});default:return null}},_t=(0,E.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 Ft(){return Ft=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},Ft.apply(this,arguments)}function zt(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){Lt(e,t,l[t])}))}return e}function Lt(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Pt=e=>{let{detailType:t,classes:l}=e,n=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,["detailType","classes"]);const i=_t(),{data:o,state:s}=(0,a.useContext)(Ue);let d=Mt.NORMAL;const u=s===y.o.LOADING,p=(e=>{var t;return 0===(null==e||null===(t=e.fillRate)||void 0===t?void 0:t[c.s9T.MISSING])})(o);return t===nt.REQUIRED&&(u&&(d=Mt.LOADING),u||p||(d=Mt.BAD_QUALITY)),r().createElement(lt.Z,Ft({classes:zt({root:H()(i.root,{[i.badQuality]:t===nt.REQUIRED&&!u&&s!==y.o.INIT&&!p}),label:i.label},l),label:vt(t),icon:r().createElement(Dt,{detailType:t,variant:d})},n))},jt=(0,E.Z)({root:{display:"flex",flexWrap:"wrap",flexGrow:1}}),kt=e=>{let{details:t,chipClasses:l={}}=e;const a=jt();return r().createElement("div",{className:a.root},Object.entries(t||{}).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return r().createElement(Pt,{key:t,detailType:t,classes:l})})))},Bt=(0,E.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"}}),Ut=e=>{let{title:t,children:l,className:a}=e;const n=Bt();return r().createElement("div",{className:H()(n.info,a)},r().createElement("div",{className:n.infoTitle},t),r().createElement("div",{className:n.infoContent},l))};function Vt(){return Vt=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},Vt.apply(this,arguments)}const Ht=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Vt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Zt(){return Zt=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},Zt.apply(this,arguments)}const Gt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Zt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Yt(){return Yt=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},Yt.apply(this,arguments)}const Wt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Yt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 qt(){return qt=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},qt.apply(this,arguments)}const $t=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",qt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Qt(){return Qt=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},Qt.apply(this,arguments)}const Kt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Qt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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 Xt(){return Xt=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},Xt.apply(this,arguments)}const Jt=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Xt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),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"})))},el=(0,E.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}}}),tl={SMALL:{width:16,height:16},NORMAL:{width:24,height:24}},ll=e=>{let{type:t,size:l=tl.SMALL}=e;const a=el(l);switch(k(t)){case C.STRING:return r().createElement(Jt,{className:a.icon});case C.FLOAT:return r().createElement(Wt,{className:a.icon});case C.INTEGER:return r().createElement($t,{className:a.icon});case C.BOOLEAN:return r().createElement(Ht,{className:a.icon});case C.DATE:return r().createElement(Gt,{className:a.icon});case C.SSN:return r().createElement(Kt,{className:a.icon});default:return r().createElement(Jt,{className:a.icon})}},al=e=>{let{detailedAttributeType:t}=e;const l=Bt(),n=(e=>{const[t,l]=(0,a.useState)(null),r=(0,a.useContext)(Ze);return(0,a.useEffect)((()=>{if(r.uri&&e){const t={filter:c.j5E.EXISTS,fieldName:e},a={filter:c.j5E.EQUALS,fieldName:"type",values:[r.uri]};l(null),(0,c.j_Q)([t,a]).then((e=>{let{total:t}=e;l(t)}))}}),[r.uri,e]),t})(t.fieldName),i=null===n?r().createElement(et.Z,{size:"24",className:l.totalLoading}):(0,c.k7L)(n);return r().createElement("div",null,r().createElement("div",{className:l.header},r().createElement(Ut,{title:u().text("Profiles"),className:l.attributeTypeSummary},r().createElement(tt.ZP,{title:r().createElement(J,{data:[{label:u().text("Entities with exists attribute"),value:u().number(n)}]})},r().createElement("div",null,i))),r().createElement(Ut,{title:u().text("Data type"),className:l.attributeTypeSummary},(o=t.type,r().createElement(r().Fragment,null,r().createElement("div",{className:l.attributeTypeIconWrapper},r().createElement(ll,{type:o,size:tl.NORMAL})),u().text(o))))),r().createElement(kt,{details:t.details}));var o},rl=e=>{let{entityType:t}=e;const{data:l,state:i}=(0,a.useContext)(Ue),o=((e,t)=>{const l=t.attributes||[],a=t=>t.filter(c.Uty).filter((0,s.either)((0,s.prop)("label"),(0,s.prop)("name"))).reduce(((t,l)=>{const r=(0,c.EUG)(e,l);return null!=r&&r.length?[...t,l,...a(r)]:[...t,l]}),[]);return a(l).length})((0,n.useSelector)(h.ZP.selectors.getMetadata),t),{activeProfiles:d=0,inactiveProfiles:p=0,sourceSystems:f=0}=(null==l?void 0:l.summary)||{},m=e=>i===y.o.LOADING?r().createElement(et.Z,{size:"24",className:v.totalLoading}):u().number(e),v=Bt();return r().createElement("div",{className:v.header},r().createElement(Ut,{title:u().text("Active profiles"),className:v.entitySummary},m(d)),r().createElement(Ut,{title:u().text("Inactive profiles"),className:v.entitySummary},m(p)),r().createElement(Ut,{title:u().text("Attributes"),className:v.entitySummary},u().number(o)),r().createElement(Ut,{title:u().text("Source systems"),className:v.entitySummary},m(f)))},nl=r().createContext(null);nl.displayName="DataLevelContext";const il=(0,E.Z)({content:{padding:"0 16px",marginTop:"4px"}}),ol=e=>{let{config:t}=e;const l=il(),n=(0,a.useContext)(He),i=(0,a.useContext)(nl),o=(0,a.useContext)(Ze),s=i===A.ATTRIBUTE_TYPE,d=s?(0,c.idV)(n.label):(0,c.idV)(o.label);return r().createElement(Ie,{config:t},r().createElement(se,{title:d}),r().createElement(pe.Z,{className:l.content},s?r().createElement(al,{detailedAttributeType:n}):r().createElement(rl,{entityType:o})))};var cl=l(65298);const sl=(0,E.Z)({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}});function dl(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){ul(e,t,l[t])}))}return e}function ul(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const pl=r().createElement(he,null),fl=e=>{let{config:t,errorData:l,titleChildren:a,infoTooltipTitle:n,onRefresh:i}=e;const{id:o,title:c}=t,s=sl();return r().createElement(cl.Z,{id:o},r().createElement(se,{title:c,infoTooltipTitle:n},a),r().createElement(pe.Z,{className:s.viewContent},r().createElement(de.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},r().createElement(Oe,{errorData:dl({icon:pl},l),onRefresh:i}))))},ml=e=>{let{keyword:t,entityTypeUri:l}=e;return{keyword:{value:t,isRawFilter:!0},advanced:[T(l)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}},hl=e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return ml({keyword:`${c.j5E.EQUALS}(${t}, ${l})`,entityTypeUri:a})};function yl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const vl=e=>(0,s.pipe)((0,s.propOr)({},e),Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),F),gl=e=>{let{sortDirection:t,sortField:l}=e;return(e,a)=>"asc"===t?e[l]>a[l]?1:-1:e[l]<a[l]?1:-1},El=(0,s.curry)(((e,t)=>t.filter((t=>e.find((0,s.propEq)("uri",t.group)))).map((t=>{const l=e.find((0,s.propEq)("uri",t.group)).name;return function(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){yl(e,t,l[t])}))}return e}({},t,{label:l,group:l})})))),bl=vl("frequency"),xl=vl("pattern"),Ol=e=>[{filter:c.j5E.EQUALS,values:[[e]],fieldName:"analyticsAttributes.AttributeValidations.FunctionName"}],wl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}`,value:t,entityTypeUri:a})})),Rl=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:c.j5E.ON,values:[t],fieldName:l}]})),Nl=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:c.j5E.EQUALS,values:[[t]],fieldName:l}]})),Sl=e=>{let{detailedAttributeType:t,entityTypeUri:l}=e;return(0,s.cond)([[c.j5n,(0,s.always)(wl)],[c.Lt4,(0,s.always)(j(Rl))],[s.identity,(0,s.always)(j(Nl))]])(t.type)({detailedAttributeType:t,entityTypeUri:l,dvfs:[]})},Tl=j((()=>Ol)),Cl=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.pattern`,value:`"${t}"`,entityTypeUri:a})}));var Al=l(79573),Il=l(45108),Ml=l(92332),Dl=l(83088);const _l=(0,s.pipe)((0,s.split)("|"),(e=>{let[t,l]=e;return{label:t,percent:l}})),Fl={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"},zl=(0,E.Z)((e=>({colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",padding:"5px 0 6px",height:"100%",boxSizing:"border-box","&>span>div":{opacity:1,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:{height:"100%",lineHeight:"47px","&>div":{padding:"0 10px 0 16px",display:"flex"},"&>div>span":{width:"100%",flexGrow:1,justifyContent:e=>e?"flex-start":"flex-end",flexDirection:e=>e?"row":"row-reverse",marginLeft:e=>e&&"auto!important"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",whiteSpace:"nowrap",overflow:"hidden","&:after":Fl},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":Fl},tooltipValue:{whiteSpace:"pre-wrap"}})));function Ll(){return Ll=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},Ll.apply(this,arguments)}function Pl(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){jl(e,t,l[t])}))}return e}function jl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const kl=e=>{let{className:t,headCellData:l,headIndex:a}=e,n=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","headCellData","headIndex"]);const i=zl(!a),{label:o,percent:c}=_l(l.label),s=!!c,d=r().createElement(Dl.C,{value:o},r().createElement("div",{className:i.headLabel},o));return r().createElement("div",{className:H()(i.headCell,t)},r().createElement(Ml.default,Ll({},n,{headCellData:Pl({},l,{label:s?r().createElement("div",{className:i.labelPercantageWrapper},r().createElement("div",{className:i.labelWrapper},d),r().createElement("div",{className:i.percentsWrapper},r().createElement("span",{className:i.percentLabel},"0%"),r().createElement("span",{className:i.percentLabel},c,"%"))):d})})))};var Bl=l(59383),Ul=l(30488);const Vl=(0,Ul.Z)(((e,t)=>{let{onItemClick:l}=e,{rowValue:{group:a}}=t;return{onClick:l&&(()=>{l(a)})}}))((e=>{let{value:t="",columnData:l,rowValue:a,onClick:n}=e;const{attributeCellClassName:i,LabelRenderer:o}=l,s=zl(),d=(0,Bl.d)(n),u=r().createElement("div",{className:s.tooltipValue},t),p=!!o;return r().createElement(Dl.C,{value:u},r().createElement("div",{className:H()(s.attribute,d,i),onClick:n},p?r().createElement(o,{chartData:a}):c.P6Y.strings.removeLineBreaks(t)))}));var Hl=l(89902);const Zl=(0,N.Z)((e=>{let{value:t,maxValue:l,className:a}=e;return r().createElement(Hl.Z,{width:t,maxWidth:l,className:a})})),Gl=(0,Ul.Z)(((e,t)=>{let{onItemClick:l,valueHeader:a,labelHeader:r}=e,{rowValue:{group:n}}=t;return{onClick:l&&(()=>{l(n)}),valueHeader:a,labelHeader:r}}))((e=>{let{value:t,columnData:{maxValue:l},rowValue:{percent:a,label:n},labelHeader:i,valueHeader:o,onClick:d}=e;const p=zl(),f=(0,Bl.d)(d),m=r().createElement("span",{className:p.tooltipValue},n),h=0===t?"0":`${(0,c.k7L)(t,999)} ${z(a)}`,y=r().createElement(J,{data:[{label:i,value:m},{label:o,value:`${u().number(t)} ${z(a)}`}]});return r().createElement("div",{className:H()(p.numberContainer,f),onClick:d},r().createElement(g.Z,{className:p.numberWhithPercent},h),!(0,s.isNil)(l)&&r().createElement("div",{className:p.colorBarContainer},r().createElement(Zl,{value:t,maxValue:l,tooltipTitle:y,className:p.bar,showForDisabled:!0})))})),Yl=(0,E.Z)({tableContainer:e=>{let{width:t,height:l}=e;return{height:l,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none!important"}});function Wl(){return Wl=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},Wl.apply(this,arguments)}const ql=e=>{let{width:t,height:l,data:n,options:i={},basicTableRef:o,onItemClick:c,labelCellClassName:s}=e,d=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,["width","height","data","options","basicTableRef","onItemClick","labelCellClassName"]);const p=Yl({width:t,height:l}),{headers:[f,m]=[],showCountLabels:h=!1,showValues:y=!0,sortable:v=!1,LabelRenderer:g}=i,E=(0,a.useMemo)((()=>({cellBorder:p.cellBorder})),[p]),b=(0,a.useMemo)((()=>Math.max(...n.map((e=>e.value)))),[n]),x=(0,a.useMemo)((()=>{const e=U(n),t=m||u().text("No of Profiles");return e?t.concat(`|${e}`):t}),[n,m]),O=h?`${f} (${n.length})`:f,w=(0,a.useMemo)((()=>[{id:"label",label:O,resizable:!1,headCellRenderer:kl,attributeCellClassName:s,rowCellValueRenderer:Vl,initialWidth:.4*t,sortable:v,LabelRenderer:g},...y?[{id:"value",label:x,resizable:!1,headCellRenderer:kl,rowCellValueRenderer:Gl,maxValue:b,initialWidth:.6*t,sortable:v}]:[]]),[x,b,t,f,y]),R=(0,a.useMemo)((()=>({onItemClick:c,labelHeader:f,valueHeader:m})),[c,f,m]);return r().createElement("div",{className:p.tableContainer},r().createElement(Il.Z,Wl({columnsData:w,rowsData:n,headRowHeight:48,getRowCellHeight:()=>28,classes:E,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:o,context:R},d)))},$l=(0,E.Z)((()=>({layoutItemContent:{padding:"0 0 10px"}}))),Ql=(0,S.Z)((e=>{let{config:t,data:l,title:n,headers:i,infoTooltipTitle:o,customComparator:c,onItemClick:s,titleChildren:d,state:u,onRefresh:p,labelCellClassName:f,showCountLabels:m,LabelRenderer:h}=e;const y=$l(),[v,g]=(0,a.useState)("desc"),[E,b]=(0,a.useState)("value"),x=(0,a.useCallback)(((e,t)=>c?c({sortDirection:v,sortField:E})(e,t):gl({sortDirection:v,sortField:E})(e,t)),[v,E]),O=e=>{g((()=>E===e?(0,Al.Dh)(v):v)),b(e)},w=(0,a.useMemo)((()=>[...l.sort(x)]),[x,l]);return r().createElement("div",null,r().createElement(Ie,{config:t},r().createElement(se,{title:n,infoTooltipTitle:o},d),r().createElement(Te,{className:y.layoutItemContent,data:w,loadingState:u,onRefresh:p},(e=>{let{data:t,width:l=0,height:a=0}=e;return r().createElement(ql,{data:t,width:l,height:a,options:{headers:i,sortable:!!c,showCountLabels:m,LabelRenderer:h},sorting:{field:E,order:v},onSort:O,onItemClick:s,labelCellClassName:f})}))))})),Kl=r().createContext(null);Kl.displayName="DVFContext";var Xl=l(86689);function Jl(){return Jl=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},Jl.apply(this,arguments)}const ea=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",Jl({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),r().createElement("mask",{id:"svg1830866123a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),r().createElement("g",{mask:"url(#svg1830866123a)"},r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{d:"M12.375 18.688a7 7 0 017-7h75.742a7 7 0 017 7v49.02a7 7 0 01-7 7H19.375a7 7 0 01-7-7v-49.02z"}),r().createElement("path",{opacity:".4",d:"M16.844 22.813a7 7 0 017-7h75.741a7 7 0 017 7v49.02a7 7 0 01-7 7H23.844a7 7 0 01-7-7v-49.02z"})),r().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"29.318",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 31.381a3.562 3.562 0 013.552-3.563 3.562 3.562 0 013.552 3.563 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 29.052c0-.726.588-1.313 1.313-1.313h23.983a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 33.553c0-.518.42-.938.938-.938h43.37a.938.938 0 010 1.876h-43.37a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 36.554c0-.31.252-.563.563-.563h13.993a.563.563 0 110 1.126H31.26a.563.563 0 01-.563-.563z",fill:"#B1AABD"}),r().createElement("rect",{opacity:".5",x:"19.854",y:"17.689",width:"29.914",height:"4.126",rx:"2.063",fill:"#645F6D"}),r().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"43.573",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),r().createElement("rect",{x:"19.854",y:"42.072",width:"7.105",height:"7.127",rx:"3.552",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 43.306c0-.725.588-1.313 1.313-1.313h28.41a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 47.808c0-.518.42-.938.938-.938h48.23a.938.938 0 110 1.876h-48.23a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 50.809c0-.31.252-.563.563-.563h38.884a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),r().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"57.828",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 59.891a3.562 3.562 0 013.552-3.564 3.562 3.562 0 013.552 3.564 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 57.561c0-.725.588-1.313 1.313-1.313h38.132a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 62.063c0-.518.42-.938.938-.938h31.778a.938.938 0 110 1.875H31.635a.938.938 0 01-.938-.937z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 65.064c0-.311.252-.563.563-.563h13.993a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.094h88V88H0V3.094z",fill:"url(#paint0_linear_3200_4362)"}),r().createElement("path",{d:"M79.893 76.85H21.308v14.184h58.585V76.85z",fill:"#F5C056"}),r().createElement("path",{d:"M79.893 76.85H74.6v14.184h5.293V76.85z",fill:"#E99B00"}),r().createElement("path",{d:"M48.73 76.893H26.283v14.184H48.73V76.893z",fill:"#FFEA5A"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.894 57.829c-1.687-4.26 13.113-4.043 11.413 0-1.353 3.218-1.353 7.53 0 12.934H44.894C46 64.93 46 60.618 44.894 57.83z",fill:"#FFD264"}),r().createElement("path",{d:"M61.253 70.383H39.949v2.663h21.304v-2.663z",fill:"#FFD264"}),r().createElement("path",{d:"M47.938 70.383h-4.185v2.663h4.185v-2.663z",fill:"#FFEA5A"}),r().createElement("path",{d:"M64.676 73.046h-28.15v3.804h28.15v-3.804z",fill:"#795D1A"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.764 16.363v5.325H15.602v.143c0 13.634 8.992 24.714 20.162 24.961v2.994c-14-.986-25.108-15.488-25.108-33.233v-.19h25.108z",fill:"#FFCB64"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.677 16.363v5.325h20.161v.143c0 13.634-8.991 24.714-20.161 24.961v2.994c13.999-.986 25.107-15.488 25.107-33.233v-.19H64.677z",fill:"#ED985C"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.307 57.829c-1.353 3.218-1.353 7.53 0 12.934h-5.706V54.715c3.278.026 6.556 1.091 5.706 3.114z",fill:"#F4B046"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.676 73.046v3.804H50.601v-3.804h14.075z",fill:"#4F350B"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.253 70.383v2.663H50.6v-2.663h10.652z",fill:"#F4B046"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.933 10.656a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-11.43 0-23.311-20.1-24.449-45.65h2.194l-.38-3.044h-1.898a91.212 91.212 0 01.01-2.663h49.045z",fill:"#FFCE66"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.937 10.656c.006.569.01 1.14.01 1.712v.952h-.044l-.241 3.043h.294c.126 24.948 1.435 39.335 3.123 45.65-8.89-3.2-15.661-20.403-16.308-45.65h1.465l-.241-3.044h-1.271a158.252 158.252 0 01.006-2.663h13.207z",fill:"#FFEA5A"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.284 16.363h-3.91l.422-3.044h3.581a81.301 81.301 0 00-.01-2.663h4.566a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-.414 0-.828-.026-1.241-.078 11.92-1.382 19.899-20.946 21.114-45.572zm.083-5.707h-44.48 44.48z",fill:"#F4B046"}),r().createElement("path",{opacity:".519",d:"M72.665 13.32h-44.51v3.043h44.51v-3.044z",fill:"#F4B046"}),r().createElement("path",{d:"M48.318 73.046h-5.706v3.804h5.706v-3.804z",fill:"#96691F"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.526 10.656h4.235L58.973 35.935h-4.235l10.788-25.279z",fill:"url(#paint1_linear_3200_4362)"}),r().createElement("g",{filter:"url(#filter0_d_3200_4362)"},r().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#000"})),r().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#DD612C"}),r().createElement("path",{d:"M56.909 54.302a8.681 8.681 0 100-17.362 8.681 8.681 0 000 17.362z",fill:"#FFCE66"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.909 36.94a8.685 8.685 0 018.347 6.291c-5.74.351-10.312 5.02-10.51 10.8a8.699 8.699 0 01-6.008-5.47A11.212 11.212 0 0054.9 37.174a8.684 8.684 0 012.008-.234z",fill:"#FFF18C"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.202 10.656l10.862 25.341H54.83L43.646 10.705l4.556-.049z",fill:"#F83D3D"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear_3200_4362",x1:"0",y1:"3.094",x2:"0",y2:"88",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear_3200_4362",x1:"62.25",y1:"10.656",x2:"62.25",y2:"35.935",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#B93131"}),r().createElement("stop",{offset:"1",stopColor:"#831616"})),r().createElement("filter",{id:"filter0_d_3200_4362",x:"40.057",y:"30.77",width:"33.702",height:"33.703",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",result:"hardAlpha"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"3"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0335613 0 0 0 0 0.334579 0 0 0 0 0.412601 0 0 0 0.5 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3200_4362"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3200_4362",result:"shape"}))))};function ta(){return ta=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},ta.apply(this,arguments)}const la=e=>{let{styles:t={}}=e,l=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,["styles"]);return r().createElement("svg",ta({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),r().createElement("mask",{id:"svg355575424a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),r().createElement("g",{mask:"url(#svg355575424a)"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.5 3.094h88V88h-88V3.094z",fill:"url(#paint0_linear_3488_11934)"}),r().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M64.543 19.547L84.7 39.704V90.88H32.1L17.875 77.372V19.547h46.668z",fill:"url(#paint1_linear_3488_11934)"}),r().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.156 19.938h69.438A2.406 2.406 0 0188 22.343v53.968a2.406 2.406 0 01-2.406 2.407H16.156a2.406 2.406 0 01-2.406-2.406v-53.97a2.406 2.406 0 012.406-2.405z",fill:"#000"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 19.25H86.28c.95 0 1.719.77 1.719 1.719v53.968c0 .95-.77 1.72-1.719 1.72H17.187c-.949 0-1.718-.77-1.718-1.72V20.97c0-.95.77-1.719 1.719-1.719z",fill:"#fff"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 24.968c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 29.093c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 56.031c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 60.156c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 66.344c0-.57.462-1.031 1.031-1.031h28.059a1.031 1.031 0 010 2.062H37.254c-.57 0-1.031-.462-1.031-1.031z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 70.469c0-.57.462-1.031 1.031-1.031h25.508a1.031 1.031 0 010 2.062H37.125c-.57 0-1.031-.462-1.031-1.031z",fill:"#979797"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 35.406c0-.57.461-1.031 1.03-1.031h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.032z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 39.531c0-.57.461-1.031 1.03-1.031H70.54a1.031 1.031 0 010 2.063H48.47c-.57 0-1.032-.462-1.032-1.032z",fill:"#979797"}),r().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),r().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),r().createElement("circle",{cx:"41.25",cy:"36.438",r:"2.063",fill:"#B6C7DB"}),r().createElement("circle",{cx:"41.25",cy:"46.75",r:"2.063",fill:"#B6C7DB"}),r().createElement("circle",{cx:"23.031",cy:"58.094",r:"3.094",fill:"#B6C7DB"}),r().createElement("circle",{cx:"23.031",cy:"68.406",r:"3.094",fill:"#B6C7DB"}),r().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 45.719c0-.57.461-1.032 1.03-1.032h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.031z",fill:"#B6C7DB"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 49.844c0-.57.461-1.032 1.03-1.032h25.509a1.031 1.031 0 010 2.063H48.469c-.57 0-1.032-.462-1.032-1.031z",fill:"#979797"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M31.802 37.125v-2.75h-.688V48.251h3.843v-.688h-3.155v-9.75h3.155v-.688h-3.155z",fill:"#2B98F0"}),r().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M32.68 26.469l-1.215 1.215-1.215-1.215h2.43z",fill:"#000"}),r().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 7.563h63.937c1.14 0 2.063.923 2.063 2.062v6.188c0 1.139-.924 2.062-2.063 2.062H17.187a2.062 2.062 0 01-2.062-2.063V9.625c0-1.14.923-2.063 2.063-2.063z",fill:"#fff"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M19.938 12.719c0-1.14.923-2.063 2.062-2.063h24.063a2.063 2.063 0 010 4.125H22a2.062 2.062 0 01-2.063-2.062zM50.875 12.719c0-1.14.923-2.063 2.063-2.063h3.437a2.063 2.063 0 010 4.125h-3.438a2.062 2.062 0 01-2.062-2.062z",fill:"#979797"}),r().createElement("path",{opacity:".2",d:"M37.687 66.48l8.942 8.309v.958l19.925 19.702 31.064-.552 7.006-25.47-34.487-34.144-11.2.567c-3.238-1.86-5.34-3.02-6.306-3.48-.54-.258-.383 5.565-2.755 7.725-1.243 1.133-3.462 4.104-6.657 8.914l-5.532 17.47z",fill:"url(#paint2_linear_3488_11934)"}),r().createElement("g",{filter:"url(#filter0_d_3488_11934)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312a18.719 18.719 0 014.236 4.554l4.28-.699a23.425 23.425 0 012.392 6.47l-3.639 2.443c.262 2.058.2 4.18-.216 6.285l3.466 2.572a24.254 24.254 0 01-2.838 6.375l-4.231-.855a19.61 19.61 0 01-4.526 4.366l.62 4.34a23.426 23.426 0 01-6.409 2.551l-2.345-3.649a18.72 18.72 0 01-6.219-.1l-2.593 3.564a22.7 22.7 0 01-6.224-2.757l.912-4.304a18.715 18.715 0 01-4.281-4.567l-4.285.7a23.424 23.424 0 01-2.4-6.438l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14zM60.075 49.74c-2.804-1.248-6.112.064-7.388 2.93-1.276 2.867-.038 6.203 2.766 7.452 2.804 1.248 6.112-.064 7.388-2.93 1.276-2.867.038-6.203-2.766-7.452z",fill:"#6B93AC"}),r().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312c.779.597 1.503 1.25 2.168 1.95l-10.07 9.392a5.444 5.444 0 00-1.491-.983c-2.804-1.248-6.112.064-7.388 2.93a5.7 5.7 0 00.626 5.749l-10.071 9.39c-.502-.585-.965-1.2-1.39-1.84l-4.284.7a23.424 23.424 0 01-2.4-6.437l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14z",fill:"#7CA6BF"}),r().createElement("path",{d:"M62.886 42.644c6.409 2.854 9.24 10.479 6.322 17.03-2.917 6.553-10.478 9.552-16.887 6.698-6.409-2.853-9.24-10.478-6.322-17.03 2.917-6.553 10.478-9.551 16.887-6.698zm-1.32 2.966c-4.808-2.14-10.478.109-12.666 5.023-2.188 4.914-.065 10.633 4.742 12.773 4.806 2.14 10.477-.108 12.665-5.023 2.188-4.914.065-10.633-4.742-12.773z",fill:"#AAC4D5"}),r().createElement("path",{d:"M62.886 42.644a12.424 12.424 0 014.22 3.075l-2.366 2.207a9.317 9.317 0 00-3.175-2.316c-4.807-2.14-10.477.109-12.665 5.023-1.635 3.673-.863 7.795 1.638 10.536l-2.367 2.208c-3.325-3.656-4.35-9.145-2.172-14.035 2.917-6.553 10.478-9.551 16.887-6.698z",fill:"#CBDDE9"}))),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear_3488_11934",x1:"-5.5",y1:"3.094",x2:"-5.5",y2:"88",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear_3488_11934",x1:"91.478",y1:"62.257",x2:"53.241",y2:"26.703",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:".01"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"paint2_linear_3488_11934",x1:"86.975",y1:"77.519",x2:"49.809",y2:"46.968",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#90A4AE",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopOpacity:".75"})),r().createElement("filter",{id:"filter0_d_3488_11934",x:"32.168",y:"30.067",width:"53.209",height:"53.716",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",result:"hardAlpha"}),r().createElement("feOffset",{dx:"1",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_3488_11934"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3488_11934",result:"shape"}))))},aa=(0,E.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.12)",marginLeft:"16px",paddingLeft:"16px",overflow:"hidden",lineHeight:"24px",textOverflow:"ellipsis",fontSize:"14px"},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:"14px"}},noDataMessage:{padding:"0 24px",fontSize:"12px",textAlign:"center",whiteSpace:"pre-wrap"},noDataTitle:{padding:"0 24px",fontSize:"13px",textAlign:"center",color:"rgba(0,0,0,0.87)",whiteSpace:"pre-wrap"},viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}})));let ra;!function(e){e.DVF_NOT_CONFIGURE="dvfNotConfigured",e.DATA_VALID="dataValid"}(ra||(ra={}));const na=e=>{let{chartType:t,title:l,infoTooltipTitle:a,titleChildren:n,dvfConfigLink:i,config:o}=e;const c=aa();let s,d,p;return t===ra.DVF_NOT_CONFIGURE?(s=r().createElement(la,null),d=u().text("If we spot any validation issues, we’ll display them here."),p=r().createElement(r().Fragment,null,r().createElement(Xl.Z,{href:i,target:"_blank",component:i?"a":"span",color:i?"primary":"inherit",underline:i?"hover":"none"},u().text("Define some data validation functions"))," ",u().text("for this attribute (or ask your Tenant Admin)."))):(s=r().createElement(ea,null),d=u().text("We didn’t spot any validation issues for this entity type.\nYou can kick back and enjoy a cold one."),p=u().text("Nice one!")),r().createElement(Ie,{config:o},r().createElement(se,{title:l,infoTooltipTitle:a},n),r().createElement(pe.Z,{className:c.viewContent},r().createElement("div",{className:c.container},s,p&&r().createElement(g.Z,{className:c.noDataTitle},p),d&&r().createElement(g.Z,{className:c.noDataMessage},d))))},ia=e=>{var t;const l=aa(),{config:n}=e,{dvfs:i,dvfConfigLink:o}=(0,a.useContext)(Kl),{data:d,state:p,reload:f,errorCode:m}=i,h=(0,a.useContext)(He).uri,E=(0,a.useContext)(Ze),b=E.uri,x=((e,t)=>(e||[]).filter((0,s.propEq)("attribute",t)))(d,h).filter((e=>e.status===c.lVm.ACTIVE)),{data:O,state:w,reload:R}=Ve((e=>(0,s.pipe)(vl("dataValidationFunctions"),El(e)))(x)),N=(0,a.useMemo)((()=>[E]),[E]),S=(0,a.useMemo)((()=>x.map((e=>e.uri))),[x]),T=(e=>{let{entityTypeUri:t,dvfUris:l}=e;const[r,n]=(0,a.useState)(null);return(0,a.useEffect)((()=>{const e=[{fieldName:"type",filter:c.j5E.EQUALS,values:[t]},{fieldName:"analyticsAttributes.AttributeValidations.FunctionURI",filter:c.j5E.EQUALS,values:l}];(0,c.j_Q)(e).then((e=>{let{total:t}=e;return n(t)})).catch((()=>n(null)))}),[t,l]),r})({entityTypeUri:b,dvfUris:S}),C=null===(t=v(N))||void 0===t?void 0:t[(0,c.nIW)(b)],A=Ge(Tl),I=(0,a.useMemo)((()=>p===y.o.LOADED&&w===y.o.LOADED?y.o.LOADED:p===y.o.ERROR||w===y.o.ERROR?y.o.ERROR:y.o.LOADING),[w,p]),M=(0,a.useMemo)((()=>()=>{p===y.o.ERROR&&f(),w===y.o.ERROR&&R()}),[w,p,f,R]),D=m===c.Xt7.DVF_NOT_CONFIGURED||0===(null==x?void 0:x.length),_=I===y.o.LOADED&&(null==x?void 0:x.length)>0&&0===O.length,F=!(I===y.o.ERROR&&m!==c.Xt7.DVF_NOT_CONFIGURED)&&!D&&I!==y.o.LOADING&&r().createElement(Dl.C,{value:n.title},r().createElement(g.Z,{className:l.titleCount},(e=>{let{isDataValid:t,totalProfiles:l,invalidProfiles:a}=e;return t?u().text("0 profiles"):(0,s.isNil)(a)?"":`${(0,c.k7L)(a)} (${Math.round(a/l*100)}%) ${1!==a?u().text("profiles"):u().text("profile")}`})({isDataValid:_,totalProfiles:C,invalidProfiles:T}))),z=[u().text("Validation function"),u().text("Profiles")],L=r().createElement(J,{title:u().text("Profiles with invalid data"),data:[{value:u().text("Shows the number of profiles that violate active validation functions")}],DataRenderer:Me});return D||_?r().createElement(na,{config:n,chartType:D?ra.DVF_NOT_CONFIGURE:ra.DATA_VALID,title:u().text(n.title),infoTooltipTitle:L,titleChildren:F,dvfConfigLink:o}):r().createElement(Ql,{config:n,title:u().text(n.title),headers:z,data:O,onItemClick:A,titleChildren:F,state:I,onRefresh:M,customComparator:gl,infoTooltipTitle:L,showCountLabels:!0})},oa=(0,E.Z)((()=>({monoFontCell:{fontFamily:'"Roboto Mono", monospace'}}))),ca=e=>{let{config:t}=e;const l=oa(),{data:n,state:i,reload:o}=Ve(bl),s=(0,a.useContext)(He).type,d=(0,c.Lt4)(s)?((e,t)=>{const l=t===c.oS0.TYPE_TIMESTAMP?"L LTS":"L";return e.map((e=>D({},e,{label:u().date(Number(e.label),l)})))})(n,s):n,p=Ge(Sl),f=[u().text("Value"),u().text("Count")],m=r().createElement(J,{title:u().text("Frequency analysis"),data:[{value:u().text("Shows the number of times each value occurs")}],DataRenderer:Me});return r().createElement(Ql,{config:t,data:d,headers:f,title:t.title,infoTooltipTitle:m,onItemClick:p,state:i,onRefresh:o,labelCellClassName:H()({[l.monoFontCell]:(0,c.m6e)(s)})})};function sa(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){da(e,t,l[t])}))}return e}function da(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var ua,pa;!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"}(ua||(ua={})),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"}(pa||(pa={}));const fa=e=>(0,s.pipe)((0,s.pathOr)({},[e,"data"]),Object.entries,(0,s.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),F);var ma;!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"}(ma||(ma={}));const ha=(e,t)=>{const l={lengthStatistics:{[ma.MEDIAN]:u().text("Median"),[ma.AVERAGE]:u().text("Average"),[ma.MININMUN]:u().text("Minimum"),[ma.MAXIMUM]:u().text("Maximum")},valueDistribution:{[ma.MEDIAN]:u().text("Median"),[ma.AVERAGE]:u().text("Average"),[ma.MININMUN]:u().text("Minimum"),[ma.MAXIMUM]:u().text("Maximum")},crosswalkAnalysis:{[ma.NUMBER_OF_SOURCES]:u().text("No. of source systems"),[ma.AVG_NUMBER_OF_PROFILES]:u().text("Avg no. of profiles"),[ma.MIN_NUMBER_OF_PROFILES]:u().text("Min no. of profiles"),[ma.MAX_NUMBER_OF_PROFILES]:u().text("Max no. of profiles")}};return(0,s.pathOr)(null,[t,e],l)},ya=e=>(0,s.pipe)((0,s.propOr)({},e),Object.entries,(0,s.map)((t=>{let[l,a]=t;return{label:ha(l,e),value:a}})),(0,s.filter)((e=>{let{label:t}=e;return t})),F),va=e=>t=>({chartData:fa(e)(t),infoPanelData:ya(e)(t)}),ga=(e,t)=>(0,c.Lt4)(t)?u().date(Number(e),"L"):String(e),Ea=(0,s.curry)(((e,t)=>{const l=(0,s.pipe)((0,s.prop)("group"),(0,s.split)(" "),s.head,Number),a=t.chartData.sort((0,s.ascend)(l)).map(((l,a)=>{const[r,n=r]=l.group.split(" ").map(Number),i=a===t.chartData.length-1,o=r!==n?((e,t,l)=>rt(t)?`[${e}${l?"]":")"}`:e)(`${ga(r,e)} - ${ga(n,e)}`,e,i):ga(r,e);return sa({},l,{label:o,group:[r,n,i?"last":""].toString()})}));return{infoPanelData:t.infoPanelData.map((t=>sa({},t,{value:(0,c.Lt4)(e)?u().date(Number(t.value),"L"):(0,c.k7L)(t.value,999),localizedValue:(0,c.Lt4)(e)?u().date(Number(t.value),"L"):t.localizedValue}))),chartData:a}})),ba=(0,s.pipe)(va("lengthStatistics"),Ea("")),xa=(0,s.pipe)(va("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))))})),Oa=va("monthDistribution"),wa=va("dayOfWeekDistribution"),Ra=va("dayOfMonthDistribution"),Na=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.day_of_week`,value:ua[t.toLowerCase()],entityTypeUri:a})})),Sa=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.month`,value:pa[t.toLowerCase()],entityTypeUri:a})})),Ta=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.day_of_month`,value:t,entityTypeUri:a})})),Ca=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;const[r,n]=t.split(",");return r===n?hl({fieldName:`${l.fieldName}.length`,value:r,entityTypeUri:a}):(e=>{let{fieldName:t,startRange:l,endRange:a,entityTypeUri:r}=e;return ml({keyword:`${c.j5E.IN_RANGE}(${t}, ${l}, ${a})`,entityTypeUri:r})})({fieldName:`${l.fieldName}.length`,startRange:r,endRange:n,entityTypeUri:a})})),Aa=(0,s.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return hl({fieldName:`${l.fieldName}.crosswalk_sources`,value:t,entityTypeUri:a})})),Ia=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[{filter:c.j5E.AFTER,values:[a],fieldName:l},{filter:c.j5E.BEFORE,values:[r],fieldName:l}]})),Ma=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[a===r?{filter:c.j5E.EQUALS,values:[[a]],fieldName:l}:{filter:c.j5E.IN_RANGE,values:[[a,r]],fieldName:l}]})),Da=(0,s.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r,n]=t.split(","),i=a===r,o=i?[{filter:c.j5E.EQUALS,values:[[a]],fieldName:l}]:[{filter:c.j5E.IN_RANGE,values:[[a,r]],fieldName:l}];return!n&&!i&&o.push({filter:c.j5E.NOT_EQUALS,values:[[r]],fieldName:l}),o})),_a=(0,s.cond)([[c.Lt4,(0,s.always)(j(Ia))],[rt,(0,s.always)(j(Da))],[s.identity,(0,s.always)(j(Ma))]]);function Fa(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){za(e,t,l[t])}))}return e}function za(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const La=(0,E.Z)((e=>({tooltipWrapper:Fa({},e.tooltip,{padding:"4px 8px"})}))),Pa=e=>{var t;let{payload:l,active:a,name:n}=e;const i=null==l||null===(t=l[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}`:"",d=La();return a&&r().createElement("div",{className:d.tooltipWrapper},r().createElement(J,{data:[{label:s,value:c},{label:u().text("No of profiles"),value:u().number(o)}]}))},ja=(0,E.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"}}))),ka=e=>{let{data:t}=e;const l=ja();return r().createElement("div",{className:l.chartInfoWrapper},t.map((e=>{let{label:t,value:a,localizedValue:n}=e;return r().createElement("div",{key:t,className:l.chartInfoItem},r().createElement("span",{className:l.chartInfoLabel},t,": "),a!==n?r().createElement(tt.ZP,{title:n},r().createElement("span",{className:l.chartInfoValue},a)):r().createElement("span",{className:l.chartInfoValue},a))})))},Ba=(0,E.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"}}}))),Ua=e=>{let{width:t,height:l,label:a,x:n,y:i}=e;const o=Ba({width:t}),c=n-t/2;return r().createElement("foreignObject",{x:c,y:i,width:t,height:l},r().createElement("div",{className:o.labelWrapper},r().createElement(Dl.C,{value:a},r().createElement("div",{className:o.xAxisLabel},a))))},Va=e=>{const{x:t,y:l,width:a,height:n,payload:i,visibleTicksCount:o}=e,{value:c}=i,s=a/o-4;return r().createElement(Ua,{width:s,height:n,label:c,x:t,y:l})};function Ha(){return Ha=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},Ha.apply(this,arguments)}const Za=e=>{let{isClickable:t}=e,l=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,["isClickable"]);const a=ja(),n=t?a.clickable:void 0;return r().createElement(R.Ae,Ha({},l,{className:n,fill:"#000",opacity:"0.1",pointerEvents:"visibleFill"}))},Ga=e=>{const{value:t}=e;return t>0?r().createElement(R.Ae,e):null};function Ya(){return Ya=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},Ya.apply(this,arguments)}const Wa=e=>{let{data:t,config:l,xAxisLabel:a,yAxisLabel:n,barTooltipTitle:i,infoPanelData:o,infoTooltipTitle:s,onItemClick:d,options:u={},state:p,onRefresh:f}=e;const m=ja(),{title:h}=l,{cartesianGrid:v,bar:g,xAxis:E,yAxis:b,labelForX:x,labelForY:O,barChart:w}=(e=>{let{showCategories:t=!1,interval:l,barCategoryGap:a}=e;return{barChart:{barCategoryGap:a||"10%"},bar:{dataKey:"value",fill:"#0072CE",minPointSize:3,maxBarSize:50},xAxis:{tick:t&&Va,tickLine:!1,interval:l||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)"}}}})(u),N=d&&(e=>{let{activePayload:t}=e;return d(t[0].payload.group)}),S=N?m.clickable:void 0,T=p===y.o.LOADED&&o.length>0;return r().createElement(Ie,{config:l},r().createElement(se,{title:h,infoTooltipTitle:s}),T&&r().createElement(ka,{data:o}),r().createElement(Te,{data:t,loadingState:p,onRefresh:f},(e=>{let{data:t,width:l=0,height:o=0}=e;return r().createElement("div",null,r().createElement(R.vz,Ya({width:l,height:o,data:t,onClick:N},w),r().createElement(R.q3,v),r().createElement(R.u,{content:r().createElement(Pa,{name:i}),cursor:r().createElement(Za,{isClickable:!!N})}),r().createElement(R.$Q,Ya({},g,{shape:r().createElement(Ga,{className:S})})),r().createElement(R.B2,b,r().createElement(R.__,Ya({},O,{value:n}))),r().createElement(R.Kc,E,r().createElement(R.__,Ya({},x,{value:a})))))})))},qa=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(ba),{chartData:i,infoPanelData:o}=l,c=Ge(Ca),s=r().createElement(J,{title:u().text("Length statistics"),data:[{value:u().text("Measures the string length of values")}],DataRenderer:Me});return r().createElement(Wa,{config:t,data:i,xAxisLabel:u().text("Length of values"),yAxisLabel:u().text("No. of profiles"),infoPanelData:o,barTooltipTitle:u().text("Length"),infoTooltipTitle:s,onItemClick:c,state:a,onRefresh:n})};var $a=l(21210);const Qa=(0,E.Z)({icon:{width:"20px",height:"20px",borderRadius:"4px",fontSize:"14px",marginRight:"8px"},text:e=>{let{color:t}=e;return{backgroundColor:t}}}),Ka=e=>{let{chartData:t}=e;const{group:l,label:a}=t,n=Qa({color:(0,c.uap)("random0",l)});return r().createElement(r().Fragment,null,r().createElement($a.Z,{sourceType:l,className:n.icon,classes:{textRoot:n.text}}),a)};function Xa(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){Ja(e,t,l[t])}))}return e}function Ja(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const er=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(xa),{chartData:i}=l,o=Ge(Aa),c=[u().text("Source system"),u().text("Profiles")],s=r().createElement(J,{title:u().text("Source system analysis"),data:[{value:u().text("Distribution of source systems contributing to profiles")}],DataRenderer:Me});return r().createElement(Ql,{config:Xa({},t),data:i,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:a,onRefresh:n,customComparator:gl,LabelRenderer:Ka})},tr=e=>{let{config:t}=e;const l=(0,a.useContext)(He).type,{data:n,state:i,reload:o}=Ve((e=>(0,s.pipe)(va("valueDistribution"),Ea(e)))(l)),{chartData:c,infoPanelData:d}=n,p=Ge(_a(l));return r().createElement(Wa,{config:t,data:c,xAxisLabel:u().text("Value"),yAxisLabel:u().text("No. of profiles"),infoPanelData:d,barTooltipTitle:u().text("Value"),onItemClick:p,state:i,onRefresh:o})},lr=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(Oa),{chartData:i,infoPanelData:o}=l,c=Ge(Sa);return r().createElement(Wa,{config:t,data:i,xAxisLabel:u().text("Months of the year"),yAxisLabel:u().text("No. of profiles"),infoPanelData:o,barTooltipTitle:u().text("Months of the year"),options:{showCategories:!0,barCategoryGap:"20%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:n})},ar=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(wa),{chartData:i,infoPanelData:o}=l,c=Ge(Na);return r().createElement(Wa,{config:t,data:i,xAxisLabel:u().text("Days of the week"),yAxisLabel:u().text("No. of profiles"),infoPanelData:o,barTooltipTitle:u().text("Days of the week"),options:{showCategories:!0,barCategoryGap:"25%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:n})},rr=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=Ve(Ra),{chartData:i,infoPanelData:o}=l,c=Ge(Ta);return r().createElement(Wa,{config:t,data:i,xAxisLabel:u().text("Days of the month"),yAxisLabel:u().text("No. of profiles"),infoPanelData:o,barTooltipTitle:u().text("Days of the month"),options:{showCategories:!0,interval:1},onItemClick:c,state:a,onRefresh:n})},nr=e=>{let{config:t}=e;const l=oa(),{data:a,state:n,reload:i}=Ve(xl),o=Ge(Cl),c=[u().text("Value"),u().text("Count")],s=r().createElement(J,{title:u().text("Pattern analysis"),data:[]});return r().createElement(Ql,{config:t,data:a,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:n,onRefresh:i,labelCellClassName:l.monoFontCell})};function ir(){return ir=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},ir.apply(this,arguments)}class or{}or.getComponent=e=>{let{type:t,config:l,isFullscreen:a,onToggleFullscreen:n}=e;const i={config:l,isFullscreen:a,onToggleFullscreen:n};switch(t){case w.FILL_RATE_CHART:return r().createElement(Ye,i);case w.UNIQUENESS_CHART:return r().createElement(Je,i);case w.SUMMARY:return r().createElement(ol,i);case w.VALIDATION:return r().createElement(ia,i);case w.FREQUENCY:return r().createElement(ca,i);case w.LENGTH:return r().createElement(qa,i);case w.CROSSWALK:return r().createElement(er,i);case w.VALUE_DISTRIBUTION:return r().createElement(tr,i);case w.MONTH_DISTRIBUTION:return r().createElement(lr,i);case w.DAY_OF_WEEK_DISTRIBUTION:return r().createElement(ar,i);case w.DAY_OF_MONTH_DISTRIBUTION:return r().createElement(rr,i);case w.PATTERN:return r().createElement(nr,i);default:return r().createElement(fl,ir({},i,{errorData:{message:u().text("Chart isn't supported for this data type")}}))}};const cr=or,sr=e=>{let{layoutItemConfig:t,views:l,onToggleFullscreen:a,isFullscreen:n,className:i,children:o,style:c}=e;const s=l.find((e=>{let{id:l}=e;return t.i===l}));if(!s)return null;const{type:d}=s;return r().createElement("div",{style:c,className:i},cr.getComponent({type:d,config:s,onToggleFullscreen:a,isFullscreen:n}),o)},dr=(0,E.Z)({root:{overflow:"auto",backgroundColor:"#F9F9F9",height:"100%",flexGrow:1,padding:"4px"}}),ur=(0,s.map)((0,s.assoc)("isStatic",!0)),pr={cols:4,rowHeight:10,margin:[12,12]},fr=(0,a.memo)((e=>{let{views:t,layout:l,layoutOptions:n=pr}=e;const i=dr(),o=(()=>{const[e,t]=(0,a.useState)(y.o.INIT),[l,r]=(0,a.useState)({}),n=(0,a.useContext)(Ze),i=(0,a.useContext)(He),o=(0,a.useContext)(nl),s=null==i?void 0:i.fieldName,d=n.uri,u=e=>{console.error(e),t(y.o.ERROR),r({})},p=(0,a.useCallback)((async()=>{if(t(y.o.LOADING),o===A.ENTITY_TYPE){var e,l;const a=(0,c.Uqd)()([{fieldName:"type",filter:c.j5E.EQUALS,values:[d]}]),i=await(0,c.FK9)({query:(0,c.ECL)({activeness:c.YJ7.ACTIVE_ONLY,filter:a}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),o=await(0,c.FK9)({query:(0,c.ECL)({activeness:c.YJ7.INACTIVE_ONLY,filter:a}),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===(l=i.type)||void 0===l?void 0:l[(0,c.nIW)(n.uri)],sourceSystems:8}}),void t(y.o.LOADED)}return(0,c.TTx)({entityTypeUri:d,attributeFieldName:s}).then((e=>{r(e),t(y.o.LOADED)})).catch(u)}),[t,r,s,d]),f=(0,a.useCallback)((()=>{try{p()}catch(e){u(e)}}),[p]);return(0,a.useEffect)((()=>{f()}),[f]),{data:l,state:e,reload:f}})(),s=(0,a.useMemo)((()=>ur(l)),[l]);return r().createElement("div",{className:i.root},r().createElement(Ue.Provider,{value:o},r().createElement(O.Z,{LayoutItem:sr,views:t,layout:s,layoutOptions:n})))}));var mr=l(50166),hr=l(5336),yr=l(83543),vr=l(98989),gr=l(38402),Er=l(33286),br=l(40435);const xr=(0,E.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"}}),Or=e=>{let{details:t,classes:l,fillRateData:a,fillRateState:n}=e;const i=xr(),o=(0,s.prop)("iconRoot",l);return r().createElement("div",{className:i.root},Object.entries(t||{}).reverse().map((e=>{let[t,l]=e,d=Mt.NORMAL;if(t===nt.REQUIRED){const e=n===y.o.LOADING,t=0===(null==(u=a)||null===(p=u.find((0,s.propEq)("group",c.s9T.MISSING)))||void 0===p?void 0:p.value);e&&(d=Mt.LOADING),e||t||(d=Mt.BAD_QUALITY)}var u,p;return r().createElement("div",{key:t,className:H()(l&&(o||i.activeIcon),i.detailIcon)},l&&r().createElement(tt.ZP,{title:vt(t)},r().createElement("span",null,r().createElement(Dt,{detailType:t,variant:d,size:It.SMALL}))))})))},wr="rgba(0, 114, 206, 0.12)",Rr=(0,E.Z)({linesWrapper:{position:"absolute",left:"9px",top:0,bottom:0},line:{position:"absolute",width:"2px",background:wr,bottom:0,zIndex:2,left:0,top:0},horizontalLine:{"&:after":{content:'""',position:"absolute",left:"2px",top:"15px",width:"3px",height:"2px",background:wr}},parentLine:{left:"20px",top:"34px"},lastLevel:{bottom:"31px"}}),Nr=e=>{let{level:t,margin:l,hasChildren:a,isLastLevelItem:n,isCollapsed:i}=e;const o=Rr(),c=!i&&(t>0||a);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):[])(a,t).map((e=>r().createElement(Er.Z,{key:e,margin:l,level:e,className:o.line}))),c&&r().createElement(Er.Z,{margin:l,level:t,className:H()(o.line,!a&&t>0&&o.horizontalLine,a&&o.parentLine,n&&o.lastLevel)}))},Sr=(0,E.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 Tr(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){Cr(e,t,l[t])}))}return e}function Cr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ar=(0,S.Z)((e=>{let{data:t}=e;const l=Sr(),a=_e(t),n=t.map(((e,t)=>{let{label:n,percent:i,value:o}=e;return{label:r().createElement("span",null,r().createElement("div",{className:l.fillRateSquare,style:{background:a[t]}}),n),value:`${u().number(o)} ${z(i)}`}}));return L(t)?r().createElement("div",{className:l.bar},r().createElement("div",{className:H()(l.barPart,l.inactiveBarPart)})):r().createElement(tt.ZP,{title:r().createElement(J,{title:u().text("Fill rate"),data:n})},r().createElement("div",{className:l.bar},t.map(((e,t)=>r().createElement("div",{key:e.group,className:l.barPart,style:Tr({},B(e),{background:a[t]})})))))})),Ir=(0,E.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"}}),Mr=e=>{let{detailedAttributeType:t,fillRateData:l,fillRateState:a,style:n,level:i,selected:o=!1,onClick:s,onCollapse:d=Al.ZT,isCollapsed:u=!1,isLastLevelItem:p=!1}=e;const f=Ir(),m=!!t.children,h=!!l,y=(e=>(0,c.idV)(e.label||e.name))(t),v=u?vr.Z:yr.Z,g=o?f.detailsIconSelected:f.detailsIcon;return r().createElement(gr.Z,{style:n,selected:o,classes:{selected:f.selectedItem},onClick:m?void 0:()=>{s(t)},component:"div",className:H()(f.listItem,!m&&f.pointerCursor)},r().createElement("div",{className:f.content},!m&&r().createElement("div",{className:f.attributeType},r().createElement(ll,{type:t.type})),r().createElement("div",{className:f.attribute},r().createElement(Nr,{level:i,margin:20,hasChildren:m,isLastLevelItem:p,isCollapsed:u}),r().createElement(Er.Z,{margin:20,level:i,className:f.marginWrapper},r().createElement(Dl.C,{value:y},r().createElement("div",{className:H()(f.attributeLabel,o&&f.selectedAttributeLabel,m&&f.parentAttributeLabel)},m&&r().createElement(br.Z,{size:"XXS",icon:v,onClick:d,className:f.collapseIcon}),y))),h&&!m&&r().createElement("div",{className:f.fillRate},r().createElement(Ar,{data:l}))),r().createElement(Or,{details:t.details,classes:{iconRoot:g},fillRateData:l,fillRateState:a})))},Dr=(0,s.propOr)({},"attributeItem"),_r=(0,s.pipe)((0,s.find)((0,s.pipe)(Dr,(0,s.either)(c.YkM,c.Or$),s.not)),Dr),Fr=e=>(0,s.pipe)(Dr,(0,s.propEq)("fieldName",e)),zr=e=>(0,s.filter)((0,s.propEq)("group",e));let Lr;!function(e){e.SHOW_EMPTY="showEmpty"}(Lr||(Lr={}));const Pr=(0,s.curry)(((e,t,l)=>{const a=(0,s.head)(zr("emptiness")(e));return(null==a?void 0:a.value)===Lr.SHOW_EMPTY?l:l.filter((0,s.pipe)(Dr,dt(t)))})),jr=(0,s.pipe)(Dr,(0,s.prop)("fieldName")),kr=(0,s.curry)(((e,t)=>{const l=zr("details")(e),a=(e=>(0,s.pipe)((0,s.filter)((0,s.pipe)(Dr,(0,s.both)((0,s.prop)("children"),ct(e)))),(0,s.map)(jr)))(l)(t);return t.filter((e=>{let{attributeItem:t}=e;return a.some((e=>t.fieldName.startsWith(e)))||st(l,t)}))}));function Br(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var Ur=l(36444),Vr=l(79784),Hr=l(15115),Zr=l(21324),Gr=l(12231);const Yr=(0,E.Z)((e=>({serachWrapper:{padding:"8px 0px 8px 16px",alignItems:"center",display:"flex",flexGrow:1,justifyContent:"flex-end"},filterByDetails:{width:"32px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"9px"},searchInput:{borderRadius:"4px",width:"240px",minHeight:"32px!important",justifyContent:"flex-end",alignItems:"center",padding:"0 2px",boxSizing:"border-box","& input":{fontSize:"14px"},"& button":{padding:"2px"}},filledInput:{"& button:last-child":{backgroundColor:"rgba(0, 0, 0, 0.0509804)"}},menu:{width:"300px",paddingTop:"8px"},filterIcon:{color:e.palette.text.secondary},filterIconFilterApplied:{color:"#0072CE"},filterIconWrapper:{width:"32px",height:"32px",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",position:"relative","&:after":{position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"4px",background:"rgba(0, 0, 0, 0.04)"},"&:hover":{"&:after":{content:'""'}}},filterIconWrapperActive:{background:"rgba(0, 0, 0, 0.04)","&:after":{content:'""',background:"rgba(0, 0, 0, 0.04)"}},filterIconWrapperSelected:{background:"rgba(0, 114, 206, 0.12)"},dropdownMenuTitle:{lineHeight:"48px",height:"48px",paddingLeft:"16px"},option:{paddingLeft:"5px",fontSize:"13px",height:"28px",lineHeight:"16px",letterSpacing:"normal",paddingRight:"19px",filter:e=>e?"grayscale(0)":"grayscale(1)",opacity:e=>e?1:.5},typeIconWrapper:{width:"28px",marginLeft:"1px","& svg":{width:"20px",height:"20px"}},valueContainer:{marginLeft:0},counter:{marginLeft:"5px"},optionLabel:{flexGrow:1},groupLabel:{textTransform:"uppercase",margin:"15px 16px 5px",letterSpacing:"0.1px",display:"block"},actionsContainer:{display:"flex",padding:"12px 5px 8px 12px"},clearAllButton:{marginRight:"auto"}}))),Wr=e=>{let{isSelected:t,data:l,onChange:a}=e;const{count:n,label:i,value:o}=l,d=!(0,s.isNil)(n),u=Yr(!d||n>0);return r().createElement(Gr.Z,{className:u.option,component:"div",onClick:()=>a(l),"data-reltio-id":`reltio-dq-dashboard-option-${l.value}`},r().createElement(Zr.Z,{color:"primary",checked:t}),r().createElement("span",{className:u.typeIconWrapper},r().createElement(Dt,{detailType:o})),r().createElement(Dl.C,{value:i},r().createElement("div",{className:u.optionLabel},i)),d&&r().createElement("span",{className:u.counter},(0,c.k7L)(n,999)))},qr=(0,s.curry)(((e,t)=>!!t.find((0,s.propEq)("value",e.value)))),$r=(0,s.curry)(((e,t)=>{const l=t.findIndex((0,s.propEq)("value",e.value));return-1!==l?(0,s.remove)(l,1,t):t})),Qr=e=>{let{defaultFilterOptions:t=[],filterOptions:l,defaultFilterText:n,onChangeFilterText:i,onChangeFilterOptions:o}=e;const c=Yr(),[d,p]=(0,a.useState)(null),[f,m]=(0,a.useState)(t),[h,y]=(0,a.useState)(n||null),v=()=>p(null),E=e=>{m((0,s.ifElse)(qr(e),$r(e),(0,s.concat)([e])))},b=!!f.length,x=!!d,O=H()(c.filterIconWrapper,{[c.filterIconWrapperActive]:x,[c.filterIconWrapperSelected]:b}),w=b?c.filterIconFilterApplied:c.filterIcon;return r().createElement("div",{className:c.serachWrapper},r().createElement(Hr.Z,{autofocus:!0,onChange:e=>{y(e),i(e||"")},initialValue:n||null,height:40,placeholder:u().text("Search attribute name"),"data-reltio-id":"reltio-dq-dashboard-attributes-search-input",classes:{root:H()(c.searchInput,{[c.filledInput]:!!h})}}),r().createElement("div",{className:c.filterByDetails,"data-reltio-id":"reltio-dq-dashboard-attributes-filter"},r().createElement("div",{className:O,onClick:e=>p(e.currentTarget)},r().createElement(Ur.Z,{className:w})),r().createElement(Vr.ZP,{open:!!d,anchorEl:d,onClose:()=>{m((0,s.always)(t)),v()},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{"data-reltio-id":"reltio-dq-dashboard-attributes-filter-popup"}},r().createElement("div",{className:c.menu},r().createElement(g.Z,{variant:"h6",className:c.dropdownMenuTitle},u().text("Filter")),r().createElement("div",{className:c.valueContainer},l.map((e=>{let{label:t,options:l}=e;return r().createElement("div",{key:t},t&&r().createElement(g.Z,{variant:"caption",className:c.groupLabel},t),l.map((e=>{const t=qr(e,f);return r().createElement(Wr,{key:e.label,data:e,isSelected:t,onChange:E})})))})))),r().createElement("div",{className:c.actionsContainer},r().createElement(ge.Z,{onClick:()=>{m([])},className:c.clearAllButton,disabled:!b,"data-reltio-id":"reltio-dq-dashboard-filter-clear-all-button"},u().text("Clear all")),r().createElement(ge.Z,{onClick:()=>{m(t),v()},"data-reltio-id":"reltio-dq-dashboard-filter-cancel-button"},u().text("Cancel")),r().createElement(ge.Z,{color:"primary",onClick:()=>{o(f),v()},"data-reltio-id":"reltio-dq-dashboard-filter-apply-button"},u().text("Apply"))))))},Kr=(0,E.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",fontSize:"12px",color:"rgba(0, 0, 0, 0.54);"},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,l;let{entityType:i,onAttributesListChange:o,defaultFieldName:d,defaultFilterOptions:p,defaultFilterText:f,disableAttributeSelection:m}=e;const v=Kr(),g=(0,a.useRef)(),[E,b]=(0,a.useState)(f||""),[x,O]=(0,a.useState)([]),[w,R]=(0,a.useState)(p||[]),[N,S]=(0,a.useState)({fieldName:d}),{data:T,state:C}=(e=>{const[t,l]=(0,a.useState)(y.o.INIT),[r,n]=(0,a.useState)({}),i=e=>{console.error(e),l(y.o.ERROR),n({})},o=(0,a.useCallback)((()=>(l(y.o.LOADING),n({}),(0,c.aTW)({entityTypeUri:e}).then(Le).then((e=>{n(e),l(y.o.LOADED)})).catch(i))),[l,n,e]),s=(0,a.useCallback)((()=>{try{o()}catch(e){i(e)}}),[o]);return(0,a.useEffect)((()=>{s()}),[s]),{data:r,state:t,reload:s}})(i.uri),A=null===(t=(0,a.useContext)(Kl))||void 0===t||null===(l=t.dvfs)||void 0===l?void 0:l.state,I=((e,t)=>{var l,r;const i=(0,n.useSelector)(h.ZP.selectors.getMetadata),o=(0,a.useMemo)((()=>(e=>(0,s.pipe)(c.WN0,ft(e),gt))(t)(i,e)),[i,e,t]),[d,u]=(0,a.useState)([]),p=e.uri,f=(0,a.useMemo)((()=>(0,c.qhs)(i,p)),[i,p]),m=null===(l=(0,a.useContext)(Kl))||void 0===l||null===(r=l.dvfs)||void 0===r?void 0:r.data;return(0,a.useEffect)((()=>{m&&u(o.map((0,s.evolve)({attributeItem:e=>function(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){Br(e,t,l[t])}))}return e}({},e,{details:yt({attrTypeItem:e,dvf:m,matchAttributes:f})},e.children&&{children:e.children.map((t=>(t.details=yt({attrTypeItem:t,dvf:m,matchAttributes:f}),t.details.reference=e.isAttributeReference,t)))})})))}),[o,f,m]),d})(i,E),{filteredItems:M,filterOptions:D}=(0,a.useMemo)((()=>{const e=Pr(w,T,I),t=(e=>{const t=Object.values(nt).map((e=>({value:e,label:vt(e),group:"details"}))).map((t=>(0,s.assoc)("count",((e,t)=>e.filter((e=>ct([t],e.attributeItem))).length)(e,t),t)));return{label:u().text("Attribute properties"),options:t}})(e);return{filteredItems:kr(w,e),filterOptions:[{label:"",options:[{label:u().text("Show attributes with no data"),value:Lr.SHOW_EMPTY,group:"emptiness"}]},t]}}),[I,w,T]),_=(0,a.useMemo)((()=>((e,t)=>e.filter((e=>{let{attributeItem:l}=e;return!t.some((e=>l.fieldName.startsWith(e)&&l.fieldName!==e))})))(M,x)),[M,x]),F=M.length,z=e=>{o({selectedDetailedAttributeType:e,filterText:E,filterOptions:w}),S({fieldName:e.fieldName})},L=()=>{const e=((e,t)=>(0,s.pipe)((0,s.find)(Fr(t)),(0,s.propOr)(null,"attributeItem"))(e))(M,N.fieldName)||_r(M);return(0,s.isEmpty)(e)||m?null:e};(0,a.useEffect)((()=>{var e,t,l;if(m)return void(null===(l=g.current)||void 0===l||l.scrollTo(0));if(M.length){const e=L();S({fieldName:(null==e?void 0:e.fieldName)||N.fieldName})}const a=((e,t)=>(0,s.findIndex)(Fr(t))(e))(M,N.fieldName);a>-1?null===(e=g.current)||void 0===e||e.scrollToItem(a,"center"):null===(t=g.current)||void 0===t||t.scrollTo(0)}),[M]),(0,a.useEffect)((()=>{const e=L();o({selectedDetailedAttributeType:e,filterText:E,filterOptions:w})}),[E,w,N]),(0,a.useEffect)((()=>{S((e=>{let{fieldName:t}=e;return m?{fieldName:null}:{fieldName:t}}))}),[m]);const P=e=>{let{data:t,index:l,style:a}=e;const{attributeItem:n,level:i=0}=t[l],o=N.fieldName===n.fieldName,c=((e,t)=>e[t.fieldName])(T,n),d=l>0&&i>(0,s.pathOr)(-1,[l+1,"level"],_);return r().createElement(Mr,{fillRateData:c,fillRateState:C,style:a,detailedAttributeType:n,level:i,onClick:z,selected:o,onCollapse:(u=n.fieldName,()=>{O((e=>e.includes(u)?e.filter((e=>e!==u)):e.concat(u)))}),isCollapsed:x.includes(n.fieldName),isLastLevelItem:d});var u},j=_.length,k=!!j,B=C===y.o.LOADING||A===y.o.LOADING;return r().createElement("div",{className:v.root},r().createElement("div",{className:v.title},u().text("Attributes"),r().createElement("span",{className:v.itemCount},`${F} ${U=F,1===U?u().text("item"):u().text("items")}`),r().createElement(Qr,{defaultFilterText:f,defaultFilterOptions:w,onChangeFilterOptions:R,onChangeFilterText:b,filterOptions:D})),r().createElement("div",{className:v.listWrapper,"data-reltio-id":"reltio-dq-dashboard-attributes-list"},r().createElement("div",{className:v.loaderWrapper},B&&r().createElement(fe.Z,null)),k?r().createElement(de.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=250}=e;return r().createElement(mr.FixedSizeList,{ref:g,itemCount:j,width:"100%",height:t,itemData:_,itemSize:48},P)})):!B&&r().createElement(hr.Z,{height:250})));var U},Jr=(0,E.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 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){tn(e,t,l[t])}))}return e}function tn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const ln=(0,s.path)([0,"value"]),an=e=>{var t,l;let{config:i,saveState:o,getSavedState:d}=e;const g=Jr(),{entityType:E,tabs:b,setEntityTypeByUri:O}=(()=>{const e=(0,n.useSelector)(h.ZP.selectors.getMetadata),t=(0,a.useMemo)((()=>e.entityTypes.filter(c.oDv)),[e.entityTypes]),l=v(t),[r,i]=(0,a.useState)(null);return{entityType:r,tabs:(0,a.useMemo)((()=>t.map(((e,t)=>{let{label:a,uri:r}=e;return{label:a,value:r,additionalLabel:(0,c.k7L)(Number((null==l?void 0:l[(0,c.nIW)(r)])||0),999),dataReltioId:`reltio-dq-dashboard-entity-tab-${t}`}}))),[t,l]),setEntityTypeByUri:(0,s.pipe)((0,c.nt9)(e),i)}})(),[R,N]=(0,a.useState)(null),{isLoaded:S,savedState:T}=(0,p.a)(d),D=(0,n.useSelector)(h.ZP.selectors.getCanUserGetDQStatistic),[_,F]=(0,a.useState)(),z=(e=>{const[t,l]=(0,a.useState)(null),[r,i]=(0,a.useState)(null),o=(0,n.useSelector)(h.ZP.selectors.getUIPath),d=(0,n.useSelector)(h.ZP.selectors.getEnvironment),u=(0,n.useSelector)(h.ZP.selectors.getTenant);return(0,a.useEffect)((()=>{(0,c.f_2)({uiPath:o,tenant:u,environment:d,options:{method:"GET"}}).then((e=>{var t;const a=null==e||null===(t=e.data)||void 0===t?void 0:t.apps.find((0,s.propEq)("name","Console")).uri;l(a)})).catch((()=>l(null)))}),[d,u]),(0,a.useEffect)((()=>{const l=t&&null!=e&&e.uri?(0,s.pipe)((0,s.split)("?"),(0,s.insert)(1,`datamodeler/entityDetails/${(0,c.nIW)(e.uri)}/validation?`),(0,s.join)(""))(t):null;i(l)}),[e,t]),r})(E),L=(e=>{const[t,l]=(0,a.useState)(null),[r,i]=(0,a.useState)(y.o.INIT),[o,s]=(0,a.useState)(),d=(0,n.useSelector)(h.ZP.selectors.getTenant),u=(0,n.useSelector)(h.ZP.selectors.getDVFPath),p=e=>{console.error(e),i(y.o.ERROR),l([]),s(null==e?void 0:e.errorCode)},f=e=>{l(e.functions),s(void 0),i(y.o.LOADED)},m=(0,a.useCallback)((()=>{if(e)return i(y.o.LOADING),(0,c.HaQ)({dvfPath:u,tenant:d,entityTypeUri:e}).then(f).catch(p)}),[u,d,e]);return(0,a.useEffect)((()=>{m()}),[m]),{data:t,state:r,reload:m,errorCode:o}})(null==E?void 0:E.uri),P={dvfs:L,dvfConfigLink:z},j=null==b?void 0:b.map((e=>en({},e,{additionalLabel:r().createElement("span",{className:g.additionalLabel},"(",e.additionalLabel,")")}))),B=(0,a.useCallback)((e=>{(null==E?void 0:E.uri)!==e&&(N(null),O(e),_===A.ENTITY_TYPE&&o(en({dataLevel:_,entityTypeUri:e},Y.current&&{filterOptions:Y.current.filterOptions,filterText:Y.current.filterText})))}),[null==E?void 0:E.uri]),U=(null===(t=i.layoutsByDataLevel)||void 0===t?void 0:t[A.ENTITY_TYPE])||M[A.ENTITY_TYPE],V=null===(l=i.layoutsByDataLevel)||void 0===l?void 0:l[A.ATTRIBUTE_TYPE],Z=(0,a.useMemo)((()=>_===A.ENTITY_TYPE&&U?U:((e,t)=>{const l=k(t),a=(0,s.mergeLeft)(e,M[A.ATTRIBUTE_TYPE]);return a[l]||a.default||[]})(V,null==R?void 0:R.type)),[U,null==R?void 0:R.type,V,_]),G=(0,a.useMemo)((()=>((e,t,l,a)=>{const r=(0,s.uniqBy)((0,s.prop)("id"),(0,s.concat)((null==e?void 0:e[a])||[],I[a]||[])),n=(e=>{switch(e){case A.ATTRIBUTE_TYPE:return(e=>{switch(e){case C.INTEGER:case C.FLOAT:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.VALUE_DISTRIBUTION];case C.BOOLEAN:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY];case C.STRING:return[w.LENGTH,w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART];case C.DATE:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.VALUE_DISTRIBUTION,w.MONTH_DISTRIBUTION,w.DAY_OF_MONTH_DISTRIBUTION,w.DAY_OF_WEEK_DISTRIBUTION];case C.SSN:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.PATTERN];case C.UNKNOWN:return[w.SUMMARY,w.CROSSWALK,w.VALIDATION,w.FILL_RATE_CHART,w.FREQUENCY,w.UNIQUENESS_CHART,w.LENGTH];default:return[]}})(k(t));case A.ENTITY_TYPE:return[w.SUMMARY];default:return[]}})(a);return l.reduce(((e,t)=>{const l=(0,s.prop)("type",e.find((0,s.propEq)("id",t.id)));if(!n.includes(l)){const l=e.findIndex((0,s.propEq)("id",t.id));if(-1!==l)return(0,s.adjust)(l,(0,s.assoc)("type",w.UNSUPPORTED),e)}return e}),r)})(i.viewsByDataLevel,null==R?void 0:R.type,Z,_)),[null==R?void 0:R.type,Z,_]);(0,a.useEffect)((()=>{S&&(O(T.entityTypeUri||ln(b)),F(U?T.dataLevel||A.ENTITY_TYPE:A.ATTRIBUTE_TYPE))}),[S]);const Y=(0,a.useRef)(),W=E&&D&&S;return r().createElement("div",{className:g.perspectiveView},r().createElement(x,{title:u().text("Data Quality")},E&&r().createElement(f.Z,{value:E.uri,tabs:j,onChange:B,scrollButtons:"auto"})),r().createElement("div",{className:g.content},W&&r().createElement(r().Fragment,null,r().createElement(Kl.Provider,{value:P},r().createElement("div",{className:g.wrapper},U&&r().createElement("div",{className:H()(g.entityLevelButton,{[g.selectedButton]:_===A.ENTITY_TYPE}),onClick:()=>{N(null),F(A.ENTITY_TYPE)}},`${E.label} ${u().text("summary")}`),r().createElement(Xr,{entityType:E,onAttributesListChange:e=>{let{selectedDetailedAttributeType:t,filterText:l,filterOptions:a}=e;const r=null==t?void 0:t.fieldName,n={entityTypeUri:E.uri,fieldName:r,filterOptions:a,filterText:l,dataLevel:_};!r&&_!==A.ENTITY_TYPE||(0,s.equals)(Y.current,n)||(o(n),Y.current=n),r&&F(A.ATTRIBUTE_TYPE),N(t)},defaultFieldName:null==T?void 0:T.fieldName,defaultFilterText:null==T?void 0:T.filterText,defaultFilterOptions:null==T?void 0:T.filterOptions,disableAttributeSelection:_===A.ENTITY_TYPE})),(R||_===A.ENTITY_TYPE)&&r().createElement(nl.Provider,{value:_},r().createElement(Ze.Provider,{value:E},r().createElement(He.Provider,{value:R},r().createElement(fr,{views:G,layout:Z})))))),!D&&r().createElement(m.ZP,{text:u().text("403: Permission denied"),secondaryText:u().text("Permission denied")})))};function rn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const nn=function(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){rn(e,t,l[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:l,saveState:i,getSavedState:s}=e;const d=(0,a.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(an,{config:l,saveState:i,getSavedState:d}))))}},15115:(e,t,l)=>{t.Z=void 0;var a=m(l(72579)),r=m(l(54073)),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==h(e)&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var l={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=a?Object.getOwnPropertyDescriptor(e,r):null;n&&(n.get||n.set)?Object.defineProperty(l,r,n):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(l(24328)),i=m(l(13980)),o=m(l(71153)),c=m(l(16805)),s=m(l(2630)),d=m(l(81819)),u=m(l(21853)),p=m(l(87685));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function m(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function y(e,t){for(var l=0;l<t.length;l++){var a=t[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(f,e);var t,l,i=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var l,a=b(e);if(t()){var r=b(this).constructor;l=Reflect.construct(a,arguments,r)}else l=a.apply(this,arguments);return g(this,l)}}(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),x(E(t=i.call(this,e)),"emitChange",(0,r.default)((function(e){return t.props.onChange(e)}),200)),x(E(t),"handleChange",(function(e){var l=(0,a.default)(e,["target","value"]);t.setState({value:l}),t.emitChange(l)})),x(E(t),"handleFocus",(function(){return t.inputRef.current.focus()})),x(E(t),"handleOpen",(function(){t.props.forceOpen||t.setState({open:!0},t.handleFocus)})),x(E(t),"handleClose",(function(){t.props.forceOpen||t.setState({open:!1}),t.setState({value:""}),t.emitChange()})),t.state={open:Boolean(t.props.initialValue),value:t.props.initialValue||""},t.inputRef=n.default.createRef(),t}return t=f,(l=[{key:"render",value:function(){var e=this.state,t=e.open,l=e.value,a=this.props,r=a.classes,i=a.placeholder,f=a.forceOpen,m=t||f,h=t||f&&l;return n.default.createElement("div",{className:(0,o.default)(c.default.searchInputContainer,x({},c.default.colored,m),r.root)},n.default.createElement(s.default,{name:"expand-input-btn",onClick:this.handleOpen},n.default.createElement(u.default,null)),m&&n.default.createElement(d.default,{value:l,disableUnderline:!0,className:c.default.searchInputField,classes:{input:c.default.input},placeholder:i,onChange:this.handleChange,inputProps:{ref:this.inputRef}}),h&&n.default.createElement(s.default,{name:"collapse-input-btn",onClick:this.handleClose},n.default.createElement(p.default,null)))}}])&&y(t.prototype,l),f}(n.PureComponent);t.Z=O,O.defaultProps={classes:{},forceOpen:!1},O.propTypes={classes:i.default.shape({root:i.default.string}),placeholder:i.default.string,forceOpen:i.default.bool,onChange:i.default.func.isRequired,initialValue:i.default.string}},16805:(e,t,l)=>{var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,(0,((a=l(86698))&&a.__esModule?a:{default:a}).default)("<style>.Form__searchInputContainer_3vqs6{display:flex;min-height:48px}.Form__searchInputField_3mnAi{flex:1 1 auto;padding:2px}.Form__input_3ulP-::-ms-clear{display:none}.Form__colored_2WMqk{background-color:#fafafa}</style>"),t.default={searchInputContainer:"Form__searchInputContainer_3vqs6",searchInputField:"Form__searchInputField_3mnAi",input:"Form__input_3ulP-",colored:"Form__colored_2WMqk"}}}]);
|