@reltio/remotes 1.4.1265 → 1.4.1266
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/2701.js +1 -1
- package/2701.js.map +1 -1
- package/4843.js +1 -1
- package/9431.js +1 -1
- package/9431.js.map +1 -1
- package/package.json +1 -1
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,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,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,HierarchyTreeViewConfigType:()=>i.rwv,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,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,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,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,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,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,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,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.HQx,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,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,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,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,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,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,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(57941)}}]);
|
|
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,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,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,HierarchyTreeViewConfigType:()=>i.rwv,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,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,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,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,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,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,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,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.HQx,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,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,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,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,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,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(57941)}}]);
|
package/9431.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9431],{59431:(e,t,r)=>{r.d(t,{Z9:()=>ls,Yj:()=>o,ZP:()=>gT,NZ:()=>M,Pu:()=>T,N5:()=>ve,yC:()=>A,cm:()=>m,ah:()=>s,ui:()=>S,EA:()=>b});var n={};r.r(n),r.d(n,{DATA_TENANTS_UPDATED:()=>Pe});var i={};r.r(i),r.d(i,{dataTenantsUpdated:()=>Le});var o={};r.r(o),r.d(o,{actions:()=>i,constants:()=>n,reducer:()=>Ce});var a={};r.r(a),r.d(a,{TENANTS_UPDATED:()=>me});var E={};r.r(E),r.d(E,{tenantsUpdated:()=>we});var s={};r.r(s),r.d(s,{actions:()=>E,constants:()=>a,reducer:()=>Ve});var l={};r.r(l),r.d(l,{METADATA_LOADED:()=>Me});var d={};r.r(d),r.d(d,{updateMetadata:()=>ke});var c={};r.r(c),r.d(c,{ATTRIBUTE_PRESENTATIONS_LOADED:()=>Ke,AUTOCLOSE_INTERVAL_LOADED:()=>qe,CLOSE_NOTIFICATION:()=>st,DATE_MASK_UPDATED:()=>et,DATE_TIME_MASK_UPDATED:()=>tt,ENTITY_DELETION_FINISHED:()=>He,ERROR_SET:()=>at,KEYS_SET:()=>it,LOCALIZATION_LOADED:()=>ze,NEW_ENTITY_SHOWN:()=>je,NEW_UI_CONFIG_LOADED:()=>Be,NUMBER_FORMAT_UPDATED:()=>Je,OPEN_APP_FROM_CHOCOLATE_BAR:()=>Qe,OPEN_CONSOLE_APP:()=>Ze,OPEN_ENTITY:()=>Fe,OPEN_GRAPH:()=>$e,OPEN_HISTORY_EVENT:()=>nt,OPEN_PERSPECTIVE:()=>Ge,OPEN_PIVOTING_PERSPECTIVE:()=>ot,OPEN_SEARCH:()=>rt,PATHS_SET:()=>xe,SET_PREFER_REACT:()=>Xe,SHOW_NOTIFICATION:()=>Et,UI_CONFIG_LOADED:()=>We});var T={};r.r(T),r.d(T,{actions:()=>d,constants:()=>l,reducer:()=>_t});var u={};r.r(u),r.d(u,{ProfileActions:()=>yt});var p={};r.r(p),r.d(p,{addAttributes:()=>Dt,addDefaultValuesAction:()=>Rt,addNextPageOfAttributeValues:()=>It,modifyAttribute:()=>Ot,processNextPageOfAttributeValues:()=>At,removeAttribute:()=>gt,requestNextPageOfAttributeValues:()=>ft,saveProfile:()=>Nt,validateProfile:()=>St});var _={};r.r(_),r.d(_,{DependentLookupsActions:()=>vt});var y={};r.r(y),r.d(y,{dependentLookupsEditorsBlocked:()=>bt,dependentLookupsInitedTypeUrisAdded:()=>ht,dependentLookupsStructureSet:()=>Pt});var D={};r.r(D),r.d(D,{getDependentLookupEditorState:()=>mt,getDependentLookupsInitedTypeUris:()=>Ut,getDependentLookupsStructure:()=>Lt,getDependentLookupsStructureNode:()=>Ct});var R={};r.r(R),r.d(R,{ModeActions:()=>wt});var O={};r.r(O),r.d(O,{ACTIVITY_FILTER_UPDATED:()=>Bt,GLOBAL_FILTER_UPDATED:()=>xt,KEYWORD_UPDATED:()=>Ht,SAVE_STATE:()=>Wt,SEARCH_OPTIONS_UPDATED:()=>zt,SEARCH_RESULTS_SET:()=>jt,SET_SEARCH_NAVIGATION_DATA:()=>Xt,SET_SEARCH_OPTIONS_CONFIG:()=>Kt,SET_SEARCH_PROVIDER_DATA:()=>qt,UPDATE_SEARCH_NAVIGATION_DATA_FIELDS:()=>Zt,UPDATE_STATE:()=>Gt});var g={};r.r(g),r.d(g,{activityFilterUpdated:()=>tr,globalFilterUpdated:()=>rr,keywordUpdated:()=>Jt,saveState:()=>er,searchResultsSet:()=>Qt,setSearchNavigationData:()=>ar,setSearchOptionsConfig:()=>ir,setSearchProviderData:()=>or,updateSearchNavigationDataFields:()=>Er,updateSearchOptions:()=>nr,updateState:()=>$t});var I={};r.r(I),r.d(I,{getActivityFilter:()=>cr,getGlobalFilter:()=>Tr,getGlobalFilterQuery:()=>ur,getGlobalFilterSavedSearchesUris:()=>pr,getGlobalSearchRequestOptions:()=>Or,getKeyword:()=>dr,getSearchNavigationData:()=>Dr,getSearchOptions:()=>_r,getSearchProviderData:()=>yr,getSearchResults:()=>lr,getStringifiedSearchOptions:()=>Rr});var A={};r.r(A),r.d(A,{actions:()=>g,constants:()=>O,reducer:()=>Pr,sagas:()=>fr,selectors:()=>I});var f={};r.r(f),r.d(f,{attributePresentationsLoaded:()=>Mr,autocloseIntervalLoaded:()=>kr,closeNotification:()=>mr,dateMaskUpdated:()=>xr,dateTimeMaskUpdated:()=>zr,entityDeletionFinished:()=>Lr,errorSet:()=>Qr,keysSet:()=>Xr,localizationLoaded:()=>Br,newEntityShown:()=>br,newUiConfigLoaded:()=>Vr,numberFormatUpdated:()=>jr,openAppFromChocolateBar:()=>Gr,openConsoleApp:()=>Hr,openEntity:()=>hr,openGraph:()=>Wr,openHistoryEvent:()=>qr,openPerspective:()=>Ur,openPivotingPerspective:()=>Zr,openSearch:()=>Kr,pathsSet:()=>wr,setPreferReact:()=>Fr,showNotification:()=>Cr,uiConfigLoaded:()=>Yr});var N={};r.r(N),r.d(N,{getAdminToolsPath:()=>cn,getApiPath:()=>en,getAttributePresentations:()=>un,getAutoCloseInterval:()=>pn,getCollaborationPath:()=>En,getDVFPath:()=>ln,getDateMask:()=>Dn,getDateTimeMask:()=>On,getDefaultMaxValues:()=>_n,getDtssPath:()=>nn,getExportPath:()=>$r,getGoogleMapKey:()=>Sn,getIdpLicenseKey:()=>vn,getImageAttributesFieldsOrder:()=>fn,getImagePath:()=>Jr,getImageServicePath:()=>sn,getLookupAutocomplete:()=>Nn,getMlDqPath:()=>Tn,getNotifications:()=>Rn,getPivotingAttributes:()=>An,getReltioPath:()=>rn,getServicesPath:()=>Cn,getShowEntityId:()=>wn,getUIConfig:()=>mn,getUIPath:()=>tn,getUiError:()=>Un,getUiNumberFormat:()=>yn,getValidateReadMode:()=>bn,getValidationServicePath:()=>dn,getValidationServiceSeverityLevels:()=>hn,getWorkflowConfigurationEnabled:()=>Ln,getWorkflowEnvironmentURL:()=>an,getWorkflowPath:()=>on});var S={};r.r(S),r.d(S,{actions:()=>f,constants:()=>c,reducer:()=>kn,selectors:()=>N});var v={};r.r(v),r.d(v,{USER_UPDATED:()=>Fn});var P={};r.r(P),r.d(P,{userUpdated:()=>jn});var h={};r.r(h),r.d(h,{getUserName:()=>Hn,getUserRoles:()=>Gn});var b={};r.r(b),r.d(b,{actions:()=>P,constants:()=>v,reducer:()=>Bn,selectors:()=>h});var L={};r.r(L),r.d(L,{TENANT_NAME_UPDATED:()=>zn,TENANT_UPDATED:()=>xn});var U={};r.r(U),r.d(U,{tenantNameUpdated:()=>qn,tenantUpdated:()=>Kn});var C={};r.r(C),r.d(C,{getTenantId:()=>Xn,getTenantName:()=>Zn});var m={};r.r(m),r.d(m,{actions:()=>U,constants:()=>L,reducer:()=>$n,selectors:()=>C});var w={};r.r(w),r.d(w,{ENVIRONMENT_UPDATED:()=>ei});var Y={};r.r(Y),r.d(Y,{environmentUpdated:()=>ti});var V={};r.r(V),r.d(V,{getEnvironmentId:()=>ri});var M={};r.r(M),r.d(M,{actions:()=>Y,constants:()=>w,reducer:()=>oi,selectors:()=>V});var k={};r.r(k),r.d(k,{getAbsoluteImagePath:()=>So,getActiveErrorsForAttributesPager:()=>ki,getActivityFilter:()=>so,getAdminToolsPath:()=>xi,getAllRelationsToAddAndEdit:()=>fo,getAllTreesEditingConnections:()=>wo,getApiPath:()=>ji,getAttributePresentations:()=>zi,getAttributeTypeErrors:()=>Vi,getAttributesErrors:()=>Mi,getAutoCloseInterval:()=>Xi,getCanUserCreateWorkflowConfigJar:()=>Zo,getCanUserCreateWorkflowEnvironmentConfigJar:()=>Qo,getCanUserDeleteProfiles:()=>Oa,getCanUserExecuteWorkflowJobs:()=>Jo,getCanUserExecuteWorkflowJobsSyncBusinessProcessData:()=>$o,getCanUserExecuteWorkflowJobsTerminateProcessInstance:()=>ea,getCanUserExecuteWorkflowJobsUpdateTasks:()=>ta,getCanUserExecuteWorkflowJobsValidateTasks:()=>ra,getCanUserGetDQStatistic:()=>Ia,getCanUserImportEntitiesFromDT:()=>_a,getCanUserMakeActivitiesExport:()=>pa,getCanUserMakeBulkUpdate:()=>Ra,getCanUserMakeExport:()=>ua,getCanUserManageWorkflowDefinition:()=>na,getCanUserManageWorkflowEnvironmentDefinition:()=>ia,getCanUserOpenDataLoader:()=>ga,getCanUserReadDVF:()=>Aa,getCanUserReadEntitiesFromDT:()=>ya,getCanUserReadWorkflowDataTask:()=>oa,getCanUserRegisterConfigEnvironments:()=>Xo,getCanUserStartProcessFromQuery:()=>Da,getCanUserUpdateProcessInstance:()=>aa,getCanUserUpdateWorkflowDataTask:()=>Ea,getCanUserViewProcessInstanceSearchQuery:()=>sa,getCanUserViewWorkflowConfigJar:()=>la,getCanUserViewWorkflowDefinition:()=>da,getCanUserViewWorkflowEnvironmentConfigJar:()=>ca,getCanUserViewWorkflowJobs:()=>Ta,getCheckIfCanAddRelations:()=>Ca,getCollaborationPath:()=>xo,getConnectionsByViewId:()=>Ri,getConnectionsTemporaryUrisForCreation:()=>fi,getConnectionsWithDraftsByViewId:()=>Ii,getDVFPath:()=>zo,getDataTenants:()=>ai,getDateMask:()=>Zi,getDateTimeMask:()=>Qi,getDefaultMaxValues:()=>qi,getDependentLookupEditorState:()=>La,getDependentLookupsInitedTypeUris:()=>ba,getDependentLookupsStructure:()=>Pa,getDependentLookupsStructureNode:()=>ha,getDraftsForSaveByViewId:()=>Ai,getDtssPath:()=>Ho,getEditingOrAddingConnectionByViewIdAndRelationUri:()=>Oi,getEditingOrAddingConnectionRelationObjectByViewIdAndRelationUri:()=>gi,getEntity:()=>_i,getEntityUri:()=>yi,getEntityUriWithDataTenant:()=>Di,getEntityWithDiff:()=>ma,getEntityWithoutDiff:()=>wa,getEnvironment:()=>jo,getEnvironmentObject:()=>di,getExportPath:()=>Hi,getGlobalFilter:()=>_o,getGlobalFilterSavedSearchesUris:()=>yo,getGlobalSearchRequestOptions:()=>uo,getGoogleMapKey:()=>ro,getHistoryDiff:()=>hi,getHistoryEvent:()=>bi,getHistoryMode:()=>Ci,getHistorySlice:()=>Li,getIdpLicenseKey:()=>no,getImageAttributesFieldsOrder:()=>eo,getImagePath:()=>Fi,getImageServicePath:()=>Bi,getIsEditableMode:()=>Ro,getIsHistoryModeEnabled:()=>Ui,getIsSuggestMode:()=>go,getIsViewMode:()=>Oo,getLookupAutocomplete:()=>to,getLookups:()=>Si,getMetadata:()=>si,getMlDqPath:()=>qo,getMode:()=>Do,getModifiedEntities:()=>Yi,getModifiedEntity:()=>mi,getModifiedEntityDefaultProfilePic:()=>wi,getNotifications:()=>Ji,getPivotingAttributes:()=>$i,getProfile:()=>ui,getProfileCancelNeedConfirm:()=>Mo,getProfileErrors:()=>vi,getProfileOperation:()=>Yo,getProfileViews:()=>Vo,getRelationToAddByViewId:()=>Io,getRelationsToEditByViewId:()=>Ao,getRelationsViewIds:()=>Pi,getReltioPath:()=>Wi,getSearch:()=>pi,getSearchKeyword:()=>Eo,getSearchNavigationData:()=>To,getSearchOptions:()=>lo,getSearchProviderData:()=>co,getSearchResults:()=>ao,getServicesPath:()=>Ya,getShowEntityId:()=>Ma,getStringifiedSearchOptions:()=>po,getTenant:()=>ko,getTenantName:()=>Fo,getTenantObject:()=>li,getTenants:()=>Ei,getTotalByViewId:()=>Ni,getTree:()=>bo,getTreeCommands:()=>Co,getTreeEditingConnection:()=>mo,getTreeRoot:()=>Lo,getTreeTotal:()=>Uo,getTrees:()=>ho,getUIConfig:()=>Va,getUIPath:()=>Gi,getUi:()=>Ti,getUiError:()=>Ua,getUiNumberFormat:()=>Ki,getUser:()=>ci,getUserName:()=>vo,getUserRoles:()=>Po,getValidateReadMode:()=>oo,getValidationServicePath:()=>Ko,getValidationServiceSeverityLevels:()=>io,getViewIdsForOpenRelation:()=>No,getWorkflowConfigurationEnabled:()=>Bo,getWorkflowEnvironmentUrl:()=>Wo,getWorkflowPath:()=>Go,isCollaborationEnabled:()=>fa,isCollaborationSideViewEnabled:()=>va,isWorkflowEnabled:()=>Na,isWorkflowSideViewEnabled:()=>Sa});var F={};r.r(F),r.d(F,{ModifiedEntitiesActions:()=>ka});var j={};r.r(j),r.d(j,{RelationsActions:()=>Fa});var H={};r.r(H),r.d(H,{findConnectionByRelationUri:()=>Ba,getAllRelationsToAddAndEdit:()=>rE,getConnectionsByViewId:()=>Za,getConnectionsWithDrafts:()=>oE,getDraftsByViewId:()=>Ja,getDraftsForSaveByViewId:()=>sE,getEditingOrAddingConnectionByViewIdAndRelationUri:()=>aE,getEditingOrAddingConnectionRelationObjectByViewIdAndRelationUri:()=>EE,getEntityUriFromConnection:()=>qa,getRelationAttributesFromConnection:()=>Ka,getRelationDirectionFromConnection:()=>Xa,getRelationObjectFromConnection:()=>za,getRelationToAddByViewId:()=>$a,getRelationToAddPath:()=>Ga,getRelationUriFromConnection:()=>xa,getRelationsToEditByViewId:()=>eE,getRelationsToEditPath:()=>Wa,getTempRelations:()=>tE,getTemporaryUrisForCreation:()=>lE,getTotalByViewId:()=>Qa,getTotalWithDrafts:()=>iE,getViewIdsForOpenRelation:()=>nE});var G={};r.r(G),r.d(G,{actions:()=>y,constants:()=>_,reducer:()=>kt,sagas:()=>fE,selectors:()=>D});var W={};r.r(W),r.d(W,{EntityActions:()=>NE});var B={};r.r(B),r.d(B,{clearEntity:()=>UE,entityCloneRequested:()=>LE,entityCreationRequested:()=>hE,entityLoaded:()=>SE,entityRemoveRequested:()=>bE,loadEntity:()=>PE,setDefaultProfilePic:()=>vE});var x={};r.r(x),r.d(x,{getDataTenant:()=>mE,getUri:()=>CE,getUriWithDataTenant:()=>wE});var z={};r.r(z),r.d(z,{actions:()=>B,constants:()=>W,reducer:()=>kE,selectors:()=>x});var K={};r.r(K),r.d(K,{ErrorsActions:()=>FE});var q={};r.r(q),r.d(q,{getActiveErrorsForAttributesPager:()=>BE,getAttributeTypeErrors:()=>jE,getAttributesErrors:()=>HE});var X={};r.r(X),r.d(X,{errorDeactivated:()=>xE,errorsSet:()=>zE});var Z={};r.r(Z),r.d(Z,{actions:()=>X,constants:()=>K,reducer:()=>ZE,selectors:()=>q});var Q={};r.r(Q),r.d(Q,{HistoryActions:()=>QE});var J={};r.r(J),r.d(J,{clearHistoryDiff:()=>$E,clearHistoryEvent:()=>ts,setHistoryDiff:()=>JE,setHistoryEvent:()=>es,setHistoryMode:()=>ns,setHistorySlice:()=>rs});var $={};r.r($),r.d($,{getHistoryDiff:()=>is,getHistoryEvent:()=>os,getHistoryMode:()=>ss,getHistorySlice:()=>as,getIsHistoryModeEnabled:()=>Es});var ee={};r.r(ee),r.d(ee,{actions:()=>J,constants:()=>Q,reducer:()=>us,selectors:()=>$});var te={};r.r(te),r.d(te,{LOOKUPS_FOR_TYPE_RESOLVED:()=>_s,LOOKUPS_LIST_RESOLVED:()=>ys,LOOKUPS_LOADED:()=>ps});var re={};r.r(re),r.d(re,{lookupsForTypeResolved:()=>Rs,lookupsListResolved:()=>Os,lookupsLoaded:()=>Ds});var ne={};r.r(ne),r.d(ne,{actions:()=>re,constants:()=>te,reducer:()=>fs});var ie={};r.r(ie),r.d(ie,{modeCancelEditing:()=>Ss,modeEditingCanceled:()=>vs,modeUpdated:()=>Ns});var oe={};r.r(oe),r.d(oe,{getIsEditMode:()=>hs,getIsEditableMode:()=>Ls,getIsSuggestMode:()=>Ps,getIsViewMode:()=>bs});var ae={};r.r(ae),r.d(ae,{actions:()=>ie,constants:()=>R,reducer:()=>Cs,selectors:()=>oe});var Ee={};r.r(Ee),r.d(Ee,{entityCreated:()=>ms,entityDeleted:()=>ws,modifiedEntitiesReset:()=>Vs,setDefaultProfilePic:()=>Ys});var se={};r.r(se),r.d(se,{getModifiedEntity:()=>Ms,getModifiedEntityDefaultProfilePic:()=>ks});var le={};r.r(le),r.d(le,{actions:()=>Ee,constants:()=>F,reducer:()=>Bs,sagas:()=>Zs,selectors:()=>se});var de={};r.r(de),r.d(de,{addRelation:()=>tl,closeRelationEditor:()=>il,editRelation:()=>rl,ignoreRelation:()=>el,openRelationEditor:()=>nl,relationsLoaded:()=>Qs,removeRelation:()=>$s,secondLevelRelationsLoaded:()=>Js,setRelationEntity:()=>al,setRelationType:()=>ol});var ce={};r.r(ce),r.d(ce,{actions:()=>de,constants:()=>j,reducer:()=>pl,selectors:()=>H});var Te={};r.r(Te),r.d(Te,{TreesActions:()=>_l});var ue={};r.r(ue),r.d(ue,{activenessDateChanged:()=>Ul,childrenLoaded:()=>Ql,childrenLoading:()=>Il,currentEntityShownInTree:()=>Al,entitiesMappingLoaded:()=>hl,nodeExpanded:()=>Nl,resetScrollToNode:()=>Ol,toggleRelationDetails:()=>Ll,treeChanged:()=>bl,treeCommandsCleared:()=>gl,treeLoaded:()=>yl,treeLoadedWithError:()=>Dl,treeLoading:()=>Rl,treeNodeChanged:()=>Vl,treeNodeCreated:()=>wl,treeNodeEditingApplied:()=>kl,treeNodeEditingCanceled:()=>Fl,treeNodeEditingStarted:()=>Ml,treeNodeEntityChanged:()=>Kl,treeNodeNewChildEditingApplied:()=>Bl,treeNodeNewChildEditingCanceled:()=>xl,treeNodeNewChildEditingStarted:()=>Wl,treeNodeNewParentEditingApplied:()=>Hl,treeNodeNewParentEditingCanceled:()=>Gl,treeNodeNewParentEditingStarted:()=>jl,treeNodeRelationTypeChanged:()=>zl,treeNodeRemoved:()=>vl,treeRefreshed:()=>fl,treeRelationChanged:()=>Yl,treeRelationCreated:()=>ml,treeRelationRemoved:()=>Sl,treeRelationRepointed:()=>Cl,treeSecondaryLabelShown:()=>Pl,treeSorted:()=>ql,treesResetInitialTrees:()=>$l,treesRestoreFromInitialTrees:()=>Jl,treesStateRestored:()=>Zl,treesStateSaved:()=>Xl});var pe={};r.r(pe),r.d(pe,{getAllTreesEditingConnections:()=>od,getCommands:()=>nd,getTree:()=>ed,getTreeEditingConnection:()=>id,getTreeRoot:()=>td,getTreeTotal:()=>rd});var _e={};r.r(_e),r.d(_e,{actions:()=>ue,constants:()=>Te,reducer:()=>Ud,selectors:()=>pe});var ye={};r.r(ye),r.d(ye,{getActiveErrorsForAttributesPager:()=>cc,getAllRelationsToAddAndEdit:()=>Ec,getAllTreesEditingConnections:()=>Dc,getAttributeTypeErrors:()=>lc,getAttributesErrors:()=>dc,getConnectionsByViewId:()=>$d,getConnectionsTemporaryUrisForCreation:()=>tc,getConnectionsWithDraftsByViewId:()=>Xd,getDependentLookupEditorState:()=>Ic,getDependentLookups:()=>kd,getDependentLookupsInitedTypeUris:()=>gc,getDependentLookupsStructure:()=>Rc,getDependentLookupsStructureNode:()=>Oc,getDraftsForSaveByViewId:()=>ec,getEditingOrAddingConnectionByViewIdAndRelationUri:()=>Zd,getEditingOrAddingConnectionRelationObjectByViewIdAndRelationUri:()=>Qd,getEntity:()=>Cd,getEntityHasChanges:()=>Pc,getErrors:()=>wd,getHistory:()=>jd,getHistoryDiff:()=>Ac,getHistoryEvent:()=>fc,getHistoryMode:()=>vc,getHistorySlice:()=>Nc,getIsEditableMode:()=>rc,getIsHistoryModeEnabled:()=>Sc,getIsSuggestMode:()=>ic,getIsViewMode:()=>nc,getLookups:()=>Md,getMode:()=>Fd,getModifiedEntities:()=>md,getModifiedEntity:()=>zd,getModifiedEntityDefaultProfilePic:()=>Kd,getOperation:()=>Hd,getProfileCancelNeedConfirm:()=>Uc,getProfileHasChanges:()=>Lc,getRelationToAddByViewId:()=>oc,getRelations:()=>Yd,getRelationsHasChanges:()=>bc,getRelationsToEditByViewId:()=>ac,getRelationsViewIds:()=>qd,getSidePanelViews:()=>Wd,getTotalByViewId:()=>Jd,getTree:()=>Tc,getTreeCommands:()=>_c,getTreeEditingConnection:()=>yc,getTreeHasChanges:()=>hc,getTreeRoot:()=>uc,getTreeTotal:()=>pc,getTrees:()=>Vd,getUri:()=>Bd,getUriWithDataTenant:()=>xd,getViewIdsForOpenRelation:()=>sc,getViews:()=>Gd});var De={};r.r(De),r.d(De,{ProfileOperationActions:()=>Vc});var Re={};r.r(Re),r.d(Re,{profileUpdateOperation:()=>Mc});var Oe={};r.r(Oe),r.d(Oe,{actions:()=>Re,constants:()=>De,reducer:()=>cT});var ge={};r.r(ge),r.d(ge,{ProfileViewsActions:()=>TT});var Ie={};r.r(Ie),r.d(Ie,{profileViewsSet:()=>uT});var Ae={};r.r(Ae),r.d(Ae,{actions:()=>Ie,constants:()=>ge,reducer:()=>pT});var fe={};r.r(fe),r.d(fe,{SidePanelViewsActions:()=>_T});var Ne={};r.r(Ne),r.d(Ne,{sidePanelViewsLoaded:()=>yT});var Se={};r.r(Se),r.d(Se,{actions:()=>Ne,constants:()=>fe,reducer:()=>RT});var ve={};r.r(ve),r.d(ve,{actions:()=>p,constants:()=>u,dependentLookups:()=>G,entity:()=>z,errors:()=>Z,history:()=>ee,lookups:()=>ne,mode:()=>ae,modifiedEntities:()=>le,operation:()=>Oe,reducer:()=>OT,relations:()=>ce,sagas:()=>dT,selectors:()=>ye,sidePanelViews:()=>Se,trees:()=>_e,views:()=>Ae});const Pe="DATA_TENANTS_UPDATED";var he=r(17440);const be=e=>t=>({type:e,payload:t}),Le=be(Pe),Ue=null,Ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue,t=arguments.length>1?arguments[1]:void 0;return t.type===Pe?t.payload||Ue:e},me="TENANTS_UPDATED",we=be(me),Ye=null,Ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ye,t=arguments.length>1?arguments[1]:void 0;return t.type===me?t.payload||Ye:e},Me="METADATA_LOADED",ke=e=>{let{tenant:t,metadata:r}=e;return{type:Me,payload:{tenant:t,metadata:r}}},Fe="OPEN_ENTITY",je="NEW_ENTITY_SHOWN",He="ENTITY_DELETION_FINISHED",Ge="OPEN_PERSPECTIVE",We="UI_CONFIG_LOADED",Be="NEW_UI_CONFIG_LOADED",xe="PATHS_SET",ze="LOCALIZATION_LOADED",Ke="ATTRIBUTE_PRESENTATIONS_LOADED",qe="AUTOCLOSE_INTERVAL_LOADED",Xe="SET_PREFER_REACT",Ze="OPEN_CONSOLE_APP",Qe="OPEN_APP_FROM_CHOCOLATE_BAR",Je="NUMBER_FORMAT_UPDATED",$e="OPEN_GRAPH",et="DATE_MASK_UPDATED",tt="DATE_TIME_MASK_UPDATED",rt="OPEN_SEARCH",nt="OPEN_HISTORY_EVENT",it="KEYS_SET",ot="OPEN_PIVOTING_PERSPECTIVE",at="ERROR_SET",Et="SHOW_NOTIFICATION",st="CLOSE_NOTIFICATION";var lt=r(57941);function dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ct(e,t,r[t])}))}return e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tt={},ut=(0,he.pipe)(lt.BBN,lt.j0k),pt=(0,he.map)(lt.j0k),_t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Me:{const{tenant:r,metadata:n}=t.payload;return dt({},e,{[r]:ut(n)})}case ze:return pt(e);default:return e}};let yt;!function(e){e.ADD_ATTRIBUTES="ADD_ATTRIBUTES",e.MODIFY_ATTRIBUTE="MODIFY_ATTRIBUTE",e.REMOVE_ATTRIBUTE="REMOVE_ATTRIBUTE",e.REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES="REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES",e.ADD_NEXT_PAGE_ATTRIBUTE_VALUES="ADD_NEXT_PAGE_ATTRIBUTE_VALUES",e.PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES="PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES",e.ADD_DEFAULT_VALUES="ADD_DEFAULT_VALUES",e.SAVE_PROFILE="SAVE_PROFILE",e.VALIDATE_PROFILE="VALIDATE_PROFILE"}(yt||(yt={}));const Dt=be(yt.ADD_ATTRIBUTES),Rt=be(yt.ADD_DEFAULT_VALUES),Ot=be(yt.MODIFY_ATTRIBUTE),gt=be(yt.REMOVE_ATTRIBUTE),It=be(yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES),At=be(yt.PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES),ft=be(yt.REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES),Nt=be(yt.SAVE_PROFILE),St=be(yt.VALIDATE_PROFILE);let vt;!function(e){e.DEPENDENT_LOOKUPS_STRUCTURE_SET="DEPENDENT_LOOKUPS_STRUCTURE_SET",e.DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED="DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED",e.DEPENDENT_LOOKUPS_EDITORS_BLOCKED="DEPENDENT_LOOKUPS_EDITORS_BLOCKED"}(vt||(vt={}));const Pt=be(vt.DEPENDENT_LOOKUPS_STRUCTURE_SET),ht=be(vt.DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED),bt=be(vt.DEPENDENT_LOOKUPS_EDITORS_BLOCKED),Lt=e=>e.structure,Ut=e=>e.initedTypeUris,Ct=(e,t)=>e.structure[t],mt=(e,t)=>e.editors[t];let wt;function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Vt(e,t,r[t])}))}return e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.MODE_UPDATED="MODE_UPDATED",e.MODE_CANCEL_EDITING="MODE_CANCEL_EDITING",e.MODE_EDITING_CANCELED="MODE_EDITING_CANCELED"}(wt||(wt={}));const Mt={structure:{},editors:{},initedTypeUris:[]},kt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case wt.MODE_UPDATED:{const r=t.payload;return(0,lt.uzs)(r)?Mt:e}case vt.DEPENDENT_LOOKUPS_STRUCTURE_SET:return Yt({},e,{structure:t.payload});case vt.DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED:{const r=t.payload;return Yt({},e,{initedTypeUris:(0,he.uniq)(e.initedTypeUris.concat(r))})}case vt.DEPENDENT_LOOKUPS_EDITORS_BLOCKED:{const{uris:r,isBlocked:n}=t.payload,i=e.editors,o=r.reduce(((e,t)=>Yt({},e,{[t]:{isBlocked:n}})),i);return Yt({},e,{editors:o})}default:return e}};var Ft=r(86661);const jt="SEARCH_RESULTS_SET",Ht="KEYWORD_UPDATED",Gt="UPDATE_STATE",Wt="SAVE_STATE",Bt="ACTIVITY_FILTER_UPDATED",xt="GLOBAL_FILTER_UPDATED",zt="SEARCH_OPTIONS_UPDATED",Kt="SET_SEARCH_OPTIONS_CONFIG",qt="SET_SEARCH_PROVIDER_DATA",Xt="SET_SEARCH_NAVIGATION_DATA",Zt="UPDATE_SEARCH_NAVIGATION_DATA_FIELDS",Qt=be(jt),Jt=be(Ht),$t=be(Gt),er=be(Wt),tr=be(Bt),rr=e=>{let{query:t,savedSearches:r,savedSearchesUris:n,isMuted:i}=e;return{type:xt,payload:{query:t,savedSearches:r,savedSearchesUris:n,isMuted:i}}},nr=be(zt),ir=be(Kt),or=be(qt),ar=be(Xt),Er=be(Zt);var sr=r(97698);const lr=e=>e.searchResults,dr=e=>e.keyword,cr=e=>e.activityFilter,Tr=e=>e.globalFilter,ur=(0,he.pathOr)("",["globalFilter","query"]),pr=(0,he.path)(["globalFilter","savedSearchesUris"]),_r=e=>e.searchOptions,yr=e=>e.searchProviderData,Dr=e=>e.searchNavigationData,Rr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,he.pipe)(_r,(0,he.omit)(t),(0,he.filter)(he.identity),he.keys,(0,he.join)(","))(e)},Or=(0,sr.createSelector)(Rr,cr,ur,((e,t,r)=>({searchOptions:e,activityFilter:t,globalFilter:r}))),gr="searchNavigation";function*Ir(){const e=yield(0,Ft.Ys)(gT.selectors.getSearchNavigationData),t=yield(0,Ft.Ys)(gT.selectors.getSearchProviderData);sessionStorage.setItem(gr,JSON.stringify({searchNavigationData:e,searchProviderData:t}))}function*Ar(){let e;try{e=JSON.parse(sessionStorage.getItem(gr))||{}}catch(t){e={}}const{searchNavigationData:t,searchProviderData:r}=e;t&&r&&(yield(0,Ft.gz)(or(r)),yield(0,Ft.gz)(ar(t)))}const fr=[function*(){yield(0,Ft.Fm)([Xt,Zt,Fe],Ir)},function*(){yield(0,Ft.RE)(Ar)}];function Nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Sr(e,t,r[t])}))}return e}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vr={searchResults:[],keyword:null,searchOptions:{searchByOv:!1,ovOnly:!1},activityFilter:"active",globalFilter:{query:null,savedSearchesUris:[],isMuted:!0},searchProviderData:null,searchNavigationData:null},Pr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case jt:return Nr({},e,{searchResults:t.payload});case Ht:{const r=(0,he.pick)(["value","isRawFilter"],t.payload||{});return Nr({},e,{keyword:(0,he.isEmpty)(r)?null:r})}case Gt:return Nr({},vr,{keyword:(0,he.isNil)(t.payload.keyword)||(0,he.isEmpty)(t.payload.keyword)?null:t.payload.keyword,searchOptions:t.payload.searchOptions||e.searchOptions,activityFilter:e.activityFilter,globalFilter:e.globalFilter,searchNavigationData:e.searchNavigationData,searchProviderData:e.searchProviderData});case Bt:return Nr({},e,{activityFilter:t.payload});case xt:return Nr({},e,{globalFilter:t.payload});case zt:return Nr({},e,{searchOptions:Nr({},e.searchOptions,t.payload)});case Kt:{const r=!!t.payload.showSearchByOv;return Nr({},e,{searchOptions:{searchByOv:r,ovOnly:r}})}case qt:return Nr({},e,{searchProviderData:t.payload});case Xt:return Nr({},e,{searchNavigationData:t.payload});case Zt:return Nr({},e,{searchNavigationData:Nr({},e.searchNavigationData,t.payload)});case Fe:{var r;const n=(0,lt.rSp)(t.payload.uri);return"navigation"===t.payload.source||n===(null===(r=e.searchNavigationData)||void 0===r?void 0:r.uri)?e:Nr({},e,{searchNavigationData:null})}default:return e}},hr=e=>{let{uri:t,viewId:r,source:n=null}=e;return{type:Fe,payload:{uri:t,viewId:r,source:n}}},br=e=>{let{entity:t}=e;return{type:je,payload:{entity:t}}},Lr=be(He),Ur=e=>{let{perspectiveId:t,viewId:r}=e;return{type:Ge,payload:{perspectiveId:t,viewId:r}}},Cr=e=>({type:Et,payload:e}),mr=e=>({type:st,payload:e}),wr=be(xe),Yr=be(We),Vr=be(Be),Mr=be(Ke),kr=be(qe),Fr=be(Xe),jr=be(Je),Hr=(e,t,r)=>({type:Ze,payload:{name:e,path:t,query:r}}),Gr=e=>({type:Qe,payload:e}),Wr=be($e),Br=be(ze),xr=be(et),zr=be(tt),Kr=e=>({type:rt,payload:"searchState"in e?e:{searchState:e}}),qr=e=>{let{entityUri:t,historyEvent:r}=e;return{type:nt,payload:{entityUri:t,historyEvent:r}}},Xr=be(it),Zr=be(ot),Qr=e=>({type:at,payload:e}),Jr=(0,he.path)(["paths","imagePath"]),$r=(0,he.path)(["paths","exportPath"]),en=(0,he.path)(["paths","apiPath"]),tn=(0,he.path)(["paths","uiPath"]),rn=(0,he.path)(["paths","reltioPath"]),nn=(0,he.path)(["paths","dtssPath"]),on=(0,he.path)(["paths","workflowPath"]),an=(0,he.path)(["paths","workflowEnvironmentURL"]),En=(0,he.path)(["paths","collaborationPath"]),sn=(0,he.path)(["paths","imageServicePath"]),ln=(0,he.path)(["paths","dvfPath"]),dn=(0,he.path)(["paths","validationServicePath"]),cn=(0,he.path)(["paths","adminToolsPath"]),Tn=(0,he.path)(["paths","mlDqPath"]),un=(0,he.either)((0,he.path)(["newConfig","properties","attributePresentations"]),(0,he.path)(["attributePresentations"])),pn=e=>e.autoCloseInterval,_n=(0,he.either)((0,he.path)(["config","com.reltio.plugins.entity.EntityRequestSettings","defaultMaxValues"]),(0,he.path)(["newConfig","properties","entity","requestSettings","defaultMaxValues"])),yn=(0,he.path)(["numberFormat"]),Dn=(0,he.path)(["dateMask"]),Rn=(0,he.path)(["notifications"]),On=(0,he.path)(["dateTimeMask"]),gn=["config","com.reltio.plugins.pivoting.PivotingSettings","pivotingAttributes"],In=(0,he.chain)((0,he.prop)("attribute-types")),An=(0,he.ifElse)((0,he.hasPath)(gn),(0,he.path)(gn),(0,he.pipe)((0,he.pathOr)([],["newConfig","pivoting"]),In)),fn=(0,he.either)((0,he.path)(["config","com.reltio.plugins.imageattribute.fieldsorder"]),(0,he.path)(["newConfig","properties","image","attributeFieldsOrder"])),Nn=(0,he.either)((0,he.path)(["config","com.reltio.plugins.ui.LookupAutocomplete"]),(0,he.path)(["newConfig","properties","lookups","autocomplete"])),Sn=(0,he.path)(["keys","googleMapKey"]),vn=(0,he.path)(["keys","idpLicenseKey"]),Pn=["config","com.reltio.plugins.entity.ValidationServiceLevels","levels"],hn=(0,he.ifElse)((0,he.hasPath)(Pn),(0,he.path)(Pn),(0,he.path)(["newConfig","properties","validate","levels"])),bn=(0,he.ifElse)((0,he.hasPath)(["config","com.reltio.plugins.entity.Validation","validateReadMode"]),(0,he.path)(["config","com.reltio.plugins.entity.Validation","validateReadMode"]),(0,he.pathOr)(!0,["newConfig","properties","validate","validateReadMode"])),Ln=(0,he.either)((0,he.path)(["config","com.reltio.plugins.workflow.configuration","enabled"]),(0,he.path)(["newConfig","properties","workflow","enabled"])),Un=(0,he.path)(["error"]),Cn=(0,he.path)(["paths","servicesPath"]),mn=(0,he.path)(["newConfig"]),wn=(0,he.pathOr)(!0,["newConfig","properties","showEntityId"]);function Yn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Vn(e,t,r[t])}))}return e}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Mn={},kn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case xe:return Yn({},e,{paths:t.payload});case We:return Yn({},e,{config:t.payload});case Be:return Yn({},e,{newConfig:t.payload});case Ke:return Yn({},e,{attributePresentations:t.payload});case qe:return Yn({},e,{autoCloseInterval:t.payload});case Je:return Yn({},e,{numberFormat:t.payload});case et:return Yn({},e,{dateMask:t.payload});case tt:return Yn({},e,{dateTimeMask:t.payload});case it:return Yn({},e,{keys:t.payload});case at:return Yn({},e,{error:t.payload});case Et:return Yn({},e,{notifications:[...e.notifications||[],t.payload]});case st:return(0,he.evolve)({notifications:(0,he.reject)((0,he.propEq)("id",t.payload))},e);default:return e}},Fn="USER_UPDATED",jn=be(Fn),Hn=e=>null==e?void 0:e.username,Gn=e=>null==e?void 0:e.roles,Wn=null,Bn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wn,t=arguments.length>1?arguments[1]:void 0;return t.type===Fn?t.payload||Wn:e},xn="TENANT_UPDATED",zn="TENANT_NAME_UPDATED",Kn=be(xn),qn=be(zn),Xn=(0,he.prop)("id"),Zn=(0,he.prop)("name");function Qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Jn(e,t,r[t])}))}return e}function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case xn:return Qn({},e,{id:t.payload});case zn:return Qn({},e,{name:t.payload});default:return e}},ei="ENVIRONMENT_UPDATED",ti=be(ei),ri=(0,he.prop)("id");function ni(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ii(e,t,r[t])}))}return e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oi=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===ei?ni({},e,{id:t.payload}):e},ai=e=>e.dataTenants,Ei=e=>e.tenants,si=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ko(e);return e.metadata&&e.metadata[t]},li=e=>e.tenant,di=e=>e.environment,ci=e=>e.user,Ti=e=>e.ui,ui=e=>e.profile,pi=e=>e.search,_i=e=>Cd(ui(e)),yi=e=>Bd(ui(e)),Di=e=>xd(ui(e)),Ri=(e,t)=>$d(ui(e),t),Oi=(e,t,r)=>Zd(ui(e),t,r),gi=(e,t,r)=>Qd(ui(e),t,r),Ii=(e,t,r)=>Xd(ui(e),t,r),Ai=(e,t)=>ec(ui(e),t),fi=e=>tc(ui(e)),Ni=(e,t,r)=>Jd(ui(e),t,r),Si=e=>Md(ui(e)),vi=e=>wd(ui(e)),Pi=e=>qd(ui(e)),hi=e=>Ac(ui(e)),bi=e=>fc(ui(e)),Li=e=>Nc(ui(e)),Ui=e=>Sc(ui(e)),Ci=e=>vc(ui(e)),mi=(e,t)=>zd(ui(e),t),wi=(e,t)=>Kd(ui(e),t),Yi=e=>md(ui(e)),Vi=(e,t,r)=>{let{uri:n}=r;return lc(ui(e),t,n)},Mi=(e,t,r)=>{let{uri:n}=r;return dc(ui(e),t,n)},ki=(e,t,r)=>cc(ui(e),t,r),Fi=e=>Jr(Ti(e)),ji=e=>en(Ti(e)),Hi=e=>$r(Ti(e)),Gi=e=>tn(Ti(e)),Wi=e=>rn(Ti(e)),Bi=e=>sn(Ti(e)),xi=e=>cn(Ti(e)),zi=e=>un(Ti(e)),Ki=e=>yn(Ti(e)),qi=e=>_n(Ti(e)),Xi=e=>pn(Ti(e)),Zi=e=>Dn(Ti(e)),Qi=e=>On(Ti(e)),Ji=e=>Rn(Ti(e)),$i=e=>An(Ti(e)),eo=e=>fn(Ti(e)),to=e=>Nn(Ti(e)),ro=e=>Sn(Ti(e)),no=e=>vn(Ti(e)),io=e=>hn(Ti(e)),oo=e=>bn(Ti(e)),ao=e=>lr(pi(e)),Eo=e=>dr(pi(e)),so=e=>cr(pi(e)),lo=e=>_r(pi(e)),co=e=>yr(pi(e)),To=e=>Dr(pi(e)),uo=(e,t)=>Or(pi(e),t),po=e=>Rr(pi(e)),_o=e=>Tr(pi(e)),yo=e=>pr(pi(e)),Do=e=>Fd(ui(e)),Ro=e=>rc(ui(e)),Oo=e=>nc(ui(e)),go=e=>ic(ui(e)),Io=(e,t)=>oc(ui(e),t),Ao=(e,t)=>ac(ui(e),t),fo=(e,t)=>Ec(ui(e),t),No=(e,t)=>sc(ui(e),t),So=e=>Jr(Ti(e))||en(Ti(e)),vo=e=>Hn(ci(e)),Po=e=>Gn(ci(e)),ho=e=>Vd(ui(e)),bo=(e,t)=>Tc(ui(e),t),Lo=(e,t)=>uc(ui(e),t),Uo=(e,t)=>pc(ui(e),t),Co=e=>_c(ui(e)),mo=(e,t,r)=>yc(ui(e),t,r),wo=(e,t)=>Dc(ui(e),t),Yo=e=>Hd(ui(e)),Vo=e=>Gd(ui(e)),Mo=e=>Uc(ui(e)),ko=e=>Xn(li(e)),Fo=e=>Zn(li(e)),jo=e=>ri(di(e)),Ho=e=>nn(Ti(e)),Go=e=>on(Ti(e)),Wo=e=>an(Ti(e)),Bo=e=>Ln(Ti(e)),xo=e=>En(Ti(e)),zo=e=>ln(Ti(e)),Ko=e=>dn(Ti(e)),qo=e=>Tn(Ti(e)),Xo=(0,sr.createSelector)(ci,ko,lt.Qp_),Zo=(0,sr.createSelector)(ci,ko,lt.UEY),Qo=(0,sr.createSelector)(ci,ko,lt.Q0T),Jo=(0,sr.createSelector)(ci,ko,lt.sBn),$o=(0,sr.createSelector)(ci,ko,lt.itK),ea=(0,sr.createSelector)(ci,ko,lt.H9$),ta=(0,sr.createSelector)(ci,ko,lt.KPc),ra=(0,sr.createSelector)(ci,ko,lt.zos),na=(0,sr.createSelector)(ci,ko,lt.iuF),ia=(0,sr.createSelector)(ci,ko,lt.Wib),oa=(0,sr.createSelector)(ci,ko,lt.XUh),aa=(0,sr.createSelector)(ci,ko,lt.sKE),Ea=(0,sr.createSelector)(ci,ko,lt.WmG),sa=(0,sr.createSelector)(ci,ko,lt.QKx),la=(0,sr.createSelector)(ci,ko,lt.Oik),da=(0,sr.createSelector)(ci,ko,lt.s0A),ca=(0,sr.createSelector)(ci,ko,lt.o9m),Ta=(0,sr.createSelector)(ci,ko,lt.MCd),ua=(0,sr.createSelector)(ci,ko,lt.fGe),pa=(0,sr.createSelector)(ci,ko,lt.Cz4),_a=(0,sr.createSelector)(ci,ko,lt.dZs),ya=(0,sr.createSelector)(ci,ko,lt.E$L),Da=(0,sr.createSelector)(ci,ko,lt._jk),Ra=(0,sr.createSelector)(ci,ko,lt.z_L),Oa=(0,sr.createSelector)(ci,ko,lt.Lyr),ga=(0,sr.createSelector)(ci,ko,lt.Hn0),Ia=(0,sr.createSelector)(ci,ko,lt.ELQ),Aa=(0,sr.createSelector)(ci,ko,lt.obS),fa=(0,sr.createSelector)(xo,Ui,((e,t)=>!!e&&!t)),Na=(0,sr.createSelector)(Go,Bo,((e,t)=>!!e&&!!t)),Sa=e=>{var t,r;return null!==(t=null===(r=Wd(ui(e)))||void 0===r?void 0:r.includes("com.reltio.plugins.entity.side.WorkflowsView"))&&void 0!==t&&t},va=e=>{var t,r;return null!==(t=null===(r=Wd(ui(e)))||void 0===r?void 0:r.includes("com.reltio.plugins.entity.collaboration.DiscussionsView"))&&void 0!==t&&t},Pa=e=>Rc(ui(e)),ha=(e,t)=>Oc(ui(e),t),ba=e=>gc(ui(e)),La=(e,t)=>Ic(ui(e),t),Ua=e=>Un(Ti(e)),Ca=(e,t)=>{const r=si(e),n=Do(e),i=_i(e),{nextEntry:o,inRelations:a=[],outRelations:E=[]}=t;if(n!==lt.ARY.Editing&&n!==lt.ARY.Suggesting||o)return!1;{const e=(0,lt.Z5t)(n,(0,lt.nt9)(r,i.type)),t=a.concat(E).map((e=>(0,lt.V3K)(r,e.uri||e))).some((0,lt.d89)(n));return e&&t}},ma=(0,sr.createSelector)(_i,Oo,Li,hi,lt.Ob5),wa=(0,sr.createSelector)(_i,Oo,Li,lt.KUV),Ya=e=>Cn(Ti(e)),Va=e=>mn(Ti(e)),Ma=e=>wn(Ti(e));let ka,Fa;!function(e){e.MODIFIED_ENTITY_CREATED="MODIFIED_ENTITY_CREATED",e.MODIFIED_ENTITY_DELETED="MODIFIED_ENTITY_DELETED",e.MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET="MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET",e.MODIFIED_ENTITIES_RESET="MODIFIED_ENTITIES_RESET"}(ka||(ka={})),function(e){e.RELATIONS_LOADED="RELATIONS_LOADED",e.REMOVE_RELATION="REMOVE_RELATION",e.EDIT_RELATION="EDIT_RELATION",e.ADD_RELATION="ADD_RELATION",e.OPEN_RELATION_EDITOR="OPEN_RELATION_EDITOR",e.CLOSE_RELATION_EDITOR="CLOSE_RELATION_EDITOR",e.SET_RELATION_TYPE="SET_RELATION_TYPE",e.SET_RELATION_ENTITY="SET_RELATION_ENTITY",e.IGNORE_RELATION="IGNORE_RELATION",e.SECOND_LEVEL_RELATIONS_LOADED="SECOND_LEVEL_RELATIONS_LOADED"}(Fa||(Fa={}));var ja=r(51095),Ha=r.n(ja);const Ga=e=>[e,"relationToAdd"],Wa=e=>[e,"relationsToEdit"],Ba=(e,t)=>e.find((0,he.pipe)(xa,(0,he.equals)(t))),xa=(0,he.path)((0,lt.y6v)()),za=(0,he.path)((0,lt.Qrb)()),Ka=(0,he.path)((0,lt.DiQ)()),qa=(0,he.path)((0,lt.avf)()),Xa=(0,he.path)((0,lt.cfX)()),Za=(e,t)=>(0,he.path)([t,"connections"],e),Qa=(e,t,r)=>r?(0,he.pipe)((0,he.path)([t,"connections"]),(0,he.find)((e=>{let{entity:t}=e;return t.entityUri===r})),(0,he.pathOr)(0,["total"]))(e):(0,he.pathOr)(0,[t,"total"],e),Ja=(e,t)=>(0,he.path)([t,"drafts"],e),$a=(e,t)=>(0,he.path)(Ga(t),e),eE=(e,t)=>(0,he.pathOr)([],Wa(t),e),tE=(e,t)=>(0,he.concat)(eE(e,t),[$a(e,t)]),rE=(e,t)=>(0,he.pipe)((0,he.when)((0,he.always)(t),(0,he.pick)(t)),he.values,(0,he.map)((0,he.props)(["relationToAdd","relationsToEdit"])),he.flatten,(0,he.reject)(he.isNil))(e),nE=(e,t)=>Object.keys(e).filter((r=>{const n=tE(e,r);return!!Ba(n,t)})),iE=(e,t,r)=>{const n=(0,he.pipe)((0,he.pathOr)([],[t,"drafts","addedConnections"]),(0,he.filter)((0,he.pipe)(xa,lt.ZiX)),(0,he.when)((0,he.always)(r),(0,he.filter)((0,he.propEq)("parentEntityUri",r))),he.length)(e);return Qa(e,t,r)+n},oE=Ha()(Za,Ja,((e,t,r)=>r),(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const{addedConnections:i=[],editedConnections:o=[],removedUris:a=[],ignoredRelationData:E=[]}=r,s=(0,he.pipe)(xa,he.equals,(0,he.find)(he.__,a)),l=E.map((e=>e.relationUri)),d=(0,he.pipe)(xa,he.equals,(0,he.find)(he.__,l)),c=e=>(0,he.pipe)((0,he.eqBy)(xa),(0,he.find)(he.__,o),(0,he.unless)(he.isNil,lt.EyD))(e),T=n?(null===(e=t.find((e=>e.entity.entityUri===n)))||void 0===e?void 0:e.connections)||[]:t,u=i.filter((0,he.propEq)("parentEntityUri",n));return u.map(lt.xsF).concat(T.filter((e=>!u.some((0,he.pipe)(xa,(0,he.equals)(xa(e)))))).map((0,he.pipe)((0,he.either)(c,he.identity),(0,he.when)(s,lt.Lxg),(0,he.when)(d,lt.FQA))))}))(((e,t,r)=>t+r)),aE=(e,t,r)=>{const n=tE(e,t);return Ba(n,r)},EE=(e,t,r)=>{const n=aE(e,t,r);return za(n)},sE=(e,t)=>{const r=(0,he.pipe)($a,(0,he.ifElse)(lt.u1G,(0,he.omit)(["isNew"]),(0,he.always)(null)))(e,t),{removedUris:n=[],addedConnections:i=[],editedConnections:o=[],ignoredRelationData:a=[]}=Ja(e,t)||{},E=eE(e,t),s=(0,he.anyPass)([lt.xr3,(0,he.complement)(lt.NWi)]),l=(0,he.pipe)((0,he.filter)(s),(0,he.map)(lt.zhn))(E),d=l.map(xa),c=(0,he.pipe)((0,he.reject)((0,he.pipe)(xa,(0,he.includes)(he.__,d))),(0,he.concat)(l))(o),T=(0,he.pipe)((0,he.filter)(lt.xvW),(0,he.map)(lt.zhn),(0,he.when)((0,he.always)((0,he.complement)(lt.O27)(r)),(0,he.append)(r)))(E),u=T.map(xa);return{removedUris:n,addedConnections:(0,he.pipe)((0,he.reject)((0,he.pipe)(xa,(0,he.includes)(he.__,u))),(0,he.concat)(T))(i),editedConnections:c,ignoredRelationData:a}},lE=e=>(0,he.keys)(e).reduce(((t,r)=>{const{addedConnections:n,editedConnections:i}=sE(e,r);return(0,he.pipe)(he.concat,(0,he.map)(qa),(0,he.filter)(lt.ZiX),(0,he.concat)(t))(n,i)}),[]);function*dE(e){const t=e.payload,r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(Pa),i=[t.type],o=yield(0,Ft.Ys)(ba),a=(0,lt.idW)({structure:n,metadata:r,typeUris:i,alreadyAddedTypeUris:o}),E=(0,lt.z$M)({structure:a,metadata:r,entityOrRelation:t});yield(0,Ft.gz)(Pt(E)),yield(0,Ft.gz)(ht(i))}function*cE(e,t){const r=(0,lt.u5q)(e);return(0,lt.bC9)(r)?yield(0,Ft.Ys)(gi,t,r):yield(0,Ft.Ys)(mi,r)}function*TE(e){const{attributeType:t,metadata:r,parentUri:n,viewId:i}=e.payload,o=yield(0,Ft.RE)(cE,n,i),a=yield(0,Ft.Ys)(Pa);if(o)if(t){const e=(0,lt.XtP)(r,o,t.uri).filter((e=>{let{uri:t}=e;return t.startsWith(n)}))[0],i=(0,lt.asT)({structure:a,attributeValue:e});yield(0,Ft.gz)(Pt(i))}else{const e=[o.type],t=yield(0,Ft.Ys)(ba),n=(0,lt.idW)({structure:a,metadata:r,typeUris:e,alreadyAddedTypeUris:t}),i=(0,lt.z$M)({structure:n,metadata:r,entityOrRelation:o});yield(0,Ft.gz)(Pt(i)),yield(0,Ft.gz)(ht(e))}}function*uE(e){const t=e.payload,r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(Pa);let i=n;for(const e of t){const{attributeType:t,parentUri:o,viewId:a}=e;if((0,lt.E8K)(n,t.uri)){const e=yield(0,Ft.RE)(cE,o,a);e&&(i=(0,lt.sx)({structure:i,entityOrRelation:e,attrTypeUri:t.uri,metadata:r}))}}i!==n&&(yield(0,Ft.gz)(Pt(i)))}function*pE(e){const{attributeType:t,uri:r,viewId:n,silent:i}=e.payload,{value:o,lookupCode:a}=e.payload.value,E=a||o,s=yield(0,Ft.Ys)(Pa);if((yield(0,Ft.RE)(cE,r,n))&&(0,lt.E8K)(s,t.uri)){i||(yield(0,Ft.rM)(OE,s,{type:t.uri,uri:r,lookupValue:E}));const e=(0,lt.asT)({structure:s,attributeValue:{type:t.uri,value:E,uri:r}});yield(0,Ft.gz)(Pt(e))}}function*_E(e,t){const r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(mi,t),i=yield(0,Ft.Ys)(Yi),o=(0,lt.SAs)(i,n);let a=e;for(const e of[n,...o])a=(0,lt.z$M)({structure:a,metadata:r,entityOrRelation:e});return a}function*yE(e,t){const r=yield(0,Ft.Ys)(mi,t),n=yield(0,Ft.Ys)(Yi),i=(0,lt.SAs)(n,r).map((0,he.prop)("uri"));let o=e;for(const e of[t,...i])o=(0,lt.eWN)({structure:o,uri:e});return o}function*DE(e){const{attributeType:t,uri:r,attributeValue:n,viewId:i}=e.payload,o=yield(0,Ft.Ys)(Pa),a=(0,lt.E8K)(o,t.uri);if(yield(0,Ft.RE)(cE,r,i)){a&&(yield(0,Ft.rM)(OE,o,{type:t.uri,uri:r,lookupValue:""}));let e=a||(0,lt.YkM)(t)?(0,lt.eWN)({structure:o,uri:r}):o;if((0,lt.YkG)(t)&&n){const t=(0,lt.bwT)(n);(0,lt.ZiX)(t)&&(e=yield(0,Ft.RE)(yE,e,t))}e!==o&&(yield(0,Ft.gz)(Pt(e)))}}function*RE(e){const t=yield(0,Ft.Ys)(Pa),r=yield(0,Ft.RE)(yE,t,e.payload);yield(0,Ft.gz)(Pt(r))}function*OE(e,t){const r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(Yi),i=yield(0,Ft.Ys)(fo),o=yield(0,Ft.Ys)(yi),a=yield(0,Ft.Ys)(to),E=(0,lt.Sj8)({structure:e,typeUri:t.type,valueUri:t.uri,modifiedEntities:n,connections:i,entityUri:o,config:a});if(E.length>0){const e=E.map((e=>e.uri));yield(0,Ft.gz)(bt({uris:e,isBlocked:!0}));try{const e=yield(0,Ft.RE)(lt.tGK,E,t);for(const n of e){const{type:e,uri:i,lookupValue:o,displayName:a}=n,E=(yield(0,Ft.Ys)(No,(0,lt.u5q)(i)))[0],s=yield(0,Ft.RE)(cE,i,E);s&&(0,lt.dLR)(s,i)&&i!==t.uri&&(yield(0,Ft.gz)(Ot({attributeType:(0,lt.zeJ)(r,e),uri:i,value:{value:a||"",lookupCode:o||""},silent:!0,viewId:E})))}}catch(e){console.error(e)}yield(0,Ft.gz)(bt({uris:e,isBlocked:!1}))}}function*gE(e){const t=e.payload.connection,r=qa(t);if((0,lt.ZiX)(r)&&(yield(0,Ft.Ys)(mi,r))){yield(0,Ft.qn)(vt.DEPENDENT_LOOKUPS_STRUCTURE_SET);const e=yield(0,Ft.Ys)(Pa),t=yield(0,Ft.RE)(_E,e,r);yield(0,Ft.gz)(Pt(t))}}function*IE(e){const t=e.payload.relationUri,r=yield(0,Ft.Ys)(Pa),n=(0,lt.eWN)({structure:r,uri:t});yield(0,Ft.gz)(Pt(n))}function*AE(e){const t=e.payload.id,r=e.payload.relationUri;if(0===(yield(0,Ft.Ys)(No,r)).length){const e=yield(0,Ft.Ys)(Pa);let n=(0,lt.eWN)({structure:e,uri:r});const i=yield(0,Ft.Ys)(Ii,t),o=Ba(i,r),a=qa(o);(0,lt.ZiX)(a)&&(n=yield(0,Ft.RE)(yE,n,a)),yield(0,Ft.gz)(Pt(n))}}const fE=[function*(){yield(0,Ft.ib)(ka.MODIFIED_ENTITY_CREATED,dE)},function*(){yield(0,Ft.ib)(ka.MODIFIED_ENTITY_DELETED,RE)},function*(){yield(0,Ft.ib)(yt.ADD_DEFAULT_VALUES,TE)},function*(){yield(0,Ft.ib)(yt.ADD_ATTRIBUTES,uE)},function*(){yield(0,Ft.ib)(yt.MODIFY_ATTRIBUTE,pE)},function*(){yield(0,Ft.ib)(yt.REMOVE_ATTRIBUTE,DE)},function*(){yield(0,Ft.ib)(Fa.OPEN_RELATION_EDITOR,gE)},function*(){yield(0,Ft.ib)(Fa.SET_RELATION_TYPE,IE)},function*(){yield(0,Ft.ib)(Fa.CLOSE_RELATION_EDITOR,AE)}];let NE;!function(e){e.ENTITY_LOADED="ENTITY_LOADED",e.DEFAULT_PROFILE_PIC_SET="DEFAULT_PROFILE_PIC_SET",e.LOAD_ENTITY="LOAD_ENTITY",e.ENTITY_CREATION_REQUESTED="ENTITY_CREATION_REQUESTED",e.ENTITY_REMOVE_REQUESTED="ENTITY_REMOVE_REQUESTED",e.CLEAR_ENTITY="CLEAR_ENTITY",e.CLONE_ENTITY="CLONE_ENTITY"}(NE||(NE={}));const SE=be(NE.ENTITY_LOADED),vE=be(NE.DEFAULT_PROFILE_PIC_SET),PE=be(NE.LOAD_ENTITY),hE=be(NE.ENTITY_CREATION_REQUESTED),bE=be(NE.ENTITY_REMOVE_REQUESTED),LE=be(NE.CLONE_ENTITY),UE=be(NE.CLEAR_ENTITY),CE=e=>null==e?void 0:e.uri,mE=e=>null==e?void 0:e.dataTenant,wE=(0,sr.createSelector)(mE,CE,((e,t)=>(0,lt.wwR)({dataTenant:e,uri:t})));function YE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){VE(e,t,r[t])}))}return e}function VE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ME={},kE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ME,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case NE.ENTITY_LOADED:return t.payload;case NE.DEFAULT_PROFILE_PIC_SET:return"object"==typeof t.payload&&null!==t.payload?YE({},e,{defaultProfilePic:t.payload.uri,defaultProfilePicValue:t.payload}):e;case yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES:{const{parentUri:r,attributeTypeName:n,attributeTypeUri:i,values:o}=t.payload,a=(0,lt.xy8)(i);if(r===e.uri){const t=(0,he.lensPath)([a,n]);return(0,he.over)(t,(0,he.pipe)((0,he.defaultTo)([]),(0,he.concat)(he.__,o)),e)}return e}case NE.CLEAR_ENTITY:return ME;default:return e}};let FE;!function(e){e.ERRORS_SET="ERRORS_SET",e.REMOVE_ERROR="REMOVE_ERROR",e.ERROR_DEACTIVATED="ERROR_DEACTIVATED"}(FE||(FE={}));const jE=(e,t,r)=>(0,he.pipe)((0,he.filter)((0,he.allPass)([(0,he.propEq)("parentUri",t),(0,he.propEq)("attributeTypeUri",r),(0,he.pipe)((0,he.prop)("uri"),he.isEmpty)])),(0,he.map)((0,he.prop)("message")),(0,he.join)(". "))(e),HE=(e,t,r)=>(0,he.filter)((0,he.allPass)([(0,he.propEq)("parentUri",t),(0,he.propEq)("attributeTypeUri",r),(0,he.pipe)((0,he.prop)("uri"),he.isEmpty,he.not)]))(e),GE=[],WE=Ha()(he.identity,((e,t)=>{let{parentUri:r}=t;return r}),((e,t)=>{let{attributeType:r}=t;return r}),((e,t,r)=>{const n=(0,lt.UUb)(t,r,e);return 0===n.length?GE:n}))(((e,t)=>{let{parentUri:r,attributeType:n}=t;return`${r}-${n.uri}`})),BE=(e,t,r)=>WE(e,{parentUri:t,attributeType:r}),xE=be(FE.ERROR_DEACTIVATED),zE=be(FE.ERRORS_SET);function KE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){qE(e,t,r[t])}))}return e}function qE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const XE=[],ZE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:XE,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case FE.ERRORS_SET:return t.payload;case FE.ERROR_DEACTIVATED:{const r=t.payload,n=e.findIndex((e=>(0,lt.iFp)(e)===r)),i=(0,he.lensPath)([n]);return(0,he.over)(i,(0,he.assoc)("deactivated",!0),e)}case yt.REMOVE_ATTRIBUTE:{const{uri:r}=t.payload;return e.map((e=>e.uri===r||(0,lt.sOy)(e.parentUri,r)?KE({},e,{deactivated:!0}):e))}case wt.MODE_UPDATED:return t.payload===lt.ARY.Viewing?XE:e;case NE.ENTITY_LOADED:return XE;default:return e}};let QE;!function(e){e.HISTORY_DIFF_SET="HISTORY_DIFF_SET",e.HISTORY_DIFF_CLEARED="HISTORY_DIFF_CLEARED",e.HISTORY_EVENT_SET="HISTORY_EVENT_SET",e.HISTORY_EVENT_CLEARED="HISTORY_EVENT_CLEARED",e.HISTORY_SLICE_SET="HISTORY_SLICE_SET",e.HISTORY_MODE_SET="HISTORY_MODE_SET"}(QE||(QE={}));const JE=be(QE.HISTORY_DIFF_SET),$E=be(QE.HISTORY_DIFF_CLEARED),es=be(QE.HISTORY_EVENT_SET),ts=be(QE.HISTORY_EVENT_CLEARED),rs=be(QE.HISTORY_SLICE_SET),ns=be(QE.HISTORY_MODE_SET),is=e=>e.diff,os=e=>e.event,as=e=>e.slice,Es=e=>!(0,lt.O27)(e.slice),ss=e=>e.mode;let ls;function ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){cs(e,t,r[t])}))}return e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.Current="Current",e.Previous="Previous"}(ls||(ls={}));const Ts={mode:ls.Previous},us=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ts,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case QE.HISTORY_DIFF_SET:return ds({},e,{diff:t.payload});case QE.HISTORY_DIFF_CLEARED:return ds({},e,{diff:Ts.diff});case QE.HISTORY_EVENT_SET:return ds({},e,{event:t.payload});case NE.ENTITY_LOADED:case Fe:case QE.HISTORY_EVENT_CLEARED:return ds({},Ts,{mode:e.mode});case QE.HISTORY_SLICE_SET:return ds({},e,{slice:t.payload});case QE.HISTORY_MODE_SET:return ds({},e,{mode:t.payload});default:return e}},ps="LOOKUPS_LOADED",_s="LOOKUPS_FOR_TYPE_RESOLVED",ys="LOOKUPS_LIST_RESOLVED",Ds=be(ps),Rs=be(_s),Os=be(ys);function gs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Is(e,t,r[t])}))}return e}function Is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const As={},fs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:As,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ps:return t.payload;case _s:{const{type:r,values:n}=t.payload;return gs({},e,{[r]:gs({},e[r],n)})}case ys:return t.payload.reduce(((e,t)=>Object.keys(t).reduce(((e,r)=>gs({},e,{[r]:gs({},e[r],t[r])})),e)),e);case"UI_RESET":return gs({},As);default:return e}},Ns=be(wt.MODE_UPDATED),Ss=be(wt.MODE_CANCEL_EDITING),vs=be(wt.MODE_EDITING_CANCELED),Ps=lt.fnZ,hs=lt.whI,bs=lt.uzs,Ls=lt.KIu,Us=lt.ARY.Viewing,Cs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Us,t=arguments.length>1?arguments[1]:void 0;return t.type===wt.MODE_UPDATED?t.payload:e},ms=be(ka.MODIFIED_ENTITY_CREATED),ws=be(ka.MODIFIED_ENTITY_DELETED),Ys=be(ka.MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET),Vs=be(ka.MODIFIED_ENTITIES_RESET),Ms=(e,t)=>t&&e[t],ks=(e,t)=>t&&e[t]&&e[t].defaultProfilePic;function Fs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const js=(0,he.curry)(((e,t)=>{let{attributeType:r,subAttributes:n,metadata:i,mode:o}=e;const a=(0,lt.XtP)(i,t,r.uri)[0],E=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Fs(e,t,r[t])}))}return e}({},a,{value:(0,lt.GPx)({attributeTypes:n,parentUri:a.uri,mode:o})});return(0,lt.ww$)({entity:t,attributeType:r,uri:a.uri,value:E})}));function Hs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Gs(e,t,r[t])}))}return e}function Gs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ws={},Bs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ws,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ka.MODIFIED_ENTITY_CREATED:{const r=t.payload;return Hs({},e,{[r.uri]:r})}case ka.MODIFIED_ENTITY_DELETED:{const r=t.payload;return(0,he.omit)([r],e)}case ka.MODIFIED_ENTITIES_RESET:return Ws;case wt.MODE_UPDATED:return t.payload===lt.ARY.Viewing?Ws:e;case ka.MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET:{const{entityUri:r,value:n}=t.payload;return r?Hs({},e,{[r]:Hs({},e[r],{defaultProfilePic:n.uri,defaultProfilePicValue:n})}):e}case yt.ADD_ATTRIBUTES:return t.payload.reduce(((e,t)=>{const{attributeType:r,parentUri:n,index:i}=t,o=(0,lt.u5q)(n);if((0,lt.WgC)(o)){const t=e[o];return(0,lt.xOX)(r)?Hs({},e,{[o]:(0,lt.Wm5)({entity:t,attributeType:r})}):Hs({},e,{[o]:(0,lt.tPT)({entity:t,attributeType:r,parentUri:n,index:i})})}return e}),e);case yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES:{const{parentUri:r,attributeTypeName:n,attributeTypeUri:i,values:o}=t.payload,a=(0,lt.xy8)(i);if((0,lt.WgC)(r)&&r in e){const t=(0,he.lensPath)([r,a,n]);return(0,he.over)(t,(0,he.pipe)((0,he.defaultTo)([]),(0,he.concat)(he.__,o)),e)}return e}case yt.MODIFY_ATTRIBUTE:{const{attributeType:r,uri:n,value:i}=t.payload,o=(0,lt.u5q)(n);if((0,lt.WgC)(o)){const t=e[o];return(0,lt.xOX)(r)?Hs({},e,{[o]:(0,lt.hxF)({entity:t,attributeType:r,value:i})}):Hs({},e,{[o]:(0,lt.ww$)({entity:t,attributeType:r,uri:n,value:i})})}return e}case yt.REMOVE_ATTRIBUTE:{const{attributeType:r,uri:n}=t.payload,i=(0,lt.u5q)(n);if((0,lt.WgC)(n)){const t=e[i];return(0,lt.xOX)(r)?Hs({},e,{[i]:(0,lt.Ki6)({entity:t,attributeType:r})}):Hs({},e,{[i]:(0,lt.d$I)({entity:t,attributeType:r,uri:n})})}return e}case yt.ADD_DEFAULT_VALUES:{const{attributeType:r,parentUri:n,metadata:i,mode:o}=t.payload,a=(0,lt.u5q)(n);if((0,lt.WgC)(a)){const t=(0,he.ifElse)((0,he.always)((0,lt.QZu)(r)),he.identity,lt.tzW)((0,lt.EUG)(i,r));return(0,he.over)((0,he.lensProp)(a),js({attributeType:r,subAttributes:t,metadata:i,mode:o}),e)}return e}default:return e}};function xs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){zs(e,t,r[t])}))}return e}function zs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function*Ks(e){const{values:t,parentUri:r,attributeTypeUri:n,attributeTypeName:i}=e.payload;let o=t;const a=yield(0,Ft.Ys)(_i);if(r===a.uri){const e=(0,lt.xy8)(n),r=(0,he.pipe)((0,he.pathOr)([],[e,i]),(0,he.map)((0,he.prop)("uri")))(a),E=(0,he.intersection)(r,t.map((0,he.prop)("uri")));o=t.filter((e=>!E.includes(e.uri)))}o.length&&(yield(0,Ft.gz)(It(xs({},e.payload,{values:o}))))}function*qs(){return{apiPath:yield(0,Ft.Ys)(ji),tenant:yield(0,Ft.Ys)(ko)}}function*Xs(e){const{attributeTypeName:t,attributeTypeUri:r}=e.payload,n=yield(0,Ft.RE)(qs);try{const i=yield(0,Ft.RE)(lt.KbL,xs({},e.payload,n)),o=(0,lt.xy8)(r),a=(0,he.pathOr)([],[o,t],i);yield(0,Ft.gz)(At(xs({},e.payload,{values:a})))}catch(e){}}const Zs=[function*(){yield(0,Ft.ib)(yt.REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES,Xs)},function*(){yield(0,Ft.ib)(yt.PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES,Ks)}],Qs=be(Fa.RELATIONS_LOADED),Js=be(Fa.SECOND_LEVEL_RELATIONS_LOADED),$s=(0,he.curry)(((e,t)=>({type:Fa.REMOVE_RELATION,payload:{id:e,relationUri:t}}))),el=(0,he.curry)(((e,t)=>({type:Fa.IGNORE_RELATION,payload:{id:e,ignoredRelationData:t}}))),tl=(0,he.curry)(((e,t)=>({type:Fa.ADD_RELATION,payload:{id:e,connection:t}}))),rl=(0,he.curry)(((e,t)=>({type:Fa.EDIT_RELATION,payload:{id:e,connection:t}}))),nl=(0,he.curry)(((e,t)=>({type:Fa.OPEN_RELATION_EDITOR,payload:{id:e,connection:t}}))),il=(0,he.curry)(((e,t)=>({type:Fa.CLOSE_RELATION_EDITOR,payload:{id:e,relationUri:t}}))),ol=(0,he.curry)(((e,t,r)=>({type:Fa.SET_RELATION_TYPE,payload:{id:e,relationUri:t,relationType:r}}))),al=(0,he.curry)(((e,t,r)=>({type:Fa.SET_RELATION_ENTITY,payload:{id:e,relationUri:t,entityInfo:r}})));function El(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){sl(e,t,r[t])}))}return e}function sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ll={},dl={removedUris:[],addedConnections:[],editedConnections:[],ignoredRelationData:[]},cl=(e,t,r)=>{if((0,he.pathEq)([...Ga(e),"relation","relationUri"],t,r))return Ga(e);{const n=((0,he.path)(Wa(e),r)||[]).findIndex((0,he.pathEq)(["relation","relationUri"],t));return n>=0?[...Wa(e),n]:null}},Tl=(e,t,r)=>{const n=cl(e,t,r);return n?(0,he.lensPath)([...n,"relation"]):null},ul=(0,he.pipe)(Tl,(e=>(0,he.compose)(e,(0,he.lensProp)("object")))),pl=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ll,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Fa.RELATIONS_LOADED:{const{id:r,connections:n=[],total:i}=t.payload;return(0,he.pipe)((0,he.assocPath)([r,"connections"],n),(0,he.assocPath)([r,"total"],i))(e)}case Fa.SECOND_LEVEL_RELATIONS_LOADED:{const{id:r,connections:n,parentEntityUri:i,total:o}=t.payload,a=(0,he.path)([r,"connections"],e).map((e=>{const{entityUri:t}=e.entity;return t===i?El({},e,{total:o,connections:n.map((e=>El({},e,{parentEntityUri:i})))}):e}));return(0,he.assocPath)([r,"connections"],a,e)}case wt.MODE_UPDATED:{const r=t.payload;return(0,he.map)(bs(r)?(0,he.omit)(["drafts","relationsToEdit","relationToAdd"]):(0,he.assoc)("drafts",dl),e)}case Fa.REMOVE_RELATION:{const{id:r,relationUri:n}=t.payload,i=(0,he.pipe)(xa,(0,he.equals)(n)),o=(0,he.path)([r,"connections"],e),a=!((0,lt.ZiX)(n)||null!=o&&o.some((e=>e.suggested&&e.relation.relationUri===n)));return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({removedUris:a?(0,he.append)(n):he.identity,addedConnections:(0,he.reject)(i)})}},e)}case Fa.IGNORE_RELATION:{const{id:r,ignoredRelationData:n}=t.payload;return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({ignoredRelationData:(0,he.append)(n)})}},e)}case Fa.ADD_RELATION:{const{id:r,connection:n}=t.payload,i=(0,he.omit)(["isNew"],n);return(0,he.evolve)({[r]:(0,he.pipe)((0,he.when)((0,he.propSatisfies)(he.isNil,"drafts"),(0,he.assocPath)(["drafts"],dl)),(0,he.evolve)({drafts:{addedConnections:(0,he.prepend)(i)}}))},e)}case Fa.EDIT_RELATION:{const{id:r,connection:n}=t.payload,i=(0,he.eqBy)(xa,n);if((0,lt.ZiX)(xa(n))){const t=e=>{const t=e.findIndex(i);return t>=0?(0,he.update)(t,n,e):e};return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({addedConnections:t})}},e)}{const t=e=>{const t=e.findIndex(i);return t>=0?(0,he.update)(t,n,e):[...e,n]};return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({editedConnections:t})}},e)}}case Fa.OPEN_RELATION_EDITOR:{const{id:r,connection:n}=t.payload;if(n.isNew){const t=Ga(r);return(0,he.path)(t,e)?e:(0,he.assocPath)(t,n,e)}{const t=(0,he.lensPath)(Wa(r)),i=(0,he.eqBy)((0,he.path)(["relation","relationUri"]),n);return(0,he.over)(t,(0,he.pipe)((0,he.defaultTo)([]),(0,he.unless)((0,he.find)(i),(0,he.append)(n))),e)}}case Fa.CLOSE_RELATION_EDITOR:{const{id:r,relationUri:n}=t.payload,i=(0,he.pathEq)(["relation","relationUri"],n);return(0,he.evolve)({[r]:{relationToAdd:(0,he.when)(i,(0,he.always)(null)),relationsToEdit:(0,he.reject)(i)}},e)}case Fa.SET_RELATION_TYPE:{const{id:r,relationUri:n,relationType:i}=t.payload,o=cl(r,n,e);if(o){const t=[...o,"relation"],r=(0,he.lensPath)(t);return(0,he.over)(r,(0,lt.ewt)(i),e)}return e}case yt.ADD_ATTRIBUTES:return t.payload.reduce(((e,t)=>{const{attributeType:r,parentUri:n,index:i,viewId:o}=t,a=(0,lt.u5q)(n),E=Tl(o,a,e);if(E&&(0,lt.bC9)(a)){if((0,lt.j2U)(r)){const t=(0,he.view)(E,e),n=(0,lt.Wm5)({entity:t,attributeType:r});return(0,he.set)(E,n,e)}{const t=ul(o,a,e),E=(0,he.view)(t,e),s=(0,lt.tPT)({entity:E,attributeType:r,parentUri:n,index:i});return(0,he.set)(t,s,e)}}return e}),e);case yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES:{const{parentUri:r,attributeTypeName:n,values:i,viewId:o}=t.payload;if(!(0,lt.bC9)(r))return e;const a=(0,lt.u5q)(r),E=cl(o,a,e),s=(0,he.lensPath)([...E,"relation","object","attributes",n]);return(0,he.over)(s,(0,he.pipe)((0,he.defaultTo)([]),(0,he.append)(i)),e)}case yt.MODIFY_ATTRIBUTE:{const{attributeType:r,viewId:n,uri:i,value:o}=t.payload,a=(0,lt.u5q)(i),E=Tl(n,a,e);if(E&&(0,lt.bC9)(a)){if((0,lt.j2U)(r)){const t=(0,he.view)(E,e),n=(0,lt.hxF)({entity:t,attributeType:r,value:o});return(0,he.set)(E,n,e)}{const t=ul(n,a,e),E=(0,he.view)(t,e),s=(0,lt.ww$)({entity:E,attributeType:r,uri:i,value:o});return(0,he.set)(t,s,e)}}return e}case yt.REMOVE_ATTRIBUTE:{const{attributeType:r,uri:n,viewId:i}=t.payload,o=(0,lt.u5q)(n),a=Tl(i,o,e);if(a&&(0,lt.bC9)(o)){if((0,lt.j2U)(r)){const t=(0,he.view)(a,e),n=(0,lt.Ki6)({entity:t,attributeType:r});return(0,he.set)(a,n,e)}{const t=ul(i,o,e),a=(0,he.view)(t,e),E=(0,lt.d$I)({entity:a,attributeType:r,uri:n});return(0,he.set)(t,E,e)}}return e}case Fa.SET_RELATION_ENTITY:{const{id:r,relationUri:n,entityInfo:i}=t.payload,o=cl(r,n,e);if(o){const t=[...o,"entity"],r=(0,he.lensPath)(t),{uri:n,label:a,type:E}=i,s=(0,he.isEmpty)(i)?{}:{entityUri:n,entityLabel:a,entityType:E,object:{uri:n,label:a,type:E}};return(0,he.set)(r,s,e)}return e}case yt.ADD_DEFAULT_VALUES:{const{viewId:r,attributeType:n,parentUri:i,metadata:o,mode:a}=t.payload,E=(0,lt.u5q)(i);if((0,lt.bC9)(E)){const t=cl(r,E,e);if(t){if(n){const r=[...t,"relation","object"],i=(0,lt.EUG)(o,n);return(0,he.over)((0,he.lensPath)(r),js({attributeType:n,subAttributes:i,metadata:o,mode:a}),e)}{const r=[...t,"relation","object","attributes"],n=[...t,"relation","object","type"],E=(0,he.view)((0,he.lensPath)(n),e),{attributes:s=[]}=(0,lt.V3K)(o,E);return(0,he.over)((0,he.lensPath)(r),(0,lt.X0$)({metadata:o,mode:a,attributeTypes:s,parentUri:i}),e)}}return e}return e}default:return e}};let _l;!function(e){e.TREES_RESET_INITIAL_TREES="TREES_RESET_INITIAL_TREES",e.TREES_RESTORE_FROM_INITIAL_TREES="TREES_RESTORE_FROM_INITIAL_TREES",e.TREES_STATE_RESTORED="TREES_STATE_RESTORED",e.TREES_STATE_SAVED="TREES_STATE_SAVED",e.TREE_ACTIVENESS_DATE_CHANGED="TREE_ACTIVENESS_DATE_CHANGED",e.TREE_CHANGED="TREE_CHANGED",e.TREE_CHILDREN_LOADED="TREE_CHILDREN_LOADED",e.TREE_CHILDREN_LOADING="TREE_CHILDREN_LOADING",e.TREE_COMMANDS_CLEARED="TREE_COMMANDS_CLEARED",e.TREE_CURRENT_ENTITY_SHOWN="TREE_CURRENT_ENTITY_SHOWN",e.TREE_ENTITIES_MAPPING_LOADED="TREE_ENTITIES_MAPPING_LOADED",e.TREE_LOADED="TREE_LOADED",e.TREE_LOADED_WITH_ERROR="TREE_LOADED_WITH_ERROR",e.TREE_LOADING="TREE_LOADING",e.TREE_NODE_CREATED="TREE_NODE_CREATED",e.TREE_NODE_EDITED="TREE_NODE_EDITED",e.TREE_NODE_EDITING_APPLIED="TREE_NODE_EDITING_APPLIED",e.TREE_NODE_EDITING_CANCELED="TREE_NODE_EDITING_CANCELED",e.TREE_NODE_EDITING_STARTED="TREE_NODE_EDITING_STARTED",e.TREE_NODE_ENTITY_CHANGED="TREE_NODE_ENTITY_CHANGED",e.TREE_NODE_EXPANDED="TREE_NODE_EXPANDED",e.TREE_NODE_NEW_CHILD_EDITING_APPLIED="TREE_NODE_NEW_CHILD_EDITING_APPLIED",e.TREE_NODE_NEW_CHILD_EDITING_CANCELED="TREE_NODE_NEW_CHILD_EDITING_CANCELED",e.TREE_NODE_NEW_CHILD_EDITING_STARTED="TREE_NODE_NEW_CHILD_EDITING_STARTED",e.TREE_NODE_NEW_PARENT_EDITING_APPLIED="TREE_NODE_NEW_PARENT_EDITING_APPLIED",e.TREE_NODE_NEW_PARENT_EDITING_CANCELED="TREE_NODE_NEW_PARENT_EDITING_CANCELED",e.TREE_NODE_NEW_PARENT_EDITING_STARTED="TREE_NODE_NEW_PARENT_EDITING_STARTED",e.TREE_NODE_RELATION_TYPE_CHANGED="TREE_NODE_RELATION_TYPE_CHANGED",e.TREE_NODE_REMOVED="TREE_NODE_REMOVED",e.TREE_SECONDARY_LABEL_SHOWN="TREE_SECONDARY_LABEL_SHOWN",e.TREE_SCROLL_TO_NODE_RESET="TREE_SCROLL_TO_NODE_RESET",e.TREE_SORTED="TREE_SORTED",e.TREE_REFRESHED="TREE_REFRESHED",e.TREE_RELATION_CREATED="TREE_RELATION_CREATED",e.TREE_RELATION_EDITED="TREE_RELATION_EDITED",e.TREE_RELATION_REMOVED="TREE_RELATION_REMOVED",e.TREE_RELATION_REPOINTED="TREE_RELATION_REPOINTED"}(_l||(_l={}));const yl=be(_l.TREE_LOADED),Dl=be(_l.TREE_LOADED_WITH_ERROR),Rl=be(_l.TREE_LOADING),Ol=be(_l.TREE_SCROLL_TO_NODE_RESET),gl=be(_l.TREE_COMMANDS_CLEARED),Il=be(_l.TREE_CHILDREN_LOADING),Al=be(_l.TREE_CURRENT_ENTITY_SHOWN),fl=be(_l.TREE_REFRESHED),Nl=be(_l.TREE_NODE_EXPANDED),Sl=be(_l.TREE_RELATION_REMOVED),vl=be(_l.TREE_NODE_REMOVED),Pl=be(_l.TREE_SECONDARY_LABEL_SHOWN),hl=be(_l.TREE_ENTITIES_MAPPING_LOADED),bl=be(_l.TREE_CHANGED),Ll=be(_l.TREE_NODE_EDITED),Ul=be(_l.TREE_ACTIVENESS_DATE_CHANGED),Cl=be(_l.TREE_RELATION_REPOINTED),ml=be(_l.TREE_RELATION_CREATED),wl=be(_l.TREE_NODE_CREATED),Yl=be(_l.TREE_RELATION_EDITED),Vl=be(_l.TREE_NODE_EDITED),Ml=be(_l.TREE_NODE_EDITING_STARTED),kl=be(_l.TREE_NODE_EDITING_APPLIED),Fl=be(_l.TREE_NODE_EDITING_CANCELED),jl=be(_l.TREE_NODE_NEW_PARENT_EDITING_STARTED),Hl=be(_l.TREE_NODE_NEW_PARENT_EDITING_APPLIED),Gl=be(_l.TREE_NODE_NEW_PARENT_EDITING_CANCELED),Wl=be(_l.TREE_NODE_NEW_CHILD_EDITING_STARTED),Bl=be(_l.TREE_NODE_NEW_CHILD_EDITING_APPLIED),xl=be(_l.TREE_NODE_NEW_CHILD_EDITING_CANCELED),zl=be(_l.TREE_NODE_RELATION_TYPE_CHANGED),Kl=be(_l.TREE_NODE_ENTITY_CHANGED),ql=be(_l.TREE_SORTED),Xl=be(_l.TREES_STATE_SAVED),Zl=be(_l.TREES_STATE_RESTORED),Ql=be(_l.TREE_CHILDREN_LOADED),Jl=be(_l.TREES_RESTORE_FROM_INITIAL_TREES),$l=be(_l.TREES_RESET_INITIAL_TREES),ed=(e,t)=>e.trees[t],td=(e,t)=>(0,he.path)(["trees",t,"root"],e),rd=(e,t)=>(0,he.path)(["trees",t,"total"],e),nd=(0,he.path)(["common","commands"]),id=(e,t,r)=>(0,he.path)(["trees",t,"editingConnections",r],e),od=(e,t)=>(0,he.pipe)((0,he.prop)("trees"),(0,he.when)((0,he.always)(t),(0,he.pick)(t)),he.values,(0,he.map)((0,he.pipe)((0,he.prop)("editingConnections"),he.values)),he.flatten,(0,he.reject)(he.isNil))(e);var ad=r(76665);function Ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){sd(e,t,r[t])}))}return e}function sd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ld=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if((0,he.path)(["entity","uri"],e)===t)return r.forEach((e=>e.expanded=!0)),e;if(e.children)for(const n of e.children){const i=ld(n,t,r.concat(e));if(i)return i}},dd=(e,t)=>{const r=Object.keys(e).reduce(((r,n)=>{const i=e[n];return t[n]&&(i.parent=(0,he.uniq)([].concat(i.parent).concat(t[n].parent).filter(he.identity))),r[n]=i,r}),{});return Object.keys(t).forEach((e=>{r[e]||(r[e]=t[e])})),r},cd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=(0,he.reject)((0,he.prop)("loading")),n=r(e);return t.forEach((t=>{e.find((e=>(0,he.path)(["entity","uri"],e)===t.entity.uri))||n.push(t)})),n},Td=(e,t)=>{if(e&&e.children){const r=e.children.findIndex((e=>{let{nodeId:r}=e;return r===t}));r>-1&&e.children.splice(r,1)}},ud=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e&&e.children&&e.children.splice(r,0,t)},pd=e=>{let{path:t,value:r,object:n}=e,i=n;for(let e=0;e<t.length;e++){const n=t[e];e===t.length-1?i[n]="function"==typeof r?r(i[n]):r:(i[n]=i[n]||("number"==typeof n?[]:{}),i=i[n])}},_d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;e[t]=r,e.children&&e.children.forEach((e=>_d(e,t,r)))},yd=e=>({entity:e.entity,relation:e.relation}),Dd=e=>{let{id:t,draft:r,node:n}=e;pd({path:["editingConnections",n.relation.uri],object:r[t],value:yd(n)})},Rd=e=>{let{id:t,draft:r,node:n,entity:i}=e;pd({path:["editingConnections",n.relation.uri,"entity"],object:r[t],value:i})},Od=e=>{let{id:t,draft:r,node:n,relationTypeUri:i}=e;pd({path:["editingConnections",n.relation.uri,"relation"],object:r[t],value:e=>Ed({},e,{type:i,attributes:{}})})},gd=e=>{let{id:t,draft:r,relationUri:n}=e;delete r[t].editingConnections[n]},Id=e=>{let{id:t,draft:r,relationUri:n}=e;return r[t].editingConnections[n]},Ad=e=>{delete e.editingMode,delete e.relatedEntity,delete e.initialConnection},fd=e=>{let{id:t,draft:r,currentNode:n}=e;const i=r[t].root;if(i===n)r[t].root=n.children[0],r[t].root.children=r[t].root.children||[],r[t].root.children.push(...n.children.slice(1));else{const e=(0,lt.JgD)(i,n.nodeId);Td(e,n.nodeId)}},Nd=(e,t,r)=>{const n=[e,"editingConnections",t,"relation"];return(0,he.path)(n,r)?(0,he.lensPath)(n):null},Sd=(0,he.pick)(["showSecondaryLabel","sortField","sortOrder"]),vd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return dd(e,t.reduce(((e,t)=>Ed({},e,{[t.entity.uri]:(0,he.pick)(["entity","parent","relations"],t)})),{}))},Pd=e=>({entity:(0,he.pick)(["uri","type","label","secondaryLabel"],e.entity),parent:[],relations:[(0,he.pick)(["uri","type"],e.relation)]});function hd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){bd(e,t,r[t])}))}return e}function bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ld={common:{commands:[]},trees:{},initialTrees:{}},Ud=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ld,t=arguments.length>1?arguments[1]:void 0;return(0,ad.ZP)(e,(r=>{switch(t.type){case wt.MODE_UPDATED:Object.keys(null==r?void 0:r.trees).forEach((e=>{_d(r.trees[e].root,"showDetails",!1)})),(0,lt.uzs)(t.payload)&&(r.common.commands=[],r.initialTrees={}),(0,lt.KIu)(t.payload)&&(r.initialTrees=hd({},r.trees));break;case wt.MODE_EDITING_CANCELED:case _l.TREES_RESTORE_FROM_INITIAL_TREES:r.trees=hd({},r.initialTrees);break;case _l.TREES_RESET_INITIAL_TREES:r.initialTrees={};break;case _l.TREE_LOADED_WITH_ERROR:{const{id:e,errorMessage:n}=t.payload;r.trees[e]=r.trees[e]||{},r.trees[e].errorMessage=n,r.trees[e].loading=!1,delete r.trees[e].root,delete r.trees[e].entitiesMap;break}case _l.TREE_LOADING:{const e=t.payload;r.trees[e]=r.trees[e]||{},r.trees[e].loading=!0;break}case _l.TREE_CHILDREN_LOADING:{const{id:e,parentId:n,nodeId:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n);a.pending=!1,a.children=(a.children||[]).concat({entity:{},loading:!0,nodeId:i});break}case _l.TREE_CHILDREN_LOADED:{const{children:e,id:n,parentId:i}=t.payload,o=r.trees[n].root,a=(0,lt.nv3)(o,i);a.children=cd(a.children,e),delete a.pending;break}case _l.TREE_NODE_REMOVED:{const{id:e,nodeId:n}=t.payload,i=r.trees[e].root,o=(0,lt.JgD)(i,n);Td(o||i,n);break}case _l.TREE_NODE_CREATED:{const{id:e,parentId:n,node:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n)||o,E=a.children.length;ud(a,i,E);break}case _l.TREE_NODE_EDITED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId),a=Object.keys(n);for(const e of a)o[e]=n[e];break}case _l.TREE_NODE_EDITING_STARTED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId),a=(0,lt.JgD)(i,n.nodeId);o&&a&&(o.editingMode=lt.wwy.editing,o.relatedEntity=a.entity,delete o.loading,o.initialConnection=yd(o),Dd({id:e,draft:r.trees,node:o}));break}case _l.TREE_NODE_EDITING_APPLIED:{const{id:e,node:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,i.nodeId),E=Id({id:e,draft:r.trees,relationUri:i.relation.uri});var n;a&&E&&(Ad(a),a.entity.uri!==E.entity.uri&&null!==(n=a.children)&&void 0!==n&&n.length&&(delete a.children,a.pending=!0),a.entity=E.entity,a.relation=E.relation,gd({id:e,draft:r.trees,relationUri:i.relation.uri}));break}case _l.TREE_NODE_EDITING_CANCELED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId);o&&(Ad(o),gd({id:e,draft:r.trees,relationUri:n.relation.uri}));break}case _l.TREE_NODE_NEW_PARENT_EDITING_STARTED:{const{id:e,node:n,newNode:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n.nodeId);if(i.relatedEntity=a.entity,i.relatedNodeId=a.nodeId,i.editingMode=lt.wwy.addingParent,o===a)i.children=[o],r.trees[e].root=i;else{const e=(0,lt.JgD)(o,n.nodeId),t=e.children.findIndex((e=>a===e));ud(e,i,t)}i.initialConnection=yd(i),Dd({id:e,draft:r.trees,node:i});break}case _l.TREE_NODE_NEW_PARENT_EDITING_APPLIED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId),a=(0,lt.nv3)(i,n.relatedNodeId),E=Id({id:e,draft:r.trees,relationUri:n.relation.uri});o&&E&&(fd({id:e,draft:r.trees,currentNode:o}),a.parent=a.parent||[],a.parent.push(E.entity.uri),a.relations=a.relations||[],a.relations.push(E.relation),r.trees[e].entitiesMap=vd(r.trees[e].entitiesMap,[a,Pd(E)]),gd({id:e,draft:r.trees,relationUri:o.relation.uri}));break}case _l.TREE_NODE_NEW_PARENT_EDITING_CANCELED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId);o&&(fd({id:e,draft:r.trees,currentNode:o}),gd({id:e,draft:r.trees,relationUri:o.relation.uri}));break}case _l.TREE_NODE_NEW_CHILD_EDITING_STARTED:{const{id:e,node:n,newNode:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n.nodeId);i.relatedEntity=a.entity,i.editingMode=lt.wwy.addingChild,i.parent=[a.entity.uri],i.directParentUri=a.entity.uri,a.children=a.children||[],a.children.unshift(i),a.expanded=!0,i.initialConnection=yd(i),Dd({id:e,draft:r.trees,node:i});break}case _l.TREE_NODE_NEW_CHILD_EDITING_APPLIED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.JgD)(i,n.nodeId),a=(0,lt.nv3)(o,n.nodeId),E=Id({id:e,draft:r.trees,relationUri:n.relation.uri});o&&a&&E&&(Ad(a),a.entity=E.entity,a.relation=E.relation,a.relations=[E.relation],gd({id:e,draft:r.trees,relationUri:n.relation.uri}));break}case _l.TREE_NODE_NEW_CHILD_EDITING_CANCELED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.JgD)(i,n.nodeId);o&&(Td(o,n.nodeId),gd({id:e,draft:r.trees,relationUri:n.relation.uri}));break}case _l.TREE_NODE_RELATION_TYPE_CHANGED:{const{id:e,node:n,relationTypeUri:i}=t.payload,o=Id({id:e,draft:r.trees,relationUri:n.relation.uri}).relation.type;o!==i&&(o&&Rd({id:e,draft:r.trees,node:n,entity:null}),Od({id:e,draft:r.trees,node:n,relationTypeUri:i}));break}case _l.TREE_NODE_ENTITY_CHANGED:{const{id:e,node:n,entity:i}=t.payload;Rd({id:e,draft:r.trees,node:n,entity:i});break}case yt.ADD_ATTRIBUTES:return t.payload.reduce(((e,t)=>{const{attributeType:r,parentUri:n,index:i,viewId:o}=t,a=(0,lt.u5q)(n),E=Nd(o,a,e.trees);if(E&&(0,lt.bC9)(a)){const t=(0,he.view)(E,e.trees);if((0,lt.j2U)(r)){const n=(0,lt.Wm5)({entity:t,attributeType:r});return hd({},e,{trees:(0,he.set)(E,n,e.trees)})}{const o=(0,lt.tPT)({entity:t,attributeType:r,parentUri:n,index:i});return hd({},e,{trees:(0,he.set)(E,o,e.trees)})}}return e}),e);case yt.MODIFY_ATTRIBUTE:{const{attributeType:r,viewId:n,uri:i,value:o}=t.payload,a=(0,lt.u5q)(i),E=Nd(n,a,e.trees);if(E&&(0,lt.bC9)(a)){const t=(0,he.view)(E,e.trees);if((0,lt.j2U)(r)){const n=(0,lt.hxF)({entity:t,attributeType:r,value:o});return hd({},e,{trees:(0,he.set)(E,n,e.trees)})}{const n=(0,lt.ww$)({entity:t,attributeType:r,uri:i,value:o});return hd({},e,{trees:(0,he.set)(E,n,e.trees)})}}return e}case yt.REMOVE_ATTRIBUTE:{const{attributeType:r,uri:n,viewId:i}=t.payload,o=(0,lt.u5q)(n),a=Nd(i,o,e.trees);if(a&&(0,lt.bC9)(o)){const t=(0,he.view)(a,e.trees);if((0,lt.j2U)(r)){const n=(0,lt.Ki6)({entity:t,attributeType:r});return hd({},e,{trees:(0,he.set)(a,n,e.trees)})}{const i=(0,lt.d$I)({entity:t,attributeType:r,uri:n});return hd({},e,{trees:(0,he.set)(a,i,e.trees)})}}return e}case yt.ADD_DEFAULT_VALUES:{const{viewId:r,attributeType:n,parentUri:i,metadata:o,mode:a}=t.payload,E=(0,lt.u5q)(i),s=Nd(r,E,e.trees);if((0,lt.bC9)(E)&&s){if(n){const t=(0,lt.EUG)(o,n);return hd({},e,{trees:(0,he.over)(s,js({attributeType:n,subAttributes:t,metadata:o,mode:a}),e.trees)})}{const t=(0,he.compose)(s,(0,he.lensPath)(["attributes"])),r=(0,he.compose)(s,(0,he.lensPath)(["type"])),n=(0,he.view)(r,e.trees),{attributes:E=[]}=(0,lt.V3K)(o,n);return hd({},e,{trees:(0,he.over)(t,(0,lt.X0$)({metadata:o,mode:a,attributeTypes:E,parentUri:i}),e.trees)})}}return e}case _l.TREE_ENTITIES_MAPPING_LOADED:{const{id:e,entitiesSubMap:n}=t.payload,i=r.trees[e].entitiesMap;r.trees[e].entitiesMap=dd(i,n);break}case _l.TREE_LOADED:{const{tree:e,id:n,graphTypes:i,activenessDate:o,isReversed:a}=t.payload,E=Sd(r.trees[n]||{});r.trees[n]=hd({},E,e,{graphTypes:i,activenessDate:o,isReversed:a}),delete r.trees[n].errorMessage,r.trees[n].loading=!1;break}case _l.TREE_SORTED:{const{id:e,typesLabelsMap:n={},sortField:i,sortOrder:o}=t.payload;r.trees[e]=r.trees[e]||{},r.trees[e].sortField=i,r.trees[e].sortOrder=o,r.trees[e].root&&(r.trees[e].root=(0,lt.GyU)(r.trees[e].root,{childrenProcessing:(0,lt.MjG)({sortField:i,sortOrder:o,typesLabelsMap:n})}));break}case _l.TREE_SECONDARY_LABEL_SHOWN:{const{id:e,show:n}=t.payload;r.trees[e].showSecondaryLabel=n,r.trees[e].root=hd({},r.trees[e].root);break}case _l.TREES_STATE_RESTORED:{const e=t.payload;Object.keys(e).forEach((t=>{r.trees[t]=r.trees[t]||{},r.trees[t]=hd({},r.trees[t],e[t]),r.trees[t].root&&(r.trees[t].root=hd({},r.trees[t].root))}));break}case _l.TREE_CHANGED:{const{id:e,tree:n}=t.payload;r.trees[e].root=n;break}case _l.TREE_REFRESHED:{const e=t.payload;r.trees[e].root=hd({},r.trees[e].root);break}case _l.TREE_NODE_EXPANDED:{const{id:e,nodeId:n}=t.payload,i=r.trees[e].root;(0,lt.nv3)(i,n).expanded=!0;break}case _l.TREE_CURRENT_ENTITY_SHOWN:{const{id:n,uri:i=(0,he.path)(["entity","uri"],e)}=t.payload;if(r.trees[n]){const e=ld(r.trees[n].root,i);r.trees[n].scrollTo=e}break}case _l.TREE_SCROLL_TO_NODE_RESET:{const e=t.payload;r.trees[e]&&(r.trees[e].scrollTo=null);break}case _l.TREE_ACTIVENESS_DATE_CHANGED:{const{id:e,activenessDate:n}=t.payload;r.trees[e].activenessDate=n;break}case _l.TREE_RELATION_REPOINTED:{const{entity:e,relation:n,newParent:i,isReversed:o}=t.payload,a=(0,he.prop)("uri"),E=a(e),s=a(i),l=(0,lt.ipn)({entityUri:E,relation:n,newEntityUri:s,isReversed:o});r.common.commands.push(l);break}case _l.TREE_RELATION_REMOVED:{const{relationUri:e}=t.payload;if((0,lt.ZiX)(e))r.common.commands=(0,he.reject)((0,lt.kMF)(e),r.common.commands);else{const t=(0,lt.gWE)({relationUri:e});r.common.commands.push(t)}break}case _l.TREE_RELATION_CREATED:{const{entityUri:e,relation:n,parentEntityUri:i}=t.payload,o=(0,lt.MPc)({parentUri:i,relation:n,entityUri:e});r.common.commands.push(o);break}case _l.TREE_RELATION_EDITED:{const{oldRelation:e,newRelation:n,entityUri:i,newEntityUri:o,isReversed:a}=t.payload,E=o?(0,lt.ipn)({entityUri:i,newEntityUri:o,relation:n,isReversed:a}):(0,lt._wz)({oldRelation:e,newRelation:n});r.common.commands.push(E);break}case _l.TREE_COMMANDS_CLEARED:r.common.commands=[]}}))},Cd=e=>e.entity,md=e=>e.modifiedEntities,wd=e=>e.errors,Yd=e=>e.relations,Vd=e=>e.trees,Md=e=>e.lookups,kd=e=>e.dependentLookups,Fd=e=>e.mode,jd=e=>e.history,Hd=e=>e.operation,Gd=e=>e.views,Wd=e=>e.sidePanelViews,Bd=e=>CE(Cd(e)),xd=e=>wE(Cd(e)),zd=(e,t)=>Ms(md(e),t),Kd=(e,t)=>ks(md(e),t),qd=e=>(0,he.keys)(Yd(e)),Xd=(e,t,r)=>oE(Yd(e),t,r),Zd=(e,t,r)=>aE(Yd(e),t,r),Qd=(e,t,r)=>EE(Yd(e),t,r),Jd=(e,t,r)=>iE(Yd(e),t,r),$d=(e,t)=>Za(Yd(e),t),ec=(e,t)=>sE(Yd(e),t),tc=e=>lE(Yd(e)),rc=e=>Ls(Fd(e)),nc=e=>bs(Fd(e)),ic=e=>Ps(Fd(e)),oc=(e,t)=>$a(Yd(e),t),ac=(e,t)=>eE(Yd(e),t),Ec=(e,t)=>rE(Yd(e),t),sc=(e,t)=>nE(Yd(e),t),lc=(e,t,r)=>jE(wd(e),t,r),dc=(e,t,r)=>HE(wd(e),t,r),cc=(e,t,r)=>BE(wd(e),t,r),Tc=(e,t)=>ed(Vd(e),t),uc=(e,t)=>td(Vd(e),t),pc=(e,t)=>rd(Vd(e),t),_c=e=>nd(Vd(e)),yc=(e,t,r)=>id(Vd(e),t,r),Dc=(e,t)=>od(Vd(e),t),Rc=e=>Lt(kd(e)),Oc=(e,t)=>Ct(kd(e),t),gc=e=>Ut(kd(e)),Ic=(e,t)=>mt(kd(e),t),Ac=e=>is(jd(e)),fc=e=>os(jd(e)),Nc=e=>as(jd(e)),Sc=e=>Es(jd(e)),vc=e=>ss(jd(e)),Pc=(0,sr.createSelector)(Cd,(e=>zd(e,Bd(e))),((e,t)=>!(!e||!t||(0,lt.O27)((0,lt.AID)(e,t))))),hc=(0,sr.createSelector)(Vd,(e=>{const t=nd(e),r=(0,lt.Ywp)((0,he.reject)((0,he.propSatisfies)(lt.O27,"root"),e.trees));return!(0,lt.O27)(t)||!(0,lt.O27)(r)})),bc=(0,sr.createSelector)(Yd,(e=>(0,he.keys)(e).reduce(((t,r)=>t||!(0,he.all)(lt.O27)((0,he.values)(sE(e,r)))),!1))),Lc=(0,sr.createSelector)(Pc,bc,hc,((e,t,r)=>e||t||r)),Uc=(0,sr.createSelector)(Fd,Cd,Lc,((e,t,r)=>!(e===lt.ARY.Viewing||!t)&&((0,lt.ZiX)(t.uri)||r)));var Cc=r(87918),mc=r.n(Cc),wc=r(58697),Yc=r.n(wc);let Vc;!function(e){e.PROFILE_OPERATION_UPDATE="PROFILE_OPERATION_UPDATE"}(Vc||(Vc={}));const Mc=be(Vc.PROFILE_OPERATION_UPDATE);function kc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Fc(e,t,r[t])}))}return e}function Fc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function*jc(){const e=yield(0,Ft.Ys)(gT.selectors.getEntity),t=yield(0,Ft.Ys)(gT.selectors.getMode),r=yield(0,Ft.Ys)(gT.selectors.getEntityUri),n=yield(0,Ft.Ys)(gT.selectors.getMetadata),i=yield(0,Ft.Ys)(gT.selectors.getModifiedEntity,r),o=yield(0,Ft.Ys)(gT.selectors.getModifiedEntities),a=yield(0,Ft.Ys)(gT.selectors.getProfileViews);return{entity:e,modifiedEntity:t===lt.ARY.Viewing?e:i,entityUri:r,metadata:n,modifiedEntities:t===lt.ARY.Viewing?{[r]:e}:o,profileViews:a,mode:t}}function*Hc(){return kc({},yield(0,Ft.RE)(jc),{validationServicePath:yield(0,Ft.Ys)(gT.selectors.getValidationServicePath),tenant:yield(0,Ft.Ys)(gT.selectors.getTenant),severity:yield(0,Ft.Ys)(gT.selectors.getValidationServiceSeverityLevels)})}function*Gc(){const{entityUri:e,metadata:t,modifiedEntities:r,modifiedEntity:n,profileViews:i}=yield(0,Ft.RE)(jc),o=(0,lt.V3i)(i,[lt.ZIY.Relations,lt.ZIY.RelationsTable]),a=(0,lt.V3i)(i,[lt.ZIY.HierarchyTree]),E=yield(0,Ft.Ys)(gT.selectors.getAllRelationsToAddAndEdit,o),s=yield(0,Ft.Ys)(gT.selectors.getAllTreesEditingConnections,a);return[...(0,lt.sSE)(t,r,n,(0,lt.FgW)(i)),...E.flatMap((e=>(0,lt.Bd_)(t,r,e))),...s.flatMap((e=>(0,lt.Bxm)(t,e)))].map((n=>kc({},n,{path:(0,lt.Z9i)({entityUri:e,metadata:t,connections:E,entitiesMap:r},n.uri||n.parentUri)})))}function*Wc(){const{entityUri:e,metadata:t,modifiedEntity:r,mode:n,modifiedEntities:i,validationServicePath:o}=yield(0,Ft.RE)(Hc);if(o&&(0,lt.oCZ)(t,r.type)){const r=yield(0,Ft.RE)((0,lt.ZiX)(e)?xc:zc),o=(0,he.pipe)(lt.NcL,(0,he.uniqBy)(lt.SpP))(r,{entityUri:e,metadata:t,entitiesMap:i});if(n!==lt.ARY.Viewing){const e=((e,t,r)=>r.filter((e=>{let{attributeType:t,type:r}=e;return t&&!(0,lt.q9e)(t)&&r===lt.NIO.missed})).filter((r=>{let{attributeType:n,parentUri:i}=r;const o=(0,lt.u5q)(i),a=t[o],E=a&&(0,lt.XtP)(e,a,n.uri,!0);return null==E?void 0:E.some((e=>{let{parent:t,attrValues:r}=e;return t.uri===i&&0===r.length}))})).map((e=>{let{attributeType:t,parentUri:r}=e;return{attributeType:t,parentUri:r}})))(t,i,o);e.length&&(yield(0,Ft.gz)(Dt(e)))}return o}return[]}function Bc(e){return console.error("Validation service error",e),[]}function*xc(){const{mode:e,modifiedEntity:t,modifiedEntities:r,validationServicePath:n,tenant:i,severity:o}=yield(0,Ft.RE)(Hc),a=(0,lt.rkF)(t,r);try{return yield(0,Ft.RE)(lt.W41,{validationServicePath:n,entity:a,tenant:i,severity:o,options:(0,he.reject)(he.isNil,[lt.cKm.preserveURIs,e===lt.ARY.Editing?lt.cKm.validateDataPermissions:null])})}catch(e){return Bc(e)}}function*zc(){const{entityUri:e,mode:t,entity:r,modifiedEntity:n,modifiedEntities:i,validationServicePath:o,tenant:a,severity:E}=yield(0,Ft.RE)(Hc),s=t===lt.ARY.Viewing?[]:(0,lt.C_p)(r,n,i);try{return yield(0,Ft.RE)(lt.WkI,{validationServicePath:o,uri:e,diff:s,tenant:a,severity:E,options:(0,he.reject)(he.isNil,[lt.cKm.preserveURIs,lt.cKm.updateAttributeUpdateDates,t===lt.ARY.Editing?lt.cKm.validateDataPermissions:null])})}catch(e){return Bc(e)}}function*Kc(){const e=yield(0,Ft.RE)(Gc),t=yield(0,Ft.RE)(Wc),r=(0,he.uniqBy)(lt.SpP,[...e,...t]);return yield(0,Ft.gz)(zE(r)),0===r.filter(lt.IT0).length}function qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function*Xc(e){const t=yield(0,Ft.Ys)(gT.selectors.getMetadata),r=yield(0,Ft.Ys)(gT.selectors.getMode);switch(e.type){case Fa.OPEN_RELATION_EDITOR:{const{id:n,connection:i}=e.payload;i.relation.relationType&&(yield(0,Ft.gz)(Rt({viewId:n,metadata:t,mode:r,parentUri:i.relation.object.uri})));break}case yt.ADD_ATTRIBUTES:{const n=e.payload;for(const e of n){const{attributeType:n,parentUri:i,viewId:o}=e;(0,lt.YkM)(n)&&(yield(0,Ft.gz)(Rt({viewId:o,attributeType:n,parentUri:i,metadata:t,mode:r})))}break}case Fa.SET_RELATION_TYPE:{const{id:n,relationUri:i}=e.payload;yield(0,Ft.gz)(Rt({viewId:n,metadata:t,mode:r,parentUri:i}));break}case _l.TREE_NODE_RELATION_TYPE_CHANGED:{var n;const{id:i,node:o}=e.payload;yield(0,Ft.gz)(Rt({viewId:i,metadata:t,mode:r,parentUri:null==o||null===(n=o.relation)||void 0===n?void 0:n.uri}));break}}}function*Zc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=yield(0,Ft.Ys)(ho),n=(0,lt.Ywp)(null==r?void 0:r.trees),i=yield(0,Ft.Ys)(Co),o=(0,lt.Jct)([...i,...n]);if(null!=o&&o.length){const r=(0,he.when)((0,he.always)(t),(0,lt.Lkd)(t))(o);yield(0,Ft.RE)(e,r),yield(0,Ft.gz)(gl())}}function*Qc(e){const t=yield(0,Ft.Ys)(_i),r=yield(0,Ft.Ys)(yi),n=yield(0,Ft.Ys)(mi,r),i=(0,lt.AID)(t,n);return(0,lt.lCl)(e,i)}function*Jc(e){const t=yield(0,Ft.Ys)(fi),r=yield(0,Ft.Ys)(Yi),n=yield(0,Ft.Ys)(yi),i=yield(0,Ft.Ys)(mi,n),o=(0,lt.UO$)(i),a=(0,he.concat)(o,t);return yield(0,Ft.RE)(lt.J$p,r,a,e)}function*$c(e,t){const r=e.getDCRObjectUris(),n=yield(0,Ft.Ys)(Go),i=yield(0,Ft.Ys)(Wo),o=yield(0,Ft.Ys)(ko);if(null!=r&&r.length){const a=yield(0,Ft.RE)(lt.$ju,{workflowPath:n,processType:"dataChangeRequestReview",objectURIs:(0,he.uniq)([t,...r,e.getDCRUri()]),tenant:o,environment:i});"OK"!==(null==a?void 0:a.status)&&console.error(a)}}function*eT(e,t,r,n){const i=yield(0,Ft.Ys)(Ri,r),o=yield(0,Ft.Ys)(Ai,r),a=(0,lt.RYR)(i,o,n,t);a.length&&(yield(0,Ft.RE)(e,a))}function*tT(e,t,r){const n=yield(0,Ft.Ys)(Pi),i=yield(0,Ft.Ys)(yi);for(const o of n)yield(0,Ft.rM)(eT,e,r||i,o,t)}function*rT(){try{const e=yield(0,Ft.Ys)(go),{commandExecutor:t,dcrProcessor:r}=(0,lt.XiW)({alwaysCreateDCR:e,dcrUri:null}),n=yield(0,Ft.RE)(Jc,r),i=(0,he.map)((0,he.prop)("uri"),n);yield(0,Ft.$6)([(0,Ft.RE)(Zc,t),(0,Ft.RE)(tT,t,i)]);const o=yield(0,Ft.RE)(Qc,i),a=yield(0,Ft.Ys)(yi);let E;if(null!=o&&o.length&&(E=yield(0,Ft.RE)(lt.Mzk,{uri:a,diff:o,uriPreprocessor:r.enhanceUriWithDCR})),e)E&&r.updateDCRUriFromResponse(E),yield(0,Ft.RE)($c,r,a),yield(0,Ft.gz)(Jl());else if(E){yield(0,Ft.gz)(SE(E));const{trees:e}=yield(0,Ft.Ys)(gT.selectors.getTrees),t=(0,lt.XTh)((0,he.pick)(["uri","label","secondaryLabel","type"],E),e);for(const e of t)yield(0,Ft.gz)(bl({id:e.id,tree:e.root}))}yield(0,Ft.gz)(Ns(lt.ARY.Viewing))}catch(e){console.error(e)}}function*nT(){try{const e=yield(0,Ft.Ys)(go),{commandExecutor:t,dcrProcessor:r}=(0,lt.XiW)({alwaysCreateDCR:e,dcrUri:null}),n=yield(0,Ft.Ys)(yi),i=yield(0,Ft.Ys)(gT.selectors.getModifiedEntity,n),o=yield(0,Ft.RE)(Jc,r),a=yield(0,Ft.RE)(lt.b5s,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){qc(e,t,r[t])}))}return e}({},o,{[n]:i}),n,o,r),E=(0,he.map)((0,he.prop)("uri"),o);yield(0,Ft.$6)([(0,Ft.RE)(Zc,t,{[n]:a.uri}),(0,Ft.RE)(tT,t,E,a.uri)]),e&&(yield(0,Ft.RE)($c,r,a.uri),window.alert(mc().text("Your changes are saved as pending and have been sent for review"))),yield(0,Ft.gz)(Ns(lt.ARY.Viewing)),yield(0,Ft.gz)(e?Ur({perspectiveId:null,viewId:null}):hr({uri:a.uri,viewId:null}))}catch(e){e.errorCode?yield(0,Ft.gz)(Qr((0,lt.xU7)(e,mc().text("Something went wrong")))):console.error(e)}}function*iT(){if(yield(0,Ft.gz)(Mc(lt.OXy.Saving)),yield(0,Ft.RE)(Kc)){const e=yield(0,Ft.Ys)(yi);(0,lt.ZiX)(e)?yield(0,Ft.RE)(nT):yield(0,Ft.RE)(rT)}yield(0,Ft.gz)(Mc(null))}function*oT(e){if(e.payload!==lt.ARY.Viewing){const e=yield(0,Ft.Ys)(gT.selectors.getEntity),t=yield(0,Ft.Ys)(gT.selectors.getModifiedEntity,null==e?void 0:e.uri),r=yield(0,Ft.Ys)(gT.selectors.getMetadata);if(e&&!t&&r){const t=(0,lt.Wtd)({entity:e,metadata:r});yield(0,Ft.gz)(ms(t))}}}function*aT(e){const{entityTypeUri:t}=e.payload,r=yield(0,Ft.Ys)(gT.selectors.getMetadata),n=(0,lt.nt9)(r,t),i=(0,he.prop)("attributes",n),o=(0,lt.d89)(lt.ARY.Editing,n)?lt.ARY.Editing:lt.ARY.Suggesting,a=(0,lt.pBq)({entityTypeUri:t,attributeTypes:i,metadata:r,mode:o});yield(0,Ft.gz)(br({entity:a})),yield(0,Ft.gz)(SE(a)),yield(0,Ft.gz)(Ns(o)),yield(0,Ft.gz)($l())}function*ET(e){const{payload:{entityUri:t,data:r}}=e;yield(0,Ft.gz)(Mc(lt.OXy.Cloning));try{const e=yield(0,Ft.RE)(lt.VtG,t,r);yield(0,Ft.gz)(br({entity:e})),yield(0,Ft.gz)(SE(e)),yield(0,Ft.gz)(Ns(lt.ARY.Editing)),yield(0,Ft.gz)($l());const n=Yc()(),i=yield(0,Ft.Ys)(gT.selectors.getMetadata),o=(0,lt.nt9)(i,e.type),a=(0,lt.Edd)(lt.ARY.Editing,o);yield(0,Ft.gz)(Cr({id:n,type:"cloneAction",autoHideDuration:1e4,text:mc().text("Profile is cloned successfully. You can modify the attributes if required."),actions:a?[{label:mc().text("Undo"),needConfirmation:!0,confirmationText:mc().text("Are you sure you want to undo the cloning process?"),confirmationDescription:mc().text("Undoing the cloning process will delete the cloned profile. Are you sure you want to proceed?"),applyAction:bE({entityUri:e.uri}),cancelAction:mr(n)}]:[]}))}catch(e){yield(0,Ft.gz)(Qr((0,lt.xU7)(e,mc().text("Something went wrong"))))}yield(0,Ft.gz)(Mc(null))}function*sT(e){const{entityUri:t}=e.payload;if(!(0,lt.ZiX)(t))try{yield(0,Ft.RE)(lt.Sx,t),yield(0,Ft.gz)(Lr())}catch(e){yield(0,Ft.gz)(Qr((0,lt.xU7)(e,mc().text("Something went wrong"))))}}function*lT(){(yield(0,Ft.Ys)(Mo))&&!confirm(mc().text("Are you sure you want to cancel changes for this Profile?"))||(yield(0,Ft.gz)(vs()))}const dT=[function*(){yield(0,Ft.A7)([wt.MODE_CANCEL_EDITING],lT)},function*(){yield(0,Ft.ib)([Fa.OPEN_RELATION_EDITOR,yt.ADD_ATTRIBUTES,Fa.SET_RELATION_TYPE,_l.TREE_NODE_RELATION_TYPE_CHANGED],Xc)},function*(){yield(0,Ft.A7)([yt.SAVE_PROFILE],iT)},function*(){yield(0,Ft.ib)([wt.MODE_UPDATED],oT)},function*(){yield(0,Ft.ib)([NE.ENTITY_CREATION_REQUESTED],aT)},function*(){yield(0,Ft.Fm)([yt.VALIDATE_PROFILE],Kc)},function*(){yield(0,Ft.ib)([NE.ENTITY_REMOVE_REQUESTED],sT)},function*(){yield(0,Ft.ib)([NE.CLONE_ENTITY],ET)}],cT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===Vc.PROFILE_OPERATION_UPDATE?t.payload:e};let TT;!function(e){e.PROFILE_VIEWS_SET="PROFILE_VIEWS_SET"}(TT||(TT={}));const uT=be(TT.PROFILE_VIEWS_SET),pT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===TT.PROFILE_VIEWS_SET?t.payload:e};let _T;!function(e){e.SIDE_PANEL_VIEWS_LOADED="SIDE_PANEL_VIEWS_LOADED"}(_T||(_T={}));const yT=be(_T.SIDE_PANEL_VIEWS_LOADED),DT=[],RT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DT,t=arguments.length>1?arguments[1]:void 0;return t.type===_T.SIDE_PANEL_VIEWS_LOADED?t.payload:e},OT=(0,r(28523).combineReducers)({dependentLookups:kt,entity:kE,errors:ZE,history:us,lookups:fs,mode:Cs,modifiedEntities:Bs,relations:pl,trees:Ud,operation:cT,views:pT,sidePanelViews:RT}),gT={getModule:()=>({id:"mdm",reducerMap:{dataTenants:Ce,tenants:Ve,metadata:_t,profile:OT,tenant:$n,environment:oi,user:Bn,ui:kn,search:Pr},sagas:[...Zs,...fE,...dT,...fr]}),selectors:k}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9431],{59431:(e,t,r)=>{r.d(t,{Z9:()=>ls,Yj:()=>o,ZP:()=>gT,NZ:()=>M,Pu:()=>T,N5:()=>ve,yC:()=>A,cm:()=>m,ah:()=>s,ui:()=>S,EA:()=>b});var n={};r.r(n),r.d(n,{DATA_TENANTS_UPDATED:()=>Pe});var i={};r.r(i),r.d(i,{dataTenantsUpdated:()=>Le});var o={};r.r(o),r.d(o,{actions:()=>i,constants:()=>n,reducer:()=>Ce});var a={};r.r(a),r.d(a,{TENANTS_UPDATED:()=>me});var E={};r.r(E),r.d(E,{tenantsUpdated:()=>we});var s={};r.r(s),r.d(s,{actions:()=>E,constants:()=>a,reducer:()=>Ve});var l={};r.r(l),r.d(l,{METADATA_LOADED:()=>Me});var d={};r.r(d),r.d(d,{updateMetadata:()=>ke});var c={};r.r(c),r.d(c,{ATTRIBUTE_PRESENTATIONS_LOADED:()=>Ke,AUTOCLOSE_INTERVAL_LOADED:()=>qe,CLOSE_NOTIFICATION:()=>st,DATE_MASK_UPDATED:()=>et,DATE_TIME_MASK_UPDATED:()=>tt,ENTITY_DELETION_FINISHED:()=>He,ERROR_SET:()=>at,KEYS_SET:()=>it,LOCALIZATION_LOADED:()=>ze,NEW_ENTITY_SHOWN:()=>je,NEW_UI_CONFIG_LOADED:()=>Be,NUMBER_FORMAT_UPDATED:()=>Je,OPEN_APP_FROM_CHOCOLATE_BAR:()=>Qe,OPEN_CONSOLE_APP:()=>Ze,OPEN_ENTITY:()=>Fe,OPEN_GRAPH:()=>$e,OPEN_HISTORY_EVENT:()=>nt,OPEN_PERSPECTIVE:()=>Ge,OPEN_PIVOTING_PERSPECTIVE:()=>ot,OPEN_SEARCH:()=>rt,PATHS_SET:()=>xe,SET_PREFER_REACT:()=>Xe,SHOW_NOTIFICATION:()=>Et,UI_CONFIG_LOADED:()=>We});var T={};r.r(T),r.d(T,{actions:()=>d,constants:()=>l,reducer:()=>_t});var u={};r.r(u),r.d(u,{ProfileActions:()=>yt});var p={};r.r(p),r.d(p,{addAttributes:()=>Dt,addDefaultValuesAction:()=>Rt,addNextPageOfAttributeValues:()=>It,modifyAttribute:()=>Ot,processNextPageOfAttributeValues:()=>At,removeAttribute:()=>gt,requestNextPageOfAttributeValues:()=>ft,saveProfile:()=>Nt,validateProfile:()=>St});var _={};r.r(_),r.d(_,{DependentLookupsActions:()=>vt});var y={};r.r(y),r.d(y,{dependentLookupsEditorsBlocked:()=>bt,dependentLookupsInitedTypeUrisAdded:()=>ht,dependentLookupsStructureSet:()=>Pt});var D={};r.r(D),r.d(D,{getDependentLookupEditorState:()=>mt,getDependentLookupsInitedTypeUris:()=>Ut,getDependentLookupsStructure:()=>Lt,getDependentLookupsStructureNode:()=>Ct});var R={};r.r(R),r.d(R,{ModeActions:()=>wt});var O={};r.r(O),r.d(O,{ACTIVITY_FILTER_UPDATED:()=>Bt,GLOBAL_FILTER_UPDATED:()=>xt,KEYWORD_UPDATED:()=>Ht,SAVE_STATE:()=>Wt,SEARCH_OPTIONS_UPDATED:()=>zt,SEARCH_RESULTS_SET:()=>jt,SET_SEARCH_NAVIGATION_DATA:()=>Xt,SET_SEARCH_OPTIONS_CONFIG:()=>Kt,SET_SEARCH_PROVIDER_DATA:()=>qt,UPDATE_SEARCH_NAVIGATION_DATA_FIELDS:()=>Zt,UPDATE_STATE:()=>Gt});var g={};r.r(g),r.d(g,{activityFilterUpdated:()=>tr,globalFilterUpdated:()=>rr,keywordUpdated:()=>Jt,saveState:()=>er,searchResultsSet:()=>Qt,setSearchNavigationData:()=>ar,setSearchOptionsConfig:()=>ir,setSearchProviderData:()=>or,updateSearchNavigationDataFields:()=>Er,updateSearchOptions:()=>nr,updateState:()=>$t});var I={};r.r(I),r.d(I,{getActivityFilter:()=>cr,getGlobalFilter:()=>Tr,getGlobalFilterQuery:()=>ur,getGlobalFilterSavedSearchesUris:()=>pr,getGlobalSearchRequestOptions:()=>Or,getKeyword:()=>dr,getSearchNavigationData:()=>Dr,getSearchOptions:()=>_r,getSearchProviderData:()=>yr,getSearchResults:()=>lr,getStringifiedSearchOptions:()=>Rr});var A={};r.r(A),r.d(A,{actions:()=>g,constants:()=>O,reducer:()=>Pr,sagas:()=>fr,selectors:()=>I});var f={};r.r(f),r.d(f,{attributePresentationsLoaded:()=>Mr,autocloseIntervalLoaded:()=>kr,closeNotification:()=>mr,dateMaskUpdated:()=>xr,dateTimeMaskUpdated:()=>zr,entityDeletionFinished:()=>Lr,errorSet:()=>Qr,keysSet:()=>Xr,localizationLoaded:()=>Br,newEntityShown:()=>br,newUiConfigLoaded:()=>Vr,numberFormatUpdated:()=>jr,openAppFromChocolateBar:()=>Gr,openConsoleApp:()=>Hr,openEntity:()=>hr,openGraph:()=>Wr,openHistoryEvent:()=>qr,openPerspective:()=>Ur,openPivotingPerspective:()=>Zr,openSearch:()=>Kr,pathsSet:()=>wr,setPreferReact:()=>Fr,showNotification:()=>Cr,uiConfigLoaded:()=>Yr});var N={};r.r(N),r.d(N,{getAdminToolsPath:()=>cn,getApiPath:()=>en,getAttributePresentations:()=>un,getAutoCloseInterval:()=>pn,getCollaborationPath:()=>En,getDVFPath:()=>ln,getDateMask:()=>Dn,getDateTimeMask:()=>On,getDefaultMaxValues:()=>_n,getDtssPath:()=>nn,getExportPath:()=>$r,getGoogleMapKey:()=>Sn,getIdpLicenseKey:()=>vn,getImageAttributesFieldsOrder:()=>fn,getImagePath:()=>Jr,getImageServicePath:()=>sn,getLookupAutocomplete:()=>Nn,getMlDqPath:()=>Tn,getNotifications:()=>Rn,getPivotingAttributes:()=>An,getReltioPath:()=>rn,getServicesPath:()=>Cn,getShowEntityId:()=>wn,getUIConfig:()=>mn,getUIPath:()=>tn,getUiError:()=>Un,getUiNumberFormat:()=>yn,getValidateReadMode:()=>bn,getValidationServicePath:()=>dn,getValidationServiceSeverityLevels:()=>hn,getWorkflowConfigurationEnabled:()=>Ln,getWorkflowEnvironmentURL:()=>an,getWorkflowPath:()=>on});var S={};r.r(S),r.d(S,{actions:()=>f,constants:()=>c,reducer:()=>kn,selectors:()=>N});var v={};r.r(v),r.d(v,{USER_UPDATED:()=>Fn});var P={};r.r(P),r.d(P,{userUpdated:()=>jn});var h={};r.r(h),r.d(h,{getUserName:()=>Hn,getUserRoles:()=>Gn});var b={};r.r(b),r.d(b,{actions:()=>P,constants:()=>v,reducer:()=>Bn,selectors:()=>h});var L={};r.r(L),r.d(L,{TENANT_NAME_UPDATED:()=>zn,TENANT_UPDATED:()=>xn});var U={};r.r(U),r.d(U,{tenantNameUpdated:()=>qn,tenantUpdated:()=>Kn});var C={};r.r(C),r.d(C,{getTenantId:()=>Xn,getTenantName:()=>Zn});var m={};r.r(m),r.d(m,{actions:()=>U,constants:()=>L,reducer:()=>$n,selectors:()=>C});var w={};r.r(w),r.d(w,{ENVIRONMENT_UPDATED:()=>ei});var Y={};r.r(Y),r.d(Y,{environmentUpdated:()=>ti});var V={};r.r(V),r.d(V,{getEnvironmentId:()=>ri});var M={};r.r(M),r.d(M,{actions:()=>Y,constants:()=>w,reducer:()=>oi,selectors:()=>V});var k={};r.r(k),r.d(k,{getAbsoluteImagePath:()=>So,getActiveErrorsForAttributesPager:()=>ki,getActivityFilter:()=>so,getAdminToolsPath:()=>xi,getAllRelationsToAddAndEdit:()=>fo,getAllTreesEditingConnections:()=>wo,getApiPath:()=>ji,getAttributePresentations:()=>zi,getAttributeTypeErrors:()=>Vi,getAttributesErrors:()=>Mi,getAutoCloseInterval:()=>Xi,getCanUserCreateWorkflowConfigJar:()=>Zo,getCanUserCreateWorkflowEnvironmentConfigJar:()=>Qo,getCanUserDeleteProfiles:()=>Oa,getCanUserExecuteWorkflowJobs:()=>Jo,getCanUserExecuteWorkflowJobsSyncBusinessProcessData:()=>$o,getCanUserExecuteWorkflowJobsTerminateProcessInstance:()=>ea,getCanUserExecuteWorkflowJobsUpdateTasks:()=>ta,getCanUserExecuteWorkflowJobsValidateTasks:()=>ra,getCanUserGetDQStatistic:()=>Ia,getCanUserImportEntitiesFromDT:()=>_a,getCanUserMakeActivitiesExport:()=>pa,getCanUserMakeBulkUpdate:()=>Ra,getCanUserMakeExport:()=>ua,getCanUserManageWorkflowDefinition:()=>na,getCanUserManageWorkflowEnvironmentDefinition:()=>ia,getCanUserOpenDataLoader:()=>ga,getCanUserReadDVF:()=>Aa,getCanUserReadEntitiesFromDT:()=>ya,getCanUserReadWorkflowDataTask:()=>oa,getCanUserRegisterConfigEnvironments:()=>Xo,getCanUserStartProcessFromQuery:()=>Da,getCanUserUpdateProcessInstance:()=>aa,getCanUserUpdateWorkflowDataTask:()=>Ea,getCanUserViewProcessInstanceSearchQuery:()=>sa,getCanUserViewWorkflowConfigJar:()=>la,getCanUserViewWorkflowDefinition:()=>da,getCanUserViewWorkflowEnvironmentConfigJar:()=>ca,getCanUserViewWorkflowJobs:()=>Ta,getCheckIfCanAddRelations:()=>Ca,getCollaborationPath:()=>xo,getConnectionsByViewId:()=>Ri,getConnectionsTemporaryUrisForCreation:()=>fi,getConnectionsWithDraftsByViewId:()=>Ii,getDVFPath:()=>zo,getDataTenants:()=>ai,getDateMask:()=>Zi,getDateTimeMask:()=>Qi,getDefaultMaxValues:()=>qi,getDependentLookupEditorState:()=>La,getDependentLookupsInitedTypeUris:()=>ba,getDependentLookupsStructure:()=>Pa,getDependentLookupsStructureNode:()=>ha,getDraftsForSaveByViewId:()=>Ai,getDtssPath:()=>Ho,getEditingOrAddingConnectionByViewIdAndRelationUri:()=>Oi,getEditingOrAddingConnectionRelationObjectByViewIdAndRelationUri:()=>gi,getEntity:()=>_i,getEntityUri:()=>yi,getEntityUriWithDataTenant:()=>Di,getEntityWithDiff:()=>ma,getEntityWithoutDiff:()=>wa,getEnvironment:()=>jo,getEnvironmentObject:()=>di,getExportPath:()=>Hi,getGlobalFilter:()=>_o,getGlobalFilterSavedSearchesUris:()=>yo,getGlobalSearchRequestOptions:()=>uo,getGoogleMapKey:()=>ro,getHistoryDiff:()=>hi,getHistoryEvent:()=>bi,getHistoryMode:()=>Ci,getHistorySlice:()=>Li,getIdpLicenseKey:()=>no,getImageAttributesFieldsOrder:()=>eo,getImagePath:()=>Fi,getImageServicePath:()=>Bi,getIsEditableMode:()=>Ro,getIsHistoryModeEnabled:()=>Ui,getIsSuggestMode:()=>go,getIsViewMode:()=>Oo,getLookupAutocomplete:()=>to,getLookups:()=>Si,getMetadata:()=>si,getMlDqPath:()=>qo,getMode:()=>Do,getModifiedEntities:()=>Yi,getModifiedEntity:()=>mi,getModifiedEntityDefaultProfilePic:()=>wi,getNotifications:()=>Ji,getPivotingAttributes:()=>$i,getProfile:()=>ui,getProfileCancelNeedConfirm:()=>Mo,getProfileErrors:()=>vi,getProfileOperation:()=>Yo,getProfileViews:()=>Vo,getRelationToAddByViewId:()=>Io,getRelationsToEditByViewId:()=>Ao,getRelationsViewIds:()=>Pi,getReltioPath:()=>Wi,getSearch:()=>pi,getSearchKeyword:()=>Eo,getSearchNavigationData:()=>To,getSearchOptions:()=>lo,getSearchProviderData:()=>co,getSearchResults:()=>ao,getServicesPath:()=>Ya,getShowEntityId:()=>Ma,getStringifiedSearchOptions:()=>po,getTenant:()=>ko,getTenantName:()=>Fo,getTenantObject:()=>li,getTenants:()=>Ei,getTotalByViewId:()=>Ni,getTree:()=>bo,getTreeCommands:()=>Co,getTreeEditingConnection:()=>mo,getTreeRoot:()=>Lo,getTreeTotal:()=>Uo,getTrees:()=>ho,getUIConfig:()=>Va,getUIPath:()=>Gi,getUi:()=>Ti,getUiError:()=>Ua,getUiNumberFormat:()=>Ki,getUser:()=>ci,getUserName:()=>vo,getUserRoles:()=>Po,getValidateReadMode:()=>oo,getValidationServicePath:()=>Ko,getValidationServiceSeverityLevels:()=>io,getViewIdsForOpenRelation:()=>No,getWorkflowConfigurationEnabled:()=>Bo,getWorkflowEnvironmentUrl:()=>Wo,getWorkflowPath:()=>Go,isCollaborationEnabled:()=>fa,isCollaborationSideViewEnabled:()=>va,isWorkflowEnabled:()=>Na,isWorkflowSideViewEnabled:()=>Sa});var F={};r.r(F),r.d(F,{ModifiedEntitiesActions:()=>ka});var j={};r.r(j),r.d(j,{RelationsActions:()=>Fa});var H={};r.r(H),r.d(H,{findConnectionByRelationUri:()=>Ba,getAllRelationsToAddAndEdit:()=>rE,getConnectionsByViewId:()=>Za,getConnectionsWithDrafts:()=>oE,getDraftsByViewId:()=>Ja,getDraftsForSaveByViewId:()=>sE,getEditingOrAddingConnectionByViewIdAndRelationUri:()=>aE,getEditingOrAddingConnectionRelationObjectByViewIdAndRelationUri:()=>EE,getEntityUriFromConnection:()=>qa,getRelationAttributesFromConnection:()=>Ka,getRelationDirectionFromConnection:()=>Xa,getRelationObjectFromConnection:()=>za,getRelationToAddByViewId:()=>$a,getRelationToAddPath:()=>Ga,getRelationUriFromConnection:()=>xa,getRelationsToEditByViewId:()=>eE,getRelationsToEditPath:()=>Wa,getTempRelations:()=>tE,getTemporaryUrisForCreation:()=>lE,getTotalByViewId:()=>Qa,getTotalWithDrafts:()=>iE,getViewIdsForOpenRelation:()=>nE});var G={};r.r(G),r.d(G,{actions:()=>y,constants:()=>_,reducer:()=>kt,sagas:()=>fE,selectors:()=>D});var W={};r.r(W),r.d(W,{EntityActions:()=>NE});var B={};r.r(B),r.d(B,{clearEntity:()=>UE,entityCloneRequested:()=>LE,entityCreationRequested:()=>hE,entityLoaded:()=>SE,entityRemoveRequested:()=>bE,loadEntity:()=>PE,setDefaultProfilePic:()=>vE});var x={};r.r(x),r.d(x,{getDataTenant:()=>mE,getUri:()=>CE,getUriWithDataTenant:()=>wE});var z={};r.r(z),r.d(z,{actions:()=>B,constants:()=>W,reducer:()=>kE,selectors:()=>x});var K={};r.r(K),r.d(K,{ErrorsActions:()=>FE});var q={};r.r(q),r.d(q,{getActiveErrorsForAttributesPager:()=>BE,getAttributeTypeErrors:()=>jE,getAttributesErrors:()=>HE});var X={};r.r(X),r.d(X,{errorDeactivated:()=>xE,errorsSet:()=>zE});var Z={};r.r(Z),r.d(Z,{actions:()=>X,constants:()=>K,reducer:()=>ZE,selectors:()=>q});var Q={};r.r(Q),r.d(Q,{HistoryActions:()=>QE});var J={};r.r(J),r.d(J,{clearHistoryDiff:()=>$E,clearHistoryEvent:()=>ts,setHistoryDiff:()=>JE,setHistoryEvent:()=>es,setHistoryMode:()=>ns,setHistorySlice:()=>rs});var $={};r.r($),r.d($,{getHistoryDiff:()=>is,getHistoryEvent:()=>os,getHistoryMode:()=>ss,getHistorySlice:()=>as,getIsHistoryModeEnabled:()=>Es});var ee={};r.r(ee),r.d(ee,{actions:()=>J,constants:()=>Q,reducer:()=>us,selectors:()=>$});var te={};r.r(te),r.d(te,{LOOKUPS_FOR_TYPE_RESOLVED:()=>_s,LOOKUPS_LIST_RESOLVED:()=>ys,LOOKUPS_LOADED:()=>ps});var re={};r.r(re),r.d(re,{lookupsForTypeResolved:()=>Rs,lookupsListResolved:()=>Os,lookupsLoaded:()=>Ds});var ne={};r.r(ne),r.d(ne,{actions:()=>re,constants:()=>te,reducer:()=>fs});var ie={};r.r(ie),r.d(ie,{modeCancelEditing:()=>Ss,modeEditingCanceled:()=>vs,modeUpdated:()=>Ns});var oe={};r.r(oe),r.d(oe,{getIsEditMode:()=>hs,getIsEditableMode:()=>Ls,getIsSuggestMode:()=>Ps,getIsViewMode:()=>bs});var ae={};r.r(ae),r.d(ae,{actions:()=>ie,constants:()=>R,reducer:()=>Cs,selectors:()=>oe});var Ee={};r.r(Ee),r.d(Ee,{entityCreated:()=>ms,entityDeleted:()=>ws,modifiedEntitiesReset:()=>Vs,setDefaultProfilePic:()=>Ys});var se={};r.r(se),r.d(se,{getModifiedEntity:()=>Ms,getModifiedEntityDefaultProfilePic:()=>ks});var le={};r.r(le),r.d(le,{actions:()=>Ee,constants:()=>F,reducer:()=>Bs,sagas:()=>Zs,selectors:()=>se});var de={};r.r(de),r.d(de,{addRelation:()=>tl,closeRelationEditor:()=>il,editRelation:()=>rl,ignoreRelation:()=>el,openRelationEditor:()=>nl,relationsLoaded:()=>Qs,removeRelation:()=>$s,secondLevelRelationsLoaded:()=>Js,setRelationEntity:()=>al,setRelationType:()=>ol});var ce={};r.r(ce),r.d(ce,{actions:()=>de,constants:()=>j,reducer:()=>pl,selectors:()=>H});var Te={};r.r(Te),r.d(Te,{TreesActions:()=>_l});var ue={};r.r(ue),r.d(ue,{activenessDateChanged:()=>Ul,childrenLoaded:()=>Ql,childrenLoading:()=>Il,currentEntityShownInTree:()=>Al,entitiesMappingLoaded:()=>hl,nodeExpanded:()=>Nl,resetScrollToNode:()=>Ol,toggleRelationDetails:()=>Ll,treeChanged:()=>bl,treeCommandsCleared:()=>gl,treeLoaded:()=>yl,treeLoadedWithError:()=>Dl,treeLoading:()=>Rl,treeNodeChanged:()=>Vl,treeNodeCreated:()=>wl,treeNodeEditingApplied:()=>kl,treeNodeEditingCanceled:()=>Fl,treeNodeEditingStarted:()=>Ml,treeNodeEntityChanged:()=>Kl,treeNodeNewChildEditingApplied:()=>Bl,treeNodeNewChildEditingCanceled:()=>xl,treeNodeNewChildEditingStarted:()=>Wl,treeNodeNewParentEditingApplied:()=>Hl,treeNodeNewParentEditingCanceled:()=>Gl,treeNodeNewParentEditingStarted:()=>jl,treeNodeRelationTypeChanged:()=>zl,treeNodeRemoved:()=>vl,treeRefreshed:()=>fl,treeRelationChanged:()=>Yl,treeRelationCreated:()=>ml,treeRelationRemoved:()=>Sl,treeRelationRepointed:()=>Cl,treeSecondaryLabelShown:()=>Pl,treeSorted:()=>ql,treesResetInitialTrees:()=>$l,treesRestoreFromInitialTrees:()=>Jl,treesStateRestored:()=>Zl,treesStateSaved:()=>Xl});var pe={};r.r(pe),r.d(pe,{getAllTreesEditingConnections:()=>od,getCommands:()=>nd,getTree:()=>ed,getTreeEditingConnection:()=>id,getTreeRoot:()=>td,getTreeTotal:()=>rd});var _e={};r.r(_e),r.d(_e,{actions:()=>ue,constants:()=>Te,reducer:()=>Ud,selectors:()=>pe});var ye={};r.r(ye),r.d(ye,{getActiveErrorsForAttributesPager:()=>cc,getAllRelationsToAddAndEdit:()=>Ec,getAllTreesEditingConnections:()=>Dc,getAttributeTypeErrors:()=>lc,getAttributesErrors:()=>dc,getConnectionsByViewId:()=>$d,getConnectionsTemporaryUrisForCreation:()=>tc,getConnectionsWithDraftsByViewId:()=>Xd,getDependentLookupEditorState:()=>Ic,getDependentLookups:()=>kd,getDependentLookupsInitedTypeUris:()=>gc,getDependentLookupsStructure:()=>Rc,getDependentLookupsStructureNode:()=>Oc,getDraftsForSaveByViewId:()=>ec,getEditingOrAddingConnectionByViewIdAndRelationUri:()=>Zd,getEditingOrAddingConnectionRelationObjectByViewIdAndRelationUri:()=>Qd,getEntity:()=>Cd,getEntityHasChanges:()=>Pc,getErrors:()=>wd,getHistory:()=>jd,getHistoryDiff:()=>Ac,getHistoryEvent:()=>fc,getHistoryMode:()=>vc,getHistorySlice:()=>Nc,getIsEditableMode:()=>rc,getIsHistoryModeEnabled:()=>Sc,getIsSuggestMode:()=>ic,getIsViewMode:()=>nc,getLookups:()=>Md,getMode:()=>Fd,getModifiedEntities:()=>md,getModifiedEntity:()=>zd,getModifiedEntityDefaultProfilePic:()=>Kd,getOperation:()=>Hd,getProfileCancelNeedConfirm:()=>Uc,getProfileHasChanges:()=>Lc,getRelationToAddByViewId:()=>oc,getRelations:()=>Yd,getRelationsHasChanges:()=>bc,getRelationsToEditByViewId:()=>ac,getRelationsViewIds:()=>qd,getSidePanelViews:()=>Wd,getTotalByViewId:()=>Jd,getTree:()=>Tc,getTreeCommands:()=>_c,getTreeEditingConnection:()=>yc,getTreeHasChanges:()=>hc,getTreeRoot:()=>uc,getTreeTotal:()=>pc,getTrees:()=>Vd,getUri:()=>Bd,getUriWithDataTenant:()=>xd,getViewIdsForOpenRelation:()=>sc,getViews:()=>Gd});var De={};r.r(De),r.d(De,{ProfileOperationActions:()=>Vc});var Re={};r.r(Re),r.d(Re,{profileUpdateOperation:()=>Mc});var Oe={};r.r(Oe),r.d(Oe,{actions:()=>Re,constants:()=>De,reducer:()=>cT});var ge={};r.r(ge),r.d(ge,{ProfileViewsActions:()=>TT});var Ie={};r.r(Ie),r.d(Ie,{profileViewsSet:()=>uT});var Ae={};r.r(Ae),r.d(Ae,{actions:()=>Ie,constants:()=>ge,reducer:()=>pT});var fe={};r.r(fe),r.d(fe,{SidePanelViewsActions:()=>_T});var Ne={};r.r(Ne),r.d(Ne,{sidePanelViewsLoaded:()=>yT});var Se={};r.r(Se),r.d(Se,{actions:()=>Ne,constants:()=>fe,reducer:()=>RT});var ve={};r.r(ve),r.d(ve,{actions:()=>p,constants:()=>u,dependentLookups:()=>G,entity:()=>z,errors:()=>Z,history:()=>ee,lookups:()=>ne,mode:()=>ae,modifiedEntities:()=>le,operation:()=>Oe,reducer:()=>OT,relations:()=>ce,sagas:()=>dT,selectors:()=>ye,sidePanelViews:()=>Se,trees:()=>_e,views:()=>Ae});const Pe="DATA_TENANTS_UPDATED";var he=r(17440);const be=e=>t=>({type:e,payload:t}),Le=be(Pe),Ue=null,Ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue,t=arguments.length>1?arguments[1]:void 0;return t.type===Pe?t.payload||Ue:e},me="TENANTS_UPDATED",we=be(me),Ye=null,Ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ye,t=arguments.length>1?arguments[1]:void 0;return t.type===me?t.payload||Ye:e},Me="METADATA_LOADED",ke=e=>{let{tenant:t,metadata:r}=e;return{type:Me,payload:{tenant:t,metadata:r}}},Fe="OPEN_ENTITY",je="NEW_ENTITY_SHOWN",He="ENTITY_DELETION_FINISHED",Ge="OPEN_PERSPECTIVE",We="UI_CONFIG_LOADED",Be="NEW_UI_CONFIG_LOADED",xe="PATHS_SET",ze="LOCALIZATION_LOADED",Ke="ATTRIBUTE_PRESENTATIONS_LOADED",qe="AUTOCLOSE_INTERVAL_LOADED",Xe="SET_PREFER_REACT",Ze="OPEN_CONSOLE_APP",Qe="OPEN_APP_FROM_CHOCOLATE_BAR",Je="NUMBER_FORMAT_UPDATED",$e="OPEN_GRAPH",et="DATE_MASK_UPDATED",tt="DATE_TIME_MASK_UPDATED",rt="OPEN_SEARCH",nt="OPEN_HISTORY_EVENT",it="KEYS_SET",ot="OPEN_PIVOTING_PERSPECTIVE",at="ERROR_SET",Et="SHOW_NOTIFICATION",st="CLOSE_NOTIFICATION";var lt=r(57941);function dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ct(e,t,r[t])}))}return e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tt={},ut=(0,he.pipe)(lt.BBN,lt.j0k),pt=(0,he.map)(lt.j0k),_t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Me:{const{tenant:r,metadata:n}=t.payload;return dt({},e,{[r]:ut(n)})}case ze:return pt(e);default:return e}};let yt;!function(e){e.ADD_ATTRIBUTES="ADD_ATTRIBUTES",e.MODIFY_ATTRIBUTE="MODIFY_ATTRIBUTE",e.REMOVE_ATTRIBUTE="REMOVE_ATTRIBUTE",e.REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES="REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES",e.ADD_NEXT_PAGE_ATTRIBUTE_VALUES="ADD_NEXT_PAGE_ATTRIBUTE_VALUES",e.PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES="PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES",e.ADD_DEFAULT_VALUES="ADD_DEFAULT_VALUES",e.SAVE_PROFILE="SAVE_PROFILE",e.VALIDATE_PROFILE="VALIDATE_PROFILE"}(yt||(yt={}));const Dt=be(yt.ADD_ATTRIBUTES),Rt=be(yt.ADD_DEFAULT_VALUES),Ot=be(yt.MODIFY_ATTRIBUTE),gt=be(yt.REMOVE_ATTRIBUTE),It=be(yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES),At=be(yt.PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES),ft=be(yt.REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES),Nt=be(yt.SAVE_PROFILE),St=be(yt.VALIDATE_PROFILE);let vt;!function(e){e.DEPENDENT_LOOKUPS_STRUCTURE_SET="DEPENDENT_LOOKUPS_STRUCTURE_SET",e.DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED="DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED",e.DEPENDENT_LOOKUPS_EDITORS_BLOCKED="DEPENDENT_LOOKUPS_EDITORS_BLOCKED"}(vt||(vt={}));const Pt=be(vt.DEPENDENT_LOOKUPS_STRUCTURE_SET),ht=be(vt.DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED),bt=be(vt.DEPENDENT_LOOKUPS_EDITORS_BLOCKED),Lt=e=>e.structure,Ut=e=>e.initedTypeUris,Ct=(e,t)=>e.structure[t],mt=(e,t)=>e.editors[t];let wt;function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Vt(e,t,r[t])}))}return e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.MODE_UPDATED="MODE_UPDATED",e.MODE_CANCEL_EDITING="MODE_CANCEL_EDITING",e.MODE_EDITING_CANCELED="MODE_EDITING_CANCELED"}(wt||(wt={}));const Mt={structure:{},editors:{},initedTypeUris:[]},kt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case wt.MODE_UPDATED:{const r=t.payload;return(0,lt.uzs)(r)?Mt:e}case vt.DEPENDENT_LOOKUPS_STRUCTURE_SET:return Yt({},e,{structure:t.payload});case vt.DEPENDENT_LOOKUPS_INITED_TYPE_URIS_ADDED:{const r=t.payload;return Yt({},e,{initedTypeUris:(0,he.uniq)(e.initedTypeUris.concat(r))})}case vt.DEPENDENT_LOOKUPS_EDITORS_BLOCKED:{const{uris:r,isBlocked:n}=t.payload,i=e.editors,o=r.reduce(((e,t)=>Yt({},e,{[t]:{isBlocked:n}})),i);return Yt({},e,{editors:o})}default:return e}};var Ft=r(86661);const jt="SEARCH_RESULTS_SET",Ht="KEYWORD_UPDATED",Gt="UPDATE_STATE",Wt="SAVE_STATE",Bt="ACTIVITY_FILTER_UPDATED",xt="GLOBAL_FILTER_UPDATED",zt="SEARCH_OPTIONS_UPDATED",Kt="SET_SEARCH_OPTIONS_CONFIG",qt="SET_SEARCH_PROVIDER_DATA",Xt="SET_SEARCH_NAVIGATION_DATA",Zt="UPDATE_SEARCH_NAVIGATION_DATA_FIELDS",Qt=be(jt),Jt=be(Ht),$t=be(Gt),er=be(Wt),tr=be(Bt),rr=e=>{let{query:t,savedSearches:r,savedSearchesUris:n,isMuted:i}=e;return{type:xt,payload:{query:t,savedSearches:r,savedSearchesUris:n,isMuted:i}}},nr=be(zt),ir=be(Kt),or=be(qt),ar=be(Xt),Er=be(Zt);var sr=r(97698);const lr=e=>e.searchResults,dr=e=>e.keyword,cr=e=>e.activityFilter,Tr=e=>e.globalFilter,ur=(0,he.pathOr)("",["globalFilter","query"]),pr=(0,he.path)(["globalFilter","savedSearchesUris"]),_r=e=>e.searchOptions,yr=e=>e.searchProviderData,Dr=e=>e.searchNavigationData,Rr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,he.pipe)(_r,(0,he.omit)(t),(0,he.filter)(he.identity),he.keys,(0,he.join)(","))(e)},Or=(0,sr.createSelector)(Rr,cr,ur,((e,t,r)=>({searchOptions:e,activityFilter:t,globalFilter:r}))),gr="searchNavigation";function*Ir(){const e=yield(0,Ft.Ys)(gT.selectors.getSearchNavigationData),t=yield(0,Ft.Ys)(gT.selectors.getSearchProviderData);sessionStorage.setItem(gr,JSON.stringify({searchNavigationData:e,searchProviderData:t}))}function*Ar(){let e;try{e=JSON.parse(sessionStorage.getItem(gr))||{}}catch(t){e={}}const{searchNavigationData:t,searchProviderData:r}=e;t&&r&&(yield(0,Ft.gz)(or(r)),yield(0,Ft.gz)(ar(t)))}const fr=[function*(){yield(0,Ft.Fm)([Xt,Zt,Fe],Ir)},function*(){yield(0,Ft.RE)(Ar)}];function Nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Sr(e,t,r[t])}))}return e}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vr={searchResults:[],keyword:null,searchOptions:{searchByOv:!1,ovOnly:!1},activityFilter:"active",globalFilter:{query:null,savedSearchesUris:[],isMuted:!0},searchProviderData:null,searchNavigationData:null},Pr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case jt:return Nr({},e,{searchResults:t.payload});case Ht:{const r=(0,he.pick)(["value","isRawFilter"],t.payload||{});return Nr({},e,{keyword:(0,he.isEmpty)(r)?null:r})}case Gt:return Nr({},vr,{keyword:(0,he.isNil)(t.payload.keyword)||(0,he.isEmpty)(t.payload.keyword)?null:t.payload.keyword,searchOptions:t.payload.searchOptions||e.searchOptions,activityFilter:e.activityFilter,globalFilter:e.globalFilter,searchNavigationData:e.searchNavigationData,searchProviderData:e.searchProviderData});case Bt:return Nr({},e,{activityFilter:t.payload});case xt:return Nr({},e,{globalFilter:t.payload});case zt:return Nr({},e,{searchOptions:Nr({},e.searchOptions,t.payload)});case Kt:{const r=!!t.payload.showSearchByOv;return Nr({},e,{searchOptions:{searchByOv:r,ovOnly:r}})}case qt:return Nr({},e,{searchProviderData:t.payload});case Xt:return Nr({},e,{searchNavigationData:t.payload});case Zt:return Nr({},e,{searchNavigationData:Nr({},e.searchNavigationData,t.payload)});case Fe:{var r;const n=(0,lt.rSp)(t.payload.uri);return"navigation"===t.payload.source||n===(null===(r=e.searchNavigationData)||void 0===r?void 0:r.uri)?e:Nr({},e,{searchNavigationData:null})}default:return e}},hr=e=>{let{uri:t,viewId:r,source:n=null}=e;return{type:Fe,payload:{uri:t,viewId:r,source:n}}},br=e=>{let{entity:t}=e;return{type:je,payload:{entity:t}}},Lr=be(He),Ur=e=>{let{perspectiveId:t,viewId:r}=e;return{type:Ge,payload:{perspectiveId:t,viewId:r}}},Cr=e=>({type:Et,payload:e}),mr=e=>({type:st,payload:e}),wr=be(xe),Yr=be(We),Vr=be(Be),Mr=be(Ke),kr=be(qe),Fr=be(Xe),jr=be(Je),Hr=(e,t,r)=>({type:Ze,payload:{name:e,path:t,query:r}}),Gr=e=>({type:Qe,payload:e}),Wr=be($e),Br=be(ze),xr=be(et),zr=be(tt),Kr=e=>({type:rt,payload:"searchState"in e?e:{searchState:e}}),qr=e=>{let{entityUri:t,historyEvent:r}=e;return{type:nt,payload:{entityUri:t,historyEvent:r}}},Xr=be(it),Zr=be(ot),Qr=e=>({type:at,payload:e}),Jr=(0,he.path)(["paths","imagePath"]),$r=(0,he.path)(["paths","exportPath"]),en=(0,he.path)(["paths","apiPath"]),tn=(0,he.path)(["paths","uiPath"]),rn=(0,he.path)(["paths","reltioPath"]),nn=(0,he.path)(["paths","dtssPath"]),on=(0,he.path)(["paths","workflowPath"]),an=(0,he.path)(["paths","workflowEnvironmentURL"]),En=(0,he.path)(["paths","collaborationPath"]),sn=(0,he.path)(["paths","imageServicePath"]),ln=(0,he.path)(["paths","dvfPath"]),dn=(0,he.path)(["paths","validationServicePath"]),cn=(0,he.path)(["paths","adminToolsPath"]),Tn=(0,he.path)(["paths","mlDqPath"]),un=(0,he.either)((0,he.path)(["newConfig","properties","attributePresentations"]),(0,he.path)(["attributePresentations"])),pn=e=>e.autoCloseInterval,_n=(0,he.either)((0,he.path)(["config","com.reltio.plugins.entity.EntityRequestSettings","defaultMaxValues"]),(0,he.path)(["newConfig","properties","entity","requestSettings","defaultMaxValues"])),yn=(0,he.path)(["numberFormat"]),Dn=(0,he.path)(["dateMask"]),Rn=(0,he.path)(["notifications"]),On=(0,he.path)(["dateTimeMask"]),gn=["config","com.reltio.plugins.pivoting.PivotingSettings","pivotingAttributes"],In=(0,he.chain)((0,he.prop)("attribute-types")),An=(0,he.ifElse)((0,he.hasPath)(gn),(0,he.path)(gn),(0,he.pipe)((0,he.pathOr)([],["newConfig","pivoting"]),In)),fn=(0,he.either)((0,he.path)(["config","com.reltio.plugins.imageattribute.fieldsorder"]),(0,he.path)(["newConfig","properties","image","attributeFieldsOrder"])),Nn=(0,he.either)((0,he.path)(["config","com.reltio.plugins.ui.LookupAutocomplete"]),(0,he.path)(["newConfig","properties","lookups","autocomplete"])),Sn=(0,he.path)(["keys","googleMapKey"]),vn=(0,he.path)(["keys","idpLicenseKey"]),Pn=["config","com.reltio.plugins.entity.ValidationServiceLevels","levels"],hn=(0,he.ifElse)((0,he.hasPath)(Pn),(0,he.path)(Pn),(0,he.path)(["newConfig","properties","validate","levels"])),bn=(0,he.ifElse)((0,he.hasPath)(["config","com.reltio.plugins.entity.Validation","validateReadMode"]),(0,he.path)(["config","com.reltio.plugins.entity.Validation","validateReadMode"]),(0,he.pathOr)(!0,["newConfig","properties","validate","validateReadMode"])),Ln=(0,he.either)((0,he.path)(["config","com.reltio.plugins.workflow.configuration","enabled"]),(0,he.path)(["newConfig","properties","workflow","enabled"])),Un=(0,he.path)(["error"]),Cn=(0,he.path)(["paths","servicesPath"]),mn=(0,he.path)(["newConfig"]),wn=(0,he.pathOr)(!0,["newConfig","properties","showEntityId"]);function Yn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Vn(e,t,r[t])}))}return e}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Mn={},kn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case xe:return Yn({},e,{paths:t.payload});case We:return Yn({},e,{config:t.payload});case Be:return Yn({},e,{newConfig:t.payload});case Ke:return Yn({},e,{attributePresentations:t.payload});case qe:return Yn({},e,{autoCloseInterval:t.payload});case Je:return Yn({},e,{numberFormat:t.payload});case et:return Yn({},e,{dateMask:t.payload});case tt:return Yn({},e,{dateTimeMask:t.payload});case it:return Yn({},e,{keys:t.payload});case at:return Yn({},e,{error:t.payload});case Et:return Yn({},e,{notifications:[...e.notifications||[],t.payload]});case st:return(0,he.evolve)({notifications:(0,he.reject)((0,he.propEq)("id",t.payload))},e);default:return e}},Fn="USER_UPDATED",jn=be(Fn),Hn=e=>null==e?void 0:e.username,Gn=e=>null==e?void 0:e.roles,Wn=null,Bn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wn,t=arguments.length>1?arguments[1]:void 0;return t.type===Fn?t.payload||Wn:e},xn="TENANT_UPDATED",zn="TENANT_NAME_UPDATED",Kn=be(xn),qn=be(zn),Xn=(0,he.prop)("id"),Zn=(0,he.prop)("name");function Qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Jn(e,t,r[t])}))}return e}function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case xn:return Qn({},e,{id:t.payload});case zn:return Qn({},e,{name:t.payload});default:return e}},ei="ENVIRONMENT_UPDATED",ti=be(ei),ri=(0,he.prop)("id");function ni(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){ii(e,t,r[t])}))}return e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oi=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===ei?ni({},e,{id:t.payload}):e},ai=e=>e.dataTenants,Ei=e=>e.tenants,si=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ko(e);return e.metadata&&e.metadata[t]},li=e=>e.tenant,di=e=>e.environment,ci=e=>e.user,Ti=e=>e.ui,ui=e=>e.profile,pi=e=>e.search,_i=e=>Cd(ui(e)),yi=e=>Bd(ui(e)),Di=e=>xd(ui(e)),Ri=(e,t)=>$d(ui(e),t),Oi=(e,t,r)=>Zd(ui(e),t,r),gi=(e,t,r)=>Qd(ui(e),t,r),Ii=(e,t,r)=>Xd(ui(e),t,r),Ai=(e,t)=>ec(ui(e),t),fi=e=>tc(ui(e)),Ni=(e,t,r)=>Jd(ui(e),t,r),Si=e=>Md(ui(e)),vi=e=>wd(ui(e)),Pi=e=>qd(ui(e)),hi=e=>Ac(ui(e)),bi=e=>fc(ui(e)),Li=e=>Nc(ui(e)),Ui=e=>Sc(ui(e)),Ci=e=>vc(ui(e)),mi=(e,t)=>zd(ui(e),t),wi=(e,t)=>Kd(ui(e),t),Yi=e=>md(ui(e)),Vi=(e,t,r)=>{let{uri:n}=r;return lc(ui(e),t,n)},Mi=(e,t,r)=>{let{uri:n}=r;return dc(ui(e),t,n)},ki=(e,t,r)=>cc(ui(e),t,r),Fi=e=>Jr(Ti(e)),ji=e=>en(Ti(e)),Hi=e=>$r(Ti(e)),Gi=e=>tn(Ti(e)),Wi=e=>rn(Ti(e)),Bi=e=>sn(Ti(e)),xi=e=>cn(Ti(e)),zi=e=>un(Ti(e)),Ki=e=>yn(Ti(e)),qi=e=>_n(Ti(e)),Xi=e=>pn(Ti(e)),Zi=e=>Dn(Ti(e)),Qi=e=>On(Ti(e)),Ji=e=>Rn(Ti(e)),$i=e=>An(Ti(e)),eo=e=>fn(Ti(e)),to=e=>Nn(Ti(e)),ro=e=>Sn(Ti(e)),no=e=>vn(Ti(e)),io=e=>hn(Ti(e)),oo=e=>bn(Ti(e)),ao=e=>lr(pi(e)),Eo=e=>dr(pi(e)),so=e=>cr(pi(e)),lo=e=>_r(pi(e)),co=e=>yr(pi(e)),To=e=>Dr(pi(e)),uo=(e,t)=>Or(pi(e),t),po=e=>Rr(pi(e)),_o=e=>Tr(pi(e)),yo=e=>pr(pi(e)),Do=e=>Fd(ui(e)),Ro=e=>rc(ui(e)),Oo=e=>nc(ui(e)),go=e=>ic(ui(e)),Io=(e,t)=>oc(ui(e),t),Ao=(e,t)=>ac(ui(e),t),fo=(e,t)=>Ec(ui(e),t),No=(e,t)=>sc(ui(e),t),So=e=>Jr(Ti(e))||en(Ti(e)),vo=e=>Hn(ci(e)),Po=e=>Gn(ci(e)),ho=e=>Vd(ui(e)),bo=(e,t)=>Tc(ui(e),t),Lo=(e,t)=>uc(ui(e),t),Uo=(e,t)=>pc(ui(e),t),Co=e=>_c(ui(e)),mo=(e,t,r)=>yc(ui(e),t,r),wo=(e,t)=>Dc(ui(e),t),Yo=e=>Hd(ui(e)),Vo=e=>Gd(ui(e)),Mo=e=>Uc(ui(e)),ko=e=>Xn(li(e)),Fo=e=>Zn(li(e)),jo=e=>ri(di(e)),Ho=e=>nn(Ti(e)),Go=e=>on(Ti(e)),Wo=e=>an(Ti(e)),Bo=e=>Ln(Ti(e)),xo=e=>En(Ti(e)),zo=e=>ln(Ti(e)),Ko=e=>dn(Ti(e)),qo=e=>Tn(Ti(e)),Xo=(0,sr.createSelector)(ci,ko,lt.Qp_),Zo=(0,sr.createSelector)(ci,ko,lt.UEY),Qo=(0,sr.createSelector)(ci,ko,lt.Q0T),Jo=(0,sr.createSelector)(ci,ko,lt.sBn),$o=(0,sr.createSelector)(ci,ko,lt.itK),ea=(0,sr.createSelector)(ci,ko,lt.H9$),ta=(0,sr.createSelector)(ci,ko,lt.KPc),ra=(0,sr.createSelector)(ci,ko,lt.zos),na=(0,sr.createSelector)(ci,ko,lt.iuF),ia=(0,sr.createSelector)(ci,ko,lt.Wib),oa=(0,sr.createSelector)(ci,ko,lt.XUh),aa=(0,sr.createSelector)(ci,ko,lt.sKE),Ea=(0,sr.createSelector)(ci,ko,lt.WmG),sa=(0,sr.createSelector)(ci,ko,lt.QKx),la=(0,sr.createSelector)(ci,ko,lt.Oik),da=(0,sr.createSelector)(ci,ko,lt.s0A),ca=(0,sr.createSelector)(ci,ko,lt.o9m),Ta=(0,sr.createSelector)(ci,ko,lt.MCd),ua=(0,sr.createSelector)(ci,ko,lt.fGe),pa=(0,sr.createSelector)(ci,ko,lt.Cz4),_a=(0,sr.createSelector)(ci,ko,lt.dZs),ya=(0,sr.createSelector)(ci,ko,lt.E$L),Da=(0,sr.createSelector)(ci,ko,lt._jk),Ra=(0,sr.createSelector)(ci,ko,lt.z_L),Oa=(0,sr.createSelector)(ci,ko,lt.Lyr),ga=(0,sr.createSelector)(ci,ko,lt.Hn0),Ia=(0,sr.createSelector)(ci,ko,lt.ELQ),Aa=(0,sr.createSelector)(ci,ko,lt.obS),fa=(0,sr.createSelector)(xo,Ui,((e,t)=>!!e&&!t)),Na=(0,sr.createSelector)(Go,Bo,((e,t)=>!!e&&!!t)),Sa=e=>{var t,r;return null!==(t=null===(r=Wd(ui(e)))||void 0===r?void 0:r.includes("com.reltio.plugins.entity.side.WorkflowsView"))&&void 0!==t&&t},va=e=>{var t,r;return null!==(t=null===(r=Wd(ui(e)))||void 0===r?void 0:r.includes("com.reltio.plugins.entity.collaboration.DiscussionsView"))&&void 0!==t&&t},Pa=e=>Rc(ui(e)),ha=(e,t)=>Oc(ui(e),t),ba=e=>gc(ui(e)),La=(e,t)=>Ic(ui(e),t),Ua=e=>Un(Ti(e)),Ca=(e,t)=>{const r=si(e),n=Do(e),i=_i(e),{nextEntry:o,inRelations:a=[],outRelations:E=[]}=t;if(n!==lt.ARY.Editing&&n!==lt.ARY.Suggesting||o)return!1;{const e=(0,lt.Z5t)(n,(0,lt.nt9)(r,i.type)),t=a.concat(E).map((e=>(0,lt.V3K)(r,e.uri||e))).some((0,lt.d89)(n));return e&&t}},ma=(0,sr.createSelector)(_i,Oo,Li,hi,lt.Ob5),wa=(0,sr.createSelector)(_i,Oo,Li,lt.KUV),Ya=e=>Cn(Ti(e)),Va=e=>mn(Ti(e)),Ma=e=>wn(Ti(e));let ka,Fa;!function(e){e.MODIFIED_ENTITY_CREATED="MODIFIED_ENTITY_CREATED",e.MODIFIED_ENTITY_DELETED="MODIFIED_ENTITY_DELETED",e.MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET="MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET",e.MODIFIED_ENTITIES_RESET="MODIFIED_ENTITIES_RESET"}(ka||(ka={})),function(e){e.RELATIONS_LOADED="RELATIONS_LOADED",e.REMOVE_RELATION="REMOVE_RELATION",e.EDIT_RELATION="EDIT_RELATION",e.ADD_RELATION="ADD_RELATION",e.OPEN_RELATION_EDITOR="OPEN_RELATION_EDITOR",e.CLOSE_RELATION_EDITOR="CLOSE_RELATION_EDITOR",e.SET_RELATION_TYPE="SET_RELATION_TYPE",e.SET_RELATION_ENTITY="SET_RELATION_ENTITY",e.IGNORE_RELATION="IGNORE_RELATION",e.SECOND_LEVEL_RELATIONS_LOADED="SECOND_LEVEL_RELATIONS_LOADED"}(Fa||(Fa={}));var ja=r(51095),Ha=r.n(ja);const Ga=e=>[e,"relationToAdd"],Wa=e=>[e,"relationsToEdit"],Ba=(e,t)=>e.find((0,he.pipe)(xa,(0,he.equals)(t))),xa=(0,he.path)((0,lt.y6v)()),za=(0,he.path)((0,lt.Qrb)()),Ka=(0,he.path)((0,lt.DiQ)()),qa=(0,he.path)((0,lt.avf)()),Xa=(0,he.path)((0,lt.cfX)()),Za=(e,t)=>(0,he.path)([t,"connections"],e),Qa=(e,t,r)=>r?(0,he.pipe)((0,he.path)([t,"connections"]),(0,he.find)((e=>{let{entity:t}=e;return t.entityUri===r})),(0,he.pathOr)(0,["total"]))(e):(0,he.pathOr)(0,[t,"total"],e),Ja=(e,t)=>(0,he.path)([t,"drafts"],e),$a=(e,t)=>(0,he.path)(Ga(t),e),eE=(e,t)=>(0,he.pathOr)([],Wa(t),e),tE=(e,t)=>(0,he.concat)(eE(e,t),[$a(e,t)]),rE=(e,t)=>(0,he.pipe)((0,he.when)((0,he.always)(t),(0,he.pick)(t)),he.values,(0,he.map)((0,he.props)(["relationToAdd","relationsToEdit"])),he.flatten,(0,he.reject)(he.isNil))(e),nE=(e,t)=>Object.keys(e).filter((r=>{const n=tE(e,r);return!!Ba(n,t)})),iE=(e,t,r)=>{const n=(0,he.pipe)((0,he.pathOr)([],[t,"drafts","addedConnections"]),(0,he.filter)((0,he.pipe)(xa,lt.ZiX)),(0,he.when)((0,he.always)(r),(0,he.filter)((0,he.propEq)("parentEntityUri",r))),he.length)(e);return Qa(e,t,r)+n},oE=Ha()(Za,Ja,((e,t,r)=>r),(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const{addedConnections:i=[],editedConnections:o=[],removedUris:a=[],ignoredRelationData:E=[]}=r,s=(0,he.pipe)(xa,he.equals,(0,he.find)(he.__,a)),l=E.map((e=>e.relationUri)),d=(0,he.pipe)(xa,he.equals,(0,he.find)(he.__,l)),c=e=>(0,he.pipe)((0,he.eqBy)(xa),(0,he.find)(he.__,o),(0,he.unless)(he.isNil,lt.EyD))(e),T=n?(null===(e=t.find((e=>e.entity.entityUri===n)))||void 0===e?void 0:e.connections)||[]:t,u=i.filter((0,he.propEq)("parentEntityUri",n));return u.map(lt.xsF).concat(T.filter((e=>!u.some((0,he.pipe)(xa,(0,he.equals)(xa(e)))))).map((0,he.pipe)((0,he.either)(c,he.identity),(0,he.when)(s,lt.Lxg),(0,he.when)(d,lt.FQA))))}))(((e,t,r)=>t+r)),aE=(e,t,r)=>{const n=tE(e,t);return Ba(n,r)},EE=(e,t,r)=>{const n=aE(e,t,r);return za(n)},sE=(e,t)=>{const r=(0,he.pipe)($a,(0,he.ifElse)(lt.u1G,(0,he.omit)(["isNew"]),(0,he.always)(null)))(e,t),{removedUris:n=[],addedConnections:i=[],editedConnections:o=[],ignoredRelationData:a=[]}=Ja(e,t)||{},E=eE(e,t),s=(0,he.anyPass)([lt.xr3,(0,he.complement)(lt.NWi)]),l=(0,he.pipe)((0,he.filter)(s),(0,he.map)(lt.zhn))(E),d=l.map(xa),c=(0,he.pipe)((0,he.reject)((0,he.pipe)(xa,(0,he.includes)(he.__,d))),(0,he.concat)(l))(o),T=(0,he.pipe)((0,he.filter)(lt.xvW),(0,he.map)(lt.zhn),(0,he.when)((0,he.always)((0,he.complement)(lt.O27)(r)),(0,he.append)(r)))(E),u=T.map(xa);return{removedUris:n,addedConnections:(0,he.pipe)((0,he.reject)((0,he.pipe)(xa,(0,he.includes)(he.__,u))),(0,he.concat)(T))(i),editedConnections:c,ignoredRelationData:a}},lE=e=>(0,he.keys)(e).reduce(((t,r)=>{const{addedConnections:n,editedConnections:i}=sE(e,r);return(0,he.pipe)(he.concat,(0,he.map)(qa),(0,he.filter)(lt.ZiX),(0,he.concat)(t))(n,i)}),[]);function*dE(e){const t=e.payload,r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(Pa),i=[t.type],o=yield(0,Ft.Ys)(ba),a=(0,lt.idW)({structure:n,metadata:r,typeUris:i,alreadyAddedTypeUris:o}),E=(0,lt.z$M)({structure:a,metadata:r,entityOrRelation:t});yield(0,Ft.gz)(Pt(E)),yield(0,Ft.gz)(ht(i))}function*cE(e,t){const r=(0,lt.u5q)(e);return(0,lt.bC9)(r)?yield(0,Ft.Ys)(gi,t,r):yield(0,Ft.Ys)(mi,r)}function*TE(e){const{attributeType:t,metadata:r,parentUri:n,viewId:i}=e.payload,o=yield(0,Ft.RE)(cE,n,i),a=yield(0,Ft.Ys)(Pa);if(o)if(t){const e=(0,lt.XtP)(r,o,t.uri).filter((e=>{let{uri:t}=e;return t.startsWith(n)}))[0],i=(0,lt.asT)({structure:a,attributeValue:e});yield(0,Ft.gz)(Pt(i))}else{const e=[o.type],t=yield(0,Ft.Ys)(ba),n=(0,lt.idW)({structure:a,metadata:r,typeUris:e,alreadyAddedTypeUris:t}),i=(0,lt.z$M)({structure:n,metadata:r,entityOrRelation:o});yield(0,Ft.gz)(Pt(i)),yield(0,Ft.gz)(ht(e))}}function*uE(e){const t=e.payload,r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(Pa);let i=n;for(const e of t){const{attributeType:t,parentUri:o,viewId:a}=e;if((0,lt.E8K)(n,t.uri)){const e=yield(0,Ft.RE)(cE,o,a);e&&(i=(0,lt.sx)({structure:i,entityOrRelation:e,attrTypeUri:t.uri,metadata:r}))}}i!==n&&(yield(0,Ft.gz)(Pt(i)))}function*pE(e){const{attributeType:t,uri:r,viewId:n,silent:i}=e.payload,{value:o,lookupCode:a}=e.payload.value,E=a||o,s=yield(0,Ft.Ys)(Pa);if((yield(0,Ft.RE)(cE,r,n))&&(0,lt.E8K)(s,t.uri)){i||(yield(0,Ft.rM)(OE,s,{type:t.uri,uri:r,lookupValue:E}));const e=(0,lt.asT)({structure:s,attributeValue:{type:t.uri,value:E,uri:r}});yield(0,Ft.gz)(Pt(e))}}function*_E(e,t){const r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(mi,t),i=yield(0,Ft.Ys)(Yi),o=(0,lt.SAs)(i,n);let a=e;for(const e of[n,...o])a=(0,lt.z$M)({structure:a,metadata:r,entityOrRelation:e});return a}function*yE(e,t){const r=yield(0,Ft.Ys)(mi,t),n=yield(0,Ft.Ys)(Yi),i=(0,lt.SAs)(n,r).map((0,he.prop)("uri"));let o=e;for(const e of[t,...i])o=(0,lt.eWN)({structure:o,uri:e});return o}function*DE(e){const{attributeType:t,uri:r,attributeValue:n,viewId:i}=e.payload,o=yield(0,Ft.Ys)(Pa),a=(0,lt.E8K)(o,t.uri);if(yield(0,Ft.RE)(cE,r,i)){a&&(yield(0,Ft.rM)(OE,o,{type:t.uri,uri:r,lookupValue:""}));let e=a||(0,lt.YkM)(t)?(0,lt.eWN)({structure:o,uri:r}):o;if((0,lt.YkG)(t)&&n){const t=(0,lt.bwT)(n);(0,lt.ZiX)(t)&&(e=yield(0,Ft.RE)(yE,e,t))}e!==o&&(yield(0,Ft.gz)(Pt(e)))}}function*RE(e){const t=yield(0,Ft.Ys)(Pa),r=yield(0,Ft.RE)(yE,t,e.payload);yield(0,Ft.gz)(Pt(r))}function*OE(e,t){const r=yield(0,Ft.Ys)(si),n=yield(0,Ft.Ys)(Yi),i=yield(0,Ft.Ys)(fo),o=yield(0,Ft.Ys)(yi),a=yield(0,Ft.Ys)(to),E=(0,lt.Sj8)({structure:e,typeUri:t.type,valueUri:t.uri,modifiedEntities:n,connections:i,entityUri:o,config:a});if(E.length>0){const e=E.map((e=>e.uri));yield(0,Ft.gz)(bt({uris:e,isBlocked:!0}));try{const e=yield(0,Ft.RE)(lt.tGK,E,t);for(const n of e){const{type:e,uri:i,lookupValue:o,displayName:a}=n,E=(yield(0,Ft.Ys)(No,(0,lt.u5q)(i)))[0],s=yield(0,Ft.RE)(cE,i,E);s&&(0,lt.dLR)(s,i)&&i!==t.uri&&(yield(0,Ft.gz)(Ot({attributeType:(0,lt.zeJ)(r,e),uri:i,value:{value:a||"",lookupCode:o||""},silent:!0,viewId:E})))}}catch(e){console.error(e)}yield(0,Ft.gz)(bt({uris:e,isBlocked:!1}))}}function*gE(e){const t=e.payload.connection,r=qa(t);if((0,lt.ZiX)(r)&&(yield(0,Ft.Ys)(mi,r))){yield(0,Ft.qn)(vt.DEPENDENT_LOOKUPS_STRUCTURE_SET);const e=yield(0,Ft.Ys)(Pa),t=yield(0,Ft.RE)(_E,e,r);yield(0,Ft.gz)(Pt(t))}}function*IE(e){const t=e.payload.relationUri,r=yield(0,Ft.Ys)(Pa),n=(0,lt.eWN)({structure:r,uri:t});yield(0,Ft.gz)(Pt(n))}function*AE(e){const t=e.payload.id,r=e.payload.relationUri;if(0===(yield(0,Ft.Ys)(No,r)).length){const e=yield(0,Ft.Ys)(Pa);let n=(0,lt.eWN)({structure:e,uri:r});const i=yield(0,Ft.Ys)(Ii,t),o=Ba(i,r),a=qa(o);(0,lt.ZiX)(a)&&(n=yield(0,Ft.RE)(yE,n,a)),yield(0,Ft.gz)(Pt(n))}}const fE=[function*(){yield(0,Ft.ib)(ka.MODIFIED_ENTITY_CREATED,dE)},function*(){yield(0,Ft.ib)(ka.MODIFIED_ENTITY_DELETED,RE)},function*(){yield(0,Ft.ib)(yt.ADD_DEFAULT_VALUES,TE)},function*(){yield(0,Ft.ib)(yt.ADD_ATTRIBUTES,uE)},function*(){yield(0,Ft.ib)(yt.MODIFY_ATTRIBUTE,pE)},function*(){yield(0,Ft.ib)(yt.REMOVE_ATTRIBUTE,DE)},function*(){yield(0,Ft.ib)(Fa.OPEN_RELATION_EDITOR,gE)},function*(){yield(0,Ft.ib)(Fa.SET_RELATION_TYPE,IE)},function*(){yield(0,Ft.ib)(Fa.CLOSE_RELATION_EDITOR,AE)}];let NE;!function(e){e.ENTITY_LOADED="ENTITY_LOADED",e.DEFAULT_PROFILE_PIC_SET="DEFAULT_PROFILE_PIC_SET",e.LOAD_ENTITY="LOAD_ENTITY",e.ENTITY_CREATION_REQUESTED="ENTITY_CREATION_REQUESTED",e.ENTITY_REMOVE_REQUESTED="ENTITY_REMOVE_REQUESTED",e.CLEAR_ENTITY="CLEAR_ENTITY",e.CLONE_ENTITY="CLONE_ENTITY"}(NE||(NE={}));const SE=be(NE.ENTITY_LOADED),vE=be(NE.DEFAULT_PROFILE_PIC_SET),PE=be(NE.LOAD_ENTITY),hE=be(NE.ENTITY_CREATION_REQUESTED),bE=be(NE.ENTITY_REMOVE_REQUESTED),LE=be(NE.CLONE_ENTITY),UE=be(NE.CLEAR_ENTITY),CE=e=>null==e?void 0:e.uri,mE=e=>null==e?void 0:e.dataTenant,wE=(0,sr.createSelector)(mE,CE,((e,t)=>(0,lt.wwR)({dataTenant:e,uri:t})));function YE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){VE(e,t,r[t])}))}return e}function VE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ME={},kE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ME,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case NE.ENTITY_LOADED:return t.payload;case NE.DEFAULT_PROFILE_PIC_SET:return"object"==typeof t.payload&&null!==t.payload?YE({},e,{defaultProfilePic:t.payload.uri,defaultProfilePicValue:t.payload}):e;case yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES:{const{parentUri:r,attributeTypeName:n,attributeTypeUri:i,values:o}=t.payload,a=(0,lt.xy8)(i);if(r===e.uri){const t=(0,he.lensPath)([a,n]);return(0,he.over)(t,(0,he.pipe)((0,he.defaultTo)([]),(0,he.concat)(he.__,o)),e)}return e}case NE.CLEAR_ENTITY:return ME;default:return e}};let FE;!function(e){e.ERRORS_SET="ERRORS_SET",e.REMOVE_ERROR="REMOVE_ERROR",e.ERROR_DEACTIVATED="ERROR_DEACTIVATED"}(FE||(FE={}));const jE=(e,t,r)=>(0,he.pipe)((0,he.filter)((0,he.allPass)([(0,he.propEq)("parentUri",t),(0,he.propEq)("attributeTypeUri",r),(0,he.pipe)((0,he.prop)("uri"),he.isEmpty)])),(0,he.map)((0,he.prop)("message")),(0,he.join)(". "))(e),HE=(e,t,r)=>(0,he.filter)((0,he.allPass)([(0,he.propEq)("parentUri",t),(0,he.propEq)("attributeTypeUri",r),(0,he.pipe)((0,he.prop)("uri"),he.isEmpty,he.not)]))(e),GE=[],WE=Ha()(he.identity,((e,t)=>{let{parentUri:r}=t;return r}),((e,t)=>{let{attributeType:r}=t;return r}),((e,t,r)=>{const n=(0,lt.UUb)(t,r,e);return 0===n.length?GE:n}))(((e,t)=>{let{parentUri:r,attributeType:n}=t;return`${r}-${n.uri}`})),BE=(e,t,r)=>WE(e,{parentUri:t,attributeType:r}),xE=be(FE.ERROR_DEACTIVATED),zE=be(FE.ERRORS_SET);function KE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){qE(e,t,r[t])}))}return e}function qE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const XE=[],ZE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:XE,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case FE.ERRORS_SET:return t.payload;case FE.ERROR_DEACTIVATED:{const r=t.payload,n=e.findIndex((e=>(0,lt.iFp)(e)===r)),i=(0,he.lensPath)([n]);return(0,he.over)(i,(0,he.assoc)("deactivated",!0),e)}case yt.REMOVE_ATTRIBUTE:{const{uri:r}=t.payload;return e.map((e=>e.uri===r||(0,lt.sOy)(e.parentUri,r)?KE({},e,{deactivated:!0}):e))}case wt.MODE_UPDATED:return t.payload===lt.ARY.Viewing?XE:e;case NE.ENTITY_LOADED:return XE;default:return e}};let QE;!function(e){e.HISTORY_DIFF_SET="HISTORY_DIFF_SET",e.HISTORY_DIFF_CLEARED="HISTORY_DIFF_CLEARED",e.HISTORY_EVENT_SET="HISTORY_EVENT_SET",e.HISTORY_EVENT_CLEARED="HISTORY_EVENT_CLEARED",e.HISTORY_SLICE_SET="HISTORY_SLICE_SET",e.HISTORY_MODE_SET="HISTORY_MODE_SET"}(QE||(QE={}));const JE=be(QE.HISTORY_DIFF_SET),$E=be(QE.HISTORY_DIFF_CLEARED),es=be(QE.HISTORY_EVENT_SET),ts=be(QE.HISTORY_EVENT_CLEARED),rs=be(QE.HISTORY_SLICE_SET),ns=be(QE.HISTORY_MODE_SET),is=e=>e.diff,os=e=>e.event,as=e=>e.slice,Es=e=>!(0,lt.O27)(e.slice),ss=e=>e.mode;let ls;function ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){cs(e,t,r[t])}))}return e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.Current="Current",e.Previous="Previous"}(ls||(ls={}));const Ts={mode:ls.Previous},us=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ts,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case QE.HISTORY_DIFF_SET:return ds({},e,{diff:t.payload});case QE.HISTORY_DIFF_CLEARED:return ds({},e,{diff:Ts.diff});case QE.HISTORY_EVENT_SET:return ds({},e,{event:t.payload});case NE.ENTITY_LOADED:case Fe:case QE.HISTORY_EVENT_CLEARED:return ds({},Ts,{mode:e.mode});case QE.HISTORY_SLICE_SET:return ds({},e,{slice:t.payload});case QE.HISTORY_MODE_SET:return ds({},e,{mode:t.payload});default:return e}},ps="LOOKUPS_LOADED",_s="LOOKUPS_FOR_TYPE_RESOLVED",ys="LOOKUPS_LIST_RESOLVED",Ds=be(ps),Rs=be(_s),Os=be(ys);function gs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Is(e,t,r[t])}))}return e}function Is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const As={},fs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:As,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ps:return t.payload;case _s:{const{type:r,values:n}=t.payload;return gs({},e,{[r]:gs({},e[r],n)})}case ys:return t.payload.reduce(((e,t)=>Object.keys(t).reduce(((e,r)=>gs({},e,{[r]:gs({},e[r],t[r])})),e)),e);case"UI_RESET":return gs({},As);default:return e}},Ns=be(wt.MODE_UPDATED),Ss=be(wt.MODE_CANCEL_EDITING),vs=be(wt.MODE_EDITING_CANCELED),Ps=lt.fnZ,hs=lt.whI,bs=lt.uzs,Ls=lt.KIu,Us=lt.ARY.Viewing,Cs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Us,t=arguments.length>1?arguments[1]:void 0;return t.type===wt.MODE_UPDATED?t.payload:e},ms=be(ka.MODIFIED_ENTITY_CREATED),ws=be(ka.MODIFIED_ENTITY_DELETED),Ys=be(ka.MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET),Vs=be(ka.MODIFIED_ENTITIES_RESET),Ms=(e,t)=>t&&e[t],ks=(e,t)=>t&&e[t]&&e[t].defaultProfilePic;function Fs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const js=(0,he.curry)(((e,t)=>{let{attributeType:r,subAttributes:n,metadata:i,mode:o}=e;const a=(0,lt.XtP)(i,t,r.uri)[0],E=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Fs(e,t,r[t])}))}return e}({},a,{value:(0,lt.GPx)({attributeTypes:n,parentUri:a.uri,mode:o})});return(0,lt.ww$)({entity:t,attributeType:r,uri:a.uri,value:E})}));function Hs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Gs(e,t,r[t])}))}return e}function Gs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ws={},Bs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ws,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ka.MODIFIED_ENTITY_CREATED:{const r=t.payload;return Hs({},e,{[r.uri]:r})}case ka.MODIFIED_ENTITY_DELETED:{const r=t.payload;return(0,he.omit)([r],e)}case ka.MODIFIED_ENTITIES_RESET:return Ws;case wt.MODE_UPDATED:return t.payload===lt.ARY.Viewing?Ws:e;case ka.MODIFIED_ENTITY_DEFAULT_PROFILE_PIC_SET:{const{entityUri:r,value:n}=t.payload;return r?Hs({},e,{[r]:Hs({},e[r],{defaultProfilePic:n.uri,defaultProfilePicValue:n})}):e}case yt.ADD_ATTRIBUTES:return t.payload.reduce(((e,t)=>{const{attributeType:r,parentUri:n,index:i}=t,o=(0,lt.u5q)(n);if((0,lt.WgC)(o)){const t=e[o];return(0,lt.xOX)(r)?Hs({},e,{[o]:(0,lt.Wm5)({entity:t,attributeType:r})}):Hs({},e,{[o]:(0,lt.tPT)({entity:t,attributeType:r,parentUri:n,index:i})})}return e}),e);case yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES:{const{parentUri:r,attributeTypeName:n,attributeTypeUri:i,values:o}=t.payload,a=(0,lt.xy8)(i);if((0,lt.WgC)(r)&&r in e){const t=(0,he.lensPath)([r,a,n]);return(0,he.over)(t,(0,he.pipe)((0,he.defaultTo)([]),(0,he.concat)(he.__,o)),e)}return e}case yt.MODIFY_ATTRIBUTE:{const{attributeType:r,uri:n,value:i}=t.payload,o=(0,lt.u5q)(n);if((0,lt.WgC)(o)){const t=e[o];return(0,lt.xOX)(r)?Hs({},e,{[o]:(0,lt.hxF)({entity:t,attributeType:r,value:i})}):Hs({},e,{[o]:(0,lt.ww$)({entity:t,attributeType:r,uri:n,value:i})})}return e}case yt.REMOVE_ATTRIBUTE:{const{attributeType:r,uri:n}=t.payload,i=(0,lt.u5q)(n);if((0,lt.WgC)(n)){const t=e[i];return(0,lt.xOX)(r)?Hs({},e,{[i]:(0,lt.Ki6)({entity:t,attributeType:r})}):Hs({},e,{[i]:(0,lt.d$I)({entity:t,attributeType:r,uri:n})})}return e}case yt.ADD_DEFAULT_VALUES:{const{attributeType:r,parentUri:n,metadata:i,mode:o}=t.payload,a=(0,lt.u5q)(n);if((0,lt.WgC)(a)){const t=(0,he.ifElse)((0,he.always)((0,lt.QZu)(r)),he.identity,lt.tzW)((0,lt.EUG)(i,r));return(0,he.over)((0,he.lensProp)(a),js({attributeType:r,subAttributes:t,metadata:i,mode:o}),e)}return e}default:return e}};function xs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){zs(e,t,r[t])}))}return e}function zs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function*Ks(e){const{values:t,parentUri:r,attributeTypeUri:n,attributeTypeName:i}=e.payload;let o=t;const a=yield(0,Ft.Ys)(_i);if(r===a.uri){const e=(0,lt.xy8)(n),r=(0,he.pipe)((0,he.pathOr)([],[e,i]),(0,he.map)((0,he.prop)("uri")))(a),E=(0,he.intersection)(r,t.map((0,he.prop)("uri")));o=t.filter((e=>!E.includes(e.uri)))}o.length&&(yield(0,Ft.gz)(It(xs({},e.payload,{values:o}))))}function*qs(){return{apiPath:yield(0,Ft.Ys)(ji),tenant:yield(0,Ft.Ys)(ko)}}function*Xs(e){const{attributeTypeName:t,attributeTypeUri:r}=e.payload,n=yield(0,Ft.RE)(qs);try{const i=yield(0,Ft.RE)(lt.KbL,xs({},e.payload,n)),o=(0,lt.xy8)(r),a=(0,he.pathOr)([],[o,t],i);yield(0,Ft.gz)(At(xs({},e.payload,{values:a})))}catch(e){}}const Zs=[function*(){yield(0,Ft.ib)(yt.REQUEST_NEXT_PAGE_ATTRIBUTE_VALUES,Xs)},function*(){yield(0,Ft.ib)(yt.PROCESS_NEXT_PAGE_ATTRIBUTE_VALUES,Ks)}],Qs=be(Fa.RELATIONS_LOADED),Js=be(Fa.SECOND_LEVEL_RELATIONS_LOADED),$s=(0,he.curry)(((e,t)=>({type:Fa.REMOVE_RELATION,payload:{id:e,relationUri:t}}))),el=(0,he.curry)(((e,t)=>({type:Fa.IGNORE_RELATION,payload:{id:e,ignoredRelationData:t}}))),tl=(0,he.curry)(((e,t)=>({type:Fa.ADD_RELATION,payload:{id:e,connection:t}}))),rl=(0,he.curry)(((e,t)=>({type:Fa.EDIT_RELATION,payload:{id:e,connection:t}}))),nl=(0,he.curry)(((e,t)=>({type:Fa.OPEN_RELATION_EDITOR,payload:{id:e,connection:t}}))),il=(0,he.curry)(((e,t)=>({type:Fa.CLOSE_RELATION_EDITOR,payload:{id:e,relationUri:t}}))),ol=(0,he.curry)(((e,t,r)=>({type:Fa.SET_RELATION_TYPE,payload:{id:e,relationUri:t,relationType:r}}))),al=(0,he.curry)(((e,t,r)=>({type:Fa.SET_RELATION_ENTITY,payload:{id:e,relationUri:t,entityInfo:r}})));function El(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){sl(e,t,r[t])}))}return e}function sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ll={},dl={removedUris:[],addedConnections:[],editedConnections:[],ignoredRelationData:[]},cl=(e,t,r)=>{if((0,he.pathEq)([...Ga(e),"relation","relationUri"],t,r))return Ga(e);{const n=((0,he.path)(Wa(e),r)||[]).findIndex((0,he.pathEq)(["relation","relationUri"],t));return n>=0?[...Wa(e),n]:null}},Tl=(e,t,r)=>{const n=cl(e,t,r);return n?(0,he.lensPath)([...n,"relation"]):null},ul=(0,he.pipe)(Tl,(e=>(0,he.compose)(e,(0,he.lensProp)("object")))),pl=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ll,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Fa.RELATIONS_LOADED:{const{id:r,connections:n=[],total:i}=t.payload;return(0,he.pipe)((0,he.assocPath)([r,"connections"],n),(0,he.assocPath)([r,"total"],i))(e)}case Fa.SECOND_LEVEL_RELATIONS_LOADED:{const{id:r,connections:n,parentEntityUri:i,total:o}=t.payload,a=(0,he.path)([r,"connections"],e).map((e=>{const{entityUri:t}=e.entity;return t===i?El({},e,{total:o,connections:n.map((e=>El({},e,{parentEntityUri:i})))}):e}));return(0,he.assocPath)([r,"connections"],a,e)}case wt.MODE_UPDATED:{const r=t.payload;return(0,he.map)(bs(r)?(0,he.omit)(["drafts","relationsToEdit","relationToAdd"]):(0,he.assoc)("drafts",dl),e)}case Fa.REMOVE_RELATION:{const{id:r,relationUri:n}=t.payload,i=(0,he.pipe)(xa,(0,he.equals)(n)),o=(0,he.path)([r,"connections"],e),a=!((0,lt.ZiX)(n)||null!=o&&o.some((e=>e.suggested&&e.relation.relationUri===n)));return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({removedUris:a?(0,he.append)(n):he.identity,addedConnections:(0,he.reject)(i)})}},e)}case Fa.IGNORE_RELATION:{const{id:r,ignoredRelationData:n}=t.payload;return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({ignoredRelationData:(0,he.append)(n)})}},e)}case Fa.ADD_RELATION:{const{id:r,connection:n}=t.payload,i=(0,he.omit)(["isNew"],n);return(0,he.evolve)({[r]:(0,he.pipe)((0,he.when)((0,he.propSatisfies)(he.isNil,"drafts"),(0,he.assocPath)(["drafts"],dl)),(0,he.evolve)({drafts:{addedConnections:(0,he.prepend)(i)}}))},e)}case Fa.EDIT_RELATION:{const{id:r,connection:n}=t.payload,i=(0,he.eqBy)(xa,n);if((0,lt.ZiX)(xa(n))){const t=e=>{const t=e.findIndex(i);return t>=0?(0,he.update)(t,n,e):e};return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({addedConnections:t})}},e)}{const t=e=>{const t=e.findIndex(i);return t>=0?(0,he.update)(t,n,e):[...e,n]};return(0,he.evolve)({[r]:{drafts:(0,he.evolve)({editedConnections:t})}},e)}}case Fa.OPEN_RELATION_EDITOR:{const{id:r,connection:n}=t.payload;if(n.isNew){const t=Ga(r);return(0,he.path)(t,e)?e:(0,he.assocPath)(t,n,e)}{const t=(0,he.lensPath)(Wa(r)),i=(0,he.eqBy)((0,he.path)(["relation","relationUri"]),n);return(0,he.over)(t,(0,he.pipe)((0,he.defaultTo)([]),(0,he.unless)((0,he.find)(i),(0,he.append)(n))),e)}}case Fa.CLOSE_RELATION_EDITOR:{const{id:r,relationUri:n}=t.payload,i=(0,he.pathEq)(["relation","relationUri"],n);return(0,he.evolve)({[r]:{relationToAdd:(0,he.when)(i,(0,he.always)(null)),relationsToEdit:(0,he.reject)(i)}},e)}case Fa.SET_RELATION_TYPE:{const{id:r,relationUri:n,relationType:i}=t.payload,o=cl(r,n,e);if(o){const t=[...o,"relation"],r=(0,he.lensPath)(t);return(0,he.over)(r,(0,lt.ewt)(i),e)}return e}case yt.ADD_ATTRIBUTES:return t.payload.reduce(((e,t)=>{const{attributeType:r,parentUri:n,index:i,viewId:o}=t,a=(0,lt.u5q)(n),E=Tl(o,a,e);if(E&&(0,lt.bC9)(a)){if((0,lt.j2U)(r)){const t=(0,he.view)(E,e),n=(0,lt.Wm5)({entity:t,attributeType:r});return(0,he.set)(E,n,e)}{const t=ul(o,a,e),E=(0,he.view)(t,e),s=(0,lt.tPT)({entity:E,attributeType:r,parentUri:n,index:i});return(0,he.set)(t,s,e)}}return e}),e);case yt.ADD_NEXT_PAGE_ATTRIBUTE_VALUES:{const{parentUri:r,attributeTypeName:n,values:i,viewId:o}=t.payload;if(!(0,lt.bC9)(r))return e;const a=(0,lt.u5q)(r),E=cl(o,a,e),s=(0,he.lensPath)([...E,"relation","object","attributes",n]);return(0,he.over)(s,(0,he.pipe)((0,he.defaultTo)([]),(0,he.append)(i)),e)}case yt.MODIFY_ATTRIBUTE:{const{attributeType:r,viewId:n,uri:i,value:o}=t.payload,a=(0,lt.u5q)(i),E=Tl(n,a,e);if(E&&(0,lt.bC9)(a)){if((0,lt.j2U)(r)){const t=(0,he.view)(E,e),n=(0,lt.hxF)({entity:t,attributeType:r,value:o});return(0,he.set)(E,n,e)}{const t=ul(n,a,e),E=(0,he.view)(t,e),s=(0,lt.ww$)({entity:E,attributeType:r,uri:i,value:o});return(0,he.set)(t,s,e)}}return e}case yt.REMOVE_ATTRIBUTE:{const{attributeType:r,uri:n,viewId:i}=t.payload,o=(0,lt.u5q)(n),a=Tl(i,o,e);if(a&&(0,lt.bC9)(o)){if((0,lt.j2U)(r)){const t=(0,he.view)(a,e),n=(0,lt.Ki6)({entity:t,attributeType:r});return(0,he.set)(a,n,e)}{const t=ul(i,o,e),a=(0,he.view)(t,e),E=(0,lt.d$I)({entity:a,attributeType:r,uri:n});return(0,he.set)(t,E,e)}}return e}case Fa.SET_RELATION_ENTITY:{const{id:r,relationUri:n,entityInfo:i}=t.payload,o=cl(r,n,e);if(o){const t=[...o,"entity"],r=(0,he.lensPath)(t),{uri:n,label:a,type:E}=i,s=(0,he.isEmpty)(i)?{}:{entityUri:n,entityLabel:a,entityType:E,object:{uri:n,label:a,type:E}};return(0,he.set)(r,s,e)}return e}case yt.ADD_DEFAULT_VALUES:{const{viewId:r,attributeType:n,parentUri:i,metadata:o,mode:a}=t.payload,E=(0,lt.u5q)(i);if((0,lt.bC9)(E)){const t=cl(r,E,e);if(t){if(n){const r=[...t,"relation","object"],i=(0,lt.EUG)(o,n);return(0,he.over)((0,he.lensPath)(r),js({attributeType:n,subAttributes:i,metadata:o,mode:a}),e)}{const r=[...t,"relation","object","attributes"],n=[...t,"relation","object","type"],E=(0,he.view)((0,he.lensPath)(n),e),{attributes:s=[]}=(0,lt.V3K)(o,E);return(0,he.over)((0,he.lensPath)(r),(0,lt.X0$)({metadata:o,mode:a,attributeTypes:s,parentUri:i}),e)}}return e}return e}default:return e}};let _l;!function(e){e.TREES_RESET_INITIAL_TREES="TREES_RESET_INITIAL_TREES",e.TREES_RESTORE_FROM_INITIAL_TREES="TREES_RESTORE_FROM_INITIAL_TREES",e.TREES_STATE_RESTORED="TREES_STATE_RESTORED",e.TREES_STATE_SAVED="TREES_STATE_SAVED",e.TREE_ACTIVENESS_DATE_CHANGED="TREE_ACTIVENESS_DATE_CHANGED",e.TREE_CHANGED="TREE_CHANGED",e.TREE_CHILDREN_LOADED="TREE_CHILDREN_LOADED",e.TREE_CHILDREN_LOADING="TREE_CHILDREN_LOADING",e.TREE_COMMANDS_CLEARED="TREE_COMMANDS_CLEARED",e.TREE_CURRENT_ENTITY_SHOWN="TREE_CURRENT_ENTITY_SHOWN",e.TREE_ENTITIES_MAPPING_LOADED="TREE_ENTITIES_MAPPING_LOADED",e.TREE_LOADED="TREE_LOADED",e.TREE_LOADED_WITH_ERROR="TREE_LOADED_WITH_ERROR",e.TREE_LOADING="TREE_LOADING",e.TREE_NODE_CREATED="TREE_NODE_CREATED",e.TREE_NODE_EDITED="TREE_NODE_EDITED",e.TREE_NODE_EDITING_APPLIED="TREE_NODE_EDITING_APPLIED",e.TREE_NODE_EDITING_CANCELED="TREE_NODE_EDITING_CANCELED",e.TREE_NODE_EDITING_STARTED="TREE_NODE_EDITING_STARTED",e.TREE_NODE_ENTITY_CHANGED="TREE_NODE_ENTITY_CHANGED",e.TREE_NODE_EXPANDED="TREE_NODE_EXPANDED",e.TREE_NODE_NEW_CHILD_EDITING_APPLIED="TREE_NODE_NEW_CHILD_EDITING_APPLIED",e.TREE_NODE_NEW_CHILD_EDITING_CANCELED="TREE_NODE_NEW_CHILD_EDITING_CANCELED",e.TREE_NODE_NEW_CHILD_EDITING_STARTED="TREE_NODE_NEW_CHILD_EDITING_STARTED",e.TREE_NODE_NEW_PARENT_EDITING_APPLIED="TREE_NODE_NEW_PARENT_EDITING_APPLIED",e.TREE_NODE_NEW_PARENT_EDITING_CANCELED="TREE_NODE_NEW_PARENT_EDITING_CANCELED",e.TREE_NODE_NEW_PARENT_EDITING_STARTED="TREE_NODE_NEW_PARENT_EDITING_STARTED",e.TREE_NODE_RELATION_TYPE_CHANGED="TREE_NODE_RELATION_TYPE_CHANGED",e.TREE_NODE_REMOVED="TREE_NODE_REMOVED",e.TREE_SECONDARY_LABEL_SHOWN="TREE_SECONDARY_LABEL_SHOWN",e.TREE_SCROLL_TO_NODE_RESET="TREE_SCROLL_TO_NODE_RESET",e.TREE_SORTED="TREE_SORTED",e.TREE_REFRESHED="TREE_REFRESHED",e.TREE_RELATION_CREATED="TREE_RELATION_CREATED",e.TREE_RELATION_EDITED="TREE_RELATION_EDITED",e.TREE_RELATION_REMOVED="TREE_RELATION_REMOVED",e.TREE_RELATION_REPOINTED="TREE_RELATION_REPOINTED"}(_l||(_l={}));const yl=be(_l.TREE_LOADED),Dl=be(_l.TREE_LOADED_WITH_ERROR),Rl=be(_l.TREE_LOADING),Ol=be(_l.TREE_SCROLL_TO_NODE_RESET),gl=be(_l.TREE_COMMANDS_CLEARED),Il=be(_l.TREE_CHILDREN_LOADING),Al=be(_l.TREE_CURRENT_ENTITY_SHOWN),fl=be(_l.TREE_REFRESHED),Nl=be(_l.TREE_NODE_EXPANDED),Sl=be(_l.TREE_RELATION_REMOVED),vl=be(_l.TREE_NODE_REMOVED),Pl=be(_l.TREE_SECONDARY_LABEL_SHOWN),hl=be(_l.TREE_ENTITIES_MAPPING_LOADED),bl=be(_l.TREE_CHANGED),Ll=be(_l.TREE_NODE_EDITED),Ul=be(_l.TREE_ACTIVENESS_DATE_CHANGED),Cl=be(_l.TREE_RELATION_REPOINTED),ml=be(_l.TREE_RELATION_CREATED),wl=be(_l.TREE_NODE_CREATED),Yl=be(_l.TREE_RELATION_EDITED),Vl=be(_l.TREE_NODE_EDITED),Ml=be(_l.TREE_NODE_EDITING_STARTED),kl=be(_l.TREE_NODE_EDITING_APPLIED),Fl=be(_l.TREE_NODE_EDITING_CANCELED),jl=be(_l.TREE_NODE_NEW_PARENT_EDITING_STARTED),Hl=be(_l.TREE_NODE_NEW_PARENT_EDITING_APPLIED),Gl=be(_l.TREE_NODE_NEW_PARENT_EDITING_CANCELED),Wl=be(_l.TREE_NODE_NEW_CHILD_EDITING_STARTED),Bl=be(_l.TREE_NODE_NEW_CHILD_EDITING_APPLIED),xl=be(_l.TREE_NODE_NEW_CHILD_EDITING_CANCELED),zl=be(_l.TREE_NODE_RELATION_TYPE_CHANGED),Kl=be(_l.TREE_NODE_ENTITY_CHANGED),ql=be(_l.TREE_SORTED),Xl=be(_l.TREES_STATE_SAVED),Zl=be(_l.TREES_STATE_RESTORED),Ql=be(_l.TREE_CHILDREN_LOADED),Jl=be(_l.TREES_RESTORE_FROM_INITIAL_TREES),$l=be(_l.TREES_RESET_INITIAL_TREES),ed=(e,t)=>e.trees[t],td=(e,t)=>(0,he.path)(["trees",t,"root"],e),rd=(e,t)=>(0,he.path)(["trees",t,"total"],e),nd=(0,he.path)(["common","commands"]),id=(e,t,r)=>(0,he.path)(["trees",t,"editingConnections",r],e),od=(e,t)=>(0,he.pipe)((0,he.prop)("trees"),(0,he.when)((0,he.always)(t),(0,he.pick)(t)),he.values,(0,he.map)((0,he.pipe)((0,he.prop)("editingConnections"),he.values)),he.flatten,(0,he.reject)(he.isNil))(e);var ad=r(76665);function Ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){sd(e,t,r[t])}))}return e}function sd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ld=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if((0,he.path)(["entity","uri"],e)===t)return r.forEach((e=>e.expanded=!0)),e;if(e.children)for(const n of e.children){const i=ld(n,t,r.concat(e));if(i)return i}},dd=(e,t)=>{const r=Object.keys(e).reduce(((r,n)=>{const i=e[n];return t[n]&&(i.parent=(0,he.uniq)([].concat(i.parent).concat(t[n].parent).filter(he.identity))),r[n]=i,r}),{});return Object.keys(t).forEach((e=>{r[e]||(r[e]=t[e])})),r},cd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=(0,he.reject)((0,he.prop)("loading")),n=r(e);return t.forEach((t=>{e.find((e=>(0,he.path)(["entity","uri"],e)===t.entity.uri))||n.push(t)})),n},Td=(e,t)=>{if(e&&e.children){const r=e.children.findIndex((e=>{let{nodeId:r}=e;return r===t}));r>-1&&e.children.splice(r,1)}},ud=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e&&e.children&&e.children.splice(r,0,t)},pd=e=>{let{path:t,value:r,object:n}=e,i=n;for(let e=0;e<t.length;e++){const n=t[e];e===t.length-1?i[n]="function"==typeof r?r(i[n]):r:(i[n]=i[n]||("number"==typeof n?[]:{}),i=i[n])}},_d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;e[t]=r,e.children&&e.children.forEach((e=>_d(e,t,r)))},yd=e=>({entity:e.entity,relation:e.relation}),Dd=e=>{let{id:t,draft:r,node:n}=e;pd({path:["editingConnections",n.relation.uri],object:r[t],value:yd(n)})},Rd=e=>{let{id:t,draft:r,node:n,entity:i}=e;pd({path:["editingConnections",n.relation.uri,"entity"],object:r[t],value:i})},Od=e=>{let{id:t,draft:r,node:n,relationTypeUri:i}=e;pd({path:["editingConnections",n.relation.uri,"relation"],object:r[t],value:e=>Ed({},e,{type:i,attributes:{}})})},gd=e=>{let{id:t,draft:r,relationUri:n}=e;delete r[t].editingConnections[n]},Id=e=>{let{id:t,draft:r,relationUri:n}=e;return r[t].editingConnections[n]},Ad=e=>{delete e.editingMode,delete e.relatedEntity,delete e.initialConnection},fd=e=>{let{id:t,draft:r,currentNode:n}=e;const i=r[t].root;if(i===n)r[t].root=n.children[0],r[t].root.children=r[t].root.children||[],r[t].root.children.push(...n.children.slice(1));else{const e=(0,lt.JgD)(i,n.nodeId);Td(e,n.nodeId)}},Nd=(e,t,r)=>{const n=[e,"editingConnections",t,"relation"];return(0,he.path)(n,r)?(0,he.lensPath)(n):null},Sd=(0,he.pick)(["showSecondaryLabel","sortField","sortOrder"]),vd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return dd(e,t.reduce(((e,t)=>Ed({},e,{[t.entity.uri]:(0,he.pick)(["entity","parent","relations"],t)})),{}))},Pd=e=>({entity:(0,he.pick)(["uri","type","label","secondaryLabel"],e.entity),parent:[],relations:[(0,he.pick)(["uri","type"],e.relation)]});function hd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){bd(e,t,r[t])}))}return e}function bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ld={common:{commands:[]},trees:{},initialTrees:{}},Ud=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ld,t=arguments.length>1?arguments[1]:void 0;return(0,ad.ZP)(e,(r=>{switch(t.type){case wt.MODE_UPDATED:Object.keys(null==r?void 0:r.trees).forEach((e=>{_d(r.trees[e].root,"showDetails",!1)})),(0,lt.uzs)(t.payload)&&(r.common.commands=[],r.initialTrees={}),(0,lt.KIu)(t.payload)&&(r.initialTrees=hd({},r.trees));break;case wt.MODE_EDITING_CANCELED:case _l.TREES_RESTORE_FROM_INITIAL_TREES:r.trees=hd({},r.initialTrees);break;case _l.TREES_RESET_INITIAL_TREES:r.initialTrees={};break;case _l.TREE_LOADED_WITH_ERROR:{const{id:e,errorMessage:n}=t.payload;r.trees[e]=r.trees[e]||{},r.trees[e].errorMessage=n,r.trees[e].loading=!1,delete r.trees[e].root,delete r.trees[e].entitiesMap;break}case _l.TREE_LOADING:{const e=t.payload;r.trees[e]=r.trees[e]||{},r.trees[e].loading=!0;break}case _l.TREE_CHILDREN_LOADING:{const{id:e,parentId:n,nodeId:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n);a.pending=!1,a.children=(a.children||[]).concat({entity:{},loading:!0,nodeId:i});break}case _l.TREE_CHILDREN_LOADED:{const{children:e,id:n,parentId:i}=t.payload,o=r.trees[n].root,a=(0,lt.nv3)(o,i);a.children=cd(a.children,e),delete a.pending;break}case _l.TREE_NODE_REMOVED:{const{id:e,nodeId:n}=t.payload,i=r.trees[e].root,o=(0,lt.JgD)(i,n);Td(o||i,n);break}case _l.TREE_NODE_CREATED:{const{id:e,parentId:n,node:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n)||o,E=a.children.length;ud(a,i,E);break}case _l.TREE_NODE_EDITED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId),a=Object.keys(n);for(const e of a)o[e]=n[e];break}case _l.TREE_NODE_EDITING_STARTED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId),a=(0,lt.JgD)(i,n.nodeId);o&&a&&(o.editingMode=lt.wwy.editing,o.relatedEntity=a.entity,delete o.loading,o.initialConnection=yd(o),Dd({id:e,draft:r.trees,node:o}));break}case _l.TREE_NODE_EDITING_APPLIED:{const{id:e,node:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,i.nodeId),E=Id({id:e,draft:r.trees,relationUri:i.relation.uri});var n;a&&E&&(Ad(a),a.entity.uri!==E.entity.uri&&null!==(n=a.children)&&void 0!==n&&n.length&&(delete a.children,a.pending=!0),a.entity=E.entity,a.relation=E.relation,gd({id:e,draft:r.trees,relationUri:i.relation.uri}));break}case _l.TREE_NODE_EDITING_CANCELED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId);o&&(Ad(o),gd({id:e,draft:r.trees,relationUri:n.relation.uri}));break}case _l.TREE_NODE_NEW_PARENT_EDITING_STARTED:{const{id:e,node:n,newNode:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n.nodeId);if(i.relatedEntity=a.entity,i.relatedNodeId=a.nodeId,i.editingMode=lt.wwy.addingParent,o===a)i.children=[o],r.trees[e].root=i;else{const e=(0,lt.JgD)(o,n.nodeId),t=e.children.findIndex((e=>a===e));ud(e,i,t)}i.initialConnection=yd(i),Dd({id:e,draft:r.trees,node:i});break}case _l.TREE_NODE_NEW_PARENT_EDITING_APPLIED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId),a=(0,lt.nv3)(i,n.relatedNodeId),E=Id({id:e,draft:r.trees,relationUri:n.relation.uri});o&&E&&(fd({id:e,draft:r.trees,currentNode:o}),a.parent=a.parent||[],a.parent.push(E.entity.uri),a.relations=a.relations||[],a.relations.push(E.relation),r.trees[e].entitiesMap=vd(r.trees[e].entitiesMap,[a,Pd(E)]),gd({id:e,draft:r.trees,relationUri:o.relation.uri}));break}case _l.TREE_NODE_NEW_PARENT_EDITING_CANCELED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.nv3)(i,n.nodeId);o&&(fd({id:e,draft:r.trees,currentNode:o}),gd({id:e,draft:r.trees,relationUri:o.relation.uri}));break}case _l.TREE_NODE_NEW_CHILD_EDITING_STARTED:{const{id:e,node:n,newNode:i}=t.payload,o=r.trees[e].root,a=(0,lt.nv3)(o,n.nodeId);i.relatedEntity=a.entity,i.editingMode=lt.wwy.addingChild,i.parent=[a.entity.uri],i.directParentUri=a.entity.uri,a.children=a.children||[],a.children.unshift(i),a.expanded=!0,i.initialConnection=yd(i),Dd({id:e,draft:r.trees,node:i});break}case _l.TREE_NODE_NEW_CHILD_EDITING_APPLIED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.JgD)(i,n.nodeId),a=(0,lt.nv3)(o,n.nodeId),E=Id({id:e,draft:r.trees,relationUri:n.relation.uri});o&&a&&E&&(Ad(a),a.entity=E.entity,a.relation=E.relation,a.relations=[E.relation],gd({id:e,draft:r.trees,relationUri:n.relation.uri}));break}case _l.TREE_NODE_NEW_CHILD_EDITING_CANCELED:{const{id:e,node:n}=t.payload,i=r.trees[e].root,o=(0,lt.JgD)(i,n.nodeId);o&&(Td(o,n.nodeId),gd({id:e,draft:r.trees,relationUri:n.relation.uri}));break}case _l.TREE_NODE_RELATION_TYPE_CHANGED:{const{id:e,node:n,relationTypeUri:i}=t.payload,o=Id({id:e,draft:r.trees,relationUri:n.relation.uri}).relation.type;o!==i&&(o&&Rd({id:e,draft:r.trees,node:n,entity:null}),Od({id:e,draft:r.trees,node:n,relationTypeUri:i}));break}case _l.TREE_NODE_ENTITY_CHANGED:{const{id:e,node:n,entity:i}=t.payload;Rd({id:e,draft:r.trees,node:n,entity:i});break}case yt.ADD_ATTRIBUTES:return t.payload.reduce(((e,t)=>{const{attributeType:r,parentUri:n,index:i,viewId:o}=t,a=(0,lt.u5q)(n),E=Nd(o,a,e.trees);if(E&&(0,lt.bC9)(a)){const t=(0,he.view)(E,e.trees);if((0,lt.j2U)(r)){const n=(0,lt.Wm5)({entity:t,attributeType:r});return hd({},e,{trees:(0,he.set)(E,n,e.trees)})}{const o=(0,lt.tPT)({entity:t,attributeType:r,parentUri:n,index:i});return hd({},e,{trees:(0,he.set)(E,o,e.trees)})}}return e}),e);case yt.MODIFY_ATTRIBUTE:{const{attributeType:r,viewId:n,uri:i,value:o}=t.payload,a=(0,lt.u5q)(i),E=Nd(n,a,e.trees);if(E&&(0,lt.bC9)(a)){const t=(0,he.view)(E,e.trees);if((0,lt.j2U)(r)){const n=(0,lt.hxF)({entity:t,attributeType:r,value:o});return hd({},e,{trees:(0,he.set)(E,n,e.trees)})}{const n=(0,lt.ww$)({entity:t,attributeType:r,uri:i,value:o});return hd({},e,{trees:(0,he.set)(E,n,e.trees)})}}return e}case yt.REMOVE_ATTRIBUTE:{const{attributeType:r,uri:n,viewId:i}=t.payload,o=(0,lt.u5q)(n),a=Nd(i,o,e.trees);if(a&&(0,lt.bC9)(o)){const t=(0,he.view)(a,e.trees);if((0,lt.j2U)(r)){const n=(0,lt.Ki6)({entity:t,attributeType:r});return hd({},e,{trees:(0,he.set)(a,n,e.trees)})}{const i=(0,lt.d$I)({entity:t,attributeType:r,uri:n});return hd({},e,{trees:(0,he.set)(a,i,e.trees)})}}return e}case yt.ADD_DEFAULT_VALUES:{const{viewId:r,attributeType:n,parentUri:i,metadata:o,mode:a}=t.payload,E=(0,lt.u5q)(i),s=Nd(r,E,e.trees);if((0,lt.bC9)(E)&&s){if(n){const t=(0,lt.EUG)(o,n);return hd({},e,{trees:(0,he.over)(s,js({attributeType:n,subAttributes:t,metadata:o,mode:a}),e.trees)})}{const t=(0,he.compose)(s,(0,he.lensPath)(["attributes"])),r=(0,he.compose)(s,(0,he.lensPath)(["type"])),n=(0,he.view)(r,e.trees),{attributes:E=[]}=(0,lt.V3K)(o,n);return hd({},e,{trees:(0,he.over)(t,(0,lt.X0$)({metadata:o,mode:a,attributeTypes:E,parentUri:i}),e.trees)})}}return e}case _l.TREE_ENTITIES_MAPPING_LOADED:{const{id:e,entitiesSubMap:n}=t.payload,i=r.trees[e].entitiesMap;r.trees[e].entitiesMap=dd(i,n);break}case _l.TREE_LOADED:{const{tree:e,id:n,graphTypes:i,activenessDate:o,isReversed:a}=t.payload,E=Sd(r.trees[n]||{});r.trees[n]=hd({},E,e,{graphTypes:i,activenessDate:o,isReversed:a}),delete r.trees[n].errorMessage,r.trees[n].loading=!1;break}case _l.TREE_SORTED:{const{id:e,typesLabelsMap:n={},sortField:i,sortOrder:o}=t.payload;r.trees[e]=r.trees[e]||{},r.trees[e].sortField=i,r.trees[e].sortOrder=o,r.trees[e].root&&(r.trees[e].root=(0,lt.GyU)(r.trees[e].root,{childrenProcessing:(0,lt.MjG)({sortField:i,sortOrder:o,typesLabelsMap:n})}));break}case _l.TREE_SECONDARY_LABEL_SHOWN:{const{id:e,show:n}=t.payload;r.trees[e].showSecondaryLabel=n,r.trees[e].root=hd({},r.trees[e].root);break}case _l.TREES_STATE_RESTORED:{const e=t.payload;Object.keys(e).forEach((t=>{r.trees[t]=r.trees[t]||{},r.trees[t]=hd({},r.trees[t],e[t]),r.trees[t].root&&(r.trees[t].root=hd({},r.trees[t].root))}));break}case _l.TREE_CHANGED:{const{id:e,tree:n}=t.payload;r.trees[e].root=n;break}case _l.TREE_REFRESHED:{const e=t.payload;r.trees[e].root=hd({},r.trees[e].root);break}case _l.TREE_NODE_EXPANDED:{const{id:e,nodeId:n}=t.payload,i=r.trees[e].root;(0,lt.nv3)(i,n).expanded=!0;break}case _l.TREE_CURRENT_ENTITY_SHOWN:{const{id:n,uri:i=(0,he.path)(["entity","uri"],e)}=t.payload;if(r.trees[n]){const e=ld(r.trees[n].root,i);r.trees[n].scrollTo=e}break}case _l.TREE_SCROLL_TO_NODE_RESET:{const e=t.payload;r.trees[e]&&(r.trees[e].scrollTo=null);break}case _l.TREE_ACTIVENESS_DATE_CHANGED:{const{id:e,activenessDate:n}=t.payload;r.trees[e].activenessDate=n;break}case _l.TREE_RELATION_REPOINTED:{const{entity:e,relation:n,newParent:i,isReversed:o}=t.payload,a=(0,he.prop)("uri"),E=a(e),s=a(i),l=(0,lt.ipn)({entityUri:E,relation:n,newEntityUri:s,isReversed:o});r.common.commands.push(l);break}case _l.TREE_RELATION_REMOVED:{const{relationUri:e}=t.payload;if((0,lt.ZiX)(e))r.common.commands=(0,he.reject)((0,lt.kMF)(e),r.common.commands);else{const t=(0,lt.gWE)({relationUri:e});r.common.commands.push(t)}break}case _l.TREE_RELATION_CREATED:{const{entityUri:e,relation:n,parentEntityUri:i}=t.payload,o=(0,lt.MPc)({parentUri:i,relation:n,entityUri:e});r.common.commands.push(o);break}case _l.TREE_RELATION_EDITED:{const{oldRelation:e,newRelation:n,entityUri:i,newEntityUri:o,isReversed:a}=t.payload,E=o?(0,lt.ipn)({entityUri:i,newEntityUri:o,relation:n,isReversed:a}):(0,lt._wz)({oldRelation:e,newRelation:n});r.common.commands.push(E);break}case _l.TREE_COMMANDS_CLEARED:r.common.commands=[]}}))},Cd=e=>e.entity,md=e=>e.modifiedEntities,wd=e=>e.errors,Yd=e=>e.relations,Vd=e=>e.trees,Md=e=>e.lookups,kd=e=>e.dependentLookups,Fd=e=>e.mode,jd=e=>e.history,Hd=e=>e.operation,Gd=e=>e.views,Wd=e=>e.sidePanelViews,Bd=e=>CE(Cd(e)),xd=e=>wE(Cd(e)),zd=(e,t)=>Ms(md(e),t),Kd=(e,t)=>ks(md(e),t),qd=e=>(0,he.keys)(Yd(e)),Xd=(e,t,r)=>oE(Yd(e),t,r),Zd=(e,t,r)=>aE(Yd(e),t,r),Qd=(e,t,r)=>EE(Yd(e),t,r),Jd=(e,t,r)=>iE(Yd(e),t,r),$d=(e,t)=>Za(Yd(e),t),ec=(e,t)=>sE(Yd(e),t),tc=e=>lE(Yd(e)),rc=e=>Ls(Fd(e)),nc=e=>bs(Fd(e)),ic=e=>Ps(Fd(e)),oc=(e,t)=>$a(Yd(e),t),ac=(e,t)=>eE(Yd(e),t),Ec=(e,t)=>rE(Yd(e),t),sc=(e,t)=>nE(Yd(e),t),lc=(e,t,r)=>jE(wd(e),t,r),dc=(e,t,r)=>HE(wd(e),t,r),cc=(e,t,r)=>BE(wd(e),t,r),Tc=(e,t)=>ed(Vd(e),t),uc=(e,t)=>td(Vd(e),t),pc=(e,t)=>rd(Vd(e),t),_c=e=>nd(Vd(e)),yc=(e,t,r)=>id(Vd(e),t,r),Dc=(e,t)=>od(Vd(e),t),Rc=e=>Lt(kd(e)),Oc=(e,t)=>Ct(kd(e),t),gc=e=>Ut(kd(e)),Ic=(e,t)=>mt(kd(e),t),Ac=e=>is(jd(e)),fc=e=>os(jd(e)),Nc=e=>as(jd(e)),Sc=e=>Es(jd(e)),vc=e=>ss(jd(e)),Pc=(0,sr.createSelector)(Cd,(e=>zd(e,Bd(e))),((e,t)=>!(!e||!t||(0,lt.O27)((0,lt.AID)(e,t))))),hc=(0,sr.createSelector)(Vd,(e=>{const t=nd(e),r=(0,lt.Ywp)((0,he.reject)((0,he.propSatisfies)(lt.O27,"root"),e.trees));return!(0,lt.O27)(t)||!(0,lt.O27)(r)})),bc=(0,sr.createSelector)(Yd,(e=>(0,he.keys)(e).reduce(((t,r)=>t||!(0,he.all)(lt.O27)((0,he.values)(sE(e,r)))),!1))),Lc=(0,sr.createSelector)(Pc,bc,hc,((e,t,r)=>e||t||r)),Uc=(0,sr.createSelector)(Fd,Cd,Lc,((e,t,r)=>!(e===lt.ARY.Viewing||!t)&&((0,lt.ZiX)(t.uri)||r)));var Cc=r(87918),mc=r.n(Cc),wc=r(58697),Yc=r.n(wc);let Vc;!function(e){e.PROFILE_OPERATION_UPDATE="PROFILE_OPERATION_UPDATE"}(Vc||(Vc={}));const Mc=be(Vc.PROFILE_OPERATION_UPDATE);function kc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Fc(e,t,r[t])}))}return e}function Fc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function*jc(){const e=yield(0,Ft.Ys)(gT.selectors.getEntity),t=yield(0,Ft.Ys)(gT.selectors.getMode),r=yield(0,Ft.Ys)(gT.selectors.getEntityUri),n=yield(0,Ft.Ys)(gT.selectors.getMetadata),i=yield(0,Ft.Ys)(gT.selectors.getModifiedEntity,r),o=yield(0,Ft.Ys)(gT.selectors.getModifiedEntities),a=yield(0,Ft.Ys)(gT.selectors.getProfileViews);return{entity:e,modifiedEntity:t===lt.ARY.Viewing?e:i,entityUri:r,metadata:n,modifiedEntities:t===lt.ARY.Viewing?{[r]:e}:o,profileViews:a,mode:t}}function*Hc(){return kc({},yield(0,Ft.RE)(jc),{validationServicePath:yield(0,Ft.Ys)(gT.selectors.getValidationServicePath),tenant:yield(0,Ft.Ys)(gT.selectors.getTenant),severity:yield(0,Ft.Ys)(gT.selectors.getValidationServiceSeverityLevels)})}function*Gc(){const{entityUri:e,metadata:t,modifiedEntities:r,modifiedEntity:n,profileViews:i}=yield(0,Ft.RE)(jc),o=(0,lt.V3i)(i,[lt.ZIY.Relations,lt.ZIY.RelationsTable]),a=(0,lt.V3i)(i,[lt.ZIY.HierarchyTree]),E=yield(0,Ft.Ys)(gT.selectors.getAllRelationsToAddAndEdit,o),s=yield(0,Ft.Ys)(gT.selectors.getAllTreesEditingConnections,a);return[...(0,lt.sSE)(t,r,n,(0,lt.FgW)(i)),...E.flatMap((e=>(0,lt.Bd_)(t,r,e))),...s.flatMap((e=>(0,lt.Bxm)(t,e)))].map((n=>kc({},n,{path:(0,lt.Z9i)({entityUri:e,metadata:t,connections:E,entitiesMap:r},n.uri||n.parentUri)})))}function*Wc(){const{entityUri:e,metadata:t,modifiedEntity:r,mode:n,modifiedEntities:i,validationServicePath:o}=yield(0,Ft.RE)(Hc);if(o&&(0,lt.oCZ)(t,r.type)){const r=yield(0,Ft.RE)((0,lt.ZiX)(e)?xc:zc),o=(0,he.pipe)(lt.NcL,(0,he.uniqBy)(lt.SpP))(r,{entityUri:e,metadata:t,entitiesMap:i});if(n!==lt.ARY.Viewing){const e=((e,t,r)=>r.filter((e=>{let{attributeType:t,type:r}=e;return t&&!(0,lt.q9e)(t)&&r===lt.NIO.missed})).filter((r=>{let{attributeType:n,parentUri:i}=r;const o=(0,lt.u5q)(i),a=t[o],E=a&&(0,lt.XtP)(e,a,n.uri,!0);return null==E?void 0:E.some((e=>{let{parent:t,attrValues:r}=e;return t.uri===i&&0===r.length}))})).map((e=>{let{attributeType:t,parentUri:r}=e;return{attributeType:t,parentUri:r}})))(t,i,o);e.length&&(yield(0,Ft.gz)(Dt(e)))}return o}return[]}function Bc(e){return console.error("Validation service error",e),[]}function*xc(){const{mode:e,modifiedEntity:t,modifiedEntities:r,validationServicePath:n,tenant:i,severity:o}=yield(0,Ft.RE)(Hc),a=(0,lt.rkF)(t,r);try{return yield(0,Ft.RE)(lt.W41,{validationServicePath:n,entity:a,tenant:i,severity:o,options:(0,he.reject)(he.isNil,[lt.cKm.preserveURIs,e===lt.ARY.Editing?lt.cKm.validateDataPermissions:null])})}catch(e){return Bc(e)}}function*zc(){const{entityUri:e,mode:t,entity:r,modifiedEntity:n,modifiedEntities:i,validationServicePath:o,tenant:a,severity:E}=yield(0,Ft.RE)(Hc),s=t===lt.ARY.Viewing?[]:(0,lt.C_p)(r,n,i);try{return yield(0,Ft.RE)(lt.WkI,{validationServicePath:o,uri:e,diff:s,tenant:a,severity:E,options:(0,he.reject)(he.isNil,[lt.cKm.preserveURIs,lt.cKm.updateAttributeUpdateDates,t===lt.ARY.Editing?lt.cKm.validateDataPermissions:null])})}catch(e){return Bc(e)}}function*Kc(){const e=yield(0,Ft.RE)(Gc),t=yield(0,Ft.RE)(Wc),r=(0,he.uniqBy)(lt.SpP,[...e,...t]);return yield(0,Ft.gz)(zE(r)),0===r.filter(lt.IT0).length}function qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function*Xc(e){const t=yield(0,Ft.Ys)(gT.selectors.getMetadata),r=yield(0,Ft.Ys)(gT.selectors.getMode);switch(e.type){case Fa.OPEN_RELATION_EDITOR:{const{id:n,connection:i}=e.payload;i.relation.relationType&&(yield(0,Ft.gz)(Rt({viewId:n,metadata:t,mode:r,parentUri:i.relation.object.uri})));break}case yt.ADD_ATTRIBUTES:{const n=e.payload;for(const e of n){const{attributeType:n,parentUri:i,viewId:o}=e;(0,lt.YkM)(n)&&(yield(0,Ft.gz)(Rt({viewId:o,attributeType:n,parentUri:i,metadata:t,mode:r})))}break}case Fa.SET_RELATION_TYPE:{const{id:n,relationUri:i}=e.payload;yield(0,Ft.gz)(Rt({viewId:n,metadata:t,mode:r,parentUri:i}));break}case _l.TREE_NODE_RELATION_TYPE_CHANGED:{var n;const{id:i,node:o}=e.payload;yield(0,Ft.gz)(Rt({viewId:i,metadata:t,mode:r,parentUri:null==o||null===(n=o.relation)||void 0===n?void 0:n.uri}));break}}}function*Zc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=yield(0,Ft.Ys)(ho),n=(0,lt.Ywp)(null==r?void 0:r.trees),i=yield(0,Ft.Ys)(Co),o=(0,lt.Jct)([...i,...n]);if(null!=o&&o.length){const r=(0,he.when)((0,he.always)(t),(0,lt.Lkd)(t))(o);yield(0,Ft.RE)(e,r),yield(0,Ft.gz)(gl())}}function*Qc(e){const t=yield(0,Ft.Ys)(_i),r=yield(0,Ft.Ys)(yi),n=yield(0,Ft.Ys)(mi,r),i=(0,lt.AID)(t,n);return(0,lt.lCl)(e,i)}function*Jc(e){const t=yield(0,Ft.Ys)(fi),r=yield(0,Ft.Ys)(Yi),n=yield(0,Ft.Ys)(yi),i=yield(0,Ft.Ys)(mi,n),o=(0,lt.UO$)(i),a=(0,he.concat)(o,t);return yield(0,Ft.RE)(lt.J$p,r,a,e)}function*$c(e,t){const r=e.getDCRObjectUris(),n=yield(0,Ft.Ys)(Go),i=yield(0,Ft.Ys)(Wo),o=yield(0,Ft.Ys)(ko);if(null!=r&&r.length){const a=yield(0,Ft.RE)(lt.$ju,{workflowPath:n,processType:"dataChangeRequestReview",objectURIs:(0,he.uniq)([t,...r,e.getDCRUri()]),tenant:o,environment:i});"OK"!==(null==a?void 0:a.status)&&console.error(a)}}function*eT(e,t,r,n){const i=yield(0,Ft.Ys)(Ri,r),o=yield(0,Ft.Ys)(Ai,r),a=(0,lt.RYR)(i,o,n,t);a.length&&(yield(0,Ft.RE)(e,a))}function*tT(e,t,r){const n=yield(0,Ft.Ys)(Pi),i=yield(0,Ft.Ys)(yi);for(const o of n)yield(0,Ft.rM)(eT,e,r||i,o,t)}function*rT(){try{const e=yield(0,Ft.Ys)(go),{commandExecutor:t,dcrProcessor:r}=(0,lt.XiW)({alwaysCreateDCR:e,dcrUri:null}),n=yield(0,Ft.RE)(Jc,r),i=(0,he.map)((0,he.prop)("uri"),n);yield(0,Ft.$6)([(0,Ft.RE)(Zc,t),(0,Ft.RE)(tT,t,i)]);const o=yield(0,Ft.RE)(Qc,i),a=yield(0,Ft.Ys)(yi);let E;if(null!=o&&o.length&&(E=yield(0,Ft.RE)(lt.Mzk,{uri:a,diff:o,uriPreprocessor:r.enhanceUriWithDCR})),e)E&&r.updateDCRUriFromResponse(E),yield(0,Ft.RE)($c,r,a),yield(0,Ft.gz)(Jl());else if(E){yield(0,Ft.gz)(SE(E));const{trees:e}=yield(0,Ft.Ys)(gT.selectors.getTrees),t=(0,lt.XTh)((0,he.pick)(["uri","label","secondaryLabel","type"],E),e);for(const e of t)yield(0,Ft.gz)(bl({id:e.id,tree:e.root}))}yield(0,Ft.gz)(Ns(lt.ARY.Viewing))}catch(e){console.error(e)}}function*nT(){try{const e=yield(0,Ft.Ys)(go),{commandExecutor:t,dcrProcessor:r}=(0,lt.XiW)({alwaysCreateDCR:e,dcrUri:null}),n=yield(0,Ft.Ys)(yi),i=yield(0,Ft.Ys)(gT.selectors.getModifiedEntity,n);if((0,lt.lzc)(i)){const e=Yc()();return void(yield(0,Ft.gz)(Cr({id:e,text:mc().text("Please fill out some fields."),actions:[]})))}const o=yield(0,Ft.RE)(Jc,r),a=yield(0,Ft.RE)(lt.b5s,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){qc(e,t,r[t])}))}return e}({},o,{[n]:i}),n,o,r),E=(0,he.map)((0,he.prop)("uri"),o);yield(0,Ft.$6)([(0,Ft.RE)(Zc,t,{[n]:a.uri}),(0,Ft.RE)(tT,t,E,a.uri)]),e&&(yield(0,Ft.RE)($c,r,a.uri),window.alert(mc().text("Your changes are saved as pending and have been sent for review"))),yield(0,Ft.gz)(Ns(lt.ARY.Viewing)),yield(0,Ft.gz)(e?Ur({perspectiveId:null,viewId:null}):hr({uri:a.uri,viewId:null}))}catch(e){e.errorCode?yield(0,Ft.gz)(Qr((0,lt.xU7)(e,mc().text("Something went wrong")))):console.error(e)}}function*iT(){if(yield(0,Ft.gz)(Mc(lt.OXy.Saving)),yield(0,Ft.RE)(Kc)){const e=yield(0,Ft.Ys)(yi);(0,lt.ZiX)(e)?yield(0,Ft.RE)(nT):yield(0,Ft.RE)(rT)}yield(0,Ft.gz)(Mc(null))}function*oT(e){if(e.payload!==lt.ARY.Viewing){const e=yield(0,Ft.Ys)(gT.selectors.getEntity),t=yield(0,Ft.Ys)(gT.selectors.getModifiedEntity,null==e?void 0:e.uri),r=yield(0,Ft.Ys)(gT.selectors.getMetadata);if(e&&!t&&r){const t=(0,lt.Wtd)({entity:e,metadata:r});yield(0,Ft.gz)(ms(t))}}}function*aT(e){const{entityTypeUri:t}=e.payload,r=yield(0,Ft.Ys)(gT.selectors.getMetadata),n=(0,lt.nt9)(r,t),i=(0,he.prop)("attributes",n),o=(0,lt.d89)(lt.ARY.Editing,n)?lt.ARY.Editing:lt.ARY.Suggesting,a=(0,lt.pBq)({entityTypeUri:t,attributeTypes:i,metadata:r,mode:o});yield(0,Ft.gz)(br({entity:a})),yield(0,Ft.gz)(SE(a)),yield(0,Ft.gz)(Ns(o)),yield(0,Ft.gz)($l())}function*ET(e){const{payload:{entityUri:t,data:r}}=e;yield(0,Ft.gz)(Mc(lt.OXy.Cloning));try{const e=yield(0,Ft.RE)(lt.VtG,t,r);yield(0,Ft.gz)(br({entity:e})),yield(0,Ft.gz)(SE(e)),yield(0,Ft.gz)(Ns(lt.ARY.Editing)),yield(0,Ft.gz)($l());const n=Yc()(),i=yield(0,Ft.Ys)(gT.selectors.getMetadata),o=(0,lt.nt9)(i,e.type),a=(0,lt.Edd)(lt.ARY.Editing,o);yield(0,Ft.gz)(Cr({id:n,type:"cloneAction",autoHideDuration:1e4,text:mc().text("Profile is cloned successfully. You can modify the attributes if required."),actions:a?[{label:mc().text("Undo"),needConfirmation:!0,confirmationText:mc().text("Are you sure you want to undo the cloning process?"),confirmationDescription:mc().text("Undoing the cloning process will delete the cloned profile. Are you sure you want to proceed?"),applyAction:bE({entityUri:e.uri}),cancelAction:mr(n)}]:[]}))}catch(e){yield(0,Ft.gz)(Qr((0,lt.xU7)(e,mc().text("Something went wrong"))))}yield(0,Ft.gz)(Mc(null))}function*sT(e){const{entityUri:t}=e.payload;if(!(0,lt.ZiX)(t))try{yield(0,Ft.RE)(lt.Sx,t),yield(0,Ft.gz)(Lr())}catch(e){yield(0,Ft.gz)(Qr((0,lt.xU7)(e,mc().text("Something went wrong"))))}}function*lT(){(yield(0,Ft.Ys)(Mo))&&!confirm(mc().text("Are you sure you want to cancel changes for this Profile?"))||(yield(0,Ft.gz)(vs()))}const dT=[function*(){yield(0,Ft.A7)([wt.MODE_CANCEL_EDITING],lT)},function*(){yield(0,Ft.ib)([Fa.OPEN_RELATION_EDITOR,yt.ADD_ATTRIBUTES,Fa.SET_RELATION_TYPE,_l.TREE_NODE_RELATION_TYPE_CHANGED],Xc)},function*(){yield(0,Ft.A7)([yt.SAVE_PROFILE],iT)},function*(){yield(0,Ft.ib)([wt.MODE_UPDATED],oT)},function*(){yield(0,Ft.ib)([NE.ENTITY_CREATION_REQUESTED],aT)},function*(){yield(0,Ft.Fm)([yt.VALIDATE_PROFILE],Kc)},function*(){yield(0,Ft.ib)([NE.ENTITY_REMOVE_REQUESTED],sT)},function*(){yield(0,Ft.ib)([NE.CLONE_ENTITY],ET)}],cT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===Vc.PROFILE_OPERATION_UPDATE?t.payload:e};let TT;!function(e){e.PROFILE_VIEWS_SET="PROFILE_VIEWS_SET"}(TT||(TT={}));const uT=be(TT.PROFILE_VIEWS_SET),pT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===TT.PROFILE_VIEWS_SET?t.payload:e};let _T;!function(e){e.SIDE_PANEL_VIEWS_LOADED="SIDE_PANEL_VIEWS_LOADED"}(_T||(_T={}));const yT=be(_T.SIDE_PANEL_VIEWS_LOADED),DT=[],RT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DT,t=arguments.length>1?arguments[1]:void 0;return t.type===_T.SIDE_PANEL_VIEWS_LOADED?t.payload:e},OT=(0,r(28523).combineReducers)({dependentLookups:kt,entity:kE,errors:ZE,history:us,lookups:fs,mode:Cs,modifiedEntities:Bs,relations:pl,trees:Ud,operation:cT,views:pT,sidePanelViews:RT}),gT={getModule:()=>({id:"mdm",reducerMap:{dataTenants:Ce,tenants:Ve,metadata:_t,profile:OT,tenant:$n,environment:oi,user:Bn,ui:kn,search:Pr},sagas:[...Zs,...fE,...dT,...fr]}),selectors:k}}}]);
|
|
2
2
|
//# sourceMappingURL=9431.js.map
|