amis.define("9326e76",function(e,r){"use strict";function n(e){switch(e){case"ignore":return o.Level.Ignore;case"warning":return o.Level.Warning;case"error":return o.Level.Error}return null}Object.defineProperty(r,"__esModule",{value:!0});var t=e("11ed2ab"),o=t.__importStar(e("f5750f9")),i=t.__importStar(e("df29dc9")),l=i.loadMessageBundle(),a=o.Level.Warning,s=o.Level.Error,u=o.Level.Ignore,d=function(){function e(e,r,n){this.id=e,this.message=r,this.defaultValue=n}return e}();r.Rule=d;var p=function(){function e(e,r,n){this.id=e,this.message=r,this.defaultValue=n}return e}();r.Setting=p,r.Rules={AllVendorPrefixes:new d("compatibleVendorPrefixes",l("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),u),IncludeStandardPropertyWhenUsingVendorPrefix:new d("vendorPrefix",l("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),a),DuplicateDeclarations:new d("duplicateProperties",l("rule.duplicateDeclarations","Do not use duplicate style definitions"),u),EmptyRuleSet:new d("emptyRules",l("rule.emptyRuleSets","Do not use empty rulesets"),a),ImportStatemement:new d("importStatement",l("rule.importDirective","Import statements do not load in parallel"),u),BewareOfBoxModelSize:new d("boxModel",l("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),u),UniversalSelector:new d("universalSelector",l("rule.universalSelector","The universal selector (*) is known to be slow"),u),ZeroWithUnit:new d("zeroUnits",l("rule.zeroWidthUnit","No unit for zero needed"),u),RequiredPropertiesForFontFace:new d("fontFaceProperties",l("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),a),HexColorLength:new d("hexColorLength",l("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),s),ArgsInColorFunction:new d("argumentsInColorFunction",l("rule.colorFunction","Invalid number of parameters"),s),UnknownProperty:new d("unknownProperties",l("rule.unknownProperty","Unknown property."),a),UnknownAtRules:new d("unknownAtRules",l("rule.unknownAtRules","Unknown at-rule."),a),IEStarHack:new d("ieHack",l("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),u),UnknownVendorSpecificProperty:new d("unknownVendorSpecificProperties",l("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),u),PropertyIgnoredDueToDisplay:new d("propertyIgnoredDueToDisplay",l("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),a),AvoidImportant:new d("important",l("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),u),AvoidFloat:new d("float",l("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),u),AvoidIdSelector:new d("idSelector",l("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),u)},r.Settings={ValidProperties:new p("validProperties",l("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])};var c=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var r=n(this.conf[e.id]);if(r)return r}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();r.LintConfigurationSettings=c});