diff --git a/assets/121.f363e335.js b/assets/121.c9221278.js similarity index 74% rename from assets/121.f363e335.js rename to assets/121.c9221278.js index 71f9d7aa..850f54ea 100644 --- a/assets/121.f363e335.js +++ b/assets/121.c9221278.js @@ -1,2 +1,2 @@ -(()=>{"use strict";var e,r,t={},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=t,o.amdO={},e=[],o.O=(r,t,n,a)=>{if(!t){var i=1/0;for(u=0;u=a)&&Object.keys(o.O).every((e=>o.O[e](t[d])))?t.splice(d--,1):(l=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[t,n,a]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>e+"."+{157:"ae2d24ea",205:"bfd12ce1",268:"424eb2a7",441:"8903fb09",535:"0b9b687d",663:"5a51441d",694:"23c1d07e",745:"c73f1c83",760:"6ade6071",783:"c9467672",887:"7e5c4991",914:"40bd7d0b",967:"614fc5e1"}[e]+".js",o.miniCssF=e=>e+"."+{157:"22ba31eb",205:"8c45f975",268:"e2a184bf",441:"f1b3bb88",967:"1b40276d"}[e]+".css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},o.l=(e,t,n,a)=>{if(r[e])r[e].push(t);else{var i,l;if(void 0!==n)for(var d=document.getElementsByTagName("script"),s=0;s{i.onerror=i.onload=null,clearTimeout(f);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},f=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),l&&document.head.appendChild(i)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/assets/",(()=>{if("undefined"!=typeof document){var e={121:0};o.f.miniCss=(r,t)=>{e[r]?t.push(e[r]):0!==e[r]&&{157:1,205:1,268:1,441:1,967:1}[r]&&t.push(e[r]=(e=>new Promise(((r,t)=>{var n=o.miniCssF(e),a=o.p+n;if(((e,r)=>{for(var t=document.getElementsByTagName("link"),n=0;n{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",o.nc&&(i.nonce=o.nc),i.onerror=i.onload=t=>{if(i.onerror=i.onload=null,"load"===t.type)n();else{var o=t&&t.type,l=t&&t.target&&t.target.href||r,d=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+l+")");d.name="ChunkLoadError",d.code="CSS_CHUNK_LOAD_FAILED",d.type=o,d.request=l,i.parentNode&&i.parentNode.removeChild(i),a(d)}},i.href=r,document.head.appendChild(i)})(e,a,0,r,t)})))(r).then((()=>{e[r]=0}),(t=>{throw delete e[r],t})))}}})(),(()=>{var e={121:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(121!=r){var a=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=a);var i=o.p+o.u(r),l=new Error;o.l(i,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,n[1](l)}}),"chunk-"+r,r)}else e[r]=0},o.O.j=r=>0===e[r];var r=(r,t)=>{var n,a,[i,l,d]=t,s=0;if(i.some((r=>0!==e[r]))){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);if(d)var u=d(o)}for(r&&r(t);s{"use strict";var e,r,t={},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=t,o.amdO={},e=[],o.O=(r,t,n,a)=>{if(!t){var i=1/0;for(u=0;u=a)&&Object.keys(o.O).every((e=>o.O[e](t[l])))?t.splice(l--,1):(d=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[t,n,a]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>e+"."+{157:"ae2d24ea",205:"bfd12ce1",268:"424eb2a7",441:"8903fb09",535:"0b9b687d",663:"5a51441d",694:"23c1d07e",745:"c73f1c83",760:"6ade6071",783:"940d1e8b",887:"7e5c4991",914:"40bd7d0b",967:"614fc5e1"}[e]+".js",o.miniCssF=e=>e+"."+{157:"22ba31eb",205:"8c45f975",268:"e2a184bf",441:"f1b3bb88",967:"1b40276d"}[e]+".css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},o.l=(e,t,n,a)=>{if(r[e])r[e].push(t);else{var i,d;if(void 0!==n)for(var l=document.getElementsByTagName("script"),s=0;s{i.onerror=i.onload=null,clearTimeout(f);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},f=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),d&&document.head.appendChild(i)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/assets/",(()=>{if("undefined"!=typeof document){var e={121:0};o.f.miniCss=(r,t)=>{e[r]?t.push(e[r]):0!==e[r]&&{157:1,205:1,268:1,441:1,967:1}[r]&&t.push(e[r]=(e=>new Promise(((r,t)=>{var n=o.miniCssF(e),a=o.p+n;if(((e,r)=>{for(var t=document.getElementsByTagName("link"),n=0;n{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",o.nc&&(i.nonce=o.nc),i.onerror=i.onload=t=>{if(i.onerror=i.onload=null,"load"===t.type)n();else{var o=t&&t.type,d=t&&t.target&&t.target.href||r,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+d+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=d,i.parentNode&&i.parentNode.removeChild(i),a(l)}},i.href=r,document.head.appendChild(i)})(e,a,0,r,t)})))(r).then((()=>{e[r]=0}),(t=>{throw delete e[r],t})))}}})(),(()=>{var e={121:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(121!=r){var a=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=a);var i=o.p+o.u(r),d=new Error;o.l(i,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;d.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",d.name="ChunkLoadError",d.type=a,d.request=i,n[1](d)}}),"chunk-"+r,r)}else e[r]=0},o.O.j=r=>0===e[r];var r=(r,t)=>{var n,a,[i,d,l]=t,s=0;if(i.some((r=>0!==e[r]))){for(n in d)o.o(d,n)&&(o.m[n]=d[n]);if(l)var u=l(o)}for(r&&r(t);s {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\n// data-webpack is not used as build has no uniqueName\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"157\":\"ae2d24ea\",\"205\":\"bfd12ce1\",\"268\":\"424eb2a7\",\"441\":\"8903fb09\",\"535\":\"0b9b687d\",\"663\":\"5a51441d\",\"694\":\"23c1d07e\",\"745\":\"c73f1c83\",\"760\":\"6ade6071\",\"783\":\"c9467672\",\"887\":\"7e5c4991\",\"914\":\"40bd7d0b\",\"967\":\"614fc5e1\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"157\":\"22ba31eb\",\"205\":\"8c45f975\",\"268\":\"e2a184bf\",\"441\":\"f1b3bb88\",\"967\":\"1b40276d\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/assets/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t121: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"157\":1,\"205\":1,\"268\":1,\"441\":1,\"967\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t121: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(121 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunk\"] = globalThis[\"webpackChunk\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["deferred","inProgress","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","amdO","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","hmd","create","children","set","Error","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","p","installedCssChunks","miniCss","resolve","reject","href","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","oldTag","linkTag","nonce","errorType","realHref","err","name","code","request","createStylesheet","loadStylesheet","then","installedChunks","installedChunkData","promise","error","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","chunkLoadingGlobal"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"121.c9221278.js","mappings":"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","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///webpack/bootstrap","webpack:///webpack/runtime/amd options","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/harmony module decorator","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/css loading","webpack:///webpack/runtime/jsonp chunk loading"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\n// data-webpack is not used as build has no uniqueName\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"157\":\"ae2d24ea\",\"205\":\"bfd12ce1\",\"268\":\"424eb2a7\",\"441\":\"8903fb09\",\"535\":\"0b9b687d\",\"663\":\"5a51441d\",\"694\":\"23c1d07e\",\"745\":\"c73f1c83\",\"760\":\"6ade6071\",\"783\":\"940d1e8b\",\"887\":\"7e5c4991\",\"914\":\"40bd7d0b\",\"967\":\"614fc5e1\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"157\":\"22ba31eb\",\"205\":\"8c45f975\",\"268\":\"e2a184bf\",\"441\":\"f1b3bb88\",\"967\":\"1b40276d\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/assets/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t121: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"157\":1,\"205\":1,\"268\":1,\"441\":1,\"967\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t121: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(121 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunk\"] = globalThis[\"webpackChunk\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["deferred","inProgress","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","amdO","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","hmd","create","children","set","Error","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","p","installedCssChunks","miniCss","resolve","reject","href","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","oldTag","linkTag","nonce","errorType","realHref","err","name","code","request","createStylesheet","loadStylesheet","then","installedChunks","installedChunkData","promise","error","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","chunkLoadingGlobal"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/121.c9221278.js.map.br b/assets/121.c9221278.js.map.br new file mode 100644 index 00000000..b220084e Binary files /dev/null and b/assets/121.c9221278.js.map.br differ diff --git a/assets/121.c9221278.js.map.gz b/assets/121.c9221278.js.map.gz new file mode 100644 index 00000000..9a8313e3 Binary files /dev/null and b/assets/121.c9221278.js.map.gz differ diff --git a/assets/121.f363e335.js.br b/assets/121.f363e335.js.br deleted file mode 100644 index bff27b30..00000000 Binary files a/assets/121.f363e335.js.br and /dev/null differ diff --git a/assets/121.f363e335.js.gz b/assets/121.f363e335.js.gz deleted file mode 100644 index 2b39d26d..00000000 Binary files a/assets/121.f363e335.js.gz and /dev/null differ diff --git a/assets/121.f363e335.js.map.br b/assets/121.f363e335.js.map.br deleted file mode 100644 index 059c40a3..00000000 Binary files a/assets/121.f363e335.js.map.br and /dev/null differ diff --git a/assets/121.f363e335.js.map.gz b/assets/121.f363e335.js.map.gz deleted file mode 100644 index 58420dce..00000000 Binary files a/assets/121.f363e335.js.map.gz and /dev/null differ diff --git a/assets/215.b4f98412.js b/assets/215.b4f98412.js deleted file mode 100644 index 29fd9c6e..00000000 --- a/assets/215.b4f98412.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[215],{"../../node_modules/@marko/translator-tags/dist/index.js":(e,t,r)=>{var n,s=r("../../node_modules/buffer/index.js").Buffer,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))p.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?i(c(e)):{},d(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(f,{analyze:()=>Ao,getRuntimeEntryFiles:()=>Io,internalEntryBuilder:()=>O,taglibs:()=>To,transform:()=>Eo,translate:()=>Co}),e.exports=(n=f,d(o({},"__esModule",{value:!0}),n));var m=r("../../node_modules/@marko/babel-utils/dist/index.js");function h(e){return e.node.name.value}var g="marko-core";function y(e){const t=e.isMarkoTag()&&(0,m.getTagDef)(e)?.taglibId;return t===g||"@marko/translator-interop-class-tags"===t}function b(e,t){return y(e)&&h(e)===t}function x(e){if(y(e))switch(h(e)){case"if":case"else-if":case"else":return!0}return!1}var v=r("../../node_modules/@marko/babel-utils/dist/index.js"),w={transform:[e=>{(0,v.getTagDef)(e)?.renderer||e.replaceWithMultiple(e.node.body.body)}]},k=r("../../browser-shims/compiler/index.js"),S={migrate:[e=>{const t=e.node.var;if(!t||"Identifier"===t.type&&"input"===t.name)e.remove();else{const r=k.types.markoTag(k.types.stringLiteral("const"),[k.types.markoAttribute("value",k.types.identifier("input"))],k.types.markoTagBody([]));r.var=t,e.replaceWith(r)}}],attributes:{},autocomplete:[{displayText:"attrs/{ ... }",description:"Use to receive the attributes passed into this template.",snippet:"attrs/{ $1 }$2"}]},E=r("../../node_modules/@marko/babel-utils/dist/index.js"),A=r("../../browser-shims/compiler/index.js"),C={parse(e){const{node:t,hub:{file:r}}=e,n=t.rawValue,s=n.replace(/^client\s*/,"").trim(),i=t.name.start+(n.length-s.length);let o=(0,E.parseStatements)(r,s,i,i+s.length);1===o.length&&A.types.isBlockStatement(o[0])&&(o=o[0].body),e.replaceWith(A.types.markoScriptlet(o,!0,"client"))},parseOptions:{statement:!0,rawOpenTag:!0},autocomplete:[{displayText:"client ",description:"A JavaScript statement which is only evaluated once your template is loaded on the client.",descriptionMoreURL:"https://markojs.com/docs/syntax/#client-javascript"}]},T=r("../../node_modules/@marko/babel-utils/dist/index.js"),I=r("../../browser-shims/compiler/index.js");function M(e){for(const t of e.get("attributes"))if(t.isMarkoSpreadAttribute())throw t.buildCodeFrameError(`The \`${e.get("name").node.value}\` tag does not support \`...spread\` attributes.`)}function j(e){if(e.node.body.body.length)throw e.get("name").buildCodeFrameError(`The \`${e.get("name").node.value}\` tag does not support body content.`)}var P=r("../../node_modules/@marko/babel-utils/dist/index.js"),N=r("../../browser-shims/compiler/index.js"),B=u(r("../../node_modules/path-browserify/index.js"));function L(e){if(e.downstreamExpressions.size)return!0;for(const t of e.aliases)if(L(t))return!0;for(const t of e.propertyAliases.values())if(L(t))return!0;return!1}var D=r("../../node_modules/@marko/babel-utils/dist/index.js"),U=r("../../browser-shims/compiler/index.js"),$=Symbol(),O={build(e){const t=e[$];if(!t)throw e.path.buildCodeFrameError("Unable to build hydrate code, no files were visited before finalizing the build");const r=t.imports.map((e=>U.types.importDeclaration([],U.types.stringLiteral(e))));return t.init&&(r.unshift(U.types.importDeclaration([U.types.importSpecifier(U.types.identifier("init"),U.types.identifier("init"))],U.types.stringLiteral(`@marko/runtime-tags/${e.markoOpts.optimize?"":"debug/"}dom`))),r.push(U.types.expressionStatement(U.types.callExpression(U.types.identifier("init"),[])))),r},visit(e,t,r){const n=t[$]||={imports:[],init:!1},{analyzedTags:s}=e.metadata.marko;n.imports.push((0,D.resolveRelativePath)(t,e.opts.filename)),n.init||=e.path.node.extra.hasInteractiveChild||e.path.node.extra.isInteractive||!1;for(const e of s||[])r(e)}},_=r("../../browser-shims/compiler/index.js");function R(e){let t=e;do{t=t.parentPath}while(t&&!z(t));return t}function F(e){let t=e;for(;!z(t.parentPath);)if(t=t.parentPath,"AssignmentExpression"===t.type){const e=V(t);if(z(e.parentPath)){t=t.get("right");break}t=e.parentPath}return t}function z(e){switch(e.type){case"MarkoTag":case"MarkoTagBody":case"MarkoAttribute":case"MarkoSpreadAttribute":case"MarkoPlaceholder":case"MarkoScriptlet":return!0;default:return!1}}function W(e){switch(e.type){case"FunctionExpression":case"ArrowFunctionExpression":return!0;default:return!1}}function V(e){switch(e.parent.type){case"ArrayPattern":case"ObjectPattern":case"ObjectProperty":return V(e.parentPath);default:return e}}function q(e){if(e){if(!Array.isArray(e))return J(e);for(const t of e)if(J(t))return!0}return!1}function J(e){switch(e.type){case 1:case 2:return!0;default:return!e.upstreamExpression||q(e.upstreamExpression.referencedBindings)}}function Z(e,t){return e?Array.isArray(e)?(e.push(t),e):[e,t]:t}function G(e,t){if(e)if(Array.isArray(e)){let r=0;for(const n of e)t(n,r++)}else t(e,0)}function X(e,t){if(e){if(Array.isArray(e))return e.find(t);if(t(e,0))return e}}function K(e,t,r){let n=t.length,s=0;for(;s>>1,o=t[i],a=e(o,r);if(0===a)return o;a>0?n=i:s=i+1}}function H(e,t,r){const n=t.length;let s=n,i=0;for(;i>>1,o=e(t[n],r);if(0===o)return t;o>0?s=n:i=n+1}const o=new Array(n+1);for(let e=0;e{const t=new WeakMap;return[()=>{let r=t.get(zr);return r||t.set(zr,r=e()),r},e=>{t.set(zr,e)}]};function re(e,t){return[r=>{const n=zr.state[e]??={};return n[r.id]??=t&&t(r)},(t,r)=>{(zr.state[e]??={})[t.id]=r}]}var ne=r("../../node_modules/@marko/babel-utils/dist/index.js"),se=r("../../browser-shims/compiler/index.js");function ie(e,t){return e.start=t.start,e.loc=t.loc,e.end=t.end,e}var oe=/^<.*>$|\.marko$/,ae=/^[A-Z][a-zA-Z0-9_$]*$/;function le(e){const t=e.node.extra??={};if(void 0===t.tagNameType){const r=e.get("name");if(r.isStringLiteral()){if(t.tagNameType="@"===r.node.value[0]?3:(0,ne.isNativeTag)(e)?0:1,1===t.tagNameType){const n=r.node.value,s=e.scope.getBinding(n)?.identifier;if(s&&ae.test(s.name)){const e=ie(se.types.identifier(n),r.node);e.extra={referencedBindings:s.extra?.binding},ce(r.replaceWith(e)[0],t)}else{const r=(0,ne.loadFileForTag)(e);r?"class"===r.ast.program.extra.featureType&&(t.tagNameType=2,t.featureType="class"):t.tagNameType=2}}t.tagNameNullable=t.tagNameNullable=!1}else ce(r,t);void 0===t.tagNameType&&(t.tagNameType=2)}return t.tagNameType}function ce(e,t){const r=[e];let n,s,i,o=!1;for(;(n=r.pop())&&2!==s;)if(n.isConditionalExpression())r.push(n.get("consequent")),n.node.alternate&&r.push(n.get("alternate"));else if(n.isLogicalExpression())"||"===n.node.operator?r.push(n.get("left")):o=!0,r.push(n.get("right"));else if(n.isAssignmentExpression())r.push(n.get("right"));else if(n.isBinaryExpression())s="+"!==n.node.operator||void 0!==s?2:0;else if(n.isStringLiteral()||n.isTemplateLiteral())s=void 0!==s?2:0;else if(n.isNullLiteral())o=!0;else if(n.isIdentifier()){if("undefined"===n.node.name){o=!0;continue}const t=n.scope.getBinding(n.node.name);if(!t){s=2;continue}if("module"===t.kind){const r=t.path.parent;if(oe.test(r.source.value)&&r.specifiers.some((e=>se.types.isImportDefaultSpecifier(e)))){const t=(0,ne.resolveTagImport)(e,r.source.value)||r.source.value;0===s||i&&i!==t?(s=2,i=void 0):(s=1,i=t)}else s=2;continue}const a=t.path;if(a.isMarkoTag()&&"local"===t.kind){const e=a.get("name").node.value;if("const"===e){r.push(a.get("attributes")[0].get("value"));continue}if("let"===e){s=2;continue}continue}s=2}else s=2;t.tagNameType=s,t.tagNameNullable=o,t.tagNameDynamic=!0,1===s&&i&&(t.tagNameImported=i)}function pe(e){const t=e.node.extra??={};let r=t.section;if(!r&&("Program"===e.type||e.get("body").length)){const n=e.parentPath?de(e.parentPath):void 0,s=e.parentPath?.get("name"),i=e.isProgram()?"":zr.scope.generateUid(s.toString()+"Body"),o=e.hub.file.path.node.extra??={},a=o.sections??=[];r=t.section={id:a.length,name:i,depth:n?n.depth+1:0,parent:n,params:void 0,closures:void 0,bindings:void 0,content:ve(e),upstreamExpression:void 0,hasCleanup:!1},a.push(r)}return r}function de(e){let t=e;for(;;){if("Program"===t.type||"MarkoTagBody"===t.type&&!t.node.attributeTags&&0!==le(t.parentPath)&&"html-comment"!==t.parent.name.value)return pe(t);t=t.parentPath}}function ue(e){return e.node.extra?.section}function fe(e){let t,r=e;for(;void 0===(t=r.node.extra?.section);)r=r.parentPath;return t}var[me]=re("scopeIdIdentifier",(e=>zr.scope.generateUidIdentifier(`scope${e.id}_id`))),[he,ge]=re("parentIsOwner",(()=>!1)),[ye]=re("scopeIdentifier",(()=>ee.types.identifier("undefined"))),be=(e,t)=>{const r=ye(e);return t||"undefined"!==r.name||(r.name=zr.scope.generateUid(`scope${e.id}_`)),r};function xe(e){const{sections:t}=zr.node.extra;t?.forEach(e)}function ve(e){const t=e.get("body"),r={startType:null,endType:null,singleChild:!0};for(let e=t.length;e--;){const n=we(t[e],"endType",r);if(null!==n){r.endType=n;for(let n=0;n{const t=e.upstreamExpression;return!t||q(t.referencedBindings)},Se=(e,t)=>!!X(e.closures,(r=>(!t||e.parent===r.section)&&q(r))),[Ee]=te((()=>new Set)),[Ae,Ce]=te((()=>0));function Te(e,t,r,n,s,i){const o=Ae(),a={id:o,name:e,type:t,section:r,property:i,excludeProperties:void 0,serialize:!1,aliases:new Set,propertyAliases:new Map,upstreamAlias:n,upstreamExpression:s,downstreamExpressions:new Set,export:void 0};if(i){const e=n.propertyAliases.get(i);e?(a.property=void 0,a.upstreamAlias=e,e.aliases.add(a)):n.propertyAliases.set(i,a)}else n&&n.aliases.add(a);return Ce(o+1),Ee().add(a),a}function Ie(e,t,r,n,s){const i=e.node.var;if(i){const o=de(e),a=Ve(r);r?.downstreamExpressions.delete(n),Pe(i,t,e.scope,o,a,n,void 0,s)}}function Me(e,t,r,n){const s=e.node.params;if(e.node.body.length&&s.length){r?.downstreamExpressions.delete(n);const i=de(e),o=Ve(r),a=o||((e.node.extra??={}).binding=Te(e.scope.generateUid("params_"),t,i,o,n,void 0));i.params=a;for(let r=0;rnew Map));function Le(e,t,r){Be().set(t,{section:e,nodes:r})}function De(e,t){const r=e.length,n=r-t.length;if(0!==n)return n;for(let n=0;n[]));function Fe(e,t){const r=e.node.extra??={},n=de(e);r.referencedBindings=Je(n,r.referencedBindings,t),t.downstreamExpressions.add(r)}var[ze]=te((()=>new Set));function We(e){const t=ze();if(Array.isArray(e))for(const r of e)t.add(r);else t.add(e)}function Ve(e){return e&&(e.property?e:e.upstreamAlias||e)}function qe(e,t=[]){if(e.arguments)for(const r of e.arguments)t.push(r);for(const r of e.attributes)t.push(r.value);for(const r of e.body.attributeTags?e.body.body:e.attributeTags)switch(r.type){case"MarkoTag":qe(r,t);break;case"MarkoScriptlet":for(const e of r.body)t.push(e)}return t}function Je(e,t,r){return e!==r.section&&(e.closures=Oe.add(e.closures,r)),Ze(e,Oe.add(t,r))}function Ze(e,t){if(!t||!Array.isArray(t))return t;const r=_e(e);let n=K(De,r,t);return n||(Re(e,H(De,r,t)),n=t),n}function Ge(e){return Qr().optimize?_.types.numericLiteral(e.id):_.types.stringLiteral(e.name+(0===e.type?`/${e.id}`:""))}function Xe(e,t){let r=!t.downstreamExpressions.size;for(const n of t.aliases)Xe(e,n)?t.aliases.delete(n):r=!1;for(const[n,s]of t.propertyAliases)Xe(e,s)?t.propertyAliases.delete(n):r=!1;return r&&e.delete(t),r}var Ke=r("../../browser-shims/compiler/index.js"),He=r("../../node_modules/@marko/babel-utils/dist/index.js"),Qe=r("../../browser-shims/compiler/index.js");function Ye(e,t){return t?e:""}Symbol();var et=/^(--|ta|or|li|z)|n-c|i(do|nk|m|t)|w$|we/;function tt(e,t){return t||0===t?`${e}:${"number"==typeof t&&t&&!et.test(e)?t+"px":t}`:""}function rt(e,t,r){switch(typeof e){case"string":return e;case"object":if(null!==e){let n="",s="";if(Array.isArray(e))for(const i of e){const e=rt(i,t,r);""!==e&&(n+=s+e,s=t)}else for(const i in e){const o=r(i,e[i]);""!==o&&(n+=s+o,s=t)}return n}}return""}function nt(e){return/^on[A-Z-]/.test(e)}function st(e){return"-"===e[2]?e.slice(3):e.slice(2).toLowerCase()}function it(e){return e?e+"":0===e?"0":""}var ot=/[<&]/g,at=e=>"&"===e?"&":"<";function lt(e){return e?(t=e+"",ot.test(t)?t.replace(ot,at):t):0===e?"0":"‍";var t}var ct=/<\/script/g;function pt(e){return e?(t=e+"",ct.test(t)?t.replace(ct,"\\x3C/script"):t):0===e?"0":"";var t}var dt=/<\/style/g;function ut(e){return e?(t=e+"",dt.test(t)?t.replace(dt,"\\3C/style"):t):0===e?"0":"";var t}var{hasOwnProperty:ft}={};function mt(e){return yt("class",rt(e," ",Ye))}function ht(e){return yt("style",rt(e,";",tt))}function gt(e,t){return null==(r=t)||!1===r?"":function(e,t){switch(typeof t){case"string":return` ${e+bt(t)}`;case"boolean":return` ${e}`;case"number":return` ${e}=${t}`;case"object":if(t instanceof RegExp)return` ${e+bt(t.source)}`}return` ${e+bt(t+"")}`}(e,t);var r}function yt(e,t){return t&&` ${e}=${vt(t)}`}function bt(e){return e?`=${vt(e)}`:""}(function*(){})().constructor,async function*(){}().constructor,(()=>{const e=new Map;for(const t of Object.getOwnPropertyNames(Symbol)){const r=Symbol[t];"symbol"==typeof r&&e.set(r,"Symbol."+t)}})(),new Map([[AggregateError,"AggregateError"],[Array,"Array"],[Array.from,"Array.from"],[Array.isArray,"Array.isArray"],[Array.of,"Array.of"],[ArrayBuffer,"ArrayBuffer"],[ArrayBuffer.isView,"ArrayBuffer.isView"],[Atomics.add,"Atomics.add"],[Atomics.and,"Atomics.and"],[Atomics.compareExchange,"Atomics.compareExchange"],[Atomics.exchange,"Atomics.exchange"],[Atomics.isLockFree,"Atomics.isLockFree"],[Atomics.load,"Atomics.load"],[Atomics.notify,"Atomics.notify"],[Atomics.or,"Atomics.or"],[Atomics.store,"Atomics.store"],[Atomics.sub,"Atomics.sub"],[Atomics.wait,"Atomics.wait"],[BigInt,"BigInt"],[BigInt.asIntN,"BigInt.asIntN"],[BigInt.asUintN,"BigInt.asUintN"],[BigInt64Array,"BigInt64Array"],[BigInt64Array.from,"BigInt64Array.from"],[BigInt64Array.of,"BigInt64Array.of"],[BigUint64Array,"BigUint64Array"],[BigUint64Array.from,"BigUint64Array.from"],[BigUint64Array.of,"BigUint64Array.of"],[Boolean,"Boolean"],[console.assert,"console.assert"],[console.clear,"console.clear"],[console.count,"console.count"],[console.countReset,"console.countReset"],[console.debug,"console.debug"],[console.dir,"console.dir"],[console.dirxml,"console.dirxml"],[console.error,"console.error"],[console.group,"console.group"],[console.groupCollapsed,"console.groupCollapsed"],[console.groupEnd,"console.groupEnd"],[console.info,"console.info"],[console.log,"console.log"],[console.table,"console.table"],[console.time,"console.time"],[console.timeEnd,"console.timeEnd"],[console.timeLog,"console.timeLog"],[console.timeStamp,"console.timeStamp"],[console.trace,"console.trace"],[console.warn,"console.warn"],[DataView,"DataView"],[Date,"Date"],[Date.now,"Date.now"],[Date.parse,"Date.parse"],[Date.UTC,"Date.UTC"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"],[Error,"Error"],[EvalError,"EvalError"],[Float32Array,"Float32Array"],[Float32Array.from,"Float32Array.from"],[Float32Array.of,"Float32Array.of"],[Float64Array,"Float64Array"],[Float64Array.from,"Float64Array.from"],[Float64Array.of,"Float64Array.of"],[Function,"Function"],[globalThis.atob,"atob"],[globalThis.btoa,"btoa"],[globalThis.clearImmediate,"clearImmediate"],[globalThis.clearInterval,"clearInterval"],[globalThis.clearTimeout,"clearTimeout"],[globalThis.crypto?.getRandomValues,"crypto.getRandomValues"],[globalThis.crypto?.randomUUID,"crypto.randomUUID"],[globalThis.fetch,"fetch"],[globalThis.performance?.now,"performance.now"],[globalThis.queueMicrotask,"queueMicrotask"],[globalThis.setImmediate,"setImmediate"],[globalThis.setInterval,"setInterval"],[globalThis.setTimeout,"setTimeout"],[globalThis.structuredClone,"structuredClone"],[globalThis.URL,"URL"],[globalThis.URLSearchParams,"URLSearchParams"],[globalThis.WritableStream,"WritableStream"],[Int16Array,"Int16Array"],[Int16Array.from,"Int16Array.from"],[Int16Array.of,"Int16Array.of"],[Int32Array,"Int32Array"],[Int32Array.from,"Int32Array.from"],[Int32Array.of,"Int32Array.of"],[Int8Array,"Int8Array"],[Int8Array.from,"Int8Array.from"],[Int8Array.of,"Int8Array.of"],[Intl.Collator,"Intl.Collator"],[Intl.DateTimeFormat,"Intl.DateTimeFormat"],[Intl.DisplayNames,"Intl.DisplayNames"],[Intl.getCanonicalLocales,"Intl.getCanonicalLocales"],[Intl.ListFormat,"Intl.ListFormat"],[Intl.Locale,"Intl.Locale"],[Intl.NumberFormat,"Intl.NumberFormat"],[Intl.PluralRules,"Intl.PluralRules"],[Intl.RelativeTimeFormat,"Intl.RelativeTimeFormat"],[Intl.Segmenter,"Intl.Segmenter"],[Intl.supportedValuesOf,"Intl.supportedValuesOf"],[isFinite,"isFinite"],[isNaN,"isNaN"],[JSON.parse,"JSON.parse"],[JSON.stringify,"JSON.stringify"],[Map,"Map"],[Map.groupBy,"Map.groupBy"],[Math.abs,"Math.abs"],[Math.acos,"Math.acos"],[Math.acosh,"Math.acosh"],[Math.asin,"Math.asin"],[Math.asinh,"Math.asinh"],[Math.atan,"Math.atan"],[Math.atan2,"Math.atan2"],[Math.atanh,"Math.atanh"],[Math.cbrt,"Math.cbrt"],[Math.ceil,"Math.ceil"],[Math.clz32,"Math.clz32"],[Math.cos,"Math.cos"],[Math.cosh,"Math.cosh"],[Math.exp,"Math.exp"],[Math.expm1,"Math.expm1"],[Math.floor,"Math.floor"],[Math.fround,"Math.fround"],[Math.hypot,"Math.hypot"],[Math.imul,"Math.imul"],[Math.log,"Math.log"],[Math.log10,"Math.log10"],[Math.log1p,"Math.log1p"],[Math.log2,"Math.log2"],[Math.max,"Math.max"],[Math.min,"Math.min"],[Math.pow,"Math.pow"],[Math.random,"Math.random"],[Math.round,"Math.round"],[Math.sign,"Math.sign"],[Math.sin,"Math.sin"],[Math.sinh,"Math.sinh"],[Math.sqrt,"Math.sqrt"],[Math.tan,"Math.tan"],[Math.tanh,"Math.tanh"],[Math.trunc,"Math.trunc"],[Number,"Number"],[Number.isFinite,"Number.isFinite"],[Number.isInteger,"Number.isInteger"],[Number.isNaN,"Number.isNaN"],[Number.isSafeInteger,"Number.isSafeInteger"],[Number.parseFloat,"Number.parseFloat"],[Number.parseInt,"Number.parseInt"],[Object,"Object"],[Object.assign,"Object.assign"],[Object.create,"Object.create"],[Object.defineProperties,"Object.defineProperties"],[Object.defineProperty,"Object.defineProperty"],[Object.entries,"Object.entries"],[Object.freeze,"Object.freeze"],[Object.fromEntries,"Object.fromEntries"],[Object.getOwnPropertyDescriptor,"Object.getOwnPropertyDescriptor"],[Object.getOwnPropertyDescriptors,"Object.getOwnPropertyDescriptors"],[Object.getOwnPropertyNames,"Object.getOwnPropertyNames"],[Object.getOwnPropertySymbols,"Object.getOwnPropertySymbols"],[Object.getPrototypeOf,"Object.getPrototypeOf"],[Object.is,"Object.is"],[Object.isExtensible,"Object.isExtensible"],[Object.isFrozen,"Object.isFrozen"],[Object.isSealed,"Object.isSealed"],[Object.keys,"Object.keys"],[Object.preventExtensions,"Object.preventExtensions"],[Object.seal,"Object.seal"],[Object.setPrototypeOf,"Object.setPrototypeOf"],[Object.values,"Object.values"],[parseFloat,"parseFloat"],[parseInt,"parseInt"],[Promise,"Promise"],[Proxy,"Proxy"],[RangeError,"RangeError"],[ReferenceError,"ReferenceError"],[Reflect.apply,"Reflect.apply"],[Reflect.construct,"Reflect.construct"],[Reflect.defineProperty,"Reflect.defineProperty"],[Reflect.deleteProperty,"Reflect.deleteProperty"],[Reflect.get,"Reflect.get"],[Reflect.getOwnPropertyDescriptor,"Reflect.getOwnPropertyDescriptor"],[Reflect.getPrototypeOf,"Reflect.getPrototypeOf"],[Reflect.has,"Reflect.has"],[Reflect.isExtensible,"Reflect.isExtensible"],[Reflect.ownKeys,"Reflect.ownKeys"],[Reflect.preventExtensions,"Reflect.preventExtensions"],[Reflect.set,"Reflect.set"],[Reflect.setPrototypeOf,"Reflect.setPrototypeOf"],[RegExp,"RegExp"],[Set,"Set"],[String,"String"],[String.fromCharCode,"String.fromCharCode"],[String.fromCodePoint,"String.fromCodePoint"],[String.raw,"String.raw"],[Symbol,"Symbol"],[Symbol.for,"Symbol.for"],[SyntaxError,"SyntaxError"],[TypeError,"TypeError"],[Uint16Array,"Uint16Array"],[Uint16Array.from,"Uint16Array.from"],[Uint16Array.of,"Uint16Array.of"],[Uint32Array,"Uint32Array"],[Uint32Array.from,"Uint32Array.from"],[Uint32Array.of,"Uint32Array.of"],[Uint8Array,"Uint8Array"],[Uint8Array.from,"Uint8Array.from"],[Uint8Array.of,"Uint8Array.of"],[Uint8ClampedArray,"Uint8ClampedArray"],[Uint8ClampedArray.from,"Uint8ClampedArray.from"],[Uint8ClampedArray.of,"Uint8ClampedArray.of"],[URIError,"URIError"],[WeakMap,"WeakMap"],[WeakSet,"WeakSet"]]),new Map([[Atomics,"Atomics"],[console,"console"],[globalThis,"globalThis"],[globalThis.crypto,"crypto"],[Intl,"Intl"],[JSON,"JSON"],[Math,"Math"],[Reflect,"Reflect"]]),Symbol("Scope ID"),Symbol("Pending Contexts"),globalThis.setImmediate||globalThis.setTimeout||globalThis.queueMicrotask,Symbol("selectedValue");var xt=/["'>\s]/g;function vt(e){if(xt.test(e)){const t=e[xt.lastIndex-1];return xt.lastIndex=0,'"'===t?`'${e.replace(/'/g,"'")}'`:`"${e.replace(/"/g,""")}"`}return e}Symbol();var wt=["createTemplate","createRenderer","createRendererWithOwner","value","state","intersection","closure","dynamicClosure","loopOf","loopIn","loopTo","conditional"];function kt(e){const{output:t}=Qr();return Qe.types.memberExpression((0,He.importStar)(zr.hub.file,function(e){const{optimize:t}=Qr();return`@marko/runtime-tags/${t?"":"debug/"}${"html"===e?"html":"dom"}`}(t),"$"),Qe.types.identifier(e))}function St(e,...t){const r=Qe.types.callExpression(kt(e),function(e){const t=[];for(let r=e.length;r--;){const n=e[r];(n||t.length)&&(t[r]=n||Qe.types.unaryExpression("void",Qe.types.numericLiteral(0)))}return t}(t));return wt.includes(e)&&(r.leadingComments=[{type:"CommentBlock",value:" @__PURE__ "}]),r}function Et(){return{escapeXML:lt,toString:it,attr:gt,classAttr:mt,styleAttr:ht,escapeScript:pt,escapeStyle:ut}}var At=r("../../node_modules/@marko/babel-utils/dist/index.js"),Ct=r("../../browser-shims/compiler/index.js"),Tt=r("../../node_modules/@marko/babel-utils/dist/index.js"),It=r("../../browser-shims/compiler/index.js"),Mt=r("../../browser-shims/compiler/index.js"),jt=r("../../browser-shims/compiler/index.js");function Pt(e){const t=[],r=[];let n=e[0];for(let s=1;sjt.types.templateElement({raw:e}))),r)):n?jt.types.stringLiteral(n):void 0}function Nt(e,t){e[e.length-1]+=t}function Bt(e,t,r){for(let n=e.length-1;n>=t;n--)e[n+r]=e[n]}var Lt=r("../../browser-shims/compiler/index.js"),[Dt]=re("walks",(()=>[""])),[Ut]=re("walkComment",(()=>[])),[$t]=re("steps",(()=>[])),Ot={32:"get",36:"inside",37:"replace",38:"endChild",47:"beginChild",67:"next",97:"over",107:"out",117:"multiplier",91:"nextEnd",106:"overEnd",116:"outEnd",126:"multiplierEnd"};function _t(e){$t(fe(e)).push(0)}function Rt(e){$t(fe(e)).push(1)}function Ft(e){$t(fe(e)).push(0,1)}function zt(e,t){if(Kr())return;const r=fe(e),n=$t(r),s=Dt(r),i=Ut(r);let o="";if(n.length){const e=[];let t=0;for(const r of n)0===r?(t++,e.push(67)):(t--,t>=0?(e.length=e.lastIndexOf(67),e.push(97)):(e.length=e.lastIndexOf(107)+1,e.push(107),t=0));let r=e[0],s=0;for(const t of e)t!==r?(i.push(`${Ot[r]}(${s})`),o+=Wt(r,s),r=t,s=1):s++;i.push(`${Ot[r]}(${s})`),o+=Wt(r,s),n.length=0}void 0!==t&&(32!==t&&Zt(e)``,i.push(`${Ot[t]}`),o+=String.fromCharCode(t)),Nt(s,o)}function Wt(e,t){switch(e){case 67:return Vt(t,e,20);case 97:case 107:return Vt(t,e,10);default:throw new Error(`Unexpected walk code: ${e}`)}}function Vt(e,t,r){let n="";if(e>=r){const t=Math.floor(e/r);n+=Vt(t,117,10),e-=t*r}return n+=String.fromCharCode(t+e),n}function qt(e){const t=1===e.content?.startType?String.fromCharCode(68):"",r=1===e.content?.endType?String.fromCharCode(68):"",n=Pt([t,...Dt(e),r])||Lt.types.stringLiteral("");return""!==n.value&&(n.leadingComments=[{type:"CommentBlock",value:" "+Ut(e).join(", ")+" "}]),n}var[Jt]=re("writes",(()=>[""]));function Zt(e){const t=fe(e);return(e,...r)=>{const n=r.length,s=Jt(t);Nt(s,e[0]);for(let t=0;t":"",r=1===e.content?.endType?"":"",n=Jt(e);return{setup:Or(e),walks:qt(e),writes:Pt([t,...n,r])||Mt.types.stringLiteral("")}}function Qt(e,t){const r=fe(e);if(0!==t.type)throw e.buildCodeFrameError("Tried to mark a node that was not determined to need a mark during analyze.");Kr()&&Zt(e)`${St("markResumeNode",me(r),Ge(t))}`}var[Yt,er]=re("returnId"),tr=new WeakSet,rr={analyze(e){if((0,Tt.assertNoArgs)(e),(0,Tt.assertNoVar)(e),(0,Tt.assertNoParams)(e),j(e),M(e),tr.has(e.hub))throw e.get("name").buildCodeFrameError("The `return` tag can only be used once per template.");tr.add(e.hub);const{node:t}=e,[r]=t.attributes;if(!It.types.isMarkoAttribute(r)||!r.default)throw e.get("name").buildCodeFrameError("The `return` tag requires a value.");if(t.attributes.length>1&&"valueChange"!==t.attributes[1].name){const r=t.attributes[1].loc?.start,n=t.attributes[t.attributes.length-1].loc?.end,s="The `return` tag only supports the `value` attribute.";throw null==r||null==n?e.get("name").buildCodeFrameError(s):e.hub.buildError({loc:{start:r,end:n}},s,Error)}},translate:{exit(e){const t=fe(e),{node:{attributes:[{value:r}]},hub:{file:n}}=e;if(Kr()){Xt(e);const s=n.path.scope.generateUidIdentifier("return");er(t,s),e.replaceWith(It.types.variableDeclaration("const",[It.types.variableDeclarator(s,r)]))[0].skip()}else Sr(t,r.extra?.referencedBindings,{identifier:kt("tagVarSignal"),hasDownstreamIntersections:()=>!0},r),e.remove()}},autocomplete:[{displayText:"return=",description:"Provides a value for use in a parent template.",snippet:"return=${1:value}",descriptionMoreURL:"https://markojs.com/docs/core-tags/#return"}]},nr=r("../../browser-shims/compiler/index.js");function sr(e,t){const r=e.depth,n=nr.types.objectPattern([]);let s;return G(t,(t=>{if(t.name.includes("#"))return;const i=Ge(t),o=nr.types.identifier(t.name),a=i.value===o.name;let l=n;if(t.section!==e){s||(s=[n]);const e=r-t.section.depth;let i=s.length,o=s[i-1];for(;i<=e;i++){const e=nr.types.objectPattern([]);o.properties.push(nr.types.objectProperty(nr.types.identifier("_"),e)),s.push(e),o=e}l=s[e]}l.properties.push(nr.types.objectProperty(a?o:i,o,!1,a))})),n}function ir(e,t){let r=Wr??nr.types.identifier("undefined");const n=e.depth-t.depth;for(let e=0;enew Map)),[lr,cr]=re("queue");function pr(e,t){cr(ue(e.get("body")),t)}var[dr,ur]=re("forceResumeScope");function fr(e){ur(e,!0)}var[mr]=re("serializedScopeProperties",(()=>new Map)),hr=()=>Ct.types.stringLiteral("SIGNAL NOT INITIALIZED");function gr(e,t,r=function(e){let t;if(e)if(Array.isArray(e)){t="expr";for(const r of e)t+=`_${r.name}`}else t=e.name;else t="setup";return t}(t)){const n=ar(e);let s=n.get(t);if(!s){const i=t?!Array.isArray(t)&&t.section===e&&t.export:!e.parent&&zr.node.extra.domExports?.setup;if(n.set(t,s={identifier:i?Ct.types.identifier(i):zr.scope.generateUidIdentifier(r+e.name.replace("_","$")),referencedBindings:t,section:e,values:[],intersection:void 0,render:[],effect:[],effectInlineReferences:void 0,subscribers:[],closures:new Map,hasDownstreamIntersections:()=>{let r=!(!s.intersection&&!s.closures.size);if(!r)for(const e of s.values)if(e.signal.hasDownstreamIntersections()){r=!0;break}if(!r&&!Array.isArray(t)&&t){for(const n of t.aliases)if(gr(e,n).hasDownstreamIntersections()){r=!0;break}if(!r)for(const[,n]of t.propertyAliases)if(gr(e,n).hasDownstreamIntersections()){r=!0;break}}return s.hasDownstreamIntersections=()=>r,r},build:hr,export:!!i}),Kr())return s;t?Array.isArray(t)?(vr(t,s),s.build=()=>St("intersection",Ct.types.numericLiteral(t.length),br(s,[Wr],t),xr(s))):t.section!==e&&(gr(t.section,t).closures.set(e,s),s.build=()=>{const r=lr(e),n=ir(e,t.section),i=n.object===Wr;return St((s.isDynamicClosure=!(i&&r))?"dynamicClosure":"closure",Ge(t),br(s,[Wr,Ct.types.identifier(t.name)]),i?null:Ct.types.arrowFunctionExpression([Wr],n),xr(s))}):s.build=()=>br(s,[Wr])}return s}function yr(e,t="value"){const r=Ge(e),n=gr(e.section,e);n.build=()=>{const s=br(n,[Wr,Ct.types.identifier(e.name)]),i=xr(n),o=!e.upstreamAlias&&(3===e.type||2===e.type);return(!e.upstreamAlias||e.property)&&(e.downstreamExpressions.size||s.body.body.length>0)||i||o||i?St(t,r,s,i):s},n.valueAccessor=r;for(const t of e.aliases)yr(t);for(const t of e.propertyAliases.values())yr(t);return n}function br(e,t,r){const n=e.section,s=e.referencedBindings;if(s&&!Array.isArray(s)&&s.section===n){const[r,n]=t;for(const t of s.aliases){const s=gr(t.section,t);e.render.push(Ct.types.expressionStatement(Ct.types.callExpression(s.identifier,[r,n,...s.extraArgs||[]])))}for(const[t,i]of s.propertyAliases){const s=gr(i.section,i);e.render.push(Ct.types.expressionStatement(Ct.types.callExpression(s.identifier,[r,_r(n,t),...s.extraArgs||[]])))}}for(const t of e.values)e.render.push(Ct.types.expressionStatement(Ct.types.callExpression(t.signal.identifier,[t.scope,t.value,...t.signal.extraArgs||[]])));return r&&e.render.unshift(Ct.types.variableDeclaration("const",[Ct.types.variableDeclarator(sr(n,r),Wr)])),Ct.types.arrowFunctionExpression(t,Ct.types.blockStatement(e.render))}function xr(e){const t=e.section;let r=e.intersection;const n=e.referencedBindings;if(n&&!Array.isArray(n)&&n.section===e.section){for(const e of n.aliases){const t=gr(e.section,e);t.hasDownstreamIntersections()&&(r=Z(r,Ct.types.identifier(t.identifier.name)))}for(const[,e]of n.propertyAliases){const t=gr(e.section,e);t.hasDownstreamIntersections()&&(r=Z(r,Ct.types.identifier(t.identifier.name)))}}for(const t of e.values)t.signal.hasDownstreamIntersections()&&(r=Z(r,t.intersectionExpression??(Ct.types.isMemberExpression(t.signal.identifier)?t.signal.identifier:Ct.types.identifier(t.signal.identifier.name))));const s=Array.from(e.closures.entries()).sort((([e],[t])=>e.id-t.id));for(const[n,i]of s){const s=lr(n),o=n.parent===t;s&&o?r=Z(r,s(i.identifier)):e.hasDynamicSubscribers||(e.hasDynamicSubscribers=!0)}return e.hasDynamicSubscribers&&(e.hasDynamicSubscribers=!0,r=Z(r,St("dynamicSubscribers",e.valueAccessor))),r&&Ct.types.arrowFunctionExpression([],Array.isArray(r)?St("intersections",Ct.types.arrayExpression(r)):r)}function vr(e,t){if(Array.isArray(e))return void e.forEach((e=>vr(e,t)));const r=gr(t.section,e);r.intersection=Z(r.intersection,t.identifier)}function wr(e){for(let t=e.length-1;t>=0;t--){const r=e[t];if(Ct.types.isArrowFunctionExpression(r)){const n=r.body.body;n&&(0===n.length?e[t]=Ct.types.numericLiteral(0):1===n.length&&Ct.types.isExpressionStatement(n[0])&&(r.body=n[0].expression))}}for(let t=e.length-1;Ct.types.isNullLiteral(e[t]);)e.length=t--}function kr(e,t,r,n,s,i){const o=gr(t,r),a=o[e]??=[];if(Array.isArray(n)?a.push(...n):a.push(n),"effect"===e)if(Array.isArray(s))for(const e of s)!i&&Ct.types.isFunction(e)||Er(o,e);else!s||!i&&Ct.types.isFunction(s)||Er(o,s)}function Sr(e,t,r,n,s=Wr,i){gr(e,t).values.push({signal:r,value:n,scope:s,intersectionExpression:i})}function Er(e,t){e.effectInlineReferences=Oe.union(e.effectInlineReferences,t.extra?.referencedBindings)}function Ar(e,t,r){const{markoOpts:n,opts:{filename:s}}=zr.hub.file;let i="";if(t)if("string"==typeof t)i+=`_${t}`;else if(Array.isArray(t))for(const e of t)i+=`_${e.name}`;else i+=`_${t.name}`;return(0,At.getTemplateId)(n,s,`${e.id}${i}${r?"/"+r:""}`)}var Cr=new WeakMap;function Tr(e,t){const{markoOpts:r,opts:{filename:n}}=zr.hub.file;let s=Cr.get(e);s||Cr.set(e,s=new Set);const i=(0,At.getTemplateId)(r,n,`${e.id}/${t}`);let o=0,a=i;for(;s.has(a);)a=i+"_"+ ++o;return s.add(a),a}function Ir(){Ct.types.traverseFast(zr.node,(e=>{if(Ct.types.isIdentifier(e)){const t=e.extra&&(e.extra.source||e.extra.binding);t&&t.name!==e.name&&(e.name=t.name)}}))}function Mr(e){const t=[...ar(e).values()].sort(jr);for(const r of t){let t;if(r.effect.length){const n=Ct.types.identifier(`${r.identifier.name}_effect`);r.effectInlineReferences&&r.effect.unshift(Ct.types.variableDeclaration("const",[Ct.types.variableDeclarator(sr(e,r.effectInlineReferences),Wr)])),t=Ct.types.variableDeclarator(n,St("effect",Ct.types.stringLiteral(Ar(e,r.referencedBindings)),Ct.types.arrowFunctionExpression([Wr],1===r.effect.length&&Ct.types.isExpressionStatement(r.effect[0])?r.effect[0].expression:Ct.types.blockStatement(r.effect)))),r.render.push(Ct.types.expressionStatement(Ct.types.callExpression(n,[Wr])))}let n=r.build();Ct.types.isCallExpression(n)&&wr(n.arguments),r.register&&(n=St("registerBoundSignal",Ct.types.stringLiteral(Ar(e,r.referencedBindings)),n)),r.isDynamicClosure&&q(r.referencedBindings)&&(n=St("registerSubscriber",Ct.types.stringLiteral(Ar(e,r.referencedBindings,"subscriber")),n));const s=Ct.types.variableDeclarator(r.identifier,n);let i=e.parent||r.referencedBindings||!Ct.types.isFunctionExpression(n)&&!Ct.types.isArrowFunctionExpression(n)?Ct.types.variableDeclaration("const",[s]):Ct.types.functionDeclaration(r.identifier,n.params,Ct.types.isExpression(n.body)?Ct.types.blockStatement([Ct.types.expressionStatement(n.body)]):n.body);r.export&&(i=Ct.types.exportNamedDeclaration(i));const o=zr.pushContainer("body",t?[Ct.types.variableDeclaration("const",[t]),i]:i);for(const t of o)t.traverse(Dr,{root:t,section:e})}}function jr(e,t){const r=Pr(e),n=Pr(t);for(let e=Math.max(r.length,n.length)-1;e>=0;e--){const t=(n[e]??-1)-(r[e]??-1);if(0!==t)return t}return 0}function Pr({referencedBindings:e}){return e?Array.isArray(e)?e.map(Nr).sort():[Nr(e)]:[]}function Nr(e){return 1e4*(0===e.type?1:0)+e.id}function Br(e,t){kr("effect",e,t,void 0,[])}function Lr(e,t){const r=ue(e);if(!r)return;const n=Array.from(ar(r).values()),s=me(r);G(r.closures,(t=>{if(q(t)){let n=r;for(;n!==t.section;)mr(n).set(Ct.types.stringLiteral("_"),St("ensureScopeWithId",me(n=n.parent)));fr(t.section);const i=r.parent?.id===t.section.id;(!lr(r)||!i)&&e.pushContainer("body",Ct.types.expressionStatement(St("writeEffect",s,Ct.types.stringLiteral(Ar(r,t,"subscriber")))))}}));for(let t=n.length;t--;)if(n[t].effect.length){const i=n[t].referencedBindings;e.pushContainer("body",Ct.types.expressionStatement(St("writeEffect",s,Ct.types.stringLiteral(Ar(r,i)))))}const i=new Set,o=mr(r),a=[];G(r.bindings,(e=>{if(e.serialize&&0!==e.type){const t=Ge(e);a.push(Ct.types.objectProperty(t,Ct.types.identifier(e.name))),i.add(t.value)}})),t&&void 0!==Yt(r)&&a.push(Ct.types.objectProperty(Ct.types.stringLiteral("/"),t));for(const[e,t]of o)i.has(e.value)||(a.push(Ct.types.objectProperty(e,t,!Ct.types.isLiteral(e))),i.add(e.value));(a.length||dr(r))&&e.pushContainer("body",Ct.types.expressionStatement(St("writeScope",s,Ct.types.objectExpression(a)))),e.get("body").length&&e.unshiftContainer("body",Ct.types.variableDeclaration("const",[Ct.types.variableDeclarator(s,St("nextScopeId"))]))}var Dr={FunctionExpression:{exit:$r},ArrowFunctionExpression:{exit:$r}};function Ur(e,t,r,n,s){switch(n||(n={statement:e.getStatementParent(),end:e.getStatementParent()}),t.type){case"ObjectPattern":for(const s of t.properties)Ur(e,s,r,n);break;case"ArrayPattern":for(const s in t.elements)null!==t.elements[s]&&Ur(e,t.elements[s],r,n,(e=>t.elements[s]=e));break;case"RestElement":Ur(e,t.argument,r,n,(e=>t.argument=e));break;case"ObjectProperty":Ur(e,t.value,r,n,(e=>t.value=e));break;case"Identifier":{const e=t.extra?.source;if(e){const{buildAssignment:i}=gr(e.section,e);if(i){const e=n.statement.scope.generateUidIdentifier(t.name);n.statement.insertBefore(Ct.types.variableDeclaration("let",[Ct.types.variableDeclarator(e)])),s?.(e),[n.end]=n.end.insertAfter(Ct.types.expressionStatement(i(r,e)))}}}}}function $r(e,{root:t,section:r}){const{node:n}=e,{extra:s}=n;if(!s?.referencedBindings)return;const{name:i,referencedBindings:o}=s,a=e.hub.file.path.scope.generateUidIdentifier(i);t.insertBefore(Ct.types.variableDeclaration("const",[Ct.types.variableDeclarator(a,Ct.types.arrowFunctionExpression([Wr],o?Ct.types.blockStatement([Ct.types.variableDeclaration("const",[Ct.types.variableDeclarator(sr(r,o),Wr)]),Ct.types.returnStatement(n)]):n))]))[0].skip(),e.replaceWith(Ct.types.callExpression(a,[Wr]))[0].skip()}function Or(e){return ar(e).get(void 0)?.identifier}function _r(e,t){const r=function(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)?Ct.types.identifier(e):/^(?:0|[1-9][0-9]*)$/.test(e)?Ct.types.numericLiteral(parseInt(e,10)):Ct.types.stringLiteral(e)}(t);return Ct.types.memberExpression(e,r,"Identifier"!==r.type)}var Rr={translate:{exit(e){zt(e);const t=ue(e),{walks:r,writes:n,setup:s}=Ht(t),i=e.node.extra.domExports,o=Ke.types.identifier(i.template),a=Ke.types.identifier(i.walks),l=Ke.types.identifier(i.setup),c=Ke.types.identifier(i.closures),p=e.node.extra.binding,d=p&&L(p)?yr(p):void 0;!function(){if(zr.node.extra.assignments)for(const[e,t]of zr.node.extra.assignments){const{node:r}=t;if("UpdateExpression"===r.type){const n=r.argument.extra?.source;if(n){const{buildAssignment:s}=gr(n.section,n);if(s){const n=s(e,Ct.types.binaryExpression("++"===r.operator?"+":"-",r.argument,Ct.types.numericLiteral(1)));t.replaceWith(r.prefix||t.parentPath.isExpressionStatement()?n:Ct.types.sequenceExpression([n,r.argument]))}}}else if("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)Ur(t,r.left,e);else if("Identifier"===r.left.type){const n=r.left.extra?.source;if(n){const{buildAssignment:s}=gr(n.section,n);if(s){const n=s(e,"="===r.operator?r.right:Ct.types.binaryExpression(r.operator.slice(0,-1),r.left,r.right));t.replaceWith(n)}}}}}(),function(e){const{sections:t}=zr.node.extra;for(let r=t.length;r--;)e(t[r])}((r=>{if(r!==t){const t=r.params&&yr(r.params),{walks:n,writes:s,setup:i}=Ht(r),o=Fr(r),a=Ke.types.identifier(r.name),l=St(he(r)?"createRenderer":"createRendererWithOwner",s,n,i,o&&Ke.types.arrowFunctionExpression([],o),t?.identifier&&Ke.types.arrowFunctionExpression([],t.identifier));Mr(r),e.node.body.push(Ke.types.variableDeclaration("const",[Ke.types.variableDeclarator(a,ke(r)?St("register",Ke.types.stringLiteral(Ar(r,"renderer")),l):l)]))}}));const u=Fr(t);Mr(t),Ir(),s||e.node.body.unshift(Ke.types.exportNamedDeclaration(Ke.types.variableDeclaration("const",[Ke.types.variableDeclarator(l,Ke.types.arrowFunctionExpression([],Ke.types.blockStatement([])))]))),e.node.body.unshift(Ke.types.exportNamedDeclaration(Ke.types.variableDeclaration("const",[Ke.types.variableDeclarator(o,n||Ke.types.stringLiteral(""))])),Ke.types.exportNamedDeclaration(Ke.types.variableDeclaration("const",[Ke.types.variableDeclarator(a,r||Ke.types.stringLiteral(""))]))),u&&e.node.body.push(Ke.types.exportNamedDeclaration(Ke.types.variableDeclaration("const",[Ke.types.variableDeclarator(c,u)]))),e.node.body.push(Ke.types.exportDefaultDeclaration(St("createTemplate",Ke.types.stringLiteral(e.hub.file.metadata.marko.id),o,a,l,u&&Ke.types.arrowFunctionExpression([],c),d?.identifier&&Ke.types.arrowFunctionExpression([],d.identifier))))}}};function Fr(e){if(e.closures)return Ke.types.arrayExpression((t=e.closures,r=t=>gr(e,t).identifier,t?Array.isArray(t)?t.map(r):[r(t)]:[]).reverse());var t,r}var zr,Wr,Vr,qr=r("../../browser-shims/compiler/index.js"),Jr={translate:{exit(e){const t=ue(e),r=e.scope.generateUidIdentifier("tagVar");Kt(e),Lr(e,r),Ir();const n=Yt(t);void 0!==n&&e.pushContainer("body",qr.types.returnStatement(n));const s=[];for(const t of e.get("body"))(i=t).isImportDeclaration()||i.isExportDeclaration()||i.isMarkoScriptlet({static:!0})?t.isMarkoScriptlet()&&(t.node.target&&"server"!==t.node.target?t.remove():t.replaceWithMultiple(t.node.body)):(s.push(t.node),t.remove());var i;e.pushContainer("body",[qr.types.variableDeclaration("const",[qr.types.variableDeclarator(Vr,St("createRenderer",qr.types.arrowFunctionExpression([qr.types.identifier("input"),r],qr.types.blockStatement(s))))]),qr.types.exportDefaultDeclaration(St("createTemplate",qr.types.stringLiteral(e.hub.file.metadata.marko.id),Vr))])}}},Zr=new WeakMap,Gr={migrate:{enter(e){Zr.set(e,zr),e.node.params=[N.types.identifier("input")],zr=e},exit(){zr.scope.crawl(),zr=Zr.get(zr)}},analyze:{enter(e){Zr.set(e,zr),zr=e,pe(e),Me(e,2);const{scope:t}=e;(e.node.extra??={}).domExports={template:t.generateUid("template_"),walks:t.generateUid("walks_"),setup:t.generateUid("setup_"),params:void 0,closures:t.generateUid("closures_")}},exit(e){!function(){const e=ze();if(e.size){for(const t of e){const{extra:e}=t;e&&e.referencedBindings&&(G(e.referencedBindings,(({downstreamExpressions:t})=>{t.delete(e)})),e.referencedBindings=void 0)}e.clear()}const t=Be();if(t.size){for(const[e,{section:r,nodes:n}]of t){const t=e.extra??={};let{referencedBindings:s,isEffect:i}=t;for(const e of n){const r=e?.extra;if(r){const e=r.referencedBindings;i||=r.isEffect,e&&(s=Oe.union(s,e),G(e,(({downstreamExpressions:e})=>{e.delete(r),e.add(t)})))}}s=Ze(r,s),t.referencedBindings=s,t.isEffect=i}t.clear()}const r=Ee();for(const e of r)if(0!==e.type&&!e.upstreamAlias&&Xe(r,e)){const{upstreamExpression:t}=e;t&&G(t.referencedBindings,(e=>{e.downstreamExpressions.delete(t),Xe(r,e)}))}const n=new Set;for(const e of r){const{name:t,section:r}=e;0!==e.type&&X(r.bindings,(({name:t})=>t===e.name))&&(e.name=zr.scope.generateUid(t)),r.bindings=Oe.add(r.bindings,e);for(const{referencedBindings:t,isEffect:r}of e.downstreamExpressions)Array.isArray(t)&&n.add(t),G(t,(e=>{r&&(e.serialize=!0)}))}for(const e of n){const t=e.length;for(let r=0;r{G(e.closures,(t=>{if(!t.serialize){let r=!1;const n=t.section;let s=e;for(;s!==n&&!(r=!s.upstreamExpression||q(s.upstreamExpression.referencedBindings));)s=s.parent;t.serialize=r}}))})),xe((({id:e,bindings:t})=>{G(function(e,t){if(e){if(Array.isArray(e)){const r=e.length;let n,s=0;for(;st.id===e)),((e,t)=>{e.id=t}))}))}();const{scope:t,node:{extra:r}}=e;r.binding&&L(r.binding)&&(r.domExports.params=Xr(r.binding,t)),zr=Zr.get(zr)}},translate:{enter(e){if(Zr.set(e,zr),zr=e,Wr=Hr()?e.scope.generateUidIdentifier("scope"):null,Hr()&&e.scope.generateUidIdentifier("clean"),Vr=Kr()?e.scope.generateUidIdentifier("renderer"):null,"hydrate"===Qr().output){const t=e.hub.file,r=new Set([(0,P.resolveRelativePath)(t,t.opts.filename)]);return O.visit(t,t,(function e(n){if(!r.has(n)){r.add(n);const s=(0,P.loadFileForImport)(t,n);s&&O.visit(s,t,(r=>e(function(e,t,r){return t===e?(0,P.resolveRelativePath)(t,r):(0,P.resolveRelativePath)(e,"."===r[0]?B.default.join(t.opts.filename,"..",r):r)}(t,s,r))))}})),e.node.body=O.build(t),void e.skip()}},exit(e){Kr()?Jr.translate.exit(e):Rr.translate.exit(e),zr=Zr.get(zr)}}};function Xr(e,t){const r={id:e.export??=t.generateUid(e.name+"_"),props:void 0},{aliases:n,propertyAliases:s,downstreamExpressions:i}=e;if(!i.size){r.props={};for(const[e,n]of s)r.props[e]=Xr(n,t);for(const e of n){const n=Xr(e,t);if(!n.props)return r.props=void 0,r;r.props={...r.props,...n.props}}}return r}function Kr(){return"html"===Qr().output}function Hr(){return!Kr()}function Qr(){return zr.hub.file.markoOpts}var Yr=r("../../browser-shims/compiler/index.js");function en(e,t,r="const"){const{node:{var:n}}=e;n&&e.insertBefore(Yr.types.variableDeclaration(r,[Yr.types.variableDeclarator(n,t)]))}var tn={analyze(e){(0,T.assertNoArgs)(e),(0,T.assertNoParams)(e),j(e);const{node:t}=e,[r]=t.attributes;if(!t.var)throw e.get("name").buildCodeFrameError("The `const` tag requires a tag variable.");if(!r)throw e.get("name").buildCodeFrameError("The `const` tag requires a value.");if(t.attributes.length>1||!I.types.isMarkoAttribute(r)||!r.default&&"value"!==r.name)throw e.get("name").buildCodeFrameError("The `const` tag only supports the `value` attribute.");const n=I.types.isIdentifier(r.value)?e.scope.getBinding(r.value.name)?.identifier.extra?.binding:void 0;Ie(e,4,n,r.value.extra??={})},translate:{exit(e){const{node:t}=e,[r]=t.attributes,{value:n}=r;if(Hr()){const r=fe(e),s=t.var.extra?.binding;if(s&&!s.upstreamAlias){const e=yr(s);Sr(r,n.extra?.referencedBindings,e,n)}}else en(e,n);e.remove()}},attributes:{},autocomplete:[{description:"Use to create an constant binding.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#const"}],types:"@marko/translator-tags/tag-types/const.d.marko"},rn=r("../../node_modules/@marko/babel-utils/dist/index.js"),nn=r("../../browser-shims/compiler/index.js"),sn={analyze(e){const[t]=e.node.attributes;if((0,rn.assertNoVar)(e),(0,rn.assertNoArgs)(e),(0,rn.assertNoParams)(e),j(e),e.node.attributes.length>1||1===e.node.attributes.length&&(!nn.types.isMarkoAttribute(t)||!t.default&&"value"!==t.name))throw e.get("name").buildCodeFrameError("The `debug` tag only supports the `value` attribute.")},translate:{exit(e){const t=fe(e),[r]=e.node.attributes,n=r?.value.extra?.referencedBindings,s=ie(nn.types.debuggerStatement(),e.node);Kr()?e.insertBefore(s):kr("render",t,n,s),e.remove()}},attributes:{},autocomplete:[{description:"Debug on value change.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#debug"}],types:"@marko/translator-tags/tag-types/debug.d.marko"},on=r("../../node_modules/@marko/babel-utils/dist/index.js"),an=(r("../../browser-shims/compiler/index.js"),r("../../node_modules/@marko/babel-utils/dist/index.js")),ln=r("../../browser-shims/compiler/index.js"),cn=r("../../node_modules/@marko/babel-utils/dist/index.js"),pn=r("../../browser-shims/compiler/index.js");function dn(e){const t={};for(const r of e.attributes)"MarkoAttribute"===r.type&&(t[r.name]=r.value);return t}function un(e){const t="MarkoTagBody"===e.parent.type?e.parentPath.parentPath:e.parentPath;if("MarkoTag"===t.type)return t}var fn=r("../../browser-shims/compiler/index.js");function mn(e,t){if(!e)return!1;const{node:r}=t,n=gn(e)?e.default:e;return yn(n)?n(t,fn.types):n.enter&&n.enter(t,fn.types),r!==t.node}function hn(e,t){if(!e)return!1;const{node:r}=t,n=gn(e)?e.default:e;return!yn(n)&&n.exit&&n.exit(t,fn.types),r!==t.node}function gn(e){return Boolean(e.default)}function yn(e){return"function"==typeof e}function bn({html:e,dom:t}){return{enter(r){mn(Kr()?e:t,r)},exit(r){hn(Kr()?e:t,r)}}}var xn=r("../../node_modules/@marko/babel-utils/dist/index.js"),vn=r("../../browser-shims/compiler/index.js"),wn=r("../../node_modules/@marko/babel-utils/dist/index.js");function kn(e){let{extra:t}=e.node;if(t||(t=e.node.extra={}),void 0===t.confident){const r=(0,wn.computeNode)(e.node.value);r?(t.computed=r.value,t.confident=!0):(t.computed=void 0,t.confident=!1)}return t}var Sn=r("../../browser-shims/compiler/index.js"),En=/^[0-9A-Z_$]+$/i;function An(e){return En.test(e)?Sn.types.identifier(e):Sn.types.stringLiteral(e)}r("../../browser-shims/compiler/index.js");var Cn={translate:{exit(e){Hr()&&Tn(e,e.node.left)}}};function Tn(e,t){switch(t.type){case"ObjectPattern":for(const r of t.properties)Tn(e,r);break;case"ArrayPattern":for(const r in t.elements)null!==t.elements[r]&&Tn(e,t.elements[r]);break;case"RestElement":Tn(e,t.argument);break;case"ObjectProperty":Tn(e,t.value);break;case"Identifier":{const r=t.extra?.source;if(r){const t=fe(e);(zr.node.extra.assignments??=[]).push([t,e])}break}}}var In=r("../../node_modules/@marko/babel-utils/dist/index.js"),Mn=r("../../browser-shims/compiler/index.js"),jn=new WeakMap,Pn=new WeakSet,Nn={analyze(e){const t=R(e);if(!Bn(e,!t||t.isMarkoScriptlet({static:!0})))return;if(t&&(t.isMarkoPlaceholder()||t.isMarkoScriptlet({target:"server"})))return;const{node:r}=e,n=r.extra??={},s=n.name=e.node.id?.name||(Ln(t)?t.node.default?Mn.types.toIdentifier(t.parentPath.has("var")?t.parentPath.get("var"):t.parentPath.get("name")):t.node.name:"anonymous");if(Ln(t)&&((0,In.isNativeTag)(t.parentPath)&&/^on[A-Z-]/.test(t.node.name)||b(t.parentPath,"effect")||b(t.parentPath,"lifecycle")||b(t.parentPath,"for")||b(t.parentPath,"do")))return;const{markoOpts:i,opts:{filename:o}}=zr.hub.file,a=fe(e);let l=jn.get(a);l||(l=new Map,jn.set(a,l));const c=l.get(s);let p="";void 0===c?l.set(s,0):p=`_${c}`,n.registerId=(0,In.getTemplateId)(i,o,`${a.id}/${s+p}`)},translate:{exit(e){const t=R(e),r=!t||t.isMarkoScriptlet({static:!0});if(!Bn(e,r))return;const{node:n}=e,{extra:s}=n;if(!s?.registerId)return;if(Pn.has(n))return;const i=fe(e);if(i)if(Pn.add(n),Kr()){const t=mr(i);if(G(s.referencedBindings,(e=>{t.set(Ge(e),Mn.types.identifier(e.name))})),Mn.types.isFunctionDeclaration(n))zr.unshiftContainer("body",Mn.types.expressionStatement(St("register",n.id,Mn.types.stringLiteral(s.registerId),r?void 0:me(i))))[0].skip();else{const t=St("register",n,Mn.types.stringLiteral(s.registerId),r?void 0:me(i));z(e.parentPath)&&(t.extra=n.extra),e.replaceWith(t)[0].skip()}}else{const{referencedBindings:t}=s,o=zr.scope.generateUidIdentifier(s.name);if(Mn.types.isFunctionDeclaration(n))zr.unshiftContainer("body",Mn.types.expressionStatement(St("register",Mn.types.stringLiteral(s.registerId),n.id)))[0].skip();else if(r){const t=St("register",Mn.types.stringLiteral(s.registerId),n);z(e.parentPath)&&(t.extra=n.extra),e.replaceWith(t)[0].skip()}else{const r=Mn.types.callExpression(o,[Wr]);z(e.parentPath)&&(r.extra=n.extra),zr.pushContainer("body",Mn.types.variableDeclaration("const",[Mn.types.variableDeclarator(o,St("register",Mn.types.stringLiteral(s.registerId),Mn.types.arrowFunctionExpression([Wr],t?Mn.types.blockStatement([Mn.types.variableDeclaration("const",[Mn.types.variableDeclarator(sr(i,t),Wr)]),Mn.types.returnStatement(n)]):n)))]))[0].skip(),e.replaceWith(r)[0].skip()}}}}};function Bn(e,t){switch(e.node.type){case"FunctionDeclaration":return t;case"FunctionExpression":case"ArrowFunctionExpression":return!0;default:return!1}}function Ln(e){return!!e&&e.isMarkoAttribute()}r("../../browser-shims/compiler/index.js");var Dn={translate:{exit(e){if(Hr()){const t=e.node.argument.extra?.source;if(t){const t=fe(e);(zr.node.extra.assignments??=[]).push([t,e])}}}}},Un=Symbol("native tag binding"),$n=Symbol("serialize marker"),On=Symbol("node getter id"),_n=new WeakMap;function Rn(e,t){switch(e){case"input":if(t.checked||t.checkedChange)return{special:!1,helper:"controllable_input_checked",attrs:[t.checked,t.checkedChange]};if(t.checkedValue||t.checkedValueChange)return{special:!0,helper:"controllable_input_checkedValue",attrs:[t.checkedValue,t.checkedValueChange,t.value]};if(t.value||t.valueChange)return{special:!1,helper:"controllable_input_value",attrs:[t.value,t.valueChange]};break;case"select":if(t.value||t.valueChange)return{special:!0,helper:"controllable_select_value",attrs:[t.value,t.valueChange]};break;case"textarea":if(t.value||t.valueChange)return{special:!0,helper:"controllable_textarea_value",attrs:[t.value,t.valueChange]};break;case"details":case"dialog":if(t.open||t.openChange)return{special:!1,helper:"controllable_detailsOrDialog_open",attrs:[t.open,t.openChange]}}}var Fn={transform:{enter(e){if("textarea"===h(e)&&e.node.body.body.length){const t=[];for(const r of e.node.body.body){if(!("MarkoText"===r.type||"MarkoPlaceholder"===r.type&&r.escape))throw e.hub.file.hub.buildError(r,"Unexpected content in textarea, only text and placeholders are supported.",SyntaxError);t.push(r.value)}e.node.attributes.push(vn.types.markoAttribute("value",Pt(t)||Vn())),e.node.body.body=[]}}},analyze:{enter(e){(0,xn.assertNoArgs)(e),(0,xn.assertNoParams)(e),(0,xn.assertNoAttributeTags)(e);const{node:t}=e;if(t.var&&!vn.types.isIdentifier(t.var))throw e.get("var").buildCodeFrameError("Tag variables on native elements cannot be destructured.");const r=h(e),n=de(e);let s=!1,i=!1;const o={},{attributes:a}=e.node;let l,c;for(let t=a.length;t--;){const n=a[t];if(vn.types.isMarkoAttribute(n)){if(o[n.name]){We(n.value);continue}o[n.name]=n,nt(n.name)||(p=n.name,/^(?:value|checked(?:Values?)?|open)Change/.test(p))?((n.value.extra??={}).isEffect=!0,s=!0):kn(e.get("attributes")[t]).confident||(i=!0)}else vn.types.isMarkoSpreadAttribute(n)&&(s=!0,i=!0,(n.value.extra??={}).isEffect=!0);c?c.push(n.value):vn.types.isMarkoSpreadAttribute(n)&&(c=[n.value],l=Rn(r,o))}var p;if(function(e,t){const r=[t.open||t.openChange,t.checked||t.checkedChange,t.checkedValue||t.checkedValueChange,t.valueChange].filter(Boolean);if(r.length>1)throw e.get("name").buildCodeFrameError(`The attributes ${r.map((e=>`"${e.name}"`)).join(", ")} are mutually exclusive.`)}(e,o),c){if(l&&!l.attrs.every(Boolean)){for(const e of l.attrs)e&&c.push(e.value);l=void 0}Le(n,e.node,c)}else l=Rn(r,o);if(l&&Le(n,l.attrs.find(Boolean),l.attrs.map((e=>e?.value))),t.var||s||i){zr.node.extra.isInteractive||=s;const r="StringLiteral"===t.name.type?t.name.value:vn.types.toIdentifier(e.get("name")),i=t.extra??={},o="#"+r;if(i[$n]=s||!!t.var,i[Un]=Te(o,0,n),t.var)for(const r of e.scope.getBinding(t.var.name).referencePaths)if(!r.parentPath?.isCallExpression()){i[On]=Tr(n,o);break}}}},translate:{enter(e){const t=h(e),r=e.node.extra,n=r[Un],s=Kr(),i=e.get("name"),o=(0,xn.getTagDef)(e),a=Zt(e),l=fe(e);if(s&&r.tagNameNullable&&Xt(e),e.has("var")){const t=r[On];if(s){const r=e.node.var.name,n=e.scope.getBinding(r).referencePaths;for(const e of n){let t=fe(e);for(;t!==l&&t.parent;)mr(t).set(vn.types.stringLiteral("_"),St("ensureScopeWithId",me(t=t.parent)))}en(e,St("nodeRef",t&&me(l),t&&vn.types.stringLiteral(t)))}else{const r=e.node.var.name,s=e.scope.getBinding(r).referencePaths;let i;t&&(i=zr.scope.generateUidIdentifier(`get_${r}`),zr.pushContainer("body",vn.types.variableDeclaration("const",[vn.types.variableDeclarator(i,St("nodeRef",vn.types.stringLiteral(t),Ge(n)))])));for(const t of s){const r=fe(t);t.parentPath?.isCallExpression()?t.parentPath.replaceWith(vn.types.expressionStatement(or(r,n))):i&&t.replaceWith(vn.types.callExpression(i,[ir(r,fe(e))]))}}}let c;n&&(c=Ge(n),zt(e,32)),a`<${i.node}`;const p=function(e,t){const r={},{attributes:n}=t,s=new Set;let i,o,a,l,c;for(let t=n.length;t--;){const i=n[t],{value:o}=i;if(vn.types.isMarkoSpreadAttribute(i)){if(!a&&(a=[],c=Rn(e,r),c&&!c.attrs.every(Boolean))){for(const e of c.attrs)e&&(a.push(zn(e)),s.delete(e));c=void 0}a.push(vn.types.spreadElement(o))}else r[i.name]||(r[i.name]=i,a?a.push(zn(i)):s.add(i))}if(a||(c=Rn(e,r),!1!==c?.special||c.attrs[1]||(c=void 0)),c)for(const e of c.attrs)e&&s.delete(e);const p=[...s].reverse();if(a){if(a.reverse(),c)for(const e of c.attrs)e&&(l||=[]).push(vn.types.objectProperty(An(e.name),vn.types.numericLiteral(1)));for(const{name:e}of p)(l||=[]).push(vn.types.objectProperty(An(e),vn.types.numericLiteral(1)));l&&(o=vn.types.objectExpression(l)),i=us(a)}return{staticAttrs:p,staticControllable:c,spreadExpression:i,skipExpression:o}}(t,e.node),{staticAttrs:d,staticControllable:u,skipExpression:f}=p;let m,{spreadExpression:g}=p;if(u){const{helper:r,attrs:n}=u,i=n[1],o=n.find(Boolean),p=o.value.extra?.referencedBindings;i&&e.get("attributes").find((e=>e.node===i)).traverse(Wn);const d=n.map((e=>e?.value));s?("select"!==t&&"textarea"!==t&&a`${St(r,me(l),c,...d)}`,Br(l,void 0)):(kr("render",l,p,vn.types.expressionStatement(St(r,Wr,c,...d))),kr("effect",l,void 0,vn.types.expressionStatement(St(`${r}_effect`,Wr,c))))}if(s)if("select"===t){if(u)_n.set(e.node,{value:u.attrs[0]?.value||Vn(),valueChange:u.attrs[1]?.value||Vn()});else if(g){const t=e.scope.generateUidIdentifier("select_input");e.insertBefore(vn.types.variableDeclaration("const",[vn.types.variableDeclarator(t,g)])),_n.set(e.node,{value:vn.types.memberExpression(t,vn.types.identifier("value")),valueChange:vn.types.memberExpression(t,vn.types.identifier("valueChange"))}),g=t}}else if("textarea"===t){let t,r;if(u)t=u.attrs[0]?.value,r=u.attrs[1]?.value;else if(g){const n=e.scope.generateUidIdentifier("textarea_input");e.insertBefore(vn.types.variableDeclaration("const",[vn.types.variableDeclarator(n,g)])),t=vn.types.memberExpression(n,vn.types.identifier("value")),r=vn.types.memberExpression(n,vn.types.identifier("valueChange")),g=n}(t||r)&&(m=St("controllable_textarea_value",me(fe(e)),Ge(n),t,r))}for(const e of d){const{name:r,value:n}=e,{confident:i,computed:o}=e.extra??{},p=n.extra?.referencedBindings;if(s&&"option"===t&&"value"===r)a`${St("optionValueAttr",n)}`;else switch(r){case"class":case"style":{const e=`${r}Attr`;i?a`${Et()[e](o)}`:s?a`${St(e,n)}`:kr("render",l,p,vn.types.expressionStatement(St(e,vn.types.memberExpression(Wr,c,!0),n)));break}default:i?a`${Et().attr(r,o)}`:s?nt(r)?Br(l,p):a`${St("attr",vn.types.stringLiteral(r),n)}`:nt(r)?kr("effect",l,p,vn.types.expressionStatement(St("on",vn.types.memberExpression(Wr,c,!0),vn.types.stringLiteral(st(r)),n)),n):kr("render",l,p,vn.types.expressionStatement(St("attr",vn.types.memberExpression(Wr,c,!0),vn.types.stringLiteral(r),n)))}}if(g&&(s?(Br(l,r.referencedBindings),f?a`${St("partialAttrs",g,f,c,me(l),i.node)}`:a`${St("attrs",g,c,me(l),i.node)}`):(kr("render",l,r.referencedBindings,f?vn.types.expressionStatement(St("partialAttrs",Wr,c,g,f)):vn.types.expressionStatement(St("attrs",Wr,c,g))),kr("effect",l,r.referencedBindings,vn.types.expressionStatement(St("attrsEvents",Wr,c)),g))),o&&o.parseOptions?.openTagOnly)switch(o.htmlType){case"svg":case"math":a`/>`;break;default:a`>`}else a`>`;s&&r.tagNameNullable&&e.insertBefore(vn.types.ifStatement(i.node,Gt(e)))[0].skip(),m&&a`${m}`,_t(e)},exit(e){const t=e.node.extra,r=t[Un],n=Kr(),s=(0,xn.getTagDef)(e)?.parseOptions?.openTagOnly,i=n&&_n.get(e.node);n&&t.tagNameNullable&&Kt(e),i?(Zt(e)``,Kt(e),e.insertBefore(vn.types.expressionStatement(St("controllable_select_value",me(fe(e)),Ge(r),i.value,i.valueChange,vn.types.arrowFunctionExpression([],vn.types.blockStatement(e.node.body.body)))))):e.insertBefore(e.node.body.body).forEach((e=>e.skip())),s||i||Zt(e)``,n&&t.tagNameNullable&&e.insertBefore(vn.types.ifStatement(e.node.name,Gt(e)))[0].skip(),r&&(t[$n]||e.node.attributes.some((e=>q(e.value.extra?.referencedBindings))))&&Qt(e,r),Rt(e),e.remove()}}};function zn(e){return vn.types.objectProperty(An(e.name),e.value)}var Wn={Function:Nn.translate,UpdateExpression:Dn.translate,AssignmentExpression:Cn.translate};function Vn(){return vn.types.unaryExpression("void",vn.types.numericLiteral(0))}var qn=Symbol("for marker binding"),Jn=Symbol("for scope start index"),Zn=Symbol("only child in parent"),Gn={analyze(e){const t=e.node.extra??={},r=e.node.body.attributeTags;let n;switch((0,cn.assertNoVar)(e),(0,cn.assertNoArgs)(e),M(e),Kn(e.node)){case"of":n=["of"];break;case"in":n=["in"];break;case"to":n=["to","from","step"];break;default:throw e.buildCodeFrameError("Invalid `for` tag, missing an `of=`, `in=`, `to=` attribute.")}if(r||n.push("by"),(0,cn.assertAllowedAttributes)(e,n),r)return;const s=e.get("body"),i=pe(s);if(!i)return void We(qe(e.node));const o=de(e);if(Qn(e)){const t=un(e).node,r=t.name?.value;(t.extra??={})[Un]??=Te("#"+r,0,o)}else t[qn]=Te("#text",0,o);Me(s,3,void 0,t),Le(o,e.node,qe(e.node)),i.upstreamExpression=t},translate:bn({html:{enter(e){if(e.node.body.attributeTags)return;const t=e.get("body"),r=ue(t);if(!r)return void e.remove();const n=e.node.extra,s=q(n.referencedBindings);ge(r,!0),Qn(e)||(zt(e,37),Ft(e)),Xt(e),s&&!r.content?.singleChild&&(n[Jn]=e.scope.generateUidIdentifier("k"),Zt(t)`${St("markResumeScopeStart",me(r),pn.types.updateExpression("++",n[Jn]))}`)},exit(e){if(e.node.body.attributeTags)return;const t=e.get("body"),r=fe(e),n=ue(t),{node:s}=e,i=s.extra,o=q(i.referencedBindings),a=un(e),l=Qn(e)?a.node.extra[Un]:e.node.extra[qn],c=dn(s),p=Kn(s),d=s.body.params,u=[],f=s.body.body,m=Se(n,!0);let h;if(o&&Qn(e)&&(a.node.extra[$n]=!0),i[Jn]&&u.push(pn.types.variableDeclaration("let",[pn.types.variableDeclarator(i[Jn],pn.types.numericLiteral(0))])),o||m){const t=null===n.content||n.content.singleChild,s={of:["list","index"],in:["key","value"],to:["value"]}[p],i="of"===p?1:0,a=c.by?s.length-1:i;fr(n);for(let e=0;e<=a;e++){const t=d[e];if(!t||!pn.types.isIdentifier(t)){const r=d[e]=zr.scope.generateUidIdentifier(s[e]);t&&f.unshift(pn.types.variableDeclaration("let",[pn.types.variableDeclarator(t,r)]))}}if(c.by){const e=zr.scope.generateUidIdentifier("by");u.push(pn.types.variableDeclaration("const",[pn.types.variableDeclarator(e,c.by)])),h=pn.types.callExpression(e,d)}else h=d[i];const m=Zt(e),g=e.scope.generateUidIdentifier("forScopeIds"),y=be(n);u.push(pn.types.variableDeclaration("const",[o&&t&&pn.types.variableDeclarator(g,pn.types.arrayExpression([])),pn.types.variableDeclarator(y,pn.types.newExpression(pn.types.identifier("Map"),[]))].filter(Boolean))),o&&(t?(f.push(pn.types.expressionStatement(pn.types.callExpression(pn.types.memberExpression(g,pn.types.identifier("push")),[me(n)]))),m`${St("markResumeControlSingleNodeEnd",me(r),Ge(l),g)}`):m`${St("markResumeControlEnd",me(r),Ge(l))}`),mr(r).set(pn.types.stringLiteral(Ge(l).value+"("),pn.types.conditionalExpression(pn.types.memberExpression(y,pn.types.identifier("size")),y,pn.types.identifier("undefined")))}Kt(e),pr(e,(()=>{})),Lr(t),h&&(o||m)&&f.push(pn.types.expressionStatement(pn.types.callExpression(pn.types.memberExpression(be(n),pn.types.identifier("set")),[h,St("getScopeById",me(n))]))),u.push(Xn(p,c,d,f));for(const t of e.replaceWithMultiple(u))t.skip()}},dom:{enter(e){if(e.node.body.attributeTags)return;const t=ue(e.get("body"));t?(ge(t,!0),Qn(e)||(zt(e,37),Ft(e))):e.remove()},exit(e){if(e.node.body.attributeTags)return;const t=e.get("body"),r=fe(e),n=ue(t),{node:s}=e,i=s.extra,{referencedBindings:o}=i,a=Qn(e)?un(e).node.extra[Un]:e.node.extra[qn];pr(e,(e=>St("inLoopScope",e,Ge(a))));const l=Kn(s),c=gr(r,a,"for");c.build=()=>St(function(e){switch(e){case"of":return"loopOf";case"in":return"loopIn";case"to":return"loopTo"}}(l),Ge(a),pn.types.identifier(n.name));const p=s.body.params;c.hasDownstreamIntersections=()=>{if(n.closures)return!0;for(const e of p){const t=e.extra?.binding;if(t)for(const{referencedBindings:e}of t.downstreamExpressions)if(gr(n,e).hasDownstreamIntersections())return!0}return!1};const d=dn(s),u=Hn(l,d);d.by&&u.push(d.by),Sr(r,o,c,pn.types.arrayExpression(u)),e.remove()}}}),parseOptions:{controlFlow:!0},attributes:{of:{type:"expression",autocomplete:[{description:"Iterates over a list of items."}]},in:{type:"expression",autocomplete:[{description:"Iterates over the keys and values of an object."}]},to:{type:"number",autocomplete:[{description:"Iterates up to the provided number (inclusive)"}]},from:{type:"number",autocomplete:[{description:"Iterates starting from the provided number (inclusive)"}]},step:{type:"number",autocomplete:[{description:"The amount to increment during each interation (with from/to)"}]}},autocomplete:[{snippet:"for|${1:value, index}| of=${3:array}",description:"Use to iterate over lists, object properties, or between ranges.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#iterating-over-a-list"},{snippet:"for|${1:name, value}| in=${3:object}",descriptionMoreURL:"https://markojs.com/docs/core-tags/#iterating-over-an-objects-properties"},{snippet:"for|${1:index}| to=${2:number}",descriptionMoreURL:"https://markojs.com/docs/core-tags/#iterating-between-a-range-of-numbers"}]};function Xn(e,t,r,n){return pn.types.expressionStatement(St(function(e){switch(e){case"of":return"forOf";case"in":return"forIn";case"to":return"forTo"}}(e),...Hn(e,t),pn.types.arrowFunctionExpression(r,pn.types.blockStatement(n))))}function Kn(e){for(const t of e.attributes)if("MarkoAttribute"===t.type)switch(t.name){case"of":case"in":case"to":return t.name}}function Hn(e,t){switch(e){case"in":return[t.in];case"of":return[t.of];case"to":return[t.to,t.from||pn.types.numericLiteral(0),t.step||pn.types.numericLiteral(1)]}}function Qn(e){const t=e.node.extra;if(void 0!==t[Zn])return t[Zn];const r=un(e);return r&&(0,cn.getTagDef)(r)?.html?t[Zn]=1===e.parent.body.length:t[Zn]=!1}var Yn=r("../../node_modules/@marko/babel-utils/dist/index.js"),es=r("../../browser-shims/compiler/index.js"),ts=new WeakMap;function rs(e){let t=ts.get(e);return t||(t=zr.scope.generateUid(e.name),ts.set(e,t)),es.types.identifier(t)}function ns(e){if(e.node.extra?.attributeTags)return e.node.extra.attributeTags;const t=e.node.body.attributeTags?e.get("body").get("body"):e.get("attributeTags");if(!t.length)return;const r=(e.node.extra??={}).attributeTags={},n={},s=new Map;for(const e of t)if(e.isMarkoTag())if((0,Yn.isAttributeTag)(e)){const t=h(e);r[t]||=ss(t,[t]),ns(e)}else{const t=(0,Yn.isLoopTag)(e);let i;for(const o of is(e,n)){const n=r[o];if(n)if(i){if(i!==n.group)for(const e of n.group)r[e].group=i,i.push(e)}else i=n.group;let a=r[o];a||(a=r[o]=ss(o,[]),i=a.group,i.push(o)),a.dynamic=!0,t&&(a.repeated=!0),s.set(e,o)}}for(const[e,t]of s)(e.node.extra??={}).attributeTagGroup=r[t].group;for(const e in n){const t=r[e];if(!t.repeated){const r=n[e];r.length>1&&(t.repeated=!t.dynamic||os(r))}}return r}function ss(e,t){return{name:e.slice(1),dynamic:!1,repeated:!1,group:t}}function is(e,t,r=new Set){const n=e.node.body.attributeTags?e.get("body").get("body"):e.get("attributeTags");for(const e of n)if(e.isMarkoTag())if((0,Yn.isAttributeTag)(e)){const n=h(e);r.add(n),(t[n]||=[]).push(e),ns(e)}else is(e,t,r);return r}function os(e){let t;const r=new Set;for(const n of e){const e=un(n);if(r.has(e)||!x(e))return!0;const s=as(e);if(s&&s!==(t||=s))return!0;r.add(e)}return!1}function as(e){if("if"===h(e))return e;let t=e.getPrevSibling();for(;t.node;){if(t.isMarkoTag()&&"if"===h(t))return t;t=t.getPrevSibling()}}var ls=new WeakSet;function cs(e,t,r=[]){const n=new Set,s=[],i=e.node.extra?.attributeTags;if(i){for(const e in i){const o=i[e];ms(t,o.name)&&(n.add(o.name),o.dynamic&&(r.push(ln.types.variableDeclaration("let",[ln.types.variableDeclarator(rs(o))])),s.push(ln.types.objectProperty(An(o.name),rs(o)))))}const o=e.node.body.attributeTags?e.get("body").get("body"):e.get("attributeTags");for(let e=0;e1||!xs.types.isMarkoAttribute(t)||!t.default&&"value"!==t.name)throw e.get("name").buildCodeFrameError("The `do` tag only supports the `value` attribute.")},translate:{exit(e){const t=fe(e),[r]=e.node.attributes,{value:n}=r,s=n.extra?.referencedBindings;let i=null;if(xs.types.isFunctionExpression(n)||xs.types.isArrowFunctionExpression(n))if(xs.types.isBlockStatement(n.body)){let e=!1;for(const t of n.body.body)if(xs.types.isDeclaration(t)){e=!0;break}i=e?n.body:n.body.body}else i=xs.types.expressionStatement(n.body);Kr()?i?e.insertBefore(i):e.insertBefore(xs.types.expressionStatement(xs.types.callExpression(n,[]))):kr("render",t,s,i??xs.types.expressionStatement(xs.types.callExpression(n,[Wr]))),e.remove()}},attributes:{},autocomplete:[{description:"Use to run a function on render.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#do"}],types:"@marko/translator-tags/tag-types/do.d.marko"},ws=r("../../node_modules/@marko/babel-utils/dist/index.js"),ks=r("../../browser-shims/compiler/index.js"),Ss={analyze(e){const{node:t}=e,[r]=t.attributes;if((0,ws.assertNoArgs)(e),(0,ws.assertNoVar)(e),(0,ws.assertNoParams)(e),j(e),!r)throw e.get("name").buildCodeFrameError("The `effect` tag requires a value.");if(t.attributes.length>1||!ks.types.isMarkoAttribute(r)||!r.default&&"value"!==r.name)throw e.get("name").buildCodeFrameError("The `effect` tag only supports the `value` attribute.");(r.value.extra??={}).isEffect=!0,(zr.node.extra??={}).isInteractive=!0},translate:{exit(e){const{node:t}=e,[r]=t.attributes,n=fe(e),{value:s}=r,i=s.extra?.referencedBindings;if(Hr()){const{value:e}=r;let t=null;if(ks.types.isFunctionExpression(e)||ks.types.isArrowFunctionExpression(e))if(ks.types.isBlockStatement(e.body)){let r=!1;for(const t of e.body.body)if(ks.types.isDeclaration(t)){r=!0;break}t=r?e.body:e.body.body}else t=ks.types.expressionStatement(e.body);kr("effect",n,i,t||ks.types.expressionStatement(ks.types.callExpression(e,[Wr])),e,!!t)}else Br(n,i);e.remove()}},attributes:{},autocomplete:[{description:"Use to create a side effects.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#effect"}],types:"@marko/translator-tags/tag-types/effect.d.marko"},Es=r("../../node_modules/@marko/babel-utils/dist/index.js"),As={parse(e){const{node:t}=e;e.replaceWith((0,Es.parseStatements)(e.hub.file,t.rawValue,t.start,t.end)[0])},parseOptions:{statement:!0,rawOpenTag:!0},autocomplete:[{displayText:"export "}]},Cs=r("../../node_modules/@marko/babel-utils/dist/index.js"),Ts=r("../../browser-shims/compiler/index.js"),Is=Symbol("comment tag binding"),Ms=Symbol("node getter id"),js={analyze(e){(0,Cs.assertNoArgs)(e),(0,Cs.assertNoParams)(e),(0,Cs.assertNoAttributes)(e);const t=e.node.var;let r=!1,n=!1;if(t){if(!Ts.types.isIdentifier(t))throw e.get("var").buildCodeFrameError("The `html-comment` tag variable cannot be destructured.");r=!0;for(const r of e.scope.getBinding(t.name).referencePaths)if(!r.parentPath?.isCallExpression()){n=!0;break}}const s=[];for(const t of e.get("body").get("body"))if(t.isMarkoPlaceholder())s.push(t.node.value),r=!0;else if(!t.isMarkoText())throw t.buildCodeFrameError("Invalid child. Only text is allowed inside an html comment.");if(r){const t=de(e),r=e.node.extra??={};n&&(r[Ms]=Tr(t,"comment")),r[Is]=Te("#comment",0,t),Le(t,e.node,s)}e.skip()},translate(e){const t=e.node.extra,r=t[Is];if(e.node.var){const n=t[Ms];if(Kr())en(e,St("nodeRef",n&&me(fe(e)),n&&Ts.types.stringLiteral(n)));else{const t=e.node.var.name,s=e.scope.getBinding(t).referencePaths;let i;n&&(i=zr.scope.generateUidIdentifier(`get_${t}`),zr.pushContainer("body",Ts.types.variableDeclaration("const",[Ts.types.variableDeclarator(i,St("nodeRef",Ts.types.stringLiteral(n),Ge(r)))])));for(const t of s){const n=fe(t);t.parentPath?.isCallExpression()?t.parentPath.replaceWith(Ts.types.expressionStatement(or(n,r))):i&&t.replaceWith(Ts.types.callExpression(i,[ir(n,fe(e))]))}}}t[Is]&&zt(e,32);const n=Zt(e);if(_t(e),n``,r&&Qt(e,r),e.remove()},parseOptions:{text:!0},attributes:{},autocomplete:[{description:"Use to create an html comment that is not stripped from the output.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#html-comment"}]},Ps=r("../../node_modules/@marko/babel-utils/dist/index.js"),Ns=r("../../browser-shims/compiler/index.js"),Bs={analyze(e){(0,Ps.assertNoArgs)(e),(0,Ps.assertNoParams)(e),(0,Ps.assertNoAttributes)(e),j(e),(0,Ps.assertNoAttributeTags)(e);const{node:t}=e;if(!t.var)throw e.get("name").buildCodeFrameError("The `id` tag requires a tag variable.");if(!Ns.types.isIdentifier(t.var))throw e.get("var").buildCodeFrameError("The `id` tag cannot be destructured");Ie(e,4)},translate:{exit(e){const{node:t}=e,r=Kr()?St("nextTagId"):St("nextTagId",Wr);if(Kr())e.replaceWith(Ns.types.variableDeclaration("const",[Ns.types.variableDeclarator(t.var,r)]));else{const n=yr(t.var.extra.binding);Sr(fe(e),void 0,n,r),e.remove()}}},attributes:{},autocomplete:[{displayText:"id/",description:"Use to create a unique identifier.",snippet:"id/${1:name}",descriptionMoreURL:"https://markojs.com/docs/core-tags/#id"}],types:"@marko/translator-tags/tag-types/id.d.marko"},Ls=r("../../node_modules/@marko/babel-utils/dist/index.js"),Ds=r("../../browser-shims/compiler/index.js"),Us=r("../../browser-shims/compiler/index.js"),$s=Symbol("if node binding"),Os=new WeakMap,_s={analyze(e){if(function(e){switch((0,Ls.assertNoVar)(e),(0,Ls.assertNoArgs)(e),(0,Ls.assertNoParams)(e),function(e){if(!e.node.body.body.length&&!e.node.attributeTags.length)throw e.get("name").buildCodeFrameError(`The \`${h(e)}\` tag requires body content.`)}(e),M(e),h(e)){case"if":Ws(e);break;case"else-if":Ws(e),zs(e);break;case"else":!function(e){const{node:t}=e,[r]=t.attributes;if(t.attributes.length>1||r&&"if"!==r.name){const r=t.attributes[1].loc?.start,n=t.attributes[t.attributes.length-1].loc?.end,s=`The \`${h(e)}\` tag only supports an \`if=\` attribute.`;throw null==r||null==n?e.get("name").buildCodeFrameError(s):e.hub.buildError({loc:{start:r,end:n}},s,Error)}}(e),zs(e)}}(e),e.node.body.attributeTags)return;const[t,r]=Vs(e,pe(e.get("body")));if(t){const[t]=r[0],n=t.node.extra??={},s=[];let i=!0;for(const[e,t]of r)t&&(t.upstreamExpression=n,null===t.content||t.content?.singleChild||(i=!1)),e.node.attributes.length&&s.push(e.node.attributes[0].value);const o=de(e);n[$s]=Te("#text",0,o,void 0,n),n.singleNodeOptimization=i,Le(o,t.node,s)}},translate:bn({html:{enter(e){if(e.node.body.attributeTags)return;const t=e.get("body"),r=ue(t),n=function(e){return qs(e)?e:Os.get(e)[0][0]}(e).node.extra,s=q(n.referencedBindings),i=n.singleNodeOptimization;qs(e)&&zt(e,37),Ft(e),Xt(e),r&&(ge(r,!0),s&&!i&&Zt(t)`${St("markResumeScopeStart",me(r))}`)},exit(e){if(e.node.body.attributeTags)return;const t=e.get("body"),r=fe(e),n=ue(t),[s,i]=Vs(e,n),o=i[0][0].node.extra,a=o[$s],l=q(o.referencedBindings),c=o.singleNodeOptimization,p=n&&Se(n,!0);if(n&&((l||p)&&fr(n),Kt(e),pr(e,(()=>{})),Lr(t)),s){const t=Zt(e),n=e.getNextSibling(),s=e.scope.generateUidIdentifier("ifScopeId"),o=e.scope.generateUidIdentifier("ifRenderer");let u;for(let e=i.length;e--;){const[t,r]=i[e],n=t.node.body.body;if(r){const e=Se(r,!0);l&&n.push(Ds.types.expressionStatement(St("register",Ds.types.assignmentExpression("=",o,St("createRenderer",Ds.types.arrowFunctionExpression([],Ds.types.blockStatement([])))),Ds.types.stringLiteral(Ar(r,"renderer"))))),(l||e)&&n.push(Ds.types.expressionStatement(Ds.types.assignmentExpression("=",s,me(r))))}const[a]=t.node.attributes,c=(d=n,Array.isArray(d)?1===d.length?d[0]:Us.types.blockStatement(d):d);u=a?Ds.types.ifStatement(a.value,c,u):c,t.remove()}l||p?(n.insertBefore([Ds.types.variableDeclaration("let",[Ds.types.variableDeclarator(s),l&&Ds.types.variableDeclarator(o)].filter(Boolean)),u]),l&&(c?t`${St("markResumeControlSingleNodeEnd",me(r),Ge(a),s)}`:t`${St("markResumeControlEnd",me(r),Ge(a))}`,mr(r).set(Ds.types.stringLiteral(Ge(a).value+"("),o)),mr(r).set(Ds.types.stringLiteral(Ge(a).value+"!"),St("getScopeById",s))):n.insertBefore(u)}var d}},dom:{enter(e){if(e.node.body.attributeTags)return;const t=ue(e.get("body"));t&&ge(t,!0),qs(e)&&zt(e,37),Ft(e)},exit(e){if(e.node.body.attributeTags)return;const[t,r]=Vs(e,ue(e.get("body")));if(t){const t=fe(e),n=r[0][0].node.extra,s=n[$s];let i=Ds.types.nullLiteral();for(let e=r.length;e--;){const[t,n]=r[e],[o]=t.node.attributes,a=n?Ds.types.identifier(n.name):Ds.types.numericLiteral(0);pr(t,(e=>St("inConditionalScope",e,Ge(s)))),t.remove(),i=o?Ds.types.conditionalExpression(o.value,a,i):a}const o=gr(t,s,"if");o.build=()=>St("conditional",Ge(s),br(o,[Wr])),o.hasDownstreamIntersections=()=>r.some((([,e])=>e?.closures)),Sr(t,n.referencedBindings,o,i)}}}}),parseOptions:{controlFlow:!0},autocomplete:[{snippet:"if=${1:condition}",description:"Use to display content only if the condition is met.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#if-else-if-else"}]},Rs={..._s,autocomplete:[{snippet:"else-if=${1:condition}",description:"Use after an or tag to display content if those conditions do not match and this one does.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#if-else-if-else"}]},Fs={..._s,autocomplete:[{description:"Use after an or tag to display content if those conditions do not match.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#if-else-if-else"}]};function zs(e){let t=e.getPrevSibling();for(;t.node&&t.isMarkoComment();)t=t.getPrevSibling();if(!x(t)||"else"!==h(t)&&!t.node.attributes.length)throw e.buildCodeFrameError(`The \`<${h(e)}>\` must have a preceding \`\`, \`\`, or \`\`.`)}function Ws(e){const{node:t}=e,[r]=t.attributes;if(!Ds.types.isMarkoAttribute(r)||!r.default)throw e.get("name").buildCodeFrameError(`The \`${h(e)}\` tag requires a value.`);if(t.attributes.length>1){const r=t.attributes[1].loc?.start,n=t.attributes[t.attributes.length-1].loc?.end,s=`The \`${h(e)}\` tag only supports the \`value\` attribute.`;throw null==r||null==n?e.get("name").buildCodeFrameError(s):e.hub.buildError({loc:{start:r,end:n}},s,Error)}}function Vs(e,t){const r=Os.get(e)??[];let n=e.getNextSibling();for(;n.isMarkoComment();)n=n.getNextSibling();const s=!(b(n,"else")||b(n,"else-if"));return r.push([e,t]),s||Os.set(n,r),[s,r]}function qs(e){return b(e,"if")}var Js=r("../../node_modules/@marko/babel-utils/dist/index.js"),Zs={parse(e){const{node:t}=e;e.replaceWith((0,Js.parseStatements)(e.hub.file,t.rawValue,t.start,t.end)[0])},parseOptions:{statement:!0,rawOpenTag:!0},autocomplete:[{displayText:'import from ""',description:"Use to import external modules, follows the same syntax as JavaScript imports.",snippet:'import ${2} from "${1:path}"',descriptionMoreURL:"https://markojs.com/docs/syntax/#importing-external-files"}]},Gs=r("../../node_modules/@marko/babel-utils/dist/index.js"),Xs=r("../../browser-shims/compiler/index.js"),Ks={analyze(e){const{node:t}=e,r=t.var,{optimize:n}=Qr();let s,i;for(const r of t.attributes)if(Xs.types.isMarkoAttribute(r))if("value"===r.name)s=r;else{if("valueChange"!==r.name){const t=r.loc?.start,n=r.loc?.end,s="The `let` tag only supports the `value` attribute and its change handler.";throw null==t||null==n?e.get("name").buildCodeFrameError(s):e.hub.buildError({loc:{start:t,end:n}},s,Error)}i=r}if((0,Gs.assertNoArgs)(e),(0,Gs.assertNoParams)(e),j(e),M(e),!r)throw e.get("name").buildCodeFrameError("The `let` tag requires a tag variable.");if(!Xs.types.isIdentifier(r))throw e.get("var").buildCodeFrameError("The `let` tag variable cannot be destructured.");if(i&&(0,Gs.computeNode)(i.value))throw e.get("attributes").find((e=>e.node===i)).get("value").buildCodeFrameError("The `let` tag `valueChange` attribute must be a function.");if(i){const t=(i.value.extra??={})?.referencedBindings;i.value.extra.static=Xs.types.isFunction(i.value),n&&Xs.types.isIdentifier(i.value)&&1===((o=t)?Array.isArray(o)?o.length:1:0)?i.value.extra.binding=t:i.value.extra.binding=Te(e.scope.generateUid(r.name+"_change"),1,fe(e),void 0,i.value.extra)}var o;Ie(e,1,void 0,s?s.value.extra??={}:void 0,i?.value.extra?.binding)},translate:{exit(e){const{node:t}=e,r=t.var,{optimize:n}=Qr(),s=t.attributes.find((e=>Xs.types.isMarkoAttribute(e)&&(e.default||"value"===e.name)))??Xs.types.markoAttribute("value",Xs.types.identifier("undefined")),i=t.attributes.find((e=>Xs.types.isMarkoAttribute(e)&&"valueChange"===e.name)),o=i?.value.extra?.binding;if(Hr()){const t=fe(e),a=yr(r.extra.binding,"state"),l=s.value.extra?.referencedBindings,c=!l;if(!o||n&&Xs.types.isIdentifier(i.value)||Sr(t,i.value.extra?.referencedBindings,yr(o),i.value),Sr(t,l,a,s.value),!c){let e;Object.defineProperty(a,"extraArgs",{get:()=>(e||(e=o?i?.value.extra?.static?[Xs.types.numericLiteral(1)]:[or(t,o)]:[]),e)})}a.buildAssignment=(e,t)=>{const r=o&&Xs.types.identifier(o.name);if(o?.upstreamExpression?.static)return Xs.types.callExpression(r,[t]);const n=ir(e,a.section);return Xs.types.callExpression(a.identifier,r?[n,t,r]:[n,t])}}else en(e,s.value),o&&e.insertBefore(Xs.types.variableDeclaration("const",[Xs.types.variableDeclarator(Xs.types.identifier(o.name),i.value)]));e.remove()}},attributes:{},autocomplete:[{description:"Use to create a mutable binding.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#let"}],types:"@marko/translator-tags/tag-types/let.d.marko"},Hs=r("../../node_modules/@marko/babel-utils/dist/index.js"),Qs=r("../../browser-shims/compiler/index.js"),Ys=Symbol("lifecycle attrs reference"),ei=new Set(["onMount","onUpdate","onDestroy"]),ti={analyze(e){(0,Hs.assertNoArgs)(e),(0,Hs.assertNoVar)(e),(0,Hs.assertNoParams)(e),j(e);const{node:t}=e,r=t.extra??={},n=de(e);if(r[Ys]=Te(e.scope.generateUid("lifecycle"),4,n,void 0,r),0===t.attributes.length)throw e.get("name").buildCodeFrameError("The `lifecycle` tag requires at least one attribute.");for(const r of t.attributes){if(Qs.types.isMarkoSpreadAttribute(r))throw e.get("name").buildCodeFrameError("The `lifecycle` tag does not support `...spread` attributes.");if(!ei.has(r.name))throw e.get("name").buildCodeFrameError(`The \`lifecycle\` tag does not support the \`${r.name}\` attribute.`);(r.value.extra??={}).isEffect=!0}(zr.node.extra??={}).isInteractive=!0,Le(n,e.node,qe(e.node))},translate:{exit(e){const{node:t}=e,r=fe(e),n=t.extra,{referencedBindings:s}=n,i=n[Ys];if(Hr()){const n=cs(e);n.statements.push(Qs.types.expressionStatement(St("lifecycle",Wr,Ge(i),us(n.properties)))),kr("effect",r,s,n.statements,t.attributes.map((e=>e.value)))}else Br(r,s);e.remove()}},attributes:{},autocomplete:[{description:"Use to create a side effects.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#effect"}],types:"@marko/translator-tags/tag-types/lifecycle.d.marko"},ri=r("../../node_modules/@marko/babel-utils/dist/index.js"),ni=r("../../browser-shims/compiler/index.js"),si={analyze(e){const[t]=e.node.attributes;if((0,ri.assertNoArgs)(e),(0,ri.assertNoVar)(e),(0,ri.assertNoParams)(e),j(e),!t)throw e.get("name").buildCodeFrameError("The `log` tag requires a value.");if(e.node.attributes.length>1||!ni.types.isMarkoAttribute(t)||!t.default&&"value"!==t.name)throw e.get("name").buildCodeFrameError("The `log` tag only supports the `value` attribute.")},translate:{exit(e){const t=fe(e),[r]=e.node.attributes,{value:n}=r,s=n.extra?.referencedBindings,i=ni.types.expressionStatement(ni.types.callExpression(ni.types.memberExpression(ni.types.identifier("console"),ni.types.identifier("log")),[n]));Kr()?e.insertBefore(i):kr("render",t,s,i),e.remove()}},attributes:{},autocomplete:[{description:"Use to log a value to the console.",descriptionMoreURL:"https://markojs.com/docs/core-tags/#log"}],types:"@marko/translator-tags/tag-types/log.d.marko"},ii={migrate:[e=>e.remove()]},oi=r("../../node_modules/@marko/babel-utils/dist/index.js"),ai=r("../../browser-shims/compiler/index.js"),li={parse(e){const{node:t,hub:{file:r}}=e,n=t.rawValue,s=n.replace(/^server\s*/,"").trim(),i=t.name.start+(n.length-s.length);let o=(0,oi.parseStatements)(r,s,i,i+s.length);1===o.length&&ai.types.isBlockStatement(o[0])&&(o=o[0].body),e.replaceWith(ai.types.markoScriptlet(o,!0,"server"))},parseOptions:{statement:!0,rawOpenTag:!0},autocomplete:[{displayText:"server ",description:"A JavaScript statement which is only evaluated once your template is loaded on the server.",descriptionMoreURL:"https://markojs.com/docs/syntax/#server-javascript"}]},ci=r("../../node_modules/@marko/babel-utils/dist/index.js"),pi=r("../../browser-shims/compiler/index.js"),di={parse(e){const{node:t,hub:{file:r}}=e,n=t.rawValue,s=n.replace(/^static\s*/,"").trim(),i=t.name.start+(n.length-s.length);let o=(0,ci.parseStatements)(r,s,i,i+s.length);1===o.length&&pi.types.isBlockStatement(o[0])&&(o=o[0].body),e.replaceWith(pi.types.markoScriptlet(o,!0))},parseOptions:{statement:!0,rawOpenTag:!0},autocomplete:[{displayText:"static ",description:"A JavaScript statement which is only evaluated once your template is loaded.",descriptionMoreURL:"https://markojs.com/docs/syntax/#static-javascript"}]},ui=r("../../node_modules/@marko/babel-utils/dist/index.js"),fi=r("../../browser-shims/compiler/index.js"),mi=",".charCodeAt(0),hi=";".charCodeAt(0),gi=new Uint8Array(64),yi=new Uint8Array(128);for(let e=0;e<64;e++){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);gi[e]=t,yi[t]=e}function bi(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let t=31&n;n>>>=5,n>0&&(t|=32),e.write(gi[t])}while(n>0);return t}var xi="undefined"!=typeof TextDecoder?new TextDecoder:void 0!==s?{decode:e=>s.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r0?t+xi.decode(e.subarray(0,r)):t}},wi=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}},ki=class e{constructor(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(e){return this.startglobalThis.btoa(unescape(encodeURIComponent(e))):"function"==typeof s?e=>s.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")},Ei=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){const t=new vi;let r=0,n=0,s=0,i=0;for(let o=0;o0&&t.write(hi),0===a.length)continue;let l=0;for(let e=0;e0&&t.write(mi),l=bi(t,o[0],l),1!==o.length&&(r=bi(t,o[1],r),n=bi(t,o[2],n),s=bi(t,o[3],s),4!==o.length&&(i=bi(t,o[4],i)))}}return t.flush()}(e.mappings),void 0!==e.x_google_ignoreList&&(this.x_google_ignoreList=e.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Si(this.toString())}};function Ai(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let e=r.length;for(;e--;)r[e]=".."}return r.concat(n).join("/")}var Ci=Object.prototype.toString;function Ti(e){const t=e.split("\n"),r=[];for(let e=0,n=0;e>1;e=0&&s>i;){const s=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&s.push(n),this.rawSegments.push(s),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=i,i=t.indexOf("\n",i+1)}const a=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&a.push(n),this.rawSegments.push(a),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,r,n,s){let i=t.start,o=!0,a=!1;for(;i1){for(let e=0;e{const s=n(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,s,e.storeName?t.indexOf(e.original):-1):r.addUneditedChunk(0,e,this.original,s,this.sourcemapLocations),e.outro.length&&r.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Ai(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:r.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new Ei(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),r=t.filter((e=>/^\t+/.test(e))),n=t.filter((e=>/^ {2,}/.test(e)));if(0===r.length&&0===n.length)return null;if(r.length>=n.length)return"\t";const s=n.reduce(((e,t)=>{const r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(s+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const r=/^[^\r\n]/gm;var n;if(n=e,"[object Object]"===Ci.call(n)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;const s={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((e=>{for(let t=e[0];ti?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(r,o);let a=0,l=this.firstChunk;for(;l;){const t=l.end;if(l.edited)s[a]||(l.content=l.content.replace(r,o),l.content.length&&(i="\n"===l.content[l.content.length-1]));else for(a=l.start;a=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);const n=this.byStart[e],s=this.byEnd[t],i=n.previous,o=s.next,a=this.byStart[r];if(!a&&s===this.lastChunk)return this;const l=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),l&&(l.next=n),a&&(a.previous=s),n.previous||(this.firstChunk=s.next),s.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,s.next=a||null,l||(this.firstChunk=n),a||(this.lastChunk=s),this}overwrite(e,t,r,n){return n=n||{},this.update(e,t,r,{...n,overwrite:!n.contentOnly})}update(e,t,r,n){if("string"!=typeof r)throw new TypeError("replacement content must be a string");if(0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===n&&(Pi.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Pi.storeName=!0),n={storeName:!0});const s=void 0!==n&&n.storeName,i=void 0!==n&&n.overwrite;if(s){const r=this.original.slice(e,t);Object.defineProperty(this.storedNames,r,{writable:!0,value:!0,enumerable:!0})}const o=this.byStart[e],a=this.byEnd[t];if(o){let e=o;for(;e!==a;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}o.edit(r,s,!i)}else{const n=new ki(e,t,"").edit(r,s);a.next=n,n.previous=a}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this}reset(e,t){if(0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let r=this.byStart[e];for(;r;)r.reset(),r=t>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(ji);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(ji),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(ji),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(ji),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(ji),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){if(0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let r="",n=this.firstChunk;for(;n&&(n.start>e||n.end<=e);){if(n.start=t)return r;n=n.next}if(n&&n.edited&&n.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const s=n;for(;n;){!n.intro||s===n&&n.start!==e||(r+=n.intro);const i=n.start=t;if(i&&n.edited&&n.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const o=s===n?e-n.start:0,a=i?n.content.length+t-n.end:n.content.length;if(r+=n.content.slice(o,a),!n.outro||i&&n.end!==t||(r+=n.outro),i)break;n=n.next}return r}snip(e,t){const r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){const r=Ti(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${e.original}")`)}const r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.lastChunk;do{const e=r.end,n=r.trimEnd(t);if(r.end!==e&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.firstChunk;do{const e=r.end,n=r.trimStart(t);if(r.end!==e&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function r(e,r){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,((t,r)=>"$"===r?"$":"&"===r?e[0]:+r{if(null!=e.index){const t=r(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}}));else{const t=this.original.match(e);if(t&&null!=t.index){const e=r(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){const{original:r}=this,n=r.indexOf(e);return-1!==n&&this.overwrite(n,n+e.length,t),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:r}=this,n=e.length;for(let s=r.indexOf(e);-1!==s;s=r.indexOf(e,s+n))r.slice(s,s+n)!==t&&this.overwrite(s,s+n,t);return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}},Bi=u(r("../../node_modules/path-browserify/index.js")),Li={taglibId:g,"":Zs,"":As,"":S,"":_s,"":Rs,"":Fs,"":Gn,"":Ks,"":tn,"":ys,"":Ss,"":vs,"":si,"":sn,"":ti,"":Bs,"":js,"":rr,"",c=Ge(c,'((runtime) => {\nlet insertOne,\n placeholder,\n nextSibling,\n previousSibling,\n placeholders = {},\n replace = (marker, container) => {\n marker.replaceWith(...container.childNodes);\n container.remove();\n };\nruntime.d.head.append(\n runtime.d.querySelector("style[" + runtime.i + "]") || "",\n);\nruntime.j = {};\nruntime.x = (op, id, node, start, placeholderCallback) => {\n // "node" and "end" are all closed over and can\'t be repurposed. "start" is too but only in the new placeholder case\n\n if (op == "#") {\n (placeholders[id] = placeholder).i++;\n } else if (node == nextSibling) {\n insertOne();\n }\n\n if (node.tagName == "T" && (id = node.getAttribute(runtime.i))) {\n start = runtime.l["^" + id];\n\n if (start) {\n placeholder = placeholders[id] = {\n i: 0,\n c(end = runtime.l[id] || previousSibling || node) {\n while (end.parentNode !== start.parentNode) {\n end = end.parentNode;\n }\n\n for (\n ;\n end != nextSibling;\n (nextSibling = start.nextSibling).remove()\n );\n replace(start, node);\n },\n };\n } else {\n insertOne = () => {\n previousSibling = node.previousSibling;\n replace(runtime.l[id], node);\n if (!--start.i) {\n start.c();\n }\n };\n\n // repurpose "start" to hold this placeholder\n start = placeholder = placeholders[id];\n nextSibling = node.nextElementSibling || insertOne();\n }\n\n // repurpose "op" for callbacks ...carefully\n placeholderCallback = placeholder.c;\n (op = runtime.j[id]) &&\n (placeholder.c = () => placeholderCallback() + op(runtime));\n\n if (node.attributes.c) placeholder.c();\n }\n};\n})('+o+")"));for(const e of s.writeReorders){const{reorderId:t}=e;let r=!0,n="",i="",a="",l=e;for(e.reorderId=null;l.flushPlaceholder(),n+=l.html,i=ze(i,l.effects),a=Ge(a,l.scripts),l.async&&(n+=s.mark("#",l.reorderId=s.nextReorderId()),l.html=l.effects=l.scripts="",r=!1),l.next;)l=l.next;i&&(s.hasWrittenResume||(s.hasWrittenResume=!0,c=Ge(c,o+".r=[]")),a=Ge(a,"_.push("+i+")")),c=Ge(c,a&&o+".j."+t+"=_=>{"+a+"}"),u+=""+n+""}s.writeReorders=null}return p&&(c=Ge(c,o+".w()")),t.html=u,t.scripts=c,t}function qe(e){const{html:t,scripts:r}=e;return e.html=e.scripts="",t+(r?""+r+"<\/script>":"")}function ze(e,t){return e?t?e+","+t:e:t}function Ge(e,t){return e?t?e+";"+t:e:t}var We,He=globalThis.setImmediate||globalThis.setTimeout||globalThis.queueMicrotask||(e=>Promise.resolve().then(e));function Je(e){We?.delete(e)}function Ke(){const e=We;We=void 0;for(const t of e)t(!0)}function Xe(e){if(!e)return;const t=e.serializedGlobals;if(!t)return;let r;if(Array.isArray(t))for(const n of t){const t=e[n];void 0!==t&&(r?r[n]=t:r={[n]:t})}else for(const n in t)if(t[n]){const t=e[n];void 0!==t&&(r?r[n]=t:r={[n]:t})}return r}function Ye(e){return ct("class",function(e){return b(e," ",f)}(e))}function Ze(e){return ct("style",function(e){return b(e,";",y)}(e))}function Qe(e){const{[et]:t}=fe()?.context||{};return at("value",e)+(!D(e)&&(Array.isArray(e)?t.includes(e):t===e)?" selected":"")}var et=Symbol("selectedValue");function tt(e,t,r,n,s){if(n){const s=Ne(e);s[t+":"]=r,s[t+";"]=n,s[t+"="]=3}s&&function(e,t,r){const n=N.context||={[ve]:0},s=n[e];n[ve]++,n[e]=t;try{r()}finally{n[ve]--,n[e]=s}}(et,r,s)}function rt(e,t,r,n){if(n){const r=Ne(e);r[t+";"]=n,r[t+"="]=2}return(s=r)?C(s+""):0===s?"0":"";var s}function nt(e,t,r,n){if(n){const r=Ne(e);r[t+";"]=n,r[t+"="]=2}return at("value",r)}function st(e,t,r,n){if(n){const r=Ne(e);r[t+";"]=n,r[t+"="]=0}return at("checked",r)}function it(e,t,r,n,s){const i=Array.isArray(r),o=at("value",s);if(n){const s=Ne(e);s[t+";"]=n,s[t+"="]=1,i&&(s[t+":"]=r)}return(i?r.includes(s):r===s)?o+" checked":o}function ot(e,t,r,n){if(n){const s=Ne(e);s[t+":"]=r,s[t+";"]=n,s[t+"="]=4}return at("open",r)}function at(e,t){return D(t)?"":pt(e,t)}function lt(e,t,r,n){let s,i="",o=/[\s/>"'=]/;switch(n){case"input":if(e.checkedChange)i+=st(r,t,e.checked,e.checkedChange);else if(e.checkedValue||e.checkedValueChange)i+=it(r,t,e.checkedValue,e.checkedValueChange,e.value);else{if(!e.valueChange)break;i+=nt(r,t,e.value,e.valueChange)}o=/^(?:value|checked(?:Value)?)(?:Change)?$|[\s/>"'=]/;break;case"select":case"textarea":(e.value||e.valueChange)&&(o=/^value(?:Change)?$|[\s/>"'=]/);break;case"option":e.value&&(i+=Qe(e.value),o=/^value$|[\s/>"'=]/);break;case"details":case"dialog":e.openChange&&(i+=ot(r,t,e.open,e.openChange),o=/^open(?:Change)?$|[\s/>"'=]/)}for(const n in e){const a=e[n];switch(n){case"class":i+=Ye(a);break;case"style":i+=Ze(a);break;case"":case"renderBody":break;default:D(a)||(v(n)?(s||=Ne(r)[t+"~"]={})[x(n)]=a:o.test(n)||(i+=pt(n,a)))}}return i}function ut(e,t,r,n,s){const i={};for(const r in e)t[r]||(i[r]=e[r]);return lt(i,r,n,s)}function ct(e,t){return t&&` ${e}=${mt(t)}`}function pt(e,t){switch(typeof t){case"string":return` ${e+dt(t)}`;case"boolean":return` ${e}`;case"number":return` ${e}=${t}`;case"object":if(t instanceof RegExp)return` ${e+dt(t.source)}`}return` ${e+dt(t+"")}`}function dt(e){return e?`=${mt(e)}`:""}var ht=/["'>\s]/g;function mt(e){if(ht.test(e)){const t=e[ht.lastIndex-1];return ht.lastIndex=0,'"'===t?`'${e.replace(/'/g,"'")}'`:`"${e.replace(/"/g,""")}"`}return e}var ft="$compat_",gt=ft+"renderer",yt=ft+"setScope",bt=/^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/;function vt(e,t,r,n,s){if(!t&&!n)return;const i=ge(e);if(ye(`${Se(i)}`),Ie(i,e),!t)return n();if("string"==typeof t){if(Ee(),ye(`<${t}${lt(r,`#${t}/0`,i,t)}>`),bt.test(t)){if(n)throw new Error(`A renderBody was provided for a "${t}" tag, which cannot have children.`)}else{if("textarea"===t){if(n)throw new Error("A dynamic tag rendering a `