1import{z as o,s as L,k as S,w as B,t as N,o as a,a as s,n as e,q as i,ao as _,r as y,B as M,aj as b,ak as H,c as R,A as V,V as I,an as g,al as q}from"./cws9XsOq.js";const z={key:0,class:"state-copy-warning-icon"},C={key:1,class:"state-copy-rooftitle"},D=["innerHTML"],F={key:2,class:"state-copy-text"},j=["innerHTML"],E={key:3},W={__name:"StateCopy",props:{roofline:{type:String,default:""},title:{type:String,default:""},text:{type:String,default:""},deviceNumber:{type:String,default:null},actions:{type:Array,default:()=>[]},warningIcon:{type:Boolean,default:!1}},setup(h){const n=h,r=o(""),u=o(""),l=o(""),f=o(!1),d=o([]),c=o(!1),k=L(),x=S(()=>k.query?.action==="remove"),m=()=>{r.value=n.roofline,u.value=n.title,l.value=n.text,f.value=n.warningIcon,d.value=n.actions},T=()=>{c.value&&(m(),c.value=!1)};return B(()=>n,({roofline:p,title:v,text:t})=>{(p!==r.value||v!==u.value||t!==l.value)&&(c.value=!0)},{deep:!0}),N(()=>{m()}),(p,v)=>(a(),s("div",{class:g(["c-state-copy",{"is-hidden":e(c)}]),onTransitionend:T},[e(f)?(a(),s("div",z)):i("",!0),e(r)?(a(),s("p",C,_(e(r)),1)):i("",!0),y("p",{class:"state-copy-title",innerHTML:e(u)},null,8,D),e(l)?(a(),s("div",F,[y("p",{innerHTML:e(l)},null,8,j),M(p.$slots,"text")])):i("",!0),e(d).length>0?(a(),s("ul",E,[(a(!0),s(b,null,H(e(d),(t,w)=>(a(),s("li",{key:w},[(a(),R(q(t.component),{"device-number":t.deviceNumber,class:g([t.classNames,{"color-white":e(x)}]),href:t.href,to:t.routerLoadingLinkConfig,tag:t.tag},{default:V(()=>[I(_(t.text),1)]),_:2},1032,["device-number","class","href","to","tag"]))]))),128))])):i("",!0)],34))}};export{W 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.