@reltio/remotes 1.4.1192 → 1.4.1195

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/7820.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7820],{60894:(e,t,n)=>{n.d(t,{Z:()=>b});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(94656);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const c=e=>o().createElement("svg",s({width:20,height:18,viewBox:"0 0 20 18",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M16 7.24V6h-4v1.24a8.417 8.417 0 00-2 .768V6H6v6h.29a8.497 8.497 0 00-.15.358l-.29.733.29.733.07.176H2c-1.1 0-2-.9-2-2V2C0 .9.9 0 2 0h14c1.1 0 2 .9 2 2v6.008a8.417 8.417 0 00-2-.768zM4 12V6H2v6h2zm0-8V2H2v2h2zm6 0V2H6v2h4zm6 0V2h-4v2h4zm-2 5a6.451 6.451 0 00-6 4.09 6.451 6.451 0 006 4.092 6.451 6.451 0 006-4.091A6.451 6.451 0 0014 9zm0 6.818a2.728 2.728 0 010-5.454 2.728 2.728 0 010 5.454zm0-4.363c-.905 0-1.636.73-1.636 1.636 0 .905.73 1.636 1.636 1.636.905 0 1.636-.73 1.636-1.636 0-.906-.73-1.636-1.636-1.636z",fill:"#000",fillRule:"nonzero",stroke:"none",strokeWidth:1,opacity:.54}));var u=n(8818),p=n(17440),d=n(47458),h=n(87918),m=n.n(h),g=n(85657);const f=e=>{let{columnsData:t,selectedColumns:n,onChangeColumns:a,title:l,tooltipTitle:i}=e;const[s,h]=(0,r.useState)(null),f=(0,r.useCallback)((e=>{const t=(0,p.pipe)(g.JJ,(0,p.pluck)("id"))(e),r=(0,g.u)(n,e);a(r?(0,p.difference)(n,t):(0,p.uniq)((0,p.concat)(n,t)))}),[n,a]);return o().createElement(o().Fragment,null,o().createElement(u.k,{tooltipTitle:i||m().text("Show/hide columns"),size:"L",icon:c,onClick:e=>h(e.currentTarget)}),o().createElement(d.G,{onColumnClick:f,anchorEl:s,columnsData:t,onClose:()=>h(null),title:l,selectedColumns:n}))};f.propTypes={columnsData:i.uz,selectedColumns:l().arrayOf(l().string),onChangeColumns:l().func,title:l().string,tooltipTitle:l().string};const b=f},47458:(e,t,n)=>{n.d(t,{G:()=>w});var r=n(24328),o=n.n(r),a=n(87918),l=n.n(a),i=n(17440),s=n(81667),c=n(44890),u=n(97820),p=n(85657),d=n(56656),h=n(54763),m=n(13980),g=n.n(m),f=n(7785),b=n(27239),y=n(71153),v=n.n(y);const x=(0,n(79692).Z)({popup:{minWidth:"200px"},groupItem:{backgroundColor:"rgba(0,0,0,0.04)"}}),P=e=>{let{item:t,onClick:n,checked:r,level:a,style:l,isFocused:i,isGroupItem:s,hideCheckBox:c}=e;const u=x();return o().createElement(f.Z,{hideCheckBox:c,key:t.id,onClick:n,checked:r,level:a,data:t,label:o().createElement(b.Z,{text:t.label,highlight:t.filterText}),labelInText:t.label,style:l,isFocused:i,hideIcon:s,className:v()({[u.groupItem]:s})})};P.propTypes={item:g().shape({label:g().string,filterText:g().string}),level:g().number,onClick:g().func,checked:g().bool,style:g().object,isGroupItem:g().bool,isFocused:g().bool,hideCheckBox:g().bool};const C=P,w=e=>{let{anchorEl:t,onClose:n,title:a,columnsData:m,onColumnClick:g,selectedColumns:f,hideCheckBox:b}=e;const y=x(),[v,P]=(0,r.useState)(""),w=(0,r.useMemo)((()=>(0,p.eX)(m,v)),[m,v]),O=(0,r.useMemo)((()=>(0,d.LG)(w)),[w]),k=(0,s.fW1)("label")(w)||308,E=(0,r.useCallback)((e=>{let{item:t}=e;return g(t)}),[g]),{focusIndex:S,handleKeyDown:I}=(0,h.t)({items:O,open:!0,onSelectFocusedItem:E,selectedItems:f,onClose:n}),T=(0,r.useCallback)((0,i.pipe)(n,(()=>P(""))),[n]),j=Math.min(300,32*O.length),D=Math.max(140,j+108);return o().createElement(u.Z,{className:y.popup,open:!!t,anchorEl:t,onClose:T,onSearch:P,title:a||l().text("Show/hide columns"),containerWidth:k,containerHeight:D,searchInputOnKeyDown:I},o().createElement(c.Z,{fixedTitle:!1,height:j,renderItem:(e,t,n)=>{let{item:r,level:a=0}=t;return o().createElement(C,{hideCheckBox:b,style:e,item:r,level:a,isFocused:S===n,checked:(0,p.u)(f,r),isGroupItem:(0,p.yf)(r),onClick:b?(0,i.pipe)(g,T):g})},items:O,getItemSize:()=>32,focusIndex:S}))}},85657:(e,t,n)=>{n.d(t,{eX:()=>b,JJ:()=>y,yf:()=>i,u:()=>v});var r=n(17440),o=n(81667);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>e.id===e.groupId,s=(0,r.curry)(((e,t)=>{let{id:n,groupId:r}=e;return t.groupId===r&&(n===t.id||n.startsWith(`${t.id}.`))})),c=(0,r.curry)(((e,t)=>{let{groupId:n}=e;return n===t.id})),u=(0,r.propOr)(!0,"hideable"),p=(e,t)=>{const n=((e,t)=>e.find((0,r.either)(c(t),s(t))))(e,t);return n?(n.children=p(n.children||[],t),e):e.concat(t)},d=(0,r.curry)(((e,t)=>o.P6Y.strings.search(t.label,e)||(t.children||[]).some(d(e)))),h=(0,r.reduce)(((e,t)=>p(e,{id:t.id,groupId:t.groupId,label:t.label,attrType:t.dataTypeDefinition})),[]),m=(0,r.curry)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,r.pipe)((0,r.filter)(d(e)),(0,r.chain)((t=>[{item:a({},t,{filterText:e}),level:n},...t.children?m(e,t.children,n+1):[]])))(t)})),g=(0,r.has)("columns"),f=e=>{let{id:t,label:n,columns:o}=e;return[{id:t,groupId:t,label:n},...o.map((0,r.assoc)("groupId",t))]},b=(e,t)=>(0,r.pipe)((0,r.chain)((0,r.when)(g,f)),(0,r.filter)((0,r.either)(i,u)),h,m(t))(e),y=e=>e.children?(0,r.chain)(y,e.children):[e],v=(e,t)=>{const n=y(t),r=t=>e.includes(t.id);return i(t)?n.every(r):n.some(r)}},1876:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(87918),s=n.n(i),c=n(94079),u=n(87685);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=e=>o().createElement("svg",p({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),h=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),m=e=>{let{enabled:t,onClick:n}=e;const r=h();return o().createElement(c.Tooltip,{title:t?s().text("Clear all filters"):s().text("Filter")},o().createElement(c.IconButton,{onClick:n,classes:{root:r.button}},t?o().createElement(o().Fragment,null,o().createElement(d,{className:r["filterIcon--enabled"]}),o().createElement(u.default,{color:"primary",className:r.closeIcon})):o().createElement(d,null)))};m.propTypes={enabled:l().bool,onClick:l().func};const g=m},58662:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a),i=n(71153),s=n.n(i),c=n(94079),u=n(87918),p=n.n(u),d=n(31276),h=n(17440);const m=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>{let{classes:t={},count:n,rowsPerPageOptions:r,page:o,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:f,basicTableRef:b,labelRowsPerPage:y}=e;const v=m(),x=(0,a.useCallback)((()=>{(0,h.pathOr)(h.identity,["current","resetScrollbarPosition"],b)()}),[b]),P=(0,a.useCallback)((e=>{i(e),x()}),[i,x]),C=(0,a.useCallback)((e=>{i(0),f(e),x()}),[i,f,x]);return l().createElement(c.TablePagination,{classes:g({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:y||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:r}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(r,"0,0")})},count:n,rowsPerPageOptions:r,page:o,onChangePage:(0,h.pipe)((0,h.nthArg)(1),P),rowsPerPage:u,onChangeRowsPerPage:(0,h.pipe)(d.NA,C)})};b.propTypes={classes:o().object,rowsPerPageOptions:o().arrayOf(o().number),count:o().number,page:o().number,onChangePage:o().func,rowsPerPage:o().number,onChangeRowsPerPage:o().func,basicTableRef:o().shape({current:o().object}),labelRowsPerPage:o().string};const y=l().memo(b)},26180:(e,t,n)=>{n.d(t,{ZP:()=>g});var r=n(17440),o=n(31276);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i="CHANGE_COLUMNS",s="TOGGLE_FILTERS",c="CHANGE_FILTER",u="TOGGLE_SORT",p="CHANGE_PAGE",d="CHANGE_ROWS_PER_PAGE",h={changeColumns:(0,o.zD)(i),toggleFilters:(0,o.zD)(s),changeFilter:(0,o.zD)(c),toggleSort:(0,o.zD)(u),changePage:(0,o.zD)(p),changeRowsPerPage:(0,o.zD)(d)},m=(e,t)=>{const n=(0,r.difference)(e.visibleColumns,t),o=e=>n.includes(e);return(0,r.evolve)({visibleColumns:(0,r.always)(t),sorting:(0,r.when)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(e.field)}),(()=>{const[e]=t;return{field:e,order:"asc"}})),filters:e=>(0,r.keys)(e).reduce(((e,t)=>o(t)?(0,r.dissoc)(t,e):e),e)},e)},g={reducer:(e,t)=>{switch(t.type){case i:{const n=t.payload;return m(e,n)}case s:{const t=!e.filters;return a({},e,{filters:t?{}:null,page:t?e.page:0})}case c:{const{columnId:n,filter:o}=t.payload;return(0,r.evolve)({filters:o?(0,r.assoc)(n,o):(0,r.dissoc)(n),page:(0,r.always)(0)},e)}case u:{const n=t.payload,l=(0,r.path)(["sorting","field"],e),i=(0,r.path)(["sorting","order"],e);return a({},e,{sorting:{field:n,order:(0,o.Dh)(n===l?i:null)},page:0})}case p:return a({},e,{page:t.payload});case d:return a({},e,{rowsPerPage:t.payload});default:return e}},actions:h,changeVisibleColumns:m}},10237:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(27556),o=n(13980),a=n.n(o),l=n(24328),i=n.n(l);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(0,n(79692).Z)((e=>({"basic-view__paper":s({display:"flex",flexDirection:"column"},e.basicView)})));function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=(0,l.forwardRef)(((e,t)=>{let{children:n,className:o}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className"]);const l=u();return i().createElement(r.Z,p({ref:t,className:o,classes:{root:l["basic-view__paper"]}},a),n)}));d.displayName="BasicView",d.propTypes={children:a().node,className:a().string};const h=d},81137:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),a=n(87918),l=n.n(a),i=n(94079);const s=(0,n(79692).Z)({paper:{minHeight:"180px"},title:{padding:"16px 16px 10px 16px",fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px"},content:{padding:"0 16px"},contentText:{marginBottom:0,fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px"},actionButtons:{display:"flex",paddingTop:"4px",fontSize:"14px",fontWeight:500,letterSpacing:0,lineHeight:"16px","& > div":{marginLeft:"auto"}},discardButton:{marginRight:"8px"}}),c=e=>{let{open:t,title:n,content:r,onCancel:a,cancelCaption:c=l().text("Cancel"),onDiscard:u,discardCaption:p="",onSave:d,saveCaption:h=l().text("Save"),disabledSave:m=!1}=e;const g=s();return o().createElement(i.Dialog,{open:t,onClose:a,classes:{paperScrollPaper:g.paper}},o().createElement(i.DialogTitle,{classes:{root:g.title}},n),o().createElement(i.DialogContent,{classes:{root:g.content}},o().createElement(i.DialogContentText,{classes:{root:g.contentText}},r)),o().createElement(i.DialogActions,{className:g.actionButtons,disableSpacing:!0},a&&o().createElement(i.Button,{onClick:a},c),o().createElement("div",null,u&&o().createElement(i.Button,{onClick:u,classes:{root:g.discardButton}},p),o().createElement(i.Button,{onClick:d,color:"primary",disabled:m,autoFocus:!0},h))))}},68439:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),o=n.n(r),a=n(52730),l=n(71153),i=n.n(l),s=n(94079),c=n(81667),u=n(59431),p=n(88611);const d=(0,n(79692).Z)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px"}}),h=e=>{let{entity:t,className:n,size:r="small"}=e;const l=d(),h=(0,a.useSelector)(u.ZP.selectors.getMetadata),m=t.type,g=(0,c.nt9)(h,m)||{},f=(0,c.VD3)(h,g,"typeColor")||c.rSc.palette.primary.main,b=(0,c.jFi)(h,t);return o().createElement(p.C,{value:b,placement:"top"},o().createElement(s.Typography,{style:{backgroundColor:f,color:c.P6Y.Colors.getColor(f)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${r}`],l["entityType-overflow"],n),component:"div"},b))}},57304:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(71153),s=n.n(i),c=n(52730),u=n(17440),p=n(94079),d=n(87918),h=n.n(d),m=n(81667),g=n(59431),f=n(53180),b=n(68439);const y=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),v=e=>{let{className:t,entity:n,children:a,classes:l,showEntityId:i=!0}=e;const d=y({classes:l}),v=(0,c.useSelector)(g.ZP.selectors.getMetadata),x=(0,r.useCallback)((()=>{navigator.clipboard.writeText((0,m.BTI)(n))}),[n]);if((0,u.isNil)(n))return null;const P=(0,m.idV)(n.label),C=n.secondaryLabel,w=(0,m.ptG)(v,n),O=(0,m.Fn9)(n),k=n.uri,E=(0,m.BTI)(n);return o().createElement("div",{className:s()(d.profileBandWrapper,t)},o().createElement("div",{className:s()(d.profileBand,{[d.inactive]:!O}),"data-entity-uri":k},o().createElement(f.Z,{key:n.uri,entity:n,avatarClassName:d.profileIcon,imageClassName:d.imageProfileIcon}),o().createElement("div",{className:d.profileInfo},o().createElement("div",null,o().createElement(p.Typography,{variant:"h6",className:d.label},P),C&&o().createElement(p.Typography,{variant:"subtitle2",className:d.secondaryLabel},C),w&&o().createElement(p.Typography,{variant:"subtitle1",className:d.businessCard},w)),o().createElement("div",{className:d.specialInfo},o().createElement("div",{className:d.entityType},o().createElement(b.Z,{entity:n,size:"medium",className:d.badge}),!(0,m.ZiX)(k)&&i&&o().createElement(p.Tooltip,{title:h().text("Copy to clipboard")},o().createElement(p.Typography,{display:"inline",variant:"body2",className:d.entityId,onClick:x},h().text("Entity ID"),": ",E))))),a&&o().createElement("div",null,a)))};v.propTypes={className:l().string,entity:l().object,children:l().node,classes:l().object,showEntityId:l().bool};const x=v},93873:(e,t,n)=>{n.d(t,{a:()=>I});var r=n(24328),o=n.n(r),a=n(87918),l=n.n(a),i=n(94079),s=n(83348),c=n(8818),u=n(67766),p=n(42767),d=n(81667);const h=(0,n(79692).Z)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),m=(0,s.Z)(i.Link),g=e=>{let{total:t=0,onPrev:n,onNext:r,onSearchResultsClick:a,isPrevDisabled:i,isNextDisabled:s}=e;const g=h();return o().createElement("div",{className:g.container},o().createElement(m,{className:g.link,component:"button",variant:"caption",onClick:a,underline:"none",tooltipTitle:l().text("Go to search results")},(0,d.k7L)(t,1e6)," ",1===t?l().text("Search result"):l().text("Search results")),o().createElement(c.k,{size:"L",icon:u.Z,tooltipTitle:l().text("Go to previous profile"),onClick:n,disabled:i,showForDisabled:!0}),o().createElement(c.k,{size:"L",icon:p.Z,tooltipTitle:l().text("Go to next profile"),onClick:r,disabled:s,showForDisabled:!0}))};var f=n(52730),b=n(59431),y=n(17440),v=n(39450),x=n(67218);function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){C(e,t,n[t])}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:{query:n,sortField:r,sortOrder:o},tenant:a,searchTenant:l,apiPath:i,dtssPath:s,globalSearchRequestOptions:c}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[t.getQueryFilter(),...e],o=P({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,d.uqV)({filters:r,options:o,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,d.ZOr)(r,o)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,d.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,d.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=r,this.sortOrder=o,this.tenant=a,this.searchTenant=l,this.apiPath=i,this.dtssPath=s,this.globalSearchRequestOptions=c}}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){k(e,t,n[t])}))}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class E{constructor(e){var t=this;let{data:n,tenant:r,apiPath:o}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[{rawFilter:t.searchBody.filter},...e];return(0,d.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:O({},t.searchBody,{filter:e.length?(0,d.Uqd)()(r):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,d.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,d.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=r,this.apiPath=o}}const S=(e,t)=>(0,y.pipe)((0,y.map)((0,y.prop)("uri")),(0,y.reject)((e=>t.includes(e))))(e),I=()=>{const{total:e,onPrev:t,onNext:n,onSearchResultsClick:a,isPrevDisabled:l,isNextDisabled:i}=(()=>{const e=(0,x._)(),t=(0,x._)(),n=(0,x._)(),{uri:o,index:a,total:l,tenant:i,cache:s}=(0,f.useSelector)(b.ZP.selectors.getSearchNavigationData)||{},{type:c,data:u}=(0,f.useSelector)(b.ZP.selectors.getSearchProviderData)||{},p=(0,f.useSelector)(b.ZP.selectors.getTenant),h=(0,f.useSelector)(b.ZP.selectors.getApiPath),m=(0,f.useSelector)(b.ZP.selectors.getDtssPath),g=(0,f.useSelector)((e=>b.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),y=(0,r.useContext)(v.m),P=(0,f.useDispatch)(),[C,O]=(0,r.useState)(!1),k=(0,r.useMemo)((()=>((e,t)=>{switch(e){case"search":return new w(t);case"graphsearch":return new E(t)}})(c,{data:u,tenant:p,searchTenant:i,apiPath:h,dtssPath:m,globalSearchRequestOptions:g})),[c,u,p,i,h,m,g]),I=(0,r.useCallback)((e=>{P(b.yC.actions.updateSearchNavigationDataFields(e))}),[P]),T=(0,r.useCallback)((e=>{const t=p!==i?(0,d.wwR)({uri:e,dataTenant:i}):e;P(b.ui.actions.openEntity({uri:t,viewId:y,source:"navigation"}))}),[P,y,p,i]),j=(0,r.useCallback)((()=>{P(b.ui.actions.openPerspective({perspectiveId:c,viewId:y}))}),[P,c,y]);(0,r.useEffect)((()=>{a>=l?I({index:l-1}):a<0&&I({index:0})}),[l,a,I]);const D=(0,r.useCallback)(((e,r,o)=>{O(!0),t(k.requestTotal()).then((e=>I({total:e})));const a=o+1;return n(k.requestEntities(15,a)).then((t=>{if(t){if(t.length){const n=S(t,e);if(n.length>0)return I({cache:e.concat(n),uri:n[0],index:a+t.length-n.length}),void T(n[0]);if(o+t.length<r-1)return D(e,r-t.length,o+t.length)}I({index:a})}})).finally((()=>{O(!1)}))}),[k,I,T]),R=(0,r.useCallback)(((e,r)=>{O(!0),t(k.requestTotal()).then((e=>I({total:e})));const o=r-1,a=Math.max(0,r-15),l=15+Math.min(0,r-15);return n(k.requestEntities(l,a)).then((t=>{if(t){if(t.length){const n=S(t,e);if(n.length>0)return I({cache:n.concat(e),uri:n[n.length-1],index:o-(t.length-n.length)}),void T(n[n.length-1]);if(r-t.length>0)return R(e,r-t.length)}I({index:0})}})).finally((()=>{O(!1)}))}),[k,I,T]),N=(0,r.useCallback)(((t,n,r,o)=>{if(n<t.length){const a=t[n];return O(!0),e(k.checkEntity(a)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),N(e,n,r-1,o)}I({index:o+1,uri:a,cache:t,total:r}),T(a)})).finally((()=>{O(!1)}))}if(!(o>=r-1))return D(t,r,o);I({cache:t,total:r,index:r-1})}),[k,I,T,D]),Z=(0,r.useCallback)(((t,n,r,o)=>{if(n>-1){const a=t[n];return O(!0),e(k.checkEntity(a)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),Z(e,n-1,r-1,o-1)}I({index:o-1,uri:a,cache:t,total:r}),T(a)})).finally((()=>{O(!1)}))}if(!(o<=0))return R(t,o);I({index:0,cache:t,total:r})}),[k,I,T,R]),z=(0,r.useCallback)((()=>{if(s&&o){const e=s.indexOf(o)-1;Z(s,e,l,a)}}),[Z,s,o,l,a]),B=(0,r.useCallback)((()=>{if(s&&o){const e=s.indexOf(o)+1;N(s,e,l,a)}}),[N,s,o,l,a]);return{total:l,onPrev:z,onNext:B,onSearchResultsClick:j,isPrevDisabled:C||a<=0,isNextDisabled:C||a>=l-1}})();return(()=>{const{cache:e}=(0,f.useSelector)(b.ZP.selectors.getSearchNavigationData)||{},t=(0,f.useSelector)(b.ZP.selectors.getMode),n=(0,f.useSelector)(b.ZP.selectors.getEntity);return(0,d.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?o().createElement(g,{total:e,onPrev:t,onNext:n,onSearchResultsClick:a,isPrevDisabled:l,isNextDisabled:i}):null}},51229:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(24328),o=n.n(r);const a=()=>o().createElement("div",{style:{flex:1}})},30553:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a);const i=e=>{let{height:t,margin:n}=e;return l().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};i.propTypes={height:o().number,margin:o().number};const s=i},86361:(e,t,n)=>{n.d(t,{o:()=>l});var r=n(24328),o=n(17440);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>{let{actions:t,dispatch:n}=e;return(0,r.useMemo)((()=>Object.entries(t).reduce(((e,t)=>{let[r,l]=t;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({},e,{[r]:(0,o.pipe)(l,n)})}),{})),[n,t])}},7718:(e,t,n)=>{n.d(t,{C:()=>m});var r=n(24328),o=n(52730),a=n(17440),l=n(81667),i=n(59431);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(e,t)=>t.filter((t=>t.replyId!==e)),p=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),r=[...e.replies];return r[n]=t,r},d=[],h=e=>console.error("Collaboration error",e),m=e=>{let{objectIds:t=d,objectTypes:n,enabled:c=!0}=e;const m=(0,o.useSelector)(i.ZP.selectors.getEntity),g=(0,o.useSelector)(i.ZP.selectors.getTenant),f=(0,o.useSelector)(i.ZP.selectors.getCollaborationPath),b=(0,o.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[y,v]=(0,r.useState)(null),[x,P]=(0,r.useState)([]),[C,w]=(0,r.useState)(null),[O,k]=(0,r.useState)(null),[E,S]=(0,r.useState)(!1),[I,T]=(0,r.useState)(!1),j=(0,r.useCallback)((e=>{w((t=>s({},t,e)))}),[]),D=null==m?void 0:m.uri,R=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(b&&D&&!(0,l.ZiX)(D)){const n=e=>{console.warn("Collaboration error",e),w(null)};(0,a.pipe)(l.$oF,(0,a.andThen)((0,a.map)((0,a.props)(["objectId","comments"]))),(0,a.andThen)(a.fromPairs),(0,a.andThen)(t?w:j),(0,a.otherwise)(n))({uris:e,tenant:g,collaborationPath:f})}else w(null)}),[j,f,D,b,g]);(0,r.useEffect)((()=>{R(t,!0)}),[t,R]);const N=(0,r.useCallback)(((e,t)=>{(0,l.liG)({collaborationPath:f,tenant:g,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:r}=e;P((e=>t?(0,a.uniqBy)((0,a.prop)("commentId"),[...e,...n]):n)),v(r)})).catch(h)}),[f,g]),Z=(0,r.useCallback)((e=>{T(!0),(0,l.d7q)({collaborationPath:f,tenant:g,commentId:e}).then(k).catch(h).finally((()=>T(!1)))}),[f,g]),z=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:o,relatedObjectUris:a}=e;S(!0);const i={objectId:o,content:t,relatedObjectUris:a,objectType:r,visibility:"public",namedUsers:n,permanentLink:""};return(0,l.Yrx)({collaborationPath:f,tenant:g,data:i}).then((e=>{let[t]=e;return((e,t)=>{k(e),w((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),P((t=>[e,...t]))})(t,o)})).catch(h).finally((()=>S(!1)))}),[f,g]),B=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:o,relatedObjectUris:i,commentId:c,replies:u}=e;S(!0);const p={objectId:o,content:t,relatedObjectUris:i,objectType:r,visibility:"public",namedUsers:n,permanentLink:"",commentId:c,replies:u};return(0,l.uAg)({collaborationPath:f,tenant:g,data:p}).then((e=>(e=>{k(e),P((0,a.map)((0,a.when)((0,a.propEq)("commentId",e.commentId),(0,a.always)(e))))})(s({},e,{replies:u})))).catch(h).finally((()=>S(!1)))}),[f,g]),F=(0,r.useCallback)((e=>{let{uri:t,commentId:n}=e;S(!0),(0,l.YFy)({collaborationPath:f,tenant:g,commentId:n}).then((()=>((e,t)=>{k(null),w((n=>{const r=n[t]||[];return s({},n,{[t]:r.filter((t=>t.commentId!==e))})})),P((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(h).finally((()=>S(!1)))}),[f,g]),q=(0,r.useCallback)(((e,t,n,r)=>{const o="resolve"===e.action?"resolved":"open",{replyId:a}=e;k("resolved"===o?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:r?u(a,t.replies):[...t.replies,e]})}),w((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:o,replies:r?e.replies-1:e.replies+1}):e))}))),P((t=>t.map((t=>t.commentId===n?s({},t,{status:o,replies:r?u(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),H=(0,r.useCallback)((e=>{let{uri:t,commentId:n,reply:r}=e;S(!0),(0,l.Mfr)({collaborationPath:f,tenant:g,commentId:n,replyId:r.replyId}).then((()=>q(r,t,n,!0))).catch(h).finally((()=>S(!1)))}),[f,q,g]),G=(0,r.useCallback)(((e,t)=>{k((t=>{if(t)return s({},t,{replies:p(t,e)})})),P((n=>n.map((n=>n.commentId===t?s({},n,{replies:p(n,e)}):n))))}),[]),L=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,replyId:o}=e;S(!0);const a={content:t,namedUsers:n};return(0,l.ufV)({collaborationPath:f,tenant:g,commentId:r,replyId:o,data:a}).then((e=>G(e,r))).catch(h).finally((()=>S(!1)))}),[f,g,G]),_=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,action:o,uri:a}=e;S(!0);const i={content:t,action:o,namedUsers:n};return(0,l.PP2)({collaborationPath:f,tenant:g,commentId:r,data:i}).then((e=>{let[t]=e;return q(t,a,r)})).catch(h).finally((()=>S(!1)))}),[f,g,q]),U=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;_({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[_]),M=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;_({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[_]);return{clearCurrentComment:(0,r.useCallback)((()=>{k(null)}),[]),comments:x,commentsMap:C,createComment:z,createReply:_,currentComment:O,deleteComment:F,editComment:B,getComment:Z,getComments:N,getCommentsCount:R,loading:I,objectTypes:n,pageToken:y,reOpenThread:M,resolveThread:U,sending:E,deleteReply:H,editReply:L}}},17554:(e,t,n)=>{n.d(t,{U:()=>i});var r=n(24328),o=n(52730),a=n(81667),l=n(59431);const i=()=>{const[e,t]=(0,r.useState)([]),n=(0,o.useSelector)(l.ZP.selectors.getTenant),i=(0,o.useSelector)(l.ZP.selectors.getServicesPath),s=e=>{console.warn("Users error",e),t([])};return(0,r.useEffect)((()=>{(0,a.kz_)({tenant:n,servicesPath:i}).then((e=>{let{array:n}=e;return t(n)})).catch(s)}),[n,i]),e}}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7820],{60894:(e,t,n)=>{n.d(t,{Z:()=>b});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(94656);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const c=e=>o().createElement("svg",s({width:20,height:18,viewBox:"0 0 20 18",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M16 7.24V6h-4v1.24a8.417 8.417 0 00-2 .768V6H6v6h.29a8.497 8.497 0 00-.15.358l-.29.733.29.733.07.176H2c-1.1 0-2-.9-2-2V2C0 .9.9 0 2 0h14c1.1 0 2 .9 2 2v6.008a8.417 8.417 0 00-2-.768zM4 12V6H2v6h2zm0-8V2H2v2h2zm6 0V2H6v2h4zm6 0V2h-4v2h4zm-2 5a6.451 6.451 0 00-6 4.09 6.451 6.451 0 006 4.092 6.451 6.451 0 006-4.091A6.451 6.451 0 0014 9zm0 6.818a2.728 2.728 0 010-5.454 2.728 2.728 0 010 5.454zm0-4.363c-.905 0-1.636.73-1.636 1.636 0 .905.73 1.636 1.636 1.636.905 0 1.636-.73 1.636-1.636 0-.906-.73-1.636-1.636-1.636z",fill:"#000",fillRule:"nonzero",stroke:"none",strokeWidth:1,opacity:.54}));var u=n(8818),p=n(17440),d=n(47458),h=n(87918),m=n.n(h),g=n(85657);const f=e=>{let{columnsData:t,selectedColumns:n,onChangeColumns:a,title:l,tooltipTitle:i}=e;const[s,h]=(0,r.useState)(null),f=(0,r.useCallback)((e=>{const t=(0,p.pipe)(g.JJ,(0,p.pluck)("id"))(e),r=(0,g.u)(n,e);a(r?(0,p.difference)(n,t):(0,p.uniq)((0,p.concat)(n,t)))}),[n,a]);return o().createElement(o().Fragment,null,o().createElement(u.k,{tooltipTitle:i||m().text("Show/hide columns"),size:"L",icon:c,onClick:e=>h(e.currentTarget)}),o().createElement(d.G,{onColumnClick:f,anchorEl:s,columnsData:t,onClose:()=>h(null),title:l,selectedColumns:n}))};f.propTypes={columnsData:i.uz,selectedColumns:l().arrayOf(l().string),onChangeColumns:l().func,title:l().string,tooltipTitle:l().string};const b=f},47458:(e,t,n)=>{n.d(t,{G:()=>w});var r=n(24328),o=n.n(r),a=n(87918),l=n.n(a),i=n(17440),s=n(66269),c=n(44890),u=n(97820),p=n(85657),d=n(56656),h=n(54763),m=n(13980),g=n.n(m),f=n(7785),b=n(27239),y=n(71153),v=n.n(y);const x=(0,n(79692).Z)({popup:{minWidth:"200px"},groupItem:{backgroundColor:"rgba(0,0,0,0.04)"}}),P=e=>{let{item:t,onClick:n,checked:r,level:a,style:l,isFocused:i,isGroupItem:s,hideCheckBox:c}=e;const u=x();return o().createElement(f.Z,{hideCheckBox:c,key:t.id,onClick:n,checked:r,level:a,data:t,label:o().createElement(b.Z,{text:t.label,highlight:t.filterText}),labelInText:t.label,style:l,isFocused:i,hideIcon:s,className:v()({[u.groupItem]:s})})};P.propTypes={item:g().shape({label:g().string,filterText:g().string}),level:g().number,onClick:g().func,checked:g().bool,style:g().object,isGroupItem:g().bool,isFocused:g().bool,hideCheckBox:g().bool};const C=P,w=e=>{let{anchorEl:t,onClose:n,title:a,columnsData:m,onColumnClick:g,selectedColumns:f,hideCheckBox:b}=e;const y=x(),[v,P]=(0,r.useState)(""),w=(0,r.useMemo)((()=>(0,p.eX)(m,v)),[m,v]),O=(0,r.useMemo)((()=>(0,d.LG)(w)),[w]),k=(0,s.fW1)("label")(w)||308,E=(0,r.useCallback)((e=>{let{item:t}=e;return g(t)}),[g]),{focusIndex:S,handleKeyDown:I}=(0,h.t)({items:O,open:!0,onSelectFocusedItem:E,selectedItems:f,onClose:n}),T=(0,r.useCallback)((0,i.pipe)(n,(()=>P(""))),[n]),j=Math.min(300,32*O.length),D=Math.max(140,j+108);return o().createElement(u.Z,{className:y.popup,open:!!t,anchorEl:t,onClose:T,onSearch:P,title:a||l().text("Show/hide columns"),containerWidth:k,containerHeight:D,searchInputOnKeyDown:I},o().createElement(c.Z,{fixedTitle:!1,height:j,renderItem:(e,t,n)=>{let{item:r,level:a=0}=t;return o().createElement(C,{hideCheckBox:b,style:e,item:r,level:a,isFocused:S===n,checked:(0,p.u)(f,r),isGroupItem:(0,p.yf)(r),onClick:b?(0,i.pipe)(g,T):g})},items:O,getItemSize:()=>32,focusIndex:S}))}},85657:(e,t,n)=>{n.d(t,{eX:()=>b,JJ:()=>y,yf:()=>i,u:()=>v});var r=n(17440),o=n(66269);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>e.id===e.groupId,s=(0,r.curry)(((e,t)=>{let{id:n,groupId:r}=e;return t.groupId===r&&(n===t.id||n.startsWith(`${t.id}.`))})),c=(0,r.curry)(((e,t)=>{let{groupId:n}=e;return n===t.id})),u=(0,r.propOr)(!0,"hideable"),p=(e,t)=>{const n=((e,t)=>e.find((0,r.either)(c(t),s(t))))(e,t);return n?(n.children=p(n.children||[],t),e):e.concat(t)},d=(0,r.curry)(((e,t)=>o.P6Y.strings.search(t.label,e)||(t.children||[]).some(d(e)))),h=(0,r.reduce)(((e,t)=>p(e,{id:t.id,groupId:t.groupId,label:t.label,attrType:t.dataTypeDefinition})),[]),m=(0,r.curry)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,r.pipe)((0,r.filter)(d(e)),(0,r.chain)((t=>[{item:a({},t,{filterText:e}),level:n},...t.children?m(e,t.children,n+1):[]])))(t)})),g=(0,r.has)("columns"),f=e=>{let{id:t,label:n,columns:o}=e;return[{id:t,groupId:t,label:n},...o.map((0,r.assoc)("groupId",t))]},b=(e,t)=>(0,r.pipe)((0,r.chain)((0,r.when)(g,f)),(0,r.filter)((0,r.either)(i,u)),h,m(t))(e),y=e=>e.children?(0,r.chain)(y,e.children):[e],v=(e,t)=>{const n=y(t),r=t=>e.includes(t.id);return i(t)?n.every(r):n.some(r)}},1876:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(87918),s=n.n(i),c=n(94079),u=n(87685);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=e=>o().createElement("svg",p({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),h=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),m=e=>{let{enabled:t,onClick:n}=e;const r=h();return o().createElement(c.Tooltip,{title:t?s().text("Clear all filters"):s().text("Filter")},o().createElement(c.IconButton,{onClick:n,classes:{root:r.button}},t?o().createElement(o().Fragment,null,o().createElement(d,{className:r["filterIcon--enabled"]}),o().createElement(u.default,{color:"primary",className:r.closeIcon})):o().createElement(d,null)))};m.propTypes={enabled:l().bool,onClick:l().func};const g=m},58662:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a),i=n(71153),s=n.n(i),c=n(94079),u=n(87918),p=n.n(u),d=n(31276),h=n(17440);const m=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>{let{classes:t={},count:n,rowsPerPageOptions:r,page:o,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:f,basicTableRef:b,labelRowsPerPage:y}=e;const v=m(),x=(0,a.useCallback)((()=>{(0,h.pathOr)(h.identity,["current","resetScrollbarPosition"],b)()}),[b]),P=(0,a.useCallback)((e=>{i(e),x()}),[i,x]),C=(0,a.useCallback)((e=>{i(0),f(e),x()}),[i,f,x]);return l().createElement(c.TablePagination,{classes:g({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:y||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:r}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(r,"0,0")})},count:n,rowsPerPageOptions:r,page:o,onChangePage:(0,h.pipe)((0,h.nthArg)(1),P),rowsPerPage:u,onChangeRowsPerPage:(0,h.pipe)(d.NA,C)})};b.propTypes={classes:o().object,rowsPerPageOptions:o().arrayOf(o().number),count:o().number,page:o().number,onChangePage:o().func,rowsPerPage:o().number,onChangeRowsPerPage:o().func,basicTableRef:o().shape({current:o().object}),labelRowsPerPage:o().string};const y=l().memo(b)},26180:(e,t,n)=>{n.d(t,{ZP:()=>g});var r=n(17440),o=n(31276);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i="CHANGE_COLUMNS",s="TOGGLE_FILTERS",c="CHANGE_FILTER",u="TOGGLE_SORT",p="CHANGE_PAGE",d="CHANGE_ROWS_PER_PAGE",h={changeColumns:(0,o.zD)(i),toggleFilters:(0,o.zD)(s),changeFilter:(0,o.zD)(c),toggleSort:(0,o.zD)(u),changePage:(0,o.zD)(p),changeRowsPerPage:(0,o.zD)(d)},m=(e,t)=>{const n=(0,r.difference)(e.visibleColumns,t),o=e=>n.includes(e);return(0,r.evolve)({visibleColumns:(0,r.always)(t),sorting:(0,r.when)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(e.field)}),(()=>{const[e]=t;return{field:e,order:"asc"}})),filters:e=>(0,r.keys)(e).reduce(((e,t)=>o(t)?(0,r.dissoc)(t,e):e),e)},e)},g={reducer:(e,t)=>{switch(t.type){case i:{const n=t.payload;return m(e,n)}case s:{const t=!e.filters;return a({},e,{filters:t?{}:null,page:t?e.page:0})}case c:{const{columnId:n,filter:o}=t.payload;return(0,r.evolve)({filters:o?(0,r.assoc)(n,o):(0,r.dissoc)(n),page:(0,r.always)(0)},e)}case u:{const n=t.payload,l=(0,r.path)(["sorting","field"],e),i=(0,r.path)(["sorting","order"],e);return a({},e,{sorting:{field:n,order:(0,o.Dh)(n===l?i:null)},page:0})}case p:return a({},e,{page:t.payload});case d:return a({},e,{rowsPerPage:t.payload});default:return e}},actions:h,changeVisibleColumns:m}},10237:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(27556),o=n(13980),a=n.n(o),l=n(24328),i=n.n(l);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(0,n(79692).Z)((e=>({"basic-view__paper":s({display:"flex",flexDirection:"column"},e.basicView)})));function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=(0,l.forwardRef)(((e,t)=>{let{children:n,className:o}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className"]);const l=u();return i().createElement(r.Z,p({ref:t,className:o,classes:{root:l["basic-view__paper"]}},a),n)}));d.displayName="BasicView",d.propTypes={children:a().node,className:a().string};const h=d},81137:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),a=n(87918),l=n.n(a),i=n(94079);const s=(0,n(79692).Z)({paper:{minHeight:"180px"},title:{padding:"16px 16px 10px 16px",fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px"},content:{padding:"0 16px"},contentText:{marginBottom:0,fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px"},actionButtons:{display:"flex",paddingTop:"4px",fontSize:"14px",fontWeight:500,letterSpacing:0,lineHeight:"16px","& > div":{marginLeft:"auto"}},discardButton:{marginRight:"8px"}}),c=e=>{let{open:t,title:n,content:r,onCancel:a,cancelCaption:c=l().text("Cancel"),onDiscard:u,discardCaption:p="",onSave:d,saveCaption:h=l().text("Save"),disabledSave:m=!1}=e;const g=s();return o().createElement(i.Dialog,{open:t,onClose:a,classes:{paperScrollPaper:g.paper}},o().createElement(i.DialogTitle,{classes:{root:g.title}},n),o().createElement(i.DialogContent,{classes:{root:g.content}},o().createElement(i.DialogContentText,{classes:{root:g.contentText}},r)),o().createElement(i.DialogActions,{className:g.actionButtons,disableSpacing:!0},a&&o().createElement(i.Button,{onClick:a},c),o().createElement("div",null,u&&o().createElement(i.Button,{onClick:u,classes:{root:g.discardButton}},p),o().createElement(i.Button,{onClick:d,color:"primary",disabled:m,autoFocus:!0},h))))}},68439:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),o=n.n(r),a=n(52730),l=n(71153),i=n.n(l),s=n(94079),c=n(66269),u=n(59431),p=n(88611);const d=(0,n(79692).Z)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px"}}),h=e=>{let{entity:t,className:n,size:r="small"}=e;const l=d(),h=(0,a.useSelector)(u.ZP.selectors.getMetadata),m=t.type,g=(0,c.nt9)(h,m)||{},f=(0,c.VD3)(h,g,"typeColor")||c.rSc.palette.primary.main,b=(0,c.jFi)(h,t);return o().createElement(p.C,{value:b,placement:"top"},o().createElement(s.Typography,{style:{backgroundColor:f,color:c.P6Y.Colors.getColor(f)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${r}`],l["entityType-overflow"],n),component:"div"},b))}},57304:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(71153),s=n.n(i),c=n(52730),u=n(17440),p=n(94079),d=n(87918),h=n.n(d),m=n(66269),g=n(59431),f=n(53180),b=n(68439);const y=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),v=e=>{let{className:t,entity:n,children:a,classes:l,showEntityId:i=!0}=e;const d=y({classes:l}),v=(0,c.useSelector)(g.ZP.selectors.getMetadata),x=(0,r.useCallback)((()=>{navigator.clipboard.writeText((0,m.BTI)(n))}),[n]);if((0,u.isNil)(n))return null;const P=(0,m.idV)(n.label),C=n.secondaryLabel,w=(0,m.ptG)(v,n),O=(0,m.Fn9)(n),k=n.uri,E=(0,m.BTI)(n);return o().createElement("div",{className:s()(d.profileBandWrapper,t)},o().createElement("div",{className:s()(d.profileBand,{[d.inactive]:!O}),"data-entity-uri":k},o().createElement(f.Z,{key:n.uri,entity:n,avatarClassName:d.profileIcon,imageClassName:d.imageProfileIcon}),o().createElement("div",{className:d.profileInfo},o().createElement("div",null,o().createElement(p.Typography,{variant:"h6",className:d.label},P),C&&o().createElement(p.Typography,{variant:"subtitle2",className:d.secondaryLabel},C),w&&o().createElement(p.Typography,{variant:"subtitle1",className:d.businessCard},w)),o().createElement("div",{className:d.specialInfo},o().createElement("div",{className:d.entityType},o().createElement(b.Z,{entity:n,size:"medium",className:d.badge}),!(0,m.ZiX)(k)&&i&&o().createElement(p.Tooltip,{title:h().text("Copy to clipboard")},o().createElement(p.Typography,{display:"inline",variant:"body2",className:d.entityId,onClick:x},h().text("Entity ID"),": ",E))))),a&&o().createElement("div",null,a)))};v.propTypes={className:l().string,entity:l().object,children:l().node,classes:l().object,showEntityId:l().bool};const x=v},93873:(e,t,n)=>{n.d(t,{a:()=>I});var r=n(24328),o=n.n(r),a=n(87918),l=n.n(a),i=n(94079),s=n(83348),c=n(8818),u=n(67766),p=n(42767),d=n(66269);const h=(0,n(79692).Z)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),m=(0,s.Z)(i.Link),g=e=>{let{total:t=0,onPrev:n,onNext:r,onSearchResultsClick:a,isPrevDisabled:i,isNextDisabled:s}=e;const g=h();return o().createElement("div",{className:g.container},o().createElement(m,{className:g.link,component:"button",variant:"caption",onClick:a,underline:"none",tooltipTitle:l().text("Go to search results")},(0,d.k7L)(t,1e6)," ",1===t?l().text("Search result"):l().text("Search results")),o().createElement(c.k,{size:"L",icon:u.Z,tooltipTitle:l().text("Go to previous profile"),onClick:n,disabled:i,showForDisabled:!0}),o().createElement(c.k,{size:"L",icon:p.Z,tooltipTitle:l().text("Go to next profile"),onClick:r,disabled:s,showForDisabled:!0}))};var f=n(52730),b=n(59431),y=n(17440),v=n(39450),x=n(67218);function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){C(e,t,n[t])}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:{query:n,sortField:r,sortOrder:o},tenant:a,searchTenant:l,apiPath:i,dtssPath:s,globalSearchRequestOptions:c}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[t.getQueryFilter(),...e],o=P({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,d.uqV)({filters:r,options:o,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,d.ZOr)(r,o)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,d.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,d.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=r,this.sortOrder=o,this.tenant=a,this.searchTenant=l,this.apiPath=i,this.dtssPath=s,this.globalSearchRequestOptions=c}}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){k(e,t,n[t])}))}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class E{constructor(e){var t=this;let{data:n,tenant:r,apiPath:o}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[{rawFilter:t.searchBody.filter},...e];return(0,d.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:O({},t.searchBody,{filter:e.length?(0,d.Uqd)()(r):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,d.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,d.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=r,this.apiPath=o}}const S=(e,t)=>(0,y.pipe)((0,y.map)((0,y.prop)("uri")),(0,y.reject)((e=>t.includes(e))))(e),I=()=>{const{total:e,onPrev:t,onNext:n,onSearchResultsClick:a,isPrevDisabled:l,isNextDisabled:i}=(()=>{const e=(0,x._)(),t=(0,x._)(),n=(0,x._)(),{uri:o,index:a,total:l,tenant:i,cache:s}=(0,f.useSelector)(b.ZP.selectors.getSearchNavigationData)||{},{type:c,data:u}=(0,f.useSelector)(b.ZP.selectors.getSearchProviderData)||{},p=(0,f.useSelector)(b.ZP.selectors.getTenant),h=(0,f.useSelector)(b.ZP.selectors.getApiPath),m=(0,f.useSelector)(b.ZP.selectors.getDtssPath),g=(0,f.useSelector)((e=>b.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),y=(0,r.useContext)(v.m),P=(0,f.useDispatch)(),[C,O]=(0,r.useState)(!1),k=(0,r.useMemo)((()=>((e,t)=>{switch(e){case"search":return new w(t);case"graphsearch":return new E(t)}})(c,{data:u,tenant:p,searchTenant:i,apiPath:h,dtssPath:m,globalSearchRequestOptions:g})),[c,u,p,i,h,m,g]),I=(0,r.useCallback)((e=>{P(b.yC.actions.updateSearchNavigationDataFields(e))}),[P]),T=(0,r.useCallback)((e=>{const t=p!==i?(0,d.wwR)({uri:e,dataTenant:i}):e;P(b.ui.actions.openEntity({uri:t,viewId:y,source:"navigation"}))}),[P,y,p,i]),j=(0,r.useCallback)((()=>{P(b.ui.actions.openPerspective({perspectiveId:c,viewId:y}))}),[P,c,y]);(0,r.useEffect)((()=>{a>=l?I({index:l-1}):a<0&&I({index:0})}),[l,a,I]);const D=(0,r.useCallback)(((e,r,o)=>{O(!0),t(k.requestTotal()).then((e=>I({total:e})));const a=o+1;return n(k.requestEntities(15,a)).then((t=>{if(t){if(t.length){const n=S(t,e);if(n.length>0)return I({cache:e.concat(n),uri:n[0],index:a+t.length-n.length}),void T(n[0]);if(o+t.length<r-1)return D(e,r-t.length,o+t.length)}I({index:a})}})).finally((()=>{O(!1)}))}),[k,I,T]),R=(0,r.useCallback)(((e,r)=>{O(!0),t(k.requestTotal()).then((e=>I({total:e})));const o=r-1,a=Math.max(0,r-15),l=15+Math.min(0,r-15);return n(k.requestEntities(l,a)).then((t=>{if(t){if(t.length){const n=S(t,e);if(n.length>0)return I({cache:n.concat(e),uri:n[n.length-1],index:o-(t.length-n.length)}),void T(n[n.length-1]);if(r-t.length>0)return R(e,r-t.length)}I({index:0})}})).finally((()=>{O(!1)}))}),[k,I,T]),N=(0,r.useCallback)(((t,n,r,o)=>{if(n<t.length){const a=t[n];return O(!0),e(k.checkEntity(a)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),N(e,n,r-1,o)}I({index:o+1,uri:a,cache:t,total:r}),T(a)})).finally((()=>{O(!1)}))}if(!(o>=r-1))return D(t,r,o);I({cache:t,total:r,index:r-1})}),[k,I,T,D]),Z=(0,r.useCallback)(((t,n,r,o)=>{if(n>-1){const a=t[n];return O(!0),e(k.checkEntity(a)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),Z(e,n-1,r-1,o-1)}I({index:o-1,uri:a,cache:t,total:r}),T(a)})).finally((()=>{O(!1)}))}if(!(o<=0))return R(t,o);I({index:0,cache:t,total:r})}),[k,I,T,R]),z=(0,r.useCallback)((()=>{if(s&&o){const e=s.indexOf(o)-1;Z(s,e,l,a)}}),[Z,s,o,l,a]),B=(0,r.useCallback)((()=>{if(s&&o){const e=s.indexOf(o)+1;N(s,e,l,a)}}),[N,s,o,l,a]);return{total:l,onPrev:z,onNext:B,onSearchResultsClick:j,isPrevDisabled:C||a<=0,isNextDisabled:C||a>=l-1}})();return(()=>{const{cache:e}=(0,f.useSelector)(b.ZP.selectors.getSearchNavigationData)||{},t=(0,f.useSelector)(b.ZP.selectors.getMode),n=(0,f.useSelector)(b.ZP.selectors.getEntity);return(0,d.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?o().createElement(g,{total:e,onPrev:t,onNext:n,onSearchResultsClick:a,isPrevDisabled:l,isNextDisabled:i}):null}},51229:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(24328),o=n.n(r);const a=()=>o().createElement("div",{style:{flex:1}})},30553:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a);const i=e=>{let{height:t,margin:n}=e;return l().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};i.propTypes={height:o().number,margin:o().number};const s=i},86361:(e,t,n)=>{n.d(t,{o:()=>l});var r=n(24328),o=n(17440);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>{let{actions:t,dispatch:n}=e;return(0,r.useMemo)((()=>Object.entries(t).reduce(((e,t)=>{let[r,l]=t;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({},e,{[r]:(0,o.pipe)(l,n)})}),{})),[n,t])}},7718:(e,t,n)=>{n.d(t,{C:()=>m});var r=n(24328),o=n(52730),a=n(17440),l=n(66269),i=n(59431);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(e,t)=>t.filter((t=>t.replyId!==e)),p=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),r=[...e.replies];return r[n]=t,r},d=[],h=e=>console.error("Collaboration error",e),m=e=>{let{objectIds:t=d,objectTypes:n,enabled:c=!0}=e;const m=(0,o.useSelector)(i.ZP.selectors.getEntity),g=(0,o.useSelector)(i.ZP.selectors.getTenant),f=(0,o.useSelector)(i.ZP.selectors.getCollaborationPath),b=(0,o.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[y,v]=(0,r.useState)(null),[x,P]=(0,r.useState)([]),[C,w]=(0,r.useState)(null),[O,k]=(0,r.useState)(null),[E,S]=(0,r.useState)(!1),[I,T]=(0,r.useState)(!1),j=(0,r.useCallback)((e=>{w((t=>s({},t,e)))}),[]),D=null==m?void 0:m.uri,R=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(b&&D&&!(0,l.ZiX)(D)){const n=e=>{console.warn("Collaboration error",e),w(null)};(0,a.pipe)(l.$oF,(0,a.andThen)((0,a.map)((0,a.props)(["objectId","comments"]))),(0,a.andThen)(a.fromPairs),(0,a.andThen)(t?w:j),(0,a.otherwise)(n))({uris:e,tenant:g,collaborationPath:f})}else w(null)}),[j,f,D,b,g]);(0,r.useEffect)((()=>{R(t,!0)}),[t,R]);const N=(0,r.useCallback)(((e,t)=>{(0,l.liG)({collaborationPath:f,tenant:g,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:r}=e;P((e=>t?(0,a.uniqBy)((0,a.prop)("commentId"),[...e,...n]):n)),v(r)})).catch(h)}),[f,g]),Z=(0,r.useCallback)((e=>{T(!0),(0,l.d7q)({collaborationPath:f,tenant:g,commentId:e}).then(k).catch(h).finally((()=>T(!1)))}),[f,g]),z=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:o,relatedObjectUris:a}=e;S(!0);const i={objectId:o,content:t,relatedObjectUris:a,objectType:r,visibility:"public",namedUsers:n,permanentLink:""};return(0,l.Yrx)({collaborationPath:f,tenant:g,data:i}).then((e=>{let[t]=e;return((e,t)=>{k(e),w((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),P((t=>[e,...t]))})(t,o)})).catch(h).finally((()=>S(!1)))}),[f,g]),B=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:o,relatedObjectUris:i,commentId:c,replies:u}=e;S(!0);const p={objectId:o,content:t,relatedObjectUris:i,objectType:r,visibility:"public",namedUsers:n,permanentLink:"",commentId:c,replies:u};return(0,l.uAg)({collaborationPath:f,tenant:g,data:p}).then((e=>(e=>{k(e),P((0,a.map)((0,a.when)((0,a.propEq)("commentId",e.commentId),(0,a.always)(e))))})(s({},e,{replies:u})))).catch(h).finally((()=>S(!1)))}),[f,g]),F=(0,r.useCallback)((e=>{let{uri:t,commentId:n}=e;S(!0),(0,l.YFy)({collaborationPath:f,tenant:g,commentId:n}).then((()=>((e,t)=>{k(null),w((n=>{const r=n[t]||[];return s({},n,{[t]:r.filter((t=>t.commentId!==e))})})),P((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(h).finally((()=>S(!1)))}),[f,g]),q=(0,r.useCallback)(((e,t,n,r)=>{const o="resolve"===e.action?"resolved":"open",{replyId:a}=e;k("resolved"===o?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:r?u(a,t.replies):[...t.replies,e]})}),w((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:o,replies:r?e.replies-1:e.replies+1}):e))}))),P((t=>t.map((t=>t.commentId===n?s({},t,{status:o,replies:r?u(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),H=(0,r.useCallback)((e=>{let{uri:t,commentId:n,reply:r}=e;S(!0),(0,l.Mfr)({collaborationPath:f,tenant:g,commentId:n,replyId:r.replyId}).then((()=>q(r,t,n,!0))).catch(h).finally((()=>S(!1)))}),[f,q,g]),G=(0,r.useCallback)(((e,t)=>{k((t=>{if(t)return s({},t,{replies:p(t,e)})})),P((n=>n.map((n=>n.commentId===t?s({},n,{replies:p(n,e)}):n))))}),[]),L=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,replyId:o}=e;S(!0);const a={content:t,namedUsers:n};return(0,l.ufV)({collaborationPath:f,tenant:g,commentId:r,replyId:o,data:a}).then((e=>G(e,r))).catch(h).finally((()=>S(!1)))}),[f,g,G]),_=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,action:o,uri:a}=e;S(!0);const i={content:t,action:o,namedUsers:n};return(0,l.PP2)({collaborationPath:f,tenant:g,commentId:r,data:i}).then((e=>{let[t]=e;return q(t,a,r)})).catch(h).finally((()=>S(!1)))}),[f,g,q]),U=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;_({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[_]),M=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;_({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[_]);return{clearCurrentComment:(0,r.useCallback)((()=>{k(null)}),[]),comments:x,commentsMap:C,createComment:z,createReply:_,currentComment:O,deleteComment:F,editComment:B,getComment:Z,getComments:N,getCommentsCount:R,loading:I,objectTypes:n,pageToken:y,reOpenThread:M,resolveThread:U,sending:E,deleteReply:H,editReply:L}}},17554:(e,t,n)=>{n.d(t,{U:()=>i});var r=n(24328),o=n(52730),a=n(66269),l=n(59431);const i=()=>{const[e,t]=(0,r.useState)([]),n=(0,o.useSelector)(l.ZP.selectors.getTenant),i=(0,o.useSelector)(l.ZP.selectors.getServicesPath),s=e=>{console.warn("Users error",e),t([])};return(0,r.useEffect)((()=>{(0,a.kz_)({tenant:n,servicesPath:i}).then((e=>{let{array:n}=e;return t(n)})).catch(s)}),[n,i]),e}}}]);
2
2
  //# sourceMappingURL=7820.js.map
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3981],{4190:(e,t,r)=>{r.d(t,{wE:()=>y,ni:()=>E,ZP:()=>b});var a=r(7896),l=r(59740),n=r(24328),o=(r(13980),r(6277)),i=r(35111),c=r(41262),s=r(15459),p=r(62339),d=r(27556),u=r(97580),f=r(39265),m=r(60364),h={left:"right",right:"left",top:"down",bottom:"up"};function y(e){return-1!==["left","right"].indexOf(e)}function E(e,t){return"rtl"===e.direction&&y(t)?h[t]:t}var g={enter:f.x9.enteringScreen,exit:f.x9.leavingScreen},v=n.forwardRef((function(e,t){var r=e.anchor,s=void 0===r?"left":r,f=e.BackdropProps,y=e.children,v=e.classes,b=e.className,x=e.elevation,A=void 0===x?16:x,C=e.ModalProps,w=(C=void 0===C?{}:C).BackdropProps,S=(0,l.Z)(C,["BackdropProps"]),Z=e.onClose,M=e.open,R=void 0!==M&&M,B=e.PaperProps,O=void 0===B?{}:B,_=e.SlideProps,k=e.TransitionComponent,z=void 0===k?p.Z:k,F=e.transitionDuration,P=void 0===F?g:F,D=e.variant,T=void 0===D?"temporary":D,H=(0,l.Z)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),I=(0,m.Z)(),j=n.useRef(!1);n.useEffect((function(){j.current=!0}),[]);var L=E(I,s),N=n.createElement(d.Z,(0,a.Z)({elevation:"temporary"===T?A:0,square:!0},O,{className:(0,o.Z)(v.paper,v["paperAnchor".concat((0,u.Z)(L))],O.className,"temporary"!==T&&v["paperAnchorDocked".concat((0,u.Z)(L))])}),y);if("permanent"===T)return n.createElement("div",(0,a.Z)({className:(0,o.Z)(v.root,v.docked,b),ref:t},H),N);var V=n.createElement(z,(0,a.Z)({in:R,direction:h[L],timeout:P,appear:j.current},_),N);return"persistent"===T?n.createElement("div",(0,a.Z)({className:(0,o.Z)(v.root,v.docked,b),ref:t},H),V):n.createElement(i.Z,(0,a.Z)({BackdropProps:(0,a.Z)({},f,w,{transitionDuration:P}),BackdropComponent:c.Z,className:(0,o.Z)(v.root,v.modal,b),open:R,onClose:Z,ref:t},H,S),V)}));const b=(0,s.Z)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(v)},62339:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(7896),l=r(59740),n=r(24328),o=(r(13980),r(75047)),i=r(90708),c=r(75614),s=r(85974),p=r(60364),d=r(39265),u=r(41070);function f(e,t){var r=function(e,t){var r,a=t.getBoundingClientRect();if(t.fakeTransform)r=t.fakeTransform;else{var l=window.getComputedStyle(t);r=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}var n=0,o=0;if(r&&"none"!==r&&"string"==typeof r){var i=r.split("(")[1].split(")")[0].split(",");n=parseInt(i[4],10),o=parseInt(i[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(n-a.left,"px)"):"right"===e?"translateX(-".concat(a.left+a.width-n,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(o-a.top,"px)"):"translateY(-".concat(a.top+a.height-o,"px)")}(e,t);r&&(t.style.webkitTransform=r,t.style.transform=r)}var m={enter:d.x9.enteringScreen,exit:d.x9.leavingScreen};const h=n.forwardRef((function(e,t){var r=e.children,d=e.direction,h=void 0===d?"down":d,y=e.in,E=e.onEnter,g=e.onEntered,v=e.onEntering,b=e.onExit,x=e.onExited,A=e.onExiting,C=e.style,w=e.timeout,S=void 0===w?m:w,Z=e.TransitionComponent,M=void 0===Z?c.ZP:Z,R=(0,l.Z)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),B=(0,p.Z)(),O=n.useRef(null),_=n.useCallback((function(e){O.current=o.findDOMNode(e)}),[]),k=(0,s.Z)(r.ref,_),z=(0,s.Z)(k,t),F=function(e){return function(t){e&&(void 0===t?e(O.current):e(O.current,t))}},P=F((function(e,t){f(h,e),(0,u.n)(e),E&&E(e,t)})),D=F((function(e,t){var r=(0,u.C)({timeout:S,style:C},{mode:"enter"});e.style.webkitTransition=B.transitions.create("-webkit-transform",(0,a.Z)({},r,{easing:B.transitions.easing.easeOut})),e.style.transition=B.transitions.create("transform",(0,a.Z)({},r,{easing:B.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",v&&v(e,t)})),T=F(g),H=F(A),I=F((function(e){var t=(0,u.C)({timeout:S,style:C},{mode:"exit"});e.style.webkitTransition=B.transitions.create("-webkit-transform",(0,a.Z)({},t,{easing:B.transitions.easing.sharp})),e.style.transition=B.transitions.create("transform",(0,a.Z)({},t,{easing:B.transitions.easing.sharp})),f(h,e),b&&b(e)})),j=F((function(e){e.style.webkitTransition="",e.style.transition="",x&&x(e)})),L=n.useCallback((function(){O.current&&f(h,O.current)}),[h]);return n.useEffect((function(){if(!y&&"down"!==h&&"right"!==h){var e=(0,i.Z)((function(){O.current&&f(h,O.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[h,y]),n.useEffect((function(){y||L()}),[y,L]),n.createElement(M,(0,a.Z)({nodeRef:O,onEnter:P,onEntered:T,onEntering:D,onExit:I,onExited:j,onExiting:H,appear:!0,in:y,timeout:S},R),(function(e,t){return n.cloneElement(r,(0,a.Z)({ref:z,style:(0,a.Z)({visibility:"exited"!==e||y?void 0:"hidden"},C,r.props.style)},t))}))}))},74443:(e,t,r)=>{var a=r(71600);t.Z=void 0;var l=a(r(24328)),n=(0,a(r(50175)).default)(l.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddCircle");t.Z=n},99144:(e,t,r)=>{var a=r(71600);t.Z=void 0;var l=a(r(24328)),n=(0,a(r(50175)).default)(l.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=n},45767:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(24328),l=r.n(a),n=r(7896),o=r(72379);const i=(c=l().createElement("path",{d:"M7 10l5 5 5-5z"}),(s=l().memo(l().forwardRef((function(e,t){return l().createElement(o.Z,(0,n.Z)({ref:t},e),c)})))).muiName=o.Z.muiName,s);var c,s},14363:(e,t,r)=>{r.d(t,{n:()=>g});const a=(0,r(79692).Z)({item:{marginBottom:"16px"},dense:{marginBottom:0}});var l=r(20562),n=r(24328),o=r.n(n),i=r(52730),c=r(59431),s=r(81667),p=r(91262),d=r(71153),u=r.n(d),f=r(17440),m=r(7154),h=r(26579),y=r(81077);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>{let{connection:t,relatedEntity:r,inRelationTypes:d=[],outRelationTypes:g=[],showEmptyEditors:v,entityErrorMessage:b,onChangeAttribute:x,onRemoveAttribute:A,onAddAttributes:C,onChangeRelationType:w,onChangeEntity:S}=e;const Z=a(),{relation:M,entity:R}=t,{attributes:B,uri:O,type:_="",direction:k}=M||{},z=Boolean(_),F=(0,i.useSelector)(c.ZP.selectors.getMetadata),P=(0,n.useMemo)((()=>M&&function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){E(e,t,r[t])}))}return e}({attributes:B},(0,s.p2l)(M))),[M,B]),D=(0,n.useMemo)((()=>(0,s.xF8)(F,_)),[_,F]),T=(0,n.useMemo)((()=>z?(0,s.jWj)(k===s.Nsj.OUT,F,[(0,s.V3K)(F,_)]):(0,f.uniq)((0,s.jWj)(!0,F,g).concat((0,s.jWj)(!1,F,d)))),[z,_,F,d,g]),H=(0,i.useSelector)((e=>c.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),I=(0,n.useMemo)((()=>M&&{relationType:M.type,direction:M.direction}),[M]),j=(0,n.useMemo)((()=>R&&{entityUri:R.uri,entityType:R.type,entityLabel:(0,s.idV)(R.label)}),[R]),L=(0,n.useMemo)((()=>R&&R.uri?d.filter((0,s.eHk)(!1,R,r,F)):d),[R,d,r,F]),N=(0,n.useMemo)((()=>R&&R.uri?g.filter((0,s.eHk)(!0,R,r,F)):g),[R,g,r,F]);(0,n.useEffect)((()=>{const{type:e,direction:t}=(0,s.z7d)(d,g)||{};!_&&e&&w&&w({type:e.uri,direction:t})}),[_,d,g,w]),(0,l.D)((()=>{const{type:e,direction:t}=(0,s.z7d)(L,N)||{};!_&&e&&w({type:e.uri,direction:t})}),[_,R,L,N,S]);const V=(0,n.useCallback)((e=>{let{type:t,direction:r}=e;w({type:t.uri,direction:r})}),[w]);return o().createElement(o().Fragment,null,w&&o().createElement(m.Z,{className:Z.item,relation:I,metadata:F,inRelationTypes:d,outRelationTypes:g,onChange:V}),S&&o().createElement(h.Z,{errorMessage:b,className:Z.item},o().createElement(y.Z,{key:_,className:u()({[Z.dense]:b}),entity:j||{},entityTypesUris:T,max:20,globalSearchRequestOptions:H,mode:s.fO_.EDITING,onChange:S,onCreate:void 0,metadata:F,attributeTypesSelectionStrategy:void 0})),_&&o().createElement(p.Z,{attrTypes:D,entity:P,showEmptyEditors:v,mode:s.fO_.EDITING,parentUri:O,onAddAttributes:C,onChangeAttribute:x,onDeleteAttribute:A}))}},6230:(e,t,r)=>{r.d(t,{J:()=>s});var a=r(24328),l=r.n(a),n=r(87918),o=r.n(n),i=r(15689);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},c.apply(this,arguments)}const s=e=>l().createElement(i.Z,c({message:o().text("No data available")},e))},21077:(e,t,r)=>{r.d(t,{B9:()=>f,tC:()=>u,ZP:()=>m});var a=r(24328),l=r.n(a),n=r(17440),o=r(94079);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i.apply(this,arguments)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},c.apply(this,arguments)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},p.apply(this,arguments)}const d=(0,r(79692).Z)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"10px",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box","& $text":{color:e.palette.text.primary,fontSize:"20px",fontWeight:500,lineHeight:"24px",letterSpacing:"0.25px",textAlign:"center"},"& $secondaryText":{color:e.palette.text.secondary,fontSize:"15px",fontWeight:300,lineHeight:"18px",letterSpacing:"0.11px",textAlign:"center",paddingTop:"3px"}},embedded:{flexShrink:0,width:"190px",height:"190px",padding:"8px"},full:{width:"256px",height:"256px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:500,marginTop:"16px"},text:{},secondaryText:{},button:{minHeight:36,minWidth:64,maxWidth:500,padding:"10px 16px",borderRadius:"2px",boxShadow:"0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24), 0 0 8px 0 rgba(0,0,0,0.12), 0 8px 8px 0 rgba(0,0,0,0.24)",fontSize:"14px",fontWeight:500,lineHeight:"16px",marginTop:"24px"}})));let u;!function(e){e.full="full",e.embedded="embedded"}(u||(u={}));const f={SEARCH_RESULTS:e=>l().createElement("svg",i({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),l().createElement("defs",null,l().createElement("radialGradient",{cx:"50%",cy:"100%",fx:"50%",fy:"100%",r:"81.681%",gradientTransform:"matrix(.98998 0 0 .612 .005 .388)",id:"EmptySearchResults_svg__c"},l().createElement("stop",{stopColor:"#00BFFF",stopOpacity:.5,offset:"0%"}),l().createElement("stop",{stopColor:"#9EE8FF",stopOpacity:0,offset:"100%"})),l().createElement("radialGradient",{cx:"50%",cy:"111.651%",fx:"50%",fy:"111.651%",r:"87.693%",gradientTransform:"matrix(0 -.97693 .7263 0 -.31 1.605)",id:"EmptySearchResults_svg__f"},l().createElement("stop",{stopColor:"#91F8E5",stopOpacity:.6,offset:"0%"}),l().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),l().createElement("radialGradient",{cx:"50%",cy:"103.659%",fx:"50%",fy:"103.659%",r:"90.207%",gradientTransform:"matrix(0 -1 2.23905 0 -1.821 1.537)",id:"EmptySearchResults_svg__g"},l().createElement("stop",{stopColor:"#FFF",offset:"0%"}),l().createElement("stop",{stopColor:"#73FAFF",stopOpacity:.21,offset:"59.38%"}),l().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),l().createElement("linearGradient",{x1:"50%",y1:"170.771%",x2:"50%",y2:"10.303%",id:"EmptySearchResults_svg__e"},l().createElement("stop",{stopColor:"#91F8E5",offset:"0%"}),l().createElement("stop",{stopColor:"#99FCFF",stopOpacity:0,offset:"100%"})),l().createElement("filter",{x:"-25.9%",y:"-26.2%",width:"151.8%",height:"152.3%",filterUnits:"objectBoundingBox",id:"EmptySearchResults_svg__d"},l().createElement("feGaussianBlur",{stdDeviation:15,in:"SourceGraphic"})),l().createElement("circle",{id:"EmptySearchResults_svg__a",cx:128,cy:128,r:128})),l().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"EmptySearchResults_svg__b",fill:"#fff"},l().createElement("use",{xlinkHref:"#EmptySearchResults_svg__a"})),l().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#EmptySearchResults_svg__a"}),l().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},l().createElement("g",{transform:"translate(56 34)"},l().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},l().createElement("path",{d:"M0 6.99C0 3.13 3.137 0 7 0h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H7c-3.866 0-7-3.143-7-6.99V6.99z"}),l().createElement("path",{d:"M13 25.99c0-3.86 3.137-6.99 7-6.99h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H20c-3.866 0-7-3.143-7-6.99V25.99z",opacity:.4})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 45.833)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),l().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),l().createElement("path",{d:"M35.365.861h69.768a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M34.274 15.048h126.164a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),l().createElement("rect",{fill:"#645F6D",opacity:.5,x:21.756,y:17.46,width:87.022,height:12.004,rx:6.002}),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 87.302)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),l().createElement("rect",{fill:"#E3EBF4",x:0,y:1.091,width:20.668,height:20.734,rx:10.334}),l().createElement("path",{d:"M35.365.861h82.647a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M34.274 15.048H174.58a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M33.182 24.869h113.119a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 128.77)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),l().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),l().createElement("path",{d:"M35.365.861h110.929a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M34.274 15.048h92.443a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})))),l().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},l().createElement("path",{fill:"#446275",d:"M72.246 84.033l8.66 5-35.5 61.488-8.66-5-12.556-24.729-51.307-29.622 20.431-35.388 50.648 29.242z"}),l().createElement("path",{d:"M62.906 120.21l-80.091-46.24 10.5-18.188 50.647 29.242 28.284-.99 8.66 5-18 31.176z",fillOpacity:.2,fill:"#FFF"}),l().createElement("path",{d:"M27.566 75.558L3.877 109.065l-5.013-2.895 26.045-32.146 2.657 1.534zm9.467 5.466L13.345 114.53l-5.014-2.895L34.377 79.49l2.656 1.534zm8.158 4.71l-22.32 34.297-5.013-2.895L43.903 84.99l1.288.744z",fill:"#527585"}),l().createElement("path",{d:"M11.524 90.544l13.385-16.52 2.657 1.534-12.174 17.22-3.868-2.234zm9.467 5.467L34.377 79.49l2.656 1.534-12.174 17.22-3.868-2.233zm9.527 5.5L43.903 84.99l1.288.744-11.47 17.626-3.203-1.85z",fill:"#76A2B5",opacity:.6}),l().createElement("path",{d:"M.355 59.848l-23.689 33.507-5.013-2.895 26.045-32.146 2.657 1.534zm9.468 5.466L-13.866 98.82l-5.013-2.895L7.166 63.78l2.657 1.534zm8.158 4.71L-4.34 104.32l-5.014-2.895L16.692 69.28l1.289.744z",fillOpacity:.1,fill:"#000"}),l().createElement("g",null,l().createElement("path",{fill:"url(#EmptySearchResults_svg__c)",opacity:.993,filter:"url(#EmptySearchResults_svg__d)",d:"M.63 0h173.74L123 172H52z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"url(#EmptySearchResults_svg__e)",opacity:.3,d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"url(#EmptySearchResults_svg__f)",opacity:.3,d:"M4 2h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"url(#EmptySearchResults_svg__g)",d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"#FFF",opacity:.196,d:"M212.363 205.344l-1 1.732L60.418 124.52l4.977-8.62z"})),l().createElement("path",{fill:"#76A2B5",d:"M73.112 84.533l-35.5 61.488-.866-.5 35.5-61.488z"}),l().createElement("path",{fill:"#F3F3F3",d:"M80.906 89.033l-35.5 61.488-.866-.5 35.5-61.488z"}),l().createElement("path",{fill:"#538196",d:"M55.112 115.71l-17.5 30.311-.866-.5 17.5-30.31z"})))),SELECT_ATTRIBUTES:e=>l().createElement("svg",c({width:256,height:256,viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("circle",{cx:128,cy:128,r:128,fill:"#0072CE",fillOpacity:.1}),l().createElement("mask",{id:"SelectAttributes_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:256,height:256},l().createElement("circle",{cx:128,cy:128,r:128,fill:"#fff"})),l().createElement("g",{mask:"url(#SelectAttributes_svg__a)"},l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-16 9h256v247H-16V9z",fill:"url(#SelectAttributes_svg__paint0_linear_0_19219)"}),l().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z",fill:"url(#SelectAttributes_svg__paint1_linear_0_19219)"}),l().createElement("path",{opacity:.06,fillRule:"evenodd",clipRule:"evenodd",d:"M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000"}),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#fff"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:106,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:136,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:169,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:199,r:9,fill:"#B6C7DB"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M92.514 108v-8h-2V140.365h11.178v-2h-9.178V110h9.178v-2h-9.178z",fill:"#2B98F0"}),l().createElement("path",{opacity:.54,fillRule:"evenodd",clipRule:"evenodd",d:"M95.071 77l-3.535 3.535L88 77h7.071z",fill:"#000"}),l().createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#fff"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zM148 37a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z",fill:"#979797"})),l().createElement("defs",null,l().createElement("linearGradient",{id:"SelectAttributes_svg__paint0_linear_0_19219",x1:-16,y1:9,x2:-16,y2:256,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:.01}),l().createElement("stop",{offset:1,stopColor:"#F4F4F4"})),l().createElement("linearGradient",{id:"SelectAttributes_svg__paint1_linear_0_19219",x1:266.117,y1:181.111,x2:154.882,y2:77.681,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopOpacity:.01}),l().createElement("stop",{offset:1})))),NO_DATA:e=>l().createElement("svg",s({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),l().createElement("defs",null,l().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__b"},l().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:0,offset:"0%"}),l().createElement("stop",{stopColor:"#F4F4F4",offset:"100%"})),l().createElement("linearGradient",{x1:"69.573%",y1:"86.747%",x2:"38.144%",y2:"33.403%",id:"NoData_svg__d"},l().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),l().createElement("stop",{stopColor:"#000",offset:"100%"})),l().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__e"},l().createElement("stop",{stopColor:"#EEFBFF",offset:"0%"}),l().createElement("stop",{stopColor:"#0072CE",offset:"100%"})),l().createElement("filter",{x:"-7.7%",y:"-7.5%",width:"115.3%",height:"115%",filterUnits:"objectBoundingBox",id:"NoData_svg__f"},l().createElement("feOffset",{dx:0,dy:2,in:"SourceAlpha",result:"shadowOffsetOuter1"}),l().createElement("feGaussianBlur",{stdDeviation:2,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),l().createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0",type:"matrix",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),l().createElement("feMerge",null,l().createElement("feMergeNode",{in:"shadowMatrixOuter1"}),l().createElement("feMergeNode",{in:"SourceGraphic"}))),l().createElement("circle",{id:"NoData_svg__a",cx:128,cy:128,r:128})),l().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"NoData_svg__c",fill:"#fff"},l().createElement("use",{xlinkHref:"#NoData_svg__a"})),l().createElement("use",{fillOpacity:.1,fill:"#0072CE",xlinkHref:"#NoData_svg__a"}),l().createElement("path",{fill:"url(#NoData_svg__b)",mask:"url(#NoData_svg__c)",d:"M0 9h256v247H0z"}),l().createElement("g",{mask:"url(#NoData_svg__c)"},l().createElement("g",{transform:"translate(29 37)"},l().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},l().createElement("path",{fillOpacity:.8,opacity:.5,d:"M14.565 8h228.144v176.476H14.565z"}),l().createElement("path",{d:"M0 8.01C0 3.586 3.576 0 7.997 0h223.838a7.997 7.997 0 017.997 8.01v152.401c0 4.424-3.577 8.01-7.997 8.01H7.997A7.997 7.997 0 010 160.411V8.01z"})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 42.105)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),l().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),l().createElement("path",{d:"M32.488.791h64.093a3.509 3.509 0 110 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M31.486 13.824h115.902a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),l().createElement("rect",{fill:"#645F6D",opacity:.5,x:19.986,y:16.04,width:79.944,height:11.028,rx:5.514}),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 80.2)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),l().createElement("rect",{fill:"#E3EBF4",x:0,y:1.003,width:18.987,height:19.048,rx:9.493}),l().createElement("path",{d:"M32.488.791h75.925a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M31.486 13.824h128.893a2.506 2.506 0 110 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M30.483 22.846h103.918a1.504 1.504 0 010 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 118.296)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),l().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),l().createElement("path",{d:"M32.488.791h101.906a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M31.486 13.824h84.924a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})))),l().createElement("g",{mask:"url(#NoData_svg__c)"},l().createElement("path",{d:"M154.445 45.134v154.072H36.625V45.134h.811C35.508 62.52 41.07 80.609 54.12 93.944c22.74 23.235 59.61 23.235 82.352 0 13.05-13.335 18.612-31.424 16.683-48.81h1.29z",fill:"url(#NoData_svg__d)",opacity:.1,transform:"rotate(-30 291.014 34.548)"}),l().createElement("path",{d:"M27.473 93.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"url(#NoData_svg__e)",opacity:.2,transform:"translate(70 86)"}),l().createElement("g",{filter:"url(#NoData_svg__f)",strokeWidth:1,fill:"none",transform:"translate(70 86)"},l().createElement("path",{d:"M59.697 0c32.97 0 59.697 26.746 59.697 59.738 0 15.185-5.662 29.047-14.988 39.587l51.204 51.24a89.336 89.336 0 01-10.097 9.392l-51.38-51.416c-9.73 6.888-21.61 10.936-34.436 10.936C26.727 119.477 0 92.73 0 59.738 0 26.746 26.727 0 59.697 0zm0 17.756c-23.17 0-41.953 18.796-41.953 41.982s18.783 41.982 41.953 41.982 41.953-18.796 41.953-41.982-18.783-41.982-41.953-41.982z",fill:"#B5C8C9"}),l().createElement("path",{d:"M21.508 105.656C8.365 94.698 0 78.196 0 59.738 0 26.746 26.727 0 59.697 0c18.444 0 34.935 8.37 45.885 21.523l-9.794 9.8c-8.408-10.68-21.45-17.537-36.091-17.537-25.361 0-45.92 20.573-45.92 45.952 0 14.652 6.852 27.702 17.525 36.117l-9.794 9.8z",fillOpacity:.4,fill:"#FFF"})),l().createElement("path",{d:"M97.473 179.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"#D9F5FF",opacity:.4,style:{mixBlendMode:"soft-light"}}),l().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.87,fill:"#000",style:{mixBlendMode:"overlay"}}),l().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.38,fill:"#3C74B4"})))),ERROR:e=>l().createElement("svg",p({width:88,height:88,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("mask",{id:"Error_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:88,height:88},l().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"})),l().createElement("g",{mask:"url(#Error_svg__a)"},l().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}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),l().createElement("g",{filter:"url(#Error_svg__filter0_d)"},l().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"})),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#Error_svg__paint0_linear)"}),l().createElement("g",{filter:"url(#Error_svg__filter1_d)"},l().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),l().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),l().createElement("g",{filter:"url(#Error_svg__filter2_d)"},l().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"})),l().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"})),l().createElement("defs",null,l().createElement("filter",{id:"Error_svg__filter0_d",x:36.219,y:37.875,width:42.375,height:42.375,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l().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"}),l().createElement("feOffset",{dy:2}),l().createElement("feGaussianBlur",{stdDeviation:2}),l().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"}),l().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),l().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),l().createElement("filter",{id:"Error_svg__filter1_d",x:51.688,y:62.625,width:11.438,height:11.438,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l().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"}),l().createElement("feOffset",{dy:2}),l().createElement("feGaussianBlur",{stdDeviation:2}),l().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"}),l().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),l().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),l().createElement("filter",{id:"Error_svg__filter2_d",x:51.688,y:44.063,width:11.438,height:23.813,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l().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"}),l().createElement("feOffset",{dy:2}),l().createElement("feGaussianBlur",{stdDeviation:2}),l().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"}),l().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),l().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),l().createElement("linearGradient",{id:"Error_svg__paint0_linear",x1:68.438,y1:71.571,x2:60.119,y2:58.801,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopOpacity:0}),l().createElement("stop",{offset:1}))))},m=e=>{let{variant:t=u.full,LogoRenderer:r=f.SEARCH_RESULTS,text:a,secondaryText:i,buttonTitle:c,onClick:s=n.identity,access:p}=e;const m=d(),h=p&&c;return l().createElement("div",{className:m.root},l().createElement(r,{className:m[`${t}`]}),l().createElement("div",{className:m.textBox},l().createElement(o.Typography,{variant:"h5",classes:{h5:m.text}},a),i&&l().createElement(o.Typography,{variant:"subtitle1",classes:{subtitle1:m.secondaryText}},i)),h&&l().createElement(o.Button,{className:m.button,variant:"contained",color:"primary",onClick:s},c))}},88548:(e,t,r)=>{r.d(t,{Z:()=>y});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(17440),c=r(94079),s=r(79692);function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){d(e,t,r[t])}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=(0,i.range)(2,10).reduce(((e,t)=>p({},e,{[`&:nth-child(${t})`]:{paddingLeft:`calc(1em * (${t} - 2))`,"&::before":{content:'"└"',display:"inline-block",fontSize:"1em",marginRight:"5px",color:"rgba(255, 255, 255, 0.28)"}}})),{}),f=(0,s.Z)((e=>({tooltip:e.tooltip,tooltipContent:{minWidth:"165px",padding:"4px 2px 2px","& p":{fontSize:"11px",lineHeight:"13px",fontWeight:500,margin:0,color:"white"},"& ul":{listStyleType:"none",padding:0,margin:0,"& li":p({fontSize:"10px",lineHeight:"11px",fontWeight:500,color:"rgba(255, 255, 255, 0.7)",marginTop:"4px"},u,{"&:last-child":{color:"white"}}),"& li + li":{marginTop:"2px"}}}})));function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},m.apply(this,arguments)}const h=e=>{let{pathToTitle:t,children:r}=e,a=function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["pathToTitle","children"]);const n=f(),o=t&&t.length?l().createElement("div",{className:n.tooltipContent},l().createElement("p",null,(0,i.last)(t)),t.length>2&&l().createElement("ul",null,t.map((e=>l().createElement("li",{key:e},e))))):"";return l().createElement(c.Tooltip,m({title:o,disableFocusListener:!0,classes:{tooltip:n.tooltip}},a),r)};h.propTypes={pathToTitle:o().arrayOf(o().string).isRequired,children:o().node};const y=h},37014:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(24328),l=r.n(a),n=r(81667);const o=e=>{let{className:t}=e;return l().createElement("img",{className:t,alt:"loading",src:(0,n.Uw1)("R0lGODlhFQALAKIAAP///8Hf75vL5Van0wB4v////wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAFACwAAAIAFQAHAAADLFi6zPSQFEGpGhgXkrEUQShc1bB1wxcGYzGUZ6eKJGVy8lS1aJxJjaAiAkkAACH5BAkKAAUALAAAAwAUAAUAAAMiWLFbJRC6QakCODjBxIzDlW3dB4UBBmhPWQygwrCR9FZDAgAh+QQJCgAFACwIAAMADAAFAAADFBiqVfIvgBmaWHeC6rCklrdw0JMAACH5BAkKAAUALAAAAgAUAAcAAAMkSLpU/vCRQWmLLmg967hYAIxBV4GRSJoWlo1A6X1usXGMUkcJACH5BAkKAAUALAAAAgAOAAcAAAMdWLpF/qSMORudcYg97M2b0BHXAHIelV0pxizQkwAAOw==")})}},32371:(e,t,r)=>{r.d(t,{U:()=>s});var a=r(24328),l=r.n(a),n=r(87918),o=r.n(n),i=r(81667),c=r(42520);const s=(0,a.memo)((e=>{let{relationTypes:t,selectedRelationTypes:r,single:n,placeholder:s,enableEmptyValueUnderline:p,onChange:d,classes:u={},ListLabelProps:f={},disabled:m=!1}=e;const h=(0,a.useMemo)((()=>t.filter(i.Tt2)),[t]);return l().createElement(c.S,{items:h,selectedItemsUris:r,single:n,placeholder:s,enableEmptyValueUnderline:p,onChange:d,classes:u,ListLabelProps:f,disabled:m,label:o().text("Relation type"),dataReltioId:"relation-type-selector",selectionPopupTitle:o().text("Select relation types")})}));s.displayName="RelationTypesSelector"},32431:(e,t,r)=>{r.d(t,{Z:()=>p});var a=r(24328),l=r.n(a),n=r(99152),o=r(6487),i=r(88611);const c=(0,r(79692).Z)({tabsRoot:{width:"100%"},tabsScrollButton:{flex:"0 0 24px"},tabRoot:{fontSize:"0.875rem",padding:"7px 18px 5px","@media (min-width: 960px)":{minWidth:"inherit"}},labelWrapper:{whiteSpace:"nowrap",letterSpacing:"normal",display:"flex",flexDirection:"row",width:"100%"},label:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500}});function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}const p=e=>{let{value:t,tabs:r=[],onChange:a,tabClasses:p}=e,d=function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["value","tabs","onChange","tabClasses"]);const u=c(),f=(e,t)=>l().createElement("span",{className:u.labelWrapper},l().createElement(i.C,{value:e},l().createElement("span",{className:u.label},e)),t);return l().createElement(n.Z,s({value:t,onChange:(e,t)=>a(t),classes:{root:u.tabsRoot,scrollButtons:u.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},d),r.map((e=>{let{label:t,value:r,additionalLabel:a,dataReltioId:n}=e;return l().createElement(o.Z,{classes:p||{root:u.tabRoot},key:r,value:r,label:f(t,a),"data-reltio-id":n})})))}},16025:(e,t,r)=>{r.d(t,{Z:()=>p});var a=r(24328),l=r.n(a),n=r(94574),o=r(63015);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i.apply(this,arguments)}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){s(e,t,r[t])}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{let{classes:t}=e,r=function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["classes"]);const a=(0,o.y)({});return l().createElement(n.Z,i({classes:c({},t,{focused:a.white})},r))}},43775:(e,t,r)=>{r.d(t,{Z:()=>d});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(94079);const c=(0,r(79692).Z)({onlyValue:{color:"rgba(0,0,0,.6)",fontSize:"13px",fontWeight:"normal",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}});var s=r(79026);const p=e=>{let{value:t,onChange:r,options:n,classes:o={},emptyLabel:p}=e;const d=c(),[u,...f]=n,m=0===f.length;(0,a.useEffect)((()=>{m&&t!==u.value&&r(u.value)}),[u.value]);const h=!!p;return l().createElement("div",{className:o.root},m?l().createElement(i.Typography,{className:o.onlyValue||d.onlyValue,variant:"h6"},u.label):l().createElement(s.Z,{displayEmpty:h,disableUnderline:!0,classes:{select:o.select||d.select},TextFieldProps:{classes:{root:o.textField||d.textField}},MenuProps:{classes:{list:o.selectMenu||d.selectMenu}},value:t||"",entries:h?[{value:"",label:p},...n]:n,onChange:e=>r(e||null)}))};p.propTypes={value:o().string,onChange:o().func,options:o().arrayOf(o().shape({value:o().string,label:o().string})),classes:o().shape({root:o().string,onlyValue:o().string,select:o().string,selectMenu:o().string,textField:o().string}),emptyLabel:o().string};const d=p},77565:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(94079),c=r(83543);const s=(0,r(79692).Z)((()=>({viewMoreLessLink:{display:"flex",alignItems:"center",cursor:"pointer"},arrow:{marginRight:"8px",marginLeft:"-2px",transform:"rotate(0deg)",transition:"transform 0.35s ease"},rotated:{transform:"rotate(-180deg)"}})));var p=r(71153),d=r.n(p),u=r(87918),f=r.n(u);const m=e=>{let{active:t,onClick:r,className:a}=e;const n=s();return l().createElement(i.Link,{className:d()(n.viewMoreLessLink,a),onClick:r,underline:"none"},l().createElement(c.Z,{className:d()(n.arrow,{[n.rotated]:t})}),t?f().text("View less"):f().text("View more"))};m.propTypes={active:o().bool,onClick:o().func,className:o().string};const h=m},63072:(e,t,r)=>{r.d(t,{b:()=>o});var a=r(24328),l=r(81667),n=r(56764);const o=e=>{let{filter:t,max:r,offset:o,entityUri:i}=e;return(0,a.useCallback)((async()=>{const e=(0,n.U)(t),a=await(0,l.k6v)({filter:e,max:r,offset:o,entityUri:i}),{total:c}=await(0,l.FEC)({filter:e,entityUri:i});return{data:a,total:c}}),[t,r,o,i])}},78620:(e,t,r)=>{r.d(t,{R:()=>p});var a=r(24328),l=r(81667),n=r(17440),o=r(52730),i=r(59431);function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){s(e,t,r[t])}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{let{connection:t,onConnectionChange:r,relatedEntity:s}=e;const p=(0,o.useSelector)(i.ZP.selectors.getMetadata),d=(0,a.useCallback)((e=>r(c({},t,{relation:e}))),[t,r]),u=(0,a.useCallback)((0,n.pipe)((0,l.zE1)(t.relation),d),[t.relation,d]),f=(0,a.useCallback)((0,n.pipe)((0,l.lIv)(t.relation),d),[t.relation,d]),m=(0,a.useCallback)((0,n.pipe)((0,l.Ilm)(t.relation),d),[t.relation,d]),h=(0,a.useCallback)((e=>{let{type:a,direction:n}=e;const o={entity:t.entity&&(0,l.eHk)(n===l.Nsj.OUT,t.entity,s,p,(0,l.V3K)(p,a))?t.entity:null,relation:c({},t.relation,{attributes:{},type:a,direction:n})};r(o)}),[t,r,s,p]);return{onAddAttributes:u,onChangeAttribute:f,onRemoveAttribute:m,onChangeEntity:(0,a.useCallback)((e=>r(c({},t,{entity:e}))),[t,r]),onChangeRelationType:h}}},92898:(e,t,r)=>{r.d(t,{q:()=>l});var a=r(24328);const l=(e,t)=>{const r=(0,a.useRef)(!1);(0,a.useEffect)((()=>{t&&!r.current&&(r.current=!0,e())}),[e,t])}},2804:(e,t,r)=>{r.d(t,{a:()=>l});var a=r(24328);const l=e=>{const[t,r]=(0,a.useState)(!1),[l,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{e().then((e=>{n(e||{})})).then((e=>r(!0))).catch((e=>r(!0)))}),[]),{isLoaded:t,savedState:l}}},70524:(e,t,r)=>{r.r(t),r.d(t,{ALWAYS_VISIBLE_TYPE_URIS:()=>la.S,ActionButton:()=>Qr.K,ActionButtonMode:()=>Qr.N,ActivityLog:()=>a.Z,ActivityLogFilter:()=>l.Z,ActivityTypes:()=>n.I,AddWorkflowButton:()=>Ir.G,ArrowExpandButton:()=>dr.Z,AsyncMountContext:()=>Qa.g,AttributeGroupIcon:()=>$r.Z,AttributeListItem:()=>s.Z,AttributeTitle:()=>er.Z,AttributesFiltersBuilder:()=>Kr.Z,AttributesFiltersButton:()=>Jr.Z,AttributesList:()=>u.Z,AttributesPager:()=>b.ZP,AttributesTable:()=>yr.Z,AttributesView:()=>p.Z,AutoSizeList:()=>k.Z,AvatarWithFallback:()=>z.Z,BarChart:()=>te.Z,BasicAttributeSelector:()=>Yr.Z,BasicTable:()=>F.Z,BasicTableContext:()=>D.X,BasicTablePagination:()=>L.Z,BasicView:()=>J.Z,BasicViewContent:()=>K.Z,BasicViewHeader:()=>ee.Z,BlockImageGalleryDialogContext:()=>Ja.P,BranchDecorator:()=>d.Z,COMMENTS_CONTAINER_VISIBILITY_AREA:()=>aa.U,CardinalityMessage:()=>x.Z,ChartsFactory:()=>ne.Z,ClickAwayProvider:()=>ue,CollaborationContext:()=>Ka.h,CollaborationItem:()=>fe.J,CollapseButton:()=>me.Z,CollapseRowButton:()=>Q.Z,ColorBar:()=>he.Z,ColumnFilterType:()=>ra.Dq,ColumnsDataType:()=>ra.uz,ColumnsSettings:()=>H.Z,ColumnsSettingsPopup:()=>j.G,CommentsContainer:()=>ye.Z,ConfigureColumnsPopup:()=>be.Z,ConfirmDeleteDialog:()=>hr.Z,ConfirmationDialog:()=>mr.Z,ConnectionEditor:()=>ea.n,ConnectionRelationTypeSelector:()=>xe.Z,CrosswalkDragLayer:()=>vr.Z,CrosswalkEditor:()=>xr.Z,CrosswalkType:()=>Ar.Y,CrosswalksDisplayProvider:()=>nl.hR,DEFAULT_GOOGLE_MAP_OPTIONS:()=>na.Q3,DEFAULT_OVERLAY_OPTIONS:()=>na.r,DataTypeValue:()=>Ae.Z,DataTypeValueEditor:()=>ze.Z,DateEditor:()=>ke.Z,DateRangeEditor:()=>_e.Z,DateRangeTypes:()=>ml.K,DefaultCellValueRenderer:()=>N.Z,DeltaTypes:()=>o.w,DragAndDrop:()=>ta.l,Drawer:()=>Ce.Z,DropDownEditor:()=>Ze.Z,DropDownMenuButton:()=>we.Z,DropDownSelector:()=>Se.Z,DropdownIndicator:()=>Ee.Z,DropdownIndicatorWithIconButton:()=>ge.Z,EMPTY_STATE_ICONS:()=>He.B9,EMPTY_STATE_VARIANTS:()=>He.tC,EditableAttribute:()=>C.Z,EditableImageAttributesLine:()=>M.Z,EmptyState:()=>He.ZP,EmptyStub:()=>oa.Vd,EntitiesMapContext:()=>ll.X,EntityAvatar:()=>Ie.Z,EntityContext:()=>pl.u,EntityCreator:()=>f.Z,EntityMarkerContext:()=>il.P,EntitySelector:()=>m.Z,EntityTypeBadge:()=>je.Z,EntityTypeIcon:()=>Le.Z,EntityTypesSelector:()=>Ne.Q,EntityUriLink:()=>We.Z,ErrorBoundary:()=>Ue.Z,ErrorMessage:()=>Sr.Z,ErrorPopup:()=>Ge.Z,ErrorWrapper:()=>qe.Z,ExpandableSearchInput:()=>nr.i,ExpandedAttributesProvider:()=>ol.R,ExpandedValueTooltip:()=>Qe.C,FacetViewHeader:()=>Xe.Z,FileTypeEditor:()=>Pe.Z,FilterButton:()=>I.Z,FilterValueEditor:()=>Re.Z,FlipCard:()=>nt,HideOnShrink:()=>ot.Z,HierarchicalAttributeTooltip:()=>it.Z,HighlightedValuesContext:()=>fl.j,Highlighter:()=>ct.Z,HistoryActivityType:()=>Fr.M,HistoryChangeTypes:()=>Pr.b,HistoryDiffContext:()=>Xa.m,HistoryHeader:()=>_r.Z,HistoryPanelEmptyState:()=>zr.Z,HistoryView:()=>Or.Z,IdContext:()=>al.B,ImageAttributesLine:()=>Z.Z,ImageGalleryDialog:()=>st.C,ImportButton:()=>pt.Z,ImportModes:()=>pt.E,InlineAttributesPager:()=>cr.Z,InlineImageAttribute:()=>pr.Z,InlineNestedAttribute:()=>ir.Z,InlineReferenceAttribute:()=>sr.Z,LightArrowTooltip:()=>ur.Z,LinearLoadIndicator:()=>dt.Z,Link:()=>ut.Z,LoadingSpinner:()=>ft.Z,MAP_DRAWING_MODES:()=>na.vl,MAP_MINIMUM_SCALE_RADIUS:()=>na.Pi,Marginator:()=>fr.Z,MatchRulesBlock:()=>mt.Z,MenuWithPopper:()=>ve.Z,MergeButton:()=>Gr.H,ModeSwitcher:()=>gt.Z,ModeSwitcherSelect:()=>vt.T,MoreAttributesButton:()=>h.Z,MultiSelect:()=>Rt.Z,MultiValueChip:()=>Be.Z,MultipleInput:()=>bt.Z,NestedAttribute:()=>R.Z,NestedAttributeEditor:()=>y.Z,NoData:()=>De.J,NoResults:()=>Te.X,NotMatchButton:()=>qr.i,NumberEditor:()=>Oe.Z,OvIcon:()=>Dr.Z,PieChart:()=>re.Z,PivotingAttributeContext:()=>tl.J,Popper:()=>xt.Z,PopupBoundariesContext:()=>Ya.p,PopupWithArrow:()=>At.Z,PotentialMatchReviewCard:()=>Ct.Z,ProfileBand:()=>wt.Z,ProfileBandHistory:()=>kr.Z,ProfileBandNavigation:()=>$.a,ProfileCard:()=>St.Z,ProfileMatchCard:()=>Ur.M,ProfilePerspectiveViewContext:()=>rl.j,ProfilesList:()=>Xr.Z,QueryBuilderAttributeDataType:()=>ra.eB,QueryBuilderAttributeType:()=>ra.Xw,QueryBuilderRow:()=>Zt.Z,QueryBuilderRowsGroup:()=>Mt.Z,ReactSelectOptionFilters:()=>Bt.Z,ReactSortableTree:()=>Ot.ZP,ReactSortableTreeHandlers:()=>_t.ZP,ReactSortableTreeUtils:()=>kt.ZP,ReadOnlyAttribute:()=>A.Z,ReadOnlyAttributeValuesBlock:()=>w.Z,ReadOnlyAttributesList:()=>S.Z,ReadOnlyAttributesPager:()=>_.Z,ReferenceAttribute:()=>B.Z,ReferenceAttributeEditor:()=>E.Z,RelatedObjectUrisContext:()=>sl.A,RelationEditor:()=>Tr.Z,RelationTypeSelector:()=>g.Z,RelationTypesSelector:()=>Ve.U,ReloadFacetProvider:()=>dl.DX,ReltioGridLayout:()=>zt.Z,ReltioMap:()=>wr.Z,RequestStates:()=>ml.o,ResizablePanes:()=>Ft.Z,RowCellAutoSizer:()=>q.Z,SandboxAPIContext:()=>Ta.Y,ScrollableTabs:()=>or.Z,SearchFiltersContext:()=>ul.I,SearchInput:()=>Pt.Z,SelectionPopup:()=>Ht.Z,SelectionPopupPopper:()=>Vt,SelectorWithOnlyOptionAutoSelect:()=>Wt.Z,SideButtonsPanel:()=>Ut.G,SidePanel:()=>qt.h,SidePanelContentHeader:()=>Qt.P,SidePanelEmptyState:()=>Gt.Z,SimpleAttribute:()=>O.Z,SimpleAttributeEditor:()=>v.Z,SimpleDropDownSelector:()=>Xt.Z,SimpleMatchRulesBlock:()=>ht.Z,SimpleMatchRulesBuilder:()=>yt.Z,SmallIconButton:()=>$t.Z,SmallIconButtonWithTooltip:()=>Yt.k,SnackbarContext:()=>Da.S,SortingType:()=>ra.nI,SourceCrosswalksRow:()=>br.Z,SourceIcon:()=>Jt.Z,Spacer:()=>Kt.Z,TableContext:()=>D.X,TableWithBars:()=>ae.Z,TextEditor:()=>Me.Z,TimestampEditor:()=>Fe.Z,TransitiveMatchBlock:()=>Et.Z,TreeChart:()=>le.Z,UsersContext:()=>el.s,VerticalDivider:()=>tr.Z,VerticalHeadingsTable:()=>rr.Z,ViewIdContext:()=>$a.m,ViewMoreToggle:()=>ar.Z,VirtualGroupedList:()=>lr.Z,WhiteSearchInput:()=>Dt.Z,WorkflowComments:()=>jr.V,WorkflowTaskCard:()=>Hr.s,WorkflowTasksContext:()=>cl.O,basicTableViewState:()=>G.ZP,buildColumnsFilter:()=>U.Tz,columnFilterToMdmFilter:()=>U.su,createStandardAction:()=>oa.zD,defaultGetRowCellHeight:()=>V.Z,defaultRenderRowCell:()=>W.Z,getChecked:()=>oa.IR,getValue:()=>oa.NA,groupCrosswalksByTypesAndSources:()=>Cr.o,isIE:()=>oa.w1,mergeClasses:()=>oa.ze,noop:()=>oa.ZT,parseJSON:()=>oa.Rx,stopPropagation:()=>oa.UW,toggleSortOrder:()=>oa.Dh,useAPI:()=>da.E,useActions:()=>pa.o,useActivitiesLoader:()=>i.d,useAsyncMount:()=>ua.S,useAttributeExpanded:()=>ol.Q,useBasicTableCellRenderer:()=>Y.Z,useClickableStyle:()=>ie.d,useCollaboration:()=>fa.C,useCommentsEntitiesMap:()=>ma.Q,useConfigPermissions:()=>Sa.l,useCrosswalkActions:()=>gr.P,useCrosswalkColor:()=>nl.nX,useCrosswalkFocus:()=>nl.BF,useCrosswalkHighlight:()=>nl.pu,useCustomScripts:()=>Va,useDidUpdateEffect:()=>ha.D,useDynamicRowCellHeight:()=>X.Z,useEditableConnection:()=>Wa.R,useHighlightedCrosswalks:()=>nl.RT,useHistory:()=>Mr.k6,useHistoryDiff:()=>Rr.u,useHistoryEnabled:()=>Br.C,useHistorySlice:()=>Zr.a,useKeyboardNavigation:()=>Tt.t,useMarkAsNotMatchRequest:()=>Ba.m,useMatchesLoader:()=>Za.s,useMergeAllRequest:()=>Ra._,useModifiedEntity:()=>Er.Q,usePagingSimulator:()=>Ma.a,usePrevious:()=>ya.D,useProfileActivitiesLoader:()=>c.b,useReadableSearchState:()=>Ua.v,useRelationTypeSelector:()=>Ea.n,useRelationsLoader:()=>ga.a,useReloadAllFacets:()=>dl.Hc,useReloadFacet:()=>dl.T,useRunOnceAfterValueInitialization:()=>va.q,useSafePromise:()=>ba._,useSavedState:()=>xa.a,useSavedStateForEntityType:()=>Ga.w,useSnackbar:()=>qa.D,useUsers:()=>Aa.U,useWhyDidYouUpdate:()=>wa,useWorkflowAssignee:()=>Lr.r,useWorkflowCheckPermission:()=>Vr.Z,useWorkflowComments:()=>Nr.W,useWorkflowTasks:()=>Wr.v,withAsyncMount:()=>ca.Z,withContext:()=>sa.l,withFilterAtBottom:()=>T.Z,withPercents:()=>oe.Z,withTableContext:()=>P.Z,withTooltip:()=>ia.Z});var a=r(88234),l=r(34359),n=r(31537),o=r(99601),i=r(67486),c=r(63072),s=r(7785),p=r(8962),d=r(95974),u=r(91262),f=r(31588),m=r(81077),h=r(22694),y=r(62630),E=r(2163),g=r(27185),v=r(39462),b=r(57161),x=r(93140),A=r(81303),C=r(96698),w=r(87760),S=r(80931),Z=r(13074),M=r(24338),R=r(28751),B=r(72148),O=r(12068),_=r(24625),k=r(30739),z=r(97991),F=r(85709),P=r(32528),D=r(13688),T=r(67353),H=r(60894),I=r(1876),j=r(47458),L=r(58662),N=r(64091),V=r(25461),W=r(14838),U=r(99341),G=r(26180),q=r(97946),Q=r(74566),X=r(74402),Y=r(46177),$=r(93873),J=r(10237),K=r(4094),ee=r(92778),te=r(40801),re=r(79527),ae=r(83535),le=r(3292),ne=r(66675),oe=r(84900),ie=r(99256),ce=r(24328),se=r.n(ce),pe=r(1292);function de(){return de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},de.apply(this,arguments)}const ue=e=>se().createElement(pe.Z,de({mouseEvent:"onMouseDown"},e));var fe=r(9371),me=r(58241),he=r(43290),ye=r(94646),Ee=r(94113),ge=r(96808),ve=r(36179),be=r(89119),xe=r(7154),Ae=r(72768),Ce=r(27652),we=r(55847),Se=r(24737),Ze=r(79026),Me=r(81174),Re=r(24754),Be=r(82455),Oe=r(31890),_e=r(46923),ke=r(8459),ze=r(28117),Fe=r(43305),Pe=r(27113),De=r(6230),Te=r(94889),He=r(21077),Ie=r(53180),je=r(68439),Le=r(31254),Ne=r(59725),Ve=r(32371),We=r(31039),Ue=r(2256),Ge=r(585),qe=r(26579),Qe=r(88611),Xe=r(93416),Ye=r(79692);const $e=e=>`rotateY(${e?180:0}deg)`,Je=e=>`rotateX(${e?180:0}deg)`,Ke=e=>`rotateY(${e?0:-180}deg)`,et=e=>`rotateX(${e?0:-180}deg)`,tt=(0,Ye.Z)({back:e=>{let{isFlipped:t,direction:r}=e;return{WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:t?"relative":"absolute",top:"0",transform:"horizontal"===r?Ke(t):et(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",display:"flex"}},container:e=>{let{cardZIndex:t}=e;return{perspective:"1000px",zIndex:t}},flipper:{height:"100%",position:"relative",width:"100%"},front:e=>{let{isFlipped:t,direction:r}=e;return{WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:t?"absolute":"relative",top:"0",transform:"horizontal"===r?$e(t):Je(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",zIndex:2,display:"flex"}}});var rt=r(71153),at=r.n(rt);const lt=(0,ce.forwardRef)(((e,t)=>{let{cardZIndex:r="auto",direction:a="vertical",isCardFlipped:l=!1,children:n,className:o}=e;const[i,c]=(0,ce.useState)(l),s=tt({cardZIndex:r,direction:a,isFlipped:i});return(0,ce.useEffect)((()=>{l!==i&&c(l)}),[l,i]),se().createElement("div",{className:at()(s.flipper,o),ref:t},se().createElement("div",{"data-id":"front",className:s.front},n[0]),se().createElement("div",{"data-id":"back",className:s.back},n[1]))})),nt=lt;var ot=r(75512),it=r(88548),ct=r(27239),st=r(81853),pt=r(81727),dt=r(99136),ut=r(55400),ft=r(37014),mt=r(83037),ht=r(74615),yt=r(66792),Et=r(93301),gt=r(83401),vt=r(22860),bt=r(48809),xt=r(66130),At=r(59601),Ct=r(35071),wt=r(57304),St=r(93517),Zt=r(23598),Mt=r(41315),Rt=r(92575),Bt=r(50905),Ot=r(58600),_t=r(65758),kt=r(21113),zt=r(67268),Ft=r(96955),Pt=r(94574),Dt=r(16025),Tt=r(54763),Ht=r(97820),It=r(25480),jt=r(94079),Lt=r(27556);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Nt.apply(this,arguments)}const Vt=e=>{let{open:t,anchorEl:r,className:a,onClose:l,containerWidth:n,containerHeight:o,paperProps:i,listContent:c,externalInputField:s,classes:p={}}=e;const d=(0,It.Z)({containerWidth:n,containerHeight:o});return se().createElement("div",{className:p.root},s,se().createElement(xt.Z,{open:t,onClose:l,anchorEl:r,placement:"bottom-start",transition:!0},(e=>{let{TransitionProps:t}=e;return se().createElement(jt.Grow,t,se().createElement(Lt.Z,Nt({elevation:2},i),se().createElement("div",{className:at()(d.container,a),style:{width:n}},se().createElement("div",{className:d.list},c))))})))};var Wt=r(43775),Ut=r(39827),Gt=r(10159),qt=r(52043),Qt=r(17308),Xt=r(31517),Yt=r(8818),$t=r(22385),Jt=r(94175),Kt=r(51229),er=r(95629),tr=r(30553),rr=r(34635),ar=r(77565),lr=r(44890),nr=r(32152),or=r(32431),ir=r(58896),cr=r(4073),sr=r(85592),pr=r(22246),dr=r(19592),ur=r(94111),fr=r(31269),mr=r(81137),hr=r(85209),yr=r(20982),Er=r(85965),gr=r(39417),vr=r(48017),br=r(52017),xr=r(79769),Ar=r(77243),Cr=r(90186),wr=r(48747),Sr=r(76134),Zr=r(57730),Mr=r(85890),Rr=r(76536),Br=r(71820),Or=r(54362),_r=r(91515),kr=r(3409),zr=r(6674),Fr=r(65942),Pr=r(55912),Dr=r(91181),Tr=r(11013),Hr=r(34120),Ir=r(26789),jr=r(89140),Lr=r(5434),Nr=r(43477),Vr=r(22994),Wr=r(61756),Ur=r(49734),Gr=r(93428),qr=r(30885),Qr=r(98808),Xr=r(82842),Yr=r(99757),$r=r(79821),Jr=r(63172),Kr=r(52391),ea=r(14363),ta=r(6521),ra=r(94656),aa=r(19603),la=r(78836),na=r(97090),oa=r(31276),ia=r(83348),ca=r(49965),sa=r(48852),pa=r(86361),da=r(33165),ua=r(96479),fa=r(7718),ma=r(26313),ha=r(20562),ya=r(30634),Ea=r(89846),ga=r(37152),va=r(92898),ba=r(67218),xa=r(2804),Aa=r(17554);function Ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wa=(e,t)=>{const r=(0,ce.useRef)();(0,ce.useEffect)((()=>{if(r.current){const a=Object.keys(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Ca(e,t,r[t])}))}return e}({},r.current,t)),l={};a.forEach((e=>{r.current[e]!==t[e]&&(l[e]={from:r.current[e],to:t[e]})})),Object.keys(l).length&&console.log("[why-did-you-update]",e,l)}r.current=t}))};var Sa=r(52016),Za=r(28741),Ma=r(20449),Ra=r(84504),Ba=r(59119),Oa=r(52730),_a=r(59431),ka=r(81667),za=r(58697),Fa=r.n(za),Pa=r(17440),Da=r(97094),Ta=r(60115),Ha=r(26929),Ia=r(53607);function ja(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){La(e,t,r[t])}))}return e}function La(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Na=(e,t)=>(e||[]).some((e=>{const r=new RegExp(`^${e}$`);return e.replace(/\/*$/,"")===t||e&&r.test(t)})),Va=(e,t)=>{let{addInternalRequestInterceptor:r,addInternalResponseInterceptor:a,removeInternalRequestInterceptor:l,removeInternalResponseInterceptor:n}=t;const o=e.reduce(((e,t)=>t.platform!==ka.X1H.CLASSIC?[...e,ja({},t,{actionId:Fa()()})]:e),[]),i=(0,ce.useContext)(Da.S),c=(0,Oa.useDispatch)(),s=(0,Oa.useSelector)(_a.ZP.selectors.getMetadata)||{},p=(0,Oa.useSelector)(_a.ZP.selectors.getEntity)||{},d=(0,Oa.useSelector)(_a.ZP.selectors.getUIPath),u=(0,Oa.useSelector)(_a.ZP.selectors.getServicesPath),f=(0,Oa.useSelector)(_a.ZP.selectors.getReltioPath),m=(0,Oa.useSelector)(_a.ZP.selectors.getTenant),h=(0,Ha.j)(d,m),y=(0,Oa.useSelector)(_a.ZP.selectors.getApiPath),E=(0,Oa.useSelector)(_a.ZP.selectors.getWorkflowPath),g=(0,Oa.useSelector)(_a.ZP.selectors.getUser),v=(0,Oa.useSelector)(_a.ZP.selectors.getEntityUri),b=(0,Oa.useSelector)(_a.ZP.selectors.getWorkflowEnvironmentUrl),x=(0,ce.useContext)(Ta.Y),A=(0,Vr.Z)(),{type:C,data:w}=(0,Oa.useSelector)(_a.ZP.selectors.getSearchProviderData)||{},S=e=>c(_a.ui.actions.openSearch(e)),Z=(0,ce.useRef)({}),M=(0,ce.useRef)({}),R=(0,ce.useRef)({}),B=e=>{let{task:t,worker:r,config:a}=e;if(t)switch(t.action){case ka.W0P.LOG:console.log(t.params);break;case ka.W0P.MESSAGE:i(t.params);break;case ka.W0P.REQUEST:var l,n;if("ui"!==(null===(l=t.params)||void 0===l||null===(n=l.headers)||void 0===n?void 0:n.origin))(0,Ia.U)(ja({name:t.params.name,paramObject:t,permissions:a.action.permissions,worker:r,metadata:s,config:a,user:g,apiPath:y,servicesPath:u,tenant:m,workflowPath:E,entity:p,entityUri:v,environment:b,query:"search"===C?null==w?void 0:w.query:null,openSearch:S,workflowCheckPermission:A},x));else{const{headers:e,id:r,url:a,method:l,data:n}=t.params,o=a.replace(f,y);Z.current[e.requestId]&&(Z.current[e.requestId].next(o,ja({},n,{id:r,task:t,headers:e,method:l})),Z.current=(0,Pa.omit)([e.requestId],Z.current))}break;case ka.W0P.RETURN_PROCESSED_API_RESPONSE:case ka.W0P.RETURN_PROCESSED_API_REQUEST:{const{id:e,data:r}=t.params;M.current[e]&&(M.current[e].next(r),M.current=(0,Pa.omit)([e],M.current));break}}};(0,ce.useEffect)((()=>(R.current=o.reduce(((e,t)=>{const r=(e=>{const{processApiResponse:t,processApiRequest:r,permissions:a,files:l}=e;return ja({action:{processApiResponse:t,processApiRequest:r,permissions:a,files:l}},function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["processApiResponse","processApiRequest","permissions","files"]))})(t);return ja({},e,{[t.actionId]:(0,ka.QWZ)(h,t.files,B,r)})}),R.current),()=>{Object.keys(R.current).forEach((e=>{R.current[e].terminate()}))})),[e]);const O=e=>{let{options:t={},url:r,next:a}=e;const l=r.startsWith("/")&&!r.startsWith(y)?`${f}/api/${m}${r}`:`${f}${r.replace(y,"")}`,n=(0,Pa.pipe)((0,Pa.map)((0,Pa.pick)(["actionId","processApiRequest"])),(0,Pa.find)((e=>{let{processApiRequest:t}=e;return Na(t,l)})),(0,Pa.prop)("actionId"))(o);if(n){const e=Fa()();Z.current=ja({},Z.current,{[e]:{options:t,next:a,id:e}}),R.current[n].postMessage({action:"apiRequest",id:e,url:l,method:t.method,headers:ja({},t.headers,{origin:"ui",requestId:e,actionId:n}),data:t})}else a(r,t)},_=e=>{var t;let{url:r,response:a,next:l,options:n,abort:i}=e;if("ui"===(null==n||null===(t=n.headers)||void 0===t?void 0:t.origin))a.json().then((e=>{var t,r,a;M.current=ja({},M.current,{[n.headers.requestId]:{next:l}}),R.current[null===(t=n.headers)||void 0===t?void 0:t.actionId].postMessage({action:"response",result:{data:e},id:null==n?void 0:n.id,name:null==n||null===(r=n.task)||void 0===r||null===(a=r.params)||void 0===a?void 0:a.name})})).catch((e=>{i(e)}));else{const e=`${f}${r.replace(y,"")}`,t=(0,Pa.pipe)((0,Pa.map)((0,Pa.pick)(["actionId","processApiResponse"])),(0,Pa.find)((t=>{let{processApiResponse:r}=t;return Na(r,e)})),(0,Pa.prop)("actionId"))(o);if(t){const r=Fa()();a.json().then((a=>{M.current=ja({},M.current,{[r]:{next:l}}),R.current[t].postMessage({action:"apiResponse",id:r,url:e,method:n.method,data:a})})).catch((e=>{i(e)}))}else l(a)}};(0,ce.useEffect)((()=>{if(!(0,ka.O27)(o))return r(O),a(_),()=>{l(O),n(_)}}),[e])};var Wa=r(78620),Ua=r(41188),Ga=r(60641),qa=r(24605),Qa=r(7142),Xa=r(26005),Ya=r(30268),$a=r(39450),Ja=r(69891),Ka=r(3515),el=r(49759),tl=r(60995),rl=r(26481),al=r(52049),ll=r(31274),nl=r(63149),ol=r(66095),il=r(91676),cl=r(94150),sl=r(78101),pl=r(3185),dl=r(98884),ul=r(56259),fl=r(43600),ml=r(67885)}}]);
2
- //# sourceMappingURL=3981.js.map
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8337],{4190:(e,t,r)=>{r.d(t,{wE:()=>y,ni:()=>E,ZP:()=>b});var a=r(7896),l=r(59740),n=r(24328),o=(r(13980),r(6277)),i=r(35111),c=r(41262),s=r(15459),p=r(62339),d=r(27556),u=r(97580),f=r(39265),m=r(60364),h={left:"right",right:"left",top:"down",bottom:"up"};function y(e){return-1!==["left","right"].indexOf(e)}function E(e,t){return"rtl"===e.direction&&y(t)?h[t]:t}var g={enter:f.x9.enteringScreen,exit:f.x9.leavingScreen},v=n.forwardRef((function(e,t){var r=e.anchor,s=void 0===r?"left":r,f=e.BackdropProps,y=e.children,v=e.classes,b=e.className,x=e.elevation,A=void 0===x?16:x,C=e.ModalProps,w=(C=void 0===C?{}:C).BackdropProps,S=(0,l.Z)(C,["BackdropProps"]),Z=e.onClose,M=e.open,R=void 0!==M&&M,B=e.PaperProps,O=void 0===B?{}:B,_=e.SlideProps,k=e.TransitionComponent,z=void 0===k?p.Z:k,F=e.transitionDuration,P=void 0===F?g:F,D=e.variant,T=void 0===D?"temporary":D,H=(0,l.Z)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),I=(0,m.Z)(),j=n.useRef(!1);n.useEffect((function(){j.current=!0}),[]);var L=E(I,s),N=n.createElement(d.Z,(0,a.Z)({elevation:"temporary"===T?A:0,square:!0},O,{className:(0,o.Z)(v.paper,v["paperAnchor".concat((0,u.Z)(L))],O.className,"temporary"!==T&&v["paperAnchorDocked".concat((0,u.Z)(L))])}),y);if("permanent"===T)return n.createElement("div",(0,a.Z)({className:(0,o.Z)(v.root,v.docked,b),ref:t},H),N);var V=n.createElement(z,(0,a.Z)({in:R,direction:h[L],timeout:P,appear:j.current},_),N);return"persistent"===T?n.createElement("div",(0,a.Z)({className:(0,o.Z)(v.root,v.docked,b),ref:t},H),V):n.createElement(i.Z,(0,a.Z)({BackdropProps:(0,a.Z)({},f,w,{transitionDuration:P}),BackdropComponent:c.Z,className:(0,o.Z)(v.root,v.modal,b),open:R,onClose:Z,ref:t},H,S),V)}));const b=(0,s.Z)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(v)},62339:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(7896),l=r(59740),n=r(24328),o=(r(13980),r(75047)),i=r(90708),c=r(75614),s=r(85974),p=r(60364),d=r(39265),u=r(41070);function f(e,t){var r=function(e,t){var r,a=t.getBoundingClientRect();if(t.fakeTransform)r=t.fakeTransform;else{var l=window.getComputedStyle(t);r=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}var n=0,o=0;if(r&&"none"!==r&&"string"==typeof r){var i=r.split("(")[1].split(")")[0].split(",");n=parseInt(i[4],10),o=parseInt(i[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(n-a.left,"px)"):"right"===e?"translateX(-".concat(a.left+a.width-n,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(o-a.top,"px)"):"translateY(-".concat(a.top+a.height-o,"px)")}(e,t);r&&(t.style.webkitTransform=r,t.style.transform=r)}var m={enter:d.x9.enteringScreen,exit:d.x9.leavingScreen};const h=n.forwardRef((function(e,t){var r=e.children,d=e.direction,h=void 0===d?"down":d,y=e.in,E=e.onEnter,g=e.onEntered,v=e.onEntering,b=e.onExit,x=e.onExited,A=e.onExiting,C=e.style,w=e.timeout,S=void 0===w?m:w,Z=e.TransitionComponent,M=void 0===Z?c.ZP:Z,R=(0,l.Z)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),B=(0,p.Z)(),O=n.useRef(null),_=n.useCallback((function(e){O.current=o.findDOMNode(e)}),[]),k=(0,s.Z)(r.ref,_),z=(0,s.Z)(k,t),F=function(e){return function(t){e&&(void 0===t?e(O.current):e(O.current,t))}},P=F((function(e,t){f(h,e),(0,u.n)(e),E&&E(e,t)})),D=F((function(e,t){var r=(0,u.C)({timeout:S,style:C},{mode:"enter"});e.style.webkitTransition=B.transitions.create("-webkit-transform",(0,a.Z)({},r,{easing:B.transitions.easing.easeOut})),e.style.transition=B.transitions.create("transform",(0,a.Z)({},r,{easing:B.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",v&&v(e,t)})),T=F(g),H=F(A),I=F((function(e){var t=(0,u.C)({timeout:S,style:C},{mode:"exit"});e.style.webkitTransition=B.transitions.create("-webkit-transform",(0,a.Z)({},t,{easing:B.transitions.easing.sharp})),e.style.transition=B.transitions.create("transform",(0,a.Z)({},t,{easing:B.transitions.easing.sharp})),f(h,e),b&&b(e)})),j=F((function(e){e.style.webkitTransition="",e.style.transition="",x&&x(e)})),L=n.useCallback((function(){O.current&&f(h,O.current)}),[h]);return n.useEffect((function(){if(!y&&"down"!==h&&"right"!==h){var e=(0,i.Z)((function(){O.current&&f(h,O.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[h,y]),n.useEffect((function(){y||L()}),[y,L]),n.createElement(M,(0,a.Z)({nodeRef:O,onEnter:P,onEntered:T,onEntering:D,onExit:I,onExited:j,onExiting:H,appear:!0,in:y,timeout:S},R),(function(e,t){return n.cloneElement(r,(0,a.Z)({ref:z,style:(0,a.Z)({visibility:"exited"!==e||y?void 0:"hidden"},C,r.props.style)},t))}))}))},74443:(e,t,r)=>{var a=r(71600);t.Z=void 0;var l=a(r(24328)),n=(0,a(r(50175)).default)(l.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddCircle");t.Z=n},99144:(e,t,r)=>{var a=r(71600);t.Z=void 0;var l=a(r(24328)),n=(0,a(r(50175)).default)(l.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=n},45767:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(24328),l=r.n(a),n=r(7896),o=r(72379);const i=(c=l().createElement("path",{d:"M7 10l5 5 5-5z"}),(s=l().memo(l().forwardRef((function(e,t){return l().createElement(o.Z,(0,n.Z)({ref:t},e),c)})))).muiName=o.Z.muiName,s);var c,s},14363:(e,t,r)=>{r.d(t,{n:()=>g});const a=(0,r(79692).Z)({item:{marginBottom:"16px"},dense:{marginBottom:0}});var l=r(20562),n=r(24328),o=r.n(n),i=r(52730),c=r(59431),s=r(66269),p=r(91262),d=r(71153),u=r.n(d),f=r(17440),m=r(7154),h=r(26579),y=r(81077);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>{let{connection:t,relatedEntity:r,inRelationTypes:d=[],outRelationTypes:g=[],showEmptyEditors:v,entityErrorMessage:b,onChangeAttribute:x,onRemoveAttribute:A,onAddAttributes:C,onChangeRelationType:w,onChangeEntity:S}=e;const Z=a(),{relation:M,entity:R}=t,{attributes:B,uri:O,type:_="",direction:k}=M||{},z=Boolean(_),F=(0,i.useSelector)(c.ZP.selectors.getMetadata),P=(0,n.useMemo)((()=>M&&function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){E(e,t,r[t])}))}return e}({attributes:B},(0,s.p2l)(M))),[M,B]),D=(0,n.useMemo)((()=>(0,s.xF8)(F,_)),[_,F]),T=(0,n.useMemo)((()=>z?(0,s.jWj)(k===s.Nsj.OUT,F,[(0,s.V3K)(F,_)]):(0,f.uniq)((0,s.jWj)(!0,F,g).concat((0,s.jWj)(!1,F,d)))),[z,_,F,d,g]),H=(0,i.useSelector)((e=>c.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),I=(0,n.useMemo)((()=>M&&{relationType:M.type,direction:M.direction}),[M]),j=(0,n.useMemo)((()=>R&&{entityUri:R.uri,entityType:R.type,entityLabel:(0,s.idV)(R.label)}),[R]),L=(0,n.useMemo)((()=>R&&R.uri?d.filter((0,s.eHk)(!1,R,r,F)):d),[R,d,r,F]),N=(0,n.useMemo)((()=>R&&R.uri?g.filter((0,s.eHk)(!0,R,r,F)):g),[R,g,r,F]);(0,n.useEffect)((()=>{const{type:e,direction:t}=(0,s.z7d)(d,g)||{};!_&&e&&w&&w({type:e.uri,direction:t})}),[_,d,g,w]),(0,l.D)((()=>{const{type:e,direction:t}=(0,s.z7d)(L,N)||{};!_&&e&&w({type:e.uri,direction:t})}),[_,R,L,N,S]);const V=(0,n.useCallback)((e=>{let{type:t,direction:r}=e;w({type:t.uri,direction:r})}),[w]);return o().createElement(o().Fragment,null,w&&o().createElement(m.Z,{className:Z.item,relation:I,metadata:F,inRelationTypes:d,outRelationTypes:g,onChange:V}),S&&o().createElement(h.Z,{errorMessage:b,className:Z.item},o().createElement(y.Z,{key:_,className:u()({[Z.dense]:b}),entity:j||{},entityTypesUris:T,max:20,globalSearchRequestOptions:H,mode:s.fO_.EDITING,onChange:S,onCreate:void 0,metadata:F,attributeTypesSelectionStrategy:void 0})),_&&o().createElement(p.Z,{attrTypes:D,entity:P,showEmptyEditors:v,mode:s.fO_.EDITING,parentUri:O,onAddAttributes:C,onChangeAttribute:x,onDeleteAttribute:A}))}},6230:(e,t,r)=>{r.d(t,{J:()=>s});var a=r(24328),l=r.n(a),n=r(87918),o=r.n(n),i=r(15689);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},c.apply(this,arguments)}const s=e=>l().createElement(i.Z,c({message:o().text("No data available")},e))},21077:(e,t,r)=>{r.d(t,{B9:()=>f,tC:()=>u,ZP:()=>m});var a=r(24328),l=r.n(a),n=r(17440),o=r(94079);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i.apply(this,arguments)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},c.apply(this,arguments)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},p.apply(this,arguments)}const d=(0,r(79692).Z)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"10px",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box","& $text":{color:e.palette.text.primary,fontSize:"20px",fontWeight:500,lineHeight:"24px",letterSpacing:"0.25px",textAlign:"center"},"& $secondaryText":{color:e.palette.text.secondary,fontSize:"15px",fontWeight:300,lineHeight:"18px",letterSpacing:"0.11px",textAlign:"center",paddingTop:"3px"}},embedded:{flexShrink:0,width:"190px",height:"190px",padding:"8px"},full:{width:"256px",height:"256px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:500,marginTop:"16px"},text:{},secondaryText:{},button:{minHeight:36,minWidth:64,maxWidth:500,padding:"10px 16px",borderRadius:"2px",boxShadow:"0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24), 0 0 8px 0 rgba(0,0,0,0.12), 0 8px 8px 0 rgba(0,0,0,0.24)",fontSize:"14px",fontWeight:500,lineHeight:"16px",marginTop:"24px"}})));let u;!function(e){e.full="full",e.embedded="embedded"}(u||(u={}));const f={SEARCH_RESULTS:e=>l().createElement("svg",i({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),l().createElement("defs",null,l().createElement("radialGradient",{cx:"50%",cy:"100%",fx:"50%",fy:"100%",r:"81.681%",gradientTransform:"matrix(.98998 0 0 .612 .005 .388)",id:"EmptySearchResults_svg__c"},l().createElement("stop",{stopColor:"#00BFFF",stopOpacity:.5,offset:"0%"}),l().createElement("stop",{stopColor:"#9EE8FF",stopOpacity:0,offset:"100%"})),l().createElement("radialGradient",{cx:"50%",cy:"111.651%",fx:"50%",fy:"111.651%",r:"87.693%",gradientTransform:"matrix(0 -.97693 .7263 0 -.31 1.605)",id:"EmptySearchResults_svg__f"},l().createElement("stop",{stopColor:"#91F8E5",stopOpacity:.6,offset:"0%"}),l().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),l().createElement("radialGradient",{cx:"50%",cy:"103.659%",fx:"50%",fy:"103.659%",r:"90.207%",gradientTransform:"matrix(0 -1 2.23905 0 -1.821 1.537)",id:"EmptySearchResults_svg__g"},l().createElement("stop",{stopColor:"#FFF",offset:"0%"}),l().createElement("stop",{stopColor:"#73FAFF",stopOpacity:.21,offset:"59.38%"}),l().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),l().createElement("linearGradient",{x1:"50%",y1:"170.771%",x2:"50%",y2:"10.303%",id:"EmptySearchResults_svg__e"},l().createElement("stop",{stopColor:"#91F8E5",offset:"0%"}),l().createElement("stop",{stopColor:"#99FCFF",stopOpacity:0,offset:"100%"})),l().createElement("filter",{x:"-25.9%",y:"-26.2%",width:"151.8%",height:"152.3%",filterUnits:"objectBoundingBox",id:"EmptySearchResults_svg__d"},l().createElement("feGaussianBlur",{stdDeviation:15,in:"SourceGraphic"})),l().createElement("circle",{id:"EmptySearchResults_svg__a",cx:128,cy:128,r:128})),l().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"EmptySearchResults_svg__b",fill:"#fff"},l().createElement("use",{xlinkHref:"#EmptySearchResults_svg__a"})),l().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#EmptySearchResults_svg__a"}),l().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},l().createElement("g",{transform:"translate(56 34)"},l().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},l().createElement("path",{d:"M0 6.99C0 3.13 3.137 0 7 0h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H7c-3.866 0-7-3.143-7-6.99V6.99z"}),l().createElement("path",{d:"M13 25.99c0-3.86 3.137-6.99 7-6.99h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H20c-3.866 0-7-3.143-7-6.99V25.99z",opacity:.4})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 45.833)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),l().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),l().createElement("path",{d:"M35.365.861h69.768a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M34.274 15.048h126.164a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),l().createElement("rect",{fill:"#645F6D",opacity:.5,x:21.756,y:17.46,width:87.022,height:12.004,rx:6.002}),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 87.302)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),l().createElement("rect",{fill:"#E3EBF4",x:0,y:1.091,width:20.668,height:20.734,rx:10.334}),l().createElement("path",{d:"M35.365.861h82.647a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M34.274 15.048H174.58a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M33.182 24.869h113.119a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 128.77)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),l().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),l().createElement("path",{d:"M35.365.861h110.929a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M34.274 15.048h92.443a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})))),l().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},l().createElement("path",{fill:"#446275",d:"M72.246 84.033l8.66 5-35.5 61.488-8.66-5-12.556-24.729-51.307-29.622 20.431-35.388 50.648 29.242z"}),l().createElement("path",{d:"M62.906 120.21l-80.091-46.24 10.5-18.188 50.647 29.242 28.284-.99 8.66 5-18 31.176z",fillOpacity:.2,fill:"#FFF"}),l().createElement("path",{d:"M27.566 75.558L3.877 109.065l-5.013-2.895 26.045-32.146 2.657 1.534zm9.467 5.466L13.345 114.53l-5.014-2.895L34.377 79.49l2.656 1.534zm8.158 4.71l-22.32 34.297-5.013-2.895L43.903 84.99l1.288.744z",fill:"#527585"}),l().createElement("path",{d:"M11.524 90.544l13.385-16.52 2.657 1.534-12.174 17.22-3.868-2.234zm9.467 5.467L34.377 79.49l2.656 1.534-12.174 17.22-3.868-2.233zm9.527 5.5L43.903 84.99l1.288.744-11.47 17.626-3.203-1.85z",fill:"#76A2B5",opacity:.6}),l().createElement("path",{d:"M.355 59.848l-23.689 33.507-5.013-2.895 26.045-32.146 2.657 1.534zm9.468 5.466L-13.866 98.82l-5.013-2.895L7.166 63.78l2.657 1.534zm8.158 4.71L-4.34 104.32l-5.014-2.895L16.692 69.28l1.289.744z",fillOpacity:.1,fill:"#000"}),l().createElement("g",null,l().createElement("path",{fill:"url(#EmptySearchResults_svg__c)",opacity:.993,filter:"url(#EmptySearchResults_svg__d)",d:"M.63 0h173.74L123 172H52z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"url(#EmptySearchResults_svg__e)",opacity:.3,d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"url(#EmptySearchResults_svg__f)",opacity:.3,d:"M4 2h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"url(#EmptySearchResults_svg__g)",d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),l().createElement("path",{fill:"#FFF",opacity:.196,d:"M212.363 205.344l-1 1.732L60.418 124.52l4.977-8.62z"})),l().createElement("path",{fill:"#76A2B5",d:"M73.112 84.533l-35.5 61.488-.866-.5 35.5-61.488z"}),l().createElement("path",{fill:"#F3F3F3",d:"M80.906 89.033l-35.5 61.488-.866-.5 35.5-61.488z"}),l().createElement("path",{fill:"#538196",d:"M55.112 115.71l-17.5 30.311-.866-.5 17.5-30.31z"})))),SELECT_ATTRIBUTES:e=>l().createElement("svg",c({width:256,height:256,viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("circle",{cx:128,cy:128,r:128,fill:"#0072CE",fillOpacity:.1}),l().createElement("mask",{id:"SelectAttributes_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:256,height:256},l().createElement("circle",{cx:128,cy:128,r:128,fill:"#fff"})),l().createElement("g",{mask:"url(#SelectAttributes_svg__a)"},l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-16 9h256v247H-16V9z",fill:"url(#SelectAttributes_svg__paint0_linear_0_19219)"}),l().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z",fill:"url(#SelectAttributes_svg__paint1_linear_0_19219)"}),l().createElement("path",{opacity:.06,fillRule:"evenodd",clipRule:"evenodd",d:"M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000"}),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#fff"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:106,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:136,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:169,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:199,r:9,fill:"#B6C7DB"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M92.514 108v-8h-2V140.365h11.178v-2h-9.178V110h9.178v-2h-9.178z",fill:"#2B98F0"}),l().createElement("path",{opacity:.54,fillRule:"evenodd",clipRule:"evenodd",d:"M95.071 77l-3.535 3.535L88 77h7.071z",fill:"#000"}),l().createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#fff"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zM148 37a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z",fill:"#979797"})),l().createElement("defs",null,l().createElement("linearGradient",{id:"SelectAttributes_svg__paint0_linear_0_19219",x1:-16,y1:9,x2:-16,y2:256,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:.01}),l().createElement("stop",{offset:1,stopColor:"#F4F4F4"})),l().createElement("linearGradient",{id:"SelectAttributes_svg__paint1_linear_0_19219",x1:266.117,y1:181.111,x2:154.882,y2:77.681,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopOpacity:.01}),l().createElement("stop",{offset:1})))),NO_DATA:e=>l().createElement("svg",s({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),l().createElement("defs",null,l().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__b"},l().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:0,offset:"0%"}),l().createElement("stop",{stopColor:"#F4F4F4",offset:"100%"})),l().createElement("linearGradient",{x1:"69.573%",y1:"86.747%",x2:"38.144%",y2:"33.403%",id:"NoData_svg__d"},l().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),l().createElement("stop",{stopColor:"#000",offset:"100%"})),l().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__e"},l().createElement("stop",{stopColor:"#EEFBFF",offset:"0%"}),l().createElement("stop",{stopColor:"#0072CE",offset:"100%"})),l().createElement("filter",{x:"-7.7%",y:"-7.5%",width:"115.3%",height:"115%",filterUnits:"objectBoundingBox",id:"NoData_svg__f"},l().createElement("feOffset",{dx:0,dy:2,in:"SourceAlpha",result:"shadowOffsetOuter1"}),l().createElement("feGaussianBlur",{stdDeviation:2,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),l().createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0",type:"matrix",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),l().createElement("feMerge",null,l().createElement("feMergeNode",{in:"shadowMatrixOuter1"}),l().createElement("feMergeNode",{in:"SourceGraphic"}))),l().createElement("circle",{id:"NoData_svg__a",cx:128,cy:128,r:128})),l().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"NoData_svg__c",fill:"#fff"},l().createElement("use",{xlinkHref:"#NoData_svg__a"})),l().createElement("use",{fillOpacity:.1,fill:"#0072CE",xlinkHref:"#NoData_svg__a"}),l().createElement("path",{fill:"url(#NoData_svg__b)",mask:"url(#NoData_svg__c)",d:"M0 9h256v247H0z"}),l().createElement("g",{mask:"url(#NoData_svg__c)"},l().createElement("g",{transform:"translate(29 37)"},l().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},l().createElement("path",{fillOpacity:.8,opacity:.5,d:"M14.565 8h228.144v176.476H14.565z"}),l().createElement("path",{d:"M0 8.01C0 3.586 3.576 0 7.997 0h223.838a7.997 7.997 0 017.997 8.01v152.401c0 4.424-3.577 8.01-7.997 8.01H7.997A7.997 7.997 0 010 160.411V8.01z"})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 42.105)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),l().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),l().createElement("path",{d:"M32.488.791h64.093a3.509 3.509 0 110 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M31.486 13.824h115.902a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),l().createElement("rect",{fill:"#645F6D",opacity:.5,x:19.986,y:16.04,width:79.944,height:11.028,rx:5.514}),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 80.2)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),l().createElement("rect",{fill:"#E3EBF4",x:0,y:1.003,width:18.987,height:19.048,rx:9.493}),l().createElement("path",{d:"M32.488.791h75.925a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M31.486 13.824h128.893a2.506 2.506 0 110 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M30.483 22.846h103.918a1.504 1.504 0 010 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),l().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 118.296)"},l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),l().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),l().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),l().createElement("path",{d:"M32.488.791h101.906a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),l().createElement("path",{d:"M31.486 13.824h84.924a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),l().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})))),l().createElement("g",{mask:"url(#NoData_svg__c)"},l().createElement("path",{d:"M154.445 45.134v154.072H36.625V45.134h.811C35.508 62.52 41.07 80.609 54.12 93.944c22.74 23.235 59.61 23.235 82.352 0 13.05-13.335 18.612-31.424 16.683-48.81h1.29z",fill:"url(#NoData_svg__d)",opacity:.1,transform:"rotate(-30 291.014 34.548)"}),l().createElement("path",{d:"M27.473 93.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"url(#NoData_svg__e)",opacity:.2,transform:"translate(70 86)"}),l().createElement("g",{filter:"url(#NoData_svg__f)",strokeWidth:1,fill:"none",transform:"translate(70 86)"},l().createElement("path",{d:"M59.697 0c32.97 0 59.697 26.746 59.697 59.738 0 15.185-5.662 29.047-14.988 39.587l51.204 51.24a89.336 89.336 0 01-10.097 9.392l-51.38-51.416c-9.73 6.888-21.61 10.936-34.436 10.936C26.727 119.477 0 92.73 0 59.738 0 26.746 26.727 0 59.697 0zm0 17.756c-23.17 0-41.953 18.796-41.953 41.982s18.783 41.982 41.953 41.982 41.953-18.796 41.953-41.982-18.783-41.982-41.953-41.982z",fill:"#B5C8C9"}),l().createElement("path",{d:"M21.508 105.656C8.365 94.698 0 78.196 0 59.738 0 26.746 26.727 0 59.697 0c18.444 0 34.935 8.37 45.885 21.523l-9.794 9.8c-8.408-10.68-21.45-17.537-36.091-17.537-25.361 0-45.92 20.573-45.92 45.952 0 14.652 6.852 27.702 17.525 36.117l-9.794 9.8z",fillOpacity:.4,fill:"#FFF"})),l().createElement("path",{d:"M97.473 179.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"#D9F5FF",opacity:.4,style:{mixBlendMode:"soft-light"}}),l().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.87,fill:"#000",style:{mixBlendMode:"overlay"}}),l().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.38,fill:"#3C74B4"})))),ERROR:e=>l().createElement("svg",p({width:88,height:88,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("mask",{id:"Error_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:88,height:88},l().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"})),l().createElement("g",{mask:"url(#Error_svg__a)"},l().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}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),l().createElement("g",{filter:"url(#Error_svg__filter0_d)"},l().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"})),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#Error_svg__paint0_linear)"}),l().createElement("g",{filter:"url(#Error_svg__filter1_d)"},l().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),l().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),l().createElement("g",{filter:"url(#Error_svg__filter2_d)"},l().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"})),l().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"})),l().createElement("defs",null,l().createElement("filter",{id:"Error_svg__filter0_d",x:36.219,y:37.875,width:42.375,height:42.375,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l().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"}),l().createElement("feOffset",{dy:2}),l().createElement("feGaussianBlur",{stdDeviation:2}),l().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"}),l().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),l().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),l().createElement("filter",{id:"Error_svg__filter1_d",x:51.688,y:62.625,width:11.438,height:11.438,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l().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"}),l().createElement("feOffset",{dy:2}),l().createElement("feGaussianBlur",{stdDeviation:2}),l().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"}),l().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),l().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),l().createElement("filter",{id:"Error_svg__filter2_d",x:51.688,y:44.063,width:11.438,height:23.813,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},l().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),l().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"}),l().createElement("feOffset",{dy:2}),l().createElement("feGaussianBlur",{stdDeviation:2}),l().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"}),l().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),l().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),l().createElement("linearGradient",{id:"Error_svg__paint0_linear",x1:68.438,y1:71.571,x2:60.119,y2:58.801,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopOpacity:0}),l().createElement("stop",{offset:1}))))},m=e=>{let{variant:t=u.full,LogoRenderer:r=f.SEARCH_RESULTS,text:a,secondaryText:i,buttonTitle:c,onClick:s=n.identity,access:p}=e;const m=d(),h=p&&c;return l().createElement("div",{className:m.root},l().createElement(r,{className:m[`${t}`]}),l().createElement("div",{className:m.textBox},l().createElement(o.Typography,{variant:"h5",classes:{h5:m.text}},a),i&&l().createElement(o.Typography,{variant:"subtitle1",classes:{subtitle1:m.secondaryText}},i)),h&&l().createElement(o.Button,{className:m.button,variant:"contained",color:"primary",onClick:s},c))}},88548:(e,t,r)=>{r.d(t,{Z:()=>y});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(17440),c=r(94079),s=r(79692);function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){d(e,t,r[t])}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=(0,i.range)(2,10).reduce(((e,t)=>p({},e,{[`&:nth-child(${t})`]:{paddingLeft:`calc(1em * (${t} - 2))`,"&::before":{content:'"└"',display:"inline-block",fontSize:"1em",marginRight:"5px",color:"rgba(255, 255, 255, 0.28)"}}})),{}),f=(0,s.Z)((e=>({tooltip:e.tooltip,tooltipContent:{minWidth:"165px",padding:"4px 2px 2px","& p":{fontSize:"11px",lineHeight:"13px",fontWeight:500,margin:0,color:"white"},"& ul":{listStyleType:"none",padding:0,margin:0,"& li":p({fontSize:"10px",lineHeight:"11px",fontWeight:500,color:"rgba(255, 255, 255, 0.7)",marginTop:"4px"},u,{"&:last-child":{color:"white"}}),"& li + li":{marginTop:"2px"}}}})));function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},m.apply(this,arguments)}const h=e=>{let{pathToTitle:t,children:r}=e,a=function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["pathToTitle","children"]);const n=f(),o=t&&t.length?l().createElement("div",{className:n.tooltipContent},l().createElement("p",null,(0,i.last)(t)),t.length>2&&l().createElement("ul",null,t.map((e=>l().createElement("li",{key:e},e))))):"";return l().createElement(c.Tooltip,m({title:o,disableFocusListener:!0,classes:{tooltip:n.tooltip}},a),r)};h.propTypes={pathToTitle:o().arrayOf(o().string).isRequired,children:o().node};const y=h},37014:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(24328),l=r.n(a),n=r(66269);const o=e=>{let{className:t}=e;return l().createElement("img",{className:t,alt:"loading",src:(0,n.Uw1)("R0lGODlhFQALAKIAAP///8Hf75vL5Van0wB4v////wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAFACwAAAIAFQAHAAADLFi6zPSQFEGpGhgXkrEUQShc1bB1wxcGYzGUZ6eKJGVy8lS1aJxJjaAiAkkAACH5BAkKAAUALAAAAwAUAAUAAAMiWLFbJRC6QakCODjBxIzDlW3dB4UBBmhPWQygwrCR9FZDAgAh+QQJCgAFACwIAAMADAAFAAADFBiqVfIvgBmaWHeC6rCklrdw0JMAACH5BAkKAAUALAAAAgAUAAcAAAMkSLpU/vCRQWmLLmg967hYAIxBV4GRSJoWlo1A6X1usXGMUkcJACH5BAkKAAUALAAAAgAOAAcAAAMdWLpF/qSMORudcYg97M2b0BHXAHIelV0pxizQkwAAOw==")})}},32371:(e,t,r)=>{r.d(t,{U:()=>s});var a=r(24328),l=r.n(a),n=r(87918),o=r.n(n),i=r(66269),c=r(42520);const s=(0,a.memo)((e=>{let{relationTypes:t,selectedRelationTypes:r,single:n,placeholder:s,enableEmptyValueUnderline:p,onChange:d,classes:u={},ListLabelProps:f={},disabled:m=!1}=e;const h=(0,a.useMemo)((()=>t.filter(i.Tt2)),[t]);return l().createElement(c.S,{items:h,selectedItemsUris:r,single:n,placeholder:s,enableEmptyValueUnderline:p,onChange:d,classes:u,ListLabelProps:f,disabled:m,label:o().text("Relation type"),dataReltioId:"relation-type-selector",selectionPopupTitle:o().text("Select relation types")})}));s.displayName="RelationTypesSelector"},32431:(e,t,r)=>{r.d(t,{Z:()=>p});var a=r(24328),l=r.n(a),n=r(99152),o=r(6487),i=r(88611);const c=(0,r(79692).Z)({tabsRoot:{width:"100%"},tabsScrollButton:{flex:"0 0 24px"},tabRoot:{fontSize:"0.875rem",padding:"7px 18px 5px","@media (min-width: 960px)":{minWidth:"inherit"}},labelWrapper:{whiteSpace:"nowrap",letterSpacing:"normal",display:"flex",flexDirection:"row",width:"100%"},label:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500}});function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}const p=e=>{let{value:t,tabs:r=[],onChange:a,tabClasses:p}=e,d=function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["value","tabs","onChange","tabClasses"]);const u=c(),f=(e,t)=>l().createElement("span",{className:u.labelWrapper},l().createElement(i.C,{value:e},l().createElement("span",{className:u.label},e)),t);return l().createElement(n.Z,s({value:t,onChange:(e,t)=>a(t),classes:{root:u.tabsRoot,scrollButtons:u.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},d),r.map((e=>{let{label:t,value:r,additionalLabel:a,dataReltioId:n}=e;return l().createElement(o.Z,{classes:p||{root:u.tabRoot},key:r,value:r,label:f(t,a),"data-reltio-id":n})})))}},16025:(e,t,r)=>{r.d(t,{Z:()=>p});var a=r(24328),l=r.n(a),n=r(94574),o=r(63015);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i.apply(this,arguments)}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){s(e,t,r[t])}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{let{classes:t}=e,r=function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["classes"]);const a=(0,o.y)({});return l().createElement(n.Z,i({classes:c({},t,{focused:a.white})},r))}},43775:(e,t,r)=>{r.d(t,{Z:()=>d});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(94079);const c=(0,r(79692).Z)({onlyValue:{color:"rgba(0,0,0,.6)",fontSize:"13px",fontWeight:"normal",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}});var s=r(79026);const p=e=>{let{value:t,onChange:r,options:n,classes:o={},emptyLabel:p}=e;const d=c(),[u,...f]=n,m=0===f.length;(0,a.useEffect)((()=>{m&&t!==u.value&&r(u.value)}),[u.value]);const h=!!p;return l().createElement("div",{className:o.root},m?l().createElement(i.Typography,{className:o.onlyValue||d.onlyValue,variant:"h6"},u.label):l().createElement(s.Z,{displayEmpty:h,disableUnderline:!0,classes:{select:o.select||d.select},TextFieldProps:{classes:{root:o.textField||d.textField}},MenuProps:{classes:{list:o.selectMenu||d.selectMenu}},value:t||"",entries:h?[{value:"",label:p},...n]:n,onChange:e=>r(e||null)}))};p.propTypes={value:o().string,onChange:o().func,options:o().arrayOf(o().shape({value:o().string,label:o().string})),classes:o().shape({root:o().string,onlyValue:o().string,select:o().string,selectMenu:o().string,textField:o().string}),emptyLabel:o().string};const d=p},77565:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(94079),c=r(83543);const s=(0,r(79692).Z)((()=>({viewMoreLessLink:{display:"flex",alignItems:"center",cursor:"pointer"},arrow:{marginRight:"8px",marginLeft:"-2px",transform:"rotate(0deg)",transition:"transform 0.35s ease"},rotated:{transform:"rotate(-180deg)"}})));var p=r(71153),d=r.n(p),u=r(87918),f=r.n(u);const m=e=>{let{active:t,onClick:r,className:a}=e;const n=s();return l().createElement(i.Link,{className:d()(n.viewMoreLessLink,a),onClick:r,underline:"none"},l().createElement(c.Z,{className:d()(n.arrow,{[n.rotated]:t})}),t?f().text("View less"):f().text("View more"))};m.propTypes={active:o().bool,onClick:o().func,className:o().string};const h=m},63072:(e,t,r)=>{r.d(t,{b:()=>o});var a=r(24328),l=r(66269),n=r(56764);const o=e=>{let{filter:t,max:r,offset:o,entityUri:i}=e;return(0,a.useCallback)((async()=>{const e=(0,n.U)(t),a=await(0,l.k6v)({filter:e,max:r,offset:o,entityUri:i}),{total:c}=await(0,l.FEC)({filter:e,entityUri:i});return{data:a,total:c}}),[t,r,o,i])}},78620:(e,t,r)=>{r.d(t,{R:()=>p});var a=r(24328),l=r(66269),n=r(17440),o=r(52730),i=r(59431);function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){s(e,t,r[t])}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{let{connection:t,onConnectionChange:r,relatedEntity:s}=e;const p=(0,o.useSelector)(i.ZP.selectors.getMetadata),d=(0,a.useCallback)((e=>r(c({},t,{relation:e}))),[t,r]),u=(0,a.useCallback)((0,n.pipe)((0,l.zE1)(t.relation),d),[t.relation,d]),f=(0,a.useCallback)((0,n.pipe)((0,l.lIv)(t.relation),d),[t.relation,d]),m=(0,a.useCallback)((0,n.pipe)((0,l.Ilm)(t.relation),d),[t.relation,d]),h=(0,a.useCallback)((e=>{let{type:a,direction:n}=e;const o={entity:t.entity&&(0,l.eHk)(n===l.Nsj.OUT,t.entity,s,p,(0,l.V3K)(p,a))?t.entity:null,relation:c({},t.relation,{attributes:{},type:a,direction:n})};r(o)}),[t,r,s,p]);return{onAddAttributes:u,onChangeAttribute:f,onRemoveAttribute:m,onChangeEntity:(0,a.useCallback)((e=>r(c({},t,{entity:e}))),[t,r]),onChangeRelationType:h}}},92898:(e,t,r)=>{r.d(t,{q:()=>l});var a=r(24328);const l=(e,t)=>{const r=(0,a.useRef)(!1);(0,a.useEffect)((()=>{t&&!r.current&&(r.current=!0,e())}),[e,t])}},2804:(e,t,r)=>{r.d(t,{a:()=>l});var a=r(24328);const l=e=>{const[t,r]=(0,a.useState)(!1),[l,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{e().then((e=>{n(e||{})})).then((e=>r(!0))).catch((e=>r(!0)))}),[]),{isLoaded:t,savedState:l}}},5937:(e,t,r)=>{r.r(t),r.d(t,{ALWAYS_VISIBLE_TYPE_URIS:()=>ca.S,ActionButton:()=>Qr.K,ActionButtonMode:()=>Qr.N,ActivityLog:()=>a.Z,ActivityLogFilter:()=>l.Z,ActivityTypes:()=>n.I,AddWorkflowButton:()=>Ir.G,ArrowExpandButton:()=>dr.Z,AsyncMountContext:()=>Ja.g,AttributeGroupIcon:()=>$r.Z,AttributeListItem:()=>s.Z,AttributeTitle:()=>er.Z,AttributesFilterSelector:()=>aa.Z,AttributesFiltersBuilder:()=>Kr.Z,AttributesFiltersButton:()=>Jr.Z,AttributesList:()=>u.Z,AttributesPager:()=>b.ZP,AttributesTable:()=>yr.Z,AttributesValuesEditor:()=>ra.Z,AttributesView:()=>p.Z,AutoSizeList:()=>k.Z,AvatarWithFallback:()=>z.Z,BarChart:()=>te.Z,BasicAttributeSelector:()=>Yr.Z,BasicTable:()=>F.Z,BasicTableContext:()=>D.X,BasicTablePagination:()=>L.Z,BasicView:()=>J.Z,BasicViewContent:()=>K.Z,BasicViewHeader:()=>ee.Z,BlockImageGalleryDialogContext:()=>rl.P,BranchDecorator:()=>d.Z,COMMENTS_CONTAINER_VISIBILITY_AREA:()=>ia.U,CardinalityMessage:()=>x.Z,ChartsFactory:()=>ne.Z,ClickAwayProvider:()=>ue,CollaborationContext:()=>al.h,CollaborationItem:()=>fe.J,CollapseButton:()=>me.Z,CollapseRowButton:()=>Q.Z,ColorBar:()=>he.Z,ColumnFilterType:()=>oa.Dq,ColumnsDataType:()=>oa.uz,ColumnsSettings:()=>H.Z,ColumnsSettingsPopup:()=>j.G,CommentsContainer:()=>ye.Z,ConfigureColumnsPopup:()=>be.Z,ConfirmDeleteDialog:()=>hr.Z,ConfirmationDialog:()=>mr.Z,ConnectionEditor:()=>ea.n,ConnectionRelationTypeSelector:()=>xe.Z,CrosswalkDragLayer:()=>vr.Z,CrosswalkEditor:()=>xr.Z,CrosswalkType:()=>Ar.Y,CrosswalksDisplayProvider:()=>sl.hR,DEFAULT_GOOGLE_MAP_OPTIONS:()=>sa.Q3,DEFAULT_OVERLAY_OPTIONS:()=>sa.r,DataTypeValue:()=>Ae.Z,DataTypeValueEditor:()=>ze.Z,DateEditor:()=>ke.Z,DateRangeEditor:()=>_e.Z,DateRangeTypes:()=>gl.K,DefaultCellValueRenderer:()=>N.Z,DeltaTypes:()=>o.w,DragAndDrop:()=>ta.l,Drawer:()=>Ce.Z,DropDownEditor:()=>Ze.Z,DropDownMenuButton:()=>we.Z,DropDownSelector:()=>Se.Z,DropdownIndicator:()=>Ee.Z,DropdownIndicatorWithIconButton:()=>ge.Z,EMPTY_STATE_ICONS:()=>He.B9,EMPTY_STATE_VARIANTS:()=>He.tC,EditableAttribute:()=>C.Z,EditableImageAttributesLine:()=>M.Z,EmptyState:()=>He.ZP,EmptyStub:()=>pa.Vd,EntitiesMapContext:()=>cl.X,EntityAvatar:()=>Ie.Z,EntityContext:()=>ml.u,EntityCreator:()=>f.Z,EntityMarkerContext:()=>dl.P,EntitySelector:()=>m.Z,EntityTypeBadge:()=>je.Z,EntityTypeIcon:()=>Le.Z,EntityTypesSelector:()=>Ne.Q,EntityUriLink:()=>We.Z,ErrorBoundary:()=>Ue.Z,ErrorMessage:()=>Sr.Z,ErrorPopup:()=>Ge.Z,ErrorWrapper:()=>qe.Z,ExpandableSearchInput:()=>nr.i,ExpandedAttributesProvider:()=>pl.R,ExpandedValueTooltip:()=>Qe.C,FacetViewHeader:()=>Xe.Z,FileTypeEditor:()=>Pe.Z,FilterButton:()=>I.Z,FilterValueEditor:()=>Re.Z,FlipCard:()=>nt,HideOnShrink:()=>ot.Z,HierarchicalAttributeTooltip:()=>it.Z,HighlightedValuesContext:()=>El.j,Highlighter:()=>ct.Z,HistoryActivityType:()=>Fr.M,HistoryChangeTypes:()=>Pr.b,HistoryDiffContext:()=>Ka.m,HistoryHeader:()=>_r.Z,HistoryPanelEmptyState:()=>zr.Z,HistoryView:()=>Or.Z,IdContext:()=>il.B,ImageAttributesLine:()=>Z.Z,ImageGalleryDialog:()=>st.C,ImportButton:()=>pt.Z,ImportModes:()=>pt.E,InlineAttributesPager:()=>cr.Z,InlineImageAttribute:()=>pr.Z,InlineNestedAttribute:()=>ir.Z,InlineReferenceAttribute:()=>sr.Z,LightArrowTooltip:()=>ur.Z,LinearLoadIndicator:()=>dt.Z,Link:()=>ut.Z,LoadingSpinner:()=>ft.Z,MAP_DRAWING_MODES:()=>sa.vl,MAP_MINIMUM_SCALE_RADIUS:()=>sa.Pi,Marginator:()=>fr.Z,MatchRulesBlock:()=>mt.Z,MatchRulesSelector:()=>na.Z,MenuWithPopper:()=>ve.Z,MergeButton:()=>Gr.H,ModeSwitcher:()=>gt.Z,ModeSwitcherSelect:()=>vt.T,MoreAttributesButton:()=>h.Z,MultiSelect:()=>Rt.Z,MultiValueChip:()=>Be.Z,MultiValueSelector:()=>la.Z,MultipleInput:()=>bt.Z,NestedAttribute:()=>R.Z,NestedAttributeEditor:()=>y.Z,NoData:()=>De.J,NoResults:()=>Te.X,NotMatchButton:()=>qr.i,NumberEditor:()=>Oe.Z,OvIcon:()=>Dr.Z,PieChart:()=>re.Z,PivotingAttributeContext:()=>nl.J,Popper:()=>xt.Z,PopupBoundariesContext:()=>el.p,PopupWithArrow:()=>At.Z,PotentialMatchReviewCard:()=>Ct.Z,ProfileBand:()=>wt.Z,ProfileBandHistory:()=>kr.Z,ProfileBandNavigation:()=>$.a,ProfileCard:()=>St.Z,ProfileMatchCard:()=>Ur.M,ProfilePerspectiveViewContext:()=>ol.j,ProfilesList:()=>Xr.Z,QueryBuilderAttributeDataType:()=>oa.eB,QueryBuilderAttributeType:()=>oa.Xw,QueryBuilderRow:()=>Zt.Z,QueryBuilderRowsGroup:()=>Mt.Z,ReactSelectOptionFilters:()=>Bt.Z,ReactSortableTree:()=>Ot.ZP,ReactSortableTreeHandlers:()=>_t.ZP,ReactSortableTreeUtils:()=>kt.ZP,ReadOnlyAttribute:()=>A.Z,ReadOnlyAttributeValuesBlock:()=>w.Z,ReadOnlyAttributesList:()=>S.Z,ReadOnlyAttributesPager:()=>_.Z,ReferenceAttribute:()=>B.Z,ReferenceAttributeEditor:()=>E.Z,RelatedObjectUrisContext:()=>fl.A,RelationEditor:()=>Tr.Z,RelationTypeSelector:()=>g.Z,RelationTypesSelector:()=>Ve.U,ReloadFacetProvider:()=>hl.DX,ReltioGridLayout:()=>zt.Z,ReltioMap:()=>wr.Z,RequestStates:()=>gl.o,ResizablePanes:()=>Ft.Z,RowCellAutoSizer:()=>q.Z,SandboxAPIContext:()=>La.Y,ScrollableTabs:()=>or.Z,SearchFiltersContext:()=>yl.I,SearchInput:()=>Pt.Z,SelectionPopup:()=>Ht.Z,SelectionPopupPopper:()=>Vt,SelectorWithOnlyOptionAutoSelect:()=>Wt.Z,SideButtonsPanel:()=>Ut.G,SidePanel:()=>qt.h,SidePanelContentHeader:()=>Qt.P,SidePanelEmptyState:()=>Gt.Z,SimpleAttribute:()=>O.Z,SimpleAttributeEditor:()=>v.Z,SimpleDropDownSelector:()=>Xt.Z,SimpleMatchRulesBlock:()=>ht.Z,SimpleMatchRulesBuilder:()=>yt.Z,SmallIconButton:()=>$t.Z,SmallIconButtonWithTooltip:()=>Yt.k,SnackbarContext:()=>ja.S,SortingType:()=>oa.nI,SourceCrosswalksRow:()=>br.Z,SourceIcon:()=>Jt.Z,Spacer:()=>Kt.Z,TableContext:()=>D.X,TableWithBars:()=>ae.Z,TextEditor:()=>Me.Z,TimestampEditor:()=>Fe.Z,TransitiveMatchBlock:()=>Et.Z,TreeChart:()=>le.Z,UsersContext:()=>ll.s,VerticalDivider:()=>tr.Z,VerticalHeadingsTable:()=>rr.Z,ViewIdContext:()=>tl.m,ViewMoreToggle:()=>ar.Z,VirtualGroupedList:()=>lr.Z,WhiteSearchInput:()=>Dt.Z,WorkflowComments:()=>jr.V,WorkflowTaskCard:()=>Hr.s,WorkflowTasksContext:()=>ul.O,basicTableViewState:()=>G.ZP,buildColumnsFilter:()=>U.Tz,columnFilterToMdmFilter:()=>U.su,createStandardAction:()=>pa.zD,defaultGetRowCellHeight:()=>V.Z,defaultRenderRowCell:()=>W.Z,getChecked:()=>pa.IR,getValue:()=>pa.NA,groupCrosswalksByTypesAndSources:()=>Cr.o,isIE:()=>pa.w1,mergeClasses:()=>pa.ze,noop:()=>pa.ZT,parseJSON:()=>pa.Rx,stopPropagation:()=>pa.UW,toggleSortOrder:()=>pa.Dh,useAPI:()=>ha.E,useActions:()=>ma.o,useActivitiesLoader:()=>i.d,useAsyncMount:()=>ya.S,useAttributeExpanded:()=>pl.Q,useBasicTableCellRenderer:()=>Y.Z,useClickableStyle:()=>ie.d,useCollaboration:()=>Ea.C,useCommentsEntitiesMap:()=>ga.Q,useConfigPermissions:()=>Ba.l,useCrosswalkActions:()=>gr.P,useCrosswalkColor:()=>sl.nX,useCrosswalkFocus:()=>sl.BF,useCrosswalkHighlight:()=>sl.pu,useCustomScripts:()=>qa,useDidUpdateEffect:()=>va.D,useDynamicRowCellHeight:()=>X.Z,useEditableConnection:()=>Qa.R,useHighlightedCrosswalks:()=>sl.RT,useHistory:()=>Mr.k6,useHistoryDiff:()=>Rr.u,useHistoryEnabled:()=>Br.C,useHistorySlice:()=>Zr.a,useKeyboardNavigation:()=>Tt.t,useMarkAsNotMatchRequest:()=>za.m,useMatchesLoader:()=>Oa.s,useMergeAllRequest:()=>ka._,useModifiedEntity:()=>Er.Q,usePagingSimulator:()=>_a.a,usePrevious:()=>ba.D,useProfileActivitiesLoader:()=>c.b,useReadableSearchState:()=>Xa.v,useRelationTypeSelector:()=>xa.n,useRelationsLoader:()=>Aa.a,useReloadAllFacets:()=>hl.Hc,useReloadFacet:()=>hl.T,useRunOnceAfterValueInitialization:()=>Ca.q,useSafePromise:()=>wa._,useSavedState:()=>Sa.a,useSavedStateForEntityType:()=>Ya.w,useSnackbar:()=>$a.D,useUsers:()=>Za.U,useWhyDidYouUpdate:()=>Ra,useWorkflowAssignee:()=>Lr.r,useWorkflowCheckPermission:()=>Vr.Z,useWorkflowComments:()=>Nr.W,useWorkflowTasks:()=>Wr.v,withAsyncMount:()=>ua.Z,withContext:()=>fa.l,withFilterAtBottom:()=>T.Z,withPercents:()=>oe.Z,withTableContext:()=>P.Z,withTooltip:()=>da.Z});var a=r(88234),l=r(34359),n=r(31537),o=r(99601),i=r(67486),c=r(63072),s=r(7785),p=r(8962),d=r(95974),u=r(91262),f=r(31588),m=r(81077),h=r(22694),y=r(62630),E=r(2163),g=r(27185),v=r(39462),b=r(57161),x=r(93140),A=r(81303),C=r(96698),w=r(87760),S=r(80931),Z=r(13074),M=r(24338),R=r(28751),B=r(72148),O=r(12068),_=r(24625),k=r(30739),z=r(97991),F=r(85709),P=r(32528),D=r(13688),T=r(67353),H=r(60894),I=r(1876),j=r(47458),L=r(58662),N=r(64091),V=r(25461),W=r(14838),U=r(99341),G=r(26180),q=r(97946),Q=r(74566),X=r(74402),Y=r(46177),$=r(93873),J=r(10237),K=r(4094),ee=r(92778),te=r(40801),re=r(79527),ae=r(83535),le=r(3292),ne=r(66675),oe=r(84900),ie=r(99256),ce=r(24328),se=r.n(ce),pe=r(1292);function de(){return de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},de.apply(this,arguments)}const ue=e=>se().createElement(pe.Z,de({mouseEvent:"onMouseDown"},e));var fe=r(9371),me=r(58241),he=r(43290),ye=r(94646),Ee=r(94113),ge=r(96808),ve=r(36179),be=r(89119),xe=r(7154),Ae=r(72768),Ce=r(27652),we=r(55847),Se=r(24737),Ze=r(79026),Me=r(81174),Re=r(24754),Be=r(82455),Oe=r(31890),_e=r(46923),ke=r(8459),ze=r(28117),Fe=r(43305),Pe=r(27113),De=r(6230),Te=r(94889),He=r(21077),Ie=r(53180),je=r(68439),Le=r(31254),Ne=r(59725),Ve=r(32371),We=r(31039),Ue=r(2256),Ge=r(585),qe=r(26579),Qe=r(88611),Xe=r(93416),Ye=r(79692);const $e=e=>`rotateY(${e?180:0}deg)`,Je=e=>`rotateX(${e?180:0}deg)`,Ke=e=>`rotateY(${e?0:-180}deg)`,et=e=>`rotateX(${e?0:-180}deg)`,tt=(0,Ye.Z)({back:e=>{let{isFlipped:t,direction:r}=e;return{WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:t?"relative":"absolute",top:"0",transform:"horizontal"===r?Ke(t):et(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",display:"flex"}},container:e=>{let{cardZIndex:t}=e;return{perspective:"1000px",zIndex:t}},flipper:{height:"100%",position:"relative",width:"100%"},front:e=>{let{isFlipped:t,direction:r}=e;return{WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:t?"absolute":"relative",top:"0",transform:"horizontal"===r?$e(t):Je(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",zIndex:2,display:"flex"}}});var rt=r(71153),at=r.n(rt);const lt=(0,ce.forwardRef)(((e,t)=>{let{cardZIndex:r="auto",direction:a="vertical",isCardFlipped:l=!1,children:n,className:o}=e;const[i,c]=(0,ce.useState)(l),s=tt({cardZIndex:r,direction:a,isFlipped:i});return(0,ce.useEffect)((()=>{l!==i&&c(l)}),[l,i]),se().createElement("div",{className:at()(s.flipper,o),ref:t},se().createElement("div",{"data-id":"front",className:s.front},n[0]),se().createElement("div",{"data-id":"back",className:s.back},n[1]))})),nt=lt;var ot=r(75512),it=r(88548),ct=r(27239),st=r(81853),pt=r(81727),dt=r(99136),ut=r(55400),ft=r(37014),mt=r(83037),ht=r(74615),yt=r(66792),Et=r(93301),gt=r(83401),vt=r(22860),bt=r(48809),xt=r(66130),At=r(59601),Ct=r(35071),wt=r(57304),St=r(93517),Zt=r(23598),Mt=r(41315),Rt=r(92575),Bt=r(50905),Ot=r(58600),_t=r(65758),kt=r(21113),zt=r(67268),Ft=r(96955),Pt=r(94574),Dt=r(16025),Tt=r(54763),Ht=r(97820),It=r(25480),jt=r(94079),Lt=r(27556);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Nt.apply(this,arguments)}const Vt=e=>{let{open:t,anchorEl:r,className:a,onClose:l,containerWidth:n,containerHeight:o,paperProps:i,listContent:c,externalInputField:s,classes:p={}}=e;const d=(0,It.Z)({containerWidth:n,containerHeight:o});return se().createElement("div",{className:p.root},s,se().createElement(xt.Z,{open:t,onClose:l,anchorEl:r,placement:"bottom-start",transition:!0},(e=>{let{TransitionProps:t}=e;return se().createElement(jt.Grow,t,se().createElement(Lt.Z,Nt({elevation:2},i),se().createElement("div",{className:at()(d.container,a),style:{width:n}},se().createElement("div",{className:d.list},c))))})))};var Wt=r(43775),Ut=r(39827),Gt=r(10159),qt=r(52043),Qt=r(17308),Xt=r(31517),Yt=r(8818),$t=r(22385),Jt=r(94175),Kt=r(51229),er=r(95629),tr=r(30553),rr=r(34635),ar=r(77565),lr=r(44890),nr=r(32152),or=r(32431),ir=r(58896),cr=r(4073),sr=r(85592),pr=r(22246),dr=r(19592),ur=r(94111),fr=r(31269),mr=r(81137),hr=r(85209),yr=r(20982),Er=r(85965),gr=r(39417),vr=r(48017),br=r(52017),xr=r(79769),Ar=r(77243),Cr=r(90186),wr=r(48747),Sr=r(76134),Zr=r(57730),Mr=r(85890),Rr=r(76536),Br=r(71820),Or=r(54362),_r=r(91515),kr=r(3409),zr=r(6674),Fr=r(65942),Pr=r(55912),Dr=r(91181),Tr=r(11013),Hr=r(34120),Ir=r(26789),jr=r(89140),Lr=r(5434),Nr=r(43477),Vr=r(22994),Wr=r(61756),Ur=r(49734),Gr=r(93428),qr=r(30885),Qr=r(98808),Xr=r(82842),Yr=r(99757),$r=r(79821),Jr=r(63172),Kr=r(12714),ea=r(14363),ta=r(6521),ra=r(70215),aa=r(64731),la=r(52309),na=r(58970),oa=r(94656),ia=r(19603),ca=r(78836),sa=r(97090),pa=r(31276),da=r(83348),ua=r(49965),fa=r(48852),ma=r(86361),ha=r(33165),ya=r(96479),Ea=r(7718),ga=r(26313),va=r(20562),ba=r(30634),xa=r(89846),Aa=r(37152),Ca=r(92898),wa=r(67218),Sa=r(2804),Za=r(17554);function Ma(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ra=(e,t)=>{const r=(0,ce.useRef)();(0,ce.useEffect)((()=>{if(r.current){const a=Object.keys(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Ma(e,t,r[t])}))}return e}({},r.current,t)),l={};a.forEach((e=>{r.current[e]!==t[e]&&(l[e]={from:r.current[e],to:t[e]})})),Object.keys(l).length&&console.log("[why-did-you-update]",e,l)}r.current=t}))};var Ba=r(52016),Oa=r(28741),_a=r(20449),ka=r(84504),za=r(59119),Fa=r(52730),Pa=r(59431),Da=r(66269),Ta=r(58697),Ha=r.n(Ta),Ia=r(17440),ja=r(97094),La=r(60115),Na=r(26929),Va=r(53607);function Wa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){Ua(e,t,r[t])}))}return e}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ga=(e,t)=>(e||[]).some((e=>{const r=new RegExp(`^${e}$`);return e.replace(/\/*$/,"")===t||e&&r.test(t)})),qa=(e,t)=>{let{addInternalRequestInterceptor:r,addInternalResponseInterceptor:a,removeInternalRequestInterceptor:l,removeInternalResponseInterceptor:n}=t;const o=e.reduce(((e,t)=>t.platform!==Da.X1H.CLASSIC?[...e,Wa({},t,{actionId:Ha()()})]:e),[]),i=(0,ce.useContext)(ja.S),c=(0,Fa.useDispatch)(),s=(0,Fa.useSelector)(Pa.ZP.selectors.getMetadata)||{},p=(0,Fa.useSelector)(Pa.ZP.selectors.getEntity)||{},d=(0,Fa.useSelector)(Pa.ZP.selectors.getUIPath),u=(0,Fa.useSelector)(Pa.ZP.selectors.getServicesPath),f=(0,Fa.useSelector)(Pa.ZP.selectors.getReltioPath),m=(0,Fa.useSelector)(Pa.ZP.selectors.getTenant),h=(0,Na.j)(d,m),y=(0,Fa.useSelector)(Pa.ZP.selectors.getApiPath),E=(0,Fa.useSelector)(Pa.ZP.selectors.getWorkflowPath),g=(0,Fa.useSelector)(Pa.ZP.selectors.getUser),v=(0,Fa.useSelector)(Pa.ZP.selectors.getEntityUri),b=(0,Fa.useSelector)(Pa.ZP.selectors.getWorkflowEnvironmentUrl),x=(0,ce.useContext)(La.Y),A=(0,Vr.Z)(),{type:C,data:w}=(0,Fa.useSelector)(Pa.ZP.selectors.getSearchProviderData)||{},S=e=>c(Pa.ui.actions.openSearch(e)),Z=(0,ce.useRef)({}),M=(0,ce.useRef)({}),R=(0,ce.useRef)({}),B=e=>{let{task:t,worker:r,config:a}=e;if(t)switch(t.action){case Da.W0P.LOG:console.log(t.params);break;case Da.W0P.MESSAGE:i(t.params);break;case Da.W0P.REQUEST:var l,n;if("ui"!==(null===(l=t.params)||void 0===l||null===(n=l.headers)||void 0===n?void 0:n.origin))(0,Va.U)(Wa({name:t.params.name,paramObject:t,permissions:a.action.permissions,worker:r,metadata:s,config:a,user:g,apiPath:y,servicesPath:u,tenant:m,workflowPath:E,entity:p,entityUri:v,environment:b,query:"search"===C?null==w?void 0:w.query:null,openSearch:S,workflowCheckPermission:A},x));else{const{headers:e,id:r,url:a,method:l,data:n}=t.params,o=a.replace(f,y);Z.current[e.requestId]&&(Z.current[e.requestId].next(o,Wa({},n,{id:r,task:t,headers:e,method:l})),Z.current=(0,Ia.omit)([e.requestId],Z.current))}break;case Da.W0P.RETURN_PROCESSED_API_RESPONSE:case Da.W0P.RETURN_PROCESSED_API_REQUEST:{const{id:e,data:r}=t.params;M.current[e]&&(M.current[e].next(r),M.current=(0,Ia.omit)([e],M.current));break}}};(0,ce.useEffect)((()=>(R.current=o.reduce(((e,t)=>{const r=(e=>{const{processApiResponse:t,processApiRequest:r,permissions:a,files:l}=e;return Wa({action:{processApiResponse:t,processApiRequest:r,permissions:a,files:l}},function(e,t){if(null==e)return{};var r,a,l=function(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["processApiResponse","processApiRequest","permissions","files"]))})(t);return Wa({},e,{[t.actionId]:(0,Da.QWZ)(h,t.files,B,r)})}),R.current),()=>{Object.keys(R.current).forEach((e=>{R.current[e].terminate()}))})),[e]);const O=e=>{let{options:t={},url:r,next:a}=e;const l=r.startsWith("/")&&!r.startsWith(y)?`${f}/api/${m}${r}`:`${f}${r.replace(y,"")}`,n=(0,Ia.pipe)((0,Ia.map)((0,Ia.pick)(["actionId","processApiRequest"])),(0,Ia.find)((e=>{let{processApiRequest:t}=e;return Ga(t,l)})),(0,Ia.prop)("actionId"))(o);if(n){const e=Ha()();Z.current=Wa({},Z.current,{[e]:{options:t,next:a,id:e}}),R.current[n].postMessage({action:"apiRequest",id:e,url:l,method:t.method,headers:Wa({},t.headers,{origin:"ui",requestId:e,actionId:n}),data:t})}else a(r,t)},_=e=>{var t;let{url:r,response:a,next:l,options:n,abort:i}=e;if("ui"===(null==n||null===(t=n.headers)||void 0===t?void 0:t.origin))a.json().then((e=>{var t,r,a;M.current=Wa({},M.current,{[n.headers.requestId]:{next:l}}),R.current[null===(t=n.headers)||void 0===t?void 0:t.actionId].postMessage({action:"response",result:{data:e},id:null==n?void 0:n.id,name:null==n||null===(r=n.task)||void 0===r||null===(a=r.params)||void 0===a?void 0:a.name})})).catch((e=>{i(e)}));else{const e=`${f}${r.replace(y,"")}`,t=(0,Ia.pipe)((0,Ia.map)((0,Ia.pick)(["actionId","processApiResponse"])),(0,Ia.find)((t=>{let{processApiResponse:r}=t;return Ga(r,e)})),(0,Ia.prop)("actionId"))(o);if(t){const r=Ha()();a.json().then((a=>{M.current=Wa({},M.current,{[r]:{next:l}}),R.current[t].postMessage({action:"apiResponse",id:r,url:e,method:n.method,data:a})})).catch((e=>{i(e)}))}else l(a)}};(0,ce.useEffect)((()=>{if(!(0,Da.O27)(o))return r(O),a(_),()=>{l(O),n(_)}}),[e])};var Qa=r(78620),Xa=r(41188),Ya=r(60641),$a=r(24605),Ja=r(7142),Ka=r(26005),el=r(30268),tl=r(39450),rl=r(69891),al=r(3515),ll=r(49759),nl=r(60995),ol=r(26481),il=r(52049),cl=r(31274),sl=r(63149),pl=r(66095),dl=r(91676),ul=r(94150),fl=r(78101),ml=r(3185),hl=r(98884),yl=r(56259),El=r(43600),gl=r(67885)}}]);
2
+ //# sourceMappingURL=8337.js.map