Liferay.Loader.define("journal-web$codemirror@5.65.2/mode/asn.1/asn.1",["module","exports","require","../../lib/codemirror"],(function(e,t,n){var r,o=void 0;window;r=function(e){"use strict";function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}e.defineMode("asn.1",(function(e,t){var n,r=e.indentUnit,o=t.keywords||{},i=t.cmipVerbs||{},s=t.compareTypes||{},a=t.status||{},E=t.tags||{},I=t.storage||{},T=t.modifier||{},u=t.accessTypes||{},p=t.multiLineStrings,S=!1!==t.indentStatements,l=/[\|\^]/;function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){var s=t.peek();s&&("b"!=(s=s.toLowerCase())&&"h"!=s&&"o"!=s||t.next()),i=!0;break}o=!o&&"\\"==r}return(i||!o&&!p)&&(n.tokenize=null),"string"}}(r),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(r))return n=r,"punctuation";if("-"==r&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if(l.test(r))return e.eatWhile(l),"operator";e.eatWhile(/[\w\-]/);var S=e.current();return o.propertyIsEnumerable(S)?"keyword":i.propertyIsEnumerable(S)?"variable cmipVerbs":s.propertyIsEnumerable(S)?"atom compareTypes":a.propertyIsEnumerable(S)?"comment status":E.propertyIsEnumerable(S)?"variable-3 tags":I.propertyIsEnumerable(S)?"builtin storage":T.propertyIsEnumerable(S)?"string-2 modifier":u.propertyIsEnumerable(S)?"atom accessTypes":"variable"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new Context(r,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new Context((e||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var o=(t.tokenize||tokenBase)(e,t);if("comment"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type)if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(t);for("}"==r.type&&(r=popContext(t));"statement"==r.type;)r=popContext(t)}else n==r.type?popContext(t):S&&(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,o},electricChars:"{}",lineComment:"--",fold:"brace"}})),e.defineMIME("text/x-ttcn-asn",{name:"asn.1",keywords:words("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),cmipVerbs:words("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:words("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:words("current deprecated mandatory obsolete"),tags:words("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:words("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),modifier:words("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:words("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0})},"object"==typeof t&&"object"==typeof e?r(n("../../lib/codemirror")):"function"==typeof o&&o.amd?o(["../../lib/codemirror"],r):r(CodeMirror)}));
//# sourceMappingURL=asn.1.js.map