mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 20:51:42 +03:00
729 lines
23 KiB
JSON
729 lines
23 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 306,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "MediaRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 305,
|
|
"ctxt": 0
|
|
},
|
|
"media": {
|
|
"type": "MediaQueryList",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"queries": [
|
|
{
|
|
"type": "MediaQuery",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"modifier": null,
|
|
"mediaType": null,
|
|
"condition": {
|
|
"type": "MediaCondition",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"conditions": [
|
|
{
|
|
"type": "MediaFeaturePlain",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": "min-width",
|
|
"raw": "min-width"
|
|
},
|
|
"value": {
|
|
"type": "Length",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"value": 935.0,
|
|
"raw": "935"
|
|
},
|
|
"unit": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "px",
|
|
"raw": "px"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 26,
|
|
"end": 305,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "AnPlusBNotation",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 51,
|
|
"ctxt": 0
|
|
},
|
|
"a": 4,
|
|
"aRaw": "4",
|
|
"b": null,
|
|
"bRaw": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 53,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-right",
|
|
"raw": "margin-right"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 77,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 91,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 97,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"value": "last-child",
|
|
"raw": "last-child"
|
|
},
|
|
"children": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 108,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 118,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 118,
|
|
"end": 130,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-right",
|
|
"raw": "margin-right"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 146,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 151,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 152,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"value": "first-child",
|
|
"raw": "first-child"
|
|
},
|
|
"children": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 175,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 170,
|
|
"end": 175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 175,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 176,
|
|
"end": 185,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "AnPlusBNotation",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"a": null,
|
|
"aRaw": null,
|
|
"b": 5,
|
|
"bRaw": "5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 195,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 200,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 201,
|
|
"end": 210,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "AnPlusBNotation",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 212,
|
|
"ctxt": 0
|
|
},
|
|
"a": null,
|
|
"aRaw": null,
|
|
"b": 9,
|
|
"bRaw": "9"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 225,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 220,
|
|
"end": 225,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 225,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 226,
|
|
"end": 235,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "AnPlusBNotation",
|
|
"span": {
|
|
"start": 236,
|
|
"end": 238,
|
|
"ctxt": 0
|
|
},
|
|
"a": null,
|
|
"aRaw": null,
|
|
"b": 13,
|
|
"bRaw": "13"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "SimpleBlock",
|
|
"span": {
|
|
"start": 240,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"name": "{",
|
|
"value": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 250,
|
|
"end": 264,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Ident",
|
|
"span": {
|
|
"start": 250,
|
|
"end": 261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-left",
|
|
"raw": "margin-left"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 264,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 304,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 303,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "__styled-jsx-placeholder__7",
|
|
"raw": "__styled-jsx-placeholder__7"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "PreservedToken",
|
|
"span": {
|
|
"start": 303,
|
|
"end": 304,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"WhiteSpace": {
|
|
"value": "\n"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|