(\:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g;
var CONTENT = "::content";
var SCOPE_JUMP = /\:\:content|\:\:shadow|\/deep\//;
var CSS_CLASS_PREFIX = ".";
var CSS_ATTR_PREFIX = "[" + SCOPE_NAME + "~=";
var CSS_ATTR_SUFFIX = "]";
var PSEUDO_PREFIX = ":";
var CLASS = "class";
return api;
}();

Polymer.StyleExtends = function() {
var styleUtil = Polymer.StyleUtil;
return {
hasExtends: function(cssText) {
return Boolean(cssText.match(this.rx.EXTEND));
},
transform: function(style) {
var rules = styleUtil.rulesForS