"use strict";(self.webpackChunk_1js_files_in_taskbar=self.webpackChunk_1js_files_in_taskbar||[]).push([[6277],{72256:(e,o,i)=>{i.r(o),i.d(o,{default:()=>a});var n=i(6062),t=i(33194),s=i(90375);const r=(0,n.Ex)("search-dl.quickActions.OpenTopicCard.tooltip");const a=(0,s.w)({id:"OpenTopicCard",entityType:"Topic",parameters:[{name:"topic",entity:"Topic",isRequired:!0,validate:t.q}],execute:e=>{let{topic:o}=e;const i=window.LPC,{customProps:n,id:t}=o.value,s=(null==n?void 0:n.showCardBelow)||document.getElementById("centerRegion");return s?(function(e){null==e||e.dismissPopup()}(n),i.openCard(s,{personaInfo:{identifiers:{TopicId:t,PersonaType:"Topic"}},behavior:{locationToOpen:"ExpandedView",onCardClose:()=>function(e){null==e||e.revertDismissPopup()}(n)}}),Promise.resolve()):Promise.reject("Could not find the element to show the topic card below.")},additionalProps:{icon:{iconName:"ReopenPages"},tooltip:r}})},33194:(e,o,i)=>{function n(){const e=window.LPC;return!(!e||!e.openCard)}i.d(o,{q:()=>n})}}]);