/**
 * Bundled by jsDelivr using Rollup v2.79.2 and Terser v5.39.0.
 * Original file: /npm/media-chrome@4.16.1/dist/utils/server-safe-globals.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
class e{addEventListener(){}removeEventListener(){}dispatchEvent(){return!0}}class t extends e{}class n extends t{constructor(){super(...arguments),this.role=null}}const s={createElement:function(){return new o.HTMLElement},createElementNS:function(){return new o.HTMLElement},addEventListener(){},removeEventListener(){},dispatchEvent:e=>!1},o={ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},document:s,Node:t,Element:n,HTMLElement:class extends n{constructor(){super(...arguments),this.innerHTML=""}get content(){return new o.DocumentFragment}},DocumentFragment:class extends e{},customElements:{get:function(){},define:function(){},whenDefined:function(){}},localStorage:{getItem:e=>null,setItem(e,t){},removeItem(e){}},CustomEvent:function(){},getComputedStyle:function(){},navigator:{languages:[],get userAgent(){return""}},matchMedia:e=>({matches:!1,media:e}),DOMParser:class{parseFromString(e,t){return{body:{textContent:e}}}}},l="global"in globalThis&&(null==globalThis?void 0:globalThis.global)===globalThis||"undefined"==typeof window||void 0===window.customElements,r=Object.keys(o).every((e=>e in globalThis)),a=l&&!r?o:globalThis,i=l&&!r?s:globalThis.document;export{i as Document,a as GlobalThis,i as document,a as globalThis,l as isServer};export default null;
//# sourceMappingURL=/sm/978f02946cb1ab6be83a91a562e78f5b94e53601c921b1541da89a22ab285813.map