@reltio/remotes 1.4.1332 → 1.4.1334

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/4843.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4843],{34843:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ACTIVITY_TYPES:()=>i.IL3,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,AllDateRangeValues:()=>i.XYV,ApiErrorCode:()=>i.Xt7,AttributeErrorType:()=>i.wfT,AttributeTypeType:()=>i.EMD,AttributeValuePathItemType:()=>i.HAc,AuditAttrTypes:()=>i.PEf,CardinalityType:()=>i.oA3,ChartTypes:()=>i.$XE,CollaborationAttrTypes:()=>i.eWf,CollaborationObjectTypes:()=>i.q7e,ComplexAttributeType:()=>i.KVe,ConfigPermissions:()=>i.WVQ,ConnectionEntityType:()=>i.oZZ,ConnectionRelationType:()=>i.bNA,ConnectionType:()=>i.Rjq,CrosswalksAttrTypes:()=>i.G39,CustomAction:()=>i.W0P,CustomScriptPlatform:()=>i.X1H,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeValues:()=>i.lL_,Directions:()=>i.Nsj,DraftMarks:()=>i.psV,EntityAttrTypes:()=>i.xPW,EntityType:()=>i.pyR,EntityTypeType:()=>i.p8l,ErrorSeverity:()=>i.Wkf,ErrorSource:()=>i.zHr,ErrorType:()=>i.NIO,FACET_TYPES:()=>i.$26,FileValueType:()=>i.Esk,FillRateState:()=>i.s9T,FilterBuilder:()=>i.MEy,FilterOptions:()=>i.j5E,FilterType:()=>i.vAw,FilterValueType:()=>i.NMQ,GraphTypeType:()=>i.mNm,InteractionType:()=>i.s_5,InteractionTypeType:()=>i.RgZ,InteractionsConfigType:()=>i.unl,KeywordSearchType:()=>i.Qy0,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrNames:()=>i.Ury,MatchRulesAttrTypes:()=>i.S91,MatchRulesType:()=>i.p3$,Maybe:()=>i.wSh,MetadataPermissions:()=>i.BDP,MetadataType:()=>i.pGS,Mode:()=>i.ARY,ModeType:()=>i.XGc,ModeTypes:()=>i.fO_,NODE_EDITING_MODES:()=>i.wwy,NOT_MATCH:()=>i.h_8,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,Order:()=>i.KM9,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,PotentialMatchType:()=>i.nqG,PotentialMatchesAttrTypes:()=>i.C68,PotentialMatchesConfigType:()=>i.yxQ,PredefinedWorkflowProcessType:()=>i.Yj_,PreviewPanelMode:()=>i.D25,ProfileViewTypes:()=>i.ZIY,READABLE_QUERY_PRIMITIVE_TYPES:()=>i.Tl4,RdmAttrTypes:()=>i.lwr,ReferenceAttributeType:()=>i.NkU,ReferenceAttributeValueType:()=>i.Rtp,RelationDirections:()=>i.YGx,RelationType:()=>i.uTS,RelationTypeDirection:()=>i.MCv,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,RequestAction:()=>i.MVv,ScreenItemType:()=>i.h_m,SearchDrivenDateRangeValues:()=>i.DUe,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SpecialAttrTypes:()=>i.lD1,StatusVF:()=>i.lVm,TREE_DEFAULT_SORT_FIELD:()=>i.vnX,TREE_DEFAULT_SORT_ORDER:()=>i.$x5,TREE_SORT_FIELD_VALUES:()=>i._R1,TREE_SORT_ORDER_VALUES:()=>i.wUm,TransitiveMatchesType:()=>i.z7V,UniquenessAnalysisState:()=>i.dC6,UnmergeOperation:()=>i.MBD,UserPermissions:()=>i.GmF,ValidationServiceOption:()=>i.cKm,WorkflowAttrTypes:()=>i.iP_,WorkflowPriority:()=>i.NVC,addAttribute:()=>i.tPT,addCommentForTask:()=>i.tZe,addCrosswalk:()=>i.kRE,addCrosswalkInContributor:()=>i.psB,addDefaultValuesToAttributes:()=>i.X0$,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityEmptyRequiredDependentLookupsAttributes:()=>i.Wtd,addValueToDependentLookups:()=>i.asT,applyCrosswalks:()=>i.kGs,applyRelationTypeObject:()=>i.ewt,areAllOperatorsAnd:()=>i.O_f,areOneHierarchyUris:()=>i.sOy,attributeUriToSearchUri:()=>i.Tde,basicFilterBuildRules:()=>i.LMI,buildAttributesReadableQuery:()=>i.skb,buildBasicFilterString:()=>i.sPt,buildComplexFilterString:()=>i.sH1,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,calcTotalCommentItems:()=>i.mdt,calculateCrosswalkTreeDeep:()=>i.Qbq,canCreateRelationBetweenEntities:()=>i.rny,canUserCreateWorkflowConfigJar:()=>i.UEY,canUserCreateWorkflowEnvironmentConfigJar:()=>i.Q0T,canUserDeleteProfiles:()=>i.Lyr,canUserExecuteWorkflowJobs:()=>i.sBn,canUserExecuteWorkflowJobsSyncBusinessProcessData:()=>i.itK,canUserExecuteWorkflowJobsTerminateProcessInstance:()=>i.H9$,canUserExecuteWorkflowJobsUpdateTasks:()=>i.KPc,canUserExecuteWorkflowJobsValidateTasks:()=>i.zos,canUserGetDQStatistic:()=>i.ELQ,canUserImportEntitiesFromDT:()=>i.dZs,canUserMakeActivitiesExport:()=>i.Cz4,canUserMakeBulkUpdate:()=>i.z_L,canUserMakeExport:()=>i.fGe,canUserManageWorkflowDefinition:()=>i.iuF,canUserManageWorkflowEnvironmentDefinition:()=>i.Wib,canUserOpenDataLoader:()=>i.Hn0,canUserReadDVF:()=>i.obS,canUserReadEntitiesFromDT:()=>i.E$L,canUserReadWorkflowDataTask:()=>i.XUh,canUserRegisterConfigEnvironments:()=>i.Qp_,canUserStartProcessInstanceFromQuery:()=>i._jk,canUserUpdateProcessInstance:()=>i.sKE,canUserUpdateWorkflowDataTask:()=>i.WmG,canUserViewProcessInstanceSearchQuery:()=>i.QKx,canUserViewWorkflowConfigJar:()=>i.Oik,canUserViewWorkflowDefinition:()=>i.s0A,canUserViewWorkflowEnvironmentConfigJar:()=>i.o9m,canUserViewWorkflowJobs:()=>i.MCd,canWrapInSameAttribute:()=>i.RsS,cascadeUpdate:()=>i.tGK,changeEntityAttribute:()=>i.lIv,checkCanCreateAttribute:()=>i.Vg3,checkCanCreateCrosswalk:()=>i.mkC,checkCanDeleteAttribute:()=>i.xv5,checkCanDeleteCrosswalk:()=>i.a14,checkCanEditAttribute:()=>i.yv0,checkCanEditCrosswalk:()=>i.Zm0,checkCanImportEntityOfType:()=>i.Nxd,checkCanReadAttribute:()=>i.$mM,checkConfigPermission:()=>i.ifj,checkDraftMarked:()=>i.NWi,checkEdited:()=>i.xr3,checkIfOptionHasValues:()=>i.wNf,checkIgnored:()=>i.iJH,checkMetadataForCreate:()=>i.d89,checkMetadataForDelete:()=>i.Edd,checkMetadataForUpdate:()=>i.Z5t,checkMetadataPermission:()=>i.uGe,checkMetadataPermissions:()=>i.UoR,checkNew:()=>i.xvW,checkRemoved:()=>i.$qe,checkUserPermissions:()=>i.yPM,cleanAttributes:()=>i.$cp,cleanAttributesWith:()=>i.vKJ,cloneEntity:()=>i.VtG,collectAllDiffs:()=>i.AID,collectAllTransitiveEntitiesUris:()=>i.B1H,collectContributorsFromTree:()=>i.b7X,collectCrosswalksFromAttributes:()=>i.$uE,collectCrosswalksFromContributor:()=>i.keo,collectDiffForValidation:()=>i.C_p,collectPerspectiveViews:()=>i.G27,collectVersions:()=>i.JA0,compareActivenessAttributes:()=>i.b3T,compareAttributes:()=>i.oC6,compareImages:()=>i._Zs,compareRoles:()=>i.epC,compareTags:()=>i.YYG,configServiceRequest:()=>i.f_2,convertOldAdvancedAttribute:()=>i.w3l,convertOldDashboardConfig:()=>i.QHB,convertOldFacets:()=>i.Jso,convertOldLayoutToReltioGridLayout:()=>i.RXH,convertOldProfileConfig:()=>i.Vr9,convertOldUIConfigToNewConfig:()=>i.lMm,convertPivotingValueToSearchFilters:()=>i.BlA,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDefaultValues:()=>i.GPx,createNewAttribute:()=>i.gjI,createNewConnectionWithDefaultRelationType:()=>i.vlo,createObjectIdForPM:()=>i.E_P,createRecentSearch:()=>i.aAL,createReferencedRelationForAttrValue:()=>i.NBq,createRelatedObjectUris:()=>i.wp9,createRelation:()=>i.DsR,createRelationCreateCommand:()=>i.MPc,createRelationDeleteCommand:()=>i.gWE,createRelationIgnoreCommand:()=>i.DT_,createRelationRepointCommand:()=>i.ipn,createRelationTypesLabelsMap:()=>i.ORg,createRelationUpdateCommand:()=>i._wz,createRelationsCommandsFromConnections:()=>i.RYR,createReply:()=>i.PP2,createRequestProvider:()=>i.wS7,createSavedSearch:()=>i.cBQ,createTemporaryEntity:()=>i.pBq,debounce:()=>i.DsO,deleteActivenessAttribute:()=>i.X78,deleteAttribute:()=>i.xZs,deleteComment:()=>i.YFy,deleteCrosswalk:()=>i.Gmt,deleteCrosswalkAttribute:()=>i.K$w,deleteRecentSearch:()=>i.DSj,deleteReply:()=>i.Mfr,deleteSavedSearch:()=>i.k9j,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,enrichEntityWithDataTenant:()=>i.E7G,entity:()=>i.nwO,entityCumulativeUpdate:()=>i.Mzk,eqCrosswalks:()=>i.aFF,escapeQueryValue:()=>i.HRH,evaluateAttributeLabel:()=>i.EZK,evaluateDeepEntityLabel:()=>i.Kxm,evaluateErrorPath:()=>i.Z9i,exportActivities:()=>i.CrF,filterOutHiddenAttributes:()=>i.DNd,filterRelatedParentValuesForDependentLookupValueUri:()=>i.vUy,filterValueToQueryString:()=>i.lJh,filterValueToQueryStringWithQuotes:()=>i.zHo,find:()=>i.sEJ,findAllTemporaryRefEntityURI:()=>i.UO$,findAttributeTypeByUri:()=>i.zeJ,findAttributeValueByUri:()=>i.dLR,findAttributeValues:()=>i.JQy,findAttributeValuesByTypeUri:()=>i.XtP,findClosestCommonAncestor:()=>i.Ug0,findContributorForCrosswalk:()=>i.A1W,findLabelPattern:()=>i.sw,findNodeById:()=>i.nv3,findParentNodeById:()=>i.JgD,findParentNodes:()=>i.nve,findReferenceAttributeByRefEntityUri:()=>i.SkP,findRelatedTemporaryEntities:()=>i.SAs,findSiblingsAttributeValues:()=>i.i5L,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixNonUniqViewsIds:()=>i.Mfk,flatAttributeTreeNode:()=>i.HQx,flatAttributeTreeNodeWithSimplesOnly:()=>i.oN$,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatTime:()=>i.mrB,generateNewRelationUri:()=>i.ncP,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getAccessToken:()=>i.hPi,getActionPermissionForMatch:()=>i.hXd,getActionPermissionForMatches:()=>i.OCS,getActivenessAttributes:()=>i.p2l,getActivities:()=>i.qF1,getActivitiesTotal:()=>i._X$,getActivityLabelsFromNewActivity:()=>i.yj2,getActorsForInteraction:()=>i.bzh,getAllAttributeTypesTree:()=>i.k66,getAllEntityTypesForGraphType:()=>i.kiP,getAllPaths:()=>i.pSg,getAllUsersForTenant:()=>i.kz_,getAnalyticsAttributeTypesTree:()=>i.H_U,getAnalyticsAttributesList:()=>i.t9e,getAssigneeForTask:()=>i.j2$,getAttrDataTypeDefinition:()=>i.PFL,getAttrTypeForFacet:()=>i.aJ3,getAttrTypeLookupCode:()=>i.To9,getAttributeByPath:()=>i.wpo,getAttributeOwnError:()=>i.ADq,getAttributePagerActiveErrors:()=>i.UUb,getAttributePagerActiveTypeErrorMessage:()=>i.tQX,getAttributeSource:()=>i.xy8,getAttributeTypeSubAttributes:()=>i.EUG,getAttributeTypeUriByValueUri:()=>i.AFK,getAttributeTypesHierarchyByUri:()=>i.X3M,getAttributeTypesTree:()=>i.WN0,getAttributeValue:()=>i.kDl,getAttributeValuePath:()=>i.uDV,getAttributeValuesByPath:()=>i.IhQ,getAttributeValuesByPathWithOvFlag:()=>i.pfb,getAttributeValuesUris:()=>i.R$r,getAttributesForMatchRules:()=>i.w80,getAttributesList:()=>i.Pfu,getAttributesListForEditMode:()=>i.Gtj,getAttributesListForReadMode:()=>i.fyF,getAttributesTreeFromAttributes:()=>i.kkq,getBaseUri:()=>i.u5q,getBusinessCardAttributes:()=>i.O$n,getBusinessCardAttributesText:()=>i.ptG,getChartItemColor:()=>i.f4_,getColorForId:()=>i.uap,getComment:()=>i.d7q,getComments:()=>i.liG,getCommentsCount:()=>i.$oF,getConnectionEntityUriPath:()=>i.avf,getConnectionRelationAttributesPath:()=>i.DiQ,getConnectionRelationDirectionPath:()=>i.cfX,getConnectionRelationEndDatePath:()=>i.vD3,getConnectionRelationObjectPath:()=>i.Qrb,getConnectionRelationStartDatePath:()=>i.EJQ,getConnectionRelationTypePath:()=>i.HWy,getConnectionRelationUriForLink:()=>i.gjS,getConnectionRelationUriPath:()=>i.y6v,getConsoleApps:()=>i.JUW,getContributorColor:()=>i.GtP,getCreatableAttributeTypes:()=>i._kX,getCreatableOrReadableAttributeTypes:()=>i.u1e,getCrosswalkAttributes:()=>i.sJj,getCrosswalkColor:()=>i.CJp,getCrosswalkId:()=>i.uKF,getCrosswalkTree:()=>i.wo0,getCrosswalkType:()=>i.s5,getCrosswalksTypes:()=>i.cwx,getCustomerTenantInfo:()=>i.Y6b,getDQChartsData:()=>i.TTx,getDTSubscriptions:()=>i.UtR,getDVF:()=>i.HaQ,getDataChangeRequest:()=>i.E6I,getDataTenantEntity:()=>i.Won,getDataTenantEntitySecondaryLabel:()=>i.vTU,getDataTenantEntityUri:()=>i.Nsy,getDataTenantFromCrosswalks:()=>i.KMQ,getDataTenantFromEntityUri:()=>i.Do$,getDataTenantSpecialAttributeFieldName:()=>i.CSV,getDataTenantsInfo:()=>i.TMe,getDataTypeDefinitionForFilterValue:()=>i.l1V,getDateRangeByValue:()=>i.VQ1,getDateRangeStringByValue:()=>i.u5O,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getDvfColor:()=>i.jLA,getEndObjectTypeUri:()=>i.GGR,getEndObjectUri:()=>i.j5q,getEntitiesByUris:()=>i.DnY,getEntitiesHierarchy:()=>i.RY5,getEntitiesMapForConnections:()=>i.Px$,getEntitiesMapForTransitiveMatches:()=>i.KPC,getEntitiesStats:()=>i.NIY,getEntity:()=>i.HvW,getEntityAttributesFromMetadata:()=>i.Fof,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityLink:()=>i.ChB,getEntityMatchRules:()=>i.q27,getEntityPerspectiveScreenItem:()=>i.vrC,getEntityPreviousChange:()=>i.fAQ,getEntitySecondaryLabel:()=>i.XkT,getEntityTimeSlice:()=>i.lrH,getEntityType:()=>i.nt9,getEntityTypeGraphIcon:()=>i.XH8,getEntityTypeImage:()=>i.XH2,getEntityTypeLabel:()=>i.jFi,getEntityTypeMatchAttributes:()=>i.qhs,getEntityUriForLink:()=>i.wwR,getEntityUriFromAttributeUri:()=>i.Uk3,getEntityUriFromMatchObject:()=>i.ev7,getEnvironmentSettings:()=>i.RB9,getErrorId:()=>i.iFp,getErrorMessage:()=>i.e$p,getErrorType:()=>i.PcX,getErrorUniqKey:()=>i.SpP,getFacetTitle:()=>i.R6_,getFacetTypeForAttrType:()=>i.CY1,getFacetedAttributeData:()=>i.Ajk,getFacetedAttributeDataWithSearchParams:()=>i.Yiz,getFacets:()=>i.FK9,getFileName:()=>i.UOo,getFillRate:()=>i.aTW,getFilterOptionArity:()=>i.uug,getFilterOptionForFacet:()=>i.P$2,getFilterOptionLabel:()=>i.XS2,getFilterOptionsForDataTypeDefinition:()=>i.Hyb,getFilterOptionsForQueryBuilder:()=>i.d3Y,getFilterOptionsForRelationshipQueryBuilder:()=>i.Klp,getFilterValueForFacet:()=>i.WxZ,getFilterValueLabel:()=>i.Gzu,getFilteredEntities:()=>i.ZOr,getFilteredEntitiesFromDataTenant:()=>i.uqV,getFirstElementIfArray:()=>i.Pm4,getFirstLevelSearchUri:()=>i.hWO,getFontColor:()=>i.nHA,getFullObjectsHierarchy:()=>i.nVD,getGraphSearchCount:()=>i.dED,getGraphSearchEntities:()=>i.P2h,getGraphType:()=>i.jrr,getGraphTypesForEntityType:()=>i.mmY,getGroupLabelByTypeUri:()=>i.T6O,getGroupTasksForTenant:()=>i.h6J,getGroupsFromSearchState:()=>i.hM2,getHash:()=>i.XR6,getHierarchyAncestors:()=>i.jmz,getHierarchyDescendants:()=>i.IHt,getHierarchyNodeEditorActiveError:()=>i.NZI,getHistoricUris:()=>i.wdF,getHistoryWithTotal:()=>i.kgP,getHops:()=>i.ZYI,getImageAttributeOvPreviewUrl:()=>i.QXK,getImageAttributeOvThumbnailUrl:()=>i.efz,getImageAttributeOvUrl:()=>i.Q5d,getImageAttributeThumbnailUrl:()=>i.Ysv,getInOutRelationTypesForEntityTypeUri:()=>i.UWq,getInOutRelations:()=>i.ocC,getInheritancePath:()=>i.io3,getInteractionAttributesFromMetadata:()=>i.Sbt,getInteractionType:()=>i.roS,getInteractionTypesForEntityType:()=>i.Ww1,getInteractions:()=>i.QaS,getKeywordFromOldSearchState:()=>i.ERZ,getKeywordFromSearchState:()=>i.CL1,getLabel:()=>i.idV,getLastUriPart:()=>i.nIW,getLookupCodesFromFacets:()=>i.fjE,getLookupLabel:()=>i.sG0,getLookups:()=>i.tV7,getMapSearchLabel:()=>i.g8o,getMapSearchValues:()=>i.Qy,getMatchGroupLabelsForFacet:()=>i.t2P,getMatchGroups:()=>i.KbW,getMatchRuleLabel:()=>i.wId,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getMlDqData:()=>i.GFW,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getOvAttributeValuesByPathWithOvFlag:()=>i.BgZ,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPivotingLabel:()=>i.kR6,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileEntityWithHistoryDiff:()=>i.Ob5,getProfileEntityWithoutHistoryDiff:()=>i.KUV,getProfileObjectIdsForCollaboration:()=>i.dvH,getProfileViewOptions:()=>i.Sn,getProfileViewsIdsByTypes:()=>i.V3i,getPropWithInheritance:()=>i.VD3,getRangeOptionLabel:()=>i.mm2,getRdmTenants:()=>i.rou,getReadableAttributeTypes:()=>i.izH,getReadableAttributesList:()=>i.DK$,getRecentSearches:()=>i.KMp,getReferencedAttrTypeUrisFromAttrType:()=>i.c31,getReferencedEntityActiveError:()=>i.mbo,getReferencedEntityAttrTypesUris:()=>i.gT8,getReferencedEntityFromAttrValue:()=>i.CZ8,getReferencedEntityTypeUri:()=>i.uGi,getReferencedEntityTypeUriFromAttrType:()=>i.Poc,getReferencedEntityTypeUriFromAttrValue:()=>i._9k,getReferencedEntityUri:()=>i.ZTM,getReferencedEntityUriFromAttrValue:()=>i.bwT,getReferencedRelationAttrTypes:()=>i.tzW,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.PUO,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequiredAttributeTypes:()=>i.Y_p,getRequiredAttributeTypesByTypeUri:()=>i.$k6,getResolvedLookupLabel:()=>i.Gdl,getResolvedLookupValue:()=>i.U6P,getResolvedLookupsForFacet:()=>i.OwB,getRestrictedObjectsHierarchy:()=>i.hTh,getRoleLabel:()=>i.xqc,getRolesForEntityType:()=>i.JvE,getRootFieldName:()=>i.i29,getRulesConfig:()=>i.dzT,getSavedSearch:()=>i.uPS,getSavedSearches:()=>i.cZV,getSearchGroupAttributeEntityTypeUri:()=>i.n3B,getSearchGroupAttributeLabel:()=>i.e6O,getSearchLink:()=>i.s7j,getSearchLinkState:()=>i.j$Q,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTagLink:()=>i.hgZ,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantIconColor:()=>i.bsH,getTenantName:()=>i.u9Z,getTotalFromDataTenant:()=>i.J$m,getTotals:()=>i.j_Q,getTotalsForQuery:()=>i.OaI,getTransitiveMatchRules:()=>i.wB1,getTransitiveMatches:()=>i.SP6,getTransitiveMatchesForEntity:()=>i.ZYr,getTree:()=>i.IMU,getUIConfiguration:()=>i.FoU,getUnresolvedLookupsList:()=>i.DVz,getUnresolvedLookupsListFromSearchGroups:()=>i.mxe,getUrisForSaving:()=>i.FHr,getUserPreference:()=>i.D1g,getValidatedSortField:()=>i.VO3,getValidatedSortOrder:()=>i.de5,gif2Url:()=>i.Uw1,hasAttributeDescendantsWithErrors:()=>i.J6q,hasDependentLookupAttributes:()=>i.XCe,hasEntityInTree:()=>i.fbl,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,initializeWebWorker:()=>i.QWZ,insertDefaultImageByAttrUri:()=>i.YL3,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeForDataTenant:()=>i.fGG,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isAvailableRelationTypeUri:()=>i.pQZ,isAvailableTenantForEntityType:()=>i.oZ7,isBooleanType:()=>i.T6Y,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptyEntity:()=>i.lzc,isEmptySearchGroup:()=>i.qIF,isEmptyValue:()=>i.O27,isEntityImportedToCT:()=>i.aBi,isEntitySpecialAttrType:()=>i.xOX,isEntityTypeUri:()=>i.EdS,isEntityUri:()=>i.WgC,isEnumAttrType:()=>i.eEv,isFileFilterOption:()=>i.A4t,isFirstLevelAttributeUri:()=>i.YOQ,isFloatingType:()=>i.Wos,isFreemiumAdmin:()=>i.jWr,isImage:()=>i.Or$,isInHierarchy:()=>i.lhE,isLookupAttrType:()=>i.CwH,isMatchRuleAttrType:()=>i.pzC,isMultiValueOption:()=>i.ymH,isNested:()=>i.QZu,isNumericRangeFacet:()=>i.rYH,isNumericType:()=>i.FVt,isObject:()=>i.Kn2,isOrOperator:()=>i.jgw,isOutdatedDateRangeValue:()=>i.Qgr,isOv:()=>i.OXP,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationCommandForUri:()=>i.kMF,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isRelationWithEntityType:()=>i.Ian,isReltioCrosswalk:()=>i.KVV,isRequired:()=>i.q9e,isResolvedLookupCode:()=>i.iIf,isRoleAttrType:()=>i.ian,isSSNType:()=>i.m6e,isSourceSystemAttrType:()=>i.OFd,isSpecialAttribute:()=>i.kqr,isSuggestMode:()=>i.fnZ,isTagAttrType:()=>i.VFZ,isTempUri:()=>i.ZiX,isTimestampBasedType:()=>i.j5n,isToday:()=>i.zkt,isTransitiveMatch:()=>i.Pcm,isTypeAttrType:()=>i.QDV,isTypeFacet:()=>i.M5u,isTypeSearchGroupAttribute:()=>i.laD,isTypeaheadAttrType:()=>i.mtq,isUnresolvedLookupCode:()=>i.CtB,isUrl:()=>i.CBv,isUrlType:()=>i.I0t,isValidRelationToAdd:()=>i.u1G,isValidSearchGroup:()=>i.gk1,isValidSearchGroupAttribute:()=>i.Bgb,isViewMode:()=>i.uzs,joinFilterStrings:()=>i.v0l,loadMetadata:()=>i.Zqp,localizeMetadata:()=>i.j0k,makeAttrTypeUri:()=>i.tCm,makeCompositeFilterOption:()=>i.gmx,mapFilterValue:()=>i.mOr,mapSearchTypeToFieldName:()=>i.TwZ,mapTree:()=>i.GyU,markAsNotMatch:()=>i.zGm,markDataTenantEntityAsNotMatch:()=>i.bMg,markEdited:()=>i.EyD,markIgnored:()=>i.FQA,markMixedEntitiesAsNotMatches:()=>i.fZN,markNew:()=>i.xsF,markRemoved:()=>i.Lxg,markSavedSearchAsFavorite:()=>i.O3l,markSavedSearchAsPublic:()=>i.Wni,marksJSONReplacer:()=>i.wRx,mergeCustomerTenantEntityWithMixedEntities:()=>i.OxG,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,optimizeCommands:()=>i.Jct,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseTimestamp:()=>i.ZBU,partitionByMlMatch:()=>i.UkJ,pinAttribute:()=>i.xkv,populateDependentLookupsFromEntity:()=>i.z$M,postGraphExport:()=>i.KAm,prepareAttrDiff:()=>i.lCl,prepareEntityForValidation:()=>i.rkF,processDefinitions:()=>i.IU6,promiseAllSettled:()=>i.RGr,promisifyCallback:()=>i.aYu,promisifyProvider:()=>i.ije,rateRelation:()=>i.Buf,rawRequest:()=>i.YLu,referencedEntityAttributeTypesSelectionStrategy:()=>i.ct9,reinstateDataTenantEntityMatch:()=>i.XkY,reinstateMatch:()=>i.T5R,reinstateMixedEntitiesMatches:()=>i.uQS,relationEditorAttributeTypesSelectionStrategy:()=>i.wcJ,removeAttribute:()=>i.d$I,removeDtssPrefixFromEntityUri:()=>i.rSp,removeEntity:()=>i.Sx,removeEntityAttribute:()=>i.Ilm,removeEntitySpecialAttribute:()=>i.Ki6,removeRelation:()=>i.VGk,removeUnsupportedLayoutItems:()=>i.sFD,removeValuesFromDependentLookups:()=>i.eWN,replacePlaceholdersInQuery:()=>i.dWE,replaceTempUriInCommands:()=>i.Lkd,replaceTemporaryRefEntityURI:()=>i.aDL,requestForDataTenant:()=>i.yaA,resetUserPreference:()=>i.lOh,resolve:()=>i.DBr,resolveLookupsList:()=>i.hK$,runTaskAction:()=>i.TZ_,sanitizeTypesInSearchGroups:()=>i.CMB,saveEntity:()=>i.FU8,saveTemporaryEntities:()=>i.J$p,saveTemporaryEntity:()=>i.b5s,searchUriToAttrUri:()=>i.h2W,sendRequestFromCustomSandbox:()=>i.SL_,sendWorkflowRequest:()=>i.oUH,setAsMatch:()=>i.ck9,setLookupStrategy:()=>i.nL,setMinHeightForDashboardWidgets:()=>i.k$p,setRequestProvider:()=>i.Xs0,setUserPreference:()=>i.u7I,shiftDownOperators:()=>i.rxg,shiftUpOperators:()=>i.bji,shouldUseValidationService:()=>i.oCZ,sortTreeChildren:()=>i.MjG,startProcessFromQuery:()=>i.FuV,startProcessInstance:()=>i.$ju,startProcessInstanceByPairs:()=>i.t6d,svg2Url:()=>i.m5F,syncAttributeTypeWithDependentLookups:()=>i.sx,theme:()=>i.rSc,typeAheadSearch:()=>i.U10,unmergeContributor:()=>i.L8n,unsubscribeEntityFromDataTenantEntity:()=>i.R9X,updateActivenessAttribute:()=>i.rj2,updateAssigneeForTask:()=>i._C4,updateAttribute:()=>i.tCj,updateComment:()=>i.uAg,updateConnectionEntityLabel:()=>i.wx9,updateDueDateForTask:()=>i.KF3,updatePriorityForTask:()=>i.ax9,updateRelation:()=>i.HH7,updateReply:()=>i.ufV,updateSavedSearch:()=>i._6y,updateTreesWithNewEntity:()=>i.XTh,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,utils:()=>i.P6Y,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateFilterValue:()=>i.jtL,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(70687)}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4843],{34843:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ACTIVITY_TYPES:()=>i.IL3,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,AllDateRangeValues:()=>i.XYV,ApiErrorCode:()=>i.Xt7,AttributeErrorType:()=>i.wfT,AttributeTypeType:()=>i.EMD,AttributeValuePathItemType:()=>i.HAc,AuditAttrTypes:()=>i.PEf,CardinalityType:()=>i.oA3,ChartTypes:()=>i.$XE,CollaborationAttrTypes:()=>i.eWf,CollaborationObjectTypes:()=>i.q7e,ComplexAttributeType:()=>i.KVe,ConfigPermissions:()=>i.WVQ,ConnectionEntityType:()=>i.oZZ,ConnectionRelationType:()=>i.bNA,ConnectionType:()=>i.Rjq,CrosswalksAttrTypes:()=>i.G39,CustomAction:()=>i.W0P,CustomScriptPlatform:()=>i.X1H,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeValues:()=>i.lL_,Directions:()=>i.Nsj,DraftMarks:()=>i.psV,EntityAttrTypes:()=>i.xPW,EntityType:()=>i.pyR,EntityTypeType:()=>i.p8l,ErrorSeverity:()=>i.Wkf,ErrorSource:()=>i.zHr,ErrorType:()=>i.NIO,FACET_TYPES:()=>i.$26,FileValueType:()=>i.Esk,FillRateState:()=>i.s9T,FilterBuilder:()=>i.MEy,FilterOptions:()=>i.j5E,FilterType:()=>i.vAw,FilterValueType:()=>i.NMQ,GraphTypeType:()=>i.mNm,InteractionType:()=>i.s_5,InteractionTypeType:()=>i.RgZ,InteractionsConfigType:()=>i.unl,KeywordSearchType:()=>i.Qy0,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrNames:()=>i.Ury,MatchRulesAttrTypes:()=>i.S91,MatchRulesType:()=>i.p3$,Maybe:()=>i.wSh,MetadataPermissions:()=>i.BDP,MetadataType:()=>i.pGS,Mode:()=>i.ARY,ModeType:()=>i.XGc,ModeTypes:()=>i.fO_,NODE_EDITING_MODES:()=>i.wwy,NOT_MATCH:()=>i.h_8,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,Order:()=>i.KM9,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,PotentialMatchType:()=>i.nqG,PotentialMatchesAttrTypes:()=>i.C68,PotentialMatchesConfigType:()=>i.yxQ,PredefinedWorkflowProcessType:()=>i.Yj_,PreviewPanelMode:()=>i.D25,ProfileViewTypes:()=>i.ZIY,READABLE_QUERY_PRIMITIVE_TYPES:()=>i.Tl4,RdmAttrTypes:()=>i.lwr,ReferenceAttributeType:()=>i.NkU,ReferenceAttributeValueType:()=>i.Rtp,RelationDirections:()=>i.YGx,RelationType:()=>i.uTS,RelationTypeDirection:()=>i.MCv,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,RequestAction:()=>i.MVv,ScreenItemType:()=>i.h_m,SearchDrivenDateRangeValues:()=>i.DUe,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SpecialAttrTypes:()=>i.lD1,StatusVF:()=>i.lVm,TREE_DEFAULT_SORT_FIELD:()=>i.vnX,TREE_DEFAULT_SORT_ORDER:()=>i.$x5,TREE_SORT_FIELD_VALUES:()=>i._R1,TREE_SORT_ORDER_VALUES:()=>i.wUm,TransitiveMatchesType:()=>i.z7V,UniquenessAnalysisState:()=>i.dC6,UnmergeOperation:()=>i.MBD,UserPermissions:()=>i.GmF,ValidationServiceOption:()=>i.cKm,WorkflowAttrTypes:()=>i.iP_,WorkflowPriority:()=>i.NVC,addAttribute:()=>i.tPT,addCommentForTask:()=>i.tZe,addCrosswalk:()=>i.kRE,addCrosswalkInContributor:()=>i.psB,addDefaultValuesToAttributes:()=>i.X0$,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityEmptyRequiredDependentLookupsAttributes:()=>i.Wtd,addValueToDependentLookups:()=>i.asT,applyCrosswalks:()=>i.kGs,applyRelationTypeObject:()=>i.ewt,areAllOperatorsAnd:()=>i.O_f,areOneHierarchyUris:()=>i.sOy,attributeUriToSearchUri:()=>i.Tde,basicFilterBuildRules:()=>i.LMI,buildAttributesReadableQuery:()=>i.skb,buildBasicFilterString:()=>i.sPt,buildComplexFilterString:()=>i.sH1,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,calcTotalCommentItems:()=>i.mdt,calculateCrosswalkTreeDeep:()=>i.Qbq,canCreateRelationBetweenEntities:()=>i.rny,canUserCreateWorkflowConfigJar:()=>i.UEY,canUserCreateWorkflowEnvironmentConfigJar:()=>i.Q0T,canUserDeleteProfiles:()=>i.Lyr,canUserExecuteWorkflowJobs:()=>i.sBn,canUserExecuteWorkflowJobsSyncBusinessProcessData:()=>i.itK,canUserExecuteWorkflowJobsTerminateProcessInstance:()=>i.H9$,canUserExecuteWorkflowJobsUpdateTasks:()=>i.KPc,canUserExecuteWorkflowJobsValidateTasks:()=>i.zos,canUserGetDQStatistic:()=>i.ELQ,canUserImportEntitiesFromDT:()=>i.dZs,canUserMakeActivitiesExport:()=>i.Cz4,canUserMakeBulkUpdate:()=>i.z_L,canUserMakeExport:()=>i.fGe,canUserManageWorkflowDefinition:()=>i.iuF,canUserManageWorkflowEnvironmentDefinition:()=>i.Wib,canUserOpenDataLoader:()=>i.Hn0,canUserReadDVF:()=>i.obS,canUserReadEntitiesFromDT:()=>i.E$L,canUserReadWorkflowDataTask:()=>i.XUh,canUserRegisterConfigEnvironments:()=>i.Qp_,canUserStartProcessInstanceFromQuery:()=>i._jk,canUserUpdateProcessInstance:()=>i.sKE,canUserUpdateWorkflowDataTask:()=>i.WmG,canUserViewProcessInstanceSearchQuery:()=>i.QKx,canUserViewWorkflowConfigJar:()=>i.Oik,canUserViewWorkflowDefinition:()=>i.s0A,canUserViewWorkflowEnvironmentConfigJar:()=>i.o9m,canUserViewWorkflowJobs:()=>i.MCd,canWrapInSameAttribute:()=>i.RsS,cascadeUpdate:()=>i.tGK,changeEntityAttribute:()=>i.lIv,checkCanCreateAttribute:()=>i.Vg3,checkCanCreateCrosswalk:()=>i.mkC,checkCanDeleteAttribute:()=>i.xv5,checkCanDeleteCrosswalk:()=>i.a14,checkCanEditAttribute:()=>i.yv0,checkCanEditCrosswalk:()=>i.Zm0,checkCanImportEntityOfType:()=>i.Nxd,checkCanReadAttribute:()=>i.$mM,checkConfigPermission:()=>i.ifj,checkDraftMarked:()=>i.NWi,checkEdited:()=>i.xr3,checkIfOptionHasValues:()=>i.wNf,checkIgnored:()=>i.iJH,checkMetadataForCreate:()=>i.d89,checkMetadataForDelete:()=>i.Edd,checkMetadataForUpdate:()=>i.Z5t,checkMetadataPermission:()=>i.uGe,checkMetadataPermissions:()=>i.UoR,checkNew:()=>i.xvW,checkRemoved:()=>i.$qe,checkUserPermissions:()=>i.yPM,cleanAttributes:()=>i.$cp,cleanAttributesWith:()=>i.vKJ,cloneEntity:()=>i.VtG,collectAllDiffs:()=>i.AID,collectAllTransitiveEntitiesUris:()=>i.B1H,collectContributorsFromTree:()=>i.b7X,collectCrosswalksFromAttributes:()=>i.$uE,collectCrosswalksFromContributor:()=>i.keo,collectDiffForValidation:()=>i.C_p,collectPerspectiveViews:()=>i.G27,collectVersions:()=>i.JA0,compareActivenessAttributes:()=>i.b3T,compareAttributes:()=>i.oC6,compareImages:()=>i._Zs,compareRoles:()=>i.epC,compareTags:()=>i.YYG,configServiceRequest:()=>i.f_2,convertOldAdvancedAttribute:()=>i.w3l,convertOldDashboardConfig:()=>i.QHB,convertOldFacets:()=>i.Jso,convertOldLayoutToReltioGridLayout:()=>i.RXH,convertOldProfileConfig:()=>i.Vr9,convertOldUIConfigToNewConfig:()=>i.lMm,convertPivotingValueToSearchFilters:()=>i.BlA,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDefaultValues:()=>i.GPx,createNewAttribute:()=>i.gjI,createNewConnectionWithDefaultRelationType:()=>i.vlo,createObjectIdForPM:()=>i.E_P,createRecentSearch:()=>i.aAL,createReferencedRelationForAttrValue:()=>i.NBq,createRelatedObjectUris:()=>i.wp9,createRelation:()=>i.DsR,createRelationCreateCommand:()=>i.MPc,createRelationDeleteCommand:()=>i.gWE,createRelationIgnoreCommand:()=>i.DT_,createRelationRepointCommand:()=>i.ipn,createRelationTypesLabelsMap:()=>i.ORg,createRelationUpdateCommand:()=>i._wz,createRelationsCommandsFromConnections:()=>i.RYR,createReply:()=>i.PP2,createRequestProvider:()=>i.wS7,createSavedSearch:()=>i.cBQ,createTemporaryEntity:()=>i.pBq,debounce:()=>i.DsO,deleteActivenessAttribute:()=>i.X78,deleteAttribute:()=>i.xZs,deleteComment:()=>i.YFy,deleteCrosswalk:()=>i.Gmt,deleteCrosswalkAttribute:()=>i.K$w,deleteRecentSearch:()=>i.DSj,deleteReply:()=>i.Mfr,deleteSavedSearch:()=>i.k9j,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,enrichEntityWithDataTenant:()=>i.E7G,entity:()=>i.nwO,entityCumulativeUpdate:()=>i.Mzk,eqCrosswalks:()=>i.aFF,escapeQueryValue:()=>i.HRH,evaluateAttributeLabel:()=>i.EZK,evaluateDeepEntityLabel:()=>i.Kxm,evaluateErrorPath:()=>i.Z9i,exportActivities:()=>i.CrF,filterOutHiddenAttributes:()=>i.DNd,filterRelatedParentValuesForDependentLookupValueUri:()=>i.vUy,filterValueToQueryString:()=>i.lJh,filterValueToQueryStringWithQuotes:()=>i.zHo,find:()=>i.sEJ,findAllTemporaryRefEntityURI:()=>i.UO$,findAttributeTypeByUri:()=>i.zeJ,findAttributeValueByUri:()=>i.dLR,findAttributeValues:()=>i.JQy,findAttributeValuesByTypeUri:()=>i.XtP,findClosestCommonAncestor:()=>i.Ug0,findContributorForCrosswalk:()=>i.A1W,findLabelPattern:()=>i.sw,findNodeById:()=>i.nv3,findParentNodeById:()=>i.JgD,findParentNodes:()=>i.nve,findReferenceAttributeByRefEntityUri:()=>i.SkP,findRelatedTemporaryEntities:()=>i.SAs,findSiblingsAttributeValues:()=>i.i5L,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixNonUniqViewsIds:()=>i.Mfk,flatAttributeTreeNode:()=>i.HQx,flatAttributeTreeNodeWithSimplesOnly:()=>i.oN$,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatTime:()=>i.mrB,generateNewRelationUri:()=>i.ncP,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getAccessToken:()=>i.hPi,getActionPermissionForMatch:()=>i.hXd,getActionPermissionForMatches:()=>i.OCS,getActivenessAttributes:()=>i.p2l,getActivities:()=>i.qF1,getActivitiesTotal:()=>i._X$,getActivityLabelsFromNewActivity:()=>i.yj2,getActorsForInteraction:()=>i.bzh,getAllAttributeTypesTree:()=>i.k66,getAllEntityTypesForGraphType:()=>i.kiP,getAllPaths:()=>i.pSg,getAllUsersForTenant:()=>i.kz_,getAnalyticsAttributeTypesTree:()=>i.H_U,getAnalyticsAttributesList:()=>i.t9e,getAssigneeForTask:()=>i.j2$,getAttrDataTypeDefinition:()=>i.PFL,getAttrTypeForFacet:()=>i.aJ3,getAttrTypeLookupCode:()=>i.To9,getAttributeByPath:()=>i.wpo,getAttributeOwnError:()=>i.ADq,getAttributePagerActiveErrors:()=>i.UUb,getAttributePagerActiveTypeErrorMessage:()=>i.tQX,getAttributeSource:()=>i.xy8,getAttributeTypeSubAttributes:()=>i.EUG,getAttributeTypeUriByValueUri:()=>i.AFK,getAttributeTypesHierarchyByUri:()=>i.X3M,getAttributeTypesTree:()=>i.WN0,getAttributeValue:()=>i.kDl,getAttributeValuePath:()=>i.uDV,getAttributeValuesByPath:()=>i.IhQ,getAttributeValuesByPathWithOvFlag:()=>i.pfb,getAttributeValuesUris:()=>i.R$r,getAttributesForMatchRules:()=>i.w80,getAttributesList:()=>i.Pfu,getAttributesListForEditMode:()=>i.Gtj,getAttributesListForReadMode:()=>i.fyF,getAttributesTreeFromAttributes:()=>i.kkq,getBaseUri:()=>i.u5q,getBusinessCardAttributes:()=>i.O$n,getBusinessCardAttributesText:()=>i.ptG,getChartItemColor:()=>i.f4_,getColorForId:()=>i.uap,getComment:()=>i.d7q,getComments:()=>i.liG,getCommentsCount:()=>i.$oF,getConnectionEntityUriPath:()=>i.avf,getConnectionRelationAttributesPath:()=>i.DiQ,getConnectionRelationDirectionPath:()=>i.cfX,getConnectionRelationEndDatePath:()=>i.vD3,getConnectionRelationObjectPath:()=>i.Qrb,getConnectionRelationStartDatePath:()=>i.EJQ,getConnectionRelationTypePath:()=>i.HWy,getConnectionRelationUriForLink:()=>i.gjS,getConnectionRelationUriPath:()=>i.y6v,getConsoleApps:()=>i.JUW,getContributorColor:()=>i.GtP,getCreatableAttributeTypes:()=>i._kX,getCreatableOrReadableAttributeTypes:()=>i.u1e,getCrosswalkAttributes:()=>i.sJj,getCrosswalkColor:()=>i.CJp,getCrosswalkId:()=>i.uKF,getCrosswalkTree:()=>i.wo0,getCrosswalkType:()=>i.s5,getCrosswalksTypes:()=>i.cwx,getCustomerTenantInfo:()=>i.Y6b,getDQChartsData:()=>i.TTx,getDTSubscriptions:()=>i.UtR,getDVF:()=>i.HaQ,getDataChangeRequest:()=>i.E6I,getDataTenantEntity:()=>i.Won,getDataTenantEntitySecondaryLabel:()=>i.vTU,getDataTenantEntityUri:()=>i.Nsy,getDataTenantFromCrosswalks:()=>i.KMQ,getDataTenantFromEntityUri:()=>i.Do$,getDataTenantSpecialAttributeFieldName:()=>i.CSV,getDataTenantsInfo:()=>i.TMe,getDataTypeDefinitionForFilterValue:()=>i.l1V,getDateRangeByValue:()=>i.VQ1,getDateRangeStringByValue:()=>i.u5O,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getDvfColor:()=>i.jLA,getEndObjectTypeUri:()=>i.GGR,getEndObjectUri:()=>i.j5q,getEntitiesByUris:()=>i.DnY,getEntitiesHierarchy:()=>i.RY5,getEntitiesMapForConnections:()=>i.Px$,getEntitiesMapForTransitiveMatches:()=>i.KPC,getEntitiesStats:()=>i.NIY,getEntity:()=>i.HvW,getEntityAttributesFromMetadata:()=>i.Fof,getEntityColor:()=>i.fX,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityLink:()=>i.ChB,getEntityMatchRules:()=>i.q27,getEntityPerspectiveScreenItem:()=>i.vrC,getEntityPreviousChange:()=>i.fAQ,getEntitySecondaryLabel:()=>i.XkT,getEntityTimeSlice:()=>i.lrH,getEntityType:()=>i.nt9,getEntityTypeGraphIcon:()=>i.XH8,getEntityTypeImage:()=>i.XH2,getEntityTypeLabel:()=>i.jFi,getEntityTypeMatchAttributes:()=>i.qhs,getEntityUriForLink:()=>i.wwR,getEntityUriFromAttributeUri:()=>i.Uk3,getEntityUriFromMatchObject:()=>i.ev7,getEnvironmentSettings:()=>i.RB9,getErrorId:()=>i.iFp,getErrorMessage:()=>i.e$p,getErrorType:()=>i.PcX,getErrorUniqKey:()=>i.SpP,getFacetTitle:()=>i.R6_,getFacetTypeForAttrType:()=>i.CY1,getFacetedAttributeData:()=>i.Ajk,getFacetedAttributeDataWithSearchParams:()=>i.Yiz,getFacets:()=>i.FK9,getFileName:()=>i.UOo,getFillRate:()=>i.aTW,getFilterOptionArity:()=>i.uug,getFilterOptionForFacet:()=>i.P$2,getFilterOptionLabel:()=>i.XS2,getFilterOptionsForDataTypeDefinition:()=>i.Hyb,getFilterOptionsForQueryBuilder:()=>i.d3Y,getFilterOptionsForRelationshipQueryBuilder:()=>i.Klp,getFilterValueForFacet:()=>i.WxZ,getFilterValueLabel:()=>i.Gzu,getFilteredEntities:()=>i.ZOr,getFilteredEntitiesFromDataTenant:()=>i.uqV,getFirstElementIfArray:()=>i.Pm4,getFirstLevelSearchUri:()=>i.hWO,getFontColor:()=>i.nHA,getFullObjectsHierarchy:()=>i.nVD,getGraphSearchCount:()=>i.dED,getGraphSearchEntities:()=>i.P2h,getGraphType:()=>i.jrr,getGraphTypesForEntityType:()=>i.mmY,getGroupLabelByTypeUri:()=>i.T6O,getGroupTasksForTenant:()=>i.h6J,getGroupsFromSearchState:()=>i.hM2,getHash:()=>i.XR6,getHierarchyAncestors:()=>i.jmz,getHierarchyDescendants:()=>i.IHt,getHierarchyNodeEditorActiveError:()=>i.NZI,getHistoricUris:()=>i.wdF,getHistoryWithTotal:()=>i.kgP,getHops:()=>i.ZYI,getImageAttributeOvPreviewUrl:()=>i.QXK,getImageAttributeOvThumbnailUrl:()=>i.efz,getImageAttributeOvUrl:()=>i.Q5d,getImageAttributeThumbnailUrl:()=>i.Ysv,getInOutRelationTypesForEntityTypeUri:()=>i.UWq,getInOutRelations:()=>i.ocC,getInheritancePath:()=>i.io3,getInteractionAttributesFromMetadata:()=>i.Sbt,getInteractionType:()=>i.roS,getInteractionTypesForEntityType:()=>i.Ww1,getInteractions:()=>i.QaS,getKeywordFromOldSearchState:()=>i.ERZ,getKeywordFromSearchState:()=>i.CL1,getLabel:()=>i.idV,getLastUriPart:()=>i.nIW,getLookupCodesFromFacets:()=>i.fjE,getLookupLabel:()=>i.sG0,getLookups:()=>i.tV7,getMapSearchLabel:()=>i.g8o,getMapSearchValues:()=>i.Qy,getMatchGroupLabelsForFacet:()=>i.t2P,getMatchGroups:()=>i.KbW,getMatchRuleLabel:()=>i.wId,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getMlDqData:()=>i.GFW,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getOvAttributeValuesByPathWithOvFlag:()=>i.BgZ,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPivotingLabel:()=>i.kR6,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileEntityWithHistoryDiff:()=>i.Ob5,getProfileEntityWithoutHistoryDiff:()=>i.KUV,getProfileObjectIdsForCollaboration:()=>i.dvH,getProfileViewOptions:()=>i.Sn,getProfileViewsIdsByTypes:()=>i.V3i,getPropWithInheritance:()=>i.VD3,getRangeOptionLabel:()=>i.mm2,getRdmTenants:()=>i.rou,getReadableAttributeTypes:()=>i.izH,getReadableAttributesList:()=>i.DK$,getRecentSearches:()=>i.KMp,getReferencedAttrTypeUrisFromAttrType:()=>i.c31,getReferencedEntityActiveError:()=>i.mbo,getReferencedEntityAttrTypesUris:()=>i.gT8,getReferencedEntityFromAttrValue:()=>i.CZ8,getReferencedEntityTypeUri:()=>i.uGi,getReferencedEntityTypeUriFromAttrType:()=>i.Poc,getReferencedEntityTypeUriFromAttrValue:()=>i._9k,getReferencedEntityUri:()=>i.ZTM,getReferencedEntityUriFromAttrValue:()=>i.bwT,getReferencedRelationAttrTypes:()=>i.tzW,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.PUO,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequiredAttributeTypes:()=>i.Y_p,getRequiredAttributeTypesByTypeUri:()=>i.$k6,getResolvedLookupLabel:()=>i.Gdl,getResolvedLookupValue:()=>i.U6P,getResolvedLookupsForFacet:()=>i.OwB,getRestrictedObjectsHierarchy:()=>i.hTh,getRoleLabel:()=>i.xqc,getRolesForEntityType:()=>i.JvE,getRootFieldName:()=>i.i29,getRulesConfig:()=>i.dzT,getSavedSearch:()=>i.uPS,getSavedSearches:()=>i.cZV,getSearchGroupAttributeEntityTypeUri:()=>i.n3B,getSearchGroupAttributeLabel:()=>i.e6O,getSearchLink:()=>i.s7j,getSearchLinkState:()=>i.j$Q,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTagLink:()=>i.hgZ,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantIconColor:()=>i.bsH,getTenantName:()=>i.u9Z,getTotalFromDataTenant:()=>i.J$m,getTotals:()=>i.j_Q,getTotalsForQuery:()=>i.OaI,getTransitiveMatchRules:()=>i.wB1,getTransitiveMatches:()=>i.SP6,getTransitiveMatchesForEntity:()=>i.ZYr,getTree:()=>i.IMU,getUIConfiguration:()=>i.FoU,getUnresolvedLookupsList:()=>i.DVz,getUnresolvedLookupsListFromSearchGroups:()=>i.mxe,getUrisForSaving:()=>i.FHr,getUserPreference:()=>i.D1g,getValidatedSortField:()=>i.VO3,getValidatedSortOrder:()=>i.de5,gif2Url:()=>i.Uw1,hasAttributeDescendantsWithErrors:()=>i.J6q,hasDependentLookupAttributes:()=>i.XCe,hasEntityInTree:()=>i.fbl,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,initializeWebWorker:()=>i.QWZ,insertDefaultImageByAttrUri:()=>i.YL3,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeForDataTenant:()=>i.fGG,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isAvailableRelationTypeUri:()=>i.pQZ,isAvailableTenantForEntityType:()=>i.oZ7,isBooleanType:()=>i.T6Y,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptyEntity:()=>i.lzc,isEmptySearchGroup:()=>i.qIF,isEmptyValue:()=>i.O27,isEntityImportedToCT:()=>i.aBi,isEntitySpecialAttrType:()=>i.xOX,isEntityTypeUri:()=>i.EdS,isEntityUri:()=>i.WgC,isEnumAttrType:()=>i.eEv,isFileFilterOption:()=>i.A4t,isFirstLevelAttributeUri:()=>i.YOQ,isFloatingType:()=>i.Wos,isFreemiumAdmin:()=>i.jWr,isImage:()=>i.Or$,isInHierarchy:()=>i.lhE,isLookupAttrType:()=>i.CwH,isMatchRuleAttrType:()=>i.pzC,isMultiValueOption:()=>i.ymH,isNested:()=>i.QZu,isNumericRangeFacet:()=>i.rYH,isNumericType:()=>i.FVt,isObject:()=>i.Kn2,isOrOperator:()=>i.jgw,isOutdatedDateRangeValue:()=>i.Qgr,isOv:()=>i.OXP,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationCommandForUri:()=>i.kMF,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isRelationWithEntityType:()=>i.Ian,isReltioCrosswalk:()=>i.KVV,isRequired:()=>i.q9e,isResolvedLookupCode:()=>i.iIf,isRoleAttrType:()=>i.ian,isSSNType:()=>i.m6e,isSourceSystemAttrType:()=>i.OFd,isSpecialAttribute:()=>i.kqr,isSuggestMode:()=>i.fnZ,isTagAttrType:()=>i.VFZ,isTempUri:()=>i.ZiX,isTimestampBasedType:()=>i.j5n,isToday:()=>i.zkt,isTransitiveMatch:()=>i.Pcm,isTypeAttrType:()=>i.QDV,isTypeFacet:()=>i.M5u,isTypeSearchGroupAttribute:()=>i.laD,isTypeaheadAttrType:()=>i.mtq,isUnresolvedLookupCode:()=>i.CtB,isUrl:()=>i.CBv,isUrlType:()=>i.I0t,isValidRelationToAdd:()=>i.u1G,isValidSearchGroup:()=>i.gk1,isValidSearchGroupAttribute:()=>i.Bgb,isViewMode:()=>i.uzs,joinFilterStrings:()=>i.v0l,loadMetadata:()=>i.Zqp,localizeMetadata:()=>i.j0k,makeAttrTypeUri:()=>i.tCm,makeCompositeFilterOption:()=>i.gmx,mapFilterValue:()=>i.mOr,mapSearchTypeToFieldName:()=>i.TwZ,mapTree:()=>i.GyU,markAsNotMatch:()=>i.zGm,markDataTenantEntityAsNotMatch:()=>i.bMg,markEdited:()=>i.EyD,markIgnored:()=>i.FQA,markMixedEntitiesAsNotMatches:()=>i.fZN,markNew:()=>i.xsF,markRemoved:()=>i.Lxg,markSavedSearchAsFavorite:()=>i.O3l,markSavedSearchAsPublic:()=>i.Wni,marksJSONReplacer:()=>i.wRx,mergeCustomerTenantEntityWithMixedEntities:()=>i.OxG,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,optimizeCommands:()=>i.Jct,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseTimestamp:()=>i.ZBU,partitionByMlMatch:()=>i.UkJ,pinAttribute:()=>i.xkv,populateDependentLookupsFromEntity:()=>i.z$M,postGraphExport:()=>i.KAm,prepareAttrDiff:()=>i.lCl,prepareEntityForValidation:()=>i.rkF,processDefinitions:()=>i.IU6,promiseAllSettled:()=>i.RGr,promisifyCallback:()=>i.aYu,promisifyProvider:()=>i.ije,rateRelation:()=>i.Buf,rawRequest:()=>i.YLu,referencedEntityAttributeTypesSelectionStrategy:()=>i.ct9,reinstateDataTenantEntityMatch:()=>i.XkY,reinstateMatch:()=>i.T5R,reinstateMixedEntitiesMatches:()=>i.uQS,relationEditorAttributeTypesSelectionStrategy:()=>i.wcJ,removeAttribute:()=>i.d$I,removeDtssPrefixFromEntityUri:()=>i.rSp,removeEntity:()=>i.Sx,removeEntityAttribute:()=>i.Ilm,removeEntitySpecialAttribute:()=>i.Ki6,removeRelation:()=>i.VGk,removeUnsupportedLayoutItems:()=>i.sFD,removeValuesFromDependentLookups:()=>i.eWN,replacePlaceholdersInQuery:()=>i.dWE,replaceTempUriInCommands:()=>i.Lkd,replaceTemporaryRefEntityURI:()=>i.aDL,requestForDataTenant:()=>i.yaA,resetUserPreference:()=>i.lOh,resolve:()=>i.DBr,resolveLookupsList:()=>i.hK$,runTaskAction:()=>i.TZ_,sanitizeTypesInSearchGroups:()=>i.CMB,saveEntity:()=>i.FU8,saveTemporaryEntities:()=>i.J$p,saveTemporaryEntity:()=>i.b5s,searchUriToAttrUri:()=>i.h2W,sendRequestFromCustomSandbox:()=>i.SL_,sendWorkflowRequest:()=>i.oUH,setAsMatch:()=>i.ck9,setLookupStrategy:()=>i.nL,setMinHeightForDashboardWidgets:()=>i.k$p,setRequestProvider:()=>i.Xs0,setUserPreference:()=>i.u7I,shiftDownOperators:()=>i.rxg,shiftUpOperators:()=>i.bji,shouldUseValidationService:()=>i.oCZ,sortTreeChildren:()=>i.MjG,startProcessFromQuery:()=>i.FuV,startProcessInstance:()=>i.$ju,startProcessInstanceByPairs:()=>i.t6d,svg2Url:()=>i.m5F,syncAttributeTypeWithDependentLookups:()=>i.sx,theme:()=>i.rSc,typeAheadSearch:()=>i.U10,unmergeContributor:()=>i.L8n,unsubscribeEntityFromDataTenantEntity:()=>i.R9X,updateActivenessAttribute:()=>i.rj2,updateAssigneeForTask:()=>i._C4,updateAttribute:()=>i.tCj,updateComment:()=>i.uAg,updateConnectionEntityLabel:()=>i.wx9,updateDueDateForTask:()=>i.KF3,updatePriorityForTask:()=>i.ax9,updateRelation:()=>i.HH7,updateReply:()=>i.ufV,updateSavedSearch:()=>i._6y,updateTreesWithNewEntity:()=>i.XTh,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,utils:()=>i.P6Y,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateFilterValue:()=>i.jtL,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(70687)}}]);
package/5592.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5592],{8598:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(95038),r=n.n(a);const o=function(){function e(e){var t=void 0===e?{}:e,n=t.locale,a=t.instance,o=t.moment;this.yearFormat="YYYY",this.yearMonthFormat="MMMM YYYY",this.dateTime12hFormat="MMMM Do hh:mm a",this.dateTime24hFormat="MMMM Do HH:mm",this.time12hFormat="hh:mm A",this.time24hFormat="HH:mm",this.dateFormat="MMMM Do",this.moment=a||o||r(),this.locale=n}return e.prototype.parse=function(e,t){return""===e?null:this.moment(e,t,!0)},e.prototype.date=function(e){if(null===e)return null;var t=this.moment(e);return t.locale(this.locale),t},e.prototype.isValid=function(e){return this.moment(e).isValid()},e.prototype.isNull=function(e){return null===e},e.prototype.getDiff=function(e,t){return e.diff(t)},e.prototype.isAfter=function(e,t){return e.isAfter(t)},e.prototype.isBefore=function(e,t){return e.isBefore(t)},e.prototype.isAfterDay=function(e,t){return e.isAfter(t,"day")},e.prototype.isBeforeDay=function(e,t){return e.isBefore(t,"day")},e.prototype.isBeforeYear=function(e,t){return e.isBefore(t,"year")},e.prototype.isAfterYear=function(e,t){return e.isAfter(t,"year")},e.prototype.startOfDay=function(e){return e.clone().startOf("day")},e.prototype.endOfDay=function(e){return e.clone().endOf("day")},e.prototype.format=function(e,t){return e.locale(this.locale),e.format(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hours")},e.prototype.addDays=function(e,t){return t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days")},e.prototype.setHours=function(e,t){return e.clone().hours(t)},e.prototype.getMinutes=function(e){return e.get("minutes")},e.prototype.setMinutes=function(e,t){return e.clone().minutes(t)},e.prototype.getSeconds=function(e){return e.get("seconds")},e.prototype.setSeconds=function(e,t){return e.clone().seconds(t)},e.prototype.getMonth=function(e){return e.get("month")},e.prototype.isSameDay=function(e,t){return e.isSame(t,"day")},e.prototype.isSameMonth=function(e,t){return e.isSame(t,"month")},e.prototype.isSameYear=function(e,t){return e.isSame(t,"year")},e.prototype.isSameHour=function(e,t){return e.isSame(t,"hour")},e.prototype.setMonth=function(e,t){return e.clone().month(t)},e.prototype.getMeridiemText=function(e){return"am"===e?"AM":"PM"},e.prototype.startOfMonth=function(e){return e.clone().startOf("month")},e.prototype.endOfMonth=function(e){return e.clone().endOf("month")},e.prototype.getNextMonth=function(e){return e.clone().add(1,"month")},e.prototype.getPreviousMonth=function(e){return e.clone().subtract(1,"month")},e.prototype.getMonthArray=function(e){for(var t=[e.clone().startOf("year")];t.length<12;){var n=t[t.length-1];t.push(this.getNextMonth(n))}return t},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.clone().set("year",t)},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){return this.moment.weekdaysShort(!0)},e.prototype.isEqual=function(e,t){return null===e&&null===t||this.moment(e).isSame(t)},e.prototype.getWeekArray=function(e){for(var t=e.clone().startOf("month").startOf("week"),n=e.clone().endOf("month").endOf("week"),a=0,r=t,o=[];r.isBefore(n);){var l=Math.floor(a/7);o[l]=o[l]||[],o[l].push(r),r=r.clone().add(1,"day"),a+=1}return o},e.prototype.getYearRange=function(e,t){for(var n=this.moment(e).startOf("year"),a=this.moment(t).endOf("year"),r=[],o=n;o.isBefore(a);)r.push(o),o=o.clone().add(1,"year");return r},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,"YYYY")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ddd, MMM D")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM D")},e.prototype.getMonthText=function(e){return this.format(e,"MMMM")},e.prototype.getDayText=function(e){return this.format(e,"D")},e.prototype.getHourText=function(e,t){return this.format(e,t?"hh":"HH")},e.prototype.getMinuteText=function(e){return this.format(e,"mm")},e.prototype.getSecondText=function(e){return this.format(e,"ss")},e}()},27604:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=o},71519:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=o},99144:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.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=o},67766:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=o},42767:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=o},47603:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{transform:"scale(1.2, 1.2)",fill:"none",d:"M0 0h20v20H0V0z"}),r.default.createElement("path",{transform:"scale(1.2, 1.2)",d:"M15.95 10.78c.03-.25.05-.51.05-.78s-.02-.53-.06-.78l1.69-1.32c.15-.12.19-.34.1-.51l-1.6-2.77c-.1-.18-.31-.24-.49-.18l-1.99.8c-.42-.32-.86-.58-1.35-.78L12 2.34c-.03-.2-.2-.34-.4-.34H8.4c-.2 0-.36.14-.39.34l-.3 2.12c-.49.2-.94.47-1.35.78l-1.99-.8c-.18-.07-.39 0-.49.18l-1.6 2.77c-.1.18-.06.39.1.51l1.69 1.32c-.04.25-.07.52-.07.78s.02.53.06.78L2.37 12.1c-.15.12-.19.34-.1.51l1.6 2.77c.1.18.31.24.49.18l1.99-.8c.42.32.86.58 1.35.78l.3 2.12c.04.2.2.34.4.34h3.2c.2 0 .37-.14.39-.34l.3-2.12c.49-.2.94-.47 1.35-.78l1.99.8c.18.07.39 0 .49-.18l1.6-2.77c.1-.18.06-.39-.1-.51l-1.67-1.32zM10 13c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"})),"Settings");t.Z=o},72753:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=o},32528:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(13688),r=n(48852);const o=e=>t=>(0,r.l)(a.X,e,t)},1876:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(87918),s=n.n(i),c=n(94079),p=n(87685);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}const d=e=>r().createElement("svg",u({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),m=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),f=e=>{let{enabled:t,onClick:n}=e;const a=m();return r().createElement(c.Tooltip,{title:t?s().text("Clear all filters"):s().text("Filter")},r().createElement(c.IconButton,{onClick:n,classes:{root:a.button}},t?r().createElement(r().Fragment,null,r().createElement(d,{className:a["filterIcon--enabled"]}),r().createElement(p.default,{color:"primary",className:a.closeIcon})):r().createElement(d,null)))};f.propTypes={enabled:l().bool,onClick:l().func};const y=f},58662:(e,t,n)=>{n.d(t,{Z:()=>h});var a=n(13980),r=n.n(a),o=n(24328),l=n.n(o),i=n(71153),s=n.n(i),c=n(94079),p=n(87918),u=n.n(p),d=n(31276),m=n(17440);const f=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>{let{classes:t={},count:n,rowsPerPageOptions:a,page:r,onChangePage:i,rowsPerPage:p,onChangeRowsPerPage:b,basicTableRef:g,labelRowsPerPage:h}=e;const v=f(),x=(0,o.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],g)()}),[g]),E=(0,o.useCallback)((e=>{i(e),x()}),[i,x]),C=(0,o.useCallback)((e=>{i(0),b(e),x()}),[i,b,x]);return l().createElement(c.TablePagination,{classes:y({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:h||u().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return u().text("${fromRow}-${toRow} of ${countRows}",{fromRow:u().number(t,"0,0"),toRow:u().number(n,"0,0"),countRows:u().number(a,"0,0")})},count:n,rowsPerPageOptions:a,page:r,onChangePage:(0,m.pipe)((0,m.nthArg)(1),E),rowsPerPage:p,onChangeRowsPerPage:(0,m.pipe)(d.NA,C)})};g.propTypes={classes:r().object,rowsPerPageOptions:r().arrayOf(r().number),count:r().number,page:r().number,onChangePage:r().func,rowsPerPage:r().number,onChangeRowsPerPage:r().func,basicTableRef:r().shape({current:r().object}),labelRowsPerPage:r().string};const h=l().memo(g)},26180:(e,t,n)=>{n.d(t,{ZP:()=>y});var a=n(17440),r=n(31276);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i="CHANGE_COLUMNS",s="TOGGLE_FILTERS",c="CHANGE_FILTER",p="TOGGLE_SORT",u="CHANGE_PAGE",d="CHANGE_ROWS_PER_PAGE",m={changeColumns:(0,r.zD)(i),toggleFilters:(0,r.zD)(s),changeFilter:(0,r.zD)(c),toggleSort:(0,r.zD)(p),changePage:(0,r.zD)(u),changeRowsPerPage:(0,r.zD)(d)},f=(e,t)=>{const n=(0,a.difference)(e.visibleColumns,t),r=e=>n.includes(e);return(0,a.evolve)({visibleColumns:(0,a.always)(t),sorting:(0,a.when)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(e.field)}),(()=>{const[e]=t;return{field:e,order:"asc"}})),filters:e=>(0,a.keys)(e).reduce(((e,t)=>r(t)?(0,a.dissoc)(t,e):e),e)},e)},y={reducer:(e,t)=>{switch(t.type){case i:{const n=t.payload;return f(e,n)}case s:{const t=!e.filters;return o({},e,{filters:t?{}:null,page:t?e.page:0})}case c:{const{columnId:n,filter:r}=t.payload;return(0,a.evolve)({filters:r?(0,a.assoc)(n,r):(0,a.dissoc)(n),page:(0,a.always)(0)},e)}case p:{const n=t.payload,l=(0,a.path)(["sorting","field"],e),i=(0,a.path)(["sorting","order"],e);return o({},e,{sorting:{field:n,order:(0,r.Dh)(n===l?i:null)},page:0})}case u:return o({},e,{page:t.payload});case d:return o({},e,{rowsPerPage:t.payload});default:return e}},actions:m,changeVisibleColumns:f}},10237:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(27556),r=n(13980),o=n.n(r),l=n(24328),i=n.n(l);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=(0,n(79692).Z)((e=>({"basic-view__paper":s({display:"flex",flexDirection:"column"},e.basicView)})));function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}const d=(0,l.forwardRef)(((e,t)=>{let{children:n,className:r}=e,o=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const l=p();return i().createElement(a.Z,u({ref:t,className:r,classes:{root:l["basic-view__paper"]}},o),n)}));d.displayName="BasicView",d.propTypes={children:o().node,className:o().string};const m=d},81137:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),o=n(87918),l=n.n(o),i=n(94079);const s=(0,n(79692).Z)({paper:{minHeight:"180px"},title:{padding:"16px 16px 10px 16px",fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px"},content:{padding:"0 16px"},contentText:{marginBottom:0,fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px"},actionButtons:{display:"flex",paddingTop:"4px",fontSize:"14px",fontWeight:500,letterSpacing:0,lineHeight:"16px","& > div":{marginLeft:"auto"}},discardButton:{marginRight:"8px"}}),c=e=>{let{open:t,title:n,content:a,onCancel:o,cancelCaption:c=l().text("Cancel"),onDiscard:p,discardCaption:u="",onSave:d,saveCaption:m=l().text("Save"),disabledSave:f=!1}=e;const y=s();return r().createElement(i.Dialog,{open:t,onClose:o,classes:{paperScrollPaper:y.paper}},r().createElement(i.DialogTitle,{classes:{root:y.title}},n),r().createElement(i.DialogContent,{classes:{root:y.content}},r().createElement(i.DialogContentText,{classes:{root:y.contentText}},a)),r().createElement(i.DialogActions,{className:y.actionButtons,disableSpacing:!0},o&&r().createElement(i.Button,{onClick:o},c),r().createElement("div",null,p&&r().createElement(i.Button,{onClick:p,classes:{root:y.discardButton}},u),r().createElement(i.Button,{onClick:d,color:"primary",disabled:f,autoFocus:!0},m))))}},68439:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),o=n(52730),l=n(71153),i=n.n(l),s=n(94079),c=n(70687),p=n(59431),u=n(88611);const d=(0,n(79692).Z)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px",flexShrink:0},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px",flexShrink:0}}),m=e=>{let{entity:t,className:n,size:a="small"}=e;const l=d(),m=(0,o.useSelector)(p.ZP.selectors.getMetadata),f=t.type,y=(0,c.nt9)(m,f)||{},b=(0,c.VD3)(m,y,"typeColor")||c.rSc.palette.primary.main,g=(0,c.jFi)(m,t);return r().createElement(u.C,{value:g,placement:"top"},r().createElement(s.Typography,{style:{backgroundColor:b,color:c.P6Y.Colors.getColor(b)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${a}`],l["entityType-overflow"],n),component:"div"},g))}},64459:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(52730),s=n(17440),c=n(94079),p=n(87918),u=n.n(p),d=n(70687),m=n(59431),f=n(53180),y=n(68439);const b=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),g=e=>{let{className:t,entity:n,children:o}=e;const p=b(),g=(0,i.useSelector)(m.ZP.selectors.getMetadata),h=(0,i.useSelector)(m.ZP.selectors.getShowEntityId),v=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,d.BTI)(n))}),[n]);if((0,s.isNil)(n))return null;const x=(0,d.idV)(n.label),E=n.secondaryLabel,C=(0,d.ptG)(g,n),w=(0,d.Fn9)(n),S=n.uri,T=(0,d.BTI)(n);return r().createElement("div",{className:l()(p.profileBandWrapper,t)},r().createElement("div",{className:l()(p.profileBand,{[p.inactive]:!w}),"data-entity-uri":S},r().createElement(f.Z,{key:n.uri,entity:n,avatarClassName:p.profileIcon,imageClassName:p.imageProfileIcon}),r().createElement("div",{className:p.profileInfo},r().createElement("div",null,r().createElement(c.Typography,{variant:"h6",className:p.label},x),E&&r().createElement(c.Typography,{variant:"subtitle2",className:p.secondaryLabel},E),C&&r().createElement(c.Typography,{variant:"subtitle1",className:p.businessCard},C)),r().createElement("div",{className:p.specialInfo},r().createElement("div",{className:p.entityType},r().createElement(y.Z,{entity:n,size:"medium",className:p.badge}),!(0,d.ZiX)(S)&&h&&r().createElement(c.Tooltip,{title:u().text("Copy to clipboard")},r().createElement(c.Typography,{display:"inline",variant:"body2",className:p.entityId,onClick:v},u().text("Entity ID"),": ",T))))),o&&r().createElement("div",null,o)))}},54013:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),o=n(47603),l=n(87918),i=n.n(l),s=n(8818),c=n(55847);const p=e=>{let{items:t,menuId:n}=e;return r().createElement(c.Z,{buttonComponent:s.k,buttonProps:{icon:o.Z,tooltipTitle:i().text("Settings"),size:"L"},menuId:n,menuItems:t})}},30553:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(13980),r=n.n(a),o=n(24328),l=n.n(o);const i=e=>{let{height:t,margin:n}=e;return l().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};i.propTypes={height:r().number,margin:r().number};const s=i},86361:(e,t,n)=>{n.d(t,{o:()=>l});var a=n(24328),r=n(17440);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>{let{actions:t,dispatch:n}=e;return(0,a.useMemo)((()=>Object.entries(t).reduce(((e,t)=>{let[a,l]=t;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){o(e,t,n[t])}))}return e}({},e,{[a]:(0,r.pipe)(l,n)})}),{})),[n,t])}},7718:(e,t,n)=>{n.d(t,{C:()=>f});var a=n(24328),r=n(52730),o=n(17440),l=n(70687),i=n(59431);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=(e,t)=>t.filter((t=>t.replyId!==e)),u=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),a=[...e.replies];return a[n]=t,a},d=[],m=e=>console.error("Collaboration error",e),f=e=>{let{objectIds:t=d,objectTypes:n,enabled:c=!0}=e;const f=(0,r.useSelector)(i.ZP.selectors.getEntity),y=(0,r.useSelector)(i.ZP.selectors.getTenant),b=(0,r.useSelector)(i.ZP.selectors.getCollaborationPath),g=(0,r.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[h,v]=(0,a.useState)(null),[x,E]=(0,a.useState)([]),[C,w]=(0,a.useState)(null),[S,T]=(0,a.useState)(null),[O,P]=(0,a.useState)(!1),[k,D]=(0,a.useState)(!1),[R,Z]=(0,a.useState)({}),N=(0,a.useCallback)((e=>{w((t=>s({},t,e)))}),[]),j=null==f?void 0:f.uri,I=(0,a.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(g&&j&&!(0,l.ZiX)(j)){const n=e=>{console.warn("Collaboration error",e),w(null)};(0,o.pipe)(l.$oF,(0,o.andThen)((0,o.map)((0,o.props)(["objectId","comments"]))),(0,o.andThen)(o.fromPairs),(0,o.andThen)(t?w:N),(0,o.otherwise)(n))({uris:e,tenant:y,collaborationPath:b})}else w(null)}),[N,b,j,g,y]);(0,a.useEffect)((()=>{I(t,!0)}),[t,I]);const M=(0,a.useCallback)(((e,t)=>{(0,l.liG)({collaborationPath:b,tenant:y,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:a}=e;E((e=>t?(0,o.uniqBy)((0,o.prop)("commentId"),[...e,...n]):n)),v(a)})).catch(m)}),[b,y]),A=(0,a.useCallback)((e=>{D(!0),(0,l.d7q)({collaborationPath:b,tenant:y,commentId:e}).then(T).catch(m).finally((()=>D(!1)))}),[b,y]),F=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:o}=e;P(!0);const i={objectId:r,content:t,relatedObjectUris:o,objectType:a,visibility:"public",namedUsers:n,permanentLink:""};return(0,l.Yrx)({collaborationPath:b,tenant:y,data:i}).then((e=>{let[t]=e;return((e,t)=>{T(e),w((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),E((t=>[e,...t]))})(t,r)})).catch(m).finally((()=>P(!1)))}),[b,y]),L=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:i,commentId:c,replies:p}=e;P(!0);const u={objectId:r,content:t,relatedObjectUris:i,objectType:a,visibility:"public",namedUsers:n,permanentLink:"",commentId:c,replies:p};return(0,l.uAg)({collaborationPath:b,tenant:y,data:u}).then((e=>(e=>{T(e),E((0,o.map)((0,o.when)((0,o.propEq)("commentId",e.commentId),(0,o.always)(e))))})(s({},e,{replies:p})))).catch(m).finally((()=>P(!1)))}),[b,y]),z=(0,a.useCallback)((e=>{let{uri:t,commentId:n}=e;P(!0),(0,l.YFy)({collaborationPath:b,tenant:y,commentId:n}).then((()=>((e,t)=>{T(null),w((n=>{const a=n[t]||[];return s({},n,{[t]:a.filter((t=>t.commentId!==e))})})),E((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(m).finally((()=>P(!1)))}),[b,y]),B=(0,a.useCallback)(((e,t,n,a)=>{const r="resolve"===e.action?"resolved":"open",{replyId:o}=e;T("resolved"===r?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:a?p(o,t.replies):[...t.replies,e]})}),w((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:r,replies:a?e.replies-1:e.replies+1}):e))}))),E((t=>t.map((t=>t.commentId===n?s({},t,{status:r,replies:a?p(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),U=(0,a.useCallback)((e=>{let{uri:t,commentId:n,reply:a}=e;P(!0),(0,l.Mfr)({collaborationPath:b,tenant:y,commentId:n,replyId:a.replyId}).then((()=>B(a,t,n,!0))).catch(m).finally((()=>P(!1)))}),[b,B,y]),_=(0,a.useCallback)(((e,t)=>{T((t=>{if(t)return s({},t,{replies:u(t,e)})})),E((n=>n.map((n=>n.commentId===t?s({},n,{replies:u(n,e)}):n))))}),[]),H=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,replyId:r}=e;P(!0);const o={content:t,namedUsers:n};return(0,l.ufV)({collaborationPath:b,tenant:y,commentId:a,replyId:r,data:o}).then((e=>_(e,a))).catch(m).finally((()=>P(!1)))}),[b,y,_]),W=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,action:r,uri:o}=e;P(!0);const i={content:t,action:r,namedUsers:n};return(0,l.PP2)({collaborationPath:b,tenant:y,commentId:a,data:i}).then((e=>{let[t]=e;return B(t,o,a)})).catch(m).finally((()=>P(!1)))}),[b,y,B]),V=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;W({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[W]),Y=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;W({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[W]);return{clearCurrentComment:(0,a.useCallback)((()=>{T(null)}),[]),comments:x,commentsMap:C,getCommentState:(e,t)=>(0,o.pathOr)({},[e,t],R),updateCommentState:(e,t,n)=>{Z((a=>{const r=[e,t],l=(0,o.path)(r,a);return(0,o.assocPath)(r,(0,o.mergeRight)(l,n),a)}))},clearCommentState:(e,t)=>Z((0,o.dissocPath)([e,t])),createComment:F,createReply:W,currentComment:S,deleteComment:z,editComment:L,getComment:A,getComments:M,getCommentsCount:I,loading:k,objectTypes:n,pageToken:h,reOpenThread:Y,resolveThread:V,sending:O,deleteReply:U,editReply:H}}},37152:(e,t,n)=>{n.d(t,{a:()=>m});var a=n(24328),r=n(52730),o=n(17440),l=n(59431),i=n(70687),s=n(85229),c=n(30634);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(0,o.when)(o.identity,(0,o.pipe)(i.VGB,o.length,(0,o.times)((e=>e+1)))),m=e=>{let{sorting:t,filter:n,page:u,rowsPerPage:m,config:f,entity:y,relationActivityFilter:b,mode:g,searchByOv:h=!1}=e;const[v,x]=(0,a.useState)(!1),E=(0,r.useDispatch)(),C=(0,r.useSelector)(l.ZP.selectors.getTenant),w=(0,r.useSelector)(l.ZP.selectors.getMetadata),S=(0,r.useSelector)(l.ZP.selectors.getDtssPath),{activityFilter:T,globalFilter:O}=(0,r.useSelector)(l.ZP.selectors.getGlobalSearchRequestOptions)||{},P=(0,s._)(),k=e=>{const t=(0,o.when)(i.Kn2,(0,o.prop)("uri")),n=(0,o.pipe)(t,(0,i.pQZ)(w));return(0,o.evolve)({entityTypes:(0,o.filter)((0,i.kuw)(w)),inRelations:(0,o.filter)(n),outRelations:(0,o.filter)(n),nextEntry:k})(e)},D=f.suggested,R=(0,a.useMemo)((()=>({searchByOv:h})),[h]),Z=(0,a.useCallback)((()=>{if(null!=y&&y.uri){const e=p({},k(f.content),{sortBy:null==t?void 0:t.field,order:null==t?void 0:t.order,returnDates:!0,returnObjects:!0,activeness:{relation:b||i.Ng6.ALL,entity:T},max:m,offset:u*m,filter:(0,i.vyX)(O,n)||void 0,suggested:d(D)}),a=[e].concat((0,o.ifElse)(o.identity,(0,o.pipe)(i.VGB,(t=>t.map(((t,n)=>p({},t,{id:e.suggested[n]}))))),(0,o.always)([]))(D)),r=(0,o.cond)([[(0,o.pipe)((0,o.prop)("uri"),i.ZiX),()=>Promise.resolve([{total:0}])],[i.biM,e=>(0,i.n_1)({entityUri:e.uri,configs:a,customerTenant:C,dataTenant:e.dataTenant,dtssPath:S,options:R})],[o.T,e=>(0,i.N6e)(e.uri,a,R)]]);x(!0),P(r(y)).then((e=>{let[{connections:t,total:n}]=e;E(l.N5.relations.actions.relationsLoaded({id:f.id,connections:t,total:n}))})).finally((()=>{x(!1)}))}}),[T,w,f,E,S,null==y?void 0:y.uri,null==y?void 0:y.dataTenant,n,O,u,b,m,P,t,C,R]),N=(0,a.useRef)(!1);N.current=!1,(0,a.useEffect)((()=>{N.current=!0,Z()}),[Z]);const j=(0,c.D)(g);return(0,a.useEffect)((()=>{g!==i.ARY.Viewing||N.current||j===g||(N.current=!0,Z())}),[Z,g,j]),{isLoading:v,reload:Z}}},17554:(e,t,n)=>{n.d(t,{U:()=>i});var a=n(24328),r=n(52730),o=n(70687),l=n(59431);const i=()=>{const[e,t]=(0,a.useState)([]),n=(0,r.useSelector)(l.ZP.selectors.getTenant),i=(0,r.useSelector)(l.ZP.selectors.getServicesPath),s=e=>{console.warn("Users error",e),t([])};return(0,a.useEffect)((()=>{(0,o.kz_)({tenant:n,servicesPath:i}).then((e=>{let{array:n}=e;return t(n)})).catch(s)}),[n,i]),e}},55451:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Yt});var a=n(24328),r=n.n(a),o=n(52730),l=n(8598),i=n(36138),s=n(44443),c=n(22664),p=n(39450),u=n(585),d=n(17440),m=n(59431),f=n(70687),y=n(17554),b=n(20562),g=n(37152),h=n(7718),v=n(49759),x=n(3515),E=n(31274),C=n(64459),w=n(93873),S=n(99136),T=n(58662);function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={relationsTable:{},attributesTable:{}};var D=n(26180),R=n(31276),Z=n(86361),N=n(87918),j=n.n(N);const I="relation.type",M="relation.attributes",A=[{id:"entity.label",get label(){return j().text("Profile")},dataTypeDefinition:{type:f.oS0.TYPE_STRING},hideable:!1,filterable:!1,initialWidth:280,autoResize:!1},{id:I,get label(){return j().text("Type")}},{id:"relation.label",get label(){return j().text("Directional Label")},filterable:!1,dataTypeDefinition:{type:f.oS0.TYPE_STRING}},{id:"relation.activeness.startDate",get label(){return j().text("Start Date")},dataTypeDefinition:{type:f.oS0.TYPE_ACTIVENESS_DATE}},{id:"relation.activeness.endDate",get label(){return j().text("End Date")},dataTypeDefinition:{type:f.oS0.TYPE_ACTIVENESS_DATE}},{id:M,get label(){return j().text("Attributes")},sortable:!1,filterable:!1,maxAttrsToShow:7}],F=(0,d.pluck)("id",A),L=[I,M],z=[20,50,100],B=(0,d.pipe)(f.Tde,(0,d.concat)("relation.")),U=(0,d.pipe)((0,d.map)((e=>({id:B(e.uri),label:e.label,dataTypeDefinition:(0,f.PFL)(e)}))),(0,d.uniqBy)((0,d.prop)("id")));function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){H(e,t,n[t])}))}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const W="CHANGE_RELATION_TYPE",V="APPLY_SAVED_STATE",Y="SAVE_CURRENT_STATE",G=_({},D.ZP.actions,{changeRelationType:(0,R.zD)(W),applySavedState:(0,R.zD)(V),saveCurrentState:(0,R.zD)(Y)}),$=(0,d.assoc)("page",0),q=e=>(0,d.pipe)((0,d.prop)("visibleColumns"),(0,d.ifElse)((0,d.always)(e.currentRelationType),(0,d.without)(L),(0,d.concat)(L)),(0,d.intersection)(F))(e),X=e=>(0,d.path)(["visibleColumnsForRelationTypes",`${e.currentRelationType}`],e),K=e=>{const t=(0,d.either)(X,q)(e);return D.ZP.changeVisibleColumns(e,t)},J=(0,d.pipe)((0,d.propOr)(null,"filters"),(0,d.unless)(d.isNil,(0,d.filter)((e=>{let{filter:t,value:n}=e;return(0,f.jtL)(t,n)})))),Q=e=>{const{currentRelationType:t,visibleColumns:n}=e;return(0,d.evolve)({visibleColumnsForRelationTypes:(0,d.assoc)(`${t}`,n)},e)},ee=(0,d.pipe)(Q,(0,d.pick)(["currentRelationType","visibleColumnsForRelationTypes","filters","sorting"]));var te=n(99341),ne=n(94079),ae=n(92778),re=n(30553),oe=n(51229),le=n(54013),ie=n(1876),se=n(60894),ce=n(79026),pe=n(79692);const ue=(0,pe.Z)({select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}}),de=e=>{let{value:t,onChange:n,relationTypes:o,className:l}=e;const i=ue(),s=(0,a.useMemo)((()=>(0,d.pipe)((0,d.map)((e=>{let{label:t,uri:n}=e;return{label:t,value:n}})),(0,d.concat)([{value:"",label:j().text("All types")}]))(o)),[o]);return r().createElement("div",{className:l},r().createElement(ce.Z,{displayEmpty:!0,disableUnderline:!0,classes:{select:i.select},TextFieldProps:{classes:{root:i.textField}},MenuProps:{classes:{list:i.selectMenu}},value:t||"",entries:s,onChange:e=>n(e||null)}))},me=(0,pe.Z)((e=>({header:{height:"56px",boxSizing:"border-box",paddingRight:"10px"},title:{fontSize:"16px"},total:{fontSize:"14px",color:e.palette.text.secondary,flexShrink:0,marginRight:"5px"},relationTypeSelector:{margin:"0px 10px 0 30px",overflow:"hidden"}}))),fe=(0,a.memo)((e=>{let{total:t,filteringEnabled:n,onToggleFilters:o,columnsData:l,selectedColumns:i,currentRelationType:s,onRelationTypeChange:c,relationTypes:p,onChangeColumns:u,searchByOv:d,onToggleSearchByOv:m}=e;const f=me(),y=(0,a.useMemo)((()=>[{selected:d,selectable:!0,text:j().text("Search by OV only"),onClick:m,id:"showNonOv"}]),[m,d]);return r().createElement(ae.Z,{title:j().text("Relationships"),classes:{root:f.header,title:f.title}},p.length>0&&r().createElement(de,{className:f.relationTypeSelector,value:s,onChange:c,relationTypes:p}),r().createElement(re.Z,{height:28,margin:20}),r().createElement(ne.Typography,{variant:"caption",className:f.total},1===t?j().text("${count} record",{count:t}):j().text("${count} records",{count:t})),r().createElement(oe.Z,null),r().createElement(le.Z,{items:y,menuId:"relationships-view-settings"}),r().createElement(ie.Z,{enabled:n,onClick:o}),r().createElement(re.Z,{height:28,margin:8}),r().createElement(se.Z,{columnsData:l,selectedColumns:i,onChangeColumns:u}))}));var ye=n(74402),be=n(97946),ge=n(85709),he=n(25461),ve=n(92332),xe=n(67353);const Ee=(0,pe.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%",width:"100%",fontSize:"12px",color:e.palette.text.secondary,background:"linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), #FFFFFF"},rowCell:{fontSize:"13px",overflow:"hidden",overflowWrap:"break-word"},inactiveRowCell:{opacity:.6},defaultWrapper:{padding:"15px 25px 0 25px","&:last-child":{paddingBottom:"15px"}},entityCell:{display:"flex",alignItems:"flex-start",padding:"15px"},entityAvatar:{transform:"scale(0.5)",margin:"-10px 0 -10px -10px"},inactiveEntityAvatar:{overflow:"initial","&:after":{content:'""',position:"absolute",backgroundColor:"rgb(209, 206, 206)",border:"1px solid rgba(0, 0, 0, 1)",borderRadius:"2px",width:"12px",right:0,bottom:0,height:"12px"},"& > img":{borderRadius:"50%",overflow:"hidden"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontWeight:500},attributesWrapper:{padding:"15px 25px 10px 25px",color:"rgba(0,0,0,0.87)"},commentsContainer:{marginLeft:"auto"}}))),Ce=(0,xe.Z)((e=>{const t=Ee();return r().createElement("div",{className:t.headCell},r().createElement(ve.default,e))}));var we=n(71153),Se=n.n(we),Te=n(19603),Oe=n(31254),Pe=n(31039),ke=n(94646);const De=e=>{let{value:{entity:t,entityType:n,relation:a},isInactiveRelation:l}=e;const i=Ee(),s=(0,o.useSelector)(m.ZP.selectors.getEntityUri);return r().createElement("div",{className:Se()(i.entityCell,Te.U)},r().createElement(Oe.Z,{className:Se()(i.entityAvatar,{[i.inactiveEntityAvatar]:l}),entityType:n}),r().createElement(Pe.Z,{value:(0,f.wwR)({uri:t.entityUri,dataTenant:t.dataTenant}),className:i.entityLabel},(0,f.idV)(t.entityLabel)),r().createElement("div",{className:i.commentsContainer,onClick:e=>e.stopPropagation()},r().createElement(ke.Z,{uri:a.relationUri,relatedObjectUris:(0,f.wp9)(f.q7e.RELATION,{entityUri:s,connection:{relation:a,entity:t}}),objectType:f.q7e.RELATION,allowOnlyOneComment:!0})))};var Re=n(80931);const Ze=e=>{let{columnData:t,value:{attributes:n,attributeTypes:a}}=e;const o=Ee();return r().createElement("div",{className:o.attributesWrapper,onClick:e=>e.stopPropagation()},r().createElement(Re.Z,{max:t.maxAttrsToShow,entity:{attributes:n},attrTypes:a,drawLines:!1}))};var Ne=n(72768);const je=e=>{let{value:t,columnData:{dataTypeDefinition:n}}=e;const a=Ee();return r().createElement("div",{className:a.defaultWrapper},r().createElement(Ne.Z,{value:t,dataTypeDefinition:n}))};function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Me=(0,d.pipe)((0,d.split)("."),(0,d.slice)(2,1/0)),Ae=e=>{if(e.startsWith("relation.attributes")){const t=Me(e);return t.length>1?t.slice(0,-1):null}return null},Fe=e=>{switch(e){case"entity.label":return De;case"relation.attributes":return Ze;default:return je}},Le=(0,d.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ie(e,t,n[t])}))}return e}({sortable:!0,resizable:!0},e,{headCellRenderer:Ce,nestedPath:Ae(e.id),rowCellValueRenderer:Fe(e.id)}))),ze=(0,d.cond)([[(0,d.pathEq)(["columnData","id"],"relation.attributes"),e=>{let{columnData:t,cell:n}=e;const a=(0,d.pipe)((0,d.path)(["values",0,"attributes"]),d.values,d.length)(n);return a>t.maxAttrsToShow?26*t.maxAttrsToShow+49:26*a+25}],[d.T,he.Z]]);function Be(){return Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Be.apply(this,arguments)}const Ue=e=>{let{cell:t,CellValueRenderer:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["cell","CellValueRenderer"]);const o=Ee();return r().createElement("div",{className:Se()(o.rowCell,{[o.inactiveRowCell]:a.isInactiveRelation})},t.values.map(((e,t)=>r().createElement(n,Be({key:t,value:e},a)))))};var _e=n(22983),He=n(43054),We=n(55847),Ve=n(22385),Ye=n(81137),Ge=n(83348);const $e=(0,pe.Z)((e=>({menuItem:{minHeight:"32px",color:e.palette.text.secondary},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0,marginLeft:"16px"},buttons:{display:"flex",alignItems:"center",paddingRight:"5px"}}))),qe=(0,Ge.Z)(ne.MenuItem),Xe=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=R.ZT}=e;const o=$e(),{icon:l,disabled:i,text:s,tooltip:c,onClick:p}=n;return r().createElement(qe,{tooltipTitle:c,showForDisabled:!0,classes:{root:o.menuItem},onClick:e=>{a(),p(e)},disabled:i,ref:t},l,r().createElement(ne.Typography,{classes:{root:o.menuText}},s))}));Xe.displayName="MenuItemRenderer";const Ke=Xe,Je=e=>{let{disableDelete:t,connection:{entity:n,relation:l},onMenuOpen:i=R.ZT,onMenuClose:s=R.ZT,onDelete:c}=e;const p=$e(),u=(0,o.useSelector)(m.ZP.selectors.getMetadata),y=(0,d.pipe)((0,d.prop)("relationType"),(0,f.V3K)(u),(0,f.uGe)(f.BDP.DELETE))(l),b=!t&&y,[g,h]=(0,a.useState)(!1),v=()=>h(!1),x=[{disabled:!b,text:j().text("Delete"),icon:r().createElement(_e.Z,null),tooltip:b?null:j().text("You don't have permissions to delete"),onClick:()=>h(!0)}],E=(0,a.useCallback)((()=>{g||s()}),[g,s]);return r().createElement("div",{className:p.buttons},r().createElement(We.Z,{MenuItemRenderer:Ke,menuId:"relationships-table-actions",buttonComponent:Ve.Z,buttonProps:{icon:He.Z,size:"S"},menuItems:x,onMenuOpen:i,onMenuClose:E}),r().createElement(Ye.Z,{open:g,title:j().text('Do you want to delete relationship "${label}"?',{label:(C=(0,f.idV)(n.entityLabel),C.length>17?`${C.substring(0,17)}...`:C)}),content:j().text("This relationship will be removed and all the values in the relationship will be permanently deleted. Are you sure you want to delete this relationship?"),onSave:(0,d.pipe)(v,s,c),onDiscard:(0,d.pipe)(v,s),saveCaption:j().text("Delete"),discardCaption:j().text("Cancel")}));var C},Qe=(0,pe.Z)({tableContainer:{flex:1,overflow:"hidden",display:"flex",zIndex:0},hoveredRowRightContentWrapper:{width:"100%",pointerEvents:"none!important"},menuButtonContainer:{position:"absolute",top:"calc(50% - 12px)",right:0,pointerEvents:"all"},tooltipAnchor:{width:"100%",height:"1px"}});function et(){return et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},et.apply(this,arguments)}const tt=(0,a.memo)((e=>{let{metadata:t,connections:n,columnsData:o,sorting:l,onSort:i,filters:s,onFilter:c,onRowClick:p,tableRef:u,onDelete:m,readOnly:y}=e;const b=Qe(),g=(0,a.useMemo)((()=>((e,t,n)=>(n||[]).map((n=>(0,d.pipe)((0,d.reduce)(((t,a)=>{let{id:r}=a;return(0,d.assoc)(r,((e,t,n)=>{let{entity:a,relation:r}=t;switch(n){case"entity.label":return{entity:a,entityType:(0,f.nt9)(e,a.entityType),relation:r};case"relation.type":return r.relationType;case"relation.label":return r.relationLabel;case"relation.activeness.startDate":return r.startDate;case"relation.activeness.endDate":return r.endDate;case"relation.attributes":return{attributes:r.object.attributes,attributeTypes:(0,f.V3K)(e,r.relationType).attributes};default:return((e,t)=>(0,d.pipe)((0,d.path)(["object","attributes"]),(0,f.tT_)(e))(t))(Me(n),r)}})(e,n,r),t)}),{}),(0,d.assoc)("rawValue",n))(t))))(t,o,n)),[t,n,o]),h=(0,a.useMemo)((()=>Le(o)),[o]),{getDynamicRowCellHeight:v,changeRowCellHeight:x}=(0,ye.Z)(),E=(0,a.useCallback)((0,d.either)(v,ze),[v,ze]),[C,w]=(0,a.useState)(null),S=(0,a.useCallback)((e=>{const t=!(0,f.Fn9)(e.rowValue.rawValue.relation);return r().createElement(be.Z,et({onChangeHeight:x},e),r().createElement(Ue,et({},e,{isInactiveRelation:t})))}),[x]),[T,O]=(0,a.useState)(!1),P=(0,a.useCallback)((()=>O(!0)),[]),k=(0,a.useCallback)((()=>{w(null),O(!1)}),[]),D=(0,a.useCallback)((e=>w((t=>T?t:e))),[T]),R=(0,a.useMemo)((()=>{const e=null!=C?g[C].rawValue:null,t=!(0,f.Fn9)(null==e?void 0:e.relation);return e&&r().createElement(r().Fragment,null,r().createElement(ne.Tooltip,{key:e.relation.relationUri,open:t,title:j().text("Inactive")},r().createElement("div",{className:b.tooltipAnchor})),r().createElement("div",{className:b.menuButtonContainer},r().createElement(Je,{disableDelete:y,connection:e,onMenuOpen:P,onMenuClose:k,onDelete:()=>m(e.relation.relationUri)})))}),[m,g,C]);return r().createElement("div",{className:b.tableContainer},r().createElement(ge.Z,{fixFirstColumn:!0,columnsData:h,rowsData:g,sorting:l,onSort:i,filters:s,onFilter:c,defaultColumnWidth:250,defaultColumnMinWidth:200,headRowHeight:48,getRowCellHeight:E,renderRowCell:S,onRowClick:p,ref:u,hoverStateEnabled:!0,hoverRowIndex:C,onRowHover:D,hoveredRowRightContent:R,classes:{hoveredRowRightContentWrapper:b.hoveredRowRightContentWrapper}}))}));var nt=n(85229),at=n(85965),rt=n(39417),ot=n(10237),lt=n(63149),it=n(48017),st=n(96955),ct=n(66095),pt=n(20982),ut=n(99144),dt=n(65549),mt=n(52017),ft=n(90186);const yt=(0,pe.Z)((()=>({tableRow:{"& + &":{marginTop:"4px"},margin:"auto",maxWidth:"448px"}})));function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gt=(0,a.memo)((e=>{let{readOnly:t,relation:n,metadata:o,selectedAttributeTypes:l,onDeleteCrosswalk:i,onEditCrosswalk:s}=e;const c=yt(),p=(0,f.V3K)(o,n.type),u=(0,a.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,d.pipe)((0,d.propOr)([],"crosswalks"),(0,d.map)((0,d.assoc)("ownerType","entity")),(0,ft.o)(e.type,t))(e)}(n,l)),[n,l]),[m,y]=(0,a.useState)([]),b=(0,a.useCallback)((e=>{i({entityUri:n.uri,crosswalkId:e})}),[i,n.uri]),g=(0,a.useCallback)((e=>{s(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){bt(e,t,n[t])}))}return e}({entityUri:n.uri},e))}),[s,n.uri]);return r().createElement("div",null,u.map((e=>{let{source:n,crosswalksByTypes:a}=e;return r().createElement("div",{key:n,className:c.tableRow},r().createElement(mt.Z,{source:n,crosswalksByTypes:a,expanded:m.includes(n),disableEditCrosswalk:!(0,f.Zm0)(p)||t,disableDeleteCrosswalk:!(0,f.a14)(p)||t,onEdit:g,onDelete:b,onToggleExpanded:()=>{y((0,d.ifElse)((0,d.includes)(n),(0,d.without)([n]),(0,d.append)(n)))}}))})))}));var ht=n(79769);const vt=(0,pe.Z)((e=>({header:{display:"flex",flexDirection:"row",alignItems:"center",padding:"20px 12px",borderBottom:"1px solid rgba(0, 0, 0, 0.12)"},title:{fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px",color:e.palette.text.primary,marginLeft:"12px"},hint:{color:e.palette.text.secondary,display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"flex-start",margin:"4px 14px 10px"},hintText:{marginLeft:"8px",fontSize:"12px",lineHeight:"16px"},buttons:{display:"flex",padding:"8px 6px 4px"},buttonLabel:{fontSize:"14px",fontWeight:500,lineHeight:"16px"},icon:{fontSize:"18px",marginRight:"8px"},editor:{paddingLeft:25,margin:"auto",maxWidth:"448px",boxSizing:"border-box",marginBottom:"4px"},tableContainer:{overflowY:"auto",overflowX:"hidden",paddingLeft:"16px",paddingRight:"6px"}}))),xt=(0,Ge.Z)(ne.Button),Et=(0,a.memo)((e=>{let{className:t,readOnly:n,relation:l,selectedAttributeTypes:i,onAddCrosswalk:s,onDeleteCrosswalk:c,onEditCrosswalk:p}=e;const u=vt(),d=(0,o.useSelector)(m.ZP.selectors.getMetadata),y=(0,f.V3K)(d,l.type),[b,g]=(0,a.useState)(!1),h=(0,f.mkC)(y)&&!n;return r().createElement("div",{className:t},r().createElement("div",{className:u.header},r().createElement("span",{className:u.title},j().text("Legend"))),r().createElement("div",{className:u.buttons},r().createElement(xt,{color:"primary",showForDisabled:!0,disabled:!h,tooltipTitle:h?null:j().text("You don't have permissions to add crosswalk"),onClick:()=>g(!0)},r().createElement(dt.Z,{className:u.icon}),r().createElement("div",{className:u.buttonLabel},j().text("Crosswalk")))),r().createElement("div",{className:u.hint},r().createElement(ut.Z,{className:u.icon}),r().createElement("span",{className:u.hintText},j().text("You can drag a crosswalk to add values to attributes swimlanes"))),r().createElement("div",{className:u.tableContainer},b&&r().createElement(ht.Z,{className:u.editor,onAdd:e=>s({entity:l,crosswalk:e}),onClose:()=>g(!1)}),r().createElement(gt,{readOnly:n,metadata:d,relation:l,selectedAttributeTypes:i,onDeleteCrosswalk:c,onEditCrosswalk:p})))}));var Ct=n(88611),wt=n(23147),St=n(94111),Tt=n(68439);const Ot=(0,pe.Z)((e=>({entityInfo:{flex:"0 1 auto",overflow:"hidden",minWidth:"100px"},entityLabelContainer:{display:"flex",alignItems:"center",overflow:"hidden"},entityLabel:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary},infoIcon:{fontSize:"16px",color:e.palette.text.secondary,marginLeft:"5px"},profileBand:{margin:"-10px",maxWidth:"500px"},entityTypeBadge:{marginTop:"7px"}}))),Pt=e=>{let{entity:t}=e;const n=Ot(),a=(0,f.idV)(t.label);return r().createElement("div",{className:n.entityInfo},r().createElement("div",{className:n.entityLabelContainer},r().createElement(Ct.C,{value:a},r().createElement(ne.Typography,{variant:"h6",className:n.entityLabel,noWrap:!0},a)),r().createElement(St.Z,{title:r().createElement(C.Z,{className:n.profileBand,entity:t}),placement:"right"},r().createElement(ut.Z,{className:n.infoIcon}))),r().createElement(Tt.Z,{className:n.entityTypeBadge,entity:t,size:"medium"}))},kt=(0,pe.Z)((e=>({root:{flexShrink:0,overflow:"hidden",width:"110px"},label:{color:e.palette.text.secondary,fontSize:"13px"}}))),Dt=e=>{let{relation:t}=e;const n=kt(),{direction:a,relationLabel:o}=t;return r().createElement("div",{className:n.root},r().createElement(Ct.C,{value:o},r().createElement(ne.Typography,{variant:"subtitle2",className:n.label,align:"center",noWrap:!0},o)),r().createElement("svg",{width:"110",height:"12",fill:"black",fillOpacity:"0.3"},"out"===a&&r().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 0 9, 0 3, 94 3"}),"bidirectional"===a&&r().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 16 9, 16 12, 0 6, 16 0, 16 3, 94 3"}),"in"===a&&r().createElement("polygon",{points:"16 12, 0 6, 16 0, 16 3, 110 3, 110 9, 16 9"})))};var Rt=n(8459),Zt=n(27604);const Nt=(0,pe.Z)((()=>({root:{"&:hover $editButton":{visibility:"visible"}},editButton:{visibility:"hidden",marginLeft:"4px",marginBottom:"4px"},paper:{width:"150px",border:"3px solid rgba(0, 0, 0, 0.3)",borderRadius:"4px",boxSizing:"border-box",overflow:"hidden"}}))),jt=e=>{let{value:t=null,onChange:n,readOnly:o}=e;const l=Nt(),i=(0,a.useRef)(),[s,c]=(0,a.useState)(!1),p=()=>c(!1),[u,d]=(0,a.useState)(t),m=()=>{u!==t&&n(u),p()};return r().createElement("span",{ref:i,className:l.root},t&&(0,f.p6d)(t),r().createElement(Ve.Z,{disabled:o,icon:Zt.Z,size:"XXS",className:l.editButton,onClick:()=>c(!0)}),r().createElement(ne.Popover,{classes:{paper:l.paper},open:s,anchorEl:i.current,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:14,horizontal:20},onKeyUp:e=>{"Enter"===e.key?m():"Escape"===e.key&&p()},onBackdropClick:m},r().createElement(Rt.Z,{InputProps:{autoFocus:!0,disableUnderline:!0,fullWidth:!0},size:"small",hiddenLabel:!0,label:void 0,value:u&&new Date(u),onChange:e=>d(e&&e.valueOf())})))},It=(0,pe.Z)((e=>({relationBand:{flexShrink:0,boxShadow:"inset 0px -1px 0px rgba(0,0,0,0.06)",padding:"16px 19px"},inactiveRelationBand:{opacity:.6,background:"rgba(185, 188, 197, 0.18)"},toolbar:{display:"flex",alignItems:"center",gap:"16px",marginBottom:"10px"},mainInfo:{display:"flex",gap:"16px",marginLeft:"40px"},detailsInfo:{display:"flex",gap:"34px",marginLeft:"40px",marginTop:"17px",color:e.palette.text.secondary,fontSize:"13px"},detailTitle:{color:e.palette.text.primary,flexShrink:0,marginRight:"4px"},directionalLabel:{display:"flex",overflow:"hidden","& span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},relationDate:{flexShrink:0},commentsContainer:{marginRight:"18px"}})));function Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){At(e,t,n[t])}))}return e}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ft=(0,a.memo)((e=>{let{readOnly:t,entity:n,connection:a,onNavigateBack:o,onDelete:l,onChangeActivenessDate:i}=e;const s=!(0,f.Fn9)(a.relation),c=It();return r().createElement("div",{className:Se()(c.relationBand,Te.U,{[c.inactiveRelationBand]:s})},r().createElement("div",{className:c.toolbar},r().createElement(Ve.Z,{icon:wt.Z,size:"S",onClick:()=>o()}),r().createElement(ne.Typography,{variant:"subtitle2",display:"inline"},j().text("Back to relationships")),r().createElement(oe.Z,null),r().createElement("div",{className:c.commentsContainer},r().createElement(ke.Z,{uri:a.relation.relationUri,relatedObjectUris:(0,f.wp9)(f.q7e.RELATION,{entityUri:null==n?void 0:n.uri,connection:a}),objectType:f.q7e.RELATION,allowOnlyOneComment:!0})),r().createElement(Je,{connection:a,onDelete:l,disableDelete:t})),r().createElement("div",{className:c.mainInfo},r().createElement(Pt,{entity:n}),r().createElement(Dt,{relation:a.relation}),r().createElement(Pt,{entity:Mt({},a.entity.object,{dataTenant:a.entity.dataTenant})})),r().createElement("div",{className:c.detailsInfo},r().createElement("div",{className:c.directionalLabel},r().createElement("span",{className:c.detailTitle},j().text("Directional label:")),r().createElement(Ct.C,{value:a.relation.relationLabel},r().createElement("span",null,a.relation.relationLabel))),r().createElement("div",{className:c.relationDate},r().createElement("span",{className:c.detailTitle},j().text("Start date:")),r().createElement(jt,{value:a.relation.startDate,onChange:e=>i("startDate",e),readOnly:t})),r().createElement("div",{className:c.relationDate},r().createElement("span",{className:c.detailTitle},j().text("End date:")),r().createElement(jt,{value:a.relation.endDate,onChange:e=>i("endDate",e),readOnly:t}))))})),Lt=e=>{console.error(e),u.Z.addError({title:j().text("Error"),message:(0,f.xU7)(e,j().text("Something went wrong"))})};var zt=n(58651),Bt=n(13896);const Ut=(0,pe.Z)({detailsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"},locked:{pointerEvents:"none"},resizablePanesWrapper:{flexGrow:1},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"}}),_t=(0,a.memo)((e=>{let{entity:t,connection:n,visibleColumns:o,onClose:l,onDeleteConnection:i,onChangeConnection:s,onChangeVisibleColumns:c,readOnly:p}=e;const u=Ut(),m=(()=>{const[e,t]=(0,a.useState)([]),n=(0,a.useRef)([]),r=(0,a.useCallback)((0,f.DsO)((()=>{t([...n.current])}),50),[]),o=(0,a.useCallback)((e=>{n.current=e,r(e)}),[r]),l=(0,a.useCallback)(((e,t)=>{e&&o(t?[e]:[])}),[o]),[i,s]=(0,a.useState)([]),c=(0,a.useCallback)((e=>{e&&s((t=>{return n=[e],a=t,(0,d.concat)(n.filter((e=>!(0,d.any)((0,f.aFF)(e),a))),a.filter((e=>!(0,d.any)((0,f.aFF)(e),n))));var n,a}))}),[]);return{highlightedCrosswalks:(0,a.useMemo)((()=>[...e,...i]),[e,i]),focusedCrosswalks:i,toggleCrosswalkFocus:c,setCrosswalkHighlighted:l}})(),[y,b]=(0,a.useState)(-480),g=(0,a.useCallback)((e=>{let{percentageSize:t}=e;return b(t)}),[]),[h,v]=(0,a.useState)(),[x,E]=(0,a.useState)(!1),C=n.relation.relationUri,w=(0,nt._)(),S=(0,a.useCallback)((()=>E(!0)),[]),T=(0,a.useCallback)((()=>E(!1)),[]),O=(0,a.useCallback)((0,d.pipe)(i,S),[]),[P,k]=(0,a.useMemo)((()=>{const e=e=>{e.errorCode===f.Xt7.CROSSWALK_NOT_FOUND?(Lt(e),t()):e.errorCode===f.Xt7.OBJECT_NOT_FOUND?l(e):(Lt(e),T())},t=()=>{w((0,f._vs)(C)).then((e=>{s((0,d.assocPath)(["relation","object"],e,n)),T()})).catch(e)};return[e,t]}),[n,T,s,l]),{modifiedEntity:D,crosswalksMap:R,newlyCreatedAttributes:Z,onPinAttribute:N,onIgnoreAttribute:j,onAddAttribute:I,onEditAttribute:M,onDeleteAttribute:A}=(0,at.Q)({entity:n.relation.object,onModify:k,onError:P,onLoad:S}),{addCrosswalk:F,deleteCrosswalk:L,editCrosswalk:z}=(0,rt.P)({onSuccess:k,onError:P,onLoad:S}),B=(0,a.useCallback)(((e,t)=>{S(),(t?(0,f.rj2)({entityUri:C,attributeName:e,value:t}).then((()=>s((0,d.assocPath)(["relation",e],t,n)))):(0,f.X78)({entityUri:C,attributeName:e}).then((()=>s((0,d.dissocPath)(["relation",e],n))))).then(T).catch(P)}),[n,S,T,P]);return r().createElement(ot.Z,{className:u.detailsView},r().createElement(lt.hR,m,r().createElement(Bt.DndProvider,{backend:zt.default},r().createElement(it.Z,null),r().createElement(st.Z,{className:Se()(u.resizablePanesWrapper,{[u.locked]:x}),orientation:"vertical",size:y,minSize:600,maxSize:-480,allowResize:!0,onChange:g},r().createElement("div",{className:u.pane},r().createElement(Ft,{readOnly:p,entity:t,connection:n,onNavigateBack:l,onDelete:O,onChangeActivenessDate:B}),r().createElement(ct.R,{attributeUris:Z},r().createElement(pt.Z,{readOnly:p,entity:D,crosswalksMap:R,isLoading:x,onPin:N,onIgnore:j,onEdit:M,onAdd:I,onDelete:A,selectedAttributeTypes:h,onSelectAttributeTypes:v,visibleColumns:o,onChangeVisibleColumns:c}))),r().createElement(Et,{readOnly:p,className:u.pane,relation:n.relation.object,selectedAttributeTypes:h,onAddCrosswalk:F,onDeleteCrosswalk:L,onEditCrosswalk:z})))))})),Ht=(0,pe.Z)({relationshipsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},pane:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",position:"relative"}}),Wt=(0,o.connect)(((e,t)=>{let{config:{id:n}}=t;return{entity:m.ZP.selectors.getEntity(e),metadata:m.ZP.selectors.getMetadata(e),connections:m.ZP.selectors.getConnectionsByViewId(e,n),total:m.ZP.selectors.getTotalByViewId(e,n)}}))((e=>{let{config:t,entity:n,metadata:o,connections:l,total:i,saveState:s,getSavedState:c,dispatch:p}=e;const u=Ht(),P=(0,a.useRef)(),R=(0,y.U)(),N=(0,f.biM)(n),[j,I]=(0,a.useState)(!1),{type:M}=n||{},[{visibleColumns:B,filters:H,page:q,rowsPerPage:ne,sorting:ae,currentRelationType:re,stateToSave:oe,entityTypeOfAppliedSavedState:le},{changeColumns:ie,toggleFilters:se,changeFilter:ce,changePage:pe,changeRowsPerPage:ue,toggleSort:de,changeRelationType:me,saveCurrentState:ye,applySavedState:be}]=(e=>{let{defaultColumns:t,defaultSorting:n,defaultRowsPerPage:r}=e;const o={visibleColumns:t,filters:null,sorting:n,page:0,rowsPerPage:r,currentRelationType:null,stateToSave:null,visibleColumnsForRelationTypes:{},entityTypeOfAppliedSavedState:null},[l,i]=(0,a.useReducer)(((e,t)=>{switch(t.type){case W:{const n=t.payload;return(0,d.pipe)(Q,(0,d.assoc)("currentRelationType",n),K,$)(e)}case V:{const{savedState:n,entityTypeUri:a}=t.payload,r=n?X(n):e.visibleColumns;return _({},e,n,{filters:n?J(n):e.filters,visibleColumns:r,entityTypeOfAppliedSavedState:a})}case Y:return _({},e,{stateToSave:ee(e)});default:return D.ZP.reducer(e,t)}}),o);return[l,(0,Z.o)({actions:G,dispatch:i})]})({defaultColumns:F,defaultRowsPerPage:z[0],defaultSorting:{field:F[0],order:"asc"}}),ge=le===M,{isLoading:he,relationsTableSavedState:ve,attributesTableSavedState:xe,updateRelationsTableSavedState:Ee,updateAttributesTableSavedState:Ce}=(e=>{var t;let{getSavedState:n,saveState:r,entityTypeUri:o}=e;const[l,i]=(0,a.useState)(k),[s,c]=(0,a.useState)(null);(0,b.D)((()=>{s&&(i(O({},l,{relationsTable:s})),c(null))}),[o]);const[p,u]=(0,a.useState)(!0);return(0,a.useEffect)((()=>{n().then((e=>{i(e||k)})).then((e=>u(!1))).catch((e=>u(!1)))}),[]),{isLoading:p,relationsTableSavedState:null===(t=l.relationsTable)||void 0===t?void 0:t[o],attributesTableSavedState:l.attributesTable,updateRelationsTableSavedState:e=>{const t=O({},l.relationsTable,{[o]:e});c(t),r(O({},l,{relationsTable:t}))},updateAttributesTableSavedState:e=>{r(O({},l,{attributesTable:e}))}}})({getSavedState:c,saveState:s,entityTypeUri:M}),[we,Se]=(0,a.useState)();(0,a.useEffect)((()=>{he||be({savedState:ve,entityTypeUri:M})}),[he,M]),(0,a.useEffect)((()=>{he||Se(null==xe?void 0:xe.visibleColumns)}),[he]),(0,b.D)((()=>{ge&&Ee(oe)}),[oe]),(0,b.D)((()=>{pe(0)}),[n]);const[Te,Oe]=(0,a.useState)(),Pe=(0,a.useCallback)((()=>{Oe(null)}),[]),ke=(0,a.useMemo)((()=>{const e=(0,f.io3)(o,M);return o.relationTypes.filter((0,d.both)((0,f.uGe)(f.BDP.READ),(t=>{let{startObject:n,endObject:a}=t;return e.some((0,d.either)((0,d.equals)(n.objectTypeURI),(0,d.equals)(a.objectTypeURI)))})))}),[o,M]),De=(0,a.useMemo)((()=>((e,t)=>t?(0,d.pipe)((0,d.find)((e=>e.uri===t)),f.DK$,U,(0,d.concat)(A),(0,d.reject)((e=>{let{id:t}=e;return L.includes(t)})))(e):(e=>{return t=(0,d.assoc)("dataTypeDefinition",(e=>({type:f.oS0.TYPE_SELECT,options:e.map((e=>{let{uri:t,label:n}=e;return{value:t,label:n}}))}))(e)),e=>(0,d.adjust)(e.findIndex((0,d.propEq)("id","relation.type")),t,e);var t})(e)(A))(ke,re)),[ke,re]),Re=(0,a.useMemo)((()=>B.map((e=>De.find((0,d.propEq)("id",e)))).filter(d.identity)),[B,De]),Ze=(0,a.useMemo)((()=>{const e=(0,d.pipe)((0,d.when)((0,d.always)(re),(0,d.filter)((0,d.propEq)("uri",re))),(0,d.map)((0,d.prop)("uri")))(ke);return{id:t.id,content:{inRelations:e,outRelations:e}}}),[t.id,re,ke]),Ne=(0,a.useMemo)((()=>((e,t)=>{const n=(0,te.Tz)(t,e);return(new f.MEy).addClause(n).build()})(H,Re)),[H,Re]),{isLoading:je,reload:Ie}=(0,g.a)({page:q,rowsPerPage:ne,config:Ze,entity:ge?n:null,filter:Ne,mode:f.ARY.Viewing,sorting:ae,searchByOv:j}),Me=!ge||je,Ae=(0,a.useCallback)((0,d.pipe)(de,ye),[de,ye]),Fe=(0,a.useCallback)((0,d.pipe)(ce,ye),[ce,ye]),Le=(0,a.useCallback)((0,d.pipe)(se,ye),[se,ye]),ze=(0,a.useCallback)((0,d.pipe)(ie,ye),[ie,ye]),Be=(0,a.useCallback)((0,d.pipe)(me,ye),[me,ye]),Ue=(0,a.useCallback)((e=>{Se(e),Ce({visibleColumns:e})}),[Ce]),_e=null==l?void 0:l[Te],He=(0,a.useCallback)((e=>{p(m.N5.relations.actions.relationsLoaded({id:t.id,connections:(0,d.update)(Te,e,l),total:i}))}),[_e]),[We,Ve]=(0,a.useMemo)((()=>[(0,f.w3p)(l),[f.q7e.RELATION]]),[l]),Ye=(0,h.C)({objectIds:We,objectTypes:Ve,enabled:!N}),Ge=(0,a.useMemo)((()=>(0,f.Px$)(l)),[l]),$e=(0,a.useCallback)((e=>{Lt(e),e.errorCode===f.Xt7.OBJECT_NOT_FOUND&&Ie()}),[Ie]),qe=(0,a.useCallback)((e=>{(0,d.pipe)(f.VGk,(0,d.andThen)(Ie),(0,d.otherwise)($e))(e)}),[Ie,$e]),Xe=(0,a.useCallback)((()=>{(0,d.pipe)(f.VGk,(0,d.andThen)((0,d.pipe)(Pe,Ie)),(0,d.otherwise)((e=>{e.errorCode===f.Xt7.OBJECT_NOT_FOUND&&Pe(),$e(e)})))(_e.relation.relationUri)}),[_e,Ie,Pe,$e]),Ke=(0,a.useCallback)((e=>{e&&$e(e),Pe()}),[$e,Pe]),Je=(0,a.useCallback)((()=>{I(d.not)}),[I]);return r().createElement(v.s.Provider,{value:R},r().createElement(x.h.Provider,{value:Ye},r().createElement(E.X.Provider,{value:Ge},r().createElement("div",{className:u.relationshipsView},r().createElement(C.Z,{entity:n},r().createElement(w.a,null)),r().createElement(fe,{total:i,filteringEnabled:!!H,onToggleFilters:Le,columnsData:De,selectedColumns:B,onChangeColumns:ze,relationTypes:ke,currentRelationType:re,onRelationTypeChange:Be,searchByOv:j,onToggleSearchByOv:Je}),r().createElement("div",{className:u.pane},Me&&r().createElement(S.Z,null),r().createElement(tt,{readOnly:N,metadata:o,connections:l,columnsData:Re,sorting:ae,onSort:Ae,filters:H,onFilter:Fe,onRowClick:Oe,tableRef:P,onDelete:qe}),r().createElement(T.Z,{count:i,rowsPerPageOptions:z,page:q,onChangePage:pe,rowsPerPage:ne,onChangeRowsPerPage:ue,basicTableRef:P})),_e&&r().createElement(_t,{readOnly:N,entity:n,visibleColumns:we,onChangeVisibleColumns:Ue,connection:_e,onClose:Ke,onDeleteConnection:Xe,onChangeConnection:He})))))})),Vt=(0,i.createGenerateClassName)({productionPrefix:"relationshipsPerspective",disableGlobal:!0}),Yt=e=>{let{config:t,store:n,onResize:d,saveState:m,getSavedState:y}=e;const b=(0,a.useCallback)((0,f.aYu)(y),[y]);return r().createElement(o.Provider,{store:n},r().createElement(p.m.Provider,{value:t.id},r().createElement(i.StylesProvider,{generateClassName:Vt},r().createElement(c.MuiPickersUtilsProvider,{utils:l.Z},r().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>null==d?void 0:d(Math.floor(e),Math.floor(t))}),t&&r().createElement(Wt,{config:t,saveState:m,getSavedState:b}),r().createElement(u.Z,null)))))}},46847:(e,t,n)=>{function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function l(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,l=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?l="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(l="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==l||null!==i){var s=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==l?"\n "+l:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var p=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;p.call(this,e,t,a)}}return e}n.r(t),n.d(t,{polyfill:()=>l}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5592],{8598:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(95038),r=n.n(a);const o=function(){function e(e){var t=void 0===e?{}:e,n=t.locale,a=t.instance,o=t.moment;this.yearFormat="YYYY",this.yearMonthFormat="MMMM YYYY",this.dateTime12hFormat="MMMM Do hh:mm a",this.dateTime24hFormat="MMMM Do HH:mm",this.time12hFormat="hh:mm A",this.time24hFormat="HH:mm",this.dateFormat="MMMM Do",this.moment=a||o||r(),this.locale=n}return e.prototype.parse=function(e,t){return""===e?null:this.moment(e,t,!0)},e.prototype.date=function(e){if(null===e)return null;var t=this.moment(e);return t.locale(this.locale),t},e.prototype.isValid=function(e){return this.moment(e).isValid()},e.prototype.isNull=function(e){return null===e},e.prototype.getDiff=function(e,t){return e.diff(t)},e.prototype.isAfter=function(e,t){return e.isAfter(t)},e.prototype.isBefore=function(e,t){return e.isBefore(t)},e.prototype.isAfterDay=function(e,t){return e.isAfter(t,"day")},e.prototype.isBeforeDay=function(e,t){return e.isBefore(t,"day")},e.prototype.isBeforeYear=function(e,t){return e.isBefore(t,"year")},e.prototype.isAfterYear=function(e,t){return e.isAfter(t,"year")},e.prototype.startOfDay=function(e){return e.clone().startOf("day")},e.prototype.endOfDay=function(e){return e.clone().endOf("day")},e.prototype.format=function(e,t){return e.locale(this.locale),e.format(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hours")},e.prototype.addDays=function(e,t){return t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days")},e.prototype.setHours=function(e,t){return e.clone().hours(t)},e.prototype.getMinutes=function(e){return e.get("minutes")},e.prototype.setMinutes=function(e,t){return e.clone().minutes(t)},e.prototype.getSeconds=function(e){return e.get("seconds")},e.prototype.setSeconds=function(e,t){return e.clone().seconds(t)},e.prototype.getMonth=function(e){return e.get("month")},e.prototype.isSameDay=function(e,t){return e.isSame(t,"day")},e.prototype.isSameMonth=function(e,t){return e.isSame(t,"month")},e.prototype.isSameYear=function(e,t){return e.isSame(t,"year")},e.prototype.isSameHour=function(e,t){return e.isSame(t,"hour")},e.prototype.setMonth=function(e,t){return e.clone().month(t)},e.prototype.getMeridiemText=function(e){return"am"===e?"AM":"PM"},e.prototype.startOfMonth=function(e){return e.clone().startOf("month")},e.prototype.endOfMonth=function(e){return e.clone().endOf("month")},e.prototype.getNextMonth=function(e){return e.clone().add(1,"month")},e.prototype.getPreviousMonth=function(e){return e.clone().subtract(1,"month")},e.prototype.getMonthArray=function(e){for(var t=[e.clone().startOf("year")];t.length<12;){var n=t[t.length-1];t.push(this.getNextMonth(n))}return t},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.clone().set("year",t)},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){return this.moment.weekdaysShort(!0)},e.prototype.isEqual=function(e,t){return null===e&&null===t||this.moment(e).isSame(t)},e.prototype.getWeekArray=function(e){for(var t=e.clone().startOf("month").startOf("week"),n=e.clone().endOf("month").endOf("week"),a=0,r=t,o=[];r.isBefore(n);){var l=Math.floor(a/7);o[l]=o[l]||[],o[l].push(r),r=r.clone().add(1,"day"),a+=1}return o},e.prototype.getYearRange=function(e,t){for(var n=this.moment(e).startOf("year"),a=this.moment(t).endOf("year"),r=[],o=n;o.isBefore(a);)r.push(o),o=o.clone().add(1,"year");return r},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,"YYYY")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ddd, MMM D")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM D")},e.prototype.getMonthText=function(e){return this.format(e,"MMMM")},e.prototype.getDayText=function(e){return this.format(e,"D")},e.prototype.getHourText=function(e,t){return this.format(e,t?"hh":"HH")},e.prototype.getMinuteText=function(e){return this.format(e,"mm")},e.prototype.getSecondText=function(e){return this.format(e,"ss")},e}()},27604:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=o},71519:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=o},99144:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.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=o},67766:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=o},42767:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=o},47603:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{transform:"scale(1.2, 1.2)",fill:"none",d:"M0 0h20v20H0V0z"}),r.default.createElement("path",{transform:"scale(1.2, 1.2)",d:"M15.95 10.78c.03-.25.05-.51.05-.78s-.02-.53-.06-.78l1.69-1.32c.15-.12.19-.34.1-.51l-1.6-2.77c-.1-.18-.31-.24-.49-.18l-1.99.8c-.42-.32-.86-.58-1.35-.78L12 2.34c-.03-.2-.2-.34-.4-.34H8.4c-.2 0-.36.14-.39.34l-.3 2.12c-.49.2-.94.47-1.35.78l-1.99-.8c-.18-.07-.39 0-.49.18l-1.6 2.77c-.1.18-.06.39.1.51l1.69 1.32c-.04.25-.07.52-.07.78s.02.53.06.78L2.37 12.1c-.15.12-.19.34-.1.51l1.6 2.77c.1.18.31.24.49.18l1.99-.8c.42.32.86.58 1.35.78l.3 2.12c.04.2.2.34.4.34h3.2c.2 0 .37-.14.39-.34l.3-2.12c.49-.2.94-.47 1.35-.78l1.99.8c.18.07.39 0 .49-.18l1.6-2.77c.1-.18.06-.39-.1-.51l-1.67-1.32zM10 13c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"})),"Settings");t.Z=o},72753:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(24328)),o=(0,a(n(50175)).default)(r.default.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=o},32528:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(13688),r=n(48852);const o=e=>t=>(0,r.l)(a.X,e,t)},1876:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(87918),s=n.n(i),c=n(94079),p=n(87685);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}const d=e=>r().createElement("svg",u({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),m=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),f=e=>{let{enabled:t,onClick:n}=e;const a=m();return r().createElement(c.Tooltip,{title:t?s().text("Clear all filters"):s().text("Filter")},r().createElement(c.IconButton,{onClick:n,classes:{root:a.button}},t?r().createElement(r().Fragment,null,r().createElement(d,{className:a["filterIcon--enabled"]}),r().createElement(p.default,{color:"primary",className:a.closeIcon})):r().createElement(d,null)))};f.propTypes={enabled:l().bool,onClick:l().func};const y=f},58662:(e,t,n)=>{n.d(t,{Z:()=>h});var a=n(13980),r=n.n(a),o=n(24328),l=n.n(o),i=n(71153),s=n.n(i),c=n(94079),p=n(87918),u=n.n(p),d=n(31276),m=n(17440);const f=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>{let{classes:t={},count:n,rowsPerPageOptions:a,page:r,onChangePage:i,rowsPerPage:p,onChangeRowsPerPage:b,basicTableRef:g,labelRowsPerPage:h}=e;const v=f(),x=(0,o.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],g)()}),[g]),E=(0,o.useCallback)((e=>{i(e),x()}),[i,x]),C=(0,o.useCallback)((e=>{i(0),b(e),x()}),[i,b,x]);return l().createElement(c.TablePagination,{classes:y({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:h||u().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return u().text("${fromRow}-${toRow} of ${countRows}",{fromRow:u().number(t,"0,0"),toRow:u().number(n,"0,0"),countRows:u().number(a,"0,0")})},count:n,rowsPerPageOptions:a,page:r,onChangePage:(0,m.pipe)((0,m.nthArg)(1),E),rowsPerPage:p,onChangeRowsPerPage:(0,m.pipe)(d.NA,C)})};g.propTypes={classes:r().object,rowsPerPageOptions:r().arrayOf(r().number),count:r().number,page:r().number,onChangePage:r().func,rowsPerPage:r().number,onChangeRowsPerPage:r().func,basicTableRef:r().shape({current:r().object}),labelRowsPerPage:r().string};const h=l().memo(g)},26180:(e,t,n)=>{n.d(t,{ZP:()=>y});var a=n(17440),r=n(31276);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i="CHANGE_COLUMNS",s="TOGGLE_FILTERS",c="CHANGE_FILTER",p="TOGGLE_SORT",u="CHANGE_PAGE",d="CHANGE_ROWS_PER_PAGE",m={changeColumns:(0,r.zD)(i),toggleFilters:(0,r.zD)(s),changeFilter:(0,r.zD)(c),toggleSort:(0,r.zD)(p),changePage:(0,r.zD)(u),changeRowsPerPage:(0,r.zD)(d)},f=(e,t)=>{const n=(0,a.difference)(e.visibleColumns,t),r=e=>n.includes(e);return(0,a.evolve)({visibleColumns:(0,a.always)(t),sorting:(0,a.when)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(e.field)}),(()=>{const[e]=t;return{field:e,order:"asc"}})),filters:e=>(0,a.keys)(e).reduce(((e,t)=>r(t)?(0,a.dissoc)(t,e):e),e)},e)},y={reducer:(e,t)=>{switch(t.type){case i:{const n=t.payload;return f(e,n)}case s:{const t=!e.filters;return o({},e,{filters:t?{}:null,page:t?e.page:0})}case c:{const{columnId:n,filter:r}=t.payload;return(0,a.evolve)({filters:r?(0,a.assoc)(n,r):(0,a.dissoc)(n),page:(0,a.always)(0)},e)}case p:{const n=t.payload,l=(0,a.path)(["sorting","field"],e),i=(0,a.path)(["sorting","order"],e);return o({},e,{sorting:{field:n,order:(0,r.Dh)(n===l?i:null)},page:0})}case u:return o({},e,{page:t.payload});case d:return o({},e,{rowsPerPage:t.payload});default:return e}},actions:m,changeVisibleColumns:f}},10237:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(27556),r=n(13980),o=n.n(r),l=n(24328),i=n.n(l);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=(0,n(79692).Z)((e=>({"basic-view__paper":s({display:"flex",flexDirection:"column"},e.basicView)})));function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}const d=(0,l.forwardRef)(((e,t)=>{let{children:n,className:r}=e,o=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const l=p();return i().createElement(a.Z,u({ref:t,className:r,classes:{root:l["basic-view__paper"]}},o),n)}));d.displayName="BasicView",d.propTypes={children:o().node,className:o().string};const m=d},81137:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),o=n(87918),l=n.n(o),i=n(94079);const s=(0,n(79692).Z)({paper:{minHeight:"180px"},title:{padding:"16px 16px 10px 16px",fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px"},content:{padding:"0 16px"},contentText:{marginBottom:0,fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px"},actionButtons:{display:"flex",paddingTop:"4px",fontSize:"14px",fontWeight:500,letterSpacing:0,lineHeight:"16px","& > div":{marginLeft:"auto"}},discardButton:{marginRight:"8px"}}),c=e=>{let{open:t,title:n,content:a,onCancel:o,cancelCaption:c=l().text("Cancel"),onDiscard:p,discardCaption:u="",onSave:d,saveCaption:m=l().text("Save"),disabledSave:f=!1}=e;const y=s();return r().createElement(i.Dialog,{open:t,onClose:o,classes:{paperScrollPaper:y.paper}},r().createElement(i.DialogTitle,{classes:{root:y.title}},n),r().createElement(i.DialogContent,{classes:{root:y.content}},r().createElement(i.DialogContentText,{classes:{root:y.contentText}},a)),r().createElement(i.DialogActions,{className:y.actionButtons,disableSpacing:!0},o&&r().createElement(i.Button,{onClick:o},c),r().createElement("div",null,p&&r().createElement(i.Button,{onClick:p,classes:{root:y.discardButton}},u),r().createElement(i.Button,{onClick:d,color:"primary",disabled:f,autoFocus:!0},m))))}},68439:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),o=n(52730),l=n(71153),i=n.n(l),s=n(94079),c=n(70687),p=n(59431),u=n(88611);const d=(0,n(79692).Z)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px",flexShrink:0},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px",flexShrink:0}}),m=e=>{let{entity:t,className:n,size:a="small"}=e;const l=d(),m=(0,o.useSelector)(p.ZP.selectors.getMetadata),f=t.type,y=(0,c.nt9)(m,f)||{},b=(0,c.VD3)(m,y,"typeColor")||c.rSc.palette.primary.main,g=(0,c.jFi)(m,t);return r().createElement(u.C,{value:g,placement:"top"},r().createElement(s.Typography,{style:{backgroundColor:b,color:c.P6Y.Colors.getColor(b)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${a}`],l["entityType-overflow"],n),component:"div"},g))}},64459:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(52730),s=n(17440),c=n(94079),p=n(87918),u=n.n(p),d=n(70687),m=n(59431),f=n(53180),y=n(68439);const b=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),g=e=>{let{className:t,entity:n,children:o,classes:p}=e;const g=b({classes:p}),h=(0,i.useSelector)(m.ZP.selectors.getMetadata),v=(0,i.useSelector)(m.ZP.selectors.getShowEntityId),x=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,d.BTI)(n))}),[n]);if((0,s.isNil)(n))return null;const E=(0,d.idV)(n.label),C=n.secondaryLabel,w=(0,d.ptG)(h,n),S=(0,d.Fn9)(n),T=n.uri,O=(0,d.BTI)(n);return r().createElement("div",{className:l()(g.profileBandWrapper,t)},r().createElement("div",{className:l()(g.profileBand,{[g.inactive]:!S}),"data-entity-uri":T},r().createElement(f.Z,{key:n.uri,entity:n,avatarClassName:g.profileIcon,imageClassName:g.imageProfileIcon}),r().createElement("div",{className:g.profileInfo},r().createElement("div",null,r().createElement(c.Typography,{variant:"h6",className:g.label},E),C&&r().createElement(c.Typography,{variant:"subtitle2",className:g.secondaryLabel},C),w&&r().createElement(c.Typography,{variant:"subtitle1",className:g.businessCard},w)),r().createElement("div",{className:g.specialInfo},r().createElement("div",{className:g.entityType},r().createElement(y.Z,{entity:n,size:"medium",className:g.badge}),!(0,d.ZiX)(T)&&v&&r().createElement(c.Tooltip,{title:u().text("Copy to clipboard")},r().createElement(c.Typography,{display:"inline",variant:"body2",className:g.entityId,onClick:x},u().text("Entity ID"),": ",O))))),o&&r().createElement("div",null,o)))}},54013:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),o=n(47603),l=n(87918),i=n.n(l),s=n(8818),c=n(55847);const p=e=>{let{items:t,menuId:n}=e;return r().createElement(c.Z,{buttonComponent:s.k,buttonProps:{icon:o.Z,tooltipTitle:i().text("Settings"),size:"L"},menuId:n,menuItems:t})}},30553:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(13980),r=n.n(a),o=n(24328),l=n.n(o);const i=e=>{let{height:t,margin:n}=e;return l().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};i.propTypes={height:r().number,margin:r().number};const s=i},86361:(e,t,n)=>{n.d(t,{o:()=>l});var a=n(24328),r=n(17440);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>{let{actions:t,dispatch:n}=e;return(0,a.useMemo)((()=>Object.entries(t).reduce(((e,t)=>{let[a,l]=t;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){o(e,t,n[t])}))}return e}({},e,{[a]:(0,r.pipe)(l,n)})}),{})),[n,t])}},7718:(e,t,n)=>{n.d(t,{C:()=>f});var a=n(24328),r=n(52730),o=n(17440),l=n(70687),i=n(59431);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=(e,t)=>t.filter((t=>t.replyId!==e)),u=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),a=[...e.replies];return a[n]=t,a},d=[],m=e=>console.error("Collaboration error",e),f=e=>{let{objectIds:t=d,objectTypes:n,enabled:c=!0}=e;const f=(0,r.useSelector)(i.ZP.selectors.getEntity),y=(0,r.useSelector)(i.ZP.selectors.getTenant),b=(0,r.useSelector)(i.ZP.selectors.getCollaborationPath),g=(0,r.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[h,v]=(0,a.useState)(null),[x,E]=(0,a.useState)([]),[C,w]=(0,a.useState)(null),[S,T]=(0,a.useState)(null),[O,P]=(0,a.useState)(!1),[k,D]=(0,a.useState)(!1),[R,Z]=(0,a.useState)({}),N=(0,a.useCallback)((e=>{w((t=>s({},t,e)))}),[]),j=null==f?void 0:f.uri,I=(0,a.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(g&&j&&!(0,l.ZiX)(j)){const n=e=>{console.warn("Collaboration error",e),w(null)};(0,o.pipe)(l.$oF,(0,o.andThen)((0,o.map)((0,o.props)(["objectId","comments"]))),(0,o.andThen)(o.fromPairs),(0,o.andThen)(t?w:N),(0,o.otherwise)(n))({uris:e,tenant:y,collaborationPath:b})}else w(null)}),[N,b,j,g,y]);(0,a.useEffect)((()=>{I(t,!0)}),[t,I]);const M=(0,a.useCallback)(((e,t)=>{(0,l.liG)({collaborationPath:b,tenant:y,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:a}=e;E((e=>t?(0,o.uniqBy)((0,o.prop)("commentId"),[...e,...n]):n)),v(a)})).catch(m)}),[b,y]),A=(0,a.useCallback)((e=>{D(!0),(0,l.d7q)({collaborationPath:b,tenant:y,commentId:e}).then(T).catch(m).finally((()=>D(!1)))}),[b,y]),F=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:o}=e;P(!0);const i={objectId:r,content:t,relatedObjectUris:o,objectType:a,visibility:"public",namedUsers:n,permanentLink:""};return(0,l.Yrx)({collaborationPath:b,tenant:y,data:i}).then((e=>{let[t]=e;return((e,t)=>{T(e),w((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),E((t=>[e,...t]))})(t,r)})).catch(m).finally((()=>P(!1)))}),[b,y]),L=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:i,commentId:c,replies:p}=e;P(!0);const u={objectId:r,content:t,relatedObjectUris:i,objectType:a,visibility:"public",namedUsers:n,permanentLink:"",commentId:c,replies:p};return(0,l.uAg)({collaborationPath:b,tenant:y,data:u}).then((e=>(e=>{T(e),E((0,o.map)((0,o.when)((0,o.propEq)("commentId",e.commentId),(0,o.always)(e))))})(s({},e,{replies:p})))).catch(m).finally((()=>P(!1)))}),[b,y]),z=(0,a.useCallback)((e=>{let{uri:t,commentId:n}=e;P(!0),(0,l.YFy)({collaborationPath:b,tenant:y,commentId:n}).then((()=>((e,t)=>{T(null),w((n=>{const a=n[t]||[];return s({},n,{[t]:a.filter((t=>t.commentId!==e))})})),E((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(m).finally((()=>P(!1)))}),[b,y]),B=(0,a.useCallback)(((e,t,n,a)=>{const r="resolve"===e.action?"resolved":"open",{replyId:o}=e;T("resolved"===r?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:a?p(o,t.replies):[...t.replies,e]})}),w((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:r,replies:a?e.replies-1:e.replies+1}):e))}))),E((t=>t.map((t=>t.commentId===n?s({},t,{status:r,replies:a?p(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),U=(0,a.useCallback)((e=>{let{uri:t,commentId:n,reply:a}=e;P(!0),(0,l.Mfr)({collaborationPath:b,tenant:y,commentId:n,replyId:a.replyId}).then((()=>B(a,t,n,!0))).catch(m).finally((()=>P(!1)))}),[b,B,y]),_=(0,a.useCallback)(((e,t)=>{T((t=>{if(t)return s({},t,{replies:u(t,e)})})),E((n=>n.map((n=>n.commentId===t?s({},n,{replies:u(n,e)}):n))))}),[]),H=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,replyId:r}=e;P(!0);const o={content:t,namedUsers:n};return(0,l.ufV)({collaborationPath:b,tenant:y,commentId:a,replyId:r,data:o}).then((e=>_(e,a))).catch(m).finally((()=>P(!1)))}),[b,y,_]),W=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,action:r,uri:o}=e;P(!0);const i={content:t,action:r,namedUsers:n};return(0,l.PP2)({collaborationPath:b,tenant:y,commentId:a,data:i}).then((e=>{let[t]=e;return B(t,o,a)})).catch(m).finally((()=>P(!1)))}),[b,y,B]),V=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;W({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[W]),Y=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;W({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[W]);return{clearCurrentComment:(0,a.useCallback)((()=>{T(null)}),[]),comments:x,commentsMap:C,getCommentState:(e,t)=>(0,o.pathOr)({},[e,t],R),updateCommentState:(e,t,n)=>{Z((a=>{const r=[e,t],l=(0,o.path)(r,a);return(0,o.assocPath)(r,(0,o.mergeRight)(l,n),a)}))},clearCommentState:(e,t)=>Z((0,o.dissocPath)([e,t])),createComment:F,createReply:W,currentComment:S,deleteComment:z,editComment:L,getComment:A,getComments:M,getCommentsCount:I,loading:k,objectTypes:n,pageToken:h,reOpenThread:Y,resolveThread:V,sending:O,deleteReply:U,editReply:H}}},37152:(e,t,n)=>{n.d(t,{a:()=>m});var a=n(24328),r=n(52730),o=n(17440),l=n(59431),i=n(70687),s=n(85229),c=n(30634);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(0,o.when)(o.identity,(0,o.pipe)(i.VGB,o.length,(0,o.times)((e=>e+1)))),m=e=>{let{sorting:t,filter:n,page:u,rowsPerPage:m,config:f,entity:y,relationActivityFilter:b,mode:g,searchByOv:h=!1}=e;const[v,x]=(0,a.useState)(!1),E=(0,r.useDispatch)(),C=(0,r.useSelector)(l.ZP.selectors.getTenant),w=(0,r.useSelector)(l.ZP.selectors.getMetadata),S=(0,r.useSelector)(l.ZP.selectors.getDtssPath),{activityFilter:T,globalFilter:O}=(0,r.useSelector)(l.ZP.selectors.getGlobalSearchRequestOptions)||{},P=(0,s._)(),k=e=>{const t=(0,o.when)(i.Kn2,(0,o.prop)("uri")),n=(0,o.pipe)(t,(0,i.pQZ)(w));return(0,o.evolve)({entityTypes:(0,o.filter)((0,i.kuw)(w)),inRelations:(0,o.filter)(n),outRelations:(0,o.filter)(n),nextEntry:k})(e)},D=f.suggested,R=(0,a.useMemo)((()=>({searchByOv:h})),[h]),Z=(0,a.useCallback)((()=>{if(null!=y&&y.uri){const e=p({},k(f.content),{sortBy:null==t?void 0:t.field,order:null==t?void 0:t.order,returnDates:!0,returnObjects:!0,activeness:{relation:b||i.Ng6.ALL,entity:T},max:m,offset:u*m,filter:(0,i.vyX)(O,n)||void 0,suggested:d(D)}),a=[e].concat((0,o.ifElse)(o.identity,(0,o.pipe)(i.VGB,(t=>t.map(((t,n)=>p({},t,{id:e.suggested[n]}))))),(0,o.always)([]))(D)),r=(0,o.cond)([[(0,o.pipe)((0,o.prop)("uri"),i.ZiX),()=>Promise.resolve([{total:0}])],[i.biM,e=>(0,i.n_1)({entityUri:e.uri,configs:a,customerTenant:C,dataTenant:e.dataTenant,dtssPath:S,options:R})],[o.T,e=>(0,i.N6e)(e.uri,a,R)]]);x(!0),P(r(y)).then((e=>{let[{connections:t,total:n}]=e;E(l.N5.relations.actions.relationsLoaded({id:f.id,connections:t,total:n}))})).finally((()=>{x(!1)}))}}),[T,w,f,E,S,null==y?void 0:y.uri,null==y?void 0:y.dataTenant,n,O,u,b,m,P,t,C,R]),N=(0,a.useRef)(!1);N.current=!1,(0,a.useEffect)((()=>{N.current=!0,Z()}),[Z]);const j=(0,c.D)(g);return(0,a.useEffect)((()=>{g!==i.ARY.Viewing||N.current||j===g||(N.current=!0,Z())}),[Z,g,j]),{isLoading:v,reload:Z}}},17554:(e,t,n)=>{n.d(t,{U:()=>i});var a=n(24328),r=n(52730),o=n(70687),l=n(59431);const i=()=>{const[e,t]=(0,a.useState)([]),n=(0,r.useSelector)(l.ZP.selectors.getTenant),i=(0,r.useSelector)(l.ZP.selectors.getServicesPath),s=e=>{console.warn("Users error",e),t([])};return(0,a.useEffect)((()=>{(0,o.kz_)({tenant:n,servicesPath:i}).then((e=>{let{array:n}=e;return t(n)})).catch(s)}),[n,i]),e}},55451:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Yt});var a=n(24328),r=n.n(a),o=n(52730),l=n(8598),i=n(36138),s=n(44443),c=n(22664),p=n(39450),u=n(585),d=n(17440),m=n(59431),f=n(70687),y=n(17554),b=n(20562),g=n(37152),h=n(7718),v=n(49759),x=n(3515),E=n(31274),C=n(64459),w=n(93873),S=n(99136),T=n(58662);function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={relationsTable:{},attributesTable:{}};var D=n(26180),R=n(31276),Z=n(86361),N=n(87918),j=n.n(N);const I="relation.type",M="relation.attributes",A=[{id:"entity.label",get label(){return j().text("Profile")},dataTypeDefinition:{type:f.oS0.TYPE_STRING},hideable:!1,filterable:!1,initialWidth:280,autoResize:!1},{id:I,get label(){return j().text("Type")}},{id:"relation.label",get label(){return j().text("Directional Label")},filterable:!1,dataTypeDefinition:{type:f.oS0.TYPE_STRING}},{id:"relation.activeness.startDate",get label(){return j().text("Start Date")},dataTypeDefinition:{type:f.oS0.TYPE_ACTIVENESS_DATE}},{id:"relation.activeness.endDate",get label(){return j().text("End Date")},dataTypeDefinition:{type:f.oS0.TYPE_ACTIVENESS_DATE}},{id:M,get label(){return j().text("Attributes")},sortable:!1,filterable:!1,maxAttrsToShow:7}],F=(0,d.pluck)("id",A),L=[I,M],z=[20,50,100],B=(0,d.pipe)(f.Tde,(0,d.concat)("relation.")),U=(0,d.pipe)((0,d.map)((e=>({id:B(e.uri),label:e.label,dataTypeDefinition:(0,f.PFL)(e)}))),(0,d.uniqBy)((0,d.prop)("id")));function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){H(e,t,n[t])}))}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const W="CHANGE_RELATION_TYPE",V="APPLY_SAVED_STATE",Y="SAVE_CURRENT_STATE",G=_({},D.ZP.actions,{changeRelationType:(0,R.zD)(W),applySavedState:(0,R.zD)(V),saveCurrentState:(0,R.zD)(Y)}),$=(0,d.assoc)("page",0),q=e=>(0,d.pipe)((0,d.prop)("visibleColumns"),(0,d.ifElse)((0,d.always)(e.currentRelationType),(0,d.without)(L),(0,d.concat)(L)),(0,d.intersection)(F))(e),X=e=>(0,d.path)(["visibleColumnsForRelationTypes",`${e.currentRelationType}`],e),K=e=>{const t=(0,d.either)(X,q)(e);return D.ZP.changeVisibleColumns(e,t)},J=(0,d.pipe)((0,d.propOr)(null,"filters"),(0,d.unless)(d.isNil,(0,d.filter)((e=>{let{filter:t,value:n}=e;return(0,f.jtL)(t,n)})))),Q=e=>{const{currentRelationType:t,visibleColumns:n}=e;return(0,d.evolve)({visibleColumnsForRelationTypes:(0,d.assoc)(`${t}`,n)},e)},ee=(0,d.pipe)(Q,(0,d.pick)(["currentRelationType","visibleColumnsForRelationTypes","filters","sorting"]));var te=n(99341),ne=n(94079),ae=n(92778),re=n(30553),oe=n(51229),le=n(54013),ie=n(1876),se=n(60894),ce=n(79026),pe=n(79692);const ue=(0,pe.Z)({select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}}),de=e=>{let{value:t,onChange:n,relationTypes:o,className:l}=e;const i=ue(),s=(0,a.useMemo)((()=>(0,d.pipe)((0,d.map)((e=>{let{label:t,uri:n}=e;return{label:t,value:n}})),(0,d.concat)([{value:"",label:j().text("All types")}]))(o)),[o]);return r().createElement("div",{className:l},r().createElement(ce.Z,{displayEmpty:!0,disableUnderline:!0,classes:{select:i.select},TextFieldProps:{classes:{root:i.textField}},MenuProps:{classes:{list:i.selectMenu}},value:t||"",entries:s,onChange:e=>n(e||null)}))},me=(0,pe.Z)((e=>({header:{height:"56px",boxSizing:"border-box",paddingRight:"10px"},title:{fontSize:"16px"},total:{fontSize:"14px",color:e.palette.text.secondary,flexShrink:0,marginRight:"5px"},relationTypeSelector:{margin:"0px 10px 0 30px",overflow:"hidden"}}))),fe=(0,a.memo)((e=>{let{total:t,filteringEnabled:n,onToggleFilters:o,columnsData:l,selectedColumns:i,currentRelationType:s,onRelationTypeChange:c,relationTypes:p,onChangeColumns:u,searchByOv:d,onToggleSearchByOv:m}=e;const f=me(),y=(0,a.useMemo)((()=>[{selected:d,selectable:!0,text:j().text("Search by OV only"),onClick:m,id:"showNonOv"}]),[m,d]);return r().createElement(ae.Z,{title:j().text("Relationships"),classes:{root:f.header,title:f.title}},p.length>0&&r().createElement(de,{className:f.relationTypeSelector,value:s,onChange:c,relationTypes:p}),r().createElement(re.Z,{height:28,margin:20}),r().createElement(ne.Typography,{variant:"caption",className:f.total},1===t?j().text("${count} record",{count:t}):j().text("${count} records",{count:t})),r().createElement(oe.Z,null),r().createElement(le.Z,{items:y,menuId:"relationships-view-settings"}),r().createElement(ie.Z,{enabled:n,onClick:o}),r().createElement(re.Z,{height:28,margin:8}),r().createElement(se.Z,{columnsData:l,selectedColumns:i,onChangeColumns:u}))}));var ye=n(74402),be=n(97946),ge=n(85709),he=n(25461),ve=n(92332),xe=n(67353);const Ee=(0,pe.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%",width:"100%",fontSize:"12px",color:e.palette.text.secondary,background:"linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), #FFFFFF"},rowCell:{fontSize:"13px",overflow:"hidden",overflowWrap:"break-word"},inactiveRowCell:{opacity:.6},defaultWrapper:{padding:"15px 25px 0 25px","&:last-child":{paddingBottom:"15px"}},entityCell:{display:"flex",alignItems:"flex-start",padding:"15px"},entityAvatar:{transform:"scale(0.5)",margin:"-10px 0 -10px -10px"},inactiveEntityAvatar:{overflow:"initial","&:after":{content:'""',position:"absolute",backgroundColor:"rgb(209, 206, 206)",border:"1px solid rgba(0, 0, 0, 1)",borderRadius:"2px",width:"12px",right:0,bottom:0,height:"12px"},"& > img":{borderRadius:"50%",overflow:"hidden"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontWeight:500},attributesWrapper:{padding:"15px 25px 10px 25px",color:"rgba(0,0,0,0.87)"},commentsContainer:{marginLeft:"auto"}}))),Ce=(0,xe.Z)((e=>{const t=Ee();return r().createElement("div",{className:t.headCell},r().createElement(ve.default,e))}));var we=n(71153),Se=n.n(we),Te=n(19603),Oe=n(31254),Pe=n(31039),ke=n(94646);const De=e=>{let{value:{entity:t,entityType:n,relation:a},isInactiveRelation:l}=e;const i=Ee(),s=(0,o.useSelector)(m.ZP.selectors.getEntityUri);return r().createElement("div",{className:Se()(i.entityCell,Te.U)},r().createElement(Oe.Z,{className:Se()(i.entityAvatar,{[i.inactiveEntityAvatar]:l}),entityType:n}),r().createElement(Pe.Z,{value:(0,f.wwR)({uri:t.entityUri,dataTenant:t.dataTenant}),className:i.entityLabel},(0,f.idV)(t.entityLabel)),r().createElement("div",{className:i.commentsContainer,onClick:e=>e.stopPropagation()},r().createElement(ke.Z,{uri:a.relationUri,relatedObjectUris:(0,f.wp9)(f.q7e.RELATION,{entityUri:s,connection:{relation:a,entity:t}}),objectType:f.q7e.RELATION,allowOnlyOneComment:!0})))};var Re=n(80931);const Ze=e=>{let{columnData:t,value:{attributes:n,attributeTypes:a}}=e;const o=Ee();return r().createElement("div",{className:o.attributesWrapper,onClick:e=>e.stopPropagation()},r().createElement(Re.Z,{max:t.maxAttrsToShow,entity:{attributes:n},attrTypes:a,drawLines:!1}))};var Ne=n(72768);const je=e=>{let{value:t,columnData:{dataTypeDefinition:n}}=e;const a=Ee();return r().createElement("div",{className:a.defaultWrapper},r().createElement(Ne.Z,{value:t,dataTypeDefinition:n}))};function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Me=(0,d.pipe)((0,d.split)("."),(0,d.slice)(2,1/0)),Ae=e=>{if(e.startsWith("relation.attributes")){const t=Me(e);return t.length>1?t.slice(0,-1):null}return null},Fe=e=>{switch(e){case"entity.label":return De;case"relation.attributes":return Ze;default:return je}},Le=(0,d.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ie(e,t,n[t])}))}return e}({sortable:!0,resizable:!0},e,{headCellRenderer:Ce,nestedPath:Ae(e.id),rowCellValueRenderer:Fe(e.id)}))),ze=(0,d.cond)([[(0,d.pathEq)(["columnData","id"],"relation.attributes"),e=>{let{columnData:t,cell:n}=e;const a=(0,d.pipe)((0,d.path)(["values",0,"attributes"]),d.values,d.length)(n);return a>t.maxAttrsToShow?26*t.maxAttrsToShow+49:26*a+25}],[d.T,he.Z]]);function Be(){return Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Be.apply(this,arguments)}const Ue=e=>{let{cell:t,CellValueRenderer:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["cell","CellValueRenderer"]);const o=Ee();return r().createElement("div",{className:Se()(o.rowCell,{[o.inactiveRowCell]:a.isInactiveRelation})},t.values.map(((e,t)=>r().createElement(n,Be({key:t,value:e},a)))))};var _e=n(22983),He=n(43054),We=n(55847),Ve=n(22385),Ye=n(81137),Ge=n(83348);const $e=(0,pe.Z)((e=>({menuItem:{minHeight:"32px",color:e.palette.text.secondary},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0,marginLeft:"16px"},buttons:{display:"flex",alignItems:"center",paddingRight:"5px"}}))),qe=(0,Ge.Z)(ne.MenuItem),Xe=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=R.ZT}=e;const o=$e(),{icon:l,disabled:i,text:s,tooltip:c,onClick:p}=n;return r().createElement(qe,{tooltipTitle:c,showForDisabled:!0,classes:{root:o.menuItem},onClick:e=>{a(),p(e)},disabled:i,ref:t},l,r().createElement(ne.Typography,{classes:{root:o.menuText}},s))}));Xe.displayName="MenuItemRenderer";const Ke=Xe,Je=e=>{let{disableDelete:t,connection:{entity:n,relation:l},onMenuOpen:i=R.ZT,onMenuClose:s=R.ZT,onDelete:c}=e;const p=$e(),u=(0,o.useSelector)(m.ZP.selectors.getMetadata),y=(0,d.pipe)((0,d.prop)("relationType"),(0,f.V3K)(u),(0,f.uGe)(f.BDP.DELETE))(l),b=!t&&y,[g,h]=(0,a.useState)(!1),v=()=>h(!1),x=[{disabled:!b,text:j().text("Delete"),icon:r().createElement(_e.Z,null),tooltip:b?null:j().text("You don't have permissions to delete"),onClick:()=>h(!0)}],E=(0,a.useCallback)((()=>{g||s()}),[g,s]);return r().createElement("div",{className:p.buttons},r().createElement(We.Z,{MenuItemRenderer:Ke,menuId:"relationships-table-actions",buttonComponent:Ve.Z,buttonProps:{icon:He.Z,size:"S"},menuItems:x,onMenuOpen:i,onMenuClose:E}),r().createElement(Ye.Z,{open:g,title:j().text('Do you want to delete relationship "${label}"?',{label:(C=(0,f.idV)(n.entityLabel),C.length>17?`${C.substring(0,17)}...`:C)}),content:j().text("This relationship will be removed and all the values in the relationship will be permanently deleted. Are you sure you want to delete this relationship?"),onSave:(0,d.pipe)(v,s,c),onDiscard:(0,d.pipe)(v,s),saveCaption:j().text("Delete"),discardCaption:j().text("Cancel")}));var C},Qe=(0,pe.Z)({tableContainer:{flex:1,overflow:"hidden",display:"flex",zIndex:0},hoveredRowRightContentWrapper:{width:"100%",pointerEvents:"none!important"},menuButtonContainer:{position:"absolute",top:"calc(50% - 12px)",right:0,pointerEvents:"all"},tooltipAnchor:{width:"100%",height:"1px"}});function et(){return et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},et.apply(this,arguments)}const tt=(0,a.memo)((e=>{let{metadata:t,connections:n,columnsData:o,sorting:l,onSort:i,filters:s,onFilter:c,onRowClick:p,tableRef:u,onDelete:m,readOnly:y}=e;const b=Qe(),g=(0,a.useMemo)((()=>((e,t,n)=>(n||[]).map((n=>(0,d.pipe)((0,d.reduce)(((t,a)=>{let{id:r}=a;return(0,d.assoc)(r,((e,t,n)=>{let{entity:a,relation:r}=t;switch(n){case"entity.label":return{entity:a,entityType:(0,f.nt9)(e,a.entityType),relation:r};case"relation.type":return r.relationType;case"relation.label":return r.relationLabel;case"relation.activeness.startDate":return r.startDate;case"relation.activeness.endDate":return r.endDate;case"relation.attributes":return{attributes:r.object.attributes,attributeTypes:(0,f.V3K)(e,r.relationType).attributes};default:return((e,t)=>(0,d.pipe)((0,d.path)(["object","attributes"]),(0,f.tT_)(e))(t))(Me(n),r)}})(e,n,r),t)}),{}),(0,d.assoc)("rawValue",n))(t))))(t,o,n)),[t,n,o]),h=(0,a.useMemo)((()=>Le(o)),[o]),{getDynamicRowCellHeight:v,changeRowCellHeight:x}=(0,ye.Z)(),E=(0,a.useCallback)((0,d.either)(v,ze),[v,ze]),[C,w]=(0,a.useState)(null),S=(0,a.useCallback)((e=>{const t=!(0,f.Fn9)(e.rowValue.rawValue.relation);return r().createElement(be.Z,et({onChangeHeight:x},e),r().createElement(Ue,et({},e,{isInactiveRelation:t})))}),[x]),[T,O]=(0,a.useState)(!1),P=(0,a.useCallback)((()=>O(!0)),[]),k=(0,a.useCallback)((()=>{w(null),O(!1)}),[]),D=(0,a.useCallback)((e=>w((t=>T?t:e))),[T]),R=(0,a.useMemo)((()=>{const e=null!=C?g[C].rawValue:null,t=!(0,f.Fn9)(null==e?void 0:e.relation);return e&&r().createElement(r().Fragment,null,r().createElement(ne.Tooltip,{key:e.relation.relationUri,open:t,title:j().text("Inactive")},r().createElement("div",{className:b.tooltipAnchor})),r().createElement("div",{className:b.menuButtonContainer},r().createElement(Je,{disableDelete:y,connection:e,onMenuOpen:P,onMenuClose:k,onDelete:()=>m(e.relation.relationUri)})))}),[m,g,C]);return r().createElement("div",{className:b.tableContainer},r().createElement(ge.Z,{fixFirstColumn:!0,columnsData:h,rowsData:g,sorting:l,onSort:i,filters:s,onFilter:c,defaultColumnWidth:250,defaultColumnMinWidth:200,headRowHeight:48,getRowCellHeight:E,renderRowCell:S,onRowClick:p,ref:u,hoverStateEnabled:!0,hoverRowIndex:C,onRowHover:D,hoveredRowRightContent:R,classes:{hoveredRowRightContentWrapper:b.hoveredRowRightContentWrapper}}))}));var nt=n(85229),at=n(85965),rt=n(39417),ot=n(10237),lt=n(63149),it=n(48017),st=n(96955),ct=n(66095),pt=n(20982),ut=n(99144),dt=n(65549),mt=n(52017),ft=n(90186);const yt=(0,pe.Z)((()=>({tableRow:{"& + &":{marginTop:"4px"},margin:"auto",maxWidth:"448px"}})));function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gt=(0,a.memo)((e=>{let{readOnly:t,relation:n,metadata:o,selectedAttributeTypes:l,onDeleteCrosswalk:i,onEditCrosswalk:s}=e;const c=yt(),p=(0,f.V3K)(o,n.type),u=(0,a.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,d.pipe)((0,d.propOr)([],"crosswalks"),(0,d.map)((0,d.assoc)("ownerType","entity")),(0,ft.o)(e.type,t))(e)}(n,l)),[n,l]),[m,y]=(0,a.useState)([]),b=(0,a.useCallback)((e=>{i({entityUri:n.uri,crosswalkId:e})}),[i,n.uri]),g=(0,a.useCallback)((e=>{s(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){bt(e,t,n[t])}))}return e}({entityUri:n.uri},e))}),[s,n.uri]);return r().createElement("div",null,u.map((e=>{let{source:n,crosswalksByTypes:a}=e;return r().createElement("div",{key:n,className:c.tableRow},r().createElement(mt.Z,{source:n,crosswalksByTypes:a,expanded:m.includes(n),disableEditCrosswalk:!(0,f.Zm0)(p)||t,disableDeleteCrosswalk:!(0,f.a14)(p)||t,onEdit:g,onDelete:b,onToggleExpanded:()=>{y((0,d.ifElse)((0,d.includes)(n),(0,d.without)([n]),(0,d.append)(n)))}}))})))}));var ht=n(79769);const vt=(0,pe.Z)((e=>({header:{display:"flex",flexDirection:"row",alignItems:"center",padding:"20px 12px",borderBottom:"1px solid rgba(0, 0, 0, 0.12)"},title:{fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px",color:e.palette.text.primary,marginLeft:"12px"},hint:{color:e.palette.text.secondary,display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"flex-start",margin:"4px 14px 10px"},hintText:{marginLeft:"8px",fontSize:"12px",lineHeight:"16px"},buttons:{display:"flex",padding:"8px 6px 4px"},buttonLabel:{fontSize:"14px",fontWeight:500,lineHeight:"16px"},icon:{fontSize:"18px",marginRight:"8px"},editor:{paddingLeft:25,margin:"auto",maxWidth:"448px",boxSizing:"border-box",marginBottom:"4px"},tableContainer:{overflowY:"auto",overflowX:"hidden",paddingLeft:"16px",paddingRight:"6px"}}))),xt=(0,Ge.Z)(ne.Button),Et=(0,a.memo)((e=>{let{className:t,readOnly:n,relation:l,selectedAttributeTypes:i,onAddCrosswalk:s,onDeleteCrosswalk:c,onEditCrosswalk:p}=e;const u=vt(),d=(0,o.useSelector)(m.ZP.selectors.getMetadata),y=(0,f.V3K)(d,l.type),[b,g]=(0,a.useState)(!1),h=(0,f.mkC)(y)&&!n;return r().createElement("div",{className:t},r().createElement("div",{className:u.header},r().createElement("span",{className:u.title},j().text("Legend"))),r().createElement("div",{className:u.buttons},r().createElement(xt,{color:"primary",showForDisabled:!0,disabled:!h,tooltipTitle:h?null:j().text("You don't have permissions to add crosswalk"),onClick:()=>g(!0)},r().createElement(dt.Z,{className:u.icon}),r().createElement("div",{className:u.buttonLabel},j().text("Crosswalk")))),r().createElement("div",{className:u.hint},r().createElement(ut.Z,{className:u.icon}),r().createElement("span",{className:u.hintText},j().text("You can drag a crosswalk to add values to attributes swimlanes"))),r().createElement("div",{className:u.tableContainer},b&&r().createElement(ht.Z,{className:u.editor,onAdd:e=>s({entity:l,crosswalk:e}),onClose:()=>g(!1)}),r().createElement(gt,{readOnly:n,metadata:d,relation:l,selectedAttributeTypes:i,onDeleteCrosswalk:c,onEditCrosswalk:p})))}));var Ct=n(88611),wt=n(23147),St=n(94111),Tt=n(68439);const Ot=(0,pe.Z)((e=>({entityInfo:{flex:"0 1 auto",overflow:"hidden",minWidth:"100px"},entityLabelContainer:{display:"flex",alignItems:"center",overflow:"hidden"},entityLabel:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary},infoIcon:{fontSize:"16px",color:e.palette.text.secondary,marginLeft:"5px"},profileBand:{margin:"-10px",maxWidth:"500px"},entityTypeBadge:{marginTop:"7px"}}))),Pt=e=>{let{entity:t}=e;const n=Ot(),a=(0,f.idV)(t.label);return r().createElement("div",{className:n.entityInfo},r().createElement("div",{className:n.entityLabelContainer},r().createElement(Ct.C,{value:a},r().createElement(ne.Typography,{variant:"h6",className:n.entityLabel,noWrap:!0},a)),r().createElement(St.Z,{title:r().createElement(C.Z,{className:n.profileBand,entity:t}),placement:"right"},r().createElement(ut.Z,{className:n.infoIcon}))),r().createElement(Tt.Z,{className:n.entityTypeBadge,entity:t,size:"medium"}))},kt=(0,pe.Z)((e=>({root:{flexShrink:0,overflow:"hidden",width:"110px"},label:{color:e.palette.text.secondary,fontSize:"13px"}}))),Dt=e=>{let{relation:t}=e;const n=kt(),{direction:a,relationLabel:o}=t;return r().createElement("div",{className:n.root},r().createElement(Ct.C,{value:o},r().createElement(ne.Typography,{variant:"subtitle2",className:n.label,align:"center",noWrap:!0},o)),r().createElement("svg",{width:"110",height:"12",fill:"black",fillOpacity:"0.3"},"out"===a&&r().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 0 9, 0 3, 94 3"}),"bidirectional"===a&&r().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 16 9, 16 12, 0 6, 16 0, 16 3, 94 3"}),"in"===a&&r().createElement("polygon",{points:"16 12, 0 6, 16 0, 16 3, 110 3, 110 9, 16 9"})))};var Rt=n(8459),Zt=n(27604);const Nt=(0,pe.Z)((()=>({root:{"&:hover $editButton":{visibility:"visible"}},editButton:{visibility:"hidden",marginLeft:"4px",marginBottom:"4px"},paper:{width:"150px",border:"3px solid rgba(0, 0, 0, 0.3)",borderRadius:"4px",boxSizing:"border-box",overflow:"hidden"}}))),jt=e=>{let{value:t=null,onChange:n,readOnly:o}=e;const l=Nt(),i=(0,a.useRef)(),[s,c]=(0,a.useState)(!1),p=()=>c(!1),[u,d]=(0,a.useState)(t),m=()=>{u!==t&&n(u),p()};return r().createElement("span",{ref:i,className:l.root},t&&(0,f.p6d)(t),r().createElement(Ve.Z,{disabled:o,icon:Zt.Z,size:"XXS",className:l.editButton,onClick:()=>c(!0)}),r().createElement(ne.Popover,{classes:{paper:l.paper},open:s,anchorEl:i.current,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:14,horizontal:20},onKeyUp:e=>{"Enter"===e.key?m():"Escape"===e.key&&p()},onBackdropClick:m},r().createElement(Rt.Z,{InputProps:{autoFocus:!0,disableUnderline:!0,fullWidth:!0},size:"small",hiddenLabel:!0,label:void 0,value:u&&new Date(u),onChange:e=>d(e&&e.valueOf())})))},It=(0,pe.Z)((e=>({relationBand:{flexShrink:0,boxShadow:"inset 0px -1px 0px rgba(0,0,0,0.06)",padding:"16px 19px"},inactiveRelationBand:{opacity:.6,background:"rgba(185, 188, 197, 0.18)"},toolbar:{display:"flex",alignItems:"center",gap:"16px",marginBottom:"10px"},mainInfo:{display:"flex",gap:"16px",marginLeft:"40px"},detailsInfo:{display:"flex",gap:"34px",marginLeft:"40px",marginTop:"17px",color:e.palette.text.secondary,fontSize:"13px"},detailTitle:{color:e.palette.text.primary,flexShrink:0,marginRight:"4px"},directionalLabel:{display:"flex",overflow:"hidden","& span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},relationDate:{flexShrink:0},commentsContainer:{marginRight:"18px"}})));function Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){At(e,t,n[t])}))}return e}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ft=(0,a.memo)((e=>{let{readOnly:t,entity:n,connection:a,onNavigateBack:o,onDelete:l,onChangeActivenessDate:i}=e;const s=!(0,f.Fn9)(a.relation),c=It();return r().createElement("div",{className:Se()(c.relationBand,Te.U,{[c.inactiveRelationBand]:s})},r().createElement("div",{className:c.toolbar},r().createElement(Ve.Z,{icon:wt.Z,size:"S",onClick:()=>o()}),r().createElement(ne.Typography,{variant:"subtitle2",display:"inline"},j().text("Back to relationships")),r().createElement(oe.Z,null),r().createElement("div",{className:c.commentsContainer},r().createElement(ke.Z,{uri:a.relation.relationUri,relatedObjectUris:(0,f.wp9)(f.q7e.RELATION,{entityUri:null==n?void 0:n.uri,connection:a}),objectType:f.q7e.RELATION,allowOnlyOneComment:!0})),r().createElement(Je,{connection:a,onDelete:l,disableDelete:t})),r().createElement("div",{className:c.mainInfo},r().createElement(Pt,{entity:n}),r().createElement(Dt,{relation:a.relation}),r().createElement(Pt,{entity:Mt({},a.entity.object,{dataTenant:a.entity.dataTenant})})),r().createElement("div",{className:c.detailsInfo},r().createElement("div",{className:c.directionalLabel},r().createElement("span",{className:c.detailTitle},j().text("Directional label:")),r().createElement(Ct.C,{value:a.relation.relationLabel},r().createElement("span",null,a.relation.relationLabel))),r().createElement("div",{className:c.relationDate},r().createElement("span",{className:c.detailTitle},j().text("Start date:")),r().createElement(jt,{value:a.relation.startDate,onChange:e=>i("startDate",e),readOnly:t})),r().createElement("div",{className:c.relationDate},r().createElement("span",{className:c.detailTitle},j().text("End date:")),r().createElement(jt,{value:a.relation.endDate,onChange:e=>i("endDate",e),readOnly:t}))))})),Lt=e=>{console.error(e),u.Z.addError({title:j().text("Error"),message:(0,f.xU7)(e,j().text("Something went wrong"))})};var zt=n(58651),Bt=n(13896);const Ut=(0,pe.Z)({detailsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"},locked:{pointerEvents:"none"},resizablePanesWrapper:{flexGrow:1},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"}}),_t=(0,a.memo)((e=>{let{entity:t,connection:n,visibleColumns:o,onClose:l,onDeleteConnection:i,onChangeConnection:s,onChangeVisibleColumns:c,readOnly:p}=e;const u=Ut(),m=(()=>{const[e,t]=(0,a.useState)([]),n=(0,a.useRef)([]),r=(0,a.useCallback)((0,f.DsO)((()=>{t([...n.current])}),50),[]),o=(0,a.useCallback)((e=>{n.current=e,r(e)}),[r]),l=(0,a.useCallback)(((e,t)=>{e&&o(t?[e]:[])}),[o]),[i,s]=(0,a.useState)([]),c=(0,a.useCallback)((e=>{e&&s((t=>{return n=[e],a=t,(0,d.concat)(n.filter((e=>!(0,d.any)((0,f.aFF)(e),a))),a.filter((e=>!(0,d.any)((0,f.aFF)(e),n))));var n,a}))}),[]);return{highlightedCrosswalks:(0,a.useMemo)((()=>[...e,...i]),[e,i]),focusedCrosswalks:i,toggleCrosswalkFocus:c,setCrosswalkHighlighted:l}})(),[y,b]=(0,a.useState)(-480),g=(0,a.useCallback)((e=>{let{percentageSize:t}=e;return b(t)}),[]),[h,v]=(0,a.useState)(),[x,E]=(0,a.useState)(!1),C=n.relation.relationUri,w=(0,nt._)(),S=(0,a.useCallback)((()=>E(!0)),[]),T=(0,a.useCallback)((()=>E(!1)),[]),O=(0,a.useCallback)((0,d.pipe)(i,S),[]),[P,k]=(0,a.useMemo)((()=>{const e=e=>{e.errorCode===f.Xt7.CROSSWALK_NOT_FOUND?(Lt(e),t()):e.errorCode===f.Xt7.OBJECT_NOT_FOUND?l(e):(Lt(e),T())},t=()=>{w((0,f._vs)(C)).then((e=>{s((0,d.assocPath)(["relation","object"],e,n)),T()})).catch(e)};return[e,t]}),[n,T,s,l]),{modifiedEntity:D,crosswalksMap:R,newlyCreatedAttributes:Z,onPinAttribute:N,onIgnoreAttribute:j,onAddAttribute:I,onEditAttribute:M,onDeleteAttribute:A}=(0,at.Q)({entity:n.relation.object,onModify:k,onError:P,onLoad:S}),{addCrosswalk:F,deleteCrosswalk:L,editCrosswalk:z}=(0,rt.P)({onSuccess:k,onError:P,onLoad:S}),B=(0,a.useCallback)(((e,t)=>{S(),(t?(0,f.rj2)({entityUri:C,attributeName:e,value:t}).then((()=>s((0,d.assocPath)(["relation",e],t,n)))):(0,f.X78)({entityUri:C,attributeName:e}).then((()=>s((0,d.dissocPath)(["relation",e],n))))).then(T).catch(P)}),[n,S,T,P]);return r().createElement(ot.Z,{className:u.detailsView},r().createElement(lt.hR,m,r().createElement(Bt.DndProvider,{backend:zt.default},r().createElement(it.Z,null),r().createElement(st.Z,{className:Se()(u.resizablePanesWrapper,{[u.locked]:x}),orientation:"vertical",size:y,minSize:600,maxSize:-480,allowResize:!0,onChange:g},r().createElement("div",{className:u.pane},r().createElement(Ft,{readOnly:p,entity:t,connection:n,onNavigateBack:l,onDelete:O,onChangeActivenessDate:B}),r().createElement(ct.R,{attributeUris:Z},r().createElement(pt.Z,{readOnly:p,entity:D,crosswalksMap:R,isLoading:x,onPin:N,onIgnore:j,onEdit:M,onAdd:I,onDelete:A,selectedAttributeTypes:h,onSelectAttributeTypes:v,visibleColumns:o,onChangeVisibleColumns:c}))),r().createElement(Et,{readOnly:p,className:u.pane,relation:n.relation.object,selectedAttributeTypes:h,onAddCrosswalk:F,onDeleteCrosswalk:L,onEditCrosswalk:z})))))})),Ht=(0,pe.Z)({relationshipsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},pane:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",position:"relative"}}),Wt=(0,o.connect)(((e,t)=>{let{config:{id:n}}=t;return{entity:m.ZP.selectors.getEntity(e),metadata:m.ZP.selectors.getMetadata(e),connections:m.ZP.selectors.getConnectionsByViewId(e,n),total:m.ZP.selectors.getTotalByViewId(e,n)}}))((e=>{let{config:t,entity:n,metadata:o,connections:l,total:i,saveState:s,getSavedState:c,dispatch:p}=e;const u=Ht(),P=(0,a.useRef)(),R=(0,y.U)(),N=(0,f.biM)(n),[j,I]=(0,a.useState)(!1),{type:M}=n||{},[{visibleColumns:B,filters:H,page:q,rowsPerPage:ne,sorting:ae,currentRelationType:re,stateToSave:oe,entityTypeOfAppliedSavedState:le},{changeColumns:ie,toggleFilters:se,changeFilter:ce,changePage:pe,changeRowsPerPage:ue,toggleSort:de,changeRelationType:me,saveCurrentState:ye,applySavedState:be}]=(e=>{let{defaultColumns:t,defaultSorting:n,defaultRowsPerPage:r}=e;const o={visibleColumns:t,filters:null,sorting:n,page:0,rowsPerPage:r,currentRelationType:null,stateToSave:null,visibleColumnsForRelationTypes:{},entityTypeOfAppliedSavedState:null},[l,i]=(0,a.useReducer)(((e,t)=>{switch(t.type){case W:{const n=t.payload;return(0,d.pipe)(Q,(0,d.assoc)("currentRelationType",n),K,$)(e)}case V:{const{savedState:n,entityTypeUri:a}=t.payload,r=n?X(n):e.visibleColumns;return _({},e,n,{filters:n?J(n):e.filters,visibleColumns:r,entityTypeOfAppliedSavedState:a})}case Y:return _({},e,{stateToSave:ee(e)});default:return D.ZP.reducer(e,t)}}),o);return[l,(0,Z.o)({actions:G,dispatch:i})]})({defaultColumns:F,defaultRowsPerPage:z[0],defaultSorting:{field:F[0],order:"asc"}}),ge=le===M,{isLoading:he,relationsTableSavedState:ve,attributesTableSavedState:xe,updateRelationsTableSavedState:Ee,updateAttributesTableSavedState:Ce}=(e=>{var t;let{getSavedState:n,saveState:r,entityTypeUri:o}=e;const[l,i]=(0,a.useState)(k),[s,c]=(0,a.useState)(null);(0,b.D)((()=>{s&&(i(O({},l,{relationsTable:s})),c(null))}),[o]);const[p,u]=(0,a.useState)(!0);return(0,a.useEffect)((()=>{n().then((e=>{i(e||k)})).then((e=>u(!1))).catch((e=>u(!1)))}),[]),{isLoading:p,relationsTableSavedState:null===(t=l.relationsTable)||void 0===t?void 0:t[o],attributesTableSavedState:l.attributesTable,updateRelationsTableSavedState:e=>{const t=O({},l.relationsTable,{[o]:e});c(t),r(O({},l,{relationsTable:t}))},updateAttributesTableSavedState:e=>{r(O({},l,{attributesTable:e}))}}})({getSavedState:c,saveState:s,entityTypeUri:M}),[we,Se]=(0,a.useState)();(0,a.useEffect)((()=>{he||be({savedState:ve,entityTypeUri:M})}),[he,M]),(0,a.useEffect)((()=>{he||Se(null==xe?void 0:xe.visibleColumns)}),[he]),(0,b.D)((()=>{ge&&Ee(oe)}),[oe]),(0,b.D)((()=>{pe(0)}),[n]);const[Te,Oe]=(0,a.useState)(),Pe=(0,a.useCallback)((()=>{Oe(null)}),[]),ke=(0,a.useMemo)((()=>{const e=(0,f.io3)(o,M);return o.relationTypes.filter((0,d.both)((0,f.uGe)(f.BDP.READ),(t=>{let{startObject:n,endObject:a}=t;return e.some((0,d.either)((0,d.equals)(n.objectTypeURI),(0,d.equals)(a.objectTypeURI)))})))}),[o,M]),De=(0,a.useMemo)((()=>((e,t)=>t?(0,d.pipe)((0,d.find)((e=>e.uri===t)),f.DK$,U,(0,d.concat)(A),(0,d.reject)((e=>{let{id:t}=e;return L.includes(t)})))(e):(e=>{return t=(0,d.assoc)("dataTypeDefinition",(e=>({type:f.oS0.TYPE_SELECT,options:e.map((e=>{let{uri:t,label:n}=e;return{value:t,label:n}}))}))(e)),e=>(0,d.adjust)(e.findIndex((0,d.propEq)("id","relation.type")),t,e);var t})(e)(A))(ke,re)),[ke,re]),Re=(0,a.useMemo)((()=>B.map((e=>De.find((0,d.propEq)("id",e)))).filter(d.identity)),[B,De]),Ze=(0,a.useMemo)((()=>{const e=(0,d.pipe)((0,d.when)((0,d.always)(re),(0,d.filter)((0,d.propEq)("uri",re))),(0,d.map)((0,d.prop)("uri")))(ke);return{id:t.id,content:{inRelations:e,outRelations:e}}}),[t.id,re,ke]),Ne=(0,a.useMemo)((()=>((e,t)=>{const n=(0,te.Tz)(t,e);return(new f.MEy).addClause(n).build()})(H,Re)),[H,Re]),{isLoading:je,reload:Ie}=(0,g.a)({page:q,rowsPerPage:ne,config:Ze,entity:ge?n:null,filter:Ne,mode:f.ARY.Viewing,sorting:ae,searchByOv:j}),Me=!ge||je,Ae=(0,a.useCallback)((0,d.pipe)(de,ye),[de,ye]),Fe=(0,a.useCallback)((0,d.pipe)(ce,ye),[ce,ye]),Le=(0,a.useCallback)((0,d.pipe)(se,ye),[se,ye]),ze=(0,a.useCallback)((0,d.pipe)(ie,ye),[ie,ye]),Be=(0,a.useCallback)((0,d.pipe)(me,ye),[me,ye]),Ue=(0,a.useCallback)((e=>{Se(e),Ce({visibleColumns:e})}),[Ce]),_e=null==l?void 0:l[Te],He=(0,a.useCallback)((e=>{p(m.N5.relations.actions.relationsLoaded({id:t.id,connections:(0,d.update)(Te,e,l),total:i}))}),[_e]),[We,Ve]=(0,a.useMemo)((()=>[(0,f.w3p)(l),[f.q7e.RELATION]]),[l]),Ye=(0,h.C)({objectIds:We,objectTypes:Ve,enabled:!N}),Ge=(0,a.useMemo)((()=>(0,f.Px$)(l)),[l]),$e=(0,a.useCallback)((e=>{Lt(e),e.errorCode===f.Xt7.OBJECT_NOT_FOUND&&Ie()}),[Ie]),qe=(0,a.useCallback)((e=>{(0,d.pipe)(f.VGk,(0,d.andThen)(Ie),(0,d.otherwise)($e))(e)}),[Ie,$e]),Xe=(0,a.useCallback)((()=>{(0,d.pipe)(f.VGk,(0,d.andThen)((0,d.pipe)(Pe,Ie)),(0,d.otherwise)((e=>{e.errorCode===f.Xt7.OBJECT_NOT_FOUND&&Pe(),$e(e)})))(_e.relation.relationUri)}),[_e,Ie,Pe,$e]),Ke=(0,a.useCallback)((e=>{e&&$e(e),Pe()}),[$e,Pe]),Je=(0,a.useCallback)((()=>{I(d.not)}),[I]);return r().createElement(v.s.Provider,{value:R},r().createElement(x.h.Provider,{value:Ye},r().createElement(E.X.Provider,{value:Ge},r().createElement("div",{className:u.relationshipsView},r().createElement(C.Z,{entity:n},r().createElement(w.a,null)),r().createElement(fe,{total:i,filteringEnabled:!!H,onToggleFilters:Le,columnsData:De,selectedColumns:B,onChangeColumns:ze,relationTypes:ke,currentRelationType:re,onRelationTypeChange:Be,searchByOv:j,onToggleSearchByOv:Je}),r().createElement("div",{className:u.pane},Me&&r().createElement(S.Z,null),r().createElement(tt,{readOnly:N,metadata:o,connections:l,columnsData:Re,sorting:ae,onSort:Ae,filters:H,onFilter:Fe,onRowClick:Oe,tableRef:P,onDelete:qe}),r().createElement(T.Z,{count:i,rowsPerPageOptions:z,page:q,onChangePage:pe,rowsPerPage:ne,onChangeRowsPerPage:ue,basicTableRef:P})),_e&&r().createElement(_t,{readOnly:N,entity:n,visibleColumns:we,onChangeVisibleColumns:Ue,connection:_e,onClose:Ke,onDeleteConnection:Xe,onChangeConnection:He})))))})),Vt=(0,i.createGenerateClassName)({productionPrefix:"relationshipsPerspective",disableGlobal:!0}),Yt=e=>{let{config:t,store:n,onResize:d,saveState:m,getSavedState:y}=e;const b=(0,a.useCallback)((0,f.aYu)(y),[y]);return r().createElement(o.Provider,{store:n},r().createElement(p.m.Provider,{value:t.id},r().createElement(i.StylesProvider,{generateClassName:Vt},r().createElement(c.MuiPickersUtilsProvider,{utils:l.Z},r().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>null==d?void 0:d(Math.floor(e),Math.floor(t))}),t&&r().createElement(Wt,{config:t,saveState:m,getSavedState:b}),r().createElement(u.Z,null)))))}},46847:(e,t,n)=>{function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function l(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,l=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?l="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(l="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==l||null!==i){var s=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==l?"\n "+l:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var p=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;p.call(this,e,t,a)}}return e}n.r(t),n.d(t,{polyfill:()=>l}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0}}]);
2
2
  //# sourceMappingURL=5592.js.map