"use strict";Component({properties:{index:{type:Number,value:void 0},sdkInstance:{type:Object,value:null},themeColor:{type:Object,value:null}},data:{richTextHtml:"",richTextLinkPayload:{}},observers:{sdkInstance:function(t){var n=this;if(t){this.sdkInstance=t,this.store=t.store;var e=this;"function"==typeof this.unsub&&this.unsub(),this.unsub=null,this.unsub=this.store.get({liveInfo:function(t){var i,u,s;if(null!=t&&null!==(i=t.Menus)&&void 0!==i&&null!==(u=i.Band)&&void 0!==u&&u.RichText){var l=t.Menus.Band.RichText[n.data.index],o=((null===(s=t.Menus)||void 0===s?void 0:s.Menus)||[]).find(function(t){return 1===Number(null==t?void 0:t.Type)&&String(null==t?void 0:t.Index)===String(n.data.index)});l&&e.setData({richTextHtml:l,richTextLinkPayload:{title:(null==o?void 0:o.Name)||""}})}}})}}},lifetimes:{detached:function(){"function"==typeof this.unsub&&this.unsub(),this.unsub=null}},methods:{}});