Liferay.Loader.define("fragment-web$codemirror@5.65.2/mode/asciiarmor/asciiarmor",["module","exports","require","../../lib/codemirror"],(function(e,r,t){var o,a=void 0;window;o=function(e){"use strict";function errorIfNotEmpty(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}e.defineMode("asciiarmor",(function(){return{token:function(e,r){var t;if("top"==r.state)return e.sol()&&(t=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=t[1],"tag"):errorIfNotEmpty(e);if("headers"==r.state){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var o=errorIfNotEmpty(e);return o&&(r.state="body"),o}return"header"==r.state?(e.skipToEnd(),r.state="headers","string"):"body"==r.state?e.sol()&&(t=e.match(/^-----END (.*)?-----\s*$/))?t[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error"):"end"==r.state?errorIfNotEmpty(e):void 0},blankLine:function(e){"headers"==e.state&&(e.state="body")},startState:function(){return{state:"top",type:null}}}})),e.defineMIME("application/pgp","asciiarmor"),e.defineMIME("application/pgp-encrypted","asciiarmor"),e.defineMIME("application/pgp-keys","asciiarmor"),e.defineMIME("application/pgp-signature","asciiarmor")},"object"==typeof r&&"object"==typeof e?o(t("../../lib/codemirror")):"function"==typeof a&&a.amd?a(["../../lib/codemirror"],o):o(CodeMirror)}));
//# sourceMappingURL=asciiarmor.js.map