svelte-parse
Version:
An increidbly relaxed svelte-parser
2,283 lines • 70.1 kB
JSON
{
"type": "root",
"children": [
{
"type": "svelteBranchingBlock",
"name": "if",
"branches": [
{
"type": "svelteBranch",
"name": "if",
"expression": {
"type": "svelteExpression",
"value": "animation",
"position": {
"start": {
"line": 1,
"column": 6,
"offset": 5
},
"end": {
"line": 1,
"column": 15,
"offset": 14
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 1,
"column": 16,
"offset": 15
},
"end": {
"line": 2,
"column": 5,
"offset": 20
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "ui",
"position": {
"start": {
"line": 2,
"column": 17,
"offset": 32
},
"end": {}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 19,
"offset": 34
},
"end": {}
}
},
{
"type": "text",
"value": "animated",
"position": {
"start": {
"line": 2,
"column": 20,
"offset": 35
},
"end": {}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 28,
"offset": 43
},
"end": {
"line": 2,
"column": 29,
"offset": 44
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 2,
"column": 29,
"offset": 44
},
"end": {
"line": 2,
"column": 40,
"offset": 55
}
},
"expression": {
"type": "svelteExpression",
"value": "animation",
"position": {
"start": {
"line": 2,
"column": 30,
"offset": 45
},
"end": {
"line": 2,
"column": 39,
"offset": 54
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 40,
"offset": 55
},
"end": {
"line": 2,
"column": 41,
"offset": 56
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 2,
"column": 41,
"offset": 56
},
"end": {
"line": 2,
"column": 48,
"offset": 63
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 2,
"column": 42,
"offset": 57
},
"end": {
"line": 2,
"column": 47,
"offset": 62
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 48,
"offset": 63
},
"end": {
"line": 2,
"column": 49,
"offset": 64
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 2,
"column": 49,
"offset": 64
},
"end": {
"line": 2,
"column": 55,
"offset": 70
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 2,
"column": 50,
"offset": 65
},
"end": {
"line": 2,
"column": 54,
"offset": 69
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 55,
"offset": 70
},
"end": {
"line": 2,
"column": 56,
"offset": 71
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 2,
"column": 56,
"offset": 71
},
"end": {
"line": 2,
"column": 65,
"offset": 80
}
},
"expression": {
"type": "svelteExpression",
"value": "floated",
"position": {
"start": {
"line": 2,
"column": 57,
"offset": 72
},
"end": {
"line": 2,
"column": 64,
"offset": 79
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 65,
"offset": 80
},
"end": {
"line": 2,
"column": 66,
"offset": 81
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 2,
"column": 66,
"offset": 81
},
"end": {
"line": 2,
"column": 76,
"offset": 91
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 2,
"column": 67,
"offset": 82
},
"end": {
"line": 2,
"column": 75,
"offset": 90
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 2,
"column": 76,
"offset": 91
},
"end": {}
}
},
{
"type": "text",
"value": "button",
"position": {
"start": {
"line": 2,
"column": 77,
"offset": 92
},
"end": {
"line": 2,
"column": 84,
"offset": 99
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 2,
"column": 10,
"offset": 25
},
"end": {
"line": 2,
"column": 84,
"offset": 99
}
}
},
{
"type": "svelteProperty",
"name": "tabindex",
"value": [
{
"type": "text",
"value": "0",
"position": {
"start": {
"line": 2,
"column": 95,
"offset": 110
},
"end": {
"line": 2,
"column": 97,
"offset": 112
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 2,
"column": 85,
"offset": 100
},
"end": {
"line": 2,
"column": 97,
"offset": 112
}
}
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 5,
"offset": 119
},
"end": {
"line": 3,
"column": 17,
"offset": 131
}
},
"specifier": "active"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 18,
"offset": 132
},
"end": {
"line": 3,
"column": 32,
"offset": 146
}
},
"specifier": "tertiary"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 33,
"offset": 147
},
"end": {
"line": 3,
"column": 44,
"offset": 158
}
},
"specifier": "basic"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 45,
"offset": 159
},
"end": {
"line": 3,
"column": 59,
"offset": 173
}
},
"specifier": "inverted"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 60,
"offset": 174
},
"end": {
"line": 3,
"column": 73,
"offset": 187
}
},
"specifier": "compact"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 74,
"offset": 188
},
"end": {
"line": 3,
"column": 86,
"offset": 200
}
},
"specifier": "toggle"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 87,
"offset": 201
},
"end": {
"line": 3,
"column": 98,
"offset": 212
}
},
"specifier": "fluid"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 5,
"offset": 217
},
"end": {
"line": 4,
"column": 19,
"offset": 231
}
},
"specifier": "positive"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 20,
"offset": 232
},
"end": {
"line": 4,
"column": 34,
"offset": 246
}
},
"specifier": "negative"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 35,
"offset": 247
},
"end": {
"line": 4,
"column": 49,
"offset": 261
}
},
"specifier": "circular"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 50,
"offset": 262
},
"end": {
"line": 4,
"column": 60,
"offset": 272
}
},
"specifier": "icon"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 61,
"offset": 273
},
"end": {
"line": 4,
"column": 75,
"offset": 287
}
},
"specifier": "attached"
},
{
"type": "svelteDirective",
"name": "use",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 4,
"column": 89,
"offset": 301
},
"end": {
"line": 4,
"column": 97,
"offset": 309
}
},
"expression": {
"type": "svelteExpression",
"value": "toggle",
"position": {
"start": {
"line": 4,
"column": 90,
"offset": 302
},
"end": {
"line": 4,
"column": 96,
"offset": 308
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 76,
"offset": 288
},
"end": {
"line": 4,
"column": 97,
"offset": 309
}
},
"specifier": "activate"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 4,
"column": 98,
"offset": 310
},
"end": {
"line": 5,
"column": 9,
"offset": 319
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "visible",
"position": {
"start": {
"line": 5,
"column": 21,
"offset": 331
},
"end": {}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 5,
"column": 28,
"offset": 338
},
"end": {}
}
},
{
"type": "text",
"value": "content",
"position": {
"start": {
"line": 5,
"column": 29,
"offset": 339
},
"end": {
"line": 5,
"column": 37,
"offset": 347
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 5,
"column": 14,
"offset": 324
},
"end": {
"line": 5,
"column": 37,
"offset": 347
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 5,
"column": 38,
"offset": 348
},
"end": {
"line": 6,
"column": 13,
"offset": 361
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [
{
"type": "svelteProperty",
"name": "name",
"value": [
{
"type": "text",
"value": "visible",
"position": {
"start": {
"line": 6,
"column": 25,
"offset": 373
},
"end": {
"line": 6,
"column": 33,
"offset": 381
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 6,
"column": 19,
"offset": 367
},
"end": {
"line": 6,
"column": 33,
"offset": 381
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "No visible content provided",
"position": {
"start": {
"line": 6,
"column": 34,
"offset": 382
},
"end": {
"line": 6,
"column": 61,
"offset": 409
}
}
}
],
"position": {
"start": {
"line": 6,
"column": 13,
"offset": 361
},
"end": {
"line": 6,
"column": 68,
"offset": 416
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 6,
"column": 68,
"offset": 416
},
"end": {
"line": 7,
"column": 9,
"offset": 425
}
}
}
],
"position": {
"start": {
"line": 5,
"column": 9,
"offset": 319
},
"end": {
"line": 7,
"column": 15,
"offset": 431
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 7,
"column": 15,
"offset": 431
},
"end": {
"line": 8,
"column": 9,
"offset": 440
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "hidden",
"position": {
"start": {
"line": 8,
"column": 21,
"offset": 452
},
"end": {}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 8,
"column": 27,
"offset": 458
},
"end": {}
}
},
{
"type": "text",
"value": "content",
"position": {
"start": {
"line": 8,
"column": 28,
"offset": 459
},
"end": {
"line": 8,
"column": 36,
"offset": 467
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 8,
"column": 14,
"offset": 445
},
"end": {
"line": 8,
"column": 36,
"offset": 467
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 8,
"column": 37,
"offset": 468
},
"end": {
"line": 9,
"column": 13,
"offset": 481
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [
{
"type": "svelteProperty",
"name": "name",
"value": [
{
"type": "text",
"value": "hidden",
"position": {
"start": {
"line": 9,
"column": 25,
"offset": 493
},
"end": {
"line": 9,
"column": 32,
"offset": 500
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 9,
"column": 19,
"offset": 487
},
"end": {
"line": 9,
"column": 32,
"offset": 500
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "No hidden content provided",
"position": {
"start": {
"line": 9,
"column": 33,
"offset": 501
},
"end": {
"line": 9,
"column": 59,
"offset": 527
}
}
}
],
"position": {
"start": {
"line": 9,
"column": 13,
"offset": 481
},
"end": {
"line": 9,
"column": 66,
"offset": 534
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 9,
"column": 66,
"offset": 534
},
"end": {
"line": 10,
"column": 9,
"offset": 543
}
}
}
],
"position": {
"start": {
"line": 8,
"column": 9,
"offset": 440
},
"end": {
"line": 10,
"column": 15,
"offset": 549
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 10,
"column": 15,
"offset": 549
},
"end": {
"line": 11,
"column": 5,
"offset": 554
}
}
}
],
"position": {
"start": {
"line": 2,
"column": 5,
"offset": 20
},
"end": {
"line": 11,
"column": 11,
"offset": 560
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 11,
"column": 11,
"offset": 560
},
"end": {
"line": 12,
"column": 1,
"offset": 561
}
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 12,
"column": 1,
"offset": 561
}
}
},
{
"type": "svelteBranch",
"name": "else if",
"expression": {
"type": "svelteExpression",
"value": "labeled",
"position": {
"start": {
"line": 12,
"column": 11,
"offset": 571
},
"end": {
"line": 12,
"column": 18,
"offset": 578
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 12,
"column": 19,
"offset": 579
},
"end": {
"line": 13,
"column": 5,
"offset": 584
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "ui",
"position": {
"start": {
"line": 13,
"column": 17,
"offset": 596
},
"end": {}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 13,
"column": 19,
"offset": 598
},
"end": {
"line": 13,
"column": 20,
"offset": 599
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 13,
"column": 20,
"offset": 599
},
"end": {
"line": 13,
"column": 27,
"offset": 606
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 13,
"column": 21,
"offset": 600
},
"end": {
"line": 13,
"column": 26,
"offset": 605
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 13,
"column": 27,
"offset": 606
},
"end": {
"line": 13,
"column": 28,
"offset": 607
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 13,
"column": 28,
"offset": 607
},
"end": {
"line": 13,
"column": 34,
"offset": 613
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 13,
"column": 29,
"offset": 608
},
"end": {
"line": 13,
"column": 33,
"offset": 612
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 13,
"column": 34,
"offset": 613
},
"end": {
"line": 13,
"column": 35,
"offset": 614
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 13,
"column": 35,
"offset": 614
},
"end": {
"line": 13,
"column": 44,
"offset": 623
}
},
"expression": {
"type": "svelteExpression",
"value": "floated",
"position": {
"start": {
"line": 13,
"column": 36,
"offset": 615
},
"end": {
"line": 13,
"column": 43,
"offset": 622
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 13,
"column": 44,
"offset": 623
},
"end": {
"line": 13,
"column": 45,
"offset": 624
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 13,
"column": 45,
"offset": 624
},
"end": {
"line": 13,
"column": 54,
"offset": 633
}
},
"expression": {
"type": "svelteExpression",
"value": "labeled",
"position": {
"start": {
"line": 13,
"column": 46,
"offset": 625
},
"end": {
"line": 13,
"column": 53,
"offset": 632
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 13,
"column": 54,
"offset": 633
},
"end": {
"line": 13,
"column": 55,
"offset": 634
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 13,
"column": 55,
"offset": 634
},
"end": {
"line": 13,
"column": 65,
"offset": 644
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 13,
"column": 56,
"offset": 635
},
"end": {
"line": 13,
"column": 64,
"offset": 643
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 13,
"column": 65,
"offset": 644
},
"end": {}
}
},
{
"type": "text",
"value": "button",
"position": {
"start": {
"line": 13,
"column": 66,
"offset": 645
},
"end": {
"line": 13,
"column": 73,
"offset": 652
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 13,
"column": 10,
"offset": 589
},
"end": {
"line": 13,
"column": 73,
"offset": 652
}
}
},
{
"type": "svelteProperty",
"name": "tabindex",
"value": [
{
"type": "text",
"value": "0",
"position": {
"start": {
"line": 13,
"column": 84,
"offset": 663
},
"end": {
"line": 13,
"column": 86,
"offset": 665
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 13,
"column": 74,
"offset": 653
},
"end": {
"line": 13,
"column": 86,
"offset": 665
}
}
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 5,
"offset": 672
},
"end": {
"line": 14,
"column": 17,
"offset": 684
}
},
"specifier": "active"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 18,
"offset": 685
},
"end": {
"line": 14,
"column": 32,
"offset": 699
}
},
"specifier": "tertiary"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 33,
"offset": 700
},
"end": {
"line": 14,
"column": 44,
"offset": 711
}
},
"specifier": "basic"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 45,
"offset": 712
},
"end": {
"line": 14,
"column": 59,
"offset": 726
}
},
"specifier": "inverted"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 60,
"offset": 727
},
"end": {
"line": 14,
"column": 73,
"offset": 740
}
},
"specifier": "compact"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 74,
"offset": 741
},
"end": {
"line": 14,
"column": 86,
"offset": 753
}
},
"specifier": "toggle"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 14,
"column": 87,
"offset": 754
},
"end": {
"line": 14,
"column": 98,
"offset": 765
}
},
"specifier": "fluid"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 15,
"column": 5,
"offset": 770
},
"end": {
"line": 15,
"column": 19,
"offset": 784
}
},
"specifier": "positive"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 15,
"column": 20,
"offset": 785
},
"end": {
"line": 15,
"column": 34,
"offset": 799
}
},
"specifier": "negative"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 15,
"column": 35,
"offset": 800
},
"end": {
"line": 15,
"column": 49,
"offset": 814
}
},
"specifier": "circular"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 15,
"column": 50,
"offset": 815
},
"end": {
"line": 15,
"column": 60,
"offset": 825
}
},
"specifier": "icon"
},
{
"type": "svelteDirective",
"name": "class",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 15,
"column": 61,
"offset": 826
},
"end": {
"line": 15,
"column": 75,
"offset": 840
}
},
"specifier": "attached"
},
{
"type": "svelteDirective",
"name": "use",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 15,
"column": 89,
"offset": 854
},
"end": {
"line": 15,
"column": 97,
"offset": 862
}
},
"expression": {
"type": "svelteExpression",
"value": "toggle",
"position": {
"start": {
"line": 15,
"column": 90,
"offset": 855
},
"end": {
"line": 15,
"column": 96,
"offset": 861
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 15,
"column": 76,
"offset": 841
},
"end": {
"line": 15,
"column": 97,
"offset": 862
}
},
"specifier": "activate"
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 15,
"column": 98,
"offset": 863
},
"end": {
"line": 16,
"column": 9,
"offset": 872
}
}
},
{
"type": "svelteElement",
"tagName": "slot",
"properties": [],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 16,
"column": 9,
"offset": 872
},
"end": {
"line": 16,
"column": 22,
"offset": 885
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 16,
"column": 22,
"offset": 885
},
"end": {
"line": 17,
"column": 5,
"offset": 890
}
}
}
],
"position": {
"start": {
"line": 13,
"column": 5,
"offset": 584
},
"end": {
"line": 17,
"column": 11,
"offset": 896
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 17,
"column": 11,
"offset": 896
},
"end": {
"line": 18,
"column": 1,
"offset": 897
}
}
}
],
"position": {
"start": {
"line": 12,
"column": 1,
"offset": 561
},
"end": {
"line": 18,
"column": 1,
"offset": 897
}
}
},
{
"type": "svelteBranch",
"name": "else",
"expression": {
"type": "svelteExpression",
"value": ""
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 18,
"column": 8,
"offset": 904
},
"end": {
"line": 19,
"column": 5,
"offset": 909
}
}
},
{
"type": "svelteElement",
"tagName": "button",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "ui",
"position": {
"start": {
"line": 19,
"column": 20,
"offset": 924
},
"end": {}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 22,
"offset": 926
},
"end": {
"line": 19,
"column": 23,
"offset": 927
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 19,
"column": 23,
"offset": 927
},
"end": {
"line": 19,
"column": 33,
"offset": 937
}
},
"expression": {
"type": "svelteExpression",
"value": "emphasis",
"position": {
"start": {
"line": 19,
"column": 24,
"offset": 928
},
"end": {
"line": 19,
"column": 32,
"offset": 936
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 33,
"offset": 937
},
"end": {
"line": 19,
"column": 34,
"offset": 938
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 19,
"column": 34,
"offset": 938
},
"end": {
"line": 19,
"column": 41,
"offset": 945
}
},
"expression": {
"type": "svelteExpression",
"value": "color",
"position": {
"start": {
"line": 19,
"column": 35,
"offset": 939
},
"end": {
"line": 19,
"column": 40,
"offset": 944
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 41,
"offset": 945
},
"end": {
"line": 19,
"column": 42,
"offset": 946
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 19,
"column": 42,
"offset": 946
},
"end": {
"line": 19,
"column": 51,
"offset": 955
}
},
"expression": {
"type": "svelteExpression",
"value": "loading",
"position": {
"start": {
"line": 19,
"column": 43,
"offset": 947
},
"end": {
"line": 19,
"column": 50,
"offset": 954
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 51,
"offset": 955
},
"end": {
"line": 19,
"column": 52,
"offset": 956
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 19,
"column": 52,
"offset": 956
},
"end": {
"line": 19,
"column": 58,
"offset": 962
}
},
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 19,
"column": 53,
"offset": 957
},
"end": {
"line": 19,
"column": 57,
"offset": 961
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 58,
"offset": 962
},
"end": {
"line": 19,
"column": 59,
"offset": 963
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 19,
"column": 59,
"offset": 963
},
"end": {
"line": 19,
"column": 68,
"offset": 972
}
},
"expression": {
"type": "svelteExpression",
"value": "floated",
"position": {
"start": {
"line": 19,
"column": 60,
"offset": 964
},
"end": {
"line": 19,
"column": 67,
"offset": 971
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 68,
"offset": 972
},
"end": {
"line": 19,
"column": 69,
"offset": 973
}
}
},
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 19,
"column": 69,
"offset": 973
},
"end": {
"line": 19,
"column": 79,
"offset": 983
}
},
"expression": {
"type": "svelteExpression",
"value": "attached",
"position": {
"start": {
"line": 19,
"column": 70,
"offset": 974
},
"end": {
"line": 19,
"column": 78,
"offset": 982
}
}
}
},
{
"type": "text",
"value": " ",
"position": {
"start": {
"line": 19,
"column": 79,
"offset": 983
},
"end": {}
}
},
{
"type": "text",
"value": "button",
"position": {
"start": {
"line": 19,
"column": 80,
"offset": 984
},
"end": {
"line": 19,
"column": 87,
"offset": 991
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 19,
"column":