"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[5369],{85369:(e,t,i)=>{i.r(t);var n=i(36446),a=i(30143),s=i(24581);class o extends a.ou{constructor(){super(...arguments),(0,n.Z)(this,"loadStore",(async()=>{const{useChatGptStore:e}=await Promise.resolve().then(i.bind(i,25466));e()})),(0,n.Z)(this,"addWidget",(async e=>{})),(0,n.Z)(this,"preRender",(async e=>{})),(0,n.Z)(this,"renderHome",(async e=>{const{mountHome:t}=await Promise.resolve().then(i.bind(i,52163));return setTimeout((()=>Promise.all([i.e(9469),i.e(9562)]).then(i.bind(i,19671))),20),t(e.container,e.state)})),(0,n.Z)(this,"openModal",(async()=>{await Promise.all([i.e(9469),i.e(9562)]).then(i.bind(i,19671));const{useChatGptStore:e}=await Promise.resolve().then(i.bind(i,25466));e().setModal(!0);const{useIconStore:t}=await Promise.resolve().then(i.bind(i,20222)),n=t(),a=n.findIconIndexByWidgetName(s.R.chatgpt);a?n.selectCategory(a[0]):n.saveIcon({type:"widget",name:"WeTab AI",widgetSize:"m",widgetName:s.R.chatgpt,origin:"add"})}))}}(0,a.z2)("widget-chatgpt",new o)}}]);