text: /**
   * skylark-codemirror - A version of codemirror 5.45  that ported to running on skylarkjs
   * @author Hudaokeji, Inc.
   * @version v0.9.0
   * @link https://github.com/skylark-integration/skylark-codemirror/
   * @license MIT
   */
  define(["../../CodeMirror"],function(r){"use strict";r.defineMode("rpm-changes",function(){var r=/^-+$/,e=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)  ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,t=/^[\w+.-]+@[\w.-]+/;return{token:function(n){if(n.sol()){if(n.match(r))return"tag";if(n.match(e))return"tag"}return n.match(t)?"string":(n.next(),null)}}}),r.defineMIME("text/x-rpm-changes","rpm-changes"),r.defineMode("rpm-spec",function(){var r=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,e=/^[a-zA-Z0-9()]+:/,t=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,n=/^%(ifnarch|ifarch|if)/,a=/^%(else|endif)/,c=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(i,o){if("#"==i.peek())return i.skipToEnd(),"comment";if(i.sol()){if(i.match(e))return"header";if(i.match(t))return"atom"}if(i.match(/^\$\w+/))return"def";if(i.match(/^\$\{\w+\}/))return"def";if(i.match(a))return"keyword";if(i.match(n))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(i.match(c))return"operator";if(i.match(/^(\d+)/))return"number";i.eol()&&(o.controlFlow=!1)}if(i.match(r))return i.eol()&&(o.controlFlow=!1),"number";if(i.match(/^%[\w]+/))return i.match(/^\(/)&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(i.match(/^\d+/))return"number";if(i.match(/^\)/))return o.macroParameters=!1,"keyword"}return i.match(/^%\{\??[\w \-\:\!]+\}/)?(i.eol()&&(o.controlFlow=!1),"def"):(i.next(),null)}}}),r.defineMIME("text/x-rpm-spec","rpm-spec")});
  //# sourceMappingURL=../../sourcemaps/mode/rpm/rpm.js.map
  