@credenza3/passport-sui 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/App-CiVYs_be.js +606 -0
  2. package/dist/App-CiVYs_be.js.map +1 -0
  3. package/dist/{Button-DdkN4ygx.js → Button-BoE6UH7J.js} +8 -8
  4. package/dist/{Button-DdkN4ygx.js.map → Button-BoE6UH7J.js.map} +1 -1
  5. package/dist/{ButtonBack-DOt6efWB.js → ButtonBack-ZuJIZvbM.js} +4 -4
  6. package/dist/{ButtonBack-DOt6efWB.js.map → ButtonBack-ZuJIZvbM.js.map} +1 -1
  7. package/dist/{ButtonLink-C3suV3YT.js → ButtonLink-Dn3fg--i.js} +4 -4
  8. package/dist/{ButtonLink-C3suV3YT.js.map → ButtonLink-Dn3fg--i.js.map} +1 -1
  9. package/dist/{ConfirmAccount-B0QimErt.js → ConfirmAccount-B_xj8sv2.js} +51 -51
  10. package/dist/{ConfirmAccount-B0QimErt.js.map → ConfirmAccount-B_xj8sv2.js.map} +1 -1
  11. package/dist/{ContentHeader-DWeKFCbL.js → ContentHeader-f66pzycq.js} +4 -4
  12. package/dist/{ContentHeader-DWeKFCbL.js.map → ContentHeader-f66pzycq.js.map} +1 -1
  13. package/dist/{Error-6xg8-wZJ.js → Error-De7P-glG.js} +18 -18
  14. package/dist/{Error-6xg8-wZJ.js.map → Error-De7P-glG.js.map} +1 -1
  15. package/dist/{Input-CoBmMhni.js → Input-C8HxuxD3.js} +7 -7
  16. package/dist/{Input-CoBmMhni.js.map → Input-C8HxuxD3.js.map} +1 -1
  17. package/dist/{Label-B8iJ43l6.js → Label-J_7qJTYM.js} +3 -3
  18. package/dist/{Label-B8iJ43l6.js.map → Label-J_7qJTYM.js.map} +1 -1
  19. package/dist/Loader-Dfa1xrjr.js +29 -0
  20. package/dist/Loader-Dfa1xrjr.js.map +1 -0
  21. package/dist/{Login-DsclMbeX.js → Login-CHb27HoO.js} +79 -78
  22. package/dist/{Login-DsclMbeX.js.map → Login-CHb27HoO.js.map} +1 -1
  23. package/dist/{Logout-ClD-Lgcx.js → Logout-BSauJopw.js} +17 -17
  24. package/dist/{Logout-ClD-Lgcx.js.map → Logout-BSauJopw.js.map} +1 -1
  25. package/dist/Nav-CachMbHd.js +669 -0
  26. package/dist/{Nav-DGxksgRd.js.map → Nav-CachMbHd.js.map} +1 -1
  27. package/dist/{PassportId-5U1tRgrN.js → PassportId-DAmN88Xx.js} +13 -13
  28. package/dist/{PassportId-5U1tRgrN.js.map → PassportId-DAmN88Xx.js.map} +1 -1
  29. package/dist/{Payment-DXvVU-Oe.js → Payment-CAVUR9D4.js} +119 -118
  30. package/dist/{Payment-DXvVU-Oe.js.map → Payment-CAVUR9D4.js.map} +1 -1
  31. package/dist/{PaymentResult-BDKwT5Sg.js → PaymentResult-Bs7bYTUy.js} +62 -62
  32. package/dist/{PaymentResult-BDKwT5Sg.js.map → PaymentResult-Bs7bYTUy.js.map} +1 -1
  33. package/dist/{Profile-euztX9tl.js → Profile-BUft3Yyd.js} +22 -22
  34. package/dist/{Profile-euztX9tl.js.map → Profile-BUft3Yyd.js.map} +1 -1
  35. package/dist/{ProgressVideo-D4DPjIEy.js → ProgressVideo-USviamwx.js} +21 -21
  36. package/dist/{ProgressVideo-D4DPjIEy.js.map → ProgressVideo-USviamwx.js.map} +1 -1
  37. package/dist/{ProgressVideo.service-BK7Nt-Vk.js → ProgressVideo.service-D9xqftcM.js} +2 -2
  38. package/dist/{ProgressVideo.service-BK7Nt-Vk.js.map → ProgressVideo.service-D9xqftcM.js.map} +1 -1
  39. package/dist/{RichAlert-D10QwVqC.js → RichAlert-DGHqlYas.js} +24 -24
  40. package/dist/{RichAlert-D10QwVqC.js.map → RichAlert-DGHqlYas.js.map} +1 -1
  41. package/dist/{Scanner-8y4vkfL1.js → Scanner-BmB0QpJ4.js} +21 -21
  42. package/dist/{Scanner-8y4vkfL1.js.map → Scanner-BmB0QpJ4.js.map} +1 -1
  43. package/dist/{SendTokens-DSJTklJ_.js → SendTokens-BfLxsIne.js} +70 -70
  44. package/dist/{SendTokens-DSJTklJ_.js.map → SendTokens-BfLxsIne.js.map} +1 -1
  45. package/dist/{Sign-CnrilrlB.js → Sign-DNPq5HuJ.js} +26 -26
  46. package/dist/{Sign-CnrilrlB.js.map → Sign-DNPq5HuJ.js.map} +1 -1
  47. package/dist/{Stripe.service-DZue_N62.js → Stripe.service-8oeSe26X.js} +3 -3
  48. package/dist/{Stripe.service-DZue_N62.js.map → Stripe.service-8oeSe26X.js.map} +1 -1
  49. package/dist/{UpdateProfile-DVYtN4B3.js → UpdateProfile-C0wtR1WE.js} +100 -100
  50. package/dist/{UpdateProfile-DVYtN4B3.js.map → UpdateProfile-C0wtR1WE.js.map} +1 -1
  51. package/dist/{UserInfo-D8COK5lo.js → UserInfo-Bm0e3CV5.js} +26 -26
  52. package/dist/{UserInfo-D8COK5lo.js.map → UserInfo-Bm0e3CV5.js.map} +1 -1
  53. package/dist/{Wallet-C--KgjFi.js → Wallet-PitFWALT.js} +27 -27
  54. package/dist/{Wallet-C--KgjFi.js.map → Wallet-PitFWALT.js.map} +1 -1
  55. package/dist/{each-C50_uszW.js → each-DnjePYDb.js} +16 -16
  56. package/dist/{each-C50_uszW.js.map → each-DnjePYDb.js.map} +1 -1
  57. package/dist/{html-DTfBoa9t.js → html-BQDrIauy.js} +3 -3
  58. package/dist/{html-DTfBoa9t.js.map → html-BQDrIauy.js.map} +1 -1
  59. package/dist/{index-DmO4Bf6j.js → index-DYFZGr8a.js} +65 -68
  60. package/dist/{index-DmO4Bf6j.js.map → index-DYFZGr8a.js.map} +1 -1
  61. package/dist/{index-client-BARQdFBp.js → index-client-CT6sSU2-.js} +2 -2
  62. package/dist/{index-client-BARQdFBp.js.map → index-client-CT6sSU2-.js.map} +1 -1
  63. package/dist/{input-wkVwDWFH.js → input-DhTOoToG.js} +3 -3
  64. package/dist/{input-wkVwDWFH.js.map → input-DhTOoToG.js.map} +1 -1
  65. package/dist/{legacy-BgObIK2n.js → legacy-CMJEekqF.js} +59 -59
  66. package/dist/{legacy-BgObIK2n.js.map → legacy-CMJEekqF.js.map} +1 -1
  67. package/dist/passport.es.js +1 -1
  68. package/dist/passport.umd.js +126 -126
  69. package/dist/passport.umd.js.map +1 -1
  70. package/dist/{socket-io-BNYia6TN.js → socket-io-D23M6alP.js} +2 -2
  71. package/dist/{socket-io-BNYia6TN.js.map → socket-io-D23M6alP.js.map} +1 -1
  72. package/dist/types/Passport.d.ts +1 -2
  73. package/package.json +1 -1
  74. package/dist/App-CzJCZTZI.js +0 -644
  75. package/dist/App-CzJCZTZI.js.map +0 -1
  76. package/dist/Nav-DGxksgRd.js +0 -669
@@ -1,4 +1,4 @@
1
- import { n as t, aA as a, F as o, aL as u } from "./index-DmO4Bf6j.js";
1
+ import { n as t, aA as a, G as o, aO as u } from "./index-DYFZGr8a.js";
2
2
  function c(n) {
3
3
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
4
4
  }
@@ -25,4 +25,4 @@ export {
25
25
  l as a,
26
26
  f as o
27
27
  };
