From fb390b747e8b5524522f9d34483960762ec6dadd Mon Sep 17 00:00:00 2001 From: Dannii Willis Date: Sun, 2 Aug 2026 12:18:10 +1000 Subject: [PATCH] Update to Parchment 2026.8.1 --- IFComp/lib/IFComp/Schema/Result/Entry.pm | 2 +- IFComp/root/static/interpreter/bocfel.js | 2 + IFComp/root/static/interpreter/bocfel.js.map | 7 + IFComp/root/static/interpreter/bocfel.wasm | Bin 0 -> 1304858 bytes IFComp/root/static/interpreter/glulxe.js | 2 + IFComp/root/static/interpreter/glulxe.js.map | 7 + IFComp/root/static/interpreter/glulxe.wasm | Bin 0 -> 753209 bytes IFComp/root/static/interpreter/ie.js.map | 6 +- IFComp/root/static/interpreter/jquery.min.js | 4 +- IFComp/root/static/interpreter/main.js | 31 ---- IFComp/root/static/interpreter/main.js.map | 7 - IFComp/root/static/interpreter/quixe.js | 20 --- IFComp/root/static/interpreter/quixe.js.map | 7 - IFComp/root/static/interpreter/tads-core.wasm | Bin 3142360 -> 0 bytes IFComp/root/static/interpreter/tads.js | 5 +- IFComp/root/static/interpreter/tads.js.map | 8 +- IFComp/root/static/interpreter/tads.wasm | Bin 0 -> 3586823 bytes IFComp/root/static/interpreter/web.css | 2 +- IFComp/root/static/interpreter/web.css.map | 6 +- IFComp/root/static/interpreter/web.js | 161 ++++++++++++++++++ IFComp/root/static/interpreter/web.js.map | 7 + IFComp/root/static/interpreter/zvm.js | 9 - IFComp/root/static/interpreter/zvm.js.map | 7 - IFComp/t/entry_processing.t | 6 +- LICENSE.md | 14 +- 25 files changed, 208 insertions(+), 112 deletions(-) create mode 100644 IFComp/root/static/interpreter/bocfel.js create mode 100644 IFComp/root/static/interpreter/bocfel.js.map create mode 100644 IFComp/root/static/interpreter/bocfel.wasm create mode 100644 IFComp/root/static/interpreter/glulxe.js create mode 100644 IFComp/root/static/interpreter/glulxe.js.map create mode 100644 IFComp/root/static/interpreter/glulxe.wasm delete mode 100644 IFComp/root/static/interpreter/main.js delete mode 100644 IFComp/root/static/interpreter/main.js.map delete mode 100644 IFComp/root/static/interpreter/quixe.js delete mode 100644 IFComp/root/static/interpreter/quixe.js.map delete mode 100755 IFComp/root/static/interpreter/tads-core.wasm create mode 100644 IFComp/root/static/interpreter/tads.wasm create mode 100644 IFComp/root/static/interpreter/web.js create mode 100644 IFComp/root/static/interpreter/web.js.map delete mode 100644 IFComp/root/static/interpreter/zvm.js delete mode 100644 IFComp/root/static/interpreter/zvm.js.map diff --git a/IFComp/lib/IFComp/Schema/Result/Entry.pm b/IFComp/lib/IFComp/Schema/Result/Entry.pm index 12722016..5a75ecde 100644 --- a/IFComp/lib/IFComp/Schema/Result/Entry.pm +++ b/IFComp/lib/IFComp/Schema/Result/Entry.pm @@ -1083,7 +1083,7 @@ sub _create_parchment_page { - + \";\n\t\tunsubscribe = listen(\n\t\t\twindow,\n\t\t\t'message',\n\t\t\t/** @param {MessageEvent} event */ (event) => {\n\t\t\t\tif (event.source === iframe.contentWindow) fn();\n\t\t\t}\n\t\t);\n\t} else {\n\t\tiframe.src = 'about:blank';\n\t\tiframe.onload = () => {\n\t\t\tunsubscribe = listen(iframe.contentWindow, 'resize', fn);\n\t\t\t// make sure an initial resize event is fired _after_ the iframe is loaded (which is asynchronous)\n\t\t\t// see https://github.com/sveltejs/svelte/issues/4233\n\t\t\tfn();\n\t\t};\n\t}\n\tappend(node, iframe);\n\treturn () => {\n\t\tif (crossorigin) {\n\t\t\tunsubscribe();\n\t\t} else if (unsubscribe && iframe.contentWindow) {\n\t\t\tunsubscribe();\n\t\t}\n\t\tdetach(iframe);\n\t};\n}\nexport const resize_observer_content_box = /* @__PURE__ */ new ResizeObserverSingleton({\n\tbox: 'content-box'\n});\nexport const resize_observer_border_box = /* @__PURE__ */ new ResizeObserverSingleton({\n\tbox: 'border-box'\n});\nexport const resize_observer_device_pixel_content_box = /* @__PURE__ */ new ResizeObserverSingleton(\n\t{ box: 'device-pixel-content-box' }\n);\nexport { ResizeObserverSingleton };\n\n/**\n * @returns {void} */\nexport function toggle_class(element, name, toggle) {\n\t// The `!!` is required because an `undefined` flag means flipping the current state.\n\telement.classList.toggle(name, !!toggle);\n}\n\n/**\n * @template T\n * @param {string} type\n * @param {T} [detail]\n * @param {{ bubbles?: boolean, cancelable?: boolean }} [options]\n * @returns {CustomEvent}\n */\nexport function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * @param {string} selector\n * @param {HTMLElement} parent\n * @returns {ChildNodeArray}\n */\nexport function query_selector_all(selector, parent = document.body) {\n\treturn Array.from(parent.querySelectorAll(selector));\n}\n\n/**\n * @param {string} nodeId\n * @param {HTMLElement} head\n * @returns {any[]}\n */\nexport function head_selector(nodeId, head) {\n\tconst result = [];\n\tlet started = 0;\n\tfor (const node of head.childNodes) {\n\t\tif (node.nodeType === 8 /* comment node */) {\n\t\t\tconst comment = node.textContent.trim();\n\t\t\tif (comment === `HEAD_${nodeId}_END`) {\n\t\t\t\tstarted -= 1;\n\t\t\t\tresult.push(node);\n\t\t\t} else if (comment === `HEAD_${nodeId}_START`) {\n\t\t\t\tstarted += 1;\n\t\t\t\tresult.push(node);\n\t\t\t}\n\t\t} else if (started > 0) {\n\t\t\tresult.push(node);\n\t\t}\n\t}\n\treturn result;\n}\n/** */\nexport class HtmlTag {\n\t/**\n\t * @private\n\t * @default false\n\t */\n\tis_svg = false;\n\t/** parent for creating node */\n\te = undefined;\n\t/** html tag nodes */\n\tn = undefined;\n\t/** target */\n\tt = undefined;\n\t/** anchor */\n\ta = undefined;\n\tconstructor(is_svg = false) {\n\t\tthis.is_svg = is_svg;\n\t\tthis.e = this.n = null;\n\t}\n\n\t/**\n\t * @param {string} html\n\t * @returns {void}\n\t */\n\tc(html) {\n\t\tthis.h(html);\n\t}\n\n\t/**\n\t * @param {string} html\n\t * @param {HTMLElement | SVGElement} target\n\t * @param {HTMLElement | SVGElement} anchor\n\t * @returns {void}\n\t */\n\tm(html, target, anchor = null) {\n\t\tif (!this.e) {\n\t\t\tif (this.is_svg)\n\t\t\t\tthis.e = svg_element(/** @type {keyof SVGElementTagNameMap} */ (target.nodeName));\n\t\t\t/** #7364 target for