const e=require("./warning.js"),t=require("./props-util/index.js");let n=require("vue");function r(r,i={},a=!0,o=!1){let s=r;if(Array.isArray(r)&&(s=t.filterEmpty(r)[0]),!s)return null;let c=(0,n.cloneVNode)(s,i,o);return c.props=a?{...c.props,...i}:c.props,e.default(typeof c.props.class!=`object`,`class must be string`),c}function i(e,t={},n=!0){return e.map(e=>r(e,t,n))}function a(e,t,r){(0,n.render)((0,n.cloneVNode)(e,{...t}),r)}var o=e=>(e||[]).some(e=>!(0,n.isVNode)(e)||!(e.type===n.Comment||e.type===n.Fragment&&!o(e.children)))?e:null;function s(e,t,n,r){let i=e[t]?.(n);return o(i)?i:r?.()}exports.cloneElement=r,exports.cloneVNodes=i,exports.customRenderSlot=s,exports.triggerVNodeUpdate=a;