import { s as e, v as t } from "./vidstack-D9mvYVIz-DesuYgKV.js";
import { a as n, i as r } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
//#region node_modules/vidstack/prod/chunks/vidstack-CXo4cwSP2.js
var i = /* @__PURE__ */ n("<svg viewBox=\"0 0 32 32\" fill=\"none\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\"></svg>");
function a(n, a) {
	let o = r(i);
	o.innerHTML = e, n.append(o);
	let s = document.createElement("span");
	s.classList.add("vds-google-cast-info"), n.append(s);
	let c = document.createElement("span");
	c.classList.add("vds-google-cast-device-name"), t(() => {
		let { remotePlaybackInfo: e } = a, t = e();
		return t?.deviceName && (c.textContent = t.deviceName, s.append("Google Cast on ", c)), () => {
			s.textContent = "";
		};
	});
}
//#endregion
export { a as insertContent };
