"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[4741],{84741:(t,e,n)=>{n.r(e),n.d(e,{default:()=>b});var i=n(57268),l=n(94209),c=n(29445),o=n(41162),r=n(80661),s=n.n(r),a=n(63477);const x={class:"notice-content flex h-full flex-col py-[40px]"},p={class:"flex flex-shrink-0 items-center justify-between px-[70px] mb:px-[20px]"},u=(0,i._)("i",{class:"iconfont icon-return_icon text-[20px]"},null,-1),f={class:"pl-[16px] text-[16px]"},h={class:"time text-[12px] text-color-t3"},_=["innerHTML"],b=(0,i.aZ)({__name:"notice-content",setup(t){const e=(0,o.G)(),n=(0,c.iH)({title:"",createTime:0,richtext:""}),r=()=>{e.historyBack()};function b(t){(0,a.cw)(t,((t,n)=>{if("addIcon"===t){try{if(!n)return!0;const t=JSON.parse(n);if(!t||null==t||!t.type)return!0;e.addIcon(t)}catch(t){}return!0}return!1}))}return(0,i.YP)((()=>e.historyContent),(t=>{t&&(n.value=t)}),{immediate:!0}),(t,e)=>((0,i.wg)(),(0,i.iD)("section",x,[(0,i._)("div",p,[(0,i._)("button",{type:"button",class:"flex items-center text-color-t1",onClick:r},[u,(0,i._)("span",f,(0,l.toDisplayString)(n.value.title),1)]),(0,i._)("div",h,(0,l.toDisplayString)((0,c.SU)(s())(n.value.createTime).fromNow()),1)]),(0,i._)("div",{class:"content hi-scroll h-full px-[70px] pt-[24px] text-[14px] text-color-t2 mb:px-[20px]",onClick:b,innerHTML:n.value.richtext},null,8,_)]))}})}}]);