@reltio/remotes 1.4.1132 → 1.4.1135
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/{604.css → 1196.css} +0 -0
- package/1196.js +1 -0
- package/1920.js +1 -1
- package/{9819.css → 1957.css} +0 -0
- package/1957.js +1 -0
- package/2454.js +1 -1
- package/2590.js +1 -0
- package/2864.js +1 -1
- package/2899.js +1 -1
- package/350.js +1 -0
- package/3745.js +1 -0
- package/5884.js +1 -1
- package/597.js +1 -0
- package/6186.js +1 -0
- package/6244.js +1 -0
- package/6250.js +1 -0
- package/6719.js +1 -0
- package/6940.js +1 -0
- package/6971.js +1 -0
- package/7638.js +1 -1
- package/79.js +1 -0
- package/7990.js +1 -1
- package/8387.js +1 -1
- package/8421.js +1 -0
- package/8442.js +1 -1
- package/8988.js +1 -0
- package/9290.js +1 -0
- package/9838.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/1607.js +0 -1
- package/2507.js +0 -1
- package/2623.js +0 -2
- package/2623.js.LICENSE.txt +0 -8
- package/2725.js +0 -1
- package/3029.js +0 -1
- package/3553.js +0 -1
- package/3923.js +0 -1
- package/4126.js +0 -1
- package/5276.js +0 -1
- package/604.js +0 -1
- package/6705.js +0 -1
- package/737.js +0 -1
- package/9306.js +0 -1
- package/9609.js +0 -1
- package/9819.js +0 -1
package/8442.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8442],{74443:(e,t,r)=>{var a=r(14859);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(14859);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(7560),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},95464:(e,t,r)=>{r.d(t,{Z:()=>P});var a=r(24328),l=r.n(a),n=r(52730),o=r(17440),i=r(87638),c=r(99493);function s(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){u(e,t,r[t])}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=(e,t,r,a)=>{const l=(0,c.jFi)(e,{type:r}),n=t.label||t.name;return{title:n,pathToTitle:Array.isArray(a)?[l,...a,n]:[l,n],fieldName:(0,c.Tde)(t.uri),entityTypeUri:r,attrType:t}},p=function(e,t,r,a){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const n=s({},a(e,t,r,l),{uri:t.uri}),o=t.children?t.children.map((n=>p(e,n,r,a,l.concat(t.label)))):[];return o.length&&(n.children=o),n},m=(e,t)=>{let r;const a=(e,t)=>{for(const l of t){if(e===l.fieldName)return void(r=l);"children"in l&&a(e,l.children)}};return a(e,t),r},f=(e,t)=>e?e.find((e=>e.value===t)):null;var h=r(87918),y=r.n(h),g=r(6782),v=r(31517),E=r(79692);const b=(0,E.Z)({dropDownSelector:{width:"100%"}}),x=(0,a.memo)((e=>{let{rowData:t,rowContext:r,textFieldInputRef:n}=e;const i=b(),{attribute:{attrType:s={},fieldName:u=null}={},filter:d,id:p}=t||{},{changeFilter:m}=r,h=s&&u&&(0,o.pipe)(c.d3Y,(0,o.map)((e=>({value:e,label:(0,g.Z)((0,c.XS2)(e))}))))(s,u),E=(0,a.useCallback)((e=>{const t={fieldName:u,filter:e.value,values:[]};m(t,p)}),[m,p,u]);return(0,a.useEffect)((()=>{(u&&!d||u&&!f(h,d))&&E(h[0])}),[u,d,E,h]),l().createElement(v.Z,{label:"",height:40,isDisabled:!h,placeholder:y().text("Equals"),value:f(h,d),options:h,onChange:E,className:i.dropDownSelector,textFieldInputRef:n})}));var C=r(87685),w=r(74443),A=r(8818);function R(){return R=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},R.apply(this,arguments)}const S=e=>l().createElement("svg",R({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",focusable:"false"},e),l().createElement("defs",null,l().createElement("path",{d:"M20.222 6C21.21 6 22 6.8 22 7.778v12.444C22 21.2 21.209 22 20.222 22H7.778C6.79 22 6 21.2 6 20.222V7.778C6 6.8 6.791 6 7.778 6h12.444zM8 8v12h12V8H8zM4 18H2V4c0-1.1.9-2 2-2h14v2H4v14z",id:"Duplicate_svg__a"})),l().createElement("g",{transform:"translate(-2 -2)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"Duplicate_svg__b",fill:"#fff"},l().createElement("use",{xlinkHref:"#Duplicate_svg__a"})),l().createElement("g",{mask:"url(#Duplicate_svg__b)",fill:"#000",fillOpacity:.54},l().createElement("path",{d:"M0 0h24v24H0z"})))),M=(0,E.Z)((()=>({actions:{width:"88px",height:"24px",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0,"& >span":{cursor:"pointer",display:"flex"},"& $actionIcon":{cursor:"pointer",color:"rgba(0, 0, 0, .54)"}},actionIcon:{}}))),O=(0,a.memo)((e=>{let{rowData:t,rowContext:r}=e;const n=M(),{id:o,attribute:i}=t||{},{addRowAfterIndex:c,removeRow:s,duplicateRow:u}=r,d=(0,a.useCallback)((()=>{c(o)}),[c,o]),p=(0,a.useCallback)((()=>{u(o)}),[u,o]),m=(0,a.useCallback)((()=>{s(o)}),[o,s]);return l().createElement("div",{className:n.actions},l().createElement(A.k,{tooltipTitle:y().text("Add"),icon:w.Z,size:"M",onClick:d}),i&&l().createElement(A.k,{tooltipTitle:y().text("Duplicate"),icon:S,size:"M",onClick:p}),l().createElement(A.k,{tooltipTitle:y().text("Delete"),icon:C.default,size:"M",onClick:m}))}));var B=r(41315),Z=r(99757);const D=(0,a.memo)((e=>{let{rowData:t,rowContext:r,attributeSelectorProps:n}=e;const{attribute:o,id:i,filter:s}=t||{},{changeFilter:u,addNewFilter:d,attributesGroup:p}=r,m=(0,a.useCallback)((e=>(0,c.e6O)({data:e})),[]),f=(0,a.useMemo)((()=>[{id:"",title:"",attributes:p}]),[p]),h=(0,a.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:s,values:[]};u(t,i)}else d({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[d,u,i,t,s]);return l().createElement(Z.Z,{itemsGroups:f,ungroup:!0,single:!0,value:o,getLabel:m,onSelect:h,onOpenPopup:n.onOpen})}));var k=r(24754);const _=(0,E.Z)((()=>({input:{margin:0,borderRadius:"4px",width:"100%",paddingTop:0,paddingBottom:0},root:{borderRadius:"4px 4px 0 0",padding:0,display:"flex",alignItems:"center",margin:0},valuesEditor:{width:"222px!important",minHeight:"40px",flexShrink:0}}))),z=(0,a.memo)((e=>{let{rowData:t,rowContext:r}=e;const n=_(),o=(null==t?void 0:t.attribute)&&(0,c.wNf)(t.filter),{changeFilter:i}=r,{values:s=[],attribute:{attrType:u={},fieldName:d=null}={},filter:p,id:m}=t||{},f=u&&(0,c.PFL)(u),h=f&&(0,c.l1V)(f,p),y=(0,a.useMemo)((()=>({filter:p,fieldName:d,values:s||[]})),[p,d,s]),g=(0,a.useMemo)((()=>({InputProps:{classes:{root:n.input}}})),[n]),v=(0,a.useMemo)((()=>({root:n.root})),[n]),E=(0,a.useCallback)((e=>{i({fieldName:d,filter:p,values:e},m)}),[i,m,d,p]);return l().createElement("div",{className:n.valuesEditor},(null==t?void 0:t.attribute)&&o&&l().createElement(k.Z,{filter:y,onChange:E,dataTypeDefinition:h,fullWidth:!0,TextFieldProps:g,color:"primary",classes:v,orientation:"horizontal"}))})),F=(0,E.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),I={fieldName:null,filter:null,values:[]},H=()=>null,P=(0,a.memo)((e=>{let{attributeTypes:t,filters:r,onChange:s}=e;const u=(0,n.useSelector)(i.ZP.selectors.getMetadata),f=(0,c.nt9)(u,(e=>{const t=e.find((e=>!(0,c.kqr)(e)));return t?(0,c.u5q)(t.uri):null})(t)),{attrSelector:h,filterSelector:y,actionContainer:g}=F(),v=(0,a.useRef)(r);v.current=r;const E=(0,a.useRef)(null),b=(0,a.useRef)(null),C=(0,a.useRef)(null),w=(0,a.useMemo)((()=>({attributeSelectorContainer:h,filterSelectorContainer:y,actionsContainer:g})),[h,y,g]),A=(0,a.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return(0,c.kkq)(e,r).map((e=>p(r,e,t.uri,d)))}(t,f,u)),[t,u,f]),R=(0,a.useMemo)((()=>r.length?((e,t)=>e.map(((e,r)=>({attribute:e.fieldName?m(e.fieldName,t):void 0,filter:e.filter,id:r,values:e.values}))))(r,A):[]),[A,r]);C.current=R.length,(0,a.useEffect)((()=>{E.current&&b.current!==C.current&&(E.current.querySelector("input").focus(),b.current=null)}),[R.length]);const S=(0,a.useCallback)((()=>{b.current=R.length}),[R.length]),M=(0,a.useMemo)((()=>({onOpen:S})),[S]),Z=(0,a.useCallback)((e=>{const t=[...v.current];t.splice(e+1,0,I),s(t)}),[s]),k=(0,a.useCallback)((e=>{const t=[...v.current];t.splice(e,1),s(t)}),[s]),_=(0,a.useCallback)((e=>{const t=[...v.current];t.splice(e+1,0,{fieldName:v.current[e].fieldName,filter:v.current[e].filter,values:v.current[e].values}),s(t)}),[s]),P=(0,a.useCallback)(((e,t)=>{const r=(0,o.evolve)({[t]:(0,o.always)(e)},v.current);s(r)}),[s]),T=(0,a.useCallback)((e=>{s([...v.current,e])}),[s]);return l().createElement(B.Z,{rowClasses:w,rowsData:R,AttributeSelectorComponent:D,FilterSelectorComponent:x,ValuesEditorComponent:z,ActionsComponent:O,LogicOperatorComponent:H,filterSelectorRefIndex:b.current,filterSelectorRef:E,lastRowAttributeSelectorProps:M,attributesGroup:A,changeFilter:P,addNewFilter:T,addRowAfterIndex:Z,removeRow:k,duplicateRow:_})}))},63172:(e,t,r)=>{r.d(t,{Z:()=>E});var a=r(24328),l=r.n(a),n=r(87918),o=r.n(n),i=r(94079),c=r(36444),s=r(99493),u=r(95464),d=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){m(e,t,r[t])}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={alignSelf:"center"},h=(0,d.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:p({},f,{marginRight:"16px"}),cancelButton:p({},f,{marginLeft:"auto"}),clearButon:p({},f)}))),y=e=>{let{onClear:t,onCancel:r,onApply:a}=e;const n=h();return l().createElement("div",{className:n.buttonsWrapper},l().createElement(i.Button,{onClick:t,variant:"text",color:"default",className:n.clearButon},o().text("Clear all")),l().createElement(i.Button,{onClick:r,variant:"text",color:"default",className:n.cancelButton},o().text("Cancel")),l().createElement(i.Button,{onClick:a,variant:"text",color:"primary",className:n.applyButton},o().text("Apply")))};var g=r(41128);const v=(0,d.Z)((e=>({triggerButton:{minWidth:0,color:"rgba(0,0,0,0.54)",width:"40px",marginLeft:"auto",marginRight:"12px"},filtersBuilderWrapper:{marginTop:"20px"},popupContent:{paddingLeft:"16px",paddingTop:"20px",paddingBottom:"6px",width:"770px"},divider:{marginBottom:"14px",marginLeft:"-16px",background:"rgba(0, 0, 0, 0.121569)"},changedFiltersIndicator:{backgroundColor:(0,g.U1)(e.palette.primary.main,.12)}}))),E=(0,a.memo)((e=>{let{filters:t,attributeTypes:r,onChange:n}=e;const d=v(),p=(0,a.useRef)(),[m,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)([]),E=(0,s.Uqd)()(t)?"primary":"inherit",b=()=>f((e=>!e));(0,a.useEffect)((()=>{m&&g(t)}),[t,m]);const x=(0,a.useCallback)((()=>{n(h),b()}),[h,n]),C=(0,a.useCallback)((()=>{b()}),[]),w=(0,a.useCallback)((()=>{g([])}),[]);return l().createElement(l().Fragment,null,l().createElement(i.Button,{ref:p,color:E,classes:{root:d.triggerButton,textPrimary:d.changedFiltersIndicator},onClick:b},l().createElement(c.Z,{color:E})),l().createElement(i.Popover,{open:m,classes:{paper:d.popupContent},anchorEl:p.current,onClose:b,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},l().createElement(l().Fragment,null,l().createElement(i.Typography,{variant:"h6"},o().text("Filter")),l().createElement("div",{className:d.filtersBuilderWrapper},l().createElement(u.Z,{attributeTypes:r,filters:h,onChange:g})),l().createElement(i.Divider,{className:d.divider}),l().createElement(y,{onApply:x,onCancel:C,onClear:w}))))}))},46177:(e,t,r)=>{r.d(t,{Z:()=>f});var a=r(24328),l=r.n(a),n=r(13980),o=r.n(n),i=r(21697),c=r(14838),s=r(25461),u=r(17440),d=r(22273),p=r(73038);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 f=e=>{let{rowsData:t,columnsData:r,renderRowCell:n=c.Z,getRowCellHeight:f=s.Z,defaultRowHeight:h=48,maxRowValuesCount:y=1/0}=e;const{tableRowsData:g,collapseContextValue:v}=(0,d.Z)({rowsData:t,columnsData:r,renderRowCell:n,getRowCellHeight:f,maxRowValuesCount:y});return(0,a.useMemo)((()=>{const e=g.reduce(((e,t,r)=>{const{data:a}=t;return e[r]=(0,i.calculateRowHeight)(a,h),e}),{}),t=(t,r,a)=>{const l=[t,"subRowHeight",r,a,"height"];return(0,u.pathOr)(0,l,e)},a=t=>(0,u.pathOr)(0,[t,"height"],e),n=e=>{let{columnId:n,rowIndex:o}=e,c=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,["columnId","rowIndex"]);return l().createElement(p.x.Provider,{value:v},l().createElement("div",m({},c,{style:{height:a(o)}}),g.length>0&&(0,i.getCellContentFromRowsData)({columnIndex:r.findIndex((0,u.propEq)("id",n)),headData:r,rowsData:g,rowIndex:o,getHeightForSubRow:t})))};return n.propTypes={columnId:o().string,rowIndex:o().number},{getRowHeight:a,CellRenderer:n}}),[g,h,v,r])}},14363:(e,t,r)=>{r.d(t,{n:()=>v});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(87638),s=r(99493),u=r(91262),d=r(71153),p=r.n(d),m=r(17440),f=r(7154),h=r(26579),y=r(81077);function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=e=>{let{connection:t,relatedEntity:r,inRelationTypes:d=[],outRelationTypes:v=[],showEmptyEditors:E,entityErrorMessage:b,onChangeAttribute:x,onRemoveAttribute:C,onAddAttributes:w,onChangeRelationType:A,onChangeEntity:R}=e;const S=a(),{relation:M,entity:O}=t,{attributes:B,uri:Z,type:D="",direction:k}=M||{},_=Boolean(D),z=(0,i.useSelector)(c.ZP.selectors.getMetadata),F=(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){g(e,t,r[t])}))}return e}({attributes:B},(0,s.p2l)(M))),[M,B]),I=(0,n.useMemo)((()=>(0,s.xF8)(z,D)),[D,z]),H=(0,n.useMemo)((()=>_?(0,s.jWj)(k===s.Nsj.OUT,z,[(0,s.V3K)(z,D)]):(0,m.uniq)((0,s.jWj)(!0,z,v).concat((0,s.jWj)(!1,z,d)))),[_,D,z,d,v]),P=(0,i.useSelector)((e=>c.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),T=(0,n.useMemo)((()=>M&&{relationType:M.type,direction:M.direction}),[M]),N=(0,n.useMemo)((()=>O&&{entityUri:O.uri,entityType:O.type,entityLabel:(0,s.idV)(O.label)}),[O]),j=(0,n.useMemo)((()=>O&&O.uri?d.filter((0,s.eHk)(!1,O,r,z)):d),[O,d,r,z]),V=(0,n.useMemo)((()=>O&&O.uri?v.filter((0,s.eHk)(!0,O,r,z)):v),[O,v,r,z]);(0,n.useEffect)((()=>{const{type:e,direction:t}=(0,s.z7d)(d,v)||{};!D&&e&&A&&A({type:e.uri,direction:t})}),[D,d,v,A]),(0,l.D)((()=>{const{type:e,direction:t}=(0,s.z7d)(j,V)||{};!D&&e&&A({type:e.uri,direction:t})}),[D,O,j,V,R]);const L=(0,n.useCallback)((e=>{let{type:t,direction:r}=e;A({type:t.uri,direction:r})}),[A]);return o().createElement(o().Fragment,null,A&&o().createElement(f.Z,{className:S.item,relation:T,metadata:z,inRelationTypes:d,outRelationTypes:v,onChange:L}),R&&o().createElement(h.Z,{errorMessage:b,className:S.item},o().createElement(y.Z,{key:D,className:p()({[S.dense]:b}),entity:N||{},entityTypesUris:H,max:20,globalSearchRequestOptions:P,mode:s.fO_.EDITING,onChange:R,onCreate:void 0,metadata:z,attributeTypesSelectionStrategy:void 0})),D&&o().createElement(u.Z,{attrTypes:I,entity:F,showEmptyEditors:E,mode:s.fO_.EDITING,parentUri:Z,onAddAttributes:w,onChangeAttribute:x,onDeleteAttribute:C}))}},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:()=>m,tC:()=>p,ZP:()=>f});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 u(){return u=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},u.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 p;!function(e){e.full="full",e.embedded="embedded"}(p||(p={}));const m={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",u({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}))))},f=e=>{let{variant:t=p.full,LogoRenderer:r=m.SEARCH_RESULTS,text:a,secondaryText:i,buttonTitle:c,onClick:s=n.identity,access:u}=e;const f=d(),h=u&&c;return l().createElement("div",{className:f.root},l().createElement(r,{className:f[`${t}`]}),l().createElement("div",{className:f.textBox},l().createElement(o.Typography,{variant:"h5",classes:{h5:f.text}},a),i&&l().createElement(o.Typography,{variant:"subtitle1",classes:{subtitle1:f.secondaryText}},i)),h&&l().createElement(o.Button,{className:f.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 u(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 p=(0,i.range)(2,10).reduce(((e,t)=>u({},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)"}}})),{}),m=(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":u({fontSize:"10px",lineHeight:"11px",fontWeight:500,color:"rgba(255, 255, 255, 0.7)",marginTop:"4px"},p,{"&:last-child":{color:"white"}}),"& li + li":{marginTop:"2px"}}}})));function f(){return f=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},f.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=m(),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,f({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(99493);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==")})}},35071:(e,t,r)=>{r.d(t,{Z:()=>g});var a=r(13980),l=r.n(a),n=r(24328),o=r.n(n),i=r(73272),c=r(58241);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 u=e=>o().createElement("svg",s({viewBox:"0 0 20 20"},e),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 10L14 5.5V9h-3.5L5 3.5 3.5 5l6.04 6H14v3.5l4.5-4.5zM7.04 11.455L3.5 15 5 16.5l3.54-3.545-1.5-1.5z"}));var d=r(87918),p=r.n(d),m=r(71153),f=r.n(m);const h=(0,r(79692).Z)((e=>({expanded:{backgroundColor:"rgba(0, 0, 0, 0.03)"},info:{fontSize:"13px",color:e.palette.text.secondary,wordWrap:"break-word"},icon:{width:"32px",height:"32px",fill:"#fff",backgroundColor:"rgba(177, 92, 189, 1)",borderRadius:"50%",margin:"5px 12px 0 8px"},infoBlock:{display:"flex",flexDirection:"row"},header:{display:"flex",flexDirection:"row",paddingBottom:"5px"},flex:{flex:1},caption:{fontSize:"16px",color:"rgba(0, 0, 0, 0.87)"},title:{display:"flex",flexDirection:"row",alignItems:"center",margin:"6px 0 8px 0"},flag:{height:"12px",width:"12px",stroke:"#000000",fill:"none",margin:"2px 5px 0 5px"},pmReviewCard:{borderTop:"3px solid #E83D40",flexDirection:"column",width:"100%"},date:{fontSize:"13px",color:"rgba(0, 0, 0, 0.87)"},mainInfo:{display:"flex",flexDirection:"column",flex:1}}))),y=e=>{let{date:t,type:r,createdBy:a,step:l,children:s,Actions:d}=e;const m=h(),[y,g]=(0,n.useState)(!1);return o().createElement("div",{className:m.pmReviewCard},o().createElement("div",{className:f()(m.header,{[m.expanded]:y})},o().createElement(u,{className:m.icon}),o().createElement("div",{className:m.mainInfo},o().createElement("div",{className:m.title},o().createElement("div",{className:f()(m.caption,m.flex)},p().text("Match review")),o().createElement(i.Z,{className:m.flag}),o().createElement("span",{className:m.date},p().date(t,"L")),o().createElement(c.Z,{isOpen:y,onClick:()=>{g(!y)}})),o().createElement("div",{className:m.infoBlock},o().createElement("div",{className:m.flex},o().createElement("div",{className:m.info},r),o().createElement("div",{className:m.info},p().text("Created by ${createdBy}",{createdBy:a})),o().createElement("div",{className:m.info},p().text("Step: ${step}",{step:l}))),d))),y?s:null)};y.propTypes={date:l().number,createdBy:l().string,type:l().string,step:l().string,children:l().oneOfType([l().node,l().arrayOf(l().node)]),Actions:l().node};const g=y},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(99493),c=r(42520);const s=(0,a.memo)((e=>{let{relationTypes:t,selectedRelationTypes:r,single:n,placeholder:s,enableEmptyValueUnderline:u,onChange:d,classes:p={},ListLabelProps:m={},disabled:f=!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:u,onChange:d,classes:p,ListLabelProps:m,disabled:f,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:()=>u});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 u=e=>{let{value:t,tabs:r=[],onChange:a,tabClasses:u}=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 p=c(),m=(e,t)=>l().createElement("span",{className:p.labelWrapper},l().createElement(i.C,{value:e},l().createElement("span",{className:p.label},e)),t);return l().createElement(n.Z,s({value:t,onChange:(e,t)=>a(t),classes:{root:p.tabsRoot,scrollButtons:p.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:u||{root:p.tabRoot},key:r,value:r,label:m(t,a),"data-reltio-id":n})})))}},16025:(e,t,r)=>{r.d(t,{Z:()=>u});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 u=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 u=e=>{let{value:t,onChange:r,options:n,classes:o={},emptyLabel:u}=e;const d=c(),[p,...m]=n,f=0===m.length;(0,a.useEffect)((()=>{f&&t!==p.value&&r(p.value)}),[p.value]);const h=!!u;return l().createElement("div",{className:o.root},f?l().createElement(i.Typography,{className:o.onlyValue||d.onlyValue,variant:"h6"},p.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:u},...n]:n,onChange:e=>r(e||null)}))};u.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=u},71530:(e,t,r)=>{r.d(t,{Z:()=>w});var a=r(24328),l=r.n(a);const n=e=>{let{value:t}=e;return t||null},o=e=>{let{label:t}=e;return t||null},i=e=>{let{columnValue:t,rowData:r,setHoveredColumn:a,resetHoveredColumn:o}=e;const i=r.cellRenderer||n,c=a?()=>a(t):void 0;return l().createElement("td",{onMouseOver:c,onMouseLeave:o},l().createElement(i,{value:t[r.id]}))};var c=r(14940),s=r(13896),u=r(42484);let d;!function(e){e.Column="Column",e.Row="Row"}(d||(d={}));var p=r(79692);const m=(0,p.Z)((e=>({tableData:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:0,left:"50%",cursor:"move",transition:"opacity 0.3s",transform:"translateX(-50%) rotate(90deg)",zIndex:5},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary}}))),f=e=>{let{columnValue:t,rowData:r,index:o,onMoveColumn:i,shouldRenderDragIndicator:p,setHoveredColumn:f,resetHoveredColumn:h}=e;const y=m(),g=l().useRef(null),v=l().useRef(null),E=r.cellRenderer||n,[{targetId:b},x]=(0,s.useDrop)({accept:d.Column,hover:(e,r)=>{var a;if(!g.current)return;const l=e.index,n=o;if(l===n)return;const c=null===(a=g.current)||void 0===a?void 0:a.getBoundingClientRect(),s=(c.right-c.left)/2,u=r.getClientOffset().x-c.left;l<n&&u<s||l>n&&u>s||(i(e.columnValue.id,t.id),e.index=n)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:C,sourceId:w},A,R]=(0,s.useDrag)({item:{type:d.Column,index:o,getColumnWidth:()=>{var e;return null==g||null===(e=g.current)||void 0===e?void 0:e.offsetWidth},columnValue:t,rowData:r},isDragging:e=>e.getItem().index===o,collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});(0,a.useEffect)((()=>{R((0,u.r)(),{captureDraggingState:!0}),x(g),A(v)}),[]);const S=f?()=>f(t):void 0;return l().createElement("td",{style:{opacity:C},ref:g,className:y.tableData,"data-source-id":w,"data-target-id":b,onMouseOver:S,onMouseLeave:h},p&&l().createElement("div",{ref:v,className:y.dragIndicator},l().createElement(c.Z,{className:y.dragIndicatorIcon})),l().createElement(E,{value:t[r.id]}))},h=(0,p.Z)((e=>({tableHead:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",cursor:"move",transition:"opacity 0.3s"},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary}}))),y=e=>{let{rowData:t,isDraggable:r,dragRef:a}=e;const n=h(),i=t.headCellRenderer||o;return l().createElement("th",{className:n.tableHead},r&&l().createElement("div",{ref:a,className:n.dragIndicator},l().createElement(c.Z,{className:n.dragIndicatorIcon})),l().createElement(i,t))},g=e=>{let{rowData:t,columnsData:r,index:a,onMoveColumn:n,setHoveredColumn:o,resetHoveredColumn:c}=e;const s=0===a;return l().createElement("tr",{className:t.rowClassName},l().createElement(y,{rowData:t,isDraggable:!1}),r.map(((e,r)=>{const a=e.isDraggable,u=s&&a;return n?l().createElement(f,{key:e.id||r,columnValue:e,rowData:t,index:r,onMoveColumn:n,shouldRenderDragIndicator:u,setHoveredColumn:o,resetHoveredColumn:c}):l().createElement(i,{key:e.id||r,rowData:t,columnValue:e,setHoveredColumn:o,resetHoveredColumn:c})})))},v=e=>{let{rowData:t,index:r,columnsData:n,onMoveRow:o,onMoveColumn:c,setHoveredColumn:u,resetHoveredColumn:p}=e;const m=l().useRef(null),h=l().useRef(null),[{targetId:g},v]=(0,s.useDrop)({accept:d.Row,hover:(e,a)=>{if(!m.current)return;const l=e.index,n=r;if(l===n)return;const i=m.current.getBoundingClientRect(),c=(i.bottom-i.top)/2,s=a.getClientOffset().y-i.top;l<n&&s<c||l>n&&s>c||(o(e.id,t.id),e.index=n)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:E,sourceId:b},x,C]=(0,s.useDrag)({item:{type:d.Row,index:r,id:t.id},collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});return(0,a.useEffect)((()=>{C(v(m)),x(h)}),[]),l().createElement("tr",{className:t.rowClassName,style:{opacity:E},ref:m,"data-target-id":g,"data-source-id":b},l().createElement(y,{rowData:t,isDraggable:!0,dragRef:h}),n.map(((e,r)=>c?l().createElement(f,{key:e.id||r,columnValue:e,rowData:t,index:r,onMoveColumn:c,shouldRenderDragIndicator:!1,setHoveredColumn:u,resetHoveredColumn:p}):l().createElement(i,{key:e.id||r,columnValue:e,rowData:t,setHoveredColumn:u,resetHoveredColumn:p}))))},E=e=>{let{columnWidth:t,columnHeight:r,item:a}=e;const{rowData:o,columnValue:i}=a,c=o.cellRenderer||n;return l().createElement("div",{style:{width:t,height:r,background:"rgba(245,245,245, .5)"}},l().createElement(c,{value:i[o.id]}))},b=(0,p.Z)({dragLayer:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1300,pointerEvents:"none"}}),x=(e,t,r)=>{const a=(null==e?void 0:e.getBoundingClientRect())||{x:0,y:0},l=`translate(${(null==t?void 0:t.x)-(null==a?void 0:a.x)-r/2}px, ${(null==t?void 0:t.y)-(null==a?void 0:a.y)}px`;return{display:"flex",transform:l,WebkitTransform:l}},C=e=>{var t;let{columnHeight:r}=e;const n=b(),o=(0,a.useRef)(),{isDragging:i,clientOffset:c,item:u}=(0,s.useDragLayer)((e=>({isDragging:e.isDragging(),clientOffset:e.getClientOffset(),item:e.getItem()})));if(!i||!u)return null;const p=null===(t=u.getColumnWidth)||void 0===t?void 0:t.call(u);return l().createElement("div",{className:n.dragLayer,ref:o},l().createElement("div",{style:x(o.current,c,p)},u.type===d.Column&&l().createElement(E,{columnWidth:p,columnHeight:r,item:u})))},w=(0,a.memo)((e=>{var t;let{className:r,rowsData:n,columnsData:o,theadRowsNumber:i=0,onMoveRow:c,onMoveColumn:s,setHoveredColumn:u,resetHoveredColumn:d}=e;const p=(0,a.useRef)(null),m=null==p||null===(t=p.current)||void 0===t?void 0:t.offsetHeight,f=!!c||!!s;return l().createElement(l().Fragment,null,f&&l().createElement(C,{columnHeight:m}),l().createElement("table",{ref:p,className:r},i>0&&l().createElement("thead",null,n.slice(0,i).map(((e,t)=>l().createElement(g,{key:e.id||t,rowData:e,columnsData:o,index:t,onMoveColumn:s,setHoveredColumn:u,resetHoveredColumn:d})))),l().createElement("tbody",null,n.slice(i).map(((e,t)=>c?l().createElement(v,{key:e.id||t,index:t+i,rowData:e,columnsData:o,onMoveRow:c,onMoveColumn:s,setHoveredColumn:u,resetHoveredColumn:d}):l().createElement(g,{key:e.id||t,index:t+i,rowData:e,columnsData:o,onMoveColumn:s,setHoveredColumn:u,resetHoveredColumn:d}))))))}))},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 u=r(71153),d=r.n(u),p=r(87918),m=r.n(p);const f=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?m().text("View less"):m().text("View more"))};f.propTypes={active:o().bool,onClick:o().func,className:o().string};const h=f},63072:(e,t,r)=>{r.d(t,{b:()=>o});var a=r(24328),l=r(99493),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])}},52049:(e,t,r)=>{r.d(t,{B:()=>l});var a=r(24328);const l=r.n(a)().createContext("");l.displayName="IdContext"},97094:(e,t,r)=>{r.d(t,{S:()=>l});var a=r(24328);const l=r.n(a)().createContext((()=>{}));l.displayName="SnackbarContext"},78620:(e,t,r)=>{r.d(t,{R:()=>u});var a=r(24328),l=r(99493),n=r(17440),o=r(52730),i=r(87638);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 u=e=>{let{connection:t,onConnectionChange:r,relatedEntity:s}=e;const u=(0,o.useSelector)(i.ZP.selectors.getMetadata),d=(0,a.useCallback)((e=>r(c({},t,{relation:e}))),[t,r]),p=(0,a.useCallback)((0,n.pipe)((0,l.zE1)(t.relation),d),[t.relation,d]),m=(0,a.useCallback)((0,n.pipe)((0,l.lIv)(t.relation),d),[t.relation,d]),f=(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,u,(0,l.V3K)(u,a))?t.entity:null,relation:c({},t.relation,{attributes:{},type:a,direction:n})};r(o)}),[t,r,s,u]);return{onAddAttributes:p,onChangeAttribute:m,onRemoveAttribute:f,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])}},60641:(e,t,r)=>{r.d(t,{w:()=>i});var a=r(24328),l=r(20562);function n(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){o(e,t,r[t])}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>{let{getSavedState:t,saveState:r,entityTypeUri:o}=e;const[i,c]=(0,a.useState)({}),[s,u]=(0,a.useState)(null),[d,p]=(0,a.useState)(!1);return(0,l.D)((()=>{s&&(c(n({},i,s)),u(null))}),[o]),(0,a.useEffect)((()=>{t().then((e=>{c(e||{})})).then((e=>p(!0))).catch((e=>p(!0)))}),[]),{isLoaded:d,savedState:i[o],updateSavedState:e=>{const t={[o]:e};u(t),r(n({},i,t))}}}},24605:(e,t,r)=>{r.d(t,{D:()=>o});var a=r(24328),l=r.n(a),n=r(94079);const o=()=>{const[e,t]=(0,a.useState)(!1),[r,o]=(0,a.useState)(""),i=(0,a.useCallback)((()=>{t(!1),o("")}),[]),c=(0,a.useCallback)((e=>{t(!0),o(e)}),[]);return{SnackbarRenderer:(0,a.useCallback)((()=>l().createElement(n.Portal,{container:document.body},l().createElement(n.Snackbar,{open:e,autoHideDuration:5e3,onClose:i,message:r}))),[e,i,r]),showSnackbarMessage:c}}},70524:(e,t,r)=>{r.r(t),r.d(t,{ALWAYS_VISIBLE_TYPE_URIS:()=>aa.S,ActionButton:()=>$r.K,ActionButtonMode:()=>$r.N,ActivityLog:()=>a.Z,ActivityLogFilter:()=>l.Z,ActivityTypes:()=>n.I,AddWorkflowButton:()=>Tr.G,ArrowExpandButton:()=>dr.Z,AsyncMountContext:()=>qa.g,AttributeGroupIcon:()=>Yr.Z,AttributeListItem:()=>s.Z,AttributeTitle:()=>er.Z,AttributesFiltersBuilder:()=>Kr.Z,AttributesFiltersButton:()=>Jr.Z,AttributesList:()=>p.Z,AttributesPager:()=>b.ZP,AttributesTable:()=>yr.Z,AttributesView:()=>u.Z,AutoSizeList:()=>k.Z,AvatarWithFallback:()=>_.Z,BarChart:()=>te.Z,BasicAttributeSelector:()=>Xr.Z,BasicTable:()=>z.Z,BasicTableContext:()=>I.X,BasicTablePagination:()=>j.Z,BasicView:()=>J.Z,BasicViewContent:()=>K.Z,BasicViewHeader:()=>ee.Z,BlockImageGalleryDialogContext:()=>Ya.P,BranchDecorator:()=>d.Z,COMMENTS_CONTAINER_VISIBILITY_AREA:()=>ra.U,CardinalityMessage:()=>x.Z,ChartsFactory:()=>ne.Z,ClickAwayProvider:()=>pe,CollaborationContext:()=>Ja.h,CollaborationItem:()=>me.J,CollapseButton:()=>fe.Z,CollapseRowButton:()=>$.Z,ColorBar:()=>he.Z,ColumnFilterType:()=>ta.Dq,ColumnsDataType:()=>ta.uz,ColumnsSettings:()=>P.Z,ColumnsSettingsPopup:()=>N.G,CommentsContainer:()=>ye.Z,ConfigureColumnsPopup:()=>be.Z,ConfirmDeleteDialog:()=>hr.Z,ConfirmationDialog:()=>fr.Z,ConnectionEditor:()=>ea.n,ConnectionRelationTypeSelector:()=>xe.Z,CrosswalkDragLayer:()=>Er.Z,CrosswalkEditor:()=>xr.Z,CrosswalkType:()=>Cr.Y,CrosswalksDisplayProvider:()=>ll.hR,CustomAction:()=>da.W,DEFAULT_OVERLAY_OPTIONS:()=>la.r,DataTypeValue:()=>Ce.Z,DataTypeValueEditor:()=>_e.Z,DateEditor:()=>ke.Z,DateRangeEditor:()=>De.Z,DateRangeTypes:()=>fl.K,DefaultCellValueRenderer:()=>V.Z,DeltaTypes:()=>o.w,Drawer:()=>we.Z,DropDownEditor:()=>Se.Z,DropDownMenuButton:()=>Ae.Z,DropDownSelector:()=>Re.Z,DropdownIndicator:()=>ge.Z,DropdownIndicatorWithIconButton:()=>ve.Z,EMPTY_STATE_ICONS:()=>Pe.B9,EMPTY_STATE_VARIANTS:()=>Pe.tC,EditableAttribute:()=>w.Z,EditableImageAttributesLine:()=>M.Z,EmptyState:()=>Pe.ZP,EmptyStub:()=>na.Vd,EntitiesMapContext:()=>al.X,EntityAvatar:()=>Te.Z,EntityContext:()=>sl.u,EntityCreator:()=>m.Z,EntityMarkerContext:()=>ol.P,EntitySelector:()=>f.Z,EntityTypeBadge:()=>Ne.Z,EntityTypeIcon:()=>je.Z,EntityTypesSelector:()=>Ve.Q,EntityUriLink:()=>We.Z,ErrorBoundary:()=>Ue.Z,ErrorMessage:()=>Rr.Z,ErrorPopup:()=>Ge.Z,ErrorWrapper:()=>qe.Z,ExpandableSearchInput:()=>nr.i,ExpandedAttributesProvider:()=>nl.R,ExpandedValueTooltip:()=>$e.C,FacetViewHeader:()=>Qe.Z,FileTypeEditor:()=>Fe.Z,FilterButton:()=>T.Z,FilterValueEditor:()=>Oe.Z,FlipCard:()=>nt,HideOnShrink:()=>ot.Z,HierarchicalAttributeTooltip:()=>it.Z,HighlightedValuesContext:()=>ml.j,Highlighter:()=>ct.Z,HistoryActivityType:()=>zr.M,HistoryChangeTypes:()=>Fr.b,HistoryDiffContext:()=>$a.m,HistoryHeader:()=>Dr.Z,HistoryPanelEmptyState:()=>_r.Z,HistoryView:()=>Zr.Z,IdContext:()=>rl.B,ImageAttributesLine:()=>S.Z,ImageGalleryDialog:()=>st.C,ImportButton:()=>ut.Z,ImportModes:()=>ut.E,InlineAttributesPager:()=>cr.Z,InlineImageAttribute:()=>ur.Z,InlineNestedAttribute:()=>ir.Z,InlineReferenceAttribute:()=>sr.Z,LightArrowTooltip:()=>pr.Z,LinearLoadIndicator:()=>dt.Z,Link:()=>pt.Z,LoadingSpinner:()=>mt.Z,MAP_DRAWING_MODES:()=>la.vl,MAP_MINIMUM_SCALE_RADIUS:()=>la.Pi,Marginator:()=>mr.Z,MatchRulesBlock:()=>ft.Z,MenuWithPopper:()=>Ee.Z,MergeButton:()=>Gr.H,ModeSwitcher:()=>vt.Z,ModeSwitcherSelect:()=>Et.T,MoreAttributesButton:()=>h.Z,MultiSelect:()=>Ot.Z,MultiValueChip:()=>Be.Z,MultipleInput:()=>bt.Z,NestedAttribute:()=>O.Z,NestedAttributeEditor:()=>y.Z,NoData:()=>Ie.J,NoResults:()=>He.X,NotMatchButton:()=>qr.i,NumberEditor:()=>Ze.Z,OvIcon:()=>Ir.Z,PieChart:()=>re.Z,PivotingAttributeContext:()=>el.J,Popper:()=>xt.Z,PopupBoundariesContext:()=>Qa.p,PopupWithArrow:()=>Ct.Z,PotentialMatchReviewCard:()=>wt.Z,ProfileBand:()=>At.Z,ProfileBandHistory:()=>kr.Z,ProfileBandNavigation:()=>Y.a,ProfileCard:()=>Rt.Z,ProfileMatchCard:()=>Ur.M,ProfilePerspectiveViewContext:()=>tl.j,ProfilesList:()=>Qr.Z,QueryBuilderAttributeDataType:()=>ta.eB,QueryBuilderAttributeType:()=>ta.Xw,QueryBuilderRow:()=>St.Z,QueryBuilderRowsGroup:()=>Mt.Z,ReactSelectOptionFilters:()=>Bt.Z,ReactSortableTree:()=>Zt.ZP,ReactSortableTreeHandlers:()=>Dt.ZP,ReactSortableTreeUtils:()=>kt.ZP,ReadOnlyAttribute:()=>C.Z,ReadOnlyAttributeValuesBlock:()=>A.Z,ReadOnlyAttributesList:()=>R.Z,ReadOnlyAttributesPager:()=>D.Z,ReferenceAttribute:()=>B.Z,ReferenceAttributeEditor:()=>g.Z,RelatedObjectUrisContext:()=>cl.A,RelationEditor:()=>Hr.Z,RelationTypeSelector:()=>v.Z,RelationTypesSelector:()=>Le.U,ReloadFacetProvider:()=>ul.DX,ReltioGridLayout:()=>_t.Z,ReltioMap:()=>Ar.Z,RequestStates:()=>fl.o,ResizablePanes:()=>zt.Z,RowCellAutoSizer:()=>q.Z,SandboxAPIContext:()=>Ia.Y,ScrollableTabs:()=>or.Z,SearchFiltersContext:()=>dl.I,SearchInput:()=>Ft.Z,SelectionPopup:()=>Pt.Z,SelectionPopupPopper:()=>Lt,SelectorWithOnlyOptionAutoSelect:()=>Wt.Z,SideButtonsPanel:()=>Ut.G,SidePanel:()=>qt.h,SidePanelContentHeader:()=>$t.P,SidePanelEmptyState:()=>Gt.Z,SimpleAttribute:()=>Z.Z,SimpleAttributeEditor:()=>E.Z,SimpleDropDownSelector:()=>Qt.Z,SimpleMatchRulesBlock:()=>ht.Z,SimpleMatchRulesBuilder:()=>yt.Z,SmallIconButton:()=>Yt.Z,SmallIconButtonWithTooltip:()=>Xt.k,SnackbarContext:()=>pl.S,SortingType:()=>ta.nI,SourceCrosswalksRow:()=>br.Z,SourceIcon:()=>Jt.Z,Spacer:()=>Kt.Z,TableContext:()=>I.X,TableWithBars:()=>ae.Z,TextEditor:()=>Me.Z,TimestampEditor:()=>ze.Z,TransitiveMatchBlock:()=>gt.Z,TreeChart:()=>le.Z,UsersContext:()=>Ka.s,VerticalDivider:()=>tr.Z,VerticalHeadingsTable:()=>rr.Z,ViewIdContext:()=>Xa.m,ViewMoreToggle:()=>ar.Z,VirtualGroupedList:()=>lr.Z,WhiteSearchInput:()=>It.Z,WorkflowComments:()=>Nr.V,WorkflowTaskCard:()=>Pr.s,WorkflowTasksContext:()=>il.O,basicTableViewState:()=>G.ZP,buildColumnsFilter:()=>U.Tz,columnFilterToMdmFilter:()=>U.su,createStandardAction:()=>na.zD,defaultGetRowCellHeight:()=>L.Z,defaultRenderRowCell:()=>W.Z,getChecked:()=>na.IR,getValue:()=>na.NA,groupCrosswalksByTypesAndSources:()=>wr.o,isIE:()=>na.w1,mergeClasses:()=>na.ze,noop:()=>na.ZT,parseJSON:()=>na.Rx,stopPropagation:()=>na.UW,toggleSortOrder:()=>na.Dh,useAPI:()=>ua.E,useActions:()=>sa.o,useActivitiesLoader:()=>i.d,useAsyncMount:()=>pa.S,useAttributeExpanded:()=>nl.Q,useBasicTableCellRenderer:()=>X.Z,useClickableStyle:()=>ie.d,useCollaboration:()=>ma.C,useCommentsEntitiesMap:()=>fa.Q,useConfigPermissions:()=>Ra.l,useCrosswalkActions:()=>vr.P,useCrosswalkColor:()=>ll.nX,useCrosswalkFocus:()=>ll.BF,useCrosswalkHighlight:()=>ll.pu,useCustomScripts:()=>Va,useDidUpdateEffect:()=>ha.D,useDynamicRowCellHeight:()=>Q.Z,useEditableConnection:()=>La.R,useHighlightedCrosswalks:()=>ll.RT,useHistory:()=>Mr.k,useHistoryDiff:()=>Or.u,useHistoryEnabled:()=>Br.C,useHistorySlice:()=>Sr.a,useKeyboardNavigation:()=>Ht.t,useMarkAsNotMatchRequest:()=>Ba.m,useMatchesLoader:()=>Sa.s,useMergeAllRequest:()=>Oa._,useModifiedEntity:()=>gr.Q,usePagingSimulator:()=>Ma.a,usePrevious:()=>ya.D,useProfileActivitiesLoader:()=>c.b,useReadableSearchState:()=>Wa.v,useRelationTypeSelector:()=>ga.n,useRelationsLoader:()=>va.a,useReloadAllFacets:()=>ul.Hc,useReloadFacet:()=>ul.T,useRunOnceAfterValueInitialization:()=>Ea.q,useSafePromise:()=>ba._,useSavedState:()=>xa.a,useSavedStateForEntityType:()=>Ua.w,useSnackbar:()=>Ga.D,useUsers:()=>Ca.U,useWhyDidYouUpdate:()=>Aa,useWorkflowAssignee:()=>jr.r,useWorkflowCheckPermission:()=>Lr.Z,useWorkflowComments:()=>Vr.W,useWorkflowTasks:()=>Wr.v,withAsyncMount:()=>ia.Z,withContext:()=>ca.l,withFilterAtBottom:()=>H.Z,withPercents:()=>oe.Z,withTableContext:()=>F.Z,withTooltip:()=>oa.Z});var a=r(88234),l=r(93438),n=r(31537),o=r(99601),i=r(67486),c=r(63072),s=r(7785),u=r(8962),d=r(95974),p=r(91262),m=r(31588),f=r(81077),h=r(63459),y=r(62630),g=r(2163),v=r(27185),E=r(39462),b=r(57161),x=r(93140),C=r(81303),w=r(96698),A=r(87760),R=r(80931),S=r(13074),M=r(24338),O=r(28751),B=r(72148),Z=r(12068),D=r(24625),k=r(30739),_=r(97991),z=r(85709),F=r(32528),I=r(13688),H=r(67353),P=r(60894),T=r(1876),N=r(47458),j=r(58662),V=r(64091),L=r(25461),W=r(14838),U=r(99341),G=r(26180),q=r(97946),$=r(74566),Q=r(74402),X=r(46177),Y=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),ue=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 pe=e=>se().createElement(ue.Z,de({mouseEvent:"onMouseDown"},e));var me=r(9371),fe=r(58241),he=r(43290),ye=r(94646),ge=r(94113),ve=r(96808),Ee=r(36179),be=r(89119),xe=r(7154),Ce=r(72768),we=r(27652),Ae=r(55847),Re=r(24737),Se=r(79026),Me=r(81174),Oe=r(24754),Be=r(82455),Ze=r(31890),De=r(46923),ke=r(8459),_e=r(25310),ze=r(43305),Fe=r(27113),Ie=r(6230),He=r(94889),Pe=r(21077),Te=r(53180),Ne=r(68439),je=r(31254),Ve=r(59725),Le=r(32371),We=r(31039),Ue=r(2256),Ge=r(585),qe=r(26579),$e=r(88611),Qe=r(93416),Xe=r(79692);const Ye=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,Xe.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?Ye(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),ut=r(81727),dt=r(99136),pt=r(55400),mt=r(37014),ft=r(83037),ht=r(74615),yt=r(66792),gt=r(93301),vt=r(83401),Et=r(22860),bt=r(48809),xt=r(66130),Ct=r(59601),wt=r(35071),At=r(57304),Rt=r(93517),St=r(23598),Mt=r(41315),Ot=r(92575),Bt=r(50905),Zt=r(58600),Dt=r(65758),kt=r(21113),_t=r(67268),zt=r(96955),Ft=r(94574),It=r(16025),Ht=r(54763),Pt=r(97820),Tt=r(25480),Nt=r(94079),jt=r(27556);function Vt(){return Vt=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},Vt.apply(this,arguments)}const Lt=e=>{let{open:t,anchorEl:r,className:a,onClose:l,containerWidth:n,containerHeight:o,paperProps:i,listContent:c,externalInputField:s,classes:u={}}=e;const d=(0,Tt.Z)({containerWidth:n,containerHeight:o});return se().createElement("div",{className:u.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(Nt.Grow,t,se().createElement(jt.Z,Vt({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),$t=r(17308),Qt=r(31517),Xt=r(8818),Yt=r(22385),Jt=r(94175),Kt=r(51229),er=r(95629),tr=r(30553),rr=r(71530),ar=r(77565),lr=r(44890),nr=r(32152),or=r(32431),ir=r(58896),cr=r(4073),sr=r(85592),ur=r(22246),dr=r(19592),pr=r(94111),mr=r(31269),fr=r(81137),hr=r(85209),yr=r(20982),gr=r(85965),vr=r(39417),Er=r(48017),br=r(52017),xr=r(79769),Cr=r(77243),wr=r(90186),Ar=r(79485),Rr=r(76134),Sr=r(57730),Mr=r(85890),Or=r(76536),Br=r(71820),Zr=r(54362),Dr=r(91515),kr=r(3409),_r=r(6674),zr=r(65942),Fr=r(55912),Ir=r(91181),Hr=r(11013),Pr=r(34120),Tr=r(26789),Nr=r(89140),jr=r(5434),Vr=r(43477),Lr=r(22994),Wr=r(61756),Ur=r(49734),Gr=r(93428),qr=r(30885),$r=r(98808),Qr=r(82842),Xr=r(99757),Yr=r(79821),Jr=r(63172),Kr=r(95464),ea=r(14363),ta=r(94656),ra=r(19603),aa=r(78836),la=r(97090),na=r(31276),oa=r(83348),ia=r(49965),ca=r(48852),sa=r(86361),ua=r(33165),da=r(77282),pa=r(96479),ma=r(7718),fa=r(26313),ha=r(20562),ya=r(30634),ga=r(89846),va=r(37152),Ea=r(92898),ba=r(67218),xa=r(2804),Ca=r(17554);function wa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Aa=(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){wa(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 Ra=r(52016),Sa=r(28741),Ma=r(20449),Oa=r(84504),Ba=r(59119),Za=r(52730),Da=r(87638),ka=r(99493),_a=r(58697),za=r.n(_a),Fa=r(17440),Ia=r(60115),Ha=r(26929),Pa=r(53607);function Ta(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){Na(e,t,r[t])}))}return e}function Na(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ja=(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.map((e=>Ta({},e,{actionId:za()()}))),i=(0,Za.useDispatch)(),c=(0,Za.useSelector)(Da.ZP.selectors.getMetadata)||{},s=(0,Za.useSelector)(Da.ZP.selectors.getEntity)||{},u=(0,Za.useSelector)(Da.ZP.selectors.getUIPath),d=(0,Za.useSelector)(Da.ZP.selectors.getReltioPath),p=(0,Za.useSelector)(Da.ZP.selectors.getTenant),m=(0,Ha.j)(u,p),f=(0,Za.useSelector)(Da.ZP.selectors.getApiPath),h=(0,Za.useSelector)(Da.ZP.selectors.getWorkflowPath),y=(0,Za.useSelector)(Da.ZP.selectors.getUser),g=(0,Za.useSelector)(Da.ZP.selectors.getEntityUri),v=(0,Za.useSelector)(Da.ZP.selectors.getWorkflowEnvironmentUrl),E=(0,ce.useContext)(Ia.Y),b=(0,Lr.Z)(),{type:x,data:C}=(0,Za.useSelector)(Da.ZP.selectors.getSearchProviderData)||{},w=e=>i(Da.ui.actions.openSearch(e)),A=(0,ce.useRef)({}),R=(0,ce.useRef)({}),S=(0,ce.useRef)({}),M=(e,t)=>{if(e)switch(e.action){case da.W.REQUEST:var r,a;if("ui"!==(null===(r=e.params)||void 0===r||null===(a=r.headers)||void 0===a?void 0:a.origin))(0,Pa.U)(Ta({name:e.params.name,paramObject:e,permissions:o[0].permissions,worker:t,metadata:c,config:{action:o[0]},user:y,apiPath:f,tenant:p,workflowPath:h,entity:s,entityUri:g,environment:v,query:"search"===x?null==C?void 0:C.query:null,openSearch:w,workflowCheckPermission:b},E));else{const{headers:t,id:r,url:a,method:l,data:n}=e.params,o=a.replace(d,f);A.current[t.requestId]&&(A.current[t.requestId].next(o,Ta({},n,{id:r,task:e,headers:t,method:l})),A.current=(0,Fa.omit)([t.requestId],A.current))}break;case da.W.RETURN_PROCESSED_API_RESPONSE:case da.W.RETURN_PROCESSED_API_REQUEST:{const{id:t,data:r}=e.params;R.current[t]&&(R.current[t].next(r),R.current=(0,Fa.omit)([t],R.current));break}}};(0,ce.useEffect)((()=>(S.current=o.reduce(((e,t)=>Ta({},e,{[t.actionId]:(0,ka.QWZ)(m,t.files,M)})),S.current),()=>{Object.keys(S.current).forEach((e=>{S.current[e].terminate()}))})),[e]);const O=e=>{let{options:t={},url:r,next:a}=e;const l=r.startsWith("/")&&!r.startsWith(f)?`${d}/api/${p}${r}`:`${d}${r.replace(f,"")}`,n=(0,Fa.pipe)((0,Fa.map)((0,Fa.pick)(["actionId","processApiRequest"])),(0,Fa.find)((e=>{let{processApiRequest:t}=e;return ja(t,l)})),(0,Fa.prop)("actionId"))(o);if(n){const e=za()();A.current=Ta({},A.current,{[e]:{options:t,next:a,id:e}}),S.current[n].postMessage({action:"apiRequest",id:e,url:l,method:t.method,headers:Ta({},t.headers,{origin:"ui",requestId:e,actionId:n}),data:t})}else a(r,t)},B=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;R.current=Ta({},R.current,{[n.headers.requestId]:{next:l}}),S.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=`${d}${r.replace(f,"")}`,t=(0,Fa.pipe)((0,Fa.map)((0,Fa.pick)(["actionId","processApiResponse"])),(0,Fa.find)((t=>{let{processApiResponse:r}=t;return ja(r,e)})),(0,Fa.prop)("actionId"))(o);if(t){const r=za()();a.json().then((a=>{R.current=Ta({},R.current,{[r]:{next:l}}),S.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)(e))return r(O),a(B),()=>{l(O),n(B)}}),[e])};var La=r(78620),Wa=r(41188),Ua=r(60641),Ga=r(24605),qa=r(7142),$a=r(26005),Qa=r(30268),Xa=r(39450),Ya=r(69891),Ja=r(3515),Ka=r(49759),el=r(60995),tl=r(26481),rl=r(52049),al=r(31274),ll=r(63149),nl=r(66095),ol=r(91676),il=r(94150),cl=r(78101),sl=r(3185),ul=r(98884),dl=r(56259),pl=r(97094),ml=r(43600),fl=r(67885)}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8442,4689],{74443:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.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=a},99144:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.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=a},45767:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(24328),o=r.n(n),a=r(7560),l=r(72379);const i=(s=o().createElement("path",{d:"M7 10l5 5 5-5z"}),(c=o().memo(o().forwardRef((function(e,t){return o().createElement(l.Z,(0,a.Z)({ref:t},e),s)})))).muiName=l.Z.muiName,c);var s,c},7785:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),a=r(71153),l=r.n(a),i=r(87918),s=r.n(i),c=r(38402),u=r(94079),p=r(88611),d=r(99493),m=r(83348),f=r(55299),g=r(31276),h=r(71543);function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}const y=e=>o().createElement("svg",b({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M10 18h3v-1a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1H8V8H6a1 1 0 01-1-1V3a1 1 0 011-1h6a1 1 0 011 1v4a1 1 0 01-1 1h-2v3h3v-1a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1h-3v5z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd"}));function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}const x=e=>o().createElement("svg",v({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("rect",{fill:"#000",x:9,y:9,width:6,height:6,rx:1,stroke:"none",strokeWidth:1,fillRule:"evenodd"})),w=(0,r(79692).Z)({container:{"& > $marginWrapper:first-child":{paddingLeft:"4px"}},listItem:{paddingLeft:"1px",paddingTop:"2px",paddingBottom:"2px",transition:"none","&:hover":{"& $itemAfter":{background:"linear-gradient(to right, rgba(235, 235, 235, 0.2), rgba(235, 235, 235, 1) 100%)"}},"&$listItemFocus":{"& $itemAfter":{background:"linear-gradient(to right, rgba(219, 219, 219, 0.2), rgba(219, 219, 219, 1) 100%)"}},"&:focus":{outline:"none"}},listItemFocus:{},icon:{opacity:.29,width:"16px",height:"16px",flexShrink:0,marginRight:"6px",marginLeft:"8px"},recommendedIcon:{width:"18px",height:"18px",marginRight:"5px",marginLeft:"7px",flexShrink:0},logoIcon:{width:"18px",height:"18px",flexShrink:0,marginRight:"4px"},itemAfter:{position:"absolute",right:0,top:0,width:"40px",height:"100%",pointerEvents:"none",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)"},itemText:{padding:"0",margin:0,"& span":{fontSize:"0.8125rem",letterSpacing:"normal",whiteSpace:"nowrap"}},checkbox:{opacity:.34,padding:0,marginLeft:"14px","&$checked":{opacity:1,background:"none"}},checked:{},marginWrapper:{display:"flex",alignItems:"center"},defaultCursor:{cursor:"default"},itemTooltip:{margin:"4px 0"},marginText:{marginLeft:"21px"},itemTextWrapper:{display:"flex",alignItems:"center"}}),C=e=>{let{attrType:t={}}=e;const r=w(),n=(e=>{switch(e.type){case d.oS0.TYPE_IMAGE:case d.oS0.TYPE_NESTED:return h.Z;case d.oS0.TYPE_REFERENCE:return y;default:return x}})(t);return o().createElement(n,{className:r.icon})};var E=r(31269);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}const Z=(0,m.Z)((e=>o().createElement("svg",O({width:13,height:18,viewBox:"0 0 13 18",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("g",{transform:"translate(-3 -1)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},o().createElement("path",{fill:"#FF4081",d:"M5.833 10h3.75v6.667l-3.75 1.666z"}),o().createElement("path",{fill:"#CE0C4E",d:"M13.333 10v8.333l-3.75-1.666V10z"}),o().createElement("circle",{fill:"#FFC058",cx:9.583,cy:7.917,r:6.25}),o().createElement("circle",{fill:"#FFCD7B",cx:9.583,cy:7.917,r:5.417}),o().createElement("path",{fill:"#FFFBB5",d:"M8.333 11.667L5 8.462l.933-.898 2.4 2.308L13.4 5l.933.897z"}))))),S=(0,n.memo)((e=>{let{groupId:t,data:r,checked:n=!1,isFocused:a=!1,isRequired:i=!1,label:m,labelInText:h,level:b,onClick:y=g.ZT,hideCheckBox:v=!1,hideIcon:x=!1,notSelectable:O=!1,disableHorizontalScrollbar:S=!1,style:k={},subItemMargin:I=20,LogoIcon:P,className:A}=e;const R=w(),{attrType:T}=r||{},D=!(v&&(0,d.QZu)(T)||O),j=!!P;return o().createElement(p.C,{value:h||m,className:R.itemTooltip,placement:"bottom-end"},o().createElement(c.Z,{className:l()(R.container,R.listItem,{[R.defaultCursor]:!D},A),onClick:D?()=>y(r,!n,t):void 0,style:k,dense:!0,button:D,classes:{focusVisible:R.listItemFocus,selected:R.listItemFocus},selected:a,tabIndex:-1},!v&&o().createElement(u.Checkbox,{checked:n,disableRipple:!0,disabled:!D,className:l()(R.checkbox,{[R.checked]:n}),tabIndex:-1}),o().createElement(E.Z,{margin:I,level:b,className:R.marginWrapper},o().createElement(o().Fragment,null,!x&&(e=>"recommended"===t?o().createElement(Z,{className:R.recommendedIcon,tooltipTitle:s().text("Recommended"),showForDisabled:!0}):o().createElement(C,{attrType:e}))(T),o().createElement("div",{className:l()(R.itemTextWrapper,{[R.marginText]:x})},j&&o().createElement(P,{className:R.logoIcon}),o().createElement(u.ListItemText,{primary:o().createElement(o().Fragment,null,m,i&&o().createElement(f.Z,null)),className:R.itemText})))),D&&S&&o().createElement("div",{className:R.itemAfter})))}))},95464:(e,t,r)=>{r.d(t,{Z:()=>F});var n=r(24328),o=r.n(n),a=r(52730),l=r(17440),i=r(87638),s=r(99493);function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){u(e,t,r[t])}))}return e}function u(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,t,r,n)=>{const o=(0,s.jFi)(e,{type:r}),a=t.label||t.name;return{title:a,pathToTitle:Array.isArray(n)?[o,...n,a]:[o,a],fieldName:(0,s.Tde)(t.uri),entityTypeUri:r,attrType:t}},d=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const a=c({},n(e,t,r,o),{uri:t.uri}),l=t.children?t.children.map((a=>d(e,a,r,n,o.concat(t.label)))):[];return l.length&&(a.children=l),a},m=(e,t)=>{let r;const n=(e,t)=>{for(const o of t){if(e===o.fieldName)return void(r=o);"children"in o&&n(e,o.children)}};return n(e,t),r},f=(e,t)=>e?e.find((e=>e.value===t)):null;var g=r(87918),h=r.n(g),b=r(6782),y=r(31517),v=r(79692);const x=(0,v.Z)({dropDownSelector:{width:"100%"}}),w=(0,n.memo)((e=>{let{rowData:t,rowContext:r,textFieldInputRef:a}=e;const i=x(),{attribute:{attrType:c={},fieldName:u=null}={},filter:p,id:d}=t||{},{changeFilter:m}=r,g=c&&u&&(0,l.pipe)(s.d3Y,(0,l.map)((e=>({value:e,label:(0,b.Z)((0,s.XS2)(e))}))))(c,u),v=(0,n.useCallback)((e=>{const t={fieldName:u,filter:e.value,values:[]};m(t,d)}),[m,d,u]);return(0,n.useEffect)((()=>{(u&&!p||u&&!f(g,p))&&v(g[0])}),[u,p,v,g]),o().createElement(y.Z,{label:"",height:40,isDisabled:!g,placeholder:h().text("Equals"),value:f(g,p),options:g,onChange:v,className:i.dropDownSelector,textFieldInputRef:a})}));var C=r(87685),E=r(74443),O=r(8818);function Z(){return Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Z.apply(this,arguments)}const S=e=>o().createElement("svg",Z({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",focusable:"false"},e),o().createElement("defs",null,o().createElement("path",{d:"M20.222 6C21.21 6 22 6.8 22 7.778v12.444C22 21.2 21.209 22 20.222 22H7.778C6.79 22 6 21.2 6 20.222V7.778C6 6.8 6.791 6 7.778 6h12.444zM8 8v12h12V8H8zM4 18H2V4c0-1.1.9-2 2-2h14v2H4v14z",id:"Duplicate_svg__a"})),o().createElement("g",{transform:"translate(-2 -2)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},o().createElement("mask",{id:"Duplicate_svg__b",fill:"#fff"},o().createElement("use",{xlinkHref:"#Duplicate_svg__a"})),o().createElement("g",{mask:"url(#Duplicate_svg__b)",fill:"#000",fillOpacity:.54},o().createElement("path",{d:"M0 0h24v24H0z"})))),k=(0,v.Z)((()=>({actions:{width:"88px",height:"24px",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0,"& >span":{cursor:"pointer",display:"flex"},"& $actionIcon":{cursor:"pointer",color:"rgba(0, 0, 0, .54)"}},actionIcon:{}}))),I=(0,n.memo)((e=>{let{rowData:t,rowContext:r}=e;const a=k(),{id:l,attribute:i}=t||{},{addRowAfterIndex:s,removeRow:c,duplicateRow:u}=r,p=(0,n.useCallback)((()=>{s(l)}),[s,l]),d=(0,n.useCallback)((()=>{u(l)}),[u,l]),m=(0,n.useCallback)((()=>{c(l)}),[l,c]);return o().createElement("div",{className:a.actions},o().createElement(O.k,{tooltipTitle:h().text("Add"),icon:E.Z,size:"M",onClick:p}),i&&o().createElement(O.k,{tooltipTitle:h().text("Duplicate"),icon:S,size:"M",onClick:d}),o().createElement(O.k,{tooltipTitle:h().text("Delete"),icon:C.default,size:"M",onClick:m}))}));var P=r(41315),A=r(99757);const R=(0,n.memo)((e=>{let{rowData:t,rowContext:r,attributeSelectorProps:a}=e;const{attribute:l,id:i,filter:c}=t||{},{changeFilter:u,addNewFilter:p,attributesGroup:d}=r,m=(0,n.useCallback)((e=>(0,s.e6O)({data:e})),[]),f=(0,n.useMemo)((()=>[{id:"",title:"",attributes:d}]),[d]),g=(0,n.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:c,values:[]};u(t,i)}else p({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[p,u,i,t,c]);return o().createElement(A.Z,{itemsGroups:f,ungroup:!0,single:!0,value:l,getLabel:m,onSelect:g,onOpenPopup:a.onOpen})}));var T=r(24754);const D=(0,v.Z)((()=>({input:{margin:0,borderRadius:"4px",width:"100%",paddingTop:0,paddingBottom:0},root:{borderRadius:"4px 4px 0 0",padding:0,display:"flex",alignItems:"center",margin:0},valuesEditor:{width:"222px!important",minHeight:"40px",flexShrink:0}}))),j=(0,n.memo)((e=>{let{rowData:t,rowContext:r}=e;const a=D(),l=(null==t?void 0:t.attribute)&&(0,s.wNf)(t.filter),{changeFilter:i}=r,{values:c=[],attribute:{attrType:u={},fieldName:p=null}={},filter:d,id:m}=t||{},f=u&&(0,s.PFL)(u),g=f&&(0,s.l1V)(f,d),h=(0,n.useMemo)((()=>({filter:d,fieldName:p,values:c||[]})),[d,p,c]),b=(0,n.useMemo)((()=>({InputProps:{classes:{root:a.input}}})),[a]),y=(0,n.useMemo)((()=>({root:a.root})),[a]),v=(0,n.useCallback)((e=>{i({fieldName:p,filter:d,values:e},m)}),[i,m,p,d]);return o().createElement("div",{className:a.valuesEditor},(null==t?void 0:t.attribute)&&l&&o().createElement(T.Z,{filter:h,onChange:v,dataTypeDefinition:g,fullWidth:!0,TextFieldProps:b,color:"primary",classes:y,orientation:"horizontal"}))})),N=(0,v.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),M={fieldName:null,filter:null,values:[]},B=()=>null,F=(0,n.memo)((e=>{let{attributeTypes:t,filters:r,onChange:c}=e;const u=(0,a.useSelector)(i.ZP.selectors.getMetadata),f=(0,s.nt9)(u,(e=>{const t=e.find((e=>!(0,s.kqr)(e)));return t?(0,s.u5q)(t.uri):null})(t)),{attrSelector:g,filterSelector:h,actionContainer:b}=N(),y=(0,n.useRef)(r);y.current=r;const v=(0,n.useRef)(null),x=(0,n.useRef)(null),C=(0,n.useRef)(null),E=(0,n.useMemo)((()=>({attributeSelectorContainer:g,filterSelectorContainer:h,actionsContainer:b})),[g,h,b]),O=(0,n.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return(0,s.kkq)(e,r).map((e=>d(r,e,t.uri,p)))}(t,f,u)),[t,u,f]),Z=(0,n.useMemo)((()=>r.length?((e,t)=>e.map(((e,r)=>({attribute:e.fieldName?m(e.fieldName,t):void 0,filter:e.filter,id:r,values:e.values}))))(r,O):[]),[O,r]);C.current=Z.length,(0,n.useEffect)((()=>{v.current&&x.current!==C.current&&(v.current.querySelector("input").focus(),x.current=null)}),[Z.length]);const S=(0,n.useCallback)((()=>{x.current=Z.length}),[Z.length]),k=(0,n.useMemo)((()=>({onOpen:S})),[S]),A=(0,n.useCallback)((e=>{const t=[...y.current];t.splice(e+1,0,M),c(t)}),[c]),T=(0,n.useCallback)((e=>{const t=[...y.current];t.splice(e,1),c(t)}),[c]),D=(0,n.useCallback)((e=>{const t=[...y.current];t.splice(e+1,0,{fieldName:y.current[e].fieldName,filter:y.current[e].filter,values:y.current[e].values}),c(t)}),[c]),F=(0,n.useCallback)(((e,t)=>{const r=(0,l.evolve)({[t]:(0,l.always)(e)},y.current);c(r)}),[c]),H=(0,n.useCallback)((e=>{c([...y.current,e])}),[c]);return o().createElement(P.Z,{rowClasses:E,rowsData:Z,AttributeSelectorComponent:R,FilterSelectorComponent:w,ValuesEditorComponent:j,ActionsComponent:I,LogicOperatorComponent:B,filterSelectorRefIndex:x.current,filterSelectorRef:v,lastRowAttributeSelectorProps:k,attributesGroup:O,changeFilter:F,addNewFilter:H,addRowAfterIndex:A,removeRow:T,duplicateRow:D})}))},63172:(e,t,r)=>{r.d(t,{Z:()=>v});var n=r(24328),o=r.n(n),a=r(87918),l=r.n(a),i=r(94079),s=r(36444),c=r(99493),u=r(95464),p=r(79692);function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){m(e,t,r[t])}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={alignSelf:"center"},g=(0,p.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:d({},f,{marginRight:"16px"}),cancelButton:d({},f,{marginLeft:"auto"}),clearButon:d({},f)}))),h=e=>{let{onClear:t,onCancel:r,onApply:n}=e;const a=g();return o().createElement("div",{className:a.buttonsWrapper},o().createElement(i.Button,{onClick:t,variant:"text",color:"default",className:a.clearButon},l().text("Clear all")),o().createElement(i.Button,{onClick:r,variant:"text",color:"default",className:a.cancelButton},l().text("Cancel")),o().createElement(i.Button,{onClick:n,variant:"text",color:"primary",className:a.applyButton},l().text("Apply")))};var b=r(41128);const y=(0,p.Z)((e=>({triggerButton:{minWidth:0,color:"rgba(0,0,0,0.54)",width:"40px",marginLeft:"auto",marginRight:"12px"},filtersBuilderWrapper:{marginTop:"20px"},popupContent:{paddingLeft:"16px",paddingTop:"20px",paddingBottom:"6px",width:"770px"},divider:{marginBottom:"14px",marginLeft:"-16px",background:"rgba(0, 0, 0, 0.121569)"},changedFiltersIndicator:{backgroundColor:(0,b.U1)(e.palette.primary.main,.12)}}))),v=(0,n.memo)((e=>{let{filters:t,attributeTypes:r,onChange:a}=e;const p=y(),d=(0,n.useRef)(),[m,f]=(0,n.useState)(!1),[g,b]=(0,n.useState)([]),v=(0,c.Uqd)()(t)?"primary":"inherit",x=()=>f((e=>!e));(0,n.useEffect)((()=>{m&&b(t)}),[t,m]);const w=(0,n.useCallback)((()=>{a(g),x()}),[g,a]),C=(0,n.useCallback)((()=>{x()}),[]),E=(0,n.useCallback)((()=>{b([])}),[]);return o().createElement(o().Fragment,null,o().createElement(i.Button,{ref:d,color:v,classes:{root:p.triggerButton,textPrimary:p.changedFiltersIndicator},onClick:x},o().createElement(s.Z,{color:v})),o().createElement(i.Popover,{open:m,classes:{paper:p.popupContent},anchorEl:d.current,onClose:x,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},o().createElement(o().Fragment,null,o().createElement(i.Typography,{variant:"h6"},l().text("Filter")),o().createElement("div",{className:p.filtersBuilderWrapper},o().createElement(u.Z,{attributeTypes:r,filters:g,onChange:b})),o().createElement(i.Divider,{className:p.divider}),o().createElement(h,{onApply:w,onCancel:C,onClear:E}))))}))},46177:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(24328),o=r.n(n),a=r(13980),l=r.n(a),i=r(21697),s=r(14838),c=r(25461),u=r(17440),p=r(22273),d=r(73038);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}const f=e=>{let{rowsData:t,columnsData:r,renderRowCell:a=s.Z,getRowCellHeight:f=c.Z,defaultRowHeight:g=48,maxRowValuesCount:h=1/0}=e;const{tableRowsData:b,collapseContextValue:y}=(0,p.Z)({rowsData:t,columnsData:r,renderRowCell:a,getRowCellHeight:f,maxRowValuesCount:h});return(0,n.useMemo)((()=>{const e=b.reduce(((e,t,r)=>{const{data:n}=t;return e[r]=(0,i.calculateRowHeight)(n,g),e}),{}),t=(t,r,n)=>{const o=[t,"subRowHeight",r,n,"height"];return(0,u.pathOr)(0,o,e)},n=t=>(0,u.pathOr)(0,[t,"height"],e),a=e=>{let{columnId:a,rowIndex:l}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["columnId","rowIndex"]);return o().createElement(d.x.Provider,{value:y},o().createElement("div",m({},s,{style:{height:n(l)}}),b.length>0&&(0,i.getCellContentFromRowsData)({columnIndex:r.findIndex((0,u.propEq)("id",a)),headData:r,rowsData:b,rowIndex:l,getHeightForSubRow:t})))};return a.propTypes={columnId:l().string,rowIndex:l().number},{getRowHeight:n,CellRenderer:a}}),[b,g,y,r])}},14363:(e,t,r)=>{r.d(t,{n:()=>y});const n=(0,r(79692).Z)({item:{marginBottom:"16px"},dense:{marginBottom:0}});var o=r(20562),a=r(24328),l=r.n(a),i=r(52730),s=r(87638),c=r(99493),u=r(91262),p=r(71153),d=r.n(p),m=r(17440),f=r(7154),g=r(26579),h=r(81077);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=e=>{let{connection:t,relatedEntity:r,inRelationTypes:p=[],outRelationTypes:y=[],showEmptyEditors:v,entityErrorMessage:x,onChangeAttribute:w,onRemoveAttribute:C,onAddAttributes:E,onChangeRelationType:O,onChangeEntity:Z}=e;const S=n(),{relation:k,entity:I}=t,{attributes:P,uri:A,type:R="",direction:T}=k||{},D=Boolean(R),j=(0,i.useSelector)(s.ZP.selectors.getMetadata),N=(0,a.useMemo)((()=>k&&function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){b(e,t,r[t])}))}return e}({attributes:P},(0,c.p2l)(k))),[k,P]),M=(0,a.useMemo)((()=>(0,c.xF8)(j,R)),[R,j]),B=(0,a.useMemo)((()=>D?(0,c.jWj)(T===c.Nsj.OUT,j,[(0,c.V3K)(j,R)]):(0,m.uniq)((0,c.jWj)(!0,j,y).concat((0,c.jWj)(!1,j,p)))),[D,R,j,p,y]),F=(0,i.useSelector)((e=>s.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),H=(0,a.useMemo)((()=>k&&{relationType:k.type,direction:k.direction}),[k]),L=(0,a.useMemo)((()=>I&&{entityUri:I.uri,entityType:I.type,entityLabel:(0,c.idV)(I.label)}),[I]),V=(0,a.useMemo)((()=>I&&I.uri?p.filter((0,c.eHk)(!1,I,r,j)):p),[I,p,r,j]),W=(0,a.useMemo)((()=>I&&I.uri?y.filter((0,c.eHk)(!0,I,r,j)):y),[I,y,r,j]);(0,a.useEffect)((()=>{const{type:e,direction:t}=(0,c.z7d)(p,y)||{};!R&&e&&O&&O({type:e.uri,direction:t})}),[R,p,y,O]),(0,o.D)((()=>{const{type:e,direction:t}=(0,c.z7d)(V,W)||{};!R&&e&&O({type:e.uri,direction:t})}),[R,I,V,W,Z]);const z=(0,a.useCallback)((e=>{let{type:t,direction:r}=e;O({type:t.uri,direction:r})}),[O]);return l().createElement(l().Fragment,null,O&&l().createElement(f.Z,{className:S.item,relation:H,metadata:j,inRelationTypes:p,outRelationTypes:y,onChange:z}),Z&&l().createElement(g.Z,{errorMessage:x,className:S.item},l().createElement(h.Z,{key:R,className:d()({[S.dense]:x}),entity:L||{},entityTypesUris:B,max:20,globalSearchRequestOptions:F,mode:c.fO_.EDITING,onChange:Z,onCreate:void 0,metadata:j,attributeTypesSelectionStrategy:void 0})),R&&l().createElement(u.Z,{attrTypes:M,entity:N,showEmptyEditors:v,mode:c.fO_.EDITING,parentUri:A,onAddAttributes:E,onChangeAttribute:w,onDeleteAttribute:C}))}},24737:(e,t,r)=>{r.d(t,{Z:()=>B});var n=r(24328),o=r.n(n),a=r(13980),l=r.n(a),i=r(71153),s=r.n(i),c=r(17440),u=r(94113),p=r(65549),d=r(79692);const m=(0,d.Z)((e=>({addLabel:{display:"flex",padding:"0 7px",height:"35px",alignItems:"center",fontSize:"13px",fontWeight:"500",color:e.palette.primary.main,cursor:"pointer",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",borderTop:"solid 1px rgba(0, 0, 0, 0.14)",backgroundColor:"rgba(0, 0, 0, 0.03)"},addIcon:{height:"18px",width:"18px",padding:"0 9px"}}))),f=(0,d.Z)({singleValue:{fontSize:"14px",lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"21px"}});var g=r(36179);const h=e=>{const{selectProps:{onCreate:t,createLabel:r,inputValue:n,components:a},children:l}=e,i=m();return o().createElement(g.Z,e,l,r&&!(0,c.prop)("Group",a)&&o().createElement("span",{className:i.addLabel,onClick:()=>t(n)},o().createElement(p.Z,{className:i.addIcon}),r))};h.propTypes={children:l().element.isRequired,selectProps:l().object.isRequired};const b=h;var y=r(18461),v=r(5190),x=r(31276),w=r(99493),C=r(72436),E=r(94079);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}function Z(e){const{selectProps:{menuIsOpen:t},innerProps:r,children:n}=e,a=f();return!t&&o().createElement(E.Typography,O({className:a.singleValue},r),n)}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){k(e,t,r[t])}))}return e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Z.propTypes={children:l().node,innerProps:l().object};const I=(0,d.Z)({control:{height:"auto"},dropdownIndicator:{transition:"transform .15s ease",padding:e=>(e.height-24)/2+"px 12px",cursor:"pointer",color:"rgba(0, 0, 0, 0.54)"},valueContainer:{marginLeft:"16px",width:0},formControl:{margin:0},filledInputRoot:{backgroundColor:"rgba(0, 0, 0, 0.03)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&.focused":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},filledInputUnderline:{"&:before":{display:"none"}},inputLabel:{color:"rgba(0,0,0,0.6)",fontSize:"14px",lineHeight:"16px",paddingLeft:"4px","&.shrink":{paddingLeft:"4px"}}}),P={menu:e=>S({},e,{borderRadius:"0 0 4px 4px",backgroundColor:"#FFFFFFFF",boxShadow:"0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)",margin:0}),menuList:e=>S({},e,{maxHeight:"208px",padding:"8px 0"}),group:e=>S({},e,{padding:"0 0 8px 0"}),input:e=>S({},e,{height:"16px",color:"rgba(0, 0, 0, 0.87)",fontSize:"14px",lineHeight:"16px",margin:"16px 0 0",padding:0}),option:e=>S({},e,{fontSize:"13px",lineHeight:"15px",height:"32px"})},A={menuList:e=>S({},e,{padding:0})},R={input:e=>S({},e,{height:"16px",color:"rgba(0, 0, 0, 0.87)",fontSize:"14px",lineHeight:"16px",margin:0,padding:0})};function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T.apply(this,arguments)}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){j(e,t,r[t])}))}return e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>{let{value:t,label:r,createLabel:a,getOptions:l,options:i,height:p=46,onChange:d=c.identity,onCreate:m,onClear:f=c.identity,components:g,textFieldInputRef:h,TextFieldProps:E,classes:O}=e,S=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["value","label","createLabel","getOptions","options","height","onChange","onCreate","onClear","components","textFieldInputRef","TextFieldProps","classes"]);const k=I({height:p}),j=(0,C.a6)(),[N,M]=(0,n.useState)(!1),B=(0,n.useRef)(null),F=l?y.Z:v.Z,H=(0,c.prop)("ClearIndicator",g)?{}:{IndicatorSeparator:x.Vd,ClearIndicator:x.Vd},L=m?(e,t)=>{m(e,t),M(!1)}:void 0,V=(0,c.prop)("Group",g)?A:{},W=(0,c.isEmpty)(r)?R:{},z=D({},P,V,W),U=D({},k,O);return o().createElement(F,T({placeholder:"",defaultOptions:!0},S,{value:(0,c.defaultTo)(null,t),loadOptions:l,options:i,cacheOptions:!0,onChange:d,onCreate:L,onClear:f,createLabel:a,classes:U,styles:z,components:D({DropdownIndicator:u.Z,LoadingIndicator:x.Vd,SingleValue:Z,Menu:b},H,g),menuPlacement:"auto",TextFieldProps:D({},E,{label:r,variant:"filled",margin:"dense",classes:D({},(0,c.prop)("classes",E),{root:s()(k.formControl,(0,c.path)(["classes","root"],E))}),inputProps:D({},(0,c.prop)("inputProps",E)),InputProps:D({},(0,c.prop)("InputProps",E),{classes:D({},(0,c.path)(["InputProps","classes"],E),{root:s()(k.filledInputRoot,(0,c.path)(["InputProps","classes","root"],E)),underline:s()({[j.filledInputUnderline]:(0,w.O27)(t)},(0,c.path)(["InputProps","classes","underline"],E)),focused:s()("focused",(0,c.path)(["InputProps","classes","focused"],E))})}),InputLabelProps:D({},(0,c.prop)("InputLabelProps",E),{classes:D({},(0,c.path)(["InputLabelProps","classes"],E),{root:s()(k.inputLabel,(0,c.path)(["InputLabelProps","classes","root"],E)),shrink:s()("shrink",(0,c.path)(["InputLabelProps","classes","shrink"],E))}),shrink:!(0,w.O27)(t)||void 0}),ref:h||B}),inputRef:h||B,menuIsOpen:N,onMenuOpen:()=>M(!0),onMenuClose:()=>M(!1)}))},M={value:l().oneOfType([l().object,l().array]),label:l().string.isRequired,getOptions:l().func,options:l().array,onChange:l().func,onCreate:l().func,onClear:l().func,createLabel:l().string,components:l().object,textFieldInputRef:l().object,TextFieldProps:l().object,height:l().number,classes:l().object};N.propTypes=M;const B=N},6230:(e,t,r)=>{r.d(t,{J:()=>c});var n=r(24328),o=r.n(n),a=r(87918),l=r.n(a),i=r(15689);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}const c=e=>o().createElement(i.Z,s({message:l().text("No data available")},e))},31039:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),a=r(52730),l=r(39450),i=r(87638),s=r(99493);const c=(0,n.forwardRef)(((e,t)=>{let{value:r,children:c,className:u}=e;const p=(0,a.useDispatch)(),d=(0,n.useContext)(l.m),m=(0,a.useSelector)(i.ZP.selectors.getUIPath),f=(0,n.useCallback)((()=>{p(i.ui.actions.openEntity({uri:r,viewId:d}))}),[d,r,p]);return o().createElement("a",{ref:t,href:(g=r,(0,s.ChB)({uiPath:m,uri:g})),onClick:e=>{f(),e.stopPropagation(),e.preventDefault()},className:u},c);var g}));c.displayName="EntityUriLink";const u=c},88548:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(24328),o=r.n(n),a=r(13980),l=r.n(a),i=r(17440),s=r(94079),c=r(79692);function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=(0,i.range)(2,10).reduce(((e,t)=>u({},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)"}}})),{}),m=(0,c.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":u({fontSize:"10px",lineHeight:"11px",fontWeight:500,color:"rgba(255, 255, 255, 0.7)",marginTop:"4px"},d,{"&:last-child":{color:"white"}}),"& li + li":{marginTop:"2px"}}}})));function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}const g=e=>{let{pathToTitle:t,children:r}=e,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["pathToTitle","children"]);const a=m(),l=t&&t.length?o().createElement("div",{className:a.tooltipContent},o().createElement("p",null,(0,i.last)(t)),t.length>2&&o().createElement("ul",null,t.map((e=>o().createElement("li",{key:e},e))))):"";return o().createElement(s.Tooltip,f({title:l,disableFocusListener:!0,classes:{tooltip:a.tooltip}},n),r)};g.propTypes={pathToTitle:l().arrayOf(l().string).isRequired,children:l().node};const h=g},37014:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n),a=r(99493);const l=e=>{let{className:t}=e;return o().createElement("img",{className:t,alt:"loading",src:(0,a.Uw1)("R0lGODlhFQALAKIAAP///8Hf75vL5Van0wB4v////wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAFACwAAAIAFQAHAAADLFi6zPSQFEGpGhgXkrEUQShc1bB1wxcGYzGUZ6eKJGVy8lS1aJxJjaAiAkkAACH5BAkKAAUALAAAAwAUAAUAAAMiWLFbJRC6QakCODjBxIzDlW3dB4UBBmhPWQygwrCR9FZDAgAh+QQJCgAFACwIAAMADAAFAAADFBiqVfIvgBmaWHeC6rCklrdw0JMAACH5BAkKAAUALAAAAgAUAAcAAAMkSLpU/vCRQWmLLmg967hYAIxBV4GRSJoWlo1A6X1usXGMUkcJACH5BAkKAAUALAAAAgAOAAcAAAMdWLpF/qSMORudcYg97M2b0BHXAHIelV0pxizQkwAAOw==")})}},35071:(e,t,r)=>{r.d(t,{Z:()=>b});var n=r(13980),o=r.n(n),a=r(24328),l=r.n(a),i=r(73272),s=r(58241);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=e=>l().createElement("svg",c({viewBox:"0 0 20 20"},e),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 10L14 5.5V9h-3.5L5 3.5 3.5 5l6.04 6H14v3.5l4.5-4.5zM7.04 11.455L3.5 15 5 16.5l3.54-3.545-1.5-1.5z"}));var p=r(87918),d=r.n(p),m=r(71153),f=r.n(m);const g=(0,r(79692).Z)((e=>({expanded:{backgroundColor:"rgba(0, 0, 0, 0.03)"},info:{fontSize:"13px",color:e.palette.text.secondary,wordWrap:"break-word"},icon:{width:"32px",height:"32px",fill:"#fff",backgroundColor:"rgba(177, 92, 189, 1)",borderRadius:"50%",margin:"5px 12px 0 8px"},infoBlock:{display:"flex",flexDirection:"row"},header:{display:"flex",flexDirection:"row",paddingBottom:"5px"},flex:{flex:1},caption:{fontSize:"16px",color:"rgba(0, 0, 0, 0.87)"},title:{display:"flex",flexDirection:"row",alignItems:"center",margin:"6px 0 8px 0"},flag:{height:"12px",width:"12px",stroke:"#000000",fill:"none",margin:"2px 5px 0 5px"},pmReviewCard:{borderTop:"3px solid #E83D40",flexDirection:"column",width:"100%"},date:{fontSize:"13px",color:"rgba(0, 0, 0, 0.87)"},mainInfo:{display:"flex",flexDirection:"column",flex:1}}))),h=e=>{let{date:t,type:r,createdBy:n,step:o,children:c,Actions:p}=e;const m=g(),[h,b]=(0,a.useState)(!1);return l().createElement("div",{className:m.pmReviewCard},l().createElement("div",{className:f()(m.header,{[m.expanded]:h})},l().createElement(u,{className:m.icon}),l().createElement("div",{className:m.mainInfo},l().createElement("div",{className:m.title},l().createElement("div",{className:f()(m.caption,m.flex)},d().text("Match review")),l().createElement(i.Z,{className:m.flag}),l().createElement("span",{className:m.date},d().date(t,"L")),l().createElement(s.Z,{isOpen:h,onClick:()=>{b(!h)}})),l().createElement("div",{className:m.infoBlock},l().createElement("div",{className:m.flex},l().createElement("div",{className:m.info},r),l().createElement("div",{className:m.info},d().text("Created by ${createdBy}",{createdBy:n})),l().createElement("div",{className:m.info},d().text("Step: ${step}",{step:o}))),p))),h?c:null)};h.propTypes={date:o().number,createdBy:o().string,type:o().string,step:o().string,children:o().oneOfType([o().node,o().arrayOf(o().node)]),Actions:o().node};const b=h},5190:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(5407),o=r(44711);const a=(0,n.Z)(o.ZP)},32371:(e,t,r)=>{r.d(t,{U:()=>c});var n=r(24328),o=r.n(n),a=r(87918),l=r.n(a),i=r(99493),s=r(42520);const c=(0,n.memo)((e=>{let{relationTypes:t,selectedRelationTypes:r,single:a,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:m={},disabled:f=!1}=e;const g=(0,n.useMemo)((()=>t.filter(i.Tt2)),[t]);return o().createElement(s.S,{items:g,selectedItemsUris:r,single:a,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:m,disabled:f,label:l().text("Relation type"),dataReltioId:"relation-type-selector",selectionPopupTitle:l().text("Select relation types")})}));c.displayName="RelationTypesSelector"},55299:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n);const a=(0,r(79692).Z)({mark:{color:"red"}}),l=()=>{const e=a();return o().createElement("span",{className:e.mark},"*")}},32431:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),a=r(99152),l=r(6487),i=r(88611);const s=(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 c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=e=>{let{value:t,tabs:r=[],onChange:n,tabClasses:u}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["value","tabs","onChange","tabClasses"]);const d=s(),m=(e,t)=>o().createElement("span",{className:d.labelWrapper},o().createElement(i.C,{value:e},o().createElement("span",{className:d.label},e)),t);return o().createElement(a.Z,c({value:t,onChange:(e,t)=>n(t),classes:{root:d.tabsRoot,scrollButtons:d.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},p),r.map((e=>{let{label:t,value:r,additionalLabel:n,dataReltioId:a}=e;return o().createElement(l.Z,{classes:u||{root:d.tabRoot},key:r,value:r,label:m(t,n),"data-reltio-id":a})})))}},16025:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),a=r(94574),l=r(63015);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}function c(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=e=>{let{classes:t}=e,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes"]);const n=(0,l.y)({});return o().createElement(a.Z,i({classes:s({},t,{focused:n.white})},r))}},43775:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(24328),o=r.n(n),a=r(13980),l=r.n(a),i=r(94079);const s=(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 c=r(79026);const u=e=>{let{value:t,onChange:r,options:a,classes:l={},emptyLabel:u}=e;const p=s(),[d,...m]=a,f=0===m.length;(0,n.useEffect)((()=>{f&&t!==d.value&&r(d.value)}),[d.value]);const g=!!u;return o().createElement("div",{className:l.root},f?o().createElement(i.Typography,{className:l.onlyValue||p.onlyValue,variant:"h6"},d.label):o().createElement(c.Z,{displayEmpty:g,disableUnderline:!0,classes:{select:l.select||p.select},TextFieldProps:{classes:{root:l.textField||p.textField}},MenuProps:{classes:{list:l.selectMenu||p.selectMenu}},value:t||"",entries:g?[{value:"",label:u},...a]:a,onChange:e=>r(e||null)}))};u.propTypes={value:l().string,onChange:l().func,options:l().arrayOf(l().shape({value:l().string,label:l().string})),classes:l().shape({root:l().string,onlyValue:l().string,select:l().string,selectMenu:l().string,textField:l().string}),emptyLabel:l().string};const p=u},31517:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(24328),o=r.n(n),a=r(24737),l=r(13980),i=r.n(l),s=r(94079);const c=(0,r(79692).Z)({value:{color:"rgba(0, 0, 0, 0.87)"},placeholder:{color:"rgba(0, 0, 0, 0.38)",fontSize:"14px !important"}}),u=e=>{let{selectProps:{menuIsOpen:t},data:{label:r}}=e;const n=c();return!t&&o().createElement(s.Typography,{variant:"body2",classes:{root:n.value}},r)};u.propTypes={selectProps:i().shape({menuIsOpen:i().bool}),data:i().shape({label:i().string})};const p=u;function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}const m=e=>{const t=c(),{innerProps:r={},children:n}=e;return o().createElement(s.Typography,d({className:t.placeholder},r),n)};function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}m.propTypes={children:i().node,innerProps:i().object,selectProps:i().object.isRequired};const g={SingleValue:p,Placeholder:m},h=(0,n.memo)((e=>{let t=f({},e);return o().createElement(a.Z,f({components:g},t))}))},71530:(e,t,r)=>{r.d(t,{Z:()=>E});var n=r(24328),o=r.n(n);const a=e=>{let{value:t}=e;return t||null},l=e=>{let{label:t}=e;return t||null},i=e=>{let{columnValue:t,rowData:r,setHoveredColumn:n,resetHoveredColumn:l}=e;const i=r.cellRenderer||a,s=n?()=>n(t):void 0;return o().createElement("td",{onMouseOver:s,onMouseLeave:l},o().createElement(i,{value:t[r.id]}))};var s=r(14940),c=r(13896),u=r(42484);let p;!function(e){e.Column="Column",e.Row="Row"}(p||(p={}));var d=r(79692);const m=(0,d.Z)((e=>({tableData:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:0,left:"50%",cursor:"move",transition:"opacity 0.3s",transform:"translateX(-50%) rotate(90deg)",zIndex:5},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary}}))),f=e=>{let{columnValue:t,rowData:r,index:l,onMoveColumn:i,shouldRenderDragIndicator:d,setHoveredColumn:f,resetHoveredColumn:g}=e;const h=m(),b=o().useRef(null),y=o().useRef(null),v=r.cellRenderer||a,[{targetId:x},w]=(0,c.useDrop)({accept:p.Column,hover:(e,r)=>{var n;if(!b.current)return;const o=e.index,a=l;if(o===a)return;const s=null===(n=b.current)||void 0===n?void 0:n.getBoundingClientRect(),c=(s.right-s.left)/2,u=r.getClientOffset().x-s.left;o<a&&u<c||o>a&&u>c||(i(e.columnValue.id,t.id),e.index=a)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:C,sourceId:E},O,Z]=(0,c.useDrag)({item:{type:p.Column,index:l,getColumnWidth:()=>{var e;return null==b||null===(e=b.current)||void 0===e?void 0:e.offsetWidth},columnValue:t,rowData:r},isDragging:e=>e.getItem().index===l,collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});(0,n.useEffect)((()=>{Z((0,u.r)(),{captureDraggingState:!0}),w(b),O(y)}),[]);const S=f?()=>f(t):void 0;return o().createElement("td",{style:{opacity:C},ref:b,className:h.tableData,"data-source-id":E,"data-target-id":x,onMouseOver:S,onMouseLeave:g},d&&o().createElement("div",{ref:y,className:h.dragIndicator},o().createElement(s.Z,{className:h.dragIndicatorIcon})),o().createElement(v,{value:t[r.id]}))},g=(0,d.Z)((e=>({tableHead:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",cursor:"move",transition:"opacity 0.3s"},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary}}))),h=e=>{let{rowData:t,isDraggable:r,dragRef:n}=e;const a=g(),i=t.headCellRenderer||l;return o().createElement("th",{className:a.tableHead},r&&o().createElement("div",{ref:n,className:a.dragIndicator},o().createElement(s.Z,{className:a.dragIndicatorIcon})),o().createElement(i,t))},b=e=>{let{rowData:t,columnsData:r,index:n,onMoveColumn:a,setHoveredColumn:l,resetHoveredColumn:s}=e;const c=0===n;return o().createElement("tr",{className:t.rowClassName},o().createElement(h,{rowData:t,isDraggable:!1}),r.map(((e,r)=>{const n=e.isDraggable,u=c&&n;return a?o().createElement(f,{key:e.id||r,columnValue:e,rowData:t,index:r,onMoveColumn:a,shouldRenderDragIndicator:u,setHoveredColumn:l,resetHoveredColumn:s}):o().createElement(i,{key:e.id||r,rowData:t,columnValue:e,setHoveredColumn:l,resetHoveredColumn:s})})))},y=e=>{let{rowData:t,index:r,columnsData:a,onMoveRow:l,onMoveColumn:s,setHoveredColumn:u,resetHoveredColumn:d}=e;const m=o().useRef(null),g=o().useRef(null),[{targetId:b},y]=(0,c.useDrop)({accept:p.Row,hover:(e,n)=>{if(!m.current)return;const o=e.index,a=r;if(o===a)return;const i=m.current.getBoundingClientRect(),s=(i.bottom-i.top)/2,c=n.getClientOffset().y-i.top;o<a&&c<s||o>a&&c>s||(l(e.id,t.id),e.index=a)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:v,sourceId:x},w,C]=(0,c.useDrag)({item:{type:p.Row,index:r,id:t.id},collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});return(0,n.useEffect)((()=>{C(y(m)),w(g)}),[]),o().createElement("tr",{className:t.rowClassName,style:{opacity:v},ref:m,"data-target-id":b,"data-source-id":x},o().createElement(h,{rowData:t,isDraggable:!0,dragRef:g}),a.map(((e,r)=>s?o().createElement(f,{key:e.id||r,columnValue:e,rowData:t,index:r,onMoveColumn:s,shouldRenderDragIndicator:!1,setHoveredColumn:u,resetHoveredColumn:d}):o().createElement(i,{key:e.id||r,columnValue:e,rowData:t,setHoveredColumn:u,resetHoveredColumn:d}))))},v=e=>{let{columnWidth:t,columnHeight:r,item:n}=e;const{rowData:l,columnValue:i}=n,s=l.cellRenderer||a;return o().createElement("div",{style:{width:t,height:r,background:"rgba(245,245,245, .5)"}},o().createElement(s,{value:i[l.id]}))},x=(0,d.Z)({dragLayer:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1300,pointerEvents:"none"}}),w=(e,t,r)=>{const n=(null==e?void 0:e.getBoundingClientRect())||{x:0,y:0},o=`translate(${(null==t?void 0:t.x)-(null==n?void 0:n.x)-r/2}px, ${(null==t?void 0:t.y)-(null==n?void 0:n.y)}px`;return{display:"flex",transform:o,WebkitTransform:o}},C=e=>{var t;let{columnHeight:r}=e;const a=x(),l=(0,n.useRef)(),{isDragging:i,clientOffset:s,item:u}=(0,c.useDragLayer)((e=>({isDragging:e.isDragging(),clientOffset:e.getClientOffset(),item:e.getItem()})));if(!i||!u)return null;const d=null===(t=u.getColumnWidth)||void 0===t?void 0:t.call(u);return o().createElement("div",{className:a.dragLayer,ref:l},o().createElement("div",{style:w(l.current,s,d)},u.type===p.Column&&o().createElement(v,{columnWidth:d,columnHeight:r,item:u})))},E=(0,n.memo)((e=>{var t;let{className:r,rowsData:a,columnsData:l,theadRowsNumber:i=0,onMoveRow:s,onMoveColumn:c,setHoveredColumn:u,resetHoveredColumn:p}=e;const d=(0,n.useRef)(null),m=null==d||null===(t=d.current)||void 0===t?void 0:t.offsetHeight,f=!!s||!!c;return o().createElement(o().Fragment,null,f&&o().createElement(C,{columnHeight:m}),o().createElement("table",{ref:d,className:r},i>0&&o().createElement("thead",null,a.slice(0,i).map(((e,t)=>o().createElement(b,{key:e.id||t,rowData:e,columnsData:l,index:t,onMoveColumn:c,setHoveredColumn:u,resetHoveredColumn:p})))),o().createElement("tbody",null,a.slice(i).map(((e,t)=>s?o().createElement(y,{key:e.id||t,index:t+i,rowData:e,columnsData:l,onMoveRow:s,onMoveColumn:c,setHoveredColumn:u,resetHoveredColumn:p}):o().createElement(b,{key:e.id||t,index:t+i,rowData:e,columnsData:l,onMoveColumn:c,setHoveredColumn:u,resetHoveredColumn:p}))))))}))},77565:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(24328),o=r.n(n),a=r(13980),l=r.n(a),i=r(94079),s=r(83543);const c=(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 u=r(71153),p=r.n(u),d=r(87918),m=r.n(d);const f=e=>{let{active:t,onClick:r,className:n}=e;const a=c();return o().createElement(i.Link,{className:p()(a.viewMoreLessLink,n),onClick:r,underline:"none"},o().createElement(s.Z,{className:p()(a.arrow,{[a.rotated]:t})}),t?m().text("View less"):m().text("View more"))};f.propTypes={active:l().bool,onClick:l().func,className:l().string};const g=f},63072:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(24328),o=r(99493),a=r(56764);const l=e=>{let{filter:t,max:r,offset:l,entityUri:i}=e;return(0,n.useCallback)((async()=>{const e=(0,a.U)(t),n=await(0,o.k6v)({filter:e,max:r,offset:l,entityUri:i}),{total:s}=await(0,o.FEC)({filter:e,entityUri:i});return{data:n,total:s}}),[t,r,l,i])}},52049:(e,t,r)=>{r.d(t,{B:()=>o});var n=r(24328);const o=r.n(n)().createContext("");o.displayName="IdContext"},97094:(e,t,r)=>{r.d(t,{S:()=>o});var n=r(24328);const o=r.n(n)().createContext((()=>{}));o.displayName="SnackbarContext"},39450:(e,t,r)=>{r.d(t,{m:()=>o});var n=r(24328);const o=r.n(n)().createContext(null);o.displayName="ViewIdContext"},78620:(e,t,r)=>{r.d(t,{R:()=>u});var n=r(24328),o=r(99493),a=r(17440),l=r(52730),i=r(87638);function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}function c(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=e=>{let{connection:t,onConnectionChange:r,relatedEntity:c}=e;const u=(0,l.useSelector)(i.ZP.selectors.getMetadata),p=(0,n.useCallback)((e=>r(s({},t,{relation:e}))),[t,r]),d=(0,n.useCallback)((0,a.pipe)((0,o.zE1)(t.relation),p),[t.relation,p]),m=(0,n.useCallback)((0,a.pipe)((0,o.lIv)(t.relation),p),[t.relation,p]),f=(0,n.useCallback)((0,a.pipe)((0,o.Ilm)(t.relation),p),[t.relation,p]),g=(0,n.useCallback)((e=>{let{type:n,direction:a}=e;const l={entity:t.entity&&(0,o.eHk)(a===o.Nsj.OUT,t.entity,c,u,(0,o.V3K)(u,n))?t.entity:null,relation:s({},t.relation,{attributes:{},type:n,direction:a})};r(l)}),[t,r,c,u]);return{onAddAttributes:d,onChangeAttribute:m,onRemoveAttribute:f,onChangeEntity:(0,n.useCallback)((e=>r(s({},t,{entity:e}))),[t,r]),onChangeRelationType:g}}},92898:(e,t,r)=>{r.d(t,{q:()=>o});var n=r(24328);const o=(e,t)=>{const r=(0,n.useRef)(!1);(0,n.useEffect)((()=>{t&&!r.current&&(r.current=!0,e())}),[e,t])}},60641:(e,t,r)=>{r.d(t,{w:()=>i});var n=r(24328),o=r(20562);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>{let{getSavedState:t,saveState:r,entityTypeUri:l}=e;const[i,s]=(0,n.useState)({}),[c,u]=(0,n.useState)(null),[p,d]=(0,n.useState)(!1);return(0,o.D)((()=>{c&&(s(a({},i,c)),u(null))}),[l]),(0,n.useEffect)((()=>{t().then((e=>{s(e||{})})).then((e=>d(!0))).catch((e=>d(!0)))}),[]),{isLoaded:p,savedState:i[l],updateSavedState:e=>{const t={[l]:e};u(t),r(a({},i,t))}}}},24605:(e,t,r)=>{r.d(t,{D:()=>l});var n=r(24328),o=r.n(n),a=r(94079);const l=()=>{const[e,t]=(0,n.useState)(!1),[r,l]=(0,n.useState)(""),i=(0,n.useCallback)((()=>{t(!1),l("")}),[]),s=(0,n.useCallback)((e=>{t(!0),l(e)}),[]);return{SnackbarRenderer:(0,n.useCallback)((()=>o().createElement(a.Portal,{container:document.body},o().createElement(a.Snackbar,{open:e,autoHideDuration:5e3,onClose:i,message:r}))),[e,i,r]),showSnackbarMessage:s}}},71543:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const l=e=>o().createElement("svg",a({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M14 11v-1a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1h-3v1a1 1 0 01-1 1H6a1 1 0 01-1-1v-4a1 1 0 011-1h4a1 1 0 011 1v1h3z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd"}))},70524:(e,t,r)=>{r.r(t),r.d(t,{ALWAYS_VISIBLE_TYPE_URIS:()=>nn.S,ActionButton:()=>$r.K,ActionButtonMode:()=>$r.N,ActivityLog:()=>n.Z,ActivityLogFilter:()=>o.Z,ActivityTypes:()=>a.I,AddWorkflowButton:()=>Hr.G,ArrowExpandButton:()=>pr.Z,AsyncMountContext:()=>$n.g,AttributeGroupIcon:()=>Xr.Z,AttributeListItem:()=>c.Z,AttributeTitle:()=>er.Z,AttributesFiltersBuilder:()=>Kr.Z,AttributesFiltersButton:()=>Jr.Z,AttributesList:()=>d.Z,AttributesPager:()=>x.ZP,AttributesTable:()=>hr.Z,AttributesView:()=>u.Z,AutoSizeList:()=>T.Z,AvatarWithFallback:()=>D.Z,BarChart:()=>te.Z,BasicAttributeSelector:()=>Yr.Z,BasicTable:()=>j.Z,BasicTableContext:()=>M.X,BasicTablePagination:()=>V.Z,BasicView:()=>J.Z,BasicViewContent:()=>K.Z,BasicViewHeader:()=>ee.Z,BlockImageGalleryDialogContext:()=>Jn.P,BranchDecorator:()=>p.Z,COMMENTS_CONTAINER_VISIBILITY_AREA:()=>rn.U,CardinalityMessage:()=>w.Z,ChartsFactory:()=>ae.Z,ClickAwayProvider:()=>de,CollaborationContext:()=>Kn.h,CollaborationItem:()=>me.J,CollapseButton:()=>fe.Z,CollapseRowButton:()=>$.Z,ColorBar:()=>ge.Z,ColumnFilterType:()=>tn.Dq,ColumnsDataType:()=>tn.uz,ColumnsSettings:()=>F.Z,ColumnsSettingsPopup:()=>L.G,CommentsContainer:()=>he.Z,ConfigureColumnsPopup:()=>xe.Z,ConfirmDeleteDialog:()=>gr.Z,ConfirmationDialog:()=>fr.Z,ConnectionEditor:()=>en.n,ConnectionRelationTypeSelector:()=>we.Z,CrosswalkDragLayer:()=>vr.Z,CrosswalkEditor:()=>wr.Z,CrosswalkType:()=>Cr.Y,CrosswalksDisplayProvider:()=>ao.hR,CustomAction:()=>dn.W,DEFAULT_OVERLAY_OPTIONS:()=>on.r,DataTypeValue:()=>Ce.Z,DataTypeValueEditor:()=>De.Z,DateEditor:()=>Te.Z,DateRangeEditor:()=>Re.Z,DateRangeTypes:()=>ho.K,DefaultCellValueRenderer:()=>W.Z,DeltaTypes:()=>l.w,Drawer:()=>Ee.Z,DropDownEditor:()=>Se.Z,DropDownMenuButton:()=>Oe.Z,DropDownSelector:()=>Ze.Z,DropdownIndicator:()=>be.Z,DropdownIndicatorWithIconButton:()=>ye.Z,EMPTY_STATE_ICONS:()=>Fe.B9,EMPTY_STATE_VARIANTS:()=>Fe.tC,EditableAttribute:()=>E.Z,EditableImageAttributesLine:()=>k.Z,EmptyState:()=>Fe.ZP,EmptyStub:()=>an.Vd,EntitiesMapContext:()=>oo.X,EntityAvatar:()=>He.Z,EntityContext:()=>uo.u,EntityCreator:()=>m.Z,EntityMarkerContext:()=>io.P,EntitySelector:()=>f.Z,EntityTypeBadge:()=>Le.Z,EntityTypeIcon:()=>Ve.Z,EntityTypesSelector:()=>We.Q,EntityUriLink:()=>Ue.Z,ErrorBoundary:()=>_e.Z,ErrorMessage:()=>Zr.Z,ErrorPopup:()=>qe.Z,ErrorWrapper:()=>Ge.Z,ExpandableSearchInput:()=>ar.i,ExpandedAttributesProvider:()=>lo.R,ExpandedValueTooltip:()=>$e.C,FacetViewHeader:()=>Qe.Z,FileTypeEditor:()=>Ne.Z,FilterButton:()=>H.Z,FilterValueEditor:()=>Ie.Z,FlipCard:()=>at,HideOnShrink:()=>lt.Z,HierarchicalAttributeTooltip:()=>it.Z,HighlightedValuesContext:()=>go.j,Highlighter:()=>st.Z,HistoryActivityType:()=>jr.M,HistoryChangeTypes:()=>Nr.b,HistoryDiffContext:()=>Qn.m,HistoryHeader:()=>Rr.Z,HistoryPanelEmptyState:()=>Dr.Z,HistoryView:()=>Ar.Z,IdContext:()=>no.B,ImageAttributesLine:()=>S.Z,ImageGalleryDialog:()=>ct.C,ImportButton:()=>ut.Z,ImportModes:()=>ut.E,InlineAttributesPager:()=>sr.Z,InlineImageAttribute:()=>ur.Z,InlineNestedAttribute:()=>ir.Z,InlineReferenceAttribute:()=>cr.Z,LightArrowTooltip:()=>dr.Z,LinearLoadIndicator:()=>pt.Z,Link:()=>dt.Z,LoadingSpinner:()=>mt.Z,MAP_DRAWING_MODES:()=>on.vl,MAP_MINIMUM_SCALE_RADIUS:()=>on.Pi,Marginator:()=>mr.Z,MatchRulesBlock:()=>ft.Z,MenuWithPopper:()=>ve.Z,MergeButton:()=>qr.H,ModeSwitcher:()=>yt.Z,ModeSwitcherSelect:()=>vt.T,MoreAttributesButton:()=>g.Z,MultiSelect:()=>It.Z,MultiValueChip:()=>Pe.Z,MultipleInput:()=>xt.Z,NestedAttribute:()=>I.Z,NestedAttributeEditor:()=>h.Z,NoData:()=>Me.J,NoResults:()=>Be.X,NotMatchButton:()=>Gr.i,NumberEditor:()=>Ae.Z,OvIcon:()=>Mr.Z,PieChart:()=>re.Z,PivotingAttributeContext:()=>to.J,Popper:()=>wt.Z,PopupBoundariesContext:()=>Yn.p,PopupWithArrow:()=>Ct.Z,PotentialMatchReviewCard:()=>Et.Z,ProfileBand:()=>Ot.Z,ProfileBandHistory:()=>Tr.Z,ProfileBandNavigation:()=>X.a,ProfileCard:()=>Zt.Z,ProfileMatchCard:()=>_r.M,ProfilePerspectiveViewContext:()=>ro.j,ProfilesList:()=>Qr.Z,QueryBuilderAttributeDataType:()=>tn.eB,QueryBuilderAttributeType:()=>tn.Xw,QueryBuilderRow:()=>St.Z,QueryBuilderRowsGroup:()=>kt.Z,ReactSelectOptionFilters:()=>Pt.Z,ReactSortableTree:()=>At.ZP,ReactSortableTreeHandlers:()=>Rt.ZP,ReactSortableTreeUtils:()=>Tt.ZP,ReadOnlyAttribute:()=>C.Z,ReadOnlyAttributeValuesBlock:()=>O.Z,ReadOnlyAttributesList:()=>Z.Z,ReadOnlyAttributesPager:()=>R.Z,ReferenceAttribute:()=>P.Z,ReferenceAttributeEditor:()=>b.Z,RelatedObjectUrisContext:()=>co.A,RelationEditor:()=>Br.Z,RelationTypeSelector:()=>y.Z,RelationTypesSelector:()=>ze.U,ReloadFacetProvider:()=>po.DX,ReltioGridLayout:()=>Dt.Z,ReltioMap:()=>Or.Z,RequestStates:()=>ho.o,ResizablePanes:()=>jt.Z,RowCellAutoSizer:()=>G.Z,SandboxAPIContext:()=>Bn.Y,ScrollableTabs:()=>lr.Z,SearchFiltersContext:()=>mo.I,SearchInput:()=>Nt.Z,SelectionPopup:()=>Ft.Z,SelectionPopupPopper:()=>zt,SelectorWithOnlyOptionAutoSelect:()=>Ut.Z,SideButtonsPanel:()=>_t.G,SidePanel:()=>Gt.h,SidePanelContentHeader:()=>$t.P,SidePanelEmptyState:()=>qt.Z,SimpleAttribute:()=>A.Z,SimpleAttributeEditor:()=>v.Z,SimpleDropDownSelector:()=>Qt.Z,SimpleMatchRulesBlock:()=>gt.Z,SimpleMatchRulesBuilder:()=>ht.Z,SmallIconButton:()=>Xt.Z,SmallIconButtonWithTooltip:()=>Yt.k,SnackbarContext:()=>fo.S,SortingType:()=>tn.nI,SourceCrosswalksRow:()=>xr.Z,SourceIcon:()=>Jt.Z,Spacer:()=>Kt.Z,TableContext:()=>M.X,TableWithBars:()=>ne.Z,TextEditor:()=>ke.Z,TimestampEditor:()=>je.Z,TransitiveMatchBlock:()=>bt.Z,TreeChart:()=>oe.Z,UsersContext:()=>eo.s,VerticalDivider:()=>tr.Z,VerticalHeadingsTable:()=>rr.Z,ViewIdContext:()=>Xn.m,ViewMoreToggle:()=>nr.Z,VirtualGroupedList:()=>or.Z,WhiteSearchInput:()=>Mt.Z,WorkflowComments:()=>Lr.V,WorkflowTaskCard:()=>Fr.s,WorkflowTasksContext:()=>so.O,basicTableViewState:()=>q.ZP,buildColumnsFilter:()=>_.Tz,columnFilterToMdmFilter:()=>_.su,createStandardAction:()=>an.zD,defaultGetRowCellHeight:()=>z.Z,defaultRenderRowCell:()=>U.Z,getChecked:()=>an.IR,getValue:()=>an.NA,groupCrosswalksByTypesAndSources:()=>Er.o,isIE:()=>an.w1,mergeClasses:()=>an.ze,noop:()=>an.ZT,parseJSON:()=>an.Rx,stopPropagation:()=>an.UW,toggleSortOrder:()=>an.Dh,useAPI:()=>pn.E,useActions:()=>un.o,useActivitiesLoader:()=>i.d,useAsyncMount:()=>mn.S,useAttributeExpanded:()=>lo.Q,useBasicTableCellRenderer:()=>Y.Z,useClickableStyle:()=>ie.d,useCollaboration:()=>fn.C,useCommentsEntitiesMap:()=>gn.Q,useConfigPermissions:()=>Sn.l,useCrosswalkActions:()=>yr.P,useCrosswalkColor:()=>ao.nX,useCrosswalkFocus:()=>ao.BF,useCrosswalkHighlight:()=>ao.pu,useCustomScripts:()=>zn,useDidUpdateEffect:()=>hn.D,useDynamicRowCellHeight:()=>Q.Z,useEditableConnection:()=>Un.R,useHighlightedCrosswalks:()=>ao.RT,useHistory:()=>kr.k,useHistoryDiff:()=>Ir.u,useHistoryEnabled:()=>Pr.C,useHistorySlice:()=>Sr.a,useKeyboardNavigation:()=>Bt.t,useMarkAsNotMatchRequest:()=>An.m,useMatchesLoader:()=>kn.s,useMergeAllRequest:()=>Pn._,useModifiedEntity:()=>br.Q,usePagingSimulator:()=>In.a,usePrevious:()=>bn.D,useProfileActivitiesLoader:()=>s.b,useReadableSearchState:()=>_n.v,useRelationTypeSelector:()=>yn.n,useRelationsLoader:()=>vn.a,useReloadAllFacets:()=>po.Hc,useReloadFacet:()=>po.T,useRunOnceAfterValueInitialization:()=>xn.q,useSafePromise:()=>wn._,useSavedState:()=>Cn.a,useSavedStateForEntityType:()=>qn.w,useSnackbar:()=>Gn.D,useUsers:()=>En.U,useWhyDidYouUpdate:()=>Zn,useWorkflowAssignee:()=>Vr.r,useWorkflowCheckPermission:()=>zr.Z,useWorkflowComments:()=>Wr.W,useWorkflowTasks:()=>Ur.v,withAsyncMount:()=>sn.Z,withContext:()=>cn.l,withFilterAtBottom:()=>B.Z,withPercents:()=>le.Z,withTableContext:()=>N.Z,withTooltip:()=>ln.Z});var n=r(88234),o=r(93438),a=r(31537),l=r(99601),i=r(67486),s=r(63072),c=r(7785),u=r(8962),p=r(95974),d=r(91262),m=r(31588),f=r(81077),g=r(63459),h=r(62630),b=r(2163),y=r(27185),v=r(39462),x=r(57161),w=r(93140),C=r(81303),E=r(96698),O=r(87760),Z=r(80931),S=r(13074),k=r(24338),I=r(28751),P=r(72148),A=r(12068),R=r(24625),T=r(30739),D=r(97991),j=r(85709),N=r(32528),M=r(13688),B=r(67353),F=r(60894),H=r(1876),L=r(47458),V=r(58662),W=r(64091),z=r(25461),U=r(14838),_=r(99341),q=r(26180),G=r(97946),$=r(74566),Q=r(74402),Y=r(46177),X=r(93873),J=r(10237),K=r(4094),ee=r(92778),te=r(40801),re=r(79527),ne=r(83535),oe=r(3292),ae=r(66675),le=r(84900),ie=r(99256),se=r(24328),ce=r.n(se),ue=r(1292);function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}const de=e=>ce().createElement(ue.Z,pe({mouseEvent:"onMouseDown"},e));var me=r(9371),fe=r(58241),ge=r(43290),he=r(94646),be=r(94113),ye=r(96808),ve=r(36179),xe=r(89119),we=r(7154),Ce=r(72768),Ee=r(27652),Oe=r(55847),Ze=r(24737),Se=r(79026),ke=r(81174),Ie=r(24754),Pe=r(82455),Ae=r(31890),Re=r(46923),Te=r(8459),De=r(25310),je=r(43305),Ne=r(27113),Me=r(6230),Be=r(94889),Fe=r(21077),He=r(53180),Le=r(68439),Ve=r(31254),We=r(59725),ze=r(32371),Ue=r(31039),_e=r(2256),qe=r(585),Ge=r(26579),$e=r(88611),Qe=r(93416),Ye=r(79692);const Xe=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?Xe(t):Je(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",zIndex:2,display:"flex"}}});var rt=r(71153),nt=r.n(rt);const ot=(0,se.forwardRef)(((e,t)=>{let{cardZIndex:r="auto",direction:n="vertical",isCardFlipped:o=!1,children:a,className:l}=e;const[i,s]=(0,se.useState)(o),c=tt({cardZIndex:r,direction:n,isFlipped:i});return(0,se.useEffect)((()=>{o!==i&&s(o)}),[o,i]),ce().createElement("div",{className:nt()(c.flipper,l),ref:t},ce().createElement("div",{"data-id":"front",className:c.front},a[0]),ce().createElement("div",{"data-id":"back",className:c.back},a[1]))})),at=ot;var lt=r(75512),it=r(88548),st=r(27239),ct=r(81853),ut=r(81727),pt=r(99136),dt=r(55400),mt=r(37014),ft=r(83037),gt=r(74615),ht=r(66792),bt=r(93301),yt=r(83401),vt=r(22860),xt=r(48809),wt=r(66130),Ct=r(59601),Et=r(35071),Ot=r(57304),Zt=r(93517),St=r(23598),kt=r(41315),It=r(92575),Pt=r(50905),At=r(58600),Rt=r(65758),Tt=r(21113),Dt=r(67268),jt=r(96955),Nt=r(94574),Mt=r(16025),Bt=r(54763),Ft=r(97820),Ht=r(25480),Lt=r(94079),Vt=r(27556);function Wt(){return Wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wt.apply(this,arguments)}const zt=e=>{let{open:t,anchorEl:r,className:n,onClose:o,containerWidth:a,containerHeight:l,paperProps:i,listContent:s,externalInputField:c,classes:u={}}=e;const p=(0,Ht.Z)({containerWidth:a,containerHeight:l});return ce().createElement("div",{className:u.root},c,ce().createElement(wt.Z,{open:t,onClose:o,anchorEl:r,placement:"bottom-start",transition:!0},(e=>{let{TransitionProps:t}=e;return ce().createElement(Lt.Grow,t,ce().createElement(Vt.Z,Wt({elevation:2},i),ce().createElement("div",{className:nt()(p.container,n),style:{width:a}},ce().createElement("div",{className:p.list},s))))})))};var Ut=r(43775),_t=r(39827),qt=r(10159),Gt=r(52043),$t=r(17308),Qt=r(31517),Yt=r(8818),Xt=r(22385),Jt=r(94175),Kt=r(51229),er=r(95629),tr=r(30553),rr=r(71530),nr=r(77565),or=r(44890),ar=r(32152),lr=r(32431),ir=r(58896),sr=r(4073),cr=r(85592),ur=r(22246),pr=r(19592),dr=r(94111),mr=r(31269),fr=r(81137),gr=r(85209),hr=r(20982),br=r(85965),yr=r(39417),vr=r(48017),xr=r(52017),wr=r(79769),Cr=r(77243),Er=r(90186),Or=r(79485),Zr=r(76134),Sr=r(57730),kr=r(85890),Ir=r(76536),Pr=r(71820),Ar=r(54362),Rr=r(91515),Tr=r(3409),Dr=r(6674),jr=r(65942),Nr=r(55912),Mr=r(91181),Br=r(11013),Fr=r(34120),Hr=r(26789),Lr=r(89140),Vr=r(5434),Wr=r(43477),zr=r(22994),Ur=r(61756),_r=r(49734),qr=r(93428),Gr=r(30885),$r=r(98808),Qr=r(82842),Yr=r(99757),Xr=r(79821),Jr=r(63172),Kr=r(95464),en=r(14363),tn=r(94656),rn=r(19603),nn=r(78836),on=r(97090),an=r(31276),ln=r(83348),sn=r(49965),cn=r(48852),un=r(86361),pn=r(33165),dn=r(77282),mn=r(96479),fn=r(7718),gn=r(26313),hn=r(20562),bn=r(30634),yn=r(89846),vn=r(37152),xn=r(92898),wn=r(67218),Cn=r(2804),En=r(17554);function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Zn=(e,t)=>{const r=(0,se.useRef)();(0,se.useEffect)((()=>{if(r.current){const n=Object.keys(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){On(e,t,r[t])}))}return e}({},r.current,t)),o={};n.forEach((e=>{r.current[e]!==t[e]&&(o[e]={from:r.current[e],to:t[e]})})),Object.keys(o).length&&console.log("[why-did-you-update]",e,o)}r.current=t}))};var Sn=r(52016),kn=r(28741),In=r(20449),Pn=r(84504),An=r(59119),Rn=r(52730),Tn=r(87638),Dn=r(99493),jn=r(58697),Nn=r.n(jn),Mn=r(17440),Bn=r(60115),Fn=r(26929),Hn=r(53607);function Ln(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Vn(e,t,r[t])}))}return e}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Wn=(e,t)=>(e||[]).some((e=>{const r=new RegExp(`^${e}$`);return e.replace(/\/*$/,"")===t||e&&r.test(t)})),zn=(e,t)=>{let{addInternalRequestInterceptor:r,addInternalResponseInterceptor:n,removeInternalRequestInterceptor:o,removeInternalResponseInterceptor:a}=t;const l=e.map((e=>Ln({},e,{actionId:Nn()()}))),i=(0,Rn.useDispatch)(),s=(0,Rn.useSelector)(Tn.ZP.selectors.getMetadata)||{},c=(0,Rn.useSelector)(Tn.ZP.selectors.getEntity)||{},u=(0,Rn.useSelector)(Tn.ZP.selectors.getUIPath),p=(0,Rn.useSelector)(Tn.ZP.selectors.getReltioPath),d=(0,Rn.useSelector)(Tn.ZP.selectors.getTenant),m=(0,Fn.j)(u,d),f=(0,Rn.useSelector)(Tn.ZP.selectors.getApiPath),g=(0,Rn.useSelector)(Tn.ZP.selectors.getWorkflowPath),h=(0,Rn.useSelector)(Tn.ZP.selectors.getUser),b=(0,Rn.useSelector)(Tn.ZP.selectors.getEntityUri),y=(0,Rn.useSelector)(Tn.ZP.selectors.getWorkflowEnvironmentUrl),v=(0,se.useContext)(Bn.Y),x=(0,zr.Z)(),{type:w,data:C}=(0,Rn.useSelector)(Tn.ZP.selectors.getSearchProviderData)||{},E=e=>i(Tn.ui.actions.openSearch(e)),O=(0,se.useRef)({}),Z=(0,se.useRef)({}),S=(0,se.useRef)({}),k=(e,t)=>{if(e)switch(e.action){case dn.W.REQUEST:var r,n;if("ui"!==(null===(r=e.params)||void 0===r||null===(n=r.headers)||void 0===n?void 0:n.origin))(0,Hn.U)(Ln({name:e.params.name,paramObject:e,permissions:l[0].permissions,worker:t,metadata:s,config:{action:l[0]},user:h,apiPath:f,tenant:d,workflowPath:g,entity:c,entityUri:b,environment:y,query:"search"===w?null==C?void 0:C.query:null,openSearch:E,workflowCheckPermission:x},v));else{const{headers:t,id:r,url:n,method:o,data:a}=e.params,l=n.replace(p,f);O.current[t.requestId]&&(O.current[t.requestId].next(l,Ln({},a,{id:r,task:e,headers:t,method:o})),O.current=(0,Mn.omit)([t.requestId],O.current))}break;case dn.W.RETURN_PROCESSED_API_RESPONSE:case dn.W.RETURN_PROCESSED_API_REQUEST:{const{id:t,data:r}=e.params;Z.current[t]&&(Z.current[t].next(r),Z.current=(0,Mn.omit)([t],Z.current));break}}};(0,se.useEffect)((()=>(S.current=l.reduce(((e,t)=>Ln({},e,{[t.actionId]:(0,Dn.QWZ)(m,t.files,k)})),S.current),()=>{Object.keys(S.current).forEach((e=>{S.current[e].terminate()}))})),[e]);const I=e=>{let{options:t={},url:r,next:n}=e;const o=r.startsWith("/")&&!r.startsWith(f)?`${p}/api/${d}${r}`:`${p}${r.replace(f,"")}`,a=(0,Mn.pipe)((0,Mn.map)((0,Mn.pick)(["actionId","processApiRequest"])),(0,Mn.find)((e=>{let{processApiRequest:t}=e;return Wn(t,o)})),(0,Mn.prop)("actionId"))(l);if(a){const e=Nn()();O.current=Ln({},O.current,{[e]:{options:t,next:n,id:e}}),S.current[a].postMessage({action:"apiRequest",id:e,url:o,method:t.method,headers:Ln({},t.headers,{origin:"ui",requestId:e,actionId:a}),data:t})}else n(r,t)},P=e=>{var t;let{url:r,response:n,next:o,options:a,abort:i}=e;if("ui"===(null==a||null===(t=a.headers)||void 0===t?void 0:t.origin))n.json().then((e=>{var t,r,n;Z.current=Ln({},Z.current,{[a.headers.requestId]:{next:o}}),S.current[null===(t=a.headers)||void 0===t?void 0:t.actionId].postMessage({action:"response",result:{data:e},id:null==a?void 0:a.id,name:null==a||null===(r=a.task)||void 0===r||null===(n=r.params)||void 0===n?void 0:n.name})})).catch((e=>{i(e)}));else{const e=`${p}${r.replace(f,"")}`,t=(0,Mn.pipe)((0,Mn.map)((0,Mn.pick)(["actionId","processApiResponse"])),(0,Mn.find)((t=>{let{processApiResponse:r}=t;return Wn(r,e)})),(0,Mn.prop)("actionId"))(l);if(t){const r=Nn()();n.json().then((n=>{Z.current=Ln({},Z.current,{[r]:{next:o}}),S.current[t].postMessage({action:"apiResponse",id:r,url:e,method:a.method,data:n})})).catch((e=>{i(e)}))}else o(n)}};(0,se.useEffect)((()=>{if(!(0,Dn.O27)(e))return r(I),n(P),()=>{o(I),a(P)}}),[e])};var Un=r(78620),_n=r(41188),qn=r(60641),Gn=r(24605),$n=r(7142),Qn=r(26005),Yn=r(30268),Xn=r(39450),Jn=r(69891),Kn=r(3515),eo=r(49759),to=r(60995),ro=r(26481),no=r(52049),oo=r(31274),ao=r(63149),lo=r(66095),io=r(91676),so=r(94150),co=r(78101),uo=r(3185),po=r(98884),mo=r(56259),fo=r(97094),go=r(43600),ho=r(67885)}}]);
|