You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
162 KiB
6 lines
162 KiB
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.csstree=e()}}(function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){t.exports={generic:!0,types:{"absolute-size":"xx-small | x-small | small | medium | large | x-large | xx-large","alpha-value":"<number> | <percentage>","angle-percentage":"<angle> | <percentage>","animateable-feature":"scroll-position | contents | <custom-ident>",attachment:"scroll | fixed | local","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )","auto-track-list":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat> [ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?","basic-shape":"<inset()> | <circle()> | <ellipse()> | <polygon()>","bg-image":"none | <image>","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>","bg-position":"[ center && [ left | right | top | bottom ] <length-percentage>? ] | [ [ left | right ] <length-percentage>? ] && [ [ top | bottom ] <length-percentage>? ] | [ [ left | center | right | <length-percentage> ] || [ top | center | bottom | <length-percentage> ] ]","bg-size":"[ <length-percentage> | auto ]{1,2} | cover | contain","blur()":"blur( <length> )","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",box:"border-box | padding-box | content-box","br-style":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset","br-width":"<length> | thin | medium | thick","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [ [ '+' | '-' ] <calc-product> ]*","calc-product":"<calc-value> [ '*' <calc-value> | '/' <number> ]*","calc-value":"<number> | <dimension> | <percentage> | ( <calc-sum> )","cf-final-image":"<image> | <color>","cf-mixing-image":"<percentage>? && <image>","circle()":"circle( [ <shape-radius> ]? [ at <position> ]? )","clip-source":"<url>",color:"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>","color-stop":"<color> <length-percentage>?","color-stop-list":"<color-stop>#{2,}","common-lig-values":"[ common-ligatures | no-common-ligatures ]","composite-style":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor","compositing-operator":"add | subtract | intersect | exclude","contextual-alt-values":"[ contextual | no-contextual ]","content-list":"[ <string> | contents | <url> | <quote> | <attr()> | counter( <ident> , <'list-style-type'>? ) ]+","content-replacement":"<image>","contrast()":"contrast( [ <number-percentage> ] )","counter-style":"<counter-style-name> | symbols()","counter-style-name":"<custom-ident>","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease | ease-in | ease-out | ease-in-out | cubic-bezier( <number> , <number> , <number> , <number> )","deprecated-system-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","discretionary-lig-values":"[ discretionary-ligatures | no-discretionary-ligatures ]","display-box":"contents | none","display-inside":"flow | flow-root | table | flex | grid | subgrid | ruby","display-internal":"table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container","display-legacy":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid","display-listitem":"list-item && <display-outside>? && [ flow | flow-root ]?","display-outside":"block | inline | run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]","east-asian-width-values":"[ full-width | proportional-width ]","element()":"element( <id-selector> )","ellipse()":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )","ending-shape":"circle | ellipse","explicit-track-list":"[ <line-names>? <track-size> ]+ <line-names>?","family-name":"<string> | <custom-ident>+","feature-tag-value":"<string> [ <integer> | on | off ]?","feature-value-name":"<custom-ident>","fill-rule":"nonzero | evenodd","filter-function":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>","filter-function-list":"[ <filter-function> | <url> ]+","final-bg-layer":"<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>","fit-content()":"fit-content( [ <length> | <percentage> ] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )","fixed-size":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )","font-variant-css21":"[ normal | small-caps ]","frames-timing-function":"frames( <integer> )","frequency-percentage":"<frequency> | <percentage>","generic-family":"serif | sans-serif | cursive | fantasy | monospace | -apple-system","generic-name":"serif | sans-serif | cursive | fantasy | monospace","geometry-box":"<shape-box> | fill-box | stroke-box | view-box",gradient:"<-legacy-gradient()> | <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]","historical-lig-values":"[ historical-ligatures | no-historical-ligatures ]","hsl()":"hsl( [ <hue> <percentage> <percentage> [ / <alpha-value> ]? ] | [ <hue> , <percentage> , <percentage> , <alpha-value>? ] )","hsla()":"hsla( [ <hue> <percentage> <percentage> [ / <alpha-value> ]? ] | [ <hue> , <percentage> , <percentage> , <alpha-value>? ] )",hue:"<number> | <angle>","hue-rotate()":"hue-rotate( <angle> )",image:"<url> | <image()> | <image-set()> | <element()> | <cross-fade()> | <gradient>","image()":"image( [ [ <image> | <string> ]? , <color>? ]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[ <image> | <string> ] <resolution>","inflexible-breadth":"<length> | <percentage> | min-content | max-content | auto","inset()":"inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident> | <string>","keyframe-selector":"from | to | <percentage>","leader()":"leader( <leader-type> )","leader-type":"dotted | solid | space | <string>","length-percentage":"<length> | <percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[ <line-names> | <name-repeat> ]+","linear-gradient()":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )","mask-layer":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>","mask-position":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?","mask-reference":"none | <image> | <mask-source>","mask-source":"<url>","masking-mode":"alpha | luminance | match-source","matrix()":"matrix( <number> [, <number> ]{5} )","matrix3d()":"matrix3d( <number> [, <number> ]{15} )","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","minmax()":"minmax( [ <length> | <percentage> | <flex> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )","named-color":"transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen | <-non-standard-color>","namespace-prefix":"<ident>","number-percentage":"<number> | <percentage>","numeric-figure-values":"[ lining-nums | oldstyle-nums ]","numeric-fraction-values":"[ diagonal-fractions | stacked-fractions ]","numeric-spacing-values":"[ proportional-nums | tabular-nums ]","opacity()":"opacity( [ <number-percentage> ] )","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )",position:"[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]",quote:"open-quote | close-quote | no-open-quote | no-close-quote","radial-gradient()":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","relative-size":"larger | smaller","repeat-style":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","rgb()":"rgb( [ [ <percentage>{3} | <number>{3} ] [ / <alpha-value> ]? ] | [ [ <percentage>#{3} | <number>#{3} ] , <alpha-value>? ] )","rgba()":"rgba( [ [ <percentage>{3} | <number>{3} ] [ / <alpha-value> ]? ] | [ [ <percentage>#{3} | <number>#{3} ] , <alpha-value>? ] )","rotate()":"rotate( <angle> )","rotate3d()":"rotate3d( <number> , <number> , <number> , <angle> )","rotateX()":"rotateX( <angle> )","rotateY()":"rotateY( <angle> )","rotateZ()":"rotateZ( <angle> )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> [, <number> ]? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","shape-radius":"<length-percentage> | closest-side | farthest-side","skew()":"skew( <angle> [, <angle> ]? )","skewX()":"skewX( <angle> )","skewY()":"skewY( <angle> )","sepia()":"sepia( <number-percentage> )",shadow:"inset? && <length>{2,4} && <color>?","shadow-t":"[ <length>{2,3} && <color>? ]",shape:"rect( [ [ <top> , <right> , <bottom> , <left> ] | [ <top> <right> <bottom> <left> ] ] )","shape-box":"<box> | margin-box","side-or-corner":"[ left | right ] || [ top | bottom ]","single-animation":"<time> || <single-timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]","single-animation-direction":"normal | reverse | alternate | alternate-reverse","single-animation-fill-mode":"none | forwards | backwards | both","single-animation-iteration-count":"infinite | <number>","single-animation-play-state":"running | paused","single-timing-function":"linear | <cubic-bezier-timing-function> | <step-timing-function> | <frames-timing-function>","single-transition":"<single-transition-timing-function> || [ none | <single-transition-property> ] || <time> || <time>","single-transition-timing-function":"<single-timing-function>","single-transition-property":"all | <custom-ident>",size:"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}","step-timing-function":"step-start | step-end | steps( <integer> [, [ start | end ] ]? )",symbol:"<string> | <image> | <custom-ident>",target:"<target-counter()> | <target-counters()> | <target-text()>","target-counter()":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )","time-percentage":"<time> | <percentage>","track-breadth":"<length-percentage> | <flex> | min-content | max-content | auto","track-list":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?","track-repeat":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )","transform-function":"[ <matrix()> || <translate()> || <translateX()> || <translateY()> || <scale()> || <scaleX()> || <scaleY()> || <rotate()> || <skew()> || <skewX()> || <skewY()> || <matrix3d()> || <translate3d()> || <translateZ()> || <scale3d()> || <scaleZ()> || <rotate3d()> || <rotateX()> || <rotateY()> || <rotateZ()> || <perspective()> ]+","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> [, <length-percentage> ]? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string | integer | color | url | integer | number | length | angle | time | frequency | em | ex | px | rem | vw | vh | vmin | vmax | mm | q | cm | in | pt | pc | deg | grad | rad | ms | s | Hz | kHz | %","viewport-length":"auto | <length-percentage>","-legacy-gradient()":"<-webkit-gradient()> | <-legacy-linear-gradient()> | <-legacy-repeating-linear-gradient()> | <-legacy-radial-gradient()> | <-legacy-repeating-radial-gradient()>","-legacy-linear-gradient()":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -ms-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient()":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -ms-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[ <angle> | <side-or-corner> ]? , <color-stop-list>","-legacy-radial-gradient()":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -ms-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient()":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -ms-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side | closest-corner | farthest-side | farthest-corner | contain | cover","-legacy-radial-gradient-shape":"circle | ellipse","-non-standard-font":"-apple-system-body | -apple-system-headline | -apple-system-subheadline | -apple-system-caption1 | -apple-system-caption2 | -apple-system-footnote | -apple-system-short-body | -apple-system-short-headline | -apple-system-short-subheadline | -apple-system-short-caption1 | -apple-system-short-footnote | -apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault | -moz-ButtonHoverFace | -moz-ButtonHoverText | -moz-CellHighlight | -moz-CellHighlightText | -moz-Combobox | -moz-ComboboxText | -moz-Dialog | -moz-DialogText | -moz-dragtargetzone | -moz-EvenTreeRow | -moz-Field | -moz-FieldText | -moz-html-CellHighlight | -moz-html-CellHighlightText | -moz-mac-accentdarkestshadow | -moz-mac-accentdarkshadow | -moz-mac-accentface | -moz-mac-accentlightesthighlight | -moz-mac-accentlightshadow | -moz-mac-accentregularhighlight | -moz-mac-accentregularshadow | -moz-mac-chrome-active | -moz-mac-chrome-inactive | -moz-mac-focusring | -moz-mac-menuselect | -moz-mac-menushadow | -moz-mac-menutextselect | -moz-MenuHover | -moz-MenuHoverText | -moz-MenuBarText | -moz-MenuBarHoverText | -moz-nativehyperlinktext | -moz-OddTreeRow | -moz-win-communicationstext | -moz-win-mediatext | -moz-activehyperlinktext | -moz-default-background-color | -moz-default-color | -moz-hyperlinktext | -moz-visitedhyperlinktext | -webkit-activelink | -webkit-focus-ring-color | -webkit-link | -webkit-text","-non-standard-image-rendering":"optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable","-non-standard-width":"min-intrinsic | intrinsic | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content","-non-standard-word-break":"break-word","-webkit-image-set()":"<image-set()>","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [ , <-webkit-gradient-point> | , <-webkit-gradient-radius> , <-webkit-gradient-point> ] [, <-webkit-gradient-radius> ]? [, <-webkit-gradient-color-stop()> ]* )","-webkit-gradient-color-stop()":"from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )","-webkit-gradient-point":"[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]","-webkit-gradient-radius":"<length> | <percentage>","-webkit-gradient-type":"linear | radial","-webkit-mask-box-repeat":"repeat | stretch | round","-webkit-mask-clip-style":"border | border-box | padding | padding-box | content | content-box | text","-ms-filter":"[ <progid> | FlipH | FlipV ]+",age:"child | young | old","border-radius":"<length-percentage>{1,2}",bottom:"<length> | auto","generic-voice":"[ <age>? <gender> <integer>? ]",gender:"male | female | neutral",left:"<length> | auto","mask-image":"<mask-reference>#","name-repeat":"repeat( [ <positive-integer> | auto-fill ] , <line-names>+ )","outline-radius":"<border-radius>",paint:"none | currentColor | <color> | <url> [ none | currentColor | <color> ]?","path()":"path( <string> )",right:"<length> | auto","svg-length":"<percentage> | <length> | <number>","svg-writing-mode":"lr-tb | rl-tb | tb-rl | lr | rl | tb",top:"<length> | auto",x:"<number>",y:"<number>"},properties:{"-ms-overflow-style":"auto | none | scrollbar | -ms-autohiding-scrollbar","-moz-appearance":"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized","-moz-binding":"<url> | none","-moz-border-bottom-colors":"[ <color> ]* <color> | none","-moz-border-left-colors":"[ <color> ]* <color> | none","-moz-border-right-colors":"[ <color> ]* <color> | none","-moz-border-top-colors":"[ <color> ]* <color> | none","-moz-context-properties":"none | [ fill | fill-opacity | stroke | stroke-opacity ]#","-moz-float-edge":"border-box | content-box | margin-box | padding-box","-moz-force-broken-image-icon":"<integer>","-moz-image-region":"<shape> | auto","-moz-orient":"inline | block | horizontal | vertical","-moz-outline-radius":"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore | stretch-to-fit","-moz-text-blink":"none | blink","-moz-user-focus":"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none","-moz-user-input":"auto | none | enabled | disabled","-moz-user-modify":"read-only | read-write | write-only","-moz-window-dragging":"drag | no-drag","-moz-window-shadow":"default | menu | tooltip | sheet | none","-webkit-border-before":"<'border-width'> || <'border-style'> || <'color'>","-webkit-border-before-color":"<'color'>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[ above | below | right | left ]? <length>? <image>?","-webkit-mask":"<mask-image> [ <'-webkit-mask-repeat'> || <'-webkit-mask-attachment'> || <'-webkit-mask-position'> || <'-webkit-mask-origin'> || <'-webkit-mask-clip'> ]*","-webkit-mask-attachment":"<attachment> [, <attachment> ]*","-webkit-mask-clip":"<-webkit-mask-clip-style> [, <-webkit-mask-clip-style> ]*","-webkit-mask-composite":"<composite-style> [, <composite-style> ]*","-webkit-mask-image":"<mask-image> [, <mask-image> ]*","-webkit-mask-origin":"[ padding | border | content ] [, [ border | padding | content ] ]*","-webkit-mask-position":"<mask-position>#","-webkit-mask-position-x":"[ <length-percentage> | left | center | right ]#","-webkit-mask-position-y":"[ <length-percentage> | top | center | bottom ]#","-webkit-mask-repeat":"<repeat-style> [, <repeat-style> ]*","-webkit-mask-repeat-x":"repeat | no-repeat | space | round","-webkit-mask-repeat-y":"repeat | no-repeat | space | round","-webkit-overflow-scrolling":"auto | touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length> || <color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default | none","align-content":"flex-start | flex-end | center | space-between | space-around | space-evenly | stretch","align-items":"flex-start | flex-end | center | baseline | stretch","align-self":"auto | flex-start | flex-end | center | baseline | stretch",all:"initial | inherit | unset | revert",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[ none | <keyframes-name> ]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<single-timing-function>#",appearance:"auto | none",azimuth:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards","backdrop-filter":"none | <filter-function-list>","backface-visibility":"visible | hidden",background:"[ <bg-layer> , ]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<box>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[ center | [ left | right | x-start | x-end ]? <length-percentage>? ]#","background-position-y":"[ center | [ top | bottom | y-start | y-end ]? <length-percentage>? ]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-size":"<'width'>",border:"<br-width> || <br-style> || <color>","border-block-end":"<'border-width'> || <'border-style'> || <'color'>","border-block-end-color":"<'color'>","border-block-end-style":"<'border-style'>","border-block-end-width":"<'border-width'>","border-block-start":"<'border-width'> || <'border-style'> || <'color'>","border-block-start-color":"<'color'>","border-block-start-style":"<'border-style'>","border-block-start-width":"<'border-width'>","border-bottom":"<br-width> || <br-style> || <color>","border-bottom-color":"<color>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<br-style>","border-bottom-width":"<br-width>","border-collapse":"collapse | separate","border-color":"<color>{1,4}","border-image":"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>","border-image-outset":"[ <length> | <number> ]{1,4}","border-image-repeat":"[ stretch | repeat | round | space ]{1,2}","border-image-slice":"<number-percentage>{1,4} && fill?","border-image-source":"none | <image>","border-image-width":"[ <length-percentage> | <number> | auto ]{1,4}","border-inline-end":"<'border-width'> || <'border-style'> || <'color'>","border-inline-end-color":"<'color'>","border-inline-end-style":"<'border-style'>","border-inline-end-width":"<'border-width'>","border-inline-start":"<'border-width'> || <'border-style'> || <'color'>","border-inline-start-color":"<'color'>","border-inline-start-style":"<'border-style'>","border-inline-start-width":"<'border-width'>","border-left":"<br-width> || <br-style> || <color>","border-left-color":"<color>","border-left-style":"<br-style>","border-left-width":"<br-width>","border-radius":"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?","border-right":"<br-width> || <br-style> || <color>","border-right-color":"<color>","border-right-style":"<br-style>","border-right-width":"<br-width>","border-spacing":"<length> <length>?","border-style":"<br-style>{1,4}","border-top":"<br-width> || <br-style> || <color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<br-style>","border-top-width":"<br-width>","border-width":"<br-width>{1,4}",bottom:"<length> | <percentage> | auto","box-align":"start | center | end | baseline | stretch","box-decoration-break":"slice | clone","box-direction":"normal | reverse | inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single | multiple","box-ordinal-group":"<integer>","box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","box-pack":"start | center | end | justify","box-shadow":"none | <shadow>#","box-sizing":"content-box | border-box","break-after":"auto | avoid | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-before":"auto | avoid | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-inside":"auto | avoid | avoid-page | avoid-column | avoid-region","caption-side":"top | bottom | block-start | block-end | inline-start | inline-end","caret-color":"auto | <color>",clear:"none | left | right | both | inline-start | inline-end",clip:"<shape> | auto","clip-path":"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",color:"<color>","column-count":"<integer> | auto","column-fill":"auto | balance | balance-all","column-gap":"<length-percentage> | normal","column-rule":"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none | all","column-width":"<length> | auto",columns:"<'column-width'> || <'column-count'>",contain:"none | strict | content | [ size || layout || style || paint ]",content:"normal | none | [ <content-replacement> | <content-list> ] [ / <string> ]?","counter-increment":"[ <custom-ident> <integer>? ]+ | none","counter-reset":"[ <custom-ident> <integer>? ]+ | none", |
|
cursor:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]",direction:"ltr | rtl",display:"none | inline | block | list-item | inline-list-item | inline-block | inline-table | table | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group | flex | inline-flex | grid | inline-grid | run-in | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | contents | -ms-flexbox | -ms-inline-flexbox | -ms-grid | -ms-inline-grid | -webkit-flex | -webkit-inline-flex | -webkit-box | -webkit-inline-box | -moz-inline-stack | -moz-box | -moz-inline-box","display-inside":"auto | block | table | flex | grid | ruby","display-list":"none | list-item","display-outside":"block-level | inline-level | run-in | contents | none | table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container","empty-cells":"show | hide",filter:"none | <filter-function-list> | <-ms-filter>",flex:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]","flex-basis":"content | <'width'>","flex-direction":"row | row-reverse | column | column-reverse","flex-flow":"<'flex-direction'> || <'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap | wrap | wrap-reverse",float:"left | right | none | inline-start | inline-end",font:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar | <-non-standard-font>","font-family":"[ <family-name> | <generic-family> ]#","font-feature-settings":"normal | <feature-tag-value>#","font-kerning":"auto | normal | none","font-language-override":"normal | <string>","font-variation-settings":"normal | [ <string> <number> ]#","font-size":"<absolute-size> | <relative-size> | <length-percentage>","font-size-adjust":"none | <number>","font-stretch":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | oblique","font-synthesis":"none | [ weight || style ]","font-variant":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","font-variant-alternates":"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]","font-variant-caps":"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps","font-variant-east-asian":"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]","font-variant-ligatures":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]","font-variant-numeric":"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]","font-variant-position":"normal | sub | super","font-weight":"normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900",grid:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [ / <grid-line> ]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[ row | column ] || dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [ / <grid-line> ]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [ / <grid-line> ]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?","grid-template-areas":"none | <string>+","grid-template-columns":"none | <track-list> | <auto-track-list>","grid-template-rows":"none | <track-list> | <auto-track-list>","hanging-punctuation":"none | [ first || [ force-end | allow-end ] || last ]",height:"[ <length> | <percentage> ] && [ border-box | content-box ]? | available | min-content | max-content | fit-content | auto",hyphens:"none | manual | auto","image-orientation":"from-image | <angle> | [ <angle>? flip ]","image-rendering":"auto | crisp-edges | pixelated | optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>","image-resolution":"[ from-image || <resolution> ] && snap?","ime-mode":"auto | normal | active | inactive | disabled","initial-letter":"normal | [ <number> <integer>? ]","initial-letter-align":"[ auto | alphabetic | hanging | ideographic ]","inline-size":"<'width'>",isolation:"auto | isolate","justify-content":"flex-start | flex-end | center | space-between | space-around | space-evenly",left:"<length> | <percentage> | auto","letter-spacing":"normal | <length-percentage>","line-break":"auto | loose | normal | strict","line-height":"normal | <number> | <length> | <percentage>","line-height-step":"none | <length>","list-style":"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>","list-style-image":"<url> | none","list-style-position":"inside | outside","list-style-type":"<counter-style> | <string> | none",margin:"[ <length> | <percentage> | auto ]{1,4}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length> | <percentage> | auto","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length> | <percentage> | auto","margin-right":"<length> | <percentage> | auto","margin-top":"<length> | <percentage> | auto",mask:"<mask-layer>#","mask-border":"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>","mask-border-mode":"luminance | alpha","mask-border-outset":"[ <length> | <number> ]{1,4}","mask-border-repeat":"[ stretch | repeat | round | space ]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none | <image>","mask-border-width":"[ <length-percentage> | <number> | auto ]{1,4}","mask-clip":"[ <geometry-box> | no-clip ]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance | alpha","max-block-size":"<'max-width'>","max-height":"<length> | <percentage> | none | max-content | min-content | fit-content | fill-available","max-inline-size":"<'max-width'>","max-width":"<length> | <percentage> | none | max-content | min-content | fit-content | fill-available | <-non-standard-width>","min-block-size":"<'min-width'>","min-height":"<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available","min-inline-size":"<'min-width'>","min-width":"<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available | <-non-standard-width>","mix-blend-mode":"<blend-mode>","object-fit":"fill | contain | cover | none | scale-down","object-position":"<position>",offset:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?","offset-anchor":"auto | <position>","offset-block-end":"<'left'>","offset-block-start":"<'left'>","offset-inline-end":"<'left'>","offset-inline-start":"<'left'>","offset-distance":"<length-percentage>","offset-path":"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]","offset-position":"auto | <position>","offset-rotate":"[ auto | reverse ] || <angle>",opacity:"<number-zero-one>",order:"<integer>",orphans:"<integer>",outline:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]","outline-color":"<color> | invert","outline-offset":"<length>","outline-style":"auto | <br-style>","outline-width":"<br-width>",overflow:"visible | hidden | scroll | auto | <-non-standard-overflow>","overflow-clip-box":"padding-box | content-box","overflow-wrap":"normal | break-word","overflow-x":"visible | hidden | scroll | auto","overflow-y":"visible | hidden | scroll | auto",padding:"[ <length> | <percentage> ]{1,4}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length> | <percentage>","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length> | <percentage>","padding-right":"<length> | <percentage>","padding-top":"<length> | <percentage>","page-break-after":"auto | always | avoid | left | right","page-break-before":"auto | always | avoid | left | right","page-break-inside":"auto | avoid",perspective:"none | <length>","perspective-origin":"<position>","pointer-events":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",position:"static | relative | absolute | sticky | fixed | -webkit-sticky",quotes:"none | [ <string> <string> ]+",resize:"none | both | horizontal | vertical",right:"<length> | <percentage> | auto","ruby-align":"start | center | space-between | space-around","ruby-merge":"separate | collapse | auto","ruby-position":"over | under | inter-character","scroll-behavior":"auto | smooth","scroll-snap-coordinate":"none | <position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none | repeat( <length-percentage> )","scroll-snap-points-y":"none | repeat( <length-percentage> )","scroll-snap-type":"none | mandatory | proximity","scroll-snap-type-x":"none | mandatory | proximity","scroll-snap-type-y":"none | mandatory | proximity","shape-image-threshold":"<number>","shape-margin":"<length-percentage>","shape-outside":"none | <shape-box> || <basic-shape> | <image>","tab-size":"<integer> | <length>","table-layout":"auto | fixed","text-align":"start | end | left | right | center | justify | match-parent","text-align-last":"auto | start | end | left | right | center | justify","text-combine-upright":"none | all | [ digits <integer>? ]","text-decoration":"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'>","text-decoration-color":"<color>","text-decoration-line":"none | [ underline || overline || line-through || blink ]","text-decoration-skip":"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]","text-decoration-skip-ink":"auto | none","text-decoration-style":"solid | double | dotted | dashed | wavy","text-emphasis":"<'text-emphasis-style'> || <'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[ over | under ] && [ right | left ]","text-emphasis-style":"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>","text-indent":"<length-percentage> && hanging? && each-line?","text-justify":"auto | inter-character | inter-word | none","text-orientation":"mixed | upright | sideways","text-overflow":"[ clip | ellipsis | <string> ]{1,2}","text-rendering":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision","text-shadow":"none | <shadow-t>#","text-size-adjust":"none | auto | <percentage>","text-transform":"none | capitalize | uppercase | lowercase | full-width","text-underline-position":"auto | [ under || [ left | right ] ]",top:"<length> | <percentage> | auto","touch-action":"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",transform:"none | <transform-list>","transform-box":"border-box | fill-box | view-box","transform-origin":"[ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>? | [ <length-percentage> | left | center | right | top | bottom ]","transform-style":"flat | preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none | <single-transition-property>#","transition-timing-function":"<single-transition-timing-function>#","unicode-bidi":"normal | embed | isolate | bidi-override | isolate-override | plaintext | -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate","user-select":"auto | text | none | contain | all","vertical-align":"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",visibility:"visible | hidden | collapse","white-space":"normal | pre | nowrap | pre-wrap | pre-line",widows:"<integer>",width:"[ <length> | <percentage> ] && [ border-box | content-box ]? | available | min-content | max-content | fit-content | auto","will-change":"auto | <animateable-feature>#","word-break":"normal | break-all | keep-all | <-non-standard-word-break>","word-spacing":"normal | <length-percentage>","word-wrap":"normal | break-word","writing-mode":"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr | <svg-writing-mode>","z-index":"auto | <integer>","-moz-background-clip":"padding | border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-osx-font-smoothing":"auto | grayscale","-moz-user-select":"none | text | all | -moz-none","-ms-filter":"<string>","-ms-flex-align":"start | end | center | baseline | stretch","-ms-flex-item-align":"auto | start | end | center | baseline | stretch","-ms-flex-line-pack":"start | end | center | justify | distribute | stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start | end | center | justify | distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor | bicubic","-ms-grid-column-align":"start | end | center | stretch","-ms-grid-row-align":"start | end | center | stretch","-ms-high-contrast-adjust":"auto | none","-ms-user-select":"none | element | text","-webkit-appearance":"none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield","-webkit-background-clip":"[ <box> | border | padding | content | text ]#","-webkit-column-break-after":"always | auto | avoid","-webkit-column-break-before":"always | auto | avoid","-webkit-column-break-inside":"always | auto | avoid","-webkit-font-smoothing":"auto | none | antialiased | subpixel-antialiased","-webkit-line-clamp":"<positive-integer>","-webkit-mask-box-image":"[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?","-webkit-print-color-adjust":"economy | exact","-webkit-text-security":"none | circle | disc | square","-webkit-user-drag":"none | element | auto","-webkit-user-select":"auto | none | text | all","alignment-baseline":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical","baseline-shift":"baseline | sub | super | <svg-length>",behavior:"<url>+","clip-rule":"nonzero | evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>? | none","cue-before":"<url> <decibel>? | none","dominant-baseline":"auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero | evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto | <svg-length>",marker:"none | <url>","marker-end":"none | <url>","marker-mid":"none | <url>","marker-start":"none | <url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time> | none | x-weak | weak | medium | strong | x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time> | none | x-weak | weak | medium | strong | x-strong","shape-rendering":"auto | optimizeSpeed | crispEdges | geometricPrecision",src:"[ <url> format( <string># )? | local( <family-name> ) ]#",speak:"auto | none | normal","speak-as":"normal | spell-out || digits || [ literal-punctuation | no-punctuation ]",stroke:"<paint>","stroke-dasharray":"none | [ <svg-length>+ ]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt | round | square","stroke-linejoin":"miter | round | bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start | middle | end","unicode-range":"<unicode-range>#","voice-balance":"<number> | left | center | right | leftwards | rightwards","voice-duration":"auto | <time>","voice-family":"[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve","voice-pitch":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]","voice-range":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>","voice-stress":"normal | strong | moderate | none | reduced","voice-volume":"silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]",zoom:"normal | reset | <number> | <percentage>"}}},{}],2:[function(e,t,n){var r=e("../utils/list");t.exports=function(e){return{fromPlainObject:function(t){return e(t,{enter:function(e){e.children&&e.children instanceof r==!1&&(e.children=(new r).fromArray(e.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(e){e.children&&e.children instanceof r&&(e.children=e.children.toArray())}}),t}}}},{"../utils/list":102}],3:[function(e,t,n){"use strict";function r(e,t){var n=e.children,r=null;"function"!=typeof t?n.forEach(this.node,this):n.forEach(function(e){null!==r&&t.call(this,r),this.node(e),r=e},this)}var i=e("./sourceMap"),o=Object.prototype.hasOwnProperty;t.exports=function(e){function t(e){if(!o.call(n,e.type))throw new Error("Unknown node type: "+e.type);n[e.type].call(this,e)}var n={};if(e.node)for(var a in e.node)n[a]=e.node[a].generate;return function(e,n){var o="",a={children:r,node:t,chunk:function(e){o+=e},result:function(){return o}};return n&&("function"==typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=i(a))),a.node(e),a.result()}}},{"./sourceMap":4}],4:[function(e,t,n){"use strict";var r=e("source-map").SourceMapGenerator,i={Atrule:!0,Selector:!0,Declaration:!0};t.exports=function(e){var t=new r,n=1,o=0,a={line:1,column:0},s={line:0,column:0},l=!1,c={line:1,column:0},u={generated:c},h=e.node;e.node=function(e){if(e.loc&&e.loc.start&&i.hasOwnProperty(e.type)){var r=e.loc.start.line,p=e.loc.start.column-1;s.line===r&&s.column===p||(s.line=r,s.column=p,a.line=n,a.column=o,l&&(l=!1,a.line===c.line&&a.column===c.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:s,generated:a}))}h.call(this,e),l&&i.hasOwnProperty(e.type)&&(c.line=n,c.column=o)};var p=e.chunk;e.chunk=function(e){for(var t=0;t<e.length;t++)10===e.charCodeAt(t)?(n++,o=0):o++;p(e)};var d=e.result;return e.result=function(){return l&&t.addMapping(u),{css:d(),map:t}},e}},{"source-map":115}],5:[function(e,t,n){"use strict";t.exports=e("./syntax")},{"./syntax":34}],6:[function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)e[r].syntax&&(n[r]=t?e[r].syntax:m(e[r].syntax));return n}function i(e){return e&&e.data}function o(e){var t=!1;return this.syntax.walk(e,function(e){"Function"===e.type&&"var"===e.name.toLowerCase()&&(t=!0)}),t}function a(e){return"Identifier"===e.type&&/^\\[09]/.test(e.name)}function s(e){for(;null!==e;){if("WhiteSpace"!==e.data.type&&"Comment"!==e.data.type&&!a(e.data))return!1;e=e.next}return!0}function l(e,t){return{matched:e,error:t,getTrace:y.getTrace,isType:y.isType,isProperty:y.isProperty,isKeyword:y.isKeyword}}function c(e,t,n,r){var a;return n&&n.children?o.call(e,n)?l(null,new Error("Matching for a tree with var() is not supported")):(r&&(a=b(e,e.valueCommonSyntax,n.children.head)),r&&a.match||(a=t.match(n.children.head),a.match)?("ASTNode"===a.match.type?a.match={syntax:{type:t.type,name:t.name},match:[a.match]}:"Group"===a.match.syntax.type&&(a.match.syntax={type:t.type,name:t.name}),a.next&&!s(a.next)?l(null,new h("Uncomplete match",e,t.syntax,n,a.badNode||i(a.next)||n)):l(a.match,null)):l(null,new h("Mismatch",e,t.syntax,n,a.badNode||i(a.next)||n))):l(null,new Error("Node has no children"))}var u=e("./error").SyntaxReferenceError,h=e("./error").MatchError,p=e("../utils/names"),d=e("./generic"),g=e("./grammar/parse"),m=e("./grammar/generate"),f=e("./grammar/walk"),b=e("./match"),y=e("./trace"),k=e("./search"),v=e("./structure").getStructureFromConfig,x=g("inherit | initial | unset"),w=g("inherit | initial | unset | <expression>"),S=function(e,t,n){if(this.valueCommonSyntax=x,this.syntax=t,this.generic=!1,this.properties={},this.types={},this.structure=n||v(e),e){if(e.generic){this.generic=!0;for(var r in d)this.addType_(r,d[r])}if(e.types)for(var r in e.types)this.addType_(r,e.types[r]);if(e.properties)for(var r in e.properties)this.addProperty_(r,e.properties[r])}};S.prototype={structure:{},checkStructure:function(e){function t(e,t){r.push({node:e,message:t})}var n=this.structure,r=[];return this.syntax.walk(e,function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),!!r.length&&r},createDescriptor:function(e,t,n){var r=this,i={type:t,name:n,syntax:null,match:null};return"function"==typeof e?(e={type:"ASTNode",match:e},i.match=function(t){return b(r,e,t)}):("string"==typeof e?Object.defineProperty(i,"syntax",{get:function(){return Object.defineProperty(i,"syntax",{value:g(e)}),i.syntax}}):i.syntax=e,i.match=function(e){return b(r,i.syntax,e)}),i},addProperty_:function(e,t){this.properties[e]=this.createDescriptor(t,"Property",e)},addType_:function(e,t){this.types[e]=this.createDescriptor(t,"Type",e),t===d.expression&&(this.valueCommonSyntax=w)},matchDeclaration:function(e){return"Declaration"!==e.type?l(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)},matchProperty:function(e,t){var n=p.property(e);if(n.custom)return l(null,new Error("Lexer matching doesn't applicable for custom properties"));var r=n.vendor?this.getProperty(n.name)||this.getProperty(n.basename):this.getProperty(n.name);return r?c(this,r,t,!0):l(null,new u("Unknown property",e))},matchType:function(e,t){var n=this.getType(e);return n?c(this,n,t,!1):l(null,new u("Unknown type",e))},match:function(e,t){return e&&e.type?(e.match||(e=this.createDescriptor(e)),c(this,e,t,!1)):l(null,new u("Bad syntax"))},findValueFragments:function(e,t,n,r){return k.matchFragments(this,t,this.matchProperty(e,t),n,r)},findDeclarationValueFragments:function(e,t,n){return k.matchFragments(this,e.value,this.matchDeclaration(e),t,n)},findAllFragments:function(e,t,n){var r=[];return this.syntax.walk(e,{visit:"Declaration",enter:function(e){r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}.bind(this)}),r},getProperty:function(e){return this.properties.hasOwnProperty(e)?this.properties[e]:null},getType:function(e){return this.types.hasOwnProperty(e)?this.types[e]:null},validate:function(){function e(r,i,o,a){if(o.hasOwnProperty(i))return o[i];o[i]=!1,null!==a.syntax&&f(a.syntax,function(a){if("Type"===a.type||"Property"===a.type){var s="Type"===a.type?r.types:r.properties,l="Type"===a.type?t:n;s.hasOwnProperty(a.name)&&!e(r,a.name,l,s[a.name])||(o[i]=!0)}},this)}var t={},n={};for(var r in this.types)e(this,r,t,this.types[r]);for(var r in this.properties)e(this,r,n,this.properties[r]);return t=Object.keys(t).filter(function(e){return t[e]}),n=Object.keys(n).filter(function(e){return n[e]}),t.length||n.length?{types:t,properties:n}:null},dump:function(e){return{generic:this.generic,types:r(this.types,e),properties:r(this.properties,e)}},toString:function(){return JSON.stringify(this.dump())}},t.exports=S},{"../utils/names":103,"./error":7,"./generic":8,"./grammar/generate":10,"./grammar/parse":12,"./grammar/walk":13,"./match":14,"./search":15,"./structure":16,"./trace":17}],7:[function(e,t,n){"use strict";function r(e,t){var n=e&&e.loc&&e.loc[t];return n?{offset:n.offset,line:n.line,column:n.column}:null}var i=e("../utils/createCustomError"),o=e("./grammar/generate"),a=function(e,t){var n=i("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},s=function(e,t,n,a,s){var l=i("SyntaxMatchError",e),c=-1,u=r(s,"start"),h=r(s,"end"),p=t.syntax.generate(a,{decorator:function(e){var t=0,n=e.chunk;e.chunk=function(e){t+=e.length,n(e)};var r=e.node;return e.node=function(e){e===s&&(c=t),r.call(this,e)},e}});return-1===c&&(c=p.length),l.rawMessage=e,l.syntax=n?o(n):"<generic>",l.css=p,l.mismatchOffset=c,l.loc={source:s&&s.loc&&s.loc.source||"<unknown>",start:u,end:h},l.line=u?u.line:void 0,l.column=u?u.column:void 0,l.offset=u?u.offset:void 0,l.message=e+"\n syntax: "+l.syntax+"\n value: "+(l.css||"<empty string>")+"\n --------"+new Array(l.mismatchOffset+1).join("-")+"^",l};t.exports={SyntaxReferenceError:a,MatchError:s}},{"../utils/createCustomError":101,"./grammar/generate":10}],8:[function(e,t,n){"use strict";function r(e){if("Function"!==e.data.type)return!1;var t=b.keyword(e.data.name);return"calc"===t.name||"-moz-calc"===t.name||"-webkit-calc"===t.name}function i(e){return function(t){return t.data.type===e}}function o(e){return function(t){return r(t)||"Dimension"===t.data.type&&e.hasOwnProperty(t.data.unit.toLowerCase())}}function a(e){return function(t){return r(t)||"Dimension"===t.data.type&&e.hasOwnProperty(t.data.unit.toLowerCase())||"Number"===t.data.type&&0===Number(t.data.value)}}function s(e){return"Function"===e.data.type&&"attr"===e.data.name.toLowerCase()}function l(e){return r(e)||"Number"===e.data.type}function c(e){if(r(e)||"Number"===e.data.type){var t=Number(e.data.value);return t>=0&&t<=1}return!1}function u(e){return!(!r(e)&&"Number"!==e.data.type)&&Number(e.data.value)>=1}function h(e){return r(e)||"Number"===e.data.type&&-1===e.data.value.indexOf(".")}function p(e){return r(e)||"Number"===e.data.type&&-1===e.data.value.indexOf(".")&&"-"!==e.data.value.charAt(0)}function d(e){return r(e)||"Percentage"===e.data.type}function g(e){if("HexColor"!==e.data.type)return!1;var t=e.data.value;return/^[0-9a-fA-F]{3,8}$/.test(t)&&(3===t.length||4===t.length||6===t.length||8===t.length)}function m(e){return"Function"===e.data.type&&"expression"===e.data.name.toLowerCase()}function f(e){if("Identifier"!==e.data.type)return!1;var t=e.data.name.toLowerCase();return"unset"!==t&&"initial"!==t&&"inherit"!==t&&"default"!==t}var b=e("../utils/names.js"),y={px:!0,mm:!0,cm:!0,in:!0,pt:!0,pc:!0,q:!0,em:!0,ex:!0,ch:!0,rem:!0,vh:!0,vw:!0,vmin:!0,vmax:!0,vm:!0},k={deg:!0,grad:!0,rad:!0,turn:!0},v={s:!0,ms:!0},x={hz:!0,khz:!0},w={dpi:!0,dpcm:!0,dppx:!0,x:!0},S={fr:!0},C={db:!0},z={st:!0};t.exports={angle:a(k),"attr()":s,"custom-ident":f,decibel:o(C),dimension:i("Dimension"),frequency:o(x),flex:o(S),"hex-color":g,"id-selector":i("IdSelector"),ident:i("Identifier"),integer:h,length:a(y),number:l,"number-zero-one":c,"number-one-or-greater":u,percentage:d,"positive-integer":p,resolution:o(w),semitones:o(z),string:i("String"),time:o(v),"unicode-range":i("UnicodeRange"),url:i("Url"),progid:i("Raw"),expression:m}},{"../utils/names.js":103}],9:[function(e,t,n){"use strict";var r=e("../../utils/createCustomError"),i=function(e,t,n){var i=r("SyntaxParseError",e);return i.rawMessage=e,i.syntax=t,i.offset=n,i.message=i.rawMessage+"\n "+i.syntax+"\n--"+new Array((i.offset||i.syntax.length)+1).join("-")+"^",i};t.exports={SyntaxParseError:i}},{"../../utils/createCustomError":101}],10:[function(e,t,n){"use strict";function r(e,t){return e&&e.type===t}function i(e){return 0===e.min&&0===e.max?"*":0===e.min&&1===e.max?"?":1===e.min&&0===e.max?e.comma?"#":"+":1===e.min&&1===e.max?"":(e.comma?"#":"")+"{"+e.min+(e.min!==e.max?","+(0!==e.max?e.max:""):"")+"}"}function o(e,t,n){var i="";return(e.explicit||t)&&(i+="["+(r(e.terms[0],"Comma")?"":" ")),i+=e.terms.map(function(e){return s(e,t,n)}).join(" "===e.combinator?" ":" "+e.combinator+" "),(e.explicit||t)&&(i+=" ]"),i}function a(e,t,n){return e.terms.length?"( "+o(e,t,n)+" )":"()"}function s(e,t,n){var r;switch(e.type){case"Group":r=o(e,t,n)+(e.disallowEmpty?"!":"")+i(e.multiplier);break;case"Keyword":r=e.name;break;case"Function":r=e.name+a(e.children,t,n);break;case"Parentheses":r=a(e.children,t,n);break;case"Type":r="<"+e.name+">";break;case"Property":r="<'"+e.name+"'>";break;case"Combinator":case"Slash":case"Percent":case"String":case"Comma":r=e.value;break;default:throw new Error("Unknown node type `"+e.type+"`")}return"function"==typeof n&&(r=n(r,e)),r}t.exports=s},{}],11:[function(e,t,n){t.exports={SyntaxParseError:e("./error").SyntaxParseError,parse:e("./parse"),generate:e("./generate"),walk:e("./walk")}},{"./error":9,"./generate":10,"./parse":12,"./walk":13}],12:[function(e,t,n){"use strict";function r(e){for(var t=e.pos+1;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n!==S&&n!==x&&n!==w&&n!==C&&n!==v)break}return e.substringToPos(t)}function i(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n>=128||0===X[n])break}return e.pos===t&&b(e,e.pos,"Expect a keyword"),e.substringToPos(t)}function o(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&b(e,e.pos,"Expect a number"),e.substringToPos(t)}function a(e){var t=e.str.indexOf("'",e.pos+1);return-1===t&&b(e,e.str.length,"Expect a quote"),e.substringToPos(t+1)}function s(e,t){ |
|
var n=null,r=null;return e.eat(U),n=o(e),e.charCode()===M?(e.pos++,e.charCode()!==q&&(r=o(e))):r=n,e.eat(q),{comma:t,min:Number(n),max:r?Number(r):0}}function l(e){switch(e.charCode()){case O:return e.pos++,V;case N:return e.pos++,H;case F:return e.pos++,$;case A:return e.pos++,e.charCode()!==U?Q:s(e,!0);case U:return s(e,!1)}return G}function c(e,t){var n=l(e);return n!==G?{type:"Group",terms:[t],combinator:"|",disallowEmpty:!1,multiplier:n,explicit:!1}:t}function u(e){var t;return e.eat(B),e.eat(L),t=i(e),e.eat(L),e.eat(D),c(e,{type:"Property",name:t})}function h(e){var t;return e.eat(B),t=i(e),e.charCode()===E&&e.nextCharCode()===_&&(e.pos+=2,t+="()"),e.eat(D),c(e,{type:"Type",name:t})}function p(e){var t,n=null;return t=i(e),e.charCode()===E?(e.pos++,n=g(e),e.eat(_),c(e,{type:"Function",name:t,children:n})):c(e,{type:"Keyword",name:t})}function d(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,multiplier:G,explicit:!1}}for(t=Object.keys(t).sort(function(e,t){return Y[e]-Y[t]});t.length>0;){for(var r=t.shift(),i=0,o=0;i<e.length;i++){var a=e[i];"Combinator"===a.type&&(a.value===r?(-1===o&&(o=i-1),e.splice(i,1),i--):(-1!==o&&i-o>1&&(e.splice(o,i-o,n(e.slice(o,i),r)),i=o+1),o=-1))}-1!==o&&t.length&&e.splice(o,i-o,n(e.slice(o,i),r))}return r}function g(e){for(var t,n=[],r={},i=null,o=e.pos;t=f(e);)"Spaces"!==t.type&&("Combinator"===t.type?(null!==i&&"Combinator"!==i.type||b(e,o,"Unexpected combinator"),r[t.value]=!0):null!==i&&"Combinator"!==i.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),i=t,o=e.pos);return null!==i&&"Combinator"===i.type&&b(e,e.pos-o,"Unexpected combinator"),{type:"Group",terms:n,combinator:d(n,r)||" ",disallowEmpty:!1,multiplier:G,explicit:!1}}function m(e){var t;return e.eat(j),t=g(e),e.eat(I),t.explicit=!0,t.multiplier=l(e),e.charCode()===z&&(e.pos++,t.disallowEmpty=!0),t}function f(e){var t=e.charCode();if(t<128&&1===X[t])return p(e);switch(t){case j:return m(e);case B:return e.nextCharCode()===L?u(e):h(e);case W:return{type:"Combinator",value:e.substringToPos(e.nextCharCode()===W?e.pos+2:e.pos+1)};case P:return e.pos++,e.eat(P),{type:"Combinator",value:"&&"};case M:return e.pos++,{type:"Comma",value:","};case R:return e.pos++,{type:"Slash",value:"/"};case T:return e.pos++,{type:"Percent",value:"%"};case E:e.pos++;var n=g(e);return e.eat(_),{type:"Parentheses",children:n};case L:return{type:"String",value:a(e)};case C:case v:case x:case S:case w:return{type:"Spaces",value:r(e)}}}function b(e,t,n){throw new k(n||"Unexpected input",e.str,t)}function y(e){var t=new J(e),n=g(t);return t.pos!==e.length&&b(t,t.pos),1===n.terms.length&&"Group"===n.terms[0].type&&(n=n.terms[0]),n}var k=e("./error").SyntaxParseError,v=9,x=10,w=12,S=13,C=32,z=33,A=35,T=37,P=38,L=39,E=40,_=41,O=42,N=43,M=44,R=47,B=60,D=62,F=63,j=91,I=93,U=123,W=124,q=125,Y={" ":1,"&&":2,"||":3,"|":4},G={comma:!1,min:1,max:1},V={comma:!1,min:0,max:0},H={comma:!1,min:1,max:0},Q={comma:!0,min:1,max:0},$={comma:!1,min:0,max:1},X=function(){for(var e="function"==typeof Uint32Array?new Uint32Array(128):new Array(128),t=0;t<128;t++)e[t]=/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0;return e}(),J=function(e){this.str=e,this.pos=0};J.prototype={charCode:function(){return this.pos<this.str.length?this.str.charCodeAt(this.pos):0},nextCharCode:function(){return this.pos+1<this.str.length?this.str.charCodeAt(this.pos+1):0},substringToPos:function(e){return this.str.substring(this.pos,this.pos=e)},eat:function(e){this.charCode()!==e&&b(this,this.pos,"Expect `"+String.fromCharCode(e)+"`"),this.pos++}},y("[a&&<b>#|<'c'>*||e(){2,} f{2} /,(% g#{1,2})]!"),t.exports=y},{"./error":9}],13:[function(e,t,n){"use strict";function r(e){return"function"==typeof e?e:i}var i=function(){};t.exports=function(e,t,n){function o(e){switch(a.call(n,e),e.type){case"Group":e.terms.forEach(o);break;case"Function":case"Parentheses":o(e.children);break;case"Keyword":case"Type":case"Property":case"Combinator":case"Comma":case"Slash":case"String":case"Percent":break;default:throw new Error("Unknown type: "+e.type)}s.call(n,e)}var a=i,s=i;if("function"==typeof t?a=t:t&&(a=r(t.enter),s=r(t.leave)),a===i&&s===i)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");o(e,n)}},{}],14:[function(e,t,n){"use strict";function r(e){for(;null!==e&&("WhiteSpace"===e.data.type||"Comment"===e.data.type);)e=e.next;return e}function i(e,t){"Group"===(t.type||t.syntax.type)?e.push.apply(e,t.match):e.push(t)}function o(){return{type:this.syntax.type,name:this.syntax.name,match:this.match,node:this.node}}function a(e,t,n,r){return e?{badNode:e,lastNode:null,next:null,match:null}:{badNode:null,lastNode:t,next:n,match:r}}function s(e,t,n){var s,c,h,p=[],d=t.multiplier||u,g=d.min,m=0===d.max?1/0:d.max,f=0,b=null,y=null;e:for(;f<m;){switch(n=r(n),s=[],t.combinator){case"|":for(var k=0;k<t.terms.length;k++){var v=t.terms[k],x=l(e,v,n);if(x.match){i(s,x.match),n=x.next;break}if(x.badNode){y=x.badNode;break e}x.lastNode&&(b=x.lastNode)}if(0===s.length)break e;break;case" ":for(var w=n,S=null,C=!1,z=!1,k=0;k<t.terms.length;k++){var v=t.terms[k],x=l(e,v,n);if(!x.match){if(x.badNode){y=x.badNode;break e}if(x.lastNode&&(b=x.lastNode),"Comma"===v.type&&0!==k&&k!==t.terms.length-1){C&&(z=!0);continue}b=x.lastNode||n&&n.data,n=w;break e}if("Comma"===v.type&&0!==k&&!C){b=n&&n.data,n=w;break e}if(x.next!==n){if(z){b=n&&n.data,n=w;break e}C="Comma"!==v.type,S=v}i(s,x.match),n=r(x.next)}if(!S&&t.disallowEmpty){b=n&&n.data,n=w;break e}if(S&&"Comma"===S.type&&"Comma"!==v.type){b=n&&n.data,n=w;break e}break;case"&&":for(var w=n,S=null,A=t.terms.slice();A.length;){for(var T=!1,P=0,k=0;k<A.length;k++){var v=A[k],x=l(e,v,n);if(x.match){if(x.next===n){P++;continue}S=v,T=!0,A.splice(k--,1),i(s,x.match),n=r(x.next);break}if(x.badNode){y=x.badNode;break e}x.lastNode&&(b=x.lastNode)}if(!T){if(P===A.length)break;b=n&&n.data,n=w;break e}}if(!S&&t.disallowEmpty){b=n&&n.data,n=w;break e}break;case"||":for(var w=n,S=null,A=t.terms.slice();A.length;){for(var T=!1,P=0,k=0;k<A.length;k++){var v=A[k],x=l(e,v,n);if(x.match){if(x.next===n){P++;continue}S=v,T=!0,A.splice(k--,1),i(s,x.match),n=r(x.next);break}if(x.badNode){y=x.badNode;break e}x.lastNode&&(b=x.lastNode)}if(!T)break}if(!S&&(P!==A.length||t.disallowEmpty)){b=n&&n.data,n=w;break e}}if(p.push.apply(p,s),f++,!n)break;if(d.comma){if(h&&c===p.length)break e;if(null===(n=r(n))||"Operator"!==n.data.type||","!==n.data.value){b=null!==n?n.data:null;break e}p.push({syntax:t,match:[{type:"ASTNode",node:n.data,childrenMatch:null}]}),c=p.length,h=n,n=n.next}}return h&&c===p.length&&(n=h,p.pop()),a(y,b,n,f<g?null:{syntax:t,match:p,toJSON:o})}function l(e,t,n){var r=null,u=null,h=null;switch(t.type){case"Group":return s(e,t,n);case"Function":if(!n||"Function"!==n.data.type)break;var p=c.keyword(n.data.name),d=t.name.toLowerCase();if(d!==p.name)break;var g=l(e,t.children,n.data.children.head);if(!g.match||g.next){r=g.badNode||g.lastNode||(g.next?g.next.data:null)||n.data;break}h=[{type:"ASTNode",node:n.data,childrenMatch:g.match.match}],n=n.next;break;case"Parentheses":if(!n||"Parentheses"!==n.data.type)break;var g=l(e,t.children,n.data.children.head);if(!g.match||g.next){r=g.badNode||g.lastNode||(g.next?g.next.data:null)||n.data;break}h=[{type:"ASTNode",node:n.data,childrenMatch:g.match.match}],n=g.next;break;case"Type":var m=e.getType(t.name);if(!m)throw new Error("Unknown syntax type `"+t.name+"`");var g=m.match(n);if(!g.match){r=g&&g.badNode,u=g&&g.lastNode||n&&n.data;break}n=g.next,i(h=[],g.match),0===h.length&&(h=null);break;case"Property":var f=e.getProperty(t.name);if(!f)throw new Error("Unknown property `"+t.name+"`");var g=f.match(n);if(!g.match){r=g&&g.badNode,u=g&&g.lastNode||n&&n.data;break}n=g.next,i(h=[],g.match),0===h.length&&(h=null);break;case"Keyword":if(!n)break;if("Identifier"===n.data.type){var p=c.keyword(n.data.name),b=p.name,d=t.name.toLowerCase();if(-1!==b.indexOf("\\")&&(b=b.replace(/\\[09].*$/,"")),d!==b)break}else if("Number"!==n.data.type||n.data.value!==t.name)break;h=[{type:"ASTNode",node:n.data,childrenMatch:null}],n=n.next;break;case"Slash":case"Comma":if(!n||"Operator"!==n.data.type||n.data.value!==t.value)break;h=[{type:"ASTNode",node:n.data,childrenMatch:null}],n=n.next;break;case"String":if(!n||"String"!==n.data.type)break;h=[{type:"ASTNode",node:n.data,childrenMatch:null}],n=n.next;break;case"ASTNode":return n&&t.match(n)&&(h={type:"ASTNode",node:n.data,childrenMatch:null},n=n.next),a(r,u,n,h);default:throw new Error("Not implemented yet node type: "+t.type)}return a(r,u,n,null===h?null:{syntax:t,match:h,toJSON:o})}var c=e("../utils/names"),u={comma:!1,min:1,max:1};t.exports=l},{"../utils/names":103}],15:[function(e,t,n){function r(e){return"ASTNode"===e.type?e.node:r(e.match[0])}function i(e){return"ASTNode"===e.type?e.node:i(e.match[e.match.length-1])}function o(e,t,n,o,s){function l(n){if("ASTNode"!==n.type){if(n.syntax.type===o&&n.syntax.name===s){var u=r(n),h=i(n);e.syntax.walk(t,function(e,t,n){if(e===u){var r=new a;do{if(r.appendData(t.data),t.data===h)break;t=t.next}while(null!==t);c.push({parent:n,nodes:r})}})}n.match.forEach(l)}}var c=[];return null!==n.matched&&l(n.matched),c}var a=e("../utils/list");t.exports={matchFragments:o}},{"../utils/list":102}],16:[function(e,t,n){function r(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function i(e){return Boolean(e)&&r(e.offset)&&r(e.line)&&r(e.column)}function o(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(var o in n){var a=!0;if(!1!==l.call(n,o)){if("type"===o)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===o){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)o+=".source";else if(i(n.loc.start)){if(i(n.loc.end))continue;o+=".end"}else o+=".start";a=!1}else if(t.hasOwnProperty(o))for(var c=0,a=!1;!a&&c<t[o].length;c++){var u=t[o][c];switch(u){case String:a="string"==typeof n[o];break;case Boolean:a="boolean"==typeof n[o];break;case null:a=null===n[o];break;default:"string"==typeof u?a=n[o]&&n[o].type===u:Array.isArray(u)&&(a=n[o]instanceof s)}}else r(n,"Unknown field `"+o+"` for "+e+" node type");a||r(n,"Bad value for `"+e+"."+o+"`")}}for(var o in t)l.call(t,o)&&!1===l.call(n,o)&&r(n,"Field `"+e+"."+o+"` is missed")}}function a(e,t){var n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(var a in n)if(!1!==l.call(n,a)){for(var s=[],c=r[a]=Array.isArray(n[a])?n[a].slice():[n[a]],u=0;u<c.length;u++){var h=c[u];if(h===String||h===Boolean)s.push(h.name);else if(null===h)s.push("null");else if("string"==typeof h)s.push("<"+h+">");else{if(!Array.isArray(h))throw new Error("Wrong value `"+h+"` in `"+e+"."+a+"` structure definition");s.push("List")}}i[a]=s.join(" | ")}return{docs:i,check:o(e,r)}}var s=e("../utils/list"),l=Object.prototype.hasOwnProperty;t.exports={getStructureFromConfig:function(e){var t={};if(e.node)for(var n in e.node)if(l.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=a(n,r)}return t}}},{"../utils/list":102}],17:[function(e,t,n){function r(e){function t(r){if("ASTNode"===r.type){if(r.node===e)return n=[],!0;if(r.childrenMatch)for(var i=0;i<r.childrenMatch.length;i++)if(t(r.childrenMatch[i]))return!0}else for(var i=0;i<r.match.length;i++)if(t(r.match[i]))return"Type"!==r.syntax.type&&"Property"!==r.syntax.type&&"Keyword"!==r.syntax.type||n.unshift(r.syntax),!0;return!1}var n=null;return null!==this.matched&&t(this.matched),n}function i(e,t,n){var i=r.call(e,t);return null!==i&&i.some(n)}function o(e,t){return i(this,e,function(e){return"Type"===e.type&&e.name===t})}function a(e,t){return i(this,e,function(e){return"Property"===e.type&&e.name===t})}function s(e){return i(this,e,function(e){return"Keyword"===e.type})}t.exports={getTrace:r,isType:o,isProperty:a,isKeyword:s}},{}],18:[function(e,t,n){"use strict";function r(e){return function(){return this[e]()}}function i(e){var t={context:{},scope:{},atrule:{},pseudo:{}};if(e.parseContext)for(var n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=r(e.parseContext[n])}if(e.scope)for(var n in e.scope)t.scope[n]=e.scope[n];if(e.atrule)for(var n in e.atrule){var i=e.atrule[n];i.parse&&(t.atrule[n]=i.parse)}if(e.pseudo)for(var n in e.pseudo){var o=e.pseudo[n];o.parse&&(t.pseudo[n]=o.parse)}if(e.node)for(var n in e.node)t[n]=e.node[n].parse;return t}var o=e("../tokenizer"),a=e("../utils/list"),s=e("./sequence"),l=function(){};t.exports=function(e){var t={scanner:new o,filename:"<unknown>",needPositions:!1,onParseError:l,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:s,createList:function(){return new a},createSingleNodeList:function(e){return(new a).appendData(e)},getFirstListNode:function(e){return e&&e.first()},getLastListNode:function(e){return e.last()},parseWithFallback:function(e,t){var n=this.scanner.currentToken;try{return e.call(this)}catch(e){if(this.onParseErrorThrow)throw e;var r=t.call(this,n);return this.onParseErrorThrow=!0,this.onParseError(e,r),this.onParseErrorThrow=!1,r}},getLocation:function(e,t){return this.needPositions?this.scanner.getLocationRange(e,t,this.filename):null},getLocationFromList:function(e){if(this.needPositions){var t=this.getFirstListNode(e),n=this.getLastListNode(e);return this.scanner.getLocationRange(null!==t?t.loc.start.offset-this.scanner.startOffset:this.scanner.tokenStart,null!==n?n.loc.end.offset-this.scanner.startOffset:this.scanner.tokenStart,this.filename)}return null}};e=i(e||{});for(var n in e)t[n]=e[n];return function(e,n){n=n||{};var r,i=n.context||"default";if(t.scanner.setSource(e,n.offset,n.line,n.column),t.filename=n.filename||"<unknown>",t.needPositions=Boolean(n.positions),t.onParseError="function"==typeof n.onParseError?n.onParseError:l,t.onParseErrorThrow=!1,t.parseAtrulePrelude=!("parseAtrulePrelude"in n)||Boolean(n.parseAtrulePrelude),t.parseRulePrelude=!("parseRulePrelude"in n)||Boolean(n.parseRulePrelude),t.parseValue=!("parseValue"in n)||Boolean(n.parseValue),t.parseCustomProperty="parseCustomProperty"in n&&Boolean(n.parseCustomProperty),!t.context.hasOwnProperty(i))throw new Error("Unknown context `"+i+"`");return r=t.context[i].call(t,n),t.scanner.eof||t.scanner.error(),r}}},{"../tokenizer":98,"../utils/list":102,"./sequence":19}],19:[function(e,t,n){var r=e("../tokenizer").TYPE,i=r.WhiteSpace,o=r.Comment;t.exports=function(e){var t=this.createList(),n=null,r={recognizer:e,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:r.ignoreWS?this.scanner.next():r.space=this.WhiteSpace();continue}if(void 0===(n=e.getNode.call(this,r)))break;null!==r.space&&(t.push(r.space),r.space=null),t.push(n),r.ignoreWSAfter?(r.ignoreWSAfter=!1,r.ignoreWS=!0):r.ignoreWS=!1}return t}},{"../tokenizer":98}],20:[function(e,t,n){t.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},{}],21:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.String,o=r.Identifier,a=r.Url,s=r.LeftParenthesis;t.exports={parse:{prelude:function(){var e=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case i:e.push(this.String());break;case a:e.push(this.Url());break;default:this.scanner.error("String or url() is expected")}return this.scanner.lookupNonWSType(0)!==o&&this.scanner.lookupNonWSType(0)!==s||(e.push(this.WhiteSpace()),e.push(this.MediaQueryList())),e},block:null}}},{"../../tokenizer":98}],22:[function(e,t,n){t.exports={"font-face":e("./font-face"),import:e("./import"),media:e("./media"),page:e("./page"),supports:e("./supports")}},{"./font-face":20,"./import":21,"./media":23,"./page":24,"./supports":25}],23:[function(e,t,n){t.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},{}],24:[function(e,t,n){t.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},{}],25:[function(e,t,n){function r(){return this.createSingleNodeList(this.Raw(this.scanner.currentToken,0,0,!1,!1))}function i(){var e=0;return this.scanner.skipSC(),this.scanner.tokenType===c?e=1:this.scanner.tokenType===p&&this.scanner.lookupType(1)===c&&(e=2),0!==e&&this.scanner.lookupNonWSType(e)===d?this.createSingleNodeList(this.Declaration()):o.call(this)}function o(){var e,t=this.createList(),n=null;this.scanner.skipSC();e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case s:n=this.WhiteSpace();continue;case l:this.scanner.next();continue;case u:e=this.Function(r,this.scope.AtrulePrelude);break;case c:e=this.Identifier();break;case h:e=this.Parentheses(i,this.scope.AtrulePrelude);break;default:break e}null!==n&&(t.push(n),n=null),t.push(e)}return t}var a=e("../../tokenizer").TYPE,s=a.WhiteSpace,l=a.Comment,c=a.Identifier,u=a.Function,h=a.LeftParenthesis,p=a.HyphenMinus,d=a.Colon;t.exports={parse:{prelude:function(){var e=o.call(this);return null===this.getFirstListNode(e)&&this.scanner.error("Condition is expected"),e},block:function(){return this.Block(!1)}}}},{"../../tokenizer":98}],26:[function(e,t,n){var r=e("../../../data");t.exports={generic:!0,types:r.types,properties:r.properties,node:e("../node")}},{"../../../data":1,"../node":75}],27:[function(e,t,n){function r(e){return e&&e.constructor===Object}function i(e){if(r(e)){var t={};for(var n in e)s.call(e,n)&&(t[n]=e[n]);return t}return e}function o(e,t){for(var n in t)s.call(t,n)&&(r(e[n])?o(e[n],i(t[n])):e[n]=i(t[n]))}function a(e,t,n){for(var l in n)if(!1!==s.call(n,l))if(!0===n[l])l in t&&s.call(t,l)&&(e[l]=i(t[l]));else if(n[l])if(r(n[l])){var c={};o(c,e[l]),o(c,t[l]),e[l]=c}else if(Array.isArray(n[l])){var c={},u=n[l].reduce(function(e,t){return e[t]=!0,e},{});for(var h in e[l])s.call(e[l],h)&&(c[h]={},e[l]&&e[l][h]&&a(c[h],e[l][h],u));for(var h in t[l])s.call(t[l],h)&&(c[h]||(c[h]={}),t[l]&&t[l][h]&&a(c[h],t[l][h],u));e[l]=c}return e}var s=Object.prototype.hasOwnProperty,l={generic:!0,types:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};t.exports=function(e,t){return a(e,t,l)}},{}],28:[function(e,t,n){t.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:e("../scope"),atrule:e("../atrule"),pseudo:e("../pseudo"),node:e("../node")}},{"../atrule":22,"../node":75,"../pseudo":81,"../scope":92}],29:[function(e,t,n){t.exports={node:e("../node")}},{"../node":75}],30:[function(e,t,n){function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e){var t=c(e),n=p(e),f=u(e),b=h(n),y={List:o,Tokenizer:a,Lexer:s,vendorPrefix:g.vendorPrefix,keyword:g.keyword,property:g.property,isCustomProperty:g.isCustomProperty,grammar:l,lexer:null,createLexer:function(e){return new s(e,y,y.lexer.structure)},parse:t,walk:n,generate:f,clone:d,fromPlainObject:b.fromPlainObject,toPlainObject:b.toPlainObject,createSyntax:function(e){return i(m({},e))},fork:function(t){var n=m({},e);return i("function"==typeof t?t(n,r):m(n,t))}};return y.lexer=new s({generic:!0,types:e.types,properties:e.properties,node:e.node},y),y}var o=e("../utils/list"),a=e("../tokenizer"),s=e("../lexer/Lexer"),l=e("../lexer/grammar"),c=e("../parser/create"),u=e("../generator/create"),h=e("../convertor/create"),p=e("../walker/create"),d=e("../utils/clone"),g=e("../utils/names"),m=e("./config/mix");n.create=function(e){return i(m({},e))}},{"../convertor/create":2,"../generator/create":3,"../lexer/Lexer":6,"../lexer/grammar":11,"../parser/create":18,"../tokenizer":98,"../utils/clone":100,"../utils/list":102,"../utils/names":103,"../walker/create":104,"./config/mix":27}],31:[function(e,t,n){t.exports=function(){this.scanner.skipSC();var e=this.createSingleNodeList(this.IdSelector());return this.scanner.skipSC(),e}},{}],32:[function(e,t,n){t.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.currentToken,0,0,!1,!1))}},{}],33:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier,o=r.Comma,a=r.Semicolon,s=r.HyphenMinus,l=r.ExclamationMark;t.exports=function(){var e=this.createList();this.scanner.skipSC();var t=this.scanner.tokenStart;return this.scanner.eat(s),this.scanner.source.charCodeAt(this.scanner.tokenStart)!==s&&this.scanner.error("HyphenMinus is expected"),this.scanner.eat(i),e.push({type:"Identifier",loc:this.getLocation(t,this.scanner.tokenStart),name:this.scanner.substrToCursor(t)}),this.scanner.skipSC(),this.scanner.tokenType===o&&(e.push(this.Operator()),e.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.currentToken,l,a,!1,!1))),e}},{"../../tokenizer":98}],34:[function(e,t,n){t.exports=e("./create").create(function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}(e("./config/lexer"),e("./config/parser"),e("./config/walker")))},{"./config/lexer":26,"./config/parser":28,"./config/walker":29,"./create":30}],35:[function(e,t,n){function r(e,t){var n=e.tokenStart;for(e.source.charCodeAt(n)!==c&&e.source.charCodeAt(n)!==u||(t&&e.error(),n++);n<e.tokenEnd;n++)o(e.source.charCodeAt(n))||e.error("Unexpected input",n)}var i=e("../../tokenizer").cmpChar,o=e("../../tokenizer").isNumber,a=e("../../tokenizer").TYPE,s=a.Identifier,l=a.Number,c=a.PlusSign,u=a.HyphenMinus;t.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var e=this.scanner.tokenStart,t=e,n="",a=null,h=null;if(this.scanner.tokenType!==l&&this.scanner.tokenType!==c||(r(this.scanner,!1),n=this.scanner.getTokenValue(),this.scanner.next(),t=this.scanner.tokenStart),this.scanner.tokenType===s){var p=this.scanner.tokenStart;i(this.scanner.source,p,u)&&(""===n?(n="-",p++):this.scanner.error("Unexpected hyphen minus")),i(this.scanner.source,p,110)||this.scanner.error(),a=""===n?"1":"+"===n?"+1":"-"===n?"-1":n;var d=this.scanner.tokenEnd-p;d>1?(this.scanner.source.charCodeAt(p+1)!==u&&this.scanner.error("Unexpected input",p+1),d>2?this.scanner.tokenStart=p+2:(this.scanner.next(),this.scanner.skipSC()),r(this.scanner,!0),h="-"+this.scanner.getTokenValue(),this.scanner.next(),t=this.scanner.tokenStart):(n="",this.scanner.next(),t=this.scanner.tokenStart,this.scanner.skipSC(),this.scanner.tokenType!==u&&this.scanner.tokenType!==c||(n=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC()),this.scanner.tokenType===l?(r(this.scanner,""!==n),o(this.scanner.source.charCodeAt(this.scanner.tokenStart))||(n=this.scanner.source.charAt(this.scanner.tokenStart),this.scanner.tokenStart++),""===n?this.scanner.error():"+"===n&&(n=""),h=n+this.scanner.getTokenValue(),this.scanner.next(),t=this.scanner.tokenStart):n&&this.scanner.eat(l))}else""!==n&&"+"!==n||this.scanner.error("Number or identifier is expected",this.scanner.tokenStart+(this.scanner.tokenType===c||this.scanner.tokenType===u)),h=n;return{type:"AnPlusB",loc:this.getLocation(e,t),a:a,b:h}},generate:function(e){var t=null!==e.a&&void 0!==e.a,n=null!==e.b&&void 0!==e.b;t?(this.chunk("+1"===e.a?"+n":"1"===e.a?"n":"-1"===e.a?"-n":e.a+"n"),n&&(n=String(e.b),"-"===n.charAt(0)||"+"===n.charAt(0)?(this.chunk(n.charAt(0)),this.chunk(n.substr(1))):(this.chunk("+"),this.chunk(n)))):this.chunk(String(e.b))}}},{"../../tokenizer":98}],36:[function(e,t,n){function r(e){return this.Raw(e,s,l,!1,!0)}function i(){for(var e,t=1;e=this.scanner.lookupType(t);t++){if(e===c)return!0;if(e===l||e===a)return!1}return!1}var o=e("../../tokenizer").TYPE,a=o.Atrule,s=o.Semicolon,l=o.LeftCurlyBracket,c=o.RightCurlyBracket;t.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var e,t,n=this.scanner.tokenStart,o=null,c=null;switch(this.scanner.eat(a),e=this.scanner.substrToCursor(n+1),t=e.toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==l&&this.scanner.tokenType!==s&&(this.parseAtrulePrelude?(o=this.parseWithFallback(this.AtrulePrelude.bind(this,e),r),"AtrulePrelude"===o.type&&null===o.children.head&&(o=null)):o=r.call(this,this.scanner.currentToken),this.scanner.skipSC()),this.scanner.tokenType){case s:this.scanner.next();break;case l:c=this.atrule.hasOwnProperty(t)&&"function"==typeof this.atrule[t].block?this.atrule[t].block.call(this):this.Block(i.call(this))}return{type:"Atrule",loc:this.getLocation(n,this.scanner.tokenStart),name:e,prelude:o,block:c}},generate:function(e){this.chunk("@"),this.chunk(e.name),null!==e.prelude&&(this.chunk(" "),this.node(e.prelude)),e.block?this.node(e.block):this.chunk(";")},walkContext:"atrule"}},{"../../tokenizer":98}],37:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Semicolon,o=r.LeftCurlyBracket;t.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(e){var t=null;return null!==e&&(e=e.toLowerCase()),this.scanner.skipSC(),t=this.atrule.hasOwnProperty(e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.scanner.skipSC(),!0!==this.scanner.eof&&this.scanner.tokenType!==o&&this.scanner.tokenType!==i&&this.scanner.error("Semicolon or block is expected"),null===t&&(t=this.createList()),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e)},walkContext:"atrulePrelude"}},{"../../tokenizer":98}],38:[function(e,t,n){function r(){this.scanner.eof&&this.scanner.error("Unexpected end of input");var e=this.scanner.tokenStart,t=!1,n=!0;return this.scanner.tokenType===c?(t=!0,n=!1,this.scanner.next()):this.scanner.tokenType!==m&&this.scanner.eat(a),this.scanner.tokenType===m?this.scanner.lookupType(1)!==h?(this.scanner.next(),this.scanner.eat(a)):t&&this.scanner.error("Identifier is expected",this.scanner.tokenEnd):t&&this.scanner.error("Vertical line is expected"),n&&this.scanner.tokenType===u&&(this.scanner.next(),this.scanner.eat(a)),{type:"Identifier",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}}function i(){var e=this.scanner.tokenStart,t=this.scanner.tokenType;return t!==h&&t!==f&&t!==g&&t!==l&&t!==c&&t!==m&&this.scanner.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),t===h?this.scanner.next():(this.scanner.next(),this.scanner.eat(h)),this.scanner.substrToCursor(e)}var o=e("../../tokenizer").TYPE,a=o.Identifier,s=o.String,l=o.DollarSign,c=o.Asterisk,u=o.Colon,h=o.EqualsSign,p=o.LeftSquareBracket,d=o.RightSquareBracket,g=o.CircumflexAccent,m=o.VerticalLine,f=o.Tilde;t.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var e,t=this.scanner.tokenStart,n=null,o=null,l=null;return this.scanner.eat(p),this.scanner.skipSC(),e=r.call(this),this.scanner.skipSC(),this.scanner.tokenType!==d&&(this.scanner.tokenType!==a&&(n=i.call(this),this.scanner.skipSC(),o=this.scanner.tokenType===s?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===a&&(l=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.scanner.eat(d),{type:"AttributeSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:e,matcher:n,value:o,flags:l}},generate:function(e){var t=" ";this.chunk("["),this.node(e.name),null!==e.matcher&&(this.chunk(e.matcher),null!==e.value&&(this.node(e.value),"String"===e.value.type&&(t=""))),null!==e.flags&&(this.chunk(t),this.chunk(e.flags)),this.chunk("]")}}},{"../../tokenizer":98}],39:[function(e,t,n){function r(e){return this.Raw(e,0,0,!1,!0)}function i(){return this.parseWithFallback(this.Rule,r)}function o(e){return this.Raw(e,0,u,!0,!0)}function a(){if(this.scanner.tokenType===u)return o.call(this,this.scanner.currentToken);var e=this.parseWithFallback(this.Declaration,o);return this.scanner.tokenType===u&&this.scanner.next(),e}var s=e("../../tokenizer").TYPE,l=s.WhiteSpace,c=s.Comment,u=s.Semicolon,h=s.Atrule,p=s.LeftCurlyBracket,d=s.RightCurlyBracket;t.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(e){var t=e?a:i,n=this.scanner.tokenStart,o=this.createList();this.scanner.eat(p);e:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case d:break e;case l:case c:this.scanner.next();break;case h:o.push(this.parseWithFallback(this.Atrule,r));break;default:o.push(t.call(this))}return this.scanner.eof||this.scanner.eat(d),{type:"Block",loc:this.getLocation(n,this.scanner.tokenStart),children:o}},generate:function(e){this.chunk("{"),this.children(e,function(e){"Declaration"===e.type&&this.chunk(";")}),this.chunk("}")},walkContext:"block"}},{"../../tokenizer":98}],40:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.LeftSquareBracket,o=r.RightSquareBracket;t.exports={name:"Brackets",structure:{children:[[]]},parse:function(e,t){var n=this.scanner.tokenStart,r=null;return this.scanner.eat(i),r=e.call(this,t),this.scanner.eof||this.scanner.eat(o),{type:"Brackets",loc:this.getLocation(n,this.scanner.tokenStart),children:r}},generate:function(e){this.chunk("["),this.children(e),this.chunk("]")}}},{"../../tokenizer":98}],41:[function(e,t,n){var r=e("../../tokenizer").TYPE.CDC;t.exports={name:"CDC",structure:[],parse:function(){var e=this.scanner.tokenStart;return this.scanner.eat(r),{type:"CDC",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},{"../../tokenizer":98}],42:[function(e,t,n){var r=e("../../tokenizer").TYPE.CDO;t.exports={name:"CDO",structure:[],parse:function(){var e=this.scanner.tokenStart;return this.scanner.eat(r),{type:"CDO",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},{"../../tokenizer":98}],43:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier,o=r.FullStop;t.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.eat(o),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.scanner.consume(i)}},generate:function(e){this.chunk("."),this.chunk(e.name)}}},{"../../tokenizer":98}],44:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.PlusSign,o=r.Solidus,a=r.GreaterThanSign,s=r.Tilde;t.exports={name:"Combinator",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;switch(this.scanner.tokenType){case a:case i:case s:this.scanner.next();break;case o:this.scanner.next(),this.scanner.expectIdentifier("deep"),this.scanner.eat(o);break;default:this.scanner.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},{"../../tokenizer":98}],45:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Asterisk,o=r.Solidus;t.exports={name:"Comment",structure:{value:String},parse:function(){var e=this.scanner.tokenStart,t=this.scanner.tokenEnd;return t-e+2>=2&&this.scanner.source.charCodeAt(t-2)===i&&this.scanner.source.charCodeAt(t-1)===o&&(t-=2),this.scanner.next(),{type:"Comment",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e+2,t)}},generate:function(e){this.chunk("/*"),this.chunk(e.value),this.chunk("*/")}}},{"../../tokenizer":98}],46:[function(e,t,n){function r(e){return this.Raw(e,p,b,!1,!0)}function i(e){return this.Raw(e,p,b,!1,!1)}function o(){var e=this.scanner.currentToken,t=this.Value() |
|
;return"Raw"!==t.type&&!1===this.scanner.eof&&this.scanner.tokenType!==b&&this.scanner.tokenType!==p&&!1===this.scanner.isBalanceEdge(e)&&this.scanner.error(),t}function a(){var e=this.scanner.tokenStart,t=0;switch(this.scanner.tokenType){case g:case m:case y:case k:t=1;break;case d:t=this.scanner.lookupType(1)===d?2:1}return this.scanner.lookupType(t)===f&&t++,t&&this.scanner.skip(t),this.scanner.eat(u),this.scanner.substrToCursor(e)}function s(e){e.eat(p),e.skipSC();var t=e.consume(u);return"important"===t||t}var l=e("../../utils/names").isCustomProperty,c=e("../../tokenizer").TYPE,u=c.Identifier,h=c.Colon,p=c.ExclamationMark,d=c.Solidus,g=c.Asterisk,m=c.DollarSign,f=c.HyphenMinus,b=c.Semicolon,y=c.PlusSign,k=c.NumberSign;t.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var e,t=this.scanner.tokenStart,n=this.scanner.currentToken,c=a.call(this),u=l(c),d=u?this.parseCustomProperty:this.parseValue,g=u?i:r,m=!1;return this.scanner.skipSC(),this.scanner.eat(h),u||this.scanner.skipSC(),e=d?this.parseWithFallback(o,g):g.call(this,this.scanner.currentToken),this.scanner.tokenType===p&&(m=s(this.scanner),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==b&&!1===this.scanner.isBalanceEdge(n)&&this.scanner.error(),{type:"Declaration",loc:this.getLocation(t,this.scanner.tokenStart),important:m,property:c,value:e}},generate:function(e){this.chunk(e.property),this.chunk(":"),this.node(e.value),e.important&&this.chunk(!0===e.important?"!important":"!"+e.important)},walkContext:"declaration"}},{"../../tokenizer":98,"../../utils/names":103}],47:[function(e,t,n){function r(e){return this.Raw(e,0,s,!0,!0)}var i=e("../../tokenizer").TYPE,o=i.WhiteSpace,a=i.Comment,s=i.Semicolon;t.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var e=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case o:case a:case s:this.scanner.next();break;default:e.push(this.parseWithFallback(this.Declaration,r))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(e){"Declaration"===e.type&&this.chunk(";")})}}},{"../../tokenizer":98}],48:[function(e,t,n){function r(e){var t=e.getTokenValue(),n=t.indexOf("\\");return n>0?(e.tokenStart+=n,t.substring(0,n)):(e.next(),t)}var i=e("../../tokenizer").TYPE.Number;t.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var e=this.scanner.tokenStart,t=this.scanner.consume(i),n=r(this.scanner);return{type:"Dimension",loc:this.getLocation(e,this.scanner.tokenStart),value:t,unit:n}},generate:function(e){this.chunk(e.value),this.chunk(e.unit)}}},{"../../tokenizer":98}],49:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.RightParenthesis;t.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(e,t){var n,r=this.scanner.tokenStart,o=this.scanner.consumeFunctionName(),a=o.toLowerCase();return n=t.hasOwnProperty(a)?t[a].call(this,t):e.call(this,t),this.scanner.eof||this.scanner.eat(i),{type:"Function",loc:this.getLocation(r,this.scanner.tokenStart),name:o,children:n}},generate:function(e){this.chunk(e.name),this.chunk("("),this.children(e),this.chunk(")")},walkContext:"function"}},{"../../tokenizer":98}],50:[function(e,t,n){function r(e,t){if(!i(e.source.charCodeAt(e.tokenStart))){if(!t)return;e.error("Unexpected input",e.tokenStart)}for(var n=e.tokenStart+1;n<e.tokenEnd;n++){var r=e.source.charCodeAt(n);if(!i(r))return void(e.tokenStart=n)}e.next()}var i=e("../../tokenizer").isHex,o=e("../../tokenizer").TYPE,a=o.Identifier,s=o.Number,l=o.NumberSign;t.exports={name:"HexColor",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;switch(this.scanner.eat(l),this.scanner.tokenType){case s:r(this.scanner,!0),this.scanner.tokenType===a&&r(this.scanner,!1);break;case a:r(this.scanner,!0);break;default:this.scanner.error("Number or identifier is expected")}return{type:"HexColor",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#"),this.chunk(e.value)}}},{"../../tokenizer":98}],51:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier,o=r.NumberSign;t.exports={name:"IdSelector",structure:{name:String},parse:function(){return this.scanner.eat(o),{type:"IdSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.scanner.consume(i)}},generate:function(e){this.chunk("#"),this.chunk(e.name)}}},{"../../tokenizer":98}],52:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier;t.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.scanner.consume(i)}},generate:function(e){this.chunk(e.name)}}},{"../../tokenizer":98}],53:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier,o=r.Number,a=r.LeftParenthesis,s=r.RightParenthesis,l=r.Colon,c=r.Solidus;t.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var e,t=this.scanner.tokenStart,n=null;if(this.scanner.eat(a),this.scanner.skipSC(),e=this.scanner.consume(i),this.scanner.skipSC(),this.scanner.tokenType!==s){switch(this.scanner.eat(l),this.scanner.skipSC(),this.scanner.tokenType){case o:n=this.scanner.lookupType(1)===i?this.Dimension():this.scanner.lookupNonWSType(1)===c?this.Ratio():this.Number();break;case i:n=this.Identifier();break;default:this.scanner.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.scanner.eat(s),{type:"MediaFeature",loc:this.getLocation(t,this.scanner.tokenStart),name:e,value:n}},generate:function(e){this.chunk("("),this.chunk(e.name),null!==e.value&&(this.chunk(":"),this.node(e.value)),this.chunk(")")}}},{"../../tokenizer":98}],54:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.WhiteSpace,o=r.Comment,a=r.Identifier,s=r.LeftParenthesis;t.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var e=this.createList(),t=null,n=null;e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:n=this.WhiteSpace();continue;case a:t=this.Identifier();break;case s:t=this.MediaFeature();break;default:break e}null!==n&&(e.push(n),n=null),e.push(t)}return null===t&&this.scanner.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},{"../../tokenizer":98}],55:[function(e,t,n){var r=e("../../tokenizer").TYPE.Comma;t.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(e){var t=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(t.push(this.MediaQuery(e)),this.scanner.tokenType===r);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e,function(){this.chunk(",")})}}},{"../../tokenizer":98}],56:[function(e,t,n){t.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(e){this.scanner.skipSC();var t,n=this.scanner.tokenStart,r=n,i=null;return t=this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),this.scanner.skipSC(),e&&this.scanner.lookupValue(0,"of")?(this.scanner.next(),i=this.SelectorList(),this.needPositions&&(r=this.getLastListNode(i.children).loc.end.offset)):this.needPositions&&(r=t.loc.end.offset),{type:"Nth",loc:this.getLocation(n,r),nth:t,selector:i}},generate:function(e){this.node(e.nth),null!==e.selector&&(this.chunk(" of "),this.node(e.selector))}}},{}],57:[function(e,t,n){var r=e("../../tokenizer").TYPE.Number;t.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.scanner.consume(r)}},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":98}],58:[function(e,t,n){t.exports={name:"Operator",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return this.scanner.next(),{type:"Operator",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},{}],59:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.LeftParenthesis,o=r.RightParenthesis;t.exports={name:"Parentheses",structure:{children:[[]]},parse:function(e,t){var n=this.scanner.tokenStart,r=null;return this.scanner.eat(i),r=e.call(this,t),this.scanner.eof||this.scanner.eat(o),{type:"Parentheses",loc:this.getLocation(n,this.scanner.tokenStart),children:r}},generate:function(e){this.chunk("("),this.children(e),this.chunk(")")}}},{"../../tokenizer":98}],60:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Number,o=r.PercentSign;t.exports={name:"Percentage",structure:{value:String},parse:function(){var e=this.scanner.tokenStart,t=this.scanner.consume(i);return this.scanner.eat(o),{type:"Percentage",loc:this.getLocation(e,this.scanner.tokenStart),value:t}},generate:function(e){this.chunk(e.value),this.chunk("%")}}},{"../../tokenizer":98}],61:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier,o=r.Function,a=r.Colon,s=r.RightParenthesis;t.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e,t,n=this.scanner.tokenStart,r=null;return this.scanner.eat(a),this.scanner.tokenType===o?(e=this.scanner.consumeFunctionName(),t=e.toLowerCase(),this.pseudo.hasOwnProperty(t)?(this.scanner.skipSC(),r=this.pseudo[t].call(this),this.scanner.skipSC()):(r=this.createList(),r.push(this.Raw(this.scanner.currentToken,0,0,!1,!1))),this.scanner.eat(s)):e=this.scanner.consume(i),{type:"PseudoClassSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:e,children:r}},generate:function(e){this.chunk(":"),this.chunk(e.name),null!==e.children&&(this.chunk("("),this.children(e),this.chunk(")"))},walkContext:"function"}},{"../../tokenizer":98}],62:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Identifier,o=r.Function,a=r.Colon,s=r.RightParenthesis;t.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e,t,n=this.scanner.tokenStart,r=null;return this.scanner.eat(a),this.scanner.eat(a),this.scanner.tokenType===o?(e=this.scanner.consumeFunctionName(),t=e.toLowerCase(),this.pseudo.hasOwnProperty(t)?(this.scanner.skipSC(),r=this.pseudo[t].call(this),this.scanner.skipSC()):(r=this.createList(),r.push(this.Raw(this.scanner.currentToken,0,0,!1,!1))),this.scanner.eat(s)):e=this.scanner.consume(i),{type:"PseudoElementSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:e,children:r}},generate:function(e){this.chunk("::"),this.chunk(e.name),null!==e.children&&(this.chunk("("),this.children(e),this.chunk(")"))},walkContext:"function"}},{"../../tokenizer":98}],63:[function(e,t,n){function r(e){for(var t=e.consumeNonWS(a),n=0;n<t.length;n++){var r=t.charCodeAt(n);i(r)||r===l||e.error("Unsigned number is expected",e.tokenStart-t.length+n)}return 0===Number(t)&&e.error("Zero number is not allowed",e.tokenStart-t.length),t}var i=e("../../tokenizer").isNumber,o=e("../../tokenizer").TYPE,a=o.Number,s=o.Solidus,l=o.FullStop;t.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var e,t=this.scanner.tokenStart,n=r(this.scanner);return this.scanner.eatNonWS(s),e=r(this.scanner),{type:"Ratio",loc:this.getLocation(t,this.scanner.tokenStart),left:n,right:e}},generate:function(e){this.chunk(e.left),this.chunk("/"),this.chunk(e.right)}}},{"../../tokenizer":98}],64:[function(e,t,n){t.exports={name:"Raw",structure:{value:String},parse:function(e,t,n,r,i){var o,a=this.scanner.getTokenStart(e);return this.scanner.skip(this.scanner.getRawLength(e,t,n,r)),o=i&&this.scanner.tokenStart>a?this.scanner.getOffsetExcludeWS():this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(a,o),value:this.scanner.source.substring(a,o)}},generate:function(e){this.chunk(e.value)}}},{}],65:[function(e,t,n){function r(e){return this.Raw(e,a,0,!1,!0)}function i(){var e=this.SelectorList();return"Raw"!==e.type&&!1===this.scanner.eof&&this.scanner.tokenType!==a&&this.scanner.error(),e}var o=e("../../tokenizer").TYPE,a=o.LeftCurlyBracket;t.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var e,t,n=this.scanner.currentToken,o=this.scanner.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(i,r):r.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(o,this.scanner.tokenStart),prelude:e,block:t}},generate:function(e){this.node(e.prelude),this.node(e.block)},walkContext:"rule"}},{"../../tokenizer":98}],66:[function(e,t,n){t.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.scanner.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},{}],67:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.Comma;t.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){for(var e=this.createList();!this.scanner.eof;){e.push(this.Selector());{if(this.scanner.tokenType!==i)break;this.scanner.next()}}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(){this.chunk(",")})},walkContext:"selector"}},{"../../tokenizer":98}],68:[function(e,t,n){var r=e("../../tokenizer").TYPE.String;t.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.scanner.consume(r)}},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":98}],69:[function(e,t,n){function r(e){return this.Raw(e,0,0,!1,!1)}var i=e("../../tokenizer").TYPE,o=i.WhiteSpace,a=i.Comment,s=i.ExclamationMark,l=i.Atrule,c=i.CDO,u=i.CDC;t.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var e,t=this.scanner.tokenStart,n=this.createList();!this.scanner.eof;){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case a:if(this.scanner.source.charCodeAt(this.scanner.tokenStart+2)!==s){this.scanner.next();continue}e=this.Comment();break;case c:e=this.CDO();break;case u:e=this.CDC();break;case l:e=this.parseWithFallback(this.Atrule,r);break;default:e=this.parseWithFallback(this.Rule,r)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.scanner.tokenStart),children:n}},generate:function(e){this.children(e)},walkContext:"stylesheet"}},{"../../tokenizer":98}],70:[function(e,t,n){function r(){this.scanner.tokenType!==o&&this.scanner.tokenType!==a&&this.scanner.error("Identifier or asterisk is expected"),this.scanner.next()}var i=e("../../tokenizer").TYPE,o=i.Identifier,a=i.Asterisk,s=i.VerticalLine;t.exports={name:"TypeSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;return this.scanner.tokenType===s?(this.scanner.next(),r.call(this)):(r.call(this),this.scanner.tokenType===s&&(this.scanner.next(),r.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},{"../../tokenizer":98}],71:[function(e,t,n){function r(e){for(var t=e.tokenStart+1;t<e.tokenEnd;t++){var n=e.source.charCodeAt(t);if(n===h||n===c)return e.tokenStart=t,!1}return!0}function i(e){var t=e.tokenStart+1,n=0;e:{if(e.tokenType===l){if(e.source.charCodeAt(e.tokenStart)!==h&&r(e))e.next();else if(e.source.charCodeAt(e.tokenStart)!==u)break e}else e.next();e.tokenType===u&&e.next(),e.tokenType===l&&e.next(),e.tokenType===s&&e.next(),e.tokenStart===t&&e.error("Unexpected input",t)}for(var i=t,a=!1;i<e.tokenStart;i++){var c=e.source.charCodeAt(i);!1!==o(c)||c===u&&!a||e.error("Unexpected input",i),c===u?(0===n&&e.error("Unexpected input",i),a=!0,n=0):++n>6&&e.error("Too long hex sequence",i)}if(0===n&&e.error("Unexpected input",i-1),!a)for(;n<6&&!e.eof&&e.tokenType===p;e.next())n++}var o=e("../../tokenizer").isHex,a=e("../../tokenizer").TYPE,s=a.Identifier,l=a.Number,c=a.PlusSign,u=a.HyphenMinus,h=a.FullStop,p=a.QuestionMark;t.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return this.scanner.next(),i(this.scanner),{type:"UnicodeRange",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":98}],72:[function(e,t,n){var r=e("../../tokenizer").TYPE,i=r.String,o=r.Url,a=r.Raw,s=r.RightParenthesis;t.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var e,t=this.scanner.tokenStart;switch(this.scanner.eat(o),this.scanner.skipSC(),this.scanner.tokenType){case i:e=this.String();break;case a:e=this.Raw(this.scanner.currentToken,0,a,!0,!1);break;default:this.scanner.error("String or Raw is expected")}return this.scanner.skipSC(),this.scanner.eat(s),{type:"Url",loc:this.getLocation(t,this.scanner.tokenStart),value:e}},generate:function(e){this.chunk("url"),this.chunk("("),this.node(e.value),this.chunk(")")}}},{"../../tokenizer":98}],73:[function(e,t,n){t.exports={name:"Value",structure:{children:[[]]},parse:function(){var e=this.scanner.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(e){this.children(e)}}},{}],74:[function(e,t,n){var r=e("../../tokenizer").TYPE.WhiteSpace,i=Object.freeze({type:"WhiteSpace",loc:null,value:" "});t.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.scanner.eat(r),i},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":98}],75:[function(e,t,n){t.exports={AnPlusB:e("./AnPlusB"),Atrule:e("./Atrule"),AtrulePrelude:e("./AtrulePrelude"),AttributeSelector:e("./AttributeSelector"),Block:e("./Block"),Brackets:e("./Brackets"),CDC:e("./CDC"),CDO:e("./CDO"),ClassSelector:e("./ClassSelector"),Combinator:e("./Combinator"),Comment:e("./Comment"),Declaration:e("./Declaration"),DeclarationList:e("./DeclarationList"),Dimension:e("./Dimension"),Function:e("./Function"),HexColor:e("./HexColor"),Identifier:e("./Identifier"),IdSelector:e("./IdSelector"),MediaFeature:e("./MediaFeature"),MediaQuery:e("./MediaQuery"),MediaQueryList:e("./MediaQueryList"),Nth:e("./Nth"),Number:e("./Number"),Operator:e("./Operator"),Parentheses:e("./Parentheses"),Percentage:e("./Percentage"),PseudoClassSelector:e("./PseudoClassSelector"),PseudoElementSelector:e("./PseudoElementSelector"),Ratio:e("./Ratio"),Raw:e("./Raw"),Rule:e("./Rule"),Selector:e("./Selector"),SelectorList:e("./SelectorList"),String:e("./String"),StyleSheet:e("./StyleSheet"),TypeSelector:e("./TypeSelector"),UnicodeRange:e("./UnicodeRange"),Url:e("./Url"),Value:e("./Value"),WhiteSpace:e("./WhiteSpace")}},{"./AnPlusB":35,"./Atrule":36,"./AtrulePrelude":37,"./AttributeSelector":38,"./Block":39,"./Brackets":40,"./CDC":41,"./CDO":42,"./ClassSelector":43,"./Combinator":44,"./Comment":45,"./Declaration":46,"./DeclarationList":47,"./Dimension":48,"./Function":49,"./HexColor":50,"./IdSelector":51,"./Identifier":52,"./MediaFeature":53,"./MediaQuery":54,"./MediaQueryList":55,"./Nth":56,"./Number":57,"./Operator":58,"./Parentheses":59,"./Percentage":60,"./PseudoClassSelector":61,"./PseudoElementSelector":62,"./Ratio":63,"./Raw":64,"./Rule":65,"./Selector":66,"./SelectorList":67,"./String":68,"./StyleSheet":69,"./TypeSelector":70,"./UnicodeRange":71,"./Url":72,"./Value":73,"./WhiteSpace":74}],76:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},{}],77:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},{}],78:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},{}],79:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},{}],80:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},{}],81:[function(e,t,n){t.exports={dir:e("./dir"),has:e("./has"),lang:e("./lang"),matches:e("./matches"),not:e("./not"),"nth-child":e("./nth-child"),"nth-last-child":e("./nth-last-child"),"nth-last-of-type":e("./nth-last-of-type"),"nth-of-type":e("./nth-of-type"),slotted:e("./slotted")}},{"./dir":79,"./has":80,"./lang":82,"./matches":83,"./not":84,"./nth-child":85,"./nth-last-child":86,"./nth-last-of-type":87,"./nth-of-type":88,"./slotted":89}],82:[function(e,t,n){arguments[4][79][0].apply(n,arguments)},{dup:79}],83:[function(e,t,n){t.exports=e("./common/selectorList")},{"./common/selectorList":78}],84:[function(e,t,n){arguments[4][83][0].apply(n,arguments)},{"./common/selectorList":78,dup:83}],85:[function(e,t,n){t.exports=e("./common/nthWithOfClause")},{"./common/nthWithOfClause":77}],86:[function(e,t,n){arguments[4][85][0].apply(n,arguments)},{"./common/nthWithOfClause":77,dup:85}],87:[function(e,t,n){t.exports=e("./common/nth")},{"./common/nth":76}],88:[function(e,t,n){arguments[4][87][0].apply(n,arguments)},{"./common/nth":76,dup:87}],89:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},{}],90:[function(e,t,n){t.exports={getNode:e("./default")}},{"./default":91}],91:[function(e,t,n){var r=e("../../tokenizer").cmpChar,i=e("../../tokenizer").TYPE,o=i.Identifier,a=i.String,s=i.Number,l=i.Function,c=i.Url,u=i.NumberSign,h=i.LeftParenthesis,p=i.LeftSquareBracket,d=i.PlusSign,g=i.HyphenMinus,m=i.Comma,f=i.Solidus,b=i.Asterisk,y=i.PercentSign,k=i.Backslash;t.exports=function(e){switch(this.scanner.tokenType){case u:return this.HexColor();case m:return e.space=null,e.ignoreWSAfter=!0,this.Operator();case f:case b:case d:case g:return this.Operator();case h:return this.Parentheses(this.readSequence,e.recognizer);case p:return this.Brackets(this.readSequence,e.recognizer);case a:return this.String();case s:switch(this.scanner.lookupType(1)){case y:return this.Percentage();case o:return r(this.scanner.source,this.scanner.tokenEnd,k)?this.Number():this.Dimension();default:return this.Number()}case l:return this.Function(this.readSequence,e.recognizer);case c:return this.Url();case o:return r(this.scanner.source,this.scanner.tokenStart,117)&&r(this.scanner.source,this.scanner.tokenStart+1,d)?this.UnicodeRange():this.Identifier()}}},{"../../tokenizer":98}],92:[function(e,t,n){t.exports={AtrulePrelude:e("./atrulePrelude"),Selector:e("./selector"),Value:e("./value")}},{"./atrulePrelude":90,"./selector":93,"./value":94}],93:[function(e,t,n){function r(e){switch(this.scanner.tokenType){case c:case g:case f:return e.space=null,e.ignoreWSAfter=!0,this.Combinator();case u:return this.Combinator();case p:return this.ClassSelector();case l:return this.AttributeSelector();case s:return this.IdSelector();case d:return this.scanner.lookupType(1)===d?this.PseudoElementSelector():this.PseudoClassSelector();case o:case h:case m:return this.TypeSelector();case a:return this.Percentage()}}var i=e("../../tokenizer").TYPE,o=i.Identifier,a=i.Number,s=i.NumberSign,l=i.LeftSquareBracket,c=i.PlusSign,u=i.Solidus,h=i.Asterisk,p=i.FullStop,d=i.Colon,g=i.GreaterThanSign,m=i.VerticalLine,f=i.Tilde;t.exports={getNode:r}},{"../../tokenizer":98}],94:[function(e,t,n){t.exports={getNode:e("./default"),"-moz-element":e("../function/element"),element:e("../function/element"),expression:e("../function/expression"),var:e("../function/var")}},{"../function/element":31,"../function/expression":32,"../function/var":33,"./default":91}],95:[function(e,t,n){"use strict";function r(e,t){var n=t.length,r=h(t),i=e.lines,o=e.startLine,a=e.columns,s=e.startColumn;(null===i||i.length<n+1)&&(i=new ne(Math.max(n+1024,K)),a=new ne(i.length));for(var l=r;l<n;l++){var c=t.charCodeAt(l);i[l]=o,a[l]=s++,c!==N&&c!==R&&c!==M||(c===R&&l+1<n&&t.charCodeAt(l+1)===N&&(l++,i[l]=o,a[l]=s),o++,s=1)}i[l]=o,a[l]=s,e.linesAnsColumnsComputed=!0,e.lines=i,e.columns=a}function i(e,t,n){var r=t.length,i=e.offsetAndType,o=e.balance,a=0,s=0,l=n,u=0,h=0,g=0,N=0;for((null===i||i.length<r+1)&&(i=new ne(r+1024),o=new ne(r+1024));l<r;){var M=t.charCodeAt(l),R=M<128?c[M]:w;switch(o[a]=r,R){case x:l=m(t,l+1);break;case A:switch(M){case h:for(N=g&ee,g=o[N],h=g>>te,o[a]=N,o[N++]=a;N<a;N++)o[N]===r&&(o[N]=a);break;case J:o[a]=g,h=Z,g=h<<te|a;break;case $:o[a]=g,h=X,g=h<<te|a;break;case H:o[a]=g,h=Q,g=h<<te|a}if(M===B&&s===D){R=z,l=f(t,l+1),a--;break}if(M===F&&(s===j||s===I)&&l+1<r&&d(t.charCodeAt(l+1))){R=S,l=y(t,l+2,!1),a--;break}if(M===q&&s===W&&l+2<r&&t.charCodeAt(l+1)===I&&t.charCodeAt(l+2)===I){R=T,l+=3,a--;break}if(M===I&&s===I&&l+1<r&&t.charCodeAt(l+1)===U){R=P,l+=2,a--;break}if(M===H&&s===w){l+=1,a--,o[a]=o[a+1],g--,l-u==4&&p(t,u,l,"url(")?(u=m(t,l),M=t.charCodeAt(u),M!==H&&M!==Q&&M!==G&&M!==V?(i[a++]=_<<te|l,o[a]=r,u!==l&&(i[a++]=x<<te|u,o[a]=r),R=O,l=v(t,u)):R=_):R=E;break}R=M,l+=1;break;case S:l=y(t,l+1,s!==F),s!==F&&s!==I&&s!==j||a--;break;case C:l=b(t,l+1,M);break;default:u=l,l=k(t,l),s===I&&(a--,s=0===a?0:i[a-1]>>te),s===Y&&(a--,R=L)}i[a++]=R<<te|l,s=R}for(i[a]=l,o[a]=r,o[r]=r;0!==g;)N=g&ee,g=o[N],o[N]=r;e.offsetAndType=i,e.tokenCount=a,e.balance=o}var o=e("./error"),a=e("./const"),s=a.TYPE,l=a.NAME,c=a.SYMBOL_TYPE,u=e("./utils"),h=u.firstCharOffset,p=u.cmpStr,d=u.isNumber,g=u.findWhiteSpaceStart,m=u.findWhiteSpaceEnd,f=u.findCommentEnd,b=u.findStringEnd,y=u.findNumberEnd,k=u.findIdentifierEnd,v=u.findUrlRawEnd,x=s.WhiteSpace,w=s.Identifier,S=s.Number,C=s.String,z=s.Comment,A=s.Punctuator,T=s.CDO,P=s.CDC,L=s.Atrule,E=s.Function,_=s.Url,O=s.Raw,N=10,M=12,R=13,B=s.Asterisk,D=s.Solidus,F=s.FullStop,j=s.PlusSign,I=s.HyphenMinus,U=s.GreaterThanSign,W=s.LessThanSign,q=s.ExclamationMark,Y=s.CommercialAt,G=s.QuotationMark,V=s.Apostrophe,H=s.LeftParenthesis,Q=s.RightParenthesis,$=s.LeftCurlyBracket,X=s.RightCurlyBracket,J=s.LeftSquareBracket,Z=s.RightSquareBracket,K=16384,ee=16777215,te=24,ne="undefined"!=typeof Uint32Array?Uint32Array:Array,re=function(e,t,n,r){this.offsetAndType=null,this.balance=null,this.lines=null,this.columns=null,this.setSource(e,t,n,r)};re.prototype={setSource:function(e,t,n,r){var o=String(e||""),a=h(o);this.source=o,this.firstCharOffset=a,this.startOffset=void 0===t?0:t,this.startLine=void 0===n?1:n,this.startColumn=void 0===r?1:r,this.linesAnsColumnsComputed=!1,this.eof=!1,this.currentToken=-1,this.tokenType=0,this.tokenStart=a,this.tokenEnd=a,i(this,o,a),this.next()},lookupType:function(e){return e+=this.currentToken,e<this.tokenCount?this.offsetAndType[e]>>te:0},lookupNonWSType:function(e){e+=this.currentToken;for(var t;e<this.tokenCount;e++)if((t=this.offsetAndType[e]>>te)!==x)return t;return 0},lookupValue:function(e,t){return(e+=this.currentToken)<this.tokenCount&&p(this.source,this.offsetAndType[e-1]&ee,this.offsetAndType[e]&ee,t)},getTokenStart:function(e){return e===this.currentToken?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&ee:this.offsetAndType[this.tokenCount]&ee:this.firstCharOffset},getOffsetExcludeWS:function(){return this.currentToken>0&&this.offsetAndType[this.currentToken-1]>>te===x?this.currentToken>1?this.offsetAndType[this.currentToken-2]&ee:this.firstCharOffset:this.tokenStart},getRawLength:function(e,t,n,r){var i,o=e;e:for(;o<this.tokenCount&&!((i=this.balance[o])<e);o++)switch(this.offsetAndType[o]>>te){case t:break e;case n:r&&o++;break e;default:this.balance[i]===o&&(o=i)}return o-this.currentToken},isBalanceEdge:function(e){return this.balance[this.currentToken]<e},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},skipWS:function(){for(var e=this.currentToken,t=0;e<this.tokenCount&&this.offsetAndType[e]>>te===x;e++,t++);t>0&&this.skip(t)},skipSC:function(){for(;this.tokenType===x||this.tokenType===z;)this.next()},skip:function(e){var t=this.currentToken+e;t<this.tokenCount?(this.currentToken=t,this.tokenStart=this.offsetAndType[t-1]&ee,t=this.offsetAndType[t],this.tokenType=t>>te,this.tokenEnd=t&ee):(this.currentToken=this.tokenCount,this.next())},next:function(){var e=this.currentToken+1;e<this.tokenCount?(this.currentToken=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>te,this.tokenEnd=e&ee):(this.currentToken=this.tokenCount,this.eof=!0,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)},eat:function(e){if(this.tokenType!==e){var t=this.tokenStart,n=l[e]+" is expected";e===w?this.tokenType!==E&&this.tokenType!==_||(t=this.tokenEnd-1,n+=" but function found"):this.source.charCodeAt(this.tokenStart)===e&&(t+=1),this.error(n,t)}this.next()},eatNonWS:function(e){this.skipWS(),this.eat(e)},consume:function(e){var t=this.getTokenValue();return this.eat(e),t},consumeFunctionName:function(){var e=this.source.substring(this.tokenStart,this.tokenEnd-1);return this.eat(E),e},consumeNonWS:function(e){return this.skipWS(),this.consume(e)},expectIdentifier:function(e){this.tokenType===w&&!1!==p(this.source,this.tokenStart,this.tokenEnd,e)||this.error("Identifier `"+e+"` is expected"),this.next()},getLocation:function(e,t){return this.linesAnsColumnsComputed||r(this,this.source),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}},getLocationRange:function(e,t,n){return this.linesAnsColumnsComputed||r(this,this.source),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}},error:function(e,t){var n=void 0!==t&&t<this.source.length?this.getLocation(t):this.eof?this.getLocation(g(this.source,this.source.length-1)):this.getLocation(this.tokenStart);throw new o(e||"Unexpected input",this.source,n.offset,n.line,n.column)},dump:function(){var e=0;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map(function(t,n){var r=e,i=tⅇreturn e=i,{idx:n,type:l[t>>te],chunk:this.source.substring(r,i),balance:this.balance[n]}},this)}},re.CssSyntaxError=o,Object.keys(a).forEach(function(e){re[e]=a[e]}),Object.keys(u).forEach(function(e){re[e]=u[e]}),new re("\n\r\r\n\f\x3c!----\x3e//\"\"''/*\r\n\f*/1a;.\\31\t+2{url(a);func();+1.2e3 -.4e-5 .6e+7}").getLocation(),t.exports=re},{"./const":96,"./error":97,"./utils":99}],96:[function(e,t,n){"use strict";for(var r={WhiteSpace:1,Identifier:2,Number:3,String:4,Comment:5,Punctuator:6,CDO:7,CDC:8,Atrule:14,Function:15,Url:16,Raw:17,ExclamationMark:33,QuotationMark:34,NumberSign:35,DollarSign:36,PercentSign:37,Ampersand:38,Apostrophe:39,LeftParenthesis:40,RightParenthesis:41,Asterisk:42,PlusSign:43,Comma:44,HyphenMinus:45,FullStop:46,Solidus:47,Colon:58,Semicolon:59,LessThanSign:60,EqualsSign:61,GreaterThanSign:62,QuestionMark:63,CommercialAt:64,LeftSquareBracket:91,Backslash:92,RightSquareBracket:93,CircumflexAccent:94,LowLine:95,GraveAccent:96,LeftCurlyBracket:123,VerticalLine:124,RightCurlyBracket:125,Tilde:126},i=Object.keys(r).reduce(function(e,t){return e[r[t]]=t,e},{}),o="undefined"!=typeof Uint32Array?Uint32Array:Array,a=new o(128),s=new o(128),l=new o(128),c=0;c<a.length;c++)a[c]=2 |
|
;[r.ExclamationMark,r.QuotationMark,r.NumberSign,r.DollarSign,r.PercentSign,r.Ampersand,r.Apostrophe,r.LeftParenthesis,r.RightParenthesis,r.Asterisk,r.PlusSign,r.Comma,r.HyphenMinus,r.FullStop,r.Solidus,r.Colon,r.Semicolon,r.LessThanSign,r.EqualsSign,r.GreaterThanSign,r.QuestionMark,r.CommercialAt,r.LeftSquareBracket,r.RightSquareBracket,r.CircumflexAccent,r.GraveAccent,r.LeftCurlyBracket,r.VerticalLine,r.RightCurlyBracket,r.Tilde].forEach(function(e){a[Number(e)]=6,s[Number(e)]=6});for(var c=48;c<=57;c++)a[c]=3;a[32]=1,a[9]=1,a[10]=1,a[13]=1,a[12]=1,a[r.Apostrophe]=4,a[r.QuotationMark]=4,l[32]=1,l[9]=1,l[10]=1,l[13]=1,l[12]=1,l[r.Apostrophe]=1,l[r.QuotationMark]=1,l[r.LeftParenthesis]=1,l[r.RightParenthesis]=1,s[32]=6,s[9]=6,s[10]=6,s[13]=6,s[12]=6,s[r.HyphenMinus]=0,t.exports={TYPE:r,NAME:i,SYMBOL_TYPE:a,PUNCTUATION:s,STOP_URL_RAW:l}},{}],97:[function(e,t,n){"use strict";function r(e,t){function n(e,t){return r.slice(e,t).map(function(t,n){for(var r=String(e+n+1);r.length<h;)r=" "+r;return r+" |"+t}).join("\n")}var r=e.source.split(/\r\n?|\n|\f/),i=e.line,l=e.column,c=Math.max(1,i-t)-1,u=Math.min(i+t,r.length+1),h=Math.max(4,String(u).length)+1,p=0;(l+=(s.length-1)*(r[i-1].substr(0,l-1).match(/\t/g)||[]).length)>o&&(p=l-a+3,l=a-2);for(var d=c;d<=u;d++)d>=0&&d<r.length&&(r[d]=r[d].replace(/\t/g,s),r[d]=(p>0&&r[d].length>p?"…":"")+r[d].substr(p,o-2)+(r[d].length>p+o-1?"…":""));return[n(c,i),new Array(l+h+2).join("-")+"^",n(i,u)].filter(Boolean).join("\n")}var i=e("../utils/createCustomError"),o=100,a=60,s=" ",l=function(e,t,n,o,a){var s=i("CssSyntaxError",e);return s.source=t,s.offset=n,s.line=o,s.column=a,s.sourceFragment=function(e){return r(s,isNaN(e)?0:e)},Object.defineProperty(s,"formattedMessage",{get:function(){return"Parse error: "+s.message+"\n"+r(s,2)}}),s.parseError={offset:n,line:o,column:a},s};t.exports=l},{"../utils/createCustomError":101}],98:[function(e,t,n){t.exports=e("./Tokenizer")},{"./Tokenizer":95}],99:[function(e,t,n){"use strict";function r(e){return 65279===e.charCodeAt(0)||65534===e.charCodeAt(0)?1:0}function i(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function o(e){return e>=48&&e<=57}function a(e){return e===O||e===P||s(e)}function s(e){return e===_||e===L||e===E}function l(e,t,n){return s(n)?n===_&&t+1<e.length&&e.charCodeAt(t+1)===L?2:1:0}function c(e,t,n){var r=e.charCodeAt(t);return r>=65&&r<=90&&(r|=32),r===n}function u(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(var i=t;i<n;i++){var o=e.charCodeAt(i),a=r.charCodeAt(i-t);if(o>=65&&o<=90&&(o|=32),o!==a)return!1}return!0}function h(e,t){for(;t>=0&&a(e.charCodeAt(t));)t--;return t+1}function p(e,t){for(;t<e.length&&a(e.charCodeAt(t));)t++;return t}function d(e,t){var n=e.indexOf("*/",t);return-1===n?e.length:n+2}function g(e,t,n){for(;t<e.length;t++){var r=e.charCodeAt(t);if(r===N)t++;else if(r===n){t++;break}}return t}function m(e,t){for(;t<e.length&&o(e.charCodeAt(t));)t++;return t}function f(e,t,n){var r;return t=m(e,t),n&&t+1<e.length&&e.charCodeAt(t)===C&&(r=e.charCodeAt(t+1),o(r)&&(t=m(e,t+1))),t+1<e.length&&(32|e.charCodeAt(t))===M&&(r=e.charCodeAt(t+1),r!==z&&r!==A||t+2<e.length&&(r=e.charCodeAt(t+2)),o(r)&&(t=m(e,t+2))),t}function b(e,t){for(var n=0;n<7&&t+n<e.length;n++){var r=e.charCodeAt(t+n);if(6===n||!i(r)){n>0&&(t+=n-1+l(e,t+n,r),r!==O&&r!==P||t++);break}}return t}function y(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(n===N)t=b(e,t+1);else if(n<128&&x[n]===T)break}return t}function k(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(n===N)t=b(e,t+1);else if(n<128&&1===w[n])break}return t}var v=e("./const"),x=v.PUNCTUATION,w=v.STOP_URL_RAW,S=v.TYPE,C=S.FullStop,z=S.PlusSign,A=S.HyphenMinus,T=S.Punctuator,P=9,L=10,E=12,_=13,O=32,N=92,M=101;t.exports={firstCharOffset:r,isHex:i,isNumber:o,isWhiteSpace:a,isNewline:s,getNewlineLength:l,cmpChar:c,cmpStr:u,findWhiteSpaceStart:h,findWhiteSpaceEnd:p,findCommentEnd:d,findStringEnd:g,findDecimalNumberEnd:m,findNumberEnd:f,findEscapeEnd:b,findIdentifierEnd:y,findUrlRawEnd:k}},{"./const":96}],100:[function(e,t,n){"use strict";var r=e("./list");t.exports=function e(t){var n={};for(var i in t){var o=t[i];o&&(Array.isArray(o)||o instanceof r?o=o.map(e):o.constructor===Object&&(o=e(o))),n[i]=o}return n}},{"./list":102}],101:[function(e,t,n){t.exports=function(e,t){var n=Object.create(SyntaxError.prototype),r=new Error;return n.name=e,n.message=t,Object.defineProperty(n,"stack",{get:function(){return(r.stack||"").replace(/^(.+\n){1,3}/,e+": "+t+"\n")}}),n}},{}],102:[function(e,t,n){"use strict";function r(e){return{prev:null,next:null,data:e}}function i(e,t,n){var r;return null!==a?(r=a,a=a.cursor,r.prev=t,r.next=n,r.cursor=e.cursor):r={prev:t,next:n,cursor:e.cursor},e.cursor=r,r}function o(e){var t=e.cursor;e.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=a,a=t}var a=null,s=function(){this.cursor=null,this.head=null,this.tail=null};s.createItem=r,s.prototype.createItem=r,s.prototype.updateCursors=function(e,t,n,r){for(var i=this.cursor;null!==i;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor},s.prototype.getSize=function(){for(var e=0,t=this.head;t;)e++,t=t.next;return e},s.prototype.fromArray=function(e){var t=null;this.head=null;for(var n=0;n<e.length;n++){var i=r(e[n]);null!==t?t.next=i:this.head=i,i.prev=t,t=i}return this.tail=t,this},s.prototype.toArray=function(){for(var e=this.head,t=[];e;)t.push(e.data),e=e.next;return t},s.prototype.toJSON=s.prototype.toArray,s.prototype.isEmpty=function(){return null===this.head},s.prototype.first=function(){return this.head&&this.head.data},s.prototype.last=function(){return this.tail&&this.tail.data},s.prototype.each=function(e,t){var n;void 0===t&&(t=this);for(var r=i(this,null,this.head);null!==r.next;)n=r.next,r.next=n.next,e.call(t,n.data,n,this);o(this)},s.prototype.forEach=s.prototype.each,s.prototype.eachRight=function(e,t){var n;void 0===t&&(t=this);for(var r=i(this,this.tail,null);null!==r.prev;)n=r.prev,r.prev=n.prev,e.call(t,n.data,n,this);o(this)},s.prototype.forEachRight=s.prototype.eachRight,s.prototype.nextUntil=function(e,t,n){if(null!==e){var r;void 0===n&&(n=this);for(var a=i(this,null,e);null!==a.next&&(r=a.next,a.next=r.next,!t.call(n,r.data,r,this)););o(this)}},s.prototype.prevUntil=function(e,t,n){if(null!==e){var r;void 0===n&&(n=this);for(var a=i(this,e,null);null!==a.prev&&(r=a.prev,a.prev=r.prev,!t.call(n,r.data,r,this)););o(this)}},s.prototype.some=function(e,t){var n=this.head;for(void 0===t&&(t=this);null!==n;){if(e.call(t,n.data,n,this))return!0;n=n.next}return!1},s.prototype.map=function(e,t){var n=new s,r=this.head;for(void 0===t&&(t=this);null!==r;)n.appendData(e.call(t,r.data,r,this)),r=r.next;return n},s.prototype.filter=function(e,t){var n=new s,r=this.head;for(void 0===t&&(t=this);null!==r;)e.call(t,r.data,r,this)&&n.appendData(r.data),r=r.next;return n},s.prototype.clear=function(){this.head=null,this.tail=null},s.prototype.copy=function(){for(var e=new s,t=this.head;null!==t;)e.insert(r(t.data)),t=t.next;return e},s.prototype.prepend=function(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this},s.prototype.prependData=function(e){return this.prepend(r(e))},s.prototype.append=function(e){return this.insert(e)},s.prototype.appendData=function(e){return this.insert(r(e))},s.prototype.insert=function(e,t){if(void 0!==t&&null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this},s.prototype.insertData=function(e,t){return this.insert(r(e),t)},s.prototype.remove=function(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e},s.prototype.push=function(e){this.insert(r(e))},s.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},s.prototype.unshift=function(e){this.prepend(r(e))},s.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},s.prototype.prependList=function(e){return this.insertList(e,this.head)},s.prototype.appendList=function(e){return this.insertList(e)},s.prototype.insertList=function(e,t){return null===e.head?this:(void 0!==t&&null!==t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null,this)},s.prototype.replace=function(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)},t.exports=s},{}],103:[function(e,t,n){"use strict";function r(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===u&&e.charCodeAt(t+1)===u}function i(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===u&&e.charCodeAt(t+1)!==u){var n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}function o(e){if(s.call(l,e))return l[e];var t=e.toLowerCase();if(s.call(l,t))return l[e]=l[t];var n=r(t,0),o=n?"":i(t,0);return l[e]=Object.freeze({basename:t.substr(o.length),name:t,vendor:o,prefix:o,custom:n})}function a(e){if(s.call(c,e))return c[e];var t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&(n="");var o=r(t,n.length);if(!o&&(t=t.toLowerCase(),s.call(c,t)))return c[e]=c[t];var a=o?"":i(t,n.length),l=t.substr(0,n.length+a.length);return c[e]=Object.freeze({basename:t.substr(l.length),name:t.substr(n.length),hack:n,vendor:a,prefix:l,custom:o})}var s=Object.prototype.hasOwnProperty,l=Object.create(null),c=Object.create(null),u=45;t.exports={keyword:o,property:a,isCustomProperty:r,vendorPrefix:i}},{}],104:[function(e,t,n){"use strict";function r(e){return"function"==typeof e?e:u}function i(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function o(e,t){var n=t.structure,r=[];for(var i in n)if(!1!==c.call(n,i)){var o=n[i],a={name:i,type:!1,nullable:!1};Array.isArray(n[i])||(o=[n[i]]);for(var s=0;s<o.length;s++){var l=o[s];null===l?a.nullable=!0:"string"==typeof l?a.type="node":Array.isArray(l)&&(a.type="list")}a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function a(e){var t={};for(var n in e.node)if(c.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=o(n,r)}return t}function s(e,t){var n=t?e.fields.slice().reverse():e.fields,r=n.map(function(e){var n,r="node."+e.name;return n="list"===e.type?t?r+".forEachRight(walk);":r+".forEach(walk);":"walk("+r+");",e.nullable&&(n="if ("+r+") {\n "+n+"}"),n});return e.context&&(r=[].concat("var old = context."+e.context+";","context."+e.context+" = node;",r,"context."+e.context+" = old;")),new Function("node","context","walk",r.join("\n"))}function l(e){return{Atrule:{StyleSheet:e.StyleSheet,Atrule:e.Atrule,Rule:e.Rule,Block:e.Block},Rule:{StyleSheet:e.StyleSheet,Atrule:e.Atrule,Rule:e.Rule,Block:e.Block},Declaration:{StyleSheet:e.StyleSheet,Atrule:e.Atrule,Rule:e.Rule,Block:e.Block}}}var c=Object.prototype.hasOwnProperty,u=function(){};t.exports=function(e){var t=a(e),n={},o={};for(var h in t)c.call(t,h)&&null!==t[h]&&(n[h]=s(t[h],!1),o[h]=s(t[h],!0));var p=l(n),d=l(o);return function(e,a){function s(e,t,n){l.call(g,e,t,n),h.hasOwnProperty(e.type)&&h[e.type](e,g,s),c.call(g,e,t,n)}var l=u,c=u,h=n,g={root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof a)l=a;else if(a&&(l=r(a.enter),c=r(a.leave),a.reverse&&(h=o),a.visit)){if(p.hasOwnProperty(a.visit))h=a.reverse?d[a.visit]:p[a.visit];else if(!t.hasOwnProperty(a.visit))throw new Error("Bad value `"+a.visit+"` for `visit` option (should be: "+Object.keys(t).join(", ")+")");l=i(l,a.visit),c=i(c,a.visit)}if(l===u&&c===u)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");if(a.reverse){var m=l;l=c,c=m}s(e)}}},{}],105:[function(e,t,n){function r(){this._array=[],this._set=a?new Map:Object.create(null)}var i=e("./util"),o=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i<o;i++)n.add(e[i],t);return n},r.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=a?e:i.toSetString(e),r=a?this.has(e):o.call(this._set,n),s=this._array.length;r&&!t||this._array.push(e),r||(a?this._set.set(e,s):this._set[n]=s)},r.prototype.has=function(e){if(a)return this._set.has(e);var t=i.toSetString(e);return o.call(this._set,t)},r.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var n=i.toSetString(e);if(o.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":114}],106:[function(e,t,n){function r(e){return e<0?1+(-e<<1):0+(e<<1)}function i(e){var t=1==(1&e),n=e>>1;return t?-n:n}var o=e("./base64");n.encode=function(e){var t,n="",i=r(e);do{t=31&i,i>>>=5,i>0&&(t|=32),n+=o.encode(t)}while(i>0);return n},n.decode=function(e,t,n){var r,a,s=e.length,l=0,c=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=o.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),a&=31,l+=a<<c,c+=5}while(r);n.value=i(l),n.rest=t}},{"./base64":107}],107:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},{}],108:[function(e,t,n){function r(e,t,i,o,a,s){var l=Math.floor((t-e)/2)+e,c=a(i,o[l],!0);return 0===c?l:c>0?t-l>1?r(l,t,i,o,a,s):s==n.LEAST_UPPER_BOUND?t<o.length?t:-1:l:l-e>1?r(e,l,i,o,a,s):s==n.LEAST_UPPER_BOUND?l:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,i,o){if(0===t.length)return-1;var a=r(-1,t.length,e,t,i,o||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(t[a],t[a-1],!0);)--a;return a}},{}],109:[function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=i||o.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var o=e("./util");i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(o.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=i},{"./util":114}],110:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function i(e,t){return Math.round(e+Math.random()*(t-e))}function o(e,t,n,a){if(n<a){var s=i(n,a),l=n-1;r(e,s,a);for(var c=e[a],u=n;u<a;u++)t(e[u],c)<=0&&(l+=1,r(e,l,u));r(e,l+1,u);var h=l+1;o(e,t,n,h-1),o(e,t,h+1,a)}}n.quickSort=function(e,t){o(e,t,0,e.length-1)}},{}],111:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new i(t)}function i(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),r=s.getArg(t,"sources"),i=s.getArg(t,"names",[]),o=s.getArg(t,"sourceRoot",null),a=s.getArg(t,"sourcesContent",null),l=s.getArg(t,"mappings"),u=s.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(s.normalize).map(function(e){return o&&s.isAbsolute(o)&&s.isAbsolute(e)?s.relative(o,e):e}),this._names=c.fromArray(i.map(String),!0),this._sources=c.fromArray(r,!0),this.sourceRoot=o,this.sourcesContent=a,this._mappings=l,this.file=u}function o(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),i=s.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new c,this._names=new c;var o={line:-1,column:0};this._sections=i.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=s.getArg(e,"offset"),n=s.getArg(t,"line"),i=s.getArg(t,"column");if(n<o.line||n===o.line&&i<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=t,{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new r(s.getArg(e,"map"))}})}var s=e("./util"),l=e("./binary-search"),c=e("./array-set").ArraySet,u=e("./base64-vlq"),h=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return i.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var i,o=t||null,a=n||r.GENERATED_ORDER;switch(a){case r.GENERATED_ORDER:i=this._generatedMappings;break;case r.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;i.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=l&&(t=s.join(l,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,o)},r.prototype.allGeneratedPositionsFor=function(e){var t=s.getArg(e,"line"),n={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=s.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,l.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(void 0===e.column)for(var a=o.originalLine;o&&o.originalLine===a;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var c=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==c;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return r},n.SourceMapConsumer=r,i.prototype=Object.create(r.prototype),i.prototype.consumer=r,i.fromSourceMap=function(e){var t=Object.create(i.prototype),n=t._names=c.fromArray(e._names.toArray(),!0),r=t._sources=c.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),l=t.__generatedMappings=[],u=t.__originalMappings=[],p=0,d=a.length;p<d;p++){var g=a[p],m=new o;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=r.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=n.indexOf(g.name)),u.push(m)),l.push(m)}return h(t.__originalMappings,s.compareByOriginalPositions),t},i.prototype._version=3,Object.defineProperty(i.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?s.join(this.sourceRoot,e):e},this)}}),i.prototype._parseMappings=function(e,t){for(var n,r,i,a,l,c=1,p=0,d=0,g=0,m=0,f=0,b=e.length,y=0,k={},v={},x=[],w=[];y<b;)if(";"===e.charAt(y))c++,y++,p=0;else if(","===e.charAt(y))y++;else{for(n=new o,n.generatedLine=c,a=y;a<b&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(y,a),i=k[r])y+=r.length;else{for(i=[];y<a;)u.decode(e,y,v),l=v.value,y=v.rest,i.push(l);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");k[r]=i}n.generatedColumn=p+i[0],p=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=d+i[2],d=n.originalLine,n.originalLine+=1,n.originalColumn=g+i[3],g=n.originalColumn,i.length>4&&(n.name=f+i[4],f+=i[4])),w.push(n),"number"==typeof n.originalLine&&x.push(n)}h(w,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,h(x,s.compareByOriginalPositions),this.__originalMappings=x},i.prototype._findMapping=function(e,t,n,r,i,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return l.search(e,t,i,o)},i.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},i.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=s.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),null!=this.sourceRoot&&(o=s.join(this.sourceRoot,o)));var a=s.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:s.getArg(i,"originalLine",null),column:s.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},i.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},i.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},i.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=i,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=l.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n],i=r.consumer.sourceContentFor(e,!0);if(i)return i}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(s.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r){return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],i=r.consumer._generatedMappings,o=0;o<i.length;o++){var a=i[o],l=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(l=s.join(r.consumer.sourceRoot,l)),this._sources.add(l),l=this._sources.indexOf(l);var c=r.consumer._names.at(a.name);this._names.add(c),c=this._names.indexOf(c);var u={source:l,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}h(this.__generatedMappings,s.compareByGeneratedPositionsDeflated),h(this.__originalMappings,s.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":105,"./base64-vlq":106,"./binary-search":108,"./quick-sort":110,"./util":114}],112:[function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}var i=e("./base64-vlq"),o=e("./util"),a=e("./array-set").ArraySet,s=e("./mapping-list").MappingList;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,l=new a;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||s.has(c)||s.add(c);var u=t.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,s=1,l=0,c=0,u=0,h=0,p="",d=this._mappings.toArray(),g=0,m=d.length;g<m;g++){if(t=d[g],e="",t.generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(g>0){if(!o.compareByGeneratedPositionsInflated(t,d[g-1]))continue;e+=","}e+=i.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=i.encode(r-h),h=r,e+=i.encode(t.originalLine-1-c),c=t.originalLine-1,e+=i.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=i.encode(n-u),u=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=r},{"./array-set":105,"./base64-vlq":106,"./mapping-list":109,"./util":114}],113:[function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={}, |
|
this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[s]=!0,null!=r&&this.add(r)}var i=e("./source-map-generator").SourceMapGenerator,o=e("./util"),a=/(\r?\n)/,s="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)s.add(t);else{var i=n?o.join(n,e.source):e.source;s.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var s=new r,l=e.split(a),c=0,u=function(){function e(){return c<l.length?l[c++]:void 0}return e()+(e()||"")},h=1,p=0,d=null;return t.eachMapping(function(e){if(null!==d){if(!(h<e.generatedLine)){var t=l[c],n=t.substr(0,e.generatedColumn-p);return l[c]=t.substr(e.generatedColumn-p),p=e.generatedColumn,i(d,n),void(d=e)}i(d,u()),h++,p=0}for(;h<e.generatedLine;)s.add(u()),h++;if(p<e.generatedColumn){var t=l[c];s.add(t.substr(0,e.generatedColumn)),l[c]=t.substr(e.generatedColumn),p=e.generatedColumn}d=e},this),c<l.length&&(d&&i(d,u()),s.add(l.splice(c).join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[s]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[s]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,a=null,s=null,l=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?(o===i.source&&a===i.line&&s===i.column&&l===i.name||n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,a=i.line,s=i.column,l=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===u?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},n.SourceNode=r},{"./source-map-generator":112,"./util":114}],114:[function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function i(e){var t=e.match(b);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var t=e,r=i(e);if(r){if(!r.path)return e;t=r.path}for(var a,s=n.isAbsolute(t),l=t.split(/\/+/),c=0,u=l.length-1;u>=0;u--)a=l[u],"."===a?l.splice(u,1):".."===a?c++:c>0&&(""===a?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return t=l.join("/"),""===t&&(t=s?"/":"."),r?(r.path=t,o(r)):t}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),r=i(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),o(n);if(n||t.match(y))return t;if(r&&!r.host&&!r.path)return r.host=t,o(r);var s="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=s,o(r)):s}function l(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function c(e){return e}function u(e){return p(e)?"$"+e:e}function h(e){return p(e)?e.slice(1):e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t,n){var r=e.source-t.source;return 0!==r?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)||n?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name)}function g(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=e.source-t.source)?r:0!==(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name)}function m(e,t){return e===t?0:e>t?1:-1}function f(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=m(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,0!==n?n:m(e.name,t.name))}n.getArg=r;var b=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,y=/^data:.+\,.+$/;n.urlParse=i,n.urlGenerate=o,n.normalize=a,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(b)},n.relative=l;var k=function(){return!("__proto__"in Object.create(null))}();n.toSetString=k?c:u,n.fromSetString=k?c:h,n.compareByOriginalPositions=d,n.compareByGeneratedPositionsDeflated=g,n.compareByGeneratedPositionsInflated=f},{}],115:[function(e,t,n){n.SourceMapGenerator=e("./lib/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./lib/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./lib/source-node").SourceNode},{"./lib/source-map-consumer":111,"./lib/source-map-generator":112,"./lib/source-node":113}]},{},[5])(5)}); |