"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[69],{23669:(e,t,a)=>{a.r(t),a.d(t,{mountHome:()=>g,widgetApp:()=>c});var i=a(29445),l=a(68398),s=a(96755),n=a(57268),u=a(22854),r=a(3533),o=a(51322);const p=(0,n.aZ)({__name:"widget-hotsearch-home",props:{size:null,widgetData:{default:"all"},id:null,targetType:{default:"preview-list"}},setup(e){const t=e,{propsState:a}=(0,u.C)(t,c.value),l=(0,r.useHotsearchStore)(),s=()=>{const e="preview-list"===a.value.targetType?"preview":"edit";l.openModal({size:a.value.size,openType:e,editId:a.value.id},"all"===a.value.widgetData?"baidu":a.value.widgetData)};return(e,t)=>((0,n.wg)(),(0,n.iD)("section",{class:"contents cursor-pointer",onClick:s},[(0,n.Wm)(o.Z,{id:(0,i.SU)(a).id,size:(0,i.SU)(a).size,"widget-data":(0,i.SU)(a).widgetData,"target-type":(0,i.SU)(a).targetType},null,8,["id","size","widget-data","target-type"])]))}});var d=a(18023);const c=(0,i.iH)(null),g=(e,t)=>{const a=(0,l.createApp)(p,t);return(0,d.f)(a),c.value=a,a.use(s.M),a.mount(e),c.value}}}]);