@ -751,7 +751,7 @@ export function bind_invalid_name(node, name, explanation) {
*@returns{never}
*/
exportfunctionbind_invalid_parens(node,name){
e(node,"bind_invalid_parens",`\`bind:${name}={get, set}\` must not have surrounding parentheses\nSee https://svelte.dev/e/bind_invalid_name for more infobind_invalid_parens for more info`);
e(node,"bind_invalid_parens",`\`bind:${name}={get, set}\` must not have surrounding parentheses\nSee https://svelte.dev/e/bind_invalid_parens for more info`);
}
/**
@ -762,7 +762,7 @@ export function bind_invalid_parens(node, name) {
e(node,"bind_invalid_target",`\`bind:${name}\` can only be used with ${elements}\nSee https://svelte.dev/e/bind_invalid_name for more infobind_invalid_target for more info`);
e(node,"bind_invalid_target",`\`bind:${name}\` can only be used with ${elements}\nSee https://svelte.dev/e/bind_invalid_target for more info`);
}
/**
@ -771,7 +771,7 @@ export function bind_invalid_target(node, name, elements) {
*@returns{never}
*/
exportfunctionbind_invalid_value(node){
e(node,"bind_invalid_value",`Can only bind to state or props\nSee https://svelte.dev/e/bind_invalid_name for more infobind_invalid_value for more info`);
e(node,"bind_invalid_value",`Can only bind to state or props\nSee https://svelte.dev/e/bind_invalid_value for more info`);
}
/**
@ -781,7 +781,7 @@ export function bind_invalid_value(node) {
*@returns{never}
*/
exportfunctionblock_duplicate_clause(node,name){
e(node,"block_duplicate_clause",`${name} cannot appear more than once within a block\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_duplicate_clause for more info`);
e(node,"block_duplicate_clause",`${name} cannot appear more than once within a block\nSee https://svelte.dev/e/block_duplicate_clause for more info`);
}
/**
@ -790,7 +790,7 @@ export function block_duplicate_clause(node, name) {
e(node,"block_invalid_continuation_placement",`{:...} block is invalid at this position (did you forget to close the preceding element or block?)\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_invalid_continuation_placement for more info`);
e(node,"block_invalid_continuation_placement",`{:...} block is invalid at this position (did you forget to close the preceding element or block?)\nSee https://svelte.dev/e/block_invalid_continuation_placement for more info`);
}
/**
@ -799,7 +799,7 @@ export function block_invalid_continuation_placement(node) {
*@returns{never}
*/
exportfunctionblock_invalid_elseif(node){
e(node,"block_invalid_elseif",`'elseif' should be 'else if'\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_invalid_elseif for more info`);
e(node,"block_invalid_elseif",`'elseif' should be 'else if'\nSee https://svelte.dev/e/block_invalid_elseif for more info`);
}
/**
@ -810,7 +810,7 @@ export function block_invalid_elseif(node) {
e(node,"block_invalid_placement",`{#${name} ...} block cannot be ${location}\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_invalid_placement for more info`);
e(node,"block_invalid_placement",`{#${name} ...} block cannot be ${location}\nSee https://svelte.dev/e/block_invalid_placement for more info`);
}
/**
@ -819,7 +819,7 @@ export function block_invalid_placement(node, name, location) {
*@returns{never}
*/
exportfunctionblock_unclosed(node){
e(node,"block_unclosed",`Block was left open\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_unclosed for more info`);
e(node,"block_unclosed",`Block was left open\nSee https://svelte.dev/e/block_unclosed for more info`);
}
/**
@ -829,7 +829,7 @@ export function block_unclosed(node) {
e(node,"block_unexpected_character",`Expected a \`${character}\` character immediately following the opening bracket\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_unexpected_character for more info`);
e(node,"block_unexpected_character",`Expected a \`${character}\` character immediately following the opening bracket\nSee https://svelte.dev/e/block_unexpected_character for more info`);
}
/**
@ -838,7 +838,7 @@ export function block_unexpected_character(node, character) {
*@returns{never}
*/
exportfunctionblock_unexpected_close(node){
e(node,"block_unexpected_close",`Unexpected block closing tag\nSee https://svelte.dev/e/bind_invalid_name for more infoblock_unexpected_close for more info`);
e(node,"block_unexpected_close",`Unexpected block closing tag\nSee https://svelte.dev/e/block_unexpected_close for more info`);
}
/**
@ -847,7 +847,7 @@ export function block_unexpected_close(node) {
*@returns{never}
*/
exportfunctioncomponent_invalid_directive(node){
e(node,"component_invalid_directive",`This type of directive is not valid on components\nSee https://svelte.dev/e/bind_invalid_name for more infocomponent_invalid_directive for more info`);
e(node,"component_invalid_directive",`This type of directive is not valid on components\nSee https://svelte.dev/e/component_invalid_directive for more info`);
}
/**
@ -857,7 +857,7 @@ export function component_invalid_directive(node) {
*@returns{never}
*/
exportfunctionconst_tag_cycle(node,cycle){
e(node,"const_tag_cycle",`Cyclical dependency detected: ${cycle}\nSee https://svelte.dev/e/bind_invalid_name for more infoconst_tag_cycle for more info`);
e(node,"const_tag_cycle",`Cyclical dependency detected: ${cycle}\nSee https://svelte.dev/e/const_tag_cycle for more info`);
}
/**
@ -866,7 +866,7 @@ export function const_tag_cycle(node, cycle) {
*@returns{never}
*/
exportfunctionconst_tag_invalid_expression(node){
e(node,"const_tag_invalid_expression",`{@const ...} must consist of a single variable declaration\nSee https://svelte.dev/e/bind_invalid_name for more infoconst_tag_invalid_expression for more info`);
e(node,"const_tag_invalid_expression",`{@const ...} must consist of a single variable declaration\nSee https://svelte.dev/e/const_tag_invalid_expression for more info`);
}
/**
@ -875,7 +875,7 @@ export function const_tag_invalid_expression(node) {
*@returns{never}
*/
exportfunctionconst_tag_invalid_placement(node){
e(node,"const_tag_invalid_placement",`\`{@const}\` must be the immediate child of \`{#snippet}\`, \`{#if}\`, \`{:else if}\`, \`{:else}\`, \`{#each}\`, \`{:then}\`, \`{:catch}\`, \`<svelte:fragment>\` or \`<Component>\`\nSee https://svelte.dev/e/bind_invalid_name for more infoconst_tag_invalid_placement for more info`);
e(node,"const_tag_invalid_placement",`\`{@const}\` must be the immediate child of \`{#snippet}\`, \`{#if}\`, \`{:else if}\`, \`{:else}\`, \`{#each}\`, \`{:then}\`, \`{:catch}\`, \`<svelte:fragment>\` or \`<Component>\`\nSee https://svelte.dev/e/const_tag_invalid_placement for more info`);
}
/**
@ -884,7 +884,7 @@ export function const_tag_invalid_placement(node) {
*@returns{never}
*/
exportfunctiondebug_tag_invalid_arguments(node){
e(node,"debug_tag_invalid_arguments",`{@debug ...} arguments must be identifiers, not arbitrary expressions\nSee https://svelte.dev/e/bind_invalid_name for more infodebug_tag_invalid_arguments for more info`);
e(node,"debug_tag_invalid_arguments",`{@debug ...} arguments must be identifiers, not arbitrary expressions\nSee https://svelte.dev/e/debug_tag_invalid_arguments for more info`);
}
/**
@ -893,7 +893,7 @@ export function debug_tag_invalid_arguments(node) {
*@returns{never}
*/
exportfunctiondirective_invalid_value(node){
e(node,"directive_invalid_value",`Directive value must be a JavaScript expression enclosed in curly braces\nSee https://svelte.dev/e/bind_invalid_name for more infodirective_invalid_value for more info`);
e(node,"directive_invalid_value",`Directive value must be a JavaScript expression enclosed in curly braces\nSee https://svelte.dev/e/directive_invalid_value for more info`);
}
/**
@ -903,7 +903,7 @@ export function directive_invalid_value(node) {
*@returns{never}
*/
exportfunctiondirective_missing_name(node,type){
e(node,"directive_missing_name",`\`${type}\` name cannot be empty\nSee https://svelte.dev/e/bind_invalid_name for more infodirective_missing_name for more info`);
e(node,"directive_missing_name",`\`${type}\` name cannot be empty\nSee https://svelte.dev/e/directive_missing_name for more info`);
}
/**
@ -913,7 +913,7 @@ export function directive_missing_name(node, type) {
e(node,"element_invalid_closing_tag",`\`</${name}>\` attempted to close an element that was not open\nSee https://svelte.dev/e/bind_invalid_name for more infoelement_invalid_closing_tag for more info`);
e(node,"element_invalid_closing_tag",`\`</${name}>\` attempted to close an element that was not open\nSee https://svelte.dev/e/element_invalid_closing_tag for more info`);
}
/**
@ -924,7 +924,7 @@ export function element_invalid_closing_tag(node, name) {
e(node,"element_invalid_closing_tag_autoclosed",`\`</${name}>\` attempted to close element that was already automatically closed by \`<${reason}>\` (cannot nest \`<${reason}>\` inside \`<${name}>\`)\nSee https://svelte.dev/e/bind_invalid_name for more infoelement_invalid_closing_tag_autoclosed for more info`);
e(node,"element_invalid_closing_tag_autoclosed",`\`</${name}>\` attempted to close element that was already automatically closed by \`<${reason}>\` (cannot nest \`<${reason}>\` inside \`<${name}>\`)\nSee https://svelte.dev/e/element_invalid_closing_tag_autoclosed for more info`);
}
/**
@ -934,7 +934,7 @@ export function element_invalid_closing_tag_autoclosed(node, name, reason) {
*@returns{never}
*/
exportfunctionelement_unclosed(node,name){
e(node,"element_unclosed",`\`<${name}>\` was left open\nSee https://svelte.dev/e/bind_invalid_name for more infoelement_unclosed for more info`);
e(node,"element_unclosed",`\`<${name}>\` was left open\nSee https://svelte.dev/e/element_unclosed for more info`);
}
/**
@ -943,7 +943,7 @@ export function element_unclosed(node, name) {
e(node,"event_handler_invalid_component_modifier",`Event modifiers other than 'once' can only be used on DOM elements\nSee https://svelte.dev/e/bind_invalid_name for more infoevent_handler_invalid_component_modifier for more info`);
e(node,"event_handler_invalid_component_modifier",`Event modifiers other than 'once' can only be used on DOM elements\nSee https://svelte.dev/e/event_handler_invalid_component_modifier for more info`);
}
/**
@ -953,7 +953,7 @@ export function event_handler_invalid_component_modifier(node) {
e(node,"event_handler_invalid_modifier",`Valid event modifiers are ${list}\nSee https://svelte.dev/e/bind_invalid_name for more infoevent_handler_invalid_modifier for more info`);
e(node,"event_handler_invalid_modifier",`Valid event modifiers are ${list}\nSee https://svelte.dev/e/event_handler_invalid_modifier for more info`);
}
/**
@ -964,7 +964,7 @@ export function event_handler_invalid_modifier(node, list) {
e(node,"event_handler_invalid_modifier_combination",`The '${modifier1}' and '${modifier2}' modifiers cannot be used together\nSee https://svelte.dev/e/bind_invalid_name for more infoevent_handler_invalid_modifier_combination for more info`);
e(node,"event_handler_invalid_modifier_combination",`The '${modifier1}' and '${modifier2}' modifiers cannot be used together\nSee https://svelte.dev/e/event_handler_invalid_modifier_combination for more info`);
}
/**
@ -973,7 +973,7 @@ export function event_handler_invalid_modifier_combination(node, modifier1, modi
*@returns{never}
*/
exportfunctionexpected_attribute_value(node){
e(node,"expected_attribute_value",`Expected attribute value\nSee https://svelte.dev/e/bind_invalid_name for more infoexpected_attribute_value for more info`);
e(node,"expected_attribute_value",`Expected attribute value\nSee https://svelte.dev/e/expected_attribute_value for more info`);
}
/**
@ -982,7 +982,7 @@ export function expected_attribute_value(node) {
*@returns{never}
*/
exportfunctionexpected_block_type(node){
e(node,"expected_block_type",`Expected 'if', 'each', 'await', 'key' or 'snippet'\nSee https://svelte.dev/e/bind_invalid_name for more infoexpected_block_type for more info`);
e(node,"expected_block_type",`Expected 'if', 'each', 'await', 'key' or 'snippet'\nSee https://svelte.dev/e/expected_block_type for more info`);
}
/**
@ -991,7 +991,7 @@ export function expected_block_type(node) {
*@returns{never}
*/
exportfunctionexpected_identifier(node){
e(node,"expected_identifier",`Expected an identifier\nSee https://svelte.dev/e/bind_invalid_name for more infoexpected_identifier for more info`);
e(node,"expected_identifier",`Expected an identifier\nSee https://svelte.dev/e/expected_identifier for more info`);
}
/**
@ -1000,7 +1000,7 @@ export function expected_identifier(node) {
*@returns{never}
*/
exportfunctionexpected_pattern(node){
e(node,"expected_pattern",`Expected identifier or destructure pattern\nSee https://svelte.dev/e/bind_invalid_name for more infoexpected_pattern for more info`);
e(node,"expected_pattern",`Expected identifier or destructure pattern\nSee https://svelte.dev/e/expected_pattern for more info`);
}
/**
@ -1010,7 +1010,7 @@ export function expected_pattern(node) {
*@returns{never}
*/
exportfunctionexpected_token(node,token){
e(node,"expected_token",`Expected token ${token}\nSee https://svelte.dev/e/bind_invalid_name for more infoexpected_token for more info`);
e(node,"expected_token",`Expected token ${token}\nSee https://svelte.dev/e/expected_token for more info`);
}
/**
@ -1019,7 +1019,7 @@ export function expected_token(node, token) {
*@returns{never}
*/
exportfunctionexpected_whitespace(node){
e(node,"expected_whitespace",`Expected whitespace\nSee https://svelte.dev/e/bind_invalid_name for more infoexpected_whitespace for more info`);
e(node,"expected_whitespace",`Expected whitespace\nSee https://svelte.dev/e/expected_whitespace for more info`);
}
/**
@ -1029,7 +1029,7 @@ export function expected_whitespace(node) {
e(node,"illegal_element_attribute",`\`<${name}>\` does not support non-event attributes or spread attributes\nSee https://svelte.dev/e/bind_invalid_name for more infoillegal_element_attribute for more info`);
e(node,"illegal_element_attribute",`\`<${name}>\` does not support non-event attributes or spread attributes\nSee https://svelte.dev/e/illegal_element_attribute for more info`);
}
/**
@ -1039,7 +1039,7 @@ export function illegal_element_attribute(node, name) {
*@returns{never}
*/
exportfunctionjs_parse_error(node,message){
e(node,"js_parse_error",`${message}\nSee https://svelte.dev/e/bind_invalid_name for more infojs_parse_error for more info`);
e(node,"js_parse_error",`${message}\nSee https://svelte.dev/e/js_parse_error for more info`);
}
/**
@ -1048,7 +1048,7 @@ export function js_parse_error(node, message) {
e(node,"let_directive_invalid_placement",`\`let:\` directive at invalid position\nSee https://svelte.dev/e/bind_invalid_name for more infolet_directive_invalid_placement for more info`);
e(node,"let_directive_invalid_placement",`\`let:\` directive at invalid position\nSee https://svelte.dev/e/let_directive_invalid_placement for more info`);
}
/**
@ -1058,7 +1058,7 @@ export function let_directive_invalid_placement(node) {
e(node,"mixed_event_handler_syntaxes",`Mixing old (on:${name}) and new syntaxes for event handling is not allowed. Use only the on${name} syntax\nSee https://svelte.dev/e/bind_invalid_name for more infomixed_event_handler_syntaxes for more info`);
e(node,"mixed_event_handler_syntaxes",`Mixing old (on:${name}) and new syntaxes for event handling is not allowed. Use only the on${name} syntax\nSee https://svelte.dev/e/mixed_event_handler_syntaxes for more info`);
}
/**
@ -1068,7 +1068,7 @@ export function mixed_event_handler_syntaxes(node, name) {
e(node,"node_invalid_placement",`${message}. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.\nSee https://svelte.dev/e/bind_invalid_name for more infonode_invalid_placement for more info`);
e(node,"node_invalid_placement",`${message}. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.\nSee https://svelte.dev/e/node_invalid_placement for more info`);
}
/**
@ -1077,7 +1077,7 @@ export function node_invalid_placement(node, message) {
e(node,"render_tag_invalid_call_expression",`Calling a snippet function using apply, bind or call is not allowed\nSee https://svelte.dev/e/bind_invalid_name for more inforender_tag_invalid_call_expression for more info`);
e(node,"render_tag_invalid_call_expression",`Calling a snippet function using apply, bind or call is not allowed\nSee https://svelte.dev/e/render_tag_invalid_call_expression for more info`);
}
/**
@ -1086,7 +1086,7 @@ export function render_tag_invalid_call_expression(node) {
e(node,"render_tag_invalid_expression",`\`{@render ...}\` tags can only contain call expressions\nSee https://svelte.dev/e/bind_invalid_name for more inforender_tag_invalid_expression for more info`);
e(node,"render_tag_invalid_expression",`\`{@render ...}\` tags can only contain call expressions\nSee https://svelte.dev/e/render_tag_invalid_expression for more info`);
}
/**
@ -1095,7 +1095,7 @@ export function render_tag_invalid_expression(node) {
e(node,"render_tag_invalid_spread_argument",`cannot use spread arguments in \`{@render ...}\` tags\nSee https://svelte.dev/e/bind_invalid_name for more inforender_tag_invalid_spread_argument for more info`);
e(node,"render_tag_invalid_spread_argument",`cannot use spread arguments in \`{@render ...}\` tags\nSee https://svelte.dev/e/render_tag_invalid_spread_argument for more info`);
}
/**
@ -1104,7 +1104,7 @@ export function render_tag_invalid_spread_argument(node) {
*@returns{never}
*/
exportfunctionscript_duplicate(node){
e(node,"script_duplicate",`A component can have a single top-level \`<script>\` element and/or a single top-level \`<script module>\` element\nSee https://svelte.dev/e/bind_invalid_name for more infoscript_duplicate for more info`);
e(node,"script_duplicate",`A component can have a single top-level \`<script>\` element and/or a single top-level \`<script module>\` element\nSee https://svelte.dev/e/script_duplicate for more info`);
}
/**
@ -1114,7 +1114,7 @@ export function script_duplicate(node) {
e(node,"script_invalid_attribute_value",`If the \`${name}\` attribute is supplied, it must be a boolean attribute\nSee https://svelte.dev/e/bind_invalid_name for more infoscript_invalid_attribute_value for more info`);
e(node,"script_invalid_attribute_value",`If the \`${name}\` attribute is supplied, it must be a boolean attribute\nSee https://svelte.dev/e/script_invalid_attribute_value for more info`);
}
/**
@ -1123,7 +1123,7 @@ export function script_invalid_attribute_value(node, name) {
*@returns{never}
*/
exportfunctionscript_invalid_context(node){
e(node,"script_invalid_context",`If the context attribute is supplied, its value must be "module"\nSee https://svelte.dev/e/bind_invalid_name for more infoscript_invalid_context for more info`);
e(node,"script_invalid_context",`If the context attribute is supplied, its value must be "module"\nSee https://svelte.dev/e/script_invalid_context for more info`);
}
/**
@ -1133,7 +1133,7 @@ export function script_invalid_context(node) {
e(node,"script_reserved_attribute",`The \`${name}\` attribute is reserved and cannot be used\nSee https://svelte.dev/e/bind_invalid_name for more infoscript_reserved_attribute for more info`);
e(node,"script_reserved_attribute",`The \`${name}\` attribute is reserved and cannot be used\nSee https://svelte.dev/e/script_reserved_attribute for more info`);
}
/**
@ -1144,7 +1144,7 @@ export function script_reserved_attribute(node, name) {
e(node,"slot_attribute_duplicate",`Duplicate slot name '${name}' in <${component}>\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_attribute_duplicate for more info`);
e(node,"slot_attribute_duplicate",`Duplicate slot name '${name}' in <${component}>\nSee https://svelte.dev/e/slot_attribute_duplicate for more info`);
}
/**
@ -1153,7 +1153,7 @@ export function slot_attribute_duplicate(node, name, component) {
*@returns{never}
*/
exportfunctionslot_attribute_invalid(node){
e(node,"slot_attribute_invalid",`slot attribute must be a static value\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_attribute_invalid for more info`);
e(node,"slot_attribute_invalid",`slot attribute must be a static value\nSee https://svelte.dev/e/slot_attribute_invalid for more info`);
}
/**
@ -1162,7 +1162,7 @@ export function slot_attribute_invalid(node) {
e(node,"slot_attribute_invalid_placement",`Element with a slot='...' attribute must be a child of a component or a descendant of a custom element\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_attribute_invalid_placement for more info`);
e(node,"slot_attribute_invalid_placement",`Element with a slot='...' attribute must be a child of a component or a descendant of a custom element\nSee https://svelte.dev/e/slot_attribute_invalid_placement for more info`);
}
/**
@ -1171,7 +1171,7 @@ export function slot_attribute_invalid_placement(node) {
*@returns{never}
*/
exportfunctionslot_default_duplicate(node){
e(node,"slot_default_duplicate",`Found default slot content alongside an explicit slot="default"\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_default_duplicate for more info`);
e(node,"slot_default_duplicate",`Found default slot content alongside an explicit slot="default"\nSee https://svelte.dev/e/slot_default_duplicate for more info`);
}
/**
@ -1180,7 +1180,7 @@ export function slot_default_duplicate(node) {
e(node,"slot_element_invalid_attribute",`\`<slot>\` can only receive attributes and (optionally) let directives\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_element_invalid_attribute for more info`);
e(node,"slot_element_invalid_attribute",`\`<slot>\` can only receive attributes and (optionally) let directives\nSee https://svelte.dev/e/slot_element_invalid_attribute for more info`);
}
/**
@ -1189,7 +1189,7 @@ export function slot_element_invalid_attribute(node) {
*@returns{never}
*/
exportfunctionslot_element_invalid_name(node){
e(node,"slot_element_invalid_name",`slot attribute must be a static value\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_element_invalid_name for more info`);
e(node,"slot_element_invalid_name",`slot attribute must be a static value\nSee https://svelte.dev/e/slot_element_invalid_name for more info`);
}
/**
@ -1198,7 +1198,7 @@ export function slot_element_invalid_name(node) {
e(node,"slot_element_invalid_name_default",`\`default\` is a reserved word — it cannot be used as a slot name\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_element_invalid_name_default for more info`);
e(node,"slot_element_invalid_name_default",`\`default\` is a reserved word — it cannot be used as a slot name\nSee https://svelte.dev/e/slot_element_invalid_name_default for more info`);
}
/**
@ -1207,7 +1207,7 @@ export function slot_element_invalid_name_default(node) {
*@returns{never}
*/
exportfunctionslot_snippet_conflict(node){
e(node,"slot_snippet_conflict",`Cannot use \`<slot>\` syntax and \`{@render ...}\` tags in the same component. Migrate towards \`{@render ...}\` tags completely\nSee https://svelte.dev/e/bind_invalid_name for more infoslot_snippet_conflict for more info`);
e(node,"slot_snippet_conflict",`Cannot use \`<slot>\` syntax and \`{@render ...}\` tags in the same component. Migrate towards \`{@render ...}\` tags completely\nSee https://svelte.dev/e/slot_snippet_conflict for more info`);
}
/**
@ -1216,7 +1216,7 @@ export function slot_snippet_conflict(node) {
*@returns{never}
*/
exportfunctionsnippet_conflict(node){
e(node,"snippet_conflict",`Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block\nSee https://svelte.dev/e/bind_invalid_name for more infosnippet_conflict for more info`);
e(node,"snippet_conflict",`Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block\nSee https://svelte.dev/e/snippet_conflict for more info`);
}
/**
@ -1225,7 +1225,7 @@ export function snippet_conflict(node) {
e(node,"snippet_invalid_rest_parameter",`Snippets do not support rest parameters; use an array instead\nSee https://svelte.dev/e/bind_invalid_name for more infosnippet_invalid_rest_parameter for more info`);
e(node,"snippet_invalid_rest_parameter",`Snippets do not support rest parameters; use an array instead\nSee https://svelte.dev/e/snippet_invalid_rest_parameter for more info`);
}
/**
@ -1235,7 +1235,7 @@ export function snippet_invalid_rest_parameter(node) {
*@returns{never}
*/
exportfunctionsnippet_shadowing_prop(node,prop){
e(node,"snippet_shadowing_prop",`This snippet is shadowing the prop \`${prop}\` with the same name\nSee https://svelte.dev/e/bind_invalid_name for more infosnippet_shadowing_prop for more info`);
e(node,"snippet_shadowing_prop",`This snippet is shadowing the prop \`${prop}\` with the same name\nSee https://svelte.dev/e/snippet_shadowing_prop for more info`);
}
/**
@ -1244,7 +1244,7 @@ export function snippet_shadowing_prop(node, prop) {
e(node,"style_directive_invalid_modifier",`\`style:\` directive can only use the \`important\` modifier\nSee https://svelte.dev/e/bind_invalid_name for more infostyle_directive_invalid_modifier for more info`);
e(node,"style_directive_invalid_modifier",`\`style:\` directive can only use the \`important\` modifier\nSee https://svelte.dev/e/style_directive_invalid_modifier for more info`);
}
/**
@ -1253,7 +1253,7 @@ export function style_directive_invalid_modifier(node) {
*@returns{never}
*/
exportfunctionstyle_duplicate(node){
e(node,"style_duplicate",`A component can have a single top-level \`<style>\` element\nSee https://svelte.dev/e/bind_invalid_name for more infostyle_duplicate for more info`);
e(node,"style_duplicate",`A component can have a single top-level \`<style>\` element\nSee https://svelte.dev/e/style_duplicate for more info`);
}
/**
@ -1262,7 +1262,7 @@ export function style_duplicate(node) {
e(node,"svelte_body_illegal_attribute",`\`<svelte:body>\` does not support non-event attributes or spread attributes\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_body_illegal_attribute for more info`);
e(node,"svelte_body_illegal_attribute",`\`<svelte:body>\` does not support non-event attributes or spread attributes\nSee https://svelte.dev/e/svelte_body_illegal_attribute for more info`);
}
/**
@ -1271,7 +1271,7 @@ export function svelte_body_illegal_attribute(node) {
e(node,"svelte_boundary_invalid_attribute",`Valid attributes on \`<svelte:boundary>\` are \`onerror\` and \`failed\`\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_boundary_invalid_attribute for more info`);
e(node,"svelte_boundary_invalid_attribute",`Valid attributes on \`<svelte:boundary>\` are \`onerror\` and \`failed\`\nSee https://svelte.dev/e/svelte_boundary_invalid_attribute for more info`);
}
/**
@ -1280,7 +1280,7 @@ export function svelte_boundary_invalid_attribute(node) {
e(node,"svelte_boundary_invalid_attribute_value",`Attribute value must be a non-string expression\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_boundary_invalid_attribute_value for more info`);
e(node,"svelte_boundary_invalid_attribute_value",`Attribute value must be a non-string expression\nSee https://svelte.dev/e/svelte_boundary_invalid_attribute_value for more info`);
}
/**
@ -1289,7 +1289,7 @@ export function svelte_boundary_invalid_attribute_value(node) {
e(node,"svelte_component_invalid_this",`Invalid component definition — must be an \`{expression}\`\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_component_invalid_this for more info`);
e(node,"svelte_component_invalid_this",`Invalid component definition — must be an \`{expression}\`\nSee https://svelte.dev/e/svelte_component_invalid_this for more info`);
}
/**
@ -1298,7 +1298,7 @@ export function svelte_component_invalid_this(node) {
e(node,"svelte_component_missing_this",`\`<svelte:component>\` must have a 'this' attribute\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_component_missing_this for more info`);
e(node,"svelte_component_missing_this",`\`<svelte:component>\` must have a 'this' attribute\nSee https://svelte.dev/e/svelte_component_missing_this for more info`);
}
/**
@ -1307,7 +1307,7 @@ export function svelte_component_missing_this(node) {
*@returns{never}
*/
exportfunctionsvelte_element_missing_this(node){
e(node,"svelte_element_missing_this",`\`<svelte:element>\` must have a 'this' attribute with a value\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_element_missing_this for more info`);
e(node,"svelte_element_missing_this",`\`<svelte:element>\` must have a 'this' attribute with a value\nSee https://svelte.dev/e/svelte_element_missing_this for more info`);
}
/**
@ -1316,7 +1316,7 @@ export function svelte_element_missing_this(node) {
e(node,"svelte_fragment_invalid_attribute",`\`<svelte:fragment>\` can only have a slot attribute and (optionally) a let: directive\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_fragment_invalid_attribute for more info`);
e(node,"svelte_fragment_invalid_attribute",`\`<svelte:fragment>\` can only have a slot attribute and (optionally) a let: directive\nSee https://svelte.dev/e/svelte_fragment_invalid_attribute for more info`);
}
/**
@ -1325,7 +1325,7 @@ export function svelte_fragment_invalid_attribute(node) {
e(node,"svelte_fragment_invalid_placement",`\`<svelte:fragment>\` must be the direct child of a component\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_fragment_invalid_placement for more info`);
e(node,"svelte_fragment_invalid_placement",`\`<svelte:fragment>\` must be the direct child of a component\nSee https://svelte.dev/e/svelte_fragment_invalid_placement for more info`);
}
/**
@ -1334,7 +1334,7 @@ export function svelte_fragment_invalid_placement(node) {
e(node,"svelte_head_illegal_attribute",`\`<svelte:head>\` cannot have attributes nor directives\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_head_illegal_attribute for more info`);
e(node,"svelte_head_illegal_attribute",`\`<svelte:head>\` cannot have attributes nor directives\nSee https://svelte.dev/e/svelte_head_illegal_attribute for more info`);
}
/**
@ -1344,7 +1344,7 @@ export function svelte_head_illegal_attribute(node) {
*@returns{never}
*/
exportfunctionsvelte_meta_duplicate(node,name){
e(node,"svelte_meta_duplicate",`A component can only have one \`<${name}>\` element\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_meta_duplicate for more info`);
e(node,"svelte_meta_duplicate",`A component can only have one \`<${name}>\` element\nSee https://svelte.dev/e/svelte_meta_duplicate for more info`);
}
/**
@ -1354,7 +1354,7 @@ export function svelte_meta_duplicate(node, name) {
e(node,"svelte_meta_invalid_content",`<${name}> cannot have children\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_meta_invalid_content for more info`);
e(node,"svelte_meta_invalid_content",`<${name}> cannot have children\nSee https://svelte.dev/e/svelte_meta_invalid_content for more info`);
}
/**
@ -1364,7 +1364,7 @@ export function svelte_meta_invalid_content(node, name) {
e(node,"svelte_meta_invalid_placement",`\`<${name}>\` tags cannot be inside elements or blocks\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_meta_invalid_placement for more info`);
e(node,"svelte_meta_invalid_placement",`\`<${name}>\` tags cannot be inside elements or blocks\nSee https://svelte.dev/e/svelte_meta_invalid_placement for more info`);
}
/**
@ -1374,7 +1374,7 @@ export function svelte_meta_invalid_placement(node, name) {
*@returns{never}
*/
exportfunctionsvelte_meta_invalid_tag(node,list){
e(node,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${list}\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_meta_invalid_tag for more info`);
e(node,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${list}\nSee https://svelte.dev/e/svelte_meta_invalid_tag for more info`);
}
/**
@ -1383,7 +1383,7 @@ export function svelte_meta_invalid_tag(node, list) {
e(node,"svelte_options_deprecated_tag",`"tag" option is deprecated — use "customElement" instead\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_deprecated_tag for more info`);
e(node,"svelte_options_deprecated_tag",`"tag" option is deprecated — use "customElement" instead\nSee https://svelte.dev/e/svelte_options_deprecated_tag for more info`);
}
/**
@ -1392,7 +1392,7 @@ export function svelte_options_deprecated_tag(node) {
e(node,"svelte_options_invalid_attribute",`\`<svelte:options>\` can only receive static attributes\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_invalid_attribute for more info`);
e(node,"svelte_options_invalid_attribute",`\`<svelte:options>\` can only receive static attributes\nSee https://svelte.dev/e/svelte_options_invalid_attribute for more info`);
}
/**
@ -1402,7 +1402,7 @@ export function svelte_options_invalid_attribute(node) {
e(node,"svelte_options_invalid_attribute_value",`Value must be ${list}, if specified\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_invalid_attribute_value for more info`);
e(node,"svelte_options_invalid_attribute_value",`Value must be ${list}, if specified\nSee https://svelte.dev/e/svelte_options_invalid_attribute_value for more info`);
}
/**
@ -1411,7 +1411,7 @@ export function svelte_options_invalid_attribute_value(node, list) {
e(node,"svelte_options_invalid_customelement",`"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_invalid_customelement for more info`);
e(node,"svelte_options_invalid_customelement",`"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }\nSee https://svelte.dev/e/svelte_options_invalid_customelement for more info`);
}
/**
@ -1420,7 +1420,7 @@ export function svelte_options_invalid_customelement(node) {
e(node,"svelte_options_invalid_customelement_props",`"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_invalid_customelement_props for more info`);
e(node,"svelte_options_invalid_customelement_props",`"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"\nSee https://svelte.dev/e/svelte_options_invalid_customelement_props for more info`);
}
/**
@ -1429,7 +1429,7 @@ export function svelte_options_invalid_customelement_props(node) {
e(node,"svelte_options_invalid_customelement_shadow",`"shadow" must be either "open" or "none"\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_invalid_customelement_shadow for more info`);
e(node,"svelte_options_invalid_customelement_shadow",`"shadow" must be either "open" or "none"\nSee https://svelte.dev/e/svelte_options_invalid_customelement_shadow for more info`);
}
/**
@ -1438,7 +1438,7 @@ export function svelte_options_invalid_customelement_shadow(node) {
e(node,"svelte_options_invalid_tagname",`Tag name must be lowercase and hyphenated\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_invalid_tagname for more info`);
e(node,"svelte_options_invalid_tagname",`Tag name must be lowercase and hyphenated\nSee https://svelte.dev/e/svelte_options_invalid_tagname for more info`);
}
/**
@ -1447,7 +1447,7 @@ export function svelte_options_invalid_tagname(node) {
e(node,"svelte_options_reserved_tagname",`Tag name is reserved\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_reserved_tagname for more info`);
e(node,"svelte_options_reserved_tagname",`Tag name is reserved\nSee https://svelte.dev/e/svelte_options_reserved_tagname for more info`);
}
/**
@ -1457,7 +1457,7 @@ export function svelte_options_reserved_tagname(node) {
e(node,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${name}'\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_options_unknown_attribute for more info`);
e(node,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${name}'\nSee https://svelte.dev/e/svelte_options_unknown_attribute for more info`);
}
/**
@ -1466,7 +1466,7 @@ export function svelte_options_unknown_attribute(node, name) {
e(node,"svelte_self_invalid_placement",`\`<svelte:self>\` components can only exist inside \`{#if}\` blocks, \`{#each}\` blocks, \`{#snippet}\` blocks or slots passed to components\nSee https://svelte.dev/e/bind_invalid_name for more infosvelte_self_invalid_placement for more info`);
e(node,"svelte_self_invalid_placement",`\`<svelte:self>\` components can only exist inside \`{#if}\` blocks, \`{#each}\` blocks, \`{#snippet}\` blocks or slots passed to components\nSee https://svelte.dev/e/svelte_self_invalid_placement for more info`);
}
/**
@ -1475,7 +1475,7 @@ export function svelte_self_invalid_placement(node) {
*@returns{never}
*/
exportfunctiontag_invalid_name(node){
e(node,"tag_invalid_name",`Expected a valid element or component name. Components must have a valid variable name or dot notation expression\nSee https://svelte.dev/e/bind_invalid_name for more infotag_invalid_name for more info`);
e(node,"tag_invalid_name",`Expected a valid element or component name. Components must have a valid variable name or dot notation expression\nSee https://svelte.dev/e/tag_invalid_name for more info`);
}
/**
@ -1486,7 +1486,7 @@ export function tag_invalid_name(node) {
e(node,"tag_invalid_placement",`{@${name} ...} tag cannot be ${location}\nSee https://svelte.dev/e/bind_invalid_name for more infotag_invalid_placement for more info`);
e(node,"tag_invalid_placement",`{@${name} ...} tag cannot be ${location}\nSee https://svelte.dev/e/tag_invalid_placement for more info`);
}
/**
@ -1495,7 +1495,7 @@ export function tag_invalid_placement(node, name, location) {
*@returns{never}
*/
exportfunctiontextarea_invalid_content(node){
e(node,"textarea_invalid_content",`A \`<textarea>\` can have either a value attribute or (equivalently) child content, but not both\nSee https://svelte.dev/e/bind_invalid_name for more infotextarea_invalid_content for more info`);
e(node,"textarea_invalid_content",`A \`<textarea>\` can have either a value attribute or (equivalently) child content, but not both\nSee https://svelte.dev/e/textarea_invalid_content for more info`);
}
/**
@ -1504,7 +1504,7 @@ export function textarea_invalid_content(node) {
*@returns{never}
*/
exportfunctiontitle_illegal_attribute(node){
e(node,"title_illegal_attribute",`\`<title>\` cannot have attributes nor directives\nSee https://svelte.dev/e/bind_invalid_name for more infotitle_illegal_attribute for more info`);
e(node,"title_illegal_attribute",`\`<title>\` cannot have attributes nor directives\nSee https://svelte.dev/e/title_illegal_attribute for more info`);
}
/**
@ -1513,7 +1513,7 @@ export function title_illegal_attribute(node) {
*@returns{never}
*/
exportfunctiontitle_invalid_content(node){
e(node,"title_invalid_content",`\`<title>\` can only contain text and {tags}\nSee https://svelte.dev/e/bind_invalid_name for more infotitle_invalid_content for more info`);
e(node,"title_invalid_content",`\`<title>\` can only contain text and {tags}\nSee https://svelte.dev/e/title_invalid_content for more info`);
}
/**
@ -1524,7 +1524,7 @@ export function title_invalid_content(node) {
e(node,"transition_conflict",`Cannot use \`${type}:\` alongside existing \`${existing}:\` directive\nSee https://svelte.dev/e/bind_invalid_name for more infotransition_conflict for more info`);
e(node,"transition_conflict",`Cannot use \`${type}:\` alongside existing \`${existing}:\` directive\nSee https://svelte.dev/e/transition_conflict for more info`);
}
/**
@ -1534,7 +1534,7 @@ export function transition_conflict(node, type, existing) {
*@returns{never}
*/
exportfunctiontransition_duplicate(node,type){
e(node,"transition_duplicate",`Cannot use multiple \`${type}:\` directives on a single element\nSee https://svelte.dev/e/bind_invalid_name for more infotransition_duplicate for more info`);
e(node,"transition_duplicate",`Cannot use multiple \`${type}:\` directives on a single element\nSee https://svelte.dev/e/transition_duplicate for more info`);
}
/**
@ -1543,7 +1543,7 @@ export function transition_duplicate(node, type) {
*@returns{never}
*/
exportfunctionunexpected_eof(node){
e(node,"unexpected_eof",`Unexpected end of input\nSee https://svelte.dev/e/bind_invalid_name for more infounexpected_eof for more info`);
e(node,"unexpected_eof",`Unexpected end of input\nSee https://svelte.dev/e/unexpected_eof for more info`);
}
/**
@ -1553,7 +1553,7 @@ export function unexpected_eof(node) {
e(node,"unexpected_reserved_word",`'${word}' is a reserved word in JavaScript and cannot be used here\nSee https://svelte.dev/e/bind_invalid_name for more infounexpected_reserved_word for more info`);
e(node,"unexpected_reserved_word",`'${word}' is a reserved word in JavaScript and cannot be used here\nSee https://svelte.dev/e/unexpected_reserved_word for more info`);
}
/**
@ -1562,5 +1562,5 @@ export function unexpected_reserved_word(node, word) {
*@returns{never}
*/
exportfunctionvoid_element_invalid_content(node){
e(node,"void_element_invalid_content",`Void elements cannot have children or closing tags\nSee https://svelte.dev/e/bind_invalid_name for more infovoid_element_invalid_content for more info`);
e(node,"void_element_invalid_content",`Void elements cannot have children or closing tags\nSee https://svelte.dev/e/void_element_invalid_content for more info`);
w(node,"a11y_unknown_aria_attribute",`${suggestion?`Unknown aria attribute 'aria-${attribute}'. Did you mean '${suggestion}'?`:`Unknown aria attribute 'aria-${attribute}'`}\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more info`);
w(node,"a11y_unknown_aria_attribute",`${suggestion?`Unknown aria attribute 'aria-${attribute}'. Did you mean '${suggestion}'?`:`Unknown aria attribute 'aria-${attribute}'`}\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more info`);
}
/**
@ -503,7 +503,7 @@ export function a11y_unknown_aria_attribute(node, attribute, suggestion) {
w(node,"a11y_unknown_role",`${suggestion?`Unknown role '${role}'. Did you mean '${suggestion}'?`:`Unknown role '${role}'`}\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more info`);
w(node,"a11y_unknown_role",`${suggestion?`Unknown role '${role}'. Did you mean '${suggestion}'?`:`Unknown role '${role}'`}\nSee https://svelte.dev/e/a11y_unknown_role for more info`);
}
/**
@ -513,7 +513,7 @@ export function a11y_unknown_role(node, role, suggestion) {
*@param{string}suggestion
*/
exportfunctionlegacy_code(node,code,suggestion){
w(node,"legacy_code",`\`${code}\` is no longer valid — please use \`${suggestion}\` instead\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infolegacy_code for more info`);
w(node,"legacy_code",`\`${code}\` is no longer valid — please use \`${suggestion}\` instead\nSee https://svelte.dev/e/legacy_code for more info`);
}
/**
@ -523,7 +523,7 @@ export function legacy_code(node, code, suggestion) {
*@param{string|undefined|null}[suggestion]
*/
exportfunctionunknown_code(node,code,suggestion){
w(node,"unknown_code",`${suggestion?`\`${code}\` is not a recognised code (did you mean \`${suggestion}\`?)`:`\`${code}\` is not a recognised code`}\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more info`);
w(node,"unknown_code",`${suggestion?`\`${code}\` is not a recognised code (did you mean \`${suggestion}\`?)`:`\`${code}\` is not a recognised code`}\nSee https://svelte.dev/e/unknown_code for more info`);
}
/**
@ -531,7 +531,7 @@ export function unknown_code(node, code, suggestion) {
*@param{null|NodeLike}node
*/
exportfunctionoptions_deprecated_accessors(node){
w(node,"options_deprecated_accessors",`The \`accessors\` option has been deprecated. It will have no effect in runes mode\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_deprecated_accessors for more info`);
w(node,"options_deprecated_accessors",`The \`accessors\` option has been deprecated. It will have no effect in runes mode\nSee https://svelte.dev/e/options_deprecated_accessors for more info`);
}
/**
@ -539,7 +539,7 @@ export function options_deprecated_accessors(node) {
*@param{null|NodeLike}node
*/
exportfunctionoptions_deprecated_immutable(node){
w(node,"options_deprecated_immutable",`The \`immutable\` option has been deprecated. It will have no effect in runes mode\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_deprecated_immutable for more info`);
w(node,"options_deprecated_immutable",`The \`immutable\` option has been deprecated. It will have no effect in runes mode\nSee https://svelte.dev/e/options_deprecated_immutable for more info`);
}
/**
@ -547,7 +547,7 @@ export function options_deprecated_immutable(node) {
w(node,"options_missing_custom_element",`The \`customElement\` option is used when generating a custom element. Did you forget the \`customElement: true\` compile option?\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_missing_custom_element for more info`);
w(node,"options_missing_custom_element",`The \`customElement\` option is used when generating a custom element. Did you forget the \`customElement: true\` compile option?\nSee https://svelte.dev/e/options_missing_custom_element for more info`);
}
/**
@ -555,7 +555,7 @@ export function options_missing_custom_element(node) {
w(node,"options_removed_enable_sourcemap",`The \`enableSourcemap\` option has been removed. Source maps are always generated now, and tooling can choose to ignore them\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_removed_enable_sourcemap for more info`);
w(node,"options_removed_enable_sourcemap",`The \`enableSourcemap\` option has been removed. Source maps are always generated now, and tooling can choose to ignore them\nSee https://svelte.dev/e/options_removed_enable_sourcemap for more info`);
}
/**
@ -563,7 +563,7 @@ export function options_removed_enable_sourcemap(node) {
*@param{null|NodeLike}node
*/
exportfunctionoptions_removed_hydratable(node){
w(node,"options_removed_hydratable",`The \`hydratable\` option has been removed. Svelte components are always hydratable now\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_removed_hydratable for more info`);
w(node,"options_removed_hydratable",`The \`hydratable\` option has been removed. Svelte components are always hydratable now\nSee https://svelte.dev/e/options_removed_hydratable for more info`);
}
/**
@ -571,7 +571,7 @@ export function options_removed_hydratable(node) {
w(node,"options_removed_loop_guard_timeout",`The \`loopGuardTimeout\` option has been removed\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_removed_loop_guard_timeout for more info`);
w(node,"options_removed_loop_guard_timeout",`The \`loopGuardTimeout\` option has been removed\nSee https://svelte.dev/e/options_removed_loop_guard_timeout for more info`);
}
/**
@ -579,7 +579,7 @@ export function options_removed_loop_guard_timeout(node) {
*@param{null|NodeLike}node
*/
exportfunctionoptions_renamed_ssr_dom(node){
w(node,"options_renamed_ssr_dom",`\`generate: "dom"\` and \`generate: "ssr"\` options have been renamed to "client" and "server" respectively\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infooptions_renamed_ssr_dom for more info`);
w(node,"options_renamed_ssr_dom",`\`generate: "dom"\` and \`generate: "ssr"\` options have been renamed to "client" and "server" respectively\nSee https://svelte.dev/e/options_renamed_ssr_dom for more info`);
}
/**
@ -588,7 +588,7 @@ export function options_renamed_ssr_dom(node) {
*@param{string}name
*/
exportfunctionexport_let_unused(node,name){
w(node,"export_let_unused",`Component has unused export property '${name}'. If it is for external reference only, please consider using \`export const ${name}\`\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoexport_let_unused for more info`);
w(node,"export_let_unused",`Component has unused export property '${name}'. If it is for external reference only, please consider using \`export const ${name}\`\nSee https://svelte.dev/e/export_let_unused for more info`);
}
/**
@ -596,7 +596,7 @@ export function export_let_unused(node, name) {
*@param{null|NodeLike}node
*/
exportfunctionlegacy_component_creation(node){
w(node,"legacy_component_creation",`Svelte 5 components are no longer classes. Instantiate them using \`mount\` or \`hydrate\` (imported from 'svelte') instead.\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infolegacy_component_creation for more info`);
w(node,"legacy_component_creation",`Svelte 5 components are no longer classes. Instantiate them using \`mount\` or \`hydrate\` (imported from 'svelte') instead.\nSee https://svelte.dev/e/legacy_component_creation for more info`);
}
/**
@ -605,7 +605,7 @@ export function legacy_component_creation(node) {
*@param{string}name
*/
exportfunctionnon_reactive_update(node,name){
w(node,"non_reactive_update",`\`${name}\` is updated, but is not declared with \`$state(...)\`. Changing its value will not correctly trigger updates\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infonon_reactive_update for more info`);
w(node,"non_reactive_update",`\`${name}\` is updated, but is not declared with \`$state(...)\`. Changing its value will not correctly trigger updates\nSee https://svelte.dev/e/non_reactive_update for more info`);
}
/**
@ -613,7 +613,7 @@ export function non_reactive_update(node, name) {
*@param{null|NodeLike}node
*/
exportfunctionperf_avoid_inline_class(node){
w(node,"perf_avoid_inline_class",`Avoid 'new class' — instead, declare the class at the top level scope\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoperf_avoid_inline_class for more info`);
w(node,"perf_avoid_inline_class",`Avoid 'new class' — instead, declare the class at the top level scope\nSee https://svelte.dev/e/perf_avoid_inline_class for more info`);
}
/**
@ -621,7 +621,7 @@ export function perf_avoid_inline_class(node) {
*@param{null|NodeLike}node
*/
exportfunctionperf_avoid_nested_class(node){
w(node,"perf_avoid_nested_class",`Avoid declaring classes below the top level scope\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoperf_avoid_nested_class for more info`);
w(node,"perf_avoid_nested_class",`Avoid declaring classes below the top level scope\nSee https://svelte.dev/e/perf_avoid_nested_class for more info`);
}
/**
@ -629,7 +629,7 @@ export function perf_avoid_nested_class(node) {
w(node,"reactive_declaration_invalid_placement",`Reactive declarations only exist at the top level of the instance script\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more inforeactive_declaration_invalid_placement for more info`);
w(node,"reactive_declaration_invalid_placement",`Reactive declarations only exist at the top level of the instance script\nSee https://svelte.dev/e/reactive_declaration_invalid_placement for more info`);
}
/**
@ -637,7 +637,7 @@ export function reactive_declaration_invalid_placement(node) {
w(node,"reactive_declaration_module_script_dependency",`Reassignments of module-level declarations will not cause reactive statements to update\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more inforeactive_declaration_module_script_dependency for more info`);
w(node,"reactive_declaration_module_script_dependency",`Reassignments of module-level declarations will not cause reactive statements to update\nSee https://svelte.dev/e/reactive_declaration_module_script_dependency for more info`);
}
/**
@ -645,7 +645,7 @@ export function reactive_declaration_module_script_dependency(node) {
*@param{null|NodeLike}node
*/
exportfunctionstate_referenced_locally(node){
w(node,"state_referenced_locally",`State referenced in its own scope will never update. Did you mean to reference it inside a closure?\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infostate_referenced_locally for more info`);
w(node,"state_referenced_locally",`State referenced in its own scope will never update. Did you mean to reference it inside a closure?\nSee https://svelte.dev/e/state_referenced_locally for more info`);
}
/**
@ -654,7 +654,7 @@ export function state_referenced_locally(node) {
*@param{string}name
*/
exportfunctionstore_rune_conflict(node,name){
w(node,"store_rune_conflict",`It looks like you're using the \`$${name}\` rune, but there is a local binding called \`${name}\`. Referencing a local variable with a \`$\` prefix will create a store subscription. Please rename \`${name}\` to avoid the ambiguity\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infostore_rune_conflict for more info`);
w(node,"store_rune_conflict",`It looks like you're using the \`$${name}\` rune, but there is a local binding called \`${name}\`. Referencing a local variable with a \`$\` prefix will create a store subscription. Please rename \`${name}\` to avoid the ambiguity\nSee https://svelte.dev/e/store_rune_conflict for more info`);
}
/**
@ -663,7 +663,7 @@ export function store_rune_conflict(node, name) {
*@param{string}name
*/
exportfunctioncss_unused_selector(node,name){
w(node,"css_unused_selector",`Unused CSS selector "${name}"\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infocss_unused_selector for more info`);
w(node,"css_unused_selector",`Unused CSS selector "${name}"\nSee https://svelte.dev/e/css_unused_selector for more info`);
}
/**
@ -671,7 +671,7 @@ export function css_unused_selector(node, name) {
*@param{null|NodeLike}node
*/
exportfunctionattribute_avoid_is(node){
w(node,"attribute_avoid_is",`The "is" attribute is not supported cross-browser and should be avoided\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoattribute_avoid_is for more info`);
w(node,"attribute_avoid_is",`The "is" attribute is not supported cross-browser and should be avoided\nSee https://svelte.dev/e/attribute_avoid_is for more info`);
}
/**
@ -680,7 +680,7 @@ export function attribute_avoid_is(node) {
w(node,"attribute_global_event_reference",`You are referencing \`globalThis.${name}\`. Did you forget to declare a variable with that name?\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoattribute_global_event_reference for more info`);
w(node,"attribute_global_event_reference",`You are referencing \`globalThis.${name}\`. Did you forget to declare a variable with that name?\nSee https://svelte.dev/e/attribute_global_event_reference for more info`);
}
/**
@ -688,7 +688,7 @@ export function attribute_global_event_reference(node, name) {
*@param{null|NodeLike}node
*/
exportfunctionattribute_illegal_colon(node){
w(node,"attribute_illegal_colon",`Attributes should not contain ':' characters to prevent ambiguity with Svelte directives\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoattribute_illegal_colon for more info`);
w(node,"attribute_illegal_colon",`Attributes should not contain ':' characters to prevent ambiguity with Svelte directives\nSee https://svelte.dev/e/attribute_illegal_colon for more info`);
}
/**
@ -698,7 +698,7 @@ export function attribute_illegal_colon(node) {
w(node,"attribute_invalid_property_name",`'${wrong}' is not a valid HTML attribute. Did you mean '${right}'?\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoattribute_invalid_property_name for more info`);
w(node,"attribute_invalid_property_name",`'${wrong}' is not a valid HTML attribute. Did you mean '${right}'?\nSee https://svelte.dev/e/attribute_invalid_property_name for more info`);
}
/**
@ -706,7 +706,7 @@ export function attribute_invalid_property_name(node, wrong, right) {
*@param{null|NodeLike}node
*/
exportfunctionattribute_quoted(node){
w(node,"attribute_quoted",`Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoattribute_quoted for more info`);
w(node,"attribute_quoted",`Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes\nSee https://svelte.dev/e/attribute_quoted for more info`);
}
/**
@ -715,7 +715,7 @@ export function attribute_quoted(node) {
*@param{string}name
*/
exportfunctionbind_invalid_each_rest(node,name){
w(node,"bind_invalid_each_rest",`The rest operator (...) will create a new object and binding '${name}' with the original object will not work\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infobind_invalid_each_rest for more info`);
w(node,"bind_invalid_each_rest",`The rest operator (...) will create a new object and binding '${name}' with the original object will not work\nSee https://svelte.dev/e/bind_invalid_each_rest for more info`);
}
/**
@ -723,7 +723,7 @@ export function bind_invalid_each_rest(node, name) {
*@param{null|NodeLike}node
*/
exportfunctionblock_empty(node){
w(node,"block_empty",`Empty block\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoblock_empty for more info`);
w(node,"block_empty",`Empty block\nSee https://svelte.dev/e/block_empty for more info`);
}
/**
@ -732,7 +732,7 @@ export function block_empty(node) {
w(node,"component_name_lowercase",`\`<${name}>\` will be treated as an HTML element unless it begins with a capital letter\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infocomponent_name_lowercase for more info`);
w(node,"component_name_lowercase",`\`<${name}>\` will be treated as an HTML element unless it begins with a capital letter\nSee https://svelte.dev/e/component_name_lowercase for more info`);
}
/**
@ -741,7 +741,7 @@ export function component_name_lowercase(node, name) {
w(node,"element_invalid_self_closing_tag",`Self-closing HTML tags for non-void elements are ambiguous — use \`<${name} ...></${name}>\` rather than \`<${name} ... />\`\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoelement_invalid_self_closing_tag for more info`);
w(node,"element_invalid_self_closing_tag",`Self-closing HTML tags for non-void elements are ambiguous — use \`<${name} ...></${name}>\` rather than \`<${name} ... />\`\nSee https://svelte.dev/e/element_invalid_self_closing_tag for more info`);
}
/**
@ -750,7 +750,7 @@ export function element_invalid_self_closing_tag(node, name) {
w(node,"event_directive_deprecated",`Using \`on:${name}\` to listen to the ${name} event is deprecated. Use the event attribute \`on${name}\` instead\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoevent_directive_deprecated for more info`);
w(node,"event_directive_deprecated",`Using \`on:${name}\` to listen to the ${name} event is deprecated. Use the event attribute \`on${name}\` instead\nSee https://svelte.dev/e/event_directive_deprecated for more info`);
}
/**
@ -759,7 +759,7 @@ export function event_directive_deprecated(node, name) {
w(node,"node_invalid_placement_ssr",`${message}. When rendering this component on the server, the resulting HTML will be modified by the browser (by moving, removing, or inserting elements), likely resulting in a \`hydration_mismatch\` warning\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infonode_invalid_placement_ssr for more info`);
w(node,"node_invalid_placement_ssr",`${message}. When rendering this component on the server, the resulting HTML will be modified by the browser (by moving, removing, or inserting elements), likely resulting in a \`hydration_mismatch\` warning\nSee https://svelte.dev/e/node_invalid_placement_ssr for more info`);
}
/**
@ -767,7 +767,7 @@ export function node_invalid_placement_ssr(node, message) {
*@param{null|NodeLike}node
*/
exportfunctionscript_context_deprecated(node){
w(node,"script_context_deprecated",`\`context="module"\` is deprecated, use the \`module\` attribute instead\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoscript_context_deprecated for more info`);
w(node,"script_context_deprecated",`\`context="module"\` is deprecated, use the \`module\` attribute instead\nSee https://svelte.dev/e/script_context_deprecated for more info`);
}
/**
@ -775,7 +775,7 @@ export function script_context_deprecated(node) {
*@param{null|NodeLike}node
*/
exportfunctionscript_unknown_attribute(node){
w(node,"script_unknown_attribute",`Unrecognized attribute — should be one of \`generics\`, \`lang\` or \`module\`. If this exists for a preprocessor, ensure that the preprocessor removes it\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoscript_unknown_attribute for more info`);
w(node,"script_unknown_attribute",`Unrecognized attribute — should be one of \`generics\`, \`lang\` or \`module\`. If this exists for a preprocessor, ensure that the preprocessor removes it\nSee https://svelte.dev/e/script_unknown_attribute for more info`);
}
/**
@ -783,7 +783,7 @@ export function script_unknown_attribute(node) {
*@param{null|NodeLike}node
*/
exportfunctionslot_element_deprecated(node){
w(node,"slot_element_deprecated",`Using \`<slot>\` to render parent content is deprecated. Use \`{@render ...}\` tags instead\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infoslot_element_deprecated for more info`);
w(node,"slot_element_deprecated",`Using \`<slot>\` to render parent content is deprecated. Use \`{@render ...}\` tags instead\nSee https://svelte.dev/e/slot_element_deprecated for more info`);
}
/**
@ -791,7 +791,7 @@ export function slot_element_deprecated(node) {
*@param{null|NodeLike}node
*/
exportfunctionsvelte_component_deprecated(node){
w(node,"svelte_component_deprecated",`\`<svelte:component>\` is deprecated in runes mode — components are dynamic by default\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infosvelte_component_deprecated for more info`);
w(node,"svelte_component_deprecated",`\`<svelte:component>\` is deprecated in runes mode — components are dynamic by default\nSee https://svelte.dev/e/svelte_component_deprecated for more info`);
}
/**
@ -799,7 +799,7 @@ export function svelte_component_deprecated(node) {
*@param{null|NodeLike}node
*/
exportfunctionsvelte_element_invalid_this(node){
w(node,"svelte_element_invalid_this",`\`this\` should be an \`{expression}\`. Using a string attribute value will cause an error in future versions of Svelte\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infosvelte_element_invalid_this for more info`);
w(node,"svelte_element_invalid_this",`\`this\` should be an \`{expression}\`. Using a string attribute value will cause an error in future versions of Svelte\nSee https://svelte.dev/e/svelte_element_invalid_this for more info`);
}
/**
@ -809,5 +809,5 @@ export function svelte_element_invalid_this(node) {
w(node,"svelte_self_deprecated",`\`<svelte:self>\` is deprecated — use self-imports (e.g. \`import ${name} from './${basename}'\`) instead\nSee https://svelte.dev/e/a11y_unknown_aria_attribute for more infoa11y_unknown_role for more infounknown_code for more infosvelte_self_deprecated for more info`);
w(node,"svelte_self_deprecated",`\`<svelte:self>\` is deprecated — use self-imports (e.g. \`import ${name} from './${basename}'\`) instead\nSee https://svelte.dev/e/svelte_self_deprecated for more info`);
@ -128,7 +128,7 @@ export function each_key_duplicate(a, b, value) {
*/
exportfunctioneffect_in_teardown(rune){
if(DEV){
consterror=newError(`effect_in_teardown\n\`${rune}\` cannot be used inside an effect cleanup function\nSee https://svelte.dev/e/each_key_duplicate for more infoeffect_in_teardown for more info`);
consterror=newError(`effect_in_teardown\n\`${rune}\` cannot be used inside an effect cleanup function\nSee https://svelte.dev/e/effect_in_teardown for more info`);
error.name='Svelte error';
throwerror;
@ -143,7 +143,7 @@ export function effect_in_teardown(rune) {
*/
exportfunctioneffect_in_unowned_derived(){
if(DEV){
consterror=newError(`effect_in_unowned_derived\nEffect cannot be created inside a \`$derived\` value that was not itself created inside an effect\nSee https://svelte.dev/e/each_key_duplicate for more infoeffect_in_unowned_derived for more info`);
consterror=newError(`effect_in_unowned_derived\nEffect cannot be created inside a \`$derived\` value that was not itself created inside an effect\nSee https://svelte.dev/e/effect_in_unowned_derived for more info`);
error.name='Svelte error';
throwerror;
@ -159,7 +159,7 @@ export function effect_in_unowned_derived() {
*/
exportfunctioneffect_orphan(rune){
if(DEV){
consterror=newError(`effect_orphan\n\`${rune}\` can only be used inside an effect (e.g. during component initialisation)\nSee https://svelte.dev/e/each_key_duplicate for more infoeffect_orphan for more info`);
consterror=newError(`effect_orphan\n\`${rune}\` can only be used inside an effect (e.g. during component initialisation)\nSee https://svelte.dev/e/effect_orphan for more info`);
error.name='Svelte error';
throwerror;
@ -174,7 +174,7 @@ export function effect_orphan(rune) {
*/
exportfunctioneffect_update_depth_exceeded(){
if(DEV){
consterror=newError(`effect_update_depth_exceeded\nMaximum update depth exceeded. This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops\nSee https://svelte.dev/e/each_key_duplicate for more infoeffect_update_depth_exceeded for more info`);
consterror=newError(`effect_update_depth_exceeded\nMaximum update depth exceeded. This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops\nSee https://svelte.dev/e/effect_update_depth_exceeded for more info`);
error.name='Svelte error';
throwerror;
@ -189,7 +189,7 @@ export function effect_update_depth_exceeded() {
*/
exportfunctionhydration_failed(){
if(DEV){
consterror=newError(`hydration_failed\nFailed to hydrate the application\nSee https://svelte.dev/e/each_key_duplicate for more infohydration_failed for more info`);
consterror=newError(`hydration_failed\nFailed to hydrate the application\nSee https://svelte.dev/e/hydration_failed for more info`);
error.name='Svelte error';
throwerror;
@ -204,7 +204,7 @@ export function hydration_failed() {
*/
exportfunctioninvalid_snippet(){
if(DEV){
consterror=newError(`invalid_snippet\nCould not \`{@render}\` snippet due to the expression being \`null\` or \`undefined\`. Consider using optional chaining \`{@render snippet?.()}\`\nSee https://svelte.dev/e/each_key_duplicate for more infoinvalid_snippet for more info`);
consterror=newError(`invalid_snippet\nCould not \`{@render}\` snippet due to the expression being \`null\` or \`undefined\`. Consider using optional chaining \`{@render snippet?.()}\`\nSee https://svelte.dev/e/invalid_snippet for more info`);
error.name='Svelte error';
throwerror;
@ -220,7 +220,7 @@ export function invalid_snippet() {
*/
exportfunctionlifecycle_legacy_only(name){
if(DEV){
consterror=newError(`lifecycle_legacy_only\n\`${name}(...)\` cannot be used in runes mode\nSee https://svelte.dev/e/each_key_duplicate for more infolifecycle_legacy_only for more info`);
consterror=newError(`lifecycle_legacy_only\n\`${name}(...)\` cannot be used in runes mode\nSee https://svelte.dev/e/lifecycle_legacy_only for more info`);
error.name='Svelte error';
throwerror;
@ -236,7 +236,7 @@ export function lifecycle_legacy_only(name) {
*/
exportfunctionprops_invalid_value(key){
if(DEV){
consterror=newError(`props_invalid_value\nCannot do \`bind:${key}={undefined}\` when \`${key}\` has a fallback value\nSee https://svelte.dev/e/each_key_duplicate for more infoprops_invalid_value for more info`);
consterror=newError(`props_invalid_value\nCannot do \`bind:${key}={undefined}\` when \`${key}\` has a fallback value\nSee https://svelte.dev/e/props_invalid_value for more info`);
error.name='Svelte error';
throwerror;
@ -252,7 +252,7 @@ export function props_invalid_value(key) {
*/
exportfunctionprops_rest_readonly(property){
if(DEV){
consterror=newError(`props_rest_readonly\nRest element properties of \`$props()\` such as \`${property}\` are readonly\nSee https://svelte.dev/e/each_key_duplicate for more infoprops_rest_readonly for more info`);
consterror=newError(`props_rest_readonly\nRest element properties of \`$props()\` such as \`${property}\` are readonly\nSee https://svelte.dev/e/props_rest_readonly for more info`);
error.name='Svelte error';
throwerror;
@ -268,7 +268,7 @@ export function props_rest_readonly(property) {
*/
exportfunctionrune_outside_svelte(rune){
if(DEV){
consterror=newError(`rune_outside_svelte\nThe \`${rune}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nSee https://svelte.dev/e/each_key_duplicate for more inforune_outside_svelte for more info`);
consterror=newError(`rune_outside_svelte\nThe \`${rune}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nSee https://svelte.dev/e/rune_outside_svelte for more info`);
error.name='Svelte error';
throwerror;
@ -283,7 +283,7 @@ export function rune_outside_svelte(rune) {
*/
exportfunctionstate_descriptors_fixed(){
if(DEV){
consterror=newError(`state_descriptors_fixed\nProperty descriptors defined on \`$state\` objects must contain \`value\` and always be \`enumerable\`, \`configurable\` and \`writable\`.\nSee https://svelte.dev/e/each_key_duplicate for more infostate_descriptors_fixed for more info`);
consterror=newError(`state_descriptors_fixed\nProperty descriptors defined on \`$state\` objects must contain \`value\` and always be \`enumerable\`, \`configurable\` and \`writable\`.\nSee https://svelte.dev/e/state_descriptors_fixed for more info`);
error.name='Svelte error';
throwerror;
@ -298,7 +298,7 @@ export function state_descriptors_fixed() {
*/
exportfunctionstate_prototype_fixed(){
if(DEV){
consterror=newError(`state_prototype_fixed\nCannot set prototype of \`$state\` object\nSee https://svelte.dev/e/each_key_duplicate for more infostate_prototype_fixed for more info`);
consterror=newError(`state_prototype_fixed\nCannot set prototype of \`$state\` object\nSee https://svelte.dev/e/state_prototype_fixed for more info`);
error.name='Svelte error';
throwerror;
@ -313,7 +313,7 @@ export function state_prototype_fixed() {
*/
exportfunctionstate_unsafe_local_read(){
if(DEV){
consterror=newError(`state_unsafe_local_read\nReading state that was created inside the same derived is forbidden. Consider using \`untrack\` to read locally created state\nSee https://svelte.dev/e/each_key_duplicate for more infostate_unsafe_local_read for more info`);
consterror=newError(`state_unsafe_local_read\nReading state that was created inside the same derived is forbidden. Consider using \`untrack\` to read locally created state\nSee https://svelte.dev/e/state_unsafe_local_read for more info`);
error.name='Svelte error';
throwerror;
@ -328,7 +328,7 @@ export function state_unsafe_local_read() {
*/
exportfunctionstate_unsafe_mutation(){
if(DEV){
consterror=newError(`state_unsafe_mutation\nUpdating state inside a derived or a template expression is forbidden. If the value should not be reactive, declare it without \`$state\`\nSee https://svelte.dev/e/each_key_duplicate for more infostate_unsafe_mutation for more info`);
consterror=newError(`state_unsafe_mutation\nUpdating state inside a derived or a template expression is forbidden. If the value should not be reactive, declare it without \`$state\`\nSee https://svelte.dev/e/state_unsafe_mutation for more info`);
console.warn(`%c[svelte] binding_property_non_reactive\n%c${location?`\`${binding}\` (${location}) is binding to a non-reactive property`:`\`${binding}\` is binding to a non-reactive property`}\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_mutation for more info`,bold,normal);
console.warn(`%c[svelte] binding_property_non_reactive\n%c${location?`\`${binding}\` (${location}) is binding to a non-reactive property`:`\`${binding}\` is binding to a non-reactive property`}\nSee https://svelte.dev/e/binding_property_non_reactive for more info`,bold,normal);
@ -37,7 +37,7 @@ export function binding_property_non_reactive(binding, location) {
*/
exportfunctionconsole_log_state(method){
if(DEV){
console.warn(`%c[svelte] console_log_state\n%cYour \`console.${method}\` contained \`$state\` proxies. Consider using \`$inspect(...)\` or \`$state.snapshot(...)\` instead\nSee https://svelte.dev/e/binding_property_non_reactive for more infoconsole_log_state for more info`,bold,normal);
console.warn(`%c[svelte] console_log_state\n%cYour \`console.${method}\` contained \`$state\` proxies. Consider using \`$inspect(...)\` or \`$state.snapshot(...)\` instead\nSee https://svelte.dev/e/console_log_state for more info`,bold,normal);
console.warn(`%c[svelte] event_handler_invalid\n%c${handler} should be a function. Did you mean to ${suggestion}?\nSee https://svelte.dev/e/binding_property_non_reactive for more infoevent_handler_invalid for more info`,bold,normal);
console.warn(`%c[svelte] event_handler_invalid\n%c${handler} should be a function. Did you mean to ${suggestion}?\nSee https://svelte.dev/e/event_handler_invalid for more info`,bold,normal);
console.warn(`%c[svelte] hydration_attribute_changed\n%cThe \`${attribute}\` attribute on \`${html}\` changed its value between server and client renders. The client value, \`${value}\`, will be ignored in favour of the server value\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_attribute_changed for more info`,bold,normal);
console.warn(`%c[svelte] hydration_attribute_changed\n%cThe \`${attribute}\` attribute on \`${html}\` changed its value between server and client renders. The client value, \`${value}\`, will be ignored in favour of the server value\nSee https://svelte.dev/e/hydration_attribute_changed for more info`,bold,normal);
@ -76,7 +76,7 @@ export function hydration_attribute_changed(attribute, html, value) {
*/
exportfunctionhydration_html_changed(location){
if(DEV){
console.warn(`%c[svelte] hydration_html_changed\n%c${location?`The value of an \`{@html ...}\` block ${location} changed between server and client renders. The client value will be ignored in favour of the server value`:"The value of an `{@html ...}` block changed between server and client renders. The client value will be ignored in favour of the server value"}\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_mutation for more info`,bold,normal);
console.warn(`%c[svelte] hydration_html_changed\n%c${location?`The value of an \`{@html ...}\` block ${location} changed between server and client renders. The client value will be ignored in favour of the server value`:"The value of an `{@html ...}` block changed between server and client renders. The client value will be ignored in favour of the server value"}\nSee https://svelte.dev/e/hydration_html_changed for more info`,bold,normal);
@ -88,7 +88,7 @@ export function hydration_html_changed(location) {
*/
exportfunctionhydration_mismatch(location){
if(DEV){
console.warn(`%c[svelte] hydration_mismatch\n%c${location?`Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near ${location}`:"Hydration failed because the initial UI does not match what was rendered on the server"}\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_mutation for more info`,bold,normal);
console.warn(`%c[svelte] hydration_mismatch\n%c${location?`Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near ${location}`:"Hydration failed because the initial UI does not match what was rendered on the server"}\nSee https://svelte.dev/e/hydration_mismatch for more info`,bold,normal);
@ -99,7 +99,7 @@ export function hydration_mismatch(location) {
*/
exportfunctioninvalid_raw_snippet_render(){
if(DEV){
console.warn(`%c[svelte] invalid_raw_snippet_render\n%cThe \`render\` function passed to \`createRawSnippet\` should return HTML for a single element\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoinvalid_raw_snippet_render for more info`,bold,normal);
console.warn(`%c[svelte] invalid_raw_snippet_render\n%cThe \`render\` function passed to \`createRawSnippet\` should return HTML for a single element\nSee https://svelte.dev/e/invalid_raw_snippet_render for more info`,bold,normal);
console.warn(`%c[svelte] legacy_recursive_reactive_block\n%cDetected a migrated \`$:\` reactive block in \`${filename}\` that both accesses and updates the same reactive value. This may cause recursive updates when converted to an \`$effect\`.\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infolegacy_recursive_reactive_block for more info`,bold,normal);
console.warn(`%c[svelte] legacy_recursive_reactive_block\n%cDetected a migrated \`$:\` reactive block in \`${filename}\` that both accesses and updates the same reactive value. This may cause recursive updates when converted to an \`$effect\`.\nSee https://svelte.dev/e/legacy_recursive_reactive_block for more info`,bold,normal);
@ -122,7 +122,7 @@ export function legacy_recursive_reactive_block(filename) {
*/
exportfunctionlifecycle_double_unmount(){
if(DEV){
console.warn(`%c[svelte] lifecycle_double_unmount\n%cTried to unmount a component that was not mounted\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infolifecycle_double_unmount for more info`,bold,normal);
console.warn(`%c[svelte] lifecycle_double_unmount\n%cTried to unmount a component that was not mounted\nSee https://svelte.dev/e/lifecycle_double_unmount for more info`,bold,normal);
console.warn(`%c[svelte] ownership_invalid_binding\n%c${parent} passed a value to ${child} with \`bind:\`, but the value is owned by ${owner}. Consider creating a binding between ${owner} and ${parent}\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_binding for more info`,bold,normal);
console.warn(`%c[svelte] ownership_invalid_binding\n%c${parent} passed a value to ${child} with \`bind:\`, but the value is owned by ${owner}. Consider creating a binding between ${owner} and ${parent}\nSee https://svelte.dev/e/ownership_invalid_binding for more info`,bold,normal);
console.warn(`%c[svelte] ownership_invalid_mutation\n%c${component?`${component} mutated a value owned by ${owner}. This is strongly discouraged. Consider passing values to child components with \`bind:\`, or use a callback instead`:"Mutating a value outside the component that created it is strongly discouraged. Consider passing values to child components with `bind:`, or use a callback instead"}\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_mutation for more info`,bold,normal);
console.warn(`%c[svelte] ownership_invalid_mutation\n%c${component?`${component} mutated a value owned by ${owner}. This is strongly discouraged. Consider passing values to child components with \`bind:\`, or use a callback instead`:"Mutating a value outside the component that created it is strongly discouraged. Consider passing values to child components with `bind:`, or use a callback instead"}\nSee https://svelte.dev/e/ownership_invalid_mutation for more info`,bold,normal);
console.warn(`%c[svelte] reactive_declaration_non_reactive_property\n%cA \`$:\` statement (${location}) read reactive state that was not visible to the compiler. Updates to this state will not cause the statement to re-run. The behaviour of this code will change if you migrate it to runes mode\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_mutation for more inforeactive_declaration_non_reactive_property for more info`,bold,normal);
console.warn(`%c[svelte] reactive_declaration_non_reactive_property\n%cA \`$:\` statement (${location}) read reactive state that was not visible to the compiler. Updates to this state will not cause the statement to re-run. The behaviour of this code will change if you migrate it to runes mode\nSee https://svelte.dev/e/reactive_declaration_non_reactive_property for more info`,bold,normal);
console.warn(`%c[svelte] state_proxy_equality_mismatch\n%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${operator}\` will produce unexpected results\nSee https://svelte.dev/e/binding_property_non_reactive for more infohydration_html_changed for more infohydration_mismatch for more infoownership_invalid_mutation for more infostate_proxy_equality_mismatch for more info`,bold,normal);
console.warn(`%c[svelte] state_proxy_equality_mismatch\n%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${operator}\` will produce unexpected results\nSee https://svelte.dev/e/state_proxy_equality_mismatch for more info`,bold,normal);