1import{u as m,r as p,H as u,c as g,f,A as h,d as b,b as _}from"./index-Dvm4xnRL.js";import{E as v}from"./watson-theme-embed-code-CpL-UxOY.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./disclosure-DuD7y_LN.js";import"./open-closed-DV8hvK4J.js";const x={class:"infographic-embed-code"},y={__name:"watson-theme-infographic-embed-code",props:{heading:{type:String,required:!1,default:null},image:{type:[Object,Boolean],required:!1,default:null}},setup(n){const d=m(),t=n,r=d.props.settings.translations.embedCode.infographicHeading,i=d.props.url,l=t.heading&&t.heading.length>0?t.heading:r,s=p("1000px"),c=u(()=>{let a=s.value.replace(/[^0-9]/g,"");a=a<1?1e3:a;let e="",o="";return t.image&&(e=t.image.url,o=t.image.alt),'<div style="clear: both;"><a href="'+i+'" target="_blank" rel="noopener"><img src="'+e+'" alt="'+o+'" style="width: '+a+'px; max-width: 100%;" /></a></div>'});return(a,e)=>(_(),g("div",x,[f(v,{"custom-width":s.value,"onUpdate:customWidth":e[0]||(e[0]=o=>s.value=o),heading:h(l),"embed-code":c.value},null,8,["custom-width","heading","embed-code"]),e[1]||(e[1]=b("div",{class:"clear"},null,-1))]))}},W=w(y,[["__scopeId","data-v-b10cd234"]]);export{W as default}; 2//# sourceMappingURL=watson-theme-infographic-embed-code-CmZ19ZMu.js.map
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.