import { aj as i, m } from "./useVidstackSrc-CNo2sIR4.js";
import { c as d, a as l } from "./wt-vidstack-player-DL-84dHQ.js";
const p = /* @__PURE__ */ l(
  '<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>'
);
function f(n, s) {
  const o = d(p);
  o.innerHTML = i, n.append(o);
  const e = document.createElement("span");
  e.classList.add("vds-google-cast-info"), n.append(e);
  const t = document.createElement("span");
  t.classList.add("vds-google-cast-device-name"), m(() => {
    const { remotePlaybackInfo: c } = s, a = c();
    return a?.deviceName && (t.textContent = a.deviceName, e.append("Google Cast on ", t)), () => {
      e.textContent = "";
    };
  });
}
export {
  f as insertContent
};
