@mdn/fred 2.9.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/.nvmrc +1 -1
  2. package/CHANGELOG.md +14 -0
  3. package/components/blog/utils.js +1 -1
  4. package/components/compat-table/element.js +2 -2
  5. package/components/latest-news/server.js +1 -1
  6. package/components/live-sample-result/element.js +1 -1
  7. package/components/navigation/hook.js +1 -1
  8. package/components/observatory-form/element.js +3 -3
  9. package/components/placement-bottom/element.js +1 -1
  10. package/components/placement-hp-main/element.js +1 -1
  11. package/components/placement-sidebar/element.js +1 -1
  12. package/components/placement-top/element.js +1 -1
  13. package/components/play-console/utils.js +2 -2
  14. package/components/recent-contributions/server.js +1 -1
  15. package/components/recently-visited/index.js +1 -2
  16. package/components/sidebar-filter/sidebar-filterer.js +1 -1
  17. package/components/survey/element.js +3 -1
  18. package/components/translation-banner/server.js +1 -1
  19. package/components/writer-reload/element.js +1 -1
  20. package/out/service-worker.js +1 -1
  21. package/out/service-worker.js.map +1 -1
  22. package/out/static/client/{1672.aef594997e95d362.js → 1672.d66704179bcd69ee.js} +2 -2
  23. package/out/static/client/{1672.aef594997e95d362.js.map → 1672.d66704179bcd69ee.js.map} +1 -1
  24. package/out/static/client/{169.71c8bb45e4bcc0b1.js → 169.ab4227448e206e0d.js} +2 -2
  25. package/out/static/client/169.ab4227448e206e0d.js.map +1 -0
  26. package/out/static/client/{2173.a812d7b499aeb899.js → 2173.a1ead47e2d458f50.js} +2 -2
  27. package/out/static/client/{2173.a812d7b499aeb899.js.map → 2173.a1ead47e2d458f50.js.map} +1 -1
  28. package/out/static/client/3818.8819a9d779da3429.js.map +1 -1
  29. package/out/static/client/{4060.b5edd2eca5be7d2b.js → 4060.687b98e9db2bc493.js} +2 -2
  30. package/out/static/client/{4060.b5edd2eca5be7d2b.js.map → 4060.687b98e9db2bc493.js.map} +1 -1
  31. package/out/static/client/4366.80589277ea3ce36d.js +4 -0
  32. package/out/static/client/4366.80589277ea3ce36d.js.map +1 -0
  33. package/out/static/client/{4759.5c1f42f6042d6457.js → 4759.f58bb90e314ae9c1.js} +2 -2
  34. package/out/static/client/{4759.5c1f42f6042d6457.js.map → 4759.f58bb90e314ae9c1.js.map} +1 -1
  35. package/out/static/client/{5196.a890e2f848933898.js → 5196.635f7f8d7984bead.js} +2 -2
  36. package/out/static/client/{5196.a890e2f848933898.js.map → 5196.635f7f8d7984bead.js.map} +1 -1
  37. package/out/static/client/5562.3cfad67583264655.js +2 -0
  38. package/out/static/client/5562.3cfad67583264655.js.map +1 -0
  39. package/out/static/client/{8067.2861f05611862516.js → 8067.e21835e06833480e.js} +2 -2
  40. package/out/static/client/{8067.2861f05611862516.js.map → 8067.e21835e06833480e.js.map} +1 -1
  41. package/out/static/client/8233.1b63aaa17c6d19cd.js +2 -0
  42. package/out/static/client/8233.1b63aaa17c6d19cd.js.map +1 -0
  43. package/out/static/client/{8401.adf96abc27ac7387.js → 8401.c754c2baea3818c1.js} +7 -7
  44. package/out/static/client/8401.c754c2baea3818c1.js.map +1 -0
  45. package/out/static/client/{9204.30fc8791c7c95e43.js → 9204.6b8c65e2852a256e.js} +2 -2
  46. package/out/static/client/{9204.30fc8791c7c95e43.js.map → 9204.6b8c65e2852a256e.js.map} +1 -1
  47. package/out/static/client/{index.65c98247c2b54259.js → index.f16f7d58914f3c7b.js} +3 -3
  48. package/out/static/client/index.f16f7d58914f3c7b.js.map +1 -0
  49. package/out/static/client/{runtime.9057bb25edbe1b53.js → runtime.000fbab5674b8a62.js} +2 -2
  50. package/out/static/client/{runtime.9057bb25edbe1b53.js.map → runtime.000fbab5674b8a62.js.map} +1 -1
  51. package/out/static/client/stats.json +432 -432
  52. package/out/static/client/watify_bg.9e17afb2a5a4c03f.wasm +0 -0
  53. package/out/static/legacy/7555.d2dbf4d88e2a043e.js +2 -0
  54. package/out/static/legacy/7555.d2dbf4d88e2a043e.js.map +1 -0
  55. package/out/static/legacy/8233.1b63aaa17c6d19cd.js +2 -0
  56. package/out/static/legacy/8233.1b63aaa17c6d19cd.js.map +1 -0
  57. package/out/static/legacy/asset-manifest.json +46 -46
  58. package/out/static/legacy/{index.a19bd45b9f39af81.html → index.0842dd30e67d6569.html} +1 -1
  59. package/out/static/legacy/{index.66c601d9bee5c979.js → index.3076cec4f319e633.js} +4 -4
  60. package/out/static/legacy/{index.66c601d9bee5c979.js.map → index.3076cec4f319e633.js.map} +1 -1
  61. package/out/static/legacy/stats.json +16 -16
  62. package/out/static/legacy/watify_bg.9e17afb2a5a4c03f.wasm +0 -0
  63. package/out/static/legacy/{yari.fabca254fad42bcc.js → yari.c83d87c429dcda1f.js} +4 -4
  64. package/out/static/legacy/{yari.fabca254fad42bcc.js.map → yari.c83d87c429dcda1f.js.map} +1 -1
  65. package/out/static/ssr/8233.js +1 -1
  66. package/out/static/ssr/8233.js.map +1 -1
  67. package/out/static/ssr/index.js +14 -14
  68. package/out/static/ssr/index.js.map +1 -1
  69. package/out/static/ssr/stats.json +4 -4
  70. package/out/static/ssr/watify_bg.9e17afb2a5a4c03f.wasm +0 -0
  71. package/package.json +31 -18
  72. package/utils/mdn-url2breadcrumb.js +1 -1
  73. package/out/static/client/169.71c8bb45e4bcc0b1.js.map +0 -1
  74. package/out/static/client/4366.c631051400430846.js +0 -4
  75. package/out/static/client/4366.c631051400430846.js.map +0 -1
  76. package/out/static/client/5562.6cc078ec59eb355d.js +0 -2
  77. package/out/static/client/5562.6cc078ec59eb355d.js.map +0 -1
  78. package/out/static/client/8233.270639ccdecf7be1.js +0 -2
  79. package/out/static/client/8233.270639ccdecf7be1.js.map +0 -1
  80. package/out/static/client/8401.adf96abc27ac7387.js.map +0 -1
  81. package/out/static/client/index.65c98247c2b54259.js.map +0 -1
  82. package/out/static/client/watify_bg.e3ab88fab7f71ec6.wasm +0 -0
  83. package/out/static/legacy/7555.332ebfc3a6b0147d.js +0 -2
  84. package/out/static/legacy/7555.332ebfc3a6b0147d.js.map +0 -1
  85. package/out/static/legacy/8233.270639ccdecf7be1.js +0 -2
  86. package/out/static/legacy/8233.270639ccdecf7be1.js.map +0 -1
  87. package/out/static/legacy/watify_bg.e3ab88fab7f71ec6.wasm +0 -0
  88. package/out/static/ssr/watify_bg.e3ab88fab7f71ec6.wasm +0 -0
  89. /package/out/static/client/{8401.adf96abc27ac7387.js.LICENSE.txt → 8401.c754c2baea3818c1.js.LICENSE.txt} +0 -0
  90. /package/out/static/client/{index.65c98247c2b54259.js.LICENSE.txt → index.f16f7d58914f3c7b.js.LICENSE.txt} +0 -0
  91. /package/out/static/legacy/{index.66c601d9bee5c979.js.LICENSE.txt → index.3076cec4f319e633.js.LICENSE.txt} +0 -0
  92. /package/out/static/legacy/{yari.fabca254fad42bcc.js.LICENSE.txt → yari.c83d87c429dcda1f.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- export const __rspack_esm_id=8233;export const __rspack_esm_ids=[8233];export const __webpack_modules__={12911(e,t,n){e.exports=n.p+"watify_bg.e3ab88fab7f71ec6.wasm"},72624(e,t,n){let a;function r(e){let t=function(e,t,n){if(void 0===n){let n=c.encode(e),a=t(n.length,1)>>>0;return o().subarray(a,a+n.length).set(n),f=n.length,a}let a=e.length,r=t(a,1)>>>0,i=o(),s=0;for(;s<a;s++){let t=e.charCodeAt(s);if(t>127)break;i[r+s]=t}if(s!==a){0!==s&&(e=e.slice(s)),r=n(r,a,a=s+3*e.length,1)>>>0;let t=o().subarray(r+s,r+a);s+=c.encodeInto(e,t).written,r=n(r,a,s,1)>>>0}return f=s,r}(e,a.__wbindgen_malloc,a.__wbindgen_realloc),n=f,r=a.watify(t,n);if(r[3]){let e;throw i=r[2],e=a.__wbindgen_externrefs.get(i),a.__externref_table_dealloc(i),e}var i,s,l,_=(s=r[0],l=r[1],s>>>=0,o().subarray(s/1,s/1+l)).slice();return a.__wbindgen_free(r[0],+r[1],1),_}let i=null;function o(){return(null===i||0===i.byteLength)&&(i=new Uint8Array(a.memory.buffer)),i}let s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});s.decode();let l=0,c=new TextEncoder;"encodeInto"in c||(c.encodeInto=function(e,t){let n=c.encode(e);return t.set(n),{read:e.length,written:n.length}});let f=0;async function _(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&function(e){switch(e){case"basic":case"cors":case"default":return!0}return!1}(e.type)&&"application/wasm"!==e.headers.get("Content-Type"))console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function u(e){if(void 0!==a)return a;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new n.U(n(12911))),("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));let{instance:t,module:r}=await _(await e,{__proto__:null,"./watify_bg.js":{__proto__:null,__wbindgen_cast_0000000000000001:function(e,t){var n,a,r,i;return n=e,a=t,r=n>>>=0,(l+=i=a)>=0x7ff00000&&((s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),l=i),s.decode(o().subarray(r,r+i))},__wbindgen_init_externref_table:function(){let e=a.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}});return a=t.exports,i=null,a.__wbindgen_start(),a}n.d(t,{default:()=>u,watify:()=>r})}};
1
+ export const __rspack_esm_id=8233;export const __rspack_esm_ids=[8233];export const __webpack_modules__={12911(e,t,n){e.exports=n.p+"watify_bg.9e17afb2a5a4c03f.wasm"},72624(e,t,n){let r;function a(e){let t=function(e,t,n){if(void 0===n){let n=c.encode(e),r=t(n.length,1)>>>0;return o().subarray(r,r+n.length).set(n),f=n.length,r}let r=e.length,a=t(r,1)>>>0,i=o(),s=0;for(;s<r;s++){let t=e.charCodeAt(s);if(t>127)break;i[a+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),a=n(a,r,r=s+3*e.length,1)>>>0;let t=o().subarray(a+s,a+r);s+=c.encodeInto(e,t).written,a=n(a,r,s,1)>>>0}return f=s,a}(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=f,a=r.watify(t,n);if(a[3]){let e;throw i=a[2],e=r.__wbindgen_externrefs.get(i),r.__externref_table_dealloc(i),e}var i,s,l,_=(s=a[0],l=a[1],s>>>=0,o().subarray(s/1,s/1+l)).slice();return r.__wbindgen_free(a[0],+a[1],1),_}let i=null;function o(){return(null===i||0===i.byteLength)&&(i=new Uint8Array(r.memory.buffer)),i}let s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});s.decode();let l=0,c=new TextEncoder;"encodeInto"in c||(c.encodeInto=function(e,t){let n=c.encode(e);return t.set(n),{read:e.length,written:n.length}});let f=0;async function _(e,t){if("function"==typeof Response&&e instanceof Response){if(!e.ok)throw Error(`failed to fetch Wasm: ${e.status} ${e.statusText} fetching '${e.url}'`);if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(function(e){switch(e){case"basic":case"cors":case"default":return!0}return!1}(e.type)&&"application/wasm"!==e.headers.get("Content-Type"))console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function u(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new n.U(n(12911))),("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));let{instance:t,module:a}=await _(await e,{__proto__:null,"./watify_bg.js":{__proto__:null,__wbindgen_generic_0000000000000001:function(e,t){var n,r,a,i;return n=e,r=t,a=n>>>0,(l+=i=r)>=0x7ff00000&&((s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),l=i),s.decode(o().subarray(a,a+i))},__wbindgen_init_externref_table:function(){let e=r.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}});return r=t.exports,i=null,r.__wbindgen_start(),r}n.d(t,{default:()=>u,watify:()=>a})}};
2
2
  //# sourceMappingURL=8233.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"8233.js","sources":["/home/runner/work/fred/fred/node_modules/@mdn/watify/watify.js"],"sourcesContent":["/* @ts-self-types=\"./watify.d.ts\" */\n\n/**\n * Parses the given WAT text and returns a vector of bytes on success or a JavaScript error on failure.\n *\n * # Arguments\n *\n * * `text` - A string slice containing the WAT text to be parsed.\n *\n * # Returns\n *\n * * `Ok(Vec<u8>)` containing the parsed byte code if parsing is successful.\n * * `Err(JsValue)` if parsing fails, with the error message converted into a JavaScript error value.\n * @param {string} text\n * @returns {Uint8Array}\n */\nexport function watify(text) {\n const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.watify(ptr0, len0);\n if (ret[3]) {\n throw takeFromExternrefTable0(ret[2]);\n }\n var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);\n return v2;\n}\n\nfunction __wbg_get_imports() {\n const import0 = {\n __proto__: null,\n __wbindgen_cast_0000000000000001: function(arg0, arg1) {\n // Cast intrinsic for `Ref(String) -> Externref`.\n const ret = getStringFromWasm0(arg0, arg1);\n return ret;\n },\n __wbindgen_init_externref_table: function() {\n const table = wasm.__wbindgen_externrefs;\n const offset = table.grow(4);\n table.set(0, undefined);\n table.set(offset + 0, undefined);\n table.set(offset + 1, null);\n table.set(offset + 2, true);\n table.set(offset + 3, false);\n },\n };\n return {\n __proto__: null,\n \"./watify_bg.js\": import0,\n };\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return decodeText(ptr, len);\n}\n\nlet cachedUint8ArrayMemory0 = null;\nfunction getUint8ArrayMemory0() {\n if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = cachedTextEncoder.encodeInto(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction takeFromExternrefTable0(idx) {\n const value = wasm.__wbindgen_externrefs.get(idx);\n wasm.__externref_table_dealloc(idx);\n return value;\n}\n\nlet cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\ncachedTextDecoder.decode();\nconst MAX_SAFARI_DECODE_BYTES = 2146435072;\nlet numBytesDecoded = 0;\nfunction decodeText(ptr, len) {\n numBytesDecoded += len;\n if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {\n cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n cachedTextDecoder.decode();\n numBytesDecoded = len;\n }\n return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));\n}\n\nconst cachedTextEncoder = new TextEncoder();\n\nif (!('encodeInto' in cachedTextEncoder)) {\n cachedTextEncoder.encodeInto = function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n };\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nlet wasmModule, wasm;\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n wasmModule = module;\n cachedUint8ArrayMemory0 = null;\n wasm.__wbindgen_start();\n return wasm;\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n const validResponse = module.ok && expectedResponseType(module.type);\n\n if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else { throw e; }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n\n function expectedResponseType(type) {\n switch (type) {\n case 'basic': case 'cors': case 'default': return true;\n }\n return false;\n }\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) return wasm;\n\n\n if (module !== undefined) {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({module} = module)\n } else {\n console.warn('using deprecated parameters for `initSync()`; pass a single object instead')\n }\n }\n\n const imports = __wbg_get_imports();\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n const instance = new WebAssembly.Instance(module, imports);\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) return wasm;\n\n\n if (module_or_path !== undefined) {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({module_or_path} = module_or_path)\n } else {\n console.warn('using deprecated parameters for the initialization function; pass a single object instead')\n }\n }\n\n if (module_or_path === undefined) {\n module_or_path = new URL('watify_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {\n module_or_path = fetch(module_or_path);\n }\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync, __wbg_init as default };\n"],"names":["c","r","i","l","Uint8Array","TextDecoder","TextEncoder","_","Response","WebAssembly","console","Object","n","Request","URL","fetch"],"mappings":"wLA8IgB,EA9HT,SAAS,EAAO,CAAI,EACvB,IAAM,EAAO,AAqDjB,SAA2B,CAAG,CAAE,CAAM,CAAE,CAAO,EAC3C,GAAI,AAAY,SAAZ,EAAuB,CACvB,IAAM,EAAMA,EAAkB,MAAM,CAAC,GAC/B,EAAM,EAAO,EAAI,MAAM,CAAE,KAAO,EAGtC,OAFA,IAAuB,QAAQ,CAAC,EAAK,EAAM,EAAI,MAAM,EAAE,GAAG,CAAC,GAC3D,EAAkB,EAAI,MAAM,CACrB,CACX,CAEA,IAAI,EAAM,EAAI,MAAM,CAChB,EAAM,EAAO,EAAK,KAAO,EAEvB,EAAM,IAER,EAAS,EAEb,KAAO,EAAS,EAAK,IAAU,CAC3B,IAAM,EAAO,EAAI,UAAU,CAAC,GAC5B,GAAI,EAAO,IAAM,KACjB,EAAG,CAAC,EAAM,EAAO,CAAG,CACxB,CACA,GAAI,IAAW,EAAK,CACZ,AAAW,IAAX,GACA,GAAM,EAAI,KAAK,CAAC,EAAM,EAE1B,EAAM,EAAQ,EAAK,EAAK,EAAM,EAAS,AAAa,EAAb,EAAI,MAAM,CAAM,KAAO,EAC9D,IAAM,EAAO,IAAuB,QAAQ,CAAC,EAAM,EAAQ,EAAM,GAGjE,GAAU,AAFEA,EAAkB,UAAU,CAAC,EAAK,GAEhC,OAAO,CACrB,EAAM,EAAQ,EAAK,EAAK,EAAQ,KAAO,CAC3C,CAGA,OADA,EAAkB,EACX,CACX,EAxFmC,EAAM,EAAK,iBAAiB,CAAE,EAAK,kBAAkB,EAC9E,EAAO,EACPC,EAAM,EAAK,MAAM,CAAC,EAAM,GAC9B,GAAIA,CAAG,CAAC,EAAE,CACN,KAuFE,CAvFF,OAsFyBC,EAtFKD,CAAG,CAAC,EAAE,CAuFlC,EAAQ,EAAK,qBAAqB,CAAC,GAAG,CAACC,GAC7C,EAAK,yBAAyB,CAACA,GACxB,CAzFkC,CAEzC,IAoF6BA,EAvDJ,EAAKC,EA7B1B,EAAK,CA6BgB,EA7BIF,CAAG,CAAC,EAAE,CA6BLE,EA7BOF,CAAG,CAAC,EAAE,CA8B3C,KAAc,EACP,IAAuB,QAAQ,CAAC,EAAM,EAAG,EAAM,EAAIE,IA/Bb,KAAK,GAElD,OADA,EAAK,eAAe,CAACF,CAAG,CAAC,EAAE,CAAEA,CAAAA,CAAG,CAAC,EAAE,CAAM,GAClC,CACX,CAoCA,IAAI,EAA0B,KAC9B,SAAS,IAIL,MAHI,CAA4B,OAA5B,GAAoC,AAAuC,IAAvC,EAAwB,UAAU,AAAK,GAC3E,GAA0B,IAAIG,WAAW,EAAK,MAAM,CAAC,MAAM,GAExD,CACX,CA6CA,IAAI,EAAoB,IAAIC,YAAY,QAAS,CAAE,UAAW,GAAM,MAAO,EAAK,GAChF,EAAkB,MAAM,GAExB,IAAI,EAAkB,EAWhBL,EAAoB,IAAIM,WAE1B,AAAE,gBAAgBN,GAClBA,CAAAA,EAAkB,UAAU,CAAG,SAAU,CAAG,CAAE,CAAI,EAC9C,IAAM,EAAMA,EAAkB,MAAM,CAAC,GAErC,OADA,EAAK,GAAG,CAAC,GACF,CACH,KAAM,EAAI,MAAM,CAChB,QAAS,EAAI,MAAM,AACvB,CACJ,GAGJ,IAAI,EAAkB,EAWtB,eAAeO,EAAW,CAAM,CAAE,CAAO,EACrC,GAAI,AAAoB,YAApB,OAAOC,UAA2B,aAAkBA,SAAU,CAC9D,GAAI,AAA4C,YAA5C,OAAOC,YAAY,oBAAoB,CACvC,GAAI,CACA,OAAO,MAAMA,YAAY,oBAAoB,CAAC,EAAQ,EAC1D,CAAE,MAAO,EAAG,CAGR,GAAI,AAFkB,EAAO,EAAE,EAAI,AAqB/C,SAA8B,CAAI,EAC9B,OAAQ,GACJ,IAAK,QAAS,IAAK,OAAQ,IAAK,UAAW,MAAO,EACtD,CACA,MAAO,EACX,EA1BoE,EAAO,IAAI,GAE9C,AAAuC,qBAAvC,EAAO,OAAO,CAAC,GAAG,CAAC,gBACpCC,QAAQ,IAAI,CAAC,oMAAqM,QAE7M,MAAM,CACnB,CAGJ,IAAM,EAAQ,MAAM,EAAO,WAAW,GACtC,OAAO,MAAMD,YAAY,WAAW,CAAC,EAAO,EAChD,CAAO,CACH,IAAM,EAAW,MAAMA,YAAY,WAAW,CAAC,EAAQ,UAEvD,AAAI,aAAoBA,YAAY,QAAQ,CACjC,CAAE,WAAU,QAAO,EAEnB,CAEf,CAQJ,CAsBA,eAAe,EAAW,CAAc,EACpC,GAAI,AAAS,SAAT,EAAoB,OAAO,CAGR,UAAnB,IACIE,OAAO,cAAc,CAAC,KAAoBA,OAAO,SAAS,CACzD,CAAC,gBAAc,CAAC,CAAG,EAEpBD,QAAQ,IAAI,CAAC,8FAIjB,AAAmB,SAAnB,GACA,GAAiB,IAAAE,EAAA,EAAAA,EAAA,SAIjB,CAA0B,UAA1B,OAAO,GAAgC,AAAmB,YAAnB,OAAOC,SAA0B,aAA0BA,SAAa,AAAe,YAAf,OAAOC,KAAsB,aAA0BA,GAAG,GACzK,GAAiBC,MAAM,EAAc,EAGzC,GAAM,CAAE,UAAQ,CAAE,QAAM,CAAE,CAAG,MAAMR,EAAW,MAAM,EArL7C,CACH,UAAW,KACX,iBAnBY,CACZ,UAAW,KACX,iCAAkC,SAAS,CAAI,CAAE,CAAI,MA0BjC,EAAK,EA4Db,EAAK,EAnFb,OAuBgB,EAxBe,EAwBV,EAxBgB,EAoF7B,EA3DhB,KAAc,EA4Dd,IADqB,EA1DE,CA2DF,GAHO,aAMxB,AADA,GAAoB,IAAIF,YAAY,QAAS,CAAE,UAAW,GAAM,MAAO,EAAK,EAAC,EAC3D,MAAM,GACxB,EAAkB,GAEf,EAAkB,MAAM,CAAC,IAAuB,QAAQ,CAAC,EAAK,EAAM,GAzFvE,EACA,gCAAiC,WAC7B,IAAM,EAAQ,EAAK,qBAAqB,CAClC,EAAS,EAAM,IAAI,CAAC,GAC1B,EAAM,GAAG,CAAC,EAAG,QACb,EAAM,GAAG,CAAC,EAAS,EAAG,QACtB,EAAM,GAAG,CAAC,EAAS,EAAG,MACtB,EAAM,GAAG,CAAC,EAAS,EAAG,IACtB,EAAM,GAAG,CAAC,EAAS,EAAG,GAC1B,CACJ,CAIA,GAoLA,OArFA,EAAO,AAqFoB,EArFX,OAAO,CAEvB,EAA0B,KAC1B,EAAK,gBAAgB,GACd,CAkFX,C"}
1
+ {"version":3,"file":"8233.js","sources":["/home/runner/work/fred/fred/node_modules/@mdn/watify/watify.js"],"sourcesContent":["/* @ts-self-types=\"./watify.d.ts\" */\n\n/**\n * Parses the given WAT text and returns a vector of bytes on success or a JavaScript error on failure.\n *\n * # Arguments\n *\n * * `text` - A string slice containing the WAT text to be parsed.\n *\n * # Returns\n *\n * * `Ok(Vec<u8>)` containing the parsed byte code if parsing is successful.\n * * `Err(JsValue)` if parsing fails, with the error message converted into a JavaScript error value.\n * @param {string} text\n * @returns {Uint8Array}\n */\nexport function watify(text) {\n const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.watify(ptr0, len0);\n if (ret[3]) {\n throw takeFromExternrefTable0(ret[2]);\n }\n var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);\n return v2;\n}\nfunction __wbg_get_imports() {\n const import0 = {\n __proto__: null,\n __wbindgen_generic_0000000000000001: function(arg0, arg1) {\n // Cast intrinsic for `Ref(String) -> Externref`.\n const ret = getStringFromWasm0(arg0, arg1);\n return ret;\n },\n __wbindgen_init_externref_table: function() {\n const table = wasm.__wbindgen_externrefs;\n const offset = table.grow(4);\n table.set(0, undefined);\n table.set(offset + 0, undefined);\n table.set(offset + 1, null);\n table.set(offset + 2, true);\n table.set(offset + 3, false);\n },\n };\n return {\n __proto__: null,\n \"./watify_bg.js\": import0,\n };\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction getStringFromWasm0(ptr, len) {\n return decodeText(ptr >>> 0, len);\n}\n\nlet cachedUint8ArrayMemory0 = null;\nfunction getUint8ArrayMemory0() {\n if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = cachedTextEncoder.encodeInto(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction takeFromExternrefTable0(idx) {\n const value = wasm.__wbindgen_externrefs.get(idx);\n wasm.__externref_table_dealloc(idx);\n return value;\n}\n\nlet cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\ncachedTextDecoder.decode();\nconst MAX_SAFARI_DECODE_BYTES = 2146435072;\nlet numBytesDecoded = 0;\nfunction decodeText(ptr, len) {\n numBytesDecoded += len;\n if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {\n cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n cachedTextDecoder.decode();\n numBytesDecoded = len;\n }\n return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));\n}\n\nconst cachedTextEncoder = new TextEncoder();\n\nif (!('encodeInto' in cachedTextEncoder)) {\n cachedTextEncoder.encodeInto = function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n };\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nlet wasmModule, wasmInstance, wasm;\nfunction __wbg_finalize_init(instance, module) {\n wasmInstance = instance;\n wasm = instance.exports;\n wasmModule = module;\n cachedUint8ArrayMemory0 = null;\n wasm.__wbindgen_start();\n return wasm;\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (!module.ok) {\n throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);\n }\n\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n const validResponse = expectedResponseType(module.type);\n\n if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else { throw e; }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n\n function expectedResponseType(type) {\n switch (type) {\n case 'basic': case 'cors': case 'default': return true;\n }\n return false;\n }\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) return wasm;\n\n\n if (module !== undefined) {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({module} = module)\n } else {\n console.warn('using deprecated parameters for `initSync()`; pass a single object instead')\n }\n }\n\n const imports = __wbg_get_imports();\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n const instance = new WebAssembly.Instance(module, imports);\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) return wasm;\n\n\n if (module_or_path !== undefined) {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({module_or_path} = module_or_path)\n } else {\n console.warn('using deprecated parameters for the initialization function; pass a single object instead')\n }\n }\n\n if (module_or_path === undefined) {\n module_or_path = new URL('watify_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {\n module_or_path = fetch(module_or_path);\n }\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync, __wbg_init as default };\n"],"names":["c","i","l","Uint8Array","TextDecoder","TextEncoder","_","Response","Error","WebAssembly","console","Object","n","Request","URL","fetch"],"mappings":"wLA4I8B,EA5HvB,SAAS,EAAO,CAAI,EACvB,IAAM,EAAO,AAmDjB,SAA2B,CAAG,CAAE,CAAM,CAAE,CAAO,EAC3C,GAAI,AAAY,SAAZ,EAAuB,CACvB,IAAM,EAAMA,EAAkB,MAAM,CAAC,GAC/B,EAAM,EAAO,EAAI,MAAM,CAAE,KAAO,EAGtC,OAFA,IAAuB,QAAQ,CAAC,EAAK,EAAM,EAAI,MAAM,EAAE,GAAG,CAAC,GAC3D,EAAkB,EAAI,MAAM,CACrB,CACX,CAEA,IAAI,EAAM,EAAI,MAAM,CAChB,EAAM,EAAO,EAAK,KAAO,EAEvB,EAAM,IAER,EAAS,EAEb,KAAO,EAAS,EAAK,IAAU,CAC3B,IAAM,EAAO,EAAI,UAAU,CAAC,GAC5B,GAAI,EAAO,IAAM,KACjB,EAAG,CAAC,EAAM,EAAO,CAAG,CACxB,CACA,GAAI,IAAW,EAAK,CACZ,AAAW,IAAX,GACA,GAAM,EAAI,KAAK,CAAC,EAAM,EAE1B,EAAM,EAAQ,EAAK,EAAK,EAAM,EAAS,AAAa,EAAb,EAAI,MAAM,CAAM,KAAO,EAC9D,IAAM,EAAO,IAAuB,QAAQ,CAAC,EAAM,EAAQ,EAAM,GAGjE,GAAU,AAFEA,EAAkB,UAAU,CAAC,EAAK,GAEhC,OAAO,CACrB,EAAM,EAAQ,EAAK,EAAK,EAAQ,KAAO,CAC3C,CAGA,OADA,EAAkB,EACX,CACX,EAtFmC,EAAM,EAAK,iBAAiB,CAAE,EAAK,kBAAkB,EAC9E,EAAO,EACP,EAAM,EAAK,MAAM,CAAC,EAAM,GAC9B,GAAI,CAAG,CAAC,EAAE,CACN,KAqFE,CArFF,OAoFyBC,EApFK,CAAG,CAAC,EAAE,CAqFlC,EAAQ,EAAK,qBAAqB,CAAC,GAAG,CAACA,GAC7C,EAAK,yBAAyB,CAACA,GACxB,CAvFkC,CAEzC,IAkF6BA,EAtDJ,EAAKC,EA5B1B,EAAK,CA4BgB,EA5BI,CAAG,CAAC,EAAE,CA4BLA,EA5BO,CAAG,CAAC,EAAE,CA6B3C,KAAc,EACP,IAAuB,QAAQ,CAAC,EAAM,EAAG,EAAM,EAAIA,IA9Bb,KAAK,GAElD,OADA,EAAK,eAAe,CAAC,CAAG,CAAC,EAAE,CAAE,EAAG,CAAC,EAAE,CAAM,GAClC,CACX,CAkCA,IAAI,EAA0B,KAC9B,SAAS,IAIL,MAHI,CAA4B,OAA5B,GAAoC,AAAuC,IAAvC,EAAwB,UAAU,AAAK,GAC3E,GAA0B,IAAIC,WAAW,EAAK,MAAM,CAAC,MAAM,GAExD,CACX,CA6CA,IAAI,EAAoB,IAAIC,YAAY,QAAS,CAAE,UAAW,GAAM,MAAO,EAAK,GAChF,EAAkB,MAAM,GAExB,IAAI,EAAkB,EAWhBJ,EAAoB,IAAIK,WAE1B,AAAE,gBAAgBL,GAClBA,CAAAA,EAAkB,UAAU,CAAG,SAAU,CAAG,CAAE,CAAI,EAC9C,IAAM,EAAMA,EAAkB,MAAM,CAAC,GAErC,OADA,EAAK,GAAG,CAAC,GACF,CACH,KAAM,EAAI,MAAM,CAChB,QAAS,EAAI,MAAM,AACvB,CACJ,GAGJ,IAAI,EAAkB,EAYtB,eAAeM,EAAW,CAAM,CAAE,CAAO,EACrC,GAAI,AAAoB,YAApB,OAAOC,UAA2B,aAAkBA,SAAU,CAC9D,GAAI,CAAC,EAAO,EAAE,CACV,MAAM,AAAIC,MAAM,CAAC,sBAAsB,EAAE,EAAO,MAAM,CAAC,CAAC,EAAE,EAAO,UAAU,CAAC,WAAW,EAAE,EAAO,GAAG,CAAC,CAAC,CAAC,EAG1G,GAAI,AAA4C,YAA5C,OAAOC,YAAY,oBAAoB,CACvC,GAAI,CACA,OAAO,MAAMA,YAAY,oBAAoB,CAAC,EAAQ,EAC1D,CAAE,MAAO,EAAG,CAGR,GAAI,AAFkB,AAqBlC,SAA8B,CAAI,EAC9B,OAAQ,GACJ,IAAK,QAAS,IAAK,OAAQ,IAAK,UAAW,MAAO,EACtD,CACA,MAAO,EACX,EA1BuD,EAAO,IAAI,GAEjC,AAAuC,qBAAvC,EAAO,OAAO,CAAC,GAAG,CAAC,gBACpCC,QAAQ,IAAI,CAAC,oMAAqM,QAE7M,MAAM,CACnB,CAGJ,IAAM,EAAQ,MAAM,EAAO,WAAW,GACtC,OAAO,MAAMD,YAAY,WAAW,CAAC,EAAO,EAChD,CAAO,CACH,IAAM,EAAW,MAAMA,YAAY,WAAW,CAAC,EAAQ,UAEvD,AAAI,aAAoBA,YAAY,QAAQ,CACjC,CAAE,WAAU,QAAO,EAEnB,CAEf,CAQJ,CAsBA,eAAe,EAAW,CAAc,EACpC,GAAI,AAAS,SAAT,EAAoB,OAAO,CAGR,UAAnB,IACIE,OAAO,cAAc,CAAC,KAAoBA,OAAO,SAAS,CACzD,CAAC,gBAAc,CAAC,CAAG,EAEpBD,QAAQ,IAAI,CAAC,8FAIjB,AAAmB,SAAnB,GACA,GAAiB,IAAAE,EAAA,EAAAA,EAAA,SAIjB,CAA0B,UAA1B,OAAO,GAAgC,AAAmB,YAAnB,OAAOC,SAA0B,aAA0BA,SAAa,AAAe,YAAf,OAAOC,KAAsB,aAA0BA,GAAG,GACzK,GAAiBC,MAAM,EAAc,EAGzC,GAAM,CAAE,UAAQ,CAAE,QAAM,CAAE,CAAG,MAAMT,EAAW,MAAM,EAzL7C,CACH,UAAW,KACX,iBAnBY,CACZ,UAAW,KACX,oCAAqC,SAAS,CAAI,CAAE,CAAI,MA0BpC,EAAK,EA2Db,EAAK,EAlFb,OAuBgB,EAxBe,EAwBV,EAxBgB,EAmF7B,EA1DE,IAAQ,EA2D1B,IADqB,EA1DQ,CA2DR,GAHO,aAMxB,AADA,GAAoB,IAAIF,YAAY,QAAS,CAAE,UAAW,GAAM,MAAO,EAAK,EAAC,EAC3D,MAAM,GACxB,EAAkB,GAEf,EAAkB,MAAM,CAAC,IAAuB,QAAQ,CAAC,EAAK,EAAM,GAxFvE,EACA,gCAAiC,WAC7B,IAAM,EAAQ,EAAK,qBAAqB,CAClC,EAAS,EAAM,IAAI,CAAC,GAC1B,EAAM,GAAG,CAAC,EAAG,QACb,EAAM,GAAG,CAAC,EAAS,EAAG,QACtB,EAAM,GAAG,CAAC,EAAS,EAAG,MACtB,EAAM,GAAG,CAAC,EAAS,EAAG,IACtB,EAAM,GAAG,CAAC,EAAS,EAAG,GAC1B,CACJ,CAIA,GAwLA,OAzFA,EAAO,AAyFoB,EAzFX,OAAO,CAEvB,EAA0B,KAC1B,EAAK,gBAAgB,GACd,CAsFX,C"}
@@ -595,7 +595,7 @@ writer-reload-polling = Polling every { $seconds }s
595
595
  </div>`})}_renderBranchHeading(t,r){let s=t&&r?"compat-branch-prefix-altname":t?"compat-branch-prefix":"compat-branch-altname",n=this.l10n.raw({id:s,args:{prefix:t,altname:r},elements:{prefix:{tag:"code"},altname:{tag:"code"}}}),o=[t&&this._renderIcon("prefix"),r&&this._renderIcon("altname")].filter(Boolean);return(0,a.qy)`<div class="bc-branch-heading">
596
596
  <div class="bc-icons">${o}</div>
597
597
  <span>${n}</span>
598
- </div>`}_getNotes(t,r,s,{omitAliasModifiers:a=!1}={}){let n=[];if(s.version_removed&&!(0,m.DD)(r).some(t=>t.version_added===s.version_removed)&&n.push({iconName:"footnote",label:this.l10n.raw({id:"compat-support-removed",args:{version:O(s.version_removed,t)}})}),s.partial_implementation&&n.push({iconName:"footnote",label:this.l10n("compat-support-partial")`Partial support`}),s.flags){let r="string"==typeof s.version_added&&"preview"!==s.version_added,a="string"==typeof s.version_last,o=r?a?"range":"from":a?"until":"none";for(let{type:r,name:a,value_to_set:l}of s.flags)n.push({iconName:"disabled",label:this.l10n.raw({id:"compat-support-flag-range",args:{version_range:o,version_added:s.version_added,version_last:s.version_last,flag_type:r,flag_name:a,has_value:Number("string"==typeof l),flag_value:l,has_pref_url:Number("string"==typeof t.pref_url),browser_name:t.name,browser_pref_url:t.pref_url},elements:{name:{tag:"code"},value:{tag:"code"}}})})}if(s.notes)for(let t of Array.isArray(s.notes)?s.notes:[s.notes])n.push({iconName:"footnote",label:t});if(s.impl_url)for(let t of Array.isArray(s.impl_url)?s.impl_url:[s.impl_url])n.push({iconName:"footnote",label:this.l10n.raw({id:"compat-support-see-impl-url",args:{label:(0,m.YW)(t)},elements:{impl_url:{tag:"a",href:t}}})});return(0,m.do)(s.version_added,t)&&n.push({iconName:"footnote",label:this.l10n("compat-support-preview-browser")`Preview browser support`}),(0,m.j$)(s,{ignoreAliasModifiers:a})&&!(0,m.do)(s.version_added,t)?n.push({iconName:"footnote",label:this.l10n("compat-support-full")`Full support`}):(0,m._K)(s)&&n.push({iconName:"footnote",label:this.l10n("compat-support-no")`No support`}),0===n.length&&n.push({iconName:"unknown",label:this.l10n("compat-support-unknown")`Support unknown`}),n}_renderCellText(t,r,s=!1,{omitAliasModifiers:n=!1}={}){let o,l,c=(0,m.$e)(t),d=c?.version_added??void 0,h=c?.version_last??void 0,u=function(t){if(t)return(0,m.$e)(t)?.release_date}(t),p=b(t,r);switch(d){case void 0:o={isSupported:"unknown"};break;case!1:o={isSupported:"no"};break;case"preview":o={isSupported:"preview"};break;default:o={isSupported:p,label:"string"!=typeof h?(0,a.qy)`${O(d,r)}`:(0,a.qy)`${O(d,r)}&#8202;&ndash;&#8202;${O(h,r)}`}}let v="";switch(o.isSupported){case"yes":v=this.l10n("compat-support-full")`Full support`,l=o.label||this.l10n("compat-yes")`Yes`;break;case"partial":v=this.l10n("compat-support-partial")`Partial support`,l=o.label||this.l10n("compat-partial")`Partial`;break;case"removed-partial":s?(v=this.l10n("compat-support-partial")`Partial support`,l=o.label||this.l10n("compat-partial")`Partial`):(v=this.l10n("compat-support-no")`No support`,l=o.label||this.l10n("compat-no")`No`);break;case"no":v=this.l10n("compat-support-no")`No support`,l=o.label||this.l10n("compat-no")`No`;break;case"preview":v=this.l10n("compat-support-preview")`Preview support`,l=o.label||r.preview_name;break;case"unknown":v=this.l10n("compat-support-unknown")`Support unknown`,l="?"}return v=`${r.name} – ${v}`,(0,a.qy)`<div
598
+ </div>`}_getNotes(t,r,s,{omitAliasModifiers:a=!1}={}){let n=[];if(s.version_removed&&(0,m.DD)(r).every(t=>t.version_added!==s.version_removed)&&n.push({iconName:"footnote",label:this.l10n.raw({id:"compat-support-removed",args:{version:O(s.version_removed,t)}})}),s.partial_implementation&&n.push({iconName:"footnote",label:this.l10n("compat-support-partial")`Partial support`}),s.flags){let r="string"==typeof s.version_added&&"preview"!==s.version_added,a="string"==typeof s.version_last,o=r?a?"range":"from":a?"until":"none";for(let{type:r,name:a,value_to_set:l}of s.flags)n.push({iconName:"disabled",label:this.l10n.raw({id:"compat-support-flag-range",args:{version_range:o,version_added:s.version_added,version_last:s.version_last,flag_type:r,flag_name:a,has_value:Number("string"==typeof l),flag_value:l,has_pref_url:Number("string"==typeof t.pref_url),browser_name:t.name,browser_pref_url:t.pref_url},elements:{name:{tag:"code"},value:{tag:"code"}}})})}if(s.notes)for(let t of Array.isArray(s.notes)?s.notes:[s.notes])n.push({iconName:"footnote",label:t});if(s.impl_url)for(let t of Array.isArray(s.impl_url)?s.impl_url:[s.impl_url])n.push({iconName:"footnote",label:this.l10n.raw({id:"compat-support-see-impl-url",args:{label:(0,m.YW)(t)},elements:{impl_url:{tag:"a",href:t}}})});return(0,m.do)(s.version_added,t)&&n.push({iconName:"footnote",label:this.l10n("compat-support-preview-browser")`Preview browser support`}),(0,m.j$)(s,{ignoreAliasModifiers:a})&&!(0,m.do)(s.version_added,t)?n.push({iconName:"footnote",label:this.l10n("compat-support-full")`Full support`}):(0,m._K)(s)&&n.push({iconName:"footnote",label:this.l10n("compat-support-no")`No support`}),0===n.length&&n.push({iconName:"unknown",label:this.l10n("compat-support-unknown")`Support unknown`}),n}_renderCellText(t,r,s=!1,{omitAliasModifiers:n=!1}={}){let o,l,c=(0,m.$e)(t),d=c?.version_added??void 0,h=c?.version_last??void 0,u=function(t){if(t)return(0,m.$e)(t)?.release_date}(t),p=b(t,r);switch(d){case void 0:o={isSupported:"unknown"};break;case!1:o={isSupported:"no"};break;case"preview":o={isSupported:"preview"};break;default:o={isSupported:p,label:"string"!=typeof h?(0,a.qy)`${O(d,r)}`:(0,a.qy)`${O(d,r)}&#8202;&ndash;&#8202;${O(h,r)}`}}let v="";switch(o.isSupported){case"yes":v=this.l10n("compat-support-full")`Full support`,l=o.label||this.l10n("compat-yes")`Yes`;break;case"partial":v=this.l10n("compat-support-partial")`Partial support`,l=o.label||this.l10n("compat-partial")`Partial`;break;case"removed-partial":s?(v=this.l10n("compat-support-partial")`Partial support`,l=o.label||this.l10n("compat-partial")`Partial`):(v=this.l10n("compat-support-no")`No support`,l=o.label||this.l10n("compat-no")`No`);break;case"no":v=this.l10n("compat-support-no")`No support`,l=o.label||this.l10n("compat-no")`No`;break;case"preview":v=this.l10n("compat-support-preview")`Preview support`,l=o.label||r.preview_name;break;case"unknown":v=this.l10n("compat-support-unknown")`Support unknown`,l="?"}return v=`${r.name} – ${v}`,(0,a.qy)`<div
599
599
  class=${s?"bcd-timeline-cell-text-wrapper":"bcd-cell-text-wrapper"}
600
600
  >
601
601
  <div class="bcd-cell-icons">
@@ -976,7 +976,7 @@ ${a}`:a}}return this._choices=[...this.closest("section")?.querySelectorAll(".co
976
976
  >${this.native}</a
977
977
  >
978
978
  </li>
979
- `}};customElements.define("mdn-language-switcher",MDNLanguageSwitcher)},47849(t,r,s){var a=s(86161),n=s(15142),o=s(46070),l=s(78458);s(39324),s(24838);let MDNLiveSampleResult=class MDNLiveSampleResult extends(0,o.J)(a.WF){static styles=l.A;static get properties(){return{liveId:{attribute:"live-id"},code:{type:Object},allowed:{},sandbox:{},srcPrefix:{attribute:"src-prefix"},height:{},breakoutLink:{state:!0}}}constructor(){super(),this.liveId=void 0,this.code=void 0,this.allow=void 0,this.sandbox=void 0,this.srcPrefix=void 0,this.height=void 0,this.breakoutLink=void 0}_openFullscreen(t=!1){this._runnerSrc?t||this._fullscreenReplace?location.replace(this._runnerSrc):location.href=this._runnerSrc:(this._fullscreenPending=!0,t&&(this._fullscreenReplace=!0))}_fullscreenClick(t){this.liveId&&t.target instanceof HTMLAnchorElement&&t.target.hash===`#livesample_fullscreen=${this.liveId}`&&(t.preventDefault(),this._openFullscreen())}_runnerSrcUpdated({detail:t}){this._runnerSrc=t,this._fullscreenPending&&this._openFullscreen();let r=new URL(`/${document.documentElement.lang}/play`,location.href);r.search=new URL(this._runnerSrc).search,this.srcPrefix&&r.searchParams.append("srcPrefix",this.srcPrefix),this.breakoutLink=r.href}connectedCallback(){super.connectedCallback(),this._fullscreenClick=this._fullscreenClick.bind(this),document.addEventListener("click",this._fullscreenClick),location.hash===`#livesample_fullscreen=${this.liveId}`&&this._openFullscreen()}render(){return(0,a.qy)`
979
+ `}};customElements.define("mdn-language-switcher",MDNLanguageSwitcher)},47849(t,r,s){var a=s(86161),n=s(15142),o=s(46070),l=s(78458);s(39324),s(24838);let MDNLiveSampleResult=class MDNLiveSampleResult extends(0,o.J)(a.WF){static styles=l.A;static get properties(){return{liveId:{attribute:"live-id"},code:{type:Object},allowed:{},sandbox:{},srcPrefix:{attribute:"src-prefix"},height:{},breakoutLink:{state:!0}}}constructor(){super(),this.liveId=void 0,this.code=void 0,this.allow=void 0,this.sandbox=void 0,this.srcPrefix=void 0,this.height=void 0,this.breakoutLink=void 0}_openFullscreen(t=!1){this._runnerSrc?t||this._fullscreenReplace?location.replace(this._runnerSrc):location.assign(this._runnerSrc):(this._fullscreenPending=!0,t&&(this._fullscreenReplace=!0))}_fullscreenClick(t){this.liveId&&t.target instanceof HTMLAnchorElement&&t.target.hash===`#livesample_fullscreen=${this.liveId}`&&(t.preventDefault(),this._openFullscreen())}_runnerSrcUpdated({detail:t}){this._runnerSrc=t,this._fullscreenPending&&this._openFullscreen();let r=new URL(`/${document.documentElement.lang}/play`,location.href);r.search=new URL(this._runnerSrc).search,this.srcPrefix&&r.searchParams.append("srcPrefix",this.srcPrefix),this.breakoutLink=r.href}connectedCallback(){super.connectedCallback(),this._fullscreenClick=this._fullscreenClick.bind(this),document.addEventListener("click",this._fullscreenClick),location.hash===`#livesample_fullscreen=${this.liveId}`&&this._openFullscreen()}render(){return(0,a.qy)`
980
980
  <div class="code-example">
981
981
  <div class="example-header">
982
982
  ${this.breakoutLink?(0,a.qy)`<mdn-button
@@ -1162,7 +1162,7 @@ ${a}`:a}}return this._choices=[...this.closest("section")?.querySelectorAll(".co
1162
1162
  </g>
1163
1163
  </svg>
1164
1164
  `}
1165
- `}({gradeDistribution:t,result:this.result}):n.s6,error:t=>(0,n.qy)`<div class="error">${t}</div>`}):n.s6}};function d(t,r){let s=Math.floor(Math.log10(t)),a=t/Math.pow(10,s);return(r?a<1.5?1:a<3?2:a<7?5:10:a<=1?1:a<=2?2:a<=5?5:10)*Math.pow(10,s)}customElements.define("mdn-observatory-comparison-table",MDNObservatoryComparisonTable)},17547(t,r,s){var a=s(86161),n=s(57423),o=s(36033),l=s(41457);s(20141),s(24838);var c=s(69504);let d={TypeError:"Observatory is currently down."};let MDNObservatoryForm=class MDNObservatoryForm extends a.WF{static styles=c.A;static get properties(){return{_queryRunning:{type:Boolean,state:!0},_hostname:{type:String,state:!0},_errorMessage:{type:String,state:!0}}}constructor(){super(),this._queryRunning=!1,this._hostname="",this._errorMessage=""}inputRef=(0,n._)();firstUpdated(){this.inputRef.value?.focus()}async _handleSubmit(t){t.preventDefault(),this._errorMessage="";let r=this.inputRef.value;if(!r?.value.trim()){this._errorMessage="Please enter a valid hostname";return}let s=r.value.trim();try{let t=new URL(s),r=t.hostname.trim()||s;t.port&&(r+=":"+t.port),t.pathname&&"/"!==t.pathname&&(r+=t.pathname),this._hostname=r}catch{this._hostname=s}this._queryRunning=!0,(0,o.w)("observatory: scan");try{let t=new URL(l.Q+`/api/v2/analyze?host=${encodeURIComponent(this._hostname)}`),r=await fetch(t,{method:"POST"});if(!r.ok){let t=await r.json();throw Error(`Request failed: ${t.message}`)}globalThis.location.href=`/en-US/observatory/analyze?host=${encodeURIComponent(this._hostname)}`}catch(t){this._errorMessage=`${d[t.name]||"message"in t?t.message:t}`,(0,o.w)(`observatory: error -> ${this._errorMessage}`)}finally{this._queryRunning=!1}}render(){return this._queryRunning?(0,a.qy)`
1165
+ `}({gradeDistribution:t,result:this.result}):n.s6,error:t=>(0,n.qy)`<div class="error">${t}</div>`}):n.s6}};function d(t,r){let s=Math.floor(Math.log10(t)),a=t/Math.pow(10,s);return(r?a<1.5?1:a<3?2:a<7?5:10:a<=1?1:a<=2?2:a<=5?5:10)*Math.pow(10,s)}customElements.define("mdn-observatory-comparison-table",MDNObservatoryComparisonTable)},17547(t,r,s){var a=s(86161),n=s(57423),o=s(36033),l=s(41457);s(20141),s(24838);var c=s(69504);let d={TypeError:"Observatory is currently down."};let MDNObservatoryForm=class MDNObservatoryForm extends a.WF{static styles=c.A;static get properties(){return{_queryRunning:{type:Boolean,state:!0},_hostname:{type:String,state:!0},_errorMessage:{type:String,state:!0}}}constructor(){super(),this._queryRunning=!1,this._hostname="",this._errorMessage=""}inputRef=(0,n._)();firstUpdated(){this.inputRef.value?.focus()}async _handleSubmit(t){t.preventDefault(),this._errorMessage="";let r=this.inputRef.value;if(!r?.value.trim()){this._errorMessage="Please enter a valid hostname";return}let s=r.value.trim();try{let t=new URL(s),r=t.hostname.trim()||s;t.port&&(r+=":"+t.port),t.pathname&&"/"!==t.pathname&&(r+=t.pathname),this._hostname=r}catch{this._hostname=s}this._queryRunning=!0,(0,o.w)("observatory: scan");try{let t=new URL(l.Q+`/api/v2/analyze?host=${encodeURIComponent(this._hostname)}`),r=await fetch(t,{method:"POST"});if(!r.ok){let t=await r.json();throw Error(`Request failed: ${t.message}`)}globalThis.location.assign(`/en-US/observatory/analyze?host=${encodeURIComponent(this._hostname)}`)}catch(t){this._errorMessage=`${d[t.name]||"message"in t?t.message:t}`,(0,o.w)(`observatory: error -> ${this._errorMessage}`)}finally{this._queryRunning=!1}}render(){return this._queryRunning?(0,a.qy)`
1166
1166
  <label class="visually-hidden" for="progress-bar">
1167
1167
  Scanning ${this._hostname} </label
1168
1168
  ><mdn-progress-bar id="progress-bar"></mdn-progress-bar>
@@ -1659,7 +1659,7 @@ ${a}`:a}}return this._choices=[...this.closest("section")?.querySelectorAll(".co
1659
1659
  <a href=${s} target="_blank" rel="noreferrer">
1660
1660
  ${r}
1661
1661
  </a>
1662
- `}function O(t){return t.split("-").map(t=>t?t.charAt(0).toUpperCase()+t.slice(1):"").join("-")}},9552(t,r,s){function a(t,r="index"){let s=t.publicPath;if(!s)throw Error("publicPath is not defined in manifest");let o=t.entrypoints?.[r];return{assets:n(o?.assets?.map(({name:t})=>s+t)),auxiliaryAssets:n(o?.auxiliaryAssets?.map(({name:t})=>s+t))}}function n(t){if(!t)return;let r={};for(let s of t){let t=s.toLowerCase().match(/\.([a-z0-9]*)$/)?.[1];t&&(r[t]?r[t].push(s):r[t]=[s])}return r}function o(t,r){return[...new Set(t.flatMap(t=>a(r,l(t)).assets?.css).filter(t=>void 0!==t))]}function l(t){return`styles-${t.replaceAll(/([a-z0-9])([A-Z])/g,"$1-$2").replaceAll(/([A-Z])([A-Z][a-z])/g,"$1-$2").toLowerCase()}`}s.d(r,{pE:()=>a,Yn:()=>l,ax:()=>o})},7895(t,r,s){var a=s(86161),n=s(57423),o=s(15142);s(47764),s(13755);var l=s(51360),c=s(85952);let MDNPlacementBottom=class MDNPlacementBottom extends(0,l.N)(a.WF){static styles=c.A;renderComplete(t){let r=t?.hpFooter||t?.bottom;if(!r)return a.s6;let{status:s,click:l,view:c,image:d,alt:h,colors:u,version:p}=r;if("success"!==s)return a.s6;this._viewedUrl||(this._viewedUrl=c,this._version=p);let{backgroundColor:m,textColor:b}=u||{},O=Object.fromEntries([["--bottom-background",m],["--bottom-color",b]].filter(([t,r])=>!!r)),v=t?.hpFooter?"hp-footer":"bottom-banner";return(0,a.qy)`<div
1662
+ `}function O(t){return t.split("-").map(t=>t?t.charAt(0).toUpperCase()+t.slice(1):"").join("-")}},9552(t,r,s){function a(t,r="index"){let s=t.publicPath;if(!s)throw Error("publicPath is not defined in manifest");let o=t.entrypoints?.[r];return{assets:n(o?.assets?.map(({name:t})=>s+t)),auxiliaryAssets:n(o?.auxiliaryAssets?.map(({name:t})=>s+t))}}function n(t){if(!t)return;let r={};for(let s of t){let t=s.toLowerCase().match(/\.([a-z0-9]*)$/)?.[1];t&&(r[t]?r[t].push(s):r[t]=[s])}return r}function o(t,r){return[...new Set(t.flatMap(t=>a(r,l(t)).assets?.css).filter(t=>void 0!==t))]}function l(t){return`styles-${t.replaceAll(/([a-z0-9])([A-Z])/g,"$1-$2").replaceAll(/([A-Z])([A-Z][a-z])/g,"$1-$2").toLowerCase()}`}s.d(r,{pE:()=>a,Yn:()=>l,ax:()=>o})},7895(t,r,s){var a=s(86161),n=s(57423),o=s(15142);s(47764),s(13755);var l=s(51360),c=s(85952);let MDNPlacementBottom=class MDNPlacementBottom extends(0,l.N)(a.WF){static styles=c.A;renderComplete(t){let r=t?.hpFooter||t?.bottom;if(!r)return a.s6;let{status:s,click:l,view:c,image:d,alt:h,colors:u,version:p}=r;if("success"!==s)return a.s6;this._viewedUrl||(this._viewedUrl=c,this._version=p);let{backgroundColor:m,textColor:b}=u||{},O=Object.fromEntries([["--bottom-background",m],["--bottom-color",b]].filter(([t,r])=>r)),v=t?.hpFooter?"hp-footer":"bottom-banner";return(0,a.qy)`<div
1663
1663
  ${(0,n.K)(this._placementRef)}
1664
1664
  class="bottom-placement"
1665
1665
  style=${(0,o.W)(O)}
@@ -1683,7 +1683,7 @@ ${a}`:a}}return this._choices=[...this.closest("section")?.querySelectorAll(".co
1683
1683
  </a>
1684
1684
  <mdn-placement-note></mdn-placement-note>
1685
1685
  </section>
1686
- </div>`}};customElements.define("mdn-placement-bottom",MDNPlacementBottom)},44394(t,r,s){var a=s(86161),n=s(57423),o=s(15142);s(47764),s(13755);var l=s(51360),c=s(43437);let MDNPlacementHpMain=class MDNPlacementHpMain extends(0,l.N)(a.WF){static styles=c.A;renderComplete(t){let{hpMain:r}=t;if(!r)return a.s6;let{status:s,click:l,view:c,image:d,alt:h,colors:u,version:p}=r;if("success"!==s)return a.s6;this._viewedUrl||(this._viewedUrl=c,this._version=p);let{backgroundColor:m,textColor:b}=u||{},O=Object.fromEntries([["--hp-main-background",m],["--hp-main-color",b]].filter(([t,r])=>!!r)),v="hp-main";return(0,a.qy)`<div
1686
+ </div>`}};customElements.define("mdn-placement-bottom",MDNPlacementBottom)},44394(t,r,s){var a=s(86161),n=s(57423),o=s(15142);s(47764),s(13755);var l=s(51360),c=s(43437);let MDNPlacementHpMain=class MDNPlacementHpMain extends(0,l.N)(a.WF){static styles=c.A;renderComplete(t){let{hpMain:r}=t;if(!r)return a.s6;let{status:s,click:l,view:c,image:d,alt:h,colors:u,version:p}=r;if("success"!==s)return a.s6;this._viewedUrl||(this._viewedUrl=c,this._version=p);let{backgroundColor:m,textColor:b}=u||{},O=Object.fromEntries([["--hp-main-background",m],["--hp-main-color",b]].filter(([t,r])=>r)),v="hp-main";return(0,a.qy)`<div
1687
1687
  ${(0,n.K)(this._placementRef)}
1688
1688
  class="hp-main-placement"
1689
1689
  style=${(0,o.W)(O)}
@@ -1720,7 +1720,7 @@ ${a}`:a}}return this._choices=[...this.closest("section")?.querySelectorAll(".co
1720
1720
  target="_blank"
1721
1721
  rel="noreferrer"
1722
1722
  >${this.l10n("placement-note")}</a
1723
- >`}};customElements.define("mdn-placement-note",MDNPlacementNote)},57468(t,r,s){var a=s(86161),n=s(57423),o=s(15142);s(47764),s(13755);var l=s(51360),c=s(85239);let MDNPlacementSidebar=class MDNPlacementSidebar extends(0,l.N)(a.WF){static styles=c.A;static get properties(){return{horizontal:{type:Boolean}}}constructor(){super(),this.horizontal=!1}renderComplete(t){let{side:r}=t;if(!r)return a.s6;let{status:s,click:l,view:c,copy:d,image:h,imageFormat:u,alt:p,cta:m,colors:b,version:O,heading:v}=r;if("success"!==s)return a.s6;this._viewedUrl||(this._viewedUrl=c,this._version=O);let{textColor:y,backgroundColor:_,textColorDark:w,backgroundColorDark:T}=b||{},x=Object.fromEntries([["--side-background-light",_],["--side-color-light",y],["--side-background-dark",T||_],["--side-color-dark",w||y]].filter(([t,r])=>!!r)),E="side";return"skyscraper"===u?(0,a.qy)`<section class="sidebar-placement-skyscraper">
1723
+ >`}};customElements.define("mdn-placement-note",MDNPlacementNote)},57468(t,r,s){var a=s(86161),n=s(57423),o=s(15142);s(47764),s(13755);var l=s(51360),c=s(85239);let MDNPlacementSidebar=class MDNPlacementSidebar extends(0,l.N)(a.WF){static styles=c.A;static get properties(){return{horizontal:{type:Boolean}}}constructor(){super(),this.horizontal=!1}renderComplete(t){let{side:r}=t;if(!r)return a.s6;let{status:s,click:l,view:c,copy:d,image:h,imageFormat:u,alt:p,cta:m,colors:b,version:O,heading:v}=r;if("success"!==s)return a.s6;this._viewedUrl||(this._viewedUrl=c,this._version=O);let{textColor:y,backgroundColor:_,textColorDark:w,backgroundColorDark:T}=b||{},x=Object.fromEntries([["--side-background-light",_],["--side-color-light",y],["--side-background-dark",T||_],["--side-color-dark",w||y]].filter(([t,r])=>r)),E="side";return"skyscraper"===u?(0,a.qy)`<section class="sidebar-placement-skyscraper">
1724
1724
  <div
1725
1725
  ${(0,n.K)(this._placementRef)}
1726
1726
  class="placement-container"
@@ -1789,7 +1789,7 @@ ${a}`:a}}return this._choices=[...this.closest("section")?.querySelectorAll(".co
1789
1789
  </a>
1790
1790
  </p>
1791
1791
  </div>
1792
- `}renderComplete(t){if("noads"===t.status)return a.s6;let r=t?.hpTop||t?.top;if(!r)return this.renderFallback();let{status:s,click:l,view:c,copy:d,image:h,imageFormat:u,alt:p,cta:m,colors:b,version:O}=r;if("success"!==s)return this.renderFallback();this._viewedUrl||(this._viewedUrl=c,this._version=O);let{textColor:v,backgroundColor:y,ctaTextColor:_,ctaBackgroundColor:w,textColorDark:T,backgroundColorDark:x,ctaTextColorDark:E,ctaBackgroundColorDark:A}=b||{},$=Object.fromEntries([["--place-top-background-light",y],["--place-top-color-light",v],["--place-top-cta-background-light",w],["--place-top-cta-color-light",_],["--place-top-background-dark",x||y],["--place-top-color-dark",T||v],["--place-top-cta-background-dark",A||w],["--place-top-cta-color-dark",E||w]].filter(([t,r])=>!!r)),C="top-banner";return"leaderboard"===u?(0,a.qy)`<div
1792
+ `}renderComplete(t){if("noads"===t.status)return a.s6;let r=t?.hpTop||t?.top;if(!r)return this.renderFallback();let{status:s,click:l,view:c,copy:d,image:h,imageFormat:u,alt:p,cta:m,colors:b,version:O}=r;if("success"!==s)return this.renderFallback();this._viewedUrl||(this._viewedUrl=c,this._version=O);let{textColor:v,backgroundColor:y,ctaTextColor:_,ctaBackgroundColor:w,textColorDark:T,backgroundColorDark:x,ctaTextColorDark:E,ctaBackgroundColorDark:A}=b||{},$=Object.fromEntries([["--place-top-background-light",y],["--place-top-color-light",v],["--place-top-cta-background-light",w],["--place-top-cta-color-light",_],["--place-top-background-dark",x||y],["--place-top-color-dark",T||v],["--place-top-cta-background-dark",A||w],["--place-top-cta-color-dark",E||w]].filter(([t,r])=>r)),C="top-banner";return"leaderboard"===u?(0,a.qy)`<div
1793
1793
  ${(0,n.K)(this._placementRef)}
1794
1794
  class="top-placement-leaderboard"
1795
1795
  style=${(0,o.W)($)}
@@ -2040,7 +2040,7 @@ ${r}
2040
2040
  </h2>
2041
2041
  <ul>
2042
2042
  ${this._pages.map(({path:t,title:r})=>(0,a.qy)`<li><a href=${t}>${r}</a></li>`)}
2043
- </ul>`}};customElements.define("mdn-recently-visited",MDNRecentlyVisited)},93649(t,r,s){let RecentlyVisitedPages=class RecentlyVisitedPages{static #d="recently-visited";#h;constructor(){this.#h=this.#u()}#u(){let t=localStorage.getItem(RecentlyVisitedPages.#d);if(t){let r;try{if(r=JSON.parse(t),Array.isArray(r))return r.map(t=>new RecentlyVisitedPage(t))}catch{console.error(`Parsing ${RecentlyVisitedPages.#d} failed`)}}return[]}#p(){localStorage.setItem(RecentlyVisitedPages.#d,JSON.stringify(this.#h))}map(t){return this.#h.map(t)}add(t){this.#h=[...new Map([t,...this.#h].map(t=>[t.path,t])).values()].slice(0,10),this.#p()}};let RecentlyVisitedPage=class RecentlyVisitedPage{title="";path="";constructor(t){Object.assign(this,t)}};s.d(r,{B:()=>RecentlyVisitedPages,E:()=>RecentlyVisitedPage})},55237(t,r,s){var a=s(86161),n=s(93649);let MDNRecordVisit=class MDNRecordVisit extends a.WF{static ssr=!1;static get properties(){return{pageTitle:{type:String,attribute:"page-title"}}}constructor(){super(),this.pageTitle=void 0}connectedCallback(){super.connectedCallback(),this.pageTitle&&new n.B().add(new n.E({title:this.pageTitle,path:location.pathname}))}};customElements.define("mdn-record-visit",MDNRecordVisit)},301(t,r,s){let SandboxComponent=class SandboxComponent{static render(t){return new this().render(t)}render(t){throw Error("Must be implemented by subclass")}};s.d(r,{d:()=>SandboxComponent})},33878(t,r,s){var a=s(86161),n=s(66136),o=s(57423),l=s(15142),c=s(46070),d=s(36033),h=s(54016);let u=(0,a.JW)`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000" viewBox="0 0 112 112"><circle cx="55.764" cy="55.764" r="41.823"/><path d="M69.011 57.428a2 2 0 0 0 0-3.328L50.903 42.027c-1.33-.886-3.11.067-3.11 1.664v24.145c0 1.598 1.78 2.55 3.11 1.664z"/></svg>`;var p=s(52055);let MDNScrimInline=class MDNScrimInline extends(0,c.J)(a.WF){static styles=p.A;static ssr=!1;static get properties(){return{url:{type:String},img:{type:String},scrimTitle:{type:String,attribute:"scrimtitle"},_fullscreen:{state:!0},_scrimLoaded:{state:!0}}}_bodyRef=(0,o._)();constructor(){super(),this.url=void 0,this._fullUrl=void 0,this._scrimId=void 0,this.img=void 0,this._imgStyle={},this.scrimTitle=void 0,this._fullscreen=!1,this._scrimLoaded=!1,new h.B(this,this._bodyRef,()=>{this._scrimId&&(0,d.w)(`curriculum: scrim view id:${this._scrimId}`)})}willUpdate(t){if(t.has("url"))if(this.url){let t=new URL(this.url);t.searchParams.set("via","mdn"),t.searchParams.set("embed",""),this._fullUrl=t.toString(),this._scrimId=t.pathname.slice(1)}else this._fullUrl=void 0,this._scrimId=void 0;t.has("img")&&(this._imgStyle=this.img?{"--scrim-img":`url(${this.img})`}:{})}render(){return this.url&&this._fullUrl?(0,a.qy)`
2043
+ </ul>`}};customElements.define("mdn-recently-visited",MDNRecentlyVisited)},93649(t,r,s){let RecentlyVisitedPages=class RecentlyVisitedPages{static #d="recently-visited";#h;constructor(){this.#h=this.#u()}#u(){let t=localStorage.getItem(RecentlyVisitedPages.#d);if(t)try{let r=JSON.parse(t);if(Array.isArray(r))return r.map(t=>new RecentlyVisitedPage(t))}catch{console.error(`Parsing ${RecentlyVisitedPages.#d} failed`)}return[]}#p(){localStorage.setItem(RecentlyVisitedPages.#d,JSON.stringify(this.#h))}map(t){return this.#h.map(t)}add(t){this.#h=[...new Map([t,...this.#h].map(t=>[t.path,t])).values()].slice(0,10),this.#p()}};let RecentlyVisitedPage=class RecentlyVisitedPage{title="";path="";constructor(t){Object.assign(this,t)}};s.d(r,{B:()=>RecentlyVisitedPages,E:()=>RecentlyVisitedPage})},55237(t,r,s){var a=s(86161),n=s(93649);let MDNRecordVisit=class MDNRecordVisit extends a.WF{static ssr=!1;static get properties(){return{pageTitle:{type:String,attribute:"page-title"}}}constructor(){super(),this.pageTitle=void 0}connectedCallback(){super.connectedCallback(),this.pageTitle&&new n.B().add(new n.E({title:this.pageTitle,path:location.pathname}))}};customElements.define("mdn-record-visit",MDNRecordVisit)},301(t,r,s){let SandboxComponent=class SandboxComponent{static render(t){return new this().render(t)}render(t){throw Error("Must be implemented by subclass")}};s.d(r,{d:()=>SandboxComponent})},33878(t,r,s){var a=s(86161),n=s(66136),o=s(57423),l=s(15142),c=s(46070),d=s(36033),h=s(54016);let u=(0,a.JW)`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000" viewBox="0 0 112 112"><circle cx="55.764" cy="55.764" r="41.823"/><path d="M69.011 57.428a2 2 0 0 0 0-3.328L50.903 42.027c-1.33-.886-3.11.067-3.11 1.664v24.145c0 1.598 1.78 2.55 3.11 1.664z"/></svg>`;var p=s(52055);let MDNScrimInline=class MDNScrimInline extends(0,c.J)(a.WF){static styles=p.A;static ssr=!1;static get properties(){return{url:{type:String},img:{type:String},scrimTitle:{type:String,attribute:"scrimtitle"},_fullscreen:{state:!0},_scrimLoaded:{state:!0}}}_bodyRef=(0,o._)();constructor(){super(),this.url=void 0,this._fullUrl=void 0,this._scrimId=void 0,this.img=void 0,this._imgStyle={},this.scrimTitle=void 0,this._fullscreen=!1,this._scrimLoaded=!1,new h.B(this,this._bodyRef,()=>{this._scrimId&&(0,d.w)(`curriculum: scrim view id:${this._scrimId}`)})}willUpdate(t){if(t.has("url"))if(this.url){let t=new URL(this.url);t.searchParams.set("via","mdn"),t.searchParams.set("embed",""),this._fullUrl=t.toString(),this._scrimId=t.pathname.slice(1)}else this._fullUrl=void 0,this._scrimId=void 0;t.has("img")&&(this._imgStyle=this.img?{"--scrim-img":`url(${this.img})`}:{})}render(){return this.url&&this._fullUrl?(0,a.qy)`
2044
2044
  <dialog @close=${this.#m} style=${(0,l.W)(this._imgStyle)}>
2045
2045
  <div class="inner">
2046
2046
  <div class="header">
@@ -2195,7 +2195,7 @@ ${r}
2195
2195
  </ul>
2196
2196
  </dialog>
2197
2197
  `}updated(){if(this._shiftFocus){let t=this._getSelectedItem();t instanceof HTMLElement&&t.focus()}}};function u(t){return(t=t.trim().toLowerCase()).startsWith(".")||t.endsWith(".")?t.split(/[ ,]+/):t.split(/[ ,.]+/)}customElements.define("mdn-search-modal",MDNSearchModal),s.d(r,{H:()=>MDNSearchModal})},41455(t,r,s){let a=new(s(16698)).AsyncLocalStorage;s.d(r,{},{T:a})},3073(t,r,s){var a=s(47424),n=s(86161),o=s(36105),l=s(9552),c=s(41455);let ServerComponent=class ServerComponent{static stylesInHead=!0;static legacy=!1;static inlineScript;simplifiedMode=!1;static render(...t){let r=c.T.getStore();if(!r)throw Error("asyncLocalStorage missing");let s=new this;if("renderSimplified"in r)return s.simplifiedMode=!0,s.renderSimplified(...t);let{componentsUsed:d,componentsWithStylesInHead:h,compilationStats:u}=r,p=d.has(this.name);d.add(this.name),this.stylesInHead&&h.add(this.name),this.legacy&&d.add("legacy");let m=s.render(...t);if(!m||m===n.s6)return p||(d.delete(this.name),h.delete(this.name)),n.s6;let{inlineScript:b}=this;if(b&&(m=(0,a.qy)`${m}${(0,o._)(`<script>${b}</script>`)}`),!this.stylesInHead){let t=(0,l.ax)([this.name],u.client);if(t.length>0)return(0,a.qy)`${t.map(t=>(0,a.qy)`<link rel="stylesheet" href=${t} fetchpriority="high" />
2198
- <script></script>`)}${m}`}return m}render(){throw Error("Must be implemented by subclass")}renderSimplified(...t){return this.render(...t)}};s.d(r,{H:()=>ServerComponent})},50128(t,r,s){var a=s(86161),n=s(46070),o=s(36033),l=s(10336),c=s(27376);let SidebarFilterer=class SidebarFilterer{constructor(t){this.allHeadings=[...t.querySelectorAll("li strong")].filter(t=>t instanceof HTMLElement),this.allParents=[...t.querySelectorAll("details")];let r=[...t.querySelectorAll("a[href]")].filter(t=>t instanceof HTMLAnchorElement);this.items=r.map(t=>({haystack:(t.textContent||"").toLowerCase(),link:t,container:this.getContainerOf(t),heading:this.getHeadingOf(t),parents:this.getParentsOf(t)})),this.toc=t.querySelector(".reference-toc")||null}applyFilter(t){if(t)return this.toggleTOC(!1),this.showOnlyMatchingItems(t);this.toggleTOC(!0),this.showAllItems()}toggleTOC(t){this.toc&&this.toggleElement(this.toc,t)}toggleElement(t,r){t.style.display=r?"":"none"}showAllItems(){for(let{link:t}of this.items)this.resetLink(t);for(let t of this.allHeadings)this.resetHeading(t);for(let t of this.allParents)this.resetParent(t)}resetLink(t){this.resetHighlighting(t);let r=this.getContainerOf(t);this.toggleElement(r,!0)}getContainerOf(t){return t.closest("li")||t}resetHeading(t){let r=this.getContainerOf(t);this.toggleElement(r,!0)}resetParent(t){let r=this.getContainerOf(t);this.toggleElement(r,!0),t.dataset.wasOpen&&(t.open=JSON.parse(t.dataset.wasOpen),delete t.dataset.wasOpen)}resetHighlighting(t){let r=[...t.querySelectorAll("span.sidebar-filter-mark-container, mark")],s=new Set;for(let t of r){let r=t.parentElement;t.replaceWith(document.createTextNode(t.textContent||"")),r&&s.add(r)}for(let t of s)t.normalize()}showOnlyMatchingItems(t){for(let t of this.allHeadings)this.hideHeading(t);for(let t of this.allParents)this.collapseParent(t);let r=t.toLowerCase().split(/\s+/).filter(Boolean),s=0;for(let{haystack:t,link:a,container:n,heading:o,parents:l}of this.items){this.resetHighlighting(a);let c=r.every(r=>t.includes(r));if(this.toggleElement(n,c),c)for(let t of(s++,this.highlightMatches(a,r),o&&this.showHeading(o),l))this.expandParent(t)}return s}hideHeading(t){let r=this.getContainerOf(t);this.toggleElement(r,!1)}collapseParent(t){let r=this.getContainerOf(t);this.toggleElement(r,!1),t.dataset.wasOpen=t.dataset.wasOpen||String(t.open),t.open=!1}highlightMatches(t,r){for(let s of this.getTextNodesOf(t)){let t=s.textContent?.toLowerCase();if(!t)continue;let a=new Map;for(let s of r){let r=t.indexOf(s);-1!==r&&a.set(r,r+s.length)}let n=[...a.entries()].sort(([t,r],[s,a])=>t-s||r-a),o=this.replaceChildNode(s,"span");o.className="sidebar-filter-mark-container";let l=[...o.childNodes].find(t=>t instanceof Text);if(!l)continue;let c=l,d=0;for(let[t,r]of n){if(t<d)continue;let s=c.splitText(t-d),a=s.splitText(r-t);this.replaceChildNode(s,"mark"),c=a,d=r}}}getTextNodesOf(t){let r=[t],s=[];for(let t of r)for(let a of t.childNodes)a.nodeType===Node.TEXT_NODE?s.push(a):a.hasChildNodes&&a.hasChildNodes()&&r.push(a);return s}replaceChildNode(t,r){let s=t.textContent,a=document.createElement(r);return a.textContent=s||"",t.replaceWith(a),a}showHeading(t){let r=t&&this.getContainerOf(t);r&&this.toggleElement(r,!0)}getHeadingOf(t){return this.findFirstElementBefore(t,this.allHeadings)}findFirstElementBefore(t,r){return r.findLast(r=>r.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)}expandParent(t){let r=this.getContainerOf(t);this.toggleElement(r,!0),t.open=!0}getParentsOf(t){let r=[],s=t.parentElement?t.parentElement.closest("details"):null;for(;s;)r.push(s),s=s.parentElement?s.parentElement.closest("details"):null;return r}};s(24838);let MDNSidebarFilter=class MDNSidebarFilter extends(0,n.J)(a.WF){static styles=c.A;static get properties(){return{query:{type:String},matchCount:{state:!0,type:Number}}}constructor(){super(),this.query="",this.matchCount=void 0,this.hasTyped=!1,this._filterer=null,this._quicklinks=null,this._sidebarInnerNav=null}firstUpdated(){this._quicklinks=document.querySelector(".left-sidebar"),this._quicklinks&&(this._sidebarInnerNav=this._quicklinks.querySelector(".left-sidebar__content")||null)}_saveScrollPosition(){for(let t of[this._quicklinks,this._sidebarInnerNav])t&&void 0===t.dataset.lastScrollTop&&t.scrollTop>0&&(t.dataset.lastScrollTop=String(t.scrollTop),t.scrollTop=0)}_restoreScrollPosition(){for(let t of[this._quicklinks,this._sidebarInnerNav])t&&"string"==typeof t.dataset.lastScrollTop&&(t.scrollTop=Number(t.dataset.lastScrollTop),delete t.dataset.lastScrollTop)}updated(t){if(t.has("query")&&(this.query&&this.query.trim().length>0&&!this.hasTyped&&(this.hasTyped=!0,(0,o.w)("sidebar_filter_typed")),this._quicklinks)){if(!this._filterer){let t=this._quicklinks.querySelector(".left-sidebar__content");t instanceof HTMLElement&&(this._filterer=new SidebarFilterer(t))}let t=this.query.trim();if(t&&this._saveScrollPosition(),this._filterer){let r=this._filterer.applyFilter(t);this.matchCount=r}t||this._restoreScrollPosition()}}_onFocus(){(0,o.w)("sidebar_filter_focus")}_onInput(t){let r=t.target;this.query=r.value}_clearFilter(){this.query=""}render(){return(0,a.qy)`
2198
+ <script></script>`)}${m}`}return m}render(){throw Error("Must be implemented by subclass")}renderSimplified(...t){return this.render(...t)}};s.d(r,{H:()=>ServerComponent})},50128(t,r,s){var a=s(86161),n=s(46070),o=s(36033),l=s(10336),c=s(27376);let SidebarFilterer=class SidebarFilterer{constructor(t){this.allHeadings=[...t.querySelectorAll("li strong")].filter(t=>t instanceof HTMLElement),this.allParents=[...t.querySelectorAll("details")];let r=[...t.querySelectorAll("a[href]")].filter(t=>t instanceof HTMLAnchorElement);this.items=r.map(t=>({haystack:(t.textContent||"").toLowerCase(),link:t,container:this.getContainerOf(t),heading:this.getHeadingOf(t),parents:this.getParentsOf(t)})),this.toc=t.querySelector(".reference-toc")||null}applyFilter(t){if(t)return this.toggleTOC(!1),this.showOnlyMatchingItems(t);this.toggleTOC(!0),this.showAllItems()}toggleTOC(t){this.toc&&this.toggleElement(this.toc,t)}toggleElement(t,r){t.style.display=r?"":"none"}showAllItems(){for(let{link:t}of this.items)this.resetLink(t);for(let t of this.allHeadings)this.resetHeading(t);for(let t of this.allParents)this.resetParent(t)}resetLink(t){this.resetHighlighting(t);let r=this.getContainerOf(t);this.toggleElement(r,!0)}getContainerOf(t){return t.closest("li")||t}resetHeading(t){let r=this.getContainerOf(t);this.toggleElement(r,!0)}resetParent(t){let r=this.getContainerOf(t);this.toggleElement(r,!0),t.dataset.wasOpen&&(t.open=JSON.parse(t.dataset.wasOpen),delete t.dataset.wasOpen)}resetHighlighting(t){let r=[...t.querySelectorAll("span.sidebar-filter-mark-container, mark")],s=new Set;for(let t of r){let r=t.parentElement;t.replaceWith(document.createTextNode(t.textContent||"")),r&&s.add(r)}for(let t of s)t.normalize()}showOnlyMatchingItems(t){for(let t of this.allHeadings)this.hideHeading(t);for(let t of this.allParents)this.collapseParent(t);let r=t.toLowerCase().split(/\s+/).filter(Boolean),s=0;for(let{haystack:t,link:a,container:n,heading:o,parents:l}of this.items){this.resetHighlighting(a);let c=r.every(r=>t.includes(r));if(this.toggleElement(n,c),c)for(let t of(s++,this.highlightMatches(a,r),o&&this.showHeading(o),l))this.expandParent(t)}return s}hideHeading(t){let r=this.getContainerOf(t);this.toggleElement(r,!1)}collapseParent(t){let r=this.getContainerOf(t);this.toggleElement(r,!1),t.dataset.wasOpen=t.dataset.wasOpen||String(t.open),t.open=!1}highlightMatches(t,r){for(let s of this.getTextNodesOf(t)){let t=s.textContent?.toLowerCase();if(!t)continue;let a=new Map;for(let s of r){let r=t.indexOf(s);-1!==r&&a.set(r,r+s.length)}let n=[...a].sort(([t,r],[s,a])=>t-s||r-a),o=this.replaceChildNode(s,"span");o.className="sidebar-filter-mark-container";let l=[...o.childNodes].find(t=>t instanceof Text);if(!l)continue;let c=l,d=0;for(let[t,r]of n){if(t<d)continue;let s=c.splitText(t-d),a=s.splitText(r-t);this.replaceChildNode(s,"mark"),c=a,d=r}}}getTextNodesOf(t){let r=[t],s=[];for(let t of r)for(let a of t.childNodes)a.nodeType===Node.TEXT_NODE?s.push(a):a.hasChildNodes&&a.hasChildNodes()&&r.push(a);return s}replaceChildNode(t,r){let s=t.textContent,a=document.createElement(r);return a.textContent=s||"",t.replaceWith(a),a}showHeading(t){let r=t&&this.getContainerOf(t);r&&this.toggleElement(r,!0)}getHeadingOf(t){return this.findFirstElementBefore(t,this.allHeadings)}findFirstElementBefore(t,r){return r.findLast(r=>r.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)}expandParent(t){let r=this.getContainerOf(t);this.toggleElement(r,!0),t.open=!0}getParentsOf(t){let r=[],s=t.parentElement?t.parentElement.closest("details"):null;for(;s;)r.push(s),s=s.parentElement?s.parentElement.closest("details"):null;return r}};s(24838);let MDNSidebarFilter=class MDNSidebarFilter extends(0,n.J)(a.WF){static styles=c.A;static get properties(){return{query:{type:String},matchCount:{state:!0,type:Number}}}constructor(){super(),this.query="",this.matchCount=void 0,this.hasTyped=!1,this._filterer=null,this._quicklinks=null,this._sidebarInnerNav=null}firstUpdated(){this._quicklinks=document.querySelector(".left-sidebar"),this._quicklinks&&(this._sidebarInnerNav=this._quicklinks.querySelector(".left-sidebar__content")||null)}_saveScrollPosition(){for(let t of[this._quicklinks,this._sidebarInnerNav])t&&void 0===t.dataset.lastScrollTop&&t.scrollTop>0&&(t.dataset.lastScrollTop=String(t.scrollTop),t.scrollTop=0)}_restoreScrollPosition(){for(let t of[this._quicklinks,this._sidebarInnerNav])t&&"string"==typeof t.dataset.lastScrollTop&&(t.scrollTop=Number(t.dataset.lastScrollTop),delete t.dataset.lastScrollTop)}updated(t){if(t.has("query")&&(this.query&&this.query.trim().length>0&&!this.hasTyped&&(this.hasTyped=!0,(0,o.w)("sidebar_filter_typed")),this._quicklinks)){if(!this._filterer){let t=this._quicklinks.querySelector(".left-sidebar__content");t instanceof HTMLElement&&(this._filterer=new SidebarFilterer(t))}let t=this.query.trim();if(t&&this._saveScrollPosition(),this._filterer){let r=this._filterer.applyFilter(t);this.matchCount=r}t||this._restoreScrollPosition()}}_onFocus(){(0,o.w)("sidebar_filter_focus")}_onInput(t){let r=t.target;this.query=r.value}_clearFilter(){this.query=""}render(){return(0,a.qy)`
2199
2199
  <label class="icon" for="input">
2200
2200
  <span class="visually-hidden"
2201
2201
  >${this.l10n("sidebar-filter-filter-sidebar")`Filter sidebar`}</span
@@ -2329,7 +2329,7 @@ ${r}
2329
2329
  }
2330
2330
  </style>
2331
2331
  144px: ${t} 1024px: ${t}
2332
- `}}},10423(t,r,s){var a=s(86161),n=s(66136),o=s(57423);s(24838);var l=s(46070),c=s(36033),d=s(10336),h=s(58621);let u=Object.freeze({BLOG_FEEDBACK_2023:"BLOG_FEEDBACK_2023",BROWSER_SURVEY_OCT_2022:"BROWSER_SURVEY_OCT_2022",CONTENT_DISCOVERY_2023:"CONTENT_DISCOVERY_2023",CSS_CASCADE_2022:"CSS_CASCADE_2022",DE_LOCALE_2024:"DE_LOCALE_2024",DE_LOCALE_2024_EVAL:"DE_LOCALE_2024_EVAL",FIREFOX_WEB_COMPAT_2023:"FIREFOX_WEB_COMPAT_2023",INTEROP_2023:"INTEROP_2023",IT_LOCALE_2025:"IT_LOCALE_2025",WEB_COMPONENTS_2023:"WEB_COMPONENTS_2023",DISCOVERABILITY_2023:"DISCOVERABILITY_2023",WEB_SECURITY_2023:"WEB_SECURITY_2023",DISCOVERABILITY_AUG_2023:"DISCOVERABILITY_AUG_2023",WEB_APP_AUGUST_2024:"WEB_APP_AUGUST_2024",HOMEPAGE_FEEDBACK_2024:"HOMEPAGE_FEEDBACK_2024",WEBDX_EDITING_2024:"WEBDX_EDITING_2024",HOUSE_SURVEY_2025:"HOUSE_SURVEY_2025",JS_PROPOSALS_2025:"JS_PROPOSALS_2025",FIRST_FRED_2025:"FIRST_FRED_2025",DEVELOPER_SURVEY_2025:"DEVELOPER_SURVEY_2025",BASELINE_A11Y_2026:"BASELINE_A11Y_2026",CANVAS_2026:"CANVAS_2026"}),p=[{key:u.CANVAS_2026,bucket:u.CANVAS_2026,show:t=>/^\/en-US\/docs\/Web\/API/.test(t),src:t=>{let r=new URL("https://survey.alchemer.com/s3/8586037/MDN-Canvas-API");return r.searchParams.set("referrer",t),r.toString()},teaser:"We’re running a survey to better understand use of the Canvas API.",question:"We’d love for you to take 2 minutes to share your feedback.",link:!0,rateFrom:0,rateTill:.1,start:Date.parse("2026-06-08"),end:Date.parse("2026-06-15")}];function m(t){let r,s=`survey.${t}`;try{r=JSON.parse(localStorage?.getItem(s)??"{}")}catch{r={}}return 0===Object.keys(r).length&&b(t,r={random:Math.random(),seen_at:null,dismissed_at:null,submitted_at:null,opened_at:null}),r}function b(t,r){let s=`survey.${t}`;try{localStorage?.setItem(s,JSON.stringify(r))}catch{}}let MDNSurvey=class MDNSurvey extends(0,l.J)(a.WF){static styles=h.A;static ssr=!1;constructor(){super(),this._survey=void 0,this._surveyState=void 0,this._isOpen=!1,this._force=!1,this._source=void 0,this._detailsRef=(0,o._)()}connectedCallback(){super.connectedCallback(),this.#O(),this.#v()}disconnectedCallback(){super.disconnectedCallback(),this.#y()}#O(){this._survey=this.#_(),this._survey&&(this._surveyState=m(this._survey.bucket),this._source="function"==typeof this._survey.src?this._survey.src(location.pathname):this._survey.src,this.#S())}#_(){let t=new URLSearchParams(location.search).get("force_survey");return this._force=null!==t,p.find(r=>{if(this._force)return!t||r.key===t;if(!r.show(location.pathname))return!1;let s=Date.now();if(s<r.start||r.end<s)return!1;let a=m(r.bucket);return a.random>=r.rateFrom&&a.random<r.rateTill})}#S(){this._survey&&this._surveyState&&!this._surveyState.seen_at&&(this._surveyState={...this._surveyState,seen_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("seen"))}#k(){this._survey&&this._surveyState&&(this._surveyState={...this._surveyState,dismissed_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("dismissed"),this.requestUpdate())}#T(){this.#x()}#E(){if(!this._survey||!this._surveyState||this._isOpen)return;let t=this._detailsRef.value;t&&t.open&&(this.#x(),this._isOpen=!0,this.requestUpdate())}#x(){this._survey&&this._surveyState&&(this._surveyState={...this._surveyState,opened_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("opened"))}#A(){this._survey&&this._surveyState&&(this._surveyState={...this._surveyState,submitted_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("submitted"),this.requestUpdate())}#w(t){this._survey&&(0,c.w)(`survey: ${t} ${this._survey.bucket}`)}#v(){this._messageListener=t=>{"https://survey.alchemer.com"===t.origin&&"submit"===t.data&&this.#A()},window.addEventListener("message",this._messageListener,!1)}#y(){this._messageListener&&window.removeEventListener("message",this._messageListener,!1)}render(){if(!this._survey||!this._surveyState||!this._force&&(this._surveyState.dismissed_at||this._surveyState?.submitted_at))return a.s6;let t=this.l10n("survey-hide-this-survey")`Hide this survey`;return(0,a.qy)`
2332
+ `}}},10423(t,r,s){var a=s(86161),n=s(66136),o=s(57423);s(24838);var l=s(46070),c=s(36033),d=s(10336),h=s(58621);let u=Object.freeze({BLOG_FEEDBACK_2023:"BLOG_FEEDBACK_2023",BROWSER_SURVEY_OCT_2022:"BROWSER_SURVEY_OCT_2022",CONTENT_DISCOVERY_2023:"CONTENT_DISCOVERY_2023",CSS_CASCADE_2022:"CSS_CASCADE_2022",DE_LOCALE_2024:"DE_LOCALE_2024",DE_LOCALE_2024_EVAL:"DE_LOCALE_2024_EVAL",FIREFOX_WEB_COMPAT_2023:"FIREFOX_WEB_COMPAT_2023",INTEROP_2023:"INTEROP_2023",IT_LOCALE_2025:"IT_LOCALE_2025",WEB_COMPONENTS_2023:"WEB_COMPONENTS_2023",DISCOVERABILITY_2023:"DISCOVERABILITY_2023",WEB_SECURITY_2023:"WEB_SECURITY_2023",DISCOVERABILITY_AUG_2023:"DISCOVERABILITY_AUG_2023",WEB_APP_AUGUST_2024:"WEB_APP_AUGUST_2024",HOMEPAGE_FEEDBACK_2024:"HOMEPAGE_FEEDBACK_2024",WEBDX_EDITING_2024:"WEBDX_EDITING_2024",HOUSE_SURVEY_2025:"HOUSE_SURVEY_2025",JS_PROPOSALS_2025:"JS_PROPOSALS_2025",FIRST_FRED_2025:"FIRST_FRED_2025",DEVELOPER_SURVEY_2025:"DEVELOPER_SURVEY_2025",BASELINE_A11Y_2026:"BASELINE_A11Y_2026",CANVAS_2026:"CANVAS_2026"}),p=[{key:u.CANVAS_2026,bucket:u.CANVAS_2026,show:t=>/^\/en-US\/docs\/Web\/API/.test(t),src:t=>{let r=new URL("https://survey.alchemer.com/s3/8586037/MDN-Canvas-API");return r.searchParams.set("referrer",t),r.toString()},teaser:"We’re running a survey to better understand use of the Canvas API.",question:"We’d love for you to take 2 minutes to share your feedback.",link:!0,rateFrom:0,rateTill:.1,start:Date.parse("2026-06-08"),end:Date.parse("2026-06-15")}];function m(t){let r,s=`survey.${t}`;try{r=JSON.parse(localStorage?.getItem(s)??"{}")}catch{r={}}return 0===Object.keys(r).length&&b(t,r={random:Math.random(),seen_at:null,dismissed_at:null,submitted_at:null,opened_at:null}),r}function b(t,r){let s=`survey.${t}`;try{localStorage?.setItem(s,JSON.stringify(r))}catch{}}let MDNSurvey=class MDNSurvey extends(0,l.J)(a.WF){static styles=h.A;static ssr=!1;constructor(){super(),this._survey=void 0,this._surveyState=void 0,this._isOpen=!1,this._force=!1,this._source=void 0,this._detailsRef=(0,o._)()}connectedCallback(){super.connectedCallback(),this.#O(),this.#v()}disconnectedCallback(){super.disconnectedCallback(),this.#y()}#O(){this._survey=this.#_(),this._survey&&(this._surveyState=m(this._survey.bucket),this._source="function"==typeof this._survey.src?this._survey.src(location.pathname):this._survey.src,this.#S())}#_(){let t=new URLSearchParams(location.search).get("force_survey");return this._force=null!==t,p.find(r=>{if(this._force)return!t||r.key===t;if(!r.show(location.pathname))return!1;let s=Date.now();if(s<r.start||r.end<s)return!1;let a=m(r.bucket);return a.random>=r.rateFrom&&a.random<r.rateTill})}#S(){this._survey&&this._surveyState&&!this._surveyState.seen_at&&(this._surveyState={...this._surveyState,seen_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("seen"))}#k(){this._survey&&this._surveyState&&(this._surveyState={...this._surveyState,dismissed_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("dismissed"),this.requestUpdate())}#T(){this.#x()}#E(){if(!this._survey||!this._surveyState||this._isOpen)return;let t=this._detailsRef.value;t&&t.open&&(this.#x(),this._isOpen=!0,this.requestUpdate())}#x(){this._survey&&this._surveyState&&(this._surveyState={...this._surveyState,opened_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("opened"))}#A(){this._survey&&this._surveyState&&(this._surveyState={...this._surveyState,submitted_at:Date.now()},b(this._survey.bucket,this._surveyState),this.#w("submitted"),this.requestUpdate())}#w(t){this._survey&&(0,c.w)(`survey: ${t} ${this._survey.bucket}`)}#v(){this._messageListener=t=>{"https://survey.alchemer.com"===t.origin&&"submit"===t.data&&this.#A()},window.addEventListener("message",this._messageListener,{capture:!1})}#y(){this._messageListener&&window.removeEventListener("message",this._messageListener,!1)}render(){if(!this._survey||!this._surveyState||!this._force&&(this._surveyState.dismissed_at||this._surveyState?.submitted_at))return a.s6;let t=this.l10n("survey-hide-this-survey")`Hide this survey`;return(0,a.qy)`
2333
2333
  <div class="survey">
2334
2334
  <header>
2335
2335
  <p>${this._survey.teaser}</p>
@@ -2437,7 +2437,7 @@ ${r}
2437
2437
  ${this.l10n("writer-open-editor-open-in-editor")`Open in editor`}
2438
2438
  </mdn-button>`}};customElements.define("mdn-writer-open-editor",MDNWriterOpenEditor)},14925(t,r,s){var a=s(86161),n=s(46070),o=s(11932);let MDNWriterReload=class MDNWriterReload extends(0,n.J)(a.WF){static ssr=!1;static styles=o.A;constructor(){super(),this._state="",this._comparisons=0}get _interval(){return Number(sessionStorage.getItem("writer-reload-interval")||1e3)}set _interval(t){sessionStorage.setItem("writer-reload-interval",t.toString()),this._reloading||this.requestUpdate()}connectedCallback(){super.connectedCallback(),this._pollForChanges()}render(){let t=this._interval/1e3;return(0,a.qy)`<div>
2439
2439
  ${this.l10n.raw({id:"writer-reload-polling",args:{seconds:t}})}
2440
- </div>`}async _reloadIfChanged(){let t=new URL("index.json",new URL(location.pathname+"/",location.origin)),r=await fetch(t);if(r.ok){let t=await r.text();this._state?(this._comparisons++,this._state!==t?(this._comparisons<=1&&(this._interval=2*this._interval),location.reload(),this._reloading=!0):this._interval=this._interval<=2e3?1e3:this._interval/2):this._state=t}else console.error("Failed to fetch document",r.status,r.statusText)}async _pollForChanges(){for(;!this._reloading;)"visible"===document.visibilityState&&await this._reloadIfChanged(),await l(this._interval)}};async function l(t){return new Promise(r=>setTimeout(r,t))}customElements.define("mdn-writer-reload",MDNWriterReload)},76603(t,r,s){let a;s.d(r,{X:()=>tq,n:()=>tB});var n=s(47424);let o=async t=>{let r="";for(let s of t){let t=s;for(;void 0!==t;){for(;"function"==typeof t;)t=t();if(void 0===t)break;if("string"==typeof t){r+=t;break}if(Array.isArray(t)||"function"==typeof t[Symbol.iterator]){r+=await o(t);break}if("function"!=typeof t.then)throw Error(`Unexpected value in RenderResult: ${t} (${typeof t})`);t=await t}}return r};var l=s(86161),c=s(3073);let A11yMenu=class A11yMenu extends c.H{render(t){return(0,n.qy)`<ul class="a11y-menu">
2440
+ </div>`}async _reloadIfChanged(){let t=new URL("index.json",new URL(location.pathname+"/",location.origin)),r=await fetch(t);if(r.ok){let t=await r.text();this._state?(this._comparisons++,this._state!==t?(this._comparisons<=1&&(this._interval*=2),location.reload(),this._reloading=!0):this._interval=this._interval<=2e3?1e3:this._interval/2):this._state=t}else console.error("Failed to fetch document",r.status,r.statusText)}async _pollForChanges(){for(;!this._reloading;)"visible"===document.visibilityState&&await this._reloadIfChanged(),await l(this._interval)}};async function l(t){return new Promise(r=>setTimeout(r,t))}customElements.define("mdn-writer-reload",MDNWriterReload)},76603(t,r,s){let a;s.d(r,{X:()=>tq,n:()=>tB});var n=s(47424);let o=async t=>{let r="";for(let s of t){let t=s;for(;void 0!==t;){for(;"function"==typeof t;)t=t();if(void 0===t)break;if("string"==typeof t){r+=t;break}if(Array.isArray(t)||"function"==typeof t[Symbol.iterator]){r+=await o(t);break}if("function"!=typeof t.then)throw Error(`Unexpected value in RenderResult: ${t} (${typeof t})`);t=await t}}return r};var l=s(86161),c=s(3073);let A11yMenu=class A11yMenu extends c.H{render(t){return(0,n.qy)`<ul class="a11y-menu">
2441
2441
  <li>
2442
2442
  <a href="#content" data-glean-id="a11y_menu: click #content"
2443
2443
  >${t.l10n("a11y-menu-skip-to-main-content")`Skip to main content`}</a
@@ -2810,7 +2810,7 @@ ${r}
2810
2810
  />
2811
2811
  ${a.name||"The MDN Team"} `})} ${function({date:t}){return t?(0,l.qy)`
2812
2812
  <time class="date">
2813
- ${Intl.DateTimeFormat(void 0,{dateStyle:"long"}).format(new Date(t))}
2813
+ ${new Intl.DateTimeFormat(void 0,{dateStyle:"long"}).format(new Date(t))}
2814
2814
  </time>
2815
2815
  `:l.s6}(r)}
2816
2816
  ${function(t,{readTime:r}){return r?(0,l.qy)`<span class="read-time"
@@ -3516,7 +3516,7 @@ ${r}
3516
3516
  >`}}render(t){let{locale:r}=t;if("en-US"===r)return l.s6;let s=this._renderSwitchToEnglish(t);return(0,n.qy)`<div class="translation-banner notecard note">
3517
3517
  <p>${this._renderBody(r)}</p>
3518
3518
  ${s?(0,n.qy)`<p>${s}</p>`:l.s6}
3519
- </div>`}_renderSwitchToEnglish(t){let{locale:r}=t;if("en-US"===r||!t.doc.other_translations.some(({locale:t})=>"en-US"===t))return l.s6;let s=t.doc.mdn_url.replace(`/${r}/`,"/en-US/");return(0,n.qy)`<p class="translation-banner__switch" lang="en-US">
3519
+ </div>`}_renderSwitchToEnglish(t){let{locale:r}=t;if("en-US"===r||t.doc.other_translations.every(({locale:t})=>"en-US"!==t))return l.s6;let s=t.doc.mdn_url.replace(`/${r}/`,"/en-US/");return(0,n.qy)`<p class="translation-banner__switch" lang="en-US">
3520
3520
  <mdn-button
3521
3521
  data-variant="secondary"
3522
3522
  href=${s}
@@ -4334,5 +4334,5 @@ And the inner template was:
4334
4334
  https://lit.dev/docs/templates/expressions/#invalid-locations for more information about invalid expression
4335
4335
  locations.
4336
4336
  `)}(n,t)}),o})(t,r)),s&&n.push("\x3c!--/lit-part--\x3e");else{if(s&&n.push("\x3c!--lit-part--\x3e"),null==t||t===J.s6||t===J.c0);else if(!(0,G.sO)(t)&&rl(t))for(let a of t)n.push(()=>rm(a,r,s));else n.push(j("string"==typeof t?t:String(t)));s&&n.push("\x3c!--/lit-part--\x3e")}return n}function rg(t){return(0,G.ps)(t)?t._$litType$.h.join("${...}"):t.strings.join("${...}")}function rf(t,r){let s=r.eventTargetStack.at(-1),a=r.slotStack.at(-1);t.__host=r.customElementHostStack.at(-1)?.element;let n=s?.__slots?.get(a);n?t.__eventTargetParent=n:t.__host===s?t.__eventTargetParent=t.getRootNode()??s:t.__eventTargetParent=s}let{attributeToProperty:rb,changedProperties:rO}=ee;J.WF.prototype.createRenderRoot=function(){return this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions)};let LitElementRenderer=class LitElementRenderer extends ElementRenderer{static matchesClass(t){return t._$litElement$}constructor(t){super(t),this._disabled=!1,this.element=new(customElements.get(this.tagName));let r=this.element.__internals;if(r)for(let[t,s]of Object.entries(et.wZ)){let a=r[t];a&&!this.element.hasAttribute(s)&&(this.element.setAttribute(s,a),this.element.setAttribute(`${et._P}${s}`,a))}}get shadowRootOptions(){return this.element.constructor.shadowRootOptions??super.shadowRootOptions}connectedCallback(){let t;for(let r of(globalThis.litSsrCallConnectedCallback&&console.warn("litSsrCallConnectedCallback is deprecated. Please use LitElementRenderer.renderOptions instead."),LitElementRenderer.renderOptions)){let s=r(this.element);if(s){t=s;break}}if(t?.disableSsr){this._disabled=!0;return}if(globalThis.litSsrCallConnectedCallback||t?.connectedCallback){this.element.enableUpdating=function(){};try{this.element.connectedCallback()}catch(r){let t=this.element.constructor.name;throw console.warn(`Calling ${t}.connectedCallback() resulted in a thrown error. Consider configuring \`LitElementRenderer.renderOptions\` to prevent calling connectedCallback for unsupported elements or add isServer checks to your code to prevent calling browser API during SSR.`),r}}let r=rO(this.element);this.element?.willUpdate(r),J.mN.prototype.update.call(this.element,r)}attributeChangedCallback(t,r,s){rb(this.element,t,s)}renderShadow(t){if(this._disabled)return;let r=[],s=this.element.constructor.elementStyles;if(void 0!==s&&s.length>0){for(let t of(r.push("<style>"),s))r.push(t.cssText);r.push("</style>")}return r.push(()=>rm(this.element.render(),t)),r}renderLight(t){let r=this.element?.renderLight();return r?[()=>rm(r,t)]:[""]}};function rv(t,r){var s,a;let n;return new RenderResultIterator((s=t,a={elementRenderers:[LitElementRenderer],customElementInstanceStack:[],customElementHostStack:[],eventTargetStack:[],slotStack:[],deferHydration:!1,...a=r},n=!0,(0,G.qb)(s)&&(n=t4(s)),rm(s,a,n)))}LitElementRenderer.renderOptions=[];let RenderResultIterator=class RenderResultIterator{constructor(t){this._waiting=!1,this._iterators=[t[Symbol.iterator]()]}next(){if(this._waiting)throw Error("Cannot call next() while waiting for a Promise to resolve");for(;;){let t=this._iterators.at(-1);if(void 0===t)return{done:!0,value:void 0};let r=t.next();if(r.done){this._iterators.pop();continue}let s=r.value;if("string"==typeof s)return r;for(;"function"==typeof s;)s=s();if(void 0!==s){if("string"==typeof s)return{done:!1,value:s};if(Array.isArray(s)){this._iterators.push(s[Symbol.iterator]());continue}return this._waiting=!0,{done:!1,value:s.then(t=>(this._waiting=!1,"string"==typeof t)?t:(this._iterators.push(t[Symbol.iterator]()),this))}}}}[Symbol.iterator](){return this}}},89498(t,r,s){s.d(r,{mN:()=>g,AH:()=>d,Ec:()=>E});var a=s(82041);let n=globalThis,o=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;let css_tag_n=class css_tag_n{constructor(t,r,s){if(this._$cssResult$=!0,s!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(o&&void 0===t){let s=void 0!==r&&1===r.length;s&&(t=c.get(r)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&c.set(r,t))}return t}toString(){return this.cssText}};let d=(t,...r)=>new css_tag_n(1===t.length?t[0]:r.reduce((r,s,a)=>r+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[a+1],t[0]),t,l),h=o||void 0===n.CSSStyleSheet?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let r,s="";for(let r of t.cssRules)s+=r.cssText;return new css_tag_n("string"==typeof(r=s)?r:r+"",void 0,l)})(t):t,{is:u,defineProperty:p,getOwnPropertyDescriptor:m,getOwnPropertyNames:b,getOwnPropertySymbols:O,getPrototypeOf:v}=Object,y=globalThis;y.customElements??=a.nq;let _=y.trustedTypes,w=_?_.emptyScript:"",T=y.reactiveElementPolyfillSupport,x={toAttribute(t,r){switch(r){case Boolean:t=t?w:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,r){let s=t;switch(r){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},E=(t,r)=>!u(t,r),A={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;let g=class g extends(globalThis.HTMLElement??a.wt){static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=A){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let s=Symbol(),a=this.getPropertyDescriptor(t,s,r);void 0!==a&&p(this.prototype,t,a)}}static getPropertyDescriptor(t,r,s){let{get:a,set:n}=m(this.prototype,t)??{get(){return this[r]},set(t){this[r]=t}};return{get:a,set(r){let o=a?.call(this);n?.call(this,r),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??A}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;let t=v(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){let t=this.properties;for(let r of[...b(t),...O(t)])this.createProperty(r,t[r])}let t=this[Symbol.metadata];if(null!==t){let r=litPropertyMetadata.get(t);if(void 0!==r)for(let[t,s]of r)this.elementProperties.set(t,s)}for(let[t,r]of(this._$Eh=new Map,this.elementProperties)){let s=this._$Eu(t,r);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t))for(let s of new Set(t.flat(1/0).reverse()))r.unshift(h(s));else void 0!==t&&r.push(h(t));return r}static _$Eu(t,r){let s=r.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map;for(let r of this.constructor.elementProperties.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let s of r){let r=document.createElement("style"),a=n.litNonce;void 0!==a&&r.setAttribute("nonce",a),r.textContent=s.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,s){this._$AK(t,s)}_$ET(t,r){let s=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,s);if(void 0!==a&&!0===s.reflect){let n=(void 0!==s.converter?.toAttribute?s.converter:x).toAttribute(r,s.type);this._$Em=t,null==n?this.removeAttribute(a):this.setAttribute(a,n),this._$Em=null}}_$AK(t,r){let s=this.constructor,a=s._$Eh.get(t);if(void 0!==a&&this._$Em!==a){let t=s.getPropertyOptions(a),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=a,this[a]=n.fromAttribute(r,t.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,s){if(void 0!==t){let a=this.constructor,n=this[t];if(!(((s??=a.getPropertyOptions(t)).hasChanged??E)(n,r)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,s))))return;this.C(t,r,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,r,{useDefault:s,reflect:a,wrapped:n},o){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??r??this[t]),!0!==n||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||s||(r=void 0),this._$AL.set(t,r)),!0===a&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[t,r]of this._$Ep)this[t]=r;this._$Ep=void 0}let t=this.constructor.elementProperties;if(t.size>0)for(let[r,s]of t){let{wrapped:t}=s,a=this[r];!0!==t||this._$AL.has(r)||void 0===a||this.C(r,void 0,s,a)}}let t=!1,r=this._$AL;try{(t=this.shouldUpdate(r))?(this.willUpdate(r),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(r)):this._$EM()}catch(r){throw t=!1,this._$EM(),r}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}};g.elementStyles=[],g.shadowRootOptions={mode:"open"},g.elementProperties=new Map,g.finalized=new Map,T?.({ReactiveElement:g}),(y.reactiveElementVersions??=[]).push("2.1.0")},36085(t,r,s){s.d(r,{YZ:()=>task_h,e1:()=>n});var a=s(89498);let n={INITIAL:0,PENDING:1,COMPLETE:2,ERROR:3},o=Symbol();let task_h=class task_h{get taskComplete(){return this.t||(1===this.i?this.t=new Promise((t,r)=>{this.o=t,this.h=r}):3===this.i?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,r,s){this.p=0,this.i=0,(this._=t).addController(this);let a="object"==typeof r?r:{task:r,args:s};this.v=a.task,this.j=a.args,this.m=a.argsEqual??l,this.k=a.onComplete,this.A=a.onError,this.autoRun=a.autoRun??!0,"initialValue"in a&&(this.u=a.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){!0===this.autoRun&&this.S()}hostUpdated(){"afterUpdate"===this.autoRun&&this.S()}T(){if(void 0===this.j)return;let t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){let t=this.T(),r=this.O;this.O=t,t===r||void 0===t||void 0!==r&&this.m(r,t)||await this.run(t)}async run(t){let r,s;t??=this.T(),this.O=t,1===this.i?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,"afterUpdate"===this.autoRun?queueMicrotask(()=>this._.requestUpdate()):this._.requestUpdate();let a=++this.p;this.q=new AbortController;let n=!1;try{r=await this.v(t,{signal:this.q.signal})}catch(t){n=!0,s=t}if(this.p===a){if(r===o)this.i=0;else{if(!1===n){try{this.k?.(r)}catch{}this.i=2,this.o?.(r)}else{try{this.A?.(s)}catch{}this.i=3,this.h?.(s)}this.u=r,this.l=s}this._.requestUpdate()}}abort(t){1===this.i&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}};let l=(t,r)=>t===r||t.length===r.length&&t.every((t,s)=>!(0,a.Ec)(t,r[s]))},65228(t,r,s){var a=s(89498),n=s(40173);let o=globalThis;let i=class i extends a.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.XX)(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.c0}};i._$litElement$=!0,i.finalized=!0,o.litElementHydrateSupport?.({LitElement:i});let l=o.litElementPolyfillSupport;l?.({LitElement:i}),(o.litElementVersions??=[]).push("4.2.0"),s.d(r,{AH:()=>a.AH,JW:()=>n.JW,WF:()=>i,c0:()=>n.c0,mN:()=>a.mN,qy:()=>n.qy,s6:()=>n.s6},{Zm:{_$AK:(t,r,s)=>{t._$AK(r,s)},_$AL:t=>t._$AL}})},91223(t,r,s){let{I:a}=s(40173).ge,n={};s.d(r,{},{Qk:{HTML:1,SVG:2,MATHML:3},Rt:t=>void 0===t.strings,mY:(t,r=n)=>t._$AH=r,ps:t=>null!=t?._$litType$?.h,qb:(t,r)=>void 0===r?void 0!==t?._$litType$:t?._$litType$===r,sB:t=>t?._$litDirective$,sO:t=>null===t||"object"!=typeof t&&"function"!=typeof t})},26071(t,r,s){let i=class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,s){this._$Ct=t,this._$AM=r,this._$Ci=s}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};s.d(r,{WL:()=>i},{OA:{ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},u$:t=>(...r)=>({_$litDirective$:t,values:r})})},16809(t,r,s){function*a(t,r){let s="function"==typeof r;if(void 0!==t){let a=-1;for(let n of t)a>-1&&(yield s?r(a):r),a++,yield n}}s.d(r,{f:()=>a})},40173(t,r,s){let a=globalThis,n=t=>t,o=a.trustedTypes,l=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,c="$lit$",d=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+d,u=`<${h}>`,p=void 0===a.document?{createTreeWalker:()=>({})}:document,m=()=>p.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,v=t=>O(t)||"function"==typeof t?.[Symbol.iterator],y="[ \n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,T=/>/g,x=RegExp(`>|${y}(?:([^\\s"'>=/]+)(${y}*=${y}*(?:[^
4337
- \f\r"'\`<>=]|("|')|))|$)`,"g"),E=/'/g,A=/"/g,$=/^(?:script|style|textarea|title)$/i,C=t=>(r,...s)=>({_$litType$:t,strings:r,values:s}),P=C(1),D=C(2),N=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Q=new WeakMap,q=p.createTreeWalker(p,129);function B(t,r){if(!O(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==l?l.createHTML(r):r}let U=(t,r)=>{let s=t.length-1,a=[],n,o=2===r?"<svg>":3===r?"<math>":"",l=_;for(let r=0;r<s;r++){let s=t[r],h,p,m=-1,b=0;for(;b<s.length&&(l.lastIndex=b,null!==(p=l.exec(s)));)b=l.lastIndex,l===_?"!--"===p[1]?l=w:void 0!==p[1]?l=T:void 0!==p[2]?($.test(p[2])&&(n=RegExp("</"+p[2],"g")),l=x):void 0!==p[3]&&(l=x):l===x?">"===p[0]?(l=n??_,m=-1):void 0===p[1]?m=-2:(m=l.lastIndex-p[2].length,h=p[1],l=void 0===p[3]?x:'"'===p[3]?A:E):l===A||l===E?l=x:l===w||l===T?l=_:(l=x,n=void 0);let O=l===x&&t[r+1].startsWith("/>")?" ":"";o+=l===_?s+u:m>=0?(a.push(h),s.slice(0,m)+c+s.slice(m)+d+O):s+d+(-2===m?r:O)}return[B(t,o+(t[s]||"<?>")+(2===r?"</svg>":3===r?"</math>":"")),a]};let S=class S{constructor({strings:t,_$litType$:r},s){let a;this.parts=[];let n=0,l=0,u=t.length-1,p=this.parts,[b,O]=U(t,r);if(this.el=S.createElement(b,s),q.currentNode=this.el.content,2===r||3===r){let t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(a=q.nextNode())&&p.length<u;){if(1===a.nodeType){if(a.hasAttributes())for(let t of a.getAttributeNames())if(t.endsWith(c)){let r=O[l++],s=a.getAttribute(t).split(d),o=/([.?@])?(.*)/.exec(r);p.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?I:"?"===o[1]?L:"@"===o[1]?z:H}),a.removeAttribute(t)}else t.startsWith(d)&&(p.push({type:6,index:n}),a.removeAttribute(t));if($.test(a.tagName)){let t=a.textContent.split(d),r=t.length-1;if(r>0){a.textContent=o?o.emptyScript:"";for(let s=0;s<r;s++)a.append(t[s],m()),q.nextNode(),p.push({type:2,index:++n});a.append(t[r],m())}}}else if(8===a.nodeType)if(a.data===h)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=a.data.indexOf(d,t+1));)p.push({type:7,index:n}),t+=d.length-1}n++}}static createElement(t,r){let s=p.createElement("template");return s.innerHTML=t,s}};function F(t,r,s=t,a){if(r===N)return r;let n=void 0!==a?s._$Co?.[a]:s._$Cl,o=b(r)?void 0:r._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t))._$AT(t,s,a),void 0!==a?(s._$Co??=[])[a]=n:s._$Cl=n),void 0!==n&&(r=F(t,n._$AS(t,r.values),n,a)),r}let k=class k{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:s}=this._$AD,a=(t?.creationScope??p).importNode(r,!0);q.currentNode=a;let n=q.nextNode(),o=0,l=0,c=s[0];for(;void 0!==c;){if(o===c.index){let r;2===c.type?r=new R(n,n.nextSibling,this,t):1===c.type?r=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(r=new W(n,this,t)),this._$AV.push(r),c=s[++l]}o!==c?.index&&(n=q.nextNode(),o++)}return q.currentNode=p,a}p(t){let r=0;for(let s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,r),r+=s.strings.length-2):s._$AI(t[r])),r++}};let R=class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,s,a){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=s,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return void 0!==r&&11===t?.nodeType&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){b(t=F(this,t,r))?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==N&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):v(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&b(this._$AH)?this._$AA.nextSibling.data=t:this.T(p.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:s}=t,a="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(B(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===a)this._$AH.p(r);else{let t=new k(a,this),s=t.u(this.options);t.p(r),this.T(s),this._$AH=t}}_$AC(t){let r=Q.get(t.strings);return void 0===r&&Q.set(t.strings,r=new S(t)),r}k(t){O(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,s,a=0;for(let n of t)a===r.length?r.push(s=new R(this.O(m()),this.O(m()),this,this.options)):s=r[a],s._$AI(n),a++;a<r.length&&(this._$AR(s&&s._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let r=n(t).nextSibling;n(t).remove(),t=r}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}};let H=class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,s,a,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=M}_$AI(t,r=this,s,a){let n=this.strings,o=!1;if(void 0===n)(o=!b(t=F(this,t,r,0))||t!==this._$AH&&t!==N)&&(this._$AH=t);else{let a,l,c=t;for(t=n[0],a=0;a<n.length-1;a++)(l=F(this,c[s+a],r,a))===N&&(l=this._$AH[a]),o||=!b(l)||l!==this._$AH[a],l===M?t=M:t!==M&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}o&&!a&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}};let I=class I extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}};let L=class L extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}};let z=class z extends H{constructor(t,r,s,a,n){super(t,r,s,a,n),this.type=5}_$AI(t,r=this){if((t=F(this,t,r,0)??M)===N)return;let s=this._$AH,a=t===M&&s!==M||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==M&&(s===M||a);a&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}};let W=class W{constructor(t,r,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){F(this,t)}};let V=a.litHtmlPolyfillSupport;V?.(S,R),(a.litHtmlVersions??=[]).push("3.3.3"),s.d(r,{},{JW:D,XX:(t,r,s)=>{let a=s?.renderBefore??r,n=a._$litPart$;if(void 0===n){let t=s?.renderBefore??null;a._$litPart$=n=new R(r.insertBefore(m(),t),t,void 0,s??{})}return n._$AI(t),n},c0:N,ge:{M:c,P:d,A:h,C:1,L:U,R:k,D:v,V:F,I:R,H,N:L,U:z,B:I,F:W},qy:P,s6:M})},66136(t,r,s){s.d(r,{J:()=>n});var a=s(40173);let n=t=>t??a.s6},57423(t,r,s){s.d(r,{_:()=>m,K:()=>O});var a=s(40173),n=s(91223),o=s(26071);let l=(t,r)=>{let s=t._$AN;if(void 0===s)return!1;for(let t of s)t._$AO?.(r,!1),l(t,r);return!0},c=t=>{let r,s;do{if(void 0===(r=t._$AM))break;(s=r._$AN).delete(t),t=r}while(0===s?.size)},d=t=>{for(let r;r=t._$AM;t=r){let s=r._$AN;if(void 0===s)r._$AN=s=new Set;else if(s.has(t))break;s.add(t),p(r)}};function h(t){void 0!==this._$AN?(c(this),this._$AM=t,d(this)):this._$AM=t}function u(t,r=!1,s=0){let a=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(r)if(Array.isArray(a))for(let t=s;t<a.length;t++)l(a[t],!1),c(a[t]);else null!=a&&(l(a,!1),c(a));else l(this,t)}let p=t=>{t.type==o.OA.CHILD&&(t._$AP??=u,t._$AQ??=h)};let f=class f extends o.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,s){super._$AT(t,r,s),d(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(l(this,t),c(this))}setValue(t){if((0,n.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};let m=()=>new ref_h;let ref_h=class ref_h{};let b=new WeakMap,O=(0,o.u$)(class extends f{render(t){return a.s6}update(t,[r]){let s=r!==this.G;return s&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=r,this.ht=t.options?.host,this.rt(this.ct=t.element)),a.s6}rt(t){if(void 0!==this.G)if(this.isConnected||(t=void 0),"function"==typeof this.G){let r=this.ht??globalThis,s=b.get(r);void 0===s&&(s=new WeakMap,b.set(r,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?b.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},15142(t,r,s){s.d(r,{W:()=>c});var a=s(40173),n=s(26071);let o="important",l=" !"+o,c=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((r,s)=>{let a=t[s];return null==a?r:r+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${a};`},"")}update(t,[r]){let{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(let t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(let t in r){let a=r[t];if(null!=a){this.ft.add(t);let r="string"==typeof a&&a.endsWith(l);t.includes("-")||r?s.setProperty(t,r?a.slice(0,-11):a,r?o:""):s[t]=a}}return a.c0}})},36105(t,r,s){s.d(r,{_:()=>o});var a=s(40173),n=s(26071);let e=class e extends n.WL{constructor(t){if(super(t),this.it=a.s6,t.type!==n.OA.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===a.s6||null==t)return this._t=void 0,this.it=t;if(t===a.c0)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};e.directiveName="unsafeHTML",e.resultType=1;let o=(0,n.u$)(e)},86161(t,r,s){s(89498),s(40173);var a=s(65228);s.d(r,{AH:()=>a.AH,JW:()=>a.JW,WF:()=>a.WF,c0:()=>a.c0,mN:()=>a.mN,qy:()=>a.qy,s6:()=>a.s6})},36033(t,s,a){function n(t,r,s=u.Debug){let a=`(Glean.${t})`;Array.isArray(r)?console[s](a,...r):console[s](a,r)}a.d(s,{w:()=>ee}),(h=u||(u={})).Debug="debug",h.Info="info",h.Warn="warn",h.Error="error",h.Trace="trace";let o="core.Context";let context_Context=class context_Context{constructor(){this.initialized=!1,this.testing=!1,this.supportedMetrics={},this.startTime=new Date}static get instance(){return context_Context._instance||(context_Context._instance=new context_Context),context_Context._instance}static testUninitialize(){context_Context._instance=void 0}static get uploadEnabled(){return void 0===context_Context.instance.uploadEnabled&&n(o,["Attempted to access Context.uploadEnabled before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.uploadEnabled}static set uploadEnabled(t){context_Context.instance.uploadEnabled=t}static get metricsDatabase(){return void 0===context_Context.instance.metricsDatabase&&n(o,["Attempted to access Context.metricsDatabase before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.metricsDatabase}static set metricsDatabase(t){context_Context.instance.metricsDatabase=t}static get eventsDatabase(){return void 0===context_Context.instance.eventsDatabase&&n(o,["Attempted to access Context.eventsDatabase before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.eventsDatabase}static set eventsDatabase(t){context_Context.instance.eventsDatabase=t}static get pingsDatabase(){return void 0===context_Context.instance.pingsDatabase&&n(o,["Attempted to access Context.pingsDatabase before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.pingsDatabase}static set pingsDatabase(t){context_Context.instance.pingsDatabase=t}static get errorManager(){return void 0===context_Context.instance.errorManager&&n(o,["Attempted to access Context.errorManager before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.errorManager}static set errorManager(t){context_Context.instance.errorManager=t}static get applicationId(){return void 0===context_Context.instance.applicationId&&n(o,["Attempted to access Context.applicationId before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.applicationId}static set applicationId(t){context_Context.instance.applicationId=t}static get initialized(){return context_Context.instance.initialized}static set initialized(t){context_Context.instance.initialized=t}static get config(){return void 0===context_Context.instance.config&&n(o,["Attempted to access Context.config before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.config}static set config(t){context_Context.instance.config=t}static get startTime(){return context_Context.instance.startTime}static get testing(){return context_Context.instance.testing}static set testing(t){context_Context.instance.testing=t}static get corePings(){return context_Context.instance.corePings}static set corePings(t){context_Context.instance.corePings=t}static get coreMetrics(){return context_Context.instance.coreMetrics}static set coreMetrics(t){context_Context.instance.coreMetrics=t}static set platform(t){context_Context.instance.platform=t}static get platform(){return void 0===context_Context.instance.platform&&n(o,["Attempted to access Context.platform before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.platform}static isPlatformSet(){return!!context_Context.instance.platform}static getSupportedMetric(t){return context_Context.instance.supportedMetrics[t]}static addSupportedMetric(t,r){t in context_Context.instance.supportedMetrics||(context_Context.instance.supportedMetrics[t]=r)}};let l=r("crypto");var c,d,h,u,p,m,b,O,v,y=a.n(l);let _={randomUUID:y().randomUUID},w=new Uint8Array(256),T=w.length,x=[];for(let t=0;t<256;++t)x.push((t+256).toString(16).slice(1));let E=function(t,r,s){if(_.randomUUID&&!r&&!t)return _.randomUUID();let a=(t=t||{}).random||(t.rng||function(){return T>w.length-16&&(y().randomFillSync(w),T=0),w.slice(T,T+=16)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,r){s=s||0;for(let t=0;t<16;++t)r[s+t]=a[t];return r}return function(t,r=0){return x[t[r+0]]+x[t[r+1]]+x[t[r+2]]+x[t[r+3]]+"-"+x[t[r+4]]+x[t[r+5]]+"-"+x[t[r+6]]+x[t[r+7]]+"-"+x[t[r+8]]+x[t[r+9]]+"-"+x[t[r+10]]+x[t[r+11]]+x[t[r+12]]+x[t[r+13]]+x[t[r+14]]+x[t[r+15]]}(a)};(c=p||(p={})).InvalidValue="invalid_value",c.InvalidLabel="invalid_label",c.InvalidState="invalid_state",c.InvalidOverflow="invalid_overflow",c.InvalidType="invalid_type",(d=m||(m={}))[d.Success=0]="Success",d[d.Error=1]="Error";let metric_MetricValidationError=class metric_MetricValidationError extends Error{constructor(t,r=p.InvalidType){super(t),this.type=r,this.name="MetricValidationError"}recordError(t){context_Context.errorManager.record(t,this.type,this.message)}};let Metric=class Metric{constructor(t){this.inner=this.validateOrThrow(t)}get(){return this.inner}set(t){this.inner=t}validateOrThrow(t){let r=this.validate(t);if(r.type===m.Error)throw new metric_MetricValidationError(r.errorMessage,r.errorType);return t}};function A(t){return"object"==typeof t&&null!==t&&t.constructor===Object}function $(t){return"string"==typeof t}function C(t){return"number"==typeof t&&!isNaN(t)}function P(){return"u">typeof crypto?E():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let r=16*Math.random()|0;return("x"==t?r:3&r|8).toString(16)})}function D(){return Math.round("u"<typeof performance?Date.now():performance.now())}function N(t,r="core.utils"){return!!context_Context.testing||(n(r,[`Attempted to access test only method \`${t||"unknown"}\`,`,"but Glean is not in testing mode. Ignoring. Make sure to put Glean in testing mode","before accessing such methods, by calling `testResetGlean`."],u.Error),!1)}let M=/^[a-z_][a-z0-9_-]{0,29}(\.[a-z_][a-z0-9_-]{0,29})*$/;let MetricType=class MetricType{constructor(t,r,s){s&&context_Context.addSupportedMetric(t,s),this.type=t,this.name=r.name,this.category=r.category,this.sendInPings=r.sendInPings,this.lifetime=r.lifetime,this.disabled=r.disabled,this.dynamicLabel=r.dynamicLabel}baseIdentifier(){return this.category.length>0?`${this.category}.${this.name}`:this.name}identifier(){let t=this.baseIdentifier();return void 0!==this.dynamicLabel?function(t){var r,s,a;if(void 0===t.dynamicLabel)throw Error("This point should never be reached.");let n=(r=t.baseIdentifier(),s=t.dynamicLabel,`${r}/${s}`);for(let r of t.sendInPings)if(context_Context.metricsDatabase.hasMetric(t.lifetime,r,t.type,n))return n;let o=0;for(let r of t.sendInPings)o+=context_Context.metricsDatabase.countByBaseIdentifier(t.lifetime,r,t.type,t.baseIdentifier());let l=!1;return o>=16?l=!0:t.dynamicLabel.length>61?(l=!0,context_Context.errorManager.record(t,p.InvalidLabel,`Label length ${t.dynamicLabel.length} exceeds maximum of 61.`)):M.test(t.dynamicLabel)||(l=!0,context_Context.errorManager.record(t,p.InvalidLabel,`Label must be snake_case, got '${t.dynamicLabel}'.`)),l?(a=t.baseIdentifier(),`${a}/__other__`):n}(this):t}shouldRecord(t){return t&&!this.disabled}testGetNumRecordedErrors(t,r=this.sendInPings[0]){return N("testGetNumRecordedErrors")?context_Context.errorManager.testGetNumRecordedErrors(this,t,r):0}};function Q(t){return $(t)?{type:m.Success}:{type:m.Error,errorMessage:`Expected string value, got ${JSON.stringify(t)}`}}var q=function(t,r,s,a,n){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!n)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!n:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?n.call(t,s):n?n.value=s:r.set(t,s),s},B=function(t,r,s,a){if("a"===s&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!a:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?a:"a"===s?a.call(t):a?a.value:r.get(t)};let U=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;let UUIDMetric=class UUIDMetric extends Metric{constructor(t){super(t)}validate(t){let r=Q(t);return r.type===m.Error?r:U.test(t)?{type:m.Success}:{type:m.Error,errorMessage:`"${t}" is not a valid UUID`,errorType:p.InvalidValue}}payload(){return this.inner}};let InternalUUIDMetricType=class InternalUUIDMetricType extends MetricType{constructor(t){super("uuid",t,UUIDMetric)}set(t){let r;if(this.shouldRecord(context_Context.uploadEnabled)){t||(t=P());try{r=new UUIDMetric(t),context_Context.metricsDatabase.record(this,r)}catch(t){t instanceof metric_MetricValidationError&&t.recordError(this)}}}generateAndSet(){if(!this.shouldRecord(context_Context.uploadEnabled))return;let t=P();return this.set(t),t}testGetValue(t=this.sendInPings[0]){if(N("testGetValue","core.metrics.UUIDMetricType"))return context_Context.metricsDatabase.getMetric(t,this)}};let F=class{constructor(t){b.set(this,void 0),q(this,b,new InternalUUIDMetricType(t),"f")}set(t){B(this,b,"f").set(t)}generateAndSet(){return B(this,b,"f").generateAndSet()}testGetValue(t=B(this,b,"f").sendInPings[0]){return B(this,b,"f").testGetValue(t)}testGetNumRecordedErrors(t,r=B(this,b,"f").sendInPings[0]){return B(this,b,"f").testGetNumRecordedErrors(t,r)}};b=new WeakMap;let V=["#glean_execution_counter","#glean_reference_time"];let RecordedEvent=class RecordedEvent extends Metric{constructor(t){super(t)}static withTransformedExtras(t,r){let s=r(t.extra||{});return{category:t.category,name:t.name,timestamp:t.timestamp,extra:s&&Object.keys(s).length>0?s:void 0}}addExtra(t,r){this.inner.extra||(this.inner.extra={}),this.inner.extra[t]=r}withoutReservedExtras(){return RecordedEvent.withTransformedExtras(this.get(),t=>Object.keys(t).filter(t=>!V.includes(t)).reduce((r,s)=>(r[s]=t[s],r),{}))}validate(t){var r;if(!A(t))return{type:m.Error,errorMessage:`Expected Glean event object, got ${typeof t}`};let s="category"in t&&$(t.category),a="name"in t&&$(t.name);if(!s||!a)return{type:m.Error,errorMessage:`Unexpected value for "category" or "name" in event object: ${JSON.stringify(t)}`};if(!("timestamp"in t&&C(r=t.timestamp)&&Number.isInteger(r)&&t.timestamp>=0))return{type:m.Error,errorMessage:`Event timestamp must be a positive integer, got ${JSON.stringify(t)}`};if(t.extra){if(!A(t.extra))return{type:m.Error,errorMessage:`Expected Glean extras object, got ${typeof t}`};for(let[r,s]of Object.entries(t.extra)){let t=Q(r);if(t.type===m.Error)return t;if(!$(s)&&!C(s)&&"boolean"!=typeof s)return{type:m.Error,errorMessage:`Unexpected value for extra key ${r}: ${JSON.stringify(s)}`}}}return{type:m.Success}}payload(){return RecordedEvent.withTransformedExtras(this.withoutReservedExtras(),t=>Object.keys(t).reduce((r,s)=>(r[s]=t[s].toString(),r),{}))}};var G=function(t,r,s,a,n){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!n)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!n:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?n.call(t,s):n?n.value=s:r.set(t,s),s},Z=function(t,r,s,a){if("a"===s&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!a:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?a:"a"===s?a.call(t):a?a.value:r.get(t)};let InternalEventMetricType=class InternalEventMetricType extends MetricType{constructor(t,r){super("event",t),this.allowedExtraKeys=r}record(t,r=D()){if(!this.shouldRecord(context_Context.uploadEnabled))return;let s=Date.now();try{let a=new RecordedEvent({category:this.category,name:this.name,timestamp:r,extra:t}),n={};if(t&&this.allowedExtraKeys)for(let[r,s]of Object.entries(t))if(this.allowedExtraKeys.includes(r))$(s)?n[r]=function(t,r){if(!$(r))throw new metric_MetricValidationError(`Expected string, got ${JSON.stringify(r)}`);let s=new TextEncoder,a=new TextDecoder("utf-8"),n=s.encode(r).slice(0,500),o=a.decode(n);return o!==r&&context_Context.errorManager.record(t,p.InvalidOverflow,`Value length ${new Blob([r]).size} exceeds maximum of ${r.length} bytes.`),o}(this,s):n[r]=s;else{context_Context.errorManager.record(this,p.InvalidValue,`Invalid key index: ${r}`);continue}n.glean_timestamp=s.toString(),a.set({...a.get(),extra:n}),context_Context.eventsDatabase.record(this,a)}catch(t){t instanceof metric_MetricValidationError&&t.recordError(this)}}testGetValue(t=this.sendInPings[0]){if(N("testGetValue","core.metrics.EventMetricType")){let r=context_Context.eventsDatabase.getEvents(t,this);return r&&r.forEach(t=>{t.extra&&(delete t.extra.glean_timestamp,0==Object.keys(t.extra).length&&(t.extra=void 0))}),r}}};let EventMetricType=class EventMetricType{constructor(t,r){O.set(this,void 0),G(this,O,new InternalEventMetricType(t,r),"f")}record(t){Z(this,O,"f").record(t)}testGetValue(t=Z(this,O,"f").sendInPings[0]){return Z(this,O,"f").testGetValue(t)}testGetNumRecordedErrors(t,r=Z(this,O,"f").sendInPings[0]){return Z(this,O,"f").testGetNumRecordedErrors(t,r)}};O=new WeakMap;let X="core.glean_metrics";var j=v||(v={});let Y={pageLoad:new EventMetricType({category:"glean",name:"page_load",sendInPings:["events"],lifetime:"ping",disabled:!1},["url","referrer","title"]),elementClick:new EventMetricType({category:"glean",name:"element_click",sendInPings:["events"],lifetime:"ping",disabled:!1},["id","type","label","url","referrer","title"]),pageId:new F({category:"glean",name:"page_id",sendInPings:["events"],lifetime:"application",disabled:!1})};function J(t){context_Context.initialized?Y.elementClick.record(t):n(X,"Attempted to record element click event before Glean was initialized. This is a no-op.",u.Warn)}j.pageLoad=function(t){var r,s,a;context_Context.initialized?(Y.pageId.generateAndSet(),Y.pageLoad.record({url:null!=(r=null==t?void 0:t.url)?r:"u">typeof window?window.location.href:"URL_NOT_PROVIDED_OR_AVAILABLE",referrer:null!=(s=null==t?void 0:t.referrer)?s:"u">typeof document?document.referrer:"REFERRER_NOT_PROVIDED_OR_AVAILABLE",title:null!=(a=null==t?void 0:t.title)?a:"u">typeof document?document.title:"TITLE_NOT_PROVIDED_OR_AVAILABLE"})):n(X,"Attempted to record a page load event before Glean was initialized. This is a no-op.",u.Warn)},j.handleClickEvent=function(t){let r,s=t.target.closest("[data-glean-id], [data-glean-type], [data-glean-label]");s&&J({...(r=s.dataset).gleanId&&{id:r.gleanId},...r.gleanType&&{type:r.gleanType},...r.gleanLabel&&{label:r.gleanLabel},url:"u">typeof window?window.location.href:"URL_NOT_PROVIDED_OR_AVAILABLE",referrer:"u">typeof document?document.referrer:"REFERRER_NOT_PROVIDED_OR_AVAILABLE",title:"u">typeof document?document.title:"TITLE_NOT_PROVIDED_OR_AVAILABLE"})},j.recordElementClick=J;let K=v;function ee(t){K.recordElementClick({id:t,url:globalThis.location.href,referrer:document.referrer,title:document.title})}},14632(t,r,s){function a(t,r){let s=t.replaceAll("_"," ").split("/").filter(t=>!["","docs"].includes(t)),a=s.shift();return"Web"===s.at(0)&&"API"===s.at(1)&&(s[1]="Web APIs"),s.length>1&&"Web"===s.at(0)&&s.splice(0,1),s.length>1&&s.splice(-1,1),[...a===r?[]:[a],...s].join(" / ")}s.d(r,{o:()=>a})}},c={};function d(t){var r=c[t];if(void 0!==r)return r.exports;var s=c[t]={id:t,exports:{}};return l[t].call(s.exports,s,s.exports,d),s.exports}d.m=l,d.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return d.d(r,{a:r}),r},a=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,d.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var n=Object.create(null);d.r(n);var o={};s=s||[null,a({}),a([]),a(a)];for(var l=2&r&&t;("object"==typeof l||"function"==typeof l)&&!~s.indexOf(l);l=a(l))Object.getOwnPropertyNames(l).forEach(r=>{o[r]=()=>t[r]});return o.default=()=>t,d.d(n,o),n},d.d=(t,r,s)=>{var a=(r,s)=>{for(var a in r)d.o(r,a)&&!d.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,[s]:r[a]})};a(r,"get"),a(s,"value")},d.f={},d.e=t=>Promise.all(Object.keys(d.f).reduce((r,s)=>(d.f[s](t,r),r),[])),d.u=t=>""+(({1023:"prism-sas-js",105:"prism-kotlin-js",1052:"prism-web-idl-js",1074:"prism-cooklang-js",1148:"prism-stylus-js",1163:"prism-julia-js",1198:"prism-uri-js",1209:"prism-llvm-js",1211:"prism-lilypond-js",1230:"prism-verilog-js",1234:"prism-io-js",1243:"prism-idris-js",1353:"prism-rip-js",1379:"prism-linker-script-js",1384:"prism-ada-js",1436:"prism-openqasm-js",1488:"prism-clojure-js",1594:"prism-clike-js",1614:"prism-basic-js",1656:"prism-git-js",167:"prism-bqn-js",17:"prism-brainfuck-js",1729:"prism-wgsl-js",1742:"prism-j-js",1754:"prism-avisynth-js",181:"prism-monkey-js",1855:"prism-hpkp-js",1888:"prism-purebasic-js",1897:"prism-javastacktrace-js",1917:"prism-solidity-js",1957:"prism-actionscript-js",1971:"prism-coq-js",2006:"prism-oz-js",2046:"prism-gherkin-js",2256:"prism-rescript-js",2317:"prism-antlr4-js",2326:"prism-javadoc-js",2328:"prism-batch-js",2381:"prism-cue-js",2396:"prism-turtle-js",2422:"prism-bnf-js",2439:"prism-naniscript-js",2443:"prism-javascript-js",2500:"prism-chaiscript-js",2538:"prism-jsonp-js",2548:"prism-rest-js",2555:"prism-nsis-js",2578:"prism-smarty-js",2647:"prism-arturo-js",2649:"prism-nasm-js",2727:"prism-splunk-spl-js",276:"prism-iecst-js",2770:"prism-zig-js",2812:"prism-solution-file-js",2890:"prism-csp-js",2964:"prism-uorazor-js",2966:"prism-r-js",2988:"prism-wren-js",3026:"prism-wiki-js",3076:"prism-wolfram-js",3100:"prism-nim-js",3141:"prism-ichigojam-js",3150:"prism-apacheconf-js",3157:"prism-css-extras-js",3172:"prism-cil-js",3201:"prism-jq-js",3298:"prism-ftl-js",3310:"prism-lisp-js",3323:"prism-dns-zone-file-js",3396:"prism-excel-formula-js",3503:"prism-abnf-js",3522:"prism-hoon-js",3535:"prism-awk-js",3543:"prism-t4-cs-js",357:"prism-less-js",3621:"prism-applescript-js",3634:"prism-lua-js",367:"prism-yaml-js",3695:"prism-django-js",3725:"prism-al-js",3733:"prism-regex-js",3755:"prism-bsl-js",3798:"prism-renpy-js",3805:"prism-shell-session-js",3855:"prism-gradle-js",3857:"prism-vbnet-js",3864:"prism-phpdoc-js",391:"prism-protobuf-js",3997:"prism-dot-js",4008:"prism-kumir-js",4054:"prism-pascal-js",4068:"prism-asm6502-js",418:"prism-systemd-js",4203:"prism-diff-js",4213:"prism-warpscript-js",4227:"prism-scheme-js",4270:"prism-docker-js",4275:"prism-cpp-js",4334:"prism-bbj-js",4338:"prism-dhall-js",4342:"prism-ini-js",4431:"prism-rego-js",4448:"prism-smali-js",4461:"prism-bicep-js",4468:"prism-ejs-js",4479:"prism-hlsl-js",4492:"prism-bash-js",450:"prism-haxe-js",4522:"prism-plant-uml-js",453:"prism-apex-js",4531:"prism-svelte",4550:"prism-flow-js",4555:"prism-agda-js",463:"prism-js-extras-js",4637:"prism-icon-js",4667:"prism-textile-js",4670:"prism-inform7-js",4704:"prism-ignore-js",4750:"prism-markup-js",4813:"prism-nand2tetris-hdl-js",4832:"prism-racket-js",4854:"prism-pcaxis-js",4896:"prism-haml-js",4911:"prism-bro-js",4922:"prism-v-js",4975:"prism-icu-message-format-js",5087:"prism-core-js",5091:"prism-velocity-js",5128:"prism-pug-js",5166:"prism-markup-templating-js",5169:"prism-cobol-js",5173:"prism-typoscript-js",52:"prism-vim-js",5249:"prism-parigp-js",5414:"prism-lolcode-js",5503:"prism-squirrel-js",5538:"prism-asmatmel-js",5547:"prism-dax-js",5549:"prism-hcl-js",5582:"prism-n4js-js",56:"prism-arduino-js",5607:"prism-rust-js",5616:"prism-json-js",5637:"prism-psl-js",5747:"prism-stata-js",5781:"prism-twig-js",5826:"prism-objectivec-js",585:"prism-tremor-js",5899:"prism-cypher-js",5901:"prism-css-js",606:"prism-dataweave-js",6069:"prism-cmake-js",6071:"prism-maxscript-js",6141:"prism-gettext-js",6187:"prism-brightscript-js",6206:"prism-qml-js",6241:"prism-tcl-js",6253:"prism-bison-js",6267:"prism-parser-js",6273:"prism-mizar-js",6290:"prism-robotframework-js",6363:"prism-visual-basic-js",6368:"prism-ocaml-js",638:"prism-php-extras-js",6444:"prism-groovy-js",6459:"prism-powerquery-js",6476:"prism-puppet-js",6502:"prism-stan-js",6517:"prism-apl-js",6588:"prism-php-js",6616:"prism-roboconf-js",6673:"prism-purescript-js",6677:"prism-livescript-js",6680:"prism-go-js",6712:"prism-autoit-js",6724:"prism-cfscript-js",6730:"prism-crystal-js",6732:"prism-csv-js",6745:"prism-gedcom-js",677:"prism-powershell-js",681:"prism-qore-js",6833:"prism-bbcode-js",6862:"prism-sqf-js",6870:"prism-cilkc-js",6880:"prism-peoplecode-js",6890:"prism-xml-doc-js",6912:"prism-moonscript-js",6918:"prism-http-js",6930:"prism-mongodb-js",6936:"prism-eiffel-js",6962:"prism-makefile-js",701:"prism-mermaid-js",7026:"prism-odin-js",7043:"prism-json5-js",7059:"prism-csharp-js",7086:"prism-cilkcpp-js",710:"prism-metafont-js",7151:"prism-go-module-js",7190:"prism-nevod-js",7212:"prism-nginx-js",7245:"prism-jolie-js",7250:"prism-latte-js",7257:"prism-markdown-js",7270:"prism-tt2-js",7292:"prism-sql-js",7294:"prism-xquery-js",738:"prism-glsl-js",7407:"prism-magma-js",7408:"prism-sml-js",751:"prism-coffeescript-js",7517:"prism-supercollider-js",753:"prism-jsdoc-js",7557:"prism-perl-js",7645:"prism-birb-js",7714:"prism-hsts-js",7723:"prism-smalltalk-js",7790:"prism-firestore-security-rules-js",7851:"prism-elixir-js",7877:"prism-swift-js",7903:"prism-asciidoc-js",7907:"prism-typescript-js",7988:"prism-python-js",7993:"prism-properties-js",8013:"prism-nix-js",8036:"prism-keepalived-js",8037:"prism-dart-js",805:"prism-qsharp-js",8062:"prism-n1ql-js",8078:"prism-liquid-js",8094:"prism-handlebars-js",810:"prism-scss-js",8101:"prism-keyman-js",8137:"prism-q-js",8139:"prism-soy-js",8168:"prism-vhdl-js",8171:"prism-ebnf-js",8187:"prism-erlang-js",8204:"prism-kusto-js",8254:"prism-wasm-js",8262:"prism-gdscript-js",8311:"prism-javadoclike-js",8336:"prism-d-js",8338:"prism-mel-js",8390:"prism-java-js",8392:"prism-latex-js",84:"prism-sass-js",8411:"prism-etlua-js",8452:"prism-gml-js",8456:"prism-elm-js",8468:"prism-haskell-js",8474:"prism-reason-js",8510:"prism-ruby-js",8526:"prism-fortran-js",8544:"prism-abap-js",8549:"prism-js-templates-js",8584:"prism-xojo-js",8588:"prism-avro-idl-js",86:"prism-t4-templating-js",8615:"prism-processing-js",8677:"prism-tsx-js",8763:"prism-aspnet-js",883:"prism-promql-js",8848:"prism-pure-js",8865:"prism-mata-js",8867:"prism-c-js",8889:"prism-erb-js",8965:"prism-gn-js",8997:"prism-t4-vb-js",9021:"prism-sparql-js",9063:"prism-arff-js",9122:"prism-aql-js",9172:"prism-jsstacktrace-js",918:"prism-neon-js",9205:"prism-autohotkey-js",9273:"prism-yang-js",928:"prism-plsql-js",9319:"prism-factor-js",9326:"prism-scala-js",9328:"prism-fsharp-js",9381:"prism-false-js",9468:"prism-gap-js",9543:"prism-opencl-js",9559:"prism-jsx-js",9570:"prism-log-js",9625:"prism-matlab-js",9686:"prism-toml-js",9692:"prism-concurnas-js",9723:"prism-graphql-js",9763:"prism-pascaligo-js",9787:"prism-prolog-js",98:"prism-unrealscript-js",9864:"prism-gcode-js",9908:"prism-vala-js",991:"prism-cshtml-js",9911:"prism-editorconfig-js",9939:"prism-tap-js",9949:"prism-armasm-js",9967:"prism-xeora-js",9985:"prism-jexl-js"})[t]||t)+".js",d.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),d.r=t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},d.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),d.p="/static/ssr/",d.U=function(t){var r=new URL(t,"x:/"),s={};for(var a in r)s[a]=r[a];for(var a in s.href=t,s.pathname=t.replace(/[?#].*/,""),s.origin=s.protocol="",s.toString=s.toJSON=()=>t,s)Object.defineProperty(this,a,{enumerable:!0,configurable:!0,value:s[a]})},d.U.prototype=URL.prototype,n={8410:0},o=t=>{var r,s,a=t.__rspack_esm_ids,o=t.__webpack_modules__,l=t.__rspack_esm_runtime,c=0;for(r in o)d.o(o,r)&&(d.m[r]=o[r]);for(l&&l(d);c<a.length;c++)s=a[c],d.o(n,s)&&n[s]&&n[s][0](),n[a[c]]=0},d.f.j=function(t,r){var s=d.o(n,t)?n[t]:void 0;if(0!==s)if(s)r.push(s[1]);else{var a=import("./"+d.u(t)).then(o,r=>{throw 0!==n[t]&&(n[t]=void 0),r}),a=Promise.race([a,new Promise(r=>{s=n[t]=[r]})]);r.push(s[1]=a)}},d(54842),d(612),d(24838),d(84352),d(1355),d(55269),d(7086),d(96678),d(10815),d(23082),d(65517),d(52500),d(58623),d(27373),d(47706),d(79879),d(37511),d(18977),d(89854),d(49979),d(77108),d(48423),d(47849),d(70242),d(14903),d(2622),d(50117),d(17547),d(1879),d(37077),d(14416),d(23247),d(56538),d(7895),d(44394),d(13755),d(47764),d(57468),d(9951),d(23731),d(56369),d(70283),d(39324),d(28940),d(20141),d(95821),d(55237),d(33878),d(23745),d(97154),d(50128),d(62512),d(10423),d(41798),d(48125),d(39337),d(74354),d(51310),d(14925);var h=d(76603),u=h.X,p=h.n;export{u as render,p as renderSimplified};
4337
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),E=/'/g,A=/"/g,$=/^(?:script|style|textarea|title)$/i,C=t=>(r,...s)=>({_$litType$:t,strings:r,values:s}),P=C(1),D=C(2),N=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Q=new WeakMap,q=p.createTreeWalker(p,129);function B(t,r){if(!O(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==l?l.createHTML(r):r}let U=(t,r)=>{let s=t.length-1,a=[],n,o=2===r?"<svg>":3===r?"<math>":"",l=_;for(let r=0;r<s;r++){let s=t[r],h,p,m=-1,b=0;for(;b<s.length&&(l.lastIndex=b,null!==(p=l.exec(s)));)b=l.lastIndex,l===_?"!--"===p[1]?l=w:void 0!==p[1]?l=T:void 0!==p[2]?($.test(p[2])&&(n=RegExp("</"+p[2],"g")),l=x):void 0!==p[3]&&(l=x):l===x?">"===p[0]?(l=n??_,m=-1):void 0===p[1]?m=-2:(m=l.lastIndex-p[2].length,h=p[1],l=void 0===p[3]?x:'"'===p[3]?A:E):l===A||l===E?l=x:l===w||l===T?l=_:(l=x,n=void 0);let O=l===x&&t[r+1].startsWith("/>")?" ":"";o+=l===_?s+u:m>=0?(a.push(h),s.slice(0,m)+c+s.slice(m)+d+O):s+d+(-2===m?r:O)}return[B(t,o+(t[s]||"<?>")+(2===r?"</svg>":3===r?"</math>":"")),a]};let S=class S{constructor({strings:t,_$litType$:r},s){let a;this.parts=[];let n=0,l=0,u=t.length-1,p=this.parts,[b,O]=U(t,r);if(this.el=S.createElement(b,s),q.currentNode=this.el.content,2===r||3===r){let t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(a=q.nextNode())&&p.length<u;){if(1===a.nodeType){if(a.hasAttributes())for(let t of a.getAttributeNames())if(t.endsWith(c)){let r=O[l++],s=a.getAttribute(t).split(d),o=/([.?@])?(.*)/.exec(r);p.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?I:"?"===o[1]?L:"@"===o[1]?z:H}),a.removeAttribute(t)}else t.startsWith(d)&&(p.push({type:6,index:n}),a.removeAttribute(t));if($.test(a.tagName)){let t=a.textContent.split(d),r=t.length-1;if(r>0){a.textContent=o?o.emptyScript:"";for(let s=0;s<r;s++)a.append(t[s],m()),q.nextNode(),p.push({type:2,index:++n});a.append(t[r],m())}}}else if(8===a.nodeType)if(a.data===h)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=a.data.indexOf(d,t+1));)p.push({type:7,index:n}),t+=d.length-1}n++}}static createElement(t,r){let s=p.createElement("template");return s.innerHTML=t,s}};function F(t,r,s=t,a){if(r===N)return r;let n=void 0!==a?s._$Co?.[a]:s._$Cl,o=b(r)?void 0:r._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t))._$AT(t,s,a),void 0!==a?(s._$Co??=[])[a]=n:s._$Cl=n),void 0!==n&&(r=F(t,n._$AS(t,r.values),n,a)),r}let k=class k{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:s}=this._$AD,a=(t?.creationScope??p).importNode(r,!0);q.currentNode=a;let n=q.nextNode(),o=0,l=0,c=s[0];for(;void 0!==c;){if(o===c.index){let r;2===c.type?r=new R(n,n.nextSibling,this,t):1===c.type?r=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(r=new W(n,this,t)),this._$AV.push(r),c=s[++l]}o!==c?.index&&(n=q.nextNode(),o++)}return q.currentNode=p,a}p(t){let r=0;for(let s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,r),r+=s.strings.length-2):s._$AI(t[r])),r++}};let R=class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,s,a){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=s,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return void 0!==r&&11===t?.nodeType&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){b(t=F(this,t,r))?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==N&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):v(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&b(this._$AH)?this._$AA.nextSibling.data=t:this.T(p.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:s}=t,a="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(B(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===a)this._$AH.p(r);else{let t=new k(a,this),s=t.u(this.options);t.p(r),this.T(s),this._$AH=t}}_$AC(t){let r=Q.get(t.strings);return void 0===r&&Q.set(t.strings,r=new S(t)),r}k(t){O(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,s,a=0;for(let n of t)a===r.length?r.push(s=new R(this.O(m()),this.O(m()),this,this.options)):s=r[a],s._$AI(n),a++;a<r.length&&(this._$AR(s&&s._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let r=n(t).nextSibling;n(t).remove(),t=r}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}};let H=class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,s,a,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=M}_$AI(t,r=this,s,a){let n=this.strings,o=!1;if(void 0===n)(o=!b(t=F(this,t,r,0))||t!==this._$AH&&t!==N)&&(this._$AH=t);else{let a,l,c=t;for(t=n[0],a=0;a<n.length-1;a++)(l=F(this,c[s+a],r,a))===N&&(l=this._$AH[a]),o||=!b(l)||l!==this._$AH[a],l===M?t=M:t!==M&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}o&&!a&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}};let I=class I extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}};let L=class L extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}};let z=class z extends H{constructor(t,r,s,a,n){super(t,r,s,a,n),this.type=5}_$AI(t,r=this){if((t=F(this,t,r,0)??M)===N)return;let s=this._$AH,a=t===M&&s!==M||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==M&&(s===M||a);a&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}};let W=class W{constructor(t,r,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){F(this,t)}};let V=a.litHtmlPolyfillSupport;V?.(S,R),(a.litHtmlVersions??=[]).push("3.3.3"),s.d(r,{},{JW:D,XX:(t,r,s)=>{let a=s?.renderBefore??r,n=a._$litPart$;if(void 0===n){let t=s?.renderBefore??null;a._$litPart$=n=new R(r.insertBefore(m(),t),t,void 0,s??{})}return n._$AI(t),n},c0:N,ge:{M:c,P:d,A:h,C:1,L:U,R:k,D:v,V:F,I:R,H,N:L,U:z,B:I,F:W},qy:P,s6:M})},66136(t,r,s){s.d(r,{J:()=>n});var a=s(40173);let n=t=>t??a.s6},57423(t,r,s){s.d(r,{_:()=>m,K:()=>O});var a=s(40173),n=s(91223),o=s(26071);let l=(t,r)=>{let s=t._$AN;if(void 0===s)return!1;for(let t of s)t._$AO?.(r,!1),l(t,r);return!0},c=t=>{let r,s;do{if(void 0===(r=t._$AM))break;(s=r._$AN).delete(t),t=r}while(0===s?.size)},d=t=>{for(let r;r=t._$AM;t=r){let s=r._$AN;if(void 0===s)r._$AN=s=new Set;else if(s.has(t))break;s.add(t),p(r)}};function h(t){void 0!==this._$AN?(c(this),this._$AM=t,d(this)):this._$AM=t}function u(t,r=!1,s=0){let a=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(r)if(Array.isArray(a))for(let t=s;t<a.length;t++)l(a[t],!1),c(a[t]);else null!=a&&(l(a,!1),c(a));else l(this,t)}let p=t=>{t.type==o.OA.CHILD&&(t._$AP??=u,t._$AQ??=h)};let f=class f extends o.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,s){super._$AT(t,r,s),d(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(l(this,t),c(this))}setValue(t){if((0,n.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};let m=()=>new ref_h;let ref_h=class ref_h{};let b=new WeakMap,O=(0,o.u$)(class extends f{render(t){return a.s6}update(t,[r]){let s=r!==this.G;return s&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=r,this.ht=t.options?.host,this.rt(this.ct=t.element)),a.s6}rt(t){if(void 0!==this.G)if(this.isConnected||(t=void 0),"function"==typeof this.G){let r=this.ht??globalThis,s=b.get(r);void 0===s&&(s=new WeakMap,b.set(r,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?b.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},15142(t,r,s){s.d(r,{W:()=>c});var a=s(40173),n=s(26071);let o="important",l=" !"+o,c=(0,n.u$)(class extends n.WL{constructor(t){if(super(t),t.type!==n.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((r,s)=>{let a=t[s];return null==a?r:r+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${a};`},"")}update(t,[r]){let{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(let t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(let t in r){let a=r[t];if(null!=a){this.ft.add(t);let r="string"==typeof a&&a.endsWith(l);t.includes("-")||r?s.setProperty(t,r?a.slice(0,-11):a,r?o:""):s[t]=a}}return a.c0}})},36105(t,r,s){s.d(r,{_:()=>o});var a=s(40173),n=s(26071);let e=class e extends n.WL{constructor(t){if(super(t),this.it=a.s6,t.type!==n.OA.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===a.s6||null==t)return this._t=void 0,this.it=t;if(t===a.c0)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};e.directiveName="unsafeHTML",e.resultType=1;let o=(0,n.u$)(e)},86161(t,r,s){s(89498),s(40173);var a=s(65228);s.d(r,{AH:()=>a.AH,JW:()=>a.JW,WF:()=>a.WF,c0:()=>a.c0,mN:()=>a.mN,qy:()=>a.qy,s6:()=>a.s6})},36033(t,s,a){function n(t,r,s=u.Debug){let a=`(Glean.${t})`;Array.isArray(r)?console[s](a,...r):console[s](a,r)}a.d(s,{w:()=>ee}),(h=u||(u={})).Debug="debug",h.Info="info",h.Warn="warn",h.Error="error",h.Trace="trace";let o="core.Context";let context_Context=class context_Context{constructor(){this.initialized=!1,this.testing=!1,this.supportedMetrics={},this.startTime=new Date}static get instance(){return context_Context._instance||(context_Context._instance=new context_Context),context_Context._instance}static testUninitialize(){context_Context._instance=void 0}static get uploadEnabled(){return void 0===context_Context.instance.uploadEnabled&&n(o,["Attempted to access Context.uploadEnabled before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.uploadEnabled}static set uploadEnabled(t){context_Context.instance.uploadEnabled=t}static get metricsDatabase(){return void 0===context_Context.instance.metricsDatabase&&n(o,["Attempted to access Context.metricsDatabase before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.metricsDatabase}static set metricsDatabase(t){context_Context.instance.metricsDatabase=t}static get eventsDatabase(){return void 0===context_Context.instance.eventsDatabase&&n(o,["Attempted to access Context.eventsDatabase before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.eventsDatabase}static set eventsDatabase(t){context_Context.instance.eventsDatabase=t}static get pingsDatabase(){return void 0===context_Context.instance.pingsDatabase&&n(o,["Attempted to access Context.pingsDatabase before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.pingsDatabase}static set pingsDatabase(t){context_Context.instance.pingsDatabase=t}static get errorManager(){return void 0===context_Context.instance.errorManager&&n(o,["Attempted to access Context.errorManager before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.errorManager}static set errorManager(t){context_Context.instance.errorManager=t}static get applicationId(){return void 0===context_Context.instance.applicationId&&n(o,["Attempted to access Context.applicationId before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.applicationId}static set applicationId(t){context_Context.instance.applicationId=t}static get initialized(){return context_Context.instance.initialized}static set initialized(t){context_Context.instance.initialized=t}static get config(){return void 0===context_Context.instance.config&&n(o,["Attempted to access Context.config before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.config}static set config(t){context_Context.instance.config=t}static get startTime(){return context_Context.instance.startTime}static get testing(){return context_Context.instance.testing}static set testing(t){context_Context.instance.testing=t}static get corePings(){return context_Context.instance.corePings}static set corePings(t){context_Context.instance.corePings=t}static get coreMetrics(){return context_Context.instance.coreMetrics}static set coreMetrics(t){context_Context.instance.coreMetrics=t}static set platform(t){context_Context.instance.platform=t}static get platform(){return void 0===context_Context.instance.platform&&n(o,["Attempted to access Context.platform before it was set. This may cause unexpected behaviour."],u.Trace),context_Context.instance.platform}static isPlatformSet(){return!!context_Context.instance.platform}static getSupportedMetric(t){return context_Context.instance.supportedMetrics[t]}static addSupportedMetric(t,r){t in context_Context.instance.supportedMetrics||(context_Context.instance.supportedMetrics[t]=r)}};let l=r("crypto");var c,d,h,u,p,m,b,O,v,y=a.n(l);let _={randomUUID:y().randomUUID},w=new Uint8Array(256),T=w.length,x=[];for(let t=0;t<256;++t)x.push((t+256).toString(16).slice(1));let E=function(t,r,s){if(_.randomUUID&&!r&&!t)return _.randomUUID();let a=(t=t||{}).random||(t.rng||function(){return T>w.length-16&&(y().randomFillSync(w),T=0),w.slice(T,T+=16)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,r){s=s||0;for(let t=0;t<16;++t)r[s+t]=a[t];return r}return function(t,r=0){return x[t[r+0]]+x[t[r+1]]+x[t[r+2]]+x[t[r+3]]+"-"+x[t[r+4]]+x[t[r+5]]+"-"+x[t[r+6]]+x[t[r+7]]+"-"+x[t[r+8]]+x[t[r+9]]+"-"+x[t[r+10]]+x[t[r+11]]+x[t[r+12]]+x[t[r+13]]+x[t[r+14]]+x[t[r+15]]}(a)};(c=p||(p={})).InvalidValue="invalid_value",c.InvalidLabel="invalid_label",c.InvalidState="invalid_state",c.InvalidOverflow="invalid_overflow",c.InvalidType="invalid_type",(d=m||(m={}))[d.Success=0]="Success",d[d.Error=1]="Error";let metric_MetricValidationError=class metric_MetricValidationError extends Error{constructor(t,r=p.InvalidType){super(t),this.type=r,this.name="MetricValidationError"}recordError(t){context_Context.errorManager.record(t,this.type,this.message)}};let Metric=class Metric{constructor(t){this.inner=this.validateOrThrow(t)}get(){return this.inner}set(t){this.inner=t}validateOrThrow(t){let r=this.validate(t);if(r.type===m.Error)throw new metric_MetricValidationError(r.errorMessage,r.errorType);return t}};function A(t){return"object"==typeof t&&null!==t&&t.constructor===Object}function $(t){return"string"==typeof t}function C(t){return"number"==typeof t&&!isNaN(t)}function P(){return"u">typeof crypto?E():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let r=16*Math.random()|0;return("x"==t?r:3&r|8).toString(16)})}function D(){return Math.round("u"<typeof performance?Date.now():performance.now())}function N(t,r="core.utils"){return!!context_Context.testing||(n(r,[`Attempted to access test only method \`${t||"unknown"}\`,`,"but Glean is not in testing mode. Ignoring. Make sure to put Glean in testing mode","before accessing such methods, by calling `testResetGlean`."],u.Error),!1)}let M=/^[a-z_][a-z0-9_-]{0,29}(\.[a-z_][a-z0-9_-]{0,29})*$/;let MetricType=class MetricType{constructor(t,r,s){s&&context_Context.addSupportedMetric(t,s),this.type=t,this.name=r.name,this.category=r.category,this.sendInPings=r.sendInPings,this.lifetime=r.lifetime,this.disabled=r.disabled,this.dynamicLabel=r.dynamicLabel}baseIdentifier(){return this.category.length>0?`${this.category}.${this.name}`:this.name}identifier(){let t=this.baseIdentifier();return void 0!==this.dynamicLabel?function(t){var r,s,a;if(void 0===t.dynamicLabel)throw Error("This point should never be reached.");let n=(r=t.baseIdentifier(),s=t.dynamicLabel,`${r}/${s}`);for(let r of t.sendInPings)if(context_Context.metricsDatabase.hasMetric(t.lifetime,r,t.type,n))return n;let o=0;for(let r of t.sendInPings)o+=context_Context.metricsDatabase.countByBaseIdentifier(t.lifetime,r,t.type,t.baseIdentifier());let l=!1;return o>=16?l=!0:t.dynamicLabel.length>61?(l=!0,context_Context.errorManager.record(t,p.InvalidLabel,`Label length ${t.dynamicLabel.length} exceeds maximum of 61.`)):M.test(t.dynamicLabel)||(l=!0,context_Context.errorManager.record(t,p.InvalidLabel,`Label must be snake_case, got '${t.dynamicLabel}'.`)),l?(a=t.baseIdentifier(),`${a}/__other__`):n}(this):t}shouldRecord(t){return t&&!this.disabled}testGetNumRecordedErrors(t,r=this.sendInPings[0]){return N("testGetNumRecordedErrors")?context_Context.errorManager.testGetNumRecordedErrors(this,t,r):0}};function Q(t){return $(t)?{type:m.Success}:{type:m.Error,errorMessage:`Expected string value, got ${JSON.stringify(t)}`}}var q=function(t,r,s,a,n){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!n)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!n:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?n.call(t,s):n?n.value=s:r.set(t,s),s},B=function(t,r,s,a){if("a"===s&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!a:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?a:"a"===s?a.call(t):a?a.value:r.get(t)};let U=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;let UUIDMetric=class UUIDMetric extends Metric{constructor(t){super(t)}validate(t){let r=Q(t);return r.type===m.Error?r:U.test(t)?{type:m.Success}:{type:m.Error,errorMessage:`"${t}" is not a valid UUID`,errorType:p.InvalidValue}}payload(){return this.inner}};let InternalUUIDMetricType=class InternalUUIDMetricType extends MetricType{constructor(t){super("uuid",t,UUIDMetric)}set(t){let r;if(this.shouldRecord(context_Context.uploadEnabled)){t||(t=P());try{r=new UUIDMetric(t),context_Context.metricsDatabase.record(this,r)}catch(t){t instanceof metric_MetricValidationError&&t.recordError(this)}}}generateAndSet(){if(!this.shouldRecord(context_Context.uploadEnabled))return;let t=P();return this.set(t),t}testGetValue(t=this.sendInPings[0]){if(N("testGetValue","core.metrics.UUIDMetricType"))return context_Context.metricsDatabase.getMetric(t,this)}};let F=class{constructor(t){b.set(this,void 0),q(this,b,new InternalUUIDMetricType(t),"f")}set(t){B(this,b,"f").set(t)}generateAndSet(){return B(this,b,"f").generateAndSet()}testGetValue(t=B(this,b,"f").sendInPings[0]){return B(this,b,"f").testGetValue(t)}testGetNumRecordedErrors(t,r=B(this,b,"f").sendInPings[0]){return B(this,b,"f").testGetNumRecordedErrors(t,r)}};b=new WeakMap;let V=["#glean_execution_counter","#glean_reference_time"];let RecordedEvent=class RecordedEvent extends Metric{constructor(t){super(t)}static withTransformedExtras(t,r){let s=r(t.extra||{});return{category:t.category,name:t.name,timestamp:t.timestamp,extra:s&&Object.keys(s).length>0?s:void 0}}addExtra(t,r){this.inner.extra||(this.inner.extra={}),this.inner.extra[t]=r}withoutReservedExtras(){return RecordedEvent.withTransformedExtras(this.get(),t=>Object.keys(t).filter(t=>!V.includes(t)).reduce((r,s)=>(r[s]=t[s],r),{}))}validate(t){var r;if(!A(t))return{type:m.Error,errorMessage:`Expected Glean event object, got ${typeof t}`};let s="category"in t&&$(t.category),a="name"in t&&$(t.name);if(!s||!a)return{type:m.Error,errorMessage:`Unexpected value for "category" or "name" in event object: ${JSON.stringify(t)}`};if(!("timestamp"in t&&C(r=t.timestamp)&&Number.isInteger(r)&&t.timestamp>=0))return{type:m.Error,errorMessage:`Event timestamp must be a positive integer, got ${JSON.stringify(t)}`};if(t.extra){if(!A(t.extra))return{type:m.Error,errorMessage:`Expected Glean extras object, got ${typeof t}`};for(let[r,s]of Object.entries(t.extra)){let t=Q(r);if(t.type===m.Error)return t;if(!$(s)&&!C(s)&&"boolean"!=typeof s)return{type:m.Error,errorMessage:`Unexpected value for extra key ${r}: ${JSON.stringify(s)}`}}}return{type:m.Success}}payload(){return RecordedEvent.withTransformedExtras(this.withoutReservedExtras(),t=>Object.keys(t).reduce((r,s)=>(r[s]=t[s].toString(),r),{}))}};var G=function(t,r,s,a,n){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!n)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!n:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?n.call(t,s):n?n.value=s:r.set(t,s),s},Z=function(t,r,s,a){if("a"===s&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!a:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?a:"a"===s?a.call(t):a?a.value:r.get(t)};let InternalEventMetricType=class InternalEventMetricType extends MetricType{constructor(t,r){super("event",t),this.allowedExtraKeys=r}record(t,r=D()){if(!this.shouldRecord(context_Context.uploadEnabled))return;let s=Date.now();try{let a=new RecordedEvent({category:this.category,name:this.name,timestamp:r,extra:t}),n={};if(t&&this.allowedExtraKeys)for(let[r,s]of Object.entries(t))if(this.allowedExtraKeys.includes(r))$(s)?n[r]=function(t,r){if(!$(r))throw new metric_MetricValidationError(`Expected string, got ${JSON.stringify(r)}`);let s=new TextEncoder,a=new TextDecoder("utf-8"),n=s.encode(r).slice(0,500),o=a.decode(n);return o!==r&&context_Context.errorManager.record(t,p.InvalidOverflow,`Value length ${new Blob([r]).size} exceeds maximum of ${r.length} bytes.`),o}(this,s):n[r]=s;else{context_Context.errorManager.record(this,p.InvalidValue,`Invalid key index: ${r}`);continue}n.glean_timestamp=s.toString(),a.set({...a.get(),extra:n}),context_Context.eventsDatabase.record(this,a)}catch(t){t instanceof metric_MetricValidationError&&t.recordError(this)}}testGetValue(t=this.sendInPings[0]){if(N("testGetValue","core.metrics.EventMetricType")){let r=context_Context.eventsDatabase.getEvents(t,this);return r&&r.forEach(t=>{t.extra&&(delete t.extra.glean_timestamp,0==Object.keys(t.extra).length&&(t.extra=void 0))}),r}}};let EventMetricType=class EventMetricType{constructor(t,r){O.set(this,void 0),G(this,O,new InternalEventMetricType(t,r),"f")}record(t){Z(this,O,"f").record(t)}testGetValue(t=Z(this,O,"f").sendInPings[0]){return Z(this,O,"f").testGetValue(t)}testGetNumRecordedErrors(t,r=Z(this,O,"f").sendInPings[0]){return Z(this,O,"f").testGetNumRecordedErrors(t,r)}};O=new WeakMap;let X="core.glean_metrics";var j=v||(v={});let Y={pageLoad:new EventMetricType({category:"glean",name:"page_load",sendInPings:["events"],lifetime:"ping",disabled:!1},["url","referrer","title"]),elementClick:new EventMetricType({category:"glean",name:"element_click",sendInPings:["events"],lifetime:"ping",disabled:!1},["id","type","label","url","referrer","title"]),pageId:new F({category:"glean",name:"page_id",sendInPings:["events"],lifetime:"application",disabled:!1})};function J(t){context_Context.initialized?Y.elementClick.record(t):n(X,"Attempted to record element click event before Glean was initialized. This is a no-op.",u.Warn)}j.pageLoad=function(t){var r,s,a;context_Context.initialized?(Y.pageId.generateAndSet(),Y.pageLoad.record({url:null!=(r=null==t?void 0:t.url)?r:"u">typeof window?window.location.href:"URL_NOT_PROVIDED_OR_AVAILABLE",referrer:null!=(s=null==t?void 0:t.referrer)?s:"u">typeof document?document.referrer:"REFERRER_NOT_PROVIDED_OR_AVAILABLE",title:null!=(a=null==t?void 0:t.title)?a:"u">typeof document?document.title:"TITLE_NOT_PROVIDED_OR_AVAILABLE"})):n(X,"Attempted to record a page load event before Glean was initialized. This is a no-op.",u.Warn)},j.handleClickEvent=function(t){let r,s=t.target.closest("[data-glean-id], [data-glean-type], [data-glean-label]");s&&J({...(r=s.dataset).gleanId&&{id:r.gleanId},...r.gleanType&&{type:r.gleanType},...r.gleanLabel&&{label:r.gleanLabel},url:"u">typeof window?window.location.href:"URL_NOT_PROVIDED_OR_AVAILABLE",referrer:"u">typeof document?document.referrer:"REFERRER_NOT_PROVIDED_OR_AVAILABLE",title:"u">typeof document?document.title:"TITLE_NOT_PROVIDED_OR_AVAILABLE"})},j.recordElementClick=J;let K=v;function ee(t){K.recordElementClick({id:t,url:globalThis.location.href,referrer:document.referrer,title:document.title})}},14632(t,r,s){function a(t,r){let s=t.replaceAll("_"," ").split("/").filter(t=>!["","docs"].includes(t)),a=s.shift();return"Web"===s.at(0)&&"API"===s.at(1)&&(s[1]="Web APIs"),s.length>1&&"Web"===s.at(0)&&s.shift(),s.length>1&&s.splice(-1,1),[...a===r?[]:[a],...s].join(" / ")}s.d(r,{o:()=>a})}},c={};function d(t){var r=c[t];if(void 0!==r)return r.exports;var s=c[t]={id:t,exports:{}};return l[t].call(s.exports,s,s.exports,d),s.exports}d.m=l,d.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return d.d(r,{a:r}),r},a=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,d.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var n=Object.create(null);d.r(n);var o={};s=s||[null,a({}),a([]),a(a)];for(var l=2&r&&t;("object"==typeof l||"function"==typeof l)&&!~s.indexOf(l);l=a(l))Object.getOwnPropertyNames(l).forEach(r=>{o[r]=()=>t[r]});return o.default=()=>t,d.d(n,o),n},d.d=(t,r,s)=>{var a=(r,s)=>{for(var a in r)d.o(r,a)&&!d.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,[s]:r[a]})};a(r,"get"),a(s,"value")},d.f={},d.e=t=>Promise.all(Object.keys(d.f).reduce((r,s)=>(d.f[s](t,r),r),[])),d.u=t=>""+(({1023:"prism-sas-js",105:"prism-kotlin-js",1052:"prism-web-idl-js",1074:"prism-cooklang-js",1148:"prism-stylus-js",1163:"prism-julia-js",1198:"prism-uri-js",1209:"prism-llvm-js",1211:"prism-lilypond-js",1230:"prism-verilog-js",1234:"prism-io-js",1243:"prism-idris-js",1353:"prism-rip-js",1379:"prism-linker-script-js",1384:"prism-ada-js",1436:"prism-openqasm-js",1488:"prism-clojure-js",1594:"prism-clike-js",1614:"prism-basic-js",1656:"prism-git-js",167:"prism-bqn-js",17:"prism-brainfuck-js",1729:"prism-wgsl-js",1742:"prism-j-js",1754:"prism-avisynth-js",181:"prism-monkey-js",1855:"prism-hpkp-js",1888:"prism-purebasic-js",1897:"prism-javastacktrace-js",1917:"prism-solidity-js",1957:"prism-actionscript-js",1971:"prism-coq-js",2006:"prism-oz-js",2046:"prism-gherkin-js",2256:"prism-rescript-js",2317:"prism-antlr4-js",2326:"prism-javadoc-js",2328:"prism-batch-js",2381:"prism-cue-js",2396:"prism-turtle-js",2422:"prism-bnf-js",2439:"prism-naniscript-js",2443:"prism-javascript-js",2500:"prism-chaiscript-js",2538:"prism-jsonp-js",2548:"prism-rest-js",2555:"prism-nsis-js",2578:"prism-smarty-js",2647:"prism-arturo-js",2649:"prism-nasm-js",2727:"prism-splunk-spl-js",276:"prism-iecst-js",2770:"prism-zig-js",2812:"prism-solution-file-js",2890:"prism-csp-js",2964:"prism-uorazor-js",2966:"prism-r-js",2988:"prism-wren-js",3026:"prism-wiki-js",3076:"prism-wolfram-js",3100:"prism-nim-js",3141:"prism-ichigojam-js",3150:"prism-apacheconf-js",3157:"prism-css-extras-js",3172:"prism-cil-js",3201:"prism-jq-js",3298:"prism-ftl-js",3310:"prism-lisp-js",3323:"prism-dns-zone-file-js",3396:"prism-excel-formula-js",3503:"prism-abnf-js",3522:"prism-hoon-js",3535:"prism-awk-js",3543:"prism-t4-cs-js",357:"prism-less-js",3621:"prism-applescript-js",3634:"prism-lua-js",367:"prism-yaml-js",3695:"prism-django-js",3725:"prism-al-js",3733:"prism-regex-js",3755:"prism-bsl-js",3798:"prism-renpy-js",3805:"prism-shell-session-js",3855:"prism-gradle-js",3857:"prism-vbnet-js",3864:"prism-phpdoc-js",391:"prism-protobuf-js",3997:"prism-dot-js",4008:"prism-kumir-js",4054:"prism-pascal-js",4068:"prism-asm6502-js",418:"prism-systemd-js",4203:"prism-diff-js",4213:"prism-warpscript-js",4227:"prism-scheme-js",4270:"prism-docker-js",4275:"prism-cpp-js",4334:"prism-bbj-js",4338:"prism-dhall-js",4342:"prism-ini-js",4431:"prism-rego-js",4448:"prism-smali-js",4461:"prism-bicep-js",4468:"prism-ejs-js",4479:"prism-hlsl-js",4492:"prism-bash-js",450:"prism-haxe-js",4522:"prism-plant-uml-js",453:"prism-apex-js",4531:"prism-svelte",4550:"prism-flow-js",4555:"prism-agda-js",463:"prism-js-extras-js",4637:"prism-icon-js",4667:"prism-textile-js",4670:"prism-inform7-js",4704:"prism-ignore-js",4750:"prism-markup-js",4813:"prism-nand2tetris-hdl-js",4832:"prism-racket-js",4854:"prism-pcaxis-js",4896:"prism-haml-js",4911:"prism-bro-js",4922:"prism-v-js",4975:"prism-icu-message-format-js",5087:"prism-core-js",5091:"prism-velocity-js",5128:"prism-pug-js",5166:"prism-markup-templating-js",5169:"prism-cobol-js",5173:"prism-typoscript-js",52:"prism-vim-js",5249:"prism-parigp-js",5414:"prism-lolcode-js",5503:"prism-squirrel-js",5538:"prism-asmatmel-js",5547:"prism-dax-js",5549:"prism-hcl-js",5582:"prism-n4js-js",56:"prism-arduino-js",5607:"prism-rust-js",5616:"prism-json-js",5637:"prism-psl-js",5747:"prism-stata-js",5781:"prism-twig-js",5826:"prism-objectivec-js",585:"prism-tremor-js",5899:"prism-cypher-js",5901:"prism-css-js",606:"prism-dataweave-js",6069:"prism-cmake-js",6071:"prism-maxscript-js",6141:"prism-gettext-js",6187:"prism-brightscript-js",6206:"prism-qml-js",6241:"prism-tcl-js",6253:"prism-bison-js",6267:"prism-parser-js",6273:"prism-mizar-js",6290:"prism-robotframework-js",6363:"prism-visual-basic-js",6368:"prism-ocaml-js",638:"prism-php-extras-js",6444:"prism-groovy-js",6459:"prism-powerquery-js",6476:"prism-puppet-js",6502:"prism-stan-js",6517:"prism-apl-js",6588:"prism-php-js",6616:"prism-roboconf-js",6673:"prism-purescript-js",6677:"prism-livescript-js",6680:"prism-go-js",6712:"prism-autoit-js",6724:"prism-cfscript-js",6730:"prism-crystal-js",6732:"prism-csv-js",6745:"prism-gedcom-js",677:"prism-powershell-js",681:"prism-qore-js",6833:"prism-bbcode-js",6862:"prism-sqf-js",6870:"prism-cilkc-js",6880:"prism-peoplecode-js",6890:"prism-xml-doc-js",6912:"prism-moonscript-js",6918:"prism-http-js",6930:"prism-mongodb-js",6936:"prism-eiffel-js",6962:"prism-makefile-js",701:"prism-mermaid-js",7026:"prism-odin-js",7043:"prism-json5-js",7059:"prism-csharp-js",7086:"prism-cilkcpp-js",710:"prism-metafont-js",7151:"prism-go-module-js",7190:"prism-nevod-js",7212:"prism-nginx-js",7245:"prism-jolie-js",7250:"prism-latte-js",7257:"prism-markdown-js",7270:"prism-tt2-js",7292:"prism-sql-js",7294:"prism-xquery-js",738:"prism-glsl-js",7407:"prism-magma-js",7408:"prism-sml-js",751:"prism-coffeescript-js",7517:"prism-supercollider-js",753:"prism-jsdoc-js",7557:"prism-perl-js",7645:"prism-birb-js",7714:"prism-hsts-js",7723:"prism-smalltalk-js",7790:"prism-firestore-security-rules-js",7851:"prism-elixir-js",7877:"prism-swift-js",7903:"prism-asciidoc-js",7907:"prism-typescript-js",7988:"prism-python-js",7993:"prism-properties-js",8013:"prism-nix-js",8036:"prism-keepalived-js",8037:"prism-dart-js",805:"prism-qsharp-js",8062:"prism-n1ql-js",8078:"prism-liquid-js",8094:"prism-handlebars-js",810:"prism-scss-js",8101:"prism-keyman-js",8137:"prism-q-js",8139:"prism-soy-js",8168:"prism-vhdl-js",8171:"prism-ebnf-js",8187:"prism-erlang-js",8204:"prism-kusto-js",8254:"prism-wasm-js",8262:"prism-gdscript-js",8311:"prism-javadoclike-js",8336:"prism-d-js",8338:"prism-mel-js",8390:"prism-java-js",8392:"prism-latex-js",84:"prism-sass-js",8411:"prism-etlua-js",8452:"prism-gml-js",8456:"prism-elm-js",8468:"prism-haskell-js",8474:"prism-reason-js",8510:"prism-ruby-js",8526:"prism-fortran-js",8544:"prism-abap-js",8549:"prism-js-templates-js",8584:"prism-xojo-js",8588:"prism-avro-idl-js",86:"prism-t4-templating-js",8615:"prism-processing-js",8677:"prism-tsx-js",8763:"prism-aspnet-js",883:"prism-promql-js",8848:"prism-pure-js",8865:"prism-mata-js",8867:"prism-c-js",8889:"prism-erb-js",8965:"prism-gn-js",8997:"prism-t4-vb-js",9021:"prism-sparql-js",9063:"prism-arff-js",9122:"prism-aql-js",9172:"prism-jsstacktrace-js",918:"prism-neon-js",9205:"prism-autohotkey-js",9273:"prism-yang-js",928:"prism-plsql-js",9319:"prism-factor-js",9326:"prism-scala-js",9328:"prism-fsharp-js",9381:"prism-false-js",9468:"prism-gap-js",9543:"prism-opencl-js",9559:"prism-jsx-js",9570:"prism-log-js",9625:"prism-matlab-js",9686:"prism-toml-js",9692:"prism-concurnas-js",9723:"prism-graphql-js",9763:"prism-pascaligo-js",9787:"prism-prolog-js",98:"prism-unrealscript-js",9864:"prism-gcode-js",9908:"prism-vala-js",991:"prism-cshtml-js",9911:"prism-editorconfig-js",9939:"prism-tap-js",9949:"prism-armasm-js",9967:"prism-xeora-js",9985:"prism-jexl-js"})[t]||t)+".js",d.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),d.r=t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},d.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),d.p="/static/ssr/",d.U=function(t){var r=new URL(t,"x:/"),s={};for(var a in r)s[a]=r[a];for(var a in s.href=t,s.pathname=t.replace(/[?#].*/,""),s.origin=s.protocol="",s.toString=s.toJSON=()=>t,s)Object.defineProperty(this,a,{enumerable:!0,configurable:!0,value:s[a]})},d.U.prototype=URL.prototype,n={8410:0},o=t=>{var r,s,a=t.__rspack_esm_ids,o=t.__webpack_modules__,l=t.__rspack_esm_runtime,c=0;for(r in o)d.o(o,r)&&(d.m[r]=o[r]);for(l&&l(d);c<a.length;c++)s=a[c],d.o(n,s)&&n[s]&&n[s][0](),n[a[c]]=0},d.f.j=function(t,r){var s=d.o(n,t)?n[t]:void 0;if(0!==s)if(s)r.push(s[1]);else{var a=import("./"+d.u(t)).then(o,r=>{throw 0!==n[t]&&(n[t]=void 0),r}),a=Promise.race([a,new Promise(r=>{s=n[t]=[r]})]);r.push(s[1]=a)}},d(54842),d(612),d(84352),d(24838),d(1355),d(55269),d(7086),d(96678),d(10815),d(23082),d(65517),d(52500),d(58623),d(27373),d(47706),d(79879),d(37511),d(18977),d(89854),d(49979),d(77108),d(48423),d(70242),d(47849),d(14903),d(2622),d(50117),d(17547),d(1879),d(37077),d(14416),d(23247),d(56538),d(44394),d(7895),d(13755),d(47764),d(57468),d(9951),d(23731),d(70283),d(39324),d(28940),d(20141),d(95821),d(55237),d(33878),d(23745),d(97154),d(50128),d(62512),d(10423),d(41798),d(48125),d(39337),d(74354),d(51310),d(14925),d(56369);var h=d(76603),u=h.X,p=h.n;export{u as render,p as renderSimplified};
4338
4338
  //# sourceMappingURL=index.js.map