PageSourceSearch

https://misskey-hub.net/_nuxt/BE5ie4rH.js

js misskey-hub.net collected 2026-09-24 18:46:07 UTC 1,027 bytes, 1 lines download raw bytes

1import{_ as u}from"./BdHzeMlj.js";import{d as i,y as l,h as s,z as c}from"./Czo40Pbp.js";import"./BSZFgSs5.js";import"./CJ5NhiWv.js";import"./z7gS4d5z.js";const y=i({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(e){c(()=>e.excerpt,t=>{t&&!e.value?.excerpt&&(console.warn(`No excerpt found for document content/${e?.value?._path}.${e?.value?._extension}!`),console.warn("Make sure to use <!--more--> in your content if you want to use excerpt feature."))},{immediate:!0})},render(e){const t=l(),{value:r,excerpt:n,tag:o}=e,a=n?r?.excerpt:r?.body;return!a?.children?.length&&t?.empty?t.empty({value:r,excerpt:n,tag:o,...this.$attrs}):t?.default?t.default({value:r,excerpt:n,tag:o,...this.$attrs}):a?.type==="root"&&a?.children?.length?s(u,{value:r,excerpt:n,tag:o,...this.$attrs}):s("pre",null,JSON.stringify({message:"You should use slots with <ContentRenderer>",value:r,excerpt:n,tag:o},null,2))}});export{y 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.