text: 'use strict';
  
  Object.defineProperty(exports, '__esModule', { value: true });
  
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
  
  var test = _interopDefault(require('tape'));
  var inlineStylePrefixer = require('inline-style-prefixer');
  
  var cov_229to5rcnm = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/hyphenate-style-name.js",
        hash = "fa7c48d263d262ba365f4e61b9a32377c2dae7f1",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/hyphenate-style-name.js",
      statementMap: {
        "0": {
          start: {
            line: 3,
            column: 25
          },
          end: {
            line: 3,
            column: 33
          }
        },
        "1": {
          start: {
            line: 4,
            column: 18
          },
          end: {
            line: 4,
            column: 24
          }
        },
        "2": {
          start: {
            line: 5,
            column: 14
          },
          end: {
            line: 5,
            column: 16
          }
        },
        "3": {
          start: {
            line: 8,
            column: 2
          },
          end: {
            line: 13,
            column: 37
          }
        }
      },
      fnMap: {
        "0": {
          name: "hyphenateStyleName",
          decl: {
            start: {
              line: 7,
              column: 24
            },
            end: {
              line: 7,
              column: 42
            }
          },
          loc: {
            start: {
              line: 7,
              column: 65
            },
            end: {
              line: 14,
              column: 1
            }
          },
          line: 7
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 8,
              column: 9
            },
            end: {
              line: 13,
              column: 36
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 9,
              column: 6
            },
            end: {
              line: 9,
              column: 17
            }
          }, {
            start: {
              line: 10,
              column: 7
            },
            end: {
              line: 13,
              column: 35
            }
          }],
          line: 8
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0
      },
      f: {
        "0": 0
      },
      b: {
        "0": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  const uppercasePattern = (cov_229to5rcnm.s[0]++, /[A-Z]/g);
  const msPattern = (cov_229to5rcnm.s[1]++, /^ms-/);
  const cache = (cov_229to5rcnm.s[2]++, {});
  function hyphenateStyleName(prop) {
    cov_229to5rcnm.f[0]++;
    cov_229to5rcnm.s[3]++;
    return prop in cache ? (cov_229to5rcnm.b[0][0]++, cache[prop]) : (cov_229to5rcnm.b[0][1]++, cache[prop] = prop.replace(uppercasePattern, "-$&").toLowerCase().replace(msPattern, "-ms-"));
  }
  
  var cov_nvrwzc5ay = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/validate-no-mixed-hand.js",
        hash = "991fda8516634b3a9eae87620232faf34b7ffcc2",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/validate-no-mixed-hand.js",
      statementMap: {
        "0": {
          start: {
            line: 9,
            column: 21
          },
          end: {
            line: 232,
            column: 1
          }
        },
        "1": {
          start: {
            line: 235,
            column: 31
          },
          end: {
            line: 238,
            column: 8
          }
        },
        "2": {
          start: {
            line: 236,
            column: 4
          },
          end: {
            line: 236,
            column: 40
          }
        },
        "3": {
          start: {
            line: 237,
            column: 4
          },
          end: {
            line: 237,
            column: 15
          }
        },
        "4": {
          start: {
            line: 240,
            column: 16
          },
          end: {
            line: 240,
            column: 18
          }
        },
        "5": {
          start: {
            line: 241,
            column: 2
          },
          end: {
            line: 254,
            column: 3
          }
        },
        "6": {
          start: {
            line: 242,
            column: 4
          },
          end: {
            line: 253,
            column: 5
          }
        },
        "7": {
          start: {
            line: 243,
            column: 6
          },
          end: {
            line: 252,
            column: 7
          }
        },
        "8": {
          start: {
            line: 244,
            column: 8
          },
          end: {
            line: 251,
            column: 9
          }
        },
        "9": {
          start: {
            line: 245,
            column: 23
          },
          end: {
            line: 245,
            column: 53
          }
        },
        "10": {
          start: {
            line: 246,
            column: 24
          },
          end: {
            line: 246,
            column: 54
          }
        },
        "11": {
          start: {
            line: 247,
            column: 10
          },
          end: {
            line: 250,
            column: 13
          }
        },
        "12": {
          start: {
            line: 255,
            column: 2
          },
          end: {
            line: 255,
            column: 15
          }
        }
      },
      fnMap: {
        "0": {
          name: "validateNoMixedHand",
          decl: {
            start: {
              line: 234,
              column: 16
            },
            end: {
              line: 234,
              column: 35
            }
          },
          loc: {
            start: {
              line: 234,
              column: 51
            },
            end: {
              line: 256,
              column: 1
            }
          },
          line: 234
        },
        "1": {
          name: "(anonymous_1)",
          decl: {
            start: {
              line: 235,
              column: 57
            },
            end: {
              line: 235,
              column: 58
            }
          },
          loc: {
            start: {
              line: 235,
              column: 76
            },
            end: {
              line: 238,
              column: 3
            }
          },
          line: 235
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 242,
              column: 4
            },
            end: {
              line: 253,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 242,
              column: 4
            },
            end: {
              line: 253,
              column: 5
            }
          }, {
            start: {
              line: 242,
              column: 4
            },
            end: {
              line: 253,
              column: 5
            }
          }],
          line: 242
        },
        "1": {
          loc: {
            start: {
              line: 244,
              column: 8
            },
            end: {
              line: 251,
              column: 9
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 244,
              column: 8
            },
            end: {
              line: 251,
              column: 9
            }
          }, {
            start: {
              line: 244,
              column: 8
            },
            end: {
              line: 251,
              column: 9
            }
          }],
          line: 244
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0
      },
      f: {
        "0": 0,
        "1": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  /**
   * Adapted from https://github.com/gilmoreorless/css-shorthand-properties
   */
  const shorthandMap = (cov_nvrwzc5ay.s[0]++, {
    // CSS 2.1: https://www.w3.org/TR/CSS2/propidx.html
    "list-style": ["list-style-type", "list-style-position", "list-style-image"],
    margin: ["margin-top", "margin-right", "margin-bottom", "margin-left"],
    outline: ["outline-width", "outline-style", "outline-color"],
    padding: ["padding-top", "padding-right", "padding-bottom", "padding-left"],
    // CSS Backgrounds and Borders Module Level 3: https://www.w3.org/TR/css3-background/
    background: ["background-image", "background-position", "background-size", "background-repeat", "background-origin", "background-clip", "background-attachment", "background-color"],
    border: ["border-top-width", "border-right-width", "border-bottom-width", "border-left-width", "border-width", "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", "border-style", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "border-color"],
    "border-color": ["border-top-color", "border-right-color", "border-bottom-color", "border-left-color"],
    "border-style": ["border-top-style", "border-right-style", "border-bottom-style", "border-left-style"],
    "border-width": ["border-top-width", "border-right-width", "border-bottom-width", "border-left-width"],
    "border-top": ["border-top-width", "border-top-style", "border-top-color"],
    "border-right": ["border-right-width", "border-right-style", "border-right-color"],
    "border-bottom": ["border-bottom-width", "border-bottom-style", "border-bottom-color"],
    "border-left": ["border-left-width", "border-left-style", "border-left-color"],
    "border-radius": ["border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius"],
    "border-image": ["border-image-source", "border-image-slice", "border-image-width", "border-image-outset", "border-image-repeat"],
    // CSS Fonts Module Level 3: https://www.w3.org/TR/css3-fonts/
    font: ["font-style", "font-variant-ligatures", "font-variant-alternates", "font-variant-caps", "font-variant-numeric", "font-variant-east-asian", "font-variant", "font-weight", "font-stretch", "font-size", "line-height", "font-family"],
    "font-variant": ["font-variant-ligatures", "font-variant-alternates", "font-variant-caps", "font-variant-numeric", "font-variant-east-asian"],
    // CSS Flexible Box Layout Module Level 1: https://www.w3.org/TR/css3-flexbox-1/
    flex: ["flex-grow", "flex-shrink", "flex-basis"],
    "flex-flow": ["flex-direction", "flex-wrap"],
    // CSS Grid Layout Module Level 1: https://www.w3.org/TR/css-grid-1/
    grid: ["grid-template-rows", "grid-template-columns", "grid-template-areas", "grid-auto-rows", "grid-auto-columns", "grid-auto-flow"],
    "grid-template": ["grid-template-rows", "grid-template-columns", "grid-template-areas"],
    "grid-row": ["grid-row-start", "grid-row-end"],
    "grid-column": ["grid-column-start", "grid-column-end"],
    "grid-area": ["grid-row-start", "grid-column-start", "grid-row-end", "grid-column-end"],
    "grid-gap": ["grid-row-gap", "grid-column-gap"],
    // CSS Masking Module Level 1: https://www.w3.org/TR/css-masking/
    mask: ["mask-image", "mask-mode", "mask-position", "mask-size", "mask-repeat", "mask-origin", "mask-clip"],
    "mask-border": ["mask-border-source", "mask-border-slice", "mask-border-width", "mask-border-outset", "mask-border-repeat", "mask-border-mode"],
    // CSS Multi-column Layout Module: https://www.w3.org/TR/css3-multicol/
    columns: ["column-width", "column-count"],
    "column-rule": ["column-rule-width", "column-rule-style", "column-rule-color"],
    // CSS Scroll Snap Module Level 1: https://www.w3.org/TR/css-scroll-snap-1/
    "scroll-padding": ["scroll-padding-top", "scroll-padding-right", "scroll-padding-bottom", "scroll-padding-left"],
    "scroll-padding-block": ["scroll-padding-block-start", "scroll-padding-block-end"],
    "scroll-padding-inline": ["scroll-padding-inline-start", "scroll-padding-inline-end"],
    "scroll-snap-margin": ["scroll-snap-margin-top", "scroll-snap-margin-right", "scroll-snap-margin-bottom", "scroll-snap-margin-left"],
    "scroll-snap-margin-block": ["scroll-snap-margin-block-start", "scroll-snap-margin-block-end"],
    "scroll-snap-margin-inline": ["scroll-snap-margin-inline-start", "scroll-snap-margin-inline-end"],
    // CSS Speech Module: https://www.w3.org/TR/css3-speech/
    cue: ["cue-before", "cue-after"],
    pause: ["pause-before", "pause-after"],
    rest: ["rest-before", "rest-after"],
    // CSS Text Decoration Module Level 3: https://www.w3.org/TR/css-text-decor-3/
    "text-decoration": ["text-decoration-line", "text-decoration-style", "text-decoration-color"],
    "text-emphasis": ["text-emphasis-style", "text-emphasis-color"],
    // CSS Animations (WD): https://www.w3.org/TR/css3-animations
    animation: ["animation-name", "animation-duration", "animation-timing-function", "animation-delay", "animation-iteration-count", "animation-direction", "animation-fill-mode", "animation-play-state"],
    // CSS Transitions (WD): https://www.w3.org/TR/css3-transitions/
    transition: ["transition-property", "transition-duration", "transition-timing-function", "transition-delay"]
  });
  function validateNoMixedHand(style) {
    cov_nvrwzc5ay.f[0]++;
    const hyphenatedProperties = (cov_nvrwzc5ay.s[1]++, Object.keys(style).reduce((acc, property) => {
      cov_nvrwzc5ay.f[1]++;
      cov_nvrwzc5ay.s[2]++;
      acc[hyphenateStyleName(property)] = property;
      cov_nvrwzc5ay.s[3]++;
      return acc;
    }, {}));
    const mixed = (cov_nvrwzc5ay.s[4]++, []);
    cov_nvrwzc5ay.s[5]++;
  
    for (const property in hyphenatedProperties) {
      cov_nvrwzc5ay.s[6]++;
  
      if (property in shorthandMap) {
        cov_nvrwzc5ay.b[0][0]++;
        cov_nvrwzc5ay.s[7]++;
  
        for (const longhand of shorthandMap[property]) {
          cov_nvrwzc5ay.s[8]++;
  
          if (longhand in hyphenatedProperties) {
            cov_nvrwzc5ay.b[1][0]++;
            const long = (cov_nvrwzc5ay.s[9]++, hyphenatedProperties[longhand]);
            const short = (cov_nvrwzc5ay.s[10]++, hyphenatedProperties[property]);
            cov_nvrwzc5ay.s[11]++;
            mixed.push({
              shorthand: {
                property: short,
                value: style[short]
              },
              longhand: {
                property: long,
                value: style[long]
              }
            });
          } else {
            cov_nvrwzc5ay.b[1][1]++;
          }
        }
      } else {
        cov_nvrwzc5ay.b[0][1]++;
      }
    }
  
    cov_nvrwzc5ay.s[12]++;
    return mixed;
  }
  
  var cov_2m5quu7ymb = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/sort-css-media-queries.js",
        hash = "3204b20d201c24ba32aa8eca4589ef7a19714026",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/sort-css-media-queries.js",
      statementMap: {
        "0": {
          start: {
            line: 5,
            column: 20
          },
          end: {
            line: 5,
            column: 78
          }
        },
        "1": {
          start: {
            line: 6,
            column: 17
          },
          end: {
            line: 6,
            column: 44
          }
        },
        "2": {
          start: {
            line: 7,
            column: 20
          },
          end: {
            line: 7,
            column: 77
          }
        },
        "3": {
          start: {
            line: 8,
            column: 17
          },
          end: {
            line: 8,
            column: 44
          }
        },
        "4": {
          start: {
            line: 10,
            column: 19
          },
          end: {
            line: 10,
            column: 65
          }
        },
        "5": {
          start: {
            line: 11,
            column: 19
          },
          end: {
            line: 11,
            column: 65
          }
        },
        "6": {
          start: {
            line: 13,
            column: 21
          },
          end: {
            line: 13,
            column: 80
          }
        },
        "7": {
          start: {
            line: 14,
            column: 18
          },
          end: {
            line: 14,
            column: 46
          }
        },
        "8": {
          start: {
            line: 15,
            column: 21
          },
          end: {
            line: 15,
            column: 80
          }
        },
        "9": {
          start: {
            line: 16,
            column: 18
          },
          end: {
            line: 16,
            column: 46
          }
        },
        "10": {
          start: {
            line: 18,
            column: 20
          },
          end: {
            line: 18,
            column: 69
          }
        },
        "11": {
          start: {
            line: 19,
            column: 20
          },
          end: {
            line: 19,
            column: 69
          }
        },
        "12": {
          start: {
            line: 21,
            column: 16
          },
          end: {
            line: 21,
            column: 24
          }
        },
        "13": {
          start: {
            line: 22,
            column: 20
          },
          end: {
            line: 22,
            column: 30
          }
        },
        "14": {
          start: {
            line: 23,
            column: 17
          },
          end: {
            line: 23,
            column: 33
          }
        },
        "15": {
          start: {
            line: 26,
            column: 18
          },
          end: {
            line: 26,
            column: 63
          }
        },
        "16": {
          start: {
            line: 27,
            column: 2
          },
          end: {
            line: 29,
            column: 3
          }
        },
        "17": {
          start: {
            line: 28,
            column: 4
          },
          end: {
            line: 28,
            column: 20
          }
        },
        "18": {
          start: {
            line: 30,
            column: 15
          },
          end: {
            line: 30,
            column: 25
          }
        },
        "19": {
          start: {
            line: 31,
            column: 15
          },
          end: {
            line: 31,
            column: 25
          }
        },
        "20": {
          start: {
            line: 32,
            column: 2
          },
          end: {
            line: 46,
            column: 3
          }
        },
        "21": {
          start: {
            line: 34,
            column: 6
          },
          end: {
            line: 34,
            column: 46
          }
        },
        "22": {
          start: {
            line: 35,
            column: 6
          },
          end: {
            line: 35,
            column: 12
          }
        },
        "23": {
          start: {
            line: 38,
            column: 6
          },
          end: {
            line: 38,
            column: 39
          }
        },
        "24": {
          start: {
            line: 39,
            column: 6
          },
          end: {
            line: 39,
            column: 12
          }
        },
        "25": {
          start: {
            line: 41,
            column: 6
          },
          end: {
            line: 41,
            column: 45
          }
        },
        "26": {
          start: {
            line: 42,
            column: 6
          },
          end: {
            line: 42,
            column: 12
          }
        },
        "27": {
          start: {
            line: 44,
            column: 6
          },
          end: {
            line: 44,
            column: 34
          }
        },
        "28": {
          start: {
            line: 45,
            column: 6
          },
          end: {
            line: 45,
            column: 12
          }
        },
        "29": {
          start: {
            line: 47,
            column: 2
          },
          end: {
            line: 47,
            column: 17
          }
        },
        "30": {
          start: {
            line: 55,
            column: 2
          },
          end: {
            line: 62,
            column: 4
          }
        },
        "31": {
          start: {
            line: 56,
            column: 4
          },
          end: {
            line: 60,
            column: 5
          }
        },
        "32": {
          start: {
            line: 57,
            column: 6
          },
          end: {
            line: 57,
            column: 18
          }
        },
        "33": {
          start: {
            line: 58,
            column: 11
          },
          end: {
            line: 60,
            column: 5
          }
        },
        "34": {
          start: {
            line: 59,
            column: 6
          },
          end: {
            line: 59,
            column: 19
          }
        },
        "35": {
          start: {
            line: 61,
            column: 4
          },
          end: {
            line: 61,
            column: 34
          }
        },
        "36": {
          start: {
            line: 66,
            column: 19
          },
          end: {
            line: 66,
            column: 34
          }
        },
        "37": {
          start: {
            line: 67,
            column: 23
          },
          end: {
            line: 67,
            column: 42
          }
        },
        "38": {
          start: {
            line: 68,
            column: 19
          },
          end: {
            line: 68,
            column: 34
          }
        },
        "39": {
          start: {
            line: 69,
            column: 23
          },
          end: {
            line: 69,
            column: 42
          }
        },
        "40": {
          start: {
            line: 71,
            column: 2
          },
          end: {
            line: 79,
            column: 3
          }
        },
        "41": {
          start: {
            line: 72,
            column: 4
          },
          end: {
            line: 74,
            column: 5
          }
        },
        "42": {
          start: {
            line: 73,
            column: 6
          },
          end: {
            line: 73,
            column: 15
          }
        },
        "43": {
          start: {
            line: 75,
            column: 4
          },
          end: {
            line: 77,
            column: 5
          }
        },
        "44": {
          start: {
            line: 76,
            column: 6
          },
          end: {
            line: 76,
            column: 16
          }
        },
        "45": {
          start: {
            line: 78,
            column: 4
          },
          end: {
            line: 78,
            column: 30
          }
        },
        "46": {
          start: {
            line: 80,
            column: 2
          },
          end: {
            line: 82,
            column: 3
          }
        },
        "47": {
          start: {
            line: 81,
            column: 4
          },
          end: {
            line: 81,
            column: 13
          }
        },
        "48": {
          start: {
            line: 83,
            column: 2
          },
          end: {
            line: 85,
            column: 3
          }
        },
        "49": {
          start: {
            line: 84,
            column: 4
          },
          end: {
            line: 84,
            column: 14
          }
        },
        "50": {
          start: {
            line: 86,
            column: 2
          },
          end: {
            line: 86,
            column: 14
          }
        },
        "51": {
          start: {
            line: 90,
            column: 2
          },
          end: {
            line: 92,
            column: 3
          }
        },
        "52": {
          start: {
            line: 91,
            column: 4
          },
          end: {
            line: 91,
            column: 14
          }
        },
        "53": {
          start: {
            line: 93,
            column: 2
          },
          end: {
            line: 95,
            column: 3
          }
        },
        "54": {
          start: {
            line: 94,
            column: 4
          },
          end: {
            line: 94,
            column: 13
          }
        },
        "55": {
          start: {
            line: 96,
            column: 22
          },
          end: {
            line: 96,
            column: 40
          }
        },
        "56": {
          start: {
            line: 97,
            column: 2
          },
          end: {
            line: 99,
            column: 3
          }
        },
        "57": {
          start: {
            line: 98,
            column: 4
          },
          end: {
            line: 98,
            column: 23
          }
        },
        "58": {
          start: {
            line: 101,
            column: 15
          },
          end: {
            line: 101,
            column: 46
          }
        },
        "59": {
          start: {
            line: 102,
            column: 15
          },
          end: {
            line: 102,
            column: 46
          }
        },
        "60": {
          start: {
            line: 103,
            column: 15
          },
          end: {
            line: 103,
            column: 46
          }
        },
        "61": {
          start: {
            line: 104,
            column: 15
          },
          end: {
            line: 104,
            column: 46
          }
        },
        "62": {
          start: {
            line: 106,
            column: 2
          },
          end: {
            line: 108,
            column: 3
          }
        },
        "63": {
          start: {
            line: 107,
            column: 4
          },
          end: {
            line: 107,
            column: 14
          }
        },
        "64": {
          start: {
            line: 109,
            column: 2
          },
          end: {
            line: 111,
            column: 3
          }
        },
        "65": {
          start: {
            line: 110,
            column: 4
          },
          end: {
            line: 110,
            column: 13
          }
        },
        "66": {
          start: {
            line: 113,
            column: 18
          },
          end: {
            line: 113,
            column: 36
          }
        },
        "67": {
          start: {
            line: 114,
            column: 18
          },
          end: {
            line: 114,
            column: 36
          }
        },
        "68": {
          start: {
            line: 116,
            column: 2
          },
          end: {
            line: 122,
            column: 3
          }
        },
        "69": {
          start: {
            line: 117,
            column: 4
          },
          end: {
            line: 117,
            column: 30
          }
        },
        "70": {
          start: {
            line: 118,
            column: 9
          },
          end: {
            line: 122,
            column: 3
          }
        },
        "71": {
          start: {
            line: 119,
            column: 4
          },
          end: {
            line: 119,
            column: 13
          }
        },
        "72": {
          start: {
            line: 120,
            column: 9
          },
          end: {
            line: 122,
            column: 3
          }
        },
        "73": {
          start: {
            line: 121,
            column: 4
          },
          end: {
            line: 121,
            column: 14
          }
        },
        "74": {
          start: {
            line: 124,
            column: 2
          },
          end: {
            line: 129,
            column: 3
          }
        },
        "75": {
          start: {
            line: 125,
            column: 4
          },
          end: {
            line: 127,
            column: 5
          }
        },
        "76": {
          start: {
            line: 126,
            column: 6
          },
          end: {
            line: 126,
            column: 16
          }
        },
        "77": {
          start: {
            line: 128,
            column: 4
          },
          end: {
            line: 128,
            column: 13
          }
        },
        "78": {
          start: {
            line: 131,
            column: 2
          },
          end: {
            line: 136,
            column: 3
          }
        },
        "79": {
          start: {
            line: 132,
            column: 4
          },
          end: {
            line: 134,
            column: 5
          }
        },
        "80": {
          start: {
            line: 133,
            column: 6
          },
          end: {
            line: 133,
            column: 15
          }
        },
        "81": {
          start: {
            line: 135,
            column: 4
          },
          end: {
            line: 135,
            column: 14
          }
        },
        "82": {
          start: {
            line: 138,
            column: 2
          },
          end: {
            line: 138,
            column: 28
          }
        }
      },
      fnMap: {
        "0": {
          name: "_getQueryLength",
          decl: {
            start: {
              line: 25,
              column: 9
            },
            end: {
              line: 25,
              column: 24
            }
          },
          loc: {
            start: {
              line: 25,
              column: 41
            },
            end: {
              line: 48,
              column: 1
            }
          },
          line: 25
        },
        "1": {
          name: "_testQuery",
          decl: {
            start: {
              line: 50,
              column: 9
            },
            end: {
              line: 50,
              column: 19
            }
          },
          loc: {
            start: {
              line: 54,
              column: 2
            },
            end: {
              line: 63,
              column: 1
            }
          },
          line: 54
        },
        "2": {
          name: "(anonymous_2)",
          decl: {
            start: {
              line: 55,
              column: 9
            },
            end: {
              line: 55,
              column: 10
            }
          },
          loc: {
            start: {
              line: 55,
              column: 33
            },
            end: {
              line: 62,
              column: 3
            }
          },
          line: 55
        },
        "3": {
          name: "_testIsPrint",
          decl: {
            start: {
              line: 65,
              column: 9
            },
            end: {
              line: 65,
              column: 21
            }
          },
          loc: {
            start: {
              line: 65,
              column: 44
            },
            end: {
              line: 87,
              column: 1
            }
          },
          line: 65
        },
        "4": {
          name: "sortCSSmq",
          decl: {
            start: {
              line: 89,
              column: 24
            },
            end: {
              line: 89,
              column: 33
            }
          },
          loc: {
            start: {
              line: 89,
              column: 56
            },
            end: {
              line: 139,
              column: 1
            }
          },
          line: 89
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 27,
              column: 2
            },
            end: {
              line: 29,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 27,
              column: 2
            },
            end: {
              line: 29,
              column: 3
            }
          }, {
            start: {
              line: 27,
              column: 2
            },
            end: {
              line: 29,
              column: 3
            }
          }],
          line: 27
        },
        "1": {
          loc: {
            start: {
              line: 32,
              column: 2
            },
            end: {
              line: 46,
              column: 3
            }
          },
          type: "switch",
          locations: [{
            start: {
              line: 33,
              column: 4
            },
            end: {
              line: 35,
              column: 12
            }
          }, {
            start: {
              line: 36,
              column: 4
            },
            end: {
              line: 36,
              column: 14
            }
          }, {
            start: {
              line: 37,
              column: 4
            },
            end: {
              line: 39,
              column: 12
            }
          }, {
            start: {
              line: 40,
              column: 4
            },
            end: {
              line: 42,
              column: 12
            }
          }, {
            start: {
              line: 43,
              column: 4
            },
            end: {
              line: 45,
              column: 12
            }
          }],
          line: 32
        },
        "2": {
          loc: {
            start: {
              line: 56,
              column: 4
            },
            end: {
              line: 60,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 56,
              column: 4
            },
            end: {
              line: 60,
              column: 5
            }
          }, {
            start: {
              line: 56,
              column: 4
            },
            end: {
              line: 60,
              column: 5
            }
          }],
          line: 56
        },
        "3": {
          loc: {
            start: {
              line: 58,
              column: 11
            },
            end: {
              line: 60,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 58,
              column: 11
            },
            end: {
              line: 60,
              column: 5
            }
          }, {
            start: {
              line: 58,
              column: 11
            },
            end: {
              line: 60,
              column: 5
            }
          }],
          line: 58
        },
        "4": {
          loc: {
            start: {
              line: 71,
              column: 2
            },
            end: {
              line: 79,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 71,
              column: 2
            },
            end: {
              line: 79,
              column: 3
            }
          }, {
            start: {
              line: 71,
              column: 2
            },
            end: {
              line: 79,
              column: 3
            }
          }],
          line: 71
        },
        "5": {
          loc: {
            start: {
              line: 71,
              column: 6
            },
            end: {
              line: 71,
              column: 26
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 71,
              column: 6
            },
            end: {
              line: 71,
              column: 14
            }
          }, {
            start: {
              line: 71,
              column: 18
            },
            end: {
              line: 71,
              column: 26
            }
          }],
          line: 71
        },
        "6": {
          loc: {
            start: {
              line: 72,
              column: 4
            },
            end: {
              line: 74,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 72,
              column: 4
            },
            end: {
              line: 74,
              column: 5
            }
          }, {
            start: {
              line: 72,
              column: 4
            },
            end: {
              line: 74,
              column: 5
            }
          }],
          line: 72
        },
        "7": {
          loc: {
            start: {
              line: 72,
              column: 8
            },
            end: {
              line: 72,
              column: 37
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 72,
              column: 8
            },
            end: {
              line: 72,
              column: 21
            }
          }, {
            start: {
              line: 72,
              column: 25
            },
            end: {
              line: 72,
              column: 37
            }
          }],
          line: 72
        },
        "8": {
          loc: {
            start: {
              line: 75,
              column: 4
            },
            end: {
              line: 77,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 75,
              column: 4
            },
            end: {
              line: 77,
              column: 5
            }
          }, {
            start: {
              line: 75,
              column: 4
            },
            end: {
              line: 77,
              column: 5
            }
          }],
          line: 75
        },
        "9": {
          loc: {
            start: {
              line: 75,
              column: 8
            },
            end: {
              line: 75,
              column: 37
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 75,
              column: 8
            },
            end: {
              line: 75,
              column: 20
            }
          }, {
            start: {
              line: 75,
              column: 24
            },
            end: {
              line: 75,
              column: 37
            }
          }],
          line: 75
        },
        "10": {
          loc: {
            start: {
              line: 80,
              column: 2
            },
            end: {
              line: 82,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 80,
              column: 2
            },
            end: {
              line: 82,
              column: 3
            }
          }, {
            start: {
              line: 80,
              column: 2
            },
            end: {
              line: 82,
              column: 3
            }
          }],
          line: 80
        },
        "11": {
          loc: {
            start: {
              line: 83,
              column: 2
            },
            end: {
              line: 85,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 83,
              column: 2
            },
            end: {
              line: 85,
              column: 3
            }
          }, {
            start: {
              line: 83,
              column: 2
            },
            end: {
              line: 85,
              column: 3
            }
          }],
          line: 83
        },
        "12": {
          loc: {
            start: {
              line: 90,
              column: 2
            },
            end: {
              line: 92,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 90,
              column: 2
            },
            end: {
              line: 92,
              column: 3
            }
          }, {
            start: {
              line: 90,
              column: 2
            },
            end: {
              line: 92,
              column: 3
            }
          }],
          line: 90
        },
        "13": {
          loc: {
            start: {
              line: 93,
              column: 2
            },
            end: {
              line: 95,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 93,
              column: 2
            },
            end: {
              line: 95,
              column: 3
            }
          }, {
            start: {
              line: 93,
              column: 2
            },
            end: {
              line: 95,
              column: 3
            }
          }],
          line: 93
        },
        "14": {
          loc: {
            start: {
              line: 97,
              column: 2
            },
            end: {
              line: 99,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 97,
              column: 2
            },
            end: {
              line: 99,
              column: 3
            }
          }, {
            start: {
              line: 97,
              column: 2
            },
            end: {
              line: 99,
              column: 3
            }
          }],
          line: 97
        },
        "15": {
          loc: {
            start: {
              line: 101,
              column: 15
            },
            end: {
              line: 101,
              column: 46
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 101,
              column: 15
            },
            end: {
              line: 101,
              column: 28
            }
          }, {
            start: {
              line: 101,
              column: 32
            },
            end: {
              line: 101,
              column: 46
            }
          }],
          line: 101
        },
        "16": {
          loc: {
            start: {
              line: 102,
              column: 15
            },
            end: {
              line: 102,
              column: 46
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 102,
              column: 15
            },
            end: {
              line: 102,
              column: 28
            }
          }, {
            start: {
              line: 102,
              column: 32
            },
            end: {
              line: 102,
              column: 46
            }
          }],
          line: 102
        },
        "17": {
          loc: {
            start: {
              line: 103,
              column: 15
            },
            end: {
              line: 103,
              column: 46
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 103,
              column: 15
            },
            end: {
              line: 103,
              column: 28
            }
          }, {
            start: {
              line: 103,
              column: 32
            },
            end: {
              line: 103,
              column: 46
            }
          }],
          line: 103
        },
        "18": {
          loc: {
            start: {
              line: 104,
              column: 15
            },
            end: {
              line: 104,
              column: 46
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 104,
              column: 15
            },
            end: {
              line: 104,
              column: 28
            }
          }, {
            start: {
              line: 104,
              column: 32
            },
            end: {
              line: 104,
              column: 46
            }
          }],
          line: 104
        },
        "19": {
          loc: {
            start: {
              line: 106,
              column: 2
            },
            end: {
              line: 108,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 106,
              column: 2
            },
            end: {
              line: 108,
              column: 3
            }
          }, {
            start: {
              line: 106,
              column: 2
            },
            end: {
              line: 108,
              column: 3
            }
          }],
          line: 106
        },
        "20": {
          loc: {
            start: {
              line: 106,
              column: 6
            },
            end: {
              line: 106,
              column: 18
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 106,
              column: 6
            },
            end: {
              line: 106,
              column: 10
            }
          }, {
            start: {
              line: 106,
              column: 14
            },
            end: {
              line: 106,
              column: 18
            }
          }],
          line: 106
        },
        "21": {
          loc: {
            start: {
              line: 109,
              column: 2
            },
            end: {
              line: 111,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 109,
              column: 2
            },
            end: {
              line: 111,
              column: 3
            }
          }, {
            start: {
              line: 109,
              column: 2
            },
            end: {
              line: 111,
              column: 3
            }
          }],
          line: 109
        },
        "22": {
          loc: {
            start: {
              line: 109,
              column: 6
            },
            end: {
              line: 109,
              column: 18
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 109,
              column: 6
            },
            end: {
              line: 109,
              column: 10
            }
          }, {
            start: {
              line: 109,
              column: 14
            },
            end: {
              line: 109,
              column: 18
            }
          }],
          line: 109
        },
        "23": {
          loc: {
            start: {
              line: 116,
              column: 2
            },
            end: {
              line: 122,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 116,
              column: 2
            },
            end: {
              line: 122,
              column: 3
            }
          }, {
            start: {
              line: 116,
              column: 2
            },
            end: {
              line: 122,
              column: 3
            }
          }],
          line: 116
        },
        "24": {
          loc: {
            start: {
              line: 116,
              column: 6
            },
            end: {
              line: 116,
              column: 50
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 116,
              column: 6
            },
            end: {
              line: 116,
              column: 26
            }
          }, {
            start: {
              line: 116,
              column: 30
            },
            end: {
              line: 116,
              column: 50
            }
          }],
          line: 116
        },
        "25": {
          loc: {
            start: {
              line: 118,
              column: 9
            },
            end: {
              line: 122,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 118,
              column: 9
            },
            end: {
              line: 122,
              column: 3
            }
          }, {
            start: {
              line: 118,
              column: 9
            },
            end: {
              line: 122,
              column: 3
            }
          }],
          line: 118
        },
        "26": {
          loc: {
            start: {
              line: 120,
              column: 9
            },
            end: {
              line: 122,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 120,
              column: 9
            },
            end: {
              line: 122,
              column: 3
            }
          }, {
            start: {
              line: 120,
              column: 9
            },
            end: {
              line: 122,
              column: 3
            }
          }],
          line: 120
        },
        "27": {
          loc: {
            start: {
              line: 124,
              column: 2
            },
            end: {
              line: 129,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 124,
              column: 2
            },
            end: {
              line: 129,
              column: 3
            }
          }, {
            start: {
              line: 124,
              column: 2
            },
            end: {
              line: 129,
              column: 3
            }
          }],
          line: 124
        },
        "28": {
          loc: {
            start: {
              line: 125,
              column: 4
            },
            end: {
              line: 127,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 125,
              column: 4
            },
            end: {
              line: 127,
              column: 5
            }
          }, {
            start: {
              line: 125,
              column: 4
            },
            end: {
              line: 127,
              column: 5
            }
          }],
          line: 125
        },
        "29": {
          loc: {
            start: {
              line: 131,
              column: 2
            },
            end: {
              line: 136,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 131,
              column: 2
            },
            end: {
              line: 136,
              column: 3
            }
          }, {
            start: {
              line: 131,
              column: 2
            },
            end: {
              line: 136,
              column: 3
            }
          }],
          line: 131
        },
        "30": {
          loc: {
            start: {
              line: 132,
              column: 4
            },
            end: {
              line: 134,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 132,
              column: 4
            },
            end: {
              line: 134,
              column: 5
            }
          }, {
            start: {
              line: 132,
              column: 4
            },
            end: {
              line: 134,
              column: 5
            }
          }],
          line: 132
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0,
        "22": 0,
        "23": 0,
        "24": 0,
        "25": 0,
        "26": 0,
        "27": 0,
        "28": 0,
        "29": 0,
        "30": 0,
        "31": 0,
        "32": 0,
        "33": 0,
        "34": 0,
        "35": 0,
        "36": 0,
        "37": 0,
        "38": 0,
        "39": 0,
        "40": 0,
        "41": 0,
        "42": 0,
        "43": 0,
        "44": 0,
        "45": 0,
        "46": 0,
        "47": 0,
        "48": 0,
        "49": 0,
        "50": 0,
        "51": 0,
        "52": 0,
        "53": 0,
        "54": 0,
        "55": 0,
        "56": 0,
        "57": 0,
        "58": 0,
        "59": 0,
        "60": 0,
        "61": 0,
        "62": 0,
        "63": 0,
        "64": 0,
        "65": 0,
        "66": 0,
        "67": 0,
        "68": 0,
        "69": 0,
        "70": 0,
        "71": 0,
        "72": 0,
        "73": 0,
        "74": 0,
        "75": 0,
        "76": 0,
        "77": 0,
        "78": 0,
        "79": 0,
        "80": 0,
        "81": 0,
        "82": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0, 0, 0, 0],
        "2": [0, 0],
        "3": [0, 0],
        "4": [0, 0],
        "5": [0, 0],
        "6": [0, 0],
        "7": [0, 0],
        "8": [0, 0],
        "9": [0, 0],
        "10": [0, 0],
        "11": [0, 0],
        "12": [0, 0],
        "13": [0, 0],
        "14": [0, 0],
        "15": [0, 0],
        "16": [0, 0],
        "17": [0, 0],
        "18": [0, 0],
        "19": [0, 0],
        "20": [0, 0],
        "21": [0, 0],
        "22": [0, 0],
        "23": [0, 0],
        "24": [0, 0],
        "25": [0, 0],
        "26": [0, 0],
        "27": [0, 0],
        "28": [0, 0],
        "29": [0, 0],
        "30": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  // adapted from https://github.com/dutchenkoOleg/sort-css-media-queries
  const minMaxWidth = (cov_2m5quu7ymb.s[0]++, /(!?\(\s*min(-device-)?-width).+\(\s*max(-device)?-width/i);
  const minWidth = (cov_2m5quu7ymb.s[1]++, /\(\s*min(-device)?-width/i);
  const maxMinWidth = (cov_2m5quu7ymb.s[2]++, /(!?\(\s*max(-device)?-width).+\(\s*min(-device)?-width/i);
  const maxWidth = (cov_2m5quu7ymb.s[3]++, /\(\s*max(-device)?-width/i);
  const isMinWidth = (cov_2m5quu7ymb.s[4]++, _testQuery(minMaxWidth, maxMinWidth, minWidth));
  const isMaxWidth = (cov_2m5quu7ymb.s[5]++, _testQuery(maxMinWidth, minMaxWidth, maxWidth));
  const minMaxHeight = (cov_2m5quu7ymb.s[6]++, /(!?\(\s*min(-device)?-height).+\(\s*max(-device)?-height/i);
  const minHeight = (cov_2m5quu7ymb.s[7]++, /\(\s*min(-device)?-height/i);
  const maxMinHeight = (cov_2m5quu7ymb.s[8]++, /(!?\(\s*max(-device)?-height).+\(\s*min(-device)?-height/i);
  const maxHeight = (cov_2m5quu7ymb.s[9]++, /\(\s*max(-device)?-height/i);
  const isMinHeight = (cov_2m5quu7ymb.s[10]++, _testQuery(minMaxHeight, maxMinHeight, minHeight));
  const isMaxHeight = (cov_2m5quu7ymb.s[11]++, _testQuery(maxMinHeight, minMaxHeight, maxHeight));
  const isPrint = (cov_2m5quu7ymb.s[12]++, /print/i);
  const isPrintOnly = (cov_2m5quu7ymb.s[13]++, /^print$/i);
  const maxValue = (cov_2m5quu7ymb.s[14]++, Number.MAX_VALUE);
  
  function _getQueryLength(length) {
    cov_2m5quu7ymb.f[0]++;
    const matches = (cov_2m5quu7ymb.s[15]++, /(-?\d*\.?\d+)(ch|em|ex|px|rem)/.exec(length));
    cov_2m5quu7ymb.s[16]++;
  
    if (matches === null) {
      cov_2m5quu7ymb.b[0][0]++;
      cov_2m5quu7ymb.s[17]++;
      return maxValue;
    } else {
      cov_2m5quu7ymb.b[0][1]++;
    }
  
    let number = (cov_2m5quu7ymb.s[18]++, matches[1]);
    const unit = (cov_2m5quu7ymb.s[19]++, matches[2]);
    cov_2m5quu7ymb.s[20]++;
  
    switch (unit) {
      case "ch":
        cov_2m5quu7ymb.b[1][0]++;
        cov_2m5quu7ymb.s[21]++;
        number = parseFloat(number) * 8.8984375;
        cov_2m5quu7ymb.s[22]++;
        break;
  
      case "em":
        cov_2m5quu7ymb.b[1][1]++;
  
      case "rem":
        cov_2m5quu7ymb.b[1][2]++;
        cov_2m5quu7ymb.s[23]++;
        number = parseFloat(number) * 16;
        cov_2m5quu7ymb.s[24]++;
        break;
  
      case "ex":
        cov_2m5quu7ymb.b[1][3]++;
        cov_2m5quu7ymb.s[25]++;
        number = parseFloat(number) * 8.296875;
        cov_2m5quu7ymb.s[26]++;
        break;
  
      case "px":
        cov_2m5quu7ymb.b[1][4]++;
        cov_2m5quu7ymb.s[27]++;
        number = parseFloat(number);
        cov_2m5quu7ymb.s[28]++;
        break;
    }
  
    cov_2m5quu7ymb.s[29]++;
    return +number;
  }
  
  function _testQuery(doubleTestTrue, doubleTestFalse, singleTest) {
    cov_2m5quu7ymb.f[1]++;
    cov_2m5quu7ymb.s[30]++;
    return function (query) {
      cov_2m5quu7ymb.f[2]++;
      cov_2m5quu7ymb.s[31]++;
  
      if (doubleTestTrue.test(query)) {
        cov_2m5quu7ymb.b[2][0]++;
        cov_2m5quu7ymb.s[32]++;
        return true;
      } else {
        cov_2m5quu7ymb.b[2][1]++;
        cov_2m5quu7ymb.s[33]++;
  
        if (doubleTestFalse.test(query)) {
          cov_2m5quu7ymb.b[3][0]++;
          cov_2m5quu7ymb.s[34]++;
          return false;
        } else {
          cov_2m5quu7ymb.b[3][1]++;
        }
      }
  
      cov_2m5quu7ymb.s[35]++;
      return singleTest.test(query);
    };
  }
  
  function _testIsPrint(a, b) {
    cov_2m5quu7ymb.f[3]++;
    const isPrintA = (cov_2m5quu7ymb.s[36]++, isPrint.test(a));
    const isPrintOnlyA = (cov_2m5quu7ymb.s[37]++, isPrintOnly.test(a));
    const isPrintB = (cov_2m5quu7ymb.s[38]++, isPrint.test(b));
    const isPrintOnlyB = (cov_2m5quu7ymb.s[39]++, isPrintOnly.test(b));
    cov_2m5quu7ymb.s[40]++;
  
    if ((cov_2m5quu7ymb.b[5][0]++, isPrintA) && (cov_2m5quu7ymb.b[5][1]++, isPrintB)) {
      cov_2m5quu7ymb.b[4][0]++;
      cov_2m5quu7ymb.s[41]++;
  
      if ((cov_2m5quu7ymb.b[7][0]++, !isPrintOnlyA) && (cov_2m5quu7ymb.b[7][1]++, isPrintOnlyB)) {
        cov_2m5quu7ymb.b[6][0]++;
        cov_2m5quu7ymb.s[42]++;
        return 1;
      } else {
        cov_2m5quu7ymb.b[6][1]++;
      }
  
      cov_2m5quu7ymb.s[43]++;
  
      if ((cov_2m5quu7ymb.b[9][0]++, isPrintOnlyA) && (cov_2m5quu7ymb.b[9][1]++, !isPrintOnlyB)) {
        cov_2m5quu7ymb.b[8][0]++;
        cov_2m5quu7ymb.s[44]++;
        return -1;
      } else {
        cov_2m5quu7ymb.b[8][1]++;
      }
  
      cov_2m5quu7ymb.s[45]++;
      return a.localeCompare(b);
    } else {
      cov_2m5quu7ymb.b[4][1]++;
    }
  
    cov_2m5quu7ymb.s[46]++;
  
    if (isPrintA) {
      cov_2m5quu7ymb.b[10][0]++;
      cov_2m5quu7ymb.s[47]++;
      return 1;
    } else {
      cov_2m5quu7ymb.b[10][1]++;
    }
  
    cov_2m5quu7ymb.s[48]++;
  
    if (isPrintB) {
      cov_2m5quu7ymb.b[11][0]++;
      cov_2m5quu7ymb.s[49]++;
      return -1;
    } else {
      cov_2m5quu7ymb.b[11][1]++;
    }
  
    cov_2m5quu7ymb.s[50]++;
    return null;
  }
  
  function sortCSSmq(a, b) {
    cov_2m5quu7ymb.f[4]++;
    cov_2m5quu7ymb.s[51]++;
  
    if (a === "") {
      cov_2m5quu7ymb.b[12][0]++;
      cov_2m5quu7ymb.s[52]++;
      return -1;
    } else {
      cov_2m5quu7ymb.b[12][1]++;
    }
  
    cov_2m5quu7ymb.s[53]++;
  
    if (b === "") {
      cov_2m5quu7ymb.b[13][0]++;
      cov_2m5quu7ymb.s[54]++;
      return 1;
    } else {
      cov_2m5quu7ymb.b[13][1]++;
    }
  
    const testIsPrint = (cov_2m5quu7ymb.s[55]++, _testIsPrint(a, b));
    cov_2m5quu7ymb.s[56]++;
  
    if (testIsPrint !== null) {
      cov_2m5quu7ymb.b[14][0]++;
      cov_2m5quu7ymb.s[57]++;
      return testIsPrint;
    } else {
      cov_2m5quu7ymb.b[14][1]++;
    }
  
    const minA = (cov_2m5quu7ymb.s[58]++, (cov_2m5quu7ymb.b[15][0]++, isMinWidth(a)) || (cov_2m5quu7ymb.b[15][1]++, isMinHeight(a)));
    const maxA = (cov_2m5quu7ymb.s[59]++, (cov_2m5quu7ymb.b[16][0]++, isMaxWidth(a)) || (cov_2m5quu7ymb.b[16][1]++, isMaxHeight(a)));
    const minB = (cov_2m5quu7ymb.s[60]++, (cov_2m5quu7ymb.b[17][0]++, isMinWidth(b)) || (cov_2m5quu7ymb.b[17][1]++, isMinHeight(b)));
    const maxB = (cov_2m5quu7ymb.s[61]++, (cov_2m5quu7ymb.b[18][0]++, isMaxWidth(b)) || (cov_2m5quu7ymb.b[18][1]++, isMaxHeight(b)));
    cov_2m5quu7ymb.s[62]++;
  
    if ((cov_2m5quu7ymb.b[20][0]++, minA) && (cov_2m5quu7ymb.b[20][1]++, maxB)) {
      cov_2m5quu7ymb.b[19][0]++;
      cov_2m5quu7ymb.s[63]++;
      return -1;
    } else {
      cov_2m5quu7ymb.b[19][1]++;
    }
  
    cov_2m5quu7ymb.s[64]++;
  
    if ((cov_2m5quu7ymb.b[22][0]++, maxA) && (cov_2m5quu7ymb.b[22][1]++, minB)) {
      cov_2m5quu7ymb.b[21][0]++;
      cov_2m5quu7ymb.s[65]++;
      return 1;
    } else {
      cov_2m5quu7ymb.b[21][1]++;
    }
  
    const lengthA = (cov_2m5quu7ymb.s[66]++, _getQueryLength(a));
    const lengthB = (cov_2m5quu7ymb.s[67]++, _getQueryLength(b));
    cov_2m5quu7ymb.s[68]++;
  
    if ((cov_2m5quu7ymb.b[24][0]++, lengthA === maxValue) && (cov_2m5quu7ymb.b[24][1]++, lengthB === maxValue)) {
      cov_2m5quu7ymb.b[23][0]++;
      cov_2m5quu7ymb.s[69]++;
      return a.localeCompare(b);
    } else {
      cov_2m5quu7ymb.b[23][1]++;
      cov_2m5quu7ymb.s[70]++;
  
      if (lengthA === maxValue) {
        cov_2m5quu7ymb.b[25][0]++;
        cov_2m5quu7ymb.s[71]++;
        return 1;
      } else {
        cov_2m5quu7ymb.b[25][1]++;
        cov_2m5quu7ymb.s[72]++;
  
        if (lengthB === maxValue) {
          cov_2m5quu7ymb.b[26][0]++;
          cov_2m5quu7ymb.s[73]++;
          return -1;
        } else {
          cov_2m5quu7ymb.b[26][1]++;
        }
      }
    }
  
    cov_2m5quu7ymb.s[74]++;
  
    if (lengthA > lengthB) {
      cov_2m5quu7ymb.b[27][0]++;
      cov_2m5quu7ymb.s[75]++;
  
      if (maxA) {
        cov_2m5quu7ymb.b[28][0]++;
        cov_2m5quu7ymb.s[76]++;
        return -1;
      } else {
        cov_2m5quu7ymb.b[28][1]++;
      }
  
      cov_2m5quu7ymb.s[77]++;
      return 1;
    } else {
      cov_2m5quu7ymb.b[27][1]++;
    }
  
    cov_2m5quu7ymb.s[78]++;
  
    if (lengthA < lengthB) {
      cov_2m5quu7ymb.b[29][0]++;
      cov_2m5quu7ymb.s[79]++;
  
      if (maxA) {
        cov_2m5quu7ymb.b[30][0]++;
        cov_2m5quu7ymb.s[80]++;
        return 1;
      } else {
        cov_2m5quu7ymb.b[30][1]++;
      }
  
      cov_2m5quu7ymb.s[81]++;
      return -1;
    } else {
      cov_2m5quu7ymb.b[29][1]++;
    }
  
    cov_2m5quu7ymb.s[82]++;
    return a.localeCompare(b);
  }
  
  test("validateNoMixedHand", t => {
    t.deepEqual(validateNoMixedHand({
      border: "red",
      borderColor: "blue",
      borderTopColor: "green"
    }), [{
      shorthand: {
        property: "border",
        value: "red"
      },
      longhand: {
        property: "borderTopColor",
        value: "green"
      }
    }, {
      shorthand: {
        property: "border",
        value: "red"
      },
      longhand: {
        property: "borderColor",
        value: "blue"
      }
    }, {
      shorthand: {
        property: "borderColor",
        value: "blue"
      },
      longhand: {
        property: "borderTopColor",
        value: "green"
      }
    }]);
    t.end();
  });
  test("sortMq simple", t => {
    const receivedOrder = ["screen and (max-width: 640px)", "screen and (min-width: 980px)", "screen and (max-width: 980px)", "screen and (max-width: 768px)", "screen and (min-width: 640px)", "screen and (min-width: 1280px)", "screen and (min-width: 768px)", "screen and (max-width: 1280px)"];
    const expectedOrder = ["screen and (min-width: 640px)", "screen and (min-width: 768px)", "screen and (min-width: 980px)", "screen and (min-width: 1280px)", "screen and (max-width: 1280px)", "screen and (max-width: 980px)", "screen and (max-width: 768px)", "screen and (max-width: 640px)"];
    t.deepEqual(receivedOrder.sort(sortCSSmq), expectedOrder);
    t.end();
  });
  test("sortMq simple 2", t => {
    const receivedOrder = ["screen and (max-width: 640px)", "screen and (max-width: 640px)", "screen and (min-width: 1280px)", "screen and (max-width: 640px)"];
    const expectedOrder = ["screen and (min-width: 1280px)", "screen and (max-width: 640px)", "screen and (max-width: 640px)", "screen and (max-width: 640px)"];
    t.deepEqual(receivedOrder.sort(sortCSSmq), expectedOrder);
    t.end();
  });
  test("sortMq no media type", t => {
    const receivedOrder = ["(min-width: 980px)", "(min-width: 640px)", "(min-width: 768px)"];
    const expectedOrder = ["(min-width: 640px)", "(min-width: 768px)", "(min-width: 980px)"];
    t.deepEqual(receivedOrder.sort(sortCSSmq), expectedOrder);
    t.end();
  });
  test("sortMq without dimension", t => {
    const receivedOrder = ["tv", "print and (orientation: landscape)", "print and (orientation: portrait)", "print and (orientation: portrait)", "screen and (orientation: landscape)", "print", "screen and (orientation: portrait)", "print and (orientation: landscape)", "print and (orientation: portrait)"];
    const expectedOrder = ["screen and (orientation: landscape)", "screen and (orientation: portrait)", "tv", "print", "print and (orientation: landscape)", "print and (orientation: landscape)", "print and (orientation: portrait)", "print and (orientation: portrait)", "print and (orientation: portrait)"];
    t.deepEqual(receivedOrder.sort(sortCSSmq), expectedOrder);
    t.end();
  });
  test("mixed", t => {
    const receivedOrder = ["tv", "print and (orientation: landscape)", "screen and (min-width: 1280px)", "screen and (max-width: 640px)", "screen and (orientation: landscape)", "print", "screen and (orientation: portrait)", "screen and (min-width: 768px)", "screen and (max-width: 1280px)", "print and (orientation: portrait)"];
    const expectedOrder = ["screen and (min-width: 768px)", "screen and (min-width: 1280px)", "screen and (max-width: 1280px)", "screen and (max-width: 640px)", "screen and (orientation: landscape)", "screen and (orientation: portrait)", "tv", "print", "print and (orientation: landscape)", "print and (orientation: portrait)"];
    t.deepEqual(receivedOrder.sort(sortCSSmq), expectedOrder);
    t.end();
  });
  
  var cov_2i7bz0khe7 = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/sequential-id-generator.js",
        hash = "ffdfee37c667ef8f86e0b0198ed7c23616738fa0",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/sequential-id-generator.js",
      statementMap: {
        "0": {
          start: {
            line: 12,
            column: 4
          },
          end: {
            line: 12,
            column: 25
          }
        },
        "1": {
          start: {
            line: 13,
            column: 4
          },
          end: {
            line: 13,
            column: 19
          }
        },
        "2": {
          start: {
            line: 14,
            column: 4
          },
          end: {
            line: 14,
            column: 22
          }
        },
        "3": {
          start: {
            line: 15,
            column: 4
          },
          end: {
            line: 15,
            column: 20
          }
        },
        "4": {
          start: {
            line: 16,
            column: 4
          },
          end: {
            line: 16,
            column: 19
          }
        },
        "5": {
          start: {
            line: 20,
            column: 15
          },
          end: {
            line: 20,
            column: 44
          }
        },
        "6": {
          start: {
            line: 21,
            column: 4
          },
          end: {
            line: 21,
            column: 52
          }
        },
        "7": {
          start: {
            line: 25,
            column: 15
          },
          end: {
            line: 25,
            column: 39
          }
        },
        "8": {
          start: {
            line: 26,
            column: 4
          },
          end: {
            line: 29,
            column: 5
          }
        },
        "9": {
          start: {
            line: 27,
            column: 6
          },
          end: {
            line: 27,
            column: 40
          }
        },
        "10": {
          start: {
            line: 28,
            column: 6
          },
          end: {
            line: 28,
            column: 48
          }
        },
        "11": {
          start: {
            line: 30,
            column: 4
          },
          end: {
            line: 30,
            column: 17
          }
        },
        "12": {
          start: {
            line: 31,
            column: 4
          },
          end: {
            line: 31,
            column: 14
          }
        }
      },
      fnMap: {
        "0": {
          name: "(anonymous_0)",
          decl: {
            start: {
              line: 10,
              column: 2
            },
            end: {
              line: 10,
              column: 3
            }
          },
          loc: {
            start: {
              line: 10,
              column: 35
            },
            end: {
              line: 17,
              column: 3
            }
          },
          line: 10
        },
        "1": {
          name: "(anonymous_1)",
          decl: {
            start: {
              line: 19,
              column: 2
            },
            end: {
              line: 19,
              column: 3
            }
          },
          loc: {
            start: {
              line: 19,
              column: 9
            },
            end: {
              line: 22,
              column: 3
            }
          },
          line: 19
        },
        "2": {
          name: "(anonymous_2)",
          decl: {
            start: {
              line: 24,
              column: 2
            },
            end: {
              line: 24,
              column: 3
            }
          },
          loc: {
            start: {
              line: 24,
              column: 14
            },
            end: {
              line: 32,
              column: 3
            }
          },
          line: 24
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 10,
              column: 14
            },
            end: {
              line: 10,
              column: 33
            }
          },
          type: "default-arg",
          locations: [{
            start: {
              line: 10,
              column: 31
            },
            end: {
              line: 10,
              column: 33
            }
          }],
          line: 10
        },
        "1": {
          loc: {
            start: {
              line: 21,
              column: 11
            },
            end: {
              line: 21,
              column: 51
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 21,
              column: 25
            },
            end: {
              line: 21,
              column: 46
            }
          }, {
            start: {
              line: 21,
              column: 49
            },
            end: {
              line: 21,
              column: 51
            }
          }],
          line: 21
        },
        "2": {
          loc: {
            start: {
              line: 26,
              column: 4
            },
            end: {
              line: 29,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 26,
              column: 4
            },
            end: {
              line: 29,
              column: 5
            }
          }, {
            start: {
              line: 26,
              column: 4
            },
            end: {
              line: 29,
              column: 5
            }
          }],
          line: 26
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0
      },
      b: {
        "0": [0],
        "1": [0, 0],
        "2": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  class SequentialIDGenerator {
    constructor(prefix$$1 = (cov_2i7bz0khe7.b[0][0]++, "")) {
      cov_2i7bz0khe7.f[0]++;
      cov_2i7bz0khe7.s[0]++;
      // ensure start with "ae" so "ad" is never produced
      this.prefix = prefix$$1;
      cov_2i7bz0khe7.s[1]++;
      this.count = 0;
      cov_2i7bz0khe7.s[2]++;
      this.offset = 374;
      cov_2i7bz0khe7.s[3]++;
      this.msb = 1295;
      cov_2i7bz0khe7.s[4]++;
      this.power = 2;
    }
  
    next() {
      cov_2i7bz0khe7.f[1]++;
      const id = (cov_2i7bz0khe7.s[5]++, this.increment().toString(36));
      cov_2i7bz0khe7.s[6]++;
      return this.prefix ? (cov_2i7bz0khe7.b[1][0]++, `${this.prefix}${id}`) : (cov_2i7bz0khe7.b[1][1]++, id);
    }
  
    increment() {
      cov_2i7bz0khe7.f[2]++;
      const id = (cov_2i7bz0khe7.s[7]++, this.count + this.offset);
      cov_2i7bz0khe7.s[8]++;
  
      if (id === this.msb) {
        cov_2i7bz0khe7.b[2][0]++;
        cov_2i7bz0khe7.s[9]++;
        this.offset += (this.msb + 1) * 9;
        cov_2i7bz0khe7.s[10]++;
        this.msb = Math.pow(36, ++this.power) - 1;
      } else {
        cov_2i7bz0khe7.b[2][1]++;
      }
  
      cov_2i7bz0khe7.s[11]++;
      this.count++;
      cov_2i7bz0khe7.s[12]++;
      return id;
    }
  
  }
  
  var cov_4xsk1sgbv = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/cache.js",
        hash = "6abfa5e2c39a98c778e7285d3f660c08320e7a13",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/cache.js",
      statementMap: {
        "0": {
          start: {
            line: 18,
            column: 4
          },
          end: {
            line: 18,
            column: 35
          }
        },
        "1": {
          start: {
            line: 19,
            column: 4
          },
          end: {
            line: 19,
            column: 33
          }
        },
        "2": {
          start: {
            line: 20,
            column: 4
          },
          end: {
            line: 20,
            column: 33
          }
        },
        "3": {
          start: {
            line: 21,
            column: 4
          },
          end: {
            line: 21,
            column: 30
          }
        },
        "4": {
          start: {
            line: 22,
            column: 4
          },
          end: {
            line: 22,
            column: 21
          }
        },
        "5": {
          start: {
            line: 26,
            column: 4
          },
          end: {
            line: 38,
            column: 5
          }
        },
        "6": {
          start: {
            line: 27,
            column: 20
          },
          end: {
            line: 27,
            column: 64
          }
        },
        "7": {
          start: {
            line: 28,
            column: 6
          },
          end: {
            line: 28,
            column: 22
          }
        },
        "8": {
          start: {
            line: 29,
            column: 6
          },
          end: {
            line: 29,
            column: 37
          }
        },
        "9": {
          start: {
            line: 30,
            column: 6
          },
          end: {
            line: 30,
            column: 40
          }
        },
        "10": {
          start: {
            line: 31,
            column: 23
          },
          end: {
            line: 31,
            column: 56
          }
        },
        "11": {
          start: {
            line: 33,
            column: 8
          },
          end: {
            line: 35,
            column: 18
          }
        },
        "12": {
          start: {
            line: 36,
            column: 6
          },
          end: {
            line: 36,
            column: 31
          }
        },
        "13": {
          start: {
            line: 37,
            column: 6
          },
          end: {
            line: 37,
            column: 53
          }
        },
        "14": {
          start: {
            line: 39,
            column: 4
          },
          end: {
            line: 39,
            column: 28
          }
        },
        "15": {
          start: {
            line: 43,
            column: 4
          },
          end: {
            line: 43,
            column: 32
          }
        },
        "16": {
          start: {
            line: 57,
            column: 4
          },
          end: {
            line: 57,
            column: 20
          }
        },
        "17": {
          start: {
            line: 58,
            column: 4
          },
          end: {
            line: 58,
            column: 35
          }
        },
        "18": {
          start: {
            line: 59,
            column: 4
          },
          end: {
            line: 59,
            column: 33
          }
        },
        "19": {
          start: {
            line: 63,
            column: 19
          },
          end: {
            line: 63,
            column: 34
          }
        },
        "20": {
          start: {
            line: 64,
            column: 4
          },
          end: {
            line: 66,
            column: 5
          }
        },
        "21": {
          start: {
            line: 65,
            column: 6
          },
          end: {
            line: 65,
            column: 20
          }
        },
        "22": {
          start: {
            line: 67,
            column: 15
          },
          end: {
            line: 67,
            column: 38
          }
        },
        "23": {
          start: {
            line: 68,
            column: 4
          },
          end: {
            line: 68,
            column: 25
          }
        },
        "24": {
          start: {
            line: 69,
            column: 4
          },
          end: {
            line: 69,
            column: 37
          }
        },
        "25": {
          start: {
            line: 70,
            column: 4
          },
          end: {
            line: 70,
            column: 14
          }
        }
      },
      fnMap: {
        "0": {
          name: "(anonymous_0)",
          decl: {
            start: {
              line: 13,
              column: 2
            },
            end: {
              line: 13,
              column: 3
            }
          },
          loc: {
            start: {
              line: 17,
              column: 4
            },
            end: {
              line: 23,
              column: 3
            }
          },
          line: 17
        },
        "1": {
          name: "(anonymous_1)",
          decl: {
            start: {
              line: 25,
              column: 2
            },
            end: {
              line: 25,
              column: 3
            }
          },
          loc: {
            start: {
              line: 25,
              column: 34
            },
            end: {
              line: 40,
              column: 3
            }
          },
          line: 25
        },
        "2": {
          name: "(anonymous_2)",
          decl: {
            start: {
              line: 42,
              column: 2
            },
            end: {
              line: 42,
              column: 3
            }
          },
          loc: {
            start: {
              line: 42,
              column: 23
            },
            end: {
              line: 44,
              column: 3
            }
          },
          line: 42
        },
        "3": {
          name: "(anonymous_3)",
          decl: {
            start: {
              line: 53,
              column: 2
            },
            end: {
              line: 53,
              column: 3
            }
          },
          loc: {
            start: {
              line: 56,
              column: 4
            },
            end: {
              line: 60,
              column: 3
            }
          },
          line: 56
        },
        "4": {
          name: "(anonymous_4)",
          decl: {
            start: {
              line: 62,
              column: 2
            },
            end: {
              line: 62,
              column: 3
            }
          },
          loc: {
            start: {
              line: 62,
              column: 34
            },
            end: {
              line: 71,
              column: 3
            }
          },
          line: 62
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 26,
              column: 4
            },
            end: {
              line: 38,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 26,
              column: 4
            },
            end: {
              line: 38,
              column: 5
            }
          }, {
            start: {
              line: 26,
              column: 4
            },
            end: {
              line: 38,
              column: 5
            }
          }],
          line: 26
        },
        "1": {
          loc: {
            start: {
              line: 33,
              column: 8
            },
            end: {
              line: 35,
              column: 18
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 34,
              column: 12
            },
            end: {
              line: 34,
              column: 46
            }
          }, {
            start: {
              line: 35,
              column: 12
            },
            end: {
              line: 35,
              column: 18
            }
          }],
          line: 33
        },
        "2": {
          loc: {
            start: {
              line: 64,
              column: 4
            },
            end: {
              line: 66,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 64,
              column: 4
            },
            end: {
              line: 66,
              column: 5
            }
          }, {
            start: {
              line: 64,
              column: 4
            },
            end: {
              line: 66,
              column: 5
            }
          }],
          line: 64
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0,
        "22": 0,
        "23": 0,
        "24": 0,
        "25": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0],
        "2": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  class MultiCache {
    constructor(idGenerator, onNewCache, onNewValue) {
      cov_4xsk1sgbv.f[0]++;
      cov_4xsk1sgbv.s[0]++;
      this.idGenerator = idGenerator;
      cov_4xsk1sgbv.s[1]++;
      this.onNewCache = onNewCache;
      cov_4xsk1sgbv.s[2]++;
      this.onNewValue = onNewValue;
      cov_4xsk1sgbv.s[3]++;
      this.sortedCacheKeys = [];
      cov_4xsk1sgbv.s[4]++;
      this.caches = {};
    }
  
    getCache(key) {
      cov_4xsk1sgbv.f[1]++;
      cov_4xsk1sgbv.s[5]++;
  
      if (!this.caches[key]) {
        cov_4xsk1sgbv.b[0][0]++;
        const cache = (cov_4xsk1sgbv.s[6]++, new Cache(this.idGenerator, this.onNewValue));
        cov_4xsk1sgbv.s[7]++;
        cache.key = key;
        cov_4xsk1sgbv.s[8]++;
        this.sortedCacheKeys.push(key);
        cov_4xsk1sgbv.s[9]++;
        this.sortedCacheKeys.sort(sortCSSmq);
        const keyIndex = (cov_4xsk1sgbv.s[10]++, this.sortedCacheKeys.indexOf(key));
        const insertBeforeMedia = (cov_4xsk1sgbv.s[11]++, keyIndex < this.sortedCacheKeys.length - 1 ? (cov_4xsk1sgbv.b[1][0]++, this.sortedCacheKeys[keyIndex + 1]) : (cov_4xsk1sgbv.b[1][1]++, void 0));
        cov_4xsk1sgbv.s[12]++;
        this.caches[key] = cache;
        cov_4xsk1sgbv.s[13]++;
        this.onNewCache(key, cache, insertBeforeMedia);
      } else {
        cov_4xsk1sgbv.b[0][1]++;
      }
  
      cov_4xsk1sgbv.s[14]++;
      return this.caches[key];
    }
  
    getSortedCacheKeys() {
      cov_4xsk1sgbv.f[2]++;
      cov_4xsk1sgbv.s[15]++;
      return this.sortedCacheKeys;
    }
  
  }
  class Cache {
    constructor(idGenerator, onNewValue) {
      cov_4xsk1sgbv.f[3]++;
      cov_4xsk1sgbv.s[16]++;
      this.cache = {};
      cov_4xsk1sgbv.s[17]++;
      this.idGenerator = idGenerator;
      cov_4xsk1sgbv.s[18]++;
      this.onNewValue = onNewValue;
    }
  
    addValue(key, value) {
      cov_4xsk1sgbv.f[4]++;
      const cached = (cov_4xsk1sgbv.s[19]++, this.cache[key]);
      cov_4xsk1sgbv.s[20]++;
  
      if (cached) {
        cov_4xsk1sgbv.b[2][0]++;
        cov_4xsk1sgbv.s[21]++;
        return cached;
      } else {
        cov_4xsk1sgbv.b[2][1]++;
      }
  
      const id = (cov_4xsk1sgbv.s[22]++, this.idGenerator.next());
      cov_4xsk1sgbv.s[23]++;
      this.cache[key] = id;
      cov_4xsk1sgbv.s[24]++;
      this.onNewValue(this, id, value);
      cov_4xsk1sgbv.s[25]++;
      return id;
    }
  
  }
  
  var cov_8f1lsnmke = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/inject-style-prefixed.js",
        hash = "f3d2eec8c6fc59ee08da49d878c6a1315f352ed9",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/inject-style-prefixed.js",
      statementMap: {
        "0": {
          start: {
            line: 19,
            column: 16
          },
          end: {
            line: 19,
            column: 42
          }
        },
        "1": {
          start: {
            line: 20,
            column: 20
          },
          end: {
            line: 20,
            column: 22
          }
        },
        "2": {
          start: {
            line: 21,
            column: 2
          },
          end: {
            line: 90,
            column: 3
          }
        },
        "3": {
          start: {
            line: 22,
            column: 24
          },
          end: {
            line: 22,
            column: 43
          }
        },
        "4": {
          start: {
            line: 24,
            column: 4
          },
          end: {
            line: 26,
            column: 5
          }
        },
        "5": {
          start: {
            line: 25,
            column: 6
          },
          end: {
            line: 25,
            column: 15
          }
        },
        "6": {
          start: {
            line: 27,
            column: 4
          },
          end: {
            line: 89,
            column: 5
          }
        },
        "7": {
          start: {
            line: 29,
            column: 6
          },
          end: {
            line: 31,
            column: 7
          }
        },
        "8": {
          start: {
            line: 30,
            column: 8
          },
          end: {
            line: 30,
            column: 52
          }
        },
        "9": {
          start: {
            line: 33,
            column: 26
          },
          end: {
            line: 35,
            column: 41
          }
        },
        "10": {
          start: {
            line: 36,
            column: 18
          },
          end: {
            line: 36,
            column: 43
          }
        },
        "11": {
          start: {
            line: 37,
            column: 23
          },
          end: {
            line: 37,
            column: 39
          }
        },
        "12": {
          start: {
            line: 38,
            column: 6
          },
          end: {
            line: 67,
            column: 7
          }
        },
        "13": {
          start: {
            line: 40,
            column: 8
          },
          end: {
            line: 40,
            column: 38
          }
        },
        "14": {
          start: {
            line: 41,
            column: 8
          },
          end: {
            line: 41,
            column: 17
          }
        },
        "15": {
          start: {
            line: 44,
            column: 20
          },
          end: {
            line: 44,
            column: 22
          }
        },
        "16": {
          start: {
            line: 45,
            column: 25
          },
          end: {
            line: 45,
            column: 61
          }
        },
        "17": {
          start: {
            line: 46,
            column: 8
          },
          end: {
            line: 63,
            column: 9
          }
        },
        "18": {
          start: {
            line: 47,
            column: 30
          },
          end: {
            line: 47,
            column: 51
          }
        },
        "19": {
          start: {
            line: 48,
            column: 34
          },
          end: {
            line: 48,
            column: 52
          }
        },
        "20": {
          start: {
            line: 49,
            column: 10
          },
          end: {
            line: 62,
            column: 11
          }
        },
        "21": {
          start: {
            line: 50,
            column: 33
          },
          end: {
            line: 50,
            column: 75
          }
        },
        "22": {
          start: {
            line: 51,
            column: 12
          },
          end: {
            line: 53,
            column: 13
          }
        },
        "23": {
          start: {
            line: 52,
            column: 14
          },
          end: {
            line: 52,
            column: 42
          }
        },
        "24": {
          start: {
            line: 54,
            column: 17
          },
          end: {
            line: 62,
            column: 11
          }
        },
        "25": {
          start: {
            line: 55,
            column: 31
          },
          end: {
            line: 55,
            column: 53
          }
        },
        "26": {
          start: {
            line: 56,
            column: 12
          },
          end: {
            line: 61,
            column: 13
          }
        },
        "27": {
          start: {
            line: 57,
            column: 35
          },
          end: {
            line: 57,
            column: 68
          }
        },
        "28": {
          start: {
            line: 58,
            column: 14
          },
          end: {
            line: 60,
            column: 15
          }
        },
        "29": {
          start: {
            line: 59,
            column: 16
          },
          end: {
            line: 59,
            column: 44
          }
        },
        "30": {
          start: {
            line: 64,
            column: 8
          },
          end: {
            line: 64,
            column: 29
          }
        },
        "31": {
          start: {
            line: 65,
            column: 19
          },
          end: {
            line: 65,
            column: 55
          }
        },
        "32": {
          start: {
            line: 66,
            column: 8
          },
          end: {
            line: 66,
            column: 32
          }
        },
        "33": {
          start: {
            line: 70,
            column: 6
          },
          end: {
            line: 88,
            column: 7
          }
        },
        "34": {
          start: {
            line: 71,
            column: 8
          },
          end: {
            line: 78,
            column: 12
          }
        },
        "35": {
          start: {
            line: 79,
            column: 13
          },
          end: {
            line: 88,
            column: 7
          }
        },
        "36": {
          start: {
            line: 80,
            column: 8
          },
          end: {
            line: 87,
            column: 12
          }
        },
        "37": {
          start: {
            line: 92,
            column: 2
          },
          end: {
            line: 106,
            column: 3
          }
        },
        "38": {
          start: {
            line: 93,
            column: 22
          },
          end: {
            line: 93,
            column: 49
          }
        },
        "39": {
          start: {
            line: 94,
            column: 4
          },
          end: {
            line: 105,
            column: 5
          }
        },
        "40": {
          start: {
            line: 95,
            column: 6
          },
          end: {
            line: 104,
            column: 9
          }
        },
        "41": {
          start: {
            line: 96,
            column: 22
          },
          end: {
            line: 96,
            column: 77
          }
        },
        "42": {
          start: {
            line: 97,
            column: 21
          },
          end: {
            line: 97,
            column: 74
          }
        },
        "43": {
          start: {
            line: 99,
            column: 8
          },
          end: {
            line: 103,
            column: 10
          }
        },
        "44": {
          start: {
            line: 109,
            column: 2
          },
          end: {
            line: 109,
            column: 30
          }
        },
        "45": {
          start: {
            line: 113,
            column: 2
          },
          end: {
            line: 123,
            column: 3
          }
        },
        "46": {
          start: {
            line: 118,
            column: 4
          },
          end: {
            line: 122,
            column: 6
          }
        }
      },
      fnMap: {
        "0": {
          name: "injectStylePrefixed",
          decl: {
            start: {
              line: 13,
              column: 24
            },
            end: {
              line: 13,
              column: 43
            }
          },
          loc: {
            start: {
              line: 18,
              column: 2
            },
            end: {
              line: 110,
              column: 1
            }
          },
          line: 18
        },
        "1": {
          name: "(anonymous_1)",
          decl: {
            start: {
              line: 95,
              column: 24
            },
            end: {
              line: 95,
              column: 25
            }
          },
          loc: {
            start: {
              line: 95,
              column: 51
            },
            end: {
              line: 104,
              column: 7
            }
          },
          line: 95
        },
        "2": {
          name: "validateValueType",
          decl: {
            start: {
              line: 112,
              column: 9
            },
            end: {
              line: 112,
              column: 26
            }
          },
          loc: {
            start: {
              line: 112,
              column: 39
            },
            end: {
              line: 124,
              column: 1
            }
          },
          line: 112
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 24,
              column: 4
            },
            end: {
              line: 26,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 24,
              column: 4
            },
            end: {
              line: 26,
              column: 5
            }
          }, {
            start: {
              line: 24,
              column: 4
            },
            end: {
              line: 26,
              column: 5
            }
          }],
          line: 24
        },
        "1": {
          loc: {
            start: {
              line: 24,
              column: 8
            },
            end: {
              line: 24,
              column: 54
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 24,
              column: 8
            },
            end: {
              line: 24,
              column: 30
            }
          }, {
            start: {
              line: 24,
              column: 34
            },
            end: {
              line: 24,
              column: 54
            }
          }],
          line: 24
        },
        "2": {
          loc: {
            start: {
              line: 27,
              column: 4
            },
            end: {
              line: 89,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 27,
              column: 4
            },
            end: {
              line: 89,
              column: 5
            }
          }, {
            start: {
              line: 27,
              column: 4
            },
            end: {
              line: 89,
              column: 5
            }
          }],
          line: 27
        },
        "3": {
          loc: {
            start: {
              line: 29,
              column: 6
            },
            end: {
              line: 31,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 29,
              column: 6
            },
            end: {
              line: 31,
              column: 7
            }
          }, {
            start: {
              line: 29,
              column: 6
            },
            end: {
              line: 31,
              column: 7
            }
          }],
          line: 29
        },
        "4": {
          loc: {
            start: {
              line: 38,
              column: 6
            },
            end: {
              line: 67,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 38,
              column: 6
            },
            end: {
              line: 67,
              column: 7
            }
          }, {
            start: {
              line: 38,
              column: 6
            },
            end: {
              line: 67,
              column: 7
            }
          }],
          line: 38
        },
        "5": {
          loc: {
            start: {
              line: 49,
              column: 10
            },
            end: {
              line: 62,
              column: 11
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 49,
              column: 10
            },
            end: {
              line: 62,
              column: 11
            }
          }, {
            start: {
              line: 49,
              column: 10
            },
            end: {
              line: 62,
              column: 11
            }
          }],
          line: 49
        },
        "6": {
          loc: {
            start: {
              line: 49,
              column: 14
            },
            end: {
              line: 49,
              column: 74
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 49,
              column: 14
            },
            end: {
              line: 49,
              column: 42
            }
          }, {
            start: {
              line: 49,
              column: 46
            },
            end: {
              line: 49,
              column: 74
            }
          }],
          line: 49
        },
        "7": {
          loc: {
            start: {
              line: 51,
              column: 12
            },
            end: {
              line: 53,
              column: 13
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 51,
              column: 12
            },
            end: {
              line: 53,
              column: 13
            }
          }, {
            start: {
              line: 51,
              column: 12
            },
            end: {
              line: 53,
              column: 13
            }
          }],
          line: 51
        },
        "8": {
          loc: {
            start: {
              line: 54,
              column: 17
            },
            end: {
              line: 62,
              column: 11
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 54,
              column: 17
            },
            end: {
              line: 62,
              column: 11
            }
          }, {
            start: {
              line: 54,
              column: 17
            },
            end: {
              line: 62,
              column: 11
            }
          }],
          line: 54
        },
        "9": {
          loc: {
            start: {
              line: 58,
              column: 14
            },
            end: {
              line: 60,
              column: 15
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 58,
              column: 14
            },
            end: {
              line: 60,
              column: 15
            }
          }, {
            start: {
              line: 58,
              column: 14
            },
            end: {
              line: 60,
              column: 15
            }
          }],
          line: 58
        },
        "10": {
          loc: {
            start: {
              line: 70,
              column: 6
            },
            end: {
              line: 88,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 70,
              column: 6
            },
            end: {
              line: 88,
              column: 7
            }
          }, {
            start: {
              line: 70,
              column: 6
            },
            end: {
              line: 88,
              column: 7
            }
          }],
          line: 70
        },
        "11": {
          loc: {
            start: {
              line: 79,
              column: 13
            },
            end: {
              line: 88,
              column: 7
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 79,
              column: 13
            },
            end: {
              line: 88,
              column: 7
            }
          }, {
            start: {
              line: 79,
              column: 13
            },
            end: {
              line: 88,
              column: 7
            }
          }],
          line: 79
        },
        "12": {
          loc: {
            start: {
              line: 92,
              column: 2
            },
            end: {
              line: 106,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 92,
              column: 2
            },
            end: {
              line: 106,
              column: 3
            }
          }, {
            start: {
              line: 92,
              column: 2
            },
            end: {
              line: 106,
              column: 3
            }
          }],
          line: 92
        },
        "13": {
          loc: {
            start: {
              line: 94,
              column: 4
            },
            end: {
              line: 105,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 94,
              column: 4
            },
            end: {
              line: 105,
              column: 5
            }
          }, {
            start: {
              line: 94,
              column: 4
            },
            end: {
              line: 105,
              column: 5
            }
          }],
          line: 94
        },
        "14": {
          loc: {
            start: {
              line: 113,
              column: 2
            },
            end: {
              line: 123,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 113,
              column: 2
            },
            end: {
              line: 123,
              column: 3
            }
          }, {
            start: {
              line: 113,
              column: 2
            },
            end: {
              line: 123,
              column: 3
            }
          }],
          line: 113
        },
        "15": {
          loc: {
            start: {
              line: 114,
              column: 4
            },
            end: {
              line: 116,
              column: 60
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 114,
              column: 4
            },
            end: {
              line: 114,
              column: 18
            }
          }, {
            start: {
              line: 115,
              column: 4
            },
            end: {
              line: 115,
              column: 24
            }
          }, {
            start: {
              line: 116,
              column: 5
            },
            end: {
              line: 116,
              column: 30
            }
          }, {
            start: {
              line: 116,
              column: 34
            },
            end: {
              line: 116,
              column: 59
            }
          }],
          line: 114
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0,
        "22": 0,
        "23": 0,
        "24": 0,
        "25": 0,
        "26": 0,
        "27": 0,
        "28": 0,
        "29": 0,
        "30": 0,
        "31": 0,
        "32": 0,
        "33": 0,
        "34": 0,
        "35": 0,
        "36": 0,
        "37": 0,
        "38": 0,
        "39": 0,
        "40": 0,
        "41": 0,
        "42": 0,
        "43": 0,
        "44": 0,
        "45": 0,
        "46": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0],
        "2": [0, 0],
        "3": [0, 0],
        "4": [0, 0],
        "5": [0, 0],
        "6": [0, 0],
        "7": [0, 0],
        "8": [0, 0],
        "9": [0, 0],
        "10": [0, 0],
        "11": [0, 0],
        "12": [0, 0],
        "13": [0, 0],
        "14": [0, 0],
        "15": [0, 0, 0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  function injectStylePrefixed(styleCache, styles, media, pseudo) {
    cov_8f1lsnmke.f[0]++;
    const cache = (cov_8f1lsnmke.s[0]++, styleCache.getCache(media));
    let classString = (cov_8f1lsnmke.s[1]++, "");
    cov_8f1lsnmke.s[2]++;
  
    for (const originalKey in styles) {
      const originalVal = (cov_8f1lsnmke.s[3]++, styles[originalKey]);
      cov_8f1lsnmke.s[4]++;
  
      if ((cov_8f1lsnmke.b[1][0]++, originalVal === void 0) || (cov_8f1lsnmke.b[1][1]++, originalVal === null)) {
        cov_8f1lsnmke.b[0][0]++;
        cov_8f1lsnmke.s[5]++;
        continue;
      } else {
        cov_8f1lsnmke.b[0][1]++;
      }
  
      cov_8f1lsnmke.s[6]++;
  
      if (typeof originalVal !== "object") {
        cov_8f1lsnmke.b[2][0]++;
        cov_8f1lsnmke.s[7]++;
  
        // Non-null and non-undefined primitive value
        if (process.env.NODE_ENV !== "production") {
          cov_8f1lsnmke.b[3][0]++;
          cov_8f1lsnmke.s[8]++;
          validateValueType(originalVal, originalKey);
        } else {
          cov_8f1lsnmke.b[3][1]++;
        }
  
        const propValPair = (cov_8f1lsnmke.s[9]++, `${hyphenateStyleName(originalKey)}:${originalVal}`);
        const key = (cov_8f1lsnmke.s[10]++, `${pseudo}${propValPair}`);
        const cachedId = (cov_8f1lsnmke.s[11]++, cache.cache[key]);
        cov_8f1lsnmke.s[12]++;
  
        if (cachedId !== void 0) {
          cov_8f1lsnmke.b[4][0]++;
          cov_8f1lsnmke.s[13]++;
          // cache hit
          classString += " " + cachedId;
          cov_8f1lsnmke.s[14]++;
          continue;
        } else {
          cov_8f1lsnmke.b[4][1]++;
          // cache miss
          let block = (cov_8f1lsnmke.s[15]++, "");
          const prefixed = (cov_8f1lsnmke.s[16]++, inlineStylePrefixer.prefix({
            [originalKey]: originalVal
          }));
          cov_8f1lsnmke.s[17]++;
  
          for (const prefixedKey in prefixed) {
            const prefixedVal = (cov_8f1lsnmke.s[18]++, prefixed[prefixedKey]);
            const prefixedValType = (cov_8f1lsnmke.s[19]++, typeof prefixedVal);
            cov_8f1lsnmke.s[20]++;
  
            if ((cov_8f1lsnmke.b[6][0]++, prefixedValType === "string") || (cov_8f1lsnmke.b[6][1]++, prefixedValType === "number")) {
              cov_8f1lsnmke.b[5][0]++;
              const prefixedPair = (cov_8f1lsnmke.s[21]++, `${hyphenateStyleName(prefixedKey)}:${prefixedVal}`);
              cov_8f1lsnmke.s[22]++;
  
              if (prefixedPair !== propValPair) {
                cov_8f1lsnmke.b[7][0]++;
                cov_8f1lsnmke.s[23]++;
                block += `${prefixedPair};`;
              } else {
                cov_8f1lsnmke.b[7][1]++;
              }
            } else {
              cov_8f1lsnmke.b[5][1]++;
              cov_8f1lsnmke.s[24]++;
  
              if (Array.isArray(prefixedVal)) {
                cov_8f1lsnmke.b[8][0]++;
                const hyphenated = (cov_8f1lsnmke.s[25]++, hyphenateStyleName(prefixedKey));
                cov_8f1lsnmke.s[26]++;
  
                for (let i = 0; i < prefixedVal.length; i++) {
                  const prefixedPair = (cov_8f1lsnmke.s[27]++, `${hyphenated}:${prefixedVal[i]}`);
                  cov_8f1lsnmke.s[28]++;
  
                  if (prefixedPair !== propValPair) {
                    cov_8f1lsnmke.b[9][0]++;
                    cov_8f1lsnmke.s[29]++;
                    block += `${prefixedPair};`;
                  } else {
                    cov_8f1lsnmke.b[9][1]++;
                  }
                }
              } else {
                cov_8f1lsnmke.b[8][1]++;
              }
            }
          }
  
          cov_8f1lsnmke.s[30]++;
          block += propValPair; // ensure original prop/val is last (for hydration)
  
          const id = (cov_8f1lsnmke.s[31]++, cache.addValue(key, {
            pseudo,
            block
          }));
          cov_8f1lsnmke.s[32]++;
          classString += " " + id;
        }
      } else {
        cov_8f1lsnmke.b[2][1]++;
        cov_8f1lsnmke.s[33]++;
  
        // Non-null object value
        if (originalKey[0] === ":") {
          cov_8f1lsnmke.b[10][0]++;
          cov_8f1lsnmke.s[34]++;
          classString += " " + injectStylePrefixed(styleCache, originalVal, media, pseudo + originalKey);
        } else {
          cov_8f1lsnmke.b[10][1]++;
          cov_8f1lsnmke.s[35]++;
  
          if (originalKey.substring(0, 6) === "@media") {
            cov_8f1lsnmke.b[11][0]++;
            cov_8f1lsnmke.s[36]++;
            classString += " " + injectStylePrefixed(styleCache, originalVal, originalKey.substr(7), pseudo);
          } else {
            cov_8f1lsnmke.b[11][1]++;
          }
        }
      }
    }
  
    cov_8f1lsnmke.s[37]++;
  
    if (process.env.NODE_ENV !== "production") {
      cov_8f1lsnmke.b[12][0]++;
      const conflicts = (cov_8f1lsnmke.s[38]++, validateNoMixedHand(styles));
      cov_8f1lsnmke.s[39]++;
  
      if (conflicts.length) {
        cov_8f1lsnmke.b[13][0]++;
        cov_8f1lsnmke.s[40]++;
        conflicts.forEach(({
          shorthand,
          longhand
        }) => {
          cov_8f1lsnmke.f[1]++;
          const short = (cov_8f1lsnmke.s[41]++, JSON.stringify({
            [shorthand.property]: shorthand.value
          }));
          const long = (cov_8f1lsnmke.s[42]++, JSON.stringify({
            [longhand.property]: longhand.value
          })); // eslint-disable-next-line no-console
  
          cov_8f1lsnmke.s[43]++;
          console.warn(`Styles \`${short}\` and \`${long}\` in object yielding class "${classString.slice(1)}" may result in unexpected behavior. Mixing shorthand and longhand properties within the same style object is unsupported with atomic rendering.`);
        });
      } else {
        cov_8f1lsnmke.b[13][1]++;
      }
    } else {
      cov_8f1lsnmke.b[12][1]++;
    } // remove leading space
  
  
    cov_8f1lsnmke.s[44]++;
    return classString.slice(1);
  }
  
  function validateValueType(value, key) {
    cov_8f1lsnmke.f[2]++;
    cov_8f1lsnmke.s[45]++;
  
    if ((cov_8f1lsnmke.b[15][0]++, value === null) || (cov_8f1lsnmke.b[15][1]++, Array.isArray(value)) || (cov_8f1lsnmke.b[15][2]++, typeof value !== "number") && (cov_8f1lsnmke.b[15][3]++, typeof value !== "string")) {
      cov_8f1lsnmke.b[14][0]++;
      cov_8f1lsnmke.s[46]++;
      throw new Error(`Unsupported style value: ${JSON.stringify(value)} used in property ${JSON.stringify(key)}`);
    } else {
      cov_8f1lsnmke.b[14][1]++;
    }
  }
  
  var cov_eh3ecwe6v = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/validate-keyframes-object.js",
        hash = "8ead1c3e6f27775f96e8caa1571322f6d1ca6f96",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/validate-keyframes-object.js",
      statementMap: {
        "0": {
          start: {
            line: 5,
            column: 28
          },
          end: {
            line: 5,
            column: 92
          }
        },
        "1": {
          start: {
            line: 8,
            column: 14
          },
          end: {
            line: 8,
            column: 18
          }
        },
        "2": {
          start: {
            line: 9,
            column: 2
          },
          end: {
            line: 33,
            column: 3
          }
        },
        "3": {
          start: {
            line: 10,
            column: 18
          },
          end: {
            line: 10,
            column: 43
          }
        },
        "4": {
          start: {
            line: 11,
            column: 4
          },
          end: {
            line: 18,
            column: 5
          }
        },
        "5": {
          start: {
            line: 12,
            column: 6
          },
          end: {
            line: 12,
            column: 20
          }
        },
        "6": {
          start: {
            line: 13,
            column: 6
          },
          end: {
            line: 17,
            column: 8
          }
        },
        "7": {
          start: {
            line: 19,
            column: 4
          },
          end: {
            line: 26,
            column: 5
          }
        },
        "8": {
          start: {
            line: 20,
            column: 6
          },
          end: {
            line: 20,
            column: 20
          }
        },
        "9": {
          start: {
            line: 21,
            column: 6
          },
          end: {
            line: 25,
            column: 8
          }
        },
        "10": {
          start: {
            line: 27,
            column: 4
          },
          end: {
            line: 32,
            column: 5
          }
        },
        "11": {
          start: {
            line: 28,
            column: 6
          },
          end: {
            line: 31,
            column: 8
          }
        }
      },
      fnMap: {
        "0": {
          name: "validateKeyframesObject",
          decl: {
            start: {
              line: 7,
              column: 24
            },
            end: {
              line: 7,
              column: 47
            }
          },
          loc: {
            start: {
              line: 7,
              column: 67
            },
            end: {
              line: 34,
              column: 1
            }
          },
          line: 7
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 11,
              column: 4
            },
            end: {
              line: 18,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 11,
              column: 4
            },
            end: {
              line: 18,
              column: 5
            }
          }, {
            start: {
              line: 11,
              column: 4
            },
            end: {
              line: 18,
              column: 5
            }
          }],
          line: 11
        },
        "1": {
          loc: {
            start: {
              line: 19,
              column: 4
            },
            end: {
              line: 26,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 19,
              column: 4
            },
            end: {
              line: 26,
              column: 5
            }
          }, {
            start: {
              line: 19,
              column: 4
            },
            end: {
              line: 26,
              column: 5
            }
          }],
          line: 19
        },
        "2": {
          loc: {
            start: {
              line: 27,
              column: 4
            },
            end: {
              line: 32,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 27,
              column: 4
            },
            end: {
              line: 32,
              column: 5
            }
          }, {
            start: {
              line: 27,
              column: 4
            },
            end: {
              line: 32,
              column: 5
            }
          }],
          line: 27
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0
      },
      f: {
        "0": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0],
        "2": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  /* eslint-disable no-console */
  const validAnimationState = (cov_eh3ecwe6v.s[0]++, /^(from|to|\+?(\d*\.)?\d+%)(\s*,\s*(from|to|\+?(\d*\.)?\d+%))*$/);
  function validateKeyframesObject(keyframes) {
    cov_eh3ecwe6v.f[0]++;
    let valid = (cov_eh3ecwe6v.s[1]++, true);
    cov_eh3ecwe6v.s[2]++;
  
    for (const animationState in keyframes) {
      const value = (cov_eh3ecwe6v.s[3]++, keyframes[animationState]);
      cov_eh3ecwe6v.s[4]++;
  
      if (!validAnimationState.test(animationState)) {
        cov_eh3ecwe6v.b[0][0]++;
        cov_eh3ecwe6v.s[5]++;
        valid = false;
        cov_eh3ecwe6v.s[6]++;
        console.warn(`Warning: property "${animationState}" in keyframes object ${JSON.stringify(keyframes)} is not a valid. Must be "from", "to", or a percentage.`);
      } else {
        cov_eh3ecwe6v.b[0][1]++;
      }
  
      cov_eh3ecwe6v.s[7]++;
  
      if (typeof value !== "object") {
        cov_eh3ecwe6v.b[1][0]++;
        cov_eh3ecwe6v.s[8]++;
        valid = false;
        cov_eh3ecwe6v.s[9]++;
        console.warn(`Warning: value for "${animationState}" property in keyframes object ${JSON.stringify(keyframes)} must be an object. Instead it was a ${typeof value}.`);
      } else {
        cov_eh3ecwe6v.b[1][1]++;
      }
  
      cov_eh3ecwe6v.s[10]++;
  
      if (!valid) {
        cov_eh3ecwe6v.b[2][0]++;
        cov_eh3ecwe6v.s[11]++;
        console.warn(`Warning: object used as value for "animationName" style is invalid:`, keyframes);
      } else {
        cov_eh3ecwe6v.b[2][1]++;
      }
    }
  }
  
  var cov_bwo8fhi7z = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/css.js",
        hash = "6fb4ee7ecdee9d943d07ab52a01f07239b0135cd",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/css.js",
      statementMap: {
        "0": {
          start: {
            line: 9,
            column: 17
          },
          end: {
            line: 9,
            column: 25
          }
        },
        "1": {
          start: {
            line: 10,
            column: 2
          },
          end: {
            line: 12,
            column: 3
          }
        },
        "2": {
          start: {
            line: 11,
            column: 4
          },
          end: {
            line: 11,
            column: 23
          }
        },
        "3": {
          start: {
            line: 13,
            column: 2
          },
          end: {
            line: 13,
            column: 18
          }
        },
        "4": {
          start: {
            line: 17,
            column: 2
          },
          end: {
            line: 19,
            column: 3
          }
        },
        "5": {
          start: {
            line: 18,
            column: 4
          },
          end: {
            line: 18,
            column: 39
          }
        },
        "6": {
          start: {
            line: 20,
            column: 2
          },
          end: {
            line: 28,
            column: 3
          }
        },
        "7": {
          start: {
            line: 21,
            column: 4
          },
          end: {
            line: 27,
            column: 5
          }
        },
        "8": {
          start: {
            line: 23,
            column: 6
          },
          end: {
            line: 26,
            column: 8
          }
        },
        "9": {
          start: {
            line: 29,
            column: 15
          },
          end: {
            line: 29,
            column: 17
          }
        },
        "10": {
          start: {
            line: 30,
            column: 2
          },
          end: {
            line: 34,
            column: 3
          }
        },
        "11": {
          start: {
            line: 31,
            column: 4
          },
          end: {
            line: 33,
            column: 9
          }
        },
        "12": {
          start: {
            line: 35,
            column: 2
          },
          end: {
            line: 35,
            column: 16
          }
        },
        "13": {
          start: {
            line: 39,
            column: 12
          },
          end: {
            line: 39,
            column: 14
          }
        },
        "14": {
          start: {
            line: 40,
            column: 2
          },
          end: {
            line: 45,
            column: 3
          }
        },
        "15": {
          start: {
            line: 41,
            column: 16
          },
          end: {
            line: 41,
            column: 27
          }
        },
        "16": {
          start: {
            line: 42,
            column: 4
          },
          end: {
            line: 44,
            column: 5
          }
        },
        "17": {
          start: {
            line: 43,
            column: 6
          },
          end: {
            line: 43,
            column: 42
          }
        },
        "18": {
          start: {
            line: 47,
            column: 2
          },
          end: {
            line: 47,
            column: 26
          }
        },
        "19": {
          start: {
            line: 51,
            column: 2
          },
          end: {
            line: 51,
            column: 38
          }
        },
        "20": {
          start: {
            line: 55,
            column: 2
          },
          end: {
            line: 55,
            column: 50
          }
        },
        "21": {
          start: {
            line: 59,
            column: 2
          },
          end: {
            line: 59,
            column: 33
          }
        }
      },
      fnMap: {
        "0": {
          name: "atomicSelector",
          decl: {
            start: {
              line: 8,
              column: 16
            },
            end: {
              line: 8,
              column: 30
            }
          },
          loc: {
            start: {
              line: 8,
              column: 67
            },
            end: {
              line: 14,
              column: 1
            }
          },
          line: 8
        },
        "1": {
          name: "keyframesToBlock",
          decl: {
            start: {
              line: 16,
              column: 16
            },
            end: {
              line: 16,
              column: 32
            }
          },
          loc: {
            start: {
              line: 16,
              column: 72
            },
            end: {
              line: 36,
              column: 1
            }
          },
          line: 16
        },
        "2": {
          name: "declarationsToBlock",
          decl: {
            start: {
              line: 38,
              column: 16
            },
            end: {
              line: 38,
              column: 35
            }
          },
          loc: {
            start: {
              line: 38,
              column: 59
            },
            end: {
              line: 48,
              column: 1
            }
          },
          line: 38
        },
        "3": {
          name: "keyframesBlockToRule",
          decl: {
            start: {
              line: 50,
              column: 16
            },
            end: {
              line: 50,
              column: 36
            }
          },
          loc: {
            start: {
              line: 50,
              column: 72
            },
            end: {
              line: 52,
              column: 1
            }
          },
          line: 50
        },
        "4": {
          name: "fontFaceBlockToRule",
          decl: {
            start: {
              line: 54,
              column: 16
            },
            end: {
              line: 54,
              column: 35
            }
          },
          loc: {
            start: {
              line: 54,
              column: 71
            },
            end: {
              line: 56,
              column: 1
            }
          },
          line: 54
        },
        "5": {
          name: "styleBlockToRule",
          decl: {
            start: {
              line: 58,
              column: 16
            },
            end: {
              line: 58,
              column: 32
            }
          },
          loc: {
            start: {
              line: 58,
              column: 74
            },
            end: {
              line: 60,
              column: 1
            }
          },
          line: 58
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 10,
              column: 2
            },
            end: {
              line: 12,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 10,
              column: 2
            },
            end: {
              line: 12,
              column: 3
            }
          }, {
            start: {
              line: 10,
              column: 2
            },
            end: {
              line: 12,
              column: 3
            }
          }],
          line: 10
        },
        "1": {
          loc: {
            start: {
              line: 17,
              column: 2
            },
            end: {
              line: 19,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 17,
              column: 2
            },
            end: {
              line: 19,
              column: 3
            }
          }, {
            start: {
              line: 17,
              column: 2
            },
            end: {
              line: 19,
              column: 3
            }
          }],
          line: 17
        },
        "2": {
          loc: {
            start: {
              line: 20,
              column: 2
            },
            end: {
              line: 28,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 20,
              column: 2
            },
            end: {
              line: 28,
              column: 3
            }
          }, {
            start: {
              line: 20,
              column: 2
            },
            end: {
              line: 28,
              column: 3
            }
          }],
          line: 20
        },
        "3": {
          loc: {
            start: {
              line: 20,
              column: 6
            },
            end: {
              line: 20,
              column: 72
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 20,
              column: 6
            },
            end: {
              line: 20,
              column: 13
            }
          }, {
            start: {
              line: 20,
              column: 17
            },
            end: {
              line: 20,
              column: 72
            }
          }],
          line: 20
        },
        "4": {
          loc: {
            start: {
              line: 21,
              column: 4
            },
            end: {
              line: 27,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 21,
              column: 4
            },
            end: {
              line: 27,
              column: 5
            }
          }, {
            start: {
              line: 21,
              column: 4
            },
            end: {
              line: 27,
              column: 5
            }
          }],
          line: 21
        },
        "5": {
          loc: {
            start: {
              line: 42,
              column: 4
            },
            end: {
              line: 44,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 42,
              column: 4
            },
            end: {
              line: 44,
              column: 5
            }
          }, {
            start: {
              line: 42,
              column: 4
            },
            end: {
              line: 44,
              column: 5
            }
          }],
          line: 42
        },
        "6": {
          loc: {
            start: {
              line: 42,
              column: 8
            },
            end: {
              line: 42,
              column: 58
            }
          },
          type: "binary-expr",
          locations: [{
            start: {
              line: 42,
              column: 8
            },
            end: {
              line: 42,
              column: 31
            }
          }, {
            start: {
              line: 42,
              column: 35
            },
            end: {
              line: 42,
              column: 58
            }
          }],
          line: 42
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0
      },
      b: {
        "0": [0, 0],
        "1": [0, 0],
        "2": [0, 0],
        "3": [0, 0],
        "4": [0, 0],
        "5": [0, 0],
        "6": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  function atomicSelector(id, pseudo) {
    cov_bwo8fhi7z.f[0]++;
    let selector = (cov_bwo8fhi7z.s[0]++, `.${id}`);
    cov_bwo8fhi7z.s[1]++;
  
    if (pseudo) {
      cov_bwo8fhi7z.b[0][0]++;
      cov_bwo8fhi7z.s[2]++;
      selector += pseudo;
    } else {
      cov_bwo8fhi7z.b[0][1]++;
    }
  
    cov_bwo8fhi7z.s[3]++;
    return selector;
  }
  function keyframesToBlock(keyframes) {
    cov_bwo8fhi7z.f[1]++;
    cov_bwo8fhi7z.s[4]++;
  
    if (process.env.NODE_ENV !== "production") {
      cov_bwo8fhi7z.b[1][0]++;
      cov_bwo8fhi7z.s[5]++;
      validateKeyframesObject(keyframes);
    } else {
      cov_bwo8fhi7z.b[1][1]++;
    }
  
    cov_bwo8fhi7z.s[6]++;
  
    if ((cov_bwo8fhi7z.b[3][0]++, process.env.NODE_ENV !== "production") && (cov_bwo8fhi7z.b[3][1]++, typeof Object.getPrototypeOf(keyframes) !== "undefined")) {
      cov_bwo8fhi7z.b[2][0]++;
      cov_bwo8fhi7z.s[7]++;
  
      if (Object.getPrototypeOf(keyframes) !== Object.getPrototypeOf({})) {
        cov_bwo8fhi7z.b[4][0]++;
        cov_bwo8fhi7z.s[8]++;
        // eslint-disable-next-line no-console
        console.warn("Only plain objects should be used as animation values. Unexpectedly recieved:", keyframes);
      } else {
        cov_bwo8fhi7z.b[4][1]++;
      }
    } else {
      cov_bwo8fhi7z.b[2][1]++;
    }
  
    let result = (cov_bwo8fhi7z.s[9]++, "");
    cov_bwo8fhi7z.s[10]++;
  
    for (const animationState in keyframes) {
      cov_bwo8fhi7z.s[11]++;
      result += `${animationState}{${declarationsToBlock(keyframes[animationState])}}`;
    }
  
    cov_bwo8fhi7z.s[12]++;
    return result;
  }
  function declarationsToBlock(style) {
    cov_bwo8fhi7z.f[2]++;
    let css = (cov_bwo8fhi7z.s[13]++, "");
    cov_bwo8fhi7z.s[14]++;
  
    for (const prop in style) {
      const val = (cov_bwo8fhi7z.s[15]++, style[prop]);
      cov_bwo8fhi7z.s[16]++;
  
      if ((cov_bwo8fhi7z.b[6][0]++, typeof val === "string") || (cov_bwo8fhi7z.b[6][1]++, typeof val === "number")) {
        cov_bwo8fhi7z.b[5][0]++;
        cov_bwo8fhi7z.s[17]++;
        css += `${hyphenateStyleName(prop)}:${val};`;
      } else {
        cov_bwo8fhi7z.b[5][1]++;
      }
    } // trim trailing semicolon
  
  
    cov_bwo8fhi7z.s[18]++;
    return css.slice(0, -1);
  }
  function keyframesBlockToRule(id, block) {
    cov_bwo8fhi7z.f[3]++;
    cov_bwo8fhi7z.s[19]++;
    return `@keyframes ${id}{${block}}`;
  }
  function fontFaceBlockToRule(id, block) {
    cov_bwo8fhi7z.f[4]++;
    cov_bwo8fhi7z.s[20]++;
    return `@font-face{font-family:${id};${block}}`;
  }
  function styleBlockToRule(selector, block) {
    cov_bwo8fhi7z.f[5]++;
    cov_bwo8fhi7z.s[21]++;
    return `${selector}{${block}}`;
  }
  
  var cov_1pl246clrp = function () {
    var path = "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/server/server.js",
        hash = "1a22a111fc0975fc8ed9401dfc6cc402fa65a810",
        Function = function () {}.constructor,
        global = new Function('return this')(),
        gcv = "__coverage__",
        coverageData = {
      path: "/Users/rtsao/Development/styletron/packages/styletron-engine-atomic/src/server/server.js",
      statementMap: {
        "0": {
          start: {
            line: 50,
            column: 4
          },
          end: {
            line: 50,
            column: 31
          }
        },
        "1": {
          start: {
            line: 51,
            column: 4
          },
          end: {
            line: 63,
            column: 6
          }
        },
        "2": {
          start: {
            line: 54,
            column: 8
          },
          end: {
            line: 54,
            column: 36
          }
        },
        "3": {
          start: {
            line: 57,
            column: 32
          },
          end: {
            line: 57,
            column: 37
          }
        },
        "4": {
          start: {
            line: 58,
            column: 8
          },
          end: {
            line: 61,
            column: 10
          }
        },
        "5": {
          start: {
            line: 65,
            column: 4
          },
          end: {
            line: 65,
            column: 28
          }
        },
        "6": {
          start: {
            line: 66,
            column: 4
          },
          end: {
            line: 74,
            column: 6
          }
        },
        "7": {
          start: {
            line: 69,
            column: 8
          },
          end: {
            line: 72,
            column: 10
          }
        },
        "8": {
          start: {
            line: 76,
            column: 4
          },
          end: {
            line: 76,
            column: 29
          }
        },
        "9": {
          start: {
            line: 77,
            column: 4
          },
          end: {
            line: 85,
            column: 6
          }
        },
        "10": {
          start: {
            line: 80,
            column: 8
          },
          end: {
            line: 83,
            column: 10
          }
        },
        "11": {
          start: {
            line: 89,
            column: 4
          },
          end: {
            line: 89,
            column: 63
          }
        },
        "12": {
          start: {
            line: 93,
            column: 16
          },
          end: {
            line: 93,
            column: 40
          }
        },
        "13": {
          start: {
            line: 94,
            column: 4
          },
          end: {
            line: 94,
            column: 54
          }
        },
        "14": {
          start: {
            line: 98,
            column: 16
          },
          end: {
            line: 98,
            column: 41
          }
        },
        "15": {
          start: {
            line: 99,
            column: 4
          },
          end: {
            line: 99,
            column: 56
          }
        },
        "16": {
          start: {
            line: 103,
            column: 4
          },
          end: {
            line: 121,
            column: 6
          }
        },
        "17": {
          start: {
            line: 125,
            column: 4
          },
          end: {
            line: 125,
            column: 64
          }
        },
        "18": {
          start: {
            line: 129,
            column: 4
          },
          end: {
            line: 133,
            column: 6
          }
        },
        "19": {
          start: {
            line: 138,
            column: 13
          },
          end: {
            line: 138,
            column: 15
          }
        },
        "20": {
          start: {
            line: 139,
            column: 2
          },
          end: {
            line: 149,
            column: 3
          }
        },
        "21": {
          start: {
            line: 140,
            column: 18
          },
          end: {
            line: 140,
            column: 27
          }
        },
        "22": {
          start: {
            line: 141,
            column: 48
          },
          end: {
            line: 141,
            column: 59
          }
        },
        "23": {
          start: {
            line: 142,
            column: 18
          },
          end: {
            line: 147,
            column: 5
          }
        },
        "24": {
          start: {
            line: 148,
            column: 4
          },
          end: {
            line: 148,
            column: 65
          }
        },
        "25": {
          start: {
            line: 150,
            column: 2
          },
          end: {
            line: 150,
            column: 14
          }
        },
        "26": {
          start: {
            line: 154,
            column: 15
          },
          end: {
            line: 154,
            column: 17
          }
        },
        "27": {
          start: {
            line: 155,
            column: 2
          },
          end: {
            line: 162,
            column: 3
          }
        },
        "28": {
          start: {
            line: 156,
            column: 18
          },
          end: {
            line: 156,
            column: 29
          }
        },
        "29": {
          start: {
            line: 157,
            column: 4
          },
          end: {
            line: 161,
            column: 5
          }
        },
        "30": {
          start: {
            line: 158,
            column: 6
          },
          end: {
            line: 158,
            column: 27
          }
        },
        "31": {
          start: {
            line: 159,
            column: 11
          },
          end: {
            line: 161,
            column: 5
          }
        },
        "32": {
          start: {
            line: 160,
            column: 6
          },
          end: {
            line: 160,
            column: 38
          }
        },
        "33": {
          start: {
            line: 163,
            column: 2
          },
          end: {
            line: 163,
            column: 16
          }
        },
        "34": {
          start: {
            line: 167,
            column: 15
          },
          end: {
            line: 167,
            column: 17
          }
        },
        "35": {
          start: {
            line: 168,
            column: 2
          },
          end: {
            line: 175,
            column: 5
          }
        },
        "36": {
          start: {
            line: 169,
            column: 18
          },
          end: {
            line: 169,
            column: 38
          }
        },
        "37": {
          start: {
            line: 170,
            column: 4
          },
          end: {
            line: 174,
            column: 5
          }
        },
        "38": {
          start: {
            line: 171,
            column: 6
          },
          end: {
            line: 171,
            column: 47
          }
        },
        "39": {
          start: {
            line: 173,
            column: 6
          },
          end: {
            line: 173,
            column: 22
          }
        },
        "40": {
          start: {
            line: 176,
            column: 2
          },
          end: {
            line: 176,
            column: 16
          }
        },
        "41": {
          start: {
            line: 180,
            column: 2
          },
          end: {
            line: 182,
            column: 3
          }
        },
        "42": {
          start: {
            line: 181,
            column: 4
          },
          end: {
            line: 181,
            column: 34
          }
        },
        "43": {
          start: {
            line: 183,
            column: 17
          },
          end: {
            line: 183,
            column: 19
          }
        },
        "44": {
          start: {
            line: 184,
            column: 2
          },
          end: {
            line: 188,
            column: 5
          }
        },
        "45": {
          start: {
            line: 186,
            column: 18
          },
          end: {
            line: 186,
            column: 58
          }
        },
        "46": {
          start: {
            line: 187,
            column: 4
          },
          end: {
            line: 187,
            column: 52
          }
        },
        "47": {
          start: {
            line: 189,
            column: 2
          },
          end: {
            line: 189,
            column: 16
          }
        }
      },
      fnMap: {
        "0": {
          name: "(anonymous_0)",
          decl: {
            start: {
              line: 49,
              column: 2
            },
            end: {
              line: 49,
              column: 3
            }
          },
          loc: {
            start: {
              line: 49,
              column: 36
            },
            end: {
              line: 86,
              column: 3
            }
          },
          line: 49
        },
        "1": {
          name: "(anonymous_1)",
          decl: {
            start: {
              line: 53,
              column: 6
            },
            end: {
              line: 53,
              column: 7
            }
          },
          loc: {
            start: {
              line: 53,
              column: 15
            },
            end: {
              line: 55,
              column: 7
            }
          },
          line: 53
        },
        "2": {
          name: "(anonymous_2)",
          decl: {
            start: {
              line: 56,
              column: 6
            },
            end: {
              line: 56,
              column: 7
            }
          },
          loc: {
            start: {
              line: 56,
              column: 28
            },
            end: {
              line: 62,
              column: 7
            }
          },
          line: 56
        },
        "3": {
          name: "(anonymous_3)",
          decl: {
            start: {
              line: 68,
              column: 6
            },
            end: {
              line: 68,
              column: 7
            }
          },
          loc: {
            start: {
              line: 68,
              column: 28
            },
            end: {
              line: 73,
              column: 7
            }
          },
          line: 68
        },
        "4": {
          name: "(anonymous_4)",
          decl: {
            start: {
              line: 79,
              column: 6
            },
            end: {
              line: 79,
              column: 7
            }
          },
          loc: {
            start: {
              line: 79,
              column: 28
            },
            end: {
              line: 84,
              column: 7
            }
          },
          line: 79
        },
        "5": {
          name: "(anonymous_5)",
          decl: {
            start: {
              line: 88,
              column: 2
            },
            end: {
              line: 88,
              column: 3
            }
          },
          loc: {
            start: {
              line: 88,
              column: 42
            },
            end: {
              line: 90,
              column: 3
            }
          },
          line: 88
        },
        "6": {
          name: "(anonymous_6)",
          decl: {
            start: {
              line: 92,
              column: 2
            },
            end: {
              line: 92,
              column: 3
            }
          },
          loc: {
            start: {
              line: 92,
              column: 51
            },
            end: {
              line: 95,
              column: 3
            }
          },
          line: 92
        },
        "7": {
          name: "(anonymous_7)",
          decl: {
            start: {
              line: 97,
              column: 2
            },
            end: {
              line: 97,
              column: 3
            }
          },
          loc: {
            start: {
              line: 97,
              column: 54
            },
            end: {
              line: 100,
              column: 3
            }
          },
          line: 97
        },
        "8": {
          name: "(anonymous_8)",
          decl: {
            start: {
              line: 102,
              column: 2
            },
            end: {
              line: 102,
              column: 3
            }
          },
          loc: {
            start: {
              line: 102,
              column: 34
            },
            end: {
              line: 122,
              column: 3
            }
          },
          line: 102
        },
        "9": {
          name: "(anonymous_9)",
          decl: {
            start: {
              line: 124,
              column: 2
            },
            end: {
              line: 124,
              column: 3
            }
          },
          loc: {
            start: {
              line: 124,
              column: 65
            },
            end: {
              line: 126,
              column: 3
            }
          },
          line: 124
        },
        "10": {
          name: "(anonymous_10)",
          decl: {
            start: {
              line: 128,
              column: 2
            },
            end: {
              line: 128,
              column: 3
            }
          },
          loc: {
            start: {
              line: 128,
              column: 11
            },
            end: {
              line: 134,
              column: 3
            }
          },
          line: 128
        },
        "11": {
          name: "generateHtmlString",
          decl: {
            start: {
              line: 137,
              column: 16
            },
            end: {
              line: 137,
              column: 34
            }
          },
          loc: {
            start: {
              line: 137,
              column: 77
            },
            end: {
              line: 151,
              column: 1
            }
          },
          line: 137
        },
        "12": {
          name: "attrsToString",
          decl: {
            start: {
              line: 153,
              column: 9
            },
            end: {
              line: 153,
              column: 22
            }
          },
          loc: {
            start: {
              line: 153,
              column: 38
            },
            end: {
              line: 164,
              column: 1
            }
          },
          line: 153
        },
        "13": {
          name: "stringify",
          decl: {
            start: {
              line: 166,
              column: 9
            },
            end: {
              line: 166,
              column: 18
            }
          },
          loc: {
            start: {
              line: 166,
              column: 48
            },
            end: {
              line: 177,
              column: 1
            }
          },
          line: 166
        },
        "14": {
          name: "(anonymous_14)",
          decl: {
            start: {
              line: 168,
              column: 26
            },
            end: {
              line: 168,
              column: 27
            }
          },
          loc: {
            start: {
              line: 168,
              column: 38
            },
            end: {
              line: 175,
              column: 3
            }
          },
          line: 168
        },
        "15": {
          name: "sheetify",
          decl: {
            start: {
              line: 179,
              column: 9
            },
            end: {
              line: 179,
              column: 17
            }
          },
          loc: {
            start: {
              line: 179,
              column: 62
            },
            end: {
              line: 190,
              column: 1
            }
          },
          line: 179
        },
        "16": {
          name: "(anonymous_16)",
          decl: {
            start: {
              line: 184,
              column: 26
            },
            end: {
              line: 184,
              column: 27
            }
          },
          loc: {
            start: {
              line: 184,
              column: 38
            },
            end: {
              line: 188,
              column: 3
            }
          },
          line: 184
        }
      },
      branchMap: {
        "0": {
          loc: {
            start: {
              line: 49,
              column: 14
            },
            end: {
              line: 49,
              column: 34
            }
          },
          type: "default-arg",
          locations: [{
            start: {
              line: 49,
              column: 32
            },
            end: {
              line: 49,
              column: 34
            }
          }],
          line: 49
        },
        "1": {
          loc: {
            start: {
              line: 104,
              column: 10
            },
            end: {
              line: 111,
              column: 12
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 105,
              column: 10
            },
            end: {
              line: 110,
              column: 11
            }
          }, {
            start: {
              line: 111,
              column: 10
            },
            end: {
              line: 111,
              column: 12
            }
          }],
          line: 104
        },
        "2": {
          loc: {
            start: {
              line: 112,
              column: 10
            },
            end: {
              line: 119,
              column: 12
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 113,
              column: 10
            },
            end: {
              line: 118,
              column: 11
            }
          }, {
            start: {
              line: 119,
              column: 10
            },
            end: {
              line: 119,
              column: 12
            }
          }],
          line: 112
        },
        "3": {
          loc: {
            start: {
              line: 124,
              column: 21
            },
            end: {
              line: 124,
              column: 63
            }
          },
          type: "default-arg",
          locations: [{
            start: {
              line: 124,
              column: 42
            },
            end: {
              line: 124,
              column: 63
            }
          }],
          line: 124
        },
        "4": {
          loc: {
            start: {
              line: 143,
              column: 13
            },
            end: {
              line: 145,
              column: 19
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 144,
              column: 10
            },
            end: {
              line: 144,
              column: 45
            }
          }, {
            start: {
              line: 145,
              column: 10
            },
            end: {
              line: 145,
              column: 19
            }
          }],
          line: 143
        },
        "5": {
          loc: {
            start: {
              line: 157,
              column: 4
            },
            end: {
              line: 161,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 157,
              column: 4
            },
            end: {
              line: 161,
              column: 5
            }
          }, {
            start: {
              line: 157,
              column: 4
            },
            end: {
              line: 161,
              column: 5
            }
          }],
          line: 157
        },
        "6": {
          loc: {
            start: {
              line: 159,
              column: 11
            },
            end: {
              line: 161,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 159,
              column: 11
            },
            end: {
              line: 161,
              column: 5
            }
          }, {
            start: {
              line: 159,
              column: 11
            },
            end: {
              line: 161,
              column: 5
            }
          }],
          line: 159
        },
        "7": {
          loc: {
            start: {
              line: 170,
              column: 4
            },
            end: {
              line: 174,
              column: 5
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 170,
              column: 4
            },
            end: {
              line: 174,
              column: 5
            }
          }, {
            start: {
              line: 170,
              column: 4
            },
            end: {
              line: 174,
              column: 5
            }
          }],
          line: 170
        },
        "8": {
          loc: {
            start: {
              line: 180,
              column: 2
            },
            end: {
              line: 182,
              column: 3
            }
          },
          type: "if",
          locations: [{
            start: {
              line: 180,
              column: 2
            },
            end: {
              line: 182,
              column: 3
            }
          }, {
            start: {
              line: 180,
              column: 2
            },
            end: {
              line: 182,
              column: 3
            }
          }],
          line: 180
        },
        "9": {
          loc: {
            start: {
              line: 186,
              column: 18
            },
            end: {
              line: 186,
              column: 58
            }
          },
          type: "cond-expr",
          locations: [{
            start: {
              line: 186,
              column: 36
            },
            end: {
              line: 186,
              column: 38
            }
          }, {
            start: {
              line: 186,
              column: 41
            },
            end: {
              line: 186,
              column: 58
            }
          }],
          line: 186
        }
      },
      s: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0,
        "22": 0,
        "23": 0,
        "24": 0,
        "25": 0,
        "26": 0,
        "27": 0,
        "28": 0,
        "29": 0,
        "30": 0,
        "31": 0,
        "32": 0,
        "33": 0,
        "34": 0,
        "35": 0,
        "36": 0,
        "37": 0,
        "38": 0,
        "39": 0,
        "40": 0,
        "41": 0,
        "42": 0,
        "43": 0,
        "44": 0,
        "45": 0,
        "46": 0,
        "47": 0
      },
      f: {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0
      },
      b: {
        "0": [0],
        "1": [0, 0],
        "2": [0, 0],
        "3": [0],
        "4": [0, 0],
        "5": [0, 0],
        "6": [0, 0],
        "7": [0, 0],
        "8": [0, 0],
        "9": [0, 0]
      },
      _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
    },
        coverage = global[gcv] || (global[gcv] = {});
  
    if (coverage[path] && coverage[path].hash === hash) {
      return coverage[path];
    }
  
    coverageData.hash = hash;
    return coverage[path] = coverageData;
  }();
  
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  
  class StyletronServer {
    constructor(opts = (cov_1pl246clrp.b[0][0]++, {})) {
      cov_1pl246clrp.f[0]++;
      cov_1pl246clrp.s[0]++;
      this.styleRules = {
        "": ""
      };
      cov_1pl246clrp.s[1]++;
      this.styleCache = new MultiCache(new SequentialIDGenerator(opts.prefix), media => {
        cov_1pl246clrp.f[1]++;
        cov_1pl246clrp.s[2]++;
        this.styleRules[media] = "";
      }, (cache, id, value) => {
        cov_1pl246clrp.f[2]++;
        const {
          pseudo,
          block
        } = (cov_1pl246clrp.s[3]++, value);
        cov_1pl246clrp.s[4]++;
        this.styleRules[cache.key] += styleBlockToRule(atomicSelector(id, pseudo), block);
      });
      cov_1pl246clrp.s[5]++;
      this.fontFaceRules = "";
      cov_1pl246clrp.s[6]++;
      this.fontFaceCache = new Cache(new SequentialIDGenerator(opts.prefix), (cache, id, value) => {
        cov_1pl246clrp.f[3]++;
        cov_1pl246clrp.s[7]++;
        this.fontFaceRules += fontFaceBlockToRule(id, declarationsToBlock(value));
      });
      cov_1pl246clrp.s[8]++;
      this.keyframesRules = "";
      cov_1pl246clrp.s[9]++;
      this.keyframesCache = new Cache(new SequentialIDGenerator(opts.prefix), (cache, id, value) => {
        cov_1pl246clrp.f[4]++;
        cov_1pl246clrp.s[10]++;
        this.keyframesRules += keyframesBlockToRule(id, keyframesToBlock(value));
      });
    }
  
    renderStyle(style) {
      cov_1pl246clrp.f[5]++;
      cov_1pl246clrp.s[11]++;
      return injectStylePrefixed(this.styleCache, style, "", "");
    }
  
    renderFontFace(fontFace) {
      cov_1pl246clrp.f[6]++;
      const key = (cov_1pl246clrp.s[12]++, JSON.stringify(fontFace));
      cov_1pl246clrp.s[13]++;
      return this.fontFaceCache.addValue(key, fontFace);
    }
  
    renderKeyframes(keyframes) {
      cov_1pl246clrp.f[7]++;
      const key = (cov_1pl246clrp.s[14]++, JSON.stringify(keyframes));
      cov_1pl246clrp.s[15]++;
      return this.keyframesCache.addValue(key, keyframes);
    }
  
    getStylesheets() {
      cov_1pl246clrp.f[8]++;
      cov_1pl246clrp.s[16]++;
      return [...(this.keyframesRules.length ? (cov_1pl246clrp.b[1][0]++, [{
        css: this.keyframesRules,
        attrs: {
          "data-hydrate": "keyframes"
        }
      }]) : (cov_1pl246clrp.b[1][1]++, [])), ...(this.fontFaceRules.length ? (cov_1pl246clrp.b[2][0]++, [{
        css: this.fontFaceRules,
        attrs: {
          "data-hydrate": "font-face"
        }
      }]) : (cov_1pl246clrp.b[2][1]++, [])), ...sheetify(this.styleRules, this.styleCache.getSortedCacheKeys())];
    }
  
    getStylesheetsHtml(className = (cov_1pl246clrp.b[3][0]++, "_styletron_hydrate_")) {
      cov_1pl246clrp.f[9]++;
      cov_1pl246clrp.s[17]++;
      return generateHtmlString(this.getStylesheets(), className);
    }
  
    getCss() {
      cov_1pl246clrp.f[10]++;
      cov_1pl246clrp.s[18]++;
      return this.keyframesRules + this.fontFaceRules + stringify(this.styleRules, this.styleCache.getSortedCacheKeys());
    }
  
  }
  
  function generateHtmlString(sheets, className) {
    cov_1pl246clrp.f[11]++;
    let html = (cov_1pl246clrp.s[19]++, "");
    cov_1pl246clrp.s[20]++;
  
    for (let i = 0; i < sheets.length; i++) {
      const sheet = (cov_1pl246clrp.s[21]++, sheets[i]);
  
      const _ref = (cov_1pl246clrp.s[22]++, sheet.attrs),
            {
        class: originalClassName
      } = _ref,
            rest = _objectWithoutPropertiesLoose(_ref, ["class"]);
  
      const attrs = (cov_1pl246clrp.s[23]++, Object.assign({
        class: originalClassName ? (cov_1pl246clrp.b[4][0]++, `${className} ${originalClassName}`) : (cov_1pl246clrp.b[4][1]++, className)
      }, rest));
      cov_1pl246clrp.s[24]++;
      html += `<style${attrsToString(attrs)}>${sheet.css}</style>`;
    }
  
    cov_1pl246clrp.s[25]++;
    return html;
  }
  
  function attrsToString(attrs) {
    cov_1pl246clrp.f[12]++;
    let result = (cov_1pl246clrp.s[26]++, "");
    cov_1pl246clrp.s[27]++;
  
    for (const attr in attrs) {
      const value = (cov_1pl246clrp.s[28]++, attrs[attr]);
      cov_1pl246clrp.s[29]++;
  
      if (value === true) {
        cov_1pl246clrp.b[5][0]++;
        cov_1pl246clrp.s[30]++;
        result += " " + attr;
      } else {
        cov_1pl246clrp.b[5][1]++;
        cov_1pl246clrp.s[31]++;
  
        if (value !== false) {
          cov_1pl246clrp.b[6][0]++;
          cov_1pl246clrp.s[32]++;
          result += ` ${attr}="${value}"`;
        } else {
          cov_1pl246clrp.b[6][1]++;
        }
      }
    }
  
    cov_1pl246clrp.s[33]++;
    return result;
  }
  
  function stringify(styleRules, sortedCacheKeys) {
    cov_1pl246clrp.f[13]++;
    let result = (cov_1pl246clrp.s[34]++, "");
    cov_1pl246clrp.s[35]++;
    sortedCacheKeys.forEach(cacheKey => {
      cov_1pl246clrp.f[14]++;
      const rules = (cov_1pl246clrp.s[36]++, styleRules[cacheKey]);
      cov_1pl246clrp.s[37]++;
  
      if (cacheKey !== "") {
        cov_1pl246clrp.b[7][0]++;
        cov_1pl246clrp.s[38]++;
        result += `@media ${cacheKey}{${rules}}`;
      } else {
        cov_1pl246clrp.b[7][1]++;
        cov_1pl246clrp.s[39]++;
        result += rules;
      }
    });
    cov_1pl246clrp.s[40]++;
    return result;
  }
  
  function sheetify(styleRules, sortedCacheKeys) {
    cov_1pl246clrp.f[15]++;
    cov_1pl246clrp.s[41]++;
  
    if (sortedCacheKeys.length === 0) {
      cov_1pl246clrp.b[8][0]++;
      cov_1pl246clrp.s[42]++;
      return [{
        css: "",
        attrs: {}
      }];
    } else {
      cov_1pl246clrp.b[8][1]++;
    }
  
    const sheets = (cov_1pl246clrp.s[43]++, []);
    cov_1pl246clrp.s[44]++;
    sortedCacheKeys.forEach(cacheKey => {
      cov_1pl246clrp.f[16]++;
      // omit media (cacheKey) attribute if empty
      const attrs = (cov_1pl246clrp.s[45]++, cacheKey === "" ? (cov_1pl246clrp.b[9][0]++, {}) : (cov_1pl246clrp.b[9][1]++, {
        media: cacheKey
      }));
      cov_1pl246clrp.s[46]++;
      sheets.push({
        css: styleRules[cacheKey],
        attrs
      });
    });
    cov_1pl246clrp.s[47]++;
    return sheets;
  }
  
  test("StyletronServer toCss", t => {
    const styletron = new StyletronServer();
    t.equal(styletron.getCss(), "", "returns empty string when no styles");
    injectFixtureStyles(styletron);
    t.equal(styletron.getCss(), ".ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}@media (min-width: 600px){.ah{color:red}}@media (min-width: 800px){.ag{color:green}.ai:hover{color:green}}");
    injectFixtureStyles(styletron);
    t.equal(styletron.getCss(), ".ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}@media (min-width: 600px){.ah{color:red}}@media (min-width: 800px){.ag{color:green}.ai:hover{color:green}}");
    injectFixtureKeyframes(styletron);
    t.equal(styletron.getCss(), "@keyframes ae{from{color:purple}50%{color:yellow}to{color:orange}}.ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}@media (min-width: 600px){.ah{color:red}}@media (min-width: 800px){.ag{color:green}.ai:hover{color:green}}");
    t.end();
  });
  test("StyletronServer getStylesheets", t => {
    const styletron = new StyletronServer();
    t.deepEqual(styletron.getStylesheets(), [{
      css: "",
      attrs: {}
    }], "no styles yields array with single empty stylesheet");
    injectFixtureStyles(styletron);
    t.deepEqual(styletron.getStylesheets(), [{
      css: ".ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}",
      attrs: {}
    }, {
      css: ".ah{color:red}",
      attrs: {
        media: "(min-width: 600px)"
      }
    }, {
      css: ".ag{color:green}.ai:hover{color:green}",
      attrs: {
        media: "(min-width: 800px)"
      }
    }]);
    injectFixtureKeyframes(styletron);
    t.deepEqual(styletron.getStylesheets(), [{
      css: "@keyframes ae{from{color:purple}50%{color:yellow}to{color:orange}}",
      attrs: {
        "data-hydrate": "keyframes"
      }
    }, {
      css: ".ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}",
      attrs: {}
    }, {
      css: ".ah{color:red}",
      attrs: {
        media: "(min-width: 600px)"
      }
    }, {
      css: ".ag{color:green}.ai:hover{color:green}",
      attrs: {
        media: "(min-width: 800px)"
      }
    }]);
    injectFixtureFontFace(styletron);
    t.deepEqual(styletron.getStylesheets(), [{
      css: "@keyframes ae{from{color:purple}50%{color:yellow}to{color:orange}}",
      attrs: {
        "data-hydrate": "keyframes"
      }
    }, {
      css: "@font-face{font-family:ae;src:local('Roboto')}",
      attrs: {
        "data-hydrate": "font-face"
      }
    }, {
      css: ".ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}",
      attrs: {}
    }, {
      css: ".ah{color:red}",
      attrs: {
        media: "(min-width: 600px)"
      }
    }, {
      css: ".ag{color:green}.ai:hover{color:green}",
      attrs: {
        media: "(min-width: 800px)"
      }
    }]);
    t.end();
  });
  test("StyletronServer getStylesheetsHtml ", t => {
    const styletron = new StyletronServer();
    t.equal(styletron.getStylesheetsHtml(), '<style class="_styletron_hydrate_"></style>', "returns single empty stylesheet when no styles");
    injectFixtureStyles(styletron);
    t.equal(styletron.getStylesheetsHtml(), '<style class="_styletron_hydrate_">.ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}</style><style class="_styletron_hydrate_" media="(min-width: 600px)">.ah{color:red}</style><style class="_styletron_hydrate_" media="(min-width: 800px)">.ag{color:green}.ai:hover{color:green}</style>');
    injectFixtureKeyframes(styletron);
    t.equal(styletron.getStylesheetsHtml(), '<style class="_styletron_hydrate_" data-hydrate="keyframes">@keyframes ae{from{color:purple}50%{color:yellow}to{color:orange}}</style><style class="_styletron_hydrate_">.ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}</style><style class="_styletron_hydrate_" media="(min-width: 600px)">.ah{color:red}</style><style class="_styletron_hydrate_" media="(min-width: 800px)">.ag{color:green}.ai:hover{color:green}</style>');
    injectFixtureFontFace(styletron);
    t.equal(styletron.getStylesheetsHtml(), '<style class="_styletron_hydrate_" data-hydrate="keyframes">@keyframes ae{from{color:purple}50%{color:yellow}to{color:orange}}</style><style class="_styletron_hydrate_" data-hydrate="font-face">@font-face{font-family:ae;src:local(\'Roboto\')}</style><style class="_styletron_hydrate_">.ae{color:red}.af{color:green}.aj:hover{display:none}.ak{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.al{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}</style><style class="_styletron_hydrate_" media="(min-width: 600px)">.ah{color:red}</style><style class="_styletron_hydrate_" media="(min-width: 800px)">.ag{color:green}.ai:hover{color:green}</style>');
    t.end();
  });
  test("StyletronServer prefix option", t => {
    const styletron = new StyletronServer({
      prefix: "foo_"
    });
    t.equal(styletron.renderStyle({
      color: "red"
    }), "foo_ae");
    t.equal(injectFixtureFontFace(styletron), "foo_ae");
    t.equal(injectFixtureKeyframes(styletron), "foo_ae");
    t.deepEqual(styletron.getStylesheets(), [{
      css: "@keyframes foo_ae{from{color:purple}50%{color:yellow}to{color:orange}}",
      attrs: {
        "data-hydrate": "keyframes"
      }
    }, {
      css: "@font-face{font-family:foo_ae;src:local('Roboto')}",
      attrs: {
        "data-hydrate": "font-face"
      }
    }, {
      css: ".foo_ae{color:red}",
      attrs: {}
    }]);
    t.end();
  });
  
  function injectFixtureStyles(styletron) {
    styletron.renderStyle({
      color: "red"
    });
    styletron.renderStyle({
      color: "green"
    });
    styletron.renderStyle({
      "@media (min-width: 800px)": {
        color: "green"
      }
    }); // should be added before "min-width: 800px" query
    // test that Styletron properly sort media queries
  
    styletron.renderStyle({
      "@media (min-width: 600px)": {
        color: "red"
      }
    });
    styletron.renderStyle({
      "@media (min-width: 800px)": {
        ":hover": {
          color: "green"
        }
      }
    });
    styletron.renderStyle({
      zIndex: void 0 // Should be silently ignored
  
    });
    styletron.renderStyle({
      // null values were historically supported (albeit erronesouly)
      opacity: null // Should be silently ignored
  
    });
    styletron.renderStyle({
      ":hover": {
        display: "none"
      }
    });
    styletron.renderStyle({
      userSelect: "none"
    });
    styletron.renderStyle({
      display: "flex"
    });
  }
  
  function injectFixtureKeyframes(styletron) {
    return styletron.renderKeyframes({
      from: {
        color: "purple"
      },
      "50%": {
        color: "yellow"
      },
      to: {
        color: "orange"
      }
    });
  }
  
  function injectFixtureFontFace(styletron) {
    return styletron.renderFontFace({
      src: "local('Roboto')"
    });
  }
  //# sourceMappingURL=node.js.map
  