1import{C as e,Et as t,Ft as n,G as r,P as i,dt as a,f as o,ft as s,g as c,h as l,hn as u,m as d,x as f,xt as p}from"./DyLOZYLg.js";import{r as m}from"./yhmoNsPn.js";import{t as h}from"./CPBh3tLa2.js";import{n as g,t as _}from"./CJ_mrBSD2.js";var v=Object.assign(e({name:`ComponentRichText`,__name:`index`,setup(e){let{targetRef:v,className:y,customCSS:b,componentData:x,schemaData:S,currentLanguage:C,additionalConfigValue:w,isMobileRef:T}=m(),{isEllipsis:E,showEllipsis:D,ellipsisButtonTextColor:O,ellipsisStyle:k,buttonText:A}=_(w,T),j=t(x.value?.content??``),M=o(()=>S.value?.dataSourceConfig.sourceType===`static`?S.value.staticValue[C.value]??{}:S.value.dynamicValue??{});return a(j,()=>{M.value.content=j.value}),s(()=>{j.value=x.value?.content??``}),(e,t)=>(r(),c(`div`,i({ref_key:`targetRef`,ref:v,style:n(b),class:n(y)},n(S).attrs),[f(h,{class:`overflow-hidden break-words`,style:u(n(k)),content:n(j)},null,8,[`style`,`content`]),n(D)&&n(w).showViewMore?(r(),d(g,{key:0,"is-ellipsis":n(E),"onUpdate:isEllipsis":t[0]||=e=>p(E)?E.value=e:null,"show-ellipsis":n(D),"ellipsis-button-text-color":n(O),"button-text":n(A)},null,8,[`is-ellipsis`,`show-ellipsis`,`ellipsis-button-text-color`,`button-text`])):l(``,!0)],16))}}),{__name:`ComponentRichText`});export{v 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.