28
- //# sourceMappingURL=index-client-BARQdFBp.js.map
28
+ //# sourceMappingURL=index-client-CT6sSU2-.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-client-BARQdFBp.js","sources":["../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/internal/shared/errors.js","../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/index-client.js"],"sourcesContent":["/* This file is generated by scripts/process-messages/index.js. Do not edit! */\n\nimport { DEV } from 'esm-env';\n\n/**\n * Cannot use `{@render children(...)}` if the parent component uses `let:` directives. Consider using a named snippet instead\n * @returns {never}\n */\nexport function invalid_default_snippet() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_default_snippet\\nCannot use \\`{@render children(...)}\\` if the parent component uses \\`let:\\` directives. Consider using a named snippet instead\\nhttps://svelte.dev/e/invalid_default_snippet`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_default_snippet`);\n\t}\n}\n\n/**\n * A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`\n * @returns {never}\n */\nexport function invalid_snippet_arguments() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_snippet_arguments\\nA snippet function was passed invalid arguments. Snippets should only be instantiated via \\`{@render ...}\\`\\nhttps://svelte.dev/e/invalid_snippet_arguments`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_snippet_arguments`);\n\t}\n}\n\n/**\n * `%name%(...)` can only be used during component initialisation\n * @param {string} name\n * @returns {never}\n */\nexport function lifecycle_outside_component(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`lifecycle_outside_component\\n\\`${name}(...)\\` can only be used during component initialisation\\nhttps://svelte.dev/e/lifecycle_outside_component`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/lifecycle_outside_component`);\n\t}\n}\n\n/**\n * Attempted to render a snippet without a `{@render}` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.\n * @returns {never}\n */\nexport function snippet_without_render_tag() {\n\tif (DEV) {\n\t\tconst error = new Error(`snippet_without_render_tag\\nAttempted to render a snippet without a \\`{@render}\\` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change \\`{snippet}\\` to \\`{@render snippet()}\\`.\\nhttps://svelte.dev/e/snippet_without_render_tag`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/snippet_without_render_tag`);\n\t}\n}\n\n/**\n * `%name%` is not a store with a `subscribe` method\n * @param {string} name\n * @returns {never}\n */\nexport function store_invalid_shape(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`store_invalid_shape\\n\\`${name}\\` is not a store with a \\`subscribe\\` method\\nhttps://svelte.dev/e/store_invalid_shape`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/store_invalid_shape`);\n\t}\n}\n\n/**\n * The `this` prop on `<svelte:element>` must be a string, if defined\n * @returns {never}\n */\nexport function svelte_element_invalid_this_value() {\n\tif (DEV) {\n\t\tconst error = new Error(`svelte_element_invalid_this_value\\nThe \\`this\\` prop on \\`<svelte:element>\\` must be a string, if defined\\nhttps://svelte.dev/e/svelte_element_invalid_this_value`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/svelte_element_invalid_this_value`);\n\t}\n}","/** @import { ComponentContext, ComponentContextLegacy } from '#client' */\n/** @import { EventDispatcher } from './index.js' */\n/** @import { NotFunction } from './internal/types.js' */\nimport { untrack } from './internal/client/runtime.js';\nimport { is_array } from './internal/shared/utils.js';\nimport { user_effect } from './internal/client/index.js';\nimport * as e from './internal/client/errors.js';\nimport { lifecycle_outside_component } from './internal/shared/errors.js';\nimport { legacy_mode_flag } from './internal/flags/index.js';\nimport { component_context } from './internal/client/context.js';\nimport { DEV } from 'esm-env';\n\nif (DEV) {\n\t/**\n\t * @param {string} rune\n\t */\n\tfunction throw_rune_error(rune) {\n\t\tif (!(rune in globalThis)) {\n\t\t\t// TODO if people start adjusting the \"this can contain runes\" config through v-p-s more, adjust this message\n\t\t\t/** @type {any} */\n\t\t\tlet value; // let's hope noone modifies this global, but belts and braces\n\t\t\tObject.defineProperty(globalThis, rune, {\n\t\t\t\tconfigurable: true,\n\t\t\t\t// eslint-disable-next-line getter-return\n\t\t\t\tget: () => {\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\n\t\t\t\t\te.rune_outside_svelte(rune);\n\t\t\t\t},\n\t\t\t\tset: (v) => {\n\t\t\t\t\tvalue = v;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tthrow_rune_error('$state');\n\tthrow_rune_error('$effect');\n\tthrow_rune_error('$derived');\n\tthrow_rune_error('$inspect');\n\tthrow_rune_error('$props');\n\tthrow_rune_error('$bindable');\n}\n\n/**\n * `onMount`, like [`$effect`](https://svelte.dev/docs/svelte/$effect), schedules a function to run as soon as the component has been mounted to the DOM.\n * Unlike `$effect`, the provided function only runs once.\n *\n * It must be called during the component's initialisation (but doesn't need to live _inside_ the component;\n * it can be called from an external module). If a function is returned _synchronously_ from `onMount`,\n * it will be called when the component is unmounted.\n *\n * `onMount` functions do not run during [server-side rendering](https://svelte.dev/docs/svelte/svelte-server#render).\n *\n * @template T\n * @param {() => NotFunction<T> | Promise<NotFunction<T>> | (() => any)} fn\n * @returns {void}\n */\nexport function onMount(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onMount');\n\t}\n\n\tif (legacy_mode_flag && component_context.l !== null) {\n\t\tinit_update_callbacks(component_context).m.push(fn);\n\t} else {\n\t\tuser_effect(() => {\n\t\t\tconst cleanup = untrack(fn);\n\t\t\tif (typeof cleanup === 'function') return /** @type {() => void} */ (cleanup);\n\t\t});\n\t}\n}\n\n/**\n * Schedules a callback to run immediately before the component is unmounted.\n *\n * Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the\n * only one that runs inside a server-side component.\n *\n * @param {() => any} fn\n * @returns {void}\n */\nexport function onDestroy(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onDestroy');\n\t}\n\n\tonMount(() => () => untrack(fn));\n}\n\n/**\n * @template [T=any]\n * @param {string} type\n * @param {T} [detail]\n * @param {any}params_0\n * @returns {CustomEvent<T>}\n */\nfunction create_custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs/svelte/legacy-on#Component-events).\n * Event dispatchers are functions that can take two arguments: `name` and `detail`.\n *\n * Component events created with `createEventDispatcher` create a\n * [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent).\n * These events do not [bubble](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture).\n * The `detail` argument corresponds to the [CustomEvent.detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n * property and can contain any type of data.\n *\n * The event dispatcher can be typed to narrow the allowed event names and the type of the `detail` argument:\n * ```ts\n * const dispatch = createEventDispatcher<{\n * loaded: null; // does not take a detail argument\n * change: string; // takes a detail argument of type string, which is required\n * optional: number | null; // takes an optional detail argument of type number\n * }>();\n * ```\n *\n * @deprecated Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)\n * @template {Record<string, any>} [EventMap = any]\n * @returns {EventDispatcher<EventMap>}\n */\nexport function createEventDispatcher() {\n\tconst active_component_context = component_context;\n\tif (active_component_context === null) {\n\t\tlifecycle_outside_component('createEventDispatcher');\n\t}\n\n\treturn (type, detail, options) => {\n\t\tconst events = /** @type {Record<string, Function | Function[]>} */ (\n\t\t\tactive_component_context.s.$$events\n\t\t)?.[/** @type {any} */ (type)];\n\n\t\tif (events) {\n\t\t\tconst callbacks = is_array(events) ? events.slice() : [events];\n\t\t\t// TODO are there situations where events could be dispatched\n\t\t\t// in a server (non-DOM) environment?\n\t\t\tconst event = create_custom_event(/** @type {string} */ (type), detail, options);\n\t\t\tfor (const fn of callbacks) {\n\t\t\t\tfn.call(active_component_context.x, event);\n\t\t\t}\n\t\t\treturn !event.defaultPrevented;\n\t\t}\n\n\t\treturn true;\n\t};\n}\n\n// TODO mark beforeUpdate and afterUpdate as deprecated in Svelte 6\n\n/**\n * Schedules a callback to run immediately before the component is updated after any state change.\n *\n * The first time the callback runs will be before the initial `onMount`.\n *\n * In runes mode use `$effect.pre` instead.\n *\n * @deprecated Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function beforeUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('beforeUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('beforeUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).b.push(fn);\n}\n\n/**\n * Schedules a callback to run immediately after the component has been updated.\n *\n * The first time the callback runs will be after the initial `onMount`.\n *\n * In runes mode use `$effect` instead.\n *\n * @deprecated Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function afterUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('afterUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('afterUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).a.push(fn);\n}\n\n/**\n * Legacy-mode: Init callbacks object for onMount/beforeUpdate/afterUpdate\n * @param {ComponentContext} context\n */\nfunction init_update_callbacks(context) {\n\tvar l = /** @type {ComponentContextLegacy} */ (context).l;\n\treturn (l.u ??= { a: [], b: [], m: [] });\n}\n\nexport { flushSync } from './internal/client/runtime.js';\nexport { getContext, getAllContexts, hasContext, setContext } from './internal/client/context.js';\nexport { hydrate, mount, unmount } from './internal/client/render.js';\nexport { tick, untrack } from './internal/client/runtime.js';\nexport { createRawSnippet } from './internal/client/dom/blocks/snippet.js';\n"],"names":["lifecycle_outside_component","name","onMount","fn","component_context","legacy_mode_flag","init_update_callbacks","user_effect","cleanup","untrack","onDestroy","context","l"],"mappings":";AAuCO,SAASA,EAA4BC,GAAM;AAOhD,QAAM,IAAI,MAAM,kDAAkD;AAEpE;ACYO,SAASC,EAAQC,GAAI;AAC3B,EAAIC,MAAsB,QACzBJ,EAAqC,GAGlCK,KAAoBD,EAAkB,MAAM,OAC/CE,EAAsBF,CAAiB,EAAE,EAAE,KAAKD,CAAE,IAElDI,EAAY,MAAM;AACX,UAAAC,IAAUC,EAAQN,CAAE;AACtB,QAAA,OAAOK,KAAY,WAAY;AAAA;AAAA,MAAkCA;AAAA;AAAA,EAAA,CACrE;AAEH;AAWO,SAASE,EAAUP,GAAI;AAC7B,EAAIC,MAAsB,QACzBJ,EAAuC,GAGxCE,EAAQ,MAAM,MAAMO,EAAQN,CAAE,CAAC;AAChC;AAkHA,SAASG,EAAsBK,GAAS;AACnC,MAAAC;AAAA;AAAA,IAA2CD,EAAS;AAAA;AAChD,SAAAC,EAAE,MAAFA,EAAE,IAAM,EAAE,GAAG,CAAI,GAAA,GAAG,CAAA,GAAI,GAAG,GAAG;AACvC;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"index-client-CT6sSU2-.js","sources":["../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/internal/shared/errors.js","../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/index-client.js"],"sourcesContent":["/* This file is generated by scripts/process-messages/index.js. Do not edit! */\n\nimport { DEV } from 'esm-env';\n\n/**\n * Cannot use `{@render children(...)}` if the parent component uses `let:` directives. Consider using a named snippet instead\n * @returns {never}\n */\nexport function invalid_default_snippet() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_default_snippet\\nCannot use \\`{@render children(...)}\\` if the parent component uses \\`let:\\` directives. Consider using a named snippet instead\\nhttps://svelte.dev/e/invalid_default_snippet`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_default_snippet`);\n\t}\n}\n\n/**\n * A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`\n * @returns {never}\n */\nexport function invalid_snippet_arguments() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_snippet_arguments\\nA snippet function was passed invalid arguments. Snippets should only be instantiated via \\`{@render ...}\\`\\nhttps://svelte.dev/e/invalid_snippet_arguments`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_snippet_arguments`);\n\t}\n}\n\n/**\n * `%name%(...)` can only be used during component initialisation\n * @param {string} name\n * @returns {never}\n */\nexport function lifecycle_outside_component(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`lifecycle_outside_component\\n\\`${name}(...)\\` can only be used during component initialisation\\nhttps://svelte.dev/e/lifecycle_outside_component`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/lifecycle_outside_component`);\n\t}\n}\n\n/**\n * Attempted to render a snippet without a `{@render}` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.\n * @returns {never}\n */\nexport function snippet_without_render_tag() {\n\tif (DEV) {\n\t\tconst error = new Error(`snippet_without_render_tag\\nAttempted to render a snippet without a \\`{@render}\\` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change \\`{snippet}\\` to \\`{@render snippet()}\\`.\\nhttps://svelte.dev/e/snippet_without_render_tag`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/snippet_without_render_tag`);\n\t}\n}\n\n/**\n * `%name%` is not a store with a `subscribe` method\n * @param {string} name\n * @returns {never}\n */\nexport function store_invalid_shape(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`store_invalid_shape\\n\\`${name}\\` is not a store with a \\`subscribe\\` method\\nhttps://svelte.dev/e/store_invalid_shape`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/store_invalid_shape`);\n\t}\n}\n\n/**\n * The `this` prop on `<svelte:element>` must be a string, if defined\n * @returns {never}\n */\nexport function svelte_element_invalid_this_value() {\n\tif (DEV) {\n\t\tconst error = new Error(`svelte_element_invalid_this_value\\nThe \\`this\\` prop on \\`<svelte:element>\\` must be a string, if defined\\nhttps://svelte.dev/e/svelte_element_invalid_this_value`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/svelte_element_invalid_this_value`);\n\t}\n}","/** @import { ComponentContext, ComponentContextLegacy } from '#client' */\n/** @import { EventDispatcher } from './index.js' */\n/** @import { NotFunction } from './internal/types.js' */\nimport { untrack } from './internal/client/runtime.js';\nimport { is_array } from './internal/shared/utils.js';\nimport { user_effect } from './internal/client/index.js';\nimport * as e from './internal/client/errors.js';\nimport { lifecycle_outside_component } from './internal/shared/errors.js';\nimport { legacy_mode_flag } from './internal/flags/index.js';\nimport { component_context } from './internal/client/context.js';\nimport { DEV } from 'esm-env';\n\nif (DEV) {\n\t/**\n\t * @param {string} rune\n\t */\n\tfunction throw_rune_error(rune) {\n\t\tif (!(rune in globalThis)) {\n\t\t\t// TODO if people start adjusting the \"this can contain runes\" config through v-p-s more, adjust this message\n\t\t\t/** @type {any} */\n\t\t\tlet value; // let's hope noone modifies this global, but belts and braces\n\t\t\tObject.defineProperty(globalThis, rune, {\n\t\t\t\tconfigurable: true,\n\t\t\t\t// eslint-disable-next-line getter-return\n\t\t\t\tget: () => {\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\n\t\t\t\t\te.rune_outside_svelte(rune);\n\t\t\t\t},\n\t\t\t\tset: (v) => {\n\t\t\t\t\tvalue = v;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tthrow_rune_error('$state');\n\tthrow_rune_error('$effect');\n\tthrow_rune_error('$derived');\n\tthrow_rune_error('$inspect');\n\tthrow_rune_error('$props');\n\tthrow_rune_error('$bindable');\n}\n\n/**\n * `onMount`, like [`$effect`](https://svelte.dev/docs/svelte/$effect), schedules a function to run as soon as the component has been mounted to the DOM.\n * Unlike `$effect`, the provided function only runs once.\n *\n * It must be called during the component's initialisation (but doesn't need to live _inside_ the component;\n * it can be called from an external module). If a function is returned _synchronously_ from `onMount`,\n * it will be called when the component is unmounted.\n *\n * `onMount` functions do not run during [server-side rendering](https://svelte.dev/docs/svelte/svelte-server#render).\n *\n * @template T\n * @param {() => NotFunction<T> | Promise<NotFunction<T>> | (() => any)} fn\n * @returns {void}\n */\nexport function onMount(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onMount');\n\t}\n\n\tif (legacy_mode_flag && component_context.l !== null) {\n\t\tinit_update_callbacks(component_context).m.push(fn);\n\t} else {\n\t\tuser_effect(() => {\n\t\t\tconst cleanup = untrack(fn);\n\t\t\tif (typeof cleanup === 'function') return /** @type {() => void} */ (cleanup);\n\t\t});\n\t}\n}\n\n/**\n * Schedules a callback to run immediately before the component is unmounted.\n *\n * Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the\n * only one that runs inside a server-side component.\n *\n * @param {() => any} fn\n * @returns {void}\n */\nexport function onDestroy(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onDestroy');\n\t}\n\n\tonMount(() => () => untrack(fn));\n}\n\n/**\n * @template [T=any]\n * @param {string} type\n * @param {T} [detail]\n * @param {any}params_0\n * @returns {CustomEvent<T>}\n */\nfunction create_custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs/svelte/legacy-on#Component-events).\n * Event dispatchers are functions that can take two arguments: `name` and `detail`.\n *\n * Component events created with `createEventDispatcher` create a\n * [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent).\n * These events do not [bubble](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture).\n * The `detail` argument corresponds to the [CustomEvent.detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n * property and can contain any type of data.\n *\n * The event dispatcher can be typed to narrow the allowed event names and the type of the `detail` argument:\n * ```ts\n * const dispatch = createEventDispatcher<{\n * loaded: null; // does not take a detail argument\n * change: string; // takes a detail argument of type string, which is required\n * optional: number | null; // takes an optional detail argument of type number\n * }>();\n * ```\n *\n * @deprecated Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)\n * @template {Record<string, any>} [EventMap = any]\n * @returns {EventDispatcher<EventMap>}\n */\nexport function createEventDispatcher() {\n\tconst active_component_context = component_context;\n\tif (active_component_context === null) {\n\t\tlifecycle_outside_component('createEventDispatcher');\n\t}\n\n\treturn (type, detail, options) => {\n\t\tconst events = /** @type {Record<string, Function | Function[]>} */ (\n\t\t\tactive_component_context.s.$$events\n\t\t)?.[/** @type {any} */ (type)];\n\n\t\tif (events) {\n\t\t\tconst callbacks = is_array(events) ? events.slice() : [events];\n\t\t\t// TODO are there situations where events could be dispatched\n\t\t\t// in a server (non-DOM) environment?\n\t\t\tconst event = create_custom_event(/** @type {string} */ (type), detail, options);\n\t\t\tfor (const fn of callbacks) {\n\t\t\t\tfn.call(active_component_context.x, event);\n\t\t\t}\n\t\t\treturn !event.defaultPrevented;\n\t\t}\n\n\t\treturn true;\n\t};\n}\n\n// TODO mark beforeUpdate and afterUpdate as deprecated in Svelte 6\n\n/**\n * Schedules a callback to run immediately before the component is updated after any state change.\n *\n * The first time the callback runs will be before the initial `onMount`.\n *\n * In runes mode use `$effect.pre` instead.\n *\n * @deprecated Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function beforeUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('beforeUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('beforeUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).b.push(fn);\n}\n\n/**\n * Schedules a callback to run immediately after the component has been updated.\n *\n * The first time the callback runs will be after the initial `onMount`.\n *\n * In runes mode use `$effect` instead.\n *\n * @deprecated Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function afterUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('afterUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('afterUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).a.push(fn);\n}\n\n/**\n * Legacy-mode: Init callbacks object for onMount/beforeUpdate/afterUpdate\n * @param {ComponentContext} context\n */\nfunction init_update_callbacks(context) {\n\tvar l = /** @type {ComponentContextLegacy} */ (context).l;\n\treturn (l.u ??= { a: [], b: [], m: [] });\n}\n\nexport { flushSync } from './internal/client/runtime.js';\nexport { getContext, getAllContexts, hasContext, setContext } from './internal/client/context.js';\nexport { hydrate, mount, unmount } from './internal/client/render.js';\nexport { tick, untrack } from './internal/client/runtime.js';\nexport { createRawSnippet } from './internal/client/dom/blocks/snippet.js';\n"],"names":["lifecycle_outside_component","name","onMount","fn","component_context","legacy_mode_flag","init_update_callbacks","user_effect","cleanup","untrack","onDestroy","context","l"],"mappings":";AAuCO,SAASA,EAA4BC,GAAM;AAOhD,QAAM,IAAI,MAAM,kDAAkD;AAEpE;ACYO,SAASC,EAAQC,GAAI;AAC3B,EAAIC,MAAsB,QACzBJ,EAAqC,GAGlCK,KAAoBD,EAAkB,MAAM,OAC/CE,EAAsBF,CAAiB,EAAE,EAAE,KAAKD,CAAE,IAElDI,EAAY,MAAM;AACX,UAAAC,IAAUC,EAAQN,CAAE;AACtB,QAAA,OAAOK,KAAY,WAAY;AAAA;AAAA,MAAkCA;AAAA;AAAA,EAAA,CACrE;AAEH;AAWO,SAASE,EAAUP,GAAI;AAC7B,EAAIC,MAAsB,QACzBJ,EAAuC,GAGxCE,EAAQ,MAAM,MAAMO,EAAQN,CAAE,CAAC;AAChC;AAkHA,SAASG,EAAsBK,GAAS;AACnC,MAAAC;AAAA;AAAA,IAA2CD,EAAS;AAAA;AAChD,SAAAC,EAAE,MAAFA,EAAE,IAAM,EAAE,GAAG,CAAI,GAAA,GAAG,CAAA,GAAI,GAAG,GAAG;AACvC;","x_google_ignoreList":[0,1]}
@@ -1,5 +1,5 @@
1
- import { i as t, h as _, F as c, bb as d } from "./index-DmO4Bf6j.js";
2
- import { A as m } from "./legacy-BgObIK2n.js";
1
+ import { i as t, h as _, G as c, bb as d } from "./index-DYFZGr8a.js";
2
+ import { A as m } from "./legacy-CMJEekqF.js";
3
3
  function i(e, a, n = a) {
4
4
  var o = t();
5
5
  m(e, "input", (l) => {
@@ -27,4 +27,4 @@ function f(e) {
27
27
  export {
28
28
  i as b
29
29
  };
30
- //# sourceMappingURL=input-wkVwDWFH.js.map
30
+ //# sourceMappingURL=input-DhTOoToG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-wkVwDWFH.js","sources":["../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js"],"sourcesContent":["import { DEV } from 'esm-env';\nimport { render_effect, teardown } from '../../../reactivity/effects.js';\nimport { listen_to_event_and_reset_event } from './shared.js';\nimport * as e from '../../../errors.js';\nimport { is } from '../../../proxy.js';\nimport { queue_micro_task } from '../../task.js';\nimport { hydrating } from '../../hydration.js';\nimport { untrack } from '../../../runtime.js';\nimport { is_runes } from '../../../context.js';\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_value(input, get, set = get) {\n\tvar runes = is_runes();\n\n\tlisten_to_event_and_reset_event(input, 'input', (is_reset) => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\t/** @type {any} */\n\t\tvar value = is_reset ? input.defaultValue : input.value;\n\t\tvalue = is_numberlike_input(input) ? to_number(value) : value;\n\t\tset(value);\n\n\t\t// In runes mode, respect any validation in accessors (doesn't apply in legacy mode,\n\t\t// because we use mutable state which ensures the render effect always runs)\n\t\tif (runes && value !== (value = get())) {\n\t\t\tvar start = input.selectionStart;\n\t\t\tvar end = input.selectionEnd;\n\n\t\t\t// the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\n\t\t\t// Restore selection\n\t\t\tif (end !== null) {\n\t\t\t\tinput.selectionStart = start;\n\t\t\t\tinput.selectionEnd = Math.min(end, input.value.length);\n\t\t\t}\n\t\t}\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\t(hydrating && input.defaultValue !== input.value) ||\n\t\t// If defaultValue is set, then value == defaultValue\n\t\t// TODO Svelte 6: remove input.value check and set to empty string?\n\t\t(untrack(get) == null && input.value)\n\t) {\n\t\tset(is_numberlike_input(input) ? to_number(input.value) : input.value);\n\t}\n\n\trender_effect(() => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\tvar value = get();\n\n\t\tif (is_numberlike_input(input) && value === to_number(input.value)) {\n\t\t\t// handles 0 vs 00 case (see https://github.com/sveltejs/svelte/issues/9959)\n\t\t\treturn;\n\t\t}\n\n\t\tif (input.type === 'date' && !value && !input.value) {\n\t\t\t// Handles the case where a temporarily invalid date is set (while typing, for example with a leading 0 for the day)\n\t\t\t// and prevents this state from clearing the other parts of the date input (see https://github.com/sveltejs/svelte/issues/7897)\n\t\t\treturn;\n\t\t}\n\n\t\t// don't set the value of the input if it's the same to allow\n\t\t// minlength to work properly\n\t\tif (value !== input.value) {\n\t\t\t// @ts-expect-error the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\t\t}\n\t});\n}\n\n/** @type {Set<HTMLInputElement[]>} */\nconst pending = new Set();\n\n/**\n * @param {HTMLInputElement[]} inputs\n * @param {null | [number]} group_index\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_group(inputs, group_index, input, get, set = get) {\n\tvar is_checkbox = input.getAttribute('type') === 'checkbox';\n\tvar binding_group = inputs;\n\n\t// needs to be let or related code isn't treeshaken out if it's always false\n\tlet hydration_mismatch = false;\n\n\tif (group_index !== null) {\n\t\tfor (var index of group_index) {\n\t\t\t// @ts-expect-error\n\t\t\tbinding_group = binding_group[index] ??= [];\n\t\t}\n\t}\n\n\tbinding_group.push(input);\n\n\tlisten_to_event_and_reset_event(\n\t\tinput,\n\t\t'change',\n\t\t() => {\n\t\t\t// @ts-ignore\n\t\t\tvar value = input.__value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t}\n\n\t\t\tset(value);\n\t\t},\n\t\t// TODO better default value handling\n\t\t() => set(is_checkbox ? [] : null)\n\t);\n\n\trender_effect(() => {\n\t\tvar value = get();\n\n\t\t// If we are hydrating and the value has since changed, then use the update value\n\t\t// from the input instead.\n\t\tif (hydrating && input.defaultChecked !== input.checked) {\n\t\t\thydration_mismatch = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (is_checkbox) {\n\t\t\tvalue = value || [];\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = value.includes(input.__value);\n\t\t} else {\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = is(input.__value, value);\n\t\t}\n\t});\n\n\tteardown(() => {\n\t\tvar index = binding_group.indexOf(input);\n\n\t\tif (index !== -1) {\n\t\t\tbinding_group.splice(index, 1);\n\t\t}\n\t});\n\n\tif (!pending.has(binding_group)) {\n\t\tpending.add(binding_group);\n\n\t\tqueue_micro_task(() => {\n\t\t\t// necessary to maintain binding group order in all insertion scenarios\n\t\t\tbinding_group.sort((a, b) => (a.compareDocumentPosition(b) === 4 ? -1 : 1));\n\t\t\tpending.delete(binding_group);\n\t\t});\n\t}\n\n\tqueue_micro_task(() => {\n\t\tif (hydration_mismatch) {\n\t\t\tvar value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t} else {\n\t\t\t\tvar hydration_input = binding_group.find((input) => input.checked);\n\t\t\t\t// @ts-ignore\n\t\t\t\tvalue = hydration_input?.__value;\n\t\t\t}\n\n\t\t\tset(value);\n\t\t}\n\t});\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_checked(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', (is_reset) => {\n\t\tvar value = is_reset ? input.defaultChecked : input.checked;\n\t\tset(value);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the update value from the input instead.\n\t\t(hydrating && input.defaultChecked !== input.checked) ||\n\t\t// If defaultChecked is set, then checked == defaultChecked\n\t\tuntrack(get) == null\n\t) {\n\t\tset(input.checked);\n\t}\n\n\trender_effect(() => {\n\t\tvar value = get();\n\t\tinput.checked = Boolean(value);\n\t});\n}\n\n/**\n * @template V\n * @param {Array<HTMLInputElement>} group\n * @param {V} __value\n * @param {boolean} checked\n * @returns {V[]}\n */\nfunction get_binding_group_value(group, __value, checked) {\n\tvar value = new Set();\n\n\tfor (var i = 0; i < group.length; i += 1) {\n\t\tif (group[i].checked) {\n\t\t\t// @ts-ignore\n\t\t\tvalue.add(group[i].__value);\n\t\t}\n\t}\n\n\tif (!checked) {\n\t\tvalue.delete(__value);\n\t}\n\n\treturn Array.from(value);\n}\n\n/**\n * @param {HTMLInputElement} input\n */\nfunction is_numberlike_input(input) {\n\tvar type = input.type;\n\treturn type === 'number' || type === 'range';\n}\n\n/**\n * @param {string} value\n */\nfunction to_number(value) {\n\treturn value === '' ? null : +value;\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => FileList | null} get\n * @param {(value: FileList | null) => void} set\n */\nexport function bind_files(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', () => {\n\t\tset(input.files);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\thydrating &&\n\t\tinput.files\n\t) {\n\t\tset(input.files);\n\t}\n\n\trender_effect(() => {\n\t\tinput.files = get();\n\t});\n}\n"],"names":["bind_value","input","get","set","runes","is_runes","listen_to_event_and_reset_event","is_reset","value","is_numberlike_input","to_number","start","end","hydrating","untrack","render_effect","type"],"mappings":";;AAgBO,SAASA,EAAWC,GAAOC,GAAKC,IAAMD,GAAK;AACjD,MAAIE,IAAQC,EAAU;AAEtB,EAAAC,EAAgCL,GAAO,SAAS,CAACM,MAAa;AAO7D,QAAIC,IAAQD,IAAWN,EAAM,eAAeA,EAAM;AAMlD,QALAO,IAAQC,EAAoBR,CAAK,IAAIS,EAAUF,CAAK,IAAIA,GACxDL,EAAIK,CAAK,GAILJ,KAASI,OAAWA,IAAQN,EAAK,IAAG;AACvC,UAAIS,IAAQV,EAAM,gBACdW,IAAMX,EAAM;AAGhB,MAAAA,EAAM,QAAQO,KAAS,IAGnBI,MAAQ,SACXX,EAAM,iBAAiBU,GACvBV,EAAM,eAAe,KAAK,IAAIW,GAAKX,EAAM,MAAM,MAAM;AAAA,IAEzD;AAAA,EACA,CAAE;AAAA;AAAA,GAKCY,KAAaZ,EAAM,iBAAiBA,EAAM;AAAA;AAAA,EAG1Ca,EAAQZ,CAAG,KAAK,QAAQD,EAAM,UAE/BE,EAAIM,EAAoBR,CAAK,IAAIS,EAAUT,EAAM,KAAK,IAAIA,EAAM,KAAK,GAGtEc,EAAc,MAAM;AAMnB,QAAIP,IAAQN,EAAK;AAEjB,IAAIO,EAAoBR,CAAK,KAAKO,MAAUE,EAAUT,EAAM,KAAK,KAK7DA,EAAM,SAAS,UAAU,CAACO,KAAS,CAACP,EAAM,SAQ1CO,MAAUP,EAAM,UAEnBA,EAAM,QAAQO,KAAS;AAAA,EAE1B,CAAE;AACF;AA4JA,SAASC,EAAoBR,GAAO;AACnC,MAAIe,IAAOf,EAAM;AACjB,SAAOe,MAAS,YAAYA,MAAS;AACtC;AAKA,SAASN,EAAUF,GAAO;AACzB,SAAOA,MAAU,KAAK,OAAO,CAACA;AAC/B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"input-DhTOoToG.js","sources":["../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js"],"sourcesContent":["import { DEV } from 'esm-env';\nimport { render_effect, teardown } from '../../../reactivity/effects.js';\nimport { listen_to_event_and_reset_event } from './shared.js';\nimport * as e from '../../../errors.js';\nimport { is } from '../../../proxy.js';\nimport { queue_micro_task } from '../../task.js';\nimport { hydrating } from '../../hydration.js';\nimport { untrack } from '../../../runtime.js';\nimport { is_runes } from '../../../context.js';\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_value(input, get, set = get) {\n\tvar runes = is_runes();\n\n\tlisten_to_event_and_reset_event(input, 'input', (is_reset) => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\t/** @type {any} */\n\t\tvar value = is_reset ? input.defaultValue : input.value;\n\t\tvalue = is_numberlike_input(input) ? to_number(value) : value;\n\t\tset(value);\n\n\t\t// In runes mode, respect any validation in accessors (doesn't apply in legacy mode,\n\t\t// because we use mutable state which ensures the render effect always runs)\n\t\tif (runes && value !== (value = get())) {\n\t\t\tvar start = input.selectionStart;\n\t\t\tvar end = input.selectionEnd;\n\n\t\t\t// the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\n\t\t\t// Restore selection\n\t\t\tif (end !== null) {\n\t\t\t\tinput.selectionStart = start;\n\t\t\t\tinput.selectionEnd = Math.min(end, input.value.length);\n\t\t\t}\n\t\t}\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\t(hydrating && input.defaultValue !== input.value) ||\n\t\t// If defaultValue is set, then value == defaultValue\n\t\t// TODO Svelte 6: remove input.value check and set to empty string?\n\t\t(untrack(get) == null && input.value)\n\t) {\n\t\tset(is_numberlike_input(input) ? to_number(input.value) : input.value);\n\t}\n\n\trender_effect(() => {\n\t\tif (DEV && input.type === 'checkbox') {\n\t\t\t// TODO should this happen in prod too?\n\t\t\te.bind_invalid_checkbox_value();\n\t\t}\n\n\t\tvar value = get();\n\n\t\tif (is_numberlike_input(input) && value === to_number(input.value)) {\n\t\t\t// handles 0 vs 00 case (see https://github.com/sveltejs/svelte/issues/9959)\n\t\t\treturn;\n\t\t}\n\n\t\tif (input.type === 'date' && !value && !input.value) {\n\t\t\t// Handles the case where a temporarily invalid date is set (while typing, for example with a leading 0 for the day)\n\t\t\t// and prevents this state from clearing the other parts of the date input (see https://github.com/sveltejs/svelte/issues/7897)\n\t\t\treturn;\n\t\t}\n\n\t\t// don't set the value of the input if it's the same to allow\n\t\t// minlength to work properly\n\t\tif (value !== input.value) {\n\t\t\t// @ts-expect-error the value is coerced on assignment\n\t\t\tinput.value = value ?? '';\n\t\t}\n\t});\n}\n\n/** @type {Set<HTMLInputElement[]>} */\nconst pending = new Set();\n\n/**\n * @param {HTMLInputElement[]} inputs\n * @param {null | [number]} group_index\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_group(inputs, group_index, input, get, set = get) {\n\tvar is_checkbox = input.getAttribute('type') === 'checkbox';\n\tvar binding_group = inputs;\n\n\t// needs to be let or related code isn't treeshaken out if it's always false\n\tlet hydration_mismatch = false;\n\n\tif (group_index !== null) {\n\t\tfor (var index of group_index) {\n\t\t\t// @ts-expect-error\n\t\t\tbinding_group = binding_group[index] ??= [];\n\t\t}\n\t}\n\n\tbinding_group.push(input);\n\n\tlisten_to_event_and_reset_event(\n\t\tinput,\n\t\t'change',\n\t\t() => {\n\t\t\t// @ts-ignore\n\t\t\tvar value = input.__value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t}\n\n\t\t\tset(value);\n\t\t},\n\t\t// TODO better default value handling\n\t\t() => set(is_checkbox ? [] : null)\n\t);\n\n\trender_effect(() => {\n\t\tvar value = get();\n\n\t\t// If we are hydrating and the value has since changed, then use the update value\n\t\t// from the input instead.\n\t\tif (hydrating && input.defaultChecked !== input.checked) {\n\t\t\thydration_mismatch = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (is_checkbox) {\n\t\t\tvalue = value || [];\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = value.includes(input.__value);\n\t\t} else {\n\t\t\t// @ts-ignore\n\t\t\tinput.checked = is(input.__value, value);\n\t\t}\n\t});\n\n\tteardown(() => {\n\t\tvar index = binding_group.indexOf(input);\n\n\t\tif (index !== -1) {\n\t\t\tbinding_group.splice(index, 1);\n\t\t}\n\t});\n\n\tif (!pending.has(binding_group)) {\n\t\tpending.add(binding_group);\n\n\t\tqueue_micro_task(() => {\n\t\t\t// necessary to maintain binding group order in all insertion scenarios\n\t\t\tbinding_group.sort((a, b) => (a.compareDocumentPosition(b) === 4 ? -1 : 1));\n\t\t\tpending.delete(binding_group);\n\t\t});\n\t}\n\n\tqueue_micro_task(() => {\n\t\tif (hydration_mismatch) {\n\t\t\tvar value;\n\n\t\t\tif (is_checkbox) {\n\t\t\t\tvalue = get_binding_group_value(binding_group, value, input.checked);\n\t\t\t} else {\n\t\t\t\tvar hydration_input = binding_group.find((input) => input.checked);\n\t\t\t\t// @ts-ignore\n\t\t\t\tvalue = hydration_input?.__value;\n\t\t\t}\n\n\t\t\tset(value);\n\t\t}\n\t});\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_checked(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', (is_reset) => {\n\t\tvar value = is_reset ? input.defaultChecked : input.checked;\n\t\tset(value);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the update value from the input instead.\n\t\t(hydrating && input.defaultChecked !== input.checked) ||\n\t\t// If defaultChecked is set, then checked == defaultChecked\n\t\tuntrack(get) == null\n\t) {\n\t\tset(input.checked);\n\t}\n\n\trender_effect(() => {\n\t\tvar value = get();\n\t\tinput.checked = Boolean(value);\n\t});\n}\n\n/**\n * @template V\n * @param {Array<HTMLInputElement>} group\n * @param {V} __value\n * @param {boolean} checked\n * @returns {V[]}\n */\nfunction get_binding_group_value(group, __value, checked) {\n\tvar value = new Set();\n\n\tfor (var i = 0; i < group.length; i += 1) {\n\t\tif (group[i].checked) {\n\t\t\t// @ts-ignore\n\t\t\tvalue.add(group[i].__value);\n\t\t}\n\t}\n\n\tif (!checked) {\n\t\tvalue.delete(__value);\n\t}\n\n\treturn Array.from(value);\n}\n\n/**\n * @param {HTMLInputElement} input\n */\nfunction is_numberlike_input(input) {\n\tvar type = input.type;\n\treturn type === 'number' || type === 'range';\n}\n\n/**\n * @param {string} value\n */\nfunction to_number(value) {\n\treturn value === '' ? null : +value;\n}\n\n/**\n * @param {HTMLInputElement} input\n * @param {() => FileList | null} get\n * @param {(value: FileList | null) => void} set\n */\nexport function bind_files(input, get, set = get) {\n\tlisten_to_event_and_reset_event(input, 'change', () => {\n\t\tset(input.files);\n\t});\n\n\tif (\n\t\t// If we are hydrating and the value has since changed,\n\t\t// then use the updated value from the input instead.\n\t\thydrating &&\n\t\tinput.files\n\t) {\n\t\tset(input.files);\n\t}\n\n\trender_effect(() => {\n\t\tinput.files = get();\n\t});\n}\n"],"names":["bind_value","input","get","set","runes","is_runes","listen_to_event_and_reset_event","is_reset","value","is_numberlike_input","to_number","start","end","hydrating","untrack","render_effect","type"],"mappings":";;AAgBO,SAASA,EAAWC,GAAOC,GAAKC,IAAMD,GAAK;AACjD,MAAIE,IAAQC,EAAU;AAEtB,EAAAC,EAAgCL,GAAO,SAAS,CAACM,MAAa;AAO7D,QAAIC,IAAQD,IAAWN,EAAM,eAAeA,EAAM;AAMlD,QALAO,IAAQC,EAAoBR,CAAK,IAAIS,EAAUF,CAAK,IAAIA,GACxDL,EAAIK,CAAK,GAILJ,KAASI,OAAWA,IAAQN,EAAK,IAAG;AACvC,UAAIS,IAAQV,EAAM,gBACdW,IAAMX,EAAM;AAGhB,MAAAA,EAAM,QAAQO,KAAS,IAGnBI,MAAQ,SACXX,EAAM,iBAAiBU,GACvBV,EAAM,eAAe,KAAK,IAAIW,GAAKX,EAAM,MAAM,MAAM;AAAA,IAEzD;AAAA,EACA,CAAE;AAAA;AAAA,GAKCY,KAAaZ,EAAM,iBAAiBA,EAAM;AAAA;AAAA,EAG1Ca,EAAQZ,CAAG,KAAK,QAAQD,EAAM,UAE/BE,EAAIM,EAAoBR,CAAK,IAAIS,EAAUT,EAAM,KAAK,IAAIA,EAAM,KAAK,GAGtEc,EAAc,MAAM;AAMnB,QAAIP,IAAQN,EAAK;AAEjB,IAAIO,EAAoBR,CAAK,KAAKO,MAAUE,EAAUT,EAAM,KAAK,KAK7DA,EAAM,SAAS,UAAU,CAACO,KAAS,CAACP,EAAM,SAQ1CO,MAAUP,EAAM,UAEnBA,EAAM,QAAQO,KAAS;AAAA,EAE1B,CAAE;AACF;AA4JA,SAASC,EAAoBR,GAAO;AACnC,MAAIe,IAAOf,EAAM;AACjB,SAAOe,MAAS,YAAYA,MAAS;AACtC;AAKA,SAASN,EAAUF,GAAO;AACzB,SAAOA,MAAU,KAAK,OAAO,CAACA;AAC/B;","x_google_ignoreList":[0]}
@@ -2,8 +2,8 @@ var ve = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
4
  var _e = (e, r, t) => r.has(e) || ve("Cannot " + t);
5
- var w = (e, r, t) => (_e(e, r, "read from private field"), t ? t.call(e) : r.get(e)), J = (e, r, t) => r.has(e) ? ve("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, t), Q = (e, r, t, a) => (_e(e, r, "write to private field"), a ? a.call(e, t) : r.set(e, t), t);
6
- import { q as oe, k as Y, j as F, a0 as Pe, a1 as q, a2 as Re, a3 as le, a4 as Me, a5 as k, a6 as re, a7 as Ze, a8 as Je, h as p, g as N, a as B, a9 as Qe, aa as Xe, s as G, ab as te, ac as he, ad as me, ae as xe, af as X, d as R, ag as er, ah as rr, ai as tr, aj as ar, ak as ir, al as sr, p as D, v as nr, n as Ce, A as ur, b as Z, am as De, an as fr, H as or, r as lr, o as be, t as ae, U as cr, ao as ie, ap as $e, F as K, aq as dr, ar as vr, as as _r, at as hr, au as br, av as gr, aw as W, L as y, ax as pr, ay as Er, az as Ar, aA as ge, aB as Sr, aC as pe, x as Tr, aD as Ee, m as ce, aE as wr, K as de, N as yr, aF as Nr, aG as Ir, aH as Lr, aI as Or, aJ as je, aK as Pr, I as Rr, aL as Mr, aM as mr, aN as Cr, f as Dr, aO as Ae, aP as Ue, aQ as $r, aR as jr, aS as Ur, u as Vr, aT as qr } from "./index-DmO4Bf6j.js";
5
+ var w = (e, r, t) => (_e(e, r, "read from private field"), t ? t.call(e) : r.get(e)), Z = (e, r, t) => r.has(e) ? ve("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, t), Q = (e, r, t, a) => (_e(e, r, "write to private field"), a ? a.call(e, t) : r.set(e, t), t);
6
+ import { q as oe, k as Y, j as F, a0 as Pe, a1 as q, a2 as Re, a3 as le, a4 as Me, a5 as re, a6 as Je, a7 as G, a8 as Ze, h as p, g as N, a9 as Qe, s as k, a as B, aa as Xe, ab as te, ac as he, ad as me, ae as xe, af as X, d as R, ag as er, ah as rr, ai as tr, aj as ar, ak as ir, al as sr, p as D, v as nr, n as Ce, z as ur, b as J, am as De, an as fr, H as or, r as lr, o as be, t as ae, U as cr, ao as ie, ap as $e, G as K, aq as dr, ar as vr, as as _r, at as hr, au as br, av as z, K as y, aw as gr, ax as pr, ay as Er, az as Ar, aA as ge, aB as Sr, aC as pe, A as Tr, aD as Ee, m as ce, aE as wr, L as yr, J as de, aF as Nr, aG as Ir, aH as Lr, f as Or, aI as Pr, aJ as je, aK as Ae, aL as Rr, aM as Ue, aN as Mr, I as mr, aO as Cr, aP as Dr, aQ as $r, aR as jr, aS as Ur, u as Vr, aT as qr } from "./index-DYFZGr8a.js";
7
7
  function Br(e) {
8
8
  return e.endsWith("capture") && e !== "gotpointercapture" && e !== "lostpointercapture";
9
9
  }
@@ -50,14 +50,14 @@ const Fr = {
50
50
  disablepictureinpicture: "disablePictureInPicture",
51
51
  disableremoteplayback: "disableRemotePlayback"
52
52
  };
53
- function kr(e) {
53
+ function Gr(e) {
54
54
  return e = e.toLowerCase(), Fr[e] ?? e;
55
55
  }
56
- const Gr = ["touchstart", "touchmove"];
56
+ const kr = ["touchstart", "touchmove"];
57
57
  function Kr(e) {
58
- return Gr.includes(e);
58
+ return kr.includes(e);
59
59
  }
60
- function Wr(e, r) {
60
+ function zr(e, r) {
61
61
  if (r) {
62
62
  const t = document.body;
63
63
  e.autofocus = !0, oe(() => {
@@ -120,7 +120,7 @@ function bt(e, r, t, a, i) {
120
120
  r.removeEventListener(e, n, s);
121
121
  });
122
122
  }
123
- function zr(e) {
123
+ function Wr(e) {
124
124
  for (var r = 0; r < e.length; r++)
125
125
  Be.add(e[r]);
126
126
  for (var t of se)
@@ -191,7 +191,7 @@ function V(e) {
191
191
  }
192
192
  }
193
193
  }
194
- function Zr(e) {
194
+ function Jr(e) {
195
195
  var r = document.createElement("template");
196
196
  return r.innerHTML = e.replaceAll("<!>", "<!---->"), r.content;
197
197
  }
@@ -204,15 +204,15 @@ function M(e, r) {
204
204
  }
205
205
  // @__NO_SIDE_EFFECTS__
206
206
  function gt(e, r) {
207
- var t = (r & Qe) !== 0, a = (r & Je) !== 0, i, s = !e.startsWith("<!>");
207
+ var t = (r & Xe) !== 0, a = (r & Ze) !== 0, i, s = !e.startsWith("<!>");
208
208
  return () => {
209
209
  if (p)
210
210
  return M(N, null), N;
211
- i === void 0 && (i = Zr(s ? e : "<!>" + e), t || (i = /** @type {Node} */
211
+ i === void 0 && (i = Jr(s ? e : "<!>" + e), t || (i = /** @type {Node} */
212
212
  re(i)));
213
213
  var n = (
214
214
  /** @type {TemplateNode} */
215
- a || Ze ? document.importNode(i, !0) : i.cloneNode(!0)
215
+ a || Je ? document.importNode(i, !0) : i.cloneNode(!0)
216
216
  );
217
217
  if (t) {
218
218
  var u = (
@@ -230,16 +230,16 @@ function gt(e, r) {
230
230
  }
231
231
  function pt(e = "") {
232
232
  if (!p) {
233
- var r = k(e + "");
233
+ var r = G(e + "");
234
234
  return M(r, r), r;
235
235
  }
236
236
  var t = N;
237
- return t.nodeType !== Xe && (t.before(t = k()), G(t)), M(t, t), t;
237
+ return t.nodeType !== Qe && (t.before(t = G()), k(t)), M(t, t), t;
238
238
  }
239
239
  function Et() {
240
240
  if (p)
241
241
  return M(N, null), N;
242
- var e = document.createDocumentFragment(), r = document.createComment(""), t = k();
242
+ var e = document.createDocumentFragment(), r = document.createComment(""), t = G();
243
243
  return e.append(r, t), M(r, t), e;
244
244
  }
245
245
  function At(e, r) {
@@ -259,7 +259,7 @@ function St(e, r) {
259
259
  function Ye(e, r) {
260
260
  return Fe(e, r);
261
261
  }
262
- function Jr(e, r) {
262
+ function Zr(e, r) {
263
263
  te(), r.intro = r.intro ?? !1;
264
264
  const t = r.target, a = p, i = N;
265
265
  try {
@@ -272,7 +272,7 @@ function Jr(e, r) {
272
272
  xe(s);
273
273
  if (!s)
274
274
  throw X;
275
- R(!0), G(
275
+ R(!0), k(
276
276
  /** @type {Comment} */
277
277
  s
278
278
  ), B();
@@ -287,7 +287,7 @@ function Jr(e, r) {
287
287
  return r.recover === !1 && tr(), te(), ar(t), R(!1), Ye(e, r);
288
288
  throw n;
289
289
  } finally {
290
- R(a), G(i);
290
+ R(a), k(i);
291
291
  }
292
292
  }
293
293
  const C = /* @__PURE__ */ new Map();
@@ -307,7 +307,7 @@ function Fe(e, { target: r, anchor: t, props: a = {}, events: i, context: s, int
307
307
  };
308
308
  l(ir(Be)), se.add(l);
309
309
  var f = void 0, E = sr(() => {
310
- var c = t ?? r.appendChild(k());
310
+ var c = t ?? r.appendChild(G());
311
311
  return D(() => {
312
312
  if (s) {
313
313
  nr({});
@@ -356,7 +356,7 @@ function Tt(e, r, [t, a] = [0, 0]) {
356
356
  T === me ? a = 0 : T === or ? a = 1 / 0 : (a = parseInt(T.substring(1)), a !== a && (a = u ? 1 / 0 : -1));
357
357
  }
358
358
  const A = a > t;
359
- !!u === A && (i = lr(), G(i), R(!1), h = !0, a = -1);
359
+ !!u === A && (i = lr(), k(i), R(!1), h = !0, a = -1);
360
360
  }
361
361
  u ? (s ? be(s) : v && (s = D(() => v(i))), n && ae(n, () => {
362
362
  n = null;
@@ -364,7 +364,7 @@ function Tt(e, r, [t, a] = [0, 0]) {
364
364
  s = null;
365
365
  })), h && R(!0);
366
366
  };
367
- Z(() => {
367
+ J(() => {
368
368
  f = !1, r(E), f || c(null, null);
369
369
  }, l), p && (i = N);
370
370
  }
@@ -377,7 +377,7 @@ function wt(e, r, t, a, i) {
377
377
  function yt(e, r, t) {
378
378
  p && B();
379
379
  var a = e, i, s;
380
- Z(() => {
380
+ J(() => {
381
381
  i !== (i = r()) && (s && (ae(s), s = null), i && (s = D(() => t(a, i))));
382
382
  }, De), p && (a = N);
383
383
  }
@@ -402,7 +402,7 @@ function Nt(e, r) {
402
402
  }
403
403
  function Xr(e, r) {
404
404
  var t = void 0, a;
405
- Z(() => {
405
+ J(() => {
406
406
  t !== (t = r()) && (a && (ie(a), a = null), t && (a = D(() => {
407
407
  $e(() => (
408
408
  /** @type {(node: Element) => void} */
@@ -411,17 +411,17 @@ function Xr(e, r) {
411
411
  })));
412
412
  });
413
413
  }
414
- function ke(e) {
414
+ function Ge(e) {
415
415
  var r, t, a = "";
416
416
  if (typeof e == "string" || typeof e == "number") a += e;
417
417
  else if (typeof e == "object") if (Array.isArray(e)) {
418
418
  var i = e.length;
419
- for (r = 0; r < i; r++) e[r] && (t = ke(e[r])) && (a && (a += " "), a += t);
419
+ for (r = 0; r < i; r++) e[r] && (t = Ge(e[r])) && (a && (a += " "), a += t);
420
420
  } else for (t in e) e[t] && (a && (a += " "), a += t);
421
421
  return a;
422
422
  }
423
423
  function xr() {
424
- for (var e, r, t = 0, a = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r = ke(e)) && (a && (a += " "), a += r);
424
+ for (var e, r, t = 0, a = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r = Ge(e)) && (a && (a += " "), a += r);
425
425
  return a;
426
426
  }
427
427
  function et(e) {
@@ -557,40 +557,40 @@ function st(e, r) {
557
557
  function ye(e) {
558
558
  return "__value" in e ? e.__value : e.value;
559
559
  }
560
- const j = Symbol("class"), U = Symbol("style"), Ge = Symbol("is custom element"), Ke = Symbol("is html");
560
+ const j = Symbol("class"), U = Symbol("style"), ke = Symbol("is custom element"), Ke = Symbol("is html");
561
561
  function It(e) {
562
562
  if (p) {
563
563
  var r = !1, t = () => {
564
564
  if (!r) {
565
565
  if (r = !0, e.hasAttribute("value")) {
566
566
  var a = e.value;
567
- z(e, "value", null), e.value = a;
567
+ W(e, "value", null), e.value = a;
568
568
  }
569
569
  if (e.hasAttribute("checked")) {
570
570
  var i = e.checked;
571
- z(e, "checked", null), e.checked = i;
571
+ W(e, "checked", null), e.checked = i;
572
572
  }
573
573
  }
574
574
  };
575
- e.__on_r = t, Er(t), Ve();
575
+ e.__on_r = t, pr(t), Ve();
576
576
  }
577
577
  }
578
578
  function nt(e, r) {
579
579
  r ? e.hasAttribute("selected") || e.setAttribute("selected", "") : e.removeAttribute("selected");
580
580
  }
581
- function z(e, r, t, a) {
582
- var i = We(e);
583
- p && (i[r] = e.getAttribute(r), r === "src" || r === "srcset" || r === "href" && e.nodeName === "LINK") || i[r] !== (i[r] = t) && (r === "loading" && (e[gr] = t), t == null ? e.removeAttribute(r) : typeof t != "string" && ze(e).includes(r) ? e[r] = t : e.setAttribute(r, t));
581
+ function W(e, r, t, a) {
582
+ var i = ze(e);
583
+ p && (i[r] = e.getAttribute(r), r === "src" || r === "srcset" || r === "href" && e.nodeName === "LINK") || i[r] !== (i[r] = t) && (r === "loading" && (e[Er] = t), t == null ? e.removeAttribute(r) : typeof t != "string" && We(e).includes(r) ? e[r] = t : e.setAttribute(r, t));
584
584
  }
585
585
  function ut(e, r, t, a, i = !1) {
586
- var s = We(e), n = s[Ge], u = !s[Ke];
586
+ var s = ze(e), n = s[ke], u = !s[Ke];
587
587
  let l = p && n;
588
588
  l && R(!1);
589
589
  var f = r || {}, E = e.tagName === "OPTION";
590
590
  for (var c in r)
591
591
  c in t || (t[c] = null);
592
592
  t.class ? t.class = et(t.class) : (a || t[j]) && (t.class = null), t[U] && (t.style ?? (t.style = null));
593
- var o = ze(e);
593
+ var o = We(e);
594
594
  for (const _ in t) {
595
595
  let b = t[_];
596
596
  if (E && _ === "value" && b == null) {
@@ -621,7 +621,7 @@ function ut(e, r, t, a, i = !1) {
621
621
  }
622
622
  if (b != null)
623
623
  if (T)
624
- e[`__${d}`] = b, zr([d]);
624
+ e[`__${d}`] = b, Wr([d]);
625
625
  else {
626
626
  let P = function($) {
627
627
  f[_].call(this, $);
@@ -630,9 +630,9 @@ function ut(e, r, t, a, i = !1) {
630
630
  }
631
631
  else T && (e[`__${d}`] = void 0);
632
632
  } else if (_ === "style")
633
- z(e, _, b);
633
+ W(e, _, b);
634
634
  else if (_ === "autofocus")
635
- Wr(
635
+ zr(
636
636
  /** @type {HTMLElement} */
637
637
  e,
638
638
  !!b
@@ -647,7 +647,7 @@ function ut(e, r, t, a, i = !1) {
647
647
  );
648
648
  else {
649
649
  var S = _;
650
- u || (S = kr(S));
650
+ u || (S = Gr(S));
651
651
  var m = S === "defaultValue" || S === "defaultChecked";
652
652
  if (b == null && !n && !m)
653
653
  if (s[_] = null, S === "value" || S === "checked") {
@@ -665,16 +665,16 @@ function ut(e, r, t, a, i = !1) {
665
665
  }
666
666
  } else
667
667
  e.removeAttribute(_);
668
- else m || o.includes(S) && (n || typeof b != "string") ? e[S] = b : typeof b != "function" && z(e, S, b);
668
+ else m || o.includes(S) && (n || typeof b != "string") ? e[S] = b : typeof b != "function" && W(e, S, b);
669
669
  }
670
670
  }
671
671
  }
672
672
  return l && R(!0), f;
673
673
  }
674
- function Lt(e, r, t = [], a, i = !1, s = W) {
674
+ function Lt(e, r, t = [], a, i = !1, s = z) {
675
675
  const n = t.map(s);
676
676
  var u = void 0, l = {}, f = e.nodeName === "SELECT", E = !1;
677
- Z(() => {
677
+ J(() => {
678
678
  var c = r(...n.map(y)), o = ut(e, u, c, a, i);
679
679
  E && f && "value" in c && ue(
680
680
  /** @type {HTMLSelectElement} */
@@ -686,7 +686,7 @@ function Lt(e, r, t = [], a, i = !1, s = W) {
686
686
  c[h] || ie(l[h]);
687
687
  for (let h of Object.getOwnPropertySymbols(c)) {
688
688
  var v = c[h];
689
- h.description === pr && (!u || v !== u[h]) && (l[h] && ie(l[h]), l[h] = D(() => Xr(e, () => v))), o[h] = v;
689
+ h.description === gr && (!u || v !== u[h]) && (l[h] && ie(l[h]), l[h] = D(() => Xr(e, () => v))), o[h] = v;
690
690
  }
691
691
  u = o;
692
692
  }), f && st(
@@ -698,18 +698,18 @@ function Lt(e, r, t = [], a, i = !1, s = W) {
698
698
  )
699
699
  ), E = !0;
700
700
  }
701
- function We(e) {
701
+ function ze(e) {
702
702
  return (
703
703
  /** @type {Record<string | symbol, unknown>} **/
704
704
  // @ts-expect-error
705
705
  e.__attributes ?? (e.__attributes = {
706
- [Ge]: e.nodeName.includes("-"),
706
+ [ke]: e.nodeName.includes("-"),
707
707
  [Ke]: e.namespaceURI === _r
708
708
  })
709
709
  );
710
710
  }
711
711
  var Ne = /* @__PURE__ */ new Map();
712
- function ze(e) {
712
+ function We(e) {
713
713
  var r = Ne.get(e.nodeName);
714
714
  if (r) return r;
715
715
  Ne.set(e.nodeName, r = []);
@@ -733,7 +733,7 @@ function Ot(e = !1) {
733
733
  /** @type {Record<string, any>} */
734
734
  {}
735
735
  );
736
- const n = W(() => {
736
+ const n = z(() => {
737
737
  let u = !1;
738
738
  const l = r.s;
739
739
  for (const f in l)
@@ -846,7 +846,7 @@ const ot = {
846
846
  }
847
847
  };
848
848
  function Dt(e, r) {
849
- return new Proxy({ props: e, exclude: r, special: {}, version: Dr(0) }, ot);
849
+ return new Proxy({ props: e, exclude: r, special: {}, version: Or(0) }, ot);
850
850
  }
851
851
  function Le(e) {
852
852
  var r;
@@ -854,13 +854,13 @@ function Le(e) {
854
854
  }
855
855
  function lt(e, r, t, a) {
856
856
  var L;
857
- var i = (t & Ur) !== 0, s = !Mr || (t & mr) !== 0, n = (t & Cr) !== 0, u = (t & jr) !== 0, l = !1, f;
857
+ var i = (t & $r) !== 0, s = !Cr || (t & Dr) !== 0, n = (t & Rr) !== 0, u = (t & jr) !== 0, l = !1, f;
858
858
  n ? [f, l] = ft(() => (
859
859
  /** @type {V} */
860
860
  e[r]
861
861
  )) : f = /** @type {V} */
862
862
  e[r];
863
- var E = Or in e || je in e, c = n && (((L = Nr(e, r)) == null ? void 0 : L.set) ?? (E && r in e && ((d) => e[r] = d))) || void 0, o = (
863
+ var E = Pr in e || je in e, c = n && (((L = Nr(e, r)) == null ? void 0 : L.set) ?? (E && r in e && ((d) => e[r] = d))) || void 0, o = (
864
864
  /** @type {V} */
865
865
  a
866
866
  ), v = !0, h = !1, A = () => (h = !0, v && (v = !1, u ? o = K(
@@ -868,7 +868,7 @@ function lt(e, r, t, a) {
868
868
  a
869
869
  ) : o = /** @type {V} */
870
870
  a), o);
871
- f === void 0 && a !== void 0 && (c && s && $r(), f = A(), c && c(f));
871
+ f === void 0 && a !== void 0 && (c && s && Ur(), f = A(), c && c(f));
872
872
  var T;
873
873
  if (s)
874
874
  T = () => {
@@ -879,13 +879,13 @@ function lt(e, r, t, a) {
879
879
  return d === void 0 ? A() : (v = !0, h = !1, d);
880
880
  };
881
881
  else {
882
- var S = (i ? W : Rr)(
882
+ var S = (i ? z : mr)(
883
883
  () => (
884
884
  /** @type {V} */
885
885
  e[r]
886
886
  )
887
887
  );
888
- S.f |= Pr, T = () => {
888
+ S.f |= Mr, T = () => {
889
889
  var d = y(S);
890
890
  return d !== void 0 && (o = /** @type {V} */
891
891
  void 0), d === void 0 ? o : d;
@@ -899,7 +899,7 @@ function lt(e, r, t, a) {
899
899
  return arguments.length > 0 ? ((!s || !P || m || l) && c(P ? T() : d), d) : T();
900
900
  };
901
901
  }
902
- var _ = !1, b = ce(f), g = W(() => {
902
+ var _ = !1, b = ce(f), g = z(() => {
903
903
  var d = T(), P = y(b);
904
904
  return _ ? (_ = !1, P) : b.v = d;
905
905
  });
@@ -928,9 +928,9 @@ class ct {
928
928
  */
929
929
  constructor(r) {
930
930
  /** @type {any} */
931
- J(this, O);
931
+ Z(this, O);
932
932
  /** @type {Record<string, any>} */
933
- J(this, I);
933
+ Z(this, I);
934
934
  var s;
935
935
  var t = /* @__PURE__ */ new Map(), a = (n, u) => {
936
936
  var l = ce(u, !1, !1);
@@ -950,7 +950,7 @@ class ct {
950
950
  }
951
951
  }
952
952
  );
953
- Q(this, I, (r.hydrate ? Jr : Ye)(r.component, {
953
+ Q(this, I, (r.hydrate ? Zr : Ye)(r.component, {
954
954
  target: r.target,
955
955
  anchor: r.anchor,
956
956
  props: i,
@@ -1026,13 +1026,13 @@ export {
1026
1026
  lt as p,
1027
1027
  yt as q,
1028
1028
  St as r,
1029
- z as s,
1029
+ W as s,
1030
1030
  pt as t,
1031
1031
  Rt as u,
1032
1032
  It as v,
1033
1033
  nt as w,
1034
1034
  Lt as x,
1035
1035
  M as y,
1036
- Zr as z
1036
+ Jr as z
1037
1037
  };
1038
- //# sourceMappingURL=legacy-BgObIK2n.js.map
1038
+ //# sourceMappingURL=legacy-CMJEekqF.js.map