PageSourceSearch

https://smartnoter.ai/_nuxt/C28uksnc.js

js smartnoter.ai collected 2026-10-05 12:39:41 UTC 3,325 bytes, 1 lines download raw bytes

1import{r as p,e as B,P as D,u as I,t as M,R as U,S as V,z as n,j as g,M as d,w as v,T as y,B as a,h as s,b,U as h,o,V as k,N as f}from"#entry";const C={class:"container my-8"},P={key:0,class:"text-red-500"},O={key:1},R={class:"heading-2"},x={class:"paragraph-s w-fit rounded-xl bg-brand-primary px-2 text-negative"},z={class:"paragraph-s"},E={class:"paragraph-s"},j={key:0},q={class:"paragraph-s"},A={class:"flex items-center"},G={class:"paragraph-s"},W={key:0,class:"paragraph-s"},F={class:"paragraph-s"},H={key:2},J={class:"heading-4 mt-8"},K={class:"paragraph-s text-red-500"},L={class:"paragraph-s",style:{"white-space":"break-spaces"}},Q={class:"heading-5 mt-4"},X=["href"],Y={class:"paragraph-s"},Z={class:"heading-5 mt-4"},tt={class:"paragraph-s",style:{"white-space":"break-spaces"}},at={key:2},rt={__name:"[id]",setup(et){const r=p(""),t=p(null),l=B(),N=D();let m=null;const c=p("idle"),{t:i}=I(),u=async()=>{try{const e=await h({method:"GET",path:`/note/${l.params.id}`});e.status===200?(t.value=e.data||null,e.data.data.read||w()):r.value=i("common.error.getNote")}catch{r.value=i("common.error.getNote")}},w=async()=>{try{await h({method:"POST",path:`/note/${l.params.id}/read`})}catch{r.value=i("common.error.readNote")}},S=async()=>{c.value="loading";try{await h({data:{noteId:l.params.id},method:"POST",path:"/meeting/end/"}),c.value="success",await u()}catch{c.value="error",r.value=i("common.error.endMeeting")}},$=e=>{const _=e._seconds*1e3+e._nanoseconds/1e6;return new Date(_).toISOString()},T=()=>{N.back()};return M(()=>{u(),m=U(()=>{u()},5e3)}),V(()=>{clearInterval(m)}),(e,_)=>(o(),n("div",C,[g(y,{class:"mb-4",type:"secondary",onClick:T},{default:v(()=>[k(a(e.$t("common.back")),1)]),_:1}),r.value?(o(),n("p",P,a(r.value),1)):d("",!0),t.value?.data?(o(),n("div",O,[s("h2",R,a(t.value?.data.title),1),s("p",x,a(t.value.data?.type),1),s("p",z,a(t.value?.id),1),s("p",E,a($(t.value?.data.createdAt)),1),t.value?.data?.type=="meeting"?(o(),n("div",j,[s("p",q,a(e.$t("demoNote.status.meeting"))+": "+a(t.value?.data?.status),1),s("div",A,[s("p",G,a(e.$t("demoNote.status.bot"))+": "+a(t.value?.data?.bot?.state),1),t.value?.data?.bot?.state!=="done"&&t.value?.data?.bot?.state!=="fatal"?(o(),b(f,{key:0,size:"custom",class:"ml-4 h-5 w-5"})):d("",!0)]),t.value?.data?.bot?.subState?(o(),n("p",W,a(e.$t("demoNote.status.botDetailed"))+": "+a(t.value?.data.bot.subState),1)):d("",!0),s("p",F,a(e.$t("demoNote.status.platform"))+": "+a(t.value?.data?.meetingPlatform||t.value?.data?.meetingUrl?.platform),1)])):d("",!0),t.value?.data?.type==="meeting"&&t.value?.data?.status==="running"?(o(),b(y,{key:1,loading:c.value==="loading",disabled:c.value==="success",class:"mt-4",type:"primary",onClick:S},{default:v(()=>[k(a(e.$t("demoNote.actions.endMeeting")),1)]),_:1},8,["loading","disabled"])):d("",!0),t.value?.data?.transcription?(o(),n("div",H,[s("h4",J,a(e.$t("common.transcription")),1),s("p",K,a(t.value?.data?.transcription?.error),1),s("p",L,a(t.value?.data?.transcription?.transcript),1),s("h4",Q,a(e.$t("demoNote.recording")),1),s("a",{href:t.value?.data?.recordingDownloadUrl},[s("p",Y,a(t.value?.data?.recordingDownloadUrl),1)],8,X),s("h4",Z,a(e.$t("common.notes")),1),s("p",tt,a(t.value?.data?.transcription?.formatted_notes),1)])):d("",!0)])):(o(),n("div",at,[g(f)]))]))}};export{rt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.