const svgNS="http://www.w3.org/2000/svg",svgClassName="cesium-svgPath-svg",SvgPathBindingHandler={register:function(t){t.bindingHandlers.cesiumSvgPath={init:function(e,s){const n=document.createElementNS(svgNS,"svg:svg");n.setAttribute("class",svgClassName);const i=document.createElementNS(svgNS,"path");return n.appendChild(i),t.virtualElements.setDomNodeChildren(e,[n]),t.computed({read:function(){const e=t.unwrap(s());i.setAttribute("d",t.unwrap(e.path));const a=t.unwrap(e.width),r=t.unwrap(e.height);n.setAttribute("width",a),n.setAttribute("height",r),n.setAttribute("viewBox",`0 0 ${a} ${r}`),e.css&&n.setAttribute("class",`${svgClassName} ${t.unwrap(e.css)}`)},disposeWhenNodeIsRemoved:e}),{controlsDescendantBindings:!0}}},t.virtualElements.allowedBindings.cesiumSvgPath=!0}};export default SvgPathBindingHandler;