{"version":3,"sources":["jsdelivr-header.js","/npm/codemirror@5.65.15/addon/lint/css-lint.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,CCCA,SAAU,GACc,iBAAX,SAAwC,iBAAV,OACvC,EAAI,QAAQ,yBACY,mBAAV,QAAwB,OAAO,IAC7C,OAAO,CAAC,wBAAyB,GAEjC,EAAI,WACP,CAPD,EAOG,SAAS,GACZ,aAEA,EAAW,eAAe,OAAQ,OAAO,SAAS,EAAM,GACtD,IAAI,EAAQ,GACZ,IAAK,OAAO,QAIV,OAHI,OAAO,SACP,OAAO,QAAQ,MAAM,yEAElB,EAGT,IADA,IAA6C,EAA/B,QAAQ,OAAO,EAAM,GAA6B,SAAU,EAAU,KAC1E,EAAI,EAAG,EAAI,EAAS,OAAQ,IAAK,CAEzC,IAAI,GADJ,EAAU,EAAS,IACK,KAAM,EAAG,EAAU,EAAQ,KAAM,EAAG,EAAW,EAAQ,IAAK,EAAG,EAAS,EAAQ,IACxG,EAAM,KAAK,CACT,KAAM,EAAW,IAAI,EAAW,GAChC,GAAI,EAAW,IAAI,EAAS,GAC5B,QAAS,EAAQ,QACjB,SAAW,EAAQ,MAEvB,CACA,OAAO,CACT,GAEA","file":"/npm/codemirror@5.65.15/addon/lint/css-lint.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/codemirror@5.65.15/addon/lint/css-lint.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/5/LICENSE\n\n// Depends on csslint.js from https://github.com/stubbornella/csslint\n\n// declare global: CSSLint\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.registerHelper(\"lint\", \"css\", function(text, options) {\n  var found = [];\n  if (!window.CSSLint) {\n    if (window.console) {\n        window.console.error(\"Error: window.CSSLint not defined, CodeMirror CSS linting cannot run.\");\n    }\n    return found;\n  }\n  var results = CSSLint.verify(text, options), messages = results.messages, message = null;\n  for ( var i = 0; i < messages.length; i++) {\n    message = messages[i];\n    var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col;\n    found.push({\n      from: CodeMirror.Pos(startLine, startCol),\n      to: CodeMirror.Pos(endLine, endCol),\n      message: message.message,\n      severity : message.type\n    });\n  }\n  return found;\n});\n\n});\n"]}